From e0b1353ef9aea01f82545052e7d1549423f8c4e8 Mon Sep 17 00:00:00 2001 From: yktsnet Date: Tue, 3 Nov 2026 17:02:35 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20Mermaid=20=E3=81=AE=E5=9B=B3=E3=82=92?= =?UTF-8?q?=20GitHub=20=E3=81=AE=E8=A6=8B=E3=81=9F=E7=9B=AE=E3=81=AB?= =?UTF-8?q?=E5=AF=84=E3=81=9B=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 同梱の mermaid を 12.2.0 に上げ、@mermaid-js/layout-elk 1.0.1 を IIFE にまとめて同じファイルの末尾につなぐ。ELK で書いた順を保って配置し、ラベルを狭い幅で折り返し、ノードを暗い塗りと灰色の枠と影で描く。図の背景は本文のコードより暗くする。 --- codeview/assets/LICENSE.mermaid | 3 +- codeview/assets/mermaid.min.js | 4578 +++++++++++++++++++++++++------ codeview/render.py | 22 +- codeview/style.py | 6 + 4 files changed, 3692 insertions(+), 917 deletions(-) diff --git a/codeview/assets/LICENSE.mermaid b/codeview/assets/LICENSE.mermaid index df52c6e..8c9bc7b 100644 --- a/codeview/assets/LICENSE.mermaid +++ b/codeview/assets/LICENSE.mermaid @@ -1,4 +1,5 @@ -mermaid 10.9.8 — MIT License +mermaid 12.2.0 and @mermaid-js/layout-elk 1.0.1 — MIT License +(layout-elk bundles elkjs, licensed under EPL-2.0: https://github.com/kieler/elkjs) The MIT License (MIT) diff --git a/codeview/assets/mermaid.min.js b/codeview/assets/mermaid.min.js index 853d119..a35c885 100644 --- a/codeview/assets/mermaid.min.js +++ b/codeview/assets/mermaid.min.js @@ -1,143 +1,57 @@ -(function(ZM,Dg){typeof exports=="object"&&typeof module<"u"?module.exports=Dg():typeof define=="function"&&define.amd?define(Dg):(ZM=typeof globalThis<"u"?globalThis:ZM||self,ZM.mermaid=Dg())})(this,function(){var fYe,dYe;"use strict";function ZM(i){for(var a=[],u=1;u=Pe?Be:""+Array(Pe+1-Ie.length).join(je)+Be},ge={s:be,z:function(Be){var Pe=-Be.utcOffset(),je=Math.abs(Pe),Ie=Math.floor(je/60),Se=je%60;return(Pe<=0?"+":"-")+be(Ie,2,"0")+":"+be(Se,2,"0")},m:function Be(Pe,je){if(Pe.date()1)return Be(ke[0])}else{var Ke=Pe.name;ne[Ke]=Pe,Se=Ke}return!Ie&&Se&&(ae=Se),Se||!Ie&&ae},pe=function(Be,Pe){if(de(Be))return Be.clone();var je=typeof Pe=="object"?Pe:{};return je.date=Be,je.args=arguments,new xe(je)},G=ge;G.l=X,G.i=de,G.w=function(Be,Pe){return pe(Be,{locale:Pe.$L,utc:Pe.$u,x:Pe.$x,$offset:Pe.$offset})};var xe=function(){function Be(je){this.$L=X(je.locale,null,!0),this.parse(je),this.$x=this.$x||je.x||{},this[se]=!0}var Pe=Be.prototype;return Pe.parse=function(je){this.$d=function(Ie){var Se=Ie.date,Ce=Ie.utc;if(Se===null)return new Date(NaN);if(G.u(Se))return new Date;if(Se instanceof Date)return new Date(Se);if(typeof Se=="string"&&!/Z$/i.test(Se)){var ke=Se.match(ee);if(ke){var Ke=ke[2]-1||0,zt=(ke[7]||"0").substring(0,3);return Ce?new Date(Date.UTC(ke[1],Ke,ke[3]||1,ke[4]||0,ke[5]||0,ke[6]||0,zt)):new Date(ke[1],Ke,ke[3]||1,ke[4]||0,ke[5]||0,ke[6]||0,zt)}}return new Date(Se)}(je),this.init()},Pe.init=function(){var je=this.$d;this.$y=je.getFullYear(),this.$M=je.getMonth(),this.$D=je.getDate(),this.$W=je.getDay(),this.$H=je.getHours(),this.$m=je.getMinutes(),this.$s=je.getSeconds(),this.$ms=je.getMilliseconds()},Pe.$utils=function(){return G},Pe.isValid=function(){return this.$d.toString()!==W},Pe.isSame=function(je,Ie){var Se=pe(je);return this.startOf(Ie)<=Se&&Se<=this.endOf(Ie)},Pe.isAfter=function(je,Ie){return pe(je){},debug:(...i)=>{},info:(...i)=>{},warn:(...i)=>{},error:(...i)=>{},fatal:(...i)=>{}},Spe=function(i="fatal"){let a=b7.fatal;typeof i=="string"?(i=i.toLowerCase(),i in b7&&(a=b7[i])):typeof i=="number"&&(a=i),Xe.trace=()=>{},Xe.debug=()=>{},Xe.info=()=>{},Xe.warn=()=>{},Xe.error=()=>{},Xe.fatal=()=>{},a<=b7.fatal&&(Xe.fatal=console.error?console.error.bind(console,Fv("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",Fv("FATAL"))),a<=b7.error&&(Xe.error=console.error?console.error.bind(console,Fv("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",Fv("ERROR"))),a<=b7.warn&&(Xe.warn=console.warn?console.warn.bind(console,Fv("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",Fv("WARN"))),a<=b7.info&&(Xe.info=console.info?console.info.bind(console,Fv("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",Fv("INFO"))),a<=b7.debug&&(Xe.debug=console.debug?console.debug.bind(console,Fv("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Fv("DEBUG"))),a<=b7.trace&&(Xe.trace=console.debug?console.debug.bind(console,Fv("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Fv("TRACE")))},Fv=i=>`%c${Ig().format("ss.SSS")} : ${i} : `;var b9={};(function(i){Object.defineProperty(i,"__esModule",{value:!0}),i.sanitizeUrl=i.BLANK_URL=void 0;var a=/^([^\w]*)(javascript|data|vbscript)/im,u=/&#(\w+)(^\w|;)?/g,d=/&(newline|tab);/gi,p=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,v=/^.+(:|:)/gim,b=[".","/"];i.BLANK_URL="about:blank";function y(A){return b.indexOf(A[0])>-1}function E(A){var P=A.replace(p,"");return P.replace(u,function(R,B){return String.fromCharCode(B)})}function _(A){if(!A)return i.BLANK_URL;var P=E(A).replace(d,"").replace(p,"").trim();if(!P)return i.BLANK_URL;if(y(P))return P;var R=P.match(v);if(!R)return P;var B=R[0];return a.test(B)?i.BLANK_URL:P}i.sanitizeUrl=_})(b9);function jY(i,a){return i==null||a==null?NaN:ia?1:i>=a?0:NaN}function lLt(i,a){return i==null||a==null?NaN:ai?1:a>=i?0:NaN}function _pe(i){let a,u,d;i.length!==2?(a=jY,u=(y,E)=>jY(i(y),E),d=(y,E)=>i(y)-E):(a=i===jY||i===lLt?i:hLt,u=i,d=i);function p(y,E,_=0,A=y.length){if(_>>1;u(y[P],E)<0?_=P+1:A=P}while(_>>1;u(y[P],E)<=0?_=P+1:A=P}while(__&&d(y[P-1],E)>-d(y[P],E)?P-1:P}return{left:p,center:b,right:v}}function hLt(){return 0}function fLt(i){return i===null?NaN:+i}const dLt=_pe(jY).right;_pe(fLt).center;const gLt=dLt;class SBe extends Map{constructor(a,u=mLt){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:u}}),a!=null)for(const[d,p]of a)this.set(d,p)}get(a){return super.get(_Be(this,a))}has(a){return super.has(_Be(this,a))}set(a,u){return super.set(pLt(this,a),u)}delete(a){return super.delete(bLt(this,a))}}function _Be({_intern:i,_key:a},u){const d=a(u);return i.has(d)?i.get(d):u}function pLt({_intern:i,_key:a},u){const d=a(u);return i.has(d)?i.get(d):(i.set(d,u),u)}function bLt({_intern:i,_key:a},u){const d=a(u);return i.has(d)&&(u=i.get(d),i.delete(d)),u}function mLt(i){return i!==null&&typeof i=="object"?i.valueOf():i}const vLt=Math.sqrt(50),wLt=Math.sqrt(10),yLt=Math.sqrt(2);function $Y(i,a,u){const d=(a-i)/Math.max(0,u),p=Math.floor(Math.log10(d)),v=d/Math.pow(10,p),b=v>=vLt?10:v>=wLt?5:v>=yLt?2:1;let y,E,_;return p<0?(_=Math.pow(10,-p)/b,y=Math.round(i*_),E=Math.round(a*_),y/_a&&--E,_=-_):(_=Math.pow(10,p)*b,y=Math.round(i/_),E=Math.round(a/_),y*_a&&--E),E0))return[];if(i===a)return[i];const d=a=p))return[];const y=v-p+1,E=new Array(y);if(d)if(b<0)for(let _=0;_=d)&&(u=d);else{let d=-1;for(let p of i)(p=a(p,++d,i))!=null&&(u=p)&&(u=p)}return u}function TLt(i,a){let u;if(a===void 0)for(const d of i)d!=null&&(u>d||u===void 0&&d>=d)&&(u=d);else{let d=-1;for(let p of i)(p=a(p,++d,i))!=null&&(u>p||u===void 0&&p>=p)&&(u=p)}return u}function ELt(i,a,u){i=+i,a=+a,u=(p=arguments.length)<2?(a=i,i=0,1):p<3?1:+u;for(var d=-1,p=Math.max(0,Math.ceil((a-i)/u))|0,v=new Array(p);++d+i(a)}function LLt(i,a){return a=Math.max(0,i.bandwidth()-a*2)/2,i.round()&&(a=Math.round(a)),u=>+i(u)+a}function MLt(){return!this.__axis}function LBe(i,a){var u=[],d=null,p=null,v=6,b=6,y=3,E=typeof window<"u"&&window.devicePixelRatio>1?0:.5,_=i===zY||i===qY?-1:1,A=i===qY||i===Mpe?"x":"y",P=i===zY||i===Dpe?SLt:_Lt;function R(B){var j=d??(a.ticks?a.ticks.apply(a,u):a.domain()),W=p??(a.tickFormat?a.tickFormat.apply(a,u):CLt),ee=Math.max(v,0)+y,ie=a.range(),oe=+ie[0]+E,be=+ie[ie.length-1]+E,ge=(a.bandwidth?LLt:ALt)(a.copy(),E),ae=B.selection?B.selection():B,ne=ae.selectAll(".domain").data([null]),se=ae.selectAll(".tick").data(j,a).order(),de=se.exit(),X=se.enter().append("g").attr("class","tick"),pe=se.select("line"),G=se.select("text");ne=ne.merge(ne.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),se=se.merge(X),pe=pe.merge(X.append("line").attr("stroke","currentColor").attr(A+"2",_*v)),G=G.merge(X.append("text").attr("fill","currentColor").attr(A,_*ee).attr("dy",i===zY?"0em":i===Dpe?"0.71em":"0.32em")),B!==ae&&(ne=ne.transition(B),se=se.transition(B),pe=pe.transition(B),G=G.transition(B),de=de.transition(B).attr("opacity",ABe).attr("transform",function(xe){return isFinite(xe=ge(xe))?P(xe+E):this.getAttribute("transform")}),X.attr("opacity",ABe).attr("transform",function(xe){var U=this.parentNode.__axis;return P((U&&isFinite(U=U(xe))?U:ge(xe))+E)})),de.remove(),ne.attr("d",i===qY||i===Mpe?b?"M"+_*b+","+oe+"H"+E+"V"+be+"H"+_*b:"M"+E+","+oe+"V"+be:b?"M"+oe+","+_*b+"V"+E+"H"+be+"V"+_*b:"M"+oe+","+E+"H"+be),se.attr("opacity",1).attr("transform",function(xe){return P(ge(xe)+E)}),pe.attr(A+"2",_*v),G.attr(A,_*ee).text(W),ae.filter(MLt).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",i===Mpe?"start":i===qY?"end":"middle"),ae.each(function(){this.__axis=ge})}return R.scale=function(B){return arguments.length?(a=B,R):a},R.ticks=function(){return u=Array.from(arguments),R},R.tickArguments=function(B){return arguments.length?(u=B==null?[]:Array.from(B),R):u.slice()},R.tickValues=function(B){return arguments.length?(d=B==null?null:Array.from(B),R):d&&d.slice()},R.tickFormat=function(B){return arguments.length?(p=B,R):p},R.tickSize=function(B){return arguments.length?(v=b=+B,R):v},R.tickSizeInner=function(B){return arguments.length?(v=+B,R):v},R.tickSizeOuter=function(B){return arguments.length?(b=+B,R):b},R.tickPadding=function(B){return arguments.length?(y=+B,R):y},R.offset=function(B){return arguments.length?(E=+B,R):E},R}function DLt(i){return LBe(zY,i)}function ILt(i){return LBe(Dpe,i)}var OLt={value:()=>{}};function MBe(){for(var i=0,a=arguments.length,u={},d;i=0&&(d=u.slice(p+1),u=u.slice(0,p)),u&&!a.hasOwnProperty(u))throw new Error("unknown type: "+u);return{type:u,name:d}})}HY.prototype=MBe.prototype={constructor:HY,on:function(i,a){var u=this._,d=NLt(i+"",u),p,v=-1,b=d.length;if(arguments.length<2){for(;++v0)for(var u=new Array(p),d=0,p,v;d=0&&(a=i.slice(0,u))!=="xmlns"&&(i=i.slice(u+1)),IBe.hasOwnProperty(a)?{space:IBe[a],local:i}:i}function BLt(i){return function(){var a=this.ownerDocument,u=this.namespaceURI;return u===Ipe&&a.documentElement.namespaceURI===Ipe?a.createElement(i):a.createElementNS(u,i)}}function FLt(i){return function(){return this.ownerDocument.createElementNS(i.space,i.local)}}function OBe(i){var a=UY(i);return(a.local?FLt:BLt)(a)}function RLt(){}function Ope(i){return i==null?RLt:function(){return this.querySelector(i)}}function jLt(i){typeof i!="function"&&(i=Ope(i));for(var a=this._groups,u=a.length,d=new Array(u),p=0;p=be&&(be=oe+1);!(ae=ee[be])&&++be=0;)(b=d[p])&&(v&&b.compareDocumentPosition(v)^4&&v.parentNode.insertBefore(b,v),v=b);return this}function uMt(i){i||(i=lMt);function a(P,R){return P&&R?i(P.__data__,R.__data__):!P-!R}for(var u=this._groups,d=u.length,p=new Array(d),v=0;va?1:i>=a?0:NaN}function hMt(){var i=arguments[0];return arguments[0]=this,i.apply(null,arguments),this}function fMt(){return Array.from(this)}function dMt(){for(var i=this._groups,a=0,u=i.length;a1?this.each((a==null?EMt:typeof a=="function"?SMt:CMt)(i,a,u??"")):eD(this.node(),i)}function eD(i,a){return i.style.getPropertyValue(a)||jBe(i).getComputedStyle(i,null).getPropertyValue(a)}function AMt(i){return function(){delete this[i]}}function LMt(i,a){return function(){this[i]=a}}function MMt(i,a){return function(){var u=a.apply(this,arguments);u==null?delete this[i]:this[i]=u}}function DMt(i,a){return arguments.length>1?this.each((a==null?AMt:typeof a=="function"?MMt:LMt)(i,a)):this.node()[i]}function $Be(i){return i.trim().split(/^|\s+/)}function Npe(i){return i.classList||new zBe(i)}function zBe(i){this._node=i,this._names=$Be(i.getAttribute("class")||"")}zBe.prototype={add:function(i){var a=this._names.indexOf(i);a<0&&(this._names.push(i),this._node.setAttribute("class",this._names.join(" ")))},remove:function(i){var a=this._names.indexOf(i);a>=0&&(this._names.splice(a,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(i){return this._names.indexOf(i)>=0}};function qBe(i,a){for(var u=Npe(i),d=-1,p=a.length;++d=0&&(u=a.slice(d+1),a=a.slice(0,d)),{type:a,name:u}})}function sDt(i){return function(){var a=this.__on;if(a){for(var u=0,d=-1,p=a.length,v;u>8&15|a>>4&240,a>>4&15|a&240,(a&15)<<4|a&15,1):u===8?WY(a>>24&255,a>>16&255,a>>8&255,(a&255)/255):u===4?WY(a>>12&15|a>>8&240,a>>8&15|a>>4&240,a>>4&15|a&240,((a&15)<<4|a&15)/255):null):(a=gDt.exec(i))?new Og(a[1],a[2],a[3],1):(a=pDt.exec(i))?new Og(a[1]*255/100,a[2]*255/100,a[3]*255/100,1):(a=bDt.exec(i))?WY(a[1],a[2],a[3],a[4]):(a=mDt.exec(i))?WY(a[1]*255/100,a[2]*255/100,a[3]*255/100,a[4]):(a=vDt.exec(i))?ZBe(a[1],a[2]/100,a[3]/100,1):(a=wDt.exec(i))?ZBe(a[1],a[2]/100,a[3]/100,a[4]):GBe.hasOwnProperty(i)?YBe(GBe[i]):i==="transparent"?new Og(NaN,NaN,NaN,0):null}function YBe(i){return new Og(i>>16&255,i>>8&255,i&255,1)}function WY(i,a,u,d){return d<=0&&(i=a=u=NaN),new Og(i,a,u,d)}function XBe(i){return i instanceof gC||(i=pC(i)),i?(i=i.rgb(),new Og(i.r,i.g,i.b,i.opacity)):new Og}function Bpe(i,a,u,d){return arguments.length===1?XBe(i):new Og(i,a,u,d??1)}function Og(i,a,u,d){this.r=+i,this.g=+a,this.b=+u,this.opacity=+d}_F(Og,Bpe,GY(gC,{brighter(i){return i=i==null?KY:Math.pow(KY,i),new Og(this.r*i,this.g*i,this.b*i,this.opacity)},darker(i){return i=i==null?AF:Math.pow(AF,i),new Og(this.r*i,this.g*i,this.b*i,this.opacity)},rgb(){return this},clamp(){return new Og(bC(this.r),bC(this.g),bC(this.b),YY(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:QBe,formatHex:QBe,formatHex8:kDt,formatRgb:JBe,toString:JBe}));function QBe(){return`#${mC(this.r)}${mC(this.g)}${mC(this.b)}`}function kDt(){return`#${mC(this.r)}${mC(this.g)}${mC(this.b)}${mC((isNaN(this.opacity)?1:this.opacity)*255)}`}function JBe(){const i=YY(this.opacity);return`${i===1?"rgb(":"rgba("}${bC(this.r)}, ${bC(this.g)}, ${bC(this.b)}${i===1?")":`, ${i})`}`}function YY(i){return isNaN(i)?1:Math.max(0,Math.min(1,i))}function bC(i){return Math.max(0,Math.min(255,Math.round(i)||0))}function mC(i){return i=bC(i),(i<16?"0":"")+i.toString(16)}function ZBe(i,a,u,d){return d<=0?i=a=u=NaN:u<=0||u>=1?i=a=NaN:a<=0&&(i=NaN),new P3(i,a,u,d)}function eFe(i){if(i instanceof P3)return new P3(i.h,i.s,i.l,i.opacity);if(i instanceof gC||(i=pC(i)),!i)return new P3;if(i instanceof P3)return i;i=i.rgb();var a=i.r/255,u=i.g/255,d=i.b/255,p=Math.min(a,u,d),v=Math.max(a,u,d),b=NaN,y=v-p,E=(v+p)/2;return y?(a===v?b=(u-d)/y+(u0&&E<1?0:b,new P3(b,y,E,i.opacity)}function TDt(i,a,u,d){return arguments.length===1?eFe(i):new P3(i,a,u,d??1)}function P3(i,a,u,d){this.h=+i,this.s=+a,this.l=+u,this.opacity=+d}_F(P3,TDt,GY(gC,{brighter(i){return i=i==null?KY:Math.pow(KY,i),new P3(this.h,this.s,this.l*i,this.opacity)},darker(i){return i=i==null?AF:Math.pow(AF,i),new P3(this.h,this.s,this.l*i,this.opacity)},rgb(){var i=this.h%360+(this.h<0)*360,a=isNaN(i)||isNaN(this.s)?0:this.s,u=this.l,d=u+(u<.5?u:1-u)*a,p=2*u-d;return new Og(Fpe(i>=240?i-240:i+120,p,d),Fpe(i,p,d),Fpe(i<120?i+240:i-120,p,d),this.opacity)},clamp(){return new P3(tFe(this.h),XY(this.s),XY(this.l),YY(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const i=YY(this.opacity);return`${i===1?"hsl(":"hsla("}${tFe(this.h)}, ${XY(this.s)*100}%, ${XY(this.l)*100}%${i===1?")":`, ${i})`}`}}));function tFe(i){return i=(i||0)%360,i<0?i+360:i}function XY(i){return Math.max(0,Math.min(1,i||0))}function Fpe(i,a,u){return(i<60?a+(u-a)*i/60:i<180?u:i<240?a+(u-a)*(240-i)/60:a)*255}const EDt=Math.PI/180,CDt=180/Math.PI,QY=18,nFe=.96422,rFe=1,iFe=.82521,sFe=4/29,nD=6/29,aFe=3*nD*nD,SDt=nD*nD*nD;function oFe(i){if(i instanceof q4)return new q4(i.l,i.a,i.b,i.opacity);if(i instanceof m7)return cFe(i);i instanceof Og||(i=XBe(i));var a=zpe(i.r),u=zpe(i.g),d=zpe(i.b),p=Rpe((.2225045*a+.7168786*u+.0606169*d)/rFe),v,b;return a===u&&u===d?v=b=p:(v=Rpe((.4360747*a+.3850649*u+.1430804*d)/nFe),b=Rpe((.0139322*a+.0971045*u+.7141733*d)/iFe)),new q4(116*p-16,500*(v-p),200*(p-b),i.opacity)}function _Dt(i,a,u,d){return arguments.length===1?oFe(i):new q4(i,a,u,d??1)}function q4(i,a,u,d){this.l=+i,this.a=+a,this.b=+u,this.opacity=+d}_F(q4,_Dt,GY(gC,{brighter(i){return new q4(this.l+QY*(i??1),this.a,this.b,this.opacity)},darker(i){return new q4(this.l-QY*(i??1),this.a,this.b,this.opacity)},rgb(){var i=(this.l+16)/116,a=isNaN(this.a)?i:i+this.a/500,u=isNaN(this.b)?i:i-this.b/200;return a=nFe*jpe(a),i=rFe*jpe(i),u=iFe*jpe(u),new Og($pe(3.1338561*a-1.6168667*i-.4906146*u),$pe(-.9787684*a+1.9161415*i+.033454*u),$pe(.0719453*a-.2289914*i+1.4052427*u),this.opacity)}}));function Rpe(i){return i>SDt?Math.pow(i,1/3):i/aFe+sFe}function jpe(i){return i>nD?i*i*i:aFe*(i-sFe)}function $pe(i){return 255*(i<=.0031308?12.92*i:1.055*Math.pow(i,1/2.4)-.055)}function zpe(i){return(i/=255)<=.04045?i/12.92:Math.pow((i+.055)/1.055,2.4)}function ADt(i){if(i instanceof m7)return new m7(i.h,i.c,i.l,i.opacity);if(i instanceof q4||(i=oFe(i)),i.a===0&&i.b===0)return new m7(NaN,0()=>i;function uFe(i,a){return function(u){return i+u*a}}function LDt(i,a,u){return i=Math.pow(i,u),a=Math.pow(a,u)-i,u=1/u,function(d){return Math.pow(i+d*a,u)}}function MDt(i,a){var u=a-i;return u?uFe(i,u>180||u<-180?u-360*Math.round(u/360):u):JY(isNaN(i)?a:i)}function DDt(i){return(i=+i)==1?MF:function(a,u){return u-a?LDt(a,u,i):JY(isNaN(a)?u:a)}}function MF(i,a){var u=a-i;return u?uFe(i,u):JY(isNaN(i)?a:i)}const ZY=function i(a){var u=DDt(a);function d(p,v){var b=u((p=Bpe(p)).r,(v=Bpe(v)).r),y=u(p.g,v.g),E=u(p.b,v.b),_=MF(p.opacity,v.opacity);return function(A){return p.r=b(A),p.g=y(A),p.b=E(A),p.opacity=_(A),p+""}}return d.gamma=i,d}(1);function IDt(i,a){a||(a=[]);var u=i?Math.min(a.length,i.length):0,d=a.slice(),p;return function(v){for(p=0;pu&&(v=a.slice(u,v),y[b]?y[b]+=v:y[++b]=v),(d=d[0])===(p=p[0])?y[b]?y[b]+=p:y[++b]=p:(y[++b]=null,E.push({i:b,x:B3(d,p)})),u=Upe.lastIndex;return u180?A+=360:A-_>180&&(_+=360),R.push({i:P.push(p(P)+"rotate(",null,d)-2,x:B3(_,A)})):A&&P.push(p(P)+"rotate("+A+d)}function y(_,A,P,R){_!==A?R.push({i:P.push(p(P)+"skewX(",null,d)-2,x:B3(_,A)}):A&&P.push(p(P)+"skewX("+A+d)}function E(_,A,P,R,B,j){if(_!==P||A!==R){var W=B.push(p(B)+"scale(",null,",",null,")");j.push({i:W-4,x:B3(_,P)},{i:W-2,x:B3(A,R)})}else(P!==1||R!==1)&&B.push(p(B)+"scale("+P+","+R+")")}return function(_,A){var P=[],R=[];return _=i(_),A=i(A),v(_.translateX,_.translateY,A.translateX,A.translateY,P,R),b(_.rotate,A.rotate,P,R),y(_.skewX,A.skewX,P,R),E(_.scaleX,_.scaleY,A.scaleX,A.scaleY,P,R),_=A=null,function(B){for(var j=-1,W=R.length,ee;++j=0&&i._call.call(void 0,a),i=i._next;--rD}function mFe(){vC=(nX=NF.now())+rX,rD=DF=0;try{KDt()}finally{rD=0,YDt(),vC=0}}function WDt(){var i=NF.now(),a=i-nX;a>gFe&&(rX-=a,nX=i)}function YDt(){for(var i,a=tX,u,d=1/0;a;)a._call?(d>a._time&&(d=a._time),i=a,a=a._next):(u=a._next,a._next=null,a=i?i._next=u:tX=u);OF=i,Wpe(d)}function Wpe(i){if(!rD){DF&&(DF=clearTimeout(DF));var a=i-vC;a>24?(i<1/0&&(DF=setTimeout(mFe,i-NF.now()-rX)),IF&&(IF=clearInterval(IF))):(IF||(nX=NF.now(),IF=setInterval(WDt,gFe)),rD=1,pFe(mFe))}}function vFe(i,a,u){var d=new iX;return a=a==null?0:+a,d.restart(p=>{d.stop(),i(p+a)},a,u),d}var XDt=MBe("start","end","cancel","interrupt"),QDt=[],wFe=0,yFe=1,Ype=2,sX=3,xFe=4,Xpe=5,aX=6;function oX(i,a,u,d,p,v){var b=i.__transition;if(!b)i.__transition={};else if(u in b)return;JDt(i,u,{name:a,index:d,group:p,on:XDt,tween:QDt,time:v.time,delay:v.delay,duration:v.duration,ease:v.ease,timer:null,state:wFe})}function Qpe(i,a){var u=F3(i,a);if(u.state>wFe)throw new Error("too late; already scheduled");return u}function H4(i,a){var u=F3(i,a);if(u.state>sX)throw new Error("too late; already running");return u}function F3(i,a){var u=i.__transition;if(!u||!(u=u[a]))throw new Error("transition not found");return u}function JDt(i,a,u){var d=i.__transition,p;d[a]=u,u.timer=bFe(v,0,u.time);function v(_){u.state=yFe,u.timer.restart(b,u.delay,u.time),u.delay<=_&&b(_-u.delay)}function b(_){var A,P,R,B;if(u.state!==yFe)return E();for(A in d)if(B=d[A],B.name===u.name){if(B.state===sX)return vFe(b);B.state===xFe?(B.state=aX,B.timer.stop(),B.on.call("interrupt",i,i.__data__,B.index,B.group),delete d[A]):+AYpe&&d.state=0&&(a=a.slice(0,u)),!a||a==="start"})}function LIt(i,a,u){var d,p,v=AIt(a)?Qpe:H4;return function(){var b=v(this,i),y=b.on;y!==d&&(p=(d=y).copy()).on(a,u),b.on=p}}function MIt(i,a){var u=this._id;return arguments.length<2?F3(this.node(),u).on.on(i):this.each(LIt(u,i,a))}function DIt(i){return function(){var a=this.parentNode;for(var u in this.__transition)if(+u!==i)return;a&&a.removeChild(this)}}function IIt(){return this.on("end.remove",DIt(this._id))}function OIt(i){var a=this._name,u=this._id;typeof i!="function"&&(i=Ope(i));for(var d=this._groups,p=d.length,v=new Array(p),b=0;b=0))throw new Error(`invalid digits: ${i}`);if(a>15)return CFe;const u=10**a;return function(d){this._+=d[0];for(let p=1,v=d.length;pwC)if(!(Math.abs(P*E-_*A)>wC)||!v)this._append`L${this._x1=a},${this._y1=u}`;else{let B=d-b,j=p-y,W=E*E+_*_,ee=B*B+j*j,ie=Math.sqrt(W),oe=Math.sqrt(R),be=v*Math.tan((Zpe-Math.acos((W+R-ee)/(2*ie*oe)))/2),ge=be/oe,ae=be/ie;Math.abs(ge-1)>wC&&this._append`L${a+ge*A},${u+ge*P}`,this._append`A${v},${v},0,0,${+(P*B>A*j)},${this._x1=a+ae*E},${this._y1=u+ae*_}`}}arc(a,u,d,p,v,b){if(a=+a,u=+u,d=+d,b=!!b,d<0)throw new Error(`negative radius: ${d}`);let y=d*Math.cos(p),E=d*Math.sin(p),_=a+y,A=u+E,P=1^b,R=b?p-v:v-p;this._x1===null?this._append`M${_},${A}`:(Math.abs(this._x1-_)>wC||Math.abs(this._y1-A)>wC)&&this._append`L${_},${A}`,d&&(R<0&&(R=R%e2e+e2e),R>iOt?this._append`A${d},${d},0,1,${P},${a-y},${u-E}A${d},${d},0,1,${P},${this._x1=_},${this._y1=A}`:R>wC&&this._append`A${d},${d},0,${+(R>=Zpe)},${P},${this._x1=a+d*Math.cos(v)},${this._y1=u+d*Math.sin(v)}`)}rect(a,u,d,p){this._append`M${this._x0=this._x1=+a},${this._y0=this._y1=+u}h${d=+d}v${+p}h${-d}Z`}toString(){return this._}};function oOt(i){if(!i.ok)throw new Error(i.status+" "+i.statusText);return i.text()}function cOt(i,a){return fetch(i,a).then(oOt)}function uOt(i){return(a,u)=>cOt(a,u).then(d=>new DOMParser().parseFromString(d,i))}var lOt=uOt("image/svg+xml");function hOt(i){return Math.abs(i=Math.round(i))>=1e21?i.toLocaleString("en").replace(/,/g,""):i.toString(10)}function cX(i,a){if((u=(i=a?i.toExponential(a-1):i.toExponential()).indexOf("e"))<0)return null;var u,d=i.slice(0,u);return[d.length>1?d[0]+d.slice(2):d,+i.slice(u+1)]}function iD(i){return i=cX(Math.abs(i)),i?i[1]:NaN}function fOt(i,a){return function(u,d){for(var p=u.length,v=[],b=0,y=i[0],E=0;p>0&&y>0&&(E+y+1>d&&(y=Math.max(1,d-E)),v.push(u.substring(p-=y,p+y)),!((E+=y+1)>d));)y=i[b=(b+1)%i.length];return v.reverse().join(a)}}function dOt(i){return function(a){return a.replace(/[0-9]/g,function(u){return i[+u]})}}var gOt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function uX(i){if(!(a=gOt.exec(i)))throw new Error("invalid format: "+i);var a;return new t2e({fill:a[1],align:a[2],sign:a[3],symbol:a[4],zero:a[5],width:a[6],comma:a[7],precision:a[8]&&a[8].slice(1),trim:a[9],type:a[10]})}uX.prototype=t2e.prototype;function t2e(i){this.fill=i.fill===void 0?" ":i.fill+"",this.align=i.align===void 0?">":i.align+"",this.sign=i.sign===void 0?"-":i.sign+"",this.symbol=i.symbol===void 0?"":i.symbol+"",this.zero=!!i.zero,this.width=i.width===void 0?void 0:+i.width,this.comma=!!i.comma,this.precision=i.precision===void 0?void 0:+i.precision,this.trim=!!i.trim,this.type=i.type===void 0?"":i.type+""}t2e.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function pOt(i){e:for(var a=i.length,u=1,d=-1,p;u0&&(d=0);break}return d>0?i.slice(0,d)+i.slice(p+1):i}var SFe;function bOt(i,a){var u=cX(i,a);if(!u)return i+"";var d=u[0],p=u[1],v=p-(SFe=Math.max(-8,Math.min(8,Math.floor(p/3)))*3)+1,b=d.length;return v===b?d:v>b?d+new Array(v-b+1).join("0"):v>0?d.slice(0,v)+"."+d.slice(v):"0."+new Array(1-v).join("0")+cX(i,Math.max(0,a+v-1))[0]}function _Fe(i,a){var u=cX(i,a);if(!u)return i+"";var d=u[0],p=u[1];return p<0?"0."+new Array(-p).join("0")+d:d.length>p+1?d.slice(0,p+1)+"."+d.slice(p+1):d+new Array(p-d.length+2).join("0")}const AFe={"%":(i,a)=>(i*100).toFixed(a),b:i=>Math.round(i).toString(2),c:i=>i+"",d:hOt,e:(i,a)=>i.toExponential(a),f:(i,a)=>i.toFixed(a),g:(i,a)=>i.toPrecision(a),o:i=>Math.round(i).toString(8),p:(i,a)=>_Fe(i*100,a),r:_Fe,s:bOt,X:i=>Math.round(i).toString(16).toUpperCase(),x:i=>Math.round(i).toString(16)};function LFe(i){return i}var MFe=Array.prototype.map,DFe=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function mOt(i){var a=i.grouping===void 0||i.thousands===void 0?LFe:fOt(MFe.call(i.grouping,Number),i.thousands+""),u=i.currency===void 0?"":i.currency[0]+"",d=i.currency===void 0?"":i.currency[1]+"",p=i.decimal===void 0?".":i.decimal+"",v=i.numerals===void 0?LFe:dOt(MFe.call(i.numerals,String)),b=i.percent===void 0?"%":i.percent+"",y=i.minus===void 0?"−":i.minus+"",E=i.nan===void 0?"NaN":i.nan+"";function _(P){P=uX(P);var R=P.fill,B=P.align,j=P.sign,W=P.symbol,ee=P.zero,ie=P.width,oe=P.comma,be=P.precision,ge=P.trim,ae=P.type;ae==="n"?(oe=!0,ae="g"):AFe[ae]||(be===void 0&&(be=12),ge=!0,ae="g"),(ee||R==="0"&&B==="=")&&(ee=!0,R="0",B="=");var ne=W==="$"?u:W==="#"&&/[boxX]/.test(ae)?"0"+ae.toLowerCase():"",se=W==="$"?d:/[%p]/.test(ae)?b:"",de=AFe[ae],X=/[defgprs%]/.test(ae);be=be===void 0?6:/[gprs]/.test(ae)?Math.max(1,Math.min(21,be)):Math.max(0,Math.min(20,be));function pe(G){var xe=ne,U=se,Be,Pe,je;if(ae==="c")U=de(G)+U,G="";else{G=+G;var Ie=G<0||1/G<0;if(G=isNaN(G)?E:de(Math.abs(G),be),ge&&(G=pOt(G)),Ie&&+G==0&&j!=="+"&&(Ie=!1),xe=(Ie?j==="("?j:y:j==="-"||j==="("?"":j)+xe,U=(ae==="s"?DFe[8+SFe/3]:"")+U+(Ie&&j==="("?")":""),X){for(Be=-1,Pe=G.length;++Beje||je>57){U=(je===46?p+G.slice(Be+1):G.slice(Be))+U,G=G.slice(0,Be);break}}}oe&&!ee&&(G=a(G,1/0));var Se=xe.length+G.length+U.length,Ce=Se>1)+xe+G+U+Ce.slice(Se);break;default:G=Ce+xe+G+U;break}return v(G)}return pe.toString=function(){return P+""},pe}function A(P,R){var B=_((P=uX(P),P.type="f",P)),j=Math.max(-8,Math.min(8,Math.floor(iD(R)/3)))*3,W=Math.pow(10,-j),ee=DFe[8+j/3];return function(ie){return B(W*ie)+ee}}return{format:_,formatPrefix:A}}var lX,IFe,OFe;vOt({thousands:",",grouping:[3],currency:["$",""]});function vOt(i){return lX=mOt(i),IFe=lX.format,OFe=lX.formatPrefix,lX}function wOt(i){return Math.max(0,-iD(Math.abs(i)))}function yOt(i,a){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(iD(a)/3)))*3-iD(Math.abs(i)))}function xOt(i,a){return i=Math.abs(i),a=Math.abs(a)-i,Math.max(0,iD(a)-iD(i))+1}function hX(i,a){switch(arguments.length){case 0:break;case 1:this.range(i);break;default:this.range(a).domain(i);break}return this}const NFe=Symbol("implicit");function PF(){var i=new SBe,a=[],u=[],d=NFe;function p(v){let b=i.get(v);if(b===void 0){if(d!==NFe)return d;i.set(v,b=a.push(v)-1)}return u[b%u.length]}return p.domain=function(v){if(!arguments.length)return a.slice();a=[],i=new SBe;for(const b of v)i.has(b)||i.set(b,a.push(b)-1);return p},p.range=function(v){return arguments.length?(u=Array.from(v),p):u.slice()},p.unknown=function(v){return arguments.length?(d=v,p):d},p.copy=function(){return PF(a,u).unknown(d)},hX.apply(p,arguments),p}function n2e(){var i=PF().unknown(void 0),a=i.domain,u=i.range,d=0,p=1,v,b,y=!1,E=0,_=0,A=.5;delete i.unknown;function P(){var R=a().length,B=pa&&(u=i,i=a,a=u),function(d){return Math.max(i,Math.min(a,d))}}function COt(i,a,u){var d=i[0],p=i[1],v=a[0],b=a[1];return p2?SOt:COt,E=_=null,P}function P(R){return R==null||isNaN(R=+R)?v:(E||(E=y(i.map(d),a,u)))(d(b(R)))}return P.invert=function(R){return b(p((_||(_=y(a,i.map(d),B3)))(R)))},P.domain=function(R){return arguments.length?(i=Array.from(R,TOt),A()):i.slice()},P.range=function(R){return arguments.length?(a=Array.from(R),A()):a.slice()},P.rangeRound=function(R){return a=Array.from(R),u=jDt,A()},P.clamp=function(R){return arguments.length?(b=R?!0:sD,A()):b!==sD},P.interpolate=function(R){return arguments.length?(u=R,A()):u},P.unknown=function(R){return arguments.length?(v=R,P):v},function(R,B){return d=R,p=B,A()}}function FFe(){return _Ot()(sD,sD)}function AOt(i,a,u,d){var p=Lpe(i,a,u),v;switch(d=uX(d??",f"),d.type){case"s":{var b=Math.max(Math.abs(i),Math.abs(a));return d.precision==null&&!isNaN(v=yOt(p,b))&&(d.precision=v),OFe(d,b)}case"":case"e":case"g":case"p":case"r":{d.precision==null&&!isNaN(v=xOt(p,Math.max(Math.abs(i),Math.abs(a))))&&(d.precision=v-(d.type==="e"));break}case"f":case"%":{d.precision==null&&!isNaN(v=wOt(p))&&(d.precision=v-(d.type==="%")*2);break}}return IFe(d)}function LOt(i){var a=i.domain;return i.ticks=function(u){var d=a();return xLt(d[0],d[d.length-1],u??10)},i.tickFormat=function(u,d){var p=a();return AOt(p[0],p[p.length-1],u??10,d)},i.nice=function(u){u==null&&(u=10);var d=a(),p=0,v=d.length-1,b=d[p],y=d[v],E,_,A=10;for(y0;){if(_=Ape(b,y,u),_===E)return d[p]=b,d[v]=y,a(d);if(_>0)b=Math.floor(b/_)*_,y=Math.ceil(y/_)*_;else if(_<0)b=Math.ceil(b*_)/_,y=Math.floor(y*_)/_;else break;E=_}return i},i}function aD(){var i=FFe();return i.copy=function(){return BFe(i,aD())},hX.apply(i,arguments),LOt(i)}function MOt(i,a){i=i.slice();var u=0,d=i.length-1,p=i[u],v=i[d],b;return v(i(v=new Date(+v)),v),p.ceil=v=>(i(v=new Date(v-1)),a(v,1),i(v),v),p.round=v=>{const b=p(v),y=p.ceil(v);return v-b(a(v=new Date(+v),b==null?1:Math.floor(b)),v),p.range=(v,b,y)=>{const E=[];if(v=p.ceil(v),y=y==null?1:Math.floor(y),!(v0))return E;let _;do E.push(_=new Date(+v)),a(v,y),i(v);while(_l1(b=>{if(b>=b)for(;i(b),!v(b);)b.setTime(b-1)},(b,y)=>{if(b>=b)if(y<0)for(;++y<=0;)for(;a(b,-1),!v(b););else for(;--y>=0;)for(;a(b,1),!v(b););}),u&&(p.count=(v,b)=>(i2e.setTime(+v),s2e.setTime(+b),i(i2e),i(s2e),Math.floor(u(i2e,s2e))),p.every=v=>(v=Math.floor(v),!isFinite(v)||!(v>0)?null:v>1?p.filter(d?b=>d(b)%v===0:b=>p.count(0,b)%v===0):p)),p}const oD=l1(()=>{},(i,a)=>{i.setTime(+i+a)},(i,a)=>a-i);oD.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?l1(a=>{a.setTime(Math.floor(a/i)*i)},(a,u)=>{a.setTime(+a+u*i)},(a,u)=>(u-a)/i):oD),oD.range;const y7=1e3,Rv=y7*60,x7=Rv*60,k7=x7*24,a2e=k7*7,RFe=k7*30,o2e=k7*365,m9=l1(i=>{i.setTime(i-i.getMilliseconds())},(i,a)=>{i.setTime(+i+a*y7)},(i,a)=>(a-i)/y7,i=>i.getUTCSeconds());m9.range;const BF=l1(i=>{i.setTime(i-i.getMilliseconds()-i.getSeconds()*y7)},(i,a)=>{i.setTime(+i+a*Rv)},(i,a)=>(a-i)/Rv,i=>i.getMinutes());BF.range,l1(i=>{i.setUTCSeconds(0,0)},(i,a)=>{i.setTime(+i+a*Rv)},(i,a)=>(a-i)/Rv,i=>i.getUTCMinutes()).range;const FF=l1(i=>{i.setTime(i-i.getMilliseconds()-i.getSeconds()*y7-i.getMinutes()*Rv)},(i,a)=>{i.setTime(+i+a*x7)},(i,a)=>(a-i)/x7,i=>i.getHours());FF.range,l1(i=>{i.setUTCMinutes(0,0,0)},(i,a)=>{i.setTime(+i+a*x7)},(i,a)=>(a-i)/x7,i=>i.getUTCHours()).range;const yC=l1(i=>i.setHours(0,0,0,0),(i,a)=>i.setDate(i.getDate()+a),(i,a)=>(a-i-(a.getTimezoneOffset()-i.getTimezoneOffset())*Rv)/k7,i=>i.getDate()-1);yC.range;const c2e=l1(i=>{i.setUTCHours(0,0,0,0)},(i,a)=>{i.setUTCDate(i.getUTCDate()+a)},(i,a)=>(a-i)/k7,i=>i.getUTCDate()-1);c2e.range,l1(i=>{i.setUTCHours(0,0,0,0)},(i,a)=>{i.setUTCDate(i.getUTCDate()+a)},(i,a)=>(a-i)/k7,i=>Math.floor(i/k7)).range;function xC(i){return l1(a=>{a.setDate(a.getDate()-(a.getDay()+7-i)%7),a.setHours(0,0,0,0)},(a,u)=>{a.setDate(a.getDate()+u*7)},(a,u)=>(u-a-(u.getTimezoneOffset()-a.getTimezoneOffset())*Rv)/a2e)}const RF=xC(0),jF=xC(1),jFe=xC(2),$Fe=xC(3),kC=xC(4),zFe=xC(5),qFe=xC(6);RF.range,jF.range,jFe.range,$Fe.range,kC.range,zFe.range,qFe.range;function TC(i){return l1(a=>{a.setUTCDate(a.getUTCDate()-(a.getUTCDay()+7-i)%7),a.setUTCHours(0,0,0,0)},(a,u)=>{a.setUTCDate(a.getUTCDate()+u*7)},(a,u)=>(u-a)/a2e)}const HFe=TC(0),fX=TC(1),DOt=TC(2),IOt=TC(3),cD=TC(4),OOt=TC(5),NOt=TC(6);HFe.range,fX.range,DOt.range,IOt.range,cD.range,OOt.range,NOt.range;const $F=l1(i=>{i.setDate(1),i.setHours(0,0,0,0)},(i,a)=>{i.setMonth(i.getMonth()+a)},(i,a)=>a.getMonth()-i.getMonth()+(a.getFullYear()-i.getFullYear())*12,i=>i.getMonth());$F.range,l1(i=>{i.setUTCDate(1),i.setUTCHours(0,0,0,0)},(i,a)=>{i.setUTCMonth(i.getUTCMonth()+a)},(i,a)=>a.getUTCMonth()-i.getUTCMonth()+(a.getUTCFullYear()-i.getUTCFullYear())*12,i=>i.getUTCMonth()).range;const T7=l1(i=>{i.setMonth(0,1),i.setHours(0,0,0,0)},(i,a)=>{i.setFullYear(i.getFullYear()+a)},(i,a)=>a.getFullYear()-i.getFullYear(),i=>i.getFullYear());T7.every=i=>!isFinite(i=Math.floor(i))||!(i>0)?null:l1(a=>{a.setFullYear(Math.floor(a.getFullYear()/i)*i),a.setMonth(0,1),a.setHours(0,0,0,0)},(a,u)=>{a.setFullYear(a.getFullYear()+u*i)}),T7.range;const EC=l1(i=>{i.setUTCMonth(0,1),i.setUTCHours(0,0,0,0)},(i,a)=>{i.setUTCFullYear(i.getUTCFullYear()+a)},(i,a)=>a.getUTCFullYear()-i.getUTCFullYear(),i=>i.getUTCFullYear());EC.every=i=>!isFinite(i=Math.floor(i))||!(i>0)?null:l1(a=>{a.setUTCFullYear(Math.floor(a.getUTCFullYear()/i)*i),a.setUTCMonth(0,1),a.setUTCHours(0,0,0,0)},(a,u)=>{a.setUTCFullYear(a.getUTCFullYear()+u*i)}),EC.range;function POt(i,a,u,d,p,v){const b=[[m9,1,y7],[m9,5,5*y7],[m9,15,15*y7],[m9,30,30*y7],[v,1,Rv],[v,5,5*Rv],[v,15,15*Rv],[v,30,30*Rv],[p,1,x7],[p,3,3*x7],[p,6,6*x7],[p,12,12*x7],[d,1,k7],[d,2,2*k7],[u,1,a2e],[a,1,RFe],[a,3,3*RFe],[i,1,o2e]];function y(_,A,P){const R=A<_;R&&([_,A]=[A,_]);const B=P&&typeof P.range=="function"?P:E(_,A,P),j=B?B.range(_,+A+1):[];return R?j.reverse():j}function E(_,A,P){const R=Math.abs(A-_)/P,B=_pe(([,,ee])=>ee).right(b,R);if(B===b.length)return i.every(Lpe(_/o2e,A/o2e,P));if(B===0)return oD.every(Math.max(Lpe(_,A,P),1));const[j,W]=b[R/b[B-1][2]53)return null;"w"in Dt||(Dt.w=1),"Z"in Dt?(Nn=l2e(zF(Dt.y,0,1)),ht=Nn.getUTCDay(),Nn=ht>4||ht===0?fX.ceil(Nn):fX(Nn),Nn=c2e.offset(Nn,(Dt.V-1)*7),Dt.y=Nn.getUTCFullYear(),Dt.m=Nn.getUTCMonth(),Dt.d=Nn.getUTCDate()+(Dt.w+6)%7):(Nn=u2e(zF(Dt.y,0,1)),ht=Nn.getDay(),Nn=ht>4||ht===0?jF.ceil(Nn):jF(Nn),Nn=yC.offset(Nn,(Dt.V-1)*7),Dt.y=Nn.getFullYear(),Dt.m=Nn.getMonth(),Dt.d=Nn.getDate()+(Dt.w+6)%7)}else("W"in Dt||"U"in Dt)&&("w"in Dt||(Dt.w="u"in Dt?Dt.u%7:"W"in Dt?1:0),ht="Z"in Dt?l2e(zF(Dt.y,0,1)).getUTCDay():u2e(zF(Dt.y,0,1)).getDay(),Dt.m=0,Dt.d="W"in Dt?(Dt.w+6)%7+Dt.W*7-(ht+5)%7:Dt.w+Dt.U*7-(ht+6)%7);return"Z"in Dt?(Dt.H+=Dt.Z/100|0,Dt.M+=Dt.Z%100,l2e(Dt)):u2e(Dt)}}function de(yt,Bt,Ze,Dt){for(var kt=0,Nn=Bt.length,ht=Ze.length,qr,xt;kt=ht)return-1;if(qr=Bt.charCodeAt(kt++),qr===37){if(qr=Bt.charAt(kt++),xt=ae[qr in UFe?Bt.charAt(kt++):qr],!xt||(Dt=xt(yt,Ze,Dt))<0)return-1}else if(qr!=Ze.charCodeAt(Dt++))return-1}return Dt}function X(yt,Bt,Ze){var Dt=_.exec(Bt.slice(Ze));return Dt?(yt.p=A.get(Dt[0].toLowerCase()),Ze+Dt[0].length):-1}function pe(yt,Bt,Ze){var Dt=B.exec(Bt.slice(Ze));return Dt?(yt.w=j.get(Dt[0].toLowerCase()),Ze+Dt[0].length):-1}function G(yt,Bt,Ze){var Dt=P.exec(Bt.slice(Ze));return Dt?(yt.w=R.get(Dt[0].toLowerCase()),Ze+Dt[0].length):-1}function xe(yt,Bt,Ze){var Dt=ie.exec(Bt.slice(Ze));return Dt?(yt.m=oe.get(Dt[0].toLowerCase()),Ze+Dt[0].length):-1}function U(yt,Bt,Ze){var Dt=W.exec(Bt.slice(Ze));return Dt?(yt.m=ee.get(Dt[0].toLowerCase()),Ze+Dt[0].length):-1}function Be(yt,Bt,Ze){return de(yt,a,Bt,Ze)}function Pe(yt,Bt,Ze){return de(yt,u,Bt,Ze)}function je(yt,Bt,Ze){return de(yt,d,Bt,Ze)}function Ie(yt){return b[yt.getDay()]}function Se(yt){return v[yt.getDay()]}function Ce(yt){return E[yt.getMonth()]}function ke(yt){return y[yt.getMonth()]}function Ke(yt){return p[+(yt.getHours()>=12)]}function zt(yt){return 1+~~(yt.getMonth()/3)}function Ne(yt){return b[yt.getUTCDay()]}function pn(yt){return v[yt.getUTCDay()]}function Tt(yt){return E[yt.getUTCMonth()]}function Et(yt){return y[yt.getUTCMonth()]}function Wt(yt){return p[+(yt.getUTCHours()>=12)]}function un(yt){return 1+~~(yt.getUTCMonth()/3)}return{format:function(yt){var Bt=ne(yt+="",be);return Bt.toString=function(){return yt},Bt},parse:function(yt){var Bt=se(yt+="",!1);return Bt.toString=function(){return yt},Bt},utcFormat:function(yt){var Bt=ne(yt+="",ge);return Bt.toString=function(){return yt},Bt},utcParse:function(yt){var Bt=se(yt+="",!0);return Bt.toString=function(){return yt},Bt}}}var UFe={"-":"",_:" ",0:"0"},rd=/^\s*\d+/,jOt=/^%/,$Ot=/[\\^$*+?|[\]().{}]/g;function bu(i,a,u){var d=i<0?"-":"",p=(d?-i:i)+"",v=p.length;return d+(v[a.toLowerCase(),u]))}function qOt(i,a,u){var d=rd.exec(a.slice(u,u+1));return d?(i.w=+d[0],u+d[0].length):-1}function HOt(i,a,u){var d=rd.exec(a.slice(u,u+1));return d?(i.u=+d[0],u+d[0].length):-1}function UOt(i,a,u){var d=rd.exec(a.slice(u,u+2));return d?(i.U=+d[0],u+d[0].length):-1}function VOt(i,a,u){var d=rd.exec(a.slice(u,u+2));return d?(i.V=+d[0],u+d[0].length):-1}function GOt(i,a,u){var d=rd.exec(a.slice(u,u+2));return d?(i.W=+d[0],u+d[0].length):-1}function VFe(i,a,u){var d=rd.exec(a.slice(u,u+4));return d?(i.y=+d[0],u+d[0].length):-1}function GFe(i,a,u){var d=rd.exec(a.slice(u,u+2));return d?(i.y=+d[0]+(+d[0]>68?1900:2e3),u+d[0].length):-1}function KOt(i,a,u){var d=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(a.slice(u,u+6));return d?(i.Z=d[1]?0:-(d[2]+(d[3]||"00")),u+d[0].length):-1}function WOt(i,a,u){var d=rd.exec(a.slice(u,u+1));return d?(i.q=d[0]*3-3,u+d[0].length):-1}function YOt(i,a,u){var d=rd.exec(a.slice(u,u+2));return d?(i.m=d[0]-1,u+d[0].length):-1}function KFe(i,a,u){var d=rd.exec(a.slice(u,u+2));return d?(i.d=+d[0],u+d[0].length):-1}function XOt(i,a,u){var d=rd.exec(a.slice(u,u+3));return d?(i.m=0,i.d=+d[0],u+d[0].length):-1}function WFe(i,a,u){var d=rd.exec(a.slice(u,u+2));return d?(i.H=+d[0],u+d[0].length):-1}function QOt(i,a,u){var d=rd.exec(a.slice(u,u+2));return d?(i.M=+d[0],u+d[0].length):-1}function JOt(i,a,u){var d=rd.exec(a.slice(u,u+2));return d?(i.S=+d[0],u+d[0].length):-1}function ZOt(i,a,u){var d=rd.exec(a.slice(u,u+3));return d?(i.L=+d[0],u+d[0].length):-1}function eNt(i,a,u){var d=rd.exec(a.slice(u,u+6));return d?(i.L=Math.floor(d[0]/1e3),u+d[0].length):-1}function tNt(i,a,u){var d=jOt.exec(a.slice(u,u+1));return d?u+d[0].length:-1}function nNt(i,a,u){var d=rd.exec(a.slice(u));return d?(i.Q=+d[0],u+d[0].length):-1}function rNt(i,a,u){var d=rd.exec(a.slice(u));return d?(i.s=+d[0],u+d[0].length):-1}function YFe(i,a){return bu(i.getDate(),a,2)}function iNt(i,a){return bu(i.getHours(),a,2)}function sNt(i,a){return bu(i.getHours()%12||12,a,2)}function aNt(i,a){return bu(1+yC.count(T7(i),i),a,3)}function XFe(i,a){return bu(i.getMilliseconds(),a,3)}function oNt(i,a){return XFe(i,a)+"000"}function cNt(i,a){return bu(i.getMonth()+1,a,2)}function uNt(i,a){return bu(i.getMinutes(),a,2)}function lNt(i,a){return bu(i.getSeconds(),a,2)}function hNt(i){var a=i.getDay();return a===0?7:a}function fNt(i,a){return bu(RF.count(T7(i)-1,i),a,2)}function QFe(i){var a=i.getDay();return a>=4||a===0?kC(i):kC.ceil(i)}function dNt(i,a){return i=QFe(i),bu(kC.count(T7(i),i)+(T7(i).getDay()===4),a,2)}function gNt(i){return i.getDay()}function pNt(i,a){return bu(jF.count(T7(i)-1,i),a,2)}function bNt(i,a){return bu(i.getFullYear()%100,a,2)}function mNt(i,a){return i=QFe(i),bu(i.getFullYear()%100,a,2)}function vNt(i,a){return bu(i.getFullYear()%1e4,a,4)}function wNt(i,a){var u=i.getDay();return i=u>=4||u===0?kC(i):kC.ceil(i),bu(i.getFullYear()%1e4,a,4)}function yNt(i){var a=i.getTimezoneOffset();return(a>0?"-":(a*=-1,"+"))+bu(a/60|0,"0",2)+bu(a%60,"0",2)}function JFe(i,a){return bu(i.getUTCDate(),a,2)}function xNt(i,a){return bu(i.getUTCHours(),a,2)}function kNt(i,a){return bu(i.getUTCHours()%12||12,a,2)}function TNt(i,a){return bu(1+c2e.count(EC(i),i),a,3)}function ZFe(i,a){return bu(i.getUTCMilliseconds(),a,3)}function ENt(i,a){return ZFe(i,a)+"000"}function CNt(i,a){return bu(i.getUTCMonth()+1,a,2)}function SNt(i,a){return bu(i.getUTCMinutes(),a,2)}function _Nt(i,a){return bu(i.getUTCSeconds(),a,2)}function ANt(i){var a=i.getUTCDay();return a===0?7:a}function LNt(i,a){return bu(HFe.count(EC(i)-1,i),a,2)}function eRe(i){var a=i.getUTCDay();return a>=4||a===0?cD(i):cD.ceil(i)}function MNt(i,a){return i=eRe(i),bu(cD.count(EC(i),i)+(EC(i).getUTCDay()===4),a,2)}function DNt(i){return i.getUTCDay()}function INt(i,a){return bu(fX.count(EC(i)-1,i),a,2)}function ONt(i,a){return bu(i.getUTCFullYear()%100,a,2)}function NNt(i,a){return i=eRe(i),bu(i.getUTCFullYear()%100,a,2)}function PNt(i,a){return bu(i.getUTCFullYear()%1e4,a,4)}function BNt(i,a){var u=i.getUTCDay();return i=u>=4||u===0?cD(i):cD.ceil(i),bu(i.getUTCFullYear()%1e4,a,4)}function FNt(){return"+0000"}function tRe(){return"%"}function nRe(i){return+i}function rRe(i){return Math.floor(+i/1e3)}var uD,dX;RNt({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function RNt(i){return uD=ROt(i),dX=uD.format,uD.parse,uD.utcFormat,uD.utcParse,uD}function jNt(i){return new Date(i)}function $Nt(i){return i instanceof Date?+i:+new Date(+i)}function iRe(i,a,u,d,p,v,b,y,E,_){var A=FFe(),P=A.invert,R=A.domain,B=_(".%L"),j=_(":%S"),W=_("%I:%M"),ee=_("%I %p"),ie=_("%a %d"),oe=_("%b %d"),be=_("%B"),ge=_("%Y");function ae(ne){return(E(ne)1?0:i<-1?UF:Math.acos(i)}function oRe(i){return i>=1?gX:i<=-1?-gX:Math.asin(i)}function cRe(i){let a=3;return i.digits=function(u){if(!arguments.length)return a;if(u==null)a=null;else{const d=Math.floor(u);if(!(d>=0))throw new RangeError(`invalid digits: ${u}`);a=d}return i},()=>new aOt(a)}function VNt(i){return i.innerRadius}function GNt(i){return i.outerRadius}function KNt(i){return i.startAngle}function WNt(i){return i.endAngle}function YNt(i){return i&&i.padAngle}function XNt(i,a,u,d,p,v,b,y){var E=u-i,_=d-a,A=b-p,P=y-v,R=P*E-A*_;if(!(R*RBe*Be+Pe*Pe&&(de=pe,X=G),{cx:de,cy:X,x01:-A,y01:-P,x11:de*(p/ae-1),y11:X*(p/ae-1)}}function hD(){var i=VNt,a=GNt,u=Wf(0),d=null,p=KNt,v=WNt,b=YNt,y=null,E=cRe(_);function _(){var A,P,R=+i.apply(this,arguments),B=+a.apply(this,arguments),j=p.apply(this,arguments)-gX,W=v.apply(this,arguments)-gX,ee=aRe(W-j),ie=W>j;if(y||(y=A=E()),BPg))y.moveTo(0,0);else if(ee>pX-Pg)y.moveTo(B*CC(j),B*U4(j)),y.arc(0,0,B,j,W,!ie),R>Pg&&(y.moveTo(R*CC(W),R*U4(W)),y.arc(0,0,R,W,j,ie));else{var oe=j,be=W,ge=j,ae=W,ne=ee,se=ee,de=b.apply(this,arguments)/2,X=de>Pg&&(d?+d.apply(this,arguments):lD(R*R+B*B)),pe=h2e(aRe(B-R)/2,+u.apply(this,arguments)),G=pe,xe=pe,U,Be;if(X>Pg){var Pe=oRe(X/R*U4(de)),je=oRe(X/B*U4(de));(ne-=Pe*2)>Pg?(Pe*=ie?1:-1,ge+=Pe,ae-=Pe):(ne=0,ge=ae=(j+W)/2),(se-=je*2)>Pg?(je*=ie?1:-1,oe+=je,be-=je):(se=0,oe=be=(j+W)/2)}var Ie=B*CC(oe),Se=B*U4(oe),Ce=R*CC(ae),ke=R*U4(ae);if(pe>Pg){var Ke=B*CC(be),zt=B*U4(be),Ne=R*CC(ge),pn=R*U4(ge),Tt;if(eePg?xe>Pg?(U=bX(Ne,pn,Ie,Se,B,xe,ie),Be=bX(Ke,zt,Ce,ke,B,xe,ie),y.moveTo(U.cx+U.x01,U.cy+U.y01),xePg)||!(ne>Pg)?y.lineTo(Ce,ke):G>Pg?(U=bX(Ce,ke,Ke,zt,R,-G,ie),Be=bX(Ie,Se,Ne,pn,R,-G,ie),y.lineTo(U.cx+U.x01,U.cy+U.y01),Gi?1:a>=i?0:NaN}function ePt(i){return i}function tPt(){var i=ePt,a=ZNt,u=null,d=Wf(0),p=Wf(pX),v=Wf(0);function b(y){var E,_=(y=uRe(y)).length,A,P,R=0,B=new Array(_),j=new Array(_),W=+d.apply(this,arguments),ee=Math.min(pX,Math.max(-pX,p.apply(this,arguments)-W)),ie,oe=Math.min(Math.abs(ee)/_,v.apply(this,arguments)),be=oe*(ee<0?-1:1),ge;for(E=0;E<_;++E)(ge=j[B[E]=E]=+i(y[E],E,y))>0&&(R+=ge);for(a!=null?B.sort(function(ae,ne){return a(j[ae],j[ne])}):u!=null&&B.sort(function(ae,ne){return u(y[ae],y[ne])}),E=0,P=R?(ee-_*be)/R:0;E<_;++E,W=ie)A=B[E],ge=j[A],ie=W+(ge>0?ge*P:0)+be,j[A]={data:y[A],index:E,value:ge,startAngle:W,endAngle:ie,padAngle:oe};return j}return b.value=function(y){return arguments.length?(i=typeof y=="function"?y:Wf(+y),b):i},b.sortValues=function(y){return arguments.length?(a=y,u=null,b):a},b.sort=function(y){return arguments.length?(u=y,a=null,b):u},b.startAngle=function(y){return arguments.length?(d=typeof y=="function"?y:Wf(+y),b):d},b.endAngle=function(y){return arguments.length?(p=typeof y=="function"?y:Wf(+y),b):p},b.padAngle=function(y){return arguments.length?(v=typeof y=="function"?y:Wf(+y),b):v},b}class hRe{constructor(a,u){this._context=a,this._x=u}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(a,u){switch(a=+a,u=+u,this._point){case 0:{this._point=1,this._line?this._context.lineTo(a,u):this._context.moveTo(a,u);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+a)/2,this._y0,this._x0,u,a,u):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+u)/2,a,this._y0,a,u);break}}this._x0=a,this._y0=u}}function nPt(i){return new hRe(i,!0)}function rPt(i){return new hRe(i,!1)}function v9(){}function mX(i,a,u){i._context.bezierCurveTo((2*i._x0+i._x1)/3,(2*i._y0+i._y1)/3,(i._x0+2*i._x1)/3,(i._y0+2*i._y1)/3,(i._x0+4*i._x1+a)/6,(i._y0+4*i._y1+u)/6)}function vX(i){this._context=i}vX.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:mX(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(i,a){switch(i=+i,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(i,a):this._context.moveTo(i,a);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:mX(this,i,a);break}this._x0=this._x1,this._x1=i,this._y0=this._y1,this._y1=a}};function VF(i){return new vX(i)}function fRe(i){this._context=i}fRe.prototype={areaStart:v9,areaEnd:v9,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(i,a){switch(i=+i,a=+a,this._point){case 0:this._point=1,this._x2=i,this._y2=a;break;case 1:this._point=2,this._x3=i,this._y3=a;break;case 2:this._point=3,this._x4=i,this._y4=a,this._context.moveTo((this._x0+4*this._x1+i)/6,(this._y0+4*this._y1+a)/6);break;default:mX(this,i,a);break}this._x0=this._x1,this._x1=i,this._y0=this._y1,this._y1=a}};function iPt(i){return new fRe(i)}function dRe(i){this._context=i}dRe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(i,a){switch(i=+i,a=+a,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var u=(this._x0+4*this._x1+i)/6,d=(this._y0+4*this._y1+a)/6;this._line?this._context.lineTo(u,d):this._context.moveTo(u,d);break;case 3:this._point=4;default:mX(this,i,a);break}this._x0=this._x1,this._x1=i,this._y0=this._y1,this._y1=a}};function sPt(i){return new dRe(i)}function gRe(i,a){this._basis=new vX(i),this._beta=a}gRe.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var i=this._x,a=this._y,u=i.length-1;if(u>0)for(var d=i[0],p=a[0],v=i[u]-d,b=a[u]-p,y=-1,E;++y<=u;)E=y/u,this._basis.point(this._beta*i[y]+(1-this._beta)*(d+E*v),this._beta*a[y]+(1-this._beta)*(p+E*b));this._x=this._y=null,this._basis.lineEnd()},point:function(i,a){this._x.push(+i),this._y.push(+a)}};const aPt=function i(a){function u(d){return a===1?new vX(d):new gRe(d,a)}return u.beta=function(d){return i(+d)},u}(.85);function wX(i,a,u){i._context.bezierCurveTo(i._x1+i._k*(i._x2-i._x0),i._y1+i._k*(i._y2-i._y0),i._x2+i._k*(i._x1-a),i._y2+i._k*(i._y1-u),i._x2,i._y2)}function f2e(i,a){this._context=i,this._k=(1-a)/6}f2e.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:wX(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(i,a){switch(i=+i,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(i,a):this._context.moveTo(i,a);break;case 1:this._point=2,this._x1=i,this._y1=a;break;case 2:this._point=3;default:wX(this,i,a);break}this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const oPt=function i(a){function u(d){return new f2e(d,a)}return u.tension=function(d){return i(+d)},u}(0);function d2e(i,a){this._context=i,this._k=(1-a)/6}d2e.prototype={areaStart:v9,areaEnd:v9,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(i,a){switch(i=+i,a=+a,this._point){case 0:this._point=1,this._x3=i,this._y3=a;break;case 1:this._point=2,this._context.moveTo(this._x4=i,this._y4=a);break;case 2:this._point=3,this._x5=i,this._y5=a;break;default:wX(this,i,a);break}this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const cPt=function i(a){function u(d){return new d2e(d,a)}return u.tension=function(d){return i(+d)},u}(0);function g2e(i,a){this._context=i,this._k=(1-a)/6}g2e.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(i,a){switch(i=+i,a=+a,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:wX(this,i,a);break}this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const uPt=function i(a){function u(d){return new g2e(d,a)}return u.tension=function(d){return i(+d)},u}(0);function p2e(i,a,u){var d=i._x1,p=i._y1,v=i._x2,b=i._y2;if(i._l01_a>Pg){var y=2*i._l01_2a+3*i._l01_a*i._l12_a+i._l12_2a,E=3*i._l01_a*(i._l01_a+i._l12_a);d=(d*y-i._x0*i._l12_2a+i._x2*i._l01_2a)/E,p=(p*y-i._y0*i._l12_2a+i._y2*i._l01_2a)/E}if(i._l23_a>Pg){var _=2*i._l23_2a+3*i._l23_a*i._l12_a+i._l12_2a,A=3*i._l23_a*(i._l23_a+i._l12_a);v=(v*_+i._x1*i._l23_2a-a*i._l12_2a)/A,b=(b*_+i._y1*i._l23_2a-u*i._l12_2a)/A}i._context.bezierCurveTo(d,p,v,b,i._x2,i._y2)}function pRe(i,a){this._context=i,this._alpha=a}pRe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(i,a){if(i=+i,a=+a,this._point){var u=this._x2-i,d=this._y2-a;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(u*u+d*d,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(i,a):this._context.moveTo(i,a);break;case 1:this._point=2;break;case 2:this._point=3;default:p2e(this,i,a);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const lPt=function i(a){function u(d){return a?new pRe(d,a):new f2e(d,0)}return u.alpha=function(d){return i(+d)},u}(.5);function bRe(i,a){this._context=i,this._alpha=a}bRe.prototype={areaStart:v9,areaEnd:v9,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(i,a){if(i=+i,a=+a,this._point){var u=this._x2-i,d=this._y2-a;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(u*u+d*d,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=i,this._y3=a;break;case 1:this._point=2,this._context.moveTo(this._x4=i,this._y4=a);break;case 2:this._point=3,this._x5=i,this._y5=a;break;default:p2e(this,i,a);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const hPt=function i(a){function u(d){return a?new bRe(d,a):new d2e(d,0)}return u.alpha=function(d){return i(+d)},u}(.5);function mRe(i,a){this._context=i,this._alpha=a}mRe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(i,a){if(i=+i,a=+a,this._point){var u=this._x2-i,d=this._y2-a;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(u*u+d*d,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:p2e(this,i,a);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const fPt=function i(a){function u(d){return a?new mRe(d,a):new g2e(d,0)}return u.alpha=function(d){return i(+d)},u}(.5);function vRe(i){this._context=i}vRe.prototype={areaStart:v9,areaEnd:v9,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(i,a){i=+i,a=+a,this._point?this._context.lineTo(i,a):(this._point=1,this._context.moveTo(i,a))}};function dPt(i){return new vRe(i)}function wRe(i){return i<0?-1:1}function yRe(i,a,u){var d=i._x1-i._x0,p=a-i._x1,v=(i._y1-i._y0)/(d||p<0&&-0),b=(u-i._y1)/(p||d<0&&-0),y=(v*p+b*d)/(d+p);return(wRe(v)+wRe(b))*Math.min(Math.abs(v),Math.abs(b),.5*Math.abs(y))||0}function xRe(i,a){var u=i._x1-i._x0;return u?(3*(i._y1-i._y0)/u-a)/2:a}function b2e(i,a,u){var d=i._x0,p=i._y0,v=i._x1,b=i._y1,y=(v-d)/3;i._context.bezierCurveTo(d+y,p+y*a,v-y,b-y*u,v,b)}function yX(i){this._context=i}yX.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:b2e(this,this._t0,xRe(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(i,a){var u=NaN;if(i=+i,a=+a,!(i===this._x1&&a===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(i,a):this._context.moveTo(i,a);break;case 1:this._point=2;break;case 2:this._point=3,b2e(this,xRe(this,u=yRe(this,i,a)),u);break;default:b2e(this,this._t0,u=yRe(this,i,a));break}this._x0=this._x1,this._x1=i,this._y0=this._y1,this._y1=a,this._t0=u}}};function kRe(i){this._context=new TRe(i)}(kRe.prototype=Object.create(yX.prototype)).point=function(i,a){yX.prototype.point.call(this,a,i)};function TRe(i){this._context=i}TRe.prototype={moveTo:function(i,a){this._context.moveTo(a,i)},closePath:function(){this._context.closePath()},lineTo:function(i,a){this._context.lineTo(a,i)},bezierCurveTo:function(i,a,u,d,p,v){this._context.bezierCurveTo(a,i,d,u,v,p)}};function gPt(i){return new yX(i)}function pPt(i){return new kRe(i)}function ERe(i){this._context=i}ERe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var i=this._x,a=this._y,u=i.length;if(u)if(this._line?this._context.lineTo(i[0],a[0]):this._context.moveTo(i[0],a[0]),u===2)this._context.lineTo(i[1],a[1]);else for(var d=CRe(i),p=CRe(a),v=0,b=1;b=0;--a)p[a]=(b[a]-p[a+1])/v[a];for(v[u-1]=(i[u]+p[u-1])/2,a=0;a=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(i,a){switch(i=+i,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(i,a):this._context.moveTo(i,a);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,a),this._context.lineTo(i,a);else{var u=this._x*(1-this._t)+i*this._t;this._context.lineTo(u,this._y),this._context.lineTo(u,a)}break}}this._x=i,this._y=a}};function mPt(i){return new xX(i,.5)}function vPt(i){return new xX(i,0)}function wPt(i){return new xX(i,1)}function GF(i,a,u){this.k=i,this.x=a,this.y=u}GF.prototype={constructor:GF,scale:function(i){return i===1?this:new GF(this.k*i,this.x,this.y)},translate:function(i,a){return i===0&a===0?this:new GF(this.k,this.x+this.k*i,this.y+this.k*a)},apply:function(i){return[i[0]*this.k+this.x,i[1]*this.k+this.y]},applyX:function(i){return i*this.k+this.x},applyY:function(i){return i*this.k+this.y},invert:function(i){return[(i[0]-this.x)/this.k,(i[1]-this.y)/this.k]},invertX:function(i){return(i-this.x)/this.k},invertY:function(i){return(i-this.y)/this.k},rescaleX:function(i){return i.copy().domain(i.range().map(this.invertX,this).map(i.invert,i))},rescaleY:function(i){return i.copy().domain(i.range().map(this.invertY,this).map(i.invert,i))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},GF.prototype;/*! @license DOMPurify 3.4.2 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.2/LICENSE */const{entries:SRe,setPrototypeOf:_Re,isFrozen:yPt,getPrototypeOf:xPt,getOwnPropertyDescriptor:kPt}=Object;let{freeze:_p,seal:jv,create:fD}=Object,{apply:m2e,construct:v2e}=typeof Reflect<"u"&&Reflect;_p||(_p=function(a){return a}),jv||(jv=function(a){return a}),m2e||(m2e=function(a,u){for(var d=arguments.length,p=new Array(d>2?d-2:0),v=2;v1?u-1:0),p=1;p"u"?null:M0(BigInt.prototype.toString),IRe=typeof Symbol>"u"?null:M0(Symbol.prototype.toString),kf=M0(Object.prototype.hasOwnProperty),XF=M0(Object.prototype.toString),Hd=M0(RegExp.prototype.test),kX=APt(TypeError);function M0(i){return function(a){a instanceof RegExp&&(a.lastIndex=0);for(var u=arguments.length,d=new Array(u>1?u-1:0),p=1;p2&&arguments[2]!==void 0?arguments[2]:YF;if(_Re&&_Re(i,null),!Ap(a))return i;let d=a.length;for(;d--;){let p=a[d];if(typeof p=="string"){const v=u(p);v!==p&&(yPt(a)||(a[d]=v),p=v)}i[p]=!0}return i}function LPt(i){for(let a=0;a/gm),BPt=jv(/\$\{[\w\W]*/gm),FPt=jv(/^data-[\-\w.\u00B7-\uFFFF]+$/),RPt=jv(/^aria-[\-\w]+$/),FRe=jv(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),jPt=jv(/^(?:\w+script|data):/i),$Pt=jv(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),RRe=jv(/^html$/i),zPt=jv(/^[a-z][.\w]*(-[.\w]+)+$/i);var jRe=Object.freeze({__proto__:null,ARIA_ATTR:RPt,ATTR_WHITESPACE:$Pt,CUSTOM_ELEMENT:zPt,DATA_ATTR:FPt,DOCTYPE_NAME:RRe,ERB_EXPR:PPt,IS_ALLOWED_URI:FRe,IS_SCRIPT_OR_DATA:jPt,MUSTACHE_EXPR:NPt,TMPLIT_EXPR:BPt});const QF={element:1,text:3,progressingInstruction:7,comment:8,document:9},qPt=function(){return typeof window>"u"?null:window},HPt=function(a,u){if(typeof a!="object"||typeof a.createPolicy!="function")return null;let d=null;const p="data-tt-policy-suffix";u&&u.hasAttribute(p)&&(d=u.getAttribute(p));const v="dompurify"+(d?"#"+d:"");try{return a.createPolicy(v,{createHTML(b){return b},createScriptURL(b){return b}})}catch{return console.warn("TrustedTypes policy "+v+" could not be created."),null}},$Re=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function zRe(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:qPt();const a=bs=>zRe(bs);if(a.version="3.4.2",a.removed=[],!i||!i.document||i.document.nodeType!==QF.document||!i.Element)return a.isSupported=!1,a;let{document:u}=i;const d=u,p=d.currentScript,{DocumentFragment:v,HTMLTemplateElement:b,Node:y,Element:E,NodeFilter:_,NamedNodeMap:A=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:P,DOMParser:R,trustedTypes:B}=i,j=E.prototype,W=gD(j,"cloneNode"),ee=gD(j,"remove"),ie=gD(j,"nextSibling"),oe=gD(j,"childNodes"),be=gD(j,"parentNode");if(typeof b=="function"){const bs=u.createElement("template");bs.content&&bs.content.ownerDocument&&(u=bs.content.ownerDocument)}let ge,ae="";const{implementation:ne,createNodeIterator:se,createDocumentFragment:de,getElementsByTagName:X}=u,{importNode:pe}=d;let G=$Re();a.isSupported=typeof SRe=="function"&&typeof be=="function"&&ne&&ne.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:xe,ERB_EXPR:U,TMPLIT_EXPR:Be,DATA_ATTR:Pe,ARIA_ATTR:je,IS_SCRIPT_OR_DATA:Ie,ATTR_WHITESPACE:Se,CUSTOM_ELEMENT:Ce}=jRe;let{IS_ALLOWED_URI:ke}=jRe,Ke=null;const zt=Yo({},[...ORe,...y2e,...x2e,...k2e,...NRe]);let Ne=null;const pn=Yo({},[...PRe,...T2e,...BRe,...TX]);let Tt=Object.seal(fD(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}})),Et=null,Wt=null;const un=Object.seal(fD(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let yt=!0,Bt=!0,Ze=!1,Dt=!0,kt=!1,Nn=!0,ht=!1,qr=!1,xt=!1,Ri=!1,wi=!1,ia=!1,Hs=!0,mo=!1;const Tr="user-content-";let On=!0,Rn=!1,zn={},Ct=null;const gt=Yo({},["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"]);let on=null;const dn=Yo({},["audio","video","img","source","image","track"]);let Ln=null;const Io=Yo({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Oo="http://www.w3.org/1998/Math/MathML",No="http://www.w3.org/2000/svg",Us="http://www.w3.org/1999/xhtml";let uo=Us,Es=!1,Ou=null;const _c=Yo({},[Oo,No,Us],w2e);let Kd=Yo({},["mi","mo","mn","ms","mtext"]),qp=Yo({},["annotation-xml"]);const Ul=Yo({},["title","style","font","a","script"]);let Ac=null;const Jc=["application/xhtml+xml","text/html"],Ya="text/html";let Ba=null,ha=null;const $o=u.createElement("form"),Lc=function(Vt){return Vt instanceof RegExp||Vt instanceof Function},Fa=function(){let Vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ha&&ha===Vt)return;(!Vt||typeof Vt!="object")&&(Vt={}),Vt=V2(Vt),Ac=Jc.indexOf(Vt.PARSER_MEDIA_TYPE)===-1?Ya:Vt.PARSER_MEDIA_TYPE,Ba=Ac==="application/xhtml+xml"?w2e:YF,Ke=kf(Vt,"ALLOWED_TAGS")&&Ap(Vt.ALLOWED_TAGS)?Yo({},Vt.ALLOWED_TAGS,Ba):zt,Ne=kf(Vt,"ALLOWED_ATTR")&&Ap(Vt.ALLOWED_ATTR)?Yo({},Vt.ALLOWED_ATTR,Ba):pn,Ou=kf(Vt,"ALLOWED_NAMESPACES")&&Ap(Vt.ALLOWED_NAMESPACES)?Yo({},Vt.ALLOWED_NAMESPACES,w2e):_c,Ln=kf(Vt,"ADD_URI_SAFE_ATTR")&&Ap(Vt.ADD_URI_SAFE_ATTR)?Yo(V2(Io),Vt.ADD_URI_SAFE_ATTR,Ba):Io,on=kf(Vt,"ADD_DATA_URI_TAGS")&&Ap(Vt.ADD_DATA_URI_TAGS)?Yo(V2(dn),Vt.ADD_DATA_URI_TAGS,Ba):dn,Ct=kf(Vt,"FORBID_CONTENTS")&&Ap(Vt.FORBID_CONTENTS)?Yo({},Vt.FORBID_CONTENTS,Ba):gt,Et=kf(Vt,"FORBID_TAGS")&&Ap(Vt.FORBID_TAGS)?Yo({},Vt.FORBID_TAGS,Ba):V2({}),Wt=kf(Vt,"FORBID_ATTR")&&Ap(Vt.FORBID_ATTR)?Yo({},Vt.FORBID_ATTR,Ba):V2({}),zn=kf(Vt,"USE_PROFILES")?Vt.USE_PROFILES&&typeof Vt.USE_PROFILES=="object"?V2(Vt.USE_PROFILES):Vt.USE_PROFILES:!1,yt=Vt.ALLOW_ARIA_ATTR!==!1,Bt=Vt.ALLOW_DATA_ATTR!==!1,Ze=Vt.ALLOW_UNKNOWN_PROTOCOLS||!1,Dt=Vt.ALLOW_SELF_CLOSE_IN_ATTR!==!1,kt=Vt.SAFE_FOR_TEMPLATES||!1,Nn=Vt.SAFE_FOR_XML!==!1,ht=Vt.WHOLE_DOCUMENT||!1,Ri=Vt.RETURN_DOM||!1,wi=Vt.RETURN_DOM_FRAGMENT||!1,ia=Vt.RETURN_TRUSTED_TYPE||!1,xt=Vt.FORCE_BODY||!1,Hs=Vt.SANITIZE_DOM!==!1,mo=Vt.SANITIZE_NAMED_PROPS||!1,On=Vt.KEEP_CONTENT!==!1,Rn=Vt.IN_PLACE||!1,ke=DPt(Vt.ALLOWED_URI_REGEXP)?Vt.ALLOWED_URI_REGEXP:FRe,uo=typeof Vt.NAMESPACE=="string"?Vt.NAMESPACE:Us,Kd=kf(Vt,"MATHML_TEXT_INTEGRATION_POINTS")&&Vt.MATHML_TEXT_INTEGRATION_POINTS&&typeof Vt.MATHML_TEXT_INTEGRATION_POINTS=="object"?V2(Vt.MATHML_TEXT_INTEGRATION_POINTS):Yo({},["mi","mo","mn","ms","mtext"]),qp=kf(Vt,"HTML_INTEGRATION_POINTS")&&Vt.HTML_INTEGRATION_POINTS&&typeof Vt.HTML_INTEGRATION_POINTS=="object"?V2(Vt.HTML_INTEGRATION_POINTS):Yo({},["annotation-xml"]);const jr=kf(Vt,"CUSTOM_ELEMENT_HANDLING")&&Vt.CUSTOM_ELEMENT_HANDLING&&typeof Vt.CUSTOM_ELEMENT_HANDLING=="object"?V2(Vt.CUSTOM_ELEMENT_HANDLING):fD(null);if(Tt=fD(null),kf(jr,"tagNameCheck")&&Lc(jr.tagNameCheck)&&(Tt.tagNameCheck=jr.tagNameCheck),kf(jr,"attributeNameCheck")&&Lc(jr.attributeNameCheck)&&(Tt.attributeNameCheck=jr.attributeNameCheck),kf(jr,"allowCustomizedBuiltInElements")&&typeof jr.allowCustomizedBuiltInElements=="boolean"&&(Tt.allowCustomizedBuiltInElements=jr.allowCustomizedBuiltInElements),kt&&(Bt=!1),wi&&(Ri=!0),zn&&(Ke=Yo({},NRe),Ne=fD(null),zn.html===!0&&(Yo(Ke,ORe),Yo(Ne,PRe)),zn.svg===!0&&(Yo(Ke,y2e),Yo(Ne,T2e),Yo(Ne,TX)),zn.svgFilters===!0&&(Yo(Ke,x2e),Yo(Ne,T2e),Yo(Ne,TX)),zn.mathMl===!0&&(Yo(Ke,k2e),Yo(Ne,BRe),Yo(Ne,TX))),un.tagCheck=null,un.attributeCheck=null,kf(Vt,"ADD_TAGS")&&(typeof Vt.ADD_TAGS=="function"?un.tagCheck=Vt.ADD_TAGS:Ap(Vt.ADD_TAGS)&&(Ke===zt&&(Ke=V2(Ke)),Yo(Ke,Vt.ADD_TAGS,Ba))),kf(Vt,"ADD_ATTR")&&(typeof Vt.ADD_ATTR=="function"?un.attributeCheck=Vt.ADD_ATTR:Ap(Vt.ADD_ATTR)&&(Ne===pn&&(Ne=V2(Ne)),Yo(Ne,Vt.ADD_ATTR,Ba))),kf(Vt,"ADD_URI_SAFE_ATTR")&&Ap(Vt.ADD_URI_SAFE_ATTR)&&Yo(Ln,Vt.ADD_URI_SAFE_ATTR,Ba),kf(Vt,"FORBID_CONTENTS")&&Ap(Vt.FORBID_CONTENTS)&&(Ct===gt&&(Ct=V2(Ct)),Yo(Ct,Vt.FORBID_CONTENTS,Ba)),kf(Vt,"ADD_FORBID_CONTENTS")&&Ap(Vt.ADD_FORBID_CONTENTS)&&(Ct===gt&&(Ct=V2(Ct)),Yo(Ct,Vt.ADD_FORBID_CONTENTS,Ba)),On&&(Ke["#text"]=!0),ht&&Yo(Ke,["html","head","body"]),Ke.table&&(Yo(Ke,["tbody"]),delete Et.tbody),Vt.TRUSTED_TYPES_POLICY){if(typeof Vt.TRUSTED_TYPES_POLICY.createHTML!="function")throw kX('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Vt.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw kX('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ge=Vt.TRUSTED_TYPES_POLICY,ae=ge.createHTML("")}else ge===void 0&&(ge=HPt(B,p)),ge!==null&&typeof ae=="string"&&(ae=ge.createHTML(""));_p&&_p(Vt),ha=Vt},Ra=Yo({},[...y2e,...x2e,...IPt]),ma=Yo({},[...k2e,...OPt]),Kh=function(Vt){let jr=be(Vt);(!jr||!jr.tagName)&&(jr={namespaceURI:uo,tagName:"template"});const Ji=YF(Vt.tagName),Qo=YF(jr.tagName);return Ou[Vt.namespaceURI]?Vt.namespaceURI===No?jr.namespaceURI===Us?Ji==="svg":jr.namespaceURI===Oo?Ji==="svg"&&(Qo==="annotation-xml"||Kd[Qo]):!!Ra[Ji]:Vt.namespaceURI===Oo?jr.namespaceURI===Us?Ji==="math":jr.namespaceURI===No?Ji==="math"&&qp[Qo]:!!ma[Ji]:Vt.namespaceURI===Us?jr.namespaceURI===No&&!qp[Qo]||jr.namespaceURI===Oo&&!Kd[Qo]?!1:!ma[Ji]&&(Ul[Ji]||!Ra[Ji]):!!(Ac==="application/xhtml+xml"&&Ou[Vt.namespaceURI]):!1},Po=function(Vt){WF(a.removed,{element:Vt});try{be(Vt).removeChild(Vt)}catch{ee(Vt)}},Hp=function(Vt,jr){try{WF(a.removed,{attribute:jr.getAttributeNode(Vt),from:jr})}catch{WF(a.removed,{attribute:null,from:jr})}if(jr.removeAttribute(Vt),Vt==="is")if(Ri||wi)try{Po(jr)}catch{}else try{jr.setAttribute(Vt,"")}catch{}},Ug=function(Vt){let jr=null,Ji=null;if(xt)Vt=""+Vt;else{const Ui=LRe(Vt,/^[\r\n\t ]+/);Ji=Ui&&Ui[0]}Ac==="application/xhtml+xml"&&uo===Us&&(Vt=''+Vt+"");const Qo=ge?ge.createHTML(Vt):Vt;if(uo===Us)try{jr=new R().parseFromString(Qo,Ac)}catch{}if(!jr||!jr.documentElement){jr=ne.createDocument(uo,"template",null);try{jr.documentElement.innerHTML=Es?ae:Qo}catch{}}const Hi=jr.body||jr.documentElement;return Vt&&Ji&&Hi.insertBefore(u.createTextNode(Ji),Hi.childNodes[0]||null),uo===Us?X.call(jr,ht?"html":"body")[0]:ht?jr.documentElement:Hi},ad=function(Vt){return se.call(Vt.ownerDocument||Vt,Vt,_.SHOW_ELEMENT|_.SHOW_COMMENT|_.SHOW_TEXT|_.SHOW_PROCESSING_INSTRUCTION|_.SHOW_CDATA_SECTION,null)},od=function(Vt){return Vt instanceof P&&(typeof Vt.nodeName!="string"||typeof Vt.textContent!="string"||typeof Vt.removeChild!="function"||!(Vt.attributes instanceof A)||typeof Vt.removeAttribute!="function"||typeof Vt.setAttribute!="function"||typeof Vt.namespaceURI!="string"||typeof Vt.insertBefore!="function"||typeof Vt.hasChildNodes!="function")},w1=function(Vt){return typeof y=="function"&&Vt instanceof y};function kh(bs,Vt,jr){KF(bs,Ji=>{Ji.call(a,Vt,jr,ha)})}const Wd=function(Vt){let jr=null;if(kh(G.beforeSanitizeElements,Vt,null),od(Vt))return Po(Vt),!0;const Ji=Ba(Vt.nodeName);if(kh(G.uponSanitizeElement,Vt,{tagName:Ji,allowedTags:Ke}),Nn&&Vt.hasChildNodes()&&!w1(Vt.firstElementChild)&&Hd(/<[/\w!]/g,Vt.innerHTML)&&Hd(/<[/\w!]/g,Vt.textContent)||Nn&&Vt.namespaceURI===Us&&Ji==="style"&&w1(Vt.firstElementChild)||Vt.nodeType===QF.progressingInstruction||Nn&&Vt.nodeType===QF.comment&&Hd(/<[/\w]/g,Vt.data))return Po(Vt),!0;if(Et[Ji]||!(un.tagCheck instanceof Function&&un.tagCheck(Ji))&&!Ke[Ji]){if(!Et[Ji]&&Zf(Ji)&&(Tt.tagNameCheck instanceof RegExp&&Hd(Tt.tagNameCheck,Ji)||Tt.tagNameCheck instanceof Function&&Tt.tagNameCheck(Ji)))return!1;if(On&&!Ct[Ji]){const Qo=be(Vt)||Vt.parentNode,Hi=oe(Vt)||Vt.childNodes;if(Hi&&Qo){const Ui=Hi.length;for(let zs=Ui-1;zs>=0;--zs){const gi=W(Hi[zs],!0);Qo.insertBefore(gi,ie(Vt))}}}return Po(Vt),!0}return Vt instanceof E&&!Kh(Vt)||(Ji==="noscript"||Ji==="noembed"||Ji==="noframes")&&Hd(/<\/no(script|embed|frames)/i,Vt.innerHTML)?(Po(Vt),!0):(kt&&Vt.nodeType===QF.text&&(jr=Vt.textContent,KF([xe,U,Be],Qo=>{jr=dD(jr,Qo," ")}),Vt.textContent!==jr&&(WF(a.removed,{element:Vt.cloneNode()}),Vt.textContent=jr)),kh(G.afterSanitizeElements,Vt,null),!1)},Yd=function(Vt,jr,Ji){if(Wt[jr]||Hs&&(jr==="id"||jr==="name")&&(Ji in u||Ji in $o))return!1;const Qo=Ne[jr]||un.attributeCheck instanceof Function&&un.attributeCheck(jr,Vt);if(!(Bt&&!Wt[jr]&&Hd(Pe,jr))){if(!(yt&&Hd(je,jr))){if(!Qo||Wt[jr]){if(!(Zf(Vt)&&(Tt.tagNameCheck instanceof RegExp&&Hd(Tt.tagNameCheck,Vt)||Tt.tagNameCheck instanceof Function&&Tt.tagNameCheck(Vt))&&(Tt.attributeNameCheck instanceof RegExp&&Hd(Tt.attributeNameCheck,jr)||Tt.attributeNameCheck instanceof Function&&Tt.attributeNameCheck(jr,Vt))||jr==="is"&&Tt.allowCustomizedBuiltInElements&&(Tt.tagNameCheck instanceof RegExp&&Hd(Tt.tagNameCheck,Ji)||Tt.tagNameCheck instanceof Function&&Tt.tagNameCheck(Ji))))return!1}else if(!Ln[jr]){if(!Hd(ke,dD(Ji,Se,""))){if(!((jr==="src"||jr==="xlink:href"||jr==="href")&&Vt!=="script"&&MRe(Ji,"data:")===0&&on[Vt])){if(!(Ze&&!Hd(Ie,dD(Ji,Se,"")))){if(Ji)return!1}}}}}}return!0},Xd=Yo({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Zf=function(Vt){return!Xd[YF(Vt)]&&Hd(Ce,Vt)},Up=function(Vt){kh(G.beforeSanitizeAttributes,Vt,null);const{attributes:jr}=Vt;if(!jr||od(Vt))return;const Ji={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ne,forceKeepAttr:void 0};let Qo=jr.length;for(;Qo--;){const Hi=jr[Qo],{name:Ui,namespaceURI:zs,value:gi}=Hi,Bo=Ba(Ui),Ot=gi;let zu=Ui==="value"?Ot:CPt(Ot);if(Ji.attrName=Bo,Ji.attrValue=zu,Ji.keepAttr=!0,Ji.forceKeepAttr=void 0,kh(G.uponSanitizeAttribute,Vt,Ji),zu=Ji.attrValue,mo&&(Bo==="id"||Bo==="name")&&MRe(zu,Tr)!==0&&(Hp(Ui,Vt),zu=Tr+zu),Nn&&Hd(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,zu)){Hp(Ui,Vt);continue}if(Bo==="attributename"&&LRe(zu,"href")){Hp(Ui,Vt);continue}if(Ji.forceKeepAttr)continue;if(!Ji.keepAttr){Hp(Ui,Vt);continue}if(!Dt&&Hd(/\/>/i,zu)){Hp(Ui,Vt);continue}kt&&KF([xe,U,Be],Wh=>{zu=dD(zu,Wh," ")});const Gt=Ba(Vt.nodeName);if(!Yd(Gt,Bo,zu)){Hp(Ui,Vt);continue}if(ge&&typeof B=="object"&&typeof B.getAttributeType=="function"&&!zs)switch(B.getAttributeType(Gt,Bo)){case"TrustedHTML":{zu=ge.createHTML(zu);break}case"TrustedScriptURL":{zu=ge.createScriptURL(zu);break}}if(zu!==Ot)try{zs?Vt.setAttributeNS(zs,Ui,zu):Vt.setAttribute(Ui,zu),od(Vt)?Po(Vt):ARe(a.removed)}catch{Hp(Ui,Vt)}}kh(G.afterSanitizeAttributes,Vt,null)},u5=function(Vt){let jr=null;const Ji=ad(Vt);for(kh(G.beforeSanitizeShadowDOM,Vt,null);jr=Ji.nextNode();)kh(G.uponSanitizeShadowNode,jr,null),Wd(jr),Up(jr),jr.content instanceof v&&u5(jr.content);kh(G.afterSanitizeShadowDOM,Vt,null)};return a.sanitize=function(bs){let Vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},jr=null,Ji=null,Qo=null,Hi=null;if(Es=!bs,Es&&(bs=""),typeof bs!="string"&&!w1(bs)&&(bs=MPt(bs),typeof bs!="string"))throw kX("dirty is not a string, aborting");if(!a.isSupported)return bs;if(qr||Fa(Vt),a.removed=[],typeof bs=="string"&&(Rn=!1),Rn){const gi=bs.nodeName;if(typeof gi=="string"){const Bo=Ba(gi);if(!Ke[Bo]||Et[Bo])throw kX("root node is forbidden and cannot be sanitized in-place")}}else if(bs instanceof y)jr=Ug(""),Ji=jr.ownerDocument.importNode(bs,!0),Ji.nodeType===QF.element&&Ji.nodeName==="BODY"||Ji.nodeName==="HTML"?jr=Ji:jr.appendChild(Ji);else{if(!Ri&&!kt&&!ht&&bs.indexOf("<")===-1)return ge&&ia?ge.createHTML(bs):bs;if(jr=Ug(bs),!jr)return Ri?null:ia?ae:""}jr&&xt&&Po(jr.firstChild);const Ui=ad(Rn?bs:jr);for(;Qo=Ui.nextNode();)Wd(Qo),Up(Qo),Qo.content instanceof v&&u5(Qo.content);if(Rn)return bs;if(Ri){if(kt){jr.normalize();let gi=jr.innerHTML;KF([xe,U,Be],Bo=>{gi=dD(gi,Bo," ")}),jr.innerHTML=gi}if(wi)for(Hi=de.call(jr.ownerDocument);jr.firstChild;)Hi.appendChild(jr.firstChild);else Hi=jr;return(Ne.shadowroot||Ne.shadowrootmode)&&(Hi=pe.call(d,Hi,!0)),Hi}let zs=ht?jr.outerHTML:jr.innerHTML;return ht&&Ke["!doctype"]&&jr.ownerDocument&&jr.ownerDocument.doctype&&jr.ownerDocument.doctype.name&&Hd(RRe,jr.ownerDocument.doctype.name)&&(zs=" -`+zs),kt&&KF([xe,U,Be],gi=>{zs=dD(zs,gi," ")}),ge&&ia?ge.createHTML(zs):zs},a.setConfig=function(){let bs=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Fa(bs),qr=!0},a.clearConfig=function(){ha=null,qr=!1},a.isValidAttribute=function(bs,Vt,jr){ha||Fa({});const Ji=Ba(bs),Qo=Ba(Vt);return Yd(Ji,Qo,jr)},a.addHook=function(bs,Vt){typeof Vt=="function"&&WF(G[bs],Vt)},a.removeHook=function(bs,Vt){if(Vt!==void 0){const jr=TPt(G[bs],Vt);return jr===-1?void 0:EPt(G[bs],jr,1)[0]}return ARe(G[bs])},a.removeHooks=function(bs){G[bs]=[]},a.removeAllHooks=function(){G=$Re()},a}var pD=zRe();const bD=//gi,UPt=i=>i?URe(i).replace(/\\n/g,"#br#").split("#br#"):[""],VPt=(()=>{let i=!1;return()=>{i||(GPt(),i=!0)}})();function GPt(){const i="data-temp-href-target";pD.addHook("beforeSanitizeAttributes",a=>{a.tagName==="A"&&a.hasAttribute("target")&&a.setAttribute(i,a.getAttribute("target")??"")}),pD.addHook("afterSanitizeAttributes",a=>{a.tagName==="A"&&a.hasAttribute(i)&&(a.setAttribute("target",a.getAttribute(i)??""),a.removeAttribute(i),a.getAttribute("target")==="_blank"&&a.setAttribute("rel","noopener"))})}const qRe=i=>(VPt(),pD.sanitize(i)),HRe=(i,a)=>{var u;if(((u=a.flowchart)==null?void 0:u.htmlLabels)!==!1){const d=a.securityLevel;d==="antiscript"||d==="strict"?i=qRe(i):d!=="loose"&&(i=URe(i),i=i.replace(//g,">"),i=i.replace(/=/g,"="),i=XPt(i))}return i},bh=(i,a)=>i&&(a.dompurifyConfig?i=pD.sanitize(HRe(i,a),a.dompurifyConfig).toString():i=pD.sanitize(HRe(i,a),{FORBID_TAGS:["style"]}).toString(),i),KPt=(i,a)=>typeof i=="string"?bh(i,a):i.flat().map(u=>bh(u,a)),WPt=i=>bD.test(i),YPt=i=>i.split(bD),XPt=i=>i.replace(/#br#/g,"
"),URe=i=>i.replace(bD,"#br#"),QPt=i=>{let a="";return i&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replaceAll(/\(/g,"\\("),a=a.replaceAll(/\)/g,"\\)")),a},h1=i=>!(i===!1||["false","null","0"].includes(String(i).trim().toLowerCase())),JPt=function(...i){const a=i.filter(u=>!isNaN(u));return Math.max(...a)},ZPt=function(...i){const a=i.filter(u=>!isNaN(u));return Math.min(...a)},JF=function(i){const a=i.split(/(,)/),u=[];for(let d=0;d0&&d+1Math.max(0,i.split(a).length-1),eBt=(i,a)=>{const u=E2e(i,"~"),d=E2e(a,"~");return u===1&&d===1},tBt=i=>{const a=E2e(i,"~");let u=!1;if(a<=1)return i;a%2!==0&&i.startsWith("~")&&(i=i.substring(1),u=!0);const d=[...i];let p=d.indexOf("~"),v=d.lastIndexOf("~");for(;p!==-1&&v!==-1&&p!==v;)d[p]="<",d[v]=">",p=d.indexOf("~"),v=d.lastIndexOf("~");return u&&d.unshift("~"),d.join("")},VRe=()=>window.MathMLElement!==void 0,C2e=/\$\$(.*)\$\$/g,$v=i=>{var a;return(((a=i.match(C2e))==null?void 0:a.length)??0)>0},ZF=async(i,a)=>{const u=document.createElement("div");u.innerHTML=await SC(i,a),u.id="katex-temp",u.style.visibility="hidden",u.style.position="absolute",u.style.top="0";const d=document.querySelector("body");d==null||d.insertAdjacentElement("beforeend",u);const p={width:u.clientWidth,height:u.clientHeight};return u.remove(),p},nBt=async(i,a)=>{if(!$v(i))return i;if(!VRe()&&!a.legacyMathML)return i.replace(C2e,"MathML is unsupported in this environment.");const{default:u}=await Promise.resolve().then(()=>QUt);return i.split(bD).map(d=>$v(d)?` -
- ${d} -
- `:`
${d}
`).join("").replace(C2e,(d,p)=>u.renderToString(p,{throwOnError:!0,displayMode:!0,output:VRe()?"mathml":"htmlAndMathml"}).replace(/\n/g," ").replace(//g,""))},SC=async(i,a)=>bh(await nBt(i,a),a),oi={getRows:UPt,sanitizeText:bh,sanitizeTextOrArray:KPt,hasBreaks:WPt,splitBreaks:YPt,lineBreakRegex:bD,removeScript:qRe,getUrl:QPt,evaluate:h1,getMax:JPt,getMin:ZPt},EX={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:i=>i>=255?255:i<0?0:i,g:i=>i>=255?255:i<0?0:i,b:i=>i>=255?255:i<0?0:i,h:i=>i%360,s:i=>i>=100?100:i<0?0:i,l:i=>i>=100?100:i<0?0:i,a:i=>i>=1?1:i<0?0:i},toLinear:i=>{const a=i/255;return i>.03928?Math.pow((a+.055)/1.055,2.4):a/12.92},hue2rgb:(i,a,u)=>(u<0&&(u+=1),u>1&&(u-=1),u<1/6?i+(a-i)*6*u:u<1/2?a:u<2/3?i+(a-i)*(2/3-u)*6:i),hsl2rgb:({h:i,s:a,l:u},d)=>{if(!a)return u*2.55;i/=360,a/=100,u/=100;const p=u<.5?u*(1+a):u+a-u*a,v=2*u-p;switch(d){case"r":return EX.hue2rgb(v,p,i+1/3)*255;case"g":return EX.hue2rgb(v,p,i)*255;case"b":return EX.hue2rgb(v,p,i-1/3)*255}},rgb2hsl:({r:i,g:a,b:u},d)=>{i/=255,a/=255,u/=255;const p=Math.max(i,a,u),v=Math.min(i,a,u),b=(p+v)/2;if(d==="l")return b*100;if(p===v)return 0;const y=p-v,E=b>.5?y/(2-p-v):y/(p+v);if(d==="s")return E*100;switch(p){case i:return((a-u)/y+(aa>u?Math.min(a,Math.max(u,i)):Math.min(u,Math.max(a,i)),round:i=>Math.round(i*1e10)/1e10},unit:{dec2hex:i=>{const a=Math.round(i).toString(16);return a.length>1?a:`0${a}`}}},w9={};for(let i=0;i<=255;i++)w9[i]=Ka.unit.dec2hex(i);const Bg={ALL:0,RGB:1,HSL:2};class rBt{constructor(){this.type=Bg.ALL}get(){return this.type}set(a){if(this.type&&this.type!==a)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=a}reset(){this.type=Bg.ALL}is(a){return this.type===a}}const iBt=rBt;class sBt{constructor(a,u){this.color=u,this.changed=!1,this.data=a,this.type=new iBt}set(a,u){return this.color=u,this.changed=!1,this.data=a,this.type.type=Bg.ALL,this}_ensureHSL(){const a=this.data,{h:u,s:d,l:p}=a;u===void 0&&(a.h=Ka.channel.rgb2hsl(a,"h")),d===void 0&&(a.s=Ka.channel.rgb2hsl(a,"s")),p===void 0&&(a.l=Ka.channel.rgb2hsl(a,"l"))}_ensureRGB(){const a=this.data,{r:u,g:d,b:p}=a;u===void 0&&(a.r=Ka.channel.hsl2rgb(a,"r")),d===void 0&&(a.g=Ka.channel.hsl2rgb(a,"g")),p===void 0&&(a.b=Ka.channel.hsl2rgb(a,"b"))}get r(){const a=this.data,u=a.r;return!this.type.is(Bg.HSL)&&u!==void 0?u:(this._ensureHSL(),Ka.channel.hsl2rgb(a,"r"))}get g(){const a=this.data,u=a.g;return!this.type.is(Bg.HSL)&&u!==void 0?u:(this._ensureHSL(),Ka.channel.hsl2rgb(a,"g"))}get b(){const a=this.data,u=a.b;return!this.type.is(Bg.HSL)&&u!==void 0?u:(this._ensureHSL(),Ka.channel.hsl2rgb(a,"b"))}get h(){const a=this.data,u=a.h;return!this.type.is(Bg.RGB)&&u!==void 0?u:(this._ensureRGB(),Ka.channel.rgb2hsl(a,"h"))}get s(){const a=this.data,u=a.s;return!this.type.is(Bg.RGB)&&u!==void 0?u:(this._ensureRGB(),Ka.channel.rgb2hsl(a,"s"))}get l(){const a=this.data,u=a.l;return!this.type.is(Bg.RGB)&&u!==void 0?u:(this._ensureRGB(),Ka.channel.rgb2hsl(a,"l"))}get a(){return this.data.a}set r(a){this.type.set(Bg.RGB),this.changed=!0,this.data.r=a}set g(a){this.type.set(Bg.RGB),this.changed=!0,this.data.g=a}set b(a){this.type.set(Bg.RGB),this.changed=!0,this.data.b=a}set h(a){this.type.set(Bg.HSL),this.changed=!0,this.data.h=a}set s(a){this.type.set(Bg.HSL),this.changed=!0,this.data.s=a}set l(a){this.type.set(Bg.HSL),this.changed=!0,this.data.l=a}set a(a){this.changed=!0,this.data.a=a}}const aBt=sBt,CX=new aBt({r:0,g:0,b:0,a:0},"transparent"),GRe={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:i=>{if(i.charCodeAt(0)!==35)return;const a=i.match(GRe.re);if(!a)return;const u=a[1],d=parseInt(u,16),p=u.length,v=p%4===0,b=p>4,y=b?1:17,E=b?8:4,_=v?0:-1,A=b?255:15;return CX.set({r:(d>>E*(_+3)&A)*y,g:(d>>E*(_+2)&A)*y,b:(d>>E*(_+1)&A)*y,a:v?(d&A)*y/255:1},i)},stringify:i=>{const{r:a,g:u,b:d,a:p}=i;return p<1?`#${w9[Math.round(a)]}${w9[Math.round(u)]}${w9[Math.round(d)]}${w9[Math.round(p*255)]}`:`#${w9[Math.round(a)]}${w9[Math.round(u)]}${w9[Math.round(d)]}`}},eR=GRe,SX={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:i=>{const a=i.match(SX.hueRe);if(a){const[,u,d]=a;switch(d){case"grad":return Ka.channel.clamp.h(parseFloat(u)*.9);case"rad":return Ka.channel.clamp.h(parseFloat(u)*180/Math.PI);case"turn":return Ka.channel.clamp.h(parseFloat(u)*360)}}return Ka.channel.clamp.h(parseFloat(i))},parse:i=>{const a=i.charCodeAt(0);if(a!==104&&a!==72)return;const u=i.match(SX.re);if(!u)return;const[,d,p,v,b,y]=u;return CX.set({h:SX._hue2deg(d),s:Ka.channel.clamp.s(parseFloat(p)),l:Ka.channel.clamp.l(parseFloat(v)),a:b?Ka.channel.clamp.a(y?parseFloat(b)/100:parseFloat(b)):1},i)},stringify:i=>{const{h:a,s:u,l:d,a:p}=i;return p<1?`hsla(${Ka.lang.round(a)}, ${Ka.lang.round(u)}%, ${Ka.lang.round(d)}%, ${p})`:`hsl(${Ka.lang.round(a)}, ${Ka.lang.round(u)}%, ${Ka.lang.round(d)}%)`}},_X=SX,AX={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:i=>{i=i.toLowerCase();const a=AX.colors[i];if(a)return eR.parse(a)},stringify:i=>{const a=eR.stringify(i);for(const u in AX.colors)if(AX.colors[u]===a)return u}},KRe=AX,WRe={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:i=>{const a=i.charCodeAt(0);if(a!==114&&a!==82)return;const u=i.match(WRe.re);if(!u)return;const[,d,p,v,b,y,E,_,A]=u;return CX.set({r:Ka.channel.clamp.r(p?parseFloat(d)*2.55:parseFloat(d)),g:Ka.channel.clamp.g(b?parseFloat(v)*2.55:parseFloat(v)),b:Ka.channel.clamp.b(E?parseFloat(y)*2.55:parseFloat(y)),a:_?Ka.channel.clamp.a(A?parseFloat(_)/100:parseFloat(_)):1},i)},stringify:i=>{const{r:a,g:u,b:d,a:p}=i;return p<1?`rgba(${Ka.lang.round(a)}, ${Ka.lang.round(u)}, ${Ka.lang.round(d)}, ${Ka.lang.round(p)})`:`rgb(${Ka.lang.round(a)}, ${Ka.lang.round(u)}, ${Ka.lang.round(d)})`}},LX=WRe,R3={format:{keyword:KRe,hex:eR,rgb:LX,rgba:LX,hsl:_X,hsla:_X},parse:i=>{if(typeof i!="string")return i;const a=eR.parse(i)||LX.parse(i)||_X.parse(i)||KRe.parse(i);if(a)return a;throw new Error(`Unsupported color format: "${i}"`)},stringify:i=>!i.changed&&i.color?i.color:i.type.is(Bg.HSL)||i.data.r===void 0?_X.stringify(i):i.a<1||!Number.isInteger(i.r)||!Number.isInteger(i.g)||!Number.isInteger(i.b)?LX.stringify(i):eR.stringify(i)},YRe=(i,a)=>{const u=R3.parse(i);for(const d in a)u[d]=Ka.channel.clamp[d](a[d]);return R3.stringify(u)},_C=(i,a,u=0,d=1)=>{if(typeof i!="number")return YRe(i,{a});const p=CX.set({r:Ka.channel.clamp.r(i),g:Ka.channel.clamp.g(a),b:Ka.channel.clamp.b(u),a:Ka.channel.clamp.a(d)});return R3.stringify(p)},XRe=(i,a)=>Ka.lang.round(R3.parse(i)[a]),oBt=i=>{const{r:a,g:u,b:d}=R3.parse(i),p=.2126*Ka.channel.toLinear(a)+.7152*Ka.channel.toLinear(u)+.0722*Ka.channel.toLinear(d);return Ka.lang.round(p)},cBt=i=>oBt(i)>=.5,AC=i=>!cBt(i),QRe=(i,a,u)=>{const d=R3.parse(i),p=d[a],v=Ka.channel.clamp[a](p+u);return p!==v&&(d[a]=v),R3.stringify(d)},Ws=(i,a)=>QRe(i,"l",a),ba=(i,a)=>QRe(i,"l",-a),In=(i,a)=>{const u=R3.parse(i),d={};for(const p in a)a[p]&&(d[p]=u[p]+a[p]);return YRe(i,d)},uBt=(i,a,u=50)=>{const{r:d,g:p,b:v,a:b}=R3.parse(i),{r:y,g:E,b:_,a:A}=R3.parse(a),P=u/100,R=P*2-1,B=b-A,W=((R*B===-1?R:(R+B)/(1+R*B))+1)/2,ee=1-W,ie=d*W+y*ee,oe=p*W+E*ee,be=v*W+_*ee,ge=b*P+A*(1-P);return _C(ie,oe,be,ge)},Gi=(i,a=100)=>{const u=R3.parse(i);return u.r=255-u.r,u.g=255-u.g,u.b=255-u.b,uBt(u,i,a)},Lp=(i,a)=>a?In(i,{s:-40,l:10}):In(i,{s:-40,l:-10}),MX="#ffffff",DX="#f2f2f2";let lBt=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){var u,d,p,v,b,y,E,_,A,P,R;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||In(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||In(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||Lp(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||Lp(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||Lp(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||Lp(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||Gi(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||Gi(this.tertiaryColor),this.lineColor=this.lineColor||Gi(this.background),this.arrowheadColor=this.arrowheadColor||Gi(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?ba(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||"grey",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||ba(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||Gi(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||Ws(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||In(this.primaryColor,{h:30}),this.cScale4=this.cScale4||In(this.primaryColor,{h:60}),this.cScale5=this.cScale5||In(this.primaryColor,{h:90}),this.cScale6=this.cScale6||In(this.primaryColor,{h:120}),this.cScale7=this.cScale7||In(this.primaryColor,{h:150}),this.cScale8=this.cScale8||In(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||In(this.primaryColor,{h:270}),this.cScale10=this.cScale10||In(this.primaryColor,{h:300}),this.cScale11=this.cScale11||In(this.primaryColor,{h:330}),this.darkMode)for(let B=0;B{this[d]=a[d]}),this.updateColors(),u.forEach(d=>{this[d]=a[d]})}};const hBt=i=>{const a=new lBt;return a.calculate(i),a};let fBt=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=Ws(this.primaryColor,16),this.tertiaryColor=In(this.primaryColor,{h:-160}),this.primaryBorderColor=Gi(this.background),this.secondaryBorderColor=Lp(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Lp(this.tertiaryColor,this.darkMode),this.primaryTextColor=Gi(this.primaryColor),this.secondaryTextColor=Gi(this.secondaryColor),this.tertiaryTextColor=Gi(this.tertiaryColor),this.lineColor=Gi(this.background),this.textColor=Gi(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=Ws(Gi("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=_C(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=ba("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=ba(this.sectionBkgColor,10),this.taskBorderColor=_C(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=_C(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){var a,u,d,p,v,b,y,E,_,A,P;this.secondBkg=Ws(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=Ws(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=Ws(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=In(this.primaryColor,{h:64}),this.fillType3=In(this.secondaryColor,{h:64}),this.fillType4=In(this.primaryColor,{h:-64}),this.fillType5=In(this.secondaryColor,{h:-64}),this.fillType6=In(this.primaryColor,{h:128}),this.fillType7=In(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||In(this.primaryColor,{h:30}),this.cScale4=this.cScale4||In(this.primaryColor,{h:60}),this.cScale5=this.cScale5||In(this.primaryColor,{h:90}),this.cScale6=this.cScale6||In(this.primaryColor,{h:120}),this.cScale7=this.cScale7||In(this.primaryColor,{h:150}),this.cScale8=this.cScale8||In(this.primaryColor,{h:210}),this.cScale9=this.cScale9||In(this.primaryColor,{h:270}),this.cScale10=this.cScale10||In(this.primaryColor,{h:300}),this.cScale11=this.cScale11||In(this.primaryColor,{h:330});for(let R=0;R{this[d]=a[d]}),this.updateColors(),u.forEach(d=>{this[d]=a[d]})}};const dBt=i=>{const a=new fBt;return a.calculate(i),a};let gBt=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=In(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=In(this.primaryColor,{h:-160}),this.primaryBorderColor=Lp(this.primaryColor,this.darkMode),this.secondaryBorderColor=Lp(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Lp(this.tertiaryColor,this.darkMode),this.primaryTextColor=Gi(this.primaryColor),this.secondaryTextColor=Gi(this.secondaryColor),this.tertiaryTextColor=Gi(this.tertiaryColor),this.lineColor=Gi(this.background),this.textColor=Gi(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#e8e8e8",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=_C(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){var a,u,d,p,v,b,y,E,_,A,P;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||In(this.primaryColor,{h:30}),this.cScale4=this.cScale4||In(this.primaryColor,{h:60}),this.cScale5=this.cScale5||In(this.primaryColor,{h:90}),this.cScale6=this.cScale6||In(this.primaryColor,{h:120}),this.cScale7=this.cScale7||In(this.primaryColor,{h:150}),this.cScale8=this.cScale8||In(this.primaryColor,{h:210}),this.cScale9=this.cScale9||In(this.primaryColor,{h:270}),this.cScale10=this.cScale10||In(this.primaryColor,{h:300}),this.cScale11=this.cScale11||In(this.primaryColor,{h:330}),this["cScalePeer1"]=this["cScalePeer1"]||ba(this.secondaryColor,45),this["cScalePeer2"]=this["cScalePeer2"]||ba(this.tertiaryColor,40);for(let R=0;R{this[d]=a[d]}),this.updateColors(),u.forEach(d=>{this[d]=a[d]})}};const S2e=i=>{const a=new gBt;return a.calculate(i),a};let pBt=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=Ws("#cde498",10),this.primaryBorderColor=Lp(this.primaryColor,this.darkMode),this.secondaryBorderColor=Lp(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Lp(this.tertiaryColor,this.darkMode),this.primaryTextColor=Gi(this.primaryColor),this.secondaryTextColor=Gi(this.secondaryColor),this.tertiaryTextColor=Gi(this.primaryColor),this.lineColor=Gi(this.background),this.textColor=Gi(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var a,u,d,p,v,b,y,E,_,A,P;this.actorBorder=ba(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||In(this.primaryColor,{h:30}),this.cScale4=this.cScale4||In(this.primaryColor,{h:60}),this.cScale5=this.cScale5||In(this.primaryColor,{h:90}),this.cScale6=this.cScale6||In(this.primaryColor,{h:120}),this.cScale7=this.cScale7||In(this.primaryColor,{h:150}),this.cScale8=this.cScale8||In(this.primaryColor,{h:210}),this.cScale9=this.cScale9||In(this.primaryColor,{h:270}),this.cScale10=this.cScale10||In(this.primaryColor,{h:300}),this.cScale11=this.cScale11||In(this.primaryColor,{h:330}),this["cScalePeer1"]=this["cScalePeer1"]||ba(this.secondaryColor,45),this["cScalePeer2"]=this["cScalePeer2"]||ba(this.tertiaryColor,40);for(let R=0;R{this[d]=a[d]}),this.updateColors(),u.forEach(d=>{this[d]=a[d]})}};const bBt=i=>{const a=new pBt;return a.calculate(i),a};class mBt{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=Ws(this.contrast,55),this.background="#ffffff",this.tertiaryColor=In(this.primaryColor,{h:-160}),this.primaryBorderColor=Lp(this.primaryColor,this.darkMode),this.secondaryBorderColor=Lp(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Lp(this.tertiaryColor,this.darkMode),this.primaryTextColor=Gi(this.primaryColor),this.secondaryTextColor=Gi(this.secondaryColor),this.tertiaryTextColor=Gi(this.tertiaryColor),this.lineColor=Gi(this.background),this.textColor=Gi(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var a,u,d,p,v,b,y,E,_,A,P;this.secondBkg=Ws(this.contrast,55),this.border2=this.contrast,this.actorBorder=Ws(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let R=0;R{this[d]=a[d]}),this.updateColors(),u.forEach(d=>{this[d]=a[d]})}}const C7={base:{getThemeVariables:hBt},dark:{getThemeVariables:dBt},default:{getThemeVariables:S2e},forest:{getThemeVariables:bBt},neutral:{getThemeVariables:i=>{const a=new mBt;return a.calculate(i),a}}},S7={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},theme:"default",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","maxEdges"],legacyMathML:!1,deterministicIds:!1,fontSize:16},JRe={...S7,deterministicIDSeed:void 0,themeCSS:void 0,themeVariables:C7.default.getThemeVariables(),sequence:{...S7.sequence,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{...S7.gantt,tickInterval:void 0,useWidth:void 0},c4:{...S7.c4,useWidth:void 0,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}}},pie:{...S7.pie,useWidth:984},xyChart:{...S7.xyChart,useWidth:void 0},requirement:{...S7.requirement,useWidth:void 0},gitGraph:{...S7.gitGraph,useMaxWidth:!1},sankey:{...S7.sankey,useMaxWidth:!1}},ZRe=(i,a="")=>Object.keys(i).reduce((u,d)=>Array.isArray(i[d])?u:typeof i[d]=="object"&&i[d]!==null?[...u,a+d,...ZRe(i[d],"")]:[...u,a+d],[]),vBt=new Set(ZRe(JRe,"")),nh=JRe,IX=i=>{if(Xe.debug("sanitizeDirective called with",i),!(typeof i!="object"||i==null)){if(Array.isArray(i)){i.forEach(a=>IX(a));return}for(const a of Object.keys(i)){if(Xe.debug("Checking key",a),a.startsWith("__")||a.includes("proto")||a.includes("constr")||!vBt.has(a)||i[a]==null){Xe.debug("sanitize deleting key: ",a),delete i[a];continue}if(typeof i[a]=="object"){Xe.debug("sanitizing object",a),IX(i[a]);continue}const u=["themeCSS","fontFamily","altFontFamily"];for(const d of u)a.includes(d)&&(Xe.debug("sanitizing css option",a),i[a]=eje(i[a]))}if(i.themeVariables)for(const a of Object.keys(i.themeVariables)){const u=i.themeVariables[a];u!=null&&u.match&&!u.match(/^[\d "#%(),.;A-Za-z]+$/)&&(i.themeVariables[a]="")}Xe.debug("After sanitization",i)}},eje=i=>{let a=0,u=0;for(const d of i){if(a{for(const{id:a,detector:u,loader:d}of i)ije(a,u,d)},ije=(i,a,u)=>{mD[i]?Xe.error(`Detector with key ${i} already exists`):mD[i]={detector:a,loader:u},Xe.debug(`Detector with key ${i} added${u?" with loader":""}`)},yBt=i=>mD[i].loader,_2e=(i,a,{depth:u=2}={})=>{const d={depth:u};if(Array.isArray(a)&&!Array.isArray(i))return a.forEach(p=>_2e(i,p,d)),i;if(Array.isArray(a)&&Array.isArray(i))return a.forEach(p=>{i.includes(p)||i.push(p)}),i;if(i==null||u<=0)return i!=null&&typeof i=="object"&&typeof a=="object"?Object.assign(i,a):a;if(a!=null&&typeof i=="object"&&typeof a=="object"){const p=i;Object.entries(a).forEach(([v,b])=>{typeof b=="object"?(Object.hasOwn(i,v)||Object.defineProperty(i,v,{value:void 0,writable:!0,enumerable:!0,configurable:!0}),p[v]===void 0&&(p[v]=Array.isArray(b)?[]:{}),typeof p[v]=="object"&&(p[v]=_2e(p[v],b,{depth:u-1}))):typeof p[v]!="object"&&(Object.hasOwn(i,v)?p[v]=b:Object.defineProperty(i,v,{value:b,writable:!0,enumerable:!0,configurable:!0}))})}return i},Ud=_2e;var xBt=typeof global=="object"&&global&&global.Object===Object&&global;const sje=xBt;var kBt=typeof self=="object"&&self&&self.Object===Object&&self,TBt=sje||kBt||Function("return this")();const j3=TBt;var EBt=j3.Symbol;const zv=EBt;var aje=Object.prototype,CBt=aje.hasOwnProperty,SBt=aje.toString,nR=zv?zv.toStringTag:void 0;function _Bt(i){var a=CBt.call(i,nR),u=i[nR];try{i[nR]=void 0;var d=!0}catch{}var p=SBt.call(i);return d&&(a?i[nR]=u:delete i[nR]),p}var ABt=Object.prototype,LBt=ABt.toString;function MBt(i){return LBt.call(i)}var DBt="[object Null]",IBt="[object Undefined]",oje=zv?zv.toStringTag:void 0;function LC(i){return i==null?i===void 0?IBt:DBt:oje&&oje in Object(i)?_Bt(i):MBt(i)}function dm(i){var a=typeof i;return i!=null&&(a=="object"||a=="function")}var OBt="[object AsyncFunction]",NBt="[object Function]",PBt="[object GeneratorFunction]",BBt="[object Proxy]";function vD(i){if(!dm(i))return!1;var a=LC(i);return a==NBt||a==PBt||a==OBt||a==BBt}var FBt=j3["__core-js_shared__"];const A2e=FBt;var cje=function(){var i=/[^.]+$/.exec(A2e&&A2e.keys&&A2e.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}();function RBt(i){return!!cje&&cje in i}var jBt=Function.prototype,$Bt=jBt.toString;function MC(i){if(i!=null){try{return $Bt.call(i)}catch{}try{return i+""}catch{}}return""}var zBt=/[\\^$.*+?()[\]{}|]/g,qBt=/^\[object .+?Constructor\]$/,HBt=Function.prototype,UBt=Object.prototype,VBt=HBt.toString,GBt=UBt.hasOwnProperty,KBt=RegExp("^"+VBt.call(GBt).replace(zBt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function WBt(i){if(!dm(i)||RBt(i))return!1;var a=vD(i)?KBt:qBt;return a.test(MC(i))}function YBt(i,a){return i==null?void 0:i[a]}function DC(i,a){var u=YBt(i,a);return WBt(u)?u:void 0}var XBt=DC(Object,"create");const rR=XBt;function QBt(){this.__data__=rR?rR(null):{},this.size=0}function JBt(i){var a=this.has(i)&&delete this.__data__[i];return this.size-=a?1:0,a}var ZBt="__lodash_hash_undefined__",eFt=Object.prototype,tFt=eFt.hasOwnProperty;function nFt(i){var a=this.__data__;if(rR){var u=a[i];return u===ZBt?void 0:u}return tFt.call(a,i)?a[i]:void 0}var rFt=Object.prototype,iFt=rFt.hasOwnProperty;function sFt(i){var a=this.__data__;return rR?a[i]!==void 0:iFt.call(a,i)}var aFt="__lodash_hash_undefined__";function oFt(i,a){var u=this.__data__;return this.size+=this.has(i)?0:1,u[i]=rR&&a===void 0?aFt:a,this}function IC(i){var a=-1,u=i==null?0:i.length;for(this.clear();++a-1}function gFt(i,a){var u=this.__data__,d=NX(u,i);return d<0?(++this.size,u.push([i,a])):u[d][1]=a,this}function _7(i){var a=-1,u=i==null?0:i.length;for(this.clear();++a-1&&i%1==0&&i<=HFt}function y9(i){return i!=null&&O2e(i.length)&&!vD(i)}function xje(i){return V4(i)&&y9(i)}function UFt(){return!1}var kje=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Tje=kje&&typeof module=="object"&&module&&!module.nodeType&&module,VFt=Tje&&Tje.exports===kje,Eje=VFt?j3.Buffer:void 0,GFt=Eje?Eje.isBuffer:void 0,KFt=GFt||UFt;const kD=KFt;var WFt="[object Object]",YFt=Function.prototype,XFt=Object.prototype,Cje=YFt.toString,QFt=XFt.hasOwnProperty,JFt=Cje.call(Object);function Sje(i){if(!V4(i)||LC(i)!=WFt)return!1;var a=I2e(i);if(a===null)return!0;var u=QFt.call(a,"constructor")&&a.constructor;return typeof u=="function"&&u instanceof u&&Cje.call(u)==JFt}var ZFt="[object Arguments]",eRt="[object Array]",tRt="[object Boolean]",nRt="[object Date]",rRt="[object Error]",iRt="[object Function]",sRt="[object Map]",aRt="[object Number]",oRt="[object Object]",cRt="[object RegExp]",uRt="[object Set]",lRt="[object String]",hRt="[object WeakMap]",fRt="[object ArrayBuffer]",dRt="[object DataView]",gRt="[object Float32Array]",pRt="[object Float64Array]",bRt="[object Int8Array]",mRt="[object Int16Array]",vRt="[object Int32Array]",wRt="[object Uint8Array]",yRt="[object Uint8ClampedArray]",xRt="[object Uint16Array]",kRt="[object Uint32Array]",rh={};rh[gRt]=rh[pRt]=rh[bRt]=rh[mRt]=rh[vRt]=rh[wRt]=rh[yRt]=rh[xRt]=rh[kRt]=!0,rh[ZFt]=rh[eRt]=rh[fRt]=rh[tRt]=rh[dRt]=rh[nRt]=rh[rRt]=rh[iRt]=rh[sRt]=rh[aRt]=rh[oRt]=rh[cRt]=rh[uRt]=rh[lRt]=rh[hRt]=!1;function TRt(i){return V4(i)&&O2e(i.length)&&!!rh[LC(i)]}function $X(i){return function(a){return i(a)}}var _je=typeof exports=="object"&&exports&&!exports.nodeType&&exports,sR=_je&&typeof module=="object"&&module&&!module.nodeType&&module,ERt=sR&&sR.exports===_je,N2e=ERt&&sje.process,CRt=function(){try{var i=sR&&sR.require&&sR.require("util").types;return i||N2e&&N2e.binding&&N2e.binding("util")}catch{}}();const TD=CRt;var Aje=TD&&TD.isTypedArray,SRt=Aje?$X(Aje):TRt;const zX=SRt;function P2e(i,a){if(!(a==="constructor"&&typeof i[a]=="function")&&a!="__proto__")return i[a]}var _Rt=Object.prototype,ARt=_Rt.hasOwnProperty;function qX(i,a,u){var d=i[a];(!(ARt.call(i,a)&&wD(d,u))||u===void 0&&!(a in i))&&FX(i,a,u)}function aR(i,a,u,d){var p=!u;u||(u={});for(var v=-1,b=a.length;++v-1&&i%1==0&&i0){if(++a>=HRt)return arguments[0]}else a=0;return i.apply(void 0,arguments)}}var KRt=GRt(qRt);const Oje=KRt;function UX(i,a){return Oje(Ije(i,a,NC),i+"")}function oR(i,a,u){if(!dm(u))return!1;var d=typeof a;return(d=="number"?y9(u)&&HX(a,u.length):d=="string"&&a in u)?wD(u[a],i):!1}function WRt(i){return UX(function(a,u){var d=-1,p=u.length,v=p>1?u[p-1]:void 0,b=p>2?u[2]:void 0;for(v=i.length>3&&typeof v=="function"?(p--,v):void 0,b&&oR(u[0],u[1],b)&&(v=p<3?void 0:v,p=1),a=Object(a);++dy.args);IX(b),d=Ud(d,[...b])}else d=u.args;if(!d)return;let p=OX(i,a);const v="config";return d[v]!==void 0&&(p==="flowchart-v2"&&(p="flowchart"),d[p]=d[v],delete d[v]),d},Pje=function(i,a=null){try{const u=new RegExp(`[%]{2}(?![{]${QRt.source})(?=[}][%]{2}).* -`,"ig");i=i.trim().replace(u,"").replace(/'/gm,'"'),Xe.debug(`Detecting diagram directive${a!==null?" type:"+a:""} based on the text:${i}`);let d;const p=[];for(;(d=tR.exec(i))!==null;)if(d.index===tR.lastIndex&&tR.lastIndex++,d&&!a||a&&d[1]&&d[1].match(a)||a&&d[2]&&d[2].match(a)){const v=d[1]?d[1]:d[2],b=d[3]?d[3].trim():d[4]?JSON.parse(d[4].trim()):null;p.push({type:v,args:b})}return p.length===0?{type:i,args:null}:p.length===1?p[0]:p}catch(u){return Xe.error(`ERROR: ${u.message} - Unable to parse directive type: '${a}' based on the text: '${i}'`),{type:void 0,args:null}}},ZRt=function(i){return i.replace(tR,"")},ejt=function(i,a){for(const[u,d]of a.entries())if(d.match(i))return u;return-1};function qv(i,a){if(!i)return a;const u=`curve${i.charAt(0).toUpperCase()+i.slice(1)}`;return XRt[u]??a}function tjt(i,a){const u=i.trim();if(u)return a.securityLevel!=="loose"?b9.sanitizeUrl(u):u}const njt=(i,...a)=>{const u=i.split("."),d=u.length-1,p=u[d];let v=window;for(let b=0;b{u+=Bje(p,a),a=p});const d=u/2;return B2e(i,d)}function ijt(i){return i.length===1?i[0]:rjt(i)}const Fje=(i,a=2)=>{const u=Math.pow(10,a);return Math.round(i*u)/u},B2e=(i,a)=>{let u,d=a;for(const p of i){if(u){const v=Bje(p,u);if(v=1)return{x:p.x,y:p.y};if(b>0&&b<1)return{x:Fje((1-b)*u.x+b*p.x,5),y:Fje((1-b)*u.y+b*p.y,5)}}}u=p}throw new Error("Could not find a suitable point for the given distance")},sjt=(i,a,u)=>{Xe.info(`our points ${JSON.stringify(a)}`),a[0]!==u&&(a=a.reverse());const p=B2e(a,25),v=i?10:5,b=Math.atan2(a[0].y-p.y,a[0].x-p.x),y={x:0,y:0};return y.x=Math.sin(b)*v+(a[0].x+p.x)/2,y.y=-Math.cos(b)*v+(a[0].y+p.y)/2,y};function ajt(i,a,u){const d=structuredClone(u);Xe.info("our points",d),a!=="start_left"&&a!=="start_right"&&d.reverse();const p=25+i,v=B2e(d,p),b=10+i*.5,y=Math.atan2(d[0].y-v.y,d[0].x-v.x),E={x:0,y:0};return a==="start_left"?(E.x=Math.sin(y+Math.PI)*b+(d[0].x+v.x)/2,E.y=-Math.cos(y+Math.PI)*b+(d[0].y+v.y)/2):a==="end_right"?(E.x=Math.sin(y-Math.PI)*b+(d[0].x+v.x)/2-5,E.y=-Math.cos(y-Math.PI)*b+(d[0].y+v.y)/2-5):a==="end_left"?(E.x=Math.sin(y)*b+(d[0].x+v.x)/2-5,E.y=-Math.cos(y)*b+(d[0].y+v.y)/2-5):(E.x=Math.sin(y)*b+(d[0].x+v.x)/2,E.y=-Math.cos(y)*b+(d[0].y+v.y)/2),E}function gm(i){let a="",u="";for(const d of i)d!==void 0&&(d.startsWith("color:")||d.startsWith("text-align:")?u=u+d+";":a=a+d+";");return{style:a,labelStyle:u}}let Rje=0;const jje=()=>(Rje++,"id-"+Math.random().toString(36).substr(2,12)+"-"+Rje);function ojt(i){let a="";const u="0123456789abcdef",d=u.length;for(let p=0;pojt(i.length),cjt=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:""}},ujt=function(i,a){const u=a.text.replace(oi.lineBreakRegex," "),[,d]=PC(a.fontSize),p=i.append("text");p.attr("x",a.x),p.attr("y",a.y),p.style("text-anchor",a.anchor),p.style("font-family",a.fontFamily),p.style("font-size",d),p.style("font-weight",a.fontWeight),p.attr("fill",a.fill),a.class!==void 0&&p.attr("class",a.class);const v=p.append("tspan");return v.attr("x",a.x+a.textMargin*2),v.attr("fill",a.fill),v.text(u),p},zje=yD((i,a,u)=>{if(!i||(u=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
"},u),oi.lineBreakRegex.test(i)))return i;const d=i.split(" "),p=[];let v="";return d.forEach((b,y)=>{const E=G4(`${b} `,u),_=G4(v,u);if(E>a){const{hyphenatedStrings:R,remainingWord:B}=ljt(b,a,"-",u);p.push(v,...R),v=B}else _+E>=a?(p.push(v),v=b):v=[v,b].filter(Boolean).join(" ");y+1===d.length&&p.push(v)}),p.filter(b=>b!=="").join(u.joinWith)},(i,a,u)=>`${i}${a}${u.fontSize}${u.fontWeight}${u.fontFamily}${u.joinWith}`),ljt=yD((i,a,u="-",d)=>{d=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},d);const p=[...i],v=[];let b="";return p.forEach((y,E)=>{const _=`${b}${y}`;if(G4(_,d)>=a){const P=E+1,R=p.length===P,B=`${_}${u}`;v.push(R?_:B),b=""}else b=_}),{hyphenatedStrings:v,remainingWord:b}},(i,a,u="-",d)=>`${i}${a}${u}${d.fontSize}${d.fontWeight}${d.fontFamily}`);function F2e(i,a){return R2e(i,a).height}function G4(i,a){return R2e(i,a).width}const R2e=yD((i,a)=>{const{fontSize:u=12,fontFamily:d="Arial",fontWeight:p=400}=a;if(!i)return{width:0,height:0};const[,v]=PC(u),b=["sans-serif",d],y=i.split(oi.lineBreakRegex),E=[],_=Dr("body");if(!_.remove)return{width:0,height:0,lineHeight:0};const A=_.append("svg");for(const R of b){let B=0;const j={width:0,height:0,lineHeight:0};for(const W of y){const ee=cjt();ee.text=W||Nje;const ie=ujt(A,ee).style("font-size",v).style("font-weight",p).style("font-family",R),oe=(ie._groups||ie)[0][0].getBBox();if(oe.width===0&&oe.height===0)throw new Error("svg element not in render tree");j.width=Math.round(Math.max(j.width,oe.width)),B=Math.round(oe.height),j.height+=B,j.lineHeight=Math.round(Math.max(j.lineHeight,B))}E.push(j)}A.remove();const P=isNaN(E[1].height)||isNaN(E[1].width)||isNaN(E[1].lineHeight)||E[0].height>E[1].height&&E[0].width>E[1].width&&E[0].lineHeight>E[1].lineHeight?0:1;return E[P]},(i,a)=>`${i}${a.fontSize}${a.fontWeight}${a.fontFamily}`);class hjt{constructor(a=!1,u){this.count=0,this.count=u?u.length:0,this.next=a?()=>this.count++:()=>Date.now()}}let GX;const fjt=function(i){return GX=GX||document.createElement("div"),i=escape(i).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),GX.innerHTML=i,unescape(GX.textContent)};function qje(i){return"str"in i}const djt=(i,a,u,d)=>{var v;if(!d)return;const p=(v=i.node())==null?void 0:v.getBBox();p&&i.append("text").text(d).attr("x",p.x+p.width/2).attr("y",-u).attr("class",a)},PC=i=>{if(typeof i=="number")return[i,i+"px"];const a=parseInt(i??"",10);return Number.isNaN(a)?[void 0,void 0]:i===String(a)?[a,i+"px"]:[a,i]};function cR(i,a){return VX({},i,a)}const So={assignWithDepth:Ud,wrapLabel:zje,calculateTextHeight:F2e,calculateTextWidth:G4,calculateTextDimensions:R2e,cleanAndMerge:cR,detectInit:JRt,detectDirective:Pje,isSubstringInArray:ejt,interpolateToCurve:qv,calcLabelPosition:ijt,calcCardinalityPosition:sjt,calcTerminalLabelPosition:ajt,formatUrl:tjt,getStylesFromArray:gm,generateId:jje,random:$je,runFunc:njt,entityDecode:fjt,insertTitle:djt,parseFontSize:PC,InitIDGenerator:hjt},gjt=function(i){let a=i;return a=a.replace(/style.*:\S*#.*;/g,function(u){return u.substring(0,u.length-1)}),a=a.replace(/classDef.*:\S*#.*;/g,function(u){return u.substring(0,u.length-1)}),a=a.replace(/#\w+;/g,function(u){const d=u.substring(1,u.length-1);return/^\+?\d+$/.test(d)?"fl°°"+d+"¶ß":"fl°"+d+"¶ß"}),a},uR=function(i){return i.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")};var j2e="comm",Hje="rule",Uje="decl",pjt="@media",bjt="@import",mjt="@supports",$2e="@keyframes",Vje="@layer",Gje=Math.abs,z2e=String.fromCharCode;function Kje(i){return i.trim()}function KX(i,a,u){return i.replace(a,u)}function vjt(i,a,u){return i.indexOf(a,u)}function lR(i,a){return i.charCodeAt(a)|0}function hR(i,a,u){return i.slice(a,u)}function L7(i){return i.length}function Wje(i){return i.length}function WX(i,a){return a.push(i),i}var YX=1,CD=1,Yje=0,Hv=0,I0=0,SD="";function q2e(i,a,u,d,p,v,b,y){return{value:i,root:a,parent:u,type:d,props:p,children:v,line:YX,column:CD,length:b,return:"",siblings:y}}function wjt(){return I0}function yjt(){return I0=Hv>0?lR(SD,--Hv):0,CD--,I0===10&&(CD=1,YX--),I0}function z3(){return I0=Hv2||H2e(I0)>3?"":" "}function Ejt(i,a){for(;--a&&z3()&&!(I0<48||I0>102||I0>57&&I0<65||I0>70&&I0<97););return QX(i,XX()+(a<6&&BC()==32&&z3()==32))}function V2e(i){for(;z3();)switch(I0){case i:return Hv;case 34:case 39:i!==34&&i!==39&&V2e(I0);break;case 40:i===41&&V2e(i);break;case 92:z3();break}return Hv}function Cjt(i,a){for(;z3()&&i+I0!==47+10;)if(i+I0===42+42&&BC()===47)break;return"/*"+QX(a,Hv-1)+"*"+z2e(i===47?i:z3())}function Sjt(i){for(;!H2e(BC());)z3();return QX(i,Hv)}function _jt(i){return kjt(JX("",null,null,null,[""],i=xjt(i),0,[0],i))}function JX(i,a,u,d,p,v,b,y,E){for(var _=0,A=0,P=b,R=0,B=0,j=0,W=1,ee=1,ie=1,oe=0,be="",ge=p,ae=v,ne=d,se=be;ee;)switch(j=oe,oe=z3()){case 40:if(j!=108&&lR(se,P-1)==58){vjt(se+=KX(U2e(oe),"&","&\f"),"&\f",Gje(_?y[_-1]:0))!=-1&&(ie=-1);break}case 34:case 39:case 91:se+=U2e(oe);break;case 9:case 10:case 13:case 32:se+=Tjt(j);break;case 92:se+=Ejt(XX()-1,7);continue;case 47:switch(BC()){case 42:case 47:WX(Ajt(Cjt(z3(),XX()),a,u,E),E);break;default:se+="/"}break;case 123*W:y[_++]=L7(se)*ie;case 125*W:case 59:case 0:switch(oe){case 0:case 125:ee=0;case 59+A:ie==-1&&(se=KX(se,/\f/g,"")),B>0&&L7(se)-P&&WX(B>32?Qje(se+";",d,u,P-1,E):Qje(KX(se," ","")+";",d,u,P-2,E),E);break;case 59:se+=";";default:if(WX(ne=Xje(se,a,u,_,A,p,y,be,ge=[],ae=[],P,v),v),oe===123)if(A===0)JX(se,a,ne,ne,ge,v,P,y,ae);else switch(R===99&&lR(se,3)===110?100:R){case 100:case 108:case 109:case 115:JX(i,ne,ne,d&&WX(Xje(i,ne,ne,0,0,p,y,be,p,ge=[],P,ae),ae),p,ae,P,y,d?ge:ae);break;default:JX(se,ne,ne,ne,[""],ae,0,y,ae)}}_=A=B=0,W=ie=1,be=se="",P=b;break;case 58:P=1+L7(se),B=j;default:if(W<1){if(oe==123)--W;else if(oe==125&&W++==0&&yjt()==125)continue}switch(se+=z2e(oe),oe*W){case 38:ie=A>0?1:(se+="\f",-1);break;case 44:y[_++]=(L7(se)-1)*ie,ie=1;break;case 64:BC()===45&&(se+=U2e(z3())),R=BC(),A=P=L7(be=se+=Sjt(XX())),oe++;break;case 45:j===45&&L7(se)==2&&(W=0)}}return v}function Xje(i,a,u,d,p,v,b,y,E,_,A,P){for(var R=p-1,B=p===0?v:[""],j=Wje(B),W=0,ee=0,ie=0;W0?B[oe]+" "+be:KX(be,/&\f/g,B[oe])))&&(E[ie++]=ge);return q2e(i,a,u,p===0?Hje:y,E,_,A,P)}function Ajt(i,a,u,d){return q2e(i,a,u,j2e,z2e(wjt()),hR(i,2,-2),0,d)}function Qje(i,a,u,d,p){return q2e(i,a,u,Uje,hR(i,0,d),hR(i,d+1,-1),d,p)}function G2e(i,a){for(var u="",d=0;d{let u=Ud({},i),d={};for(const p of a)n$e(p),d=Ud(d,p);if(u=Ud(u,d),d.theme&&d.theme in C7){const p=Ud({},Zje),v=Ud(p.themeVariables||{},d.themeVariables);u.theme&&u.theme in C7&&(u.themeVariables=C7[u.theme].getThemeVariables(v))}return fR=u,Fjt(fR),fR},Djt=i=>(G2=Ud({},_D),G2=Ud(G2,i),i.theme&&C7[i.theme]&&(G2.themeVariables=C7[i.theme].getThemeVariables(i.themeVariables)),dR(G2,AD),G2),Ijt=i=>{Zje=Ud({},i)},Ojt=i=>(G2=Ud(G2,i),dR(G2,AD),G2),e$e=()=>Ud({},G2),t$e=i=>(dR(fR,[i]),mh()),mh=()=>Ud({},fR),n$e=i=>{i&&(["secure",...G2.secure??[]].forEach(a=>{Object.hasOwn(i,a)&&(Xe.debug(`Denied attempt to modify a secure key ${a}`,i[a]),delete i[a])}),Object.keys(i).forEach(a=>{a.startsWith("__")&&delete i[a]}),Object.keys(i).forEach(a=>{typeof i[a]=="string"&&(i[a].includes("<")||i[a].includes(">")||i[a].includes("url(data:"))&&delete i[a],typeof i[a]=="object"&&n$e(i[a])}))},Njt=i=>{IX(i),i.fontFamily&&(!i.themeVariables||!i.themeVariables.fontFamily)&&(i.themeVariables={fontFamily:i.fontFamily}),AD.push(i),dR(G2,AD)},ZX=(i=G2)=>{AD=[],dR(i,AD)},Pjt={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},r$e={},Bjt=i=>{r$e[i]||(Xe.warn(Pjt[i]),r$e[i]=!0)},Fjt=i=>{i&&(i.lazyLoadedDiagrams||i.loadExternalDiagramsAtStartup)&&Bjt("LAZY_LOAD_DEPRECATED")},i$e="c4",Rjt={id:i$e,detector:i=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>$Vt);return{id:i$e,diagram:i}}},s$e="flowchart",jjt={id:s$e,detector:(i,a)=>{var u,d;return((u=a==null?void 0:a.flowchart)==null?void 0:u.defaultRenderer)==="dagre-wrapper"||((d=a==null?void 0:a.flowchart)==null?void 0:d.defaultRenderer)==="elk"?!1:/^\s*graph/.test(i)},loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>Wen);return{id:s$e,diagram:i}}},a$e="flowchart-v2",$jt={id:a$e,detector:(i,a)=>{var u,d,p;return((u=a==null?void 0:a.flowchart)==null?void 0:u.defaultRenderer)==="dagre-d3"||((d=a==null?void 0:a.flowchart)==null?void 0:d.defaultRenderer)==="elk"?!1:/^\s*graph/.test(i)&&((p=a==null?void 0:a.flowchart)==null?void 0:p.defaultRenderer)==="dagre-wrapper"?!0:/^\s*flowchart/.test(i)},loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>Yen);return{id:a$e,diagram:i}}},o$e="er",zjt={id:o$e,detector:i=>/^\s*erDiagram/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>xtn);return{id:o$e,diagram:i}}},c$e="gitGraph",qjt={id:c$e,detector:i=>/^\s*gitGraph/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>Ktn);return{id:c$e,diagram:i}}},u$e="gantt",Hjt={id:u$e,detector:i=>/^\s*gantt/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>Bnn);return{id:u$e,diagram:i}}},l$e="info",Ujt={id:l$e,detector:i=>/^\s*info/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>Rnn);return{id:l$e,diagram:i}}},h$e="pie",Vjt={id:h$e,detector:i=>/^\s*pie/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>Unn);return{id:h$e,diagram:i}}},f$e="quadrantChart",Gjt={id:f$e,detector:i=>/^\s*quadrantChart/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>arn);return{id:f$e,diagram:i}}},d$e="xychart",Kjt={id:d$e,detector:i=>/^\s*xychart-beta/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>Mrn);return{id:d$e,diagram:i}}},g$e="requirement",Wjt={id:g$e,detector:i=>/^\s*requirement(Diagram)?/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>$rn);return{id:g$e,diagram:i}}},p$e="sequence",Yjt={id:p$e,detector:i=>/^\s*sequenceDiagram/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>Hin);return{id:p$e,diagram:i}}},b$e="class",Xjt={id:b$e,detector:(i,a)=>{var u;return((u=a==null?void 0:a.class)==null?void 0:u.defaultRenderer)==="dagre-wrapper"?!1:/^\s*classDiagram/.test(i)},loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>dsn);return{id:b$e,diagram:i}}},m$e="classDiagram",Qjt={id:m$e,detector:(i,a)=>{var u;return/^\s*classDiagram/.test(i)&&((u=a==null?void 0:a.class)==null?void 0:u.defaultRenderer)==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(i)},loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>wsn);return{id:m$e,diagram:i}}},v$e="state",Jjt={id:v$e,detector:(i,a)=>{var u;return((u=a==null?void 0:a.state)==null?void 0:u.defaultRenderer)==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(i)},loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>aan);return{id:v$e,diagram:i}}},w$e="stateDiagram",Zjt={id:w$e,detector:(i,a)=>{var u;return!!(/^\s*stateDiagram-v2/.test(i)||/^\s*stateDiagram/.test(i)&&((u=a==null?void 0:a.state)==null?void 0:u.defaultRenderer)==="dagre-wrapper")},loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>Can);return{id:w$e,diagram:i}}},y$e="journey",e$t={id:y$e,detector:i=>/^\s*journey/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>Uan);return{id:y$e,diagram:i}}},t$t=function(i,a){for(let u of a)i.attr(u[0],u[1])},n$t=function(i,a,u){let d=new Map;return u?(d.set("width","100%"),d.set("style",`max-width: ${a}px;`)):(d.set("height",i),d.set("width",a)),d},Fg=function(i,a,u,d){const p=n$t(a,u,d);t$t(i,p)},x9=function(i,a,u,d){const p=a.node().getBBox(),v=p.width,b=p.height;Xe.info(`SVG bounds: ${v}x${b}`,p);let y=0,E=0;Xe.info(`Graph bounds: ${y}x${E}`,i),y=v+u*2,E=b+u*2,Xe.info(`Calculated bounds: ${y}x${E}`),Fg(a,E,y,d);const _=`${p.x-u} ${p.y-u} ${p.width+2*u} ${p.height+2*u}`;a.attr("viewBox",_)},eQ={};function x$e(i){return[...i.cssRules].map(a=>a.cssText).join(` -`)}const r$t=(i,a,u)=>{let d="";return i in eQ&&eQ[i]?d=eQ[i](u):Xe.warn(`No theme found for ${i}`),`& { - font-family: ${u.fontFamily}; - font-size: ${u.fontSize}; - fill: ${u.textColor} - } - - /* Classes common for multiple diagrams */ - - & .error-icon { - fill: ${u.errorBkgColor}; - } - & .error-text { - fill: ${u.errorTextColor}; - stroke: ${u.errorTextColor}; - } - - & .edge-thickness-normal { - stroke-width: 2px; - } - & .edge-thickness-thick { - stroke-width: 3.5px - } - & .edge-pattern-solid { - stroke-dasharray: 0; - } - - & .edge-pattern-dashed{ - stroke-dasharray: 3; - } - .edge-pattern-dotted { - stroke-dasharray: 2; - } - - & .marker { - fill: ${u.lineColor}; - stroke: ${u.lineColor}; - } - & .marker.cross { - stroke: ${u.lineColor}; - } - - & svg { - font-family: ${u.fontFamily}; - font-size: ${u.fontSize}; - } - - ${d} - - ${a} -`},i$t=(i,a)=>{a!==void 0&&(eQ[i]=a)},s$t=r$t;let K2e="",W2e="",Y2e="";const X2e=i=>bh(i,mh()),Rg=()=>{K2e="",Y2e="",W2e=""},jg=i=>{K2e=X2e(i).replace(/^\s+/g,"")},Mp=()=>K2e,Dp=i=>{Y2e=X2e(i).replace(/\n\s+/g,` -`)},Ip=()=>Y2e,pm=i=>{W2e=X2e(i)},Op=()=>W2e,k$e=Object.freeze(Object.defineProperty({__proto__:null,clear:Rg,getAccDescription:Ip,getAccTitle:Mp,getDiagramTitle:Op,setAccDescription:Dp,setAccTitle:jg,setDiagramTitle:pm},Symbol.toStringTag,{value:"Module"})),a$t=Xe,o$t=Spe,qt=mh,c$t=t$e,T$e=_D,u$t=i=>bh(i,qt()),E$e=x9,l$t=()=>k$e,tQ={},nQ=(i,a,u)=>{var d;if(tQ[i])throw new Error(`Diagram ${i} already registered.`);tQ[i]=a,u&&ije(i,u),i$t(i,a.styles),(d=a.injectUtils)==null||d.call(a,a$t,o$t,qt,u$t,E$e,l$t(),()=>{})},Q2e=i=>{if(i in tQ)return tQ[i];throw new h$t(i)};class h$t extends Error{constructor(a){super(`Diagram ${a} not found.`)}}const gR=i=>{var p;const{securityLevel:a}=qt();let u=Dr("body");if(a==="sandbox"){const b=((p=Dr(`#i${i}`).node())==null?void 0:p.contentDocument)??document;u=Dr(b.body)}return u.select(`#${i}`)},C$e={draw:(i,a,u)=>{Xe.debug(`rendering svg for syntax error -`);const d=gR(a),p=d.append("g");d.attr("viewBox","0 0 2412 512"),Fg(d,100,512,!0),p.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"),p.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"),p.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"),p.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),p.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"),p.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"),p.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"),p.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${u}`)}},f$t=C$e,d$t={db:{},renderer:C$e,parser:{parser:{yy:{}},parse:()=>{}}},S$e="flowchart-elk",g$t={id:S$e,detector:(i,a)=>{var u;return!!(/^\s*flowchart-elk/.test(i)||/^\s*flowchart|graph/.test(i)&&((u=a==null?void 0:a.flowchart)==null?void 0:u.defaultRenderer)==="elk")},loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>aon);return{id:S$e,diagram:i}}},_$e="timeline",p$t={id:_$e,detector:i=>/^\s*timeline/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>Con);return{id:_$e,diagram:i}}},A$e="mindmap",b$t={id:A$e,detector:i=>/^\s*mindmap/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>Zon);return{id:A$e,diagram:i}}},L$e="sankey",m$t={id:L$e,detector:i=>/^\s*sankey-beta/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>Lcn);return{id:L$e,diagram:i}}},M$e="block",v$t={id:M$e,detector:i=>/^\s*block-beta/.test(i),loader:async()=>{const{diagram:i}=await Promise.resolve().then(()=>Qcn);return{id:M$e,diagram:i}}};let D$e=!1;const J2e=()=>{D$e||(D$e=!0,nQ("error",d$t,i=>i.toLowerCase().trim()==="error"),nQ("---",{db:{clear:()=>{}},styles:{},renderer:{draw:()=>{}},parser:{parser:{yy:{}},parse:()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")}},init:()=>null},i=>i.toLowerCase().trimStart().startsWith("---")),rje(Rjt,Qjt,Xjt,zjt,Hjt,Ujt,Vjt,Wjt,Yjt,g$t,$jt,jjt,b$t,p$t,qjt,Zjt,Jjt,e$t,Gjt,m$t,Kjt,v$t))};class I$e{constructor(a,u={}){this.text=a,this.metadata=u,this.type="graph",this.text=gjt(a),this.text+=` -`;const d=mh();try{this.type=OX(a,d)}catch(v){this.type="error",this.detectError=v}const p=Q2e(this.type);Xe.debug("Type "+this.type),this.db=p.db,this.renderer=p.renderer,this.parser=p.parser,this.parser.parser.yy=this.db,this.init=p.init,this.parse()}parse(){var u,d,p,v,b;if(this.detectError)throw this.detectError;(d=(u=this.db).clear)==null||d.call(u);const a=mh();(p=this.init)==null||p.call(this,a),this.metadata.title&&((b=(v=this.db).setDiagramTitle)==null||b.call(v,this.metadata.title)),this.parser.parse(this.text)}async render(a,u){await this.renderer.draw(this.text,a,u,this)}getParser(){return this.parser}getType(){return this.type}}const w$t=async(i,a={})=>{const u=OX(i,mh());try{Q2e(u)}catch{const p=yBt(u);if(!p)throw new nje(`Diagram ${u} not found.`);const{id:v,diagram:b}=await p();nQ(v,b)}return new I$e(i,a)};let O$e=[];const y$t=()=>{O$e.forEach(i=>{i()}),O$e=[]};var x$t=mje(Object.keys,Object);const k$t=x$t;var T$t=Object.prototype,E$t=T$t.hasOwnProperty;function N$e(i){if(!jX(i))return k$t(i);var a=[];for(var u in Object(i))E$t.call(i,u)&&u!="constructor"&&a.push(u);return a}var C$t=DC(j3,"DataView");const Z2e=C$t;var S$t=DC(j3,"Promise");const ebe=S$t;var _$t=DC(j3,"Set");const LD=_$t;var A$t=DC(j3,"WeakMap");const tbe=A$t;var P$e="[object Map]",L$t="[object Object]",B$e="[object Promise]",F$e="[object Set]",R$e="[object WeakMap]",j$e="[object DataView]",M$t=MC(Z2e),D$t=MC(iR),I$t=MC(ebe),O$t=MC(LD),N$t=MC(tbe),FC=LC;(Z2e&&FC(new Z2e(new ArrayBuffer(1)))!=j$e||iR&&FC(new iR)!=P$e||ebe&&FC(ebe.resolve())!=B$e||LD&&FC(new LD)!=F$e||tbe&&FC(new tbe)!=R$e)&&(FC=function(i){var a=LC(i),u=a==L$t?i.constructor:void 0,d=u?MC(u):"";if(d)switch(d){case M$t:return j$e;case D$t:return P$e;case I$t:return B$e;case O$t:return F$e;case N$t:return R$e}return a});const MD=FC;var P$t="[object Map]",B$t="[object Set]",F$t=Object.prototype,R$t=F$t.hasOwnProperty;function pR(i){if(i==null)return!0;if(y9(i)&&(D0(i)||typeof i=="string"||typeof i.splice=="function"||kD(i)||zX(i)||xD(i)))return!i.length;var a=MD(i);if(a==P$t||a==B$t)return!i.size;if(jX(i))return!N$e(i).length;for(var u in i)if(R$t.call(i,u))return!1;return!0}const j$t="graphics-document document";function $$t(i,a){i.attr("role",j$t),a!==""&&i.attr("aria-roledescription",a)}function z$t(i,a,u,d){if(i.insert!==void 0){if(u){const p=`chart-desc-${d}`;i.attr("aria-describedby",p),i.insert("desc",":first-child").attr("id",p).text(u)}if(a){const p=`chart-title-${d}`;i.attr("aria-labelledby",p),i.insert("title",":first-child").attr("id",p).text(a)}}}const q$t=i=>i.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart();/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function $$e(i){return typeof i>"u"||i===null}function H$t(i){return typeof i=="object"&&i!==null}function U$t(i){return Array.isArray(i)?i:$$e(i)?[]:[i]}function V$t(i,a){var u,d,p,v;if(a)for(v=Object.keys(a),u=0,d=v.length;uy&&(v=" ... ",a=d-y+v.length),u-d>y&&(b=" ...",u=d+y-b.length),{str:v+i.slice(a,u).replace(/\t/g,"→")+b,pos:d-a+v.length}}function rbe(i,a){return Np.repeat(" ",a-i.length)+i}function ezt(i,a){if(a=Object.create(a||null),!i.buffer)return null;a.maxLength||(a.maxLength=79),typeof a.indent!="number"&&(a.indent=1),typeof a.linesBefore!="number"&&(a.linesBefore=3),typeof a.linesAfter!="number"&&(a.linesAfter=2);for(var u=/\r?\n|\r|\0/g,d=[0],p=[],v,b=-1;v=u.exec(i.buffer);)p.push(v.index),d.push(v.index+v[0].length),i.position<=v.index&&b<0&&(b=d.length-2);b<0&&(b=d.length-1);var y="",E,_,A=Math.min(i.line+a.linesAfter,p.length).toString().length,P=a.maxLength-(a.indent+A+3);for(E=1;E<=a.linesBefore&&!(b-E<0);E++)_=nbe(i.buffer,d[b-E],p[b-E],i.position-(d[b]-d[b-E]),P),y=Np.repeat(" ",a.indent)+rbe((i.line-E+1).toString(),A)+" | "+_.str+` -`+y;for(_=nbe(i.buffer,d[b],p[b],i.position,P),y+=Np.repeat(" ",a.indent)+rbe((i.line+1).toString(),A)+" | "+_.str+` -`,y+=Np.repeat("-",a.indent+A+3+_.pos)+`^ -`,E=1;E<=a.linesAfter&&!(b+E>=p.length);E++)_=nbe(i.buffer,d[b+E],p[b+E],i.position-(d[b]-d[b+E]),P),y+=Np.repeat(" ",a.indent)+rbe((i.line+E+1).toString(),A)+" | "+_.str+` -`;return y.replace(/\n$/,"")}var tzt=ezt,nzt=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],rzt=["scalar","sequence","mapping"];function izt(i){var a={};return i!==null&&Object.keys(i).forEach(function(u){i[u].forEach(function(d){a[String(d)]=u})}),a}function szt(i,a){if(a=a||{},Object.keys(a).forEach(function(u){if(nzt.indexOf(u)===-1)throw new M7('Unknown option "'+u+'" is met in definition of "'+i+'" YAML type.')}),this.options=a,this.tag=i,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(u){return u},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.representName=a.representName||null,this.defaultStyle=a.defaultStyle||null,this.multi=a.multi||!1,this.styleAliases=izt(a.styleAliases||null),rzt.indexOf(this.kind)===-1)throw new M7('Unknown kind "'+this.kind+'" is specified for "'+i+'" YAML type.')}var $g=szt;function q$e(i,a){var u=[];return i[a].forEach(function(d){var p=u.length;u.forEach(function(v,b){v.tag===d.tag&&v.kind===d.kind&&v.multi===d.multi&&(p=b)}),u[p]=d}),u}function azt(){var i={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},a,u;function d(p){p.multi?(i.multi[p.kind].push(p),i.multi.fallback.push(p)):i[p.kind][p.tag]=i.fallback[p.tag]=p}for(a=0,u=arguments.length;a=0?"0b"+i.toString(2):"-0b"+i.toString(2).slice(1)},octal:function(i){return i>=0?"0o"+i.toString(8):"-0o"+i.toString(8).slice(1)},decimal:function(i){return i.toString(10)},hexadecimal:function(i){return i>=0?"0x"+i.toString(16).toUpperCase():"-0x"+i.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),_zt=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Azt(i){return!(i===null||!_zt.test(i)||i[i.length-1]==="_")}function Lzt(i){var a,u;return a=i.replace(/_/g,"").toLowerCase(),u=a[0]==="-"?-1:1,"+-".indexOf(a[0])>=0&&(a=a.slice(1)),a===".inf"?u===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:a===".nan"?NaN:u*parseFloat(a,10)}var Mzt=/^[-+]?[0-9]+e/;function Dzt(i,a){var u;if(isNaN(i))switch(a){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===i)switch(a){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===i)switch(a){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Np.isNegativeZero(i))return"-0.0";return u=i.toString(10),Mzt.test(u)?u.replace("e",".e"):u}function Izt(i){return Object.prototype.toString.call(i)==="[object Number]"&&(i%1!==0||Np.isNegativeZero(i))}var Ozt=new $g("tag:yaml.org,2002:float",{kind:"scalar",resolve:Azt,construct:Lzt,predicate:Izt,represent:Dzt,defaultStyle:"lowercase"}),H$e=hzt.extend({implicit:[pzt,wzt,Szt,Ozt]}),Nzt=H$e,U$e=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),V$e=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function Pzt(i){return i===null?!1:U$e.exec(i)!==null||V$e.exec(i)!==null}function Bzt(i){var a,u,d,p,v,b,y,E=0,_=null,A,P,R;if(a=U$e.exec(i),a===null&&(a=V$e.exec(i)),a===null)throw new Error("Date resolve error");if(u=+a[1],d=+a[2]-1,p=+a[3],!a[4])return new Date(Date.UTC(u,d,p));if(v=+a[4],b=+a[5],y=+a[6],a[7]){for(E=a[7].slice(0,3);E.length<3;)E+="0";E=+E}return a[9]&&(A=+a[10],P=+(a[11]||0),_=(A*60+P)*6e4,a[9]==="-"&&(_=-_)),R=new Date(Date.UTC(u,d,p,v,b,y,E)),_&&R.setTime(R.getTime()-_),R}function Fzt(i){return i.toISOString()}var Rzt=new $g("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Pzt,construct:Bzt,instanceOf:Date,represent:Fzt});function jzt(i){return i==="<<"||i===null}var $zt=new $g("tag:yaml.org,2002:merge",{kind:"scalar",resolve:jzt}),sbe=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;function zzt(i){if(i===null)return!1;var a,u,d=0,p=i.length,v=sbe;for(u=0;u64)){if(a<0)return!1;d+=6}return d%8===0}function qzt(i){var a,u,d=i.replace(/[\r\n=]/g,""),p=d.length,v=sbe,b=0,y=[];for(a=0;a>16&255),y.push(b>>8&255),y.push(b&255)),b=b<<6|v.indexOf(d.charAt(a));return u=p%4*6,u===0?(y.push(b>>16&255),y.push(b>>8&255),y.push(b&255)):u===18?(y.push(b>>10&255),y.push(b>>2&255)):u===12&&y.push(b>>4&255),new Uint8Array(y)}function Hzt(i){var a="",u=0,d,p,v=i.length,b=sbe;for(d=0;d>18&63],a+=b[u>>12&63],a+=b[u>>6&63],a+=b[u&63]),u=(u<<8)+i[d];return p=v%3,p===0?(a+=b[u>>18&63],a+=b[u>>12&63],a+=b[u>>6&63],a+=b[u&63]):p===2?(a+=b[u>>10&63],a+=b[u>>4&63],a+=b[u<<2&63],a+=b[64]):p===1&&(a+=b[u>>2&63],a+=b[u<<4&63],a+=b[64],a+=b[64]),a}function Uzt(i){return Object.prototype.toString.call(i)==="[object Uint8Array]"}var Vzt=new $g("tag:yaml.org,2002:binary",{kind:"scalar",resolve:zzt,construct:qzt,predicate:Uzt,represent:Hzt}),Gzt=Object.prototype.hasOwnProperty,Kzt=Object.prototype.toString;function Wzt(i){if(i===null)return!0;var a=[],u,d,p,v,b,y=i;for(u=0,d=y.length;u>10)+55296,(i-65536&1023)+56320)}for(var Z$e=new Array(256),eze=new Array(256),ID=0;ID<256;ID++)Z$e[ID]=J$e(ID)?1:0,eze[ID]=J$e(ID);function gqt(i,a){this.input=i,this.filename=a.filename||null,this.schema=a.schema||sqt,this.onWarning=a.onWarning||null,this.legacy=a.legacy||!1,this.json=a.json||!1,this.listener=a.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=i.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function tze(i,a){var u={name:i.filename,buffer:i.input.slice(0,-1),position:i.position,line:i.line,column:i.position-i.lineStart};return u.snippet=tzt(u),new M7(a,u)}function la(i,a){throw tze(i,a)}function sQ(i,a){i.onWarning&&i.onWarning.call(null,tze(i,a))}var nze={YAML:function(a,u,d){var p,v,b;a.version!==null&&la(a,"duplication of %YAML directive"),d.length!==1&&la(a,"YAML directive accepts exactly one argument"),p=/^([0-9]+)\.([0-9]+)$/.exec(d[0]),p===null&&la(a,"ill-formed argument of the YAML directive"),v=parseInt(p[1],10),b=parseInt(p[2],10),v!==1&&la(a,"unacceptable YAML version of the document"),a.version=d[0],a.checkLineBreaks=b<2,b!==1&&b!==2&&sQ(a,"unsupported YAML version of the document")},TAG:function(a,u,d){var p,v;d.length!==2&&la(a,"TAG directive accepts exactly two arguments"),p=d[0],v=d[1],Y$e.test(p)||la(a,"ill-formed tag handle (first argument) of the TAG directive"),k9.call(a.tagMap,p)&&la(a,'there is a previously declared suffix for "'+p+'" tag handle'),X$e.test(v)||la(a,"ill-formed tag prefix (second argument) of the TAG directive");try{v=decodeURIComponent(v)}catch{la(a,"tag prefix is malformed: "+v)}a.tagMap[p]=v}};function T9(i,a,u,d){var p,v,b,y;if(a1&&(i.result+=Np.repeat(` -`,a-1))}function pqt(i,a,u){var d,p,v,b,y,E,_,A,P=i.kind,R=i.result,B;if(B=i.input.charCodeAt(i.position),K2(B)||DD(B)||B===35||B===38||B===42||B===33||B===124||B===62||B===39||B===34||B===37||B===64||B===96||(B===63||B===45)&&(p=i.input.charCodeAt(i.position+1),K2(p)||u&&DD(p)))return!1;for(i.kind="scalar",i.result="",v=b=i.position,y=!1;B!==0;){if(B===58){if(p=i.input.charCodeAt(i.position+1),K2(p)||u&&DD(p))break}else if(B===35){if(d=i.input.charCodeAt(i.position-1),K2(d))break}else{if(i.position===i.lineStart&&aQ(i)||u&&DD(B))break;if(K4(B))if(E=i.line,_=i.lineStart,A=i.lineIndent,O0(i,!1,-1),i.lineIndent>=a){y=!0,B=i.input.charCodeAt(i.position);continue}else{i.position=b,i.line=E,i.lineStart=_,i.lineIndent=A;break}}y&&(T9(i,v,b,!1),cbe(i,i.line-E),v=b=i.position,y=!1),RC(B)||(b=i.position+1),B=i.input.charCodeAt(++i.position)}return T9(i,v,b,!1),i.result?!0:(i.kind=P,i.result=R,!1)}function bqt(i,a){var u,d,p;if(u=i.input.charCodeAt(i.position),u!==39)return!1;for(i.kind="scalar",i.result="",i.position++,d=p=i.position;(u=i.input.charCodeAt(i.position))!==0;)if(u===39)if(T9(i,d,i.position,!0),u=i.input.charCodeAt(++i.position),u===39)d=i.position,i.position++,p=i.position;else return!0;else K4(u)?(T9(i,d,p,!0),cbe(i,O0(i,!1,a)),d=p=i.position):i.position===i.lineStart&&aQ(i)?la(i,"unexpected end of the document within a single quoted scalar"):(i.position++,p=i.position);la(i,"unexpected end of the stream within a single quoted scalar")}function mqt(i,a){var u,d,p,v,b,y;if(y=i.input.charCodeAt(i.position),y!==34)return!1;for(i.kind="scalar",i.result="",i.position++,u=d=i.position;(y=i.input.charCodeAt(i.position))!==0;){if(y===34)return T9(i,u,i.position,!0),i.position++,!0;if(y===92){if(T9(i,u,i.position,!0),y=i.input.charCodeAt(++i.position),K4(y))O0(i,!1,a);else if(y<256&&Z$e[y])i.result+=eze[y],i.position++;else if((b=hqt(y))>0){for(p=b,v=0;p>0;p--)y=i.input.charCodeAt(++i.position),(b=lqt(y))>=0?v=(v<<4)+b:la(i,"expected hexadecimal character");i.result+=dqt(v),i.position++}else la(i,"unknown escape sequence");u=d=i.position}else K4(y)?(T9(i,u,d,!0),cbe(i,O0(i,!1,a)),u=d=i.position):i.position===i.lineStart&&aQ(i)?la(i,"unexpected end of the document within a double quoted scalar"):(i.position++,d=i.position)}la(i,"unexpected end of the stream within a double quoted scalar")}function vqt(i,a){var u=!0,d,p,v,b=i.tag,y,E=i.anchor,_,A,P,R,B,j=Object.create(null),W,ee,ie,oe;if(oe=i.input.charCodeAt(i.position),oe===91)A=93,B=!1,y=[];else if(oe===123)A=125,B=!0,y={};else return!1;for(i.anchor!==null&&(i.anchorMap[i.anchor]=y),oe=i.input.charCodeAt(++i.position);oe!==0;){if(O0(i,!0,a),oe=i.input.charCodeAt(i.position),oe===A)return i.position++,i.tag=b,i.anchor=E,i.kind=B?"mapping":"sequence",i.result=y,!0;u?oe===44&&la(i,"expected the node content, but found ','"):la(i,"missed comma between flow collection entries"),ee=W=ie=null,P=R=!1,oe===63&&(_=i.input.charCodeAt(i.position+1),K2(_)&&(P=R=!0,i.position++,O0(i,!0,a))),d=i.line,p=i.lineStart,v=i.position,ND(i,a,rQ,!1,!0),ee=i.tag,W=i.result,O0(i,!0,a),oe=i.input.charCodeAt(i.position),(R||i.line===d)&&oe===58&&(P=!0,oe=i.input.charCodeAt(++i.position),O0(i,!0,a),ND(i,a,rQ,!1,!0),ie=i.result),B?OD(i,y,j,ee,W,ie,d,p,v):P?y.push(OD(i,null,j,ee,W,ie,d,p,v)):y.push(W),O0(i,!0,a),oe=i.input.charCodeAt(i.position),oe===44?(u=!0,oe=i.input.charCodeAt(++i.position)):u=!1}la(i,"unexpected end of the stream within a flow collection")}function wqt(i,a){var u,d,p=abe,v=!1,b=!1,y=a,E=0,_=!1,A,P;if(P=i.input.charCodeAt(i.position),P===124)d=!1;else if(P===62)d=!0;else return!1;for(i.kind="scalar",i.result="";P!==0;)if(P=i.input.charCodeAt(++i.position),P===43||P===45)abe===p?p=P===43?W$e:aqt:la(i,"repeat of a chomping mode identifier");else if((A=fqt(P))>=0)A===0?la(i,"bad explicit indentation width of a block scalar; it cannot be less than one"):b?la(i,"repeat of an indentation width identifier"):(y=a+A-1,b=!0);else break;if(RC(P)){do P=i.input.charCodeAt(++i.position);while(RC(P));if(P===35)do P=i.input.charCodeAt(++i.position);while(!K4(P)&&P!==0)}for(;P!==0;){for(obe(i),i.lineIndent=0,P=i.input.charCodeAt(i.position);(!b||i.lineIndenty&&(y=i.lineIndent),K4(P)){E++;continue}if(i.lineIndenta)&&E!==0)la(i,"bad indentation of a sequence entry");else if(i.lineIndenta)&&(ee&&(b=i.line,y=i.lineStart,E=i.position),ND(i,a,iQ,!0,p)&&(ee?j=i.result:W=i.result),ee||(OD(i,P,R,B,j,W,b,y,E),B=j=W=null),O0(i,!0,-1),oe=i.input.charCodeAt(i.position)),(i.line===v||i.lineIndent>a)&&oe!==0)la(i,"bad indentation of a mapping entry");else if(i.lineIndenta?E=1:i.lineIndent===a?E=0:i.lineIndenta?E=1:i.lineIndent===a?E=0:i.lineIndent tag; it should be "scalar", not "'+i.kind+'"'),P=0,R=i.implicitTypes.length;P"),i.result!==null&&j.kind!==i.kind&&la(i,"unacceptable node kind for !<"+i.tag+'> tag; it should be "'+j.kind+'", not "'+i.kind+'"'),j.resolve(i.result,i.tag)?(i.result=j.construct(i.result,i.tag),i.anchor!==null&&(i.anchorMap[i.anchor]=i.result)):la(i,"cannot resolve a node with !<"+i.tag+"> explicit tag")}return i.listener!==null&&i.listener("close",i),i.tag!==null||i.anchor!==null||A}function Eqt(i){var a=i.position,u,d,p,v=!1,b;for(i.version=null,i.checkLineBreaks=i.legacy,i.tagMap=Object.create(null),i.anchorMap=Object.create(null);(b=i.input.charCodeAt(i.position))!==0&&(O0(i,!0,-1),b=i.input.charCodeAt(i.position),!(i.lineIndent>0||b!==37));){for(v=!0,b=i.input.charCodeAt(++i.position),u=i.position;b!==0&&!K2(b);)b=i.input.charCodeAt(++i.position);for(d=i.input.slice(u,i.position),p=[],d.length<1&&la(i,"directive name must not be less than one character in length");b!==0;){for(;RC(b);)b=i.input.charCodeAt(++i.position);if(b===35){do b=i.input.charCodeAt(++i.position);while(b!==0&&!K4(b));break}if(K4(b))break;for(u=i.position;b!==0&&!K2(b);)b=i.input.charCodeAt(++i.position);p.push(i.input.slice(u,i.position))}b!==0&&obe(i),k9.call(nze,d)?nze[d](i,d,p):sQ(i,'unknown document directive "'+d+'"')}if(O0(i,!0,-1),i.lineIndent===0&&i.input.charCodeAt(i.position)===45&&i.input.charCodeAt(i.position+1)===45&&i.input.charCodeAt(i.position+2)===45?(i.position+=3,O0(i,!0,-1)):v&&la(i,"directives end mark is expected"),ND(i,i.lineIndent-1,iQ,!1,!0),O0(i,!0,-1),i.checkLineBreaks&&cqt.test(i.input.slice(a,i.position))&&sQ(i,"non-ASCII line breaks are interpreted as content"),i.documents.push(i.result),i.position===i.lineStart&&aQ(i)){i.input.charCodeAt(i.position)===46&&(i.position+=3,O0(i,!0,-1));return}if(i.position"u"&&(u=a,a=null);var d=sze(i,u);if(typeof a!="function")return d;for(var p=0,v=d.length;pi.replace(/\r\n?/g,` -`).replace(/<(\w+)([^>]*)>/g,(a,u,d)=>"<"+u+d.replace(/="([^"]*)"/g,"='$1'")+">"),Nqt=i=>{const{text:a,metadata:u}=Iqt(i),{displayMode:d,title:p,config:v={}}=u;return d&&(v.gantt||(v.gantt={}),v.gantt.displayMode=d),{title:p,config:v,text:a}},Pqt=i=>{const a=So.detectInit(i)??{},u=So.detectDirective(i,"wrap");return Array.isArray(u)?a.wrap=u.some(({type:d})=>{}):(u==null?void 0:u.type)==="wrap"&&(a.wrap=!0),{text:ZRt(i),directive:a}};function aze(i){const a=Oqt(i),u=Nqt(a),d=Pqt(u.text),p=cR(u.config,d.directive);return i=q$t(d.text),{code:i,title:u.title,config:p}}const Bqt=5e4,Fqt="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",Rqt="sandbox",jqt="loose",$qt="http://www.w3.org/2000/svg",zqt="http://www.w3.org/1999/xlink",qqt="http://www.w3.org/1999/xhtml",Hqt="100%",Uqt="100%",Vqt="border:0;margin:0;",Gqt="margin:0",Kqt="allow-top-navigation-by-user-activation allow-popups",Wqt='The "iframe" tag is not supported by your browser.',Yqt=["foreignobject"],Xqt=["dominant-baseline"];function oze(i){const a=aze(i);return ZX(),Njt(a.config??{}),a}async function Qqt(i,a){J2e(),i=oze(i).code;try{await ube(i)}catch(u){if(a!=null&&a.suppressErrors)return!1;throw u}return!0}const cze=(i,a,u=[])=>{const d=eje(`{ ${u.join(" !important; ")} !important; }`);return`.${i} ${a} ${d}`},Jqt=(i,a={})=>{var p;const u=new CSSStyleSheet;if(i.fontFamily!==void 0&&u.insertRule(`:root { --mermaid-font-family: ${i.fontFamily}}`,u.cssRules.length),i.altFontFamily!==void 0&&u.insertRule(`:root { --mermaid-alt-font-family: ${i.altFontFamily}}`,u.cssRules.length),!pR(a)){const E=i.htmlLabels||((p=i.flowchart)==null?void 0:p.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(const _ in a){const A=a[_];pR(A.styles)||E.forEach(P=>{u.insertRule(cze(A.id,P,A.styles),u.cssRules.length)}),pR(A.textStyles)||u.insertRule(cze(A.id,"tspan",A.textStyles),u.cssRules.length)}}let d="";if(i.themeCSS!==void 0)if(typeof u.replaceSync=="function"){const v=new CSSStyleSheet;v.replaceSync(i.themeCSS),d=x$e(v)+` -`}else d+=`${i.themeCSS} -`;return d+x$e(u)},Zqt=(i,a)=>G2e(_jt(`${i}{${a}}`),Mjt([function(d,p,v,b){if(d.type==="rule"&&Array.isArray(d.props)){if(d.parent&&d.parent.type===$2e)return;d.props=d.props.map(y=>y===i&&Array.isArray(d.children)&&d.children.every(_=>_.type!=="decl"?!1:new Set(["font-family","font-size","fill"]).has(_.props))||(y.startsWith(`${i} `)||y.startsWith(`${i}>`))&&!y.startsWith(`${i} ||`)?y:`${i} ${y}`)}else d.type.startsWith("@")&&([...[pjt,mjt,Vje,"@scope","@container","@starting-style"],$2e].includes(d.type)||(Xe.warn(`Removing unsupported at-rule ${d.type} from CSS`),d.type=j2e))},Ljt])),eHt=(i,a,u,d)=>{const p=Jqt(i,u),v=s$t(a,p,i.themeVariables);return Zqt(d,v)},tHt=(i="",a,u)=>{let d=i;return!u&&!a&&(d=d.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),d=uR(d),d=d.replace(/
/g,"
"),d},nHt=(i="",a)=>{var p,v;const u=(v=(p=a==null?void 0:a.viewBox)==null?void 0:p.baseVal)!=null&&v.height?a.viewBox.baseVal.height+"px":Uqt,d=btoa(''+i+"");return``},uze=(i,a,u,d,p)=>{const v=i.append("div");v.attr("id",u),d&&v.attr("style",d);const b=v.append("svg").attr("id",a).attr("width","100%").attr("xmlns",$qt);return p&&b.attr("xmlns:xlink",p),b.append("g"),i};function lze(i,a){return i.append("iframe").attr("id",a).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const rHt=(i,a,u,d)=>{var p,v,b;(p=i.getElementById(a))==null||p.remove(),(v=i.getElementById(u))==null||v.remove(),(b=i.getElementById(d))==null||b.remove()},iHt=async function(i,a,u){var U,Be,Pe,je,Ie,Se;J2e();const d=oze(a);a=d.code;const p=mh();Xe.debug(p),a.length>((p==null?void 0:p.maxTextSize)??Bqt)&&(a=Fqt);const v=`#${i}`,b="i"+i,y="#"+b,E="d"+i,_="#"+E;let A=Dr(document.body);const P=p.securityLevel===Rqt,R=p.securityLevel===jqt,B=p.fontFamily;if(u!==void 0){if(u&&(u.innerHTML=""),P){const Ce=lze(Dr(u),b);A=Dr(Ce.nodes()[0].contentDocument.body),A.node().style.margin="0"}else A=Dr(u);uze(A,i,E,`font-family: ${B}`,zqt)}else{if(rHt(document,i,E,b),P){const Ce=lze(Dr(document.body),b);A=Dr(Ce.nodes()[0].contentDocument.body),A.node().style.margin="0"}else A=Dr("body");uze(A,i,E)}let j,W;try{j=await ube(a,{title:d.title})}catch(Ce){j=new I$e("error"),W=Ce}const ee=A.select(_).node(),ie=j.type,oe=ee.firstChild,be=oe.firstChild,ge=(Be=(U=j.renderer).getClasses)==null?void 0:Be.call(U,a,j),ae=eHt(p,ie,ge,v),ne=document.createElement("style");ne.innerHTML=ae,oe.insertBefore(ne,be);try{await j.renderer.draw(a,i,Jje,j)}catch(Ce){throw f$t.draw(a,i,Jje),Ce}const se=A.select(`${_} svg`),de=(je=(Pe=j.db).getAccTitle)==null?void 0:je.call(Pe),X=(Se=(Ie=j.db).getAccDescription)==null?void 0:Se.call(Ie);aHt(ie,se,de,X),A.select(`[id="${i}"]`).selectAll("foreignobject > *").attr("xmlns",qqt);let pe=A.select(_).node().innerHTML;if(Xe.debug("config.arrowMarkerAbsolute",p.arrowMarkerAbsolute),pe=tHt(pe,P,h1(p.arrowMarkerAbsolute)),P){const Ce=A.select(_+" svg").node();pe=nHt(pe,Ce)}else R||(pe=pD.sanitize(pe,{ADD_TAGS:Yqt,ADD_ATTR:Xqt,HTML_INTEGRATION_POINTS:{foreignobject:!0}}));if(y$t(),W)throw W;const xe=Dr(P?y:_).node();return xe&&"remove"in xe&&xe.remove(),{svg:pe,bindFunctions:j.db.bindFunctions}};function sHt(i={}){var u;i!=null&&i.fontFamily&&!((u=i.themeVariables)!=null&&u.fontFamily)&&(i.themeVariables||(i.themeVariables={}),i.themeVariables.fontFamily=i.fontFamily),Ijt(i),i!=null&&i.theme&&i.theme in C7?i.themeVariables=C7[i.theme].getThemeVariables(i.themeVariables):i&&(i.themeVariables=C7.default.getThemeVariables(i.themeVariables));const a=typeof i=="object"?Djt(i):e$e();Spe(a.logLevel),J2e()}const ube=(i,a={})=>{const{code:u}=aze(i);return w$t(u,a)};function aHt(i,a,u,d){$$t(a,i),z$t(a,u,d,a.attr("id"))}const jC=Object.freeze({render:iHt,parse:Qqt,getDiagramFromText:ube,initialize:sHt,getConfig:mh,setConfig:t$e,getSiteConfig:e$e,updateSiteConfig:Ojt,reset:()=>{ZX()},globalReset:()=>{ZX(_D)},defaultConfig:_D});Spe(mh().logLevel),ZX(mh());const oHt=async()=>{Xe.debug("Loading registered diagrams");const a=(await Promise.allSettled(Object.entries(mD).map(async([u,{detector:d,loader:p}])=>{if(p)try{Q2e(u)}catch{try{const{diagram:b,id:y}=await p();nQ(y,b,d)}catch(b){throw Xe.error(`Failed to load external diagram with key ${u}. Removing from detectors.`),delete mD[u],b}}}))).filter(u=>u.status==="rejected");if(a.length>0){Xe.error(`Failed to load ${a.length} external diagrams`);for(const u of a)Xe.error(u);throw new Error(`Failed to load ${a.length} external diagrams`)}},cHt=(i,a,u)=>{Xe.warn(i),qje(i)?(u&&u(i.str,i.hash),a.push({...i,message:i.str,error:i})):(u&&u(i),i instanceof Error&&a.push({str:i.message,message:i.message,hash:i.name,error:i}))},hze=async function(i={querySelector:".mermaid"}){try{await uHt(i)}catch(a){if(qje(a)&&Xe.error(a.str),bm.parseError&&bm.parseError(a),!i.suppressErrors)throw Xe.error("Use the suppressErrors option to suppress these errors"),a}},uHt=async function({postRenderCallback:i,querySelector:a,nodes:u}={querySelector:".mermaid"}){const d=jC.getConfig();Xe.debug(`${i?"":"No "}Callback function found`);let p;if(u)p=u;else if(a)p=document.querySelectorAll(a);else throw new Error("Nodes and querySelector are both undefined");Xe.debug(`Found ${p.length} diagrams`),(d==null?void 0:d.startOnLoad)!==void 0&&(Xe.debug("Start On Load: "+(d==null?void 0:d.startOnLoad)),jC.updateSiteConfig({startOnLoad:d==null?void 0:d.startOnLoad}));const v=new So.InitIDGenerator(d.deterministicIds,d.deterministicIDSeed);let b;const y=[];for(const E of Array.from(p)){Xe.info("Rendering diagram: "+E.id);/*! Check if previously processed */if(E.getAttribute("data-processed"))continue;E.setAttribute("data-processed","true");const _=`mermaid-${v.next()}`;b=E.innerHTML,b=ZM(So.entityDecode(b)).trim().replace(//gi,"
");const A=So.detectInit(b);A&&Xe.debug("Detected early reinit: ",A);try{const{svg:P,bindFunctions:R}=await pze(_,b,E);E.innerHTML=P,i&&await i(_),R&&R(E)}catch(P){cHt(P,y,bm.parseError)}}if(y.length>0)throw y[0]},fze=function(i){jC.initialize(i)},lHt=async function(i,a,u){Xe.warn("mermaid.init is deprecated. Please use run instead."),i&&fze(i);const d={postRenderCallback:u,querySelector:".mermaid"};typeof a=="string"?d.querySelector=a:a&&(a instanceof HTMLElement?d.nodes=[a]:d.nodes=a),await hze(d)},hHt=async(i,{lazyLoad:a=!0}={})=>{rje(...i),a===!1&&await oHt()},dze=function(){if(bm.startOnLoad){const{startOnLoad:i}=jC.getConfig();i&&bm.run().catch(a=>Xe.error("Mermaid failed to initialize",a))}};if(typeof document<"u"){/*! - * Wait for document loaded before starting the execution - */window.addEventListener("load",dze,!1)}const fHt=function(i){bm.parseError=i},oQ=[];let lbe=!1;const gze=async()=>{if(!lbe){for(lbe=!0;oQ.length>0;){const i=oQ.shift();if(i)try{await i()}catch(a){Xe.error("Error executing queue",a)}}lbe=!1}},dHt=async(i,a)=>new Promise((u,d)=>{const p=()=>new Promise((v,b)=>{jC.parse(i,a).then(y=>{v(y),u(y)},y=>{var E;Xe.error("Error parsing",y),(E=bm.parseError)==null||E.call(bm,y),b(y),d(y)})});oQ.push(p),gze().catch(d)}),pze=(i,a,u)=>new Promise((d,p)=>{const v=()=>new Promise((b,y)=>{jC.render(i,a,u).then(E=>{b(E),d(E)},E=>{var _;Xe.error("Error parsing",E),(_=bm.parseError)==null||_.call(bm,E),y(E),p(E)})});oQ.push(v),gze().catch(p)}),bm={startOnLoad:!0,mermaidAPI:jC,parse:dHt,render:pze,init:lHt,run:hze,registerExternalDiagrams:hHt,initialize:fze,parseError:void 0,contentLoaded:dze,setParseErrorHandler:fHt,detectType:OX};class ki extends Error{constructor(a,u){var d="KaTeX parse error: "+a,p,v,b=u&&u.loc;if(b&&b.start<=b.end){var y=b.lexer.input;p=b.start,v=b.end,p===y.length?d+=" at end of input: ":d+=" at position "+(p+1)+": ";var E=y.slice(p,v).replace(/[^]/g,"$&̲"),_;p>15?_="…"+y.slice(p-15,p):_=y.slice(0,p);var A;v+15i.replace(gHt,"-$1").toLowerCase(),pHt={"&":"&",">":">","<":"<",'"':""","'":"'"},bHt=/[&><"']/g,zg=i=>String(i).replace(bHt,a=>pHt[a]),cQ=i=>i.type==="ordgroup"||i.type==="color"?i.body.length===1?cQ(i.body[0]):i:i.type==="font"?cQ(i.body):i,mHt=new Set(["mathord","textord","atom"]),D7=i=>mHt.has(cQ(i).type),vHt=i=>{var a=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(i);return a?a[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(a[1])?null:a[1].toLowerCase():"_relative"},uQ={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:i=>"#"+i},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(i,a)=>(a.push(i),a)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:i=>Math.max(0,i),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:i=>Math.max(0,i),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:i=>Math.max(0,i),cli:"-e, --max-expand ",cliProcessor:i=>i==="Infinity"?1/0:parseInt(i)},globalGroup:{type:"boolean",cli:!1}};function wHt(i){if("default"in i)return i.default;var a=i.type,u=Array.isArray(a)?a[0]:a;if(typeof u!="string")return u.enum[0];switch(u){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class fbe{constructor(a){a===void 0&&(a={}),a=a||{};for(var u of Object.keys(uQ)){var d=uQ[u],p=a[u];this[u]=p!==void 0?d.processor?d.processor(p):p:wHt(d)}}reportNonstrict(a,u,d){var p=this.strict;if(typeof p=="function"&&(p=p(a,u,d)),!(!p||p==="ignore")){if(p===!0||p==="error")throw new ki("LaTeX-incompatible input and strict mode is set to 'error': "+(u+" ["+a+"]"),d);p==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(u+" ["+a+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+p+"': "+u+" ["+a+"]"))}}useStrictBehavior(a,u,d){var p=this.strict;if(typeof p=="function")try{p=p(a,u,d)}catch{p="error"}return!p||p==="ignore"?!1:p===!0||p==="error"?!0:p==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(u+" ["+a+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+p+"': "+u+" ["+a+"]")),!1)}isTrusted(a){if("url"in a&&a.url&&!a.protocol){var u=vHt(a.url);if(u==null)return!1;a.protocol=u}var d=typeof this.trust=="function"?this.trust(a):this.trust;return!!d}}class E9{constructor(a,u,d){this.id=a,this.size=u,this.cramped=d}sup(){return W4[yHt[this.id]]}sub(){return W4[xHt[this.id]]}fracNum(){return W4[kHt[this.id]]}fracDen(){return W4[THt[this.id]]}cramp(){return W4[EHt[this.id]]}text(){return W4[CHt[this.id]]}isTight(){return this.size>=2}}var dbe=0,lQ=1,PD=2,I7=3,mR=4,Uv=5,BD=6,Pp=7,W4=[new E9(dbe,0,!1),new E9(lQ,0,!0),new E9(PD,1,!1),new E9(I7,1,!0),new E9(mR,2,!1),new E9(Uv,2,!0),new E9(BD,3,!1),new E9(Pp,3,!0)],yHt=[mR,Uv,mR,Uv,BD,Pp,BD,Pp],xHt=[Uv,Uv,Uv,Uv,Pp,Pp,Pp,Pp],kHt=[PD,I7,mR,Uv,BD,Pp,BD,Pp],THt=[I7,I7,Uv,Uv,Pp,Pp,Pp,Pp],EHt=[lQ,lQ,I7,I7,Uv,Uv,Pp,Pp],CHt=[dbe,lQ,PD,I7,PD,I7,PD,I7],bo={DISPLAY:W4[dbe],TEXT:W4[PD],SCRIPT:W4[mR],SCRIPTSCRIPT:W4[BD]},gbe=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function SHt(i){for(var a=0;a=p[0]&&i<=p[1])return u.name}return null}var hQ=[];gbe.forEach(i=>i.blocks.forEach(a=>hQ.push(...a)));function bze(i){for(var a=0;a=hQ[a]&&i<=hQ[a+1])return!0;return!1}var f1=i=>i+" "+i,FD=80,_Ht=function(a,u){return"M95,"+(622+a+u)+` +"use strict";var __esbuild_esm_mermaid_nm;(__esbuild_esm_mermaid_nm||={}).mermaid=(()=>{var ZEn=Object.create;var nee=Object.defineProperty;var eSn=Object.getOwnPropertyDescriptor;var tSn=Object.getOwnPropertyNames;var rSn=Object.getPrototypeOf,nSn=Object.prototype.hasOwnProperty;var i=(t,r)=>nee(t,"name",{value:r,configurable:!0}),iee=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(r,a)=>(typeof require<"u"?require:r)[a]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var ie=(t,r)=>()=>(t&&(r=t(t=0)),r);var Hv=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),cs=(t,r)=>{for(var a in r)nee(t,a,{get:r[a],enumerable:!0})},Oir=(t,r,a,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let l of tSn(r))!nSn.call(t,l)&&l!==a&&nee(t,l,{get:()=>r[l],enumerable:!(o=eSn(r,l))||o.enumerable});return t};var qv=(t,r,a)=>(a=t!=null?ZEn(rSn(t)):{},Oir(r||!t||!t.__esModule?nee(a,"default",{value:t,enumerable:!0}):a,t)),iSn=t=>Oir(nee({},"__esModule",{value:!0}),t);var aSn,Oj,aHe,Pir,pye=ie(()=>{"use strict";aSn=Object.freeze({left:0,top:0,width:16,height:16}),Oj=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),aHe=Object.freeze({...aSn,...Oj}),Pir=Object.freeze({...aHe,body:"",hidden:!1})});var sSn,Bir,Fir=ie(()=>{"use strict";pye();sSn=Object.freeze({width:null,height:null}),Bir=Object.freeze({...sSn,...Oj})});var sHe,gye,$ir=ie(()=>{"use strict";sHe=i((t,r,a,o="")=>{let l=t.split(":");if(t.slice(0,1)==="@"){if(l.length<2||l.length>3)return null;o=l.shift().slice(1)}if(l.length>3||!l.length)return null;if(l.length>1){let p=l.pop(),m=l.pop(),b={provider:l.length>0?l[0]:o,prefix:m,name:p};return r&&!gye(b)?null:b}let h=l[0],f=h.split("-");if(f.length>1){let p={provider:o,prefix:f.shift(),name:f.join("-")};return r&&!gye(p)?null:p}if(a&&o===""){let p={provider:o,prefix:"",name:h};return r&&!gye(p,a)?null:p}return null},"stringToIcon"),gye=i((t,r)=>t?!!((r&&t.prefix===""||t.prefix)&&t.name):!1,"validateIconName")});function Gir(t,r){let a={};!t.hFlip!=!r.hFlip&&(a.hFlip=!0),!t.vFlip!=!r.vFlip&&(a.vFlip=!0);let o=((t.rotate||0)+(r.rotate||0))%4;return o&&(a.rotate=o),a}var jir=ie(()=>{"use strict";i(Gir,"mergeIconTransformations")});function oHe(t,r){let a=Gir(t,r);for(let o in Pir)o in Oj?o in t&&!(o in a)&&(a[o]=Oj[o]):o in r?a[o]=r[o]:o in t&&(a[o]=t[o]);return a}var zir=ie(()=>{"use strict";pye();jir();i(oHe,"mergeIconData")});function Uir(t,r){let a=t.icons,o=t.aliases||Object.create(null),l=Object.create(null);function h(f){if(a[f])return l[f]=[];if(!(f in l)){l[f]=null;let p=o[f]&&o[f].parent,m=p&&h(p);m&&(l[f]=[p].concat(m))}return l[f]}return i(h,"resolve"),(r||Object.keys(a).concat(Object.keys(o))).forEach(h),l}var Vir=ie(()=>{"use strict";i(Uir,"getIconsTree")});function Hir(t,r,a){let o=t.icons,l=t.aliases||Object.create(null),h={};function f(p){h=oHe(o[p]||l[p],h)}return i(f,"parse"),f(r),a.forEach(f),oHe(t,h)}function lHe(t,r){if(t.icons[r])return Hir(t,r,[]);let a=Uir(t,[r])[r];return a?Hir(t,r,a):null}var qir=ie(()=>{"use strict";zir();Vir();i(Hir,"internalGetIconData");i(lHe,"getIconData")});function cHe(t,r,a){if(r===1)return t;if(a=a||100,typeof t=="number")return Math.ceil(t*r*a)/a;if(typeof t!="string")return t;let o=t.split(oSn);if(o===null||!o.length)return t;let l=[],h=o.shift(),f=lSn.test(h);for(;;){if(f){let p=parseFloat(h);isNaN(p)?l.push(h):l.push(Math.ceil(p*r*a)/a)}else l.push(h);if(h=o.shift(),h===void 0)return l.join("");f=!f}}var oSn,lSn,Wir=ie(()=>{"use strict";oSn=/(-?[0-9.]*[0-9]+[0-9.]*)/g,lSn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;i(cHe,"calculateSize")});function cSn(t,r="defs"){let a="",o=t.indexOf("<"+r);for(;o>=0;){let l=t.indexOf(">",o),h=t.indexOf("",h);if(f===-1)break;a+=t.slice(l+1,h).trim(),t=t.slice(0,o).trim()+t.slice(f+1)}return{defs:a,content:t}}function uSn(t,r){return t?""+t+""+r:r}function Yir(t,r,a){let o=cSn(t);return uSn(o.defs,r+o.content+a)}var Kir=ie(()=>{"use strict";i(cSn,"splitSVGDefs");i(uSn,"mergeDefsAndContent");i(Yir,"wrapSVGContent")});function uHe(t,r){let a={...aHe,...t},o={...Bir,...r},l={left:a.left,top:a.top,width:a.width,height:a.height},h=a.body;[a,o].forEach(R=>{let L=[],_=R.hFlip,M=R.vFlip,I=R.rotate;_?M?I+=2:(L.push("translate("+(l.width+l.left).toString()+" "+(0-l.top).toString()+")"),L.push("scale(-1 1)"),l.top=l.left=0):M&&(L.push("translate("+(0-l.left).toString()+" "+(l.height+l.top).toString()+")"),L.push("scale(1 -1)"),l.top=l.left=0);let F;switch(I<0&&(I-=Math.floor(I/4)*4),I=I%4,I){case 1:F=l.height/2+l.top,L.unshift("rotate(90 "+F.toString()+" "+F.toString()+")");break;case 2:L.unshift("rotate(180 "+(l.width/2+l.left).toString()+" "+(l.height/2+l.top).toString()+")");break;case 3:F=l.width/2+l.left,L.unshift("rotate(-90 "+F.toString()+" "+F.toString()+")");break}I%2===1&&(l.left!==l.top&&(F=l.left,l.left=l.top,l.top=F),l.width!==l.height&&(F=l.width,l.width=l.height,l.height=F)),L.length&&(h=Yir(h,'',""))});let f=o.width,p=o.height,m=l.width,b=l.height,v,T;f===null?(T=p===null?"1em":p==="auto"?b:p,v=cHe(T,m/b)):(v=f==="auto"?m:f,T=p===null?cHe(v,b/m):p==="auto"?b:p);let C={},E=i((R,L)=>{hSn(L)||(C[R]=L.toString())},"setAttr");E("width",v),E("height",T);let S=[l.left,l.top,m,b];return C.viewBox=S.join(" "),{attributes:C,viewBox:S,body:h}}var hSn,Xir=ie(()=>{"use strict";pye();Fir();Wir();Kir();hSn=i(t=>t==="unset"||t==="undefined"||t==="none","isUnsetKeyword");i(uHe,"iconToSVG")});function hHe(t,r=dSn){let a=[],o;for(;o=fSn.exec(t);)a.push(o[1]);if(!a.length)return t;let l="suffix"+(Math.random()*16777216|Date.now()).toString(16);return a.forEach(h=>{let f=typeof r=="function"?r(h):r+(pSn++).toString(),p=h.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+p+')([")]|\\.[a-z])',"g"),"$1"+f+l+"$3")}),t=t.replace(new RegExp(l,"g"),""),t}var fSn,dSn,pSn,Qir=ie(()=>{"use strict";fSn=/\sid="(\S+)"/g,dSn="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16),pSn=0;i(hHe,"replaceIDs")});function fHe(t,r){let a=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let o in r)a+=" "+o+'="'+r[o]+'"';return'"+t+""}var Jir=ie(()=>{"use strict";i(fHe,"iconToHTML")});var Zir=ie(()=>{"use strict";$ir();qir();Xir();Qir();Jir()});var dHe,Fh,Pj=ie(()=>{"use strict";dHe=i((t,r,{depth:a=2}={})=>{let o={depth:a};if(Array.isArray(r)&&!Array.isArray(t))return r.forEach(l=>dHe(t,l,o)),t;if(Array.isArray(r)&&Array.isArray(t))return r.forEach(l=>{t.includes(l)||t.push(l)}),t;if(t==null||a<=0)return t!=null&&typeof t=="object"&&typeof r=="object"?Object.assign(t,r):r;if(r!=null&&typeof t=="object"&&typeof r=="object"){let l=t;Object.entries(r).forEach(([h,f])=>{if(typeof f=="object"){if(f===null)return;Object.hasOwn(t,h)||Object.defineProperty(t,h,{value:void 0,writable:!0,enumerable:!0,configurable:!0}),l[h]===void 0&&(l[h]=Array.isArray(f)?[]:{}),typeof l[h]=="object"&&(l[h]=dHe(l[h],f,{depth:a-1}))}else typeof l[h]!="object"&&(Object.hasOwn(t,h)?l[h]=f:Object.defineProperty(t,h,{value:f,writable:!0,enumerable:!0,configurable:!0}))})}return t},"assignWithDepth"),Fh=dHe});var mye=Hv((pHe,gHe)=>{"use strict";(function(t,r){typeof pHe=="object"&&typeof gHe<"u"?gHe.exports=r():typeof define=="function"&&define.amd?define(r):(t=typeof globalThis<"u"?globalThis:t||self).dayjs=r()})(pHe,(function(){"use strict";var t=1e3,r=6e4,a=36e5,o="millisecond",l="second",h="minute",f="hour",p="day",m="week",b="month",v="quarter",T="year",C="date",E="Invalid Date",S=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,R=/\[([^\]]+)]|YYYY|YY|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,L={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:i(function(H){var q=["th","st","nd","rd"],Z=H%100;return"["+H+(q[(Z-20)%10]||q[Z]||q[0])+"]"},"ordinal")},_=i(function(H,q,Z){var Q=String(H);return!Q||Q.length>=q?H:""+Array(q+1-Q.length).join(Z)+H},"m"),M={s:_,z:i(function(H){var q=-H.utcOffset(),Z=Math.abs(q),Q=Math.floor(Z/60),W=Z%60;return(q<=0?"+":"-")+_(Q,2,"0")+":"+_(W,2,"0")},"z"),m:i(function H(q,Z){if(q.date()1)return H(z[0])}else{var re=q.name;F[re]=q,W=re}return!Q&&W&&(I=W),W||!Q&&I},"t"),V=i(function(H,q){if(P(H))return H.clone();var Z=typeof q=="object"?q:{};return Z.date=H,Z.args=arguments,new K(Z)},"O"),Y=M;Y.l=G,Y.i=P,Y.w=function(H,q){return V(H,{locale:q.$L,utc:q.$u,x:q.$x,$offset:q.$offset})};var K=(function(){function H(Z){this.$L=G(Z.locale,null,!0),this.parse(Z),this.$x=this.$x||Z.x||{},this[O]=!0}i(H,"M");var q=H.prototype;return q.parse=function(Z){this.$d=(function(Q){var W=Q.date,te=Q.utc;if(W===null)return new Date(NaN);if(Y.u(W))return new Date;if(W instanceof Date)return new Date(W);if(typeof W=="string"&&!/Z$/i.test(W)){var z=W.match(S);if(z){var re=z[2]-1||0,ae=(z[7]||"0").substring(0,3);return te?new Date(Date.UTC(z[1],re,z[3]||1,z[4]||0,z[5]||0,z[6]||0,ae)):new Date(z[1],re,z[3]||1,z[4]||0,z[5]||0,z[6]||0,ae)}}return new Date(W)})(Z),this.init()},q.init=function(){var Z=this.$d;this.$y=Z.getFullYear(),this.$M=Z.getMonth(),this.$D=Z.getDate(),this.$W=Z.getDay(),this.$H=Z.getHours(),this.$m=Z.getMinutes(),this.$s=Z.getSeconds(),this.$ms=Z.getMilliseconds()},q.$utils=function(){return Y},q.isValid=function(){return this.$d.toString()!==E},q.isSame=function(Z,Q){var W=V(Z);return this.startOf(Q)<=W&&W<=this.endOf(Q)},q.isAfter=function(Z,Q){return V(Z){"use strict";ear=qv(mye(),1),F6={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},Pe={trace:i((...t)=>{},"trace"),debug:i((...t)=>{},"debug"),info:i((...t)=>{},"info"),warn:i((...t)=>{},"warn"),error:i((...t)=>{},"error"),fatal:i((...t)=>{},"fatal")},aee=i(function(t="fatal"){let r=F6.fatal;typeof t=="string"?t.toLowerCase()in F6&&(r=F6[t]):typeof t=="number"&&(r=t),Pe.trace=()=>{},Pe.debug=()=>{},Pe.info=()=>{},Pe.warn=()=>{},Pe.error=()=>{},Pe.fatal=()=>{},r<=F6.fatal&&(Pe.fatal=console.error?console.error.bind(console,BT("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",BT("FATAL"))),r<=F6.error&&(Pe.error=console.error?console.error.bind(console,BT("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",BT("ERROR"))),r<=F6.warn&&(Pe.warn=console.warn?console.warn.bind(console,BT("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",BT("WARN"))),r<=F6.info&&(Pe.info=console.info?console.info.bind(console,BT("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",BT("INFO"))),r<=F6.debug&&(Pe.debug=console.debug?console.debug.bind(console,BT("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",BT("DEBUG"))),r<=F6.trace&&(Pe.trace=console.debug?console.debug.bind(console,BT("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",BT("TRACE")))},"setLogLevel"),BT=i(t=>`%c${(0,ear.default)().format("ss.SSS")} : ${t} : `,"format")});var yye,tar,rar=ie(()=>{"use strict";yye={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:i(t=>t>=255?255:t<0?0:t,"r"),g:i(t=>t>=255?255:t<0?0:t,"g"),b:i(t=>t>=255?255:t<0?0:t,"b"),h:i(t=>t%360,"h"),s:i(t=>t>=100?100:t<0?0:t,"s"),l:i(t=>t>=100?100:t<0?0:t,"l"),a:i(t=>t>=1?1:t<0?0:t,"a")},toLinear:i(t=>{let r=t/255;return t>.03928?Math.pow((r+.055)/1.055,2.4):r/12.92},"toLinear"),hue2rgb:i((t,r,a)=>(a<0&&(a+=1),a>1&&(a-=1),a<.16666666666666666?t+(r-t)*6*a:a<.5?r:a<.6666666666666666?t+(r-t)*(.6666666666666666-a)*6:t),"hue2rgb"),hsl2rgb:i(({h:t,s:r,l:a},o)=>{if(!r)return a*2.55;t/=360,r/=100,a/=100;let l=a<.5?a*(1+r):a+r-a*r,h=2*a-l;switch(o){case"r":return yye.hue2rgb(h,l,t+.3333333333333333)*255;case"g":return yye.hue2rgb(h,l,t)*255;case"b":return yye.hue2rgb(h,l,t-.3333333333333333)*255}},"hsl2rgb"),rgb2hsl:i(({r:t,g:r,b:a},o)=>{t/=255,r/=255,a/=255;let l=Math.max(t,r,a),h=Math.min(t,r,a),f=(l+h)/2;if(o==="l")return f*100;if(l===h)return 0;let p=l-h,m=f>.5?p/(2-l-h):p/(l+h);if(o==="s")return m*100;switch(l){case t:return((r-a)/p+(r{"use strict";gSn={clamp:i((t,r,a)=>r>a?Math.min(r,Math.max(a,t)):Math.min(a,Math.max(r,t)),"clamp"),round:i(t=>Math.round(t*1e10)/1e10,"round")},nar=gSn});var mSn,aar,sar=ie(()=>{"use strict";mSn={dec2hex:i(t=>{let r=Math.round(t).toString(16);return r.length>1?r:`0${r}`},"dec2hex")},aar=mSn});var ySn,Ms,RE=ie(()=>{"use strict";rar();iar();sar();ySn={channel:tar,lang:nar,unit:aar},Ms=ySn});var $6,h0,see=ie(()=>{"use strict";RE();$6={};for(let t=0;t<=255;t++)$6[t]=Ms.unit.dec2hex(t);h0={ALL:0,RGB:1,HSL:2}});var mHe,oar,lar=ie(()=>{"use strict";see();mHe=class{static{i(this,"Type")}constructor(){this.type=h0.ALL}get(){return this.type}set(r){if(this.type&&this.type!==r)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=r}reset(){this.type=h0.ALL}is(r){return this.type===r}},oar=mHe});var yHe,car,uar=ie(()=>{"use strict";RE();lar();see();yHe=class{static{i(this,"Channels")}constructor(r,a){this.color=a,this.changed=!1,this.data=r,this.type=new oar}set(r,a){return this.color=a,this.changed=!1,this.data=r,this.type.type=h0.ALL,this}_ensureHSL(){let r=this.data,{h:a,s:o,l}=r;a===void 0&&(r.h=Ms.channel.rgb2hsl(r,"h")),o===void 0&&(r.s=Ms.channel.rgb2hsl(r,"s")),l===void 0&&(r.l=Ms.channel.rgb2hsl(r,"l"))}_ensureRGB(){let r=this.data,{r:a,g:o,b:l}=r;a===void 0&&(r.r=Ms.channel.hsl2rgb(r,"r")),o===void 0&&(r.g=Ms.channel.hsl2rgb(r,"g")),l===void 0&&(r.b=Ms.channel.hsl2rgb(r,"b"))}get r(){let r=this.data,a=r.r;return!this.type.is(h0.HSL)&&a!==void 0?a:(this._ensureHSL(),Ms.channel.hsl2rgb(r,"r"))}get g(){let r=this.data,a=r.g;return!this.type.is(h0.HSL)&&a!==void 0?a:(this._ensureHSL(),Ms.channel.hsl2rgb(r,"g"))}get b(){let r=this.data,a=r.b;return!this.type.is(h0.HSL)&&a!==void 0?a:(this._ensureHSL(),Ms.channel.hsl2rgb(r,"b"))}get h(){let r=this.data,a=r.h;return!this.type.is(h0.RGB)&&a!==void 0?a:(this._ensureRGB(),Ms.channel.rgb2hsl(r,"h"))}get s(){let r=this.data,a=r.s;return!this.type.is(h0.RGB)&&a!==void 0?a:(this._ensureRGB(),Ms.channel.rgb2hsl(r,"s"))}get l(){let r=this.data,a=r.l;return!this.type.is(h0.RGB)&&a!==void 0?a:(this._ensureRGB(),Ms.channel.rgb2hsl(r,"l"))}get a(){return this.data.a}set r(r){this.type.set(h0.RGB),this.changed=!0,this.data.r=r}set g(r){this.type.set(h0.RGB),this.changed=!0,this.data.g=r}set b(r){this.type.set(h0.RGB),this.changed=!0,this.data.b=r}set h(r){this.type.set(h0.HSL),this.changed=!0,this.data.h=r}set s(r){this.type.set(h0.HSL),this.changed=!0,this.data.s=r}set l(r){this.type.set(h0.HSL),this.changed=!0,this.data.l=r}set a(r){this.changed=!0,this.data.a=r}},car=yHe});var bSn,nL,oee=ie(()=>{"use strict";uar();bSn=new car({r:0,g:0,b:0,a:0},"transparent"),nL=bSn});var har,mN,bHe=ie(()=>{"use strict";oee();see();har={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:i(t=>{if(t.charCodeAt(0)!==35)return;let r=t.match(har.re);if(!r)return;let a=r[1],o=parseInt(a,16),l=a.length,h=l%4===0,f=l>4,p=f?1:17,m=f?8:4,b=h?0:-1,v=f?255:15;return nL.set({r:(o>>m*(b+3)&v)*p,g:(o>>m*(b+2)&v)*p,b:(o>>m*(b+1)&v)*p,a:h?(o&v)*p/255:1},t)},"parse"),stringify:i(t=>{let{r,g:a,b:o,a:l}=t;return l<1?`#${$6[Math.round(r)]}${$6[Math.round(a)]}${$6[Math.round(o)]}${$6[Math.round(l*255)]}`:`#${$6[Math.round(r)]}${$6[Math.round(a)]}${$6[Math.round(o)]}`},"stringify")},mN=har});var bye,lee,far=ie(()=>{"use strict";RE();oee();bye={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:i(t=>{let r=t.match(bye.hueRe);if(r){let[,a,o]=r;switch(o){case"grad":return Ms.channel.clamp.h(parseFloat(a)*.9);case"rad":return Ms.channel.clamp.h(parseFloat(a)*180/Math.PI);case"turn":return Ms.channel.clamp.h(parseFloat(a)*360)}}return Ms.channel.clamp.h(parseFloat(t))},"_hue2deg"),parse:i(t=>{let r=t.charCodeAt(0);if(r!==104&&r!==72)return;let a=t.match(bye.re);if(!a)return;let[,o,l,h,f,p]=a;return nL.set({h:bye._hue2deg(o),s:Ms.channel.clamp.s(parseFloat(l)),l:Ms.channel.clamp.l(parseFloat(h)),a:f?Ms.channel.clamp.a(p?parseFloat(f)/100:parseFloat(f)):1},t)},"parse"),stringify:i(t=>{let{h:r,s:a,l:o,a:l}=t;return l<1?`hsla(${Ms.lang.round(r)}, ${Ms.lang.round(a)}%, ${Ms.lang.round(o)}%, ${l})`:`hsl(${Ms.lang.round(r)}, ${Ms.lang.round(a)}%, ${Ms.lang.round(o)}%)`},"stringify")},lee=bye});var vye,vHe,dar=ie(()=>{"use strict";bHe();vye={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:i(t=>{t=t.toLowerCase();let r=vye.colors[t];if(r)return mN.parse(r)},"parse"),stringify:i(t=>{let r=mN.stringify(t);for(let a in vye.colors)if(vye.colors[a]===r)return a},"stringify")},vHe=vye});var par,cee,gar=ie(()=>{"use strict";RE();oee();par={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:i(t=>{let r=t.charCodeAt(0);if(r!==114&&r!==82)return;let a=t.match(par.re);if(!a)return;let[,o,l,h,f,p,m,b,v]=a;return nL.set({r:Ms.channel.clamp.r(l?parseFloat(o)*2.55:parseFloat(o)),g:Ms.channel.clamp.g(f?parseFloat(h)*2.55:parseFloat(h)),b:Ms.channel.clamp.b(m?parseFloat(p)*2.55:parseFloat(p)),a:b?Ms.channel.clamp.a(v?parseFloat(b)/100:parseFloat(b)):1},t)},"parse"),stringify:i(t=>{let{r,g:a,b:o,a:l}=t;return l<1?`rgba(${Ms.lang.round(r)}, ${Ms.lang.round(a)}, ${Ms.lang.round(o)}, ${Ms.lang.round(l)})`:`rgb(${Ms.lang.round(r)}, ${Ms.lang.round(a)}, ${Ms.lang.round(o)})`},"stringify")},cee=par});var vSn,f0,G6=ie(()=>{"use strict";bHe();far();dar();gar();see();vSn={format:{keyword:vHe,hex:mN,rgb:cee,rgba:cee,hsl:lee,hsla:lee},parse:i(t=>{if(typeof t!="string")return t;let r=mN.parse(t)||cee.parse(t)||lee.parse(t)||vHe.parse(t);if(r)return r;throw new Error(`Unsupported color format: "${t}"`)},"parse"),stringify:i(t=>!t.changed&&t.color?t.color:t.type.is(h0.HSL)||t.data.r===void 0?lee.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?cee.stringify(t):mN.stringify(t),"stringify")},f0=vSn});var wSn,wye,wHe=ie(()=>{"use strict";RE();G6();wSn=i((t,r)=>{let a=f0.parse(t);for(let o in r)a[o]=Ms.channel.clamp[o](r[o]);return f0.stringify(a)},"change"),wye=wSn});var xSn,Rd,xHe=ie(()=>{"use strict";RE();oee();G6();wHe();xSn=i((t,r,a=0,o=1)=>{if(typeof t!="number")return wye(t,{a:r});let l=nL.set({r:Ms.channel.clamp.r(t),g:Ms.channel.clamp.g(r),b:Ms.channel.clamp.b(a),a:Ms.channel.clamp.a(o)});return f0.stringify(l)},"rgba"),Rd=xSn});var TSn,j6,mar=ie(()=>{"use strict";RE();G6();TSn=i((t,r)=>Ms.lang.round(f0.parse(t)[r]),"channel"),j6=TSn});var kSn,yar,bar=ie(()=>{"use strict";RE();G6();kSn=i(t=>{let{r,g:a,b:o}=f0.parse(t),l=.2126*Ms.channel.toLinear(r)+.7152*Ms.channel.toLinear(a)+.0722*Ms.channel.toLinear(o);return Ms.lang.round(l)},"luminance"),yar=kSn});var CSn,war,xar=ie(()=>{"use strict";bar();CSn=i(t=>yar(t)>=.5,"isLight"),war=CSn});var ESn,Oc,Tar=ie(()=>{"use strict";xar();ESn=i(t=>!war(t),"isDark"),Oc=ESn});var SSn,Bj,xye=ie(()=>{"use strict";RE();G6();SSn=i((t,r,a)=>{let o=f0.parse(t),l=o[r],h=Ms.channel.clamp[r](l+a);return l!==h&&(o[r]=h),f0.stringify(o)},"adjustChannel"),Bj=SSn});var ASn,Pr,kar=ie(()=>{"use strict";xye();ASn=i((t,r)=>Bj(t,"l",r),"lighten"),Pr=ASn});var RSn,Fr,Car=ie(()=>{"use strict";xye();RSn=i((t,r)=>Bj(t,"l",-r),"darken"),Fr=RSn});var LSn,Tye,Ear=ie(()=>{"use strict";xye();LSn=i((t,r)=>Bj(t,"a",-r),"transparentize"),Tye=LSn});var DSn,at,Sar=ie(()=>{"use strict";G6();wHe();DSn=i((t,r)=>{let a=f0.parse(t),o={};for(let l in r)r[l]&&(o[l]=a[l]+r[l]);return wye(t,o)},"adjust"),at=DSn});var _Sn,Aar,Rar=ie(()=>{"use strict";G6();xHe();_Sn=i((t,r,a=50)=>{let{r:o,g:l,b:h,a:f}=f0.parse(t),{r:p,g:m,b,a:v}=f0.parse(r),T=a/100,C=T*2-1,E=f-v,R=((C*E===-1?C:(C+E)/(1+C*E))+1)/2,L=1-R,_=o*R+p*L,M=l*R+m*L,I=h*R+b*L,F=f*T+v*(1-T);return Rd(_,M,I,F)},"mix"),Aar=_Sn});var MSn,Cr,Lar=ie(()=>{"use strict";G6();Rar();MSn=i((t,r=100)=>{let a=f0.parse(t);return a.r=255-a.r,a.g=255-a.g,a.b=255-a.b,Aar(a,t,r)},"invert"),Cr=MSn});var Dar=ie(()=>{"use strict";xHe();mar();Tar();kar();Car();Ear();Sar();Lar()});var Zp=ie(()=>{"use strict";Dar()});var Cg,Eg,J3=ie(()=>{"use strict";Cg="#ffffff",Eg="#f2f2f2"});var ds,_ar,lp,FT=ie(()=>{"use strict";Zp();ds=i((t,r)=>r?at(t,{s:-40,l:10}):at(t,{s:-40,l:-10}),"mkBorder"),_ar=i(t=>typeof t=="object"&&t!==null&&!Array.isArray(t),"isPlainObject"),lp=i((t,r)=>_ar(t)&&_ar(r)?{...t,...r}:r,"applyOverride")});var THe,Mar,Iar=ie(()=>{"use strict";Zp();J3();FT();THe=class{static{i(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.useGradient=!0,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,1))"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||at(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||at(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||ds(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||ds(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||ds(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||ds(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||Cr(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||Cr(this.tertiaryColor),this.lineColor=this.lineColor||Cr(this.background),this.arrowheadColor=this.arrowheadColor||Cr(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Fr(this.secondaryColor,30):this.secondaryColor),this.flowContainerStroke=this.flowContainerStroke||this.secondaryBorderColor,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||Fr(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||Cr(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,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||Pr(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.noteFontWeight=this.noteFontWeight||"normal",this.fontWeight=this.fontWeight||"normal",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.darkMode?(this.rowOdd=this.rowOdd||Fr(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||Fr(this.mainBkg,10)):(this.rowOdd=this.rowOdd||Pr(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||Pr(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||at(this.primaryColor,{h:30}),this.cScale4=this.cScale4||at(this.primaryColor,{h:60}),this.cScale5=this.cScale5||at(this.primaryColor,{h:90}),this.cScale6=this.cScale6||at(this.primaryColor,{h:120}),this.cScale7=this.cScale7||at(this.primaryColor,{h:150}),this.cScale8=this.cScale8||at(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||at(this.primaryColor,{h:270}),this.cScale10=this.cScale10||at(this.primaryColor,{h:300}),this.cScale11=this.cScale11||at(this.primaryColor,{h:330}),this.darkMode)for(let a=0;a{this[o]=r[o]}),this.updateColors(),a.forEach(o=>{this[o]=lp(this[o],r[o])}),Object.hasOwn(r,"nodeBorder")&&!Object.hasOwn(r,"useGradient")&&(this.useGradient=!1)}},Mar=i(t=>{let r=new THe;return r.calculate(t),r},"getThemeVariables")});var kHe,Nar,Oar=ie(()=>{"use strict";Zp();FT();kHe=class{static{i(this,"Theme")}constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=Pr(this.primaryColor,16),this.tertiaryColor=at(this.primaryColor,{h:-160}),this.primaryBorderColor=Cr(this.background),this.secondaryBorderColor=ds(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ds(this.tertiaryColor,this.darkMode),this.primaryTextColor=Cr(this.primaryColor),this.secondaryTextColor=Cr(this.secondaryColor),this.tertiaryTextColor=Cr(this.tertiaryColor),this.lineColor=Cr(this.background),this.textColor=Cr(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=Pr(Cr("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=Rd(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,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.clusterBkg="#302F3D",this.sectionBkgColor=Fr("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=Fr(this.sectionBkgColor,10),this.taskBorderColor=Rd(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=Rd(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||Pr(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||Fr(this.mainBkg,10),this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd",this.useGradient=!0,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,1))",this.noteFontWeight=this.noteFontWeight||"normal",this.fontWeight=this.fontWeight||"normal"}updateColors(){this.secondBkg=Pr(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=Pr(this.labelBackground,25),this.flowContainerStroke=this.flowContainerStroke||this.secondaryBorderColor,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.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.background,this.taskBkgColor=Pr(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=Cr(this.doneTaskBkgColor),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=at(this.primaryColor,{h:64}),this.fillType3=at(this.secondaryColor,{h:64}),this.fillType4=at(this.primaryColor,{h:-64}),this.fillType5=at(this.secondaryColor,{h:-64}),this.fillType6=at(this.primaryColor,{h:128}),this.fillType7=at(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||at(this.primaryColor,{h:30}),this.cScale4=this.cScale4||at(this.primaryColor,{h:60}),this.cScale5=this.cScale5||at(this.primaryColor,{h:90}),this.cScale6=this.cScale6||at(this.primaryColor,{h:120}),this.cScale7=this.cScale7||at(this.primaryColor,{h:150}),this.cScale8=this.cScale8||at(this.primaryColor,{h:210}),this.cScale9=this.cScale9||at(this.primaryColor,{h:270}),this.cScale10=this.cScale10||at(this.primaryColor,{h:300}),this.cScale11=this.cScale11||at(this.primaryColor,{h:330});for(let r=0;r{this[o]=r[o]}),this.updateColors(),a.forEach(o=>{this[o]=lp(this[o],r[o])})}},Nar=i(t=>{let r=new kHe;return r.calculate(t),r},"getThemeVariables")});var CHe,om,LE=ie(()=>{"use strict";Zp();FT();J3();CHe=class{static{i(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=at(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=at(this.primaryColor,{h:-160}),this.primaryBorderColor=ds(this.primaryColor,this.darkMode),this.secondaryBorderColor=ds(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ds(this.tertiaryColor,this.darkMode),this.primaryTextColor=Cr(this.primaryColor),this.secondaryTextColor=Cr(this.secondaryColor),this.tertiaryTextColor=Cr(this.tertiaryColor),this.lineColor=Cr(this.background),this.textColor=Cr(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.primaryBorderColor=ds(this.primaryColor,this.darkMode),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.radius=5,this.strokeWidth=1,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.clusterBkg="#FBFBFF",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=Rd(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.noteFontWeight=this.noteFontWeight||"normal",this.fontWeight=this.fontWeight||"normal",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.useGradient=!1,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow(1px 2px 2px rgba(185, 185, 185, 1))",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||at(this.primaryColor,{h:30}),this.cScale4=this.cScale4||at(this.primaryColor,{h:60}),this.cScale5=this.cScale5||at(this.primaryColor,{h:90}),this.cScale6=this.cScale6||at(this.primaryColor,{h:120}),this.cScale7=this.cScale7||at(this.primaryColor,{h:150}),this.cScale8=this.cScale8||at(this.primaryColor,{h:210}),this.cScale9=this.cScale9||at(this.primaryColor,{h:270}),this.cScale10=this.cScale10||at(this.primaryColor,{h:300}),this.cScale11=this.cScale11||at(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||Fr(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||Fr(this.tertiaryColor,40);for(let r=0;r{this[o]==="calculated"&&(this[o]=void 0)}),typeof r!="object"){this.updateColors();return}let a=Object.keys(r);a.forEach(o=>{this[o]=r[o]}),this.updateColors(),a.forEach(o=>{this[o]=lp(this[o],r[o])})}},om=i(t=>{let r=new CHe;return r.calculate(t),r},"getThemeVariables")});var EHe,Par,Bar=ie(()=>{"use strict";Zp();J3();FT();EHe=class{static{i(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=Pr("#cde498",10),this.primaryBorderColor=ds(this.primaryColor,this.darkMode),this.secondaryBorderColor=ds(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ds(this.tertiaryColor,this.darkMode),this.primaryTextColor=Cr(this.primaryColor),this.secondaryTextColor=Cr(this.secondaryColor),this.tertiaryTextColor=Cr(this.primaryColor),this.lineColor=Cr(this.background),this.textColor=Cr(this.background),this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,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.noteFontWeight="normal",this.fontWeight="normal",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.useGradient=!0,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,0.5))"}updateColors(){this.actorBorder=Fr(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.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||at(this.primaryColor,{h:30}),this.cScale4=this.cScale4||at(this.primaryColor,{h:60}),this.cScale5=this.cScale5||at(this.primaryColor,{h:90}),this.cScale6=this.cScale6||at(this.primaryColor,{h:120}),this.cScale7=this.cScale7||at(this.primaryColor,{h:150}),this.cScale8=this.cScale8||at(this.primaryColor,{h:210}),this.cScale9=this.cScale9||at(this.primaryColor,{h:270}),this.cScale10=this.cScale10||at(this.primaryColor,{h:300}),this.cScale11=this.cScale11||at(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||Fr(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||Fr(this.tertiaryColor,40);for(let r=0;r{this[o]=r[o]}),this.updateColors(),a.forEach(o=>{this[o]=lp(this[o],r[o])})}},Par=i(t=>{let r=new EHe;return r.calculate(t),r},"getThemeVariables")});var SHe,Far,$ar=ie(()=>{"use strict";Zp();FT();J3();SHe=class{static{i(this,"Theme")}constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=Pr(this.contrast,55),this.background="#ffffff",this.tertiaryColor=at(this.primaryColor,{h:-160}),this.primaryBorderColor=ds(this.primaryColor,this.darkMode),this.secondaryBorderColor=ds(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ds(this.tertiaryColor,this.darkMode),this.primaryTextColor=Cr(this.primaryColor),this.secondaryTextColor=Cr(this.secondaryColor),this.tertiaryTextColor=Cr(this.tertiaryColor),this.lineColor=Cr(this.background),this.textColor=Cr(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.radius=5,this.strokeWidth=1,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor=this.actorBorder,this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.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.noteFontWeight="normal",this.fontWeight="normal",this.rowOdd=this.rowOdd||Pr(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||"#f4f4f4",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.useGradient=!0,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,1))"}updateColors(){this.secondBkg=Pr(this.contrast,55),this.border2=this.contrast,this.actorBorder=Pr(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,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 r=0;r{this[o]=r[o]}),this.updateColors(),a.forEach(o=>{this[o]=lp(this[o],r[o])})}},Far=i(t=>{let r=new SHe;return r.calculate(t),r},"getThemeVariables")});var AHe,Gar,jar=ie(()=>{"use strict";Zp();FT();J3();AHe=class{static{i(this,"Theme")}constructor(){this.background="#ffffff",this.primaryColor="#cccccc",this.mainBkg="#ffffff",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.radius=3,this.strokeWidth=2,this.primaryBorderColor=ds(this.primaryColor,this.darkMode),this.fontFamily="arial, sans-serif",this.fontSize="14px",this.nodeBorder="#000000",this.stateBorder="#000000",this.useGradient=!0,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="drop-shadow( 0px 1px 2px rgba(0, 0, 0, 0.25));",this.tertiaryColor="#ffffff",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal"}updateColors(){this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||at(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||at(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||ds(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||ds(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||ds(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||ds(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||Cr(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||Cr(this.tertiaryColor),this.lineColor=this.lineColor||Cr(this.background),this.arrowheadColor=this.arrowheadColor||Cr(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Fr(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.flowContainerStroke=this.flowContainerStroke||this.secondaryBorderColor,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||Fr(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||Cr(this.lineColor),this.rectBkgColor=this.rectBkgColor||(Oc(this.background)?Pr(this.background,4):Fr(this.background,4));let r="#ECECFE",a="#E9E9F1",o=at(r,{h:180,l:5});if(this.sectionBkgColor=this.sectionBkgColor||o,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||a,this.sectionBkgColor2=this.sectionBkgColor2||r,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||r,this.activeTaskBorderColor=this.activeTaskBorderColor||r,this.activeTaskBkgColor=this.activeTaskBkgColor||Pr(r,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",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||r,this.cScale1=this.cScale1||a,this.cScale2=this.cScale2||o,this.cScale3=this.cScale3||at(r,{h:30}),this.cScale4=this.cScale4||at(r,{h:60}),this.cScale5=this.cScale5||at(r,{h:90}),this.cScale6=this.cScale6||at(r,{h:120}),this.cScale7=this.cScale7||at(r,{h:150}),this.cScale8=this.cScale8||at(r,{h:210,l:150}),this.cScale9=this.cScale9||at(r,{h:270}),this.cScale10=this.cScale10||at(r,{h:300}),this.cScale11=this.cScale11||at(r,{h:330}),this.darkMode)for(let h=0;h{this[o]=r[o]}),this.updateColors(),a.forEach(o=>{this[o]=lp(this[o],r[o])})}},Gar=i(t=>{let r=new AHe;return r.calculate(t),r},"getThemeVariables")});var RHe,zar,Uar=ie(()=>{"use strict";Zp();FT();J3();RHe=class{static{i(this,"Theme")}constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=Pr(this.primaryColor,16),this.tertiaryColor=at(this.primaryColor,{h:-160}),this.primaryBorderColor=Cr(this.background),this.secondaryBorderColor=ds(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ds(this.tertiaryColor,this.darkMode),this.primaryTextColor=Cr(this.primaryColor),this.secondaryTextColor=Cr(this.secondaryColor),this.tertiaryTextColor=Cr(this.tertiaryColor),this.mainBkg="#2a2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=Pr(Cr("#323D47"),10),this.border1="#ccc",this.border2=Rd(255,255,255,.25),this.arrowheadColor=Cr(this.background),this.fontFamily="arial, sans-serif",this.fontSize="14px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=3,this.strokeWidth=1,this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily="arial, sans-serif",this.fontSize="14px",this.useGradient=!0,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,0.2))",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||at(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||at(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||ds(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||ds(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||ds(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||ds(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||Cr(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||Cr(this.tertiaryColor),this.lineColor=this.lineColor||Cr(this.background),this.arrowheadColor=this.arrowheadColor||Cr(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.secondBkg=this.secondBkg==="calculated"?Pr(this.mainBkg,16):this.secondBkg,this.nodeBorder=this.nodeBorder||this.border1,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Fr(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.flowContainerStroke=this.flowContainerStroke||this.secondaryBorderColor,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||Fr(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||Cr(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,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||Pr(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||this.secondBkg,this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.vertLineColor=this.vertLineColor||this.primaryBorderColor,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.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",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||at(this.primaryColor,{h:30}),this.cScale4=this.cScale4||at(this.primaryColor,{h:60}),this.cScale5=this.cScale5||at(this.primaryColor,{h:90}),this.cScale6=this.cScale6||at(this.primaryColor,{h:120}),this.cScale7=this.cScale7||at(this.primaryColor,{h:150}),this.cScale8=this.cScale8||at(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||at(this.primaryColor,{h:270}),this.cScale10=this.cScale10||at(this.primaryColor,{h:300}),this.cScale11=this.cScale11||at(this.primaryColor,{h:330}),this.darkMode)for(let a=0;a{this[o]=r[o]}),this.updateColors(),a.forEach(o=>{this[o]=lp(this[o],r[o])})}},zar=i(t=>{let r=new RHe;return r.calculate(t),r},"getThemeVariables")});var LHe,Var,Har=ie(()=>{"use strict";Zp();FT();J3();LHe=class{static{i(this,"Theme")}constructor(){this.background="#ffffff",this.primaryColor="#cccccc",this.mainBkg="#ffffff",this.noteBkgColor="#fff5ad",this.noteTextColor="#28253D",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.primaryBorderColor=ds("#28253D",this.darkMode),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#28253D",this.stateBorder="#28253D",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.tertiaryColor="#ffffff",this.clusterBkg="#F9F9FB",this.clusterBorder="#BDBCCC",this.noteBorderColor="#FACC15",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.actorBorder="#28253D",this.filterColor="#000000"}updateColors(){this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#28253D"),this.secondaryColor=this.secondaryColor||at(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||at(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||ds(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||ds(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||ds(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||ds(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#FEF9C3",this.noteTextColor=this.noteTextColor||"#28253D",this.secondaryTextColor=this.secondaryTextColor||Cr(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||Cr(this.tertiaryColor),this.lineColor=this.lineColor||Cr(this.background),this.arrowheadColor=this.arrowheadColor||Cr(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Fr(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.flowContainerStroke=this.flowContainerStroke||this.secondaryBorderColor,this.noteFontWeight=600,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||Fr(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||Cr(this.lineColor),this.rectBkgColor=this.rectBkgColor||(Oc(this.background)?Pr(this.background,4):Fr(this.background,4));let r="#ECECFE",a="#E9E9F1",o=at(r,{h:180,l:5});this.sectionBkgColor=this.sectionBkgColor||o,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||a,this.sectionBkgColor2=this.sectionBkgColor2||r,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||r,this.activeTaskBorderColor=this.activeTaskBorderColor||r,this.activeTaskBkgColor=this.activeTaskBkgColor||Pr(r,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,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.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.compositeTitleBackground="#F9F9FB",this.altBackground="#F9F9FB",this.stateEdgeLabelBackground="#FFFFFF",this.fontWeight=600,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.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor;for(let h=0;h{this[o]=r[o]}),this.updateColors(),a.forEach(o=>{this[o]=lp(this[o],r[o])})}},Var=i(t=>{let r=new LHe;return r.calculate(t),r},"getThemeVariables")});var DHe,qar,War=ie(()=>{"use strict";Zp();FT();J3();DHe=class{static{i(this,"Theme")}constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=Pr(this.primaryColor,16),this.tertiaryColor=at(this.primaryColor,{h:-160}),this.primaryBorderColor=Cr(this.background),this.secondaryBorderColor=ds(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ds(this.tertiaryColor,this.darkMode),this.primaryTextColor=Cr(this.primaryColor),this.secondaryTextColor=Cr(this.secondaryColor),this.tertiaryTextColor=Cr(this.tertiaryColor),this.mainBkg="#111113",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=Pr(Cr("#323D47"),10),this.border1="#ccc",this.border2=Rd(255,255,255,.25),this.arrowheadColor=Cr(this.background),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.labelBackground="#111113",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.noteBkgColor=this.noteBkgColor??"#FEF9C3",this.noteTextColor=this.noteTextColor??"#28253D",this.THEME_COLOR_LIMIT=12,this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#FFFFFF",this.stateBorder="#FFFFFF",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.clusterBkg="#1E1A2E",this.clusterBorder="#BDBCCC",this.noteBorderColor="#FACC15",this.noteFontWeight=600,this.filterColor="#FFFFFF"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#FFFFFF"),this.secondaryColor=this.secondaryColor||at(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||at(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||ds(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||ds(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||ds(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||ds(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#FFFFFF",this.secondaryTextColor=this.secondaryTextColor||Cr(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||Cr(this.tertiaryColor),this.lineColor=this.lineColor||Cr(this.background),this.arrowheadColor=this.arrowheadColor||Cr(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.secondBkg=this.secondBkg==="calculated"?Pr(this.mainBkg,16):this.secondBkg,this.nodeBorder=this.nodeBorder||this.border1,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Fr(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.flowContainerStroke=this.flowContainerStroke||this.secondaryBorderColor,this.actorBorder="#FFFFFF",this.signalColor="#FFFFFF",this.labelBoxBorderColor="#BDBCCC",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||Fr(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||Cr(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,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||Pr(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||this.secondBkg,this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.compositeBackground="#16141F",this.altBackground="#16141F",this.compositeTitleBackground="#16141F",this.stateEdgeLabelBackground="#16141F",this.fontWeight=600,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.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||at(this.primaryColor,{h:30}),this.cScale4=this.cScale4||at(this.primaryColor,{h:60}),this.cScale5=this.cScale5||at(this.primaryColor,{h:90}),this.cScale6=this.cScale6||at(this.primaryColor,{h:120}),this.cScale7=this.cScale7||at(this.primaryColor,{h:150}),this.cScale8=this.cScale8||at(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||at(this.primaryColor,{h:270}),this.cScale10=this.cScale10||at(this.primaryColor,{h:300}),this.cScale11=this.cScale11||at(this.primaryColor,{h:330}),this.darkMode)for(let a=0;a{this[o]=r[o]}),this.updateColors(),a.forEach(o=>{this[o]=lp(this[o],r[o])})}},qar=i(t=>{let r=new DHe;return r.calculate(t),r},"getThemeVariables")});var _He,Yar,Kar=ie(()=>{"use strict";Zp();FT();J3();_He=class{static{i(this,"Theme")}constructor(){this.background="#ffffff",this.primaryColor="#cccccc",this.mainBkg="#ffffff",this.noteBkgColor="#fff5ad",this.noteTextColor="#28253D",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.primaryBorderColor=ds("#28253D",this.darkMode),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#28253D",this.stateBorder="#28253D",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.tertiaryColor="#ffffff",this.clusterBkg="#F9F9FB",this.clusterBorder="#BDBCCC",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.actorBorder="#28253D",this.noteBorderColor="#FACC15",this.noteFontWeight=600,this.borderColorArray=["#E879F9","#2DD4BF","#FB923C","#22D3EE","#4ADE80","#A78BFA","#F87171","#FACC15","#818CF8","#A3E635 ","#38BDF8","#FB7185"],this.bkgColorArray=["#FDF4FF","#F0FDFA","#FFF7ED","#ECFEFF","#F0FDF4","#F5F3FF","#FEF2F2","#FEFCE8","#EEF2FF","#F7FEE7","#F0F9FF","#FFF1F2"],this.usecaseActorBorder="#A78BFA",this.usecaseActorBkg="#F5F3FF",this.usecaseBorder="#2DD4BF",this.usecaseBkg="#F0FDFA",this.usecaseBoundaryBorder="#BDBCCC",this.usecaseBoundaryBkg="#FAFAFC",this.usecaseIncludeLine="#38BDF8",this.usecaseExtendLine="#FB923C",this.filterColor="#000000"}updateColors(){this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#28253D"),this.secondaryColor=this.secondaryColor||at(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||at(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||ds(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||ds(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||ds(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||ds(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#28253D",this.secondaryTextColor=this.secondaryTextColor||Cr(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||Cr(this.tertiaryColor),this.lineColor=this.lineColor||Cr(this.background),this.arrowheadColor=this.arrowheadColor||Cr(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Fr(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.flowContainerStroke=this.flowContainerStroke||this.secondaryBorderColor,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||Fr(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||Cr(this.lineColor),this.rectBkgColor=this.rectBkgColor||(Oc(this.background)?Pr(this.background,4):Fr(this.background,4));let r="#ECECFE",a="#E9E9F1",o=at(r,{h:180,l:5});this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||r,this.activeTaskBorderColor=this.activeTaskBorderColor||r,this.activeTaskBkgColor=this.activeTaskBkgColor||Pr(r,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,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.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateEdgeLabelBackground=this.stateEdgeLabelBackground||"#FFFFFF",this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#F9F9FB",this.compositeTitleBackground=this.compositeTitleBackground||"#F9F9FB",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||"#f4a8ff",this.cScale1=this.cScale1||"#46ecd5",this.cScale2=this.cScale2||"#ffb86a",this.cScale3=this.cScale3||"#dab2ff",this.cScale4=this.cScale4||"#7bf1a8",this.cScale5=this.cScale5||"#c4b4ff",this.cScale6=this.cScale6||"#ffa2a2",this.cScale7=this.cScale7||"#ffdf20",this.cScale8=this.cScale8||"#a3b3ff",this.cScale9=this.cScale9||"#bbf451",this.cScale10=this.cScale10||"#74d4ff",this.cScale11=this.cScale11||"#ffa1ad",this.sectionBkgColor=this.sectionBkgColor||this.cScale0,this.sectionBkgColor2=this.sectionBkgColor2||this.cScale1,this.altSectionBkgColor=this.altSectionBkgColor||"white";for(let h=0;h{this[o]=r[o]}),this.updateColors(),a.forEach(o=>{this[o]=lp(this[o],r[o])})}},Yar=i(t=>{let r=new _He;return r.calculate(t),r},"getThemeVariables")});var MHe,Xar,Qar=ie(()=>{"use strict";Zp();FT();J3();MHe=class{static{i(this,"Theme")}constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=Pr(this.primaryColor,16),this.tertiaryColor=at(this.primaryColor,{h:-160}),this.primaryBorderColor=Cr(this.background),this.secondaryBorderColor=ds(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ds(this.tertiaryColor,this.darkMode),this.primaryTextColor=Cr(this.primaryColor),this.secondaryTextColor=Cr(this.secondaryColor),this.tertiaryTextColor=Cr(this.tertiaryColor),this.mainBkg="#111113",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=Pr(Cr("#323D47"),10),this.border1="#ccc",this.border2=Rd(255,255,255,.25),this.arrowheadColor=Cr(this.background),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.labelBackground="#111113",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.noteBkgColor=this.noteBkgColor??"#FEF9C3",this.noteTextColor=this.noteTextColor??"#28253D",this.THEME_COLOR_LIMIT=12,this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#FFFFFF",this.stateBorder="#FFFFFF",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.clusterBkg="#1E1A2E",this.clusterBorder="#BDBCCC",this.noteBorderColor="#FACC15",this.noteFontWeight=600,this.borderColorArray=["#E879F9","#2DD4BF","#FB923C","#22D3EE","#4ADE80","#A78BFA","#F87171","#FACC15","#818CF8","#A3E635 ","#38BDF8","#FB7185"],this.bkgColorArray=[],this.usecaseActorBorder="#A78BFA",this.usecaseBorder="#2DD4BF",this.usecaseBoundaryBorder="#BDBCCC",this.usecaseIncludeLine="#38BDF8",this.usecaseExtendLine="#FB923C",this.filterColor="#FFFFFF"}updateColors(){this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#FFFFFF"),this.secondaryColor=this.secondaryColor||at(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||at(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||ds(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||ds(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||ds(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||ds(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#FFFFFF",this.secondaryTextColor=this.secondaryTextColor||Cr(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||Cr(this.tertiaryColor),this.lineColor=this.lineColor||Cr(this.background),this.arrowheadColor=this.arrowheadColor||Cr(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.secondBkg=this.secondBkg==="calculated"?Pr(this.mainBkg,16):this.secondBkg,this.nodeBorder=this.nodeBorder||this.border1,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Fr(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.flowContainerStroke=this.flowContainerStroke||this.secondaryBorderColor,this.actorBorder="#FFFFFF",this.signalColor="#FFFFFF",this.labelBoxBorderColor="#BDBCCC",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||Fr(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||Cr(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.rootLabelColor="#FFFFFF",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||Pr(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||this.secondBkg,this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,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.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateEdgeLabelBackground=this.stateEdgeLabelBackground||"#16141F",this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||"#16141F",this.altBackground=this.altBackground||"#16141F",this.compositeTitleBackground=this.compositeTitleBackground||"#16141F",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||"#f4a8ff",this.cScale1=this.cScale1||"#46ecd5",this.cScale2=this.cScale2||"#ffb86a",this.cScale3=this.cScale3||"#dab2ff",this.cScale4=this.cScale4||"#7bf1a8",this.cScale5=this.cScale5||"#c4b4ff",this.cScale6=this.cScale6||"#ffa2a2",this.cScale7=this.cScale7||"#ffdf20",this.cScale8=this.cScale8||"#a3b3ff",this.cScale9=this.cScale9||"#bbf451",this.cScale10=this.cScale10||"#74d4ff",this.cScale11=this.cScale11||"#ffa1ad",this.sectionBkgColor=this.sectionBkgColor||this.cScale0,this.sectionBkgColor2=this.sectionBkgColor2||this.cScale1,this.altSectionBkgColor=this.altSectionBkgColor||this.background;for(let o=0;o{this["fillType"+l]=this["fillType"+l]||o});for(let o=0;o{this[o]=r[o]}),this.updateColors(),a.forEach(o=>{this[o]=lp(this[o],r[o])})}},Xar=i(t=>{let r=new MHe;return r.calculate(t),r},"getThemeVariables")});var $T,Cye=ie(()=>{"use strict";Iar();Oar();LE();Bar();$ar();jar();Uar();Har();War();Kar();Qar();$T={base:{getThemeVariables:Mar},dark:{getThemeVariables:Nar},default:{getThemeVariables:om},forest:{getThemeVariables:Par},neutral:{getThemeVariables:Far},neo:{getThemeVariables:Gar},"neo-dark":{getThemeVariables:zar},redux:{getThemeVariables:Var},"redux-dark":{getThemeVariables:qar},"redux-color":{getThemeVariables:Yar},"redux-dark-color":{getThemeVariables:Xar}}});var cp,Jar=ie(()=>{"use strict";cp={flowchart:{useMaxWidth:!0,theme:"redux-color",look:"neo",titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:null,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,wrappingWidth:120,minNodeWidth:120,inheritDir:!1},swimlane:{useMaxWidth:!0,theme:"redux-color",look:"neo",layout:"swimlane",lineHops:"arc",ignoreCrossLaneEdges:!0,optimizeRanksByCrossings:!0,automaticLaneOrdering:!1},agentflow:{useMaxWidth:!0,theme:"redux-color",look:"neo",titleTopMargin:25,diagramPadding:8,nodeSpacing:50,rankSpacing:50,wrappingWidth:120,minNodeWidth:120},sequence:{useMaxWidth:!0,theme:"redux-color",look:"neo",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,theme:"redux-color",look:"neo",titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,htmlLabels:!1,hideEmptyMembersBox:!1,hierarchicalNamespaces:!0},state:{useMaxWidth:!0,theme:"redux-color",look:"neo",layout:"elk",wrappingWidth:120,minNodeWidth:120,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},er:{useMaxWidth:!0,theme:"redux-color",look:"neo",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,donutHole:0,legendPosition:"right",highlightSlice:""},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,showDataLabelOutsideBar:!1,showTitle:!0,showLegend:!0,legendFontSize:14,legendPadding:10,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,labelRotation:0},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,labelRotation:0},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,theme:"redux-color",look:"neo",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,colorBy:"branch",padding:10,maxNodeWidth:200,layoutAlgorithm:"cose-bilkent"},ishikawa:{useMaxWidth:!0,diagramPadding:20},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:"",nodeWidth:10,nodePadding:12,labelStyle:"legacy"},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,bitOrder:"ascending",paddingX:5,paddingY:5},treeView:{useMaxWidth:!0,rowIndent:10,paddingX:5,paddingY:5,lineThickness:1,showIcons:!1,defaultIconPack:"",filenameIcons:{},extensionIcons:{}},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16,randomize:!1,nodeSeparation:75,idealEdgeLengthMultiplier:1.5,edgeElasticity:.45,numIter:2500,seed:1},eventmodeling:{useMaxWidth:!0,padding:30,rowHeight:32},radar:{useMaxWidth:!0,width:600,height:600,marginTop:50,marginRight:50,marginBottom:50,marginLeft:50,axisScaleFactor:1,axisLabelFactor:1.05,curveTension:.17},usecase:{useMaxWidth:!0,theme:"redux-color",look:"neo",wrappingWidth:120,minNodeWidth:120,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:"normal",usecaseFontSize:12,usecaseFontFamily:'"Open Sans", sans-serif',usecaseFontWeight:"normal",nodeSpacing:50,rankSpacing:50,diagramPadding:20,colorScheme:"role"},venn:{useMaxWidth:!0,theme:"redux-color",look:"neo",width:800,height:450,padding:8,useDebugLayout:!1},cynefin:{useMaxWidth:!0,width:800,height:600,padding:40,showDomainDescriptions:!0,boundaryAmplitude:8,seed:0},theme:"default",look:"classic",handDrawnSeed:0,layout:"elk",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:!1,forceLegacyMathML:!1,deterministicIds:!1,fontSize:16,markdownAutoWrap:!0,suppressErrorRendering:!1}});var Zar,esr,tsr,hs,up=ie(()=>{"use strict";Cye();Jar();Zar={...cp,deterministicIDSeed:void 0,elk:{mergeEdges:!1,straightenEdges:!0,lineHops:!0,preset:"default",nodePlacementStrategy:void 0,layeringStrategy:void 0,cycleBreakingStrategy:void 0,layeringLayerBound:4,nodePlacementAlignment:void 0,forceNodeModelOrder:!1,considerModelOrder:"NODES_AND_EDGES",keepEntryNodeOnTop:!1,orientFeedbackEdges:!0},themeCSS:void 0,themeVariables:$T.default.getThemeVariables(),sequence:{...cp.sequence,messageFont:i(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:i(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:i(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{theme:cp.class?.theme,look:cp.class?.look,layout:cp.class?.layout,hideEmptyMembersBox:!1,hierarchicalNamespaces:!0},gantt:{...cp.gantt,tickInterval:void 0,useWidth:void 0},c4:{...cp.c4,useWidth:void 0,personFont:i(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),flowchart:{...cp.flowchart,inheritDir:!1},external_personFont:i(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:i(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:i(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:i(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:i(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:i(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:i(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:i(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:i(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:i(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:i(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:i(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:i(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:i(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:i(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:i(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:i(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:i(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:i(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:i(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:i(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...cp.pie,useWidth:984},xyChart:{...cp.xyChart,useWidth:void 0},requirement:{...cp.requirement,useWidth:void 0},packet:{...cp.packet},eventmodeling:{...cp.eventmodeling},treeView:{...cp.treeView,useWidth:void 0},radar:{...cp.radar},usecase:{...cp.usecase},railroad:{...cp.railroad,fontSize:void 0,fontFamily:void 0,terminalFill:void 0,terminalStroke:void 0,terminalTextColor:void 0,nonTerminalFill:void 0,nonTerminalStroke:void 0,nonTerminalTextColor:void 0,lineColor:void 0,markerFill:void 0,commentFill:void 0,commentStroke:void 0,commentTextColor:void 0,specialFill:void 0,specialStroke:void 0,ruleNameColor:void 0},ishikawa:{...cp.ishikawa},sankey:{...cp.sankey,nodeColors:void 0},treemap:{useMaxWidth:!0,padding:10,diagramPadding:8,showValues:!0,nodeWidth:100,nodeHeight:40,borderWidth:1,valueFontSize:12,labelFontSize:14,valueFormat:","},venn:{...cp.venn},cynefin:{...cp.cynefin}},esr=i((t,r="")=>Object.keys(t).reduce((a,o)=>Array.isArray(t[o])?a:typeof t[o]=="object"&&t[o]!==null?[...a,r+o,...esr(t[o],"")]:[...a,r+o],[]),"keyify"),tsr=new Set(esr(Zar,"")),hs=Zar});var ISn,rsr,nsr=ie(()=>{"use strict";ISn={"flowchart-v2":"flowchart","flowchart-elk":"flowchart",classDiagram:"class",stateDiagram:"state",xychart:"xyChart",railroadAbnf:"railroad",railroadEbnf:"railroad",railroadPeg:"railroad"},rsr=i(t=>ISn[t]??t,"getDiagramConfigKey")});var NSn,OSn,Fj,IHe,Eye=ie(()=>{"use strict";up();Xn();NSn={nodeColors:/^#[\da-f]{3,8}$|^rgb\([\d\s%,.]+\)$|^hsl\([\d\s%,.]+\)$|^[a-z]+$/i,filenameIcons:/^[\w-]+(?::[\w-]+)?$/,extensionIcons:/^[\w-]+(?::[\w-]+)?$/},OSn=i((t,r)=>{for(let a of Object.keys(t)){let o=t[a];(a.startsWith("__")||a.includes("proto")||a.includes("constr")||typeof o!="string"||!r.test(o))&&(Pe.debug("sanitize deleting dictionary entry:",a,o),delete t[a])}},"sanitizeDictionaryConfig"),Fj=i(t=>{if(Pe.debug("sanitizeDirective called with",t),!(typeof t!="object"||t==null)){if(Array.isArray(t)){t.forEach(r=>Fj(r));return}for(let r of Object.keys(t)){if(Pe.debug("Checking key",r),r.startsWith("__")||r.includes("proto")||r.includes("constr")||!tsr.has(r)||t[r]==null){Pe.debug("sanitize deleting key: ",r),delete t[r];continue}if(typeof t[r]=="object"){let o=NSn[r];o?OSn(t[r],o):(Pe.debug("sanitizing object",r),Fj(t[r]));continue}let a=["themeCSS","fontFamily","altFontFamily"];for(let o of a)r.includes(o)&&(Pe.debug("sanitizing css option",r),t[r]=IHe(t[r]))}if(t.themeVariables)for(let r of Object.keys(t.themeVariables)){let a=t.themeVariables[r];a?.match&&!a.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[r]="")}Pe.debug("After sanitization",t)}},"sanitizeDirective"),IHe=i(t=>{let r=0,a=0;for(let o of t){if(r{"use strict";Pj();Xn();Cye();up();nsr();Eye();DE=Object.freeze(hs),PSn=["theme","look","layout"],BSn=new Set(["classic","handDrawn","neo"]),FSn=i((t,r)=>t==="theme"?r==="null"||Object.hasOwn($T,r):t!=="look"||BSn.has(r),"isUsableAppearance"),$Sn=i((t,r,a)=>t?[t[r]?.[a],t[a]].find(l=>l!==void 0&&FSn(a,l)):void 0,"readAppearance"),lm=i(t=>!(t===!1||["false","null","0"].includes(String(t).trim().toLowerCase())),"evaluate"),db=Fh({},DE),Aye={},z6=[],uee=Fh({},DE),GSn=i((t,r)=>{if(!hee)return;let a=[r,...[...z6].reverse(),Aye,DE],o=t[hee];for(let l of PSn)for(let h of a){let f=$Sn(h,hee,l);if(f!==void 0){t[l]=f,o?.[l]!==void 0&&(o[l]=f);break}}},"resolveAppearance"),$j=i((t,r)=>{let a=Fh({},t),o={};for(let h of r)osr(h),o=Fh(o,h);if(a=Fh(a,o),GSn(a,o),(!!o.theme||a.theme!==t.theme)&&a.theme&&Object.hasOwn($T,a.theme)){let h=Fh({},Sye),f=Fh(h.themeVariables||{},o.themeVariables);a.themeVariables=$T[a.theme].getThemeVariables(f)}return uee=a,zSn(uee),uee},"updateCurrentConfig"),Rye=i(t=>{hee=t===void 0?void 0:rsr(t),$j(db,z6)},"setDiagramConfigScope"),NHe=i(t=>(db=Fh({},DE),db=Fh(db,t),Aye=Fh({},t),t.theme&&Object.hasOwn($T,t.theme)&&(db.themeVariables=$T[t.theme].getThemeVariables(t.themeVariables)),$j(db,z6),db),"setSiteConfig"),asr=i(t=>{Sye=Fh({},t)},"saveConfigFromInitialize"),ssr=i(t=>(db=Fh(db,t),Aye=Fh(Aye,t),$j(db,z6),db),"updateSiteConfig"),OHe=i(()=>Fh({},db),"getSiteConfig"),Lye=i(t=>($j(uee,[t]),ii()),"setConfig"),ii=i(()=>Fh({},uee),"getConfig"),osr=i(t=>{t&&(["secure",...db.secure??[]].forEach(r=>{Object.hasOwn(t,r)&&(Pe.debug(`Denied attempt to modify a secure key ${r}`,t[r]),delete t[r])}),Object.keys(t).forEach(r=>{r.startsWith("__")&&delete t[r]}),Object.keys(t).forEach(r=>{typeof t[r]=="string"&&(t[r].includes("<")||t[r].includes(">")||t[r].includes("url(data:"))&&delete t[r],typeof t[r]=="object"&&osr(t[r])}))},"sanitize"),lsr=i(t=>{Fj(t),t.fontFamily&&!t.themeVariables?.fontFamily&&(t.themeVariables={...t.themeVariables,fontFamily:t.fontFamily}),z6.push(t),$j(db,z6)},"addDirective"),fee=i((t=db)=>{z6=[],hee=void 0,$j(t,z6)},"reset"),jSn={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",FLOWCHART_HTML_LABELS_DEPRECATED:"flowchart.htmlLabels is deprecated. Please use global htmlLabels instead."},isr={},csr=i(t=>{isr[t]||(Pe.warn(jSn[t]),isr[t]=!0)},"issueWarning"),zSn=i(t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&csr("LAZY_LOAD_DEPRECATED")},"checkConfig"),usr=i(()=>{let t={};Sye&&(t=Fh(t,Sye));for(let r of z6)t=Fh(t,r);return t},"getUserDefinedConfig"),$h=i(t=>(t.flowchart?.htmlLabels!=null&&csr("FLOWCHART_HTML_LABELS_DEPRECATED"),lm(t.htmlLabels??t.flowchart?.htmlLabels??!0)),"getEffectiveHtmlLabels")});function hsr(t,r){(r==null||r>t.length)&&(r=t.length);for(var a=0,o=Array(r);a1?a-1:0),l=1;l2&&arguments[2]!==void 0?arguments[2]:gee;if(fsr&&fsr(t,null),!aL(r))return t;let o=r.length;for(;o--;){let l=r[o];if(typeof l=="string"){let h=a(l);h!==l&&(YSn(r)||(r[o]=h),l=h)}t[l]=!0}return t}function n5n(t){for(let r=0;r0&&arguments[0]!==void 0?arguments[0]:v5n(),r=i(Ii=>Rsr(Ii),"DOMPurify");if(r.version="3.4.12",r.removed=[],!t||!t.document||t.document.nodeType!==Iw.document||!t.Element)return r.isSupported=!1,r;let a=t.document,o=a,l=o.currentScript;t.DocumentFragment;let h=t.HTMLTemplateElement,f=t.Node,p=t.Element,m=t.NodeFilter,b=t.NamedNodeMap;b===void 0&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;let v=t.DOMParser,T=t.trustedTypes,C=p.prototype,E=ME(C,"cloneNode"),S=ME(C,"remove"),R=ME(C,"nextSibling"),L=ME(C,"childNodes"),_=ME(C,"parentNode"),M=ME(C,"shadowRoot"),I=ME(C,"attributes"),F=f&&f.prototype?ME(f.prototype,"nodeType"):null,O=f&&f.prototype?ME(f.prototype,"nodeName"):null;if(typeof h=="function"){let Ii=a.createElement("template");Ii.content&&Ii.content.ownerDocument&&(a=Ii.content.ownerDocument)}let P,G="",V,Y=!1,K=0,J=i(function(){if(K>0)throw yN('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},"_assertNotInTrustedTypesPolicy"),H=i(function(Nt){J(),K++;try{return P.createHTML(Nt)}finally{K--}},"_createTrustedHTML"),q=i(function(Nt){J(),K++;try{return P.createScriptURL(Nt)}finally{K--}},"_createTrustedScriptURL"),Z=i(function(){return Y||(V=w5n(T,l),Y=!0),V},"_getDefaultTrustedTypesPolicy"),Q=a,W=Q.implementation,te=Q.createNodeIterator,z=Q.createDocumentFragment,re=Q.getElementsByTagName,ae=o.importNode,ce=Esr();r.isSupported=typeof Ssr=="function"&&typeof _=="function"&&W&&W.createHTMLDocument!==void 0;let le=l5n,de=c5n,ve=u5n,Se=h5n,_e=f5n,Ce=d5n,Ve=p5n,De=m5n,qe=Tsr,Ue=null,We=Pc({},[...bsr,...BHe,...FHe,...$He,...vsr]),mt=null,ct=Pc({},[...wsr,...GHe,...xsr,...Dye]),Ot=Object.seal(zj(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}})),yr=null,tr=null,Xe=Object.seal(zj(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Rt=!0,ft=!0,bt=!1,Me=!0,Fe=!1,je=!0,He=!1,nt=!1,ze=null,se=null,ke=!1,Le=!1,he=!1,Ne=!1,Ee=!0,ye=!1,be="user-content-",ht=!0,Je=!1,it={},lt=null,Vt=Pc({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),$t=null,gr=Pc({},["audio","video","img","source","image","track"]),jt=null,qt=Pc({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Wt="http://www.w3.org/1998/Math/MathML",Ut="http://www.w3.org/2000/svg",rn="http://www.w3.org/1999/xhtml",pt=rn,$n=!1,Gt=null,Rn=Pc({},[Wt,Ut,rn],PHe),Qn=i1(["mi","mo","mn","ms","mtext"]),En=Pc({},Qn),di=i1(["annotation-xml"]),Bn=Pc({},di),mi=Pc({},["title","style","font","a","script"]),Qr=null,Pi=["application/xhtml+xml","text/html"],qa="text/html",Ke=null,Tn=null,Ln=a.createElement("form"),dt=i(function(Nt){return Nt instanceof RegExp||Nt instanceof Function},"isRegexOrFunction"),rr=i(function(){let Nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Tn&&Tn===Nt)return;(!Nt||typeof Nt!="object")&&(Nt={}),Nt=pb(Nt),Qr=Pi.indexOf(Nt.PARSER_MEDIA_TYPE)===-1?qa:Nt.PARSER_MEDIA_TYPE,Ke=Qr==="application/xhtml+xml"?PHe:gee,Ue=iL(Nt,"ALLOWED_TAGS",We,{transform:Ke}),mt=iL(Nt,"ALLOWED_ATTR",ct,{transform:Ke}),Gt=iL(Nt,"ALLOWED_NAMESPACES",Rn,{transform:PHe}),jt=iL(Nt,"ADD_URI_SAFE_ATTR",qt,{transform:Ke,base:qt}),$t=iL(Nt,"ADD_DATA_URI_TAGS",gr,{transform:Ke,base:gr}),lt=iL(Nt,"FORBID_CONTENTS",Vt,{transform:Ke}),yr=iL(Nt,"FORBID_TAGS",pb({}),{transform:Ke}),tr=iL(Nt,"FORBID_ATTR",pb({}),{transform:Ke}),it=um(Nt,"USE_PROFILES")?Nt.USE_PROFILES&&typeof Nt.USE_PROFILES=="object"?pb(Nt.USE_PROFILES):Nt.USE_PROFILES:!1,Rt=Nt.ALLOW_ARIA_ATTR!==!1,ft=Nt.ALLOW_DATA_ATTR!==!1,bt=Nt.ALLOW_UNKNOWN_PROTOCOLS||!1,Me=Nt.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Fe=Nt.SAFE_FOR_TEMPLATES||!1,je=Nt.SAFE_FOR_XML!==!1,He=Nt.WHOLE_DOCUMENT||!1,Le=Nt.RETURN_DOM||!1,he=Nt.RETURN_DOM_FRAGMENT||!1,Ne=Nt.RETURN_TRUSTED_TYPE||!1,ke=Nt.FORCE_BODY||!1,Ee=Nt.SANITIZE_DOM!==!1,ye=Nt.SANITIZE_NAMED_PROPS||!1,ht=Nt.KEEP_CONTENT!==!1,Je=Nt.IN_PLACE||!1,qe=a5n(Nt.ALLOWED_URI_REGEXP)?Nt.ALLOWED_URI_REGEXP:Tsr,pt=typeof Nt.NAMESPACE=="string"?Nt.NAMESPACE:rn,En=um(Nt,"MATHML_TEXT_INTEGRATION_POINTS")&&Nt.MATHML_TEXT_INTEGRATION_POINTS&&typeof Nt.MATHML_TEXT_INTEGRATION_POINTS=="object"?pb(Nt.MATHML_TEXT_INTEGRATION_POINTS):Pc({},Qn),Bn=um(Nt,"HTML_INTEGRATION_POINTS")&&Nt.HTML_INTEGRATION_POINTS&&typeof Nt.HTML_INTEGRATION_POINTS=="object"?pb(Nt.HTML_INTEGRATION_POINTS):Pc({},di);let Ur=um(Nt,"CUSTOM_ELEMENT_HANDLING")&&Nt.CUSTOM_ELEMENT_HANDLING&&typeof Nt.CUSTOM_ELEMENT_HANDLING=="object"?pb(Nt.CUSTOM_ELEMENT_HANDLING):zj(null);if(Ot=zj(null),um(Ur,"tagNameCheck")&&dt(Ur.tagNameCheck)&&(Ot.tagNameCheck=Ur.tagNameCheck),um(Ur,"attributeNameCheck")&&dt(Ur.attributeNameCheck)&&(Ot.attributeNameCheck=Ur.attributeNameCheck),um(Ur,"allowCustomizedBuiltInElements")&&typeof Ur.allowCustomizedBuiltInElements=="boolean"&&(Ot.allowCustomizedBuiltInElements=Ur.allowCustomizedBuiltInElements),a1(Ot),Fe&&(ft=!1),he&&(Le=!0),it&&(Ue=Pc({},vsr),mt=zj(null),it.html===!0&&(Pc(Ue,bsr),Pc(mt,wsr)),it.svg===!0&&(Pc(Ue,BHe),Pc(mt,GHe),Pc(mt,Dye)),it.svgFilters===!0&&(Pc(Ue,FHe),Pc(mt,GHe),Pc(mt,Dye)),it.mathMl===!0&&(Pc(Ue,$He),Pc(mt,xsr),Pc(mt,Dye))),Xe.tagCheck=null,Xe.attributeCheck=null,um(Nt,"ADD_TAGS")&&(typeof Nt.ADD_TAGS=="function"?Xe.tagCheck=Nt.ADD_TAGS:aL(Nt.ADD_TAGS)&&(Ue===We&&(Ue=pb(Ue)),Pc(Ue,Nt.ADD_TAGS,Ke))),um(Nt,"ADD_ATTR")&&(typeof Nt.ADD_ATTR=="function"?Xe.attributeCheck=Nt.ADD_ATTR:aL(Nt.ADD_ATTR)&&(mt===ct&&(mt=pb(mt)),Pc(mt,Nt.ADD_ATTR,Ke))),um(Nt,"ADD_URI_SAFE_ATTR")&&aL(Nt.ADD_URI_SAFE_ATTR)&&Pc(jt,Nt.ADD_URI_SAFE_ATTR,Ke),um(Nt,"FORBID_CONTENTS")&&aL(Nt.FORBID_CONTENTS)&&(lt===Vt&&(lt=pb(lt)),Pc(lt,Nt.FORBID_CONTENTS,Ke)),um(Nt,"ADD_FORBID_CONTENTS")&&aL(Nt.ADD_FORBID_CONTENTS)&&(lt===Vt&&(lt=pb(lt)),Pc(lt,Nt.ADD_FORBID_CONTENTS,Ke)),ht&&(Ue["#text"]=!0),He&&Pc(Ue,["html","head","body"]),Ue.table&&(Pc(Ue,["tbody"]),delete yr.tbody),Nt.TRUSTED_TYPES_POLICY){if(typeof Nt.TRUSTED_TYPES_POLICY.createHTML!="function")throw yN('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Nt.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw yN('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let On=P;P=Nt.TRUSTED_TYPES_POLICY;try{G=H("")}catch(La){throw P=On,La}}else Nt.TRUSTED_TYPES_POLICY===null?(P=void 0,G=""):(P===void 0&&(P=Z()),P&&typeof G=="string"&&(G=H("")));i1&&i1(Nt),Tn=Nt},"_parseConfig"),Yr=Pc({},[...BHe,...FHe,...s5n]),An=Pc({},[...$He,...o5n]),Cn=i(function(Nt,Ur,On){return Ur.namespaceURI===rn?Nt==="svg":Ur.namespaceURI===Wt?Nt==="svg"&&(On==="annotation-xml"||En[On]):!!Yr[Nt]},"_checkSvgNamespace"),es=i(function(Nt,Ur,On){return Ur.namespaceURI===rn?Nt==="math":Ur.namespaceURI===Ut?Nt==="math"&&Bn[On]:!!An[Nt]},"_checkMathMlNamespace"),vr=i(function(Nt,Ur,On){return Ur.namespaceURI===Ut&&!Bn[On]||Ur.namespaceURI===Wt&&!En[On]?!1:!An[Nt]&&(mi[Nt]||!Yr[Nt])},"_checkHtmlNamespace"),an=i(function(Nt){let Ur=_(Nt);(!Ur||!Ur.tagName)&&(Ur={namespaceURI:pt,tagName:"template"});let On=gee(Nt.tagName),La=gee(Ur.tagName);return Gt[Nt.namespaceURI]?Nt.namespaceURI===Ut?Cn(On,Ur,La):Nt.namespaceURI===Wt?es(On,Ur,La):Nt.namespaceURI===rn?vr(On,Ur,La):!!(Qr==="application/xhtml+xml"&&Gt[Nt.namespaceURI]):!1},"_checkValidNamespace"),Dn=i(function(Nt){jj(r.removed,{element:Nt});try{_(Nt).removeChild(Nt)}catch{if(S(Nt),!_(Nt))throw yN("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},"_forceRemove"),Ni=i(function(Nt){Ua(Nt);let Ur=L(Nt);if(Ur){let La=[];Gj(Ur,la=>{jj(La,la)}),Gj(La,la=>{try{S(la)}catch{}})}let On=I(Nt);if(On)for(let La=On.length-1;La>=0;--La){let la=On[La],Na=la&&la.name;if(typeof Na=="string")try{Nt.removeAttribute(Na)}catch{}}},"_neutralizeRoot"),Gi=i(function(Nt,Ur){try{jj(r.removed,{attribute:Ur.getAttributeNode(Nt),from:Ur})}catch{jj(r.removed,{attribute:null,from:Ur})}if(Ur.removeAttribute(Nt),Nt==="is")if(Le||he)try{Dn(Ur)}catch{}else try{Ur.setAttribute(Nt,"")}catch{}},"_removeAttribute"),va=i(function(Nt){let Ur=I(Nt);if(Ur)for(let On=Ur.length-1;On>=0;--On){let La=Ur[On],la=La&&La.name;if(!(typeof la!="string"||mt[Ke(la)]))try{Nt.removeAttribute(la)}catch{}}},"_stripDisallowedAttributes"),Ua=i(function(Nt){let Ur=[Nt];for(;Ur.length>0;){let On=Ur.pop();(F?F(On):On.nodeType)===Iw.element&&va(On);let la=L(On);if(la)for(let Na=la.length-1;Na>=0;--Na)Ur.push(la[Na])}},"_neutralizeSubtree"),aa=i(function(Nt){if(!je)return;let Ur=[Nt];for(;Ur.length>0;){let On=Ur.pop(),La=F?F(On):On.nodeType;if(La===Iw.processingInstruction||La===Iw.comment&&cm(Csr,On.data)){try{S(On)}catch{}continue}if(La===Iw.element){let Na=On,Su=Ke(O?O(On):On.nodeName);try{Na.hasAttribute&&Na.hasAttribute("patchsrc")&&Na.removeAttribute("patchsrc"),Na.hasAttribute&&Na.hasAttribute("for")&&Su!=="label"&&Su!=="output"&&Na.removeAttribute("for")}catch{}}let la=L(On);if(la)for(let Na=la.length-1;Na>=0;--Na)Ur.push(la[Na])}},"_neutralizePatchLinkage"),Yn=i(function(Nt){let Ur=null,On=null;if(ke)Nt=""+Nt;else{let Na=psr(Nt,/^[\r\n\t ]+/);On=Na&&Na[0]}Qr==="application/xhtml+xml"&&pt===rn&&(Nt=''+Nt+"");let La=P?H(Nt):Nt;if(pt===rn)try{Ur=new v().parseFromString(La,Qr)}catch{}if(!Ur||!Ur.documentElement){Ur=W.createDocument(pt,"template",null);try{Ur.documentElement.innerHTML=$n?G:La}catch{}}let la=Ur.body||Ur.documentElement;return Nt&&On&&la.insertBefore(a.createTextNode(On),la.childNodes[0]||null),pt===rn?re.call(Ur,He?"html":"body")[0]:He?Ur.documentElement:la},"_initDocument"),kn=i(function(Nt){return te.call(Nt.ownerDocument||Nt,Nt,m.SHOW_ELEMENT|m.SHOW_COMMENT|m.SHOW_TEXT|m.SHOW_PROCESSING_INSTRUCTION|m.SHOW_CDATA_SECTION,null)},"_createNodeIterator"),ci=i(function(Nt){return Nt=dee(Nt,le," "),Nt=dee(Nt,de," "),Nt=dee(Nt,ve," "),Nt},"_stripTemplateExpressions"),Mi=i(function(Nt){var Ur;Nt.normalize();let On=te.call(Nt.ownerDocument||Nt,Nt,m.SHOW_TEXT|m.SHOW_COMMENT|m.SHOW_CDATA_SECTION|m.SHOW_PROCESSING_INSTRUCTION,null),La=On.nextNode();for(;La;)La.data=ci(La.data),La=On.nextNode();let la=(Ur=Nt.querySelectorAll)===null||Ur===void 0?void 0:Ur.call(Nt,"template");la&&Gj(la,Na=>{pa(Na.content)&&Mi(Na.content)})},"_scrubTemplateExpressions"),jn=i(function(Nt){let Ur=O?O(Nt):null;return typeof Ur!="string"||Ke(Ur)!=="form"?!1:typeof Nt.nodeName!="string"||typeof Nt.textContent!="string"||typeof Nt.removeChild!="function"||Nt.attributes!==I(Nt)||typeof Nt.removeAttribute!="function"||typeof Nt.setAttribute!="function"||typeof Nt.namespaceURI!="string"||typeof Nt.insertBefore!="function"||typeof Nt.hasChildNodes!="function"||Nt.nodeType!==F(Nt)||Nt.childNodes!==L(Nt)},"_isClobbered"),pa=i(function(Nt){if(!F||typeof Nt!="object"||Nt===null)return!1;try{return F(Nt)===Iw.documentFragment}catch{return!1}},"_isDocumentFragment"),wt=i(function(Nt){if(!F||typeof Nt!="object"||Nt===null)return!1;try{return typeof F(Nt)=="number"}catch{return!1}},"_isNode");function fl(Ii,Nt,Ur){Ii.length!==0&&Gj(Ii,On=>{On.call(r,Nt,Ur,Tn)})}i(fl,"_executeHooks");let Pt=i(function(Nt,Ur){return!!(je&&Nt.hasChildNodes()&&!wt(Nt.firstElementChild)&&cm(ksr,Nt.textContent)&&cm(ksr,Nt.innerHTML)||je&&Nt.namespaceURI===rn&&Ur==="style"&&wt(Nt.firstElementChild)||Nt.nodeType===Iw.processingInstruction||je&&Nt.nodeType===Iw.comment&&cm(Csr,Nt.data))},"_isUnsafeNode"),is=i(function(Nt,Ur){if(!yr[Ur]&&Mr(Ur)&&(Ot.tagNameCheck instanceof RegExp&&cm(Ot.tagNameCheck,Ur)||Ot.tagNameCheck instanceof Function&&Ot.tagNameCheck(Ur)))return!1;if(ht&&!lt[Ur]){let On=_(Nt),La=L(Nt);if(La&&On){let la=La.length;for(let Na=la-1;Na>=0;--Na){let Su=Je?La[Na]:E(La[Na],!0);On.insertBefore(Su,R(Nt))}}}return Dn(Nt),!0},"_sanitizeDisallowedNode"),ia=i(function(Nt,Ur){if(fl(ce.beforeSanitizeElements,Nt,null),Nt!==Ur&&_(Nt)===null)return!0;if(jn(Nt))return Dn(Nt),!0;let On=Ke(O?O(Nt):Nt.nodeName);if(fl(ce.uponSanitizeElement,Nt,{tagName:On,allowedTags:Ue}),Nt!==Ur&&_(Nt)===null)return!0;if(Pt(Nt,On))return Dn(Nt),!0;if(yr[On]||!(Xe.tagCheck instanceof Function&&Xe.tagCheck(On))&&!Ue[On]){let la=is(Nt,On);return la===!1&&fl(ce.afterSanitizeElements,Nt,null),la}if((F?F(Nt):Nt.nodeType)===Iw.element&&!an(Nt)||(On==="noscript"||On==="noembed"||On==="noframes")&&cm(y5n,Nt.innerHTML))return Dn(Nt),!0;if(Fe&&Nt.nodeType===Iw.text){let la=ci(Nt.textContent);Nt.textContent!==la&&(jj(r.removed,{element:Nt.cloneNode()}),Nt.textContent=la)}return fl(ce.afterSanitizeElements,Nt,null),!1},"_sanitizeElements"),Wa=i(function(Nt,Ur,On){if(tr[Ur]||je&&Ur==="patchsrc"||je&&Ur==="for"&&Nt!=="label"&&Nt!=="output"||Ee&&(Ur==="id"||Ur==="name")&&(On in a||On in Ln))return!1;let La=mt[Ur]||Xe.attributeCheck instanceof Function&&Xe.attributeCheck(Ur,Nt);if(!(ft&&cm(Se,Ur))){if(!(Rt&&cm(_e,Ur))){if(La){if(!jt[Ur]){if(!cm(qe,dee(On,Ve,""))){if(!((Ur==="src"||Ur==="xlink:href"||Ur==="href")&&Nt!=="script"&&gsr(On,"data:")===0&&$t[Nt])){if(!(bt&&!cm(Ce,dee(On,Ve,"")))){if(On)return!1}}}}}else if(!(Mr(Nt)&&(Ot.tagNameCheck instanceof RegExp&&cm(Ot.tagNameCheck,Nt)||Ot.tagNameCheck instanceof Function&&Ot.tagNameCheck(Nt))&&(Ot.attributeNameCheck instanceof RegExp&&cm(Ot.attributeNameCheck,Ur)||Ot.attributeNameCheck instanceof Function&&Ot.attributeNameCheck(Ur,Nt))||Ur==="is"&&Ot.allowCustomizedBuiltInElements&&(Ot.tagNameCheck instanceof RegExp&&cm(Ot.tagNameCheck,On)||Ot.tagNameCheck instanceof Function&&Ot.tagNameCheck(On))))return!1}}return!0},"_isValidAttribute"),Ss=Pc({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Mr=i(function(Nt){return!Ss[gee(Nt)]&&cm(De,Nt)},"_isBasicCustomElement"),hc=i(function(Nt,Ur,On,La){if(P&&typeof T=="object"&&typeof T.getAttributeType=="function"&&!On)switch(T.getAttributeType(Nt,Ur)){case"TrustedHTML":return H(La);case"TrustedScriptURL":return q(La)}return La},"_applyTrustedTypesToAttribute"),st=i(function(Nt,Ur,On,La){try{On?Nt.setAttributeNS(On,Ur,La):Nt.setAttribute(Ur,La),jn(Nt)?Dn(Nt):dsr(r.removed)}catch{Gi(Ur,Nt)}},"_setAttributeValue"),eo=i(function(Nt){fl(ce.beforeSanitizeAttributes,Nt,null);let Ur=Nt.attributes;if(!Ur||jn(Nt))return;let On={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:mt,forceKeepAttr:void 0},La=Ur.length,la=Ke(Nt.nodeName);for(;La--;){let Na=Ur[La],Su=Na.name,Ch=Na.namespaceURI,ed=Na.value,td=Ke(Su),Hh=ed,Jl=Su==="value"?Hh:ZSn(Hh);if(On.attrName=td,On.attrValue=Jl,On.keepAttr=!0,On.forceKeepAttr=void 0,fl(ce.uponSanitizeAttribute,Nt,On),Jl=On.attrValue,ye&&(td==="id"||td==="name")&&gsr(Jl,be)!==0&&(Gi(Su,Nt),Jl=be+Jl),je&&cm(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Jl)){Gi(Su,Nt);continue}if(td==="attributename"&&psr(Jl,"href")){Gi(Su,Nt);continue}if(!On.forceKeepAttr){if(!On.keepAttr){Gi(Su,Nt);continue}if(!Me&&cm(b5n,Jl)){Gi(Su,Nt);continue}if(Fe&&(Jl=ci(Jl)),!Wa(la,td,Jl)){Gi(Su,Nt);continue}Jl=hc(la,td,Ch,Jl),Jl!==Hh&&st(Nt,Su,Ch,Jl)}}fl(ce.afterSanitizeAttributes,Nt,null)},"_sanitizeAttributes"),ut=i(function(Nt){let Ur=null,On=kn(Nt);for(fl(ce.beforeSanitizeShadowDOM,Nt,null);Ur=On.nextNode();)if(fl(ce.uponSanitizeShadowNode,Ur,null),ia(Ur,Nt),eo(Ur),pa(Ur.content)&&ut(Ur.content),(F?F(Ur):Ur.nodeType)===Iw.element){let la=M(Ur);pa(la)&&(dl(la),ut(la))}fl(ce.afterSanitizeShadowDOM,Nt,null)},"_sanitizeShadowDOM"),dl=i(function(Nt){let Ur=[{node:Nt,shadow:null}];for(;Ur.length>0;){let On=Ur.pop();if(On.shadow){ut(On.shadow);continue}let La=On.node,Na=(F?F(La):La.nodeType)===Iw.element,Su=L(La);if(Su)for(let Ch=Su.length-1;Ch>=0;--Ch)Ur.push({node:Su[Ch],shadow:null});if(Na){let Ch=O?O(La):null;if(typeof Ch=="string"&&Ke(Ch)==="template"){let ed=La.content;pa(ed)&&Ur.push({node:ed,shadow:null})}}if(Na){let Ch=M(La);pa(Ch)&&Ur.push({node:null,shadow:Ch},{node:Ch,shadow:null})}}},"_sanitizeAttachedShadowRoots");return r.sanitize=function(Ii){let Nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ur=null,On=null,La=null,la=null;if($n=!Ii,$n&&(Ii=""),typeof Ii!="string"&&!wt(Ii)&&(Ii=i5n(Ii),typeof Ii!="string"))throw yN("dirty is not a string, aborting");if(!r.isSupported)return Ii;nt?(Ue=ze,mt=se):rr(Nt),(ce.uponSanitizeElement.length>0||ce.uponSanitizeAttribute.length>0)&&(Ue=pb(Ue)),ce.uponSanitizeAttribute.length>0&&(mt=pb(mt)),r.removed=[];let Na=Je&&typeof Ii!="string"&&wt(Ii);if(Na){aa(Ii);let td=O?O(Ii):Ii.nodeName;if(typeof td=="string"){let Hh=Ke(td);if(!Ue[Hh]||yr[Hh])throw Ni(Ii),yN("root node is forbidden and cannot be sanitized in-place")}if(jn(Ii))throw Ni(Ii),yN("root node is clobbered and cannot be sanitized in-place");try{dl(Ii)}catch(Hh){throw Ni(Ii),Hh}}else if(wt(Ii))Ur=Yn(""),On=Ur.ownerDocument.importNode(Ii,!0),On.nodeType===Iw.element&&On.nodeName==="BODY"||On.nodeName==="HTML"?Ur=On:Ur.appendChild(On),dl(On);else{if(!Le&&!Fe&&!He&&Ii.indexOf("<")===-1)return P&&Ne?H(Ii):Ii;if(Ur=Yn(Ii),!Ur)return Le?null:Ne?G:""}Ur&&ke&&Dn(Ur.firstChild);let Su=Na?Ii:Ur,Ch=kn(Su);try{for(;La=Ch.nextNode();)ia(La,Su),eo(La),pa(La.content)&&ut(La.content)}catch(td){throw Na&&(Ni(Ii),Gj(r.removed,Hh=>{Hh.element&&Ua(Hh.element)})),td}if(Na)return Gj(r.removed,td=>{td.element&&Ua(td.element)}),Fe&&Mi(Ii),Ii;if(Le){if(Fe&&Mi(Ur),he)for(la=z.call(Ur.ownerDocument);Ur.firstChild;)la.appendChild(Ur.firstChild);else la=Ur;return(mt.shadowroot||mt.shadowrootmode)&&(la=ae.call(o,la,!0)),la}let ed=He?Ur.outerHTML:Ur.innerHTML;return He&&Ue["!doctype"]&&Ur.ownerDocument&&Ur.ownerDocument.doctype&&Ur.ownerDocument.doctype.name&&cm(g5n,Ur.ownerDocument.doctype.name)&&(ed=" +`+ed),Fe&&(ed=ci(ed)),P&&Ne?H(ed):ed},r.setConfig=function(){let Ii=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};rr(Ii),nt=!0,ze=Ue,se=mt},r.clearConfig=function(){Tn=null,nt=!1,ze=null,se=null,P=V,G=""},r.isValidAttribute=function(Ii,Nt,Ur){Tn||rr({});let On=Ke(Ii),La=Ke(Nt);return Wa(On,La,Ur)},r.addHook=function(Ii,Nt){typeof Nt=="function"&&um(ce,Ii)&&jj(ce[Ii],Nt)},r.removeHook=function(Ii,Nt){if(um(ce,Ii)){if(Nt!==void 0){let Ur=QSn(ce[Ii],Nt);return Ur===-1?void 0:JSn(ce[Ii],Ur,1)[0]}return dsr(ce[Ii])}},r.removeHooks=function(Ii){um(ce,Ii)&&(ce[Ii]=[])},r.removeAllHooks=function(){ce=Esr()},r}var Ssr,fsr,YSn,KSn,XSn,i1,a1,zj,Asr,jHe,zHe,Gj,QSn,dsr,jj,JSn,aL,gee,PHe,psr,dee,gsr,ZSn,e5n,t5n,msr,ysr,um,pee,cm,yN,bsr,BHe,FHe,s5n,$He,o5n,vsr,wsr,GHe,xsr,Dye,l5n,c5n,u5n,h5n,f5n,Tsr,d5n,p5n,g5n,m5n,ksr,Csr,y5n,b5n,Iw,v5n,w5n,Esr,iL,Z1,bN=ie(()=>{"use strict";i(hsr,"_arrayLikeToArray");i(USn,"_arrayWithHoles");i(VSn,"_iterableToArrayLimit");i(HSn,"_nonIterableRest");i(qSn,"_slicedToArray");i(WSn,"_unsupportedIterableToArray");Ssr=Object.entries,fsr=Object.setPrototypeOf,YSn=Object.isFrozen,KSn=Object.getPrototypeOf,XSn=Object.getOwnPropertyDescriptor,i1=Object.freeze,a1=Object.seal,zj=Object.create,Asr=typeof Reflect<"u"&&Reflect,jHe=Asr.apply,zHe=Asr.construct;i1||(i1=i(function(r){return r},"freeze"));a1||(a1=i(function(r){return r},"seal"));jHe||(jHe=i(function(r,a){for(var o=arguments.length,l=new Array(o>2?o-2:0),h=2;h1?a-1:0),l=1;l"u"?null:Sg(BigInt.prototype.toString),ysr=typeof Symbol>"u"?null:Sg(Symbol.prototype.toString),um=Sg(Object.prototype.hasOwnProperty),pee=Sg(Object.prototype.toString),cm=Sg(RegExp.prototype.test),yN=r5n(TypeError);i(Sg,"unapply");i(r5n,"unconstruct");i(Pc,"addToSet");i(n5n,"cleanArray");i(pb,"clone");i(i5n,"stringifyValue");i(ME,"lookupGetter");i(a5n,"isRegex");bsr=i1(["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"]),BHe=i1(["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"]),FHe=i1(["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"]),s5n=i1(["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"]),$He=i1(["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"]),o5n=i1(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),vsr=i1(["#text"]),wsr=i1(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","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","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),GHe=i1(["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","dominant-baseline","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-orientation","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"]),xsr=i1(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","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"]),Dye=i1(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),l5n=a1(/{{[\w\W]*|^[\w\W]*}}/g),c5n=a1(/<%[\w\W]*|^[\w\W]*%>/g),u5n=a1(/\${[\w\W]*/g),h5n=a1(/^data-[\-\w.\u00B7-\uFFFF]+$/),f5n=a1(/^aria-[\-\w]+$/),Tsr=a1(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),d5n=a1(/^(?:\w+script|data):/i),p5n=a1(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),g5n=a1(/^html$/i),m5n=a1(/^[a-z][.\w]*(-[.\w]+)+$/i),ksr=a1(/<[/\w!]/g),Csr=a1(/<[/\w]/g),y5n=a1(/<\/no(script|embed|frames)/i),b5n=a1(/\/>/i),Iw={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},v5n=i(function(){return typeof window>"u"?null:window},"getGlobal"),w5n=i(function(r,a){if(typeof r!="object"||typeof r.createPolicy!="function")return null;let o=null,l="data-tt-policy-suffix";a&&a.hasAttribute(l)&&(o=a.getAttribute(l));let h="dompurify"+(o?"#"+o:"");try{return r.createPolicy(h,{createHTML(f){return f},createScriptURL(f){return f}})}catch{return console.warn("TrustedTypes policy "+h+" could not be created."),null}},"_createTrustedTypesPolicy"),Esr=i(function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},"_createHooksMap"),iL=i(function(r,a,o,l){return um(r,a)&&aL(r[a])?Pc(l.base?pb(l.base):{},r[a],l.transform):o},"_resolveSetOption");i(Rsr,"createDOMPurify");Z1=Rsr()});var clr={};cs(clr,{ParseError:()=>Oi,SETTINGS_SCHEMA:()=>zye,__defineFunction:()=>Ta,__defineMacro:()=>yt,__defineSymbol:()=>Ae,__domTree:()=>llr,__parse:()=>ilr,__renderToDomTree:()=>ibe,__renderToHTMLTree:()=>slr,__setFontMetrics:()=>bor,default:()=>xAn,render:()=>Pqe,renderToString:()=>nlr,version:()=>olr});function A5n(t){if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{};default:throw new Error("Unexpected schema type; settings must declare an explicit default.")}}function R5n(t){if(Object.prototype.hasOwnProperty.call(t,"default")&&t.default!==void 0)return t.default;var r=Array.isArray(t.type)?t.type[0]:t.type;return A5n(r)}function L5n(t,r,a,o){var l=Object.prototype.hasOwnProperty.call(a,r)?a[r]:void 0,h=Object.prototype.hasOwnProperty.call(o,"processor")?o.processor:void 0;t[r]=l!==void 0?h?h(l):l:R5n(o)}function P5n(t){for(var r=0;r=l[0]&&t<=l[1])return a.name}return null}function dor(t){for(var r=0;r=jye[r]&&t<=jye[r+1])return!0;return!1}function W5n(t){return"toText"in t}function Q5n(t){if(t instanceof yb)return t;throw new Error("Expected symbolNode but got "+String(t)+".")}function J5n(t){if(t instanceof uL)return t;throw new Error("Expected span but got "+String(t)+".")}function bor(t,r){OE[t]=r}function Cqe(t,r,a){if(!OE[r])throw new Error("Font metrics not found for font: "+r+".");var o=t.charCodeAt(0),l=OE[r][o];if(!l&&t[0]in Dsr&&(o=Dsr[t[0]].charCodeAt(0),l=OE[r][o]),!l&&a==="text"&&dor(o)&&(l=OE[r][77]),l)return{depth:l[0],height:l[1],italic:l[2],skew:l[3],width:l[4]}}function e6n(t){var r;if(t>=5?r=0:t>=3?r=1:r=2,!VHe[r]){var a=VHe[r]={cssEmPerMu:UHe.quad[r]/18};for(var o of Object.keys(UHe))a[o]=UHe[o][r]}return VHe[r]}function Ae(t,r,a,o,l,h){Hf[t][l]={font:r,group:a,replace:o},h&&o&&(Hf[t][o]=Hf[t][l])}function Yv(t){var r=t.strict,a=t.errorCode,o=t.errorMsg,l=t.token,h=t.report,f=r;if(typeof r=="function")if(h)f=r(a,o,l);else try{f=r(a,o,l)}catch{f="error"}switch(f){case!0:case"error":if(h)throw new Oi("LaTeX-incompatible input and strict mode is set to 'error': "+(o+" ["+a+"]"),l);return!0;case!1:case"ignore":if(!h)return!1;break;case"warn":default:if(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(o+" ["+a+"]")),!h)return!1;break}}function Ta(t){for(var r=t.type,a=t.names,o=t.htmlBuilder,l=t.mathmlBuilder,h=0;h0&&(h.push(Pye(f,r)),f=[]),h.push(o[p]));f.length>0&&h.push(Pye(f,r));var b;a?(b=Pye(p0(a,r,!0),r),b.classes=["katex-tag"],h.push(b)):l&&h.push(l);var v=Ri(["katex-html"],h);if(v.setAttribute("aria-hidden","true"),b){var T=b.children[0];T.style.height=Ki(v.height+v.depth),v.depth&&(T.style.verticalAlign=Ki(-v.depth))}return v}function Sor(t){return new lL(t)}function WHe(t){if(!t)return!1;if(t.type==="mi"&&t.children.length===1){var r=t.children[0];return r instanceof hp&&r.text==="."}else if(t.type==="mo"&&t.children.length===1&&t.getAttribute("separator")==="true"&&t.getAttribute("lspace")==="0em"&&t.getAttribute("rspace")==="0em"){var a=t.children[0];return a instanceof hp&&a.text===","}else return!1}function Gsr(t,r,a,o,l){var h=Pw(t,a),f;h.length===1&&h[0]instanceof $i&&g6n.has(h[0].type)?f=h[0]:f=new $i("mrow",h);var p=new $i("annotation",[new hp(r)]);p.setAttribute("encoding","application/x-tex");var m=new $i("semantics",[f,p]),b=new $i("math",[m]);b.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),o&&b.setAttribute("display","block");var v=l?"katex":"katex-mathml";return Ri([v],[b])}function R6n(t){return S6n.has(t)}function Kl(t,r){if(!t||t.type!==r)throw new Error("Expected node of type "+r+", but got "+(t?"node of type "+t.type:String(t)));return t}function Zye(t){var r=ebe(t);if(!r)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return r}function ebe(t){return t.type==="atom"||A6n.has(t.type)?t:null}function Lqe(t,r,a){var o="";for(var l of t.body)if(l.type==="textord")o+=l.text;else if(a&&l.type==="spacing"&&l.text===" ")o+=" ";else throw new Oi(r,t);return o}function _6n(t,r){var a=p0(t.body,r,!0);return Ri([t.mclass],a,r)}function M6n(t,r){var a,o=Pw(t.body,r);return t.mclass==="minner"?a=new $i("mpadded",o):t.mclass==="mord"?t.isCharacterBox?(a=o[0],a.type="mi"):a=new $i("mi",o):(t.isCharacterBox?(a=o[0],a.type="mo"):a=new $i("mo",o),t.mclass==="mbin"?(a.attributes.lspace="0.22em",a.attributes.rspace="0.22em"):t.mclass==="mpunct"?(a.attributes.lspace="0em",a.attributes.rspace="0.17em"):(t.mclass==="mopen"||t.mclass==="mclose")&&(a.attributes.lspace="0em",a.attributes.rspace="0em")),a}function O6n(t,r,a){var o=I6n[t];switch(o){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return a.callFunction(o,[r[0]],[r[1]]);case"\\uparrow":case"\\downarrow":{var l=a.callFunction("\\\\cdleft",[r[0]],[]),h={type:"atom",text:o,mode:"math",family:"rel"},f=a.callFunction("\\Big",[h],[]),p=a.callFunction("\\\\cdright",[r[1]],[]),m={type:"ordgroup",mode:"math",body:[l,f,p]};return a.callFunction("\\\\cdparent",[m],[])}case"\\\\cdlongequal":return a.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var b={type:"textord",text:"\\Vert",mode:"math"};return a.callFunction("\\Big",[b],[])}default:return{type:"textord",text:" ",mode:"math"}}}function P6n(t){var r=[];for(t.gullet.beginGroup(),t.gullet.macros.set("\\cr","\\\\\\relax"),t.gullet.beginGroup();;){r.push(t.parseExpression(!1,"\\\\")),t.gullet.endGroup(),t.gullet.beginGroup();var a=t.fetch().text;if(a==="&"||a==="\\\\")t.consume();else if(a==="\\end"){r[r.length-1].length===0&&r.pop();break}else throw new Oi("Expected \\\\ or \\cr or \\end",t.nextToken)}for(var o=[],l=[o],h=0;hAV".includes(b))for(var T=0;T<2;T++){for(var C=!0,E=m+1;EAV=|." after @',f[m]);var S=O6n(b,v,t),R={type:"styling",body:[S],mode:"math",style:"display",resetFont:!0};o.push(R),p=Usr()}h%2===0?o.push(p):o.shift(),o=[],l.push(o)}t.gullet.endGroup(),t.gullet.endGroup();var L=new Array(l[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:l,arraystretch:1,addJot:!0,rowGaps:[null],cols:L,colSeparationType:"CD",hLinesBeforeRow:new Array(l.length+1).fill([])}}function qsr(t){return"isMiddle"in t}function rbe(t,r){var a=ebe(t);if(a&&K6n.has(a.text))return a;throw a?new Oi("Invalid delimiter '"+a.text+"' after '"+r.funcName+"'",t):new Oi("Invalid delimiter type '"+t.type+"'",t)}function Wsr(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}function BE(t){for(var r=t.type,a=t.names,o=t.props,l=t.handler,h=t.htmlBuilder,f=t.mathmlBuilder,p={type:r,numArgs:o.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:l},m=0;m1||!v)&&!Array.isArray(M?.[M.length-1])&&!(m&&M?.[M.length-1]===!0)&&R.pop(),_.length{"use strict";Oi=class t extends Error{static{i(this,"ParseError")}constructor(r,a){var o="KaTeX parse error: "+r,l,h,f=a&&a.loc;if(f&&f.start<=f.end){var p=f.lexer.input;l=f.start,h=f.end,l===p.length?o+=" at end of input: ":o+=" at position "+(l+1)+": ";var m=p.slice(l,h).replace(/[^]/g,"$&\u0332"),b;l>15?b="\u2026"+p.slice(l-15,l):b=p.slice(0,l);var v;h+15t.replace(x5n,"-$1").toLowerCase(),"hyphenate"),k5n={"&":"&",">":">","<":"<",'"':""","'":"'"},C5n=/[&><"']/g,ty=i(t=>String(t).replace(C5n,r=>k5n[r]),"escape"),Gye=i(t=>t.type==="ordgroup"||t.type==="color"?t.body.length===1?Gye(t.body[0]):t:t.type==="font"?Gye(t.body):t,"getBaseElem"),E5n=new Set(["mathord","textord","atom"]),q6=i(t=>E5n.has(Gye(t).type),"isCharacterBox"),S5n=i(t=>{var r=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(t);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},"protocolFromUrl"),zye={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:i(t=>"#"+t,"cliProcessor")},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:i((t,r)=>(r.push(t),r),"cliProcessor")},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:i(t=>Math.max(0,t),"processor"),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:i(t=>Math.max(0,t),"processor"),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:i(t=>Math.max(0,t),"processor"),cli:"-e, --max-expand ",cliProcessor:i(t=>t==="Infinity"?1/0:parseInt(t),"cliProcessor")},globalGroup:{type:"boolean",cli:!1}};i(A5n,"getImplicitDefault");i(R5n,"getDefaultValue");i(L5n,"applySetting");wee=class{static{i(this,"Settings")}constructor(r){r===void 0&&(r={}),this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,r=r||{};for(var a of Object.keys(zye)){var o=zye[a];o&&L5n(this,a,r,o)}}isTrusted(r){if("url"in r&&r.url&&!r.protocol){var a=S5n(r.url);if(a==null)return!1;r.protocol=a}var o=typeof this.trust=="function"?this.trust(r):this.trust;return!!o}},IE=class{static{i(this,"Style")}constructor(r,a,o){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=r,this.size=a,this.cramped=o}sup(){return NE[D5n[this.id]]}sub(){return NE[_5n[this.id]]}fracNum(){return NE[M5n[this.id]]}fracDen(){return NE[I5n[this.id]]}cramp(){return NE[N5n[this.id]]}text(){return NE[O5n[this.id]]}isTight(){return this.size>=2}},Tqe=0,Uye=1,Vj=2,H6=3,xee=4,GT=5,Hj=6,mb=7,NE=[new IE(Tqe,0,!1),new IE(Uye,0,!0),new IE(Vj,1,!1),new IE(H6,1,!0),new IE(xee,2,!1),new IE(GT,2,!0),new IE(Hj,3,!1),new IE(mb,3,!0)],D5n=[xee,GT,xee,GT,Hj,mb,Hj,mb],_5n=[GT,GT,GT,GT,mb,mb,mb,mb],M5n=[Vj,H6,xee,GT,Hj,mb,Hj,mb],I5n=[H6,H6,GT,GT,mb,mb,mb,mb],N5n=[Uye,Uye,H6,H6,GT,GT,mb,mb],O5n=[Tqe,Uye,Vj,H6,Vj,H6,Vj,H6],Wo={DISPLAY:NE[Tqe],TEXT:NE[Vj],SCRIPT:NE[xee],SCRIPTSCRIPT:NE[Hj]},rqe=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];i(P5n,"scriptFromCodepoint");jye=[];rqe.forEach(t=>t.blocks.forEach(r=>jye.push(...r)));i(dor,"supportedCodepoint");d0=i(t=>t+" "+t,"doubleBrushStroke"),Uj=80,B5n=i(function(r,a){return"M95,"+(622+r+a)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 c69,-144,104.5,-217.7,106.5,-221 -l`+a/2.075+" -"+a+` +l`+r/2.075+" -"+r+` c5.3,-9.3,12,-14,20,-14 -H400000v`+(40+a)+`H845.2724 +H400000v`+(40+r)+`H845.2724 s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z -M`+(834+a)+" "+u+"h400000v"+(40+a)+"h-400000z"},AHt=function(a,u){return"M263,"+(601+a+u)+`c0.7,0,18,39.7,52,119 +M`+(834+r)+" "+a+"h400000v"+(40+r)+"h-400000z"},"sqrtMain"),F5n=i(function(r,a){return"M263,"+(601+r+a)+`c0.7,0,18,39.7,52,119 c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 c340,-704.7,510.7,-1060.3,512,-1067 -l`+a/2.084+" -"+a+` +l`+r/2.084+" -"+r+` c4.7,-7.3,11,-11,19,-11 -H40000v`+(40+a)+`H1012.3 +H40000v`+(40+r)+`H1012.3 s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z -M`+(1001+a)+" "+u+"h400000v"+(40+a)+"h-400000z"},LHt=function(a,u){return"M983 "+(10+a+u)+` -l`+a/3.13+" -"+a+` -c4,-6.7,10,-10,18,-10 H400000v`+(40+a)+` +M`+(1001+r)+" "+a+"h400000v"+(40+r)+"h-400000z"},"sqrtSize1"),$5n=i(function(r,a){return"M983 "+(10+r+a)+` +l`+r/3.13+" -"+r+` +c4,-6.7,10,-10,18,-10 H400000v`+(40+r)+` H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 c53.7,-170.3,84.5,-266.8,92.5,-289.5z -M`+(1001+a)+" "+u+"h400000v"+(40+a)+"h-400000z"},MHt=function(a,u){return"M424,"+(2398+a+u)+` +M`+(1001+r)+" "+a+"h400000v"+(40+r)+"h-400000z"},"sqrtSize2"),G5n=i(function(r,a){return"M424,"+(2398+r+a)+` c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 -l`+a/4.223+" -"+a+`c4,-6.7,10,-10,18,-10 H400000 -v`+(40+a)+`H1014.6 +l`+r/4.223+" -"+r+`c4,-6.7,10,-10,18,-10 H400000 +v`+(40+r)+`H1014.6 s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 c-2,6,-10,9,-24,9 -c-8,0,-12,-0.7,-12,-2z M`+(1001+a)+" "+u+` -h400000v`+(40+a)+"h-400000z"},DHt=function(a,u){return"M473,"+(2713+a+u)+` -c339.3,-1799.3,509.3,-2700,510,-2702 l`+a/5.298+" -"+a+` -c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+a)+`H1017.7 +c-8,0,-12,-0.7,-12,-2z M`+(1001+r)+" "+a+` +h400000v`+(40+r)+"h-400000z"},"sqrtSize3"),j5n=i(function(r,a){return"M473,"+(2713+r+a)+` +c339.3,-1799.3,509.3,-2700,510,-2702 l`+r/5.298+" -"+r+` +c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+r)+`H1017.7 s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, -606zM`+(1001+a)+" "+u+"h400000v"+(40+a)+"H1017.7z"},IHt=function(a){var u=a/2;return"M400000 "+a+" H0 L"+u+" 0 l65 45 L145 "+(a-80)+" H400000z"},OHt=function(a,u,d){var p=d-54-u-a;return"M702 "+(a+u)+"H400000"+(40+a)+` -H742v`+p+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 +606zM`+(1001+r)+" "+a+"h400000v"+(40+r)+"H1017.7z"},"sqrtSize4"),z5n=i(function(r){var a=r/2;return"M400000 "+r+" H0 L"+a+" 0 l65 45 L145 "+(r-80)+" H400000z"},"phasePath"),U5n=i(function(r,a,o){var l=o-54-a-r;return"M702 "+(r+a)+"H400000"+(40+r)+` +H742v`+l+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 -219 661 l218 661zM702 `+u+"H400000v"+(40+a)+"H742z"},NHt=function(a,u,d){u=1e3*u;var p="";switch(a){case"sqrtMain":p=_Ht(u,FD);break;case"sqrtSize1":p=AHt(u,FD);break;case"sqrtSize2":p=LHt(u,FD);break;case"sqrtSize3":p=MHt(u,FD);break;case"sqrtSize4":p=DHt(u,FD);break;case"sqrtTall":p=OHt(u,FD,d)}return p},PHt=function(a,u){switch(a){case"⎜":return f1("M291 0 H417 V"+u+" H291z");case"∣":return f1("M145 0 H188 V"+u+" H145z");case"∥":return f1("M145 0 H188 V"+u+" H145z")+f1("M367 0 H410 V"+u+" H367z");case"⎟":return f1("M457 0 H583 V"+u+" H457z");case"⎢":return f1("M319 0 H403 V"+u+" H319z");case"⎥":return f1("M263 0 H347 V"+u+" H263z");case"⎪":return f1("M384 0 H504 V"+u+" H384z");case"⏐":return f1("M312 0 H355 V"+u+" H312z");case"‖":return f1("M257 0 H300 V"+u+" H257z")+f1("M478 0 H521 V"+u+" H478z");default:return""}},mze={doubleleftarrow:`M262 157 +219 661 l218 661zM702 `+a+"H400000v"+(40+r)+"H742z"},"sqrtTall"),V5n=i(function(r,a,o){a=1e3*a;var l="";switch(r){case"sqrtMain":l=B5n(a,Uj);break;case"sqrtSize1":l=F5n(a,Uj);break;case"sqrtSize2":l=$5n(a,Uj);break;case"sqrtSize3":l=G5n(a,Uj);break;case"sqrtSize4":l=j5n(a,Uj);break;case"sqrtTall":l=U5n(a,Uj,o)}return l},"sqrtPath"),H5n=i(function(r,a){switch(r){case"\u239C":return d0("M291 0 H417 V"+a+" H291z");case"\u2223":return d0("M145 0 H188 V"+a+" H145z");case"\u2225":return d0("M145 0 H188 V"+a+" H145z")+d0("M367 0 H410 V"+a+" H367z");case"\u239F":return d0("M457 0 H583 V"+a+" H457z");case"\u23A2":return d0("M319 0 H403 V"+a+" H319z");case"\u23A5":return d0("M263 0 H347 V"+a+" H263z");case"\u23AA":return d0("M384 0 H504 V"+a+" H384z");case"\u23D0":return d0("M312 0 H355 V"+a+" H312z");case"\u2016":return d0("M257 0 H300 V"+a+" H257z")+d0("M478 0 H521 V"+a+" H478z");default:return""}},"innerPath"),Lsr={doubleleftarrow:`M262 157 l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 @@ -183,10 +97,10 @@ m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 -83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3 -68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21 - 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:f1("M40 281 V428 H0 V94 H40 V241 H400000 v40z"),leftbracketunder:f1("M0 0 h120 V290 H399995 v120 H0z"),leftbracketover:f1("M0 440 h120 V150 H399995 v-120 H0z"),leftmapsto:f1("M40 281 V448H0V74H40V241H400000v40z"),leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23 + 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:d0("M40 281 V428 H0 V94 H40 V241 H400000 v40z"),leftbracketunder:d0("M0 0 h120 V290 H399995 v120 H0z"),leftbracketover:d0("M0 440 h120 V150 H399995 v-120 H0z"),leftmapsto:d0("M40 281 V448H0V74H40V241H400000v40z"),leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23 -.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8 c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3 - 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:f1("M0 50 h400000 v40H0z m0 194h40000v40H0z"),midbrace:`M200428 334 + 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:d0("M0 50 h400000 v40H0z m0 194h40000v40H0z"),midbrace:`M200428 334 c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14 -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11 @@ -235,7 +149,7 @@ m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0 -13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21 - 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:f1("M399960 241 V94 h40 V428 h-40 V281 H0 v-40z"),rightbracketunder:f1("M399995 0 h-120 V290 H0 v120 H400000z"),rightbracketover:f1("M399995 440 h-120 V150 H0 v-120 H399995z"),rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23 + 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:d0("M399960 241 V94 h40 V428 h-40 V281 H0 v-40z"),rightbracketunder:d0("M399995 0 h-120 V290 H0 v120 H400000z"),rightbracketover:d0("M399995 440 h-120 V150 H0 v-120 H399995z"),rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 -52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142 -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 @@ -308,85 +222,813 @@ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z` c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z -M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},BHt=function(a,u){switch(a){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+u+` v1759 h347 v-84 -H403z M403 1759 V0 H319 V1759 v`+u+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+u+` v1759 H0 v84 H347z -M347 1759 V0 H263 V1759 v`+u+" v1759 h84z";case"vert":return"M145 15 v585 v"+u+` v585 c2.667,10,9.667,15,21,15 -c10,0,16.667,-5,20,-15 v-585 v`+-u+` v-585 c-2.667,-10,-9.667,-15,-21,-15 -c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+u+" v585 h43z";case"doublevert":return"M145 15 v585 v"+u+` v585 c2.667,10,9.667,15,21,15 -c10,0,16.667,-5,20,-15 v-585 v`+-u+` v-585 c-2.667,-10,-9.667,-15,-21,-15 -c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+u+` v585 h43z -M367 15 v585 v`+u+` v585 c2.667,10,9.667,15,21,15 -c10,0,16.667,-5,20,-15 v-585 v`+-u+` v-585 c-2.667,-10,-9.667,-15,-21,-15 -c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+u+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+u+` v1715 h263 v84 H319z -MM319 602 V0 H403 V602 v`+u+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+u+` v1799 H0 v-84 H319z -MM319 602 V0 H403 V602 v`+u+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+u+` v602 h84z -M403 1759 V0 H319 V1759 v`+u+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+u+` v602 h84z -M347 1759 V0 h-84 V1759 v`+u+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1 +M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},q5n=i(function(r,a){switch(r){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+a+` v1759 v84 h347 v-84 +H403z M403 1759 V0 H319 V1759 v`+a+" v1759 v84 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+a+` v1759 H0 v84 H347z +M347 1759 V0 H263 V1759 v`+a+" v1759 h84z";case"vert":return"M145 15 v585 v"+a+` v585 c2.667,10,9.667,15,21,15 +c10,0,16.667,-5,20,-15 v-585 v`+-a+` v-585 c-2.667,-10,-9.667,-15,-21,-15 +c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+a+" v585 h43z";case"doublevert":return"M145 15 v585 v"+a+` v585 c2.667,10,9.667,15,21,15 +c10,0,16.667,-5,20,-15 v-585 v`+-a+` v-585 c-2.667,-10,-9.667,-15,-21,-15 +c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+a+` v585 h43z +M367 15 v585 v`+a+` v585 c2.667,10,9.667,15,21,15 +c10,0,16.667,-5,20,-15 v-585 v`+-a+` v-585 c-2.667,-10,-9.667,-15,-21,-15 +c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+a+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+a+` v1715 h263 v84 H319z +MM319 602 V0 H403 V602 v`+a+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+a+` v1799 H0 v-84 H319z +MM319 602 V0 H403 V602 v`+a+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+a+` v602 h84z +M403 1759 V0 H319 V1759 v`+a+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+a+` v602 h84z +M347 1759 V0 h-84 V1759 v`+a+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1 c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349, --36,557 l0,`+(u+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210, +-36,557 l0,`+(a+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210, 949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9 c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5, -544.7,-112.5,-882c-2,-104,-3,-167,-3,-189 -l0,-`+(u+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3, +l0,-`+(a+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3, -210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3, 63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5 -c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(u+9)+` +c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(a+9)+` c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664 c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11 c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 -l0,-`+(u+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, --470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class RD{constructor(a){this.children=a,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(a){return this.classes.includes(a)}toNode(){for(var a=document.createDocumentFragment(),u=0;uu.toText();return this.children.map(a).join("")}}var pbe={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},FHt={ex:!0,em:!0,mu:!0},vze=function(a){return typeof a!="string"&&(a=a.unit),a in pbe||a in FHt||a==="ex"},Uh=function(a,u){var d;if(a.unit in pbe)d=pbe[a.unit]/u.fontMetrics().ptPerEm/u.sizeMultiplier;else if(a.unit==="mu")d=u.fontMetrics().cssEmPerMu;else{var p;if(u.style.isTight()?p=u.havingStyle(u.style.text()):p=u,a.unit==="ex")d=p.fontMetrics().xHeight;else if(a.unit==="em")d=p.fontMetrics().quad;else throw new ki("Invalid unit: '"+a.unit+"'");p!==u&&(d*=p.sizeMultiplier/u.sizeMultiplier)}return Math.min(a.number*d,u.maxSize)},Oi=function(a){return+a.toFixed(4)+"em"},C9=function(a){return a.filter(u=>u).join(" ")},wze=function(a,u,d){if(this.classes=a||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=d||{},u){u.style.isTight()&&this.classes.push("mtight");var p=u.getColor();p&&(this.style.color=p)}},yze=function(a){var u=document.createElement(a);u.className=C9(this.classes);for(var d of Object.keys(this.style))u.style[d]=this.style[d];for(var p of Object.keys(this.attributes))u.setAttribute(p,this.attributes[p]);for(var v=0;v/=\x00-\x1f]/,xze=function(a){var u="<"+a;this.classes.length&&(u+=' class="'+zg(C9(this.classes))+'"');var d="";for(var p of Object.keys(this.style))d+=hbe(p)+":"+this.style[p]+";";d&&(u+=' style="'+zg(d)+'"');for(var v of Object.keys(this.attributes)){if(RHt.test(v))throw new ki("Invalid attribute name '"+v+"'");u+=" "+v+'="'+zg(this.attributes[v])+'"'}u+=">";for(var b=0;b",u};class jD{constructor(a,u,d,p){wze.call(this,a,d,p),this.children=u||[]}setAttribute(a,u){this.attributes[a]=u}hasClass(a){return this.classes.includes(a)}toNode(){return yze.call(this,"span")}toMarkup(){return xze.call(this,"span")}}class fQ{constructor(a,u,d,p){wze.call(this,u,p),this.children=d||[],this.setAttribute("href",a)}setAttribute(a,u){this.attributes[a]=u}hasClass(a){return this.classes.includes(a)}toNode(){return yze.call(this,"a")}toMarkup(){return xze.call(this,"a")}}class jHt{constructor(a,u,d){this.alt=u,this.src=a,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=d}hasClass(a){return this.classes.includes(a)}toNode(){var a=document.createElement("img");a.src=this.src,a.alt=this.alt,a.className="mord";for(var u of Object.keys(this.style))a.style[u]=this.style[u];return a}toMarkup(){var a=''+zg(this.alt)+'0&&(u=document.createElement("span"),u.style.marginRight=Oi(this.italic)),this.classes.length>0&&(u=u||document.createElement("span"),u.className=C9(this.classes));for(var d of Object.keys(this.style))u=u||document.createElement("span"),u.style[d]=this.style[d];return u?(u.appendChild(a),u):a}toMarkup(){var a=!1,u="0&&(d+="margin-right:"+Oi(this.italic)+";");for(var p of Object.keys(this.style))d+=hbe(p)+":"+this.style[p]+";";d&&(a=!0,u+=' style="'+zg(d)+'"');var v=zg(this.text);return a?(u+=">",u+=v,u+="",u):v}}class O7{constructor(a,u){this.children=a||[],this.attributes=u||{}}toNode(){var a="http://www.w3.org/2000/svg",u=document.createElementNS(a,"svg");for(var d of Object.keys(this.attributes))u.setAttribute(d,this.attributes[d]);for(var p=0;p':''}}class bbe{constructor(a){this.attributes=a||{}}toNode(){var a="http://www.w3.org/2000/svg",u=document.createElementNS(a,"line");for(var d of Object.keys(this.attributes))u.setAttribute(d,this.attributes[d]);return u}toMarkup(){var a=" but got "+String(i)+".")}var HHt=i=>i instanceof jD||i instanceof fQ||i instanceof RD,Y4={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},dQ={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},kze={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function Tze(i,a){Y4[i]=a}function mbe(i,a,u){if(!Y4[a])throw new Error("Font metrics not found for font: "+a+".");var d=i.charCodeAt(0),p=Y4[a][d];if(!p&&i[0]in kze&&(d=kze[i[0]].charCodeAt(0),p=Y4[a][d]),!p&&u==="text"&&bze(d)&&(p=Y4[a][77]),p)return{depth:p[0],height:p[1],italic:p[2],skew:p[3],width:p[4]}}var vbe={};function UHt(i){var a;if(i>=5?a=0:i>=3?a=1:a=2,!vbe[a]){var u=vbe[a]={cssEmPerMu:dQ.quad[a]/18};for(var d in dQ)dQ.hasOwnProperty(d)&&(u[d]=dQ[d][a])}return vbe[a]}var VHt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},GHt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},vh={math:{},text:{}};function we(i,a,u,d,p,v){vh[i][p]={font:a,group:u,replace:d},v&&d&&(vh[i][d]=vh[i][p])}var Ae="math",ti="text",He="main",jt="ams",wh="accent-token",ls="bin",Bp="close",$D="inner",Sa="mathord",N0="op-token",vm="open",vR="punct",Ht="rel",N7="spacing",bn="textord";we(Ae,He,Ht,"≡","\\equiv",!0),we(Ae,He,Ht,"≺","\\prec",!0),we(Ae,He,Ht,"≻","\\succ",!0),we(Ae,He,Ht,"∼","\\sim",!0),we(Ae,He,Ht,"⊥","\\perp"),we(Ae,He,Ht,"⪯","\\preceq",!0),we(Ae,He,Ht,"⪰","\\succeq",!0),we(Ae,He,Ht,"≃","\\simeq",!0),we(Ae,He,Ht,"∣","\\mid",!0),we(Ae,He,Ht,"≪","\\ll",!0),we(Ae,He,Ht,"≫","\\gg",!0),we(Ae,He,Ht,"≍","\\asymp",!0),we(Ae,He,Ht,"∥","\\parallel"),we(Ae,He,Ht,"⋈","\\bowtie",!0),we(Ae,He,Ht,"⌣","\\smile",!0),we(Ae,He,Ht,"⊑","\\sqsubseteq",!0),we(Ae,He,Ht,"⊒","\\sqsupseteq",!0),we(Ae,He,Ht,"≐","\\doteq",!0),we(Ae,He,Ht,"⌢","\\frown",!0),we(Ae,He,Ht,"∋","\\ni",!0),we(Ae,He,Ht,"∝","\\propto",!0),we(Ae,He,Ht,"⊢","\\vdash",!0),we(Ae,He,Ht,"⊣","\\dashv",!0),we(Ae,He,Ht,"∋","\\owns"),we(Ae,He,vR,".","\\ldotp"),we(Ae,He,vR,"⋅","\\cdotp"),we(Ae,He,vR,"⋅","·"),we(ti,He,bn,"⋅","·"),we(Ae,He,bn,"#","\\#"),we(ti,He,bn,"#","\\#"),we(Ae,He,bn,"&","\\&"),we(ti,He,bn,"&","\\&"),we(Ae,He,bn,"ℵ","\\aleph",!0),we(Ae,He,bn,"∀","\\forall",!0),we(Ae,He,bn,"ℏ","\\hbar",!0),we(Ae,He,bn,"∃","\\exists",!0),we(Ae,He,bn,"∇","\\nabla",!0),we(Ae,He,bn,"♭","\\flat",!0),we(Ae,He,bn,"ℓ","\\ell",!0),we(Ae,He,bn,"♮","\\natural",!0),we(Ae,He,bn,"♣","\\clubsuit",!0),we(Ae,He,bn,"℘","\\wp",!0),we(Ae,He,bn,"♯","\\sharp",!0),we(Ae,He,bn,"♢","\\diamondsuit",!0),we(Ae,He,bn,"ℜ","\\Re",!0),we(Ae,He,bn,"♡","\\heartsuit",!0),we(Ae,He,bn,"ℑ","\\Im",!0),we(Ae,He,bn,"♠","\\spadesuit",!0),we(Ae,He,bn,"§","\\S",!0),we(ti,He,bn,"§","\\S"),we(Ae,He,bn,"¶","\\P",!0),we(ti,He,bn,"¶","\\P"),we(Ae,He,bn,"†","\\dag"),we(ti,He,bn,"†","\\dag"),we(ti,He,bn,"†","\\textdagger"),we(Ae,He,bn,"‡","\\ddag"),we(ti,He,bn,"‡","\\ddag"),we(ti,He,bn,"‡","\\textdaggerdbl"),we(Ae,He,Bp,"⎱","\\rmoustache",!0),we(Ae,He,vm,"⎰","\\lmoustache",!0),we(Ae,He,Bp,"⟯","\\rgroup",!0),we(Ae,He,vm,"⟮","\\lgroup",!0),we(Ae,He,ls,"∓","\\mp",!0),we(Ae,He,ls,"⊖","\\ominus",!0),we(Ae,He,ls,"⊎","\\uplus",!0),we(Ae,He,ls,"⊓","\\sqcap",!0),we(Ae,He,ls,"∗","\\ast"),we(Ae,He,ls,"⊔","\\sqcup",!0),we(Ae,He,ls,"◯","\\bigcirc",!0),we(Ae,He,ls,"∙","\\bullet",!0),we(Ae,He,ls,"‡","\\ddagger"),we(Ae,He,ls,"≀","\\wr",!0),we(Ae,He,ls,"⨿","\\amalg"),we(Ae,He,ls,"&","\\And"),we(Ae,He,Ht,"⟵","\\longleftarrow",!0),we(Ae,He,Ht,"⇐","\\Leftarrow",!0),we(Ae,He,Ht,"⟸","\\Longleftarrow",!0),we(Ae,He,Ht,"⟶","\\longrightarrow",!0),we(Ae,He,Ht,"⇒","\\Rightarrow",!0),we(Ae,He,Ht,"⟹","\\Longrightarrow",!0),we(Ae,He,Ht,"↔","\\leftrightarrow",!0),we(Ae,He,Ht,"⟷","\\longleftrightarrow",!0),we(Ae,He,Ht,"⇔","\\Leftrightarrow",!0),we(Ae,He,Ht,"⟺","\\Longleftrightarrow",!0),we(Ae,He,Ht,"↦","\\mapsto",!0),we(Ae,He,Ht,"⟼","\\longmapsto",!0),we(Ae,He,Ht,"↗","\\nearrow",!0),we(Ae,He,Ht,"↩","\\hookleftarrow",!0),we(Ae,He,Ht,"↪","\\hookrightarrow",!0),we(Ae,He,Ht,"↘","\\searrow",!0),we(Ae,He,Ht,"↼","\\leftharpoonup",!0),we(Ae,He,Ht,"⇀","\\rightharpoonup",!0),we(Ae,He,Ht,"↙","\\swarrow",!0),we(Ae,He,Ht,"↽","\\leftharpoondown",!0),we(Ae,He,Ht,"⇁","\\rightharpoondown",!0),we(Ae,He,Ht,"↖","\\nwarrow",!0),we(Ae,He,Ht,"⇌","\\rightleftharpoons",!0),we(Ae,jt,Ht,"≮","\\nless",!0),we(Ae,jt,Ht,"","\\@nleqslant"),we(Ae,jt,Ht,"","\\@nleqq"),we(Ae,jt,Ht,"⪇","\\lneq",!0),we(Ae,jt,Ht,"≨","\\lneqq",!0),we(Ae,jt,Ht,"","\\@lvertneqq"),we(Ae,jt,Ht,"⋦","\\lnsim",!0),we(Ae,jt,Ht,"⪉","\\lnapprox",!0),we(Ae,jt,Ht,"⊀","\\nprec",!0),we(Ae,jt,Ht,"⋠","\\npreceq",!0),we(Ae,jt,Ht,"⋨","\\precnsim",!0),we(Ae,jt,Ht,"⪹","\\precnapprox",!0),we(Ae,jt,Ht,"≁","\\nsim",!0),we(Ae,jt,Ht,"","\\@nshortmid"),we(Ae,jt,Ht,"∤","\\nmid",!0),we(Ae,jt,Ht,"⊬","\\nvdash",!0),we(Ae,jt,Ht,"⊭","\\nvDash",!0),we(Ae,jt,Ht,"⋪","\\ntriangleleft"),we(Ae,jt,Ht,"⋬","\\ntrianglelefteq",!0),we(Ae,jt,Ht,"⊊","\\subsetneq",!0),we(Ae,jt,Ht,"","\\@varsubsetneq"),we(Ae,jt,Ht,"⫋","\\subsetneqq",!0),we(Ae,jt,Ht,"","\\@varsubsetneqq"),we(Ae,jt,Ht,"≯","\\ngtr",!0),we(Ae,jt,Ht,"","\\@ngeqslant"),we(Ae,jt,Ht,"","\\@ngeqq"),we(Ae,jt,Ht,"⪈","\\gneq",!0),we(Ae,jt,Ht,"≩","\\gneqq",!0),we(Ae,jt,Ht,"","\\@gvertneqq"),we(Ae,jt,Ht,"⋧","\\gnsim",!0),we(Ae,jt,Ht,"⪊","\\gnapprox",!0),we(Ae,jt,Ht,"⊁","\\nsucc",!0),we(Ae,jt,Ht,"⋡","\\nsucceq",!0),we(Ae,jt,Ht,"⋩","\\succnsim",!0),we(Ae,jt,Ht,"⪺","\\succnapprox",!0),we(Ae,jt,Ht,"≆","\\ncong",!0),we(Ae,jt,Ht,"","\\@nshortparallel"),we(Ae,jt,Ht,"∦","\\nparallel",!0),we(Ae,jt,Ht,"⊯","\\nVDash",!0),we(Ae,jt,Ht,"⋫","\\ntriangleright"),we(Ae,jt,Ht,"⋭","\\ntrianglerighteq",!0),we(Ae,jt,Ht,"","\\@nsupseteqq"),we(Ae,jt,Ht,"⊋","\\supsetneq",!0),we(Ae,jt,Ht,"","\\@varsupsetneq"),we(Ae,jt,Ht,"⫌","\\supsetneqq",!0),we(Ae,jt,Ht,"","\\@varsupsetneqq"),we(Ae,jt,Ht,"⊮","\\nVdash",!0),we(Ae,jt,Ht,"⪵","\\precneqq",!0),we(Ae,jt,Ht,"⪶","\\succneqq",!0),we(Ae,jt,Ht,"","\\@nsubseteqq"),we(Ae,jt,ls,"⊴","\\unlhd"),we(Ae,jt,ls,"⊵","\\unrhd"),we(Ae,jt,Ht,"↚","\\nleftarrow",!0),we(Ae,jt,Ht,"↛","\\nrightarrow",!0),we(Ae,jt,Ht,"⇍","\\nLeftarrow",!0),we(Ae,jt,Ht,"⇏","\\nRightarrow",!0),we(Ae,jt,Ht,"↮","\\nleftrightarrow",!0),we(Ae,jt,Ht,"⇎","\\nLeftrightarrow",!0),we(Ae,jt,Ht,"△","\\vartriangle"),we(Ae,jt,bn,"ℏ","\\hslash"),we(Ae,jt,bn,"▽","\\triangledown"),we(Ae,jt,bn,"◊","\\lozenge"),we(Ae,jt,bn,"Ⓢ","\\circledS"),we(Ae,jt,bn,"®","\\circledR"),we(ti,jt,bn,"®","\\circledR"),we(Ae,jt,bn,"∡","\\measuredangle",!0),we(Ae,jt,bn,"∄","\\nexists"),we(Ae,jt,bn,"℧","\\mho"),we(Ae,jt,bn,"Ⅎ","\\Finv",!0),we(Ae,jt,bn,"⅁","\\Game",!0),we(Ae,jt,bn,"‵","\\backprime"),we(Ae,jt,bn,"▲","\\blacktriangle"),we(Ae,jt,bn,"▼","\\blacktriangledown"),we(Ae,jt,bn,"■","\\blacksquare"),we(Ae,jt,bn,"⧫","\\blacklozenge"),we(Ae,jt,bn,"★","\\bigstar"),we(Ae,jt,bn,"∢","\\sphericalangle",!0),we(Ae,jt,bn,"∁","\\complement",!0),we(Ae,jt,bn,"ð","\\eth",!0),we(ti,He,bn,"ð","ð"),we(Ae,jt,bn,"╱","\\diagup"),we(Ae,jt,bn,"╲","\\diagdown"),we(Ae,jt,bn,"□","\\square"),we(Ae,jt,bn,"□","\\Box"),we(Ae,jt,bn,"◊","\\Diamond"),we(Ae,jt,bn,"¥","\\yen",!0),we(ti,jt,bn,"¥","\\yen",!0),we(Ae,jt,bn,"✓","\\checkmark",!0),we(ti,jt,bn,"✓","\\checkmark"),we(Ae,jt,bn,"ℶ","\\beth",!0),we(Ae,jt,bn,"ℸ","\\daleth",!0),we(Ae,jt,bn,"ℷ","\\gimel",!0),we(Ae,jt,bn,"ϝ","\\digamma",!0),we(Ae,jt,bn,"ϰ","\\varkappa"),we(Ae,jt,vm,"┌","\\@ulcorner",!0),we(Ae,jt,Bp,"┐","\\@urcorner",!0),we(Ae,jt,vm,"└","\\@llcorner",!0),we(Ae,jt,Bp,"┘","\\@lrcorner",!0),we(Ae,jt,Ht,"≦","\\leqq",!0),we(Ae,jt,Ht,"⩽","\\leqslant",!0),we(Ae,jt,Ht,"⪕","\\eqslantless",!0),we(Ae,jt,Ht,"≲","\\lesssim",!0),we(Ae,jt,Ht,"⪅","\\lessapprox",!0),we(Ae,jt,Ht,"≊","\\approxeq",!0),we(Ae,jt,ls,"⋖","\\lessdot"),we(Ae,jt,Ht,"⋘","\\lll",!0),we(Ae,jt,Ht,"≶","\\lessgtr",!0),we(Ae,jt,Ht,"⋚","\\lesseqgtr",!0),we(Ae,jt,Ht,"⪋","\\lesseqqgtr",!0),we(Ae,jt,Ht,"≑","\\doteqdot"),we(Ae,jt,Ht,"≓","\\risingdotseq",!0),we(Ae,jt,Ht,"≒","\\fallingdotseq",!0),we(Ae,jt,Ht,"∽","\\backsim",!0),we(Ae,jt,Ht,"⋍","\\backsimeq",!0),we(Ae,jt,Ht,"⫅","\\subseteqq",!0),we(Ae,jt,Ht,"⋐","\\Subset",!0),we(Ae,jt,Ht,"⊏","\\sqsubset",!0),we(Ae,jt,Ht,"≼","\\preccurlyeq",!0),we(Ae,jt,Ht,"⋞","\\curlyeqprec",!0),we(Ae,jt,Ht,"≾","\\precsim",!0),we(Ae,jt,Ht,"⪷","\\precapprox",!0),we(Ae,jt,Ht,"⊲","\\vartriangleleft"),we(Ae,jt,Ht,"⊴","\\trianglelefteq"),we(Ae,jt,Ht,"⊨","\\vDash",!0),we(Ae,jt,Ht,"⊪","\\Vvdash",!0),we(Ae,jt,Ht,"⌣","\\smallsmile"),we(Ae,jt,Ht,"⌢","\\smallfrown"),we(Ae,jt,Ht,"≏","\\bumpeq",!0),we(Ae,jt,Ht,"≎","\\Bumpeq",!0),we(Ae,jt,Ht,"≧","\\geqq",!0),we(Ae,jt,Ht,"⩾","\\geqslant",!0),we(Ae,jt,Ht,"⪖","\\eqslantgtr",!0),we(Ae,jt,Ht,"≳","\\gtrsim",!0),we(Ae,jt,Ht,"⪆","\\gtrapprox",!0),we(Ae,jt,ls,"⋗","\\gtrdot"),we(Ae,jt,Ht,"⋙","\\ggg",!0),we(Ae,jt,Ht,"≷","\\gtrless",!0),we(Ae,jt,Ht,"⋛","\\gtreqless",!0),we(Ae,jt,Ht,"⪌","\\gtreqqless",!0),we(Ae,jt,Ht,"≖","\\eqcirc",!0),we(Ae,jt,Ht,"≗","\\circeq",!0),we(Ae,jt,Ht,"≜","\\triangleq",!0),we(Ae,jt,Ht,"∼","\\thicksim"),we(Ae,jt,Ht,"≈","\\thickapprox"),we(Ae,jt,Ht,"⫆","\\supseteqq",!0),we(Ae,jt,Ht,"⋑","\\Supset",!0),we(Ae,jt,Ht,"⊐","\\sqsupset",!0),we(Ae,jt,Ht,"≽","\\succcurlyeq",!0),we(Ae,jt,Ht,"⋟","\\curlyeqsucc",!0),we(Ae,jt,Ht,"≿","\\succsim",!0),we(Ae,jt,Ht,"⪸","\\succapprox",!0),we(Ae,jt,Ht,"⊳","\\vartriangleright"),we(Ae,jt,Ht,"⊵","\\trianglerighteq"),we(Ae,jt,Ht,"⊩","\\Vdash",!0),we(Ae,jt,Ht,"∣","\\shortmid"),we(Ae,jt,Ht,"∥","\\shortparallel"),we(Ae,jt,Ht,"≬","\\between",!0),we(Ae,jt,Ht,"⋔","\\pitchfork",!0),we(Ae,jt,Ht,"∝","\\varpropto"),we(Ae,jt,Ht,"◀","\\blacktriangleleft"),we(Ae,jt,Ht,"∴","\\therefore",!0),we(Ae,jt,Ht,"∍","\\backepsilon"),we(Ae,jt,Ht,"▶","\\blacktriangleright"),we(Ae,jt,Ht,"∵","\\because",!0),we(Ae,jt,Ht,"⋘","\\llless"),we(Ae,jt,Ht,"⋙","\\gggtr"),we(Ae,jt,ls,"⊲","\\lhd"),we(Ae,jt,ls,"⊳","\\rhd"),we(Ae,jt,Ht,"≂","\\eqsim",!0),we(Ae,He,Ht,"⋈","\\Join"),we(Ae,jt,Ht,"≑","\\Doteq",!0),we(Ae,jt,ls,"∔","\\dotplus",!0),we(Ae,jt,ls,"∖","\\smallsetminus"),we(Ae,jt,ls,"⋒","\\Cap",!0),we(Ae,jt,ls,"⋓","\\Cup",!0),we(Ae,jt,ls,"⩞","\\doublebarwedge",!0),we(Ae,jt,ls,"⊟","\\boxminus",!0),we(Ae,jt,ls,"⊞","\\boxplus",!0),we(Ae,jt,ls,"⋇","\\divideontimes",!0),we(Ae,jt,ls,"⋉","\\ltimes",!0),we(Ae,jt,ls,"⋊","\\rtimes",!0),we(Ae,jt,ls,"⋋","\\leftthreetimes",!0),we(Ae,jt,ls,"⋌","\\rightthreetimes",!0),we(Ae,jt,ls,"⋏","\\curlywedge",!0),we(Ae,jt,ls,"⋎","\\curlyvee",!0),we(Ae,jt,ls,"⊝","\\circleddash",!0),we(Ae,jt,ls,"⊛","\\circledast",!0),we(Ae,jt,ls,"⋅","\\centerdot"),we(Ae,jt,ls,"⊺","\\intercal",!0),we(Ae,jt,ls,"⋒","\\doublecap"),we(Ae,jt,ls,"⋓","\\doublecup"),we(Ae,jt,ls,"⊠","\\boxtimes",!0),we(Ae,jt,Ht,"⇢","\\dashrightarrow",!0),we(Ae,jt,Ht,"⇠","\\dashleftarrow",!0),we(Ae,jt,Ht,"⇇","\\leftleftarrows",!0),we(Ae,jt,Ht,"⇆","\\leftrightarrows",!0),we(Ae,jt,Ht,"⇚","\\Lleftarrow",!0),we(Ae,jt,Ht,"↞","\\twoheadleftarrow",!0),we(Ae,jt,Ht,"↢","\\leftarrowtail",!0),we(Ae,jt,Ht,"↫","\\looparrowleft",!0),we(Ae,jt,Ht,"⇋","\\leftrightharpoons",!0),we(Ae,jt,Ht,"↶","\\curvearrowleft",!0),we(Ae,jt,Ht,"↺","\\circlearrowleft",!0),we(Ae,jt,Ht,"↰","\\Lsh",!0),we(Ae,jt,Ht,"⇈","\\upuparrows",!0),we(Ae,jt,Ht,"↿","\\upharpoonleft",!0),we(Ae,jt,Ht,"⇃","\\downharpoonleft",!0),we(Ae,He,Ht,"⊶","\\origof",!0),we(Ae,He,Ht,"⊷","\\imageof",!0),we(Ae,jt,Ht,"⊸","\\multimap",!0),we(Ae,jt,Ht,"↭","\\leftrightsquigarrow",!0),we(Ae,jt,Ht,"⇉","\\rightrightarrows",!0),we(Ae,jt,Ht,"⇄","\\rightleftarrows",!0),we(Ae,jt,Ht,"↠","\\twoheadrightarrow",!0),we(Ae,jt,Ht,"↣","\\rightarrowtail",!0),we(Ae,jt,Ht,"↬","\\looparrowright",!0),we(Ae,jt,Ht,"↷","\\curvearrowright",!0),we(Ae,jt,Ht,"↻","\\circlearrowright",!0),we(Ae,jt,Ht,"↱","\\Rsh",!0),we(Ae,jt,Ht,"⇊","\\downdownarrows",!0),we(Ae,jt,Ht,"↾","\\upharpoonright",!0),we(Ae,jt,Ht,"⇂","\\downharpoonright",!0),we(Ae,jt,Ht,"⇝","\\rightsquigarrow",!0),we(Ae,jt,Ht,"⇝","\\leadsto"),we(Ae,jt,Ht,"⇛","\\Rrightarrow",!0),we(Ae,jt,Ht,"↾","\\restriction"),we(Ae,He,bn,"‘","`"),we(Ae,He,bn,"$","\\$"),we(ti,He,bn,"$","\\$"),we(ti,He,bn,"$","\\textdollar"),we(Ae,He,bn,"%","\\%"),we(ti,He,bn,"%","\\%"),we(Ae,He,bn,"_","\\_"),we(ti,He,bn,"_","\\_"),we(ti,He,bn,"_","\\textunderscore"),we(Ae,He,bn,"∠","\\angle",!0),we(Ae,He,bn,"∞","\\infty",!0),we(Ae,He,bn,"′","\\prime"),we(Ae,He,bn,"△","\\triangle"),we(Ae,He,bn,"Γ","\\Gamma",!0),we(Ae,He,bn,"Δ","\\Delta",!0),we(Ae,He,bn,"Θ","\\Theta",!0),we(Ae,He,bn,"Λ","\\Lambda",!0),we(Ae,He,bn,"Ξ","\\Xi",!0),we(Ae,He,bn,"Π","\\Pi",!0),we(Ae,He,bn,"Σ","\\Sigma",!0),we(Ae,He,bn,"Υ","\\Upsilon",!0),we(Ae,He,bn,"Φ","\\Phi",!0),we(Ae,He,bn,"Ψ","\\Psi",!0),we(Ae,He,bn,"Ω","\\Omega",!0),we(Ae,He,bn,"A","Α"),we(Ae,He,bn,"B","Β"),we(Ae,He,bn,"E","Ε"),we(Ae,He,bn,"Z","Ζ"),we(Ae,He,bn,"H","Η"),we(Ae,He,bn,"I","Ι"),we(Ae,He,bn,"K","Κ"),we(Ae,He,bn,"M","Μ"),we(Ae,He,bn,"N","Ν"),we(Ae,He,bn,"O","Ο"),we(Ae,He,bn,"P","Ρ"),we(Ae,He,bn,"T","Τ"),we(Ae,He,bn,"X","Χ"),we(Ae,He,bn,"¬","\\neg",!0),we(Ae,He,bn,"¬","\\lnot"),we(Ae,He,bn,"⊤","\\top"),we(Ae,He,bn,"⊥","\\bot"),we(Ae,He,bn,"∅","\\emptyset"),we(Ae,jt,bn,"∅","\\varnothing"),we(Ae,He,Sa,"α","\\alpha",!0),we(Ae,He,Sa,"β","\\beta",!0),we(Ae,He,Sa,"γ","\\gamma",!0),we(Ae,He,Sa,"δ","\\delta",!0),we(Ae,He,Sa,"ϵ","\\epsilon",!0),we(Ae,He,Sa,"ζ","\\zeta",!0),we(Ae,He,Sa,"η","\\eta",!0),we(Ae,He,Sa,"θ","\\theta",!0),we(Ae,He,Sa,"ι","\\iota",!0),we(Ae,He,Sa,"κ","\\kappa",!0),we(Ae,He,Sa,"λ","\\lambda",!0),we(Ae,He,Sa,"μ","\\mu",!0),we(Ae,He,Sa,"ν","\\nu",!0),we(Ae,He,Sa,"ξ","\\xi",!0),we(Ae,He,Sa,"ο","\\omicron",!0),we(Ae,He,Sa,"π","\\pi",!0),we(Ae,He,Sa,"ρ","\\rho",!0),we(Ae,He,Sa,"σ","\\sigma",!0),we(Ae,He,Sa,"τ","\\tau",!0),we(Ae,He,Sa,"υ","\\upsilon",!0),we(Ae,He,Sa,"ϕ","\\phi",!0),we(Ae,He,Sa,"χ","\\chi",!0),we(Ae,He,Sa,"ψ","\\psi",!0),we(Ae,He,Sa,"ω","\\omega",!0),we(Ae,He,Sa,"ε","\\varepsilon",!0),we(Ae,He,Sa,"ϑ","\\vartheta",!0),we(Ae,He,Sa,"ϖ","\\varpi",!0),we(Ae,He,Sa,"ϱ","\\varrho",!0),we(Ae,He,Sa,"ς","\\varsigma",!0),we(Ae,He,Sa,"φ","\\varphi",!0),we(Ae,He,ls,"∗","*",!0),we(Ae,He,ls,"+","+"),we(Ae,He,ls,"−","-",!0),we(Ae,He,ls,"⋅","\\cdot",!0),we(Ae,He,ls,"∘","\\circ",!0),we(Ae,He,ls,"÷","\\div",!0),we(Ae,He,ls,"±","\\pm",!0),we(Ae,He,ls,"×","\\times",!0),we(Ae,He,ls,"∩","\\cap",!0),we(Ae,He,ls,"∪","\\cup",!0),we(Ae,He,ls,"∖","\\setminus",!0),we(Ae,He,ls,"∧","\\land"),we(Ae,He,ls,"∨","\\lor"),we(Ae,He,ls,"∧","\\wedge",!0),we(Ae,He,ls,"∨","\\vee",!0),we(Ae,He,bn,"√","\\surd"),we(Ae,He,vm,"⟨","\\langle",!0),we(Ae,He,vm,"∣","\\lvert"),we(Ae,He,vm,"∥","\\lVert"),we(Ae,He,Bp,"?","?"),we(Ae,He,Bp,"!","!"),we(Ae,He,Bp,"⟩","\\rangle",!0),we(Ae,He,Bp,"∣","\\rvert"),we(Ae,He,Bp,"∥","\\rVert"),we(Ae,He,Ht,"=","="),we(Ae,He,Ht,":",":"),we(Ae,He,Ht,"≈","\\approx",!0),we(Ae,He,Ht,"≅","\\cong",!0),we(Ae,He,Ht,"≥","\\ge"),we(Ae,He,Ht,"≥","\\geq",!0),we(Ae,He,Ht,"←","\\gets"),we(Ae,He,Ht,">","\\gt",!0),we(Ae,He,Ht,"∈","\\in",!0),we(Ae,He,Ht,"","\\@not"),we(Ae,He,Ht,"⊂","\\subset",!0),we(Ae,He,Ht,"⊃","\\supset",!0),we(Ae,He,Ht,"⊆","\\subseteq",!0),we(Ae,He,Ht,"⊇","\\supseteq",!0),we(Ae,jt,Ht,"⊈","\\nsubseteq",!0),we(Ae,jt,Ht,"⊉","\\nsupseteq",!0),we(Ae,He,Ht,"⊨","\\models"),we(Ae,He,Ht,"←","\\leftarrow",!0),we(Ae,He,Ht,"≤","\\le"),we(Ae,He,Ht,"≤","\\leq",!0),we(Ae,He,Ht,"<","\\lt",!0),we(Ae,He,Ht,"→","\\rightarrow",!0),we(Ae,He,Ht,"→","\\to"),we(Ae,jt,Ht,"≱","\\ngeq",!0),we(Ae,jt,Ht,"≰","\\nleq",!0),we(Ae,He,N7," ","\\ "),we(Ae,He,N7," ","\\space"),we(Ae,He,N7," ","\\nobreakspace"),we(ti,He,N7," ","\\ "),we(ti,He,N7," "," "),we(ti,He,N7," ","\\space"),we(ti,He,N7," ","\\nobreakspace"),we(Ae,He,N7,null,"\\nobreak"),we(Ae,He,N7,null,"\\allowbreak"),we(Ae,He,vR,",",","),we(Ae,He,vR,";",";"),we(Ae,jt,ls,"⊼","\\barwedge",!0),we(Ae,jt,ls,"⊻","\\veebar",!0),we(Ae,He,ls,"⊙","\\odot",!0),we(Ae,He,ls,"⊕","\\oplus",!0),we(Ae,He,ls,"⊗","\\otimes",!0),we(Ae,He,bn,"∂","\\partial",!0),we(Ae,He,ls,"⊘","\\oslash",!0),we(Ae,jt,ls,"⊚","\\circledcirc",!0),we(Ae,jt,ls,"⊡","\\boxdot",!0),we(Ae,He,ls,"△","\\bigtriangleup"),we(Ae,He,ls,"▽","\\bigtriangledown"),we(Ae,He,ls,"†","\\dagger"),we(Ae,He,ls,"⋄","\\diamond"),we(Ae,He,ls,"⋆","\\star"),we(Ae,He,ls,"◃","\\triangleleft"),we(Ae,He,ls,"▹","\\triangleright"),we(Ae,He,vm,"{","\\{"),we(ti,He,bn,"{","\\{"),we(ti,He,bn,"{","\\textbraceleft"),we(Ae,He,Bp,"}","\\}"),we(ti,He,bn,"}","\\}"),we(ti,He,bn,"}","\\textbraceright"),we(Ae,He,vm,"{","\\lbrace"),we(Ae,He,Bp,"}","\\rbrace"),we(Ae,He,vm,"[","\\lbrack",!0),we(ti,He,bn,"[","\\lbrack",!0),we(Ae,He,Bp,"]","\\rbrack",!0),we(ti,He,bn,"]","\\rbrack",!0),we(Ae,He,vm,"(","\\lparen",!0),we(Ae,He,Bp,")","\\rparen",!0),we(ti,He,bn,"<","\\textless",!0),we(ti,He,bn,">","\\textgreater",!0),we(Ae,He,vm,"⌊","\\lfloor",!0),we(Ae,He,Bp,"⌋","\\rfloor",!0),we(Ae,He,vm,"⌈","\\lceil",!0),we(Ae,He,Bp,"⌉","\\rceil",!0),we(Ae,He,bn,"\\","\\backslash"),we(Ae,He,bn,"∣","|"),we(Ae,He,bn,"∣","\\vert"),we(ti,He,bn,"|","\\textbar",!0),we(Ae,He,bn,"∥","\\|"),we(Ae,He,bn,"∥","\\Vert"),we(ti,He,bn,"∥","\\textbardbl"),we(ti,He,bn,"~","\\textasciitilde"),we(ti,He,bn,"\\","\\textbackslash"),we(ti,He,bn,"^","\\textasciicircum"),we(Ae,He,Ht,"↑","\\uparrow",!0),we(Ae,He,Ht,"⇑","\\Uparrow",!0),we(Ae,He,Ht,"↓","\\downarrow",!0),we(Ae,He,Ht,"⇓","\\Downarrow",!0),we(Ae,He,Ht,"↕","\\updownarrow",!0),we(Ae,He,Ht,"⇕","\\Updownarrow",!0),we(Ae,He,N0,"∐","\\coprod"),we(Ae,He,N0,"⋁","\\bigvee"),we(Ae,He,N0,"⋀","\\bigwedge"),we(Ae,He,N0,"⨄","\\biguplus"),we(Ae,He,N0,"⋂","\\bigcap"),we(Ae,He,N0,"⋃","\\bigcup"),we(Ae,He,N0,"∫","\\int"),we(Ae,He,N0,"∫","\\intop"),we(Ae,He,N0,"∬","\\iint"),we(Ae,He,N0,"∭","\\iiint"),we(Ae,He,N0,"∏","\\prod"),we(Ae,He,N0,"∑","\\sum"),we(Ae,He,N0,"⨂","\\bigotimes"),we(Ae,He,N0,"⨁","\\bigoplus"),we(Ae,He,N0,"⨀","\\bigodot"),we(Ae,He,N0,"∮","\\oint"),we(Ae,He,N0,"∯","\\oiint"),we(Ae,He,N0,"∰","\\oiiint"),we(Ae,He,N0,"⨆","\\bigsqcup"),we(Ae,He,N0,"∫","\\smallint"),we(ti,He,$D,"…","\\textellipsis"),we(Ae,He,$D,"…","\\mathellipsis"),we(ti,He,$D,"…","\\ldots",!0),we(Ae,He,$D,"…","\\ldots",!0),we(Ae,He,$D,"⋯","\\@cdots",!0),we(Ae,He,$D,"⋱","\\ddots",!0),we(Ae,He,bn,"⋮","\\varvdots"),we(ti,He,bn,"⋮","\\varvdots"),we(Ae,He,wh,"ˊ","\\acute"),we(Ae,He,wh,"ˋ","\\grave"),we(Ae,He,wh,"¨","\\ddot"),we(Ae,He,wh,"~","\\tilde"),we(Ae,He,wh,"ˉ","\\bar"),we(Ae,He,wh,"˘","\\breve"),we(Ae,He,wh,"ˇ","\\check"),we(Ae,He,wh,"^","\\hat"),we(Ae,He,wh,"⃗","\\vec"),we(Ae,He,wh,"˙","\\dot"),we(Ae,He,wh,"˚","\\mathring"),we(Ae,He,Sa,"","\\@imath"),we(Ae,He,Sa,"","\\@jmath"),we(Ae,He,bn,"ı","ı"),we(Ae,He,bn,"ȷ","ȷ"),we(ti,He,bn,"ı","\\i",!0),we(ti,He,bn,"ȷ","\\j",!0),we(ti,He,bn,"ß","\\ss",!0),we(ti,He,bn,"æ","\\ae",!0),we(ti,He,bn,"œ","\\oe",!0),we(ti,He,bn,"ø","\\o",!0),we(ti,He,bn,"Æ","\\AE",!0),we(ti,He,bn,"Œ","\\OE",!0),we(ti,He,bn,"Ø","\\O",!0),we(ti,He,wh,"ˊ","\\'"),we(ti,He,wh,"ˋ","\\`"),we(ti,He,wh,"ˆ","\\^"),we(ti,He,wh,"˜","\\~"),we(ti,He,wh,"ˉ","\\="),we(ti,He,wh,"˘","\\u"),we(ti,He,wh,"˙","\\."),we(ti,He,wh,"¸","\\c"),we(ti,He,wh,"˚","\\r"),we(ti,He,wh,"ˇ","\\v"),we(ti,He,wh,"¨",'\\"'),we(ti,He,wh,"˝","\\H"),we(ti,He,wh,"◯","\\textcircled");var Eze={"--":!0,"---":!0,"``":!0,"''":!0};we(ti,He,bn,"–","--",!0),we(ti,He,bn,"–","\\textendash"),we(ti,He,bn,"—","---",!0),we(ti,He,bn,"—","\\textemdash"),we(ti,He,bn,"‘","`",!0),we(ti,He,bn,"‘","\\textquoteleft"),we(ti,He,bn,"’","'",!0),we(ti,He,bn,"’","\\textquoteright"),we(ti,He,bn,"“","``",!0),we(ti,He,bn,"“","\\textquotedblleft"),we(ti,He,bn,"”","''",!0),we(ti,He,bn,"”","\\textquotedblright"),we(Ae,He,bn,"°","\\degree",!0),we(ti,He,bn,"°","\\degree"),we(ti,He,bn,"°","\\textdegree",!0),we(Ae,He,bn,"£","\\pounds"),we(Ae,He,bn,"£","\\mathsterling",!0),we(ti,He,bn,"£","\\pounds"),we(ti,He,bn,"£","\\textsterling",!0),we(Ae,jt,bn,"✠","\\maltese"),we(ti,jt,bn,"✠","\\maltese");for(var Cze='0123456789/@."',wbe=0;wbe{var u=i.charCodeAt(0),d=i.charCodeAt(1),p=(u-55296)*1024+(d-56320)+65536,v=a==="math"?0:1;if(119808<=p&&p<120484){var b=Math.floor((p-119808)/26);return[mQ[b][2],mQ[b][v]]}else if(120782<=p&&p<=120831){var y=Math.floor((p-120782)/10);return[Lze[y][2],Lze[y][v]]}else{if(p===120485||p===120486)return[mQ[0][2],mQ[0][v]];if(1204860)return Rp(v,_,p,u,b.concat(A));if(E){var P,R;if(E==="boldsymbol"){var B=WHt(v,p,u,b,d);P=B.fontName,R=[B.fontClass]}else y?(P=Sbe[E].fontName,R=[E]):(P=yQ(E,u.fontWeight,u.fontShape),R=[E,u.fontWeight,u.fontShape]);if(vQ(v,P,p).metrics)return Rp(v,P,p,u,b.concat(R));if(Eze.hasOwnProperty(v)&&P.slice(0,10)==="Typewriter"){for(var j=[],W=0;W{if(C9(i.classes)!==C9(a.classes)||i.skew!==a.skew||i.maxFontSize!==a.maxFontSize||i.italic!==0&&i.hasClass("mathnormal"))return!1;if(i.classes.length===1){var u=i.classes[0];if(u==="mbin"||u==="mord")return!1}for(var d of Object.keys(i.style))if(i.style[d]!==a.style[d])return!1;for(var p of Object.keys(a.style))if(i.style[p]!==a.style[p])return!1;return!0},Mze=i=>{for(var a=0;au&&(u=b.height),b.depth>d&&(d=b.depth),b.maxFontSize>p&&(p=b.maxFontSize)}a.height=u,a.depth=d,a.maxFontSize=p},di=function(a,u,d,p){var v=new jD(a,u,d,p);return Cbe(v),v},A9=(i,a,u,d)=>new jD(i,a,u,d),zD=function(a,u,d){var p=di([a],[],u);return p.height=Math.max(d||u.fontMetrics().defaultRuleThickness,u.minRuleThickness),p.style.borderBottomWidth=Oi(p.height),p.maxFontSize=1,p},XHt=function(a,u,d,p){var v=new fQ(a,u,d,p);return Cbe(v),v},P7=function(a){var u=new RD(a);return Cbe(u),u},qD=function(a,u){return a instanceof RD?di([],[a],u):a},QHt=function(a){if(a.positionType==="individualShift"){for(var u=a.children,d=[u[0]],p=-u[0].shift-u[0].elem.depth,v=p,b=1;b{var u=di(["mspace"],[],a),d=Uh(i,a);return u.style.marginRight=Oi(d),u},yQ=function(a,u,d){var p="";switch(a){case"amsrm":p="AMS";break;case"textrm":p="Main";break;case"textsf":p="SansSerif";break;case"texttt":p="Typewriter";break;default:p=a}var v;return u==="textbf"&&d==="textit"?v="BoldItalic":u==="textbf"?v="Bold":u==="textit"?v="Italic":v="Regular",p+"-"+v},Sbe={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Ize={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Oze=function(a,u){var[d,p,v]=Ize[a],b=new S9(d),y=new O7([b],{width:Oi(p),height:Oi(v),style:"width:"+Oi(p),viewBox:"0 0 "+1e3*p+" "+1e3*v,preserveAspectRatio:"xMinYMin"}),E=A9(["overlay"],[y],u);return E.height=v,E.style.height=Oi(v),E.style.width=Oi(p),E},Vh={number:3,unit:"mu"},zC={number:4,unit:"mu"},B7={number:5,unit:"mu"},JHt={mord:{mop:Vh,mbin:zC,mrel:B7,minner:Vh},mop:{mord:Vh,mop:Vh,mrel:B7,minner:Vh},mbin:{mord:zC,mop:zC,mopen:zC,minner:zC},mrel:{mord:B7,mop:B7,mopen:B7,minner:B7},mopen:{},mclose:{mop:Vh,mbin:zC,mrel:B7,minner:Vh},mpunct:{mord:Vh,mop:Vh,mrel:B7,mopen:Vh,mclose:Vh,mpunct:Vh,minner:Vh},minner:{mord:Vh,mop:Vh,mbin:zC,mrel:B7,mopen:Vh,mpunct:Vh,minner:Vh}},ZHt={mord:{mop:Vh},mop:{mord:Vh,mop:Vh},mbin:{},mrel:{},mopen:{},mclose:{mop:Vh},mpunct:{},minner:{mop:Vh}},Nze={},xQ={},kQ={};function es(i){for(var{type:a,names:u,props:d,handler:p,htmlBuilder:v,mathmlBuilder:b}=i,y={type:a,numArgs:d.numArgs,argTypes:d.argTypes,allowedInArgument:!!d.allowedInArgument,allowedInText:!!d.allowedInText,allowedInMath:d.allowedInMath===void 0?!0:d.allowedInMath,numOptionalArgs:d.numOptionalArgs||0,infix:!!d.infix,primitive:!!d.primitive,handler:p},E=0;E{var ee=W.classes[0],ie=j.classes[0];ee==="mbin"&&tUt.has(ie)?W.classes[0]="mord":ie==="mbin"&&eUt.has(ee)&&(j.classes[0]="mord")},{node:P},R,B),_be(v,(j,W)=>{var ee,ie,oe=Lbe(W),be=Lbe(j),ge=oe&&be?j.hasClass("mtight")?(ee=ZHt[oe])==null?void 0:ee[be]:(ie=JHt[oe])==null?void 0:ie[be]:null;if(ge)return Dze(ge,_)},{node:P},R,B),v},_be=function(a,u,d,p,v){p&&a.push(p);for(var b=0;bR=>{a.splice(P+1,0,R),b++})(b)}p&&a.pop()},Pze=function(a){return a instanceof RD||a instanceof fQ||a instanceof jD&&a.hasClass("enclosing")?a:null},Abe=function(a,u){var d=Pze(a);if(d){var p=d.children;if(p.length){if(u==="right")return Abe(p[p.length-1],"right");if(u==="left")return Abe(p[0],"left")}}return a},Lbe=function(a,u){if(!a)return null;u&&(a=Abe(a,u));var d=a.classes[0];return rUt[d]||null},wR=function(a,u){var d=["nulldelimiter"].concat(a.baseSizingClasses());return di(u.concat(d))},Du=function(a,u,d){if(!a)return di();if(xQ[a.type]){var p=xQ[a.type](a,u);if(d&&u.size!==d.size){p=di(u.sizingClasses(d),[p],u);var v=u.sizeMultiplier/d.sizeMultiplier;p.height*=v,p.depth*=v}return p}else throw new ki("Got group of unknown type: '"+a.type+"'")};function EQ(i,a){var u=di(["base"],i,a),d=di(["strut"]);return d.style.height=Oi(u.height+u.depth),u.depth&&(d.style.verticalAlign=Oi(-u.depth)),u.children.unshift(d),u}function Mbe(i,a){var u=null;i.length===1&&i[0].type==="tag"&&(u=i[0].tag,i=i[0].body);var d=d1(i,a,"root"),p;d.length===2&&d[1].hasClass("tag")&&(p=d.pop());for(var v=[],b=[],y=0;y0&&(v.push(EQ(b,a)),b=[]),v.push(d[y]));b.length>0&&v.push(EQ(b,a));var _;u?(_=EQ(d1(u,a,!0),a),_.classes=["tag"],v.push(_)):p&&v.push(p);var A=di(["katex-html"],v);if(A.setAttribute("aria-hidden","true"),_){var P=_.children[0];P.style.height=Oi(A.height+A.depth),A.depth&&(P.style.verticalAlign=Oi(-A.depth))}return A}function Bze(i){return new RD(i)}class Si{constructor(a,u,d){this.type=a,this.attributes={},this.children=u||[],this.classes=d||[]}setAttribute(a,u){this.attributes[a]=u}getAttribute(a){return this.attributes[a]}toNode(){var a=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var u in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,u)&&a.setAttribute(u,this.attributes[u]);this.classes.length>0&&(a.className=C9(this.classes));for(var d=0;d0&&(a+=' class ="'+zg(C9(this.classes))+'"'),a+=">";for(var d=0;d",a}toText(){return this.children.map(a=>a.toText()).join("")}}class B0{constructor(a){this.text=a}toNode(){return document.createTextNode(this.text)}toMarkup(){return zg(this.toText())}toText(){return this.text}}class Fze{constructor(a){this.width=a,a>=.05555&&a<=.05556?this.character=" ":a>=.1666&&a<=.1667?this.character=" ":a>=.2222&&a<=.2223?this.character=" ":a>=.2777&&a<=.2778?this.character="  ":a>=-.05556&&a<=-.05555?this.character=" ⁣":a>=-.1667&&a<=-.1666?this.character=" ⁣":a>=-.2223&&a<=-.2222?this.character=" ⁣":a>=-.2778&&a<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var a=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return a.setAttribute("width",Oi(this.width)),a}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var iUt=new Set(["\\imath","\\jmath"]),sUt=new Set(["mrow","mtable"]),Vv=function(a,u,d){return vh[u][a]&&vh[u][a].replace&&a.charCodeAt(0)!==55349&&!(Eze.hasOwnProperty(a)&&d&&(d.fontFamily&&d.fontFamily.slice(4,6)==="tt"||d.font&&d.font.slice(4,6)==="tt"))&&(a=vh[u][a].replace),new B0(a)},Dbe=function(a){return a.length===1?a[0]:new Si("mrow",a)},Ibe=function(a,u){if(u.fontFamily==="texttt")return"monospace";if(u.fontFamily==="textsf")return u.fontShape==="textit"&&u.fontWeight==="textbf"?"sans-serif-bold-italic":u.fontShape==="textit"?"sans-serif-italic":u.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(u.fontShape==="textit"&&u.fontWeight==="textbf")return"bold-italic";if(u.fontShape==="textit")return"italic";if(u.fontWeight==="textbf")return"bold";var d=u.font;if(!d||d==="mathnormal")return null;var p=a.mode;if(d==="mathit")return"italic";if(d==="boldsymbol")return a.type==="textord"?"bold":"bold-italic";if(d==="mathbf")return"bold";if(d==="mathbb")return"double-struck";if(d==="mathsfit")return"sans-serif-italic";if(d==="mathfrak")return"fraktur";if(d==="mathscr"||d==="mathcal")return"script";if(d==="mathsf")return"sans-serif";if(d==="mathtt")return"monospace";var v=a.text;if(iUt.has(v))return null;if(vh[p][v]){var b=vh[p][v].replace;b&&(v=b)}var y=Sbe[d].fontName;return mbe(v,y,p)?Sbe[d].variant:null};function Obe(i){if(!i)return!1;if(i.type==="mi"&&i.children.length===1){var a=i.children[0];return a instanceof B0&&a.text==="."}else if(i.type==="mo"&&i.children.length===1&&i.getAttribute("separator")==="true"&&i.getAttribute("lspace")==="0em"&&i.getAttribute("rspace")==="0em"){var u=i.children[0];return u instanceof B0&&u.text===","}else return!1}var wm=function(a,u,d){if(a.length===1){var p=Al(a[0],u);return d&&p instanceof Si&&p.type==="mo"&&(p.setAttribute("lspace","0em"),p.setAttribute("rspace","0em")),[p]}for(var v=[],b,y=0;y=1&&(b.type==="mn"||Obe(b))){var _=E.children[0];_ instanceof Si&&_.type==="mn"&&(_.children=[...b.children,..._.children],v.pop())}else if(b.type==="mi"&&b.children.length===1){var A=b.children[0];if(A instanceof B0&&A.text==="̸"&&(E.type==="mo"||E.type==="mi"||E.type==="mn")){var P=E.children[0];P instanceof B0&&P.text.length>0&&(P.text=P.text.slice(0,1)+"̸"+P.text.slice(1),v.pop())}}}v.push(E),b=E}return v},L9=function(a,u,d){return Dbe(wm(a,u,d))},Al=function(a,u){if(!a)return new Si("mrow");if(kQ[a.type]){var d=kQ[a.type](a,u);return d}else throw new ki("Got group of unknown type: '"+a.type+"'")};function Rze(i,a,u,d,p){var v=wm(i,u),b;v.length===1&&v[0]instanceof Si&&sUt.has(v[0].type)?b=v[0]:b=new Si("mrow",v);var y=new Si("annotation",[new B0(a)]);y.setAttribute("encoding","application/x-tex");var E=new Si("semantics",[b,y]),_=new Si("math",[E]);_.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),d&&_.setAttribute("display","block");var A=p?"katex":"katex-mathml";return di([A],[_])}var aUt=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],jze=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],$ze=function(a,u){return u.size<2?a:aUt[a-1][u.size-1]};class F7{constructor(a){this.style=a.style,this.color=a.color,this.size=a.size||F7.BASESIZE,this.textSize=a.textSize||this.size,this.phantom=!!a.phantom,this.font=a.font||"",this.fontFamily=a.fontFamily||"",this.fontWeight=a.fontWeight||"",this.fontShape=a.fontShape||"",this.sizeMultiplier=jze[this.size-1],this.maxSize=a.maxSize,this.minRuleThickness=a.minRuleThickness,this._fontMetrics=void 0}extend(a){var u={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};return Object.assign(u,a),new F7(u)}havingStyle(a){return this.style===a?this:this.extend({style:a,size:$ze(this.textSize,a)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(a){return this.size===a&&this.textSize===a?this:this.extend({style:this.style.text(),size:a,textSize:a,sizeMultiplier:jze[a-1]})}havingBaseStyle(a){a=a||this.style.text();var u=$ze(F7.BASESIZE,a);return this.size===u&&this.textSize===F7.BASESIZE&&this.style===a?this:this.extend({style:a,size:u})}havingBaseSizing(){var a;switch(this.style.id){case 4:case 5:a=3;break;case 6:case 7:a=1;break;default:a=6}return this.extend({style:this.style.text(),size:a})}withColor(a){return this.extend({color:a})}withPhantom(){return this.extend({phantom:!0})}withFont(a){return this.extend({font:a})}withTextFontFamily(a){return this.extend({fontFamily:a,font:""})}withTextFontWeight(a){return this.extend({fontWeight:a,font:""})}withTextFontShape(a){return this.extend({fontShape:a,font:""})}sizingClasses(a){return a.size!==this.size?["sizing","reset-size"+a.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==F7.BASESIZE?["sizing","reset-size"+this.size,"size"+F7.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=UHt(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}F7.BASESIZE=6;var zze=function(a){return new F7({style:a.displayMode?bo.DISPLAY:bo.TEXT,maxSize:a.maxSize,minRuleThickness:a.minRuleThickness})},qze=function(a,u){if(u.displayMode){var d=["katex-display"];u.leqno&&d.push("leqno"),u.fleqn&&d.push("fleqn"),a=di(d,[a])}return a},oUt=function(a,u,d){var p=zze(d),v;if(d.output==="mathml")return Rze(a,u,p,d.displayMode,!0);if(d.output==="html"){var b=Mbe(a,p);v=di(["katex"],[b])}else{var y=Rze(a,u,p,d.displayMode,!1),E=Mbe(a,p);v=di(["katex"],[y,E])}return qze(v,d)},cUt=function(a,u,d){var p=zze(d),v=Mbe(a,p),b=di(["katex"],[v]);return qze(b,d)},uUt={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",underbracket:"⎵",overbracket:"⎴",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},CQ=function(a){var u=new Si("mo",[new B0(uUt[a.replace(/^\\/,"")])]);return u.setAttribute("stretchy","true"),u},lUt={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},hUt=new Set(["widehat","widecheck","widetilde","utilde"]),SQ=function(a,u){function d(){var y=4e5,E=a.label.slice(1);if(hUt.has(E)){var _=a,A=_.base.type==="ordgroup"?_.base.body.length:1,P,R,B;if(A>5)E==="widehat"||E==="widecheck"?(P=420,y=2364,B=.42,R=E+"4"):(P=312,y=2340,B=.34,R="tilde4");else{var j=[1,1,2,2,3,3][A];E==="widehat"||E==="widecheck"?(y=[0,1062,2364,2364,2364][j],P=[0,239,300,360,420][j],B=[0,.24,.3,.3,.36,.42][j],R=E+j):(y=[0,600,1033,2339,2340][j],P=[0,260,286,306,312][j],B=[0,.26,.286,.3,.306,.34][j],R="tilde"+j)}var W=new S9(R),ee=new O7([W],{width:"100%",height:Oi(B),viewBox:"0 0 "+y+" "+P,preserveAspectRatio:"none"});return{span:A9([],[ee],u),minWidth:0,height:B}}else{var ie=[],oe=lUt[E],[be,ge,ae]=oe,ne=ae/1e3,se=be.length,de,X;if(se===1){var pe=oe[3];de=["hide-tail"],X=[pe]}else if(se===2)de=["halfarrow-left","halfarrow-right"],X=["xMinYMin","xMaxYMin"];else if(se===3)de=["brace-left","brace-center","brace-right"],X=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support - `+se+" children.");for(var G=0;G0&&(p.style.minWidth=Oi(v)),p},fUt=function(a,u,d,p,v){var b,y=a.height+a.depth+d+p;if(/fbox|color|angl/.test(u)){if(b=di(["stretchy",u],[],v),u==="fbox"){var E=v.color&&v.getColor();E&&(b.style.borderColor=E)}}else{var _=[];/^[bx]cancel$/.test(u)&&_.push(new bbe({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(u)&&_.push(new bbe({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var A=new O7(_,{width:"100%",height:Oi(y)});b=A9([],[A],v)}return b.height=y,b.style.height=Oi(y),b};function Xo(i,a){if(!i||i.type!==a)throw new Error("Expected node of type "+a+", but got "+(i?"node of type "+i.type:String(i)));return i}function _Q(i){var a=AQ(i);if(!a)throw new Error("Expected node of symbol group type, but got "+(i?"node of type "+i.type:String(i)));return a}function AQ(i){return i&&(i.type==="atom"||GHt.hasOwnProperty(i.type))?i:null}var Hze=i=>{if(i instanceof mm)return i;if(HHt(i)&&i.children.length===1)return Hze(i.children[0])},Nbe=(i,a)=>{var u,d,p;i&&i.type==="supsub"?(d=Xo(i.base,"accent"),u=d.base,i.base=u,p=qHt(Du(i,a)),i.base=d):(d=Xo(i,"accent"),u=d.base);var v=Du(u,a.havingCrampedStyle()),b=d.isShifty&&D7(u),y=0;if(b){var E,_;y=(E=(_=Hze(v))==null?void 0:_.skew)!=null?E:0}var A=d.label==="\\c",P=A?v.height+v.depth:Math.min(v.height,a.fontMetrics().xHeight),R;if(d.isStretchy)R=SQ(d,a),R=Mu({positionType:"firstBaseline",children:[{type:"elem",elem:v},{type:"elem",elem:R,wrapperClasses:["svg-align"],wrapperStyle:y>0?{width:"calc(100% - "+Oi(2*y)+")",marginLeft:Oi(2*y)}:void 0}]});else{var B,j;d.label==="\\vec"?(B=Oze("vec",a),j=Ize.vec[1]):(B=wQ({type:"textord",mode:d.mode,text:d.label},a,"textord"),B=zHt(B),B.italic=0,j=B.width,A&&(P+=B.depth)),R=di(["accent-body"],[B]);var W=d.label==="\\textcircled";W&&(R.classes.push("accent-full"),P=v.height);var ee=y;W||(ee-=j/2),R.style.left=Oi(ee),d.label==="\\textcircled"&&(R.style.top=".2em"),R=Mu({positionType:"firstBaseline",children:[{type:"elem",elem:v},{type:"kern",size:-P},{type:"elem",elem:R}]})}var ie=di(["mord","accent"],[R],a);return p?(p.children[0]=ie,p.height=Math.max(ie.height,p.height),p.classes[0]="mord",p):ie},Uze=(i,a)=>{var u=i.isStretchy?CQ(i.label):new Si("mo",[Vv(i.label,i.mode)]),d=new Si("mover",[Al(i.base,a),u]);return d.setAttribute("accent","true"),d},dUt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(i=>"\\"+i).join("|"));es({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(i,a)=>{var u=TQ(a[0]),d=!dUt.test(i.funcName),p=!d||i.funcName==="\\widehat"||i.funcName==="\\widetilde"||i.funcName==="\\widecheck";return{type:"accent",mode:i.parser.mode,label:i.funcName,isStretchy:d,isShifty:p,base:u}},htmlBuilder:Nbe,mathmlBuilder:Uze}),es({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(i,a)=>{var u=a[0],d=i.parser.mode;return d==="math"&&(i.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+i.funcName+" works only in text mode"),d="text"),{type:"accent",mode:d,label:i.funcName,isStretchy:!1,isShifty:!0,base:u}},htmlBuilder:Nbe,mathmlBuilder:Uze}),es({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(i,a)=>{var{parser:u,funcName:d}=i,p=a[0];return{type:"accentUnder",mode:u.mode,label:d,base:p}},htmlBuilder:(i,a)=>{var u=Du(i.base,a),d=SQ(i,a),p=i.label==="\\utilde"?.12:0,v=Mu({positionType:"top",positionData:u.height,children:[{type:"elem",elem:d,wrapperClasses:["svg-align"]},{type:"kern",size:p},{type:"elem",elem:u}]});return di(["mord","accentunder"],[v],a)},mathmlBuilder:(i,a)=>{var u=CQ(i.label),d=new Si("munder",[Al(i.base,a),u]);return d.setAttribute("accentunder","true"),d}});var LQ=i=>{var a=new Si("mpadded",i?[i]:[]);return a.setAttribute("width","+0.6em"),a.setAttribute("lspace","0.3em"),a};es({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(i,a,u){var{parser:d,funcName:p}=i;return{type:"xArrow",mode:d.mode,label:p,body:a[0],below:u[0]}},htmlBuilder(i,a){var u=a.style,d=a.havingStyle(u.sup()),p=qD(Du(i.body,d,a),a),v=i.label.slice(0,2)==="\\x"?"x":"cd";p.classes.push(v+"-arrow-pad");var b;i.below&&(d=a.havingStyle(u.sub()),b=qD(Du(i.below,d,a),a),b.classes.push(v+"-arrow-pad"));var y=SQ(i,a),E=-a.fontMetrics().axisHeight+.5*y.height,_=-a.fontMetrics().axisHeight-.5*y.height-.111;(p.depth>.25||i.label==="\\xleftequilibrium")&&(_-=p.depth);var A;if(b){var P=-a.fontMetrics().axisHeight+b.height+.5*y.height+.111;A=Mu({positionType:"individualShift",children:[{type:"elem",elem:p,shift:_},{type:"elem",elem:y,shift:E},{type:"elem",elem:b,shift:P}]})}else A=Mu({positionType:"individualShift",children:[{type:"elem",elem:p,shift:_},{type:"elem",elem:y,shift:E}]});return A.children[0].children[0].children[1].classes.push("svg-align"),di(["mrel","x-arrow"],[A],a)},mathmlBuilder(i,a){var u=CQ(i.label);u.setAttribute("minsize",i.label.charAt(0)==="x"?"1.75em":"3.0em");var d;if(i.body){var p=LQ(Al(i.body,a));if(i.below){var v=LQ(Al(i.below,a));d=new Si("munderover",[u,v,p])}else d=new Si("mover",[u,p])}else if(i.below){var b=LQ(Al(i.below,a));d=new Si("munder",[u,b])}else d=LQ(),d=new Si("mover",[u,d]);return d}});function Vze(i,a){var u=d1(i.body,a,!0);return di([i.mclass],u,a)}function Gze(i,a){var u,d=wm(i.body,a);return i.mclass==="minner"?u=new Si("mpadded",d):i.mclass==="mord"?i.isCharacterBox?(u=d[0],u.type="mi"):u=new Si("mi",d):(i.isCharacterBox?(u=d[0],u.type="mo"):u=new Si("mo",d),i.mclass==="mbin"?(u.attributes.lspace="0.22em",u.attributes.rspace="0.22em"):i.mclass==="mpunct"?(u.attributes.lspace="0em",u.attributes.rspace="0.17em"):i.mclass==="mopen"||i.mclass==="mclose"?(u.attributes.lspace="0em",u.attributes.rspace="0em"):i.mclass==="minner"&&(u.attributes.lspace="0.0556em",u.attributes.width="+0.1111em")),u}es({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(i,a){var{parser:u,funcName:d}=i,p=a[0];return{type:"mclass",mode:u.mode,mclass:"m"+d.slice(5),body:P0(p),isCharacterBox:D7(p)}},htmlBuilder:Vze,mathmlBuilder:Gze});var MQ=i=>{var a=i.type==="ordgroup"&&i.body.length?i.body[0]:i;return a.type==="atom"&&(a.family==="bin"||a.family==="rel")?"m"+a.family:"mord"};es({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(i,a){var{parser:u}=i;return{type:"mclass",mode:u.mode,mclass:MQ(a[0]),body:P0(a[1]),isCharacterBox:D7(a[1])}}}),es({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(i,a){var{parser:u,funcName:d}=i,p=a[1],v=a[0],b;d!=="\\stackrel"?b=MQ(p):b="mrel";var y={type:"op",mode:p.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:d!=="\\stackrel",body:P0(p)},E={type:"supsub",mode:v.mode,base:y,sup:d==="\\underset"?null:v,sub:d==="\\underset"?v:null};return{type:"mclass",mode:u.mode,mclass:b,body:[E],isCharacterBox:D7(E)}},htmlBuilder:Vze,mathmlBuilder:Gze}),es({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(i,a){var{parser:u}=i;return{type:"pmb",mode:u.mode,mclass:MQ(a[0]),body:P0(a[0])}},htmlBuilder(i,a){var u=d1(i.body,a,!0),d=di([i.mclass],u,a);return d.style.textShadow="0.02em 0.01em 0.04px",d},mathmlBuilder(i,a){var u=wm(i.body,a),d=new Si("mstyle",u);return d.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),d}});var gUt={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Kze=()=>({type:"styling",body:[],mode:"math",style:"display"}),Wze=i=>i.type==="textord"&&i.text==="@",pUt=(i,a)=>(i.type==="mathord"||i.type==="atom")&&i.text===a;function bUt(i,a,u){var d=gUt[i];switch(d){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return u.callFunction(d,[a[0]],[a[1]]);case"\\uparrow":case"\\downarrow":{var p=u.callFunction("\\\\cdleft",[a[0]],[]),v={type:"atom",text:d,mode:"math",family:"rel"},b=u.callFunction("\\Big",[v],[]),y=u.callFunction("\\\\cdright",[a[1]],[]),E={type:"ordgroup",mode:"math",body:[p,b,y]};return u.callFunction("\\\\cdparent",[E],[])}case"\\\\cdlongequal":return u.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var _={type:"textord",text:"\\Vert",mode:"math"};return u.callFunction("\\Big",[_],[])}default:return{type:"textord",text:" ",mode:"math"}}}function mUt(i){var a=[];for(i.gullet.beginGroup(),i.gullet.macros.set("\\cr","\\\\\\relax"),i.gullet.beginGroup();;){a.push(i.parseExpression(!1,"\\\\")),i.gullet.endGroup(),i.gullet.beginGroup();var u=i.fetch().text;if(u==="&"||u==="\\\\")i.consume();else if(u==="\\end"){a[a.length-1].length===0&&a.pop();break}else throw new ki("Expected \\\\ or \\cr or \\end",i.nextToken)}for(var d=[],p=[d],v=0;vAV".includes(_))for(var P=0;P<2;P++){for(var R=!0,B=E+1;BAV=|." after @',b[E]);var j=bUt(_,A,i),W={type:"styling",body:[j],mode:"math",style:"display"};d.push(W),y=Kze()}v%2===0?d.push(y):d.shift(),d=[],p.push(d)}i.gullet.endGroup(),i.gullet.endGroup();var ee=new Array(p[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:p,arraystretch:1,addJot:!0,rowGaps:[null],cols:ee,colSeparationType:"CD",hLinesBeforeRow:new Array(p.length+1).fill([])}}es({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(i,a){var{parser:u,funcName:d}=i;return{type:"cdlabel",mode:u.mode,side:d.slice(4),label:a[0]}},htmlBuilder(i,a){var u=a.havingStyle(a.style.sup()),d=qD(Du(i.label,u,a),a);return d.classes.push("cd-label-"+i.side),d.style.bottom=Oi(.8-d.depth),d.height=0,d.depth=0,d},mathmlBuilder(i,a){var u=new Si("mrow",[Al(i.label,a)]);return u=new Si("mpadded",[u]),u.setAttribute("width","0"),i.side==="left"&&u.setAttribute("lspace","-1width"),u.setAttribute("voffset","0.7em"),u=new Si("mstyle",[u]),u.setAttribute("displaystyle","false"),u.setAttribute("scriptlevel","1"),u}}),es({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(i,a){var{parser:u}=i;return{type:"cdlabelparent",mode:u.mode,fragment:a[0]}},htmlBuilder(i,a){var u=qD(Du(i.fragment,a),a);return u.classes.push("cd-vert-arrow"),u},mathmlBuilder(i,a){return new Si("mrow",[Al(i.fragment,a)])}}),es({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(i,a){for(var{parser:u}=i,d=Xo(a[0],"ordgroup"),p=d.body,v="",b=0;b=1114111)throw new ki("\\@char with invalid code point "+v);return E<=65535?_=String.fromCharCode(E):(E-=65536,_=String.fromCharCode((E>>10)+55296,(E&1023)+56320)),{type:"textord",mode:u.mode,text:_}}});var Yze=(i,a)=>{var u=d1(i.body,a.withColor(i.color),!1);return P7(u)},Xze=(i,a)=>{var u=wm(i.body,a.withColor(i.color)),d=new Si("mstyle",u);return d.setAttribute("mathcolor",i.color),d};es({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(i,a){var{parser:u}=i,d=Xo(a[0],"color-token").color,p=a[1];return{type:"color",mode:u.mode,color:d,body:P0(p)}},htmlBuilder:Yze,mathmlBuilder:Xze}),es({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(i,a){var{parser:u,breakOnTokenText:d}=i,p=Xo(a[0],"color-token").color;u.gullet.macros.set("\\current@color",p);var v=u.parseExpression(!0,d);return{type:"color",mode:u.mode,color:p,body:v}},htmlBuilder:Yze,mathmlBuilder:Xze}),es({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(i,a,u){var{parser:d}=i,p=d.gullet.future().text==="["?d.parseSizeGroup(!0):null,v=!d.settings.displayMode||!d.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:d.mode,newLine:v,size:p&&Xo(p,"size").value}},htmlBuilder(i,a){var u=di(["mspace"],[],a);return i.newLine&&(u.classes.push("newline"),i.size&&(u.style.marginTop=Oi(Uh(i.size,a)))),u},mathmlBuilder(i,a){var u=new Si("mspace");return i.newLine&&(u.setAttribute("linebreak","newline"),i.size&&u.setAttribute("height",Oi(Uh(i.size,a)))),u}});var Pbe={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Qze=i=>{var a=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new ki("Expected a control sequence",i);return a},vUt=i=>{var a=i.gullet.popToken();return a.text==="="&&(a=i.gullet.popToken(),a.text===" "&&(a=i.gullet.popToken())),a},Jze=(i,a,u,d)=>{var p=i.gullet.macros.get(u.text);p==null&&(u.noexpand=!0,p={tokens:[u],numArgs:0,unexpandable:!i.gullet.isExpandable(u.text)}),i.gullet.macros.set(a,p,d)};es({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(i){var{parser:a,funcName:u}=i;a.consumeSpaces();var d=a.fetch();if(Pbe[d.text])return(u==="\\global"||u==="\\\\globallong")&&(d.text=Pbe[d.text]),Xo(a.parseFunction(),"internal");throw new ki("Invalid token after macro prefix",d)}}),es({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i){var{parser:a,funcName:u}=i,d=a.gullet.popToken(),p=d.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(p))throw new ki("Expected a control sequence",d);for(var v=0,b,y=[[]];a.gullet.future().text!=="{";)if(d=a.gullet.popToken(),d.text==="#"){if(a.gullet.future().text==="{"){b=a.gullet.future(),y[v].push("{");break}if(d=a.gullet.popToken(),!/^[1-9]$/.test(d.text))throw new ki('Invalid argument number "'+d.text+'"');if(parseInt(d.text)!==v+1)throw new ki('Argument number "'+d.text+'" out of order');v++,y.push([])}else{if(d.text==="EOF")throw new ki("Expected a macro definition");y[v].push(d.text)}var{tokens:E}=a.gullet.consumeArg();return b&&E.unshift(b),(u==="\\edef"||u==="\\xdef")&&(E=a.gullet.expandTokens(E),E.reverse()),a.gullet.macros.set(p,{tokens:E,numArgs:v,delimiters:y},u===Pbe[u]),{type:"internal",mode:a.mode}}}),es({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i){var{parser:a,funcName:u}=i,d=Qze(a.gullet.popToken());a.gullet.consumeSpaces();var p=vUt(a);return Jze(a,d,p,u==="\\\\globallet"),{type:"internal",mode:a.mode}}}),es({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i){var{parser:a,funcName:u}=i,d=Qze(a.gullet.popToken()),p=a.gullet.popToken(),v=a.gullet.popToken();return Jze(a,d,v,u==="\\\\globalfuture"),a.gullet.pushToken(v),a.gullet.pushToken(p),{type:"internal",mode:a.mode}}});var yR=function(a,u,d){var p=vh.math[a]&&vh.math[a].replace,v=mbe(p||a,u,d);if(!v)throw new Error("Unsupported symbol "+a+" and font size "+u+".");return v},Bbe=function(a,u,d,p){var v=d.havingBaseStyle(u),b=di(p.concat(v.sizingClasses(d)),[a],d),y=v.sizeMultiplier/d.sizeMultiplier;return b.height*=y,b.depth*=y,b.maxFontSize=v.sizeMultiplier,b},Zze=function(a,u,d){var p=u.havingBaseStyle(d),v=(1-u.sizeMultiplier/p.sizeMultiplier)*u.fontMetrics().axisHeight;a.classes.push("delimcenter"),a.style.top=Oi(v),a.height-=v,a.depth+=v},wUt=function(a,u,d,p,v,b){var y=Rp(a,"Main-Regular",v,p),E=Bbe(y,u,p,b);return d&&Zze(E,p,u),E},yUt=function(a,u,d,p){return Rp(a,"Size"+u+"-Regular",d,p)},eqe=function(a,u,d,p,v,b){var y=yUt(a,u,v,p),E=Bbe(di(["delimsizing","size"+u],[y],p),bo.TEXT,p,b);return d&&Zze(E,p,bo.TEXT),E},Fbe=function(a,u,d){var p;u==="Size1-Regular"?p="delim-size1":p="delim-size4";var v=di(["delimsizinginner",p],[di([],[Rp(a,u,d)])]);return{type:"elem",elem:v}},Rbe=function(a,u,d){var p=Y4["Size4-Regular"][a.charCodeAt(0)]?Y4["Size4-Regular"][a.charCodeAt(0)][4]:Y4["Size1-Regular"][a.charCodeAt(0)][4],v=new S9("inner",PHt(a,Math.round(1e3*u))),b=new O7([v],{width:Oi(p),height:Oi(u),style:"width:"+Oi(p),viewBox:"0 0 "+1e3*p+" "+Math.round(1e3*u),preserveAspectRatio:"xMinYMin"}),y=A9([],[b],d);return y.height=u,y.style.height=Oi(u),y.style.width=Oi(p),{type:"elem",elem:y}},jbe=.008,DQ={type:"kern",size:-1*jbe},xUt=new Set(["|","\\lvert","\\rvert","\\vert"]),kUt=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),tqe=function(a,u,d,p,v,b){var y,E,_,A,P="",R=0;y=_=A=a,E=null;var B="Size1-Regular";a==="\\uparrow"?_=A="⏐":a==="\\Uparrow"?_=A="‖":a==="\\downarrow"?y=_="⏐":a==="\\Downarrow"?y=_="‖":a==="\\updownarrow"?(y="\\uparrow",_="⏐",A="\\downarrow"):a==="\\Updownarrow"?(y="\\Uparrow",_="‖",A="\\Downarrow"):xUt.has(a)?(_="∣",P="vert",R=333):kUt.has(a)?(_="∥",P="doublevert",R=556):a==="["||a==="\\lbrack"?(y="⎡",_="⎢",A="⎣",B="Size4-Regular",P="lbrack",R=667):a==="]"||a==="\\rbrack"?(y="⎤",_="⎥",A="⎦",B="Size4-Regular",P="rbrack",R=667):a==="\\lfloor"||a==="⌊"?(_=y="⎢",A="⎣",B="Size4-Regular",P="lfloor",R=667):a==="\\lceil"||a==="⌈"?(y="⎡",_=A="⎢",B="Size4-Regular",P="lceil",R=667):a==="\\rfloor"||a==="⌋"?(_=y="⎥",A="⎦",B="Size4-Regular",P="rfloor",R=667):a==="\\rceil"||a==="⌉"?(y="⎤",_=A="⎥",B="Size4-Regular",P="rceil",R=667):a==="("||a==="\\lparen"?(y="⎛",_="⎜",A="⎝",B="Size4-Regular",P="lparen",R=875):a===")"||a==="\\rparen"?(y="⎞",_="⎟",A="⎠",B="Size4-Regular",P="rparen",R=875):a==="\\{"||a==="\\lbrace"?(y="⎧",E="⎨",A="⎩",_="⎪",B="Size4-Regular"):a==="\\}"||a==="\\rbrace"?(y="⎫",E="⎬",A="⎭",_="⎪",B="Size4-Regular"):a==="\\lgroup"||a==="⟮"?(y="⎧",A="⎩",_="⎪",B="Size4-Regular"):a==="\\rgroup"||a==="⟯"?(y="⎫",A="⎭",_="⎪",B="Size4-Regular"):a==="\\lmoustache"||a==="⎰"?(y="⎧",A="⎭",_="⎪",B="Size4-Regular"):(a==="\\rmoustache"||a==="⎱")&&(y="⎫",A="⎩",_="⎪",B="Size4-Regular");var j=yR(y,B,v),W=j.height+j.depth,ee=yR(_,B,v),ie=ee.height+ee.depth,oe=yR(A,B,v),be=oe.height+oe.depth,ge=0,ae=1;if(E!==null){var ne=yR(E,B,v);ge=ne.height+ne.depth,ae=2}var se=W+be+ge,de=Math.max(0,Math.ceil((u-se)/(ae*ie))),X=se+de*ae*ie,pe=p.fontMetrics().axisHeight;d&&(pe*=p.sizeMultiplier);var G=X/2-pe,xe=[];if(P.length>0){var U=X-W-be,Be=Math.round(X*1e3),Pe=BHt(P,Math.round(U*1e3)),je=new S9(P,Pe),Ie=Oi(R/1e3),Se=Oi(Be/1e3),Ce=new O7([je],{width:Ie,height:Se,viewBox:"0 0 "+R+" "+Be}),ke=A9([],[Ce],p);ke.height=Be/1e3,ke.style.width=Ie,ke.style.height=Se,xe.push({type:"elem",elem:ke})}else{if(xe.push(Fbe(A,B,v)),xe.push(DQ),E===null){var Ke=X-W-be+2*jbe;xe.push(Rbe(_,Ke,p))}else{var zt=(X-W-be-ge)/2+2*jbe;xe.push(Rbe(_,zt,p)),xe.push(DQ),xe.push(Fbe(E,B,v)),xe.push(DQ),xe.push(Rbe(_,zt,p))}xe.push(DQ),xe.push(Fbe(y,B,v))}var Ne=p.havingBaseStyle(bo.TEXT),pn=Mu({positionType:"bottom",positionData:G,children:xe});return Bbe(di(["delimsizing","mult"],[pn],Ne),bo.TEXT,p,b)},$be=80,zbe=.08,qbe=function(a,u,d,p,v){var b=NHt(a,p,d),y=new S9(a,b),E=new O7([y],{width:"400em",height:Oi(u),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});return A9(["hide-tail"],[E],v)},TUt=function(a,u){var d=u.havingBaseSizing(),p=aqe("\\surd",a*d.sizeMultiplier,sqe,d),v=d.sizeMultiplier,b=Math.max(0,u.minRuleThickness-u.fontMetrics().sqrtRuleThickness),y,E=0,_=0,A=0,P;return p.type==="small"?(A=1e3+1e3*b+$be,a<1?v=1:a<1.4&&(v=.7),E=(1+b+zbe)/v,_=(1+b)/v,y=qbe("sqrtMain",E,A,b,u),y.style.minWidth="0.853em",P=.833/v):p.type==="large"?(A=(1e3+$be)*xR[p.size],_=(xR[p.size]+b)/v,E=(xR[p.size]+b+zbe)/v,y=qbe("sqrtSize"+p.size,E,A,b,u),y.style.minWidth="1.02em",P=1/v):(E=a+b+zbe,_=a+b,A=Math.floor(1e3*a+b)+$be,y=qbe("sqrtTall",E,A,b,u),y.style.minWidth="0.742em",P=1.056),y.height=_,y.style.height=Oi(E),{span:y,advanceWidth:P,ruleWidth:(u.fontMetrics().sqrtRuleThickness+b)*v}},nqe=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),EUt=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),rqe=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),xR=[0,1.2,1.8,2.4,3],iqe=function(a,u,d,p,v){if(a==="<"||a==="\\lt"||a==="⟨"?a="\\langle":(a===">"||a==="\\gt"||a==="⟩")&&(a="\\rangle"),nqe.has(a)||rqe.has(a))return eqe(a,u,!1,d,p,v);if(EUt.has(a))return tqe(a,xR[u],!1,d,p,v);throw new ki("Illegal delimiter: '"+a+"'")},CUt=[{type:"small",style:bo.SCRIPTSCRIPT},{type:"small",style:bo.SCRIPT},{type:"small",style:bo.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],SUt=[{type:"small",style:bo.SCRIPTSCRIPT},{type:"small",style:bo.SCRIPT},{type:"small",style:bo.TEXT},{type:"stack"}],sqe=[{type:"small",style:bo.SCRIPTSCRIPT},{type:"small",style:bo.SCRIPT},{type:"small",style:bo.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],_Ut=function(a){if(a.type==="small")return"Main-Regular";if(a.type==="large")return"Size"+a.size+"-Regular";if(a.type==="stack")return"Size4-Regular";var u=a.type;throw new Error("Add support for delim type '"+u+"' here.")},aqe=function(a,u,d,p){for(var v=Math.min(2,3-p.style.size),b=v;bu)return y}return d[d.length-1]},Hbe=function(a,u,d,p,v,b){a==="<"||a==="\\lt"||a==="⟨"?a="\\langle":(a===">"||a==="\\gt"||a==="⟩")&&(a="\\rangle");var y;rqe.has(a)?y=CUt:nqe.has(a)?y=sqe:y=SUt;var E=aqe(a,u,y,p);return E.type==="small"?wUt(a,E.style,d,p,v,b):E.type==="large"?eqe(a,E.size,d,p,v,b):tqe(a,u,d,p,v,b)},Ube=function(a,u,d,p,v,b){var y=p.fontMetrics().axisHeight*p.sizeMultiplier,E=901,_=5/p.fontMetrics().ptPerEm,A=Math.max(u-y,d+y),P=Math.max(A/500*E,2*A-_);return Hbe(a,P,!0,p,v,b)},oqe={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},AUt=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]);function IQ(i,a){var u=AQ(i);if(u&&AUt.has(u.text))return u;throw u?new ki("Invalid delimiter '"+u.text+"' after '"+a.funcName+"'",i):new ki("Invalid delimiter type '"+i.type+"'",i)}es({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(i,a)=>{var u=IQ(a[0],i);return{type:"delimsizing",mode:i.parser.mode,size:oqe[i.funcName].size,mclass:oqe[i.funcName].mclass,delim:u.text}},htmlBuilder:(i,a)=>i.delim==="."?di([i.mclass]):iqe(i.delim,i.size,a,i.mode,[i.mclass]),mathmlBuilder:i=>{var a=[];i.delim!=="."&&a.push(Vv(i.delim,i.mode));var u=new Si("mo",a);i.mclass==="mopen"||i.mclass==="mclose"?u.setAttribute("fence","true"):u.setAttribute("fence","false"),u.setAttribute("stretchy","true");var d=Oi(xR[i.size]);return u.setAttribute("minsize",d),u.setAttribute("maxsize",d),u}});function cqe(i){if(!i.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}es({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(i,a)=>{var u=i.parser.gullet.macros.get("\\current@color");if(u&&typeof u!="string")throw new ki("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:i.parser.mode,delim:IQ(a[0],i).text,color:u}}}),es({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(i,a)=>{var u=IQ(a[0],i),d=i.parser;++d.leftrightDepth;var p=d.parseExpression(!1);--d.leftrightDepth,d.expect("\\right",!1);var v=Xo(d.parseFunction(),"leftright-right");return{type:"leftright",mode:d.mode,body:p,left:u.text,right:v.delim,rightColor:v.color}},htmlBuilder:(i,a)=>{cqe(i);for(var u=d1(i.body,a,!0,["mopen","mclose"]),d=0,p=0,v=!1,b=0;b{cqe(i);var u=wm(i.body,a);if(i.left!=="."){var d=new Si("mo",[Vv(i.left,i.mode)]);d.setAttribute("fence","true"),u.unshift(d)}if(i.right!=="."){var p=new Si("mo",[Vv(i.right,i.mode)]);p.setAttribute("fence","true"),i.rightColor&&p.setAttribute("mathcolor",i.rightColor),u.push(p)}return Dbe(u)}}),es({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(i,a)=>{var u=IQ(a[0],i);if(!i.parser.leftrightDepth)throw new ki("\\middle without preceding \\left",u);return{type:"middle",mode:i.parser.mode,delim:u.text}},htmlBuilder:(i,a)=>{var u;if(i.delim===".")u=wR(a,[]);else{u=iqe(i.delim,1,a,i.mode,[]);var d={delim:i.delim,options:a};u.isMiddle=d}return u},mathmlBuilder:(i,a)=>{var u=i.delim==="\\vert"||i.delim==="|"?Vv("|","text"):Vv(i.delim,i.mode),d=new Si("mo",[u]);return d.setAttribute("fence","true"),d.setAttribute("lspace","0.05em"),d.setAttribute("rspace","0.05em"),d}});var OQ=(i,a)=>{var u=qD(Du(i.body,a),a),d=i.label.slice(1),p=a.sizeMultiplier,v,b=0,y=D7(i.body);if(d==="sout")v=di(["stretchy","sout"]),v.height=a.fontMetrics().defaultRuleThickness/p,b=-.5*a.fontMetrics().xHeight;else if(d==="phase"){var E=Uh({number:.6,unit:"pt"},a),_=Uh({number:.35,unit:"ex"},a),A=a.havingBaseSizing();p=p/A.sizeMultiplier;var P=u.height+u.depth+E+_;u.style.paddingLeft=Oi(P/2+E);var R=Math.floor(1e3*P*p),B=IHt(R),j=new O7([new S9("phase",B)],{width:"400em",height:Oi(R/1e3),viewBox:"0 0 400000 "+R,preserveAspectRatio:"xMinYMin slice"});v=A9(["hide-tail"],[j],a),v.style.height=Oi(P),b=u.depth+E+_}else{/cancel/.test(d)?y||u.classes.push("cancel-pad"):d==="angl"?u.classes.push("anglpad"):u.classes.push("boxpad");var W=0,ee=0,ie=0;/box/.test(d)?(ie=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness),W=a.fontMetrics().fboxsep+(d==="colorbox"?0:ie),ee=W):d==="angl"?(ie=Math.max(a.fontMetrics().defaultRuleThickness,a.minRuleThickness),W=4*ie,ee=Math.max(0,.25-u.depth)):(W=y?.2:0,ee=W),v=fUt(u,d,W,ee,a),/fbox|boxed|fcolorbox/.test(d)?(v.style.borderStyle="solid",v.style.borderWidth=Oi(ie)):d==="angl"&&ie!==.049&&(v.style.borderTopWidth=Oi(ie),v.style.borderRightWidth=Oi(ie)),b=u.depth+ee,i.backgroundColor&&(v.style.backgroundColor=i.backgroundColor,i.borderColor&&(v.style.borderColor=i.borderColor))}var oe;if(i.backgroundColor)oe=Mu({positionType:"individualShift",children:[{type:"elem",elem:v,shift:b},{type:"elem",elem:u,shift:0}]});else{var be=/cancel|phase/.test(d)?["svg-align"]:[];oe=Mu({positionType:"individualShift",children:[{type:"elem",elem:u,shift:0},{type:"elem",elem:v,shift:b,wrapperClasses:be}]})}return/cancel/.test(d)&&(oe.height=u.height,oe.depth=u.depth),/cancel/.test(d)&&!y?di(["mord","cancel-lap"],[oe],a):di(["mord"],[oe],a)},NQ=(i,a)=>{var u=0,d=new Si(i.label.includes("colorbox")?"mpadded":"menclose",[Al(i.body,a)]);switch(i.label){case"\\cancel":d.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":d.setAttribute("notation","downdiagonalstrike");break;case"\\phase":d.setAttribute("notation","phasorangle");break;case"\\sout":d.setAttribute("notation","horizontalstrike");break;case"\\fbox":d.setAttribute("notation","box");break;case"\\angl":d.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(u=a.fontMetrics().fboxsep*a.fontMetrics().ptPerEm,d.setAttribute("width","+"+2*u+"pt"),d.setAttribute("height","+"+2*u+"pt"),d.setAttribute("lspace",u+"pt"),d.setAttribute("voffset",u+"pt"),i.label==="\\fcolorbox"){var p=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness);d.setAttribute("style","border: "+Oi(p)+" solid "+i.borderColor)}break;case"\\xcancel":d.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return i.backgroundColor&&d.setAttribute("mathbackground",i.backgroundColor),d};es({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(i,a,u){var{parser:d,funcName:p}=i,v=Xo(a[0],"color-token").color,b=a[1];return{type:"enclose",mode:d.mode,label:p,backgroundColor:v,body:b}},htmlBuilder:OQ,mathmlBuilder:NQ}),es({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(i,a,u){var{parser:d,funcName:p}=i,v=Xo(a[0],"color-token").color,b=Xo(a[1],"color-token").color,y=a[2];return{type:"enclose",mode:d.mode,label:p,backgroundColor:b,borderColor:v,body:y}},htmlBuilder:OQ,mathmlBuilder:NQ}),es({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(i,a){var{parser:u}=i;return{type:"enclose",mode:u.mode,label:"\\fbox",body:a[0]}}}),es({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],props:{numArgs:1},handler(i,a){var{parser:u,funcName:d}=i,p=a[0];return{type:"enclose",mode:u.mode,label:d,body:p}},htmlBuilder:OQ,mathmlBuilder:NQ}),es({type:"enclose",names:["\\sout"],props:{numArgs:1,allowedInText:!0},handler(i,a){var{parser:u,funcName:d}=i;u.mode==="math"&&u.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var p=a[0];return{type:"enclose",mode:u.mode,label:d,body:p}},htmlBuilder:OQ,mathmlBuilder:NQ}),es({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(i,a){var{parser:u}=i;return{type:"enclose",mode:u.mode,label:"\\angl",body:a[0]}}});var uqe={};function X4(i){for(var{type:a,names:u,props:d,handler:p,htmlBuilder:v,mathmlBuilder:b}=i,y={type:a,numArgs:d.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:p},E=0;E{var a=i.parser.settings;if(!a.displayMode)throw new ki("{"+i.envName+"} can be used only in display mode.")},LUt=new Set(["gather","gather*"]);function Vbe(i){if(!i.includes("ed"))return!i.includes("*")}function M9(i,a,u){var{hskipBeforeAndAfter:d,addJot:p,cols:v,arraystretch:b,colSeparationType:y,autoTag:E,singleRow:_,emptySingleRow:A,maxNumCols:P,leqno:R}=a;if(i.gullet.beginGroup(),_||i.gullet.macros.set("\\cr","\\\\\\relax"),!b){var B=i.gullet.expandMacroAsText("\\arraystretch");if(B==null)b=1;else if(b=parseFloat(B),!b||b<0)throw new ki("Invalid \\arraystretch: "+B)}i.gullet.beginGroup();var j=[],W=[j],ee=[],ie=[],oe=E!=null?[]:void 0;function be(){E&&i.gullet.macros.set("\\@eqnsw","1",!0)}function ge(){oe&&(i.gullet.macros.get("\\df@tag")?(oe.push(i.subparse([new ym("\\df@tag")])),i.gullet.macros.set("\\df@tag",void 0,!0)):oe.push(!!E&&i.gullet.macros.get("\\@eqnsw")==="1"))}for(be(),ie.push(hqe(i));;){var ae=i.parseExpression(!1,_?"\\end":"\\\\");i.gullet.endGroup(),i.gullet.beginGroup();var ne={type:"ordgroup",mode:i.mode,body:ae};u&&(ne={type:"styling",mode:i.mode,style:u,body:[ne]}),j.push(ne);var se=i.fetch().text;if(se==="&"){if(P&&j.length===P){if(_||y)throw new ki("Too many tab characters: &",i.nextToken);i.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}i.consume()}else if(se==="\\end"){ge(),j.length===1&&ne.type==="styling"&&ne.body.length===1&&ne.body[0].type==="ordgroup"&&ne.body[0].body.length===0&&(W.length>1||!A)&&W.pop(),ie.length0&&(be+=.25),_.push({pos:be,isDashed:gt[on]})}for(ge(b[0]),d=0;d0&&(G+=oe,segt))for(d=0;d=y)){var yt=void 0;if(p>0||a.hskipBeforeAndAfter){var Bt,Ze;yt=(Bt=(Ze=Ne)==null?void 0:Ze.pregap)!=null?Bt:R,yt!==0&&(Pe=di(["arraycolsep"],[]),Pe.style.width=Oi(yt),Be.push(Pe))}var Dt=[];for(d=0;d0){for(var Hs=zD("hline",u,A),mo=zD("hdashline",u,A),Tr=[{type:"elem",elem:ia,shift:0}];_.length>0;){var On=_.pop(),Rn=On.pos-xe;On.isDashed?Tr.push({type:"elem",elem:mo,shift:Rn}):Tr.push({type:"elem",elem:Hs,shift:Rn})}ia=Mu({positionType:"individualShift",children:Tr})}if(Ie.length===0)return di(["mord"],[ia],u);var zn=Mu({positionType:"individualShift",children:Ie}),Ct=di(["tag"],[zn],u);return P7([ia,Ct])},MUt={c:"center ",l:"left ",r:"right "},J4=function(a,u){for(var d=[],p=new Si("mtd",[],["mtr-glue"]),v=new Si("mtd",[],["mml-eqn-num"]),b=0;b0){var j=a.cols,W="",ee=!1,ie=0,oe=j.length;j[0].type==="separator"&&(R+="top ",ie=1),j[j.length-1].type==="separator"&&(R+="bottom ",oe-=1);for(var be=ie;be0?"left ":"",R+=X[X.length-1].length>0?"right ":"";for(var pe=1;pe0&&B&&(ee=1),d[j]={type:"align",align:W,pregap:ee,postgap:0}}return b.colSeparationType=B?"align":"alignat",b};X4({type:"array",names:["array","darray"],props:{numArgs:1},handler(i,a){var u=AQ(a[0]),d=u?[a[0]]:Xo(a[0],"ordgroup").body,p=d.map(function(b){var y=_Q(b),E=y.text;if("lcr".includes(E))return{type:"align",align:E};if(E==="|")return{type:"separator",separator:"|"};if(E===":")return{type:"separator",separator:":"};throw new ki("Unknown column alignment: "+E,b)}),v={cols:p,hskipBeforeAndAfter:!0,maxNumCols:p.length};return M9(i.parser,v,Gbe(i.envName))},htmlBuilder:Q4,mathmlBuilder:J4}),X4({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(i){var a={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[i.envName.replace("*","")],u="c",d={hskipBeforeAndAfter:!1,cols:[{type:"align",align:u}]};if(i.envName.charAt(i.envName.length-1)==="*"){var p=i.parser;if(p.consumeSpaces(),p.fetch().text==="["){if(p.consume(),p.consumeSpaces(),u=p.fetch().text,!"lcr".includes(u))throw new ki("Expected l or c or r",p.nextToken);p.consume(),p.consumeSpaces(),p.expect("]"),p.consume(),d.cols=[{type:"align",align:u}]}}var v=M9(i.parser,d,Gbe(i.envName)),b=Math.max(0,...v.body.map(y=>y.length));return v.cols=new Array(b).fill({type:"align",align:u}),a?{type:"leftright",mode:i.mode,body:[v],left:a[0],right:a[1],rightColor:void 0}:v},htmlBuilder:Q4,mathmlBuilder:J4}),X4({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(i){var a={arraystretch:.5},u=M9(i.parser,a,"script");return u.colSeparationType="small",u},htmlBuilder:Q4,mathmlBuilder:J4}),X4({type:"array",names:["subarray"],props:{numArgs:1},handler(i,a){var u=AQ(a[0]),d=u?[a[0]]:Xo(a[0],"ordgroup").body,p=d.map(function(y){var E=_Q(y),_=E.text;if("lc".includes(_))return{type:"align",align:_};throw new ki("Unknown column alignment: "+_,y)});if(p.length>1)throw new ki("{subarray} can contain only one column");var v={cols:p,hskipBeforeAndAfter:!1,arraystretch:.5},b=M9(i.parser,v,"script");if(b.body.length>0&&b.body[0].length>1)throw new ki("{subarray} can contain only one column");return b},htmlBuilder:Q4,mathmlBuilder:J4}),X4({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(i){var a={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},u=M9(i.parser,a,Gbe(i.envName));return{type:"leftright",mode:i.mode,body:[u],left:i.envName.includes("r")?".":"\\{",right:i.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:Q4,mathmlBuilder:J4}),X4({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:fqe,htmlBuilder:Q4,mathmlBuilder:J4}),X4({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(i){LUt.has(i.envName)&&PQ(i);var a={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Vbe(i.envName),emptySingleRow:!0,leqno:i.parser.settings.leqno};return M9(i.parser,a,"display")},htmlBuilder:Q4,mathmlBuilder:J4}),X4({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:fqe,htmlBuilder:Q4,mathmlBuilder:J4}),X4({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(i){PQ(i);var a={autoTag:Vbe(i.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:i.parser.settings.leqno};return M9(i.parser,a,"display")},htmlBuilder:Q4,mathmlBuilder:J4}),X4({type:"array",names:["CD"],props:{numArgs:0},handler(i){return PQ(i),mUt(i.parser)},htmlBuilder:Q4,mathmlBuilder:J4}),et("\\nonumber","\\gdef\\@eqnsw{0}"),et("\\notag","\\nonumber"),es({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(i,a){throw new ki(i.funcName+" valid only within array environment")}});var dqe=uqe;es({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(i,a){var{parser:u,funcName:d}=i,p=a[0];if(p.type!=="ordgroup")throw new ki("Invalid environment name",p);for(var v="",b=0;b{var u=i.font,d=a.withFont(u);return Du(i.body,d)},pqe=(i,a)=>{var u=i.font,d=a.withFont(u);return Al(i.body,d)},bqe={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};es({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(i,a)=>{var{parser:u,funcName:d}=i,p=TQ(a[0]),v=d;return v in bqe&&(v=bqe[v]),{type:"font",mode:u.mode,font:v.slice(1),body:p}},htmlBuilder:gqe,mathmlBuilder:pqe}),es({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(i,a)=>{var{parser:u}=i,d=a[0];return{type:"mclass",mode:u.mode,mclass:MQ(d),body:[{type:"font",mode:u.mode,font:"boldsymbol",body:d}],isCharacterBox:D7(d)}}}),es({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(i,a)=>{var{parser:u,funcName:d,breakOnTokenText:p}=i,{mode:v}=u,b=u.parseExpression(!0,p),y="math"+d.slice(1);return{type:"font",mode:v,font:y,body:{type:"ordgroup",mode:u.mode,body:b}}},htmlBuilder:gqe,mathmlBuilder:pqe});var DUt=(i,a)=>{var u=a.style,d=u.fracNum(),p=u.fracDen(),v;v=a.havingStyle(d);var b=Du(i.numer,v,a);if(i.continued){var y=8.5/a.fontMetrics().ptPerEm,E=3.5/a.fontMetrics().ptPerEm;b.height=b.height0?j=3*R:j=7*R,W=a.fontMetrics().denom1):(P>0?(B=a.fontMetrics().num2,j=R):(B=a.fontMetrics().num3,j=3*R),W=a.fontMetrics().denom2);var ee;if(A){var oe=a.fontMetrics().axisHeight;B-b.depth-(oe+.5*P){var u=new Si("mfrac",[Al(i.numer,a),Al(i.denom,a)]);if(!i.hasBarLine)u.setAttribute("linethickness","0px");else if(i.barSize){var d=Uh(i.barSize,a);u.setAttribute("linethickness",Oi(d))}if(i.leftDelim!=null||i.rightDelim!=null){var p=[];if(i.leftDelim!=null){var v=new Si("mo",[new B0(i.leftDelim.replace("\\",""))]);v.setAttribute("fence","true"),p.push(v)}if(p.push(u),i.rightDelim!=null){var b=new Si("mo",[new B0(i.rightDelim.replace("\\",""))]);b.setAttribute("fence","true"),p.push(b)}return Dbe(p)}return u},mqe=(i,a)=>{if(!a)return i;var u={type:"styling",mode:i.mode,style:a,body:[i]};return u};es({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(i,a)=>{var{parser:u,funcName:d}=i,p=a[0],v=a[1],b,y=null,E=null;switch(d){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":b=!0;break;case"\\\\atopfrac":b=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":b=!1,y="(",E=")";break;case"\\\\bracefrac":b=!1,y="\\{",E="\\}";break;case"\\\\brackfrac":b=!1,y="[",E="]";break;default:throw new Error("Unrecognized genfrac command")}var _=d==="\\cfrac",A=null;return _||d.startsWith("\\d")?A="display":d.startsWith("\\t")&&(A="text"),mqe({type:"genfrac",mode:u.mode,numer:p,denom:v,continued:_,hasBarLine:b,leftDelim:y,rightDelim:E,barSize:null},A)},htmlBuilder:DUt,mathmlBuilder:IUt}),es({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(i){var{parser:a,funcName:u,token:d}=i,p;switch(u){case"\\over":p="\\frac";break;case"\\choose":p="\\binom";break;case"\\atop":p="\\\\atopfrac";break;case"\\brace":p="\\\\bracefrac";break;case"\\brack":p="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:a.mode,replaceWith:p,token:d}}});var vqe=["display","text","script","scriptscript"],wqe=function(a){var u=null;return a.length>0&&(u=a,u=u==="."?null:u),u};es({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(i,a){var{parser:u}=i,d=a[4],p=a[5],v=TQ(a[0]),b=v.type==="atom"&&v.family==="open"?wqe(v.text):null,y=TQ(a[1]),E=y.type==="atom"&&y.family==="close"?wqe(y.text):null,_=Xo(a[2],"size"),A,P=null;_.isBlank?A=!0:(P=_.value,A=P.number>0);var R=null,B=a[3];if(B.type==="ordgroup"){if(B.body.length>0){var j=Xo(B.body[0],"textord");R=vqe[Number(j.text)]}}else B=Xo(B,"textord"),R=vqe[Number(B.text)];return mqe({type:"genfrac",mode:u.mode,numer:d,denom:p,continued:!1,hasBarLine:A,barSize:P,leftDelim:b,rightDelim:E},R)}}),es({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(i,a){var{parser:u,funcName:d,token:p}=i;return{type:"infix",mode:u.mode,replaceWith:"\\\\abovefrac",size:Xo(a[0],"size").value,token:p}}}),es({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(i,a)=>{var{parser:u,funcName:d}=i,p=a[0],v=Xo(a[1],"infix").size;if(!v)throw new Error("\\\\abovefrac expected size, but got "+String(v));var b=a[2],y=v.number>0;return{type:"genfrac",mode:u.mode,numer:p,denom:b,continued:!1,hasBarLine:y,barSize:v,leftDelim:null,rightDelim:null}}});var yqe=(i,a)=>{var u=a.style,d,p;i.type==="supsub"?(d=i.sup?Du(i.sup,a.havingStyle(u.sup()),a):Du(i.sub,a.havingStyle(u.sub()),a),p=Xo(i.base,"horizBrace")):p=Xo(i,"horizBrace");var v=Du(p.base,a.havingBaseStyle(bo.DISPLAY)),b=SQ(p,a),y;if(p.isOver?(y=Mu({positionType:"firstBaseline",children:[{type:"elem",elem:v},{type:"kern",size:.1},{type:"elem",elem:b}]}),y.children[0].children[0].children[1].classes.push("svg-align")):(y=Mu({positionType:"bottom",positionData:v.depth+.1+b.height,children:[{type:"elem",elem:b},{type:"kern",size:.1},{type:"elem",elem:v}]}),y.children[0].children[0].children[0].classes.push("svg-align")),d){var E=di(["minner",p.isOver?"mover":"munder"],[y],a);p.isOver?y=Mu({positionType:"firstBaseline",children:[{type:"elem",elem:E},{type:"kern",size:.2},{type:"elem",elem:d}]}):y=Mu({positionType:"bottom",positionData:E.depth+.2+d.height+d.depth,children:[{type:"elem",elem:d},{type:"kern",size:.2},{type:"elem",elem:E}]})}return di(["minner",p.isOver?"mover":"munder"],[y],a)},OUt=(i,a)=>{var u=CQ(i.label);return new Si(i.isOver?"mover":"munder",[Al(i.base,a),u])};es({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],props:{numArgs:1},handler(i,a){var{parser:u,funcName:d}=i;return{type:"horizBrace",mode:u.mode,label:d,isOver:d.includes("\\over"),base:a[0]}},htmlBuilder:yqe,mathmlBuilder:OUt}),es({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(i,a)=>{var{parser:u}=i,d=a[1],p=Xo(a[0],"url").url;return u.settings.isTrusted({command:"\\href",url:p})?{type:"href",mode:u.mode,href:p,body:P0(d)}:u.formatUnsupportedCmd("\\href")},htmlBuilder:(i,a)=>{var u=d1(i.body,a,!1);return XHt(i.href,[],u,a)},mathmlBuilder:(i,a)=>{var u=L9(i.body,a);return u instanceof Si||(u=new Si("mrow",[u])),u.setAttribute("href",i.href),u}}),es({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(i,a)=>{var{parser:u}=i,d=Xo(a[0],"url").url;if(!u.settings.isTrusted({command:"\\url",url:d}))return u.formatUnsupportedCmd("\\url");for(var p=[],v=0;v{var{parser:u,funcName:d,token:p}=i,v=Xo(a[0],"raw").string,b=a[1];u.settings.strict&&u.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var y,E={};switch(d){case"\\htmlClass":E.class=v,y={command:"\\htmlClass",class:v};break;case"\\htmlId":E.id=v,y={command:"\\htmlId",id:v};break;case"\\htmlStyle":E.style=v,y={command:"\\htmlStyle",style:v};break;case"\\htmlData":{for(var _=v.split(","),A=0;A<_.length;A++){var P=_[A],R=P.indexOf("=");if(R<0)throw new ki("\\htmlData key/value '"+P+"' missing equals sign");var B=P.slice(0,R),j=P.slice(R+1);E["data-"+B.trim()]=j}y={command:"\\htmlData",attributes:E};break}default:throw new Error("Unrecognized html command")}return u.settings.isTrusted(y)?{type:"html",mode:u.mode,attributes:E,body:P0(b)}:u.formatUnsupportedCmd(d)},htmlBuilder:(i,a)=>{var u=d1(i.body,a,!1),d=["enclosing"];i.attributes.class&&d.push(...i.attributes.class.trim().split(/\s+/));var p=di(d,u,a);for(var v in i.attributes)v!=="class"&&i.attributes.hasOwnProperty(v)&&p.setAttribute(v,i.attributes[v]);return p},mathmlBuilder:(i,a)=>L9(i.body,a)}),es({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(i,a)=>{var{parser:u}=i;return{type:"htmlmathml",mode:u.mode,html:P0(a[0]),mathml:P0(a[1])}},htmlBuilder:(i,a)=>{var u=d1(i.html,a,!1);return P7(u)},mathmlBuilder:(i,a)=>L9(i.mathml,a)});var Kbe=function(a){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(a))return{number:+a,unit:"bp"};var u=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(a);if(!u)throw new ki("Invalid size: '"+a+"' in \\includegraphics");var d={number:+(u[1]+u[2]),unit:u[3]};if(!vze(d))throw new ki("Invalid unit: '"+d.unit+"' in \\includegraphics.");return d};es({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(i,a,u)=>{var{parser:d}=i,p={number:0,unit:"em"},v={number:.9,unit:"em"},b={number:0,unit:"em"},y="";if(u[0])for(var E=Xo(u[0],"raw").string,_=E.split(","),A=0;A<_.length;A++){var P=_[A].split("=");if(P.length===2){var R=P[1].trim();switch(P[0].trim()){case"alt":y=R;break;case"width":p=Kbe(R);break;case"height":v=Kbe(R);break;case"totalheight":b=Kbe(R);break;default:throw new ki("Invalid key: '"+P[0]+"' in \\includegraphics.")}}}var B=Xo(a[0],"url").url;return y===""&&(y=B,y=y.replace(/^.*[\\/]/,""),y=y.substring(0,y.lastIndexOf("."))),d.settings.isTrusted({command:"\\includegraphics",url:B})?{type:"includegraphics",mode:d.mode,alt:y,width:p,height:v,totalheight:b,src:B}:d.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(i,a)=>{var u=Uh(i.height,a),d=0;i.totalheight.number>0&&(d=Uh(i.totalheight,a)-u);var p=0;i.width.number>0&&(p=Uh(i.width,a));var v={height:Oi(u+d)};p>0&&(v.width=Oi(p)),d>0&&(v.verticalAlign=Oi(-d));var b=new jHt(i.src,i.alt,v);return b.height=u,b.depth=d,b},mathmlBuilder:(i,a)=>{var u=new Si("mglyph",[]);u.setAttribute("alt",i.alt);var d=Uh(i.height,a),p=0;if(i.totalheight.number>0&&(p=Uh(i.totalheight,a)-d,u.setAttribute("valign",Oi(-p))),u.setAttribute("height",Oi(d+p)),i.width.number>0){var v=Uh(i.width,a);u.setAttribute("width",Oi(v))}return u.setAttribute("src",i.src),u}}),es({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(i,a){var{parser:u,funcName:d}=i,p=Xo(a[0],"size");if(u.settings.strict){var v=d[1]==="m",b=p.value.unit==="mu";v?(b||u.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+d+" supports only mu units, "+("not "+p.value.unit+" units")),u.mode!=="math"&&u.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+d+" works only in math mode")):b&&u.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+d+" doesn't support mu units")}return{type:"kern",mode:u.mode,dimension:p.value}},htmlBuilder(i,a){return Dze(i.dimension,a)},mathmlBuilder(i,a){var u=Uh(i.dimension,a);return new Fze(u)}}),es({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(i,a)=>{var{parser:u,funcName:d}=i,p=a[0];return{type:"lap",mode:u.mode,alignment:d.slice(5),body:p}},htmlBuilder:(i,a)=>{var u;i.alignment==="clap"?(u=di([],[Du(i.body,a)]),u=di(["inner"],[u],a)):u=di(["inner"],[Du(i.body,a)]);var d=di(["fix"],[]),p=di([i.alignment],[u,d],a),v=di(["strut"]);return v.style.height=Oi(p.height+p.depth),p.depth&&(v.style.verticalAlign=Oi(-p.depth)),p.children.unshift(v),p=di(["thinbox"],[p],a),di(["mord","vbox"],[p],a)},mathmlBuilder:(i,a)=>{var u=new Si("mpadded",[Al(i.body,a)]);if(i.alignment!=="rlap"){var d=i.alignment==="llap"?"-1":"-0.5";u.setAttribute("lspace",d+"width")}return u.setAttribute("width","0px"),u}}),es({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(i,a){var{funcName:u,parser:d}=i,p=d.mode;d.switchMode("math");var v=u==="\\("?"\\)":"$",b=d.parseExpression(!1,v);return d.expect(v),d.switchMode(p),{type:"styling",mode:d.mode,style:"text",body:b}}}),es({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(i,a){throw new ki("Mismatched "+i.funcName)}});var xqe=(i,a)=>{switch(a.style.size){case bo.DISPLAY.size:return i.display;case bo.TEXT.size:return i.text;case bo.SCRIPT.size:return i.script;case bo.SCRIPTSCRIPT.size:return i.scriptscript;default:return i.text}};es({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(i,a)=>{var{parser:u}=i;return{type:"mathchoice",mode:u.mode,display:P0(a[0]),text:P0(a[1]),script:P0(a[2]),scriptscript:P0(a[3])}},htmlBuilder:(i,a)=>{var u=xqe(i,a),d=d1(u,a,!1);return P7(d)},mathmlBuilder:(i,a)=>{var u=xqe(i,a);return L9(u,a)}});var kqe=(i,a,u,d,p,v,b)=>{i=di([],[i]);var y=u&&D7(u),E,_;if(a){var A=Du(a,d.havingStyle(p.sup()),d);_={elem:A,kern:Math.max(d.fontMetrics().bigOpSpacing1,d.fontMetrics().bigOpSpacing3-A.depth)}}if(u){var P=Du(u,d.havingStyle(p.sub()),d);E={elem:P,kern:Math.max(d.fontMetrics().bigOpSpacing2,d.fontMetrics().bigOpSpacing4-P.height)}}var R;if(_&&E){var B=d.fontMetrics().bigOpSpacing5+E.elem.height+E.elem.depth+E.kern+i.depth+b;R=Mu({positionType:"bottom",positionData:B,children:[{type:"kern",size:d.fontMetrics().bigOpSpacing5},{type:"elem",elem:E.elem,marginLeft:Oi(-v)},{type:"kern",size:E.kern},{type:"elem",elem:i},{type:"kern",size:_.kern},{type:"elem",elem:_.elem,marginLeft:Oi(v)},{type:"kern",size:d.fontMetrics().bigOpSpacing5}]})}else if(E){var j=i.height-b;R=Mu({positionType:"top",positionData:j,children:[{type:"kern",size:d.fontMetrics().bigOpSpacing5},{type:"elem",elem:E.elem,marginLeft:Oi(-v)},{type:"kern",size:E.kern},{type:"elem",elem:i}]})}else if(_){var W=i.depth+b;R=Mu({positionType:"bottom",positionData:W,children:[{type:"elem",elem:i},{type:"kern",size:_.kern},{type:"elem",elem:_.elem,marginLeft:Oi(v)},{type:"kern",size:d.fontMetrics().bigOpSpacing5}]})}else return i;var ee=[R];if(E&&v!==0&&!y){var ie=di(["mspace"],[],d);ie.style.marginRight=Oi(v),ee.unshift(ie)}return di(["mop","op-limits"],ee,d)},Tqe=new Set(["\\smallint"]),HD=(i,a)=>{var u,d,p=!1,v;i.type==="supsub"?(u=i.sup,d=i.sub,v=Xo(i.base,"op"),p=!0):v=Xo(i,"op");var b=a.style,y=!1;b.size===bo.DISPLAY.size&&v.symbol&&!Tqe.has(v.name)&&(y=!0);var E;if(v.symbol){var _=y?"Size2-Regular":"Size1-Regular",A="";if((v.name==="\\oiint"||v.name==="\\oiiint")&&(A=v.name.slice(1),v.name=A==="oiint"?"\\iint":"\\iiint"),E=Rp(v.name,_,"math",a,["mop","op-symbol",y?"large-op":"small-op"]),A.length>0){var P=E.italic,R=Oze(A+"Size"+(y?"2":"1"),a);E=Mu({positionType:"individualShift",children:[{type:"elem",elem:E,shift:0},{type:"elem",elem:R,shift:y?.08:0}]}),v.name="\\"+A,E.classes.unshift("mop"),E.italic=P}}else if(v.body){var B=d1(v.body,a,!0);B.length===1&&B[0]instanceof mm?(E=B[0],E.classes[0]="mop"):E=di(["mop"],B,a)}else{for(var j=[],W=1;W{var u;if(i.symbol)u=new Si("mo",[Vv(i.name,i.mode)]),Tqe.has(i.name)&&u.setAttribute("largeop","false");else if(i.body)u=new Si("mo",wm(i.body,a));else{u=new Si("mi",[new B0(i.name.slice(1))]);var d=new Si("mo",[Vv("⁡","text")]);i.parentIsSupSub?u=new Si("mrow",[u,d]):u=Bze([u,d])}return u},NUt={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};es({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(i,a)=>{var{parser:u,funcName:d}=i,p=d;return p.length===1&&(p=NUt[p]),{type:"op",mode:u.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:p}},htmlBuilder:HD,mathmlBuilder:kR}),es({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(i,a)=>{var{parser:u}=i,d=a[0];return{type:"op",mode:u.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:P0(d)}},htmlBuilder:HD,mathmlBuilder:kR});var PUt={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};es({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(i){var{parser:a,funcName:u}=i;return{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:u}},htmlBuilder:HD,mathmlBuilder:kR}),es({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(i){var{parser:a,funcName:u}=i;return{type:"op",mode:a.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:u}},htmlBuilder:HD,mathmlBuilder:kR}),es({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(i){var{parser:a,funcName:u}=i,d=u;return d.length===1&&(d=PUt[d]),{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:d}},htmlBuilder:HD,mathmlBuilder:kR});var Eqe=(i,a)=>{var u,d,p=!1,v;i.type==="supsub"?(u=i.sup,d=i.sub,v=Xo(i.base,"operatorname"),p=!0):v=Xo(i,"operatorname");var b;if(v.body.length>0){for(var y=v.body.map(P=>{var R="text"in P?P.text:void 0;return typeof R=="string"?{type:"textord",mode:P.mode,text:R}:P}),E=d1(y,a.withFont("mathrm"),!0),_=0;_{for(var u=wm(i.body,a.withFont("mathrm")),d=!0,p=0;pA.toText()).join("");u=[new B0(y)]}var E=new Si("mi",u);E.setAttribute("mathvariant","normal");var _=new Si("mo",[Vv("⁡","text")]);return i.parentIsSupSub?new Si("mrow",[E,_]):Bze([E,_])};es({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(i,a)=>{var{parser:u,funcName:d}=i,p=a[0];return{type:"operatorname",mode:u.mode,body:P0(p),alwaysHandleSupSub:d==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Eqe,mathmlBuilder:BUt}),et("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),qC({type:"ordgroup",htmlBuilder(i,a){return i.semisimple?P7(d1(i.body,a,!1)):di(["mord"],d1(i.body,a,!0),a)},mathmlBuilder(i,a){return L9(i.body,a,!0)}}),es({type:"overline",names:["\\overline"],props:{numArgs:1},handler(i,a){var{parser:u}=i,d=a[0];return{type:"overline",mode:u.mode,body:d}},htmlBuilder(i,a){var u=Du(i.body,a.havingCrampedStyle()),d=zD("overline-line",a),p=a.fontMetrics().defaultRuleThickness,v=Mu({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:3*p},{type:"elem",elem:d},{type:"kern",size:p}]});return di(["mord","overline"],[v],a)},mathmlBuilder(i,a){var u=new Si("mo",[new B0("‾")]);u.setAttribute("stretchy","true");var d=new Si("mover",[Al(i.body,a),u]);return d.setAttribute("accent","true"),d}}),es({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(i,a)=>{var{parser:u}=i,d=a[0];return{type:"phantom",mode:u.mode,body:P0(d)}},htmlBuilder:(i,a)=>{var u=d1(i.body,a.withPhantom(),!1);return P7(u)},mathmlBuilder:(i,a)=>{var u=wm(i.body,a);return new Si("mphantom",u)}}),et("\\hphantom","\\smash{\\phantom{#1}}"),es({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(i,a)=>{var{parser:u}=i,d=a[0];return{type:"vphantom",mode:u.mode,body:d}},htmlBuilder:(i,a)=>{var u=di(["inner"],[Du(i.body,a.withPhantom())]),d=di(["fix"],[]);return di(["mord","rlap"],[u,d],a)},mathmlBuilder:(i,a)=>{var u=wm(P0(i.body),a),d=new Si("mphantom",u),p=new Si("mpadded",[d]);return p.setAttribute("width","0px"),p}}),es({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(i,a){var{parser:u}=i,d=Xo(a[0],"size").value,p=a[1];return{type:"raisebox",mode:u.mode,dy:d,body:p}},htmlBuilder(i,a){var u=Du(i.body,a),d=Uh(i.dy,a);return Mu({positionType:"shift",positionData:-d,children:[{type:"elem",elem:u}]})},mathmlBuilder(i,a){var u=new Si("mpadded",[Al(i.body,a)]),d=i.dy.number+i.dy.unit;return u.setAttribute("voffset",d),u}}),es({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(i){var{parser:a}=i;return{type:"internal",mode:a.mode}}}),es({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(i,a,u){var{parser:d}=i,p=u[0],v=Xo(a[0],"size"),b=Xo(a[1],"size");return{type:"rule",mode:d.mode,shift:p&&Xo(p,"size").value,width:v.value,height:b.value}},htmlBuilder(i,a){var u=di(["mord","rule"],[],a),d=Uh(i.width,a),p=Uh(i.height,a),v=i.shift?Uh(i.shift,a):0;return u.style.borderRightWidth=Oi(d),u.style.borderTopWidth=Oi(p),u.style.bottom=Oi(v),u.width=d,u.height=p+v,u.depth=-v,u.maxFontSize=p*1.125*a.sizeMultiplier,u},mathmlBuilder(i,a){var u=Uh(i.width,a),d=Uh(i.height,a),p=i.shift?Uh(i.shift,a):0,v=a.color&&a.getColor()||"black",b=new Si("mspace");b.setAttribute("mathbackground",v),b.setAttribute("width",Oi(u)),b.setAttribute("height",Oi(d));var y=new Si("mpadded",[b]);return p>=0?y.setAttribute("height",Oi(p)):(y.setAttribute("height",Oi(p)),y.setAttribute("depth",Oi(-p))),y.setAttribute("voffset",Oi(p)),y}});function Cqe(i,a,u){for(var d=d1(i,a,!1),p=a.sizeMultiplier/u.sizeMultiplier,v=0;v{var u=a.havingSize(i.size);return Cqe(i.body,u,a)};es({type:"sizing",names:Sqe,props:{numArgs:0,allowedInText:!0},handler:(i,a)=>{var{breakOnTokenText:u,funcName:d,parser:p}=i,v=p.parseExpression(!1,u);return{type:"sizing",mode:p.mode,size:Sqe.indexOf(d)+1,body:v}},htmlBuilder:FUt,mathmlBuilder:(i,a)=>{var u=a.havingSize(i.size),d=wm(i.body,u),p=new Si("mstyle",d);return p.setAttribute("mathsize",Oi(u.sizeMultiplier)),p}}),es({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(i,a,u)=>{var{parser:d}=i,p=!1,v=!1,b=u[0]&&Xo(u[0],"ordgroup");if(b)for(var y="",E=0;E{var u=di([],[Du(i.body,a)]);if(!i.smashHeight&&!i.smashDepth)return u;if(i.smashHeight&&(u.height=0),i.smashDepth&&(u.depth=0),i.smashHeight&&i.smashDepth)return di(["mord","smash"],[u],a);if(u.children)for(var d=0;d{var u=new Si("mpadded",[Al(i.body,a)]);return i.smashHeight&&u.setAttribute("height","0px"),i.smashDepth&&u.setAttribute("depth","0px"),u}}),es({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(i,a,u){var{parser:d}=i,p=u[0],v=a[0];return{type:"sqrt",mode:d.mode,body:v,index:p}},htmlBuilder(i,a){var u=Du(i.body,a.havingCrampedStyle());u.height===0&&(u.height=a.fontMetrics().xHeight),u=qD(u,a);var d=a.fontMetrics(),p=d.defaultRuleThickness,v=p;a.style.idu.height+u.depth+b&&(b=(b+P-u.height-u.depth)/2);var R=E.height-u.height-b-_;u.style.paddingLeft=Oi(A);var B=Mu({positionType:"firstBaseline",children:[{type:"elem",elem:u,wrapperClasses:["svg-align"]},{type:"kern",size:-(u.height+R)},{type:"elem",elem:E},{type:"kern",size:_}]});if(i.index){var j=a.havingStyle(bo.SCRIPTSCRIPT),W=Du(i.index,j,a),ee=.6*(B.height-B.depth),ie=Mu({positionType:"shift",positionData:-ee,children:[{type:"elem",elem:W}]}),oe=di(["root"],[ie]);return di(["mord","sqrt"],[oe,B],a)}else return di(["mord","sqrt"],[B],a)},mathmlBuilder(i,a){var{body:u,index:d}=i;return d?new Si("mroot",[Al(u,a),Al(d,a)]):new Si("msqrt",[Al(u,a)])}});var _qe={display:bo.DISPLAY,text:bo.TEXT,script:bo.SCRIPT,scriptscript:bo.SCRIPTSCRIPT};es({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(i,a){var{breakOnTokenText:u,funcName:d,parser:p}=i,v=p.parseExpression(!0,u),b=d.slice(1,d.length-5);return{type:"styling",mode:p.mode,style:b,body:v}},htmlBuilder(i,a){var u=_qe[i.style],d=a.havingStyle(u).withFont("");return Cqe(i.body,d,a)},mathmlBuilder(i,a){var u=_qe[i.style],d=a.havingStyle(u),p=wm(i.body,d),v=new Si("mstyle",p),b={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},y=b[i.style];return v.setAttribute("scriptlevel",y[0]),v.setAttribute("displaystyle",y[1]),v}});var RUt=function(a,u){var d=a.base;if(d)if(d.type==="op"){var p=d.limits&&(u.style.size===bo.DISPLAY.size||d.alwaysHandleSupSub);return p?HD:null}else if(d.type==="operatorname"){var v=d.alwaysHandleSupSub&&(u.style.size===bo.DISPLAY.size||d.limits);return v?Eqe:null}else{if(d.type==="accent")return D7(d.base)?Nbe:null;if(d.type==="horizBrace"){var b=!a.sub;return b===d.isOver?yqe:null}else return null}else return null};qC({type:"supsub",htmlBuilder(i,a){var u=RUt(i,a);if(u)return u(i,a);var{base:d,sup:p,sub:v}=i,b=Du(d,a),y,E,_=a.fontMetrics(),A=0,P=0,R=d&&D7(d);if(p){var B=a.havingStyle(a.style.sup());y=Du(p,B,a),R||(A=b.height-B.fontMetrics().supDrop*B.sizeMultiplier/a.sizeMultiplier)}if(v){var j=a.havingStyle(a.style.sub());E=Du(v,j,a),R||(P=b.depth+j.fontMetrics().subDrop*j.sizeMultiplier/a.sizeMultiplier)}var W;a.style===bo.DISPLAY?W=_.sup1:a.style.cramped?W=_.sup3:W=_.sup2;var ee=a.sizeMultiplier,ie=Oi(.5/_.ptPerEm/ee),oe=null;if(E){var be=i.base&&i.base.type==="op"&&i.base.name&&(i.base.name==="\\oiint"||i.base.name==="\\oiiint");(b instanceof mm||be)&&(oe=Oi(-b.italic))}var ge;if(y&&E){A=Math.max(A,W,y.depth+.25*_.xHeight),P=Math.max(P,_.sub2);var ae=_.defaultRuleThickness,ne=4*ae;if(A-y.depth-(E.height-P)0&&(A+=se,P-=se)}var de=[{type:"elem",elem:E,shift:P,marginRight:ie,marginLeft:oe},{type:"elem",elem:y,shift:-A,marginRight:ie}];ge=Mu({positionType:"individualShift",children:de})}else if(E){P=Math.max(P,_.sub1,E.height-.8*_.xHeight);var X=[{type:"elem",elem:E,marginLeft:oe,marginRight:ie}];ge=Mu({positionType:"shift",positionData:P,children:X})}else if(y)A=Math.max(A,W,y.depth+.25*_.xHeight),ge=Mu({positionType:"shift",positionData:-A,children:[{type:"elem",elem:y,marginRight:ie}]});else throw new Error("supsub must have either sup or sub.");var pe=Lbe(b,"right")||"mord";return di([pe],[b,di(["msupsub"],[ge])],a)},mathmlBuilder(i,a){var u=!1,d,p;i.base&&i.base.type==="horizBrace"&&(p=!!i.sup,p===i.base.isOver&&(u=!0,d=i.base.isOver)),i.base&&(i.base.type==="op"||i.base.type==="operatorname")&&(i.base.parentIsSupSub=!0);var v=[Al(i.base,a)];i.sub&&v.push(Al(i.sub,a)),i.sup&&v.push(Al(i.sup,a));var b;if(u)b=d?"mover":"munder";else if(i.sub)if(i.sup){var _=i.base;_&&_.type==="op"&&_.limits&&a.style===bo.DISPLAY||_&&_.type==="operatorname"&&_.alwaysHandleSupSub&&(a.style===bo.DISPLAY||_.limits)?b="munderover":b="msubsup"}else{var E=i.base;E&&E.type==="op"&&E.limits&&(a.style===bo.DISPLAY||E.alwaysHandleSupSub)||E&&E.type==="operatorname"&&E.alwaysHandleSupSub&&(E.limits||a.style===bo.DISPLAY)?b="munder":b="msub"}else{var y=i.base;y&&y.type==="op"&&y.limits&&(a.style===bo.DISPLAY||y.alwaysHandleSupSub)||y&&y.type==="operatorname"&&y.alwaysHandleSupSub&&(y.limits||a.style===bo.DISPLAY)?b="mover":b="msup"}return new Si(b,v)}}),qC({type:"atom",htmlBuilder(i,a){return Ebe(i.text,i.mode,a,["m"+i.family])},mathmlBuilder(i,a){var u=new Si("mo",[Vv(i.text,i.mode)]);if(i.family==="bin"){var d=Ibe(i,a);d==="bold-italic"&&u.setAttribute("mathvariant",d)}else i.family==="punct"?u.setAttribute("separator","true"):(i.family==="open"||i.family==="close")&&u.setAttribute("stretchy","false");return u}});var Aqe={mi:"italic",mn:"normal",mtext:"normal"};qC({type:"mathord",htmlBuilder(i,a){return wQ(i,a,"mathord")},mathmlBuilder(i,a){var u=new Si("mi",[Vv(i.text,i.mode,a)]),d=Ibe(i,a)||"italic";return d!==Aqe[u.type]&&u.setAttribute("mathvariant",d),u}}),qC({type:"textord",htmlBuilder(i,a){return wQ(i,a,"textord")},mathmlBuilder(i,a){var u=Vv(i.text,i.mode,a),d=Ibe(i,a)||"normal",p;return i.mode==="text"?p=new Si("mtext",[u]):/[0-9]/.test(i.text)?p=new Si("mn",[u]):i.text==="\\prime"?p=new Si("mo",[u]):p=new Si("mi",[u]),d!==Aqe[p.type]&&p.setAttribute("mathvariant",d),p}});var Wbe={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Ybe={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};qC({type:"spacing",htmlBuilder(i,a){if(Ybe.hasOwnProperty(i.text)){var u=Ybe[i.text].className||"";if(i.mode==="text"){var d=wQ(i,a,"textord");return d.classes.push(u),d}else return di(["mspace",u],[Ebe(i.text,i.mode,a)],a)}else{if(Wbe.hasOwnProperty(i.text))return di(["mspace",Wbe[i.text]],[],a);throw new ki('Unknown type of space "'+i.text+'"')}},mathmlBuilder(i,a){var u;if(Ybe.hasOwnProperty(i.text))u=new Si("mtext",[new B0(" ")]);else{if(Wbe.hasOwnProperty(i.text))return new Si("mspace");throw new ki('Unknown type of space "'+i.text+'"')}return u}});var Lqe=()=>{var i=new Si("mtd",[]);return i.setAttribute("width","50%"),i};qC({type:"tag",mathmlBuilder(i,a){var u=new Si("mtable",[new Si("mtr",[Lqe(),new Si("mtd",[L9(i.body,a)]),Lqe(),new Si("mtd",[L9(i.tag,a)])])]);return u.setAttribute("width","100%"),u}});var Mqe={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Dqe={"\\textbf":"textbf","\\textmd":"textmd"},jUt={"\\textit":"textit","\\textup":"textup"},Iqe=(i,a)=>{var u=i.font;if(u){if(Mqe[u])return a.withTextFontFamily(Mqe[u]);if(Dqe[u])return a.withTextFontWeight(Dqe[u]);if(u==="\\emph")return a.fontShape==="textit"?a.withTextFontShape("textup"):a.withTextFontShape("textit")}else return a;return a.withTextFontShape(jUt[u])};es({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(i,a){var{parser:u,funcName:d}=i,p=a[0];return{type:"text",mode:u.mode,body:P0(p),font:d}},htmlBuilder(i,a){var u=Iqe(i,a),d=d1(i.body,u,!0);return di(["mord","text"],d,u)},mathmlBuilder(i,a){var u=Iqe(i,a);return L9(i.body,u)}}),es({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(i,a){var{parser:u}=i;return{type:"underline",mode:u.mode,body:a[0]}},htmlBuilder(i,a){var u=Du(i.body,a),d=zD("underline-line",a),p=a.fontMetrics().defaultRuleThickness,v=Mu({positionType:"top",positionData:u.height,children:[{type:"kern",size:p},{type:"elem",elem:d},{type:"kern",size:3*p},{type:"elem",elem:u}]});return di(["mord","underline"],[v],a)},mathmlBuilder(i,a){var u=new Si("mo",[new B0("‾")]);u.setAttribute("stretchy","true");var d=new Si("munder",[Al(i.body,a),u]);return d.setAttribute("accentunder","true"),d}}),es({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(i,a){var{parser:u}=i;return{type:"vcenter",mode:u.mode,body:a[0]}},htmlBuilder(i,a){var u=Du(i.body,a),d=a.fontMetrics().axisHeight,p=.5*(u.height-d-(u.depth+d));return Mu({positionType:"shift",positionData:p,children:[{type:"elem",elem:u}]})},mathmlBuilder(i,a){var u=new Si("mpadded",[Al(i.body,a)],["vcenter"]);return new Si("mrow",[u])}}),es({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(i,a,u){throw new ki("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(i,a){for(var u=Oqe(i),d=[],p=a.havingStyle(a.style.text()),v=0;vi.body.replace(/ /g,i.star?"␣":" "),D9=Nze,Nqe=`[ \r - ]`,$Ut="\\\\[a-zA-Z@]+",zUt="\\\\[^\uD800-\uDFFF]",qUt="("+$Ut+")"+Nqe+"*",HUt=`\\\\( +l0,-`+(a+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, +-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},"tallDelim");i(W5n,"isMathDomNode");lL=class{static{i(this,"DocumentFragment")}constructor(r){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=r,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(r){return this.classes.includes(r)}toNode(){for(var r=document.createDocumentFragment(),a=0;a{if(W5n(r))return r.toText();throw new Error("Expected MathDomNode with toText, got "+r.constructor.name)}).join("")}},nqe={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Y5n={ex:!0,em:!0,mu:!0},por=i(function(r){return typeof r!="string"&&(r=r.unit),r in nqe||r in Y5n||r==="ex"},"validUnit"),_d=i(function(r,a){var o;if(r.unit in nqe)o=nqe[r.unit]/a.fontMetrics().ptPerEm/a.sizeMultiplier;else if(r.unit==="mu")o=a.fontMetrics().cssEmPerMu;else{var l;if(a.style.isTight()?l=a.havingStyle(a.style.text()):l=a,r.unit==="ex")o=l.fontMetrics().xHeight;else if(r.unit==="em")o=l.fontMetrics().quad;else throw new Oi("Invalid unit: '"+r.unit+"'");l!==a&&(o*=l.sizeMultiplier/a.sizeMultiplier)}return Math.min(r.number*o,a.maxSize)},"calculateSize"),Ki=i(function(r){return+r.toFixed(4)+"em"},"makeEm"),cL=i(function(r){return r.filter(a=>a).join(" ")},"createClass"),kqe=i(function(r){var a="";for(var o of Object.keys(r)){var l=r[o];l!==void 0&&(a+=T5n(o)+":"+l+";")}return a},"cssStyleToString"),gor=i(function(r,a,o){if(this.classes=r||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=o||{},a){a.style.isTight()&&this.classes.push("mtight");var l=a.getColor();l&&(this.style.color=l)}},"initNode"),mor=i(function(r){var a=document.createElement(r);a.className=cL(this.classes),Object.assign(a.style,this.style);for(var o of Object.keys(this.attributes))a.setAttribute(o,this.attributes[o]);for(var l=0;l/=\x00-\x1f]/,yor=i(function(r){var a="<"+r;this.classes.length&&(a+=' class="'+ty(cL(this.classes))+'"');var o=kqe(this.style);o&&(a+=' style="'+ty(o)+'"');for(var l of Object.keys(this.attributes)){if(K5n.test(l))throw new Oi("Invalid attribute name '"+l+"'");a+=" "+l+'="'+ty(this.attributes[l])+'"'}a+=">";for(var h=0;h",a},"toMarkup"),uL=class{static{i(this,"Span")}constructor(r,a,o,l){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,this.italic=void 0,gor.call(this,r,o,l),this.children=a||[]}setAttribute(r,a){this.attributes[r]=a}hasClass(r){return this.classes.includes(r)}toNode(){return mor.call(this,"span")}toMarkup(){return yor.call(this,"span")}},qj=class{static{i(this,"Anchor")}constructor(r,a,o,l){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,gor.call(this,a,l),this.children=o||[],this.setAttribute("href",r)}setAttribute(r,a){this.attributes[r]=a}hasClass(r){return this.classes.includes(r)}toNode(){return mor.call(this,"a")}toMarkup(){return yor.call(this,"a")}},iqe=class{static{i(this,"Img")}constructor(r,a,o){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=a,this.src=r,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=o}hasClass(r){return this.classes.includes(r)}toNode(){var r=document.createElement("img");return r.src=this.src,r.alt=this.alt,r.className="mord",Object.assign(r.style,this.style),r}toMarkup(){var r=''+ty(this.alt)+'0&&(a=document.createElement("span"),a.style.marginRight=Ki(this.italic)),this.classes.length>0&&(a=a||document.createElement("span"),a.className=cL(this.classes)),Object.keys(this.style).length>0&&(a=a||document.createElement("span"),Object.assign(a.style,this.style)),a?(a.appendChild(r),a):r}toMarkup(){var r=!1,a="0&&(o+="margin-right:"+Ki(this.italic)+";"),o+=kqe(this.style),o&&(r=!0,a+=' style="'+ty(o)+'"');var l=ty(this.text);return r?(a+=">",a+=l,a+="",a):l}},Z3=class{static{i(this,"SvgNode")}constructor(r,a){this.children=void 0,this.attributes=void 0,this.children=r||[],this.attributes=a||{}}toNode(){var r="http://www.w3.org/2000/svg",a=document.createElementNS(r,"svg");for(var o of Object.keys(this.attributes))a.setAttribute(o,this.attributes[o]);for(var l=0;l':''}},Tee=class{static{i(this,"LineNode")}constructor(r){this.attributes=void 0,this.attributes=r||{}}toNode(){var r="http://www.w3.org/2000/svg",a=document.createElementNS(r,"line");for(var o of Object.keys(this.attributes))a.setAttribute(o,this.attributes[o]);return a}toMarkup(){var r="t instanceof uL||t instanceof qj||t instanceof lL,"hasHtmlDomChildren"),OE={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},UHe={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Dsr={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};i(bor,"setFontMetrics");i(Cqe,"getCharacterMetrics");VHe={};i(e6n,"getGlobalMetrics");Hf={math:{},text:{}};i(Ae,"defineSymbol");Oe="math",bi="text",tt="main",Qt="ams",qf="accent-token",Fa="bin",bb="close",Kj="inner",io="mathord",Rg="op-token",Ow="open",Aee="punct",er="rel",W6="spacing",wr="textord";Ae(Oe,tt,er,"\u2261","\\equiv",!0);Ae(Oe,tt,er,"\u227A","\\prec",!0);Ae(Oe,tt,er,"\u227B","\\succ",!0);Ae(Oe,tt,er,"\u223C","\\sim",!0);Ae(Oe,tt,er,"\u22A5","\\perp");Ae(Oe,tt,er,"\u2AAF","\\preceq",!0);Ae(Oe,tt,er,"\u2AB0","\\succeq",!0);Ae(Oe,tt,er,"\u2243","\\simeq",!0);Ae(Oe,tt,er,"\u2223","\\mid",!0);Ae(Oe,tt,er,"\u226A","\\ll",!0);Ae(Oe,tt,er,"\u226B","\\gg",!0);Ae(Oe,tt,er,"\u224D","\\asymp",!0);Ae(Oe,tt,er,"\u2225","\\parallel");Ae(Oe,tt,er,"\u22C8","\\bowtie",!0);Ae(Oe,tt,er,"\u2323","\\smile",!0);Ae(Oe,tt,er,"\u2291","\\sqsubseteq",!0);Ae(Oe,tt,er,"\u2292","\\sqsupseteq",!0);Ae(Oe,tt,er,"\u2250","\\doteq",!0);Ae(Oe,tt,er,"\u2322","\\frown",!0);Ae(Oe,tt,er,"\u220B","\\ni",!0);Ae(Oe,tt,er,"\u221D","\\propto",!0);Ae(Oe,tt,er,"\u22A2","\\vdash",!0);Ae(Oe,tt,er,"\u22A3","\\dashv",!0);Ae(Oe,tt,er,"\u220B","\\owns");Ae(Oe,tt,Aee,".","\\ldotp");Ae(Oe,tt,Aee,"\u22C5","\\cdotp");Ae(Oe,tt,Aee,"\u22C5","\xB7");Ae(bi,tt,wr,"\u22C5","\xB7");Ae(Oe,tt,wr,"#","\\#");Ae(bi,tt,wr,"#","\\#");Ae(Oe,tt,wr,"&","\\&");Ae(bi,tt,wr,"&","\\&");Ae(Oe,tt,wr,"\u2135","\\aleph",!0);Ae(Oe,tt,wr,"\u2200","\\forall",!0);Ae(Oe,tt,wr,"\u210F","\\hbar",!0);Ae(Oe,tt,wr,"\u2203","\\exists",!0);Ae(Oe,tt,wr,"\u2207","\\nabla",!0);Ae(Oe,tt,wr,"\u266D","\\flat",!0);Ae(Oe,tt,wr,"\u2113","\\ell",!0);Ae(Oe,tt,wr,"\u266E","\\natural",!0);Ae(Oe,tt,wr,"\u2663","\\clubsuit",!0);Ae(Oe,tt,wr,"\u2118","\\wp",!0);Ae(Oe,tt,wr,"\u266F","\\sharp",!0);Ae(Oe,tt,wr,"\u2662","\\diamondsuit",!0);Ae(Oe,tt,wr,"\u211C","\\Re",!0);Ae(Oe,tt,wr,"\u2661","\\heartsuit",!0);Ae(Oe,tt,wr,"\u2111","\\Im",!0);Ae(Oe,tt,wr,"\u2660","\\spadesuit",!0);Ae(Oe,tt,wr,"\xA7","\\S",!0);Ae(bi,tt,wr,"\xA7","\\S");Ae(Oe,tt,wr,"\xB6","\\P",!0);Ae(bi,tt,wr,"\xB6","\\P");Ae(Oe,tt,wr,"\u2020","\\dag");Ae(bi,tt,wr,"\u2020","\\dag");Ae(bi,tt,wr,"\u2020","\\textdagger");Ae(Oe,tt,wr,"\u2021","\\ddag");Ae(bi,tt,wr,"\u2021","\\ddag");Ae(bi,tt,wr,"\u2021","\\textdaggerdbl");Ae(Oe,tt,bb,"\u23B1","\\rmoustache",!0);Ae(Oe,tt,Ow,"\u23B0","\\lmoustache",!0);Ae(Oe,tt,bb,"\u27EF","\\rgroup",!0);Ae(Oe,tt,Ow,"\u27EE","\\lgroup",!0);Ae(Oe,tt,Fa,"\u2213","\\mp",!0);Ae(Oe,tt,Fa,"\u2296","\\ominus",!0);Ae(Oe,tt,Fa,"\u228E","\\uplus",!0);Ae(Oe,tt,Fa,"\u2293","\\sqcap",!0);Ae(Oe,tt,Fa,"\u2217","\\ast");Ae(Oe,tt,Fa,"\u2294","\\sqcup",!0);Ae(Oe,tt,Fa,"\u25EF","\\bigcirc",!0);Ae(Oe,tt,Fa,"\u2219","\\bullet",!0);Ae(Oe,tt,Fa,"\u2021","\\ddagger");Ae(Oe,tt,Fa,"\u2240","\\wr",!0);Ae(Oe,tt,Fa,"\u2A3F","\\amalg");Ae(Oe,tt,Fa,"&","\\And");Ae(Oe,tt,er,"\u27F5","\\longleftarrow",!0);Ae(Oe,tt,er,"\u21D0","\\Leftarrow",!0);Ae(Oe,tt,er,"\u27F8","\\Longleftarrow",!0);Ae(Oe,tt,er,"\u27F6","\\longrightarrow",!0);Ae(Oe,tt,er,"\u21D2","\\Rightarrow",!0);Ae(Oe,tt,er,"\u27F9","\\Longrightarrow",!0);Ae(Oe,tt,er,"\u2194","\\leftrightarrow",!0);Ae(Oe,tt,er,"\u27F7","\\longleftrightarrow",!0);Ae(Oe,tt,er,"\u21D4","\\Leftrightarrow",!0);Ae(Oe,tt,er,"\u27FA","\\Longleftrightarrow",!0);Ae(Oe,tt,er,"\u21A6","\\mapsto",!0);Ae(Oe,tt,er,"\u27FC","\\longmapsto",!0);Ae(Oe,tt,er,"\u2197","\\nearrow",!0);Ae(Oe,tt,er,"\u21A9","\\hookleftarrow",!0);Ae(Oe,tt,er,"\u21AA","\\hookrightarrow",!0);Ae(Oe,tt,er,"\u2198","\\searrow",!0);Ae(Oe,tt,er,"\u21BC","\\leftharpoonup",!0);Ae(Oe,tt,er,"\u21C0","\\rightharpoonup",!0);Ae(Oe,tt,er,"\u2199","\\swarrow",!0);Ae(Oe,tt,er,"\u21BD","\\leftharpoondown",!0);Ae(Oe,tt,er,"\u21C1","\\rightharpoondown",!0);Ae(Oe,tt,er,"\u2196","\\nwarrow",!0);Ae(Oe,tt,er,"\u21CC","\\rightleftharpoons",!0);Ae(Oe,Qt,er,"\u226E","\\nless",!0);Ae(Oe,Qt,er,"\uE010","\\@nleqslant");Ae(Oe,Qt,er,"\uE011","\\@nleqq");Ae(Oe,Qt,er,"\u2A87","\\lneq",!0);Ae(Oe,Qt,er,"\u2268","\\lneqq",!0);Ae(Oe,Qt,er,"\uE00C","\\@lvertneqq");Ae(Oe,Qt,er,"\u22E6","\\lnsim",!0);Ae(Oe,Qt,er,"\u2A89","\\lnapprox",!0);Ae(Oe,Qt,er,"\u2280","\\nprec",!0);Ae(Oe,Qt,er,"\u22E0","\\npreceq",!0);Ae(Oe,Qt,er,"\u22E8","\\precnsim",!0);Ae(Oe,Qt,er,"\u2AB9","\\precnapprox",!0);Ae(Oe,Qt,er,"\u2241","\\nsim",!0);Ae(Oe,Qt,er,"\uE006","\\@nshortmid");Ae(Oe,Qt,er,"\u2224","\\nmid",!0);Ae(Oe,Qt,er,"\u22AC","\\nvdash",!0);Ae(Oe,Qt,er,"\u22AD","\\nvDash",!0);Ae(Oe,Qt,er,"\u22EA","\\ntriangleleft");Ae(Oe,Qt,er,"\u22EC","\\ntrianglelefteq",!0);Ae(Oe,Qt,er,"\u228A","\\subsetneq",!0);Ae(Oe,Qt,er,"\uE01A","\\@varsubsetneq");Ae(Oe,Qt,er,"\u2ACB","\\subsetneqq",!0);Ae(Oe,Qt,er,"\uE017","\\@varsubsetneqq");Ae(Oe,Qt,er,"\u226F","\\ngtr",!0);Ae(Oe,Qt,er,"\uE00F","\\@ngeqslant");Ae(Oe,Qt,er,"\uE00E","\\@ngeqq");Ae(Oe,Qt,er,"\u2A88","\\gneq",!0);Ae(Oe,Qt,er,"\u2269","\\gneqq",!0);Ae(Oe,Qt,er,"\uE00D","\\@gvertneqq");Ae(Oe,Qt,er,"\u22E7","\\gnsim",!0);Ae(Oe,Qt,er,"\u2A8A","\\gnapprox",!0);Ae(Oe,Qt,er,"\u2281","\\nsucc",!0);Ae(Oe,Qt,er,"\u22E1","\\nsucceq",!0);Ae(Oe,Qt,er,"\u22E9","\\succnsim",!0);Ae(Oe,Qt,er,"\u2ABA","\\succnapprox",!0);Ae(Oe,Qt,er,"\u2246","\\ncong",!0);Ae(Oe,Qt,er,"\uE007","\\@nshortparallel");Ae(Oe,Qt,er,"\u2226","\\nparallel",!0);Ae(Oe,Qt,er,"\u22AF","\\nVDash",!0);Ae(Oe,Qt,er,"\u22EB","\\ntriangleright");Ae(Oe,Qt,er,"\u22ED","\\ntrianglerighteq",!0);Ae(Oe,Qt,er,"\uE018","\\@nsupseteqq");Ae(Oe,Qt,er,"\u228B","\\supsetneq",!0);Ae(Oe,Qt,er,"\uE01B","\\@varsupsetneq");Ae(Oe,Qt,er,"\u2ACC","\\supsetneqq",!0);Ae(Oe,Qt,er,"\uE019","\\@varsupsetneqq");Ae(Oe,Qt,er,"\u22AE","\\nVdash",!0);Ae(Oe,Qt,er,"\u2AB5","\\precneqq",!0);Ae(Oe,Qt,er,"\u2AB6","\\succneqq",!0);Ae(Oe,Qt,er,"\uE016","\\@nsubseteqq");Ae(Oe,Qt,Fa,"\u22B4","\\unlhd");Ae(Oe,Qt,Fa,"\u22B5","\\unrhd");Ae(Oe,Qt,er,"\u219A","\\nleftarrow",!0);Ae(Oe,Qt,er,"\u219B","\\nrightarrow",!0);Ae(Oe,Qt,er,"\u21CD","\\nLeftarrow",!0);Ae(Oe,Qt,er,"\u21CF","\\nRightarrow",!0);Ae(Oe,Qt,er,"\u21AE","\\nleftrightarrow",!0);Ae(Oe,Qt,er,"\u21CE","\\nLeftrightarrow",!0);Ae(Oe,Qt,er,"\u25B3","\\vartriangle");Ae(Oe,Qt,wr,"\u210F","\\hslash");Ae(Oe,Qt,wr,"\u25BD","\\triangledown");Ae(Oe,Qt,wr,"\u25CA","\\lozenge");Ae(Oe,Qt,wr,"\u24C8","\\circledS");Ae(Oe,Qt,wr,"\xAE","\\circledR");Ae(bi,Qt,wr,"\xAE","\\circledR");Ae(Oe,Qt,wr,"\u2221","\\measuredangle",!0);Ae(Oe,Qt,wr,"\u2204","\\nexists");Ae(Oe,Qt,wr,"\u2127","\\mho");Ae(Oe,Qt,wr,"\u2132","\\Finv",!0);Ae(Oe,Qt,wr,"\u2141","\\Game",!0);Ae(Oe,Qt,wr,"\u2035","\\backprime");Ae(Oe,Qt,wr,"\u25B2","\\blacktriangle");Ae(Oe,Qt,wr,"\u25BC","\\blacktriangledown");Ae(Oe,Qt,wr,"\u25A0","\\blacksquare");Ae(Oe,Qt,wr,"\u29EB","\\blacklozenge");Ae(Oe,Qt,wr,"\u2605","\\bigstar");Ae(Oe,Qt,wr,"\u2222","\\sphericalangle",!0);Ae(Oe,Qt,wr,"\u2201","\\complement",!0);Ae(Oe,Qt,wr,"\xF0","\\eth",!0);Ae(bi,tt,wr,"\xF0","\xF0");Ae(Oe,Qt,wr,"\u2571","\\diagup");Ae(Oe,Qt,wr,"\u2572","\\diagdown");Ae(Oe,Qt,wr,"\u25A1","\\square");Ae(Oe,Qt,wr,"\u25A1","\\Box");Ae(Oe,Qt,wr,"\u25CA","\\Diamond");Ae(Oe,Qt,wr,"\xA5","\\yen",!0);Ae(bi,Qt,wr,"\xA5","\\yen",!0);Ae(Oe,Qt,wr,"\u2713","\\checkmark",!0);Ae(bi,Qt,wr,"\u2713","\\checkmark");Ae(Oe,Qt,wr,"\u2136","\\beth",!0);Ae(Oe,Qt,wr,"\u2138","\\daleth",!0);Ae(Oe,Qt,wr,"\u2137","\\gimel",!0);Ae(Oe,Qt,wr,"\u03DD","\\digamma",!0);Ae(Oe,Qt,wr,"\u03F0","\\varkappa");Ae(Oe,Qt,Ow,"\u250C","\\@ulcorner",!0);Ae(Oe,Qt,bb,"\u2510","\\@urcorner",!0);Ae(Oe,Qt,Ow,"\u2514","\\@llcorner",!0);Ae(Oe,Qt,bb,"\u2518","\\@lrcorner",!0);Ae(Oe,Qt,er,"\u2266","\\leqq",!0);Ae(Oe,Qt,er,"\u2A7D","\\leqslant",!0);Ae(Oe,Qt,er,"\u2A95","\\eqslantless",!0);Ae(Oe,Qt,er,"\u2272","\\lesssim",!0);Ae(Oe,Qt,er,"\u2A85","\\lessapprox",!0);Ae(Oe,Qt,er,"\u224A","\\approxeq",!0);Ae(Oe,Qt,Fa,"\u22D6","\\lessdot");Ae(Oe,Qt,er,"\u22D8","\\lll",!0);Ae(Oe,Qt,er,"\u2276","\\lessgtr",!0);Ae(Oe,Qt,er,"\u22DA","\\lesseqgtr",!0);Ae(Oe,Qt,er,"\u2A8B","\\lesseqqgtr",!0);Ae(Oe,Qt,er,"\u2251","\\doteqdot");Ae(Oe,Qt,er,"\u2253","\\risingdotseq",!0);Ae(Oe,Qt,er,"\u2252","\\fallingdotseq",!0);Ae(Oe,Qt,er,"\u223D","\\backsim",!0);Ae(Oe,Qt,er,"\u22CD","\\backsimeq",!0);Ae(Oe,Qt,er,"\u2AC5","\\subseteqq",!0);Ae(Oe,Qt,er,"\u22D0","\\Subset",!0);Ae(Oe,Qt,er,"\u228F","\\sqsubset",!0);Ae(Oe,Qt,er,"\u227C","\\preccurlyeq",!0);Ae(Oe,Qt,er,"\u22DE","\\curlyeqprec",!0);Ae(Oe,Qt,er,"\u227E","\\precsim",!0);Ae(Oe,Qt,er,"\u2AB7","\\precapprox",!0);Ae(Oe,Qt,er,"\u22B2","\\vartriangleleft");Ae(Oe,Qt,er,"\u22B4","\\trianglelefteq");Ae(Oe,Qt,er,"\u22A8","\\vDash",!0);Ae(Oe,Qt,er,"\u22AA","\\Vvdash",!0);Ae(Oe,Qt,er,"\u2323","\\smallsmile");Ae(Oe,Qt,er,"\u2322","\\smallfrown");Ae(Oe,Qt,er,"\u224F","\\bumpeq",!0);Ae(Oe,Qt,er,"\u224E","\\Bumpeq",!0);Ae(Oe,Qt,er,"\u2267","\\geqq",!0);Ae(Oe,Qt,er,"\u2A7E","\\geqslant",!0);Ae(Oe,Qt,er,"\u2A96","\\eqslantgtr",!0);Ae(Oe,Qt,er,"\u2273","\\gtrsim",!0);Ae(Oe,Qt,er,"\u2A86","\\gtrapprox",!0);Ae(Oe,Qt,Fa,"\u22D7","\\gtrdot");Ae(Oe,Qt,er,"\u22D9","\\ggg",!0);Ae(Oe,Qt,er,"\u2277","\\gtrless",!0);Ae(Oe,Qt,er,"\u22DB","\\gtreqless",!0);Ae(Oe,Qt,er,"\u2A8C","\\gtreqqless",!0);Ae(Oe,Qt,er,"\u2256","\\eqcirc",!0);Ae(Oe,Qt,er,"\u2257","\\circeq",!0);Ae(Oe,Qt,er,"\u225C","\\triangleq",!0);Ae(Oe,Qt,er,"\u223C","\\thicksim");Ae(Oe,Qt,er,"\u2248","\\thickapprox");Ae(Oe,Qt,er,"\u2AC6","\\supseteqq",!0);Ae(Oe,Qt,er,"\u22D1","\\Supset",!0);Ae(Oe,Qt,er,"\u2290","\\sqsupset",!0);Ae(Oe,Qt,er,"\u227D","\\succcurlyeq",!0);Ae(Oe,Qt,er,"\u22DF","\\curlyeqsucc",!0);Ae(Oe,Qt,er,"\u227F","\\succsim",!0);Ae(Oe,Qt,er,"\u2AB8","\\succapprox",!0);Ae(Oe,Qt,er,"\u22B3","\\vartriangleright");Ae(Oe,Qt,er,"\u22B5","\\trianglerighteq");Ae(Oe,Qt,er,"\u22A9","\\Vdash",!0);Ae(Oe,Qt,er,"\u2223","\\shortmid");Ae(Oe,Qt,er,"\u2225","\\shortparallel");Ae(Oe,Qt,er,"\u226C","\\between",!0);Ae(Oe,Qt,er,"\u22D4","\\pitchfork",!0);Ae(Oe,Qt,er,"\u221D","\\varpropto");Ae(Oe,Qt,er,"\u25C0","\\blacktriangleleft");Ae(Oe,Qt,er,"\u2234","\\therefore",!0);Ae(Oe,Qt,er,"\u220D","\\backepsilon");Ae(Oe,Qt,er,"\u25B6","\\blacktriangleright");Ae(Oe,Qt,er,"\u2235","\\because",!0);Ae(Oe,Qt,er,"\u22D8","\\llless");Ae(Oe,Qt,er,"\u22D9","\\gggtr");Ae(Oe,Qt,Fa,"\u22B2","\\lhd");Ae(Oe,Qt,Fa,"\u22B3","\\rhd");Ae(Oe,Qt,er,"\u2242","\\eqsim",!0);Ae(Oe,tt,er,"\u22C8","\\Join");Ae(Oe,Qt,er,"\u2251","\\Doteq",!0);Ae(Oe,Qt,Fa,"\u2214","\\dotplus",!0);Ae(Oe,Qt,Fa,"\u2216","\\smallsetminus");Ae(Oe,Qt,Fa,"\u22D2","\\Cap",!0);Ae(Oe,Qt,Fa,"\u22D3","\\Cup",!0);Ae(Oe,Qt,Fa,"\u2A5E","\\doublebarwedge",!0);Ae(Oe,Qt,Fa,"\u229F","\\boxminus",!0);Ae(Oe,Qt,Fa,"\u229E","\\boxplus",!0);Ae(Oe,Qt,Fa,"\u22C7","\\divideontimes",!0);Ae(Oe,Qt,Fa,"\u22C9","\\ltimes",!0);Ae(Oe,Qt,Fa,"\u22CA","\\rtimes",!0);Ae(Oe,Qt,Fa,"\u22CB","\\leftthreetimes",!0);Ae(Oe,Qt,Fa,"\u22CC","\\rightthreetimes",!0);Ae(Oe,Qt,Fa,"\u22CF","\\curlywedge",!0);Ae(Oe,Qt,Fa,"\u22CE","\\curlyvee",!0);Ae(Oe,Qt,Fa,"\u229D","\\circleddash",!0);Ae(Oe,Qt,Fa,"\u229B","\\circledast",!0);Ae(Oe,Qt,Fa,"\u22C5","\\centerdot");Ae(Oe,Qt,Fa,"\u22BA","\\intercal",!0);Ae(Oe,Qt,Fa,"\u22D2","\\doublecap");Ae(Oe,Qt,Fa,"\u22D3","\\doublecup");Ae(Oe,Qt,Fa,"\u22A0","\\boxtimes",!0);Ae(Oe,Qt,er,"\u21E2","\\dashrightarrow",!0);Ae(Oe,Qt,er,"\u21E0","\\dashleftarrow",!0);Ae(Oe,Qt,er,"\u21C7","\\leftleftarrows",!0);Ae(Oe,Qt,er,"\u21C6","\\leftrightarrows",!0);Ae(Oe,Qt,er,"\u21DA","\\Lleftarrow",!0);Ae(Oe,Qt,er,"\u219E","\\twoheadleftarrow",!0);Ae(Oe,Qt,er,"\u21A2","\\leftarrowtail",!0);Ae(Oe,Qt,er,"\u21AB","\\looparrowleft",!0);Ae(Oe,Qt,er,"\u21CB","\\leftrightharpoons",!0);Ae(Oe,Qt,er,"\u21B6","\\curvearrowleft",!0);Ae(Oe,Qt,er,"\u21BA","\\circlearrowleft",!0);Ae(Oe,Qt,er,"\u21B0","\\Lsh",!0);Ae(Oe,Qt,er,"\u21C8","\\upuparrows",!0);Ae(Oe,Qt,er,"\u21BF","\\upharpoonleft",!0);Ae(Oe,Qt,er,"\u21C3","\\downharpoonleft",!0);Ae(Oe,tt,er,"\u22B6","\\origof",!0);Ae(Oe,tt,er,"\u22B7","\\imageof",!0);Ae(Oe,Qt,er,"\u22B8","\\multimap",!0);Ae(Oe,Qt,er,"\u21AD","\\leftrightsquigarrow",!0);Ae(Oe,Qt,er,"\u21C9","\\rightrightarrows",!0);Ae(Oe,Qt,er,"\u21C4","\\rightleftarrows",!0);Ae(Oe,Qt,er,"\u21A0","\\twoheadrightarrow",!0);Ae(Oe,Qt,er,"\u21A3","\\rightarrowtail",!0);Ae(Oe,Qt,er,"\u21AC","\\looparrowright",!0);Ae(Oe,Qt,er,"\u21B7","\\curvearrowright",!0);Ae(Oe,Qt,er,"\u21BB","\\circlearrowright",!0);Ae(Oe,Qt,er,"\u21B1","\\Rsh",!0);Ae(Oe,Qt,er,"\u21CA","\\downdownarrows",!0);Ae(Oe,Qt,er,"\u21BE","\\upharpoonright",!0);Ae(Oe,Qt,er,"\u21C2","\\downharpoonright",!0);Ae(Oe,Qt,er,"\u21DD","\\rightsquigarrow",!0);Ae(Oe,Qt,er,"\u21DD","\\leadsto");Ae(Oe,Qt,er,"\u21DB","\\Rrightarrow",!0);Ae(Oe,Qt,er,"\u21BE","\\restriction");Ae(Oe,tt,wr,"\u2018","`");Ae(Oe,tt,wr,"$","\\$");Ae(bi,tt,wr,"$","\\$");Ae(bi,tt,wr,"$","\\textdollar");Ae(Oe,tt,wr,"%","\\%");Ae(bi,tt,wr,"%","\\%");Ae(Oe,tt,wr,"_","\\_");Ae(bi,tt,wr,"_","\\_");Ae(bi,tt,wr,"_","\\textunderscore");Ae(Oe,tt,wr,"\u2220","\\angle",!0);Ae(Oe,tt,wr,"\u221E","\\infty",!0);Ae(Oe,tt,wr,"\u2032","\\prime");Ae(Oe,tt,wr,"\u25B3","\\triangle");Ae(Oe,tt,wr,"\u0393","\\Gamma",!0);Ae(Oe,tt,wr,"\u0394","\\Delta",!0);Ae(Oe,tt,wr,"\u0398","\\Theta",!0);Ae(Oe,tt,wr,"\u039B","\\Lambda",!0);Ae(Oe,tt,wr,"\u039E","\\Xi",!0);Ae(Oe,tt,wr,"\u03A0","\\Pi",!0);Ae(Oe,tt,wr,"\u03A3","\\Sigma",!0);Ae(Oe,tt,wr,"\u03A5","\\Upsilon",!0);Ae(Oe,tt,wr,"\u03A6","\\Phi",!0);Ae(Oe,tt,wr,"\u03A8","\\Psi",!0);Ae(Oe,tt,wr,"\u03A9","\\Omega",!0);Ae(Oe,tt,wr,"A","\u0391");Ae(Oe,tt,wr,"B","\u0392");Ae(Oe,tt,wr,"E","\u0395");Ae(Oe,tt,wr,"Z","\u0396");Ae(Oe,tt,wr,"H","\u0397");Ae(Oe,tt,wr,"I","\u0399");Ae(Oe,tt,wr,"K","\u039A");Ae(Oe,tt,wr,"M","\u039C");Ae(Oe,tt,wr,"N","\u039D");Ae(Oe,tt,wr,"O","\u039F");Ae(Oe,tt,wr,"P","\u03A1");Ae(Oe,tt,wr,"T","\u03A4");Ae(Oe,tt,wr,"X","\u03A7");Ae(Oe,tt,wr,"\xAC","\\neg",!0);Ae(Oe,tt,wr,"\xAC","\\lnot");Ae(Oe,tt,wr,"\u22A4","\\top");Ae(Oe,tt,wr,"\u22A5","\\bot");Ae(Oe,tt,wr,"\u2205","\\emptyset");Ae(Oe,Qt,wr,"\u2205","\\varnothing");Ae(Oe,tt,io,"\u03B1","\\alpha",!0);Ae(Oe,tt,io,"\u03B2","\\beta",!0);Ae(Oe,tt,io,"\u03B3","\\gamma",!0);Ae(Oe,tt,io,"\u03B4","\\delta",!0);Ae(Oe,tt,io,"\u03F5","\\epsilon",!0);Ae(Oe,tt,io,"\u03B6","\\zeta",!0);Ae(Oe,tt,io,"\u03B7","\\eta",!0);Ae(Oe,tt,io,"\u03B8","\\theta",!0);Ae(Oe,tt,io,"\u03B9","\\iota",!0);Ae(Oe,tt,io,"\u03BA","\\kappa",!0);Ae(Oe,tt,io,"\u03BB","\\lambda",!0);Ae(Oe,tt,io,"\u03BC","\\mu",!0);Ae(Oe,tt,io,"\u03BD","\\nu",!0);Ae(Oe,tt,io,"\u03BE","\\xi",!0);Ae(Oe,tt,io,"\u03BF","\\omicron",!0);Ae(Oe,tt,io,"\u03C0","\\pi",!0);Ae(Oe,tt,io,"\u03C1","\\rho",!0);Ae(Oe,tt,io,"\u03C3","\\sigma",!0);Ae(Oe,tt,io,"\u03C4","\\tau",!0);Ae(Oe,tt,io,"\u03C5","\\upsilon",!0);Ae(Oe,tt,io,"\u03D5","\\phi",!0);Ae(Oe,tt,io,"\u03C7","\\chi",!0);Ae(Oe,tt,io,"\u03C8","\\psi",!0);Ae(Oe,tt,io,"\u03C9","\\omega",!0);Ae(Oe,tt,io,"\u03B5","\\varepsilon",!0);Ae(Oe,tt,io,"\u03D1","\\vartheta",!0);Ae(Oe,tt,io,"\u03D6","\\varpi",!0);Ae(Oe,tt,io,"\u03F1","\\varrho",!0);Ae(Oe,tt,io,"\u03C2","\\varsigma",!0);Ae(Oe,tt,io,"\u03C6","\\varphi",!0);Ae(Oe,tt,Fa,"\u2217","*",!0);Ae(Oe,tt,Fa,"+","+");Ae(Oe,tt,Fa,"\u2212","-",!0);Ae(Oe,tt,Fa,"\u22C5","\\cdot",!0);Ae(Oe,tt,Fa,"\u2218","\\circ",!0);Ae(Oe,tt,Fa,"\xF7","\\div",!0);Ae(Oe,tt,Fa,"\xB1","\\pm",!0);Ae(Oe,tt,Fa,"\xD7","\\times",!0);Ae(Oe,tt,Fa,"\u2229","\\cap",!0);Ae(Oe,tt,Fa,"\u222A","\\cup",!0);Ae(Oe,tt,Fa,"\u2216","\\setminus",!0);Ae(Oe,tt,Fa,"\u2227","\\land");Ae(Oe,tt,Fa,"\u2228","\\lor");Ae(Oe,tt,Fa,"\u2227","\\wedge",!0);Ae(Oe,tt,Fa,"\u2228","\\vee",!0);Ae(Oe,tt,wr,"\u221A","\\surd");Ae(Oe,tt,Ow,"\u27E8","\\langle",!0);Ae(Oe,tt,Ow,"\u2223","\\lvert");Ae(Oe,tt,Ow,"\u2225","\\lVert");Ae(Oe,tt,bb,"?","?");Ae(Oe,tt,bb,"!","!");Ae(Oe,tt,bb,"\u27E9","\\rangle",!0);Ae(Oe,tt,bb,"\u2223","\\rvert");Ae(Oe,tt,bb,"\u2225","\\rVert");Ae(Oe,tt,er,"=","=");Ae(Oe,tt,er,":",":");Ae(Oe,tt,er,"\u2248","\\approx",!0);Ae(Oe,tt,er,"\u2245","\\cong",!0);Ae(Oe,tt,er,"\u2265","\\ge");Ae(Oe,tt,er,"\u2265","\\geq",!0);Ae(Oe,tt,er,"\u2190","\\gets");Ae(Oe,tt,er,">","\\gt",!0);Ae(Oe,tt,er,"\u2208","\\in",!0);Ae(Oe,tt,er,"\uE020","\\@not");Ae(Oe,tt,er,"\u2282","\\subset",!0);Ae(Oe,tt,er,"\u2283","\\supset",!0);Ae(Oe,tt,er,"\u2286","\\subseteq",!0);Ae(Oe,tt,er,"\u2287","\\supseteq",!0);Ae(Oe,Qt,er,"\u2288","\\nsubseteq",!0);Ae(Oe,Qt,er,"\u2289","\\nsupseteq",!0);Ae(Oe,tt,er,"\u22A8","\\models");Ae(Oe,tt,er,"\u2190","\\leftarrow",!0);Ae(Oe,tt,er,"\u2264","\\le");Ae(Oe,tt,er,"\u2264","\\leq",!0);Ae(Oe,tt,er,"<","\\lt",!0);Ae(Oe,tt,er,"\u2192","\\rightarrow",!0);Ae(Oe,tt,er,"\u2192","\\to");Ae(Oe,Qt,er,"\u2271","\\ngeq",!0);Ae(Oe,Qt,er,"\u2270","\\nleq",!0);Ae(Oe,tt,W6,"\xA0","\\ ");Ae(Oe,tt,W6,"\xA0","\\space");Ae(Oe,tt,W6,"\xA0","\\nobreakspace");Ae(bi,tt,W6,"\xA0","\\ ");Ae(bi,tt,W6,"\xA0"," ");Ae(bi,tt,W6,"\xA0","\\space");Ae(bi,tt,W6,"\xA0","\\nobreakspace");Ae(Oe,tt,W6,"","\\nobreak");Ae(Oe,tt,W6,"","\\allowbreak");Ae(Oe,tt,Aee,",",",");Ae(Oe,tt,Aee,";",";");Ae(Oe,Qt,Fa,"\u22BC","\\barwedge",!0);Ae(Oe,Qt,Fa,"\u22BB","\\veebar",!0);Ae(Oe,tt,Fa,"\u2299","\\odot",!0);Ae(Oe,tt,Fa,"\u2295","\\oplus",!0);Ae(Oe,tt,Fa,"\u2297","\\otimes",!0);Ae(Oe,tt,wr,"\u2202","\\partial",!0);Ae(Oe,tt,Fa,"\u2298","\\oslash",!0);Ae(Oe,Qt,Fa,"\u229A","\\circledcirc",!0);Ae(Oe,Qt,Fa,"\u22A1","\\boxdot",!0);Ae(Oe,tt,Fa,"\u25B3","\\bigtriangleup");Ae(Oe,tt,Fa,"\u25BD","\\bigtriangledown");Ae(Oe,tt,Fa,"\u2020","\\dagger");Ae(Oe,tt,Fa,"\u22C4","\\diamond");Ae(Oe,tt,Fa,"\u22C6","\\star");Ae(Oe,tt,Fa,"\u25C3","\\triangleleft");Ae(Oe,tt,Fa,"\u25B9","\\triangleright");Ae(Oe,tt,Ow,"{","\\{");Ae(bi,tt,wr,"{","\\{");Ae(bi,tt,wr,"{","\\textbraceleft");Ae(Oe,tt,bb,"}","\\}");Ae(bi,tt,wr,"}","\\}");Ae(bi,tt,wr,"}","\\textbraceright");Ae(Oe,tt,Ow,"{","\\lbrace");Ae(Oe,tt,bb,"}","\\rbrace");Ae(Oe,tt,Ow,"[","\\lbrack",!0);Ae(bi,tt,wr,"[","\\lbrack",!0);Ae(Oe,tt,bb,"]","\\rbrack",!0);Ae(bi,tt,wr,"]","\\rbrack",!0);Ae(Oe,tt,Ow,"(","\\lparen",!0);Ae(Oe,tt,bb,")","\\rparen",!0);Ae(bi,tt,wr,"<","\\textless",!0);Ae(bi,tt,wr,">","\\textgreater",!0);Ae(Oe,tt,Ow,"\u230A","\\lfloor",!0);Ae(Oe,tt,bb,"\u230B","\\rfloor",!0);Ae(Oe,tt,Ow,"\u2308","\\lceil",!0);Ae(Oe,tt,bb,"\u2309","\\rceil",!0);Ae(Oe,tt,wr,"\\","\\backslash");Ae(Oe,tt,wr,"\u2223","|");Ae(Oe,tt,wr,"\u2223","\\vert");Ae(bi,tt,wr,"|","\\textbar",!0);Ae(Oe,tt,wr,"\u2225","\\|");Ae(Oe,tt,wr,"\u2225","\\Vert");Ae(bi,tt,wr,"\u2225","\\textbardbl");Ae(bi,tt,wr,"~","\\textasciitilde");Ae(bi,tt,wr,"\\","\\textbackslash");Ae(bi,tt,wr,"^","\\textasciicircum");Ae(Oe,tt,er,"\u2191","\\uparrow",!0);Ae(Oe,tt,er,"\u21D1","\\Uparrow",!0);Ae(Oe,tt,er,"\u2193","\\downarrow",!0);Ae(Oe,tt,er,"\u21D3","\\Downarrow",!0);Ae(Oe,tt,er,"\u2195","\\updownarrow",!0);Ae(Oe,tt,er,"\u21D5","\\Updownarrow",!0);Ae(Oe,tt,Rg,"\u2210","\\coprod");Ae(Oe,tt,Rg,"\u22C1","\\bigvee");Ae(Oe,tt,Rg,"\u22C0","\\bigwedge");Ae(Oe,tt,Rg,"\u2A04","\\biguplus");Ae(Oe,tt,Rg,"\u22C2","\\bigcap");Ae(Oe,tt,Rg,"\u22C3","\\bigcup");Ae(Oe,tt,Rg,"\u222B","\\int");Ae(Oe,tt,Rg,"\u222B","\\intop");Ae(Oe,tt,Rg,"\u222C","\\iint");Ae(Oe,tt,Rg,"\u222D","\\iiint");Ae(Oe,tt,Rg,"\u220F","\\prod");Ae(Oe,tt,Rg,"\u2211","\\sum");Ae(Oe,tt,Rg,"\u2A02","\\bigotimes");Ae(Oe,tt,Rg,"\u2A01","\\bigoplus");Ae(Oe,tt,Rg,"\u2A00","\\bigodot");Ae(Oe,tt,Rg,"\u222E","\\oint");Ae(Oe,tt,Rg,"\u222F","\\oiint");Ae(Oe,tt,Rg,"\u2230","\\oiiint");Ae(Oe,tt,Rg,"\u2A06","\\bigsqcup");Ae(Oe,tt,Rg,"\u222B","\\smallint");Ae(bi,tt,Kj,"\u2026","\\textellipsis");Ae(Oe,tt,Kj,"\u2026","\\mathellipsis");Ae(bi,tt,Kj,"\u2026","\\ldots",!0);Ae(Oe,tt,Kj,"\u2026","\\ldots",!0);Ae(Oe,tt,Kj,"\u22EF","\\@cdots",!0);Ae(Oe,tt,Kj,"\u22F1","\\ddots",!0);Ae(Oe,tt,wr,"\u22EE","\\varvdots");Ae(bi,tt,wr,"\u22EE","\\varvdots");Ae(Oe,tt,qf,"\u02CA","\\acute");Ae(Oe,tt,qf,"\u02CB","\\grave");Ae(Oe,tt,qf,"\xA8","\\ddot");Ae(Oe,tt,qf,"~","\\tilde");Ae(Oe,tt,qf,"\u02C9","\\bar");Ae(Oe,tt,qf,"\u02D8","\\breve");Ae(Oe,tt,qf,"\u02C7","\\check");Ae(Oe,tt,qf,"^","\\hat");Ae(Oe,tt,qf,"\u20D7","\\vec");Ae(Oe,tt,qf,"\u02D9","\\dot");Ae(Oe,tt,qf,"\u02DA","\\mathring");Ae(Oe,tt,io,"\uE131","\\@imath");Ae(Oe,tt,io,"\uE237","\\@jmath");Ae(Oe,tt,wr,"\u0131","\u0131");Ae(Oe,tt,wr,"\u0237","\u0237");Ae(bi,tt,wr,"\u0131","\\i",!0);Ae(bi,tt,wr,"\u0237","\\j",!0);Ae(bi,tt,wr,"\xDF","\\ss",!0);Ae(bi,tt,wr,"\xE6","\\ae",!0);Ae(bi,tt,wr,"\u0153","\\oe",!0);Ae(bi,tt,wr,"\xF8","\\o",!0);Ae(bi,tt,wr,"\xC6","\\AE",!0);Ae(bi,tt,wr,"\u0152","\\OE",!0);Ae(bi,tt,wr,"\xD8","\\O",!0);Ae(bi,tt,qf,"\u02CA","\\'");Ae(bi,tt,qf,"\u02CB","\\`");Ae(bi,tt,qf,"\u02C6","\\^");Ae(bi,tt,qf,"\u02DC","\\~");Ae(bi,tt,qf,"\u02C9","\\=");Ae(bi,tt,qf,"\u02D8","\\u");Ae(bi,tt,qf,"\u02D9","\\.");Ae(bi,tt,qf,"\xB8","\\c");Ae(bi,tt,qf,"\u02DA","\\r");Ae(bi,tt,qf,"\u02C7","\\v");Ae(bi,tt,qf,"\xA8",'\\"');Ae(bi,tt,qf,"\u02DD","\\H");Ae(bi,tt,qf,"\u25EF","\\textcircled");vor={"--":!0,"---":!0,"``":!0,"''":!0};Ae(bi,tt,wr,"\u2013","--",!0);Ae(bi,tt,wr,"\u2013","\\textendash");Ae(bi,tt,wr,"\u2014","---",!0);Ae(bi,tt,wr,"\u2014","\\textemdash");Ae(bi,tt,wr,"\u2018","`",!0);Ae(bi,tt,wr,"\u2018","\\textquoteleft");Ae(bi,tt,wr,"\u2019","'",!0);Ae(bi,tt,wr,"\u2019","\\textquoteright");Ae(bi,tt,wr,"\u201C","``",!0);Ae(bi,tt,wr,"\u201C","\\textquotedblleft");Ae(bi,tt,wr,"\u201D","''",!0);Ae(bi,tt,wr,"\u201D","\\textquotedblright");Ae(Oe,tt,wr,"\xB0","\\degree",!0);Ae(bi,tt,wr,"\xB0","\\degree");Ae(bi,tt,wr,"\xB0","\\textdegree",!0);Ae(Oe,tt,wr,"\xA3","\\pounds");Ae(Oe,tt,wr,"\xA3","\\mathsterling",!0);Ae(bi,tt,wr,"\xA3","\\pounds");Ae(bi,tt,wr,"\xA3","\\textsterling",!0);Ae(Oe,Qt,wr,"\u2720","\\maltese");Ae(bi,Qt,wr,"\u2720","\\maltese");_sr='0123456789/@."';for(_ye=0;_ye<_sr.length;_ye++)HHe=_sr.charAt(_ye),Ae(Oe,tt,wr,HHe,HHe);Msr='0123456789!@*()-=+";:?/.,';for(Mye=0;Mye{var r=t.charCodeAt(0),a=t.charCodeAt(1),o=(r-55296)*1024+(a-56320)+65536;if(119808<=o&&o<120484){var l=Math.floor((o-119808)/26);return $sr[l]}else if(120782<=o&&o<=120831){var h=Math.floor((o-120782)/10);return r6n[h]}else{if(o===120485||o===120486)return $sr[0];if(120486{if(cL(t.classes)!==cL(r.classes)||t.skew!==r.skew||t.maxFontSize!==r.maxFontSize||t.italic!==0&&t.hasClass("mathnormal"))return!1;if(t.classes.length===1){var a=t.classes[0];if(a==="mbin"||a==="mord")return!1}for(var o of Object.keys(t.style))if(t.style[o]!==r.style[o])return!1;for(var l of Object.keys(r.style))if(t.style[l]!==r.style[l])return!1;return!0},"canCombine"),wor=i(t=>{for(var r=0;ra&&(a=f.height),f.depth>o&&(o=f.depth),f.maxFontSize>l&&(l=f.maxFontSize)}r.height=a,r.depth=o,r.maxFontSize=l},"sizeElementFromChildren"),Ri=i(function(r,a,o,l){var h=new uL(r,a,o,l);return Sqe(h),h},"makeSpan"),hL=i((t,r,a,o)=>new uL(t,r,a,o),"makeSvgSpan"),Wj=i(function(r,a,o){var l=Ri([r],[],a);return l.height=Math.max(o||a.fontMetrics().defaultRuleThickness,a.minRuleThickness),l.style.borderBottomWidth=Ki(l.height),l.maxFontSize=1,l},"makeLineSpan"),s6n=i(function(r,a,o,l){var h=new qj(r,a,o,l);return Sqe(h),h},"makeAnchor"),Y6=i(function(r){var a=new lL(r);return Sqe(a),a},"makeFragment"),Yj=i(function(r,a){return r instanceof lL?Ri([],[r],a):r},"wrapFragment"),o6n=i(function(r){if(r.positionType==="individualShift"){for(var a=r.children,o=[a[0]],l=-a[0].shift-a[0].elem.depth,h=l,f=1;f{var a=Ri(["mspace"],[],r),o=_d(t,r);return a.style.marginRight=Ki(o),a},"makeGlue"),Oye=i((t,r,a)=>{var o,l;switch(t){case"amsrm":o="AMS";break;case"textrm":o="Main";break;case"textsf":o="SansSerif";break;case"texttt":o="Typewriter";break;default:o=t}return r==="textbf"&&a==="textit"?l="BoldItalic":r==="textbf"?l="Bold":a==="textit"?l="Italic":l="Regular",o+"-"+l},"retrieveTextFontName"),uqe={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Tor={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},kor=i(function(r,a){var o=Tor[r],l=o[0],h=o[1],f=o[2],p=new PE(l),m=new Z3([p],{width:Ki(h),height:Ki(f),style:"width:"+Ki(h),viewBox:"0 0 "+1e3*h+" "+1e3*f,preserveAspectRatio:"xMinYMin"}),b=hL(["katex-overlay"],[m],a);return b.height=f,b.style.height=Ki(f),b.style.width=Ki(h),b},"staticSvg"),Dd={number:3,unit:"mu"},vN={number:4,unit:"mu"},V6={number:5,unit:"mu"},l6n={mord:{mop:Dd,mbin:vN,mrel:V6,minner:Dd},mop:{mord:Dd,mop:Dd,mrel:V6,minner:Dd},mbin:{mord:vN,mop:vN,mopen:vN,minner:vN},mrel:{mord:V6,mop:V6,mopen:V6,minner:V6},mopen:{},mclose:{mop:Dd,mbin:vN,mrel:V6,minner:Dd},mpunct:{mord:Dd,mop:Dd,mrel:V6,mopen:Dd,mclose:Dd,mpunct:Dd,minner:Dd},minner:{mord:Dd,mop:Dd,mbin:vN,mrel:V6,mopen:Dd,mpunct:Dd,minner:Dd}},c6n={mord:{mop:Dd},mop:{mord:Dd,mop:Dd},mbin:{},mrel:{},mopen:{},mclose:{mop:Dd},mpunct:{},minner:{mop:Dd}},Cor={},kee={},Cee={};i(Ta,"defineFunction");i(xN,"defineFunctionBuilders");Eee=i(function(r){return r.type==="ordgroup"&&r.body.length===1?r.body[0]:r},"normalizeArgument"),Ag=i(function(r){return r.type==="ordgroup"?r.body:[r]},"ordargument"),u6n=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),h6n=new Set(["rightmost","mrel","mclose","mpunct"]),f6n={display:Wo.DISPLAY,text:Wo.TEXT,script:Wo.SCRIPT,scriptscript:Wo.SCRIPTSCRIPT},d6n={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},p0=i(function(r,a,o,l){l===void 0&&(l=[null,null]);for(var h=[],f=0;f{var L=R.classes[0],_=S.classes[0];L==="mbin"&&h6n.has(_)?R.classes[0]="mord":_==="mbin"&&u6n.has(L)&&(S.classes[0]="mord")},{node:T},C,E),hqe(h,(S,R)=>{var L,_,M=dqe(R),I=dqe(S),F=M&&I?S.hasClass("mtight")?(L=c6n[M])==null?void 0:L[I]:(_=l6n[M])==null?void 0:_[I]:null;if(F)return xor(F,b)},{node:T},C,E),h},"buildExpression"),hqe=i(function(r,a,o,l,h){l&&r.push(l);for(var f=0;fC=>{r.splice(T+1,0,C),f++})(f)}l&&r.pop()},"traverseNonSpaceNodes"),Eor=i(function(r){return r instanceof lL||r instanceof qj||r instanceof uL&&r.hasClass("enclosing")?r:null},"checkPartialGroup"),fqe=i(function(r,a){var o=Eor(r);if(o){var l=o.children;if(l.length){if(a==="right")return fqe(l[l.length-1],"right");if(a==="left")return fqe(l[0],"left")}}return r},"getOutermostNode"),dqe=i(function(r,a){if(!r)return null;a&&(r=fqe(r,a));var o=r.classes[0];return d6n[o]||null},"getTypeOfDomTree"),See=i(function(r,a){var o=["nulldelimiter"].concat(r.baseSizingClasses());return Ri(a.concat(o))},"makeNullDelimiter"),au=i(function(r,a,o){if(!r)return Ri();if(kee[r.type]){var l=kee[r.type](r,a);if(o&&a.size!==o.size){l=Ri(a.sizingClasses(o),[l],a);var h=a.sizeMultiplier/o.sizeMultiplier;l.height*=h,l.depth*=h}return l}else throw new Oi("Got group of unknown type: '"+r.type+"'")},"buildGroup");i(Pye,"buildHTMLUnbreakable");i(pqe,"buildHTML");i(Sor,"newDocumentFragment");$i=class{static{i(this,"MathNode")}constructor(r,a,o){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=r,this.attributes={},this.children=a||[],this.classes=o||[]}setAttribute(r,a){this.attributes[r]=a}getAttribute(r){return this.attributes[r]}toNode(){var r=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var a of Object.entries(this.attributes)){var o=a[0],l=a[1];r.setAttribute(o,l)}this.classes.length>0&&(r.className=cL(this.classes));for(var h=0;h0&&(r+=' class ="'+ty(cL(this.classes))+'"'),r+=">";for(var h=0;h",r}toText(){return this.children.map(r=>r.toText()).join("")}},hp=class{static{i(this,"TextNode")}constructor(r){this.text=void 0,this.text=r}toNode(){return document.createTextNode(this.text)}toMarkup(){return ty(this.toText())}toText(){return this.text}},Hye=class{static{i(this,"SpaceNode")}constructor(r){this.width=void 0,this.character=void 0,this.width=r,r>=.05555&&r<=.05556?this.character="\u200A":r>=.1666&&r<=.1667?this.character="\u2009":r>=.2222&&r<=.2223?this.character="\u2005":r>=.2777&&r<=.2778?this.character="\u2005\u200A":r>=-.05556&&r<=-.05555?this.character="\u200A\u2063":r>=-.1667&&r<=-.1666?this.character="\u2009\u2063":r>=-.2223&&r<=-.2222?this.character="\u205F\u2063":r>=-.2778&&r<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var r=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return r.setAttribute("width",Ki(this.width)),r}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},p6n=new Set(["\\imath","\\jmath"]),g6n=new Set(["mrow","mtable"]),jT=i(function(r,a,o){var l,h;return Hf[a][r]&&Hf[a][r].replace&&r.charCodeAt(0)!==55349&&!(Object.prototype.hasOwnProperty.call(vor,r)&&((o==null||(l=o.fontFamily)==null?void 0:l.slice(4,6))==="tt"||(o==null||(h=o.font)==null?void 0:h.slice(4,6))==="tt"))&&(r=Hf[a][r].replace),new hp(r)},"makeText"),Aqe=i(function(r){return r.length===1?r[0]:new $i("mrow",r)},"makeRow"),m6n={mathit:"italic",boldsymbol:i(t=>t.type==="textord"?"bold":"bold-italic","boldsymbol"),mathbf:"bold",mathbb:"double-struck",mathsfit:"sans-serif-italic",mathfrak:"fraktur",mathscr:"script",mathcal:"script",mathsf:"sans-serif",mathtt:"monospace"},Rqe=i((t,r)=>{if(t.mode==="text"){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold"}var a=r.font;if(!a||a==="mathnormal")return null;var o=t.mode,l=m6n[a];if(l)return typeof l=="function"?l(t):l;var h=t.text;if(p6n.has(h))return null;if(Hf[o][h]){var f=Hf[o][h].replace;f&&(h=f)}var p=uqe[a].fontName;return Cqe(h,p,o)?uqe[a].variant:null},"getVariant");i(WHe,"isNumberPunctuation");Pw=i(function(r,a,o){if(r.length===1){var l=vh(r[0],a);return o&&l instanceof $i&&l.type==="mo"&&(l.setAttribute("lspace","0em"),l.setAttribute("rspace","0em")),[l]}for(var h=[],f,p=0;p=1&&(f.type==="mn"||WHe(f))){var b=m.children[0];b instanceof $i&&b.type==="mn"&&(b.children=[...f.children,...b.children],h.pop())}else if(f.type==="mi"&&f.children.length===1){var v=f.children[0];if(v instanceof hp&&v.text==="\u0338"&&(m.type==="mo"||m.type==="mi"||m.type==="mn")){var T=m.children[0];T instanceof hp&&T.text.length>0&&(T.text=T.text.slice(0,1)+"\u0338"+T.text.slice(1),h.pop())}}}h.push(m),f=m}return h},"buildExpression"),fL=i(function(r,a,o){return Aqe(Pw(r,a,o))},"buildExpressionRow"),vh=i(function(r,a){if(!r)return new $i("mrow");if(Cee[r.type])return Cee[r.type](r,a);throw new Oi("Got group of unknown type: '"+r.type+"'")},"buildGroup");i(Gsr,"buildMathML");y6n=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],jsr=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],zsr=i(function(r,a){return a.size<2?r:y6n[r-1][a.size-1]},"sizeAtStyle"),qye=class t{static{i(this,"Options")}constructor(r){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.strict=void 0,this.style=r.style,this.color=r.color,this.size=r.size||t.BASESIZE,this.textSize=r.textSize||this.size,this.phantom=!!r.phantom,this.font=r.font||"",this.fontFamily=r.fontFamily||"",this.fontWeight=r.fontWeight||"",this.fontShape=r.fontShape||"",this.sizeMultiplier=jsr[this.size-1],this.maxSize=r.maxSize,this.minRuleThickness=r.minRuleThickness,this.strict=r.strict,this._fontMetrics=void 0}extend(r){var a={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness,strict:this.strict};return Object.assign(a,r),new t(a)}havingStyle(r){return this.style===r?this:this.extend({style:r,size:zsr(this.textSize,r)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(r){return this.size===r&&this.textSize===r?this:this.extend({style:this.style.text(),size:r,textSize:r,sizeMultiplier:jsr[r-1]})}havingBaseStyle(r){r=r||this.style.text();var a=zsr(t.BASESIZE,r);return this.size===a&&this.textSize===t.BASESIZE&&this.style===r?this:this.extend({style:r,size:a})}havingBaseSizing(){var r;switch(this.style.id){case 4:case 5:r=3;break;case 6:case 7:r=1;break;default:r=6}return this.extend({style:this.style.text(),size:r})}withColor(r){return this.extend({color:r})}withPhantom(){return this.extend({phantom:!0})}withFont(r){return this.extend({font:r})}withTextFontFamily(r){return this.extend({fontFamily:r,font:""})}withTextFontWeight(r){return this.extend({fontWeight:r,font:""})}withTextFontShape(r){return this.extend({fontShape:r,font:""})}sizingClasses(r){return r.size!==this.size?["katex-sizing","reset-size"+r.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==t.BASESIZE?["katex-sizing","reset-size"+this.size,"size"+t.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=e6n(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};qye.BASESIZE=6;Aor=i(t=>new qye({style:t.displayMode?Wo.DISPLAY:Wo.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness,strict:t.strict}),"optionsFromSettings"),Ror=i(function(r,a){if(a.displayMode){var o=["katex-display"];a.leqno&&o.push("leqno"),a.fleqn&&o.push("fleqn"),r=Ri(o,[r])}return r},"displayWrap"),b6n=i(function(r,a,o){var l=Aor(o),h;if(o.output==="mathml")return Gsr(r,a,l,o.displayMode,!0);if(o.output==="html"){var f=pqe(r,l);h=Ri(["katex"],[f])}else{var p=Gsr(r,a,l,o.displayMode,!1),m=pqe(r,l);h=Ri(["katex"],[p,m])}return Ror(h,o)},"buildTree"),v6n=i(function(r,a){var o=Aor(a),l=pqe(r,o),h=Ri(["katex"],[l]);return Ror(h,a)},"buildHTMLTree"),w6n={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",underbracket:"\u23B5",overbracket:"\u23B4",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},Qye=i(function(r){var a=new $i("mo",[new hp(w6n[r.replace(/^\\/,"")])]);return a.setAttribute("stretchy","true"),a},"stretchyMathML"),x6n={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},T6n=new Set(["widehat","widecheck","widetilde","utilde"]),Jye=i(function(r,a){function o(){var m=4e5,b=r.label.slice(1);if(T6n.has(b)&&"base"in r){var v=r.base.type==="ordgroup"?r.base.body.length:1,T,C,E;if(v>5)b==="widehat"||b==="widecheck"?(T=420,m=2364,E=.42,C=b+"4"):(T=312,m=2340,E=.34,C="tilde4");else{var S=[1,1,2,2,3,3][v];b==="widehat"||b==="widecheck"?(m=[0,1062,2364,2364,2364][S],T=[0,239,300,360,420][S],E=[0,.24,.3,.3,.36,.42][S],C=b+S):(m=[0,600,1033,2339,2340][S],T=[0,260,286,306,312][S],E=[0,.26,.286,.3,.306,.34][S],C="tilde"+S)}var R=new PE(C),L=new Z3([R],{width:"100%",height:Ki(E),viewBox:"0 0 "+m+" "+T,preserveAspectRatio:"none"});return{span:hL([],[L],a),minWidth:0,height:E}}else{var _=[],M=x6n[b];if(!M)throw new Error('No SVG data for "'+b+'".');var I=M[0],F=M[1],O=M[2],P=O/1e3,G=I.length,V,Y;if(G===1){if(M.length!==4)throw new Error('Expected 4-tuple for single-path SVG data "'+b+'".');V=["hide-tail"],Y=[M[3]]}else if(G===2)V=["halfarrow-left","halfarrow-right"],Y=["xMinYMin","xMaxYMin"];else if(G===3)V=["brace-left","brace-center","brace-right"],Y=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+G+" children.");for(var K=0;K0&&(h.style.minWidth=Ki(f)),h},"stretchySvg"),k6n=i(function(r,a,o,l,h){var f,p=r.height+r.depth+o+l;if(/fbox|color|angl/.test(a)){if(f=Ri(["katex-stretchy",a],[],h),a==="fbox"){var m=h.color&&h.getColor();m&&(f.style.borderColor=m)}}else{var b=[];/^[bx]cancel$/.test(a)&&b.push(new Tee({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(a)&&b.push(new Tee({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var v=new Z3(b,{width:"100%",height:Ki(p)});f=hL([],[v],h)}return f.height=p,f.style.height=Ki(p),f},"stretchyEnclose"),C6n=["bin","close","inner","open","punct","rel"],E6n=["accent-token","mathord","op-token","spacing","textord"],S6n=new Set(C6n),A6n=new Set(E6n);i(R6n,"isAtom");i(Kl,"assertNodeType");i(Zye,"assertSymbolNodeType");i(ebe,"checkSymbolNodeType");i(Lqe,"assertCharacterGroup");Lor=i(t=>{if(t instanceof yb)return t;if(Z5n(t)&&t.children.length===1)return Lor(t.children[0])},"getBaseSymbol"),Dor=i((t,r)=>{var a,o,l;t&&t.type==="supsub"?(o=Kl(t.base,"accent"),a=o.base,t.base=a,l=J5n(au(t,r)),t.base=o):(o=Kl(t,"accent"),a=o.base);var h=au(a,r.havingCrampedStyle()),f=o.isShifty&&q6(a),p=0;if(f){var m,b;p=(m=(b=Lor(h))==null?void 0:b.skew)!=null?m:0}var v=o.label==="\\c",T=v?h.height+h.depth:Math.min(h.height,r.fontMetrics().xHeight),C;if(o.isStretchy)C=Jye(o,r),C=wu({positionType:"firstBaseline",children:[{type:"elem",elem:h},{type:"elem",elem:C,wrapperClasses:["svg-align"],wrapperStyle:p>0?{width:"calc(100% - "+Ki(2*p)+")",marginLeft:Ki(2*p)}:void 0}]});else{var E,S;o.label==="\\vec"?(E=kor("vec",r),S=Tor.vec[1]):(E=Xye({type:"textord",mode:o.mode,text:o.label},r),E=Q5n(E),E.italic=0,S=E.width,v&&(T+=E.depth)),C=Ri(["accent-body"],[E]);var R=o.label==="\\textcircled";R&&(C.classes.push("accent-full"),T=h.height);var L=p;R||(L-=S/2),C.style.left=Ki(L),o.label==="\\textcircled"&&(C.style.top=".2em"),C=wu({positionType:"firstBaseline",children:[{type:"elem",elem:h},{type:"kern",size:-T},{type:"elem",elem:C}]})}var _=Ri(["mord","katex-accent"],[C],r);return l?(l.children[0]=_,l.height=Math.max(_.height,l.height),l.classes[0]="mord",l):_},"htmlBuilder$a"),L6n=i((t,r)=>{var a=t.isStretchy?Qye(t.label):new $i("mo",[jT(t.label,t.mode)]),o=new $i("mover",[vh(t.base,r),a]);return o.setAttribute("accent","true"),o},"mathmlBuilder$9"),D6n=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(t=>"\\"+t).join("|"));Ta({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],numArgs:1,handler:i((t,r)=>{var a=Eee(r[0]),o=!D6n.test(t.funcName),l=!o||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:o,isShifty:l,base:a}},"handler"),htmlBuilder:Dor,mathmlBuilder:L6n});Ta({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"],handler:i((t,r)=>{var a=r[0],o=t.parser.mode;return o==="math"&&(Yv({strict:t.parser.settings.strict,errorCode:"mathVsTextAccents",errorMsg:"LaTeX's accent "+t.funcName+" works only in text mode",report:!0}),o="text"),{type:"accent",mode:o,label:t.funcName,isStretchy:!1,isShifty:!0,base:a}},"handler")});Ta({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],numArgs:1,handler:i((t,r)=>{var a=t.parser,o=t.funcName,l=r[0];return{type:"accentUnder",mode:a.mode,label:o,base:l}},"handler"),htmlBuilder:i((t,r)=>{var a=au(t.base,r),o=Jye(t,r),l=t.label==="\\utilde"?.12:0,h=wu({positionType:"top",positionData:a.height,children:[{type:"elem",elem:o,wrapperClasses:["svg-align"]},{type:"kern",size:l},{type:"elem",elem:a}]});return Ri(["mord","accentunder"],[h],r)},"htmlBuilder"),mathmlBuilder:i((t,r)=>{var a=Qye(t.label),o=new $i("munder",[vh(t.base,r),a]);return o.setAttribute("accentunder","true"),o},"mathmlBuilder")});Bye=i(t=>{var r=new $i("mpadded",t?[t]:[]);return r.setAttribute("width","+0.6em"),r.setAttribute("lspace","0.3em"),r},"paddedNode");Ta({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],numArgs:1,numOptionalArgs:1,handler(t,r,a){var o=t.parser,l=t.funcName;return{type:"xArrow",mode:o.mode,label:l,body:r[0],below:a[0]}},htmlBuilder(t,r){var a=r.style,o=r.havingStyle(a.sup()),l=Yj(au(t.body,o,r),r),h=t.label.slice(0,2)==="\\x"?"x":"cd";l.classes.push(h+"-arrow-pad");var f;t.below&&(o=r.havingStyle(a.sub()),f=Yj(au(t.below,o,r),r),f.classes.push(h+"-arrow-pad"));var p=Jye(t,r),m=-r.fontMetrics().axisHeight+.5*p.height,b=-r.fontMetrics().axisHeight-.5*p.height-.111;(l.depth>.25||t.label==="\\xleftequilibrium")&&(b-=l.depth);var v;if(f){var T=-r.fontMetrics().axisHeight+f.height+.5*p.height+.111;v=wu({positionType:"individualShift",children:[{type:"elem",elem:l,shift:b},{type:"elem",elem:p,shift:m,wrapperClasses:["svg-align"]},{type:"elem",elem:f,shift:T}]})}else v=wu({positionType:"individualShift",children:[{type:"elem",elem:l,shift:b},{type:"elem",elem:p,shift:m,wrapperClasses:["svg-align"]}]});return Ri(["mrel","x-arrow"],[v],r)},mathmlBuilder(t,r){var a=Qye(t.label);a.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");var o;if(t.body){var l=Bye(vh(t.body,r));if(t.below){var h=Bye(vh(t.below,r));o=new $i("munderover",[a,h,l])}else o=new $i("mover",[a,l])}else if(t.below){var f=Bye(vh(t.below,r));o=new $i("munder",[a,f])}else o=Bye(),o=new $i("mover",[a,o]);return o}});i(_6n,"htmlBuilder$9");i(M6n,"mathmlBuilder$8");Ta({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],numArgs:1,primitive:!0,handler(t,r){var a=t.parser,o=t.funcName,l=r[0];return{type:"mclass",mode:a.mode,mclass:"m"+o.slice(5),body:Ag(l),isCharacterBox:q6(l)}},htmlBuilder:_6n,mathmlBuilder:M6n});tbe=i(t=>{var r=t.type==="ordgroup"&&t.body.length?t.body[0]:t;return r.type==="atom"&&(r.family==="bin"||r.family==="rel")?"m"+r.family:"mord"},"binrelClass");Ta({type:"mclass",names:["\\@binrel"],numArgs:2,handler(t,r){var a=t.parser;return{type:"mclass",mode:a.mode,mclass:tbe(r[0]),body:Ag(r[1]),isCharacterBox:q6(r[1])}}});Ta({type:"mclass",names:["\\stackrel","\\overset","\\underset"],numArgs:2,handler(t,r){var a=t.parser,o=t.funcName,l=r[1],h=r[0],f;o!=="\\stackrel"?f=tbe(l):f="mrel";var p={type:"op",mode:l.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:o!=="\\stackrel",body:Ag(l)},m=o==="\\underset"?{type:"supsub",mode:h.mode,base:p,sub:h}:{type:"supsub",mode:h.mode,base:p,sup:h};return{type:"mclass",mode:a.mode,mclass:f,body:[m],isCharacterBox:q6(m)}}});Ta({type:"pmb",names:["\\pmb"],numArgs:1,allowedInText:!0,handler(t,r){var a=t.parser;return{type:"pmb",mode:a.mode,mclass:tbe(r[0]),body:Ag(r[0])}},htmlBuilder(t,r){var a=p0(t.body,r,!0),o=Ri([t.mclass],a,r);return o.style.textShadow="0.02em 0.01em 0.04px",o},mathmlBuilder(t,r){var a=Pw(t.body,r),o=new $i("mstyle",a);return o.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),o}});I6n={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Usr=i(()=>({type:"styling",body:[],mode:"math",style:"display",resetFont:!0}),"newCell"),Vsr=i(t=>t.type==="textord"&&t.text==="@","isStartOfArrow"),N6n=i((t,r)=>(t.type==="mathord"||t.type==="atom")&&t.text===r,"isLabelEnd");i(O6n,"cdArrow");i(P6n,"parseCD");Ta({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],numArgs:1,handler(t,r){var a=t.parser,o=t.funcName;return{type:"cdlabel",mode:a.mode,side:o.slice(4),label:r[0]}},htmlBuilder(t,r){var a=r.havingStyle(r.style.sup()),o=Yj(au(t.label,a,r),r);return o.classes.push("cd-label-"+t.side),o.style.bottom=Ki(.8-o.depth),o.height=0,o.depth=0,o},mathmlBuilder(t,r){var a=new $i("mrow",[vh(t.label,r)]);return a=new $i("mpadded",[a]),a.setAttribute("width","0"),t.side==="left"&&a.setAttribute("lspace","-1width"),a.setAttribute("voffset","0.7em"),a=new $i("mstyle",[a]),a.setAttribute("displaystyle","false"),a.setAttribute("scriptlevel","1"),a}});Ta({type:"cdlabelparent",names:["\\\\cdparent"],numArgs:1,handler(t,r){var a=t.parser;return{type:"cdlabelparent",mode:a.mode,fragment:r[0]}},htmlBuilder(t,r){var a=Yj(au(t.fragment,r),r);return a.classes.push("cd-vert-arrow"),a},mathmlBuilder(t,r){return new $i("mrow",[vh(t.fragment,r)])}});Ta({type:"textord",names:["\\@char"],numArgs:1,allowedInText:!0,handler(t,r){var a=t.parser,o=Kl(r[0],"ordgroup"),l=Lqe(o,"\\@char has non-numeric argument"),h=parseInt(l),f;if(isNaN(h))throw new Oi("\\@char has non-numeric argument "+l);if(h<0||h>1114111)throw new Oi("\\@char with invalid code point "+l);return h<=65535?f=String.fromCharCode(h):(h-=65536,f=String.fromCharCode((h>>10)+55296,(h&1023)+56320)),{type:"textord",mode:a.mode,text:f}}});B6n=i((t,r)=>{var a=p0(t.body,r.withColor(t.color),!1);return Y6(a)},"htmlBuilder$8"),F6n=i((t,r)=>{var a=Pw(t.body,r.withColor(t.color)),o=new $i("mstyle",a);return o.setAttribute("mathcolor",t.color),o},"mathmlBuilder$7");Ta({type:"color",names:["\\textcolor"],numArgs:2,allowedInText:!0,argTypes:["color","original"],handler(t,r){var a=t.parser,o=Kl(r[0],"color-token").color,l=r[1];return{type:"color",mode:a.mode,color:o,body:Ag(l)}},htmlBuilder:B6n,mathmlBuilder:F6n});Ta({type:"color",names:["\\color"],numArgs:1,allowedInText:!0,argTypes:["color"],handler(t,r){var a=t.parser,o=t.breakOnTokenText,l=Kl(r[0],"color-token").color;a.gullet.macros.set("\\current@color",l);var h=a.parseExpression(!0,o);return{type:"color",mode:a.mode,color:l,body:h}}});Ta({type:"cr",names:["\\\\"],numArgs:0,numOptionalArgs:0,allowedInText:!0,handler(t){var r=t.parser,a=r.gullet.future().text==="["?r.parseSizeGroup(!0):null,o=!r.settings.displayMode||!Yv({strict:r.settings.strict,errorCode:"newLineInDisplayMode",errorMsg:"In LaTeX, \\\\ or \\newline does nothing in display mode",report:!1});return{type:"cr",mode:r.mode,newLine:o,size:a&&Kl(a,"size").value}},htmlBuilder(t,r){var a=Ri(["mspace"],[],r);return t.newLine&&(a.classes.push("katex-newline"),t.size&&(a.style.marginTop=Ki(_d(t.size,r)))),a},mathmlBuilder(t,r){var a=new $i("mspace");return t.newLine&&(a.setAttribute("linebreak","newline"),t.size&&a.setAttribute("height",Ki(_d(t.size,r)))),a}});gqe={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},_or=i(t=>{var r=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(r))throw new Oi("Expected a control sequence",t);return r},"checkControlSequence"),$6n=i(t=>{var r=t.gullet.popToken();return r.text==="="&&(r=t.gullet.popToken(),r.text===" "&&(r=t.gullet.popToken())),r},"getRHS"),Mor=i((t,r,a,o)=>{var l=t.gullet.macros.get(a.text);l==null&&(a.noexpand=!0,l={tokens:[a],numArgs:0,unexpandable:!t.gullet.isExpandable(a.text)}),t.gullet.macros.set(r,l,o)},"letCommand");Ta({type:"internal",names:["\\global","\\long","\\\\globallong"],numArgs:0,allowedInText:!0,handler(t){var r=t.parser,a=t.funcName;r.consumeSpaces();var o=r.fetch();if(gqe[o.text])return(a==="\\global"||a==="\\\\globallong")&&(o.text=gqe[o.text]),Kl(r.parseFunction(),"internal");throw new Oi("Invalid token after macro prefix",o)}});Ta({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],numArgs:0,allowedInText:!0,primitive:!0,handler(t){var r=t.parser,a=t.funcName,o=r.gullet.popToken(),l=o.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(l))throw new Oi("Expected a control sequence",o);for(var h=0,f,p=[[]];r.gullet.future().text!=="{";)if(o=r.gullet.popToken(),o.text==="#"){if(r.gullet.future().text==="{"){f=r.gullet.future(),p[h].push("{");break}if(o=r.gullet.popToken(),!/^[1-9]$/.test(o.text))throw new Oi('Invalid argument number "'+o.text+'"');if(parseInt(o.text)!==h+1)throw new Oi('Argument number "'+o.text+'" out of order');h++,p.push([])}else{if(o.text==="EOF")throw new Oi("Expected a macro definition");p[h].push(o.text)}var m=r.gullet.consumeArg(),b=m.tokens;return f&&b.unshift(f),(a==="\\edef"||a==="\\xdef")&&(b=r.gullet.expandTokens(b),b.reverse()),r.gullet.macros.set(l,{tokens:b,numArgs:h,delimiters:p},a===gqe[a]),{type:"internal",mode:r.mode}}});Ta({type:"internal",names:["\\let","\\\\globallet"],numArgs:0,allowedInText:!0,primitive:!0,handler(t){var r=t.parser,a=t.funcName,o=_or(r.gullet.popToken());r.gullet.consumeSpaces();var l=$6n(r);return Mor(r,o,l,a==="\\\\globallet"),{type:"internal",mode:r.mode}}});Ta({type:"internal",names:["\\futurelet","\\\\globalfuture"],numArgs:0,allowedInText:!0,primitive:!0,handler(t){var r=t.parser,a=t.funcName,o=_or(r.gullet.popToken()),l=r.gullet.popToken(),h=r.gullet.popToken();return Mor(r,o,h,a==="\\\\globalfuture"),r.gullet.pushToken(h),r.gullet.pushToken(l),{type:"internal",mode:r.mode}}});bee=i(function(r,a,o){var l=Hf.math[r]&&Hf.math[r].replace,h=Cqe(l||r,a,o);if(!h)throw new Error("Unsupported symbol "+r+" and font size "+a+".");return h},"getMetrics"),Dqe=i(function(r,a,o,l){var h=o.havingBaseStyle(a),f=Ri(l.concat(h.sizingClasses(o)),[r],o),p=h.sizeMultiplier/o.sizeMultiplier;return f.height*=p,f.depth*=p,f.maxFontSize=h.sizeMultiplier,f},"styleWrap"),Ior=i(function(r,a,o){var l=a.havingBaseStyle(o),h=(1-a.sizeMultiplier/l.sizeMultiplier)*a.fontMetrics().axisHeight;r.classes.push("delimcenter"),r.style.top=Ki(h),r.height-=h,r.depth+=h},"centerSpan"),G6n=i(function(r,a,o,l,h,f){var p=gb(r,"Main-Regular",h,l),m=Dqe(p,a,l,f);return o&&Ior(m,l,a),m},"makeSmallDelim"),j6n=i(function(r,a,o,l){return gb(r,"Size"+a+"-Regular",o,l)},"mathrmSize"),Nor=i(function(r,a,o,l,h,f){var p=j6n(r,a,h,l),m=Dqe(Ri(["delimsizing","size"+a],[p],l),Wo.TEXT,l,f);return o&&Ior(m,l,Wo.TEXT),m},"makeLargeDelim"),YHe=i(function(r,a,o,l){var h;a==="Size1-Regular"?h="delim-size1":h="delim-size4";var f=Ri(["delimsizinginner",h],[Ri([],[gb(r,a,o,l)])]);return{type:"elem",elem:f}},"makeGlyphSpan"),KHe=i(function(r,a,o){var l=OE["Size4-Regular"][r.charCodeAt(0)]?OE["Size4-Regular"][r.charCodeAt(0)][4]:OE["Size1-Regular"][r.charCodeAt(0)][4],h=new PE("inner",H5n(r,Math.round(1e3*a))),f=new Z3([h],{width:Ki(l),height:Ki(a),style:"width:"+Ki(l),viewBox:"0 0 "+1e3*l+" "+Math.round(1e3*a),preserveAspectRatio:"xMinYMin"}),p=hL([],[f],o);return p.height=a,p.style.height=Ki(a),p.style.width=Ki(l),{type:"elem",elem:p}},"makeInner"),mqe=.008,Fye={type:"kern",size:-1*mqe},z6n=new Set(["|","\\lvert","\\rvert","\\vert"]),U6n=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),Oor=i(function(r,a,o,l,h,f){var p,m,b,v,T="",C=0;p=b=v=r,m=null;var E="Size1-Regular";r==="\\uparrow"?b=v="\u23D0":r==="\\Uparrow"?b=v="\u2016":r==="\\downarrow"?p=b="\u23D0":r==="\\Downarrow"?p=b="\u2016":r==="\\updownarrow"?(p="\\uparrow",b="\u23D0",v="\\downarrow"):r==="\\Updownarrow"?(p="\\Uparrow",b="\u2016",v="\\Downarrow"):z6n.has(r)?(b="\u2223",T="vert",C=333):U6n.has(r)?(b="\u2225",T="doublevert",C=556):r==="["||r==="\\lbrack"?(p="\u23A1",b="\u23A2",v="\u23A3",E="Size4-Regular",T="lbrack",C=667):r==="]"||r==="\\rbrack"?(p="\u23A4",b="\u23A5",v="\u23A6",E="Size4-Regular",T="rbrack",C=667):r==="\\lfloor"||r==="\u230A"?(b=p="\u23A2",v="\u23A3",E="Size4-Regular",T="lfloor",C=667):r==="\\lceil"||r==="\u2308"?(p="\u23A1",b=v="\u23A2",E="Size4-Regular",T="lceil",C=667):r==="\\rfloor"||r==="\u230B"?(b=p="\u23A5",v="\u23A6",E="Size4-Regular",T="rfloor",C=667):r==="\\rceil"||r==="\u2309"?(p="\u23A4",b=v="\u23A5",E="Size4-Regular",T="rceil",C=667):r==="("||r==="\\lparen"?(p="\u239B",b="\u239C",v="\u239D",E="Size4-Regular",T="lparen",C=875):r===")"||r==="\\rparen"?(p="\u239E",b="\u239F",v="\u23A0",E="Size4-Regular",T="rparen",C=875):r==="\\{"||r==="\\lbrace"?(p="\u23A7",m="\u23A8",v="\u23A9",b="\u23AA",E="Size4-Regular"):r==="\\}"||r==="\\rbrace"?(p="\u23AB",m="\u23AC",v="\u23AD",b="\u23AA",E="Size4-Regular"):r==="\\lgroup"||r==="\u27EE"?(p="\u23A7",v="\u23A9",b="\u23AA",E="Size4-Regular"):r==="\\rgroup"||r==="\u27EF"?(p="\u23AB",v="\u23AD",b="\u23AA",E="Size4-Regular"):r==="\\lmoustache"||r==="\u23B0"?(p="\u23A7",v="\u23AD",b="\u23AA",E="Size4-Regular"):(r==="\\rmoustache"||r==="\u23B1")&&(p="\u23AB",v="\u23A9",b="\u23AA",E="Size4-Regular");var S=bee(p,E,h),R=S.height+S.depth,L=bee(b,E,h),_=L.height+L.depth,M=bee(v,E,h),I=M.height+M.depth,F=0,O=1;if(m!==null){var P=bee(m,E,h);F=P.height+P.depth,O=2}var G=R+I+F,V=Math.max(0,Math.ceil((a-G)/(O*_))),Y=G+V*O*_,K=l.fontMetrics().axisHeight;o&&(K*=l.sizeMultiplier);var J=Y/2-K,H=[];if(T.length>0){var q=Y-R-I,Z=Math.round(Y*1e3),Q=q5n(T,Math.round(q*1e3)),W=new PE(T,Q),te=Ki(C/1e3),z=Ki(Z/1e3),re=new Z3([W],{width:te,height:z,viewBox:"0 0 "+C+" "+Z}),ae=hL([],[re],l);ae.height=Z/1e3,ae.style.width=te,ae.style.height=z,H.push({type:"elem",elem:ae})}else{if(H.push(YHe(v,E,h,l)),H.push(Fye),m===null){var ce=Y-R-I+2*mqe;H.push(KHe(b,ce,l))}else{var le=(Y-R-I-F)/2+2*mqe;H.push(KHe(b,le,l)),H.push(Fye),H.push(YHe(m,E,h,l)),H.push(Fye),H.push(KHe(b,le,l))}H.push(Fye),H.push(YHe(p,E,h,l))}var de=l.havingBaseStyle(Wo.TEXT),ve=wu({positionType:"bottom",positionData:J,children:H});return Dqe(Ri(["delimsizing","mult"],[ve],de),Wo.TEXT,l,f)},"makeStackedDelim"),XHe=80,QHe=.08,JHe=i(function(r,a,o,l,h){var f=V5n(r,l,o),p=new PE(r,f),m=new Z3([p],{width:"400em",height:Ki(a),viewBox:"0 0 400000 "+o,preserveAspectRatio:"xMinYMin slice"});return hL(["hide-tail"],[m],h)},"sqrtSvg"),V6n=i(function(r,a){var o=a.havingBaseSizing(),l=Gor("\\surd",r*o.sizeMultiplier,$or,o),h=o.sizeMultiplier,f=Math.max(0,a.minRuleThickness-a.fontMetrics().sqrtRuleThickness),p,m,b,v,T;return l.type==="small"?(v=1e3+1e3*f+XHe,r<1?h=1:r<1.4&&(h=.7),m=(1+f+QHe)/h,b=(1+f)/h,p=JHe("sqrtMain",m,v,f,a),p.style.minWidth="0.853em",T=.833/h):l.type==="large"?(v=(1e3+XHe)*vee[l.size],b=(vee[l.size]+f)/h,m=(vee[l.size]+f+QHe)/h,p=JHe("sqrtSize"+l.size,m,v,f,a),p.style.minWidth="1.02em",T=1/h):(m=r+f+QHe,b=r+f,v=Math.floor(1e3*r+f)+XHe,p=JHe("sqrtTall",m,v,f,a),p.style.minWidth="0.742em",T=1.056),p.height=b,p.style.height=Ki(m),{span:p,advanceWidth:T,ruleWidth:(a.fontMetrics().sqrtRuleThickness+f)*h}},"makeSqrtImage"),Por=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"]),H6n=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"]),Bor=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),vee=[0,1.2,1.8,2.4,3],For=i(function(r,a,o,l,h){if(r==="<"||r==="\\lt"||r==="\u27E8"?r="\\langle":(r===">"||r==="\\gt"||r==="\u27E9")&&(r="\\rangle"),Por.has(r)||Bor.has(r))return Nor(r,a,!1,o,l,h);if(H6n.has(r))return Oor(r,vee[a],!1,o,l,h);throw new Oi("Illegal delimiter: '"+r+"'")},"makeSizedDelim"),q6n=[{type:"small",style:Wo.SCRIPTSCRIPT},{type:"small",style:Wo.SCRIPT},{type:"small",style:Wo.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],W6n=[{type:"small",style:Wo.SCRIPTSCRIPT},{type:"small",style:Wo.SCRIPT},{type:"small",style:Wo.TEXT},{type:"stack"}],$or=[{type:"small",style:Wo.SCRIPTSCRIPT},{type:"small",style:Wo.SCRIPT},{type:"small",style:Wo.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Y6n=i(function(r){if(r.type==="small")return"Main-Regular";if(r.type==="large")return"Size"+r.size+"-Regular";if(r.type==="stack")return"Size4-Regular";var a=r.type;throw new Error("Add support for delim type '"+a+"' here.")},"delimTypeToFont"),Gor=i(function(r,a,o,l){for(var h=Math.min(2,3-l.style.size),f=h;fa)return p}return o[o.length-1]},"traverseSequence"),yqe=i(function(r,a,o,l,h,f){r==="<"||r==="\\lt"||r==="\u27E8"?r="\\langle":(r===">"||r==="\\gt"||r==="\u27E9")&&(r="\\rangle");var p;Bor.has(r)?p=q6n:Por.has(r)?p=$or:p=W6n;var m=Gor(r,a,p,l);return m.type==="small"?G6n(r,m.style,o,l,h,f):m.type==="large"?Nor(r,m.size,o,l,h,f):Oor(r,a,o,l,h,f)},"makeCustomSizedDelim"),ZHe=i(function(r,a,o,l,h,f){var p=l.fontMetrics().axisHeight*l.sizeMultiplier,m=901,b=5/l.fontMetrics().ptPerEm,v=Math.max(a-p,o+p),T=Math.max(v/500*m,2*v-b);return yqe(r,T,!0,l,h,f)},"makeLeftRightDelim"),Hsr={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},K6n=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]);i(qsr,"isMiddleDelimNode");i(rbe,"checkDelimiter");Ta({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],numArgs:1,argTypes:["primitive"],handler:i((t,r)=>{var a=rbe(Eee(r[0]),t);return{type:"delimsizing",mode:t.parser.mode,size:Hsr[t.funcName].size,mclass:Hsr[t.funcName].mclass,delim:a.text}},"handler"),htmlBuilder:i((t,r)=>t.delim==="."?Ri([t.mclass]):For(t.delim,t.size,r,t.mode,[t.mclass]),"htmlBuilder"),mathmlBuilder:i(t=>{var r=[];t.delim!=="."&&r.push(jT(t.delim,t.mode));var a=new $i("mo",r);t.mclass==="mopen"||t.mclass==="mclose"?a.setAttribute("fence","true"):a.setAttribute("fence","false"),a.setAttribute("stretchy","true");var o=Ki(vee[t.size]);return a.setAttribute("minsize",o),a.setAttribute("maxsize",o),a},"mathmlBuilder")});i(Wsr,"assertParsed");Ta({type:"leftright-right",names:["\\right"],numArgs:1,primitive:!0,handler:i((t,r)=>{var a=t.parser.gullet.macros.get("\\current@color");if(a&&typeof a!="string")throw new Oi("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:rbe(r[0],t).text,color:a}},"handler")});Ta({type:"leftright",names:["\\left"],numArgs:1,primitive:!0,handler:i((t,r)=>{var a=rbe(r[0],t),o=t.parser;++o.leftrightDepth;var l=o.parseExpression(!1);--o.leftrightDepth,o.expect("\\right",!1);var h=Kl(o.parseFunction(),"leftright-right");return{type:"leftright",mode:o.mode,body:l,left:a.text,right:h.delim,rightColor:h.color}},"handler"),htmlBuilder:i((t,r)=>{Wsr(t);for(var a=p0(t.body,r,!0,["mopen","mclose"]),o=0,l=0,h=!1,f=0;f{Wsr(t);var a=Pw(t.body,r);if(t.left!=="."){var o=new $i("mo",[jT(t.left,t.mode)]);o.setAttribute("fence","true"),a.unshift(o)}if(t.right!=="."){var l=new $i("mo",[jT(t.right,t.mode)]);l.setAttribute("fence","true"),t.rightColor&&l.setAttribute("mathcolor",t.rightColor),a.push(l)}return Aqe(a)},"mathmlBuilder")});Ta({type:"middle",names:["\\middle"],numArgs:1,primitive:!0,handler:i((t,r)=>{var a=rbe(r[0],t);if(!t.parser.leftrightDepth)throw new Oi("\\middle without preceding \\left",a);return{type:"middle",mode:t.parser.mode,delim:a.text}},"handler"),htmlBuilder:i((t,r)=>{var a;return t.delim==="."?a=See(r,[]):(a=For(t.delim,1,r,t.mode,[]),a.isMiddle={delim:t.delim,options:r}),a},"htmlBuilder"),mathmlBuilder:i((t,r)=>{var a=t.delim==="\\vert"||t.delim==="|"?jT("|","text"):jT(t.delim,t.mode),o=new $i("mo",[a]);return o.setAttribute("fence","true"),o.setAttribute("lspace","0.05em"),o.setAttribute("rspace","0.05em"),o},"mathmlBuilder")});X6n=i((t,r)=>{var a=Yj(au(t.body,r),r),o=t.label.slice(1),l=r.sizeMultiplier,h,f,p=q6(t.body);if(o==="sout")h=Ri(["katex-stretchy","katex-sout"]),h.height=r.fontMetrics().defaultRuleThickness/l,f=-.5*r.fontMetrics().xHeight;else if(o==="phase"){var m=_d({number:.6,unit:"pt"},r),b=_d({number:.35,unit:"ex"},r),v=r.havingBaseSizing();l=l/v.sizeMultiplier;var T=a.height+a.depth+m+b;a.style.paddingLeft=Ki(T/2+m);var C=Math.floor(1e3*T*l),E=z5n(C),S=new Z3([new PE("phase",E)],{width:"400em",height:Ki(C/1e3),viewBox:"0 0 400000 "+C,preserveAspectRatio:"xMinYMin slice"});h=hL(["hide-tail"],[S],r),h.style.height=Ki(T),f=a.depth+m+b}else{/cancel/.test(o)?p||a.classes.push("cancel-pad"):o==="angl"?a.classes.push("anglpad"):a.classes.push("boxpad");var R,L,_=0;/box/.test(o)?(_=Math.max(r.fontMetrics().fboxrule,r.minRuleThickness),R=r.fontMetrics().fboxsep+(o==="colorbox"?0:_),L=R):o==="angl"?(_=Math.max(r.fontMetrics().defaultRuleThickness,r.minRuleThickness),R=4*_,L=Math.max(0,.25-a.depth)):(R=p?.2:0,L=R),h=k6n(a,o,R,L,r),/fbox|boxed|fcolorbox/.test(o)?(h.style.borderStyle="solid",h.style.borderWidth=Ki(_)):o==="angl"&&_!==.049&&(h.style.borderTopWidth=Ki(_),h.style.borderRightWidth=Ki(_)),f=a.depth+L,t.backgroundColor&&(h.style.backgroundColor=t.backgroundColor,t.borderColor&&(h.style.borderColor=t.borderColor))}var M;if(t.backgroundColor)M=wu({positionType:"individualShift",children:[{type:"elem",elem:h,shift:f},{type:"elem",elem:a,shift:0}]});else{var I=/cancel|phase/.test(o)?["svg-align"]:[];M=wu({positionType:"individualShift",children:[{type:"elem",elem:a,shift:0},{type:"elem",elem:h,shift:f,wrapperClasses:I}]})}return/cancel/.test(o)&&(M.height=a.height,M.depth=a.depth),/cancel/.test(o)&&!p?Ri(["mord","cancel-lap"],[M],r):Ri(["mord"],[M],r)},"htmlBuilder$7"),Q6n=i((t,r)=>{var a,o=new $i(t.label.includes("colorbox")?"mpadded":"menclose",[vh(t.body,r)]);switch(t.label){case"\\cancel":o.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":o.setAttribute("notation","downdiagonalstrike");break;case"\\phase":o.setAttribute("notation","phasorangle");break;case"\\sout":o.setAttribute("notation","horizontalstrike");break;case"\\fbox":o.setAttribute("notation","box");break;case"\\angl":o.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(a=r.fontMetrics().fboxsep*r.fontMetrics().ptPerEm,o.setAttribute("width","+"+2*a+"pt"),o.setAttribute("height","+"+2*a+"pt"),o.setAttribute("lspace",a+"pt"),o.setAttribute("voffset",a+"pt"),t.label==="\\fcolorbox"){var l=Math.max(r.fontMetrics().fboxrule,r.minRuleThickness);o.setAttribute("style","border: "+Ki(l)+" solid "+t.borderColor)}break;case"\\xcancel":o.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&o.setAttribute("mathbackground",t.backgroundColor),o},"mathmlBuilder$6");Ta({type:"enclose",names:["\\colorbox"],numArgs:2,allowedInText:!0,argTypes:["color","hbox"],handler(t,r,a){var o=t.parser,l=t.funcName,h=Kl(r[0],"color-token").color,f=r[1];return{type:"enclose",mode:o.mode,label:l,backgroundColor:h,body:f}},htmlBuilder:X6n,mathmlBuilder:Q6n});Ta({type:"enclose",names:["\\fcolorbox"],numArgs:3,allowedInText:!0,argTypes:["color","color","hbox"],handler(t,r,a){var o=t.parser,l=t.funcName,h=Kl(r[0],"color-token").color,f=Kl(r[1],"color-token").color,p=r[2];return{type:"enclose",mode:o.mode,label:l,backgroundColor:f,borderColor:h,body:p}}});Ta({type:"enclose",names:["\\fbox"],numArgs:1,argTypes:["hbox"],allowedInText:!0,handler(t,r){var a=t.parser;return{type:"enclose",mode:a.mode,label:"\\fbox",body:r[0]}}});Ta({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],numArgs:1,handler(t,r){var a=t.parser,o=t.funcName,l=r[0];return{type:"enclose",mode:a.mode,label:o,body:l}}});Ta({type:"enclose",names:["\\sout"],numArgs:1,allowedInText:!0,handler(t,r){var a=t.parser,o=t.funcName;a.mode==="math"&&Yv({strict:a.settings.strict,errorCode:"mathVsSout",errorMsg:"LaTeX's \\sout works only in text mode",report:!0});var l=r[0];return{type:"enclose",mode:a.mode,label:o,body:l}}});Ta({type:"enclose",names:["\\angl"],numArgs:1,argTypes:["hbox"],allowedInText:!1,handler(t,r){var a=t.parser;return{type:"enclose",mode:a.mode,label:"\\angl",body:r[0]}}});jor={};i(BE,"defineEnvironment");zor={};i(yt,"defineMacro");Wv=class t{static{i(this,"SourceLocation")}constructor(r,a,o){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=r,this.start=a,this.end=o}static range(r,a){return a?!r||!r.loc||!a.loc||r.loc.lexer!==a.loc.lexer?null:new t(r.loc.lexer,r.loc.start,a.loc.end):r&&r.loc}},Nw=class t{static{i(this,"Token")}constructor(r,a){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=r,this.loc=a}range(r,a){return new t(a,Wv.range(this,r))}};i(Ysr,"getHLines");nbe=i(t=>{var r=t.parser.settings;if(!r.displayMode)throw new Oi("{"+t.envName+"} can be used only in display mode.")},"validateAmsEnvironmentContext"),J6n=new Set(["gather","gather*"]);i(_qe,"getAutoTag");i(dL,"parseArray");i(Mqe,"dCellStyle");FE=i(function(r,a){var o,l,h=r.body.length,f=r.hLinesBeforeRow,p=0,m=new Array(h),b=[],v=Math.max(a.fontMetrics().arrayRuleWidth,a.minRuleThickness),T=1/a.fontMetrics().ptPerEm,C=5*T;if(r.colSeparationType&&r.colSeparationType==="small"){var E=a.havingStyle(Wo.SCRIPT).sizeMultiplier;C=.2778*(E/a.sizeMultiplier)}var S=r.colSeparationType==="CD"?_d({number:3,unit:"ex"},a):12*T,R=3*T,L=r.arraystretch*S,_=.7*L,M=.3*L,I=0;function F(se){for(var ke=0;ke0&&(I+=.25),b.push({pos:I,isDashed:se[ke]})}for(i(F,"setHLinePos"),F(f[0]),o=0;o0&&(J+=M,Gse))for(o=0;o=p)){var De=void 0;if(l>0||r.hskipBeforeAndAfter){var qe,Ue;De=(qe=(Ue=de)==null?void 0:Ue.pregap)!=null?qe:C,De!==0&&(Q=Ri(["arraycolsep"],[]),Q.style.width=Ki(De),Z.push(Q))}var We=[];for(o=0;o0){for(var bt=Wj("katex-hline",a,v),Me=Wj("katex-hdashline",a,v),Fe=[{type:"elem",elem:ft,shift:0}];b.length>0;){var je=b.pop(),He=je.pos-H;je.isDashed?Fe.push({type:"elem",elem:Me,shift:He}):Fe.push({type:"elem",elem:bt,shift:He})}ft=wu({positionType:"individualShift",children:Fe})}if(te.length===0)return Ri(["mord"],[ft],a);var nt=wu({positionType:"individualShift",children:te}),ze=Ri(["katex-tag"],[nt],a);return Y6([ft,ze])},"htmlBuilder"),Z6n={c:"center ",l:"left ",r:"right "},$E=i(function(r,a){for(var o=[],l=new $i("mtd",[],["mtr-glue"]),h=new $i("mtd",[],["mml-eqn-num"]),f=0;f0){var S=r.cols,R="",L=!1,_=0,M=S.length;S[0].type==="separator"&&(C+="top ",_=1),S[S.length-1].type==="separator"&&(C+="bottom ",M-=1);for(var I=_;I0?"left ":"",C+=Y[Y.length-1].length>0?"right ":"";for(var K=1;K0&&T&&(S=1),o[C]={type:"align",align:E,pregap:S,postgap:0}}return h.colSeparationType=T?"align":"alignat",h},"alignedHandler");BE({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,r){var a=ebe(r[0]),o=a?[r[0]]:Kl(r[0],"ordgroup").body,l=o.map(function(f){var p=Zye(f),m=p.text;if("lcr".includes(m))return{type:"align",align:m};if(m==="|")return{type:"separator",separator:"|"};if(m===":")return{type:"separator",separator:":"};throw new Oi("Unknown column alignment: "+m,f)}),h={cols:l,hskipBeforeAndAfter:!0,maxNumCols:l.length};return dL(t.parser,h,Mqe(t.envName))},htmlBuilder:FE,mathmlBuilder:$E});BE({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(t){var r={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")],a="c",o={hskipBeforeAndAfter:!1,cols:[{type:"align",align:a}]};if(t.envName.charAt(t.envName.length-1)==="*"){var l=t.parser;if(l.consumeSpaces(),l.fetch().text==="["){if(l.consume(),l.consumeSpaces(),a=l.fetch().text,!"lcr".includes(a))throw new Oi("Expected l or c or r",l.nextToken);l.consume(),l.consumeSpaces(),l.expect("]"),l.consume(),o.cols=[{type:"align",align:a}]}}var h=dL(t.parser,o,Mqe(t.envName)),f=Math.max(0,...h.body.map(p=>p.length));return h.cols=new Array(f).fill({type:"align",align:a}),r?{type:"leftright",mode:t.mode,body:[h],left:r[0],right:r[1],rightColor:void 0}:h},htmlBuilder:FE,mathmlBuilder:$E});BE({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){var r={arraystretch:.5},a=dL(t.parser,r,"script");return a.colSeparationType="small",a},htmlBuilder:FE,mathmlBuilder:$E});BE({type:"array",names:["subarray"],props:{numArgs:1},handler(t,r){var a=ebe(r[0]),o=a?[r[0]]:Kl(r[0],"ordgroup").body,l=o.map(function(p){var m=Zye(p),b=m.text;if("lc".includes(b))return{type:"align",align:b};throw new Oi("Unknown column alignment: "+b,p)});if(l.length>1)throw new Oi("{subarray} can contain only one column");var h={cols:l,hskipBeforeAndAfter:!1,arraystretch:.5},f=dL(t.parser,h,"script");if(f.body.length>0&&f.body[0].length>1)throw new Oi("{subarray} can contain only one column");return f},htmlBuilder:FE,mathmlBuilder:$E});BE({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(t){var r={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},a=dL(t.parser,r,Mqe(t.envName));return{type:"leftright",mode:t.mode,body:[a],left:t.envName.includes("r")?".":"\\{",right:t.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:FE,mathmlBuilder:$E});BE({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Uor,htmlBuilder:FE,mathmlBuilder:$E});BE({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){J6n.has(t.envName)&&nbe(t);var r={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:_qe(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return dL(t.parser,r,"display")},htmlBuilder:FE,mathmlBuilder:$E});BE({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Uor,htmlBuilder:FE,mathmlBuilder:$E});BE({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){nbe(t);var r={autoTag:_qe(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return dL(t.parser,r,"display")},htmlBuilder:FE,mathmlBuilder:$E});BE({type:"array",names:["CD"],props:{numArgs:0},handler(t){return nbe(t),P6n(t.parser)},htmlBuilder:FE,mathmlBuilder:$E});yt("\\nonumber","\\gdef\\@eqnsw{0}");yt("\\notag","\\nonumber");Ta({type:"text",names:["\\hline","\\hdashline"],numArgs:0,allowedInText:!0,allowedInMath:!0,handler(t,r){throw new Oi(t.funcName+" valid only within array environment")}});Ksr=jor;Ta({type:"environment",names:["\\begin","\\end"],numArgs:1,argTypes:["text"],handler(t,r){var a=t.parser,o=t.funcName,l=r[0];if(l.type!=="ordgroup")throw new Oi("Invalid environment name",l);var h=Lqe(l,"Environment name should contain only text characters and spaces",!0);if(o==="\\begin"){if(!Object.prototype.hasOwnProperty.call(Ksr,h))throw new Oi("No such environment: "+h,l);var f=Ksr[h],p=a.parseArguments("\\begin{"+h+"}",f),m=p.args,b=p.optArgs,v={mode:a.mode,envName:h,parser:a},T=f.handler(v,m,b);a.expect("\\end",!1);var C=a.nextToken,E=Kl(a.parseFunction(),"environment");if(E.name!==h)throw new Oi("Mismatch: \\begin{"+h+"} matched by \\end{"+E.name+"}",C);return T}return{type:"environment",mode:a.mode,name:h,nameGroup:l}}});eAn=i((t,r)=>{var a=t.font,o=r.withFont(a);return au(t.body,o)},"htmlBuilder$5"),tAn=i((t,r)=>{var a=t.font,o=r.withFont(a);return vh(t.body,o)},"mathmlBuilder$4"),Xsr={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak"};Ta({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],numArgs:1,allowedInArgument:!0,handler:i((t,r)=>{var a=t.parser,o=t.funcName,l=Eee(r[0]),h=o in Xsr?Xsr[o]:o;return{type:"font",mode:a.mode,font:h.slice(1),body:l}},"handler"),htmlBuilder:eAn,mathmlBuilder:tAn});Ta({type:"mclass",names:["\\boldsymbol","\\bm"],numArgs:1,handler:i((t,r)=>{var a=t.parser,o=r[0];return{type:"mclass",mode:a.mode,mclass:tbe(o),body:[{type:"font",mode:a.mode,font:"boldsymbol",body:o}],isCharacterBox:q6(o)}},"handler")});Ta({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],numArgs:0,allowedInText:!0,handler:i((t,r)=>{var a=t.parser,o=t.funcName,l=t.breakOnTokenText,h=a.mode,f=a.parseExpression(!0,l);return{type:"font",mode:h,font:"math"+o.slice(1),body:{type:"ordgroup",mode:a.mode,body:f}}},"handler")});rAn=i((t,r)=>{var a=r.style,o=a.fracNum(),l=a.fracDen(),h;h=r.havingStyle(o);var f=au(t.numer,h,r);if(t.continued){var p=8.5/r.fontMetrics().ptPerEm,m=3.5/r.fontMetrics().ptPerEm;f.height=f.height0?S=3*C:S=7*C,R=r.fontMetrics().denom1):(T>0?(E=r.fontMetrics().num2,S=C):(E=r.fontMetrics().num3,S=3*C),R=r.fontMetrics().denom2);var L;if(v){var M=r.fontMetrics().axisHeight;E-f.depth-(M+.5*T){var a=new $i("mfrac",[vh(t.numer,r),vh(t.denom,r)]);if(!t.hasBarLine)a.setAttribute("linethickness","0px");else if(t.barSize){var o=_d(t.barSize,r);a.setAttribute("linethickness",Ki(o))}if(t.leftDelim!=null||t.rightDelim!=null){var l=[];if(t.leftDelim!=null){var h=new $i("mo",[new hp(t.leftDelim.replace("\\",""))]);h.setAttribute("fence","true"),l.push(h)}if(l.push(a),t.rightDelim!=null){var f=new $i("mo",[new hp(t.rightDelim.replace("\\",""))]);f.setAttribute("fence","true"),l.push(f)}return Aqe(l)}return a},"mathmlBuilder$3"),Vor=i((t,r)=>{if(!r)return t;var a={type:"styling",mode:t.mode,style:r,body:[t]};return a},"wrapWithStyle");Ta({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],numArgs:2,allowedInArgument:!0,handler:i((t,r)=>{var a=t.parser,o=t.funcName,l=r[0],h=r[1],f,p=null,m=null;switch(o){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":f=!0;break;case"\\\\atopfrac":f=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":f=!1,p="(",m=")";break;case"\\\\bracefrac":f=!1,p="\\{",m="\\}";break;case"\\\\brackfrac":f=!1,p="[",m="]";break;default:throw new Error("Unrecognized genfrac command")}var b=o==="\\cfrac",v=null;return b||o.startsWith("\\d")?v="display":o.startsWith("\\t")&&(v="text"),Vor({type:"genfrac",mode:a.mode,numer:l,denom:h,continued:b,hasBarLine:f,leftDelim:p,rightDelim:m,barSize:null},v)},"handler"),htmlBuilder:rAn,mathmlBuilder:nAn});Ta({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],numArgs:0,infix:!0,handler(t){var r=t.parser,a=t.funcName,o=t.token,l;switch(a){case"\\over":l="\\frac";break;case"\\choose":l="\\binom";break;case"\\atop":l="\\\\atopfrac";break;case"\\brace":l="\\\\bracefrac";break;case"\\brack":l="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:l,token:o}}});Qsr=["display","text","script","scriptscript"],Jsr=i(function(r){var a=null;return r.length>0&&(a=r,a=a==="."?null:a),a},"delimFromValue");Ta({type:"genfrac",names:["\\genfrac"],numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"],handler(t,r){var a=t.parser,o=r[4],l=r[5],h=Eee(r[0]),f=h.type==="atom"&&h.family==="open"?Jsr(h.text):null,p=Eee(r[1]),m=p.type==="atom"&&p.family==="close"?Jsr(p.text):null,b=Kl(r[2],"size"),v,T=null;b.isBlank?v=!0:(T=b.value,v=T.number>0);var C=null,E=r[3];if(E.type==="ordgroup"){if(E.body.length>0){var S=Kl(E.body[0],"textord");C=Qsr[Number(S.text)]}}else E=Kl(E,"textord"),C=Qsr[Number(E.text)];return Vor({type:"genfrac",mode:a.mode,numer:o,denom:l,continued:!1,hasBarLine:v,barSize:T,leftDelim:f,rightDelim:m},C)}});Ta({type:"infix",names:["\\above"],numArgs:1,argTypes:["size"],infix:!0,handler(t,r){var a=t.parser;t.funcName;var o=t.token;return{type:"infix",mode:a.mode,replaceWith:"\\\\abovefrac",size:Kl(r[0],"size").value,token:o}}});Ta({type:"genfrac",names:["\\\\abovefrac"],numArgs:3,argTypes:["math","size","math"],handler:i((t,r)=>{var a=t.parser;t.funcName;var o=r[0],l=Kl(r[1],"infix").size;if(!l)throw new Error("\\\\abovefrac expected size, but got "+String(l));var h=r[2],f=l.number>0;return{type:"genfrac",mode:a.mode,numer:o,denom:h,continued:!1,hasBarLine:f,barSize:l,leftDelim:null,rightDelim:null}},"handler")});Hor=i((t,r)=>{var a=r.style,o,l;t.type==="supsub"?(o=t.sup?au(t.sup,r.havingStyle(a.sup()),r):au(t.sub,r.havingStyle(a.sub()),r),l=Kl(t.base,"horizBrace")):l=Kl(t,"horizBrace");var h=au(l.base,r.havingBaseStyle(Wo.DISPLAY)),f=Jye(l,r),p;if(l.isOver?p=wu({positionType:"firstBaseline",children:[{type:"elem",elem:h},{type:"kern",size:.1},{type:"elem",elem:f,wrapperClasses:["svg-align"]}]}):p=wu({positionType:"bottom",positionData:h.depth+.1+f.height,children:[{type:"elem",elem:f,wrapperClasses:["svg-align"]},{type:"kern",size:.1},{type:"elem",elem:h}]}),o){var m=Ri(["minner",l.isOver?"mover":"munder"],[p],r);l.isOver?p=wu({positionType:"firstBaseline",children:[{type:"elem",elem:m},{type:"kern",size:.2},{type:"elem",elem:o}]}):p=wu({positionType:"bottom",positionData:m.depth+.2+o.height+o.depth,children:[{type:"elem",elem:o},{type:"kern",size:.2},{type:"elem",elem:m}]})}return Ri(["minner",l.isOver?"mover":"munder"],[p],r)},"htmlBuilder$3"),iAn=i((t,r)=>{var a=Qye(t.label);return new $i(t.isOver?"mover":"munder",[vh(t.base,r),a])},"mathmlBuilder$2");Ta({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],numArgs:1,handler(t,r){var a=t.parser,o=t.funcName;return{type:"horizBrace",mode:a.mode,label:o,isOver:o.includes("\\over"),base:r[0]}},htmlBuilder:Hor,mathmlBuilder:iAn});Ta({type:"href",names:["\\href"],numArgs:2,argTypes:["url","original"],allowedInText:!0,handler:i((t,r)=>{var a=t.parser,o=r[1],l=Kl(r[0],"url").url;return a.settings.isTrusted({command:"\\href",url:l})?{type:"href",mode:a.mode,href:l,body:Ag(o)}:a.formatUnsupportedCmd("\\href")},"handler"),htmlBuilder:i((t,r)=>{var a=p0(t.body,r,!1);return s6n(t.href,[],a,r)},"htmlBuilder"),mathmlBuilder:i((t,r)=>{var a=fL(t.body,r);return a instanceof $i||(a=new $i("mrow",[a])),a.setAttribute("href",t.href),a},"mathmlBuilder")});Ta({type:"href",names:["\\url"],numArgs:1,argTypes:["url"],allowedInText:!0,handler:i((t,r)=>{var a=t.parser,o=Kl(r[0],"url").url;if(!a.settings.isTrusted({command:"\\url",url:o}))return a.formatUnsupportedCmd("\\url");for(var l=[],h=0;h{var a=t.parser,o=t.funcName;t.token;var l=Kl(r[0],"raw").string,h=r[1];a.settings.strict&&Yv({strict:a.settings.strict,errorCode:"htmlExtension",errorMsg:"HTML extension is disabled on strict mode",report:!0});var f,p={};switch(o){case"\\htmlClass":p.class=l,f={command:"\\htmlClass",class:l};break;case"\\htmlId":p.id=l,f={command:"\\htmlId",id:l};break;case"\\htmlStyle":p.style=l,f={command:"\\htmlStyle",style:l};break;case"\\htmlData":{for(var m="{,}",b=[],v="",T=0;T{var a=p0(t.body,r,!1),o=["enclosing"];t.attributes.class&&o.push(...t.attributes.class.trim().split(/\s+/));var l=Ri(o,a,r);for(var h of Object.entries(t.attributes)){var f=h[0],p=h[1];f!=="class"&&l.setAttribute(f,p)}return l},"htmlBuilder"),mathmlBuilder:i((t,r)=>fL(t.body,r),"mathmlBuilder")});Ta({type:"htmlmathml",names:["\\html@mathml"],numArgs:2,allowedInArgument:!0,allowedInText:!0,handler:i((t,r)=>{var a=t.parser;return{type:"htmlmathml",mode:a.mode,html:Ag(r[0]),mathml:Ag(r[1])}},"handler"),htmlBuilder:i((t,r)=>{var a=p0(t.html,r,!1);return Y6(a)},"htmlBuilder"),mathmlBuilder:i((t,r)=>fL(t.mathml,r),"mathmlBuilder")});eqe=i(function(r){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(r))return{number:+r,unit:"bp"};var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r);if(!a)throw new Oi("Invalid size: '"+r+"' in \\includegraphics");var o={number:+(a[1]+a[2]),unit:a[3]};if(!por(o))throw new Oi("Invalid unit: '"+o.unit+"' in \\includegraphics.");return o},"sizeData");Ta({type:"includegraphics",names:["\\includegraphics"],numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1,handler:i((t,r,a)=>{var o=t.parser,l={number:0,unit:"em"},h={number:.9,unit:"em"},f={number:0,unit:"em"},p="";if(a[0])for(var m=Kl(a[0],"raw").string,b=m.split(","),v=0;v{var a=_d(t.height,r),o=0;t.totalheight.number>0&&(o=_d(t.totalheight,r)-a);var l=0;t.width.number>0&&(l=_d(t.width,r));var h={height:Ki(a+o)};l>0&&(h.width=Ki(l)),o>0&&(h.verticalAlign=Ki(-o));var f=new iqe(t.src,t.alt,h);return f.height=a,f.depth=o,f},"htmlBuilder"),mathmlBuilder:i((t,r)=>{var a=new $i("mglyph",[]);a.setAttribute("alt",t.alt);var o=_d(t.height,r),l=0;if(t.totalheight.number>0&&(l=_d(t.totalheight,r)-o,a.setAttribute("valign",Ki(-l))),a.setAttribute("height",Ki(o+l)),t.width.number>0){var h=_d(t.width,r);a.setAttribute("width",Ki(h))}return a.setAttribute("src",t.src),a},"mathmlBuilder")});Ta({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0,handler(t,r){var a=t.parser,o=t.funcName,l=Kl(r[0],"size");if(a.settings.strict){var h=o[1]==="m",f=l.value.unit==="mu";h?(f||Yv({strict:a.settings.strict,errorCode:"mathVsTextUnits",errorMsg:"LaTeX's "+o+" supports only mu units, "+("not "+l.value.unit+" units"),report:!0}),a.mode!=="math"&&Yv({strict:a.settings.strict,errorCode:"mathVsTextUnits",errorMsg:"LaTeX's "+o+" works only in math mode",report:!0})):f&&Yv({strict:a.settings.strict,errorCode:"mathVsTextUnits",errorMsg:"LaTeX's "+o+" doesn't support mu units",report:!0})}return{type:"kern",mode:a.mode,dimension:l.value}},htmlBuilder(t,r){return xor(t.dimension,r)},mathmlBuilder(t,r){var a=_d(t.dimension,r);return new Hye(a)}});Ta({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],numArgs:1,allowedInText:!0,handler:i((t,r)=>{var a=t.parser,o=t.funcName,l=r[0];return{type:"lap",mode:a.mode,alignment:o.slice(5),body:l}},"handler"),htmlBuilder:i((t,r)=>{var a;t.alignment==="clap"?(a=Ri([],[au(t.body,r)]),a=Ri(["katex-inner"],[a],r)):a=Ri(["katex-inner"],[au(t.body,r)]);var o=Ri(["katex-fix"],[]),l=Ri([t.alignment],[a,o],r),h=Ri(["katex-strut"]);return h.style.height=Ki(l.height+l.depth),l.depth&&(h.style.verticalAlign=Ki(-l.depth)),l.children.unshift(h),l=Ri(["katex-thinbox"],[l],r),Ri(["mord","katex-vbox"],[l],r)},"htmlBuilder"),mathmlBuilder:i((t,r)=>{var a=new $i("mpadded",[vh(t.body,r)]);if(t.alignment!=="rlap"){var o=t.alignment==="llap"?"-1":"-0.5";a.setAttribute("lspace",o+"width")}return a.setAttribute("width","0px"),a},"mathmlBuilder")});Ta({type:"styling",names:["\\(","$"],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(t,r){var a=t.funcName,o=t.parser,l=o.mode;o.switchMode("math");var h=a==="\\("?"\\)":"$",f=o.parseExpression(!1,h);return o.expect(h),o.switchMode(l),{type:"styling",mode:o.mode,style:"text",resetFont:!0,body:f}}});Ta({type:"text",names:["\\)","\\]"],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(t,r){throw new Oi("Mismatched "+t.funcName)}});Zsr=i((t,r)=>{switch(r.style.size){case Wo.DISPLAY.size:return t.display;case Wo.TEXT.size:return t.text;case Wo.SCRIPT.size:return t.script;case Wo.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}},"chooseMathStyle");Ta({type:"mathchoice",names:["\\mathchoice"],numArgs:4,primitive:!0,handler:i((t,r)=>{var a=t.parser;return{type:"mathchoice",mode:a.mode,display:Ag(r[0]),text:Ag(r[1]),script:Ag(r[2]),scriptscript:Ag(r[3])}},"handler"),htmlBuilder:i((t,r)=>{var a=Zsr(t,r),o=p0(a,r,!1);return Y6(o)},"htmlBuilder"),mathmlBuilder:i((t,r)=>{var a=Zsr(t,r);return fL(a,r)},"mathmlBuilder")});qor=i((t,r,a,o,l,h,f)=>{t=Ri([],[t]);var p=a&&q6(a),m,b;if(r){var v=au(r,o.havingStyle(l.sup()),o);b={elem:v,kern:Math.max(o.fontMetrics().bigOpSpacing1,o.fontMetrics().bigOpSpacing3-v.depth)}}if(a){var T=au(a,o.havingStyle(l.sub()),o);m={elem:T,kern:Math.max(o.fontMetrics().bigOpSpacing2,o.fontMetrics().bigOpSpacing4-T.height)}}var C;if(b&&m){var E=o.fontMetrics().bigOpSpacing5+m.elem.height+m.elem.depth+m.kern+t.depth+f;C=wu({positionType:"bottom",positionData:E,children:[{type:"kern",size:o.fontMetrics().bigOpSpacing5},{type:"elem",elem:m.elem,marginLeft:Ki(-h)},{type:"kern",size:m.kern},{type:"elem",elem:t},{type:"kern",size:b.kern},{type:"elem",elem:b.elem,marginLeft:Ki(h)},{type:"kern",size:o.fontMetrics().bigOpSpacing5}]})}else if(m){var S=t.height-f;C=wu({positionType:"top",positionData:S,children:[{type:"kern",size:o.fontMetrics().bigOpSpacing5},{type:"elem",elem:m.elem,marginLeft:Ki(-h)},{type:"kern",size:m.kern},{type:"elem",elem:t}]})}else if(b){var R=t.depth+f;C=wu({positionType:"bottom",positionData:R,children:[{type:"elem",elem:t},{type:"kern",size:b.kern},{type:"elem",elem:b.elem,marginLeft:Ki(h)},{type:"kern",size:o.fontMetrics().bigOpSpacing5}]})}else return t;var L=[C];if(m&&h!==0&&!p){var _=Ri(["mspace"],[],o);_.style.marginRight=Ki(h),L.unshift(_)}return Ri(["mop","op-limits"],L,o)},"assembleSupSub"),Wor=new Set(["\\smallint"]),Yor=i((t,r)=>{var a,o,l=!1,h;t.type==="supsub"?(a=t.sup,o=t.sub,h=Kl(t.base,"op"),l=!0):h=Kl(t,"op");var f=r.style,p=!1;f.size===Wo.DISPLAY.size&&h.symbol&&!Wor.has(h.name)&&(p=!0);var m,b;if(h.symbol){var v=p?"Size2-Regular":"Size1-Regular",T="";if((h.name==="\\oiint"||h.name==="\\oiiint")&&(T=h.name.slice(1),h.name=T==="oiint"?"\\iint":"\\iiint"),m=gb(h.name,v,"math",r,["mop","op-symbol",p?"large-op":"small-op"]),b=m.italic,T.length>0){var C=kor(T+"Size"+(p?"2":"1"),r);m=wu({positionType:"individualShift",children:[{type:"elem",elem:m,shift:0},{type:"elem",elem:C,shift:p?.08:0}]}),h.name="\\"+T,m.classes.unshift("mop"),m.italic=b}}else if(h.body){var E=p0(h.body,r,!0);E.length===1&&E[0]instanceof yb?(m=E[0],m.classes[0]="mop"):m=Ri(["mop"],E,r)}else{for(var S=[],R=1;R{var a;if(t.symbol)a=new $i("mo",[jT(t.name,t.mode)]),Wor.has(t.name)&&a.setAttribute("largeop","false");else if(t.body)a=new $i("mo",Pw(t.body,r));else{a=new $i("mi",[new hp(t.name.slice(1))]);var o=new $i("mo",[jT("\u2061","text")]);t.parentIsSupSub?a=new $i("mrow",[a,o]):a=Sor([a,o])}return a},"mathmlBuilder$1"),sAn={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Ta({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],numArgs:0,handler:i((t,r)=>{var a=t.parser,o=t.funcName,l=o;return l.length===1&&(l=sAn[l]),{type:"op",mode:a.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:l}},"handler"),htmlBuilder:Yor,mathmlBuilder:aAn});Ta({type:"op",names:["\\mathop"],numArgs:1,primitive:!0,handler:i((t,r)=>{var a=t.parser,o=r[0];return{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ag(o)}},"handler")});oAn={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Ta({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],numArgs:0,handler(t){var r=t.parser,a=t.funcName;return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:a}}});Ta({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],numArgs:0,handler(t){var r=t.parser,a=t.funcName;return{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:a}}});Ta({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],numArgs:0,allowedInArgument:!0,handler(t){var r=t.parser,a=t.funcName,o=a;return o.length===1&&(o=oAn[o]),{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:o}}});Kor=i((t,r)=>{var a,o,l=!1,h;t.type==="supsub"?(a=t.sup,o=t.sub,h=Kl(t.base,"operatorname"),l=!0):h=Kl(t,"operatorname");var f;if(h.body.length>0){for(var p=h.body.map(T=>{var C="text"in T?T.text:void 0;return typeof C=="string"?{type:"textord",mode:T.mode,text:C}:T}),m=p0(p,r.withFont("mathrm"),!0),b=0;b{for(var a=Pw(t.body,r.withFont("mathrm")),o=!0,l=0;lv.toText()).join("");a=[new hp(p)]}var m=new $i("mi",a);m.setAttribute("mathvariant","normal");var b=new $i("mo",[jT("\u2061","text")]);return t.parentIsSupSub?new $i("mrow",[m,b]):Sor([m,b])},"mathmlBuilder");Ta({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],numArgs:1,handler:i((t,r)=>{var a=t.parser,o=t.funcName,l=r[0];return{type:"operatorname",mode:a.mode,body:Ag(l),alwaysHandleSupSub:o==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},"handler"),htmlBuilder:Kor,mathmlBuilder:lAn});yt("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");xN({type:"ordgroup",htmlBuilder(t,r){return t.semisimple?Y6(p0(t.body,r,!1)):Ri(["mord"],p0(t.body,r,!0),r)},mathmlBuilder(t,r){return fL(t.body,r,!0)}});Ta({type:"overline",names:["\\overline"],numArgs:1,handler(t,r){var a=t.parser,o=r[0];return{type:"overline",mode:a.mode,body:o}},htmlBuilder(t,r){var a=au(t.body,r.havingCrampedStyle()),o=Wj("overline-line",r),l=r.fontMetrics().defaultRuleThickness,h=wu({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:3*l},{type:"elem",elem:o},{type:"kern",size:l}]});return Ri(["mord","katex-overline"],[h],r)},mathmlBuilder(t,r){var a=new $i("mo",[new hp("\u203E")]);a.setAttribute("stretchy","true");var o=new $i("mover",[vh(t.body,r),a]);return o.setAttribute("accent","true"),o}});Ta({type:"phantom",names:["\\phantom"],numArgs:1,allowedInText:!0,handler:i((t,r)=>{var a=t.parser,o=r[0];return{type:"phantom",mode:a.mode,body:Ag(o)}},"handler"),htmlBuilder:i((t,r)=>{var a=p0(t.body,r.withPhantom(),!1);return Y6(a)},"htmlBuilder"),mathmlBuilder:i((t,r)=>{var a=Pw(t.body,r);return new $i("mphantom",a)},"mathmlBuilder")});yt("\\hphantom","\\smash{\\phantom{#1}}");Ta({type:"vphantom",names:["\\vphantom"],numArgs:1,allowedInText:!0,handler:i((t,r)=>{var a=t.parser,o=r[0];return{type:"vphantom",mode:a.mode,body:o}},"handler"),htmlBuilder:i((t,r)=>{var a=Ri(["katex-inner"],[au(t.body,r.withPhantom())]),o=Ri(["katex-fix"],[]);return Ri(["mord","rlap"],[a,o],r)},"htmlBuilder"),mathmlBuilder:i((t,r)=>{var a=Pw(Ag(t.body),r),o=new $i("mphantom",a),l=new $i("mpadded",[o]);return l.setAttribute("width","0px"),l},"mathmlBuilder")});Ta({type:"raisebox",names:["\\raisebox"],numArgs:2,argTypes:["size","hbox"],allowedInText:!0,handler(t,r){var a=t.parser,o=Kl(r[0],"size").value,l=r[1];return{type:"raisebox",mode:a.mode,dy:o,body:l}},htmlBuilder(t,r){var a=au(t.body,r),o=_d(t.dy,r);return wu({positionType:"shift",positionData:-o,children:[{type:"elem",elem:a}]})},mathmlBuilder(t,r){var a=new $i("mpadded",[vh(t.body,r)]),o=t.dy.number+t.dy.unit;return a.setAttribute("voffset",o),a}});Xor=i((t,r)=>{var a=t.parser;return{type:"reflectbox",mode:a.mode,body:r[0]}},"handler");Ta({type:"reflectbox",names:["\\reflectbox"],numArgs:1,argTypes:["hbox"],allowedInText:!0,handler:Xor,htmlBuilder(t,r){return Ri(["mord","reflectbox"],[au(t.body,r)],r)},mathmlBuilder(t,r){return vh(t.body,r)}});Ta({type:"reflectbox",names:["\\mathreflectbox"],numArgs:1,argTypes:["math"],handler:Xor});Ta({type:"internal",names:["\\relax"],numArgs:0,allowedInText:!0,allowedInArgument:!0,handler(t){var r=t.parser;return{type:"internal",mode:r.mode}}});Ta({type:"rule",names:["\\rule"],numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"],handler(t,r,a){var o=t.parser,l=a[0],h=Kl(r[0],"size"),f=Kl(r[1],"size");return{type:"rule",mode:o.mode,shift:l&&Kl(l,"size").value,width:h.value,height:f.value}},htmlBuilder(t,r){var a=Ri(["mord","katex-rule"],[],r),o=_d(t.width,r),l=_d(t.height,r),h=t.shift?_d(t.shift,r):0;return a.style.borderRightWidth=Ki(o),a.style.borderTopWidth=Ki(l),a.style.bottom=Ki(h),a.width=o,a.height=l+h,a.depth=-h,a.maxFontSize=l*1.125*r.sizeMultiplier,a},mathmlBuilder(t,r){var a=_d(t.width,r),o=_d(t.height,r),l=t.shift?_d(t.shift,r):0,h=r.color&&r.getColor()||"black",f=new $i("mspace");f.setAttribute("mathbackground",h),f.setAttribute("width",Ki(a)),f.setAttribute("height",Ki(o));var p=new $i("mpadded",[f]);return l>=0?p.setAttribute("height",Ki(l)):(p.setAttribute("height",Ki(l)),p.setAttribute("depth",Ki(-l))),p.setAttribute("voffset",Ki(l)),p}});i(Qor,"sizingGroup");eor=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],cAn=i((t,r)=>{var a=r.havingSize(t.size);return Qor(t.body,a,r)},"htmlBuilder");Ta({type:"sizing",names:eor,numArgs:0,allowedInText:!0,handler:i((t,r)=>{var a=t.breakOnTokenText,o=t.funcName,l=t.parser,h=l.parseExpression(!1,a);return{type:"sizing",mode:l.mode,size:eor.indexOf(o)+1,body:h}},"handler"),htmlBuilder:cAn,mathmlBuilder:i((t,r)=>{var a=r.havingSize(t.size),o=Pw(t.body,a),l=new $i("mstyle",o);return l.setAttribute("mathsize",Ki(a.sizeMultiplier)),l},"mathmlBuilder")});Ta({type:"smash",names:["\\smash"],numArgs:1,numOptionalArgs:1,allowedInText:!0,handler:i((t,r,a)=>{var o=t.parser,l=!1,h=!1,f=a[0]&&Kl(a[0],"ordgroup");if(f)for(var p,m=0;m{var a=Ri([],[au(t.body,r)]);if(!t.smashHeight&&!t.smashDepth)return a;if(t.smashHeight&&(a.height=0),t.smashDepth&&(a.depth=0),t.smashHeight&&t.smashDepth)return Ri(["mord","katex-smash"],[a],r);if(a.children)for(var o=0;o{var a=new $i("mpadded",[vh(t.body,r)]);return t.smashHeight&&a.setAttribute("height","0px"),t.smashDepth&&a.setAttribute("depth","0px"),a},"mathmlBuilder")});Ta({type:"sqrt",names:["\\sqrt"],numArgs:1,numOptionalArgs:1,handler(t,r,a){var o=t.parser,l=a[0],h=r[0];return{type:"sqrt",mode:o.mode,body:h,index:l}},htmlBuilder(t,r){var a=au(t.body,r.havingCrampedStyle());a.height===0&&(a.height=r.fontMetrics().xHeight),a=Yj(a,r);var o=r.fontMetrics(),l=o.defaultRuleThickness,h=l;r.style.ida.height+a.depth+f&&(f=(f+C-a.height-a.depth)/2);var E=b.height-a.height-f-v;a.style.paddingLeft=Ki(T);var S=wu({positionType:"firstBaseline",children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:-(a.height+E)},{type:"elem",elem:b},{type:"kern",size:v}]});if(t.index){var R=r.havingStyle(Wo.SCRIPTSCRIPT),L=au(t.index,R,r),_=.6*(S.height-S.depth),M=wu({positionType:"shift",positionData:-_,children:[{type:"elem",elem:L}]}),I=Ri(["katex-root"],[M]);return Ri(["mord","sqrt"],[I,S],r)}else return Ri(["mord","sqrt"],[S],r)},mathmlBuilder(t,r){var a=t.body,o=t.index;return o?new $i("mroot",[vh(a,r),vh(o,r)]):new $i("msqrt",[vh(a,r)])}});bqe={display:Wo.DISPLAY,text:Wo.TEXT,script:Wo.SCRIPT,scriptscript:Wo.SCRIPTSCRIPT};i(uAn,"isStyleStr");Ta({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],numArgs:0,allowedInText:!0,primitive:!0,handler(t,r){var a=t.breakOnTokenText,o=t.funcName,l=t.parser,h=l.parseExpression(!0,a),f=o.slice(1,o.length-5);if(!uAn(f))throw new Error("Unknown style: "+f);return{type:"styling",mode:l.mode,style:f,body:h}},htmlBuilder(t,r){var a=bqe[t.style],o=r.havingStyle(a);return t.resetFont&&(o=o.withFont("")),Qor(t.body,o,r)},mathmlBuilder(t,r){var a=bqe[t.style],o=r.havingStyle(a);t.resetFont&&(o=o.withFont(""));var l=Pw(t.body,o),h=new $i("mstyle",l),f={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},p=f[t.style];return h.setAttribute("scriptlevel",p[0]),h.setAttribute("displaystyle",p[1]),h}});hAn=i(function(r,a){var o=r.base;if(o)if(o.type==="op"){var l=o.limits&&(a.style.size===Wo.DISPLAY.size||o.alwaysHandleSupSub);return l?Yor:null}else if(o.type==="operatorname"){var h=o.alwaysHandleSupSub&&(a.style.size===Wo.DISPLAY.size||o.limits);return h?Kor:null}else{if(o.type==="accent")return q6(o.base)?Dor:null;if(o.type==="horizBrace"){var f=!r.sub;return f===o.isOver?Hor:null}else return null}else return null},"htmlBuilderDelegate");xN({type:"supsub",htmlBuilder(t,r){var a=hAn(t,r);if(a)return a(t,r);var o=t.base,l=t.sup,h=t.sub,f=au(o,r),p,m,b=r.fontMetrics(),v=0,T=0,C=o&&q6(o);if(l){var E=r.havingStyle(r.style.sup());p=au(l,E,r),C||(v=f.height-E.fontMetrics().supDrop*E.sizeMultiplier/r.sizeMultiplier)}if(h){var S=r.havingStyle(r.style.sub());m=au(h,S,r),C||(T=f.depth+S.fontMetrics().subDrop*S.sizeMultiplier/r.sizeMultiplier)}var R;r.style===Wo.DISPLAY?R=b.sup1:r.style.cramped?R=b.sup3:R=b.sup2;var L=r.sizeMultiplier,_=Ki(.5/b.ptPerEm/L),M=null;if(m){var I=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");if(f instanceof yb||I){var F;M=Ki(-((F=f.italic)!=null?F:0))}}var O;if(p&&m){v=Math.max(v,R,p.depth+.25*b.xHeight),T=Math.max(T,b.sub2);var P=b.defaultRuleThickness,G=4*P;if(v-p.depth-(m.height-T)0&&(v+=V,T-=V)}var Y=[{type:"elem",elem:m,shift:T,marginRight:_,marginLeft:M},{type:"elem",elem:p,shift:-v,marginRight:_}];O=wu({positionType:"individualShift",children:Y})}else if(m){T=Math.max(T,b.sub1,m.height-.8*b.xHeight);var K=[{type:"elem",elem:m,marginLeft:M,marginRight:_}];O=wu({positionType:"shift",positionData:T,children:K})}else if(p)v=Math.max(v,R,p.depth+.25*b.xHeight),O=wu({positionType:"shift",positionData:-v,children:[{type:"elem",elem:p,marginRight:_}]});else throw new Error("supsub must have either sup or sub.");var J=dqe(f,"right")||"mord";return Ri([J],[f,Ri(["msupsub"],[O])],r)},mathmlBuilder(t,r){var a=!1,o,l;t.base&&t.base.type==="horizBrace"&&(l=!!t.sup,l===t.base.isOver&&(a=!0,o=t.base.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);var h=[vh(t.base,r)];t.sub&&h.push(vh(t.sub,r)),t.sup&&h.push(vh(t.sup,r));var f;if(a)f=o?"mover":"munder";else if(t.sub)if(t.sup){var b=t.base;b&&b.type==="op"&&b.limits&&r.style===Wo.DISPLAY||b&&b.type==="operatorname"&&b.alwaysHandleSupSub&&(r.style===Wo.DISPLAY||b.limits)?f="munderover":f="msubsup"}else{var m=t.base;m&&m.type==="op"&&m.limits&&(r.style===Wo.DISPLAY||m.alwaysHandleSupSub)||m&&m.type==="operatorname"&&m.alwaysHandleSupSub&&(m.limits||r.style===Wo.DISPLAY)?f="munder":f="msub"}else{var p=t.base;p&&p.type==="op"&&p.limits&&(r.style===Wo.DISPLAY||p.alwaysHandleSupSub)||p&&p.type==="operatorname"&&p.alwaysHandleSupSub&&(p.limits||r.style===Wo.DISPLAY)?f="mover":f="msup"}return new $i(f,h)}});xN({type:"atom",htmlBuilder(t,r){return Eqe(t.text,t.mode,r,["m"+t.family])},mathmlBuilder(t,r){var a=new $i("mo",[jT(t.text,t.mode)]);if(t.family==="bin"){var o=Rqe(t,r);o==="bold-italic"&&a.setAttribute("mathvariant",o)}else t.family==="punct"?a.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&a.setAttribute("stretchy","false");return a}});Jor={mi:"italic",mn:"normal",mtext:"normal"};xN({type:"mathord",htmlBuilder(t,r){return Xye(t,r)},mathmlBuilder(t,r){var a=new $i("mi",[jT(t.text,t.mode,r)]),o=Rqe(t,r)||"italic";return o!==Jor[a.type]&&a.setAttribute("mathvariant",o),a}});xN({type:"textord",htmlBuilder(t,r){return Xye(t,r)},mathmlBuilder(t,r){var a=jT(t.text,t.mode,r),o=Rqe(t,r)||"normal",l;return t.mode==="text"?l=new $i("mtext",[a]):/[0-9]/.test(t.text)?l=new $i("mn",[a]):t.text==="\\prime"?l=new $i("mo",[a]):l=new $i("mi",[a]),o!==Jor[l.type]&&l.setAttribute("mathvariant",o),l}});tor=new Map([["\\nobreak","nobreak"],["\\allowbreak","allowbreak"]]),ror=new Map([[" ",{}],["\\ ",{}],["~",{className:"nobreak"}],["\\space",{}],["\\nobreakspace",{className:"nobreak"}]]);xN({type:"spacing",htmlBuilder(t,r){var a=ror.get(t.text),o=tor.get(t.text);if(a){var l=a.className||"";if(t.mode==="text"){var h=Xye(t,r);return h.classes.push(l),h}else return Ri(["mspace",l],[Eqe(t.text,t.mode,r)],r)}else{if(o)return Ri(["mspace",o],[],r);throw new Oi('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,r){var a;if(ror.has(t.text))a=new $i("mtext",[new hp("\xA0")]);else{if(tor.has(t.text))return new $i("mspace");throw new Oi('Unknown type of space "'+t.text+'"')}return a}});nor=i(()=>{var t=new $i("mtd",[]);return t.setAttribute("width","50%"),t},"pad");xN({type:"tag",mathmlBuilder(t,r){var a=new $i("mtable",[new $i("mtr",[nor(),new $i("mtd",[fL(t.body,r)]),nor(),new $i("mtd",[fL(t.tag,r)])])]);return a.setAttribute("width","100%"),a}});ior={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},aor={"\\textbf":"textbf","\\textmd":"textmd"},fAn={"\\textit":"textit","\\textup":"textup"},sor=i((t,r)=>{var a=t.font;if(a){if(ior[a])return r.withTextFontFamily(ior[a]);if(aor[a])return r.withTextFontWeight(aor[a]);if(a==="\\emph")return r.fontShape==="textit"?r.withTextFontShape("textup"):r.withTextFontShape("textit")}else return r;return r.withTextFontShape(fAn[a])},"optionsWithFont");Ta({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0,handler(t,r){var a=t.parser,o=t.funcName,l=r[0];return{type:"text",mode:a.mode,body:Ag(l),font:o}},htmlBuilder(t,r){var a=sor(t,r),o=p0(t.body,a,!0);return Ri(["mord","text"],o,a)},mathmlBuilder(t,r){var a=sor(t,r);return fL(t.body,a)}});Ta({type:"underline",names:["\\underline"],numArgs:1,allowedInText:!0,handler(t,r){var a=t.parser;return{type:"underline",mode:a.mode,body:r[0]}},htmlBuilder(t,r){var a=au(t.body,r),o=Wj("underline-line",r),l=r.fontMetrics().defaultRuleThickness,h=wu({positionType:"top",positionData:a.height,children:[{type:"kern",size:l},{type:"elem",elem:o},{type:"kern",size:3*l},{type:"elem",elem:a}]});return Ri(["mord","katex-underline"],[h],r)},mathmlBuilder(t,r){var a=new $i("mo",[new hp("\u203E")]);a.setAttribute("stretchy","true");var o=new $i("munder",[vh(t.body,r),a]);return o.setAttribute("accentunder","true"),o}});Ta({type:"vcenter",names:["\\vcenter"],numArgs:1,argTypes:["original"],allowedInText:!1,handler(t,r){var a=t.parser;return{type:"vcenter",mode:a.mode,body:r[0]}},htmlBuilder(t,r){var a=au(t.body,r),o=r.fontMetrics().axisHeight,l=.5*(a.height-o-(a.depth+o));return wu({positionType:"shift",positionData:l,children:[{type:"elem",elem:a}]})},mathmlBuilder(t,r){var a=new $i("mpadded",[vh(t.body,r)],["vcenter"]);return new $i("mrow",[a])}});Ta({type:"verb",names:["\\verb"],numArgs:0,allowedInText:!0,handler(t,r,a){throw new Oi("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,r){for(var a=oor(t),o=[],l=r.havingStyle(r.style.text()),h=0;ht.body.replace(/ /g,t.star?"\u2423":"\xA0"),"makeVerb"),oL=Cor,Zor=`[ \r + ]`,dAn="\\\\[a-zA-Z@]+",pAn="\\\\[^\uD800-\uDFFF]",gAn="("+dAn+")"+Zor+"*",mAn=`\\\\( |[ \r ]+ -?)[ \r ]*`,Xbe="[̀-ͯ]",UUt=new RegExp(Xbe+"+$"),VUt="("+Nqe+"+)|"+(HUt+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(Xbe+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Xbe+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+qUt)+("|"+zUt+")");class Pqe{constructor(a,u){this.input=a,this.settings=u,this.tokenRegex=new RegExp(VUt,"g"),this.catcodes={"%":14,"~":13}}setCatcode(a,u){this.catcodes[a]=u}lex(){var a=this.input,u=this.tokenRegex.lastIndex;if(u===a.length)return new ym("EOF",new W2(this,u,u));var d=this.tokenRegex.exec(a);if(d===null||d.index!==u)throw new ki("Unexpected character: '"+a[u]+"'",new ym(a[u],new W2(this,u,u+1)));var p=d[6]||d[3]||(d[2]?"\\ ":" ");if(this.catcodes[p]===14){var v=a.indexOf(` -`,this.tokenRegex.lastIndex);return v===-1?(this.tokenRegex.lastIndex=a.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=v+1,this.lex()}return new ym(p,new W2(this,u,this.tokenRegex.lastIndex))}}class GUt{constructor(a,u){a===void 0&&(a={}),u===void 0&&(u={}),this.current=u,this.builtins=a,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new ki("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var a=this.undefStack.pop();for(var u in a)a.hasOwnProperty(u)&&(a[u]==null?delete this.current[u]:this.current[u]=a[u])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(a){return this.current.hasOwnProperty(a)||this.builtins.hasOwnProperty(a)}get(a){return this.current.hasOwnProperty(a)?this.current[a]:this.builtins[a]}set(a,u,d){if(d===void 0&&(d=!1),d){for(var p=0;p0&&(this.undefStack[this.undefStack.length-1][a]=u)}else{var v=this.undefStack[this.undefStack.length-1];v&&!v.hasOwnProperty(a)&&(v[a]=this.current[a])}u==null?delete this.current[a]:this.current[a]=u}}var KUt=lqe;et("\\noexpand",function(i){var a=i.popToken();return i.isExpandable(a.text)&&(a.noexpand=!0,a.treatAsRelax=!0),{tokens:[a],numArgs:0}}),et("\\expandafter",function(i){var a=i.popToken();return i.expandOnce(!0),{tokens:[a],numArgs:0}}),et("\\@firstoftwo",function(i){var a=i.consumeArgs(2);return{tokens:a[0],numArgs:0}}),et("\\@secondoftwo",function(i){var a=i.consumeArgs(2);return{tokens:a[1],numArgs:0}}),et("\\@ifnextchar",function(i){var a=i.consumeArgs(3);i.consumeSpaces();var u=i.future();return a[0].length===1&&a[0][0].text===u.text?{tokens:a[1],numArgs:0}:{tokens:a[2],numArgs:0}}),et("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),et("\\TextOrMath",function(i){var a=i.consumeArgs(2);return i.mode==="text"?{tokens:a[0],numArgs:0}:{tokens:a[1],numArgs:0}});var Bqe={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};et("\\char",function(i){var a=i.popToken(),u,d=0;if(a.text==="'")u=8,a=i.popToken();else if(a.text==='"')u=16,a=i.popToken();else if(a.text==="`")if(a=i.popToken(),a.text[0]==="\\")d=a.text.charCodeAt(1);else{if(a.text==="EOF")throw new ki("\\char` missing argument");d=a.text.charCodeAt(0)}else u=10;if(u){if(d=Bqe[a.text],d==null||d>=u)throw new ki("Invalid base-"+u+" digit "+a.text);for(var p;(p=Bqe[i.future().text])!=null&&p{var p=i.consumeArg().tokens;if(p.length!==1)throw new ki("\\newcommand's first argument must be a macro name");var v=p[0].text,b=i.isDefined(v);if(b&&!a)throw new ki("\\newcommand{"+v+"} attempting to redefine "+(v+"; use \\renewcommand"));if(!b&&!u)throw new ki("\\renewcommand{"+v+"} when command "+v+" does not yet exist; use \\newcommand");var y=0;if(p=i.consumeArg().tokens,p.length===1&&p[0].text==="["){for(var E="",_=i.expandNextToken();_.text!=="]"&&_.text!=="EOF";)E+=_.text,_=i.expandNextToken();if(!E.match(/^\s*[0-9]+\s*$/))throw new ki("Invalid number of arguments: "+E);y=parseInt(E),p=i.consumeArg().tokens}return b&&d||i.macros.set(v,{tokens:p,numArgs:y}),""};et("\\newcommand",i=>Qbe(i,!1,!0,!1)),et("\\renewcommand",i=>Qbe(i,!0,!1,!1)),et("\\providecommand",i=>Qbe(i,!0,!0,!0)),et("\\message",i=>{var a=i.consumeArgs(1)[0];return console.log(a.reverse().map(u=>u.text).join("")),""}),et("\\errmessage",i=>{var a=i.consumeArgs(1)[0];return console.error(a.reverse().map(u=>u.text).join("")),""}),et("\\show",i=>{var a=i.popToken(),u=a.text;return console.log(a,i.macros.get(u),D9[u],vh.math[u],vh.text[u]),""}),et("\\bgroup","{"),et("\\egroup","}"),et("~","\\nobreakspace"),et("\\lq","`"),et("\\rq","'"),et("\\aa","\\r a"),et("\\AA","\\r A"),et("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),et("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),et("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),et("ℬ","\\mathscr{B}"),et("ℰ","\\mathscr{E}"),et("ℱ","\\mathscr{F}"),et("ℋ","\\mathscr{H}"),et("ℐ","\\mathscr{I}"),et("ℒ","\\mathscr{L}"),et("ℳ","\\mathscr{M}"),et("ℛ","\\mathscr{R}"),et("ℭ","\\mathfrak{C}"),et("ℌ","\\mathfrak{H}"),et("ℨ","\\mathfrak{Z}"),et("\\Bbbk","\\Bbb{k}"),et("\\llap","\\mathllap{\\textrm{#1}}"),et("\\rlap","\\mathrlap{\\textrm{#1}}"),et("\\clap","\\mathclap{\\textrm{#1}}"),et("\\mathstrut","\\vphantom{(}"),et("\\underbar","\\underline{\\text{#1}}"),et("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}'),et("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),et("\\ne","\\neq"),et("≠","\\neq"),et("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),et("∉","\\notin"),et("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),et("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),et("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),et("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),et("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),et("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),et("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),et("⟂","\\perp"),et("‼","\\mathclose{!\\mkern-0.8mu!}"),et("∌","\\notni"),et("⌜","\\ulcorner"),et("⌝","\\urcorner"),et("⌞","\\llcorner"),et("⌟","\\lrcorner"),et("©","\\copyright"),et("®","\\textregistered"),et("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),et("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),et("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),et("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),et("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),et("⋮","\\vdots"),et("\\varGamma","\\mathit{\\Gamma}"),et("\\varDelta","\\mathit{\\Delta}"),et("\\varTheta","\\mathit{\\Theta}"),et("\\varLambda","\\mathit{\\Lambda}"),et("\\varXi","\\mathit{\\Xi}"),et("\\varPi","\\mathit{\\Pi}"),et("\\varSigma","\\mathit{\\Sigma}"),et("\\varUpsilon","\\mathit{\\Upsilon}"),et("\\varPhi","\\mathit{\\Phi}"),et("\\varPsi","\\mathit{\\Psi}"),et("\\varOmega","\\mathit{\\Omega}"),et("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),et("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),et("\\boxed","\\fbox{$\\displaystyle{#1}$}"),et("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),et("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),et("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),et("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),et("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var Fqe={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"},WUt=new Set(["bin","rel"]);et("\\dots",function(i){var a="\\dotso",u=i.expandAfterFuture().text;return u in Fqe?a=Fqe[u]:(u.slice(0,4)==="\\not"||u in vh.math&&WUt.has(vh.math[u].group))&&(a="\\dotsb"),a});var Jbe={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};et("\\dotso",function(i){var a=i.future().text;return a in Jbe?"\\ldots\\,":"\\ldots"}),et("\\dotsc",function(i){var a=i.future().text;return a in Jbe&&a!==","?"\\ldots\\,":"\\ldots"}),et("\\cdots",function(i){var a=i.future().text;return a in Jbe?"\\@cdots\\,":"\\@cdots"}),et("\\dotsb","\\cdots"),et("\\dotsm","\\cdots"),et("\\dotsi","\\!\\cdots"),et("\\dotsx","\\ldots\\,"),et("\\DOTSI","\\relax"),et("\\DOTSB","\\relax"),et("\\DOTSX","\\relax"),et("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),et("\\,","\\tmspace+{3mu}{.1667em}"),et("\\thinspace","\\,"),et("\\>","\\mskip{4mu}"),et("\\:","\\tmspace+{4mu}{.2222em}"),et("\\medspace","\\:"),et("\\;","\\tmspace+{5mu}{.2777em}"),et("\\thickspace","\\;"),et("\\!","\\tmspace-{3mu}{.1667em}"),et("\\negthinspace","\\!"),et("\\negmedspace","\\tmspace-{4mu}{.2222em}"),et("\\negthickspace","\\tmspace-{5mu}{.277em}"),et("\\enspace","\\kern.5em "),et("\\enskip","\\hskip.5em\\relax"),et("\\quad","\\hskip1em\\relax"),et("\\qquad","\\hskip2em\\relax"),et("\\tag","\\@ifstar\\tag@literal\\tag@paren"),et("\\tag@paren","\\tag@literal{({#1})}"),et("\\tag@literal",i=>{if(i.macros.get("\\df@tag"))throw new ki("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),et("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),et("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),et("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),et("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),et("\\newline","\\\\\\relax"),et("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Rqe=Oi(Y4["Main-Regular"]["T".charCodeAt(0)][1]-.7*Y4["Main-Regular"]["A".charCodeAt(0)][1]);et("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Rqe+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),et("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Rqe+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),et("\\hspace","\\@ifstar\\@hspacer\\@hspace"),et("\\@hspace","\\hskip #1\\relax"),et("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),et("\\ordinarycolon",":"),et("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),et("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),et("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),et("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),et("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),et("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),et("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),et("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),et("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),et("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),et("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),et("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),et("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),et("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),et("∷","\\dblcolon"),et("∹","\\eqcolon"),et("≔","\\coloneqq"),et("≕","\\eqqcolon"),et("⩴","\\Coloneqq"),et("\\ratio","\\vcentcolon"),et("\\coloncolon","\\dblcolon"),et("\\colonequals","\\coloneqq"),et("\\coloncolonequals","\\Coloneqq"),et("\\equalscolon","\\eqqcolon"),et("\\equalscoloncolon","\\Eqqcolon"),et("\\colonminus","\\coloneq"),et("\\coloncolonminus","\\Coloneq"),et("\\minuscolon","\\eqcolon"),et("\\minuscoloncolon","\\Eqcolon"),et("\\coloncolonapprox","\\Colonapprox"),et("\\coloncolonsim","\\Colonsim"),et("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),et("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),et("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),et("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),et("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),et("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),et("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),et("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),et("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),et("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),et("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),et("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),et("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),et("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),et("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),et("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),et("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),et("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),et("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),et("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),et("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),et("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),et("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),et("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),et("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),et("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),et("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),et("\\imath","\\html@mathml{\\@imath}{ı}"),et("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),et("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),et("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),et("⟦","\\llbracket"),et("⟧","\\rrbracket"),et("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),et("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),et("⦃","\\lBrace"),et("⦄","\\rBrace"),et("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),et("⦵","\\minuso"),et("\\darr","\\downarrow"),et("\\dArr","\\Downarrow"),et("\\Darr","\\Downarrow"),et("\\lang","\\langle"),et("\\rang","\\rangle"),et("\\uarr","\\uparrow"),et("\\uArr","\\Uparrow"),et("\\Uarr","\\Uparrow"),et("\\N","\\mathbb{N}"),et("\\R","\\mathbb{R}"),et("\\Z","\\mathbb{Z}"),et("\\alef","\\aleph"),et("\\alefsym","\\aleph"),et("\\Alpha","\\mathrm{A}"),et("\\Beta","\\mathrm{B}"),et("\\bull","\\bullet"),et("\\Chi","\\mathrm{X}"),et("\\clubs","\\clubsuit"),et("\\cnums","\\mathbb{C}"),et("\\Complex","\\mathbb{C}"),et("\\Dagger","\\ddagger"),et("\\diamonds","\\diamondsuit"),et("\\empty","\\emptyset"),et("\\Epsilon","\\mathrm{E}"),et("\\Eta","\\mathrm{H}"),et("\\exist","\\exists"),et("\\harr","\\leftrightarrow"),et("\\hArr","\\Leftrightarrow"),et("\\Harr","\\Leftrightarrow"),et("\\hearts","\\heartsuit"),et("\\image","\\Im"),et("\\infin","\\infty"),et("\\Iota","\\mathrm{I}"),et("\\isin","\\in"),et("\\Kappa","\\mathrm{K}"),et("\\larr","\\leftarrow"),et("\\lArr","\\Leftarrow"),et("\\Larr","\\Leftarrow"),et("\\lrarr","\\leftrightarrow"),et("\\lrArr","\\Leftrightarrow"),et("\\Lrarr","\\Leftrightarrow"),et("\\Mu","\\mathrm{M}"),et("\\natnums","\\mathbb{N}"),et("\\Nu","\\mathrm{N}"),et("\\Omicron","\\mathrm{O}"),et("\\plusmn","\\pm"),et("\\rarr","\\rightarrow"),et("\\rArr","\\Rightarrow"),et("\\Rarr","\\Rightarrow"),et("\\real","\\Re"),et("\\reals","\\mathbb{R}"),et("\\Reals","\\mathbb{R}"),et("\\Rho","\\mathrm{P}"),et("\\sdot","\\cdot"),et("\\sect","\\S"),et("\\spades","\\spadesuit"),et("\\sub","\\subset"),et("\\sube","\\subseteq"),et("\\supe","\\supseteq"),et("\\Tau","\\mathrm{T}"),et("\\thetasym","\\vartheta"),et("\\weierp","\\wp"),et("\\Zeta","\\mathrm{Z}"),et("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),et("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),et("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),et("\\bra","\\mathinner{\\langle{#1}|}"),et("\\ket","\\mathinner{|{#1}\\rangle}"),et("\\braket","\\mathinner{\\langle{#1}\\rangle}"),et("\\Bra","\\left\\langle#1\\right|"),et("\\Ket","\\left|#1\\right\\rangle");var jqe=i=>a=>{var u=a.consumeArg().tokens,d=a.consumeArg().tokens,p=a.consumeArg().tokens,v=a.consumeArg().tokens,b=a.macros.get("|"),y=a.macros.get("\\|");a.macros.beginGroup();var E=P=>R=>{i&&(R.macros.set("|",b),p.length&&R.macros.set("\\|",y));var B=P;if(!P&&p.length){var j=R.future();j.text==="|"&&(R.popToken(),B=!0)}return{tokens:B?p:d,numArgs:0}};a.macros.set("|",E(!1)),p.length&&a.macros.set("\\|",E(!0));var _=a.consumeArg().tokens,A=a.expandTokens([...v,..._,...u]);return a.macros.endGroup(),{tokens:A.reverse(),numArgs:0}};et("\\bra@ket",jqe(!1)),et("\\bra@set",jqe(!0)),et("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),et("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),et("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),et("\\angln","{\\angl n}"),et("\\blue","\\textcolor{##6495ed}{#1}"),et("\\orange","\\textcolor{##ffa500}{#1}"),et("\\pink","\\textcolor{##ff00af}{#1}"),et("\\red","\\textcolor{##df0030}{#1}"),et("\\green","\\textcolor{##28ae7b}{#1}"),et("\\gray","\\textcolor{gray}{#1}"),et("\\purple","\\textcolor{##9d38bd}{#1}"),et("\\blueA","\\textcolor{##ccfaff}{#1}"),et("\\blueB","\\textcolor{##80f6ff}{#1}"),et("\\blueC","\\textcolor{##63d9ea}{#1}"),et("\\blueD","\\textcolor{##11accd}{#1}"),et("\\blueE","\\textcolor{##0c7f99}{#1}"),et("\\tealA","\\textcolor{##94fff5}{#1}"),et("\\tealB","\\textcolor{##26edd5}{#1}"),et("\\tealC","\\textcolor{##01d1c1}{#1}"),et("\\tealD","\\textcolor{##01a995}{#1}"),et("\\tealE","\\textcolor{##208170}{#1}"),et("\\greenA","\\textcolor{##b6ffb0}{#1}"),et("\\greenB","\\textcolor{##8af281}{#1}"),et("\\greenC","\\textcolor{##74cf70}{#1}"),et("\\greenD","\\textcolor{##1fab54}{#1}"),et("\\greenE","\\textcolor{##0d923f}{#1}"),et("\\goldA","\\textcolor{##ffd0a9}{#1}"),et("\\goldB","\\textcolor{##ffbb71}{#1}"),et("\\goldC","\\textcolor{##ff9c39}{#1}"),et("\\goldD","\\textcolor{##e07d10}{#1}"),et("\\goldE","\\textcolor{##a75a05}{#1}"),et("\\redA","\\textcolor{##fca9a9}{#1}"),et("\\redB","\\textcolor{##ff8482}{#1}"),et("\\redC","\\textcolor{##f9685d}{#1}"),et("\\redD","\\textcolor{##e84d39}{#1}"),et("\\redE","\\textcolor{##bc2612}{#1}"),et("\\maroonA","\\textcolor{##ffbde0}{#1}"),et("\\maroonB","\\textcolor{##ff92c6}{#1}"),et("\\maroonC","\\textcolor{##ed5fa6}{#1}"),et("\\maroonD","\\textcolor{##ca337c}{#1}"),et("\\maroonE","\\textcolor{##9e034e}{#1}"),et("\\purpleA","\\textcolor{##ddd7ff}{#1}"),et("\\purpleB","\\textcolor{##c6b9fc}{#1}"),et("\\purpleC","\\textcolor{##aa87ff}{#1}"),et("\\purpleD","\\textcolor{##7854ab}{#1}"),et("\\purpleE","\\textcolor{##543b78}{#1}"),et("\\mintA","\\textcolor{##f5f9e8}{#1}"),et("\\mintB","\\textcolor{##edf2df}{#1}"),et("\\mintC","\\textcolor{##e0e5cc}{#1}"),et("\\grayA","\\textcolor{##f6f7f7}{#1}"),et("\\grayB","\\textcolor{##f0f1f2}{#1}"),et("\\grayC","\\textcolor{##e3e5e6}{#1}"),et("\\grayD","\\textcolor{##d6d8da}{#1}"),et("\\grayE","\\textcolor{##babec2}{#1}"),et("\\grayF","\\textcolor{##888d93}{#1}"),et("\\grayG","\\textcolor{##626569}{#1}"),et("\\grayH","\\textcolor{##3b3e40}{#1}"),et("\\grayI","\\textcolor{##21242c}{#1}"),et("\\kaBlue","\\textcolor{##314453}{#1}"),et("\\kaGreen","\\textcolor{##71B307}{#1}");var $qe={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class YUt{constructor(a,u,d){this.settings=u,this.expansionCount=0,this.feed(a),this.macros=new GUt(KUt,u.macros),this.mode=d,this.stack=[]}feed(a){this.lexer=new Pqe(a,this.settings)}switchMode(a){this.mode=a}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(a){this.stack.push(a)}pushTokens(a){this.stack.push(...a)}scanArgument(a){var u,d,p;if(a){if(this.consumeSpaces(),this.future().text!=="[")return null;u=this.popToken(),{tokens:p,end:d}=this.consumeArg(["]"])}else({tokens:p,start:u,end:d}=this.consumeArg());return this.pushToken(new ym("EOF",d.loc)),this.pushTokens(p),new ym("",W2.range(u,d))}consumeSpaces(){for(;;){var a=this.future();if(a.text===" ")this.stack.pop();else break}}consumeArg(a){var u=[],d=a&&a.length>0;d||this.consumeSpaces();var p=this.future(),v,b=0,y=0;do{if(v=this.popToken(),u.push(v),v.text==="{")++b;else if(v.text==="}"){if(--b,b===-1)throw new ki("Extra }",v)}else if(v.text==="EOF")throw new ki("Unexpected end of input in a macro argument, expected '"+(a&&d?a[y]:"}")+"'",v);if(a&&d)if((b===0||b===1&&a[y]==="{")&&v.text===a[y]){if(++y,y===a.length){u.splice(-y,y);break}}else y=0}while(b!==0||d);return p.text==="{"&&u[u.length-1].text==="}"&&(u.pop(),u.shift()),u.reverse(),{tokens:u,start:p,end:v}}consumeArgs(a,u){if(u){if(u.length!==a+1)throw new ki("The length of delimiters doesn't match the number of args!");for(var d=u[0],p=0;pthis.settings.maxExpand)throw new ki("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(a){var u=this.popToken(),d=u.text,p=u.noexpand?null:this._getExpansion(d);if(p==null||a&&p.unexpandable){if(a&&p==null&&d[0]==="\\"&&!this.isDefined(d))throw new ki("Undefined control sequence: "+d);return this.pushToken(u),!1}this.countExpansion(1);var v=p.tokens,b=this.consumeArgs(p.numArgs,p.delimiters);if(p.numArgs){v=v.slice();for(var y=v.length-1;y>=0;--y){var E=v[y];if(E.text==="#"){if(y===0)throw new ki("Incomplete placeholder at end of macro body",E);if(E=v[--y],E.text==="#")v.splice(y+1,1);else if(/^[1-9]$/.test(E.text))v.splice(y,2,...b[+E.text-1]);else throw new ki("Not a valid argument number",E)}}}return this.pushTokens(v),v.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var a=this.stack.pop();return a.treatAsRelax&&(a.text="\\relax"),a}}expandMacro(a){return this.macros.has(a)?this.expandTokens([new ym(a)]):void 0}expandTokens(a){var u=[],d=this.stack.length;for(this.pushTokens(a);this.stack.length>d;)if(this.expandOnce(!0)===!1){var p=this.stack.pop();p.treatAsRelax&&(p.noexpand=!1,p.treatAsRelax=!1),u.push(p)}return this.countExpansion(u.length),u}expandMacroAsText(a){var u=this.expandMacro(a);return u&&u.map(d=>d.text).join("")}_getExpansion(a){var u=this.macros.get(a);if(u==null)return u;if(a.length===1){var d=this.lexer.catcodes[a];if(d!=null&&d!==13)return}var p=typeof u=="function"?u(this):u;if(typeof p=="string"){var v=0;if(p.includes("#"))for(var b=p.replace(/##/g,"");b.includes("#"+(v+1));)++v;for(var y=new Pqe(p,this.settings),E=[],_=y.lex();_.text!=="EOF";)E.push(_),_=y.lex();E.reverse();var A={tokens:E,numArgs:v};return A}return p}isDefined(a){return this.macros.has(a)||D9.hasOwnProperty(a)||vh.math.hasOwnProperty(a)||vh.text.hasOwnProperty(a)||$qe.hasOwnProperty(a)}isExpandable(a){var u=this.macros.get(a);return u!=null?typeof u=="string"||typeof u=="function"||!u.unexpandable:D9.hasOwnProperty(a)&&!D9[a].primitive}}var zqe=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,BQ=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Zbe={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},qqe={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class FQ{constructor(a,u){this.mode="math",this.gullet=new YUt(a,u,this.mode),this.settings=u,this.leftrightDepth=0,this.nextToken=null}expect(a,u){if(u===void 0&&(u=!0),this.fetch().text!==a)throw new ki("Expected '"+a+"', got '"+this.fetch().text+"'",this.fetch());u&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(a){this.mode=a,this.gullet.switchMode(a)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var a=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),a}finally{this.gullet.endGroups()}}subparse(a){var u=this.nextToken;this.consume(),this.gullet.pushToken(new ym("}")),this.gullet.pushTokens(a);var d=this.parseExpression(!1);return this.expect("}"),this.nextToken=u,d}parseExpression(a,u){for(var d=[];;){this.mode==="math"&&this.consumeSpaces();var p=this.fetch();if(FQ.endOfExpression.has(p.text)||u&&p.text===u||a&&D9[p.text]&&D9[p.text].infix)break;var v=this.parseAtom(u);if(v){if(v.type==="internal")continue}else break;d.push(v)}return this.mode==="text"&&this.formLigatures(d),this.handleInfixNodes(d)}handleInfixNodes(a){for(var u=-1,d,p=0;p=128)this.settings.strict&&(bze(u.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+u[0]+'" used in math mode',a):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+u[0]+'"'+(" ("+u.charCodeAt(0)+")"),a)),b={type:"textord",mode:"text",loc:W2.range(a),text:u};else return null;if(this.consume(),v)for(var P=0;P"u"&&(Es.yylloc={});var Kd=Es.yylloc;on.push(Kd);var qp=Es.options&&Es.options.ranges;typeof Ou.yy.parseError=="function"?this.parseError=Ou.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ul(){var Kh;return Kh=Ct.pop()||Es.lex()||Us,typeof Kh!="number"&&(Kh instanceof Array&&(Ct=Kh,Kh=Ct.pop()),Kh=Rn.symbols_[Kh]||Kh),Kh}for(var Ac,Jc,Ya,Ba,ha={},$o,Lc,Fa,Ra;;){if(Jc=zn[zn.length-1],this.defaultActions[Jc]?Ya=this.defaultActions[Jc]:((Ac===null||typeof Ac>"u")&&(Ac=Ul()),Ya=dn[Jc]&&dn[Jc][Ac]),typeof Ya>"u"||!Ya.length||!Ya[0]){var ma="";Ra=[];for($o in dn[Jc])this.terminals_[$o]&&$o>No&&Ra.push("'"+this.terminals_[$o]+"'");Es.showPosition?ma="Parse error on line "+(Io+1)+`: -`+Es.showPosition()+` -Expecting `+Ra.join(", ")+", got '"+(this.terminals_[Ac]||Ac)+"'":ma="Parse error on line "+(Io+1)+": Unexpected "+(Ac==Us?"end of input":"'"+(this.terminals_[Ac]||Ac)+"'"),this.parseError(ma,{text:Es.match,token:this.terminals_[Ac]||Ac,line:Es.yylineno,loc:Kd,expected:Ra})}if(Ya[0]instanceof Array&&Ya.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Jc+", token: "+Ac);switch(Ya[0]){case 1:zn.push(Ac),gt.push(Es.yytext),on.push(Es.yylloc),zn.push(Ya[1]),Ac=null,Oo=Es.yyleng,Ln=Es.yytext,Io=Es.yylineno,Kd=Es.yylloc;break;case 2:if(Lc=this.productions_[Ya[1]][1],ha.$=gt[gt.length-Lc],ha._$={first_line:on[on.length-(Lc||1)].first_line,last_line:on[on.length-1].last_line,first_column:on[on.length-(Lc||1)].first_column,last_column:on[on.length-1].last_column},qp&&(ha._$.range=[on[on.length-(Lc||1)].range[0],on[on.length-1].range[1]]),Ba=this.performAction.apply(ha,[Ln,Oo,Io,Ou.yy,Ya[1],gt,on].concat(uo)),typeof Ba<"u")return Ba;Lc&&(zn=zn.slice(0,-1*Lc*2),gt=gt.slice(0,-1*Lc),on=on.slice(0,-1*Lc)),zn.push(this.productions_[Ya[1]][0]),gt.push(ha.$),on.push(ha._$),Fa=dn[zn[zn.length-2]][zn[zn.length-1]],zn.push(Fa);break;case 3:return!0}}return!0}},Hs=function(){var Tr={EOF:1,parseError:function(Rn,zn){if(this.yy.parser)this.yy.parser.parseError(Rn,zn);else throw new Error(Rn)},setInput:function(On,Rn){return this.yy=Rn||this.yy||{},this._input=On,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var On=this._input[0];this.yytext+=On,this.yyleng++,this.offset++,this.match+=On,this.matched+=On;var Rn=On.match(/(?:\r\n?|\n).*/g);return Rn?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),On},unput:function(On){var Rn=On.length,zn=On.split(/(?:\r\n?|\n)/g);this._input=On+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Rn),this.offset-=Rn;var Ct=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),zn.length-1&&(this.yylineno-=zn.length-1);var gt=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:zn?(zn.length===Ct.length?this.yylloc.first_column:0)+Ct[Ct.length-zn.length].length-zn[0].length:this.yylloc.first_column-Rn},this.options.ranges&&(this.yylloc.range=[gt[0],gt[0]+this.yyleng-Rn]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(On){this.unput(this.match.slice(On))},pastInput:function(){var On=this.matched.substr(0,this.matched.length-this.match.length);return(On.length>20?"...":"")+On.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var On=this.match;return On.length<20&&(On+=this._input.substr(0,20-On.length)),(On.substr(0,20)+(On.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var On=this.pastInput(),Rn=new Array(On.length+1).join("-");return On+this.upcomingInput()+` -`+Rn+"^"},test_match:function(On,Rn){var zn,Ct,gt;if(this.options.backtrack_lexer&&(gt={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(gt.yylloc.range=this.yylloc.range.slice(0))),Ct=On[0].match(/(?:\r\n?|\n).*/g),Ct&&(this.yylineno+=Ct.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Ct?Ct[Ct.length-1].length-Ct[Ct.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+On[0].length},this.yytext+=On[0],this.match+=On[0],this.matches=On,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(On[0].length),this.matched+=On[0],zn=this.performAction.call(this,this.yy,this,Rn,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),zn)return zn;if(this._backtrack){for(var on in gt)this[on]=gt[on];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var On,Rn,zn,Ct;this._more||(this.yytext="",this.match="");for(var gt=this._currentRules(),on=0;onRn[0].length)){if(Rn=zn,Ct=on,this.options.backtrack_lexer){if(On=this.test_match(zn,gt[on]),On!==!1)return On;if(this._backtrack){Rn=!1;continue}else return!1}else if(!this.options.flex)break}return Rn?(On=this.test_match(Rn,gt[Ct]),On!==!1?On:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var Rn=this.next();return Rn||this.lex()},begin:function(Rn){this.conditionStack.push(Rn)},popState:function(){var Rn=this.conditionStack.length-1;return Rn>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Rn){return Rn=this.conditionStack.length-1-Math.abs(Rn||0),Rn>=0?this.conditionStack[Rn]:"INITIAL"},pushState:function(Rn){this.begin(Rn)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(Rn,zn,Ct,gt){switch(Ct){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),26;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:break;case 14:c;break;case 15:return 12;case 16:break;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;case 23:return this.begin("person"),44;case 24:return this.begin("system_ext_queue"),51;case 25:return this.begin("system_ext_db"),50;case 26:return this.begin("system_ext"),49;case 27:return this.begin("system_queue"),48;case 28:return this.begin("system_db"),47;case 29:return this.begin("system"),46;case 30:return this.begin("boundary"),37;case 31:return this.begin("enterprise_boundary"),34;case 32:return this.begin("system_boundary"),36;case 33:return this.begin("container_ext_queue"),57;case 34:return this.begin("container_ext_db"),56;case 35:return this.begin("container_ext"),55;case 36:return this.begin("container_queue"),54;case 37:return this.begin("container_db"),53;case 38:return this.begin("container"),52;case 39:return this.begin("container_boundary"),38;case 40:return this.begin("component_ext_queue"),63;case 41:return this.begin("component_ext_db"),62;case 42:return this.begin("component_ext"),61;case 43:return this.begin("component_queue"),60;case 44:return this.begin("component_db"),59;case 45:return this.begin("component"),58;case 46:return this.begin("node"),39;case 47:return this.begin("node"),39;case 48:return this.begin("node_l"),40;case 49:return this.begin("node_r"),41;case 50:return this.begin("rel"),64;case 51:return this.begin("birel"),65;case 52:return this.begin("rel_u"),66;case 53:return this.begin("rel_u"),66;case 54:return this.begin("rel_d"),67;case 55:return this.begin("rel_d"),67;case 56:return this.begin("rel_l"),68;case 57:return this.begin("rel_l"),68;case 58:return this.begin("rel_r"),69;case 59:return this.begin("rel_r"),69;case 60:return this.begin("rel_b"),70;case 61:return this.begin("rel_index"),71;case 62:return this.begin("update_el_style"),72;case 63:return this.begin("update_rel_style"),73;case 64:return this.begin("update_layout_config"),74;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 67:this.begin("attribute");break;case 68:this.popState(),this.popState();break;case 69:return 80;case 70:break;case 71:return 80;case 72:this.begin("string");break;case 73:this.popState();break;case 74:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 79:this.popState(),this.popState();break;case 80:return"STR";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}};return Tr}();ia.lexer=Hs;function mo(){this.yy={}}return mo.prototype=ia,ia.Parser=mo,new mo}();jQ.parser=jQ;const JUt=jQ;let q3=[],I9=[""],jp="global",H3="",Z4=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],TR=[],nme="",rme=!1,$Q=4,zQ=2;var Yqe;const ZUt=function(){return Yqe},eVt=function(i){Yqe=bh(i,qt())},tVt=function(i,a,u,d,p,v,b,y,E){if(i==null||a===void 0||a===null||u===void 0||u===null||d===void 0||d===null)return;let _={};const A=TR.find(P=>P.from===a&&P.to===u);if(A?_=A:TR.push(_),_.type=i,_.from=a,_.to=u,_.label={text:d},p==null)_.techn={text:""};else if(typeof p=="object"){let[P,R]=Object.entries(p)[0];_[P]={text:R}}else _.techn={text:p};if(v==null)_.descr={text:""};else if(typeof v=="object"){let[P,R]=Object.entries(v)[0];_[P]={text:R}}else _.descr={text:v};if(typeof b=="object"){let[P,R]=Object.entries(b)[0];_[P]=R}else _.sprite=b;if(typeof y=="object"){let[P,R]=Object.entries(y)[0];_[P]=R}else _.tags=y;if(typeof E=="object"){let[P,R]=Object.entries(E)[0];_[P]=R}else _.link=E;_.wrap=O9()},nVt=function(i,a,u,d,p,v,b){if(a===null||u===null)return;let y={};const E=q3.find(_=>_.alias===a);if(E&&a===E.alias?y=E:(y.alias=a,q3.push(y)),u==null?y.label={text:""}:y.label={text:u},d==null)y.descr={text:""};else if(typeof d=="object"){let[_,A]=Object.entries(d)[0];y[_]={text:A}}else y.descr={text:d};if(typeof p=="object"){let[_,A]=Object.entries(p)[0];y[_]=A}else y.sprite=p;if(typeof v=="object"){let[_,A]=Object.entries(v)[0];y[_]=A}else y.tags=v;if(typeof b=="object"){let[_,A]=Object.entries(b)[0];y[_]=A}else y.link=b;y.typeC4Shape={text:i},y.parentBoundary=jp,y.wrap=O9()},rVt=function(i,a,u,d,p,v,b,y){if(a===null||u===null)return;let E={};const _=q3.find(A=>A.alias===a);if(_&&a===_.alias?E=_:(E.alias=a,q3.push(E)),u==null?E.label={text:""}:E.label={text:u},d==null)E.techn={text:""};else if(typeof d=="object"){let[A,P]=Object.entries(d)[0];E[A]={text:P}}else E.techn={text:d};if(p==null)E.descr={text:""};else if(typeof p=="object"){let[A,P]=Object.entries(p)[0];E[A]={text:P}}else E.descr={text:p};if(typeof v=="object"){let[A,P]=Object.entries(v)[0];E[A]=P}else E.sprite=v;if(typeof b=="object"){let[A,P]=Object.entries(b)[0];E[A]=P}else E.tags=b;if(typeof y=="object"){let[A,P]=Object.entries(y)[0];E[A]=P}else E.link=y;E.wrap=O9(),E.typeC4Shape={text:i},E.parentBoundary=jp},iVt=function(i,a,u,d,p,v,b,y){if(a===null||u===null)return;let E={};const _=q3.find(A=>A.alias===a);if(_&&a===_.alias?E=_:(E.alias=a,q3.push(E)),u==null?E.label={text:""}:E.label={text:u},d==null)E.techn={text:""};else if(typeof d=="object"){let[A,P]=Object.entries(d)[0];E[A]={text:P}}else E.techn={text:d};if(p==null)E.descr={text:""};else if(typeof p=="object"){let[A,P]=Object.entries(p)[0];E[A]={text:P}}else E.descr={text:p};if(typeof v=="object"){let[A,P]=Object.entries(v)[0];E[A]=P}else E.sprite=v;if(typeof b=="object"){let[A,P]=Object.entries(b)[0];E[A]=P}else E.tags=b;if(typeof y=="object"){let[A,P]=Object.entries(y)[0];E[A]=P}else E.link=y;E.wrap=O9(),E.typeC4Shape={text:i},E.parentBoundary=jp},sVt=function(i,a,u,d,p){if(i===null||a===null)return;let v={};const b=Z4.find(y=>y.alias===i);if(b&&i===b.alias?v=b:(v.alias=i,Z4.push(v)),a==null?v.label={text:""}:v.label={text:a},u==null)v.type={text:"system"};else if(typeof u=="object"){let[y,E]=Object.entries(u)[0];v[y]={text:E}}else v.type={text:u};if(typeof d=="object"){let[y,E]=Object.entries(d)[0];v[y]=E}else v.tags=d;if(typeof p=="object"){let[y,E]=Object.entries(p)[0];v[y]=E}else v.link=p;v.parentBoundary=jp,v.wrap=O9(),H3=jp,jp=i,I9.push(H3)},aVt=function(i,a,u,d,p){if(i===null||a===null)return;let v={};const b=Z4.find(y=>y.alias===i);if(b&&i===b.alias?v=b:(v.alias=i,Z4.push(v)),a==null?v.label={text:""}:v.label={text:a},u==null)v.type={text:"container"};else if(typeof u=="object"){let[y,E]=Object.entries(u)[0];v[y]={text:E}}else v.type={text:u};if(typeof d=="object"){let[y,E]=Object.entries(d)[0];v[y]=E}else v.tags=d;if(typeof p=="object"){let[y,E]=Object.entries(p)[0];v[y]=E}else v.link=p;v.parentBoundary=jp,v.wrap=O9(),H3=jp,jp=i,I9.push(H3)},oVt=function(i,a,u,d,p,v,b,y){if(a===null||u===null)return;let E={};const _=Z4.find(A=>A.alias===a);if(_&&a===_.alias?E=_:(E.alias=a,Z4.push(E)),u==null?E.label={text:""}:E.label={text:u},d==null)E.type={text:"node"};else if(typeof d=="object"){let[A,P]=Object.entries(d)[0];E[A]={text:P}}else E.type={text:d};if(p==null)E.descr={text:""};else if(typeof p=="object"){let[A,P]=Object.entries(p)[0];E[A]={text:P}}else E.descr={text:p};if(typeof b=="object"){let[A,P]=Object.entries(b)[0];E[A]=P}else E.tags=b;if(typeof y=="object"){let[A,P]=Object.entries(y)[0];E[A]=P}else E.link=y;E.nodeType=i,E.parentBoundary=jp,E.wrap=O9(),H3=jp,jp=a,I9.push(H3)},cVt=function(){jp=H3,I9.pop(),H3=I9.pop(),I9.push(H3)},uVt=function(i,a,u,d,p,v,b,y,E,_,A){let P=q3.find(R=>R.alias===a);if(!(P===void 0&&(P=Z4.find(R=>R.alias===a),P===void 0))){if(u!=null)if(typeof u=="object"){let[R,B]=Object.entries(u)[0];P[R]=B}else P.bgColor=u;if(d!=null)if(typeof d=="object"){let[R,B]=Object.entries(d)[0];P[R]=B}else P.fontColor=d;if(p!=null)if(typeof p=="object"){let[R,B]=Object.entries(p)[0];P[R]=B}else P.borderColor=p;if(v!=null)if(typeof v=="object"){let[R,B]=Object.entries(v)[0];P[R]=B}else P.shadowing=v;if(b!=null)if(typeof b=="object"){let[R,B]=Object.entries(b)[0];P[R]=B}else P.shape=b;if(y!=null)if(typeof y=="object"){let[R,B]=Object.entries(y)[0];P[R]=B}else P.sprite=y;if(E!=null)if(typeof E=="object"){let[R,B]=Object.entries(E)[0];P[R]=B}else P.techn=E;if(_!=null)if(typeof _=="object"){let[R,B]=Object.entries(_)[0];P[R]=B}else P.legendText=_;if(A!=null)if(typeof A=="object"){let[R,B]=Object.entries(A)[0];P[R]=B}else P.legendSprite=A}},lVt=function(i,a,u,d,p,v,b){const y=TR.find(E=>E.from===a&&E.to===u);if(y!==void 0){if(d!=null)if(typeof d=="object"){let[E,_]=Object.entries(d)[0];y[E]=_}else y.textColor=d;if(p!=null)if(typeof p=="object"){let[E,_]=Object.entries(p)[0];y[E]=_}else y.lineColor=p;if(v!=null)if(typeof v=="object"){let[E,_]=Object.entries(v)[0];y[E]=parseInt(_)}else y.offsetX=parseInt(v);if(b!=null)if(typeof b=="object"){let[E,_]=Object.entries(b)[0];y[E]=parseInt(_)}else y.offsetY=parseInt(b)}},hVt=function(i,a,u){let d=$Q,p=zQ;if(typeof a=="object"){const v=Object.values(a)[0];d=parseInt(v)}else d=parseInt(a);if(typeof u=="object"){const v=Object.values(u)[0];p=parseInt(v)}else p=parseInt(u);d>=1&&($Q=d),p>=1&&(zQ=p)},fVt=function(){return $Q},dVt=function(){return zQ},gVt=function(){return jp},pVt=function(){return H3},Xqe=function(i){return i==null?q3:q3.filter(a=>a.parentBoundary===i)},bVt=function(i){return q3.find(a=>a.alias===i)},mVt=function(i){return Object.keys(Xqe(i))},Qqe=function(i){return i==null?Z4:Z4.filter(a=>a.parentBoundary===i)},vVt=Qqe,wVt=function(){return TR},yVt=function(){return nme},xVt=function(i){rme=i},O9=function(){return rme},ime={addPersonOrSystem:nVt,addPersonOrSystemBoundary:sVt,addContainer:rVt,addContainerBoundary:aVt,addComponent:iVt,addDeploymentNode:oVt,popBoundaryParseStack:cVt,addRel:tVt,updateElStyle:uVt,updateRelStyle:lVt,updateLayoutConfig:hVt,autoWrap:O9,setWrap:xVt,getC4ShapeArray:Xqe,getC4Shape:bVt,getC4ShapeKeys:mVt,getBoundaries:Qqe,getBoundarys:vVt,getCurrentBoundaryParse:gVt,getParentBoundaryParse:pVt,getRels:wVt,getTitle:yVt,getC4Type:ZUt,getC4ShapeInRow:fVt,getC4BoundaryInRow:dVt,setAccTitle:jg,getAccTitle:Mp,getAccDescription:Ip,setAccDescription:Dp,getConfig:()=>qt().c4,clear:function(){q3=[],Z4=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],H3="",jp="global",I9=[""],TR=[],I9=[""],nme="",rme=!1,$Q=4,zQ=2},LINETYPE:{SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},setTitle:function(i){nme=bh(i,qt())},setC4Type:eVt},qQ=(i,a)=>{const u=i.append("rect");if(u.attr("x",a.x),u.attr("y",a.y),u.attr("fill",a.fill),u.attr("stroke",a.stroke),u.attr("width",a.width),u.attr("height",a.height),a.name&&u.attr("name",a.name),a.rx!==void 0&&u.attr("rx",a.rx),a.ry!==void 0&&u.attr("ry",a.ry),a.attrs!==void 0)for(const d in a.attrs)u.attr(d,a.attrs[d]);return a.class!==void 0&&u.attr("class",a.class),u},Jqe=(i,a)=>{const u={x:a.startx,y:a.starty,width:a.stopx-a.startx,height:a.stopy-a.starty,fill:a.fill,stroke:a.stroke,class:"rect"};qQ(i,u).lower()},kVt=(i,a)=>{const u=a.text.replace(bD," "),d=i.append("text");d.attr("x",a.x),d.attr("y",a.y),d.attr("class","legend"),d.style("text-anchor",a.anchor),a.class!==void 0&&d.attr("class",a.class);const p=d.append("tspan");return p.attr("x",a.x+a.textMargin*2),p.text(u),d},TVt=(i,a,u,d)=>{const p=i.append("image");p.attr("x",a),p.attr("y",u);const v=b9.sanitizeUrl(d);p.attr("xlink:href",v)},EVt=(i,a,u,d)=>{const p=i.append("use");p.attr("x",a),p.attr("y",u);const v=b9.sanitizeUrl(d);p.attr("xlink:href",`#${v}`)},HC=()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),sme=()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),ame=function(i,a){return qQ(i,a)},Zqe=function(i,a,u,d,p,v){const b=i.append("image");b.attr("width",a),b.attr("height",u),b.attr("x",d),b.attr("y",p);let y=v.startsWith("data:image/png;base64")?v:b9.sanitizeUrl(v);b.attr("xlink:href",y)},CVt=(i,a,u)=>{const d=i.append("g");let p=0;for(let v of a){let b=v.textColor?v.textColor:"#444444",y=v.lineColor?v.lineColor:"#444444",E=v.offsetX?parseInt(v.offsetX):0,_=v.offsetY?parseInt(v.offsetY):0,A="";if(p===0){let R=d.append("line");R.attr("x1",v.startPoint.x),R.attr("y1",v.startPoint.y),R.attr("x2",v.endPoint.x),R.attr("y2",v.endPoint.y),R.attr("stroke-width","1"),R.attr("stroke",y),R.style("fill","none"),v.type!=="rel_b"&&R.attr("marker-end","url("+A+"#arrowhead)"),(v.type==="birel"||v.type==="rel_b")&&R.attr("marker-start","url("+A+"#arrowend)"),p=-1}else{let R=d.append("path");R.attr("fill","none").attr("stroke-width","1").attr("stroke",y).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",v.startPoint.x).replaceAll("starty",v.startPoint.y).replaceAll("controlx",v.startPoint.x+(v.endPoint.x-v.startPoint.x)/2-(v.endPoint.x-v.startPoint.x)/4).replaceAll("controly",v.startPoint.y+(v.endPoint.y-v.startPoint.y)/2).replaceAll("stopx",v.endPoint.x).replaceAll("stopy",v.endPoint.y)),v.type!=="rel_b"&&R.attr("marker-end","url("+A+"#arrowhead)"),(v.type==="birel"||v.type==="rel_b")&&R.attr("marker-start","url("+A+"#arrowend)")}let P=u.messageFont();R7(u)(v.label.text,d,Math.min(v.startPoint.x,v.endPoint.x)+Math.abs(v.endPoint.x-v.startPoint.x)/2+E,Math.min(v.startPoint.y,v.endPoint.y)+Math.abs(v.endPoint.y-v.startPoint.y)/2+_,v.label.width,v.label.height,{fill:b},P),v.techn&&v.techn.text!==""&&(P=u.messageFont(),R7(u)("["+v.techn.text+"]",d,Math.min(v.startPoint.x,v.endPoint.x)+Math.abs(v.endPoint.x-v.startPoint.x)/2+E,Math.min(v.startPoint.y,v.endPoint.y)+Math.abs(v.endPoint.y-v.startPoint.y)/2+u.messageFontSize+5+_,Math.max(v.label.width,v.techn.width),v.techn.height,{fill:b,"font-style":"italic"},P))}},SVt=function(i,a,u){const d=i.append("g");let p=a.bgColor?a.bgColor:"none",v=a.borderColor?a.borderColor:"#444444",b=a.fontColor?a.fontColor:"black",y={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};a.nodeType&&(y={"stroke-width":1});let E={x:a.x,y:a.y,fill:p,stroke:v,width:a.width,height:a.height,rx:2.5,ry:2.5,attrs:y};ame(d,E);let _=u.boundaryFont();_.fontWeight="bold",_.fontSize=_.fontSize+2,_.fontColor=b,R7(u)(a.label.text,d,a.x,a.y+a.label.Y,a.width,a.height,{fill:"#444444"},_),a.type&&a.type.text!==""&&(_=u.boundaryFont(),_.fontColor=b,R7(u)(a.type.text,d,a.x,a.y+a.type.Y,a.width,a.height,{fill:"#444444"},_)),a.descr&&a.descr.text!==""&&(_=u.boundaryFont(),_.fontSize=_.fontSize-2,_.fontColor=b,R7(u)(a.descr.text,d,a.x,a.y+a.descr.Y,a.width,a.height,{fill:"#444444"},_))},_Vt=function(i,a,u){var P;let d=a.bgColor?a.bgColor:u[a.typeC4Shape.text+"_bg_color"],p=a.borderColor?a.borderColor:u[a.typeC4Shape.text+"_border_color"],v=a.fontColor?a.fontColor:"#FFFFFF",b="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";switch(a.typeC4Shape.text){case"person":b="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";break;case"external_person":b="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII=";break}const y=i.append("g");y.attr("class","person-man");const E=HC();switch(a.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":E.x=a.x,E.y=a.y,E.fill=d,E.width=a.width,E.height=a.height,E.stroke=p,E.rx=2.5,E.ry=2.5,E.attrs={"stroke-width":.5},ame(y,E);break;case"system_db":case"external_system_db":case"container_db":case"external_container_db":case"component_db":case"external_component_db":y.append("path").attr("fill",d).attr("stroke-width","0.5").attr("stroke",p).attr("d","Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx",a.x).replaceAll("starty",a.y).replaceAll("half",a.width/2).replaceAll("height",a.height)),y.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",p).attr("d","Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx",a.x).replaceAll("starty",a.y).replaceAll("half",a.width/2));break;case"system_queue":case"external_system_queue":case"container_queue":case"external_container_queue":case"component_queue":case"external_component_queue":y.append("path").attr("fill",d).attr("stroke-width","0.5").attr("stroke",p).attr("d","Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx",a.x).replaceAll("starty",a.y).replaceAll("width",a.width).replaceAll("half",a.height/2)),y.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",p).attr("d","Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx",a.x+a.width).replaceAll("starty",a.y).replaceAll("half",a.height/2));break}let _=BVt(u,a.typeC4Shape.text);switch(y.append("text").attr("fill",v).attr("font-family",_.fontFamily).attr("font-size",_.fontSize-2).attr("font-style","italic").attr("lengthAdjust","spacing").attr("textLength",a.typeC4Shape.width).attr("x",a.x+a.width/2-a.typeC4Shape.width/2).attr("y",a.y+a.typeC4Shape.Y).text("<<"+a.typeC4Shape.text+">>"),a.typeC4Shape.text){case"person":case"external_person":Zqe(y,48,48,a.x+a.width/2-24,a.y+a.image.Y,b);break}let A=u[a.typeC4Shape.text+"Font"]();return A.fontWeight="bold",A.fontSize=A.fontSize+2,A.fontColor=v,R7(u)(a.label.text,y,a.x,a.y+a.label.Y,a.width,a.height,{fill:v},A),A=u[a.typeC4Shape.text+"Font"](),A.fontColor=v,a.techn&&((P=a.techn)==null?void 0:P.text)!==""?R7(u)(a.techn.text,y,a.x,a.y+a.techn.Y,a.width,a.height,{fill:v,"font-style":"italic"},A):a.type&&a.type.text!==""&&R7(u)(a.type.text,y,a.x,a.y+a.type.Y,a.width,a.height,{fill:v,"font-style":"italic"},A),a.descr&&a.descr.text!==""&&(A=u.personFont(),A.fontColor=v,R7(u)(a.descr.text,y,a.x,a.y+a.descr.Y,a.width,a.height,{fill:v},A)),a.height},AVt=function(i){i.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},LVt=function(i){i.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},MVt=function(i){i.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},DVt=function(i){i.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},IVt=function(i){i.append("defs").append("marker").attr("id","arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")},OVt=function(i){i.append("defs").append("marker").attr("id","filled-head").attr("refX",18).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")},NVt=function(i){i.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},PVt=function(i){const u=i.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);u.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),u.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},BVt=(i,a)=>({fontFamily:i[a+"FontFamily"],fontSize:i[a+"FontSize"],fontWeight:i[a+"FontWeight"]}),R7=function(){function i(p,v,b,y,E,_,A){const P=v.append("text").attr("x",b+E/2).attr("y",y+_/2+5).style("text-anchor","middle").text(p);d(P,A)}function a(p,v,b,y,E,_,A,P){const{fontSize:R,fontFamily:B,fontWeight:j}=P,W=p.split(oi.lineBreakRegex);for(let ee=0;ee=this.data.widthLimit||d>=this.data.widthLimit||this.nextData.cnt>eHe)&&(u=this.nextData.startx+a.margin+$s.nextLinePaddingX,p=this.nextData.stopy+a.margin*2,this.nextData.stopx=d=u+a.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=v=p+a.height,this.nextData.cnt=1),a.x=u,a.y=p,this.updateVal(this.data,"startx",u,Math.min),this.updateVal(this.data,"starty",p,Math.min),this.updateVal(this.data,"stopx",d,Math.max),this.updateVal(this.data,"stopy",v,Math.max),this.updateVal(this.nextData,"startx",u,Math.min),this.updateVal(this.nextData,"starty",p,Math.min),this.updateVal(this.nextData,"stopx",d,Math.max),this.updateVal(this.nextData,"stopy",v,Math.max)}init(a){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},cme(a.db.getConfig())}bumpLastMargin(a){this.data.stopx+=a,this.data.stopy+=a}}const cme=function(i){Ud($s,i),i.fontFamily&&($s.personFontFamily=$s.systemFontFamily=$s.messageFontFamily=i.fontFamily),i.fontSize&&($s.personFontSize=$s.systemFontSize=$s.messageFontSize=i.fontSize),i.fontWeight&&($s.personFontWeight=$s.systemFontWeight=$s.messageFontWeight=i.fontWeight)},ER=(i,a)=>({fontFamily:i[a+"FontFamily"],fontSize:i[a+"FontSize"],fontWeight:i[a+"FontWeight"]}),VQ=i=>({fontFamily:i.boundaryFontFamily,fontSize:i.boundaryFontSize,fontWeight:i.boundaryFontWeight}),FVt=i=>({fontFamily:i.messageFontFamily,fontSize:i.messageFontSize,fontWeight:i.messageFontWeight});function U3(i,a,u,d,p){if(!a[i].width)if(u)a[i].text=zje(a[i].text,p,d),a[i].textLines=a[i].text.split(oi.lineBreakRegex).length,a[i].width=p,a[i].height=F2e(a[i].text,d);else{let v=a[i].text.split(oi.lineBreakRegex);a[i].textLines=v.length;let b=0;a[i].height=0,a[i].width=0;for(const y of v)a[i].width=Math.max(G4(y,d),a[i].width),b=F2e(y,d),a[i].height=a[i].height+b}}const nHe=function(i,a,u){a.x=u.data.startx,a.y=u.data.starty,a.width=u.data.stopx-u.data.startx,a.height=u.data.stopy-u.data.starty,a.label.y=$s.c4ShapeMargin-35;let d=a.wrap&&$s.wrap,p=VQ($s);p.fontSize=p.fontSize+2,p.fontWeight="bold";let v=G4(a.label.text,p);U3("label",a,d,p,v),e5.drawBoundary(i,a,$s)},rHe=function(i,a,u,d){let p=0;for(const v of d){p=0;const b=u[v];let y=ER($s,b.typeC4Shape.text);switch(y.fontSize=y.fontSize-2,b.typeC4Shape.width=G4("«"+b.typeC4Shape.text+"»",y),b.typeC4Shape.height=y.fontSize+2,b.typeC4Shape.Y=$s.c4ShapePadding,p=b.typeC4Shape.Y+b.typeC4Shape.height-4,b.image={width:0,height:0,Y:0},b.typeC4Shape.text){case"person":case"external_person":b.image.width=48,b.image.height=48,b.image.Y=p,p=b.image.Y+b.image.height;break}b.sprite&&(b.image.width=48,b.image.height=48,b.image.Y=p,p=b.image.Y+b.image.height);let E=b.wrap&&$s.wrap,_=$s.width-$s.c4ShapePadding*2,A=ER($s,b.typeC4Shape.text);if(A.fontSize=A.fontSize+2,A.fontWeight="bold",U3("label",b,E,A,_),b.label.Y=p+8,p=b.label.Y+b.label.height,b.type&&b.type.text!==""){b.type.text="["+b.type.text+"]";let B=ER($s,b.typeC4Shape.text);U3("type",b,E,B,_),b.type.Y=p+5,p=b.type.Y+b.type.height}else if(b.techn&&b.techn.text!==""){b.techn.text="["+b.techn.text+"]";let B=ER($s,b.techn.text);U3("techn",b,E,B,_),b.techn.Y=p+5,p=b.techn.Y+b.techn.height}let P=p,R=b.label.width;if(b.descr&&b.descr.text!==""){let B=ER($s,b.typeC4Shape.text);U3("descr",b,E,B,_),b.descr.Y=p+20,p=b.descr.Y+b.descr.height,R=Math.max(b.label.width,b.descr.width),P=p-b.descr.textLines*5}R=R+$s.c4ShapePadding,b.width=Math.max(b.width||$s.width,R,$s.width),b.height=Math.max(b.height||$s.height,P,$s.height),b.margin=b.margin||$s.c4ShapeMargin,i.insert(b),e5.drawC4Shape(a,b,$s)}i.bumpLastMargin($s.c4ShapeMargin)};let Gv=class{constructor(a,u){this.x=a,this.y=u}},iHe=function(i,a){let u=i.x,d=i.y,p=a.x,v=a.y,b=u+i.width/2,y=d+i.height/2,E=Math.abs(u-p),_=Math.abs(d-v),A=_/E,P=i.height/i.width,R=null;return d==v&&up?R=new Gv(u,y):u==p&&dv&&(R=new Gv(b,d)),u>p&&d=A?R=new Gv(u,y+A*i.width/2):R=new Gv(b-E/_*i.height/2,d+i.height):u=A?R=new Gv(u+i.width,y+A*i.width/2):R=new Gv(b+E/_*i.height/2,d+i.height):uv?P>=A?R=new Gv(u+i.width,y-A*i.width/2):R=new Gv(b+i.height/2*E/_,d):u>p&&d>v&&(P>=A?R=new Gv(u,y-i.width/2*A):R=new Gv(b-i.height/2*E/_,d)),R},RVt=function(i,a){let u={x:0,y:0};u.x=a.x+a.width/2,u.y=a.y+a.height/2;let d=iHe(i,u);u.x=i.x+i.width/2,u.y=i.y+i.height/2;let p=iHe(a,u);return{startPoint:d,endPoint:p}};const jVt=function(i,a,u,d){let p=0;for(let v of a){p=p+1;let b=v.wrap&&$s.wrap,y=FVt($s);d.db.getC4Type()==="C4Dynamic"&&(v.label.text=p+": "+v.label.text);let _=G4(v.label.text,y);U3("label",v,b,y,_),v.techn&&v.techn.text!==""&&(_=G4(v.techn.text,y),U3("techn",v,b,y,_)),v.descr&&v.descr.text!==""&&(_=G4(v.descr.text,y),U3("descr",v,b,y,_));let A=u(v.from),P=u(v.to),R=RVt(A,P);v.startPoint=R.startPoint,v.endPoint=R.endPoint}e5.drawRels(i,a,$s)};function sHe(i,a,u,d,p){let v=new tHe(p);v.data.widthLimit=u.data.widthLimit/Math.min(ome,d.length);for(let[b,y]of d.entries()){let E=0;y.image={width:0,height:0,Y:0},y.sprite&&(y.image.width=48,y.image.height=48,y.image.Y=E,E=y.image.Y+y.image.height);let _=y.wrap&&$s.wrap,A=VQ($s);if(A.fontSize=A.fontSize+2,A.fontWeight="bold",U3("label",y,_,A,v.data.widthLimit),y.label.Y=E+8,E=y.label.Y+y.label.height,y.type&&y.type.text!==""){y.type.text="["+y.type.text+"]";let j=VQ($s);U3("type",y,_,j,v.data.widthLimit),y.type.Y=E+5,E=y.type.Y+y.type.height}if(y.descr&&y.descr.text!==""){let j=VQ($s);j.fontSize=j.fontSize-2,U3("descr",y,_,j,v.data.widthLimit),y.descr.Y=E+20,E=y.descr.Y+y.descr.height}if(b==0||b%ome===0){let j=u.data.startx+$s.diagramMarginX,W=u.data.stopy+$s.diagramMarginY+E;v.setData(j,j,W,W)}else{let j=v.data.stopx!==v.data.startx?v.data.stopx+$s.diagramMarginX:v.data.startx,W=v.data.starty;v.setData(j,j,W,W)}v.name=y.alias;let P=p.db.getC4ShapeArray(y.alias),R=p.db.getC4ShapeKeys(y.alias);R.length>0&&rHe(v,i,P,R),a=y.alias;let B=p.db.getBoundarys(a);B.length>0&&sHe(i,a,v,B,p),y.alias!=="global"&&nHe(i,y,v),u.data.stopy=Math.max(v.data.stopy+$s.c4ShapeMargin,u.data.stopy),u.data.stopx=Math.max(v.data.stopx+$s.c4ShapeMargin,u.data.stopx),HQ=Math.max(HQ,u.data.stopx),UQ=Math.max(UQ,u.data.stopy)}}const aHe={drawPersonOrSystemArray:rHe,drawBoundary:nHe,setConf:cme,draw:function(i,a,u,d){$s=qt().c4;const p=qt().securityLevel;let v;p==="sandbox"&&(v=Dr("#i"+a));const b=Dr(p==="sandbox"?v.nodes()[0].contentDocument.body:"body");let y=d.db;d.db.setWrap($s.wrap),eHe=y.getC4ShapeInRow(),ome=y.getC4BoundaryInRow(),Xe.debug(`C:${JSON.stringify($s,null,2)}`);const E=p==="sandbox"?b.select(`[id="${a}"]`):Dr(`[id="${a}"]`);e5.insertComputerIcon(E),e5.insertDatabaseIcon(E),e5.insertClockIcon(E);let _=new tHe(d);_.setData($s.diagramMarginX,$s.diagramMarginX,$s.diagramMarginY,$s.diagramMarginY),_.data.widthLimit=screen.availWidth,HQ=$s.diagramMarginX,UQ=$s.diagramMarginY;const A=d.db.getTitle();let P=d.db.getBoundarys("");sHe(E,"",_,P,d),e5.insertArrowHead(E),e5.insertArrowEnd(E),e5.insertArrowCrossHead(E),e5.insertArrowFilledHead(E),jVt(E,d.db.getRels(),d.db.getC4Shape,d),_.data.stopx=HQ,_.data.stopy=UQ;const R=_.data;let j=R.stopy-R.starty+2*$s.diagramMarginY;const ee=R.stopx-R.startx+2*$s.diagramMarginX;A&&E.append("text").text(A).attr("x",(R.stopx-R.startx)/2-4*$s.diagramMarginX).attr("y",R.starty+$s.diagramMarginY),Fg(E,j,ee,$s.useMaxWidth);const ie=A?60:0;E.attr("viewBox",R.startx-$s.diagramMarginX+" -"+($s.diagramMarginY+ie)+" "+ee+" "+(j+ie)),Xe.debug("models:",R)}},$Vt=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:JUt,db:ime,renderer:aHe,styles:i=>`.person { - stroke: ${i.personBorder}; - fill: ${i.personBkg}; - } -`,init:({c4:i,wrap:a})=>{aHe.setConf(i),ime.setWrap(a)}}},Symbol.toStringTag,{value:"Module"}));var ume=function(){var i=function(Qo,Hi,Ui,zs){for(Ui=Ui||{},zs=Qo.length;zs--;Ui[Qo[zs]]=Hi);return Ui},a=[1,4],u=[1,3],d=[1,5],p=[1,8,9,10,11,27,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],v=[2,2],b=[1,13],y=[1,14],E=[1,15],_=[1,16],A=[1,23],P=[1,25],R=[1,26],B=[1,27],j=[1,49],W=[1,48],ee=[1,29],ie=[1,30],oe=[1,31],be=[1,32],ge=[1,33],ae=[1,44],ne=[1,46],se=[1,42],de=[1,47],X=[1,43],pe=[1,50],G=[1,45],xe=[1,51],U=[1,52],Be=[1,34],Pe=[1,35],je=[1,36],Ie=[1,37],Se=[1,57],Ce=[1,8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],ke=[1,61],Ke=[1,60],zt=[1,62],Ne=[8,9,11,73,75],pn=[1,88],Tt=[1,93],Et=[1,92],Wt=[1,89],un=[1,85],yt=[1,91],Bt=[1,87],Ze=[1,94],Dt=[1,90],kt=[1,95],Nn=[1,86],ht=[8,9,10,11,73,75],qr=[8,9,10,11,44,73,75],xt=[8,9,10,11,29,42,44,46,48,50,52,54,56,58,61,63,65,66,68,73,75,86,99,102,103,106,108,111,112,113],Ri=[8,9,11,42,58,73,75,86,99,102,103,106,108,111,112,113],wi=[42,58,86,99,102,103,106,108,111,112,113],ia=[1,121],Hs=[1,120],mo=[1,128],Tr=[1,142],On=[1,143],Rn=[1,144],zn=[1,145],Ct=[1,130],gt=[1,132],on=[1,136],dn=[1,137],Ln=[1,138],Io=[1,139],Oo=[1,140],No=[1,141],Us=[1,146],uo=[1,147],Es=[1,126],Ou=[1,127],_c=[1,134],Kd=[1,129],qp=[1,133],Ul=[1,131],Ac=[8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],Jc=[1,149],Ya=[8,9,11],Ba=[8,9,10,11,14,42,58,86,102,103,106,108,111,112,113],ha=[1,169],$o=[1,165],Lc=[1,166],Fa=[1,170],Ra=[1,167],ma=[1,168],Kh=[75,113,116],Po=[8,9,10,11,12,14,27,29,32,42,58,73,81,82,83,84,85,86,87,102,106,108,111,112,113],Hp=[10,103],Ug=[31,47,49,51,53,55,60,62,64,65,67,69,113,114,115],ad=[1,235],od=[1,233],w1=[1,237],kh=[1,231],Wd=[1,232],Yd=[1,234],Xd=[1,236],Zf=[1,238],Up=[1,255],u5=[8,9,11,103],bs=[8,9,10,11,58,81,102,103,106,107,108,109],Vt={trace:function(){},yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,link:39,node:40,styledVertex:41,AMP:42,vertex:43,STYLE_SEPARATOR:44,idString:45,DOUBLECIRCLESTART:46,DOUBLECIRCLEEND:47,PS:48,PE:49,"(-":50,"-)":51,STADIUMSTART:52,STADIUMEND:53,SUBROUTINESTART:54,SUBROUTINEEND:55,VERTEX_WITH_PROPS_START:56,"NODE_STRING[field]":57,COLON:58,"NODE_STRING[value]":59,PIPE:60,CYLINDERSTART:61,CYLINDEREND:62,DIAMOND_START:63,DIAMOND_STOP:64,TAGEND:65,TRAPSTART:66,TRAPEND:67,INVTRAPSTART:68,INVTRAPEND:69,linkStatement:70,arrowText:71,TESTSTR:72,START_LINK:73,edgeText:74,LINK:75,edgeTextToken:76,STR:77,MD_STR:78,textToken:79,keywords:80,STYLE:81,LINKSTYLE:82,CLASSDEF:83,CLASS:84,CLICK:85,DOWN:86,UP:87,textNoTagsToken:88,stylesOpt:89,"idString[vertex]":90,"idString[class]":91,CALLBACKNAME:92,CALLBACKARGS:93,HREF:94,LINK_TARGET:95,"STR[link]":96,"STR[tooltip]":97,alphaNum:98,DEFAULT:99,numList:100,INTERPOLATE:101,NUM:102,COMMA:103,style:104,styleComponent:105,NODE_STRING:106,UNIT:107,BRKT:108,PCT:109,idStringToken:110,MINUS:111,MULT:112,UNICODE_TEXT:113,TEXT:114,TAGSTART:115,EDGE_TEXT:116,alphaNumToken:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",42:"AMP",44:"STYLE_SEPARATOR",46:"DOUBLECIRCLESTART",47:"DOUBLECIRCLEEND",48:"PS",49:"PE",50:"(-",51:"-)",52:"STADIUMSTART",53:"STADIUMEND",54:"SUBROUTINESTART",55:"SUBROUTINEEND",56:"VERTEX_WITH_PROPS_START",57:"NODE_STRING[field]",58:"COLON",59:"NODE_STRING[value]",60:"PIPE",61:"CYLINDERSTART",62:"CYLINDEREND",63:"DIAMOND_START",64:"DIAMOND_STOP",65:"TAGEND",66:"TRAPSTART",67:"TRAPEND",68:"INVTRAPSTART",69:"INVTRAPEND",72:"TESTSTR",73:"START_LINK",75:"LINK",77:"STR",78:"MD_STR",81:"STYLE",82:"LINKSTYLE",83:"CLASSDEF",84:"CLASS",85:"CLICK",86:"DOWN",87:"UP",90:"idString[vertex]",91:"idString[class]",92:"CALLBACKNAME",93:"CALLBACKARGS",94:"HREF",95:"LINK_TARGET",96:"STR[link]",97:"STR[tooltip]",99:"DEFAULT",101:"INTERPOLATE",102:"NUM",103:"COMMA",106:"NODE_STRING",107:"UNIT",108:"BRKT",109:"PCT",111:"MINUS",112:"MULT",113:"UNICODE_TEXT",114:"TEXT",115:"TAGSTART",116:"EDGE_TEXT",118:"direction_tb",119:"direction_bt",120:"direction_rl",121:"direction_lr"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[20,3],[20,4],[20,2],[20,1],[40,1],[40,5],[41,1],[41,3],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,8],[43,4],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,4],[43,4],[43,1],[39,2],[39,3],[39,3],[39,1],[39,3],[74,1],[74,2],[74,1],[74,1],[70,1],[71,3],[30,1],[30,2],[30,1],[30,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[100,1],[100,3],[89,1],[89,3],[104,1],[104,2],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[79,1],[79,1],[79,1],[79,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[76,1],[76,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[45,1],[45,2],[98,1],[98,2],[33,1],[33,1],[33,1],[33,1]],performAction:function(Hi,Ui,zs,gi,Bo,Ot,zu){var Gt=Ot.length-1;switch(Bo){case 2:this.$=[];break;case 3:(!Array.isArray(Ot[Gt])||Ot[Gt].length>0)&&Ot[Gt-1].push(Ot[Gt]),this.$=Ot[Gt-1];break;case 4:case 176:this.$=Ot[Gt];break;case 11:gi.setDirection("TB"),this.$="TB";break;case 12:gi.setDirection(Ot[Gt-1]),this.$=Ot[Gt-1];break;case 27:this.$=Ot[Gt-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=gi.addSubGraph(Ot[Gt-6],Ot[Gt-1],Ot[Gt-4]);break;case 34:this.$=gi.addSubGraph(Ot[Gt-3],Ot[Gt-1],Ot[Gt-3]);break;case 35:this.$=gi.addSubGraph(void 0,Ot[Gt-1],void 0);break;case 37:this.$=Ot[Gt].trim(),gi.setAccTitle(this.$);break;case 38:case 39:this.$=Ot[Gt].trim(),gi.setAccDescription(this.$);break;case 43:gi.addLink(Ot[Gt-2].stmt,Ot[Gt],Ot[Gt-1]),this.$={stmt:Ot[Gt],nodes:Ot[Gt].concat(Ot[Gt-2].nodes)};break;case 44:gi.addLink(Ot[Gt-3].stmt,Ot[Gt-1],Ot[Gt-2]),this.$={stmt:Ot[Gt-1],nodes:Ot[Gt-1].concat(Ot[Gt-3].nodes)};break;case 45:this.$={stmt:Ot[Gt-1],nodes:Ot[Gt-1]};break;case 46:this.$={stmt:Ot[Gt],nodes:Ot[Gt]};break;case 47:this.$=[Ot[Gt]];break;case 48:this.$=Ot[Gt-4].concat(Ot[Gt]);break;case 49:this.$=Ot[Gt];break;case 50:this.$=Ot[Gt-2],gi.setClass(Ot[Gt-2],Ot[Gt]);break;case 51:this.$=Ot[Gt-3],gi.addVertex(Ot[Gt-3],Ot[Gt-1],"square");break;case 52:this.$=Ot[Gt-3],gi.addVertex(Ot[Gt-3],Ot[Gt-1],"doublecircle");break;case 53:this.$=Ot[Gt-5],gi.addVertex(Ot[Gt-5],Ot[Gt-2],"circle");break;case 54:this.$=Ot[Gt-3],gi.addVertex(Ot[Gt-3],Ot[Gt-1],"ellipse");break;case 55:this.$=Ot[Gt-3],gi.addVertex(Ot[Gt-3],Ot[Gt-1],"stadium");break;case 56:this.$=Ot[Gt-3],gi.addVertex(Ot[Gt-3],Ot[Gt-1],"subroutine");break;case 57:this.$=Ot[Gt-7],gi.addVertex(Ot[Gt-7],Ot[Gt-1],"rect",void 0,void 0,void 0,Object.fromEntries([[Ot[Gt-5],Ot[Gt-3]]]));break;case 58:this.$=Ot[Gt-3],gi.addVertex(Ot[Gt-3],Ot[Gt-1],"cylinder");break;case 59:this.$=Ot[Gt-3],gi.addVertex(Ot[Gt-3],Ot[Gt-1],"round");break;case 60:this.$=Ot[Gt-3],gi.addVertex(Ot[Gt-3],Ot[Gt-1],"diamond");break;case 61:this.$=Ot[Gt-5],gi.addVertex(Ot[Gt-5],Ot[Gt-2],"hexagon");break;case 62:this.$=Ot[Gt-3],gi.addVertex(Ot[Gt-3],Ot[Gt-1],"odd");break;case 63:this.$=Ot[Gt-3],gi.addVertex(Ot[Gt-3],Ot[Gt-1],"trapezoid");break;case 64:this.$=Ot[Gt-3],gi.addVertex(Ot[Gt-3],Ot[Gt-1],"inv_trapezoid");break;case 65:this.$=Ot[Gt-3],gi.addVertex(Ot[Gt-3],Ot[Gt-1],"lean_right");break;case 66:this.$=Ot[Gt-3],gi.addVertex(Ot[Gt-3],Ot[Gt-1],"lean_left");break;case 67:this.$=Ot[Gt],gi.addVertex(Ot[Gt]);break;case 68:Ot[Gt-1].text=Ot[Gt],this.$=Ot[Gt-1];break;case 69:case 70:Ot[Gt-2].text=Ot[Gt-1],this.$=Ot[Gt-2];break;case 71:this.$=Ot[Gt];break;case 72:var Wh=gi.destructLink(Ot[Gt],Ot[Gt-2]);this.$={type:Wh.type,stroke:Wh.stroke,length:Wh.length,text:Ot[Gt-1]};break;case 73:this.$={text:Ot[Gt],type:"text"};break;case 74:this.$={text:Ot[Gt-1].text+""+Ot[Gt],type:Ot[Gt-1].type};break;case 75:this.$={text:Ot[Gt],type:"string"};break;case 76:this.$={text:Ot[Gt],type:"markdown"};break;case 77:var Wh=gi.destructLink(Ot[Gt]);this.$={type:Wh.type,stroke:Wh.stroke,length:Wh.length};break;case 78:this.$=Ot[Gt-1];break;case 79:this.$={text:Ot[Gt],type:"text"};break;case 80:this.$={text:Ot[Gt-1].text+""+Ot[Gt],type:Ot[Gt-1].type};break;case 81:this.$={text:Ot[Gt],type:"string"};break;case 82:case 97:this.$={text:Ot[Gt],type:"markdown"};break;case 94:this.$={text:Ot[Gt],type:"text"};break;case 95:this.$={text:Ot[Gt-1].text+""+Ot[Gt],type:Ot[Gt-1].type};break;case 96:this.$={text:Ot[Gt],type:"text"};break;case 98:this.$=Ot[Gt-4],gi.addClass(Ot[Gt-2],Ot[Gt]);break;case 99:this.$=Ot[Gt-4],gi.setClass(Ot[Gt-2],Ot[Gt]);break;case 100:case 108:this.$=Ot[Gt-1],gi.setClickEvent(Ot[Gt-1],Ot[Gt]);break;case 101:case 109:this.$=Ot[Gt-3],gi.setClickEvent(Ot[Gt-3],Ot[Gt-2]),gi.setTooltip(Ot[Gt-3],Ot[Gt]);break;case 102:this.$=Ot[Gt-2],gi.setClickEvent(Ot[Gt-2],Ot[Gt-1],Ot[Gt]);break;case 103:this.$=Ot[Gt-4],gi.setClickEvent(Ot[Gt-4],Ot[Gt-3],Ot[Gt-2]),gi.setTooltip(Ot[Gt-4],Ot[Gt]);break;case 104:this.$=Ot[Gt-2],gi.setLink(Ot[Gt-2],Ot[Gt]);break;case 105:this.$=Ot[Gt-4],gi.setLink(Ot[Gt-4],Ot[Gt-2]),gi.setTooltip(Ot[Gt-4],Ot[Gt]);break;case 106:this.$=Ot[Gt-4],gi.setLink(Ot[Gt-4],Ot[Gt-2],Ot[Gt]);break;case 107:this.$=Ot[Gt-6],gi.setLink(Ot[Gt-6],Ot[Gt-4],Ot[Gt]),gi.setTooltip(Ot[Gt-6],Ot[Gt-2]);break;case 110:this.$=Ot[Gt-1],gi.setLink(Ot[Gt-1],Ot[Gt]);break;case 111:this.$=Ot[Gt-3],gi.setLink(Ot[Gt-3],Ot[Gt-2]),gi.setTooltip(Ot[Gt-3],Ot[Gt]);break;case 112:this.$=Ot[Gt-3],gi.setLink(Ot[Gt-3],Ot[Gt-2],Ot[Gt]);break;case 113:this.$=Ot[Gt-5],gi.setLink(Ot[Gt-5],Ot[Gt-4],Ot[Gt]),gi.setTooltip(Ot[Gt-5],Ot[Gt-2]);break;case 114:this.$=Ot[Gt-4],gi.addVertex(Ot[Gt-2],void 0,void 0,Ot[Gt]);break;case 115:this.$=Ot[Gt-4],gi.updateLink([Ot[Gt-2]],Ot[Gt]);break;case 116:this.$=Ot[Gt-4],gi.updateLink(Ot[Gt-2],Ot[Gt]);break;case 117:this.$=Ot[Gt-8],gi.updateLinkInterpolate([Ot[Gt-6]],Ot[Gt-2]),gi.updateLink([Ot[Gt-6]],Ot[Gt]);break;case 118:this.$=Ot[Gt-8],gi.updateLinkInterpolate(Ot[Gt-6],Ot[Gt-2]),gi.updateLink(Ot[Gt-6],Ot[Gt]);break;case 119:this.$=Ot[Gt-6],gi.updateLinkInterpolate([Ot[Gt-4]],Ot[Gt]);break;case 120:this.$=Ot[Gt-6],gi.updateLinkInterpolate(Ot[Gt-4],Ot[Gt]);break;case 121:case 123:this.$=[Ot[Gt]];break;case 122:case 124:Ot[Gt-2].push(Ot[Gt]),this.$=Ot[Gt-2];break;case 126:this.$=Ot[Gt-1]+Ot[Gt];break;case 174:this.$=Ot[Gt];break;case 175:this.$=Ot[Gt-1]+""+Ot[Gt];break;case 177:this.$=Ot[Gt-1]+""+Ot[Gt];break;case 178:this.$={stmt:"dir",value:"TB"};break;case 179:this.$={stmt:"dir",value:"BT"};break;case 180:this.$={stmt:"dir",value:"RL"};break;case 181:this.$={stmt:"dir",value:"LR"};break}},table:[{3:1,4:2,9:a,10:u,12:d},{1:[3]},i(p,v,{5:6}),{4:7,9:a,10:u,12:d},{4:8,9:a,10:u,12:d},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:b,9:y,10:E,11:_,20:17,22:18,23:19,24:20,25:21,26:22,27:A,33:24,34:P,36:R,38:B,40:28,41:38,42:j,43:39,45:40,58:W,81:ee,82:ie,83:oe,84:be,85:ge,86:ae,99:ne,102:se,103:de,106:X,108:pe,110:41,111:G,112:xe,113:U,118:Be,119:Pe,120:je,121:Ie},i(p,[2,9]),i(p,[2,10]),i(p,[2,11]),{8:[1,54],9:[1,55],10:Se,15:53,18:56},i(Ce,[2,3]),i(Ce,[2,4]),i(Ce,[2,5]),i(Ce,[2,6]),i(Ce,[2,7]),i(Ce,[2,8]),{8:ke,9:Ke,11:zt,21:58,39:59,70:63,73:[1,64],75:[1,65]},{8:ke,9:Ke,11:zt,21:66},{8:ke,9:Ke,11:zt,21:67},{8:ke,9:Ke,11:zt,21:68},{8:ke,9:Ke,11:zt,21:69},{8:ke,9:Ke,11:zt,21:70},{8:ke,9:Ke,10:[1,71],11:zt,21:72},i(Ce,[2,36]),{35:[1,73]},{37:[1,74]},i(Ce,[2,39]),i(Ne,[2,46],{18:75,10:Se}),{10:[1,76]},{10:[1,77]},{10:[1,78]},{10:[1,79]},{14:pn,42:Tt,58:Et,77:[1,83],86:Wt,92:[1,80],94:[1,81],98:82,102:un,103:yt,106:Bt,108:Ze,111:Dt,112:kt,113:Nn,117:84},i(Ce,[2,178]),i(Ce,[2,179]),i(Ce,[2,180]),i(Ce,[2,181]),i(ht,[2,47]),i(ht,[2,49],{44:[1,96]}),i(qr,[2,67],{110:109,29:[1,97],42:j,46:[1,98],48:[1,99],50:[1,100],52:[1,101],54:[1,102],56:[1,103],58:W,61:[1,104],63:[1,105],65:[1,106],66:[1,107],68:[1,108],86:ae,99:ne,102:se,103:de,106:X,108:pe,111:G,112:xe,113:U}),i(xt,[2,174]),i(xt,[2,135]),i(xt,[2,136]),i(xt,[2,137]),i(xt,[2,138]),i(xt,[2,139]),i(xt,[2,140]),i(xt,[2,141]),i(xt,[2,142]),i(xt,[2,143]),i(xt,[2,144]),i(xt,[2,145]),i(p,[2,12]),i(p,[2,18]),i(p,[2,19]),{9:[1,110]},i(Ri,[2,26],{18:111,10:Se}),i(Ce,[2,27]),{40:112,41:38,42:j,43:39,45:40,58:W,86:ae,99:ne,102:se,103:de,106:X,108:pe,110:41,111:G,112:xe,113:U},i(Ce,[2,40]),i(Ce,[2,41]),i(Ce,[2,42]),i(wi,[2,71],{71:113,60:[1,115],72:[1,114]}),{74:116,76:117,77:[1,118],78:[1,119],113:ia,116:Hs},i([42,58,60,72,86,99,102,103,106,108,111,112,113],[2,77]),i(Ce,[2,28]),i(Ce,[2,29]),i(Ce,[2,30]),i(Ce,[2,31]),i(Ce,[2,32]),{10:mo,12:Tr,14:On,27:Rn,28:122,32:zn,42:Ct,58:gt,73:on,77:[1,124],78:[1,125],80:135,81:dn,82:Ln,83:Io,84:Oo,85:No,86:Us,87:uo,88:123,102:Es,106:Ou,108:_c,111:Kd,112:qp,113:Ul},i(Ac,v,{5:148}),i(Ce,[2,37]),i(Ce,[2,38]),i(Ne,[2,45],{42:Jc}),{42:j,45:150,58:W,86:ae,99:ne,102:se,103:de,106:X,108:pe,110:41,111:G,112:xe,113:U},{99:[1,151],100:152,102:[1,153]},{42:j,45:154,58:W,86:ae,99:ne,102:se,103:de,106:X,108:pe,110:41,111:G,112:xe,113:U},{42:j,45:155,58:W,86:ae,99:ne,102:se,103:de,106:X,108:pe,110:41,111:G,112:xe,113:U},i(Ya,[2,100],{10:[1,156],93:[1,157]}),{77:[1,158]},i(Ya,[2,108],{117:160,10:[1,159],14:pn,42:Tt,58:Et,86:Wt,102:un,103:yt,106:Bt,108:Ze,111:Dt,112:kt,113:Nn}),i(Ya,[2,110],{10:[1,161]}),i(Ba,[2,176]),i(Ba,[2,163]),i(Ba,[2,164]),i(Ba,[2,165]),i(Ba,[2,166]),i(Ba,[2,167]),i(Ba,[2,168]),i(Ba,[2,169]),i(Ba,[2,170]),i(Ba,[2,171]),i(Ba,[2,172]),i(Ba,[2,173]),{42:j,45:162,58:W,86:ae,99:ne,102:se,103:de,106:X,108:pe,110:41,111:G,112:xe,113:U},{30:163,65:ha,77:$o,78:Lc,79:164,113:Fa,114:Ra,115:ma},{30:171,65:ha,77:$o,78:Lc,79:164,113:Fa,114:Ra,115:ma},{30:173,48:[1,172],65:ha,77:$o,78:Lc,79:164,113:Fa,114:Ra,115:ma},{30:174,65:ha,77:$o,78:Lc,79:164,113:Fa,114:Ra,115:ma},{30:175,65:ha,77:$o,78:Lc,79:164,113:Fa,114:Ra,115:ma},{30:176,65:ha,77:$o,78:Lc,79:164,113:Fa,114:Ra,115:ma},{106:[1,177]},{30:178,65:ha,77:$o,78:Lc,79:164,113:Fa,114:Ra,115:ma},{30:179,63:[1,180],65:ha,77:$o,78:Lc,79:164,113:Fa,114:Ra,115:ma},{30:181,65:ha,77:$o,78:Lc,79:164,113:Fa,114:Ra,115:ma},{30:182,65:ha,77:$o,78:Lc,79:164,113:Fa,114:Ra,115:ma},{30:183,65:ha,77:$o,78:Lc,79:164,113:Fa,114:Ra,115:ma},i(xt,[2,175]),i(p,[2,20]),i(Ri,[2,25]),i(Ne,[2,43],{18:184,10:Se}),i(wi,[2,68],{10:[1,185]}),{10:[1,186]},{30:187,65:ha,77:$o,78:Lc,79:164,113:Fa,114:Ra,115:ma},{75:[1,188],76:189,113:ia,116:Hs},i(Kh,[2,73]),i(Kh,[2,75]),i(Kh,[2,76]),i(Kh,[2,161]),i(Kh,[2,162]),{8:ke,9:Ke,10:mo,11:zt,12:Tr,14:On,21:191,27:Rn,29:[1,190],32:zn,42:Ct,58:gt,73:on,80:135,81:dn,82:Ln,83:Io,84:Oo,85:No,86:Us,87:uo,88:192,102:Es,106:Ou,108:_c,111:Kd,112:qp,113:Ul},i(Po,[2,94]),i(Po,[2,96]),i(Po,[2,97]),i(Po,[2,150]),i(Po,[2,151]),i(Po,[2,152]),i(Po,[2,153]),i(Po,[2,154]),i(Po,[2,155]),i(Po,[2,156]),i(Po,[2,157]),i(Po,[2,158]),i(Po,[2,159]),i(Po,[2,160]),i(Po,[2,83]),i(Po,[2,84]),i(Po,[2,85]),i(Po,[2,86]),i(Po,[2,87]),i(Po,[2,88]),i(Po,[2,89]),i(Po,[2,90]),i(Po,[2,91]),i(Po,[2,92]),i(Po,[2,93]),{6:11,7:12,8:b,9:y,10:E,11:_,20:17,22:18,23:19,24:20,25:21,26:22,27:A,32:[1,193],33:24,34:P,36:R,38:B,40:28,41:38,42:j,43:39,45:40,58:W,81:ee,82:ie,83:oe,84:be,85:ge,86:ae,99:ne,102:se,103:de,106:X,108:pe,110:41,111:G,112:xe,113:U,118:Be,119:Pe,120:je,121:Ie},{10:Se,18:194},{10:[1,195],42:j,58:W,86:ae,99:ne,102:se,103:de,106:X,108:pe,110:109,111:G,112:xe,113:U},{10:[1,196]},{10:[1,197],103:[1,198]},i(Hp,[2,121]),{10:[1,199],42:j,58:W,86:ae,99:ne,102:se,103:de,106:X,108:pe,110:109,111:G,112:xe,113:U},{10:[1,200],42:j,58:W,86:ae,99:ne,102:se,103:de,106:X,108:pe,110:109,111:G,112:xe,113:U},{77:[1,201]},i(Ya,[2,102],{10:[1,202]}),i(Ya,[2,104],{10:[1,203]}),{77:[1,204]},i(Ba,[2,177]),{77:[1,205],95:[1,206]},i(ht,[2,50],{110:109,42:j,58:W,86:ae,99:ne,102:se,103:de,106:X,108:pe,111:G,112:xe,113:U}),{31:[1,207],65:ha,79:208,113:Fa,114:Ra,115:ma},i(Ug,[2,79]),i(Ug,[2,81]),i(Ug,[2,82]),i(Ug,[2,146]),i(Ug,[2,147]),i(Ug,[2,148]),i(Ug,[2,149]),{47:[1,209],65:ha,79:208,113:Fa,114:Ra,115:ma},{30:210,65:ha,77:$o,78:Lc,79:164,113:Fa,114:Ra,115:ma},{49:[1,211],65:ha,79:208,113:Fa,114:Ra,115:ma},{51:[1,212],65:ha,79:208,113:Fa,114:Ra,115:ma},{53:[1,213],65:ha,79:208,113:Fa,114:Ra,115:ma},{55:[1,214],65:ha,79:208,113:Fa,114:Ra,115:ma},{58:[1,215]},{62:[1,216],65:ha,79:208,113:Fa,114:Ra,115:ma},{64:[1,217],65:ha,79:208,113:Fa,114:Ra,115:ma},{30:218,65:ha,77:$o,78:Lc,79:164,113:Fa,114:Ra,115:ma},{31:[1,219],65:ha,79:208,113:Fa,114:Ra,115:ma},{65:ha,67:[1,220],69:[1,221],79:208,113:Fa,114:Ra,115:ma},{65:ha,67:[1,223],69:[1,222],79:208,113:Fa,114:Ra,115:ma},i(Ne,[2,44],{42:Jc}),i(wi,[2,70]),i(wi,[2,69]),{60:[1,224],65:ha,79:208,113:Fa,114:Ra,115:ma},i(wi,[2,72]),i(Kh,[2,74]),{30:225,65:ha,77:$o,78:Lc,79:164,113:Fa,114:Ra,115:ma},i(Ac,v,{5:226}),i(Po,[2,95]),i(Ce,[2,35]),{41:227,42:j,43:39,45:40,58:W,86:ae,99:ne,102:se,103:de,106:X,108:pe,110:41,111:G,112:xe,113:U},{10:ad,58:od,81:w1,89:228,102:kh,104:229,105:230,106:Wd,107:Yd,108:Xd,109:Zf},{10:ad,58:od,81:w1,89:239,101:[1,240],102:kh,104:229,105:230,106:Wd,107:Yd,108:Xd,109:Zf},{10:ad,58:od,81:w1,89:241,101:[1,242],102:kh,104:229,105:230,106:Wd,107:Yd,108:Xd,109:Zf},{102:[1,243]},{10:ad,58:od,81:w1,89:244,102:kh,104:229,105:230,106:Wd,107:Yd,108:Xd,109:Zf},{42:j,45:245,58:W,86:ae,99:ne,102:se,103:de,106:X,108:pe,110:41,111:G,112:xe,113:U},i(Ya,[2,101]),{77:[1,246]},{77:[1,247],95:[1,248]},i(Ya,[2,109]),i(Ya,[2,111],{10:[1,249]}),i(Ya,[2,112]),i(qr,[2,51]),i(Ug,[2,80]),i(qr,[2,52]),{49:[1,250],65:ha,79:208,113:Fa,114:Ra,115:ma},i(qr,[2,59]),i(qr,[2,54]),i(qr,[2,55]),i(qr,[2,56]),{106:[1,251]},i(qr,[2,58]),i(qr,[2,60]),{64:[1,252],65:ha,79:208,113:Fa,114:Ra,115:ma},i(qr,[2,62]),i(qr,[2,63]),i(qr,[2,65]),i(qr,[2,64]),i(qr,[2,66]),i([10,42,58,86,99,102,103,106,108,111,112,113],[2,78]),{31:[1,253],65:ha,79:208,113:Fa,114:Ra,115:ma},{6:11,7:12,8:b,9:y,10:E,11:_,20:17,22:18,23:19,24:20,25:21,26:22,27:A,32:[1,254],33:24,34:P,36:R,38:B,40:28,41:38,42:j,43:39,45:40,58:W,81:ee,82:ie,83:oe,84:be,85:ge,86:ae,99:ne,102:se,103:de,106:X,108:pe,110:41,111:G,112:xe,113:U,118:Be,119:Pe,120:je,121:Ie},i(ht,[2,48]),i(Ya,[2,114],{103:Up}),i(u5,[2,123],{105:256,10:ad,58:od,81:w1,102:kh,106:Wd,107:Yd,108:Xd,109:Zf}),i(bs,[2,125]),i(bs,[2,127]),i(bs,[2,128]),i(bs,[2,129]),i(bs,[2,130]),i(bs,[2,131]),i(bs,[2,132]),i(bs,[2,133]),i(bs,[2,134]),i(Ya,[2,115],{103:Up}),{10:[1,257]},i(Ya,[2,116],{103:Up}),{10:[1,258]},i(Hp,[2,122]),i(Ya,[2,98],{103:Up}),i(Ya,[2,99],{110:109,42:j,58:W,86:ae,99:ne,102:se,103:de,106:X,108:pe,111:G,112:xe,113:U}),i(Ya,[2,103]),i(Ya,[2,105],{10:[1,259]}),i(Ya,[2,106]),{95:[1,260]},{49:[1,261]},{60:[1,262]},{64:[1,263]},{8:ke,9:Ke,11:zt,21:264},i(Ce,[2,34]),{10:ad,58:od,81:w1,102:kh,104:265,105:230,106:Wd,107:Yd,108:Xd,109:Zf},i(bs,[2,126]),{14:pn,42:Tt,58:Et,86:Wt,98:266,102:un,103:yt,106:Bt,108:Ze,111:Dt,112:kt,113:Nn,117:84},{14:pn,42:Tt,58:Et,86:Wt,98:267,102:un,103:yt,106:Bt,108:Ze,111:Dt,112:kt,113:Nn,117:84},{95:[1,268]},i(Ya,[2,113]),i(qr,[2,53]),{30:269,65:ha,77:$o,78:Lc,79:164,113:Fa,114:Ra,115:ma},i(qr,[2,61]),i(Ac,v,{5:270}),i(u5,[2,124],{105:256,10:ad,58:od,81:w1,102:kh,106:Wd,107:Yd,108:Xd,109:Zf}),i(Ya,[2,119],{117:160,10:[1,271],14:pn,42:Tt,58:Et,86:Wt,102:un,103:yt,106:Bt,108:Ze,111:Dt,112:kt,113:Nn}),i(Ya,[2,120],{117:160,10:[1,272],14:pn,42:Tt,58:Et,86:Wt,102:un,103:yt,106:Bt,108:Ze,111:Dt,112:kt,113:Nn}),i(Ya,[2,107]),{31:[1,273],65:ha,79:208,113:Fa,114:Ra,115:ma},{6:11,7:12,8:b,9:y,10:E,11:_,20:17,22:18,23:19,24:20,25:21,26:22,27:A,32:[1,274],33:24,34:P,36:R,38:B,40:28,41:38,42:j,43:39,45:40,58:W,81:ee,82:ie,83:oe,84:be,85:ge,86:ae,99:ne,102:se,103:de,106:X,108:pe,110:41,111:G,112:xe,113:U,118:Be,119:Pe,120:je,121:Ie},{10:ad,58:od,81:w1,89:275,102:kh,104:229,105:230,106:Wd,107:Yd,108:Xd,109:Zf},{10:ad,58:od,81:w1,89:276,102:kh,104:229,105:230,106:Wd,107:Yd,108:Xd,109:Zf},i(qr,[2,57]),i(Ce,[2,33]),i(Ya,[2,117],{103:Up}),i(Ya,[2,118],{103:Up})],defaultActions:{},parseError:function(Hi,Ui){if(Ui.recoverable)this.trace(Hi);else{var zs=new Error(Hi);throw zs.hash=Ui,zs}},parse:function(Hi){var Ui=this,zs=[0],gi=[],Bo=[null],Ot=[],zu=this.table,Gt="",Wh=0,Vp=0,J3=2,q9=1,l5=Ot.slice.call(arguments,1),Th=Object.create(this.lexer),Vg={yy:{}};for(var Em in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Em)&&(Vg.yy[Em]=this.yy[Em]);Th.setInput(Hi,Vg.yy),Vg.yy.lexer=Th,Vg.yy.parser=this,typeof Th.yylloc>"u"&&(Th.yylloc={});var H9=Th.yylloc;Ot.push(H9);var Cm=Th.options&&Th.options.ranges;typeof Vg.yy.parseError=="function"?this.parseError=Vg.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function h5(){var Gp;return Gp=gi.pop()||Th.lex()||q9,typeof Gp!="number"&&(Gp instanceof Array&&(gi=Gp,Gp=gi.pop()),Gp=Ui.symbols_[Gp]||Gp),Gp}for(var y1,cd,ud,U9,Qv={},X7,tb,Q7,f5;;){if(cd=zs[zs.length-1],this.defaultActions[cd]?ud=this.defaultActions[cd]:((y1===null||typeof y1>"u")&&(y1=h5()),ud=zu[cd]&&zu[cd][y1]),typeof ud>"u"||!ud.length||!ud[0]){var Z3="";f5=[];for(X7 in zu[cd])this.terminals_[X7]&&X7>J3&&f5.push("'"+this.terminals_[X7]+"'");Th.showPosition?Z3="Parse error on line "+(Wh+1)+`: -`+Th.showPosition()+` -Expecting `+f5.join(", ")+", got '"+(this.terminals_[y1]||y1)+"'":Z3="Parse error on line "+(Wh+1)+": Unexpected "+(y1==q9?"end of input":"'"+(this.terminals_[y1]||y1)+"'"),this.parseError(Z3,{text:Th.match,token:this.terminals_[y1]||y1,line:Th.yylineno,loc:H9,expected:f5})}if(ud[0]instanceof Array&&ud.length>1)throw new Error("Parse Error: multiple actions possible at state: "+cd+", token: "+y1);switch(ud[0]){case 1:zs.push(y1),Bo.push(Th.yytext),Ot.push(Th.yylloc),zs.push(ud[1]),y1=null,Vp=Th.yyleng,Gt=Th.yytext,Wh=Th.yylineno,H9=Th.yylloc;break;case 2:if(tb=this.productions_[ud[1]][1],Qv.$=Bo[Bo.length-tb],Qv._$={first_line:Ot[Ot.length-(tb||1)].first_line,last_line:Ot[Ot.length-1].last_line,first_column:Ot[Ot.length-(tb||1)].first_column,last_column:Ot[Ot.length-1].last_column},Cm&&(Qv._$.range=[Ot[Ot.length-(tb||1)].range[0],Ot[Ot.length-1].range[1]]),U9=this.performAction.apply(Qv,[Gt,Vp,Wh,Vg.yy,ud[1],Bo,Ot].concat(l5)),typeof U9<"u")return U9;tb&&(zs=zs.slice(0,-1*tb*2),Bo=Bo.slice(0,-1*tb),Ot=Ot.slice(0,-1*tb)),zs.push(this.productions_[ud[1]][0]),Bo.push(Qv.$),Ot.push(Qv._$),Q7=zu[zs[zs.length-2]][zs[zs.length-1]],zs.push(Q7);break;case 3:return!0}}return!0}},jr=function(){var Qo={EOF:1,parseError:function(Ui,zs){if(this.yy.parser)this.yy.parser.parseError(Ui,zs);else throw new Error(Ui)},setInput:function(Hi,Ui){return this.yy=Ui||this.yy||{},this._input=Hi,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Hi=this._input[0];this.yytext+=Hi,this.yyleng++,this.offset++,this.match+=Hi,this.matched+=Hi;var Ui=Hi.match(/(?:\r\n?|\n).*/g);return Ui?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Hi},unput:function(Hi){var Ui=Hi.length,zs=Hi.split(/(?:\r\n?|\n)/g);this._input=Hi+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Ui),this.offset-=Ui;var gi=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),zs.length-1&&(this.yylineno-=zs.length-1);var Bo=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:zs?(zs.length===gi.length?this.yylloc.first_column:0)+gi[gi.length-zs.length].length-zs[0].length:this.yylloc.first_column-Ui},this.options.ranges&&(this.yylloc.range=[Bo[0],Bo[0]+this.yyleng-Ui]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(Hi){this.unput(this.match.slice(Hi))},pastInput:function(){var Hi=this.matched.substr(0,this.matched.length-this.match.length);return(Hi.length>20?"...":"")+Hi.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Hi=this.match;return Hi.length<20&&(Hi+=this._input.substr(0,20-Hi.length)),(Hi.substr(0,20)+(Hi.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Hi=this.pastInput(),Ui=new Array(Hi.length+1).join("-");return Hi+this.upcomingInput()+` -`+Ui+"^"},test_match:function(Hi,Ui){var zs,gi,Bo;if(this.options.backtrack_lexer&&(Bo={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Bo.yylloc.range=this.yylloc.range.slice(0))),gi=Hi[0].match(/(?:\r\n?|\n).*/g),gi&&(this.yylineno+=gi.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:gi?gi[gi.length-1].length-gi[gi.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Hi[0].length},this.yytext+=Hi[0],this.match+=Hi[0],this.matches=Hi,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Hi[0].length),this.matched+=Hi[0],zs=this.performAction.call(this,this.yy,this,Ui,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),zs)return zs;if(this._backtrack){for(var Ot in Bo)this[Ot]=Bo[Ot];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Hi,Ui,zs,gi;this._more||(this.yytext="",this.match="");for(var Bo=this._currentRules(),Ot=0;OtUi[0].length)){if(Ui=zs,gi=Ot,this.options.backtrack_lexer){if(Hi=this.test_match(zs,Bo[Ot]),Hi!==!1)return Hi;if(this._backtrack){Ui=!1;continue}else return!1}else if(!this.options.flex)break}return Ui?(Hi=this.test_match(Ui,Bo[gi]),Hi!==!1?Hi:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var Ui=this.next();return Ui||this.lex()},begin:function(Ui){this.conditionStack.push(Ui)},popState:function(){var Ui=this.conditionStack.length-1;return Ui>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Ui){return Ui=this.conditionStack.length-1-Math.abs(Ui||0),Ui>=0?this.conditionStack[Ui]:"INITIAL"},pushState:function(Ui){this.begin(Ui)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(Ui,zs,gi,Bo){switch(gi){case 0:return this.begin("acc_title"),34;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),36;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:this.begin("callbackname");break;case 8:this.popState();break;case 9:this.popState(),this.begin("callbackargs");break;case 10:return 92;case 11:this.popState();break;case 12:return 93;case 13:return"MD_STR";case 14:this.popState();break;case 15:this.begin("md_string");break;case 16:return"STR";case 17:this.popState();break;case 18:this.pushState("string");break;case 19:return 81;case 20:return 99;case 21:return 82;case 22:return 101;case 23:return 83;case 24:return 84;case 25:return 94;case 26:this.begin("click");break;case 27:this.popState();break;case 28:return 85;case 29:return Ui.lex.firstGraph()&&this.begin("dir"),12;case 30:return Ui.lex.firstGraph()&&this.begin("dir"),12;case 31:return Ui.lex.firstGraph()&&this.begin("dir"),12;case 32:return 27;case 33:return 32;case 34:return 95;case 35:return 95;case 36:return 95;case 37:return 95;case 38:return this.popState(),13;case 39:return this.popState(),14;case 40:return this.popState(),14;case 41:return this.popState(),14;case 42:return this.popState(),14;case 43:return this.popState(),14;case 44:return this.popState(),14;case 45:return this.popState(),14;case 46:return this.popState(),14;case 47:return this.popState(),14;case 48:return this.popState(),14;case 49:return 118;case 50:return 119;case 51:return 120;case 52:return 121;case 53:return 102;case 54:return 108;case 55:return 44;case 56:return 58;case 57:return 42;case 58:return 8;case 59:return 103;case 60:return 112;case 61:return this.popState(),75;case 62:return this.pushState("edgeText"),73;case 63:return 116;case 64:return this.popState(),75;case 65:return this.pushState("thickEdgeText"),73;case 66:return 116;case 67:return this.popState(),75;case 68:return this.pushState("dottedEdgeText"),73;case 69:return 116;case 70:return 75;case 71:return this.popState(),51;case 72:return"TEXT";case 73:return this.pushState("ellipseText"),50;case 74:return this.popState(),53;case 75:return this.pushState("text"),52;case 76:return this.popState(),55;case 77:return this.pushState("text"),54;case 78:return 56;case 79:return this.pushState("text"),65;case 80:return this.popState(),62;case 81:return this.pushState("text"),61;case 82:return this.popState(),47;case 83:return this.pushState("text"),46;case 84:return this.popState(),67;case 85:return this.popState(),69;case 86:return 114;case 87:return this.pushState("trapText"),66;case 88:return this.pushState("trapText"),68;case 89:return 115;case 90:return 65;case 91:return 87;case 92:return"SEP";case 93:return 86;case 94:return 112;case 95:return 108;case 96:return 42;case 97:return 106;case 98:return 111;case 99:return 113;case 100:return this.popState(),60;case 101:return this.pushState("text"),60;case 102:return this.popState(),49;case 103:return this.pushState("text"),48;case 104:return this.popState(),31;case 105:return this.pushState("text"),29;case 106:return this.popState(),64;case 107:return this.pushState("text"),63;case 108:return"TEXT";case 109:return"QUOTE";case 110:return 9;case 111:return 10;case 112:return 11}},rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{callbackargs:{rules:[11,12,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},callbackname:{rules:[8,9,10,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},href:{rules:[15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},click:{rules:[15,18,27,28,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},dottedEdgeText:{rules:[15,18,67,69,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},thickEdgeText:{rules:[15,18,64,66,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},edgeText:{rules:[15,18,61,63,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},trapText:{rules:[15,18,70,73,75,77,81,83,84,85,86,87,88,101,103,105,107],inclusive:!1},ellipseText:{rules:[15,18,70,71,72,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},text:{rules:[15,18,70,73,74,75,76,77,80,81,82,83,87,88,100,101,102,103,104,105,106,107,108],inclusive:!1},vertex:{rules:[15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},dir:{rules:[15,18,38,39,40,41,42,43,44,45,46,47,48,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_descr_multiline:{rules:[5,6,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_descr:{rules:[3,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_title:{rules:[1,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},md_string:{rules:[13,14,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},string:{rules:[15,16,17,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},INITIAL:{rules:[0,2,4,7,15,18,19,20,21,22,23,24,25,26,29,30,31,32,33,34,35,36,37,49,50,51,52,53,54,55,56,57,58,59,60,61,62,64,65,67,68,70,73,75,77,78,79,81,83,87,88,89,90,91,92,93,94,95,96,97,98,99,101,103,105,107,109,110,111,112],inclusive:!0}}};return Qo}();Vt.lexer=jr;function Ji(){this.yy={}}return Ji.prototype=Vt,Vt.Parser=Ji,new Ji}();ume.parser=ume;const lme=ume,zVt="flowchart-";let oHe=0,UD=qt(),ih={},V3=[],VD={},j7=[],GQ={},KQ={},WQ=0,hme=!0,Kv,YQ,XQ=[];const QQ=i=>oi.sanitizeText(i,UD),CR=function(i){const a=Object.keys(ih);for(const u of a)if(ih[u].id===i)return ih[u].domId;return i},cHe=function(i,a,u,d,p,v,b={}){let y,E=i;E!==void 0&&E.trim().length!==0&&(ih[E]===void 0&&(ih[E]={id:E,labelType:"text",domId:zVt+E+"-"+oHe,styles:[],classes:[]}),oHe++,a!==void 0?(UD=qt(),y=QQ(a.text.trim()),ih[E].labelType=a.type,y[0]==='"'&&y[y.length-1]==='"'&&(y=y.substring(1,y.length-1)),ih[E].text=y):ih[E].text===void 0&&(ih[E].text=i),u!==void 0&&(ih[E].type=u),d!=null&&d.forEach(function(_){ih[E].styles.push(_)}),p!=null&&p.forEach(function(_){ih[E].classes.push(_)}),v!==void 0&&(ih[E].dir=v),ih[E].props===void 0?ih[E].props=b:b!==void 0&&Object.assign(ih[E].props,b))},uHe=function(i,a,u){const v={start:i,end:a,type:void 0,text:"",labelType:"text"};Xe.info("abc78 Got edge...",v);const b=u.text;if(b!==void 0&&(v.text=QQ(b.text.trim()),v.text[0]==='"'&&v.text[v.text.length-1]==='"'&&(v.text=v.text.substring(1,v.text.length-1)),v.labelType=b.type),u!==void 0&&(v.type=u.type,v.stroke=u.stroke,v.length=u.length),(v==null?void 0:v.length)>10&&(v.length=10),V3.length<(UD.maxEdges??500))Xe.info("abc78 pushing edge..."),V3.push(v);else throw new Error(`Edge limit exceeded. ${V3.length} edges found, but the limit is ${UD.maxEdges}. +?)[ \r ]*`,vqe="[\u0300-\u036F]",yAn=new RegExp(vqe+"+$"),bAn="("+Zor+"+)|"+(mAn+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(vqe+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(vqe+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+gAn)+("|"+pAn+")"),Wye=class{static{i(this,"Lexer")}constructor(r,a){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=r,this.settings=a,this.tokenRegex=new RegExp(bAn,"g"),this.catcodes={"%":14,"~":13}}setCatcode(r,a){this.catcodes[r]=a}lex(){var r=this.input,a=this.tokenRegex.lastIndex;if(a===r.length)return new Nw("EOF",new Wv(this,a,a));var o=this.tokenRegex.exec(r);if(o===null||o.index!==a)throw new Oi("Unexpected character: '"+r[a]+"'",new Nw(r[a],new Wv(this,a,a+1)));var l=o[6]||o[3]||(o[2]?"\\ ":" ");if(this.catcodes[l]===14){var h=r.indexOf(` +`,this.tokenRegex.lastIndex);return h===-1?(this.tokenRegex.lastIndex=r.length,Yv({strict:this.settings.strict,errorCode:"commentAtEnd",errorMsg:"% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)",report:!0})):this.tokenRegex.lastIndex=h+1,this.lex()}return new Nw(l,new Wv(this,a,this.tokenRegex.lastIndex))}},wqe=class{static{i(this,"Namespace")}constructor(r,a){r===void 0&&(r={}),a===void 0&&(a={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=a,this.builtins=r,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Oi("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var r=this.undefStack.pop();for(var a of Object.keys(r))r[a]===void 0?delete this.current[a]:this.current[a]=r[a]}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(r){return Object.prototype.hasOwnProperty.call(this.current,r)||Object.prototype.hasOwnProperty.call(this.builtins,r)}get(r){return Object.prototype.hasOwnProperty.call(this.current,r)?this.current[r]:Object.prototype.hasOwnProperty.call(this.builtins,r)?this.builtins[r]:void 0}set(r,a,o){if(o===void 0&&(o=!1),o){for(var l=0;l0&&(this.undefStack[this.undefStack.length-1][r]=a)}else{var h=this.undefStack[this.undefStack.length-1];h&&!Object.prototype.hasOwnProperty.call(h,r)&&(h[r]=Object.prototype.hasOwnProperty.call(this.current,r)?this.current[r]:void 0)}a==null?delete this.current[r]:this.current[r]=a}},vAn=zor;yt("\\noexpand",function(t){var r=t.popToken();return t.isExpandable(r.text)&&(r.noexpand=!0,r.treatAsRelax=!0),{tokens:[r],numArgs:0}});yt("\\expandafter",function(t){var r=t.popToken();return t.expandOnce(!0),{tokens:[r],numArgs:0}});yt("\\@firstoftwo",function(t){var r=t.consumeArgs(2);return{tokens:r[0],numArgs:0}});yt("\\@secondoftwo",function(t){var r=t.consumeArgs(2);return{tokens:r[1],numArgs:0}});yt("\\@ifnextchar",function(t){var r=t.consumeArgs(3);t.consumeSpaces();var a=t.future();return r[0].length===1&&r[0][0].text===a.text?{tokens:r[1],numArgs:0}:{tokens:r[2],numArgs:0}});yt("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");yt("\\TextOrMath",function(t){var r=t.consumeArgs(2);return t.mode==="text"?{tokens:r[0],numArgs:0}:{tokens:r[1],numArgs:0}});lor={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};yt("\\char",function(t){var r=t.popToken(),a,o=0;if(r.text==="'")a=8,r=t.popToken();else if(r.text==='"')a=16,r=t.popToken();else if(r.text==="`")if(r=t.popToken(),r.text[0]==="\\")o=r.text.charCodeAt(1);else{if(r.text==="EOF")throw new Oi("\\char` missing argument");o=r.text.charCodeAt(0)}else a=10;if(a){if(o=lor[r.text],o==null||o>=a)throw new Oi("Invalid base-"+a+" digit "+r.text);for(var l;(l=lor[t.future().text])!=null&&l{var l=t.consumeArg().tokens;if(l.length!==1)throw new Oi("\\newcommand's first argument must be a macro name");var h=l[0].text,f=t.isDefined(h);if(f&&!r)throw new Oi("\\newcommand{"+h+"} attempting to redefine "+(h+"; use \\renewcommand"));if(!f&&!a)throw new Oi("\\renewcommand{"+h+"} when command "+h+" does not yet exist; use \\newcommand");var p=0;if(l=t.consumeArg().tokens,l.length===1&&l[0].text==="["){for(var m="",b=t.expandNextToken();b.text!=="]"&&b.text!=="EOF";)m+=b.text,b=t.expandNextToken();if(!m.match(/^\s*[0-9]+\s*$/))throw new Oi("Invalid number of arguments: "+m);p=parseInt(m),l=t.consumeArg().tokens}return f&&o||t.macros.set(h,{tokens:l,numArgs:p}),""},"newcommand");yt("\\newcommand",t=>Iqe(t,!1,!0,!1));yt("\\renewcommand",t=>Iqe(t,!0,!1,!1));yt("\\providecommand",t=>Iqe(t,!0,!0,!0));yt("\\message",t=>{var r=t.consumeArgs(1)[0];return console.log(r.reverse().map(a=>a.text).join("")),""});yt("\\errmessage",t=>{var r=t.consumeArgs(1)[0];return console.error(r.reverse().map(a=>a.text).join("")),""});yt("\\show",t=>{var r=t.popToken(),a=r.text;return console.log(r,t.macros.get(a),oL[a],Hf.math[a],Hf.text[a]),""});yt("\\bgroup","{");yt("\\egroup","}");yt("~","\\nobreakspace");yt("\\lq","`");yt("\\rq","'");yt("\\aa","\\r a");yt("\\AA","\\r A");yt("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");yt("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");yt("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");yt("\u212C","\\mathscr{B}");yt("\u2130","\\mathscr{E}");yt("\u2131","\\mathscr{F}");yt("\u210B","\\mathscr{H}");yt("\u2110","\\mathscr{I}");yt("\u2112","\\mathscr{L}");yt("\u2133","\\mathscr{M}");yt("\u211B","\\mathscr{R}");yt("\u212D","\\mathfrak{C}");yt("\u210C","\\mathfrak{H}");yt("\u2128","\\mathfrak{Z}");yt("\\Bbbk","\\Bbb{k}");yt("\\llap","\\mathllap{\\textrm{#1}}");yt("\\rlap","\\mathrlap{\\textrm{#1}}");yt("\\clap","\\mathclap{\\textrm{#1}}");yt("\\mathstrut","\\vphantom{(}");yt("\\underbar","\\underline{\\text{#1}}");yt("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}');yt("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");yt("\\ne","\\neq");yt("\u2260","\\neq");yt("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");yt("\u2209","\\notin");yt("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");yt("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");yt("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");yt("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");yt("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");yt("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");yt("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");yt("\u27C2","\\perp");yt("\u203C","\\mathclose{!\\mkern-0.8mu!}");yt("\u220C","\\notni");yt("\u231C","\\ulcorner");yt("\u231D","\\urcorner");yt("\u231E","\\llcorner");yt("\u231F","\\lrcorner");yt("\xA9","\\copyright");yt("\xAE","\\textregistered");yt("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');yt("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');yt("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');yt("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');yt("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");yt("\u22EE","\\vdots");yt("\\varGamma","\\mathit{\\Gamma}");yt("\\varDelta","\\mathit{\\Delta}");yt("\\varTheta","\\mathit{\\Theta}");yt("\\varLambda","\\mathit{\\Lambda}");yt("\\varXi","\\mathit{\\Xi}");yt("\\varPi","\\mathit{\\Pi}");yt("\\varSigma","\\mathit{\\Sigma}");yt("\\varUpsilon","\\mathit{\\Upsilon}");yt("\\varPhi","\\mathit{\\Phi}");yt("\\varPsi","\\mathit{\\Psi}");yt("\\varOmega","\\mathit{\\Omega}");yt("\\substack","\\begin{subarray}{c}#1\\end{subarray}");yt("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");yt("\\boxed","\\fbox{$\\displaystyle{#1}$}");yt("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");yt("\\implies","\\DOTSB\\;\\Longrightarrow\\;");yt("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");yt("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");yt("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");cor={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"},wAn=new Set(["bin","rel"]);yt("\\dots",function(t){var r="\\dotso",a=t.expandAfterFuture().text;return a in cor?r=cor[a]:(a.slice(0,4)==="\\not"||a in Hf.math&&wAn.has(Hf.math[a].group))&&(r="\\dotsb"),r});Nqe={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};yt("\\dotso",function(t){var r=t.future().text;return r in Nqe?"\\ldots\\,":"\\ldots"});yt("\\dotsc",function(t){var r=t.future().text;return r in Nqe&&r!==","?"\\ldots\\,":"\\ldots"});yt("\\cdots",function(t){var r=t.future().text;return r in Nqe?"\\@cdots\\,":"\\@cdots"});yt("\\dotsb","\\cdots");yt("\\dotsm","\\cdots");yt("\\dotsi","\\!\\cdots");yt("\\dotsx","\\ldots\\,");yt("\\DOTSI","\\relax");yt("\\DOTSB","\\relax");yt("\\DOTSX","\\relax");yt("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");yt("\\,","\\tmspace+{3mu}{.1667em}");yt("\\thinspace","\\,");yt("\\>","\\mskip{4mu}");yt("\\:","\\tmspace+{4mu}{.2222em}");yt("\\medspace","\\:");yt("\\;","\\tmspace+{5mu}{.2777em}");yt("\\thickspace","\\;");yt("\\!","\\tmspace-{3mu}{.1667em}");yt("\\negthinspace","\\!");yt("\\negmedspace","\\tmspace-{4mu}{.2222em}");yt("\\negthickspace","\\tmspace-{5mu}{.277em}");yt("\\enspace","\\kern.5em ");yt("\\enskip","\\hskip.5em\\relax");yt("\\quad","\\hskip1em\\relax");yt("\\qquad","\\hskip2em\\relax");yt("\\tag","\\@ifstar\\tag@literal\\tag@paren");yt("\\tag@paren","\\tag@literal{({#1})}");yt("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new Oi("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});yt("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");yt("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");yt("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");yt("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");yt("\\newline","\\\\\\relax");yt("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");elr=Ki(OE["Main-Regular"][84][1]-.7*OE["Main-Regular"][65][1]);yt("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+elr+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");yt("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+elr+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");yt("\\hspace","\\@ifstar\\@hspacer\\@hspace");yt("\\@hspace","\\hskip #1\\relax");yt("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");yt("\\ordinarycolon",":");yt("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");yt("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');yt("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');yt("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');yt("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');yt("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');yt("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');yt("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');yt("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');yt("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');yt("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');yt("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');yt("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');yt("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');yt("\u2237","\\dblcolon");yt("\u2239","\\eqcolon");yt("\u2254","\\coloneqq");yt("\u2255","\\eqqcolon");yt("\u2A74","\\Coloneqq");yt("\\ratio","\\vcentcolon");yt("\\coloncolon","\\dblcolon");yt("\\colonequals","\\coloneqq");yt("\\coloncolonequals","\\Coloneqq");yt("\\equalscolon","\\eqqcolon");yt("\\equalscoloncolon","\\Eqqcolon");yt("\\colonminus","\\coloneq");yt("\\coloncolonminus","\\Coloneq");yt("\\minuscolon","\\eqcolon");yt("\\minuscoloncolon","\\Eqcolon");yt("\\coloncolonapprox","\\Colonapprox");yt("\\coloncolonsim","\\Colonsim");yt("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");yt("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");yt("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");yt("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");yt("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");yt("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");yt("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");yt("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");yt("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");yt("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");yt("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");yt("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");yt("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");yt("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");yt("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");yt("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");yt("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");yt("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");yt("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");yt("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");yt("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");yt("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");yt("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");yt("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");yt("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");yt("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");yt("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");yt("\\imath","\\html@mathml{\\@imath}{\u0131}");yt("\\jmath","\\html@mathml{\\@jmath}{\u0237}");yt("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");yt("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");yt("\u27E6","\\llbracket");yt("\u27E7","\\rrbracket");yt("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");yt("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");yt("\u21A4","\\mapsfrom");yt("\\mapsfrom","\\html@mathml{\\mathrel{\\mathreflectbox{\\mapsto}}}{\\mathrel{\\char`\u21A4}}");yt("\u2983","\\lBrace");yt("\u2984","\\rBrace");yt("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");yt("\u29B5","\\minuso");yt("\\darr","\\downarrow");yt("\\dArr","\\Downarrow");yt("\\Darr","\\Downarrow");yt("\\lang","\\langle");yt("\\rang","\\rangle");yt("\\uarr","\\uparrow");yt("\\uArr","\\Uparrow");yt("\\Uarr","\\Uparrow");yt("\\N","\\mathbb{N}");yt("\\R","\\mathbb{R}");yt("\\Z","\\mathbb{Z}");yt("\\alef","\\aleph");yt("\\alefsym","\\aleph");yt("\\Alpha","\\mathrm{A}");yt("\\Beta","\\mathrm{B}");yt("\\bull","\\bullet");yt("\\Chi","\\mathrm{X}");yt("\\clubs","\\clubsuit");yt("\\cnums","\\mathbb{C}");yt("\\Complex","\\mathbb{C}");yt("\\Dagger","\\ddagger");yt("\\diamonds","\\diamondsuit");yt("\\empty","\\emptyset");yt("\\Epsilon","\\mathrm{E}");yt("\\Eta","\\mathrm{H}");yt("\\exist","\\exists");yt("\\harr","\\leftrightarrow");yt("\\hArr","\\Leftrightarrow");yt("\\Harr","\\Leftrightarrow");yt("\\hearts","\\heartsuit");yt("\\image","\\Im");yt("\\infin","\\infty");yt("\\Iota","\\mathrm{I}");yt("\\isin","\\in");yt("\\Kappa","\\mathrm{K}");yt("\\larr","\\leftarrow");yt("\\lArr","\\Leftarrow");yt("\\Larr","\\Leftarrow");yt("\\lrarr","\\leftrightarrow");yt("\\lrArr","\\Leftrightarrow");yt("\\Lrarr","\\Leftrightarrow");yt("\\Mu","\\mathrm{M}");yt("\\natnums","\\mathbb{N}");yt("\\Nu","\\mathrm{N}");yt("\\Omicron","\\mathrm{O}");yt("\\plusmn","\\pm");yt("\\rarr","\\rightarrow");yt("\\rArr","\\Rightarrow");yt("\\Rarr","\\Rightarrow");yt("\\real","\\Re");yt("\\reals","\\mathbb{R}");yt("\\Reals","\\mathbb{R}");yt("\\Rho","\\mathrm{P}");yt("\\sdot","\\cdot");yt("\\sect","\\S");yt("\\spades","\\spadesuit");yt("\\sub","\\subset");yt("\\sube","\\subseteq");yt("\\supe","\\supseteq");yt("\\Tau","\\mathrm{T}");yt("\\thetasym","\\vartheta");yt("\\weierp","\\wp");yt("\\Zeta","\\mathrm{Z}");yt("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");yt("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");yt("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");yt("\\bra","\\mathinner{\\langle{#1}|}");yt("\\ket","\\mathinner{|{#1}\\rangle}");yt("\\braket","\\mathinner{\\langle{#1}\\rangle}");yt("\\Bra","\\left\\langle#1\\right|");yt("\\Ket","\\left|#1\\right\\rangle");tlr=i(t=>r=>{var a=r.consumeArg().tokens,o=r.consumeArg().tokens,l=r.consumeArg().tokens,h=r.consumeArg().tokens,f=r.macros.get("|"),p=r.macros.get("\\|");r.macros.beginGroup();var m=i(T=>C=>{t&&(C.macros.set("|",f),l.length&&C.macros.set("\\|",p));var E=T;if(!T&&l.length){var S=C.future();S.text==="|"&&(C.popToken(),E=!0)}return{tokens:E?l:o,numArgs:0}},"midMacro");r.macros.set("|",m(!1)),l.length&&r.macros.set("\\|",m(!0));var b=r.consumeArg().tokens,v=r.expandTokens([...h,...b,...a]);return r.macros.endGroup(),{tokens:v.reverse(),numArgs:0}},"braketHelper");yt("\\bra@ket",tlr(!1));yt("\\bra@set",tlr(!0));yt("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");yt("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");yt("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");yt("\\angln","{\\angl n}");yt("\\blue","\\textcolor{##6495ed}{#1}");yt("\\orange","\\textcolor{##ffa500}{#1}");yt("\\pink","\\textcolor{##ff00af}{#1}");yt("\\red","\\textcolor{##df0030}{#1}");yt("\\green","\\textcolor{##28ae7b}{#1}");yt("\\gray","\\textcolor{gray}{#1}");yt("\\purple","\\textcolor{##9d38bd}{#1}");yt("\\blueA","\\textcolor{##ccfaff}{#1}");yt("\\blueB","\\textcolor{##80f6ff}{#1}");yt("\\blueC","\\textcolor{##63d9ea}{#1}");yt("\\blueD","\\textcolor{##11accd}{#1}");yt("\\blueE","\\textcolor{##0c7f99}{#1}");yt("\\tealA","\\textcolor{##94fff5}{#1}");yt("\\tealB","\\textcolor{##26edd5}{#1}");yt("\\tealC","\\textcolor{##01d1c1}{#1}");yt("\\tealD","\\textcolor{##01a995}{#1}");yt("\\tealE","\\textcolor{##208170}{#1}");yt("\\greenA","\\textcolor{##b6ffb0}{#1}");yt("\\greenB","\\textcolor{##8af281}{#1}");yt("\\greenC","\\textcolor{##74cf70}{#1}");yt("\\greenD","\\textcolor{##1fab54}{#1}");yt("\\greenE","\\textcolor{##0d923f}{#1}");yt("\\goldA","\\textcolor{##ffd0a9}{#1}");yt("\\goldB","\\textcolor{##ffbb71}{#1}");yt("\\goldC","\\textcolor{##ff9c39}{#1}");yt("\\goldD","\\textcolor{##e07d10}{#1}");yt("\\goldE","\\textcolor{##a75a05}{#1}");yt("\\redA","\\textcolor{##fca9a9}{#1}");yt("\\redB","\\textcolor{##ff8482}{#1}");yt("\\redC","\\textcolor{##f9685d}{#1}");yt("\\redD","\\textcolor{##e84d39}{#1}");yt("\\redE","\\textcolor{##bc2612}{#1}");yt("\\maroonA","\\textcolor{##ffbde0}{#1}");yt("\\maroonB","\\textcolor{##ff92c6}{#1}");yt("\\maroonC","\\textcolor{##ed5fa6}{#1}");yt("\\maroonD","\\textcolor{##ca337c}{#1}");yt("\\maroonE","\\textcolor{##9e034e}{#1}");yt("\\purpleA","\\textcolor{##ddd7ff}{#1}");yt("\\purpleB","\\textcolor{##c6b9fc}{#1}");yt("\\purpleC","\\textcolor{##aa87ff}{#1}");yt("\\purpleD","\\textcolor{##7854ab}{#1}");yt("\\purpleE","\\textcolor{##543b78}{#1}");yt("\\mintA","\\textcolor{##f5f9e8}{#1}");yt("\\mintB","\\textcolor{##edf2df}{#1}");yt("\\mintC","\\textcolor{##e0e5cc}{#1}");yt("\\grayA","\\textcolor{##f6f7f7}{#1}");yt("\\grayB","\\textcolor{##f0f1f2}{#1}");yt("\\grayC","\\textcolor{##e3e5e6}{#1}");yt("\\grayD","\\textcolor{##d6d8da}{#1}");yt("\\grayE","\\textcolor{##babec2}{#1}");yt("\\grayF","\\textcolor{##888d93}{#1}");yt("\\grayG","\\textcolor{##626569}{#1}");yt("\\grayH","\\textcolor{##3b3e40}{#1}");yt("\\grayI","\\textcolor{##21242c}{#1}");yt("\\kaBlue","\\textcolor{##314453}{#1}");yt("\\kaGreen","\\textcolor{##71B307}{#1}");rlr={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},xqe=class{static{i(this,"MacroExpander")}constructor(r,a,o){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=a,this.expansionCount=0,this.feed(r),this.macros=new wqe(vAn,a.macros),this.mode=o,this.stack=[]}feed(r){this.lexer=new Wye(r,this.settings)}switchMode(r){this.mode=r}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(r){this.stack.push(r)}pushTokens(r){this.stack.push(...r)}scanArgument(r){var a,o,l;if(r){if(this.consumeSpaces(),this.future().text!=="[")return null;a=this.popToken();var h=this.consumeArg(["]"]);l=h.tokens,o=h.end}else{var f=this.consumeArg();l=f.tokens,a=f.start,o=f.end}return this.pushToken(new Nw("EOF",o.loc)),this.pushTokens(l),new Nw("",Wv.range(a,o))}consumeSpaces(){for(;;){var r=this.future();if(r.text===" ")this.stack.pop();else break}}consumeArg(r){var a=[],o=r&&r.length>0;o||this.consumeSpaces();var l=this.future(),h,f=0,p=0;do{if(h=this.popToken(),a.push(h),h.text==="{")++f;else if(h.text==="}"){if(--f,f===-1)throw new Oi("Extra }",h)}else if(h.text==="EOF")throw new Oi("Unexpected end of input in a macro argument, expected '"+(r&&o?r[p]:"}")+"'",h);if(r&&o)if((f===0||f===1&&r[p]==="{")&&h.text===r[p]){if(++p,p===r.length){a.splice(-p,p);break}}else p=0}while(f!==0||o);return l.text==="{"&&a[a.length-1].text==="}"&&(a.pop(),a.shift()),a.reverse(),{tokens:a,start:l,end:h}}consumeArgs(r,a){if(a){if(a.length!==r+1)throw new Oi("The length of delimiters doesn't match the number of args!");for(var o=a[0],l=0;lthis.settings.maxExpand)throw new Oi("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(r){var a=this.popToken(),o=a.text,l=a.noexpand?null:this._getExpansion(o);if(l==null||r&&l.unexpandable){if(r&&l==null&&o[0]==="\\"&&!this.isDefined(o))throw new Oi("Undefined control sequence: "+o);return this.pushToken(a),!1}this.countExpansion(1);var h=l.tokens,f=this.consumeArgs(l.numArgs,l.delimiters);if(l.numArgs){h=h.slice();for(var p=h.length-1;p>=0;--p){var m=h[p];if(m.text==="#"){if(p===0)throw new Oi("Incomplete placeholder at end of macro body",m);if(m=h[--p],m.text==="#")h.splice(p+1,1);else if(/^[1-9]$/.test(m.text))h.splice(p,2,...f[+m.text-1]);else throw new Oi("Not a valid argument number",m)}}}return this.pushTokens(h),h.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var r=this.stack.pop();return r.treatAsRelax&&(r.text="\\relax"),r}}expandMacro(r){return this.macros.has(r)?this.expandTokens([new Nw(r)]):void 0}expandTokens(r){var a=[],o=this.stack.length;for(this.pushTokens(r);this.stack.length>o;)if(this.expandOnce(!0)===!1){var l=this.stack.pop();l.treatAsRelax&&(l.noexpand=!1,l.treatAsRelax=!1),a.push(l)}return this.countExpansion(a.length),a}expandMacroAsText(r){var a=this.expandMacro(r);return a&&a.map(o=>o.text).join("")}_getExpansion(r){var a=this.macros.get(r);if(a==null)return a;if(r.length===1){var o=this.lexer.catcodes[r];if(o!=null&&o!==13)return}var l=typeof a=="function"?a(this):a;if(typeof l=="string"){var h=0;if(l.includes("#"))for(var f=l.replace(/##/g,"");f.includes("#"+(h+1));)++h;for(var p=new Wye(l,this.settings),m=[],b=p.lex();b.text!=="EOF";)m.push(b),b=p.lex();m.reverse();var v={tokens:m,numArgs:h};return v}return l}isDefined(r){return this.macros.has(r)||Object.prototype.hasOwnProperty.call(oL,r)||Object.prototype.hasOwnProperty.call(Hf.math,r)||Object.prototype.hasOwnProperty.call(Hf.text,r)||Object.prototype.hasOwnProperty.call(rlr,r)}isExpandable(r){var a=this.macros.get(r);return a!=null?typeof a=="string"||typeof a=="function"||!a.unexpandable:Object.prototype.hasOwnProperty.call(oL,r)&&!oL[r].primitive}},uor=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,$ye=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),tqe={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},hor={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},Yye=class t{static{i(this,"Parser")}constructor(r,a){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new xqe(r,a,this.mode),this.settings=a,this.leftrightDepth=0,this.nextToken=null}expect(r,a){if(a===void 0&&(a=!0),this.fetch().text!==r)throw new Oi("Expected '"+r+"', got '"+this.fetch().text+"'",this.fetch());a&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(r){this.mode=r,this.gullet.switchMode(r)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var r=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),r}finally{this.gullet.endGroups()}}subparse(r){var a=this.nextToken;this.consume(),this.gullet.pushToken(new Nw("}")),this.gullet.pushTokens(r);var o=this.parseExpression(!1);return this.expect("}"),this.nextToken=a,o}parseExpression(r,a){for(var o=[];;){this.mode==="math"&&this.consumeSpaces();var l=this.fetch();if(t.endOfExpression.has(l.text)||a&&l.text===a||r&&oL[l.text]&&oL[l.text].infix)break;var h=this.parseAtom(a);if(h){if(h.type==="internal")continue}else break;o.push(h)}return this.mode==="text"&&this.formLigatures(o),this.handleInfixNodes(o)}handleInfixNodes(r){for(var a=-1,o,l=0;l=128)this.settings.strict&&(dor(a.charCodeAt(0))?this.mode==="math"&&Yv({strict:this.settings.strict,errorCode:"unicodeTextInMathMode",errorMsg:'Unicode text character "'+a[0]+'" used in math mode',report:!0,token:r}):Yv({strict:this.settings.strict,errorCode:"unknownSymbol",errorMsg:'Unrecognized Unicode character "'+a[0]+'"'+(" ("+a.charCodeAt(0)+")"),report:!0,token:r})),f={type:"textord",mode:"text",loc:Wv.range(r),text:a};else return null;if(this.consume(),h)for(var v=0;v{r.tagName==="A"&&r.hasAttribute("target")&&r.setAttribute(t,r.getAttribute("target")??"")}),Z1.addHook("afterSanitizeAttributes",r=>{r.tagName==="A"&&r.hasAttribute(t)&&(r.setAttribute("target",r.getAttribute(t)??""),r.removeAttribute(t),r.getAttribute("target")==="_blank"&&r.setAttribute("rel","noopener"))})}var TN,TAn,kAn,CAn,dlr,hlr,Ns,SAn,AAn,RAn,LAn,plr,Fqe,DAn,_An,GE,Bqe,MAn,IAn,flr,abe,bf,kN,NAn,Xj,Wn,rl=ie(()=>{"use strict";bN();Qs();TN=/<\/?br\s*\/?>/gi,TAn=new RegExp(TN.source,"i"),kAn=i(t=>t?plr(t).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),CAn=(()=>{let t=!1;return()=>{t||(EAn(),t=!0)}})();i(EAn,"setupDompurifyHooks");dlr=i(t=>(CAn(),Z1.sanitize(t)),"removeScript"),hlr=i((t,r)=>{if($h(r)){let a=r.securityLevel;a==="antiscript"||a==="strict"||a==="sandbox"?t=dlr(t):a!=="loose"&&(t=plr(t),t=t.replace(//g,">"),t=t.replace(/=/g,"="),t=LAn(t))}return t},"sanitizeMore"),Ns=i((t,r)=>t&&(r.dompurifyConfig?t=Z1.sanitize(hlr(t,r),r.dompurifyConfig).toString():t=Z1.sanitize(hlr(t,r),{FORBID_TAGS:["style"]}).toString(),t),"sanitizeText"),SAn=i((t,r)=>typeof t=="string"?Ns(t,r):t.flat().map(a=>Ns(a,r)),"sanitizeTextOrArray"),AAn=i(t=>TAn.test(t),"hasBreaks"),RAn=i(t=>t.split(TN),"splitBreaks"),LAn=i(t=>t.replace(/#br#/g,"
"),"placeholderToBreak"),plr=i(t=>t.replace(TN,"#br#"),"breakToPlaceholder"),Fqe=i(t=>{let r="";return t&&(r=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,r=CSS.escape(r)),r},"getUrl"),DAn=i(function(...t){let r=t.filter(a=>!isNaN(a));return Math.max(...r)},"getMax"),_An=i(function(...t){let r=t.filter(a=>!isNaN(a));return Math.min(...r)},"getMin"),GE=i(function(t){let r=t.split(/(,)/),a=[];for(let o=0;o0&&o+1Math.max(0,t.split(r).length-1),"countOccurrence"),MAn=i((t,r)=>{let a=Bqe(t,"~"),o=Bqe(r,"~");return a===1&&o===1},"shouldCombineSets"),IAn=i(t=>{let r=Bqe(t,"~"),a=!1;if(r<=1)return t;r%2!==0&&t.startsWith("~")&&(t=t.substring(1),a=!0);let o=[...t],l=o.indexOf("~"),h=o.lastIndexOf("~");for(;l!==-1&&h!==-1&&l!==h;)o[l]="<",o[h]=">",l=o.indexOf("~"),h=o.lastIndexOf("~");return a&&o.unshift("~"),o.join("")},"processSet"),flr=i(()=>window.MathMLElement!==void 0,"isMathMLSupported"),abe=/\$\$(.*?)\$\$/g,bf=i(t=>(t.match(abe)?.length??0)>0,"hasKatex"),kN=i(async(t,r)=>{let a=document.createElement("div");a.innerHTML=await Xj(t,r),a.id="katex-temp",a.style.visibility="hidden",a.style.position="absolute",a.style.top="0",document.querySelector("body")?.insertAdjacentElement("beforeend",a);let l={width:a.clientWidth,height:a.clientHeight};return a.remove(),l},"calculateMathMLDimensions"),NAn=i(async(t,r)=>{if(!bf(t))return t;if(!(flr()||r.legacyMathML||r.forceLegacyMathML))return t.replace(abe,"MathML is unsupported in this environment.");{let{default:a}=await Promise.resolve().then(()=>(ulr(),clr)),o=r.forceLegacyMathML||!flr()&&r.legacyMathML?"htmlAndMathml":"mathml";return t.split(TN).map(l=>bf(l)?`
${l}
`:`
${l}
`).join("").replace(abe,(l,h)=>a.renderToString(h,{throwOnError:!0,displayMode:!0,output:o}).replace(/\n/g," ").replace(//g,""))}return t.replace(abe,"Katex is not supported in @mermaid-js/tiny. Please use the full mermaid library.")},"renderKatexUnsanitized"),Xj=i(async(t,r)=>Ns(await NAn(t,r),r),"renderKatexSanitized"),Wn={getRows:kAn,sanitizeText:Ns,sanitizeTextOrArray:SAn,hasBreaks:AAn,splitBreaks:RAn,lineBreakRegex:TN,removeScript:dlr,getUrl:Fqe,evaluate:lm,getMax:DAn,getMin:_An}});var Gqe,$qe,glr,Qj,mlr,sbe,hm,zT=ie(()=>{"use strict";Zir();Qs();rl();Xn();Gqe={body:'?',height:80,width:80},$qe=new Map,glr=new Map,Qj=i(t=>{for(let r of t){if(!r.name)throw new Error('Invalid icon loader. Must have a "name" property with non-empty string value.');if(Pe.debug("Registering icon pack:",r.name),"loader"in r)glr.set(r.name,r.loader);else if("icons"in r)$qe.set(r.name,r.icons);else throw Pe.error("Invalid icon loader:",r),new Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),mlr=i(async(t,r)=>{let a=sHe(t,!0,r!==void 0);if(!a)throw new Error(`Invalid icon name: ${t}`);let o=a.prefix||r;if(!o)throw new Error(`Icon name must contain a prefix: ${t}`);let l=$qe.get(o);if(!l){let f=glr.get(o);if(!f)throw new Error(`Icon set not found: ${a.prefix}`);try{l={...await f(),prefix:o},$qe.set(o,l)}catch(p){throw Pe.error(p),new Error(`Failed to load icon set: ${a.prefix}`)}}let h=lHe(l,a.name);if(!h)throw new Error(`Icon not found: ${t}`);return h},"getRegisteredIconData"),sbe=i(async t=>{try{return await mlr(t),!0}catch{return!1}},"isIconAvailable"),hm=i(async(t,r,a)=>{let o;try{o=await mlr(t,r?.fallbackPrefix)}catch(f){Pe.error(f),o=Gqe}let l=uHe(o,r),h=fHe(hHe(l.body),{...l.attributes,...a});return Ns(h,ii())},"getIconSVG")});function obe(t){for(var r=[],a=1;a{"use strict";i(obe,"dedent")});var CN,cbe,ylr,lbe,OAn,ube,hbe=ie(()=>{"use strict";CN=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,cbe=/\s/,ylr=i(t=>{let r="",a=0,o=0;for(;oa&&cbe.test(t[f-1]);)f--;r+=t.slice(a,f)+` +`,a=h+1,o=a}return r+t.slice(a)},"stripAnyComments"),lbe=i(t=>t===` +`||t==="\r","isLineBreak"),OAn=i((t,r)=>{let a=-1;for(let o=r;o{let r=0;for(;rlbe(t[v])&&t.startsWith(l,v+1)?OAn(t,v+1+l.length):-1,"closingEnd"),f=o[0]+1,p=-1;for(let v=f;v{"use strict";Jj=class extends Error{static{i(this,"UnknownDiagramError")}constructor(r){super(r),this.name="UnknownDiagramError"}}});var K6,pL,Ree,Uqe,blr,gL=ie(()=>{"use strict";Xn();hbe();zqe();K6={},pL=i(function(t,r){let a=ube(t);t=ylr((a?t.slice(a.length):t).replace(CN,""));for(let[o,{detector:l}]of Object.entries(K6))if(l(t,r))return o;throw new Jj(`No diagram type detected matching given configuration for text: ${t}`)},"detectType"),Ree=i((...t)=>{for(let{id:r,detector:a,loader:o}of t)Uqe(r,a,o)},"registerLazyLoadedDiagrams"),Uqe=i((t,r,a)=>{K6[t]&&Pe.warn(`Detector with key ${t} already exists. Overwriting.`),K6[t]={detector:r,loader:a},Pe.debug(`Detector with key ${t} added${a?" with loader":""}`)},"addDetector"),blr=i(t=>K6[t].loader,"getDiagramLoader")});var Lee,vlr,Vqe=ie(()=>{"use strict";Lee=(function(){var t=i(function(Fe,je,He,nt){for(He=He||{},nt=Fe.length;nt--;He[Fe[nt]]=je);return He},"o"),r=[1,24],a=[1,25],o=[1,26],l=[1,27],h=[1,28],f=[1,63],p=[1,64],m=[1,65],b=[1,66],v=[1,67],T=[1,68],C=[1,69],E=[1,29],S=[1,30],R=[1,31],L=[1,32],_=[1,33],M=[1,34],I=[1,35],F=[1,36],O=[1,37],P=[1,38],G=[1,39],V=[1,40],Y=[1,41],K=[1,42],J=[1,43],H=[1,44],q=[1,45],Z=[1,46],Q=[1,47],W=[1,48],te=[1,50],z=[1,51],re=[1,52],ae=[1,53],ce=[1,54],le=[1,55],de=[1,56],ve=[1,57],Se=[1,58],_e=[1,59],Ce=[1,60],Ve=[14,42],De=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],qe=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ue=[1,82],We=[1,83],mt=[1,84],ct=[1,85],Ot=[12,14,42],yr=[12,14,33,42],tr=[12,14,33,42,76,77,79,80],Xe=[12,33],Rt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],ft={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:i(function(je,He,nt,ze,se,ke,Le){var he=ke.length-1;switch(se){case 3:ze.setDirection("TB");break;case 4:ze.setDirection("BT");break;case 5:ze.setDirection("RL");break;case 6:ze.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:ze.setC4Type(ke[he-3]);break;case 19:ze.setTitle(ke[he].substring(6)),this.$=ke[he].substring(6);break;case 20:ze.setAccDescription(ke[he].substring(15)),this.$=ke[he].substring(15);break;case 21:this.$=ke[he].trim(),ze.setTitle(this.$);break;case 22:case 23:this.$=ke[he].trim(),ze.setAccDescription(this.$);break;case 28:ke[he].splice(2,0,"ENTERPRISE"),ze.addPersonOrSystemBoundary(...ke[he]),this.$=ke[he];break;case 29:ke[he].splice(2,0,"SYSTEM"),ze.addPersonOrSystemBoundary(...ke[he]),this.$=ke[he];break;case 30:ze.addPersonOrSystemBoundary(...ke[he]),this.$=ke[he];break;case 31:ke[he].splice(2,0,"CONTAINER"),ze.addContainerBoundary(...ke[he]),this.$=ke[he];break;case 32:ze.addDeploymentNode("node",...ke[he]),this.$=ke[he];break;case 33:ze.addDeploymentNode("nodeL",...ke[he]),this.$=ke[he];break;case 34:ze.addDeploymentNode("nodeR",...ke[he]),this.$=ke[he];break;case 35:ze.popBoundaryParseStack();break;case 39:ze.addPersonOrSystem("person",...ke[he]),this.$=ke[he];break;case 40:ze.addPersonOrSystem("external_person",...ke[he]),this.$=ke[he];break;case 41:ze.addPersonOrSystem("system",...ke[he]),this.$=ke[he];break;case 42:ze.addPersonOrSystem("system_db",...ke[he]),this.$=ke[he];break;case 43:ze.addPersonOrSystem("system_queue",...ke[he]),this.$=ke[he];break;case 44:ze.addPersonOrSystem("external_system",...ke[he]),this.$=ke[he];break;case 45:ze.addPersonOrSystem("external_system_db",...ke[he]),this.$=ke[he];break;case 46:ze.addPersonOrSystem("external_system_queue",...ke[he]),this.$=ke[he];break;case 47:ze.addContainer("container",...ke[he]),this.$=ke[he];break;case 48:ze.addContainer("container_db",...ke[he]),this.$=ke[he];break;case 49:ze.addContainer("container_queue",...ke[he]),this.$=ke[he];break;case 50:ze.addContainer("external_container",...ke[he]),this.$=ke[he];break;case 51:ze.addContainer("external_container_db",...ke[he]),this.$=ke[he];break;case 52:ze.addContainer("external_container_queue",...ke[he]),this.$=ke[he];break;case 53:ze.addComponent("component",...ke[he]),this.$=ke[he];break;case 54:ze.addComponent("component_db",...ke[he]),this.$=ke[he];break;case 55:ze.addComponent("component_queue",...ke[he]),this.$=ke[he];break;case 56:ze.addComponent("external_component",...ke[he]),this.$=ke[he];break;case 57:ze.addComponent("external_component_db",...ke[he]),this.$=ke[he];break;case 58:ze.addComponent("external_component_queue",...ke[he]),this.$=ke[he];break;case 60:ze.addRel("rel",...ke[he]),this.$=ke[he];break;case 61:ze.addRel("birel",...ke[he]),this.$=ke[he];break;case 62:ze.addRel("rel_u",...ke[he]),this.$=ke[he];break;case 63:ze.addRel("rel_d",...ke[he]),this.$=ke[he];break;case 64:ze.addRel("rel_l",...ke[he]),this.$=ke[he];break;case 65:ze.addRel("rel_r",...ke[he]),this.$=ke[he];break;case 66:ze.addRel("rel_b",...ke[he]),this.$=ke[he];break;case 67:ke[he].splice(0,1),ze.addRel("rel",...ke[he]),this.$=ke[he];break;case 68:ze.updateElStyle("update_el_style",...ke[he]),this.$=ke[he];break;case 69:ze.updateRelStyle("update_rel_style",...ke[he]),this.$=ke[he];break;case 70:ze.updateLayoutConfig("update_layout_config",...ke[he]),this.$=ke[he];break;case 71:this.$=[ke[he]];break;case 72:ke[he].unshift(ke[he-1]),this.$=ke[he];break;case 73:case 75:this.$=ke[he].trim();break;case 74:let Ne={};Ne[ke[he-1].trim()]=ke[he].trim(),this.$=Ne;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:r,23:a,24:o,26:l,28:h,29:49,30:61,32:62,34:f,36:p,37:m,38:b,39:v,40:T,41:C,43:23,44:E,45:S,46:R,47:L,48:_,49:M,50:I,51:F,52:O,53:P,54:G,55:V,56:Y,57:K,58:J,59:H,60:q,61:Z,62:Q,63:W,64:te,65:z,66:re,67:ae,68:ce,69:le,70:de,71:ve,72:Se,73:_e,74:Ce},{13:70,19:20,20:21,21:22,22:r,23:a,24:o,26:l,28:h,29:49,30:61,32:62,34:f,36:p,37:m,38:b,39:v,40:T,41:C,43:23,44:E,45:S,46:R,47:L,48:_,49:M,50:I,51:F,52:O,53:P,54:G,55:V,56:Y,57:K,58:J,59:H,60:q,61:Z,62:Q,63:W,64:te,65:z,66:re,67:ae,68:ce,69:le,70:de,71:ve,72:Se,73:_e,74:Ce},{13:71,19:20,20:21,21:22,22:r,23:a,24:o,26:l,28:h,29:49,30:61,32:62,34:f,36:p,37:m,38:b,39:v,40:T,41:C,43:23,44:E,45:S,46:R,47:L,48:_,49:M,50:I,51:F,52:O,53:P,54:G,55:V,56:Y,57:K,58:J,59:H,60:q,61:Z,62:Q,63:W,64:te,65:z,66:re,67:ae,68:ce,69:le,70:de,71:ve,72:Se,73:_e,74:Ce},{13:72,19:20,20:21,21:22,22:r,23:a,24:o,26:l,28:h,29:49,30:61,32:62,34:f,36:p,37:m,38:b,39:v,40:T,41:C,43:23,44:E,45:S,46:R,47:L,48:_,49:M,50:I,51:F,52:O,53:P,54:G,55:V,56:Y,57:K,58:J,59:H,60:q,61:Z,62:Q,63:W,64:te,65:z,66:re,67:ae,68:ce,69:le,70:de,71:ve,72:Se,73:_e,74:Ce},{13:73,19:20,20:21,21:22,22:r,23:a,24:o,26:l,28:h,29:49,30:61,32:62,34:f,36:p,37:m,38:b,39:v,40:T,41:C,43:23,44:E,45:S,46:R,47:L,48:_,49:M,50:I,51:F,52:O,53:P,54:G,55:V,56:Y,57:K,58:J,59:H,60:q,61:Z,62:Q,63:W,64:te,65:z,66:re,67:ae,68:ce,69:le,70:de,71:ve,72:Se,73:_e,74:Ce},{14:[1,74]},t(Ve,[2,13],{43:23,29:49,30:61,32:62,20:75,34:f,36:p,37:m,38:b,39:v,40:T,41:C,44:E,45:S,46:R,47:L,48:_,49:M,50:I,51:F,52:O,53:P,54:G,55:V,56:Y,57:K,58:J,59:H,60:q,61:Z,62:Q,63:W,64:te,65:z,66:re,67:ae,68:ce,69:le,70:de,71:ve,72:Se,73:_e,74:Ce}),t(Ve,[2,14]),t(De,[2,16],{12:[1,76]}),t(Ve,[2,36],{12:[1,77]}),t(qe,[2,19]),t(qe,[2,20]),{25:[1,78]},{27:[1,79]},t(qe,[2,23]),{35:80,75:81,76:Ue,77:We,79:mt,80:ct},{35:86,75:81,76:Ue,77:We,79:mt,80:ct},{35:87,75:81,76:Ue,77:We,79:mt,80:ct},{35:88,75:81,76:Ue,77:We,79:mt,80:ct},{35:89,75:81,76:Ue,77:We,79:mt,80:ct},{35:90,75:81,76:Ue,77:We,79:mt,80:ct},{35:91,75:81,76:Ue,77:We,79:mt,80:ct},{35:92,75:81,76:Ue,77:We,79:mt,80:ct},{35:93,75:81,76:Ue,77:We,79:mt,80:ct},{35:94,75:81,76:Ue,77:We,79:mt,80:ct},{35:95,75:81,76:Ue,77:We,79:mt,80:ct},{35:96,75:81,76:Ue,77:We,79:mt,80:ct},{35:97,75:81,76:Ue,77:We,79:mt,80:ct},{35:98,75:81,76:Ue,77:We,79:mt,80:ct},{35:99,75:81,76:Ue,77:We,79:mt,80:ct},{35:100,75:81,76:Ue,77:We,79:mt,80:ct},{35:101,75:81,76:Ue,77:We,79:mt,80:ct},{35:102,75:81,76:Ue,77:We,79:mt,80:ct},{35:103,75:81,76:Ue,77:We,79:mt,80:ct},{35:104,75:81,76:Ue,77:We,79:mt,80:ct},t(Ot,[2,59]),{35:105,75:81,76:Ue,77:We,79:mt,80:ct},{35:106,75:81,76:Ue,77:We,79:mt,80:ct},{35:107,75:81,76:Ue,77:We,79:mt,80:ct},{35:108,75:81,76:Ue,77:We,79:mt,80:ct},{35:109,75:81,76:Ue,77:We,79:mt,80:ct},{35:110,75:81,76:Ue,77:We,79:mt,80:ct},{35:111,75:81,76:Ue,77:We,79:mt,80:ct},{35:112,75:81,76:Ue,77:We,79:mt,80:ct},{35:113,75:81,76:Ue,77:We,79:mt,80:ct},{35:114,75:81,76:Ue,77:We,79:mt,80:ct},{35:115,75:81,76:Ue,77:We,79:mt,80:ct},{20:116,29:49,30:61,32:62,34:f,36:p,37:m,38:b,39:v,40:T,41:C,43:23,44:E,45:S,46:R,47:L,48:_,49:M,50:I,51:F,52:O,53:P,54:G,55:V,56:Y,57:K,58:J,59:H,60:q,61:Z,62:Q,63:W,64:te,65:z,66:re,67:ae,68:ce,69:le,70:de,71:ve,72:Se,73:_e,74:Ce},{12:[1,118],33:[1,117]},{35:119,75:81,76:Ue,77:We,79:mt,80:ct},{35:120,75:81,76:Ue,77:We,79:mt,80:ct},{35:121,75:81,76:Ue,77:We,79:mt,80:ct},{35:122,75:81,76:Ue,77:We,79:mt,80:ct},{35:123,75:81,76:Ue,77:We,79:mt,80:ct},{35:124,75:81,76:Ue,77:We,79:mt,80:ct},{35:125,75:81,76:Ue,77:We,79:mt,80:ct},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(Ve,[2,15]),t(De,[2,17],{21:22,19:130,22:r,23:a,24:o,26:l,28:h}),t(Ve,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:r,23:a,24:o,26:l,28:h,34:f,36:p,37:m,38:b,39:v,40:T,41:C,44:E,45:S,46:R,47:L,48:_,49:M,50:I,51:F,52:O,53:P,54:G,55:V,56:Y,57:K,58:J,59:H,60:q,61:Z,62:Q,63:W,64:te,65:z,66:re,67:ae,68:ce,69:le,70:de,71:ve,72:Se,73:_e,74:Ce}),t(qe,[2,21]),t(qe,[2,22]),t(Ot,[2,39]),t(yr,[2,71],{75:81,35:132,76:Ue,77:We,79:mt,80:ct}),t(tr,[2,73]),{78:[1,133]},t(tr,[2,75]),t(tr,[2,76]),t(Ot,[2,40]),t(Ot,[2,41]),t(Ot,[2,42]),t(Ot,[2,43]),t(Ot,[2,44]),t(Ot,[2,45]),t(Ot,[2,46]),t(Ot,[2,47]),t(Ot,[2,48]),t(Ot,[2,49]),t(Ot,[2,50]),t(Ot,[2,51]),t(Ot,[2,52]),t(Ot,[2,53]),t(Ot,[2,54]),t(Ot,[2,55]),t(Ot,[2,56]),t(Ot,[2,57]),t(Ot,[2,58]),t(Ot,[2,60]),t(Ot,[2,61]),t(Ot,[2,62]),t(Ot,[2,63]),t(Ot,[2,64]),t(Ot,[2,65]),t(Ot,[2,66]),t(Ot,[2,67]),t(Ot,[2,68]),t(Ot,[2,69]),t(Ot,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(Xe,[2,28]),t(Xe,[2,29]),t(Xe,[2,30]),t(Xe,[2,31]),t(Xe,[2,32]),t(Xe,[2,33]),t(Xe,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(De,[2,18]),t(Ve,[2,38]),t(yr,[2,72]),t(tr,[2,74]),t(Ot,[2,24]),t(Ot,[2,35]),t(Rt,[2,25]),t(Rt,[2,26],{12:[1,138]}),t(Rt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:i(function(je,He){if(He.recoverable)this.trace(je);else{var nt=new Error(je);throw nt.hash=He,nt}},"parseError"),parse:i(function(je){var He=this,nt=[0],ze=[],se=[null],ke=[],Le=this.table,he="",Ne=0,Ee=0,ye=0,be=2,ht=1,Je=ke.slice.call(arguments,1),it=Object.create(this.lexer),lt={yy:{}};for(var Vt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Vt)&&(lt.yy[Vt]=this.yy[Vt]);it.setInput(je,lt.yy),lt.yy.lexer=it,lt.yy.parser=this,typeof it.yylloc>"u"&&(it.yylloc={});var $t=it.yylloc;ke.push($t);var gr=it.options&&it.options.ranges;typeof lt.yy.parseError=="function"?this.parseError=lt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function jt(Qr){nt.length=nt.length-2*Qr,se.length=se.length-Qr,ke.length=ke.length-Qr}i(jt,"popStack");function qt(){var Qr;return Qr=ze.pop()||it.lex()||ht,typeof Qr!="number"&&(Qr instanceof Array&&(ze=Qr,Qr=ze.pop()),Qr=He.symbols_[Qr]||Qr),Qr}i(qt,"lex");for(var Wt,Ut,rn,pt,$n,Gt,Rn={},Qn,En,di,Bn;;){if(rn=nt[nt.length-1],this.defaultActions[rn]?pt=this.defaultActions[rn]:((Wt===null||typeof Wt>"u")&&(Wt=qt()),pt=Le[rn]&&Le[rn][Wt]),typeof pt>"u"||!pt.length||!pt[0]){var mi="";Bn=[];for(Qn in Le[rn])this.terminals_[Qn]&&Qn>be&&Bn.push("'"+this.terminals_[Qn]+"'");it.showPosition?mi="Parse error on line "+(Ne+1)+`: +`+it.showPosition()+` +Expecting `+Bn.join(", ")+", got '"+(this.terminals_[Wt]||Wt)+"'":mi="Parse error on line "+(Ne+1)+": Unexpected "+(Wt==ht?"end of input":"'"+(this.terminals_[Wt]||Wt)+"'"),this.parseError(mi,{text:it.match,token:this.terminals_[Wt]||Wt,line:it.yylineno,loc:$t,expected:Bn})}if(pt[0]instanceof Array&&pt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+rn+", token: "+Wt);switch(pt[0]){case 1:nt.push(Wt),se.push(it.yytext),ke.push(it.yylloc),nt.push(pt[1]),Wt=null,Ut?(Wt=Ut,Ut=null):(Ee=it.yyleng,he=it.yytext,Ne=it.yylineno,$t=it.yylloc,ye>0&&ye--);break;case 2:if(En=this.productions_[pt[1]][1],Rn.$=se[se.length-En],Rn._$={first_line:ke[ke.length-(En||1)].first_line,last_line:ke[ke.length-1].last_line,first_column:ke[ke.length-(En||1)].first_column,last_column:ke[ke.length-1].last_column},gr&&(Rn._$.range=[ke[ke.length-(En||1)].range[0],ke[ke.length-1].range[1]]),Gt=this.performAction.apply(Rn,[he,Ee,Ne,lt.yy,pt[1],se,ke].concat(Je)),typeof Gt<"u")return Gt;En&&(nt=nt.slice(0,-1*En*2),se=se.slice(0,-1*En),ke=ke.slice(0,-1*En)),nt.push(this.productions_[pt[1]][0]),se.push(Rn.$),ke.push(Rn._$),di=Le[nt[nt.length-2]][nt[nt.length-1]],nt.push(di);break;case 3:return!0}}return!0},"parse")},bt=(function(){var Fe={EOF:1,parseError:i(function(He,nt){if(this.yy.parser)this.yy.parser.parseError(He,nt);else throw new Error(He)},"parseError"),setInput:i(function(je,He){return this.yy=He||this.yy||{},this._input=je,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var je=this._input[0];this.yytext+=je,this.yyleng++,this.offset++,this.match+=je,this.matched+=je;var He=je.match(/(?:\r\n?|\n).*/g);return He?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),je},"input"),unput:i(function(je){var He=je.length,nt=je.split(/(?:\r\n?|\n)/g);this._input=je+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-He),this.offset-=He;var ze=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),nt.length-1&&(this.yylineno-=nt.length-1);var se=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:nt?(nt.length===ze.length?this.yylloc.first_column:0)+ze[ze.length-nt.length].length-nt[0].length:this.yylloc.first_column-He},this.options.ranges&&(this.yylloc.range=[se[0],se[0]+this.yyleng-He]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(je){this.unput(this.match.slice(je))},"less"),pastInput:i(function(){var je=this.matched.substr(0,this.matched.length-this.match.length);return(je.length>20?"...":"")+je.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var je=this.match;return je.length<20&&(je+=this._input.substr(0,20-je.length)),(je.substr(0,20)+(je.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var je=this.pastInput(),He=new Array(je.length+1).join("-");return je+this.upcomingInput()+` +`+He+"^"},"showPosition"),test_match:i(function(je,He){var nt,ze,se;if(this.options.backtrack_lexer&&(se={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(se.yylloc.range=this.yylloc.range.slice(0))),ze=je[0].match(/(?:\r\n?|\n).*/g),ze&&(this.yylineno+=ze.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:ze?ze[ze.length-1].length-ze[ze.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+je[0].length},this.yytext+=je[0],this.match+=je[0],this.matches=je,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(je[0].length),this.matched+=je[0],nt=this.performAction.call(this,this.yy,this,He,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),nt)return nt;if(this._backtrack){for(var ke in se)this[ke]=se[ke];return!1}return!1},"test_match"),next:i(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var je,He,nt,ze;this._more||(this.yytext="",this.match="");for(var se=this._currentRules(),ke=0;keHe[0].length)){if(He=nt,ze=ke,this.options.backtrack_lexer){if(je=this.test_match(nt,se[ke]),je!==!1)return je;if(this._backtrack){He=!1;continue}else return!1}else if(!this.options.flex)break}return He?(je=this.test_match(He,se[ze]),je!==!1?je:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:i(function(){var He=this.next();return He||this.lex()},"lex"),begin:i(function(He){this.conditionStack.push(He)},"begin"),popState:i(function(){var He=this.conditionStack.length-1;return He>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:i(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:i(function(He){return He=this.conditionStack.length-1-Math.abs(He||0),He>=0?this.conditionStack[He]:"INITIAL"},"topState"),pushState:i(function(He){this.begin(He)},"pushState"),stateStackSize:i(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:i(function(He,nt,ze,se){var ke=se;switch(ze){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),26;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:break;case 14:c;break;case 15:return 12;case 16:break;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;break;case 23:return this.begin("person"),44;break;case 24:return this.begin("system_ext_queue"),51;break;case 25:return this.begin("system_ext_db"),50;break;case 26:return this.begin("system_ext"),49;break;case 27:return this.begin("system_queue"),48;break;case 28:return this.begin("system_db"),47;break;case 29:return this.begin("system"),46;break;case 30:return this.begin("boundary"),37;break;case 31:return this.begin("enterprise_boundary"),34;break;case 32:return this.begin("system_boundary"),36;break;case 33:return this.begin("container_ext_queue"),57;break;case 34:return this.begin("container_ext_db"),56;break;case 35:return this.begin("container_ext"),55;break;case 36:return this.begin("container_queue"),54;break;case 37:return this.begin("container_db"),53;break;case 38:return this.begin("container"),52;break;case 39:return this.begin("container_boundary"),38;break;case 40:return this.begin("component_ext_queue"),63;break;case 41:return this.begin("component_ext_db"),62;break;case 42:return this.begin("component_ext"),61;break;case 43:return this.begin("component_queue"),60;break;case 44:return this.begin("component_db"),59;break;case 45:return this.begin("component"),58;break;case 46:return this.begin("node"),39;break;case 47:return this.begin("node"),39;break;case 48:return this.begin("node_l"),40;break;case 49:return this.begin("node_r"),41;break;case 50:return this.begin("rel"),64;break;case 51:return this.begin("birel"),65;break;case 52:return this.begin("rel_u"),66;break;case 53:return this.begin("rel_u"),66;break;case 54:return this.begin("rel_d"),67;break;case 55:return this.begin("rel_d"),67;break;case 56:return this.begin("rel_l"),68;break;case 57:return this.begin("rel_l"),68;break;case 58:return this.begin("rel_r"),69;break;case 59:return this.begin("rel_r"),69;break;case 60:return this.begin("rel_b"),70;break;case 61:return this.begin("rel_index"),71;break;case 62:return this.begin("update_el_style"),72;break;case 63:return this.begin("update_rel_style"),73;break;case 64:return this.begin("update_layout_config"),74;break;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";break;case 67:this.begin("attribute");break;case 68:this.popState(),this.popState();break;case 69:return 80;case 70:break;case 71:return 80;case 72:this.begin("string");break;case 73:this.popState();break;case 74:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";break;case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 79:this.popState(),this.popState();break;case 80:return"STR";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[65,66,67,68],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}};return Fe})();ft.lexer=bt;function Me(){this.yy={}}return i(Me,"Parser"),Me.prototype=ft,ft.Parser=Me,new Me})();Lee.parser=Lee;vlr=Lee});var PAn,BAn,vl,UT,Gh=ie(()=>{"use strict";Xn();PAn=i(function(t,r){for(let a of r)t.attr(a[0],a[1])},"d3Attrs"),BAn=i(function(t,r,a){let o=new Map;return a?(o.set("width","100%"),o.set("style",`max-width: ${r}px;`)):(o.set("height",t),o.set("width",r)),o},"calculateSvgSizeAttrs"),vl=i(function(t,r,a,o){let l=BAn(r,a,o);PAn(t,l)},"configureSvgSize"),UT=i(function(t,r,a,o){let l=r.node().getBBox(),h=l.width,f=l.height;Pe.info(`SVG bounds: ${h}x${f}`,l);let p=0,m=0;Pe.info(`Graph bounds: ${p}x${m}`,t),p=h+a*2,m=f+a*2,Pe.info(`Calculated bounds: ${p}x${m}`),vl(r,m,p,o);let b=`${l.x-a} ${l.y-a} ${l.width+2*a} ${l.height+2*a}`;r.attr("viewBox",b)},"setupGraphViewbox")});function Hqe(t){return[...t.cssRules].map(r=>r.cssText).join(` +`)}var fbe,FAn,wlr,xlr,qqe=ie(()=>{"use strict";Xn();fbe={};i(Hqe,"cssStyleSheetToString");FAn=i((t,r,a,o)=>{let l="";return t in fbe&&fbe[t]?l=fbe[t]({...a,svgId:o}):Pe.warn(`No theme found for ${t}`),`& { + font-family: ${a.fontFamily}; + font-size: ${a.fontSize}; + fill: ${a.textColor} + } + @keyframes edge-animation-frame { + from { + stroke-dashoffset: 0; + } + } + @keyframes dash { + to { + stroke-dashoffset: 0; + } + } + & .edge-animation-slow { + stroke-dasharray: 9,5 !important; + stroke-dashoffset: 900; + animation: dash 50s linear infinite; + stroke-linecap: round; + } + & .edge-animation-fast { + stroke-dasharray: 9,5 !important; + stroke-dashoffset: 900; + animation: dash 20s linear infinite; + stroke-linecap: round; + } + /* Classes common for multiple diagrams */ + + & .error-icon { + fill: ${a.errorBkgColor}; + } + & .error-text { + fill: ${a.errorTextColor}; + stroke: ${a.errorTextColor}; + } + + & .edge-thickness-normal { + stroke-width: ${a.strokeWidth??1}px; + } + & .edge-thickness-thick { + stroke-width: 3.5px + } + & .edge-pattern-solid { + stroke-dasharray: 0; + } + & .edge-thickness-invisible { + stroke-width: 0; + fill: none; + } + & .edge-pattern-dashed{ + stroke-dasharray: 3; + } + .edge-pattern-dotted { + stroke-dasharray: 2; + } + + & .marker { + fill: ${a.lineColor}; + stroke: ${a.lineColor}; + } + & .marker.cross { + stroke: ${a.lineColor}; + } + + & svg { + font-family: ${a.fontFamily}; + font-size: ${a.fontSize}; + } + & p { + margin: 0 + } + + ${l} + .node .neo-node { + stroke: ${a.nodeBorder}; + } + + [data-look="neo"].node rect, [data-look="neo"].cluster rect, [data-look="neo"].node polygon { + stroke: ${a.useGradient?"url("+o+"-gradient)":a.nodeBorder}; + filter: ${a.dropShadow?a.dropShadow.replace("url(#drop-shadow)",`url(${o}-drop-shadow)`):"none"}; + } + [data-look="neo"].swimlane.cluster rect { + filter: none; + } + + + [data-look="neo"].node path { + stroke: ${a.useGradient?"url("+o+"-gradient)":a.nodeBorder}; + stroke-width: ${a.strokeWidth??1}px; + } + + [data-look="neo"].node .outer-path { + filter: ${a.dropShadow?a.dropShadow.replace("url(#drop-shadow)",`url(${o}-drop-shadow)`):"none"}; + } + + [data-look="neo"].node .neo-line path { + stroke: ${a.nodeBorder}; + filter: none; + } + + [data-look="neo"].node circle{ + stroke: ${a.useGradient?"url("+o+"-gradient)":a.nodeBorder}; + filter: ${a.dropShadow?a.dropShadow.replace("url(#drop-shadow)",`url(${o}-drop-shadow)`):"none"}; + } + + [data-look="neo"].node circle .state-start{ + fill: #000000; + } + + [data-look="neo"].icon-shape .icon { + fill: ${a.useGradient?"url("+o+"-gradient)":a.nodeBorder}; + filter: ${a.dropShadow?a.dropShadow.replace("url(#drop-shadow)",`url(${o}-drop-shadow)`):"none"}; + } + + [data-look="neo"].icon-shape .icon-neo path { + stroke: ${a.useGradient?"url("+o+"-gradient)":a.nodeBorder}; + filter: ${a.dropShadow?a.dropShadow.replace("url(#drop-shadow)",`url(${o}-drop-shadow)`):"none"}; + } + + ${r} +`},"getStyles"),wlr=i((t,r)=>{r!==void 0&&(fbe[t]=r)},"addStylesForDiagram"),xlr=FAn});var Dee={};cs(Dee,{clear:()=>Is,getAccDescription:()=>Ys,getAccTitle:()=>Ws,getDiagramTitle:()=>Js,setAccDescription:()=>js,setAccTitle:()=>Os,setDiagramTitle:()=>ao});var Wqe,Yqe,Kqe,Xqe,Is,Os,Ws,js,Ys,ao,Js,xu=ie(()=>{"use strict";rl();Qs();Wqe="",Yqe="",Kqe="",Xqe=i(t=>Ns(t,ii()),"sanitizeText"),Is=i(()=>{Wqe="",Kqe="",Yqe=""},"clear"),Os=i(t=>{Wqe=Xqe(t).replace(/^\s+/g,"")},"setAccTitle"),Ws=i(()=>Wqe,"getAccTitle"),js=i(t=>{Kqe=Xqe(t).replace(/\n\s+/g,` +`)},"setAccDescription"),Ys=i(()=>Kqe,"getAccDescription"),ao=i(t=>{Yqe=Xqe(t)},"setDiagramTitle"),Js=i(()=>Yqe,"getDiagramTitle")});var Tlr,$An,Zt,X6,Zj,_ee,Mee,GAn,dbe,EN,Iee,Qqe,ma=ie(()=>{"use strict";gL();Xn();Qs();rl();Gh();qqe();xu();Tlr=Pe,$An=aee,Zt=ii,X6=Lye,Zj=DE,_ee=i(t=>Ns(t,Zt()),"sanitizeText"),Mee=UT,GAn=i(()=>Dee,"getCommonDb"),dbe={},EN=i((t,r,a)=>{dbe[t]&&Tlr.warn(`Diagram with id ${t} already registered. Overwriting.`),dbe[t]=r,a&&Uqe(t,a),wlr(t,r.styles),r.injectUtils?.(Tlr,$An,Zt,_ee,Mee,GAn(),()=>{})},"registerDiagram"),Iee=i(t=>{if(t in dbe)return dbe[t];throw new Qqe(t)},"getDiagram"),Qqe=class extends Error{static{i(this,"DiagramNotFoundError")}constructor(r){super(`Diagram ${r} not found.`)}}});var pbe,Jqe=ie(()=>{"use strict";ma();pbe=i(t=>Zt()[t],"getRequiredConfig")});var VT,SN,klr,t4,mL,vb,e4,r4,Nee,Zqe,eWe,gbe,mbe,Clr,jAn,zAn,UAn,VAn,HAn,qAn,WAn,YAn,KAn,XAn,QAn,JAn,ZAn,e8n,t8n,r8n,n8n,Elr,i8n,a8n,Slr,s8n,o8n,l8n,c8n,yL,u8n,h8n,f8n,d8n,p8n,Oee,tWe=ie(()=>{"use strict";ma();Jqe();rl();xu();VT=new Set(["label","descr","techn","type"]),SN=i((t,r)=>{for(let[a,o]of Object.entries(r))if(o!==void 0)if(typeof o=="object"){let[l,h]=Object.entries(o)[0];t[l]=VT.has(l)?{text:h}:h}else t[a]=o},"assignAttributes"),klr=i(()=>({alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}),"createGlobalBoundary"),t4=[],mL=[""],vb="global",e4="",r4=[klr()],Nee=[],Zqe="",eWe=!1,gbe=4,mbe=2,jAn=i(function(){return Clr},"getC4Type"),zAn=i(function(t){Clr=Ns(t,Zt())},"setC4Type"),UAn=i(function(t,r,a,o,l,h,f,p,m){if(t==null||r===void 0||r===null||a===void 0||a===null||o===void 0||o===null)return;let b={},v=Nee.find(T=>T.from===r&&T.to===a);if(v?b=v:Nee.push(b),b.type=t,b.from=r,b.to=a,b.label={text:o},l==null)b.techn??={text:""};else if(typeof l=="object"){let[T,C]=Object.entries(l)[0];b[T]=VT.has(T)?{text:C}:C}else b.techn={text:l};if(h==null)b.descr??={text:""};else if(typeof h=="object"){let[T,C]=Object.entries(h)[0];b[T]=VT.has(T)?{text:C}:C}else b.descr={text:h};SN(b,{sprite:f,tags:p,link:m}),b.wrap=yL()},"addRel"),VAn=i(function(t,r,a,o,l,h,f){if(r===null||a===null)return;let p={},m=t4.find(b=>b.alias===r);if(m&&r===m.alias?p=m:(p.alias=r,t4.push(p)),a==null?p.label={text:""}:p.label={text:a},o==null)p.descr??={text:""};else if(typeof o=="object"){let[b,v]=Object.entries(o)[0];p[b]=VT.has(b)?{text:v}:v}else p.descr={text:o};SN(p,{sprite:l,tags:h,link:f}),p.typeC4Shape={text:t},p.parentBoundary=vb,p.wrap=yL()},"addPersonOrSystem"),HAn=i(function(t,r,a,o,l,h,f,p){if(r===null||a===null)return;let m={},b=t4.find(v=>v.alias===r);if(b&&r===b.alias?m=b:(m.alias=r,t4.push(m)),a==null?m.label={text:""}:m.label={text:a},o==null)m.techn??={text:""};else if(typeof o=="object"){let[v,T]=Object.entries(o)[0];m[v]=VT.has(v)?{text:T}:T}else m.techn={text:o};if(l==null)m.descr??={text:""};else if(typeof l=="object"){let[v,T]=Object.entries(l)[0];m[v]=VT.has(v)?{text:T}:T}else m.descr={text:l};SN(m,{sprite:h,tags:f,link:p}),m.wrap=yL(),m.typeC4Shape={text:t},m.parentBoundary=vb},"addContainer"),qAn=i(function(t,r,a,o,l,h,f,p){if(r===null||a===null)return;let m={},b=t4.find(v=>v.alias===r);if(b&&r===b.alias?m=b:(m.alias=r,t4.push(m)),a==null?m.label={text:""}:m.label={text:a},o==null)m.techn??={text:""};else if(typeof o=="object"){let[v,T]=Object.entries(o)[0];m[v]=VT.has(v)?{text:T}:T}else m.techn={text:o};if(l==null)m.descr??={text:""};else if(typeof l=="object"){let[v,T]=Object.entries(l)[0];m[v]=VT.has(v)?{text:T}:T}else m.descr={text:l};SN(m,{sprite:h,tags:f,link:p}),m.wrap=yL(),m.typeC4Shape={text:t},m.parentBoundary=vb},"addComponent"),WAn=i(function(t,r,a,o,l){if(t===null||r===null)return;let h={},f=r4.find(p=>p.alias===t);if(f&&t===f.alias?h=f:(h.alias=t,r4.push(h)),r==null?h.label={text:""}:h.label={text:r},a==null)h.type={text:"system"};else if(typeof a=="object"){let[p,m]=Object.entries(a)[0];h[p]=VT.has(p)?{text:m}:m}else h.type={text:a};SN(h,{tags:o,link:l}),h.parentBoundary=vb,h.wrap=yL(),e4=vb,vb=t,mL.push(e4)},"addPersonOrSystemBoundary"),YAn=i(function(t,r,a,o,l){if(t===null||r===null)return;let h={},f=r4.find(p=>p.alias===t);if(f&&t===f.alias?h=f:(h.alias=t,r4.push(h)),r==null?h.label={text:""}:h.label={text:r},a==null)h.type={text:"container"};else if(typeof a=="object"){let[p,m]=Object.entries(a)[0];h[p]=VT.has(p)?{text:m}:m}else h.type={text:a};SN(h,{tags:o,link:l}),h.parentBoundary=vb,h.wrap=yL(),e4=vb,vb=t,mL.push(e4)},"addContainerBoundary"),KAn=i(function(t,r,a,o,l,h,f,p){if(r===null||a===null)return;let m={},b=r4.find(v=>v.alias===r);if(b&&r===b.alias?m=b:(m.alias=r,r4.push(m)),a==null?m.label={text:""}:m.label={text:a},o==null)m.type={text:"node"};else if(typeof o=="object"){let[v,T]=Object.entries(o)[0];m[v]=VT.has(v)?{text:T}:T}else m.type={text:o};if(l==null)m.descr??={text:""};else if(typeof l=="object"){let[v,T]=Object.entries(l)[0];m[v]=VT.has(v)?{text:T}:T}else m.descr={text:l};SN(m,{tags:f,link:p}),m.nodeType=t,m.parentBoundary=vb,m.wrap=yL(),e4=vb,vb=r,mL.push(e4)},"addDeploymentNode"),XAn=i(function(){vb=e4,mL.pop(),e4=mL.pop(),mL.push(e4)},"popBoundaryParseStack"),QAn=i(function(t,r,a,o,l,h,f,p,m,b,v){let T=t4.find(C=>C.alias===r);if(!(T===void 0&&(T=r4.find(C=>C.alias===r),T===void 0))){if(a!=null)if(typeof a=="object"){let[C,E]=Object.entries(a)[0];T[C]=E}else T.bgColor=a;if(o!=null)if(typeof o=="object"){let[C,E]=Object.entries(o)[0];T[C]=E}else T.fontColor=o;if(l!=null)if(typeof l=="object"){let[C,E]=Object.entries(l)[0];T[C]=E}else T.borderColor=l;if(h!=null)if(typeof h=="object"){let[C,E]=Object.entries(h)[0];T[C]=E}else T.shadowing=h;if(f!=null)if(typeof f=="object"){let[C,E]=Object.entries(f)[0];T[C]=E}else T.shape=f;if(p!=null)if(typeof p=="object"){let[C,E]=Object.entries(p)[0];T[C]=E}else T.sprite=p;if(m!=null)if(typeof m=="object"){let[C,E]=Object.entries(m)[0];T[C]=E}else T.techn=m;if(b!=null)if(typeof b=="object"){let[C,E]=Object.entries(b)[0];T[C]=E}else T.legendText=b;if(v!=null)if(typeof v=="object"){let[C,E]=Object.entries(v)[0];T[C]=E}else T.legendSprite=v}},"updateElStyle"),JAn=i(function(t,r,a,o,l,h,f){let p=Nee.find(m=>m.from===r&&m.to===a);if(p!==void 0){if(o!=null)if(typeof o=="object"){let[m,b]=Object.entries(o)[0];p[m]=b}else p.textColor=o;if(l!=null)if(typeof l=="object"){let[m,b]=Object.entries(l)[0];p[m]=b}else p.lineColor=l;if(h!=null)if(typeof h=="object"){let[m,b]=Object.entries(h)[0];p[m]=parseInt(b)}else p.offsetX=parseInt(h);if(f!=null)if(typeof f=="object"){let[m,b]=Object.entries(f)[0];p[m]=parseInt(b)}else p.offsetY=parseInt(f)}},"updateRelStyle"),ZAn=i(function(t,r,a){let o=gbe,l=mbe;if(typeof r=="object"){let h=Object.values(r)[0];o=parseInt(h)}else o=parseInt(r);if(typeof a=="object"){let h=Object.values(a)[0];l=parseInt(h)}else l=parseInt(a);o>=1&&(gbe=o),l>=1&&(mbe=l)},"updateLayoutConfig"),e8n=i(function(){return gbe},"getC4ShapeInRow"),t8n=i(function(){return mbe},"getC4BoundaryInRow"),r8n=i(function(){return vb},"getCurrentBoundaryParse"),n8n=i(function(){return e4},"getParentBoundaryParse"),Elr=i(function(t){return t==null?t4:t4.filter(r=>r.parentBoundary===t)},"getC4ShapeArray"),i8n=i(function(t){return t4.find(r=>r.alias===t)??r4.find(r=>r.alias===t)},"getC4Shape"),a8n=i(function(t){return Object.keys(Elr(t))},"getC4ShapeKeys"),Slr=i(function(t){return t==null?r4:r4.filter(r=>r.parentBoundary===t)},"getBoundaries"),s8n=Slr,o8n=i(function(){return Nee},"getRels"),l8n=i(function(){return Zqe},"getTitle"),c8n=i(function(t){eWe=t},"setWrap"),yL=i(function(){return eWe},"autoWrap"),u8n=i(function(){t4=[],r4=[klr()],e4="",vb="global",mL=[""],Nee=[],mL=[""],Zqe="",eWe=!1,gbe=4,mbe=2},"clear"),h8n={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},f8n={FILLED:0,OPEN:1},d8n={LEFTOF:0,RIGHTOF:1,OVER:2},p8n=i(function(t){Zqe=Ns(t,Zt())},"setTitle"),Oee={addPersonOrSystem:VAn,addPersonOrSystemBoundary:WAn,addContainer:HAn,addContainerBoundary:YAn,addComponent:qAn,addDeploymentNode:KAn,popBoundaryParseStack:XAn,addRel:UAn,updateElStyle:QAn,updateRelStyle:JAn,updateLayoutConfig:ZAn,autoWrap:yL,setWrap:c8n,getC4ShapeArray:Elr,getC4Shape:i8n,getC4ShapeKeys:a8n,getBoundaries:Slr,getBoundarys:s8n,getCurrentBoundaryParse:r8n,getParentBoundaryParse:n8n,getRels:o8n,getTitle:l8n,getC4Type:jAn,getC4ShapeInRow:e8n,getC4BoundaryInRow:t8n,setAccTitle:Os,getAccTitle:Ws,getAccDescription:Ys,setAccDescription:js,getConfig:i(()=>pbe("c4"),"getConfig"),clear:u8n,LINETYPE:h8n,ARROWTYPE:f8n,PLACEMENT:d8n,setTitle:p8n,setC4Type:zAn}});var Alr=Hv(fm=>{"use strict";Object.defineProperty(fm,"__esModule",{value:!0});fm.BLANK_URL=fm.relativeFirstCharacters=fm.whitespaceEscapeCharsRegex=fm.urlSchemeRegex=fm.ctrlCharactersRegex=fm.htmlCtrlEntityRegex=fm.htmlEntitiesRegex=fm.invalidProtocolRegex=void 0;fm.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im;fm.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g;fm.htmlCtrlEntityRegex=/&(newline|tab);/gi;fm.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim;fm.urlSchemeRegex=/^.+(:|:)/gim;fm.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g;fm.relativeFirstCharacters=[".","/"];fm.BLANK_URL="about:blank"});var Pee=Hv(rWe=>{"use strict";Object.defineProperty(rWe,"__esModule",{value:!0});rWe.sanitizeUrl=b8n;var ry=Alr();function g8n(t){return ry.relativeFirstCharacters.indexOf(t[0])>-1}i(g8n,"isRelativeUrlWithoutProtocol");function m8n(t){var r=t.replace(ry.ctrlCharactersRegex,"");return r.replace(ry.htmlEntitiesRegex,function(a,o){return String.fromCharCode(o)})}i(m8n,"decodeHtmlCharacters");function y8n(t){return URL.canParse(t)}i(y8n,"isValidUrl");function Rlr(t){try{return decodeURIComponent(t)}catch{return t}}i(Rlr,"decodeURI");function b8n(t){if(!t)return ry.BLANK_URL;var r,a=Rlr(t.trim());do a=m8n(a).replace(ry.htmlCtrlEntityRegex,"").replace(ry.ctrlCharactersRegex,"").replace(ry.whitespaceEscapeCharsRegex,"").trim(),a=Rlr(a),r=a.match(ry.ctrlCharactersRegex)||a.match(ry.htmlEntitiesRegex)||a.match(ry.htmlCtrlEntityRegex)||a.match(ry.whitespaceEscapeCharsRegex);while(r&&r.length>0);var o=a;if(!o)return ry.BLANK_URL;if(g8n(o))return o;var l=o.trimStart(),h=l.match(ry.urlSchemeRegex);if(!h)return o;var f=h[0].toLowerCase().trim();if(ry.invalidProtocolRegex.test(f))return ry.BLANK_URL;var p=l.replace(/\\/g,"/");if(f==="mailto:"||f.includes("://"))return p;if(f==="http:"||f==="https:"){if(!y8n(p))return ry.BLANK_URL;var m=new URL(p);return m.protocol=m.protocol.toLowerCase(),m.hostname=m.hostname.toLowerCase(),m.toString()}return p}i(b8n,"sanitizeUrl")});function AN(t,r){return t==null||r==null?NaN:tr?1:t>=r?0:NaN}var nWe=ie(()=>{"use strict";i(AN,"ascending")});function iWe(t,r){return t==null||r==null?NaN:rt?1:r>=t?0:NaN}var Llr=ie(()=>{"use strict";i(iWe,"descending")});function RN(t){let r,a,o;t.length!==2?(r=AN,a=i((p,m)=>AN(t(p),m),"compare2"),o=i((p,m)=>t(p)-m,"delta")):(r=t===AN||t===iWe?t:v8n,a=t,o=t);function l(p,m,b=0,v=p.length){if(b>>1;a(p[T],m)<0?b=T+1:v=T}while(b>>1;a(p[T],m)<=0?b=T+1:v=T}while(bb&&o(p[T-1],m)>-o(p[T],m)?T-1:T}return i(f,"center"),{left:l,center:f,right:h}}function v8n(){return 0}var aWe=ie(()=>{"use strict";nWe();Llr();i(RN,"bisector");i(v8n,"zero")});function sWe(t){return t===null?NaN:+t}var Dlr=ie(()=>{"use strict";i(sWe,"number")});var _lr,Mlr,w8n,x8n,oWe,Ilr=ie(()=>{"use strict";nWe();aWe();Dlr();_lr=RN(AN),Mlr=_lr.right,w8n=_lr.left,x8n=RN(sWe).center,oWe=Mlr});function Nlr({_intern:t,_key:r},a){let o=r(a);return t.has(o)?t.get(o):a}function T8n({_intern:t,_key:r},a){let o=r(a);return t.has(o)?t.get(o):(t.set(o,a),a)}function k8n({_intern:t,_key:r},a){let o=r(a);return t.has(o)&&(a=t.get(o),t.delete(o)),a}function C8n(t){return t!==null&&typeof t=="object"?t.valueOf():t}var ez,Olr=ie(()=>{"use strict";ez=class extends Map{static{i(this,"InternMap")}constructor(r,a=C8n){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:a}}),r!=null)for(let[o,l]of r)this.set(o,l)}get(r){return super.get(Nlr(this,r))}has(r){return super.has(Nlr(this,r))}set(r,a){return super.set(T8n(this,r),a)}delete(r){return super.delete(k8n(this,r))}};i(Nlr,"intern_get");i(T8n,"intern_set");i(k8n,"intern_delete");i(C8n,"keyof")});function ybe(t,r,a){let o=(r-t)/Math.max(0,a),l=Math.floor(Math.log10(o)),h=o/Math.pow(10,l),f=h>=E8n?10:h>=S8n?5:h>=A8n?2:1,p,m,b;return l<0?(b=Math.pow(10,-l)/f,p=Math.round(t*b),m=Math.round(r*b),p/br&&--m,b=-b):(b=Math.pow(10,l)*f,p=Math.round(t/b),m=Math.round(r/b),p*br&&--m),m0))return[];if(t===r)return[t];let o=r=l))return[];let p=h-l+1,m=new Array(p);if(o)if(f<0)for(let b=0;b{"use strict";E8n=Math.sqrt(50),S8n=Math.sqrt(10),A8n=Math.sqrt(2);i(ybe,"tickSpec");i(bbe,"ticks");i(Bee,"tickIncrement");i(tz,"tickStep")});function vbe(t,r){let a;if(r===void 0)for(let o of t)o!=null&&(a=o)&&(a=o);else{let o=-1;for(let l of t)(l=r(l,++o,t))!=null&&(a=l)&&(a=l)}return a}var Blr=ie(()=>{"use strict";i(vbe,"max")});function wbe(t,r){let a;if(r===void 0)for(let o of t)o!=null&&(a>o||a===void 0&&o>=o)&&(a=o);else{let o=-1;for(let l of t)(l=r(l,++o,t))!=null&&(a>l||a===void 0&&l>=l)&&(a=l)}return a}var Flr=ie(()=>{"use strict";i(wbe,"min")});function xbe(t,r,a){t=+t,r=+r,a=(l=arguments.length)<2?(r=t,t=0,1):l<3?1:+a;for(var o=-1,l=Math.max(0,Math.ceil((r-t)/a))|0,h=new Array(l);++o{"use strict";i(xbe,"range")});var bL=ie(()=>{"use strict";Ilr();aWe();Blr();Flr();$lr();Plr();Olr()});function lWe(t){return t}var Glr=ie(()=>{"use strict";i(lWe,"default")});function R8n(t){return"translate("+t+",0)"}function L8n(t){return"translate(0,"+t+")"}function D8n(t){return r=>+t(r)}function _8n(t,r){return r=Math.max(0,t.bandwidth()-r*2)/2,t.round()&&(r=Math.round(r)),a=>+t(a)+r}function M8n(){return!this.__axis}function zlr(t,r){var a=[],o=null,l=null,h=6,f=6,p=3,m=typeof window<"u"&&window.devicePixelRatio>1?0:.5,b=t===kbe||t===Tbe?-1:1,v=t===Tbe||t===cWe?"x":"y",T=t===kbe||t===uWe?R8n:L8n;function C(E){var S=o??(r.ticks?r.ticks.apply(r,a):r.domain()),R=l??(r.tickFormat?r.tickFormat.apply(r,a):lWe),L=Math.max(h,0)+p,_=r.range(),M=+_[0]+m,I=+_[_.length-1]+m,F=(r.bandwidth?_8n:D8n)(r.copy(),m),O=E.selection?E.selection():E,P=O.selectAll(".domain").data([null]),G=O.selectAll(".tick").data(S,r).order(),V=G.exit(),Y=G.enter().append("g").attr("class","tick"),K=G.select("line"),J=G.select("text");P=P.merge(P.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),G=G.merge(Y),K=K.merge(Y.append("line").attr("stroke","currentColor").attr(v+"2",b*h)),J=J.merge(Y.append("text").attr("fill","currentColor").attr(v,b*L).attr("dy",t===kbe?"0em":t===uWe?"0.71em":"0.32em")),E!==O&&(P=P.transition(E),G=G.transition(E),K=K.transition(E),J=J.transition(E),V=V.transition(E).attr("opacity",jlr).attr("transform",function(H){return isFinite(H=F(H))?T(H+m):this.getAttribute("transform")}),Y.attr("opacity",jlr).attr("transform",function(H){var q=this.parentNode.__axis;return T((q&&isFinite(q=q(H))?q:F(H))+m)})),V.remove(),P.attr("d",t===Tbe||t===cWe?f?"M"+b*f+","+M+"H"+m+"V"+I+"H"+b*f:"M"+m+","+M+"V"+I:f?"M"+M+","+b*f+"V"+m+"H"+I+"V"+b*f:"M"+M+","+m+"H"+I),G.attr("opacity",1).attr("transform",function(H){return T(F(H)+m)}),K.attr(v+"2",b*h),J.attr(v,b*L).text(R),O.filter(M8n).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===cWe?"start":t===Tbe?"end":"middle"),O.each(function(){this.__axis=F})}return i(C,"axis"),C.scale=function(E){return arguments.length?(r=E,C):r},C.ticks=function(){return a=Array.from(arguments),C},C.tickArguments=function(E){return arguments.length?(a=E==null?[]:Array.from(E),C):a.slice()},C.tickValues=function(E){return arguments.length?(o=E==null?null:Array.from(E),C):o&&o.slice()},C.tickFormat=function(E){return arguments.length?(l=E,C):l},C.tickSize=function(E){return arguments.length?(h=f=+E,C):h},C.tickSizeInner=function(E){return arguments.length?(h=+E,C):h},C.tickSizeOuter=function(E){return arguments.length?(f=+E,C):f},C.tickPadding=function(E){return arguments.length?(p=+E,C):p},C.offset=function(E){return arguments.length?(m=+E,C):m},C}function hWe(t){return zlr(kbe,t)}function fWe(t){return zlr(uWe,t)}var kbe,cWe,uWe,Tbe,jlr,Ulr=ie(()=>{"use strict";Glr();kbe=1,cWe=2,uWe=3,Tbe=4,jlr=1e-6;i(R8n,"translateX");i(L8n,"translateY");i(D8n,"number");i(_8n,"center");i(M8n,"entering");i(zlr,"axis");i(hWe,"axisTop");i(fWe,"axisBottom")});var Vlr=ie(()=>{"use strict";Ulr()});function qlr(){for(var t=0,r=arguments.length,a={},o;t=0&&(o=a.slice(l+1),a=a.slice(0,l)),a&&!r.hasOwnProperty(a))throw new Error("unknown type: "+a);return{type:a,name:o}})}function O8n(t,r){for(var a=0,o=t.length,l;a{"use strict";I8n={value:i(()=>{},"value")};i(qlr,"dispatch");i(Cbe,"Dispatch");i(N8n,"parseTypenames");Cbe.prototype=qlr.prototype={constructor:Cbe,on:i(function(t,r){var a=this._,o=N8n(t+"",a),l,h=-1,f=o.length;if(arguments.length<2){for(;++h0)for(var a=new Array(l),o=0,l,h;o{"use strict";Wlr()});var Ebe,gWe,mWe=ie(()=>{"use strict";Ebe="http://www.w3.org/1999/xhtml",gWe={svg:"http://www.w3.org/2000/svg",xhtml:Ebe,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}});function jE(t){var r=t+="",a=r.indexOf(":");return a>=0&&(r=t.slice(0,a))!=="xmlns"&&(t=t.slice(a+1)),gWe.hasOwnProperty(r)?{space:gWe[r],local:t}:t}var Sbe=ie(()=>{"use strict";mWe();i(jE,"default")});function P8n(t){return function(){var r=this.ownerDocument,a=this.namespaceURI;return a===Ebe&&r.documentElement.namespaceURI===Ebe?r.createElement(t):r.createElementNS(a,t)}}function B8n(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Fee(t){var r=jE(t);return(r.local?B8n:P8n)(r)}var yWe=ie(()=>{"use strict";Sbe();mWe();i(P8n,"creatorInherit");i(B8n,"creatorFixed");i(Fee,"default")});function F8n(){}function vL(t){return t==null?F8n:function(){return this.querySelector(t)}}var Abe=ie(()=>{"use strict";i(F8n,"none");i(vL,"default")});function bWe(t){typeof t!="function"&&(t=vL(t));for(var r=this._groups,a=r.length,o=new Array(a),l=0;l{"use strict";n4();Abe();i(bWe,"default")});function vWe(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}var Klr=ie(()=>{"use strict";i(vWe,"array")});function $8n(){return[]}function rz(t){return t==null?$8n:function(){return this.querySelectorAll(t)}}var wWe=ie(()=>{"use strict";i($8n,"empty");i(rz,"default")});function G8n(t){return function(){return vWe(t.apply(this,arguments))}}function xWe(t){typeof t=="function"?t=G8n(t):t=rz(t);for(var r=this._groups,a=r.length,o=[],l=[],h=0;h{"use strict";n4();Klr();wWe();i(G8n,"arrayAll");i(xWe,"default")});function nz(t){return function(){return this.matches(t)}}function Rbe(t){return function(r){return r.matches(t)}}var $ee=ie(()=>{"use strict";i(nz,"default");i(Rbe,"childMatcher")});function z8n(t){return function(){return j8n.call(this.children,t)}}function U8n(){return this.firstElementChild}function TWe(t){return this.select(t==null?U8n:z8n(typeof t=="function"?t:Rbe(t)))}var j8n,Qlr=ie(()=>{"use strict";$ee();j8n=Array.prototype.find;i(z8n,"childFind");i(U8n,"childFirst");i(TWe,"default")});function H8n(){return Array.from(this.children)}function q8n(t){return function(){return V8n.call(this.children,t)}}function kWe(t){return this.selectAll(t==null?H8n:q8n(typeof t=="function"?t:Rbe(t)))}var V8n,Jlr=ie(()=>{"use strict";$ee();V8n=Array.prototype.filter;i(H8n,"children");i(q8n,"childrenFilter");i(kWe,"default")});function CWe(t){typeof t!="function"&&(t=nz(t));for(var r=this._groups,a=r.length,o=new Array(a),l=0;l{"use strict";n4();$ee();i(CWe,"default")});function Gee(t){return new Array(t.length)}var EWe=ie(()=>{"use strict";i(Gee,"default")});function SWe(){return new fp(this._enter||this._groups.map(Gee),this._parents)}function jee(t,r){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=r}var AWe=ie(()=>{"use strict";EWe();n4();i(SWe,"default");i(jee,"EnterNode");jee.prototype={constructor:jee,appendChild:i(function(t){return this._parent.insertBefore(t,this._next)},"appendChild"),insertBefore:i(function(t,r){return this._parent.insertBefore(t,r)},"insertBefore"),querySelector:i(function(t){return this._parent.querySelector(t)},"querySelector"),querySelectorAll:i(function(t){return this._parent.querySelectorAll(t)},"querySelectorAll")}});function RWe(t){return function(){return t}}var ecr=ie(()=>{"use strict";i(RWe,"default")});function W8n(t,r,a,o,l,h){for(var f=0,p,m=r.length,b=h.length;f=I&&(I=M+1);!(O=L[I])&&++I{"use strict";n4();AWe();ecr();i(W8n,"bindIndex");i(Y8n,"bindKey");i(K8n,"datum");i(LWe,"default");i(X8n,"arraylike")});function DWe(){return new fp(this._exit||this._groups.map(Gee),this._parents)}var rcr=ie(()=>{"use strict";EWe();n4();i(DWe,"default")});function _We(t,r,a){var o=this.enter(),l=this,h=this.exit();return typeof t=="function"?(o=t(o),o&&(o=o.selection())):o=o.append(t+""),r!=null&&(l=r(l),l&&(l=l.selection())),a==null?h.remove():a(h),o&&l?o.merge(l).order():l}var ncr=ie(()=>{"use strict";i(_We,"default")});function MWe(t){for(var r=t.selection?t.selection():t,a=this._groups,o=r._groups,l=a.length,h=o.length,f=Math.min(l,h),p=new Array(l),m=0;m{"use strict";n4();i(MWe,"default")});function IWe(){for(var t=this._groups,r=-1,a=t.length;++r=0;)(f=o[l])&&(h&&f.compareDocumentPosition(h)^4&&h.parentNode.insertBefore(f,h),h=f);return this}var acr=ie(()=>{"use strict";i(IWe,"default")});function NWe(t){t||(t=Q8n);function r(T,C){return T&&C?t(T.__data__,C.__data__):!T-!C}i(r,"compareNode");for(var a=this._groups,o=a.length,l=new Array(o),h=0;hr?1:t>=r?0:NaN}var scr=ie(()=>{"use strict";n4();i(NWe,"default");i(Q8n,"ascending")});function OWe(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}var ocr=ie(()=>{"use strict";i(OWe,"default")});function PWe(){return Array.from(this)}var lcr=ie(()=>{"use strict";i(PWe,"default")});function BWe(){for(var t=this._groups,r=0,a=t.length;r{"use strict";i(BWe,"default")});function FWe(){let t=0;for(let r of this)++t;return t}var ucr=ie(()=>{"use strict";i(FWe,"default")});function $We(){return!this.node()}var hcr=ie(()=>{"use strict";i($We,"default")});function GWe(t){for(var r=this._groups,a=0,o=r.length;a{"use strict";i(GWe,"default")});function J8n(t){return function(){this.removeAttribute(t)}}function Z8n(t){return function(){this.removeAttributeNS(t.space,t.local)}}function e7n(t,r){return function(){this.setAttribute(t,r)}}function t7n(t,r){return function(){this.setAttributeNS(t.space,t.local,r)}}function r7n(t,r){return function(){var a=r.apply(this,arguments);a==null?this.removeAttribute(t):this.setAttribute(t,a)}}function n7n(t,r){return function(){var a=r.apply(this,arguments);a==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,a)}}function jWe(t,r){var a=jE(t);if(arguments.length<2){var o=this.node();return a.local?o.getAttributeNS(a.space,a.local):o.getAttribute(a)}return this.each((r==null?a.local?Z8n:J8n:typeof r=="function"?a.local?n7n:r7n:a.local?t7n:e7n)(a,r))}var dcr=ie(()=>{"use strict";Sbe();i(J8n,"attrRemove");i(Z8n,"attrRemoveNS");i(e7n,"attrConstant");i(t7n,"attrConstantNS");i(r7n,"attrFunction");i(n7n,"attrFunctionNS");i(jWe,"default")});function zee(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}var zWe=ie(()=>{"use strict";i(zee,"default")});function i7n(t){return function(){this.style.removeProperty(t)}}function a7n(t,r,a){return function(){this.style.setProperty(t,r,a)}}function s7n(t,r,a){return function(){var o=r.apply(this,arguments);o==null?this.style.removeProperty(t):this.style.setProperty(t,o,a)}}function UWe(t,r,a){return arguments.length>1?this.each((r==null?i7n:typeof r=="function"?s7n:a7n)(t,r,a??"")):wL(this.node(),t)}function wL(t,r){return t.style.getPropertyValue(r)||zee(t).getComputedStyle(t,null).getPropertyValue(r)}var VWe=ie(()=>{"use strict";zWe();i(i7n,"styleRemove");i(a7n,"styleConstant");i(s7n,"styleFunction");i(UWe,"default");i(wL,"styleValue")});function o7n(t){return function(){delete this[t]}}function l7n(t,r){return function(){this[t]=r}}function c7n(t,r){return function(){var a=r.apply(this,arguments);a==null?delete this[t]:this[t]=a}}function HWe(t,r){return arguments.length>1?this.each((r==null?o7n:typeof r=="function"?c7n:l7n)(t,r)):this.node()[t]}var pcr=ie(()=>{"use strict";i(o7n,"propertyRemove");i(l7n,"propertyConstant");i(c7n,"propertyFunction");i(HWe,"default")});function gcr(t){return t.trim().split(/^|\s+/)}function qWe(t){return t.classList||new mcr(t)}function mcr(t){this._node=t,this._names=gcr(t.getAttribute("class")||"")}function ycr(t,r){for(var a=qWe(t),o=-1,l=r.length;++o{"use strict";i(gcr,"classArray");i(qWe,"classList");i(mcr,"ClassList");mcr.prototype={add:i(function(t){var r=this._names.indexOf(t);r<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},"add"),remove:i(function(t){var r=this._names.indexOf(t);r>=0&&(this._names.splice(r,1),this._node.setAttribute("class",this._names.join(" ")))},"remove"),contains:i(function(t){return this._names.indexOf(t)>=0},"contains")};i(ycr,"classedAdd");i(bcr,"classedRemove");i(u7n,"classedTrue");i(h7n,"classedFalse");i(f7n,"classedFunction");i(WWe,"default")});function d7n(){this.textContent=""}function p7n(t){return function(){this.textContent=t}}function g7n(t){return function(){var r=t.apply(this,arguments);this.textContent=r??""}}function YWe(t){return arguments.length?this.each(t==null?d7n:(typeof t=="function"?g7n:p7n)(t)):this.node().textContent}var wcr=ie(()=>{"use strict";i(d7n,"textRemove");i(p7n,"textConstant");i(g7n,"textFunction");i(YWe,"default")});function m7n(){this.innerHTML=""}function y7n(t){return function(){this.innerHTML=t}}function b7n(t){return function(){var r=t.apply(this,arguments);this.innerHTML=r??""}}function KWe(t){return arguments.length?this.each(t==null?m7n:(typeof t=="function"?b7n:y7n)(t)):this.node().innerHTML}var xcr=ie(()=>{"use strict";i(m7n,"htmlRemove");i(y7n,"htmlConstant");i(b7n,"htmlFunction");i(KWe,"default")});function v7n(){this.nextSibling&&this.parentNode.appendChild(this)}function XWe(){return this.each(v7n)}var Tcr=ie(()=>{"use strict";i(v7n,"raise");i(XWe,"default")});function w7n(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function QWe(){return this.each(w7n)}var kcr=ie(()=>{"use strict";i(w7n,"lower");i(QWe,"default")});function JWe(t){var r=typeof t=="function"?t:Fee(t);return this.select(function(){return this.appendChild(r.apply(this,arguments))})}var Ccr=ie(()=>{"use strict";yWe();i(JWe,"default")});function x7n(){return null}function ZWe(t,r){var a=typeof t=="function"?t:Fee(t),o=r==null?x7n:typeof r=="function"?r:vL(r);return this.select(function(){return this.insertBefore(a.apply(this,arguments),o.apply(this,arguments)||null)})}var Ecr=ie(()=>{"use strict";yWe();Abe();i(x7n,"constantNull");i(ZWe,"default")});function T7n(){var t=this.parentNode;t&&t.removeChild(this)}function eYe(){return this.each(T7n)}var Scr=ie(()=>{"use strict";i(T7n,"remove");i(eYe,"default")});function k7n(){var t=this.cloneNode(!1),r=this.parentNode;return r?r.insertBefore(t,this.nextSibling):t}function C7n(){var t=this.cloneNode(!0),r=this.parentNode;return r?r.insertBefore(t,this.nextSibling):t}function tYe(t){return this.select(t?C7n:k7n)}var Acr=ie(()=>{"use strict";i(k7n,"selection_cloneShallow");i(C7n,"selection_cloneDeep");i(tYe,"default")});function rYe(t){return arguments.length?this.property("__data__",t):this.node().__data__}var Rcr=ie(()=>{"use strict";i(rYe,"default")});function E7n(t){return function(r){t.call(this,r,this.__data__)}}function S7n(t){return t.trim().split(/^|\s+/).map(function(r){var a="",o=r.indexOf(".");return o>=0&&(a=r.slice(o+1),r=r.slice(0,o)),{type:r,name:a}})}function A7n(t){return function(){var r=this.__on;if(r){for(var a=0,o=-1,l=r.length,h;a{"use strict";i(E7n,"contextListener");i(S7n,"parseTypenames");i(A7n,"onRemove");i(R7n,"onAdd");i(nYe,"default")});function Dcr(t,r,a){var o=zee(t),l=o.CustomEvent;typeof l=="function"?l=new l(r,a):(l=o.document.createEvent("Event"),a?(l.initEvent(r,a.bubbles,a.cancelable),l.detail=a.detail):l.initEvent(r,!1,!1)),t.dispatchEvent(l)}function L7n(t,r){return function(){return Dcr(this,t,r)}}function D7n(t,r){return function(){return Dcr(this,t,r.apply(this,arguments))}}function iYe(t,r){return this.each((typeof r=="function"?D7n:L7n)(t,r))}var _cr=ie(()=>{"use strict";zWe();i(Dcr,"dispatchEvent");i(L7n,"dispatchConstant");i(D7n,"dispatchFunction");i(iYe,"default")});function*aYe(){for(var t=this._groups,r=0,a=t.length;r{"use strict";i(aYe,"default")});function fp(t,r){this._groups=t,this._parents=r}function Icr(){return new fp([[document.documentElement]],sYe)}function _7n(){return this}var sYe,Q6,n4=ie(()=>{"use strict";Ylr();Xlr();Qlr();Jlr();Zlr();tcr();AWe();rcr();ncr();icr();acr();scr();ocr();lcr();ccr();ucr();hcr();fcr();dcr();VWe();pcr();vcr();wcr();xcr();Tcr();kcr();Ccr();Ecr();Scr();Acr();Rcr();Lcr();_cr();Mcr();sYe=[null];i(fp,"Selection");i(Icr,"selection");i(_7n,"selection_selection");fp.prototype=Icr.prototype={constructor:fp,select:bWe,selectAll:xWe,selectChild:TWe,selectChildren:kWe,filter:CWe,data:LWe,enter:SWe,exit:DWe,join:_We,merge:MWe,selection:_7n,order:IWe,sort:NWe,call:OWe,nodes:PWe,node:BWe,size:FWe,empty:$We,each:GWe,attr:jWe,style:UWe,property:HWe,classed:WWe,text:YWe,html:KWe,raise:XWe,lower:QWe,append:JWe,insert:ZWe,remove:eYe,clone:tYe,datum:rYe,on:nYe,dispatch:iYe,[Symbol.iterator]:aYe};Q6=Icr});function dn(t){return typeof t=="string"?new fp([[document.querySelector(t)]],[document.documentElement]):new fp([[t]],sYe)}var Ncr=ie(()=>{"use strict";n4();i(dn,"default")});var i4=ie(()=>{"use strict";$ee();Sbe();Ncr();n4();Abe();wWe();VWe()});var Ocr=ie(()=>{"use strict"});function xL(t,r,a){t.prototype=r.prototype=a,a.constructor=t}function iz(t,r){var a=Object.create(t.prototype);for(var o in r)a[o]=r[o];return a}var oYe=ie(()=>{"use strict";i(xL,"default");i(iz,"extend")});function TL(){}function Bcr(){return this.rgb().formatHex()}function $7n(){return this.rgb().formatHex8()}function G7n(){return Vcr(this).formatHsl()}function Fcr(){return this.rgb().formatRgb()}function s4(t){var r,a;return t=(t+"").trim().toLowerCase(),(r=M7n.exec(t))?(a=r[1].length,r=parseInt(r[1],16),a===6?$cr(r):a===3?new s1(r>>8&15|r>>4&240,r>>4&15|r&240,(r&15)<<4|r&15,1):a===8?Lbe(r>>24&255,r>>16&255,r>>8&255,(r&255)/255):a===4?Lbe(r>>12&15|r>>8&240,r>>8&15|r>>4&240,r>>4&15|r&240,((r&15)<<4|r&15)/255):null):(r=I7n.exec(t))?new s1(r[1],r[2],r[3],1):(r=N7n.exec(t))?new s1(r[1]*255/100,r[2]*255/100,r[3]*255/100,1):(r=O7n.exec(t))?Lbe(r[1],r[2],r[3],r[4]):(r=P7n.exec(t))?Lbe(r[1]*255/100,r[2]*255/100,r[3]*255/100,r[4]):(r=B7n.exec(t))?zcr(r[1],r[2]/100,r[3]/100,1):(r=F7n.exec(t))?zcr(r[1],r[2]/100,r[3]/100,r[4]):Pcr.hasOwnProperty(t)?$cr(Pcr[t]):t==="transparent"?new s1(NaN,NaN,NaN,0):null}function $cr(t){return new s1(t>>16&255,t>>8&255,t&255,1)}function Lbe(t,r,a,o){return o<=0&&(t=r=a=NaN),new s1(t,r,a,o)}function cYe(t){return t instanceof TL||(t=s4(t)),t?(t=t.rgb(),new s1(t.r,t.g,t.b,t.opacity)):new s1}function sz(t,r,a,o){return arguments.length===1?cYe(t):new s1(t,r,a,o??1)}function s1(t,r,a,o){this.r=+t,this.g=+r,this.b=+a,this.opacity=+o}function Gcr(){return`#${LN(this.r)}${LN(this.g)}${LN(this.b)}`}function j7n(){return`#${LN(this.r)}${LN(this.g)}${LN(this.b)}${LN((isNaN(this.opacity)?1:this.opacity)*255)}`}function jcr(){let t=Mbe(this.opacity);return`${t===1?"rgb(":"rgba("}${DN(this.r)}, ${DN(this.g)}, ${DN(this.b)}${t===1?")":`, ${t})`}`}function Mbe(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function DN(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function LN(t){return t=DN(t),(t<16?"0":"")+t.toString(16)}function zcr(t,r,a,o){return o<=0?t=r=a=NaN:a<=0||a>=1?t=r=NaN:r<=0&&(t=NaN),new a4(t,r,a,o)}function Vcr(t){if(t instanceof a4)return new a4(t.h,t.s,t.l,t.opacity);if(t instanceof TL||(t=s4(t)),!t)return new a4;if(t instanceof a4)return t;t=t.rgb();var r=t.r/255,a=t.g/255,o=t.b/255,l=Math.min(r,a,o),h=Math.max(r,a,o),f=NaN,p=h-l,m=(h+l)/2;return p?(r===h?f=(a-o)/p+(a0&&m<1?0:f,new a4(f,p,m,t.opacity)}function Hcr(t,r,a,o){return arguments.length===1?Vcr(t):new a4(t,r,a,o??1)}function a4(t,r,a,o){this.h=+t,this.s=+r,this.l=+a,this.opacity=+o}function Ucr(t){return t=(t||0)%360,t<0?t+360:t}function Dbe(t){return Math.max(0,Math.min(1,t||0))}function lYe(t,r,a){return(t<60?r+(a-r)*t/60:t<180?a:t<240?r+(a-r)*(240-t)/60:r)*255}var Uee,_be,az,Vee,zE,M7n,I7n,N7n,O7n,P7n,B7n,F7n,Pcr,uYe=ie(()=>{"use strict";oYe();i(TL,"Color");Uee=.7,_be=1/Uee,az="\\s*([+-]?\\d+)\\s*",Vee="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",zE="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",M7n=/^#([0-9a-f]{3,8})$/,I7n=new RegExp(`^rgb\\(${az},${az},${az}\\)$`),N7n=new RegExp(`^rgb\\(${zE},${zE},${zE}\\)$`),O7n=new RegExp(`^rgba\\(${az},${az},${az},${Vee}\\)$`),P7n=new RegExp(`^rgba\\(${zE},${zE},${zE},${Vee}\\)$`),B7n=new RegExp(`^hsl\\(${Vee},${zE},${zE}\\)$`),F7n=new RegExp(`^hsla\\(${Vee},${zE},${zE},${Vee}\\)$`),Pcr={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};xL(TL,s4,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Bcr,formatHex:Bcr,formatHex8:$7n,formatHsl:G7n,formatRgb:Fcr,toString:Fcr});i(Bcr,"color_formatHex");i($7n,"color_formatHex8");i(G7n,"color_formatHsl");i(Fcr,"color_formatRgb");i(s4,"color");i($cr,"rgbn");i(Lbe,"rgba");i(cYe,"rgbConvert");i(sz,"rgb");i(s1,"Rgb");xL(s1,sz,iz(TL,{brighter(t){return t=t==null?_be:Math.pow(_be,t),new s1(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?Uee:Math.pow(Uee,t),new s1(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new s1(DN(this.r),DN(this.g),DN(this.b),Mbe(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Gcr,formatHex:Gcr,formatHex8:j7n,formatRgb:jcr,toString:jcr}));i(Gcr,"rgb_formatHex");i(j7n,"rgb_formatHex8");i(jcr,"rgb_formatRgb");i(Mbe,"clampa");i(DN,"clampi");i(LN,"hex");i(zcr,"hsla");i(Vcr,"hslConvert");i(Hcr,"hsl");i(a4,"Hsl");xL(a4,Hcr,iz(TL,{brighter(t){return t=t==null?_be:Math.pow(_be,t),new a4(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?Uee:Math.pow(Uee,t),new a4(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,r=isNaN(t)||isNaN(this.s)?0:this.s,a=this.l,o=a+(a<.5?a:1-a)*r,l=2*a-o;return new s1(lYe(t>=240?t-240:t+120,l,o),lYe(t,l,o),lYe(t<120?t+240:t-120,l,o),this.opacity)},clamp(){return new a4(Ucr(this.h),Dbe(this.s),Dbe(this.l),Mbe(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=Mbe(this.opacity);return`${t===1?"hsl(":"hsla("}${Ucr(this.h)}, ${Dbe(this.s)*100}%, ${Dbe(this.l)*100}%${t===1?")":`, ${t})`}`}}));i(Ucr,"clamph");i(Dbe,"clampt");i(lYe,"hsl2rgb")});var qcr,Wcr,Ycr=ie(()=>{"use strict";qcr=Math.PI/180,Wcr=180/Math.PI});function eur(t){if(t instanceof UE)return new UE(t.l,t.a,t.b,t.opacity);if(t instanceof J6)return tur(t);t instanceof s1||(t=cYe(t));var r=pYe(t.r),a=pYe(t.g),o=pYe(t.b),l=hYe((.2225045*r+.7168786*a+.0606169*o)/Xcr),h,f;return r===a&&a===o?h=f=l:(h=hYe((.4360747*r+.3850649*a+.1430804*o)/Kcr),f=hYe((.0139322*r+.0971045*a+.7141733*o)/Qcr)),new UE(116*l-16,500*(h-l),200*(l-f),t.opacity)}function gYe(t,r,a,o){return arguments.length===1?eur(t):new UE(t,r,a,o??1)}function UE(t,r,a,o){this.l=+t,this.a=+r,this.b=+a,this.opacity=+o}function hYe(t){return t>z7n?Math.pow(t,1/3):t/Zcr+Jcr}function fYe(t){return t>oz?t*t*t:Zcr*(t-Jcr)}function dYe(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function pYe(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function U7n(t){if(t instanceof J6)return new J6(t.h,t.c,t.l,t.opacity);if(t instanceof UE||(t=eur(t)),t.a===0&&t.b===0)return new J6(NaN,0{"use strict";oYe();uYe();Ycr();Ibe=18,Kcr=.96422,Xcr=1,Qcr=.82521,Jcr=4/29,oz=6/29,Zcr=3*oz*oz,z7n=oz*oz*oz;i(eur,"labConvert");i(gYe,"lab");i(UE,"Lab");xL(UE,gYe,iz(TL,{brighter(t){return new UE(this.l+Ibe*(t??1),this.a,this.b,this.opacity)},darker(t){return new UE(this.l-Ibe*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,r=isNaN(this.a)?t:t+this.a/500,a=isNaN(this.b)?t:t-this.b/200;return r=Kcr*fYe(r),t=Xcr*fYe(t),a=Qcr*fYe(a),new s1(dYe(3.1338561*r-1.6168667*t-.4906146*a),dYe(-.9787684*r+1.9161415*t+.033454*a),dYe(.0719453*r-.2289914*t+1.4052427*a),this.opacity)}}));i(hYe,"xyz2lab");i(fYe,"lab2xyz");i(dYe,"lrgb2rgb");i(pYe,"rgb2lrgb");i(U7n,"hclConvert");i(Hee,"hcl");i(J6,"Hcl");i(tur,"hcl2lab");xL(J6,Hee,iz(TL,{brighter(t){return new J6(this.h,this.c,this.l+Ibe*(t??1),this.opacity)},darker(t){return new J6(this.h,this.c,this.l-Ibe*(t??1),this.opacity)},rgb(){return tur(this).rgb()}}))});var lz=ie(()=>{"use strict";uYe();rur()});function mYe(t,r,a,o,l){var h=t*t,f=h*t;return((1-3*t+3*h-f)*r+(4-6*h+3*f)*a+(1+3*t+3*h-3*f)*o+f*l)/6}function yYe(t){var r=t.length-1;return function(a){var o=a<=0?a=0:a>=1?(a=1,r-1):Math.floor(a*r),l=t[o],h=t[o+1],f=o>0?t[o-1]:2*l-h,p=o{"use strict";i(mYe,"basis");i(yYe,"default")});function vYe(t){var r=t.length;return function(a){var o=Math.floor(((a%=1)<0?++a:a)*r),l=t[(o+r-1)%r],h=t[o%r],f=t[(o+1)%r],p=t[(o+2)%r];return mYe((a-o/r)*r,l,h,f,p)}}var nur=ie(()=>{"use strict";bYe();i(vYe,"default")});var cz,wYe=ie(()=>{"use strict";cz=i(t=>()=>t,"default")});function iur(t,r){return function(a){return t+a*r}}function V7n(t,r,a){return t=Math.pow(t,a),r=Math.pow(r,a)-t,a=1/a,function(o){return Math.pow(t+o*r,a)}}function aur(t,r){var a=r-t;return a?iur(t,a>180||a<-180?a-360*Math.round(a/360):a):cz(isNaN(t)?r:t)}function sur(t){return(t=+t)==1?Z6:function(r,a){return a-r?V7n(r,a,t):cz(isNaN(r)?a:r)}}function Z6(t,r){var a=r-t;return a?iur(t,a):cz(isNaN(t)?r:t)}var xYe=ie(()=>{"use strict";wYe();i(iur,"linear");i(V7n,"exponential");i(aur,"hue");i(sur,"gamma");i(Z6,"nogamma")});function our(t){return function(r){var a=r.length,o=new Array(a),l=new Array(a),h=new Array(a),f,p;for(f=0;f{"use strict";lz();bYe();nur();xYe();_N=i((function t(r){var a=sur(r);function o(l,h){var f=a((l=sz(l)).r,(h=sz(h)).r),p=a(l.g,h.g),m=a(l.b,h.b),b=Z6(l.opacity,h.opacity);return function(v){return l.r=f(v),l.g=p(v),l.b=m(v),l.opacity=b(v),l+""}}return i(o,"rgb"),o.gamma=t,o}),"rgbGamma")(1);i(our,"rgbSpline");H7n=our(yYe),q7n=our(vYe)});function kYe(t,r){r||(r=[]);var a=t?Math.min(r.length,t.length):0,o=r.slice(),l;return function(h){for(l=0;l{"use strict";i(kYe,"default");i(lur,"isNumberArray")});function uur(t,r){var a=r?r.length:0,o=t?Math.min(a,t.length):0,l=new Array(o),h=new Array(a),f;for(f=0;f{"use strict";Nbe();i(uur,"genericArray")});function CYe(t,r){var a=new Date;return t=+t,r=+r,function(o){return a.setTime(t*(1-o)+r*o),a}}var fur=ie(()=>{"use strict";i(CYe,"default")});function dm(t,r){return t=+t,r=+r,function(a){return t*(1-a)+r*a}}var qee=ie(()=>{"use strict";i(dm,"default")});function EYe(t,r){var a={},o={},l;(t===null||typeof t!="object")&&(t={}),(r===null||typeof r!="object")&&(r={});for(l in r)l in t?a[l]=kL(t[l],r[l]):o[l]=r[l];return function(h){for(l in a)o[l]=a[l](h);return o}}var dur=ie(()=>{"use strict";Nbe();i(EYe,"default")});function W7n(t){return function(){return t}}function Y7n(t){return function(r){return t(r)+""}}function uz(t,r){var a=AYe.lastIndex=SYe.lastIndex=0,o,l,h,f=-1,p=[],m=[];for(t=t+"",r=r+"";(o=AYe.exec(t))&&(l=SYe.exec(r));)(h=l.index)>a&&(h=r.slice(a,h),p[f]?p[f]+=h:p[++f]=h),(o=o[0])===(l=l[0])?p[f]?p[f]+=l:p[++f]=l:(p[++f]=null,m.push({i:f,x:dm(o,l)})),a=SYe.lastIndex;return a{"use strict";qee();AYe=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,SYe=new RegExp(AYe.source,"g");i(W7n,"zero");i(Y7n,"one");i(uz,"default")});function kL(t,r){var a=typeof r,o;return r==null||a==="boolean"?cz(r):(a==="number"?dm:a==="string"?(o=s4(r))?(r=o,_N):uz:r instanceof s4?_N:r instanceof Date?CYe:lur(r)?kYe:Array.isArray(r)?uur:typeof r.valueOf!="function"&&typeof r.toString!="function"||isNaN(r)?EYe:dm)(t,r)}var Nbe=ie(()=>{"use strict";lz();TYe();hur();fur();qee();dur();RYe();wYe();cur();i(kL,"default")});function Obe(t,r){return t=+t,r=+r,function(a){return Math.round(t*(1-a)+r*a)}}var pur=ie(()=>{"use strict";i(Obe,"default")});function Bbe(t,r,a,o,l,h){var f,p,m;return(f=Math.sqrt(t*t+r*r))&&(t/=f,r/=f),(m=t*a+r*o)&&(a-=t*m,o-=r*m),(p=Math.sqrt(a*a+o*o))&&(a/=p,o/=p,m/=p),t*o{"use strict";gur=180/Math.PI,Pbe={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};i(Bbe,"default")});function yur(t){let r=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return r.isIdentity?Pbe:Bbe(r.a,r.b,r.c,r.d,r.e,r.f)}function bur(t){return t==null?Pbe:(Fbe||(Fbe=document.createElementNS("http://www.w3.org/2000/svg","g")),Fbe.setAttribute("transform",t),(t=Fbe.transform.baseVal.consolidate())?(t=t.matrix,Bbe(t.a,t.b,t.c,t.d,t.e,t.f)):Pbe)}var Fbe,vur=ie(()=>{"use strict";mur();i(yur,"parseCss");i(bur,"parseSvg")});function wur(t,r,a,o){function l(b){return b.length?b.pop()+" ":""}i(l,"pop");function h(b,v,T,C,E,S){if(b!==T||v!==C){var R=E.push("translate(",null,r,null,a);S.push({i:R-4,x:dm(b,T)},{i:R-2,x:dm(v,C)})}else(T||C)&&E.push("translate("+T+r+C+a)}i(h,"translate");function f(b,v,T,C){b!==v?(b-v>180?v+=360:v-b>180&&(b+=360),C.push({i:T.push(l(T)+"rotate(",null,o)-2,x:dm(b,v)})):v&&T.push(l(T)+"rotate("+v+o)}i(f,"rotate");function p(b,v,T,C){b!==v?C.push({i:T.push(l(T)+"skewX(",null,o)-2,x:dm(b,v)}):v&&T.push(l(T)+"skewX("+v+o)}i(p,"skewX");function m(b,v,T,C,E,S){if(b!==T||v!==C){var R=E.push(l(E)+"scale(",null,",",null,")");S.push({i:R-4,x:dm(b,T)},{i:R-2,x:dm(v,C)})}else(T!==1||C!==1)&&E.push(l(E)+"scale("+T+","+C+")")}return i(m,"scale"),function(b,v){var T=[],C=[];return b=t(b),v=t(v),h(b.translateX,b.translateY,v.translateX,v.translateY,T,C),f(b.rotate,v.rotate,T,C),p(b.skewX,v.skewX,T,C),m(b.scaleX,b.scaleY,v.scaleX,v.scaleY,T,C),b=v=null,function(E){for(var S=-1,R=C.length,L;++S{"use strict";qee();vur();i(wur,"interpolateTransform");LYe=wur(yur,"px, ","px)","deg)"),DYe=wur(bur,", ",")",")")});function Tur(t){return function(r,a){var o=t((r=Hee(r)).h,(a=Hee(a)).h),l=Z6(r.c,a.c),h=Z6(r.l,a.l),f=Z6(r.opacity,a.opacity);return function(p){return r.h=o(p),r.c=l(p),r.l=h(p),r.opacity=f(p),r+""}}}var _Ye,K7n,kur=ie(()=>{"use strict";lz();xYe();i(Tur,"hcl");_Ye=Tur(aur),K7n=Tur(Z6)});var hz=ie(()=>{"use strict";Nbe();qee();pur();RYe();xur();TYe();kur()});function Jee(){return MN||(Sur(X7n),MN=Xee.now()+jbe)}function X7n(){MN=0}function Qee(){this._call=this._time=this._next=null}function zbe(t,r,a){var o=new Qee;return o.restart(t,r,a),o}function Aur(){Jee(),++fz;for(var t=$be,r;t;)(r=MN-t._time)>=0&&t._call.call(void 0,r),t=t._next;--fz}function Cur(){MN=(Gbe=Xee.now())+jbe,fz=Yee=0;try{Aur()}finally{fz=0,J7n(),MN=0}}function Q7n(){var t=Xee.now(),r=t-Gbe;r>Eur&&(jbe-=r,Gbe=t)}function J7n(){for(var t,r=$be,a,o=1/0;r;)r._call?(o>r._time&&(o=r._time),t=r,r=r._next):(a=r._next,r._next=null,r=t?t._next=a:$be=a);Kee=t,MYe(o)}function MYe(t){if(!fz){Yee&&(Yee=clearTimeout(Yee));var r=t-MN;r>24?(t<1/0&&(Yee=setTimeout(Cur,t-Xee.now()-jbe)),Wee&&(Wee=clearInterval(Wee))):(Wee||(Gbe=Xee.now(),Wee=setInterval(Q7n,Eur)),fz=1,Sur(Cur))}}var fz,Yee,Wee,Eur,$be,Kee,Gbe,MN,jbe,Xee,Sur,IYe=ie(()=>{"use strict";fz=0,Yee=0,Wee=0,Eur=1e3,Gbe=0,MN=0,jbe=0,Xee=typeof performance=="object"&&performance.now?performance:Date,Sur=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};i(Jee,"now");i(X7n,"clearNow");i(Qee,"Timer");Qee.prototype=zbe.prototype={constructor:Qee,restart:i(function(t,r,a){if(typeof t!="function")throw new TypeError("callback is not a function");a=(a==null?Jee():+a)+(r==null?0:+r),!this._next&&Kee!==this&&(Kee?Kee._next=this:$be=this,Kee=this),this._call=t,this._time=a,MYe()},"restart"),stop:i(function(){this._call&&(this._call=null,this._time=1/0,MYe())},"stop")};i(zbe,"timer");i(Aur,"timerFlush");i(Cur,"wake");i(Q7n,"poke");i(J7n,"nap");i(MYe,"sleep")});function Zee(t,r,a){var o=new Qee;return r=r==null?0:+r,o.restart(l=>{o.stop(),t(l+r)},r,a),o}var Rur=ie(()=>{"use strict";IYe();i(Zee,"default")});var Ube=ie(()=>{"use strict";IYe();Rur()});function eA(t,r,a,o,l,h){var f=t.__transition;if(!f)t.__transition={};else if(a in f)return;tRn(t,a,{name:r,index:o,group:l,on:Z7n,tween:eRn,time:h.time,delay:h.delay,duration:h.duration,ease:h.ease,timer:null,state:_ur})}function tte(t,r){var a=g0(t,r);if(a.state>_ur)throw new Error("too late; already scheduled");return a}function o1(t,r){var a=g0(t,r);if(a.state>Vbe)throw new Error("too late; already running");return a}function g0(t,r){var a=t.__transition;if(!a||!(a=a[r]))throw new Error("transition not found");return a}function tRn(t,r,a){var o=t.__transition,l;o[r]=a,a.timer=zbe(h,0,a.time);function h(b){a.state=Lur,a.timer.restart(f,a.delay,a.time),a.delay<=b&&f(b-a.delay)}i(h,"schedule");function f(b){var v,T,C,E;if(a.state!==Lur)return m();for(v in o)if(E=o[v],E.name===a.name){if(E.state===Vbe)return Zee(f);E.state===Dur?(E.state=ete,E.timer.stop(),E.on.call("interrupt",t,t.__data__,E.index,E.group),delete o[v]):+v{"use strict";pWe();Ube();Z7n=dWe("start","end","cancel","interrupt"),eRn=[],_ur=0,Lur=1,Hbe=2,Vbe=3,Dur=4,qbe=5,ete=6;i(eA,"default");i(tte,"init");i(o1,"set");i(g0,"get");i(tRn,"create")});function rte(t,r){var a=t.__transition,o,l,h=!0,f;if(a){r=r==null?null:r+"";for(f in a){if((o=a[f]).name!==r){h=!1;continue}l=o.state>Hbe&&o.state{"use strict";Kv();i(rte,"default")});function NYe(t){return this.each(function(){rte(this,t)})}var Iur=ie(()=>{"use strict";Mur();i(NYe,"default")});function rRn(t,r){var a,o;return function(){var l=o1(this,t),h=l.tween;if(h!==a){o=a=h;for(var f=0,p=o.length;f{"use strict";Kv();i(rRn,"tweenRemove");i(nRn,"tweenFunction");i(OYe,"default");i(dz,"tweenValue")});function ite(t,r){var a;return(typeof r=="number"?dm:r instanceof s4?_N:(a=s4(r))?(r=a,_N):uz)(t,r)}var PYe=ie(()=>{"use strict";lz();hz();i(ite,"default")});function iRn(t){return function(){this.removeAttribute(t)}}function aRn(t){return function(){this.removeAttributeNS(t.space,t.local)}}function sRn(t,r,a){var o,l=a+"",h;return function(){var f=this.getAttribute(t);return f===l?null:f===o?h:h=r(o=f,a)}}function oRn(t,r,a){var o,l=a+"",h;return function(){var f=this.getAttributeNS(t.space,t.local);return f===l?null:f===o?h:h=r(o=f,a)}}function lRn(t,r,a){var o,l,h;return function(){var f,p=a(this),m;return p==null?void this.removeAttribute(t):(f=this.getAttribute(t),m=p+"",f===m?null:f===o&&m===l?h:(l=m,h=r(o=f,p)))}}function cRn(t,r,a){var o,l,h;return function(){var f,p=a(this),m;return p==null?void this.removeAttributeNS(t.space,t.local):(f=this.getAttributeNS(t.space,t.local),m=p+"",f===m?null:f===o&&m===l?h:(l=m,h=r(o=f,p)))}}function BYe(t,r){var a=jE(t),o=a==="transform"?DYe:ite;return this.attrTween(t,typeof r=="function"?(a.local?cRn:lRn)(a,o,dz(this,"attr."+t,r)):r==null?(a.local?aRn:iRn)(a):(a.local?oRn:sRn)(a,o,r))}var Nur=ie(()=>{"use strict";hz();i4();nte();PYe();i(iRn,"attrRemove");i(aRn,"attrRemoveNS");i(sRn,"attrConstant");i(oRn,"attrConstantNS");i(lRn,"attrFunction");i(cRn,"attrFunctionNS");i(BYe,"default")});function uRn(t,r){return function(a){this.setAttribute(t,r.call(this,a))}}function hRn(t,r){return function(a){this.setAttributeNS(t.space,t.local,r.call(this,a))}}function fRn(t,r){var a,o;function l(){var h=r.apply(this,arguments);return h!==o&&(a=(o=h)&&hRn(t,h)),a}return i(l,"tween"),l._value=r,l}function dRn(t,r){var a,o;function l(){var h=r.apply(this,arguments);return h!==o&&(a=(o=h)&&uRn(t,h)),a}return i(l,"tween"),l._value=r,l}function FYe(t,r){var a="attr."+t;if(arguments.length<2)return(a=this.tween(a))&&a._value;if(r==null)return this.tween(a,null);if(typeof r!="function")throw new Error;var o=jE(t);return this.tween(a,(o.local?fRn:dRn)(o,r))}var Our=ie(()=>{"use strict";i4();i(uRn,"attrInterpolate");i(hRn,"attrInterpolateNS");i(fRn,"attrTweenNS");i(dRn,"attrTween");i(FYe,"default")});function pRn(t,r){return function(){tte(this,t).delay=+r.apply(this,arguments)}}function gRn(t,r){return r=+r,function(){tte(this,t).delay=r}}function $Ye(t){var r=this._id;return arguments.length?this.each((typeof t=="function"?pRn:gRn)(r,t)):g0(this.node(),r).delay}var Pur=ie(()=>{"use strict";Kv();i(pRn,"delayFunction");i(gRn,"delayConstant");i($Ye,"default")});function mRn(t,r){return function(){o1(this,t).duration=+r.apply(this,arguments)}}function yRn(t,r){return r=+r,function(){o1(this,t).duration=r}}function GYe(t){var r=this._id;return arguments.length?this.each((typeof t=="function"?mRn:yRn)(r,t)):g0(this.node(),r).duration}var Bur=ie(()=>{"use strict";Kv();i(mRn,"durationFunction");i(yRn,"durationConstant");i(GYe,"default")});function bRn(t,r){if(typeof r!="function")throw new Error;return function(){o1(this,t).ease=r}}function jYe(t){var r=this._id;return arguments.length?this.each(bRn(r,t)):g0(this.node(),r).ease}var Fur=ie(()=>{"use strict";Kv();i(bRn,"easeConstant");i(jYe,"default")});function vRn(t,r){return function(){var a=r.apply(this,arguments);if(typeof a!="function")throw new Error;o1(this,t).ease=a}}function zYe(t){if(typeof t!="function")throw new Error;return this.each(vRn(this._id,t))}var $ur=ie(()=>{"use strict";Kv();i(vRn,"easeVarying");i(zYe,"default")});function UYe(t){typeof t!="function"&&(t=nz(t));for(var r=this._groups,a=r.length,o=new Array(a),l=0;l{"use strict";i4();IN();i(UYe,"default")});function VYe(t){if(t._id!==this._id)throw new Error;for(var r=this._groups,a=t._groups,o=r.length,l=a.length,h=Math.min(o,l),f=new Array(o),p=0;p{"use strict";IN();i(VYe,"default")});function wRn(t){return(t+"").trim().split(/^|\s+/).every(function(r){var a=r.indexOf(".");return a>=0&&(r=r.slice(0,a)),!r||r==="start"})}function xRn(t,r,a){var o,l,h=wRn(r)?tte:o1;return function(){var f=h(this,t),p=f.on;p!==o&&(l=(o=p).copy()).on(r,a),f.on=l}}function HYe(t,r){var a=this._id;return arguments.length<2?g0(this.node(),a).on.on(t):this.each(xRn(a,t,r))}var zur=ie(()=>{"use strict";Kv();i(wRn,"start");i(xRn,"onFunction");i(HYe,"default")});function TRn(t){return function(){var r=this.parentNode;for(var a in this.__transition)if(+a!==t)return;r&&r.removeChild(this)}}function qYe(){return this.on("end.remove",TRn(this._id))}var Uur=ie(()=>{"use strict";i(TRn,"removeFunction");i(qYe,"default")});function WYe(t){var r=this._name,a=this._id;typeof t!="function"&&(t=vL(t));for(var o=this._groups,l=o.length,h=new Array(l),f=0;f{"use strict";i4();IN();Kv();i(WYe,"default")});function YYe(t){var r=this._name,a=this._id;typeof t!="function"&&(t=rz(t));for(var o=this._groups,l=o.length,h=[],f=[],p=0;p{"use strict";i4();IN();Kv();i(YYe,"default")});function KYe(){return new kRn(this._groups,this._parents)}var kRn,qur=ie(()=>{"use strict";i4();kRn=Q6.prototype.constructor;i(KYe,"default")});function CRn(t,r){var a,o,l;return function(){var h=wL(this,t),f=(this.style.removeProperty(t),wL(this,t));return h===f?null:h===a&&f===o?l:l=r(a=h,o=f)}}function Wur(t){return function(){this.style.removeProperty(t)}}function ERn(t,r,a){var o,l=a+"",h;return function(){var f=wL(this,t);return f===l?null:f===o?h:h=r(o=f,a)}}function SRn(t,r,a){var o,l,h;return function(){var f=wL(this,t),p=a(this),m=p+"";return p==null&&(m=p=(this.style.removeProperty(t),wL(this,t))),f===m?null:f===o&&m===l?h:(l=m,h=r(o=f,p))}}function ARn(t,r){var a,o,l,h="style."+r,f="end."+h,p;return function(){var m=o1(this,t),b=m.on,v=m.value[h]==null?p||(p=Wur(r)):void 0;(b!==a||l!==v)&&(o=(a=b).copy()).on(f,l=v),m.on=o}}function XYe(t,r,a){var o=(t+="")=="transform"?LYe:ite;return r==null?this.styleTween(t,CRn(t,o)).on("end.style."+t,Wur(t)):typeof r=="function"?this.styleTween(t,SRn(t,o,dz(this,"style."+t,r))).each(ARn(this._id,t)):this.styleTween(t,ERn(t,o,r),a).on("end.style."+t,null)}var Yur=ie(()=>{"use strict";hz();i4();Kv();nte();PYe();i(CRn,"styleNull");i(Wur,"styleRemove");i(ERn,"styleConstant");i(SRn,"styleFunction");i(ARn,"styleMaybeRemove");i(XYe,"default")});function RRn(t,r,a){return function(o){this.style.setProperty(t,r.call(this,o),a)}}function LRn(t,r,a){var o,l;function h(){var f=r.apply(this,arguments);return f!==l&&(o=(l=f)&&RRn(t,f,a)),o}return i(h,"tween"),h._value=r,h}function QYe(t,r,a){var o="style."+(t+="");if(arguments.length<2)return(o=this.tween(o))&&o._value;if(r==null)return this.tween(o,null);if(typeof r!="function")throw new Error;return this.tween(o,LRn(t,r,a??""))}var Kur=ie(()=>{"use strict";i(RRn,"styleInterpolate");i(LRn,"styleTween");i(QYe,"default")});function DRn(t){return function(){this.textContent=t}}function _Rn(t){return function(){var r=t(this);this.textContent=r??""}}function JYe(t){return this.tween("text",typeof t=="function"?_Rn(dz(this,"text",t)):DRn(t==null?"":t+""))}var Xur=ie(()=>{"use strict";nte();i(DRn,"textConstant");i(_Rn,"textFunction");i(JYe,"default")});function MRn(t){return function(r){this.textContent=t.call(this,r)}}function IRn(t){var r,a;function o(){var l=t.apply(this,arguments);return l!==a&&(r=(a=l)&&MRn(l)),r}return i(o,"tween"),o._value=t,o}function ZYe(t){var r="text";if(arguments.length<1)return(r=this.tween(r))&&r._value;if(t==null)return this.tween(r,null);if(typeof t!="function")throw new Error;return this.tween(r,IRn(t))}var Qur=ie(()=>{"use strict";i(MRn,"textInterpolate");i(IRn,"textTween");i(ZYe,"default")});function eKe(){for(var t=this._name,r=this._id,a=Wbe(),o=this._groups,l=o.length,h=0;h{"use strict";IN();Kv();i(eKe,"default")});function tKe(){var t,r,a=this,o=a._id,l=a.size();return new Promise(function(h,f){var p={value:f},m={value:i(function(){--l===0&&h()},"value")};a.each(function(){var b=o1(this,o),v=b.on;v!==t&&(r=(t=v).copy(),r._.cancel.push(p),r._.interrupt.push(p),r._.end.push(m)),b.on=r}),l===0&&h()})}var Zur=ie(()=>{"use strict";Kv();i(tKe,"default")});function wb(t,r,a,o){this._groups=t,this._parents=r,this._name=a,this._id=o}function ehr(t){return Q6().transition(t)}function Wbe(){return++NRn}var NRn,tA,IN=ie(()=>{"use strict";i4();Nur();Our();Pur();Bur();Fur();$ur();Gur();jur();zur();Uur();Vur();Hur();qur();Yur();Kur();Xur();Qur();Jur();nte();Zur();NRn=0;i(wb,"Transition");i(ehr,"transition");i(Wbe,"newId");tA=Q6.prototype;wb.prototype=ehr.prototype={constructor:wb,select:WYe,selectAll:YYe,selectChild:tA.selectChild,selectChildren:tA.selectChildren,filter:UYe,merge:VYe,selection:KYe,transition:eKe,call:tA.call,nodes:tA.nodes,node:tA.node,size:tA.size,empty:tA.empty,each:tA.each,on:HYe,attr:BYe,attrTween:FYe,style:XYe,styleTween:QYe,text:JYe,textTween:ZYe,remove:qYe,tween:OYe,delay:$Ye,duration:GYe,ease:jYe,easeVarying:zYe,end:tKe,[Symbol.iterator]:tA[Symbol.iterator]}});function Ybe(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var thr=ie(()=>{"use strict";i(Ybe,"cubicInOut")});var rKe=ie(()=>{"use strict";thr()});function PRn(t,r){for(var a;!(a=t.__transition)||!(a=a[r]);)if(!(t=t.parentNode))throw new Error(`transition ${r} not found`);return a}function nKe(t){var r,a;t instanceof wb?(r=t._id,t=t._name):(r=Wbe(),(a=ORn).time=Jee(),t=t==null?null:t+"");for(var o=this._groups,l=o.length,h=0;h{"use strict";IN();Kv();rKe();Ube();ORn={time:null,delay:0,duration:250,ease:Ybe};i(PRn,"inherit");i(nKe,"default")});var nhr=ie(()=>{"use strict";i4();Iur();rhr();Q6.prototype.interrupt=NYe;Q6.prototype.transition=nKe});var Kbe=ie(()=>{"use strict";nhr()});var ihr=ie(()=>{"use strict"});var ahr=ie(()=>{"use strict"});var shr=ie(()=>{"use strict"});function ohr(t){return[+t[0],+t[1]]}function BRn(t){return[ohr(t[0]),ohr(t[1])]}function iKe(t){return{type:t}}var Ria,Lia,Dia,_ia,Mia,Iia,lhr=ie(()=>{"use strict";Kbe();ihr();ahr();shr();({abs:Ria,max:Lia,min:Dia}=Math);i(ohr,"number1");i(BRn,"number2");_ia={name:"x",handles:["w","e"].map(iKe),input:i(function(t,r){return t==null?null:[[+t[0],r[0][1]],[+t[1],r[1][1]]]},"input"),output:i(function(t){return t&&[t[0][0],t[1][0]]},"output")},Mia={name:"y",handles:["n","s"].map(iKe),input:i(function(t,r){return t==null?null:[[r[0][0],+t[0]],[r[1][0],+t[1]]]},"input"),output:i(function(t){return t&&[t[0][1],t[1][1]]},"output")},Iia={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(iKe),input:i(function(t){return t==null?null:BRn(t)},"input"),output:i(function(t){return t},"output")};i(iKe,"type")});var chr=ie(()=>{"use strict";lhr()});function uhr(t){this._+=t[0];for(let r=1,a=t.length;r=0))throw new Error(`invalid digits: ${t}`);if(r>15)return uhr;let a=10**r;return function(o){this._+=o[0];for(let l=1,h=o.length;l{"use strict";aKe=Math.PI,sKe=2*aKe,NN=1e-6,FRn=sKe-NN;i(uhr,"append");i($Rn,"appendRound");ON=class{static{i(this,"Path")}constructor(r){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=r==null?uhr:$Rn(r)}moveTo(r,a){this._append`M${this._x0=this._x1=+r},${this._y0=this._y1=+a}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(r,a){this._append`L${this._x1=+r},${this._y1=+a}`}quadraticCurveTo(r,a,o,l){this._append`Q${+r},${+a},${this._x1=+o},${this._y1=+l}`}bezierCurveTo(r,a,o,l,h,f){this._append`C${+r},${+a},${+o},${+l},${this._x1=+h},${this._y1=+f}`}arcTo(r,a,o,l,h){if(r=+r,a=+a,o=+o,l=+l,h=+h,h<0)throw new Error(`negative radius: ${h}`);let f=this._x1,p=this._y1,m=o-r,b=l-a,v=f-r,T=p-a,C=v*v+T*T;if(this._x1===null)this._append`M${this._x1=r},${this._y1=a}`;else if(C>NN)if(!(Math.abs(T*m-b*v)>NN)||!h)this._append`L${this._x1=r},${this._y1=a}`;else{let E=o-f,S=l-p,R=m*m+b*b,L=E*E+S*S,_=Math.sqrt(R),M=Math.sqrt(C),I=h*Math.tan((aKe-Math.acos((R+C-L)/(2*_*M)))/2),F=I/M,O=I/_;Math.abs(F-1)>NN&&this._append`L${r+F*v},${a+F*T}`,this._append`A${h},${h},0,0,${+(T*E>v*S)},${this._x1=r+O*m},${this._y1=a+O*b}`}}arc(r,a,o,l,h,f){if(r=+r,a=+a,o=+o,f=!!f,o<0)throw new Error(`negative radius: ${o}`);let p=o*Math.cos(l),m=o*Math.sin(l),b=r+p,v=a+m,T=1^f,C=f?l-h:h-l;this._x1===null?this._append`M${b},${v}`:(Math.abs(this._x1-b)>NN||Math.abs(this._y1-v)>NN)&&this._append`L${b},${v}`,o&&(C<0&&(C=C%sKe+sKe),C>FRn?this._append`A${o},${o},0,1,${T},${r-p},${a-m}A${o},${o},0,1,${T},${this._x1=b},${this._y1=v}`:C>NN&&this._append`A${o},${o},0,${+(C>=aKe)},${T},${this._x1=r+o*Math.cos(h)},${this._y1=a+o*Math.sin(h)}`)}rect(r,a,o,l){this._append`M${this._x0=this._x1=+r},${this._y0=this._y1=+a}h${o=+o}v${+l}h${-o}Z`}toString(){return this._}};i(hhr,"path");hhr.prototype=ON.prototype});var oKe=ie(()=>{"use strict";fhr()});var dhr=ie(()=>{"use strict"});var phr=ie(()=>{"use strict"});var ghr=ie(()=>{"use strict"});var mhr=ie(()=>{"use strict"});var yhr=ie(()=>{"use strict"});var bhr=ie(()=>{"use strict"});var vhr=ie(()=>{"use strict"});function lKe(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function PN(t,r){if((a=(t=r?t.toExponential(r-1):t.toExponential()).indexOf("e"))<0)return null;var a,o=t.slice(0,a);return[o.length>1?o[0]+o.slice(2):o,+t.slice(a+1)]}var ate=ie(()=>{"use strict";i(lKe,"default");i(PN,"formatDecimalParts")});function o4(t){return t=PN(Math.abs(t)),t?t[1]:NaN}var ste=ie(()=>{"use strict";ate();i(o4,"default")});function cKe(t,r){return function(a,o){for(var l=a.length,h=[],f=0,p=t[0],m=0;l>0&&p>0&&(m+p+1>o&&(p=Math.max(1,o-m)),h.push(a.substring(l-=p,l+p)),!((m+=p+1)>o));)p=t[f=(f+1)%t.length];return h.reverse().join(r)}}var whr=ie(()=>{"use strict";i(cKe,"default")});function uKe(t){return function(r){return r.replace(/[0-9]/g,function(a){return t[+a]})}}var xhr=ie(()=>{"use strict";i(uKe,"default")});function CL(t){if(!(r=GRn.exec(t)))throw new Error("invalid format: "+t);var r;return new Xbe({fill:r[1],align:r[2],sign:r[3],symbol:r[4],zero:r[5],width:r[6],comma:r[7],precision:r[8]&&r[8].slice(1),trim:r[9],type:r[10]})}function Xbe(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}var GRn,hKe=ie(()=>{"use strict";GRn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;i(CL,"formatSpecifier");CL.prototype=Xbe.prototype;i(Xbe,"FormatSpecifier");Xbe.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type}});function fKe(t){e:for(var r=t.length,a=1,o=-1,l;a0&&(o=0);break}return o>0?t.slice(0,o)+t.slice(l+1):t}var Thr=ie(()=>{"use strict";i(fKe,"default")});function pKe(t,r){var a=PN(t,r);if(!a)return t+"";var o=a[0],l=a[1],h=l-(dKe=Math.max(-8,Math.min(8,Math.floor(l/3)))*3)+1,f=o.length;return h===f?o:h>f?o+new Array(h-f+1).join("0"):h>0?o.slice(0,h)+"."+o.slice(h):"0."+new Array(1-h).join("0")+PN(t,Math.max(0,r+h-1))[0]}var dKe,gKe=ie(()=>{"use strict";ate();i(pKe,"default")});function Qbe(t,r){var a=PN(t,r);if(!a)return t+"";var o=a[0],l=a[1];return l<0?"0."+new Array(-l).join("0")+o:o.length>l+1?o.slice(0,l+1)+"."+o.slice(l+1):o+new Array(l-o.length+2).join("0")}var khr=ie(()=>{"use strict";ate();i(Qbe,"default")});var mKe,Chr=ie(()=>{"use strict";ate();gKe();khr();mKe={"%":i((t,r)=>(t*100).toFixed(r),"%"),b:i(t=>Math.round(t).toString(2),"b"),c:i(t=>t+"","c"),d:lKe,e:i((t,r)=>t.toExponential(r),"e"),f:i((t,r)=>t.toFixed(r),"f"),g:i((t,r)=>t.toPrecision(r),"g"),o:i(t=>Math.round(t).toString(8),"o"),p:i((t,r)=>Qbe(t*100,r),"p"),r:Qbe,s:pKe,X:i(t=>Math.round(t).toString(16).toUpperCase(),"X"),x:i(t=>Math.round(t).toString(16),"x")}});function Jbe(t){return t}var Ehr=ie(()=>{"use strict";i(Jbe,"default")});function yKe(t){var r=t.grouping===void 0||t.thousands===void 0?Jbe:cKe(Shr.call(t.grouping,Number),t.thousands+""),a=t.currency===void 0?"":t.currency[0]+"",o=t.currency===void 0?"":t.currency[1]+"",l=t.decimal===void 0?".":t.decimal+"",h=t.numerals===void 0?Jbe:uKe(Shr.call(t.numerals,String)),f=t.percent===void 0?"%":t.percent+"",p=t.minus===void 0?"\u2212":t.minus+"",m=t.nan===void 0?"NaN":t.nan+"";function b(T){T=CL(T);var C=T.fill,E=T.align,S=T.sign,R=T.symbol,L=T.zero,_=T.width,M=T.comma,I=T.precision,F=T.trim,O=T.type;O==="n"?(M=!0,O="g"):mKe[O]||(I===void 0&&(I=12),F=!0,O="g"),(L||C==="0"&&E==="=")&&(L=!0,C="0",E="=");var P=R==="$"?a:R==="#"&&/[boxX]/.test(O)?"0"+O.toLowerCase():"",G=R==="$"?o:/[%p]/.test(O)?f:"",V=mKe[O],Y=/[defgprs%]/.test(O);I=I===void 0?6:/[gprs]/.test(O)?Math.max(1,Math.min(21,I)):Math.max(0,Math.min(20,I));function K(J){var H=P,q=G,Z,Q,W;if(O==="c")q=V(J)+q,J="";else{J=+J;var te=J<0||1/J<0;if(J=isNaN(J)?m:V(Math.abs(J),I),F&&(J=fKe(J)),te&&+J==0&&S!=="+"&&(te=!1),H=(te?S==="("?S:p:S==="-"||S==="("?"":S)+H,q=(O==="s"?Ahr[8+dKe/3]:"")+q+(te&&S==="("?")":""),Y){for(Z=-1,Q=J.length;++ZW||W>57){q=(W===46?l+J.slice(Z+1):J.slice(Z))+q,J=J.slice(0,Z);break}}}M&&!L&&(J=r(J,1/0));var z=H.length+J.length+q.length,re=z<_?new Array(_-z+1).join(C):"";switch(M&&L&&(J=r(re+J,re.length?_-q.length:1/0),re=""),E){case"<":J=H+J+q+re;break;case"=":J=H+re+J+q;break;case"^":J=re.slice(0,z=re.length>>1)+H+J+q+re.slice(z);break;default:J=re+H+J+q;break}return h(J)}return i(K,"format"),K.toString=function(){return T+""},K}i(b,"newFormat");function v(T,C){var E=b((T=CL(T),T.type="f",T)),S=Math.max(-8,Math.min(8,Math.floor(o4(C)/3)))*3,R=Math.pow(10,-S),L=Ahr[8+S/3];return function(_){return E(R*_)+L}}return i(v,"formatPrefix"),{format:b,formatPrefix:v}}var Shr,Ahr,Rhr=ie(()=>{"use strict";ste();whr();xhr();hKe();Thr();Chr();gKe();Ehr();Shr=Array.prototype.map,Ahr=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];i(yKe,"default")});function bKe(t){return Zbe=yKe(t),VE=Zbe.format,eve=Zbe.formatPrefix,Zbe}var Zbe,VE,eve,Lhr=ie(()=>{"use strict";Rhr();bKe({thousands:",",grouping:[3],currency:["$",""]});i(bKe,"defaultLocale")});function tve(t){return Math.max(0,-o4(Math.abs(t)))}var Dhr=ie(()=>{"use strict";ste();i(tve,"default")});function rve(t,r){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(o4(r)/3)))*3-o4(Math.abs(t)))}var _hr=ie(()=>{"use strict";ste();i(rve,"default")});function nve(t,r){return t=Math.abs(t),r=Math.abs(r)-t,Math.max(0,o4(r)-o4(t))+1}var Mhr=ie(()=>{"use strict";ste();i(nve,"default")});var vKe=ie(()=>{"use strict";Lhr();hKe();Dhr();_hr();Mhr()});var Ihr=ie(()=>{"use strict"});function jRn(t){var r=0,a=t.children,o=a&&a.length;if(!o)r=1;else for(;--o>=0;)r+=a[o].value;t.value=r}function wKe(){return this.eachAfter(jRn)}var Nhr=ie(()=>{"use strict";i(jRn,"count");i(wKe,"default")});function xKe(t,r){let a=-1;for(let o of this)t.call(r,o,++a,this);return this}var Ohr=ie(()=>{"use strict";i(xKe,"default")});function TKe(t,r){for(var a=this,o=[a],l,h,f=-1;a=o.pop();)if(t.call(r,a,++f,this),l=a.children)for(h=l.length-1;h>=0;--h)o.push(l[h]);return this}var Phr=ie(()=>{"use strict";i(TKe,"default")});function kKe(t,r){for(var a=this,o=[a],l=[],h,f,p,m=-1;a=o.pop();)if(l.push(a),h=a.children)for(f=0,p=h.length;f{"use strict";i(kKe,"default")});function CKe(t,r){let a=-1;for(let o of this)if(t.call(r,o,++a,this))return o}var Fhr=ie(()=>{"use strict";i(CKe,"default")});function EKe(t){return this.eachAfter(function(r){for(var a=+t(r.data)||0,o=r.children,l=o&&o.length;--l>=0;)a+=o[l].value;r.value=a})}var $hr=ie(()=>{"use strict";i(EKe,"default")});function SKe(t){return this.eachBefore(function(r){r.children&&r.children.sort(t)})}var Ghr=ie(()=>{"use strict";i(SKe,"default")});function AKe(t){for(var r=this,a=zRn(r,t),o=[r];r!==a;)r=r.parent,o.push(r);for(var l=o.length;t!==a;)o.splice(l,0,t),t=t.parent;return o}function zRn(t,r){if(t===r)return t;var a=t.ancestors(),o=r.ancestors(),l=null;for(t=a.pop(),r=o.pop();t===r;)l=t,t=a.pop(),r=o.pop();return l}var jhr=ie(()=>{"use strict";i(AKe,"default");i(zRn,"leastCommonAncestor")});function RKe(){for(var t=this,r=[t];t=t.parent;)r.push(t);return r}var zhr=ie(()=>{"use strict";i(RKe,"default")});function LKe(){return Array.from(this)}var Uhr=ie(()=>{"use strict";i(LKe,"default")});function DKe(){var t=[];return this.eachBefore(function(r){r.children||t.push(r)}),t}var Vhr=ie(()=>{"use strict";i(DKe,"default")});function _Ke(){var t=this,r=[];return t.each(function(a){a!==t&&r.push({source:a.parent,target:a})}),r}var Hhr=ie(()=>{"use strict";i(_Ke,"default")});function*MKe(){var t=this,r,a=[t],o,l,h;do for(r=a.reverse(),a=[];t=r.pop();)if(yield t,o=t.children)for(l=0,h=o.length;l{"use strict";i(MKe,"default")});function pz(t,r){t instanceof Map?(t=[void 0,t],r===void 0&&(r=HRn)):r===void 0&&(r=VRn);for(var a=new ote(t),o,l=[a],h,f,p,m;o=l.pop();)if((f=r(o.data))&&(m=(f=Array.from(f)).length))for(o.children=f,p=m-1;p>=0;--p)l.push(h=f[p]=new ote(f[p])),h.parent=o,h.depth=o.depth+1;return a.eachBefore(WRn)}function URn(){return pz(this).eachBefore(qRn)}function VRn(t){return t.children}function HRn(t){return Array.isArray(t)?t[1]:null}function qRn(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function WRn(t){var r=0;do t.height=r;while((t=t.parent)&&t.height<++r)}function ote(t){this.data=t,this.depth=this.height=0,this.parent=null}var Whr=ie(()=>{"use strict";Nhr();Ohr();Phr();Bhr();Fhr();$hr();Ghr();jhr();zhr();Uhr();Vhr();Hhr();qhr();i(pz,"hierarchy");i(URn,"node_copy");i(VRn,"objectChildren");i(HRn,"mapChildren");i(qRn,"copyData");i(WRn,"computeHeight");i(ote,"Node");ote.prototype=pz.prototype={constructor:ote,count:wKe,each:xKe,eachAfter:kKe,eachBefore:TKe,find:CKe,sum:EKe,sort:SKe,path:AKe,ancestors:RKe,descendants:LKe,leaves:DKe,links:_Ke,copy:URn,[Symbol.iterator]:MKe}});function Yhr(t){if(typeof t!="function")throw new Error;return t}var Khr=ie(()=>{"use strict";i(Yhr,"required")});function gz(){return 0}function BN(t){return function(){return t}}var Xhr=ie(()=>{"use strict";i(gz,"constantZero");i(BN,"default")});function IKe(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)}var Qhr=ie(()=>{"use strict";i(IKe,"default")});function NKe(t,r,a,o,l){for(var h=t.children,f,p=-1,m=h.length,b=t.value&&(o-r)/t.value;++p{"use strict";i(NKe,"default")});function OKe(t,r,a,o,l){for(var h=t.children,f,p=-1,m=h.length,b=t.value&&(l-a)/t.value;++p{"use strict";i(OKe,"default")});function KRn(t,r,a,o,l,h){for(var f=[],p=r.children,m,b,v=0,T=0,C=p.length,E,S,R=r.value,L,_,M,I,F,O,P;vM&&(M=b),P=L*L*O,I=Math.max(M/P,P/_),I>F){L-=b;break}F=I}f.push(m={value:L,dice:E{"use strict";Jhr();Zhr();YRn=(1+Math.sqrt(5))/2;i(KRn,"squarifyRatio");efr=i((function t(r){function a(o,l,h,f,p){KRn(r,o,l,h,f,p)}return i(a,"squarify"),a.ratio=function(o){return t((o=+o)>1?o:1)},a}),"custom")(YRn)});function ive(){var t=efr,r=!1,a=1,o=1,l=[0],h=gz,f=gz,p=gz,m=gz,b=gz;function v(C){return C.x0=C.y0=0,C.x1=a,C.y1=o,C.eachBefore(T),l=[0],r&&C.eachBefore(IKe),C}i(v,"treemap");function T(C){var E=l[C.depth],S=C.x0+E,R=C.y0+E,L=C.x1-E,_=C.y1-E;L{"use strict";Qhr();tfr();Khr();Xhr();i(ive,"default")});var nfr=ie(()=>{"use strict";Whr();rfr()});var ifr=ie(()=>{"use strict"});var afr=ie(()=>{"use strict"});function EL(t,r){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(r).domain(t);break}return this}var lte=ie(()=>{"use strict";i(EL,"initRange")});function Bw(){var t=new ez,r=[],a=[],o=PKe;function l(h){let f=t.get(h);if(f===void 0){if(o!==PKe)return o;t.set(h,f=r.push(h)-1)}return a[f%a.length]}return i(l,"scale"),l.domain=function(h){if(!arguments.length)return r.slice();r=[],t=new ez;for(let f of h)t.has(f)||t.set(f,r.push(f)-1);return l},l.range=function(h){return arguments.length?(a=Array.from(h),l):a.slice()},l.unknown=function(h){return arguments.length?(o=h,l):o},l.copy=function(){return Bw(r,a).unknown(o)},EL.apply(l,arguments),l}var PKe,BKe=ie(()=>{"use strict";bL();lte();PKe=Symbol("implicit");i(Bw,"ordinal")});function mz(){var t=Bw().unknown(void 0),r=t.domain,a=t.range,o=0,l=1,h,f,p=!1,m=0,b=0,v=.5;delete t.unknown;function T(){var C=r().length,E=l{"use strict";bL();lte();BKe();i(mz,"band")});function FKe(t){return function(){return t}}var ofr=ie(()=>{"use strict";i(FKe,"constants")});function $Ke(t){return+t}var lfr=ie(()=>{"use strict";i($Ke,"number")});function yz(t){return t}function GKe(t,r){return(r-=t=+t)?function(a){return(a-t)/r}:FKe(isNaN(r)?NaN:.5)}function XRn(t,r){var a;return t>r&&(a=t,t=r,r=a),function(o){return Math.max(t,Math.min(r,o))}}function QRn(t,r,a){var o=t[0],l=t[1],h=r[0],f=r[1];return l2?JRn:QRn,m=b=null,T}i(v,"rescale");function T(C){return C==null||isNaN(C=+C)?h:(m||(m=p(t.map(o),r,a)))(o(f(C)))}return i(T,"scale"),T.invert=function(C){return f(l((b||(b=p(r,t.map(o),dm)))(C)))},T.domain=function(C){return arguments.length?(t=Array.from(C,$Ke),v()):t.slice()},T.range=function(C){return arguments.length?(r=Array.from(C),v()):r.slice()},T.rangeRound=function(C){return r=Array.from(C),a=Obe,v()},T.clamp=function(C){return arguments.length?(f=C?!0:yz,v()):f!==yz},T.interpolate=function(C){return arguments.length?(a=C,v()):a},T.unknown=function(C){return arguments.length?(h=C,T):h},function(C,E){return o=C,l=E,v()}}function cte(){return ZRn()(yz,yz)}var cfr,jKe=ie(()=>{"use strict";bL();hz();ofr();lfr();cfr=[0,1];i(yz,"identity");i(GKe,"normalize");i(XRn,"clamper");i(QRn,"bimap");i(JRn,"polymap");i(ave,"copy");i(ZRn,"transformer");i(cte,"continuous")});function zKe(t,r,a,o){var l=tz(t,r,a),h;switch(o=CL(o??",f"),o.type){case"s":{var f=Math.max(Math.abs(t),Math.abs(r));return o.precision==null&&!isNaN(h=rve(l,f))&&(o.precision=h),eve(o,f)}case"":case"e":case"g":case"p":case"r":{o.precision==null&&!isNaN(h=nve(l,Math.max(Math.abs(t),Math.abs(r))))&&(o.precision=h-(o.type==="e"));break}case"f":case"%":{o.precision==null&&!isNaN(h=tve(l))&&(o.precision=h-(o.type==="%")*2);break}}return VE(o)}var ufr=ie(()=>{"use strict";bL();vKe();i(zKe,"tickFormat")});function eLn(t){var r=t.domain;return t.ticks=function(a){var o=r();return bbe(o[0],o[o.length-1],a??10)},t.tickFormat=function(a,o){var l=r();return zKe(l[0],l[l.length-1],a??10,o)},t.nice=function(a){a==null&&(a=10);var o=r(),l=0,h=o.length-1,f=o[l],p=o[h],m,b,v=10;for(p0;){if(b=Bee(f,p,a),b===m)return o[l]=f,o[h]=p,r(o);if(b>0)f=Math.floor(f/b)*b,p=Math.ceil(p/b)*b;else if(b<0)f=Math.ceil(f*b)/b,p=Math.floor(p*b)/b;else break;m=b}return t},t}function l4(){var t=cte();return t.copy=function(){return ave(t,l4())},EL.apply(t,arguments),eLn(t)}var hfr=ie(()=>{"use strict";bL();jKe();lte();ufr();i(eLn,"linearish");i(l4,"linear")});function UKe(t,r){t=t.slice();var a=0,o=t.length-1,l=t[a],h=t[o],f;return h{"use strict";i(UKe,"nice")});function jh(t,r,a,o){function l(h){return t(h=arguments.length===0?new Date:new Date(+h)),h}return i(l,"interval"),l.floor=h=>(t(h=new Date(+h)),h),l.ceil=h=>(t(h=new Date(h-1)),r(h,1),t(h),h),l.round=h=>{let f=l(h),p=l.ceil(h);return h-f(r(h=new Date(+h),f==null?1:Math.floor(f)),h),l.range=(h,f,p)=>{let m=[];if(h=l.ceil(h),p=p==null?1:Math.floor(p),!(h0))return m;let b;do m.push(b=new Date(+h)),r(h,p),t(h);while(bjh(f=>{if(f>=f)for(;t(f),!h(f);)f.setTime(f-1)},(f,p)=>{if(f>=f)if(p<0)for(;++p<=0;)for(;r(f,-1),!h(f););else for(;--p>=0;)for(;r(f,1),!h(f););}),a&&(l.count=(h,f)=>(VKe.setTime(+h),HKe.setTime(+f),t(VKe),t(HKe),Math.floor(a(VKe,HKe))),l.every=h=>(h=Math.floor(h),!isFinite(h)||!(h>0)?null:h>1?l.filter(o?f=>o(f)%h===0:f=>l.count(0,f)%h===0):l)),l}var VKe,HKe,rA=ie(()=>{"use strict";VKe=new Date,HKe=new Date;i(jh,"timeInterval")});var HE,dfr,qKe=ie(()=>{"use strict";rA();HE=jh(()=>{},(t,r)=>{t.setTime(+t+r)},(t,r)=>r-t);HE.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?jh(r=>{r.setTime(Math.floor(r/t)*t)},(r,a)=>{r.setTime(+r+a*t)},(r,a)=>(a-r)/t):HE);dfr=HE.range});var Fw,pfr,WKe=ie(()=>{"use strict";rA();Fw=jh(t=>{t.setTime(t-t.getMilliseconds())},(t,r)=>{t.setTime(+t+r*1e3)},(t,r)=>(r-t)/1e3,t=>t.getUTCSeconds()),pfr=Fw.range});var nA,tLn,sve,rLn,YKe=ie(()=>{"use strict";rA();nA=jh(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*1e3)},(t,r)=>{t.setTime(+t+r*6e4)},(t,r)=>(r-t)/6e4,t=>t.getMinutes()),tLn=nA.range,sve=jh(t=>{t.setUTCSeconds(0,0)},(t,r)=>{t.setTime(+t+r*6e4)},(t,r)=>(r-t)/6e4,t=>t.getUTCMinutes()),rLn=sve.range});var iA,nLn,ove,iLn,KKe=ie(()=>{"use strict";rA();iA=jh(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*1e3-t.getMinutes()*6e4)},(t,r)=>{t.setTime(+t+r*36e5)},(t,r)=>(r-t)/36e5,t=>t.getHours()),nLn=iA.range,ove=jh(t=>{t.setUTCMinutes(0,0,0)},(t,r)=>{t.setTime(+t+r*36e5)},(t,r)=>(r-t)/36e5,t=>t.getUTCHours()),iLn=ove.range});var HT,aLn,hte,sLn,lve,oLn,XKe=ie(()=>{"use strict";rA();HT=jh(t=>t.setHours(0,0,0,0),(t,r)=>t.setDate(t.getDate()+r),(t,r)=>(r-t-(r.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1),aLn=HT.range,hte=jh(t=>{t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCDate(t.getUTCDate()+r)},(t,r)=>(r-t)/864e5,t=>t.getUTCDate()-1),sLn=hte.range,lve=jh(t=>{t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCDate(t.getUTCDate()+r)},(t,r)=>(r-t)/864e5,t=>Math.floor(t/864e5)),oLn=lve.range});function GN(t){return jh(r=>{r.setDate(r.getDate()-(r.getDay()+7-t)%7),r.setHours(0,0,0,0)},(r,a)=>{r.setDate(r.getDate()+a*7)},(r,a)=>(a-r-(a.getTimezoneOffset()-r.getTimezoneOffset())*6e4)/6048e5)}function jN(t){return jh(r=>{r.setUTCDate(r.getUTCDate()-(r.getUTCDay()+7-t)%7),r.setUTCHours(0,0,0,0)},(r,a)=>{r.setUTCDate(r.getUTCDate()+a*7)},(r,a)=>(a-r)/6048e5)}var c4,SL,cve,uve,WE,hve,fve,mfr,lLn,cLn,uLn,hLn,fLn,dLn,zN,bz,yfr,bfr,AL,vfr,wfr,xfr,pLn,gLn,mLn,yLn,bLn,vLn,QKe=ie(()=>{"use strict";rA();i(GN,"timeWeekday");c4=GN(0),SL=GN(1),cve=GN(2),uve=GN(3),WE=GN(4),hve=GN(5),fve=GN(6),mfr=c4.range,lLn=SL.range,cLn=cve.range,uLn=uve.range,hLn=WE.range,fLn=hve.range,dLn=fve.range;i(jN,"utcWeekday");zN=jN(0),bz=jN(1),yfr=jN(2),bfr=jN(3),AL=jN(4),vfr=jN(5),wfr=jN(6),xfr=zN.range,pLn=bz.range,gLn=yfr.range,mLn=bfr.range,yLn=AL.range,bLn=vfr.range,vLn=wfr.range});var aA,wLn,dve,xLn,JKe=ie(()=>{"use strict";rA();aA=jh(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,r)=>{t.setMonth(t.getMonth()+r)},(t,r)=>r.getMonth()-t.getMonth()+(r.getFullYear()-t.getFullYear())*12,t=>t.getMonth()),wLn=aA.range,dve=jh(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCMonth(t.getUTCMonth()+r)},(t,r)=>r.getUTCMonth()-t.getUTCMonth()+(r.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth()),xLn=dve.range});var $w,TLn,u4,kLn,ZKe=ie(()=>{"use strict";rA();$w=jh(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,r)=>{t.setFullYear(t.getFullYear()+r)},(t,r)=>r.getFullYear()-t.getFullYear(),t=>t.getFullYear());$w.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:jh(r=>{r.setFullYear(Math.floor(r.getFullYear()/t)*t),r.setMonth(0,1),r.setHours(0,0,0,0)},(r,a)=>{r.setFullYear(r.getFullYear()+a*t)});TLn=$w.range,u4=jh(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r)},(t,r)=>r.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());u4.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:jh(r=>{r.setUTCFullYear(Math.floor(r.getUTCFullYear()/t)*t),r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0)},(r,a)=>{r.setUTCFullYear(r.getUTCFullYear()+a*t)});kLn=u4.range});function kfr(t,r,a,o,l,h){let f=[[Fw,1,1e3],[Fw,5,5*1e3],[Fw,15,15*1e3],[Fw,30,30*1e3],[h,1,6e4],[h,5,5*6e4],[h,15,15*6e4],[h,30,30*6e4],[l,1,36e5],[l,3,3*36e5],[l,6,6*36e5],[l,12,12*36e5],[o,1,864e5],[o,2,2*864e5],[a,1,6048e5],[r,1,2592e6],[r,3,3*2592e6],[t,1,31536e6]];function p(b,v,T){let C=vL).right(f,C);if(E===f.length)return t.every(tz(b/31536e6,v/31536e6,T));if(E===0)return HE.every(Math.max(tz(b,v,T),1));let[S,R]=f[C/f[E-1][2]{"use strict";bL();qKe();WKe();YKe();KKe();XKe();QKe();JKe();ZKe();i(kfr,"ticker");[ELn,SLn]=kfr(u4,dve,zN,lve,ove,sve),[eXe,tXe]=kfr($w,aA,c4,HT,iA,nA)});var pve=ie(()=>{"use strict";qKe();WKe();YKe();KKe();XKe();QKe();JKe();ZKe();Cfr()});function rXe(t){if(0<=t.y&&t.y<100){var r=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return r.setFullYear(t.y),r}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function nXe(t){if(0<=t.y&&t.y<100){var r=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return r.setUTCFullYear(t.y),r}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function fte(t,r,a){return{y:t,m:r,d:a,H:0,M:0,S:0,L:0}}function iXe(t){var r=t.dateTime,a=t.date,o=t.time,l=t.periods,h=t.days,f=t.shortDays,p=t.months,m=t.shortMonths,b=dte(l),v=pte(l),T=dte(h),C=pte(h),E=dte(f),S=pte(f),R=dte(p),L=pte(p),_=dte(m),M=pte(m),I={a:te,A:z,b:re,B:ae,c:null,d:Dfr,e:Dfr,f:KLn,g:aDn,G:oDn,H:qLn,I:WLn,j:YLn,L:Ofr,m:XLn,M:QLn,p:ce,q:le,Q:Ifr,s:Nfr,S:JLn,u:ZLn,U:eDn,V:tDn,w:rDn,W:nDn,x:null,X:null,y:iDn,Y:sDn,Z:lDn,"%":Mfr},F={a:de,A:ve,b:Se,B:_e,c:null,d:_fr,e:_fr,f:fDn,g:TDn,G:CDn,H:cDn,I:uDn,j:hDn,L:Bfr,m:dDn,M:pDn,p:Ce,q:Ve,Q:Ifr,s:Nfr,S:gDn,u:mDn,U:yDn,V:bDn,w:vDn,W:wDn,x:null,X:null,y:xDn,Y:kDn,Z:EDn,"%":Mfr},O={a:K,A:J,b:H,B:q,c:Z,d:Rfr,e:Rfr,f:zLn,g:Afr,G:Sfr,H:Lfr,I:Lfr,j:FLn,L:jLn,m:BLn,M:$Ln,p:Y,q:PLn,Q:VLn,s:HLn,S:GLn,u:_Ln,U:MLn,V:ILn,w:DLn,W:NLn,x:Q,X:W,y:Afr,Y:Sfr,Z:OLn,"%":ULn};I.x=P(a,I),I.X=P(o,I),I.c=P(r,I),F.x=P(a,F),F.X=P(o,F),F.c=P(r,F);function P(De,qe){return function(Ue){var We=[],mt=-1,ct=0,Ot=De.length,yr,tr,Xe;for(Ue instanceof Date||(Ue=new Date(+Ue));++mt53)return null;"w"in We||(We.w=1),"Z"in We?(ct=nXe(fte(We.y,0,1)),Ot=ct.getUTCDay(),ct=Ot>4||Ot===0?bz.ceil(ct):bz(ct),ct=hte.offset(ct,(We.V-1)*7),We.y=ct.getUTCFullYear(),We.m=ct.getUTCMonth(),We.d=ct.getUTCDate()+(We.w+6)%7):(ct=rXe(fte(We.y,0,1)),Ot=ct.getDay(),ct=Ot>4||Ot===0?SL.ceil(ct):SL(ct),ct=HT.offset(ct,(We.V-1)*7),We.y=ct.getFullYear(),We.m=ct.getMonth(),We.d=ct.getDate()+(We.w+6)%7)}else("W"in We||"U"in We)&&("w"in We||(We.w="u"in We?We.u%7:"W"in We?1:0),Ot="Z"in We?nXe(fte(We.y,0,1)).getUTCDay():rXe(fte(We.y,0,1)).getDay(),We.m=0,We.d="W"in We?(We.w+6)%7+We.W*7-(Ot+5)%7:We.w+We.U*7-(Ot+6)%7);return"Z"in We?(We.H+=We.Z/100|0,We.M+=We.Z%100,nXe(We)):rXe(We)}}i(G,"newParse");function V(De,qe,Ue,We){for(var mt=0,ct=qe.length,Ot=Ue.length,yr,tr;mt=Ot)return-1;if(yr=qe.charCodeAt(mt++),yr===37){if(yr=qe.charAt(mt++),tr=O[yr in Efr?qe.charAt(mt++):yr],!tr||(We=tr(De,Ue,We))<0)return-1}else if(yr!=Ue.charCodeAt(We++))return-1}return We}i(V,"parseSpecifier");function Y(De,qe,Ue){var We=b.exec(qe.slice(Ue));return We?(De.p=v.get(We[0].toLowerCase()),Ue+We[0].length):-1}i(Y,"parsePeriod");function K(De,qe,Ue){var We=E.exec(qe.slice(Ue));return We?(De.w=S.get(We[0].toLowerCase()),Ue+We[0].length):-1}i(K,"parseShortWeekday");function J(De,qe,Ue){var We=T.exec(qe.slice(Ue));return We?(De.w=C.get(We[0].toLowerCase()),Ue+We[0].length):-1}i(J,"parseWeekday");function H(De,qe,Ue){var We=_.exec(qe.slice(Ue));return We?(De.m=M.get(We[0].toLowerCase()),Ue+We[0].length):-1}i(H,"parseShortMonth");function q(De,qe,Ue){var We=R.exec(qe.slice(Ue));return We?(De.m=L.get(We[0].toLowerCase()),Ue+We[0].length):-1}i(q,"parseMonth");function Z(De,qe,Ue){return V(De,r,qe,Ue)}i(Z,"parseLocaleDateTime");function Q(De,qe,Ue){return V(De,a,qe,Ue)}i(Q,"parseLocaleDate");function W(De,qe,Ue){return V(De,o,qe,Ue)}i(W,"parseLocaleTime");function te(De){return f[De.getDay()]}i(te,"formatShortWeekday");function z(De){return h[De.getDay()]}i(z,"formatWeekday");function re(De){return m[De.getMonth()]}i(re,"formatShortMonth");function ae(De){return p[De.getMonth()]}i(ae,"formatMonth");function ce(De){return l[+(De.getHours()>=12)]}i(ce,"formatPeriod");function le(De){return 1+~~(De.getMonth()/3)}i(le,"formatQuarter");function de(De){return f[De.getUTCDay()]}i(de,"formatUTCShortWeekday");function ve(De){return h[De.getUTCDay()]}i(ve,"formatUTCWeekday");function Se(De){return m[De.getUTCMonth()]}i(Se,"formatUTCShortMonth");function _e(De){return p[De.getUTCMonth()]}i(_e,"formatUTCMonth");function Ce(De){return l[+(De.getUTCHours()>=12)]}i(Ce,"formatUTCPeriod");function Ve(De){return 1+~~(De.getUTCMonth()/3)}return i(Ve,"formatUTCQuarter"),{format:i(function(De){var qe=P(De+="",I);return qe.toString=function(){return De},qe},"format"),parse:i(function(De){var qe=G(De+="",!1);return qe.toString=function(){return De},qe},"parse"),utcFormat:i(function(De){var qe=P(De+="",F);return qe.toString=function(){return De},qe},"utcFormat"),utcParse:i(function(De){var qe=G(De+="",!0);return qe.toString=function(){return De},qe},"utcParse")}}function su(t,r,a){var o=t<0?"-":"",l=(o?-t:t)+"",h=l.length;return o+(h[r.toLowerCase(),a]))}function DLn(t,r,a){var o=pm.exec(r.slice(a,a+1));return o?(t.w=+o[0],a+o[0].length):-1}function _Ln(t,r,a){var o=pm.exec(r.slice(a,a+1));return o?(t.u=+o[0],a+o[0].length):-1}function MLn(t,r,a){var o=pm.exec(r.slice(a,a+2));return o?(t.U=+o[0],a+o[0].length):-1}function ILn(t,r,a){var o=pm.exec(r.slice(a,a+2));return o?(t.V=+o[0],a+o[0].length):-1}function NLn(t,r,a){var o=pm.exec(r.slice(a,a+2));return o?(t.W=+o[0],a+o[0].length):-1}function Sfr(t,r,a){var o=pm.exec(r.slice(a,a+4));return o?(t.y=+o[0],a+o[0].length):-1}function Afr(t,r,a){var o=pm.exec(r.slice(a,a+2));return o?(t.y=+o[0]+(+o[0]>68?1900:2e3),a+o[0].length):-1}function OLn(t,r,a){var o=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(r.slice(a,a+6));return o?(t.Z=o[1]?0:-(o[2]+(o[3]||"00")),a+o[0].length):-1}function PLn(t,r,a){var o=pm.exec(r.slice(a,a+1));return o?(t.q=o[0]*3-3,a+o[0].length):-1}function BLn(t,r,a){var o=pm.exec(r.slice(a,a+2));return o?(t.m=o[0]-1,a+o[0].length):-1}function Rfr(t,r,a){var o=pm.exec(r.slice(a,a+2));return o?(t.d=+o[0],a+o[0].length):-1}function FLn(t,r,a){var o=pm.exec(r.slice(a,a+3));return o?(t.m=0,t.d=+o[0],a+o[0].length):-1}function Lfr(t,r,a){var o=pm.exec(r.slice(a,a+2));return o?(t.H=+o[0],a+o[0].length):-1}function $Ln(t,r,a){var o=pm.exec(r.slice(a,a+2));return o?(t.M=+o[0],a+o[0].length):-1}function GLn(t,r,a){var o=pm.exec(r.slice(a,a+2));return o?(t.S=+o[0],a+o[0].length):-1}function jLn(t,r,a){var o=pm.exec(r.slice(a,a+3));return o?(t.L=+o[0],a+o[0].length):-1}function zLn(t,r,a){var o=pm.exec(r.slice(a,a+6));return o?(t.L=Math.floor(o[0]/1e3),a+o[0].length):-1}function ULn(t,r,a){var o=ALn.exec(r.slice(a,a+1));return o?a+o[0].length:-1}function VLn(t,r,a){var o=pm.exec(r.slice(a));return o?(t.Q=+o[0],a+o[0].length):-1}function HLn(t,r,a){var o=pm.exec(r.slice(a));return o?(t.s=+o[0],a+o[0].length):-1}function Dfr(t,r){return su(t.getDate(),r,2)}function qLn(t,r){return su(t.getHours(),r,2)}function WLn(t,r){return su(t.getHours()%12||12,r,2)}function YLn(t,r){return su(1+HT.count($w(t),t),r,3)}function Ofr(t,r){return su(t.getMilliseconds(),r,3)}function KLn(t,r){return Ofr(t,r)+"000"}function XLn(t,r){return su(t.getMonth()+1,r,2)}function QLn(t,r){return su(t.getMinutes(),r,2)}function JLn(t,r){return su(t.getSeconds(),r,2)}function ZLn(t){var r=t.getDay();return r===0?7:r}function eDn(t,r){return su(c4.count($w(t)-1,t),r,2)}function Pfr(t){var r=t.getDay();return r>=4||r===0?WE(t):WE.ceil(t)}function tDn(t,r){return t=Pfr(t),su(WE.count($w(t),t)+($w(t).getDay()===4),r,2)}function rDn(t){return t.getDay()}function nDn(t,r){return su(SL.count($w(t)-1,t),r,2)}function iDn(t,r){return su(t.getFullYear()%100,r,2)}function aDn(t,r){return t=Pfr(t),su(t.getFullYear()%100,r,2)}function sDn(t,r){return su(t.getFullYear()%1e4,r,4)}function oDn(t,r){var a=t.getDay();return t=a>=4||a===0?WE(t):WE.ceil(t),su(t.getFullYear()%1e4,r,4)}function lDn(t){var r=t.getTimezoneOffset();return(r>0?"-":(r*=-1,"+"))+su(r/60|0,"0",2)+su(r%60,"0",2)}function _fr(t,r){return su(t.getUTCDate(),r,2)}function cDn(t,r){return su(t.getUTCHours(),r,2)}function uDn(t,r){return su(t.getUTCHours()%12||12,r,2)}function hDn(t,r){return su(1+hte.count(u4(t),t),r,3)}function Bfr(t,r){return su(t.getUTCMilliseconds(),r,3)}function fDn(t,r){return Bfr(t,r)+"000"}function dDn(t,r){return su(t.getUTCMonth()+1,r,2)}function pDn(t,r){return su(t.getUTCMinutes(),r,2)}function gDn(t,r){return su(t.getUTCSeconds(),r,2)}function mDn(t){var r=t.getUTCDay();return r===0?7:r}function yDn(t,r){return su(zN.count(u4(t)-1,t),r,2)}function Ffr(t){var r=t.getUTCDay();return r>=4||r===0?AL(t):AL.ceil(t)}function bDn(t,r){return t=Ffr(t),su(AL.count(u4(t),t)+(u4(t).getUTCDay()===4),r,2)}function vDn(t){return t.getUTCDay()}function wDn(t,r){return su(bz.count(u4(t)-1,t),r,2)}function xDn(t,r){return su(t.getUTCFullYear()%100,r,2)}function TDn(t,r){return t=Ffr(t),su(t.getUTCFullYear()%100,r,2)}function kDn(t,r){return su(t.getUTCFullYear()%1e4,r,4)}function CDn(t,r){var a=t.getUTCDay();return t=a>=4||a===0?AL(t):AL.ceil(t),su(t.getUTCFullYear()%1e4,r,4)}function EDn(){return"+0000"}function Mfr(){return"%"}function Ifr(t){return+t}function Nfr(t){return Math.floor(+t/1e3)}var Efr,pm,ALn,RLn,$fr=ie(()=>{"use strict";pve();i(rXe,"localDate");i(nXe,"utcDate");i(fte,"newDate");i(iXe,"formatLocale");Efr={"-":"",_:" ",0:"0"},pm=/^\s*\d+/,ALn=/^%/,RLn=/[\\^$*+?|[\]().{}]/g;i(su,"pad");i(LLn,"requote");i(dte,"formatRe");i(pte,"formatLookup");i(DLn,"parseWeekdayNumberSunday");i(_Ln,"parseWeekdayNumberMonday");i(MLn,"parseWeekNumberSunday");i(ILn,"parseWeekNumberISO");i(NLn,"parseWeekNumberMonday");i(Sfr,"parseFullYear");i(Afr,"parseYear");i(OLn,"parseZone");i(PLn,"parseQuarter");i(BLn,"parseMonthNumber");i(Rfr,"parseDayOfMonth");i(FLn,"parseDayOfYear");i(Lfr,"parseHour24");i($Ln,"parseMinutes");i(GLn,"parseSeconds");i(jLn,"parseMilliseconds");i(zLn,"parseMicroseconds");i(ULn,"parseLiteralPercent");i(VLn,"parseUnixTimestamp");i(HLn,"parseUnixTimestampSeconds");i(Dfr,"formatDayOfMonth");i(qLn,"formatHour24");i(WLn,"formatHour12");i(YLn,"formatDayOfYear");i(Ofr,"formatMilliseconds");i(KLn,"formatMicroseconds");i(XLn,"formatMonthNumber");i(QLn,"formatMinutes");i(JLn,"formatSeconds");i(ZLn,"formatWeekdayNumberMonday");i(eDn,"formatWeekNumberSunday");i(Pfr,"dISO");i(tDn,"formatWeekNumberISO");i(rDn,"formatWeekdayNumberSunday");i(nDn,"formatWeekNumberMonday");i(iDn,"formatYear");i(aDn,"formatYearISO");i(sDn,"formatFullYear");i(oDn,"formatFullYearISO");i(lDn,"formatZone");i(_fr,"formatUTCDayOfMonth");i(cDn,"formatUTCHour24");i(uDn,"formatUTCHour12");i(hDn,"formatUTCDayOfYear");i(Bfr,"formatUTCMilliseconds");i(fDn,"formatUTCMicroseconds");i(dDn,"formatUTCMonthNumber");i(pDn,"formatUTCMinutes");i(gDn,"formatUTCSeconds");i(mDn,"formatUTCWeekdayNumberMonday");i(yDn,"formatUTCWeekNumberSunday");i(Ffr,"UTCdISO");i(bDn,"formatUTCWeekNumberISO");i(vDn,"formatUTCWeekdayNumberSunday");i(wDn,"formatUTCWeekNumberMonday");i(xDn,"formatUTCYear");i(TDn,"formatUTCYearISO");i(kDn,"formatUTCFullYear");i(CDn,"formatUTCFullYearISO");i(EDn,"formatUTCZone");i(Mfr,"formatLiteralPercent");i(Ifr,"formatUnixTimestamp");i(Nfr,"formatUnixTimestampSeconds")});function aXe(t){return vz=iXe(t),UN=vz.format,Gfr=vz.parse,jfr=vz.utcFormat,zfr=vz.utcParse,vz}var vz,UN,Gfr,jfr,zfr,Ufr=ie(()=>{"use strict";$fr();aXe({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});i(aXe,"defaultLocale")});var sXe=ie(()=>{"use strict";Ufr()});function SDn(t){return new Date(t)}function ADn(t){return t instanceof Date?+t:+new Date(+t)}function Vfr(t,r,a,o,l,h,f,p,m,b){var v=cte(),T=v.invert,C=v.domain,E=b(".%L"),S=b(":%S"),R=b("%I:%M"),L=b("%I %p"),_=b("%a %d"),M=b("%b %d"),I=b("%B"),F=b("%Y");function O(P){return(m(P){"use strict";pve();sXe();jKe();lte();ffr();i(SDn,"date");i(ADn,"number");i(Vfr,"calendar");i(gve,"time")});var qfr=ie(()=>{"use strict";sfr();hfr();BKe();Hfr()});function oXe(t){for(var r=t.length/6|0,a=new Array(r),o=0;o{"use strict";i(oXe,"default")});var lXe,Yfr=ie(()=>{"use strict";Wfr();lXe=oXe("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab")});var Kfr=ie(()=>{"use strict";Yfr()});function vf(t){return i(function(){return t},"constant")}var mve=ie(()=>{"use strict";i(vf,"default")});function Qfr(t){return t>1?0:t<-1?wz:Math.acos(t)}function uXe(t){return t>=1?gte:t<=-1?-gte:Math.asin(t)}var cXe,l1,RL,Xfr,yve,h4,VN,gm,wz,gte,xz,bve=ie(()=>{"use strict";cXe=Math.abs,l1=Math.atan2,RL=Math.cos,Xfr=Math.max,yve=Math.min,h4=Math.sin,VN=Math.sqrt,gm=1e-12,wz=Math.PI,gte=wz/2,xz=2*wz;i(Qfr,"acos");i(uXe,"asin")});function vve(t){let r=3;return t.digits=function(a){if(!arguments.length)return r;if(a==null)r=null;else{let o=Math.floor(a);if(!(o>=0))throw new RangeError(`invalid digits: ${a}`);r=o}return t},()=>new ON(r)}var hXe=ie(()=>{"use strict";oKe();i(vve,"withPath")});function RDn(t){return t.innerRadius}function LDn(t){return t.outerRadius}function DDn(t){return t.startAngle}function _Dn(t){return t.endAngle}function MDn(t){return t&&t.padAngle}function IDn(t,r,a,o,l,h,f,p){var m=a-t,b=o-r,v=f-l,T=p-h,C=T*m-v*b;if(!(C*CZ*Z+Q*Q&&(V=K,Y=J),{cx:V,cy:Y,x01:-v,y01:-T,x11:V*(l/O-1),y11:Y*(l/O-1)}}function f4(){var t=RDn,r=LDn,a=vf(0),o=null,l=DDn,h=_Dn,f=MDn,p=null,m=vve(b);function b(){var v,T,C=+t.apply(this,arguments),E=+r.apply(this,arguments),S=l.apply(this,arguments)-gte,R=h.apply(this,arguments)-gte,L=cXe(R-S),_=R>S;if(p||(p=v=m()),Egm))p.moveTo(0,0);else if(L>xz-gm)p.moveTo(E*RL(S),E*h4(S)),p.arc(0,0,E,S,R,!_),C>gm&&(p.moveTo(C*RL(R),C*h4(R)),p.arc(0,0,C,R,S,_));else{var M=S,I=R,F=S,O=R,P=L,G=L,V=f.apply(this,arguments)/2,Y=V>gm&&(o?+o.apply(this,arguments):VN(C*C+E*E)),K=yve(cXe(E-C)/2,+a.apply(this,arguments)),J=K,H=K,q,Z;if(Y>gm){var Q=uXe(Y/C*h4(V)),W=uXe(Y/E*h4(V));(P-=Q*2)>gm?(Q*=_?1:-1,F+=Q,O-=Q):(P=0,F=O=(S+R)/2),(G-=W*2)>gm?(W*=_?1:-1,M+=W,I-=W):(G=0,M=I=(S+R)/2)}var te=E*RL(M),z=E*h4(M),re=C*RL(O),ae=C*h4(O);if(K>gm){var ce=E*RL(I),le=E*h4(I),de=C*RL(F),ve=C*h4(F),Se;if(Lgm?H>gm?(q=wve(de,ve,te,z,E,H,_),Z=wve(ce,le,re,ae,E,H,_),p.moveTo(q.cx+q.x01,q.cy+q.y01),Hgm)||!(P>gm)?p.lineTo(re,ae):J>gm?(q=wve(re,ae,ce,le,C,-J,_),Z=wve(te,z,de,ve,C,-J,_),p.lineTo(q.cx+q.x01,q.cy+q.y01),J{"use strict";mve();bve();hXe();i(RDn,"arcInnerRadius");i(LDn,"arcOuterRadius");i(DDn,"arcStartAngle");i(_Dn,"arcEndAngle");i(MDn,"arcPadAngle");i(IDn,"intersect");i(wve,"cornerTangents");i(f4,"default")});function mte(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}var yca,fXe=ie(()=>{"use strict";yca=Array.prototype.slice;i(mte,"default")});function Zfr(t){this._context=t}function qT(t){return new Zfr(t)}var dXe=ie(()=>{"use strict";i(Zfr,"Linear");Zfr.prototype={areaStart:i(function(){this._line=0},"areaStart"),areaEnd:i(function(){this._line=NaN},"areaEnd"),lineStart:i(function(){this._point=0},"lineStart"),lineEnd:i(function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:i(function(t,r){switch(t=+t,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break;case 1:this._point=2;default:this._context.lineTo(t,r);break}},"point")};i(qT,"default")});function edr(t){return t[0]}function tdr(t){return t[1]}var rdr=ie(()=>{"use strict";i(edr,"x");i(tdr,"y")});function HN(t,r){var a=vf(!0),o=null,l=qT,h=null,f=vve(p);t=typeof t=="function"?t:t===void 0?edr:vf(t),r=typeof r=="function"?r:r===void 0?tdr:vf(r);function p(m){var b,v=(m=mte(m)).length,T,C=!1,E;for(o==null&&(h=l(E=f())),b=0;b<=v;++b)!(b{"use strict";fXe();mve();dXe();hXe();rdr();i(HN,"default")});function pXe(t,r){return rt?1:r>=t?0:NaN}var idr=ie(()=>{"use strict";i(pXe,"default")});function gXe(t){return t}var adr=ie(()=>{"use strict";i(gXe,"default")});function xve(){var t=gXe,r=pXe,a=null,o=vf(0),l=vf(xz),h=vf(0);function f(p){var m,b=(p=mte(p)).length,v,T,C=0,E=new Array(b),S=new Array(b),R=+o.apply(this,arguments),L=Math.min(xz,Math.max(-xz,l.apply(this,arguments)-R)),_,M=Math.min(Math.abs(L)/b,h.apply(this,arguments)),I=M*(L<0?-1:1),F;for(m=0;m0&&(C+=F);for(r!=null?E.sort(function(O,P){return r(S[O],S[P])}):a!=null&&E.sort(function(O,P){return a(p[O],p[P])}),m=0,T=C?(L-b*I)/C:0;m0?F*T:0)+I,S[v]={data:p[v],index:m,value:F,startAngle:R,endAngle:_,padAngle:M};return S}return i(f,"pie"),f.value=function(p){return arguments.length?(t=typeof p=="function"?p:vf(+p),f):t},f.sortValues=function(p){return arguments.length?(r=p,a=null,f):r},f.sort=function(p){return arguments.length?(a=p,r=null,f):a},f.startAngle=function(p){return arguments.length?(o=typeof p=="function"?p:vf(+p),f):o},f.endAngle=function(p){return arguments.length?(l=typeof p=="function"?p:vf(+p),f):l},f.padAngle=function(p){return arguments.length?(h=typeof p=="function"?p:vf(+p),f):h},f}var sdr=ie(()=>{"use strict";fXe();mve();idr();adr();bve();i(xve,"default")});function yte(t){return new Tve(t,!0)}function bte(t){return new Tve(t,!1)}var Tve,odr=ie(()=>{"use strict";Tve=class{static{i(this,"Bump")}constructor(r,a){this._context=r,this._x=a}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(r,a){switch(r=+r,a=+a,this._point){case 0:{this._point=1,this._line?this._context.lineTo(r,a):this._context.moveTo(r,a);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+r)/2,this._y0,this._x0,a,r,a):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+a)/2,r,this._y0,r,a);break}}this._x0=r,this._y0=a}};i(yte,"bumpX");i(bte,"bumpY")});function Gw(){}var vte=ie(()=>{"use strict";i(Gw,"default")});function Tz(t,r,a){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+r)/6,(t._y0+4*t._y1+a)/6)}function wte(t){this._context=t}function qN(t){return new wte(t)}var xte=ie(()=>{"use strict";i(Tz,"point");i(wte,"Basis");wte.prototype={areaStart:i(function(){this._line=0},"areaStart"),areaEnd:i(function(){this._line=NaN},"areaEnd"),lineStart:i(function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},"lineStart"),lineEnd:i(function(){switch(this._point){case 3:Tz(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:i(function(t,r){switch(t=+t,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Tz(this,t,r);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=r},"point")};i(qN,"default")});function ldr(t){this._context=t}function kve(t){return new ldr(t)}var cdr=ie(()=>{"use strict";vte();xte();i(ldr,"BasisClosed");ldr.prototype={areaStart:Gw,areaEnd:Gw,lineStart:i(function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},"lineStart"),lineEnd:i(function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},"lineEnd"),point:i(function(t,r){switch(t=+t,r=+r,this._point){case 0:this._point=1,this._x2=t,this._y2=r;break;case 1:this._point=2,this._x3=t,this._y3=r;break;case 2:this._point=3,this._x4=t,this._y4=r,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+r)/6);break;default:Tz(this,t,r);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=r},"point")};i(kve,"default")});function udr(t){this._context=t}function Cve(t){return new udr(t)}var hdr=ie(()=>{"use strict";xte();i(udr,"BasisOpen");udr.prototype={areaStart:i(function(){this._line=0},"areaStart"),areaEnd:i(function(){this._line=NaN},"areaEnd"),lineStart:i(function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},"lineStart"),lineEnd:i(function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:i(function(t,r){switch(t=+t,r=+r,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var a=(this._x0+4*this._x1+t)/6,o=(this._y0+4*this._y1+r)/6;this._line?this._context.lineTo(a,o):this._context.moveTo(a,o);break;case 3:this._point=4;default:Tz(this,t,r);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=r},"point")};i(Cve,"default")});function fdr(t,r){this._basis=new wte(t),this._beta=r}var mXe,ddr=ie(()=>{"use strict";xte();i(fdr,"Bundle");fdr.prototype={lineStart:i(function(){this._x=[],this._y=[],this._basis.lineStart()},"lineStart"),lineEnd:i(function(){var t=this._x,r=this._y,a=t.length-1;if(a>0)for(var o=t[0],l=r[0],h=t[a]-o,f=r[a]-l,p=-1,m;++p<=a;)m=p/a,this._basis.point(this._beta*t[p]+(1-this._beta)*(o+m*h),this._beta*r[p]+(1-this._beta)*(l+m*f));this._x=this._y=null,this._basis.lineEnd()},"lineEnd"),point:i(function(t,r){this._x.push(+t),this._y.push(+r)},"point")};mXe=i((function t(r){function a(o){return r===1?new wte(o):new fdr(o,r)}return i(a,"bundle"),a.beta=function(o){return t(+o)},a}),"custom")(.85)});function kz(t,r,a){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-r),t._y2+t._k*(t._y1-a),t._x2,t._y2)}function Eve(t,r){this._context=t,this._k=(1-r)/6}var Tte,kte=ie(()=>{"use strict";i(kz,"point");i(Eve,"Cardinal");Eve.prototype={areaStart:i(function(){this._line=0},"areaStart"),areaEnd:i(function(){this._line=NaN},"areaEnd"),lineStart:i(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},"lineStart"),lineEnd:i(function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:kz(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:i(function(t,r){switch(t=+t,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break;case 1:this._point=2,this._x1=t,this._y1=r;break;case 2:this._point=3;default:kz(this,t,r);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=r},"point")};Tte=i((function t(r){function a(o){return new Eve(o,r)}return i(a,"cardinal"),a.tension=function(o){return t(+o)},a}),"custom")(0)});function Sve(t,r){this._context=t,this._k=(1-r)/6}var yXe,bXe=ie(()=>{"use strict";vte();kte();i(Sve,"CardinalClosed");Sve.prototype={areaStart:Gw,areaEnd:Gw,lineStart:i(function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},"lineStart"),lineEnd:i(function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},"lineEnd"),point:i(function(t,r){switch(t=+t,r=+r,this._point){case 0:this._point=1,this._x3=t,this._y3=r;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=r);break;case 2:this._point=3,this._x5=t,this._y5=r;break;default:kz(this,t,r);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=r},"point")};yXe=i((function t(r){function a(o){return new Sve(o,r)}return i(a,"cardinal"),a.tension=function(o){return t(+o)},a}),"custom")(0)});function Ave(t,r){this._context=t,this._k=(1-r)/6}var vXe,wXe=ie(()=>{"use strict";kte();i(Ave,"CardinalOpen");Ave.prototype={areaStart:i(function(){this._line=0},"areaStart"),areaEnd:i(function(){this._line=NaN},"areaEnd"),lineStart:i(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},"lineStart"),lineEnd:i(function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:i(function(t,r){switch(t=+t,r=+r,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:kz(this,t,r);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=r},"point")};vXe=i((function t(r){function a(o){return new Ave(o,r)}return i(a,"cardinal"),a.tension=function(o){return t(+o)},a}),"custom")(0)});function Cte(t,r,a){var o=t._x1,l=t._y1,h=t._x2,f=t._y2;if(t._l01_a>gm){var p=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,m=3*t._l01_a*(t._l01_a+t._l12_a);o=(o*p-t._x0*t._l12_2a+t._x2*t._l01_2a)/m,l=(l*p-t._y0*t._l12_2a+t._y2*t._l01_2a)/m}if(t._l23_a>gm){var b=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,v=3*t._l23_a*(t._l23_a+t._l12_a);h=(h*b+t._x1*t._l23_2a-r*t._l12_2a)/v,f=(f*b+t._y1*t._l23_2a-a*t._l12_2a)/v}t._context.bezierCurveTo(o,l,h,f,t._x2,t._y2)}function pdr(t,r){this._context=t,this._alpha=r}var Ete,Rve=ie(()=>{"use strict";bve();kte();i(Cte,"point");i(pdr,"CatmullRom");pdr.prototype={areaStart:i(function(){this._line=0},"areaStart"),areaEnd:i(function(){this._line=NaN},"areaEnd"),lineStart:i(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},"lineStart"),lineEnd:i(function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:i(function(t,r){if(t=+t,r=+r,this._point){var a=this._x2-t,o=this._y2-r;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(a*a+o*o,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break;case 1:this._point=2;break;case 2:this._point=3;default:Cte(this,t,r);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=r},"point")};Ete=i((function t(r){function a(o){return r?new pdr(o,r):new Eve(o,0)}return i(a,"catmullRom"),a.alpha=function(o){return t(+o)},a}),"custom")(.5)});function gdr(t,r){this._context=t,this._alpha=r}var xXe,mdr=ie(()=>{"use strict";bXe();vte();Rve();i(gdr,"CatmullRomClosed");gdr.prototype={areaStart:Gw,areaEnd:Gw,lineStart:i(function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},"lineStart"),lineEnd:i(function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},"lineEnd"),point:i(function(t,r){if(t=+t,r=+r,this._point){var a=this._x2-t,o=this._y2-r;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(a*a+o*o,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=r;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=r);break;case 2:this._point=3,this._x5=t,this._y5=r;break;default:Cte(this,t,r);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=r},"point")};xXe=i((function t(r){function a(o){return r?new gdr(o,r):new Sve(o,0)}return i(a,"catmullRom"),a.alpha=function(o){return t(+o)},a}),"custom")(.5)});function ydr(t,r){this._context=t,this._alpha=r}var TXe,bdr=ie(()=>{"use strict";wXe();Rve();i(ydr,"CatmullRomOpen");ydr.prototype={areaStart:i(function(){this._line=0},"areaStart"),areaEnd:i(function(){this._line=NaN},"areaEnd"),lineStart:i(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},"lineStart"),lineEnd:i(function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:i(function(t,r){if(t=+t,r=+r,this._point){var a=this._x2-t,o=this._y2-r;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(a*a+o*o,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Cte(this,t,r);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=r},"point")};TXe=i((function t(r){function a(o){return r?new ydr(o,r):new Ave(o,0)}return i(a,"catmullRom"),a.alpha=function(o){return t(+o)},a}),"custom")(.5)});function vdr(t){this._context=t}function Lve(t){return new vdr(t)}var wdr=ie(()=>{"use strict";vte();i(vdr,"LinearClosed");vdr.prototype={areaStart:Gw,areaEnd:Gw,lineStart:i(function(){this._point=0},"lineStart"),lineEnd:i(function(){this._point&&this._context.closePath()},"lineEnd"),point:i(function(t,r){t=+t,r=+r,this._point?this._context.lineTo(t,r):(this._point=1,this._context.moveTo(t,r))},"point")};i(Lve,"default")});function xdr(t){return t<0?-1:1}function Tdr(t,r,a){var o=t._x1-t._x0,l=r-t._x1,h=(t._y1-t._y0)/(o||l<0&&-0),f=(a-t._y1)/(l||o<0&&-0),p=(h*l+f*o)/(o+l);return(xdr(h)+xdr(f))*Math.min(Math.abs(h),Math.abs(f),.5*Math.abs(p))||0}function kdr(t,r){var a=t._x1-t._x0;return a?(3*(t._y1-t._y0)/a-r)/2:r}function kXe(t,r,a){var o=t._x0,l=t._y0,h=t._x1,f=t._y1,p=(h-o)/3;t._context.bezierCurveTo(o+p,l+p*r,h-p,f-p*a,h,f)}function Dve(t){this._context=t}function Cdr(t){this._context=new Edr(t)}function Edr(t){this._context=t}function Ste(t){return new Dve(t)}function Ate(t){return new Cdr(t)}var Sdr=ie(()=>{"use strict";i(xdr,"sign");i(Tdr,"slope3");i(kdr,"slope2");i(kXe,"point");i(Dve,"MonotoneX");Dve.prototype={areaStart:i(function(){this._line=0},"areaStart"),areaEnd:i(function(){this._line=NaN},"areaEnd"),lineStart:i(function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},"lineStart"),lineEnd:i(function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:kXe(this,this._t0,kdr(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:i(function(t,r){var a=NaN;if(t=+t,r=+r,!(t===this._x1&&r===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break;case 1:this._point=2;break;case 2:this._point=3,kXe(this,kdr(this,a=Tdr(this,t,r)),a);break;default:kXe(this,this._t0,a=Tdr(this,t,r));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=r,this._t0=a}},"point")};i(Cdr,"MonotoneY");(Cdr.prototype=Object.create(Dve.prototype)).point=function(t,r){Dve.prototype.point.call(this,r,t)};i(Edr,"ReflectContext");Edr.prototype={moveTo:i(function(t,r){this._context.moveTo(r,t)},"moveTo"),closePath:i(function(){this._context.closePath()},"closePath"),lineTo:i(function(t,r){this._context.lineTo(r,t)},"lineTo"),bezierCurveTo:i(function(t,r,a,o,l,h){this._context.bezierCurveTo(r,t,o,a,h,l)},"bezierCurveTo")};i(Ste,"monotoneX");i(Ate,"monotoneY")});function Rdr(t){this._context=t}function Adr(t){var r,a=t.length-1,o,l=new Array(a),h=new Array(a),f=new Array(a);for(l[0]=0,h[0]=2,f[0]=t[0]+2*t[1],r=1;r=0;--r)l[r]=(f[r]-l[r+1])/h[r];for(h[a-1]=(t[a]+l[a-1])/2,r=0;r{"use strict";i(Rdr,"Natural");Rdr.prototype={areaStart:i(function(){this._line=0},"areaStart"),areaEnd:i(function(){this._line=NaN},"areaEnd"),lineStart:i(function(){this._x=[],this._y=[]},"lineStart"),lineEnd:i(function(){var t=this._x,r=this._y,a=t.length;if(a)if(this._line?this._context.lineTo(t[0],r[0]):this._context.moveTo(t[0],r[0]),a===2)this._context.lineTo(t[1],r[1]);else for(var o=Adr(t),l=Adr(r),h=0,f=1;f{"use strict";i(_ve,"Step");_ve.prototype={areaStart:i(function(){this._line=0},"areaStart"),areaEnd:i(function(){this._line=NaN},"areaEnd"),lineStart:i(function(){this._x=this._y=NaN,this._point=0},"lineStart"),lineEnd:i(function(){0=0&&(this._t=1-this._t,this._line=1-this._line)},"lineEnd"),point:i(function(t,r){switch(t=+t,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,r),this._context.lineTo(t,r);else{var a=this._x*(1-this._t)+t*this._t;this._context.lineTo(a,this._y),this._context.lineTo(a,r)}break}}this._x=t,this._y=r},"point")};i(Ez,"default");i(Rte,"stepBefore");i(Lte,"stepAfter")});var _dr=ie(()=>{"use strict";Jfr();ndr();sdr();cdr();hdr();xte();odr();ddr();bXe();wXe();kte();mdr();bdr();Rve();wdr();dXe();Sdr();Ldr();Ddr()});var Mdr=ie(()=>{"use strict"});var Idr=ie(()=>{"use strict"});function LL(t,r,a){this.k=t,this.x=r,this.y=a}function EXe(t){for(;!t.__zoom;)if(!(t=t.parentNode))return CXe;return t.__zoom}var CXe,SXe=ie(()=>{"use strict";i(LL,"Transform");LL.prototype={constructor:LL,scale:i(function(t){return t===1?this:new LL(this.k*t,this.x,this.y)},"scale"),translate:i(function(t,r){return t===0&r===0?this:new LL(this.k,this.x+this.k*t,this.y+this.k*r)},"translate"),apply:i(function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},"apply"),applyX:i(function(t){return t*this.k+this.x},"applyX"),applyY:i(function(t){return t*this.k+this.y},"applyY"),invert:i(function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},"invert"),invertX:i(function(t){return(t-this.x)/this.k},"invertX"),invertY:i(function(t){return(t-this.y)/this.k},"invertY"),rescaleX:i(function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},"rescaleX"),rescaleY:i(function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},"rescaleY"),toString:i(function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"},"toString")};CXe=new LL(1,0,0);EXe.prototype=LL.prototype;i(EXe,"transform")});var Ndr=ie(()=>{"use strict"});var Odr=ie(()=>{"use strict";Kbe();Mdr();Idr();SXe();Ndr()});var Pdr=ie(()=>{"use strict";Odr();SXe()});var Yo=ie(()=>{"use strict";bL();Vlr();chr();dhr();lz();phr();ghr();pWe();Ocr();mhr();rKe();yhr();vhr();vKe();Ihr();nfr();hz();oKe();ifr();bhr();afr();qfr();Kfr();i4();_dr();pve();sXe();Ube();Kbe();Pdr()});var AXe,WN,Mve,Bdr,Ive,Nve,xb,Dte,DL,sA=ie(()=>{"use strict";AXe=qv(Pee(),1);Yo();rl();WN=i((t,r)=>{let a=t.append("rect");if(a.attr("x",r.x),a.attr("y",r.y),a.attr("fill",r.fill),a.attr("stroke",r.stroke),a.attr("width",r.width),a.attr("height",r.height),r.name&&a.attr("name",r.name),r.rx&&a.attr("rx",r.rx),r.ry&&a.attr("ry",r.ry),r.attrs!==void 0)for(let o in r.attrs)a.attr(o,r.attrs[o]);return r.class&&a.attr("class",r.class),a},"drawRect"),Mve=i((t,r)=>{let a={x:r.startx,y:r.starty,width:r.stopx-r.startx,height:r.stopy-r.starty,fill:r.fill,stroke:r.stroke,class:"rect"};WN(t,a).lower()},"drawBackgroundRect"),Bdr=i((t,r)=>{let a=r.text.replace(TN," "),o=t.append("text");o.attr("x",r.x),o.attr("y",r.y),o.attr("class","legend"),o.style("text-anchor",r.anchor),r.class&&o.attr("class",r.class);let l=o.append("tspan");return l.attr("x",r.x+r.textMargin*2),l.text(a),o},"drawText"),Ive=i((t,r,a,o)=>{let l=t.append("image");l.attr("x",r),l.attr("y",a);let h=(0,AXe.sanitizeUrl)(o);l.attr("xlink:href",h)},"drawImage"),Nve=i((t,r,a,o)=>{let l=t.append("use");l.attr("x",r),l.attr("y",a);let h=(0,AXe.sanitizeUrl)(o);l.attr("xlink:href",`#${h}`)},"drawEmbeddedImage"),xb=i(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),Dte=i(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),DL=i(()=>{let t=dn(".mermaidTooltip");return t.empty()&&(t=dn("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),t},"createTooltip")});var Fdr,NDn,ODn,PDn,BDn,FDn,$Dn,GDn,jDn,zDn,_te,YE,$dr=ie(()=>{"use strict";rl();sA();Fdr=i(function(t,r){return WN(t,r)},"drawRect"),NDn=i((t,r,a,o)=>{let l=t.append("g"),h=0;for(let f of r){let p=f.textColor?f.textColor:"#444444",m=f.lineColor?f.lineColor:"#444444",b=f.offsetX?parseInt(String(f.offsetX)):0,v=f.offsetY?parseInt(String(f.offsetY)):0,T="";if(h===0){let S=l.append("line");S.attr("x1",f.startPoint.x),S.attr("y1",f.startPoint.y),S.attr("x2",f.endPoint.x),S.attr("y2",f.endPoint.y),S.attr("stroke-width","1"),S.attr("stroke",m),S.style("fill","none"),f.type!=="rel_b"&&S.attr("marker-end","url("+T+"#"+o+"-arrowhead)"),(f.type==="birel"||f.type==="rel_b")&&S.attr("marker-start","url("+T+"#"+o+"-arrowend)"),h=-1}else{let S=l.append("path");S.attr("fill","none").attr("stroke-width","1").attr("stroke",m).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",f.startPoint.x).replaceAll("starty",f.startPoint.y).replaceAll("controlx",f.startPoint.x+(f.endPoint.x-f.startPoint.x)/2-(f.endPoint.x-f.startPoint.x)/4).replaceAll("controly",f.startPoint.y+(f.endPoint.y-f.startPoint.y)/2).replaceAll("stopx",f.endPoint.x).replaceAll("stopy",f.endPoint.y)),f.type!=="rel_b"&&S.attr("marker-end","url("+T+"#"+o+"-arrowhead)"),(f.type==="birel"||f.type==="rel_b")&&S.attr("marker-start","url("+T+"#"+o+"-arrowend)")}let C=f.label.width,E=a.messageFont();_te(a)(f.label.text,l,Math.min(f.startPoint.x,f.endPoint.x)+Math.abs(f.endPoint.x-f.startPoint.x)/2+b,Math.min(f.startPoint.y,f.endPoint.y)+Math.abs(f.endPoint.y-f.startPoint.y)/2+v,C,f.label.height,{fill:p},E),f.techn&&f.techn.text!==""&&(E=a.messageFont(),_te(a)("["+f.techn.text+"]",l,Math.min(f.startPoint.x,f.endPoint.x)+Math.abs(f.endPoint.x-f.startPoint.x)/2+b,Math.min(f.startPoint.y,f.endPoint.y)+Math.abs(f.endPoint.y-f.startPoint.y)/2+a.messageFontSize+5+v,Math.max(C,f.techn.width),f.techn.height,{fill:p,"font-style":"italic"},E))}},"drawRels"),ODn=i(function(t,r,a){let o=t.append("g"),l=r.bgColor?r.bgColor:"none",h=r.borderColor?r.borderColor:"#444444",f=r.fontColor?r.fontColor:"black",p={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};r.nodeType&&(p={"stroke-width":1});let m={x:r.x,y:r.y,fill:l,stroke:h,width:r.width,height:r.height,rx:2.5,ry:2.5,attrs:p};Fdr(o,m);let b=a.boundaryFont();b.fontWeight="bold",b.fontSize=b.fontSize+2,b.fontColor=f,_te(a)(r.label.text,o,r.x,r.y+r.label.Y,r.width,r.height,{fill:"#444444"},b),r.type&&r.type.text!==""&&(b=a.boundaryFont(),b.fontColor=f,_te(a)(r.type.text,o,r.x,r.y+r.type.Y,r.width,r.height,{fill:"#444444"},b)),r.descr&&r.descr.text!==""&&(b=a.boundaryFont(),b.fontSize=b.fontSize-2,b.fontColor=f,_te(a)(r.descr.text,o,r.x,r.y+r.descr.Y,r.width,r.height,{fill:"#444444"},b))},"drawBoundary"),PDn=i(function(t,r){t.append("defs").append("symbol").attr("id",r+"-database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},"insertDatabaseIcon"),BDn=i(function(t,r){t.append("defs").append("symbol").attr("id",r+"-computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},"insertComputerIcon"),FDn=i(function(t,r){t.append("defs").append("symbol").attr("id",r+"-clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},"insertClockIcon"),$Dn=i(function(t,r){t.append("defs").append("marker").attr("id",r+"-arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},"insertArrowHead"),GDn=i(function(t,r){t.append("defs").append("marker").attr("id",r+"-arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")},"insertArrowEnd"),jDn=i(function(t,r){t.append("defs").append("marker").attr("id",r+"-filled-head").attr("refX",18).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")},"insertArrowFilledHead"),zDn=i(function(t,r){let o=t.append("defs").append("marker").attr("id",r+"-crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);o.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),o.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},"insertArrowCrossHead"),_te=(function(){function t(l,h,f,p,m,b,v){let T=h.append("text").attr("x",f+m/2).attr("y",p+b/2+5).style("text-anchor","middle").text(l);o(T,v)}i(t,"byText");function r(l,h,f,p,m,b,v,T){let{fontSize:C,fontFamily:E,fontWeight:S}=T,R=l.split(Wn.lineBreakRegex);for(let L=0;L=0}var jdr=ie(()=>{"use strict";i(Gdr,"isLength")});function Pve(t){return t!=null&&typeof t!="function"&&Gdr(t.length)}var RXe=ie(()=>{"use strict";jdr();i(Pve,"isArrayLike")});function zdr(t){return t==="__proto__"}var Udr=ie(()=>{"use strict";i(zdr,"isUnsafeProperty")});function _L(t){return t==null||typeof t!="object"&&typeof t!="function"}var Mte=ie(()=>{"use strict";i(_L,"isPrimitive")});function Bve(t){return Object.getOwnPropertySymbols(t).filter(r=>Object.prototype.propertyIsEnumerable.call(t,r))}var LXe=ie(()=>{"use strict";i(Bve,"getSymbols")});function oA(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}var Ite=ie(()=>{"use strict";i(oA,"getTag")});var Nte,ML,YN,KN,XN,Ote,Pte,Bte,Fte,Fve,$te,Sz,Gte,$ve,Gve,jve,zve,Uve,Vve,Hve,qve,Wve,Yve=ie(()=>{"use strict";Nte="[object RegExp]",ML="[object String]",YN="[object Number]",KN="[object Boolean]",XN="[object Arguments]",Ote="[object Symbol]",Pte="[object Date]",Bte="[object Map]",Fte="[object Set]",Fve="[object Array]",$te="[object ArrayBuffer]",Sz="[object Object]",Gte="[object DataView]",$ve="[object Uint8Array]",Gve="[object Uint8ClampedArray]",jve="[object Uint16Array]",zve="[object Uint32Array]",Uve="[object Int8Array]",Vve="[object Int16Array]",Hve="[object Int32Array]",qve="[object Float32Array]",Wve="[object Float64Array]"});function Az(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}var Kve=ie(()=>{"use strict";i(Az,"isTypedArray")});function Vdr(t,r){return Rz(t,void 0,t,new Map,r)}function Rz(t,r,a,o=new Map,l=void 0){let h=l?.(t,r,a,o);if(h!==void 0)return h;if(_L(t))return t;if(o.has(t))return o.get(t);if(Array.isArray(t)){let f=new Array(t.length);o.set(t,f);for(let p=0;p{"use strict";LXe();Ite();Yve();Mte();Kve();i(Vdr,"cloneDeepWith");i(Rz,"cloneDeepWithImpl");i(WT,"copyProperties");i(UDn,"isCloneableObject")});function qdr(t,r){return Vdr(t,(a,o,l,h)=>{let f=r?.(a,o,l,h);if(f!==void 0)return f;if(typeof t=="object"){if(oA(t)===Sz&&typeof t.constructor!="function"){let p={};return h.set(t,p),WT(p,t,l,h),p}switch(Object.prototype.toString.call(t)){case YN:case ML:case KN:{let p=new t.constructor(t?.valueOf());return WT(p,t),p}case XN:{let p={};return WT(p,t),p.length=t.length,p[Symbol.iterator]=t[Symbol.iterator],p}default:return}}})}var Wdr=ie(()=>{"use strict";Hdr();Ite();Yve();i(qdr,"cloneDeepWith")});function DXe(t){return qdr(t)}var Ydr=ie(()=>{"use strict";Wdr();i(DXe,"cloneDeep")});function jte(t){return t!==null&&typeof t=="object"&&oA(t)==="[object Arguments]"}var _Xe=ie(()=>{"use strict";Ite();i(jte,"isArguments")});function zte(t){return typeof t=="object"&&t!==null}var MXe=ie(()=>{"use strict";i(zte,"isObjectLike")});function Kdr(t){return zte(t)&&Pve(t)}var Xdr=ie(()=>{"use strict";RXe();MXe();i(Kdr,"isArrayLikeObject")});function Qdr(t){return Array.isArray(t)}var Jdr=ie(()=>{"use strict";i(Qdr,"isArray")});function QN(t,r){if(typeof t!="function"||r!=null&&typeof r!="function")throw new TypeError("Expected a function");let a=i(function(...l){let h=r?r.apply(this,l):l[0],f=a.cache;if(f.has(h))return f.get(h);let p=t.apply(this,l);return a.cache=f.set(h,p)||f,p},"memoized"),o=QN.Cache||Map;return a.cache=new o,a}var Zdr=ie(()=>{"use strict";i(QN,"memoize");QN.Cache=Map});function epr(){}var tpr=ie(()=>{"use strict";i(epr,"noop")});function rpr(t){let r=t?.constructor,a=typeof r=="function"?r.prototype:Object.prototype;return t===a}var npr=ie(()=>{"use strict";i(rpr,"isPrototype")});function IL(t){return Az(t)}var Xve=ie(()=>{"use strict";Kve();i(IL,"isTypedArray")});function NXe(t){if(_L(t))return t;let r=oA(t);if(!VDn(t))return{};if(Qdr(t)){let o=Array.from(t);return t.length>0&&typeof t[0]=="string"&&Object.hasOwn(t,"index")&&(o.index=t.index,o.input=t.input),o}if(IL(t)){let o=t,l=o.constructor;return new l(o.buffer,o.byteOffset,o.length)}if(r===$te)return new ArrayBuffer(t.byteLength);if(r===Gte){let o=t,l=o.buffer,h=o.byteOffset,f=o.byteLength,p=new ArrayBuffer(f),m=new Uint8Array(l,h,f);return new Uint8Array(p).set(m),new DataView(p)}if(r===KN||r===YN||r===ML){let o=t.constructor,l=new o(t.valueOf());return r===ML?qDn(l,t):IXe(l,t),l}if(r===Pte)return new Date(Number(t));if(r===Nte){let o=t,l=new RegExp(o.source,o.flags);return l.lastIndex=o.lastIndex,l}if(r===Ote)return Object(Symbol.prototype.valueOf.call(t));if(r===Bte){let o=t,l=new Map;return o.forEach((h,f)=>{l.set(f,h)}),l}if(r===Fte){let o=t,l=new Set;return o.forEach(h=>{l.add(h)}),l}if(r===XN){let o=t,l={};return IXe(l,o),l.length=o.length,l[Symbol.iterator]=o[Symbol.iterator],l}let a={};return WDn(a,t),IXe(a,t),HDn(a,t),a}function VDn(t){switch(oA(t)){case XN:case Fve:case $te:case Gte:case KN:case Pte:case qve:case Wve:case Uve:case Vve:case Hve:case Bte:case YN:case Sz:case Nte:case Fte:case ML:case Ote:case $ve:case Gve:case jve:case zve:return!0;default:return!1}}function IXe(t,r){for(let a in r)Object.hasOwn(r,a)&&(t[a]=r[a])}function HDn(t,r){let a=Object.getOwnPropertySymbols(r);for(let o=0;o=a)&&(t[o]=r[o])}function WDn(t,r){let a=Object.getPrototypeOf(r);a!==null&&typeof r.constructor=="function"&&Object.setPrototypeOf(t,a)}var ipr=ie(()=>{"use strict";Mte();Ite();Yve();Jdr();Xve();i(NXe,"clone");i(VDn,"isCloneableObject");i(IXe,"copyOwnProperties");i(HDn,"copySymbolProperties");i(qDn,"cloneStringObjectProperties");i(WDn,"copyPrototype")});function Qve(t){if(typeof t!="object"||t==null)return!1;if(Object.getPrototypeOf(t)===null)return!0;if(Object.prototype.toString.call(t)!=="[object Object]"){let a=t[Symbol.toStringTag];return a==null||!Object.getOwnPropertyDescriptor(t,Symbol.toStringTag)?.writable?!1:t.toString()===`[object ${a}]`}let r=t;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(t)===r}var apr=ie(()=>{"use strict";i(Qve,"isPlainObject")});function spr(t){if(_L(t))return t;if(Array.isArray(t)||Az(t)||t instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&t instanceof SharedArrayBuffer)return t.slice(0);let r=Object.getPrototypeOf(t);if(r==null)return Object.assign(Object.create(r),t);let a=r.constructor;if(t instanceof Date||t instanceof Map||t instanceof Set)return new a(t);if(t instanceof RegExp){let o=new a(t);return o.lastIndex=t.lastIndex,o}if(t instanceof DataView)return new a(t.buffer.slice(0));if(t instanceof Error){let o;return t instanceof AggregateError?o=new a(t.errors,t.message,{cause:t.cause}):o=new a(t.message,{cause:t.cause}),o.stack=t.stack,Object.assign(o,t),o}if(typeof File<"u"&&t instanceof File)return new a([t],t.name,{type:t.type,lastModified:t.lastModified});if(typeof t=="object"){let o=Object.create(r);return Object.assign(o,t)}return t}var opr=ie(()=>{"use strict";Mte();Kve();i(spr,"clone")});function lpr(t,...r){let a=r.slice(0,-1),o=r[r.length-1],l=t;for(let h=0;h{"use strict";Ydr();Udr();opr();Mte();LXe();_Xe();Xdr();MXe();apr();Xve();i(lpr,"mergeWith");i(Jve,"mergeWithDeep")});function OXe(t,...r){return lpr(t,...r,epr)}var upr=ie(()=>{"use strict";cpr();tpr();i(OXe,"merge")});function Zve(t){if(t==null)return!0;if(Pve(t))return typeof t.splice!="function"&&typeof t!="string"&&(typeof Buffer>"u"||!Buffer.isBuffer(t))&&!IL(t)&&!jte(t)?!1:t.length===0;if(typeof t=="object"){if(t instanceof Map||t instanceof Set)return t.size===0;let r=Object.keys(t);return rpr(t)?r.filter(a=>a!=="constructor").length===0:r.length===0}return!0}var hpr=ie(()=>{"use strict";_Xe();RXe();Xve();npr();i(Zve,"isEmpty")});var e2e=ie(()=>{"use strict";Zdr();ipr();upr();hpr()});function FXe(t,r){if(!t)return r;let a=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return YDn[a]??r}function JDn(t,r){let a=t.trim();if(a)return r.securityLevel!=="loose"?(0,ppr.sanitizeUrl)(a):a}function ypr(t,r){return!t||!r?0:Math.sqrt(Math.pow(r.x-t.x,2)+Math.pow(r.y-t.y,2))}function e_n(t){let r,a=0;t.forEach(l=>{a+=ypr(l,r),r=l});let o=a/2;return $Xe(t,o)}function t_n(t){return t.length===1?t[0]:e_n(t)}function n_n(t,r,a){let o=structuredClone(a);Pe.info("our points",o),r!=="start_left"&&r!=="start_right"&&o.reverse();let l=25+t,h=$Xe(o,l),f=10+t*.5,p=Math.atan2(o[0].y-h.y,o[0].x-h.x),m={x:0,y:0};return r==="start_left"?(m.x=Math.sin(p+Math.PI)*f+(o[0].x+h.x)/2,m.y=-Math.cos(p+Math.PI)*f+(o[0].y+h.y)/2):r==="end_right"?(m.x=Math.sin(p-Math.PI)*f+(o[0].x+h.x)/2,m.y=-Math.cos(p-Math.PI)*f+(o[0].y+h.y)/2):(m.x=Math.sin(p)*f+(o[0].x+h.x)/2,m.y=-Math.cos(p)*f+(o[0].y+h.y)/2),m}function GXe(t){let r="",a="";for(let o of t)o!==void 0&&(o.startsWith("color:")||o.startsWith("text-align:")?a=a+o+";":r=r+o+";");return{style:r,labelStyle:a}}function i_n(t){let r="",a="0123456789abcdef",o=a.length;for(let l=0;lMath.round(parseFloat(h)).toString());return l.includes(a.toString())||l.includes(o.toString())}var ppr,BXe,YDn,KDn,XDn,gpr,mpr,QDn,ZDn,fpr,$Xe,r_n,dpr,jXe,zXe,a_n,s_n,JN,o_n,Ute,PXe,t2e,l_n,c_n,Tb,Ya,vpr,Xv,Qv,Ia=ie(()=>{"use strict";ppr=qv(Pee(),1);Yo();rl();Eye();Xn();gL();Pj();e2e();hbe();BXe="\u200B",YDn={curveBasis:qN,curveBasisClosed:kve,curveBasisOpen:Cve,curveBumpX:yte,curveBumpY:bte,curveBundle:mXe,curveCardinalClosed:yXe,curveCardinalOpen:vXe,curveCardinal:Tte,curveCatmullRomClosed:xXe,curveCatmullRomOpen:TXe,curveCatmullRom:Ete,curveLinear:qT,curveLinearClosed:Lve,curveMonotoneX:Ste,curveMonotoneY:Ate,curveNatural:Cz,curveStep:Ez,curveStepAfter:Lte,curveStepBefore:Rte},KDn=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,XDn=i(function(t,r){let a=gpr(t,/(?:init\b)|(?:initialize\b)/),o={};if(Array.isArray(a)){let f=a.map(p=>p.args);Fj(f),o=Fh(o,[...f])}else o=a.args;if(!o)return;let l=pL(t,r),h="config";return o[h]!==void 0&&(l==="flowchart-v2"&&(l="flowchart"),o[l]=o[h],delete o[h]),o},"detectInit"),gpr=i(function(t,r=null){try{let a=new RegExp(`[%]{2}(?![{]${KDn.source})(?=[}][%]{2}).* +`,"ig");t=t.trim().replace(a,"").replace(/'/gm,'"'),Pe.debug(`Detecting diagram directive${r!==null?" type:"+r:""} based on the text:${t}`);let o,l=[];for(;(o=CN.exec(t))!==null;)if(o.index===CN.lastIndex&&CN.lastIndex++,o&&!r||r&&o[1]?.match(r)||r&&o[2]?.match(r)){let h=o[1]?o[1]:o[2],f=o[3]?o[3].trim():o[4]?JSON.parse(o[4].trim()):null;l.push({type:h,args:f})}return l.length===0?{type:t,args:null}:l.length===1?l[0]:l}catch(a){return Pe.error(`ERROR: ${a.message} - Unable to parse directive type: '${r}' based on the text: '${t}'`),{type:void 0,args:null}}},"detectDirective"),mpr=i(function(t){return t.replace(CN,"")},"removeDirectives"),QDn=i(function(t,r){for(let[a,o]of r.entries())if(o.match(t))return a;return-1},"isSubstringInArray");i(FXe,"interpolateToCurve");i(JDn,"formatUrl");ZDn=i((t,...r)=>{let a=t.split("."),o=a.length-1,l=a[o],h=window;for(let f=0;f{let a=Math.pow(10,r);return Math.round(t*a)/a},"roundNumber"),$Xe=i((t,r)=>{let a,o=r;for(let l of t){if(a){let h=ypr(l,a);if(h===0)return a;if(h=1)return{x:l.x,y:l.y};if(f>0&&f<1)return{x:fpr((1-f)*a.x+f*l.x,5),y:fpr((1-f)*a.y+f*l.y,5)}}}a=l}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),r_n=i((t,r,a)=>{Pe.info(`our points ${JSON.stringify(r)}`),r[0]!==a&&(r=r.reverse());let l=$Xe(r,25),h=t?10:5,f=Math.atan2(r[0].y-l.y,r[0].x-l.x),p={x:0,y:0};return p.x=Math.sin(f)*h+(r[0].x+l.x)/2,p.y=-Math.cos(f)*h+(r[0].y+l.y)/2,p},"calcCardinalityPosition");i(n_n,"calcTerminalLabelPosition");i(GXe,"getStylesFromArray");dpr=0,jXe=i(()=>(dpr++,"id-"+Math.random().toString(36).substr(2,12)+"-"+dpr),"generateId");i(i_n,"makeRandomHex");zXe=i(t=>i_n(t.length),"random"),a_n=i(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"),s_n=i(function(t,r){let a=r.text.replace(Wn.lineBreakRegex," "),[,o]=Tb(r.fontSize),l=t.append("text");l.attr("x",r.x),l.attr("y",r.y),l.style("text-anchor",r.anchor),l.style("font-family",r.fontFamily),l.style("font-size",o),l.style("font-weight",r.fontWeight),l.attr("fill",r.fill),r.class!==void 0&&l.attr("class",r.class);let h=l.append("tspan");return h.attr("x",r.x+r.textMargin*2),h.attr("fill",r.fill),h.text(a),l},"drawSimpleText"),JN=QN((t,r,a)=>{if(!t||(a=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
"},a),Wn.hasBreaks(t)))return t;let o=t.split(" ").filter(Boolean),l=[],h="";return o.forEach((f,p)=>{let m=c1(`${f} `,a),b=c1(h,a);if(m>r){let{hyphenatedStrings:C,remainingWord:E}=o_n(f,r,"-",a);l.push(h,...C),h=E}else b+m>=r?(l.push(h),h=f):h=[h,f].filter(Boolean).join(" ");p+1===o.length&&l.push(h)}),l.filter(f=>f!=="").join(a.joinWith)},(t,r,a)=>`${t}${r}${a.fontSize}${a.fontWeight}${a.fontFamily}${a.joinWith}`),o_n=QN((t,r,a="-",o)=>{o=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},o);let l=[...t],h=[],f="";return l.forEach((p,m)=>{let b=`${f}${p}`;if(c1(b,o)>=r){let T=m+1,C=l.length===T,E=`${b}${a}`;h.push(C?b:E),f=""}else f=b}),{hyphenatedStrings:h,remainingWord:f}},(t,r,a="-",o)=>`${t}${r}${a}${o.fontSize}${o.fontWeight}${o.fontFamily}`);i(r2e,"calculateTextHeight");i(c1,"calculateTextWidth");Ute=QN((t,r)=>{let{fontSize:a=12,fontFamily:o="Arial",fontWeight:l=400}=r;if(!t)return{width:0,height:0};let[,h]=Tb(a),f=["sans-serif",o],p=t.split(Wn.lineBreakRegex),m=[],b=dn("body");if(!b.remove)return{width:0,height:0,lineHeight:0};let v=b.append("svg");for(let C of f){let E=0,S={width:0,height:0,lineHeight:0};for(let R of p){let L=a_n();L.text=R||BXe;let _=s_n(v,L).style("font-size",h).style("font-weight",l).style("font-family",C),M=(_._groups||_)[0][0].getBBox();if(M.width===0&&M.height===0)throw new Error("svg element not in render tree");S.width=Math.round(Math.max(S.width,M.width)),E=Math.round(M.height),S.height+=E,S.lineHeight=Math.round(Math.max(S.lineHeight,E))}m.push(S)}v.remove();let T=isNaN(m[1].height)||isNaN(m[1].width)||isNaN(m[1].lineHeight)||m[0].height>m[1].height&&m[0].width>m[1].width&&m[0].lineHeight>m[1].lineHeight?0:1;return m[T]},(t,r)=>`${t}${r.fontSize}${r.fontWeight}${r.fontFamily}`),PXe=class{constructor(r=!1,a){this.count=0;this.count=a?a.length:0,this.next=r?()=>this.count++:()=>Date.now()}static{i(this,"InitIDGenerator")}},l_n=i(function(t){return t2e=t2e||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),t2e.innerHTML=t,unescape(t2e.textContent)},"entityDecode");i(UXe,"isDetailedError");i(bpr,"getErrorMessage");c_n=i((t,r,a,o)=>{if(!o)return;let l=t.node()?.getBBox();l&&t.append("text").text(o).attr("text-anchor","middle").attr("x",l.x+l.width/2).attr("y",-a).attr("class",r)},"insertTitle"),Tb=i(t=>{if(typeof t=="number")return[t,t+"px"];let r=parseInt(t??"",10);return Number.isNaN(r)?[void 0,void 0]:t===String(r)?[r,t+"px"]:[r,t]},"parseFontSize");i(nl,"cleanAndMerge");Ya={assignWithDepth:Fh,wrapLabel:JN,calculateTextHeight:r2e,calculateTextWidth:c1,calculateTextDimensions:Ute,cleanAndMerge:nl,detectInit:XDn,detectDirective:gpr,isSubstringInArray:QDn,interpolateToCurve:FXe,calcLabelPosition:t_n,calcCardinalityPosition:r_n,calcTerminalLabelPosition:n_n,formatUrl:JDn,getStylesFromArray:GXe,generateId:jXe,random:zXe,runFunc:ZDn,entityDecode:l_n,insertTitle:c_n,isLabelCoordinateInPath:u_n,parseFontSize:Tb,InitIDGenerator:PXe},vpr=i(function(t){let r=t;return r=r.replace(/style.*:\S*#.*;/g,function(a){return a.substring(0,a.length-1)}),r=r.replace(/classDef.*:\S*#.*;/g,function(a){return a.substring(0,a.length-1)}),r=r.replace(/#\w+;/g,function(a){let o=a.substring(1,a.length-1);return/^\+?\d+$/.test(o)?"\uFB02\xB0\xB0"+o+"\xB6\xDF":"\uFB02\xB0"+o+"\xB6\xDF"}),r},"encodeEntities"),Xv=i(function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),Qv=i((t,r,{counter:a=0,prefix:o,suffix:l},h)=>h||`${o?`${o}_`:""}${t}_${r}_${a}${l?`_${l}`:""}`,"getEdgeId");i(Ac,"handleUndefinedAttr");i(u_n,"isLabelCoordinateInPath")});var wpr,xpr=ie(()=>{"use strict";Yo();wpr=i((t,r)=>{if(r==="sandbox"){let o=dn("#i"+t).node()?.contentDocument;if(!o)throw new Error(`Sandbox iframe #i${t} is missing its content document`);return{root:dn(o.body),doc:o}}return{root:dn("body"),doc:document}},"getDiagramRoot")});var npa,Lz=ie(()=>{"use strict";npa=typeof performance<"u"&&typeof performance.now=="function";globalThis.injected??={includeLargeFeatures:!0,profiling:!1,version:"0.0.0"}});function WXe(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}function Apr(t){eO=t}function $u(t,r=""){let a=typeof t=="string"?t:t.source,o={replace:i((l,h)=>{let f=typeof h=="string"?h:h.source;return f=f.replace(kb.caret,"$1"),a=a.replace(l,f),o},"replace"),getRegex:i(()=>new RegExp(a,r),"getRegex")};return o}function KE(t,r){if(r){if(kb.escapeTest.test(t))return t.replace(kb.escapeReplace,kpr)}else if(kb.escapeTestNoEncode.test(t))return t.replace(kb.escapeReplaceNoEncode,kpr);return t}function Cpr(t){try{t=encodeURI(t).replace(kb.percentDecode,"%")}catch{return null}return t}function Epr(t,r){let a=t.replace(kb.findPipe,(h,f,p)=>{let m=!1,b=f;for(;--b>=0&&p[b]==="\\";)m=!m;return m?"|":" |"}),o=a.split(kb.splitPipe),l=0;if(o[0].trim()||o.shift(),o.length>0&&!o.at(-1)?.trim()&&o.pop(),r)if(o.length>r)o.splice(r);else for(;o.length0?-2:-1}function Spr(t,r,a,o,l){let h=r.href,f=r.title||null,p=t[1].replace(l.other.outputLinkReplace,"$1");o.state.inLink=!0;let m={type:t[0].charAt(0)==="!"?"image":"link",raw:a,href:h,title:f,text:p,tokens:o.inlineTokens(p)};return o.state.inLink=!1,m}function H_n(t,r,a){let o=t.match(a.other.indentCodeCompensation);if(o===null)return r;let l=o[1];return r.split(` +`).map(h=>{let f=h.match(a.other.beginningSpace);if(f===null)return h;let[p]=f;return p.length>=l.length?h.slice(l.length):h}).join(` +`)}function Tu(t,r){return ZN.parse(t,r)}var eO,Wte,kb,h_n,f_n,d_n,Yte,p_n,YXe,Rpr,Lpr,g_n,KXe,m_n,XXe,y_n,b_n,o2e,QXe,v_n,Dpr,w_n,JXe,Tpr,x_n,T_n,k_n,C_n,_pr,E_n,l2e,ZXe,Mpr,S_n,Ipr,A_n,R_n,L_n,Npr,D_n,__n,Opr,M_n,I_n,N_n,O_n,P_n,B_n,F_n,i2e,$_n,Ppr,Bpr,G_n,eQe,j_n,VXe,z_n,n2e,Vte,U_n,kpr,a2e,lA,s2e,tQe,cA,qte,q_n,ZN,spa,opa,lpa,cpa,upa,hpa,fpa,Fpr=ie(()=>{"use strict";i(WXe,"L");eO=WXe();i(Apr,"G");Wte={exec:i(()=>null,"exec")};i($u,"h");kb={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:i(t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),"listItemRegex"),nextBulletRegex:i(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),"nextBulletRegex"),hrRegex:i(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),"hrRegex"),fencesBeginRegex:i(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),"fencesBeginRegex"),headingBeginRegex:i(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),"headingBeginRegex"),htmlBeginRegex:i(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i"),"htmlBeginRegex")},h_n=/^(?:[ \t]*(?:\n|$))+/,f_n=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,d_n=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Yte=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,p_n=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,YXe=/(?:[*+-]|\d{1,9}[.)])/,Rpr=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Lpr=$u(Rpr).replace(/bull/g,YXe).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),g_n=$u(Rpr).replace(/bull/g,YXe).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),KXe=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,m_n=/^[^\n]+/,XXe=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,y_n=$u(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",XXe).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),b_n=$u(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,YXe).getRegex(),o2e="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",QXe=/|$))/,v_n=$u("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",QXe).replace("tag",o2e).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Dpr=$u(KXe).replace("hr",Yte).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",o2e).getRegex(),w_n=$u(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Dpr).getRegex(),JXe={blockquote:w_n,code:f_n,def:y_n,fences:d_n,heading:p_n,hr:Yte,html:v_n,lheading:Lpr,list:b_n,newline:h_n,paragraph:Dpr,table:Wte,text:m_n},Tpr=$u("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Yte).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",o2e).getRegex(),x_n={...JXe,lheading:g_n,table:Tpr,paragraph:$u(KXe).replace("hr",Yte).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Tpr).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",o2e).getRegex()},T_n={...JXe,html:$u(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",QXe).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Wte,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:$u(KXe).replace("hr",Yte).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",Lpr).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},k_n=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,C_n=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,_pr=/^( {2,}|\\)\n(?!\s*$)/,E_n=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,Npr=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,D_n=$u(Npr,"u").replace(/punct/g,l2e).getRegex(),__n=$u(Npr,"u").replace(/punct/g,Ipr).getRegex(),Opr="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",M_n=$u(Opr,"gu").replace(/notPunctSpace/g,Mpr).replace(/punctSpace/g,ZXe).replace(/punct/g,l2e).getRegex(),I_n=$u(Opr,"gu").replace(/notPunctSpace/g,R_n).replace(/punctSpace/g,A_n).replace(/punct/g,Ipr).getRegex(),N_n=$u("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Mpr).replace(/punctSpace/g,ZXe).replace(/punct/g,l2e).getRegex(),O_n=$u(/\\(punct)/,"gu").replace(/punct/g,l2e).getRegex(),P_n=$u(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),B_n=$u(QXe).replace("(?:-->|$)","-->").getRegex(),F_n=$u("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",B_n).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),i2e=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/,$_n=$u(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",i2e).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Ppr=$u(/^!?\[(label)\]\[(ref)\]/).replace("label",i2e).replace("ref",XXe).getRegex(),Bpr=$u(/^!?\[(ref)\](?:\[\])?/).replace("ref",XXe).getRegex(),G_n=$u("reflink|nolink(?!\\()","g").replace("reflink",Ppr).replace("nolink",Bpr).getRegex(),eQe={_backpedal:Wte,anyPunctuation:O_n,autolink:P_n,blockSkip:L_n,br:_pr,code:C_n,del:Wte,emStrongLDelim:D_n,emStrongRDelimAst:M_n,emStrongRDelimUnd:N_n,escape:k_n,link:$_n,nolink:Bpr,punctuation:S_n,reflink:Ppr,reflinkSearch:G_n,tag:F_n,text:E_n,url:Wte},j_n={...eQe,link:$u(/^!?\[(label)\]\((.*?)\)/).replace("label",i2e).getRegex(),reflink:$u(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",i2e).getRegex()},VXe={...eQe,emStrongRDelimAst:I_n,emStrongLDelim:__n,url:$u(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},kpr=i(t=>U_n[t],"ke");i(KE,"w");i(Cpr,"J");i(Epr,"V");i(Hte,"z");i(V_n,"ge");i(Spr,"fe");i(H_n,"Je");a2e=class{static{i(this,"y")}options;rules;lexer;constructor(t){this.options=t||eO}space(t){let r=this.rules.block.newline.exec(t);if(r&&r[0].length>0)return{type:"space",raw:r[0]}}code(t){let r=this.rules.block.code.exec(t);if(r){let a=r[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:r[0],codeBlockStyle:"indented",text:this.options.pedantic?a:Hte(a,` +`)}}}fences(t){let r=this.rules.block.fences.exec(t);if(r){let a=r[0],o=H_n(a,r[3]||"",this.rules);return{type:"code",raw:a,lang:r[2]?r[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):r[2],text:o}}}heading(t){let r=this.rules.block.heading.exec(t);if(r){let a=r[2].trim();if(this.rules.other.endingHash.test(a)){let o=Hte(a,"#");(this.options.pedantic||!o||this.rules.other.endingSpaceChar.test(o))&&(a=o.trim())}return{type:"heading",raw:r[0],depth:r[1].length,text:a,tokens:this.lexer.inline(a)}}}hr(t){let r=this.rules.block.hr.exec(t);if(r)return{type:"hr",raw:Hte(r[0],` +`)}}blockquote(t){let r=this.rules.block.blockquote.exec(t);if(r){let a=Hte(r[0],` +`).split(` +`),o="",l="",h=[];for(;a.length>0;){let f=!1,p=[],m;for(m=0;m1,l={type:"list",raw:"",ordered:o,start:o?+a.slice(0,-1):"",loose:!1,items:[]};a=o?`\\d{1,9}\\${a.slice(-1)}`:`\\${a}`,this.options.pedantic&&(a=o?a:"[*+-]");let h=this.rules.other.listItemRegex(a),f=!1;for(;t;){let m=!1,b="",v="";if(!(r=h.exec(t))||this.rules.block.hr.test(t))break;b=r[0],t=t.substring(b.length);let T=r[2].split(` +`,1)[0].replace(this.rules.other.listReplaceTabs,_=>" ".repeat(3*_.length)),C=t.split(` +`,1)[0],E=!T.trim(),S=0;if(this.options.pedantic?(S=2,v=T.trimStart()):E?S=r[1].length+1:(S=r[2].search(this.rules.other.nonSpaceChar),S=S>4?1:S,v=T.slice(S),S+=r[1].length),E&&this.rules.other.blankLine.test(C)&&(b+=C+` +`,t=t.substring(C.length+1),m=!0),!m){let _=this.rules.other.nextBulletRegex(S),M=this.rules.other.hrRegex(S),I=this.rules.other.fencesBeginRegex(S),F=this.rules.other.headingBeginRegex(S),O=this.rules.other.htmlBeginRegex(S);for(;t;){let P=t.split(` +`,1)[0],G;if(C=P,this.options.pedantic?(C=C.replace(this.rules.other.listReplaceNesting," "),G=C):G=C.replace(this.rules.other.tabCharGlobal," "),I.test(C)||F.test(C)||O.test(C)||_.test(C)||M.test(C))break;if(G.search(this.rules.other.nonSpaceChar)>=S||!C.trim())v+=` +`+G.slice(S);else{if(E||T.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||I.test(T)||F.test(T)||M.test(T))break;v+=` +`+C}!E&&!C.trim()&&(E=!0),b+=P+` +`,t=t.substring(P.length+1),T=G.slice(S)}}l.loose||(f?l.loose=!0:this.rules.other.doubleBlankLine.test(b)&&(f=!0));let R=null,L;this.options.gfm&&(R=this.rules.other.listIsTask.exec(v),R&&(L=R[0]!=="[ ] ",v=v.replace(this.rules.other.listReplaceTask,""))),l.items.push({type:"list_item",raw:b,task:!!R,checked:L,loose:!1,text:v,tokens:[]}),l.raw+=b}let p=l.items.at(-1);if(p)p.raw=p.raw.trimEnd(),p.text=p.text.trimEnd();else return;l.raw=l.raw.trimEnd();for(let m=0;mT.type==="space"),v=b.length>0&&b.some(T=>this.rules.other.anyLine.test(T.raw));l.loose=v}if(l.loose)for(let m=0;m({text:p,tokens:this.lexer.inline(p),header:!1,align:h.align[m]})));return h}}lheading(t){let r=this.rules.block.lheading.exec(t);if(r)return{type:"heading",raw:r[0],depth:r[2].charAt(0)==="="?1:2,text:r[1],tokens:this.lexer.inline(r[1])}}paragraph(t){let r=this.rules.block.paragraph.exec(t);if(r){let a=r[1].charAt(r[1].length-1)===` +`?r[1].slice(0,-1):r[1];return{type:"paragraph",raw:r[0],text:a,tokens:this.lexer.inline(a)}}}text(t){let r=this.rules.block.text.exec(t);if(r)return{type:"text",raw:r[0],text:r[0],tokens:this.lexer.inline(r[0])}}escape(t){let r=this.rules.inline.escape.exec(t);if(r)return{type:"escape",raw:r[0],text:r[1]}}tag(t){let r=this.rules.inline.tag.exec(t);if(r)return!this.lexer.state.inLink&&this.rules.other.startATag.test(r[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(r[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(r[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(r[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:r[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:r[0]}}link(t){let r=this.rules.inline.link.exec(t);if(r){let a=r[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(a)){if(!this.rules.other.endAngleBracket.test(a))return;let h=Hte(a.slice(0,-1),"\\");if((a.length-h.length)%2===0)return}else{let h=V_n(r[2],"()");if(h===-2)return;if(h>-1){let f=(r[0].indexOf("!")===0?5:4)+r[1].length+h;r[2]=r[2].substring(0,h),r[0]=r[0].substring(0,f).trim(),r[3]=""}}let o=r[2],l="";if(this.options.pedantic){let h=this.rules.other.pedanticHrefTitle.exec(o);h&&(o=h[1],l=h[3])}else l=r[3]?r[3].slice(1,-1):"";return o=o.trim(),this.rules.other.startAngleBracket.test(o)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(a)?o=o.slice(1):o=o.slice(1,-1)),Spr(r,{href:o&&o.replace(this.rules.inline.anyPunctuation,"$1"),title:l&&l.replace(this.rules.inline.anyPunctuation,"$1")},r[0],this.lexer,this.rules)}}reflink(t,r){let a;if((a=this.rules.inline.reflink.exec(t))||(a=this.rules.inline.nolink.exec(t))){let o=(a[2]||a[1]).replace(this.rules.other.multipleSpaceGlobal," "),l=r[o.toLowerCase()];if(!l){let h=a[0].charAt(0);return{type:"text",raw:h,text:h}}return Spr(a,l,a[0],this.lexer,this.rules)}}emStrong(t,r,a=""){let o=this.rules.inline.emStrongLDelim.exec(t);if(!(!o||o[3]&&a.match(this.rules.other.unicodeAlphaNumeric))&&(!(o[1]||o[2])||!a||this.rules.inline.punctuation.exec(a))){let l=[...o[0]].length-1,h,f,p=l,m=0,b=o[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(b.lastIndex=0,r=r.slice(-1*t.length+l);(o=b.exec(r))!=null;){if(h=o[1]||o[2]||o[3]||o[4]||o[5]||o[6],!h)continue;if(f=[...h].length,o[3]||o[4]){p+=f;continue}else if((o[5]||o[6])&&l%3&&!((l+f)%3)){m+=f;continue}if(p-=f,p>0)continue;f=Math.min(f,f+p+m);let v=[...o[0]][0].length,T=t.slice(0,l+o.index+v+f);if(Math.min(l,f)%2){let E=T.slice(1,-1);return{type:"em",raw:T,text:E,tokens:this.lexer.inlineTokens(E)}}let C=T.slice(2,-2);return{type:"strong",raw:T,text:C,tokens:this.lexer.inlineTokens(C)}}}}codespan(t){let r=this.rules.inline.code.exec(t);if(r){let a=r[2].replace(this.rules.other.newLineCharGlobal," "),o=this.rules.other.nonSpaceChar.test(a),l=this.rules.other.startingSpaceChar.test(a)&&this.rules.other.endingSpaceChar.test(a);return o&&l&&(a=a.substring(1,a.length-1)),{type:"codespan",raw:r[0],text:a}}}br(t){let r=this.rules.inline.br.exec(t);if(r)return{type:"br",raw:r[0]}}del(t){let r=this.rules.inline.del.exec(t);if(r)return{type:"del",raw:r[0],text:r[2],tokens:this.lexer.inlineTokens(r[2])}}autolink(t){let r=this.rules.inline.autolink.exec(t);if(r){let a,o;return r[2]==="@"?(a=r[1],o="mailto:"+a):(a=r[1],o=a),{type:"link",raw:r[0],text:a,href:o,tokens:[{type:"text",raw:a,text:a}]}}}url(t){let r;if(r=this.rules.inline.url.exec(t)){let a,o;if(r[2]==="@")a=r[0],o="mailto:"+a;else{let l;do l=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])?.[0]??"";while(l!==r[0]);a=r[0],r[1]==="www."?o="http://"+r[0]:o=r[0]}return{type:"link",raw:r[0],text:a,href:o,tokens:[{type:"text",raw:a,text:a}]}}}inlineText(t){let r=this.rules.inline.text.exec(t);if(r){let a=this.lexer.state.inRawBlock;return{type:"text",raw:r[0],text:r[0],escaped:a}}}},lA=class HXe{static{i(this,"l")}tokens;options;state;tokenizer;inlineQueue;constructor(r){this.tokens=[],this.tokens.links=Object.create(null),this.options=r||eO,this.options.tokenizer=this.options.tokenizer||new a2e,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let a={other:kb,block:n2e.normal,inline:Vte.normal};this.options.pedantic?(a.block=n2e.pedantic,a.inline=Vte.pedantic):this.options.gfm&&(a.block=n2e.gfm,this.options.breaks?a.inline=Vte.breaks:a.inline=Vte.gfm),this.tokenizer.rules=a}static get rules(){return{block:n2e,inline:Vte}}static lex(r,a){return new HXe(a).lex(r)}static lexInline(r,a){return new HXe(a).inlineTokens(r)}lex(r){r=r.replace(kb.carriageReturn,` +`),this.blockTokens(r,this.tokens);for(let a=0;a(l=f.call({lexer:this},r,a))?(r=r.substring(l.raw.length),a.push(l),!0):!1))continue;if(l=this.tokenizer.space(r)){r=r.substring(l.raw.length);let f=a.at(-1);l.raw.length===1&&f!==void 0?f.raw+=` +`:a.push(l);continue}if(l=this.tokenizer.code(r)){r=r.substring(l.raw.length);let f=a.at(-1);f?.type==="paragraph"||f?.type==="text"?(f.raw+=(f.raw.endsWith(` +`)?"":` +`)+l.raw,f.text+=` +`+l.text,this.inlineQueue.at(-1).src=f.text):a.push(l);continue}if(l=this.tokenizer.fences(r)){r=r.substring(l.raw.length),a.push(l);continue}if(l=this.tokenizer.heading(r)){r=r.substring(l.raw.length),a.push(l);continue}if(l=this.tokenizer.hr(r)){r=r.substring(l.raw.length),a.push(l);continue}if(l=this.tokenizer.blockquote(r)){r=r.substring(l.raw.length),a.push(l);continue}if(l=this.tokenizer.list(r)){r=r.substring(l.raw.length),a.push(l);continue}if(l=this.tokenizer.html(r)){r=r.substring(l.raw.length),a.push(l);continue}if(l=this.tokenizer.def(r)){r=r.substring(l.raw.length);let f=a.at(-1);f?.type==="paragraph"||f?.type==="text"?(f.raw+=(f.raw.endsWith(` +`)?"":` +`)+l.raw,f.text+=` +`+l.raw,this.inlineQueue.at(-1).src=f.text):this.tokens.links[l.tag]||(this.tokens.links[l.tag]={href:l.href,title:l.title},a.push(l));continue}if(l=this.tokenizer.table(r)){r=r.substring(l.raw.length),a.push(l);continue}if(l=this.tokenizer.lheading(r)){r=r.substring(l.raw.length),a.push(l);continue}let h=r;if(this.options.extensions?.startBlock){let f=1/0,p=r.slice(1),m;this.options.extensions.startBlock.forEach(b=>{m=b.call({lexer:this},p),typeof m=="number"&&m>=0&&(f=Math.min(f,m))}),f<1/0&&f>=0&&(h=r.substring(0,f+1))}if(this.state.top&&(l=this.tokenizer.paragraph(h))){let f=a.at(-1);o&&f?.type==="paragraph"?(f.raw+=(f.raw.endsWith(` +`)?"":` +`)+l.raw,f.text+=` +`+l.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=f.text):a.push(l),o=h.length!==r.length,r=r.substring(l.raw.length);continue}if(l=this.tokenizer.text(r)){r=r.substring(l.raw.length);let f=a.at(-1);f?.type==="text"?(f.raw+=(f.raw.endsWith(` +`)?"":` +`)+l.raw,f.text+=` +`+l.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=f.text):a.push(l);continue}if(r){let f="Infinite loop on byte: "+r.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return this.state.top=!0,a}inline(r,a=[]){return this.inlineQueue.push({src:r,tokens:a}),a}inlineTokens(r,a=[]){let o=r,l=null;if(this.tokens.links){let p=Object.keys(this.tokens.links);if(p.length>0)for(;(l=this.tokenizer.rules.inline.reflinkSearch.exec(o))!=null;)p.includes(l[0].slice(l[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,l.index)+"["+"a".repeat(l[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(l=this.tokenizer.rules.inline.anyPunctuation.exec(o))!=null;)o=o.slice(0,l.index)+"++"+o.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(l=this.tokenizer.rules.inline.blockSkip.exec(o))!=null;)o=o.slice(0,l.index)+"["+"a".repeat(l[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);o=this.options.hooks?.emStrongMask?.call({lexer:this},o)??o;let h=!1,f="";for(;r;){h||(f=""),h=!1;let p;if(this.options.extensions?.inline?.some(b=>(p=b.call({lexer:this},r,a))?(r=r.substring(p.raw.length),a.push(p),!0):!1))continue;if(p=this.tokenizer.escape(r)){r=r.substring(p.raw.length),a.push(p);continue}if(p=this.tokenizer.tag(r)){r=r.substring(p.raw.length),a.push(p);continue}if(p=this.tokenizer.link(r)){r=r.substring(p.raw.length),a.push(p);continue}if(p=this.tokenizer.reflink(r,this.tokens.links)){r=r.substring(p.raw.length);let b=a.at(-1);p.type==="text"&&b?.type==="text"?(b.raw+=p.raw,b.text+=p.text):a.push(p);continue}if(p=this.tokenizer.emStrong(r,o,f)){r=r.substring(p.raw.length),a.push(p);continue}if(p=this.tokenizer.codespan(r)){r=r.substring(p.raw.length),a.push(p);continue}if(p=this.tokenizer.br(r)){r=r.substring(p.raw.length),a.push(p);continue}if(p=this.tokenizer.del(r)){r=r.substring(p.raw.length),a.push(p);continue}if(p=this.tokenizer.autolink(r)){r=r.substring(p.raw.length),a.push(p);continue}if(!this.state.inLink&&(p=this.tokenizer.url(r))){r=r.substring(p.raw.length),a.push(p);continue}let m=r;if(this.options.extensions?.startInline){let b=1/0,v=r.slice(1),T;this.options.extensions.startInline.forEach(C=>{T=C.call({lexer:this},v),typeof T=="number"&&T>=0&&(b=Math.min(b,T))}),b<1/0&&b>=0&&(m=r.substring(0,b+1))}if(p=this.tokenizer.inlineText(m)){r=r.substring(p.raw.length),p.raw.slice(-1)!=="_"&&(f=p.raw.slice(-1)),h=!0;let b=a.at(-1);b?.type==="text"?(b.raw+=p.raw,b.text+=p.text):a.push(p);continue}if(r){let b="Infinite loop on byte: "+r.charCodeAt(0);if(this.options.silent){console.error(b);break}else throw new Error(b)}}return a}},s2e=class{static{i(this,"P")}options;parser;constructor(t){this.options=t||eO}space(t){return""}code({text:t,lang:r,escaped:a}){let o=(r||"").match(kb.notSpaceStart)?.[0],l=t.replace(kb.endingNewline,"")+` +`;return o?'
'+(a?l:KE(l,!0))+`
+`:"
"+(a?l:KE(l,!0))+`
+`}blockquote({tokens:t}){return`
+${this.parser.parse(t)}
+`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:r}){return`${this.parser.parseInline(t)} +`}hr(t){return`
+`}list(t){let r=t.ordered,a=t.start,o="";for(let f=0;f +`+o+" +`}listitem(t){let r="";if(t.task){let a=this.checkbox({checked:!!t.checked});t.loose?t.tokens[0]?.type==="paragraph"?(t.tokens[0].text=a+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=a+" "+KE(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:a+" ",text:a+" ",escaped:!0}):r+=a+" "}return r+=this.parser.parse(t.tokens,!!t.loose),`
  • ${r}
  • +`}checkbox({checked:t}){return"'}paragraph({tokens:t}){return`

    ${this.parser.parseInline(t)}

    +`}table(t){let r="",a="";for(let l=0;l${o}`),` + +`+r+` +`+o+`
    +`}tablerow({text:t}){return` +${t} +`}tablecell(t){let r=this.parser.parseInline(t.tokens),a=t.header?"th":"td";return(t.align?`<${a} align="${t.align}">`:`<${a}>`)+r+` +`}strong({tokens:t}){return`${this.parser.parseInline(t)}`}em({tokens:t}){return`${this.parser.parseInline(t)}`}codespan({text:t}){return`${KE(t,!0)}`}br(t){return"
    "}del({tokens:t}){return`${this.parser.parseInline(t)}`}link({href:t,title:r,tokens:a}){let o=this.parser.parseInline(a),l=Cpr(t);if(l===null)return o;t=l;let h='
    ",h}image({href:t,title:r,text:a,tokens:o}){o&&(a=this.parser.parseInline(o,this.parser.textRenderer));let l=Cpr(t);if(l===null)return KE(a);t=l;let h=`${a}{let f=l[h].flat(1/0);a=a.concat(this.walkTokens(f,r))}):l.tokens&&(a=a.concat(this.walkTokens(l.tokens,r)))}}return a}use(...t){let r=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(a=>{let o={...a};if(o.async=this.defaults.async||o.async||!1,a.extensions&&(a.extensions.forEach(l=>{if(!l.name)throw new Error("extension name required");if("renderer"in l){let h=r.renderers[l.name];h?r.renderers[l.name]=function(...f){let p=l.renderer.apply(this,f);return p===!1&&(p=h.apply(this,f)),p}:r.renderers[l.name]=l.renderer}if("tokenizer"in l){if(!l.level||l.level!=="block"&&l.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let h=r[l.level];h?h.unshift(l.tokenizer):r[l.level]=[l.tokenizer],l.start&&(l.level==="block"?r.startBlock?r.startBlock.push(l.start):r.startBlock=[l.start]:l.level==="inline"&&(r.startInline?r.startInline.push(l.start):r.startInline=[l.start]))}"childTokens"in l&&l.childTokens&&(r.childTokens[l.name]=l.childTokens)}),o.extensions=r),a.renderer){let l=this.defaults.renderer||new s2e(this.defaults);for(let h in a.renderer){if(!(h in l))throw new Error(`renderer '${h}' does not exist`);if(["options","parser"].includes(h))continue;let f=h,p=a.renderer[f],m=l[f];l[f]=(...b)=>{let v=p.apply(l,b);return v===!1&&(v=m.apply(l,b)),v||""}}o.renderer=l}if(a.tokenizer){let l=this.defaults.tokenizer||new a2e(this.defaults);for(let h in a.tokenizer){if(!(h in l))throw new Error(`tokenizer '${h}' does not exist`);if(["options","rules","lexer"].includes(h))continue;let f=h,p=a.tokenizer[f],m=l[f];l[f]=(...b)=>{let v=p.apply(l,b);return v===!1&&(v=m.apply(l,b)),v}}o.tokenizer=l}if(a.hooks){let l=this.defaults.hooks||new qte;for(let h in a.hooks){if(!(h in l))throw new Error(`hook '${h}' does not exist`);if(["options","block"].includes(h))continue;let f=h,p=a.hooks[f],m=l[f];qte.passThroughHooks.has(h)?l[f]=b=>{if(this.defaults.async&&qte.passThroughHooksRespectAsync.has(h))return Promise.resolve(p.call(l,b)).then(T=>m.call(l,T));let v=p.call(l,b);return m.call(l,v)}:l[f]=(...b)=>{let v=p.apply(l,b);return v===!1&&(v=m.apply(l,b)),v}}o.hooks=l}if(a.walkTokens){let l=this.defaults.walkTokens,h=a.walkTokens;o.walkTokens=function(f){let p=[];return p.push(h.call(this,f)),l&&(p=p.concat(l.call(this,f))),p}}this.defaults={...this.defaults,...o}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,r){return lA.lex(t,r??this.defaults)}parser(t,r){return cA.parse(t,r??this.defaults)}parseMarkdown(t){return(r,a)=>{let o={...a},l={...this.defaults,...o},h=this.onError(!!l.silent,!!l.async);if(this.defaults.async===!0&&o.async===!1)return h(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof r>"u"||r===null)return h(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return h(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));l.hooks&&(l.hooks.options=l,l.hooks.block=t);let f=l.hooks?l.hooks.provideLexer():t?lA.lex:lA.lexInline,p=l.hooks?l.hooks.provideParser():t?cA.parse:cA.parseInline;if(l.async)return Promise.resolve(l.hooks?l.hooks.preprocess(r):r).then(m=>f(m,l)).then(m=>l.hooks?l.hooks.processAllTokens(m):m).then(m=>l.walkTokens?Promise.all(this.walkTokens(m,l.walkTokens)).then(()=>m):m).then(m=>p(m,l)).then(m=>l.hooks?l.hooks.postprocess(m):m).catch(h);try{l.hooks&&(r=l.hooks.preprocess(r));let m=f(r,l);l.hooks&&(m=l.hooks.processAllTokens(m)),l.walkTokens&&this.walkTokens(m,l.walkTokens);let b=p(m,l);return l.hooks&&(b=l.hooks.postprocess(b)),b}catch(m){return h(m)}}}onError(t,r){return a=>{if(a.message+=` +Please report this to https://github.com/markedjs/marked.`,t){let o="

    An error occurred:

    "+KE(a.message+"",!0)+"
    ";return r?Promise.resolve(o):o}if(r)return Promise.reject(a);throw a}}},ZN=new q_n;i(Tu,"d");Tu.options=Tu.setOptions=function(t){return ZN.setOptions(t),Tu.defaults=ZN.defaults,Apr(Tu.defaults),Tu};Tu.getDefaults=WXe;Tu.defaults=eO;Tu.use=function(...t){return ZN.use(...t),Tu.defaults=ZN.defaults,Apr(Tu.defaults),Tu};Tu.walkTokens=function(t,r){return ZN.walkTokens(t,r)};Tu.parseInline=ZN.parseInline;Tu.Parser=cA;Tu.parser=cA.parse;Tu.Renderer=s2e;Tu.TextRenderer=tQe;Tu.Lexer=lA;Tu.lexer=lA.lex;Tu.Tokenizer=a2e;Tu.Hooks=qte;Tu.parse=Tu;spa=Tu.options,opa=Tu.setOptions,lpa=Tu.use,cpa=Tu.walkTokens,upa=Tu.parseInline,hpa=cA.parse,fpa=lA.lex});function W_n(t,{markdownAutoWrap:r}){let o=t.replace(//g,` +`).replace(/\n{2,}/g,` +`);return obe(o)}function $pr(t){return t.split(/\\n|\n|/gi).map(r=>r.trim().match(/<[^>]+>|[^\s<>]+/g)?.map(a=>({content:a,type:"normal"}))??[])}function c2e(t,r={}){let a=W_n(t,r),o=Tu.lexer(a),l=[[]],h=0;function f(p,m="normal"){p.type==="text"?p.text.split(` +`).forEach((v,T)=>{T!==0&&(h++,l.push([])),v.split(" ").forEach(C=>{C=C.replace(/'/g,"'"),C&&l[h].push({content:C,type:m})})}):p.type==="strong"||p.type==="em"?p.tokens.forEach(b=>{f(b,p.type)}):p.type==="html"&&l[h].push({content:p.text,type:"normal"})}return i(f,"processNode"),o.forEach(p=>{p.type==="paragraph"?p.tokens?.forEach(m=>{f(m)}):p.type==="html"?l[h].push({content:p.text,type:"normal"}):l[h].push({content:p.raw,type:"normal"})}),l}function Gpr(t){return t?`

    ${t.replace(/\\n|\n/g,"
    ")}

    `:""}function jpr(t,{markdownAutoWrap:r}={}){let a=Tu.lexer(t);function o(l){return l.type==="text"?r===!1?l.text.replace(/\n */g,"
    ").replace(/ /g," "):l.text.replace(/\n */g,"
    "):l.type==="strong"?`${l.tokens?.map(o).join("")}`:l.type==="em"?`${l.tokens?.map(o).join("")}`:l.type==="paragraph"?`

    ${l.tokens?.map(o).join("")}

    `:l.type==="space"?"":l.type==="html"?`${l.text}`:l.type==="escape"?l.text:(Pe.warn(`Unsupported markdown: ${l.type}`),l.raw)}return i(o,"output"),a.map(o).join("")}var rQe=ie(()=>{"use strict";Fpr();jqe();Xn();i(W_n,"preprocessMarkdown");i($pr,"nonMarkdownToLines");i(c2e,"markdownToLines");i(Gpr,"nonMarkdownToHTML");i(jpr,"markdownToHTML")});var zpr,Upr=ie(()=>{"use strict";zpr=(function(t){"use strict";var r=function(){},a=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.msRequestAnimationFrame||function(b){return setTimeout(b,16)};function o(){var b=this;b.reads=[],b.writes=[],b.raf=a.bind(t),r("initialized",b)}i(o,"FastDom"),o.prototype={constructor:o,runTasks:i(function(b){r("run tasks");for(var v;v=b.shift();)v()},"runTasks"),measure:i(function(b,v){r("measure");var T=v?b.bind(v):b;return this.reads.push(T),l(this),T},"measure"),mutate:i(function(b,v){r("mutate");var T=v?b.bind(v):b;return this.writes.push(T),l(this),T},"mutate"),clear:i(function(b){return r("clear",b),f(this.reads,b)||f(this.writes,b)},"clear"),extend:i(function(b){if(r("extend",b),typeof b!="object")throw new Error("expected object");var v=Object.create(this);return p(v,b),v.fastdom=this,v.initialize&&v.initialize(),v},"extend"),catch:null};function l(b){b.scheduled||(b.scheduled=!0,b.raf(h.bind(null,b)),r("flush scheduled"))}i(l,"scheduleFlush");function h(b){r("flush");var v=b.writes,T=b.reads,C;try{r("flushing reads",T.length),b.runTasks(T),r("flushing writes",v.length),b.runTasks(v)}catch(E){C=E}if(b.scheduled=!1,(T.length||v.length)&&l(b),C)if(r("task errored",C.message),b.catch)b.catch(C);else throw C}i(h,"flush");function f(b,v){var T=b.indexOf(v);return!!~T&&!!b.splice(T,1)}i(f,"remove");function p(b,v){for(var T in v)v.hasOwnProperty(T)&&(b[T]=v[T])}i(p,"mixin");var m=t.fastdom=t.fastdom||new o;return m})(typeof window<"u"?window:globalThis)});function Vpr(t,r,a,o){var l=t._tasks,h=t.fastdom,f,p=new Promise(function(m,b){f=h[r](function(){l.delete(p);try{m(o?a.call(o):a())}catch(v){b(v)}},o)});return l.set(p,f),p}var Hpr,Apa,Rpa,Lpa,Dpa,qpr,Wpr=ie(()=>{"use strict";Hpr={initialize:i(function(){this._tasks=new Map},"initialize"),mutate:i(function(t,r){return Vpr(this,"mutate",t,r)},"mutate"),measure:i(function(t,r){return Vpr(this,"measure",t,r)},"measure"),clear:i(function(t){var r=this._tasks,a=r.get(t);this.fastdom.clear(a),r.delete(t)},"clear")};i(Vpr,"create");({initialize:Apa,mutate:Rpa,measure:Lpa,clear:Dpa}=Hpr),qpr=Hpr});var Y_n,XE,u2e=ie(()=>{"use strict";Upr();Wpr();Y_n=zpr.extend({raf(t){typeof queueMicrotask=="function"?queueMicrotask(t):setTimeout(t,0)}}).extend(qpr),XE=Y_n});function K_n(t){return Intl.Segmenter?[...new Intl.Segmenter().segment(t)].map(r=>r.segment):[...t]}function X_n(t,r){let a=K_n(r.content);return Ypr(t,[],a,r.type)}function Ypr(t,r,a,o){if(a.length===0)return[{content:r.join(""),type:o},{content:"",type:o}];let[l,...h]=a,f=[...r,l];return t([{content:f.join(""),type:o}])?Ypr(t,f,h,o):(r.length===0&&l&&(r.push(l),a.shift()),[{content:r.join(""),type:o},{content:a.join(""),type:o}])}function Kpr(t,r){if(t.some(({content:a})=>a.includes(` +`)))throw new Error("splitLineToFitWidth does not support newlines in the line");return nQe(t,r)}function nQe(t,r,a=[],o=[]){if(t.length===0)return o.length>0&&a.push(o),a.length>0?a:[];let l="";t[0].content===" "&&(l=" ",t.shift());let h=t.shift()??{content:" ",type:"normal"},f=[...o];if(l!==""&&f.push({content:l,type:"normal"}),f.push(h),r(f))return nQe(t,r,a,f);if(o.length>0)a.push(o),t.unshift(h);else if(h.content){let[p,m]=X_n(r,h);a.push([p]),m.content&&t.unshift(m)}return nQe(t,r,a)}var Xpr=ie(()=>{"use strict";i(K_n,"splitTextToChars");i(X_n,"splitWordToFitWidth");i(Ypr,"splitWordToFitWidthRecursion");i(Kpr,"splitLineToFitWidth");i(nQe,"splitLineToFitWidthRecursion")});function Qpr(t,r){r&&t.attr("style",r)}async function Q_n(t,r,a,o,l=!1,h=ii(),f=0){let p=t.append("foreignObject");p.attr("width",`${Math.min(10*a,Jpr)}px`),p.attr("height",`${Math.min(10*a,Jpr)}px`);let m=p.append("xhtml:div"),b=bf(r.label)?await Xj(r.label.replace(Wn.lineBreakRegex,` +`),h):Ns(r.label,h),v=r.isNode?"nodeLabel":"edgeLabel",T=m.append("span");T.html(b),Qpr(T,r.labelStyle),T.attr("class",`${v} ${o}`),Qpr(m,r.labelStyle),m.style("display","table-cell"),m.style("white-space","nowrap"),m.style("line-height","1.5"),a!==Number.POSITIVE_INFINITY&&(m.style("max-width",a+"px"),m.style("text-align","center")),m.attr("xmlns","http://www.w3.org/1999/xhtml"),l&&m.attr("class","labelBkg");let C=await XE.measure(()=>m.node().getBoundingClientRect());return C.width===a?(m.style("display","table"),m.style("white-space","break-spaces"),m.style("width",a+"px")):C.widthJ_n(f,1.1,E)<=t,"checkWidth"),C=T(v)?[v]:Kpr(v,T);for(let E of C){let S=iQe(m,b,1.1,l);aQe(S,E),b++}}if(o){let v=m.node().getBBox(),T=2;return p.attr("x",v.x-T).attr("y",v.y-T).attr("width",v.width+2*T).attr("height",v.height+2*T),f.node()}else return m.node()}function Zpr(t){let r=/&(amp|lt|gt);/g;return t.replace(r,(a,o)=>{switch(o){case"amp":return"&";case"lt":return"<";case"gt":return">";default:return a}})}function aQe(t,r){t.text(""),r.forEach((a,o)=>{let l=t.append("tspan").attr("font-style",a.type==="em"?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight",a.type==="strong"?"bold":"normal");o===0?l.text(Zpr(a.content)):l.text(" "+Zpr(a.content))})}async function eMn(t,r={}){let a=[];t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,(l,h,f)=>(a.push((async()=>{let p=`${h}:${f}`;return await sbe(p)?await hm(p,void 0,{class:"label-icon"}):``})()),l));let o=await Promise.all(a);return t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,()=>o.shift()??"")}var Jpr,zh,jw=ie(()=>{"use strict";Yo();rl();Xn();Lz();rQe();Ia();u2e();zT();Xpr();Qs();i(Qpr,"applyStyle");Jpr=16384;i(Q_n,"addHtmlSpan");i(iQe,"createTspan");i(J_n,"computeWidthOfText");i(egr,"computeDimensionOfText");i(Z_n,"createFormattedText");i(Zpr,"decodeHTMLEntities");i(aQe,"updateTextContentAndStyles");i(eMn,"replaceIconSubstring");zh=i(async(t,r="",{style:a="",isTitle:o=!1,classes:l="",useHtmlLabels:h=!0,markdown:f=!0,isNode:p=!0,width:m=200,minWidth:b=0,addSvgBackground:v=!1}={},T)=>{if(Pe.debug("XYZ createText",r,a,o,l,h,p,"addSvgBackground: ",v),h){let C=f?jpr(r,T):Gpr(r),E=await eMn(Xv(C),T),S=r.replace(/\\\\/g,"\\"),R={isNode:p,label:bf(r)?S:E,labelStyle:a.replace("fill:","color:")};return await Q_n(t,R,m,l,v,T,b)}else{let C=Xv(r.replace(//g,"
    ")),E=f?c2e(C.replace("
    ","
    "),T):$pr(C),S=Z_n(m,t,E,r?v:!1,!p);if(p){/stroke:/.exec(a)&&(a=a.replace("stroke:","lineColor:"));let R=a.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");dn(S).attr("style",R)}else{let R=a.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");dn(S).select("rect").attr("style",R.replace(/background:/g,"fill:"));let L=a.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");dn(S).select("text").attr("style",L)}return o?dn(S).selectAll("tspan.text-outer-tspan").classed("title-row",!0):dn(S).selectAll("tspan.text-outer-tspan").classed("row",!0),S}},"createText")});async function h2e(t){let r=t.getElementsByTagName("img");if(!r||r.length===0)return;let a=!tgr(t);await Promise.all([...r].map(o=>new Promise(l=>{function h(){if(o.style.display="flex",o.style.flexDirection="column",a){let f=Zt().fontSize?Zt().fontSize:window.getComputedStyle(document.body).fontSize,p=5,[m=hs.fontSize]=Tb(f),b=m*p+"px";o.style.minWidth=b,o.style.maxWidth=b}else o.style.width="100%";l(o)}i(h,"setupImage"),setTimeout(()=>{o.complete&&h()}),o.addEventListener("error",h),o.addEventListener("load",h)})))}function tgr(t){return t.nodeType===rMn?t.textContent?.trim()!=="":t.nodeType!==tMn||t.tagName.toLowerCase()==="img"?!1:[...t.childNodes].some(tgr)}var tMn,rMn,sQe=ie(()=>{"use strict";ma();up();Ia();tMn=1,rMn=3;i(h2e,"configureLabelImages");i(tgr,"hasTextBesidesImages")});var rgr,nMn,ngr,igr=ie(()=>{"use strict";Yo();jw();ma();rl();Ia();rgr=3,nMn=32,ngr=i(async(t,r,a)=>{let o=Zt(),l=t.insert("g").attr("class",a??"node default").attr("id",r.domId||r.id),h=l.insert("g").attr("class","label").attr("style",Ac(r.labelStyle)),p=[{text:typeof r.label=="string"?r.label:r.label?.[0]??"",cssClass:"c4-name"},{text:r.stereotype,cssClass:"c4-type"},...(r.description??[]).map(_=>({text:_,cssClass:"c4-descr"}))].filter(_=>_.text),m=r.width?Math.max(r.width-2*(r.padding??0),nMn):Zt().flowchart?.wrappingWidth??200,v=o.c4?.wrap??!0?m:Number.POSITIVE_INFINITY,T=await Promise.all(p.map(async _=>{let M=h.append("g").attr("class",_.cssClass),I=await zh(M,Ns(Xv(_.text??""),o),{useHtmlLabels:!1,markdown:!1,isNode:!0,width:v,style:r.labelStyle},o);return dn(I).selectAll("tspan.text-outer-tspan").attr("text-anchor","middle"),dn(I).selectAll("tspan.text-inner-tspan").attr("font-weight",null).attr("font-style",null),{el:M,box:M.node().getBBox()}})),C=Math.max(...T.map(({box:_})=>_.width),0),E=0;for(let{el:_,box:M}of T)_.attr("transform",`translate(${C/2-M.x-M.width/2}, ${E-M.y})`),E+=M.height+rgr;let S=T.length>0?E-rgr:0;h.insert("rect",":first-child"),h.attr("transform",`translate(${-C/2}, ${-S/2})`);let R=h.node().getBBox(),L=(r.padding??0)/2;return{shapeSvg:l,bbox:R,halfPadding:L,label:h}},"c4LabelHelper")});function ps(t){let r=t.map((a,o)=>`${o===0?"M":"L"}${a.x},${a.y}`);return r.push("Z"),r.join(" ")}function YT(t,r,a,o,l,h){let f=[],m=a-t,b=o-r,v=m/h,T=2*Math.PI/v,C=r+b/2;for(let E=0;E<=50;E++){let S=E/50,R=t+S*m,L=C+l*Math.sin(T*(R-t));f.push({x:R,y:L})}return f}function zw(t,r,a,o,l,h){let f=[],p=l*Math.PI/180,v=(h*Math.PI/180-p)/(o-1);for(let T=0;Tm.tagName==="path"),a=document.createElementNS("http://www.w3.org/2000/svg","path"),o=r.map(m=>m.getAttribute("d")).filter(m=>m!==null).join(" ");a.setAttribute("d",o);let l=r.find(m=>m.getAttribute("fill")!=="none"),h=r.find(m=>m.getAttribute("stroke")!=="none"),f=i((m,b)=>m?.getAttribute(b)??void 0,"getAttr");if(l){let m={fill:f(l,"fill"),"fill-opacity":f(l,"fill-opacity")??"1"};Object.entries(m).forEach(([b,v])=>{v&&a.setAttribute(b,v)})}if(h){let m={stroke:f(h,"stroke"),"stroke-width":f(h,"stroke-width")??"1","stroke-opacity":f(h,"stroke-opacity")??"1"};Object.entries(m).forEach(([b,v])=>{v&&a.setAttribute(b,v)})}let p=document.createElementNS("http://www.w3.org/2000/svg","g");return p.appendChild(a),p}var agr,In,d4,un,Nn,na=ie(()=>{"use strict";jw();u2e();ma();Qs();Yo();rl();Ia();sQe();Lz();igr();agr=i((t,r)=>{let{x:a,y:o,width:l,height:h}=t;return l>=r?t:"left"in t?{x:a,y:o,width:r,height:h,top:o,left:a,bottom:o+h,right:a+r,toJSON:i(()=>({}),"toJSON")}:{x:a-(r-l)/2,y:o,width:r,height:h}},"withMinWidth"),In=i(async(t,r,a,{ignoreMinWidth:o=!1}={})=>{if(r.stereotype!==void 0)return ngr(t,r,a);let l,h=r.useHtmlLabels||lm(Zt()?.htmlLabels);a?l=a:l="node default";let f=t.insert("g").attr("class",l).attr("id",r.domId||r.id),p=f.insert("g").attr("class","label").attr("style",Ac(r.labelStyle)),m;r.label===void 0?m="":m=typeof r.label=="string"?r.label:r.label[0];let b=!!r.icon||!!r.img,v=r.labelType==="markdown",T=m&&!r.width&&!o?r.minWidth??0:0,C=await zh(p,Ns(Xv(m),Zt()),{useHtmlLabels:h,width:r.width||r.wrappingWidth||Zt().flowchart?.wrappingWidth,minWidth:T,classes:v?"markdown-node-label":"",style:r.labelStyle,addSvgBackground:b,markdown:v},Zt()),E=(r?.padding??0)/2,S;if(h){let R=C.children[0],L=dn(C);await h2e(R),S=await XE.measure(()=>R.getBoundingClientRect()),S=agr(S,T),L.attr("width",S.width),L.attr("height",S.height)}else S=await XE.measure(()=>C.getBBox()),S=agr(S,T);return h?p.attr("transform","translate("+-S.width/2+", "+-S.height/2+")"):p.attr("transform","translate(0, "+-S.height/2+")"),r.centerLabel&&p.attr("transform","translate("+-S.width/2+", "+-S.height/2+")"),p.insert("rect",":first-child"),{shapeSvg:f,bbox:S,halfPadding:E,label:p}},"labelHelper"),d4=i(async(t,r,a)=>{let o=a.useHtmlLabels??$h(Zt()),l=t.insert("g").attr("class","label").attr("style",a.labelStyle||""),h=await zh(l,Ns(Xv(r),Zt()),{useHtmlLabels:o,width:a.width||Zt()?.flowchart?.wrappingWidth,style:a.labelStyle,addSvgBackground:!!a.icon||!!a.img}),f=a.padding/2,p;if($h(Zt())){let m=h.children[0],b=dn(h);p=await XE.measure(()=>m.getBoundingClientRect()),b.attr("width",p.width),b.attr("height",p.height)}else p=await XE.measure(()=>h.getBBox());return o?l.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"):l.attr("transform","translate(0, "+-p.height/2+")"),a.centerLabel&&l.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),l.insert("rect",":first-child"),{shapeSvg:t,bbox:p,halfPadding:f,label:l}},"insertLabel"),un=i((t,r,a)=>{if(a){t.width=a.width,t.height=a.height;return}let o=r.node().getBBox();t.width=o.width,t.height=o.height},"updateNodeBounds"),Nn=i((t,r)=>(t.look==="handDrawn"?"rough-node":"node")+" "+t.cssClasses+" "+(r||""),"getNodeClasses");i(ps,"createPathFromPoints");i(YT,"generateFullSineWavePoints");i(zw,"generateCirclePoints");i(oQe,"mergePaths")});function iMn(t,r){return t.intersect(r)}var sgr,ogr=ie(()=>{"use strict";i(iMn,"intersectNode");sgr=iMn});function aMn(t,r,a,o){var l=t.x,h=t.y,f=l-o.x,p=h-o.y,m=Math.sqrt(r*r*p*p+a*a*f*f),b=Math.abs(r*a*f/m);o.x{"use strict";i(aMn,"intersectEllipse");f2e=aMn});function sMn(t,r,a){return f2e(t,r,r,a)}var lgr,cgr=ie(()=>{"use strict";lQe();i(sMn,"intersectCircle");lgr=sMn});function oMn(t,r,a,o){{let l=r.y-t.y,h=t.x-r.x,f=r.x*t.y-t.x*r.y,p=l*a.x+h*a.y+f,m=l*o.x+h*o.y+f,b=1e-6;if(p!==0&&m!==0&&ugr(p,m))return;let v=o.y-a.y,T=a.x-o.x,C=o.x*a.y-a.x*o.y,E=v*t.x+T*t.y+C,S=v*r.x+T*r.y+C;if(Math.abs(E)0}var hgr,fgr=ie(()=>{"use strict";i(oMn,"intersectLine");i(ugr,"sameSign");hgr=oMn});function lMn(t,r,a){let o=t.x,l=t.y,h=[],f=Number.POSITIVE_INFINITY,p=Number.POSITIVE_INFINITY;typeof r.forEach=="function"?r.forEach(function(v){f=Math.min(f,v.x),p=Math.min(p,v.y)}):(f=Math.min(f,r.x),p=Math.min(p,r.y));let m=o-t.width/2-f,b=l-t.height/2-p;for(let v=0;v1&&h.sort(function(v,T){let C=v.x-a.x,E=v.y-a.y,S=Math.sqrt(C*C+E*E),R=T.x-a.x,L=T.y-a.y,_=Math.sqrt(R*R+L*L);return S<_?-1:S===_?0:1}),h[0]):t}var dgr,pgr=ie(()=>{"use strict";fgr();i(lMn,"intersectPolygon");dgr=lMn});var cMn,KT,d2e=ie(()=>{"use strict";cMn=i((t,r)=>{var a=t.x,o=t.y,l=r.x-a,h=r.y-o,f=t.width/2,p=t.height/2,m,b;return Math.abs(h)*f>Math.abs(l)*p?(h<0&&(p=-p),m=h===0?0:p*l/h,b=p):(l<0&&(f=-f),m=f,b=l===0?0:f*h/l),{x:a+m,y:o+b}},"intersectRect"),KT=cMn});var Vr,wa=ie(()=>{"use strict";ogr();cgr();lQe();pgr();d2e();Vr={node:sgr,circle:lgr,ellipse:f2e,polygon:dgr,rect:KT}});var ggr,uMn,Jv,hMn,Kte,tn,nn,fMn,da=ie(()=>{"use strict";ma();ggr=i(t=>{let{handDrawnSeed:r}=Zt();return{fill:t,hachureAngle:120,hachureGap:1.5,fillWeight:1.5,roughness:.7,stroke:t,seed:r}},"solidStateFill"),uMn=i(t=>Array.isArray(t)?t:t?t.split(";").map(r=>r.trim()).filter(Boolean):[],"normalizeStyleList"),Jv=i(t=>{let r=hMn([...t.cssCompiledStyles||[],...t.cssStyles||[],...uMn(t.labelStyle)]);return{stylesMap:r,stylesArray:[...r]}},"compileStyles"),hMn=i(t=>{let r=new Map;return t.forEach(a=>{let[o,l]=a.split(":");r.set(o.trim(),l?.trim())}),r},"styles2Map"),Kte=i(t=>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","isLabelStyle"),tn=i(t=>{let{stylesArray:r}=Jv(t),a=[],o=[],l=[],h=[];return r.forEach(f=>{let p=f[0];Kte(p)?a.push(f.join(":")+" !important"):(o.push(f.join(":")+" !important"),p.includes("stroke")&&l.push(f.join(":")+" !important"),p==="fill"&&h.push(f.join(":")+" !important"))}),{labelStyles:a.join(";"),nodeStyles:o.join(";"),stylesArray:r,borderStyles:l,backgroundStyles:h}},"styles2String"),nn=i((t,r)=>{let{themeVariables:a,handDrawnSeed:o}=Zt(),{nodeBorder:l,mainBkg:h}=a,{stylesMap:f}=Jv(t);return Object.assign({roughness:.7,fill:f.get("fill")||h,fillStyle:"hachure",fillWeight:1.5,hachureGap:1.5,stroke:f.get("stroke")||l,seed:o,strokeWidth:f.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0],strokeLineDash:fMn(f.get("stroke-dasharray"))},r)},"userNodeOverrides"),fMn=i(t=>{if(!t)return[0,0];let r=t.trim().split(/\s+/).map(Number);if(r.length===1){let l=isNaN(r[0])?0:r[0];return[l,l]}let a=isNaN(r[0])?0:r[0],o=isNaN(r[1])?0:r[1];return[a,o]},"getStrokeDashArray")});function cQe(t,r,a){if(t&&t.length){let[o,l]=r,h=Math.PI/180*a,f=Math.cos(h),p=Math.sin(h);for(let m of t){let[b,v]=m;m[0]=(b-o)*f-(v-l)*p+o,m[1]=(b-o)*p+(v-l)*f+l}}}function dMn(t,r){return t[0]===r[0]&&t[1]===r[1]}function pMn(t,r,a,o=1){let l=a,h=Math.max(r,.1),f=t[0]&&t[0][0]&&typeof t[0][0]=="number"?[t]:t,p=[0,0];if(l)for(let b of f)cQe(b,p,l);let m=(function(b,v,T){let C=[];for(let M of b){let I=[...M];dMn(I[0],I[I.length-1])||I.push([I[0][0],I[0][1]]),I.length>2&&C.push(I)}let E=[];v=Math.max(v,.1);let S=[];for(let M of C)for(let I=0;IM.yminI.ymin?1:M.xI.x?1:M.ymax===I.ymax?0:(M.ymax-I.ymax)/Math.abs(M.ymax-I.ymax))),!S.length)return E;let R=[],L=S[0].ymin,_=0;for(;R.length||S.length;){if(S.length){let M=-1;for(let I=0;IL);I++)M=I;S.splice(0,M+1).forEach((I=>{R.push({s:L,edge:I})}))}if(R=R.filter((M=>!(M.edge.ymax<=L))),R.sort(((M,I)=>M.edge.x===I.edge.x?0:(M.edge.x-I.edge.x)/Math.abs(M.edge.x-I.edge.x))),(T!==1||_%v==0)&&R.length>1)for(let M=0;M=R.length)break;let F=R[M].edge,O=R[I].edge;E.push([[Math.round(F.x),L],[Math.round(O.x),L]])}L+=T,R.forEach((M=>{M.edge.x=M.edge.x+T*M.edge.islope})),_++}return E})(f,h,o);if(l){for(let b of f)cQe(b,p,-l);(function(b,v,T){let C=[];b.forEach((E=>C.push(...E))),cQe(C,v,T)})(m,p,-l)}return m}function Zte(t,r){var a;let o=r.hachureAngle+90,l=r.hachureGap;l<0&&(l=4*r.strokeWidth),l=Math.round(Math.max(l,.1));let h=1;return r.roughness>=1&&(((a=r.randomizer)===null||a===void 0?void 0:a.next())||Math.random())>.7&&(h=l),pMn(t,l,o,h||1)}function T2e(t){let r=t[0],a=t[1];return Math.sqrt(Math.pow(r[0]-a[0],2)+Math.pow(r[1]-a[1],2))}function hQe(t,r){return t.type===r}function EQe(t){let r=[],a=(function(f){let p=new Array;for(;f!=="";)if(f.match(/^([ \t\r\n,]+)/))f=f.substr(RegExp.$1.length);else if(f.match(/^([aAcChHlLmMqQsStTvVzZ])/))p[p.length]={type:gMn,text:RegExp.$1},f=f.substr(RegExp.$1.length);else{if(!f.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];p[p.length]={type:uQe,text:`${parseFloat(RegExp.$1)}`},f=f.substr(RegExp.$1.length)}return p[p.length]={type:mgr,text:""},p})(t),o="BOD",l=0,h=a[l];for(;!hQe(h,mgr);){let f=0,p=[];if(o==="BOD"){if(h.text!=="M"&&h.text!=="m")return EQe("M0,0"+t);l++,f=p2e[h.text],o=h.text}else hQe(h,uQe)?f=p2e[o]:(l++,f=p2e[h.text],o=h.text);if(!(l+fv%2?b+a:b+r));h.push({key:"C",data:m}),r=m[4],a=m[5];break}case"Q":h.push({key:"Q",data:[...p]}),r=p[2],a=p[3];break;case"q":{let m=p.map(((b,v)=>v%2?b+a:b+r));h.push({key:"Q",data:m}),r=m[2],a=m[3];break}case"A":h.push({key:"A",data:[...p]}),r=p[5],a=p[6];break;case"a":r+=p[5],a+=p[6],h.push({key:"A",data:[p[0],p[1],p[2],p[3],p[4],r,a]});break;case"H":h.push({key:"H",data:[...p]}),r=p[0];break;case"h":r+=p[0],h.push({key:"H",data:[r]});break;case"V":h.push({key:"V",data:[...p]}),a=p[0];break;case"v":a+=p[0],h.push({key:"V",data:[a]});break;case"S":h.push({key:"S",data:[...p]}),r=p[2],a=p[3];break;case"s":{let m=p.map(((b,v)=>v%2?b+a:b+r));h.push({key:"S",data:m}),r=m[2],a=m[3];break}case"T":h.push({key:"T",data:[...p]}),r=p[0],a=p[1];break;case"t":r+=p[0],a+=p[1],h.push({key:"T",data:[r,a]});break;case"Z":case"z":h.push({key:"Z",data:[]}),r=o,a=l}return h}function Egr(t){let r=[],a="",o=0,l=0,h=0,f=0,p=0,m=0;for(let{key:b,data:v}of t){switch(b){case"M":r.push({key:"M",data:[...v]}),[o,l]=v,[h,f]=v;break;case"C":r.push({key:"C",data:[...v]}),o=v[4],l=v[5],p=v[2],m=v[3];break;case"L":r.push({key:"L",data:[...v]}),[o,l]=v;break;case"H":o=v[0],r.push({key:"L",data:[o,l]});break;case"V":l=v[0],r.push({key:"L",data:[o,l]});break;case"S":{let T=0,C=0;a==="C"||a==="S"?(T=o+(o-p),C=l+(l-m)):(T=o,C=l),r.push({key:"C",data:[T,C,...v]}),p=v[0],m=v[1],o=v[2],l=v[3];break}case"T":{let[T,C]=v,E=0,S=0;a==="Q"||a==="T"?(E=o+(o-p),S=l+(l-m)):(E=o,S=l);let R=o+2*(E-o)/3,L=l+2*(S-l)/3,_=T+2*(E-T)/3,M=C+2*(S-C)/3;r.push({key:"C",data:[R,L,_,M,T,C]}),p=E,m=S,o=T,l=C;break}case"Q":{let[T,C,E,S]=v,R=o+2*(T-o)/3,L=l+2*(C-l)/3,_=E+2*(T-E)/3,M=S+2*(C-S)/3;r.push({key:"C",data:[R,L,_,M,E,S]}),p=T,m=C,o=E,l=S;break}case"A":{let T=Math.abs(v[0]),C=Math.abs(v[1]),E=v[2],S=v[3],R=v[4],L=v[5],_=v[6];T===0||C===0?(r.push({key:"C",data:[o,l,L,_,L,_]}),o=L,l=_):(o!==L||l!==_)&&(Sgr(o,l,L,_,T,C,E,S,R).forEach((function(M){r.push({key:"C",data:M})})),o=L,l=_);break}case"Z":r.push({key:"Z",data:[]}),o=h,l=f}a=b}return r}function Xte(t,r,a){return[t*Math.cos(a)-r*Math.sin(a),t*Math.sin(a)+r*Math.cos(a)]}function Sgr(t,r,a,o,l,h,f,p,m,b){let v=(T=f,Math.PI*T/180);var T;let C=[],E=0,S=0,R=0,L=0;if(b)[E,S,R,L]=b;else{[t,r]=Xte(t,r,-v),[a,o]=Xte(a,o,-v);let q=(t-a)/2,Z=(r-o)/2,Q=q*q/(l*l)+Z*Z/(h*h);Q>1&&(Q=Math.sqrt(Q),l*=Q,h*=Q);let W=l*l,te=h*h,z=W*te-W*Z*Z-te*q*q,re=W*Z*Z+te*q*q,ae=(p===m?-1:1)*Math.sqrt(Math.abs(z/re));R=ae*l*Z/h+(t+a)/2,L=ae*-h*q/l+(r+o)/2,E=Math.asin(parseFloat(((r-L)/h).toFixed(9))),S=Math.asin(parseFloat(((o-L)/h).toFixed(9))),tS&&(E-=2*Math.PI),!m&&S>E&&(S-=2*Math.PI)}let _=S-E;if(Math.abs(_)>120*Math.PI/180){let q=S,Z=a,Q=o;S=m&&S>E?E+120*Math.PI/180*1:E+120*Math.PI/180*-1,C=Sgr(a=R+l*Math.cos(S),o=L+h*Math.sin(S),Z,Q,l,h,f,0,m,[S,q,R,L])}_=S-E;let M=Math.cos(E),I=Math.sin(E),F=Math.cos(S),O=Math.sin(S),P=Math.tan(_/4),G=4/3*l*P,V=4/3*h*P,Y=[t,r],K=[t+G*I,r-V*M],J=[a+G*O,o-V*F],H=[a,o];if(K[0]=2*Y[0]-K[0],K[1]=2*Y[1]-K[1],b)return[K,J,H].concat(C);{C=[K,J,H].concat(C);let q=[];for(let Z=0;Z2){let l=[];for(let h=0;h2*Math.PI&&(E=0,S=2*Math.PI);let R=2*Math.PI/m.curveStepCount,L=Math.min(R/2,(S-E)/2),_=Tgr(L,b,v,T,C,E,S,1,m);if(!m.disableMultiStroke){let M=Tgr(L,b,v,T,C,E,S,1.5,m);_.push(...M)}return f&&(p?_.push(...NL(b,v,b+T*Math.cos(E),v+C*Math.sin(E),m),...NL(b,v,b+T*Math.cos(S),v+C*Math.sin(S),m)):_.push({op:"lineTo",data:[b,v]},{op:"lineTo",data:[b+T*Math.cos(E),v+C*Math.sin(E)]})),{type:"path",ops:_}}function vgr(t,r){let a=Egr(Cgr(EQe(t))),o=[],l=[0,0],h=[0,0];for(let{key:f,data:p}of a)switch(f){case"M":h=[p[0],p[1]],l=[p[0],p[1]];break;case"L":o.push(...NL(h[0],h[1],p[0],p[1],r)),h=[p[0],p[1]];break;case"C":{let[m,b,v,T,C,E]=p;o.push(...bMn(m,b,v,T,C,E,h,r)),h=[C,E];break}case"Z":o.push(...NL(h[0],h[1],l[0],l[1],r)),h=[l[0],l[1]]}return{type:"path",ops:o}}function fQe(t,r){let a=[];for(let o of t)if(o.length){let l=r.maxRandomnessOffset||0,h=o.length;if(h>2){a.push({op:"move",data:[o[0][0]+uo(l,r),o[0][1]+uo(l,r)]});for(let f=1;f500?.4:-.0016668*m+1.233334;let v=l.maxRandomnessOffset||0;v*v*100>p&&(v=m/10);let T=v/2,C=.2+.2*Lgr(l),E=l.bowing*l.maxRandomnessOffset*(o-r)/200,S=l.bowing*l.maxRandomnessOffset*(t-a)/200;E=uo(E,l,b),S=uo(S,l,b);let R=[],L=i(()=>uo(T,l,b),"M"),_=i(()=>uo(v,l,b),"k"),M=l.preserveVertices;return h&&(f?R.push({op:"move",data:[t+(M?0:L()),r+(M?0:L())]}):R.push({op:"move",data:[t+(M?0:uo(v,l,b)),r+(M?0:uo(v,l,b))]})),f?R.push({op:"bcurveTo",data:[E+t+(a-t)*C+L(),S+r+(o-r)*C+L(),E+t+2*(a-t)*C+L(),S+r+2*(o-r)*C+L(),a+(M?0:L()),o+(M?0:L())]}):R.push({op:"bcurveTo",data:[E+t+(a-t)*C+_(),S+r+(o-r)*C+_(),E+t+2*(a-t)*C+_(),S+r+2*(o-r)*C+_(),a+(M?0:_()),o+(M?0:_())]}),R}function g2e(t,r,a){if(!t.length)return[];let o=[];o.push([t[0][0]+uo(r,a),t[0][1]+uo(r,a)]),o.push([t[0][0]+uo(r,a),t[0][1]+uo(r,a)]);for(let l=1;l3){let h=[],f=1-a.curveTightness;l.push({op:"move",data:[t[1][0],t[1][1]]});for(let p=1;p+21&&l.push(p)):l.push(p),l.push(t[r+3])}else{let m=t[r+0],b=t[r+1],v=t[r+2],T=t[r+3],C=tO(m,b,.5),E=tO(b,v,.5),S=tO(v,T,.5),R=tO(C,E,.5),L=tO(E,S,.5),_=tO(R,L,.5);TQe([m,C,R,_],0,a,l),TQe([_,L,S,T],0,a,l)}var h,f;return l}function wMn(t,r){return x2e(t,0,t.length,r)}function x2e(t,r,a,o,l){let h=l||[],f=t[r],p=t[a-1],m=0,b=1;for(let v=r+1;vm&&(m=T,b=v)}return Math.sqrt(m)>o?(x2e(t,r,b+1,o,h),x2e(t,b,a,o,h)):(h.length||h.push(f),h.push(p)),h}function dQe(t,r=.15,a){let o=[],l=(t.length-1)/3;for(let h=0;h0?x2e(o,0,o.length,a):o}var Jte,pQe,gQe,mQe,yQe,bQe,Zv,vQe,gMn,uQe,mgr,p2e,mMn,Uw,_z,kQe,m2e,CQe,Kr,ba=ie(()=>{"use strict";i(cQe,"t");i(dMn,"e");i(pMn,"s");i(Zte,"n");Jte=class{static{i(this,"o")}constructor(r){this.helper=r}fillPolygons(r,a){return this._fillPolygons(r,a)}_fillPolygons(r,a){let o=Zte(r,a);return{type:"fillSketch",ops:this.renderLines(o,a)}}renderLines(r,a){let o=[];for(let l of r)o.push(...this.helper.doubleLineOps(l[0][0],l[0][1],l[1][0],l[1][1],a));return o}};i(T2e,"a");pQe=class extends Jte{static{i(this,"h")}fillPolygons(r,a){let o=a.hachureGap;o<0&&(o=4*a.strokeWidth),o=Math.max(o,.1);let l=Zte(r,Object.assign({},a,{hachureGap:o})),h=Math.PI/180*a.hachureAngle,f=[],p=.5*o*Math.cos(h),m=.5*o*Math.sin(h);for(let[b,v]of l)T2e([b,v])&&f.push([[b[0]-p,b[1]+m],[...v]],[[b[0]+p,b[1]-m],[...v]]);return{type:"fillSketch",ops:this.renderLines(f,a)}}},gQe=class extends Jte{static{i(this,"r")}fillPolygons(r,a){let o=this._fillPolygons(r,a),l=Object.assign({},a,{hachureAngle:a.hachureAngle+90}),h=this._fillPolygons(r,l);return o.ops=o.ops.concat(h.ops),o}},mQe=class{static{i(this,"i")}constructor(r){this.helper=r}fillPolygons(r,a){let o=Zte(r,a=Object.assign({},a,{hachureAngle:0}));return this.dotsOnLines(o,a)}dotsOnLines(r,a){let o=[],l=a.hachureGap;l<0&&(l=4*a.strokeWidth),l=Math.max(l,.1);let h=a.fillWeight;h<0&&(h=a.strokeWidth/2);let f=l/4;for(let p of r){let m=T2e(p),b=m/l,v=Math.ceil(b)-1,T=m-v*l,C=(p[0][0]+p[1][0])/2-l/4,E=Math.min(p[0][1],p[1][1]);for(let S=0;S{let p=T2e(f),m=Math.floor(p/(o+l)),b=(p+l-m*(o+l))/2,v=f[0],T=f[1];v[0]>T[0]&&(v=f[1],T=f[0]);let C=Math.atan((T[1]-v[1])/(T[0]-v[0]));for(let E=0;E{let f=T2e(h),p=Math.round(f/(2*a)),m=h[0],b=h[1];m[0]>b[0]&&(m=h[1],b=h[0]);let v=Math.atan((b[1]-m[1])/(b[0]-m[0]));for(let T=0;T2*Math.PI&&(G=0,V=2*Math.PI);let Y=(V-G)/M.curveStepCount,K=[];for(let J=G;J<=V;J+=Y)K.push([I+O*Math.cos(J),F+P*Math.sin(J)]);return K.push([I+O*Math.cos(V),F+P*Math.sin(V)]),K.push([I,F]),Dz([K],M)})(r,a,o,l,h,f,b));return b.stroke!==Uw&&v.push(T),this._d("arc",v,b)}curve(r,a){let o=this._o(a),l=[],h=ygr(r,o);if(o.fill&&o.fill!==Uw)if(o.fillStyle==="solid"){let f=ygr(r,Object.assign(Object.assign({},o),{disableMultiStroke:!0,roughness:o.roughness?o.roughness+o.fillShapeRoughnessGain:0}));l.push({type:"fillPath",ops:this._mergedShape(f.ops)})}else{let f=[],p=r;if(p.length){let m=typeof p[0][0]=="number"?[p]:p;for(let b of m)b.length<3?f.push(...b):b.length===3?f.push(...dQe(kgr([b[0],b[0],b[1],b[2]]),10,(1+o.roughness)/2)):f.push(...dQe(kgr(b),10,(1+o.roughness)/2))}f.length&&l.push(Dz([f],o))}return o.stroke!==Uw&&l.push(h),this._d("curve",l,o)}polygon(r,a){let o=this._o(a),l=[],h=y2e(r,!0,o);return o.fill&&(o.fillStyle==="solid"?l.push(fQe([r],o)):l.push(Dz([r],o))),o.stroke!==Uw&&l.push(h),this._d("polygon",l,o)}path(r,a){let o=this._o(a),l=[];if(!r)return this._d("path",l,o);r=(r||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");let h=o.fill&&o.fill!=="transparent"&&o.fill!==Uw,f=o.stroke!==Uw,p=!!(o.simplification&&o.simplification<1),m=(function(v,T,C){let E=Egr(Cgr(EQe(v))),S=[],R=[],L=[0,0],_=[],M=i(()=>{_.length>=4&&R.push(...dQe(_,T)),_=[]},"i"),I=i(()=>{M(),R.length&&(S.push(R),R=[])},"c");for(let{key:O,data:P}of E)switch(O){case"M":I(),L=[P[0],P[1]],R.push(L);break;case"L":M(),R.push([P[0],P[1]]);break;case"C":if(!_.length){let G=R.length?R[R.length-1]:L;_.push([G[0],G[1]])}_.push([P[0],P[1]]),_.push([P[2],P[3]]),_.push([P[4],P[5]]);break;case"Z":M(),R.push([L[0],L[1]])}if(I(),!C)return S;let F=[];for(let O of S){let P=wMn(O,C);P.length&&F.push(P)}return F})(r,1,p?4-4*(o.simplification||1):(1+o.roughness)/2),b=vgr(r,o);if(h)if(o.fillStyle==="solid")if(m.length===1){let v=vgr(r,Object.assign(Object.assign({},o),{disableMultiStroke:!0,roughness:o.roughness?o.roughness+o.fillShapeRoughnessGain:0}));l.push({type:"fillPath",ops:this._mergedShape(v.ops)})}else l.push(fQe(m,o));else l.push(Dz(m,o));return f&&(p?m.forEach((v=>{l.push(y2e(v,!1,o))})):l.push(b)),this._d("path",l,o)}opsToPath(r,a){let o="";for(let l of r.ops){let h=typeof a=="number"&&a>=0?l.data.map((f=>+f.toFixed(a))):l.data;switch(l.op){case"move":o+=`M${h[0]} ${h[1]} `;break;case"bcurveTo":o+=`C${h[0]} ${h[1]}, ${h[2]} ${h[3]}, ${h[4]} ${h[5]} `;break;case"lineTo":o+=`L${h[0]} ${h[1]} `}}return o.trim()}toPaths(r){let a=r.sets||[],o=r.options||this.defaultOptions,l=[];for(let h of a){let f=null;switch(h.type){case"path":f={d:this.opsToPath(h),stroke:o.stroke,strokeWidth:o.strokeWidth,fill:Uw};break;case"fillPath":f={d:this.opsToPath(h),stroke:Uw,strokeWidth:0,fill:o.fill||Uw};break;case"fillSketch":f=this.fillSketch(h,o)}f&&l.push(f)}return l}fillSketch(r,a){let o=a.fillWeight;return o<0&&(o=a.strokeWidth/2),{d:this.opsToPath(r),stroke:a.fill||Uw,strokeWidth:o,fill:Uw}}_mergedShape(r){return r.filter(((a,o)=>o===0||a.op!=="move"))}},kQe=class{static{i(this,"st")}constructor(r,a){this.canvas=r,this.ctx=this.canvas.getContext("2d"),this.gen=new _z(a)}draw(r){let a=r.sets||[],o=r.options||this.getDefaultOptions(),l=this.ctx,h=r.options.fixedDecimalPlaceDigits;for(let f of a)switch(f.type){case"path":l.save(),l.strokeStyle=o.stroke==="none"?"transparent":o.stroke,l.lineWidth=o.strokeWidth,o.strokeLineDash&&l.setLineDash(o.strokeLineDash),o.strokeLineDashOffset&&(l.lineDashOffset=o.strokeLineDashOffset),this._drawToContext(l,f,h),l.restore();break;case"fillPath":{l.save(),l.fillStyle=o.fill||"";let p=r.shape==="curve"||r.shape==="polygon"||r.shape==="path"?"evenodd":"nonzero";this._drawToContext(l,f,h,p),l.restore();break}case"fillSketch":this.fillSketch(l,f,o)}}fillSketch(r,a,o){let l=o.fillWeight;l<0&&(l=o.strokeWidth/2),r.save(),o.fillLineDash&&r.setLineDash(o.fillLineDash),o.fillLineDashOffset&&(r.lineDashOffset=o.fillLineDashOffset),r.strokeStyle=o.fill||"",r.lineWidth=l,this._drawToContext(r,a,o.fixedDecimalPlaceDigits),r.restore()}_drawToContext(r,a,o,l="nonzero"){r.beginPath();for(let h of a.ops){let f=typeof o=="number"&&o>=0?h.data.map((p=>+p.toFixed(o))):h.data;switch(h.op){case"move":r.moveTo(f[0],f[1]);break;case"bcurveTo":r.bezierCurveTo(f[0],f[1],f[2],f[3],f[4],f[5]);break;case"lineTo":r.lineTo(f[0],f[1])}}a.type==="fillPath"?r.fill(l):r.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(r,a,o,l,h){let f=this.gen.line(r,a,o,l,h);return this.draw(f),f}rectangle(r,a,o,l,h){let f=this.gen.rectangle(r,a,o,l,h);return this.draw(f),f}ellipse(r,a,o,l,h){let f=this.gen.ellipse(r,a,o,l,h);return this.draw(f),f}circle(r,a,o,l){let h=this.gen.circle(r,a,o,l);return this.draw(h),h}linearPath(r,a){let o=this.gen.linearPath(r,a);return this.draw(o),o}polygon(r,a){let o=this.gen.polygon(r,a);return this.draw(o),o}arc(r,a,o,l,h,f,p=!1,m){let b=this.gen.arc(r,a,o,l,h,f,p,m);return this.draw(b),b}curve(r,a){let o=this.gen.curve(r,a);return this.draw(o),o}path(r,a){let o=this.gen.path(r,a);return this.draw(o),o}},m2e="http://www.w3.org/2000/svg",CQe=class{static{i(this,"ot")}constructor(r,a){this.svg=r,this.gen=new _z(a)}draw(r){let a=r.sets||[],o=r.options||this.getDefaultOptions(),l=this.svg.ownerDocument||window.document,h=l.createElementNS(m2e,"g"),f=r.options.fixedDecimalPlaceDigits;for(let p of a){let m=null;switch(p.type){case"path":m=l.createElementNS(m2e,"path"),m.setAttribute("d",this.opsToPath(p,f)),m.setAttribute("stroke",o.stroke),m.setAttribute("stroke-width",o.strokeWidth+""),m.setAttribute("fill","none"),o.strokeLineDash&&m.setAttribute("stroke-dasharray",o.strokeLineDash.join(" ").trim()),o.strokeLineDashOffset&&m.setAttribute("stroke-dashoffset",`${o.strokeLineDashOffset}`);break;case"fillPath":m=l.createElementNS(m2e,"path"),m.setAttribute("d",this.opsToPath(p,f)),m.setAttribute("stroke","none"),m.setAttribute("stroke-width","0"),m.setAttribute("fill",o.fill||""),r.shape!=="curve"&&r.shape!=="polygon"||m.setAttribute("fill-rule","evenodd");break;case"fillSketch":m=this.fillSketch(l,p,o)}m&&h.appendChild(m)}return h}fillSketch(r,a,o){let l=o.fillWeight;l<0&&(l=o.strokeWidth/2);let h=r.createElementNS(m2e,"path");return h.setAttribute("d",this.opsToPath(a,o.fixedDecimalPlaceDigits)),h.setAttribute("stroke",o.fill||""),h.setAttribute("stroke-width",l+""),h.setAttribute("fill","none"),o.fillLineDash&&h.setAttribute("stroke-dasharray",o.fillLineDash.join(" ").trim()),o.fillLineDashOffset&&h.setAttribute("stroke-dashoffset",`${o.fillLineDashOffset}`),h}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(r,a){return this.gen.opsToPath(r,a)}line(r,a,o,l,h){let f=this.gen.line(r,a,o,l,h);return this.draw(f)}rectangle(r,a,o,l,h){let f=this.gen.rectangle(r,a,o,l,h);return this.draw(f)}ellipse(r,a,o,l,h){let f=this.gen.ellipse(r,a,o,l,h);return this.draw(f)}circle(r,a,o,l){let h=this.gen.circle(r,a,o,l);return this.draw(h)}linearPath(r,a){let o=this.gen.linearPath(r,a);return this.draw(o)}polygon(r,a){let o=this.gen.polygon(r,a);return this.draw(o)}arc(r,a,o,l,h,f,p=!1,m){let b=this.gen.arc(r,a,o,l,h,f,p,m);return this.draw(b)}curve(r,a){let o=this.gen.curve(r,a);return this.draw(o)}path(r,a){let o=this.gen.path(r,a);return this.draw(o)}},Kr={canvas:i((t,r)=>new kQe(t,r),"canvas"),svg:i((t,r)=>new CQe(t,r),"svg"),generator:i(t=>new _z(t),"generator"),newSeed:i(()=>_z.newSeed(),"newSeed")}});function Dgr(t,r){let{labelStyles:a}=tn(r);r.labelStyle=a;let o=Nn(r),l=o;o||(l="anchor");let h=t.insert("g").attr("class",l).attr("id",r.domId||r.id),f=1,{cssStyles:p}=r,m=Kr.svg(h),b=nn(r,{fill:"black",stroke:"none",fillStyle:"solid"});r.look!=="handDrawn"&&(b.roughness=0);let v=m.circle(0,0,f*2,b),T=h.insert(()=>v,":first-child");return T.attr("class","anchor").attr("style",Ac(p)),un(r,T),r.intersect=function(C){return Pe.info("Circle intersect",r,f,C),Vr.circle(r,f,C)},h}var _gr=ie(()=>{"use strict";Xn();na();wa();da();ba();Ia();i(Dgr,"anchor")});function Mgr(t,r,a,o,l,h,f){let m=(t+a)/2,b=(r+o)/2,v=Math.atan2(o-r,a-t),T=(a-t)/2,C=(o-r)/2,E=T/l,S=C/h,R=Math.sqrt(E**2+S**2);if(R>1)throw new Error("The given radii are too small to create an arc between the points.");let L=Math.sqrt(1-R**2),_=m+L*h*Math.sin(v)*(f?-1:1),M=b-L*l*Math.cos(v)*(f?-1:1),I=Math.atan2((r-M)/h,(t-_)/l),O=Math.atan2((o-M)/h,(a-_)/l)-I;f&&O<0&&(O+=2*Math.PI),!f&&O>0&&(O-=2*Math.PI);let P=[];for(let G=0;G<20;G++){let V=G/19,Y=I+V*O,K=_+l*Math.cos(Y),J=M+h*Math.sin(Y);P.push({x:K,y:J})}return P}function xMn(t,r,a){let[o,l]=[r,a].sort((h,f)=>f-h);return l*(1-Math.sqrt(1-(t/o/2)**2))}async function Igr(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.padding??0,h=r.look==="neo"?16:l,f=r.look==="neo"?12:l,p=i(Y=>Y+f,"calcTotalHeight"),m=i(Y=>{let K=Y/2;return[K/(2.5+Y/50),K]},"calcEllipseRadius"),{shapeSvg:b,bbox:v}=await In(t,r,Nn(r)),T=p(r?.height?r?.height:v.height),[C,E]=m(T),S=xMn(T,C,E),L=(r?.width?r?.width:v.width)+h*2+S-S,_=T,{cssStyles:M}=r,I=[{x:L/2,y:-_/2},{x:-L/2,y:-_/2},...Mgr(-L/2,-_/2,-L/2,_/2,C,E,!1),{x:L/2,y:_/2},...Mgr(L/2,_/2,L/2,-_/2,C,E,!0)],F=Kr.svg(b),O=nn(r,{});r.look!=="handDrawn"&&(O.roughness=0,O.fillStyle="solid");let P=ps(I),G=F.path(P,O),V=b.insert(()=>G,":first-child");return V.attr("class","basic label-container outer-path"),M&&r.look!=="handDrawn"&&V.selectAll("path").attr("style",M),o&&r.look!=="handDrawn"&&V.selectAll("path").attr("style",o),V.attr("transform",`translate(${C/2}, 0)`),un(r,V),r.intersect=function(Y){return Vr.polygon(r,I,Y)},b}var Ngr=ie(()=>{"use strict";na();wa();da();ba();i(Mgr,"generateArcPoints");i(xMn,"calculateArcSagitta");i(Igr,"bowTieRect")});async function Ogr(t,r,{config:{themeVariables:a}}){let{labelStyles:o,nodeStyles:l}=tn(r);r.labelStyle=o;let{shapeSvg:h,bbox:f,label:p}=await In(t,r,Nn(r)),m=a?.nodeBorder??a?.lineColor??"currentColor",b=r.padding??12,v=Math.max(f.width+b*2,r.width??0,80),T=Math.max(Math.min(v*.08,12),5),C=Math.max(f.height+b*2+T,r.height??0),E=-C/2+T,S=C/2,R=v*.72,L=[`M${-v/2},${E}`,`L${-R/2},${S}`,`A${R/2},${T} 0 0 0 ${R/2},${S}`,`L${v/2},${E}`,`A${v/2},${T} 0 0 0 ${-v/2},${E}`,"Z"].join(" "),{cssStyles:_}=r,M=h.insert("g",":first-child").attr("class","basic label-container");if(r.look==="handDrawn"){let V=Kr.svg(h).path(L,nn(r,{}));M.node()?.appendChild(V),_&&M.attr("style",_)}else M.append("path").attr("d",L).attr("style",l);M.append("ellipse").attr("cx",0).attr("cy",E).attr("rx",v/2).attr("ry",T).attr("style",`fill:none;stroke:${m};stroke-width:1px`),un(r,M);let I=E+(S-E)/2;p.attr("transform",`translate(${-(f.width/2)-(f.x-(f.left??0))}, ${I-f.height/2-(f.y-(f.top??0))})`);let F=12,O=i((G,V,Y)=>Array.from({length:F+1},(K,J)=>{let H=Math.PI-J*Math.PI/F;return{x:G*Math.cos(H),y:V+Y*T*Math.sin(H)}}),"arc"),P=[...O(v/2,E,-1),...O(R/2,S,1).reverse()];return r.intersect=function(G){return Vr.polygon(r,P,G)},h}var Pgr=ie(()=>{"use strict";na();wa();da();ba();i(Ogr,"bucket")});var Md,p4=ie(()=>{"use strict";Md=i((t,r,a,o,l)=>["M",t+l,r,"H",t+a-l,"A",l,l,0,0,1,t+a,r+l,"V",r+o-l,"A",l,l,0,0,1,t+a-l,r+o,"H",t+l,"A",l,l,0,0,1,t,r+o-l,"V",r+l,"A",l,l,0,0,1,t+l,r,"Z"].join(" "),"createRoundedRectPathD")});var ere,TMn,kMn,m0,y0,CMn,Lg,QE,XT,dp,b0=ie(()=>{"use strict";ere=new Set(["redux-color","redux-dark-color"]),TMn=12,kMn=64,m0=i(t=>Array.isArray(t)&&t.length>0,"hasPalette"),y0=i((t,r)=>t!=null&&ere.has(t)&&m0(r),"isColorTheme"),CMn=/^[\w-]+$/,Lg=i(t=>{let r=typeof t=="string"||typeof t=="number"?String(t):"";return CMn.test(r)?r:"classic"},"safeLook"),QE=i(t=>m0(t)?t.length:0,"paletteSlotCount"),XT=i((t,r)=>m0(r)?QE(r):typeof t=="number"&&Number.isInteger(t)&&t>0&&t<=kMn?t:TMn,"colorSlotCount"),dp=i((t,r,a,o)=>{if(r===void 0||!y0(a,o))return;let l=r%QE(o);t.attr("data-color-id",`color-${l}`)},"stampColorSlot")});function AMn(t){let{themeVariables:r}=Zt(),a=r.clusterBkg,o=r.clusterBorder;switch(t){case"flow":return{rx:10,fill:"none",stroke:r.flowContainerStroke||r.secondaryBorderColor,strokeWidth:.75,cssClass:"flow-collapsed"};default:return{rx:SMn,fill:a,stroke:o,cssClass:"collapsed-group"}}}async function Bgr(t,r){let a=AMn(r.metadata?.containerType),{fill:o,stroke:l}=a,{nodeStyles:h}=tn(r),{shapeSvg:f,bbox:p}=await In(t,r,Nn(r)),{theme:m,themeVariables:b}=Zt();dp(f,r.colorIndex,m,b.borderColorArray);let v=r.padding??8,T=p.height,C=Math.max(p.width+v*2,EMn,r?.width??0),E=Math.max(T+AQe+SQe+v*2,r?.height??0),S=-C/2,R=-E/2,L=-(AQe+SQe)/2,_=f.select(".label");_&&(r.useHtmlLabels??$h(Zt())?_.attr("transform",`translate(${-p.width/2}, ${-p.height/2+L})`):_.attr("transform",`translate(0, ${-p.height/2+L})`));let M;if(r.look==="handDrawn"){let G=Kr.svg(f),V=nn(r,{fill:o,stroke:l,...a.strokeWidth===void 0?{}:{strokeWidth:a.strokeWidth},...o==="none"?{fillWeight:0}:{fillStyle:"solid"}}),Y=G.path(Md(S,R,C,E,a.rx),V);M=f.insert(()=>Y,":first-child"),M.attr("class","basic label-container "+a.cssClass).attr("style",Ac(r.cssStyles))}else M=f.insert("rect",":first-child"),M.attr("class","basic label-container "+a.cssClass).attr("style",h).attr("rx",a.rx).attr("ry",a.rx).attr("x",S).attr("y",R).attr("width",C).attr("height",E).attr("fill",o).attr("stroke",l),a.strokeWidth!==void 0&&M.attr("stroke-width",a.strokeWidth+"px");let I=R+v+T+AQe;f.append("line").attr("class","collapsed-separator").attr("x1",S+8).attr("y1",I).attr("x2",S+C-8).attr("y2",I).attr("stroke",l).attr("stroke-dasharray","3, 3");let F=I+SQe/2,O=2.5,P=10;for(let G=-1;G<=1;G++)f.append("circle").attr("class","collapsed-indicator").attr("cx",G*P).attr("cy",F).attr("r",O).attr("fill",l);return un(r,M),r.calcIntersect=function(G,V){return Vr.rect(G,V)},r.intersect=function(G){return Vr.rect(r,G)},f}var SQe,AQe,EMn,SMn,Fgr=ie(()=>{"use strict";ma();Qs();na();wa();p4();da();ba();Ia();b0();SQe=20,AQe=8,EMn=80,SMn=8;i(AMn,"getCollapsedStyle");i(Bgr,"collapsedGroup")});function mm(t,r,a,o){return t.insert("polygon",":first-child").attr("points",o.map(function(l){return l.x+","+l.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-r/2+","+a/2+")")}var JE=ie(()=>{"use strict";i(mm,"insertPolygonShape")});async function Ggr(t,r){let a=r,{shapeSvg:o,bbox:l}=await In(t,a,Nn(a)),h=a.padding??0,f=l.height+2*h,p=f/2,m=l.width+2*p+h,b=a.width??0,T=a.positioned&&(a.widthInColumns??1)>1&&b>m?b:m,C=_Mn(a.directions??[],l,a,T),E=mm(o,T,f,C);return E.attr("style",a.style??null),un(a,E),a.intersect=function(S){return Vr.polygon(a,C,S)},o}var RMn,RQe,LMn,DMn,$gr,_Mn,jgr=ie(()=>{"use strict";wa();JE();na();RMn=["right","left","up","down"],RQe="point",LMn=i(t=>{let r=new Set;for(let a of t)switch(a){case"x":r.add("right"),r.add("left");break;case"y":r.add("up"),r.add("down");break;default:r.add(a);break}return r},"expandAndDeduplicateDirections"),DMn=i(t=>RMn.filter(r=>t.has(r)).join("|")||RQe,"getDirectionKey"),$gr={"right|left|up|down":i(({height:t,midpoint:r,padding:a,width:o})=>[{x:0,y:0},{x:r,y:0},{x:o/2,y:2*a},{x:o-r,y:0},{x:o,y:0},{x:o,y:-t/3},{x:o+2*a,y:-t/2},{x:o,y:-2*t/3},{x:o,y:-t},{x:o-r,y:-t},{x:o/2,y:-t-2*a},{x:r,y:-t},{x:0,y:-t},{x:0,y:-2*t/3},{x:-2*a,y:-t/2},{x:0,y:-t/3}],"right|left|up|down"),"right|left|up":i(({height:t,midpoint:r,width:a})=>[{x:r,y:0},{x:a-r,y:0},{x:a,y:-t/2},{x:a-r,y:-t},{x:r,y:-t},{x:0,y:-t/2}],"right|left|up"),"right|left|down":i(({height:t,midpoint:r,width:a})=>[{x:0,y:0},{x:r,y:-t},{x:a-r,y:-t},{x:a,y:0}],"right|left|down"),"right|up|down":i(({height:t,midpoint:r,width:a})=>[{x:0,y:0},{x:a,y:-r},{x:a,y:-t+r},{x:0,y:-t}],"right|up|down"),"left|up|down":i(({height:t,midpoint:r,width:a})=>[{x:a,y:0},{x:0,y:-r},{x:0,y:-t+r},{x:a,y:-t}],"left|up|down"),"right|left":i(({height:t,midpoint:r,padding:a,width:o})=>[{x:r,y:0},{x:r,y:-a},{x:o-r,y:-a},{x:o-r,y:0},{x:o,y:-t/2},{x:o-r,y:-t},{x:o-r,y:-t+a},{x:r,y:-t+a},{x:r,y:-t},{x:0,y:-t/2}],"right|left"),"up|down":i(({height:t,midpoint:r,padding:a,width:o})=>[{x:o/2,y:0},{x:0,y:-a},{x:r,y:-a},{x:r,y:-t+a},{x:0,y:-t+a},{x:o/2,y:-t},{x:o,y:-t+a},{x:o-r,y:-t+a},{x:o-r,y:-a},{x:o,y:-a}],"up|down"),"right|up":i(({height:t,midpoint:r,width:a})=>[{x:0,y:0},{x:a,y:-r},{x:0,y:-t}],"right|up"),"right|down":i(({height:t,width:r})=>[{x:0,y:0},{x:r,y:0},{x:0,y:-t}],"right|down"),"left|up":i(({height:t,midpoint:r,width:a})=>[{x:a,y:0},{x:0,y:-r},{x:a,y:-t}],"left|up"),"left|down":i(({height:t,width:r})=>[{x:r,y:0},{x:0,y:0},{x:r,y:-t}],"left|down"),right:i(({height:t,midpoint:r,padding:a,width:o})=>[{x:r,y:-a},{x:r,y:-a},{x:o-r,y:-a},{x:o-r,y:0},{x:o,y:-t/2},{x:o-r,y:-t},{x:o-r,y:-t+a},{x:r,y:-t+a},{x:r,y:-t+a}],"right"),left:i(({height:t,midpoint:r,padding:a,width:o})=>[{x:r,y:0},{x:r,y:-a},{x:o-r,y:-a},{x:o-r,y:-t+a},{x:r,y:-t+a},{x:r,y:-t},{x:0,y:-t/2}],"left"),up:i(({height:t,midpoint:r,padding:a,width:o})=>[{x:r,y:-a},{x:r,y:-t+a},{x:0,y:-t+a},{x:o/2,y:-t},{x:o,y:-t+a},{x:o-r,y:-t+a},{x:o-r,y:-a}],"up"),down:i(({height:t,midpoint:r,padding:a,width:o})=>[{x:o/2,y:0},{x:0,y:-a},{x:r,y:-a},{x:r,y:-t+a},{x:o-r,y:-t+a},{x:o-r,y:-a},{x:o,y:-a}],"down"),[RQe]:()=>[{x:0,y:0}]},_Mn=i((t,r,a,o)=>{let l=LMn(t),h=(a.padding??0)/2,f=r.height+4*h,p=f/2,m=o??r.width+2*p+2*h,b=DMn(l);return($gr[b]??$gr[RQe])({height:f,midpoint:p,padding:h,width:m})},"getArrowPoints");i(Ggr,"block_arrow")});async function zgr(t,r,{config:{themeVariables:a}}){let{labelStyles:o,nodeStyles:l}=tn(r);r.labelStyle=o;let{shapeSvg:h,bbox:f,label:p}=await In(t,r,Nn(r)),m=a?.nodeBorder??a?.lineColor??"currentColor",b=r.padding??12,v=18,T=12,C=Math.max(f.width+b*2,r.width??0,90),E=Math.max(f.height+b*2+v,r.height??0),S=-E/2,{cssStyles:R}=r,L=h.insert("g",":first-child").attr("class","basic label-container");if(r.look==="handDrawn"){let I=Kr.svg(h).path(Md(-C/2,S,C,E,T),nn(r,{}));L.node()?.appendChild(I),R&&L.attr("style",R)}else L.append("rect").attr("x",-C/2).attr("y",S).attr("width",C).attr("height",E).attr("rx",T).attr("ry",T).attr("style",l);L.append("line").attr("x1",-C/2).attr("y1",S+v).attr("x2",C/2).attr("y2",S+v).attr("style",`stroke:${m};stroke-width:1px`);for(let M=0;M<3;M++)L.append("circle").attr("cx",-C/2+12+M*9).attr("cy",S+v/2).attr("r",2.5).attr("style",`fill:${m};stroke:none`);L.append("rect").attr("class","browser-address-bar").attr("x",-C/2+44).attr("y",S+4).attr("width",Math.max(C-56,10)).attr("height",v-8).attr("rx",3).attr("ry",3).attr("style",`fill:none;stroke:${m};stroke-width:1px;opacity:0.6`),un(r,L);let _=S+v+(E-v)/2;return p.attr("transform",`translate(${-(f.width/2)-(f.x-(f.left??0))}, ${_-f.height/2-(f.y-(f.top??0))})`),r.intersect=function(M){return Vr.rect(r,M)},h}var Ugr=ie(()=>{"use strict";na();wa();p4();da();ba();i(zgr,"browser")});async function Vgr(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.padding??0,h=r.look==="neo"?28:l,f=r.look==="neo"?24:l,{shapeSvg:p,bbox:m}=await In(t,r,Nn(r)),b=(r?.width??m.width)+(r.look==="neo"?h*2:h+k2e),v=(r?.height??m.height)+(r.look==="neo"?f*2:f),T=0,C=b,E=-v,S=0,R=[{x:T+k2e,y:E},{x:C,y:E},{x:C,y:S},{x:T,y:S},{x:T,y:E+k2e},{x:T+k2e,y:E}],L,{cssStyles:_}=r;if(r.look==="handDrawn"){let M=Kr.svg(p),I=nn(r,{}),F=ps(R),O=M.path(F,I);L=p.insert(()=>O,":first-child").attr("transform",`translate(${-b/2}, ${v/2})`),_&&L.attr("style",_)}else L=mm(p,b,v,R);return o&&L.attr("style",o),un(r,L),r.intersect=function(M){return Vr.polygon(r,R,M)},p}var k2e,Hgr=ie(()=>{"use strict";na();wa();da();ba();JE();na();k2e=12;i(Vgr,"card")});function qgr(t,r){let{nodeStyles:a}=tn(r);r.label="";let o=t.insert("g").attr("class",Nn(r)).attr("id",r.domId??r.id),{cssStyles:l}=r,h=Math.max(28,r.width??0),f=[{x:0,y:h/2},{x:h/2,y:0},{x:0,y:-h/2},{x:-h/2,y:0}],p=Kr.svg(o),m=nn(r,{});r.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");let b=ps(f),v=p.path(b,m),T=o.insert(()=>v,":first-child");return l&&r.look!=="handDrawn"&&T.selectAll("path").attr("style",l),a&&r.look!=="handDrawn"&&T.selectAll("path").attr("style",a),r.width=28,r.height=28,r.intersect=function(C){return Vr.polygon(r,f,C)},o}var Wgr=ie(()=>{"use strict";wa();ba();da();na();i(qgr,"choice")});async function C2e(t,r,a){let{labelStyles:o,nodeStyles:l}=tn(r);r.labelStyle=o;let{shapeSvg:h,bbox:f,halfPadding:p}=await In(t,r,Nn(r),{ignoreMinWidth:!0}),m=16,b=a?.padding??p,v=Math.sqrt(f.width**2+f.height**2)/2,T=r.look==="neo"?v+m:v+b,C,{cssStyles:E}=r;if(r.look==="handDrawn"){let S=Kr.svg(h),R=nn(r,{}),L=S.circle(0,0,T*2,R);C=h.insert(()=>L,":first-child"),C.attr("class","basic label-container").attr("style",Ac(E))}else C=h.insert("circle",":first-child").attr("class","basic label-container").attr("style",l).attr("r",T).attr("cx",0).attr("cy",0);return un(r,C),r.calcIntersect=function(S,R){let L=S.width/2;return Vr.circle(S,L,R)},r.intersect=function(S){return Pe.info("Circle intersect",r,T,S),Vr.circle(r,T,S)},h}var LQe=ie(()=>{"use strict";ba();Xn();Ia();wa();da();na();i(C2e,"circle")});async function Ygr(t,r){let a=r,o=["node",a.cssClasses,a.class].filter(Boolean).join(" "),{shapeSvg:l,bbox:h,halfPadding:f}=await In(t,a,o),p=l.insert("rect",":first-child"),m=a.padding??0,b=a.positioned?a.width??0:h.width+m,v=a.positioned?a.height??0:h.height+m,T=a.positioned?-b/2:-h.width/2-f,C=a.positioned?-v/2:-h.height/2-f;return p.attr("class","basic cluster composite label-container").attr("style",a.style??null).attr("rx",a.rx??null).attr("ry",a.ry??null).attr("x",T).attr("y",C).attr("width",b).attr("height",v),un(a,p),a.intersect=function(E){return Vr.rect(a,E)},l}var Kgr=ie(()=>{"use strict";wa();na();i(Ygr,"composite")});async function Xgr(t,r,{config:{themeVariables:a}}){let{labelStyles:o,nodeStyles:l}=tn(r);r.labelStyle=o;let{shapeSvg:h,bbox:f,label:p}=await In(t,r,Nn(r)),m=a?.nodeBorder??a?.lineColor??"currentColor",b=r.padding??12,v=20,T=12,C=Math.max(f.width+b*2,r.width??0,90),E=Math.max(f.height+b*2+v,r.height??0),S=-E/2,{cssStyles:R}=r,L=h.insert("g",":first-child").attr("class","basic label-container");if(r.look==="handDrawn"){let I=Kr.svg(h).path(Md(-C/2,S,C,E,T),nn(r,{}));L.node()?.appendChild(I),R&&L.attr("style",R)}else L.append("rect").attr("x",-C/2).attr("y",S).attr("width",C).attr("height",E).attr("rx",T).attr("ry",T).attr("style",l);L.append("text").attr("x",-C/2+12).attr("y",S+16).attr("class","console-glyph").attr("style",`font-family:monospace;font-weight:bold;font-size:14px;fill:${m}`).text(">_"),un(r,L);let _=S+v+(E-v)/2;return p.attr("transform",`translate(${-(f.width/2)-(f.x-(f.left??0))}, ${_-f.height/2-(f.y-(f.top??0))})`),r.intersect=function(M){return Vr.rect(r,M)},h}var Qgr=ie(()=>{"use strict";na();wa();p4();da();ba();i(Xgr,"consoleWindow")});function MMn(t){let r=Math.cos(Math.PI/4),a=Math.sin(Math.PI/4),o=t*2,l={x:o/2*r,y:o/2*a},h={x:-(o/2)*r,y:o/2*a},f={x:-(o/2)*r,y:-(o/2)*a},p={x:o/2*r,y:-(o/2)*a};return`M ${h.x},${h.y} L ${p.x},${p.y} + M ${l.x},${l.y} L ${f.x},${f.y}`}function Jgr(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a,r.label="";let l=t.insert("g").attr("class",Nn(r)).attr("id",r.domId??r.id),h=Math.max(30,r?.width??0),{cssStyles:f}=r,p=Kr.svg(l),m=nn(r,{});r.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");let b=p.circle(0,0,h*2,m),v=MMn(h),T=p.path(v,m),C=l.insert(()=>b,":first-child");return C.insert(()=>T),C.attr("class","outer-path"),f&&r.look!=="handDrawn"&&C.selectAll("path").attr("style",f),o&&r.look!=="handDrawn"&&C.selectAll("path").attr("style",o),un(r,C),r.intersect=function(E){return Pe.info("crossedCircle intersect",r,{radius:h,point:E}),Vr.circle(r,h,E)},l}var Zgr=ie(()=>{"use strict";Xn();na();da();ba();wa();i(MMn,"createLine");i(Jgr,"crossedCircle")});function OL(t,r,a,o=100,l=0,h=180){let f=[],p=l*Math.PI/180,v=(h*Math.PI/180-p)/(o-1);for(let T=0;TO,":first-child").attr("stroke-opacity",0),P.insert(()=>I,":first-child"),P.attr("class","text"),C&&r.look!=="handDrawn"&&P.selectAll("path").attr("style",C),o&&r.look!=="handDrawn"&&P.selectAll("path").attr("style",o),P.attr("transform",`translate(${T}, 0)`),f.attr("transform",`translate(${-b/2+T-(h.x-(h.left??0))},${-v/2+(r.padding??0)/2-(h.y-(h.top??0))})`),un(r,P),r.intersect=function(G){return Vr.polygon(r,S,G)},l}var t0r=ie(()=>{"use strict";na();wa();da();ba();i(OL,"generateCirclePoints");i(e0r,"curlyBraceLeft")});function PL(t,r,a,o=100,l=0,h=180){let f=[],p=l*Math.PI/180,v=(h*Math.PI/180-p)/(o-1);for(let T=0;TO,":first-child").attr("stroke-opacity",0),P.insert(()=>I,":first-child"),P.attr("class","text"),C&&r.look!=="handDrawn"&&P.selectAll("path").attr("style",C),o&&r.look!=="handDrawn"&&P.selectAll("path").attr("style",o),P.attr("transform",`translate(${-T}, 0)`),f.attr("transform",`translate(${-b/2+(r.padding??0)/2-(h.x-(h.left??0))},${-v/2+(r.padding??0)/2-(h.y-(h.top??0))})`),un(r,P),r.intersect=function(G){return Vr.polygon(r,S,G)},l}var n0r=ie(()=>{"use strict";na();wa();da();ba();i(PL,"generateCirclePoints");i(r0r,"curlyBraceRight")});function ny(t,r,a,o=100,l=0,h=180){let f=[],p=l*Math.PI/180,v=(h*Math.PI/180-p)/(o-1);for(let T=0;TY,":first-child").attr("stroke-opacity",0),K.insert(()=>F,":first-child"),K.insert(()=>G,":first-child"),K.attr("class","text"),C&&r.look!=="handDrawn"&&K.selectAll("path").attr("style",C),o&&r.look!=="handDrawn"&&K.selectAll("path").attr("style",o),K.attr("transform",`translate(${T-T/4}, 0)`),f.attr("transform",`translate(${-b/2+(r.padding??0)/2-(h.x-(h.left??0))},${-v/2+(r.padding??0)/2-(h.y-(h.top??0))})`),un(r,K),r.intersect=function(J){return Vr.polygon(r,R,J)},l}var a0r=ie(()=>{"use strict";na();wa();da();ba();i(ny,"generateCirclePoints");i(i0r,"curlyBraces")});async function s0r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.padding??0,h=r.look==="neo"?16:l,f=r.look==="neo"?12:l,p=20,m=5,{shapeSvg:b,bbox:v}=await In(t,r,Nn(r)),T=Math.max(m,v.height+f*2,r?.height??0),C=T/2,E=C-Math.sqrt(Math.max(0,C**2-(v.height/2)**2)),S=Math.max(T/4,E),R=Math.max(p,v.width+h*2+S*2,(v.width+h*2)*1.25,r?.width??0),{cssStyles:L}=r,_=Kr.svg(b),M=nn(r,{});r.look!=="handDrawn"&&(M.roughness=0,M.fillStyle="solid");let I=R,F=T,O=I-C,P=F/4,G=[{x:O,y:0},{x:P,y:0},{x:0,y:F/2},{x:P,y:F},{x:O,y:F},...zw(-O,-F/2,C,50,270,90)],V=ps(G),Y=_.path(V,M),K=b.insert(()=>Y,":first-child");return K.attr("class","basic label-container outer-path"),L&&r.look!=="handDrawn"&&K.selectChildren("path").attr("style",L),o&&r.look!=="handDrawn"&&K.selectChildren("path").attr("style",o),K.attr("transform",`translate(${-R/2}, ${-T/2})`),un(r,K),r.intersect=function(J){return Vr.polygon(r,G,J)},b}var o0r=ie(()=>{"use strict";na();wa();da();ba();i(s0r,"curvedTrapezoid")});async function l0r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let{shapeSvg:l,bbox:h,label:f}=await In(t,r,Nn(r)),p=r.padding??20,m=Math.max(h.width+p*2,r.width??0,100),b=Math.min(Math.max(m*.23,16),56),v=b*.27,T=Math.max(h.height+p*2,r.height?r.height-(2*b-v):0),C=Math.min(m*.177,T*.45),E=T+2*b-v,S=-E/2,R=S+2*b-v,L=l.insert("g",":first-child").attr("class","basic label-container"),{cssStyles:_}=r;if(r.look==="handDrawn"){let V=Kr.svg(l),Y=nn(r,{}),K=V.path(Md(-m/2,R,m,T,C),Y),J=V.circle(0,S+b,b*2,Y);L.insert(()=>J,":first-child"),L.insert(()=>K,":first-child"),_&&L.attr("style",_)}else L.append("rect").attr("x",-m/2).attr("y",R).attr("width",m).attr("height",T).attr("rx",C).attr("ry",C).attr("style",o),L.append("circle").attr("cx",0).attr("cy",S+b).attr("r",b).attr("style",o);un(r,L);let M=R+T/2;f.attr("transform",`translate(${-(h.width/2)-(h.x-(h.left??0))}, ${M-h.height/2-(h.y-(h.top??0))})`);let I=S+b,F=Math.asin(Math.min(1,(R-I)/b))*180/Math.PI,G=[...zw(0,-I,b,24,180+F,-F),...zw(-(-m/2+C),-(R+C),C,12,90,0),...zw(-(-m/2+C),-(E/2-C),C,12,360,270),...zw(-(m/2-C),-(E/2-C),C,12,270,180),...zw(-(m/2-C),-(R+C),C,12,180,90)];return r.intersect=function(V){return Vr.polygon(r,G,V)},l}var c0r=ie(()=>{"use strict";na();wa();da();ba();p4();i(l0r,"person")});async function f0r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.padding??0,h=r.look==="neo"?24:l,f=r.look==="neo"?24:l,p=r.width??0;if(r.width&&(r.width=r.width-f,r.widthP,":first-child"),R=m.insert(()=>O,":first-child"),R.attr("class","basic label-container"),L&&R.attr("style",L)}else{let _=IMn(0,0,T,S,C,E);R=m.insert("path",":first-child").attr("d",_).attr("class","basic label-container outer-path").attr("style",Ac(L)).attr("style",o)}return R.attr("label-offset-y",E),R.attr("transform",`translate(${-T/2}, ${-(S/2+E)})`),un(r,R),v.attr("transform",`translate(${-(b.width/2)-(b.x-(b.left??0))}, ${-(b.height/2)+(r.padding??0)/1.5-(b.y-(b.top??0))})`),r.intersect=function(_){let M=Vr.rect(r,_),I=M.x-(r.x??0);if(C!=0&&(Math.abs(I)<(r.width??0)/2||Math.abs(I)==(r.width??0)/2&&Math.abs(M.y-(r.y??0))>(r.height??0)/2-E)){let F=E*E*(1-I*I/(C*C));F>0&&(F=Math.sqrt(F)),F=E-F,_.y-(r.y??0)>0&&(F=-F),M.y+=F}return M},m}var IMn,NMn,OMn,u0r,h0r,d0r=ie(()=>{"use strict";na();wa();da();ba();Ia();IMn=i((t,r,a,o,l,h)=>[`M${t},${r+h}`,`a${l},${h} 0,0,0 ${a},0`,`a${l},${h} 0,0,0 ${-a},0`,`l0,${o}`,`a${l},${h} 0,0,0 ${a},0`,`l0,${-o}`].join(" "),"createCylinderPathD"),NMn=i((t,r,a,o,l,h)=>[`M${t},${r+h}`,`M${t+a},${r+h}`,`a${l},${h} 0,0,0 ${-a},0`,`l0,${o}`,`a${l},${h} 0,0,0 ${a},0`,`l0,${-o}`].join(" "),"createOuterCylinderPathD"),OMn=i((t,r,a,o,l,h)=>[`M${t-a/2},${-o/2}`,`a${l},${h} 0,0,0 ${a},0`].join(" "),"createInnerCylinderPathD"),u0r=8,h0r=8;i(f0r,"cylinder")});async function g4(t,r,a){let{labelStyles:o,nodeStyles:l}=tn(r);r.labelStyle=o;let{shapeSvg:h,bbox:f}=await In(t,r,Nn(r)),p=Math.max(f.width+a.labelPaddingX*2,r?.width||0),m=Math.max(f.height+a.labelPaddingY*2,r?.height||0),b=-p/2,v=-m/2,T,{rx:C,ry:E}=r,{cssStyles:S}=r;if(a?.rx&&a.ry&&(C=a.rx,E=a.ry),r.look==="handDrawn"){let R=Kr.svg(h),L=nn(r,{}),_=C||E?R.path(Md(b,v,p,m,C||0),L):R.rectangle(b,v,p,m,L);T=h.insert(()=>_,":first-child"),T.attr("class","basic label-container").attr("style",Ac(S))}else T=h.insert("rect",":first-child"),T.attr("class","basic label-container").attr("style",l).attr("rx",Ac(C)).attr("ry",Ac(E)).attr("x",b).attr("y",v).attr("width",p).attr("height",m);return un(r,T,r.look==="handDrawn"?void 0:{width:p,height:m}),r.calcIntersect=function(R,L){return Vr.rect(R,L)},r.intersect=function(R){return Vr.rect(r,R)},h}var rO=ie(()=>{"use strict";na();wa();p4();da();ba();Ia();i(g4,"drawRect")});async function p0r(t,r){let{cssClasses:a,labelPaddingX:o,labelPaddingY:l,padding:h,width:f,height:p}=r,m={rx:0,ry:0,classes:a??"",labelPaddingX:o??(h??0)*2,labelPaddingY:l??h??0},b=await g4(t,r,m);if(r.look==="handDrawn"){let E=Kr.svg(b),S=nn(r,{}),R=b.select(".basic.label-container > path:nth-child(2)"),L=R.node();if(!L)return b;let _=null;if(L instanceof SVGGraphicsElement)_=L.getBBox();else return b;return b.insert(()=>E.line(_.x,_.y,_.x+_.width,_.y,S),".basic.label-container g.label"),b.insert(()=>E.line(_.x,_.y+_.height,_.x+_.width,_.y+_.height,S),".basic.label-container g.label"),R.remove(),b}let v=b.select(".basic.label-container"),T=(Number(v.attr("width"))||f)??0,C=(Number(v.attr("height"))||p)??0;return T>0&&C>0&&v.attr("stroke-dasharray",`${T} ${C}`),b}var g0r=ie(()=>{"use strict";rO();da();ba();i(p0r,"datastore")});async function m0r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.look==="neo"?16:r.padding??0,h=r.look==="neo"?16:r.padding??0,{shapeSvg:f,bbox:p,label:m}=await In(t,r,Nn(r)),b=p.width+l,v=p.height+h,T=v*.2,C=-b/2,E=-v/2-T/2,{cssStyles:S}=r,R=Kr.svg(f),L=nn(r,{});r.look!=="handDrawn"&&(L.roughness=0,L.fillStyle="solid");let _=[{x:C,y:E+T},{x:-C,y:E+T},{x:-C,y:-E},{x:C,y:-E},{x:C,y:E},{x:-C,y:E},{x:-C,y:E+T}],M=R.polygon(_.map(F=>[F.x,F.y]),L),I=f.insert(()=>M,":first-child");return I.attr("class","basic label-container outer-path"),S&&r.look!=="handDrawn"&&I.selectAll("path").attr("style",S),o&&r.look!=="handDrawn"&&I.selectAll("path").attr("style",o),m.attr("transform",`translate(${C+(r.padding??0)/2-(p.x-(p.left??0))}, ${E+T+(r.padding??0)/2-(p.y-(p.top??0))})`),un(r,I),r.intersect=function(F){return Vr.rect(r,F)},f}var y0r=ie(()=>{"use strict";na();wa();da();ba();i(m0r,"dividedRectangle")});async function b0r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r),l=r.look==="neo"?12:5;r.labelStyle=a;let h=r.padding??0,f=r.look==="neo"?16:h,{shapeSvg:p,bbox:m}=await In(t,r,Nn(r),{ignoreMinWidth:!0}),b=Math.sqrt(m.width**2+m.height**2)/2,v=(r?.width?r?.width/2:b)+(f??0),T=v+l,C,{cssStyles:E}=r;if(r.look==="handDrawn"){let S=Kr.svg(p),R=nn(r,{roughness:.2,strokeWidth:2.5}),L=nn(r,{roughness:.2,strokeWidth:1.5}),_=S.circle(0,0,T*2,R),M=S.circle(0,0,v*2,L);C=p.insert("g",":first-child"),C.attr("class",Ac(r.cssClasses)).attr("style",Ac(E)),C.node()?.appendChild(_),C.node()?.appendChild(M)}else{C=p.insert("g",":first-child");let S=C.insert("circle",":first-child"),R=C.insert("circle");C.attr("class","basic label-container").attr("style",o),S.attr("class","outer-circle").attr("style",o).attr("r",T).attr("cx",0).attr("cy",0),R.attr("class","inner-circle").attr("style",o).attr("r",v).attr("cx",0).attr("cy",0)}return un(r,C),r.intersect=function(S){return Pe.info("DoubleCircle intersect",r,T,S),Vr.circle(r,T,S)},p}var v0r=ie(()=>{"use strict";Xn();na();wa();da();ba();Ia();i(b0r,"doublecircle")});async function w0r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let{shapeSvg:l,bbox:h,halfPadding:f}=await In(t,r,Nn(r)),{theme:p,themeVariables:m}=Zt();dp(l,r.colorIndex,p,m.borderColorArray);let b=f??10,v=h.width/2+b*2,T=h.height/2+b*2,C,{cssStyles:E}=r;if(r.look==="handDrawn"){let S=Kr.svg(l),R=nn(r,{}),L=S.ellipse(0,0,v*2,T*2,R);C=l.insert(()=>L,":first-child"),C.attr("class","basic label-container"),E&&C.attr("style",E)}else C=l.insert("ellipse",":first-child").attr("class","basic label-container").attr("style",o).attr("rx",v).attr("ry",T).attr("cx",0).attr("cy",0);return r.width=v*2,r.height=T*2,un(r,C),r.calcIntersect=function(S,R){let L=S.width/2,_=S.height/2;return Vr.ellipse(S,L,_,R)},r.intersect=function(S){return Vr.ellipse(r,v,T,S)},l}var x0r=ie(()=>{"use strict";ba();ma();b0();wa();da();na();i(w0r,"usecaseEllipse")});function T0r(t,r,{config:{themeVariables:a}}){let{labelStyles:o,nodeStyles:l}=tn(r);r.label="",r.labelStyle=o;let h=t.insert("g").attr("class",Nn(r)).attr("id",r.domId??r.id),f=7,{cssStyles:p}=r,m=Kr.svg(h),{nodeBorder:b}=a,v=nn(r,{fillStyle:"solid"});r.look!=="handDrawn"&&(v.roughness=0);let T=m.circle(0,0,f*2,v),C=h.insert(()=>T,":first-child");return C.selectAll("path").attr("style",`fill: ${b} !important;`),p&&p.length>0&&r.look!=="handDrawn"&&C.selectAll("path").attr("style",p),l&&r.look!=="handDrawn"&&C.selectAll("path").attr("style",l),un(r,C),r.intersect=function(E){return Pe.info("filledCircle intersect",r,{radius:f,point:E}),Vr.circle(r,f,E)},h}var k0r=ie(()=>{"use strict";ba();Xn();wa();da();na();i(T0r,"filledCircle")});async function S0r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.padding??0,h=r.look==="neo"?l*2:l;(r.width||r.height)&&(r.height=r?.height??0,r.height_,":first-child").attr("transform",`translate(${-v/2}, ${v/2})`).attr("class","outer-path");return E&&r.look!=="handDrawn"&&M.selectChildren("path").attr("style",E),o&&r.look!=="handDrawn"&&M.selectChildren("path").attr("style",o),r.width=b,r.height=v,un(r,M),m.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))}, ${-v/2+(r.padding??0)/2+(p.y-(p.top??0))})`),r.intersect=function(I){return Pe.info("Triangle intersect",r,C,I),Vr.polygon(r,C,I)},f}var C0r,E0r,A0r=ie(()=>{"use strict";Xn();na();wa();da();ba();na();C0r=10,E0r=10;i(S0r,"flippedTriangle")});async function R0r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let{shapeSvg:l,bbox:h,label:f}=await In(t,r,Nn(r)),p=r.padding??12,m=Math.max(h.width+p*2,r.width??0,90),b=h.height+p*2,v=Math.max(Math.min(b*.16,14),8),T=Math.max(b+v,r.height??0),C=T-v,E=Math.max(m*.38,28),S=-T/2,R=[{x:-m/2,y:S},{x:-m/2+E,y:S},{x:-m/2+E,y:S+v},{x:m/2,y:S+v},{x:m/2,y:T/2},{x:-m/2,y:T/2}],L=[`M${R[0].x},${R[0].y}`,...R.slice(1).map(F=>`L${F.x},${F.y}`),"Z"].join(" "),{cssStyles:_}=r,M;if(r.look==="handDrawn"){let O=Kr.svg(l).path(L,nn(r,{}));M=l.insert(()=>O,":first-child").attr("class","basic label-container"),_&&M.attr("style",_)}else M=l.insert("path",":first-child").attr("d",L).attr("class","basic label-container").attr("style",o);r.look==="handDrawn"?un(r,M):un(r,M,{width:m,height:T});let I=S+v+C/2;return f.attr("transform",`translate(${-(h.width/2)-(h.x-(h.left??0))}, ${I-h.height/2-(h.y-(h.top??0))})`),r.intersect=function(F){return Vr.polygon(r,R,F)},l}var L0r=ie(()=>{"use strict";na();wa();da();ba();i(R0r,"folder")});function D0r(t,r,{dir:a,config:{state:o,themeVariables:l}}){let{nodeStyles:h}=tn(r);r.label="";let f=t.insert("g").attr("class",Nn(r)).attr("id",r.domId??r.id),{cssStyles:p}=r,m=Math.max(70,r?.width??0),b=Math.max(10,r?.height??0);(a==="LR"||a==="RL")&&(m=Math.max(10,r?.width??0),b=Math.max(70,r?.height??0));let v=-1*m/2,T=-1*b/2,C=Kr.svg(f),E=nn(r,{stroke:l.lineColor,fill:l.lineColor});r.look!=="handDrawn"&&(E.roughness=0,E.fillStyle="solid");let S=C.rectangle(v,T,m,b,E),R=f.insert(()=>S,":first-child");p&&r.look!=="handDrawn"&&R.selectAll("path").attr("style",p),h&&r.look!=="handDrawn"&&R.selectAll("path").attr("style",h),un(r,R);let L=o?.padding??0;return r.width&&r.height&&(r.width+=L/2||0,r.height+=L/2||0),r.intersect=function(_){return Vr.rect(r,_)},f}var _0r=ie(()=>{"use strict";ba();wa();da();na();i(D0r,"forkJoin")});async function M0r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=15,h=10,f=r.look==="neo"?16:r.padding??0,p=r.look==="neo"?12:r.padding??0;(r.width||r.height)&&(r.height=(r?.height??0)-p*2,r.heightI,":first-child");return F.attr("class","basic label-container outer-path"),S&&r.look!=="handDrawn"&&F.selectChildren("path").attr("style",S),o&&r.look!=="handDrawn"&&F.selectChildren("path").attr("style",o),un(r,F),r.intersect=function(O){return Pe.info("Pill intersect",r,{radius:T,point:O}),Vr.polygon(r,_,O)},m}var I0r=ie(()=>{"use strict";Xn();na();wa();da();ba();i(M0r,"halfRoundedRectangle")});async function N0r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r),l=r.look==="neo"?3.5:4;r.labelStyle=a;let h=r.padding??0,f=70,p=32,m=r.look==="neo"?f:h,b=r.look==="neo"?p:h;if(r.width||r.height){let I=(r.height??0)/l;r.width=(r?.width??0)-2*I-b,r.height=(r.height??0)-m}let{shapeSvg:v,bbox:T}=await In(t,r,Nn(r)),C=(r?.height?r?.height:T.height)+m,E=C/l,S=(r?.width?r?.width:T.width)+2*E+b,R=[{x:E,y:0},{x:S-E,y:0},{x:S,y:-C/2},{x:S-E,y:-C},{x:E,y:-C},{x:0,y:-C/2}],L,{cssStyles:_}=r;if(r.look==="handDrawn"){let M=Kr.svg(v),I=nn(r,{}),F=PMn(0,0,S,C,E),O=M.path(F,I);L=v.insert(()=>O,":first-child").attr("transform",`translate(${-S/2}, ${C/2})`),_&&L.attr("style",_)}else L=mm(v,S,C,R);return o&&L.attr("style",o),r.width=S,r.height=C,un(r,L),r.intersect=function(M){return Vr.polygon(r,R,M)},v}var PMn,O0r=ie(()=>{"use strict";na();wa();da();ba();JE();PMn=i((t,r,a,o,l)=>[`M${t+l},${r}`,`L${t+a-l},${r}`,`L${t+a},${r-o/2}`,`L${t+a-l},${r-o}`,`L${t+l},${r-o}`,`L${t},${r-o/2}`,"Z"].join(" "),"createHexagonPathD");i(N0r,"hexagon")});async function P0r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.label="",r.labelStyle=a;let{shapeSvg:l}=await In(t,r,Nn(r)),h=Math.max(30,r?.width??0),f=Math.max(30,r?.height??0),{cssStyles:p}=r,m=Kr.svg(l),b=nn(r,{});r.look!=="handDrawn"&&(b.roughness=0,b.fillStyle="solid");let v=[{x:0,y:0},{x:h,y:0},{x:0,y:f},{x:h,y:f}],T=ps(v),C=m.path(T,b),E=l.insert(()=>C,":first-child");return E.attr("class","basic label-container outer-path"),p&&r.look!=="handDrawn"&&E.selectChildren("path").attr("style",p),o&&r.look!=="handDrawn"&&E.selectChildren("path").attr("style",o),E.attr("transform",`translate(${-h/2}, ${-f/2})`),un(r,E),r.intersect=function(S){return Pe.info("Pill intersect",r,{points:v}),Vr.polygon(r,v,S)},l}var B0r=ie(()=>{"use strict";Xn();na();wa();da();ba();i(P0r,"hourglass")});async function F0r(t,r,{config:{themeVariables:a,flowchart:o}}){let{labelStyles:l}=tn(r);r.labelStyle=l;let h=r.assetHeight??48,f=r.assetWidth??48,p=Math.max(h,f),m=o?.wrappingWidth;r.width=Math.max(p,m??0);let{shapeSvg:b,bbox:v,label:T}=await In(t,r,"icon-shape default"),C=r.pos==="t",E=p,S=p,{nodeBorder:R}=a,{stylesMap:L}=Jv(r),_=-S/2,M=-E/2,I=r.label?8:0,F=Kr.svg(b),O=nn(r,{stroke:"none",fill:"none"});r.look!=="handDrawn"&&(O.roughness=0,O.fillStyle="solid");let P=F.rectangle(_,M,S,E,O),G=Math.max(S,v.width),V=E+v.height+I,Y=F.rectangle(-G/2,-V/2,G,V,{...O,fill:"transparent",stroke:"none"}),K=b.insert(()=>P,":first-child"),J=b.insert(()=>Y);if(r.icon){let H=b.append("g");H.html(`${await hm(r.icon,{height:p,width:p,fallbackPrefix:""})}`);let q=H.node().getBBox(),Z=q.width,Q=q.height,W=q.x,te=q.y;H.attr("transform",`translate(${-Z/2-W},${C?v.height/2+I/2-Q/2-te:-v.height/2-I/2-Q/2-te})`),H.attr("style",`color: ${L.get("stroke")??R};`)}return T.attr("transform",`translate(${-v.width/2-(v.x-(v.left??0))},${C?-V/2:V/2-v.height})`),K.attr("transform",`translate(0,${C?v.height/2+I/2:-v.height/2-I/2})`),un(r,J),r.intersect=function(H){if(Pe.info("iconSquare intersect",r,H),!r.label)return Vr.rect(r,H);let q=r.x??0,Z=r.y??0,Q=r.height??0,W=[];return C?W=[{x:q-v.width/2,y:Z-Q/2},{x:q+v.width/2,y:Z-Q/2},{x:q+v.width/2,y:Z-Q/2+v.height+I},{x:q+S/2,y:Z-Q/2+v.height+I},{x:q+S/2,y:Z+Q/2},{x:q-S/2,y:Z+Q/2},{x:q-S/2,y:Z-Q/2+v.height+I},{x:q-v.width/2,y:Z-Q/2+v.height+I}]:W=[{x:q-S/2,y:Z-Q/2},{x:q+S/2,y:Z-Q/2},{x:q+S/2,y:Z-Q/2+E},{x:q+v.width/2,y:Z-Q/2+E},{x:q+v.width/2/2,y:Z+Q/2},{x:q-v.width/2,y:Z+Q/2},{x:q-v.width/2,y:Z-Q/2+E},{x:q-S/2,y:Z-Q/2+E}],Vr.polygon(r,W,H)},b}var $0r=ie(()=>{"use strict";ba();Xn();zT();wa();da();na();i(F0r,"icon")});async function G0r(t,r,{config:{themeVariables:a,flowchart:o}}){let{labelStyles:l}=tn(r);r.labelStyle=l;let h=r.assetHeight??48,f=r.assetWidth??48,p=Math.max(h,f),m=o?.wrappingWidth;r.width=Math.max(p,m??0);let{shapeSvg:b,bbox:v,label:T}=await In(t,r,"icon-shape default"),C=20,E=r.label?8:0,S=r.pos==="t",{nodeBorder:R,mainBkg:L}=a,{stylesMap:_}=Jv(r),M=Kr.svg(b),I=nn(r,{});r.look!=="handDrawn"&&(I.roughness=0,I.fillStyle="solid");let F=_.get("fill");I.stroke=F??L;let O=b.append("g");r.icon&&O.html(`${await hm(r.icon,{height:p,width:p,fallbackPrefix:""})}`);let P=O.node().getBBox(),G=P.width,V=P.height,Y=P.x,K=P.y,J=Math.max(G,V)*Math.SQRT2+C*2,H=M.circle(0,0,J,I),q=Math.max(J,v.width),Z=J+v.height+E,Q=M.rectangle(-q/2,-Z/2,q,Z,{...I,fill:"transparent",stroke:"none"}),W=b.insert(()=>H,":first-child"),te=b.insert(()=>Q);return O.attr("transform",`translate(${-G/2-Y},${S?v.height/2+E/2-V/2-K:-v.height/2-E/2-V/2-K})`),O.attr("style",`color: ${_.get("stroke")??R};`),T.attr("transform",`translate(${-v.width/2-(v.x-(v.left??0))},${S?-Z/2:Z/2-v.height})`),W.attr("transform",`translate(0,${S?v.height/2+E/2:-v.height/2-E/2})`),un(r,te),r.intersect=function(z){return Pe.info("iconSquare intersect",r,z),Vr.rect(r,z)},b}var j0r=ie(()=>{"use strict";ba();Xn();zT();wa();da();na();i(G0r,"iconCircle")});async function z0r(t,r,{config:{themeVariables:a,flowchart:o}}){let{labelStyles:l}=tn(r);r.labelStyle=l;let h=r.assetHeight??48,f=r.assetWidth??48,p=Math.max(h,f),m=o?.wrappingWidth;r.width=Math.max(p,m??0);let{shapeSvg:b,bbox:v,halfPadding:T,label:C}=await In(t,r,"icon-shape default"),E=r.pos==="t",S=p+T*2,R=p+T*2,{nodeBorder:L,mainBkg:_}=a,{stylesMap:M}=Jv(r),I=-R/2,F=-S/2,O=r.label?8:0,P=Kr.svg(b),G=nn(r,{});r.look!=="handDrawn"&&(G.roughness=0,G.fillStyle="solid");let V=M.get("fill");G.stroke=V??_;let Y=P.path(Md(I,F,R,S,5),G),K=Math.max(R,v.width),J=S+v.height+O,H=P.rectangle(-K/2,-J/2,K,J,{...G,fill:"transparent",stroke:"none"}),q=b.insert(()=>Y,":first-child").attr("class","icon-shape2"),Z=b.insert(()=>H);if(r.icon){let Q=b.append("g");Q.html(`${await hm(r.icon,{height:p,width:p,fallbackPrefix:""})}`);let W=Q.node().getBBox(),te=W.width,z=W.height,re=W.x,ae=W.y;Q.attr("transform",`translate(${-te/2-re},${E?v.height/2+O/2-z/2-ae:-v.height/2-O/2-z/2-ae})`),Q.attr("style",`color: ${M.get("stroke")??L};`)}return C.attr("transform",`translate(${-v.width/2-(v.x-(v.left??0))},${E?-J/2:J/2-v.height})`),q.attr("transform",`translate(0,${E?v.height/2+O/2:-v.height/2-O/2})`),un(r,Z),r.intersect=function(Q){if(Pe.info("iconSquare intersect",r,Q),!r.label)return Vr.rect(r,Q);let W=r.x??0,te=r.y??0,z=r.height??0,re=[];return E?re=[{x:W-v.width/2,y:te-z/2},{x:W+v.width/2,y:te-z/2},{x:W+v.width/2,y:te-z/2+v.height+O},{x:W+R/2,y:te-z/2+v.height+O},{x:W+R/2,y:te+z/2},{x:W-R/2,y:te+z/2},{x:W-R/2,y:te-z/2+v.height+O},{x:W-v.width/2,y:te-z/2+v.height+O}]:re=[{x:W-R/2,y:te-z/2},{x:W+R/2,y:te-z/2},{x:W+R/2,y:te-z/2+S},{x:W+v.width/2,y:te-z/2+S},{x:W+v.width/2/2,y:te+z/2},{x:W-v.width/2,y:te+z/2},{x:W-v.width/2,y:te-z/2+S},{x:W-R/2,y:te-z/2+S}],Vr.polygon(r,re,Q)},b}var U0r=ie(()=>{"use strict";ba();Xn();zT();wa();da();p4();na();i(z0r,"iconRounded")});async function V0r(t,r,{config:{themeVariables:a,flowchart:o}}){let{labelStyles:l}=tn(r);r.labelStyle=l;let h=r.assetHeight??48,f=r.assetWidth??48,p=Math.max(h,f),m=o?.wrappingWidth;r.width=Math.max(p,m??0);let{shapeSvg:b,bbox:v,halfPadding:T,label:C}=await In(t,r,"icon-shape default"),E=r.pos==="t",S=p+T*2,R=p+T*2,{nodeBorder:L,mainBkg:_}=a,{stylesMap:M}=Jv(r),I=-R/2,F=-S/2,O=r.label?8:0,P=Kr.svg(b),G=nn(r,{});r.look!=="handDrawn"&&(G.roughness=0,G.fillStyle="solid");let V=M.get("fill");G.stroke=V??_;let Y=P.path(Md(I,F,R,S,.1),G),K=Math.max(R,v.width),J=S+v.height+O,H=P.rectangle(-K/2,-J/2,K,J,{...G,fill:"transparent",stroke:"none"}),q=b.insert(()=>Y,":first-child"),Z=b.insert(()=>H);if(r.icon){let Q=b.append("g");Q.html(`${await hm(r.icon,{height:p,width:p,fallbackPrefix:""})}`);let W=Q.node().getBBox(),te=W.width,z=W.height,re=W.x,ae=W.y;Q.attr("transform",`translate(${-te/2-re},${E?v.height/2+O/2-z/2-ae:-v.height/2-O/2-z/2-ae})`),Q.attr("style",`color: ${M.get("stroke")??L};`)}return C.attr("transform",`translate(${-v.width/2-(v.x-(v.left??0))},${E?-J/2:J/2-v.height})`),q.attr("transform",`translate(0,${E?v.height/2+O/2:-v.height/2-O/2})`),un(r,Z),r.intersect=function(Q){if(Pe.info("iconSquare intersect",r,Q),!r.label)return Vr.rect(r,Q);let W=r.x??0,te=r.y??0,z=r.height??0,re=[];return E?re=[{x:W-v.width/2,y:te-z/2},{x:W+v.width/2,y:te-z/2},{x:W+v.width/2,y:te-z/2+v.height+O},{x:W+R/2,y:te-z/2+v.height+O},{x:W+R/2,y:te+z/2},{x:W-R/2,y:te+z/2},{x:W-R/2,y:te-z/2+v.height+O},{x:W-v.width/2,y:te-z/2+v.height+O}]:re=[{x:W-R/2,y:te-z/2},{x:W+R/2,y:te-z/2},{x:W+R/2,y:te-z/2+S},{x:W+v.width/2,y:te-z/2+S},{x:W+v.width/2/2,y:te+z/2},{x:W-v.width/2,y:te+z/2},{x:W-v.width/2,y:te-z/2+S},{x:W-R/2,y:te-z/2+S}],Vr.polygon(r,re,Q)},b}var H0r=ie(()=>{"use strict";ba();Xn();zT();wa();p4();da();na();i(V0r,"iconSquare")});async function q0r(t,r,{config:{flowchart:a}}){let o=new Image;o.src=r?.img??"",await o.decode();let l=Number(o.naturalWidth.toString().replace("px","")),h=Number(o.naturalHeight.toString().replace("px",""));r.imageAspectRatio=l/h;let{labelStyles:f}=tn(r);r.labelStyle=f;let p=a?.wrappingWidth;r.defaultWidth=a?.wrappingWidth;let m=Math.max(r.label?p??0:0,r?.assetWidth??l),b=r.constraint==="on"&&r?.assetHeight?r.assetHeight*r.imageAspectRatio:m,v=r.constraint==="on"?b/r.imageAspectRatio:r?.assetHeight??h;r.width=Math.max(b,p??0);let{shapeSvg:T,bbox:C,label:E}=await In(t,r,"image-shape default"),S=r.pos==="t",R=-b/2,L=-v/2,_=r.label?8:0,M=Kr.svg(T),I=nn(r,{});r.look!=="handDrawn"&&(I.roughness=0,I.fillStyle="solid");let F=M.rectangle(R,L,b,v,I),O=Math.max(b,C.width),P=v+C.height+_,G=M.rectangle(-O/2,-P/2,O,P,{...I,fill:"none",stroke:"none"}),V=T.insert(()=>F,":first-child"),Y=T.insert(()=>G);if(r.img){let K=T.append("image");K.attr("href",r.img),K.attr("width",b),K.attr("height",v),K.attr("preserveAspectRatio","none"),K.attr("transform",`translate(${-b/2},${S?P/2-v:-P/2})`)}return E.attr("transform",`translate(${-C.width/2-(C.x-(C.left??0))},${S?-v/2-C.height/2-_/2:v/2-C.height/2+_/2})`),V.attr("transform",`translate(0,${S?C.height/2+_/2:-C.height/2-_/2})`),un(r,Y),r.intersect=function(K){if(Pe.info("iconSquare intersect",r,K),!r.label)return Vr.rect(r,K);let J=r.x??0,H=r.y??0,q=r.height??0,Z=[];return S?Z=[{x:J-C.width/2,y:H-q/2},{x:J+C.width/2,y:H-q/2},{x:J+C.width/2,y:H-q/2+C.height+_},{x:J+b/2,y:H-q/2+C.height+_},{x:J+b/2,y:H+q/2},{x:J-b/2,y:H+q/2},{x:J-b/2,y:H-q/2+C.height+_},{x:J-C.width/2,y:H-q/2+C.height+_}]:Z=[{x:J-b/2,y:H-q/2},{x:J+b/2,y:H-q/2},{x:J+b/2,y:H-q/2+v},{x:J+C.width/2,y:H-q/2+v},{x:J+C.width/2/2,y:H+q/2},{x:J-C.width/2,y:H+q/2},{x:J-C.width/2,y:H-q/2+v},{x:J-b/2,y:H-q/2+v}],Vr.polygon(r,Z,K)},T}var W0r=ie(()=>{"use strict";ba();Xn();wa();da();na();i(q0r,"imageSquare")});async function Y0r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.padding??0,h=l,f=r.look==="neo"?l*2:l,{shapeSvg:p,bbox:m}=await In(t,r,Nn(r)),b=Math.max(m.height+h*2,r.height??0),v=Math.max(m.width+f*2,(r.width??0)-b),T=[{x:0,y:0},{x:v,y:0},{x:v+3*b/6,y:-b},{x:-3*b/6,y:-b}],C,{cssStyles:E}=r;if(r.look==="handDrawn"){let S=Kr.svg(p),R=nn(r,{}),L=ps(T),_=S.path(L,R);C=p.insert(()=>_,":first-child").attr("transform",`translate(${-v/2}, ${b/2})`),E&&C.attr("style",E)}else C=mm(p,v,b,T);return o&&C.attr("style",o),r.width=v,r.height=b,un(r,C),r.intersect=function(S){return Vr.polygon(r,T,S)},p}var K0r=ie(()=>{"use strict";na();wa();da();ba();JE();i(Y0r,"inv_trapezoid")});async function X0r(t,r){let{shapeSvg:a,bbox:o,label:l}=await In(t,r,"label"),h=a.insert("rect",":first-child");return h.attr("width",.1).attr("height",.1),a.attr("class","label edgeLabel"),l.attr("transform",`translate(${-(o.width/2)-(o.x-(o.left??0))}, ${-(o.height/2)-(o.y-(o.top??0))})`),un(r,h),r.intersect=function(m){return Vr.rect(r,m)},a}var Q0r=ie(()=>{"use strict";rO();na();wa();i(X0r,"labelRect")});async function J0r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.padding??0,h=l,f=r.look==="neo"?l*2:l,{shapeSvg:p,bbox:m}=await In(t,r,Nn(r)),b=Math.max(m.height+h,r.height??0),v=Math.max(m.width+f,(r.width??0)-b),T=[{x:0,y:0},{x:v+3*b/6,y:0},{x:v,y:-b},{x:-(3*b)/6,y:-b}],C,{cssStyles:E}=r;if(r.look==="handDrawn"){let S=Kr.svg(p),R=nn(r,{}),L=ps(T),_=S.path(L,R);C=p.insert(()=>_,":first-child").attr("transform",`translate(${-v/2}, ${b/2})`),E&&C.attr("style",E)}else C=mm(p,v,b,T);return o&&C.attr("style",o),r.width=v,r.height=b,un(r,C),r.intersect=function(S){return Vr.polygon(r,T,S)},p}var Z0r=ie(()=>{"use strict";na();wa();da();ba();JE();i(J0r,"lean_left")});async function emr(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.padding??0,h=l,f=r.look==="neo"?l*2:l,{shapeSvg:p,bbox:m}=await In(t,r,Nn(r)),b=Math.max(m.height+h,r.height??0),v=Math.max(m.width+f,(r.width??0)-b),T=[{x:-3*b/6,y:0},{x:v,y:0},{x:v+3*b/6,y:-b},{x:0,y:-b}],C,{cssStyles:E}=r;if(r.look==="handDrawn"){let S=Kr.svg(p),R=nn(r,{}),L=ps(T),_=S.path(L,R);C=p.insert(()=>_,":first-child").attr("transform",`translate(${-v/2}, ${b/2})`),E&&C.attr("style",E)}else C=mm(p,v,b,T);return o&&C.attr("style",o),r.width=v,r.height=b,un(r,C),r.intersect=function(S){return Vr.polygon(r,T,S)},p}var tmr=ie(()=>{"use strict";na();wa();da();ba();JE();i(emr,"lean_right")});function rmr(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.label="",r.labelStyle=a;let l=t.insert("g").attr("class",Nn(r)).attr("id",r.domId??r.id),{cssStyles:h}=r,f=Math.max(35,r?.width??0),p=Math.max(35,r?.height??0),m=7,b=[{x:f,y:0},{x:0,y:p+m/2},{x:f-2*m,y:p+m/2},{x:0,y:2*p},{x:f,y:p-m/2},{x:2*m,y:p-m/2}],v=Kr.svg(l),T=nn(r,{});r.look!=="handDrawn"&&(T.roughness=0,T.fillStyle="solid");let C=ps(b),E=v.path(C,T),S=l.insert(()=>E,":first-child");return S.attr("class","outer-path"),h&&r.look!=="handDrawn"&&S.selectAll("path").attr("style",h),o&&r.look!=="handDrawn"&&S.selectAll("path").attr("style",o),S.attr("transform",`translate(-${f/2},${-p})`),un(r,S),r.intersect=function(R){return Pe.info("lightningBolt intersect",r,R),Vr.polygon(r,b,R)},l}var nmr=ie(()=>{"use strict";Xn();na();da();ba();wa();na();i(rmr,"lightningBolt")});async function smr(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.padding??0,h=r.look==="neo"?16:l,f=r.look==="neo"?24:l;if(r.width||r.height){let _=r.width??0;r.width=(r.width??0)-h,r.widthP,":first-child").attr("class","line"),R=p.insert(()=>O,":first-child"),R.attr("class","basic label-container"),L&&R.attr("style",L)}else{let _=BMn(0,0,v,E,T,C,S);R=p.insert("path",":first-child").attr("d",_).attr("class","basic label-container outer-path").attr("style",Ac(L)).attr("style",o)}return R.attr("label-offset-y",C),R.attr("transform",`translate(${-v/2}, ${-(E/2+C)})`),un(r,R),b.attr("transform",`translate(${-(m.width/2)-(m.x-(m.left??0))}, ${-(m.height/2)+C-(m.y-(m.top??0))})`),r.intersect=function(_){let M=Vr.rect(r,_),I=M.x-(r.x??0);if(T!=0&&(Math.abs(I)<(r.width??0)/2||Math.abs(I)==(r.width??0)/2&&Math.abs(M.y-(r.y??0))>(r.height??0)/2-C)){let F=C*C*(1-I*I/(T*T));F>0&&(F=Math.sqrt(F)),F=C-F,_.y-(r.y??0)>0&&(F=-F),M.y+=F}return M},p}var BMn,FMn,$Mn,imr,amr,omr=ie(()=>{"use strict";na();wa();da();ba();Ia();BMn=i((t,r,a,o,l,h,f)=>[`M${t},${r+h}`,`a${l},${h} 0,0,0 ${a},0`,`a${l},${h} 0,0,0 ${-a},0`,`l0,${o}`,`a${l},${h} 0,0,0 ${a},0`,`l0,${-o}`,`M${t},${r+h+f}`,`a${l},${h} 0,0,0 ${a},0`].join(" "),"createCylinderPathD"),FMn=i((t,r,a,o,l,h,f)=>[`M${t},${r+h}`,`M${t+a},${r+h}`,`a${l},${h} 0,0,0 ${-a},0`,`l0,${o}`,`a${l},${h} 0,0,0 ${a},0`,`l0,${-o}`,`M${t},${r+h+f}`,`a${l},${h} 0,0,0 ${a},0`].join(" "),"createOuterCylinderPathD"),$Mn=i((t,r,a,o,l,h)=>[`M${t-a/2},${-o/2}`,`a${l},${h} 0,0,0 ${a},0`].join(" "),"createInnerCylinderPathD"),imr=10,amr=10;i(smr,"linedCylinder")});async function lmr(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.padding??0,h=r.look==="neo"?16:l,f=r.look==="neo"?12:l;if(r.width||r.height){let F=r.width;r.width=(F??0)*10/11-h*2,r.width<10&&(r.width=10),r.height=(r?.height??0)-f*2,r.height<10&&(r.height=10)}let{shapeSvg:p,bbox:m,label:b}=await In(t,r,Nn(r)),v=(r?.width?r?.width:m.width)+(h??0)*2,T=(r?.height?r?.height:m.height)+(f??0)*2,C=r.look==="neo"?T/4:T/8,E=T+C,{cssStyles:S}=r,R=Kr.svg(p),L=nn(r,{});r.look!=="handDrawn"&&(L.roughness=0,L.fillStyle="solid");let _=[{x:-v/2-v/2*.1,y:-E/2},{x:-v/2-v/2*.1,y:E/2},...YT(-v/2-v/2*.1,E/2,v/2+v/2*.1,E/2,C,.8),{x:v/2+v/2*.1,y:-E/2},{x:-v/2-v/2*.1,y:-E/2},{x:-v/2,y:-E/2},{x:-v/2,y:E/2*1.1},{x:-v/2,y:-E/2}],M=R.polygon(_.map(F=>[F.x,F.y]),L),I=p.insert(()=>M,":first-child");return I.attr("class","basic label-container outer-path"),S&&r.look!=="handDrawn"&&I.selectAll("path").attr("style",S),o&&r.look!=="handDrawn"&&I.selectAll("path").attr("style",o),I.attr("transform",`translate(0,${-C/2})`),b.attr("transform",`translate(${-v/2+(r.padding??0)+v/2*.1/2-(m.x-(m.left??0))},${-T/2+(r.padding??0)-C-(m.y-(m.top??0))})`),un(r,I),r.intersect=function(F){return Vr.polygon(r,_,F)},p}var cmr=ie(()=>{"use strict";na();wa();ba();da();i(lmr,"linedWaveEdgedRect")});async function nO(t,r,a,o){let{labelStyles:l,nodeStyles:h}=tn(r);r.labelStyle=l;let f=a==="icon"||r.stereotype!==void 0?{...r,icon:a==="icon"?void 0:r.icon,stereotype:void 0}:r,{shapeSvg:p,bbox:m,label:b}=await In(t,f,Nn(r,`usecase-actor-variant usecase-actor-${a}`)),v=r.accessibleName??r.label;v&&p.attr("role","img").attr("aria-label",v),b.attr("class","label actor-label usecase-actor-label");let{theme:T,themeVariables:C}=Zt();dp(p,r.colorIndex,T,C.borderColorArray);let E,S;if(r.stereotype){let V=await d4(p,`\xAB${r.stereotype}\xBB`,{labelStyle:l,useHtmlLabels:r.useHtmlLabels,padding:0,centerLabel:!0,width:r.wrappingWidth});E=V.label.attr("class","label usecase-stereotype"),S=V.bbox}let R=p.append("g").attr("class",`usecase-actor-glyph ${zMn[a]}`).attr("style",h||null);await o(R,r),VMn(R,r,a);let L=r.padding??jMn,_=S?.height??0,M=DQe+umr+m.height+(S?_+hmr:0),I=Math.max(GMn,m.width,S?.width??0)+L*2,F=M+L*2,O=-M/2;R.attr("transform",`translate(0,${O+DQe/2})`);let P=O+DQe+umr;E&&S&&(P+=_/2,pmr(E,S,P),P+=_/2+hmr),pmr(b,m,P+m.height/2);let G=p.insert("rect",":first-child").attr("class","usecase-actor-outline").attr("x",-I/2).attr("y",-F/2).attr("width",I).attr("height",F).attr("opacity",0).attr("aria-hidden","true");return un(r,G),r.intersect=V=>Vr.rect(r,V),p}async function mmr(t,r){return nO(t,r,"normal",(a,o)=>{tre(a,o,HMn,"usecase-actor-stick")})}var GMn,DQe,umr,hmr,jMn,zMn,fmr,dmr,_Qe,UMn,pmr,tre,gmr,VMn,HMn,rre=ie(()=>{"use strict";ba();ma();b0();wa();da();na();GMn=56,DQe=72,umr=8,hmr=2,jMn=8,zMn={normal:"usecase-actor-shape usecase-actor-normal",hollow:"usecase-actor-hollow",awesome:"usecase-actor-awesome",icon:"usecase-actor-icon"},fmr=Math.PI/3,dmr=.6,_Qe=i((t,r)=>{let a=r*dmr,o=r*Math.sqrt(1-dmr**2),l=Math.cos(fmr),h=-Math.sin(fmr),f=a*-h,p=t+a*l,m=o*l,b=o*h;return`M ${f-m} ${p-b} L ${f+m} ${p+b}`},"businessMarkerPathForCircle"),UMn={normal:_Qe(-24,12),hollow:_Qe(-23,9),awesome:_Qe(-21,13),icon:"M 12 -8 L 26 -26"},pmr=i((t,r,a)=>{let o=(r.x??0)-(r.left??0),l=(r.y??0)-(r.top??0);t.attr("transform",`translate(${-r.width/2-o},${a-r.height/2-l})`)},"positionLabel"),tre=i((t,r,a,o,l=!1)=>{if(r.look==="handDrawn"){let p=Kr.svg(t).path(a,nn(r,l?{fill:"none"}:{}));return t.insert(()=>p,":first-child").attr("class",o)}let h=t.append("path").attr("class",o).attr("d",a);return l&&h.attr("fill","none"),h},"appendActorPath"),gmr=i((t,r,a,o,l,h,f=!1)=>{if(r.look==="handDrawn"){let b=Kr.svg(t).circle(a,o,l*2,nn(r,f?{fill:"none"}:{}));return t.insert(()=>b,":first-child").attr("class",h)}let p=t.append("circle").attr("class",h).attr("cx",a).attr("cy",o).attr("r",l);return f&&p.attr("fill","none"),p},"appendActorCircle"),VMn=i((t,r,a)=>{r.business&&t.append("path").attr("class","usecase-business-marker usecase-actor-business-marker").attr("d",UMn[a]).attr("fill","none").attr("style","stroke: inherit !important; stroke-width: inherit !important")},"appendBusinessActorMarker");i(nO,"renderUsecaseActor");HMn=["M 0 -12","C 6.627 -12 12 -17.373 12 -24","C 12 -30.627 6.627 -36 0 -36","C -6.627 -36 -12 -30.627 -12 -24","C -12 -17.373 -6.627 -12 0 -12 Z","M 0 -12 V 8","M -17 -5 H 17","M 0 8 L -15 28","M 0 8 L 15 28"].join(" ");i(mmr,"usecaseActor")});async function ymr(t,r){return nO(t,r,"awesome",(a,o)=>{tre(a,o,qMn,"usecase-actor-awesome-silhouette")})}var qMn,bmr=ie(()=>{"use strict";rre();qMn=["M 0 -34","C 7.18 -34 13 -28.18 13 -21","C 13 -13.82 7.18 -8 0 -8","C -7.18 -8 -13 -13.82 -13 -21","C -13 -28.18 -7.18 -34 0 -34 Z","M -24 25","C -24 7 -14 -3 0 -3","C 14 -3 24 7 24 25","C 24 28 21 30 18 30","H -18","C -21 30 -24 28 -24 25 Z"].join(" ");i(ymr,"usecaseActorAwesome")});async function vmr(t,r){return nO(t,r,"hollow",(a,o)=>{gmr(a,o,0,-23,9,"usecase-actor-hollow-head",!0),tre(a,o,WMn,"usecase-actor-hollow-body",!0)})}var WMn,wmr=ie(()=>{"use strict";rre();WMn=["M -22 -10","H 22","V 0","H 6","L 22 17","L 13 28","L 0 13","L -13 28","L -22 17","L -6 0","H -22","Z"].join(" ");i(vmr,"usecaseActorHollow")});async function kmr(t,r){return nO(t,r,"icon",YMn)}var Mz,xmr,Tmr,YMn,Cmr=ie(()=>{"use strict";ba();zT();da();rre();Mz=52,xmr=42,Tmr=-2,YMn=i(async(t,r)=>{let a=-Mz/2,o=Tmr-Mz/2;if(r.look==="handDrawn"){let v=Kr.svg(t).rectangle(a,o,Mz,Mz,nn(r,{}));t.insert(()=>v,":first-child").attr("class","usecase-actor-icon-frame")}else t.append("rect").attr("class","usecase-actor-icon-frame").attr("x",a).attr("y",o).attr("width",Mz).attr("height",Mz).attr("rx",4).attr("ry",4);let l=r.icon??"",h=await sbe(l.includes(":")?l:`fa:${l}`),f=await hm(l,{height:xmr,width:xmr,fallbackPrefix:"fa"}),p=t.append("g").attr("class",`usecase-actor-icon-symbol${h?"":" usecase-actor-icon-fallback"}`).attr("aria-hidden","true").html(`${f}`),m=p.node()?.getBBox();m&&p.attr("transform",`translate(${-m.width/2-m.x},${Tmr-m.height/2-m.y})`)},"drawIconActor");i(kmr,"usecaseActorIcon")});async function Smr(t,r){let a=r,{labelStyles:o,nodeStyles:l}=tn(r);r.labelStyle=o;let h=a.stereotype?{...r,stereotype:void 0}:r,{shapeSvg:f,bbox:p,halfPadding:m,label:b}=await In(t,h,Nn(r,"usecase-business-shape"));b.attr("class","label usecase-label");let{theme:v,themeVariables:T}=Zt();dp(f,r.colorIndex,v,T.borderColorArray);let C,E;if(a.stereotype){let q=await d4(f,`\xAB${a.stereotype}\xBB`,{labelStyle:o,useHtmlLabels:r.useHtmlLabels,padding:0,centerLabel:!0,width:r.wrappingWidth});C=q.label.attr("class","label usecase-stereotype"),E=q.bbox}let S=E?2:0,R=p.height+(E?.height??0)+S,L=Math.max(p.width,E?.width??0),_=m??10,M=L/2+_*2,I=R/2+_*2,F=Math.min(Math.max(_/5,1),_/2),O=L/2+F,P=M-F,G=O/M,V=P/M,Y=I*Math.sqrt(Math.max(0,1-G*G)),K=-I*Math.sqrt(Math.max(0,1-V*V));C&&E&&Emr(C,E,-R/2+E.height/2),Emr(b,p,R/2-p.height/2);let J;if(r.look==="handDrawn"){let Z=Kr.svg(f).ellipse(0,0,M*2,I*2,nn(r,{}));J=f.insert(()=>Z,":first-child").attr("class","basic label-container usecase-business-ellipse")}else J=f.insert("ellipse",":first-child").attr("class","basic label-container usecase-business-ellipse").attr("style",l).attr("rx",M).attr("ry",I).attr("cx",0).attr("cy",0);f.append("path").attr("class","usecase-business-marker").attr("d",`M ${O} ${Y} L ${P} ${K}`).attr("fill","none").attr("style",l||null);let H=a.accessibleName??a.label;return H&&f.attr("role","img").attr("aria-label",H),un(r,J),r.calcIntersect=(q,Z)=>Vr.ellipse(q,q.width/2,q.height/2,Z),r.intersect=q=>Vr.ellipse(r,M,I,q),f}var Emr,Amr=ie(()=>{"use strict";ba();ma();b0();wa();da();na();Emr=i((t,r,a)=>{let o=(r.x??0)-(r.left??0),l=(r.y??0)-(r.top??0);t.attr("transform",`translate(${-r.width/2-o},${a-r.height/2-l})`)},"positionLabel");i(Smr,"usecaseBusiness")});async function Lmr(t,r){let a=r,{labelStyles:o,nodeStyles:l}=tn(r),{stylesMap:h}=Jv(r);r.labelStyle=o;let{shapeSvg:f,bbox:p,label:m}=await In(t,r,Nn(r,"usecase-json-table"));f.attr("role","img"),a.accessibleName&&f.attr("aria-label",a.accessibleName),m.attr("class","label usecase-json-title");let b=f.append("g").attr("class","usecase-json-table-grid"),v=[];for(let q of a.jsonRows??[]){let Z=await d4(b,q.key,{labelStyle:o,useHtmlLabels:r.useHtmlLabels,padding:0,centerLabel:!0}),Q=await d4(b,q.value,{labelStyle:o,useHtmlLabels:r.useHtmlLabels,padding:0,centerLabel:!0});v.push({key:{label:Z.label.attr("class","label usecase-json-key"),bbox:Z.bbox},value:{label:Q.label.attr("class","label usecase-json-value"),bbox:Q.bbox}})}let T=Math.max(0,...v.map(({key:q})=>q.bbox.width))+MQe*2,C=Math.max(0,...v.map(({value:q})=>q.bbox.width))+MQe*2,E=p.width+MQe*2,S=Math.max(E,T+C),R=C+Math.max(0,S-T-C),L=p.height+Rmr*2,_=v.map(({key:q,value:Z})=>Math.max(q.bbox.height,Z.bbox.height)+Rmr*2),M=L+_.reduce((q,Z)=>q+Z,0),I=XMn(h.get("stroke-width")),F=S+I*2,O=M+I*2,P=-S/2,G=-M/2,V=r.look==="handDrawn"?Kr.svg(f):void 0,Y=V?nn(r,{}):void 0,K=i((q,Z,Q,W,te,z)=>{if(V&&Y){let re=V.rectangle(Q,W,te,z,Y);return q.insert(()=>re,":first-child").attr("class",Z)}return q.insert("rect",":first-child").attr("class",Z).attr("x",Q).attr("y",W).attr("width",te).attr("height",z).attr("style",l)},"insertCell"),J=K(f,"label-container usecase-json-border",-F/2,-O/2,F,O);K(b,"usecase-json-cell usecase-json-title-cell",P,G,S,L),b.node()?.append(m.node()),IQe(m,p,0,G+L/2);let H=G+L;return v.forEach(({key:q,value:Z},Q)=>{let W=_[Q],te=b.append("g").attr("class","usecase-json-row").attr("data-row-index",Q).attr("transform",`translate(0,${H})`);K(te,"usecase-json-cell usecase-json-key-cell",P,0,T,W),K(te,"usecase-json-cell usecase-json-value-cell",P+T,0,R,W),te.node()?.append(q.label.node(),Z.label.node()),IQe(q.label,q.bbox,P+T/2,W/2),IQe(Z.label,Z.bbox,P+T+R/2,W/2),H+=W}),un(r,J),r.intersect=q=>Vr.rect(r,q),f}var MQe,Rmr,KMn,IQe,XMn,Dmr=ie(()=>{"use strict";ba();wa();da();na();MQe=8,Rmr=4,KMn=1,IQe=i((t,r,a,o)=>{let l=(r.x??0)-(r.left??0),h=(r.y??0)-(r.top??0);t.attr("transform",`translate(${a-r.width/2-l},${o-r.height/2-h})`)},"positionLabel"),XMn=i(t=>{let r=Number.parseFloat(t??"");return Number.isFinite(r)&&r>=0?r:KMn},"numericStrokeWidth");i(Lmr,"usecaseJsonTable")});async function _mr(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.padding??0,h=r.look==="neo"?16:l,f=r.look==="neo"?12:l,p=r.look==="neo"?10:5;(r.width||r.height)&&(r.width=Math.max((r?.width??0)-h*2-2*p,10),r.height=Math.max((r?.height??0)-f*2-2*p,10));let{shapeSvg:m,bbox:b,label:v}=await In(t,r,Nn(r)),T=(r?.width?r?.width:b.width)+h*2+2*p,C=(r?.height?r?.height:b.height)+f*2+2*p,E=T-2*p,S=C-2*p,R=-E/2,L=-S/2,{cssStyles:_}=r,M=Kr.svg(m),I=nn(r,{}),F=[{x:R-p,y:L+p},{x:R-p,y:L+S+p},{x:R+E-p,y:L+S+p},{x:R+E-p,y:L+S},{x:R+E,y:L+S},{x:R+E,y:L+S-p},{x:R+E+p,y:L+S-p},{x:R+E+p,y:L-p},{x:R+p,y:L-p},{x:R+p,y:L},{x:R,y:L},{x:R,y:L+p}],O=[{x:R,y:L+p},{x:R+E-p,y:L+p},{x:R+E-p,y:L+S},{x:R+E,y:L+S},{x:R+E,y:L},{x:R,y:L}];r.look!=="handDrawn"&&(I.roughness=0,I.fillStyle="solid");let P=ps(F),G=M.path(P,I),V=ps(O),Y=M.path(V,I);r.look!=="handDrawn"&&(G=oQe(G),Y=oQe(Y));let K=m.insert("g",":first-child");return K.insert(()=>G),K.insert(()=>Y),K.attr("class","basic label-container outer-path"),_&&r.look!=="handDrawn"&&K.selectAll("path").attr("style",_),o&&r.look!=="handDrawn"&&K.selectAll("path").attr("style",o),v.attr("transform",`translate(${-(b.width/2)-p-(b.x-(b.left??0))}, ${-(b.height/2)+p-(b.y-(b.top??0))})`),un(r,K),r.intersect=function(J){return Vr.polygon(r,F,J)},m}var Mmr=ie(()=>{"use strict";na();da();ba();wa();i(_mr,"multiRect")});async function Imr(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let{shapeSvg:l,bbox:h,label:f}=await In(t,r,Nn(r)),p=r.padding??0,m=r.look==="neo"?16:p,b=r.look==="neo"?12:p,v=!0;(r.width||r.height)&&(v=!1,r.width=(r?.width??0)-m*2,r.height=(r?.height??0)-b*3);let T=Math.max(h.width,r?.width??0)+m*2,C=Math.max(h.height,r?.height??0)+b*3,E=r.look==="neo"?C/4:C/8,S=C+(v?E/2:-E/2),R=-T/2,L=-S/2,_=10,{cssStyles:M}=r,I=YT(R-_,L+S+_,R+T-_,L+S+_,E,.8),F=I?.[I.length-1],O=[{x:R-_,y:L+_},{x:R-_,y:L+S+_},...I,{x:R+T-_,y:F.y-_},{x:R+T,y:F.y-_},{x:R+T,y:F.y-2*_},{x:R+T+_,y:F.y-2*_},{x:R+T+_,y:L-_},{x:R+_,y:L-_},{x:R+_,y:L},{x:R,y:L},{x:R,y:L+_}],P=[{x:R,y:L+_},{x:R+T-_,y:L+_},{x:R+T-_,y:F.y-_},{x:R+T,y:F.y-_},{x:R+T,y:L},{x:R,y:L}],G=Kr.svg(l),V=nn(r,{});r.look!=="handDrawn"&&(V.roughness=0,V.fillStyle="solid");let Y=ps(O),K=G.path(Y,V),J=ps(P),H=G.path(J,V),q=l.insert(()=>K,":first-child");return q.insert(()=>H),q.attr("class","basic label-container outer-path"),M&&r.look!=="handDrawn"&&q.selectAll("path").attr("style",M),o&&r.look!=="handDrawn"&&q.selectAll("path").attr("style",o),q.attr("transform",`translate(0,${-E/2})`),f.attr("transform",`translate(${-(h.width/2)-_-(h.x-(h.left??0))}, ${-(h.height/2)+_-E-(h.y-(h.top??0))})`),un(r,q),r.intersect=function(Z){return Vr.polygon(r,O,Z)},l}var Nmr=ie(()=>{"use strict";na();wa();ba();da();i(Imr,"multiWaveEdgedRectangle")});async function Omr(t,r,{config:{themeVariables:a}}){let{labelStyles:o,nodeStyles:l}=tn(r);r.labelStyle=o,r.useHtmlLabels||$h(ii())||(r.centerLabel=!0);let{shapeSvg:f,bbox:p,label:m}=await In(t,r,Nn(r)),b=Math.max(p.width+(r.padding??0)*2,r?.width??0),v=Math.max(p.height+(r.padding??0)*2,r?.height??0),T=-b/2,C=-v/2,{cssStyles:E}=r,S=Kr.svg(f),R=nn(r,{fill:a.noteBkgColor,stroke:a.noteBorderColor});r.look!=="handDrawn"&&(R.roughness=0,R.fillStyle="solid");let L=S.rectangle(T,C,b,v,R),_=f.insert(()=>L,":first-child");return _.attr("class","basic label-container outer-path"),m.attr("class","label noteLabel"),E&&r.look!=="handDrawn"&&_.selectAll("path").attr("style",E),l&&r.look!=="handDrawn"&&_.selectAll("path").attr("style",l),m.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))}, ${-(p.height/2)-(p.y-(p.top??0))})`),un(r,_),r.intersect=function(M){return Vr.rect(r,M)},f}var Pmr=ie(()=>{"use strict";ba();wa();da();na();Qs();Qs();i(Omr,"note")});async function Bmr(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let{shapeSvg:l,bbox:h}=await In(t,r,Nn(r)),f=h.width+(r.padding??0),p=h.height+(r.padding??0),m=f+p,b=.5,v=[{x:m/2,y:0},{x:m,y:-m/2},{x:m/2,y:-m},{x:0,y:-m/2}],T,{cssStyles:C}=r;if(r.look==="handDrawn"){let E=Kr.svg(l),S=nn(r,{}),R=QMn(0,0,m),L=E.path(R,S);T=l.insert(()=>L,":first-child").attr("transform",`translate(${-m/2+b}, ${m/2})`),C&&T.attr("style",C)}else T=mm(l,m,m,v),T.attr("transform",`translate(${-m/2+b}, ${m/2})`);return o&&T.attr("style",o),un(r,T),r.calcIntersect=function(E,S){let R=E.width,L=[{x:R/2,y:0},{x:R,y:-R/2},{x:R/2,y:-R},{x:0,y:-R/2}];return Vr.polygon(E,L,S)},r.intersect=function(E){return this.calcIntersect(r,E)},l}var QMn,Fmr=ie(()=>{"use strict";na();wa();da();ba();JE();QMn=i((t,r,a)=>[`M${t+a/2},${r}`,`L${t+a},${r-a/2}`,`L${t+a/2},${r-a}`,`L${t},${r-a/2}`,"Z"].join(" "),"createDecisionBoxPathD");i(Bmr,"question")});async function $mr(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.padding??0,h=r.look==="neo"?21:l??0,f=r.look==="neo"?12:l??0,{shapeSvg:p,bbox:m,label:b}=await In(t,r,Nn(r)),v=m.width+(r.look==="neo"?h*2:h),T=Math.max(m.height+(r.look==="neo"?f*2:f),r.height??0),C=T/4,S=-Math.max(v,(r.width??0)-C)/2,R=-T/2,L=R/2,_=[{x:S+L,y:R},{x:S,y:0},{x:S+L,y:-R},{x:-S,y:-R},{x:-S,y:R}],{cssStyles:M}=r,I=Kr.svg(p),F=nn(r,{});r.look!=="handDrawn"&&(F.roughness=0,F.fillStyle="solid");let O=ps(_),P=I.path(O,F),G=p.insert(()=>P,":first-child");return G.attr("class","basic label-container outer-path"),M&&r.look!=="handDrawn"&&G.selectAll("path").attr("style",M),o&&r.look!=="handDrawn"&&G.selectAll("path").attr("style",o),G.attr("transform",`translate(${-L/2},0)`),b.attr("transform",`translate(${-L/2-m.width/2-(m.x-(m.left??0))}, ${-(m.height/2)-(m.y-(m.top??0))})`),un(r,G),r.intersect=function(V){return Vr.polygon(r,_,V)},p}var Gmr=ie(()=>{"use strict";na();wa();da();ba();i($mr,"rect_left_inv_arrow")});var JMn,QT,E2e=ie(()=>{"use strict";Qs();ma();jw();JMn=i(async(t,r,a,o=!1,l=!1)=>{let h=r||"";typeof h=="object"&&(h=h[0]);let f=Zt(),p=$h(f);return await zh(t,h,{style:a,isTitle:o,useHtmlLabels:p,markdown:!1,isNode:l,width:Number.POSITIVE_INFINITY},f)},"createLabel"),QT=JMn});async function jmr(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l;r.cssClasses?l="node "+r.cssClasses:l="node default";let h=t.insert("g").attr("class",l).attr("id",r.domId||r.id),f=h.insert("g"),p=h.insert("g").attr("class","label").attr("style",o),m=r.description,b=r.label,v=await QT(p,b,r.labelStyle,!0,!0),T={width:0,height:0};if($h(Zt())){let V=v.children[0],Y=dn(v);T=V.getBoundingClientRect(),Y.attr("width",T.width),Y.attr("height",T.height)}Pe.info("Text 2",m);let C=m||[],E=v.getBBox(),S=await QT(p,Array.isArray(C)?C.join("
    "):C,r.labelStyle,!0,!0),R=S.children[0],L=dn(S);T=R.getBoundingClientRect(),L.attr("width",T.width),L.attr("height",T.height);let _=(r.padding||0)/2;dn(S).attr("transform","translate( "+(T.width>E.width?0:(E.width-T.width)/2)+", "+(E.height+_+5)+")"),dn(v).attr("transform","translate( "+(T.width(Pe.debug("Rough node insert CXC",K),J),":first-child"),P=h.insert(()=>(Pe.debug("Rough node insert CXC",K),K),":first-child")}else P=f.insert("rect",":first-child"),G=f.insert("line"),P.attr("class","outer title-state").attr("style",o).attr("x",-T.width/2-_).attr("y",-T.height/2-_).attr("width",T.width+(r.padding||0)).attr("height",T.height+(r.padding||0)),G.attr("class","divider").attr("x1",-T.width/2-_).attr("x2",T.width/2+_).attr("y1",-T.height/2-_+E.height+_).attr("y2",-T.height/2-_+E.height+_);return un(r,P),r.intersect=function(V){return Vr.rect(r,V)},h}var zmr=ie(()=>{"use strict";Yo();na();E2e();wa();da();ba();ma();p4();Xn();Qs();i(jmr,"rectWithTitle")});async function Umr(t,r,{config:{themeVariables:a}}){let o=a?.radius??5,l={rx:o,ry:o,classes:"",labelPaddingX:(r?.padding??0)*1,labelPaddingY:(r?.padding??0)*1};return g4(t,r,l)}var Vmr=ie(()=>{"use strict";rO();i(Umr,"roundedRect")});async function Hmr(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.look==="neo"?16:r.padding??0,h=r.look==="neo"?12:r.padding??0,{shapeSvg:f,bbox:p,label:m}=await In(t,r,Nn(r)),b=(r?.width??p.width)+l*2+(r.look==="neo"?iO:iO*2),v=(r?.height??p.height)+h*2,T=b-iO,C=v,E=iO-b/2,S=-v/2,{cssStyles:R}=r,L=Kr.svg(f),_=nn(r,{});r.look!=="handDrawn"&&(_.roughness=0,_.fillStyle="solid");let M=[{x:E,y:S},{x:E+T,y:S},{x:E+T,y:S+C},{x:E-iO,y:S+C},{x:E-iO,y:S},{x:E,y:S},{x:E,y:S+C}],I=L.polygon(M.map(O=>[O.x,O.y]),_),F=f.insert(()=>I,":first-child");return F.attr("class","basic label-container outer-path").attr("style",Ac(R)),o&&r.look!=="handDrawn"&&F.selectAll("path").attr("style",o),R&&r.look!=="handDrawn"&&F.selectAll("path").attr("style",o),m.attr("transform",`translate(${iO/2-p.width/2-(p.x-(p.left??0))}, ${-(p.height/2)-(p.y-(p.top??0))})`),un(r,F),r.intersect=function(O){return Vr.rect(r,O)},f}var iO,qmr=ie(()=>{"use strict";na();wa();da();ba();Ia();iO=8;i(Hmr,"shadedProcess")});async function Wmr(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.padding??0,h=r.look==="neo"?16:l,f=r.look==="neo"?12:l;(r.width||r.height)&&(r.width=Math.max((r?.width??0)-h*2,10),r.height=Math.max((r?.height??0)/1.5-f*2,10));let{shapeSvg:p,bbox:m,label:b}=await In(t,r,Nn(r)),v=(r?.width?r?.width:m.width)+h*2,T=((r?.height?r?.height:m.height)+f*2)*1.5,C=v,E=T/1.5,S=-C/2,R=-E/2,{cssStyles:L}=r,_=Kr.svg(p),M=nn(r,{});r.look!=="handDrawn"&&(M.roughness=0,M.fillStyle="solid");let I=[{x:S,y:R},{x:S,y:R+E},{x:S+C,y:R+E},{x:S+C,y:R-E/2}],F=ps(I),O=_.path(F,M),P=p.insert(()=>O,":first-child");return P.attr("class","basic label-container outer-path"),L&&r.look!=="handDrawn"&&P.selectChildren("path").attr("style",L),o&&r.look!=="handDrawn"&&P.selectChildren("path").attr("style",o),P.attr("transform",`translate(0, ${E/4})`),b.attr("transform",`translate(${-C/2+(r.padding??0)-(m.x-(m.left??0))}, ${-E/4+(r.padding??0)-(m.y-(m.top??0))})`),un(r,P),r.intersect=function(G){return Vr.polygon(r,I,G)},p}var Ymr=ie(()=>{"use strict";na();wa();da();ba();i(Wmr,"slopedRect")});async function Kmr(t,r){let a=r.padding??0,o=r.look==="neo"?16:a*2,l=r.look==="neo"?12:a,h={rx:0,ry:0,classes:"",labelPaddingX:r.labelPaddingX??o,labelPaddingY:l},f=await g4(t,r,h);if(r.colorIndex!==void 0){let{theme:p,themeVariables:m}=Zt();dp(f,r.colorIndex,p,m.borderColorArray)}return f}var Xmr=ie(()=>{"use strict";ma();b0();rO();i(Kmr,"squareRect")});async function Qmr(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.padding??0,h=r.look==="neo"?40:l,f=r.look==="neo"?24:l,{shapeSvg:p,bbox:m}=await In(t,r,Nn(r)),{w:b,h:v}=ZMn(m,h,f),T=v/2,{cssStyles:C}=r,E=Kr.svg(p),S=nn(r,{});r.look!=="handDrawn"&&(S.roughness=0,S.fillStyle="solid");let R=[{x:-b/2+T,y:-v/2},{x:b/2-T,y:-v/2},...zw(-b/2+T,0,T,NQe,90,270),{x:b/2-T,y:v/2},...zw(b/2-T,0,T,NQe,270,450)],L=ps(R),_=E.path(L,S),M=p.insert(()=>_,":first-child");return M.attr("class","basic label-container outer-path"),C&&r.look!=="handDrawn"&&M.selectChildren("path").attr("style",C),o&&r.look!=="handDrawn"&&M.selectChildren("path").attr("style",o),un(r,M),r.intersect=function(I){return Vr.polygon(r,R,I)},p}var NQe,ZMn,Jmr=ie(()=>{"use strict";na();wa();da();ba();NQe=50,ZMn=i((t,r,a)=>{let o=t.height+a,l=o*Math.cos(Math.PI/(2*(NQe-1))),h=Math.sqrt(Math.max(0,l**2-t.height**2));return{w:Math.max(t.width+o/4+r,1.5*o+(o-l),t.width+r+o-h),h:o}},"stadiumDimensions");i(Qmr,"stadium")});async function Zmr(t,r){let a={rx:r.look==="neo"?3:5,ry:r.look==="neo"?3:5,classes:"flowchart-node"};return g4(t,r,a)}var e1r=ie(()=>{"use strict";rO();i(Zmr,"state")});function t1r(t,r,{config:{themeVariables:a}}){let{labelStyles:o,nodeStyles:l}=tn(r);r.labelStyle=o;let{cssStyles:h}=r,{lineColor:f,stateBorder:p,nodeBorder:m,nodeShadow:b}=a;(r.width||r.height)&&((r.width??0)<14&&(r.width=14),(r.height??0)<14&&(r.height=14)),r.width||(r.width=14),r.height||(r.height=14);let v=t.insert("g").attr("class","node default").attr("id",r.domId??r.id),T=Kr.svg(v),C=nn(r,{});r.look!=="handDrawn"&&(C.roughness=0,C.fillStyle="solid");let E=T.circle(0,0,r.width,{...C,stroke:f,strokeWidth:2}),S=p??m,R=(r.width??0)*5/14,L=T.circle(0,0,R,{...C,fill:S,stroke:S,strokeWidth:2,fillStyle:"solid"}),_=v.insert(()=>E,":first-child");if(_.insert(()=>L),r.look!=="handDrawn"&&_.attr("class","outer-path"),h&&_.selectAll("path").attr("style",h),l&&_.selectAll("path").attr("style",l),r.width<25&&b&&r.look!=="handDrawn"){let M=t.node()?.ownerSVGElement?.id??"",I=M?`${M}-drop-shadow-small`:"drop-shadow-small";_.attr("style",`filter:url(#${I})`)}return un(r,_),r.intersect=function(M){return Vr.circle(r,(r.width??0)/2,M)},v}var r1r=ie(()=>{"use strict";ba();wa();da();na();i(t1r,"stateEnd")});function n1r(t,r,{config:{themeVariables:a}}){let{lineColor:o,nodeShadow:l}=a;(r.width||r.height)&&((r.width??0)<14&&(r.width=14),(r.height??0)<14&&(r.height=14)),r.width||(r.width=14),r.height||(r.height=14);let h=t.insert("g").attr("class","node default").attr("id",r.domId||r.id),f;if(r.look==="handDrawn"){let m=Kr.svg(h).circle(0,0,r.width,ggr(o));f=h.insert(()=>m),f.attr("class","state-start").attr("r",(r.width??7)/2).attr("width",r.width??14).attr("height",r.height??14)}else f=h.insert("circle",":first-child"),f.attr("class","state-start").attr("r",(r.width??7)/2).attr("width",r.width??14).attr("height",r.height??14);if(r.width<25&&l&&r.look!=="handDrawn"){let p=t.node()?.ownerSVGElement?.id??"",m=p?`${p}-drop-shadow-small`:"drop-shadow-small";f.attr("style",`filter:url(#${m})`)}return un(r,f),r.intersect=function(p){return Vr.circle(r,(r.width??7)/2,p)},h}var i1r=ie(()=>{"use strict";ba();wa();da();na();i(n1r,"stateStart")});async function a1r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r?.padding??8,h=r.look==="neo"?28:l,f=r.look==="neo"?12:l,{shapeSvg:p,bbox:m}=await In(t,r,Nn(r)),b=Math.max(m.width+2*Iz+h,r.width??0),v=Math.max(m.height+f,r.height??0),T=b-2*Iz,C=v,E=-b/2,S=-v/2,R=[{x:0,y:0},{x:T,y:0},{x:T,y:-C},{x:0,y:-C},{x:0,y:0},{x:-8,y:0},{x:T+8,y:0},{x:T+8,y:-C},{x:-8,y:-C},{x:-8,y:0}];if(r.look==="handDrawn"){let L=Kr.svg(p),_=nn(r,{}),M=L.rectangle(E,S,T+16,C,_),I=L.line(E+Iz,S,E+Iz,S+C,_),F=L.line(E+Iz+T,S,E+Iz+T,S+C,_);p.insert(()=>I,":first-child"),p.insert(()=>F,":first-child");let O=p.insert(()=>M,":first-child"),{cssStyles:P}=r;O.attr("class","basic label-container").attr("style",Ac(P)),un(r,O)}else{let L=mm(p,T,C,R);o&&L.attr("style",o),un(r,L)}return r.intersect=function(L){return Vr.polygon(r,R,L)},p}var Iz,s1r=ie(()=>{"use strict";na();wa();da();ba();JE();Ia();Iz=8;i(a1r,"subroutine")});async function o1r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.padding??0,h=r.look==="neo"?16:l,f=r.look==="neo"?12:l;(r.width||r.height)&&(r.height=Math.max((r?.height??0)-f*2,10),r.width=Math.max((r?.width??0)-h*2-OQe*(r.height+f*2),10));let{shapeSvg:p,bbox:m}=await In(t,r,Nn(r)),b=(r?.height?r?.height:m.height)+f*2,v=OQe*b,T=OQe*b,E=(r?.width?r?.width:m.width)+h*2+v-v,S=b,R=-E/2,L=-S/2,{cssStyles:_}=r,M=Kr.svg(p),I=nn(r,{}),F=[{x:R-v/2,y:L},{x:R+E+v/2,y:L},{x:R+E+v/2,y:L+S},{x:R-v/2,y:L+S}],O=[{x:R+E-v/2,y:L+S},{x:R+E+v/2,y:L+S},{x:R+E+v/2,y:L+S-T}];r.look!=="handDrawn"&&(I.roughness=0,I.fillStyle="solid");let P=ps(F),G=M.path(P,I),V=ps(O),Y=M.path(V,{...I,fillStyle:"solid"}),K=p.insert(()=>Y,":first-child");return K.insert(()=>G,":first-child"),K.attr("class","basic label-container outer-path"),_&&r.look!=="handDrawn"&&K.selectAll("path").attr("style",_),o&&r.look!=="handDrawn"&&K.selectAll("path").attr("style",o),un(r,K),r.intersect=function(J){return Vr.polygon(r,F,J)},p}var OQe,l1r=ie(()=>{"use strict";na();da();ba();wa();OQe=.2;i(o1r,"taggedRect")});async function c1r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let{shapeSvg:l,bbox:h,label:f}=await In(t,r,Nn(r)),p=Math.max(h.width+(r.padding??0)*2,r?.width??0),m=Math.max(h.height+(r.padding??0)*2,r?.height??0),b=m/8,v=.2*p,T=.2*m,C=m+b,{cssStyles:E}=r,S=Kr.svg(l),R=nn(r,{});r.look!=="handDrawn"&&(R.roughness=0,R.fillStyle="solid");let L=[{x:-p/2-p/2*.1,y:C/2},...YT(-p/2-p/2*.1,C/2,p/2+p/2*.1,C/2,b,.8),{x:p/2+p/2*.1,y:-C/2},{x:-p/2-p/2*.1,y:-C/2}],_=-p/2+p/2*.1,M=-C/2-T*.4,I=[{x:_+p-v,y:(M+m)*1.3},{x:_+p,y:M+m-T},{x:_+p,y:(M+m)*.9},...YT(_+p,(M+m)*1.25,_+p-v,(M+m)*1.3,-m*.02,.5)],F=ps(L),O=S.path(F,R),P=ps(I),G=S.path(P,{...R,fillStyle:"solid"}),V=l.insert(()=>G,":first-child");return V.insert(()=>O,":first-child"),V.attr("class","basic label-container outer-path"),E&&r.look!=="handDrawn"&&V.selectAll("path").attr("style",E),o&&r.look!=="handDrawn"&&V.selectAll("path").attr("style",o),V.attr("transform",`translate(0,${-b/2})`),f.attr("transform",`translate(${-p/2+(r.padding??0)-(h.x-(h.left??0))},${-m/2+(r.padding??0)-b/2-(h.y-(h.top??0))})`),un(r,V),r.intersect=function(Y){return Vr.polygon(r,L,Y)},l}var u1r=ie(()=>{"use strict";na();wa();ba();da();i(c1r,"taggedWaveEdgedRectangle")});async function h1r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let{shapeSvg:l,bbox:h}=await In(t,r,Nn(r)),f=Math.max(h.width+(r.padding??0),r?.width||0),p=Math.max(h.height+(r.padding??0),r?.height||0),m=-f/2,b=-p/2,v=l.insert("rect",":first-child");return v.attr("class","text").attr("style",o).attr("rx",0).attr("ry",0).attr("x",m).attr("y",b).attr("width",f).attr("height",p),un(r,v),r.intersect=function(T){return Vr.rect(r,T)},l}var f1r=ie(()=>{"use strict";na();wa();da();i(h1r,"text")});async function g1r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.padding??0,h=r.look==="neo"?12:l/2,f=r.height??0;if(r.height&&(r.height=r.height-h,r.heightF,":first-child"),R=p.insert(()=>I,":first-child"),R.attr("class","basic label-container"),S&&R.attr("style",S)}else{let L=e9n(0,0,E,v,C,T);R=p.insert("path",":first-child").attr("d",L).attr("class","basic label-container").attr("style",Ac(S)).attr("style",o),R.attr("class","basic label-container outer-path"),S&&R.selectAll("path").attr("style",S),o&&R.selectAll("path").attr("style",o)}return R.attr("label-offset-x",C),R.attr("transform",`translate(${-E/2}, ${v/2} )`),b.attr("transform",`translate(${-(m.width/2)-C-(m.x-(m.left??0))}, ${-(m.height/2)-(m.y-(m.top??0))})`),un(r,R),r.intersect=function(L){let _=Vr.rect(r,L),M=_.y-(r.y??0);if(T!=0&&(Math.abs(M)<(r.height??0)/2||Math.abs(M)==(r.height??0)/2&&Math.abs(_.x-(r.x??0))>(r.width??0)/2-C)){let I=C*C*(1-M*M/(T*T));I!=0&&(I=Math.sqrt(Math.abs(I))),I=C-I,L.x-(r.x??0)>0&&(I=-I),_.x+=I}return _},p}var e9n,t9n,r9n,d1r,p1r,m1r=ie(()=>{"use strict";na();da();ba();wa();Ia();e9n=i((t,r,a,o,l,h)=>`M${t},${r} + a${l},${h} 0,0,1 0,${-o} + l${a},0 + a${l},${h} 0,0,1 0,${o} + M${a},${-o} + a${l},${h} 0,0,0 0,${o} + l${-a},0`,"createCylinderPathD"),t9n=i((t,r,a,o,l,h)=>[`M${t},${r}`,`M${t+a},${r}`,`a${l},${h} 0,0,0 0,${-o}`,`l${-a},0`,`a${l},${h} 0,0,0 0,${o}`,`l${a},0`].join(" "),"createOuterCylinderPathD"),r9n=i((t,r,a,o,l,h)=>[`M${t+a/2},${-o/2}`,`a${l},${h} 0,0,0 0,${o}`].join(" "),"createInnerCylinderPathD"),d1r=5,p1r=10;i(g1r,"tiltedCylinder")});async function y1r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.padding??0,h=(r.look==="neo",l),f=r.look==="neo"?l*2:l,{shapeSvg:p,bbox:m}=await In(t,r,Nn(r)),b=Math.max(m.height+h,r.height??0),v=Math.max(m.width+f,(r.width??0)-b),T=[{x:-3*b/6,y:0},{x:v+3*b/6,y:0},{x:v,y:-b},{x:0,y:-b}],C,{cssStyles:E}=r;if(r.look==="handDrawn"){let S=Kr.svg(p),R=nn(r,{}),L=ps(T),_=S.path(L,R);C=p.insert(()=>_,":first-child").attr("transform",`translate(${-v/2}, ${b/2})`),E&&C.attr("style",E)}else C=mm(p,v,b,T);return o&&C.attr("style",o),r.width=v,r.height=b,un(r,C),r.intersect=function(S){return Vr.polygon(r,T,S)},p}var b1r=ie(()=>{"use strict";na();wa();da();ba();JE();i(y1r,"trapezoid")});async function v1r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.padding??0,h=r.look==="neo"?16:l,f=r.look==="neo"?12:l,p=15,m=5;(r.width||r.height)&&(r.height=(r.height??0)-f*2,r.heightM,":first-child");return I.attr("class","basic label-container outer-path"),E&&r.look!=="handDrawn"&&I.selectChildren("path").attr("style",E),o&&r.look!=="handDrawn"&&I.selectChildren("path").attr("style",o),un(r,I),r.intersect=function(F){return Vr.polygon(r,L,F)},b}var w1r=ie(()=>{"use strict";na();wa();da();ba();i(v1r,"trapezoidalPentagon")});async function k1r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.padding??0,h=r.look==="neo"?l*2:l;(r.width||r.height)&&(r.width=((r?.width??0)-h)/2,r.widthM,":first-child").attr("transform",`translate(${-T/2}, ${T/2})`).attr("class","outer-path");return S&&r.look!=="handDrawn"&&I.selectChildren("path").attr("style",S),o&&r.look!=="handDrawn"&&I.selectChildren("path").attr("style",o),r.width=v,r.height=T,un(r,I),m.attr("transform",`translate(${-p.width/2-(p.x-(p.left??0))}, ${T/2-(p.height+(r.padding??0)/(b?2:1)-(p.y-(p.top??0)))})`),r.intersect=function(F){return Pe.info("Triangle intersect",r,E,F),Vr.polygon(r,E,F)},f}var x1r,T1r,C1r=ie(()=>{"use strict";Xn();na();wa();da();ba();na();rl();ma();x1r=10,T1r=10;i(k1r,"triangle")});async function E1r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.padding??0,h=r.look==="neo"?16:l,f=r.look==="neo"?12:l,p=!0;(r.width||r.height)&&(p=!1,r.width=(r?.width??0)-h*2,r.width<10&&(r.width=10),r.height=(r?.height??0)-f*2,r.height<10&&(r.height=10));let{shapeSvg:m,bbox:b,label:v}=await In(t,r,Nn(r)),T=(r?.width?r?.width:b.width)+(h??0)*2,C=(r?.height?r?.height:b.height)+(f??0)*2,E=r.look==="neo"?C/4:C/8,S=C+(p?E:-E),{cssStyles:R}=r,_=14-T,M=_>0?_/2:0,I=Kr.svg(m),F=nn(r,{});r.look!=="handDrawn"&&(F.roughness=0,F.fillStyle="solid");let O=[{x:-T/2-M,y:S/2},...YT(-T/2-M,S/2,T/2+M,S/2,E,.8),{x:T/2+M,y:-S/2},{x:-T/2-M,y:-S/2}],P=ps(O),G=I.path(P,F),V=m.insert(()=>G,":first-child");return V.attr("class","basic label-container outer-path"),R&&r.look!=="handDrawn"&&V.selectAll("path").attr("style",R),o&&r.look!=="handDrawn"&&V.selectAll("path").attr("style",o),V.attr("transform",`translate(0,${-E/2})`),v.attr("transform",`translate(${-T/2+(r.padding??0)-(b.x-(b.left??0))},${-C/2+(r.padding??0)-E-(b.y-(b.top??0))})`),un(r,V),r.intersect=function(Y){return Vr.polygon(r,O,Y)},m}var S1r=ie(()=>{"use strict";na();wa();ba();da();i(E1r,"waveEdgedRectangle")});async function A1r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.padding??0,h=r.look==="neo"?16:l,f=r.look==="neo"?20:l;if(r.width||r.height){r.width=r?.width??0,r.width<20&&(r.width=20),r.height=r?.height??0,r.height<10&&(r.height=10);let F=Math.min(r.height*.2,r.height/4);r.height=Math.ceil(r.height-f-F*(20/9)),r.width=r.width-h*2}let{shapeSvg:p,bbox:m}=await In(t,r,Nn(r)),b=(r?.width?r?.width:m.width)+h*2,v=(r?.height?r?.height:m.height)+f,T=v/8,C=v+T*2,{cssStyles:E}=r,S=Kr.svg(p),R=nn(r,{});r.look!=="handDrawn"&&(R.roughness=0,R.fillStyle="solid");let L=[{x:-b/2,y:C/2},...YT(-b/2,C/2,b/2,C/2,T,1),{x:b/2,y:-C/2},...YT(b/2,-C/2,-b/2,-C/2,T,-1)],_=ps(L),M=S.path(_,R),I=p.insert(()=>M,":first-child");return I.attr("class","basic label-container"),E&&r.look!=="handDrawn"&&I.selectAll("path").attr("style",E),o&&r.look!=="handDrawn"&&I.selectAll("path").attr("style",o),un(r,I),r.intersect=function(F){return Vr.polygon(r,L,F)},p}var R1r=ie(()=>{"use strict";na();wa();da();ba();i(A1r,"waveRectangle")});async function L1r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r.look==="neo"?16:r.padding??0,h=r.look==="neo"?12:r.padding??0;(r.width||r.height)&&(r.width=Math.max((r?.width??0)-l*2-pp,10),r.height=Math.max((r?.height??0)-h*2-pp,10));let{shapeSvg:f,bbox:p,label:m}=await In(t,r,Nn(r)),b=(r?.width?r?.width:p.width)+l*2+pp,v=(r?.height?r?.height:p.height)+h*2+pp,T=b-pp,C=v-pp,E=-T/2,S=-C/2,{cssStyles:R}=r,L=Kr.svg(f),_=nn(r,{}),M=[{x:E-pp,y:S-pp},{x:E-pp,y:S+C},{x:E+T,y:S+C},{x:E+T,y:S-pp}],I=`M${E-pp},${S-pp} L${E+T},${S-pp} L${E+T},${S+C} L${E-pp},${S+C} L${E-pp},${S-pp} + M${E-pp},${S} L${E+T},${S} + M${E},${S-pp} L${E},${S+C}`;r.look!=="handDrawn"&&(_.roughness=0,_.fillStyle="solid");let F=L.path(I,_),O=f.insert(()=>F,":first-child");return O.attr("transform",`translate(${pp/2}, ${pp/2})`),O.attr("class","basic label-container outer-path"),R&&r.look!=="handDrawn"&&O.selectAll("path").attr("style",R),o&&r.look!=="handDrawn"&&O.selectAll("path").attr("style",o),m.attr("transform",`translate(${-(p.width/2)+pp/2-(p.x-(p.left??0))}, ${-(p.height/2)+pp/2-(p.y-(p.top??0))})`),un(r,O),r.intersect=function(P){return Vr.polygon(r,M,P)},f}var pp,D1r=ie(()=>{"use strict";na();da();ba();wa();pp=10;i(L1r,"windowPane")});async function PQe(t,r){let a=r;a.alias&&(r.label=a.alias);let{theme:o,themeVariables:l}=ii(),{rowEven:h,rowOdd:f,nodeBorder:p,borderColorArray:m}=l;if(r.look==="handDrawn"){let{themeVariables:_e}=ii(),{background:Ce}=_e,Ve={...r,id:r.id+"-background",domId:(r.domId||r.id)+"-background",look:"default",cssStyles:["stroke: none",`fill: ${Ce}`]};await PQe(t,Ve)}let b=ii();r.useHtmlLabels=b.htmlLabels;let v=b.er?.diagramPadding??10,T=b.er?.entityPadding??6,{cssStyles:C}=r,{labelStyles:E,nodeStyles:S}=tn(r);if(a.attributes.length===0&&r.label){let _e={rx:0,ry:0,labelPaddingX:v,labelPaddingY:v*1.5,classes:""};c1(r.label,b)+_e.labelPaddingX*20){let _e=_.width+v*2-(O+P+G+V);O+=_e/J,P+=_e/J,G>0&&(G+=_e/J),V>0&&(V+=_e/J)}let q=O+P+G+V,Z=Kr.svg(L),Q=nn(r,{});r.look!=="handDrawn"&&(Q.roughness=0,Q.fillStyle="solid");let W=0;F.length>0&&(W=F.reduce((_e,Ce)=>_e+(Ce?.rowHeight??0),0));let te=Math.max(H.width+v*2,r?.width||0,q),z=Math.max((W??0)+_.height,r?.height||0),re=-te/2,ae=-z/2;if(L.selectAll("g:not(:first-child)").each((_e,Ce,Ve)=>{let De=dn(Ve[Ce]),qe=De.attr("transform"),Ue=0,We=0;if(qe){let ct=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(qe);ct&&(Ue=parseFloat(ct[1]),We=parseFloat(ct[2]),De.attr("class").includes("attribute-name")?Ue+=O:De.attr("class").includes("attribute-keys")?Ue+=O+P:De.attr("class").includes("attribute-comment")&&(Ue+=O+P+G))}De.attr("transform",`translate(${re+v/2+Ue}, ${We+ae+_.height+T/2})`)}),L.select(".name").attr("transform","translate("+-_.width/2+", "+(ae+T/2)+")"),o!=null&&_1r.has(o)){let _e=a.colorIndex??0;L.attr("data-color-id",`color-${_e%m.length}`)}let ce=Z.rectangle(re,ae,te,z,Q),le=L.insert(()=>ce,":first-child").attr("class","outer-path").attr("style",C.join(""));I.push(0);for(let[_e,Ce]of F.entries()){let De=(_e+1)%2===0&&Ce.yOffset!==0,qe=Z.rectangle(re,_.height+ae+Ce?.yOffset,te,Ce?.rowHeight,{...Q,fill:De?h:f,stroke:p});L.insert(()=>qe,"g.label").attr("style",C.join("")).attr("class",`row-rect-${De?"even":"odd"}`)}let de=1e-4,ve=ire(re,_.height+ae,te+re,_.height+ae,de),Se=Z.polygon(ve.map(_e=>[_e.x,_e.y]),Q);if(L.insert(()=>Se).attr("class","divider"),ve=ire(O+re,_.height+ae,O+re,z+ae,de),Se=Z.polygon(ve.map(_e=>[_e.x,_e.y]),Q),L.insert(()=>Se).attr("class","divider"),Y){let _e=O+P+re;ve=ire(_e,_.height+ae,_e,z+ae,de),Se=Z.polygon(ve.map(Ce=>[Ce.x,Ce.y]),Q),L.insert(()=>Se).attr("class","divider")}if(K){let _e=O+P+G+re;ve=ire(_e,_.height+ae,_e,z+ae,de),Se=Z.polygon(ve.map(Ce=>[Ce.x,Ce.y]),Q),L.insert(()=>Se).attr("class","divider")}for(let _e of I){let Ce=_.height+ae+_e;ve=ire(re,Ce,te+re,Ce,de),Se=Z.polygon(ve.map(Ve=>[Ve.x,Ve.y]),Q),L.insert(()=>Se).attr("class","divider")}if(un(r,le),S&&r.look!=="handDrawn")if(o!=null&&n9n.has(o))L.selectAll("path").attr("style",S);else{let Ce=S.split(";")?.filter(Ve=>Ve.includes("stroke"))?.map(Ve=>`${Ve}`).join("; ");L.selectAll("path").attr("style",Ce??""),L.selectAll(".row-rect-even path").attr("style",S)}return r.intersect=function(_e){return Vr.rect(r,_e)},L}async function nre(t,r,a,o=0,l=0,h=[],f=""){let p=t.insert("g").attr("class",`label ${h.join(" ")}`).attr("transform",`translate(${o}, ${l})`).attr("style",f);r!==GE(r)&&(r=GE(r),r=r.replaceAll("<","<").replaceAll(">",">"));let m=p.node().appendChild(await zh(p,r,{width:c1(r,a)+100,style:f,useHtmlLabels:a.htmlLabels},a));if(r.includes("<")||r.includes(">")){let v=m.children[0];for(v.textContent=v.textContent.replaceAll("<","<").replaceAll(">",">");v.childNodes[0];)v=v.childNodes[0],v.textContent=v.textContent.replaceAll("<","<").replaceAll(">",">")}let b=m.getBBox();if(lm(a.htmlLabels)){let v=m.children[0];v.style.textAlign="start";let T=dn(m);b=v.getBoundingClientRect(),T.attr("width",b.width),T.attr("height",b.height)}return b}function ire(t,r,a,o,l){return t===a?[{x:t-l/2,y:r},{x:t+l/2,y:r},{x:a+l/2,y:o},{x:a-l/2,y:o}]:[{x:t,y:r-l/2},{x:t,y:r+l/2},{x:a,y:o+l/2},{x:a,y:o-l/2}]}var _1r,n9n,M1r=ie(()=>{"use strict";na();wa();da();ba();rO();Qs();jw();rl();Yo();Ia();_1r=new Set(["redux-color","redux-dark-color"]),n9n=new Set(["redux","redux-dark","redux-color","redux-dark-color"]);i(PQe,"erBox");i(nre,"addText");i(ire,"lineToPolygon")});async function I1r(t,r,a,o,l=a.class.padding??12){let h=o?0:3,f=t.insert("g").attr("class",Nn(r)).attr("id",r.domId||r.id),p=null,m=null,b=null,v=null,T=0,C=0,E=0;if(p=f.insert("g").attr("class","annotation-group text"),r.annotations.length>0){let M=r.annotations[0];await S2e(p,{text:`\xAB${M}\xBB`},0),T=p.node().getBBox().height}m=f.insert("g").attr("class","label-group text"),await S2e(m,r,0,["font-weight: bolder"]);let S=m.node().getBBox();C=S.height,b=f.insert("g").attr("class","members-group text");let R=0;for(let M of r.members){let I=await S2e(b,M,R,[M.parseClassifier()]);R+=I+h}E=b.node().getBBox().height,E<=0&&(E=l/2),v=f.insert("g").attr("class","methods-group text");let L=0;for(let M of r.methods){let I=await S2e(v,M,L,[M.parseClassifier()]);L+=I+h}let _=f.node().getBBox();if(p!==null){let M=p.node().getBBox();p.attr("transform",`translate(${-M.width/2})`)}return m.attr("transform",`translate(${-S.width/2}, ${T})`),_=f.node().getBBox(),b.attr("transform",`translate(0, ${T+C+l*2})`),_=f.node().getBBox(),v.attr("transform",`translate(0, ${T+C+(E?E+l*4:l*2)})`),_=f.node().getBBox(),{shapeSvg:f,bbox:_}}async function S2e(t,r,a,o=[]){let l=t.insert("g").attr("class","label").attr("style",o.join("; ")),h=ii(),f="useHtmlLabels"in r?r.useHtmlLabels:lm(h.htmlLabels)??!0,p="";"text"in r?p=r.text:p=r.label,!f&&p.startsWith("\\")&&(p=p.substring(1)),bf(p)&&(f=!0);let m=await zh(l,_ee(Xv(p)),{width:c1(p,h)+50,classes:"markdown-node-label",useHtmlLabels:f},h),b,v=1;if(f){let T=m.children[0],C=dn(m);v=T.innerHTML.split("
    ").length,T.innerHTML.includes("")&&(v+=T.innerHTML.split("").length-1),await h2e(T),b=T.getBoundingClientRect(),C.attr("width",b.width),C.attr("height",b.height)}else{o.includes("font-weight: bolder")&&dn(m).selectAll("tspan").attr("font-weight",""),v=m.children.length;let T=m.children[0];(m.textContent===""||m.textContent.includes(">"))&&(T.textContent=p[0]+p.substring(1).replaceAll(">",">").replaceAll("<","<").trim(),p[1]===" "&&(T.textContent=T.textContent[0]+" "+T.textContent.substring(1))),T.textContent==="undefined"&&(T.textContent=""),b=m.getBBox()}return l.attr("transform","translate(0,"+(-b.height/(2*v)+a)+")"),b.height}var N1r=ie(()=>{"use strict";Yo();Qs();na();Ia();ma();jw();sQe();rl();i(I1r,"textHelper");i(S2e,"addText")});async function O1r(t,r){let a=Zt(),{theme:o,themeVariables:l}=a,{useGradient:h,borderColorArray:f}=l,p=a.class.padding??12,m=p,b=r.useHtmlLabels??lm(a.htmlLabels)??!0,v=r;v.annotations=v.annotations??[],v.members=v.members??[],v.methods=v.methods??[];let{shapeSvg:T,bbox:C}=await I1r(t,r,a,b,m);dp(T,r.colorIndex,o,f);let{labelStyles:E,nodeStyles:S}=tn(r);r.labelStyle=E,r.cssStyles=v.styles||"";let R=v.styles?.join(";")||S||"";r.cssStyles||(r.cssStyles=R.replaceAll("!important","").split(";"));let L=v.members.length===0&&v.methods.length===0&&!a.class?.hideEmptyMembersBox,_=Kr.svg(T),M=nn(r,{});r.look!=="handDrawn"&&(M.roughness=0,M.fillStyle="solid");let I=Math.max(r.width??0,C.width),F=Math.max(r.height??0,C.height),O=(r.height??0)>C.height;v.members.length===0&&v.methods.length===0?F+=m:v.members.length>0&&v.methods.length===0&&(F+=m*2);let P=-I/2,G=-F/2,V=L?p*2:v.members.length===0&&v.methods.length===0?-p:0;O&&(V=p*2);let Y=_.rectangle(P-p,G-p-(L?p:v.members.length===0&&v.methods.length===0?-p/2:0),I+2*p,F+2*p+V,M),K=T.insert(()=>Y,":first-child");K.attr("class","basic label-container outer-path");let J=K.node().getBBox(),H=T.select(".annotation-group").node().getBBox().height-(L?p/2:0)||0,q=T.select(".label-group").node().getBBox().height-(L?p/2:0)||0,Z=T.select(".members-group").node().getBBox().height-(L?p/2:0)||0,Q=(H+q+G+p-(G-p-(L?p:v.members.length===0&&v.methods.length===0?-p/2:0)))/2;if(T.selectAll(".text").each((W,te,z)=>{let re=dn(z[te]),ae=re.attr("transform"),ce=0;if(ae){let Se=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(ae);Se&&(ce=parseFloat(Se[2]))}let le=ce+G+p-(L?p:v.members.length===0&&v.methods.length===0?-p/2:0);if(re.attr("class").includes("methods-group")){let ve=Math.max(Z,m/2);O?le=Math.max(Q,H+q+ve+G+m*2+p)+m*2:le=H+q+ve+G+m*4+p}v.members.length===0&&v.methods.length===0&&a.class?.hideEmptyMembersBox&&(v.annotations.length>0?le=ce-m:le=ce),b||(le-=4);let de=P;(re.attr("class").includes("label-group")||re.attr("class").includes("annotation-group"))&&(de=-re.node()?.getBBox().width/2||0,T.selectAll("text").each(function(ve,Se,_e){window.getComputedStyle(_e[Se]).textAnchor==="middle"&&(de=0)})),re.attr("transform",`translate(${de}, ${le})`)}),v.members.length>0||v.methods.length>0||L){let W=H+q+G+p,te=_.line(J.x,W,J.x+J.width,W+.001,M);T.insert(()=>te).attr("class",`divider${r.look==="neo"&&!h?" neo-line":""}`).attr("style",R)}if(L||v.members.length>0||v.methods.length>0){let W=H+q+Z+G+m*2+p,te=_.line(J.x,O?Math.max(Q,W):W,J.x+J.width,(O?Math.max(Q,W):W)+.001,M);T.insert(()=>te).attr("class",`divider${r.look==="neo"&&!h?" neo-line":""}`).attr("style",R)}if(v.look!=="handDrawn"&&T.selectAll("path").attr("style",R),K.select(":nth-child(2)").attr("style",R),T.selectAll(".divider").select("path").attr("style",R),r.labelStyle?T.selectAll("span").attr("style",r.labelStyle):T.selectAll("span").attr("style",R),!b){let W=RegExp(/color\s*:\s*([^;]*)/),te=W.exec(R);if(te){let z=te[0].replace("color","fill");T.selectAll("tspan").attr("style",z)}else if(E){let z=W.exec(E);if(z){let re=z[0].replace("color","fill");T.selectAll("tspan").attr("style",re)}}}return un(r,K),r.intersect=function(W){return Vr.rect(r,W)},T}var P1r=ie(()=>{"use strict";na();ma();Yo();ba();da();wa();N1r();rl();b0();i(O1r,"classBox")});async function B1r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let l=r,h=r,f=20,p=20,m="verifyMethod"in r,b=Nn(r),v=Zt(),{themeVariables:T}=v,{borderColorArray:C,requirementEdgeLabelBackground:E}=T,S=v.layout==="elk"?"start":"center",R=t.insert("g").attr("class",b).attr("id",r.domId??r.id),L;m?L=await uA(R,`<<${l.type}>>`,0,r.labelStyle):L=await uA(R,"<<Element>>",0,r.labelStyle);let _=L,M=await uA(R,l.name,_,r.labelStyle+"; font-weight: bold;");if(_+=M+p,m){let J=await uA(R,`${l.requirementId?`ID: ${l.requirementId}`:""}`,_,r.labelStyle,S);_+=J;let H=await uA(R,`${l.text?`Text: ${l.text}`:""}`,_,r.labelStyle,S);_+=H;let q=await uA(R,`${l.risk?`Risk: ${l.risk}`:""}`,_,r.labelStyle,S);_+=q,await uA(R,`${l.verifyMethod?`Verification: ${l.verifyMethod}`:""}`,_,r.labelStyle,S)}else{let J=await uA(R,`${h.type?`Type: ${h.type}`:""}`,_,r.labelStyle,S);_+=J,await uA(R,`${h.docRef?`Doc Ref: ${h.docRef}`:""}`,_,r.labelStyle,S)}let I=(R.node()?.getBBox().width??200)+f,F=(R.node()?.getBBox().height??200)+f,O=-I/2,P=-F/2,G=Kr.svg(R),V=nn(r,{});r.look!=="handDrawn"&&(V.roughness=0,V.fillStyle="solid");let Y=G.rectangle(O,P,I,F,V),K=R.insert(()=>Y,":first-child");if(K.attr("class","basic label-container outer-path").attr("style",o),C?.length){let J=r.colorIndex??0;R.attr("data-color-id",`color-${J%C.length}`)}if(R.selectAll(".label").each((J,H,q)=>{let Z=dn(q[H]),Q=Z.attr("transform"),W=0,te=0;if(Q){let ce=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(Q);ce&&(W=parseFloat(ce[1]),te=parseFloat(ce[2]))}let z=te-F/2,re=O+f/2;(H===0||H===1)&&(re=W),Z.attr("transform",`translate(${re}, ${z+f})`)}),_>L+M+p){let J=P+L+M+p,H;if(r.look==="neo"){let Q=[[O,J],[O+I,J],[O+I,J+.001],[O,J+.001]];H=G.polygon(Q,V)}else H=G.line(O,J,O+I,J,V);R.insert(()=>H).attr("class","divider")}return un(r,K),r.intersect=function(J){return Vr.rect(r,J)},o&&r.look!=="handDrawn"&&(E||C?.length)&&R.selectAll("path").attr("style",o),R}async function uA(t,r,a,o="",l="center"){if(r==="")return 0;let h=t.insert("g").attr("class","label").attr("style",o),f=Zt(),p=f.htmlLabels??!0,m=await zh(h,_ee(Xv(r)),{width:c1(r,f)+50,classes:"markdown-node-label",useHtmlLabels:p,style:o},f),b;if(p){let v=m.children[0],T=dn(m);l==="start"&&dn(v).style("text-align","left"),b=v.getBoundingClientRect(),T.attr("width",b.width),T.attr("height",b.height)}else{let v=m.children[0];for(let T of v.children)o&&T.setAttribute("style",o);if(l==="start"){v.setAttribute("text-anchor","start");for(let T of v.children)T.setAttribute("text-anchor","start")}b=m.getBBox(),b.height+=6}return h.attr("transform",`translate(${-b.width/2},${-b.height/2+a})`),b.height}var F1r=ie(()=>{"use strict";na();wa();da();ba();Ia();ma();jw();Yo();i(B1r,"requirementBox");i(uA,"addText")});async function $1r(t,r,{config:a}){let{labelStyles:o,nodeStyles:l}=tn(r);r.labelStyle=o||"";let h=10,f=r.width;r.width=(r.width??200)-10;let{shapeSvg:p,bbox:m,label:b}=await In(t,r,Nn(r)),v=r.padding||10,T="",C;"ticket"in r&&r.ticket&&a?.kanban?.ticketBaseUrl&&(T=a?.kanban?.ticketBaseUrl.replace("#TICKET#",r.ticket),C=p.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",T).attr("target","_blank"));let E={useHtmlLabels:r.useHtmlLabels,labelStyle:r.labelStyle||"",width:r.width,img:r.img,padding:r.padding||8,centerLabel:!1},S,R;C?{label:S,bbox:R}=await d4(C,"ticket"in r&&r.ticket||"",E):{label:S,bbox:R}=await d4(p,"ticket"in r&&r.ticket||"",E);let{label:L,bbox:_}=await d4(p,"assigned"in r&&r.assigned||"",E);r.width=f;let M=10,I=r?.width||0,F=Math.max(R.height,_.height)/2,O=Math.max(m.height+M*2,r?.height||0)+F,P=-I/2,G=-O/2;b.attr("transform","translate("+(v-I/2)+", "+(-F-m.height/2)+")"),S.attr("transform","translate("+(v-I/2)+", "+(-F+m.height/2)+")"),L.attr("transform","translate("+(v+I/2-_.width-2*h)+", "+(-F+m.height/2)+")");let V,{rx:Y,ry:K}=r,{cssStyles:J}=r;if(r.look==="handDrawn"){let H=Kr.svg(p),q=nn(r,{}),Z=Y||K?H.path(Md(P,G,I,O,Y||0),q):H.rectangle(P,G,I,O,q);V=p.insert(()=>Z,":first-child"),V.attr("class","basic label-container").attr("style",J||null)}else{V=p.insert("rect",":first-child"),V.attr("class","basic label-container __APA__").attr("style",l).attr("rx",Y??5).attr("ry",K??5).attr("x",P).attr("y",G).attr("width",I).attr("height",O);let H="priority"in r&&r.priority;if(H){let q=p.append("line"),Z=P+2,Q=G+Math.floor((Y??0)/2),W=G+O-Math.floor((Y??0)/2);q.attr("x1",Z).attr("y1",Q).attr("x2",Z).attr("y2",W).attr("stroke-width","4").attr("stroke",i9n(H))}}return un(r,V),r.height=O,r.intersect=function(H){return Vr.rect(r,H)},p}var i9n,G1r=ie(()=>{"use strict";na();wa();p4();da();ba();i9n=i(t=>{switch(t){case"Very High":return"red";case"High":return"orange";case"Medium":return null;case"Low":return"blue";case"Very Low":return"lightblue"}},"colorFromPriority");i($1r,"kanbanItem")});async function j1r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let{shapeSvg:l,bbox:h,halfPadding:f,label:p}=await In(t,r,Nn(r)),m=h.width+10*f,b=h.height+8*f,v=.15*m,{cssStyles:T}=r,C=h.width+20,E=h.height+20,S=Math.max(m,C),R=Math.max(b,E);p.attr("transform",`translate(${-h.width/2}, ${-h.height/2})`);let L,_=`M0 0 + a${v},${v} 1 0,0 ${S*.25},${-1*R*.1} + a${v},${v} 1 0,0 ${S*.25},0 + a${v},${v} 1 0,0 ${S*.25},0 + a${v},${v} 1 0,0 ${S*.25},${R*.1} + + a${v},${v} 1 0,0 ${S*.15},${R*.33} + a${v*.8},${v*.8} 1 0,0 0,${R*.34} + a${v},${v} 1 0,0 ${-1*S*.15},${R*.33} + + a${v},${v} 1 0,0 ${-1*S*.25},${R*.15} + a${v},${v} 1 0,0 ${-1*S*.25},0 + a${v},${v} 1 0,0 ${-1*S*.25},0 + a${v},${v} 1 0,0 ${-1*S*.25},${-1*R*.15} + + a${v},${v} 1 0,0 ${-1*S*.1},${-1*R*.33} + a${v*.8},${v*.8} 1 0,0 0,${-1*R*.34} + a${v},${v} 1 0,0 ${S*.1},${-1*R*.33} + H0 V0 Z`;if(r.look==="handDrawn"){let M=Kr.svg(l),I=nn(r,{}),F=M.path(_,I);L=l.insert(()=>F,":first-child"),L.attr("class","basic label-container").attr("style",Ac(T))}else L=l.insert("path",":first-child").attr("class","basic label-container").attr("style",o).attr("d",_);return L.attr("transform",`translate(${-S/2}, ${-R/2})`),un(r,L),r.calcIntersect=function(M,I){return Vr.rect(M,I)},r.intersect=function(M){return Pe.info("Bang intersect",r,M),Vr.rect(r,M)},l}var z1r=ie(()=>{"use strict";Xn();na();wa();da();ba();Ia();i(j1r,"bang")});async function U1r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let{shapeSvg:l,bbox:h,halfPadding:f,label:p}=await In(t,r,Nn(r)),m=h.width+2*f,b=h.height+2*f,v=.15*m,T=.25*m,C=.35*m,E=.2*m,{cssStyles:S}=r,R,L=`M0 0 + a${v},${v} 0 0,1 ${m*.25},${-1*m*.1} + a${C},${C} 1 0,1 ${m*.4},${-1*m*.1} + a${T},${T} 1 0,1 ${m*.35},${m*.2} + + a${v},${v} 1 0,1 ${m*.15},${b*.35} + a${E},${E} 1 0,1 ${-1*m*.15},${b*.65} + + a${T},${v} 1 0,1 ${-1*m*.25},${m*.15} + a${C},${C} 1 0,1 ${-1*m*.5},0 + a${v},${v} 1 0,1 ${-1*m*.25},${-1*m*.15} + + a${v},${v} 1 0,1 ${-1*m*.1},${-1*b*.35} + a${E},${E} 1 0,1 ${m*.1},${-1*b*.65} + H0 V0 Z`;if(r.look==="handDrawn"){let _=Kr.svg(l),M=nn(r,{}),I=_.path(L,M);R=l.insert(()=>I,":first-child"),R.attr("class","basic label-container").attr("style",Ac(S))}else R=l.insert("path",":first-child").attr("class","basic label-container").attr("style",o).attr("d",L);return p.attr("transform",`translate(${-h.width/2}, ${-h.height/2})`),R.attr("transform",`translate(${-m/2}, ${-b/2})`),un(r,R),r.calcIntersect=function(_,M){return Vr.rect(_,M)},r.intersect=function(_){return Pe.info("Cloud intersect",r,_),Vr.rect(r,_)},l}var V1r=ie(()=>{"use strict";ba();Xn();Ia();wa();da();na();i(U1r,"cloud")});async function H1r(t,r){let{labelStyles:a,nodeStyles:o}=tn(r);r.labelStyle=a;let{shapeSvg:l,bbox:h,halfPadding:f,label:p}=await In(t,r,Nn(r)),m=h.width+8*f,b=h.height+2*f,v=5,T=r.look==="neo"?` + M${-m/2} ${b/2-v} + v${-b+2*v} + q0,-${v} ${v},-${v} + h${m-2*v} + q${v},0 ${v},${v} + v${b-v} + H${-m/2} + Z + `:` + M${-m/2} ${b/2-v} + v${-b+2*v} + q0,-${v} ${v},-${v} + h${m-2*v} + q${v},0 ${v},${v} + v${b-2*v} + q0,${v} ${-v},${v} + h${-(m-2*v)} + q${-v},0 ${-v},${-v} + Z + `;if(!r.domId)throw new Error(`defaultMindmapNode: node "${r.id}" is missing a domId \u2014 was render.ts domId prefixing skipped?`);let C=l.append("path").attr("id",r.domId).attr("class","node-bkg node-"+r.type).attr("style",o).attr("d",T);return l.append("line").attr("class","node-line-").attr("x1",-m/2).attr("y1",b/2).attr("x2",m/2).attr("y2",b/2),p.attr("transform",`translate(${-h.width/2}, ${-h.height/2})`),l.append(()=>p.node()),un(r,C),r.calcIntersect=function(E,S){return Vr.rect(E,S)},r.intersect=function(E){return Vr.rect(r,E)},l}var q1r=ie(()=>{"use strict";wa();da();na();i(H1r,"defaultMindmapNode")});async function W1r(t,r){let a={padding:r.padding??0};return C2e(t,r,a)}var Y1r=ie(()=>{"use strict";LQe();i(W1r,"mindmapCircle")});function A2e(t){return t in are}var a9n,s9n,are,sre=ie(()=>{"use strict";_gr();Ngr();Pgr();Fgr();jgr();Ugr();Hgr();Wgr();LQe();Kgr();Qgr();Zgr();t0r();n0r();a0r();o0r();c0r();d0r();g0r();y0r();v0r();x0r();k0r();A0r();L0r();_0r();I0r();O0r();B0r();$0r();j0r();U0r();H0r();W0r();K0r();Q0r();Z0r();tmr();nmr();omr();cmr();rre();bmr();wmr();Cmr();Amr();Dmr();Mmr();Nmr();Pmr();Fmr();Gmr();zmr();Vmr();qmr();Ymr();Xmr();Jmr();e1r();r1r();i1r();s1r();l1r();u1r();f1r();m1r();b1r();w1r();C1r();S1r();R1r();D1r();M1r();P1r();F1r();G1r();z1r();V1r();q1r();Y1r();a9n=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:Kmr},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:Umr},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:Qmr},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:a1r},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:f0r},{semanticName:"Data Store",name:"Data Store",shortName:"datastore",description:"Data flow diagram data store",aliases:["data-store"],handler:p0r},{semanticName:"Folder",name:"Folder",shortName:"folder",description:"Folder or directory",aliases:["directory"],handler:R0r},{semanticName:"Bucket",name:"Bucket",shortName:"bucket",description:"Object storage bucket",handler:Ogr},{semanticName:"Console",name:"Console (terminal window)",shortName:"console",description:"Terminal or console window",handler:Xgr},{semanticName:"Browser",name:"Browser",shortName:"browser",description:"Browser window",handler:zgr},{semanticName:"Person",name:"Person",shortName:"person",description:"Person (circular head above a rounded body)",handler:l0r},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:C2e},{semanticName:"Bang",name:"Bang",shortName:"bang",description:"Bang",aliases:["bang"],handler:j1r},{semanticName:"Cloud",name:"Cloud",shortName:"cloud",description:"cloud",aliases:["cloud"],handler:U1r},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:Bmr},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:N0r},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:emr},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:J0r},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:y1r},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:Y0r},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:b0r},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:h1r},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:Vgr},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:Hmr},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:n1r},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:t1r},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:D0r},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:P0r},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:e0r},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:r0r},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:i0r},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:rmr},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:E1r},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:M0r},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:g1r},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:smr},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:s0r},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:m0r},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:k1r},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:L1r},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:T0r},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:v1r},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:S0r},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:Wmr},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:Imr},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:_mr},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:Igr},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:Jgr},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:c1r},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:o1r},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:A1r},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:$mr},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:lmr}],s9n=i(()=>{let r=[...Object.entries({state:Zmr,choice:qgr,note:Omr,composite:Ygr,rectWithTitle:jmr,labelRect:X0r,block_arrow:Ggr,collapsedGroup:Bgr,iconSquare:V0r,iconCircle:G0r,icon:F0r,iconRounded:z0r,imageSquare:q0r,anchor:Dgr,kanbanItem:$1r,mindmapCircle:W1r,defaultMindmapNode:H1r,classBox:O1r,erBox:PQe,requirementBox:B1r,usecaseActor:mmr,usecaseActorHollow:vmr,usecaseActorAwesome:ymr,usecaseActorIcon:kmr,usecaseBusiness:Smr,usecaseEllipse:w0r,usecaseJsonTable:Lmr}),...a9n.flatMap(a=>[a.shortName,..."aliases"in a?a.aliases:[],..."internalAliases"in a?a.internalAliases:[]].map(l=>[l,a.handler]))];return Object.fromEntries(r)},"generateShapeMap"),are=s9n();i(A2e,"isValidShape")});var o9n,l9n,c9n,BQe,u9n,h9n,f9n,d9n,p9n,FQe,g9n,K1r,m9n,$Qe,GQe=ie(()=>{"use strict";o9n=new Set(["system_queue","external_system_queue","container_queue","external_container_queue","component_queue","external_component_queue"]),l9n=new Set(["system_db","external_system_db","container_db","external_container_db","component_db","external_component_db"]),c9n={person:"person",box:"rounded",rounded:"rounded",cylinder:"cylinder",database:"cylinder",db:"cylinder",queue:"h-cyl",pipe:"h-cyl",component:"fr-rect"},BQe=i(t=>t?c9n[t.toLowerCase()]:void 0,"keywordShape"),u9n=i(t=>{let r=BQe(t.shape)??BQe(t.sprite);if(r)return r;if(t.tags)for(let o of t.tags.split(",")){let l=BQe(o.trim());if(l)return l}let a=t.typeC4Shape.text;return a==="person"||a==="external_person"?"person":l9n.has(a)?"cylinder":o9n.has(a)?"h-cyl":"rounded"},"resolveNodeShape"),h9n={person:"Person",system:"Software System",container:"Container",component:"Component"},f9n=i(t=>{let r=t.replace(/^external_/,"").replace(/_(db|queue)$/,"");return h9n[r]??r.replace(/_/g," ")},"stereotypeLabel"),d9n=i(t=>t.startsWith("external_"),"isExternal"),p9n=i(t=>{let r=f9n(t.typeC4Shape.text);return t.techn?.text?`[${r}: ${t.techn.text}]`:`[${r}]`},"stereotypeText"),FQe=["person","system","system_db","system_queue","container","container_db","container_queue","component","component_db","component_queue"].flatMap(t=>[t,`external_${t}`]),g9n=new Set(FQe),K1r=i(t=>g9n.has(t),"isC4ElementType"),m9n=i((t,r)=>{let a=t.typeC4Shape.text,o=t.bgColor??(K1r(a)&&r[`${a}_bg_color`]),l=t.borderColor??(K1r(a)&&r[`${a}_border_color`]),h=[];return o&&h.push(`fill:${o}`),l&&h.push(`stroke:${l}`),h.push(`color:${t.fontColor??"#FFFFFF"}`),h},"elementCssStyles"),$Qe=i((t,r,a,o,l)=>{let h=t.typeC4Shape.text,f=["c4-shape",`c4-${h}`];d9n(h)&&f.push("c4-external");let p=u9n(t),m=m9n(t,r);return(p==="rounded"||p==="fr-rect")&&m.push("rx:12px","ry:12px"),{id:t.alias,label:t.label.text,stereotype:p9n(t),description:t.descr?.text?[t.descr.text]:void 0,labelType:"string",isGroup:!1,shape:p,cssClasses:f.join(" "),cssStyles:m,padding:a,look:o,useHtmlLabels:!1,width:l}},"buildC4Node")});function aO(t,r,a,o,l){let h=r[t];if(!h.width)if(a)h.text=JN(h.text,l,o),h.textLines=h.text.split(Wn.lineBreakRegex).length,h.width=l,h.height=r2e(h.text,o);else{let f=h.text.split(Wn.lineBreakRegex);h.textLines=f.length;let p=0;h.height=0,h.width=0;for(let m of f)h.width=Math.max(c1(m,o),h.width),p=r2e(m,o),h.height=h.height+p}return h}async function eyr(t,r,a,o,l){let h=l.db,f=new L2e(l);f.data.widthLimit=a.data.widthLimit/Math.min(jQe,o.length);for(let[p,m]of o.entries()){let b=0;m.image={width:0,height:0,Y:0},m.sprite&&(m.image.width=48,m.image.height=48,m.image.Y=b,b=m.image.Y+m.image.height);let v=m.wrap&&Zs.wrap,T=R2e(Zs);T.fontSize=T.fontSize+2,T.fontWeight="bold";let C=aO("label",m,v,T,f.data.widthLimit);if(C.Y=b+8,b=C.Y+C.height,m.type&&m.type.text!==""){m.type.text="["+m.type.text+"]";let L=R2e(Zs),_=aO("type",m,v,L,f.data.widthLimit);_.Y=b+5,b=_.Y+_.height}if(m.descr&&m.descr.text!==""){let L=R2e(Zs);L.fontSize=L.fontSize-2;let _=aO("descr",m,v,L,f.data.widthLimit);_.Y=b+20,b=_.Y+_.height}if(p==0||p%jQe===0){let L=a.data.startx+Zs.diagramMarginX,_=a.data.stopy+Zs.diagramMarginY+b;f.setData(L,L,_,_)}else{let L=f.data.stopx!==f.data.startx?f.data.stopx+Zs.diagramMarginX:f.data.startx,_=f.data.starty;f.setData(L,L,_,_)}f.name=m.alias;let E=h.getC4ShapeArray(m.alias),S=h.getC4ShapeKeys(m.alias);S.length>0&&await Z1r(f,t,E,S),r=m.alias;let R=h.getBoundaries(r);R.length>0&&await eyr(t,r,f,R,l),m.alias!=="global"&&J1r(t,m,f),a.data.stopy=Math.max(f.data.stopy+Zs.c4ShapeMargin,a.data.stopy),a.data.stopx=Math.max(f.data.stopx+Zs.c4ShapeMargin,a.data.stopx),ore=Math.max(ore,a.data.stopx),lre=Math.max(lre,a.data.stopy)}}var ore,lre,Q1r,jQe,Zs,L2e,zQe,R2e,y9n,J1r,Z1r,UQe,X1r,b9n,v9n,w9n,VQe,tyr=ie(()=>{"use strict";$dr();Xn();Vqe();rl();tWe();ma();Jqe();Pj();Ia();xpr();Gh();sre();GQe();wa();ore=0,lre=0,Q1r=4,jQe=2;Lee.yy=Oee;Zs={},L2e=class{static{i(this,"Bounds")}constructor(r){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,zQe(r.db.getConfig())}setData(r,a,o,l){this.nextData.startx=this.data.startx=r,this.nextData.stopx=this.data.stopx=a,this.nextData.starty=this.data.starty=o,this.nextData.stopy=this.data.stopy=l}updateVal(r,a,o,l){r[a]===void 0?r[a]=o:r[a]=l(o,r[a])}insert(r){this.nextData.cnt=this.nextData.cnt+1;let a=this.nextData.stopx,o=this.data.widthLimit,l=this.nextData.startx===this.nextData.stopx?a+r.margin:a+r.margin*2,h=l+r.width,f=this.nextData.starty+r.margin*2,p=f+r.height;(l>=o||h>=o||this.nextData.cnt>Q1r)&&(l=this.nextData.startx+r.margin+Zs.nextLinePaddingX,f=this.nextData.stopy+r.margin*2,this.nextData.stopx=h=l+r.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=p=f+r.height,this.nextData.cnt=1),r.x=l,r.y=f,this.updateVal(this.data,"startx",l,Math.min),this.updateVal(this.data,"starty",f,Math.min),this.updateVal(this.data,"stopx",h,Math.max),this.updateVal(this.data,"stopy",p,Math.max),this.updateVal(this.nextData,"startx",l,Math.min),this.updateVal(this.nextData,"starty",f,Math.min),this.updateVal(this.nextData,"stopx",h,Math.max),this.updateVal(this.nextData,"stopy",p,Math.max)}init(r){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},zQe(r.db.getConfig())}bumpLastMargin(r){this.data.stopx+=r,this.data.stopy+=r}},zQe=i(function(t){Fh(Zs,t),t?.fontFamily&&(Zs.personFontFamily=Zs.systemFontFamily=Zs.messageFontFamily=t.fontFamily),t?.fontSize&&(Zs.personFontSize=Zs.systemFontSize=Zs.messageFontSize=t.fontSize),t?.fontWeight&&(Zs.personFontWeight=Zs.systemFontWeight=Zs.messageFontWeight=t.fontWeight)},"setConf"),R2e=i(t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight}),"boundaryFont"),y9n=i(t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),"messageFont");i(aO,"calcC4ShapeTextWH");J1r=i(function(t,r,a){let o=a.data.startx,l=a.data.starty;r.x=o,r.y=l,r.width=a.data.stopx-o,r.height=a.data.stopy-l,r.intersect=m=>Vr.rect({x:r.x+r.width/2,y:r.y+r.height/2,width:r.width,height:r.height},m),r.label.y=Zs.c4ShapeMargin-35;let h=r.wrap&&Zs.wrap,f=R2e(Zs);f.fontSize=f.fontSize+2,f.fontWeight="bold";let p=c1(r.label.text,f);aO("label",r,h,f,p),YE.drawBoundary(t,r,Zs)},"drawBoundary"),Z1r=i(async function(t,r,a,o){let l=Zt(),h=l.look??"classic",f={config:l},p=r.attr("id")??"",m=o.map(v=>a[Number(v)]),b=i(v=>{let T=v.shape?are[v.shape]:void 0;if(!T)throw new Error(`C4: no shape handler for "${v.shape}"`);return T},"shapeHandlerFor");await Promise.all(m.map(async v=>{let T=$Qe(v,Zs,Zs.c4ShapePadding,h,Zs.width);T.domId=`${p}-${T.id}`;let C=await b(T)(r,T,f);v.width=T.width??Zs.width,v.height=T.height??Zs.height,v.margin=Zs.c4ShapeMargin,C.remove()}));for(let v of m)t.insert(v);await Promise.all(m.map(async v=>{let T=$Qe(v,Zs,Zs.c4ShapePadding,h,Zs.width);T.domId=`${p}-${T.id}`,T.x=v.x+v.width/2,T.y=v.y+v.height/2;let C=r.append("g").attr("transform",`translate(${v.x+v.width/2}, ${v.y+v.height/2})`);await b(T)(C,T,f),v.intersect=T.intersect})),t.bumpLastMargin(Zs.c4ShapeMargin)},"drawC4ShapeArray"),UQe=class{static{i(this,"Point")}constructor(r,a){this.x=r,this.y=a}},X1r=i(function(t,r){if(!t.intersect)throw new Error(`C4 element "${t.alias}" has no intersect function. Please report this to https://github.com/mermaid-js/mermaid/issues`);let{x:a,y:o}=t.intersect(r);return new UQe(a,o)},"getIntersectPoint"),b9n=i(function(t,r){let a={x:0,y:0};a.x=r.x+r.width/2,a.y=r.y+r.height/2;let o=X1r(t,a);a.x=t.x+t.width/2,a.y=t.y+t.height/2;let l=X1r(r,a);return{startPoint:o,endPoint:l}},"getIntersectPoints"),v9n=i(function(t,r,a,o,l){let h=o.db.getC4Type(),f=0;for(let p of r){f=f+1;let m=p.wrap&&Zs.wrap,b=y9n(Zs);h==="C4Dynamic"&&(p.label.text=f+": "+p.label.text);let v=c1(p.label.text,b);aO("label",p,m,b,v),p.techn&&p.techn.text!==""&&(v=c1(p.techn.text,b),aO("techn",p,m,b,v)),p.descr&&p.descr.text!==""&&(v=c1(p.descr.text,b),aO("descr",p,m,b,v));let T=a(p.from),C=a(p.to);if(!T||!C)throw new Error(`C4 rel "${p.from}" -> "${p.to}" references an unknown shape or boundary`);let E=b9n(T,C);if(!E.startPoint||!E.endPoint)throw new Error(`Could not calculate intersection points for rel "${p.from}" -> "${p.to}"`);p.startPoint=E.startPoint,p.endPoint=E.endPoint}YE.drawRels(t,r,Zs,l)},"drawRels");i(eyr,"drawInsideBoundary");w9n=i(async function(t,r,a,o){Zs=pbe("c4");let l=Zt().securityLevel,{root:h}=wpr(r,l),f=o.db;f.setWrap(Zs.wrap),Q1r=f.getC4ShapeInRow(),jQe=f.getC4BoundaryInRow(),Pe.debug(`C:${JSON.stringify(Zs,null,2)}`);let p=h.select(`[id="${r}"]`);YE.insertComputerIcon(p,r),YE.insertDatabaseIcon(p,r),YE.insertClockIcon(p,r);let m=new L2e(o);m.setData(Zs.diagramMarginX,Zs.diagramMarginX,Zs.diagramMarginY,Zs.diagramMarginY),m.data.widthLimit=screen.availWidth,ore=Zs.diagramMarginX,lre=Zs.diagramMarginY;let b=f.getTitle(),v=f.getBoundaries("");await eyr(p,"",m,v,o),YE.insertArrowHead(p,r),YE.insertArrowEnd(p,r),YE.insertArrowCrossHead(p,r),YE.insertArrowFilledHead(p,r),v9n(p,f.getRels(),f.getC4Shape,o,r),m.data.stopx=ore,m.data.stopy=lre;let T=m.data,C=T.startx,E=T.starty,R=lre-E+2*Zs.diagramMarginY,L=ore-C,_=L+2*Zs.diagramMarginX;b&&p.append("text").text(b).attr("x",L/2-4*Zs.diagramMarginX).attr("y",E+Zs.diagramMarginY),vl(p,R,_,Zs.useMaxWidth);let M=b?60:0;p.attr("viewBox",C-Zs.diagramMarginX+" -"+(Zs.diagramMarginY+M)+" "+_+" "+(R+M)),Pe.debug("models:",T)},"draw"),VQe={drawPersonOrSystemArray:Z1r,drawBoundary:J1r,setConf:zQe,draw:w9n}});var x9n,T9n,ryr,nyr=ie(()=>{"use strict";ma();GQe();x9n=i(()=>{let t=Zt().c4??{},r=new CSSStyleSheet;for(let a of FQe){let o=r.cssRules[r.insertRule(`.c4-shape.c4-${a} .label {}`,r.cssRules.length)],l=t[`${a}FontFamily`],h=t[`${a}FontSize`],f=t[`${a}FontWeight`];l&&o.style.setProperty("font-family",l),h&&o.style.setProperty("font-size",typeof h=="number"?`${h}px`:h),f&&o.style.setProperty("font-weight",String(f))}return[...r.cssRules].filter(a=>a.style.length>0).map(a=>` ${a.cssText}`).join(` +`)},"elementFontStyles"),T9n=i(t=>`.person { + stroke: ${t.personBorder}; + fill: ${t.personBkg}; + } +${x9n()} + + /* The element font colour is set inline per element (default white); the + label text takes it via currentColor. */ + .c4-shape .label, + .c4-shape .label text { + color: inherit; + fill: currentColor; + } + /* Structurizr typography: bold name, smaller stereotype/type and description lines. */ + .c4-shape .label .c4-name { + font-weight: bold; + } + .c4-shape .label .c4-type { + font-size: 0.75em; + } + .c4-shape .label .c4-descr { + font-size: 0.82em; + } + .c4-shape .basic, + .c4-shape rect, + .c4-shape path, + .c4-shape circle, + .c4-shape ellipse, + .c4-shape line { + stroke-width: 2px; + } +`,"getStyles"),ryr=T9n});var iyr={};cs(iyr,{diagram:()=>k9n});var k9n,ayr=ie(()=>{"use strict";Vqe();tWe();tyr();nyr();k9n={parser:vlr,db:Oee,renderer:VQe,styles:ryr,init:i(({c4:t,wrap:r})=>{VQe.setConf(t),Oee.setWrap(r)},"init")}});function A9n(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function cre(){if(oyr)return BL;oyr=1;function t(f){return typeof f>"u"||f===null}i(t,"isNothing");function r(f){return typeof f=="object"&&f!==null}i(r,"isObject");function a(f){return Array.isArray(f)?f:t(f)?[]:[f]}i(a,"toArray");function o(f,p){if(p){let m=Object.keys(p);for(let b=0,v=m.length;bT&&(b=" ... ",h=p-T+b.length),f-p>T&&(v=" ...",f=p+T-v.length),{str:b+l.slice(h,f).replace(/\t/g,"\u2192")+v,pos:p-h+b.length}}i(r,"getLine");function a(l,h){return t.repeat(" ",h-l.length)+l}i(a,"padStart");function o(l,h){if(h=Object.create(h||null),!l.buffer)return null;h.maxLength||(h.maxLength=79),typeof h.indent!="number"&&(h.indent=1),typeof h.linesBefore!="number"&&(h.linesBefore=3),typeof h.linesAfter!="number"&&(h.linesAfter=2);let f=/\r?\n|\r|\0/g,p=[0],m=[],b,v=-1;for(;b=f.exec(l.buffer);)m.push(b.index),p.push(b.index+b[0].length),l.position<=b.index&&v<0&&(v=p.length-2);v<0&&(v=p.length-1);let T="",C=Math.min(l.line+h.linesAfter,m.length).toString().length,E=h.maxLength-(h.indent+C+3);for(let R=1;R<=h.linesBefore&&!(v-R<0);R++){let L=r(l.buffer,p[v-R],m[v-R],l.position-(p[v]-p[v-R]),E);T=t.repeat(" ",h.indent)+a((l.line-R+1).toString(),C)+" | "+L.str+` +`+T}let S=r(l.buffer,p[v],m[v],l.position,E);T+=t.repeat(" ",h.indent)+a((l.line+1).toString(),C)+" | "+S.str+` +`,T+=t.repeat("-",h.indent+C+3+S.pos)+`^ +`;for(let R=1;R<=h.linesAfter&&!(v+R>=m.length);R++){let L=r(l.buffer,p[v+R],m[v+R],l.position-(p[v]-p[v+R]),E);T+=t.repeat(" ",h.indent)+a((l.line+R+1).toString(),C)+" | "+L.str+` +`}return T.replace(/\n$/,"")}return i(o,"makeSnippet"),qQe=o,qQe}function Cb(){if(uyr)return WQe;uyr=1;let t=ure(),r=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];function o(h){let f={};return h!==null&&Object.keys(h).forEach(function(p){h[p].forEach(function(m){f[String(m)]=p})}),f}i(o,"compileStyleAliases");function l(h,f){if(f=f||{},Object.keys(f).forEach(function(p){if(r.indexOf(p)===-1)throw new t('Unknown option "'+p+'" is met in definition of "'+h+'" YAML type.')}),this.options=f,this.tag=h,this.kind=f.kind||null,this.resolve=f.resolve||function(){return!0},this.construct=f.construct||function(p){return p},this.instanceOf=f.instanceOf||null,this.predicate=f.predicate||null,this.represent=f.represent||null,this.representName=f.representName||null,this.defaultStyle=f.defaultStyle||null,this.multi=f.multi||!1,this.styleAliases=o(f.styleAliases||null),a.indexOf(this.kind)===-1)throw new t('Unknown kind "'+this.kind+'" is specified for "'+h+'" YAML type.')}return i(l,"Type2"),WQe=l,WQe}function Myr(){if(hyr)return YQe;hyr=1;let t=ure(),r=Cb();function a(h,f){let p=[];return h[f].forEach(function(m){let b=p.length;p.forEach(function(v,T){v.tag===m.tag&&v.kind===m.kind&&v.multi===m.multi&&(b=T)}),p[b]=m}),p}i(a,"compileList");function o(){let h={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function f(p){p.multi?(h.multi[p.kind].push(p),h.multi.fallback.push(p)):h[p.kind][p.tag]=h.fallback[p.tag]=p}i(f,"collectType");for(let p=0,m=arguments.length;p=48&&b<=57||b>=65&&b<=70||b>=97&&b<=102}i(a,"isHexCode");function o(b){return b>=48&&b<=55}i(o,"isOctCode");function l(b){return b>=48&&b<=57}i(l,"isDecCode");function h(b){if(b===null)return!1;let v=b.length,T=0,C=!1;if(!v)return!1;let E=b[T];if((E==="-"||E==="+")&&(E=b[++T]),E==="0"){if(T+1===v)return!0;if(E=b[++T],E==="b"){for(T++;T=0?"0b"+b.toString(2):"-0b"+b.toString(2).slice(1)},"binary"),octal:i(function(b){return b>=0?"0o"+b.toString(8):"-0o"+b.toString(8).slice(1)},"octal"),decimal:i(function(b){return b.toString(10)},"decimal"),hexadecimal:i(function(b){return b>=0?"0x"+b.toString(16).toUpperCase():"-0x"+b.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),tJe}function Gyr(){if(vyr)return rJe;vyr=1;let t=cre(),r=Cb(),a=new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),o=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function l(b){return b===null||!a.test(b)?!1:isFinite(parseFloat(b,10))?!0:o.test(b)}i(l,"resolveYamlFloat");function h(b){let v=b.toLowerCase(),T=v[0]==="-"?-1:1;return"+-".indexOf(v[0])>=0&&(v=v.slice(1)),v===".inf"?T===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:v===".nan"?NaN:T*parseFloat(v,10)}i(h,"constructYamlFloat");let f=/^[-+]?[0-9]+e/;function p(b,v){if(isNaN(b))switch(v){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===b)switch(v){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===b)switch(v){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(t.isNegativeZero(b))return"-0.0";let T=b.toString(10);return f.test(T)?T.replace("e",".e"):T}i(p,"representYamlFloat");function m(b){return Object.prototype.toString.call(b)==="[object Number]"&&(b%1!==0||t.isNegativeZero(b))}return i(m,"isFloat"),rJe=new r("tag:yaml.org,2002:float",{kind:"scalar",resolve:l,construct:h,predicate:m,represent:p,defaultStyle:"lowercase"}),rJe}function jyr(){return wyr||(wyr=1,nJe=Pyr().extend({implicit:[Byr(),Fyr(),$yr(),Gyr()]})),nJe}function zyr(){return xyr||(xyr=1,iJe=jyr()),iJe}function Uyr(){if(Tyr)return aJe;Tyr=1;let t=Cb(),r=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),a=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function o(f){return f===null?!1:r.exec(f)!==null||a.exec(f)!==null}i(o,"resolveYamlTimestamp");function l(f){let p=0,m=null,b=r.exec(f);if(b===null&&(b=a.exec(f)),b===null)throw new Error("Date resolve error");let v=+b[1],T=+b[2]-1,C=+b[3];if(!b[4])return new Date(Date.UTC(v,T,C));let E=+b[4],S=+b[5],R=+b[6];if(b[7]){for(p=b[7].slice(0,3);p.length<3;)p+="0";p=+p}if(b[9]){let _=+b[10],M=+(b[11]||0);m=(_*60+M)*6e4,b[9]==="-"&&(m=-m)}let L=new Date(Date.UTC(v,T,C,E,S,R,p));return m&&L.setTime(L.getTime()-m),L}i(l,"constructYamlTimestamp");function h(f){return f.toISOString()}return i(h,"representYamlTimestamp"),aJe=new t("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:o,construct:l,instanceOf:Date,represent:h}),aJe}function Vyr(){if(kyr)return sJe;kyr=1;let t=Cb();function r(a){return a==="<<"||a===null}return i(r,"resolveYamlMerge"),sJe=new t("tag:yaml.org,2002:merge",{kind:"scalar",resolve:r}),sJe}function Hyr(){if(Cyr)return oJe;Cyr=1;let t=Cb(),r=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;function a(f){if(f===null)return!1;let p=0,m=f.length,b=r;for(let v=0;v64)){if(T<0)return!1;p+=6}}return p%8===0}i(a,"resolveYamlBinary");function o(f){let p=f.replace(/[\r\n=]/g,""),m=p.length,b=r,v=0,T=[];for(let E=0;E>16&255),T.push(v>>8&255),T.push(v&255)),v=v<<6|b.indexOf(p.charAt(E));let C=m%4*6;return C===0?(T.push(v>>16&255),T.push(v>>8&255),T.push(v&255)):C===18?(T.push(v>>10&255),T.push(v>>2&255)):C===12&&T.push(v>>4&255),new Uint8Array(T)}i(o,"constructYamlBinary");function l(f){let p="",m=0,b=f.length,v=r;for(let C=0;C>18&63],p+=v[m>>12&63],p+=v[m>>6&63],p+=v[m&63]),m=(m<<8)+f[C];let T=b%3;return T===0?(p+=v[m>>18&63],p+=v[m>>12&63],p+=v[m>>6&63],p+=v[m&63]):T===2?(p+=v[m>>10&63],p+=v[m>>4&63],p+=v[m<<2&63],p+=v[64]):T===1&&(p+=v[m>>2&63],p+=v[m<<4&63],p+=v[64],p+=v[64]),p}i(l,"representYamlBinary");function h(f){return Object.prototype.toString.call(f)==="[object Uint8Array]"}return i(h,"isBinary"),oJe=new t("tag:yaml.org,2002:binary",{kind:"scalar",resolve:a,construct:o,predicate:h,represent:l}),oJe}function qyr(){if(Eyr)return lJe;Eyr=1;let t=Cb(),r=Object.prototype.hasOwnProperty,a=Object.prototype.toString;function o(h){if(h===null)return!0;let f=[],p=h;for(let m=0,b=p.length;m=48&&se<=57)return se-48;let ke=se|32;return ke>=97&&ke<=102?ke-97+10:-1}i(P,"fromHexCode");function G(se){return se===120?2:se===117?4:se===85?8:0}i(G,"escapedHexLen");function V(se){return se>=48&&se<=57?se-48:-1}i(V,"fromDecimalCode");function Y(se){switch(se){case 48:return"\0";case 97:return"\x07";case 98:return"\b";case 116:return" ";case 9:return" ";case 110:return` +`;case 118:return"\v";case 102:return"\f";case 114:return"\r";case 101:return"\x1B";case 32:return" ";case 34:return'"';case 47:return"/";case 92:return"\\";case 78:return"\x85";case 95:return"\xA0";case 76:return"\u2028";case 80:return"\u2029";default:return""}}i(Y,"simpleEscapeSequence");function K(se){return se<=65535?String.fromCharCode(se):String.fromCharCode((se-65536>>10)+55296,(se-65536&1023)+56320)}i(K,"charFromCodepoint");function J(se,ke,Le){ke==="__proto__"?Object.defineProperty(se,ke,{configurable:!0,enumerable:!0,writable:!0,value:Le}):se[ke]=Le}i(J,"setProperty");let H=new Array(256),q=new Array(256);for(let se=0;se<256;se++)H[se]=Y(se)?1:0,q[se]=Y(se);function Z(se,ke){this.input=se,this.filename=ke.filename||null,this.schema=ke.schema||o,this.onWarning=ke.onWarning||null,this.legacy=ke.legacy||!1,this.json=ke.json||!1,this.listener=ke.listener||null,this.maxDepth=typeof ke.maxDepth=="number"?ke.maxDepth:100,this.maxTotalMergeKeys=typeof ke.maxTotalMergeKeys=="number"?ke.maxTotalMergeKeys:1e4,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=se.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.depth=0,this.totalMergeKeys=0,this.firstTabInLine=-1,this.documents=[],this.anchorMapTransactions=[]}i(Z,"State");function Q(se,ke){let Le={name:se.filename,buffer:se.input.slice(0,-1),position:se.position,line:se.line,column:se.position-se.lineStart};return Le.snippet=a(Le),new r(ke,Le)}i(Q,"generateError");function W(se,ke){throw Q(se,ke)}i(W,"throwError");function te(se,ke){se.onWarning&&se.onWarning.call(null,Q(se,ke))}i(te,"throwWarning");function z(se,ke,Le){let he=se.anchorMapTransactions;if(he.length!==0){let Ne=he[he.length-1];l.call(Ne,ke)||(Ne[ke]={existed:l.call(se.anchorMap,ke),value:se.anchorMap[ke]})}se.anchorMap[ke]=Le}i(z,"storeAnchor");function re(se){se.anchorMapTransactions.push(Object.create(null))}i(re,"beginAnchorTransaction");function ae(se){let ke=se.anchorMapTransactions.pop(),Le=se.anchorMapTransactions;if(Le.length===0)return;let he=Le[Le.length-1],Ne=Object.keys(ke);for(let Ee=0,ye=Ne.length;Ee=0;he-=1){let Ne=ke[Le[he]];Ne.existed?se.anchorMap[Le[he]]=Ne.value:delete se.anchorMap[Le[he]]}}i(ce,"rollbackAnchorTransaction");function le(se){return{position:se.position,line:se.line,lineStart:se.lineStart,lineIndent:se.lineIndent,firstTabInLine:se.firstTabInLine,tag:se.tag,anchor:se.anchor,kind:se.kind,result:se.result}}i(le,"snapshotState");function de(se,ke){se.position=ke.position,se.line=ke.line,se.lineStart=ke.lineStart,se.lineIndent=ke.lineIndent,se.firstTabInLine=ke.firstTabInLine,se.tag=ke.tag,se.anchor=ke.anchor,se.kind=ke.kind,se.result=ke.result}i(de,"restoreState");let ve={YAML:i(function(ke,Le,he){ke.version!==null&&W(ke,"duplication of %YAML directive"),he.length!==1&&W(ke,"YAML directive accepts exactly one argument");let Ne=/^([0-9]+)\.([0-9]+)$/.exec(he[0]);Ne===null&&W(ke,"ill-formed argument of the YAML directive");let Ee=parseInt(Ne[1],10),ye=parseInt(Ne[2],10);Ee!==1&&W(ke,"unacceptable YAML version of the document"),ke.version=he[0],ke.checkLineBreaks=ye<2,ye!==1&&ye!==2&&te(ke,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:i(function(ke,Le,he){let Ne;he.length!==2&&W(ke,"TAG directive accepts exactly two arguments");let Ee=he[0];Ne=he[1],R.test(Ee)||W(ke,"ill-formed tag handle (first argument) of the TAG directive"),l.call(ke.tagMap,Ee)&&W(ke,'there is a previously declared suffix for "'+Ee+'" tag handle'),L.test(Ne)||W(ke,"ill-formed tag prefix (second argument) of the TAG directive");try{Ne=decodeURIComponent(Ne)}catch{W(ke,"tag prefix is malformed: "+Ne)}ke.tagMap[Ee]=Ne},"handleTagDirective")};function Se(se,ke,Le,he){if(ke=32&&be<=1114111||W(se,"expected valid JSON character")}else C.test(Ne)&&W(se,"the stream contains non-printable characters");se.result+=Ne}}i(Se,"captureSegment");function _e(se,ke,Le,he){t.isObject(Le)||W(se,"cannot merge mappings; the provided source object is unacceptable");let Ne=Object.keys(Le);for(let Ee=0,ye=Ne.length;Eese.maxTotalMergeKeys&&W(se,"merge keys exceeded maxTotalMergeKeys ("+se.maxTotalMergeKeys+")"),l.call(ke,be)||(J(ke,be,Le[be]),he[be]=!0)}}i(_e,"mergeMappings");function Ce(se,ke,Le,he,Ne,Ee,ye,be,ht){if(Array.isArray(Ne)){Ne=Array.prototype.slice.call(Ne);for(let Je=0,it=Ne.length;Je1&&(se.result+=t.repeat(` +`,ke-1))}i(Ue,"writeFoldedLines");function We(se,ke,Le){let he,Ne,Ee,ye,be,ht,Je=se.kind,it=se.result,lt=se.input.charCodeAt(se.position);if(F(lt)||O(lt)||lt===35||lt===38||lt===42||lt===33||lt===124||lt===62||lt===39||lt===34||lt===37||lt===64||lt===96)return!1;if(lt===63||lt===45){let Vt=se.input.charCodeAt(se.position+1);if(F(Vt)||Le&&O(Vt))return!1}for(se.kind="scalar",se.result="",he=Ne=se.position,Ee=!1;lt!==0;){if(lt===58){let Vt=se.input.charCodeAt(se.position+1);if(F(Vt)||Le&&O(Vt))break}else if(lt===35){let Vt=se.input.charCodeAt(se.position-1);if(F(Vt))break}else{if(se.position===se.lineStart&&qe(se)||Le&&O(lt))break;if(M(lt))if(ye=se.line,be=se.lineStart,ht=se.lineIndent,De(se,!1,-1),se.lineIndent>=ke){Ee=!0,lt=se.input.charCodeAt(se.position);continue}else{se.position=Ne,se.line=ye,se.lineStart=be,se.lineIndent=ht;break}}Ee&&(Se(se,he,Ne,!1),Ue(se,se.line-ye),he=Ne=se.position,Ee=!1),I(lt)||(Ne=se.position+1),lt=se.input.charCodeAt(++se.position)}return Se(se,he,Ne,!1),se.result?!0:(se.kind=Je,se.result=it,!1)}i(We,"readPlainScalar");function mt(se,ke){let Le,he,Ne=se.input.charCodeAt(se.position);if(Ne!==39)return!1;for(se.kind="scalar",se.result="",se.position++,Le=he=se.position;(Ne=se.input.charCodeAt(se.position))!==0;)if(Ne===39)if(Se(se,Le,se.position,!0),Ne=se.input.charCodeAt(++se.position),Ne===39)Le=se.position,se.position++,he=se.position;else return!0;else M(Ne)?(Se(se,Le,he,!0),Ue(se,De(se,!1,ke)),Le=he=se.position):se.position===se.lineStart&&qe(se)?W(se,"unexpected end of the document within a single quoted scalar"):(se.position++,I(Ne)||(he=se.position));W(se,"unexpected end of the stream within a single quoted scalar")}i(mt,"readSingleQuotedScalar");function ct(se,ke){let Le,he,Ne,Ee=se.input.charCodeAt(se.position);if(Ee!==34)return!1;for(se.kind="scalar",se.result="",se.position++,Le=he=se.position;(Ee=se.input.charCodeAt(se.position))!==0;){if(Ee===34)return Se(se,Le,se.position,!0),se.position++,!0;if(Ee===92){if(Se(se,Le,se.position,!0),Ee=se.input.charCodeAt(++se.position),M(Ee))De(se,!1,ke);else if(Ee<256&&H[Ee])se.result+=q[Ee],se.position++;else if((Ne=G(Ee))>0){let ye=Ne,be=0;for(;ye>0;ye--)Ee=se.input.charCodeAt(++se.position),(Ne=P(Ee))>=0?be=(be<<4)+Ne:W(se,"expected hexadecimal character");se.result+=K(be),se.position++}else W(se,"unknown escape sequence");Le=he=se.position}else M(Ee)?(Se(se,Le,he,!0),Ue(se,De(se,!1,ke)),Le=he=se.position):se.position===se.lineStart&&qe(se)?W(se,"unexpected end of the document within a double quoted scalar"):(se.position++,I(Ee)||(he=se.position))}W(se,"unexpected end of the stream within a double quoted scalar")}i(ct,"readDoubleQuotedScalar");function Ot(se,ke){let Le=!0,he,Ne,Ee,ye=se.tag,be,ht=se.anchor,Je,it,lt,Vt,$t=Object.create(null),gr,jt,qt,Wt=se.input.charCodeAt(se.position);if(Wt===91)Je=93,Vt=!1,be=[];else if(Wt===123)Je=125,Vt=!0,be={};else return!1;for(se.anchor!==null&&z(se,se.anchor,be),Wt=se.input.charCodeAt(++se.position);Wt!==0;){if(De(se,!0,ke),Wt=se.input.charCodeAt(se.position),Wt===Je)return se.position++,se.tag=ye,se.anchor=ht,se.kind=Vt?"mapping":"sequence",se.result=be,!0;if(Le?Wt===44&&W(se,"expected the node content, but found ','"):W(se,"missed comma between flow collection entries"),jt=gr=qt=null,it=lt=!1,Wt===63){let Ut=se.input.charCodeAt(se.position+1);F(Ut)&&(it=lt=!0,se.position++,De(se,!0,ke))}he=se.line,Ne=se.lineStart,Ee=se.position,Fe(se,ke,h,!1,!0),jt=se.tag,gr=se.result,De(se,!0,ke),Wt=se.input.charCodeAt(se.position),(lt||se.line===he)&&Wt===58&&(it=!0,Wt=se.input.charCodeAt(++se.position),De(se,!0,ke),Fe(se,ke,h,!1,!0),qt=se.result),Vt?Ce(se,be,$t,jt,gr,qt,he,Ne,Ee):it?be.push(Ce(se,null,$t,jt,gr,qt,he,Ne,Ee)):be.push(gr),De(se,!0,ke),Wt=se.input.charCodeAt(se.position),Wt===44?(Le=!0,Wt=se.input.charCodeAt(++se.position)):Le=!1}W(se,"unexpected end of the stream within a flow collection")}i(Ot,"readFlowCollection");function yr(se,ke){let Le,he=b,Ne=!1,Ee=!1,ye=ke,be=0,ht=!1,Je,it=se.input.charCodeAt(se.position);if(it===124)Le=!1;else if(it===62)Le=!0;else return!1;for(se.kind="scalar",se.result="";it!==0;)if(it=se.input.charCodeAt(++se.position),it===43||it===45)b===he?he=it===43?T:v:W(se,"repeat of a chomping mode identifier");else if((Je=V(it))>=0)Je===0?W(se,"bad explicit indentation width of a block scalar; it cannot be less than one"):Ee?W(se,"repeat of an indentation width identifier"):(ye=ke+Je-1,Ee=!0);else break;if(I(it)){do it=se.input.charCodeAt(++se.position);while(I(it));if(it===35)do it=se.input.charCodeAt(++se.position);while(!M(it)&&it!==0)}for(;it!==0;){for(Ve(se),se.lineIndent=0,it=se.input.charCodeAt(se.position);(!Ee||se.lineIndentye&&(ye=se.lineIndent),M(it)){be++;continue}if(!Ee&&ye===0&&W(se,"missing indentation for block scalar"),se.lineIndentke)&&ye!==0)W(se,"bad indentation of a sequence entry");else if(se.lineIndentke)&&(gr&&(Ne=se.line,Ee=se.lineStart,ye=se.position),Fe(se,ke,m,!0,he)&&(gr?Vt=se.result:$t=se.result),gr||(Ce(se,Je,it,lt,Vt,$t,Ne,Ee,ye),lt=Vt=$t=null),De(se,!0,-1),qt=se.input.charCodeAt(se.position)),(se.line===Ut||se.lineIndent>ke)&&qt!==0)W(se,"bad indentation of a mapping entry");else if(se.lineIndent=se.maxDepth&&W(se,"nesting exceeded maxDepth ("+se.maxDepth+")"),se.depth+=1,se.listener!==null&&se.listener("open",se),se.tag=null,se.anchor=null,se.kind=null,se.result=null;let gr=Ee=ye=m===Le||p===Le;if(he&&De(se,!0,-1)&&(ht=!0,se.lineIndent>ke?be=1:se.lineIndent===ke?be=0:se.lineIndentke?be=1:se.lineIndent===ke?be=0:se.lineIndent tag; it should be "scalar", not "'+se.kind+'"');for(let jt=0,qt=se.implicitTypes.length;jt"),se.result!==null&<.kind!==se.kind&&W(se,"unacceptable node kind for !<"+se.tag+'> tag; it should be "'+lt.kind+'", not "'+se.kind+'"'),lt.resolve(se.result,se.tag)?(se.result=lt.construct(se.result,se.tag),se.anchor!==null&&z(se,se.anchor,se.result)):W(se,"cannot resolve a node with !<"+se.tag+"> explicit tag")}return se.listener!==null&&se.listener("close",se),se.depth-=1,se.tag!==null||se.anchor!==null||Je}i(Fe,"composeNode");function je(se){let ke=se.position,Le=!1,he;for(se.version=null,se.checkLineBreaks=se.legacy,se.tagMap=Object.create(null),se.anchorMap=Object.create(null);(he=se.input.charCodeAt(se.position))!==0&&(De(se,!0,-1),he=se.input.charCodeAt(se.position),!(se.lineIndent>0||he!==37));){Le=!0,he=se.input.charCodeAt(++se.position);let Ne=se.position;for(;he!==0&&!F(he);)he=se.input.charCodeAt(++se.position);let Ee=se.input.slice(Ne,se.position),ye=[];for(Ee.length<1&&W(se,"directive name must not be less than one character in length");he!==0;){for(;I(he);)he=se.input.charCodeAt(++se.position);if(he===35){do he=se.input.charCodeAt(++se.position);while(he!==0&&!M(he));break}if(M(he))break;for(Ne=se.position;he!==0&&!F(he);)he=se.input.charCodeAt(++se.position);ye.push(se.input.slice(Ne,se.position))}he!==0&&Ve(se),l.call(ve,Ee)?ve[Ee](se,Ee,ye):te(se,'unknown document directive "'+Ee+'"')}if(De(se,!0,-1),se.lineIndent===0&&se.input.charCodeAt(se.position)===45&&se.input.charCodeAt(se.position+1)===45&&se.input.charCodeAt(se.position+2)===45?(se.position+=3,De(se,!0,-1)):Le&&W(se,"directives end mark is expected"),Fe(se,se.lineIndent-1,m,!1,!0),De(se,!0,-1),se.checkLineBreaks&&E.test(se.input.slice(ke,se.position))&&te(se,"non-ASCII line breaks are interpreted as content"),se.documents.push(se.result),se.position===se.lineStart&&qe(se)){se.input.charCodeAt(se.position)===46&&(se.position+=3,De(se,!0,-1));return}se.position"u"&&(Le=ke,ke=null);let he=He(se,Le);if(typeof ke!="function")return he;for(let Ne=0,Ee=he.length;Ne=32&&ye<=126||ye>=161&&ye<=55295&&ye!==8232&&ye!==8233||ye>=57344&&ye<=65533&&ye!==h||ye>=65536&&ye<=1114111}i(_e,"isPrintable");function Ce(ye){return _e(ye)&&ye!==h&&ye!==m&&ye!==p}i(Ce,"isNsCharOrWhitespace");function Ve(ye,be,ht){let Je=Ce(ye),it=Je&&!Se(ye);return(ht?Je:Je&&ye!==_&&ye!==V&&ye!==Y&&ye!==J&&ye!==q)&&ye!==C&&!(be===I&&!it)||Ce(be)&&!Se(be)&&ye===C||be===I&&it}i(Ve,"isPlainSafe");function De(ye){return _e(ye)&&ye!==h&&!Se(ye)&&ye!==M&&ye!==P&&ye!==I&&ye!==_&&ye!==V&&ye!==Y&&ye!==J&&ye!==q&&ye!==C&&ye!==S&&ye!==L&&ye!==v&&ye!==H&&ye!==F&&ye!==O&&ye!==R&&ye!==T&&ye!==E&&ye!==G&&ye!==K}i(De,"isPlainSafeFirst");function qe(ye){return!Se(ye)&&ye!==I}i(qe,"isPlainSafeLast");function Ue(ye,be){let ht=ye.charCodeAt(be),Je;return ht>=55296&&ht<=56319&&be+1=56320&&Je<=57343)?(ht-55296)*1024+Je-56320+65536:ht}i(Ue,"codePointAt");function We(ye){return/^\n* /.test(ye)}i(We,"needIndentIndicator");let mt=1,ct=2,Ot=3,yr=4,tr=5;function Xe(ye,be,ht,Je,it,lt,Vt,$t){let gr,jt=0,qt=null,Wt=!1,Ut=!1,rn=Je!==-1,pt=-1,$n=De(Ue(ye,0))&&qe(Ue(ye,ye.length-1));if(be||Vt)for(gr=0;gr=65536?gr+=2:gr++){if(jt=Ue(ye,gr),!_e(jt))return tr;$n=$n&&Ve(jt,qt,$t),qt=jt}else{for(gr=0;gr=65536?gr+=2:gr++){if(jt=Ue(ye,gr),jt===p)Wt=!0,rn&&(Ut=Ut||gr-pt-1>Je&&ye[pt+1]!==" ",pt=gr);else if(!_e(jt))return tr;$n=$n&&Ve(jt,qt,$t),qt=jt}Ut=Ut||rn&&gr-pt-1>Je&&ye[pt+1]!==" "}return!Wt&&!Ut?$n&&!Vt&&!it(ye)?mt:lt===ae?tr:ct:ht>9&&We(ye)?tr:Vt?lt===ae?tr:ct:Ut?yr:Ot}i(Xe,"chooseScalarStyle");function Rt(ye,be,ht,Je,it){ye.dump=(function(){if(be.length===0)return ye.quotingType===ae?'""':"''";if(!ye.noCompatMode&&(Q.indexOf(be)!==-1||W.test(be)))return ye.quotingType===ae?'"'+be+'"':"'"+be+"'";let lt=ye.indent*Math.max(1,ht),Vt=ye.lineWidth===-1?-1:Math.max(Math.min(ye.lineWidth,40),ye.lineWidth-lt),$t=Je||ye.flowLevel>-1&&ht>=ye.flowLevel;function gr(jt){return ve(ye,jt)}switch(i(gr,"testAmbiguity"),Xe(be,$t,ye.indent,Vt,gr,ye.quotingType,ye.forceQuotes&&!Je,it)){case mt:return be;case ct:return"'"+be.replace(/'/g,"''")+"'";case Ot:return"|"+ft(be,ye.indent)+bt(le(be,lt));case yr:return">"+ft(be,ye.indent)+bt(le(Me(be,Vt),lt));case tr:return'"'+je(be)+'"';default:throw new r("impossible error: invalid scalar style")}})()}i(Rt,"writeScalar");function ft(ye,be){let ht=We(ye)?String(be):"",Je=ye[ye.length-1]===` +`,lt=Je&&(ye[ye.length-2]===` +`||ye===` +`)?"+":Je?"":"-";return ht+lt+` +`}i(ft,"blockHeader");function bt(ye){return ye[ye.length-1]===` +`?ye.slice(0,-1):ye}i(bt,"dropEndingNewline");function Me(ye,be){let ht=/(\n+)([^\n]*)/g,Je=(function(){let $t=ye.indexOf(` +`);return $t=$t!==-1?$t:ye.length,ht.lastIndex=$t,Fe(ye.slice(0,$t),be)})(),it=ye[0]===` +`||ye[0]===" ",lt,Vt;for(;Vt=ht.exec(ye);){let $t=Vt[1],gr=Vt[2];lt=gr[0]===" ",Je+=$t+(!it&&!lt&&gr!==""?` +`:"")+Fe(gr,be),it=lt}return Je}i(Me,"foldString");function Fe(ye,be){if(ye===""||ye[0]===" ")return ye;let ht=/ [^ ]/g,Je,it=0,lt,Vt=0,$t=0,gr="";for(;Je=ht.exec(ye);)$t=Je.index,$t-it>be&&(lt=Vt>it?Vt:$t,gr+=` +`+ye.slice(it,lt),it=lt+1),Vt=$t;return gr+=` +`,ye.length-it>be&&Vt>it?gr+=ye.slice(it,Vt)+` +`+ye.slice(Vt+1):gr+=ye.slice(it),gr.slice(1)}i(Fe,"foldLine");function je(ye){let be="",ht=0;for(let Je=0;Je=65536?Je+=2:Je++){ht=Ue(ye,Je);let it=Z[ht];!it&&_e(ht)?(be+=ye[Je],ht>=65536&&(be+=ye[Je+1])):be+=it||z(ht)}return be}i(je,"escapeString");function He(ye,be,ht){let Je="",it=ye.tag;for(let lt=0,Vt=ht.length;lt"u"&&Le(ye,be,null,!1,!1))&&(Je!==""&&(Je+=","+(ye.condenseFlow?"":" ")),Je+=ye.dump)}ye.tag=it,ye.dump="["+Je+"]"}i(He,"writeFlowSequence");function nt(ye,be,ht,Je){let it="",lt=ye.tag;for(let Vt=0,$t=ht.length;Vt<$t;Vt+=1){let gr=ht[Vt];ye.replacer&&(gr=ye.replacer.call(ht,String(Vt),gr)),(Le(ye,be+1,gr,!0,!0,!1,!0)||typeof gr>"u"&&Le(ye,be+1,null,!0,!0,!1,!0))&&((!Je||it!=="")&&(it+=de(ye,be)),ye.dump&&p===ye.dump.charCodeAt(0)?it+="-":it+="- ",it+=ye.dump)}ye.tag=lt,ye.dump=it||"[]"}i(nt,"writeBlockSequence");function ze(ye,be,ht){let Je="",it=ye.tag,lt=Object.keys(ht);for(let Vt=0,$t=lt.length;Vt<$t;Vt+=1){let gr="";Je!==""&&(gr+=", "),ye.condenseFlow&&(gr+='"');let jt=lt[Vt],qt=ht[jt];ye.replacer&&(qt=ye.replacer.call(ht,jt,qt)),Le(ye,be,jt,!1,!1)&&(ye.dump.length>1024&&(gr+="? "),gr+=ye.dump+(ye.condenseFlow?'"':"")+":"+(ye.condenseFlow?"":" "),Le(ye,be,qt,!1,!1)&&(gr+=ye.dump,Je+=gr))}ye.tag=it,ye.dump="{"+Je+"}"}i(ze,"writeFlowMapping");function se(ye,be,ht,Je){let it="",lt=ye.tag,Vt=Object.keys(ht);if(ye.sortKeys===!0)Vt.sort();else if(typeof ye.sortKeys=="function")Vt.sort(ye.sortKeys);else if(ye.sortKeys)throw new r("sortKeys must be a boolean or a function");for(let $t=0,gr=Vt.length;$t1024;Ut&&(ye.dump&&p===ye.dump.charCodeAt(0)?jt+="?":jt+="? "),jt+=ye.dump,Ut&&(jt+=de(ye,be)),Le(ye,be+1,Wt,!0,Ut)&&(ye.dump&&p===ye.dump.charCodeAt(0)?jt+=":":jt+=": ",jt+=ye.dump,it+=jt)}ye.tag=lt,ye.dump=it||"{}"}i(se,"writeBlockMapping");function ke(ye,be,ht){let Je=ht?ye.explicitTypes:ye.implicitTypes;for(let it=0,lt=Je.length;it tag resolver accepts not "'+$t+'" style');ye.dump=gr}return!0}}return!1}i(ke,"detectType");function Le(ye,be,ht,Je,it,lt,Vt){ye.tag=null,ye.dump=ht,ke(ye,ht,!1)||ke(ye,ht,!0);let $t=o.call(ye.dump),gr=Je;Je&&(Je=ye.flowLevel<0||ye.flowLevel>be);let jt=$t==="[object Object]"||$t==="[object Array]",qt,Wt;if(jt&&(qt=ye.duplicates.indexOf(ht),Wt=qt!==-1),(ye.tag!==null&&ye.tag!=="?"||Wt||ye.indent!==2&&be>0)&&(it=!1),Wt&&ye.usedDuplicates[qt])ye.dump="*ref_"+qt;else{if(jt&&Wt&&!ye.usedDuplicates[qt]&&(ye.usedDuplicates[qt]=!0),$t==="[object Object]")Je&&Object.keys(ye.dump).length!==0?(se(ye,be,ye.dump,it),Wt&&(ye.dump="&ref_"+qt+ye.dump)):(ze(ye,be,ye.dump),Wt&&(ye.dump="&ref_"+qt+" "+ye.dump));else if($t==="[object Array]")Je&&ye.dump.length!==0?(ye.noArrayIndent&&!Vt&&be>0?nt(ye,be-1,ye.dump,it):nt(ye,be,ye.dump,it),Wt&&(ye.dump="&ref_"+qt+ye.dump)):(He(ye,be,ye.dump),Wt&&(ye.dump="&ref_"+qt+" "+ye.dump));else if($t==="[object String]")ye.tag!=="?"&&Rt(ye,ye.dump,be,lt,gr);else{if($t==="[object Undefined]")return!1;if(ye.skipInvalid)return!1;throw new r("unacceptable kind of an object to dump "+$t)}if(ye.tag!==null&&ye.tag!=="?"){let Ut=encodeURI(ye.tag[0]==="!"?ye.tag.slice(1):ye.tag).replace(/!/g,"%21");ye.tag[0]==="!"?Ut="!"+Ut:Ut.slice(0,18)==="tag:yaml.org,2002:"?Ut="!!"+Ut.slice(18):Ut="!<"+Ut+">",ye.dump=Ut+" "+ye.dump}}return!0}i(Le,"writeNode");function he(ye,be){let ht=[],Je=[];Ne(ye,ht,Je);let it=Je.length;for(let lt=0;lt{"use strict";i(A9n,"getDefaultExportFromCjs");iy={},D2e={},BL={};i(cre,"requireCommon");i(ure,"requireException");i(R9n,"requireSnippet");i(Cb,"requireType");i(Myr,"requireSchema");i(Iyr,"requireStr");i(Nyr,"requireSeq");i(Oyr,"requireMap");i(Pyr,"requireFailsafe");i(Byr,"require_null");i(Fyr,"requireBool");i($yr,"requireInt");i(Gyr,"requireFloat");i(jyr,"requireJson");i(zyr,"requireCore");i(Uyr,"requireTimestamp");i(Vyr,"requireMerge");i(Hyr,"requireBinary");i(qyr,"requireOmap");i(Wyr,"requirePairs");i(Yyr,"requireSet");i(dJe,"require_default");i(L9n,"requireLoader");fJe={};i(D9n,"requireDumper");i(_9n,"requireJsYaml");M9n=_9n(),I9n=A9n(M9n),{Type:A4a,Schema:R4a,FAILSAFE_SCHEMA:L4a,JSON_SCHEMA:m4,CORE_SCHEMA:D4a,DEFAULT_SCHEMA:_4a,load:y4,loadAll:M4a,dump:I4a,YAMLException:N4a,types:O4a,safeLoad:P4a,safeLoadAll:B4a,safeDump:F4a}=I9n});var N9n,_2e,Kyr=ie(()=>{"use strict";Yo();Nz();ma();Xn();sre();Ia();rl();xu();sA();bN();N9n="flowchart-",_2e=class{constructor(){this.vertexCounter=0;this.config=Zt();this.diagramId="";this.vertices=new Map;this.edges=[];this.classes=new Map;this.subGraphs=[];this.subGraphLookup=new Map;this.tooltips=new Map;this.subCount=0;this.firstGraphFlag=!0;this.secCount=-1;this.posCrossRef=[];this.funs=[];this.setAccTitle=Os;this.setAccDescription=js;this.setDiagramTitle=ao;this.getAccTitle=Ws;this.getAccDescription=Ys;this.getDiagramTitle=Js;this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}static{i(this,"FlowDB")}sanitizeText(r){return Wn.sanitizeText(r,this.config)}sanitizeNodeLabelType(r){switch(r){case"markdown":case"string":case"text":return r;default:return"markdown"}}setDiagramId(r){this.diagramId=r}lookUpDomId(r){for(let a of this.vertices.values())if(a.id===r)return this.diagramId?`${this.diagramId}-${a.domId}`:a.domId;return this.diagramId?`${this.diagramId}-${r}`:r}addVertex(r,a,o,l,h,f,p={},m){if(!r||r.trim().length===0)return;let b;if(m!==void 0){let S;m.includes(` +`)?S=m+` +`:S=`{ +`+m+` +}`,b=y4(S,{schema:m4})}let v=this.subGraphLookup.get(r);if(v&&b){v.metadata={...v.metadata,...b};return}let T=this.edges.find(S=>S.id===r);if(T){let S=b;S?.animate!==void 0&&(T.animate=S.animate),S?.animation!==void 0&&(T.animation=S.animation),S?.curve!==void 0&&(T.interpolate=S.curve);return}let C,E=this.vertices.get(r);if(E===void 0&&(a===void 0&&o===void 0&&l!==void 0&&l!==null&&Pe.warn(`Style applied to unknown node "${r}". This may indicate a typo. The node will be created automatically.`),E={id:r,labelType:"text",domId:N9n+r+"-"+this.vertexCounter,styles:[],classes:[]},this.vertices.set(r,E)),this.vertexCounter++,a!==void 0?(this.config=Zt(),C=this.sanitizeText(a.text.trim()),E.labelType=a.type,C.startsWith('"')&&C.endsWith('"')&&(C=C.substring(1,C.length-1)),E.text=C):E.text===void 0&&(E.text=r),o!==void 0&&(E.type=o),l?.forEach(S=>{E.styles.push(S)}),h?.forEach(S=>{E.classes.push(S)}),f!==void 0&&(E.dir=f),E.props===void 0?E.props=p:p!==void 0&&Object.assign(E.props,p),b!==void 0){if(b.shape){if(b.shape!==b.shape.toLowerCase()||b.shape.includes("_"))throw new Error(`No such shape: ${b.shape}. Shape names should be lowercase.`);if(!A2e(b.shape))throw new Error(`No such shape: ${b.shape}.`);E.type=b?.shape}b?.label&&(E.text=b?.label,E.labelType=this.sanitizeNodeLabelType(b?.labelType)),b?.icon&&(E.icon=b?.icon,!b.label?.trim()&&E.text===r&&(E.text="")),b?.form&&(E.form=b?.form),b?.pos&&(E.pos=b?.pos),b?.img&&(E.img=b?.img,!b.label?.trim()&&E.text===r&&(E.text="")),b?.constraint&&(E.constraint=b.constraint),b.w&&(E.assetWidth=Number(b.w)),b.h&&(E.assetHeight=Number(b.h))}}addSingleLink(r,a,o,l){let p={start:r,end:a,type:void 0,text:"",labelType:"text",classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};Pe.info("abc78 Got edge...",p);let m=o.text;if(m!==void 0&&(p.text=this.sanitizeText(m.text.trim()),p.text.startsWith('"')&&p.text.endsWith('"')&&(p.text=p.text.substring(1,p.text.length-1)),p.labelType=this.sanitizeNodeLabelType(m.type)),o!==void 0&&(p.type=o.type,p.stroke=o.stroke,p.length=o.length>10?10:o.length),l&&!this.edges.some(b=>b.id===l))p.id=l,p.isUserDefinedId=!0;else{let b=this.edges.filter(v=>v.start===p.start&&v.end===p.end);b.length===0?p.id=Qv(p.start,p.end,{counter:0,prefix:"L"}):p.id=Qv(p.start,p.end,{counter:b.length+1,prefix:"L"})}if(this.edges.length<(this.config.maxEdges??500))Pe.info("Pushing edge..."),this.edges.push(p);else throw new Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}. Initialize mermaid with maxEdges set to a higher number to allow more edges. You cannot set this config via configuration inside the diagram as it is a secure config. -You have to call mermaid.initialize.`)},lHe=function(i,a,u){Xe.info("addLink (abc78)",i,a,u);let d,p;for(d=0;d=V3.length)throw new Error(`The index ${u} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${V3.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);u==="default"?V3.defaultStyle=a:(So.isSubstringInArray("fill",a)===-1&&a.push("fill:none"),V3[u].style=a)})},dHe=function(i,a){i.split(",").forEach(function(u){VD[u]===void 0&&(VD[u]={id:u,styles:[],textStyles:[]}),a!=null&&a.forEach(function(d){if(d.match("color")){const p=d.replace("fill","bgFill").replace("color","fill");VD[u].textStyles.push(p)}VD[u].styles.push(d)})})},gHe=function(i){Kv=i,Kv.match(/.*/)&&(Kv="LR"),Kv.match(/.*v/)&&(Kv="TB"),Kv==="TD"&&(Kv="TB")},JQ=function(i,a){i.split(",").forEach(function(u){let d=u;ih[d]!==void 0&&ih[d].classes.push(a),GQ[d]!==void 0&&GQ[d].classes.push(a)})},qVt=function(i,a){i.split(",").forEach(function(u){a!==void 0&&(KQ[YQ==="gen-1"?CR(u):u]=QQ(a))})},HVt=function(i,a,u){let d=CR(i);if(qt().securityLevel!=="loose"||a===void 0)return;let p=[];if(typeof u=="string"){p=u.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let v=0;v")),p.classed("hover",!0)}).on("mouseout",function(){a.transition().duration(500).style("opacity",0),Dr(this).classed("hover",!1)})};XQ.push(THe);const EHe=function(i="gen-1"){ih={},VD={},V3=[],XQ=[THe],j7=[],GQ={},WQ=0,KQ={},hme=!0,YQ=i,UD=qt(),Rg()},CHe=i=>{YQ=i||"gen-2"},SHe=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},_He=function(i,a,u){let d=i.text.trim(),p=u.text;i===u&&u.text.match(/\s/)&&(d=void 0);function v(A){const P={boolean:{},number:{},string:{}},R=[];let B;return{nodeList:A.filter(function(W){const ee=typeof W;return W.stmt&&W.stmt==="dir"?(B=W.value,!1):W.trim()===""?!1:ee in P?P[ee].hasOwnProperty(W)?!1:P[ee][W]=!0:R.includes(W)?!1:R.push(W)}),dir:B}}let b=[];const{nodeList:y,dir:E}=v(b.concat.apply(b,a));if(b=y,YQ==="gen-1")for(let A=0;A2e3)return;if(AHe[SR]=a,j7[a].id===i)return{result:!0,count:0};let d=0,p=1;for(;d=0){const b=LHe(i,v);if(b.result)return{result:!0,count:p+b.count};p=p+b.count}d=d+1}return{result:!1,count:p}},MHe=function(i){return AHe[i]},DHe=function(){SR=-1,j7.length>0&&LHe("none",j7.length-1)},IHe=function(){return j7},OHe=()=>hme?(hme=!1,!0):!1,VVt=i=>{let a=i.trim(),u="arrow_open";switch(a[0]){case"<":u="arrow_point",a=a.slice(1);break;case"x":u="arrow_cross",a=a.slice(1);break;case"o":u="arrow_circle",a=a.slice(1);break}let d="normal";return a.includes("=")&&(d="thick"),a.includes(".")&&(d="dotted"),{type:u,stroke:d}},GVt=(i,a)=>{const u=a.length;let d=0;for(let p=0;p{const a=i.trim();let u=a.slice(0,-1),d="arrow_open";switch(a.slice(-1)){case"x":d="arrow_cross",a[0]==="x"&&(d="double_"+d,u=u.slice(1));break;case">":d="arrow_point",a[0]==="<"&&(d="double_"+d,u=u.slice(1));break;case"o":d="arrow_circle",a[0]==="o"&&(d="double_"+d,u=u.slice(1));break}let p="normal",v=u.length-1;u[0]==="="&&(p="thick"),u[0]==="~"&&(p="invisible");let b=GVt(".",u);return b&&(p="dotted",v=b),{type:d,stroke:p,length:v}},NHe=(i,a)=>{const u=KVt(i);let d;if(a){if(d=VVt(a),d.stroke!==u.stroke)return{type:"INVALID",stroke:"INVALID"};if(d.type==="arrow_open")d.type=u.type;else{if(d.type!==u.type)return{type:"INVALID",stroke:"INVALID"};d.type="double_"+d.type}return d.type==="double_arrow"&&(d.type="double_arrow_point"),d.length=u.length,d}return u},PHe=(i,a)=>{let u=!1;return i.forEach(d=>{d.nodes.indexOf(a)>=0&&(u=!0)}),u},BHe=(i,a)=>{const u=[];return i.nodes.forEach((d,p)=>{PHe(a,d)||u.push(i.nodes[p])}),{nodes:u}},FHe={firstGraph:OHe},UC={defaultConfig:()=>T$e.flowchart,setAccTitle:jg,getAccTitle:Mp,getAccDescription:Ip,setAccDescription:Dp,addVertex:cHe,lookUpDomId:CR,addLink:lHe,updateLinkInterpolate:hHe,updateLink:fHe,addClass:dHe,setDirection:gHe,setClass:JQ,setTooltip:qVt,getTooltip:bHe,setClickEvent:mHe,setLink:pHe,bindFunctions:vHe,getDirection:wHe,getVertices:yHe,getEdges:xHe,getClasses:kHe,clear:EHe,setGen:CHe,defaultStyle:SHe,addSubGraph:_He,getDepthFirstPos:MHe,indexNodes:DHe,getSubGraphs:IHe,destructLink:NHe,lex:FHe,exists:PHe,makeUniq:BHe,setDiagramTitle:pm,getDiagramTitle:Op},WVt=Object.freeze(Object.defineProperty({__proto__:null,addClass:dHe,addLink:lHe,addSingleLink:uHe,addSubGraph:_He,addVertex:cHe,bindFunctions:vHe,clear:EHe,default:UC,defaultStyle:SHe,destructLink:NHe,firstGraph:OHe,getClasses:kHe,getDepthFirstPos:MHe,getDirection:wHe,getEdges:xHe,getSubGraphs:IHe,getTooltip:bHe,getVertices:yHe,indexNodes:DHe,lex:FHe,lookUpDomId:CR,setClass:JQ,setClickEvent:mHe,setDirection:gHe,setGen:CHe,setLink:pHe,updateLink:fHe,updateLinkInterpolate:hHe},Symbol.toStringTag,{value:"Module"}));var YVt="[object Symbol]";function VC(i){return typeof i=="symbol"||V4(i)&&LC(i)==YVt}function GD(i,a){for(var u=-1,d=i==null?0:i.length,p=Array(d);++u-1}function xm(i){return y9(i)?Lje(i):N$e(i)}var dGt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,gGt=/^\w*$/;function fme(i,a){if(D0(i))return!1;var u=typeof i;return u=="number"||u=="symbol"||u=="boolean"||i==null||VC(i)?!0:gGt.test(i)||!dGt.test(i)||a!=null&&i in Object(a)}var pGt=500;function bGt(i){var a=yD(i,function(d){return u.size===pGt&&u.clear(),d}),u=a.cache;return a}var mGt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,vGt=/\\(\\)?/g,wGt=bGt(function(i){var a=[];return i.charCodeAt(0)===46&&a.push(""),i.replace(mGt,function(u,d,p,v){a.push(p?v.replace(vGt,"$1"):d||u)}),a});const yGt=wGt;function VHe(i){return i==null?"":$He(i)}function eJ(i,a){return D0(i)?i:fme(i,a)?[i]:yGt(VHe(i))}var xGt=1/0;function _R(i){if(typeof i=="string"||VC(i))return i;var a=i+"";return a=="0"&&1/i==-xGt?"-0":a}function tJ(i,a){a=eJ(a,i);for(var u=0,d=a.length;i!=null&&u0&&u(y)?a>1?nJ(y,a-1,u,d,p):dme(p,y):d||(p[p.length]=y)}return p}function KD(i){var a=i==null?0:i.length;return a?nJ(i,1):[]}function EGt(i){return Oje(Ije(i,void 0,KD),i+"")}function CGt(i,a,u,d){var p=-1,v=i==null?0:i.length;for(d&&v&&(u=i[++p]);++py))return!1;var _=v.get(i),A=v.get(a);if(_&&A)return _==a&&A==i;var P=-1,R=!0,B=u&JKt?new LR:void 0;for(v.set(i,a),v.set(a,i);++P2?a[2]:void 0;for(p&&oR(a[0],a[1],p)&&(d=1);++u-1?p[v?a[b]:b]:void 0}}var zWt=Math.max;function qWt(i,a,u){var d=i==null?0:i.length;if(!d)return-1;var p=u==null?0:oGt(u);return p<0&&(p=zWt(d+p,0)),UHe(i,N9(a),p)}var HWt=$Wt(qWt);const xme=HWt;function vUe(i,a){var u=-1,d=y9(i)?Array(i.length):[];return iJ(i,function(p,v,b){d[++u]=a(p,v,b)}),d}function F0(i,a){var u=D0(i)?GD:vUe;return u(i,N9(a))}function UWt(i,a){return i==null?i:M2e(i,yme(a),OC)}function VWt(i,a){return i&&wme(i,yme(a))}function GWt(i,a){return i>a}var KWt=Object.prototype,WWt=KWt.hasOwnProperty;function YWt(i,a){return i!=null&&WWt.call(i,a)}function wUe(i,a){return i!=null&&gUe(i,a,YWt)}function XWt(i,a){return GD(a,function(u){return i[u]})}function z7(i){return i==null?[]:XWt(i,xm(i))}function Yf(i){return i===void 0}function yUe(i,a){return ia||v&&b&&E&&!y&&!_||d&&b&&E||!u&&E||!p)return 1;if(!d&&!v&&!_&&i=y)return E;var _=u[d];return E*(_=="desc"?-1:1)}}return i.index-a.index}function nYt(i,a,u){a.length?a=GD(a,function(v){return D0(v)?function(b){return tJ(b,v.length===1?v[0]:v)}:v}):a=[NC];var d=-1;a=GD(a,$X(N9));var p=vUe(i,function(v,b,y){var E=GD(a,function(_){return _(v)});return{criteria:E,index:++d,value:v}});return ZWt(p,function(v,b){return tYt(v,b,u)})}function rYt(i,a){return JWt(i,a,function(u,d){return pUe(i,d)})}var iYt=EGt(function(i,a){return i==null?{}:rYt(i,a)});const DR=iYt;var sYt=Math.ceil,aYt=Math.max;function oYt(i,a,u,d){for(var p=-1,v=aYt(sYt((a-i)/(u||1)),0),b=Array(v);v--;)b[d?v:++p]=i,i+=u;return b}function cYt(i){return function(a,u,d){return d&&typeof d!="number"&&oR(a,u,d)&&(u=d=void 0),a=ZQ(a),u===void 0?(u=a,a=0):u=ZQ(u),d=d===void 0?a1&&oR(i,a[0],a[1])?a=[]:u>2&&oR(a[0],a[1],a[2])&&(a=[a[0]]),nYt(i,nJ(a,1),[])});const OR=hYt;var fYt=1/0,dYt=LD&&1/bme(new LD([,-0]))[1]==fYt?function(i){return new LD(i)}:cGt;const gYt=dYt;var pYt=200;function bYt(i,a,u){var d=-1,p=fGt,v=i.length,b=!0,y=[],E=y;if(u)b=!1,p=RWt;else if(v>=pYt){var _=a?null:gYt(i);if(_)return bme(_);b=!1,p=aUe,E=new LR}else E=a?[]:y;e:for(;++d1?p.setNode(v,u):p.setNode(v)}),this}setNode(a,u){return Object.prototype.hasOwnProperty.call(this._nodes,a)?(arguments.length>1&&(this._nodes[a]=u),this):(this._nodes[a]=arguments.length>1?u:this._defaultNodeLabelFn(a),this._isCompound&&(this._parent[a]=WC,this._children[a]={},this._children[WC][a]=!0),this._in[a]={},this._preds[a]={},this._out[a]={},this._sucs[a]={},++this._nodeCount,this)}node(a){return this._nodes[a]}hasNode(a){return Object.prototype.hasOwnProperty.call(this._nodes,a)}removeNode(a){if(Object.prototype.hasOwnProperty.call(this._nodes,a)){var u=d=>this.removeEdge(this._edgeObjs[d]);delete this._nodes[a],this._isCompound&&(this._removeFromParentsChildList(a),delete this._parent[a],Ar(this.children(a),d=>{this.setParent(d)}),delete this._children[a]),Ar(xm(this._in[a]),u),delete this._in[a],delete this._preds[a],Ar(xm(this._out[a]),u),delete this._out[a],delete this._sucs[a],--this._nodeCount}return this}setParent(a,u){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(Yf(u))u=WC;else{u+="";for(var d=u;!Yf(d);d=this.parent(d))if(d===a)throw new Error("Setting "+u+" as parent of "+a+" would create a cycle");this.setNode(u)}return this.setNode(a),this._removeFromParentsChildList(a),this._parent[a]=u,this._children[u][a]=!0,this}_removeFromParentsChildList(a){delete this._children[this._parent[a]][a]}parent(a){if(this._isCompound){var u=this._parent[a];if(u!==WC)return u}}children(a){if(Yf(a)&&(a=WC),this._isCompound){var u=this._children[a];if(u)return xm(u)}else{if(a===WC)return this.nodes();if(this.hasNode(a))return[]}}predecessors(a){var u=this._preds[a];if(u)return xm(u)}successors(a){var u=this._sucs[a];if(u)return xm(u)}neighbors(a){var u=this.predecessors(a);if(u)return vYt(u,this.successors(a))}isLeaf(a){var u;return this.isDirected()?u=this.successors(a):u=this.neighbors(a),u.length===0}filterNodes(a){var u=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});u.setGraph(this.graph());var d=this;Ar(this._nodes,function(b,y){a(y)&&u.setNode(y,b)}),Ar(this._edgeObjs,function(b){u.hasNode(b.v)&&u.hasNode(b.w)&&u.setEdge(b,d.edge(b))});var p={};function v(b){var y=d.parent(b);return y===void 0||u.hasNode(y)?(p[b]=y,y):y in p?p[y]:v(y)}return this._isCompound&&Ar(u.nodes(),function(b){u.setParent(b,v(b))}),u}setDefaultEdgeLabel(a){return vD(a)||(a=ED(a)),this._defaultEdgeLabelFn=a,this}edgeCount(){return this._edgeCount}edges(){return z7(this._edgeObjs)}setPath(a,u){var d=this,p=arguments;return IR(a,function(v,b){return p.length>1?d.setEdge(v,b,u):d.setEdge(v,b),b}),this}setEdge(){var a,u,d,p,v=!1,b=arguments[0];typeof b=="object"&&b!==null&&"v"in b?(a=b.v,u=b.w,d=b.name,arguments.length===2&&(p=arguments[1],v=!0)):(a=b,u=arguments[1],d=arguments[3],arguments.length>2&&(p=arguments[2],v=!0)),a=""+a,u=""+u,Yf(d)||(d=""+d);var y=NR(this._isDirected,a,u,d);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,y))return v&&(this._edgeLabels[y]=p),this;if(!Yf(d)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(a),this.setNode(u),this._edgeLabels[y]=v?p:this._defaultEdgeLabelFn(a,u,d);var E=TYt(this._isDirected,a,u,d);return a=E.v,u=E.w,Object.freeze(E),this._edgeObjs[y]=E,kUe(this._preds[u],a),kUe(this._sucs[a],u),this._in[u][y]=E,this._out[a][y]=E,this._edgeCount++,this}edge(a,u,d){var p=arguments.length===1?Eme(this._isDirected,arguments[0]):NR(this._isDirected,a,u,d);return this._edgeLabels[p]}hasEdge(a,u,d){var p=arguments.length===1?Eme(this._isDirected,arguments[0]):NR(this._isDirected,a,u,d);return Object.prototype.hasOwnProperty.call(this._edgeLabels,p)}removeEdge(a,u,d){var p=arguments.length===1?Eme(this._isDirected,arguments[0]):NR(this._isDirected,a,u,d),v=this._edgeObjs[p];return v&&(a=v.v,u=v.w,delete this._edgeLabels[p],delete this._edgeObjs[p],TUe(this._preds[u],a),TUe(this._sucs[a],u),delete this._in[u][p],delete this._out[a][p],this._edgeCount--),this}inEdges(a,u){var d=this._in[a];if(d){var p=z7(d);return u?$7(p,function(v){return v.v===u}):p}}outEdges(a,u){var d=this._out[a];if(d){var p=z7(d);return u?$7(p,function(v){return v.w===u}):p}}nodeEdges(a,u){var d=this.inEdges(a,u);if(d)return d.concat(this.outEdges(a,u))}}R0.prototype._nodeCount=0,R0.prototype._edgeCount=0;function kUe(i,a){i[a]?i[a]++:i[a]=1}function TUe(i,a){--i[a]||delete i[a]}function NR(i,a,u,d){var p=""+a,v=""+u;if(!i&&p>v){var b=p;p=v,v=b}return p+xUe+v+xUe+(Yf(d)?kYt:d)}function TYt(i,a,u,d){var p=""+a,v=""+u;if(!i&&p>v){var b=p;p=v,v=b}var y={v:p,w:v};return d&&(y.name=d),y}function Eme(i,a){return NR(i,a.v,a.w,a.name)}class EYt{constructor(){var a={};a._next=a._prev=a,this._sentinel=a}dequeue(){var a=this._sentinel,u=a._prev;if(u!==a)return EUe(u),u}enqueue(a){var u=this._sentinel;a._prev&&a._next&&EUe(a),a._next=u._next,u._next._prev=a,u._next=a,a._prev=u}toString(){for(var a=[],u=this._sentinel,d=u._prev;d!==u;)a.push(JSON.stringify(d,CYt)),d=d._prev;return"["+a.join(", ")+"]"}}function EUe(i){i._prev._next=i._next,i._next._prev=i._prev,delete i._next,delete i._prev}function CYt(i,a){if(i!=="_next"&&i!=="_prev")return a}var SYt=ED(1);function _Yt(i,a){if(i.nodeCount()<=1)return[];var u=LYt(i,a||SYt),d=AYt(u.graph,u.buckets,u.zeroIdx);return KD(F0(d,function(p){return i.outEdges(p.v,p.w)}))}function AYt(i,a,u){for(var d=[],p=a[a.length-1],v=a[0],b;i.nodeCount();){for(;b=v.dequeue();)Cme(i,a,u,b);for(;b=p.dequeue();)Cme(i,a,u,b);if(i.nodeCount()){for(var y=a.length-2;y>0;--y)if(b=a[y].dequeue(),b){d=d.concat(Cme(i,a,u,b,!0));break}}}return d}function Cme(i,a,u,d,p){var v=p?[]:void 0;return Ar(i.inEdges(d.v),function(b){var y=i.edge(b),E=i.node(b.v);p&&v.push({v:b.v,w:b.w}),E.out-=y,Sme(a,u,E)}),Ar(i.outEdges(d.v),function(b){var y=i.edge(b),E=b.w,_=i.node(E);_.in-=y,Sme(a,u,_)}),i.removeNode(d.v),v}function LYt(i,a){var u=new R0,d=0,p=0;Ar(i.nodes(),function(y){u.setNode(y,{v:y,in:0,out:0})}),Ar(i.edges(),function(y){var E=u.edge(y.v,y.w)||0,_=a(y),A=E+_;u.setEdge(y.v,y.w,A),p=Math.max(p,u.node(y.v).out+=_),d=Math.max(d,u.node(y.w).in+=_)});var v=KC(p+d+3).map(function(){return new EYt}),b=d+1;return Ar(u.nodes(),function(y){Sme(v,b,u.node(y))}),{graph:u,buckets:v,zeroIdx:b}}function Sme(i,a,u){u.out?u.in?i[u.out-u.in+a].enqueue(u):i[i.length-1].enqueue(u):i[0].enqueue(u)}function MYt(i){var a=i.graph().acyclicer==="greedy"?_Yt(i,u(i)):DYt(i);Ar(a,function(d){var p=i.edge(d);i.removeEdge(d),p.forwardName=d.name,p.reversed=!0,i.setEdge(d.w,d.v,p,oJ("rev"))});function u(d){return function(p){return d.edge(p).weight}}}function DYt(i){var a=[],u={},d={};function p(v){Object.prototype.hasOwnProperty.call(d,v)||(d[v]=!0,u[v]=!0,Ar(i.outEdges(v),function(b){Object.prototype.hasOwnProperty.call(u,b.w)?a.push(b):p(b.w)}),delete u[v])}return Ar(i.nodes(),p),a}function IYt(i){Ar(i.edges(),function(a){var u=i.edge(a);if(u.reversed){i.removeEdge(a);var d=u.forwardName;delete u.reversed,delete u.forwardName,i.setEdge(a.w,a.v,u,d)}})}function YD(i,a,u,d){var p;do p=oJ(d);while(i.hasNode(p));return u.dummy=a,i.setNode(p,u),p}function OYt(i){var a=new R0().setGraph(i.graph());return Ar(i.nodes(),function(u){a.setNode(u,i.node(u))}),Ar(i.edges(),function(u){var d=a.edge(u.v,u.w)||{weight:0,minlen:1},p=i.edge(u);a.setEdge(u.v,u.w,{weight:d.weight+p.weight,minlen:Math.max(d.minlen,p.minlen)})}),a}function CUe(i){var a=new R0({multigraph:i.isMultigraph()}).setGraph(i.graph());return Ar(i.nodes(),function(u){i.children(u).length||a.setNode(u,i.node(u))}),Ar(i.edges(),function(u){a.setEdge(u,i.edge(u))}),a}function SUe(i,a){var u=i.x,d=i.y,p=a.x-u,v=a.y-d,b=i.width/2,y=i.height/2;if(!p&&!v)throw new Error("Not possible to find intersection inside of the rectangle");var E,_;return Math.abs(v)*b>Math.abs(p)*y?(v<0&&(y=-y),E=y*p/v,_=y):(p<0&&(b=-b),E=b,_=b*v/p),{x:u+E,y:d+_}}function cJ(i){var a=F0(KC(AUe(i)+1),function(){return[]});return Ar(i.nodes(),function(u){var d=i.node(u),p=d.rank;Yf(p)||(a[p][d.order]=u)}),a}function NYt(i){var a=MR(F0(i.nodes(),function(u){return i.node(u).rank}));Ar(i.nodes(),function(u){var d=i.node(u);wUe(d,"rank")&&(d.rank-=a)})}function PYt(i){var a=MR(F0(i.nodes(),function(v){return i.node(v).rank})),u=[];Ar(i.nodes(),function(v){var b=i.node(v).rank-a;u[b]||(u[b]=[]),u[b].push(v)});var d=0,p=i.graph().nodeRankFactor;Ar(u,function(v,b){Yf(v)&&b%p!==0?--d:d&&Ar(v,function(y){i.node(y).rank+=d})})}function _Ue(i,a,u,d){var p={width:0,height:0};return arguments.length>=4&&(p.rank=u,p.order=d),YD(i,"border",p,a)}function AUe(i){return GC(F0(i.nodes(),function(a){var u=i.node(a).rank;if(!Yf(u))return u}))}function BYt(i,a){var u={lhs:[],rhs:[]};return Ar(i,function(d){a(d)?u.lhs.push(d):u.rhs.push(d)}),u}function FYt(i,a){var u=bUe();try{return a()}finally{console.log(i+" time: "+(bUe()-u)+"ms")}}function RYt(i,a){return a()}function jYt(i){function a(u){var d=i.children(u),p=i.node(u);if(d.length&&Ar(d,a),Object.prototype.hasOwnProperty.call(p,"minRank")){p.borderLeft=[],p.borderRight=[];for(var v=p.minRank,b=p.maxRank+1;vb.lim&&(y=b,E=!0);var _=$7(a.edges(),function(A){return E===$Ue(i,i.node(A.v),y)&&E!==$Ue(i,i.node(A.w),y)});return Tme(_,function(A){return PR(a,A)})}function jUe(i,a,u,d){var p=u.v,v=u.w;i.removeEdge(p,v),i.setEdge(d.v,d.w,{}),Dme(i),Mme(i,a),eXt(i,a)}function eXt(i,a){var u=xme(i.nodes(),function(p){return!a.node(p).parent}),d=JYt(i,u);d=d.slice(1),Ar(d,function(p){var v=i.node(p).parent,b=a.edge(p,v),y=!1;b||(b=a.edge(v,p),y=!0),a.node(p).rank=a.node(v).rank+(y?b.minlen:-b.minlen)})}function tXt(i,a,u){return i.hasEdge(a,u)}function $Ue(i,a,u){return u.low<=a.lim&&a.lim<=u.lim}function nXt(i){switch(i.graph().ranker){case"network-simplex":zUe(i);break;case"tight-tree":iXt(i);break;case"longest-path":rXt(i);break;default:zUe(i)}}var rXt=Lme;function iXt(i){Lme(i),IUe(i)}function zUe(i){YC(i)}function sXt(i){var a=YD(i,"root",{},"_root"),u=aXt(i),d=GC(z7(u))-1,p=2*d+1;i.graph().nestingRoot=a,Ar(i.edges(),function(b){i.edge(b).minlen*=p});var v=oXt(i)+1;Ar(i.children(),function(b){qUe(i,a,p,v,d,u,b)}),i.graph().nodeRankFactor=p}function qUe(i,a,u,d,p,v,b){var y=i.children(b);if(!y.length){b!==a&&i.setEdge(a,b,{weight:0,minlen:u});return}var E=_Ue(i,"_bt"),_=_Ue(i,"_bb"),A=i.node(b);i.setParent(E,b),A.borderTop=E,i.setParent(_,b),A.borderBottom=_,Ar(y,function(P){qUe(i,a,u,d,p,v,P);var R=i.node(P),B=R.borderTop?R.borderTop:P,j=R.borderBottom?R.borderBottom:P,W=R.borderTop?d:2*d,ee=B!==j?1:p-v[b]+1;i.setEdge(E,B,{weight:W,minlen:ee,nestingEdge:!0}),i.setEdge(j,_,{weight:W,minlen:ee,nestingEdge:!0})}),i.parent(b)||i.setEdge(a,E,{weight:0,minlen:p+v[b]})}function aXt(i){var a={};function u(d,p){var v=i.children(d);v&&v.length&&Ar(v,function(b){u(b,p+1)}),a[d]=p}return Ar(i.children(),function(d){u(d,1)}),a}function oXt(i){return IR(i.edges(),function(a,u){return a+i.edge(u).weight},0)}function cXt(i){var a=i.graph();i.removeNode(a.nestingRoot),delete a.nestingRoot,Ar(i.edges(),function(u){var d=i.edge(u);d.nestingEdge&&i.removeEdge(u)})}function uXt(i,a,u){var d={},p;Ar(u,function(v){for(var b=i.parent(v),y,E;b;){if(y=i.parent(b),y?(E=d[y],d[y]=b):(E=p,p=b),E&&E!==b){a.setEdge(E,b);return}b=y}})}function lXt(i,a,u){var d=hXt(i),p=new R0({compound:!0}).setGraph({root:d}).setDefaultNodeLabel(function(v){return i.node(v)});return Ar(i.nodes(),function(v){var b=i.node(v),y=i.parent(v);(b.rank===a||b.minRank<=a&&a<=b.maxRank)&&(p.setNode(v),p.setParent(v,y||d),Ar(i[u](v),function(E){var _=E.v===v?E.w:E.v,A=p.edge(_,v),P=Yf(A)?0:A.weight;p.setEdge(_,v,{weight:i.edge(E).weight+P})}),Object.prototype.hasOwnProperty.call(b,"minRank")&&p.setNode(v,{borderLeft:b.borderLeft[a],borderRight:b.borderRight[a]}))}),p}function hXt(i){for(var a;i.hasNode(a=oJ("_root")););return a}function fXt(i,a){for(var u=0,d=1;d0;)A%2&&(P+=y[A+1]),A=A-1>>1,y[A]+=_.weight;E+=_.weight*P})),E}function gXt(i){var a={},u=$7(i.nodes(),function(y){return!i.children(y).length}),d=GC(F0(u,function(y){return i.node(y).rank})),p=F0(KC(d+1),function(){return[]});function v(y){if(!wUe(a,y)){a[y]=!0;var E=i.node(y);p[E.rank].push(y),Ar(i.successors(y),v)}}var b=OR(u,function(y){return i.node(y).rank});return Ar(b,v),p}function pXt(i,a){return F0(a,function(u){var d=i.inEdges(u);if(d.length){var p=IR(d,function(v,b){var y=i.edge(b),E=i.node(b.v);return{sum:v.sum+y.weight*E.order,weight:v.weight+y.weight}},{sum:0,weight:0});return{v:u,barycenter:p.sum/p.weight,weight:p.weight}}else return{v:u}})}function bXt(i,a){var u={};Ar(i,function(p,v){var b=u[p.v]={indegree:0,in:[],out:[],vs:[p.v],i:v};Yf(p.barycenter)||(b.barycenter=p.barycenter,b.weight=p.weight)}),Ar(a.edges(),function(p){var v=u[p.v],b=u[p.w];!Yf(v)&&!Yf(b)&&(b.indegree++,v.out.push(u[p.w]))});var d=$7(u,function(p){return!p.indegree});return mXt(d)}function mXt(i){var a=[];function u(v){return function(b){b.merged||(Yf(b.barycenter)||Yf(v.barycenter)||b.barycenter>=v.barycenter)&&vXt(v,b)}}function d(v){return function(b){b.in.push(v),--b.indegree===0&&i.push(b)}}for(;i.length;){var p=i.pop();a.push(p),Ar(p.in.reverse(),u(p)),Ar(p.out,d(p))}return F0($7(a,function(v){return!v.merged}),function(v){return DR(v,["vs","i","barycenter","weight"])})}function vXt(i,a){var u=0,d=0;i.weight&&(u+=i.barycenter*i.weight,d+=i.weight),a.weight&&(u+=a.barycenter*a.weight,d+=a.weight),i.vs=a.vs.concat(i.vs),i.barycenter=u/d,i.weight=d,i.i=Math.min(a.i,i.i),a.merged=!0}function wXt(i,a){var u=BYt(i,function(A){return Object.prototype.hasOwnProperty.call(A,"barycenter")}),d=u.lhs,p=OR(u.rhs,function(A){return-A.i}),v=[],b=0,y=0,E=0;d.sort(yXt(!!a)),E=HUe(v,p,E),Ar(d,function(A){E+=A.vs.length,v.push(A.vs),b+=A.barycenter*A.weight,y+=A.weight,E=HUe(v,p,E)});var _={vs:KD(v)};return y&&(_.barycenter=b/y,_.weight=y),_}function HUe(i,a,u){for(var d;a.length&&(d=sJ(a)).i<=u;)a.pop(),i.push(d.vs),u++;return u}function yXt(i){return function(a,u){return a.barycenteru.barycenter?1:i?u.i-a.i:a.i-u.i}}function UUe(i,a,u,d){var p=i.children(a),v=i.node(a),b=v?v.borderLeft:void 0,y=v?v.borderRight:void 0,E={};b&&(p=$7(p,function(j){return j!==b&&j!==y}));var _=pXt(i,p);Ar(_,function(j){if(i.children(j.v).length){var W=UUe(i,j.v,u,d);E[j.v]=W,Object.prototype.hasOwnProperty.call(W,"barycenter")&&kXt(j,W)}});var A=bXt(_,u);xXt(A,E);var P=wXt(A,d);if(b&&(P.vs=KD([b,P.vs,y]),i.predecessors(b).length)){var R=i.node(i.predecessors(b)[0]),B=i.node(i.predecessors(y)[0]);Object.prototype.hasOwnProperty.call(P,"barycenter")||(P.barycenter=0,P.weight=0),P.barycenter=(P.barycenter*P.weight+R.order+B.order)/(P.weight+2),P.weight+=2}return P}function xXt(i,a){Ar(i,function(u){u.vs=KD(u.vs.map(function(d){return a[d]?a[d].vs:d}))})}function kXt(i,a){Yf(i.barycenter)?(i.barycenter=a.barycenter,i.weight=a.weight):(i.barycenter=(i.barycenter*i.weight+a.barycenter*a.weight)/(i.weight+a.weight),i.weight+=a.weight)}function TXt(i){var a=AUe(i),u=VUe(i,KC(1,a+1),"inEdges"),d=VUe(i,KC(a-1,-1,-1),"outEdges"),p=gXt(i);GUe(i,p);for(var v=Number.POSITIVE_INFINITY,b,y=0,E=0;E<4;++y,++E){EXt(y%2?u:d,y%4>=2),p=cJ(i);var _=fXt(i,p);_b||y>a[E].lim));for(_=E,E=d;(E=i.parent(E))!==_;)v.push(E);return{path:p.concat(v.reverse()),lca:_}}function _Xt(i){var a={},u=0;function d(p){var v=u;Ar(i.children(p),d),a[p]={low:v,lim:u++}}return Ar(i.children(),d),a}function AXt(i,a){var u={};function d(p,v){var b=0,y=0,E=p.length,_=sJ(v);return Ar(v,function(A,P){var R=MXt(i,A),B=R?i.node(R).order:E;(R||A===_)&&(Ar(v.slice(y,P+1),function(j){Ar(i.predecessors(j),function(W){var ee=i.node(W),ie=ee.order;(ie_)&&KUe(u,R,A)})})}function p(v,b){var y=-1,E,_=0;return Ar(b,function(A,P){if(i.node(A).dummy==="border"){var R=i.predecessors(A);R.length&&(E=i.node(R[0]).order,d(b,_,P,y,E),_=P,y=E)}d(b,_,b.length,E,v.length)}),b}return IR(a,p),u}function MXt(i,a){if(i.node(a).dummy)return xme(i.predecessors(a),function(u){return i.node(u).dummy})}function KUe(i,a,u){if(a>u){var d=a;a=u,u=d}Object.prototype.hasOwnProperty.call(i,a)||Object.defineProperty(i,a,{enumerable:!0,configurable:!0,value:{},writable:!0});var p=i[a];Object.defineProperty(p,u,{enumerable:!0,configurable:!0,value:!0,writable:!0})}function DXt(i,a,u){if(a>u){var d=a;a=u,u=d}return!!i[a]&&Object.prototype.hasOwnProperty.call(i[a],u)}function IXt(i,a,u,d){var p={},v={},b={};return Ar(a,function(y){Ar(y,function(E,_){p[E]=E,v[E]=E,b[E]=_})}),Ar(a,function(y){var E=-1;Ar(y,function(_){var A=d(_);if(A.length){A=OR(A,function(W){return b[W]});for(var P=(A.length-1)/2,R=Math.floor(P),B=Math.ceil(P);R<=B;++R){var j=A[R];v[_]===_&&E{var d=u(" buildLayoutGraph",()=>ZXt(i));u(" runLayout",()=>HXt(d,u)),u(" updateInputGraph",()=>UXt(i,d))})}function HXt(i,a){a(" makeSpaceForEdgeLabels",()=>eQt(i)),a(" removeSelfEdges",()=>uQt(i)),a(" acyclic",()=>MYt(i)),a(" nestingGraph.run",()=>sXt(i)),a(" rank",()=>nXt(CUe(i))),a(" injectEdgeLabelProxies",()=>tQt(i)),a(" removeEmptyRanks",()=>PYt(i)),a(" nestingGraph.cleanup",()=>cXt(i)),a(" normalizeRanks",()=>NYt(i)),a(" assignRankMinMax",()=>nQt(i)),a(" removeEdgeLabelProxies",()=>rQt(i)),a(" normalize.run",()=>UYt(i)),a(" parentDummyChains",()=>CXt(i)),a(" addBorderSegments",()=>jYt(i)),a(" order",()=>TXt(i)),a(" insertSelfEdges",()=>lQt(i)),a(" adjustCoordinateSystem",()=>$Yt(i)),a(" position",()=>zXt(i)),a(" positionSelfEdges",()=>hQt(i)),a(" removeBorderNodes",()=>cQt(i)),a(" normalize.undo",()=>GYt(i)),a(" fixupEdgeLabelCoords",()=>aQt(i)),a(" undoCoordinateSystem",()=>zYt(i)),a(" translateGraph",()=>iQt(i)),a(" assignNodeIntersects",()=>sQt(i)),a(" reversePoints",()=>oQt(i)),a(" acyclic.undo",()=>IYt(i))}function UXt(i,a){Ar(i.nodes(),function(u){var d=i.node(u),p=a.node(u);d&&(d.x=p.x,d.y=p.y,a.children(u).length&&(d.width=p.width,d.height=p.height))}),Ar(i.edges(),function(u){var d=i.edge(u),p=a.edge(u);d.points=p.points,Object.prototype.hasOwnProperty.call(p,"x")&&(d.x=p.x,d.y=p.y)}),i.graph().width=a.graph().width,i.graph().height=a.graph().height}var VXt=["nodesep","edgesep","ranksep","marginx","marginy"],GXt={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},KXt=["acyclicer","ranker","rankdir","align"],WXt=["width","height"],YXt={width:0,height:0},XXt=["minlen","weight","width","height","labeloffset"],QXt={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},JXt=["labelpos"];function ZXt(i){var a=new R0({multigraph:!0,compound:!0}),u=Ome(i.graph());return a.setGraph(VX({},GXt,Ime(u,VXt),DR(u,KXt))),Ar(i.nodes(),function(d){var p=Ome(i.node(d));a.setNode(d,WD(Ime(p,WXt),YXt)),a.setParent(d,i.parent(d))}),Ar(i.edges(),function(d){var p=Ome(i.edge(d));a.setEdge(d,VX({},QXt,Ime(p,XXt),DR(p,JXt)))}),a}function eQt(i){var a=i.graph();a.ranksep/=2,Ar(i.edges(),function(u){var d=i.edge(u);d.minlen*=2,d.labelpos.toLowerCase()!=="c"&&(a.rankdir==="TB"||a.rankdir==="BT"?d.width+=d.labeloffset:d.height+=d.labeloffset)})}function tQt(i){Ar(i.edges(),function(a){var u=i.edge(a);if(u.width&&u.height){var d=i.node(a.v),p=i.node(a.w),v={rank:(p.rank-d.rank)/2+d.rank,e:a};YD(i,"edge-proxy",v,"_ep")}})}function nQt(i){var a=0;Ar(i.nodes(),function(u){var d=i.node(u);d.borderTop&&(d.minRank=i.node(d.borderTop).rank,d.maxRank=i.node(d.borderBottom).rank,a=GC(a,d.maxRank))}),i.graph().maxRank=a}function rQt(i){Ar(i.nodes(),function(a){var u=i.node(a);u.dummy==="edge-proxy"&&(i.edge(u.e).labelRank=u.rank,i.removeNode(a))})}function iQt(i){var a=Number.POSITIVE_INFINITY,u=0,d=Number.POSITIVE_INFINITY,p=0,v=i.graph(),b=v.marginx||0,y=v.marginy||0;function E(_){var A=_.x,P=_.y,R=_.width,B=_.height;a=Math.min(a,A-R/2),u=Math.max(u,A+R/2),d=Math.min(d,P-B/2),p=Math.max(p,P+B/2)}Ar(i.nodes(),function(_){E(i.node(_))}),Ar(i.edges(),function(_){var A=i.edge(_);Object.prototype.hasOwnProperty.call(A,"x")&&E(A)}),a-=b,d-=y,Ar(i.nodes(),function(_){var A=i.node(_);A.x-=a,A.y-=d}),Ar(i.edges(),function(_){var A=i.edge(_);Ar(A.points,function(P){P.x-=a,P.y-=d}),Object.prototype.hasOwnProperty.call(A,"x")&&(A.x-=a),Object.prototype.hasOwnProperty.call(A,"y")&&(A.y-=d)}),v.width=u-a+b,v.height=p-d+y}function sQt(i){Ar(i.edges(),function(a){var u=i.edge(a),d=i.node(a.v),p=i.node(a.w),v,b;u.points?(v=u.points[0],b=u.points[u.points.length-1]):(u.points=[],v=p,b=d),u.points.unshift(SUe(d,v)),u.points.push(SUe(p,b))})}function aQt(i){Ar(i.edges(),function(a){var u=i.edge(a);if(Object.prototype.hasOwnProperty.call(u,"x"))switch((u.labelpos==="l"||u.labelpos==="r")&&(u.width-=u.labeloffset),u.labelpos){case"l":u.x-=u.width/2+u.labeloffset;break;case"r":u.x+=u.width/2+u.labeloffset;break}})}function oQt(i){Ar(i.edges(),function(a){var u=i.edge(a);u.reversed&&u.points.reverse()})}function cQt(i){Ar(i.nodes(),function(a){if(i.children(a).length){var u=i.node(a),d=i.node(u.borderTop),p=i.node(u.borderBottom),v=i.node(sJ(u.borderLeft)),b=i.node(sJ(u.borderRight));u.width=Math.abs(b.x-v.x),u.height=Math.abs(p.y-d.y),u.x=v.x+u.width/2,u.y=d.y+u.height/2}}),Ar(i.nodes(),function(a){i.node(a).dummy==="border"&&i.removeNode(a)})}function uQt(i){Ar(i.edges(),function(a){if(a.v===a.w){var u=i.node(a.v);u.selfEdges||(u.selfEdges=[]),u.selfEdges.push({e:a,label:i.edge(a)}),i.removeEdge(a)}})}function lQt(i){var a=cJ(i);Ar(a,function(u){var d=0;Ar(u,function(p,v){var b=i.node(p);b.order=v+d,Ar(b.selfEdges,function(y){YD(i,"selfedge",{width:y.label.width,height:y.label.height,rank:b.rank,order:v+ ++d,e:y.e,label:y.label},"_se")}),delete b.selfEdges})})}function hQt(i){Ar(i.nodes(),function(a){var u=i.node(a);if(u.dummy==="selfedge"){var d=i.node(u.e.v),p=d.x+d.width/2,v=d.y,b=u.x-p,y=d.height/2;i.setEdge(u.e,u.label),i.removeNode(a),u.label.points=[{x:p+2*b/3,y:v-y},{x:p+5*b/6,y:v-y},{x:p+b,y:v},{x:p+5*b/6,y:v+y},{x:p+2*b/3,y:v+y}],u.label.x=u.x,u.label.y=u.y}})}function Ime(i,a){return aJ(DR(i,a),Number)}function Ome(i){var a={};return Ar(i,function(u,d){a[d.toLowerCase()]=u}),a}function WUe(i,a){return!!i.children(a).length}function YUe(i){return Nme(i.v)+":"+Nme(i.w)+":"+Nme(i.name)}var fQt=/:/g;function Nme(i){return i?String(i).replace(fQt,"\\:"):""}function t5(i,a){a&&i.attr("style",a)}function XUe(i,a,u){a&&i.attr("class",a).attr("class",u+" "+i.attr("class"))}function G3(i,a){var u=a.graph();if(Sje(u)){var d=u.transition;if(vD(d))return d(i)}return i}var Pme={normal:gQt,vee:pQt,undirected:bQt};function dQt(i){Pme=i}function gQt(i,a,u,d){var p=i.append("marker").attr("id",a).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),v=p.append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");t5(v,u[d+"Style"]),u[d+"Class"]&&v.attr("class",u[d+"Class"])}function pQt(i,a,u,d){var p=i.append("marker").attr("id",a).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),v=p.append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");t5(v,u[d+"Style"]),u[d+"Class"]&&v.attr("class",u[d+"Class"])}function bQt(i,a,u,d){var p=i.append("marker").attr("id",a).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),v=p.append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");t5(v,u[d+"Style"]),u[d+"Class"]&&v.attr("class",u[d+"Class"])}function Bme(i,a){var u=i.append("foreignObject").attr("width","100000"),d=u.append("xhtml:div");d.attr("xmlns","http://www.w3.org/1999/xhtml");var p=a.label;switch(typeof p){case"function":d.insert(p);break;case"object":d.insert(function(){return p});break;default:d.html(p)}t5(d,a.labelStyle),d.style("display","inline-block"),d.style("white-space","nowrap");var v=d.node().getBoundingClientRect();return u.attr("width",v.width).attr("height",v.height),u}function mQt(i,a){var u=i;return u.node().appendChild(a.label),t5(u,a.labelStyle),u}function vQt(i,a){for(var u=i.append("text"),d=wQt(a.label).split(` -`),p=0;p0}function n5(i,a,u){var d=i.x,p=i.y,v=[],b=Number.POSITIVE_INFINITY,y=Number.POSITIVE_INFINITY;a.forEach(function(j){b=Math.min(b,j.x),y=Math.min(y,j.y)});for(var E=d-i.width/2-b,_=p-i.height/2-y,A=0;A1&&v.sort(function(j,W){var ee=j.x-u.x,ie=j.y-u.y,oe=Math.sqrt(ee*ee+ie*ie),be=W.x-u.x,ge=W.y-u.y,ae=Math.sqrt(be*be+ge*ge);return oeMath.abs(p)*y?(v<0&&(y=-y),E=v===0?0:y*p/v,_=y):(p<0&&(b=-b),E=b,_=p===0?0:b*v/p),{x:u+E,y:d+_}}var Hme={rect:PQt,ellipse:BQt,circle:FQt,diamond:RQt};function NQt(i){Hme=i}function PQt(i,a,u){var d=i.insert("rect",":first-child").attr("rx",u.rx).attr("ry",u.ry).attr("x",-a.width/2).attr("y",-a.height/2).attr("width",a.width).attr("height",a.height);return u.intersect=function(p){return qme(u,p)},d}function BQt(i,a,u){var d=a.width/2,p=a.height/2,v=i.insert("ellipse",":first-child").attr("x",-a.width/2).attr("y",-a.height/2).attr("rx",d).attr("ry",p);return u.intersect=function(b){return ZUe(u,d,p,b)},v}function FQt(i,a,u){var d=Math.max(a.width,a.height)/2,p=i.insert("circle",":first-child").attr("x",-a.width/2).attr("y",-a.height/2).attr("r",d);return u.intersect=function(v){return IQt(u,d,v)},p}function RQt(i,a,u){var d=a.width*Math.SQRT2/2,p=a.height*Math.SQRT2/2,v=[{x:0,y:-p},{x:-d,y:0},{x:0,y:p},{x:d,y:0}],b=i.insert("polygon",":first-child").attr("points",v.map(function(y){return y.x+","+y.y}).join(" "));return u.intersect=function(y){return n5(u,v,y)},b}function jQt(){var i=function(a,u){qQt(u);var d=BR(a,"output"),p=BR(d,"clusters"),v=BR(d,"edgePaths"),b=jme(BR(d,"edgeLabels"),u),y=zme(BR(d,"nodes"),u,Hme);XD(u),DQt(y,u),MQt(b,u),$me(v,u,Pme);var E=Rme(p,u);LQt(E,u),HQt(u)};return i.createNodes=function(a){return arguments.length?(AQt(a),i):zme},i.createClusters=function(a){return arguments.length?(yQt(a),i):Rme},i.createEdgeLabels=function(a){return arguments.length?(xQt(a),i):jme},i.createEdgePaths=function(a){return arguments.length?(kQt(a),i):$me},i.shapes=function(a){return arguments.length?(NQt(a),i):Hme},i.arrows=function(a){return arguments.length?(dQt(a),i):Pme},i}var $Qt={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},zQt={arrowhead:"normal",curve:Sp};function qQt(i){i.nodes().forEach(a=>{const u=i.node(a);!Object.prototype.hasOwnProperty.call(u,"label")&&!i.children(a).length&&(u.label=a),Object.prototype.hasOwnProperty.call(u,"paddingX")&&WD(u,{paddingLeft:u.paddingX,paddingRight:u.paddingX}),Object.prototype.hasOwnProperty.call(u,"paddingY")&&WD(u,{paddingTop:u.paddingY,paddingBottom:u.paddingY}),Object.prototype.hasOwnProperty.call(u,"padding")&&WD(u,{paddingLeft:u.padding,paddingRight:u.padding,paddingTop:u.padding,paddingBottom:u.padding}),WD(u,$Qt),["paddingLeft","paddingRight","paddingTop","paddingBottom"].forEach(d=>{u[d]=Number(u[d])}),Object.prototype.hasOwnProperty.call(u,"width")&&(u._prevWidth=u.width),Object.prototype.hasOwnProperty.call(u,"height")&&(u._prevHeight=u.height)}),i.edges().forEach(function(a){var u=i.edge(a);Object.prototype.hasOwnProperty.call(u,"label")||(u.label=""),WD(u,zQt)})}function HQt(i){i.nodes().forEach(a=>{var u=i.node(a);Object.prototype.hasOwnProperty.call(u,"_prevWidth")?u.width=u._prevWidth:delete u.width,Object.prototype.hasOwnProperty.call(u,"_prevHeight")?u.height=u._prevHeight:delete u.height,delete u._prevWidth,delete u._prevHeight})}function BR(i,a){var u=i.select("g."+a);return u.empty()&&(u=i.append("g").attr("class",a)),u}function tVe(i,a,u){const d=a.width,p=a.height,v=(d+p)*.9,b=[{x:v/2,y:0},{x:v,y:-v/2},{x:v/2,y:-v},{x:0,y:-v/2}],y=q7(i,v,v,b);return u.intersect=function(E){return n5(u,b,E)},y}function nVe(i,a,u){const p=a.height,v=p/4,b=a.width+2*v,y=[{x:v,y:0},{x:b-v,y:0},{x:b,y:-p/2},{x:b-v,y:-p},{x:v,y:-p},{x:0,y:-p/2}],E=q7(i,b,p,y);return u.intersect=function(_){return n5(u,y,_)},E}function rVe(i,a,u){const d=a.width,p=a.height,v=[{x:-p/2,y:0},{x:d,y:0},{x:d,y:-p},{x:-p/2,y:-p},{x:0,y:-p/2}],b=q7(i,d,p,v);return u.intersect=function(y){return n5(u,v,y)},b}function iVe(i,a,u){const d=a.width,p=a.height,v=[{x:-2*p/6,y:0},{x:d-p/6,y:0},{x:d+2*p/6,y:-p},{x:p/6,y:-p}],b=q7(i,d,p,v);return u.intersect=function(y){return n5(u,v,y)},b}function sVe(i,a,u){const d=a.width,p=a.height,v=[{x:2*p/6,y:0},{x:d+p/6,y:0},{x:d-2*p/6,y:-p},{x:-p/6,y:-p}],b=q7(i,d,p,v);return u.intersect=function(y){return n5(u,v,y)},b}function aVe(i,a,u){const d=a.width,p=a.height,v=[{x:-2*p/6,y:0},{x:d+2*p/6,y:0},{x:d-p/6,y:-p},{x:p/6,y:-p}],b=q7(i,d,p,v);return u.intersect=function(y){return n5(u,v,y)},b}function oVe(i,a,u){const d=a.width,p=a.height,v=[{x:p/6,y:0},{x:d-p/6,y:0},{x:d+2*p/6,y:-p},{x:-2*p/6,y:-p}],b=q7(i,d,p,v);return u.intersect=function(y){return n5(u,v,y)},b}function cVe(i,a,u){const d=a.width,p=a.height,v=[{x:0,y:0},{x:d+p/2,y:0},{x:d,y:-p/2},{x:d+p/2,y:-p},{x:0,y:-p}],b=q7(i,d,p,v);return u.intersect=function(y){return n5(u,v,y)},b}function uVe(i,a,u){const d=a.height,p=a.width+d/4,v=i.insert("rect",":first-child").attr("rx",d/2).attr("ry",d/2).attr("x",-p/2).attr("y",-d/2).attr("width",p).attr("height",d);return u.intersect=function(b){return qme(u,b)},v}function lVe(i,a,u){const d=a.width,p=a.height,v=[{x:0,y:0},{x:d,y:0},{x:d,y:-p},{x:0,y:-p},{x:0,y:0},{x:-8,y:0},{x:d+8,y:0},{x:d+8,y:-p},{x:-8,y:-p},{x:-8,y:0}],b=q7(i,d,p,v);return u.intersect=function(y){return n5(u,v,y)},b}function hVe(i,a,u){const d=a.width,p=d/2,v=p/(2.5+d/50),b=a.height+v,y="M 0,"+v+" a "+p+","+v+" 0,0,0 "+d+" 0 a "+p+","+v+" 0,0,0 "+-d+" 0 l 0,"+b+" a "+p+","+v+" 0,0,0 "+d+" 0 l 0,"+-b,E=i.attr("label-offset-y",v).insert("path",":first-child").attr("d",y).attr("transform","translate("+-d/2+","+-(b/2+v)+")");return u.intersect=function(_){const A=qme(u,_),P=A.x-u.x;if(p!=0&&(Math.abs(P)u.height/2-v)){let R=v*v*(1-P*P/(p*p));R!=0&&(R=Math.sqrt(R)),R=v-R,_.y-u.y>0&&(R=-R),A.y+=R}return A},E}function UQt(i){i.shapes().question=tVe,i.shapes().hexagon=nVe,i.shapes().stadium=uVe,i.shapes().subroutine=lVe,i.shapes().cylinder=hVe,i.shapes().rect_left_inv_arrow=rVe,i.shapes().lean_right=iVe,i.shapes().lean_left=sVe,i.shapes().trapezoid=aVe,i.shapes().inv_trapezoid=oVe,i.shapes().rect_right_inv_arrow=cVe}function VQt(i){i({question:tVe}),i({hexagon:nVe}),i({stadium:uVe}),i({subroutine:lVe}),i({cylinder:hVe}),i({rect_left_inv_arrow:rVe}),i({lean_right:iVe}),i({lean_left:sVe}),i({trapezoid:aVe}),i({inv_trapezoid:oVe}),i({rect_right_inv_arrow:cVe})}function q7(i,a,u,d){return i.insert("polygon",":first-child").attr("points",d.map(function(p){return p.x+","+p.y}).join(" ")).attr("transform","translate("+-a/2+","+u/2+")")}const GQt={addToRender:UQt,addToRenderV2:VQt},fVe={},KQt=function(i){const a=Object.keys(i);for(const u of a)fVe[u]=i[u]},dVe=async function(i,a,u,d,p,v){const b=d?d.select(`[id="${u}"]`):Dr(`[id="${u}"]`),y=p||document,E=Object.keys(i);for(const _ of E){const A=i[_];let P="default";A.classes.length>0&&(P=A.classes.join(" "));const R=gm(A.styles);let B=A.text!==void 0?A.text:A.id,j;if(h1(qt().flowchart.htmlLabels)){const ie={label:await SC(B.replace(/fa[blrs]?:fa-[\w-]+/g,oe=>``),qt())};j=Bme(b,ie).node(),j.parentNode.removeChild(j)}else{const ie=y.createElementNS("http://www.w3.org/2000/svg","text");ie.setAttribute("style",R.labelStyle.replace("color:","fill:"));const oe=B.split(oi.lineBreakRegex);for(const be of oe){const ge=y.createElementNS("http://www.w3.org/2000/svg","tspan");ge.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),ge.setAttribute("dy","1em"),ge.setAttribute("x","1"),ge.textContent=be,ie.appendChild(ge)}j=ie}let W=0,ee="";switch(A.type){case"round":W=5,ee="rect";break;case"square":ee="rect";break;case"diamond":ee="question";break;case"hexagon":ee="hexagon";break;case"odd":ee="rect_left_inv_arrow";break;case"lean_right":ee="lean_right";break;case"lean_left":ee="lean_left";break;case"trapezoid":ee="trapezoid";break;case"inv_trapezoid":ee="inv_trapezoid";break;case"odd_right":ee="rect_left_inv_arrow";break;case"circle":ee="circle";break;case"ellipse":ee="ellipse";break;case"stadium":ee="stadium";break;case"subroutine":ee="subroutine";break;case"cylinder":ee="cylinder";break;case"group":ee="rect";break;default:ee="rect"}Xe.warn("Adding node",A.id,A.domId),a.setNode(v.db.lookUpDomId(A.id),{labelType:"svg",labelStyle:R.labelStyle,shape:ee,label:j,rx:W,ry:W,class:P,style:R.style,id:v.db.lookUpDomId(A.id)})}},gVe=async function(i,a,u){let d=0,p,v;if(i.defaultStyle!==void 0){const b=gm(i.defaultStyle);p=b.style,v=b.labelStyle}for(const b of i){d++;const y="L-"+b.start+"-"+b.end,E="LS-"+b.start,_="LE-"+b.end,A={};b.type==="arrow_open"?A.arrowhead="none":A.arrowhead="normal";let P="",R="";if(b.style!==void 0){const B=gm(b.style);P=B.style,R=B.labelStyle}else switch(b.stroke){case"normal":P="fill:none",p!==void 0&&(P=p),v!==void 0&&(R=v);break;case"dotted":P="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":P=" stroke-width: 3.5px;fill:none";break}A.style=P,A.labelStyle=R,b.interpolate!==void 0?A.curve=qv(b.interpolate,Sp):i.defaultInterpolate!==void 0?A.curve=qv(i.defaultInterpolate,Sp):A.curve=qv(fVe.curve,Sp),b.text===void 0?b.style!==void 0&&(A.arrowheadStyle="fill: #333"):(A.arrowheadStyle="fill: #333",A.labelpos="c",h1(qt().flowchart.htmlLabels)?(A.labelType="html",A.label=`${await SC(b.text.replace(/fa[blrs]?:fa-[\w-]+/g,B=>``),qt())}`):(A.labelType="text",A.label=b.text.replace(oi.lineBreakRegex,` -`),b.style===void 0&&(A.style=A.style||"stroke: #333; stroke-width: 1.5px;fill:none"),A.labelStyle=A.labelStyle.replace("color:","fill:"))),A.id=y,A.class=E+" "+_,A.minlen=b.length||1,a.setEdge(u.db.lookUpDomId(b.start),u.db.lookUpDomId(b.end),A,d)}},WQt={setConf:KQt,addVertices:dVe,addEdges:gVe,getClasses:function(i,a){return Xe.info("Extracting classes"),a.db.getClasses()},draw:async function(i,a,u,d){Xe.info("Drawing flowchart");const{securityLevel:p,flowchart:v}=qt();let b;p==="sandbox"&&(b=Dr("#i"+a));const y=Dr(p==="sandbox"?b.nodes()[0].contentDocument.body:"body"),E=p==="sandbox"?b.nodes()[0].contentDocument:document;let _=d.db.getDirection();_===void 0&&(_="TD");const A=v.nodeSpacing||50,P=v.rankSpacing||50,R=new R0({multigraph:!0,compound:!0}).setGraph({rankdir:_,nodesep:A,ranksep:P,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});let B;const j=d.db.getSubGraphs();for(let ne=j.length-1;ne>=0;ne--)B=j[ne],d.db.addVertex(B.id,B.title,"group",void 0,B.classes);const W=d.db.getVertices();Xe.warn("Get vertices",W);const ee=d.db.getEdges();let ie=0;for(ie=j.length-1;ie>=0;ie--){B=j[ie],VBe("cluster").append("text");for(let ne=0;ne{a.forEach(p=>{JQt[p](i,u,d)})},JQt={extension:(i,a,u)=>{Xe.trace("Making markers for ",u),i.append("defs").append("marker").attr("id",u+"_"+a+"-extensionStart").attr("class","marker extension "+a).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"),i.append("defs").append("marker").attr("id",u+"_"+a+"-extensionEnd").attr("class","marker extension "+a).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")},composition:(i,a,u)=>{i.append("defs").append("marker").attr("id",u+"_"+a+"-compositionStart").attr("class","marker composition "+a).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"),i.append("defs").append("marker").attr("id",u+"_"+a+"-compositionEnd").attr("class","marker composition "+a).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:(i,a,u)=>{i.append("defs").append("marker").attr("id",u+"_"+a+"-aggregationStart").attr("class","marker aggregation "+a).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"),i.append("defs").append("marker").attr("id",u+"_"+a+"-aggregationEnd").attr("class","marker aggregation "+a).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")},dependency:(i,a,u)=>{i.append("defs").append("marker").attr("id",u+"_"+a+"-dependencyStart").attr("class","marker dependency "+a).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"),i.append("defs").append("marker").attr("id",u+"_"+a+"-dependencyEnd").attr("class","marker dependency "+a).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")},lollipop:(i,a,u)=>{i.append("defs").append("marker").attr("id",u+"_"+a+"-lollipopStart").attr("class","marker lollipop "+a).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),i.append("defs").append("marker").attr("id",u+"_"+a+"-lollipopEnd").attr("class","marker lollipop "+a).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)},point:(i,a,u)=>{i.append("marker").attr("id",u+"_"+a+"-pointEnd").attr("class","marker "+a).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).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"),i.append("marker").attr("id",u+"_"+a+"-pointStart").attr("class","marker "+a).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).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")},circle:(i,a,u)=>{i.append("marker").attr("id",u+"_"+a+"-circleEnd").attr("class","marker "+a).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"),i.append("marker").attr("id",u+"_"+a+"-circleStart").attr("class","marker "+a).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")},cross:(i,a,u)=>{i.append("marker").attr("id",u+"_"+a+"-crossEnd").attr("class","marker cross "+a).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"),i.append("marker").attr("id",u+"_"+a+"-crossStart").attr("class","marker cross "+a).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")},barb:(i,a,u)=>{i.append("defs").append("marker").attr("id",u+"_"+a+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")}},Ume=QQt;function ZQt(i,a){a&&i.attr("style",a)}function eJt(i,a){const u=Dr(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),d=u.append("xhtml:div"),p=i.label,v=i.isNode?"nodeLabel":"edgeLabel";return d.html(bh('"+p+"",a)),ZQt(d,i.labelStyle),d.style("display","inline-block"),d.style("white-space","nowrap"),d.attr("xmlns","http://www.w3.org/1999/xhtml"),u.node()}const Y2=(i,a,u,d)=>{let p=i||"";typeof p=="object"&&(p=p[0]);const v=qt();if(h1(v.flowchart.htmlLabels)){p=p.replace(/\\n|\n/g,"
    "),Xe.debug("vertexText"+p);const b={isNode:d,label:uR(p).replace(/fa[blrs]?:fa-[\w-]+/g,E=>``),labelStyle:a.replace("fill:","color:")};return eJt(b,v)}else{const b=document.createElementNS("http://www.w3.org/2000/svg","text");b.setAttribute("style",a.replace("color:","fill:"));let y=[];typeof p=="string"?y=p.split(/\\n|\n|/gi):Array.isArray(p)?y=p:y=[];for(const E of y){const _=document.createElementNS("http://www.w3.org/2000/svg","tspan");_.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),_.setAttribute("dy","1em"),_.setAttribute("x","0"),u?_.setAttribute("class","title-row"):_.setAttribute("class","row"),_.textContent=E.trim(),b.appendChild(_)}return b}},tJt={};function nJt(i,a){const u=a||tJt,d=typeof u.includeImageAlt=="boolean"?u.includeImageAlt:!0,p=typeof u.includeHtml=="boolean"?u.includeHtml:!0;return pVe(i,d,p)}function pVe(i,a,u){if(rJt(i)){if("value"in i)return i.type==="html"&&!u?"":i.value;if(a&&"alt"in i&&i.alt)return i.alt;if("children"in i)return bVe(i.children,a,u)}return Array.isArray(i)?bVe(i,a,u):""}function bVe(i,a,u){const d=[];let p=-1;for(;++pp?0:p+a:a=a>p?p:a,u=u>0?u:0,d.length<1e4)b=Array.from(d),b.unshift(a,u),i.splice(...b);else for(u&&i.splice(a,u);v0?(r5(i,i.length,0,a),i):a}const mVe={}.hasOwnProperty;function iJt(i){const a={};let u=-1;for(;++ub))return;const se=a.events.length;let de=se,X,pe;for(;de--;)if(a.events[de][0]==="exit"&&a.events[de][1].type==="chunkFlow"){if(X){pe=a.events[de][1].end;break}X=!0}for(ie(d),ne=se;nebe;){const ae=u[ge];a.containerState=ae[1],ae[0].exit.call(a,i)}u.length=be}function oe(){p.write([null]),v=void 0,p=void 0,a.containerState._closeFlow=void 0}}function mJt(i,a,u){return Hl(i,i.attempt(this.parser.constructs.document,a,u),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function wVe(i){if(i===null||X2(i)||fJt(i))return 1;if(hJt(i))return 2}function Kme(i,a,u){const d=[];let p=-1;for(;++p1&&i[u][1].end.offset-i[u][1].start.offset>1?2:1;const P=Object.assign({},i[d][1].end),R=Object.assign({},i[u][1].start);yVe(P,-E),yVe(R,E),b={type:E>1?"strongSequence":"emphasisSequence",start:P,end:Object.assign({},i[d][1].end)},y={type:E>1?"strongSequence":"emphasisSequence",start:Object.assign({},i[u][1].start),end:R},v={type:E>1?"strongText":"emphasisText",start:Object.assign({},i[d][1].end),end:Object.assign({},i[u][1].start)},p={type:E>1?"strong":"emphasis",start:Object.assign({},b.start),end:Object.assign({},y.end)},i[d][1].end=Object.assign({},b.start),i[u][1].start=Object.assign({},y.end),_=[],i[d][1].end.offset-i[d][1].start.offset&&(_=Wv(_,[["enter",i[d][1],a],["exit",i[d][1],a]])),_=Wv(_,[["enter",p,a],["enter",b,a],["exit",b,a],["enter",v,a]]),_=Wv(_,Kme(a.parser.constructs.insideSpan.null,i.slice(d+1,u),a)),_=Wv(_,[["exit",v,a],["enter",y,a],["exit",y,a],["exit",p,a]]),i[u][1].end.offset-i[u][1].start.offset?(A=2,_=Wv(_,[["enter",i[u][1],a],["exit",i[u][1],a]])):A=0,r5(i,d-1,u-d+3,_),u=d+_.length-A-2;break}}for(u=-1;++u0&&Iu(ne)?Hl(i,oe,"linePrefix",v+1)(ne):oe(ne)}function oe(ne){return ne===null||ro(ne)?i.check(CVe,W,ge)(ne):(i.enter("codeFlowValue"),be(ne))}function be(ne){return ne===null||ro(ne)?(i.exit("codeFlowValue"),oe(ne)):(i.consume(ne),be)}function ge(ne){return i.exit("codeFenced"),a(ne)}function ae(ne,se,de){let X=0;return pe;function pe(Pe){return ne.enter("lineEnding"),ne.consume(Pe),ne.exit("lineEnding"),G}function G(Pe){return ne.enter("codeFencedFence"),Iu(Pe)?Hl(ne,xe,"linePrefix",d.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Pe):xe(Pe)}function xe(Pe){return Pe===y?(ne.enter("codeFencedFenceSequence"),U(Pe)):de(Pe)}function U(Pe){return Pe===y?(X++,ne.consume(Pe),U):X>=b?(ne.exit("codeFencedFenceSequence"),Iu(Pe)?Hl(ne,Be,"whitespace")(Pe):Be(Pe)):de(Pe)}function Be(Pe){return Pe===null||ro(Pe)?(ne.exit("codeFencedFence"),se(Pe)):de(Pe)}}}function LJt(i,a,u){const d=this;return p;function p(b){return b===null?u(b):(i.enter("lineEnding"),i.consume(b),i.exit("lineEnding"),v)}function v(b){return d.parser.lazy[d.now().line]?u(b):a(b)}}const Xme={name:"codeIndented",tokenize:DJt},MJt={tokenize:IJt,partial:!0};function DJt(i,a,u){const d=this;return p;function p(_){return i.enter("codeIndented"),Hl(i,v,"linePrefix",4+1)(_)}function v(_){const A=d.events[d.events.length-1];return A&&A[1].type==="linePrefix"&&A[2].sliceSerialize(A[1],!0).length>=4?b(_):u(_)}function b(_){return _===null?E(_):ro(_)?i.attempt(MJt,b,E)(_):(i.enter("codeFlowValue"),y(_))}function y(_){return _===null||ro(_)?(i.exit("codeFlowValue"),b(_)):(i.consume(_),y)}function E(_){return i.exit("codeIndented"),a(_)}}function IJt(i,a,u){const d=this;return p;function p(b){return d.parser.lazy[d.now().line]?u(b):ro(b)?(i.enter("lineEnding"),i.consume(b),i.exit("lineEnding"),p):Hl(i,v,"linePrefix",4+1)(b)}function v(b){const y=d.events[d.events.length-1];return y&&y[1].type==="linePrefix"&&y[2].sliceSerialize(y[1],!0).length>=4?a(b):ro(b)?p(b):u(b)}}const OJt={name:"codeText",tokenize:BJt,resolve:NJt,previous:PJt};function NJt(i){let a=i.length-4,u=3,d,p;if((i[u][1].type==="lineEnding"||i[u][1].type==="space")&&(i[a][1].type==="lineEnding"||i[a][1].type==="space")){for(d=u;++d=4?a(b):i.interrupt(d.parser.constructs.flow,u,a)(b)}}function AVe(i,a,u,d,p,v,b,y,E){const _=E||Number.POSITIVE_INFINITY;let A=0;return P;function P(ie){return ie===60?(i.enter(d),i.enter(p),i.enter(v),i.consume(ie),i.exit(v),R):ie===null||ie===32||ie===41||Vme(ie)?u(ie):(i.enter(d),i.enter(b),i.enter(y),i.enter("chunkString",{contentType:"string"}),W(ie))}function R(ie){return ie===62?(i.enter(v),i.consume(ie),i.exit(v),i.exit(p),i.exit(d),a):(i.enter(y),i.enter("chunkString",{contentType:"string"}),B(ie))}function B(ie){return ie===62?(i.exit("chunkString"),i.exit(y),R(ie)):ie===null||ie===60||ro(ie)?u(ie):(i.consume(ie),ie===92?j:B)}function j(ie){return ie===60||ie===62||ie===92?(i.consume(ie),B):B(ie)}function W(ie){return!A&&(ie===null||ie===41||X2(ie))?(i.exit("chunkString"),i.exit(y),i.exit(b),i.exit(d),a(ie)):A<_&&ie===40?(i.consume(ie),A++,W):ie===41?(i.consume(ie),A--,W):ie===null||ie===32||ie===40||Vme(ie)?u(ie):(i.consume(ie),ie===92?ee:W)}function ee(ie){return ie===40||ie===41||ie===92?(i.consume(ie),W):W(ie)}}function LVe(i,a,u,d,p,v){const b=this;let y=0,E;return _;function _(B){return i.enter(d),i.enter(p),i.consume(B),i.exit(p),i.enter(v),A}function A(B){return y>999||B===null||B===91||B===93&&!E||B===94&&!y&&"_hiddenFootnoteSupport"in b.parser.constructs?u(B):B===93?(i.exit(v),i.enter(p),i.consume(B),i.exit(p),i.exit(d),a):ro(B)?(i.enter("lineEnding"),i.consume(B),i.exit("lineEnding"),A):(i.enter("chunkString",{contentType:"string"}),P(B))}function P(B){return B===null||B===91||B===93||ro(B)||y++>999?(i.exit("chunkString"),A(B)):(i.consume(B),E||(E=!Iu(B)),B===92?R:P)}function R(B){return B===91||B===92||B===93?(i.consume(B),y++,P):P(B)}}function MVe(i,a,u,d,p,v){let b;return y;function y(R){return R===34||R===39||R===40?(i.enter(d),i.enter(p),i.consume(R),i.exit(p),b=R===40?41:R,E):u(R)}function E(R){return R===b?(i.enter(p),i.consume(R),i.exit(p),i.exit(d),a):(i.enter(v),_(R))}function _(R){return R===b?(i.exit(v),E(b)):R===null?u(R):ro(R)?(i.enter("lineEnding"),i.consume(R),i.exit("lineEnding"),Hl(i,_,"linePrefix")):(i.enter("chunkString",{contentType:"string"}),A(R))}function A(R){return R===b||R===null||ro(R)?(i.exit("chunkString"),_(R)):(i.consume(R),R===92?P:A)}function P(R){return R===b||R===92?(i.consume(R),A):A(R)}}function FR(i,a){let u;return d;function d(p){return ro(p)?(i.enter("lineEnding"),i.consume(p),i.exit("lineEnding"),u=!0,d):Iu(p)?Hl(i,d,u?"linePrefix":"lineSuffix")(p):a(p)}}function QD(i){return i.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const HJt={name:"definition",tokenize:VJt},UJt={tokenize:GJt,partial:!0};function VJt(i,a,u){const d=this;let p;return v;function v(B){return i.enter("definition"),b(B)}function b(B){return LVe.call(d,i,y,u,"definitionLabel","definitionLabelMarker","definitionLabelString")(B)}function y(B){return p=QD(d.sliceSerialize(d.events[d.events.length-1][1]).slice(1,-1)),B===58?(i.enter("definitionMarker"),i.consume(B),i.exit("definitionMarker"),E):u(B)}function E(B){return X2(B)?FR(i,_)(B):_(B)}function _(B){return AVe(i,A,u,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(B)}function A(B){return i.attempt(UJt,P,P)(B)}function P(B){return Iu(B)?Hl(i,R,"whitespace")(B):R(B)}function R(B){return B===null||ro(B)?(i.exit("definition"),d.parser.defined.push(p),a(B)):u(B)}}function GJt(i,a,u){return d;function d(y){return X2(y)?FR(i,p)(y):u(y)}function p(y){return MVe(i,v,u,"definitionTitle","definitionTitleMarker","definitionTitleString")(y)}function v(y){return Iu(y)?Hl(i,b,"whitespace")(y):b(y)}function b(y){return y===null||ro(y)?a(y):u(y)}}const KJt={name:"hardBreakEscape",tokenize:WJt};function WJt(i,a,u){return d;function d(v){return i.enter("hardBreakEscape"),i.consume(v),p}function p(v){return ro(v)?(i.exit("hardBreakEscape"),a(v)):u(v)}}const YJt={name:"headingAtx",tokenize:QJt,resolve:XJt};function XJt(i,a){let u=i.length-2,d=3,p,v;return i[d][1].type==="whitespace"&&(d+=2),u-2>d&&i[u][1].type==="whitespace"&&(u-=2),i[u][1].type==="atxHeadingSequence"&&(d===u-1||u-4>d&&i[u-2][1].type==="whitespace")&&(u-=d+1===u?2:4),u>d&&(p={type:"atxHeadingText",start:i[d][1].start,end:i[u][1].end},v={type:"chunkText",start:i[d][1].start,end:i[u][1].end,contentType:"text"},r5(i,d,u-d+1,[["enter",p,a],["enter",v,a],["exit",v,a],["exit",p,a]])),i}function QJt(i,a,u){let d=0;return p;function p(A){return i.enter("atxHeading"),v(A)}function v(A){return i.enter("atxHeadingSequence"),b(A)}function b(A){return A===35&&d++<6?(i.consume(A),b):A===null||X2(A)?(i.exit("atxHeadingSequence"),y(A)):u(A)}function y(A){return A===35?(i.enter("atxHeadingSequence"),E(A)):A===null||ro(A)?(i.exit("atxHeading"),a(A)):Iu(A)?Hl(i,y,"whitespace")(A):(i.enter("atxHeadingText"),_(A))}function E(A){return A===35?(i.consume(A),E):(i.exit("atxHeadingSequence"),y(A))}function _(A){return A===null||A===35||X2(A)?(i.exit("atxHeadingText"),y(A)):(i.consume(A),_)}}const JJt=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],DVe=["pre","script","style","textarea"],ZJt={name:"htmlFlow",tokenize:rZt,resolveTo:nZt,concrete:!0},eZt={tokenize:sZt,partial:!0},tZt={tokenize:iZt,partial:!0};function nZt(i){let a=i.length;for(;a--&&!(i[a][0]==="enter"&&i[a][1].type==="htmlFlow"););return a>1&&i[a-2][1].type==="linePrefix"&&(i[a][1].start=i[a-2][1].start,i[a+1][1].start=i[a-2][1].start,i.splice(a-2,2)),i}function rZt(i,a,u){const d=this;let p,v,b,y,E;return _;function _(Ne){return A(Ne)}function A(Ne){return i.enter("htmlFlow"),i.enter("htmlFlowData"),i.consume(Ne),P}function P(Ne){return Ne===33?(i.consume(Ne),R):Ne===47?(i.consume(Ne),v=!0,W):Ne===63?(i.consume(Ne),p=3,d.interrupt?a:ke):i5(Ne)?(i.consume(Ne),b=String.fromCharCode(Ne),ee):u(Ne)}function R(Ne){return Ne===45?(i.consume(Ne),p=2,B):Ne===91?(i.consume(Ne),p=5,y=0,j):i5(Ne)?(i.consume(Ne),p=4,d.interrupt?a:ke):u(Ne)}function B(Ne){return Ne===45?(i.consume(Ne),d.interrupt?a:ke):u(Ne)}function j(Ne){const pn="CDATA[";return Ne===pn.charCodeAt(y++)?(i.consume(Ne),y===pn.length?d.interrupt?a:xe:j):u(Ne)}function W(Ne){return i5(Ne)?(i.consume(Ne),b=String.fromCharCode(Ne),ee):u(Ne)}function ee(Ne){if(Ne===null||Ne===47||Ne===62||X2(Ne)){const pn=Ne===47,Tt=b.toLowerCase();return!pn&&!v&&DVe.includes(Tt)?(p=1,d.interrupt?a(Ne):xe(Ne)):JJt.includes(b.toLowerCase())?(p=6,pn?(i.consume(Ne),ie):d.interrupt?a(Ne):xe(Ne)):(p=7,d.interrupt&&!d.parser.lazy[d.now().line]?u(Ne):v?oe(Ne):be(Ne))}return Ne===45||K3(Ne)?(i.consume(Ne),b+=String.fromCharCode(Ne),ee):u(Ne)}function ie(Ne){return Ne===62?(i.consume(Ne),d.interrupt?a:xe):u(Ne)}function oe(Ne){return Iu(Ne)?(i.consume(Ne),oe):pe(Ne)}function be(Ne){return Ne===47?(i.consume(Ne),pe):Ne===58||Ne===95||i5(Ne)?(i.consume(Ne),ge):Iu(Ne)?(i.consume(Ne),be):pe(Ne)}function ge(Ne){return Ne===45||Ne===46||Ne===58||Ne===95||K3(Ne)?(i.consume(Ne),ge):ae(Ne)}function ae(Ne){return Ne===61?(i.consume(Ne),ne):Iu(Ne)?(i.consume(Ne),ae):be(Ne)}function ne(Ne){return Ne===null||Ne===60||Ne===61||Ne===62||Ne===96?u(Ne):Ne===34||Ne===39?(i.consume(Ne),E=Ne,se):Iu(Ne)?(i.consume(Ne),ne):de(Ne)}function se(Ne){return Ne===E?(i.consume(Ne),E=null,X):Ne===null||ro(Ne)?u(Ne):(i.consume(Ne),se)}function de(Ne){return Ne===null||Ne===34||Ne===39||Ne===47||Ne===60||Ne===61||Ne===62||Ne===96||X2(Ne)?ae(Ne):(i.consume(Ne),de)}function X(Ne){return Ne===47||Ne===62||Iu(Ne)?be(Ne):u(Ne)}function pe(Ne){return Ne===62?(i.consume(Ne),G):u(Ne)}function G(Ne){return Ne===null||ro(Ne)?xe(Ne):Iu(Ne)?(i.consume(Ne),G):u(Ne)}function xe(Ne){return Ne===45&&p===2?(i.consume(Ne),je):Ne===60&&p===1?(i.consume(Ne),Ie):Ne===62&&p===4?(i.consume(Ne),Ke):Ne===63&&p===3?(i.consume(Ne),ke):Ne===93&&p===5?(i.consume(Ne),Ce):ro(Ne)&&(p===6||p===7)?(i.exit("htmlFlowData"),i.check(eZt,zt,U)(Ne)):Ne===null||ro(Ne)?(i.exit("htmlFlowData"),U(Ne)):(i.consume(Ne),xe)}function U(Ne){return i.check(tZt,Be,zt)(Ne)}function Be(Ne){return i.enter("lineEnding"),i.consume(Ne),i.exit("lineEnding"),Pe}function Pe(Ne){return Ne===null||ro(Ne)?U(Ne):(i.enter("htmlFlowData"),xe(Ne))}function je(Ne){return Ne===45?(i.consume(Ne),ke):xe(Ne)}function Ie(Ne){return Ne===47?(i.consume(Ne),b="",Se):xe(Ne)}function Se(Ne){if(Ne===62){const pn=b.toLowerCase();return DVe.includes(pn)?(i.consume(Ne),Ke):xe(Ne)}return i5(Ne)&&b.length<8?(i.consume(Ne),b+=String.fromCharCode(Ne),Se):xe(Ne)}function Ce(Ne){return Ne===93?(i.consume(Ne),ke):xe(Ne)}function ke(Ne){return Ne===62?(i.consume(Ne),Ke):Ne===45&&p===2?(i.consume(Ne),ke):xe(Ne)}function Ke(Ne){return Ne===null||ro(Ne)?(i.exit("htmlFlowData"),zt(Ne)):(i.consume(Ne),Ke)}function zt(Ne){return i.exit("htmlFlow"),a(Ne)}}function iZt(i,a,u){const d=this;return p;function p(b){return ro(b)?(i.enter("lineEnding"),i.consume(b),i.exit("lineEnding"),v):u(b)}function v(b){return d.parser.lazy[d.now().line]?u(b):a(b)}}function sZt(i,a,u){return d;function d(p){return i.enter("lineEnding"),i.consume(p),i.exit("lineEnding"),i.attempt(uJ,a,u)}}const aZt={name:"htmlText",tokenize:oZt};function oZt(i,a,u){const d=this;let p,v,b;return y;function y(ke){return i.enter("htmlText"),i.enter("htmlTextData"),i.consume(ke),E}function E(ke){return ke===33?(i.consume(ke),_):ke===47?(i.consume(ke),ae):ke===63?(i.consume(ke),be):i5(ke)?(i.consume(ke),de):u(ke)}function _(ke){return ke===45?(i.consume(ke),A):ke===91?(i.consume(ke),v=0,j):i5(ke)?(i.consume(ke),oe):u(ke)}function A(ke){return ke===45?(i.consume(ke),B):u(ke)}function P(ke){return ke===null?u(ke):ke===45?(i.consume(ke),R):ro(ke)?(b=P,Ie(ke)):(i.consume(ke),P)}function R(ke){return ke===45?(i.consume(ke),B):P(ke)}function B(ke){return ke===62?je(ke):ke===45?R(ke):P(ke)}function j(ke){const Ke="CDATA[";return ke===Ke.charCodeAt(v++)?(i.consume(ke),v===Ke.length?W:j):u(ke)}function W(ke){return ke===null?u(ke):ke===93?(i.consume(ke),ee):ro(ke)?(b=W,Ie(ke)):(i.consume(ke),W)}function ee(ke){return ke===93?(i.consume(ke),ie):W(ke)}function ie(ke){return ke===62?je(ke):ke===93?(i.consume(ke),ie):W(ke)}function oe(ke){return ke===null||ke===62?je(ke):ro(ke)?(b=oe,Ie(ke)):(i.consume(ke),oe)}function be(ke){return ke===null?u(ke):ke===63?(i.consume(ke),ge):ro(ke)?(b=be,Ie(ke)):(i.consume(ke),be)}function ge(ke){return ke===62?je(ke):be(ke)}function ae(ke){return i5(ke)?(i.consume(ke),ne):u(ke)}function ne(ke){return ke===45||K3(ke)?(i.consume(ke),ne):se(ke)}function se(ke){return ro(ke)?(b=se,Ie(ke)):Iu(ke)?(i.consume(ke),se):je(ke)}function de(ke){return ke===45||K3(ke)?(i.consume(ke),de):ke===47||ke===62||X2(ke)?X(ke):u(ke)}function X(ke){return ke===47?(i.consume(ke),je):ke===58||ke===95||i5(ke)?(i.consume(ke),pe):ro(ke)?(b=X,Ie(ke)):Iu(ke)?(i.consume(ke),X):je(ke)}function pe(ke){return ke===45||ke===46||ke===58||ke===95||K3(ke)?(i.consume(ke),pe):G(ke)}function G(ke){return ke===61?(i.consume(ke),xe):ro(ke)?(b=G,Ie(ke)):Iu(ke)?(i.consume(ke),G):X(ke)}function xe(ke){return ke===null||ke===60||ke===61||ke===62||ke===96?u(ke):ke===34||ke===39?(i.consume(ke),p=ke,U):ro(ke)?(b=xe,Ie(ke)):Iu(ke)?(i.consume(ke),xe):(i.consume(ke),Be)}function U(ke){return ke===p?(i.consume(ke),p=void 0,Pe):ke===null?u(ke):ro(ke)?(b=U,Ie(ke)):(i.consume(ke),U)}function Be(ke){return ke===null||ke===34||ke===39||ke===60||ke===61||ke===96?u(ke):ke===47||ke===62||X2(ke)?X(ke):(i.consume(ke),Be)}function Pe(ke){return ke===47||ke===62||X2(ke)?X(ke):u(ke)}function je(ke){return ke===62?(i.consume(ke),i.exit("htmlTextData"),i.exit("htmlText"),a):u(ke)}function Ie(ke){return i.exit("htmlTextData"),i.enter("lineEnding"),i.consume(ke),i.exit("lineEnding"),Se}function Se(ke){return Iu(ke)?Hl(i,Ce,"linePrefix",d.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ke):Ce(ke)}function Ce(ke){return i.enter("htmlTextData"),b(ke)}}const Qme={name:"labelEnd",tokenize:dZt,resolveTo:fZt,resolveAll:hZt},cZt={tokenize:gZt},uZt={tokenize:pZt},lZt={tokenize:bZt};function hZt(i){let a=-1;for(;++a=3&&(_===null||ro(_))?(i.exit("thematicBreak"),a(_)):u(_)}function E(_){return _===p?(i.consume(_),d++,E):(i.exit("thematicBreakSequence"),Iu(_)?Hl(i,y,"whitespace")(_):y(_))}}const Q2={name:"list",tokenize:CZt,continuation:{tokenize:SZt},exit:AZt},TZt={tokenize:LZt,partial:!0},EZt={tokenize:_Zt,partial:!0};function CZt(i,a,u){const d=this,p=d.events[d.events.length-1];let v=p&&p[1].type==="linePrefix"?p[2].sliceSerialize(p[1],!0).length:0,b=0;return y;function y(B){const j=d.containerState.type||(B===42||B===43||B===45?"listUnordered":"listOrdered");if(j==="listUnordered"?!d.containerState.marker||B===d.containerState.marker:Gme(B)){if(d.containerState.type||(d.containerState.type=j,i.enter(j,{_container:!0})),j==="listUnordered")return i.enter("listItemPrefix"),B===42||B===45?i.check(lJ,u,_)(B):_(B);if(!d.interrupt||B===49)return i.enter("listItemPrefix"),i.enter("listItemValue"),E(B)}return u(B)}function E(B){return Gme(B)&&++b<10?(i.consume(B),E):(!d.interrupt||b<2)&&(d.containerState.marker?B===d.containerState.marker:B===41||B===46)?(i.exit("listItemValue"),_(B)):u(B)}function _(B){return i.enter("listItemMarker"),i.consume(B),i.exit("listItemMarker"),d.containerState.marker=d.containerState.marker||B,i.check(uJ,d.interrupt?u:A,i.attempt(TZt,R,P))}function A(B){return d.containerState.initialBlankLine=!0,v++,R(B)}function P(B){return Iu(B)?(i.enter("listItemPrefixWhitespace"),i.consume(B),i.exit("listItemPrefixWhitespace"),R):u(B)}function R(B){return d.containerState.size=v+d.sliceSerialize(i.exit("listItemPrefix"),!0).length,a(B)}}function SZt(i,a,u){const d=this;return d.containerState._closeFlow=void 0,i.check(uJ,p,v);function p(y){return d.containerState.furtherBlankLines=d.containerState.furtherBlankLines||d.containerState.initialBlankLine,Hl(i,a,"listItemIndent",d.containerState.size+1)(y)}function v(y){return d.containerState.furtherBlankLines||!Iu(y)?(d.containerState.furtherBlankLines=void 0,d.containerState.initialBlankLine=void 0,b(y)):(d.containerState.furtherBlankLines=void 0,d.containerState.initialBlankLine=void 0,i.attempt(EZt,a,b)(y))}function b(y){return d.containerState._closeFlow=!0,d.interrupt=void 0,Hl(i,i.attempt(Q2,a,u),"linePrefix",d.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(y)}}function _Zt(i,a,u){const d=this;return Hl(i,p,"listItemIndent",d.containerState.size+1);function p(v){const b=d.events[d.events.length-1];return b&&b[1].type==="listItemIndent"&&b[2].sliceSerialize(b[1],!0).length===d.containerState.size?a(v):u(v)}}function AZt(i){i.exit(this.containerState.type)}function LZt(i,a,u){const d=this;return Hl(i,p,"listItemPrefixWhitespace",d.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function p(v){const b=d.events[d.events.length-1];return!Iu(v)&&b&&b[1].type==="listItemPrefixWhitespace"?a(v):u(v)}}const IVe={name:"setextUnderline",tokenize:DZt,resolveTo:MZt};function MZt(i,a){let u=i.length,d,p,v;for(;u--;)if(i[u][0]==="enter"){if(i[u][1].type==="content"){d=u;break}i[u][1].type==="paragraph"&&(p=u)}else i[u][1].type==="content"&&i.splice(u,1),!v&&i[u][1].type==="definition"&&(v=u);const b={type:"setextHeading",start:Object.assign({},i[p][1].start),end:Object.assign({},i[i.length-1][1].end)};return i[p][1].type="setextHeadingText",v?(i.splice(p,0,["enter",b,a]),i.splice(v+1,0,["exit",i[d][1],a]),i[d][1].end=Object.assign({},i[v][1].end)):i[d][1]=b,i.push(["exit",b,a]),i}function DZt(i,a,u){const d=this;let p;return v;function v(_){let A=d.events.length,P;for(;A--;)if(d.events[A][1].type!=="lineEnding"&&d.events[A][1].type!=="linePrefix"&&d.events[A][1].type!=="content"){P=d.events[A][1].type==="paragraph";break}return!d.parser.lazy[d.now().line]&&(d.interrupt||P)?(i.enter("setextHeadingLine"),p=_,b(_)):u(_)}function b(_){return i.enter("setextHeadingLineSequence"),y(_)}function y(_){return _===p?(i.consume(_),y):(i.exit("setextHeadingLineSequence"),Iu(_)?Hl(i,E,"lineSuffix")(_):E(_))}function E(_){return _===null||ro(_)?(i.exit("setextHeadingLine"),a(_)):u(_)}}const IZt={tokenize:OZt};function OZt(i){const a=this,u=i.attempt(uJ,d,i.attempt(this.parser.constructs.flowInitial,p,Hl(i,i.attempt(this.parser.constructs.flow,p,i.attempt(RJt,p)),"linePrefix")));return u;function d(v){if(v===null){i.consume(v);return}return i.enter("lineEndingBlank"),i.consume(v),i.exit("lineEndingBlank"),a.currentConstruct=void 0,u}function p(v){if(v===null){i.consume(v);return}return i.enter("lineEnding"),i.consume(v),i.exit("lineEnding"),a.currentConstruct=void 0,u}}const NZt={resolveAll:NVe()},PZt=OVe("string"),BZt=OVe("text");function OVe(i){return{tokenize:a,resolveAll:NVe(i==="text"?FZt:void 0)};function a(u){const d=this,p=this.parser.constructs[i],v=u.attempt(p,b,y);return b;function b(A){return _(A)?v(A):y(A)}function y(A){if(A===null){u.consume(A);return}return u.enter("data"),u.consume(A),E}function E(A){return _(A)?(u.exit("data"),v(A)):(u.consume(A),E)}function _(A){if(A===null)return!0;const P=p[A];let R=-1;if(P)for(;++R-1){const y=b[0];typeof y=="string"?b[0]=y.slice(d):b.shift()}v>0&&b.push(i[p].slice(0,v))}return b}function $Zt(i,a){let u=-1;const d=[];let p;for(;++u13&&u<32||u>126&&u<160||u>55295&&u<57344||u>64975&&u<65008||(u&65535)===65535||(u&65535)===65534||u>1114111?"�":String.fromCharCode(u)}const VZt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function GZt(i){return i.replace(VZt,KZt)}function KZt(i,a,u){if(a)return a;if(u.charCodeAt(0)===35){const p=u.charCodeAt(1),v=p===120||p===88;return BVe(u.slice(v?2:1),v?16:10)}return Yme(u)||i}function hJ(i){return!i||typeof i!="object"?"":"position"in i||"type"in i?FVe(i.position):"start"in i||"end"in i?FVe(i):"line"in i||"column"in i?Zme(i):""}function Zme(i){return RVe(i&&i.line)+":"+RVe(i&&i.column)}function FVe(i){return Zme(i&&i.start)+"-"+Zme(i&&i.end)}function RVe(i){return i&&typeof i=="number"?i:1}const jVe={}.hasOwnProperty,$Ve=function(i,a,u){return typeof a!="string"&&(u=a,a=void 0),WZt(u)(UZt(qZt(u).document().write(HZt()(i,a,!0))))};function WZt(i){const a={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:y(ia),autolinkProtocol:G,autolinkEmail:G,atxHeading:y(qr),blockQuote:y(Ze),characterEscape:G,characterReference:G,codeFenced:y(Dt),codeFencedFenceInfo:E,codeFencedFenceMeta:E,codeIndented:y(Dt,E),codeText:y(kt,E),codeTextData:G,data:G,codeFlowValue:G,definition:y(Nn),definitionDestinationString:E,definitionLabelString:E,definitionTitleString:E,emphasis:y(ht),hardBreakEscape:y(xt),hardBreakTrailing:y(xt),htmlFlow:y(Ri,E),htmlFlowData:G,htmlText:y(Ri,E),htmlTextData:G,image:y(wi),label:E,link:y(ia),listItem:y(mo),listItemValue:j,listOrdered:y(Hs,B),listUnordered:y(Hs),paragraph:y(Tr),reference:Tt,referenceString:E,resourceDestinationString:E,resourceTitleString:E,setextHeading:y(qr),strong:y(On),thematicBreak:y(zn)},exit:{atxHeading:A(),atxHeadingSequence:se,autolink:A(),autolinkEmail:Bt,autolinkProtocol:yt,blockQuote:A(),characterEscapeValue:xe,characterReferenceMarkerHexadecimal:Wt,characterReferenceMarkerNumeric:Wt,characterReferenceValue:un,codeFenced:A(oe),codeFencedFence:ie,codeFencedFenceInfo:W,codeFencedFenceMeta:ee,codeFlowValue:xe,codeIndented:A(be),codeText:A(Ie),codeTextData:xe,data:xe,definition:A(),definitionDestinationString:ne,definitionLabelString:ge,definitionTitleString:ae,emphasis:A(),hardBreakEscape:A(Be),hardBreakTrailing:A(Be),htmlFlow:A(Pe),htmlFlowData:xe,htmlText:A(je),htmlTextData:xe,image:A(Ce),label:Ke,labelText:ke,lineEnding:U,link:A(Se),listItem:A(),listOrdered:A(),listUnordered:A(),paragraph:A(),referenceString:Et,resourceDestinationString:zt,resourceTitleString:Ne,resource:pn,setextHeading:A(pe),setextHeadingLineSequence:X,setextHeadingText:de,strong:A(),thematicBreak:A()}};zVe(a,(i||{}).mdastExtensions||[]);const u={};return d;function d(Ct){let gt={type:"root",children:[]};const on={stack:[gt],tokenStack:[],config:a,enter:_,exit:P,buffer:E,resume:R,setData:v,getData:b},dn=[];let Ln=-1;for(;++Ln0){const Io=on.tokenStack[on.tokenStack.length-1];(Io[1]||qVe).call(on,void 0,Io[0])}for(gt.position={start:B9(Ct.length>0?Ct[0][1].start:{line:1,column:1,offset:0}),end:B9(Ct.length>0?Ct[Ct.length-2][1].end:{line:1,column:1,offset:0})},Ln=-1;++Ln{A!==0&&(p++,d.push([])),_.split(" ").forEach(P=>{P&&d[p].push({content:P,type:y})})}):(b.type==="strong"||b.type==="emphasis")&&b.children.forEach(E=>{v(E,b.type)})}return u.forEach(b=>{b.type==="paragraph"&&b.children.forEach(y=>{v(y)})}),d}function JZt(i){const{children:a}=$Ve(i);function u(d){return d.type==="text"?d.value.replace(/\n/g,"
    "):d.type==="strong"?`${d.children.map(u).join("")}`:d.type==="emphasis"?`${d.children.map(u).join("")}`:d.type==="paragraph"?`

    ${d.children.map(u).join("")}

    `:`Unsupported markdown: ${d.type}`}return a.map(u).join("")}function ZZt(i){return Intl.Segmenter?[...new Intl.Segmenter().segment(i)].map(a=>a.segment):[...i]}function een(i,a){const u=ZZt(a.content);return HVe(i,[],u,a.type)}function HVe(i,a,u,d){if(u.length===0)return[{content:a.join(""),type:d},{content:"",type:d}];const[p,...v]=u,b=[...a,p];return i([{content:b.join(""),type:d}])?HVe(i,b,v,d):(a.length===0&&p&&(a.push(p),u.shift()),[{content:a.join(""),type:d},{content:u.join(""),type:d}])}function ten(i,a){if(i.some(({content:u})=>u.includes(` -`)))throw new Error("splitLineToFitWidth does not support newlines in the line");return eve(i,a)}function eve(i,a,u=[],d=[]){if(i.length===0)return d.length>0&&u.push(d),u.length>0?u:[];let p="";i[0].content===" "&&(p=" ",i.shift());const v=i.shift()??{content:" ",type:"normal"},b=[...d];if(p!==""&&b.push({content:p,type:"normal"}),b.push(v),a(b))return eve(i,a,u,b);if(d.length>0)u.push(d),i.unshift(v);else if(v.content){const[y,E]=een(a,v);u.push([y]),E.content&&i.unshift(E)}return eve(i,a,u)}function nen(i,a){a&&i.attr("style",a)}function ren(i,a,u,d,p=!1){const v=i.append("foreignObject"),b=v.append("xhtml:div"),y=a.label,E=a.isNode?"nodeLabel":"edgeLabel";b.html(bh(` - "+y+"",mh())),nen(b,a.labelStyle),b.style("display","table-cell"),b.style("white-space","nowrap"),b.style("max-width",u+"px"),b.attr("xmlns","http://www.w3.org/1999/xhtml"),p&&b.attr("class","labelBkg");let _=b.node().getBoundingClientRect();return _.width===u&&(b.style("display","table"),b.style("white-space","break-spaces"),b.style("width",u+"px"),_=b.node().getBoundingClientRect()),v.style("width",_.width),v.style("height",_.height),v.node()}function tve(i,a,u){return i.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",a*u-.1+"em").attr("dy",u+"em")}function ien(i,a,u){const d=i.append("text"),p=tve(d,1,a);nve(p,u);const v=p.node().getComputedTextLength();return d.remove(),v}function sen(i,a,u){var b;const d=i.append("text"),p=tve(d,1,a);nve(p,[{content:u,type:"normal"}]);const v=(b=p.node())==null?void 0:b.getBoundingClientRect();return v&&d.remove(),v}function aen(i,a,u,d=!1){const v=a.append("g"),b=v.insert("rect").attr("class","background"),y=v.append("text").attr("y","-10.1");let E=0;for(const _ of u){const A=R=>ien(v,1.1,R)<=i,P=A(_)?[_]:ten(_,A);for(const R of P){const B=tve(y,E,1.1);nve(B,R),E++}}if(d){const _=y.node().getBBox(),A=2;return b.attr("x",-A).attr("y",-A).attr("width",_.width+2*A).attr("height",_.height+2*A),v.node()}else return y.node()}function nve(i,a){i.text(""),a.forEach((u,d)=>{const p=i.append("tspan").attr("font-style",u.type==="emphasis"?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight",u.type==="strong"?"bold":"normal");d===0?p.text(u.content):p.text(" "+u.content)})}const fJ=(i,a="",{style:u="",isTitle:d=!1,classes:p="",useHtmlLabels:v=!0,isNode:b=!0,width:y=200,addSvgBackground:E=!1}={})=>{if(Xe.info("createText",a,u,d,p,v,b,E),v){const _=JZt(a),A={isNode:b,label:uR(_).replace(/fa[blrs]?:fa-[\w-]+/g,R=>``),labelStyle:u.replace("fill:","color:")};return ren(i,A,y,p,E)}else{const _=QZt(a);return aen(y,i,_,E)}},g1=async(i,a,u,d)=>{let p;const v=a.useHtmlLabels||h1(qt().flowchart.htmlLabels);u?p=u:p="node default";const b=i.insert("g").attr("class",p).attr("id",a.domId||a.id),y=b.insert("g").attr("class","label").attr("style",a.labelStyle);let E;a.labelText===void 0?E="":E=typeof a.labelText=="string"?a.labelText:a.labelText[0];const _=y.node();let A;a.labelType==="markdown"?A=fJ(y,bh(uR(E),qt()),{useHtmlLabels:v,width:a.width||qt().flowchart.wrappingWidth,classes:"markdown-node-label"}):A=_.appendChild(Y2(bh(uR(E),qt()),a.labelStyle,!1,d));let P=A.getBBox();const R=a.padding/2;if(h1(qt().flowchart.htmlLabels)){const B=A.children[0],j=Dr(A),W=B.getElementsByTagName("img");if(W){const ee=E.replace(/]*>/g,"").trim()==="";await Promise.all([...W].map(ie=>new Promise(oe=>{function be(){if(ie.style.display="flex",ie.style.flexDirection="column",ee){const ge=qt().fontSize?qt().fontSize:window.getComputedStyle(document.body).fontSize,ae=5,ne=parseInt(ge,10)*ae+"px";ie.style.minWidth=ne,ie.style.maxWidth=ne}else ie.style.width="100%";oe(ie)}setTimeout(()=>{ie.complete&&be()}),ie.addEventListener("error",be),ie.addEventListener("load",be)})))}P=B.getBoundingClientRect(),j.attr("width",P.width),j.attr("height",P.height)}return v?y.attr("transform","translate("+-P.width/2+", "+-P.height/2+")"):y.attr("transform","translate(0, "+-P.height/2+")"),a.centerLabel&&y.attr("transform","translate("+-P.width/2+", "+-P.height/2+")"),y.insert("rect",":first-child"),{shapeSvg:b,bbox:P,halfPadding:R,label:y}},Gh=(i,a)=>{const u=a.node().getBBox();i.width=u.width,i.height=u.height};function s5(i,a,u,d){return i.insert("polygon",":first-child").attr("points",d.map(function(p){return p.x+","+p.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-a/2+","+u/2+")")}let _o={},W3={},UVe={};const oen=()=>{W3={},UVe={},_o={}},dJ=(i,a)=>(Xe.trace("In isDescendant",a," ",i," = ",W3[a].includes(i)),!!W3[a].includes(i)),cen=(i,a)=>(Xe.info("Descendants of ",a," is ",W3[a]),Xe.info("Edge is ",i),i.v===a||i.w===a?!1:W3[a]?W3[a].includes(i.v)||dJ(i.v,a)||dJ(i.w,a)||W3[a].includes(i.w):(Xe.debug("Tilt, ",a,",not in descendants"),!1)),VVe=(i,a,u,d)=>{Xe.warn("Copying children of ",i,"root",d,"data",a.node(i),d);const p=a.children(i)||[];i!==d&&p.push(i),Xe.warn("Copying (nodes) clusterId",i,"nodes",p),p.forEach(v=>{if(a.children(v).length>0)VVe(v,a,u,d);else{const b=a.node(v);Xe.info("cp ",v," to ",d," with parent ",i),u.setNode(v,b),d!==a.parent(v)&&(Xe.warn("Setting parent",v,a.parent(v)),u.setParent(v,a.parent(v))),i!==d&&v!==i?(Xe.debug("Setting parent",v,i),u.setParent(v,i)):(Xe.info("In copy ",i,"root",d,"data",a.node(i),d),Xe.debug("Not Setting parent for node=",v,"cluster!==rootId",i!==d,"node!==clusterId",v!==i));const y=a.edges(v);Xe.debug("Copying Edges",y),y.forEach(E=>{Xe.info("Edge",E);const _=a.edge(E.v,E.w,E.name);Xe.info("Edge data",_,d);try{cen(E,d)?(Xe.info("Copying as ",E.v,E.w,_,E.name),u.setEdge(E.v,E.w,_,E.name),Xe.info("newGraph edges ",u.edges(),u.edge(u.edges()[0]))):Xe.info("Skipping copy of edge ",E.v,"-->",E.w," rootId: ",d," clusterId:",i)}catch(A){Xe.error(A)}})}Xe.debug("Removing node",v),a.removeNode(v)})},GVe=(i,a)=>{const u=a.children(i);let d=[...u];for(const p of u)UVe[p]=i,d=[...d,...GVe(p,a)];return d},RR=(i,a)=>{Xe.trace("Searching",i);const u=a.children(i);if(Xe.trace("Searching children of id ",i,u),u.length<1)return Xe.trace("This is a valid node",i),i;for(const d of u){const p=RR(d,a);if(p)return Xe.trace("Found replacement for",i," => ",p),p}},gJ=i=>!_o[i]||!_o[i].externalConnections?i:_o[i]?_o[i].id:i,uen=(i,a)=>{if(!i||a>10){Xe.debug("Opting out, no graph ");return}else Xe.debug("Opting in, graph ");i.nodes().forEach(function(u){i.children(u).length>0&&(Xe.warn("Cluster identified",u," Replacement id in edges: ",RR(u,i)),W3[u]=GVe(u,i),_o[u]={id:RR(u,i),clusterData:i.node(u)})}),i.nodes().forEach(function(u){const d=i.children(u),p=i.edges();d.length>0?(Xe.debug("Cluster identified",u,W3),p.forEach(v=>{if(v.v!==u&&v.w!==u){const b=dJ(v.v,u),y=dJ(v.w,u);b^y&&(Xe.warn("Edge: ",v," leaves cluster ",u),Xe.warn("Descendants of XXX ",u,": ",W3[u]),_o[u].externalConnections=!0)}})):Xe.debug("Not a cluster ",u,W3)});for(let u of Object.keys(_o)){const d=_o[u].id,p=i.parent(d);p!==u&&_o[p]&&!_o[p].externalConnections&&(_o[u].id=p)}i.edges().forEach(function(u){const d=i.edge(u);Xe.warn("Edge "+u.v+" -> "+u.w+": "+JSON.stringify(u)),Xe.warn("Edge "+u.v+" -> "+u.w+": "+JSON.stringify(i.edge(u)));let p=u.v,v=u.w;if(Xe.warn("Fix XXX",_o,"ids:",u.v,u.w,"Translating: ",_o[u.v]," --- ",_o[u.w]),_o[u.v]&&_o[u.w]&&_o[u.v]===_o[u.w]){Xe.warn("Fixing and trixing link to self - removing XXX",u.v,u.w,u.name),Xe.warn("Fixing and trixing - removing XXX",u.v,u.w,u.name),p=gJ(u.v),v=gJ(u.w),i.removeEdge(u.v,u.w,u.name);const b=u.w+"---"+u.v;i.setNode(b,{domId:b,id:b,labelStyle:"",labelText:d.label,padding:0,shape:"labelRect",style:""});const y=structuredClone(d),E=structuredClone(d);y.label="",y.arrowTypeEnd="none",E.label="",y.fromCluster=u.v,E.toCluster=u.v,i.setEdge(p,b,y,u.name+"-cyclic-special"),i.setEdge(b,v,E,u.name+"-cyclic-special")}else if(_o[u.v]||_o[u.w]){if(Xe.warn("Fixing and trixing - removing XXX",u.v,u.w,u.name),p=gJ(u.v),v=gJ(u.w),i.removeEdge(u.v,u.w,u.name),p!==u.v){const b=i.parent(p);_o[b].externalConnections=!0,d.fromCluster=u.v}if(v!==u.w){const b=i.parent(v);_o[b].externalConnections=!0,d.toCluster=u.w}Xe.warn("Fix Replacing with XXX",p,v,u.name),i.setEdge(p,v,d,u.name)}}),Xe.warn("Adjusted Graph",H7(i)),KVe(i,0),Xe.trace(_o)},KVe=(i,a)=>{if(Xe.warn("extractor - ",a,H7(i),i.children("D")),a>10){Xe.error("Bailing out");return}let u=i.nodes(),d=!1;for(const p of u){const v=i.children(p);d=d||v.length>0}if(!d){Xe.debug("Done, no node has children",i.nodes());return}Xe.debug("Nodes = ",u,a);for(const p of u)if(Xe.debug("Extracting node",p,_o,_o[p]&&!_o[p].externalConnections,!i.parent(p),i.node(p),i.children("D")," Depth ",a),!_o[p])Xe.debug("Not a cluster",p,a);else if(!_o[p].externalConnections&&i.children(p)&&i.children(p).length>0){Xe.warn("Cluster without external connections, without a parent and with children",p,a);let b=i.graph().rankdir==="TB"?"LR":"TB";_o[p]&&_o[p].clusterData&&_o[p].clusterData.dir&&(b=_o[p].clusterData.dir,Xe.warn("Fixing dir",_o[p].clusterData.dir,b));const y=new R0({multigraph:!0,compound:!0}).setGraph({rankdir:b,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});Xe.warn("Old graph before copy",H7(i)),VVe(p,i,y,p),i.setNode(p,{clusterNode:!0,id:p,clusterData:_o[p].clusterData,labelText:_o[p].labelText,graph:y}),Xe.warn("New graph after copy node: (",p,")",H7(y)),Xe.debug("Old graph after copy",H7(i))}else Xe.warn("Cluster ** ",p," **not meeting the criteria !externalConnections:",!_o[p].externalConnections," no parent: ",!i.parent(p)," children ",i.children(p)&&i.children(p).length>0,i.children("D"),a),Xe.debug(_o);u=i.nodes(),Xe.warn("New list of nodes",u);for(const p of u){const v=i.node(p);Xe.warn(" Now next level",p,v),v.clusterNode&&KVe(v.graph,a+1)}},WVe=(i,a)=>{if(a.length===0)return[];let u=Object.assign(a);return a.forEach(d=>{const p=i.children(d),v=WVe(i,p);u=[...u,...v]}),u},len=i=>WVe(i,i.children());function hen(i,a){return i.intersect(a)}function YVe(i,a,u,d){var p=i.x,v=i.y,b=p-d.x,y=v-d.y,E=Math.sqrt(a*a*y*y+u*u*b*b),_=Math.abs(a*u*b/E);d.x0}function gen(i,a,u){var d=i.x,p=i.y,v=[],b=Number.POSITIVE_INFINITY,y=Number.POSITIVE_INFINITY;typeof a.forEach=="function"?a.forEach(function(j){b=Math.min(b,j.x),y=Math.min(y,j.y)}):(b=Math.min(b,a.x),y=Math.min(y,a.y));for(var E=d-i.width/2-b,_=p-i.height/2-y,A=0;A1&&v.sort(function(j,W){var ee=j.x-u.x,ie=j.y-u.y,oe=Math.sqrt(ee*ee+ie*ie),be=W.x-u.x,ge=W.y-u.y,ae=Math.sqrt(be*be+ge*ge);return oe{var u=i.x,d=i.y,p=a.x-u,v=a.y-d,b=i.width/2,y=i.height/2,E,_;return Math.abs(v)*b>Math.abs(p)*y?(v<0&&(y=-y),E=v===0?0:y*p/v,_=y):(p<0&&(b=-b),E=b,_=p===0?0:b*v/p),{x:u+E,y:d+_}},yh={node:hen,circle:fen,ellipse:YVe,polygon:gen,rect:jR},pen=async(i,a)=>{a.useHtmlLabels||qt().flowchart.htmlLabels||(a.centerLabel=!0);const{shapeSvg:d,bbox:p,halfPadding:v}=await g1(i,a,"node "+a.classes,!0);Xe.info("Classes = ",a.classes);const b=d.insert("rect",":first-child");return b.attr("rx",a.rx).attr("ry",a.ry).attr("x",-p.width/2-v).attr("y",-p.height/2-v).attr("width",p.width+a.padding).attr("height",p.height+a.padding),Gh(a,b),a.intersect=function(y){return yh.rect(a,y)},d},ben=i=>{const a=new Set;for(const u of i)switch(u){case"x":a.add("right"),a.add("left");break;case"y":a.add("up"),a.add("down");break;default:a.add(u);break}return a},men=(i,a,u)=>{const d=ben(i),p=2,v=a.height+2*u.padding,b=v/p,y=a.width+2*b+u.padding,E=u.padding/2;return d.has("right")&&d.has("left")&&d.has("up")&&d.has("down")?[{x:0,y:0},{x:b,y:0},{x:y/2,y:2*E},{x:y-b,y:0},{x:y,y:0},{x:y,y:-v/3},{x:y+2*E,y:-v/2},{x:y,y:-2*v/3},{x:y,y:-v},{x:y-b,y:-v},{x:y/2,y:-v-2*E},{x:b,y:-v},{x:0,y:-v},{x:0,y:-2*v/3},{x:-2*E,y:-v/2},{x:0,y:-v/3}]:d.has("right")&&d.has("left")&&d.has("up")?[{x:b,y:0},{x:y-b,y:0},{x:y,y:-v/2},{x:y-b,y:-v},{x:b,y:-v},{x:0,y:-v/2}]:d.has("right")&&d.has("left")&&d.has("down")?[{x:0,y:0},{x:b,y:-v},{x:y-b,y:-v},{x:y,y:0}]:d.has("right")&&d.has("up")&&d.has("down")?[{x:0,y:0},{x:y,y:-b},{x:y,y:-v+b},{x:0,y:-v}]:d.has("left")&&d.has("up")&&d.has("down")?[{x:y,y:0},{x:0,y:-b},{x:0,y:-v+b},{x:y,y:-v}]:d.has("right")&&d.has("left")?[{x:b,y:0},{x:b,y:-E},{x:y-b,y:-E},{x:y-b,y:0},{x:y,y:-v/2},{x:y-b,y:-v},{x:y-b,y:-v+E},{x:b,y:-v+E},{x:b,y:-v},{x:0,y:-v/2}]:d.has("up")&&d.has("down")?[{x:y/2,y:0},{x:0,y:-E},{x:b,y:-E},{x:b,y:-v+E},{x:0,y:-v+E},{x:y/2,y:-v},{x:y,y:-v+E},{x:y-b,y:-v+E},{x:y-b,y:-E},{x:y,y:-E}]:d.has("right")&&d.has("up")?[{x:0,y:0},{x:y,y:-b},{x:0,y:-v}]:d.has("right")&&d.has("down")?[{x:0,y:0},{x:y,y:0},{x:0,y:-v}]:d.has("left")&&d.has("up")?[{x:y,y:0},{x:0,y:-b},{x:y,y:-v}]:d.has("left")&&d.has("down")?[{x:y,y:0},{x:0,y:0},{x:y,y:-v}]:d.has("right")?[{x:b,y:-E},{x:b,y:-E},{x:y-b,y:-E},{x:y-b,y:0},{x:y,y:-v/2},{x:y-b,y:-v},{x:y-b,y:-v+E},{x:b,y:-v+E},{x:b,y:-v+E}]:d.has("left")?[{x:b,y:0},{x:b,y:-E},{x:y-b,y:-E},{x:y-b,y:-v+E},{x:b,y:-v+E},{x:b,y:-v},{x:0,y:-v/2}]:d.has("up")?[{x:b,y:-E},{x:b,y:-v+E},{x:0,y:-v+E},{x:y/2,y:-v},{x:y,y:-v+E},{x:y-b,y:-v+E},{x:y-b,y:-E}]:d.has("down")?[{x:y/2,y:0},{x:0,y:-E},{x:b,y:-E},{x:b,y:-v+E},{x:y-b,y:-v+E},{x:y-b,y:-E},{x:y,y:-E}]:[{x:0,y:0}]},QVe=i=>i?" "+i:"",km=(i,a)=>`${a||"node default"}${QVe(i.classes)} ${QVe(i.class)}`,JVe=async(i,a)=>{const{shapeSvg:u,bbox:d}=await g1(i,a,km(a,void 0),!0),p=d.width+a.padding,v=d.height+a.padding,b=p+v,y=[{x:b/2,y:0},{x:b,y:-b/2},{x:b/2,y:-b},{x:0,y:-b/2}];Xe.info("Question main (Circle)");const E=s5(u,b,b,y);return E.attr("style",a.style),Gh(a,E),a.intersect=function(_){return Xe.warn("Intersect called"),yh.polygon(a,y,_)},u},ven=(i,a)=>{const u=i.insert("g").attr("class","node default").attr("id",a.domId||a.id),d=28,p=[{x:0,y:d/2},{x:d/2,y:0},{x:0,y:-d/2},{x:-d/2,y:0}];return u.insert("polygon",":first-child").attr("points",p.map(function(b){return b.x+","+b.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),a.width=28,a.height=28,a.intersect=function(b){return yh.circle(a,14,b)},u},wen=async(i,a)=>{const{shapeSvg:u,bbox:d}=await g1(i,a,km(a,void 0),!0),p=4,v=d.height+a.padding,b=v/p,y=d.width+2*b+a.padding,E=[{x:b,y:0},{x:y-b,y:0},{x:y,y:-v/2},{x:y-b,y:-v},{x:b,y:-v},{x:0,y:-v/2}],_=s5(u,y,v,E);return _.attr("style",a.style),Gh(a,_),a.intersect=function(A){return yh.polygon(a,E,A)},u},yen=async(i,a)=>{const{shapeSvg:u,bbox:d}=await g1(i,a,void 0,!0),p=2,v=d.height+2*a.padding,b=v/p,y=d.width+2*b+a.padding,E=men(a.directions,d,a),_=s5(u,y,v,E);return _.attr("style",a.style),Gh(a,_),a.intersect=function(A){return yh.polygon(a,E,A)},u},xen=async(i,a)=>{const{shapeSvg:u,bbox:d}=await g1(i,a,km(a,void 0),!0),p=d.width+a.padding,v=d.height+a.padding,b=[{x:-v/2,y:0},{x:p,y:0},{x:p,y:-v},{x:-v/2,y:-v},{x:0,y:-v/2}];return s5(u,p,v,b).attr("style",a.style),a.width=p+v,a.height=v,a.intersect=function(E){return yh.polygon(a,b,E)},u},ken=async(i,a)=>{const{shapeSvg:u,bbox:d}=await g1(i,a,km(a),!0),p=d.width+a.padding,v=d.height+a.padding,b=[{x:-2*v/6,y:0},{x:p-v/6,y:0},{x:p+2*v/6,y:-v},{x:v/6,y:-v}],y=s5(u,p,v,b);return y.attr("style",a.style),Gh(a,y),a.intersect=function(E){return yh.polygon(a,b,E)},u},Ten=async(i,a)=>{const{shapeSvg:u,bbox:d}=await g1(i,a,km(a,void 0),!0),p=d.width+a.padding,v=d.height+a.padding,b=[{x:2*v/6,y:0},{x:p+v/6,y:0},{x:p-2*v/6,y:-v},{x:-v/6,y:-v}],y=s5(u,p,v,b);return y.attr("style",a.style),Gh(a,y),a.intersect=function(E){return yh.polygon(a,b,E)},u},Een=async(i,a)=>{const{shapeSvg:u,bbox:d}=await g1(i,a,km(a,void 0),!0),p=d.width+a.padding,v=d.height+a.padding,b=[{x:-2*v/6,y:0},{x:p+2*v/6,y:0},{x:p-v/6,y:-v},{x:v/6,y:-v}],y=s5(u,p,v,b);return y.attr("style",a.style),Gh(a,y),a.intersect=function(E){return yh.polygon(a,b,E)},u},Cen=async(i,a)=>{const{shapeSvg:u,bbox:d}=await g1(i,a,km(a,void 0),!0),p=d.width+a.padding,v=d.height+a.padding,b=[{x:v/6,y:0},{x:p-v/6,y:0},{x:p+2*v/6,y:-v},{x:-2*v/6,y:-v}],y=s5(u,p,v,b);return y.attr("style",a.style),Gh(a,y),a.intersect=function(E){return yh.polygon(a,b,E)},u},Sen=async(i,a)=>{const{shapeSvg:u,bbox:d}=await g1(i,a,km(a,void 0),!0),p=d.width+a.padding,v=d.height+a.padding,b=[{x:0,y:0},{x:p+v/2,y:0},{x:p,y:-v/2},{x:p+v/2,y:-v},{x:0,y:-v}],y=s5(u,p,v,b);return y.attr("style",a.style),Gh(a,y),a.intersect=function(E){return yh.polygon(a,b,E)},u},_en=async(i,a)=>{const{shapeSvg:u,bbox:d}=await g1(i,a,km(a,void 0),!0),p=d.width+a.padding,v=p/2,b=v/(2.5+p/50),y=d.height+b+a.padding,E="M 0,"+b+" a "+v+","+b+" 0,0,0 "+p+" 0 a "+v+","+b+" 0,0,0 "+-p+" 0 l 0,"+y+" a "+v+","+b+" 0,0,0 "+p+" 0 l 0,"+-y,_=u.attr("label-offset-y",b).insert("path",":first-child").attr("style",a.style).attr("d",E).attr("transform","translate("+-p/2+","+-(y/2+b)+")");return Gh(a,_),a.intersect=function(A){const P=yh.rect(a,A),R=P.x-a.x;if(v!=0&&(Math.abs(R)a.height/2-b)){let B=b*b*(1-R*R/(v*v));B!=0&&(B=Math.sqrt(B)),B=b-B,A.y-a.y>0&&(B=-B),P.y+=B}return P},u},Aen=async(i,a)=>{const{shapeSvg:u,bbox:d,halfPadding:p}=await g1(i,a,"node "+a.classes+" "+a.class,!0),v=u.insert("rect",":first-child"),b=a.positioned?a.width:d.width+a.padding,y=a.positioned?a.height:d.height+a.padding,E=a.positioned?-b/2:-d.width/2-p,_=a.positioned?-y/2:-d.height/2-p;if(v.attr("class","basic label-container").attr("style",a.style).attr("rx",a.rx).attr("ry",a.ry).attr("x",E).attr("y",_).attr("width",b).attr("height",y),a.props){const A=new Set(Object.keys(a.props));a.props.borders&&(rve(v,a.props.borders,b,y),A.delete("borders")),A.forEach(P=>{Xe.warn(`Unknown node property ${P}`)})}return Gh(a,v),a.intersect=function(A){return yh.rect(a,A)},u},Len=async(i,a)=>{const{shapeSvg:u,bbox:d,halfPadding:p}=await g1(i,a,"node "+a.classes,!0),v=u.insert("rect",":first-child"),b=a.positioned?a.width:d.width+a.padding,y=a.positioned?a.height:d.height+a.padding,E=a.positioned?-b/2:-d.width/2-p,_=a.positioned?-y/2:-d.height/2-p;if(v.attr("class","basic cluster composite label-container").attr("style",a.style).attr("rx",a.rx).attr("ry",a.ry).attr("x",E).attr("y",_).attr("width",b).attr("height",y),a.props){const A=new Set(Object.keys(a.props));a.props.borders&&(rve(v,a.props.borders,b,y),A.delete("borders")),A.forEach(P=>{Xe.warn(`Unknown node property ${P}`)})}return Gh(a,v),a.intersect=function(A){return yh.rect(a,A)},u},Men=async(i,a)=>{const{shapeSvg:u}=await g1(i,a,"label",!0);Xe.trace("Classes = ",a.class);const d=u.insert("rect",":first-child"),p=0,v=0;if(d.attr("width",p).attr("height",v),u.attr("class","label edgeLabel"),a.props){const b=new Set(Object.keys(a.props));a.props.borders&&(rve(d,a.props.borders,p,v),b.delete("borders")),b.forEach(y=>{Xe.warn(`Unknown node property ${y}`)})}return Gh(a,d),a.intersect=function(b){return yh.rect(a,b)},u};function rve(i,a,u,d){const p=[],v=y=>{p.push(y,0)},b=y=>{p.push(0,y)};a.includes("t")?(Xe.debug("add top border"),v(u)):b(u),a.includes("r")?(Xe.debug("add right border"),v(d)):b(d),a.includes("b")?(Xe.debug("add bottom border"),v(u)):b(u),a.includes("l")?(Xe.debug("add left border"),v(d)):b(d),i.attr("stroke-dasharray",p.join(" "))}const Den=(i,a)=>{let u;a.classes?u="node "+a.classes:u="node default";const d=i.insert("g").attr("class",u).attr("id",a.domId||a.id),p=d.insert("rect",":first-child"),v=d.insert("line"),b=d.insert("g").attr("class","label"),y=a.labelText.flat?a.labelText.flat():a.labelText;let E="";typeof y=="object"?E=y[0]:E=y,Xe.info("Label text abc79",E,y,typeof y=="object");const _=b.node().appendChild(Y2(E,a.labelStyle,!0,!0));let A={width:0,height:0};if(h1(qt().flowchart.htmlLabels)){const W=_.children[0],ee=Dr(_);A=W.getBoundingClientRect(),ee.attr("width",A.width),ee.attr("height",A.height)}Xe.info("Text 2",y);const P=y.slice(1,y.length);let R=_.getBBox();const B=b.node().appendChild(Y2(P.join?P.join("
    "):P,a.labelStyle,!0,!0));if(h1(qt().flowchart.htmlLabels)){const W=B.children[0],ee=Dr(B);A=W.getBoundingClientRect(),ee.attr("width",A.width),ee.attr("height",A.height)}const j=a.padding/2;return Dr(B).attr("transform","translate( "+(A.width>R.width?0:(R.width-A.width)/2)+", "+(R.height+j+5)+")"),Dr(_).attr("transform","translate( "+(A.width{const{shapeSvg:u,bbox:d}=await g1(i,a,km(a,void 0),!0),p=d.height+a.padding,v=d.width+p/4+a.padding,b=u.insert("rect",":first-child").attr("style",a.style).attr("rx",p/2).attr("ry",p/2).attr("x",-v/2).attr("y",-p/2).attr("width",v).attr("height",p);return Gh(a,b),a.intersect=function(y){return yh.rect(a,y)},u},Oen=async(i,a)=>{const{shapeSvg:u,bbox:d,halfPadding:p}=await g1(i,a,km(a,void 0),!0),v=u.insert("circle",":first-child");return v.attr("style",a.style).attr("rx",a.rx).attr("ry",a.ry).attr("r",d.width/2+p).attr("width",d.width+a.padding).attr("height",d.height+a.padding),Xe.info("Circle main"),Gh(a,v),a.intersect=function(b){return Xe.info("Circle intersect",a,d.width/2+p,b),yh.circle(a,d.width/2+p,b)},u},Nen=async(i,a)=>{const{shapeSvg:u,bbox:d,halfPadding:p}=await g1(i,a,km(a,void 0),!0),v=5,b=u.insert("g",":first-child"),y=b.insert("circle"),E=b.insert("circle");return b.attr("class",a.class),y.attr("style",a.style).attr("rx",a.rx).attr("ry",a.ry).attr("r",d.width/2+p+v).attr("width",d.width+a.padding+v*2).attr("height",d.height+a.padding+v*2),E.attr("style",a.style).attr("rx",a.rx).attr("ry",a.ry).attr("r",d.width/2+p).attr("width",d.width+a.padding).attr("height",d.height+a.padding),Xe.info("DoubleCircle main"),Gh(a,y),a.intersect=function(_){return Xe.info("DoubleCircle intersect",a,d.width/2+p+v,_),yh.circle(a,d.width/2+p+v,_)},u},Pen=async(i,a)=>{const{shapeSvg:u,bbox:d}=await g1(i,a,km(a,void 0),!0),p=d.width+a.padding,v=d.height+a.padding,b=[{x:0,y:0},{x:p,y:0},{x:p,y:-v},{x:0,y:-v},{x:0,y:0},{x:-8,y:0},{x:p+8,y:0},{x:p+8,y:-v},{x:-8,y:-v},{x:-8,y:0}],y=s5(u,p,v,b);return y.attr("style",a.style),Gh(a,y),a.intersect=function(E){return yh.polygon(a,b,E)},u},Ben=(i,a)=>{const u=i.insert("g").attr("class","node default").attr("id",a.domId||a.id),d=u.insert("circle",":first-child");return d.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),Gh(a,d),a.intersect=function(p){return yh.circle(a,7,p)},u},ZVe=(i,a,u)=>{const d=i.insert("g").attr("class","node default").attr("id",a.domId||a.id);let p=70,v=10;u==="LR"&&(p=10,v=70);const b=d.append("rect").attr("x",-1*p/2).attr("y",-1*v/2).attr("width",p).attr("height",v).attr("class","fork-join");return Gh(a,b),a.height=a.height+a.padding/2,a.width=a.width+a.padding/2,a.intersect=function(y){return yh.rect(a,y)},d},eGe={rhombus:JVe,composite:Len,question:JVe,rect:Aen,labelRect:Men,rectWithTitle:Den,choice:ven,circle:Oen,doublecircle:Nen,stadium:Ien,hexagon:wen,block_arrow:yen,rect_left_inv_arrow:xen,lean_right:ken,lean_left:Ten,trapezoid:Een,inv_trapezoid:Cen,rect_right_inv_arrow:Sen,cylinder:_en,start:Ben,end:(i,a)=>{const u=i.insert("g").attr("class","node default").attr("id",a.domId||a.id),d=u.insert("circle",":first-child"),p=u.insert("circle",":first-child");return p.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),d.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),Gh(a,p),a.intersect=function(v){return yh.circle(a,7,v)},u},note:pen,subroutine:Pen,fork:ZVe,join:ZVe,class_box:(i,a)=>{const u=a.padding/2,d=4,p=8;let v;a.classes?v="node "+a.classes:v="node default";const b=i.insert("g").attr("class",v).attr("id",a.domId||a.id),y=b.insert("rect",":first-child"),E=b.insert("line"),_=b.insert("line");let A=0,P=d;const R=b.insert("g").attr("class","label");let B=0;const j=a.classData.annotations&&a.classData.annotations[0],W=a.classData.annotations[0]?"«"+a.classData.annotations[0]+"»":"",ee=R.node().appendChild(Y2(W,a.labelStyle,!0,!0));let ie=ee.getBBox();if(h1(qt().flowchart.htmlLabels)){const de=ee.children[0],X=Dr(ee);ie=de.getBoundingClientRect(),X.attr("width",ie.width),X.attr("height",ie.height)}a.classData.annotations[0]&&(P+=ie.height+d,A+=ie.width);let oe=a.classData.label;a.classData.type!==void 0&&a.classData.type!==""&&(qt().flowchart.htmlLabels?oe+="<"+a.classData.type+">":oe+="<"+a.classData.type+">");const be=R.node().appendChild(Y2(oe,a.labelStyle,!0,!0));Dr(be).attr("class","classTitle");let ge=be.getBBox();if(h1(qt().flowchart.htmlLabels)){const de=be.children[0],X=Dr(be);ge=de.getBoundingClientRect(),X.attr("width",ge.width),X.attr("height",ge.height)}P+=ge.height+d,ge.width>A&&(A=ge.width);const ae=[];a.classData.members.forEach(de=>{const X=de.getDisplayDetails();let pe=X.displayText;qt().flowchart.htmlLabels&&(pe=pe.replace(//g,">"));const G=R.node().appendChild(Y2(pe,X.cssStyle?X.cssStyle:a.labelStyle,!0,!0));let xe=G.getBBox();if(h1(qt().flowchart.htmlLabels)){const U=G.children[0],Be=Dr(G);xe=U.getBoundingClientRect(),Be.attr("width",xe.width),Be.attr("height",xe.height)}xe.width>A&&(A=xe.width),P+=xe.height+d,ae.push(G)}),P+=p;const ne=[];if(a.classData.methods.forEach(de=>{const X=de.getDisplayDetails();let pe=X.displayText;qt().flowchart.htmlLabels&&(pe=pe.replace(//g,">"));const G=R.node().appendChild(Y2(pe,X.cssStyle?X.cssStyle:a.labelStyle,!0,!0));let xe=G.getBBox();if(h1(qt().flowchart.htmlLabels)){const U=G.children[0],Be=Dr(G);xe=U.getBoundingClientRect(),Be.attr("width",xe.width),Be.attr("height",xe.height)}xe.width>A&&(A=xe.width),P+=xe.height+d,ne.push(G)}),P+=p,j){let de=(A-ie.width)/2;Dr(ee).attr("transform","translate( "+(-1*A/2+de)+", "+-1*P/2+")"),B=ie.height+d}let se=(A-ge.width)/2;return Dr(be).attr("transform","translate( "+(-1*A/2+se)+", "+(-1*P/2+B)+")"),B+=ge.height+d,E.attr("class","divider").attr("x1",-A/2-u).attr("x2",A/2+u).attr("y1",-P/2-u+p+B).attr("y2",-P/2-u+p+B),B+=p,ae.forEach(de=>{Dr(de).attr("transform","translate( "+-A/2+", "+(-1*P/2+B+p/2)+")");const X=de==null?void 0:de.getBBox();B+=((X==null?void 0:X.height)??0)+d}),B+=p,_.attr("class","divider").attr("x1",-A/2-u).attr("x2",A/2+u).attr("y1",-P/2-u+p+B).attr("y2",-P/2-u+p+B),B+=p,ne.forEach(de=>{Dr(de).attr("transform","translate( "+-A/2+", "+(-1*P/2+B)+")");const X=de==null?void 0:de.getBBox();B+=((X==null?void 0:X.height)??0)+d}),y.attr("style",a.style).attr("class","outer title-state").attr("x",-A/2-u).attr("y",-(P/2)-u).attr("width",A+a.padding).attr("height",P+a.padding),Gh(a,y),a.intersect=function(de){return yh.rect(a,de)},b}};let JD={};const pJ=async(i,a,u)=>{let d,p;if(a.link){let v;qt().securityLevel==="sandbox"?v="_top":a.linkTarget&&(v=a.linkTarget||"_blank"),d=i.insert("svg:a").attr("xlink:href",a.link).attr("target",v),p=await eGe[a.shape](d,a,u)}else p=await eGe[a.shape](i,a,u),d=p;return a.tooltip&&p.attr("title",a.tooltip),a.class&&p.attr("class","node default "+a.class),d.attr("data-node","true"),d.attr("data-id",a.id),JD[a.id]=d,a.haveCallback&&JD[a.id].attr("class",JD[a.id].attr("class")+" clickable"),d},Fen=(i,a)=>{JD[a.id]=i},Ren=()=>{JD={}},ive=i=>{const a=JD[i.id];Xe.trace("Transforming node",i.diff,i,"translate("+(i.x-i.width/2-5)+", "+i.width/2+")");const u=8,d=i.diff||0;return i.clusterNode?a.attr("transform","translate("+(i.x+d-i.width/2)+", "+(i.y-i.height/2-u)+")"):a.attr("transform","translate("+i.x+", "+i.y+")"),d},bJ=({flowchart:i})=>{var p,v;const a=((p=i==null?void 0:i.subGraphTitleMargin)==null?void 0:p.top)??0,u=((v=i==null?void 0:i.subGraphTitleMargin)==null?void 0:v.bottom)??0,d=a+u;return{subGraphTitleTopMargin:a,subGraphTitleBottomMargin:u,subGraphTitleTotalMargin:d}},jen={rect:(i,a)=>{Xe.info("Creating subgraph rect for ",a.id,a);const u=qt(),d=i.insert("g").attr("class","cluster"+(a.class?" "+a.class:"")).attr("id",a.id),p=d.insert("rect",":first-child"),v=h1(u.flowchart.htmlLabels),b=d.insert("g").attr("class","cluster-label"),y=a.labelType==="markdown"?fJ(b,a.labelText,{style:a.labelStyle,useHtmlLabels:v}):b.node().appendChild(Y2(a.labelText,a.labelStyle,void 0,!0));let E=y.getBBox();if(h1(u.flowchart.htmlLabels)){const j=y.children[0],W=Dr(y);E=j.getBoundingClientRect(),W.attr("width",E.width),W.attr("height",E.height)}const _=0*a.padding,A=_/2,P=a.width<=E.width+_?E.width+_:a.width;a.width<=E.width+_?a.diff=(E.width-a.width)/2-a.padding/2:a.diff=-a.padding/2,Xe.trace("Data ",a,JSON.stringify(a)),p.attr("style",a.style).attr("rx",a.rx).attr("ry",a.ry).attr("x",a.x-P/2).attr("y",a.y-a.height/2-A).attr("width",P).attr("height",a.height+_);const{subGraphTitleTopMargin:R}=bJ(u);v?b.attr("transform",`translate(${a.x-E.width/2}, ${a.y-a.height/2+R})`):b.attr("transform",`translate(${a.x}, ${a.y-a.height/2+R})`);const B=p.node().getBBox();return a.width=B.width,a.height=B.height,a.intersect=function(j){return jR(a,j)},d},roundedWithTitle:(i,a)=>{const u=qt(),d=i.insert("g").attr("class",a.classes).attr("id",a.id),p=d.insert("rect",":first-child"),v=d.insert("g").attr("class","cluster-label"),b=d.append("rect"),y=v.node().appendChild(Y2(a.labelText,a.labelStyle,void 0,!0));let E=y.getBBox();if(h1(u.flowchart.htmlLabels)){const j=y.children[0],W=Dr(y);E=j.getBoundingClientRect(),W.attr("width",E.width),W.attr("height",E.height)}E=y.getBBox();const _=0*a.padding,A=_/2,P=a.width<=E.width+a.padding?E.width+a.padding:a.width;a.width<=E.width+a.padding?a.diff=(E.width+a.padding*0-a.width)/2:a.diff=-a.padding/2,p.attr("class","outer").attr("x",a.x-P/2-A).attr("y",a.y-a.height/2-A).attr("width",P+_).attr("height",a.height+_),b.attr("class","inner").attr("x",a.x-P/2-A).attr("y",a.y-a.height/2-A+E.height-1).attr("width",P+_).attr("height",a.height+_-E.height-3);const{subGraphTitleTopMargin:R}=bJ(u);v.attr("transform",`translate(${a.x-E.width/2}, ${a.y-a.height/2-a.padding/3+(h1(u.flowchart.htmlLabels)?5:3)+R})`);const B=p.node().getBBox();return a.height=B.height,a.intersect=function(j){return jR(a,j)},d},noteGroup:(i,a)=>{const u=i.insert("g").attr("class","note-cluster").attr("id",a.id),d=u.insert("rect",":first-child"),p=0*a.padding,v=p/2;d.attr("rx",a.rx).attr("ry",a.ry).attr("x",a.x-a.width/2-v).attr("y",a.y-a.height/2-v).attr("width",a.width+p).attr("height",a.height+p).attr("fill","none");const b=d.node().getBBox();return a.width=b.width,a.height=b.height,a.intersect=function(y){return jR(a,y)},u},divider:(i,a)=>{const u=i.insert("g").attr("class",a.classes).attr("id",a.id),d=u.insert("rect",":first-child"),p=0*a.padding,v=p/2;d.attr("class","divider").attr("x",a.x-a.width/2-v).attr("y",a.y-a.height/2).attr("width",a.width+p).attr("height",a.height+p);const b=d.node().getBBox();return a.width=b.width,a.height=b.height,a.diff=-a.padding/2,a.intersect=function(y){return jR(a,y)},u}};let tGe={};const $en=(i,a)=>{Xe.trace("Inserting cluster");const u=a.shape||"rect";tGe[a.id]=jen[u](i,a)},zen=()=>{tGe={}},F9={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:5.3};function mJ(i,a){if(i===void 0||a===void 0)return{angle:0,deltaX:0,deltaY:0};i=vJ(i),a=vJ(a);const[u,d]=[i.x,i.y],[p,v]=[a.x,a.y],b=p-u,y=v-d;return{angle:Math.atan(y/b),deltaX:b,deltaY:y}}const vJ=i=>Array.isArray(i)?{x:i[0],y:i[1]}:i,nGe=i=>({x:function(a,u,d){let p=0;if(u===0&&Object.hasOwn(F9,i.arrowTypeStart)){const{angle:v,deltaX:b}=mJ(d[0],d[1]);p=F9[i.arrowTypeStart]*Math.cos(v)*(b>=0?1:-1)}else if(u===d.length-1&&Object.hasOwn(F9,i.arrowTypeEnd)){const{angle:v,deltaX:b}=mJ(d[d.length-1],d[d.length-2]);p=F9[i.arrowTypeEnd]*Math.cos(v)*(b>=0?1:-1)}return vJ(a).x+p},y:function(a,u,d){let p=0;if(u===0&&Object.hasOwn(F9,i.arrowTypeStart)){const{angle:v,deltaY:b}=mJ(d[0],d[1]);p=F9[i.arrowTypeStart]*Math.abs(Math.sin(v))*(b>=0?1:-1)}else if(u===d.length-1&&Object.hasOwn(F9,i.arrowTypeEnd)){const{angle:v,deltaY:b}=mJ(d[d.length-1],d[d.length-2]);p=F9[i.arrowTypeEnd]*Math.abs(Math.sin(v))*(b>=0?1:-1)}return vJ(a).y+p}}),rGe=(i,a,u,d,p)=>{a.arrowTypeStart&&iGe(i,"start",a.arrowTypeStart,u,d,p),a.arrowTypeEnd&&iGe(i,"end",a.arrowTypeEnd,u,d,p)},qen={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},iGe=(i,a,u,d,p,v)=>{const b=qen[u];if(!b){Xe.warn(`Unknown arrow type: ${u}`);return}const y=a==="start"?"Start":"End";i.attr(`marker-${a}`,`url(${d}#${p}_${v}-${b}${y})`)};let wJ={},Vd={};const Hen=()=>{wJ={},Vd={}},sve=(i,a)=>{const u=h1(qt().flowchart.htmlLabels),d=a.labelType==="markdown"?fJ(i,a.label,{style:a.labelStyle,useHtmlLabels:u,addSvgBackground:!0}):Y2(a.label,a.labelStyle),p=i.insert("g").attr("class","edgeLabel"),v=p.insert("g").attr("class","label");v.node().appendChild(d);let b=d.getBBox();if(u){const E=d.children[0],_=Dr(d);b=E.getBoundingClientRect(),_.attr("width",b.width),_.attr("height",b.height)}v.attr("transform","translate("+-b.width/2+", "+-b.height/2+")"),wJ[a.id]=p,a.width=b.width,a.height=b.height;let y;if(a.startLabelLeft){const E=Y2(a.startLabelLeft,a.labelStyle),_=i.insert("g").attr("class","edgeTerminals"),A=_.insert("g").attr("class","inner");y=A.node().appendChild(E);const P=E.getBBox();A.attr("transform","translate("+-P.width/2+", "+-P.height/2+")"),Vd[a.id]||(Vd[a.id]={}),Vd[a.id].startLeft=_,yJ(y,a.startLabelLeft)}if(a.startLabelRight){const E=Y2(a.startLabelRight,a.labelStyle),_=i.insert("g").attr("class","edgeTerminals"),A=_.insert("g").attr("class","inner");y=_.node().appendChild(E),A.node().appendChild(E);const P=E.getBBox();A.attr("transform","translate("+-P.width/2+", "+-P.height/2+")"),Vd[a.id]||(Vd[a.id]={}),Vd[a.id].startRight=_,yJ(y,a.startLabelRight)}if(a.endLabelLeft){const E=Y2(a.endLabelLeft,a.labelStyle),_=i.insert("g").attr("class","edgeTerminals"),A=_.insert("g").attr("class","inner");y=A.node().appendChild(E);const P=E.getBBox();A.attr("transform","translate("+-P.width/2+", "+-P.height/2+")"),_.node().appendChild(E),Vd[a.id]||(Vd[a.id]={}),Vd[a.id].endLeft=_,yJ(y,a.endLabelLeft)}if(a.endLabelRight){const E=Y2(a.endLabelRight,a.labelStyle),_=i.insert("g").attr("class","edgeTerminals"),A=_.insert("g").attr("class","inner");y=A.node().appendChild(E);const P=E.getBBox();A.attr("transform","translate("+-P.width/2+", "+-P.height/2+")"),_.node().appendChild(E),Vd[a.id]||(Vd[a.id]={}),Vd[a.id].endRight=_,yJ(y,a.endLabelRight)}return d};function yJ(i,a){qt().flowchart.htmlLabels&&i&&(i.style.width=a.length*9+"px",i.style.height="12px")}const sGe=(i,a)=>{Xe.debug("Moving label abc88 ",i.id,i.label,wJ[i.id],a);let u=a.updatedPath?a.updatedPath:a.originalPath;const d=qt(),{subGraphTitleTotalMargin:p}=bJ(d);if(i.label){const v=wJ[i.id];let b=i.x,y=i.y;if(u){const E=So.calcLabelPosition(u);Xe.debug("Moving label "+i.label+" from (",b,",",y,") to (",E.x,",",E.y,") abc88"),a.updatedPath&&(b=E.x,y=E.y)}v.attr("transform",`translate(${b}, ${y+p/2})`)}if(i.startLabelLeft){const v=Vd[i.id].startLeft;let b=i.x,y=i.y;if(u){const E=So.calcTerminalLabelPosition(i.arrowTypeStart?10:0,"start_left",u);b=E.x,y=E.y}v.attr("transform",`translate(${b}, ${y})`)}if(i.startLabelRight){const v=Vd[i.id].startRight;let b=i.x,y=i.y;if(u){const E=So.calcTerminalLabelPosition(i.arrowTypeStart?10:0,"start_right",u);b=E.x,y=E.y}v.attr("transform",`translate(${b}, ${y})`)}if(i.endLabelLeft){const v=Vd[i.id].endLeft;let b=i.x,y=i.y;if(u){const E=So.calcTerminalLabelPosition(i.arrowTypeEnd?10:0,"end_left",u);b=E.x,y=E.y}v.attr("transform",`translate(${b}, ${y})`)}if(i.endLabelRight){const v=Vd[i.id].endRight;let b=i.x,y=i.y;if(u){const E=So.calcTerminalLabelPosition(i.arrowTypeEnd?10:0,"end_right",u);b=E.x,y=E.y}v.attr("transform",`translate(${b}, ${y})`)}},Uen=(i,a)=>{const u=i.x,d=i.y,p=Math.abs(a.x-u),v=Math.abs(a.y-d),b=i.width/2,y=i.height/2;return p>=b||v>=y},Ven=(i,a,u)=>{Xe.debug(`intersection calc abc89: - outsidePoint: ${JSON.stringify(a)} - insidePoint : ${JSON.stringify(u)} - node : x:${i.x} y:${i.y} w:${i.width} h:${i.height}`);const d=i.x,p=i.y,v=Math.abs(d-u.x),b=i.width/2;let y=u.xMath.abs(d-a.x)*E){let P=u.y{Xe.debug("abc88 cutPathAtIntersect",i,a);let u=[],d=i[0],p=!1;return i.forEach(v=>{if(!Uen(a,v)&&!p){const b=Ven(a,d,v);let y=!1;u.forEach(E=>{y=y||E.x===b.x&&E.y===b.y}),u.some(E=>E.x===b.x&&E.y===b.y)||u.push(b),p=!0}else d=v,p||u.push(v)}),u},oGe=function(i,a,u,d,p,v,b){let y=u.points;Xe.debug("abc88 InsertEdge: edge=",u,"e=",a);let E=!1;const _=v.node(a.v);var A=v.node(a.w);A!=null&&A.intersect&&(_!=null&&_.intersect)&&(y=y.slice(1,u.points.length-1),y.unshift(_.intersect(y[0])),y.push(A.intersect(y[y.length-1]))),u.toCluster&&(Xe.debug("to cluster abc88",d[u.toCluster]),y=aGe(u.points,d[u.toCluster].node),E=!0),u.fromCluster&&(Xe.debug("from cluster abc88",d[u.fromCluster]),y=aGe(y.reverse(),d[u.fromCluster].node).reverse(),E=!0);const P=y.filter(ge=>!Number.isNaN(ge.y));let R=VF;u.curve&&(p==="graph"||p==="flowchart")&&(R=u.curve);const{x:B,y:j}=nGe(u),W=E7().x(B).y(j).curve(R);let ee;switch(u.thickness){case"normal":ee="edge-thickness-normal";break;case"thick":ee="edge-thickness-thick";break;case"invisible":ee="edge-thickness-thick";break;default:ee=""}switch(u.pattern){case"solid":ee+=" edge-pattern-solid";break;case"dotted":ee+=" edge-pattern-dotted";break;case"dashed":ee+=" edge-pattern-dashed";break}const ie=i.append("path").attr("d",W(P)).attr("id",u.id).attr("class"," "+ee+(u.classes?" "+u.classes:"")).attr("style",u.style);let oe="";(qt().flowchart.arrowMarkerAbsolute||qt().state.arrowMarkerAbsolute)&&(oe=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,oe=oe.replace(/\(/g,"\\("),oe=oe.replace(/\)/g,"\\)")),rGe(ie,u,oe,b,p);let be={};return E&&(be.updatedPath=y),be.originalPath=u.points,be},cGe=async(i,a,u,d,p,v)=>{Xe.info("Graph in recursive render: XXX",H7(a),p);const b=a.graph().rankdir;Xe.trace("Dir in recursive render - dir:",b);const y=i.insert("g").attr("class","root");a.nodes()?Xe.info("Recursive render XXX",a.nodes()):Xe.info("No nodes found for",a),a.edges().length>0&&Xe.trace("Recursive edges",a.edge(a.edges()[0]));const E=y.insert("g").attr("class","clusters"),_=y.insert("g").attr("class","edgePaths"),A=y.insert("g").attr("class","edgeLabels"),P=y.insert("g").attr("class","nodes");await Promise.all(a.nodes().map(async function(j){const W=a.node(j);if(p!==void 0){const ee=JSON.parse(JSON.stringify(p.clusterData));Xe.info("Setting data for cluster XXX (",j,") ",ee,p),a.setNode(p.id,ee),a.parent(j)||(Xe.trace("Setting parent",j,p.id),a.setParent(j,p.id,ee))}if(Xe.info("(Insert) Node XXX"+j+": "+JSON.stringify(a.node(j))),W&&W.clusterNode){Xe.info("Cluster identified",j,W.width,a.node(j));const ee=await cGe(P,W.graph,u,d,a.node(j),v),ie=ee.elem;Gh(W,ie),W.diff=ee.diff||0,Xe.info("Node bounds (abc123)",j,W,W.width,W.x,W.y),Fen(ie,W),Xe.warn("Recursive render complete ",ie,W)}else a.children(j).length>0?(Xe.info("Cluster - the non recursive path XXX",j,W.id,W,a),Xe.info(RR(W.id,a)),_o[W.id]={id:RR(W.id,a),node:W}):(Xe.info("Node - the non recursive path",j,W.id,W),await pJ(P,a.node(j),b))})),a.edges().forEach(function(j){const W=a.edge(j.v,j.w,j.name);Xe.info("Edge "+j.v+" -> "+j.w+": "+JSON.stringify(j)),Xe.info("Edge "+j.v+" -> "+j.w+": ",j," ",JSON.stringify(a.edge(j))),Xe.info("Fix",_o,"ids:",j.v,j.w,"Translating: ",_o[j.v],_o[j.w]),sve(A,W)}),a.edges().forEach(function(j){Xe.info("Edge "+j.v+" -> "+j.w+": "+JSON.stringify(j))}),Xe.info("#############################################"),Xe.info("### Layout ###"),Xe.info("#############################################"),Xe.info(a),XD(a),Xe.info("Graph after layout:",H7(a));let R=0;const{subGraphTitleTotalMargin:B}=bJ(v);return len(a).forEach(function(j){const W=a.node(j);Xe.info("Position "+j+": "+JSON.stringify(a.node(j))),Xe.info("Position "+j+": ("+W.x,","+W.y,") width: ",W.width," height: ",W.height),W&&W.clusterNode?(W.y+=B,ive(W)):a.children(j).length>0?(W.height+=B,$en(E,W),_o[W.id].node=W):(W.y+=B/2,ive(W))}),a.edges().forEach(function(j){const W=a.edge(j);Xe.info("Edge "+j.v+" -> "+j.w+": "+JSON.stringify(W),W),W.points.forEach(ie=>ie.y+=B/2);const ee=oGe(_,j,W,_o,u,a,d);sGe(W,ee)}),a.nodes().forEach(function(j){const W=a.node(j);Xe.info(j,W.type,W.diff),W.type==="group"&&(R=W.diff)}),{elem:y,diff:R}},ave=async(i,a,u,d,p)=>{Ume(i,u,d,p),Ren(),Hen(),zen(),oen(),Xe.warn("Graph at first:",JSON.stringify(H7(a))),uen(a),Xe.warn("Graph after:",JSON.stringify(H7(a)));const v=qt();await cGe(i,a,d,p,void 0,v)},uGe={},Gen=function(i){const a=Object.keys(i);for(const u of a)uGe[u]=i[u]},lGe=async function(i,a,u,d,p,v){const b=d.select(`[id="${u}"]`),y=Object.keys(i);for(const E of y){const _=i[E];let A="default";_.classes.length>0&&(A=_.classes.join(" ")),A=A+" flowchart-label";const P=gm(_.styles);let R=_.text!==void 0?_.text:_.id,B;if(Xe.info("vertex",_,_.labelType),_.labelType==="markdown")Xe.info("vertex",_,_.labelType);else if(h1(qt().flowchart.htmlLabels))B=Bme(b,{label:R}).node(),B.parentNode.removeChild(B);else{const ie=p.createElementNS("http://www.w3.org/2000/svg","text");ie.setAttribute("style",P.labelStyle.replace("color:","fill:"));const oe=R.split(oi.lineBreakRegex);for(const be of oe){const ge=p.createElementNS("http://www.w3.org/2000/svg","tspan");ge.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),ge.setAttribute("dy","1em"),ge.setAttribute("x","1"),ge.textContent=be,ie.appendChild(ge)}B=ie}let j=0,W="";switch(_.type){case"round":j=5,W="rect";break;case"square":W="rect";break;case"diamond":W="question";break;case"hexagon":W="hexagon";break;case"odd":W="rect_left_inv_arrow";break;case"lean_right":W="lean_right";break;case"lean_left":W="lean_left";break;case"trapezoid":W="trapezoid";break;case"inv_trapezoid":W="inv_trapezoid";break;case"odd_right":W="rect_left_inv_arrow";break;case"circle":W="circle";break;case"ellipse":W="ellipse";break;case"stadium":W="stadium";break;case"subroutine":W="subroutine";break;case"cylinder":W="cylinder";break;case"group":W="rect";break;case"doublecircle":W="doublecircle";break;default:W="rect"}const ee=await SC(R,qt());a.setNode(_.id,{labelStyle:P.labelStyle,shape:W,labelText:ee,labelType:_.labelType,rx:j,ry:j,class:A,style:P.style,id:_.id,link:_.link,linkTarget:_.linkTarget,tooltip:v.db.getTooltip(_.id)||"",domId:v.db.lookUpDomId(_.id),haveCallback:_.haveCallback,width:_.type==="group"?500:void 0,dir:_.dir,type:_.type,props:_.props,padding:qt().flowchart.padding}),Xe.info("setNode",{labelStyle:P.labelStyle,labelType:_.labelType,shape:W,labelText:ee,rx:j,ry:j,class:A,style:P.style,id:_.id,domId:v.db.lookUpDomId(_.id),width:_.type==="group"?500:void 0,type:_.type,dir:_.dir,props:_.props,padding:qt().flowchart.padding})}},hGe=async function(i,a,u){Xe.info("abc78 edges = ",i);let d=0,p={},v,b;if(i.defaultStyle!==void 0){const y=gm(i.defaultStyle);v=y.style,b=y.labelStyle}for(const y of i){d++;const E="L-"+y.start+"-"+y.end;p[E]===void 0?(p[E]=0,Xe.info("abc78 new entry",E,p[E])):(p[E]++,Xe.info("abc78 new entry",E,p[E]));let _=E+"-"+p[E];Xe.info("abc78 new link id to be used is",E,_,p[E]);const A="LS-"+y.start,P="LE-"+y.end,R={style:"",labelStyle:""};switch(R.minlen=y.length||1,y.type==="arrow_open"?R.arrowhead="none":R.arrowhead="normal",R.arrowTypeStart="arrow_open",R.arrowTypeEnd="arrow_open",y.type){case"double_arrow_cross":R.arrowTypeStart="arrow_cross";case"arrow_cross":R.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":R.arrowTypeStart="arrow_point";case"arrow_point":R.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":R.arrowTypeStart="arrow_circle";case"arrow_circle":R.arrowTypeEnd="arrow_circle";break}let B="",j="";switch(y.stroke){case"normal":B="fill:none;",v!==void 0&&(B=v),b!==void 0&&(j=b),R.thickness="normal",R.pattern="solid";break;case"dotted":R.thickness="normal",R.pattern="dotted",R.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":R.thickness="thick",R.pattern="solid",R.style="stroke-width: 3.5px;fill:none;";break;case"invisible":R.thickness="invisible",R.pattern="solid",R.style="stroke-width: 0;fill:none;";break}if(y.style!==void 0){const W=gm(y.style);B=W.style,j=W.labelStyle}R.style=R.style+=B,R.labelStyle=R.labelStyle+=j,y.interpolate!==void 0?R.curve=qv(y.interpolate,Sp):i.defaultInterpolate!==void 0?R.curve=qv(i.defaultInterpolate,Sp):R.curve=qv(uGe.curve,Sp),y.text===void 0?y.style!==void 0&&(R.arrowheadStyle="fill: #333"):(R.arrowheadStyle="fill: #333",R.labelpos="c"),R.labelType=y.labelType,R.label=await SC(y.text.replace(oi.lineBreakRegex,` -`),qt()),y.style===void 0&&(R.style=R.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),R.labelStyle=R.labelStyle.replace("color:","fill:"),R.id=_,R.classes="flowchart-link "+A+" "+P,a.setEdge(y.start,y.end,R,d)}},ove={setConf:Gen,addVertices:lGe,addEdges:hGe,getClasses:function(i,a){return a.db.getClasses()},draw:async function(i,a,u,d){Xe.info("Drawing flowchart");let p=d.db.getDirection();p===void 0&&(p="TD");const{securityLevel:v,flowchart:b}=qt(),y=b.nodeSpacing||50,E=b.rankSpacing||50;let _;v==="sandbox"&&(_=Dr("#i"+a));const A=Dr(v==="sandbox"?_.nodes()[0].contentDocument.body:"body"),P=v==="sandbox"?_.nodes()[0].contentDocument:document,R=new R0({multigraph:!0,compound:!0}).setGraph({rankdir:p,nodesep:y,ranksep:E,marginx:0,marginy:0}).setDefaultEdgeLabel(function(){return{}});let B;const j=d.db.getSubGraphs();Xe.info("Subgraphs - ",j);for(let ae=j.length-1;ae>=0;ae--)B=j[ae],Xe.info("Subgraph - ",B),d.db.addVertex(B.id,{text:B.title,type:B.labelType},"group",void 0,B.classes,B.dir);const W=d.db.getVertices(),ee=d.db.getEdges();Xe.info("Edges",ee);let ie=0;for(ie=j.length-1;ie>=0;ie--){B=j[ie],VBe("cluster").append("text");for(let ae=0;ae{const u=XRe,d=u(i,"r"),p=u(i,"g"),v=u(i,"b");return _C(d,p,v,a)},fGe=i=>`.label { - font-family: ${i.fontFamily}; - color: ${i.nodeTextColor||i.textColor}; +You have to call mermaid.initialize.`)}isLinkData(r){return r!==null&&typeof r=="object"&&"id"in r&&typeof r.id=="string"}addLink(r,a,o){let l=this.isLinkData(o)?o.id.replace("@",""):void 0;Pe.info("addLink",r,a,l);for(let h of r)for(let f of a){let p=h===r[r.length-1],m=f===a[0];p&&m?this.addSingleLink(h,f,o,l):this.addSingleLink(h,f,o,void 0)}}updateLinkInterpolate(r,a){r.forEach(o=>{o==="default"?this.edges.defaultInterpolate=a:this.edges[o].interpolate=a})}updateLink(r,a){r.forEach(o=>{if(typeof o=="number"&&o>=this.edges.length)throw new Error(`The index ${o} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);o==="default"?this.edges.defaultStyle=a:(this.edges[o].style=a,(this.edges[o]?.style?.length??0)>0&&!this.edges[o]?.style?.some(l=>l?.startsWith("fill"))&&this.edges[o]?.style?.push("fill:none"))})}addClass(r,a){let o=a.join().replace(/\\,/g,"\xA7\xA7\xA7").replace(/,/g,";").replace(/§§§/g,",").split(";");r.split(",").forEach(l=>{let h=this.classes.get(l);h===void 0&&(h={id:l,styles:[],textStyles:[]},this.classes.set(l,h)),o?.forEach(f=>{if(/color/.exec(f)){let p=f.replace("fill","bgFill");h.textStyles.push(p)}h.styles.push(f)})})}setDirection(r){this.direction=r.trim(),/.*/.exec(this.direction)&&(this.direction="LR"),/.*v/.exec(this.direction)&&(this.direction="TB"),this.direction==="TD"&&(this.direction="TB")}setClass(r,a){for(let o of r.split(",")){let l=this.vertices.get(o);l&&l.classes.push(a);let h=this.edges.find(p=>p.id===o);h&&h.classes.push(a);let f=this.subGraphLookup.get(o);f&&f.classes.push(a)}}setTooltip(r,a){if(a!==void 0){a=this.sanitizeText(a);for(let o of r.split(","))this.tooltips.set(this.version==="gen-1"?this.lookUpDomId(o):o,a)}}setClickFun(r,a,o){if(Zt().securityLevel!=="loose"||a===void 0)return;let l=[];if(typeof o=="string"){l=o.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let f=0;f{let f=this.lookUpDomId(r),p=document.querySelector(`[id="${f}"]`);p!==null&&p.addEventListener("click",()=>{Ya.runFunc(a,...l)},!1)}))}setLink(r,a,o){r.split(",").forEach(l=>{let h=this.vertices.get(l);h!==void 0&&(h.link=Ya.formatUrl(a,this.config),h.linkTarget=o)}),this.setClass(r,"clickable")}getTooltip(r){return this.tooltips.get(r)}setClickEvent(r,a,o){r.split(",").forEach(l=>{this.setClickFun(l,a,o)}),this.setClass(r,"clickable")}bindFunctions(r){this.funs.forEach(a=>{a(r)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}getClasses(){return this.classes}setupToolTips(r){let a=DL();dn(r).select("svg").selectAll("g.node").on("mouseover",h=>{let f=dn(h.currentTarget),p=f.attr("title");if(p===null)return;let m=h.currentTarget?.getBoundingClientRect();a.transition().duration(200).style("opacity",".9"),a.text(f.attr("title")).style("left",window.scrollX+m.left+(m.right-m.left)/2+"px").style("top",window.scrollY+m.bottom+"px"),a.html(Z1.sanitize(p)),f.classed("hover",!0)}).on("mouseout",h=>{a.transition().duration(500).style("opacity",0),dn(h.currentTarget).classed("hover",!1)})}clear(r="gen-2"){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.diagramId="",this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=r,this.config=Zt(),Is()}setGen(r){this.version=r||"gen-2"}defaultStyle(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"}addSubGraph(r,a,o){let l=r.text.trim(),h=o.text;r===o&&/\s/.exec(o.text)&&(l=void 0);let p=i(E=>{let S={boolean:{},number:{},string:{}},R=[],L;return{nodeList:E.filter(function(M){let I=typeof M;return M.stmt&&M.stmt==="dir"?(L=M.value,!1):M.trim()===""?!1:I in S?S[I].hasOwnProperty(M)?!1:S[I][M]=!0:R.includes(M)?!1:R.push(M)}),dir:L}},"uniq")(a.flat()),m=p.nodeList,b=p.dir,v=Zt().flowchart??{};if(b=b??(v.inheritDir?this.getDirection()??Zt().direction??void 0:void 0),this.version==="gen-1")for(let E=0;EE!==l);let C=this.subGraphs.find(E=>E.id===l);return C?C.nodes.push(...T.nodes):this.subGraphs.push(T),this.subGraphLookup.set(l,C??T),l}getPosForId(r){for(let[a,o]of this.subGraphs.entries())if(o.id===r)return a;return-1}indexNodes2(r,a){let o=this.subGraphs[a].nodes;if(this.secCount=this.secCount+1,this.secCount>2e3)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=a,this.subGraphs[a].id===r)return{result:!0,count:0};let l=0,h=1;for(;l=0){let p=this.indexNodes2(r,f);if(p.result)return{result:!0,count:h+p.count};h=h+p.count}l=l+1}return{result:!1,count:h}}getDepthFirstPos(r){return this.posCrossRef[r]}indexNodes(){this.secCount=-1,this.subGraphs.length>0&&this.indexNodes2("none",this.subGraphs.length-1)}getSubGraphs(){return this.subGraphs}firstGraph(){return this.firstGraphFlag?(this.firstGraphFlag=!1,!0):!1}destructStartLink(r){let a=r.trim(),o="arrow_open";switch(a[0]){case"<":o="arrow_point",a=a.slice(1);break;case"x":o="arrow_cross",a=a.slice(1);break;case"o":o="arrow_circle",a=a.slice(1);break}let l="normal";return a.includes("=")&&(l="thick"),a.includes(".")&&(l="dotted"),{type:o,stroke:l}}countChar(r,a){let o=a.length,l=0;for(let h=0;h":l="arrow_point",a.startsWith("<")&&(l="double_"+l,o=o.slice(1));break;case"o":l="arrow_circle",a.startsWith("o")&&(l="double_"+l,o=o.slice(1));break}let h="normal",f=o.length-1;o.startsWith("=")&&(h="thick"),o.startsWith("~")&&(h="invisible");let p=this.countChar(".",o);return p&&(h="dotted",f=p),{type:l,stroke:h,length:f}}destructLink(r,a){let o=this.destructEndLink(r),l;if(a){if(l=this.destructStartLink(a),l.stroke!==o.stroke)return{type:"INVALID",stroke:"INVALID"};if(l.type==="arrow_open")l.type=o.type;else{if(l.type!==o.type)return{type:"INVALID",stroke:"INVALID"};l.type="double_"+l.type}return l.type==="double_arrow"&&(l.type="double_arrow_point"),l.length=o.length,l}return o}exists(r,a){for(let o of r)if(o.nodes.includes(a))return!0;return!1}makeUniq(r,a){let o=[];return r.nodes.forEach((l,h)=>{this.exists(a,l)||o.push(r.nodes[h])}),{nodes:o}}getTypeFromVertex(r){if(r.img)return"imageSquare";if(r.icon)return r.form==="circle"?"iconCircle":r.form==="square"?"iconSquare":r.form==="rounded"?"iconRounded":"icon";switch(r.type){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return r.type}}findNode(r,a){return r.find(o=>o.id===a)}destructEdgeType(r){let a="none",o="arrow_point";switch(r){case"arrow_point":case"arrow_circle":case"arrow_cross":o=r;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":a=r.replace("double_",""),o=a;break}return{arrowTypeStart:a,arrowTypeEnd:o}}addNodeFromVertex(r,a,o,l,h,f){let p=o.get(r.id),m=l.get(r.id)??!1,b=this.findNode(a,r.id);if(b)b.cssStyles=r.styles,b.cssCompiledStyles=this.getCompiledStyles(r.classes),b.cssClasses=r.classes.join(" ");else{let v={id:r.id,label:r.text,labelType:r.labelType,labelStyle:"",parentId:p,padding:h.flowchart?.padding||8,cssStyles:r.styles,cssCompiledStyles:this.getCompiledStyles(["default","node",...r.classes]),cssClasses:"default "+r.classes.join(" "),dir:r.dir,domId:r.domId,look:f,link:r.link,linkTarget:r.linkTarget,tooltip:this.getTooltip(r.id),icon:r.icon,pos:r.pos,img:r.img,assetWidth:r.assetWidth,assetHeight:r.assetHeight,constraint:r.constraint};m?a.push({...v,isGroup:!0,shape:"rect"}):a.push({...v,isGroup:!1,shape:this.getTypeFromVertex(r),minWidth:h.flowchart?.minNodeWidth})}}getCompiledStyles(r){let a=[];for(let o of r){let l=this.classes.get(o);l?.styles&&(a=[...a,...l.styles??[]].map(h=>h.trim())),l?.textStyles&&(a=[...a,...l.textStyles??[]].map(h=>h.trim()))}return a}getData(){let r=Zt(),a=[],o=[],l=this.getSubGraphs(),h=new Map,f=new Map,p=new Map;for(let M of l)for(let I of M.nodes)this.subGraphLookup.has(I)&&p.set(I,M.id);let m=new Map,b=new Map;for(let M of l){let I=p.get(M.id);I!==void 0&&b.set(I,[...b.get(I)??[],M.id])}let v=0,T=i(M=>{m.set(M,v++);for(let I of b.get(M)??[])T(I)},"walk");for(let M of l)p.has(M.id)||T(M.id);let C=i(M=>this.subGraphLookup.get(M)?.metadata?.view==="collapsed","isCollapsed"),E=i(M=>{let I,F=new Set,O=M;for(;O!==void 0&&!F.has(O);)F.add(O),C(O)&&(I=O),O=p.get(O);return I},"outermostCollapsed"),S=new Set,R=new Map;for(let M of l){let I=E(M.id);if(I!==void 0){M.id!==I&&(S.add(M.id),R.set(M.id,I));for(let F of M.nodes)F!==I&&(S.add(F),R.set(F,I))}}for(let M=l.length-1;M>=0;M--){let I=l[M];if(!S.has(I.id)){I.nodes.length>0&&f.set(I.id,!0);for(let F of I.nodes)h.set(F,I.id)}}for(let M=l.length-1;M>=0;M--){let I=l[M];S.has(I.id)||(I.metadata?.view==="collapsed"?a.push({id:I.id,label:I.title,labelStyle:"",labelType:I.labelType,parentId:h.get(I.id),padding:8,cssCompiledStyles:this.getCompiledStyles(I.classes),cssClasses:I.classes.join(" "),shape:"collapsedGroup",dir:I.dir,isGroup:!1,look:r.look,colorIndex:m.get(I.id)}):a.push({id:I.id,label:I.title,labelStyle:"",labelType:I.labelType,parentId:h.get(I.id),padding:8,cssCompiledStyles:this.getCompiledStyles(I.classes),cssClasses:I.classes.join(" "),shape:"rect",dir:I.dir,isGroup:!0,look:r.look,colorIndex:m.get(I.id),metadata:I.metadata}))}this.getVertices().forEach(M=>{S.has(M.id)||this.addNodeFromVertex(M,a,h,f,r,r.look||"classic")});let _=this.getEdges();return _.forEach((M,I)=>{let{arrowTypeStart:F,arrowTypeEnd:O}=this.destructEdgeType(M.type),P=[..._.defaultStyle??[]],G=R.get(M.start)??M.start,V=R.get(M.end)??M.end;if(G===V&&(R.has(M.start)||R.has(M.end)))return;M.style&&P.push(...M.style);let Y={id:Qv(G,V,{counter:I,prefix:"L"},M.id),isUserDefinedId:M.isUserDefinedId,start:G,end:V,type:M.type??"normal",label:M.text,labelType:M.labelType,labelpos:"c",thickness:M.stroke,minlen:M.length,classes:M?.stroke==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:M?.stroke==="invisible"||M?.type==="arrow_open"?"none":F,arrowTypeEnd:M?.stroke==="invisible"||M?.type==="arrow_open"?"none":O,arrowheadStyle:"fill: #333",cssCompiledStyles:this.getCompiledStyles(M.classes),labelStyle:P,style:P,pattern:M.stroke,look:r.look,animate:M.animate,animation:M.animation,curve:M.interpolate||this.edges.defaultInterpolate||r.flowchart?.curve};o.push(Y)}),{nodes:a,edges:o,other:{},config:r}}defaultConfig(){return Zj.flowchart}}});var ay,hA=ie(()=>{"use strict";Yo();ay=i((t,r)=>{let a;return r==="sandbox"&&(a=dn("#i"+t)),(r==="sandbox"?dn(a.nodes()[0].contentDocument.body):dn("body")).select(`[id="${t}"]`)},"getDiagramElement")});var b4,fre=ie(()=>{"use strict";b4=i(({flowchart:t})=>{let r=t?.subGraphTitleMargin?.top??0,a=t?.subGraphTitleMargin?.bottom??0,o=r+a;return{subGraphTitleTopMargin:r,subGraphTitleBottomMargin:a,subGraphTitleTotalMargin:o}},"getSubGraphTitleMargins")});var Xyr,Qyr=ie(()=>{"use strict";ma();Qs();Xn();Yo();ba();jw();d2e();da();b0();Xyr=i(async(t,r)=>{let a=Zt(),{theme:o,themeVariables:l,handDrawnSeed:h}=a,{clusterBkg:f,clusterBorder:p,borderColorArray:m}=l,b=p,{labelStyles:v,nodeStyles:T,borderStyles:C,backgroundStyles:E}=tn(r),S=t.insert("g").attr("class","cluster swimlane "+(r.cssClasses||"")).attr("id",r.domId??r.id).attr("data-id",r.id).attr("data-et","cluster").attr("data-look",r.look);dp(S,r.colorIndex,o,m);let R=lm(a.flowchart.htmlLabels),L=r.direction==="LR",_=S.insert("g").attr("class","cluster-label swimlane-label"),M=await zh(_,r.label,{style:r.labelStyle,useHtmlLabels:R,isNode:!0,width:r.width}),I=M.getBBox();if(R){let Q=M.children[0],W=dn(M);I=Q.getBoundingClientRect(),W.attr("width",I.width),W.attr("height",I.height)}let F=r.padding??0,O=r.width<=I.width+F?I.width+F:r.width;r.width<=I.width+F?r.diff=(O-r.width)/2-F:r.diff=-F;let P=r.height,G=r.y-P/2,V=r.y+P/2,Y=r.x-O/2,K=r.swimlaneContentTop!==void 0?r.swimlaneContentTop:G+P/3,J=L?4:0,H=I.height+2*J,q,Z;if(L){let Q=Math.max(H,I.height+2*J),W=Y+Q,te=Math.max(0,O-Q);if(r.look==="handDrawn"){let ae=Kr.svg(S),ce=nn(r,{roughness:.7,fill:f,stroke:b,seed:h}),le=nn(r,{roughness:.7,fill:"none",stroke:b,seed:h}),de=ae.rectangle(Y,G,Q,P,ce);q=S.insert(()=>de,":first-child").attr("class","swimlane-title");let ve=ae.rectangle(W,G,te,P,le);Z=S.insert(()=>ve,":first-child").attr("class","swimlane-body"),q.select("path:nth-child(2)").attr("style",C.join(";")),q.select("path").attr("style",E.join(";").replace("fill","stroke"))}else q=S.insert("rect",":first-child"),Z=S.insert("rect",":first-child"),q.attr("class","swimlane-title").attr("style",T).attr("x",Y).attr("y",G).attr("width",Q).attr("height",P).attr("fill",f).attr("stroke",b),Z.attr("class","swimlane-body").attr("style",T).attr("x",W).attr("y",G).attr("width",te).attr("height",P).attr("fill","none").attr("stroke",b);let z=Y+Q/2,re=r.y;_.attr("transform",`translate(${z}, ${re}) rotate(-90) translate(${-I.width/2}, ${-I.height/2})`)}else{let Q=Math.max(0,K-G),W=Math.min(H,Q),te=G+W,z=Math.max(0,V-te),re=r.x-O/2;if(r.look==="handDrawn"){let le=Kr.svg(S),de=nn(r,{roughness:.7,fill:f,stroke:b,fillWeight:3,seed:h}),ve=nn(r,{roughness:.7,fill:"none",stroke:b,seed:h}),Se=le.rectangle(re,G,O,W,de);q=S.insert(()=>Se,":first-child").attr("class","swimlane-title");let _e=le.rectangle(re,te,O,z,ve);Z=S.insert(()=>_e,":first-child").attr("class","swimlane-body"),q.select("path:nth-child(2)").attr("style",C.join(";")),q.select("path").attr("style",E.join(";").replace("fill","stroke"))}else q=S.insert("rect",":first-child"),Z=S.insert("rect",":first-child"),q.attr("class","swimlane-title").attr("style",T).attr("x",re).attr("y",G).attr("width",O).attr("height",W).attr("fill",f).attr("stroke",b),Z.attr("class","swimlane-body").attr("style",T).attr("x",re).attr("y",te).attr("width",O).attr("height",z).attr("fill","none").attr("stroke",b);let ae=r.x-I.width/2,ce=G+(W-I.height)/2;_.attr("transform",`translate(${ae}, ${ce})`)}if(Pe.trace("Swimlane data ",r,JSON.stringify(r)),v){let Q=_.select("span");Q&&Q.attr("style",v)}return r.offsetX=0,r.width=O,r.height=P,r.offsetY=I.height-F/2,r.intersect=function(Q){return KT(r,Q)},{cluster:S,labelBBox:I}},"swimlane")});var Jyr,O9n,P9n,B9n,F9n,$9n,G9n,j9n,z9n,U9n,V9n,H9n,pJe,Zyr,FL,ebr,Oz=ie(()=>{"use strict";ma();Qs();Xn();fre();Yo();ba();jw();d2e();E2e();p4();da();Qyr();b0();Jyr=i(async(t,r)=>{Pe.info("Creating subgraph rect for ",r.id,r);let a=Zt(),{theme:o,themeVariables:l,handDrawnSeed:h}=a,{clusterBkg:f,clusterBorder:p,borderColorArray:m}=l,{labelStyles:b,nodeStyles:v,borderStyles:T,backgroundStyles:C}=tn(r),E=t.insert("g").attr("class","cluster "+r.cssClasses).attr("id",r.domId).attr("data-look",r.look);dp(E,r.colorIndex,o,m);let S=$h(a),R=E.insert("g").attr("class","cluster-label "),L;r.labelType==="markdown"?L=await zh(R,r.label,{style:r.labelStyle,useHtmlLabels:S,isNode:!0,width:r.width}):L=await QT(R,r.label,r.labelStyle||"",!1,!0);let _=L.getBBox();if($h(a)){let Y=L.children[0],K=dn(L);_=Y.getBoundingClientRect(),K.attr("width",_.width),K.attr("height",_.height)}let M=r.width<=_.width+r.padding?_.width+r.padding:r.width;r.width<=_.width+r.padding?r.diff=(M-r.width)/2-r.padding:r.diff=-r.padding;let I=r.height,F=r.x-M/2,O=r.y-I/2;Pe.trace("Data ",r,JSON.stringify(r));let P;if(r.look==="handDrawn"){let Y=Kr.svg(E),K=nn(r,{roughness:.7,fill:f,stroke:p,fillWeight:3,seed:h}),J=Y.path(Md(F,O,M,I,0),K);P=E.insert(()=>(Pe.debug("Rough node insert CXC",J),J),":first-child"),P.select("path:nth-child(2)").attr("style",T.join(";")),P.select("path").attr("style",C.join(";").replace("fill","stroke"))}else P=E.insert("rect",":first-child"),P.attr("style",v).attr("rx",r.rx).attr("ry",r.ry).attr("x",F).attr("y",O).attr("width",M).attr("height",I);let{subGraphTitleTopMargin:G}=b4(a);if(R.attr("transform",`translate(${r.x-_.width/2}, ${r.y-r.height/2+G})`),b){let Y=R.select("span");Y&&Y.attr("style",b)}let V=P.node().getBBox();return r.offsetX=0,r.width=V.width,r.height=V.height,r.offsetY=_.height-r.padding/2,r.intersect=function(Y){return KT(r,Y)},{cluster:E,labelBBox:_}},"rect"),O9n=i((t,r)=>{let a=t.insert("g").attr("class","note-cluster").attr("id",r.domId),o=a.insert("rect",":first-child"),l=0*r.padding,h=l/2;o.attr("rx",r.rx).attr("ry",r.ry).attr("x",r.x-r.width/2-h).attr("y",r.y-r.height/2-h).attr("width",r.width+l).attr("height",r.height+l).attr("fill","none");let f=o.node().getBBox();return r.width=f.width,r.height=f.height,r.intersect=function(p){return KT(r,p)},{cluster:a,labelBBox:{width:0,height:0}}},"noteGroup"),P9n=i(async(t,r)=>{let a=Zt(),{theme:o,themeVariables:l,handDrawnSeed:h}=a,{altBackground:f,borderColorArray:p,compositeBackground:m,compositeTitleBackground:b,nodeBorder:v}=l,T=t.insert("g").attr("class",r.cssClasses).attr("id",r.domId).attr("data-id",r.id).attr("data-look",r.look);dp(T,r.colorIndex,o,p);let C=T.insert("g",":first-child"),E=T.insert("g").attr("class","cluster-label"),S=T.append("rect"),R=await QT(E,r.label,r.labelStyle,void 0,!0),L=R.getBBox();if($h(a)){let J=R.children[0],H=dn(R);L=J.getBoundingClientRect(),H.attr("width",L.width),H.attr("height",L.height)}let _=0*r.padding,M=_/2,I=(r.width<=L.width+r.padding?L.width+r.padding:r.width)+_;r.width<=L.width+r.padding?r.diff=(I-r.width)/2-r.padding:r.diff=-r.padding;let F=r.height+_,O=r.height+_-L.height-6,P=r.x-I/2,G=r.y-F/2;r.width=I;let V=r.y-r.height/2-M+L.height+2,Y;if(r.look==="handDrawn"){let J=r.cssClasses.includes("statediagram-cluster-alt"),H=Kr.svg(T),q=r.rx||r.ry?H.path(Md(P,G,I,F,10),{roughness:.7,fill:b,fillStyle:"solid",stroke:v,seed:h}):H.rectangle(P,G,I,F,{seed:h});Y=T.insert(()=>q,":first-child");let Z=H.rectangle(P,V,I,O,{fill:J?f:m,fillStyle:J?"hachure":"solid",stroke:v,seed:h});Y=T.insert(()=>q,":first-child"),S=T.insert(()=>Z),Y.attr("class","outer"),S.attr("class","inner")}else Y=C.insert("rect",":first-child"),Y.attr("class","outer").attr("x",P).attr("y",G).attr("width",I).attr("height",F).attr("data-look",r.look),S.attr("class","inner").attr("x",P).attr("y",V).attr("width",I).attr("height",O);E.attr("transform",`translate(${r.x-L.width/2}, ${G+1-($h(a)?0:3)})`);let K=Y.node().getBBox();return r.height=K.height,r.offsetX=0,r.offsetY=L.height-r.padding/2,r.labelBBox=L,r.intersect=function(J){return KT(r,J)},{cluster:T,labelBBox:L}},"roundedWithTitle"),B9n=i(async(t,r)=>{Pe.info("Creating subgraph rect for ",r.id,r);let a=Zt(),{themeVariables:o,handDrawnSeed:l}=a,{clusterBkg:h,clusterBorder:f}=o,{labelStyles:p,nodeStyles:m,borderStyles:b,backgroundStyles:v}=tn(r),T=t.insert("g").attr("class","cluster "+r.cssClasses).attr("id",r.domId).attr("data-look",r.look),C=$h(a),E=T.insert("g").attr("class","cluster-label "),S=await zh(E,r.label,{style:r.labelStyle,useHtmlLabels:C,isNode:!0,width:r.width}),R=S.getBBox();if($h(a)){let G=S.children[0],V=dn(S);R=G.getBoundingClientRect(),V.attr("width",R.width),V.attr("height",R.height)}let L=r.width<=R.width+r.padding?R.width+r.padding:r.width;r.width<=R.width+r.padding?r.diff=(L-r.width)/2-r.padding:r.diff=-r.padding;let _=r.height,M=r.x-L/2,I=r.y-_/2;Pe.trace("Data ",r,JSON.stringify(r));let F;if(r.look==="handDrawn"){let G=Kr.svg(T),V=nn(r,{roughness:.7,fill:h,stroke:f,fillWeight:4,seed:l}),Y=G.path(Md(M,I,L,_,r.rx),V);F=T.insert(()=>(Pe.debug("Rough node insert CXC",Y),Y),":first-child"),F.select("path:nth-child(2)").attr("style",b.join(";")),F.select("path").attr("style",v.join(";").replace("fill","stroke"))}else F=T.insert("rect",":first-child"),F.attr("style",m).attr("rx",r.rx).attr("ry",r.ry).attr("x",M).attr("y",I).attr("width",L).attr("height",_);let{subGraphTitleTopMargin:O}=b4(a);if(E.attr("transform",`translate(${r.x-R.width/2}, ${r.y-r.height/2+O})`),p){let G=E.select("span");G&&G.attr("style",p)}let P=F.node().getBBox();return r.offsetX=0,r.width=P.width,r.height=P.height,r.offsetY=R.height-r.padding/2,r.intersect=function(G){return KT(r,G)},{cluster:T,labelBBox:R}},"kanbanSection"),F9n=i((t,r)=>{let a=Zt(),{theme:o,themeVariables:l,handDrawnSeed:h}=a,{altBackground:f,nodeBorder:p,borderColorArray:m}=l,b=t.insert("g").attr("class",r.cssClasses).attr("id",r.domId).attr("data-look",r.look);dp(b,r.colorIndex,o,m);let v=b.insert("g",":first-child"),T=0*r.padding,C=r.width+T;r.diff=-r.padding;let E=r.height+T,S=r.x-C/2,R=r.y-E/2;r.width=C;let L;if(r.look==="handDrawn"){let I=Kr.svg(b).rectangle(S,R,C,E,{fill:f??"#efefef",fillStyle:"solid",roughness:.5,strokeLineDash:[5],stroke:p,seed:h});L=b.insert(()=>I,":first-child").attr("class","divider")}else{L=v.insert("rect",":first-child");let M="outer";r.look,M="divider",L.attr("class",M).attr("x",S).attr("y",R).attr("width",C).attr("height",E).attr("data-look",r.look)}let _=L.node().getBBox();return r.height=_.height,r.offsetX=0,r.offsetY=0,r.intersect=function(M){return KT(r,M)},{cluster:b,labelBBox:{}}},"divider"),$9n=i(async(t,r,a)=>{Pe.info(`Creating ${a.cssClass} for `,r.id,r);let o=Zt(),{theme:l,themeVariables:h,handDrawnSeed:f}=o,{borderColorArray:p}=h,{labelStyles:m,borderStyles:b}=tn(r),v=t.insert("g").attr("class","cluster "+a.cssClass+" "+r.cssClasses).attr("id",r.domId??r.id).attr("data-look",r.look);dp(v,r.colorIndex,l,p);let T=$h(o),C=v.insert("g").attr("class","cluster-label"),E={width:0,height:0},S=r.label?.trim();if(S){let O;if(r.labelType==="markdown"?O=await zh(C,r.label,{style:r.labelStyle,useHtmlLabels:T,isNode:!0,width:r.width}):O=await QT(C,r.label,r.labelStyle||"",!1,!0),E=O.getBBox(),T){let P=O.children[0],G=dn(O);E=P.getBoundingClientRect(),G.attr("width",E.width),G.attr("height",E.height)}}let R=r.width<=E.width+r.padding?E.width+r.padding:r.width;r.width<=E.width+r.padding?r.diff=(R-r.width)/2-r.padding:r.diff=-r.padding;let L=r.height,_=r.x-R/2,M=r.y-L/2,I;if(r.look==="handDrawn"){let O=Kr.svg(v),P=nn(r,{roughness:a.roughness,fill:a.fill,stroke:a.stroke,strokeWidth:a.strokeWidth,seed:f,...a.fill==="none"?{fillWeight:0}:{fillStyle:"solid"},...a.strokeDash?{strokeLineDash:a.strokeDash}:{}}),G=O.path(Md(_,M,R,L,a.rx),P);I=v.insert(()=>G,":first-child"),I.select("path:nth-child(2)").attr("style",b.join(";"))}else I=v.insert("rect",":first-child"),I.attr("rx",a.rx).attr("ry",a.rx).attr("x",_).attr("y",M).attr("width",R).attr("height",L).attr("fill",a.fill).attr("stroke",a.stroke).attr("stroke-width",a.strokeWidth+"px"),a.strokeDash&&I.attr("stroke-dasharray",a.strokeDash.join(", "));if(S){let{subGraphTitleTopMargin:O}=b4(o);if(C.attr("transform",`translate(${r.x-E.width/2}, ${r.y-r.height/2+O})`),m){let P=C.select("span");P&&P.attr("style",m)}}let F=I.node().getBBox();return r.offsetX=0,r.width=F.width,r.height=F.height,r.offsetY=E.height-r.padding/2,r.intersect=function(O){return KT(r,O)},{cluster:v,labelBBox:E}},"createContainerGroup"),G9n=i(async(t,r)=>{let{themeVariables:a}=Zt(),o=a.flowContainerStroke||a.secondaryBorderColor;return $9n(t,r,{cssClass:"flow-cluster",rx:10,fill:"none",stroke:o,strokeWidth:.75,roughness:.7})},"flowGroup"),j9n=i((t,r)=>{let a=t.boundaryType||"rect",o=a==="package"?20:t.padding,l=a==="package"?r.height+10:0,h=Math.max(t.width,r.width+o),f=a==="package"?Math.max(t.height,l+t.padding*2):t.height,p=t.x-h/2,m=t.y-f/2;return{boundaryType:a,width:h,height:f,x:p,y:m,bodyY:m+l,bodyHeight:f-l,tabHeight:l,tabWidth:a==="package"?Math.min(h,Math.max(80,r.width+20)):0}},"getUsecaseSystemBoundaryGeometry"),z9n=i(async(t,r)=>{Pe.info("Creating usecase system boundary for ",r.id,r);let a=Zt(),{theme:o,themeVariables:l,handDrawnSeed:h}=a,{clusterBkg:f,clusterBorder:p,borderColorArray:m}=l,{labelStyles:b,nodeStyles:v}=tn(r),{stylesMap:T}=Jv(r),C=r.boundaryType||"rect",E=t.insert("g").attr("class",`cluster usecase-system-boundary usecase-system-boundary-${C} ${r.cssClasses}`).attr("id",typeof r.domId=="string"?r.domId:r.id).attr("data-boundary-type",C).attr("data-look",r.look);dp(E,r.colorIndex,o,m);let S=$h(a),R=E.insert("g").attr("class","cluster-label system-boundary-title"),L=await zh(R,r.label,{style:b,useHtmlLabels:S,isNode:!0}),_=L.getBBox();if(S){let q=L.children[0],Z=dn(L);_=q.getBoundingClientRect(),Z.attr("width",_.width),Z.attr("height",_.height)}let M=j9n(r,_),{width:I,height:F,x:O,y:P,bodyY:G,bodyHeight:V,tabHeight:Y,tabWidth:K}=M;r.diff=r.width<=_.width+r.padding?(I-r.width)/2-r.padding:-r.padding;let J=nn(r,{fill:T.get("fill")||f,stroke:T.get("stroke")||p,strokeWidth:T.get("stroke-width")?.replace("px","")||1,seed:h});if(r.look==="handDrawn"){let q=Kr.svg(E),Z=q.rectangle(O,G,I,V,J);if(E.insert(()=>Z,":first-child").attr("class","boundary-body label-container"),C==="package"){let Q=q.rectangle(O,P,K,Y,J);E.insert(()=>Q,":first-child").attr("class","boundary-tab system-boundary-package-tab label-container")}}else E.insert("rect",":first-child").attr("class","boundary-body label-container").attr("style",v).attr("x",O).attr("y",G).attr("width",I).attr("height",V),C==="package"&&E.insert("rect",":first-child").attr("class","boundary-tab system-boundary-package-tab label-container").attr("style",v).attr("x",O).attr("y",P).attr("width",K).attr("height",Y);let{subGraphTitleTopMargin:H}=b4(a);return C==="package"?R.attr("transform",`translate(${O+(K-_.width)/2}, ${P+(Y-_.height)/2})`):R.attr("transform",`translate(${r.x-_.width/2}, ${P+H})`),b&&(R.attr("style",b),R.select("span").attr("style",b)),r.offsetX=0,r.width=I,r.height=F,r.offsetY=_.height-r.padding/2,r.labelBBox=_,r.intersect=function(q){return KT(r,q)},{cluster:E,labelBBox:_}},"usecaseSystemBoundary"),U9n=Jyr,V9n={rect:Jyr,squareRect:U9n,roundedWithTitle:P9n,noteGroup:O9n,divider:F9n,kanbanSection:B9n,flowGroup:G9n,usecaseSystemBoundary:z9n,swimlane:Xyr},H9n=new Set(["noteGroup","divider"]),pJe=i(t=>!H9n.has(t??"rect"),"clusterPaintsTitle"),Zyr=new Map,FL=i(async(t,r)=>{let a=r.shape||"rect",o=await V9n[a](t,r);return Zyr.set(r.id,o),o},"insertCluster"),ebr=i(()=>{Zyr=new Map},"clear")});var Pz,tbr=ie(()=>{"use strict";Pz=i((t,r)=>{if(r)return"translate("+-t.width/2+", "+-t.height/2+")";let a=t.x??0,o=t.y??0;return"translate("+-(a+t.width/2)+", "+-(o+t.height/2)+")"},"computeLabelTransform")});function M2e(t,r){if(t===void 0||r===void 0)return{angle:0,deltaX:0,deltaY:0};t=Wf(t),r=Wf(r);let[a,o]=[t.x,t.y],[l,h]=[r.x,r.y],f=l-a,p=h-o;return{angle:Math.atan(p/f),deltaX:f,deltaY:p}}var gp,dre,Wf,rbr,I2e=ie(()=>{"use strict";gp={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5},dre={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};i(M2e,"calculateDeltaAndAngle");Wf=i(t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,"pointTransformer"),rbr=i(t=>({x:i(function(r,a,o){let l=0,h=Wf(o[0]).x=0?1:-1)}else if(a===o.length-1&&Object.hasOwn(gp,t.arrowTypeEnd)){let{angle:E,deltaX:S}=M2e(o[o.length-1],o[o.length-2]);l=gp[t.arrowTypeEnd]*Math.cos(E)*(S>=0?1:-1)}let f=Math.abs(Wf(r).x-Wf(o[o.length-1]).x),p=Math.abs(Wf(r).y-Wf(o[o.length-1]).y),m=Math.abs(Wf(r).x-Wf(o[0]).x),b=Math.abs(Wf(r).y-Wf(o[0]).y),v=gp[t.arrowTypeStart],T=gp[t.arrowTypeEnd],C=1;if(f0&&p0&&b=0?1:-1)}else if(a===o.length-1&&Object.hasOwn(gp,t.arrowTypeEnd)){let{angle:E,deltaY:S}=M2e(o[o.length-1],o[o.length-2]);l=gp[t.arrowTypeEnd]*Math.abs(Math.sin(E))*(S>=0?1:-1)}let f=Math.abs(Wf(r).y-Wf(o[o.length-1]).y),p=Math.abs(Wf(r).x-Wf(o[o.length-1]).x),m=Math.abs(Wf(r).y-Wf(o[0]).y),b=Math.abs(Wf(r).x-Wf(o[0]).x),v=gp[t.arrowTypeStart],T=gp[t.arrowTypeEnd],C=1;if(f0&&p0&&b{"use strict";Xn();ibr=i((t,r,a,o,l,h=!1,f)=>{r.arrowTypeStart&&nbr(t,"start",r.arrowTypeStart,a,o,l,h,f),r.arrowTypeEnd&&nbr(t,"end",r.arrowTypeEnd,a,o,l,h,f)},"addEdgeMarkers"),q9n={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_barb_neo:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},arrow_hierarchy:{type:"hierarchy",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}},W9n=["cross","point","circle","lollipop","aggregation","extension","composition","dependency","barb"],nbr=i((t,r,a,o,l,h,f=!1,p)=>{if(!a||a==="none")return;let m=q9n[a],b=m&&W9n.includes(m.type);if(!m){Pe.warn(`Unknown arrow type: ${a}`);return}let v=m.type,E=`${l}_${h}-${v}${r==="start"?"Start":"End"}${f&&b?"-margin":""}`;if(p&&p.trim()!==""){let S=p.replace(/[^\dA-Za-z]/g,"_"),R=`${E}_${S}`;if(!document.getElementById(R)){let L=document.getElementById(E);if(L){let _=L.cloneNode(!0);_.id=R,_.querySelectorAll("path, circle, line").forEach(I=>{I.setAttribute("stroke",p),m.fill&&I.setAttribute("fill",p)}),L.parentNode?.appendChild(_)}}t.attr(`marker-${r}`,`url(${o}#${R})`)}else t.attr(`marker-${r}`,`url(${o}#${E})`)},"addEdgeMarker")});function N2e(t,r,a){t.terminalLabelSizes??={},t.terminalLabelSizes[r]={width:a.width,height:a.height}}function O2e(t,r,a){$h(Zt())&&t&&(t.style.width=Math.max(r.length*9,a.width)+"px",t.style.height=a.height+"px")}function J9n(t){let r=[],a=[];for(let o=1;o5&&Math.abs(h.y-l.y)>5||l.y===h.y&&h.x===f.x&&Math.abs(h.x-l.x)>5&&Math.abs(h.y-f.y)>5)&&(r.push(h),a.push(o))}return{cornerPoints:r,cornerPointPositions:a}}function tIn(t,r){if(t.length<2)return"";let a="",o=t.length,l=1e-5;for(let h=0;h({...l}));if(t.length>=2&&gp[r.arrowTypeStart]){let l=gp[r.arrowTypeStart],h=t[0],f=t[1],{angle:p}=lbr(h,f),m=l*Math.cos(p),b=l*Math.sin(p);a[0].x=h.x+m,a[0].y=h.y+b}let o=t.length;if(o>=2&&gp[r.arrowTypeEnd]){let l=gp[r.arrowTypeEnd],h=t[o-1],f=t[o-2],{angle:p}=lbr(f,h),m=l*Math.cos(p),b=l*Math.sin(p);a[o-1].x=h.x-m,a[o-1].y=h.y-b}return a}var Y9n,sO,v0,cbr,P2e,pre,v4,gJe,Bz,K9n,X9n,Q9n,sbr,obr,Z9n,eIn,$L,Fz=ie(()=>{"use strict";ma();Qs();Xn();jw();u2e();tbr();Ia();I2e();fre();Yo();ba();E2e();abr();da();Y9n=i(t=>typeof t=="string"?t:Zt()?.flowchart?.curve,"resolveEdgeCurveType"),sO=new Map,v0=new Map,cbr=i(()=>{sO.clear(),v0.clear()},"clear"),P2e=i(t=>!!(t.label||t.startLabelLeft||t.startLabelRight||t.endLabelLeft||t.endLabelRight),"hasEdgeLabel"),pre=i(t=>t?typeof t=="string"?t:t.reduce((r,a)=>r+";"+a,""):"","getLabelStyles"),v4=i(async(t,r)=>{let a=Zt(),o=$h(a),{labelStyles:l}=tn(r);r.labelStyle=l;let h=t.insert("g").attr("class","edgeLabel"),f=h.insert("g").attr("class","label").attr("data-id",r.id),p=r.labelType==="markdown",b=await zh(t,r.label,{style:pre(r.labelStyle),useHtmlLabels:o,addSvgBackground:!0,isNode:!1,markdown:p,width:p?void 0:void 0},a);f.node().appendChild(b),Pe.info("abc82",r,r.labelType);let v,T;if(o){let E=b.children[0],S=dn(b);v=await XE.measure(()=>E.getBoundingClientRect()),T=v,S.attr("width",v.width),S.attr("height",v.height)}else{let E=dn(b).select("text").node();await XE.measure(()=>{v=b.getBBox(),E&&typeof E.getBBox=="function"?T=E.getBBox():T=v})}f.attr("transform",Pz(T,o)),sO.set(r.id,h),r.width=v.width,r.height=v.height;let C;if(r.startLabelLeft){let E=t.insert("g").attr("class","edgeTerminals"),S=E.insert("g").attr("class","inner"),R=await QT(S,r.startLabelLeft,pre(r.labelStyle)||"",!1,!1);C=R;let L=R.getBBox();if(o){let _=R.children[0],M=dn(R);L=_.getBoundingClientRect(),M.attr("width",L.width),M.attr("height",L.height)}S.attr("transform",Pz(L,o)),v0.get(r.id)||v0.set(r.id,{}),v0.get(r.id).startLeft=E,O2e(C,r.startLabelLeft,L),N2e(r,"startLeft",L)}if(r.startLabelRight){let E=t.insert("g").attr("class","edgeTerminals"),S=E.insert("g").attr("class","inner"),R=await QT(S,r.startLabelRight,pre(r.labelStyle)||"",!1,!1);C=R;let L=R.getBBox();if(o){let _=R.children[0],M=dn(R);L=_.getBoundingClientRect(),M.attr("width",L.width),M.attr("height",L.height)}S.attr("transform",Pz(L,o)),v0.get(r.id)||v0.set(r.id,{}),v0.get(r.id).startRight=E,O2e(C,r.startLabelRight,L),N2e(r,"startRight",L)}if(r.endLabelLeft){let E=t.insert("g").attr("class","edgeTerminals"),S=E.insert("g").attr("class","inner"),R=await QT(S,r.endLabelLeft,pre(r.labelStyle)||"",!1,!1);C=R;let L=R.getBBox();if(o){let _=R.children[0],M=dn(R);L=_.getBoundingClientRect(),M.attr("width",L.width),M.attr("height",L.height)}S.attr("transform",Pz(L,o)),v0.get(r.id)||v0.set(r.id,{}),v0.get(r.id).endLeft=E,O2e(C,r.endLabelLeft,L),N2e(r,"endLeft",L)}if(r.endLabelRight){let E=t.insert("g").attr("class","edgeTerminals"),S=E.insert("g").attr("class","inner"),R=await QT(S,r.endLabelRight,pre(r.labelStyle)||"",!1,!1);C=R;let L=R.getBBox();if(o){let _=R.children[0],M=dn(R);L=_.getBoundingClientRect(),M.attr("width",L.width),M.attr("height",L.height)}S.attr("transform",Pz(L,o)),v0.get(r.id)||v0.set(r.id,{}),v0.get(r.id).endRight=E,O2e(C,r.endLabelRight,L),N2e(r,"endRight",L)}return b},"insertEdgeLabel");i(N2e,"recordTerminalLabelSize");i(O2e,"setTerminalWidth");gJe=i((t,r)=>{let a=t.x,o=t.y;if(r?.updatedPath){let l=Ya.calcLabelPosition(r.updatedPath);if(r.originalPath){let h=Ya.calcLabelPosition(r.originalPath);a=t.x+(l.x-h.x),o=t.y+(l.y-h.y)}else a=l.x,o=l.y}return{x:a,y:o}},"resolveEdgeLabelPosition"),Bz=i((t,r)=>{Pe.debug("Moving label abc88 ",t.id,t.label,sO.get(t.id),r);let a=Zt(),{subGraphTitleTotalMargin:o}=b4(a);if(t.label){let h=sO.get(t.id),{x:f,y:p}=gJe(t,r);Pe.debug("Moving label "+t.label+" from (",t.x,",",t.y,") to (",f,",",p,") abc88"),h.attr("transform",`translate(${f}, ${p+o/2})`)}let l=r.updatedPath?r.updatedPath:r.originalPath;if(t.startLabelLeft){let h=v0.get(t.id).startLeft,f=t.x,p=t.y;if(l){let m=Ya.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",l);f=m.x,p=m.y}h.attr("transform",`translate(${f}, ${p})`)}if(t.startLabelRight){let h=v0.get(t.id).startRight,f=t.x,p=t.y;if(l){let m=Ya.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",l);f=m.x,p=m.y}h.attr("transform",`translate(${f}, ${p})`)}if(t.endLabelLeft){let h=v0.get(t.id).endLeft,f=t.x,p=t.y;if(l){let m=Ya.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",l);f=m.x,p=m.y}h.attr("transform",`translate(${f}, ${p})`)}if(t.endLabelRight){let h=v0.get(t.id).endRight,f=t.x,p=t.y;if(l){let m=Ya.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",l);f=m.x,p=m.y}h.attr("transform",`translate(${f}, ${p})`)}},"positionEdgeLabel"),K9n=i((t,r)=>{if(!t?.isLabelEdge||!t?.id?.endsWith("-to-label")||!Array.isArray(r)||r.length!==2)return r;let[a,o]=r,l=Math.abs(o.x-a.x),h=Math.abs(o.y-a.y);return l<.001||h<.001?r:h>=l?[a,{x:a.x,y:o.y},o]:[a,{x:o.x,y:a.y},o]},"orthogonalizeToLabelClippedPoints"),X9n=i((t,r)=>{let a=t.x,o=t.y,l=Math.abs(r.x-a),h=Math.abs(r.y-o),f=t.width/2,p=t.height/2;return l>=f||h>=p},"outsideNode"),Q9n=i((t,r,a)=>{Pe.debug(`intersection calc abc89: + outsidePoint: ${JSON.stringify(r)} + insidePoint : ${JSON.stringify(a)} + node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let o=t.x,l=t.y,h=Math.abs(o-a.x),f=t.width/2,p=a.xMath.abs(o-r.x)*m){let T=a.y{Pe.warn("abc88 cutPathAtIntersect",t,r);let a=[],o=t[0],l=!1;return t.forEach(h=>{if(Pe.info("abc88 checking point",h,r),!X9n(r,h)&&!l){let f=Q9n(r,o,h);Pe.debug("abc88 inside",h,o,f),Pe.debug("abc88 intersection",f,r);let p=!1;a.forEach(m=>{p=p||m.x===f.x&&m.y===f.y}),a.some(m=>m.x===f.x&&m.y===f.y)?Pe.warn("abc88 no intersect",f,a):a.push(f),l=!0}else Pe.warn("abc88 outside",h,o),o=h,l||a.push(h)}),Pe.debug("returning points",a),a},"cutPathAtIntersect");i(J9n,"extractCornerPoints");obr=i(function(t,r,a){let o=r.x-t.x,l=r.y-t.y,h=Math.sqrt(o*o+l*l),f=a/h;return{x:r.x-f*o,y:r.y-f*l}},"findAdjacentPoint"),Z9n=i(function(t){let{cornerPointPositions:r}=J9n(t),a=[];for(let o=0;o10&&Math.abs(h.y-l.y)>=10){Pe.debug("Corner point fixing",Math.abs(h.x-l.x),Math.abs(h.y-l.y));let E=5;f.x===p.x?C={x:b<0?p.x-E+T:p.x+E-T,y:v<0?p.y-T:p.y+T}:C={x:b<0?p.x-T:p.x+T,y:v<0?p.y-E+T:p.y+E-T}}else Pe.debug("Corner point skipping fixing",Math.abs(h.x-l.x),Math.abs(h.y-l.y));a.push(C,m)}else a.push(t[o]);return a},"fixCorners"),eIn=i((t,r,a)=>{let o=t-r-a,l=2,h=2,f=l+h,p=Math.floor(o/f),m=Number.isFinite(p)?Math.max(0,p):0,b=Array(m).fill(`${l} ${h}`).join(" ");return`0 ${r} ${b} ${a}`},"generateDashArray"),$L=i(function(t,r,a,o,l,h,f,p=!1,m=void 0){if(!f)throw new Error(`insertEdge: missing diagramId for edge "${r.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);let{handDrawnSeed:b,layout:v}=Zt(),T=m??v,C=r.points,E=!1,S=l;var R=h;let L=[];for(let ae in r.cssCompiledStyles)Kte(ae)||L.push(r.cssCompiledStyles[ae]);if(T==="swimlane"){if(!p&&R.intersect&&S.intersect&&Array.isArray(C)&&C.length>=2)if(C.length===2)C=[S.intersect(C[0]),R.intersect(C[1])];else{let ae=C.slice(1,-1),ce=ae[0],le=ae[ae.length-1],de=.5,ve=Math.abs(C[C.length-1].x-le.x)!Number.isNaN(ae.y)),I=Y9n(r.curve);I!=="rounded"&&(M=Z9n(M));let F=qT;switch(I){case"linear":F=qT;break;case"basis":F=qN;break;case"cardinal":F=Tte;break;case"bumpX":F=yte;break;case"bumpY":F=bte;break;case"catmullRom":F=Ete;break;case"monotoneX":F=Ste;break;case"monotoneY":F=Ate;break;case"natural":F=Cz;break;case"step":F=Ez;break;case"stepAfter":F=Lte;break;case"stepBefore":F=Rte;break;case"rounded":F=qT;break;default:F=qN}let{x:O,y:P}=rbr(r),G=HN().x(O).y(P).curve(F),V;switch(r.thickness){case"normal":V="edge-thickness-normal";break;case"thick":V="edge-thickness-thick";break;case"invisible":V="edge-thickness-invisible";break;default:V="edge-thickness-normal"}switch(r.pattern){case"solid":V+=" edge-pattern-solid";break;case"dotted":V+=" edge-pattern-dotted";break;case"dashed":V+=" edge-pattern-dashed";break;default:V+=" edge-pattern-solid"}let Y,K=I==="rounded"?tIn(rIn(M,r),5):G(M),J=Array.isArray(r.style)?r.style:[r.style],H=J.find(ae=>ae?.startsWith("stroke:")),q="";r.animate&&(q="edge-animation-fast"),r.animation&&(q="edge-animation-"+r.animation);let Z=!1;if(r.look==="handDrawn"){let ae=Kr.svg(t);Object.assign([],M);let ce=ae.path(K,{roughness:.3,seed:b});V+=" transition",Y=dn(ce).select("path").attr("id",`${f}-${r.id}`).attr("class"," "+V+(r.classes?" "+r.classes:"")+(q?" "+q:"")).attr("style",J?J.reduce((de,ve)=>de+";"+ve,""):"");let le=Y.attr("d");Y.attr("d",le),t.node().appendChild(Y.node())}else{let ae=L.join(";"),ce=J?J.reduce((Ce,Ve)=>Ce+Ve+";",""):"",le=(ae?ae+";"+ce+";":ce)+";"+(J?J.reduce((Ce,Ve)=>Ce+";"+Ve,""):"");Y=t.append("path").attr("d",K).attr("id",`${f}-${r.id}`).attr("class"," "+V+(r.classes?" "+r.classes:"")+(q?" "+q:"")).attr("style",le),H=le.match(/stroke:([^;]+)/)?.[1],Z=r.animate===!0||!!r.animation||ae.includes("animation");let de=Y.node(),ve=typeof de.getTotalLength=="function"?de.getTotalLength():0,Se=dre[r.arrowTypeStart]||0,_e=dre[r.arrowTypeEnd]||0;if(r.look==="neo"&&!Z){let Ve=`stroke-dasharray: ${r.pattern==="dotted"||r.pattern==="dashed"?eIn(ve,Se,_e):`0 ${Se} ${ve-Se-_e} ${_e}`}; stroke-dashoffset: 0;`;Y.attr("style",Ve+Y.attr("style"))}}Y.attr("data-edge",!0),Y.attr("data-et","edge"),Y.attr("data-id",r.id),Y.attr("data-points",_),Y.attr("data-look",Ac(r.look)),r.showPoints&&M.forEach(ae=>{t.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",ae.x).attr("cy",ae.y)});let Q="";(Zt().flowchart.arrowMarkerAbsolute||Zt().state.arrowMarkerAbsolute)&&(Q=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,Q=Q.replace(/\(/g,"\\(").replace(/\)/g,"\\)")),Pe.info("arrowTypeStart",r.arrowTypeStart),Pe.info("arrowTypeEnd",r.arrowTypeEnd);let W=!Z&&r?.look==="neo";ibr(Y,r,Q,f,o,W,H);let te=Math.floor(C.length/2),z=C[te];Ya.isLabelCoordinateInPath(z,Y.attr("d"))||(E=!0);let re={};return E&&(re.updatedPath=C),re.originalPath=r.points,re},"insertEdge");i(tIn,"generateRoundedPath");i(lbr,"calculateDeltaAndAngle");i(rIn,"applyMarkerOffsetsToPoints")});var nIn,iIn,aIn,sIn,oIn,lIn,cIn,uIn,hIn,fIn,dIn,pIn,gIn,mIn,yIn,bIn,vIn,wIn,xIn,TIn,kIn,CIn,EIn,SIn,AIn,$z,B2e=ie(()=>{"use strict";Xn();Qs();nIn=i((t,r,a,o)=>{r.forEach(l=>{AIn[l](t,a,o)})},"insertMarkers"),iIn=i((t,r,a)=>{Pe.trace("Making markers for ",a),t.append("defs").append("marker").attr("id",a+"_"+r+"-extensionStart").attr("class","marker extension "+r).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",a+"_"+r+"-extensionEnd").attr("class","marker extension "+r).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 1,1 V 13 L18,7 Z"),t.append("marker").attr("id",a+"_"+r+"-extensionStart-margin").attr("class","marker extension "+r).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,7 18,13 18,1").style("stroke-width",2).style("stroke-dasharray","0"),t.append("defs").append("marker").attr("id",a+"_"+r+"-extensionEnd-margin").attr("class","marker extension "+r).attr("refX",9).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,1 10,13 18,7").style("stroke-width",2).style("stroke-dasharray","0")},"extension"),aIn=i((t,r,a)=>{t.append("defs").append("marker").attr("id",a+"_"+r+"-compositionStart").attr("class","marker composition "+r).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",a+"_"+r+"-compositionEnd").attr("class","marker composition "+r).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",a+"_"+r+"-compositionStart-margin").attr("class","marker composition "+r).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("viewBox","0 0 15 15").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",a+"_"+r+"-compositionEnd-margin").attr("class","marker composition "+r).attr("refX",3.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),sIn=i((t,r,a)=>{t.append("defs").append("marker").attr("id",a+"_"+r+"-aggregationStart").attr("class","marker aggregation "+r).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",a+"_"+r+"-aggregationEnd").attr("class","marker aggregation "+r).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",a+"_"+r+"-aggregationStart-margin").attr("class","marker aggregation "+r).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",a+"_"+r+"-aggregationEnd-margin").attr("class","marker aggregation "+r).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),oIn=i((t,r,a)=>{t.append("defs").append("marker").attr("id",a+"_"+r+"-dependencyStart").attr("class","marker dependency "+r).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",a+"_"+r+"-dependencyEnd").attr("class","marker dependency "+r).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z"),t.append("defs").append("marker").attr("id",a+"_"+r+"-dependencyStart-margin").attr("class","marker dependency "+r).attr("refX",4).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",a+"_"+r+"-dependencyEnd-margin").attr("class","marker dependency "+r).attr("refX",16).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),lIn=i((t,r,a)=>{t.append("defs").append("marker").attr("id",a+"_"+r+"-lollipopStart").attr("class","marker lollipop "+r).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",a+"_"+r+"-lollipopEnd").attr("class","marker lollipop "+r).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",a+"_"+r+"-lollipopStart-margin").attr("class","marker lollipop "+r).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2),t.append("defs").append("marker").attr("id",a+"_"+r+"-lollipopEnd-margin").attr("class","marker lollipop "+r).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2)},"lollipop"),cIn=i((t,r,a)=>{t.append("marker").attr("id",a+"_"+r+"-pointEnd").attr("class","marker "+r).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",a+"_"+r+"-pointStart").attr("class","marker "+r).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"),t.append("marker").attr("id",a+"_"+r+"-pointEnd-margin").attr("class","marker "+r).attr("viewBox","0 0 11.5 14").attr("refX",11.5).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10.5).attr("markerHeight",14).attr("orient","auto").append("path").attr("d","M 0 0 L 11.5 7 L 0 14 z").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),t.append("marker").attr("id",a+"_"+r+"-pointStart-margin").attr("class","marker "+r).attr("viewBox","0 0 11.5 14").attr("refX",1).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11.5).attr("markerHeight",14).attr("orient","auto").append("polygon").attr("points","0,7 11.5,14 11.5,0").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"point"),uIn=i((t,r,a)=>{t.append("marker").attr("id",a+"_"+r+"-circleEnd").attr("class","marker "+r).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",a+"_"+r+"-circleStart").attr("class","marker "+r).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"),t.append("marker").attr("id",a+"_"+r+"-circleEnd-margin").attr("class","marker "+r).attr("viewBox","0 0 10 10").attr("refY",5).attr("refX",12.25).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),t.append("marker").attr("id",a+"_"+r+"-circleStart-margin").attr("class","marker "+r).attr("viewBox","0 0 10 10").attr("refX",-2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"circle"),hIn=i((t,r,a)=>{t.append("marker").attr("id",a+"_"+r+"-crossEnd").attr("class","marker cross "+r).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",a+"_"+r+"-crossStart").attr("class","marker cross "+r).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"),t.append("marker").attr("id",a+"_"+r+"-crossEnd-margin").attr("class","marker cross "+r).attr("viewBox","0 0 15 15").attr("refX",17.7).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5),t.append("marker").attr("id",a+"_"+r+"-crossStart-margin").attr("class","marker cross "+r).attr("viewBox","0 0 15 15").attr("refX",-3.5).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5).style("stroke-dasharray","1,0")},"cross"),fIn=i((t,r,a)=>{t.append("defs").append("marker").attr("id",a+"_"+r+"-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"),dIn=i((t,r,a)=>{let o=ii(),{themeVariables:l}=o,{transitionColor:h}=l;t.append("defs").append("marker").attr("id",a+"_"+r+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z"),t.append("defs").append("marker").attr("id",a+"_"+r+"-barbEnd-margin").attr("refX",17).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z").attr("fill",`${h}`)},"barbNeo"),pIn=i((t,r,a)=>{t.append("defs").append("marker").attr("id",a+"_"+r+"-onlyOneStart").attr("class","marker onlyOne "+r).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",a+"_"+r+"-onlyOneEnd").attr("class","marker onlyOne "+r).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"),gIn=i((t,r,a)=>{let o=t.append("defs").append("marker").attr("id",a+"_"+r+"-zeroOrOneStart").attr("class","marker zeroOrOne "+r).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");o.append("circle").attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),o.append("path").attr("d","M9,0 L9,18");let l=t.append("defs").append("marker").attr("id",a+"_"+r+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+r).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");l.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),l.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),mIn=i((t,r,a)=>{t.append("defs").append("marker").attr("id",a+"_"+r+"-oneOrMoreStart").attr("class","marker oneOrMore "+r).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",a+"_"+r+"-oneOrMoreEnd").attr("class","marker oneOrMore "+r).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"),yIn=i((t,r,a)=>{let o=t.append("defs").append("marker").attr("id",a+"_"+r+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+r).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");o.append("circle").attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),o.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");let l=t.append("defs").append("marker").attr("id",a+"_"+r+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+r).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");l.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),l.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),bIn=i((t,r,a)=>{let o=ii(),{themeVariables:l}=o,{strokeWidth:h}=l;t.append("defs").append("marker").attr("id",a+"_"+r+"-onlyOneStart").attr("class","marker onlyOne "+r).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M9,0 L9,18 M15,0 L15,18").attr("stroke-width",`${h}`),t.append("defs").append("marker").attr("id",a+"_"+r+"-onlyOneEnd").attr("class","marker onlyOne "+r).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M3,0 L3,18 M9,0 L9,18").attr("stroke-width",`${h}`)},"only_one_neo"),vIn=i((t,r,a)=>{let o=ii(),{themeVariables:l}=o,{strokeWidth:h,mainBkg:f}=l,p=t.append("defs").append("marker").attr("id",a+"_"+r+"-zeroOrOneStart").attr("class","marker zeroOrOne "+r).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse");p.append("circle").attr("fill",f??"white").attr("cx",21).attr("cy",9).attr("stroke-width",`${h}`).attr("r",6),p.append("path").attr("d","M9,0 L9,18").attr("stroke-width",`${h}`);let m=t.append("defs").append("marker").attr("id",a+"_"+r+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+r).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("markerUnits","userSpaceOnUse").attr("orient","auto");m.append("circle").attr("fill",f??"white").attr("cx",9).attr("cy",9).attr("stroke-width",`${h}`).attr("r",6),m.append("path").attr("d","M21,0 L21,18").attr("stroke-width",`${h}`)},"zero_or_one_neo"),wIn=i((t,r,a)=>{let o=ii(),{themeVariables:l}=o,{strokeWidth:h}=l;t.append("defs").append("marker").attr("id",a+"_"+r+"-oneOrMoreStart").attr("class","marker oneOrMore "+r).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width",`${h}`),t.append("defs").append("marker").attr("id",a+"_"+r+"-oneOrMoreEnd").attr("class","marker oneOrMore "+r).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width",`${h}`)},"one_or_more_neo"),xIn=i((t,r,a)=>{let o=ii(),{themeVariables:l}=o,{strokeWidth:h,mainBkg:f}=l,p=t.append("defs").append("marker").attr("id",a+"_"+r+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+r).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto");p.append("circle").attr("fill",f??"white").attr("cx",45.5).attr("cy",18).attr("r",6).attr("stroke-width",`${h}`),p.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width",`${h}`);let m=t.append("defs").append("marker").attr("id",a+"_"+r+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+r).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse");m.append("circle").attr("fill",f??"white").attr("cx",11).attr("cy",18).attr("r",6).attr("stroke-width",`${h}`),m.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width",`${h}`)},"zero_or_more_neo"),TIn=i((t,r,a)=>{t.append("defs").append("marker").attr("id",a+"_"+r+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d",`M0,0 + L20,10 + M20,10 + L0,20`)},"requirement_arrow"),kIn=i((t,r,a)=>{let o=ii(),{themeVariables:l}=o,{strokeWidth:h}=l;t.append("defs").append("marker").attr("id",a+"_"+r+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("stroke-width",`${h}`).attr("viewBox","0 0 25 20").append("path").attr("d",`M0,0 + L20,10 + M20,10 + L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),CIn=i((t,r,a)=>{let o=t.append("defs").append("marker").attr("id",a+"_"+r+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");o.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),o.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),o.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),EIn=i((t,r,a)=>{let o=ii(),{themeVariables:l}=o,{strokeWidth:h}=l,f=t.append("defs").append("marker").attr("id",a+"_"+r+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");f.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),f.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),f.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),f.selectAll("*").attr("stroke-width",`${h}`)},"requirement_contains_neo"),SIn=i((t,r,a)=>{t.append("marker").attr("id",a+"_"+r+"-hierarchyEnd").attr("class","marker hierarchy "+r).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),t.append("marker").attr("id",a+"_"+r+"-hierarchyStart").attr("class","marker hierarchy "+r).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),AIn={extension:iIn,composition:aIn,aggregation:sIn,dependency:oIn,lollipop:lIn,point:cIn,circle:uIn,cross:hIn,barb:fIn,barbNeo:dIn,hierarchy:SIn,only_one:pIn,zero_or_one:gIn,one_or_more:mIn,zero_or_more:yIn,only_one_neo:bIn,zero_or_one_neo:vIn,one_or_more_neo:wIn,zero_or_more_neo:xIn,requirement_arrow:TIn,requirement_contains:CIn,requirement_arrow_neo:kIn,requirement_contains_neo:EIn},$z=nIn});async function fA(t,r,a){let o,l;r.shape==="rect"&&(r.rx&&r.ry?r.shape="roundedRect":r.shape="squareRect");let h=r.shape?are[r.shape]:void 0;if(!h)throw new Error(`No such shape: ${r.shape}. Please check your syntax.`);if(r.link){let f;a.config.securityLevel==="sandbox"?f="_top":r.linkTarget&&(f=r.linkTarget||"_blank"),o=t.insert("svg:a").attr("xlink:href",r.link).attr("target",f??null),l=await h(o,r,a)}else l=await h(t,r,a),o=l;return o.attr("data-look",Ac(r.look)),r.tooltip&&l.attr("title",r.tooltip),F2e.set(r.id,o),r.haveCallback&&o.attr("class",o.attr("class")+" clickable"),o}var F2e,ubr,hbr,ZE,oO=ie(()=>{"use strict";Xn();sre();Ia();F2e=new Map;i(fA,"insertNode");ubr=i((t,r)=>{F2e.set(r.id,t)},"setNodeElem"),hbr=i(()=>{F2e.clear()},"clear"),ZE=i(t=>{let r=F2e.get(t.id);Pe.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");let a=8,o=t.diff||0;return t.clusterNode?r.attr("transform","translate("+(t.x+o-t.width/2)+", "+(t.y-t.height/2-a)+")"):r.attr("transform","translate("+t.x+", "+t.y+")"),o},"positionNode")});var fbr,dbr=ie(()=>{"use strict";Qs();rl();Xn();Oz();Fz();B2e();oO();na();Ia();fbr={common:Wn,getConfig:ii,insertCluster:FL,insertEdge:$L,insertEdgeLabel:v4,insertMarkers:$z,insertNode:fA,interpolateToCurve:FXe,labelHelper:In,log:Pe,positionEdgeLabel:Bz}});var $2e,mJe=ie(()=>{"use strict";$2e=i((t,r)=>{let{theme:a,themeVariables:o}=r,{useGradient:l,gradientStart:h,gradientStop:f}=o??{},p=t.attr("id"),m=a?.includes("dark")?"#FFFFFF":"#000000",b=i((T,C,E)=>t.append("defs").append("filter").attr("id",T).attr("height",C).attr("width",C).append("feDropShadow").attr("dx",E).attr("dy",E).attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",m),"dropShadow");if(b(`${p}-drop-shadow`,"130%","4"),b(`${p}-drop-shadow-small`,"150%","2"),!l)return;let v=t.append("linearGradient").attr("id",`${p}-gradient`).attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");v.append("svg:stop").attr("offset","0%").attr("stop-color",h).attr("stop-opacity",1),v.append("svg:stop").attr("offset","100%").attr("stop-color",f).attr("stop-opacity",1)},"insertLookDefs")});var pbr,gbr=ie(()=>{"use strict";pbr=["elk.stress","elk.force","elk.mrtree","elk.sporeOverlap","elk.box","elk.rectpacking"]});var RIn,G2e,yJe=ie(()=>{"use strict";RIn=typeof global=="object"&&global&&global.Object===Object&&global,G2e=RIn});var LIn,DIn,mp,JT=ie(()=>{"use strict";yJe();LIn=typeof self=="object"&&self&&self.Object===Object&&self,DIn=G2e||LIn||Function("return this")(),mp=DIn});var _In,ym,lO=ie(()=>{"use strict";JT();_In=mp.Symbol,ym=_In});function NIn(t){var r=MIn.call(t,gre),a=t[gre];try{t[gre]=void 0;var o=!0}catch{}var l=IIn.call(t);return o&&(r?t[gre]=a:delete t[gre]),l}var mbr,MIn,IIn,gre,ybr,bbr=ie(()=>{"use strict";lO();mbr=Object.prototype,MIn=mbr.hasOwnProperty,IIn=mbr.toString,gre=ym?ym.toStringTag:void 0;i(NIn,"getRawTag");ybr=NIn});function BIn(t){return PIn.call(t)}var OIn,PIn,vbr,wbr=ie(()=>{"use strict";OIn=Object.prototype,PIn=OIn.toString;i(BIn,"objectToString");vbr=BIn});function GIn(t){return t==null?t===void 0?$In:FIn:xbr&&xbr in Object(t)?ybr(t):vbr(t)}var FIn,$In,xbr,Eb,GL=ie(()=>{"use strict";lO();bbr();wbr();FIn="[object Null]",$In="[object Undefined]",xbr=ym?ym.toStringTag:void 0;i(GIn,"baseGetTag");Eb=GIn});function jIn(t){return t!=null&&typeof t=="object"}var eg,w4=ie(()=>{"use strict";i(jIn,"isObjectLike");eg=jIn});function UIn(t){return typeof t=="symbol"||eg(t)&&Eb(t)==zIn}var zIn,Vw,cO=ie(()=>{"use strict";GL();w4();zIn="[object Symbol]";i(UIn,"isSymbol");Vw=UIn});function VIn(t,r){for(var a=-1,o=t==null?0:t.length,l=Array(o);++a{"use strict";i(VIn,"arrayMap");eS=VIn});var HIn,wl,Dg=ie(()=>{"use strict";HIn=Array.isArray,wl=HIn});function Cbr(t){if(typeof t=="string")return t;if(wl(t))return eS(t,Cbr)+"";if(Vw(t))return kbr?kbr.call(t):"";var r=t+"";return r=="0"&&1/t==-qIn?"-0":r}var qIn,Tbr,kbr,Ebr,Sbr=ie(()=>{"use strict";lO();mre();Dg();cO();qIn=1/0,Tbr=ym?ym.prototype:void 0,kbr=Tbr?Tbr.toString:void 0;i(Cbr,"baseToString");Ebr=Cbr});function YIn(t){for(var r=t.length;r--&&WIn.test(t.charAt(r)););return r}var WIn,Abr,Rbr=ie(()=>{"use strict";WIn=/\s/;i(YIn,"trimmedEndIndex");Abr=YIn});function XIn(t){return t&&t.slice(0,Abr(t)+1).replace(KIn,"")}var KIn,Lbr,Dbr=ie(()=>{"use strict";Rbr();KIn=/^\s+/;i(XIn,"baseTrim");Lbr=XIn});function QIn(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}var Yf,ZT=ie(()=>{"use strict";i(QIn,"isObject");Yf=QIn});function rNn(t){if(typeof t=="number")return t;if(Vw(t))return _br;if(Yf(t)){var r=typeof t.valueOf=="function"?t.valueOf():t;t=Yf(r)?r+"":r}if(typeof t!="string")return t===0?t:+t;t=Lbr(t);var a=ZIn.test(t);return a||eNn.test(t)?tNn(t.slice(2),a?2:8):JIn.test(t)?_br:+t}var _br,JIn,ZIn,eNn,tNn,Mbr,Ibr=ie(()=>{"use strict";Dbr();ZT();cO();_br=NaN,JIn=/^[-+]0x[0-9a-f]+$/i,ZIn=/^0b[01]+$/i,eNn=/^0o[0-7]+$/i,tNn=parseInt;i(rNn,"toNumber");Mbr=rNn});function iNn(t){if(!t)return t===0?t:0;if(t=Mbr(t),t===Nbr||t===-Nbr){var r=t<0?-1:1;return r*nNn}return t===t?t:0}var Nbr,nNn,Gz,bJe=ie(()=>{"use strict";Ibr();Nbr=1/0,nNn=17976931348623157e292;i(iNn,"toFinite");Gz=iNn});function aNn(t){var r=Gz(t),a=r%1;return r===r?a?r-a:r:0}var Obr,Pbr=ie(()=>{"use strict";bJe();i(aNn,"toInteger");Obr=aNn});function sNn(t){return t}var e2,jL=ie(()=>{"use strict";i(sNn,"identity");e2=sNn});function hNn(t){if(!Yf(t))return!1;var r=Eb(t);return r==lNn||r==cNn||r==oNn||r==uNn}var oNn,lNn,cNn,uNn,tS,yre=ie(()=>{"use strict";GL();ZT();oNn="[object AsyncFunction]",lNn="[object Function]",cNn="[object GeneratorFunction]",uNn="[object Proxy]";i(hNn,"isFunction");tS=hNn});var fNn,j2e,Bbr=ie(()=>{"use strict";JT();fNn=mp["__core-js_shared__"],j2e=fNn});function dNn(t){return!!Fbr&&Fbr in t}var Fbr,$br,Gbr=ie(()=>{"use strict";Bbr();Fbr=(function(){var t=/[^.]+$/.exec(j2e&&j2e.keys&&j2e.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();i(dNn,"isMasked");$br=dNn});function mNn(t){if(t!=null){try{return gNn.call(t)}catch{}try{return t+""}catch{}}return""}var pNn,gNn,dA,vJe=ie(()=>{"use strict";pNn=Function.prototype,gNn=pNn.toString;i(mNn,"toSource");dA=mNn});function CNn(t){if(!Yf(t)||$br(t))return!1;var r=tS(t)?kNn:bNn;return r.test(dA(t))}var yNn,bNn,vNn,wNn,xNn,TNn,kNn,jbr,zbr=ie(()=>{"use strict";yre();Gbr();ZT();vJe();yNn=/[\\^$.*+?()[\]{}|]/g,bNn=/^\[object .+?Constructor\]$/,vNn=Function.prototype,wNn=Object.prototype,xNn=vNn.toString,TNn=wNn.hasOwnProperty,kNn=RegExp("^"+xNn.call(TNn).replace(yNn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");i(CNn,"baseIsNative");jbr=CNn});function ENn(t,r){return t?.[r]}var Ubr,Vbr=ie(()=>{"use strict";i(ENn,"getValue");Ubr=ENn});function SNn(t,r){var a=Ubr(t,r);return jbr(a)?a:void 0}var t2,zL=ie(()=>{"use strict";zbr();Vbr();i(SNn,"getNative");t2=SNn});var ANn,z2e,Hbr=ie(()=>{"use strict";zL();JT();ANn=t2(mp,"WeakMap"),z2e=ANn});var qbr,RNn,Wbr,Ybr=ie(()=>{"use strict";ZT();qbr=Object.create,RNn=(function(){function t(){}return i(t,"object"),function(r){if(!Yf(r))return{};if(qbr)return qbr(r);t.prototype=r;var a=new t;return t.prototype=void 0,a}})(),Wbr=RNn});function LNn(t,r,a){switch(a.length){case 0:return t.call(r);case 1:return t.call(r,a[0]);case 2:return t.call(r,a[0],a[1]);case 3:return t.call(r,a[0],a[1],a[2])}return t.apply(r,a)}var Kbr,Xbr=ie(()=>{"use strict";i(LNn,"apply");Kbr=LNn});function DNn(){}var Qbr,Jbr=ie(()=>{"use strict";i(DNn,"noop");Qbr=DNn});function _Nn(t,r){var a=-1,o=t.length;for(r||(r=Array(o));++a{"use strict";i(_Nn,"copyArray");U2e=_Nn});function ONn(t){var r=0,a=0;return function(){var o=NNn(),l=INn-(o-a);if(a=o,l>0){if(++r>=MNn)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}var MNn,INn,NNn,Zbr,evr=ie(()=>{"use strict";MNn=800,INn=16,NNn=Date.now;i(ONn,"shortOut");Zbr=ONn});function PNn(t){return function(){return t}}var r2,xJe=ie(()=>{"use strict";i(PNn,"constant");r2=PNn});var BNn,jz,TJe=ie(()=>{"use strict";zL();BNn=(function(){try{var t=t2(Object,"defineProperty");return t({},"",{}),t}catch{}})(),jz=BNn});var FNn,tvr,rvr=ie(()=>{"use strict";xJe();TJe();jL();FNn=jz?function(t,r){return jz(t,"toString",{configurable:!0,enumerable:!1,value:r2(r),writable:!0})}:e2,tvr=FNn});var $Nn,V2e,kJe=ie(()=>{"use strict";rvr();evr();$Nn=Zbr(tvr),V2e=$Nn});function GNn(t,r){for(var a=-1,o=t==null?0:t.length;++a{"use strict";i(GNn,"arrayEach");H2e=GNn});function jNn(t,r,a,o){for(var l=t.length,h=a+(o?1:-1);o?h--:++h{"use strict";i(jNn,"baseFindIndex");q2e=jNn});function zNn(t){return t!==t}var nvr,ivr=ie(()=>{"use strict";i(zNn,"baseIsNaN");nvr=zNn});function UNn(t,r,a){for(var o=a-1,l=t.length;++o{"use strict";i(UNn,"strictIndexOf");avr=UNn});function VNn(t,r,a){return r===r?avr(t,r,a):q2e(t,nvr,a)}var ovr,lvr=ie(()=>{"use strict";EJe();ivr();svr();i(VNn,"baseIndexOf");ovr=VNn});function HNn(t,r){var a=t==null?0:t.length;return!!a&&ovr(t,r,0)>-1}var cvr,uvr=ie(()=>{"use strict";lvr();i(HNn,"arrayIncludes");cvr=HNn});function YNn(t,r){var a=typeof t;return r=r??qNn,!!r&&(a=="number"||a!="symbol"&&WNn.test(t))&&t>-1&&t%1==0&&t{"use strict";qNn=9007199254740991,WNn=/^(?:0|[1-9]\d*)$/;i(YNn,"isIndex");UL=YNn});function KNn(t,r,a){r=="__proto__"&&jz?jz(t,r,{configurable:!0,enumerable:!0,value:a,writable:!0}):t[r]=a}var VL,vre=ie(()=>{"use strict";TJe();i(KNn,"baseAssignValue");VL=KNn});function XNn(t,r){return t===r||t!==t&&r!==r}var ek,uO=ie(()=>{"use strict";i(XNn,"eq");ek=XNn});function ZNn(t,r,a){var o=t[r];(!(JNn.call(t,r)&&ek(o,a))||a===void 0&&!(r in t))&&VL(t,r,a)}var QNn,JNn,HL,wre=ie(()=>{"use strict";vre();uO();QNn=Object.prototype,JNn=QNn.hasOwnProperty;i(ZNn,"assignValue");HL=ZNn});function eOn(t,r,a,o){var l=!a;a||(a={});for(var h=-1,f=r.length;++h{"use strict";wre();vre();i(eOn,"copyObject");rS=eOn});function tOn(t,r,a){return r=hvr(r===void 0?t.length-1:r,0),function(){for(var o=arguments,l=-1,h=hvr(o.length-r,0),f=Array(h);++l{"use strict";Xbr();hvr=Math.max;i(tOn,"overRest");W2e=tOn});function rOn(t,r){return V2e(W2e(t,r,e2),t+"")}var qL,xre=ie(()=>{"use strict";jL();SJe();kJe();i(rOn,"baseRest");qL=rOn});function iOn(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=nOn}var nOn,Uz,Y2e=ie(()=>{"use strict";nOn=9007199254740991;i(iOn,"isLength");Uz=iOn});function aOn(t){return t!=null&&Uz(t.length)&&!tS(t)}var bm,nS=ie(()=>{"use strict";yre();Y2e();i(aOn,"isArrayLike");bm=aOn});function sOn(t,r,a){if(!Yf(a))return!1;var o=typeof r;return(o=="number"?bm(a)&&UL(r,a.length):o=="string"&&r in a)?ek(a[r],t):!1}var pA,Tre=ie(()=>{"use strict";uO();nS();bre();ZT();i(sOn,"isIterateeCall");pA=sOn});function oOn(t){return qL(function(r,a){var o=-1,l=a.length,h=l>1?a[l-1]:void 0,f=l>2?a[2]:void 0;for(h=t.length>3&&typeof h=="function"?(l--,h):void 0,f&&pA(a[0],a[1],f)&&(h=l<3?void 0:h,l=1),r=Object(r);++o{"use strict";xre();Tre();i(oOn,"createAssigner");fvr=oOn});function cOn(t){var r=t&&t.constructor,a=typeof r=="function"&&r.prototype||lOn;return t===a}var lOn,WL,kre=ie(()=>{"use strict";lOn=Object.prototype;i(cOn,"isPrototype");WL=cOn});function uOn(t,r){for(var a=-1,o=Array(t);++a{"use strict";i(uOn,"baseTimes");pvr=uOn});function fOn(t){return eg(t)&&Eb(t)==hOn}var hOn,AJe,mvr=ie(()=>{"use strict";GL();w4();hOn="[object Arguments]";i(fOn,"baseIsArguments");AJe=fOn});var yvr,dOn,pOn,gOn,x4,Vz=ie(()=>{"use strict";mvr();w4();yvr=Object.prototype,dOn=yvr.hasOwnProperty,pOn=yvr.propertyIsEnumerable,gOn=AJe((function(){return arguments})())?AJe:function(t){return eg(t)&&dOn.call(t,"callee")&&!pOn.call(t,"callee")},x4=gOn});function mOn(){return!1}var bvr,vvr=ie(()=>{"use strict";i(mOn,"stubFalse");bvr=mOn});var Tvr,wvr,yOn,xvr,bOn,vOn,T4,Hz=ie(()=>{"use strict";JT();vvr();Tvr=typeof exports=="object"&&exports&&!exports.nodeType&&exports,wvr=Tvr&&typeof module=="object"&&module&&!module.nodeType&&module,yOn=wvr&&wvr.exports===Tvr,xvr=yOn?mp.Buffer:void 0,bOn=xvr?xvr.isBuffer:void 0,vOn=bOn||bvr,T4=vOn});function VOn(t){return eg(t)&&Uz(t.length)&&!!wf[Eb(t)]}var wOn,xOn,TOn,kOn,COn,EOn,SOn,AOn,ROn,LOn,DOn,_On,MOn,IOn,NOn,OOn,POn,BOn,FOn,$On,GOn,jOn,zOn,UOn,wf,kvr,Cvr=ie(()=>{"use strict";GL();Y2e();w4();wOn="[object Arguments]",xOn="[object Array]",TOn="[object Boolean]",kOn="[object Date]",COn="[object Error]",EOn="[object Function]",SOn="[object Map]",AOn="[object Number]",ROn="[object Object]",LOn="[object RegExp]",DOn="[object Set]",_On="[object String]",MOn="[object WeakMap]",IOn="[object ArrayBuffer]",NOn="[object DataView]",OOn="[object Float32Array]",POn="[object Float64Array]",BOn="[object Int8Array]",FOn="[object Int16Array]",$On="[object Int32Array]",GOn="[object Uint8Array]",jOn="[object Uint8ClampedArray]",zOn="[object Uint16Array]",UOn="[object Uint32Array]",wf={};wf[OOn]=wf[POn]=wf[BOn]=wf[FOn]=wf[$On]=wf[GOn]=wf[jOn]=wf[zOn]=wf[UOn]=!0;wf[wOn]=wf[xOn]=wf[IOn]=wf[TOn]=wf[NOn]=wf[kOn]=wf[COn]=wf[EOn]=wf[SOn]=wf[AOn]=wf[ROn]=wf[LOn]=wf[DOn]=wf[_On]=wf[MOn]=!1;i(VOn,"baseIsTypedArray");kvr=VOn});function HOn(t){return function(r){return t(r)}}var YL,Cre=ie(()=>{"use strict";i(HOn,"baseUnary");YL=HOn});var Evr,Ere,qOn,RJe,WOn,gA,K2e=ie(()=>{"use strict";yJe();Evr=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ere=Evr&&typeof module=="object"&&module&&!module.nodeType&&module,qOn=Ere&&Ere.exports===Evr,RJe=qOn&&G2e.process,WOn=(function(){try{var t=Ere&&Ere.require&&Ere.require("util").types;return t||RJe&&RJe.binding&&RJe.binding("util")}catch{}})(),gA=WOn});var Svr,YOn,KL,Sre=ie(()=>{"use strict";Cvr();Cre();K2e();Svr=gA&&gA.isTypedArray,YOn=Svr?YL(Svr):kvr,KL=YOn});function QOn(t,r){var a=wl(t),o=!a&&x4(t),l=!a&&!o&&T4(t),h=!a&&!o&&!l&&KL(t),f=a||o||l||h,p=f?pvr(t.length,String):[],m=p.length;for(var b in t)(r||XOn.call(t,b))&&!(f&&(b=="length"||l&&(b=="offset"||b=="parent")||h&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||UL(b,m)))&&p.push(b);return p}var KOn,XOn,X2e,LJe=ie(()=>{"use strict";gvr();Vz();Dg();Hz();bre();Sre();KOn=Object.prototype,XOn=KOn.hasOwnProperty;i(QOn,"arrayLikeKeys");X2e=QOn});function JOn(t,r){return function(a){return t(r(a))}}var Q2e,DJe=ie(()=>{"use strict";i(JOn,"overArg");Q2e=JOn});var ZOn,Avr,Rvr=ie(()=>{"use strict";DJe();ZOn=Q2e(Object.keys,Object),Avr=ZOn});function rPn(t){if(!WL(t))return Avr(t);var r=[];for(var a in Object(t))tPn.call(t,a)&&a!="constructor"&&r.push(a);return r}var ePn,tPn,qz,J2e=ie(()=>{"use strict";kre();Rvr();ePn=Object.prototype,tPn=ePn.hasOwnProperty;i(rPn,"baseKeys");qz=rPn});function nPn(t){return bm(t)?X2e(t):qz(t)}var yp,mA=ie(()=>{"use strict";LJe();J2e();nS();i(nPn,"keys");yp=nPn});function iPn(t){var r=[];if(t!=null)for(var a in Object(t))r.push(a);return r}var Lvr,Dvr=ie(()=>{"use strict";i(iPn,"nativeKeysIn");Lvr=iPn});function oPn(t){if(!Yf(t))return Lvr(t);var r=WL(t),a=[];for(var o in t)o=="constructor"&&(r||!sPn.call(t,o))||a.push(o);return a}var aPn,sPn,_vr,Mvr=ie(()=>{"use strict";ZT();kre();Dvr();aPn=Object.prototype,sPn=aPn.hasOwnProperty;i(oPn,"baseKeysIn");_vr=oPn});function lPn(t){return bm(t)?X2e(t,!0):_vr(t)}var n2,XL=ie(()=>{"use strict";LJe();Mvr();nS();i(lPn,"keysIn");n2=lPn});function hPn(t,r){if(wl(t))return!1;var a=typeof t;return a=="number"||a=="symbol"||a=="boolean"||t==null||Vw(t)?!0:uPn.test(t)||!cPn.test(t)||r!=null&&t in Object(r)}var cPn,uPn,Wz,Z2e=ie(()=>{"use strict";Dg();cO();cPn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,uPn=/^\w*$/;i(hPn,"isKey");Wz=hPn});var fPn,yA,Are=ie(()=>{"use strict";zL();fPn=t2(Object,"create"),yA=fPn});function dPn(){this.__data__=yA?yA(null):{},this.size=0}var Ivr,Nvr=ie(()=>{"use strict";Are();i(dPn,"hashClear");Ivr=dPn});function pPn(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}var Ovr,Pvr=ie(()=>{"use strict";i(pPn,"hashDelete");Ovr=pPn});function bPn(t){var r=this.__data__;if(yA){var a=r[t];return a===gPn?void 0:a}return yPn.call(r,t)?r[t]:void 0}var gPn,mPn,yPn,Bvr,Fvr=ie(()=>{"use strict";Are();gPn="__lodash_hash_undefined__",mPn=Object.prototype,yPn=mPn.hasOwnProperty;i(bPn,"hashGet");Bvr=bPn});function xPn(t){var r=this.__data__;return yA?r[t]!==void 0:wPn.call(r,t)}var vPn,wPn,$vr,Gvr=ie(()=>{"use strict";Are();vPn=Object.prototype,wPn=vPn.hasOwnProperty;i(xPn,"hashHas");$vr=xPn});function kPn(t,r){var a=this.__data__;return this.size+=this.has(t)?0:1,a[t]=yA&&r===void 0?TPn:r,this}var TPn,jvr,zvr=ie(()=>{"use strict";Are();TPn="__lodash_hash_undefined__";i(kPn,"hashSet");jvr=kPn});function Yz(t){var r=-1,a=t==null?0:t.length;for(this.clear();++r{"use strict";Nvr();Pvr();Fvr();Gvr();zvr();i(Yz,"Hash");Yz.prototype.clear=Ivr;Yz.prototype.delete=Ovr;Yz.prototype.get=Bvr;Yz.prototype.has=$vr;Yz.prototype.set=jvr;_Je=Yz});function CPn(){this.__data__=[],this.size=0}var Vvr,Hvr=ie(()=>{"use strict";i(CPn,"listCacheClear");Vvr=CPn});function EPn(t,r){for(var a=t.length;a--;)if(ek(t[a][0],r))return a;return-1}var QL,Rre=ie(()=>{"use strict";uO();i(EPn,"assocIndexOf");QL=EPn});function RPn(t){var r=this.__data__,a=QL(r,t);if(a<0)return!1;var o=r.length-1;return a==o?r.pop():APn.call(r,a,1),--this.size,!0}var SPn,APn,qvr,Wvr=ie(()=>{"use strict";Rre();SPn=Array.prototype,APn=SPn.splice;i(RPn,"listCacheDelete");qvr=RPn});function LPn(t){var r=this.__data__,a=QL(r,t);return a<0?void 0:r[a][1]}var Yvr,Kvr=ie(()=>{"use strict";Rre();i(LPn,"listCacheGet");Yvr=LPn});function DPn(t){return QL(this.__data__,t)>-1}var Xvr,Qvr=ie(()=>{"use strict";Rre();i(DPn,"listCacheHas");Xvr=DPn});function _Pn(t,r){var a=this.__data__,o=QL(a,t);return o<0?(++this.size,a.push([t,r])):a[o][1]=r,this}var Jvr,Zvr=ie(()=>{"use strict";Rre();i(_Pn,"listCacheSet");Jvr=_Pn});function Kz(t){var r=-1,a=t==null?0:t.length;for(this.clear();++r{"use strict";Hvr();Wvr();Kvr();Qvr();Zvr();i(Kz,"ListCache");Kz.prototype.clear=Vvr;Kz.prototype.delete=qvr;Kz.prototype.get=Yvr;Kz.prototype.has=Xvr;Kz.prototype.set=Jvr;JL=Kz});var MPn,ZL,ewe=ie(()=>{"use strict";zL();JT();MPn=t2(mp,"Map"),ZL=MPn});function IPn(){this.size=0,this.__data__={hash:new _Je,map:new(ZL||JL),string:new _Je}}var e2r,t2r=ie(()=>{"use strict";Uvr();Lre();ewe();i(IPn,"mapCacheClear");e2r=IPn});function NPn(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}var r2r,n2r=ie(()=>{"use strict";i(NPn,"isKeyable");r2r=NPn});function OPn(t,r){var a=t.__data__;return r2r(r)?a[typeof r=="string"?"string":"hash"]:a.map}var eD,Dre=ie(()=>{"use strict";n2r();i(OPn,"getMapData");eD=OPn});function PPn(t){var r=eD(this,t).delete(t);return this.size-=r?1:0,r}var i2r,a2r=ie(()=>{"use strict";Dre();i(PPn,"mapCacheDelete");i2r=PPn});function BPn(t){return eD(this,t).get(t)}var s2r,o2r=ie(()=>{"use strict";Dre();i(BPn,"mapCacheGet");s2r=BPn});function FPn(t){return eD(this,t).has(t)}var l2r,c2r=ie(()=>{"use strict";Dre();i(FPn,"mapCacheHas");l2r=FPn});function $Pn(t,r){var a=eD(this,t),o=a.size;return a.set(t,r),this.size+=a.size==o?0:1,this}var u2r,h2r=ie(()=>{"use strict";Dre();i($Pn,"mapCacheSet");u2r=$Pn});function Xz(t){var r=-1,a=t==null?0:t.length;for(this.clear();++r{"use strict";t2r();a2r();o2r();c2r();h2r();i(Xz,"MapCache");Xz.prototype.clear=e2r;Xz.prototype.delete=i2r;Xz.prototype.get=s2r;Xz.prototype.has=l2r;Xz.prototype.set=u2r;hO=Xz});function MJe(t,r){if(typeof t!="function"||r!=null&&typeof r!="function")throw new TypeError(GPn);var a=i(function(){var o=arguments,l=r?r.apply(this,o):o[0],h=a.cache;if(h.has(l))return h.get(l);var f=t.apply(this,o);return a.cache=h.set(l,f)||h,f},"memoized");return a.cache=new(MJe.Cache||hO),a}var GPn,f2r,d2r=ie(()=>{"use strict";twe();GPn="Expected a function";i(MJe,"memoize");MJe.Cache=hO;f2r=MJe});function zPn(t){var r=f2r(t,function(o){return a.size===jPn&&a.clear(),o}),a=r.cache;return r}var jPn,p2r,g2r=ie(()=>{"use strict";d2r();jPn=500;i(zPn,"memoizeCapped");p2r=zPn});var UPn,VPn,HPn,m2r,y2r=ie(()=>{"use strict";g2r();UPn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,VPn=/\\(\\)?/g,HPn=p2r(function(t){var r=[];return t.charCodeAt(0)===46&&r.push(""),t.replace(UPn,function(a,o,l,h){r.push(l?h.replace(VPn,"$1"):o||a)}),r}),m2r=HPn});function qPn(t){return t==null?"":Ebr(t)}var rwe,IJe=ie(()=>{"use strict";Sbr();i(qPn,"toString");rwe=qPn});function WPn(t,r){return wl(t)?t:Wz(t,r)?[t]:m2r(rwe(t))}var tD,_re=ie(()=>{"use strict";Dg();Z2e();y2r();IJe();i(WPn,"castPath");tD=WPn});function KPn(t){if(typeof t=="string"||Vw(t))return t;var r=t+"";return r=="0"&&1/t==-YPn?"-0":r}var YPn,iS,Qz=ie(()=>{"use strict";cO();YPn=1/0;i(KPn,"toKey");iS=KPn});function XPn(t,r){r=tD(r,t);for(var a=0,o=r.length;t!=null&&a{"use strict";_re();Qz();i(XPn,"baseGet");rD=XPn});function QPn(t,r,a){var o=t==null?void 0:rD(t,r);return o===void 0?a:o}var b2r,v2r=ie(()=>{"use strict";Mre();i(QPn,"get");b2r=QPn});function JPn(t,r){for(var a=-1,o=r.length,l=t.length;++a{"use strict";i(JPn,"arrayPush");Jz=JPn});function ZPn(t){return wl(t)||x4(t)||!!(w2r&&t&&t[w2r])}var w2r,x2r,T2r=ie(()=>{"use strict";lO();Vz();Dg();w2r=ym?ym.isConcatSpreadable:void 0;i(ZPn,"isFlattenable");x2r=ZPn});function k2r(t,r,a,o,l){var h=-1,f=t.length;for(a||(a=x2r),l||(l=[]);++h0&&a(p)?r>1?k2r(p,r-1,a,o,l):Jz(l,p):o||(l[l.length]=p)}return l}var Zz,iwe=ie(()=>{"use strict";nwe();T2r();i(k2r,"baseFlatten");Zz=k2r});function eBn(t){var r=t==null?0:t.length;return r?Zz(t,1):[]}var tk,NJe=ie(()=>{"use strict";iwe();i(eBn,"flatten");tk=eBn});function tBn(t){return V2e(W2e(t,void 0,tk),t+"")}var C2r,E2r=ie(()=>{"use strict";NJe();SJe();kJe();i(tBn,"flatRest");C2r=tBn});var rBn,eU,awe=ie(()=>{"use strict";DJe();rBn=Q2e(Object.getPrototypeOf,Object),eU=rBn});function lBn(t){if(!eg(t)||Eb(t)!=nBn)return!1;var r=eU(t);if(r===null)return!0;var a=sBn.call(r,"constructor")&&r.constructor;return typeof a=="function"&&a instanceof a&&S2r.call(a)==oBn}var nBn,iBn,aBn,S2r,sBn,oBn,A2r,R2r=ie(()=>{"use strict";GL();awe();w4();nBn="[object Object]",iBn=Function.prototype,aBn=Object.prototype,S2r=iBn.toString,sBn=aBn.hasOwnProperty,oBn=S2r.call(Object);i(lBn,"isPlainObject");A2r=lBn});function yBn(t){return mBn.test(t)}var cBn,uBn,hBn,fBn,dBn,pBn,gBn,mBn,L2r,D2r=ie(()=>{"use strict";cBn="\\ud800-\\udfff",uBn="\\u0300-\\u036f",hBn="\\ufe20-\\ufe2f",fBn="\\u20d0-\\u20ff",dBn=uBn+hBn+fBn,pBn="\\ufe0e\\ufe0f",gBn="\\u200d",mBn=RegExp("["+gBn+cBn+dBn+pBn+"]");i(yBn,"hasUnicode");L2r=yBn});function bBn(t,r,a,o){var l=-1,h=t==null?0:t.length;for(o&&h&&(a=t[++l]);++l{"use strict";i(bBn,"arrayReduce");_2r=bBn});function vBn(){this.__data__=new JL,this.size=0}var I2r,N2r=ie(()=>{"use strict";Lre();i(vBn,"stackClear");I2r=vBn});function wBn(t){var r=this.__data__,a=r.delete(t);return this.size=r.size,a}var O2r,P2r=ie(()=>{"use strict";i(wBn,"stackDelete");O2r=wBn});function xBn(t){return this.__data__.get(t)}var B2r,F2r=ie(()=>{"use strict";i(xBn,"stackGet");B2r=xBn});function TBn(t){return this.__data__.has(t)}var $2r,G2r=ie(()=>{"use strict";i(TBn,"stackHas");$2r=TBn});function CBn(t,r){var a=this.__data__;if(a instanceof JL){var o=a.__data__;if(!ZL||o.length{"use strict";Lre();ewe();twe();kBn=200;i(CBn,"stackSet");j2r=CBn});function tU(t){var r=this.__data__=new JL(t);this.size=r.size}var aS,Ire=ie(()=>{"use strict";Lre();N2r();P2r();F2r();G2r();z2r();i(tU,"Stack");tU.prototype.clear=I2r;tU.prototype.delete=O2r;tU.prototype.get=B2r;tU.prototype.has=$2r;tU.prototype.set=j2r;aS=tU});function EBn(t,r){return t&&rS(r,yp(r),t)}var U2r,V2r=ie(()=>{"use strict";zz();mA();i(EBn,"baseAssign");U2r=EBn});function SBn(t,r){return t&&rS(r,n2(r),t)}var H2r,q2r=ie(()=>{"use strict";zz();XL();i(SBn,"baseAssignIn");H2r=SBn});function RBn(t,r){if(r)return t.slice();var a=t.length,o=K2r?K2r(a):new t.constructor(a);return t.copy(o),o}var X2r,W2r,ABn,Y2r,K2r,swe,OJe=ie(()=>{"use strict";JT();X2r=typeof exports=="object"&&exports&&!exports.nodeType&&exports,W2r=X2r&&typeof module=="object"&&module&&!module.nodeType&&module,ABn=W2r&&W2r.exports===X2r,Y2r=ABn?mp.Buffer:void 0,K2r=Y2r?Y2r.allocUnsafe:void 0;i(RBn,"cloneBuffer");swe=RBn});function LBn(t,r){for(var a=-1,o=t==null?0:t.length,l=0,h=[];++a{"use strict";i(LBn,"arrayFilter");owe=LBn});function DBn(){return[]}var lwe,BJe=ie(()=>{"use strict";i(DBn,"stubArray");lwe=DBn});var _Bn,MBn,Q2r,IBn,rU,cwe=ie(()=>{"use strict";PJe();BJe();_Bn=Object.prototype,MBn=_Bn.propertyIsEnumerable,Q2r=Object.getOwnPropertySymbols,IBn=Q2r?function(t){return t==null?[]:(t=Object(t),owe(Q2r(t),function(r){return MBn.call(t,r)}))}:lwe,rU=IBn});function NBn(t,r){return rS(t,rU(t),r)}var J2r,Z2r=ie(()=>{"use strict";zz();cwe();i(NBn,"copySymbols");J2r=NBn});var OBn,PBn,uwe,FJe=ie(()=>{"use strict";nwe();awe();cwe();BJe();OBn=Object.getOwnPropertySymbols,PBn=OBn?function(t){for(var r=[];t;)Jz(r,rU(t)),t=eU(t);return r}:lwe,uwe=PBn});function BBn(t,r){return rS(t,uwe(t),r)}var ewr,twr=ie(()=>{"use strict";zz();FJe();i(BBn,"copySymbolsIn");ewr=BBn});function FBn(t,r,a){var o=r(t);return wl(t)?o:Jz(o,a(t))}var hwe,$Je=ie(()=>{"use strict";nwe();Dg();i(FBn,"baseGetAllKeys");hwe=FBn});function $Bn(t){return hwe(t,yp,rU)}var Nre,GJe=ie(()=>{"use strict";$Je();cwe();mA();i($Bn,"getAllKeys");Nre=$Bn});function GBn(t){return hwe(t,n2,uwe)}var rwr,nwr=ie(()=>{"use strict";$Je();FJe();XL();i(GBn,"getAllKeysIn");rwr=GBn});var jBn,fwe,iwr=ie(()=>{"use strict";zL();JT();jBn=t2(mp,"DataView"),fwe=jBn});var zBn,dwe,awr=ie(()=>{"use strict";zL();JT();zBn=t2(mp,"Promise"),dwe=zBn});var UBn,nD,jJe=ie(()=>{"use strict";zL();JT();UBn=t2(mp,"Set"),nD=UBn});var swr,VBn,owr,lwr,cwr,uwr,HBn,qBn,WBn,YBn,KBn,fO,Hw,dO=ie(()=>{"use strict";iwr();ewe();awr();jJe();Hbr();GL();vJe();swr="[object Map]",VBn="[object Object]",owr="[object Promise]",lwr="[object Set]",cwr="[object WeakMap]",uwr="[object DataView]",HBn=dA(fwe),qBn=dA(ZL),WBn=dA(dwe),YBn=dA(nD),KBn=dA(z2e),fO=Eb;(fwe&&fO(new fwe(new ArrayBuffer(1)))!=uwr||ZL&&fO(new ZL)!=swr||dwe&&fO(dwe.resolve())!=owr||nD&&fO(new nD)!=lwr||z2e&&fO(new z2e)!=cwr)&&(fO=i(function(t){var r=Eb(t),a=r==VBn?t.constructor:void 0,o=a?dA(a):"";if(o)switch(o){case HBn:return uwr;case qBn:return swr;case WBn:return owr;case YBn:return lwr;case KBn:return cwr}return r},"getTag"));Hw=fO});function JBn(t){var r=t.length,a=new t.constructor(r);return r&&typeof t[0]=="string"&&QBn.call(t,"index")&&(a.index=t.index,a.input=t.input),a}var XBn,QBn,hwr,fwr=ie(()=>{"use strict";XBn=Object.prototype,QBn=XBn.hasOwnProperty;i(JBn,"initCloneArray");hwr=JBn});var ZBn,nU,zJe=ie(()=>{"use strict";JT();ZBn=mp.Uint8Array,nU=ZBn});function eFn(t){var r=new t.constructor(t.byteLength);return new nU(r).set(new nU(t)),r}var iU,pwe=ie(()=>{"use strict";zJe();i(eFn,"cloneArrayBuffer");iU=eFn});function tFn(t,r){var a=r?iU(t.buffer):t.buffer;return new t.constructor(a,t.byteOffset,t.byteLength)}var dwr,pwr=ie(()=>{"use strict";pwe();i(tFn,"cloneDataView");dwr=tFn});function nFn(t){var r=new t.constructor(t.source,rFn.exec(t));return r.lastIndex=t.lastIndex,r}var rFn,gwr,mwr=ie(()=>{"use strict";rFn=/\w*$/;i(nFn,"cloneRegExp");gwr=nFn});function iFn(t){return bwr?Object(bwr.call(t)):{}}var ywr,bwr,vwr,wwr=ie(()=>{"use strict";lO();ywr=ym?ym.prototype:void 0,bwr=ywr?ywr.valueOf:void 0;i(iFn,"cloneSymbol");vwr=iFn});function aFn(t,r){var a=r?iU(t.buffer):t.buffer;return new t.constructor(a,t.byteOffset,t.length)}var gwe,UJe=ie(()=>{"use strict";pwe();i(aFn,"cloneTypedArray");gwe=aFn});function EFn(t,r,a){var o=t.constructor;switch(r){case pFn:return iU(t);case sFn:case oFn:return new o(+t);case gFn:return dwr(t,a);case mFn:case yFn:case bFn:case vFn:case wFn:case xFn:case TFn:case kFn:case CFn:return gwe(t,a);case lFn:return new o;case cFn:case fFn:return new o(t);case uFn:return gwr(t);case hFn:return new o;case dFn:return vwr(t)}}var sFn,oFn,lFn,cFn,uFn,hFn,fFn,dFn,pFn,gFn,mFn,yFn,bFn,vFn,wFn,xFn,TFn,kFn,CFn,xwr,Twr=ie(()=>{"use strict";pwe();pwr();mwr();wwr();UJe();sFn="[object Boolean]",oFn="[object Date]",lFn="[object Map]",cFn="[object Number]",uFn="[object RegExp]",hFn="[object Set]",fFn="[object String]",dFn="[object Symbol]",pFn="[object ArrayBuffer]",gFn="[object DataView]",mFn="[object Float32Array]",yFn="[object Float64Array]",bFn="[object Int8Array]",vFn="[object Int16Array]",wFn="[object Int32Array]",xFn="[object Uint8Array]",TFn="[object Uint8ClampedArray]",kFn="[object Uint16Array]",CFn="[object Uint32Array]";i(EFn,"initCloneByTag");xwr=EFn});function SFn(t){return typeof t.constructor=="function"&&!WL(t)?Wbr(eU(t)):{}}var mwe,VJe=ie(()=>{"use strict";Ybr();awe();kre();i(SFn,"initCloneObject");mwe=SFn});function RFn(t){return eg(t)&&Hw(t)==AFn}var AFn,kwr,Cwr=ie(()=>{"use strict";dO();w4();AFn="[object Map]";i(RFn,"baseIsMap");kwr=RFn});var Ewr,LFn,Swr,Awr=ie(()=>{"use strict";Cwr();Cre();K2e();Ewr=gA&&gA.isMap,LFn=Ewr?YL(Ewr):kwr,Swr=LFn});function _Fn(t){return eg(t)&&Hw(t)==DFn}var DFn,Rwr,Lwr=ie(()=>{"use strict";dO();w4();DFn="[object Set]";i(_Fn,"baseIsSet");Rwr=_Fn});var Dwr,MFn,_wr,Mwr=ie(()=>{"use strict";Lwr();Cre();K2e();Dwr=gA&&gA.isSet,MFn=Dwr?YL(Dwr):Rwr,_wr=MFn});function ywe(t,r,a,o,l,h){var f,p=r&IFn,m=r&NFn,b=r&OFn;if(a&&(f=l?a(t,o,l,h):a(t)),f!==void 0)return f;if(!Yf(t))return t;var v=wl(t);if(v){if(f=hwr(t),!p)return U2e(t,f)}else{var T=Hw(t),C=T==Nwr||T==GFn;if(T4(t))return swe(t,p);if(T==Owr||T==Iwr||C&&!l){if(f=m||C?{}:mwe(t),!p)return m?ewr(t,H2r(f,t)):J2r(t,U2r(f,t))}else{if(!rf[T])return l?t:{};f=xwr(t,T,p)}}h||(h=new aS);var E=h.get(t);if(E)return E;h.set(t,f),_wr(t)?t.forEach(function(L){f.add(ywe(L,r,a,L,t,h))}):Swr(t)&&t.forEach(function(L,_){f.set(_,ywe(L,r,a,_,t,h))});var S=b?m?rwr:Nre:m?n2:yp,R=v?void 0:S(t);return H2e(R||t,function(L,_){R&&(_=L,L=t[_]),HL(f,_,ywe(L,r,a,_,t,h))}),f}var IFn,NFn,OFn,Iwr,PFn,BFn,FFn,$Fn,Nwr,GFn,jFn,zFn,Owr,UFn,VFn,HFn,qFn,WFn,YFn,KFn,XFn,QFn,JFn,ZFn,e$n,t$n,r$n,n$n,i$n,rf,Pwr,Bwr=ie(()=>{"use strict";Ire();CJe();wre();V2r();q2r();OJe();wJe();Z2r();twr();GJe();nwr();dO();fwr();Twr();VJe();Dg();Hz();Awr();ZT();Mwr();mA();XL();IFn=1,NFn=2,OFn=4,Iwr="[object Arguments]",PFn="[object Array]",BFn="[object Boolean]",FFn="[object Date]",$Fn="[object Error]",Nwr="[object Function]",GFn="[object GeneratorFunction]",jFn="[object Map]",zFn="[object Number]",Owr="[object Object]",UFn="[object RegExp]",VFn="[object Set]",HFn="[object String]",qFn="[object Symbol]",WFn="[object WeakMap]",YFn="[object ArrayBuffer]",KFn="[object DataView]",XFn="[object Float32Array]",QFn="[object Float64Array]",JFn="[object Int8Array]",ZFn="[object Int16Array]",e$n="[object Int32Array]",t$n="[object Uint8Array]",r$n="[object Uint8ClampedArray]",n$n="[object Uint16Array]",i$n="[object Uint32Array]",rf={};rf[Iwr]=rf[PFn]=rf[YFn]=rf[KFn]=rf[BFn]=rf[FFn]=rf[XFn]=rf[QFn]=rf[JFn]=rf[ZFn]=rf[e$n]=rf[jFn]=rf[zFn]=rf[Owr]=rf[UFn]=rf[VFn]=rf[HFn]=rf[qFn]=rf[t$n]=rf[r$n]=rf[n$n]=rf[i$n]=!0;rf[$Fn]=rf[Nwr]=rf[WFn]=!1;i(ywe,"baseClone");Pwr=ywe});function o$n(t){return Pwr(t,a$n|s$n)}var a$n,s$n,HJe,Fwr=ie(()=>{"use strict";Bwr();a$n=1,s$n=4;i(o$n,"cloneDeep");HJe=o$n});function c$n(t){return this.__data__.set(t,l$n),this}var l$n,$wr,Gwr=ie(()=>{"use strict";l$n="__lodash_hash_undefined__";i(c$n,"setCacheAdd");$wr=c$n});function u$n(t){return this.__data__.has(t)}var jwr,zwr=ie(()=>{"use strict";i(u$n,"setCacheHas");jwr=u$n});function bwe(t){var r=-1,a=t==null?0:t.length;for(this.__data__=new hO;++r{"use strict";twe();Gwr();zwr();i(bwe,"SetCache");bwe.prototype.add=bwe.prototype.push=$wr;bwe.prototype.has=jwr;vwe=bwe});function h$n(t,r){for(var a=-1,o=t==null?0:t.length;++a{"use strict";i(h$n,"arraySome");Uwr=h$n});function f$n(t,r){return t.has(r)}var wwe,WJe=ie(()=>{"use strict";i(f$n,"cacheHas");wwe=f$n});function g$n(t,r,a,o,l,h){var f=a&d$n,p=t.length,m=r.length;if(p!=m&&!(f&&m>p))return!1;var b=h.get(t),v=h.get(r);if(b&&v)return b==r&&v==t;var T=-1,C=!0,E=a&p$n?new vwe:void 0;for(h.set(t,r),h.set(r,t);++T{"use strict";qJe();Vwr();WJe();d$n=1,p$n=2;i(g$n,"equalArrays");xwe=g$n});function m$n(t){var r=-1,a=Array(t.size);return t.forEach(function(o,l){a[++r]=[l,o]}),a}var Hwr,qwr=ie(()=>{"use strict";i(m$n,"mapToArray");Hwr=m$n});function y$n(t){var r=-1,a=Array(t.size);return t.forEach(function(o){a[++r]=o}),a}var aU,Twe=ie(()=>{"use strict";i(y$n,"setToArray");aU=y$n});function _$n(t,r,a,o,l,h,f){switch(a){case D$n:if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)return!1;t=t.buffer,r=r.buffer;case L$n:return!(t.byteLength!=r.byteLength||!h(new nU(t),new nU(r)));case w$n:case x$n:case C$n:return ek(+t,+r);case T$n:return t.name==r.name&&t.message==r.message;case E$n:case A$n:return t==r+"";case k$n:var p=Hwr;case S$n:var m=o&b$n;if(p||(p=aU),t.size!=r.size&&!m)return!1;var b=f.get(t);if(b)return b==r;o|=v$n,f.set(t,r);var v=xwe(p(t),p(r),o,l,h,f);return f.delete(t),v;case R$n:if(KJe)return KJe.call(t)==KJe.call(r)}return!1}var b$n,v$n,w$n,x$n,T$n,k$n,C$n,E$n,S$n,A$n,R$n,L$n,D$n,Wwr,KJe,Ywr,Kwr=ie(()=>{"use strict";lO();zJe();uO();YJe();qwr();Twe();b$n=1,v$n=2,w$n="[object Boolean]",x$n="[object Date]",T$n="[object Error]",k$n="[object Map]",C$n="[object Number]",E$n="[object RegExp]",S$n="[object Set]",A$n="[object String]",R$n="[object Symbol]",L$n="[object ArrayBuffer]",D$n="[object DataView]",Wwr=ym?ym.prototype:void 0,KJe=Wwr?Wwr.valueOf:void 0;i(_$n,"equalByTag");Ywr=_$n});function O$n(t,r,a,o,l,h){var f=a&M$n,p=Nre(t),m=p.length,b=Nre(r),v=b.length;if(m!=v&&!f)return!1;for(var T=m;T--;){var C=p[T];if(!(f?C in r:N$n.call(r,C)))return!1}var E=h.get(t),S=h.get(r);if(E&&S)return E==r&&S==t;var R=!0;h.set(t,r),h.set(r,t);for(var L=f;++T{"use strict";GJe();M$n=1,I$n=Object.prototype,N$n=I$n.hasOwnProperty;i(O$n,"equalObjects");Xwr=O$n});function F$n(t,r,a,o,l,h){var f=wl(t),p=wl(r),m=f?Zwr:Hw(t),b=p?Zwr:Hw(r);m=m==Jwr?kwe:m,b=b==Jwr?kwe:b;var v=m==kwe,T=b==kwe,C=m==b;if(C&&T4(t)){if(!T4(r))return!1;f=!0,v=!1}if(C&&!v)return h||(h=new aS),f||KL(t)?xwe(t,r,a,o,l,h):Ywr(t,r,m,a,o,l,h);if(!(a&P$n)){var E=v&&exr.call(t,"__wrapped__"),S=T&&exr.call(r,"__wrapped__");if(E||S){var R=E?t.value():t,L=S?r.value():r;return h||(h=new aS),l(R,L,a,o,h)}}return C?(h||(h=new aS),Xwr(t,r,a,o,l,h)):!1}var P$n,Jwr,Zwr,kwe,B$n,exr,txr,rxr=ie(()=>{"use strict";Ire();YJe();Kwr();Qwr();dO();Dg();Hz();Sre();P$n=1,Jwr="[object Arguments]",Zwr="[object Array]",kwe="[object Object]",B$n=Object.prototype,exr=B$n.hasOwnProperty;i(F$n,"baseIsEqualDeep");txr=F$n});function nxr(t,r,a,o,l){return t===r?!0:t==null||r==null||!eg(t)&&!eg(r)?t!==t&&r!==r:txr(t,r,a,o,nxr,l)}var Cwe,XJe=ie(()=>{"use strict";rxr();w4();i(nxr,"baseIsEqual");Cwe=nxr});function j$n(t,r,a,o){var l=a.length,h=l,f=!o;if(t==null)return!h;for(t=Object(t);l--;){var p=a[l];if(f&&p[2]?p[1]!==t[p[0]]:!(p[0]in t))return!1}for(;++l{"use strict";Ire();XJe();$$n=1,G$n=2;i(j$n,"baseIsMatch");ixr=j$n});function z$n(t){return t===t&&!Yf(t)}var Ewe,QJe=ie(()=>{"use strict";ZT();i(z$n,"isStrictComparable");Ewe=z$n});function U$n(t){for(var r=yp(t),a=r.length;a--;){var o=r[a],l=t[o];r[a]=[o,l,Ewe(l)]}return r}var sxr,oxr=ie(()=>{"use strict";QJe();mA();i(U$n,"getMatchData");sxr=U$n});function V$n(t,r){return function(a){return a==null?!1:a[t]===r&&(r!==void 0||t in Object(a))}}var Swe,JJe=ie(()=>{"use strict";i(V$n,"matchesStrictComparable");Swe=V$n});function H$n(t){var r=sxr(t);return r.length==1&&r[0][2]?Swe(r[0][0],r[0][1]):function(a){return a===t||ixr(a,t,r)}}var lxr,cxr=ie(()=>{"use strict";axr();oxr();JJe();i(H$n,"baseMatches");lxr=H$n});function q$n(t,r){return t!=null&&r in Object(t)}var uxr,hxr=ie(()=>{"use strict";i(q$n,"baseHasIn");uxr=q$n});function W$n(t,r,a){r=tD(r,t);for(var o=-1,l=r.length,h=!1;++o{"use strict";_re();Vz();Dg();bre();Y2e();Qz();i(W$n,"hasPath");Awe=W$n});function Y$n(t,r){return t!=null&&Awe(t,r,uxr)}var Rwe,eZe=ie(()=>{"use strict";hxr();ZJe();i(Y$n,"hasIn");Rwe=Y$n});function Q$n(t,r){return Wz(t)&&Ewe(r)?Swe(iS(t),r):function(a){var o=b2r(a,t);return o===void 0&&o===r?Rwe(a,t):Cwe(r,o,K$n|X$n)}}var K$n,X$n,fxr,dxr=ie(()=>{"use strict";XJe();v2r();eZe();Z2e();QJe();JJe();Qz();K$n=1,X$n=2;i(Q$n,"baseMatchesProperty");fxr=Q$n});function J$n(t){return function(r){return r?.[t]}}var Lwe,tZe=ie(()=>{"use strict";i(J$n,"baseProperty");Lwe=J$n});function Z$n(t){return function(r){return rD(r,t)}}var pxr,gxr=ie(()=>{"use strict";Mre();i(Z$n,"basePropertyDeep");pxr=Z$n});function eGn(t){return Wz(t)?Lwe(iS(t)):pxr(t)}var mxr,yxr=ie(()=>{"use strict";tZe();gxr();Z2e();Qz();i(eGn,"property");mxr=eGn});function tGn(t){return typeof t=="function"?t:t==null?e2:typeof t=="object"?wl(t)?fxr(t[0],t[1]):lxr(t):mxr(t)}var sy,bA=ie(()=>{"use strict";cxr();dxr();jL();Dg();yxr();i(tGn,"baseIteratee");sy=tGn});function rGn(t){return function(r,a,o){for(var l=-1,h=Object(r),f=o(r),p=f.length;p--;){var m=f[t?p:++l];if(a(h[m],m,h)===!1)break}return r}}var bxr,vxr=ie(()=>{"use strict";i(rGn,"createBaseFor");bxr=rGn});var nGn,sU,Dwe=ie(()=>{"use strict";vxr();nGn=bxr(),sU=nGn});function iGn(t,r){return t&&sU(t,r,yp)}var oU,_we=ie(()=>{"use strict";Dwe();mA();i(iGn,"baseForOwn");oU=iGn});function aGn(t,r){return function(a,o){if(a==null)return a;if(!bm(a))return t(a,o);for(var l=a.length,h=r?l:-1,f=Object(a);(r?h--:++h{"use strict";nS();i(aGn,"createBaseEach");wxr=aGn});var sGn,iD,Ore=ie(()=>{"use strict";_we();xxr();sGn=wxr(oU),iD=sGn});var oGn,Mwe,Txr=ie(()=>{"use strict";JT();oGn=i(function(){return mp.Date.now()},"now"),Mwe=oGn});var kxr,lGn,cGn,rZe,Cxr=ie(()=>{"use strict";xre();uO();Tre();XL();kxr=Object.prototype,lGn=kxr.hasOwnProperty,cGn=qL(function(t,r){t=Object(t);var a=-1,o=r.length,l=o>2?r[2]:void 0;for(l&&pA(r[0],r[1],l)&&(o=1);++a{"use strict";vre();uO();i(uGn,"assignMergeValue");Pre=uGn});function hGn(t){return eg(t)&&bm(t)}var Iwe,iZe=ie(()=>{"use strict";nS();w4();i(hGn,"isArrayLikeObject");Iwe=hGn});function fGn(t,r){if(!(r==="constructor"&&typeof t[r]=="function")&&r!="__proto__")return t[r]}var Bre,aZe=ie(()=>{"use strict";i(fGn,"safeGet");Bre=fGn});function dGn(t){return rS(t,n2(t))}var Exr,Sxr=ie(()=>{"use strict";zz();XL();i(dGn,"toPlainObject");Exr=dGn});function pGn(t,r,a,o,l,h,f){var p=Bre(t,a),m=Bre(r,a),b=f.get(m);if(b){Pre(t,a,b);return}var v=h?h(p,m,a+"",t,r,f):void 0,T=v===void 0;if(T){var C=wl(m),E=!C&&T4(m),S=!C&&!E&&KL(m);v=m,C||E||S?wl(p)?v=p:Iwe(p)?v=U2e(p):E?(T=!1,v=swe(m,!0)):S?(T=!1,v=gwe(m,!0)):v=[]:A2r(m)||x4(m)?(v=p,x4(p)?v=Exr(p):(!Yf(p)||tS(p))&&(v=mwe(m))):T=!1}T&&(f.set(m,v),l(v,m,o,h,f),f.delete(m)),Pre(t,a,v)}var Axr,Rxr=ie(()=>{"use strict";nZe();OJe();UJe();wJe();VJe();Vz();Dg();iZe();Hz();yre();ZT();R2r();Sre();aZe();Sxr();i(pGn,"baseMergeDeep");Axr=pGn});function Lxr(t,r,a,o,l){t!==r&&sU(r,function(h,f){if(l||(l=new aS),Yf(h))Axr(t,r,f,a,Lxr,o,l);else{var p=o?o(Bre(t,f),h,f+"",t,r,l):void 0;p===void 0&&(p=h),Pre(t,f,p)}},n2)}var Dxr,_xr=ie(()=>{"use strict";Ire();nZe();Dwe();Rxr();ZT();XL();aZe();i(Lxr,"baseMerge");Dxr=Lxr});function gGn(t,r,a){for(var o=-1,l=t==null?0:t.length;++o{"use strict";i(gGn,"arrayIncludesWith");Mxr=gGn});function mGn(t){var r=t==null?0:t.length;return r?t[r-1]:void 0}var aD,Nxr=ie(()=>{"use strict";i(mGn,"last");aD=mGn});function yGn(t){return typeof t=="function"?t:e2}var lU,Nwe=ie(()=>{"use strict";jL();i(yGn,"castFunction");lU=yGn});function bGn(t,r){var a=wl(t)?H2e:iD;return a(t,lU(r))}var fn,sZe=ie(()=>{"use strict";CJe();Ore();Nwe();Dg();i(bGn,"forEach");fn=bGn});var Oxr=ie(()=>{"use strict";sZe()});function vGn(t,r){var a=[];return iD(t,function(o,l,h){r(o,l,h)&&a.push(o)}),a}var Pxr,Bxr=ie(()=>{"use strict";Ore();i(vGn,"baseFilter");Pxr=vGn});function wGn(t,r){var a=wl(t)?owe:Pxr;return a(t,sy(r,3))}var Sb,Fxr=ie(()=>{"use strict";PJe();Bxr();bA();Dg();i(wGn,"filter");Sb=wGn});function xGn(t){return function(r,a,o){var l=Object(r);if(!bm(r)){var h=sy(a,3);r=yp(r),a=i(function(p){return h(l[p],p,l)},"predicate")}var f=t(r,a,o);return f>-1?l[h?r[f]:f]:void 0}}var $xr,Gxr=ie(()=>{"use strict";bA();nS();mA();i(xGn,"createFind");$xr=xGn});function kGn(t,r,a){var o=t==null?0:t.length;if(!o)return-1;var l=a==null?0:Obr(a);return l<0&&(l=TGn(o+l,0)),q2e(t,sy(r,3),l)}var TGn,jxr,zxr=ie(()=>{"use strict";EJe();bA();Pbr();TGn=Math.max;i(kGn,"findIndex");jxr=kGn});var CGn,cU,Uxr=ie(()=>{"use strict";Gxr();zxr();CGn=$xr(jxr),cU=CGn});function EGn(t,r){var a=-1,o=bm(t)?Array(t.length):[];return iD(t,function(l,h,f){o[++a]=r(l,h,f)}),o}var Owe,oZe=ie(()=>{"use strict";Ore();nS();i(EGn,"baseMap");Owe=EGn});function SGn(t,r){var a=wl(t)?eS:Owe;return a(t,sy(r,3))}var th,Vxr=ie(()=>{"use strict";mre();bA();oZe();Dg();i(SGn,"map");th=SGn});function AGn(t,r){return t==null?t:sU(t,lU(r),n2)}var lZe,Hxr=ie(()=>{"use strict";Dwe();Nwe();XL();i(AGn,"forIn");lZe=AGn});function RGn(t,r){return t&&oU(t,lU(r))}var cZe,qxr=ie(()=>{"use strict";_we();Nwe();i(RGn,"forOwn");cZe=RGn});function LGn(t,r){return t>r}var Wxr,Yxr=ie(()=>{"use strict";i(LGn,"baseGt");Wxr=LGn});function MGn(t,r){return t!=null&&_Gn.call(t,r)}var DGn,_Gn,Kxr,Xxr=ie(()=>{"use strict";DGn=Object.prototype,_Gn=DGn.hasOwnProperty;i(MGn,"baseHas");Kxr=MGn});function IGn(t,r){return t!=null&&Awe(t,r,Kxr)}var Fre,Qxr=ie(()=>{"use strict";Xxr();ZJe();i(IGn,"has");Fre=IGn});function OGn(t){return typeof t=="string"||!wl(t)&&eg(t)&&Eb(t)==NGn}var NGn,Jxr,Zxr=ie(()=>{"use strict";GL();Dg();w4();NGn="[object String]";i(OGn,"isString");Jxr=OGn});function PGn(t,r){return eS(r,function(a){return t[a]})}var eTr,tTr=ie(()=>{"use strict";mre();i(PGn,"baseValues");eTr=PGn});function BGn(t){return t==null?[]:eTr(t,yp(t))}var qw,rTr=ie(()=>{"use strict";tTr();mA();i(BGn,"values");qw=BGn});function zGn(t){if(t==null)return!0;if(bm(t)&&(wl(t)||typeof t=="string"||typeof t.splice=="function"||T4(t)||KL(t)||x4(t)))return!t.length;var r=Hw(t);if(r==FGn||r==$Gn)return!t.size;if(WL(t))return!qz(t).length;for(var a in t)if(jGn.call(t,a))return!1;return!0}var FGn,$Gn,GGn,jGn,Pwe,nTr=ie(()=>{"use strict";J2e();dO();Vz();Dg();nS();Hz();kre();Sre();FGn="[object Map]",$Gn="[object Set]",GGn=Object.prototype,jGn=GGn.hasOwnProperty;i(zGn,"isEmpty");Pwe=zGn});function UGn(t){return t===void 0}var bp,iTr=ie(()=>{"use strict";i(UGn,"isUndefined");bp=UGn});function VGn(t,r){return t{"use strict";i(VGn,"baseLt");Bwe=VGn});function HGn(t,r){var a={};return r=sy(r,3),oU(t,function(o,l,h){VL(a,l,r(o,l,h))}),a}var pO,aTr=ie(()=>{"use strict";vre();_we();bA();i(HGn,"mapValues");pO=HGn});function qGn(t,r,a){for(var o=-1,l=t.length;++o{"use strict";cO();i(qGn,"baseExtremum");uU=qGn});function WGn(t){return t&&t.length?uU(t,e2,Wxr):void 0}var i2,sTr=ie(()=>{"use strict";Fwe();Yxr();jL();i(WGn,"max");i2=WGn});var YGn,hU,oTr=ie(()=>{"use strict";_xr();dvr();YGn=fvr(function(t,r,a){Dxr(t,r,a)}),hU=YGn});function KGn(t){return t&&t.length?uU(t,e2,Bwe):void 0}var vA,lTr=ie(()=>{"use strict";Fwe();uZe();jL();i(KGn,"min");vA=KGn});function XGn(t,r){return t&&t.length?uU(t,sy(r,2),Bwe):void 0}var gO,cTr=ie(()=>{"use strict";Fwe();bA();uZe();i(XGn,"minBy");gO=XGn});function QGn(t,r,a,o){if(!Yf(t))return t;r=tD(r,t);for(var l=-1,h=r.length,f=h-1,p=t;p!=null&&++l{"use strict";wre();_re();bre();ZT();Qz();i(QGn,"baseSet");uTr=QGn});function JGn(t,r,a){for(var o=-1,l=r.length,h={};++o{"use strict";Mre();hTr();_re();i(JGn,"basePickBy");fTr=JGn});function ZGn(t,r){var a=t.length;for(t.sort(r);a--;)t[a]=t[a].value;return t}var pTr,gTr=ie(()=>{"use strict";i(ZGn,"baseSortBy");pTr=ZGn});function ejn(t,r){if(t!==r){var a=t!==void 0,o=t===null,l=t===t,h=Vw(t),f=r!==void 0,p=r===null,m=r===r,b=Vw(r);if(!p&&!b&&!h&&t>r||h&&f&&m&&!p&&!b||o&&f&&m||!a&&m||!l)return 1;if(!o&&!h&&!b&&t{"use strict";cO();i(ejn,"compareAscending");mTr=ejn});function tjn(t,r,a){for(var o=-1,l=t.criteria,h=r.criteria,f=l.length,p=a.length;++o=p)return m;var b=a[o];return m*(b=="desc"?-1:1)}}return t.index-r.index}var bTr,vTr=ie(()=>{"use strict";yTr();i(tjn,"compareMultiple");bTr=tjn});function rjn(t,r,a){r.length?r=eS(r,function(h){return wl(h)?function(f){return rD(f,h.length===1?h[0]:h)}:h}):r=[e2];var o=-1;r=eS(r,YL(sy));var l=Owe(t,function(h,f,p){var m=eS(r,function(b){return b(h)});return{criteria:m,index:++o,value:h}});return pTr(l,function(h,f){return bTr(h,f,a)})}var wTr,xTr=ie(()=>{"use strict";mre();Mre();bA();oZe();gTr();Cre();vTr();jL();Dg();i(rjn,"baseOrderBy");wTr=rjn});var njn,TTr,kTr=ie(()=>{"use strict";tZe();njn=Lwe("length"),TTr=njn});function gjn(t){for(var r=CTr.lastIndex=0;CTr.test(t);)++r;return r}var ETr,ijn,ajn,sjn,ojn,ljn,cjn,hZe,fZe,ujn,STr,ATr,RTr,hjn,LTr,DTr,fjn,djn,pjn,CTr,_Tr,MTr=ie(()=>{"use strict";ETr="\\ud800-\\udfff",ijn="\\u0300-\\u036f",ajn="\\ufe20-\\ufe2f",sjn="\\u20d0-\\u20ff",ojn=ijn+ajn+sjn,ljn="\\ufe0e\\ufe0f",cjn="["+ETr+"]",hZe="["+ojn+"]",fZe="\\ud83c[\\udffb-\\udfff]",ujn="(?:"+hZe+"|"+fZe+")",STr="[^"+ETr+"]",ATr="(?:\\ud83c[\\udde6-\\uddff]){2}",RTr="[\\ud800-\\udbff][\\udc00-\\udfff]",hjn="\\u200d",LTr=ujn+"?",DTr="["+ljn+"]?",fjn="(?:"+hjn+"(?:"+[STr,ATr,RTr].join("|")+")"+DTr+LTr+")*",djn=DTr+LTr+fjn,pjn="(?:"+[STr+hZe+"?",hZe,ATr,RTr,cjn].join("|")+")",CTr=RegExp(fZe+"(?="+fZe+")|"+pjn+djn,"g");i(gjn,"unicodeSize");_Tr=gjn});function mjn(t){return L2r(t)?_Tr(t):TTr(t)}var ITr,NTr=ie(()=>{"use strict";kTr();D2r();MTr();i(mjn,"stringSize");ITr=mjn});function yjn(t,r){return fTr(t,r,function(a,o){return Rwe(t,o)})}var OTr,PTr=ie(()=>{"use strict";dTr();eZe();i(yjn,"basePick");OTr=yjn});var bjn,mO,BTr=ie(()=>{"use strict";PTr();E2r();bjn=C2r(function(t,r){return t==null?{}:OTr(t,r)}),mO=bjn});function xjn(t,r,a,o){for(var l=-1,h=wjn(vjn((r-t)/(a||1)),0),f=Array(h);h--;)f[o?h:++l]=t,t+=a;return f}var vjn,wjn,FTr,$Tr=ie(()=>{"use strict";vjn=Math.ceil,wjn=Math.max;i(xjn,"baseRange");FTr=xjn});function Tjn(t){return function(r,a,o){return o&&typeof o!="number"&&pA(r,a,o)&&(a=o=void 0),r=Gz(r),a===void 0?(a=r,r=0):a=Gz(a),o=o===void 0?r{"use strict";$Tr();Tre();bJe();i(Tjn,"createRange");GTr=Tjn});var kjn,rk,zTr=ie(()=>{"use strict";jTr();kjn=GTr(),rk=kjn});function Cjn(t,r,a,o,l){return l(t,function(h,f,p){a=o?(o=!1,h):r(a,h,f,p)}),a}var UTr,VTr=ie(()=>{"use strict";i(Cjn,"baseReduce");UTr=Cjn});function Ejn(t,r,a){var o=wl(t)?_2r:UTr,l=arguments.length<3;return o(t,sy(r,4),a,l,iD)}var sS,HTr=ie(()=>{"use strict";M2r();Ore();bA();VTr();Dg();i(Ejn,"reduce");sS=Ejn});function Rjn(t){if(t==null)return 0;if(bm(t))return Jxr(t)?ITr(t):t.length;var r=Hw(t);return r==Sjn||r==Ajn?t.size:qz(t).length}var Sjn,Ajn,dZe,qTr=ie(()=>{"use strict";J2e();dO();nS();Zxr();NTr();Sjn="[object Map]",Ajn="[object Set]";i(Rjn,"size");dZe=Rjn});var Ljn,oS,WTr=ie(()=>{"use strict";iwe();xTr();xre();Tre();Ljn=qL(function(t,r){if(t==null)return[];var a=r.length;return a>1&&pA(t,r[0],r[1])?r=[]:a>2&&pA(r[0],r[1],r[2])&&(r=[r[0]]),wTr(t,Zz(r,1),[])}),oS=Ljn});var Djn,_jn,YTr,KTr=ie(()=>{"use strict";jJe();Jbr();Twe();Djn=1/0,_jn=nD&&1/aU(new nD([,-0]))[1]==Djn?function(t){return new nD(t)}:Qbr,YTr=_jn});function Ijn(t,r,a){var o=-1,l=cvr,h=t.length,f=!0,p=[],m=p;if(a)f=!1,l=Mxr;else if(h>=Mjn){var b=r?null:YTr(t);if(b)return aU(b);f=!1,l=wwe,m=new vwe}else m=r?[]:p;e:for(;++o{"use strict";qJe();uvr();Ixr();WJe();KTr();Twe();Mjn=200;i(Ijn,"baseUniq");XTr=Ijn});var Njn,pZe,JTr=ie(()=>{"use strict";iwe();xre();QTr();iZe();Njn=qL(function(t){return XTr(Zz(t,1,Iwe,!0))}),pZe=Njn});function Pjn(t){var r=++Ojn;return rwe(t)+r}var Ojn,yO,ZTr=ie(()=>{"use strict";IJe();Ojn=0;i(Pjn,"uniqueId");yO=Pjn});function Bjn(t,r,a){for(var o=-1,l=t.length,h=r.length,f={};++o{"use strict";i(Bjn,"baseZipObject");ekr=Bjn});function Fjn(t,r){return ekr(t||[],r||[],HL)}var $we,rkr=ie(()=>{"use strict";wre();tkr();i(Fjn,"zipObject");$we=Fjn});var rh=ie(()=>{"use strict";Fwr();xJe();Cxr();Oxr();Fxr();Uxr();NJe();sZe();Hxr();qxr();Qxr();Dg();nTr();yre();iTr();mA();Nxr();Vxr();aTr();sTr();oTr();lTr();cTr();Txr();BTr();zTr();HTr();qTr();WTr();JTr();ZTr();rTr();rkr();});function ikr(t,r){t[r]?t[r]++:t[r]=1}function akr(t,r){--t[r]||delete t[r]}function $re(t,r,a,o){var l=""+r,h=""+a;if(!t&&l>h){var f=l;l=h,h=f}return l+nkr+h+nkr+(bp(o)?$jn:o)}function Gjn(t,r,a,o){var l=""+r,h=""+a;if(!t&&l>h){var f=l;l=h,h=f}var p={v:l,w:h};return o&&(p.name=o),p}function gZe(t,r){return $re(t,r.v,r.w,r.name)}var $jn,bO,nkr,nh,mZe=ie(()=>{"use strict";rh();$jn="\0",bO="\0",nkr="",nh=class{static{i(this,"Graph")}constructor(r={}){this._isDirected=Object.prototype.hasOwnProperty.call(r,"directed")?r.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(r,"multigraph")?r.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(r,"compound")?r.compound:!1,this._label=void 0,this._defaultNodeLabelFn=r2(void 0),this._defaultEdgeLabelFn=r2(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[bO]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(r){return this._label=r,this}graph(){return this._label}setDefaultNodeLabel(r){return tS(r)||(r=r2(r)),this._defaultNodeLabelFn=r,this}nodeCount(){return this._nodeCount}nodes(){return yp(this._nodes)}sources(){var r=this;return Sb(this.nodes(),function(a){return Pwe(r._in[a])})}sinks(){var r=this;return Sb(this.nodes(),function(a){return Pwe(r._out[a])})}setNodes(r,a){var o=arguments,l=this;return fn(r,function(h){o.length>1?l.setNode(h,a):l.setNode(h)}),this}setNode(r,a){return Object.prototype.hasOwnProperty.call(this._nodes,r)?(arguments.length>1&&(this._nodes[r]=a),this):(this._nodes[r]=arguments.length>1?a:this._defaultNodeLabelFn(r),this._isCompound&&(this._parent[r]=bO,this._children[r]={},this._children[bO][r]=!0),this._in[r]={},this._preds[r]={},this._out[r]={},this._sucs[r]={},++this._nodeCount,this)}node(r){return this._nodes[r]}hasNode(r){return Object.prototype.hasOwnProperty.call(this._nodes,r)}removeNode(r){if(Object.prototype.hasOwnProperty.call(this._nodes,r)){var a=i(o=>this.removeEdge(this._edgeObjs[o]),"removeEdge");delete this._nodes[r],this._isCompound&&(this._removeFromParentsChildList(r),delete this._parent[r],fn(this.children(r),o=>{this.setParent(o)}),delete this._children[r]),fn(yp(this._in[r]),a),delete this._in[r],delete this._preds[r],fn(yp(this._out[r]),a),delete this._out[r],delete this._sucs[r],--this._nodeCount}return this}setParent(r,a){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(bp(a))a=bO;else{a+="";for(var o=a;!bp(o);o=this.parent(o))if(o===r)throw new Error("Setting "+a+" as parent of "+r+" would create a cycle");this.setNode(a)}return this.setNode(r),this._removeFromParentsChildList(r),this._parent[r]=a,this._children[a][r]=!0,this}_removeFromParentsChildList(r){delete this._children[this._parent[r]][r]}parent(r){if(this._isCompound){var a=this._parent[r];if(a!==bO)return a}}children(r){if(bp(r)&&(r=bO),this._isCompound){var a=this._children[r];if(a)return yp(a)}else{if(r===bO)return this.nodes();if(this.hasNode(r))return[]}}predecessors(r){var a=this._preds[r];if(a)return yp(a)}successors(r){var a=this._sucs[r];if(a)return yp(a)}neighbors(r){var a=this.predecessors(r);if(a)return pZe(a,this.successors(r))}isLeaf(r){var a;return this.isDirected()?a=this.successors(r):a=this.neighbors(r),a.length===0}filterNodes(r){var a=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});a.setGraph(this.graph());var o=this;fn(this._nodes,function(f,p){r(p)&&a.setNode(p,f)}),fn(this._edgeObjs,function(f){a.hasNode(f.v)&&a.hasNode(f.w)&&a.setEdge(f,o.edge(f))});var l={};function h(f){var p=o.parent(f);return p===void 0||a.hasNode(p)?(l[f]=p,p):p in l?l[p]:h(p)}return i(h,"findParent"),this._isCompound&&fn(a.nodes(),function(f){a.setParent(f,h(f))}),a}setDefaultEdgeLabel(r){return tS(r)||(r=r2(r)),this._defaultEdgeLabelFn=r,this}edgeCount(){return this._edgeCount}edges(){return qw(this._edgeObjs)}setPath(r,a){var o=this,l=arguments;return sS(r,function(h,f){return l.length>1?o.setEdge(h,f,a):o.setEdge(h,f),f}),this}setEdge(){var r,a,o,l,h=!1,f=arguments[0];typeof f=="object"&&f!==null&&"v"in f?(r=f.v,a=f.w,o=f.name,arguments.length===2&&(l=arguments[1],h=!0)):(r=f,a=arguments[1],o=arguments[3],arguments.length>2&&(l=arguments[2],h=!0)),r=""+r,a=""+a,bp(o)||(o=""+o);var p=$re(this._isDirected,r,a,o);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,p))return h&&(this._edgeLabels[p]=l),this;if(!bp(o)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(r),this.setNode(a),this._edgeLabels[p]=h?l:this._defaultEdgeLabelFn(r,a,o);var m=Gjn(this._isDirected,r,a,o);return r=m.v,a=m.w,Object.freeze(m),this._edgeObjs[p]=m,ikr(this._preds[a],r),ikr(this._sucs[r],a),this._in[a][p]=m,this._out[r][p]=m,this._edgeCount++,this}edge(r,a,o){var l=arguments.length===1?gZe(this._isDirected,arguments[0]):$re(this._isDirected,r,a,o);return this._edgeLabels[l]}hasEdge(r,a,o){var l=arguments.length===1?gZe(this._isDirected,arguments[0]):$re(this._isDirected,r,a,o);return Object.prototype.hasOwnProperty.call(this._edgeLabels,l)}removeEdge(r,a,o){var l=arguments.length===1?gZe(this._isDirected,arguments[0]):$re(this._isDirected,r,a,o),h=this._edgeObjs[l];return h&&(r=h.v,a=h.w,delete this._edgeLabels[l],delete this._edgeObjs[l],akr(this._preds[a],r),akr(this._sucs[r],a),delete this._in[a][l],delete this._out[r][l],this._edgeCount--),this}inEdges(r,a){var o=this._in[r];if(o){var l=qw(o);return a?Sb(l,function(h){return h.v===a}):l}}outEdges(r,a){var o=this._out[r];if(o){var l=qw(o);return a?Sb(l,function(h){return h.w===a}):l}}nodeEdges(r,a){var o=this.inEdges(r,a);if(o)return o.concat(this.outEdges(r,a))}};nh.prototype._nodeCount=0;nh.prototype._edgeCount=0;i(ikr,"incrementOrInitEntry");i(akr,"decrementOrRemoveEntry");i($re,"edgeArgsToId");i(Gjn,"edgeArgsToObj");i(gZe,"edgeObjToId")});var nk=ie(()=>{"use strict";mZe()});var skr=ie(()=>{"use strict"});var lkr={};cs(lkr,{captureNodeSizes:()=>Hjn,shouldCaptureSizes:()=>zjn});function okr(){if(!(typeof globalThis>"u"))return globalThis}function zjn(){return!!okr()?.mermaidCaptureSizes}function Ujn(){return typeof location>"u"?"browser-dev":`${location.pathname}${location.search}`}function Vjn(t,r){let a=okr();if(!a)return;let o=r.node(),h=((o&&"ownerSVGElement"in o?o.ownerSVGElement:null)??o)?.id??"(unknown)";a.mermaidCapturedSizes??=[];let f={svgId:h,sizes:t};a.mermaidCapturedSizes.push(f),a.mermaidLastCapturedSizes=f}function Hjn(t,r){let a=[];for(let o of r.nodes)o.isGroup||a.push({id:o.id,width:o.width??0,height:o.height??0});a.length!==0&&Vjn({metadata:{captureVersion:1,capturedAt:new Date().toISOString(),capturedFrom:Ujn()},nodes:a},t)}var ckr=ie(()=>{"use strict";skr();i(okr,"getCaptureGlobal");i(zjn,"shouldCaptureSizes");i(Ujn,"capturedFromLocation");i(Vjn,"emitCapturedSizes");i(Hjn,"captureNodeSizes")});function yZe(t,{edgePathsClass:r="edges edgePaths"}={}){let a=t.insert("g").attr("class","root"),o=a.insert("g").attr("class","clusters"),l=a.insert("g").attr("class",r),h=a.insert("g").attr("class","edgeLabels"),f=a.insert("g").attr("class","nodes");return{clusters:o,edgePaths:l,edgeLabels:h,nodes:f,rootGroups:a}}async function qjn(t,r,a){if(r.label){let{shapeSvg:o,bbox:l}=await In(t,a===void 0?r:{...r,width:a});r.labelBBox={width:l.width,height:l.height},o.remove()}else r.labelBBox={width:0,height:0}}async function bZe(t,r,a){let o=await fA(t,r,a),l=o.node()?.getBBox()??{width:0,height:0};return r.width=l.width,r.height=l.height,o}function Wjn(t,r,a){let o=t,l=new Set;for(;o;){if(o.dir)return o.dir;if(!o.parentId||l.has(o.parentId))break;l.add(o.parentId),o=r.get(o.parentId)}return a}async function ukr(t,r,a={}){let o=new nh({multigraph:!0,compound:!0}),l=[...r.edges],h=Zt(),f=yZe(t),{edgeLabels:p,nodes:m}=f,b=new Map,v=new Map(r.nodes.map(E=>[E.id,E])),T=r.direction,C=t.node()!=null;await Promise.all(r.nodes.map(async E=>{if(E.isGroup){if(C){let S=a.unwrapGroupLabels&&E.labelType!=="markdown";await qjn(m,E,S?Number.POSITIVE_INFINITY:void 0)}o.setNode(E.id,{...E})}else{if(C){let S=await bZe(m,E,{config:h,dir:Wjn(E,v,T)});b.set(E.id,S)}o.setNode(E.id,{...E})}}));for(let E of l)C&&P2e(E)&&await v4(p,E),o.setEdge(E.start,E.end,{...E},E.id),r.edges.some(R=>R.id===E.id)||r.edges.push(E);if(globalThis.mermaidCaptureSizes){let{captureNodeSizes:E}=await Promise.resolve().then(()=>(ckr(),lkr));E(t,r)}return{graph:o,groups:f,nodeElements:b}}var vZe=ie(()=>{"use strict";nk();ma();Fz();oO();na();i(yZe,"createLayoutElementGroups");i(qjn,"measureGroupLabel");i(bZe,"insertMeasuredNode");i(Wjn,"resolveNodeDir");i(ukr,"createGraphWithElements")});var Zo,vO,fkr,dkr,Gre,Yjn,pkr,gkr,Kjn,wO,hkr,mkr,ykr,bkr,jwe,vkr,Xjn,wZe=ie(()=>{"use strict";Xn();nk();Zo=new Map,vO=new Map,fkr=new Map,dkr=i(()=>{vO.clear(),fkr.clear(),Zo.clear()},"clear"),Gre=i((t,r)=>{let a=vO.get(r)||[];return Pe.trace("In isDescendant",r," ",t," = ",a.includes(t)),a.includes(t)},"isDescendant"),Yjn=i((t,r)=>{let a=vO.get(r)||[];return Pe.info("Descendants of ",r," is ",a),Pe.info("Edge is ",t),t.v===r||t.w===r?!1:a?a.includes(t.v)||Gre(t.v,r)||Gre(t.w,r)||a.includes(t.w):(Pe.debug("Tilt, ",r,",not in descendants"),!1)},"edgeInCluster"),pkr=i((t,r,a,o)=>{Pe.debug("Copying children of ",t,"root",o,"data",r.node(t),o);let l=r.children(t)||[];t!==o&&l.push(t),Pe.debug("Copying (nodes) clusterId",t,"nodes",l),l.forEach(h=>{if(r.children(h).length>0)pkr(h,r,a,o);else{let f=r.node(h);Pe.info("cp ",h," to ",o," with parent ",t),a.setNode(h,f),o!==r.parent(h)&&(Pe.debug("Setting parent",h,r.parent(h)),a.setParent(h,r.parent(h))),t!==o&&h!==t?(Pe.debug("Setting parent",h,t),a.setParent(h,t)):(Pe.info("In copy ",t,"root",o,"data",r.node(t),o),Pe.debug("Not Setting parent for node=",h,"cluster!==rootId",t!==o,"node!==clusterId",h!==t));let p=r.edges(h);Pe.debug("Copying Edges",p),p.forEach(m=>{Pe.info("Edge",m);let b=r.edge(m.v,m.w,m.name);Pe.info("Edge data",b,o);try{Yjn(m,o)?(Pe.info("Copying as ",m.v,m.w,b,m.name),a.setEdge(m.v,m.w,b,m.name),Pe.info("newGraph edges ",a.edges(),a.edge(a.edges()[0]))):Pe.info("Skipping copy of edge ",m.v,"-->",m.w," rootId: ",o," clusterId:",t)}catch(v){Pe.error(v)}})}Pe.debug("Removing node",h),r.removeNode(h)})},"copy"),gkr=i((t,r)=>{let a=r.children(t),o=[...a];for(let l of a)fkr.set(l,t),o=[...o,...gkr(l,r)];return o},"extractDescendants"),Kjn=i((t,r,a)=>{let o=t.edges().filter(m=>m.v===r||m.w===r),l=t.edges().filter(m=>m.v===a||m.w===a),h=o.map(m=>({v:m.v===r?a:m.v,w:m.w===r?r:m.w})),f=l.map(m=>({v:m.v,w:m.w}));return h.filter(m=>f.some(b=>m.v===b.v&&m.w===b.w))},"findCommonEdges"),wO=i((t,r,a)=>{let o=r.children(t);if(Pe.trace("Searching children of id ",t,o),o.length<1)return t;let l;for(let h of o){let f=wO(h,r,a),p=Kjn(r,a,f);if(f)if(p.length>0)l=f;else return f}return l},"findNonClusterChild"),hkr=i(t=>!Zo.has(t)||!Zo.get(t).externalConnections?t:Zo.has(t)?Zo.get(t).id:t,"getAnchorId"),mkr=i((t,r)=>{if(!t||r>10){Pe.debug("Opting out, no graph ");return}else Pe.debug("Opting in, graph ");t.nodes().forEach(function(a){t.children(a).length>0&&(Pe.debug("Cluster identified",a," Replacement id in edges: ",wO(a,t,a)),vO.set(a,gkr(a,t)),Zo.set(a,{id:wO(a,t,a),clusterData:t.node(a)}))}),t.nodes().forEach(function(a){let o=t.children(a),l=t.edges();o.length>0?(Pe.debug("Cluster identified",a,vO),l.forEach(h=>{let f=Gre(h.v,a),p=Gre(h.w,a);f^p&&(Pe.debug("Edge: ",h," leaves cluster ",a),Pe.debug("Descendants of XXX ",a,": ",vO.get(a)),Zo.get(a).externalConnections=!0)})):Pe.debug("Not a cluster ",a,vO)});for(let a of Zo.keys()){let o=Zo.get(a).id,l=t.parent(o);l!==a&&Zo.has(l)&&!Zo.get(l).externalConnections&&(Zo.get(a).id=l);let h=t.edges().some(f=>f.v===a);if(o&&Zo.get(a)?.externalConnections&&h&&vkr(t,o,a)){let f=Xjn(t,a,t.parent(o));f&&(Zo.get(a).id=f)}}t.edges().forEach(function(a){let o=t.edge(a);Pe.debug("Edge "+a.v+" -> "+a.w+": "+JSON.stringify(a)),Pe.debug("Edge "+a.v+" -> "+a.w+": "+JSON.stringify(t.edge(a)));let l=a.v,h=a.w;if(Pe.debug("Fix XXX",Zo,"ids:",a.v,a.w,"Translating: ",Zo.get(a.v)," --- ",Zo.get(a.w)),Zo.get(a.v)||Zo.get(a.w)){if(Pe.debug("Fixing and trying - removing XXX",a.v,a.w,a.name),l=hkr(a.v),h=hkr(a.w),t.removeEdge(a.v,a.w,a.name),l!==a.v){let f=t.parent(l);Zo.get(f).externalConnections=!0,o.fromCluster=a.v}if(h!==a.w){let f=t.parent(h);Zo.get(f).externalConnections=!0,o.toCluster=a.w}Pe.debug("Fix Replacing with XXX",l,h,a.name),t.setEdge(l,h,o,a.name)}}),ykr(t,0),Pe.trace(Zo)},"adjustClustersAndEdges"),ykr=i((t,r)=>{if(r>10){Pe.error("Bailing out");return}let a=t.nodes(),o=!1;for(let l of a){let h=t.children(l);o=o||h.length>0}if(!o){Pe.debug("Done, no node has children",t.nodes());return}Pe.debug("Nodes = ",a,r);for(let l of a)if(Pe.debug("Extracting node",l,Zo,Zo.has(l)&&!Zo.get(l).externalConnections,!t.parent(l),t.node(l),t.children("D")," Depth ",r),!Zo.has(l))Pe.debug("Not a cluster",l,r);else if(!Zo.get(l).externalConnections&&t.children(l)&&t.children(l).length>0){Pe.debug("Cluster without external connections, without a parent and with children",l,r);let f=t.graph().rankdir==="TB"?"LR":"TB";Zo.get(l)?.clusterData?.dir&&(f=Zo.get(l).clusterData.dir,Pe.debug("Fixing dir",Zo.get(l).clusterData.dir,f));let p=new nh({multigraph:!0,compound:!0}).setGraph({rankdir:f,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});pkr(l,t,p,l),t.setNode(l,{clusterNode:!0,id:l,clusterData:Zo.get(l).clusterData,label:Zo.get(l).label,graph:p})}else Pe.debug("Cluster ** ",l," **not meeting the criteria !externalConnections:",!Zo.get(l).externalConnections," no parent: ",!t.parent(l)," children ",t.children(l)&&t.children(l).length>0,t.children("D"),r),Pe.debug(Zo);a=t.nodes(),Pe.debug("New list of nodes",a);for(let l of a){let h=t.node(l);Pe.debug(" Now next level",l,h),h?.clusterNode&&ykr(h.graph,r+1)}},"extractor"),bkr=i((t,r)=>{if(r.length===0)return[];let a=Object.assign([],r);return r.forEach(o=>{let l=t.children(o),h=bkr(t,l);a=[...a,...h]}),a},"sorter"),jwe=i(t=>bkr(t,t.children()),"sortNodesByHierarchy"),vkr=i((t,r,a)=>{let o=t.parent(r);for(;o&&o!==a;){let l=Zo.get(o);if(l&&!l.externalConnections)return!0;o=t.parent(o)}return!1},"isNodeInExtractableCluster"),Xjn=i((t,r,a)=>{let o=t.children(r)??[];for(let l of o){if(l===a||Gre(l,a))continue;let h=wO(l,t,r);if(h&&!vkr(t,h,r))return h}return null},"findSafeAnchorNode")});function fU({prepareLayout:t,measureLayout:r,runLayoutCore:a,paintLayout:o,afterPaint:l,paintOptions:h}){let f=r??xZe;return i(async function(m,b,v,T){let C=b.select("g");(v?.insertMarkers??$z)(C,m.markers,m.type,m.diagramId),Qjn();let E={element:C,helpers:v,options:T};E.preparedLayout=await t?.(m,E);let S=await f(m,E),R=await a(m,E),L={...E,measure:S};o?await o(m,L,R):await Jjn(m,L,h),await l?.(m,L,R)},"render")}function Qjn(){hbr(),cbr(),ebr(),dkr()}async function xZe(t,{element:r},a){return await ukr(r,t,a)}async function Jjn(t,r,a={}){let{measure:o}=r,{groups:l}=o;for(let f of a.getNodes?.(t,r)??t.nodes)a.skipNode?.(f,r)||await Zjn(l,f,r,a);let h=tzn(t.nodes);for(let f of t.edges)rzn(f,a)||await nzn(l,f,h,t,a,r)}async function Zjn(t,r,a,o){r.clusterNode?ZE(r):ezn(r,a,o)?await FL(t.clusters,r):ZE(r)}function ezn(t,r,a){return t.isGroup===!0&&(a.isCluster?.(t,r)??!0)}function tzn(t){let r=new Map;for(let a of t)a?.id&&r.set(a.id,a);return r}function rzn(t,r){return t.isLayoutOnly||!!r.skipEdge?.(t)}async function nzn(t,r,a,o,l,h){let f=$L(t.edgePaths,{...r},l.clusterDb??new Map,o.type,wkr(r.start,r,a,h,l),wkr(r.end,r,a,h,l),o.diagramId,izn(r,l),o.layoutAlgorithm);P2e(r)&&(sO.has(r.id)||await v4(t.edgeLabels,r),azn(r,f))}function wkr(t,r,a,o,l){return l.getEdgeNode?.(t,r,o)??(t?a.get(t)??{}:{})}function izn(t,r){return typeof r.skipIntersect=="function"?r.skipIntersect(t):r.skipIntersect??!1}function azn(t,r){let a=r?.updatedPath??r?.originalPath,o=ii(),{subGraphTitleTotalMargin:l}=b4({flowchart:o.flowchart??{}});if(t.label){let h=sO.get(t.id),{x:f,y:p}=gJe(t,r);h.attr("transform",`translate(${f}, ${p+l/2})`)}for(let[h,f]of[["startLeft",t.startLabelLeft],["startRight",t.startLabelRight],["endLeft",t.endLabelLeft],["endRight",t.endLabelRight]])if(f){let{x:p,y:m}=ozn(t,h,a);v0.get(t.id)[h].attr("transform",`translate(${p}, ${m})`)}}function ozn(t,r,a){let o=t.terminalLabelCenters?.[r];if(o)return{...o};if(!a)return{x:t.x,y:t.y};let l=r.startsWith("start")?t.arrowTypeStart:t.arrowTypeEnd;return Ya.calcTerminalLabelPosition(l?10:0,szn[r],a)}var szn,zwe=ie(()=>{"use strict";Lz();Qs();Ia();fre();vZe();Oz();Fz();B2e();oO();wZe();i(fU,"createCommonLayoutRenderer");i(Qjn,"clearLayoutRenderState");i(xZe,"defaultMeasureLayout");i(Jjn,"paintLayoutData");i(Zjn,"paintLayoutNode");i(ezn,"shouldPaintAsCluster");i(tzn,"buildNodeLookup");i(rzn,"shouldSkipPaintEdge");i(nzn,"paintLayoutEdge");i(wkr,"getRenderedNode");i(izn,"shouldSkipIntersect");i(azn,"positionRenderedEdgeLabel");szn={startLeft:"start_left",startRight:"start_right",endLeft:"end_left",endRight:"end_right"};i(ozn,"terminalLabelTranslate")});var Tkr=Hv((xkr,TZe)=>{"use strict";(function(t){if(typeof xkr=="object"&&typeof TZe<"u")TZe.exports=t();else if(typeof define=="function"&&define.amd)define([],t);else{var r;typeof window<"u"?r=window:typeof global<"u"?r=global:typeof self<"u"?r=self:r=this,r.ELK=t()}})(function(){var t,r,a;return(function(){function o(l,h,f){function p(v,T){if(!h[v]){if(!l[v]){var C=typeof iee=="function"&&iee;if(!T&&C)return C(v,!0);if(m)return m(v,!0);var E=new Error("Cannot find module '"+v+"'");throw E.code="MODULE_NOT_FOUND",E}var S=h[v]={exports:{}};l[v][0].call(S.exports,function(R){var L=l[v][1][R];return p(L||R)},S,S.exports,o,l,h,f)}return h[v].exports}i(p,"o");for(var m=typeof iee=="function"&&iee,b=0;b0&&arguments[0]!==void 0?arguments[0]:{},E=C.defaultLayoutOptions,S=E===void 0?{}:E,R=C.algorithms,L=R===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:R,_=C.workerFactory,M=C.workerUrl;if(p(this,v),this.defaultLayoutOptions=S,this.initialized=!1,typeof M>"u"&&typeof _>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var I=_;typeof M<"u"&&typeof _>"u"&&(I=i(function(P){return new Worker(P)},"factory"));var F=I(M);if(typeof F.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new b(F),this.worker.postMessage({cmd:"register",algorithms:L}).then(function(O){return T.initialized=!0}).catch(console.err)}return i(v,"ELK"),f(v,[{key:"layout",value:i(function(C){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},S=E.layoutOptions,R=S===void 0?this.defaultLayoutOptions:S,L=E.logging,_=L===void 0?!1:L,M=E.measureExecutionTime,I=M===void 0?!1:M;return C?this.worker.postMessage({cmd:"layout",graph:C,layoutOptions:R,options:{logging:_,measureExecutionTime:I}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))},"layout")},{key:"knownLayoutAlgorithms",value:i(function(){return this.worker.postMessage({cmd:"algorithms"})},"knownLayoutAlgorithms")},{key:"knownLayoutOptions",value:i(function(){return this.worker.postMessage({cmd:"options"})},"knownLayoutOptions")},{key:"knownLayoutCategories",value:i(function(){return this.worker.postMessage({cmd:"categories"})},"knownLayoutCategories")},{key:"terminateWorker",value:i(function(){this.worker&&this.worker.terminate()},"terminateWorker")}]),v})();h.default=m;var b=(function(){function v(T){var C=this;if(p(this,v),T===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=T,this.worker.onmessage=function(E){setTimeout(function(){C.receive(C,E)},0)}}return i(v,"PromisedWorker"),f(v,[{key:"postMessage",value:i(function(C){var E=this.id||0;this.id=E+1,C.id=E;var S=this;return new Promise(function(R,L){S.resolvers[E]=function(_,M){_?(S.convertGwtStyleError(_),L(_)):R(M)},S.worker.postMessage(C)})},"postMessage")},{key:"receive",value:i(function(C,E){var S=E.data,R=C.resolvers[S.id];R&&(delete C.resolvers[S.id],S.error?R(S.error):R(null,S.data))},"receive")},{key:"terminate",value:i(function(){this.worker&&this.worker.terminate()},"terminate")},{key:"convertGwtStyleError",value:i(function(C){if(C){var E=C.__java$exception;E&&(E.cause&&E.cause.backingJsObject&&(C.cause=E.cause.backingJsObject,this.convertGwtStyleError(C.cause)),delete C.__java$exception)}},"convertGwtStyleError")}]),v})()},{}],2:[function(o,l,h){(function(f){(function(){"use strict";var p;typeof window<"u"?p=window:typeof f<"u"?p=f:typeof self<"u"&&(p=self);var m,b,v,T,C;function E(){}i(E,"nb");function S(){}i(S,"xb");function R(){}i(R,"Fd");function L(){}i(L,"hh");function _(){}i(_,"lq");function M(){}i(M,"Nq");function I(){}i(I,"ir");function F(){}i(F,"Ws");function O(){}i(O,"Zw");function P(){}i(P,"jx");function G(){}i(G,"rx");function V(){}i(V,"sx");function Y(){}i(Y,"My");function K(){}i(K,"bA");function J(){}i(J,"mA");function H(){}i(H,"tA");function q(){}i(q,"aB");function Z(){}i(Z,"dB");function Q(){}i(Q,"jB");function W(){}i(W,"dC");function te(){}i(te,"keb");function z(){}i(z,"geb");function re(){}i(re,"oeb");function ae(){}i(ae,"iob");function ce(){}i(ce,"Job");function le(){}i(le,"Rob");function de(){}i(de,"apb");function ve(){}i(ve,"ipb");function Se(){}i(Se,"nrb");function _e(){}i(_e,"wrb");function Ce(){}i(Ce,"Brb");function Ve(){}i(Ve,"Prb");function De(){}i(De,"ltb");function qe(){}i(qe,"svb");function Ue(){}i(Ue,"xvb");function We(){}i(We,"zvb");function mt(){}i(mt,"$xb");function ct(){}i(ct,"Gzb");function Ot(){}i(Ot,"NAb");function yr(){}i(yr,"VAb");function tr(){}i(tr,"rBb");function Xe(){}i(Xe,"RBb");function Rt(){}i(Rt,"TBb");function ft(){}i(ft,"XBb");function bt(){}i(bt,"ZBb");function Me(){}i(Me,"_Bb");function Fe(){}i(Fe,"bCb");function je(){}i(je,"dCb");function He(){}i(He,"fCb");function nt(){}i(nt,"jCb");function ze(){}i(ze,"rCb");function se(){}i(se,"uCb");function ke(){}i(ke,"wCb");function Le(){}i(Le,"yCb");function he(){}i(he,"ACb");function Ne(){}i(Ne,"ECb");function Ee(){}i(Ee,"FEb");function ye(){}i(ye,"IEb");function be(){}i(be,"KEb");function ht(){}i(ht,"MEb");function Je(){}i(Je,"gFb");function it(){}i(it,"FFb");function lt(){}i(lt,"JFb");function Vt(){}i(Vt,"xGb");function $t(){}i($t,"AGb");function gr(){}i(gr,"YGb");function jt(){}i(jt,"oHb");function qt(){}i(qt,"tHb");function Wt(){}i(Wt,"xHb");function Ut(){}i(Ut,"pIb");function rn(){}i(rn,"BJb");function pt(){}i(pt,"kLb");function $n(){}i($n,"mLb");function Gt(){}i(Gt,"oLb");function Rn(){}i(Rn,"qLb");function Qn(){}i(Qn,"FLb");function En(){}i(En,"JLb");function di(){}i(di,"KMb");function Bn(){}i(Bn,"MMb");function mi(){}i(mi,"OMb");function Qr(){}i(Qr,"YMb");function Pi(){}i(Pi,"MNb");function qa(){}i(qa,"ONb");function Ke(){}i(Ke,"aOb");function Tn(){}i(Tn,"eOb");function Ln(){}i(Ln,"xOb");function dt(){}i(dt,"BOb");function rr(){}i(rr,"DOb");function Yr(){}i(Yr,"FOb");function An(){}i(An,"IOb");function Cn(){}i(Cn,"MOb");function es(){}i(es,"POb");function vr(){}i(vr,"UOb");function an(){}i(an,"ZOb");function Dn(){}i(Dn,"cPb");function Ni(){}i(Ni,"gPb");function Gi(){}i(Gi,"nPb");function va(){}i(va,"qPb");function Ua(){}i(Ua,"tPb");function aa(){}i(aa,"wPb");function Yn(){}i(Yn,"CPb");function kn(){}i(kn,"qQb");function ci(){}i(ci,"GQb");function Mi(){}i(Mi,"bRb");function jn(){}i(jn,"gRb");function pa(){}i(pa,"kRb");function wt(){}i(wt,"pRb");function fl(){}i(fl,"wRb");function Pt(){}i(Pt,"xSb");function is(){}i(is,"TSb");function ia(){}i(ia,"VSb");function Wa(){}i(Wa,"XSb");function Ss(){}i(Ss,"ZSb");function Mr(){}i(Mr,"_Sb");function hc(){}i(hc,"tTb");function st(){}i(st,"DTb");function eo(){}i(eo,"FTb");function ut(){}i(ut,"FXb");function dl(){}i(dl,"hXb");function Ii(){}i(Ii,"hWb");function Nt(){}i(Nt,"mWb");function Ur(){}i(Ur,"CVb");function On(){}i(On,"XXb");function La(){}i(La,"$Xb");function la(){}i(la,"bYb");function Na(){}i(Na,"lYb");function Su(){}i(Su,"FYb");function Ch(){}i(Ch,"XYb");function ed(){}i(ed,"aZb");function td(){}i(td,"SZb");function Hh(){}i(Hh,"ZZb");function Jl(){}i(Jl,"Z_b");function k2(){}i(k2,"j_b");function jb(){}i(jb,"j$b");function Vu(){}i(Vu,"b$b");function REe(){}i(REe,"f$b");function lB(){}i(lB,"n$b");function qS(){}i(qS,"K_b");function d_(){}i(d_,"V_b");function ix(){}i(ix,"b0b");function WH(){}i(WH,"l0b");function p_(){}i(p_,"X1b");function g_(){}i(g_,"_1b");function Lm(){}i(Lm,"x3b");function udt(){}i(udt,"r4b");function hdt(){}i(hdt,"w4b");function fdt(){}i(fdt,"A4b");function ddt(){}i(ddt,"E4b");function pdt(){}i(pdt,"I4b");function gdt(){}i(gdt,"M4b");function mdt(){}i(mdt,"o5b");function ydt(){}i(ydt,"q5b");function bdt(){}i(bdt,"w5b");function vdt(){}i(vdt,"A5b");function wdt(){}i(wdt,"E5b");function xdt(){}i(xdt,"h6b");function Tdt(){}i(Tdt,"j6b");function kdt(){}i(kdt,"l6b");function Cdt(){}i(Cdt,"q6b");function Edt(){}i(Edt,"v6b");function Sdt(){}i(Sdt,"y6b");function Adt(){}i(Adt,"G6b");function Rdt(){}i(Rdt,"K6b");function Ldt(){}i(Ldt,"N6b");function Ddt(){}i(Ddt,"P6b");function _dt(){}i(_dt,"R6b");function Mdt(){}i(Mdt,"b7b");function Idt(){}i(Idt,"f7b");function Ndt(){}i(Ndt,"j7b");function Odt(){}i(Odt,"n7b");function Pdt(){}i(Pdt,"C7b");function Bdt(){}i(Bdt,"H7b");function Fdt(){}i(Fdt,"J7b");function $dt(){}i($dt,"L7b");function Gdt(){}i(Gdt,"N7b");function jdt(){}i(jdt,"P7b");function zdt(){}i(zdt,"a8b");function Udt(){}i(Udt,"c8b");function Vdt(){}i(Vdt,"e8b");function Hdt(){}i(Hdt,"g8b");function qdt(){}i(qdt,"i8b");function Wdt(){}i(Wdt,"m8b");function Ydt(){}i(Ydt,"Z8b");function Kdt(){}i(Kdt,"f9b");function Xdt(){}i(Xdt,"i9b");function Qdt(){}i(Qdt,"o9b");function Jdt(){}i(Jdt,"C9b");function Zdt(){}i(Zdt,"F9b");function ept(){}i(ept,"K9b");function tpt(){}i(tpt,"Q9b");function rpt(){}i(rpt,"aac");function npt(){}i(npt,"bac");function ipt(){}i(ipt,"eac");function apt(){}i(apt,"mac");function spt(){}i(spt,"pac");function opt(){}i(opt,"rac");function lpt(){}i(lpt,"tac");function cpt(){}i(cpt,"xac");function upt(){}i(upt,"Aac");function hpt(){}i(hpt,"Dac");function fpt(){}i(fpt,"Iac");function dpt(){}i(dpt,"Oac");function ppt(){}i(ppt,"Uac");function gpt(){}i(gpt,"Ucc");function mpt(){}i(mpt,"scc");function ypt(){}i(ypt,"ycc");function bpt(){}i(bpt,"Acc");function vpt(){}i(vpt,"Ccc");function wpt(){}i(wpt,"Ncc");function xpt(){}i(xpt,"Wcc");function Tpt(){}i(Tpt,"ydc");function kpt(){}i(kpt,"Adc");function Cpt(){}i(Cpt,"Gdc");function Ept(){}i(Ept,"Ldc");function Spt(){}i(Spt,"Zdc");function Apt(){}i(Apt,"fec");function Rpt(){}i(Rpt,"Dec");function Lpt(){}i(Lpt,"Gec");function Dpt(){}i(Dpt,"Kec");function _pt(){}i(_pt,"efc");function Mpt(){}i(Mpt,"jfc");function Ipt(){}i(Ipt,"nfc");function Npt(){}i(Npt,"Bfc");function Opt(){}i(Opt,"Ifc");function Ppt(){}i(Ppt,"Lfc");function Bpt(){}i(Bpt,"Rfc");function Fpt(){}i(Fpt,"Ufc");function $pt(){}i($pt,"Zfc");function Gpt(){}i(Gpt,"cgc");function jpt(){}i(jpt,"egc");function zpt(){}i(zpt,"ggc");function Upt(){}i(Upt,"igc");function Vpt(){}i(Vpt,"kgc");function Hpt(){}i(Hpt,"Dgc");function qpt(){}i(qpt,"Hgc");function Wpt(){}i(Wpt,"Lgc");function Ypt(){}i(Ypt,"Ngc");function Kpt(){}i(Kpt,"Pgc");function Xpt(){}i(Xpt,"Vgc");function Qpt(){}i(Qpt,"Ygc");function Jpt(){}i(Jpt,"chc");function Zpt(){}i(Zpt,"ehc");function egt(){}i(egt,"ghc");function tgt(){}i(tgt,"ihc");function LEe(){}i(LEe,"mhc");function rgt(){}i(rgt,"rhc");function ngt(){}i(ngt,"uhc");function igt(){}i(igt,"whc");function agt(){}i(agt,"yhc");function sgt(){}i(sgt,"Ahc");function ogt(){}i(ogt,"Chc");function lgt(){}i(lgt,"Ghc");function cgt(){}i(cgt,"Nhc");function ugt(){}i(ugt,"Phc");function hgt(){}i(hgt,"Rhc");function fgt(){}i(fgt,"Thc");function dgt(){}i(dgt,"$hc");function pgt(){}i(pgt,"aic");function ggt(){}i(ggt,"cic");function mgt(){}i(mgt,"eic");function ygt(){}i(ygt,"jic");function bgt(){}i(bgt,"nic");function vgt(){}i(vgt,"pic");function wgt(){}i(wgt,"ric");function xgt(){}i(xgt,"vic");function Tgt(){}i(Tgt,"yic");function kgt(){}i(kgt,"Dic");function Cgt(){}i(Cgt,"Ric");function Egt(){}i(Egt,"Zic");function Sgt(){}i(Sgt,"bjc");function Agt(){}i(Agt,"djc");function Rgt(){}i(Rgt,"jjc");function Lgt(){}i(Lgt,"njc");function Dgt(){}i(Dgt,"rjc");function _gt(){}i(_gt,"tjc");function Mgt(){}i(Mgt,"zjc");function Igt(){}i(Igt,"Djc");function Ngt(){}i(Ngt,"Fjc");function Ogt(){}i(Ogt,"Ljc");function Pgt(){}i(Pgt,"Pjc");function Bgt(){}i(Bgt,"Rjc");function Fgt(){}i(Fgt,"fkc");function $gt(){}i($gt,"Kkc");function Ggt(){}i(Ggt,"Mkc");function jgt(){}i(jgt,"Okc");function zgt(){}i(zgt,"Qkc");function Ugt(){}i(Ugt,"Skc");function Vgt(){}i(Vgt,"Ukc");function Hgt(){}i(Hgt,"Wkc");function qgt(){}i(qgt,"clc");function Wgt(){}i(Wgt,"elc");function Ygt(){}i(Ygt,"klc");function Kgt(){}i(Kgt,"mlc");function Xgt(){}i(Xgt,"olc");function Qgt(){}i(Qgt,"qlc");function Jgt(){}i(Jgt,"wlc");function Zgt(){}i(Zgt,"ylc");function e0t(){}i(e0t,"Alc");function t0t(){}i(t0t,"Jlc");function r0t(){}i(r0t,"Joc");function n0t(){}i(n0t,"poc");function i0t(){}i(i0t,"roc");function a0t(){}i(a0t,"toc");function s0t(){}i(s0t,"voc");function o0t(){}i(o0t,"Boc");function l0t(){}i(l0t,"Foc");function c0t(){}i(c0t,"Hoc");function u0t(){}i(u0t,"Loc");function h0t(){}i(h0t,"Noc");function f0t(){}i(f0t,"Poc");function d0t(){}i(d0t,"qnc");function p0t(){}i(p0t,"unc");function g0t(){}i(g0t,"upc");function m0t(){}i(m0t,"kpc");function y0t(){}i(y0t,"mpc");function b0t(){}i(b0t,"opc");function v0t(){}i(v0t,"qpc");function w0t(){}i(w0t,"ypc");function DEe(){}i(DEe,"Cpc");function x0t(){}i(x0t,"Mpc");function T0t(){}i(T0t,"Qpc");function k0t(){}i(k0t,"dqc");function C0t(){}i(C0t,"jqc");function E0t(){}i(E0t,"Aqc");function S0t(){}i(S0t,"Eqc");function A0t(){}i(A0t,"Gqc");function R0t(){}i(R0t,"Sqc");function L0t(){}i(L0t,"arc");function D0t(){}i(D0t,"lrc");function _Ee(){}i(_Ee,"zrc");function _0t(){}i(_0t,"Hrc");function M0t(){}i(M0t,"bsc");function I0t(){}i(I0t,"dsc");function N0t(){}i(N0t,"fsc");function O0t(){}i(O0t,"ksc");function P0t(){}i(P0t,"msc");function MEe(){}i(MEe,"Asc");function IEe(){}i(IEe,"Csc");function B0t(){}i(B0t,"Esc");function NEe(){}i(NEe,"Ksc");function OEe(){}i(OEe,"Nsc");function F0t(){}i(F0t,"Ssc");function $0t(){}i($0t,"CCc");function G0t(){}i(G0t,"tGc");function j0t(){}i(j0t,"aHc");function z0t(){}i(z0t,"gHc");function U0t(){}i(U0t,"nIc");function V0t(){}i(V0t,"PJc");function H0t(){}i(H0t,"XKc");function q0t(){}i(q0t,"fLc");function W0t(){}i(W0t,"hLc");function Y0t(){}i(Y0t,"lLc");function PEe(){}i(PEe,"eNc");function K0t(){}i(K0t,"IOc");function X0t(){}i(X0t,"MOc");function Q0t(){}i(Q0t,"WOc");function J0t(){}i(J0t,"YOc");function Z0t(){}i(Z0t,"$Oc");function emt(){}i(emt,"cPc");function tmt(){}i(tmt,"iPc");function rmt(){}i(rmt,"mPc");function nmt(){}i(nmt,"oPc");function imt(){}i(imt,"qPc");function amt(){}i(amt,"sPc");function smt(){}i(smt,"wPc");function omt(){}i(omt,"APc");function lmt(){}i(lmt,"FPc");function cmt(){}i(cmt,"HPc");function umt(){}i(umt,"NPc");function hmt(){}i(hmt,"PPc");function fmt(){}i(fmt,"TPc");function dmt(){}i(dmt,"VPc");function pmt(){}i(pmt,"ZPc");function gmt(){}i(gmt,"_Pc");function mmt(){}i(mmt,"bQc");function ymt(){}i(ymt,"dQc");function bmt(){}i(bmt,"SQc");function vmt(){}i(vmt,"hRc");function wmt(){}i(wmt,"HRc");function xmt(){}i(xmt,"HSc");function Tmt(){}i(Tmt,"pSc");function kmt(){}i(kmt,"xSc");function Cmt(){}i(Cmt,"zSc");function Emt(){}i(Emt,"BSc");function Smt(){}i(Smt,"DSc");function Amt(){}i(Amt,"FSc");function Rmt(){}i(Rmt,"CTc");function Lmt(){}i(Lmt,"ITc");function Dmt(){}i(Dmt,"KTc");function _mt(){}i(_mt,"MTc");function Mmt(){}i(Mmt,"XTc");function Imt(){}i(Imt,"ZTc");function Nmt(){}i(Nmt,"jVc");function Omt(){}i(Omt,"lVc");function Pmt(){}i(Pmt,"zVc");function Bmt(){}i(Bmt,"IVc");function Fmt(){}i(Fmt,"KVc");function $mt(){}i($mt,"KWc");function Gmt(){}i(Gmt,"uWc");function jmt(){}i(jmt,"xWc");function zmt(){}i(zmt,"AWc");function Umt(){}i(Umt,"QWc");function Vmt(){}i(Vmt,"UWc");function Hmt(){}i(Hmt,"qXc");function qmt(){}i(qmt,"KXc");function Wmt(){}i(Wmt,"OXc");function Ymt(){}i(Ymt,"SXc");function Kmt(){}i(Kmt,"$Xc");function Xmt(){}i(Xmt,"mYc");function Qmt(){}i(Qmt,"rYc");function Jmt(){}i(Jmt,"zYc");function Zmt(){}i(Zmt,"DYc");function e1t(){}i(e1t,"FYc");function t1t(){}i(t1t,"HYc");function r1t(){}i(r1t,"JYc");function n1t(){}i(n1t,"cZc");function i1t(){}i(i1t,"gZc");function a1t(){}i(a1t,"iZc");function s1t(){}i(s1t,"pZc");function o1t(){}i(o1t,"tZc");function l1t(){}i(l1t,"vZc");function c1t(){}i(c1t,"AZc");function u1t(){}i(u1t,"GZc");function h1t(){}i(h1t,"l_c");function f1t(){}i(f1t,"l1c");function d1t(){}i(d1t,"b1c");function p1t(){}i(p1t,"d1c");function g1t(){}i(g1t,"h1c");function m1t(){}i(m1t,"n1c");function y1t(){}i(y1t,"r1c");function b1t(){}i(b1t,"v1c");function v1t(){}i(v1t,"x1c");function w1t(){}i(w1t,"D1c");function x1t(){}i(x1t,"H1c");function T1t(){}i(T1t,"L1c");function k1t(){}i(k1t,"R1c");function C1t(){}i(C1t,"V1c");function E1t(){}i(E1t,"Z1c");function S1t(){}i(S1t,"Z0c");function A1t(){}i(A1t,"a0c");function R1t(){}i(R1t,"c0c");function L1t(){}i(L1t,"e0c");function D1t(){}i(D1t,"k0c");function _1t(){}i(_1t,"o0c");function M1t(){}i(M1t,"b2c");function I1t(){}i(I1t,"l2c");function N1t(){}i(N1t,"p2c");function O1t(){}i(O1t,"Y2c");function P1t(){}i(P1t,"_2c");function B1t(){}i(B1t,"A3c");function F1t(){}i(F1t,"F3c");function $1t(){}i($1t,"I3c");function G1t(){}i(G1t,"K3c");function j1t(){}i(j1t,"M3c");function z1t(){}i(z1t,"Q3c");function U1t(){}i(U1t,"U3c");function V1t(){}i(V1t,"c5c");function H1t(){}i(H1t,"D5c");function q1t(){}i(q1t,"G5c");function W1t(){}i(W1t,"J5c");function Y1t(){}i(Y1t,"N5c");function K1t(){}i(K1t,"V5c");function X1t(){}i(X1t,"p6c");function Q1t(){}i(Q1t,"s6c");function J1t(){}i(J1t,"H6c");function Z1t(){}i(Z1t,"K6c");function eyt(){}i(eyt,"_7c");function mse(){}i(mse,"h8c");function yse(){}i(yse,"j8c");function tyt(){}i(tyt,"o8c");function bse(){}i(bse,"r8c");function ryt(){}i(ryt,"u8c");function nyt(){}i(nyt,"R8c");function iyt(){}i(iyt,"X8c");function ayt(){}i(ayt,"o9c");function syt(){}i(syt,"s9c");function oyt(){}i(oyt,"x9c");function lyt(){}i(lyt,"Qad");function cyt(){}i(cyt,"rcd");function uyt(){}i(uyt,"Xcd");function hyt(){}i(hyt,"vdd");function BEe(){}i(BEe,"Tdd");function fyt(){}i(fyt,"_dd");function dyt(){}i(dyt,"qed");function pyt(){}i(pyt,"sed");function gyt(){}i(gyt,"ved");function myt(){}i(myt,"Hed");function yyt(){}i(yyt,"Zed");function byt(){}i(byt,"bfd");function vyt(){}i(vyt,"ifd");function wyt(){}i(wyt,"Gfd");function xyt(){}i(xyt,"Ifd");function Tyt(){}i(Tyt,"Igd");function C2(){}i(C2,"agd");function kyt(){}i(kyt,"dgd");function WS(){}i(WS,"pgd");function FEe(){}i(FEe,"Hgd");function Cyt(){}i(Cyt,"Kgd");function Eyt(){}i(Eyt,"Mgd");function Syt(){}i(Syt,"Ogd");function Ayt(){}i(Ayt,"Qgd");function Ryt(){}i(Ryt,"Sgd");function Lyt(){}i(Lyt,"Ugd");function Dyt(){}i(Dyt,"Wgd");function _yt(){}i(_yt,"Ygd");function Myt(){}i(Myt,"$gd");function Iyt(){}i(Iyt,"ahd");function Nyt(){}i(Nyt,"chd");function Oyt(){}i(Oyt,"ehd");function Pyt(){}i(Pyt,"ghd");function Byt(){}i(Byt,"ihd");function Fyt(){}i(Fyt,"khd");function $yt(){}i($yt,"mhd");function Gyt(){}i(Gyt,"ohd");function jyt(){}i(jyt,"qhd");function zyt(){}i(zyt,"shd");function nr(){}i(nr,"Shd");function Uyt(){}i(Uyt,"lkd");function Vyt(){}i(Vyt,"znd");function Hyt(){}i(Hyt,"Jpd");function qyt(){}i(qyt,"jrd");function Wyt(){}i(Wyt,"Mrd");function Yyt(){}i(Yyt,"Qrd");function Kyt(){}i(Kyt,"Urd");function Xyt(){}i(Xyt,"Yrd");function Qyt(){}i(Qyt,"Yud");function Jyt(){}i(Jyt,"eud");function Zyt(){}i(Zyt,"asd");function ebt(){}i(ebt,"Lsd");function tbt(){}i(tbt,"btd");function vse(){}i(vse,"dtd");function rbt(){}i(rbt,"jtd");function nbt(){}i(nbt,"otd");function ibt(){}i(ibt,"ztd");function YH(){}i(YH,"Xxd");function abt(){}i(abt,"$yd");function wse(){}i(wse,"rzd");function KH(){}i(KH,"Rzd");function sbt(){}i(sbt,"KAd");function $Ee(){}i($Ee,"hCd");function obt(){}i(obt,"_Cd");function lbt(){}i(lbt,"_Sd");function cbt(){}i(cbt,"OSd");function ubt(){}i(ubt,"BDd");function hbt(){}i(hbt,"BId");function fbt(){}i(fbt,"JId");function XH(){}i(XH,"YHd");function dbt(){}i(dbt,"fLd");function pbt(){}i(pbt,"cPd");function QH(){}i(QH,"hQd");function gbt(){}i(gbt,"AQd");function JH(){}i(JH,"kUd");function mbt(){}i(mbt,"VUd");function GEe(){}i(GEe,"pVd");function ybt(){}i(ybt,"W$d");function xse(){}i(xse,"Z$d");function jEe(){}i(jEe,"a_d");function bbt(){}i(bbt,"i_d");function vbt(){}i(vbt,"v_d");function wbt(){}i(wbt,"y_d");function xbt(){}i(xbt,"f1d");function Tbt(){}i(Tbt,"L5d");function kbt(){}i(kbt,"v6d");function Cbt(){}i(Cbt,"b8d");function Ebt(){}i(Ebt,"e8d");function Sbt(){}i(Sbt,"h8d");function Abt(){}i(Abt,"k8d");function Rbt(){}i(Rbt,"n8d");function Lbt(){}i(Lbt,"q8d");function Dbt(){}i(Dbt,"t8d");function _bt(){}i(_bt,"w8d");function Mbt(){}i(Mbt,"z8d");function a8(){}i(a8,"X9d");function Tse(){}i(Tse,"_9d");function Ibt(){}i(Ibt,"Mae");function Nbt(){}i(Nbt,"cbe");function Obt(){}i(Obt,"ebe");function Pbt(){}i(Pbt,"hbe");function Bbt(){}i(Bbt,"kbe");function Fbt(){}i(Fbt,"nbe");function $bt(){}i($bt,"qbe");function Gbt(){}i(Gbt,"tbe");function jbt(){}i(jbt,"wbe");function zbt(){}i(zbt,"zbe");function Ubt(){}i(Ubt,"Cbe");function Vbt(){}i(Vbt,"Fbe");function Hbt(){}i(Hbt,"Ibe");function qbt(){}i(qbt,"Lbe");function Wbt(){}i(Wbt,"Obe");function Ybt(){}i(Ybt,"Rbe");function Kbt(){}i(Kbt,"Ube");function Xbt(){}i(Xbt,"Xbe");function Qbt(){}i(Qbt,"$be");function Jbt(){}i(Jbt,"bce");function Zbt(){}i(Zbt,"ece");function evt(){}i(evt,"hce");function tvt(){}i(tvt,"kce");function rvt(){}i(rvt,"nce");function nvt(){}i(nvt,"qce");function ivt(){}i(ivt,"tce");function avt(){}i(avt,"wce");function svt(){}i(svt,"zce");function ovt(){}i(ovt,"Cce");function lvt(){}i(lvt,"Fce");function cvt(){}i(cvt,"Ice");function uvt(){}i(uvt,"Lce");function hvt(){}i(hvt,"Oce");function fvt(){}i(fvt,"Rce");function dvt(){}i(dvt,"Uce");function pvt(){}i(pvt,"Xce");function gvt(){}i(gvt,"$ce");function mvt(){}i(mvt,"bde");function yvt(){}i(yvt,"ede");function bvt(){}i(bvt,"hde");function vvt(){}i(vvt,"kde");function wvt(){}i(wvt,"nde");function xvt(){}i(xvt,"qde");function Tvt(){}i(Tvt,"tde");function kvt(){}i(kvt,"wde");function Cvt(){}i(Cvt,"Hie");function Evt(){}i(Evt,"rke");function Svt(){}i(Svt,"rne");function Avt(){}i(Avt,"Ene");function Rvt(){}i(Rvt,"Gne");function Lvt(){}i(Lvt,"Jne");function Dvt(){}i(Dvt,"Mne");function _vt(){}i(_vt,"Pne");function Mvt(){}i(Mvt,"Sne");function Ivt(){}i(Ivt,"Vne");function Nvt(){}i(Nvt,"Yne");function Ovt(){}i(Ovt,"_ne");function Pvt(){}i(Pvt,"yme");function Bvt(){}i(Bvt,"coe");function Fvt(){}i(Fvt,"foe");function $vt(){}i($vt,"ioe");function Gvt(){}i(Gvt,"loe");function jvt(){}i(jvt,"ooe");function zvt(){}i(zvt,"roe");function Uvt(){}i(Uvt,"uoe");function Vvt(){}i(Vvt,"xoe");function Hvt(){}i(Hvt,"Aoe");function qvt(){}i(qvt,"Doe");function Wvt(){}i(Wvt,"Goe");function Yvt(){}i(Yvt,"Joe");function Kvt(){}i(Kvt,"Moe");function Xvt(){}i(Xvt,"Poe");function Qvt(){}i(Qvt,"Soe");function Jvt(){}i(Jvt,"Voe");function Zvt(){}i(Zvt,"Yoe");function e2t(){}i(e2t,"_oe");function t2t(){}i(t2t,"cpe");function r2t(){}i(r2t,"fpe");function n2t(){}i(n2t,"ipe");function i2t(){}i(i2t,"lpe");function a2t(){}i(a2t,"ope");function s2t(){}i(s2t,"rpe");function o2t(){}i(o2t,"upe");function l2t(){}i(l2t,"xpe");function c2t(){}i(c2t,"Ape");function u2t(){}i(u2t,"Dpe");function h2t(){}i(h2t,"Gpe");function f2t(){}i(f2t,"Jpe");function d2t(){}i(d2t,"Mpe");function p2t(){}i(p2t,"Ppe");function g2t(){}i(g2t,"Spe");function m2t(){}i(m2t,"Vpe");function y2t(){}i(y2t,"Ype");function b2t(){}i(b2t,"_pe");function v2t(){}i(v2t,"cqe");function w2t(){}i(w2t,"fqe");function x2t(){}i(x2t,"iqe");function T2t(){}i(T2t,"lqe");function k2t(){}i(k2t,"oqe");function C2t(){}i(C2t,"rqe");function E2t(){}i(E2t,"uqe");function zEe(){}i(zEe,"Tqe");function S2t(){}i(S2t,"sue");function A2t(){}i(A2t,"Cue");function T2i(e){}i(T2i,"A2b");function k2i(e){}i(k2i,"J3d");function kse(){C_()}i(kse,"zl");function R2t(){kB()}i(R2t,"z7b");function L2t(){$K()}i(L2t,"ZHb");function D2t(){Lue()}i(D2t,"fSb");function _2t(){KM()}i(_2t,"vSb");function M2t(){XDe()}i(M2t,"PUb");function I2t(){Fp()}i(I2t,"AVb");function N2t(){sDe()}i(N2t,"RVb");function O2t(){c$()}i(O2t,"fWb");function P2t(){CB()}i(P2t,"N5b");function B2t(){JB()}i(B2t,"$9b");function F2t(){uEt()}i(F2t,"Lcc");function $2t(){I5()}i($2t,"pdc");function G2t(){FDt()}i(G2t,"pec");function j2t(){aRe()}i(j2t,"pGc");function z2t(){SRt()}i(z2t,"jGc");function U2t(){sRe()}i(U2t,"YGc");function V2t(){g_t()}i(V2t,"cGc");function H2t(){ERt()}i(H2t,"NFc");function q2t(){g7()}i(q2t,"xgc");function W2t(){JMt()}i(W2t,"xHc");function Y2t(){QMt()}i(Y2t,"pHc");function K2t(){xLt()}i(K2t,"IHc");function X2t(){ZMt()}i(X2t,"XHc");function Q2t(){fv()}i(Q2t,"boc");function J2t(){Sq()}i(J2t,"yqc");function Z2t(){KMe()}i(Z2t,"Pzc");function ewt(){Ht()}i(ewt,"ACc");function twt(){e9t()}i(twt,"aKc");function rwt(){A9t()}i(rwt,"FLc");function nwt(){ARt()}i(nwt,"DNc");function iwt(){JOt()}i(iwt,"TNc");function awt(){RRt()}i(awt,"iQc");function swt(){fGt()}i(swt,"WRc");function owt(){A_e()}i(owt,"C$c");function lwt(){I1()}i(lwt,"J0c");function cwt(){dNt()}i(cwt,"x0c");function uwt(){pc()}i(uwt,"j_c");function hwt(){BRt()}i(hwt,"N_c");function fwt(){M5()}i(fwt,"V_c");function dwt(){cMe()}i(dwt,"E4c");function pwt(){dv()}i(pwt,"a5c");function gwt(){uMe()}i(gwt,"v7c");function mwt(){Kg()}i(mwt,"Z7c");function ywt(){p$()}i(ywt,"pcd");function bwt(){tfe()}i(bwt,"Lcd");function vwt(){uhe()}i(vwt,"Vcd");function ag(){dAt()}i(ag,"fUd");function wwt(){EY()}i(wwt,"Bfd");function xwt(){HK()}i(xwt,"jkd");function UEe(){_i()}i(UEe,"vmd");function Twt(){oK()}i(Twt,"xnd");function kwt(){PLe()}i(kwt,"Hpd");function VEe(){uue()}i(VEe,"HYd");function HEe(){dX()}i(HEe,"yAd");function Cwt(){xMe()}i(Cwt,"gke");function qEe(e){ln(e)}i(qEe,"Yxb");function Ewt(e){this.a=e}i(Ewt,"Yb");function ZH(e){this.a=e}i(ZH,"cc");function Swt(e){this.a=e}i(Swt,"df");function Awt(e){this.a=e}i(Awt,"kf");function Rwt(e){this.a=e}i(Rwt,"kj");function Lwt(e){this.a=e}i(Lwt,"qj");function Dwt(e){this.a=e}i(Dwt,"Lj");function _wt(e){this.a=e}i(_wt,"jh");function WEe(e){this.a=e}i(WEe,"th");function YEe(e){this.a=e}i(YEe,"Bh");function Mwt(e){this.a=e}i(Mwt,"Xh");function Iwt(e){this.a=e}i(Iwt,"Xn");function Cse(e){this.a=e}i(Cse,"Di");function Nwt(e){this.a=e}i(Nwt,"Ki");function Owt(e){this.a=e}i(Owt,"Ik");function Ese(e){this.a=e}i(Ese,"Qk");function Sse(e){this.a=e}i(Sse,"mp");function Pwt(e){this.a=e}i(Pwt,"Lp");function Ase(e){this.a=e}i(Ase,"iq");function Bwt(e){this.a=e}i(Bwt,"Eq");function Fwt(e){this.a=e}i(Fwt,"Vq");function $wt(e){this.a=e}i($wt,"Or");function KEe(e){this.b=e}i(KEe,"$r");function Gwt(e){this.c=e}i(Gwt,"Aj");function jwt(e){this.a=e}i(jwt,"vu");function zwt(e){this.a=e}i(zwt,"vw");function Uwt(e){this.a=e}i(Uwt,"gw");function Vwt(e){this.a=e}i(Vwt,"lw");function Hwt(e){this.a=e}i(Hwt,"Iw");function qwt(e){this.a=e}i(qwt,"Nw");function Wwt(e){this.a=e}i(Wwt,"Sw");function Ywt(e){this.a=e}i(Ywt,"ex");function Kwt(e){this.a=e}i(Kwt,"fx");function Xwt(e){this.a=e}i(Xwt,"lx");function Qwt(e){this.a=e}i(Qwt,"my");function Jwt(e){this.a=e}i(Jwt,"qy");function Zwt(e){this.a=e}i(Zwt,"Oy");function XEe(e){this.a=e}i(XEe,"NB");function QEe(e){this.a=e}i(QEe,"XB");function eq(e){this.a=e}i(eq,"hC");function cB(e){this.a=e}i(cB,"vC");function E2(){this.a=[]}i(E2,"MB");function ext(e,n){e.a=n}i(ext,"HEb");function lKr(e,n){e.a=n}i(lKr,"E2b");function cKr(e,n){e.b=n}i(cKr,"F2b");function uKr(e,n){e.b=n}i(uKr,"PRb");function hKr(e,n){e.b=n}i(hKr,"RRb");function JEe(e,n){e.j=n}i(JEe,"QJb");function fKr(e,n){e.g=n}i(fKr,"hQb");function dKr(e,n){e.i=n}i(dKr,"iQb");function pKr(e,n){e.c=n}i(pKr,"_Tb");function gKr(e,n){e.c=n}i(gKr,"G2b");function mKr(e,n){e.d=n}i(mKr,"H2b");function yKr(e,n){e.d=n}i(yKr,"aUb");function S2(e,n){e.k=n}i(S2,"h3b");function bKr(e,n){e.c=n}i(bKr,"O3b");function ZEe(e,n){e.c=n}i(ZEe,"Tmc");function eSe(e,n){e.a=n}i(eSe,"Smc");function vKr(e,n){e.a=n}i(vKr,"DJc");function wKr(e,n){e.f=n}i(wKr,"EJc");function xKr(e,n){e.a=n}i(xKr,"NSc");function TKr(e,n){e.b=n}i(TKr,"OSc");function Rse(e,n){e.d=n}i(Rse,"PSc");function tq(e,n){e.i=n}i(tq,"QSc");function tSe(e,n){e.o=n}i(tSe,"RSc");function kKr(e,n){e.r=n}i(kKr,"SSc");function CKr(e,n){e.a=n}i(CKr,"yUc");function EKr(e,n){e.b=n}i(EKr,"zUc");function txt(e,n){e.e=n}i(txt,"q3c");function SKr(e,n){e.f=n}i(SKr,"r3c");function rSe(e,n){e.g=n}i(rSe,"s3c");function AKr(e,n){e.e=n}i(AKr,"Y9c");function RKr(e,n){e.f=n}i(RKr,"Z9c");function LKr(e,n){e.f=n}i(LKr,"kad");function Lse(e,n){e.a=n}i(Lse,"Ntd");function Dse(e,n){e.b=n}i(Dse,"Otd");function DKr(e,n){e.n=n}i(DKr,"BWd");function _Kr(e,n){e.a=n}i(_Kr,"$ee");function MKr(e,n){e.c=n}i(MKr,"_ee");function IKr(e,n){e.c=n}i(IKr,"ife");function NKr(e,n){e.c=n}i(NKr,"Efe");function OKr(e,n){e.a=n}i(OKr,"hfe");function PKr(e,n){e.a=n}i(PKr,"Dfe");function BKr(e,n){e.d=n}i(BKr,"jfe");function FKr(e,n){e.d=n}i(FKr,"Ffe");function $Kr(e,n){e.e=n}i($Kr,"kfe");function GKr(e,n){e.e=n}i(GKr,"Gfe");function jKr(e,n){e.g=n}i(jKr,"lfe");function zKr(e,n){e.f=n}i(zKr,"Hfe");function UKr(e,n){e.j=n}i(UKr,"Ife");function VKr(e,n){e.a=n}i(VKr,"wme");function HKr(e,n){e.a=n}i(HKr,"Fme");function qKr(e,n){e.b=n}i(qKr,"xme");function rxt(e){e.b=e.a}i(rxt,"gmc");function nxt(e){e.c=e.d.d}i(nxt,"Lg");function nSe(e){this.a=e}i(nSe,"fgb");function iSe(e){this.a=e}i(iSe,"zgb");function aSe(e){this.a=e}i(aSe,"Xgb");function A2(e){this.a=e}i(A2,"Xkb");function R2(e){this.a=e}i(R2,"mkb");function uB(e){this.a=e}i(uB,"reb");function ixt(e){this.a=e}i(ixt,"Seb");function sSe(e){this.a=e}i(sSe,"bfb");function hB(e){this.a=e}i(hB,"Tfb");function rq(e){this.a=e}i(rq,"blb");function w1(e){this.a=e}i(w1,"glb");function vk(e){this.a=e}i(vk,"llb");function axt(e){this.a=e}i(axt,"Ulb");function sxt(e){this.a=e}i(sxt,"_lb");function _se(e){this.b=e}i(_se,"Plb");function s8(e){this.b=e}i(s8,"Ppb");function o8(e){this.b=e}i(o8,"xpb");function Mse(e){this.a=e}i(Mse,"mpb");function oxt(e){this.a=e}i(oxt,"Yqb");function Ise(e){this.c=e}i(Ise,"uqb");function ge(e){this.c=e}i(ge,"Anb");function lxt(e){this.c=e}i(lxt,"zwb");function m_(e){this.d=e}i(m_,"Dkb");function oSe(e){this.a=e}i(oSe,"brb");function si(e){this.a=e}i(si,"Frb");function cxt(e){this.a=e}i(cxt,"hsb");function lSe(e){this.a=e}i(lSe,"ctb");function cSe(e){this.a=e}i(cSe,"cxb");function uSe(e){this.a=e}i(uSe,"axb");function hSe(e){this.a=e}i(hSe,"exb");function fSe(e){this.a=e}i(fSe,"gxb");function dSe(e){this.a=e}i(dSe,"wub");function l8(e){this.a=e}i(l8,"zAb");function uxt(e){this.a=e}i(uxt,"JAb");function hxt(e){this.a=e}i(hxt,"LAb");function c8(e){this.a=e}i(c8,"PAb");function fxt(e){this.a=e}i(fxt,"VBb");function dxt(e){this.a=e}i(dxt,"lCb");function pxt(e){this.a=e}i(pxt,"nCb");function gxt(e){this.a=e}i(gxt,"pCb");function mxt(e){this.a=e}i(mxt,"CCb");function yxt(e){this.a=e}i(yxt,"GCb");function bxt(e){this.a=e}i(bxt,"bDb");function vxt(e){this.a=e}i(vxt,"dDb");function wxt(e){this.a=e}i(wxt,"fDb");function xxt(e){this.a=e}i(xxt,"uDb");function Txt(e){this.a=e}i(Txt,"$Db");function kxt(e){this.a=e}i(kxt,"aEb");function Cxt(e){this.a=e}i(Cxt,"eEb");function Ext(e){this.a=e}i(Ext,"OEb");function Sxt(e){this.a=e}i(Sxt,"SEb");function y_(e){this.a=e}i(y_,"SFb");function Axt(e){this.a=e}i(Axt,"HFb");function Rxt(e){this.a=e}i(Rxt,"NFb");function Lxt(e){this.a=e}i(Lxt,"WGb");function Dxt(e){this.a=e}i(Dxt,"HJb");function nq(e){this.a=e}i(nq,"PJb");function _xt(e){this.a=e}i(_xt,"kNb");function Mxt(e){this.a=e}i(Mxt,"tOb");function u8(e){this.a=e}i(u8,"APb");function pSe(e){this.a=e}i(pSe,"IQb");function Ixt(e){this.a=e}i(Ixt,"bTb");function Nxt(e){this.a=e}i(Nxt,"dTb");function Oxt(e){this.a=e}i(Oxt,"wTb");function Pxt(e){this.a=e}i(Pxt,"GWb");function Bxt(e){this.a=e}i(Bxt,"UWb");function Fxt(e){this.a=e}i(Fxt,"WWb");function gSe(e){this.a=e}i(gSe,"fXb");function mSe(e){this.a=e}i(mSe,"jXb");function ySe(e){this.a=e}i(ySe,"M0b");function b_(e){this.a=e}i(b_,"r1b");function iq(e){this.e=e}i(iq,"D1b");function h8(e){this.a=e}i(h8,"T3b");function $xt(e){this.a=e}i($xt,"W3b");function YS(e){this.a=e}i(YS,"_3b");function bSe(e){this.a=e}i(bSe,"c4b");function Gxt(e){this.a=e}i(Gxt,"s5b");function jxt(e){this.a=e}i(jxt,"u5b");function zxt(e){this.a=e}i(zxt,"y5b");function Uxt(e){this.a=e}i(Uxt,"C5b");function Vxt(e){this.a=e}i(Vxt,"Q5b");function Hxt(e){this.a=e}i(Hxt,"S5b");function qxt(e){this.a=e}i(qxt,"U5b");function Wxt(e){this.a=e}i(Wxt,"W5b");function Yxt(e){this.a=e}i(Yxt,"l7b");function Kxt(e){this.a=e}i(Kxt,"p7b");function Xxt(e){this.a=e}i(Xxt,"k8b");function vSe(e){this.a=e}i(vSe,"L8b");function Qxt(e){this.a=e}i(Qxt,"Rac");function Jxt(e){this.a=e}i(Jxt,"Xac");function Zxt(e){this.a=e}i(Zxt,"$ac");function eTt(e){this.a=e}i(eTt,"bbc");function tTt(e){this.a=e}i(tTt,"Cdc");function rTt(e){this.a=e}i(rTt,"Edc");function nTt(e){this.a=e}i(nTt,"Ehc");function iTt(e){this.a=e}i(iTt,"khc");function aTt(e){this.a=e}i(aTt,"Ihc");function sTt(e){this.a=e}i(sTt,"qfc");function oTt(e){this.a=e}i(oTt,"tfc");function lTt(e){this.a=e}i(lTt,"Wfc");function cTt(e){this.a=e}i(cTt,"Fic");function uTt(e){this.a=e}i(uTt,"Vic");function hTt(e){this.a=e}i(hTt,"fjc");function fTt(e){this.a=e}i(fTt,"pjc");function dTt(e){this.a=e}i(dTt,"ckc");function pTt(e){this.a=e}i(pTt,"hkc");function gTt(e){this.a=e}i(gTt,"Ykc");function mTt(e){this.a=e}i(mTt,"$kc");function yTt(e){this.a=e}i(yTt,"alc");function bTt(e){this.a=e}i(bTt,"glc");function vTt(e){this.a=e}i(vTt,"ilc");function wTt(e){this.a=e}i(wTt,"slc");function xTt(e){this.a=e}i(xTt,"Clc");function TTt(e){this.a=e}i(TTt,"xoc");function kTt(e){this.a=e}i(kTt,"zoc");function CTt(e){this.a=e}i(CTt,"spc");function ETt(e){this.a=e}i(ETt,"Vqc");function STt(e){this.a=e}i(STt,"Xqc");function ATt(e){this.a=e}i(ATt,"Gsc");function RTt(e){this.a=e}i(RTt,"Isc");function LTt(e){this.a=e}i(LTt,"JGc");function DTt(e){this.a=e}i(DTt,"NGc");function _Tt(e){this.a=e}i(_Tt,"MHc");function MTt(e){this.a=e}i(MTt,"JIc");function ITt(e){this.a=e}i(ITt,"fJc");function NTt(e){this.a=e}i(NTt,"BJc");function OTt(e){this.c=e}i(OTt,"dJc");function PTt(e){this.b=e}i(PTt,"Trc");function BTt(e){this.a=e}i(BTt,"eKc");function FTt(e){this.a=e}i(FTt,"IKc");function $Tt(e){this.a=e}i($Tt,"KKc");function GTt(e){this.a=e}i(GTt,"MKc");function jTt(e){this.a=e}i(jTt,"yLc");function zTt(e){this.a=e}i(zTt,"HMc");function UTt(e){this.a=e}i(UTt,"LMc");function VTt(e){this.a=e}i(VTt,"PMc");function HTt(e){this.a=e}i(HTt,"TMc");function qTt(e){this.a=e}i(qTt,"XMc");function WTt(e){this.a=e}i(WTt,"ZMc");function YTt(e){this.a=e}i(YTt,"aNc");function KTt(e){this.a=e}i(KTt,"jNc");function XTt(e){this.a=e}i(XTt,"aPc");function QTt(e){this.a=e}i(QTt,"gPc");function JTt(e){this.a=e}i(JTt,"kPc");function ZTt(e){this.a=e}i(ZTt,"yPc");function ekt(e){this.a=e}i(ekt,"CPc");function tkt(e){this.a=e}i(tkt,"JPc");function rkt(e){this.a=e}i(rkt,"RPc");function nkt(e){this.a=e}i(nkt,"XPc");function ikt(e){this.a=e}i(ikt,"mRc");function akt(e){this.a=e}i(akt,"xTc");function skt(e){this.a=e}i(skt,"CWc");function okt(e){this.a=e}i(okt,"EWc");function lkt(e){this.a=e}i(lkt,"IWc");function ckt(e){this.a=e}i(ckt,"OWc");function x1(e){this.a=e}i(x1,"dXc");function $4(e){this.a=e}i($4,"gXc");function ukt(e){this.a=e}i(ukt,"EXc");function hkt(e){this.a=e}i(hkt,"WXc");function fkt(e){this.a=e}i(fkt,"YXc");function dkt(e){this.a=e}i(dkt,"aYc");function pkt(e){this.a=e}i(pkt,"cYc");function gkt(e){this.a=e}i(gkt,"eYc");function mkt(e){this.a=e}i(mkt,"iYc");function ykt(e){this.a=e}i(ykt,"i0c");function bkt(e){this.a=e}i(bkt,"g0c");function vkt(e){this.a=e}i(vkt,"P1c");function wkt(e){this.a=e}i(wkt,"Sad");function xkt(e){this.a=e}i(xkt,"Uad");function Tkt(e){this.a=e}i(Tkt,"Wad");function kkt(e){this.a=e}i(kkt,"Yad");function Ckt(e){this.a=e}i(Ckt,"cbd");function Ekt(e){this.a=e}i(Ekt,"ydd");function Skt(e){this.a=e}i(Skt,"Kdd");function Akt(e){this.a=e}i(Akt,"Mdd");function Rkt(e){this.a=e}i(Rkt,"_ed");function Lkt(e){this.a=e}i(Lkt,"dfd");function Dkt(e){this.a=e}i(Dkt,"Kfd");function _kt(e){this.a=e}i(_kt,"prd");function Mkt(e){this.a=e}i(Mkt,"$rd");function Ikt(e){this.a=e}i(Ikt,"csd");function Nkt(e){this.a=e}i(Nkt,"Usd");function Okt(e){this.a=e}i(Okt,"Vtd");function aq(e){this.a=e}i(aq,"wud");function Pkt(e){this.f=e}i(Pkt,"Rud");function Bkt(e){this.a=e}i(Bkt,"LEd");function Fkt(e){this.a=e}i(Fkt,"UEd");function $kt(e){this.a=e}i($kt,"VEd");function Gkt(e){this.a=e}i(Gkt,"WEd");function jkt(e){this.a=e}i(jkt,"XEd");function zkt(e){this.a=e}i(zkt,"YEd");function Ukt(e){this.a=e}i(Ukt,"ZEd");function Vkt(e){this.a=e}i(Vkt,"$Ed");function Hkt(e){this.a=e}i(Hkt,"_Ed");function qkt(e){this.a=e}i(qkt,"aFd");function Wkt(e){this.a=e}i(Wkt,"gFd");function Ykt(e){this.a=e}i(Ykt,"iFd");function Kkt(e){this.a=e}i(Kkt,"jFd");function Xkt(e){this.a=e}i(Xkt,"kFd");function Qkt(e){this.a=e}i(Qkt,"lFd");function Jkt(e){this.a=e}i(Jkt,"nFd");function Zkt(e){this.a=e}i(Zkt,"qFd");function e3t(e){this.a=e}i(e3t,"wFd");function t3t(e){this.a=e}i(t3t,"xFd");function r3t(e){this.a=e}i(r3t,"zFd");function n3t(e){this.a=e}i(n3t,"AFd");function i3t(e){this.a=e}i(i3t,"BFd");function a3t(e){this.a=e}i(a3t,"CFd");function s3t(e){this.a=e}i(s3t,"DFd");function o3t(e){this.a=e}i(o3t,"MFd");function l3t(e){this.a=e}i(l3t,"OFd");function c3t(e){this.a=e}i(c3t,"QFd");function u3t(e){this.a=e}i(u3t,"SFd");function Nse(e){this.a=e}i(Nse,"uGd");function wSe(e){this.a=e}i(wSe,"QGd");function ea(e){this.b=e}i(ea,"jGd");function h3t(e){this.a=e}i(h3t,"YOd");function f3t(e){this.a=e}i(f3t,"ePd");function d3t(e){this.a=e}i(d3t,"kPd");function p3t(e){this.a=e}i(p3t,"qPd");function g3t(e){this.a=e}i(g3t,"IPd");function m3t(e){this.a=e}i(m3t,"w$d");function y3t(e){this.a=e}i(y3t,"e_d");function b3t(e){this.b=e}i(b3t,"Q_d");function v3t(e){this.a=e}i(v3t,"c1d");function fB(e){this.a=e}i(fB,"c2d");function w3t(e){this.a=e}i(w3t,"l5d");function x3t(e){this.a=e}i(x3t,"I9d");function xSe(e){this.c=e}i(xSe,"L6d");function sq(e){this.e=e}i(sq,"t7d");function oq(e){this.a=e}i(oq,"pae");function lq(e){this.a=e}i(lq,"xae");function Ose(e){this.a=e}i(Ose,"Zde");function T3t(e){this.d=e}i(T3t,"Sde");function k3t(e){this.a=e}i(k3t,"mee");function TSe(e){this.a=e}i(TSe,"uje");function kSe(e){this.a=e}i(kSe,"Bte");function ax(e){this.e=e}i(ax,"Wse");function v_(){this.a=0}i(v_,"Xsd");function zn(){Ah(this)}i(zn,"Tsb");function Mt(){Koe(this)}i(Mt,"bnb");function Pse(){s7t(this)}i(Pse,"cHb");function C3t(){}i(C3t,"I2b");function sx(){this.c=RVe}i(sx,"s2d");function E3t(e,n){e.b+=n}i(E3t,"Prc");function WKr(e,n){n.Wb(e)}i(WKr,"Uje");function YKr(e){return e.a}i(YKr,"UC");function KKr(e){return e.a}i(KKr,"nC");function XKr(e){return e.a}i(XKr,"BC");function QKr(e){return e.a}i(QKr,"TB");function JKr(e){return e.a}i(JKr,"_B");function me(e){return e.e}i(me,"Adb");function ZKr(){return null}i(ZKr,"gC");function eXr(){return null}i(eXr,"MC");function tXr(){l5e(),NCn()}i(tXr,"leb");function rXr(e){e.b.Of(e.e)}i(rXr,"qMb");function S3t(e){e.b=new roe}i(S3t,"A$b");function w_(e,n){e.b=n-e.b}i(w_,"A8b");function x_(e,n){e.a=n-e.a}i(x_,"x8b");function zr(e,n){e.push(n)}i(zr,"ZEb");function A3t(e,n){e.sort(n)}i(A3t,"bFb");function R3t(e,n){n.jd(e.a)}i(R3t,"Q5c");function nXr(e,n){$s(n,e)}i(nXr,"Voc");function iXr(e,n,s){e.Yd(s,n)}i(iXr,"tp");function dB(e,n){e.e=n,n.b=e}i(dB,"Ss");function CSe(e){P0(),this.a=e}i(CSe,"im");function L3t(e){P0(),this.a=e}i(L3t,"xq");function D3t(e){P0(),this.a=e}i(D3t,"Gq");function Bse(e){Rx(),this.a=e}i(Bse,"Xq");function _3t(e){j8(),Sge.le(e)}i(_3t,"gA");function ESe(){ESe=z,new zn}i(ESe,"vA");function L2(){X5t.call(this)}i(L2,"xz");function SSe(){X5t.call(this)}i(SSe,"Ceb");function ASe(){L2.call(this)}i(ASe,"ueb");function Fse(){L2.call(this)}i(Fse,"yeb");function M3t(){L2.call(this)}i(M3t,"Hfb");function pB(){L2.call(this)}i(pB,"_fb");function ah(){L2.call(this)}i(ah,"cgb");function KS(){L2.call(this)}i(KS,"Ngb");function ui(){L2.call(this)}i(ui,"jib");function rd(){L2.call(this)}i(rd,"Jrb");function I3t(){L2.call(this)}i(I3t,"Srb");function Zl(){L2.call(this)}i(Zl,"Dvb");function N3t(){L2.call(this)}i(N3t,"Ied");function O3t(){this.a=this}i(O3t,"R1d");function cq(){this.Bb|=256}i(cq,"k1d");function P3t(){this.b=new USt}i(P3t,"vWb");function wk(e,n){e.length=n}i(wk,"aFb");function uq(e,n){It(e.a,n)}i(uq,"dyb");function aXr(e,n){JDe(e.c,n)}i(aXr,"jNb");function sXr(e,n){As(e.b,n)}i(sXr,"qRc");function oXr(e,n){IK(e.a,n)}i(oXr,"VOd");function lXr(e,n){Bue(e.a,n)}i(lXr,"WOd");function f8(e,n){Qi(e.e,n)}i(f8,"eZd");function XS(e){KK(e.c,e.b)}i(XS,"Cke");function cXr(e,n){e.kc().Nb(n)}i(cXr,"uj");function RSe(e){this.a=tdn(e)}i(RSe,"Ufb");function ys(){this.a=new zn}i(ys,"_sb");function B3t(){this.a=new zn}i(B3t,"$Ab");function LSe(){this.a=new rEt}i(LSe,"xAb");function hq(){this.a=new Mt}i(hq,"gyb");function $se(){this.a=new Mt}i($se,"BIb");function DSe(){this.a=new Mt}i(DSe,"GIb");function jd(){this.a=new Ut}i(jd,"wIb");function D2(){this.a=new MDt}i(D2,"gJb");function _Se(){this.a=new st}i(_Se,"TTb");function MSe(){this.a=new CRt}i(MSe,"jGb");function ISe(){this.a=new P6t}i(ISe,"qGb");function F3t(){this.a=new Mt}i(F3t,"q_b");function $3t(){this.a=new Mt}i($3t,"E_b");function G3t(){this.a=new Mt}i(G3t,"EZb");function NSe(){this.a=new Mt}i(NSe,"J$b");function j3t(){this.d=new Mt}i(j3t,"YNb");function z3t(){this.a=new VRt}i(z3t,"lXb");function U3t(){this.a=new ys}i(U3t,"y_b");function V3t(){this.a=new zn}i(V3t,"k5b");function H3t(){this.b=new zn}i(H3t,"E0b");function q3t(){this.b=new Mt}i(q3t,"jHc");function OSe(){this.e=new Mt}i(OSe,"ZNc");function W3t(){this.a=new Q2t}i(W3t,"ahc");function Y3t(){this.d=new Mt}i(Y3t,"UQc");function K3t(){K7t.call(this)}i(K3t,"uRc");function X3t(){K7t.call(this)}i(X3t,"BRc");function Q3t(){Mt.call(this)}i(Q3t,"VOc");function PSe(){ASe.call(this)}i(PSe,"web");function BSe(){hq.call(this)}i(BSe,"Fyb");function J3t(){mW.call(this)}i(J3t,"fKb");function Z3t(){NSe.call(this)}i(Z3t,"N$b");function T_(){C3t.call(this)}i(T_,"P2b");function Gse(){T_.call(this)}i(Gse,"T2b");function QS(){C3t.call(this)}i(QS,"z3b");function FSe(){QS.call(this)}i(FSe,"C3b");function e4t(){zSe.call(this)}i(e4t,"cUc");function t4t(){zSe.call(this)}i(t4t,"hUc");function r4t(){zSe.call(this)}i(r4t,"mUc");function n4t(){USe.call(this)}i(n4t,"Hdd");function k_(){abt.call(this)}i(k_,"ACd");function $Se(){abt.call(this)}i($Se,"PCd");function sh(){Da.call(this)}i(sh,"Ejd");function i4t(){v4t.call(this)}i(i4t,"LQd");function a4t(){v4t.call(this)}i(a4t,"lRd");function s4t(){zn.call(this)}i(s4t,"MSd");function o4t(){zn.call(this)}i(o4t,"VSd");function l4t(){zn.call(this)}i(l4t,"eTd");function jse(){n9t.call(this)}i(jse,"mXd");function c4t(){ys.call(this)}i(c4t,"i1d");function u4t(){cq.call(this)}i(u4t,"A1d");function zse(){T6e.call(this)}i(zse,"q4d");function GSe(){zn.call(this)}i(GSe,"O5d");function Use(){T6e.call(this)}i(Use,"R5d");function Vse(){zn.call(this)}i(Vse,"lae");function h4t(){zn.call(this)}i(h4t,"Cae");function jSe(){JH.call(this)}i(jSe,"ome");function f4t(){jSe.call(this)}i(f4t,"Hme");function d4t(){JH.call(this)}i(d4t,"Nme");function p4t(){zEe.call(this)}i(p4t,"Gre");function zSe(){this.a=new ys}i(zSe,"aUc");function g4t(){this.a=new zn}i(g4t,"nZc");function m4t(){this.a=new Mt}i(m4t,"DZc");function USe(){this.a=new zn}i(USe,"Ddd");function JS(){this.a=new Da}i(JS,"Oqd");function y4t(){this.j=new Mt}i(y4t,"Oed");function b4t(){this.a=new mCt}i(b4t,"obd");function v4t(){this.a=new gbt}i(v4t,"wQd");function VSe(){this.a=new K1t}i(VSe,"R5c");function C_(){C_=z,bge=new S}i(C_,"wb");function Hse(){Hse=z,vge=new x4t}i(Hse,"Wk");function qse(){qse=z,wge=new w4t}i(qse,"kl");function w4t(){Ese.call(this,"")}i(w4t,"ll");function x4t(){Ese.call(this,"")}i(x4t,"Xk");function T4t(e){SMt.call(this,e)}i(T4t,"Dd");function k4t(e){SMt.call(this,e)}i(k4t,"Hd");function HSe(e){WEe.call(this,e)}i(HSe,"xh");function qSe(e){HCt.call(this,e)}i(qSe,"$h");function uXr(e){HCt.call(this,e)}i(uXr,"Qi");function hXr(e){qSe.call(this,e)}i(hXr,"wi");function fXr(e){qSe.call(this,e)}i(fXr,"Sp");function dXr(e){qSe.call(this,e)}i(dXr,"Js");function C4t(e){Cce.call(this,e)}i(C4t,"Jp");function E4t(e){Cce.call(this,e)}i(E4t,"Qp");function S4t(e){iAt.call(this,e)}i(S4t,"dq");function A4t(e){g5e.call(this,e)}i(A4t,"Fv");function E_(e){Tq.call(this,e)}i(E_,"aw");function WSe(e){Tq.call(this,e)}i(WSe,"cw");function R4t(e){Tq.call(this,e)}i(R4t,"_w");function YSe(e){O1n.call(this,e)}i(YSe,"Mx");function KSe(e){YSe.call(this,e)}i(KSe,"Nx");function ec(e){E8t.call(this,e)}i(ec,"yz");function L4t(e){ec.call(this,e)}i(L4t,"aC");function ZS(){cB.call(this,{})}i(ZS,"uC");function D4t(){D4t=z,fWt=new W}i(D4t,"cC");function fq(){fq=z,kge=new S5t}i(fq,"zs");function _4t(){_4t=z,qOe=new E}i(_4t,"Az");function XSe(){XSe=z,WOe=new K}i(XSe,"$z");function dq(){dq=z,Z9=new q}i(dq,"$A");function Wse(e){C8(),this.a=e}i(Wse,"Ovb");function Yse(e){kRe(),this.a=e}i(Yse,"FKc");function ox(e){Mle(),this.f=e}i(ox,"zud");function Kse(e){Mle(),this.f=e}i(Kse,"Bud");function M4t(e){fAt(),this.a=e}i(M4t,"Cde");function I4t(e){e.b=null,e.c=0}i(I4t,"Lyb");function pXr(e,n){e.e=n,f$t(e,n)}i(pXr,"kz");function gXr(e,n){e.a=n,Tyn(e)}i(gXr,"NYb");function Xse(e,n,s){e.a[n.g]=s}i(Xse,"cLb");function mXr(e,n,s){B0n(s,e,n)}i(mXr,"zsd");function yXr(e,n){fen(n.i,e.n)}i(yXr,"shc");function N4t(e,n){Phn(e).Cd(n)}i(N4t,"HCc");function bXr(e,n){e.a.ec().Mc(n)}i(bXr,"yw");function O4t(e,n){return e.g-n.g}i(O4t,"ns");function vXr(e,n){return e*e/n}i(vXr,"AUb");function Kt(e){return ln(e),e}i(Kt,"Heb");function Qe(e){return ln(e),e}i(Qe,"Kfb");function gB(e){return ln(e),e}i(gB,"Mfb");function wXr(e){return new eq(e)}i(wXr,"JC");function xXr(e){return new Nk(e)}i(xXr,"LC");function QSe(e){return ln(e),e}i(QSe,"shb");function TXr(e){return ln(e),e}i(TXr,"Chb");function pq(e){ec.call(this,e)}i(pq,"teb");function kl(e){ec.call(this,e)}i(kl,"veb");function P4t(e){ec.call(this,e)}i(P4t,"zeb");function Qse(e){E8t.call(this,e)}i(Qse,"Aeb");function d8(e){ec.call(this,e)}i(d8,"Ifb");function Jr(e){ec.call(this,e)}i(Jr,"agb");function Cl(e){ec.call(this,e)}i(Cl,"dgb");function B4t(e){ec.call(this,e)}i(B4t,"Mgb");function e5(e){ec.call(this,e)}i(e5,"Ogb");function wy(e){ec.call(this,e)}i(wy,"kib");function xy(e){ec.call(this,e)}i(xy,"Jed");function t5(e){ec.call(this,e)}i(t5,"Ked");function D0(e){ec.call(this,e)}i(D0,"CDd");function Jse(e){ec.call(this,e)}i(Jse,"Mle");function yi(e){ec.call(this,e)}i(yi,"Lqe");function Eh(e){ln(e),this.a=e}i(Eh,"mob");function JSe(e){return K2(e),e}i(JSe,"yYb");function S_(e){u8e(e,e.length)}i(S_,"Nnb");function A_(e){return e.b==e.c}i(A_,"nmb");function xk(e){return!!e&&e.b}i(xk,"Vyb");function kXr(e){return!!e&&e.k}i(kXr,"gLb");function CXr(e){return!!e&&e.j}i(CXr,"hLb");function EXr(e,n,s){e.c.Ef(n,s)}i(EXr,"F_b");function F4t(e,n){e.be(n),n.ae(e)}i(F4t,"Ts");function r5(e){P0(),this.a=li(e)}i(r5,"Fy");function Zse(){this.a=pi(li(Ho))}i(Zse,"Gb");function $4t(){throw me(new ui)}i($4t,"jc");function SXr(){throw me(new ui)}i(SXr,"jn");function ZSe(){throw me(new ui)}i(ZSe,"Hh");function G4t(){throw me(new ui)}i(G4t,"Xi");function AXr(){throw me(new ui)}i(AXr,"Xj");function RXr(){throw me(new ui)}i(RXr,"Yj");function gq(){gq=z,j8()}i(gq,"Qz");function Ty(){uB.call(this,"")}i(Ty,"Qhb");function R_(){uB.call(this,"")}i(R_,"Rhb");function zb(){uB.call(this,"")}i(zb,"bib");function G4(){uB.call(this,"")}i(G4,"cib");function e5e(e){kl.call(this,e)}i(e5e,"eib");function t5e(e){kl.call(this,e)}i(t5e,"xeb");function _0(e){Jr.call(this,e)}i(_0,"Vgb");function p8(e){o8.call(this,e)}i(p8,"Lqb");function j4t(e){p8.call(this,e)}i(j4t,"Sqb");function eoe(e){hW.call(this,e)}i(eoe,"irb");function toe(e){N6e.call(this,e,0)}i(toe,"pc");function roe(){q8e.call(this,12,3)}i(roe,"Ri");function we(e,n){return bRt(e,n)}i(we,"WC");function mq(e,n){return $ce(e,n)}i(mq,"cFb");function LXr(e,n){return e.a-n.a}i(LXr,"Reb");function DXr(e,n){return e.a-n.a}i(DXr,"afb");function _Xr(e,n){return e.a-n.a}i(_Xr,"Wgb");function MXr(e,n){return n in e.a}i(MXr,"pC");function z4t(e){return e.a?e.b:0}i(z4t,"Vvb");function IXr(e){return e.a?e.b:0}i(IXr,"cwb");function NXr(e,n,s){n.Cd(e.a[s])}i(NXr,"Fxb");function OXr(e,n,s){n.Pe(e.a[s])}i(OXr,"Kxb");function PXr(e,n){e.b=new Uo(n)}i(PXr,"uKb");function BXr(e,n){return e.b=n,e}i(BXr,"QGb");function U4t(e,n){return e.c=n,e}i(U4t,"RGb");function V4t(e,n){return e.f=n,e}i(V4t,"SGb");function FXr(e,n){return e.g=n,e}i(FXr,"TGb");function r5e(e,n){return e.a=n,e}i(r5e,"yJb");function n5e(e,n){return e.f=n,e}i(n5e,"zJb");function $Xr(e,n){return e.k=n,e}i($Xr,"AJb");function i5e(e,n){return e.a=n,e}i(i5e,"WNb");function GXr(e,n){return e.e=n,e}i(GXr,"XNb");function a5e(e,n){return e.e=n,e}i(a5e,"BYb");function jXr(e,n){return e.f=n,e}i(jXr,"CYb");function zXr(e,n){e.b=!0,e.d=n}i(zXr,"BRb");function UXr(e,n){return e.b-n.b}i(UXr,"WNc");function VXr(e,n){return e.g-n.g}i(VXr,"KSc");function HXr(e,n){return e?0:n-1}i(HXr,"pmc");function H4t(e,n){return e?0:n-1}i(H4t,"qKc");function qXr(e,n){return e?n-1:0}i(qXr,"pKc");function WXr(e,n){return e.s-n.s}i(WXr,"uVc");function YXr(e,n){return n.rg(e)}i(YXr,"Xed");function lx(e,n){return e.b=n,e}i(lx,"Xfd");function yq(e,n){return e.a=n,e}i(yq,"Wfd");function cx(e,n){return e.c=n,e}i(cx,"Yfd");function ux(e,n){return e.d=n,e}i(ux,"Zfd");function hx(e,n){return e.e=n,e}i(hx,"$fd");function s5e(e,n){return e.f=n,e}i(s5e,"_fd");function L_(e,n){return e.a=n,e}i(L_,"mgd");function g8(e,n){return e.b=n,e}i(g8,"ngd");function m8(e,n){return e.c=n,e}i(m8,"ogd");function ar(e,n){return e.c=n,e}i(ar,"Khd");function Er(e,n){return e.b=n,e}i(Er,"Jhd");function sr(e,n){return e.d=n,e}i(sr,"Lhd");function or(e,n){return e.e=n,e}i(or,"Mhd");function KXr(e,n){return e.f=n,e}i(KXr,"Nhd");function lr(e,n){return e.g=n,e}i(lr,"Ohd");function cr(e,n){return e.a=n,e}i(cr,"Phd");function ur(e,n){return e.i=n,e}i(ur,"Qhd");function hr(e,n){return e.j=n,e}i(hr,"Rhd");function XXr(e,n){fv(),rc(n,e)}i(XXr,"coc");function QXr(e,n,s){dnn(e.a,n,s)}i(QXr,"bbd");function bq(e){dle.call(this,e)}i(bq,"Fjd");function q4t(e){mdn.call(this,e)}i(q4t,"TRb");function W4t(e){S7t.call(this,e)}i(W4t,"pLc");function o5e(e){S7t.call(this,e)}i(o5e,"ILc");function Ub(e){Fx.call(this,e)}i(Ub,"gLd");function Y4t(e){rce.call(this,e)}i(Y4t,"DPd");function K4t(e){rce.call(this,e)}i(K4t,"FPd");function X4t(){m6e.call(this,"")}i(X4t,"x2b");function mo(){this.a=0,this.b=0}i(mo,"pjd");function Q4t(){this.b=0,this.a=0}i(Q4t,"ATc");function J4t(e,n){e.b=0,Vk(e,n)}i(J4t,"lXd");function Z4t(e,n){return e.k=n,e}i(Z4t,"Kqd");function JXr(e,n){return e.j=n,e}i(JXr,"Lqd");function ZXr(e,n){e.c=n,e.b=!0}i(ZXr,"vfe");function eCt(){eCt=z,EWt=umn()}i(eCt,"Etb");function Vb(){Vb=z,vnr=x0n()}i(Vb,"bvd");function tCt(){tCt=z,no=Imn()}i(tCt,"dvd");function l5e(){l5e=z,Fv=r7()}i(l5e,"MId");function y8(){y8=z,AVe=T0n()}i(y8,"jTd");function rCt(){rCt=z,iir=k0n()}i(rCt,"Ole");function c5e(){c5e=z,Sc=vyn()}i(c5e,"Qle");function sg(e){return e.e&&e.e()}i(sg,"mfb");function nCt(e){return e.l|e.m<<22}i(nCt,"FD");function iCt(e,n){return e.c._b(n)}i(iCt,"Oc");function aCt(e,n){return rNt(e.b,n)}i(aCt,"En");function noe(e){return e?e.d:null}i(noe,"Vd");function eQr(e){return e?e.g:null}i(eQr,"Vv");function tQr(e){return e?e.i:null}i(tQr,"$v");function _2(e){return C1(e),e.o}i(_2,"nfb");function j4(e,n){return e.a+=n,e}i(j4,"Khb");function ioe(e,n){return e.a+=n,e}i(ioe,"Lhb");function ky(e,n){return e.a+=n,e}i(ky,"Ohb");function fx(e,n){return e.a+=n,e}i(fx,"Uhb");function u5e(e,n){for(;e.Bd(n););}i(u5e,"_wb");function vq(e){this.a=new n5(e)}i(vq,"atb");function sCt(){throw me(new ui)}i(sCt,"$tb");function oCt(){throw me(new ui)}i(oCt,"qpb");function lCt(){throw me(new ui)}i(lCt,"rpb");function cCt(){throw me(new ui)}i(cCt,"spb");function uCt(){throw me(new ui)}i(uCt,"vpb");function hCt(){throw me(new ui)}i(hCt,"Opb");function Cy(e){this.a=new Ole(e)}i(Cy,"yAb");function fCt(){this.a=new u9(Tje)}i(fCt,"H2c");function dCt(){this.b=new u9(jGe)}i(dCt,"TVc");function pCt(){this.a=new u9(qje)}i(pCt,"l6c");function gCt(){this.b=new u9(y1e)}i(gCt,"$ad");function mCt(){this.b=new u9(y1e)}i(mCt,"nbd");function wq(e){this.a=0,this.b=e}i(wq,"T2c");function h5e(e){Vjt(),WCn(this,e)}i(h5e,"Bib");function b8(e){return Zb(e),e.a}i(b8,"QDb");function mB(e){return e.b!=e.d.c}i(mB,"dvb");function f5e(e,n){return e.d[n.p]}i(f5e,"AMc");function yCt(e,n){return uwn(e,n)}i(yCt,"ued");function d5e(e,n,s){e.splice(n,s)}i(d5e,"$Eb");function z4(e,n){for(;e.Re(n););}i(z4,"ixb");function bCt(e){e.c?D$t(e):_$t(e)}i(bCt,"NKb");function vCt(){throw me(new ui)}i(vCt,"mQd");function wCt(){throw me(new ui)}i(wCt,"nQd");function xCt(){throw me(new ui)}i(xCt,"oQd");function TCt(){throw me(new ui)}i(TCt,"pQd");function kCt(){throw me(new ui)}i(kCt,"qQd");function CCt(){throw me(new ui)}i(CCt,"rQd");function ECt(){throw me(new ui)}i(ECt,"sQd");function SCt(){throw me(new ui)}i(SCt,"tQd");function ACt(){throw me(new ui)}i(ACt,"uQd");function RCt(){throw me(new ui)}i(RCt,"vQd");function rQr(){throw me(new Zl)}i(rQr,"zue");function nQr(){throw me(new Zl)}i(nQr,"Aue");function yB(e){this.a=new LCt(e)}i(yB,"oue");function LCt(e){oun(this,e,$1n())}i(LCt,"Dte");function bB(e){return!e||a7t(e)}i(bB,"cve");function vB(e){return u0[e]!=-1}i(vB,"Cqe");function iQr(){MQ!=0&&(MQ=0),IQ=-1}i(iQr,"Yz");function DCt(){yge==null&&(yge=[])}i(DCt,"beb");function wB(e,n){rC.call(this,e,n)}i(wB,"eg");function v8(e,n){wB.call(this,e,n)}i(v8,"gg");function _Ct(e,n){this.a=e,this.b=n}i(_Ct,"Nj");function MCt(e,n){this.a=e,this.b=n}i(MCt,"hk");function ICt(e,n){this.a=e,this.b=n}i(ICt,"nk");function NCt(e,n){this.a=e,this.b=n}i(NCt,"pk");function OCt(e,n){this.a=e,this.b=n}i(OCt,"xk");function PCt(e,n){this.a=e,this.b=n}i(PCt,"zk");function BCt(e,n){this.a=e,this.b=n}i(BCt,"Kk");function w8(e,n){this.e=e,this.d=n}i(w8,"ne");function p5e(e,n){this.b=e,this.c=n}i(p5e,"Hf");function FCt(e,n){this.b=e,this.a=n}i(FCt,"cp");function $Ct(e,n){this.b=e,this.a=n}i($Ct,"Cp");function GCt(e,n){this.b=e,this.a=n}i(GCt,"qr");function jCt(e,n){this.b=e,this.a=n}i(jCt,"Rr");function zCt(e,n){this.a=e,this.b=n}i(zCt,"vr");function aoe(e,n){this.a=e,this.b=n}i(aoe,"su");function UCt(e,n){this.a=e,this.f=n}i(UCt,"Hu");function dx(e,n){this.g=e,this.i=n}i(dx,"gp");function ti(e,n){this.f=e,this.g=n}i(ti,"qs");function VCt(e,n){this.b=e,this.c=n}i(VCt,"Gv");function HCt(e){C6e(e.dc()),this.c=e}i(HCt,"Wc");function aQr(e,n){this.a=e,this.b=n}i(aQr,"Ex");function qCt(e,n){this.a=e,this.b=n}i(qCt,"ey");function WCt(e){this.a=y(li(e),15)}i(WCt,"pv");function g5e(e){this.a=y(li(e),15)}i(g5e,"uv");function YCt(e){this.a=y(li(e),85)}i(YCt,"nw");function xq(e){this.b=y(li(e),85)}i(xq,"rf");function Tq(e){this.b=y(li(e),51)}i(Tq,"Tr");function kq(){this.q=new p.Date}i(kq,"uB");function soe(e,n){this.a=e,this.b=n}i(soe,"CC");function KCt(e,n){return Ru(e.b,n)}i(KCt,"Bt");function xB(e,n){return e.b.Hc(n)}i(xB,"tpb");function XCt(e,n){return e.b.Ic(n)}i(XCt,"upb");function QCt(e,n){return e.b.Qc(n)}i(QCt,"wpb");function JCt(e,n){return e.b.Hc(n)}i(JCt,"Pqb");function ZCt(e,n){return e.c.uc(n)}i(ZCt,"pqb");function eEt(e,n){return Ji(e.c,n)}i(eEt,"rqb");function og(e,n){return e.a._b(n)}i(og,"Zsb");function tEt(e,n){return e>n&&n0}i(hoe,"Idb");function foe(e,n){return Dc(e,n)<0}i(foe,"Ldb");function yEt(e,n){return Rle(e.a,n)}i(yEt,"Urb");function CQr(e,n){vRt.call(this,e,n)}i(CQr,"Beb");function T5e(e){Wle(),iAt.call(this,e)}i(T5e,"Qx");function k5e(e,n){f8t(e,e.length,n)}i(k5e,"Lnb");function EB(e,n){G8t(e,e.length,n)}i(EB,"Mnb");function B_(e,n){return e.a.get(n)}i(B_,"Ktb");function bEt(e,n){return Ru(e.e,n)}i(bEt,"bub");function C5e(e){return ln(e),!1}i(C5e,"Zxb");function E5e(e){this.a=y(li(e),229)}i(E5e,"zw");function Mq(e){Ar.call(this,e,21)}i(Mq,"$wb");function Iq(e,n){ti.call(this,e,n)}i(Iq,"dAb");function doe(e,n){ti.call(this,e,n)}i(doe,"yBb");function vEt(e,n){this.b=e,this.a=n}i(vEt,"ssb");function Nq(e,n){this.d=e,this.e=n}i(Nq,"xlb");function wEt(e,n){this.a=e,this.b=n}i(wEt,"jEb");function xEt(e,n){this.a=e,this.b=n}i(xEt,"pEb");function TEt(e,n){this.a=e,this.b=n}i(TEt,"vEb");function kEt(e,n){this.a=e,this.b=n}i(kEt,"BEb");function a5(e,n){this.a=e,this.b=n}i(a5,"TFb");function CEt(e,n){this.b=e,this.a=n}i(CEt,"QEb");function S5e(e,n){this.b=e,this.a=n}i(S5e,"sHb");function A5e(e,n){ti.call(this,e,n)}i(A5e,"EHb");function R5e(e,n){ti.call(this,e,n)}i(R5e,"MHb");function U4(e,n){ti.call(this,e,n)}i(U4,"jIb");function poe(e,n){ti.call(this,e,n)}i(poe,"$Jb");function goe(e,n){ti.call(this,e,n)}i(goe,"FKb");function moe(e,n){ti.call(this,e,n)}i(moe,"wLb");function Oq(e,n){ti.call(this,e,n)}i(Oq,"nOb");function L5e(e,n){this.b=e,this.a=n}i(L5e,"kPb");function Pq(e,n){ti.call(this,e,n)}i(Pq,"JPb");function D5e(e,n){this.b=e,this.a=n}i(D5e,"fRb");function Bq(e,n){ti.call(this,e,n)}i(Bq,"JRb");function EEt(e,n){this.b=e,this.a=n}i(EEt,"OTb");function _5e(e,n){ti.call(this,e,n)}i(_5e,"UUb");function yoe(e,n){ti.call(this,e,n)}i(yoe,"BWb");function SB(e,n){ti.call(this,e,n)}i(SB,"tXb");function F_(e,n,s){e.splice(n,0,s)}i(F_,"XEb");function EQr(e,n,s){e.Mb(s)&&n.Cd(s)}i(EQr,"pr");function SQr(e,n,s){n.Pe(e.a.Ye(s))}i(SQr,"lEb");function AQr(e,n,s){n.Dd(e.a.Ze(s))}i(AQr,"rEb");function RQr(e,n,s){n.Cd(e.a.Kb(s))}i(RQr,"xEb");function LQr(e,n){return lh(e.c,n)}i(LQr,"eYb");function DQr(e,n){return lh(e.e,n)}i(DQr,"cGb");function Fq(e,n){ti.call(this,e,n)}i(Fq,"qZb");function $q(e,n){ti.call(this,e,n)}i($q,"V$b");function $_(e,n){ti.call(this,e,n)}i($_,"s3b");function M5e(e,n){ti.call(this,e,n)}i(M5e,"Q8b");function bs(e,n){ti.call(this,e,n)}i(bs,"icc");function Gq(e,n){ti.call(this,e,n)}i(Gq,"xec");function SEt(e,n){this.a=e,this.b=n}i(SEt,"gic");function AEt(e,n){this.a=e,this.b=n}i(AEt,"Xic");function REt(e,n){this.a=e,this.b=n}i(REt,"h4b");function LEt(e,n){this.a=e,this.b=n}i(LEt,"vjc");function DEt(e,n){this.a=e,this.b=n}i(DEt,"xjc");function _Et(e,n){this.a=e,this.b=n}i(_Et,"Hjc");function MEt(e,n){this.b=e,this.a=n}i(MEt,"hjc");function IEt(e,n){this.b=e,this.a=n}i(IEt,"Jjc");function I5e(e,n){this.b=e,this.a=n}i(I5e,"_Yb");function k8(e,n){this.c=e,this.d=n}i(k8,"eZb");function NEt(e,n){this.e=e,this.d=n}i(NEt,"Q1b");function OEt(e,n){this.a=e,this.b=n}i(OEt,"Tjc");function PEt(e,n){this.a=e,this.b=n}i(PEt,"ulc");function BEt(e,n){this.a=e,this.b=n}i(BEt,"Elc");function FEt(e,n){this.b=e,this.a=n}i(FEt,"fqc");function $Et(e,n){this.b=n,this.c=e}i($Et,"smc");function jq(e,n){ti.call(this,e,n)}i(jq,"fnc");function AB(e,n){ti.call(this,e,n)}i(AB,"Cnc");function boe(e,n){ti.call(this,e,n)}i(boe,"koc");function N5e(e,n){ti.call(this,e,n)}i(N5e,"ktc");function G_(e,n){ti.call(this,e,n)}i(G_,"ctc");function voe(e,n){ti.call(this,e,n)}i(voe,"utc");function woe(e,n){ti.call(this,e,n)}i(woe,"Ftc");function RB(e,n){ti.call(this,e,n)}i(RB,"Rtc");function O5e(e,n){ti.call(this,e,n)}i(O5e,"_tc");function xoe(e,n){ti.call(this,e,n)}i(xoe,"iuc");function j_(e,n){ti.call(this,e,n)}i(j_,"vuc");function P5e(e,n){ti.call(this,e,n)}i(P5e,"Duc");function z_(e,n){ti.call(this,e,n)}i(z_,"Puc");function U_(e,n){ti.call(this,e,n)}i(U_,"_uc");function kk(e,n){ti.call(this,e,n)}i(kk,"pvc");function Toe(e,n){ti.call(this,e,n)}i(Toe,"yvc");function koe(e,n){ti.call(this,e,n)}i(koe,"Hvc");function B5e(e,n){ti.call(this,e,n)}i(B5e,"Pvc");function LB(e,n){ti.call(this,e,n)}i(LB,"dxc");function V4(e,n){ti.call(this,e,n)}i(V4,"bDc");function Coe(e,n){ti.call(this,e,n)}i(Coe,"nDc");function zq(e,n){ti.call(this,e,n)}i(zq,"yDc");function DB(e,n){ti.call(this,e,n)}i(DB,"LDc");function Ck(e,n){ti.call(this,e,n)}i(Ck,"bEc");function Uq(e,n){ti.call(this,e,n)}i(Uq,"lEc");function F5e(e,n){ti.call(this,e,n)}i(F5e,"tEc");function Eoe(e,n){ti.call(this,e,n)}i(Eoe,"CEc");function Soe(e,n){ti.call(this,e,n)}i(Soe,"LEc");function Aoe(e,n){ti.call(this,e,n)}i(Aoe,"UEc");function Roe(e,n){ti.call(this,e,n)}i(Roe,"mFc");function Loe(e,n){ti.call(this,e,n)}i(Loe,"vFc");function Doe(e,n){ti.call(this,e,n)}i(Doe,"EFc");function _oe(e,n){ti.call(this,e,n)}i(_oe,"SKc");function GEt(e,n){this.b=e,this.a=n}i(GEt,"cNc");function $5e(e,n){ti.call(this,e,n)}i($5e,"tNc");function jEt(e,n){this.a=e,this.b=n}i(jEt,"QOc");function zEt(e,n){this.a=e,this.b=n}i(zEt,"ePc");function UEt(e,n){this.a=e,this.b=n}i(UEt,"LPc");function G5e(e,n){ti.call(this,e,n)}i(G5e,"xQc");function j5e(e,n){ti.call(this,e,n)}i(j5e,"FQc");function VEt(e,n){this.a=e,this.b=n}i(VEt,"MQc");function _Qr(e,n){return D8(),n!=e}i(_Qr,"FMc");function _B(e){return Sn(e.a),e.b}i(_B,"Uvb");function Moe(e){return Fbn(e,e.c),e}i(Moe,"qYb");function HEt(){return eCt(),new EWt}i(HEt,"Itb");function qEt(){xW(),this.a=new iAe}i(qEt,"_ec");function WEt(){iX(),this.a=new ys}i(WEt,"lSc");function YEt(){fce(),this.b=new ys}i(YEt,"aRc");function KEt(e,n){this.b=e,this.d=n}i(KEt,"xRc");function XEt(e,n){this.a=e,this.b=n}i(XEt,"nVc");function QEt(e,n){this.a=e,this.b=n}i(QEt,"pVc");function JEt(e,n){this.a=e,this.b=n}i(JEt,"GWc");function ZEt(e,n){this.b=e,this.a=n}i(ZEt,"IXc");function z5e(e,n){ti.call(this,e,n)}i(z5e,"gTc");function U5e(e,n){ti.call(this,e,n)}i(U5e,"eVc");function Vq(e,n){ti.call(this,e,n)}i(Vq,"$Vc");function mx(e,n){ti.call(this,e,n)}i(mx,"XYc");function Ioe(e,n){ti.call(this,e,n)}i(Ioe,"MZc");function Hq(e,n){ti.call(this,e,n)}i(Hq,"t_c");function V5e(e,n){ti.call(this,e,n)}i(V5e,"B_c");function H5e(e,n){ti.call(this,e,n)}i(H5e,"z2c");function MB(e,n){ti.call(this,e,n)}i(MB,"h3c");function q5e(e,n){ti.call(this,e,n)}i(q5e,"$3c");function Noe(e,n){ti.call(this,e,n)}i(Noe,"i4c");function qq(e,n){ti.call(this,e,n)}i(qq,"l5c");function Ooe(e,n){ti.call(this,e,n)}i(Ooe,"v5c");function Poe(e,n){ti.call(this,e,n)}i(Poe,"g6c");function Boe(e,n){ti.call(this,e,n)}i(Boe,"A6c");function Foe(e,n){ti.call(this,e,n)}i(Foe,"a7c");function W5e(e,n){ti.call(this,e,n)}i(W5e,"B8c");function $oe(e,n){ti.call(this,e,n)}i($oe,"d9c");function Y5e(e,n){ti.call(this,e,n)}i(Y5e,"D9c");function IB(e,n){ti.call(this,e,n)}i(IB,"tad");function Goe(e,n){ti.call(this,e,n)}i(Goe,"hbd");function K5e(e,n){ti.call(this,e,n)}i(K5e,"Nbd");function NB(e,n){ti.call(this,e,n)}i(NB,"Ybd");function X5e(e,n){ti.call(this,e,n)}i(X5e,"ndd");function eSt(e,n){this.b=e,this.a=n}i(eSt,"z1c");function tSt(e,n){this.b=e,this.a=n}i(tSt,"B1c");function rSt(e,n){this.b=e,this.a=n}i(rSt,"d2c");function nSt(e,n){this.b=e,this.a=n}i(nSt,"f2c");function Q5e(e,n){this.a=e,this.b=n}i(Q5e,"m9c");function iSt(e,n){this.a=e,this.b=n}i(iSt,"xed");function aSt(e,n){this.a=e,this.b=n}i(aSt,"ffd");function St(e,n){this.a=e,this.b=n}i(St,"rjd");function V_(e,n){ti.call(this,e,n)}i(V_,"Sjd");function OB(e,n){ti.call(this,e,n)}i(OB,"Zhd");function s5(e,n){ti.call(this,e,n)}i(s5,"lid");function H_(e,n){ti.call(this,e,n)}i(H_,"vkd");function PB(e,n){ti.call(this,e,n)}i(PB,"Gmd");function joe(e,n){ti.call(this,e,n)}i(joe,"Pmd");function Wq(e,n){ti.call(this,e,n)}i(Wq,"Zmd");function q_(e,n){ti.call(this,e,n)}i(q_,"jnd");function zoe(e,n){ti.call(this,e,n)}i(zoe,"Gnd");function Yq(e,n){ti.call(this,e,n)}i(Yq,"Rnd");function H4(e,n){ti.call(this,e,n)}i(H4,"eod");function BB(e,n){ti.call(this,e,n)}i(BB,"qod");function W_(e,n){ti.call(this,e,n)}i(W_,"Eod");function Y_(e,n){ti.call(this,e,n)}i(Y_,"Qod");function FB(e,n){ti.call(this,e,n)}i(FB,"upd");function Kq(e,n){ti.call(this,e,n)}i(Kq,"Rpd");function q4(e,n){ti.call(this,e,n)}i(q4,"eqd");function Uoe(e,n){ti.call(this,e,n)}i(Uoe,"nqd");function sSt(e,n){ti.call(this,e,n)}i(sSt,"vqd");function Xq(e,n){ti.call(this,e,n)}i(Xq,"Hrd");function oSt(e,n){this.a=e,this.b=n}i(oSt,"esd");function lSt(e,n){this.a=e,this.b=n}i(lSt,"gsd");function cSt(e,n){this.a=e,this.b=n}i(cSt,"isd");function uSt(e,n){this.a=e,this.b=n}i(uSt,"Osd");function hSt(e,n){this.a=e,this.b=n}i(hSt,"Qsd");function fSt(e,n){this.a=e,this.b=n}i(fSt,"Ssd");function Bs(e,n){this.a=e,this.b=n}i(Bs,"Ptd");function dSt(e,n){this.a=e,this.b=n}i(dSt,"JEd");function pSt(e,n){this.a=e,this.b=n}i(pSt,"KEd");function gSt(e,n){this.a=e,this.b=n}i(gSt,"MEd");function mSt(e,n){this.a=e,this.b=n}i(mSt,"NEd");function ySt(e,n){this.a=e,this.b=n}i(ySt,"QEd");function bSt(e,n){this.a=e,this.b=n}i(bSt,"REd");function vSt(e,n){this.b=e,this.a=n}i(vSt,"SEd");function wSt(e,n){this.b=e,this.a=n}i(wSt,"TEd");function xSt(e,n){this.b=e,this.a=n}i(xSt,"bFd");function TSt(e,n){this.b=e,this.a=n}i(TSt,"dFd");function kSt(e,n){this.a=e,this.b=n}i(kSt,"fFd");function CSt(e,n){this.a=e,this.b=n}i(CSt,"hFd");function Qq(e,n){ti.call(this,e,n)}i(Qq,"utd");function ESt(e,n){this.a=e,this.b=n}i(ESt,"sFd");function SSt(e,n){this.a=e,this.b=n}i(SSt,"uFd");function o5(e,n){ti.call(this,e,n)}i(o5,"bGd");function ASt(e,n){this.f=e,this.c=n}i(ASt,"uId");function J5e(e,n){return lh(e.g,n)}i(J5e,"Ofd");function MQr(e,n){return lh(n.b,e)}i(MQr,"Tqc");function RSt(e,n){return Wue(e.a,n)}i(RSt,"HPd");function IQr(e,n){return-e.b.af(n)}i(IQr,"Idd");function NQr(e,n){e&&ji(Aj,e,n)}i(NQr,"IId");function Z5e(e,n){e.i=null,WY(e,n)}i(Z5e,"yWd");function OQr(e,n,s){vPt(n,$he(e,s))}i(OQr,"kEd");function PQr(e,n,s){vPt(n,$he(e,s))}i(PQr,"lEd");function BQr(e,n){h2n(e.a,y(n,58))}i(BQr,"mFd");function LSt(e,n){ocn(e.a,y(n,12))}i(LSt,"_Mc");function Jq(e,n){this.a=e,this.b=n}i(Jq,"KTd");function DSt(e,n){this.a=e,this.b=n}i(DSt,"NTd");function _St(e,n){this.a=e,this.b=n}i(_St,"B5d");function MSt(e,n){this.a=e,this.b=n}i(MSt,"Z6d");function ISt(e,n){this.a=e,this.b=n}i(ISt,"Ble");function NSt(e,n){this.d=e,this.b=n}i(NSt,"afe");function OSt(e,n){this.e=e,this.a=n}i(OSt,"wfe");function $B(e,n){this.b=e,this.c=n}i($B,"Eke");function e6e(e,n){this.i=e,this.g=n}i(e6e,"zNd");function t6e(e,n){this.d=e,this.e=n}i(t6e,"kZd");function FQr(e,n){Tcn(new gn(e),n)}i(FQr,"ave");function Zq(e){return r$(e.c,e.b)}i(Zq,"Dke");function Il(e){return e?e.md():null}i(Il,"Wd");function Ze(e){return e??null}i(Ze,"dE");function oo(e){return typeof e===Mfe}i(oo,"bE");function Ek(e){return typeof e===Y5}i(Ek,"$D");function Sk(e){return typeof e===QMe}i(Sk,"_D");function yx(e,n){return Dc(e,n)==0}i(yx,"Gdb");function eW(e,n){return Dc(e,n)>=0}i(eW,"Jdb");function K_(e,n){return Dc(e,n)!=0}i(K_,"Pdb");function tW(e,n){return $un(e.Kc(),n)}i(tW,"ar");function Wb(e,n){return e.Rd().Xb(n)}i(Wb,"Qm");function PSt(e){return Yh(e),e.d.gc()}i(PSt,"kg");function rW(e){return oM(e==null),e}i(rW,"fE");function X_(e,n){return e.a+=""+n,e}i(X_,"Mhb");function pl(e,n){return e.a+=""+n,e}i(pl,"Nhb");function Q_(e,n){return e.a+=""+n,e}i(Q_,"Whb");function qc(e,n){return e.a+=""+n,e}i(qc,"Yhb");function Ei(e,n){return e.a+=""+n,e}i(Ei,"Zhb");function r6e(e,n){return e.a+=""+n,e}i(r6e,"Vhb");function $Qr(e){return""+(ln(e),e)}i($Qr,"Pfb");function BSt(e){Ah(this),IM(this,e)}i(BSt,"Vsb");function FSt(){H8e(),QAe.call(this)}i(FSt,"YFc");function $St(e,n){r8e.call(this,e,n)}i($St,"pxb");function GSt(e,n){r8e.call(this,e,n)}i(GSt,"txb");function nW(e,n){r8e.call(this,e,n)}i(nW,"xxb");function zo(e,n){Xa(e,n,e.c.b,e.c)}i(zo,"Oub");function W4(e,n){Xa(e,n,e.a,e.a.a)}i(W4,"Nub");function n6e(e){return _r(e,0),null}i(n6e,"Iob");function jSt(){this.b=0,this.a=!1}i(jSt,"Xvb");function zSt(){this.b=0,this.a=!1}i(zSt,"dwb");function USt(){this.b=new n5(zk(12))}i(USt,"Et");function VSt(){VSt=z,vYt=ni(ehe())}i(VSt,"pMb");function HSt(){HSt=z,jKt=ni(t$t())}i(HSt,"ncc");function qSt(){qSt=z,uer=ni(N9t())}i(qSt,"aZc");function i6e(){i6e=z,ESe(),YOe=new zn}i(i6e,"WA");function lg(e){return e.a=0,e.b=0,e}i(lg,"hjd");function WSt(e,n){return e.a=n.g+1,e}i(WSt,"qfd");function Voe(e,n){_k.call(this,e,n)}i(Voe,"yNd");function xr(e,n){ja.call(this,e,n)}i(xr,"lGd");function Y4(e,n){e6e.call(this,e,n)}i(Y4,"N$d");function YSt(e,n){UB.call(this,e,n)}i(YSt,"Whe");function Hoe(e,n){l7.call(this,e,n)}i(Hoe,"She");function Bi(e,n){Dq(),ji(YZ,e,n)}i(Bi,"RRd");function KSt(e,n){e.q.setTime(j2(n))}i(KSt,"sB");function GQr(e){p.clearTimeout(e)}i(GQr,"Xz");function jQr(e){return li(e),new J_(e)}i(jQr,"cr");function XSt(e,n){return Ze(e)===Ze(n)}i(XSt,"mb");function QSt(e,n){return e.a.a.a.cc(n)}i(QSt,"Mw");function qoe(e,n){return od(e.a,0,n)}i(qoe,"qeb");function a6e(e){return Vnn(y(e,74))}i(a6e,"SSb");function l5(e){return Fs((ln(e),e))}i(l5,"Nfb");function zQr(e){return Fs((ln(e),e))}i(zQr,"Ofb");function JSt(e){return Au(e.l,e.m,e.h)}i(JSt,"gD");function s6e(e,n){return Lc(e.a,n.a)}i(s6e,"egb");function UQr(e,n){return F8t(e.a,n.a)}i(UQr,"ygb");function VQr(e,n){return ga(e.a,n.a)}i(VQr,"Sfb");function M0(e,n){return e.indexOf(n)}i(M0,"qhb");function HQr(e,n){return e.j[n.p]==2}i(HQr,"nOc");function bx(e,n){return e==n?0:e?1:-1}i(bx,"cz");function iW(e){return e<10?"0"+e:""+e}i(iW,"AB");function Ul(e){return typeof e===QMe}i(Ul,"Kdb");function qQr(e){return e==pT||e==x3}i(qQr,"oZb");function WQr(e){return e==pT||e==w3}i(WQr,"pZb");function ZSt(e,n){return Lc(e.g,n.g)}i(ZSt,"ELb");function o6e(e){return Pl(e.b.b,e,0)}i(o6e,"Q4b");function e5t(){_W.call(this,0,0,0,0)}i(e5t,"Q2b");function I0(){lSe.call(this,new _y)}i(I0,"Iub");function l6e(e,n){W8(e,0,e.length,n)}i(l6e,"Znb");function YQr(e,n){return It(e.a,n),n}i(YQr,"Eyb");function KQr(e,n){return _p(),n.a+=e}i(KQr,"Fkc");function XQr(e,n){return _p(),n.a+=e}i(XQr,"Hkc");function QQr(e,n){return _p(),n.c+=e}i(QQr,"Gkc");function JQr(e,n){return It(e.c,n),e}i(JQr,"ied");function c6e(e,n){return Mf(e.a,n),e}i(c6e,"Ped");function t5t(e){this.a=HEt(),this.b=e}i(t5t,"ttb");function r5t(e){this.a=HEt(),this.b=e}i(r5t,"Ntb");function Uo(e){this.a=e.a,this.b=e.b}i(Uo,"sjd");function J_(e){this.a=e,kse.call(this)}i(J_,"Dl");function n5t(e){this.a=e,kse.call(this)}i(n5t,"Gl");function c5(){sd.call(this,0,0,0,0)}i(c5,"Tid");function aW(e){return Mf(new ws,e)}i(aW,"vfd");function i5t(e){return KW(y(e,123))}i(i5t,"Ksd");function uf(e){return e.vh()&&e.wh()}i(uf,"Mvd");function K4(e){return e!=o0&&e!=Ov}i(K4,"Dod");function k1(e){return e==_l||e==Gl}i(k1,"Dmd");function X4(e){return e==Cd||e==a0}i(X4,"Emd");function a5t(e){return e==sE||e==aE}i(a5t,"xDc");function ZQr(e,n){return Lc(e.g,n.g)}i(ZQr,"yrc");function s5t(e,n){return new l7(n,e)}i(s5t,"Yfe");function eJr(e,n){return new l7(n,e)}i(eJr,"Zfe");function u6e(e){return xrn(e.b.Kc(),e.a)}i(u6e,"lr");function Woe(e,n){m7(e,n),t7(e,e.D)}i(Woe,"IXd");function Yoe(e,n,s){$Y(e,n),FY(e,s)}i(Yoe,"Uxd");function Q4(e,n,s){Gx(e,n),$x(e,s)}i(Q4,"zyd");function nd(e,n,s){Du(e,n),_u(e,s)}i(nd,"Byd");function GB(e,n,s){Q8(e,n),Z8(e,s)}i(GB,"Gzd");function jB(e,n,s){J8(e,n),e7(e,s)}i(jB,"Nzd");function o5t(e,n,s){q6e.call(this,e,n,s)}i(o5t,"eh");function h6e(e){ASt.call(this,e,!0)}i(h6e,"zId");function l5t(){Iq.call(this,"Tail",3)}i(l5t,"nAb");function c5t(){Iq.call(this,"Head",1)}i(c5t,"iAb");function Yb(e){z0(),Oun.call(this,e)}i(Yb,"ejb");function vx(e){_W.call(this,e,e,e,e)}i(vx,"A3b");function Koe(e){e.c=ot(Hs,Gr,1,0,5,1)}i(Koe,"Pmb");function f6e(e){return e.b&&pfe(e),e.a}i(f6e,"yRb");function d6e(e){return e.b&&pfe(e),e.c}i(d6e,"zRb");function tJr(e,n){e0||(e.b=n)}i(tJr,"mBb");function rJr(e,n){return e[e.length]=n}i(rJr,"YCb");function nJr(e,n){return e[e.length]=n}i(nJr,"_Cb");function iJr(e,n){return Uk(n,Fg(e))}i(iJr,"l5b");function aJr(e,n){return Uk(n,Fg(e))}i(aJr,"m5b");function sJr(e,n){return VY(Hle(e.d),n)}i(sJr,"DDd");function oJr(e,n){return VY(Hle(e.g),n)}i(oJr,"EDd");function lJr(e,n){return VY(Hle(e.j),n)}i(lJr,"FDd");function yo(e,n){ja.call(this,e.b,n)}i(yo,"mGd");function cJr(e,n){Jn($c(e.a),DRt(n))}i(cJr,"s0d");function uJr(e,n){Jn(Wh(e.a),_Rt(n))}i(uJr,"B4d");function hJr(e,n,s){nd(s,s.i+e,s.j+n)}i(hJr,"Asd");function u5t(e,n,s){Ka(e.c[n.g],n.g,s)}i(u5t,"eFc");function fJr(e,n,s){y(e.c,71).Gi(n,s)}i(fJr,"zVd");function Xoe(e,n,s){return Ka(e,n,s),s}i(Xoe,"LMd");function h5t(e){Lu(e.Sf(),new Dxt(e))}i(h5t,"DJb");function J4(e){return e!=null?ka(e):0}i(J4,"Gvb");function dJr(e){return e==null?0:ka(e)}i(dJr,"aOd");function Z_(e){Wi(),ax.call(this,e)}i(Z_,"iue");function f5t(e){this.a=e,AAe.call(this,e)}i(f5t,"Ug");function Pg(){Pg=z,p.Math.log(2)}i(Pg,"Zy");function id(){id=z,r1=(gEt(),Enr)}i(id,"s7d");function d5t(){d5t=z,Mme=new qM(q1e)}i(d5t,"FRc");function hi(){hi=z,new p5t,new Mt}i(hi,"Hde");function p5t(){new zn,new zn,new zn}i(p5t,"Ide");function pJr(){throw me(new wy(Xqt))}i(pJr,"yue");function gJr(){throw me(new wy(Xqt))}i(gJr,"Nue");function mJr(){throw me(new wy(Qqt))}i(mJr,"Bue");function yJr(){throw me(new wy(Qqt))}i(yJr,"Que");function Qoe(e){this.a=e,xq.call(this,e)}i(Qoe,"Gp");function Joe(e){this.a=e,xq.call(this,e)}i(Joe,"Np");function g5t(e,n){Rx(),this.a=e,this.b=n}i(g5t,"Sq");function bJr(e,n){li(n),iC(e).Jc(new P)}i(bJr,"Jh");function gs(e,n){Lle(e.c,e.c.length,n)}i(gs,"_mb");function tc(e){return e.an?1:0}i(Lc,"hgb");function g6e(e,n){return Dc(e,n)>0?e:n}i(g6e,"Kgb");function Au(e,n,s){return{l:e,m:n,h:s}}i(Au,"hD");function vJr(e,n){e.a!=null&&LSt(n,e.a)}i(vJr,"Mvb");function wJr(e){Fo(e,null),ho(e,null)}i(wJr,"Lhc");function xJr(e,n,s){return ji(e.g,s,n)}i(xJr,"xkc");function Z4(e,n,s){return FLe(n,s,e.c)}i(Z4,"bFc");function TJr(e,n,s){return ji(e.k,s,n)}i(TJr,"jOc");function kJr(e,n,s){return l4n(e,n,s),s}i(kJr,"pOc");function CJr(e,n){return Af(),n.n.b+=e}i(CJr,"FOc");function y5t(e){F8e.call(this),this.b=e}i(y5t,"lUb");function m6e(e){nAe.call(this),this.a=e}i(m6e,"y2b");function b5t(){Iq.call(this,"Range",2)}i(b5t,"kAb");function sW(e){this.b=e,this.a=new Mt}i(sW,"$Fb");function v5t(e){this.b=new jn,this.a=e}i(v5t,"WQb");function w5t(e){e.a=new qe,e.c=new qe}i(w5t,"Lub");function x5t(e){e.a=new zn,e.d=new zn}i(x5t,"nrc");function T5t(e){dce(e,null),pce(e,null)}i(T5t,"$Sc");function k5t(e,n){return u4n(e.a,n,null)}i(k5t,"a2d");function EJr(e,n){return ji(e.a,n.a,n)}i(EJr,"Cdd");function ko(e){return new St(e.a,e.b)}i(ko,"ajd");function y6e(e){return new St(e.c,e.d)}i(y6e,"Pid");function SJr(e){return new St(e.c,e.d)}i(SJr,"Qid");function eM(e,n){return T3n(e.c,e.b,n)}i(eM,"Ake");function $e(e,n){return e!=null&&ihe(e,n)}i($e,"ZD");function Zoe(e,n){return ghn(e.Kc(),n)!=-1}i(Zoe,"br");function oW(e){return e.Ob()?e.Pb():null}i(oW,"Hr");function AJr(e){this.b=(Dr(),new Ise(e))}i(AJr,"_p");function b6e(e){this.a=e,zn.call(this)}i(b6e,"zke");function C5t(){UB.call(this,null,null)}i(C5t,"Uhe");function E5t(){pW.call(this,null,null)}i(E5t,"Yhe");function S5t(){ti.call(this,"INSTANCE",0)}i(S5t,"As");function A5t(){yDe(),this.a=new u9(gBe)}i(A5t,"dXb");function R5t(e){return qd(e,0,e.length)}i(R5t,"Hhb");function RJr(e,n){return new q5t(e.Kc(),n)}i(RJr,"Rv");function v6e(e,n){return e.a.Bc(n)!=null}i(v6e,"$sb");function L5t(e,n){Kn(e),e.Gc(y(n,15))}i(L5t,"hZd");function LJr(e,n,s){e.c.bd(n,y(s,136))}i(LJr,"ONd");function DJr(e,n,s){e.c.Ui(n,y(s,136))}i(DJr,"eOd");function D5t(e,n){e.c&&(GAe(n),rRt(n))}i(D5t,"eub");function _Jr(e,n){e.q.setHours(n),g9(e,n)}i(_Jr,"oB");function MJr(e,n){Tx(n,e.a.a.a,e.a.a.b)}i(MJr,"vTb");function IJr(e,n,s,u){Ka(e.a[n.g],s.g,u)}i(IJr,"tKb");function ele(e,n,s){return e.a[n.g][s.g]}i(ele,"oKb");function NJr(e,n){return e.e[n.c.p][n.p]}i(NJr,"AIc");function OJr(e,n){return e.c[n.c.p][n.p]}i(OJr,"TIc");function Bg(e,n){return e.a[n.c.p][n.p]}i(Bg,"pJc");function PJr(e,n){return e.j[n.p]=Wvn(n)}i(PJr,"mOc");function tle(e,n){return e.a.Bc(n)!=null}i(tle,"wAb");function BJr(e,n){return Qe(rt(n.a))<=e}i(BJr,"wXc");function FJr(e,n){return Qe(rt(n.a))>=e}i(FJr,"xXc");function $Jr(e,n){return k7e(e.f,n.Pg())}i($Jr,"vhd");function u5(e,n){return e.a*n.a+e.b*n.b}i(u5,"cjd");function GJr(e,n){return e.a0?n/(e*e):n*100}i(uZr,"yUb");function hZr(e,n){return e>0?n*n/e:n*n*100}i(hZr,"FUb");function Ak(e,n){return y(Vg(e.a,n),34)}i(Ak,"$5b");function fZr(e,n){return fv(),Sr(e,n.e,n)}i(fZr,"doc");function dZr(e,n,s){return Aq(),s.Mg(e,n)}i(dZr,"NCc");function pZr(e){return I1(),e.e.a+e.f.a/2}i(pZr,"L0c");function gZr(e,n,s){return I1(),s.e.a-e*n}i(gZr,"N0c");function mZr(e){return I1(),e.e.b+e.f.b/2}i(mZr,"V0c");function yZr(e,n,s){return I1(),s.e.b-e*n}i(yZr,"X0c");function s6t(e){e.d=new n6t(e),e.e=new zn}i(s6t,"_tb");function o6t(){this.a=new Nx,this.b=new Nx}i(o6t,"x3c");function l6t(e){this.c=e,this.a=1,this.b=1}i(l6t,"hmc");function c6t(e){Dfe(),S3t(this),this.Ff(e)}i(c6t,"C$b");function bZr(e,n,s){EY(),e.pf(n)&&s.Cd(e)}i(bZr,"Efd");function vZr(e,n,s){return It(n,wNt(e,s))}i(vZr,"Red");function Tx(e,n,s){return e.a+=n,e.b+=s,e}i(Tx,"Zid");function wZr(e,n,s){return e.a*=n,e.b*=s,e}i(wZr,"jjd");function B6e(e,n){return e.a=n.a,e.b=n.b,e}i(B6e,"mjd");function gW(e){return e.a=-e.a,e.b=-e.b,e}i(gW,"fjd");function iM(e,n,s){return e.a-=n,e.b-=s,e}i(iM,"njd");function u6t(e){Da.call(this),LM(this,e)}i(u6t,"Gjd");function h6t(){ti.call(this,"GROW_TREE",0)}i(h6t,"Dbd");function f6t(){ti.call(this,"POLYOMINO",0)}i(f6t,"WRb");function ff(e,n,s){hh.call(this,e,n,s,2)}i(ff,"SVd");function xZr(e,n,s){VM($c(e.a),n,DRt(s))}i(xZr,"r0d");function d6t(e,n){P_(),UB.call(this,e,n)}i(d6t,"e3d");function F6e(e,n){Ey(),pW.call(this,e,n)}i(F6e,"D3d");function p6t(e,n){Ey(),F6e.call(this,e,n)}i(p6t,"F3d");function g6t(e,n){Ey(),pW.call(this,e,n)}i(g6t,"H3d");function TZr(e,n){return e.c.Fc(y(n,136))}i(TZr,"PNd");function kZr(e,n,s){VM(Wh(e.a),n,_Rt(s))}i(kZr,"A4d");function m6t(e){this.c=e,Du(e,0),_u(e,0)}i(m6t,"Ard");function ole(e,n){id(),NW.call(this,e,n)}i(ole,"Z8d");function y6t(e,n){id(),ole.call(this,e,n)}i(y6t,"_8d");function $6e(e,n){id(),ole.call(this,e,n)}i($6e,"b9d");function G6e(e,n){id(),NW.call(this,e,n)}i(G6e,"n9d");function b6t(e,n){id(),$6e.call(this,e,n)}i(b6t,"d9d");function v6t(e,n){id(),G6e.call(this,e,n)}i(v6t,"p9d");function w6t(e,n){id(),NW.call(this,e,n)}i(w6t,"v9d");function CZr(e,n,s){return n.zl(e.e,e.c,s)}i(CZr,"lge");function EZr(e,n,s){return n.Al(e.e,e.c,s)}i(EZr,"nge");function j6e(e,n,s){return mX(LF(e,n),s)}i(j6e,"Wee");function lle(e,n){return ov(e.e,y(n,54))}i(lle,"Age");function SZr(e){return e==null?null:Q4n(e)}i(SZr,"_me");function AZr(e){return e==null?null:V1n(e)}i(AZr,"dne");function RZr(e){return e==null?null:Hl(e)}i(RZr,"gne");function LZr(e){return e==null?null:Hl(e)}i(LZr,"hne");function Yt(e){return oM(e==null||Ek(e)),e}i(Yt,"TD");function rt(e){return oM(e==null||Sk(e)),e}i(rt,"UD");function pi(e){return oM(e==null||oo(e)),e}i(pi,"WD");function C1(e){e.o==null&&Tvn(e)}i(C1,"lfb");function z6e(e){if(!e)throw me(new pB)}i(z6e,"lFb");function DZr(e){if(!e)throw me(new Fse)}i(DZr,"pFb");function Sn(e){if(!e)throw me(new Zl)}i(Sn,"sFb");function Rk(e){if(!e)throw me(new ah)}i(Rk,"yFb");function x6t(e){if(!e)throw me(new rd)}i(x6t,"zmb");function R8(){R8=z,Lj=new i4t,new a4t}i(R8,"jQd");function nC(){nC=z,cE=new ea("root")}i(nC,"u2c");function U6e(){n9t.call(this),this.Bb|=Xo}i(U6e,"d6d");function _Zr(e,n){this.d=e,nxt(this),this.b=n}i(_Zr,"Pg");function V6e(e,n){Oce.call(this,e),this.a=n}i(V6e,"WCb");function H6e(e,n){Oce.call(this,e),this.a=n}i(H6e,"oDb");function q6e(e,n,s){xY.call(this,e,n,s,null)}i(q6e,"bh");function T6t(e,n,s){xY.call(this,e,n,s,null)}i(T6t,"fh");function qB(e,n){this.c=e,w8.call(this,e,n)}i(qB,"Mf");function aM(e,n){this.a=e,qB.call(this,e,n)}i(aM,"Uf");function W6e(e){this.q=new p.Date(j2(e))}i(W6e,"wB");function k6t(e){return e>8?0:e+1}i(k6t,"OPb");function C6t(e,n){e0||It(e.a,n)}i(C6t,"iBb");function MZr(e,n){return CB(),o7(n.d.i,e)}i(MZr,"P5b");function IZr(e,n){return I5(),new eGt(n,e)}i(IZr,"qdc");function NZr(e,n,s){return e.Ne(n,s)<=0?s:n}i(NZr,"HAb");function OZr(e,n,s){return e.Ne(n,s)<=0?n:s}i(OZr,"IAb");function PZr(e,n){return y(Vg(e.b,n),143)}i(PZr,"rgd");function BZr(e,n){return y(Vg(e.c,n),233)}i(BZr,"tgd");function cle(e){return y(Xt(e.a,e.b),294)}i(cle,"amc");function E6t(e){return new St(e.c,e.d+e.a)}i(E6t,"Mid");function S6t(e){return ln(e),e?1231:1237}i(S6t,"Jeb");function A6t(e){return Af(),a5t(y(e,203))}i(A6t,"EPc");function Lk(){Lk=z,UPe=pr((mf(),Lw))}i(Lk,"RMb");function FZr(e,n){n.a?zbn(e,n):tle(e.a,n.b)}i(FZr,"YQb");function WB(e,n,s){++e.j,e.tj(),Nce(e,n,s)}i(WB,"aJd");function R6t(e,n,s){++e.j,e.qj(n,e.Zi(n,s))}i(R6t,"$Id");function L6t(e,n,s){var u;u=e.fd(n),u.Rb(s)}i(L6t,"B2d");function Y6e(e,n,s){return s=Of(e,n,6,s),s}i(Y6e,"Bzd");function K6e(e,n,s){return s=Of(e,n,3,s),s}i(K6e,"izd");function X6e(e,n,s){return s=Of(e,n,9,s),s}i(X6e,"KCd");function O0(e,n){return uF(n,w9e),e.f=n,e}i(O0,"SKb");function Q6e(e,n){return(n&Yi)%e.d.length}i(Q6e,"bOd");function D6t(e,n,s){return DMe(e.c,e.b,n,s)}i(D6t,"Bke");function _6t(e,n){this.c=e,Fx.call(this,n)}i(_6t,"ZLd");function M6t(e,n){this.a=e,b3t.call(this,n)}i(M6t,"w0d");function YB(e,n){this.a=e,b3t.call(this,n)}i(YB,"F4d");function ja(e,n){ea.call(this,e),this.a=n}i(ja,"kGd");function J6e(e,n){xSe.call(this,e),this.a=n}i(J6e,"U6d");function ule(e,n){xSe.call(this,e),this.a=n}i(ule,"S9d");function $Zr(e){MLe.call(this,0,0),this.f=e}i($Zr,"jQb");function I6t(e,n,s){return e.a+=qd(n,0,s),e}i(I6t,"_hb");function KB(e){return!e.a&&(e.a=new Q),e.a}i(KB,"_A");function Z6e(e,n){var s;return s=e.e,e.e=n,s}i(Z6e,"qlb");function eAe(e,n){var s;return s=n,!!e.Fe(s)}i(eAe,"Clb");function GZr(e,n){return Hr(),e==n?0:e?1:-1}i(GZr,"Keb");function Dk(e,n){e.a.bd(e.b,n),++e.b,e.c=-1}i(Dk,"Ikb");function XB(e){e.b?XB(e.b):e.f.c.zc(e.e,e.d)}i(XB,"hg");function N6t(e){Ah(e.e),e.d.b=e.d,e.d.a=e.d}i(N6t,"aub");function jZr(e,n,s){M2(),ext(e,n.Ve(e.a,s))}i(jZr,"VDb");function tAe(e,n,s){return w5(e,y(n,22),s)}i(tAe,"Xrb");function Dp(e,n){return mq(new Array(n),e)}i(Dp,"WEb");function zZr(e){return oi(Xb(e,32))^oi(e)}i(zZr,"Fgb");function hle(e){return String.fromCharCode(e)}i(hle,"XD");function UZr(e){return e==null?null:e.message}i(UZr,"Dz");function VZr(e,n,s){return e.apply(n,s);var u}i(VZr,"Rz");function HZr(e,n){var s;s=e[ude],s.call(e,n)}i(HZr,"Btb");function qZr(e,n){var s;s=e[ude],s.call(e,n)}i(qZr,"Ctb");function WZr(e,n){return CB(),!o7(n.d.i,e)}i(WZr,"O5b");function rAe(e,n,s,u){_W.call(this,e,n,s,u)}i(rAe,"R2b");function O6t(){mW.call(this),this.a=new mo}i(O6t,"TJb");function nAe(){this.n=new mo,this.o=new mo}i(nAe,"v2b");function P6t(){this.b=new mo,this.c=new Mt}i(P6t,"kGb");function B6t(){this.a=new Mt,this.b=new Mt}i(B6t,"cUb");function F6t(){this.a=new st,this.b=new P3t}i(F6t,"kWb");function iAe(){this.b=new _y,this.a=new _y}i(iAe,"e6b");function $6t(){this.b=new ys,this.a=new ys}i($6t,"jIc");function G6t(){this.b=new zn,this.a=new zn}i(G6t,"vYc");function j6t(){this.b=new dCt,this.a=new Bmt}i(j6t,"fWc");function z6t(){this.a=new J2t,this.b=new R0t}i(z6t,"Yhc");function U6t(){this.a=new Mt,this.d=new Mt}i(U6t,"lNc");function mW(){this.n=new QS,this.i=new c5}i(mW,"RJb");function V6t(e){this.a=(_f(e,c3),new pu(e))}i(V6t,"hq");function H6t(e){this.a=(_f(e,c3),new pu(e))}i(H6t,"oq");function YZr(e){return e<100?null:new Ub(e)}i(YZr,"tLd");function KZr(e,n){return e.n.a=(ln(n),n+10)}i(KZr,"Lac");function XZr(e,n){return e.n.a=(ln(n),n+10)}i(XZr,"Mac");function QZr(e,n){return n==e||D7(ZK(n),e)}i(QZr,"DYd");function q6t(e,n){return ji(e.a,n,"")==null}i(q6t,"nae");function JZr(e,n){var s;return s=n.qi(e.a),s}i(JZr,"Hee");function Xi(e,n){return e.a+=n.a,e.b+=n.b,e}i(Xi,"$id");function Us(e,n){return e.a-=n.a,e.b-=n.b,e}i(Us,"ojd");function ZZr(e){return wk(e.j.c,0),e.a=-1,e}i(ZZr,"sfd");function aAe(e,n,s){return s=Of(e,n,11,s),s}i(aAe,"rCd");function een(e,n,s){s!=null&&HY(n,ghe(e,s))}i(een,"SDd");function ten(e,n,s){s!=null&&qY(n,ghe(e,s))}i(ten,"TDd");function d5(e,n,s,u){xt.call(this,e,n,s,u)}i(d5,"G5d");function sAe(e,n,s,u){xt.call(this,e,n,s,u)}i(sAe,"oie");function W6t(e,n,s,u){sAe.call(this,e,n,s,u)}i(W6t,"sie");function Y6t(e,n,s,u){jW.call(this,e,n,s,u)}i(Y6t,"Nie");function fle(e,n,s,u){jW.call(this,e,n,s,u)}i(fle,"Pie");function oAe(e,n,s,u){jW.call(this,e,n,s,u)}i(oAe,"Vie");function K6t(e,n,s,u){fle.call(this,e,n,s,u)}i(K6t,"Tie");function lAe(e,n,s,u){fle.call(this,e,n,s,u)}i(lAe,"$ie");function Ir(e,n,s,u){oAe.call(this,e,n,s,u)}i(Ir,"Yie");function X6t(e,n,s,u){lAe.call(this,e,n,s,u)}i(X6t,"bje");function Q6t(e,n,s,u){s8e.call(this,e,n,s,u)}i(Q6t,"Dje");function _k(e,n){kl.call(this,V9+e+uw+n)}i(_k,"aMd");function cAe(e,n){return e.jk().wi().ri(e,n)}i(cAe,"Hje");function uAe(e,n){return e.jk().wi().ti(e,n)}i(uAe,"Ije");function J6t(e,n){return ln(e),Ze(e)===Ze(n)}i(J6t,"Lfb");function kr(e,n){return ln(e),Ze(e)===Ze(n)}i(kr,"lhb");function ren(e,n){return e.b.Bd(new xEt(e,n))}i(ren,"mEb");function nen(e,n){return e.b.Bd(new TEt(e,n))}i(nen,"sEb");function Z6t(e,n){return e.b.Bd(new kEt(e,n))}i(Z6t,"yEb");function ien(e,n){return e.e=y(e.d.Kb(n),159)}i(ien,"Bk");function hAe(e,n,s){return e.lastIndexOf(n,s)}i(hAe,"uhb");function aen(e,n,s){return ga(e[n.a],e[s.a])}i(aen,"wWb");function sen(e,n){return Tt(n,(Ht(),jG),e)}i(sen,"TWb");function oen(e,n){return Lc(n.a.d.p,e.a.d.p)}i(oen,"Lpc");function len(e,n){return Lc(e.a.d.p,n.a.d.p)}i(len,"Kpc");function cen(e,n){return ga(e.c-e.s,n.c-n.s)}i(cen,"zTc");function uen(e,n){return ga(e.b.e.a,n.b.e.a)}i(uen,"qWc");function hen(e,n){return ga(e.c.e.a,n.c.e.a)}i(hen,"sWc");function eAt(e){return e.c?Pl(e.c.a,e,0):-1}i(eAt,"$2b");function p5(e){return e==Rw||e==e1||e==nu}i(p5,"Cod");function fAe(e,n){this.c=e,$le.call(this,e,n)}i(fAe,"CMd");function tAt(e,n,s){this.a=e,N6e.call(this,n,s)}i(tAt,"fq");function rAt(e){this.c=e,nW.call(this,G$,0)}i(rAt,"YDb");function nAt(e,n,s){this.c=n,this.b=s,this.a=e}i(nAt,"rk");function QB(e){D8(),this.d=e,this.a=new tC}i(QB,"DMc");function iAt(e){P0(),this.a=(Dr(),new p8(e))}i(iAt,"ho");function fen(e,n){k1(e.f)?pvn(e,n):Hmn(e,n)}i(fen,"Xmc");function aAt(e,n){Ern.call(this,e,e.length,n)}i(aAt,"Lxb");function den(e,n){e0||n&&(e.d=n)}i(den,"nBb");function sAt(e,n){return $e(n,15)&&N$t(e.c,n)}i(sAt,"ZNd");function pen(e,n,s){return y(e.c,71).Wk(n,s)}i(pen,"AVd");function yW(e,n,s){return y(e.c,71).Xk(n,s)}i(yW,"BVd");function gen(e,n,s){return CZr(e,y(n,343),s)}i(gen,"mge");function dAe(e,n,s){return EZr(e,y(n,343),s)}i(dAe,"oge");function men(e,n,s){return APt(e,y(n,343),s)}i(men,"Ige");function oAt(e,n,s){return i1n(e,y(n,343),s)}i(oAt,"Kge");function sM(e,n){return n==null?null:Wk(e.b,n)}i(sM,"Fn");function pAe(e){return Sk(e)?(ln(e),e):e.ue()}i(pAe,"Qeb");function bW(e){return!isNaN(e)&&!isFinite(e)}i(bW,"Rfb");function dle(e){w5t(this),Sf(this),xo(this,e)}i(dle,"Zub");function Sh(e){Koe(this),DAe(this.c,0,e.Pc())}i(Sh,"dnb");function ad(e,n,s){this.a=e,this.b=n,this.c=s}i(ad,"Fsb");function lAt(e,n,s){this.a=e,this.b=n,this.c=s}i(lAt,"Vtb");function cAt(e,n,s){this.d=e,this.b=s,this.a=n}i(cAt,"hvb");function uAt(e){this.a=e,T1(),Cc(Date.now())}i(uAt,"aBb");function hAt(e){pf(e.a),L7e(e.c,e.b),e.b=null}i(hAt,"wzb");function ple(){ple=z,mPe=new Ue,SWt=new We}i(ple,"wvb");function fAt(){fAt=z,_nr=ot(Hs,Gr,1,0,5,1)}i(fAt,"KMd");function dAt(){dAt=z,Knr=ot(Hs,Gr,1,0,5,1)}i(dAt,"TTd");function gAe(){gAe=z,Xnr=ot(Hs,Gr,1,0,5,1)}i(gAe,"yUd");function P0(){P0=z,new CSe((Dr(),Dr(),Po))}i(P0,"_l");function yen(e){return Y8(),ri((v_t(),LWt),e)}i(yen,"gAb");function ben(e){return Dh(),ri((c_t(),OWt),e)}i(ben,"zBb");function ven(e){return EK(),ri((YLt(),jWt),e)}i(ven,"FHb");function wen(e){return MY(),ri((KLt(),zWt),e)}i(wen,"NHb");function xen(e){return oX(),ri((Y9t(),UWt),e)}i(xen,"kIb");function Ten(e){return pg(),ri((o_t(),qWt),e)}i(Ten,"_Jb");function ken(e){return Lh(),ri((s_t(),YWt),e)}i(ken,"GKb");function Cen(e){return Yu(),ri((l_t(),XWt),e)}i(Cen,"xLb");function Een(e){return xX(),ri((VSt(),vYt),e)}i(Een,"mMb");function Sen(e){return Vx(),ri((x_t(),xYt),e)}i(Sen,"oOb");function Aen(e){return $5(),ri((k_t(),kYt),e)}i(Aen,"KPb");function Ren(e){return QM(),ri((T_t(),SYt),e)}i(Ren,"KRb");function Len(e){return Eq(),ri((wLt(),AYt),e)}i(Len,"XRb");function Den(e){return IY(),ri((XLt(),VYt),e)}i(Den,"VUb");function _en(e){return AM(),ri((u_t(),mKt),e)}i(_en,"CWb");function Men(e){return Io(),ri((iMt(),wKt),e)}i(Men,"uXb");function Ien(e){return u7(),ri((E_t(),EKt),e)}i(Ien,"tZb");function Nen(e){return Q2(),ri((C_t(),_Kt),e)}i(Nen,"W$b");function mAe(e,n){if(!e)throw me(new Jr(n))}i(mAe,"Mb");function L8(e){if(!e)throw me(new Cl(JMe))}i(L8,"Vb");function gle(e,n){if(e!=n)throw me(new rd)}i(gle,"rFb");function pAt(e,n,s){this.a=e,this.b=n,this.c=s}i(pAt,"KQb");function yAe(e,n,s){this.a=e,this.b=n,this.c=s}i(yAe,"lRb");function gAt(e,n,s){this.a=e,this.b=n,this.c=s}i(gAt,"h7b");function vW(e,n,s){this.b=e,this.a=n,this.c=s}i(vW,"J0b");function bAe(e,n,s){this.b=e,this.c=n,this.a=s}i(bAe,"dNb");function vAe(e,n,s){this.a=e,this.b=n,this.c=s}i(vAe,"oac");function wW(e,n,s){this.e=n,this.b=e,this.d=s}i(wW,"F1b");function mAt(e,n,s){this.b=e,this.a=n,this.c=s}i(mAt,"Ecc");function Oen(e,n,s){return M2(),e.a.Yd(n,s),n}i(Oen,"UDb");function mle(e){var n;return n=new rn,n.e=e,n}i(mle,"CJb");function wAe(e){var n;return n=new j3t,n.b=e,n}i(wAe,"_Nb");function JB(){JB=z,QQ=new npt,JQ=new ipt}i(JB,"U9b");function xW(){xW=z,qKt=new _pt,HKt=new Mpt}i(xW,"Rec");function _p(){_p=z,QKt=new Ggt,JKt=new jgt}i(_p,"lkc");function Pen(e){return zx(),ri((jDt(),lXt),e)}i(Pen,"loc");function Ben(e){return jo(),ri((HSt(),jKt),e)}i(Ben,"kcc");function Fen(e){return iK(),ri((A_t(),VKt),e)}i(Fen,"yec");function $en(e){return qg(),ri((S_t(),tXt),e)}i($en,"gnc");function Gen(e){return Jk(),ri((aMt(),nXt),e)}i(Gen,"Enc");function jen(e){return aX(),ri((I9t(),cXt),e)}i(jen,"gpc");function zen(e){return U5(),ri((DMt(),uXt),e)}i(zen,"dtc");function Uen(e){return CY(),ri((nDt(),hXt),e)}i(Uen,"ltc");function Ven(e){return DM(),ri(($Dt(),fXt),e)}i(Ven,"xtc");function Hen(e){return jY(),ri((GDt(),dXt),e)}i(Hen,"Gtc");function qen(e){return jy(),ri((sMt(),pXt),e)}i(qen,"Utc");function Wen(e){return NF(),ri((ZLt(),gXt),e)}i(Wen,"auc");function Yen(e){return M7(),ri((IMt(),xXt),e)}i(Yen,"avc");function Ken(e){return sl(),ri((uIt(),TXt),e)}i(Ken,"qvc");function Xen(e){return c7(),ri((UDt(),kXt),e)}i(Xen,"zvc");function Qen(e){return M1(),ri((VDt(),EXt),e)}i(Qen,"Ivc");function Jen(e){return dY(),ri((JLt(),SXt),e)}i(Jen,"Qvc");function Zen(e){return d$(),ri((MMt(),wXt),e)}i(Zen,"Quc");function etn(e){return Y2(),ri((zDt(),yXt),e)}i(etn,"juc");function ttn(e){return qK(),ri((_Mt(),bXt),e)}i(ttn,"wuc");function rtn(e){return AF(),ri((eDt(),vXt),e)}i(rtn,"Euc");function ntn(e){return md(),ri((lMt(),AXt),e)}i(ntn,"exc");function itn(e){return qy(),ri((H9t(),QJt),e)}i(itn,"eDc");function atn(e){return GM(),ri((HDt(),JJt),e)}i(atn,"oDc");function stn(e){return Xk(),ri((R_t(),ZJt),e)}i(stn,"ADc");function otn(e){return XM(),ri((oMt(),eZt),e)}i(otn,"ODc");function ltn(e){return Yd(),ri((hIt(),tZt),e)}i(ltn,"cEc");function ctn(e){return G0(),ri((L_t(),rZt),e)}i(ctn,"mEc");function utn(e){return MF(),ri((tDt(),nZt),e)}i(utn,"uEc");function htn(e){return al(),ri((YDt(),aZt),e)}i(htn,"DEc");function ftn(e){return tK(),ri((qDt(),sZt),e)}i(ftn,"MEc");function dtn(e){return BM(),ri((WDt(),oZt),e)}i(dtn,"VEc");function ptn(e){return y7(),ri((KDt(),lZt),e)}i(ptn,"nFc");function gtn(e){return GY(),ri((XDt(),cZt),e)}i(gtn,"wFc");function mtn(e){return aK(),ri((QDt(),uZt),e)}i(mtn,"FFc");function ytn(e){return jx(),ri((a_t(),SZt),e)}i(ytn,"TKc");function btn(e){return CM(),ri((rDt(),_Zt),e)}i(btn,"uNc");function vtn(e){return F0(),ri((sDt(),FZt),e)}i(vtn,"yQc");function wtn(e){return $g(),ri((oDt(),GZt),e)}i(wtn,"GQc");function xtn(e){return hg(),ri((lDt(),ter),e)}i(xtn,"hTc");function Ttn(e){return Ox(),ri((cDt(),ler),e)}i(Ttn,"fVc");function ktn(e){return z5(),ri((P_t(),cer),e)}i(ktn,"bWc");function Ctn(e){return d9(),ri((qSt(),uer),e)}i(Ctn,"ZYc");function Etn(e){return FM(),ri((JDt(),her),e)}i(Etn,"NZc");function Stn(e){return $M(),ri((O_t(),Ner),e)}i(Stn,"u_c");function Atn(e){return uY(),ri((iDt(),Oer),e)}i(Atn,"C_c");function Rtn(e){return YY(),ri((aDt(),Ger),e)}i(Rtn,"C2c");function Ltn(e){return zK(),ri((cMt(),zer),e)}i(Ltn,"j3c");function Dtn(e){return YF(),ri((ZDt(),Ver),e)}i(Dtn,"j4c");function _tn(e){return SY(),ri((uDt(),Uer),e)}i(_tn,"_3c");function Mtn(e){return OK(),ri((N_t(),utr),e)}i(Mtn,"m5c");function Itn(e){return eK(),ri((e_t(),htr),e)}i(Itn,"w5c");function Ntn(e){return wK(),ri((t_t(),ftr),e)}i(Ntn,"h6c");function Otn(e){return _K(),ri((r_t(),ptr),e)}i(Otn,"C6c");function Ptn(e){return pK(),ri((n_t(),ytr),e)}i(Ptn,"b7c");function Btn(e){return bY(),ri((hDt(),Ftr),e)}i(Btn,"E8c");function Ftn(e){return i7(),ri((QLt(),GKt),e)}i(Ftn,"R8b");function $tn(e){return sn(),ri((NMt(),OKt),e)}i($tn,"t3b");function Gtn(e){return AY(),ri((i_t(),$tr),e)}i(Gtn,"g9c");function jtn(e){return fue(),ri((fDt(),Gtr),e)}i(jtn,"G9c");function ztn(e){return c9(),ri((uMt(),ztr),e)}i(ztn,"uad");function Utn(e){return Rq(),ri((RLt(),Vtr),e)}i(Utn,"xbd");function Vtn(e){return e$(),ri((f_t(),Utr),e)}i(Vtn,"ibd");function Htn(e){return Lq(),ri((LLt(),qtr),e)}i(Htn,"Gbd");function qtn(e){return TF(),ri((dDt(),Wtr),e)}i(qtn,"Obd");function Wtn(e){return g$(),ri((hMt(),Ytr),e)}i(Wtn,"Zbd");function Ytn(e){return I_(),ri((DLt(),urr),e)}i(Ytn,"fdd");function Ktn(e){return VF(),ri((pDt(),hrr),e)}i(Ktn,"qdd");function Xtn(e){return mg(),ri((dMt(),brr),e)}i(Xtn,"$hd");function Qtn(e){return Hy(),ri((_9t(),wrr),e)}i(Qtn,"mid");function Jtn(e){return Bm(),ri((OMt(),xrr),e)}i(Jtn,"Tjd");function Ztn(e){return Z2(),ri((PMt(),Arr),e)}i(Ztn,"wkd");function ern(e){return Ts(),ri((fMt(),qrr),e)}i(ern,"Hmd");function trn(e){return Hg(),ri((d_t(),Wrr),e)}i(trn,"Qmd");function rrn(e){return P1(),ri((B_t(),Yrr),e)}i(rrn,"$md");function nrn(e){return VK(),ri((BMt(),Krr),e)}i(nrn,"knd");function irn(e){return O1(),ri((h_t(),Qrr),e)}i(irn,"Hnd");function arn(e){return If(),ri((F_t(),Zrr),e)}i(arn,"Snd");function srn(e){return r3(),ri((W9t(),enr),e)}i(srn,"god");function orn(e){return gC(),ri((pMt(),tnr),e)}i(orn,"rod");function lrn(e){return fo(),ri((FMt(),rnr),e)}i(lrn,"Fod");function crn(e){return _h(),ri(($Mt(),nnr),e)}i(crn,"Tod");function urn(e){return Bt(),ri((gMt(),inr),e)}i(urn,"wpd");function hrn(e){return mf(),ri(($_t(),cnr),e)}i(hrn,"Spd");function frn(e){return Xh(),ri((q9t(),unr),e)}i(frn,"fqd");function drn(e){return P5(),ri((p_t(),hnr),e)}i(drn,"oqd");function prn(e,n){return ln(e),e+(ln(n),n)}i(prn,"zsc");function grn(e){return yle(),ri((gDt(),fnr),e)}i(grn,"wqd");function mrn(e){return mK(),ri((G_t(),dnr),e)}i(mrn,"Ird");function yrn(e){return sK(),ri((j_t(),mnr),e)}i(yrn,"vtd");function D8(){D8=z,$Ge=(Bt(),on),nZ=pn}i(D8,"dMc");function yle(){yle=z,rVe=new qAt,nVe=new _8t}i(yle,"uqd");function brn(e){return!e.e&&(e.e=new Mt),e.e}i(brn,"wJc");function ble(e,n){this.c=e,this.a=n,this.b=n-e}i(ble,"BTc");function yAt(e,n,s){this.a=e,this.b=n,this.c=s}i(yAt,"g8c");function vle(e,n,s){this.a=e,this.b=n,this.c=s}i(vle,"gud");function xAe(e,n,s){this.a=e,this.b=n,this.c=s}i(xAe,"Wdd");function TAe(e,n,s){this.a=e,this.b=n,this.c=s}i(TAe,"ced");function bAt(e,n,s){this.a=e,this.b=n,this.c=s}i(bAt,"pFd");function vAt(e,n,s){this.a=e,this.b=n,this.c=s}i(vAt,"ZPd");function Ay(e,n,s){this.e=e,this.a=n,this.c=s}i(Ay,"g7d");function wAt(e,n,s){id(),G8e.call(this,e,n,s)}i(wAt,"K7d");function wle(e,n,s){id(),k8e.call(this,e,n,s)}i(wle,"f9d");function kAe(e,n,s){id(),k8e.call(this,e,n,s)}i(kAe,"r9d");function CAe(e,n,s){id(),k8e.call(this,e,n,s)}i(CAe,"x9d");function xAt(e,n,s){id(),wle.call(this,e,n,s)}i(xAt,"h9d");function EAe(e,n,s){id(),wle.call(this,e,n,s)}i(EAe,"j9d");function TAt(e,n,s){id(),EAe.call(this,e,n,s)}i(TAt,"l9d");function kAt(e,n,s){id(),kAe.call(this,e,n,s)}i(kAt,"t9d");function CAt(e,n,s){id(),CAe.call(this,e,n,s)}i(CAt,"z9d");function xle(e){_W.call(this,e.d,e.c,e.a,e.b)}i(xle,"S2b");function SAe(e){_W.call(this,e.d,e.c,e.a,e.b)}i(SAe,"B3b");function AAe(e){this.d=e,nxt(this),this.b=ynn(e.d)}i(AAe,"Og");function vrn(e){return N7(),ri((M9t(),Dnr),e)}i(vrn,"cGd");function ZB(e,n){return li(e),li(n),new MCt(e,n)}i(ZB,"gk");function g5(e,n){return li(e),li(n),new BAt(e,n)}i(g5,"dr");function wrn(e,n){return li(e),li(n),new FAt(e,n)}i(wrn,"hr");function xrn(e,n){return li(e),li(n),new jCt(e,n)}i(xrn,"Dr");function Tle(e){return Sn(e.b!=0),hd(e,e.a.a)}i(Tle,"Uub");function Trn(e){return Sn(e.b!=0),hd(e,e.c.b)}i(Trn,"Vub");function krn(e){return!e.c&&(e.c=new a8),e.c}i(krn,"q$d");function _8(e){var n;return n=new Mt,qce(n,e),n}i(_8,"cv");function Crn(e){var n;return n=new ys,qce(n,e),n}i(Crn,"Vx");function EAt(e){var n;return n=new LSe,aue(n,e),n}i(EAt,"Yx");function eF(e){var n;return n=new Da,aue(n,e),n}i(eF,"gv");function y(e,n){return oM(e==null||ihe(e,n)),e}i(y,"RD");function Ern(e,n,s){C8t.call(this,n,s),this.a=e}i(Ern,"Mxb");function SAt(e,n){this.c=e,this.b=n,this.a=!1}i(SAt,"kB");function AAt(){this.a=";,;",this.b="",this.c=""}i(AAt,"hCb");function RAt(e,n,s){this.b=e,$St.call(this,n,s)}i(RAt,"$Cb");function RAe(e,n,s){this.c=e,Nq.call(this,n,s)}i(RAe,"uub");function LAe(e,n,s){k8.call(this,e,n),this.b=s}i(LAe,"fZb");function DAe(e,n,s){T_e(s,0,e,n,s.length,!1)}i(DAe,"YEb");function _m(e,n,s,u,d){e.b=n,e.c=s,e.d=u,e.a=d}i(_m,"JYb");function _Ae(e,n,s,u,d){e.d=n,e.c=s,e.a=u,e.b=d}i(_Ae,"D2b");function Srn(e,n){n&&(e.b=n,e.a=(Zb(n),n.a))}i(Srn,"XDb");function tF(e,n){if(!e)throw me(new Jr(n))}i(tF,"mFb");function m5(e,n){if(!e)throw me(new Cl(n))}i(m5,"zFb");function MAe(e,n){if(!e)throw me(new P4t(n))}i(MAe,"qFb");function Arn(e,n){return Sq(),Lc(e.d.p,n.d.p)}i(Arn,"zqc");function Rrn(e,n){return I1(),ga(e.e.b,n.e.b)}i(Rrn,"T0c");function Lrn(e,n){return I1(),ga(e.e.a,n.e.a)}i(Lrn,"U0c");function Drn(e,n){return Lc(UAt(e.d),UAt(n.d))}i(Drn,"Xoc");function TW(e,n){return n&&qW(e,n.d)?n:null}i(TW,"Izb");function _rn(e,n){return n==(Bt(),on)?e.c:e.d}i(_rn,"$lc");function IAe(e){return iv(Dnn(Ul(e)?Vd(e):e))}i(IAe,"Qdb");function Mrn(e){return new St(e.c+e.b,e.d+e.a)}i(Mrn,"Nid");function LAt(e){return e!=null&&!Uue(e,iN,aN)}i(LAt,"GSd");function Irn(e,n){return(oNt(e)<<4|oNt(n))&ks}i(Irn,"DSd");function DAt(e,n,s,u,d){e.c=n,e.d=s,e.b=u,e.a=d}i(DAt,"Rid");function NAe(e){var n,s;n=e.b,s=e.c,e.b=s,e.c=n}i(NAe,"y8b");function OAe(e){var n,s;s=e.d,n=e.a,e.d=n,e.a=s}i(OAe,"B8b");function Nrn(e,n){var s;return s=e.c,dRe(e,n),s}i(Nrn,"u6d");function PAe(e,n){return n<0?e.g=-1:e.g=n,e}i(PAe,"Nqd");function kW(e,n){return zcn(e),e.a*=n,e.b*=n,e}i(kW,"kjd");function _At(e,n,s){EMt.call(this,n,s),this.d=e}i(_At,"hrc");function rF(e,n,s){t6e.call(this,e,n),this.c=s}i(rF,"PZd");function CW(e,n,s){t6e.call(this,e,n),this.c=s}i(CW,"Kfe");function BAe(e){gAe(),JH.call(this),this.ci(e)}i(BAe,"zUd");function MAt(){H8(),tin.call(this,(Hb(),sp))}i(MAt,"Yee");function IAt(e){return Wi(),++Ja,new Mm(0,e)}i(IAt,"Yse");function NAt(){NAt=z,oye=(Dr(),new Mse(lge))}i(NAt,"uke");function EW(){EW=z,new YLe((qse(),wge),(Hse(),vge))}i(EW,"ux");function OAt(){OAt=z,rPe=ot(Ro,Lt,17,256,0,1)}i(OAt,"ugb");function PAt(){this.b=Qe(rt(zt((Fp(),Zge))))}i(PAt,"zUb");function kle(e){this.b=e,this.a=N2(this.b.a).Od()}i(kle,"Pq");function BAt(e,n){this.b=e,this.a=n,kse.call(this)}i(BAt,"mr");function FAt(e,n){this.a=e,this.b=n,kse.call(this)}i(FAt,"sr");function $At(e,n,s){this.a=e,Y4.call(this,n,s)}i($At,"s_d");function GAt(e,n,s){this.a=e,Y4.call(this,n,s)}i(GAt,"n_d");function M8(e,n,s){var u;u=new Nk(s),dg(e,n,u)}i(M8,"sDd");function FAe(e,n,s){var u;return u=e[n],e[n]=s,u}i(FAe,"_Eb");function SW(e){var n;return n=e.slice(),$ce(n,e)}i(SW,"UEb");function AW(e){var n;return n=e.n,e.a.b+n.d+n.a}i(AW,"SJb");function jAt(e){var n;return n=e.n,e.e.b+n.d+n.a}i(jAt,"PKb");function $Ae(e){var n;return n=e.n,e.e.a+n.b+n.c}i($Ae,"QKb");function GAe(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}i(GAe,"rub");function ki(e,n){return Xa(e,n,e.c.b,e.c),!0}i(ki,"Mub");function Orn(e){return e.a?e.a:Qle(e)}i(Orn,"w2b");function Prn(e){return C5(),Fm(e)==Oa(uv(e))}i(Prn,"NSb");function Brn(e){return C5(),uv(e)==Oa(Fm(e))}i(Brn,"OSb");function kx(e,n){return t9(e,new k8(n.a,n.b))}i(kx,"l_b");function Frn(e,n){return YW(),fhe(e,n),new c7t(e,n)}i(Frn,"xn");function $rn(e,n){return e.c=n)throw me(new PSe)}i(I8,"lyb");function Mk(e,n){return JF(e,(ln(n),new uxt(n)))}i(Mk,"JDb");function b5(e,n){return JF(e,(ln(n),new hxt(n)))}i(b5,"KDb");function S8t(e,n,s){return hEn(e,y(n,12),y(s,12))}i(S8t,"prc");function A8t(e){return fh(),y(e,12).g.c.length!=0}i(A8t,"q4b");function R8t(e){return fh(),y(e,12).e.c.length!=0}i(R8t,"v4b");function knn(e,n){return I5(),ga(n.a.o.a,e.a.o.a)}i(knn,"sdc");function Cnn(e,n){(n.Bb&Ec)!=0&&!e.a.o&&(e.a.o=n)}i(Cnn,"d_d");function Enn(e,n){n.Ug("General 'Rotator",1),$4n(e)}i(Enn,"T3c");function Snn(e,n,s){n.qf(s,Qe(rt(mn(e.b,s)))*e.a)}i(Snn,"MCc");function L8t(e,n,s){return EC(),a7(e,n)&&a7(e,s)}i(L8t,"yid");function hM(e){return _h(),!e.Hc(X1)&&!e.Hc(Pv)}i(hM,"Rod");function Ann(e){return e.e?A7e(e.e):null}i(Ann,"Nrc");function fM(e){return Ul(e)?""+e:I$t(e)}i(fM,"Zdb");function a8e(e){var n;for(n=e;n.f;)n=n.f;return n}i(a8e,"XNc");function Rnn(e,n,s){return Ka(n,0,HAe(n[0],s[0])),n}i(Rnn,"HBb");function Ry(e,n,s,u){var d;d=e.i,d.i=n,d.a=s,d.b=u}i(Ry,"Gpc");function xt(e,n,s,u){vs.call(this,e,n,s),this.b=u}i(xt,"C5d");function to(e,n,s,u,d){Bce.call(this,e,n,s,u,d,-1)}i(to,"N3d");function dM(e,n,s,u,d){CF.call(this,e,n,s,u,d,-1)}i(dM,"b4d");function jW(e,n,s,u){rF.call(this,e,n,s),this.b=u}i(jW,"Iie");function D8t(e){ASt.call(this,e,!1),this.a=!1}i(D8t,"Xde");function _8t(){sSt.call(this,"LOOKAHEAD_LAYOUT",1)}i(_8t,"Bqd");function M8t(e){this.b=e,h5.call(this,e),B5t(this)}i(M8t,"nNd");function I8t(e){this.b=e,VB.call(this,e),F5t(this)}i(I8t,"vNd");function Ik(e,n,s){this.a=e,d5.call(this,n,s,5,6)}i(Ik,"J5d");function s8e(e,n,s,u){this.b=e,vs.call(this,n,s,u)}i(s8e,"wje");function N8t(e,n){this.b=e,Gwt.call(this,e.b),this.a=n}i(N8t,"Tj");function O8t(e){this.a=bOt(e.a),this.b=new Sh(e.b)}i(O8t,"NLc");function o8e(e,n){Rx(),aQr.call(this,e,uK(new Eh(n)))}i(o8e,"Fx");function zW(e,n){return Wi(),++Ja,new T8e(e,n,0)}i(zW,"_se");function Ple(e,n){return Wi(),++Ja,new T8e(6,e,n)}i(Ple,"bte");function Co(e,n){for(ln(n);e.Ob();)n.Cd(e.Pb())}i(Co,"Ztb");function Ru(e,n){return oo(n)?ace(e,n):!!il(e.f,n)}i(Ru,"Ujb");function Ble(e,n){return n.Vh()?ov(e.b,y(n,54)):n}i(Ble,"O_d");function Lnn(e,n){return kr(e.substr(0,n.length),n)}i(Lnn,"whb");function Im(e){return new bn(new R6e(e.a.length,e.a))}i(Im,"Fl");function UW(e){return new St(e.c+e.b/2,e.d+e.a/2)}i(UW,"Oid");function Dnn(e){return Au(~e.l&Qh,~e.m&Qh,~e.h&U1)}i(Dnn,"yD");function Fle(e){return typeof e===P$||typeof e===Ife}i(Fle,"cE");function Ah(e){e.f=new t5t(e),e.i=new r5t(e),++e.g}i(Ah,"akb");function P8t(e){if(!e)throw me(new Zl);return e.d}i(P8t,"Klb");function v5(e){var n;return n=PM(e),Sn(n!=null),n}i(v5,"smb");function _nn(e){var n;return n=Wfn(e),Sn(n!=null),n}i(_nn,"tmb");function N8(e,n){var s;return s=e.a.gc(),T7e(n,s),s-n}i(N8,"tv");function As(e,n){var s;return s=e.a.zc(n,e),s==null}i(As,"Ysb");function iF(e,n){return e.a.zc(n,(Hr(),Tv))==null}i(iF,"rAb");function l8e(e){return new Tr(null,Pnn(e,e.length))}i(l8e,"_nb");function c8e(e,n,s){return njt(e,y(n,42),y(s,176))}i(c8e,"yPb");function w5(e,n,s){return Op(e.a,n),FAe(e.b,n.g,s)}i(w5,"Wrb");function Mnn(e,n,s){I8(s,e.a.c.length),cd(e.a,s,n)}i(Mnn,"fyb");function et(e,n,s,u){NIt(n,s,e.length),Inn(e,n,s,u)}i(et,"Knb");function Inn(e,n,s,u){var d;for(d=n;d0?p.Math.log(e/n):-100}i(Onn,"uUb");function F8t(e,n){return Dc(e,n)<0?-1:Dc(e,n)>0?1:0}i(F8t,"Agb");function aF(e,n){L5t(e,$e(n,160)?n:y(n,2036).Rl())}i(aF,"Dge");function d8e(e,n){if(e==null)throw me(new e5(n))}i(d8e,"vFb");function Pnn(e,n){return Fcn(n,e.length),new HAt(e,n)}i(Pnn,"$nb");function p8e(e,n){return n?xo(e,n):!1}i(p8e,"hsc");function Bnn(){return fq(),Te(we(aWt,1),kt,549,0,[kge])}i(Bnn,"Gs");function gM(e){return e.e==0?e:new P2(-e.e,e.d,e.a)}i(gM,"Xib");function Fnn(e,n){return ga(e.c.c+e.c.b,n.c.c+n.c.b)}i(Fnn,"$Nb");function sF(e,n){Xa(e.d,n,e.b.b,e.b),++e.a,e.c=null}i(sF,"cvb");function $8t(e,n){return e.c?$8t(e.c,n):It(e.b,n),e}i($8t,"JCb");function $nn(e,n,s){var u;return u=jk(e,n),xce(e,n,s),u}i($nn,"KB");function G8t(e,n,s){var u;for(u=0;u=e.g}i(Qnn,"rWb");function Ka(e,n,s){return DZr(s==null||CTn(e,s)),e[n]=s}i(Ka,"bD");function v8e(e,n){return Zr(n,e.length+1),e.substr(n)}i(v8e,"yhb");function Yle(e,n){for(ln(n);e.c=e?new m5e:lun(e-1)}i(nin,"hDb");function Eo(e){return!e.a&&e.c?e.c.b:e.a}i(Eo,"Y2b");function C8e(e){return $e(e,616)?e:new aRt(e)}i(C8e,"Zx");function Zb(e){e.c?Zb(e.c):(lv(e),e.d=!0)}i(Zb,"LCb");function bM(e){e.c?e.c.$e():(e.d=!0,S2n(e))}i(bM,"ICb");function s7t(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}i(s7t,"bHb");function o7t(e){var n,s;return n=e.c.i.c,s=e.d.i.c,n==s}i(o7t,"uMc");function iin(e,n){var s;s=e.Ih(n),s>=0?e.ki(s):d_e(e,n)}i(iin,"_vd");function l7t(e,n){e.c<0||e.b.b0;)e=e<<1|(e<0?1:0);return e}i(Nm,"qgb");function m7t(e,n){var s;return s=new Wc(e),zr(n.c,s),s}i(m7t,"BGc");function y7t(e,n){e.u.Hc((_h(),X1))&&cbn(e,n),Aln(e,n)}i(y7t,"FMb");function kc(e,n){return Ze(e)===Ze(n)||e!=null&&Ji(e,n)}i(kc,"Fvb");function gl(e,n){return Rle(e.a,n)?e.b[y(n,22).g]:null}i(gl,"Vrb");function yin(){return Eq(),Te(we(qPe,1),kt,489,0,[qge])}i(yin,"YRb");function bin(){return Rq(),Te(we(bze,1),kt,490,0,[b1e])}i(bin,"ybd");function vin(){return Lq(),Te(we(Htr,1),kt,558,0,[v1e])}i(vin,"Hbd");function win(){return I_(),Te(we($ze,1),kt,539,0,[aj])}i(win,"gdd");function KW(e){return!e.n&&(e.n=new xt(bl,e,1,7)),e.n}i(KW,"iyd");function Xle(e){return!e.c&&(e.c=new xt(Ph,e,9,9)),e.c}i(Xle,"wCd");function R8e(e){return!e.c&&(e.c=new Ir(Pn,e,5,8)),e.c}i(R8e,"mzd");function xin(e){return!e.b&&(e.b=new Ir(Pn,e,4,7)),e.b}i(xin,"lzd");function oF(e){return e.j.c.length=0,D8e(e.c),ZZr(e.a),e}i(oF,"Sed");function $8(e){return e.e==pR&&GKr(e,gpn(e.g,e.b)),e.e}i($8,"Afe");function lF(e){return e.f==pR&&zKr(e,s0n(e.g,e.b)),e.f}i(lF,"Bfe");function zi(e,n,s,u){return G9t(e,n,s,!1),hK(e,u),e}i(zi,"xBd");function b7t(e,n){this.b=e,$le.call(this,e,n),B5t(this)}i(b7t,"oNd");function v7t(e,n){this.b=e,fAe.call(this,e,n),F5t(this)}i(v7t,"wNd");function vM(e){this.d=e,this.a=this.d.b,this.b=this.d.c}i(vM,"Kmb");function L8e(e,n){this.b=e,this.c=n,this.a=new i5(this.b)}i(L8e,"oy");function Mo(e,n){return Zr(n,e.length),e.charCodeAt(n)}i(Mo,"ihb");function Tin(e,n){mLe(e,Qe(N1(n,"x")),Qe(N1(n,"y")))}i(Tin,"NDd");function kin(e,n){mLe(e,Qe(N1(n,"x")),Qe(N1(n,"y")))}i(kin,"$Dd");function Zi(e,n){return lv(e),new Tr(e,new G7e(n,e.a))}i(Zi,"CDb");function Nl(e,n){return lv(e),new Tr(e,new E7e(n,e.a))}i(Nl,"GDb");function Ok(e,n){return lv(e),new V6e(e,new RDt(n,e.a))}i(Ok,"HDb");function XW(e,n){return lv(e),new H6e(e,new LDt(n,e.a))}i(XW,"IDb");function Cin(e,n){return new U7t(y(li(e),50),y(li(n),50))}i(Cin,"Ty");function Ein(e,n){return ga(e.d.c+e.d.b/2,n.d.c+n.d.b/2)}i(Ein,"nHb");function w7t(e,n,s){s.a?_u(e,n.b-e.f/2):Du(e,n.a-e.g/2)}i(w7t,"gTb");function Sin(e,n){return ga(e.g.c+e.g.b/2,n.g.c+n.g.b/2)}i(Sin,"WYb");function Ain(e,n){return v5e(),ga((ln(e),e),(ln(n),n))}i(Ain,"RZb");function Rin(e){return e!=null&&xB(KZ,e.toLowerCase())}i(Rin,"wSd");function D8e(e){var n;for(n=e.Kc();n.Ob();)n.Pb(),n.Qb()}i(D8e,"Ae");function iC(e){var n;return n=e.b,!n&&(e.b=n=new Mwt(e)),n}i(iC,"Ih");function Qle(e){var n;return n=fun(e),n||null}i(Qle,"R0b");function x7t(e,n){var s,u;return s=e/n,u=Fs(s),s>u&&++u,u}i(x7t,"BSb");function Lin(e,n,s){var u;u=y(e.d.Kb(s),159),u&&u.Nb(n)}i(Lin,"Ck");function Din(e,n,s){Mkn(e.a,s),chn(s),Zbn(e.b,s),Jkn(n,s)}i(Din,"Vhc");function QW(e,n,s,u){this.a=e,this.c=n,this.b=s,this.d=u}i(QW,"oNc");function _8e(e,n,s,u){this.c=e,this.b=n,this.a=s,this.d=u}i(_8e,"ROc");function T7t(e,n,s,u){this.c=e,this.b=n,this.d=s,this.a=u}i(T7t,"uPc");function sd(e,n,s,u){this.c=e,this.d=n,this.b=s,this.a=u}i(sd,"Uid");function k7t(e,n,s,u){this.a=e,this.d=n,this.c=s,this.b=u}i(k7t,"GTc");function Jle(e,n,s,u){this.a=e,this.e=n,this.d=s,this.c=u}i(Jle,"t1b");function C7t(e,n,s,u){this.a=e,this.c=n,this.d=s,this.b=u}i(C7t,"$td");function Zle(e,n,s){this.a=i9e,this.d=e,this.b=n,this.c=s}i(Zle,"ehb");function T5(e,n,s,u){ti.call(this,e,n),this.a=s,this.b=u}i(T5,"fpc");function E7t(e,n){this.d=(ln(e),e),this.a=16449,this.c=n}i(E7t,"Uwb");function S7t(e){this.a=new Mt,this.e=ot(ei,Lt,53,e,0,2)}i(S7t,"CIc");function _in(e){e.Ug("No crossing minimization",1),e.Vg()}i(_in,"ELc");function A7t(){ec.call(this,"There is no more element.")}i(A7t,"Evb");function R7t(e,n,s,u){this.a=e,this.b=n,this.c=s,this.d=u}i(R7t,"OEd");function L7t(e,n,s,u){this.a=e,this.b=n,this.c=s,this.d=u}i(L7t,"PEd");function B2(e,n,s,u){this.e=e,this.a=n,this.c=s,this.d=u}i(B2,"h7d");function D7t(e,n,s,u){this.a=e,this.c=n,this.d=s,this.b=u}i(D7t,"x7d");function _7t(e,n,s,u){id(),DDt.call(this,n,s,u),this.a=e}i(_7t,"C8d");function M7t(e,n,s,u){id(),DDt.call(this,n,s,u),this.a=e}i(M7t,"J8d");function ece(e,n,s){var u,d;return u=VMe(e),d=n.ti(s,u),d}i(ece,"lwd");function E1(e){var n,s;return s=(n=new sx,n),X8(s,e),s}i(E1,"lBd");function tce(e){var n,s;return s=(n=new sx,n),WDe(s,e),s}i(tce,"mBd");function Min(e,n){var s;return s=mn(e.f,n),SRe(n,s),null}i(Min,"HDd");function I7t(e){return!e.b&&(e.b=new xt(us,e,12,3)),e.b}i(I7t,"uCd");function N7t(e){return oM(e==null||Fle(e)&&e.Tm!==te),e}i(N7t,"VD");function JW(e){return e.n&&(e.e!==Ozt&&e.je(),e.j=null),e}i(JW,"gz");function G8(e){if(Yh(e.d),e.d.d!=e.c)throw me(new rd)}i(G8,"Ng");function M8e(e){return Sn(e.b0&&fPt(this)}i(rce,"xPd");function O7t(e,n){this.a=e,_Zr.call(this,e,y(e.d,15).fd(n))}i(O7t,"Vg");function Iin(e,n){return ga(ch(e)*df(e),ch(n)*df(n))}i(Iin,"lrd");function Nin(e,n){return ga(ch(e)*df(e),ch(n)*df(n))}i(Nin,"mrd");function Oin(e){return Qx(e)&&Kt(Yt(Ct(e,(Ht(),bw))))}i(Oin,"n5b");function Pin(e,n){return Sr(e,y(oe(n,(Ht(),NR)),17),n)}i(Pin,"Sfc");function Bin(e,n){return y(oe(e,(At(),y6)),15).Fc(n),n}i(Bin,"lic");function I8e(e,n){return e.b=n.b,e.c=n.c,e.d=n.d,e.a=n.a,e}i(I8e,"C2b");function P7t(e,n,s,u){this.b=e,this.c=u,nW.call(this,n,s)}i(P7t,"cEb");function Fin(e,n,s){e.i=0,e.e=0,n!=s&&vIt(e,n,s)}i(Fin,"Ulc");function $in(e,n,s){e.i=0,e.e=0,n!=s&&wIt(e,n,s)}i($in,"Vlc");function Gin(e,n,s){return M_(),ddn(y(mn(e.e,n),529),s)}i(Gin,"akc");function k5(e){var n;return n=e.f,n||(e.f=new w8(e,e.c))}i(k5,"nd");function B7t(e,n){return pC(e.j,n.s,n.c)+pC(n.e,e.s,e.c)}i(B7t,"nTc");function F7t(e,n){e.e&&!e.e.a&&(E3t(e.e,n),F7t(e.e,n))}i(F7t,"Rrc");function $7t(e,n){e.d&&!e.d.a&&(E3t(e.d,n),$7t(e.d,n))}i($7t,"Qrc");function jin(e,n){return-ga(ch(e)*df(e),ch(n)*df(n))}i(jin,"krd");function zin(e){return y(e.ld(),149).Pg()+":"+Hl(e.md())}i(zin,"gtd");function G7t(){Nhe(this,new HEe),this.wb=(Qb(),qr),y8()}i(G7t,"EBd");function j7t(e){this.b=new Mt,Rs(this.b,this.b),this.a=e}i(j7t,"G7b");function N8e(e,n){new Da,this.a=new sh,this.b=e,this.c=n}i(N8e,"WWc");function Mx(){Mx=z,pPe=new _e,_ge=new _e,gPe=new Ce}i(Mx,"urb");function Dr(){Dr=z,Po=new ce,Wm=new de,BQ=new ve}i(Dr,"yob");function O8e(){O8e=z,FWt=new $t,GWt=new XAe,$Wt=new gr}i(O8e,"FGb");function C5(){C5=z,HQ=new Mt,Xge=new zn,Kge=new Mt}i(C5,"HSb");function ZW(e,n){if(e==null)throw me(new e5(n));return e}i(ZW,"Rb");function eY(e){return!e.a&&(e.a=new xt(Hi,e,10,11)),e.a}i(eY,"tCd");function sa(e){return!e.q&&(e.q=new xt(ap,e,11,10)),e.q}i(sa,"uYd");function vt(e){return!e.s&&(e.s=new xt(eh,e,21,17)),e.s}i(vt,"xYd");function Uin(e){return li(e),ROt(new bn(wn(e.a.Kc(),new I)))}i(Uin,"er");function Vin(e,n){return gf(e),gf(n),O4t(y(e,22),y(n,22))}i(Vin,"hfd");function F2(e,n,s){var u,d;u=pAe(s),d=new eq(u),dg(e,n,d)}i(F2,"qDd");function nce(e,n,s,u,d,g){CF.call(this,e,n,s,u,d,g?-2:-1)}i(nce,"d4d");function z7t(e,n,s,u){t6e.call(this,n,s),this.b=e,this.a=u}i(z7t,"sje");function U7t(e,n){hXr.call(this,new Ole(e)),this.a=e,this.b=n}i(U7t,"Ry");function P8e(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}i(P8e,"Gu");function Hin(e){_p();var n;n=y(e.g,10),n.n.a=e.d.c+n.d.b}i(Hin,"Dkc");function j8(){j8=z;var e,n;n=!Jdn(),e=new H,Sge=n?new J:e}i(j8,"fA");function ice(e){return Dr(),$e(e,59)?new eoe(e):new hW(e)}i(ice,"Hob");function tY(e){return $e(e,16)?new lM(y(e,16)):Crn(e.Kc())}i(tY,"Ux");function qin(e){return new G5t(e,e.e.Rd().gc()*e.c.Rd().gc())}i(qin,"Vi");function Win(e){return new j5t(e,e.e.Rd().gc()*e.c.Rd().gc())}i(Win,"fj");function B8e(e){return e&&e.hashCode?e.hashCode():xx(e)}i(B8e,"Iz");function ace(e,n){return n==null?!!il(e.f,null):cnn(e.i,n)}i(ace,"Yjb");function Yin(e,n){var s;return s=v6e(e.a,n),s&&(n.d=null),s}i(Yin,"hYb");function V7t(e,n,s){return e.f?e.f.ef(n,s):!1}i(V7t,"MGb");function cF(e,n,s,u){Ka(e.c[n.g],s.g,u),Ka(e.c[s.g],n.g,u)}i(cF,"cFc");function sce(e,n,s,u){Ka(e.c[n.g],n.g,s),Ka(e.b[n.g],n.g,u)}i(sce,"fFc");function Kin(e,n,s){return Qe(rt(s.a))<=e&&Qe(rt(s.b))>=n}i(Kin,"sXc");function H7t(e,n){this.g=e,this.d=Te(we(Km,1),Yy,10,0,[n])}i(H7t,"yJc");function q7t(e){this.c=e,this.b=new Cy(y(li(new jt),50))}i(q7t,"lHb");function W7t(e){this.c=e,this.b=new Cy(y(li(new Ch),50))}i(W7t,"UYb");function Y7t(e){this.b=e,this.a=new Cy(y(li(new Mi),50))}i(Y7t,"$Qb");function K7t(){this.b=new ys,this.d=new Da,this.e=new BSe}i(K7t,"tRc");function F8e(){this.c=new mo,this.d=new mo,this.e=new mo}i(F8e,"VTb");function Ix(){this.a=new sh,this.b=(_f(3,c3),new pu(3))}i(Ix,"a1b");function Ly(e,n){this.e=e,this.a=Hs,this.b=K$t(n),this.c=n}i(Ly,"i7d");function rY(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}i(rY,"Vid");function X7t(e,n,s,u,d,g){this.a=e,Jce.call(this,n,s,u,d,g)}i(X7t,"VLd");function Q7t(e,n,s,u,d,g){this.a=e,Jce.call(this,n,s,u,d,g)}i(Q7t,"aLd");function ev(e,n,s,u,d,g,x){return new kce(e.e,n,s,u,d,g,x)}i(ev,"fge");function Xin(e,n,s){return s>=0&&kr(e.substr(s,n.length),n)}i(Xin,"xhb");function J7t(e,n){return $e(n,149)&&kr(e.b,y(n,149).Pg())}i(J7t,"hGd");function Qin(e,n){return e.a?n.Gh().Kc():y(n.Gh(),71).Ii()}i(Qin,"Tde");function Z7t(e,n){var s;return s=e.b.Qc(n),WLt(s,e.b.gc()),s}i(Z7t,"Qqb");function uF(e,n){if(e==null)throw me(new e5(n));return e}i(uF,"Ivb");function Ol(e){return e.u||(qh(e),e.u=new M6t(e,e)),e.u}i(Ol,"zYd");function oce(e){this.a=(Dr(),$e(e,59)?new eoe(e):new hW(e))}i(oce,"Kx");function qu(e){var n;return n=y(Xr(e,16),29),n||e.ii()}i(qu,"Uwd");function nY(e,n){var s;return s=_2(e.Rm),n==null?s:s+": "+n}i(nY,"lz");function od(e,n,s){return wo(n,s,e.length),e.substr(n,s-n)}i(od,"zhb");function eRt(e,n){mW.call(this),K7e(this),this.a=e,this.c=n}i(eRt,"VKb");function Jin(e){e&&nY(e,e.ie())}i(Jin,"neb");function Zin(e){gq(),p.setTimeout(function(){throw e},0)}i(Zin,"Wz");function ean(){return EK(),Te(we(kPe,1),kt,436,0,[$ge,TPe])}i(ean,"GHb");function tan(){return MY(),Te(we(EPe,1),kt,435,0,[CPe,Gge])}i(tan,"OHb");function ran(){return IY(),Te(we(ZPe,1),kt,432,0,[Qge,qQ])}i(ran,"WUb");function nan(){return i7(),Te(we($Kt,1),kt,517,0,[DG,d0e])}i(nan,"S8b");function ian(){return dY(),Te(we(NFe,1),kt,429,0,[U0e,IFe])}i(ian,"Rvc");function aan(){return NF(),Te(we(bFe,1),kt,428,0,[TJ,yFe])}i(aan,"buc");function san(){return CY(),Te(we(uFe,1),kt,431,0,[cFe,R0e])}i(san,"mtc");function oan(){return MF(),Te(we(SGe,1),kt,430,0,[Cme,Eme])}i(oan,"vEc");function lan(){return CM(),Te(we(DZt,1),kt,531,0,[RI,AI])}i(lan,"vNc");function can(){return YY(),Te(we(Tje,1),kt,501,0,[fZ,uE])}i(can,"D2c");function uan(){return F0(),Te(we(BZt,1),kt,523,0,[RT,tb])}i(uan,"zQc");function han(){return $g(),Te(we($Zt,1),kt,522,0,[kw,n0])}i(han,"HQc");function fan(){return hg(),Te(we(eer,1),kt,528,0,[B3,Lv])}i(fan,"iTc");function dan(){return AF(),Te(we(xFe,1),kt,488,0,[wFe,CJ])}i(dan,"Fuc");function pan(){return bY(),Te(we(hze,1),kt,491,0,[g1e,uze])}i(pan,"F8c");function gan(){return fue(),Te(we(yze,1),kt,492,0,[gze,mze])}i(gan,"H9c");function man(){return uY(),Te(we(xje,1),kt,433,0,[Wme,wje])}i(man,"D_c");function yan(){return SY(),Te(we(Cje,1),kt,434,0,[kje,Zme])}i(yan,"a4c");function ban(){return Ox(),Te(we(oer,1),kt,465,0,[Dv,oE])}i(ban,"gVc");function van(){return TF(),Te(we(vze,1),kt,438,0,[w1e,kZ])}i(van,"Pbd");function wan(){return VF(),Te(we(jze,1),kt,437,0,[EZ,Gze])}i(wan,"rdd");function xan(){return yle(),Te(we(GZ,1),kt,347,0,[rVe,nVe])}i(xan,"xqd");function iY(e,n,s,u){return s>=0?e.Uh(n,s,u):e.Ch(null,s,u)}i(iY,"Jvd");function hF(e){return e.b.b==0?e.a.sf():Tle(e.b)}i(hF,"ltd");function Tan(e){if(e.p!=5)throw me(new ah);return oi(e.f)}i(Tan,"vKd");function kan(e){if(e.p!=5)throw me(new ah);return oi(e.k)}i(kan,"EKd");function $8e(e){return Ze(e.a)===Ze((uue(),iye))&&x3n(e),e.a}i($8e,"P$d");function Can(e,n){e.b=n,e.c>0&&e.b>0&&(e.g=MW(e.c,e.b,e.a))}i(Can,"iad");function Ean(e,n){e.c=n,e.c>0&&e.b>0&&(e.g=MW(e.c,e.b,e.a))}i(Ean,"jad");function tRt(e,n){CKr(this,new St(e.a,e.b)),EKr(this,eF(n))}i(tRt,"BUc");function Nx(){fXr.call(this,new n5(zk(12))),C6e(!0),this.a=2}i(Nx,"Tp");function lce(e,n,s){Wi(),ax.call(this,e),this.b=n,this.a=s}i(lce,"eue");function G8e(e,n,s){id(),sq.call(this,n),this.a=e,this.b=s}i(G8e,"C7d");function rRt(e){var n;n=e.c.d.b,e.b=n,e.a=e.c.d,n.a=e.c.d.b=e}i(rRt,"qub");function San(e){return e.b==0?null:(Sn(e.b!=0),hd(e,e.a.a))}i(San,"Tub");function Yc(e,n){return n==null?Il(il(e.f,null)):B_(e.i,n)}i(Yc,"Xjb");function nRt(e,n,s,u,d){return new Phe(e,(Y8(),Oge),n,s,u,d)}i(nRt,"bzb");function aY(e,n){return VLt(n),Xcn(e,ot(ei,Ai,28,n,15,1),n)}i(aY,"Fnb");function sY(e,n){return ZW(e,"set1"),ZW(n,"set2"),new qCt(e,n)}i(sY,"Tx");function Aan(e,n){var s=Ege[e.charCodeAt(0)];return s??e}i(Aan,"Kz");function iRt(e,n){var s,u;return s=n,u=new ct,_jt(e,s,u),u.d}i(iRt,"Xyb");function cce(e,n,s,u){var d;d=new O6t,n.a[s.g]=d,w5(e.b,u,d)}i(cce,"EMb");function Ran(e,n){var s;return s=Wcn(e.f,n),Xi(gW(s),e.f.d)}i(Ran,"SXb");function fF(e){var n;iun(e.a),h5t(e.a),n=new nq(e.a),SLe(n)}i(fF,"RFb");function Lan(e,n){$$t(e,!0),Lu(e.e.Rf(),new bAe(e,!0,n))}i(Lan,"_Mb");function Dan(e,n){return C5(),e==Oa(Fm(n))||e==Oa(uv(n))}i(Dan,"PSb");function _an(e,n){return I1(),y(oe(n,(pc(),nm)),17).a==e}i(_an,"R0c");function Fs(e){return Math.max(Math.min(e,Yi),-2147483648)|0}i(Fs,"eE");function aRt(e){this.a=y(li(e),277),this.b=(Dr(),new _6e(e))}i(aRt,"sy");function sRt(e,n,s){this.i=new Mt,this.b=e,this.g=n,this.a=s}i(sRt,"qbd");function j8e(e,n,s){this.a=new Mt,this.e=e,this.f=n,this.c=s}i(j8e,"had");function oY(e,n,s){this.c=new Mt,this.e=e,this.f=n,this.b=s}i(oY,"_9c");function oRt(e){mW.call(this),K7e(this),this.a=e,this.c=!0}i(oRt,"TKb");function Man(e){function n(){}return i(n,"b"),n.prototype=e||{},new n}i(Man,"ieb");function Ian(e){if(e.Ae())return null;var n=e.n;return _Q[n]}i(Ian,"zfb");function dF(e){return e.Db>>16!=3?null:y(e.Cb,27)}i(dF,"kzd");function Fg(e){return e.Db>>16!=9?null:y(e.Cb,27)}i(Fg,"MCd");function lRt(e){return e.Db>>16!=6?null:y(e.Cb,74)}i(lRt,"Fzd");function Ox(){Ox=z,Dv=new U5e(Z5,0),oE=new U5e(e6,1)}i(Ox,"dVc");function F0(){F0=z,RT=new G5e(e6,0),tb=new G5e(Z5,1)}i(F0,"wQc");function $g(){$g=z,kw=new j5e(vde,0),n0=new j5e("UP",1)}i($g,"EQc");function cRt(){cRt=z,sWt=ni((fq(),Te(we(aWt,1),kt,549,0,[kge])))}i(cRt,"Is");function uRt(e){var n;return n=new vq(zk(e.length)),$Re(n,e),n}i(uRt,"Wx");function hRt(e,n){return e.b+=n.b,e.c+=n.c,e.d+=n.d,e.a+=n.a,e}i(hRt,"B2b");function Nan(e,n){return Q9t(e,n)?(WMt(e),!0):!1}i(Nan,"qmb");function S1(e,n){if(n==null)throw me(new KS);return epn(e,n)}i(S1,"qC");function pF(e,n){var s;s=e.q.getHours(),e.q.setDate(n),g9(e,s)}i(pF,"nB");function z8e(e,n,s){var u;u=e.Ih(n),u>=0?e.bi(u,s):G_e(e,n,s)}i(z8e,"Xvd");function fRt(e,n){var s;return s=e.Ih(n),s>=0?e.Wh(s):zhe(e,n)}i(fRt,"Lvd");function dRt(e,n){var s;for(li(n),s=e.a;s;s=s.c)n.Yd(s.g,s.i)}i(dRt,"zo");function uce(e,n,s){var u;u=yIt(e,n,s),e.b=new XY(u.c.length)}i(uce,"pMc");function aC(e,n,s){lY(),e&&ji(tye,e,n),e&&ji(Aj,e,s)}i(aC,"HId");function Oan(e,n){return xW(),Hr(),y(n.a,17).a0}i(Ban,"xCd");function U8e(e){var n;return n=e.d,n=e.bj(e.f),Jn(e,n),n.Ob()}i(U8e,"sId");function pRt(e,n){var s;return s=new WAe(n),$Pt(s,e),new Sh(s)}i(pRt,"bHd");function Fan(e){if(e.p!=0)throw me(new ah);return K_(e.f,0)}i(Fan,"qKd");function $an(e){if(e.p!=0)throw me(new ah);return K_(e.k,0)}i($an,"zKd");function gRt(e){return e.Db>>16!=7?null:y(e.Cb,241)}i(gRt,"gBd");function z8(e){return e.Db>>16!=6?null:y(e.Cb,241)}i(z8,"xXd");function mRt(e){return e.Db>>16!=7?null:y(e.Cb,167)}i(mRt,"dCd");function Oa(e){return e.Db>>16!=11?null:y(e.Cb,27)}i(Oa,"vCd");function Pk(e){return e.Db>>16!=17?null:y(e.Cb,29)}i(Pk,"uWd");function yRt(e){return e.Db>>16!=3?null:y(e.Cb,155)}i(yRt,"kVd");function V8e(e){var n;return lv(e),n=new ys,Zi(e,new kxt(n))}i(V8e,"BDb");function bRt(e,n){var s=e.a=e.a||[];return s[n]||(s[n]=e.ve(n))}i(bRt,"xfb");function Gan(e,n){var s;s=e.q.getHours(),e.q.setMonth(n),g9(e,s)}i(Gan,"qB");function vRt(e,n){cW(this),this.f=n,this.g=e,JW(this),this.je()}i(vRt,"oz");function wRt(e,n){this.a=e,this.c=ko(this.a),this.b=new rY(n)}i(wRt,"TQb");function xRt(e,n,s){this.a=n,this.c=e,this.b=(li(s),new Sh(s))}i(xRt,"aGb");function TRt(e,n,s){this.a=n,this.c=e,this.b=(li(s),new Sh(s))}i(TRt,"s$b");function kRt(e){this.a=e,this.b=ot(AZt,Lt,2043,e.e.length,0,2)}i(kRt,"_Kc");function CRt(){this.a=new I0,this.e=new ys,this.g=0,this.i=0}i(CRt,"fGb");function lY(){lY=z,tye=new zn,Aj=new zn,NQr(CWt,new fbt)}i(lY,"EId");function ERt(){ERt=z,hZt=uh(new ws,(Io(),$l),(jo(),_G))}i(ERt,"KFc");function H8e(){H8e=z,fZt=uh(new ws,(Io(),$l),(jo(),_G))}i(H8e,"RFc");function SRt(){SRt=z,pZt=uh(new ws,(Io(),$l),(jo(),_G))}i(SRt,"gGc");function ARt(){ARt=z,MZt=Si(new ws,(Io(),$l),(jo(),sI))}i(ARt,"ANc");function Af(){Af=z,OZt=Si(new ws,(Io(),$l),(jo(),sI))}i(Af,"dOc");function RRt(){RRt=z,PZt=Si(new ws,(Io(),$l),(jo(),sI))}i(RRt,"gQc");function fce(){fce=z,jZt=Si(new ws,(Io(),$l),(jo(),sI))}i(fce,"WQc");function wM(e,n,s,u,d,g){return new _1(e.e,n,e.Lj(),s,u,d,g)}i(wM,"dZd");function El(e,n,s){return n==null?yu(e.f,null,s):Hx(e.i,n,s)}i(El,"$jb");function Fo(e,n){e.c&&Wu(e.c.g,e),e.c=n,e.c&&It(e.c.g,e)}i(Fo,"Y0b");function bo(e,n){e.c&&Wu(e.c.a,e),e.c=n,e.c&&It(e.c.a,e)}i(bo,"g3b");function rc(e,n){e.i&&Wu(e.i.j,e),e.i=n,e.i&&It(e.i.j,e)}i(rc,"P3b");function ho(e,n){e.d&&Wu(e.d.e,e),e.d=n,e.d&&It(e.d.e,e)}i(ho,"Z0b");function dce(e,n){e.a&&Wu(e.a.k,e),e.a=n,e.a&&It(e.a.k,e)}i(dce,"_Sc");function pce(e,n){e.b&&Wu(e.b.f,e),e.b=n,e.b&&It(e.b.f,e)}i(pce,"aTc");function LRt(e,n){Jnn(e,e.b,e.c),y(e.b.b,68),n&&y(n.b,68).b}i(LRt,"Odd");function jan(e,n){return ga(y(e.c,65).c.e.b,y(n.c,65).c.e.b)}i(jan,"j2c");function zan(e,n){return ga(y(e.c,65).c.e.a,y(n.c,65).c.e.a)}i(zan,"k2c");function Uan(e){return Due(),Hr(),y(e.a,86).d.e!=0}i(Uan,"YXb");function cY(e,n){$e(e.Cb,184)&&(y(e.Cb,184).tb=null),gu(e,n)}i(cY,"LXd");function gce(e,n){$e(e.Cb,90)&&t3(qh(y(e.Cb,90)),4),gu(e,n)}i(gce,"CWd");function Van(e,n){yLe(e,n),$e(e.Cb,90)&&t3(qh(y(e.Cb,90)),2)}i(Van,"_5d");function Han(e,n){var s,u;s=n.c,u=s!=null,u&&x5(e,new Nk(n.c))}i(Han,"JFd");function DRt(e){var n,s;return s=(y8(),n=new sx,n),X8(s,e),s}i(DRt,"v0d");function _Rt(e){var n,s;return s=(y8(),n=new sx,n),X8(s,e),s}i(_Rt,"E4d");function MRt(e){for(var n;;)if(n=e.Pb(),!e.Ob())return n}i(MRt,"Fr");function qan(e,n,s){return It(e.a,(YW(),fhe(n,s),new dx(n,s))),e}i(qan,"nq");function Kc(e,n){return el(),Vce(n)?new RW(n,e):new $B(n,e)}i(Kc,"rge");function gF(e){return z0(),Dc(e,0)>=0?cv(e):gM(cv(Ny(e)))}i(gF,"ojb");function Wan(e){var n;return n=y(SW(e.b),9),new ad(e.a,n,e.c)}i(Wan,"Asb");function IRt(e,n){var s;return s=y(Wk(k5(e.a),n),16),s?s.gc():0}i(IRt,"Qw");function NRt(e,n,s){var u;aNt(n,s,e.c.length),u=s-n,d5e(e.c,n,u)}i(NRt,"Zmb");function Dy(e,n,s){aNt(n,s,e.gc()),this.c=e,this.a=n,this.b=s-n}i(Dy,"Rkb");function E5(e){this.c=new Da,this.b=e.b,this.d=e.c,this.a=e.a}i(E5,"fgd");function mce(e){this.a=p.Math.cos(e),this.b=p.Math.sin(e)}i(mce,"qjd");function $2(e,n,s,u){this.c=e,this.d=u,dce(this,n),pce(this,s)}i($2,"bTc");function q8e(e,n){uXr.call(this,new n5(zk(e))),_f(n,Lzt),this.a=n}i(q8e,"Si");function ORt(e,n,s){return new Phe(e,(Y8(),Nge),null,!1,n,s)}i(ORt,"Ryb");function PRt(e,n,s){return new Phe(e,(Y8(),Pge),n,s,null,!1)}i(PRt,"czb");function Yan(){return Dh(),Te(we(Ll,1),kt,108,0,[xPe,Wl,b3])}i(Yan,"ABb");function Kan(){return Yu(),Te(we(KWt,1),kt,472,0,[vg,Cv,jp])}i(Kan,"yLb");function Xan(){return Lh(),Te(we(WWt,1),kt,471,0,[em,kv,Gp])}i(Xan,"HKb");function Qan(){return pg(),Te(we(v3,1),kt,237,0,[yc,bu,bc])}i(Qan,"aKb");function Jan(){return AM(),Te(we(pBe,1),kt,391,0,[t0e,e0e,r0e])}i(Jan,"DWb");function Zan(){return zx(),Te(we(v0e,1),kt,372,0,[mT,Ev,gT])}i(Zan,"moc");function esn(){return DM(),Te(we(fFe,1),kt,322,0,[lI,NG,hFe])}i(esn,"ytc");function tsn(){return jY(),Te(we(pFe,1),kt,351,0,[dFe,xJ,L0e])}i(tsn,"Htc");function rsn(){return Y2(),Te(we(mXt,1),kt,460,0,[M0e,RR,KC])}i(rsn,"kuc");function nsn(){return c7(),Te(we(z0e,1),kt,299,0,[G0e,j0e,OG])}i(nsn,"Avc");function isn(){return M1(),Te(we(CXt,1),kt,311,0,[PG,QC,p6])}i(isn,"Jvc");function asn(){return GM(),Te(we(mGe,1),kt,390,0,[yme,gGe,JJ])}i(asn,"pDc");function ssn(){return al(),Te(we(iZt,1),kt,463,0,[CI,Ih,vu])}i(ssn,"EEc");function osn(){return tK(),Te(we(LGe,1),kt,387,0,[AGe,Sme,RGe])}i(osn,"NEc");function lsn(){return BM(),Te(we(DGe,1),kt,349,0,[Rme,Ame,WG])}i(lsn,"WEc");function csn(){return y7(),Te(we(MGe,1),kt,350,0,[Lme,_Ge,EI])}i(csn,"oFc");function usn(){return GY(),Te(we(OGe,1),kt,352,0,[NGe,Dme,IGe])}i(usn,"xFc");function hsn(){return aK(),Te(we(PGe,1),kt,388,0,[_me,jR,P3])}i(hsn,"GFc");function fsn(){return jx(),Te(we(EZt,1),kt,464,0,[YG,SI,rZ])}i(fsn,"UKc");function Gg(e){return ic(Te(we(Xs,1),Lt,8,0,[e.i.n,e.n,e.a]))}i(Gg,"K3b");function dsn(){return FM(),Te(we(ZGe,1),kt,392,0,[JGe,Nme,XG])}i(dsn,"OZc");function BRt(){BRt=z,Per=uh(new ws,(z5(),DI),(d9(),UGe))}i(BRt,"H_c");function uY(){uY=z,Wme=new V5e("DFS",0),wje=new V5e("BFS",1)}i(uY,"A_c");function FRt(e,n,s){var u;u=new bmt,u.b=n,u.a=s,++n.b,It(e.d,u)}i(FRt,"TQc");function psn(e,n,s){var u;u=new Uo(s.d),Xi(u,e),mLe(n,u.a,u.b)}i(psn,"NTb");function gsn(e,n){_5t(e,oi(Vs(Ex(n,24),EX)),oi(Vs(n,EX)))}i(gsn,"Nwb");function Bk(e,n){if(e<0||e>n)throw me(new kl(d9e+e+p9e+n))}i(Bk,"wFb");function _r(e,n){if(e<0||e>=n)throw me(new kl(d9e+e+p9e+n))}i(_r,"tFb");function Zr(e,n){if(e<0||e>=n)throw me(new e5e(d9e+e+p9e+n))}i(Zr,"BFb");function Ar(e,n){this.b=(ln(e),e),this.a=(n&u3)==0?n|64|V0:n}i(Ar,"Swb");function W8e(e){var n;return lv(e),n=(Mx(),Mx(),_ge),PY(e,n)}i(W8e,"ODb");function msn(e,n,s){var u;return u=b9(e,n,!1),u.b<=n&&u.a<=s}i(msn,"R9c");function ysn(){return AY(),Te(we(pze,1),kt,439,0,[m1e,dze,fze])}i(ysn,"h9c");function bsn(){return pK(),Te(we(Kje,1),kt,394,0,[Yje,h1e,Wje])}i(bsn,"c7c");function vsn(){return wK(),Te(we(qje,1),kt,445,0,[tj,mZ,a1e])}i(vsn,"i6c");function wsn(){return _K(),Te(we(dtr,1),kt,456,0,[s1e,l1e,o1e])}i(wsn,"D6c");function xsn(){return YF(),Te(we(Aje,1),kt,393,0,[dZ,Eje,Sje])}i(xsn,"k4c");function Tsn(){return eK(),Te(we(Hje,1),kt,300,0,[i1e,Vje,Uje])}i(Tsn,"x5c");function ksn(){return O1(),Te(we(YUe,1),kt,346,0,[IZ,ab,KI])}i(ksn,"Ind");function Csn(){return e$(),Te(we(y1e,1),kt,444,0,[wZ,xZ,TZ])}i(Csn,"jbd");function Esn(){return Hg(),Te(we(PUe,1),kt,278,0,[YR,j3,KR])}i(Esn,"Rmd");function Ssn(){return P5(),Te(we(tVe,1),kt,280,0,[eVe,U3,$Z])}i(Ssn,"pqd");function Px(e){return li(e),$e(e,16)?new Sh(y(e,16)):_8(e.Kc())}i(Px,"bv");function Y8e(e,n){return e&&e.equals?e.equals(n):Ze(e)===Ze(n)}i(Y8e,"Hz");function Vs(e,n){return iv(bnn(Ul(e)?Vd(e):e,Ul(n)?Vd(n):n))}i(Vs,"Cdb");function ug(e,n){return iv(vnn(Ul(e)?Vd(e):e,Ul(n)?Vd(n):n))}i(ug,"Rdb");function yce(e,n){return iv(wnn(Ul(e)?Vd(e):e,Ul(n)?Vd(n):n))}i(yce,"$db");function Asn(e,n){var s;return s=(ln(e),e).g,z6e(!!s),ln(n),s(n)}i(Asn,"xs");function $Rt(e,n){var s,u;return u=N8(e,n),s=e.a.fd(u),new VCt(e,s)}i($Rt,"rv");function Rsn(e){return e.Db>>16!=6?null:y(Hhe(e),241)}i(Rsn,"CXd");function Lsn(e){if(e.p!=2)throw me(new ah);return oi(e.f)&ks}i(Lsn,"sKd");function Dsn(e){if(e.p!=2)throw me(new ah);return oi(e.k)&ks}i(Dsn,"BKd");function pe(e){return Sn(e.au?1:0}i(Gsn,"J_b");function URt(e,n){var s,u;return s=Gce(n),u=s,y(mn(e.c,u),17).a}i(URt,"Hmc");function bce(e,n,s){var u;u=e.d[n.p],e.d[n.p]=e.d[s.p],e.d[s.p]=u}i(bce,"CMc");function jsn(e,n,s){var u;e.n&&n&&s&&(u=new nbt,It(e.e,u))}i(jsn,"Jqd");function vce(e,n){if(As(e.a,n),n.d)throw me(new ec(Jzt));n.d=e}i(vce,"gYb");function Q8e(e,n){this.a=new Mt,this.d=new Mt,this.f=e,this.c=n}i(Q8e,"Had");function VRt(){this.c=new A5t,this.a=new IDt,this.b=new H3t,cEt()}i(VRt,"RWb");function HRt(){N5(),this.b=new zn,this.a=new zn,this.c=new Mt}i(HRt,"med");function qRt(e,n,s){this.d=e,this.j=n,this.e=s,this.o=-1,this.p=3}i(qRt,"KKd");function WRt(e,n,s){this.d=e,this.k=n,this.f=s,this.o=-1,this.p=5}i(WRt,"LKd");function YRt(e,n,s,u,d,g){Q7e.call(this,e,n,s,u,d),g&&(this.o=-2)}i(YRt,"S3d");function KRt(e,n,s,u,d,g){J7e.call(this,e,n,s,u,d),g&&(this.o=-2)}i(KRt,"U3d");function XRt(e,n,s,u,d,g){g7e.call(this,e,n,s,u,d),g&&(this.o=-2)}i(XRt,"W3d");function QRt(e,n,s,u,d,g){tRe.call(this,e,n,s,u,d),g&&(this.o=-2)}i(QRt,"Y3d");function JRt(e,n,s,u,d,g){m7e.call(this,e,n,s,u,d),g&&(this.o=-2)}i(JRt,"$3d");function ZRt(e,n,s,u,d,g){Z7e.call(this,e,n,s,u,d),g&&(this.o=-2)}i(ZRt,"a4d");function eLt(e,n,s,u,d,g){eRe.call(this,e,n,s,u,d),g&&(this.o=-2)}i(eLt,"f4d");function tLt(e,n,s,u,d,g){y7e.call(this,e,n,s,u,d),g&&(this.o=-2)}i(tLt,"h4d");function rLt(e,n,s,u){sq.call(this,s),this.b=e,this.c=n,this.d=u}i(rLt,"N7d");function nLt(e,n){this.f=e,this.a=(H8(),JZ),this.c=JZ,this.b=n}i(nLt,"mfe");function iLt(e,n){this.g=e,this.d=(H8(),ZZ),this.a=ZZ,this.b=n}i(iLt,"Jfe");function J8e(e,n){!e.c&&(e.c=new rs(e,0)),gX(e.c,(ha(),oN),n)}i(J8e,"Gme");function zsn(e,n){return Cvn(e,n,$e(n,102)&&(y(n,19).Bb&Xo)!=0)}i(zsn,"Oge");function Usn(e,n){return F8t(Cc(e.q.getTime()),Cc(n.q.getTime()))}i(Usn,"lB");function aLt(e){return Ele(e.e.Rd().gc()*e.c.Rd().gc(),16,new Lwt(e))}i(aLt,"gj");function Vsn(e){return!!e.u&&$c(e.u.a).i!=0&&!(e.n&&lhe(e.n))}i(Vsn,"CYd");function Hsn(e){return!!e.a&&Wh(e.a.a).i!=0&&!(e.b&&che(e.b))}i(Hsn,"p4d");function Z8e(e,n){return n==0?!!e.o&&e.o.f!=0:rhe(e,n)}i(Z8e,"Cxd");function qsn(e,n,s){var u;return u=y(e.Zb().xc(n),16),!!u&&u.Hc(s)}i(qsn,"Cc");function sLt(e,n,s){var u;return u=y(e.Zb().xc(n),16),!!u&&u.Mc(s)}i(sLt,"Gc");function oLt(e,n){var s;return s=1-n,e.a[s]=KY(e.a[s],s),KY(e,n)}i(oLt,"_yb");function lLt(e,n){var s,u;return u=Vs(e,ol),s=Mp(n,32),ug(s,u)}i(lLt,"DFb");function cLt(e,n,s){var u;u=(li(e),new Sh(e)),Ygn(new xRt(u,n,s))}i(cLt,"bGb");function mF(e,n,s){var u;u=(li(e),new Sh(e)),Kgn(new TRt(u,n,s))}i(mF,"t$b");function fc(e,n,s,u,d,g){return G9t(e,n,s,g),lLe(e,u),cLe(e,d),e}i(fc,"vBd");function uLt(e,n,s,u){return e.a+=""+od(n==null?Xu:Hl(n),s,u),e}i(uLt,"Xhb");function vo(e,n){this.a=e,m_.call(this,e),Bk(n,e.gc()),this.b=n}i(vo,"Jkb");function hLt(e){this.a=ot(Hs,Gr,1,ORe(p.Math.max(8,e))<<1,5,1)}i(hLt,"xmb");function yF(e){return y(Wg(e,ot(Km,Yy,10,e.c.length,0,1)),199)}i(yF,"t2b");function $0(e){return y(Wg(e,ot(c0e,Pde,18,e.c.length,0,1)),483)}i($0,"s2b");function fLt(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}i(fLt,"Iyb");function xM(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}i(xM,"Rib");function dLt(e){return Sn(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}i(dLt,"fvb");function Wsn(e,n,s){e.a=n,e.c=s,e.b.a.$b(),Sf(e.d),wk(e.e.a.c,0)}i(Wsn,"sRc");function pLt(e,n){var s;e.e=new VSe,s=n3(n),gs(s,e.c),R$t(e,s,0)}i(pLt,"Z5c");function xs(e,n,s,u){var d;d=new FEe,d.a=n,d.b=s,d.c=u,ki(e.a,d)}i(xs,"zgd");function Dt(e,n,s,u){var d;d=new FEe,d.a=n,d.b=s,d.c=u,ki(e.b,d)}i(Dt,"Agd");function gLt(e,n,s){if(e<0||ns)throw me(new kl(syn(e,n,s)))}i(gLt,"Tb");function bF(e,n){if(e<0||e>=n)throw me(new kl(Byn(e,n)));return e}i(bF,"Pb");function Ysn(e){if(!("stack"in e))try{throw e}catch{}return e}i(Ysn,"qz");function sC(e){return M_(),$e(e.g,10)?y(e.g,10):null}i(sC,"Zjc");function Ksn(e){return iC(e).dc()?!1:(bJr(e,new G),!0)}i(Ksn,"nx");function j2(e){var n;return Ul(e)?(n=e,n==-0?0:n):ucn(e)}i(j2,"Xdb");function mLt(e,n){return $e(n,44)?phe(e.a,y(n,44)):!1}i(mLt,"lkb");function yLt(e,n){return $e(n,44)?phe(e.a,y(n,44)):!1}i(yLt,"gsb");function bLt(e,n){return $e(n,44)?phe(e.a,y(n,44)):!1}i(bLt,"vub");function e7e(e){var n;return Zb(e),n=new Ve,z4(e.a,new wxt(n)),n}i(e7e,"RCb");function t7e(){var e,n,s;return n=(s=(e=new sx,e),s),It(BVe,n),n}i(t7e,"Vae");function hY(e){var n;return Zb(e),n=new De,z4(e.a,new xxt(n)),n}i(hY,"mDb");function Xsn(e,n){return e.a<=e.b?(n.Dd(e.a++),!0):!1}i(Xsn,"jDb");function vLt(e){oue.call(this,e,(Y8(),Ige),null,!1,null,!1)}i(vLt,"xzb");function wLt(){wLt=z,AYt=ni((Eq(),Te(we(qPe,1),kt,489,0,[qge])))}i(wLt,"$Rb");function xLt(){xLt=z,FGe=d7t(_t(1),_t(4)),BGe=d7t(_t(1),_t(2))}i(xLt,"CHc");function Qsn(e,n){return new vle(n,iM(ko(n.e),e,e),(Hr(),!0))}i(Qsn,"yXc");function fY(e){return new pu((_f(e,Bfe),NY($o($o(5,e),e/10|0))))}i(fY,"fv");function Jsn(e){return Ele(e.e.Rd().gc()*e.c.Rd().gc(),273,new Rwt(e))}i(Jsn,"Wi");function TLt(e){return y(Wg(e,ot(PKt,LUt,12,e.c.length,0,1)),2042)}i(TLt,"u2b");function Zsn(e){return Af(),!Ko(e)&&!(!Ko(e)&&e.c.i.c==e.d.i.c)}i(Zsn,"COc");function eon(e,n){return M5(),y(oe(n,(pc(),lE)),17).a>=e.gc()}i(eon,"Y_c");function TM(e,n){PCn(n,e),NAe(e.d),NAe(y(oe(e,(Ht(),HJ)),214))}i(TM,"q8b");function wce(e,n){BCn(n,e),OAe(e.d),OAe(y(oe(e,(Ht(),HJ)),214))}i(wce,"r8b");function ton(e,n,s){e.d&&Wu(e.d.e,e),e.d=n,e.d&&Cx(e.d.e,s,e)}i(ton,"$0b");function ron(e,n,s){return s.f.c.length>0?c8e(e.a,n,s):c8e(e.b,n,s)}i(ron,"jPb");function non(e,n,s){var u;u=wpn();try{return VZr(e,n,s)}finally{Kon(u)}}i(non,"Uz");function Bx(e,n){var s,u;return s=S1(e,n),u=null,s&&(u=s.pe()),u}i(Bx,"wDd");function kM(e,n){var s,u;return s=S1(e,n),u=null,s&&(u=s.se()),u}i(kM,"yDd");function U8(e,n){var s,u;return s=jk(e,n),u=null,s&&(u=s.se()),u}i(U8,"xDd");function A1(e,n){var s,u;return s=S1(e,n),u=null,s&&(u=e_e(s)),u}i(A1,"zDd");function ion(e,n,s){var u;return u=E7(s),uX(e.g,u,n),uX(e.i,n,s),n}i(ion,"rEd");function r7e(e,n,s){this.d=new ITt(this),this.e=e,this.i=n,this.f=s}i(r7e,"UIc");function kLt(e,n,s,u){this.e=null,this.c=e,this.d=n,this.a=s,this.b=u}i(kLt,"Mk");function CLt(e,n,s,u){x5t(this),this.c=e,this.e=n,this.f=s,this.b=u}i(CLt,"urc");function n7e(e,n,s,u){this.d=e,this.n=n,this.g=s,this.o=u,this.p=-1}i(n7e,"MKd");function ELt(e,n,s,u){return $e(s,59)?new t6t(e,n,s,u):new n8e(e,n,s,u)}i(ELt,"Vc");function V8(e){return $e(e,16)?y(e,16).dc():!e.Kc().Ob()}i(V8,"gr");function SLt(e){if(e.e.g!=e.b)throw me(new rd);return!!e.c&&e.d>0}i(SLt,"Wo");function Un(e){return Sn(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}i(Un,"evb");function i7e(e,n){ln(n),Ka(e.a,e.c,n),e.c=e.c+1&e.a.length-1,YOt(e)}i(i7e,"imb");function tv(e,n){ln(n),e.b=e.b-1&e.a.length-1,Ka(e.a,e.b,n),YOt(e)}i(tv,"hmb");function ALt(e){var n;n=e.Gh(),this.a=$e(n,71)?y(n,71).Ii():n.Kc()}i(ALt,"_je");function aon(e){return new Ar(Vcn(y(e.a.md(),16).gc(),e.a.ld()),16)}i(aon,"px");function RLt(){RLt=z,Vtr=ni((Rq(),Te(we(bze,1),kt,490,0,[b1e])))}i(RLt,"Abd");function LLt(){LLt=z,qtr=ni((Lq(),Te(we(Htr,1),kt,558,0,[v1e])))}i(LLt,"Jbd");function DLt(){DLt=z,urr=ni((I_(),Te(we($ze,1),kt,539,0,[aj])))}i(DLt,"idd");function son(){return Q2(),Te(we(bBe,1),kt,389,0,[T3,yBe,o0e,l0e])}i(son,"X$b");function oon(){return Y8(),Te(we(FQ,1),kt,304,0,[Ige,Nge,Oge,Pge])}i(oon,"hAb");function lon(){return $5(),Te(we(TYt,1),kt,332,0,[kG,TG,CG,EG])}i(lon,"LPb");function con(){return QM(),Te(we(EYt,1),kt,406,0,[SG,zQ,UQ,AG])}i(con,"LRb");function uon(){return Vx(),Te(we(wYt,1),kt,417,0,[xG,wG,Vge,Hge])}i(uon,"pOb");function hon(){return u7(),Te(we(CKt,1),kt,416,0,[pT,x3,w3,VC])}i(hon,"uZb");function fon(){return qg(),Te(we(eXt,1),kt,421,0,[d6,xR,TR,b0e])}i(fon,"hnc");function don(){return iK(),Te(we(UKt,1),kt,371,0,[y0e,gJ,mJ,MG])}i(don,"zec");function pon(){return Xk(),Te(we(vme,1),kt,203,0,[ZJ,bme,sE,aE])}i(pon,"BDc");function gon(){return G0(),Te(we(EGe,1),kt,284,0,[eb,CGe,Tme,kme])}i(gon,"nEc");function mon(e){var n;return e.j==(Bt(),Gn)&&(n=mFt(e),lh(n,pn))}i(mon,"Unc");function yon(e,n){var s;s=n.a,Fo(s,n.c.d),ho(s,n.d.d),Hk(s.a,e.n)}i(yon,"qhc");function a7e(e,n){var s;return s=y(Vg(e.b,n),67),!s&&(s=new Da),s}i(a7e,"_5b");function A5(e){return M_(),$e(e.g,154)?y(e.g,154):null}i(A5,"$jc");function bon(e){e.a=null,e.e=null,wk(e.b.c,0),wk(e.f.c,0),e.c=null}i(bon,"gRc");function dY(){dY=z,U0e=new B5e(Z7,0),IFe=new B5e("TOP_LEFT",1)}i(dY,"Ovc");function CM(){CM=z,RI=new $5e("UPPER",0),AI=new $5e("LOWER",1)}i(CM,"sNc");function von(e,n){return u5(new St(n.e.a+n.f.a/2,n.e.b+n.f.b/2),e)}i(von,"nWc");function _Lt(e,n){return y(hf(Mk(y(ta(e.k,n),15).Oc(),qC)),113)}i(_Lt,"wqc");function MLt(e,n){return y(hf(b5(y(ta(e.k,n),15).Oc(),qC)),113)}i(MLt,"xqc");function won(){return z5(),Te(we(jGe,1),kt,405,0,[sZ,LI,DI,_I])}i(won,"cWc");function xon(){return $M(),Te(we(vje,1),kt,353,0,[qme,hZ,Hme,Vme])}i(xon,"v_c");function Ton(){return OK(),Te(we(zje,1),kt,354,0,[n1e,Gje,jje,$je])}i(Ton,"n5c");function kon(){return mf(),Te(we(eN,1),kt,386,0,[xj,Lw,wj,z3])}i(kon,"Tpd");function Con(){return If(),Te(we(Jrr,1),kt,291,0,[yj,Jm,Iv,mj])}i(Con,"Tnd");function Eon(){return P1(),Te(we(q1e,1),kt,223,0,[H1e,gj,XR,R6])}i(Eon,"_md");function Son(){return mK(),Te(we(oVe,1),kt,320,0,[K1e,iVe,sVe,aVe])}i(Son,"Jrd");function Aon(){return sK(),Te(we(gnr,1),kt,415,0,[X1e,cVe,lVe,uVe])}i(Aon,"wtd");function Ron(e){return lY(),Ru(tye,e)?y(mn(tye,e),341).Qg():null}i(Ron,"GId");function ld(e,n,s){return n<0?zhe(e,s):y(s,69).wk().Bk(e,e.hi(),n)}i(ld,"Avd");function Lon(e,n,s){var u;return u=E7(s),uX(e.j,u,n),ji(e.k,n,s),n}i(Lon,"sEd");function Don(e,n,s){var u;return u=E7(s),uX(e.d,u,n),ji(e.e,n,s),n}i(Don,"qEd");function ILt(e){var n,s;return n=(Vb(),s=new wse,s),e&&eX(n,e),n}i(ILt,"DGd");function s7e(e){var n;return n=e.aj(e.i),e.i>0&&jc(e.g,0,n,0,e.i),n}i(s7e,"WHd");function NLt(e,n){var s;for(s=e.j.c.length;s>24}i(_on,"rKd");function Mon(e){if(e.p!=1)throw me(new ah);return oi(e.k)<<24>>24}i(Mon,"AKd");function Ion(e){if(e.p!=7)throw me(new ah);return oi(e.k)<<16>>16}i(Ion,"GKd");function Non(e){if(e.p!=7)throw me(new ah);return oi(e.f)<<16>>16}i(Non,"xKd");function oC(e,n){return n.e==0||e.e==0?tI:(B7(),Qhe(e,n))}i(oC,"Wib");function BLt(e,n){return Ze(n)===Ze(e)?"(this Map)":n==null?Xu:Hl(n)}i(BLt,"Nd");function Oon(e,n,s){return Nle(rt(Il(il(e.f,n))),rt(Il(il(e.f,s))))}i(Oon,"MFb");function Pon(e,n,s){var u;u=y(mn(e.g,s),60),It(e.a.c,new Bs(n,u))}i(Pon,"wkc");function FLt(e,n,s){e.i=0,e.e=0,n!=s&&(wIt(e,n,s),vIt(e,n,s))}i(FLt,"Slc");function Bon(e,n,s,u,d){var g;g=Fvn(d,s,u),It(n,Dyn(d,g)),x1n(e,d,n)}i(Bon,"rTc");function o7e(e,n,s,u,d){this.i=e,this.a=n,this.e=s,this.j=u,this.f=d}i(o7e,"Jrc");function $Lt(e,n){F8e.call(this),this.a=e,this.b=n,It(this.a.b,this)}i($Lt,"iUb");function GLt(e){this.b=new zn,this.c=new zn,this.d=new zn,this.a=e}i(GLt,"rTb");function jLt(e,n){var s;return s=new G4,e.Gd(s),s.a+="..",n.Hd(s),s.a}i(jLt,"Dx");function zLt(e,n){var s;for(s=n;s;)Tx(e,s.i,s.j),s=Oa(s);return e}i(zLt,"Fsd");function ULt(e,n,s){var u;return u=E7(s),ji(e.b,u,n),ji(e.c,n,s),n}i(ULt,"pEd");function R1(e){var n;for(n=0;e.Ob();)e.Pb(),n=$o(n,1);return NY(n)}i(R1,"Kr");function Om(e,n){el();var s;return s=y(e,69).vk(),B1n(s,n),s.xl(n)}i(Om,"oke");function Fon(e,n,s){if(s){var u=s.oe();e.a[n]=u(s)}else delete e.a[n]}i(Fon,"tC");function l7e(e,n){var s;s=e.q.getHours(),e.q.setFullYear(n+mv),g9(e,s)}i(l7e,"tB");function $on(e,n){return y(n==null?Il(il(e.f,null)):B_(e.i,n),288)}i($on,"KSd");function c7e(e,n){return e==(sn(),ls)&&n==ls?4:e==ls||n==ls?8:32}i(c7e,"hOc");function pY(e,n,s){return fX(e,n,s,$e(n,102)&&(y(n,19).Bb&Xo)!=0)}i(pY,"cge");function Gon(e,n,s){return j7(e,n,s,$e(n,102)&&(y(n,19).Bb&Xo)!=0)}i(Gon,"jge");function jon(e,n,s){return _vn(e,n,s,$e(n,102)&&(y(n,19).Bb&Xo)!=0)}i(jon,"Qge");function u7e(e){e.b!=e.c&&(e.a=ot(Hs,Gr,1,8,5,1),e.b=0,e.c=0)}i(u7e,"jmb");function EM(e){return Sn(e.a=0&&e.a[s]===n[s];s--);return s<0}i(Won,"Tib");function gY(e){var n;return e?new WAe(e):(n=new I0,aue(n,e),n)}i(gY,"Xx");function Yon(e,n){var s,u;u=!1;do s=cIt(e,n),u=u|s;while(s);return u}i(Yon,"nmc");function Kon(e){e&&xcn((XSe(),WOe)),--MQ,e&&IQ!=-1&&(GQr(IQ),IQ=-1)}i(Kon,"Vz");function mY(e){FDe(),_5t(this,oi(Vs(Ex(e,24),EX)),oi(Vs(e,EX)))}i(mY,"Pwb");function YLt(){YLt=z,jWt=ni((EK(),Te(we(kPe,1),kt,436,0,[$ge,TPe])))}i(YLt,"IHb");function KLt(){KLt=z,zWt=ni((MY(),Te(we(EPe,1),kt,435,0,[CPe,Gge])))}i(KLt,"QHb");function XLt(){XLt=z,VYt=ni((IY(),Te(we(ZPe,1),kt,432,0,[Qge,qQ])))}i(XLt,"YUb");function QLt(){QLt=z,GKt=ni((i7(),Te(we($Kt,1),kt,517,0,[DG,d0e])))}i(QLt,"U8b");function JLt(){JLt=z,SXt=ni((dY(),Te(we(NFe,1),kt,429,0,[U0e,IFe])))}i(JLt,"Tvc");function ZLt(){ZLt=z,gXt=ni((NF(),Te(we(bFe,1),kt,428,0,[TJ,yFe])))}i(ZLt,"duc");function eDt(){eDt=z,vXt=ni((AF(),Te(we(xFe,1),kt,488,0,[wFe,CJ])))}i(eDt,"Huc");function tDt(){tDt=z,nZt=ni((MF(),Te(we(SGe,1),kt,430,0,[Cme,Eme])))}i(tDt,"xEc");function rDt(){rDt=z,_Zt=ni((CM(),Te(we(DZt,1),kt,531,0,[RI,AI])))}i(rDt,"xNc");function nDt(){nDt=z,hXt=ni((CY(),Te(we(uFe,1),kt,431,0,[cFe,R0e])))}i(nDt,"otc");function iDt(){iDt=z,Oer=ni((uY(),Te(we(xje,1),kt,433,0,[Wme,wje])))}i(iDt,"F_c");function aDt(){aDt=z,Ger=ni((YY(),Te(we(Tje,1),kt,501,0,[fZ,uE])))}i(aDt,"F2c");function sDt(){sDt=z,FZt=ni((F0(),Te(we(BZt,1),kt,523,0,[RT,tb])))}i(sDt,"BQc");function oDt(){oDt=z,GZt=ni(($g(),Te(we($Zt,1),kt,522,0,[kw,n0])))}i(oDt,"JQc");function lDt(){lDt=z,ter=ni((hg(),Te(we(eer,1),kt,528,0,[B3,Lv])))}i(lDt,"kTc");function cDt(){cDt=z,ler=ni((Ox(),Te(we(oer,1),kt,465,0,[Dv,oE])))}i(cDt,"iVc");function uDt(){uDt=z,Uer=ni((SY(),Te(we(Cje,1),kt,434,0,[kje,Zme])))}i(uDt,"c4c");function hDt(){hDt=z,Ftr=ni((bY(),Te(we(hze,1),kt,491,0,[g1e,uze])))}i(hDt,"H8c");function fDt(){fDt=z,Gtr=ni((fue(),Te(we(yze,1),kt,492,0,[gze,mze])))}i(fDt,"J9c");function dDt(){dDt=z,Wtr=ni((TF(),Te(we(vze,1),kt,438,0,[w1e,kZ])))}i(dDt,"Rbd");function pDt(){pDt=z,hrr=ni((VF(),Te(we(jze,1),kt,437,0,[EZ,Gze])))}i(pDt,"tdd");function gDt(){gDt=z,fnr=ni((yle(),Te(we(GZ,1),kt,347,0,[rVe,nVe])))}i(gDt,"Eqd");function Xon(){return Ts(),Te(we(WI,1),kt,88,0,[s0,Gl,_l,a0,Cd])}i(Xon,"Imd");function Qon(){return Bt(),Te(we(Qo,1),Mc,64,0,[oc,en,pn,Gn,on])}i(Qon,"xpd");function Jon(e,n,s){return y(n==null?yu(e.f,null,s):Hx(e.i,n,s),288)}i(Jon,"LSd");function Zon(e){return(e.k==(sn(),ls)||e.k==ms)&&Ea(e,(At(),fI))}i(Zon,"L6b");function Ece(e){return e.c&&e.d?X8e(e.c)+"->"+X8e(e.d):"e_"+xx(e)}i(Ece,"bUb");function So(e,n){var s,u;for(ln(n),u=e.Kc();u.Ob();)s=u.Pb(),n.Cd(s)}i(So,"xgb");function eln(e,n){var s;s=new ZS,F2(s,"x",n.a),F2(s,"y",n.b),x5(e,s)}i(eln,"jEd");function tln(e,n){var s;s=new ZS,F2(s,"x",n.a),F2(s,"y",n.b),x5(e,s)}i(tln,"mEd");function mDt(e,n){var s;for(s=n;s;)Tx(e,-s.i,-s.j),s=Oa(s);return e}i(mDt,"Gsd");function f7e(e,n){var s,u;for(s=n,u=0;s>0;)u+=e.a[s],s-=s&-s;return u}i(f7e,"ZLc");function cd(e,n,s){var u;return u=(_r(n,e.c.length),e.c[n]),e.c[n]=s,u}i(cd,"$mb");function d7e(e,n,s){e.a.c.length=0,S3n(e,n,s),e.a.c.length==0||Zxn(e,n)}i(d7e,"uIc");function vF(e){e.i=0,EB(e.b,null),EB(e.c,null),e.a=null,e.e=null,++e.g}i(vF,"wo");function yY(){yY=z,e0=!0,_Wt=!1,MWt=!1,NWt=!1,IWt=!1}i(yY,"gBb");function Sce(e){yY(),!e0&&(this.c=e,this.e=!0,this.a=new Mt)}i(Sce,"oBb");function yDt(e,n){this.c=0,this.b=n,GSt.call(this,e,17493),this.a=this.c}i(yDt,"kDb");function bDt(e){wzt(),S3t(this),this.a=new Da,qRe(this,e),ki(this.a,e)}i(bDt,"S_b");function vDt(){Koe(this),this.b=new St(Pa,Pa),this.a=new St(Ls,Ls)}i(vDt,"m_b");function bY(){bY=z,g1e=new W5e(V9e,0),uze=new W5e("TARGET_WIDTH",1)}i(bY,"z8c");function lC(e,n){return(lv(e),b8(new Tr(e,new G7e(n,e.a)))).Bd(u6)}i(lC,"yDb");function rln(){return Io(),Te(we(gBe,1),kt,367,0,[zp,Ym,zc,eu,$l])}i(rln,"vXb");function nln(){return Jk(),Te(we(rXt,1),kt,375,0,[IG,vJ,wJ,bJ,yJ])}i(nln,"Fnc");function iln(){return jy(),Te(we(mFe,1),kt,348,0,[D0e,gFe,_0e,AR,SR])}i(iln,"Vtc");function aln(){return XM(),Te(we(bGe,1),kt,323,0,[yGe,wme,xme,TI,kI])}i(aln,"PDc");function sln(){return md(),Te(we(WFe,1),kt,171,0,[GG,pI,Av,gI,A3])}i(sln,"fxc");function oln(){return zK(),Te(we(jer,1),kt,368,0,[Qme,Yme,Jme,Kme,Xme])}i(oln,"k3c");function lln(){return c9(),Te(we(jtr,1),kt,373,0,[hE,k6,GI,$I,ij])}i(lln,"vad");function cln(){return g$(),Te(we(kze,1),kt,324,0,[wze,x1e,Tze,T1e,xze])}i(cln,"$bd");function uln(){return mg(),Te(we(Qm,1),kt,170,0,[Br,Gs,im,Cw,nb])}i(uln,"_hd");function hln(){return gC(),Te(we(QI,1),kt,256,0,[Nv,bj,KUe,XI,XUe])}i(hln,"sod");function fln(e){return gq(),function(){return non(e,this,arguments);var n}}i(fln,"Tz");function Ko(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}i(Ko,"W0b");function p7e(e,n){return $e(n,143)?kr(e.c,y(n,143).c):!1}i(p7e,"Nfd");function qh(e){return e.t||(e.t=new m3t(e),VM(new M4t(e),0,e.t)),e.t}i(qh,"yYd");function wDt(e){this.b=e,gn.call(this,e),this.a=y(Xr(this.b.a,4),129)}i(wDt,"jNd");function xDt(e){this.b=e,f5.call(this,e),this.a=y(Xr(this.b.a,4),129)}i(xDt,"sNd");function Ip(e,n,s,u,d){_Dt.call(this,n,u,d),this.c=e,this.b=s}i(Ip,"Q3d");function g7e(e,n,s,u,d){qRt.call(this,n,u,d),this.c=e,this.a=s}i(g7e,"V3d");function m7e(e,n,s,u,d){WRt.call(this,n,u,d),this.c=e,this.a=s}i(m7e,"Z3d");function y7e(e,n,s,u,d){_Dt.call(this,n,u,d),this.c=e,this.a=s}i(y7e,"g4d");function Ace(e,n){var s;return s=y(Vg(e.d,n),23),s||y(Vg(e.e,n),23)}i(Ace,"ugd");function TDt(e,n){var s,u;return s=n.ld(),u=e.Fe(s),!!u&&kc(u.e,n.md())}i(TDt,"Blb");function kDt(e,n){var s;return s=n.ld(),new dx(s,e.e.pc(s,y(n.md(),16)))}i(kDt,"me");function dln(e,n){var s;return s=e.a.get(n),s??ot(Hs,Gr,1,0,5,1)}i(dln,"ptb");function CDt(e){var n;return n=e.length,kr(hn.substr(hn.length-n,n),e)}i(CDt,"khb");function Mn(e){if(qn(e))return e.c=e.a,e.a.Pb();throw me(new Zl)}i(Mn,"hs");function b7e(e,n){return n==0||e.e==0?e:n>0?d$t(e,n):BNt(e,-n)}i(b7e,"$ib");function R5(e,n){return n==0||e.e==0?e:n>0?BNt(e,n):d$t(e,-n)}i(R5,"Zib");function v7e(e){CQr.call(this,e==null?Xu:Hl(e),$e(e,82)?y(e,82):null)}i(v7e,"Deb");function EDt(e){var n;return e.c||(n=e.r,$e(n,90)&&(e.c=y(n,29))),e.c}i(EDt,"Y5d");function Rce(e){var n;return n=new Ix,Bl(n,e),Tt(n,(Ht(),Dl),null),n}i(Rce,"s0b");function SDt(e){var n,s;return n=e.c.i,s=e.d.i,n.k==(sn(),ms)&&s.k==ms}i(SDt,"lec");function Lce(e){var n,s,u;return n=e&Qh,s=e>>22&Qh,u=e<0?U1:0,Au(n,s,u)}i(Lce,"fD");function pln(e){var n,s,u,d;for(s=e,u=0,d=s.length;u=0?e.Lh(u,s,!0):Jx(e,n,s)}i(Dce,"Fvd");function mln(e,n,s){return ga(u5(A7(e),ko(n.b)),u5(A7(e),ko(s.b)))}i(mln,"AXc");function yln(e,n,s){return ga(u5(A7(e),ko(n.e)),u5(A7(e),ko(s.e)))}i(yln,"BXc");function bln(e,n){return p.Math.min(rv(n.a,e.d.d.c),rv(n.b,e.d.d.c))}i(bln,"Kad");function wF(e,n){e._i(e.i+1),tM(e,e.i,e.Zi(e.i,n)),e.Mi(e.i++,n),e.Ni()}i(wF,"LHd");function SM(e){var n,s;++e.j,n=e.g,s=e.i,e.g=null,e.i=0,e.Oi(s,n),e.Ni()}i(SM,"OHd");function ADt(e,n,s){var u;u=new b6e(e.a),IM(u,e.a.a),yu(u.f,n,s),e.a.a=u}i(ADt,"yke");function w7e(e,n,s,u){var d;for(d=0;dn)throw me(new kl(c_e(e,n,"index")));return e}i(T7e,"Sb");function My(e,n){var s;return s=(_r(n,e.c.length),e.c[n]),d5e(e.c,n,1),s}i(My,"Xmb");function k7e(e,n){var s,u;return s=(ln(e),e),u=(ln(n),n),s==u?0:sn.p?-1:0}i(kln,"mIc");function ODt(e){var n;return e.a||(n=e.r,$e(n,156)&&(e.a=y(n,156))),e.a}i(ODt,"hXd");function Cln(e,n,s){var u;return++e.e,--e.f,u=y(e.d[n].gd(s),136),u.md()}i(Cln,"iOd");function Eln(e){var n,s;return n=e.ld(),s=y(e.md(),16),ZB(s.Nc(),new _wt(n))}i(Eln,"fd");function PDt(e,n){return Ru(e.a,n)?(L5(e.a,n),!0):!1}i(PDt,"oae");function D5(e,n,s){return bF(n,e.e.Rd().gc()),bF(s,e.c.Rd().gc()),e.a[n][s]}i(D5,"Ui");function wY(e,n,s){this.a=e,this.b=n,this.c=s,It(e.t,this),It(n.i,this)}i(wY,"_Uc");function xY(e,n,s,u){this.f=e,this.e=n,this.d=s,this.b=u,this.c=u?u.d:null}i(xY,"lg");function xF(){this.b=new Da,this.a=new Da,this.b=new Da,this.a=new Da}i(xF,"YWc");function H8(){H8=z;var e,n;JZ=(y8(),n=new cq,n),ZZ=(e=new jse,e)}i(H8,"ree");function Sln(e){var n;return lv(e),n=new RAt(e,e.a.e,e.a.d|4),new V6e(e,n)}i(Sln,"UCb");function BDt(e){var n;for(Zb(e),n=0;e.a.Bd(new ht);)n=$o(n,1);return n}i(BDt,"ADb");function TY(e,n){return ln(n),e.c=0,"Initial capacity must not be negative")}i(pu,"cnb");function kY(){kY=z,jI=new ea("org.eclipse.elk.labels.labelManager")}i(kY,"rid");function FDt(){FDt=z,iFe=new ja("separateLayerConnections",(iK(),y0e))}i(FDt,"iec");function hg(){hg=z,B3=new z5e("REGULAR",0),Lv=new z5e("CRITICAL",1)}i(hg,"fTc");function TF(){TF=z,w1e=new K5e("FIXED",0),kZ=new K5e("CENTER_NODE",1)}i(TF,"Mbd");function CY(){CY=z,cFe=new N5e("QUADRATIC",0),R0e=new N5e("SCANLINE",1)}i(CY,"jtc");function $Dt(){$Dt=z,fXt=ni((DM(),Te(we(fFe,1),kt,322,0,[lI,NG,hFe])))}i($Dt,"Atc");function GDt(){GDt=z,dXt=ni((jY(),Te(we(pFe,1),kt,351,0,[dFe,xJ,L0e])))}i(GDt,"Jtc");function jDt(){jDt=z,lXt=ni((zx(),Te(we(v0e,1),kt,372,0,[mT,Ev,gT])))}i(jDt,"ooc");function zDt(){zDt=z,yXt=ni((Y2(),Te(we(mXt,1),kt,460,0,[M0e,RR,KC])))}i(zDt,"muc");function UDt(){UDt=z,kXt=ni((c7(),Te(we(z0e,1),kt,299,0,[G0e,j0e,OG])))}i(UDt,"Cvc");function VDt(){VDt=z,EXt=ni((M1(),Te(we(CXt,1),kt,311,0,[PG,QC,p6])))}i(VDt,"Lvc");function HDt(){HDt=z,JJt=ni((GM(),Te(we(mGe,1),kt,390,0,[yme,gGe,JJ])))}i(HDt,"rDc");function qDt(){qDt=z,sZt=ni((tK(),Te(we(LGe,1),kt,387,0,[AGe,Sme,RGe])))}i(qDt,"PEc");function WDt(){WDt=z,oZt=ni((BM(),Te(we(DGe,1),kt,349,0,[Rme,Ame,WG])))}i(WDt,"YEc");function YDt(){YDt=z,aZt=ni((al(),Te(we(iZt,1),kt,463,0,[CI,Ih,vu])))}i(YDt,"GEc");function KDt(){KDt=z,lZt=ni((y7(),Te(we(MGe,1),kt,350,0,[Lme,_Ge,EI])))}i(KDt,"qFc");function XDt(){XDt=z,cZt=ni((GY(),Te(we(OGe,1),kt,352,0,[NGe,Dme,IGe])))}i(XDt,"zFc");function QDt(){QDt=z,uZt=ni((aK(),Te(we(PGe,1),kt,388,0,[_me,jR,P3])))}i(QDt,"IFc");function JDt(){JDt=z,her=ni((FM(),Te(we(ZGe,1),kt,392,0,[JGe,Nme,XG])))}i(JDt,"QZc");function ZDt(){ZDt=z,Ver=ni((YF(),Te(we(Aje,1),kt,393,0,[dZ,Eje,Sje])))}i(ZDt,"m4c");function e_t(){e_t=z,htr=ni((eK(),Te(we(Hje,1),kt,300,0,[i1e,Vje,Uje])))}i(e_t,"z5c");function t_t(){t_t=z,ftr=ni((wK(),Te(we(qje,1),kt,445,0,[tj,mZ,a1e])))}i(t_t,"k6c");function r_t(){r_t=z,ptr=ni((_K(),Te(we(dtr,1),kt,456,0,[s1e,l1e,o1e])))}i(r_t,"F6c");function n_t(){n_t=z,ytr=ni((pK(),Te(we(Kje,1),kt,394,0,[Yje,h1e,Wje])))}i(n_t,"e7c");function i_t(){i_t=z,$tr=ni((AY(),Te(we(pze,1),kt,439,0,[m1e,dze,fze])))}i(i_t,"j9c");function a_t(){a_t=z,SZt=ni((jx(),Te(we(EZt,1),kt,464,0,[YG,SI,rZ])))}i(a_t,"WKc");function s_t(){s_t=z,YWt=ni((Lh(),Te(we(WWt,1),kt,471,0,[em,kv,Gp])))}i(s_t,"JKb");function o_t(){o_t=z,qWt=ni((pg(),Te(we(v3,1),kt,237,0,[yc,bu,bc])))}i(o_t,"cKb");function l_t(){l_t=z,XWt=ni((Yu(),Te(we(KWt,1),kt,472,0,[vg,Cv,jp])))}i(l_t,"ALb");function c_t(){c_t=z,OWt=ni((Dh(),Te(we(Ll,1),kt,108,0,[xPe,Wl,b3])))}i(c_t,"CBb");function u_t(){u_t=z,mKt=ni((AM(),Te(we(pBe,1),kt,391,0,[t0e,e0e,r0e])))}i(u_t,"FWb");function h_t(){h_t=z,Qrr=ni((O1(),Te(we(YUe,1),kt,346,0,[IZ,ab,KI])))}i(h_t,"Knd");function f_t(){f_t=z,Utr=ni((e$(),Te(we(y1e,1),kt,444,0,[wZ,xZ,TZ])))}i(f_t,"lbd");function d_t(){d_t=z,Wrr=ni((Hg(),Te(we(PUe,1),kt,278,0,[YR,j3,KR])))}i(d_t,"Tmd");function p_t(){p_t=z,hnr=ni((P5(),Te(we(tVe,1),kt,280,0,[eVe,U3,$Z])))}i(p_t,"rqd");function Ug(e,n){return!e.o&&(e.o=new hh((_c(),t1),sb,e,0)),Wue(e.o,n)}i(Ug,"Hxd");function Aln(e,n){var s;e.C&&(s=y(gl(e.b,n),127).n,s.d=e.C.d,s.a=e.C.a)}i(Aln,"HMb");function R7e(e){var n,s,u,d;d=e.d,n=e.a,s=e.b,u=e.c,e.d=s,e.a=u,e.b=d,e.c=n}i(R7e,"F8b");function Rln(e){return!e.g&&(e.g=new QH),!e.g.b&&(e.g.b=new f3t(e)),e.g.b}i(Rln,"cOd");function kF(e){return!e.g&&(e.g=new QH),!e.g.c&&(e.g.c=new g3t(e)),e.g.c}i(kF,"dOd");function Lln(e){return!e.g&&(e.g=new QH),!e.g.d&&(e.g.d=new d3t(e)),e.g.d}i(Lln,"lOd");function Dln(e){return!e.g&&(e.g=new QH),!e.g.a&&(e.g.a=new p3t(e)),e.g.a}i(Dln,"YNd");function _ln(e,n,s,u){return s&&(u=s.Rh(n,Ga(s.Dh(),e.c.uk()),null,u)),u}i(_ln,"B9d");function Mln(e,n,s,u){return s&&(u=s.Th(n,Ga(s.Dh(),e.c.uk()),null,u)),u}i(Mln,"C9d");function Ice(e,n,s,u){var d;return d=ot(ei,Ai,28,n+1,15,1),PTn(d,e,n,s,u),d}i(Ice,"Cjb");function ot(e,n,s,u,d,g){var x;return x=$Ot(d,u),d!=10&&Te(we(e,g),n,s,d,x),x}i(ot,"$C");function Iln(e,n,s){var u,d;for(d=new l7(n,e),u=0;us||n=0?e.Lh(s,!0,!0):Jx(e,n,!0)}i(q8,"Evd");function Xln(e,n,s){var u;return u=yIt(e,n,s),e.b=new XY(u.c.length),Q_e(e,u)}i(Xln,"gMc");function Qln(e){if(e.b<=0)throw me(new Zl);return--e.b,e.a-=e.c.c,_t(e.a)}i(Qln,"Pue");function Jln(e){var n;if(!e.a)throw me(new A7t);return n=e.a,e.a=Oa(e.a),n}i(Jln,"PGd");function Zln(e){for(;!e.a;)if(!Z6t(e.c,new Txt(e)))return!1;return!0}i(Zln,"WDb");function _5(e){var n;return li(e),$e(e,204)?(n=y(e,204),n):new $wt(e)}i(_5,"Nr");function ecn(e){EY(),y(e.of((_i(),G3)),181).Fc((_h(),vj)),e.qf(z1e,null)}i(ecn,"Cfd");function EY(){EY=z,grr=new wyt,yrr=new xyt,mrr=zhn((_i(),z1e),grr,Mv,yrr)}i(EY,"Afd");function SY(){SY=z,kje=new q5e("LEAF_NUMBER",0),Zme=new q5e("NODE_SIZE",1)}i(SY,"Y3c");function Fce(e){e.a=ot(ei,Ai,28,e.b+1,15,1),e.c=ot(ei,Ai,28,e.b,15,1),e.d=0}i(Fce,"YLc");function tcn(e,n){e.a.Ne(n.d,e.b)>0&&(It(e.c,new LAe(n.c,n.d,e.d)),e.b=n.d)}i(tcn,"OZb");function F7e(e,n){if(e.g==null||n>=e.i)throw me(new Voe(n,e.i));return e.g[n]}i(F7e,"NHd");function b_t(e,n,s){if(p7(e,s),s!=null&&!e.fk(s))throw me(new Fse);return s}i(b_t,"P_d");function $ce(e,n){return IF(n)!=10&&Te(gf(n),n.Sm,n.__elementTypeId$,IF(n),e),e}i($ce,"dD");function W8(e,n,s,u){var d;u=(Mx(),u||pPe),d=e.slice(n,s),u_e(d,e,n,s,-n,u)}i(W8,"Wnb");function ud(e,n,s,u,d){return n<0?Jx(e,s,u):y(s,69).wk().yk(e,e.hi(),n,u,d)}i(ud,"zvd");function rcn(e,n){return ga(Qe(rt(oe(e,(At(),vT)))),Qe(rt(oe(n,vT))))}i(rcn,"J9b");function v_t(){v_t=z,LWt=ni((Y8(),Te(we(FQ,1),kt,304,0,[Ige,Nge,Oge,Pge])))}i(v_t,"qAb");function Y8(){Y8=z,Ige=new Iq("All",0),Nge=new c5t,Oge=new b5t,Pge=new l5t}i(Y8,"cAb");function Lh(){Lh=z,em=new goe(Z5,0),kv=new goe(Z7,1),Gp=new goe(e6,2)}i(Lh,"EKb");function w_t(){w_t=z,dX(),HVe=Pa,vir=Ls,qVe=new hB(Pa),wir=new hB(Ls)}i(w_t,"Zme");function x_t(){x_t=z,xYt=ni((Vx(),Te(we(wYt,1),kt,417,0,[xG,wG,Vge,Hge])))}i(x_t,"rOb");function T_t(){T_t=z,SYt=ni((QM(),Te(we(EYt,1),kt,406,0,[SG,zQ,UQ,AG])))}i(T_t,"NRb");function k_t(){k_t=z,kYt=ni(($5(),Te(we(TYt,1),kt,332,0,[kG,TG,CG,EG])))}i(k_t,"NPb");function C_t(){C_t=z,_Kt=ni((Q2(),Te(we(bBe,1),kt,389,0,[T3,yBe,o0e,l0e])))}i(C_t,"Z$b");function E_t(){E_t=z,EKt=ni((u7(),Te(we(CKt,1),kt,416,0,[pT,x3,w3,VC])))}i(E_t,"wZb");function S_t(){S_t=z,tXt=ni((qg(),Te(we(eXt,1),kt,421,0,[d6,xR,TR,b0e])))}i(S_t,"jnc");function A_t(){A_t=z,VKt=ni((iK(),Te(we(UKt,1),kt,371,0,[y0e,gJ,mJ,MG])))}i(A_t,"Bec");function R_t(){R_t=z,ZJt=ni((Xk(),Te(we(vme,1),kt,203,0,[ZJ,bme,sE,aE])))}i(R_t,"DDc");function L_t(){L_t=z,rZt=ni((G0(),Te(we(EGe,1),kt,284,0,[eb,CGe,Tme,kme])))}i(L_t,"pEc");function AF(){AF=z,wFe=new P5e(K0,0),CJ=new P5e("IMPROVE_STRAIGHTNESS",1)}i(AF,"Cuc");function D_t(e,n){var s,u;return u=n/e.c.Rd().gc()|0,s=n%e.c.Rd().gc(),D5(e,u,s)}i(D_t,"_i");function __t(e){var n;if(e.nl())for(n=e.i-1;n>=0;--n)Ge(e,n);return s7e(e)}i(__t,"iZd");function $7e(e){var n,s;if(!e.b)return null;for(s=e.b;n=s.a[0];)s=n;return s}i($7e,"Nyb");function M_t(e){var n,s;if(!e.b)return null;for(s=e.b;n=s.a[1];)s=n;return s}i(M_t,"Oyb");function ncn(e){return $e(e,180)?""+y(e,180).a:e==null?null:Hl(e)}i(ncn,"Hae");function icn(e){return $e(e,180)?""+y(e,180).a:e==null?null:Hl(e)}i(icn,"Iae");function I_t(e,n){if(n.a)throw me(new ec(Jzt));As(e.a,n),n.a=e,!e.j&&(e.j=n)}i(I_t,"eGb");function G7e(e,n){nW.call(this,n.zd(),n.yd()&-16449),ln(e),this.a=e,this.c=n}i(G7e,"hEb");function acn(e,n){return new vle(n,Tx(ko(n.e),n.f.a+e,n.f.b+e),(Hr(),!1))}i(acn,"zXc");function scn(e,n){return D8(),It(e,new Bs(n,_t(n.e.c.length+n.g.c.length)))}i(scn,"EMc");function ocn(e,n){return D8(),It(e,new Bs(n,_t(n.e.c.length+n.g.c.length)))}i(ocn,"GMc");function N_t(){N_t=z,utr=ni((OK(),Te(we(zje,1),kt,354,0,[n1e,Gje,jje,$je])))}i(N_t,"p5c");function O_t(){O_t=z,Ner=ni(($M(),Te(we(vje,1),kt,353,0,[qme,hZ,Hme,Vme])))}i(O_t,"x_c");function P_t(){P_t=z,cer=ni((z5(),Te(we(jGe,1),kt,405,0,[sZ,LI,DI,_I])))}i(P_t,"eWc");function B_t(){B_t=z,Yrr=ni((P1(),Te(we(q1e,1),kt,223,0,[H1e,gj,XR,R6])))}i(B_t,"bnd");function F_t(){F_t=z,Zrr=ni((If(),Te(we(Jrr,1),kt,291,0,[yj,Jm,Iv,mj])))}i(F_t,"Vnd");function $_t(){$_t=z,cnr=ni((mf(),Te(we(eN,1),kt,386,0,[xj,Lw,wj,z3])))}i($_t,"Vpd");function G_t(){G_t=z,dnr=ni((mK(),Te(we(oVe,1),kt,320,0,[K1e,iVe,sVe,aVe])))}i(G_t,"Lrd");function j_t(){j_t=z,mnr=ni((sK(),Te(we(gnr,1),kt,415,0,[X1e,cVe,lVe,uVe])))}i(j_t,"ytd");function AY(){AY=z,m1e=new $oe(gVt,0),dze=new $oe(cNe,1),fze=new $oe(K0,2)}i(AY,"b9c");function Gk(e,n,s,u,d){return ln(e),ln(n),ln(s),ln(u),ln(d),new h8e(e,n,u)}i(Gk,"sBb");function z_t(e,n){var s;return s=y(L5(e.e,n),400),s?(GAe(s),s.e):null}i(z_t,"fub");function Wu(e,n){var s;return s=Pl(e,n,0),s==-1?!1:(My(e,s),!0)}i(Wu,"Ymb");function U_t(e,n,s){var u;return Zb(e),u=new ye,u.a=n,e.a.Nb(new CEt(u,s)),u.a}i(U_t,"LDb");function lcn(e){var n;return Zb(e),n=ot(co,yl,28,0,15,1),z4(e.a,new vxt(n)),n}i(lcn,"VCb");function j7e(e){var n;if(!tue(e))throw me(new Zl);return e.e=1,n=e.d,e.d=null,n}i(j7e,"yc");function Ny(e){var n;return Ul(e)&&(n=0-e,!isNaN(n))?n:iv(f7(e))}i(Ny,"Odb");function Pl(e,n,s){for(;s=0?LK(e,s,!0,!0):Jx(e,n,!0)}i(Uce,"Gvd");function U7e(e){var n;return n=U2(Xr(e,32)),n==null&&(Mu(e),n=U2(Xr(e,32))),n}i(U7e,"Vwd");function V7e(e){var n;return e.Oh()||(n=_n(e.Dh())-e.ji(),e.$h().Mk(n)),e.zh()}i(V7e,"Yvd");function K_t(e,n){VPe=new pa,CYt=n,nI=e,y(nI.b,68),_7e(nI,VPe,null),ujt(nI)}i(K_t,"zQb");function AM(){AM=z,t0e=new yoe("XY",0),e0e=new yoe("X",1),r0e=new yoe("Y",2)}i(AM,"AWb");function Yu(){Yu=z,vg=new moe("TOP",0),Cv=new moe(Z7,1),jp=new moe(x9e,2)}i(Yu,"vLb");function M1(){M1=z,PG=new koe(K0,0),QC=new koe("TOP",1),p6=new koe(x9e,2)}i(M1,"Gvc");function MF(){MF=z,Cme=new F5e("INPUT_ORDER",0),Eme=new F5e("PORT_DEGREE",1)}i(MF,"sEc");function K8(){K8=z,KOe=Au(Qh,Qh,524287),dWt=Au(0,0,U$),XOe=Lce(1),Lce(2),QOe=Lce(0)}i(K8,"MD");function Vce(e){var n;return e.d!=e.r&&(n=Wd(e),e.e=!!n&&n.lk()==dqt,e.d=n),e.e}i(Vce,"wWd");function Hce(e,n,s){var u;return u=e.g[n],tM(e,n,e.Zi(n,s)),e.Ri(n,s,u),e.Ni(),u}i(Hce,"UHd");function _Y(e,n){var s;return s=e.dd(n),s>=0?(e.gd(s),!0):!1}i(_Y,"dHd");function qce(e,n){var s;for(li(e),li(n),s=!1;n.Ob();)s=s|e.Fc(n.Pb());return s}i(qce,"xr");function Vg(e,n){var s;return s=y(mn(e.e,n),400),s?(D5t(e,s),s.e):null}i(Vg,"cub");function X_t(e){var n,s;return n=e/60|0,s=e%60,s==0?""+n:""+n+":"+(""+s)}i(X_t,"iB");function jk(e,n){var s=e.a[n],u=(bue(),Age)[typeof s];return u?u(s):ZRe(typeof s)}i(jk,"JB");function nc(e,n){var s,u;return lv(e),u=new E7e(n,e.a),s=new rAt(u),new Tr(e,s)}i(nc,"EDb");function Wce(e){var n;return n=e.b.c.length==0?null:Xt(e.b,0),n!=null&&nue(e,0),n}i(Wce,"mwb");function fcn(e,n){var s,u,d;d=n.c.i,s=y(mn(e.f,d),60),u=s.d.c-s.e.c,TRe(n.a,u,0)}i(fcn,"ukc");function H7e(e,n){var s;for(++e.d,++e.c[n],s=n+1;s=0;)++n[0]}i(J_t,"KA");function dcn(e,n){Du(e,n==null||bW((ln(n),n))||isNaN((ln(n),n))?0:(ln(n),n))}i(dcn,"eEd");function pcn(e,n){_u(e,n==null||bW((ln(n),n))||isNaN((ln(n),n))?0:(ln(n),n))}i(pcn,"fEd");function gcn(e,n){Gx(e,n==null||bW((ln(n),n))||isNaN((ln(n),n))?0:(ln(n),n))}i(gcn,"gEd");function mcn(e,n){$x(e,n==null||bW((ln(n),n))||isNaN((ln(n),n))?0:(ln(n),n))}i(mcn,"hEd");function ycn(e,n,s){return u5(new St(s.e.a+s.f.a/2,s.e.b+s.f.b/2),e)==(ln(n),n)}i(ycn,"oWc");function bcn(e,n){return $e(n,102)&&(y(n,19).Bb&Xo)!=0?new Hoe(n,e):new l7(n,e)}i(bcn,"qge");function vcn(e,n){return $e(n,102)&&(y(n,19).Bb&Xo)!=0?new Hoe(n,e):new l7(n,e)}i(vcn,"sge");function IF(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}i(IF,"XC");function Z_t(e,n){return n==(ple(),ple(),SWt)?e.toLocaleLowerCase():e.toLowerCase()}i(Z_t,"Bhb");function eMt(e){if(!e.e)throw me(new Zl);return e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f}i(eMt,"Mu");function q7e(e){if(!e.c)throw me(new Zl);return e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f}i(q7e,"Lu");function tMt(e){var n;for(++e.a,n=e.c.a.length;e.ae.a[u]&&(u=s);return u}i(Ccn,"hdc");function rMt(e){var n;return n=y(oe(e,(At(),yT)),313),n?n.a==e:!1}i(rMt,"Krc");function nMt(e){var n;return n=y(oe(e,(At(),yT)),313),n?n.i==e:!1}i(nMt,"Lrc");function iMt(){iMt=z,wKt=ni((Io(),Te(we(gBe,1),kt,367,0,[zp,Ym,zc,eu,$l])))}i(iMt,"xXb");function aMt(){aMt=z,nXt=ni((Jk(),Te(we(rXt,1),kt,375,0,[IG,vJ,wJ,bJ,yJ])))}i(aMt,"Hnc");function sMt(){sMt=z,pXt=ni((jy(),Te(we(mFe,1),kt,348,0,[D0e,gFe,_0e,AR,SR])))}i(sMt,"Xtc");function oMt(){oMt=z,eZt=ni((XM(),Te(we(bGe,1),kt,323,0,[yGe,wme,xme,TI,kI])))}i(oMt,"RDc");function lMt(){lMt=z,AXt=ni((md(),Te(we(WFe,1),kt,171,0,[GG,pI,Av,gI,A3])))}i(lMt,"hxc");function cMt(){cMt=z,zer=ni((zK(),Te(we(jer,1),kt,368,0,[Qme,Yme,Jme,Kme,Xme])))}i(cMt,"m3c");function uMt(){uMt=z,ztr=ni((c9(),Te(we(jtr,1),kt,373,0,[hE,k6,GI,$I,ij])))}i(uMt,"xad");function hMt(){hMt=z,Ytr=ni((g$(),Te(we(kze,1),kt,324,0,[wze,x1e,Tze,T1e,xze])))}i(hMt,"acd");function fMt(){fMt=z,qrr=ni((Ts(),Te(we(WI,1),kt,88,0,[s0,Gl,_l,a0,Cd])))}i(fMt,"Kmd");function dMt(){dMt=z,brr=ni((mg(),Te(we(Qm,1),kt,170,0,[Br,Gs,im,Cw,nb])))}i(dMt,"bid");function pMt(){pMt=z,tnr=ni((gC(),Te(we(QI,1),kt,256,0,[Nv,bj,KUe,XI,XUe])))}i(pMt,"uod");function gMt(){gMt=z,inr=ni((Bt(),Te(we(Qo,1),Mc,64,0,[oc,en,pn,Gn,on])))}i(gMt,"zpd");function MY(){MY=z,CPe=new R5e("BY_SIZE",0),Gge=new R5e("BY_SIZE_AND_SHAPE",1)}i(MY,"LHb");function IY(){IY=z,Qge=new _5e("EADES",0),qQ=new _5e("FRUCHTERMAN_REINGOLD",1)}i(IY,"TUb");function NF(){NF=z,TJ=new O5e("READING_DIRECTION",0),yFe=new O5e("ROTATION",1)}i(NF,"$tc");function RM(){RM=z,RKt=new Hh,LKt=new Vu,SKt=new REe,AKt=new jb,DKt=new lB}i(RM,"CZb");function mMt(e){this.b=new Mt,this.a=new Mt,this.c=new Mt,this.d=new Mt,this.e=e}i(mMt,"dGb");function yMt(e){this.g=e,this.f=new Mt,this.a=p.Math.min(this.g.c.c,this.g.d.c)}i(yMt,"XZb");function bMt(e,n,s){mW.call(this),K7e(this),this.a=e,this.c=s,this.b=n.d,this.f=n.e}i(bMt,"UKb");function Ecn(e,n,s){var u,d;for(d=new ge(s);d.a=0&&n0?n-1:n,Z4t(JXr(zMt(PAe(new JS,s),e.n),e.j),e.k)}i(Scn,"Gqd");function Al(e){var n,s;s=(n=new zse,n),Jn((!e.q&&(e.q=new xt(ap,e,11,10)),e.q),s)}i(Al,"nBd");function W7e(e){return((e.i&2)!=0?"interface ":(e.i&1)!=0?"":"class ")+(C1(e),e.o)}i(W7e,"ofb");function NY(e){return Dc(e,Yi)>0?Yi:Dc(e,No)<0?No:oi(e)}i(NY,"dz");function zk(e){return e<3?(_f(e,Izt),e+1):e=-.01&&e.a<=Qg&&(e.a=0),e.b>=-.01&&e.b<=Qg&&(e.b=0),e}i(xMt,"iqc");function cC(e){EC();var n,s;for(s=fNe,n=0;ns&&(s=e[n]);return s}i(cC,"Hid");function TMt(e,n){var s;if(s=C$(e.Dh(),n),!s)throw me(new Jr(wv+n+Gpe));return s}i(TMt,"Zvd");function Uk(e,n){var s;for(s=e;Oa(s);)if(s=Oa(s),s==n)return!0;return!1}i(Uk,"NGd");function Pcn(e,n){var s,u,d;for(u=n.a.ld(),s=y(n.a.md(),16).gc(),d=0;de||e>n)throw me(new t5e("fromIndex: 0, toIndex: "+e+c9e+n))}i(Fcn,"jxb");function Fx(e){if(e<0)throw me(new Jr("Illegal Capacity: "+e));this.g=this.aj(e)}i(Fx,"ZHd");function Y7e(e,n){return Pg(),Np(gv),p.Math.abs(e-n)<=gv||e==n||isNaN(e)&&isNaN(n)}i(Y7e,"_y");function Xce(e,n){var s,u,d,g;for(u=e.d,d=0,g=u.length;d0&&(e.a/=n,e.b/=n),e}i(zcn,"gjd");function Lf(e){var n;return e.w?e.w:(n=Rsn(e),n&&!n.Vh()&&(e.w=n),n)}i(Lf,"BXd");function X8(e,n){var s,u;u=e.a,s=Mfn(e,n,null),u!=n&&!e.e&&(s=V7(e,n,s)),s&&s.oj()}i(X8,"l2d");function AMt(e,n,s){var u,d;u=n;do d=Qe(e.p[u.p])+s,e.p[u.p]=d,u=e.a[u.p];while(u!=n)}i(AMt,"rQc");function RMt(e,n,s){var u=i(function(){return e.apply(u,arguments)},"d");return n.apply(u,s),u}i(RMt,"heb");function Ucn(e){var n;return e==null?null:(n=y(e,195),t1n(n,n.length))}i(Ucn,"Gae");function Ge(e,n){if(e.g==null||n>=e.i)throw me(new Voe(n,e.i));return e.Wi(n,e.g[n])}i(Ge,"QHd");function Vcn(e,n){Dr();var s,u;for(u=new Mt,s=0;s=14&&n<=16))),e}i(U2,"SD");function ri(e,n){var s;return ln(n),s=e[":"+n],tF(!!s,"Enum constant undefined: "+n),s}i(ri,"ws");function Vn(e,n,s,u,d,g){var x;return x=qle(e,n),UMt(s,x),x.i=d?8:0,x.f=u,x.e=d,x.g=g,x}i(Vn,"tfb");function Q7e(e,n,s,u,d){this.d=n,this.k=u,this.f=d,this.o=-1,this.p=1,this.c=e,this.a=s}i(Q7e,"R3d");function J7e(e,n,s,u,d){this.d=n,this.k=u,this.f=d,this.o=-1,this.p=2,this.c=e,this.a=s}i(J7e,"T3d");function Z7e(e,n,s,u,d){this.d=n,this.k=u,this.f=d,this.o=-1,this.p=6,this.c=e,this.a=s}i(Z7e,"_3d");function eRe(e,n,s,u,d){this.d=n,this.k=u,this.f=d,this.o=-1,this.p=7,this.c=e,this.a=s}i(eRe,"e4d");function tRe(e,n,s,u,d){this.d=n,this.j=u,this.e=d,this.o=-1,this.p=4,this.c=e,this.a=s}i(tRe,"X3d");function VMt(e,n){var s,u,d,g;for(u=n,d=0,g=u.length;d=0))throw me(new Jr("tolerance ("+e+") must be >= 0"));return e}i(Np,"bz");function qMt(e,n){var s;return $e(n,44)?e.c.Mc(n):(s=Wue(e,n),xK(e,n),s)}i(qMt,"hOd");function ml(e,n,s){return X2(e,n),gu(e,s),Oy(e,0),Vk(e,1),Gy(e,!0),$y(e,!0),e}i(ml,"yBd");function PF(e,n){var s;if(s=e.gc(),n<0||n>s)throw me(new _k(n,s));return new fAe(e,n)}i(PF,"ZGd");function zY(e,n){e.b=p.Math.max(e.b,n.d),e.e+=n.r+(e.a.c.length==0?0:e.c),It(e.a,n)}i(zY,"Cad");function WMt(e){Rk(e.c>=0),ipn(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}i(WMt,"Jmb");function UY(e){var n,s;for(s=e.c.Cc().Kc();s.Ob();)n=y(s.Pb(),16),n.$b();e.c.$b(),e.d=0}i(UY,"Nc");function eun(e){var n,s,u,d;for(s=e.a,u=0,d=s.length;u=0}i(sun,"X_c");function lRe(e,n){e.r>0&&e.c0&&e.g!=0&&lRe(e.i,n/e.r*e.i.d))}i(lRe,"Iqd");function cRe(e,n){var s;s=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,1,s,e.c))}i(cRe,"$Cd");function Zce(e,n){var s;s=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,4,s,e.c))}i(Zce,"P1d");function n7(e,n){var s;s=e.k,e.k=n,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,2,s,e.k))}i(n7,"jyd");function eue(e,n){var s;s=e.D,e.D=n,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,2,s,e.D))}i(eue,"JXd");function HY(e,n){var s;s=e.f,e.f=n,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,8,s,e.f))}i(HY,"Kzd");function qY(e,n){var s;s=e.i,e.i=n,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,7,s,e.i))}i(qY,"Lzd");function uRe(e,n){var s;s=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,8,s,e.a))}i(uRe,"fCd");function hRe(e,n){var s;s=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,0,s,e.b))}i(hRe,"ZCd");function fRe(e,n){var s;s=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,0,s,e.b))}i(fRe,"s6d");function dRe(e,n){var s;s=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,1,s,e.c))}i(dRe,"t6d");function pRe(e,n){var s;s=e.d,e.d=n,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,1,s,e.d))}i(pRe,"nVd");function oun(e,n,s){var u;e.b=n,e.a=s,u=(e.a&512)==512?new p4t:new zEe,e.c=xwn(u,e.b,e.a)}i(oun,"Cte");function a9t(e,n){return j1(e.e,n)?(el(),Vce(n)?new RW(n,e):new $B(n,e)):new ISt(n,e)}i(a9t,"Gge");function lun(e){var n,s;return 0>e?new m5e:(n=e+1,s=new yDt(n,e),new H6e(null,s))}i(lun,"iDb");function cun(e,n){Dr();var s;return s=new n5(1),oo(e)?El(s,e,n):yu(s.f,e,n),new Ise(s)}i(cun,"Gob");function uun(e,n){var s,u;return s=e.c,u=n.e[e.p],u>0?y(Xt(s.a,u-1),10):null}i(uun,"pQc");function hun(e,n){var s,u;return s=e.o+e.p,u=n.o+n.p,sn?(n<<=1,n>0?n:T9):n}i(s9t,"Wp");function tue(e){switch(E6e(e.e!=3),e.e){case 2:return!1;case 0:return!0}return wln(e)}i(tue,"xc");function o9t(e,n){var s;return $e(n,8)?(s=y(n,8),e.a==s.a&&e.b==s.b):!1}i(o9t,"djd");function dun(e,n){var s;s=new pa,y(n.b,68),y(n.b,68),y(n.b,68),Lu(n.a,new TAe(e,s,n))}i(dun,"Ydd");function l9t(e,n){var s,u;for(u=n.vc().Kc();u.Ob();)s=y(u.Pb(),44),h$(e,s.ld(),s.md())}i(l9t,"gOd");function gRe(e,n){var s;s=e.d,e.d=n,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,11,s,e.d))}i(gRe,"Jzd");function WY(e,n){var s;s=e.j,e.j=n,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,13,s,e.j))}i(WY,"zWd");function mRe(e,n){var s;s=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,21,s,e.b))}i(mRe,"b6d");function pun(e,n){(yY(),e0?null:n.c).length==0&&C6t(n,new tr),El(e.a,e0?null:n.c,n)}i(pun,"YAb");function gun(e,n){n.Ug("Hierarchical port constraint processing",1),Ipn(e),ZCn(e),n.Vg()}i(gun,"b9b");function zx(){zx=z,mT=new boe("START",0),Ev=new boe("MIDDLE",1),gT=new boe("END",2)}i(zx,"joc");function YY(){YY=z,fZ=new H5e("P1_NODE_PLACEMENT",0),uE=new H5e("P2_EDGE_ROUTING",1)}i(YY,"x2c");function nv(){nv=z,f6=new ea(N9e),KQ=new ea(O9e),aI=new ea(kUt),RG=new ea(CUt)}i(nv,"JVb");function Ux(e){var n;return gle(e.f.g,e.d),Sn(e.b),e.c=e.a,n=y(e.a.Pb(),44),e.b=LRe(e),n}i(Ux,"tkb");function yRe(e){var n;return e.b==null?(Ey(),Ey(),Dj):(n=e.ul()?e.tl():e.sl(),n)}i(yRe,"P2d");function c9t(e,n){var s;return s=n==null?-1:Pl(e.b,n,0),s<0?!1:(nue(e,s),!0)}i(c9t,"nwb");function Op(e,n){var s;return ln(n),s=n.g,e.b[s]?!1:(Ka(e.b,s,n),++e.c,!0)}i(Op,"zsb");function KY(e,n){var s,u;return s=1-n,u=e.a[s],e.a[s]=u.a[n],u.a[n]=e,e.b=!0,u.b=!1,u}i(KY,"azb");function mun(e,n){var s,u;for(u=n.Kc();u.Ob();)s=y(u.Pb(),272),e.b=!0,As(e.e,s),s.b=e}i(mun,"xRb");function yun(e,n){var s,u;return s=y(oe(e,(Ht(),I3)),8),u=y(oe(n,I3),8),ga(s.b,u.b)}i(yun,"kic");function rue(e,n,s){var u,d,g;return g=n>>5,d=n&31,u=Vs(Xb(e.n[s][g],oi(Mp(d,1))),3),u}i(rue,"SPb");function u9t(e,n,s){var u,d,g;for(g=e.a.length-1,d=e.b,u=0;u0?1:0:(!e.c&&(e.c=gF(Cc(e.f))),e.c).e}i(wRe,"xib");function v9t(e,n){n?e.B==null&&(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}i(v9t,"GXd");function xun(e,n){return u7(),e==pT&&n==x3||e==x3&&n==pT||e==VC&&n==w3||e==w3&&n==VC}i(xun,"rZb");function Tun(e,n){return u7(),e==pT&&n==w3||e==pT&&n==VC||e==x3&&n==VC||e==x3&&n==w3}i(Tun,"sZb");function w9t(e,n){return Pg(),Np(Qg),p.Math.abs(0-n)<=Qg||n==0||isNaN(0)&&isNaN(n)?0:e/n}i(w9t,"zMb");function x9t(e,n){return Qe(rt(hf(JF(Nl(new Tr(null,new Ar(e.c.b,16)),new RTt(e)),n))))}i(x9t,"qsc");function xRe(e,n){return Qe(rt(hf(JF(Nl(new Tr(null,new Ar(e.c.b,16)),new ATt(e)),n))))}i(xRe,"tsc");function kun(){return sl(),Te(we($0e,1),kt,259,0,[SJ,kd,uI,AJ,_R,XC,hI,LR,DR,RJ])}i(kun,"rvc");function Cun(){return Yd(),Te(we(kGe,1),kt,243,0,[eZ,HG,qG,wGe,xGe,vGe,TGe,tZ,AT,O3])}i(Cun,"dEc");function Eun(e,n){var s;n.Ug("General Compactor",1),s=Ddn(y(Ct(e,(dv(),t1e)),393)),s.Cg(e)}i(Eun,"z3c");function Sun(e,n){var s,u;return s=y(Ct(e,(dv(),pZ)),17),u=y(Ct(n,pZ),17),Lc(s.a,u.a)}i(Sun,"T5c");function TRe(e,n,s){var u,d;for(d=Hn(e,0);d.b!=d.d.c;)u=y(Un(d),8),u.a+=n,u.b+=s;return e}i(TRe,"Bjd");function _M(e,n,s){var u;for(u=e.b[s&e.f];u;u=u.b)if(s==u.a&&B0(n,u.g))return u;return null}i(_M,"Go");function MM(e,n,s){var u;for(u=e.c[s&e.f];u;u=u.d)if(s==u.f&&B0(n,u.i))return u;return null}i(MM,"Ho");function Aun(e,n,s){var u,d,g;for(u=0,d=0;d>>31;u!=0&&(e[s]=u)}i(Aun,"sjb");function oue(e,n,s,u,d,g){var x;this.c=e,x=new Mt,tDe(e,x,n,e.b,s,u,d,g),this.a=new vo(x,0)}i(oue,"yzb");function T9t(){this.c=new wq(0),this.b=new wq(hNe),this.d=new wq(lVt),this.a=new wq(Lde)}i(T9t,"_5c");function fd(e,n,s,u,d,g,x){ti.call(this,e,n),this.d=s,this.e=u,this.c=d,this.b=g,this.a=jg(x)}i(fd,"kMb");function ss(e,n,s,u,d,g,x,k,A,D,N,B,U){return ABt(e,n,s,u,d,g,x,k,A,D,N,B,U),Gue(e,!1),e}i(ss,"tBd");function Run(e){return e.b.c.i.k==(sn(),ms)?y(oe(e.b.c.i,(At(),ra)),12):e.b.c}i(Run,"H0b");function k9t(e){return e.b.d.i.k==(sn(),ms)?y(oe(e.b.d.i,(At(),ra)),12):e.b.d}i(k9t,"I0b");function Lun(e){var n;return n=hY(e),yx(n.a,0)?(Cq(),Cq(),AWt):(Cq(),new i6t(n.b))}i(Lun,"nDb");function lue(e){var n;return n=e7e(e),yx(n.a,0)?(Tk(),Tk(),Mge):(Tk(),new ale(n.b))}i(lue,"SCb");function cue(e){var n;return n=e7e(e),yx(n.a,0)?(Tk(),Tk(),Mge):(Tk(),new ale(n.c))}i(cue,"TCb");function C9t(e){switch(e.g){case 2:return Bt(),on;case 4:return Bt(),pn;default:return e}}i(C9t,"o8b");function E9t(e){switch(e.g){case 1:return Bt(),Gn;case 3:return Bt(),en;default:return e}}i(E9t,"p8b");function S9t(e){switch(e.g){case 0:return new syt;case 1:return new oyt;default:return null}}i(S9t,"C9c");function I5(){I5=z,m0e=new ja("edgelabelcenterednessanalysis.includelabel",(Hr(),Tv))}i(I5,"Zcc");function kRe(){kRe=z,CZt=j0(WSt(Si(Si(new ws,(Io(),zc),(jo(),oJ)),eu,rJ),$l),sJ)}i(kRe,"jKc");function A9t(){A9t=z,RZt=j0(WSt(Si(Si(new ws,(Io(),zc),(jo(),oJ)),eu,rJ),$l),sJ)}i(A9t,"DLc");function uue(){uue=z,sN=new c4t,iye=Te(we(eh,1),GC,179,0,[]),Qnr=Te(we(ap,1),DOe,62,0,[])}i(uue,"lYd");function i7(){i7=z,DG=new M5e("TO_INTERNAL_LTR",0),d0e=new M5e("TO_INPUT_DIRECTION",1)}i(i7,"P8b");function fh(){fh=z,f0e=new udt,h0e=new hdt,TBe=new fdt,xBe=new ddt,kBe=new pdt,CBe=new gdt}i(fh,"J3b");function Dun(e,n){n.Ug($Ut,1),SLe(pQr(new nq((__(),new Jle(e,!1,!1,new g_))))),n.Vg()}i(Dun,"Cac");function _un(e,n,s){s.Ug("DFS Treeifying phase",1),Ydn(e,n),q2n(e,n),e.a=null,e.b=null,s.Vg()}i(_un,"M_c");function BF(e,n){return Hr(),oo(e)?k7e(e,pi(n)):Sk(e)?Nle(e,rt(n)):Ek(e)?xnn(e,Yt(n)):e.Fd(n)}i(BF,"Leb");function IM(e,n){var s,u;for(ln(n),u=n.vc().Kc();u.Ob();)s=y(u.Pb(),44),e.zc(s.ld(),s.md())}i(IM,"Ld");function Mun(e,n,s){var u;for(u=s.Kc();u.Ob();)if(!pY(e,n,u.Pb()))return!1;return!0}i(Mun,"ege");function Iun(e,n,s,u,d){var g;return s&&(g=Ga(n.Dh(),e.c),d=s.Rh(n,-1-(g==-1?u:g),null,d)),d}i(Iun,"S6d");function Nun(e,n,s,u,d){var g;return s&&(g=Ga(n.Dh(),e.c),d=s.Th(n,-1-(g==-1?u:g),null,d)),d}i(Nun,"T6d");function R9t(e){var n;if(e.b==-2){if(e.e==0)n=-1;else for(n=0;e.a[n]==0;n++);e.b=n}return e.b}i(R9t,"Uib");function Oun(e){if(ln(e),e.length==0)throw me(new _0("Zero length BigInteger"));Gxn(this,e)}i(Oun,"fjb");function CRe(e){this.i=e.gc(),this.i>0&&(this.g=this.aj(this.i+(this.i/8|0)+1),e.Qc(this.g))}i(CRe,"$Hd");function L9t(e,n,s){this.g=e,this.d=n,this.e=s,this.a=new Mt,Wyn(this),Dr(),gs(this.a,null)}i(L9t,"dmc");function ERe(e,n){n.q=e,e.d=p.Math.max(e.d,n.r),e.b+=n.d+(e.a.c.length==0?0:e.c),It(e.a,n)}i(ERe,"aad");function a7(e,n){var s,u,d,g;return d=e.c,s=e.c+e.b,g=e.d,u=e.d+e.a,n.a>d&&n.ag&&n.bd?s=d:Zr(n,s+1),e.a=od(e.a,0,n)+(""+u)+v8e(e.a,s)}i(hue,"peb");function F9t(e,n){e.a=$o(e.a,1),e.c=p.Math.min(e.c,n),e.b=p.Math.max(e.b,n),e.d=$o(e.d,n)}i(F9t,"ktb");function zun(e,n){return n1||e.Ob())return++e.a,e.g=0,n=e.i,e.Ob(),n;throw me(new Zl)}i(rK,"k3d");function z9t(e){switch(e.a.g){case 1:return new WEt;case 3:return new WOt;default:return new swt}}i(z9t,"GRc");function ARe(e,n){switch(n){case 1:return!!e.n&&e.n.i!=0;case 2:return e.k!=null}return Z8e(e,n)}i(ARe,"fyd");function Cc(e){return V$>22),d=e.h+n.h+(u>>22),Au(s&Qh,u&Qh,d&U1)}i(lhn,"sD");function X9t(e,n){var s,u,d;return s=e.l-n.l,u=e.m-n.m+(s>>22),d=e.h-n.h+(u>>22),Au(s&Qh,u&Qh,d&U1)}i(X9t,"DD");function chn(e){var n,s;for(rCn(e),s=new ge(e.d);s.au)throw me(new _k(n,u));return e.Si()&&(s=pRt(e,s)),e.Ei(n,s)}i(NRe,"XGd");function h7(e,n,s,u,d){var g,x;for(x=s;x<=d;x++)for(g=n;g<=u;g++)yC(e,g,x)||cX(e,g,x,!0,!1)}i(h7,"eQb");function khn(e){EC();var n,s,u;for(s=ot(Xs,Lt,8,2,0,1),u=0,n=0;n<2;n++)u+=.5,s[n]=mgn(u,e);return s}i(khn,"uid");function f7(e){var n,s,u;return n=~e.l+1&Qh,s=~e.m+(n==0?1:0)&Qh,u=~e.h+(n==0&&s==0?1:0)&U1,Au(n,s,u)}i(f7,"xD");function ORe(e){var n;if(e<0)return No;if(e==0)return 0;for(n=T9;(n&e)==0;n>>=1);return n}i(ORe,"mgb");function yue(e,n,s){return e>=128?!1:e<64?K_(Vs(Mp(1,e),s),0):K_(Vs(Mp(1,e-64),n),0)}i(yue,"zSd");function qF(e,n,s){return s==null?(!e.q&&(e.q=new zn),L5(e.q,n)):(!e.q&&(e.q=new zn),ji(e.q,n,s)),e}i(qF,"oQb");function Tt(e,n,s){return s==null?(!e.q&&(e.q=new zn),L5(e.q,n)):(!e.q&&(e.q=new zn),ji(e.q,n,s)),e}i(Tt,"pQb");function oIt(e){var n,s;return s=new vY,Bl(s,e),Tt(s,(nv(),f6),e),n=new zn,JTn(e,s,n),S4n(e,s,n),s}i(oIt,"KTb");function lIt(e){var n,s;return n=e.t-e.k[e.o.p]*e.d+e.j[e.o.p]>e.f,s=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d,n||s}i(lIt,"cIc");function cIt(e,n){var s,u,d,g;for(s=!1,u=e.a[n].length,g=0;g=0,"Negative initial capacity"),tF(n>=0,"Non-positive load factor"),Ah(this)}i(dIt,"ckb");function Ehn(e,n,s,u,d){var g,x;if(x=e.length,g=s.length,n<0||u<0||d<0||n+d>x||u+d>g)throw me(new ASe)}i(Ehn,"iib");function $Re(e,n){Dr();var s,u,d,g,x;for(x=!1,u=n,d=0,g=u.length;d1||n>=0&&e.b<3)}i(jRe,"DA");function wue(e){var n,s,u;n=~e.l+1&Qh,s=~e.m+(n==0?1:0)&Qh,u=~e.h+(n==0&&s==0?1:0)&U1,e.l=n,e.m=s,e.h=u}i(wue,"nD");function zRe(e){Dr();var n,s,u;for(u=1,s=e.Kc();s.Ob();)n=s.Pb(),u=31*u+(n!=null?ka(n):0),u=u|0;return u}i(zRe,"Cob");function Dhn(e,n,s,u,d){var g;return g=__e(e,n),s&&wue(g),d&&(e=kgn(e,n),u?xv=f7(e):xv=Au(e.l,e.m,e.h)),g}i(Dhn,"kD");function vIt(e,n,s){e.g=Fhe(e,n,(Bt(),pn),e.b),e.d=Fhe(e,s,pn,e.b),!(e.g.c==0||e.d.c==0)&&XPt(e)}i(vIt,"Qlc");function wIt(e,n,s){e.g=Fhe(e,n,(Bt(),on),e.j),e.d=Fhe(e,s,on,e.j),!(e.g.c==0||e.d.c==0)&&XPt(e)}i(wIt,"Rlc");function URe(e,n){switch(n){case 7:return!!e.e&&e.e.i!=0;case 8:return!!e.d&&e.d.i!=0}return ALe(e,n)}i(URe,"Xyd");function _hn(e,n){switch(n.g){case 0:$e(e.b,641)||(e.b=new B9t);break;case 1:$e(e.b,642)||(e.b=new PAt)}}i(_hn,"STb");function xIt(e){switch(e.g){case 0:return new fyt;default:throw me(new Jr(cQ+(e.f!=null?e.f:""+e.g)))}}i(xIt,"tbd");function TIt(e){switch(e.g){case 0:return new hyt;default:throw me(new Jr(cQ+(e.f!=null?e.f:""+e.g)))}}i(TIt,"bdd");function Mhn(e,n,s){return!b8(Zi(new Tr(null,new Ar(e.c,16)),new c8(new lSt(n,s)))).Bd((M2(),u6))}i(Mhn,"LCc");function kIt(e,n){return u5(A7(y(oe(n,(pc(),LT)),88)),new St(e.c.e.a-e.b.e.a,e.c.e.b-e.b.e.b))<=0}i(kIt,"mWc");function Ihn(e,n){for(;e.g==null&&!e.c?U8e(e):e.g==null||e.i!=0&&y(e.g[e.i-1],51).Ob();)BQr(n,QK(e))}i(Ihn,"dve");function K2(e){var n,s;for(s=new ge(e.a.b);s.au?1:0}i(Ohn,"q6c");function Phn(e){return It(e.c,(N5(),drr)),Y7e(e.a,Qe(rt(zt((que(),XJ)))))?new Zyt:new Ikt(e)}i(Phn,"ICc");function Bhn(e){for(;!e.d||!e.d.Ob();)if(e.b&&!A_(e.b))e.d=y(v5(e.b),51);else return null;return e.d}i(Bhn,"fs");function HRe(e){switch(e.g){case 1:return lVt;default:case 2:return 0;case 3:return Lde;case 4:return hNe}}i(HRe,"BVc");function Fhn(){Wi();var e;return uye||(e=iZr(pv("M",!0)),e=IW(pv("M",!1),e),uye=e,uye)}i(Fhn,"fte");function sK(){sK=z,X1e=new Qq("ELK",0),cVe=new Qq("JSON",1),lVe=new Qq("DOT",2),uVe=new Qq("SVG",3)}i(sK,"ttd");function BM(){BM=z,Rme=new Aoe("STACKED",0),Ame=new Aoe("REVERSE_STACKED",1),WG=new Aoe("SEQUENCED",2)}i(BM,"TEc");function FM(){FM=z,JGe=new Ioe(K0,0),Nme=new Ioe("MIDDLE_TO_MIDDLE",1),XG=new Ioe("AVOID_OVERLAP",2)}i(FM,"LZc");function g7(){g7=z,sFe=new Wpt,oFe=new Ypt,KKt=new Hpt,YKt=new Kpt,WKt=new qpt,aFe=(ln(WKt),new Se)}i(g7,"sgc");function oK(){oK=z,WUe=new vx(15),Xrr=new yo((_i(),ib),WUe),YI=E6,UUe=Lrr,VUe=Sw,qUe=bE,HUe=$3}i(oK,"vnd");function hC(e,n){var s,u,d,g,x;for(u=n,d=0,g=u.length;d=e.b.c.length||(WRe(e,2*n+1),s=2*n+2,s0&&(n.Cd(s),s.i&&Gfn(s))}i(Uhn,"sKc");function YRe(e,n,s){var u;for(u=s-1;u>=0&&e[u]===n[u];u--);return u<0?0:foe(Vs(e[u],ol),Vs(n[u],ol))?-1:1}i(YRe,"Ejb");function SIt(e,n,s){var u,d;this.g=e,this.c=n,this.a=this,this.d=this,d=s9t(s),u=ot(oWt,j$,227,d,0,1),this.b=u}i(SIt,"it");function Eue(e,n,s,u,d){var g,x;for(x=s;x<=d;x++)for(g=n;g<=u;g++)if(yC(e,g,x))return!0;return!1}i(Eue,"fQb");function Vhn(e,n){var s,u;for(u=e.Zb().Cc().Kc();u.Ob();)if(s=y(u.Pb(),16),s.Hc(n))return!0;return!1}i(Vhn,"Dc");function AIt(e,n,s){var u,d,g,x;for(ln(s),x=!1,g=e.fd(n),d=s.Kc();d.Ob();)u=d.Pb(),g.Rb(u),x=!0;return x}i(AIt,"iu");function Sue(e,n){var s,u;return u=y(Xr(e.a,4),129),s=ot(rye,nge,424,n,0,1),u!=null&&jc(u,0,s,0,u.length),s}i(Sue,"NMd");function RIt(e,n){var s;return s=new efe((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,n),e.e!=null||(s.c=e),s}i(RIt,"hSd");function Hhn(e,n){var s;return e===n?!0:$e(n,85)?(s=y(n,85),QDe(N2(e),s.vc())):!1}i(Hhn,"Tv");function LIt(e,n,s){var u,d;for(d=s.Kc();d.Ob();)if(u=y(d.Pb(),44),e.Be(n,u.md()))return!0;return!1}i(LIt,"Vjb");function DIt(e,n,s){return e.d[n.p][s.p]||(Ypn(e,n,s),e.d[n.p][s.p]=!0,e.d[s.p][n.p]=!0),e.a[n.p][s.p]}i(DIt,"lmc");function qhn(e,n){var s;return!e||e==n||!Ea(n,(At(),bT))?!1:(s=y(oe(n,(At(),bT)),10),s!=e)}i(qhn,"vMc");function Aue(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.$l()}}i(Aue,"Bhe");function _It(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e._l()}}i(_It,"Che");function MIt(e){vRt.call(this,"The given string does not match the expected format for individual spacings.",e)}i(MIt,"bgb");function Whn(e,n){var s;n.Ug("Min Size Preprocessing",1),s=s_e(e),ca(e,($m(),PI),s.a),ca(e,yZ,s.b),n.Vg()}i(Whn,"J6c");function Yhn(e){var n,s,u;for(n=0,u=ot(Xs,Lt,8,e.b,0,1),s=Hn(e,0);s.b!=s.d.c;)u[n++]=y(Un(s),8);return u}i(Yhn,"Djd");function Rue(e,n,s){var u,d,g;for(u=new Da,g=Hn(s,0);g.b!=g.d.c;)d=y(Un(g),8),ki(u,new Uo(d));AIt(e,n,u)}i(Rue,"Ajd");function Khn(e,n){var s;return s=$o(e,n),foe(yce(e,n),0)|eW(yce(e,s),0)?s:$o(G$,yce(Xb(s,63),1))}i(Khn,"az");function Xhn(e,n){var s,u;return s=y(e.d.Bc(n),16),s?(u=e.e.hc(),u.Gc(s),e.e.d-=s.gc(),s.$b(),u):null}i(Xhn,"le");function IIt(e){var n;if(n=e.a.c.length,n>0)return I8(n-1,e.a.c.length),My(e.a,n-1);throw me(new I3t)}i(IIt,"Dyb");function NIt(e,n,s){if(e>n)throw me(new Jr(SX+e+Kzt+n));if(e<0||n>s)throw me(new t5e(SX+e+f9e+n+c9e+s))}i(NIt,"nFb");function m7(e,n){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),eue(e,n==null?null:(ln(n),n)),e.C&&e.hl(null)}i(m7,"yXd");function Qhn(e,n){var s;s=zt((que(),XJ))!=null&&n.Sg()!=null?Qe(rt(n.Sg()))/Qe(rt(zt(XJ))):1,ji(e.b,n,s)}i(Qhn,"JCc");function KRe(e,n){var s,u;if(u=e.c[n],u!=0)for(e.c[n]=0,e.d-=u,s=n+1;srQ?e-s>rQ:s-e>rQ}i(Mue,"AVc");function HIt(e,n){var s;for(s=0;sd&&(xPt(n.q,d),u=s!=n.q.d)),u}i(eLe,"M8c");function qIt(e,n){var s,u,d,g,x,k,A,D;return A=n.i,D=n.j,u=e.f,d=u.i,g=u.j,x=A-d,k=D-g,s=p.Math.sqrt(x*x+k*k),s}i(qIt,"C3c");function tLe(e,n){var s,u;return u=TK(e),u||(!Anr&&(Anr=new Tbt),s=(Tfe(),IFt(n)),u=new T3t(s),Jn(u.El(),e)),u}i(tLe,"pBd");function XF(e,n){var s,u;return s=y(e.c.Bc(n),16),s?(u=e.hc(),u.Gc(s),e.d-=s.gc(),s.$b(),e.mc(u)):e.jc()}i(XF,"Sc");function lfn(e,n){var s,u;for(u=Kh(e.d,1)!=0,s=!0;s;)s=!1,s=n.c.mg(n.e,u),s=s|E$(e,n,u,!1),u=!u;vRe(e)}i(lfn,"tKc");function WIt(e,n,s,u){var d,g;e.a=n,g=u?0:1,e.f=(d=new sBt(e.c,e.a,s,g),new F$t(s,e.a,d,e.e,e.b,e.c==(jx(),SI)))}i(WIt,"omc");function cK(e){var n;return Sn(e.a!=e.b),n=e.d.a[e.a],x6t(e.b==e.d.c&&n!=null),e.c=e.a,e.a=e.a+1&e.d.a.length-1,n}i(cK,"Imb");function YIt(e){var n;if(e.c!=0)return e.c;for(n=0;n=e.c.b:e.a<=e.c.b))throw me(new Zl);return n=e.a,e.a+=e.c.c,++e.b,_t(n)}i(cfn,"Oue");function Iue(e){var n;return n=new m6e(e.a),Bl(n,e),Tt(n,(At(),ra),e),n.o.a=e.g,n.o.b=e.f,n.n.a=e.i,n.n.b=e.j,n}i(Iue,"h5b");function Nue(e){return(Bt(),Ju).Hc(e.j)?Qe(rt(oe(e,(At(),MR)))):ic(Te(we(Xs,1),Lt,8,0,[e.i.n,e.n,e.a])).b}i(Nue,"tVc");function ufn(e){var n;return n=aW(kZt),y(oe(e,(At(),ru)),21).Hc((sl(),_R))&&Si(n,(Io(),zc),(jo(),uJ)),n}i(ufn,"ZJc");function hfn(e){var n,s,u,d;for(d=new ys,u=new ge(e);u.a=0?n:-n;u>0;)u%2==0?(s*=s,u=u/2|0):(d*=s,u-=1);return n<0?1/d:d}i(rLe,"Iid");function mfn(e,n){var s,u,d;for(d=1,s=e,u=n>=0?n:-n;u>0;)u%2==0?(s*=s,u=u/2|0):(d*=s,u-=1);return n<0?1/d:d}i(mfn,"Jid");function ov(e,n){var s,u,d,g;return g=(d=e?TK(e):null,LBt((u=n,d&&d.Gl(),u))),g==n&&(s=TK(e),s&&s.Gl()),g}i(ov,"Vvd");function KIt(e,n,s){var u,d;return d=e.f,e.f=n,(e.Db&4)!=0&&(e.Db&1)==0&&(u=new to(e,1,0,d,n),s?s.nj(u):s=u),s}i(KIt,"g2d");function XIt(e,n,s){var u,d;return d=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&(u=new to(e,1,3,d,n),s?s.nj(u):s=u),s}i(XIt,"e2d");function nLe(e,n,s){var u,d;return d=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&(u=new to(e,1,1,d,n),s?s.nj(u):s=u),s}i(nLe,"rAd");function QIt(e){var n,s,u,d;if(e!=null){for(s=0;s=u||n-129&&e<128?(OAt(),n=e+128,s=rPe[n],!s&&(s=rPe[n]=new nSe(e)),s):new nSe(e)}i(_t,"sgb");function b7(e){var n,s;return e>-129&&e<128?(JAt(),n=e+128,s=sPe[n],!s&&(s=sPe[n]=new aSe(e)),s):new aSe(e)}i(b7,"bhb");function eNt(e,n){var s;e.a.c.length>0&&(s=y(Xt(e.a,e.a.c.length-1),579),qRe(s,n))||It(e.a,new bDt(n))}i(eNt,"M$b");function Tfn(e){_p();var n,s;n=e.d.c-e.e.c,s=y(e.g,154),Lu(s.b,new gTt(n)),Lu(s.c,new mTt(n)),So(s.i,new yTt(n))}i(Tfn,"Ekc");function tNt(e){var n;return n=new zb,n.a+="VerticalSegment ",qc(n,e.e),n.a+=" ",Ei(n,k6e(new Zse,new ge(e.k))),n.a}i(tNt,"Mlc");function Oue(e,n){var s,u,d;for(s=0,d=ac(e,n).Kc();d.Ob();)u=y(d.Pb(),12),s+=oe(u,(At(),Mh))!=null?1:0;return s}i(Oue,"Fmc");function pC(e,n,s){var u,d,g;for(u=0,g=Hn(e,0);g.b!=g.d.c&&(d=Qe(rt(Un(g))),!(d>s));)d>=n&&++u;return u}i(pC,"VTc");function rNt(e,n){li(e);try{return e._b(n)}catch(s){if(s=$a(s),$e(s,212)||$e(s,169))return!1;throw me(s)}}i(rNt,"Wv");function aLe(e,n){li(e);try{return e.Hc(n)}catch(s){if(s=$a(s),$e(s,212)||$e(s,169))return!1;throw me(s)}}i(aLe,"Nk");function kfn(e,n){li(e);try{return e.Mc(n)}catch(s){if(s=$a(s),$e(s,212)||$e(s,169))return!1;throw me(s)}}i(kfn,"Ok");function Wk(e,n){li(e);try{return e.xc(n)}catch(s){if(s=$a(s),$e(s,212)||$e(s,169))return null;throw me(s)}}i(Wk,"Xv");function Cfn(e,n){li(e);try{return e.Bc(n)}catch(s){if(s=$a(s),$e(s,212)||$e(s,169))return null;throw me(s)}}i(Cfn,"Yv");function jM(e,n){switch(n.g){case 2:case 1:return ac(e,n);case 3:case 4:return gd(ac(e,n))}return Dr(),Dr(),Po}i(jM,"aMc");function zM(e){var n;return(e.Db&64)!=0?Pp(e):(n=new zd(Pp(e)),n.a+=" (name: ",pl(n,e.zb),n.a+=")",n.a)}i(zM,"QAd");function Efn(e){var n;return n=y(Vg(e.c.c,""),233),n||(n=new E5(m8(g8(new WS,""),"Other")),zy(e.c.c,"",n)),n}i(Efn,"Fgd");function sLe(e,n,s){var u,d;return d=e.sb,e.sb=n,(e.Db&4)!=0&&(e.Db&1)==0&&(u=new to(e,1,4,d,n),s?s.nj(u):s=u),s}i(sLe,"hBd");function oLe(e,n,s){var u,d;return d=e.r,e.r=n,(e.Db&4)!=0&&(e.Db&1)==0&&(u=new to(e,1,8,d,e.r),s?s.nj(u):s=u),s}i(oLe,"ZVd");function Sfn(e,n,s){var u,d;return u=new _1(e.e,4,13,(d=n.c,d||(Lr(),c0)),null,Uy(e,n),!1),s?s.nj(u):s=u,s}i(Sfn,"q5d");function Afn(e,n,s){var u,d;return u=new _1(e.e,3,13,null,(d=n.c,d||(Lr(),c0)),Uy(e,n),!1),s?s.nj(u):s=u,s}i(Afn,"p5d");function Fy(e,n){var s,u;return s=y(n,691),u=s.el(),!u&&s.fl(u=$e(n,90)?new NSt(e,y(n,29)):new nLt(e,y(n,156))),u}i(Fy,"Oee");function QF(e,n,s){var u;e._i(e.i+1),u=e.Zi(n,s),n!=e.i&&jc(e.g,n,e.g,n+1,e.i-n),Ka(e.g,n,u),++e.i,e.Mi(n,s),e.Ni()}i(QF,"KHd");function Rfn(e,n){var s;return n.a&&(s=n.a.a.length,e.a?Ei(e.a,e.b):e.a=new Ef(e.d),uLt(e.a,n.a,n.d.length,s)),e}i(Rfn,"Hyb");function Lfn(e,n){var s;e.c=n,e.a=Ndn(n),e.a<54&&(e.f=(s=n.d>1?lLt(n.a[0],n.a[1]):lLt(n.a[0],0),j2(n.e>0?s:Ny(s))))}i(Lfn,"wib");function JF(e,n){var s;return s=new ye,e.a.Bd(s)?(C8(),new Wse(ln(U_t(e,s.a,n)))):(Zb(e),C8(),C8(),yPe)}i(JF,"MDb");function nNt(e,n){var s;e.c.length!=0&&(s=y(Wg(e,ot(Km,Yy,10,e.c.length,0,1)),199),l6e(s,new Zdt),XBt(s,n))}i(nNt,"t9b");function iNt(e,n){var s;e.c.length!=0&&(s=y(Wg(e,ot(Km,Yy,10,e.c.length,0,1)),199),l6e(s,new ept),XBt(s,n))}i(iNt,"z9b");function Ji(e,n){return oo(e)?kr(e,n):Sk(e)?J6t(e,n):Ek(e)?(ln(e),Ze(e)===Ze(n)):t8e(e)?e.Fb(n):YAe(e)?XSt(e,n):Y8e(e,n)}i(Ji,"pb");function dd(e,n,s){if(n<0)d_e(e,s);else{if(!s.rk())throw me(new Jr(wv+s.xe()+j9));y(s,69).wk().Ek(e,e.hi(),n)}}i(dd,"Cvd");function aNt(e,n,s){if(e<0||n>s)throw me(new kl(SX+e+f9e+n+", size: "+s));if(e>n)throw me(new Jr(SX+e+Kzt+n))}i(aNt,"xFb");function sNt(e){var n;return(e.Db&64)!=0?Pp(e):(n=new zd(Pp(e)),n.a+=" (source: ",pl(n,e.d),n.a+=")",n.a)}i(sNt,"oVd");function oNt(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}i(oNt,"JSd");function Dfn(e){xX();var n,s,u,d;for(s=ehe(),u=0,d=s.length;u=0?cv(e):gM(cv(Ny(e))))}i(ZF,"Aib");function uNt(e,n,s,u,d,g){this.e=new Mt,this.f=(al(),CI),It(this.e,e),this.d=n,this.a=s,this.b=u,this.f=d,this.c=g}i(uNt,"G0b");function Ifn(e,n,s){e.n=I2(Uv,[Lt,sde],[376,28],14,[s,Fs(p.Math.ceil(n/32))],2),e.o=n,e.p=s,e.j=n-1>>1,e.k=s-1>>1}i(Ifn,"bQb");function hNt(e){return e-=e>>1&1431655765,e=(e>>2&858993459)+(e&858993459),e=(e>>4)+e&252645135,e+=e>>8,e+=e>>16,e&63}i(hNt,"ggb");function fNt(e,n){var s,u;for(u=new gn(e);u.e!=u.i.gc();)if(s=y(xn(u),142),Ze(n)===Ze(s))return!0;return!1}i(fNt,"C4d");function Nfn(e,n,s){var u,d,g;return g=(d=O7(e.b,n),d),g&&(u=y(mX(LF(e,g),""),29),u)?O_e(e,u,n,s):null}i(Nfn,"Iee");function Pue(e,n,s){var u,d,g;return g=(d=O7(e.b,n),d),g&&(u=y(mX(LF(e,g),""),29),u)?P_e(e,u,n,s):null}i(Pue,"Lee");function Ofn(e,n){var s;if(s=uC(e.i,n),s==null)throw me(new D0("Node did not exist in input."));return SRe(n,s),null}i(Ofn,"IDd");function Pfn(e,n){var s;if(s=C$(e,n),$e(s,331))return y(s,35);throw me(new Jr(wv+n+"' is not a valid attribute"))}i(Pfn,"wvd");function VM(e,n,s){var u;if(u=e.gc(),n>u)throw me(new _k(n,u));if(e.Si()&&e.Hc(s))throw me(new Jr(hG));e.Gi(n,s)}i(VM,"VGd");function Bfn(e,n){n.Ug("Sort end labels",1),as(Zi(nc(new Tr(null,new Ar(e.b,16)),new Bdt),new Fdt),new $dt),n.Vg()}i(Bfn,"w7b");function Ts(){Ts=z,s0=new PB(A9,0),Gl=new PB(e6,1),_l=new PB(Z5,2),a0=new PB(vde,3),Cd=new PB("UP",4)}i(Ts,"Cmd");function e$(){e$=z,wZ=new Goe("P1_STRUCTURE",0),xZ=new Goe("P2_PROCESSING_ORDER",1),TZ=new Goe("P3_EXECUTION",2)}i(e$,"gbd");function dNt(){dNt=z,Fer=j0(j0(O_(j0(j0(O_(Si(new ws,(z5(),LI),(d9(),Ime)),DI),YGe),XGe),_I),VGe),QGe)}i(dNt,"r0c");function Ffn(e){switch(y(oe(e,(At(),gw)),311).g){case 1:Tt(e,gw,(M1(),p6));break;case 2:Tt(e,gw,(M1(),QC))}}i(Ffn,"s8b");function $fn(e){switch(e){case 0:return new r4t;case 1:return new e4t;case 2:return new t4t;default:throw me(new pB)}}i($fn,"bUc");function pNt(e){switch(e.g){case 2:return Gl;case 1:return _l;case 4:return a0;case 3:return Cd;default:return s0}}i(pNt,"Fmd");function hLe(e,n){switch(e.b.g){case 0:case 1:return n;case 2:case 3:return new sd(n.d,0,n.a,n.b);default:return null}}i(hLe,"UNb");function fLe(e){switch(e.g){case 1:return on;case 2:return en;case 3:return pn;case 4:return Gn;default:return oc}}i(fLe,"rpd");function t$(e){switch(e.g){case 1:return Gn;case 2:return on;case 3:return en;case 4:return pn;default:return oc}}i(t$,"spd");function fK(e){switch(e.g){case 1:return pn;case 2:return Gn;case 3:return on;case 4:return en;default:return oc}}i(fK,"tpd");function dLe(e,n,s,u){switch(n){case 1:return!e.n&&(e.n=new xt(bl,e,1,7)),e.n;case 2:return e.k}return aDe(e,n,s,u)}i(dLe,"cyd");function HM(e,n,s){var u,d;return e.Pj()?(d=e.Qj(),u=Uhe(e,n,s),e.Jj(e.Ij(7,_t(s),u,n,d)),u):Uhe(e,n,s)}i(HM,"uLd");function Bue(e,n){var s,u,d;e.d==null?(++e.e,--e.f):(d=n.ld(),s=n.Bi(),u=(s&Yi)%e.d.length,Cln(e,u,BFt(e,u,s,d)))}i(Bue,"VNd");function v7(e,n){var s;s=(e.Bb&$p)!=0,n?e.Bb|=$p:e.Bb&=-1025,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new Ip(e,1,10,s,n))}i(v7,"xWd");function w7(e,n){var s;s=(e.Bb&u3)!=0,n?e.Bb|=u3:e.Bb&=-4097,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new Ip(e,1,12,s,n))}i(w7,"DWd");function x7(e,n){var s;s=(e.Bb&mh)!=0,n?e.Bb|=mh:e.Bb&=-8193,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new Ip(e,1,15,s,n))}i(x7,"EWd");function T7(e,n){var s;s=(e.Bb&y3)!=0,n?e.Bb|=y3:e.Bb&=-2049,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new Ip(e,1,11,s,n))}i(T7,"FWd");function Gfn(e){var n;e.g&&(n=e.c.kg()?e.f:e.a,K_e(n.a,e.o,!0),K_e(n.a,e.o,!1),Tt(e.o,(Ht(),ns),(fo(),Rw)))}i(Gfn,"zKc");function jfn(e){var n;if(!e.a)throw me(new Cl("Cannot offset an unassigned cut."));n=e.c-e.b,e.b+=n,$7t(e,n),F7t(e,n)}i(jfn,"Orc");function zfn(e,n){var s;if(s=mn(e.k,n),s==null)throw me(new D0("Port did not exist in input."));return SRe(n,s),null}i(zfn,"JDd");function Ufn(e){var n,s;for(s=NFt(Lf(e)).Kc();s.Ob();)if(n=pi(s.Pb()),p9(e,n))return Von((mEt(),$nr),n);return null}i(Ufn,"Jje");function gNt(e){var n,s;for(s=e.p.a.ec().Kc();s.Ob();)if(n=y(s.Pb(),218),n.f&&e.b[n.c]<-1e-10)return n;return null}i(gNt,"qJb");function Vfn(e){var n,s;for(s=Jb(new zb,91),n=!0;e.Ob();)n||(s.a+=Ho),n=!1,qc(s,e.Pb());return(s.a+="]",s).a}i(Vfn,"Lr");function Hfn(e){var n,s,u;for(n=new Mt,u=new ge(e.b);u.an?1:e==n?e==0?ga(1/e,1/n):0:isNaN(e)?isNaN(n)?0:1:-1}i(ga,"Qfb");function Wfn(e){var n;return n=e.a[e.c-1&e.a.length-1],n==null?null:(e.c=e.c-1&e.a.length-1,Ka(e.a,e.c,null),n)}i(Wfn,"pmb");function Yfn(e){var n,s,u;for(u=0,s=e.length,n=0;n=1?Gl:a0):s}i(dK,"i2b");function Jfn(e){switch(y(oe(e,(Ht(),Y1)),223).g){case 1:return new C0t;case 3:return new L0t;default:return new k0t}}i(Jfn,"Xhc");function lv(e){if(e.c)lv(e.c);else if(e.d)throw me(new Cl("Stream already terminated, can't be modified or used"))}i(lv,"MCb");function Hx(e,n,s){var u;return u=e.a.get(n),e.a.set(n,s===void 0?null:s),u===void 0?(++e.c,++e.b.g):++e.d,u}i(Hx,"Ltb");function Zfn(e,n,s){var u,d;for(d=e.a.ec().Kc();d.Ob();)if(u=y(d.Pb(),10),zF(s,y(Xt(n,u.p),16)))return u;return null}i(Zfn,"HHc");function gLe(e,n,s){var u;return u=0,n&&(X4(e.a)?u+=n.f.a/2:u+=n.f.b/2),s&&(X4(e.a)?u+=s.f.a/2:u+=s.f.b/2),u}i(gLe,"u0c");function edn(e,n,s){var u;u=s,!u&&(u=PAe(new JS,0)),u.Ug(SUt,2),wOt(e.b,n,u.eh(1)),g3n(e,n,u.eh(1)),bCn(n,u.eh(1)),u.Vg()}i(edn,"LWb");function mLe(e,n,s){var u,d;return u=(Vb(),d=new YH,d),$Y(u,n),FY(u,s),e&&Jn((!e.a&&(e.a=new vs(Uf,e,5)),e.a),u),u}i(mLe,"CGd");function $ue(e){var n;return(e.Db&64)!=0?Pp(e):(n=new zd(Pp(e)),n.a+=" (identifier: ",pl(n,e.k),n.a+=")",n.a)}i($ue,"kyd");function Gue(e,n){var s;s=(e.Bb&Ec)!=0,n?e.Bb|=Ec:e.Bb&=-32769,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new Ip(e,1,18,s,n))}i(Gue,"kXd");function yLe(e,n){var s;s=(e.Bb&Ec)!=0,n?e.Bb|=Ec:e.Bb&=-32769,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new Ip(e,1,18,s,n))}i(yLe,"a6d");function k7(e,n){var s;s=(e.Bb&V0)!=0,n?e.Bb|=V0:e.Bb&=-16385,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new Ip(e,1,16,s,n))}i(k7,"AWd");function bLe(e,n){var s;s=(e.Bb&Xo)!=0,n?e.Bb|=Xo:e.Bb&=-65537,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new Ip(e,1,20,s,n))}i(bLe,"c6d");function vLe(e){var n;return n=ot(Ad,H0,28,2,15,1),e-=Xo,n[0]=(e>>10)+H$&ks,n[1]=(e&1023)+56320&ks,qd(n,0,n.length)}i(vLe,"qse");function tdn(e){var n;return n=Zk(e),n>34028234663852886e22?Pa:n<-34028234663852886e22?Ls:n}i(tdn,"Zfb");function $o(e,n){var s;return Ul(e)&&Ul(n)&&(s=e+n,V$"+G2(n.c):"e_"+ka(n),e.b&&e.c?G2(e.b)+"->"+G2(e.c):"e_"+ka(e))}i(ndn,"pWc");function idn(e,n){return kr(n.b&&n.c?G2(n.b)+"->"+G2(n.c):"e_"+ka(n),e.b&&e.c?G2(e.b)+"->"+G2(e.c):"e_"+ka(e))}i(idn,"rWc");function qx(e,n){return Pg(),Np(gv),p.Math.abs(e-n)<=gv||e==n||isNaN(e)&&isNaN(n)?0:en?1:bx(isNaN(e),isNaN(n))}i(qx,"$y");function P1(){P1=z,H1e=new Wq(A9,0),gj=new Wq("POLYLINE",1),XR=new Wq("ORTHOGONAL",2),R6=new Wq("SPLINES",3)}i(P1,"Ymd");function pK(){pK=z,Yje=new Foe("ASPECT_RATIO_DRIVEN",0),h1e=new Foe("MAX_SCALE_DRIVEN",1),Wje=new Foe("AREA_DRIVEN",2)}i(pK,"_6c");function adn(e,n,s){var u;try{Rhn(e,n,s)}catch(d){throw d=$a(d),$e(d,606)?(u=d,me(new v7e(u))):me(d)}return n}i(adn,"Db");function sdn(e){var n,s,u;for(s=0,u=e.length;sn&&u.Ne(e[g-1],e[g])>0;--g)x=e[g],Ka(e,g,e[g-1]),Ka(e,g-1,x)}i(cdn,"Unb");function fr(e,n){var s,u,d,g,x;if(s=n.f,zy(e.c.d,s,n),n.g!=null)for(d=n.g,g=0,x=d.length;gn){dLt(s);break}}sF(s,n)}i(bNt,"YSc");function udn(e,n){var s,u,d;u=sC(n),d=Qe(rt(Kk(u,(Ht(),Up)))),s=p.Math.max(0,d/2-.5),e9(n,s,1),It(e,new MEt(n,s))}i(udn,"Kic");function hdn(e,n,s){var u;s.Ug("Straight Line Edge Routing",1),s.dh(n,xNe),u=y(Ct(n,(nC(),cE)),27),tjt(e,u),s.dh(n,aQ)}i(hdn,"L5c");function wLe(e,n){e.n.c.length==0&&It(e.n,new oY(e.s,e.t,e.i)),It(e.b,n),eDe(y(Xt(e.n,e.n.c.length-1),209),n),BGt(e,n)}i(wLe,"K9c");function qM(e){var n;this.a=(n=y(e.e&&e.e(),9),new ad(n,y(Dp(n,n.length),9),0)),this.b=ot(Hs,Gr,1,this.a.a.length,5,1)}i(qM,"Zrb");function Hl(e){var n;return Array.isArray(e)&&e.Tm===te?_2(gf(e))+"@"+(n=ka(e)>>>0,n.toString(16)):e.toString()}i(Hl,"jeb");function fdn(e,n){return e.h==U$&&e.m==0&&e.l==0?(n&&(xv=Au(0,0,0)),JSt((K8(),XOe))):(n&&(xv=Au(e.l,e.m,e.h)),Au(0,0,0))}i(fdn,"jD");function ddn(e,n){switch(n.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}i(ddn,"_Gb");function vNt(e,n){switch(n.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}i(vNt,"IYb");function xLe(e,n,s,u){switch(n){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return dLe(e,n,s,u)}i(xLe,"vyd");function gK(e,n){if(n==e.d)return e.e;if(n==e.e)return e.d;throw me(new Jr("Node "+n+" not part of edge "+e))}i(gK,"oIb");function pdn(e,n){var s;if(s=C$(e.Dh(),n),$e(s,102))return y(s,19);throw me(new Jr(wv+n+"' is not a valid reference"))}i(pdn,"Uvd");function pd(e,n,s,u){if(n<0)G_e(e,s,u);else{if(!s.rk())throw me(new Jr(wv+s.xe()+j9));y(s,69).wk().Ck(e,e.hi(),n,u)}}i(pd,"Bvd");function Yh(e){var n;if(e.b){if(Yh(e.b),e.b.d!=e.c)throw me(new rd)}else e.d.dc()&&(n=y(e.f.c.xc(e.e),16),n&&(e.d=n))}i(Yh,"ig");function gdn(e){Lk();var n,s,u,d;for(n=e.o.b,u=y(y(ta(e.r,(Bt(),Gn)),21),87).Kc();u.Ob();)s=y(u.Pb(),117),d=s.e,d.b+=n}i(gdn,"VMb");function mdn(e){var n,s,u;for(this.a=new I0,u=new ge(e);u.a=d)return n.c+s;return n.c+n.b.gc()}i(ydn,"fdc");function bdn(e,n){R8();var s,u,d,g;for(u=__t(e),d=n,W8(u,0,u.length,d),s=0;s0&&(u+=d,++s);return s>1&&(u+=e.d*(s-1)),u}i(kLe,"vKb");function wdn(e){var n,s,u,d,g;return g=$De(e),s=bB(e.c),u=!s,u&&(d=new E2,dg(g,"knownLayouters",d),n=new c3t(d),So(e.c,n)),g}i(wdn,"FFd");function CLe(e){var n,s,u;for(u=new Ty,u.a+="[",n=0,s=e.gc();n0&&(Zr(n-1,e.length),e.charCodeAt(n-1)==58)&&!Uue(e,iN,aN))}i(kdn,"FSd");function ELe(e,n){var s;return Ze(e)===Ze(n)?!0:$e(n,92)?(s=y(n,92),e.e==s.e&&e.d==s.d&&Won(e,s.a)):!1}i(ELe,"Sib");function B5(e){switch(Bt(),e.g){case 4:return en;case 1:return pn;case 3:return Gn;case 2:return on;default:return oc}}i(B5,"vpd");function Cdn(e){var n,s;if(e.b)return e.b;for(s=e0?null:e.d;s;){if(n=e0?null:s.b,n)return n;s=e0?null:s.d}return T8(),wPe}i(Cdn,"jBb");function SLe(e){var n,s,u;for(u=Qe(rt(e.a.of((_i(),DZ)))),s=new ge(e.a.Sf());s.a>5,n=e&31,u=ot(ei,Ai,28,s+1,15,1),u[s]=1<3;)d*=10,--g;e=(e+(d>>1))/d|0}return u.i=e,!0}i(Pdn,"OA");function Ga(e,n){var s,u,d;if(s=(e.i==null&&U0(e),e.i),u=n.Lj(),u!=-1){for(d=s.length;u=0;--u)for(n=s[u],d=0;d>1,this.k=n-1>>1}i(MLe,"gQb");function $dn(e){EY(),y(e.of((_i(),Mv)),181).Hc((Xh(),BZ))&&(y(e.of(G3),181).Fc((_h(),L6)),y(e.of(Mv),181).Mc(BZ))}i($dn,"Dfd");function SNt(e){var n,s;n=e.d==(U5(),kR),s=LDe(e),n&&!s||!n&&s?Tt(e.a,(Ht(),tm),(Bm(),oj)):Tt(e.a,(Ht(),tm),(Bm(),sj))}i(SNt,"ndc");function que(){que=z,Aq(),XJ=(Ht(),ST),XJt=jg(Te(we(A1e,1),lNe,149,0,[UG,Up,nE,ET,N3,ume,BR,FR,hme,wI,rE,Tw,iE]))}i(que,"QCc");function Gdn(e,n){var s;return s=y(Vl(e,Rh(new bt,new ft,new ke,Te(we(Ll,1),kt,108,0,[(Dh(),Wl)]))),15),s.Qc(WAt(s.gc()))}i(Gdn,"RDb");function ANt(e,n){var s,u;if(u=new l8(e.a.ad(n,!0)),u.a.gc()<=1)throw me(new KS);return s=u.a.ec().Kc(),s.Pb(),y(s.Pb(),40)}i(ANt,"nXc");function jdn(e,n,s){var u,d;return u=Qe(e.p[n.i.p])+Qe(e.d[n.i.p])+n.n.b+n.a.b,d=Qe(e.p[s.i.p])+Qe(e.d[s.i.p])+s.n.b+s.a.b,d-u}i(jdn,"lQc");function ILe(e,n){var s;return e.i>0&&(n.lengthe.i&&Ka(n,e.i,null),n}i(ILe,"XHd");function yK(e){var n;return(e.Db&64)!=0?zM(e):(n=new zd(zM(e)),n.a+=" (instanceClassName: ",pl(n,e.D),n.a+=")",n.a)}i(yK,"MXd");function bK(e){var n,s,u,d;for(d=0,s=0,u=e.length;s0?(e._j(),u=n==null?0:ka(n),d=(u&Yi)%e.d.length,s=BFt(e,d,u,n),s!=-1):!1}i(Wue,"QNd");function RNt(e,n){var s,u;e.a=$o(e.a,1),e.c=p.Math.min(e.c,n),e.b=p.Math.max(e.b,n),e.d+=n,s=n-e.f,u=e.e+s,e.f=u-e.e-s,e.e=u}i(RNt,"Nrb");function NLe(e,n){switch(n){case 3:$x(e,0);return;case 4:Gx(e,0);return;case 5:Du(e,0);return;case 6:_u(e,0);return}iLe(e,n)}i(NLe,"yyd");function Wx(e,n){switch(n.g){case 1:return g5(e.j,(fh(),h0e));case 2:return g5(e.j,(fh(),f0e));default:return Dr(),Dr(),Po}}i(Wx,"c3b");function OLe(e){Rx();var n;switch(n=e.Pc(),n.length){case 0:return xge;case 1:return new Sle(li(n[0]));default:return new oce(sdn(n))}}i(OLe,"zm");function LNt(e,n){e.Xj();try{e.d.bd(e.e++,n),e.f=e.d.j,e.g=-1}catch(s){throw s=$a(s),$e(s,77)?me(new rd):me(s)}}i(LNt,"kMd");function Yue(){Yue=z,sye=new Cbt,LVe=new Ebt,DVe=new Sbt,_Ve=new Abt,MVe=new Rbt,IVe=new Lbt,NVe=new Dbt,OVe=new _bt,PVe=new Mbt}i(Yue,"a8d");function vK(e,n){i6e();var s,u;return s=KB((dq(),dq(),Z9)),u=null,n==s&&(u=y(Yc(YOe,e),624)),u||(u=new Y8t(e),n==s&&El(YOe,e,u)),u}i(vK,"YA");function DNt(e){Xk();var n;return(e.q?e.q:(Dr(),Dr(),Wm))._b((Ht(),kT))?n=y(oe(e,kT),203):n=y(oe(Eo(e),vI),203),n}i(DNt,"zDc");function Kk(e,n){var s,u;return u=null,Ea(e,(Ht(),YJ))&&(s=y(oe(e,YJ),96),s.pf(n)&&(u=s.of(n))),u==null&&(u=oe(Eo(e),n)),u}i(Kk,"hFc");function _Nt(e,n){var s,u,d;return $e(n,44)?(s=y(n,44),u=s.ld(),d=Wk(e.Rc(),u),B0(d,s.md())&&(d!=null||e.Rc()._b(u))):!1}i(_Nt,"Ze");function gg(e,n){var s,u,d;return e.f>0&&(e._j(),u=n==null?0:ka(n),d=(u&Yi)%e.d.length,s=w_e(e,d,u,n),s)?s.md():null}i(gg,"$Nd");function mu(e,n,s){var u,d,g;return e.Pj()?(u=e.i,g=e.Qj(),QF(e,u,n),d=e.Ij(3,null,n,u,g),s?s.nj(d):s=d):QF(e,e.i,n),s}i(mu,"qLd");function Udn(e,n,s){var u,d;return u=new _1(e.e,4,10,(d=n.c,$e(d,90)?y(d,29):(Lr(),op)),null,Uy(e,n),!1),s?s.nj(u):s=u,s}i(Udn,"f$d");function Vdn(e,n,s){var u,d;return u=new _1(e.e,3,10,null,(d=n.c,$e(d,90)?y(d,29):(Lr(),op)),Uy(e,n),!1),s?s.nj(u):s=u,s}i(Vdn,"e$d");function MNt(e){Lk();var n;return n=new Uo(y(e.e.of((_i(),bE)),8)),e.B.Hc((Xh(),JR))&&(n.a<=0&&(n.a=20),n.b<=0&&(n.b=20)),n}i(MNt,"SMb");function cv(e){z0();var n,s;return s=oi(e),n=oi(Xb(e,32)),n!=0?new GRt(s,n):s>10||s<0?new L1(1,s):vWt[s]}i(cv,"jjb");function n$(e,n){var s;return Ul(e)&&Ul(n)&&(s=e%n,V$=0?g=g.a[1]:(d=g,g=g.a[0])}return d}i(C7,"Pyb");function a$(e,n,s){var u,d,g;for(d=null,g=e.b;g;){if(u=e.a.Ne(n,g.d),s&&u==0)return g;u<=0?g=g.a[0]:(d=g,g=g.a[1])}return d}i(a$,"Qyb");function Xdn(e,n,s,u){var d,g,x;return d=!1,Z3n(e.f,s,u)&&(bpn(e.f,e.a[n][s],e.a[n][u]),g=e.a[n],x=g[u],g[u]=g[s],g[s]=x,d=!0),d}i(Xdn,"rmc");function PNt(e,n,s){var u,d,g,x;for(d=y(mn(e.b,s),183),u=0,x=new ge(n.j);x.a>5,n&=31,d=e.d+s+(n==0?0:1),u=ot(ei,Ai,28,d,15,1),Ymn(u,e.a,s,n),g=new P2(e.e,d,u),xM(g),g}i(BNt,"qjb");function Qdn(e,n){var s,u,d;for(u=new bn(wn(fs(e).a.Kc(),new I));qn(u);)if(s=y(Mn(u),18),d=s.d.i,d.c==n)return!1;return!0}i(Qdn,"zGc");function FLe(e,n,s){var u,d,g,x,k;return x=e.k,k=n.k,u=s[x.g][k.g],d=rt(Kk(e,u)),g=rt(Kk(n,u)),p.Math.max((ln(d),d),(ln(g),g))}i(FLe,"_Ec");function Jdn(){return Error.stackTraceLimit>0?(p.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}i(Jdn,"lA");function Zdn(e,n){return Pg(),Pg(),Np(gv),(p.Math.abs(e-n)<=gv||e==n||isNaN(e)&&isNaN(n)?0:en?1:bx(isNaN(e),isNaN(n)))>0}i(Zdn,"sGb");function $Le(e,n){return Pg(),Pg(),Np(gv),(p.Math.abs(e-n)<=gv||e==n||isNaN(e)&&isNaN(n)?0:en?1:bx(isNaN(e),isNaN(n)))<0}i($Le,"uGb");function FNt(e,n){return Pg(),Pg(),Np(gv),(p.Math.abs(e-n)<=gv||e==n||isNaN(e)&&isNaN(n)?0:en?1:bx(isNaN(e),isNaN(n)))<=0}i(FNt,"tGb");function Xue(e,n){for(var s=0;!n[s]||n[s]=="";)s++;for(var u=n[s++];s0&&this.b>0&&(this.g=MW(this.c,this.b,this.a))}i(jLe,"mad");function epn(e,n){var s=e.a,u;n=String(n),s.hasOwnProperty(n)&&(u=s[n]);var d=(bue(),Age)[typeof u],g=d?d(u):ZRe(typeof u);return g}i(epn,"rC");function E7(e){var n,s,u;if(u=null,n=J0 in e.a,s=!n,s)throw me(new D0("Every element must have an id."));return u=V5(S1(e,J0)),u}i(E7,"uDd");function Yx(e){var n,s;for(s=uBt(e),n=null;e.c==2;)qi(e),n||(n=(Wi(),Wi(),++Ja,new Z_(2)),tw(n,s),s=n),s.Jm(uBt(e));return s}i(Yx,"Qqe");function xK(e,n){var s,u,d;return e._j(),u=n==null?0:ka(n),d=(u&Yi)%e.d.length,s=w_e(e,d,u,n),s?(qMt(e,s),s.md()):null}i(xK,"jOd");function HNt(e,n){return e.e>n.e?1:e.en.d?e.e:e.d=48&&e<48+p.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}i(qNt,"dfb");function tpn(e,n){if(n.c==e)return n.d;if(n.d==e)return n.c;throw me(new Jr("Input edge is not connected to the input port."))}i(tpn,"UHc");function rpn(e){if(kK(uR,e))return Hr(),yR;if(kK(Bpe,e))return Hr(),Tv;throw me(new Jr("Expecting true or false"))}i(rpn,"Fae");function zLe(e){switch(typeof e){case Mfe:return Py(e);case QMe:return l5(e);case Y5:return S6t(e);default:return e==null?0:xx(e)}}i(zLe,"jFb");function j0(e,n){if(e.a<0)throw me(new Cl("Did not call before(...) or after(...) before calling add(...)."));return P6e(e,e.a,n),e}i(j0,"mfd");function ULe(e){return lY(),$e(e,162)?y(mn(Aj,CWt),295).Rg(e):Ru(Aj,gf(e))?y(mn(Aj,gf(e)),295).Rg(e):null}i(ULe,"FId");function Mu(e){var n,s;return(e.Db&32)==0&&(s=(n=y(Xr(e,16),29),_n(n||e.ii())-_n(e.ii())),s!=0&&F5(e,32,ot(Hs,Gr,1,s,5,1))),e}i(Mu,"Wwd");function F5(e,n,s){var u;(e.Db&n)!=0?s==null?$bn(e,n):(u=yhe(e,n),u==-1?e.Eb=s:Ka(U2(e.Eb),u,s)):s!=null&&lwn(e,n,s)}i(F5,"$wd");function npn(e,n,s,u){var d,g;n.c.length!=0&&(d=Jvn(s,u),g=Zyn(n),as(PY(new Tr(null,new Ar(g,1)),new Rmt),new k7t(e,s,d,u)))}i(npn,"tTc");function ipn(e,n){var s,u,d,g;return u=e.a.length-1,s=n-e.b&u,g=e.c-n&u,d=e.c-e.b&u,x6t(s=g?(rfn(e,n),-1):(tfn(e,n),1)}i(ipn,"rmb");function TK(e){var n,s,u;if(u=e.Jh(),!u)for(n=0,s=e.Ph();s;s=s.Ph()){if(++n>ode)return s.Qh();if(u=s.Jh(),u||s==e)break}return u}i(TK,"Hvd");function WNt(e,n){var s;return Ze(n)===Ze(e)?!0:!$e(n,21)||(s=y(n,21),s.gc()!=e.gc())?!1:e.Ic(s)}i(WNt,"Ue");function apn(e,n){return e.en.e?1:e.fn.f?1:ka(e)-ka(n)}i(apn,"kNc");function kK(e,n){return ln(e),n==null?!1:kr(e,n)?!0:e.length==n.length&&kr(e.toLowerCase(),n.toLowerCase())}i(kK,"mhb");function F1(e){var n,s;return Dc(e,-129)>0&&Dc(e,128)<0?(QAt(),n=oi(e)+128,s=nPe[n],!s&&(s=nPe[n]=new iSe(e)),s):new iSe(e)}i(F1,"Hgb");function Q2(){Q2=z,T3=new $q(K0,0),yBe=new $q("INSIDE_PORT_SIDE_GROUPS",1),o0e=new $q("GROUP_MODEL_ORDER",2),l0e=new $q(j9e,3)}i(Q2,"U$b");function spn(e){var n;return e.b||ZXr(e,(n=JZr(e.e,e.a),!n||!kr(Bpe,gg((!n.b&&(n.b=new ff((Lr(),Jo),wc,n)),n.b),"qualified")))),e.c}i(spn,"ufe");function opn(e,n){var s,u;for(s=(Zr(n,e.length),e.charCodeAt(n)),u=n+1;u2e3&&(cWt=e,IQ=p.setTimeout(iQr,10))),MQ++==0?(wcn((XSe(),WOe)),!0):!1}i(wpn,"Sz");function xpn(e,n,s){var u;(_Wt?(Cdn(e),!0):MWt||NWt?(T8(),!0):IWt&&(T8(),!1))&&(u=new uAt(n),u.b=s,L1n(e,u))}i(xpn,"lBb");function Jue(e,n){var s;s=!e.A.Hc((mf(),Lw))||e.q==(fo(),nu),e.u.Hc((_h(),X1))?s?uCn(e,n):zjt(e,n):e.u.Hc(Pv)&&(s?D4n(e,n):nzt(e,n))}i(Jue,"oNb");function ZNt(e){var n;Ze(Ct(e,(_i(),mE)))===Ze((O1(),IZ))&&(Oa(e)?(n=y(Ct(Oa(e),mE),346),ca(e,mE,n)):ca(e,mE,KI))}i(ZNt,"Bed");function Tpn(e){var n,s;return Ea(e.d.i,(Ht(),NR))?(n=y(oe(e.c.i,NR),17),s=y(oe(e.d.i,NR),17),Lc(n.a,s.a)>0):!1}i(Tpn,"_fc");function eOt(e,n,s){return new sd(p.Math.min(e.a,n.a)-s/2,p.Math.min(e.b,n.b)-s/2,p.Math.abs(e.a-n.a)+s,p.Math.abs(e.b-n.b)+s)}i(eOt,"g_b");function tOt(e){var n;this.d=new Mt,this.j=new mo,this.g=new mo,n=e.g.b,this.f=y(oe(Eo(n),(Ht(),$f)),88),this.e=Qe(rt(AK(n,N3)))}i(tOt,"_mc");function rOt(e){this.d=new Mt,this.e=new _y,this.c=ot(ei,Ai,28,(Bt(),Te(we(Qo,1),Mc,64,0,[oc,en,pn,Gn,on])).length,15,1),this.b=e}i(rOt,"onc");function qLe(e,n,s){var u;switch(u=s[e.g][n],e.g){case 1:case 3:return new St(0,u);case 2:case 4:return new St(u,0);default:return null}}i(qLe,"$pc");function nOt(e,n,s){var u,d;d=y(hF(n.f),205);try{d.rf(e,s),l7t(n.f,d)}catch(g){throw g=$a(g),$e(g,103)?(u=g,me(u)):me(g)}}i(nOt,"Ced");function iOt(e,n,s){var u,d,g,x,k,A;return u=null,k=BMe(r7(),n),g=null,k&&(d=null,A=OMe(k,s),x=null,A!=null&&(x=e.qf(k,A)),d=x,g=d),u=g,u}i(iOt,"tEd");function Zue(e,n,s,u){var d;if(d=e.length,n>=d)return d;for(n=n>0?n:0;nu&&Ka(n,u,null),n}i(Wg,"anb");function aOt(e,n){var s,u;for(u=e.a.length,n.lengthu&&Ka(n,u,null),n}i(aOt,"lob");function S7(e,n){var s,u;if(++e.j,n!=null&&(s=(u=e.a.Cb,$e(u,99)?y(u,99).th():null),Abn(n,s))){F5(e.a,4,s);return}F5(e.a,4,y(n,129))}i(S7,"Bde");function kpn(e){var n;if(e==null)return null;if(n=Rvn(Qc(e,!0)),n==null)throw me(new Jse("Invalid hexBinary value: '"+e+"'"));return n}i(kpn,"mne");function CK(e,n,s){var u;n.a.length>0&&(It(e.b,new SAt(n.a,s)),u=n.a.length,0u&&(n.a+=R5t(ot(Ad,H0,28,-u,15,1))))}i(CK,"wA");function sOt(e,n,s){var u,d,g;if(!s[n.d])for(s[n.d]=!0,d=new ge(dC(n));d.a=e.b>>1)for(u=e.c,s=e.b;s>n;--s)u=u.b;else for(u=e.a.a,s=0;s=0?e.Wh(d):zhe(e,u)):s<0?zhe(e,u):y(u,69).wk().Bk(e,e.hi(),s)}i(rhe,"Kvd");function uOt(e){var n,s,u;for(u=(!e.o&&(e.o=new hh((_c(),t1),sb,e,0)),e.o),s=u.c.Kc();s.e!=s.i.gc();)n=y(s.Yj(),44),n.md();return kF(u)}i(uOt,"Fxd");function zt(e){var n;if($e(e.a,4)){if(n=ULe(e.a),n==null)throw me(new Cl(_Vt+e.b+"'. "+DVt+(C1(Rj),Rj.k)+ZNe));return n}else return e.a}i(zt,"iGd");function _pn(e,n){var s,u;if(e.j.length!=n.j.length)return!1;for(s=0,u=e.j.length;s=64&&n<128&&(d=ug(d,Mp(1,n-64)));return d}i(SK,"vSd");function AK(e,n){var s,u;return u=null,Ea(e,(_i(),S6))&&(s=y(oe(e,S6),96),s.pf(n)&&(u=s.of(n))),u==null&&Eo(e)&&(u=oe(Eo(e),n)),u}i(AK,"k2b");function Mpn(e,n){var s;return s=y(oe(e,(Ht(),Dl)),75),Zoe(n,MKt)?s?Sf(s):(s=new sh,Tt(e,Dl,s)):s&&Tt(e,Dl,null),s}i(Mpn,"i0b");function KM(){KM=z,QPe=(_i(),SUe),Yge=sUe,_Yt=dE,XPe=ib,OYt=($K(),LPe),NYt=APe,PYt=_Pe,IYt=SPe,MYt=(Lue(),WPe),Wge=RYt,KPe=LYt,VQ=DYt}i(KM,"tSb");function RK(e){switch(v5e(),this.c=new Mt,this.d=e,e.g){case 0:case 2:this.a=A8e(mBe),this.b=Pa;break;case 3:case 1:this.a=mBe,this.b=Ls}}i(RK,"PZb");function Ipn(e){var n;p5(y(oe(e,(Ht(),ns)),101))&&(n=e.b,JBt((_r(0,n.c.length),y(n.c[0],30))),JBt(y(Xt(n,n.c.length-1),30)))}i(Ipn,"c9b");function Npn(e,n){n.Ug("Self-Loop post-processing",1),as(Zi(Zi(nc(new Tr(null,new Ar(e.b,16)),new ngt),new igt),new agt),new sgt),n.Vg()}i(Npn,"ohc");function hOt(e,n,s){var u,d;if(e.c)Du(e.c,e.c.i+n),_u(e.c,e.c.j+s);else for(d=new ge(e.b);d.a=0&&(s.d=e.t);break;case 3:e.t>=0&&(s.a=e.t)}e.C&&(s.b=e.C.b,s.c=e.C.c)}i(pOt,"GMb");function XM(){XM=z,yGe=new DB(cNe,0),wme=new DB(Gde,1),xme=new DB("LINEAR_SEGMENTS",2),TI=new DB("BRANDES_KOEPF",3),kI=new DB(aVt,4)}i(XM,"JDc");function QM(){QM=z,SG=new Bq(RX,0),zQ=new Bq(wde,1),UQ=new Bq(xde,2),AG=new Bq(Tde,3),SG.a=!1,zQ.a=!0,UQ.a=!1,AG.a=!0}i(QM,"IRb");function $5(){$5=z,kG=new Pq(RX,0),TG=new Pq(wde,1),CG=new Pq(xde,2),EG=new Pq(Tde,3),kG.a=!1,TG.a=!0,CG.a=!1,EG.a=!0}i($5,"IPb");function G5(e,n,s,u){var d;return s>=0?e.Sh(n,s,u):(e.Ph()&&(u=(d=e.Fh(),d>=0?e.Ah(u):e.Ph().Th(e,-1-d,null,u))),e.Ch(n,s,u))}i(G5,"Ivd");function WLe(e,n){switch(n){case 7:!e.e&&(e.e=new Ir(us,e,7,4)),Kn(e.e);return;case 8:!e.d&&(e.d=new Ir(us,e,8,5)),Kn(e.d);return}NLe(e,n)}i(WLe,"Zyd");function ca(e,n,s){return s==null?(!e.o&&(e.o=new hh((_c(),t1),sb,e,0)),xK(e.o,n)):(!e.o&&(e.o=new hh((_c(),t1),sb,e,0)),h$(e.o,n,s)),e}i(ca,"Ixd");function gOt(e,n){Dr();var s,u,d,g;for(s=e,g=n,$e(e,21)&&!$e(n,21)&&(s=n,g=e),d=s.Kc();d.Ob();)if(u=d.Pb(),g.Hc(u))return!1;return!0}i(gOt,"Aob");function $pn(e,n,s,u){if(n.as.b)return!0}return!1}i($pn,"qTc");function ihe(e,n){return oo(e)?!!rWt[n]:e.Sm?!!e.Sm[n]:Sk(e)?!!tWt[n]:Ek(e)?!!eWt[n]:!1}i(ihe,"QD");function Gpn(e){var n;n=e.a;do n=y(Mn(new bn(wn(Ks(n).a.Kc(),new I))),18).c.i,n.k==(sn(),ro)&&e.b.Fc(n);while(n.k==(sn(),ro));e.b=gd(e.b)}i(Gpn,"udc");function mOt(e,n){var s,u,d;for(d=e,u=new bn(wn(Ks(n).a.Kc(),new I));qn(u);)s=y(Mn(u),18),s.c.i.c&&(d=p.Math.max(d,s.c.i.c.p));return d}i(mOt,"UGc");function jpn(e,n){var s,u,d;for(d=0,u=y(y(ta(e.r,n),21),87).Kc();u.Ob();)s=y(u.Pb(),117),d+=s.d.d+s.b.Mf().b+s.d.a,u.Ob()&&(d+=e.w);return d}i(jpn,"INb");function zpn(e,n){var s,u,d;for(d=0,u=y(y(ta(e.r,n),21),87).Kc();u.Ob();)s=y(u.Pb(),117),d+=s.d.b+s.b.Mf().a+s.d.c,u.Ob()&&(d+=e.w);return d}i(zpn,"AMb");function yOt(e){var n,s,u,d;if(u=0,d=n3(e),d.c.length==0)return 1;for(s=new ge(d);s.a=0?e.Lh(x,s,!0):Jx(e,g,s)):y(g,69).wk().yk(e,e.hi(),d,s,u)}i(LK,"Dvd");function qpn(e,n,s,u){var d,g;g=n.pf((_i(),yE))?y(n.of(yE),21):e.j,d=Dfn(g),d!=(xX(),Uge)&&(s&&!GLe(d)||JDe(Lvn(e,d,u),n))}i(qpn,"aNb");function Wpn(e){switch(e.g){case 1:return Vx(),xG;case 3:return Vx(),wG;case 2:return Vx(),Hge;case 4:return Vx(),Vge;default:return null}}i(Wpn,"Y6b");function Ypn(e,n,s){if(e.e)switch(e.b){case 1:Fin(e.c,n,s);break;case 0:$in(e.c,n,s)}else FLt(e.c,n,s);e.a[n.p][s.p]=e.c.i,e.a[s.p][n.p]=e.c.e}i(Ypn,"kmc");function bOt(e){var n,s;if(e==null)return null;for(s=ot(Km,Lt,199,e.length,0,2),n=0;n=0)return d;if(e.ol()){for(u=0;u=d)throw me(new _k(n,d));if(e.Si()&&(u=e.dd(s),u>=0&&u!=n))throw me(new Jr(hG));return e.Xi(n,s)}i(mC,"eHd");function YLe(e,n){if(this.a=y(li(e),253),this.b=y(li(n),253),e.Ed(n)>0||e==(Hse(),vge)||n==(qse(),wge))throw me(new Jr("Invalid range: "+jLt(e,n)))}i(YLe,"wx");function vOt(e){var n,s;for(this.b=new Mt,this.c=e,this.a=!1,s=new ge(e.a);s.a0),(n&-n)==n)return Fs(n*Kh(e,31)*4656612873077393e-25);do s=Kh(e,31),u=s%n;while(s-u+(n-1)<0);return Fs(u)}i(MK,"Jwb");function egn(e,n,s){switch(s.g){case 1:e.a=n.a/2,e.b=0;break;case 2:e.a=n.a,e.b=n.b/2;break;case 3:e.a=n.a/2,e.b=n.b;break;case 4:e.a=0,e.b=n.b/2}}i(egn,"d2b");function s$(e,n,s,u){var d,g;for(d=n;d1&&(g=Xpn(e,n)),g}i(tgn,"AIb");function TOt(e){var n;return n=Qe(rt(Ct(e,(_i(),pj))))*p.Math.sqrt((!e.a&&(e.a=new xt(Hi,e,10,11)),e.a).i),new St(n,n/Qe(rt(Ct(e,_Z))))}i(TOt,"yqd");function she(e){var n;return e.f&&e.f.Vh()&&(n=y(e.f,54),e.f=y(ov(e,n),84),e.f!=n&&(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,9,8,n,e.f))),e.f}i(she,"Dzd");function ohe(e){var n;return e.i&&e.i.Vh()&&(n=y(e.i,54),e.i=y(ov(e,n),84),e.i!=n&&(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,9,7,n,e.i))),e.i}i(ohe,"Ezd");function tl(e){var n;return e.b&&(e.b.Db&64)!=0&&(n=e.b,e.b=y(ov(e,n),19),e.b!=n&&(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,9,21,n,e.b))),e.b}i(tl,"Z5d");function IK(e,n){var s,u,d;e.d==null?(++e.e,++e.f):(u=n.Bi(),k2n(e,e.f+1),d=(u&Yi)%e.d.length,s=e.d[d],!s&&(s=e.d[d]=e.dk()),s.Fc(n),++e.f)}i(IK,"UNd");function QLe(e,n,s){var u;return n.tk()?!1:n.Ik()!=-2?(u=n.ik(),u==null?s==null:Ji(u,s)):n.qk()==e.e.Dh()&&s==null}i(QLe,"Mge");function NK(){var e;_f(16,Izt),e=s9t(16),this.b=ot(Tge,j$,303,e,0,1),this.c=ot(Tge,j$,303,e,0,1),this.a=null,this.e=null,this.i=0,this.f=e-1,this.g=0}i(NK,"Io");function $1(e){nAe.call(this),this.k=(sn(),ls),this.j=(_f(6,c3),new pu(6)),this.b=(_f(2,c3),new pu(2)),this.d=new Gse,this.f=new FSe,this.a=e}i($1,"j3b");function rgn(e){var n,s;e.c.length<=1||(n=S$t(e,(Bt(),Gn)),dBt(e,y(n.a,17).a,y(n.b,17).a),s=S$t(e,on),dBt(e,y(s.a,17).a,y(s.b,17).a))}i(rgn,"wgc");function ngn(e,n,s){var u,d;for(d=e.a.b,u=d.c.length;u102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}i(J2,"Xqe");function fhe(e,n){if(e==null)throw me(new e5("null key in entry: null="+n));if(n==null)throw me(new e5("null value in entry: "+e+"=null"))}i(fhe,"ck");function sgn(e,n){for(var s,u;e.Ob();)if(!n.Ob()||(s=e.Pb(),u=n.Pb(),!(Ze(s)===Ze(u)||s!=null&&Ji(s,u))))return!1;return!n.Ob()}i(sgn,"Cr");function EOt(e,n){var s;return s=Te(we(co,1),yl,28,15,[_ue(e.a[0],n),_ue(e.a[1],n),_ue(e.a[2],n)]),e.d&&(s[0]=p.Math.max(s[0],s[2]),s[2]=s[0]),s}i(EOt,"aLb");function SOt(e,n){var s;return s=Te(we(co,1),yl,28,15,[lK(e.a[0],n),lK(e.a[1],n),lK(e.a[2],n)]),e.d&&(s[0]=p.Math.max(s[0],s[2]),s[2]=s[0]),s}i(SOt,"bLb");function ZLe(e,n,s){p5(y(oe(n,(Ht(),ns)),101))||(d7e(e,n,Vy(n,s)),d7e(e,n,Vy(n,(Bt(),Gn))),d7e(e,n,Vy(n,en)),Dr(),gs(n.j,new MTt(e)))}i(ZLe,"vIc");function AOt(e){var n,s;for(e.c||E3n(e),s=new sh,n=new ge(e.a),pe(n);n.a0&&(Zr(0,n.length),n.charCodeAt(0)==43)?(Zr(1,n.length+1),n.substr(1)):n))}i(vgn,"pne");function wgn(e){var n;return e==null?null:new Yb((n=Qc(e,!0),n.length>0&&(Zr(0,n.length),n.charCodeAt(0)==43)?(Zr(1,n.length+1),n.substr(1)):n))}i(wgn,"qne");function tDe(e,n,s,u,d,g,x,k){var A,D;u&&(A=u.a[0],A&&tDe(e,n,s,A,d,g,x,k),xhe(e,s,u.d,d,g,x,k)&&n.Fc(u),D=u.a[1],D&&tDe(e,n,s,D,d,g,x,k))}i(tDe,"Syb");function yC(e,n,s){try{return yx(rue(e,n,s),1)}catch(u){throw u=$a(u),$e(u,333)?me(new kl(kde+e.o+"*"+e.p+Cde+n+Ho+s+Ede)):me(u)}}i(yC,"PPb");function MOt(e,n,s){try{return yx(rue(e,n,s),0)}catch(u){throw u=$a(u),$e(u,333)?me(new kl(kde+e.o+"*"+e.p+Cde+n+Ho+s+Ede)):me(u)}}i(MOt,"QPb");function IOt(e,n,s){try{return yx(rue(e,n,s),2)}catch(u){throw u=$a(u),$e(u,333)?me(new kl(kde+e.o+"*"+e.p+Cde+n+Ho+s+Ede)):me(u)}}i(IOt,"RPb");function NOt(e,n){if(e.g==-1)throw me(new ah);e.Xj();try{e.d.hd(e.g,n),e.f=e.d.j}catch(s){throw s=$a(s),$e(s,77)?me(new rd):me(s)}}i(NOt,"lMd");function xgn(e){var n,s,u,d,g;for(u=new ge(e.b);u.ag&&Ka(n,g,null),n}i(JM,"Ee");function Tgn(e,n){var s,u;if(u=e.gc(),n==null){for(s=0;s0&&(A+=d),D[N]=x,x+=k*(A+u)}i(mhe,"Ypc");function POt(e){var n,s,u;for(u=e.f,e.n=ot(co,yl,28,u,15,1),e.d=ot(co,yl,28,u,15,1),n=0;n0?e.c:0),++d;e.b=u,e.d=g}i(PK,"gad");function jOt(e,n){var s;return s=Te(we(co,1),yl,28,15,[XLe(e,(pg(),yc),n),XLe(e,bu,n),XLe(e,bc,n)]),e.f&&(s[0]=p.Math.max(s[0],s[2]),s[2]=s[0]),s}i(jOt,"rKb");function Dgn(e,n,s){var u;try{cX(e,n+e.j,s+e.k,!1,!0)}catch(d){throw d=$a(d),$e(d,77)?(u=d,me(new kl(u.g+DX+n+Ho+s+")."))):me(d)}}i(Dgn,"cQb");function _gn(e,n,s){var u;try{cX(e,n+e.j,s+e.k,!0,!1)}catch(d){throw d=$a(d),$e(d,77)?(u=d,me(new kl(u.g+DX+n+Ho+s+")."))):me(d)}}i(_gn,"dQb");function zOt(e){var n;Ea(e,(Ht(),TT))&&(n=y(oe(e,TT),21),n.Hc((r3(),Hp))?(n.Mc(Hp),n.Fc(qp)):n.Hc(qp)&&(n.Mc(qp),n.Fc(Hp)))}i(zOt,"u8b");function UOt(e){var n;Ea(e,(Ht(),TT))&&(n=y(oe(e,TT),21),n.Hc((r3(),Yp))?(n.Mc(Yp),n.Fc(rp)):n.Hc(rp)&&(n.Mc(rp),n.Fc(Yp)))}i(UOt,"v8b");function bhe(e,n,s,u){var d,g,x,k;return e.a==null&&I1n(e,n),x=n.b.j.c.length,g=s.d.p,k=u.d.p,d=k-1,d<0&&(d=x-1),g<=d?e.a[d]-e.a[g]:e.a[x-1]-e.a[g]+e.a[d]}i(bhe,"oqc");function Mgn(e){var n,s;if(!e.b)for(e.b=fY(y(e.f,27).kh().i),s=new gn(y(e.f,27).kh());s.e!=s.i.gc();)n=y(xn(s),135),It(e.b,new Kse(n));return e.b}i(Mgn,"Cud");function Ign(e){var n,s;if(!e.e)for(e.e=fY(Xle(y(e.f,27)).i),s=new gn(Xle(y(e.f,27)));s.e!=s.i.gc();)n=y(xn(s),123),It(e.e,new Pkt(n));return e.e}i(Ign,"Dud");function VOt(e){var n,s;if(!e.a)for(e.a=fY(eY(y(e.f,27)).i),s=new gn(eY(y(e.f,27)));s.e!=s.i.gc();)n=y(xn(s),27),It(e.a,new nle(e,n));return e.a}i(VOt,"yud");function Xx(e){var n;if(!e.C&&(e.D!=null||e.B!=null))if(n=w4n(e),n)e.hl(n);else try{e.hl(null)}catch(s){if(s=$a(s),!$e(s,63))throw me(s)}return e.C}i(Xx,"DXd");function Ngn(e){switch(e.q.g){case 5:pPt(e,(Bt(),en)),pPt(e,Gn);break;case 4:mjt(e,(Bt(),en)),mjt(e,Gn);break;default:vBt(e,(Bt(),en)),vBt(e,Gn)}}i(Ngn,"xMb");function Ogn(e){switch(e.q.g){case 5:gPt(e,(Bt(),pn)),gPt(e,on);break;case 4:yjt(e,(Bt(),pn)),yjt(e,on);break;default:wBt(e,(Bt(),pn)),wBt(e,on)}}i(Ogn,"GNb");function bC(e,n){var s,u,d;for(d=new mo,u=e.Kc();u.Ob();)s=y(u.Pb(),36),F7(s,d.a,0),d.a+=s.f.a+n,d.b=p.Math.max(d.b,s.f.b);return d.b>0&&(d.b+=n),d}i(bC,"G$b");function BK(e,n){var s,u,d;for(d=new mo,u=e.Kc();u.Ob();)s=y(u.Pb(),36),F7(s,0,d.b),d.b+=s.f.b+n,d.a=p.Math.max(d.a,s.f.a);return d.a>0&&(d.a+=n),d}i(BK,"I$b");function HOt(e){var n,s,u;for(u=Yi,s=new ge(e.a);s.a>16==6?e.Cb.Th(e,5,Tg,n):(u=tl(y(Nr((s=y(Xr(e,16),29),s||e.ii()),e.Db>>16),19)),e.Cb.Th(e,u.n,u.f,n))}i(vhe,"AXd");function Pgn(e){j8();var n=e.e;if(n&&n.stack){var s=n.stack,u=n+` +`;return s.substring(0,u.length)==u&&(s=s.substring(u.length)),s.split(` +`)}return[]}i(Pgn,"kA");function Bgn(e){var n;return n=(KMt(),pWt),n[e>>>28]|n[e>>24&15]<<4|n[e>>20&15]<<8|n[e>>16&15]<<12|n[e>>12&15]<<16|n[e>>8&15]<<20|n[e>>4&15]<<24|n[e&15]<<28}i(Bgn,"pgb");function YOt(e){var n,s,u;e.b==e.c&&(u=e.a.length,s=ORe(p.Math.max(8,u))<<1,e.b!=0?(n=Dp(e.a,s),u9t(e,n,u),e.a=n,e.b=0):wk(e.a,s),e.c=u)}i(YOt,"mmb");function Fgn(e,n){var s;return s=e.b,s.pf((_i(),ef))?s.ag()==(Bt(),on)?-s.Mf().a-Qe(rt(s.of(ef))):n+Qe(rt(s.of(ef))):s.ag()==(Bt(),on)?-s.Mf().a:n}i(Fgn,"uNb");function l$(e){var n;return e.b.c.length!=0&&y(Xt(e.b,0),72).a?y(Xt(e.b,0),72).a:(n=Qle(e),n??""+(e.c?Pl(e.c.a,e,0):-1))}i(l$,"X2b");function FK(e){var n;return e.f.c.length!=0&&y(Xt(e.f,0),72).a?y(Xt(e.f,0),72).a:(n=Qle(e),n??""+(e.i?Pl(e.i.j,e,0):-1))}i(FK,"M3b");function $gn(e,n){var s,u;if(n<0||n>=e.gc())return null;for(s=n;s0?e.c:0),d=p.Math.max(d,n.d),++u;e.e=g,e.b=d}i(iDe,"Ead");function jgn(e){var n,s;if(!e.b)for(e.b=fY(y(e.f,123).kh().i),s=new gn(y(e.f,123).kh());s.e!=s.i.gc();)n=y(xn(s),135),It(e.b,new Kse(n));return e.b}i(jgn,"Qud");function zgn(e,n){var s,u,d;if(n.dc())return R8(),R8(),Lj;for(s=new _6t(e,n.gc()),d=new gn(e);d.e!=d.i.gc();)u=xn(d),n.Hc(u)&&Jn(s,u);return s}i(zgn,"aHd");function aDe(e,n,s,u){return n==0?u?(!e.o&&(e.o=new hh((_c(),t1),sb,e,0)),e.o):(!e.o&&(e.o=new hh((_c(),t1),sb,e,0)),kF(e.o)):LK(e,n,s,u)}i(aDe,"Axd");function whe(e){var n,s;if(e.rb)for(n=0,s=e.rb.i;n>22),d+=u>>22,d<0)?!1:(e.l=s&Qh,e.m=u&Qh,e.h=d&U1,!0)}i(Hgn,"rD");function xhe(e,n,s,u,d,g,x){var k,A;return!(n.Te()&&(A=e.a.Ne(s,u),A<0||!d&&A==0)||n.Ue()&&(k=e.a.Ne(s,g),k>0||!x&&k==0))}i(xhe,"Tyb");function qgn(e,n){g7();var s;if(s=e.j.g-n.j.g,s!=0)return 0;switch(e.j.g){case 2:return jue(n,oFe)-jue(e,oFe);case 4:return jue(e,sFe)-jue(n,sFe)}return 0}i(qgn,"Agc");function Wgn(e){switch(e.g){case 0:return I0e;case 1:return N0e;case 2:return O0e;case 3:return P0e;case 4:return kJ;case 5:return B0e;default:return null}}i(Wgn,"uuc");function Rl(e,n,s){var u,d;return u=(d=new Use,X2(d,n),gu(d,s),Jn((!e.c&&(e.c=new xt(_T,e,12,10)),e.c),d),d),Oy(u,0),Vk(u,1),Gy(u,!0),$y(u,!0),u}i(Rl,"cBd");function j5(e,n){var s,u;if(n>=e.i)throw me(new Voe(n,e.i));return++e.j,s=e.g[n],u=e.i-n-1,u>0&&jc(e.g,n+1,e.g,n,u),Ka(e.g,--e.i,null),e.Qi(n,s),e.Ni(),s}i(j5,"THd");function KOt(e,n){var s,u;return e.Db>>16==17?e.Cb.Th(e,21,ip,n):(u=tl(y(Nr((s=y(Xr(e,16),29),s||e.ii()),e.Db>>16),19)),e.Cb.Th(e,u.n,u.f,n))}i(KOt,"sWd");function Ygn(e){var n,s,u,d;for(Dr(),gs(e.c,e.a),d=new ge(e.c);d.as.a.c.length))throw me(new Jr("index must be >= 0 and <= layer node count"));e.c&&Wu(e.c.a,e),e.c=s,s&&Cx(s.a,n,e)}i(Qk,"f3b");function ePt(e,n){var s,u,d;for(u=new bn(wn(B1(e).a.Kc(),new I));qn(u);)return s=y(Mn(u),18),d=y(n.Kb(s),10),new ZH(li(d.n.b+d.o.b/2));return C_(),C_(),bge}i(ePt,"Gac");function tPt(e,n){this.c=new zn,this.a=e,this.b=n,this.d=y(oe(e,(At(),eE)),312),Ze(oe(e,(Ht(),H$e)))===Ze((AF(),CJ))?this.e=new X3t:this.e=new K3t}i(tPt,"RQc");function ZM(e,n){var s,u;return u=null,e.pf((_i(),S6))&&(s=y(e.of(S6),96),s.pf(n)&&(u=s.of(n))),u==null&&e.Tf()&&(u=e.Tf().of(n)),u==null&&(u=zt(n)),u}i(ZM,"ftd");function The(e,n){var s,u;s=e.fd(n);try{return u=s.Pb(),s.Qb(),u}catch(d){throw d=$a(d),$e(d,112)?me(new kl("Can't remove element "+n)):me(d)}}i(The,"ku");function r0n(e,n){var s,u,d;if(u=new kq,d=new FRe(u.q.getFullYear()-mv,u.q.getMonth(),u.q.getDate()),s=dkn(e,n,d),s==0||s0?n:0),++s;return new St(u,d)}i(nPt,"zad");function uDe(e,n){var s,u;return e.Db>>16==6?e.Cb.Th(e,6,us,n):(u=tl(y(Nr((s=y(Xr(e,16),29),s||(_c(),jZ)),e.Db>>16),19)),e.Cb.Th(e,u.n,u.f,n))}i(uDe,"Czd");function hDe(e,n){var s,u;return e.Db>>16==7?e.Cb.Th(e,1,Cj,n):(u=tl(y(Nr((s=y(Xr(e,16),29),s||(_c(),fVe)),e.Db>>16),19)),e.Cb.Th(e,u.n,u.f,n))}i(hDe,"cCd");function fDe(e,n){var s,u;return e.Db>>16==9?e.Cb.Th(e,9,Hi,n):(u=tl(y(Nr((s=y(Xr(e,16),29),s||(_c(),pVe)),e.Db>>16),19)),e.Cb.Th(e,u.n,u.f,n))}i(fDe,"LCd");function iPt(e,n){var s,u;return e.Db>>16==5?e.Cb.Th(e,9,XZ,n):(u=tl(y(Nr((s=y(Xr(e,16),29),s||(Lr(),lb)),e.Db>>16),19)),e.Cb.Th(e,u.n,u.f,n))}i(iPt,"M1d");function aPt(e,n){var s,u;return e.Db>>16==7?e.Cb.Th(e,6,Tg,n):(u=tl(y(Nr((s=y(Xr(e,16),29),s||(Lr(),ub)),e.Db>>16),19)),e.Cb.Th(e,u.n,u.f,n))}i(aPt,"qBd");function dDe(e,n){var s,u;return e.Db>>16==3?e.Cb.Th(e,0,Sj,n):(u=tl(y(Nr((s=y(Xr(e,16),29),s||(Lr(),ob)),e.Db>>16),19)),e.Cb.Th(e,u.n,u.f,n))}i(dDe,"iVd");function sPt(){this.a=new ubt,this.g=new NK,this.j=new NK,this.b=new zn,this.d=new NK,this.i=new NK,this.k=new zn,this.c=new zn,this.e=new zn,this.f=new zn}i(sPt,"IEd");function a0n(e,n,s){var u,d,g;for(s<0&&(s=0),g=e.i,d=s;dode)return R7(e,u);if(u==e)return!0}}return!1}i(R7,"Oje");function o0n(e){switch(dW(),e.q.g){case 5:zBt(e,(Bt(),en)),zBt(e,Gn);break;case 4:UFt(e,(Bt(),en)),UFt(e,Gn);break;default:qjt(e,(Bt(),en)),qjt(e,Gn)}}i(o0n,"yNb");function l0n(e){switch(dW(),e.q.g){case 5:oFt(e,(Bt(),pn)),oFt(e,on);break;case 4:fOt(e,(Bt(),pn)),fOt(e,on);break;default:Wjt(e,(Bt(),pn)),Wjt(e,on)}}i(l0n,"CNb");function c0n(e){var n,s;n=y(oe(e,(Fp(),ZYt)),17),n?(s=n.a,s==0?Tt(e,(nv(),KQ),new Hue):Tt(e,(nv(),KQ),new mY(s))):Tt(e,(nv(),KQ),new mY(1))}i(c0n,"RTb");function u0n(e,n){var s;switch(s=e.i,n.g){case 1:return-(e.n.b+e.o.b);case 2:return e.n.a-s.o.a;case 3:return e.n.b-s.o.b;case 4:return-(e.n.a+e.o.a)}return 0}i(u0n,"b2b");function h0n(e,n){switch(e.g){case 0:return n==(md(),Av)?gJ:mJ;case 1:return n==(md(),Av)?gJ:MG;case 2:return n==(md(),Av)?MG:mJ;default:return MG}}i(h0n,"wec");function u$(e,n){var s,u,d;for(Wu(e.a,n),e.e-=n.r+(e.a.c.length==0?0:e.c),d=TNe,u=new ge(e.a);u.a>16==3?e.Cb.Th(e,12,Hi,n):(u=tl(y(Nr((s=y(Xr(e,16),29),s||(_c(),hVe)),e.Db>>16),19)),e.Cb.Th(e,u.n,u.f,n))}i(pDe,"jzd");function gDe(e,n){var s,u;return e.Db>>16==11?e.Cb.Th(e,10,Hi,n):(u=tl(y(Nr((s=y(Xr(e,16),29),s||(_c(),dVe)),e.Db>>16),19)),e.Cb.Th(e,u.n,u.f,n))}i(gDe,"sCd");function oPt(e,n){var s,u;return e.Db>>16==10?e.Cb.Th(e,11,ip,n):(u=tl(y(Nr((s=y(Xr(e,16),29),s||(Lr(),cb)),e.Db>>16),19)),e.Cb.Th(e,u.n,u.f,n))}i(oPt,"n4d");function lPt(e,n){var s,u;return e.Db>>16==10?e.Cb.Th(e,12,ap,n):(u=tl(y(Nr((s=y(Xr(e,16),29),s||(Lr(),Y3)),e.Db>>16),19)),e.Cb.Th(e,u.n,u.f,n))}i(lPt,"Q5d");function Wd(e){var n;return(e.Bb&1)==0&&e.r&&e.r.Vh()&&(n=y(e.r,54),e.r=y(ov(e,n),142),e.r!=n&&(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,9,8,n,e.r))),e.r}i(Wd,"WVd");function khe(e,n,s){var u;return u=Te(we(co,1),yl,28,15,[jDe(e,(pg(),yc),n,s),jDe(e,bu,n,s),jDe(e,bc,n,s)]),e.f&&(u[0]=p.Math.max(u[0],u[2]),u[2]=u[0]),u}i(khe,"pKb");function f0n(e,n){var s,u,d;if(d=Ppn(e,n),d.c.length!=0)for(gs(d,new Cpt),s=d.c.length,u=0;u>19,D=n.h>>19,A!=D?D-A:(d=e.h,k=n.h,d!=k?d-k:(u=e.m,x=n.m,u!=x?u-x:(s=e.l,g=n.l,s-g)))}i(mDe,"uD");function $K(){$K=z,MPe=(oX(),jge),_Pe=new xr(g9e,MPe),DPe=(MY(),Gge),LPe=new xr(m9e,DPe),RPe=(EK(),$ge),APe=new xr(y9e,RPe),SPe=new xr(b9e,(Hr(),!0))}i($K,"YHb");function e9(e,n,s){var u,d;u=n*s,$e(e.g,154)?(d=A5(e),d.f.d?d.f.a||(e.d.a+=u+Qg):(e.d.d-=u+Qg,e.d.a+=u+Qg)):$e(e.g,10)&&(e.d.d-=u,e.d.a+=2*u)}i(e9,"Iic");function cPt(e,n,s){var u,d,g,x,k;for(d=e[s.g],k=new ge(n.d);k.a0?e.b:0),++s;n.b=u,n.e=d}i(b0n,"k9c");function uPt(e){var n,s,u;if(u=e.b,tEt(e.i,u.length)){for(s=u.length*2,e.b=ot(Tge,j$,303,s,0,1),e.c=ot(Tge,j$,303,s,0,1),e.f=s-1,e.i=0,n=e.a;n;n=n.c)v$(e,n,n);++e.g}}i(uPt,"Fo");function v0n(e,n,s,u){var d,g,x,k;for(d=0;dx&&(k=x/u),d>g&&(A=g/d),N0(e,p.Math.min(k,A)),e}i(L7,"wid");function x0n(){dX();var e,n;try{if(n=y(SDe((Hb(),sp),fR),2113),n)return n}catch(s){if(s=$a(s),$e(s,103))e=s,g8e((hi(),e));else throw me(s)}return new sbt}i(x0n,"OAd");function T0n(){dX();var e,n;try{if(n=y(SDe((Hb(),sp),Qd),2040),n)return n}catch(s){if(s=$a(s),$e(s,103))e=s,g8e((hi(),e));else throw me(s)}return new Ibt}i(T0n,"Qae");function k0n(){w_t();var e,n;try{if(n=y(SDe((Hb(),sp),fw),2122),n)return n}catch(s){if(s=$a(s),$e(s,103))e=s,g8e((hi(),e));else throw me(s)}return new Svt}i(k0n,"vne");function C0n(e,n,s){var u,d;return d=e.e,e.e=n,(e.Db&4)!=0&&(e.Db&1)==0&&(u=new to(e,1,4,d,n),s?s.nj(u):s=u),d!=n&&(n?s=V7(e,JK(e,n),s):s=V7(e,e.a,s)),s}i(C0n,"f2d");function hPt(){kq.call(this),this.e=-1,this.a=!1,this.p=No,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=No}i(hPt,"DB");function E0n(e,n){var s,u,d;if(u=e.b.d.d,e.a||(u+=e.b.d.a),d=n.b.d.d,n.a||(d+=n.b.d.a),s=ga(u,d),s==0){if(!e.a&&n.a)return-1;if(!n.a&&e.a)return 1}return s}i(E0n,"hHb");function S0n(e,n){var s,u,d;if(u=e.b.b.d,e.a||(u+=e.b.b.a),d=n.b.b.d,n.a||(d+=n.b.b.a),s=ga(u,d),s==0){if(!e.a&&n.a)return-1;if(!n.a&&e.a)return 1}return s}i(S0n,"XQb");function A0n(e,n){var s,u,d;if(u=e.b.g.d,e.a||(u+=e.b.g.a),d=n.b.g.d,n.a||(d+=n.b.g.a),s=ga(u,d),s==0){if(!e.a&&n.a)return-1;if(!n.a&&e.a)return 1}return s}i(A0n,"RYb");function yDe(){yDe=z,yKt=uh(Si(Si(Si(new ws,(Io(),eu),(jo(),qBe)),eu,WBe),$l,YBe),$l,OBe),vKt=Si(Si(new ws,eu,RBe),eu,PBe),bKt=uh(new ws,$l,FBe)}i(yDe,"_Wb");function R0n(e){var n,s,u,d,g;for(n=y(oe(e,(At(),fI)),85),g=e.n,u=n.Cc().Kc();u.Ob();)s=y(u.Pb(),314),d=s.i,d.c+=g.a,d.d+=g.b,s.c?D$t(s):_$t(s);Tt(e,fI,null)}i(R0n,"J6b");function L0n(e,n,s){var u,d;switch(d=e.b,u=d.d,n.g){case 1:return-u.d-s;case 2:return d.o.a+u.c+s;case 3:return d.o.b+u.a+s;case 4:return-u.b-s;default:return-1}}i(L0n,"Wpc");function D0n(e,n,s){var u,d;for(s.Ug("Interactive node placement",1),e.a=y(oe(n,(At(),eE)),312),d=new ge(n.b);d.a0&&(x=(g&Yi)%e.d.length,d=w_e(e,x,g,n),d)?(k=d.nd(s),k):(u=e.ck(g,n,s),e.c.Fc(u),null)}i(h$,"fOd");function wDe(e,n){var s,u,d,g;switch(Fy(e,n).Kl()){case 3:case 2:{for(s=AC(n),d=0,g=s.i;d=0;u--)if(kr(e[u].d,n)||kr(e[u].d,s)){e.length>=u+1&&e.splice(0,u+1);break}return e}i(U0n,"hA");function f$(e,n){var s;return Ul(e)&&Ul(n)&&(s=e/n,V$0&&(e.b+=2,e.a+=u):(e.b+=1,e.a+=p.Math.min(u,d))}i(Ehe,"uTc");function bPt(e){var n;n=y(oe(y(yd(e.b,0),40),(pc(),dje)),107),Tt(e,(xa(),zR),new St(0,0)),cGt(new xF,e,n.b+n.c-Qe(rt(oe(e,Fme))),n.d+n.a-Qe(rt(oe(e,$me))))}i(bPt,"CVc");function vPt(e,n){var s,u;if(u=!1,oo(n)&&(u=!0,x5(e,new Nk(pi(n)))),u||$e(n,242)&&(u=!0,x5(e,(s=pAe(y(n,242)),new eq(s)))),!u)throw me(new Qse(bOe))}i(vPt,"pDd");function W0n(e,n,s,u){var d,g,x;return d=new _1(e.e,1,10,(x=n.c,$e(x,90)?y(x,29):(Lr(),op)),(g=s.c,$e(g,90)?y(g,29):(Lr(),op)),Uy(e,n),!1),u?u.nj(d):u=d,u}i(W0n,"g$d");function kDe(e){var n,s;switch(y(oe(Eo(e),(Ht(),F$e)),429).g){case 0:return n=e.n,s=e.o,new St(n.a+s.a/2,n.b+s.b/2);case 1:return new Uo(e.n);default:return null}}i(kDe,"_2b");function d$(){d$=z,EJ=new z_(K0,0),kFe=new z_("LEFTUP",1),EFe=new z_("RIGHTUP",2),TFe=new z_("LEFTDOWN",3),CFe=new z_("RIGHTDOWN",4),F0e=new z_("BALANCED",5)}i(d$,"Ouc");function Y0n(e,n,s){var u,d,g;if(u=ga(e.a[n.p],e.a[s.p]),u==0){if(d=y(oe(n,(At(),y6)),15),g=y(oe(s,y6),15),d.Hc(s))return-1;if(g.Hc(n))return 1}return u}i(Y0n,"dKc");function K0n(e){switch(e.g){case 1:return new G1t;case 2:return new j1t;case 3:return new $1t;case 0:return null;default:throw me(new Jr(kpe+(e.f!=null?e.f:""+e.g)))}}i(K0n,"k5c");function CDe(e,n,s){switch(n){case 1:!e.n&&(e.n=new xt(bl,e,1,7)),Kn(e.n),!e.n&&(e.n=new xt(bl,e,1,7)),ts(e.n,y(s,16));return;case 2:n7(e,pi(s));return}VRe(e,n,s)}i(CDe,"gyd");function EDe(e,n,s){switch(n){case 3:$x(e,Qe(rt(s)));return;case 4:Gx(e,Qe(rt(s)));return;case 5:Du(e,Qe(rt(s)));return;case 6:_u(e,Qe(rt(s)));return}CDe(e,n,s)}i(EDe,"xyd");function GK(e,n,s){var u,d,g;g=(u=new Use,u),d=Yg(g,n,null),d&&d.oj(),gu(g,s),Jn((!e.c&&(e.c=new xt(_T,e,12,10)),e.c),g),Oy(g,0),Vk(g,1),Gy(g,!0),$y(g,!0)}i(GK,"dBd");function SDe(e,n){var s,u,d;return s=B_(e.i,n),$e(s,241)?(d=y(s,241),d.zi()==null,d.wi()):$e(s,507)?(u=y(s,2037),d=u.b,d):null}i(SDe,"M5d");function X0n(e,n,s,u){var d,g;return li(n),li(s),g=y(sM(e.d,n),17),q_t(!!g,"Row %s not in %s",n,e.e),d=y(sM(e.b,s),17),q_t(!!d,"Column %s not in %s",s,e.c),nIt(e,g.a,d.a,u)}i(X0n,"aj");function wPt(e,n,s,u,d,g,x){var k,A,D,N,B;if(N=d[g],D=g==x-1,k=D?u:0,B=$Ot(k,N),u!=10&&Te(we(e,x-g),n[g],s[g],k,B),!D)for(++g,A=0;A1||k==-1?(g=y(A,15),d.Wb(Idn(e,g))):d.Wb(lfe(e,y(A,58)))))}i(rmn,"Vje");function nmn(e,n,s,u){DCt();var d=yge;m=n,b=s,wEn=u;function g(){for(var x=0;x0)return!1;return!0}i(amn,"b6b");function smn(e){var n,s,u,d,g;for(u=new q2(new R2(e.b).a);u.b;)s=Ux(u),n=y(s.ld(),10),g=y(y(s.md(),42).a,10),d=y(y(s.md(),42).b,8),Xi(lg(n.n),Xi(ko(g.n),d))}i(smn,"okc");function omn(e){switch(y(oe(e.b,(Ht(),_$e)),387).g){case 1:as(Nl(nc(new Tr(null,new Ar(e.d,16)),new m0t),new y0t),new b0t);break;case 2:rxn(e);break;case 0:Nyn(e)}}i(omn,"Roc");function lmn(e,n,s){var u,d,g;for(u=s,!u&&(u=new JS),u.Ug("Layout",e.a.c.length),g=new ge(e.a);g.avpe)return s;d>-1e-6&&++s}return s}i(hmn,"tUc");function RDe(e,n){var s;n!=e.b?(s=null,e.b&&(s=iY(e.b,e,-4,s)),n&&(s=G5(n,e,-4,s)),s=XIt(e,n,s),s&&s.oj()):(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,3,n,n))}i(RDe,"n2d");function kPt(e,n){var s;n!=e.f?(s=null,e.f&&(s=iY(e.f,e,-1,s)),n&&(s=G5(n,e,-1,s)),s=KIt(e,n,s),s&&s.oj()):(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,0,n,n))}i(kPt,"q2d");function fmn(e,n,s,u){var d,g,x,k;return uf(e.e)&&(d=n.Lk(),k=n.md(),g=s.md(),x=ev(e,1,d,k,g,d.Jk()?j7(e,d,g,$e(d,102)&&(y(d,19).Bb&Xo)!=0):-1,!0),u?u.nj(x):u=x),u}i(fmn,"Lge");function CPt(e){var n,s,u;if(e==null)return null;if(s=y(e,15),s.dc())return"";for(u=new Ty,n=s.Kc();n.Ob();)pl(u,(ha(),pi(n.Pb()))),u.a+=" ";return qoe(u,u.a.length-1)}i(CPt,"bne");function EPt(e){var n,s,u;if(e==null)return null;if(s=y(e,15),s.dc())return"";for(u=new Ty,n=s.Kc();n.Ob();)pl(u,(ha(),pi(n.Pb()))),u.a+=" ";return qoe(u,u.a.length-1)}i(EPt,"fne");function dmn(e,n,s){var u,d;return u=e.c[n.c.p][n.p],d=e.c[s.c.p][s.p],u.a!=null&&d.a!=null?Nle(u.a,d.a):u.a!=null?-1:d.a!=null?1:0}i(dmn,"QIc");function pmn(e,n,s){return s.Ug("Tree layout",1),oF(e.b),cg(e.b,(z5(),sZ),sZ),cg(e.b,LI,LI),cg(e.b,DI,DI),cg(e.b,_I,_I),e.a=I$(e.b,n),lmn(e,n,s.eh(1)),s.Vg(),n}i(pmn,"RVc");function gmn(e,n){var s,u,d,g,x,k;if(n)for(g=n.a.length,s=new O2(g),k=(s.b-s.a)*s.c<0?(qb(),zv):new Kb(s);k.Ob();)x=y(k.Pb(),17),d=U8(n,x.a),u=new qkt(e),kin(u.a,d)}i(gmn,"ZDd");function mmn(e,n){var s,u,d,g,x,k;if(n)for(g=n.a.length,s=new O2(g),k=(s.b-s.a)*s.c<0?(qb(),zv):new Kb(s);k.Ob();)x=y(k.Pb(),17),d=U8(n,x.a),u=new Bkt(e),Tin(u.a,d)}i(mmn,"oEd");function ymn(e){var n;if(e!=null&&e.length>0&&Mo(e,e.length-1)==33)try{return n=IFt(od(e,0,e.length-1)),n.e==null}catch(s){if(s=$a(s),!$e(s,33))throw me(s)}return!1}i(ymn,"ESd");function bmn(e,n,s){var u,d,g;switch(u=Eo(n),d=dK(u),g=new Gc,rc(g,n),s.g){case 1:$s(g,t$(B5(d)));break;case 2:$s(g,B5(d))}return Tt(g,(Ht(),_3),rt(oe(e,_3))),g}i(bmn,"u0b");function LDe(e){var n,s;return n=y(Mn(new bn(wn(Ks(e.a).a.Kc(),new I))),18),s=y(Mn(new bn(wn(fs(e.a).a.Kc(),new I))),18),Kt(Yt(oe(n,(At(),r0))))||Kt(Yt(oe(s,r0)))}i(LDe,"jdc");function Jk(){Jk=z,IG=new AB("ONE_SIDE",0),vJ=new AB("TWO_SIDES_CORNER",1),wJ=new AB("TWO_SIDES_OPPOSING",2),bJ=new AB("THREE_SIDES",3),yJ=new AB("FOUR_SIDES",4)}i(Jk,"Bnc");function SPt(e,n){var s,u,d,g;for(g=new Mt,d=0,u=n.Kc();u.Ob();){for(s=_t(y(u.Pb(),17).a+d);s.a=e.f)break;zr(g.c,s)}return g}i(SPt,"Usc");function vmn(e,n){var s,u,d,g,x;for(g=new ge(n.a);g.a0&&XOt(this,this.c-1,(Bt(),pn)),this.c0&&e[0].length>0&&(this.c=Kt(Yt(oe(Eo(e[0][0]),(At(),GFe))))),this.a=ot(xZt,Lt,2117,e.length,0,2),this.b=ot(TZt,Lt,2118,e.length,0,2),this.d=new VIt}i(ODe,"qJc");function Cmn(e){return e.c.length==0?!1:(_r(0,e.c.length),y(e.c[0],18)).c.i.k==(sn(),ro)?!0:lC(Nl(new Tr(null,new Ar(e,16)),new Q0t),new J0t)}i(Cmn,"TOc");function LPt(e,n){var s,u,d,g,x,k,A;for(k=n3(n),g=n.f,A=n.g,x=p.Math.sqrt(g*g+A*A),d=0,u=new ge(k);u.a=0?(s=f$(e,CX),u=n$(e,CX)):(n=Xb(e,1),s=f$(n,5e8),u=n$(n,5e8),u=$o(Mp(u,1),Vs(e,1))),ug(Mp(u,32),Vs(s,ol))}i(Omn,"yjb");function MPt(e,n,s){var u,d;switch(u=(Sn(n.b!=0),y(hd(n,n.a.a),8)),s.g){case 0:u.b=0;break;case 2:u.b=e.f;break;case 3:u.a=0;break;default:u.a=e.g}return d=Hn(n,0),sF(d,u),n}i(MPt,"fTb");function IPt(e,n,s,u){var d,g,x,k,A;switch(A=e.b,g=n.d,x=g.j,k=qLe(x,A.d[x.g],s),d=Xi(ko(g.n),g.a),g.j.g){case 1:case 3:k.a+=d.a;break;case 2:case 4:k.b+=d.b}Xa(u,k,u.c.b,u.c)}i(IPt,"Vpc");function Pmn(e,n,s){var u,d,g,x;for(x=Pl(e.e,n,0),g=new OSe,g.b=s,u=new vo(e.e,x);u.b1;n>>=1)(n&1)!=0&&(u=oC(u,s)),s.d==1?s=oC(s,s):s=new KNt(gGt(s.a,s.d,ot(ei,Ai,28,s.d<<1,15,1)));return u=oC(u,s),u}i(jmn,"Rjb");function FDe(){FDe=z;var e,n,s,u;for(bPe=ot(co,yl,28,25,15,1),vPe=ot(co,yl,28,33,15,1),u=152587890625e-16,n=32;n>=0;n--)vPe[n]=u,u*=.5;for(s=1,e=24;e>=0;e--)bPe[e]=s,s*=.5}i(FDe,"Hwb");function zmn(e){var n,s;if(Kt(Yt(Ct(e,(Ht(),D3))))){for(s=new bn(wn(G1(e).a.Kc(),new I));qn(s);)if(n=y(Mn(s),74),Qx(n)&&Kt(Yt(Ct(n,bw))))return!0}return!1}i(zmn,"a5b");function NPt(e,n){var s,u,d;As(e.f,n)&&(n.b=e,u=n.c,Pl(e.j,u,0)!=-1||It(e.j,u),d=n.d,Pl(e.j,d,0)!=-1||It(e.j,d),s=n.a.b,s.c.length!=0&&(!e.i&&(e.i=new tOt(e)),Wun(e.i,s)))}i(NPt,"Qmc");function Umn(e){var n,s,u,d,g;return s=e.c.d,u=s.j,d=e.d.d,g=d.j,u==g?s.p=0&&kr(e.substr(n,3),"GMT")||n>=0&&kr(e.substr(n,3),"UTC"))&&(s[0]=n+3),yMe(e,s,u)}i(Vmn,"SA");function Hmn(e,n){var s,u,d,g,x;for(g=e.g.a,x=e.g.b,u=new ge(e.d);u.as;g--)e[g]|=n[g-s-1]>>>x,e[g-1]=n[g-s-1]<0&&jc(e.g,n,e.g,n+u,k),x=s.Kc(),e.i+=u,d=0;d>4&15,g=e[u]&15,x[d++]=gVe[s],x[d++]=gVe[g];return qd(x,0,x.length)}i(t1n,"sAd");function Ku(e){var n,s;return e>=Xo?(n=H$+(e-Xo>>10&1023)&ks,s=56320+(e-Xo&1023)&ks,String.fromCharCode(n)+(""+String.fromCharCode(s))):String.fromCharCode(e&ks)}i(Ku,"Fhb");function r1n(e,n){Lk();var s,u,d,g;return d=y(y(ta(e.r,n),21),87),d.gc()>=2?(u=y(d.Kc().Pb(),117),s=e.u.Hc((_h(),ZI)),g=e.u.Hc(L6),!u.a&&!s&&(d.gc()==2||g)):!1}i(r1n,"UMb");function BPt(e,n,s,u,d){var g,x,k;for(g=T$t(e,n,s,u,d),k=!1;!g;)XK(e,d,!0),k=!0,g=T$t(e,n,s,u,d);k&&XK(e,d,!1),x=mue(d),x.c.length!=0&&(e.d&&e.d.Gg(x),BPt(e,d,s,u,x))}i(BPt,"v3c");function VK(){VK=z,W1e=new q_(K0,0),$Ue=new q_("DIRECTED",1),jUe=new q_("UNDIRECTED",2),BUe=new q_("ASSOCIATION",3),GUe=new q_("GENERALIZATION",4),FUe=new q_("DEPENDENCY",5)}i(VK,"ind");function n1n(e,n){var s;if(!Fg(e))throw me(new Cl(eHt));switch(s=Fg(e),n.g){case 1:return-(e.j+e.f);case 2:return e.i-s.g;case 3:return e.j-s.f;case 4:return-(e.i+e.g)}return 0}i(n1n,"nsd");function i1n(e,n,s){var u,d,g;return u=n.Lk(),g=n.md(),d=u.Jk()?ev(e,4,u,g,null,j7(e,u,g,$e(u,102)&&(y(u,19).Bb&Xo)!=0),!0):ev(e,u.tk()?2:1,u,g,u.ik(),-1,!0),s?s.nj(d):s=d,s}i(i1n,"Jge");function _7(e,n){var s,u;for(ln(n),u=e.b.c.length,It(e.b,n);u>0;){if(s=u,u=(u-1)/2|0,e.a.Ne(Xt(e.b,u),n)<=0)return cd(e.b,s,n),!0;cd(e.b,s,Xt(e.b,u))}return cd(e.b,u,n),!0}i(_7,"lwb");function jDe(e,n,s,u){var d,g;if(d=0,s)d=lK(e.a[s.g][n.g],u);else for(g=0;g=k)}i(a1n,"Qqc");function FPt(e){switch(e.g){case 0:return new tyt;case 1:return new ryt;default:throw me(new Jr("No implementation is available for the width approximator "+(e.f!=null?e.f:""+e.g)))}}i(FPt,"A8c");function zDe(e,n,s,u){var d;if(d=!1,oo(u)&&(d=!0,M8(n,s,pi(u))),d||Ek(u)&&(d=!0,zDe(e,n,s,u)),d||$e(u,242)&&(d=!0,F2(n,s,y(u,242))),!d)throw me(new Qse(bOe))}i(zDe,"rDd");function s1n(e,n){var s,u,d;if(s=n.qi(e.a),s&&(d=gg((!s.b&&(s.b=new ff((Lr(),Jo),wc,s)),s.b),Xd),d!=null)){for(u=1;u<(dh(),$Ve).length;++u)if(kr($Ve[u],d))return u}return 0}i(s1n,"uee");function o1n(e,n){var s,u,d;if(s=n.qi(e.a),s&&(d=gg((!s.b&&(s.b=new ff((Lr(),Jo),wc,s)),s.b),Xd),d!=null)){for(u=1;u<(dh(),GVe).length;++u)if(kr(GVe[u],d))return u}return 0}i(o1n,"vee");function $Pt(e,n){var s,u,d,g;if(ln(n),g=e.a.gc(),g0?1:0;g.a[d]!=s;)g=g.a[d],d=e.a.Ne(s.d,g.d)>0?1:0;g.a[d]=u,u.b=s.b,u.a[0]=s.a[0],u.a[1]=s.a[1],s.a[0]=null,s.a[1]=null}i(c1n,"$yb");function u1n(e){var n,s,u,d;for(n=new Mt,s=ot(tf,Hm,28,e.a.c.length,16,1),u8e(s,s.length),d=new ge(e.a);d.a0&&hGt((_r(0,s.c.length),y(s.c[0],30)),e),s.c.length>1&&hGt(y(Xt(s,s.c.length-1),30),e),n.Vg()}i(h1n,"P9b");function f1n(e){_h();var n,s;return n=Sa(X1,Te(we(NZ,1),kt,279,0,[Pv])),!($F(sY(n,e))>1||(s=Sa(ZI,Te(we(NZ,1),kt,279,0,[JI,L6])),$F(sY(s,e))>1))}i(f1n,"Sod");function VDe(e,n){var s;s=Yc((Hb(),sp),e),$e(s,507)?El(sp,e,new _St(this,n)):El(sp,e,this),Nhe(this,n),n==(y8(),AVe)?(this.wb=y(this,2038),y(n,2040)):this.wb=(Qb(),qr)}i(VDe,"FBd");function d1n(e){var n,s,u;if(e==null)return null;for(n=null,s=0;s=Wy?"error":u>=900?"warn":u>=800?"info":"log"),J8t(s,e.a),e.b&&q_e(n,s,e.b,"Exception: ",!0))}i(UPt,"qBb");function oe(e,n){var s,u;return u=(!e.q&&(e.q=new zn),mn(e.q,n)),u??(s=n.Sg(),$e(s,4)&&(s==null?(!e.q&&(e.q=new zn),L5(e.q,n)):(!e.q&&(e.q=new zn),ji(e.q,n,s))),s)}i(oe,"mQb");function Io(){Io=z,zp=new SB("P1_CYCLE_BREAKING",0),Ym=new SB("P2_LAYERING",1),zc=new SB("P3_NODE_ORDERING",2),eu=new SB("P4_NODE_PLACEMENT",3),$l=new SB("P5_EDGE_ROUTING",4)}i(Io,"sXb");function p1n(e,n){RM();var s;if(e.c==n.c){if(e.b==n.b||xun(e.b,n.b)){if(s=qQr(e.b)?1:-1,e.a&&!n.a)return s;if(!e.a&&n.a)return-s}return Lc(e.b.g,n.b.g)}else return ga(e.c,n.c)}i(p1n,"KZb");function VPt(e,n){var s,u,d;if(qDe(e,n))return!0;for(u=new ge(n);u.a=d||n<0)throw me(new kl(Qpe+n+uw+d));if(s>=d||s<0)throw me(new kl(Jpe+s+uw+d));return n!=s?u=(g=e.Cj(s),e.qj(n,g),g):u=e.xj(s),u}i(HDe,"bJd");function WPt(e){var n,s,u;if(u=e,e)for(n=0,s=e.Eh();s;s=s.Eh()){if(++n>ode)return WPt(s);if(u=s,s==e)throw me(new Cl("There is a cycle in the containment hierarchy of "+e))}return u}i(WPt,"Lje");function hv(e){var n,s,u;for(u=new W2(Ho,"[","]"),s=e.Kc();s.Ob();)n=s.Pb(),D1(u,Ze(n)===Ze(e)?"(this Collection)":n==null?Xu:Hl(n));return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}i(hv,"Fe");function qDe(e,n){var s,u;if(u=!1,n.gc()<2)return!1;for(s=0;s1&&(e.j.b+=e.e)):(e.j.a+=s.a,e.j.b=p.Math.max(e.j.b,s.b),e.d.c.length>1&&(e.j.a+=e.e))}i(g1n,"$mc");function fv(){fv=z,aXt=Te(we(Qo,1),Mc,64,0,[(Bt(),en),pn,Gn]),iXt=Te(we(Qo,1),Mc,64,0,[pn,Gn,on]),sXt=Te(we(Qo,1),Mc,64,0,[Gn,on,en]),oXt=Te(we(Qo,1),Mc,64,0,[on,en,pn])}i(fv,"Mnc");function m1n(e,n,s,u){var d,g,x,k,A,D,N;if(x=e.c.d,k=e.d.d,x.j!=k.j)for(N=e.b,d=x.j,A=null;d!=k.j;)A=n==0?fK(d):fLe(d),g=qLe(d,N.d[d.g],s),D=qLe(A,N.d[A.g],s),ki(u,Xi(g,D)),d=A}i(m1n,"Upc");function y1n(e,n,s,u){var d,g,x,k,A;return x=QOt(e.a,n,s),k=y(x.a,17).a,g=y(x.b,17).a,u&&(A=y(oe(n,(At(),Mh)),10),d=y(oe(s,Mh),10),A&&d&&(FLt(e.b,A,d),k+=e.b.i,g+=e.b.e)),k>g}i(y1n,"OJc");function KPt(e){var n,s,u,d,g,x,k,A,D;for(this.a=bOt(e),this.b=new Mt,s=e,u=0,d=s.length;ucle(e.d).c?(e.i+=e.g.c,Kue(e.d)):cle(e.d).c>cle(e.g).c?(e.e+=e.d.c,Kue(e.g)):(e.i+=s8t(e.g),e.e+=s8t(e.d),Kue(e.g),Kue(e.d))}i(XPt,"Tlc");function x1n(e,n,s){var u,d,g,x;for(g=n.q,x=n.r,new $2((hg(),Lv),n,g,1),new $2(Lv,g,x,1),d=new ge(s);d.ak&&(A=k/u),d>g&&(D=g/d),x=p.Math.min(A,D),e.a+=x*(n.a-e.a),e.b+=x*(n.b-e.b)}i(JPt,"tWc");function E1n(e,n,s,u,d){var g,x;for(x=!1,g=y(Xt(s.b,0),27);ekn(e,n,g,u,d)&&(x=!0,tmn(s,g),s.b.c.length!=0);)g=y(Xt(s.b,0),27);return s.b.c.length==0&&u$(s.j,s),x&&PK(n.q),x}i(E1n,"I8c");function S1n(e,n){EC();var s,u,d,g;if(n.b<2)return!1;for(g=Hn(n,0),s=y(Un(g),8),u=s;g.b!=g.d.c;){if(d=y(Un(g),8),Xhe(e,u,d))return!0;u=d}return!!Xhe(e,u,s)}i(S1n,"Eid");function YDe(e,n,s,u){var d,g;return s==0?(!e.o&&(e.o=new hh((_c(),t1),sb,e,0)),yW(e.o,n,u)):(g=y(Nr((d=y(Xr(e,16),29),d||e.ii()),s),69),g.wk().Ak(e,Mu(e),s-_n(e.ii()),n,u))}i(YDe,"Bxd");function Nhe(e,n){var s;n!=e.sb?(s=null,e.sb&&(s=y(e.sb,54).Th(e,1,rN,s)),n&&(s=y(n,54).Rh(e,1,rN,s)),s=sLe(e,n,s),s&&s.oj()):(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,4,n,n))}i(Nhe,"BBd");function A1n(e,n){var s,u,d,g;if(n)d=N1(n,"x"),s=new Ukt(e),Q8(s.a,(ln(d),d)),g=N1(n,"y"),u=new Vkt(e),Z8(u.a,(ln(g),g));else throw me(new D0("All edge sections need an end point."))}i(A1n,"YDd");function R1n(e,n){var s,u,d,g;if(n)d=N1(n,"x"),s=new Gkt(e),J8(s.a,(ln(d),d)),g=N1(n,"y"),u=new jkt(e),e7(u.a,(ln(g),g));else throw me(new D0("All edge sections need a start point."))}i(R1n,"WDd");function L1n(e,n){var s,u,d,g,x,k,A;for(u=EIt(e),g=0,k=u.length;g>22-n,d=e.h<>22-n):n<44?(s=0,u=e.l<>44-n):(s=0,u=0,d=e.l<e)throw me(new Jr("k must be smaller than n"));return n==0||n==e?1:e==0?0:xDe(e)/(xDe(n)*xDe(e-n))}i(N1n,"vid");function KDe(e,n){var s,u,d,g;for(s=new h6e(e);s.g==null&&!s.c?U8e(s):s.g==null||s.i!=0&&y(s.g[s.i-1],51).Ob();)if(g=y(QK(s),58),$e(g,167))for(u=y(g,167),d=0;d>4],n[s*2+1]=tee[g&15];return qd(n,0,n.length)}i(V1n,"Iqe");function H1n(e){YW();var n,s,u;switch(u=e.c.length,u){case 0:return nWt;case 1:return n=y(PBt(new ge(e)),44),Frn(n.ld(),n.md());default:return s=y(Wg(e,ot(dw,TX,44,e.c.length,0,1)),173),new YSe(s)}}i(H1n,"sn");function q1n(e){var n,s,u,d,g,x;for(n=new tC,s=new tC,tv(n,e),tv(s,e);s.b!=s.c;)for(d=y(v5(s),36),x=new ge(d.a);x.a0&&A$(e,s,n),d):Nbn(e,n,s)}i(Y1n,"tLc");function dv(){dv=z,ltr=(_i(),E6),ctr=Aw,itr=Sw,atr=bE,str=Mv,ntr=yE,Ije=fj,otr=G3,e1e=(cMe(),qer),t1e=Wer,Oje=Qer,r1e=etr,Pje=Jer,Bje=Zer,Nje=Yer,pZ=Ker,gZ=Xer,ej=ttr,Fje=rtr,Mje=Her}i(dv,"$4c");function nBt(e,n){var s,u,d,g,x;if(e.e<=n||msn(e,e.g,n))return e.g;for(g=e.r,u=e.g,x=e.r,d=(g-u)/2+u;u+11&&(e.e.b+=e.a)):(e.e.a+=s.a,e.e.b=p.Math.max(e.e.b,s.b),e.d.c.length>1&&(e.e.a+=e.a))}i(JDe,"LKb");function Q1n(e){var n,s,u,d;switch(d=e.i,n=d.b,u=d.j,s=d.g,d.a.g){case 0:s.a=(e.g.b.o.a-u.a)/2;break;case 1:s.a=n.d.n.a+n.d.a.a;break;case 2:s.a=n.d.n.a+n.d.a.a-u.a;break;case 3:s.b=n.d.n.b+n.d.a.b}}i(Q1n,"Ipc");function J1n(e,n,s){var u,d,g;for(d=new bn(wn(B1(s).a.Kc(),new I));qn(d);)u=y(Mn(d),18),!Ko(u)&&!(!Ko(u)&&u.c.i.c==u.d.i.c)&&(g=WFt(e,u,s,new Q3t),g.c.length>1&&zr(n.c,g))}i(J1n,"oOc");function aBt(e,n,s,u,d){if(uu&&(e.a=u),e.bd&&(e.b=d),e}i(aBt,"_id");function Z1n(e){if($e(e,143))return D2n(y(e,143));if($e(e,233))return wdn(y(e,233));if($e(e,23))return _1n(y(e,23));throw me(new Jr(vOe+hv(new Eh(Te(we(Hs,1),Gr,1,5,[e])))))}i(Z1n,"LFd");function eyn(e,n,s,u,d){var g,x,k;for(g=!0,x=0;x>>d|s[x+u+1]<>>d,++x}return g}i(eyn,"ujb");function ZDe(e,n,s,u){var d,g,x;if(n.k==(sn(),ro)){for(g=new bn(wn(Ks(n).a.Kc(),new I));qn(g);)if(d=y(Mn(g),18),x=d.c.i.k,x==ro&&e.c.a[d.c.i.c.p]==u&&e.c.a[n.c.p]==s)return!0}return!1}i(ZDe,"ZQc");function tyn(e,n){var s,u,d,g;return n&=63,s=e.h&U1,n<22?(g=s>>>n,d=e.m>>n|s<<22-n,u=e.l>>n|e.m<<22-n):n<44?(g=0,d=s>>>n-22,u=e.m>>n-22|e.h<<44-n):(g=0,d=0,u=s>>>n-44),Au(u&Qh,d&Qh,g&U1)}i(tyn,"CD");function sBt(e,n,s,u){var d;this.b=u,this.e=e==(jx(),SI),d=n[s],this.d=I2(tf,[Lt,Hm],[183,28],16,[d.length,d.length],2),this.a=I2(ei,[Lt,Ai],[53,28],15,[d.length,d.length],2),this.c=new NDe(n,s)}i(sBt,"mmc");function ryn(e){var n,s,u;for(e.k=new q8e((Bt(),Te(we(Qo,1),Mc,64,0,[oc,en,pn,Gn,on])).length,e.j.c.length),u=new ge(e.j);u.a=s)return I7(e,n,u.p),!0;return!1}i(ayn,"adc");function xC(e,n,s,u){var d,g,x,k,A,D;for(x=s.length,g=0,d=-1,D=Z_t((Zr(n,e.length+1),e.substr(n)),(ple(),mPe)),k=0;kg&&Lnn(D,Z_t(s[k],mPe))&&(d=k,g=A);return d>=0&&(u[0]=n+g),d}i(xC,"EA");function lBt(e){var n;return(e.Db&64)!=0?Ohe(e):(n=new Ef(lOe),!e.a||Ei(Ei((n.a+=' "',n),e.a),'"'),Ei(fx(Ei(fx(Ei(fx(Ei(fx((n.a+=" (",n),e.i),","),e.j)," | "),e.g),","),e.f),")"),n.a)}i(lBt,"gCd");function cBt(e,n,s){var u,d,g,x,k;for(k=Iu(e.e.Dh(),n),d=y(e.g,124),u=0,x=0;xs?c_e(e,s,"start index"):n<0||n>s?c_e(n,s,"end index"):f9("end index (%s) must not be less than start index (%s)",Te(we(Hs,1),Gr,1,5,[_t(n),_t(e)]))}i(syn,"Kb");function hBt(e,n){var s,u,d,g;for(u=0,d=e.length;u0&&fBt(e,g,s));n.p=0}i(fBt,"aGc");function ir(e){var n;this.c=new Da,this.f=e.e,this.e=e.d,this.i=e.g,this.d=e.c,this.b=e.b,this.k=e.j,this.a=e.a,e.i?this.j=e.i:this.j=(n=y(sg(Qm),9),new ad(n,y(Dp(n,n.length),9),0)),this.g=e.f}i(ir,"Ahd");function lyn(e){var n,s,u,d;for(n=Jb(Ei(new Ef("Predicates."),"and"),40),s=!0,d=new m_(e);d.b0?k[x-1]:ot(Km,Yy,10,0,0,1),d=k[x],D=x=0?e.ki(d):d_e(e,u);else throw me(new Jr(wv+u.xe()+j9));else throw me(new Jr(hHt+n+fHt));else dd(e,s,u)}i(Bhe,"$vd");function e_e(e){var n,s;if(s=null,n=!1,$e(e,211)&&(n=!0,s=y(e,211).a),n||$e(e,263)&&(n=!0,s=""+y(e,263).a),n||$e(e,493)&&(n=!0,s=""+y(e,493).a),!n)throw me(new Qse(bOe));return s}i(e_e,"ADd");function t_e(e,n,s){var u,d,g,x,k,A;for(A=Iu(e.e.Dh(),n),u=0,k=e.i,d=y(e.g,124),x=0;x=e.d.b.c.length&&(n=new Wc(e.d),n.p=u.p-1,It(e.d.b,n),s=new Wc(e.d),s.p=u.p,It(e.d.b,s)),bo(u,y(Xt(e.d.b,u.p),30))}i(n_e,"WGc");function i_e(e,n,s){var u,d,g;if(!e.b[n.g]){for(e.b[n.g]=!0,u=s,!u&&(u=new xF),ki(u.b,n),g=e.a[n.g].Kc();g.Ob();)d=y(g.Pb(),65),d.b!=n&&i_e(e,d.b,u),d.c!=n&&i_e(e,d.c,u),ki(u.a,d);return u}return null}i(i_e,"DVc");function fyn(e){switch(e.g){case 0:case 1:case 2:return Bt(),en;case 3:case 4:case 5:return Bt(),Gn;case 6:case 7:case 8:return Bt(),on;case 9:case 10:case 11:return Bt(),pn;default:return Bt(),oc}}i(fyn,"iMb");function dyn(e,n){var s;return e.c.length==0?!1:(s=DNt((_r(0,e.c.length),y(e.c[0],18)).c.i),Af(),s==(Xk(),sE)||s==aE?!0:lC(Nl(new Tr(null,new Ar(e,16)),new Z0t),new XTt(n)))}i(dyn,"SOc");function $he(e,n){if($e(n,207))return oJr(e,y(n,27));if($e(n,193))return lJr(e,y(n,123));if($e(n,452))return sJr(e,y(n,166));throw me(new Jr(vOe+hv(new Eh(Te(we(Hs,1),Gr,1,5,[n])))))}i($he,"KDd");function bBt(e,n,s){var u,d;if(this.f=e,u=y(mn(e.b,n),260),d=u?u.a:0,T7e(s,d),s>=(d/2|0))for(this.e=u?u.c:null,this.d=d;s++0;)q7e(this);this.b=n,this.a=null}i(bBt,"Ou");function pyn(e,n){var s,u;n.a?Y2n(e,n):(s=y(loe(e.b,n.b),60),s&&s==e.a[n.b.f]&&s.a&&s.a!=n.b.a&&s.c.Fc(n.b),u=y(ooe(e.b,n.b),60),u&&e.a[u.f]==n.b&&u.a&&u.a!=n.b.a&&n.b.c.Fc(u),tle(e.b,n.b))}i(pyn,"iHb");function vBt(e,n){var s,u;if(s=y(gl(e.b,n),127),y(y(ta(e.r,n),21),87).dc()){s.n.b=0,s.n.c=0;return}s.n.b=e.C.b,s.n.c=e.C.c,e.A.Hc((mf(),Lw))&&H$t(e,n),u=zpn(e,n),Jhe(e,n)==(gC(),Nv)&&(u+=2*e.w),s.a.a=u}i(vBt,"wMb");function wBt(e,n){var s,u;if(s=y(gl(e.b,n),127),y(y(ta(e.r,n),21),87).dc()){s.n.d=0,s.n.a=0;return}s.n.d=e.C.d,s.n.a=e.C.a,e.A.Hc((mf(),Lw))&&q$t(e,n),u=jpn(e,n),Jhe(e,n)==(gC(),Nv)&&(u+=2*e.w),s.a.b=u}i(wBt,"FNb");function gyn(e,n){var s,u,d,g;for(g=new Mt,u=new ge(n);u.au&&(Zr(n-1,e.length),e.charCodeAt(n-1)<=32);)--n;return u>0||ns.a&&(u.Hc((Z2(),zI))?d=(n.a-s.a)/2:u.Hc(UI)&&(d=n.a-s.a)),n.b>s.b&&(u.Hc((Z2(),HI))?g=(n.b-s.b)/2:u.Hc(VI)&&(g=n.b-s.b)),UDe(e,d,g)}i(l_e,"Jsd");function ABt(e,n,s,u,d,g,x,k,A,D,N,B,U){$e(e.Cb,90)&&t3(qh(y(e.Cb,90)),4),gu(e,s),e.f=x,w7(e,k),T7(e,A),v7(e,D),x7(e,N),Gy(e,B),k7(e,U),$y(e,!0),Oy(e,d),e.Zk(g),X2(e,n),u!=null&&(e.i=null,WY(e,u))}i(ABt,"ABd");function c_e(e,n,s){if(e<0)return f9(Czt,Te(we(Hs,1),Gr,1,5,[s,_t(e)]));if(n<0)throw me(new Jr(Ezt+n));return f9("%s (%s) must not be greater than size (%s)",Te(we(Hs,1),Gr,1,5,[s,_t(e),_t(n)]))}i(c_e,"Jb");function u_e(e,n,s,u,d,g){var x,k,A,D;if(x=u-s,x<7){cdn(n,s,u,g);return}if(A=s+d,k=u+d,D=A+(k-A>>1),u_e(n,e,A,D,-d,g),u_e(n,e,D,k,-d,g),g.Ne(e[D-1],e[D])<=0){for(;s=0?e.bi(g,s):G_e(e,d,s);else throw me(new Jr(wv+d.xe()+j9));else throw me(new Jr(hHt+n+fHt));else pd(e,u,d,s)}i(Ghe,"Wvd");function RBt(e){var n,s;if(e.f){for(;e.n>0;){if(n=y(e.k.Xb(e.n-1),76),s=n.Lk(),$e(s,102)&&(y(s,19).Bb&Ec)!=0&&(!e.e||s.pk()!=ZR||s.Lj()!=0)&&n.md()!=null)return!0;--e.n}return!1}else return e.n>0}i(RBt,"n3d");function LBt(e){var n,s,u,d;if(s=y(e,54)._h(),s)try{if(u=null,n=O7((Hb(),sp),pGt(xdn(s))),n&&(d=n.ai(),d&&(u=d.Fl(TXr(s.e)))),u&&u!=e)return LBt(u)}catch(g){if(g=$a(g),!$e(g,63))throw me(g)}return e}i(LBt,"Pje");function _yn(e,n,s){var u,d,g;s.Ug("Remove overlaps",1),s.dh(n,xNe),u=y(Ct(n,(nC(),cE)),27),e.f=u,e.a=ahe(y(Ct(n,(dv(),ej)),300)),d=rt(Ct(n,(_i(),Aw))),rSe(e,(ln(d),d)),g=n3(u),Pjt(e,n,g,s),s.dh(n,aQ)}i(_yn,"P3c");function Myn(e){var n,s,u;if(Kt(Yt(Ct(e,(_i(),uj))))){for(u=new Mt,s=new bn(wn(G1(e).a.Kc(),new I));qn(s);)n=y(Mn(s),74),Qx(n)&&Kt(Yt(Ct(n,O1e)))&&zr(u.c,n);return u}else return Dr(),Dr(),Po}i(Myn,"Ded");function DBt(e){if(!e)return D4t(),fWt;var n=e.valueOf?e.valueOf():e;if(n!==e){var s=Age[typeof n];return s?s(n):ZRe(typeof n)}else return e instanceof Array||e instanceof p.Array?new XEe(e):new cB(e)}i(DBt,"KC");function _Bt(e,n,s){var u,d,g;switch(g=e.o,u=y(gl(e.p,s),252),d=u.i,d.b=a9(u),d.a=i9(u),d.b=p.Math.max(d.b,g.a),d.b>g.a&&!n&&(d.b=g.a),d.c=-(d.b-g.a)/2,s.g){case 1:d.d=-d.a;break;case 3:d.d=g.b}hfe(u),ffe(u)}i(_Bt,"IMb");function MBt(e,n,s){var u,d,g;switch(g=e.o,u=y(gl(e.p,s),252),d=u.i,d.b=a9(u),d.a=i9(u),d.a=p.Math.max(d.a,g.b),d.a>g.b&&!n&&(d.a=g.b),d.d=-(d.a-g.b)/2,s.g){case 4:d.c=-d.b;break;case 2:d.c=g.a}hfe(u),ffe(u)}i(MBt,"JMb");function Iyn(e,n){var s,u,d,g,x;if(!n.dc()){if(d=y(n.Xb(0),131),n.gc()==1){c$t(e,d,d,1,0,n);return}for(s=1;s0)try{d=Nf(n,No,Yi)}catch(g){throw g=$a(g),$e(g,130)?(u=g,me(new RY(u))):me(g)}return s=(!e.a&&(e.a=new Ose(e)),e.a),d=0?y(Ge(s,d),58):null}i(Pyn,"Lde");function Byn(e,n){if(e<0)return f9(Czt,Te(we(Hs,1),Gr,1,5,["index",_t(e)]));if(n<0)throw me(new Jr(Ezt+n));return f9("%s (%s) must be less than size (%s)",Te(we(Hs,1),Gr,1,5,["index",_t(e),_t(n)]))}i(Byn,"Ib");function Fyn(e){var n,s,u,d,g;if(e==null)return Xu;for(g=new W2(Ho,"[","]"),s=e,u=0,d=s.length;u=0?e.Lh(s,!0,!0):Jx(e,d,!0),160)),y(u,220).Zl(n);else throw me(new Jr(wv+n.xe()+j9))}i(d_e,"Tvd");function p_e(e){var n,s;return e>-0x800000000000&&e<0x800000000000?e==0?0:(n=e<0,n&&(e=-e),s=Fs(p.Math.floor(p.Math.log(e)/.6931471805599453)),(!n||e!=p.Math.pow(2,s))&&++s,s):K9t(Cc(e))}i(p_e,"Cib");function Zyn(e){var n,s,u,d,g,x,k;for(g=new I0,s=new ge(e);s.a2&&k.e.b+k.j.b<=2&&(d=k,u=x),g.a.zc(d,g),d.q=u);return g}i(Zyn,"oTc");function ebn(e,n,s){s.Ug("Eades radial",1),s.dh(n,aQ),e.d=y(Ct(n,(nC(),cE)),27),e.c=Qe(rt(Ct(n,(dv(),gZ)))),e.e=ahe(y(Ct(n,ej),300)),e.a=Ldn(y(Ct(n,Fje),434)),e.b=K0n(y(Ct(n,Nje),354)),_0n(e),s.dh(n,aQ)}i(ebn,"B5c");function tbn(e,n){if(n.Ug("Target Width Setter",1),Ug(e,(Kg(),p1e)))ca(e,($m(),F3),rt(Ct(e,p1e)));else throw me(new xy("A target width has to be set if the TargetWidthWidthApproximator should be used."));n.Vg()}i(tbn,"t8c");function BBt(e,n){var s,u,d;return u=new $1(e),Bl(u,n),Tt(u,(At(),MJ),n),Tt(u,(Ht(),ns),(fo(),nu)),Tt(u,tm,(Bm(),AZ)),S2(u,(sn(),ms)),s=new Gc,rc(s,u),$s(s,(Bt(),on)),d=new Gc,rc(d,u),$s(d,pn),u}i(BBt,"_8b");function FBt(e){switch(e.g){case 0:return new Yse((jx(),YG));case 1:return new twt;case 2:return new rwt;default:throw me(new Jr("No implementation is available for the crossing minimizer "+(e.f!=null?e.f:""+e.g)))}}i(FBt,"ttc");function $Bt(e,n){var s,u,d,g,x;for(e.c[n.p]=!0,It(e.a,n),x=new ge(n.j);x.a=g)x.$b();else for(d=x.Kc(),u=0;u0?ZSe():x<0&&UBt(e,n,-x),!0):!1}i(obn,"qx");function i9(e){var n,s,u,d,g,x,k;if(k=0,e.b==0){for(x=EOt(e,!0),n=0,u=x,d=0,g=u.length;d0&&(k+=s,++n);n>1&&(k+=e.c*(n-1))}else k=z4t(lue(Ok(Zi(l8e(e.a),new Gt),new Rn)));return k>0?k+e.n.d+e.n.a:0}i(i9,"YKb");function a9(e){var n,s,u,d,g,x,k;if(k=0,e.b==0)k=z4t(lue(Ok(Zi(l8e(e.a),new pt),new $n)));else{for(x=SOt(e,!0),n=0,u=x,d=0,g=u.length;d0&&(k+=s,++n);n>1&&(k+=e.c*(n-1))}return k>0?k+e.n.b+e.n.c:0}i(a9,"ZKb");function lbn(e){var n,s;if(e.c.length!=2)throw me(new Cl("Order only allowed for two paths."));n=(_r(0,e.c.length),y(e.c[0],18)),s=(_r(1,e.c.length),y(e.c[1],18)),n.d.i!=s.c.i&&(e.c.length=0,zr(e.c,s),zr(e.c,n))}i(lbn,"UOc");function VBt(e,n,s){var u;for(Q4(s,n.g,n.f),nd(s,n.i,n.j),u=0;u<(!n.a&&(n.a=new xt(Hi,n,10,11)),n.a).i;u++)VBt(e,y(Ge((!n.a&&(n.a=new xt(Hi,n,10,11)),n.a),u),27),y(Ge((!s.a&&(s.a=new xt(Hi,s,10,11)),s.a),u),27))}i(VBt,"O8c");function cbn(e,n){var s,u,d,g;for(g=y(gl(e.b,n),127),s=g.a,d=y(y(ta(e.r,n),21),87).Kc();d.Ob();)u=y(d.Pb(),117),u.c&&(s.a=p.Math.max(s.a,$Ae(u.c)));if(s.a>0)switch(n.g){case 2:g.n.c=e.s;break;case 4:g.n.b=e.s}}i(cbn,"DMb");function ubn(e,n){var s,u,d;return s=y(oe(n,(Fp(),h6)),17).a-y(oe(e,h6),17).a,s==0?(u=Us(ko(y(oe(e,(nv(),RG)),8)),y(oe(e,aI),8)),d=Us(ko(y(oe(n,RG),8)),y(oe(n,aI),8)),ga(u.a*u.b,d.a*d.b)):s}i(ubn,"ETb");function hbn(e,n){var s,u,d;return s=y(oe(n,(pc(),uZ)),17).a-y(oe(e,uZ),17).a,s==0?(u=Us(ko(y(oe(e,(xa(),QG)),8)),y(oe(e,zR),8)),d=Us(ko(y(oe(n,QG),8)),y(oe(n,zR),8)),ga(u.a*u.b,d.a*d.b)):s}i(hbn,"JVc");function HBt(e){var n,s;return s=new zb,s.a+="e_",n=ihn(e),n!=null&&(s.a+=""+n),e.c&&e.d&&(Ei((s.a+=" ",s),FK(e.c)),Ei(qc((s.a+="[",s),e.c.i),"]"),Ei((s.a+=Ode,s),FK(e.d)),Ei(qc((s.a+="[",s),e.d.i),"]")),s.a}i(HBt,"_0b");function qBt(e){switch(e.g){case 0:return new hwt;case 1:return new fwt;case 2:return new cwt;case 3:return new lwt;default:throw me(new Jr("No implementation is available for the layout phase "+(e.f!=null?e.f:""+e.g)))}}i(qBt,"ZVc");function y_e(e,n,s,u,d){var g;switch(g=0,d.g){case 1:g=p.Math.max(0,n.b+e.b-(s.b+u));break;case 3:g=p.Math.max(0,-e.b-u);break;case 2:g=p.Math.max(0,-e.a-u);break;case 4:g=p.Math.max(0,n.a+e.a-(s.a+u))}return g}i(y_e,"qsd");function fbn(e,n,s){var u,d,g,x,k;if(s)for(d=s.a.length,u=new O2(d),k=(u.b-u.a)*u.c<0?(qb(),zv):new Kb(u);k.Ob();)x=y(k.Pb(),17),g=U8(s,x.a),fOe in g.a||Kpe in g.a?Sxn(e,g,n):HCn(e,g,n),VJr(y(mn(e.b,E7(g)),74))}i(fbn,"MDd");function b_e(e){var n,s;switch(e.b){case-1:return!0;case 0:return s=e.t,s>1||s==-1?(e.b=-1,!0):(n=Wd(e),n&&(el(),n.lk()==dqt)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}i(b_e,"jXd");function v_e(e,n){var s,u,d,g;if(qi(e),e.c!=0||e.a!=123)throw me(new yi(xi((hi(),OHt))));if(g=n==112,u=e.d,s=E8(e.i,125,u),s<0)throw me(new yi(xi((hi(),PHt))));return d=od(e.i,u,s),e.d=s+1,m_t(d,g,(e.e&512)==512)}i(v_e,"Sqe");function WBt(e){var n,s,u,d,g,x,k;if(u=e.a.c.length,u>0)for(x=e.c.d,k=e.d.d,d=N0(Us(new St(k.a,k.b),x),1/(u+1)),g=new St(x.a,x.b),s=new ge(e.a);s.a=0&&u=0?e.Lh(s,!0,!0):Jx(e,d,!0),160)),y(u,220).Wl(n);throw me(new Jr(wv+n.xe()+Gpe))}i(zhe,"Rvd");function mbn(){x5e();var e;return Znr?y(O7((Hb(),sp),Qd),2038):(Bi(dw,new bvt),h4n(),e=y($e(Yc((Hb(),sp),Qd),560)?Yc(sp,Qd):new u7t,560),Znr=!0,fEn(e),vEn(e),ji((w5e(),SVe),e,new Nbt),El(sp,Qd,e),e)}i(mbn,"_ae");function ybn(e,n){var s,u,d,g;e.j=-1,uf(e.e)?(s=e.i,g=e.i!=0,wF(e,n),u=new _1(e.e,3,e.c,null,n,s,g),d=n.zl(e.e,e.c,null),d=APt(e,n,d),d?(d.nj(u),d.oj()):Qi(e.e,u)):(wF(e,n),d=n.zl(e.e,e.c,null),d&&d.oj())}i(ybn,"Vfe");function YK(e,n){var s,u,d;if(d=0,u=n[0],u>=e.length)return-1;for(s=(Zr(u,e.length),e.charCodeAt(u));s>=48&&s<=57&&(d=d*10+(s-48),++u,!(u>=e.length));)s=(Zr(u,e.length),e.charCodeAt(u));return u>n[0]?n[0]=u:d=-1,d}i(YK,"HA");function bbn(e){var n,s,u,d,g;return d=y(e.a,17).a,g=y(e.b,17).a,s=d,u=g,n=p.Math.max(p.Math.abs(d),p.Math.abs(g)),d<=0&&d==g?(s=0,u=g-1):d==-n&&g!=n?(s=g,u=d,g>=0&&++s):(s=-g,u=d),new Bs(_t(s),_t(u))}i(bbn,"mPb");function vbn(e,n,s,u){var d,g,x,k,A,D;for(d=0;d=0&&D>=0&&A=e.i)throw me(new kl(Qpe+n+uw+e.i));if(s>=e.i)throw me(new kl(Jpe+s+uw+e.i));return u=e.g[s],n!=s&&(n>16),n=u>>16&16,s=16-n,e=e>>n,u=e-256,n=u>>16&8,s+=n,e<<=n,u=e-u3,n=u>>16&4,s+=n,e<<=n,u=e-V0,n=u>>16&2,s+=n,e<<=n,u=e>>14,n=u&~(u>>1),s+2-n)}i(w$,"ngb");function xbn(e){C5();var n,s,u,d;for(HQ=new Mt,Xge=new zn,Kge=new Mt,n=(!e.a&&(e.a=new xt(Hi,e,10,11)),e.a),hCn(n),d=new gn(n);d.e!=d.i.gc();)u=y(xn(d),27),Pl(HQ,u,0)==-1&&(s=new Mt,It(Kge,s),QNt(u,s));return Kge}i(xbn,"RSb");function Tbn(e,n,s){var u,d,g,x;e.a=s.b.d,$e(n,326)?(d=CC(y(n,74),!1,!1),g=m$(d),u=new Oxt(e),So(g,u),D$(g,d),n.of((_i(),DT))!=null&&So(y(n.of(DT),75),u)):(x=y(n,422),x.rh(x.nh()+e.a.a),x.sh(x.oh()+e.a.b))}i(Tbn,"sTb");function kbn(e,n){var s,u,d;for(d=new Mt,u=Hn(n.a,0);u.b!=u.d.c;)s=y(Un(u),65),s.c.g==e.g&&Ze(oe(s.b,(pc(),nm)))!==Ze(oe(s.c,nm))&&!lC(new Tr(null,new Ar(d,16)),new lkt(s))&&zr(d.c,s);return gs(d,new $mt),d}i(kbn,"hWc");function KBt(e,n,s){var u,d,g,x;return $e(n,153)&&$e(s,153)?(g=y(n,153),x=y(s,153),e.a[g.a][x.a]+e.a[x.a][g.a]):$e(n,250)&&$e(s,250)&&(u=y(n,250),d=y(s,250),u.a==d.a)?y(oe(d.a,(Fp(),h6)),17).a:0}i(KBt,"fUb");function XBt(e,n){var s,u,d,g,x,k,A,D;for(D=Qe(rt(oe(n,(Ht(),wI)))),A=e[0].n.a+e[0].o.a+e[0].d.c+D,k=1;k=0?s:(k=yM(Us(new St(x.c+x.b/2,x.d+x.a/2),new St(g.c+g.b/2,g.d+g.a/2))),-(TGt(g,x)-1)*k)}i(Cbn,"Nad");function Ebn(e,n,s){var u;as(new Tr(null,(!s.a&&(s.a=new xt(_a,s,6,6)),new Ar(s.a,16))),new hSt(e,n)),as(new Tr(null,(!s.n&&(s.n=new xt(bl,s,1,7)),new Ar(s.n,16))),new fSt(e,n)),u=y(Ct(s,(_i(),DT)),75),u&&TRe(u,e,n)}i(Ebn,"ysd");function Jx(e,n,s){var u,d,g;if(g=RC((dh(),Lo),e.Dh(),n),g)return el(),y(g,69).xk()||(g=S5(Sl(Lo,g))),d=(u=e.Ih(g),y(u>=0?e.Lh(u,!0,!0):Jx(e,g,!0),160)),y(d,220).Sl(n,s);throw me(new Jr(wv+n.xe()+Gpe))}i(Jx,"Qvd");function w_e(e,n,s,u){var d,g,x,k,A;if(d=e.d[n],d){if(g=d.g,A=d.i,u!=null){for(k=0;k=s&&(u=n,D=(A.c+A.a)/2,x=D-s,A.c<=D-s&&(d=new ble(A.c,x),Cx(e,u++,d)),k=D+s,k<=A.a&&(g=new ble(k,A.a),Bk(u,e.c.length),F_(e.c,u,g)))}i(Lbn,"wTc");function ZBt(e,n,s){var u,d,g,x,k,A;if(!n.dc()){for(d=new Da,A=n.Kc();A.Ob();)for(k=y(A.Pb(),40),ji(e.a,_t(k.g),_t(s)),x=(u=Hn(new x1(k).a.d,0),new $4(u));mB(x.a);)g=y(Un(x.a),65).c,Xa(d,g,d.c.b,d.c);ZBt(e,d,s+1)}}i(ZBt,"mZc");function x_e(e){var n;if(!e.c&&e.g==null)e.d=e.bj(e.f),Jn(e,e.d),n=e.d;else{if(e.g==null)return!0;if(e.i==0)return!1;n=y(e.g[e.i-1],51)}return n==e.b&&null.Vm>=null.Um()?(QK(e),x_e(e)):n.Ob()}i(x_e,"Ude");function eFt(e){if(this.a=e,e.c.i.k==(sn(),ms))this.c=e.c,this.d=y(oe(e.c.i,(At(),vc)),64);else if(e.d.i.k==ms)this.c=e.d,this.d=y(oe(e.d.i,(At(),vc)),64);else throw me(new Jr("Edge "+e+" is not an external edge."))}i(eFt,"t_b");function tFt(e,n){var s,u,d;d=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,3,d,e.b)),n?n!=e&&(gu(e,n.zb),Qce(e,n.d),s=(u=n.c,u??n.zb),Zce(e,s==null||kr(s,n.zb)?null:s)):(gu(e,null),Qce(e,0),Zce(e,null))}i(tFt,"O1d");function rFt(e,n){var s;this.e=(Rx(),li(e),Rx(),OLe(e)),this.c=(li(n),OLe(n)),C6e(this.e.Rd().dc()==this.c.Rd().dc()),this.d=yNt(this.e),this.b=yNt(this.c),s=I2(Hs,[Lt,Gr],[5,1],5,[this.e.Rd().gc(),this.c.Rd().gc()],2),this.a=s,eun(this)}i(rFt,"hj");function nFt(e){var n=(!Ege&&(Ege=kCn()),Ege),s=e.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,function(u){return Aan(u,n)});return'"'+s+'"'}i(nFt,"Lz");function T_e(e,n,s,u,d,g){var x,k,A,D,N;if(d!=0)for(Ze(e)===Ze(s)&&(e=e.slice(n,n+d),n=0),A=s,k=n,D=n+d;k=x)throw me(new _k(n,x));return d=s[n],x==1?u=null:(u=ot(rye,nge,424,x-1,0,1),jc(s,0,u,0,n),g=x-n-1,g>0&&jc(s,n+1,u,n,g)),S7(e,u),SBt(e,n,d),d}i(_bn,"OMd");function aFt(e){var n,s;if(e.f){for(;e.n0?g=B5(s):g=t$(B5(s))),ca(n,OR,g)}i(lFt,"$4b");function Mbn(e,n){var s;n.Ug("Partition preprocessing",1),s=y(Vl(Zi(nc(Zi(new Tr(null,new Ar(e.a,16)),new jpt),new zpt),new Upt),Rh(new bt,new ft,new ke,Te(we(Ll,1),kt,108,0,[(Dh(),Wl)]))),15),as(s.Oc(),new Vpt),n.Vg()}i(Mbn,"agc");function Ibn(e,n){var s,u,d,g,x;for(x=e.j,n.a!=n.b&&gs(x,new w0t),d=x.c.length/2|0,u=0;u0&&A$(e,s,n),g):u.a!=null?(A$(e,n,s),-1):d.a!=null?(A$(e,s,n),1):0}i(Nbn,"rLc");function Obn(e,n){var s,u,d,g,x;for(d=n.b.b,e.a=ot(Td,h3,15,d,0,1),e.b=ot(tf,Hm,28,d,16,1),x=Hn(n.b,0);x.b!=x.d.c;)g=y(Un(x),40),e.a[g.g]=new Da;for(u=Hn(n.a,0);u.b!=u.d.c;)s=y(Un(u),65),e.a[s.b.g].Fc(s),e.a[s.c.g].Fc(s)}i(Obn,"EVc");function cFt(e,n){var s,u,d,g;e.Pj()?(s=e.Ej(),g=e.Qj(),++e.j,e.qj(s,e.Zi(s,n)),u=e.Ij(3,null,n,s,g),e.Mj()?(d=e.Nj(n,null),d?(d.nj(u),d.oj()):e.Jj(u)):e.Jj(u)):(Z8t(e,n),e.Mj()&&(d=e.Nj(n,null),d&&d.oj()))}i(cFt,"SJd");function k_e(e,n,s){var u,d,g;e.Pj()?(g=e.Qj(),QF(e,n,s),u=e.Ij(3,null,s,n,g),e.Mj()?(d=e.Nj(s,null),e.Tj()&&(d=e.Uj(s,d)),d?(d.nj(u),d.oj()):e.Jj(u)):e.Jj(u)):(QF(e,n,s),e.Mj()&&(d=e.Nj(s,null),d&&d.oj()))}i(k_e,"oLd");function KK(e,n){var s,u,d,g,x;for(x=Iu(e.e.Dh(),n),d=new XH,s=y(e.g,124),g=e.i;--g>=0;)u=s[g],x.am(u.Lk())&&Jn(d,u);!izt(e,d)&&uf(e.e)&&f8(e,n.Jk()?ev(e,6,n,(Dr(),Po),null,-1,!1):ev(e,n.tk()?2:1,n,null,null,-1,!1))}i(KK,"bge");function Pbn(e,n){var s,u,d,g,x;return e.a==(M7(),cI)?!0:(g=n.a.c,s=n.a.c+n.a.b,!(n.j&&(u=n.A,x=u.c.c.a-u.o.a/2,d=g-(u.n.a+u.o.a),d>x)||n.q&&(u=n.C,x=u.c.c.a-u.o.a/2,d=u.n.a-s,d>x)))}i(Pbn,"_7b");function uFt(e){fce();var n,s,u,d,g,x,k;for(s=new _y,d=new ge(e.e.b);d.a1?e.e*=Qe(e.a):e.f/=Qe(e.a),ifn(e),upn(e),oxn(e),Tt(e.b,(KM(),VQ),e.g)}i(Bbn,"sRb");function pFt(e,n,s){var u,d,g,x,k,A;for(u=0,A=s,n||(u=s*(e.c.length-1),A*=-1),g=new ge(e);g.a=0?e.Ah(null):e.Ph().Th(e,-1-n,null,null)),e.Bh(y(d,54),s),u&&u.oj(),e.vh()&&e.wh()&&s>-1&&Qi(e,new to(e,9,s,g,d)),d):g}i(Hhe,"yvd");function S_e(e,n){var s,u,d,g,x;for(g=e.b.Ce(n),u=(s=e.a.get(g),s??ot(Hs,Gr,1,0,5,1)),x=0;x>5,d>=e.d)return e.e<0;if(s=e.a[d],n=1<<(n&31),e.e<0){if(u=R9t(e),d>16)),15).dd(g),k0&&(!(k1(e.a.c)&&n.n.d)&&!(X4(e.a.c)&&n.n.b)&&(n.g.d+=p.Math.max(0,u/2-.5)),!(k1(e.a.c)&&n.n.a)&&!(X4(e.a.c)&&n.n.c)&&(n.g.a-=u-1))}i(Wbn,"OYb");function kFt(e){var n,s,u,d,g;if(d=new Mt,g=bGt(e,d),n=y(oe(e,(At(),Mh)),10),n)for(u=new ge(n.j);u.a>n,g=e.m>>n|s<<22-n,d=e.l>>n|e.m<<22-n):n<44?(x=u?U1:0,g=s>>n-22,d=e.m>>n-22|s<<44-n):(x=u?U1:0,g=u?Qh:0,d=s>>n-44),Au(d&Qh,g&Qh,x&U1)}i(__e,"BD");function qhe(e){var n,s,u,d,g,x;for(this.c=new Mt,this.d=e,u=Pa,d=Pa,n=Ls,s=Ls,x=Hn(e,0);x.b!=x.d.c;)g=y(Un(x),8),u=p.Math.min(u,g.a),d=p.Math.min(d,g.b),n=p.Math.max(n,g.a),s=p.Math.max(s,g.b);this.a=new sd(u,d,n-u,s-d)}i(qhe,"ORb");function EFt(e,n){var s,u,d,g,x,k;for(g=new ge(e.b);g.a0&&$e(n,44)&&(e.a._j(),D=y(n,44),A=D.ld(),g=A==null?0:ka(A),x=Q6e(e.a,g),s=e.a.d[x],s)){for(u=y(s.g,379),N=s.i,k=0;k=2)for(s=d.Kc(),n=rt(s.Pb());s.Ob();)g=n,n=rt(s.Pb()),u=p.Math.min(u,(ln(n),n-(ln(g),g)));return u}i(LFt,"RTc");function ivn(e,n){var s,u,d;for(d=new Mt,u=Hn(n.a,0);u.b!=u.d.c;)s=y(Un(u),65),s.b.g==e.g&&!kr(s.b.c,nQ)&&Ze(oe(s.b,(pc(),nm)))!==Ze(oe(s.c,nm))&&!lC(new Tr(null,new Ar(d,16)),new ckt(s))&&zr(d.c,s);return gs(d,new Umt),d}i(ivn,"iWc");function avn(e,n){var s,u,d;if(Ze(n)===Ze(li(e)))return!0;if(!$e(n,15)||(u=y(n,15),d=e.gc(),d!=u.gc()))return!1;if($e(u,59)){for(s=0;s0&&(d=s),x=new ge(e.f.e);x.a0?(n-=1,s-=1):u>=0&&d<0?(n+=1,s+=1):u>0&&d>=0?(n-=1,s+=1):(n+=1,s-=1),new Bs(_t(n),_t(s))}i(bvn,"sPb");function vvn(e,n){return e.cn.c?1:e.bn.b?1:e.a!=n.a?ka(e.a)-ka(n.a):e.d==(CM(),RI)&&n.d==AI?-1:e.d==AI&&n.d==RI?1:0}i(vvn,"nNc");function MFt(e,n){var s,u,d,g,x;return g=n.a,g.c.i==n.b?x=g.d:x=g.c,g.c.i==n.b?u=g.c:u=g.d,d=jdn(e.a,x,u),d>0&&d0):d<0&&-d0):!1}i(MFt,"ARc");function wvn(e,n,s,u){var d,g,x,k,A,D,N,B;for(d=(n-e.d)/e.c.c.length,g=0,e.a+=s,e.d=n,B=new ge(e.c);B.a>24;return x}i(xvn,"vAd");function Tvn(e){if(e.ze()){var n=e.c;n.Ae()?e.o="["+n.n:n.ze()?e.o="["+n.xe():e.o="[L"+n.xe()+";",e.b=n.we()+"[]",e.k=n.ye()+"[]";return}var s=e.j,u=e.d;u=u.split("/"),e.o=Xue(".",[s,Xue("$",u)]),e.b=Xue(".",[s,Xue(".",u)]),e.k=u[u.length-1]}i(Tvn,"Bfb");function kvn(e,n){var s,u,d,g,x;for(x=null,g=new ge(e.e.a);g.a=0;n-=2)for(s=0;s<=n;s+=2)(e.b[s]>e.b[s+2]||e.b[s]===e.b[s+2]&&e.b[s+1]>e.b[s+3])&&(u=e.b[s+2],e.b[s+2]=e.b[s],e.b[s]=u,u=e.b[s+3],e.b[s+3]=e.b[s+1],e.b[s+1]=u);e.c=!0}}i(TC,"vte");function Svn(e,n){var s,u,d,g,x,k,A,D,N;for(D=-1,N=0,x=e,k=0,A=x.length;k0&&++N;++D}return N}i(Svn,"nKc");function Pp(e){var n,s;return s=new Ef(_2(e.Rm)),s.a+="@",Ei(s,(n=ka(e)>>>0,n.toString(16))),e.Vh()?(s.a+=" (eProxyURI: ",qc(s,e._h()),e.Kh()&&(s.a+=" eClass: ",qc(s,e.Kh())),s.a+=")"):e.Kh()&&(s.a+=" (eClass: ",qc(s,e.Kh()),s.a+=")"),s.a}i(Pp,"awd");function l9(e){var n,s,u,d;if(e.e)throw me(new Cl((C1(Fge),gde+Fge.k+mde)));for(e.d==(Ts(),s0)&&yX(e,_l),s=new ge(e.a.a);s.a>24}return s}i(Rvn,"Hqe");function Lvn(e,n,s){var u,d,g;if(d=y(gl(e.i,n),314),!d)if(d=new bMt(e.d,n,s),w5(e.i,n,d),GLe(n))IJr(e.a,n.c,n.b,d);else switch(g=fyn(n),u=y(gl(e.p,g),252),g.g){case 1:case 3:d.j=!0,Xse(u,n.b,d);break;case 4:case 2:d.k=!0,Xse(u,n.c,d)}return d}i(Lvn,"cNb");function Dvn(e,n){var s,u,d,g,x,k,A,D,N;for(A=Dm(e.c-e.b&e.a.length-1),D=null,N=null,g=new vM(e);g.a!=g.b;)d=y(cK(g),10),s=(k=y(oe(d,(At(),wg)),12),k?k.i:null),u=(x=y(oe(d,ep),12),x?x.i:null),(D!=s||N!=u)&&(gFt(A,n),D=s,N=u),zr(A.c,d);gFt(A,n)}i(Dvn,"Ndc");function _vn(e,n,s,u){var d,g,x,k,A,D;if(k=new XH,A=Iu(e.e.Dh(),n),d=y(e.g,124),el(),y(n,69).xk())for(x=0;x=0)return d;for(g=1,k=new ge(n.j);k.a=0)return d;for(g=1,k=new ge(n.j);k.a0&&n.Ne((_r(d-1,e.c.length),y(e.c[d-1],10)),g)>0;)cd(e,d,(_r(d-1,e.c.length),y(e.c[d-1],10))),--d;_r(d,e.c.length),e.c[d]=g}s.a=new zn,s.b=new zn}i(GFt,"wLc");function Mvn(e,n,s){var u,d,g,x,k,A,D,N;for(N=(u=y(n.e&&n.e(),9),new ad(u,y(Dp(u,u.length),9),0)),A=s3(s,"[\\[\\]\\s,]+"),g=A,x=0,k=g.length;x=0?(n||(n=new R_,u>0&&pl(n,(wo(0,u,e.length),e.substr(0,u)))),n.a+="\\",P8(n,s&ks)):n&&P8(n,s&ks);return n?n.a:e}i(Ivn,"tse");function Nvn(e){var n,s,u;for(s=new ge(e.a.a.b);s.a0&&(!(k1(e.a.c)&&n.n.d)&&!(X4(e.a.c)&&n.n.b)&&(n.g.d-=p.Math.max(0,u/2-.5)),!(k1(e.a.c)&&n.n.a)&&!(X4(e.a.c)&&n.n.c)&&(n.g.a+=p.Math.max(0,u-1)))}i(Nvn,"MYb");function jFt(e,n,s){var u,d;if((e.c-e.b&e.a.length-1)==2)n==(Bt(),en)||n==pn?(OY(y(PM(e),15),(If(),Jm)),OY(y(PM(e),15),Iv)):(OY(y(PM(e),15),(If(),Iv)),OY(y(PM(e),15),Jm));else for(d=new vM(e);d.a!=d.b;)u=y(cK(d),15),OY(u,s)}i(jFt,"Ydc");function Ovn(e,n){var s,u,d,g,x,k,A;for(d=_8(new wSe(e)),k=new vo(d,d.c.length),g=_8(new wSe(n)),A=new vo(g,g.c.length),x=null;k.b>0&&A.b>0&&(s=(Sn(k.b>0),y(k.a.Xb(k.c=--k.b),27)),u=(Sn(A.b>0),y(A.a.Xb(A.c=--A.b),27)),s==u);)x=s;return x}i(Ovn,"HGd");function zFt(e,n,s){var u,d,g,x;URt(e,n)>URt(e,s)?(u=ac(s,(Bt(),pn)),e.d=u.dc()?0:Cle(y(u.Xb(0),12)),x=ac(n,on),e.b=x.dc()?0:Cle(y(x.Xb(0),12))):(d=ac(s,(Bt(),on)),e.d=d.dc()?0:Cle(y(d.Xb(0),12)),g=ac(n,pn),e.b=g.dc()?0:Cle(y(g.Xb(0),12)))}i(zFt,"Dmc");function UFt(e,n){var s,u,d,g;for(s=e.o.a,g=y(y(ta(e.r,n),21),87).Kc();g.Ob();)d=y(g.Pb(),117),d.e.a=s*Qe(rt(d.b.of(jQ))),d.e.b=(u=d.b,u.pf((_i(),ef))?u.ag()==(Bt(),en)?-u.Mf().b-Qe(rt(u.of(ef))):Qe(rt(u.of(ef))):u.ag()==(Bt(),en)?-u.Mf().b:0)}i(UFt,"wNb");function Pvn(e,n){var s,u,d,g;for(n.Ug("Self-Loop pre-processing",1),u=new ge(e.a);u.ae.c));x++)d.a>=e.s&&(g<0&&(g=x),k=x);return A=(e.s+e.c)/2,g>=0&&(u=Cxn(e,n,g,k),A=TQr((_r(u,n.c.length),y(n.c[u],339))),Lbn(n,u,s)),A}i(Fvn,"mTc");function ai(e,n,s){var u,d,g,x,k,A,D;for(x=(g=new GEe,g),pRe(x,(ln(n),n)),D=(!x.b&&(x.b=new ff((Lr(),Jo),wc,x)),x.b),A=1;A0&&w3n(this,d)}i(VFt,"DSb");function B_e(e,n,s,u,d,g){var x,k,A;if(!d[n.a]){for(d[n.a]=!0,x=u,!x&&(x=new vY),It(x.e,n),A=g[n.a].Kc();A.Ob();)k=y(A.Pb(),290),!(k.d==s||k.c==s)&&(k.c!=n&&B_e(e,k.c,n,x,d,g),k.d!=n&&B_e(e,k.d,n,x,d,g),It(x.c,k),Rs(x.d,k.b));return x}return null}i(B_e,"zTb");function $vn(e){var n,s,u,d,g,x,k;for(n=0,d=new ge(e.e);d.a=2}i($vn,"v7b");function Gvn(e,n,s,u,d){var g,x,k,A,D,N;for(g=e.c.d.j,x=y(yd(s,0),8),N=1;N1||(n=Sa(Hp,Te(we(ul,1),kt,95,0,[K1,qp])),$F(sY(n,e))>1)||(u=Sa(Yp,Te(we(ul,1),kt,95,0,[Zm,rp])),$F(sY(u,e))>1))}i(jvn,"fod");function F_e(e,n,s){var u,d,g;for(g=new ge(e.t);g.a0&&(u.b.n-=u.c,u.b.n<=0&&u.b.u>0&&ki(n,u.b));for(d=new ge(e.i);d.a0&&(u.a.u-=u.c,u.a.u<=0&&u.a.n>0&&ki(s,u.a))}i(F_e,"$Uc");function QK(e){var n,s,u,d,g;if(e.g==null&&(e.d=e.bj(e.f),Jn(e,e.d),e.c))return g=e.f,g;if(n=y(e.g[e.i-1],51),d=n.Pb(),e.e=n,s=e.bj(d),s.Ob())e.d=s,Jn(e,s);else for(e.d=null;!n.Ob()&&(Ka(e.g,--e.i,null),e.i!=0);)u=y(e.g[e.i-1],51),n=u;return d}i(QK,"tId");function zvn(e,n){var s,u,d,g,x,k;if(u=n,d=u.Lk(),j1(e.e,d)){if(d.Si()&&pY(e,d,u.md()))return!1}else for(k=Iu(e.e.Dh(),d),s=y(e.g,124),g=0;g1||s>1)return 2;return n+s==1?2:0}i(Wvn,"AOc");function Kh(e,n){var s,u,d,g,x,k;return g=e.a*hde+e.b*1502,k=e.b*hde+11,s=p.Math.floor(k*W$),g+=s,k-=s*l9e,g%=l9e,e.a=g,e.b=k,n<=24?p.Math.floor(e.a*bPe[n]):(d=e.a*(1<=2147483648&&(u-=4294967296),u)}i(Kh,"Kwb");function YFt(e,n,s){var u,d,g,x,k,A,D;for(g=new Mt,D=new Da,x=new Da,ukn(e,D,x,n),z3n(e,D,x,n,s),A=new ge(e);A.au.b.g&&zr(g.c,u);return g}i(YFt,"uSc");function Yvn(e,n,s){var u,d,g,x,k,A;for(k=e.c,x=(s.q?s.q:(Dr(),Dr(),Wm)).vc().Kc();x.Ob();)g=y(x.Pb(),44),u=!b8(Zi(new Tr(null,new Ar(k,16)),new c8(new iSt(n,g)))).Bd((M2(),u6)),u&&(A=g.md(),$e(A,4)&&(d=ULe(A),d!=null&&(A=d)),n.qf(y(g.ld(),149),A))}i(Yvn,"jed");function Kvn(e,n,s){var u,d;if(oF(e.b),cg(e.b,(e$(),wZ),(I_(),aj)),cg(e.b,xZ,n.g),cg(e.b,TZ,n.a),e.a=I$(e.b,n),s.Ug("Compaction by shrinking a tree",e.a.c.length),n.i.c.length>1)for(d=new ge(e.a);d.a=0?e.Lh(u,!0,!0):Jx(e,g,!0),160)),y(d,220).Xl(n,s)}else throw me(new Jr(wv+n.xe()+j9))}i(G_e,"Svd");function JK(e,n){var s,u,d,g,x;if(n){for(g=$e(e.Cb,90)||$e(e.Cb,102),x=!g&&$e(e.Cb,331),u=new gn((!n.a&&(n.a=new cM(n,hl,n)),n.a));u.e!=u.i.gc();)if(s=y(xn(u),89),d=hX(s),g?$e(d,90):x?$e(d,156):d)return d;return g?(Lr(),op):(Lr(),c0)}else return null}i(JK,"k2d");function Xvn(e,n){var s,u,d,g;for(n.Ug("Resize child graph to fit parent.",1),u=new ge(e.b);u.a=2*n&&It(s,new ble(x[u-1]+n,x[u]-n));return s}i(Jvn,"pTc");function Zvn(e,n,s){var u,d,g,x,k,A,D,N;if(s)for(g=s.a.length,u=new O2(g),k=(u.b-u.a)*u.c<0?(qb(),zv):new Kb(u);k.Ob();)x=y(k.Pb(),17),d=U8(s,x.a),d&&(T=null,A=Lon(e,(D=(Vb(),N=new $Se,N),n&&j_e(D,n),D),d),n7(A,A1(d,J0)),UK(d,A),h_e(d,A),vue(e,d,A))}i(Zvn,"dEd");function ZK(e){var n,s,u,d,g,x;if(!e.j){if(x=new xbt,n=sN,g=n.a.zc(e,n),g==null){for(u=new gn(Ol(e));u.e!=u.i.gc();)s=y(xn(u),29),d=ZK(s),ts(x,d),Jn(x,s);n.a.Bc(e)!=null}qk(x),e.j=new Y4((y(Ge(vt((Qb(),qr).o),11),19),x.i),x.g),qh(e).b&=-33}return e.j}i(ZK,"sYd");function e2n(e){var n,s,u,d;if(e==null)return null;if(u=Qc(e,!0),d=yG.length,kr(u.substr(u.length-d,d),yG)){if(s=u.length,s==4){if(n=(Zr(0,u.length),u.charCodeAt(0)),n==43)return qVe;if(n==45)return wir}else if(s==3)return qVe}return new RSe(u)}i(e2n,"lne");function t2n(e){var n,s,u;return s=e.l,(s&s-1)!=0||(u=e.m,(u&u-1)!=0)||(n=e.h,(n&n-1)!=0)||n==0&&u==0&&s==0?-1:n==0&&u==0&&s!=0?iRe(s):n==0&&u!=0&&s==0?iRe(u)+22:n!=0&&u==0&&s==0?iRe(n)+44:-1}i(t2n,"pD");function kC(e,n){var s,u,d,g,x;for(d=n.a&e.f,g=null,u=e.b[d];;u=u.b){if(u==n){g?g.b=n.b:e.b[d]=n.b;break}g=u}for(x=n.f&e.f,g=null,s=e.c[x];;s=s.d){if(s==n){g?g.d=n.d:e.c[x]=n.d;break}g=s}n.e?n.e.c=n.c:e.a=n.c,n.c?n.c.e=n.e:e.e=n.e,--e.i,++e.g}i(kC,"yo");function r2n(e,n){var s;n.d?n.d.b=n.b:e.a=n.b,n.b?n.b.d=n.d:e.e=n.d,!n.e&&!n.c?(s=y(Ud(y(L5(e.b,n.a),260)),260),s.a=0,++e.c):(s=y(Ud(y(mn(e.b,n.a),260)),260),--s.a,n.e?n.e.c=n.c:s.b=y(Ud(n.c),511),n.c?n.c.e=n.e:s.c=y(Ud(n.e),511)),--e.d}i(r2n,"Dt");function n2n(e){var n,s,u,d,g,x,k,A,D,N;for(s=e.o,n=e.p,x=Yi,d=No,k=Yi,g=No,D=0;D0),g.a.Xb(g.c=--g.b),Dk(g,d),Sn(g.b3&&Pm(e,0,n-3))}i(i2n,"yA");function a2n(e){var n,s,u,d;return Ze(oe(e,(Ht(),L3)))===Ze((O1(),ab))?!e.e&&Ze(oe(e,jG))!==Ze((c7(),OG)):(u=y(oe(e,tme),299),d=Kt(Yt(oe(e,rme)))||Ze(oe(e,yI))===Ze((DM(),NG)),n=y(oe(e,E$e),17).a,s=e.a.c.length,!d&&u!=(c7(),OG)&&(n==0||n>s))}i(a2n,"eXb");function s2n(e){var n,s;for(s=0;s0);s++);if(s>0&&s0);n++);return n>0&&s>16!=6&&n){if(R7(e,n))throw me(new Jr(z9+hFt(e)));u=null,e.Cb&&(u=(s=e.Db>>16,s>=0?uDe(e,u):e.Cb.Th(e,-1-s,null,u))),n&&(u=G5(n,e,6,u)),u=Y6e(e,n,u),u&&u.oj()}else(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,6,n,n))}i(QFt,"Mzd");function eX(e,n){var s,u;if(n!=e.Cb||e.Db>>16!=3&&n){if(R7(e,n))throw me(new Jr(z9+JGt(e)));u=null,e.Cb&&(u=(s=e.Db>>16,s>=0?pDe(e,u):e.Cb.Th(e,-1-s,null,u))),n&&(u=G5(n,e,12,u)),u=K6e(e,n,u),u&&u.oj()}else(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,3,n,n))}i(eX,"pzd");function j_e(e,n){var s,u;if(n!=e.Cb||e.Db>>16!=9&&n){if(R7(e,n))throw me(new Jr(z9+X$t(e)));u=null,e.Cb&&(u=(s=e.Db>>16,s>=0?fDe(e,u):e.Cb.Th(e,-1-s,null,u))),n&&(u=G5(n,e,9,u)),u=X6e(e,n,u),u&&u.oj()}else(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,9,n,n))}i(j_e,"NCd");function P7(e){var n,s,u,d,g;if(u=Wd(e),g=e.j,g==null&&u)return e.Jk()?null:u.ik();if($e(u,156)){if(s=u.jk(),s&&(d=s.wi(),d!=e.i)){if(n=y(u,156),n.nk())try{e.g=d.ti(n,g)}catch(x){if(x=$a(x),$e(x,82))e.g=null;else throw me(x)}e.i=d}return e.g}return null}i(P7,"tWd");function JFt(e){var n;return n=new Mt,It(n,new a5(new St(e.c,e.d),new St(e.c+e.b,e.d))),It(n,new a5(new St(e.c,e.d),new St(e.c,e.d+e.a))),It(n,new a5(new St(e.c+e.b,e.d+e.a),new St(e.c+e.b,e.d))),It(n,new a5(new St(e.c+e.b,e.d+e.a),new St(e.c,e.d+e.a))),n}i(JFt,"nRb");function o2n(e){var n,s,u;if(e==null)return Xu;try{return Hl(e)}catch(d){if(d=$a(d),$e(d,103))return n=d,u=_2(gf(e))+"@"+(s=(T1(),zLe(e)>>>0),s.toString(16)),xpn(shn(),(T8(),"Exception during lenientFormat for "+u),n),"<"+u+" threw "+_2(n.Rm)+">";throw me(d)}}i(o2n,"ic");function l2n(e,n,s){var u,d,g;for(g=n.a.ec().Kc();g.Ob();)d=y(g.Pb(),74),u=y(mn(e.b,d),272),!u&&(Oa(Fm(d))==Oa(uv(d))?K2n(e,d,s):Fm(d)==Oa(uv(d))?mn(e.c,d)==null&&mn(e.b,uv(d))!=null&&Djt(e,d,s,!1):mn(e.d,d)==null&&mn(e.b,Fm(d))!=null&&Djt(e,d,s,!0))}i(l2n,"mTb");function c2n(e,n){var s,u,d,g,x,k,A;for(d=e.Kc();d.Ob();)for(u=y(d.Pb(),10),k=new Gc,rc(k,u),$s(k,(Bt(),pn)),Tt(k,(At(),IJ),(Hr(),!0)),x=n.Kc();x.Ob();)g=y(x.Pb(),10),A=new Gc,rc(A,g),$s(A,on),Tt(A,IJ,!0),s=new Ix,Tt(s,IJ,!0),Fo(s,k),ho(s,A)}i(c2n,"Pfc");function u2n(e,n,s,u){var d,g,x,k;d=PNt(e,n,s),g=PNt(e,s,n),x=y(mn(e.c,n),118),k=y(mn(e.c,s),118),d1)for(n=wx((s=new D2,++e.b,s),e.d),k=Hn(g,0);k.b!=k.d.c;)x=y(Un(k),125),Bp(Ap(Sp(Rp(Ep(new jd,1),0),n),x))}i(f2n,"Glc");function d2n(e,n,s){var u,d,g,x,k;for(s.Ug("Breaking Point Removing",1),e.a=y(oe(n,(Ht(),Y1)),223),g=new ge(n.b);g.a>16!=11&&n){if(R7(e,n))throw me(new Jr(z9+oMe(e)));u=null,e.Cb&&(u=(s=e.Db>>16,s>=0?gDe(e,u):e.Cb.Th(e,-1-s,null,u))),n&&(u=G5(n,e,10,u)),u=aAe(e,n,u),u&&u.oj()}else(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,11,n,n))}i(tX,"yCd");function p2n(e){var n,s,u,d;for(u=new q2(new R2(e.b).a);u.b;)s=Ux(u),d=y(s.ld(),12),n=y(s.md(),10),Tt(n,(At(),ra),d),Tt(d,Mh,n),Tt(d,FG,(Hr(),!0)),$s(d,y(oe(n,vc),64)),oe(n,vc),Tt(d.i,(Ht(),ns),(fo(),QR)),y(oe(Eo(d.i),ru),21).Fc((sl(),_R))}i(p2n,"C0b");function g2n(e,n,s){var u,d,g,x,k,A;if(g=0,x=0,e.c)for(A=new ge(e.d.i.j);A.ag.a?-1:d.aA){for(N=e.d,e.d=ot(yVe,ROe,66,2*A+4,0,1),g=0;g=9223372036854776e3?(K8(),KOe):(d=!1,e<0&&(d=!0,e=-e),u=0,e>=nw&&(u=Fs(e/nw),e-=u*nw),s=0,e>=J5&&(s=Fs(e/J5),e-=s*J5),n=Fs(e),g=Au(n,s,u),d&&wue(g),g)}i(E2n,"vD");function S2n(e){var n,s,u,d,g;if(g=new Mt,Lu(e.b,new Sxt(g)),e.b.c.length=0,g.c.length!=0){for(n=(_r(0,g.c.length),y(g.c[0],82)),s=1,u=g.c.length;s=-n&&u==n?new Bs(_t(s-1),_t(u)):new Bs(_t(s),_t(u-1))}i(R2n,"vPb");function t$t(){return jo(),Te(we(FEn,1),kt,81,0,[NBe,_Be,HC,p0e,ZBe,nJ,dJ,C3,QBe,zBe,KBe,k3,JBe,$Be,eFe,EBe,oJ,g0e,tJ,uJ,rFe,cJ,SBe,XBe,nFe,hJ,tFe,rJ,PBe,WBe,qBe,pJ,LBe,eJ,aJ,RBe,wR,VBe,GBe,YBe,sI,MBe,DBe,HBe,jBe,sJ,fJ,ABe,lJ,UBe,iJ,BBe,OBe,_G,ZQ,FBe,IBe])}i(t$t,"lcc");function L2n(e,n,s){e.d=0,e.b=0,n.k==(sn(),tu)&&s.k==tu&&y(oe(n,(At(),ra)),10)==y(oe(s,ra),10)&&(Gce(n).j==(Bt(),en)?zFt(e,n,s):zFt(e,s,n)),n.k==tu&&s.k==ro?Gce(n).j==(Bt(),en)?e.d=1:e.b=1:s.k==tu&&n.k==ro&&(Gce(s).j==(Bt(),en)?e.b=1:e.d=1),dgn(e,n,s)}i(L2n,"Cmc");function D2n(e){var n,s,u,d,g,x,k,A,D,N,B;return B=$De(e),n=e.a,A=n!=null,A&&M8(B,"category",e.a),d=bB(new A2(e.d)),x=!d,x&&(D=new E2,dg(B,"knownOptions",D),s=new o3t(D),So(new A2(e.d),s)),g=bB(e.g),k=!g,k&&(N=new E2,dg(B,"supportedFeatures",N),u=new l3t(N),So(e.g,u)),B}i(D2n,"EFd");function _2n(e){var n,s,u,d,g,x,k,A,D;for(u=!1,n=336,s=0,g=new V6t(e.length),k=e,A=0,D=k.length;A>16!=7&&n){if(R7(e,n))throw me(new Jr(z9+lBt(e)));u=null,e.Cb&&(u=(s=e.Db>>16,s>=0?hDe(e,u):e.Cb.Th(e,-1-s,null,u))),n&&(u=y(n,54).Rh(e,1,Cj,u)),u=JAe(e,n,u),u&&u.oj()}else(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,7,n,n))}i(H_e,"eCd");function r$t(e,n){var s,u;if(n!=e.Cb||e.Db>>16!=3&&n){if(R7(e,n))throw me(new Jr(z9+sNt(e)));u=null,e.Cb&&(u=(s=e.Db>>16,s>=0?dDe(e,u):e.Cb.Th(e,-1-s,null,u))),n&&(u=y(n,54).Rh(e,0,Sj,u)),u=ZAe(e,n,u),u&&u.oj()}else(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,3,n,n))}i(r$t,"lVd");function Qhe(e,n){B7();var s,u,d,g,x,k,A,D,N;return n.d>e.d&&(k=e,e=n,n=k),n.d<63?vwn(e,n):(x=(e.d&-2)<<4,D=b7e(e,x),N=b7e(n,x),u=yfe(e,R5(D,x)),d=yfe(n,R5(N,x)),A=Qhe(D,N),s=Qhe(u,d),g=Qhe(yfe(D,u),yfe(d,N)),g=Cfe(Cfe(g,A),s),g=R5(g,x),A=R5(A,x<<1),Cfe(Cfe(A,g),s))}i(Qhe,"Mjb");function qy(){qy=z,mme=new V4(aVt,0),hGe=new V4("LONGEST_PATH",1),fGe=new V4("LONGEST_PATH_SOURCE",2),gme=new V4("COFFMAN_GRAHAM",3),uGe=new V4(Gde,4),dGe=new V4("STRETCH_WIDTH",5),QJ=new V4("MIN_WIDTH",6),$R=new V4("BF_MODEL_ORDER",7),GR=new V4("DF_MODEL_ORDER",8)}i(qy,"_Cc");function I2n(e,n,s){var u,d,g,x,k;for(x=jM(e,s),k=ot(Km,Yy,10,n.length,0,1),u=0,g=x.Kc();g.Ob();)d=y(g.Pb(),12),Kt(Yt(oe(d,(At(),FG))))&&(k[u++]=y(oe(d,Mh),10));if(u=0;g+=s?1:-1)x=x|n.c.lg(A,g,s,u&&!Kt(Yt(oe(n.j,(At(),Sv))))&&!Kt(Yt(oe(n.j,(At(),ZC))))),x=x|n.q.ug(A,g,s),x=x|U$t(e,A[g],s,u);return As(e.c,n),x}i(E$,"DKc");function nX(e,n,s){var u,d,g,x,k,A,D,N,B,U;for(N=TLt(e.j),B=0,U=N.length;B1&&(e.a=!0),fnn(y(s.b,68),Xi(ko(y(n.b,68).c),N0(Us(ko(y(s.b,68).a),y(n.b,68).a),d))),LRt(e,n),n$t(e,s)}i(n$t,"Qdd");function i$t(e){var n,s,u,d,g,x,k;for(g=new ge(e.a.a);g.a0&&g>0?x.p=n++:u>0?x.p=s++:g>0?x.p=d++:x.p=s++}Dr(),gs(e.j,new Ppt)}i(B2n,"Hfc");function F2n(e){var n,s;s=null,n=y(Xt(e.g,0),18);do{if(s=n.d.i,Ea(s,(At(),ep)))return y(oe(s,ep),12).i;if(s.k!=(sn(),ls)&&qn(new bn(wn(fs(s).a.Kc(),new I))))n=y(Mn(new bn(wn(fs(s).a.Kc(),new I))),18);else if(s.k!=ls)return null}while(s&&s.k!=(sn(),ls));return s}i(F2n,"zic");function $2n(e,n){var s,u,d,g,x,k,A,D,N;for(k=n.j,x=n.g,A=y(Xt(k,k.c.length-1),113),N=(_r(0,k.c.length),y(k.c[0],113)),D=bhe(e,x,A,N),g=1;gD&&(A=s,N=d,D=u);n.a=N,n.c=A}i($2n,"sqc");function G2n(e,n,s){var u,d,g,x,k,A,D;for(D=new Cy(new HTt(e)),x=Te(we(PKt,1),LUt,12,0,[n,s]),k=0,A=x.length;kA-e.b&&kA-e.a&&k0?g.a?(k=g.b.Mf().a,s>k&&(d=(s-k)/2,g.d.b=d,g.d.c=d)):g.d.c=e.s+s:hM(e.u)&&(u=GDe(g.b),u.c<0&&(g.d.b=-u.c),u.c+u.b>g.b.Mf().a&&(g.d.c=u.c+u.b-g.b.Mf().a))}i(rwn,"yMb");function nwn(e,n){var s,u,d,g,x;x=new Mt,s=n;do g=y(mn(e.b,s),131),g.B=s.c,g.D=s.d,zr(x.c,g),s=y(mn(e.k,s),18);while(s);return u=(_r(0,x.c.length),y(x.c[0],131)),u.j=!0,u.A=y(u.d.a.ec().Kc().Pb(),18).c.i,d=y(Xt(x,x.c.length-1),131),d.q=!0,d.C=y(d.d.a.ec().Kc().Pb(),18).d.i,x}i(nwn,"RUc");function iwn(e){var n,s;if(n=y(e.a,17).a,s=y(e.b,17).a,n>=0){if(n==s)return new Bs(_t(-n-1),_t(-n-1));if(n==-s)return new Bs(_t(-n),_t(s+1))}return p.Math.abs(n)>p.Math.abs(s)?n<0?new Bs(_t(-n),_t(s)):new Bs(_t(-n),_t(s+1)):new Bs(_t(n+1),_t(s))}i(iwn,"pPb");function awn(e){var n,s;s=y(oe(e,(Ht(),Pu)),171),n=y(oe(e,(At(),gw)),311),s==(md(),Av)?(Tt(e,Pu,GG),Tt(e,gw,(M1(),QC))):s==A3?(Tt(e,Pu,GG),Tt(e,gw,(M1(),p6))):n==(M1(),QC)?(Tt(e,Pu,Av),Tt(e,gw,PG)):n==p6&&(Tt(e,Pu,A3),Tt(e,gw,PG))}i(awn,"H8b");function iX(){iX=z,KG=new Tmt,KZt=Si(new ws,(Io(),zc),(jo(),tJ)),JZt=uh(Si(new ws,zc,cJ),$l,lJ),ZZt=j0(j0(O_(uh(Si(new ws,zp,dJ),$l,fJ),eu),hJ),pJ),XZt=uh(Si(Si(Si(new ws,Ym,nJ),eu,aJ),eu,wR),$l,iJ),QZt=uh(Si(Si(new ws,eu,wR),eu,eJ),$l,ZQ)}i(iX,"dSc");function h9(){h9=z,rer=Si(uh(new ws,(Io(),$l),(jo(),BBe)),zc,tJ),ser=j0(j0(O_(uh(Si(new ws,zp,dJ),$l,fJ),eu),hJ),pJ),ner=uh(Si(Si(Si(new ws,Ym,nJ),eu,aJ),eu,wR),$l,iJ),aer=Si(Si(new ws,zc,cJ),$l,lJ),ier=uh(Si(Si(new ws,eu,wR),eu,eJ),$l,ZQ)}i(h9,"HUc");function swn(e,n,s,u,d){var g,x;(!Ko(n)&&n.c.i.c==n.d.i.c||!o9t(ic(Te(we(Xs,1),Lt,8,0,[d.i.n,d.n,d.a])),s))&&!Ko(n)&&(n.c==d?S8(n.a,0,new Uo(s)):ki(n.a,new Uo(s)),u&&!og(e.a,s)&&(x=y(oe(n,(Ht(),Dl)),75),x||(x=new sh,Tt(n,Dl,x)),g=new Uo(s),Xa(x,g,x.c.b,x.c),As(e.a,g)))}i(swn,"eSc");function o$t(e,n){var s,u,d,g;for(g=oi(Go(zm,Nm(oi(Go(n==null?0:ka(n),Um)),15))),s=g&e.b.length-1,d=null,u=e.b[s];u;d=u,u=u.a)if(u.d==g&&B0(u.i,n))return d?d.a=u.a:e.b[s]=u.a,F4t(y(Ud(u.c),604),y(Ud(u.f),604)),dB(y(Ud(u.b),227),y(Ud(u.e),227)),--e.f,++e.e,!0;return!1}i(o$t,"ht");function own(e){var n,s;for(s=new bn(wn(Ks(e).a.Kc(),new I));qn(s);)if(n=y(Mn(s),18),n.c.i.k!=(sn(),Nc))throw me(new xy($de+l$(e)+"' has its layer constraint set to FIRST, but has at least one incoming edge that does not come from a FIRST_SEPARATE node. That must not happen."))}i(own,"dec");function lwn(e,n,s){var u,d,g,x,k,A,D;if(d=hNt(e.Db&254),d==0)e.Eb=s;else{if(d==1)k=ot(Hs,Gr,1,2,5,1),g=yhe(e,n),g==0?(k[0]=s,k[1]=e.Eb):(k[0]=e.Eb,k[1]=s);else for(k=ot(Hs,Gr,1,d+1,5,1),x=U2(e.Eb),u=2,A=0,D=0;u<=128;u<<=1)u==n?k[D++]=s:(e.Db&u)!=0&&(k[D++]=x[A++]);e.Eb=k}e.Db|=n}i(lwn,"Twd");function l$t(e,n,s){var u,d,g,x;for(this.b=new Mt,d=0,u=0,x=new ge(e);x.a0&&(g=y(Xt(this.b,0),176),d+=g.o,u+=g.p),d*=2,u*=2,n>1?d=Fs(p.Math.ceil(d*n)):u=Fs(p.Math.ceil(u/n)),this.a=new MLe(d,u)}i(l$t,"vQb");function c$t(e,n,s,u,d,g){var x,k,A,D,N,B,U,ee,ne,ue,fe,xe;for(N=u,n.j&&n.o?(ee=y(mn(e.f,n.A),60),ue=ee.d.c+ee.d.b,--N):ue=n.a.c+n.a.b,B=d,s.q&&s.o?(ee=y(mn(e.f,s.C),60),D=ee.d.c,++B):D=s.a.c,fe=D-ue,A=p.Math.max(2,B-N),k=fe/A,ne=ue+k,U=N;U=0;x+=d?1:-1){for(k=n[x],A=u==(Bt(),pn)?d?ac(k,u):gd(ac(k,u)):d?gd(ac(k,u)):ac(k,u),g&&(e.c[k.p]=A.gc()),B=A.Kc();B.Ob();)N=y(B.Pb(),12),e.d[N.p]=D++;Rs(s,A)}}i(Y_e,"sMc");function h$t(e,n,s){var u,d,g,x,k,A,D,N;for(g=Qe(rt(e.b.Kc().Pb())),D=Qe(rt(ahn(n.b))),u=N0(ko(e.a),D-s),d=N0(ko(n.a),s-g),N=Xi(u,d),N0(N,1/(D-g)),this.a=N,this.b=new Mt,k=!0,x=e.b.Kc(),x.Pb();x.Ob();)A=Qe(rt(x.Pb())),k&&A-s>vpe&&(this.b.Fc(s),k=!1),this.b.Fc(A);k&&this.b.Fc(s)}i(h$t,"AUc");function cwn(e){var n,s,u,d;if(Axn(e,e.n),e.d.c.length>0){for(S_(e.c);L_e(e,y(pe(new ge(e.e.a)),125))>5,n&=31,u>=e.d)return e.e<0?(z0(),bWt):(z0(),tI);if(g=e.d-u,d=ot(ei,Ai,28,g+1,15,1),eyn(d,g,e.a,u,n),e.e<0){for(s=0;s0&&e.a[s]<<32-n!=0){for(s=0;s=0?!1:(s=RC((dh(),Lo),d,n),s?(u=s.Ik(),(u>1||u==-1)&&_x(Sl(Lo,s))!=3):!0)):!1}i(j1,"qke");function dwn(e,n,s,u){var d,g,x,k,A;return k=Fl(y(Ge((!n.b&&(n.b=new Ir(Pn,n,4,7)),n.b),0),84)),A=Fl(y(Ge((!n.c&&(n.c=new Ir(Pn,n,5,8)),n.c),0),84)),Oa(k)==Oa(A)||Uk(A,k)?null:(x=dF(n),x==s?u:(g=y(mn(e.a,x),10),g&&(d=g.e,d)?d:null))}i(dwn,"_4b");function pwn(e,n,s){var u,d,g,x,k;for(s.Ug("Longest path to source layering",1),e.a=n,k=e.a.a,e.b=ot(ei,Ai,28,k.c.length,15,1),u=0,x=new ge(k);x.a0&&(s[0]+=e.d,x-=s[0]),s[2]>0&&(s[2]+=e.d,x-=s[2]),g=p.Math.max(0,x),s[1]=p.Math.max(s[1],x),w7e(e,bu,d.c+u.b+s[0]-(s[1]-x)/2,s),n==bu&&(e.c.b=g,e.c.c=d.c+u.b+(g-x)/2)}i(w$t,"nKb");function x$t(){this.c=ot(co,yl,28,(Bt(),Te(we(Qo,1),Mc,64,0,[oc,en,pn,Gn,on])).length,15,1),this.b=ot(co,yl,28,Te(we(Qo,1),Mc,64,0,[oc,en,pn,Gn,on]).length,15,1),this.a=ot(co,yl,28,Te(we(Qo,1),Mc,64,0,[oc,en,pn,Gn,on]).length,15,1),k5e(this.c,Pa),k5e(this.b,Ls),k5e(this.a,Ls)}i(x$t,"D_b");function Xc(e,n,s){var u,d,g,x;if(n<=s?(d=n,g=s):(d=s,g=n),u=0,e.b==null)e.b=ot(ei,Ai,28,2,15,1),e.b[0]=d,e.b[1]=g,e.c=!0;else{if(u=e.b.length,e.b[u-1]+1==d){e.b[u-1]=g;return}x=ot(ei,Ai,28,u+2,15,1),jc(e.b,0,x,0,u),e.b=x,e.b[u-1]>=d&&(e.c=!1,e.a=!1),e.b[u++]=d,e.b[u]=g,e.c||TC(e)}}i(Xc,"rte");function wwn(e,n,s){var u,d,g,x,k,A,D;for(D=n.d,e.a=new pu(D.c.length),e.c=new zn,k=new ge(D);k.a=0?e.Lh(D,!1,!0):Jx(e,s,!1),61));e:for(g=B.Kc();g.Ob();){for(d=y(g.Pb(),58),N=0;N1;)i3(d,d.i-1);return u}i(CC,"IGd");function k$t(e,n){var s,u,d,g,x,k,A;for(s=new tC,g=new ge(e.b);g.ae.d[x.p]&&(s+=f7e(e.b,g),tv(e.a,_t(g)));for(;!A_(e.a);)H7e(e.b,y(v5(e.a),17).a)}return s}i(Q_e,"iMc");function Swn(e){var n,s,u,d,g,x,k,A,D;for(e.a=new iAe,D=0,d=0,u=new ge(e.i.b);u.ak.d&&(N=k.d+k.a+D));s.c.d=N,n.a.zc(s,n),A=p.Math.max(A,s.c.d+s.c.a)}return A}i(Awn,"LNb");function sl(){sl=z,SJ=new kk("COMMENTS",0),kd=new kk("EXTERNAL_PORTS",1),uI=new kk("HYPEREDGES",2),AJ=new kk("HYPERNODES",3),_R=new kk("NON_FREE_PORTS",4),XC=new kk("NORTH_SOUTH_PORTS",5),hI=new kk(WUt,6),LR=new kk("CENTER_LABELS",7),DR=new kk("END_LABELS",8),RJ=new kk("PARTITIONS",9)}i(sl,"ovc");function Rwn(e,n,s,u,d){return u<0?(u=xC(e,d,Te(we(Jt,1),Lt,2,6,[Gfe,jfe,zfe,Ufe,X5,Vfe,Hfe,qfe,Wfe,Yfe,Kfe,Xfe]),n),u<0&&(u=xC(e,d,Te(we(Jt,1),Lt,2,6,["Jan","Feb","Mar","Apr",X5,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),n)),u<0?!1:(s.k=u,!0)):u>0?(s.k=u-1,!0):!1}i(Rwn,"PA");function Lwn(e,n,s,u,d){return u<0?(u=xC(e,d,Te(we(Jt,1),Lt,2,6,[Gfe,jfe,zfe,Ufe,X5,Vfe,Hfe,qfe,Wfe,Yfe,Kfe,Xfe]),n),u<0&&(u=xC(e,d,Te(we(Jt,1),Lt,2,6,["Jan","Feb","Mar","Apr",X5,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),n)),u<0?!1:(s.k=u,!0)):u>0?(s.k=u-1,!0):!1}i(Lwn,"RA");function Dwn(e,n,s,u,d,g){var x,k,A,D;if(k=32,u<0){if(n[0]>=e.length||(k=Mo(e,n[0]),k!=43&&k!=45)||(++n[0],u=YK(e,n),u<0))return!1;k==45&&(u=-u)}return k==32&&n[0]-s==2&&d.b==2&&(A=new kq,D=A.q.getFullYear()-mv+mv-80,x=D%100,g.a=u==x,u+=(D/100|0)*100+(u=0?cv(e):gM(cv(Ny(e)))),rI[n]=eW(Mp(e,n),0)?cv(Mp(e,n)):gM(cv(Ny(Mp(e,n)))),e=Go(e,5);for(;n=D&&(A=u);A&&(N=p.Math.max(N,A.a.o.a)),N>U&&(B=D,U=N)}return B}i(Own,"gdc");function Pwn(e){var n,s,u,d,g,x,k;for(g=new Cy(y(li(new Tn),50)),k=Ls,s=new ge(e.d);s.avVt?gs(A,e.b):u<=vVt&&u>wVt?gs(A,e.d):u<=wVt&&u>xVt?gs(A,e.c):u<=xVt&&gs(A,e.a),g=R$t(e,A,g);return d}i(R$t,"$5c");function L$t(e,n,s,u){var d,g,x,k,A,D;for(d=(u.c+u.a)/2,Sf(n.j),ki(n.j,d),Sf(s.e),ki(s.e,d),D=new Q4t,k=new ge(e.f);k.a1,k&&(u=new St(d,s.b),ki(n.a,u)),LM(n.a,Te(we(Xs,1),Lt,8,0,[U,B]))}i($wn,"U7b");function J_e(e,n,s){var u,d;for(n=48;s--)uN[s]=s-48<<24>>24;for(u=70;u>=65;u--)uN[u]=u-65+10<<24>>24;for(d=102;d>=97;d--)uN[d]=d-97+10<<24>>24;for(g=0;g<10;g++)tee[g]=48+g&ks;for(e=10;e<=15;e++)tee[e]=65+e-10&ks}i(Z_e,"Gqe");function Gwn(e,n){n.Ug("Process graph bounds",1),Tt(e,(xa(),Fme),_B(cue(Ok(new Tr(null,new Ar(e.b,16)),new Zmt)))),Tt(e,$me,_B(cue(Ok(new Tr(null,new Ar(e.b,16)),new e1t)))),Tt(e,rje,_B(lue(Ok(new Tr(null,new Ar(e.b,16)),new t1t)))),Tt(e,nje,_B(lue(Ok(new Tr(null,new Ar(e.b,16)),new r1t)))),n.Vg()}i(Gwn,"yYc");function jwn(e){var n,s,u,d,g;d=y(oe(e,(Ht(),ww)),21),g=y(oe(e,WJ),21),s=new St(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),n=new Uo(s),d.Hc((mf(),z3))&&(u=y(oe(e,IR),8),g.Hc((Xh(),JR))&&(u.a<=0&&(u.a=20),u.b<=0&&(u.b=20)),n.a=p.Math.max(s.a,u.a),n.b=p.Math.max(s.b,u.b)),Kt(Yt(oe(e,lme)))||ykn(e,s,n)}i(jwn,"PWb");function zwn(e,n){var s,u,d,g;for(g=ac(n,(Bt(),Gn)).Kc();g.Ob();)u=y(g.Pb(),12),s=y(oe(u,(At(),Mh)),10),s&&Bp(Ap(Sp(Rp(Ep(new jd,0),.1),e.i[n.p].d),e.i[s.p].a));for(d=ac(n,en).Kc();d.Ob();)u=y(d.Pb(),12),s=y(oe(u,(At(),Mh)),10),s&&Bp(Ap(Sp(Rp(Ep(new jd,0),.1),e.i[s.p].d),e.i[n.p].a))}i(zwn,"lOc");function Zhe(e){var n,s,u,d,g,x;if(!e.c){if(x=new ybt,n=sN,g=n.a.zc(e,n),g==null){for(u=new gn($c(e));u.e!=u.i.gc();)s=y(xn(u),89),d=hX(s),$e(d,90)&&ts(x,Zhe(y(d,29))),Jn(x,s);n.a.Bc(e)!=null,n.a.gc()==0}Bdn(x),qk(x),e.c=new Y4((y(Ge(vt((Qb(),qr).o),15),19),x.i),x.g),qh(e).b&=-33}return e.c}i(Zhe,"oYd");function eMe(e){var n;if(e.c!=10)throw me(new yi(xi((hi(),mQ))));switch(n=e.a,n){case 110:n=10;break;case 114:n=13;break;case 116:n=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw me(new yi(xi((hi(),xd))))}return n}i(eMe,"Dre");function I$t(e){var n,s,u,d,g;if(e.l==0&&e.m==0&&e.h==0)return"0";if(e.h==U$&&e.m==0&&e.l==0)return"-9223372036854775808";if(e.h>>19!=0)return"-"+I$t(f7(e));for(s=e,u="";!(s.l==0&&s.m==0&&s.h==0);){if(d=Lce(CX),s=NMe(s,d,!0),n=""+nCt(xv),!(s.l==0&&s.m==0&&s.h==0))for(g=9-n.length;g>0;g--)n="0"+n;u=n+u}return u}i(I$t,"GD");function Uwn(e){var n,s,u,d,g,x,k;for(n=!1,s=0,d=new ge(e.d.b);d.a=e.a||!PDe(n,s))return-1;if(V8(y(u.Kb(n),20)))return 1;for(d=0,x=y(u.Kb(n),20).Kc();x.Ob();)if(g=y(x.Pb(),18),A=g.c.i==n?g.d.i:g.c.i,k=tMe(e,A,s,u),k==-1||(d=p.Math.max(d,k),d>e.c-1))return-1;return d+1}i(tMe,"X9b");function N$t(e,n){var s,u,d,g,x,k;if(Ze(n)===Ze(e))return!0;if(!$e(n,15)||(u=y(n,15),k=e.gc(),u.gc()!=k))return!1;if(x=u.Kc(),e.Yi()){for(s=0;s0){if(e._j(),n!=null){for(g=0;g>24;case 97:case 98:case 99:case 100:case 101:case 102:return e-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return e-65+10<<24>>24;default:throw me(new _0("Invalid hexadecimal"))}}i(rMe,"JAd");function oX(){oX=z,GPe=new U4("SPIRAL",0),PPe=new U4("LINE_BY_LINE",1),BPe=new U4("MANHATTAN",2),OPe=new U4("JITTER",3),jge=new U4("QUADRANTS_LINE_BY_LINE",4),$Pe=new U4("QUADRANTS_MANHATTAN",5),FPe=new U4("QUADRANTS_JITTER",6),NPe=new U4("COMBINE_LINE_BY_LINE_MANHATTAN",7),IPe=new U4("COMBINE_JITTER_MANHATTAN",8)}i(oX,"iIb");function P$t(e,n,s,u){var d,g,x,k,A,D;for(A=Che(e,s),D=Che(n,s),d=!1;A&&D&&(u||Ggn(A,D,s));)x=Che(A,s),k=Che(D,s),RF(n),RF(e),g=A.c,Efe(A,!1),Efe(D,!1),s?(Qk(n,D.p,g),n.p=D.p,Qk(e,A.p+1,g),e.p=A.p):(Qk(e,A.p,g),e.p=A.p,Qk(n,D.p+1,g),n.p=D.p),bo(A,null),bo(D,null),A=x,D=k,d=!0;return d}i(P$t,"Urc");function B$t(e){switch(e.g){case 0:return new X2t;case 1:return new Y2t;case 3:return new hEt;case 4:return new z0t;case 5:return new $6t;case 6:return new K2t;case 2:return new W2t;case 7:return new j2t;case 8:return new U2t;default:throw me(new Jr("No implementation is available for the layerer "+(e.f!=null?e.f:""+e.g)))}}i(B$t,"aDc");function Kwn(e,n,s,u){var d,g,x,k,A;for(d=!1,g=!1,k=new ge(u.j);k.a=n.length)throw me(new kl("Greedy SwitchDecider: Free layer not in graph."));this.c=n[e],this.e=new QB(u),iue(this.e,this.c,(Bt(),on)),this.i=new QB(u),iue(this.i,this.c,pn),this.f=new r8t(this.c),this.a=!g&&d.i&&!d.s&&this.c[0].k==(sn(),ms),this.a&&cyn(this,e,n.length)}i(F$t,"Pmc");function $$t(e,n){var s,u,d,g,x,k;g=!e.B.Hc((Xh(),Tj)),x=e.B.Hc(Y1e),e.a=new ENt(x,g,e.c),e.n&&I8e(e.a.n,e.n),Xse(e.g,(pg(),bu),e.a),n||(u=new YM(1,g,e.c),u.n.a=e.k,w5(e.p,(Bt(),en),u),d=new YM(1,g,e.c),d.n.d=e.k,w5(e.p,Gn,d),k=new YM(0,g,e.c),k.n.c=e.k,w5(e.p,on,k),s=new YM(0,g,e.c),s.n.b=e.k,w5(e.p,pn,s))}i($$t,"$Mb");function Qwn(e){var n,s,u;switch(n=y(oe(e.d,(Ht(),Y1)),223),n.g){case 2:s=$Cn(e);break;case 3:s=(u=new Mt,as(Zi(Nl(nc(nc(new Tr(null,new Ar(e.d.b,16)),new Jgt),new Zgt),new e0t),new $gt),new xTt(u)),u);break;default:throw me(new Cl("Compaction not supported for "+n+" edges."))}o3n(e,s),So(new A2(e.g),new vTt(e))}i(Qwn,"zkc");function Jwn(e,n){var s,u,d,g,x,k,A;if(n.Ug("Process directions",1),s=y(oe(e,(pc(),LT)),88),s!=(Ts(),a0))for(d=Hn(e.b,0);d.b!=d.d.c;){switch(u=y(Un(d),40),k=y(oe(u,(xa(),JG)),17).a,A=y(oe(u,ZG),17).a,s.g){case 4:A*=-1;break;case 1:g=k,k=A,A=g;break;case 2:x=k,k=-A,A=x}Tt(u,JG,_t(k)),Tt(u,ZG,_t(A))}n.Vg()}i(Jwn,"qYc");function Zwn(e,n){var s;return s=new kn,n&&Bl(s,y(mn(e.a,Cj),96)),$e(n,422)&&Bl(s,y(mn(e.a,Ej),96)),$e(n,366)?(Bl(s,y(mn(e.a,bl),96)),s):($e(n,84)&&Bl(s,y(mn(e.a,Pn),96)),$e(n,207)?(Bl(s,y(mn(e.a,Hi),96)),s):$e(n,193)?(Bl(s,y(mn(e.a,Ph),96)),s):($e(n,326)&&Bl(s,y(mn(e.a,us),96)),s))}i(Zwn,"led");function exn(e){var n,s,u,d,g,x,k,A;for(A=new vDt,k=new ge(e.a);k.a0&&n=0)return!1;if(n.p=s.b,It(s.e,n),d==(sn(),ro)||d==tu){for(x=new ge(n.j);x.ae.d[k.p]&&(s+=f7e(e.b,g),tv(e.a,_t(g)))):++x;for(s+=e.b.d*x;!A_(e.a);)H7e(e.b,y(v5(e.a),17).a)}return s}i(aMe,"kMc");function K$t(e){var n,s,u,d,g,x;return g=0,n=Wd(e),n.kk()&&(g|=4),(e.Bb&mh)!=0&&(g|=2),$e(e,102)?(s=y(e,19),d=tl(s),(s.Bb&Ec)!=0&&(g|=32),d&&(_n(Pk(d)),g|=8,x=d.t,(x>1||x==-1)&&(g|=16),(d.Bb&Ec)!=0&&(g|=64)),(s.Bb&Xo)!=0&&(g|=y3),g|=$p):$e(n,469)?g|=512:(u=n.kk(),u&&(u.i&1)!=0&&(g|=256)),(e.Bb&512)!=0&&(g|=128),g}i(K$t,"pje");function fxn(e,n){var s;return e.f==oye?(s=_x(Sl((dh(),Lo),n)),e.e?s==4&&n!=(H5(),M6)&&n!=(H5(),_6)&&n!=(H5(),lye)&&n!=(H5(),cye):s==2):e.d&&(e.d.Hc(n)||e.d.Hc(S5(Sl((dh(),Lo),n)))||e.d.Hc(RC((dh(),Lo),e.b,n)))?!0:e.f&&z_e((dh(),e.f),lF(Sl(Lo,n)))?(s=_x(Sl(Lo,n)),e.e?s==4:s==2):!1}i(fxn,"vke");function dxn(e){var n,s,u,d,g,x,k,A,D,N,B,U,ee;for(U=-1,ee=0,D=e,N=0,B=D.length;N0&&++ee;++U}return ee}i(dxn,"oKc");function pxn(e,n,s,u){var d,g,x,k,A,D,N,B;return x=y(Ct(s,(_i(),E6)),8),A=x.a,N=x.b+e,d=p.Math.atan2(N,A),d<0&&(d+=lw),d+=n,d>lw&&(d-=lw),k=y(Ct(u,E6),8),D=k.a,B=k.b+e,g=p.Math.atan2(B,D),g<0&&(g+=lw),g+=n,g>lw&&(g-=lw),Pg(),Np(1e-10),p.Math.abs(d-g)<=1e-10||d==g||isNaN(d)&&isNaN(g)?0:dg?1:bx(isNaN(d),isNaN(g))}i(pxn,"S2c");function rfe(e){var n,s,u,d,g,x,k;for(k=new zn,u=new ge(e.a.b);u.a=e.o)throw me(new PSe);k=n>>5,x=n&31,g=Mp(1,oi(Mp(x,1))),d?e.n[s][k]=ug(e.n[s][k],g):e.n[s][k]=Vs(e.n[s][k],IAe(g)),g=Mp(g,1),u?e.n[s][k]=ug(e.n[s][k],g):e.n[s][k]=Vs(e.n[s][k],IAe(g))}catch(A){throw A=$a(A),$e(A,333)?me(new kl(kde+e.o+"*"+e.p+Cde+n+Ho+s+Ede)):me(A)}}i(cX,"TPb");function yxn(e,n,s,u){var d,g,x,k,A,D,N,B,U;for(U=new Cy(new VTt(e)),k=Te(we(Km,1),Yy,10,0,[n,s]),A=0,D=k.length;A0&&(u=(!e.n&&(e.n=new xt(bl,e,1,7)),y(Ge(e.n,0),135)).a,!u||Ei(Ei((n.a+=' "',n),u),'"'))),Ei(fx(Ei(fx(Ei(fx(Ei(fx((n.a+=" (",n),e.i),","),e.j)," | "),e.g),","),e.f),")"),n.a)}i(oMe,"zCd");function X$t(e){var n,s,u;return(e.Db&64)!=0?Ohe(e):(n=new Ef(uOe),s=e.k,s?Ei(Ei((n.a+=' "',n),s),'"'):(!e.n&&(e.n=new xt(bl,e,1,7)),e.n.i>0&&(u=(!e.n&&(e.n=new xt(bl,e,1,7)),y(Ge(e.n,0),135)).a,!u||Ei(Ei((n.a+=' "',n),u),'"'))),Ei(fx(Ei(fx(Ei(fx(Ei(fx((n.a+=" (",n),e.i),","),e.j)," | "),e.g),","),e.f),")"),n.a)}i(X$t,"OCd");function wxn(e,n){var s,u,d,g,x;for(n==(BM(),Ame)&&y$(y(ta(e.a,(Jk(),IG)),15)),d=y(ta(e.a,(Jk(),IG)),15).Kc();d.Ob();)switch(u=y(d.Pb(),105),s=y(Xt(u.j,0),113).d.j,g=new Sh(u.j),gs(g,new o0t),n.g){case 2:Lhe(e,g,s,(zx(),Ev),1);break;case 1:case 0:x=s2n(g),Lhe(e,new Dy(g,0,x),s,(zx(),Ev),0),Lhe(e,new Dy(g,x,g.c.length),s,Ev,1)}}i(wxn,"Xnc");function ife(e,n){var s,u,d,g,x,k,A;if(n==null||n.length==0)return null;if(d=y(Yc(e.a,n),143),!d){for(u=(k=new w1(e.b).a.vc().Kc(),new vk(k));u.a.Ob();)if(s=(g=y(u.a.Pb(),44),y(g.md(),143)),x=s.c,A=n.length,kr(x.substr(x.length-A,A),n)&&(n.length==x.length||Mo(x,x.length-n.length-1)==46)){if(d)return null;d=s}d&&El(e.a,n,d)}return d}i(ife,"sgd");function xxn(e,n){var s,u,d,g;return s=new Cn,u=y(Vl(Nl(new Tr(null,new Ar(e.f,16)),s),Gk(new Me,new Fe,new Le,new he,Te(we(Ll,1),kt,108,0,[(Dh(),b3),Wl]))),21),d=u.gc(),u=y(Vl(Nl(new Tr(null,new Ar(n.f,16)),s),Gk(new Me,new Fe,new Le,new he,Te(we(Ll,1),kt,108,0,[b3,Wl]))),21),g=u.gc(),dd.p?($s(g,Gn),g.d&&(k=g.o.b,n=g.a.b,g.a.b=k-n)):g.j==Gn&&d.p>e.p&&($s(g,en),g.d&&(k=g.o.b,n=g.a.b,g.a.b=-(k-n)));break}return d}i(Txn,"KLc");function S$(e,n,s,u,d){var g,x,k,A,D,N,B;if(!($e(n,207)||$e(n,366)||$e(n,193)))throw me(new Jr("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return x=e.a/2,A=n.i+u-x,N=n.j+d-x,D=A+n.g+e.a,B=N+n.f+e.a,g=new sh,ki(g,new St(A,N)),ki(g,new St(A,B)),ki(g,new St(D,B)),ki(g,new St(D,N)),k=new qhe(g),Bl(k,n),s&&ji(e.b,n,k),k}i(S$,"nTb");function F7(e,n,s){var u,d,g,x,k,A,D,N,B,U;for(g=new St(n,s),N=new ge(e.a);N.a1,k&&(u=new St(d,s.b),ki(n.a,u)),LM(n.a,Te(we(Xs,1),Lt,8,0,[U,B]))}i(Dxn,"V7b");function Yd(){Yd=z,eZ=new Ck(K0,0),HG=new Ck("NIKOLOV",1),qG=new Ck("NIKOLOV_PIXEL",2),wGe=new Ck("NIKOLOV_IMPROVED",3),xGe=new Ck("NIKOLOV_IMPROVED_PIXEL",4),vGe=new Ck("DUMMYNODE_PERCENTAGE",5),TGe=new Ck("NODECOUNT_PERCENTAGE",6),tZ=new Ck("NO_BOUNDARY",7),AT=new Ck("MODEL_ORDER_LEFT_TO_RIGHT",8),O3=new Ck("MODEL_ORDER_RIGHT_TO_LEFT",9)}i(Yd,"aEc");function _xn(e){var n,s,u,d,g;for(u=e.length,n=new R_,g=0;g=40,x&&MTn(e),Gkn(e),cwn(e),s=gNt(e),u=0;s&&u0&&ki(e.f,g)):(e.c[x]-=D+1,e.c[x]<=0&&e.a[x]>0&&ki(e.e,g))))}i(gMe,"TFc");function cGt(e,n,s,u){var d,g,x,k,A,D,N;for(A=new St(s,u),Us(A,y(oe(n,(xa(),zR)),8)),N=Hn(n.b,0);N.b!=N.d.c;)D=y(Un(N),40),Xi(D.e,A),ki(e.b,D);for(k=y(Vl(V8e(new Tr(null,new Ar(n.a,16))),Rh(new bt,new ft,new ke,Te(we(Ll,1),kt,108,0,[(Dh(),Wl)]))),15).Kc();k.Ob();){for(x=y(k.Pb(),65),g=Hn(x.a,0);g.b!=g.d.c;)d=y(Un(g),8),d.a+=A.a,d.b+=A.b;ki(e.a,x)}}i(cGt,"FVc");function mMe(e,n){var s,u,d,g;if(0<($e(e,16)?y(e,16).gc():R1(e.Kc()))){if(d=n,1=0&&Ag*2?(N=new BY(B),D=ch(x)/df(x),A=Lfe(N,n,new QS,s,u,d,D),Xi(lg(N.e),A),B.c.length=0,g=0,zr(B.c,N),zr(B.c,x),g=ch(N)*df(N)+ch(x)*df(x)):(zr(B.c,x),g+=ch(x)*df(x));return B}i(Yxn,"erd");function hGt(e,n){var s,u,d,g,x,k;if(k=y(oe(n,(Ht(),ns)),101),k==(fo(),e1)||k==nu)for(d=new St(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a).b,x=new ge(e.a);x.as?n:s;D<=B;++D)D==s?k=u++:(g=d[D],N=ne.am(g.Lk()),D==n&&(A=D==B&&!N?u-1:u),N&&++u);return U=y(HM(e,n,s),76),k!=A&&f8(e,new CF(e.e,7,x,_t(k),ee.md(),A)),U}}else return y(Uhe(e,n,s),76);return y(HM(e,n,s),76)}i(Kxn,"uge");function Xxn(e,n){var s,u,d,g,x,k,A;for(n.Ug("Port order processing",1),A=y(oe(e,(Ht(),J$e)),430),u=new ge(e.b);u.a=0&&(k=Hgn(e,x),!(k&&(D<22?A.l|=1<>>1,x.m=N>>>1|(B&1)<<21,x.l=U>>>1|(N&1)<<21,--D;return s&&wue(A),g&&(u?(xv=f7(e),d&&(xv=X9t(xv,(K8(),XOe)))):xv=Au(e.l,e.m,e.h)),A}i(Jxn,"lD");function Zxn(e,n){var s,u,d,g,x,k,A,D,N,B;for(D=e.e[n.c.p][n.p]+1,A=n.c.a.c.length+1,k=new ge(e.a);k.a0&&(Zr(0,e.length),e.charCodeAt(0)==45||(Zr(0,e.length),e.charCodeAt(0)==43))?1:0,u=x;us)throw me(new _0(iT+e+'"'));return k}i(Nf,"Oeb");function eTn(e){var n,s,u,d,g,x,k;for(x=new Da,g=new ge(e.a);g.a1)&&n==1&&y(e.a[e.b],10).k==(sn(),Nc)?W5(y(e.a[e.b],10),(If(),Jm)):u&&(!s||(e.c-e.b&e.a.length-1)>1)&&n==1&&y(e.a[e.c-1&e.a.length-1],10).k==(sn(),Nc)?W5(y(e.a[e.c-1&e.a.length-1],10),(If(),Iv)):(e.c-e.b&e.a.length-1)==2?(W5(y(PM(e),10),(If(),Jm)),W5(y(PM(e),10),Iv)):Dvn(e,d),u7e(e)}i(dGt,"Wdc");function nTn(e,n,s){var u,d,g,x,k;for(g=0,d=new gn((!e.a&&(e.a=new xt(Hi,e,10,11)),e.a));d.e!=d.i.gc();)u=y(xn(d),27),x="",(!u.n&&(u.n=new xt(bl,u,1,7)),u.n).i==0||(x=y(Ge((!u.n&&(u.n=new xt(bl,u,1,7)),u.n),0),135).a),k=new xue(g++,n,x),Bl(k,u),Tt(k,(xa(),II),u),k.e.b=u.j+u.f/2,k.f.a=p.Math.max(u.g,1),k.e.a=u.i+u.g/2,k.f.b=p.Math.max(u.f,1),ki(n.b,k),yu(s.f,u,k)}i(nTn,"QVc");function iTn(e){var n,s,u,d,g;u=y(oe(e,(At(),ra)),27),g=y(Ct(u,(Ht(),ww)),181).Hc((mf(),Lw)),e.e||(d=y(oe(e,ru),21),n=new St(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),d.Hc((sl(),kd))?(ca(u,ns,(fo(),nu)),tT(u,n.a,n.b,!1,!0)):Kt(Yt(Ct(u,lme)))||tT(u,n.a,n.b,!0,!0)),g?ca(u,ww,pr(Lw)):ca(u,ww,(s=y(sg(eN),9),new ad(s,y(Dp(s,s.length),9),0)))}i(iTn,"L5b");function yMe(e,n,s){var u,d,g,x;if(n[0]>=e.length)return s.o=0,!0;switch(Mo(e,n[0])){case 43:d=1;break;case 45:d=-1;break;default:return s.o=0,!0}if(++n[0],g=n[0],x=YK(e,n),x==0&&n[0]==g)return!1;if(n[0]k&&(k=d,N.c.length=0),d==k&&It(N,new Bs(s.c.i,s)));Dr(),gs(N,e.c),Cx(e.b,A.p,N)}}i(oTn,"jRc");function lTn(e,n){var s,u,d,g,x,k,A,D,N;for(x=new ge(n.b);x.ak&&(k=d,N.c.length=0),d==k&&It(N,new Bs(s.d.i,s)));Dr(),gs(N,e.c),Cx(e.f,A.p,N)}}i(lTn,"kRc");function cTn(e,n){var s,u,d,g,x,k,A,D;if(D=Yt(oe(n,(pc(),Ler))),D==null||(ln(D),D)){for(Obn(e,n),d=new Mt,A=Hn(n.b,0);A.b!=A.d.c;)x=y(Un(A),40),s=i_e(e,x,null),s&&(Bl(s,n),zr(d.c,s));if(e.a=null,e.b=null,d.c.length>1)for(u=new ge(d);u.a=0&&k!=s&&(g=new to(e,1,k,x,null),u?u.nj(g):u=g),s>=0&&(g=new to(e,1,s,k==s?x:null,n),u?u.nj(g):u=g)),u}i(Of,"xvd");function pGt(e){var n,s,u;if(e.b==null){if(u=new Ty,e.i!=null&&(pl(u,e.i),u.a+=":"),(e.f&256)!=0){for((e.f&256)!=0&&e.a!=null&&(Rin(e.i)||(u.a+="//"),pl(u,e.a)),e.d!=null&&(u.a+="/",pl(u,e.d)),(e.f&16)!=0&&(u.a+="/"),n=0,s=e.j.length;nU?!1:(B=(A=b9(u,U,!1),A.a),N+k+B<=n.b&&(EF(s,g-s.s),s.c=!0,EF(u,g-s.s),o$(u,s.s,s.t+s.d+k),u.k=!0,ERe(s.q,u),ee=!0,d&&(zY(n,u),u.j=n,e.c.length>x&&(u$((_r(x,e.c.length),y(e.c[x],186)),u),(_r(x,e.c.length),y(e.c[x],186)).a.c.length==0&&My(e,x)))),ee)}i(gTn,"K8c");function mTn(e,n){var s,u,d,g,x,k;if(n.Ug("Partition midprocessing",1),d=new Nx,as(Zi(new Tr(null,new Ar(e.a,16)),new Fpt),new lTt(d)),d.d!=0){for(k=y(Vl(W8e((g=d.i,new Tr(null,(g||(d.i=new rC(d,d.c))).Nc()))),Rh(new bt,new ft,new ke,Te(we(Ll,1),kt,108,0,[(Dh(),Wl)]))),15),u=k.Kc(),s=y(u.Pb(),17);u.Ob();)x=y(u.Pb(),17),c2n(y(ta(d,s),21),y(ta(d,x),21)),s=x;n.Vg()}}i(mTn,"Qfc");function yGt(e,n,s){var u,d,g,x,k,A,D,N;if(n.p==0){for(n.p=1,x=s,x||(d=new Mt,g=(u=y(sg(Qo),9),new ad(u,y(Dp(u,u.length),9),0)),x=new Bs(d,g)),y(x.a,15).Fc(n),n.k==(sn(),ms)&&y(x.b,21).Fc(y(oe(n,(At(),vc)),64)),A=new ge(n.j);A.a0){if(d=y(e.Ab.g,2033),n==null){for(g=0;gs.s&&kx)return Bt(),pn;break;case 4:case 3:if(N<0)return Bt(),en;if(N+s>g)return Bt(),Gn}return A=(D+k/2)/x,u=(N+s/2)/g,A+u<=1&&A-u<=0?(Bt(),on):A+u>=1&&A-u>=0?(Bt(),pn):u<.5?(Bt(),en):(Bt(),Gn)}i(wGt,"c2b");function xTn(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue;for(s=!1,N=Qe(rt(oe(n,(Ht(),ST)))),ne=gv*N,d=new ge(n.b);d.aA+ne&&(ue=B.g+U.g,U.a=(U.g*U.a+B.g*B.a)/ue,U.g=ue,B.f=U,s=!0)),g=k,B=U;return s}i(xTn,"PNc");function xGt(e,n,s,u,d,g,x){var k,A,D,N,B,U;for(U=new c5,D=n.Kc();D.Ob();)for(k=y(D.Pb(),853),B=new ge(k.Rf());B.a0?k.a?(D=k.b.Mf().b,d>D&&(e.v||k.c.d.c.length==1?(x=(d-D)/2,k.d.d=x,k.d.a=x):(s=y(Xt(k.c.d,0),187).Mf().b,u=(s-D)/2,k.d.d=p.Math.max(0,u),k.d.a=d-u-D))):k.d.a=e.t+d:hM(e.u)&&(g=GDe(k.b),g.d<0&&(k.d.d=-g.d),g.d+g.a>k.b.Mf().b&&(k.d.a=g.d+g.a-k.b.Mf().b))}i(kTn,"HNb");function Fp(){Fp=z,h6=new yo((_i(),dj),_t(1)),YQ=new yo(Aw,80),tKt=new yo(AUe,5),HYt=new yo(dE,tR),ZYt=new yo(U1e,_t(1)),eKt=new yo(V1e,(Hr(),!0)),nBe=new vx(50),QYt=new yo(ib,nBe),eBe=hj,iBe=qI,qYt=new yo(I1e,!1),rBe=fj,KYt=$3,XYt=Mv,YYt=Sw,WYt=yE,JYt=G3,tBe=(XDe(),FYt),Zge=zYt,WQ=BYt,Jge=$Yt,aBe=jYt,iKt=WR,aKt=MZ,nKt=pj,rKt=_Z,sBe=(P5(),U3),new yo(A6,sBe)}i(Fp,"yVb");function CTn(e,n){var s;switch(IF(e)){case 6:return oo(n);case 7:return Sk(n);case 8:return Ek(n);case 3:return Array.isArray(n)&&(s=IF(n),!(s>=14&&s<=16));case 11:return n!=null&&typeof n===Ife;case 12:return n!=null&&(typeof n===P$||typeof n==Ife);case 0:return ihe(n,e.__elementTypeId$);case 2:return Fle(n)&&n.Tm!==te;case 1:return Fle(n)&&n.Tm!==te||ihe(n,e.__elementTypeId$);default:return!0}}i(CTn,"VC");function ETn(e){var n,s,u,d;u=e.o,Lk(),e.A.dc()||Ji(e.A,UPe)?d=u.a:(e.D?d=p.Math.max(u.a,a9(e.f)):d=a9(e.f),e.A.Hc((mf(),wj))&&!e.B.Hc((Xh(),tN))&&(d=p.Math.max(d,a9(y(gl(e.p,(Bt(),en)),252))),d=p.Math.max(d,a9(y(gl(e.p,Gn),252)))),n=P9t(e),n&&(d=p.Math.max(d,n.a))),Kt(Yt(e.e.Tf().of((_i(),$3))))?u.a=p.Math.max(u.a,d):u.a=d,s=e.f.i,s.c=0,s.b=d,hfe(e.f)}i(ETn,"gNb");function TGt(e,n){var s,u,d,g;return u=p.Math.min(p.Math.abs(e.c-(n.c+n.b)),p.Math.abs(e.c+e.b-n.c)),g=p.Math.min(p.Math.abs(e.d-(n.d+n.a)),p.Math.abs(e.d+e.a-n.d)),s=p.Math.abs(e.c+e.b/2-(n.c+n.b/2)),s>e.b/2+n.b/2||(d=p.Math.abs(e.d+e.a/2-(n.d+n.a/2)),d>e.a/2+n.a/2)?1:s==0&&d==0?0:s==0?g/d+1:d==0?u/s+1:p.Math.min(u/s,g/d)+1}i(TGt,"oRb");function STn(e,n){var s,u,d,g,x,k,A;for(g=0,k=0,A=0,d=new ge(e.f.e);d.a0&&e.d!=(AM(),r0e)&&(k+=x*(u.d.a+e.a[n.a][u.a]*(n.d.a-u.d.a)/s)),s>0&&e.d!=(AM(),e0e)&&(A+=x*(u.d.b+e.a[n.a][u.a]*(n.d.b-u.d.b)/s)));switch(e.d.g){case 1:return new St(k/g,n.d.b);case 2:return new St(n.d.a,A/g);default:return new St(k/g,A/g)}}i(STn,"oWb");function kGt(e){var n,s,u,d,g,x;for(s=(!e.a&&(e.a=new vs(Uf,e,5)),e.a).i+2,x=new pu(s),It(x,new St(e.j,e.k)),as(new Tr(null,(!e.a&&(e.a=new vs(Uf,e,5)),new Ar(e.a,16))),new Nkt(x)),It(x,new St(e.b,e.c)),n=1;n0&&(HF(A,!1,(Ts(),_l)),HF(A,!0,Gl)),Lu(n.g,new BEt(e,s)),ji(e.g,n,s)}i(EGt,"Bkc");function SGt(){SGt=z;var e;for(iPe=Te(we(ei,1),Ai,28,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),Rge=ot(ei,Ai,28,37,15,1),gWt=Te(we(ei,1),Ai,28,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),aPe=ot(Uv,sde,28,37,14,1),e=2;e<=36;e++)Rge[e]=Fs(p.Math.pow(e,iPe[e])),aPe[e]=f$(G$,Rge[e])}i(SGt,"Ugb");function ATn(e){var n;if((!e.a&&(e.a=new xt(_a,e,6,6)),e.a).i!=1)throw me(new Jr(tHt+(!e.a&&(e.a=new xt(_a,e,6,6)),e.a).i));return n=new sh,UF(y(Ge((!e.b&&(e.b=new Ir(Pn,e,4,7)),e.b),0),84))&&xo(n,pzt(e,UF(y(Ge((!e.b&&(e.b=new Ir(Pn,e,4,7)),e.b),0),84)),!1)),UF(y(Ge((!e.c&&(e.c=new Ir(Pn,e,5,8)),e.c),0),84))&&xo(n,pzt(e,UF(y(Ge((!e.c&&(e.c=new Ir(Pn,e,5,8)),e.c),0),84)),!0)),n}i(ATn,"tsd");function AGt(e,n){var s,u,d,g,x;for(n.d?d=e.a.c==(F0(),RT)?Ks(n.b):fs(n.b):d=e.a.c==(F0(),tb)?Ks(n.b):fs(n.b),g=!1,u=new bn(wn(d.a.Kc(),new I));qn(u);)if(s=y(Mn(u),18),x=Kt(e.a.f[e.a.g[n.b.p].p]),!(!x&&!Ko(s)&&s.c.i.c==s.d.i.c)&&!(Kt(e.a.n[e.a.g[n.b.p].p])||Kt(e.a.n[e.a.g[n.b.p].p]))&&(g=!0,og(e.b,e.a.g[Agn(s,n.b).p])))return n.c=!0,n.a=s,n;return n.c=g,n.a=null,n}i(AGt,"zRc");function vMe(e,n,s){var u,d,g,x,k,A,D;if(u=s.gc(),u==0)return!1;if(e.Pj())if(A=e.Qj(),RLe(e,n,s),x=u==1?e.Ij(3,null,s.Kc().Pb(),n,A):e.Ij(5,null,s,n,A),e.Mj()){for(k=u<100?null:new Ub(u),g=n+u,d=n;d0){for(x=0;x>16==-15&&e.Cb.Yh()&&zce(new Bce(e.Cb,9,13,s,e.c,Uy(Wh(y(e.Cb,62)),e))):$e(e.Cb,90)&&e.Db>>16==-23&&e.Cb.Yh()&&(n=e.c,$e(n,90)||(n=(Lr(),op)),$e(s,90)||(s=(Lr(),op)),zce(new Bce(e.Cb,9,10,s,n,Uy($c(y(e.Cb,29)),e)))))),e.c}i(hX,"i2d");function DTn(e,n,s){var u,d,g,x,k,A,D,N,B;for(s.Ug("Hyperedge merging",1),evn(e,n),A=new vo(n.b,0);A.b0,k=gK(n,g),M6e(s?k.b:k.g,n),dC(k).c.length==1&&Xa(u,k,u.c.b,u.c),d=new Bs(g,n),tv(e.o,d),Wu(e.e.a,g))}i(MTn,"wJb");function NGt(e,n){var s,u,d,g,x,k,A;return u=p.Math.abs(UW(e.b).a-UW(n.b).a),k=p.Math.abs(UW(e.b).b-UW(n.b).b),d=0,A=0,s=1,x=1,u>e.b.b/2+n.b.b/2&&(d=p.Math.min(p.Math.abs(e.b.c-(n.b.c+n.b.b)),p.Math.abs(e.b.c+e.b.b-n.b.c)),s=1-d/u),k>e.b.a/2+n.b.a/2&&(A=p.Math.min(p.Math.abs(e.b.d-(n.b.d+n.b.a)),p.Math.abs(e.b.d+e.b.a-n.b.d)),x=1-A/k),g=p.Math.min(s,x),(1-g)*p.Math.sqrt(u*u+k*k)}i(NGt,"SQb");function ITn(e){var n,s,u,d;for(Rfe(e,e.e,e.f,(Ox(),Dv),!0,e.c,e.i),Rfe(e,e.e,e.f,Dv,!1,e.c,e.i),Rfe(e,e.e,e.f,oE,!0,e.c,e.i),Rfe(e,e.e,e.f,oE,!1,e.c,e.i),LTn(e,e.c,e.e,e.f,e.i),u=new vo(e.i,0);u.b=65;s--)u0[s]=s-65<<24>>24;for(u=122;u>=97;u--)u0[u]=u-97+26<<24>>24;for(d=57;d>=48;d--)u0[d]=d-48+52<<24>>24;for(u0[43]=62,u0[47]=63,g=0;g<=25;g++)hb[g]=65+g&ks;for(x=26,A=0;x<=51;++x,A++)hb[x]=97+A&ks;for(e=52,k=0;e<=61;++e,k++)hb[e]=48+k&ks;hb[62]=43,hb[63]=47}i(TMe,"zqe");function OGt(e,n){var s,u,d,g,x,k;return d=wRe(e),k=wRe(n),d==k?e.e==n.e&&e.a<54&&n.a<54?e.fn.f?1:0:(u=e.e-n.e,s=(e.d>0?e.d:p.Math.floor((e.a-1)*zzt)+1)-(n.d>0?n.d:p.Math.floor((n.a-1)*zzt)+1),s>u+1?d:s0&&(x=oC(x,qGt(u))),HNt(g,x))):dD&&(U=0,ee+=A+n,A=0),F7(x,U,ee),s=p.Math.max(s,U+N.a),A=p.Math.max(A,N.b),U+=N.a+n;return new St(s+n,ee+A+n)}i(OTn,"H$b");function kMe(e,n){var s,u,d,g,x,k,A;if(!Fg(e))throw me(new Cl(eHt));if(u=Fg(e),g=u.g,d=u.f,g<=0&&d<=0)return Bt(),oc;switch(k=e.i,A=e.j,n.g){case 2:case 1:if(k<0)return Bt(),on;if(k+e.g>g)return Bt(),pn;break;case 4:case 3:if(A<0)return Bt(),en;if(A+e.f>d)return Bt(),Gn}return x=(k+e.g/2)/g,s=(A+e.f/2)/d,x+s<=1&&x-s<=0?(Bt(),on):x+s>=1&&x-s>=0?(Bt(),pn):s<.5?(Bt(),en):(Bt(),Gn)}i(kMe,"osd");function PTn(e,n,s,u,d){var g,x;if(g=$o(Vs(n[0],ol),Vs(u[0],ol)),e[0]=oi(g),g=Ex(g,32),s>=d){for(x=1;x0&&(d.b[x++]=0,d.b[x++]=g.b[0]-1),n=1;n0&&(Rse(A,A.d-d.d),d.c==(hg(),Lv)&&xKr(A,A.a-d.d),A.d<=0&&A.i>0&&Xa(n,A,n.c.b,n.c)));for(g=new ge(e.f);g.a0&&(tq(k,k.i-d.d),d.c==(hg(),Lv)&&TKr(k,k.b-d.d),k.i<=0&&k.d>0&&Xa(s,k,s.c.b,s.c)))}i(CMe,"wSc");function $Tn(e,n,s,u,d){var g,x,k,A,D,N,B,U,ee;for(Dr(),gs(e,new Wyt),x=eF(e),ee=new Mt,U=new Mt,k=null,A=0;x.b!=0;)g=y(x.b==0?null:(Sn(x.b!=0),hd(x,x.a.a)),163),!k||ch(k)*df(k)/21&&(A>ch(k)*df(k)/2||x.b==0)&&(B=new BY(U),N=ch(k)/df(k),D=Lfe(B,n,new QS,s,u,d,N),Xi(lg(B.e),D),k=B,zr(ee.c,B),A=0,U.c.length=0));return Rs(ee,U),ee}i($Tn,"drd");function jc(e,n,s,u,d){T1();var g,x,k,A,D,N,B;if(d8e(e,"src"),d8e(s,"dest"),B=gf(e),A=gf(s),MAe((B.i&4)!=0,"srcType is not an array"),MAe((A.i&4)!=0,"destType is not an array"),N=B.c,x=A.c,MAe((N.i&1)!=0?N==x:(x.i&1)==0,"Array types don't match"),Ehn(e,n,s,u,d),(N.i&1)==0&&B!=A)if(D=U2(e),g=U2(s),Ze(e)===Ze(s)&&nu;)Ka(g,k,D[--n]);else for(k=u+d;u0),u.a.Xb(u.c=--u.b),B>U+A&&pf(u);for(x=new ge(ee);x.a0),u.a.Xb(u.c=--u.b)}}i(GTn,"uUc");function jTn(){Wi();var e,n,s,u,d,g;if(hye)return hye;for(e=(++Ja,new Rf(4)),o3(e,pv(gge,!0)),x9(e,pv("M",!0)),x9(e,pv("C",!0)),g=(++Ja,new Rf(4)),u=0;u<11;u++)Xc(g,u,u);return n=(++Ja,new Rf(4)),o3(n,pv("M",!0)),Xc(n,4448,4607),Xc(n,65438,65439),d=(++Ja,new Z_(2)),tw(d,e),tw(d,fN),s=(++Ja,new Z_(2)),s.Jm(IW(g,pv("L",!0))),s.Jm(n),s=(++Ja,new Fk(3,s)),s=(++Ja,new f8e(d,s)),hye=s,hye}i(jTn,"gte");function s3(e,n){var s,u,d,g,x,k,A,D;for(s=new RegExp(n,"g"),A=ot(Jt,Lt,2,0,6,1),u=0,D=e,g=null;;)if(k=s.exec(D),k==null||D==""){A[u]=D;break}else x=k.index,A[u]=(wo(0,x,D.length),D.substr(0,x)),D=od(D,x+k[0].length,D.length),s.lastIndex=0,g==D&&(A[u]=(wo(0,1,D.length),D.substr(0,1)),D=(Zr(1,D.length+1),D.substr(1))),g=D,++u;if(e.length>0){for(d=A.length;d>0&&A[d-1]=="";)--d;d0&&(B-=u[0]+e.c,u[0]+=e.c),u[2]>0&&(B-=u[2]+e.c),u[1]=p.Math.max(u[1],B),BW(e.a[1],s.c+n.b+u[0]-(u[1]-B)/2,u[1]);for(g=e.a,k=0,D=g.length;k0?(e.n.c.length-1)*e.i:0,u=new ge(e.n);u.a1)for(u=Hn(d,0);u.b!=u.d.c;)for(s=y(Un(u),235),g=0,A=new ge(s.e);A.a0&&(n[0]+=e.c,B-=n[0]),n[2]>0&&(B-=n[2]+e.c),n[1]=p.Math.max(n[1],B),FW(e.a[1],u.d+s.d+n[0]-(n[1]-B)/2,n[1]);else for(ne=u.d+s.d,ee=u.a-s.d-s.a,x=e.a,A=0,N=x.length;A0||qx(d.b.d,e.b.d+e.b.a)==0&&u.b<0||qx(d.b.d+d.b.a,e.b.d)==0&&u.b>0){k=0;break}}else k=p.Math.min(k,NBt(e,d,u));k=p.Math.min(k,$Gt(e,g,k,u))}return k}i($Gt,"FQb");function D$(e,n){var s,u,d,g,x,k,A;if(e.b<2)throw me(new Jr("The vector chain must contain at least a source and a target point."));for(d=(Sn(e.b!=0),y(e.a.a.c,8)),jB(n,d.a,d.b),A=new h5((!n.a&&(n.a=new vs(Uf,n,5)),n.a)),x=Hn(e,1);x.a=0&&g!=s))throw me(new Jr(hG));for(d=0,A=0;AQe(Bg(x.g,x.d[0]).a)?(Sn(A.b>0),A.a.Xb(A.c=--A.b),Dk(A,x),d=!0):k.e&&k.e.gc()>0&&(g=(!k.e&&(k.e=new Mt),k.e).Mc(n),D=(!k.e&&(k.e=new Mt),k.e).Mc(s),(g||D)&&((!k.e&&(k.e=new Mt),k.e).Fc(x),++x.c));d||zr(u.c,x)}i(WTn,"lJc");function YTn(e,n,s){var u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe;return B=e.a.i+e.a.g/2,U=e.a.i+e.a.g/2,ne=n.i+n.g/2,fe=n.j+n.f/2,k=new St(ne,fe),D=y(Ct(n,(_i(),E6)),8),D.a=D.a+B,D.b=D.b+U,g=(k.b-D.b)/(k.a-D.a),u=k.b-g*k.a,ue=s.i+s.g/2,xe=s.j+s.f/2,A=new St(ue,xe),N=y(Ct(s,E6),8),N.a=N.a+B,N.b=N.b+U,x=(A.b-N.b)/(A.a-N.a),d=A.b-x*A.a,ee=(u-d)/(x-g),D.a>>0,"0"+n.toString(16)),u="\\x"+od(s,s.length-2,s.length)):e>=Xo?(s=(n=e>>>0,"0"+n.toString(16)),u="\\v"+od(s,s.length-6,s.length)):u=""+String.fromCharCode(e&ks)}return u}i(_$,"zte");function UGt(e){var n,s,u;if(K4(y(oe(e,(Ht(),ns)),101)))for(s=new ge(e.j);s.a=n.o&&s.f<=n.f||n.a*.5<=s.f&&n.a*1.5>=s.f){if(x=y(Xt(n.n,n.n.c.length-1),209),x.e+x.d+s.g+d<=u&&(g=y(Xt(n.n,n.n.c.length-1),209),g.f-e.f+s.f<=e.b||e.a.c.length==1))return wLe(n,s),!0;if(n.s+s.g<=u&&(n.t+n.d+s.f+d<=e.b||e.a.c.length==1))return It(n.b,s),k=y(Xt(n.n,n.n.c.length-1),209),It(n.n,new oY(n.s,k.f+k.a+n.i,n.i)),eDe(y(Xt(n.n,n.n.c.length-1),209),s),BGt(n,s),!0}return!1}i(ekn,"V8c");function HGt(e,n,s){var u,d,g,x;return e.Pj()?(d=null,g=e.Qj(),u=e.Ij(1,x=Hce(e,n,s),s,n,g),e.Mj()&&!(e.Yi()&&x!=null?Ji(x,s):Ze(x)===Ze(s))?(x!=null&&(d=e.Oj(x,d)),d=e.Nj(s,d),e.Tj()&&(d=e.Wj(x,s,d)),d?(d.nj(u),d.oj()):e.Jj(u)):(e.Tj()&&(d=e.Wj(x,s,d)),d?(d.nj(u),d.oj()):e.Jj(u)),x):(x=Hce(e,n,s),e.Mj()&&!(e.Yi()&&x!=null?Ji(x,s):Ze(x)===Ze(s))&&(d=null,x!=null&&(d=e.Oj(x,null)),d=e.Nj(s,d),d&&d.oj()),x)}i(HGt,"xLd");function tkn(e,n){var s,u,d,g,x;if(n.Ug("Path-Like Graph Wrapping",1),e.b.c.length==0){n.Vg();return}if(d=new D_e(e),x=(d.i==null&&(d.i=xRe(d,new MEe)),Qe(d.i)*d.f),s=x/(d.i==null&&(d.i=xRe(d,new MEe)),Qe(d.i)),d.b>s){n.Vg();return}switch(y(oe(e,(Ht(),dme)),351).g){case 2:g=new NEe;break;case 0:g=new _Ee;break;default:g=new OEe}if(u=g.og(e,d),!g.pg())switch(y(oe(e,KJ),352).g){case 2:u=OBt(d,u);break;case 1:u=SPt(d,u)}Xkn(e,d,u),n.Vg()}i(tkn,"Rsc");function g9(e,n){var s,u,d,g,x,k,A,D;n%=24,e.q.getHours()!=n&&(u=new p.Date(e.q.getTime()),u.setDate(u.getDate()+1),k=e.q.getTimezoneOffset()-u.getTimezoneOffset(),k>0&&(A=k/60|0,D=k%60,d=e.q.getDate(),s=e.q.getHours(),s+A>=24&&++d,g=new p.Date(e.q.getFullYear(),e.q.getMonth(),d,n+A,e.q.getMinutes()+D,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(g.getTime()))),x=e.q.getTime(),e.q.setTime(x+36e5),e.q.getHours()!=n&&e.q.setTime(x)}i(g9,"mB");function rkn(e,n){var s,u,d,g;if(gsn(e.d,e.e),e.c.a.$b(),Qe(rt(oe(n.j,(Ht(),BJ))))!=0||Qe(rt(oe(n.j,BJ)))!=0)for(s=NC,Ze(oe(n.j,Xm))!==Ze((G0(),eb))&&Tt(n.j,(At(),Sv),(Hr(),!0)),g=y(oe(n.j,xI),17).a,d=0;dd&&++D,It(x,(_r(k+D,n.c.length),y(n.c[k+D],17))),A+=(_r(k+D,n.c.length),y(n.c[k+D],17)).a-u,++s;s=fe&&e.e[A.p]>ne*e.b||Be>=s*fe)&&(zr(U.c,k),k=new Mt,xo(x,g),g.a.$b(),D-=N,ee=p.Math.max(ee,D*e.b+ue),D+=Be,Ie=Be,Be=0,N=0,ue=0);return new Bs(ee,U)}i(akn,"DHc");function dfe(e){var n,s,u,d,g,x,k;if(!e.d){if(k=new vbt,n=sN,g=n.a.zc(e,n),g==null){for(u=new gn(Ol(e));u.e!=u.i.gc();)s=y(xn(u),29),ts(k,dfe(s));n.a.Bc(e)!=null,n.a.gc()==0}for(x=k.i,d=(!e.q&&(e.q=new xt(ap,e,11,10)),new gn(e.q));d.e!=d.i.gc();++x)y(xn(d),411);ts(k,(!e.q&&(e.q=new xt(ap,e,11,10)),e.q)),qk(k),e.d=new Y4((y(Ge(vt((Qb(),qr).o),9),19),k.i),k.g),e.e=y(k.g,688),e.e==null&&(e.e=Qnr),qh(e).b&=-17}return e.d}i(dfe,"pYd");function j7(e,n,s,u){var d,g,x,k,A,D;if(D=Iu(e.e.Dh(),n),A=0,d=y(e.g,124),el(),y(n,69).xk()){for(x=0;x1||ne==-1)if(B=y(ue,71),U=y(N,71),B.dc())U.$b();else for(x=!!tl(n),g=0,k=e.a?B.Kc():B.Ii();k.Ob();)D=y(k.Pb(),58),d=y(Vg(e,D),58),d?(x?(A=U.dd(d),A==-1?U.Gi(g,d):g!=A&&U.Ui(g,d)):U.Gi(g,d),++g):e.b&&!x&&(U.Gi(g,D),++g);else ue==null?N.Wb(null):(d=Vg(e,ue),d==null?e.b&&!tl(n)&&N.Wb(ue):N.Wb(d))}i(skn,"Xje");function okn(e,n){var s,u,d,g,x,k,A,D;for(s=new rpt,d=new bn(wn(Ks(n).a.Kc(),new I));qn(d);)if(u=y(Mn(d),18),!Ko(u)&&(k=u.c.i,PDe(k,JQ))){if(D=tMe(e,k,JQ,QQ),D==-1)continue;s.b=p.Math.max(s.b,D),!s.a&&(s.a=new Mt),It(s.a,k)}for(x=new bn(wn(fs(n).a.Kc(),new I));qn(x);)if(g=y(Mn(x),18),!Ko(g)&&(A=g.d.i,PDe(A,QQ))){if(D=tMe(e,A,QQ,JQ),D==-1)continue;s.d=p.Math.max(s.d,D),!s.c&&(s.c=new Mt),It(s.c,A)}return s}i(okn,"V9b");function lkn(e,n,s,u){var d,g,x,k,A,D,N;if(s.d.i!=n.i){for(d=new $1(e),S2(d,(sn(),ro)),Tt(d,(At(),ra),s),Tt(d,(Ht(),ns),(fo(),nu)),zr(u.c,d),x=new Gc,rc(x,d),$s(x,(Bt(),on)),k=new Gc,rc(k,d),$s(k,pn),N=s.d,ho(s,x),g=new Ix,Bl(g,s),Tt(g,Dl,null),Fo(g,k),ho(g,N),D=new vo(s.b,0);D.b1e6)throw me(new pq("power of ten too big"));if(e<=Yi)return R5(x$(c6[1],n),n);for(u=x$(c6[1],Yi),d=u,s=Cc(e-Yi),n=Fs(e%Yi);Dc(s,Yi)>0;)d=oC(d,u),s=Hd(s,Yi);for(d=oC(d,x$(c6[1],n)),d=R5(d,Yi),s=Cc(e-Yi);Dc(s,Yi)>0;)d=R5(d,Yi),s=Hd(s,Yi);return d=R5(d,n),d}i(qGt,"Sjb");function WGt(e){var n,s,u,d,g,x,k,A,D,N;for(A=new ge(e.a);A.aD&&u>D)N=k,D=Qe(n.p[k.p])+Qe(n.d[k.p])+k.o.b+k.d.a;else{d=!1,s._g()&&s.bh("bk node placement breaks on "+k+" which should have been after "+N);break}if(!d)break}return s._g()&&s.bh(n+" is feasible: "+d),d}i(YGt,"XQc");function AMe(e,n,s,u){var d,g,x,k,A,D,N,B,U;if(g=new $1(e),S2(g,(sn(),tu)),Tt(g,(Ht(),ns),(fo(),nu)),d=0,n){for(x=new Gc,Tt(x,(At(),ra),n),Tt(g,ra,n.i),$s(x,(Bt(),on)),rc(x,g),U=$0(n.e),D=U,N=0,B=D.length;N0){if(d<0&&N.a&&(d=A,g=D[0],u=0),d>=0){if(k=N.b,A==d&&(k-=u++,k==0))return 0;if(!Qjt(n,D,N,k,x)){A=d-1,D[0]=g;continue}}else if(d=-1,!Qjt(n,D,N,0,x))return 0}else{if(d=-1,Mo(N.c,0)==32){if(B=D[0],J_t(n,D),D[0]>B)continue}else if(Xin(n,N.c,D[0])){D[0]+=N.c.length;continue}return 0}return J4n(x,s)?D[0]:0}i(dkn,"FA");function pkn(e,n,s){var u,d,g,x,k,A,D,N,B,U;for(N=new GW(new Pxt(s)),k=ot(tf,Hm,28,e.f.e.c.length,16,1),u8e(k,k.length),s[n.a]=0,D=new ge(e.f.e);D.a=0&&!yC(e,N,B);)--B;d[N]=B}for(ee=0;ee=0&&!yC(e,k,ne);)--k;g[ne]=k}for(A=0;An[U]&&Uu[A]&&cX(e,A,U,!1,!0)}i(gkn,"iPb");function RMe(e){var n,s,u,d,g,x,k,A;s=Kt(Yt(oe(e,(Fp(),qYt)))),g=e.a.c.d,k=e.a.d.d,s?(x=N0(Us(new St(k.a,k.b),g),.5),A=N0(ko(e.e),.5),n=Us(Xi(new St(g.a,g.b),x),A),B6e(e.d,n)):(d=Qe(rt(oe(e.a,tKt))),u=e.d,g.a>=k.a?g.b>=k.b?(u.a=k.a+(g.a-k.a)/2+d,u.b=k.b+(g.b-k.b)/2-d-e.e.b):(u.a=k.a+(g.a-k.a)/2+d,u.b=g.b+(k.b-g.b)/2+d):g.b>=k.b?(u.a=g.a+(k.a-g.a)/2+d,u.b=k.b+(g.b-k.b)/2+d):(u.a=g.a+(k.a-g.a)/2+d,u.b=g.b+(k.b-g.b)/2-d-e.e.b))}i(RMe,"hUb");function y9(e){var n,s,u,d,g,x,k,A;if(!e.f){if(A=new jEe,k=new jEe,n=sN,x=n.a.zc(e,n),x==null){for(g=new gn(Ol(e));g.e!=g.i.gc();)d=y(xn(g),29),ts(A,y9(d));n.a.Bc(e)!=null,n.a.gc()==0}for(u=(!e.s&&(e.s=new xt(eh,e,21,17)),new gn(e.s));u.e!=u.i.gc();)s=y(xn(u),179),$e(s,102)&&Jn(k,y(s,19));qk(k),e.r=new $At(e,(y(Ge(vt((Qb(),qr).o),6),19),k.i),k.g),ts(A,e.r),qk(A),e.f=new Y4((y(Ge(vt(qr.o),5),19),A.i),A.g),qh(e).b&=-3}return e.f}i(y9,"qYd");function KGt(e){px(e,new ew(hx(lx(ux(cx(new C2,sw),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new Pt))),Dt(e,sw,Ade,zt(QPe)),Dt(e,sw,Rde,zt(Yge)),Dt(e,sw,r6,zt(_Yt)),Dt(e,sw,aT,zt(XPe)),Dt(e,sw,m9e,zt(OYt)),Dt(e,sw,y9e,zt(NYt)),Dt(e,sw,g9e,zt(PYt)),Dt(e,sw,b9e,zt(IYt)),Dt(e,sw,E9e,zt(MYt)),Dt(e,sw,S9e,zt(Wge)),Dt(e,sw,A9e,zt(KPe)),Dt(e,sw,R9e,zt(VQ))}i(KGt,"uSb");function dX(){dX=z,gVe=Te(we(Ad,1),H0,28,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),Snr=new RegExp(`[ +\r\f]+`);try{nN=Te(we(XEn,1),Gr,2114,0,[new fB((i6e(),vK("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",KB((dq(),dq(),Z9))))),new fB(vK("yyyy-MM-dd'T'HH:mm:ss'.'SSS",KB(Z9))),new fB(vK("yyyy-MM-dd'T'HH:mm:ss",KB(Z9))),new fB(vK("yyyy-MM-dd'T'HH:mm",KB(Z9))),new fB(vK("yyyy-MM-dd",KB(Z9)))])}catch(e){if(e=$a(e),!$e(e,82))throw me(e)}}i(dX,"qAd");function mkn(e,n){var s,u,d,g;if(d=Kh(e.d,1)!=0,u=lMe(e,n),u==0&&Kt(Yt(oe(n.j,(At(),Sv)))))return 0;!Kt(Yt(oe(n.j,(At(),Sv))))&&!Kt(Yt(oe(n.j,ZC)))||Ze(oe(n.j,(Ht(),Xm)))===Ze((G0(),eb))?n.c.mg(n.e,d):d=Kt(Yt(oe(n.j,Sv))),E$(e,n,d,!0),Kt(Yt(oe(n.j,ZC)))&&Tt(n.j,ZC,(Hr(),!1)),Kt(Yt(oe(n.j,Sv)))&&(Tt(n.j,Sv,(Hr(),!1)),Tt(n.j,ZC,!0)),s=lMe(e,n);do{if(vRe(e),s==0)return 0;d=!d,g=s,E$(e,n,d,!1),s=lMe(e,n)}while(g>s);return g}i(mkn,"uKc");function XGt(e,n){var s,u,d,g;if(d=Kh(e.d,1)!=0,u=WK(e,n),u==0&&Kt(Yt(oe(n.j,(At(),Sv)))))return 0;!Kt(Yt(oe(n.j,(At(),Sv))))&&!Kt(Yt(oe(n.j,ZC)))||Ze(oe(n.j,(Ht(),Xm)))===Ze((G0(),eb))?n.c.mg(n.e,d):d=Kt(Yt(oe(n.j,Sv))),E$(e,n,d,!0),Kt(Yt(oe(n.j,ZC)))&&Tt(n.j,ZC,(Hr(),!1)),Kt(Yt(oe(n.j,Sv)))&&(Tt(n.j,Sv,(Hr(),!1)),Tt(n.j,ZC,!0)),s=WK(e,n);do{if(vRe(e),s==0)return 0;d=!d,g=s,E$(e,n,d,!1),s=WK(e,n)}while(g>s);return g}i(XGt,"vKc");function LMe(e,n,s,u){var d,g,x,k,A,D,N,B,U;return A=Us(new St(s.a,s.b),e),D=A.a*n.b-A.b*n.a,N=n.a*u.b-n.b*u.a,B=(A.a*u.b-A.b*u.a)/N,U=D/N,N==0?D==0?(d=Xi(new St(s.a,s.b),N0(new St(u.a,u.b),.5)),g=rv(e,d),x=rv(Xi(new St(e.a,e.b),n),d),k=p.Math.sqrt(u.a*u.a+u.b*u.b)*.5,g=0&&B<=1&&U>=0&&U<=1?Xi(new St(e.a,e.b),N0(new St(n.a,n.b),B)):null}i(LMe,"Gid");function ykn(e,n,s){var u,d,g,x,k;if(u=y(oe(e,(Ht(),eme)),21),s.a>n.a&&(u.Hc((Z2(),zI))?e.c.a+=(s.a-n.a)/2:u.Hc(UI)&&(e.c.a+=s.a-n.a)),s.b>n.b&&(u.Hc((Z2(),HI))?e.c.b+=(s.b-n.b)/2:u.Hc(VI)&&(e.c.b+=s.b-n.b)),y(oe(e,(At(),ru)),21).Hc((sl(),kd))&&(s.a>n.a||s.b>n.b))for(k=new ge(e.a);k.an.a&&(u.Hc((Z2(),zI))?e.c.a+=(s.a-n.a)/2:u.Hc(UI)&&(e.c.a+=s.a-n.a)),s.b>n.b&&(u.Hc((Z2(),HI))?e.c.b+=(s.b-n.b)/2:u.Hc(VI)&&(e.c.b+=s.b-n.b)),y(oe(e,(At(),ru)),21).Hc((sl(),kd))&&(s.a>n.a||s.b>n.b))for(x=new ge(e.a);x.a0?e.i:0)>n&&A>0&&(g=0,x+=A+e.i,d=p.Math.max(d,U),u+=A+e.i,A=0,U=0,s&&(++B,It(e.n,new oY(e.s,x,e.i))),k=0),U+=D.g+(k>0?e.i:0),A=p.Math.max(A,D.f),s&&eDe(y(Xt(e.n,B),209),D),g+=D.g+(k>0?e.i:0),++k;return d=p.Math.max(d,U),u+=A,s&&(e.r=d,e.d=u,iDe(e.j)),new sd(e.s,e.t,d,u)}i(b9,"S9c");function pfe(e){var n,s,u,d,g,x,k,A,D,N,B,U;for(e.b=!1,B=Pa,A=Ls,U=Pa,D=Ls,u=e.e.a.ec().Kc();u.Ob();)for(s=y(u.Pb(),272),d=s.a,B=p.Math.min(B,d.c),A=p.Math.max(A,d.c+d.b),U=p.Math.min(U,d.d),D=p.Math.max(D,d.d+d.a),x=new ge(s.c);x.ae.o.a&&(N=(A-e.o.a)/2,k.b=p.Math.max(k.b,N),k.c=p.Math.max(k.c,N))}}i(wkn,"g6b");function xkn(e){var n,s,u,d,g,x,k,A;for(g=new HRt,JQr(g,(N5(),frr)),u=(d=sue(e,ot(Jt,Lt,2,0,6,1)),new m_(new Eh(new soe(e,d).b)));u.bk?1:-1:YRe(e.a,n.a,g),d==-1)B=-A,N=x==A?_ce(n.a,k,e.a,g):Ice(n.a,k,e.a,g);else if(B=x,x==A){if(d==0)return z0(),tI;N=_ce(e.a,g,n.a,k)}else N=Ice(e.a,g,n.a,k);return D=new P2(B,N.length,N),xM(D),D}i(yfe,"Gjb");function Tkn(e,n){var s,u,d,g;if(g=IGt(n),!n.c&&(n.c=new xt(Ph,n,9,9)),as(new Tr(null,(!n.c&&(n.c=new xt(Ph,n,9,9)),new Ar(n.c,16))),new Gxt(g)),d=y(oe(g,(At(),ru)),21),p4n(n,d),d.Hc((sl(),kd)))for(u=new gn((!n.c&&(n.c=new xt(Ph,n,9,9)),n.c));u.e!=u.i.gc();)s=y(xn(u),123),U4n(e,n,g,s);return y(Ct(n,(Ht(),ww)),181).gc()!=0&&E$t(n,g),Kt(Yt(oe(g,K$e)))&&d.Fc(RJ),Ea(g,zG)&&N4t(new _Le(Qe(rt(oe(g,zG)))),g),Ze(Ct(n,L3))===Ze((O1(),ab))?dEn(e,n,g):QCn(e,n,g),g}i(Tkn,"c5b");function kkn(e){var n,s,u,d,g,x,k,A;for(d=new ge(e.b);d.a0?od(s.a,0,g-1):""):(wo(0,g-1,e.length),e.substr(0,g-1)):s?s.a:e}i(Qc,"nue");function Ckn(e,n){var s,u,d,g,x,k,A;for(n.Ug("Sort By Input Model "+oe(e,(Ht(),Xm)),1),d=0,u=new ge(e.b);u.a=e.b.length?(g[d++]=x.b[u++],g[d++]=x.b[u++]):u>=x.b.length?(g[d++]=e.b[s++],g[d++]=e.b[s++]):x.b[u]0?e.i:0)),++n;for(pLe(e.n,A),e.d=s,e.r=u,e.g=0,e.f=0,e.e=0,e.o=Pa,e.p=Pa,g=new ge(e.b);g.a0&&(d=(!e.n&&(e.n=new xt(bl,e,1,7)),y(Ge(e.n,0),135)).a,!d||Ei(Ei((n.a+=' "',n),d),'"'))),s=(!e.b&&(e.b=new Ir(Pn,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new Ir(Pn,e,5,8)),e.c.i<=1))),s?n.a+=" [":n.a+=" ",Ei(n,k6e(new Zse,new gn(e.b))),s&&(n.a+="]"),n.a+=Ode,s&&(n.a+="["),Ei(n,k6e(new Zse,new gn(e.c))),s&&(n.a+="]"),n.a)}i(JGt,"qzd");function Skn(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et,Ft,mr,dr,jr;for(gt=e.c,Et=n.c,s=Pl(gt.a,e,0),u=Pl(Et.a,n,0),Be=y(Wx(e,(al(),Ih)).Kc().Pb(),12),dr=y(Wx(e,vu).Kc().Pb(),12),Ye=y(Wx(n,Ih).Kc().Pb(),12),jr=y(Wx(n,vu).Kc().Pb(),12),xe=$0(Be.e),Ft=$0(dr.g),Ie=$0(Ye.e),mr=$0(jr.g),Qk(e,u,Et),x=Ie,N=0,ne=x.length;NN?new $2((hg(),B3),s,n,D-N):D>0&&N>0&&(new $2((hg(),B3),n,s,0),new $2(B3,s,n,0))),x)}i(_Me,"PTc");function Lkn(e,n,s){var u,d,g;for(e.a=new Mt,g=Hn(n.b,0);g.b!=g.d.c;){for(d=y(Un(g),40);y(oe(d,(pc(),nm)),17).a>e.a.c.length-1;)It(e.a,new Bs(NC,fNe));u=y(oe(d,nm),17).a,s==(Ts(),_l)||s==Gl?(d.e.aQe(rt(y(Xt(e.a,u),42).b))&&Dse(y(Xt(e.a,u),42),d.e.a+d.f.a)):(d.e.bQe(rt(y(Xt(e.a,u),42).b))&&Dse(y(Xt(e.a,u),42),d.e.b+d.f.b))}}i(Lkn,"pXc");function ZGt(e,n,s,u){var d,g,x,k,A,D,N;if(g=dK(u),k=Kt(Yt(oe(u,(Ht(),U$e)))),(k||Kt(Yt(oe(e,zJ))))&&!K4(y(oe(e,ns),101)))d=B5(g),A=bMe(e,s,s==(al(),vu)?d:t$(d));else switch(A=new Gc,rc(A,e),n?(N=A.n,N.a=n.a-e.n.a,N.b=n.b-e.n.b,aBt(N,0,0,e.o.a,e.o.b),$s(A,wGt(A,g))):(d=B5(g),$s(A,s==(al(),vu)?d:t$(d))),x=y(oe(u,(At(),ru)),21),D=A.j,g.g){case 2:case 1:(D==(Bt(),en)||D==Gn)&&x.Fc((sl(),XC));break;case 4:case 3:(D==(Bt(),pn)||D==on)&&x.Fc((sl(),XC))}return A}i(ZGt,"g2b");function ejt(e,n){var s,u,d,g,x,k;for(x=new q2(new R2(e.f.b).a);x.b;){if(g=Ux(x),d=y(g.ld(),602),n==1){if(d.Af()!=(Ts(),Cd)&&d.Af()!=a0)continue}else if(d.Af()!=(Ts(),_l)&&d.Af()!=Gl)continue;switch(u=y(y(g.md(),42).b,86),k=y(y(g.md(),42).a,194),s=k.c,d.Af().g){case 2:u.g.c=e.e.a,u.g.b=p.Math.max(1,u.g.b+s);break;case 1:u.g.c=u.g.c+s,u.g.b=p.Math.max(1,u.g.b-s);break;case 4:u.g.d=e.e.b,u.g.a=p.Math.max(1,u.g.a+s);break;case 3:u.g.d=u.g.d+s,u.g.a=p.Math.max(1,u.g.a-s)}}}i(ejt,"VXb");function Dkn(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue;for(k=ot(ei,Ai,28,n.b.c.length,15,1),D=ot(u0e,kt,273,n.b.c.length,0,1),A=ot(Km,Yy,10,n.b.c.length,0,1),B=e.a,U=0,ee=B.length;U0&&A[u]&&(ne=Z4(e.b,A[u],d)),ue=p.Math.max(ue,d.c.c.b+ne);for(g=new ge(N.e);g.a1)throw me(new Jr(mG));A||(g=Om(n,u.Kc().Pb()),x.Fc(g))}return NRe(e,t_e(e,n,s),x)}i(Ikn,"Sfe");function gX(e,n,s){var u,d,g,x,k,A,D,N;if(j1(e.e,n))A=(el(),y(n,69).xk()?new RW(n,e):new $B(n,e)),KK(A.c,A.b),eM(A,y(s,16));else{for(N=Iu(e.e.Dh(),n),u=y(e.g,124),x=0;x"}A!=null&&(n.a+=""+A)}else e.e?(k=e.e.zb,k!=null&&(n.a+=""+k)):(n.a+="?",e.b?(n.a+=" super ",vfe(e.b,n)):e.f&&(n.a+=" extends ",vfe(e.f,n)))}i(vfe,"r2d");function Okn(e){e.b=null,e.a=null,e.o=null,e.q=null,e.v=null,e.w=null,e.B=null,e.p=null,e.Q=null,e.R=null,e.S=null,e.T=null,e.U=null,e.V=null,e.W=null,e.bb=null,e.eb=null,e.ab=null,e.H=null,e.db=null,e.c=null,e.d=null,e.f=null,e.n=null,e.r=null,e.s=null,e.u=null,e.G=null,e.J=null,e.e=null,e.j=null,e.i=null,e.g=null,e.k=null,e.t=null,e.F=null,e.I=null,e.L=null,e.M=null,e.O=null,e.P=null,e.$=null,e.N=null,e.Z=null,e.cb=null,e.K=null,e.D=null,e.A=null,e.C=null,e._=null,e.fb=null,e.X=null,e.Y=null,e.gb=!1,e.hb=!1}i(Okn,"Uae");function Pkn(e){var n,s,u,d;if(u=_fe((!e.c&&(e.c=gF(Cc(e.f))),e.c),0),e.e==0||e.a==0&&e.f!=-1&&e.e<0)return u;if(n=wRe(e)<0?1:0,s=e.e,d=(u.length+1+p.Math.abs(Fs(e.e)),new G4),n==1&&(d.a+="-"),e.e>0)if(s-=u.length-n,s>=0){for(d.a+="0.";s>pw.length;s-=pw.length)KAt(d,pw);I6t(d,pw,Fs(s)),Ei(d,(Zr(n,u.length+1),u.substr(n)))}else s=n-s,Ei(d,od(u,n,Fs(s))),d.a+=".",Ei(d,v8e(u,Fs(s)));else{for(Ei(d,(Zr(n,u.length+1),u.substr(n)));s<-pw.length;s+=pw.length)KAt(d,pw);I6t(d,pw,Fs(-s))}return d.a}i(Pkn,"yib");function wfe(e){var n,s,u,d,g,x,k,A,D;return!(e.k!=(sn(),ls)||e.j.c.length<=1||(g=y(oe(e,(Ht(),ns)),101),g==(fo(),nu))||(d=(Xk(),(e.q?e.q:(Dr(),Dr(),Wm))._b(kT)?u=y(oe(e,kT),203):u=y(oe(Eo(e),vI),203),u),d==ZJ)||!(d==sE||d==aE)&&(x=Qe(rt(Kk(e,wI))),n=y(oe(e,VG),140),!n&&(n=new rAe(x,x,x,x)),D=ac(e,(Bt(),on)),A=n.d+n.a+(D.gc()-1)*x,A>e.o.b||(s=ac(e,pn),k=n.d+n.a+(s.gc()-1)*x,k>e.o.b)))}i(wfe,"BOc");function Bkn(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe;n.Ug("Orthogonal edge routing",1),D=Qe(rt(oe(e,(Ht(),iE)))),s=Qe(rt(oe(e,rE))),u=Qe(rt(oe(e,Tw))),U=new Ule(0,s),fe=0,x=new vo(e.b,0),k=null,N=null,A=null,B=null;do N=x.b0?(ee=(ne-1)*s,k&&(ee+=u),N&&(ee+=u),een||Kt(Yt(Ct(A,(Kg(),nj)))))&&(d=0,g+=N.b+s,zr(B.c,N),N=new Q8e(g,s),u=new Tue(0,N.f,N,s),zY(N,u),d=0),u.b.c.length==0||!Kt(Yt(Ct(Oa(A),(Kg(),d1e))))&&(A.f>=u.o&&A.f<=u.f||u.a*.5<=A.f&&u.a*1.5>=A.f)?wLe(u,A):(x=new Tue(u.s+u.r+s,N.f,N,s),zY(N,x),wLe(x,A)),d=A.i+A.g;return zr(B.c,N),B}i(ojt,"U8c");function v9(e){var n,s,u,d;if(!(e.b==null||e.b.length<=2)&&!e.a){for(n=0,d=0;d=e.b[d+1])d+=2;else if(s0)for(u=new Sh(y(ta(e.a,g),21)),Dr(),gs(u,new ySe(n)),d=new vo(g.b,0);d.b0&&u>=-6?u>=0?zB(g,s-Fs(e.e),"."):(hue(g,n-1,n-1,"0."),zB(g,n+1,qd(pw,0,-Fs(u)-1))):(s-n>=1&&(zB(g,n,"."),++s),zB(g,s,"E"),u>0&&zB(g,++s,"+"),zB(g,++s,""+fM(Cc(u)))),e.g=g.a,e.g))}i(cjt,"zib");function Wkn(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et,Ft;u=Qe(rt(oe(n,(Ht(),q$e)))),gt=y(oe(n,xI),17).a,U=4,d=3,Et=20/gt,ee=!1,A=0,x=Yi;do{for(g=A!=1,B=A!=0,Ft=0,fe=e.a,Ie=0,Ye=fe.length;Iegt)?(A=2,x=Yi):A==0?(A=1,x=Ft):(A=0,x=Ft)):(ee=Ft>=x||x-Ft0?1:bx(isNaN(u),isNaN(0)))>=0^(Np(Q0),(p.Math.abs(k)<=Q0||k==0||isNaN(k)&&isNaN(0)?0:k<0?-1:k>0?1:bx(isNaN(k),isNaN(0)))>=0)?p.Math.max(k,u):(Np(Q0),(p.Math.abs(u)<=Q0||u==0||isNaN(u)&&isNaN(0)?0:u<0?-1:u>0?1:bx(isNaN(u),isNaN(0)))>0?p.Math.sqrt(k*k+u*u):-p.Math.sqrt(k*k+u*u))}i(Kkn,"Kid");function tw(e,n){var s,u,d,g,x,k;if(n){if(!e.a&&(e.a=new hq),e.e==2){uq(e.a,n);return}if(n.e==1){for(d=0;d=Xo?pl(s,vLe(u)):P8(s,u&ks),x=(++Ja,new lce(10,null,0)),Mnn(e.a,x,k-1)):(s=(x.Mm().length+g,new R_),pl(s,x.Mm())),n.e==0?(u=n.Km(),u>=Xo?pl(s,vLe(u)):P8(s,u&ks)):pl(s,n.Mm()),y(x,530).b=s.a}}i(tw,"hue");function Xkn(e,n,s){var u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe;if(!s.dc()){for(k=0,U=0,u=s.Kc(),ne=y(u.Pb(),17).a;k1&&(A=D.Hg(A,e.a,k));return A.c.length==1?y(Xt(A,A.c.length-1),238):A.c.length==2?$kn((_r(0,A.c.length),y(A.c[0],238)),(_r(1,A.c.length),y(A.c[1],238)),x,g):null}i(e3n,"f8c");function t3n(e,n,s){var u,d,g,x,k,A,D;for(s.Ug("Find roots",1),e.a.c.length=0,d=Hn(n.b,0);d.b!=d.d.c;)u=y(Un(d),40),u.b.b==0&&(Tt(u,(xa(),_v),(Hr(),!0)),It(e.a,u));switch(e.a.c.length){case 0:g=new xue(0,n,"DUMMY_ROOT"),Tt(g,(xa(),_v),(Hr(),!0)),Tt(g,Pme,!0),ki(n.b,g);break;case 1:break;default:for(x=new xue(0,n,nQ),A=new ge(e.a);A.a=p.Math.abs(u.b)?(u.b=0,g.d+g.a>x.d&&g.dx.c&&g.c0){if(n=new e6e(e.i,e.g),s=e.i,g=s<100?null:new Ub(s),e.Tj())for(u=0;u0){for(k=e.g,D=e.i,SM(e),g=D<100?null:new Ub(D),u=0;u>13|(e.m&15)<<9,d=e.m>>4&8191,g=e.m>>17|(e.h&255)<<5,x=(e.h&1048320)>>8,k=n.l&8191,A=n.l>>13|(n.m&15)<<9,D=n.m>>4&8191,N=n.m>>17|(n.h&255)<<5,B=(n.h&1048320)>>8,mr=s*k,dr=u*k,jr=d*k,Or=g*k,yn=x*k,A!=0&&(dr+=s*A,jr+=u*A,Or+=d*A,yn+=g*A),D!=0&&(jr+=s*D,Or+=u*D,yn+=d*D),N!=0&&(Or+=s*N,yn+=u*N),B!=0&&(yn+=s*B),ee=mr&Qh,ne=(dr&511)<<13,U=ee+ne,fe=mr>>22,xe=dr>>9,Ie=(jr&262143)<<4,Be=(Or&31)<<17,ue=fe+xe+Ie+Be,gt=jr>>18,Et=Or>>5,Ft=(yn&4095)<<8,Ye=gt+Et+Ft,ue+=U>>22,U&=Qh,Ye+=ue>>22,ue&=Qh,Ye&=U1,Au(U,ue,Ye)}i(n3n,"wD");function hjt(e){var n,s,u,d,g,x,k;if(k=y(Xt(e.j,0),12),k.g.c.length!=0&&k.e.c.length!=0)throw me(new Cl("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(k.g.c.length!=0){for(g=Pa,s=new ge(k.g);s.a4)if(e.fk(n)){if(e.al()){if(d=y(n,54),u=d.Eh(),A=u==e.e&&(e.ml()?d.yh(d.Fh(),e.il())==e.jl():-1-d.Fh()==e.Lj()),e.nl()&&!A&&!u&&d.Jh()){for(g=0;g0&&fBt(e,k,B);for(d=new ge(B);d.ae.d[x.p]&&(s+=f7e(e.b,g)*y(A.b,17).a,tv(e.a,_t(g)));for(;!A_(e.a);)H7e(e.b,y(v5(e.a),17).a)}return s}i(a3n,"mMc");function s3n(e,n){var s,u,d,g,x,k,A,D,N,B;if(N=y(oe(e,(At(),vc)),64),u=y(Xt(e.j,0),12),N==(Bt(),en)?$s(u,Gn):N==Gn&&$s(u,en),y(oe(n,(Ht(),ww)),181).Hc((mf(),Lw))){if(A=Qe(rt(oe(e,BR))),D=Qe(rt(oe(e,FR))),x=Qe(rt(oe(e,N3))),k=y(oe(n,M3),21),k.Hc((_h(),X1)))for(s=D,B=e.o.a/2-u.n.a,g=new ge(u.f);g.a0&&(D=e.n.a/g);break;case 2:case 4:d=e.i.o.b,d>0&&(D=e.n.b/d)}Tt(e,(At(),vT),D)}if(A=e.o,x=e.a,u)x.a=u.a,x.b=u.b,e.d=!0;else if(n!=o0&&n!=Ov&&k!=oc)switch(k.g){case 1:x.a=A.a/2;break;case 2:x.a=A.a,x.b=A.b/2;break;case 3:x.a=A.a/2,x.b=A.b;break;case 4:x.b=A.b/2}else x.a=A.a/2,x.b=A.b/2}i(u3n,"m2b");function w9(e){var n,s,u,d,g,x,k,A,D,N;if(e.Pj())if(N=e.Ej(),A=e.Qj(),N>0)if(n=new CRe(e.pj()),s=N,g=s<100?null:new Ub(s),WB(e,s,n.g),d=s==1?e.Ij(4,Ge(n,0),null,0,A):e.Ij(6,n,null,-1,A),e.Mj()){for(u=new gn(n);u.e!=u.i.gc();)g=e.Oj(xn(u),g);g?(g.nj(d),g.oj()):e.Jj(d)}else g?(g.nj(d),g.oj()):e.Jj(d);else WB(e,e.Ej(),e.Fj()),e.Jj(e.Ij(6,(Dr(),Po),null,-1,A));else if(e.Mj())if(N=e.Ej(),N>0){for(k=e.Fj(),D=N,WB(e,N,k),g=D<100?null:new Ub(D),u=0;u1&&ch(x)*df(x)/2>k[0]){for(g=0;gk[g];)++g;ne=new Dy(ue,0,g+1),B=new BY(ne),N=ch(x)/df(x),A=Lfe(B,n,new QS,s,u,d,N),Xi(lg(B.e),A),m5(_7(U,B),Q7),ee=new Dy(ue,g+1,ue.c.length),lDe(U,ee),ue.c.length=0,D=0,f8t(k,k.length,0)}else fe=U.b.c.length==0?null:Xt(U.b,0),fe!=null&&nue(U,0),D>0&&(k[D]=k[D-1]),k[D]+=ch(x)*df(x),++D,zr(ue.c,x);return ue}i(h3n,"frd");function f3n(e,n){var s,u,d,g;s=n.b,g=new Sh(s.j),d=0,u=s.j,u.c.length=0,Sx(y(H2(e.b,(Bt(),en),(zx(),mT)),15),s),d=s$(g,d,new c0t,u),Sx(y(H2(e.b,en,Ev),15),s),d=s$(g,d,new r0t,u),Sx(y(H2(e.b,en,gT),15),s),Sx(y(H2(e.b,pn,mT),15),s),Sx(y(H2(e.b,pn,Ev),15),s),d=s$(g,d,new u0t,u),Sx(y(H2(e.b,pn,gT),15),s),Sx(y(H2(e.b,Gn,mT),15),s),d=s$(g,d,new h0t,u),Sx(y(H2(e.b,Gn,Ev),15),s),d=s$(g,d,new f0t,u),Sx(y(H2(e.b,Gn,gT),15),s),Sx(y(H2(e.b,on,mT),15),s),d=s$(g,d,new a0t,u),Sx(y(H2(e.b,on,Ev),15),s),Sx(y(H2(e.b,on,gT),15),s)}i(f3n,"_nc");function d3n(e,n,s){var u,d,g,x,k,A,D,N,B,U,ee;for(k=new ge(n);k.a.5?xe-=x*2*(ne-.5):ne<.5&&(xe+=g*2*(.5-ne)),d=k.d.b,xefe.a-ue-N&&(xe=fe.a-ue-N),k.n.a=n+xe}}i(IMe,"p2b");function y3n(e){var n,s,u,d,g;if(u=y(oe(e,(Ht(),Pu)),171),u==(md(),Av)){for(s=new bn(wn(Ks(e).a.Kc(),new I));qn(s);)if(n=y(Mn(s),18),!SDt(n))throw me(new xy($de+l$(e)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(u==A3){for(g=new bn(wn(fs(e).a.Kc(),new I));qn(g);)if(d=y(Mn(g),18),!SDt(d))throw me(new xy($de+l$(e)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}}i(y3n,"jec");function I$(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne;if(e.e&&e.c.c>19!=0&&(n=f7(n),A=!A),x=t2n(n),g=!1,d=!1,u=!1,e.h==U$&&e.m==0&&e.l==0)if(d=!0,g=!0,x==-1)e=JSt((K8(),KOe)),u=!0,A=!A;else return k=__e(e,x),A&&wue(k),s&&(xv=Au(0,0,0)),k;else e.h>>19!=0&&(g=!0,e=f7(e),u=!0,A=!A);return x!=-1?Dhn(e,x,A,g,s):mDe(e,n)<0?(s&&(g?xv=f7(e):xv=Au(e.l,e.m,e.h)),Au(0,0,0)):Jxn(u?e:Au(e.l,e.m,e.h),n,A,g,d,s)}i(NMe,"iD");function Cfe(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne;if(x=e.e,A=n.e,x==0)return n;if(A==0)return e;if(g=e.d,k=n.d,g+k==2)return s=Vs(e.a[0],ol),u=Vs(n.a[0],ol),x==A?(N=$o(s,u),ne=oi(N),ee=oi(Xb(N,32)),ee==0?new L1(x,ne):new P2(x,2,Te(we(ei,1),Ai,28,15,[ne,ee]))):(z0(),eW(x<0?Hd(u,s):Hd(s,u),0)?cv(x<0?Hd(u,s):Hd(s,u)):gM(cv(Ny(x<0?Hd(u,s):Hd(s,u)))));if(x==A)U=x,B=g>=k?Ice(e.a,g,n.a,k):Ice(n.a,k,e.a,g);else{if(d=g!=k?g>k?1:-1:YRe(e.a,n.a,g),d==0)return z0(),tI;d==1?(U=x,B=_ce(e.a,g,n.a,k)):(U=A,B=_ce(n.a,k,e.a,g))}return D=new P2(U,B.length,B),xM(D),D}i(Cfe,"Bjb");function v3n(e,n){var s,u,d,g,x,k,A;if(!(e.g>n.f||n.g>e.f)){for(s=0,u=0,x=e.w.a.ec().Kc();x.Ob();)d=y(x.Pb(),12),Mue(ic(Te(we(Xs,1),Lt,8,0,[d.i.n,d.n,d.a])).b,n.g,n.f)&&++s;for(k=e.r.a.ec().Kc();k.Ob();)d=y(k.Pb(),12),Mue(ic(Te(we(Xs,1),Lt,8,0,[d.i.n,d.n,d.a])).b,n.g,n.f)&&--s;for(A=n.w.a.ec().Kc();A.Ob();)d=y(A.Pb(),12),Mue(ic(Te(we(Xs,1),Lt,8,0,[d.i.n,d.n,d.a])).b,e.g,e.f)&&++u;for(g=n.r.a.ec().Kc();g.Ob();)d=y(g.Pb(),12),Mue(ic(Te(we(Xs,1),Lt,8,0,[d.i.n,d.n,d.a])).b,e.g,e.f)&&--u;s=0)return s;switch(_x(Sl(e,s))){case 2:{if(kr("",Fy(e,s.qk()).xe())){if(A=lF(Sl(e,s)),k=$8(Sl(e,s)),N=O_e(e,n,A,k),N)return N;for(d=hMe(e,n),x=0,B=d.gc();x1)throw me(new Jr(mG));for(N=Iu(e.e.Dh(),n),u=y(e.g,124),x=0;x1,D=new zg(U.b);tc(D.a)||tc(D.b);)A=y(tc(D.a)?pe(D.a):pe(D.b),18),B=A.c==U?A.d:A.c,p.Math.abs(ic(Te(we(Xs,1),Lt,8,0,[B.i.n,B.n,B.a])).b-x.b)>1&&swn(e,A,x,g,U)}}i(C3n,"kSc");function E3n(e){var n,s,u,d,g,x;if(d=new vo(e.e,0),u=new vo(e.a,0),e.d)for(s=0;svpe;){for(g=n,x=0;p.Math.abs(n-g)0),d.a.Xb(d.c=--d.b),GTn(e,e.b-x,g,u,d),Sn(d.b0),u.a.Xb(u.c=--u.b)}if(!e.d)for(s=0;s0?(e.f[N.p]=ee/(N.e.c.length+N.g.c.length),e.c=p.Math.min(e.c,e.f[N.p]),e.b=p.Math.max(e.b,e.f[N.p])):k&&(e.f[N.p]=ee)}}i(S3n,"yIc");function A3n(e){e.b=null,e.bb=null,e.fb=null,e.qb=null,e.a=null,e.c=null,e.d=null,e.e=null,e.f=null,e.n=null,e.M=null,e.L=null,e.Q=null,e.R=null,e.K=null,e.db=null,e.eb=null,e.g=null,e.i=null,e.j=null,e.k=null,e.gb=null,e.o=null,e.p=null,e.q=null,e.r=null,e.$=null,e.ib=null,e.S=null,e.T=null,e.t=null,e.s=null,e.u=null,e.v=null,e.w=null,e.B=null,e.A=null,e.C=null,e.D=null,e.F=null,e.G=null,e.H=null,e.I=null,e.J=null,e.P=null,e.Z=null,e.U=null,e.V=null,e.W=null,e.X=null,e.Y=null,e._=null,e.ab=null,e.cb=null,e.hb=null,e.nb=null,e.lb=null,e.mb=null,e.ob=null,e.pb=null,e.jb=null,e.kb=null,e.N=!1,e.O=!1}i(A3n,"xne");function R3n(e,n,s){var u,d,g,x;for(s.Ug("Graph transformation ("+e.a+")",1),x=Px(n.a),g=new ge(n.b);g.a=k.b.c)&&(k.b=n),(!k.c||n.c<=k.c.c)&&(k.d=k.c,k.c=n),(!k.e||n.d>=k.e.d)&&(k.e=n),(!k.f||n.d<=k.f.d)&&(k.f=n);return u=new RK((u7(),pT)),mF(e,LKt,new Eh(Te(we(LG,1),Gr,382,0,[u]))),x=new RK(x3),mF(e,RKt,new Eh(Te(we(LG,1),Gr,382,0,[x]))),d=new RK(w3),mF(e,AKt,new Eh(Te(we(LG,1),Gr,382,0,[d]))),g=new RK(VC),mF(e,SKt,new Eh(Te(we(LG,1),Gr,382,0,[g]))),Khe(u.c,pT),Khe(d.c,w3),Khe(g.c,VC),Khe(x.c,x3),k.a.c.length=0,Rs(k.a,u.c),Rs(k.a,gd(d.c)),Rs(k.a,g.c),Rs(k.a,gd(x.c)),k}i(D3n,"LZb");function _3n(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne;for(n.Ug(EVt,1),ee=Qe(rt(Ct(e,($m(),F3)))),x=Qe(rt(Ct(e,(Kg(),FI)))),k=y(Ct(e,BI),107),bRe((!e.a&&(e.a=new xt(Hi,e,10,11)),e.a)),N=ojt((!e.a&&(e.a=new xt(Hi,e,10,11)),e.a),ee,x),!e.a&&(e.a=new xt(Hi,e,10,11)),D=new ge(N);D.a0&&(e.a=A+(ee-1)*g,n.c.b+=e.a,n.f.b+=e.a)),ne.a.gc()!=0&&(U=new Ule(1,g),ee=FMe(U,n,ne,ue,n.f.b+A-n.c.b),ee>0&&(n.f.b+=A+(ee-1)*g))}i(M3n,"A9b");function pjt(e,n,s){var u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye;for(N=Qe(rt(oe(e,(Ht(),ET)))),u=Qe(rt(oe(e,rGe))),U=new vse,Tt(U,ET,N+u),D=n,xe=D.d,ue=D.c.i,Ie=D.d.i,fe=o6e(ue.c),Be=o6e(Ie.c),d=new Mt,B=fe;B<=Be;B++)k=new $1(e),S2(k,(sn(),ro)),Tt(k,(At(),ra),D),Tt(k,ns,(fo(),nu)),Tt(k,YJ,U),ee=y(Xt(e.b,B),30),B==fe?Qk(k,ee.a.c.length-s,ee):bo(k,ee),Ye=Qe(rt(oe(D,Jy))),Ye<0&&(Ye=0,Tt(D,Jy,Ye)),k.o.b=Ye,ne=p.Math.floor(Ye/2),x=new Gc,$s(x,(Bt(),on)),rc(x,k),x.n.b=ne,A=new Gc,$s(A,pn),rc(A,k),A.n.b=ne,ho(D,x),g=new Ix,Bl(g,D),Tt(g,Dl,null),Fo(g,A),ho(g,xe),w0n(k,D,g),zr(d.c,g),D=g;return d}i(pjt,"osc");function Efe(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be;for(A=y(Vy(e,(Bt(),on)).Kc().Pb(),12).e,ee=y(Vy(e,pn).Kc().Pb(),12).g,k=A.c.length,Be=Gg(y(Xt(e.j,0),12));k-- >0;){for(ue=(_r(0,A.c.length),y(A.c[0],18)),d=(_r(0,ee.c.length),y(ee.c[0],18)),Ie=d.d.e,g=Pl(Ie,d,0),ton(ue,d.d,g),Fo(d,null),ho(d,null),ne=ue.a,n&&ki(ne,new Uo(Be)),u=Hn(d.a,0);u.b!=u.d.c;)s=y(Un(u),8),ki(ne,new Uo(s));for(xe=ue.b,U=new ge(d.b);U.ax)&&As(e.b,y(fe.b,18));++k}g=x}}}i(I3n,"$Qc");function OMe(e,n){var s;if(n==null||kr(n,Xu)||n.length==0&&e.k!=(Hy(),C6))return null;switch(e.k.g){case 1:return kK(n,uR)?(Hr(),yR):kK(n,Bpe)?(Hr(),Tv):null;case 2:try{return _t(Nf(n,No,Yi))}catch(u){if(u=$a(u),$e(u,130))return null;throw me(u)}case 4:try{return Zk(n)}catch(u){if(u=$a(u),$e(u,130))return null;throw me(u)}case 3:return n;case 5:return OIt(e),YBt(e,n);case 6:return OIt(e),Mvn(e,e.a,n);case 7:try{return s=Ubn(e),s.cg(n),s}catch(u){if(u=$a(u),$e(u,33))return null;throw me(u)}default:throw me(new Cl("Invalid type set for this layout option."))}}i(OMe,"zhd");function PMe(e){var n;switch(e.d){case 1:{if(e.Sj())return e.o!=-2;break}case 2:{if(e.Sj())return e.o==-2;break}case 3:case 5:case 4:case 6:case 7:return e.o>-2;default:return!1}switch(n=e.Rj(),e.p){case 0:return n!=null&&Kt(Yt(n))!=K_(e.k,0);case 1:return n!=null&&y(n,222).a!=oi(e.k)<<24>>24;case 2:return n!=null&&y(n,180).a!=(oi(e.k)&ks);case 6:return n!=null&&K_(y(n,168).a,e.k);case 5:return n!=null&&y(n,17).a!=oi(e.k);case 7:return n!=null&&y(n,191).a!=oi(e.k)<<16>>16;case 3:return n!=null&&Qe(rt(n))!=e.j;case 4:return n!=null&&y(n,161).a!=e.j;default:return n==null?e.n!=null:!Ji(n,e.n)}}i(PMe,"JKd");function N$(e,n,s){var u,d,g,x;return e.ol()&&e.nl()&&(x=Ble(e,y(s,58)),Ze(x)!==Ze(s))?(e.xj(n),e.Dj(n,b_t(e,n,x)),e.al()&&(g=(d=y(s,54),e.ml()?e.kl()?d.Th(e.b,tl(y(Nr(qu(e.b),e.Lj()),19)).n,y(Nr(qu(e.b),e.Lj()).Hk(),29).kk(),null):d.Th(e.b,Ga(d.Dh(),tl(y(Nr(qu(e.b),e.Lj()),19))),null,null):d.Th(e.b,-1-e.Lj(),null,null)),!y(x,54).Ph()&&(g=(u=y(x,54),e.ml()?e.kl()?u.Rh(e.b,tl(y(Nr(qu(e.b),e.Lj()),19)).n,y(Nr(qu(e.b),e.Lj()).Hk(),29).kk(),g):u.Rh(e.b,Ga(u.Dh(),tl(y(Nr(qu(e.b),e.Lj()),19))),null,g):u.Rh(e.b,-1-e.Lj(),null,g))),g&&g.oj()),uf(e.b)&&e.Jj(e.Ij(9,s,x,n,!1)),x):s}i(N$,"N_d");function gjt(e){var n,s,u,d,g,x,k,A,D,N;for(u=new Mt,x=new ge(e.e.a);x.a0&&(x=p.Math.max(x,w9t(e.C.b+u.d.b,d))),N=u,B=d,U=g;e.C&&e.C.c>0&&(ee=U+e.C.c,D&&(ee+=N.d.c),x=p.Math.max(x,(Pg(),Np(Qg),p.Math.abs(B-1)<=Qg||B==1||isNaN(B)&&isNaN(1)?0:ee/(1-B)))),s.n.b=0,s.a.a=x}i(mjt,"vMb");function yjt(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee;if(s=y(gl(e.b,n),127),A=y(y(ta(e.r,n),21),87),A.dc()){s.n.d=0,s.n.a=0;return}for(D=e.u.Hc((_h(),X1)),x=0,e.A.Hc((mf(),Lw))&&q$t(e,n),k=A.Kc(),N=null,U=0,B=0;k.Ob();)u=y(k.Pb(),117),g=Qe(rt(u.b.of((dW(),jQ)))),d=u.b.Mf().b,N?(ee=B+N.d.a+e.w+u.d.d,x=p.Math.max(x,(Pg(),Np(Qg),p.Math.abs(U-g)<=Qg||U==g||isNaN(U)&&isNaN(g)?0:ee/(g-U)))):e.C&&e.C.d>0&&(x=p.Math.max(x,w9t(e.C.d+u.d.d,g))),N=u,U=g,B=d;e.C&&e.C.a>0&&(ee=B+e.C.a,D&&(ee+=N.d.a),x=p.Math.max(x,(Pg(),Np(Qg),p.Math.abs(U-1)<=Qg||U==1||isNaN(U)&&isNaN(1)?0:ee/(1-U)))),s.n.d=0,s.a.b=x}i(yjt,"ENb");function N3n(e,n,s,u,d,g,x,k){var A,D,N,B,U,ee,ne,ue,fe,xe;if(ne=!1,D=U_e(s.q,n.f+n.b-s.q.f),ee=u.f>n.b&&k,xe=d-(s.q.e+D-x),B=(A=b9(u,xe,!1),A.a),ee&&B>u.f)return!1;if(ee){for(U=0,fe=new ge(n.d);fe.a=(_r(g,e.c.length),y(e.c[g],186)).e,!ee&&B>n.b&&!N)?!1:((N||ee||B<=n.b)&&(N&&B>n.b?(s.d=B,EF(s,nBt(s,B))):(xPt(s.q,D),s.c=!0),EF(u,d-(s.s+s.r)),o$(u,s.q.e+s.q.d,n.f),zY(n,u),e.c.length>g&&(u$((_r(g,e.c.length),y(e.c[g],186)),u),(_r(g,e.c.length),y(e.c[g],186)).a.c.length==0&&My(e,g)),ne=!0),ne)}i(N3n,"L8c");function bjt(e,n,s){var u,d,g,x,k,A;for(this.g=e,k=n.d.length,A=s.d.length,this.d=ot(Km,Yy,10,k+A,0,1),x=0;x0?Xce(this,this.f/this.a):Bg(n.g,n.d[0]).a!=null&&Bg(s.g,s.d[0]).a!=null?Xce(this,(Qe(Bg(n.g,n.d[0]).a)+Qe(Bg(s.g,s.d[0]).a))/2):Bg(n.g,n.d[0]).a!=null?Xce(this,Bg(n.g,n.d[0]).a):Bg(s.g,s.d[0]).a!=null&&Xce(this,Bg(s.g,s.d[0]).a)}i(bjt,"zJc");function O3n(e,n){var s,u,d,g,x,k,A,D,N,B;for(e.a=new Q8t(yhn(WI)),u=new ge(n.a);u.a=1&&(fe-x>0&&B>=0?(A.n.a+=ue,A.n.b+=g*x):fe-x<0&&N>=0&&(A.n.a+=ue*fe,A.n.b+=g));e.o.a=n.a,e.o.b=n.b,Tt(e,(Ht(),ww),(mf(),u=y(sg(eN),9),new ad(u,y(Dp(u,u.length),9),0)))}i(wjt,"r2b");function F3n(e,n,s,u,d,g){var x;if(!(n==null||!Uue(n,kVe,CVe)))throw me(new Jr("invalid scheme: "+n));if(!e&&!(s!=null&&M0(s,Ku(35))==-1&&s.length>0&&(Zr(0,s.length),s.charCodeAt(0)!=47)))throw me(new Jr("invalid opaquePart: "+s));if(e&&!(n!=null&&xB(KZ,n.toLowerCase()))&&!(s==null||!Uue(s,iN,aN)))throw me(new Jr(tqt+s));if(e&&n!=null&&xB(KZ,n.toLowerCase())&&!ymn(s))throw me(new Jr(tqt+s));if(!kdn(u))throw me(new Jr("invalid device: "+u));if(!ofn(d))throw x=d==null?"invalid segments: null":"invalid segment: "+nfn(d),me(new Jr(x));if(!(g==null||M0(g,Ku(35))==-1))throw me(new Jr("invalid query: "+g))}i(F3n,"ISd");function $3n(e,n,s){var u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe;if(s.Ug("Network simplex layering",1),e.b=n,xe=y(oe(n,(Ht(),xI)),17).a*4,fe=e.b.a,fe.c.length<1){s.Vg();return}for(g=Pxn(e,fe),ue=null,d=Hn(g,0);d.b!=d.d.c;){for(u=y(Un(d),15),k=xe*Fs(p.Math.sqrt(u.gc())),x=Qxn(u),ofe(r5e($Xr(n5e(mle(x),k),ue),!0),s.eh(1)),U=e.b.b,ne=new ge(x.a);ne.a1)for(ue=ot(ei,Ai,28,e.b.b.c.length,15,1),B=0,D=new ge(e.b.b);D.a0){CK(e,s,0),s.a+=String.fromCharCode(u),d=opn(n,g),CK(e,s,d),g+=d-1;continue}u==39?g+10&&ne.a<=0){A.c.length=0,zr(A.c,ne);break}ee=ne.i-ne.d,ee>=k&&(ee>k&&(A.c.length=0,k=ee),zr(A.c,ne))}A.c.length!=0&&(x=y(Xt(A,MK(d,A.c.length)),118),Be.a.Bc(x)!=null,x.g=N++,CMe(x,n,s,u),A.c.length=0)}for(fe=e.c.length+1,U=new ge(e);U.aLs||n.o==kw&&N=k&&d<=A)k<=d&&g<=A?(s[N++]=d,s[N++]=g,u+=2):k<=d?(s[N++]=d,s[N++]=A,e.b[u]=A+1,x+=2):g<=A?(s[N++]=k,s[N++]=g,u+=2):(s[N++]=k,s[N++]=A,e.b[u]=A+1);else if(Agv)&&k<10);a5e(e.c,new la),Tjt(e),Nnn(e.c),L3n(e.f)}i(W3n,"RXb");function Y3n(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue;for(s=y(oe(e,(Ht(),ns)),101),x=e.f,g=e.d,k=x.a+g.b+g.c,A=0-g.d-e.c.b,N=x.b+g.d+g.a-e.c.b,D=new Mt,B=new Mt,d=new ge(n);d.a=2){for(A=Hn(s,0),x=y(Un(A),8),k=y(Un(A),8);k.a0&&HF(D,!0,(Ts(),Gl)),k.k==(sn(),ms)&&s7t(D),ji(e.f,k,n)}}i(X3n,"Akc");function Q3n(e){var n,s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye;for(d=y(oe(e,(xa(),II)),27),D=Yi,N=Yi,k=No,A=No,Be=Hn(e.b,0);Be.b!=Be.d.c;)xe=y(Un(Be),40),ee=xe.e,ne=xe.f,D=p.Math.min(D,ee.a-ne.a/2),N=p.Math.min(N,ee.b-ne.b/2),k=p.Math.max(k,ee.a+ne.a/2),A=p.Math.max(A,ee.b+ne.b/2);for(U=y(Ct(d,(pc(),dje)),107),Ie=Hn(e.b,0);Ie.b!=Ie.d.c;)xe=y(Un(Ie),40),B=oe(xe,II),$e(B,207)&&(g=y(B,27),nd(g,xe.e.a,xe.e.b),k$(g,xe));for(fe=Hn(e.a,0);fe.b!=fe.d.c;)ue=y(Un(fe),65),u=y(oe(ue,II),74),u&&(n=ue.a,s=CC(u,!0,!0),D$(n,s));Ye=k-D+(U.b+U.c),x=A-N+(U.d+U.a),Kt(Yt(Ct(d,(_i(),$3))))||tT(d,Ye,x,!1,!1),ca(d,gE,Ye-(U.b+U.c)),ca(d,pE,x-(U.d+U.a))}i(Q3n,"OVc");function Cjt(e,n){var s,u,d,g,x,k,A,D,N,B;for(A=!0,d=0,D=e.g[n.p],N=n.o.b+e.o,s=e.d[n.p][2],cd(e.b,D,_t(y(Xt(e.b,D),17).a-1+s)),cd(e.c,D,Qe(rt(Xt(e.c,D)))-N+s*e.f),++D,D>=e.j?(++e.j,It(e.b,_t(1)),It(e.c,N)):(u=e.d[n.p][1],cd(e.b,D,_t(y(Xt(e.b,D),17).a+1-u)),cd(e.c,D,Qe(rt(Xt(e.c,D)))+N-u*e.f)),(e.r==(Yd(),HG)&&(y(Xt(e.b,D),17).a>e.k||y(Xt(e.b,D-1),17).a>e.k)||e.r==qG&&(Qe(rt(Xt(e.c,D)))>e.n||Qe(rt(Xt(e.c,D-1)))>e.n))&&(A=!1),x=new bn(wn(Ks(n).a.Kc(),new I));qn(x);)g=y(Mn(x),18),k=g.c.i,e.g[k.p]==D&&(B=Cjt(e,k),d=d+y(B.a,17).a,A=A&&Kt(Yt(B.b)));return e.g[n.p]=D,d=d+e.d[n.p][0],new Bs(_t(d),(Hr(),!!A))}i(Cjt,"Wec");function Ejt(e,n){var s,u,d,g,x;s=Qe(rt(oe(n,(Ht(),Up)))),s<2&&Tt(n,Up,2),u=y(oe(n,$f),88),u==(Ts(),s0)&&Tt(n,$f,dK(n)),d=y(oe(n,UJt),17),d.a==0?Tt(n,(At(),v6),new Hue):Tt(n,(At(),v6),new mY(d.a)),g=Yt(oe(n,bI)),g==null&&Tt(n,bI,(Hr(),Ze(oe(n,Y1))===Ze((P1(),XR)))),as(new Tr(null,new Ar(n.a,16)),new gSe(e)),as(nc(new Tr(null,new Ar(n.b,16)),new dl),new mSe(e)),x=new vjt(n),Tt(n,(At(),eE),x),oF(e.a),cg(e.a,(Io(),zp),y(oe(n,yw),188)),cg(e.a,Ym,y(oe(n,vw),188)),cg(e.a,zc,y(oe(n,yI),188)),cg(e.a,eu,y(oe(n,qJ),188)),cg(e.a,$l,Qun(y(oe(n,Y1),223))),c6e(e.a,qCn(n)),Tt(n,K0e,I$(e.a,n))}i(Ejt,"cXb");function FMe(e,n,s,u,d){var g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe;for(B=new zn,x=new Mt,CBt(e,s,e.d.Ag(),x,B),CBt(e,u,e.d.Bg(),x,B),e.b=.2*(ue=LFt(nc(new Tr(null,new Ar(x,16)),new Mmt)),fe=LFt(nc(new Tr(null,new Ar(x,16)),new Imt)),p.Math.min(ue,fe)),g=0,k=0;k=2&&(xe=YFt(x,!0,U),!e.e&&(e.e=new akt(e)),npn(e.e,xe,x,e.b)),_Pt(x,U),n4n(x),ee=-1,N=new ge(x);N.ak)}i(Z3n,"Lmc");function Sjt(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie;for(D=Pa,N=Pa,k=Ls,A=Ls,U=new ge(n.i);U.a-1){for(d=Hn(k,0);d.b!=d.d.c;)u=y(Un(d),131),u.v=x;for(;k.b!=0;)for(u=y(The(k,0),131),s=new ge(u.i);s.a-1){for(g=new ge(k);g.a0)&&(tSe(A,p.Math.min(A.o,d.o-1)),tq(A,A.i-1),A.i==0&&zr(k.c,A))}}i(n4n,"WTc");function Rjt(e,n,s,u,d){var g,x,k,A;return A=Pa,x=!1,k=LMe(e,Us(new St(n.a,n.b),e),Xi(new St(s.a,s.b),d),Us(new St(u.a,u.b),s)),g=!!k&&!(p.Math.abs(k.a-e.a)<=lT&&p.Math.abs(k.b-e.b)<=lT||p.Math.abs(k.a-n.a)<=lT&&p.Math.abs(k.b-n.b)<=lT),k=LMe(e,Us(new St(n.a,n.b),e),s,d),k&&((p.Math.abs(k.a-e.a)<=lT&&p.Math.abs(k.b-e.b)<=lT)==(p.Math.abs(k.a-n.a)<=lT&&p.Math.abs(k.b-n.b)<=lT)||g?A=p.Math.min(A,yM(Us(k,s))):x=!0),k=LMe(e,Us(new St(n.a,n.b),e),u,d),k&&(x||(p.Math.abs(k.a-e.a)<=lT&&p.Math.abs(k.b-e.b)<=lT)==(p.Math.abs(k.a-n.a)<=lT&&p.Math.abs(k.b-n.b)<=lT)||g)&&(A=p.Math.min(A,yM(Us(k,u)))),A}i(Rjt,"Lid");function Ljt(e){px(e,new ew(yq(hx(lx(ux(cx(new C2,yv),EUt),"Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths."),new Ii),Nu))),Dt(e,yv,D9,zt(hBe)),Dt(e,yv,NX,(Hr(),!0)),Dt(e,yv,OC,zt(fKt)),Dt(e,yv,i6,zt(dKt)),Dt(e,yv,n6,zt(pKt)),Dt(e,yv,nR,zt(hKt)),Dt(e,yv,_9,zt(dBe)),Dt(e,yv,iR,zt(gKt)),Dt(e,yv,P9e,zt(uBe)),Dt(e,yv,F9e,zt(lBe)),Dt(e,yv,$9e,zt(cBe)),Dt(e,yv,G9e,zt(fBe)),Dt(e,yv,B9e,zt(XQ))}i(Ljt,"eWb");function i4n(e){var n,s,u,d,g,x,k,A;for(n=null,u=new ge(e);u.a0&&s.c==0&&(!n&&(n=new Mt),zr(n.c,s));if(n)for(;n.c.length!=0;){if(s=y(My(n,0),239),s.b&&s.b.c.length>0){for(g=(!s.b&&(s.b=new Mt),new ge(s.b));g.aPl(e,s,0))return new Bs(d,s)}else if(Qe(Bg(d.g,d.d[0]).a)>Qe(Bg(s.g,s.d[0]).a))return new Bs(d,s)}for(k=(!s.e&&(s.e=new Mt),s.e).Kc();k.Ob();)x=y(k.Pb(),239),A=(!x.b&&(x.b=new Mt),x.b),Bk(0,A.c.length),F_(A.c,0,s),x.c==A.c.length&&zr(n.c,x)}return null}i(i4n,"kJc");function a4n(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe;for(n.Ug("Interactive crossing minimization",1),x=0,g=new ge(e.b);g.a0&&(s+=A.n.a+A.o.a/2,++B),ne=new ge(A.j);ne.a0&&(s/=B),xe=ot(co,yl,28,u.a.c.length,15,1),k=0,D=new ge(u.a);D.a=k&&d<=A)k<=d&&g<=A?u+=2:k<=d?(e.b[u]=A+1,x+=2):g<=A?(s[N++]=d,s[N++]=k-1,u+=2):(s[N++]=d,s[N++]=k-1,e.b[u]=A+1,x+=2);else if(A2?(N=new Mt,Rs(N,new Dy(xe,1,xe.b)),g=mzt(N,Be+e.a),Ie=new qhe(g),Bl(Ie,n),zr(s.c,Ie)):u?Ie=y(mn(e.b,Fm(n)),272):Ie=y(mn(e.b,uv(n)),272),A=Fm(n),u&&(A=uv(n)),x=iyn(fe,A),D=Be+e.a,x.a?(D+=p.Math.abs(fe.b-B.b),ue=new St(B.a,(B.b+fe.b)/2)):(D+=p.Math.abs(fe.a-B.a),ue=new St((B.a+fe.a)/2,B.b)),u?ji(e.d,n,new rDe(Ie,x,ue,D)):ji(e.c,n,new rDe(Ie,x,ue,D)),ji(e.b,n,Ie),ne=(!n.n&&(n.n=new xt(bl,n,1,7)),n.n),ee=new gn(ne);ee.e!=ee.i.gc();)U=y(xn(ee),135),d=S$(e,U,!0,0,0),zr(s.c,d)}i(Djt,"oTb");function s4n(e){var n,s,u,d,g,x,k;if(!e.A.dc()){if(e.A.Hc((mf(),xj))&&(y(gl(e.b,(Bt(),en)),127).k=!0,y(gl(e.b,Gn),127).k=!0,n=e.q!=(fo(),e1)&&e.q!=nu,JEe(y(gl(e.b,pn),127),n),JEe(y(gl(e.b,on),127),n),JEe(e.g,n),e.A.Hc(Lw)&&(y(gl(e.b,en),127).j=!0,y(gl(e.b,Gn),127).j=!0,y(gl(e.b,pn),127).k=!0,y(gl(e.b,on),127).k=!0,e.g.k=!0)),e.A.Hc(wj))for(e.a.j=!0,e.a.k=!0,e.g.j=!0,e.g.k=!0,k=e.B.Hc((Xh(),tN)),d=ehe(),g=0,x=d.length;g0),y(N.a.Xb(N.c=--N.b),18));g!=u&&N.b>0;)e.a[g.p]=!0,e.a[u.p]=!0,g=(Sn(N.b>0),y(N.a.Xb(N.c=--N.b),18));N.b>0&&pf(N)}}i(l4n,"qOc");function _jt(e,n,s){var u,d,g,x,k,A,D,N,B,U,ee;if(!e.b)return!1;for(x=null,U=null,A=new Pce(null,null),d=1,A.a[1]=e.b,B=A;B.a[d];)D=d,k=U,U=B,B=B.a[d],u=e.a.Ne(n,B.d),d=u<0?0:1,u==0&&(!s.c||kc(B.e,s.d))&&(x=B),!(B&&B.b)&&!xk(B.a[d])&&(xk(B.a[1-d])?U=U.a[D]=KY(B,d):xk(B.a[1-d])||(ee=U.a[1-D],ee&&(!xk(ee.a[1-D])&&!xk(ee.a[D])?(U.b=!1,ee.b=!0,B.b=!0):(g=k.a[1]==U?1:0,xk(ee.a[D])?k.a[g]=oLt(U,D):xk(ee.a[1-D])&&(k.a[g]=KY(U,D)),B.b=k.a[g].b=!0,k.a[g].a[0].b=!1,k.a[g].a[1].b=!1))));return x&&(s.b=!0,s.d=x.e,B!=x&&(N=new Pce(B.d,B.e),c1n(e,A,x,N),U==x&&(U=N)),U.a[U.a[1]==B?1:0]=B.a[B.a[0]?0:1],--e.c),e.b=A.a[1],e.b&&(e.b.b=!1),s.b}i(_jt,"Zyb");function c4n(e){var n,s,u,d,g,x,k,A,D,N,B,U;for(d=new ge(e.a.a.b);d.a0?d-=864e5:d+=864e5,A=new W6e($o(Cc(n.q.getTime()),d))),N=new G4,D=e.a.length,g=0;g=97&&u<=122||u>=65&&u<=90){for(x=g+1;x=D)throw me(new Jr("Missing trailing '"));x+1=14&&N<=16))?n.a._b(u)?(s.a?Ei(s.a,s.b):s.a=new Ef(s.d),Q_(s.a,"[...]")):(k=U2(u),D=new lM(n),D1(s,Ijt(k,D))):$e(u,183)?D1(s,jyn(y(u,183))):$e(u,195)?D1(s,Smn(y(u,195))):$e(u,201)?D1(s,P1n(y(u,201))):$e(u,2111)?D1(s,Amn(y(u,2111))):$e(u,53)?D1(s,Gyn(y(u,53))):$e(u,376)?D1(s,ibn(y(u,376))):$e(u,846)?D1(s,$yn(y(u,846))):$e(u,109)&&D1(s,Fyn(y(u,109))):D1(s,u==null?Xu:Hl(u));return s.a?s.e.length==0?s.a.a:s.a.a+(""+s.e):s.c}i(Ijt,"Inb");function U7(e,n){var s,u,d,g;g=e.F,n==null?(e.F=null,m7(e,null)):(e.F=(ln(n),n),u=M0(n,Ku(60)),u!=-1?(d=(wo(0,u,n.length),n.substr(0,u)),M0(n,Ku(46))==-1&&!kr(d,Y5)&&!kr(d,H9)&&!kr(d,bQ)&&!kr(d,q9)&&!kr(d,W9)&&!kr(d,Y9)&&!kr(d,K9)&&!kr(d,X9)&&(d=pqt),s=uW(n,Ku(62)),s!=-1&&(d+=""+(Zr(s+1,n.length+1),n.substr(s+1))),m7(e,d)):(d=n,M0(n,Ku(46))==-1&&(u=M0(n,Ku(91)),u!=-1&&(d=(wo(0,u,n.length),n.substr(0,u))),!kr(d,Y5)&&!kr(d,H9)&&!kr(d,bQ)&&!kr(d,q9)&&!kr(d,W9)&&!kr(d,Y9)&&!kr(d,K9)&&!kr(d,X9)?(d=pqt,u!=-1&&(d+=""+(Zr(u,n.length+1),n.substr(u)))):d=n),m7(e,d),d==n&&(e.F=e.D))),(e.Db&4)!=0&&(e.Db&1)==0&&Qi(e,new to(e,1,5,g,n))}i(U7,"KXd");function Njt(e,n){var s,u,d,g,x,k,A,D,N,B;if(A=n.length-1,k=(Zr(A,n.length),n.charCodeAt(A)),k==93){if(x=M0(n,Ku(91)),x>=0)return d=pdn(e,(wo(1,x,n.length),n.substr(1,x-1))),N=(wo(x+1,A,n.length),n.substr(x+1,A-(x+1))),GCn(e,N,d)}else{if(s=-1,ePe==null&&(ePe=new RegExp("\\d")),ePe.test(String.fromCharCode(k))&&(s=hAe(n,Ku(46),A-1),s>=0)){u=y(Dce(e,TMt(e,(wo(1,s,n.length),n.substr(1,s-1))),!1),61),D=0;try{D=Nf((Zr(s+1,n.length+1),n.substr(s+1)),No,Yi)}catch(U){throw U=$a(U),$e(U,130)?(g=U,me(new RY(g))):me(U)}if(D>16==-10?s=y(e.Cb,292).Yk(n,s):e.Db>>16==-15&&(!n&&(n=(Lr(),c0)),!D&&(D=(Lr(),c0)),e.Cb.Yh()&&(A=new _1(e.Cb,1,13,D,n,Uy(Wh(y(e.Cb,62)),e),!1),s?s.nj(A):s=A));else if($e(e.Cb,90))e.Db>>16==-23&&($e(n,90)||(n=(Lr(),op)),$e(D,90)||(D=(Lr(),op)),e.Cb.Yh()&&(A=new _1(e.Cb,1,10,D,n,Uy($c(y(e.Cb,29)),e),!1),s?s.nj(A):s=A));else if($e(e.Cb,457))for(k=y(e.Cb,850),x=(!k.b&&(k.b=new oq(new Vse)),k.b),g=(u=new q2(new R2(x.a).a),new lq(u));g.a.b;)d=y(Ux(g.a).ld(),89),s=V7(d,JK(d,k),s)}return s}i(V7,"o2d");function p4n(e,n){var s,u,d,g,x,k,A,D,N,B,U;for(x=Kt(Yt(Ct(e,(Ht(),D3)))),U=y(Ct(e,M3),21),A=!1,D=!1,B=new gn((!e.c&&(e.c=new xt(Ph,e,9,9)),e.c));B.e!=B.i.gc()&&(!A||!D);){for(g=y(xn(B),123),k=0,d=Im(Df(Te(we(Ff,1),Gr,20,0,[(!g.d&&(g.d=new Ir(us,g,8,5)),g.d),(!g.e&&(g.e=new Ir(us,g,7,4)),g.e)])));qn(d)&&(u=y(Mn(d),74),N=x&&Qx(u)&&Kt(Yt(Ct(u,bw))),s=fjt((!u.b&&(u.b=new Ir(Pn,u,4,7)),u.b),g)?e==Oa(Fl(y(Ge((!u.c&&(u.c=new Ir(Pn,u,5,8)),u.c),0),84))):e==Oa(Fl(y(Ge((!u.b&&(u.b=new Ir(Pn,u,4,7)),u.b),0),84))),!((N||s)&&(++k,k>1))););(k>0||U.Hc((_h(),X1))&&(!g.n&&(g.n=new xt(bl,g,1,7)),g.n).i>0)&&(A=!0),k>1&&(D=!0)}A&&n.Fc((sl(),kd)),D&&n.Fc((sl(),uI))}i(p4n,"Y4b");function Ojt(e){var n,s,u,d,g,x,k,A,D,N,B,U;if(U=y(Ct(e,(_i(),Sw)),21),U.dc())return null;if(k=0,x=0,U.Hc((mf(),xj))){for(N=y(Ct(e,qI),101),u=2,s=2,d=2,g=2,n=Oa(e)?y(Ct(Oa(e),Ew),88):y(Ct(e,Ew),88),D=new gn((!e.c&&(e.c=new xt(Ph,e,9,9)),e.c));D.e!=D.i.gc();)if(A=y(xn(D),123),B=y(Ct(A,vE),64),B==(Bt(),oc)&&(B=kMe(A,n),ca(A,vE,B)),N==(fo(),nu))switch(B.g){case 1:u=p.Math.max(u,A.i+A.g);break;case 2:s=p.Math.max(s,A.j+A.f);break;case 3:d=p.Math.max(d,A.i+A.g);break;case 4:g=p.Math.max(g,A.j+A.f)}else switch(B.g){case 1:u+=A.g+2;break;case 2:s+=A.f+2;break;case 3:d+=A.g+2;break;case 4:g+=A.f+2}k=p.Math.max(u,d),x=p.Math.max(s,g)}return tT(e,k,x,!0,!0)}i(Ojt,"Dsd");function Sfe(e,n,s,u,d){var g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye;for(Ie=y(Vl(PY(Zi(new Tr(null,new Ar(n.d,16)),new ETt(s)),new STt(s)),Rh(new bt,new ft,new ke,Te(we(Ll,1),kt,108,0,[(Dh(),Wl)]))),15),B=Yi,N=No,A=new ge(n.b.j);A.a0,D?D&&(U=xe.p,x?++U:--U,B=y(Xt(xe.c.a,U),10),u=aIt(B),ee=!(Xhe(u,Et,s[0])||L8t(u,Et,s[0]))):ee=!0),ne=!1,gt=n.D.i,gt&>.c&&k.e&&(N=x&>.p>0||!x&>.p=0){for(A=null,k=new vo(N.a,D+1);k.bx?1:bx(isNaN(0),isNaN(x)))<0&&(Np(Q0),(p.Math.abs(x-1)<=Q0||x==1||isNaN(x)&&isNaN(1)?0:x<1?-1:x>1?1:bx(isNaN(x),isNaN(1)))<0)&&(Np(Q0),(p.Math.abs(0-k)<=Q0||k==0||isNaN(0)&&isNaN(k)?0:0k?1:bx(isNaN(0),isNaN(k)))<0)&&(Np(Q0),(p.Math.abs(k-1)<=Q0||k==1||isNaN(k)&&isNaN(1)?0:k<1?-1:k>1?1:bx(isNaN(k),isNaN(1)))<0)),g)}i(Afe,"Fid");function w4n(e){var n,s,u,d;if(s=e.D!=null?e.D:e.B,n=M0(s,Ku(91)),n!=-1){u=(wo(0,n,s.length),s.substr(0,n)),d=new Ty;do d.a+="[";while((n=E8(s,91,++n))!=-1);kr(u,Y5)?d.a+="Z":kr(u,H9)?d.a+="B":kr(u,bQ)?d.a+="C":kr(u,q9)?d.a+="D":kr(u,W9)?d.a+="F":kr(u,Y9)?d.a+="I":kr(u,K9)?d.a+="J":kr(u,X9)?d.a+="S":(d.a+="L",d.a+=""+u,d.a+=";");try{return null}catch(g){if(g=$a(g),!$e(g,63))throw me(g)}}else if(M0(s,Ku(46))==-1){if(kr(s,Y5))return tf;if(kr(s,H9))return bh;if(kr(s,bQ))return Ad;if(kr(s,q9))return co;if(kr(s,W9))return X3;if(kr(s,Y9))return ei;if(kr(s,K9))return Uv;if(kr(s,X9))return EE}return null}i(w4n,"EXd");function x4n(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et,Ft;for(e.e=n,k=xbn(n),Et=new Mt,u=new ge(k);u.a=0&&ue=D.c.c.length?N=c7e((sn(),ls),ro):N=c7e((sn(),ro),ro),N*=2,g=s.a.g,s.a.g=p.Math.max(g,g+(N-g)),x=s.b.g,s.b.g=p.Math.max(x,x+(N-x)),d=n}}i(C4n,"sOc");function E4n(e){var n,s,u,d;for(as(Zi(new Tr(null,new Ar(e.a.b,16)),new zgt),new Ugt),smn(e),as(Zi(new Tr(null,new Ar(e.a.b,16)),new Vgt),new Hgt),e.c==(P1(),R6)&&(as(Zi(nc(new Tr(null,new Ar(new A2(e.f),1)),new qgt),new Wgt),new bTt(e)),as(Zi(Nl(nc(nc(new Tr(null,new Ar(e.d.b,16)),new Ygt),new Kgt),new Xgt),new Qgt),new wTt(e))),d=new St(Pa,Pa),n=new St(Ls,Ls),u=new ge(e.a.b);u.a0&&(n.a+=Ho),bX(y(xn(k),167),n);for(n.a+=Ode,A=new h5((!u.c&&(u.c=new Ir(Pn,u,5,8)),u.c));A.e!=A.i.gc();)A.e>0&&(n.a+=Ho),bX(y(xn(A),167),n);n.a+=")"}}i(bX,"Csd");function S4n(e,n,s){var u,d,g,x,k,A,D,N;for(A=new gn((!e.a&&(e.a=new xt(Hi,e,10,11)),e.a));A.e!=A.i.gc();)for(k=y(xn(A),27),d=new bn(wn(G1(k).a.Kc(),new I));qn(d);){if(u=y(Mn(d),74),!u.b&&(u.b=new Ir(Pn,u,4,7)),!(u.b.i<=1&&(!u.c&&(u.c=new Ir(Pn,u,5,8)),u.c.i<=1)))throw me(new t5("Graph must not contain hyperedges."));if(!o9(u)&&k!=Fl(y(Ge((!u.c&&(u.c=new Ir(Pn,u,5,8)),u.c),0),84)))for(D=new B6t,Bl(D,u),Tt(D,(nv(),f6),u),pKr(D,y(Il(il(s.f,k)),153)),yKr(D,y(mn(s,Fl(y(Ge((!u.c&&(u.c=new Ir(Pn,u,5,8)),u.c),0),84))),153)),It(n.c,D),x=new gn((!u.n&&(u.n=new xt(bl,u,1,7)),u.n));x.e!=x.i.gc();)g=y(xn(x),135),N=new $Lt(D,g.a),Bl(N,g),Tt(N,f6,g),N.e.a=p.Math.max(g.g,1),N.e.b=p.Math.max(g.f,1),RMe(N),It(n.d,N)}}i(S4n,"LTb");function A4n(e,n,s){var u,d,g,x,k,A,D,N,B,U;switch(s.Ug("Node promotion heuristic",1),e.i=n,e.r=y(oe(n,(Ht(),Rv)),243),e.r!=(Yd(),AT)&&e.r!=O3?eCn(e):Swn(e),N=y(oe(e.i,z$e),17).a,g=new Ipt,e.r.g){case 2:case 1:z7(e,g);break;case 3:for(e.r=tZ,z7(e,g),A=0,k=new ge(e.b);k.ae.k&&(e.r=HG,z7(e,g));break;case 4:for(e.r=tZ,z7(e,g),D=0,d=new ge(e.c);d.ae.n&&(e.r=qG,z7(e,g));break;case 6:U=Fs(p.Math.ceil(e.g.length*N/100)),z7(e,new sTt(U));break;case 5:B=Fs(p.Math.ceil(e.e*N/100)),z7(e,new oTt(B));break;case 8:vzt(e,!0);break;case 9:vzt(e,!1);break;default:z7(e,g)}e.r!=AT&&e.r!=O3?X2n(e,n):mxn(e,n),s.Vg()}i(A4n,"Vec");function R4n(e){var n,s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be;for(B=e.b,N=new vo(B,0),Dk(N,new Wc(e)),Ie=!1,x=1;N.b0&&(U.d+=N.n.d,U.d+=N.d),U.a>0&&(U.a+=N.n.a,U.a+=N.d),U.b>0&&(U.b+=N.n.b,U.b+=N.d),U.c>0&&(U.c+=N.n.c,U.c+=N.d),U}i(L4n,"FJb");function Bjt(e,n,s){var u,d,g,x,k,A,D,N,B,U,ee,ne;for(U=s.d,B=s.c,g=new St(s.f.a+s.d.b+s.d.c,s.f.b+s.d.d+s.d.a),x=g.b,D=new ge(e.a);D.a0&&(e.c[n.c.p][n.p].d+=Kh(e.i,24)*W$*.07000000029802322-.03500000014901161,e.c[n.c.p][n.p].a=e.c[n.c.p][n.p].d/e.c[n.c.p][n.p].b)}}i(GMe,"NIc");function _4n(e){var n,s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe;for(ne=new ge(e);ne.au.d,u.d=p.Math.max(u.d,n),k&&s&&(u.d=p.Math.max(u.d,u.a),u.a=u.d+d);break;case 3:s=n>u.a,u.a=p.Math.max(u.a,n),k&&s&&(u.a=p.Math.max(u.a,u.d),u.d=u.a+d);break;case 2:s=n>u.c,u.c=p.Math.max(u.c,n),k&&s&&(u.c=p.Math.max(u.b,u.c),u.b=u.c+d);break;case 4:s=n>u.b,u.b=p.Math.max(u.b,n),k&&s&&(u.b=p.Math.max(u.b,u.c),u.c=u.b+d)}}}i(I4n,"XMb");function $jt(e,n){var s,u,d,g,x,k,A,D,N;return D="",n.length==0?e.ne(i9e,Ffe,-1,-1):(N=e3(n),kr(N.substr(0,3),"at ")&&(N=(Zr(3,N.length+1),N.substr(3))),N=N.replace(/\[.*?\]/g,""),x=N.indexOf("("),x==-1?(x=N.indexOf("@"),x==-1?(D=N,N=""):(D=e3((Zr(x+1,N.length+1),N.substr(x+1))),N=e3((wo(0,x,N.length),N.substr(0,x))))):(s=N.indexOf(")",x),D=(wo(x+1,s,N.length),N.substr(x+1,s-(x+1))),N=e3((wo(0,x,N.length),N.substr(0,x)))),x=M0(N,Ku(46)),x!=-1&&(N=(Zr(x+1,N.length+1),N.substr(x+1))),(N.length==0||kr(N,"Anonymous function"))&&(N=Ffe),k=uW(D,Ku(58)),d=hAe(D,Ku(58),k-1),A=-1,u=-1,g=i9e,k!=-1&&d!=-1&&(g=(wo(0,d,D.length),D.substr(0,d)),A=r6t((wo(d+1,k,D.length),D.substr(d+1,k-(d+1)))),u=r6t((Zr(k+1,D.length+1),D.substr(k+1)))),e.ne(g,N,A,u))}i($jt,"pA");function N4n(e){var n,s,u,d,g,x,k,A,D,N,B;for(D=new ge(e);D.a0||N.j==on&&N.e.c.length-N.g.c.length<0)){n=!1;break}for(d=new ge(N.g);d.a=D&>>=fe&&(U+=ne.n.b+ue.n.b+ue.a.b-Ye,++k));if(s)for(x=new ge(Ie.e);x.a=D&>>=fe&&(U+=ne.n.b+ue.n.b+ue.a.b-Ye,++k))}k>0&&(Et+=U/k,++ee)}ee>0?(n.a=d*Et/ee,n.g=ee):(n.a=0,n.g=0)}i(O4n,"LNc");function P4n(e){var n,s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et,Ft;for(g=e.f.b,U=g.a,N=g.b,ne=e.e.g,ee=e.e.f,Q4(e.e,g.a,g.b),Et=U/ne,Ft=N/ee,D=new gn(KW(e.e));D.e!=D.i.gc();)A=y(xn(D),135),Du(A,A.i*Et),_u(A,A.j*Ft);for(Ie=new gn(Xle(e.e));Ie.e!=Ie.i.gc();)xe=y(xn(Ie),123),Ye=xe.i,gt=xe.j,Ye>0&&Du(xe,Ye*Et),gt>0&&_u(xe,gt*Ft);for(NM(e.b,new hc),n=new Mt,k=new q2(new R2(e.c).a);k.b;)x=Ux(k),u=y(x.ld(),74),s=y(x.md(),407).a,d=CC(u,!1,!1),B=MPt(Fm(u),m$(d),s),D$(B,d),Be=HPt(u),Be&&Pl(n,Be,0)==-1&&(zr(n.c,Be),w7t(Be,(Sn(B.b!=0),y(B.a.a.c,8)),s));for(fe=new q2(new R2(e.d).a);fe.b;)ue=Ux(fe),u=y(ue.ld(),74),s=y(ue.md(),407).a,d=CC(u,!1,!1),B=MPt(uv(u),WF(m$(d)),s),B=WF(B),D$(B,d),Be=qPt(u),Be&&Pl(n,Be,0)==-1&&(zr(n.c,Be),w7t(Be,(Sn(B.b!=0),y(B.c.b.c,8)),s))}i(P4n,"hTb");function Gjt(e,n,s,u){var d,g,x,k,A;return k=new zMe(n),A2n(k,u),d=!0,e&&e.pf((_i(),Ew))&&(g=y(e.of((_i(),Ew)),88),d=g==(Ts(),s0)||g==_l||g==Gl),$$t(k,!1),Lu(k.e.Rf(),new bAe(k,!1,d)),cce(k,k.f,(pg(),yc),(Bt(),en)),cce(k,k.f,bc,Gn),cce(k,k.g,yc,on),cce(k,k.g,bc,pn),pOt(k,en),pOt(k,Gn),y7t(k,pn),y7t(k,on),Lk(),x=k.A.Hc((mf(),z3))&&k.B.Hc((Xh(),kj))?MNt(k):null,x&&PXr(k.a,x),I4n(k),Ngn(k),Ogn(k),s4n(k),ETn(k),o0n(k),Jue(k,en),Jue(k,Gn),hxn(k),Zkn(k),s&&(gdn(k),l0n(k),Jue(k,pn),Jue(k,on),A=k.B.Hc((Xh(),tN)),_Bt(k,A,en),_Bt(k,A,Gn),MBt(k,A,pn),MBt(k,A,on),as(new Tr(null,new Ar(new w1(k.i),0)),new di),as(Zi(new Tr(null,m8e(k.r).a.oc()),new Bn),new mi),Tmn(k),k.e.Pf(k.o),as(new Tr(null,m8e(k.r).a.oc()),new Qr)),k.o}i(Gjt,"GJb");function B4n(e){var n,s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue;for(D=Pa,u=new ge(e.a.b);u.a1)for(ee=new MMe(ne,Be,u),So(Be,new XEt(e,ee)),zr(x.c,ee),B=Be.a.ec().Kc();B.Ob();)N=y(B.Pb(),42),Wu(g,N.b);if(k.a.gc()>1)for(ee=new MMe(ne,k,u),So(k,new QEt(e,ee)),zr(x.c,ee),B=k.a.ec().Kc();B.Ob();)N=y(B.Pb(),42),Wu(g,N.b)}}i(Rfe,"NUc");function j4n(e,n,s){var u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe;if(ue=e.n,fe=e.o,U=e.d,B=Qe(rt(Kk(e,(Ht(),cme)))),n){for(N=B*(n.gc()-1),ee=0,A=n.Kc();A.Ob();)x=y(A.Pb(),10),N+=x.o.a,ee=p.Math.max(ee,x.o.b);for(xe=ue.a-(N-fe.a)/2,g=ue.b-U.d+ee,u=fe.a/(n.gc()+1),d=u,k=n.Kc();k.Ob();)x=y(k.Pb(),10),x.n.a=xe,x.n.b=g-x.o.b,xe+=x.o.a+B,D=KFt(x),D.n.a=x.o.a/2-D.a.a,D.n.b=x.o.b,ne=y(oe(x,(At(),LJ)),12),ne.e.c.length+ne.g.c.length==1&&(ne.n.a=d-ne.a.a,ne.n.b=0,rc(ne,e)),d+=u}if(s){for(N=B*(s.gc()-1),ee=0,A=s.Kc();A.Ob();)x=y(A.Pb(),10),N+=x.o.a,ee=p.Math.max(ee,x.o.b);for(xe=ue.a-(N-fe.a)/2,g=ue.b+fe.b+U.a-ee,u=fe.a/(s.gc()+1),d=u,k=s.Kc();k.Ob();)x=y(k.Pb(),10),x.n.a=xe,x.n.b=g,xe+=x.o.a+B,D=KFt(x),D.n.a=x.o.a/2-D.a.a,D.n.b=0,ne=y(oe(x,(At(),LJ)),12),ne.e.c.length+ne.g.c.length==1&&(ne.n.a=d-ne.a.a,ne.n.b=fe.b,rc(ne,e)),d+=u}}i(j4n,"p6b");function z4n(e,n){var s,u,d,g,x,k;if(y(oe(n,(At(),ru)),21).Hc((sl(),kd))){for(k=new ge(n.a);k.a=0&&x0&&(y(gl(e.b,n),127).a.b=s)}i(zjt,"qNb");function W4n(e,n,s,u){var d,g,x,k,A,D,N,B,U,ee,ne,ue;if(U=Qe(rt(oe(e,(Ht(),BR)))),ee=Qe(rt(oe(e,FR))),B=Qe(rt(oe(e,N3))),k=e.o,g=y(Xt(e.j,0),12),x=g.n,ue=uyn(g,B),!!ue){if(n.Hc((_h(),X1)))switch(y(oe(e,(At(),vc)),64).g){case 1:ue.c=(k.a-ue.b)/2-x.a,ue.d=ee;break;case 3:ue.c=(k.a-ue.b)/2-x.a,ue.d=-ee-ue.a;break;case 2:s&&g.e.c.length==0&&g.g.c.length==0?(N=u?ue.a:y(Xt(g.f,0),72).o.b,ue.d=(k.b-N)/2-x.b):ue.d=k.b+ee-x.b,ue.c=-U-ue.b;break;case 4:s&&g.e.c.length==0&&g.g.c.length==0?(N=u?ue.a:y(Xt(g.f,0),72).o.b,ue.d=(k.b-N)/2-x.b):ue.d=k.b+ee-x.b,ue.c=U}else if(n.Hc(Pv))switch(y(oe(e,(At(),vc)),64).g){case 1:case 3:ue.c=x.a+U;break;case 2:case 4:s&&!g.c?(N=u?ue.a:y(Xt(g.f,0),72).o.b,ue.d=(k.b-N)/2-x.b):ue.d=x.b+ee}for(d=ue.d,D=new ge(g.f);D.a=n.length)return{done:!0};var d=n[u++];return{value:[d,s.get(d)],done:!1}},"next")}},Vwn()||(e.prototype.createObject=function(){return{}},e.prototype.get=function(n){return this.obj[":"+n]},e.prototype.set=function(n,s){this.obj[":"+n]=s},e.prototype[ude]=function(n){delete this.obj[":"+n]},e.prototype.keys=function(){var n=[];for(var s in this.obj)s.charCodeAt(0)==58&&n.push(s.substring(1));return n}),e}i(X4n,"Htb");function xa(){xa=z,II=new ea(N9e),new ea(O9e),new ja("DEPTH",_t(0)),Bme=new ja("FAN",_t(0)),tje=new ja(hVt,_t(0)),_v=new ja("ROOT",(Hr(),!1)),Gme=new ja("LEFTNEIGHBOR",null),fer=new ja("RIGHTNEIGHBOR",null),lZ=new ja("LEFTSIBLING",null),jme=new ja("RIGHTSIBLING",null),Pme=new ja("DUMMY",!1),new ja("LEVEL",_t(0)),ije=new ja("REMOVABLE_EDGES",new Da),JG=new ja("XCOOR",_t(0)),ZG=new ja("YCOOR",_t(0)),cZ=new ja("LEVELHEIGHT",0),xg=new ja("LEVELMIN",0),Vp=new ja("LEVELMAX",0),Fme=new ja("GRAPH_XMIN",0),$me=new ja("GRAPH_YMIN",0),rje=new ja("GRAPH_XMAX",0),nje=new ja("GRAPH_YMAX",0),eje=new ja("COMPACT_LEVEL_ASCENSION",!1),Ome=new ja("COMPACT_CONSTRAINTS",new Mt),MI=new ja("ID",""),NI=new ja("POSITION",_t(0)),rb=new ja("PRELIM",0),UR=new ja("MODIFIER",0),zR=new ea(kUt),QG=new ea(CUt)}i(xa,"q$c");function Q4n(e){TMe();var n,s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe;if(e==null)return null;if(B=e.length*8,B==0)return"";for(k=B%24,ee=B/24|0,U=k!=0?ee+1:ee,g=null,g=ot(Ad,H0,28,U*4,15,1),D=0,N=0,n=0,s=0,u=0,x=0,d=0,A=0;A>24,D=(n&3)<<24>>24,ne=(n&-128)==0?n>>2<<24>>24:(n>>2^192)<<24>>24,ue=(s&-128)==0?s>>4<<24>>24:(s>>4^240)<<24>>24,fe=(u&-128)==0?u>>6<<24>>24:(u>>6^252)<<24>>24,g[x++]=hb[ne],g[x++]=hb[ue|D<<4],g[x++]=hb[N<<2|fe],g[x++]=hb[u&63];return k==8?(n=e[d],D=(n&3)<<24>>24,ne=(n&-128)==0?n>>2<<24>>24:(n>>2^192)<<24>>24,g[x++]=hb[ne],g[x++]=hb[D<<4],g[x++]=61,g[x++]=61):k==16&&(n=e[d],s=e[d+1],N=(s&15)<<24>>24,D=(n&3)<<24>>24,ne=(n&-128)==0?n>>2<<24>>24:(n>>2^192)<<24>>24,ue=(s&-128)==0?s>>4<<24>>24:(s>>4^240)<<24>>24,g[x++]=hb[ne],g[x++]=hb[ue|D<<4],g[x++]=hb[N<<2],g[x++]=61),qd(g,0,g.length)}i(Q4n,"Bqe");function J4n(e,n){var s,u,d,g,x,k,A;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>No&&l7e(n,e.p-mv),x=n.q.getDate(),pF(n,1),e.k>=0&&Gan(n,e.k),e.c>=0?pF(n,e.c):e.k>=0?(A=new FRe(n.q.getFullYear()-mv,n.q.getMonth(),35),u=35-A.q.getDate(),pF(n,p.Math.min(u,x))):pF(n,x),e.f<0&&(e.f=n.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),_Jr(n,e.f==24&&e.g?0:e.f),e.j>=0&&Tln(n,e.j),e.n>=0&&Nln(n,e.n),e.i>=0&&KSt(n,$o(Go(f$(Cc(n.q.getTime()),Wy),Wy),e.i)),e.a&&(d=new kq,l7e(d,d.q.getFullYear()-mv-80),foe(Cc(n.q.getTime()),Cc(d.q.getTime()))&&l7e(n,d.q.getFullYear()-mv+100)),e.d>=0){if(e.c==-1)s=(7+e.d-n.q.getDay())%7,s>3&&(s-=7),k=n.q.getMonth(),pF(n,n.q.getDate()+s),n.q.getMonth()!=k&&pF(n,n.q.getDate()+(s>0?-7:7));else if(n.q.getDay()!=e.d)return!1}return e.o>No&&(g=n.q.getTimezoneOffset(),KSt(n,$o(Cc(n.q.getTime()),(e.o-g)*60*Wy))),!0}i(J4n,"CB");function Hjt(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye;if(d=oe(n,(At(),ra)),!!$e(d,207)){for(ne=y(d,27),ue=n.e,U=new Uo(n.c),g=n.d,U.a+=g.b,U.b+=g.d,Ye=y(Ct(ne,(Ht(),WJ)),181),lh(Ye,(Xh(),OZ))&&(ee=y(Ct(ne,W$e),107),lKr(ee,g.a),mKr(ee,g.d),cKr(ee,g.b),gKr(ee,g.c)),s=new Mt,N=new ge(n.a);N.au.c.length-1;)It(u,new Bs(NC,fNe));s=y(oe(d,nm),17).a,k1(y(oe(e,LT),88))?(d.e.aQe(rt((_r(s,u.c.length),y(u.c[s],42)).b))&&Dse((_r(s,u.c.length),y(u.c[s],42)),d.e.a+d.f.a)):(d.e.bQe(rt((_r(s,u.c.length),y(u.c[s],42)).b))&&Dse((_r(s,u.c.length),y(u.c[s],42)),d.e.b+d.f.b))}for(g=Hn(e.b,0);g.b!=g.d.c;)d=y(Un(g),40),s=y(oe(d,(pc(),nm)),17).a,Tt(d,(xa(),xg),rt((_r(s,u.c.length),y(u.c[s],42)).a)),Tt(d,Vp,rt((_r(s,u.c.length),y(u.c[s],42)).b));n.Vg()}i(Z4n,"bZc");function eCn(e){var n,s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue;for(e.o=Qe(rt(oe(e.i,(Ht(),ST)))),e.f=Qe(rt(oe(e.i,Tw))),e.j=e.i.b.c.length,k=e.j-1,U=0,e.k=0,e.n=0,e.b=jg(ot(Ro,Lt,17,e.j,0,1)),e.c=jg(ot(Es,Lt,345,e.j,7,1)),x=new ge(e.i.b);x.a0&&It(e.q,N),It(e.p,N);n-=u,ee=A+n,D+=n*e.f,cd(e.b,k,_t(ee)),cd(e.c,k,D),e.k=p.Math.max(e.k,ee),e.n=p.Math.max(e.n,D),e.e+=n,n+=ue}}i(eCn,"Tec");function Bt(){Bt=z;var e;oc=new FB(A9,0),en=new FB(RX,1),pn=new FB(wde,2),Gn=new FB(xde,3),on=new FB(Tde,4),l0=(Dr(),new p8((e=y(sg(Qo),9),new ad(e,y(Dp(e,e.length),9),0)))),Kp=By(Sa(en,Te(we(Qo,1),Mc,64,0,[]))),Ed=By(Sa(pn,Te(we(Qo,1),Mc,64,0,[]))),jf=By(Sa(Gn,Te(we(Qo,1),Mc,64,0,[]))),np=By(Sa(on,Te(we(Qo,1),Mc,64,0,[]))),Ju=By(Sa(en,Te(we(Qo,1),Mc,64,0,[Gn]))),Bu=By(Sa(pn,Te(we(Qo,1),Mc,64,0,[on]))),Xp=By(Sa(en,Te(we(Qo,1),Mc,64,0,[on]))),Nh=By(Sa(en,Te(we(Qo,1),Mc,64,0,[pn]))),zf=By(Sa(Gn,Te(we(Qo,1),Mc,64,0,[on]))),Sd=By(Sa(pn,Te(we(Qo,1),Mc,64,0,[Gn]))),Oh=By(Sa(en,Te(we(Qo,1),Mc,64,0,[pn,on]))),Qu=By(Sa(pn,Te(we(Qo,1),Mc,64,0,[Gn,on]))),Zu=By(Sa(en,Te(we(Qo,1),Mc,64,0,[Gn,on]))),yh=By(Sa(en,Te(we(Qo,1),Mc,64,0,[pn,Gn]))),iu=By(Sa(en,Te(we(Qo,1),Mc,64,0,[pn,Gn,on])))}i(Bt,"qpd");function tCn(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et,Ft;for(n.Ug(VUt,1),ue=new Mt,Et=new Mt,D=new ge(e.b);D.a0&&(Be-=ee),IMe(x,Be),N=0,U=new ge(x.a);U.a0),k.a.Xb(k.c=--k.b)),A=.4*u*N,!g&&k.b0&&(A=(Zr(0,n.length),n.charCodeAt(0)),A!=64)){if(A==37&&(B=n.lastIndexOf("%"),D=!1,B!=0&&(B==U-1||(D=(Zr(B+1,n.length),n.charCodeAt(B+1)==46))))){if(x=(wo(1,B,n.length),n.substr(1,B-1)),Be=kr("%",x)?null:VMe(x),u=0,D)try{u=Nf((Zr(B+2,n.length+1),n.substr(B+2)),No,Yi)}catch(Ye){throw Ye=$a(Ye),$e(Ye,130)?(k=Ye,me(new RY(k))):me(Ye)}for(fe=yRe(e.Gh());fe.Ob();)if(ne=rK(fe),$e(ne,519)&&(d=y(ne,598),Ie=d.d,(Be==null?Ie==null:kr(Be,Ie))&&u--==0))return d;return null}if(N=n.lastIndexOf("."),ee=N==-1?n:(wo(0,N,n.length),n.substr(0,N)),s=0,N!=-1)try{s=Nf((Zr(N+1,n.length+1),n.substr(N+1)),No,Yi)}catch(Ye){if(Ye=$a(Ye),$e(Ye,130))ee=n;else throw me(Ye)}for(ee=kr("%",ee)?null:VMe(ee),ue=yRe(e.Gh());ue.Ob();)if(ne=rK(ue),$e(ne,197)&&(g=y(ne,197),xe=g.xe(),(ee==null?xe==null:kr(ee,xe))&&s--==0))return g;return null}return Njt(e,n)}i(UMe,"_zd");function cCn(e){var n,s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie;for(N=new zn,A=new Nx,u=new ge(e.a.a.b);u.an.d.c){if(ee=e.c[n.a.d],fe=e.c[B.a.d],ee==fe)continue;Bp(Ap(Sp(Rp(Ep(new jd,1),100),ee),fe))}}}}}i(cCn,"Hlc");function uCn(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et;if(U=y(y(ta(e.r,n),21),87),n==(Bt(),pn)||n==on){zjt(e,n);return}for(g=n==en?(Vx(),wG):(Vx(),xG),Ye=n==en?(Yu(),vg):(Yu(),jp),s=y(gl(e.b,n),127),u=s.i,d=u.c+cC(Te(we(co,1),yl,28,15,[s.n.b,e.C.b,e.k])),xe=u.c+u.b-cC(Te(we(co,1),yl,28,15,[s.n.c,e.C.c,e.k])),x=i5e(wAe(g),e.t),Ie=n==en?Ls:Pa,B=U.Kc();B.Ob();)D=y(B.Pb(),117),!(!D.c||D.c.d.c.length<=0)&&(fe=D.b.Mf(),ue=D.e,ee=D.c,ne=ee.i,ne.b=(A=ee.n,ee.e.a+A.b+A.c),ne.a=(k=ee.n,ee.e.b+k.d+k.a),uF(Ye,w9e),ee.f=Ye,fg(ee,(Lh(),Gp)),ne.c=ue.a-(ne.b-fe.a)/2,gt=p.Math.min(d,ue.a),Et=p.Math.max(xe,ue.a+fe.a),ne.cEt&&(ne.c=Et-ne.b),It(x.d,new _le(ne,hLe(x,ne))),Ie=n==en?p.Math.max(Ie,ue.b+D.b.Mf().b):p.Math.min(Ie,ue.b));for(Ie+=n==en?e.t:-e.t,Be=DLe((x.e=Ie,x)),Be>0&&(y(gl(e.b,n),127).a.b=Be),N=U.Kc();N.Ob();)D=y(N.Pb(),117),!(!D.c||D.c.d.c.length<=0)&&(ne=D.c.i,ne.c-=D.e.a,ne.d-=D.e.b)}i(uCn,"mNb");function hCn(e){var n,s,u,d,g,x,k,A,D,N,B,U,ee;for(n=new zn,A=new gn(e);A.e!=A.i.gc();){for(k=y(xn(A),27),s=new ys,ji(Xge,k,s),ee=new is,d=y(Vl(new Tr(null,new Ax(new bn(wn(T$(k).a.Kc(),new I)))),h8t(ee,Rh(new bt,new ft,new ke,Te(we(Ll,1),kt,108,0,[(Dh(),Wl)])))),85),HMt(s,y(d.xc((Hr(),!0)),16),new ia),u=y(Vl(Zi(y(d.xc(!1),15).Lc(),new Wa),Rh(new bt,new ft,new ke,Te(we(Ll,1),kt,108,0,[Wl]))),15),x=u.Kc();x.Ob();)g=y(x.Pb(),74),U=HPt(g),U&&(D=y(Il(il(n.f,U)),21),D||(D=p$t(U),yu(n.f,U,D)),xo(s,D));for(d=y(Vl(new Tr(null,new Ax(new bn(wn(G1(k).a.Kc(),new I)))),h8t(ee,Rh(new bt,new ft,new ke,Te(we(Ll,1),kt,108,0,[Wl])))),85),HMt(s,y(d.xc(!0),16),new Ss),u=y(Vl(Zi(y(d.xc(!1),15).Lc(),new Mr),Rh(new bt,new ft,new ke,Te(we(Ll,1),kt,108,0,[Wl]))),15),B=u.Kc();B.Ob();)N=y(B.Pb(),74),U=qPt(N),U&&(D=y(Il(il(n.f,U)),21),D||(D=p$t(U),yu(n.f,U,D)),xo(s,D))}}i(hCn,"JSb");function fCn(e,n){mfe();var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue;if(A=Dc(e,0)<0,A&&(e=Ny(e)),Dc(e,0)==0)switch(n){case 0:return"0";case 1:return X7;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return ee=new zb,n<0?ee.a+="0E+":ee.a+="0E",ee.a+=n==No?"2147483648":""+-n,ee.a}N=18,B=ot(Ad,H0,28,N+1,15,1),s=N,ue=e;do D=ue,ue=f$(ue,10),B[--s]=oi($o(48,Hd(D,Go(ue,10))))&ks;while(Dc(ue,0)!=0);if(d=Hd(Hd(Hd(N,s),n),1),n==0)return A&&(B[--s]=45),qd(B,s,N-s);if(n>0&&Dc(d,-6)>=0){if(Dc(d,0)>=0){for(g=s+oi(d),k=N-1;k>=g;k--)B[k+1]=B[k];return B[++g]=46,A&&(B[--s]=45),qd(B,s,N-s+1)}for(x=2;foe(x,$o(Ny(d),1));x++)B[--s]=48;return B[--s]=46,B[--s]=48,A&&(B[--s]=45),qd(B,s,N-s)}return ne=s+1,u=N,U=new G4,A&&(U.a+="-"),u-ne>=1?(Jb(U,B[s]),U.a+=".",U.a+=qd(B,s+1,N-s-1)):U.a+=qd(B,s,N-s),U.a+="E",Dc(d,0)>0&&(U.a+="+"),U.a+=""+fM(d),U.a}i(fCn,"zjb");function tT(e,n,s,u,d){var g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et;if(fe=new St(e.g,e.f),ue=s_e(e),ue.a=p.Math.max(ue.a,n),ue.b=p.Math.max(ue.b,s),Et=ue.a/fe.a,N=ue.b/fe.b,Ye=ue.a-fe.a,A=ue.b-fe.b,u)for(x=Oa(e)?y(Ct(Oa(e),(_i(),Ew)),88):y(Ct(e,(_i(),Ew)),88),k=Ze(Ct(e,(_i(),qI)))===Ze((fo(),nu)),Ie=new gn((!e.c&&(e.c=new xt(Ph,e,9,9)),e.c));Ie.e!=Ie.i.gc();)switch(xe=y(xn(Ie),123),Be=y(Ct(xe,vE),64),Be==(Bt(),oc)&&(Be=kMe(xe,x),ca(xe,vE,Be)),Be.g){case 1:k||Du(xe,xe.i*Et);break;case 2:Du(xe,xe.i+Ye),k||_u(xe,xe.j*N);break;case 3:k||Du(xe,xe.i*Et),_u(xe,xe.j+A);break;case 4:k||_u(xe,xe.j*N)}if(Q4(e,ue.a,ue.b),d)for(U=new gn((!e.n&&(e.n=new xt(bl,e,1,7)),e.n));U.e!=U.i.gc();)B=y(xn(U),135),ee=B.i+B.g/2,ne=B.j+B.f/2,gt=ee/fe.a,D=ne/fe.b,gt+D>=1&&(gt-D>0&&ne>=0?(Du(B,B.i+Ye),_u(B,B.j+A*D)):gt-D<0&&ee>=0&&(Du(B,B.i+Ye*gt),_u(B,B.j+A)));return ca(e,(_i(),Sw),(mf(),g=y(sg(eN),9),new ad(g,y(Dp(g,g.length),9),0))),new St(Et,N)}i(tT,"Esd");function Kjt(e){px(e,new ew(yq(hx(lx(ux(cx(new C2,vd),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new V1t),vd))),Dt(e,vd,ZX,zt(ltr)),Dt(e,vd,f3,zt(ctr)),Dt(e,vd,OC,zt(itr)),Dt(e,vd,i6,zt(atr)),Dt(e,vd,n6,zt(str)),Dt(e,vd,nR,zt(ntr)),Dt(e,vd,_9,zt(Ije)),Dt(e,vd,iR,zt(otr)),Dt(e,vd,Epe,zt(e1e)),Dt(e,vd,Cpe,zt(t1e)),Dt(e,vd,sQ,zt(Oje)),Dt(e,vd,Spe,zt(r1e)),Dt(e,vd,Ape,zt(Pje)),Dt(e,vd,_Ne,zt(Bje)),Dt(e,vd,DNe,zt(Nje)),Dt(e,vd,SNe,zt(pZ)),Dt(e,vd,ANe,zt(gZ)),Dt(e,vd,RNe,zt(ej)),Dt(e,vd,LNe,zt(Fje)),Dt(e,vd,ENe,zt(Mje))}i(Kjt,"_4c");function vX(e){var n,s,u,d,g,x,k,A,D,N,B;if(e==null)throw me(new _0(Xu));if(D=e,g=e.length,A=!1,g>0&&(n=(Zr(0,e.length),e.charCodeAt(0)),(n==45||n==43)&&(e=(Zr(1,e.length+1),e.substr(1)),--g,A=n==45)),g==0)throw me(new _0(iT+D+'"'));for(;e.length>0&&(Zr(0,e.length),e.charCodeAt(0)==48);)e=(Zr(1,e.length+1),e.substr(1)),--g;if(g>(SGt(),gWt)[10])throw me(new _0(iT+D+'"'));for(d=0;d0&&(B=-parseInt((wo(0,u,e.length),e.substr(0,u)),10),e=(Zr(u,e.length+1),e.substr(u)),g-=u,s=!1);g>=x;){if(u=parseInt((wo(0,x,e.length),e.substr(0,x)),10),e=(Zr(x,e.length+1),e.substr(x)),g-=x,s)s=!1;else{if(Dc(B,k)<0)throw me(new _0(iT+D+'"'));B=Go(B,N)}B=Hd(B,u)}if(Dc(B,0)>0)throw me(new _0(iT+D+'"'));if(!A&&(B=Ny(B),Dc(B,0)<0))throw me(new _0(iT+D+'"'));return B}i(vX,"Peb");function VMe(e){Tfe();var n,s,u,d,g,x,k,A;if(e==null)return null;if(d=M0(e,Ku(37)),d<0)return e;for(A=new Ef((wo(0,d,e.length),e.substr(0,d))),n=ot(bh,$C,28,4,15,1),k=0,u=0,x=e.length;dd+2&&yue((Zr(d+1,e.length),e.charCodeAt(d+1)),xVe,TVe)&&yue((Zr(d+2,e.length),e.charCodeAt(d+2)),xVe,TVe))if(s=Irn((Zr(d+1,e.length),e.charCodeAt(d+1)),(Zr(d+2,e.length),e.charCodeAt(d+2))),d+=2,u>0?(s&192)==128?n[k++]=s<<24>>24:u=0:s>=128&&((s&224)==192?(n[k++]=s<<24>>24,u=2):(s&240)==224?(n[k++]=s<<24>>24,u=3):(s&248)==240&&(n[k++]=s<<24>>24,u=4)),u>0){if(k==u){switch(k){case 2:{Jb(A,((n[0]&31)<<6|n[1]&63)&ks);break}case 3:{Jb(A,((n[0]&15)<<12|(n[1]&63)<<6|n[2]&63)&ks);break}}k=0,u=0}}else{for(g=0;g=2){if((!e.a&&(e.a=new xt(_a,e,6,6)),e.a).i==0)s=(Vb(),d=new KH,d),Jn((!e.a&&(e.a=new xt(_a,e,6,6)),e.a),s);else if((!e.a&&(e.a=new xt(_a,e,6,6)),e.a).i>1)for(U=new h5((!e.a&&(e.a=new xt(_a,e,6,6)),e.a));U.e!=U.i.gc();)r9(U);D$(n,y(Ge((!e.a&&(e.a=new xt(_a,e,6,6)),e.a),0),166))}if(B)for(u=new gn((!e.a&&(e.a=new xt(_a,e,6,6)),e.a));u.e!=u.i.gc();)for(s=y(xn(u),166),D=new gn((!s.a&&(s.a=new vs(Uf,s,5)),s.a));D.e!=D.i.gc();)A=y(xn(D),377),k.a=p.Math.max(k.a,A.a),k.b=p.Math.max(k.b,A.b);for(x=new gn((!e.n&&(e.n=new xt(bl,e,1,7)),e.n));x.e!=x.i.gc();)g=y(xn(x),135),N=y(Ct(g,YI),8),N&&nd(g,N.a,N.b),B&&(k.a=p.Math.max(k.a,g.i+g.g),k.b=p.Math.max(k.b,g.j+g.f));return k}i(Xjt,"atd");function Qjt(e,n,s,u,d){var g,x,k;if(J_t(e,n),x=n[0],g=Mo(s.c,0),k=-1,jRe(s))if(u>0){if(x+u>e.length)return!1;k=YK((wo(0,x+u,e.length),e.substr(0,x+u)),n)}else k=YK(e,n);switch(g){case 71:return k=xC(e,x,Te(we(Jt,1),Lt,2,6,[Pzt,Bzt]),n),d.e=k,!0;case 77:return Rwn(e,n,d,k,x);case 76:return Lwn(e,n,d,k,x);case 69:return wyn(e,n,x,d);case 99:return xyn(e,n,x,d);case 97:return k=xC(e,x,Te(we(Jt,1),Lt,2,6,["AM","PM"]),n),d.b=k,!0;case 121:return Dwn(e,n,x,k,s,d);case 100:return k<=0?!1:(d.c=k,!0);case 83:return k<0?!1:Pdn(k,x,n[0],d);case 104:k==12&&(k=0);case 75:case 72:return k<0?!1:(d.f=k,d.g=!1,!0);case 107:return k<0?!1:(d.f=k,d.g=!0,!0);case 109:return k<0?!1:(d.j=k,!0);case 115:return k<0?!1:(d.n=k,!0);case 90:if(xmr[A]&&(fe=A),B=new ge(e.a.b);B.a1;){if(d=x2n(n),B=g.g,ne=y(Ct(n,BI),107),ue=Qe(rt(Ct(n,vZ))),(!n.a&&(n.a=new xt(Hi,n,10,11)),n.a).i>1&&Qe(rt(Ct(n,($m(),u1e))))!=Pa&&(g.c+(ne.b+ne.c))/(g.b+(ne.d+ne.a))1&&Qe(rt(Ct(n,($m(),c1e))))!=Pa&&(g.c+(ne.b+ne.c))/(g.b+(ne.d+ne.a))>ue&&ca(d,($m(),F3),p.Math.max(Qe(rt(Ct(n,PI))),Qe(rt(Ct(d,F3)))-Qe(rt(Ct(n,c1e))))),ee=new Q5e(u,N),A=yzt(ee,d,U),D=A.g,D>=B&&D==D){for(x=0;x<(!d.a&&(d.a=new xt(Hi,d,10,11)),d.a).i;x++)VBt(e,y(Ge((!d.a&&(d.a=new xt(Hi,d,10,11)),d.a),x),27),y(Ge((!n.a&&(n.a=new xt(Hi,n,10,11)),n.a),x),27));CMt(n,ee),Ean(g,A.c),Can(g,A.b)}--k}ca(n,($m(),VR),g.b),ca(n,T6,g.c),s.Vg()}i(gCn,"Q8c");function mCn(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie;for(n.Ug("Interactive node layering",1),s=new Mt,U=new ge(e.a);U.a=k){Sn(Ie.b>0),Ie.a.Xb(Ie.c=--Ie.b);break}else fe.a>A&&(u?(Rs(u.b,fe.b),u.a=p.Math.max(u.a,fe.a),pf(Ie)):(It(fe.b,N),fe.c=p.Math.min(fe.c,A),fe.a=p.Math.max(fe.a,k),u=fe));u||(u=new q3t,u.c=A,u.a=k,Dk(Ie,u),It(u.b,N))}for(x=e.b,D=0,xe=new ge(s);xe.aee&&(g&&(zo(Et,U),zo(mr,_t(D.b-1))),Ti=s.b,za+=U+n,U=0,N=p.Math.max(N,s.b+s.c+yn)),Du(k,Ti),_u(k,za),N=p.Math.max(N,Ti+yn+s.c),U=p.Math.max(U,B),Ti+=yn+n;if(N=p.Math.max(N,u),Or=za+U+s.a,OrY0,dr=p.Math.abs(U.b-ne.b)>Y0,(!s&&mr&&dr||s&&(mr||dr))&&ki(fe.a,Ye)),xo(fe.a,u),u.b==0?U=Ye:U=(Sn(u.b!=0),y(u.c.b.c,8)),rhn(ee,B,ue),k9t(d)==Ft&&(Eo(Ft.i)!=d.a&&(ue=new mo,r_e(ue,Eo(Ft.i),Ie)),Tt(fe,Q0e,ue)),F1n(ee,fe,Ie),N.a.zc(ee,N);Fo(fe,gt),ho(fe,Ft)}for(D=N.a.ec().Kc();D.Ob();)A=y(D.Pb(),18),Fo(A,null),ho(A,null);n.Vg()}i(bCn,"h0b");function vCn(e,n){var s,u,d,g,x,k,A,D,N,B,U;for(d=y(oe(e,(pc(),LT)),88),N=d==(Ts(),_l)||d==Gl?a0:Gl,s=y(Vl(Zi(new Tr(null,new Ar(e.b,16)),new Kmt),Rh(new bt,new ft,new ke,Te(we(Ll,1),kt,108,0,[(Dh(),Wl)]))),15),A=y(Vl(Nl(s.Oc(),new dkt(n)),Rh(new bt,new ft,new ke,Te(we(Ll,1),kt,108,0,[Wl]))),15),A.Gc(y(Vl(Nl(s.Oc(),new pkt(n)),Rh(new bt,new ft,new ke,Te(we(Ll,1),kt,108,0,[Wl]))),16)),A.jd(new gkt(N)),U=new Cy(new mkt(d)),u=new zn,k=A.Kc();k.Ob();)x=y(k.Pb(),240),D=y(x.a,40),Kt(Yt(x.c))?(U.a.zc(D,(Hr(),Tv))==null,new l8(U.a.Zc(D,!1)).a.gc()>0&&ji(u,D,y(new l8(U.a.Zc(D,!1)).a.Vc(),40)),new l8(U.a.ad(D,!0)).a.gc()>1&&ji(u,ANt(U,D),D)):(new l8(U.a.Zc(D,!1)).a.gc()>0&&(g=y(new l8(U.a.Zc(D,!1)).a.Vc(),40),Ze(g)===Ze(Il(il(u.f,D)))&&y(oe(D,(xa(),Ome)),15).Fc(g)),new l8(U.a.ad(D,!0)).a.gc()>1&&(B=ANt(U,D),Ze(Il(il(u.f,B)))===Ze(D)&&y(oe(B,(xa(),Ome)),15).Fc(D)),U.a.Bc(D)!=null)}i(vCn,"lXc");function Jjt(e){var n,s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye;if(e.gc()==1)return y(e.Xb(0),235);if(e.gc()<=0)return new vY;for(d=e.Kc();d.Ob();){for(s=y(d.Pb(),235),ne=0,N=Yi,B=Yi,A=No,D=No,ee=new ge(s.e);ee.ak&&(Be=0,Ye+=x+xe,x=0),Hxn(ue,s,Be,Ye),n=p.Math.max(n,Be+fe.a),x=p.Math.max(x,fe.b),Be+=fe.a+xe;return ue}i(Jjt,"BTb");function wCn(e){TMe();var n,s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe;if(e==null||(g=DY(e),ne=Yfn(g),ne%4!=0))return null;if(ue=ne/4|0,ue==0)return ot(bh,$C,28,0,15,1);for(B=null,n=0,s=0,u=0,d=0,x=0,k=0,A=0,D=0,ee=0,U=0,N=0,B=ot(bh,$C,28,ue*3,15,1);ee>4)<<24>>24,B[U++]=((s&15)<<4|u>>2&15)<<24>>24,B[U++]=(u<<6|d)<<24>>24}return!vB(x=g[N++])||!vB(k=g[N++])?null:(n=u0[x],s=u0[k],A=g[N++],D=g[N++],u0[A]==-1||u0[D]==-1?A==61&&D==61?(s&15)!=0?null:(fe=ot(bh,$C,28,ee*3+1,15,1),jc(B,0,fe,0,ee*3),fe[U]=(n<<2|s>>4)<<24>>24,fe):A!=61&&D==61?(u=u0[A],(u&3)!=0?null:(fe=ot(bh,$C,28,ee*3+2,15,1),jc(B,0,fe,0,ee*3),fe[U++]=(n<<2|s>>4)<<24>>24,fe[U]=((s&15)<<4|u>>2&15)<<24>>24,fe)):null:(u=u0[A],d=u0[D],B[U++]=(n<<2|s>>4)<<24>>24,B[U++]=((s&15)<<4|u>>2&15)<<24>>24,B[U++]=(u<<6|d)<<24>>24,B))}i(wCn,"Aqe");function xCn(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt;for(n.Ug(VUt,1),ne=y(oe(e,(Ht(),Y1)),223),d=new ge(e.b);d.a=2){for(ue=!0,U=new ge(g.j),s=y(pe(U),12),ee=null;U.a0)if(u=B.gc(),D=Fs(p.Math.floor((u+1)/2))-1,d=Fs(p.Math.ceil((u+1)/2))-1,n.o==n0)for(N=d;N>=D;N--)n.a[Ye.p]==Ye&&(ue=y(B.Xb(N),42),ne=y(ue.a,10),!og(s,ue.b)&&ee>e.b.e[ne.p]&&(n.a[ne.p]=Ye,n.g[Ye.p]=n.g[ne.p],n.a[Ye.p]=n.g[Ye.p],n.f[n.g[Ye.p].p]=(Hr(),!!(Kt(n.f[n.g[Ye.p].p])&Ye.k==(sn(),ro))),ee=e.b.e[ne.p]));else for(N=D;N<=d;N++)n.a[Ye.p]==Ye&&(xe=y(B.Xb(N),42),fe=y(xe.a,10),!og(s,xe.b)&&ee0&&(d=y(Xt(fe.c.a,Et-1),10),x=e.i[d.p],mr=p.Math.ceil(Z4(e.n,d,fe)),g=gt.a.e-fe.d.d-(x.a.e+d.o.b+d.d.a)-mr),D=Pa,Et0&&Ft.a.e.e-Ft.a.a-(Ft.b.e.e-Ft.b.a)<0,ne=Be.a.e.e-Be.a.a-(Be.b.e.e-Be.b.a)<0&&Ft.a.e.e-Ft.a.a-(Ft.b.e.e-Ft.b.a)>0,ee=Be.a.e.e+Be.b.aFt.b.e.e+Ft.a.a,Ye=0,!ue&&!ne&&(U?g+B>0?Ye=B:D-u>0&&(Ye=u):ee&&(g+k>0?Ye=k:D-Ie>0&&(Ye=Ie))),gt.a.e+=Ye,gt.b&&(gt.d.e+=Ye),!1))}i(Zjt,"iOc");function ezt(e,n,s){var u,d,g,x,k,A,D,N,B,U;if(u=new sd(n.Lf().a,n.Lf().b,n.Mf().a,n.Mf().b),d=new c5,e.c)for(x=new ge(n.Rf());x.aD&&(u.a+=R5t(ot(Ad,H0,28,-D,15,1))),u.a+="Is",M0(A,Ku(32))>=0)for(d=0;d=u.o.b/2}else Ie=!B;Ie?(xe=y(oe(u,(At(),w6)),15),xe?U?g=xe:(d=y(oe(u,g6),15),d?xe.gc()<=d.gc()?g=xe:g=d:(g=new Mt,Tt(u,g6,g))):(g=new Mt,Tt(u,w6,g))):(d=y(oe(u,(At(),g6)),15),d?B?g=d:(xe=y(oe(u,w6),15),xe?d.gc()<=xe.gc()?g=d:g=xe:(g=new Mt,Tt(u,w6,g))):(g=new Mt,Tt(u,g6,g))),g.Fc(e),Tt(e,(At(),LJ),s),n.d==s?(ho(n,null),s.e.c.length+s.g.c.length==0&&rc(s,null),$hn(s)):(Fo(n,null),s.e.c.length+s.g.c.length==0&&rc(s,null)),Sf(n.a)}i(CCn,"t6b");function ECn(e,n,s){var u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et,Ft,mr,dr,jr,Or,yn,Ti,za;for(s.Ug("MinWidth layering",1),ee=n.b,Ft=n.a,za=y(oe(n,(Ht(),G$e)),17).a,k=y(oe(n,j$e),17).a,e.b=Qe(rt(oe(n,Up))),e.d=Pa,Ye=new ge(Ft);Ye.a0?(D=0,fe&&(D+=k),D+=(dr-1)*x,Be&&(D+=k),mr&&Be&&(D=p.Math.max(D,H2n(Be,x,Ie,Ft))),D=e.a&&(u=okn(e,Ie),N=p.Math.max(N,u.b),Ye=p.Math.max(Ye,u.d),It(k,new Bs(Ie,u)));for(mr=new Mt,D=0;D0),fe.a.Xb(fe.c=--fe.b),dr=new Wc(e.b),Dk(fe,dr),Sn(fe.b0){for(U=N<100?null:new Ub(N),D=new CRe(n),ne=D.g,xe=ot(ei,Ai,28,N,15,1),u=0,Ye=new Fx(N),d=0;d=0;)if(ee!=null?Ji(ee,ne[A]):Ze(ee)===Ze(ne[A])){xe.length<=u&&(fe=xe,xe=ot(ei,Ai,28,2*xe.length,15,1),jc(fe,0,xe,0,u)),xe[u++]=d,Jn(Ye,ne[A]);break e}if(ee=ee,Ze(ee)===Ze(k))break}}if(D=Ye,ne=Ye.g,N=u,u>xe.length&&(fe=xe,xe=ot(ei,Ai,28,u,15,1),jc(fe,0,xe,0,u)),u>0){for(Be=!0,g=0;g=0;)j5(e,xe[x]);if(u!=N){for(d=N;--d>=u;)j5(D,d);fe=xe,xe=ot(ei,Ai,28,u,15,1),jc(fe,0,xe,0,u)}n=D}}}else for(n=zgn(e,n),d=e.i;--d>=0;)n.Hc(e.g[d])&&(j5(e,d),Be=!0);if(Be){if(xe!=null){for(s=n.gc(),B=s==1?wM(e,4,n.Kc().Pb(),null,xe[0],ue):wM(e,6,n,xe,xe[0],ue),U=s<100?null:new Ub(s),d=n.Kc();d.Ob();)ee=d.Pb(),U=dAe(e,y(ee,76),U);U?(U.nj(B),U.oj()):Qi(e.e,B)}else{for(U=YZr(n.gc()),d=n.Kc();d.Ob();)ee=d.Pb(),U=dAe(e,y(ee,76),U);U&&U.oj()}return!0}else return!1}i(izt,"wLd");function RCn(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be;for(s=new vOt(n),s.a||rTn(n),D=exn(n),A=new Nx,fe=new x$t,ue=new ge(n.a);ue.a0||s.o==n0&&d=s}i(LCn,"$Kc");function DCn(e,n,s){var u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et,Ft,mr,dr,jr,Or,yn;for(Be=n,Ie=new Nx,Ye=new Nx,N=Bx(Be,dOe),u=new R7t(e,s,Ie,Ye),X1n(u.a,u.b,u.c,u.d,N),A=(Ft=Ie.i,Ft||(Ie.i=new rC(Ie,Ie.c))),dr=A.Kc();dr.Ob();)for(mr=y(dr.Pb(),166),d=y(ta(Ie,mr),21),ue=d.Kc();ue.Ob();)if(ne=ue.Pb(),gt=y(uC(e.d,ne),166),gt)k=(!mr.e&&(mr.e=new Ir(_a,mr,10,9)),mr.e),Jn(k,gt);else throw x=A1(Be,J0),U=vHt+ne+wHt+x,ee=U+dR,me(new D0(ee));for(D=(Et=Ye.i,Et||(Ye.i=new rC(Ye,Ye.c))),Or=D.Kc();Or.Ob();)for(jr=y(Or.Pb(),166),g=y(ta(Ye,jr),21),xe=g.Kc();xe.Ob();)if(fe=xe.Pb(),gt=y(uC(e.d,fe),166),gt)B=(!jr.g&&(jr.g=new Ir(_a,jr,9,10)),jr.g),Jn(B,gt);else throw x=A1(Be,J0),U=vHt+fe+wHt+x,ee=U+dR,me(new D0(ee));!s.b&&(s.b=new Ir(Pn,s,4,7)),s.b.i!=0&&(!s.c&&(s.c=new Ir(Pn,s,5,8)),s.c.i!=0)&&(!s.b&&(s.b=new Ir(Pn,s,4,7)),s.b.i<=1&&(!s.c&&(s.c=new Ir(Pn,s,5,8)),s.c.i<=1))&&(!s.a&&(s.a=new xt(_a,s,6,6)),s.a).i==1&&(yn=y(Ge((!s.a&&(s.a=new xt(_a,s,6,6)),s.a),0),166),!she(yn)&&!ohe(yn)&&(HY(yn,y(Ge((!s.b&&(s.b=new Ir(Pn,s,4,7)),s.b),0),84)),qY(yn,y(Ge((!s.c&&(s.c=new Ir(Pn,s,5,8)),s.c),0),84))))}i(DCn,"zEd");function _Cn(e){var n,s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et,Ft,mr,dr,jr;for(Be=e.a,Ye=0,gt=Be.length;Ye0?(B=y(Xt(U.c.a,x-1),10),mr=Z4(e.b,U,B),fe=U.n.b-U.d.d-(B.n.b+B.o.b+B.d.a+mr)):fe=U.n.b-U.d.d,D=p.Math.min(fe,D),x1&&(x=p.Math.min(x,p.Math.abs(y(yd(k.a,1),8).b-N.b)))));else for(ue=new ge(n.j);ue.ad&&(g=U.a-d,x=Yi,u.c.length=0,d=U.a),U.a>=d&&(zr(u.c,k),k.a.b>1&&(x=p.Math.min(x,p.Math.abs(y(yd(k.a,k.a.b-2),8).b-U.b)))));if(u.c.length!=0&&g>n.o.a/2&&x>n.o.b/2){for(ee=new Gc,rc(ee,n),$s(ee,(Bt(),en)),ee.n.a=n.o.a/2,xe=new Gc,rc(xe,n),$s(xe,Gn),xe.n.a=n.o.a/2,xe.n.b=n.o.b,A=new ge(u);A.a=D.b?Fo(k,xe):Fo(k,ee)):(D=y(Trn(k.a),8),fe=k.a.b==0?Gg(k.c):y(Lp(k.a),8),fe.b>=D.b?ho(k,xe):ho(k,ee)),B=y(oe(k,(Ht(),Dl)),75),B&&Yk(B,D,!0);n.n.a=d-n.o.a/2}}i(MCn,"vac");function ICn(e,n,s){var u,d,g,x,k,A,D,N,B,U;for(k=Hn(e.b,0);k.b!=k.d.c;)if(x=y(Un(k),40),!kr(x.c,nQ))for(D=ivn(x,e),n==(Ts(),_l)||n==Gl?gs(D,new w1t):gs(D,new x1t),A=D.c.length,u=0;u=0?ee=B5(k):ee=t$(B5(k)),e.qf(OR,ee)),D=new mo,U=!1,e.pf(CT)?(B6e(D,y(e.of(CT),8)),U=!0):UJr(D,x.a/2,x.b/2),ee.g){case 4:Tt(N,Pu,(md(),Av)),Tt(N,_J,(Y2(),KC)),N.o.b=x.b,ue<0&&(N.o.a=-ue),$s(B,(Bt(),pn)),U||(D.a=x.a),D.a-=x.a;break;case 2:Tt(N,Pu,(md(),A3)),Tt(N,_J,(Y2(),RR)),N.o.b=x.b,ue<0&&(N.o.a=-ue),$s(B,(Bt(),on)),U||(D.a=0);break;case 1:Tt(N,gw,(M1(),QC)),N.o.a=x.a,ue<0&&(N.o.b=-ue),$s(B,(Bt(),Gn)),U||(D.b=x.b),D.b-=x.b;break;case 3:Tt(N,gw,(M1(),p6)),N.o.a=x.a,ue<0&&(N.o.b=-ue),$s(B,(Bt(),en)),U||(D.b=0)}if(B6e(B.n,D),Tt(N,CT,D),n==Rw||n==e1||n==nu){if(ne=0,n==Rw&&e.pf(Zy))switch(ee.g){case 1:case 2:ne=y(e.of(Zy),17).a;break;case 3:case 4:ne=-y(e.of(Zy),17).a}else switch(ee.g){case 4:case 2:ne=g.b,n==e1&&(ne/=d.b);break;case 1:case 3:ne=g.a,n==e1&&(ne/=d.a)}Tt(N,vT,ne)}return Tt(N,vc,ee),N}i(O$,"f2b");function NCn(){l5e();function e(u){var d=this;this.dispatch=function(g){var x=g.data;switch(x.cmd){case"algorithms":var k=LLe((Dr(),new o8(new w1(Fv.b))));u.postMessage({id:x.id,data:k});break;case"categories":var A=LLe((Dr(),new o8(new w1(Fv.c))));u.postMessage({id:x.id,data:A});break;case"options":var D=LLe((Dr(),new o8(new w1(Fv.d))));u.postMessage({id:x.id,data:D});break;case"register":B3n(x.algorithms),u.postMessage({id:x.id});break;case"layout":fkn(x.graph,x.layoutOptions||{},x.options||{}),u.postMessage({id:x.id,data:x.graph});break}},this.saveDispatch=function(g){try{d.dispatch(g)}catch(x){u.postMessage({id:g.data.id,error:x})}}}i(e,"h");function n(u){var d=this;this.dispatcher=new e({postMessage:i(function(g){d.onmessage({data:g})},"postMessage")}),this.postMessage=function(g){setTimeout(function(){d.dispatcher.saveDispatch({data:g})},0)}}if(i(n,"j"),typeof document===pde&&typeof self!==pde){var s=new e(self);self.onmessage=s.saveDispatch}else typeof l!==pde&&l.exports&&(Object.defineProperty(h,"__esModule",{value:!0}),l.exports={default:n,Worker:n})}i(NCn,"OId");function szt(e,n,s){var u,d,g,x,k,A,D,N,B,U;for(N=new $1(s),Bl(N,n),Tt(N,(At(),ra),n),N.o.a=n.g,N.o.b=n.f,N.n.a=n.i,N.n.b=n.j,It(s.a,N),ji(e.a,n,N),((!n.a&&(n.a=new xt(Hi,n,10,11)),n.a).i!=0||Kt(Yt(Ct(n,(Ht(),D3)))))&&Tt(N,PFe,(Hr(),!0)),D=y(oe(s,ru),21),B=y(oe(N,(Ht(),ns)),101),B==(fo(),Ov)?Tt(N,ns,o0):B!=o0&&D.Fc((sl(),_R)),U=0,u=y(oe(s,$f),88),A=new gn((!n.c&&(n.c=new xt(Ph,n,9,9)),n.c));A.e!=A.i.gc();)k=y(xn(A),123),d=Oa(n),(Ze(Ct(d,Xm))!==Ze((G0(),eb))||Ze(Ct(d,yw))===Ze((jy(),AR))||Ze(Ct(d,yw))===Ze((jy(),SR))||Kt(Yt(Ct(d,xT)))||Ze(Ct(d,R3))!==Ze((Q2(),T3))||Ze(Ct(d,Rv))===Ze((Yd(),AT))||Ze(Ct(d,Rv))===Ze((Yd(),O3))||Ze(Ct(d,vw))===Ze((qy(),$R))||Ze(Ct(d,vw))===Ze((qy(),GR)))&&!Kt(Yt(Ct(n,FJ)))&&ca(k,fa,_t(U++)),Kt(Yt(Ct(k,xw)))||V4n(e,k,N,D,u,B);for(x=new gn((!n.n&&(n.n=new xt(bl,n,1,7)),n.n));x.e!=x.i.gc();)g=y(xn(x),135),!Kt(Yt(Ct(g,xw)))&&g.a&&It(N.b,Iue(g));return Kt(Yt(oe(N,mI)))&&D.Fc((sl(),SJ)),Kt(Yt(oe(N,zJ)))&&(D.Fc((sl(),AJ)),D.Fc(uI),Tt(N,ns,o0)),N}i(szt,"i5b");function Lfe(e,n,s,u,d,g,x){var k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et,Ft,mr,dr,jr,Or,yn,Ti,za;for(ue=0,jr=0,D=new ge(e.b);D.aue&&(g&&(zo(Et,ee),zo(mr,_t(N.b-1)),It(e.d,ne),k.c.length=0),Ti=s.b,za+=ee+n,ee=0,B=p.Math.max(B,s.b+s.c+yn)),zr(k.c,A),hOt(A,Ti,za),B=p.Math.max(B,Ti+yn+s.c),ee=p.Math.max(ee,U),Ti+=yn+n,ne=A;if(Rs(e.a,k),It(e.d,y(Xt(k,k.c.length-1),163)),B=p.Math.max(B,u),Or=za+ee+s.a,Ord.d.d+d.d.a?N.f.d=!0:(N.f.d=!0,N.f.a=!0))),u.b!=u.d.c&&(n=s);N&&(g=y(mn(e.f,x.d.i),60),n.bg.d.d+g.d.a?N.f.d=!0:(N.f.d=!0,N.f.a=!0))}for(k=new bn(wn(Ks(ee).a.Kc(),new I));qn(k);)x=y(Mn(k),18),x.a.b!=0&&(n=y(Lp(x.a),8),x.d.j==(Bt(),en)&&(fe=new m9(n,new St(n.a,d.d.d),d,x),fe.f.a=!0,fe.a=x.d,zr(ue.c,fe)),x.d.j==Gn&&(fe=new m9(n,new St(n.a,d.d.d+d.d.a),d,x),fe.f.d=!0,fe.a=x.d,zr(ue.c,fe)))}return ue}i($Cn,"rkc");function GCn(e,n,s){var u,d,g,x,k,A,D,N,B,U;for(A=new Mt,B=n.length,x=GRe(s),D=0;D=ne&&(Ie>ne&&(ee.c.length=0,ne=Ie),zr(ee.c,x));ee.c.length!=0&&(U=y(Xt(ee,MK(n,ee.c.length)),131),Or.a.Bc(U)!=null,U.s=ue++,F_e(U,dr,Et),ee.c.length=0)}for(Ye=e.c.length+1,k=new ge(e);k.ajr.s&&(pf(s),Wu(jr.i,u),u.c>0&&(u.a=jr,It(jr.t,u),u.b=Ft,It(Ft.i,u)))}i(zCn,"WUc");function ozt(e,n,s,u,d){var g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et,Ft,mr,dr,jr,Or;for(ue=new pu(n.b),Ye=new pu(n.b),U=new pu(n.b),mr=new pu(n.b),fe=new pu(n.b),Ft=Hn(n,0);Ft.b!=Ft.d.c;)for(gt=y(Un(Ft),12),k=new ge(gt.g);k.a0,xe=gt.g.c.length>0,D&&xe?zr(U.c,gt):D?zr(ue.c,gt):xe&&zr(Ye.c,gt);for(ne=new ge(ue);ne.aIe.nh()-D.b&&(U=Ie.nh()-D.b),ee>Ie.oh()-D.d&&(ee=Ie.oh()-D.d),N0){for(Be=Hn(e.f,0);Be.b!=Be.d.c;)Ie=y(Un(Be),10),Ie.p+=U-e.e;n_e(e),Sf(e.f),J_e(e,u,ee)}else{for(ki(e.f,ee),ee.p=u,e.e=p.Math.max(e.e,u),g=new bn(wn(Ks(ee).a.Kc(),new I));qn(g);)d=y(Mn(g),18),!d.c.i.c&&d.c.i.k==(sn(),Nc)&&(ki(e.f,d.c.i),d.c.i.p=u-1);e.c=u}else n_e(e),Sf(e.f),u=0,qn(new bn(wn(Ks(ee).a.Kc(),new I)))?(U=0,U=mOt(U,ee),u=U+2,J_e(e,u,ee)):(ki(e.f,ee),ee.p=0,e.e=p.Math.max(e.e,0),e.b=y(Xt(e.d.b,0),30),e.c=0);for(e.f.b==0||n_e(e),e.d.a.c.length=0,xe=new Mt,D=new ge(e.d.b);D.a=48&&n<=57){for(u=n-48;d=48&&n<=57;)if(u=u*10+n-48,u<0)throw me(new yi(xi((hi(),SOe))))}else throw me(new yi(xi((hi(),qHt))));if(s=u,n==44){if(d>=e.j)throw me(new yi(xi((hi(),YHt))));if((n=Mo(e.i,d++))>=48&&n<=57){for(s=n-48;d=48&&n<=57;)if(s=s*10+n-48,s<0)throw me(new yi(xi((hi(),SOe))));if(u>s)throw me(new yi(xi((hi(),KHt))))}else s=-1}if(n!=125)throw me(new yi(xi((hi(),WHt))));e.bm(d)?(g=(Wi(),Wi(),++Ja,new Fk(9,g)),e.d=d+1):(g=(Wi(),Wi(),++Ja,new Fk(3,g)),e.d=d),g.Om(u),g.Nm(s),qi(e)}}return g}i(qMe,"Pqe");function qCn(e){var n,s,u,d,g;switch(s=y(oe(e,(At(),ru)),21),n=aW(yKt),d=y(oe(e,(Ht(),L3)),346),d==(O1(),ab)&&Mf(n,bKt),Kt(Yt(oe(e,sme)))?Si(n,(Io(),zp),(jo(),g0e)):Si(n,(Io(),zc),(jo(),g0e)),oe(e,(kY(),jI))!=null&&Mf(n,vKt),(Kt(Yt(oe(e,B$e)))||Kt(Yt(oe(e,I$e))))&&uh(n,(Io(),$l),(jo(),MBe)),y(oe(e,$f),88).g){case 2:case 3:case 4:uh(Si(n,(Io(),zp),(jo(),NBe)),$l,IBe)}switch(s.Hc((sl(),SJ))&&uh(Si(Si(n,(Io(),zp),(jo(),_Be)),eu,LBe),$l,DBe),Ze(oe(e,Rv))!==Ze((Yd(),eZ))&&Si(n,(Io(),zc),(jo(),KBe)),s.Hc(RJ)&&(Si(n,(Io(),zp),(jo(),ZBe)),Si(n,Ym,QBe),Si(n,zc,JBe)),Ze(oe(e,PJ))!==Ze((M7(),cI))&&Ze(oe(e,Y1))!==Ze((P1(),gj))&&uh(n,(Io(),$l),(jo(),UBe)),Kt(Yt(oe(e,O$e)))&&Si(n,(Io(),zc),(jo(),zBe)),Kt(Yt(oe(e,rme)))&&Si(n,(Io(),zc),(jo(),eFe)),a2n(e)&&(Ze(oe(e,L3))===Ze(ab)?u=y(oe(e,jG),299):u=y(oe(e,tme),299),g=u==(c7(),G0e)?(jo(),XBe):(jo(),nFe),Si(n,(Io(),eu),g)),y(oe(e,cGe),388).g){case 1:Si(n,(Io(),eu),(jo(),tFe));break;case 2:uh(Si(Si(n,(Io(),zc),(jo(),EBe)),eu,SBe),$l,ABe)}return Ze(oe(e,Xm))!==Ze((G0(),eb))&&Si(n,(Io(),zc),(jo(),rFe)),n}i(qCn,"bXb");function hzt(e,n,s){var u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be;if(Ru(e.a,n)){if(og(y(mn(e.a,n),49),s))return 1}else ji(e.a,n,new ys);if(Ru(e.a,s)){if(og(y(mn(e.a,s),49),n))return-1}else ji(e.a,s,new ys);if(Ru(e.e,n)){if(og(y(mn(e.e,n),49),s))return-1}else ji(e.e,n,new ys);if(Ru(e.e,s)){if(og(y(mn(e.a,s),49),n))return 1}else ji(e.e,s,new ys);if(e.c==(G0(),Tme)||!Ea(n,(At(),fa))||!Ea(s,(At(),fa))){for(B=null,D=new ge(n.j);D.ax?$7(e,n,s):$7(e,s,n),dx?1:0}return u=y(oe(n,(At(),fa)),17).a,g=y(oe(s,fa),17).a,u>g?$7(e,n,s):$7(e,s,n),ug?1:0}i(hzt,"crc");function rT(e,n,s){var u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe;if(s==null)return null;if(e.a!=n.jk())throw me(new Jr(hR+n.xe()+uT));if($e(n,469)){if(fe=Bwn(y(n,685),s),!fe)throw me(new Jr(jpe+s+"' is not a valid enumerator of '"+n.xe()+"'"));return fe}switch(Fy((dh(),Lo),n).Nl()){case 2:{s=Qc(s,!1);break}case 3:{s=Qc(s,!0);break}}if(u=Fy(Lo,n).Jl(),u)return u.jk().wi().ti(u,s);if(U=Fy(Lo,n).Ll(),U){for(fe=new Mt,D=Cue(s),N=0,B=D.length;N1)for(ne=new h5((!e.a&&(e.a=new xt(_a,e,6,6)),e.a));ne.e!=ne.i.gc();)r9(ne);for(x=y(Ge((!e.a&&(e.a=new xt(_a,e,6,6)),e.a),0),166),fe=Ti,Ti>gt+Ye?fe=gt+Ye:TiEt+ue?xe=Et+ue:zagt-Ye&&feEt-ue&&xeTi+yn?mr=Ti+yn:gtza+Ft?dr=za+Ft:EtTi-yn&&mrza-Ft&&drs&&(U=s-1),ee=fb+Kh(n,24)*W$*B-B/2,ee<0?ee=1:ee>u&&(ee=u-1),d=(Vb(),A=new YH,A),$Y(d,U),FY(d,ee),Jn((!x.a&&(x.a=new vs(Uf,x,5)),x.a),d)}i(XCn,"cud");function fzt(e){px(e,new ew(hx(lx(ux(cx(new C2,Jh),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new eyt))),Dt(e,Jh,r6,1.3),Dt(e,Jh,rR,(Hr(),!1)),Dt(e,Jh,aT,nze),Dt(e,Jh,f3,15),Dt(e,Jh,JX,zt(Dtr)),Dt(e,Jh,OC,zt(Itr)),Dt(e,Jh,i6,zt(Otr)),Dt(e,Jh,n6,zt(Ptr)),Dt(e,Jh,nR,zt(Mtr)),Dt(e,Jh,_9,zt(f1e)),Dt(e,Jh,iR,zt(Btr)),Dt(e,Jh,GNe,zt(oze)),Dt(e,Jh,jNe,zt(sze)),Dt(e,Jh,$Ne,zt(p1e)),Dt(e,Jh,FNe,zt(lze)),Dt(e,Jh,zNe,zt(rze)),Dt(e,Jh,UNe,zt(d1e)),Dt(e,Jh,VNe,zt(tze)),Dt(e,Jh,HNe,zt(aze)),Dt(e,Jh,D9,zt(eze)),Dt(e,Jh,eQ,zt(_tr)),Dt(e,Jh,PNe,zt(rj)),Dt(e,Jh,ONe,zt(Zje)),Dt(e,Jh,BNe,zt(nj)),Dt(e,Jh,NNe,zt(ize))}i(fzt,"Y7c");function _fe(e,n){mfe();var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et,Ft,mr,dr,jr,Or,yn,Ti;if(mr=e.e,ne=e.d,d=e.a,mr==0)switch(n){case 0:return"0";case 1:return X7;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return Et=new zb,n<0?Et.a+="0E+":Et.a+="0E",Et.a+=-n,Et.a}if(Be=ne*10+1+7,Ye=ot(Ad,H0,28,Be+1,15,1),s=Be,ne==1)if(k=d[0],k<0){Ti=Vs(k,ol);do ue=Ti,Ti=f$(Ti,10),Ye[--s]=48+oi(Hd(ue,Go(Ti,10)))&ks;while(Dc(Ti,0)!=0)}else{Ti=k;do ue=Ti,Ti=Ti/10|0,Ye[--s]=48+(ue-Ti*10)&ks;while(Ti!=0)}else{jr=ot(ei,Ai,28,ne,15,1),yn=ne,jc(d,0,jr,0,yn);e:for(;;){for(Ft=0,D=yn-1;D>=0;D--)Or=$o(Mp(Ft,32),Vs(jr[D],ol)),xe=Omn(Or),jr[D]=oi(xe),Ft=oi(Ex(xe,32));Ie=oi(Ft),fe=s;do Ye[--s]=48+Ie%10&ks;while((Ie=Ie/10|0)!=0&&s!=0);for(u=9-fe+s,A=0;A0;A++)Ye[--s]=48;for(B=yn-1;jr[B]==0;B--)if(B==0)break e;yn=B+1}for(;Ye[s]==48;)++s}if(ee=mr<0,x=Be-s-n-1,n==0)return ee&&(Ye[--s]=45),qd(Ye,s,Be-s);if(n>0&&x>=-6){if(x>=0){for(N=s+x,U=Be-1;U>=N;U--)Ye[U+1]=Ye[U];return Ye[++N]=46,ee&&(Ye[--s]=45),qd(Ye,s,Be-s+1)}for(B=2;B<-x+1;B++)Ye[--s]=48;return Ye[--s]=46,Ye[--s]=48,ee&&(Ye[--s]=45),qd(Ye,s,Be-s)}return dr=s+1,g=Be,gt=new G4,ee&&(gt.a+="-"),g-dr>=1?(Jb(gt,Ye[s]),gt.a+=".",gt.a+=qd(Ye,s+1,Be-s-1)):gt.a+=qd(Ye,s,Be-s),gt.a+="E",x>0&&(gt.a+="+"),gt.a+=""+x,gt.a}i(_fe,"Ajb");function dzt(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et;switch(e.c=n,e.g=new zn,s=(gx(),new ox(e.c)),u=new nq(s),SLe(u),Be=pi(Ct(e.c,(p$(),Aze))),A=y(Ct(e.c,C1e),324),gt=y(Ct(e.c,E1e),437),x=y(Ct(e.c,Cze),490),Ye=y(Ct(e.c,k1e),438),e.j=Qe(rt(Ct(e.c,Qtr))),k=e.a,A.g){case 0:k=e.a;break;case 1:k=e.b;break;case 2:k=e.i;break;case 3:k=e.e;break;case 4:k=e.f;break;default:throw me(new Jr(cQ+(A.f!=null?A.f:""+A.g)))}if(e.d=new sRt(k,gt,x),Tt(e.d,(s7(),iI),Yt(Ct(e.c,Ktr))),e.d.c=Kt(Yt(Ct(e.c,Eze))),eY(e.c).i==0)return e.d;for(B=new gn(eY(e.c));B.e!=B.i.gc();){for(N=y(xn(B),27),ee=N.g/2,U=N.f/2,Et=new St(N.i+ee,N.j+U);Ru(e.g,Et);)Tx(Et,(p.Math.random()-.5)*Y0,(p.Math.random()-.5)*Y0);ue=y(Ct(N,(_i(),qR)),140),fe=new wRt(Et,new sd(Et.a-ee-e.j/2-ue.b,Et.b-U-e.j/2-ue.d,N.g+e.j+(ue.b+ue.c),N.f+e.j+(ue.d+ue.a))),It(e.d.i,fe),ji(e.g,Et,new Bs(fe,N))}switch(Ye.g){case 0:if(Be==null)e.d.d=y(Xt(e.d.i,0),68);else for(Ie=new ge(e.d.i);Ie.a0?yn+1:1);for(x=new ge(Et.g);x.a0?yn+1:1)}e.c[D]==0?ki(e.e,ue):e.a[D]==0&&ki(e.f,ue),++D}for(ne=-1,ee=1,B=new Mt,e.d=y(oe(n,(At(),v6)),234);Vf>0;){for(;e.e.b!=0;)za=y(Tle(e.e),10),e.b[za.p]=ne--,gMe(e,za),--Vf;for(;e.f.b!=0;)Bh=y(Tle(e.f),10),e.b[Bh.p]=ee++,gMe(e,Bh),--Vf;if(Vf>0){for(U=No,Ie=new ge(Be);Ie.a=U&&(Ye>U&&(B.c.length=0,U=Ye),zr(B.c,ue)));N=e.sg(B),e.b[N.p]=ee++,gMe(e,N),--Vf}}for(Ti=Be.c.length+1,D=0;De.b[Ml]&&(eT(u,!0),Tt(n,BG,(Hr(),!0)));e.a=null,e.c=null,e.b=null,Sf(e.f),Sf(e.e),s.Vg()}i(JCn,"SFc");function pzt(e,n,s){var u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et;for(gt=y(Ge((!e.a&&(e.a=new xt(_a,e,6,6)),e.a),0),166),N=new sh,Ye=new zn,Et=kGt(gt),yu(Ye.f,gt,Et),U=new zn,u=new Da,ne=Im(Df(Te(we(Ff,1),Gr,20,0,[(!n.d&&(n.d=new Ir(us,n,8,5)),n.d),(!n.e&&(n.e=new Ir(us,n,7,4)),n.e)])));qn(ne);){if(ee=y(Mn(ne),74),(!e.a&&(e.a=new xt(_a,e,6,6)),e.a).i!=1)throw me(new Jr(tHt+(!e.a&&(e.a=new xt(_a,e,6,6)),e.a).i));ee!=e&&(fe=y(Ge((!ee.a&&(ee.a=new xt(_a,ee,6,6)),ee.a),0),166),Xa(u,fe,u.c.b,u.c),ue=y(Il(il(Ye.f,fe)),13),ue||(ue=kGt(fe),yu(Ye.f,fe,ue)),B=s?Us(new Uo(y(Xt(Et,Et.c.length-1),8)),y(Xt(ue,ue.c.length-1),8)):Us(new Uo((_r(0,Et.c.length),y(Et.c[0],8))),(_r(0,ue.c.length),y(ue.c[0],8))),yu(U.f,fe,B))}if(u.b!=0)for(xe=y(Xt(Et,s?Et.c.length-1:0),8),D=1;D1&&Xa(N,xe,N.c.b,N.c),Kce(d)));xe=Ie}return N}i(pzt,"usd");function gzt(e,n,s){var u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et,Ft,mr,dr,jr;for(s.Ug(pVt,1),jr=y(Vl(Zi(new Tr(null,new Ar(n,16)),new L1t),Rh(new bt,new ft,new ke,Te(we(Ll,1),kt,108,0,[(Dh(),Wl)]))),15),N=y(Vl(Zi(new Tr(null,new Ar(n,16)),new bkt(n)),Rh(new bt,new ft,new ke,Te(we(Ll,1),kt,108,0,[Wl]))),15),ne=y(Vl(Zi(new Tr(null,new Ar(n,16)),new ykt(n)),Rh(new bt,new ft,new ke,Te(we(Ll,1),kt,108,0,[Wl]))),15),ue=ot(oZ,iQ,40,n.gc(),0,1),x=0;x=0&&dr=0&&!ue[ee]){ue[ee]=d,N.gd(k),--k;break}if(ee=dr-U,ee=0&&!ue[ee]){ue[ee]=d,N.gd(k),--k;break}}for(ne.jd(new D1t),A=ue.length-1;A>=0;A--)!ue[A]&&!ne.dc()&&(ue[A]=y(ne.Xb(0),40),ne.gd(0));for(D=0;D=0;A--)ki(s,(_r(A,x.c.length),y(x.c[A],8)));return s}i(mzt,"jTb");function yzt(e,n,s){var u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye;for(Be=Qe(rt(Ct(n,($m(),F3)))),ee=Qe(rt(Ct(n,PI))),U=Qe(rt(Ct(n,yZ))),bRe((!n.a&&(n.a=new xt(Hi,n,10,11)),n.a)),xe=ojt((!n.a&&(n.a=new xt(Hi,n,10,11)),n.a),Be,e.b),fe=0;feU&&u$((_r(U,n.c.length),y(n.c[U],186)),N),N=null;n.c.length>U&&(_r(U,n.c.length),y(n.c[U],186)).a.c.length==0;)Wu(n,(_r(U,n.c.length),n.c[U]));if(!N){--x;continue}if(!Kt(Yt(y(Xt(N.b,0),27).of((Kg(),nj))))&&gTn(n,ne,g,N,fe,s,U,u)){ue=!0;continue}if(fe){if(ee=ne.b,B=N.f,!Kt(Yt(y(Xt(N.b,0),27).of(nj)))&&N3n(n,ne,g,N,s,U,u,d)){if(ue=!0,ee=e.j){e.a=-1,e.c=1;return}if(n=Mo(e.i,e.d++),e.a=n,e.b==1){switch(n){case 92:if(u=10,e.d>=e.j)throw me(new yi(xi((hi(),mQ))));e.a=Mo(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d=e.j||Mo(e.i,e.d)!=63)break;if(++e.d>=e.j)throw me(new yi(xi((hi(),ege))));switch(n=Mo(e.i,e.d++),n){case 58:u=13;break;case 61:u=14;break;case 33:u=15;break;case 91:u=19;break;case 62:u=18;break;case 60:if(e.d>=e.j)throw me(new yi(xi((hi(),ege))));if(n=Mo(e.i,e.d++),n==61)u=16;else if(n==33)u=17;else throw me(new yi(xi((hi(),RHt))));break;case 35:for(;e.d=e.j)throw me(new yi(xi((hi(),mQ))));e.a=Mo(e.i,e.d++);break;default:u=0}e.c=u}i(qi,"Mqe");function rEn(e,n,s){var u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe;if(s.Ug("Process compaction",1),!!Kt(Yt(oe(n,(pc(),lje))))){for(d=y(oe(n,LT),88),ee=Qe(rt(oe(n,Ume))),Lkn(e,n,d),vCn(n,ee/2/2),ne=n.b,V2(ne,new ukt(d)),D=Hn(ne,0);D.b!=D.d.c;)if(A=y(Un(D),40),!Kt(Yt(oe(A,(xa(),_v))))){if(u=txn(A,d),ue=XTn(A,n),B=0,U=0,u)switch(fe=u.e,d.g){case 2:B=fe.a-ee-A.f.a,ue.e.a-ee-A.f.aB&&(B=ue.e.a+ue.f.a+ee),U=B+A.f.a;break;case 4:B=fe.b-ee-A.f.b,ue.e.b-ee-A.f.bB&&(B=ue.e.b+ue.f.b+ee),U=B+A.f.b}else if(ue)switch(d.g){case 2:B=ue.e.a-ee-A.f.a,U=B+A.f.a;break;case 1:B=ue.e.a+ue.f.a+ee,U=B+A.f.a;break;case 4:B=ue.e.b-ee-A.f.b,U=B+A.f.b;break;case 3:B=ue.e.b+ue.f.b+ee,U=B+A.f.b}Ze(oe(n,zme))===Ze((FM(),XG))?(g=B,x=U,k=d7(Zi(new Tr(null,new Ar(e.a,16)),new ZEt(g,x))),k.a!=null?d==(Ts(),_l)||d==Gl?A.e.a=B:A.e.b=B:(d==(Ts(),_l)||d==Cd?k=d7(Zi(LMt(new Tr(null,new Ar(e.a,16))),new hkt(g))):k=d7(Zi(LMt(new Tr(null,new Ar(e.a,16))),new fkt(g))),k.a!=null&&(d==_l||d==Gl?A.e.a=Qe(rt((Sn(k.a!=null),y(k.a,42)).a)):A.e.b=Qe(rt((Sn(k.a!=null),y(k.a,42)).a)))),k.a!=null&&(N=Pl(e.a,(Sn(k.a!=null),k.a),0),N>0&&N!=y(oe(A,nm),17).a&&(Tt(A,eje,(Hr(),!0)),Tt(A,nm,_t(N))))):d==(Ts(),_l)||d==Gl?A.e.a=B:A.e.b=B}s.Vg()}}i(rEn,"oXc");function bzt(e){var n,s,u,d,g,x,k,A,D;for(e.b=1,qi(e),n=null,e.c==0&&e.a==94?(qi(e),n=(Wi(),Wi(),++Ja,new Rf(4)),Xc(n,0,gR),k=(++Ja,new Rf(4))):k=(Wi(),Wi(),++Ja,new Rf(4)),d=!0;(D=e.c)!=1;){if(D==0&&e.a==93&&!d){n&&(x9(n,k),k=n);break}if(s=e.a,u=!1,D==10)switch(s){case 100:case 68:case 119:case 87:case 115:case 83:o3(k,G7(s)),u=!0;break;case 105:case 73:case 99:case 67:s=(o3(k,G7(s)),-1),s<0&&(u=!0);break;case 112:case 80:if(A=v_e(e,s),!A)throw me(new yi(xi((hi(),tge))));o3(k,A),u=!0;break;default:s=eMe(e)}else if(D==24&&!d){if(n&&(x9(n,k),k=n),g=bzt(e),x9(k,g),e.c!=0||e.a!=93)throw me(new yi(xi((hi(),FHt))));break}if(qi(e),!u){if(D==0){if(s==91)throw me(new yi(xi((hi(),COe))));if(s==93)throw me(new yi(xi((hi(),EOe))));if(s==45&&!d&&e.a!=93)throw me(new yi(xi((hi(),rge))))}if(e.c!=0||e.a!=45||s==45&&d)Xc(k,s,s);else{if(qi(e),(D=e.c)==1)throw me(new yi(xi((hi(),yQ))));if(D==0&&e.a==93)Xc(k,s,s),Xc(k,45,45);else{if(D==0&&e.a==93||D==24)throw me(new yi(xi((hi(),rge))));if(x=e.a,D==0){if(x==91)throw me(new yi(xi((hi(),COe))));if(x==93)throw me(new yi(xi((hi(),EOe))));if(x==45)throw me(new yi(xi((hi(),rge))))}else D==10&&(x=eMe(e));if(qi(e),s>x)throw me(new yi(xi((hi(),jHt))));Xc(k,s,x)}}}d=!1}if(e.c==1)throw me(new yi(xi((hi(),yQ))));return TC(k),v9(k),e.b=0,qi(e),k}i(bzt,"Fre");function nEn(e,n,s){var u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt;if(s.Ug("Coffman-Graham Layering",1),n.a.c.length==0){s.Vg();return}for(gt=y(oe(n,(Ht(),$$e)),17).a,A=0,x=0,U=new ge(n.a);U.a=gt||!Qdn(xe,u))&&(u=m7t(n,N)),bo(xe,u),g=new bn(wn(Ks(xe).a.Kc(),new I));qn(g);)d=y(Mn(g),18),!e.a[d.p]&&(ue=d.c.i,--e.e[ue.p],e.e[ue.p]==0&&m5(_7(ee,ue),Q7));for(D=N.c.length-1;D>=0;--D)It(n.b,(_r(D,N.c.length),y(N.c[D],30)));n.a.c.length=0,s.Vg()}i(nEn,"EGc");function vzt(e,n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye;Ye=!1;do for(Ye=!1,g=n?new A2(e.a.b).a.gc()-2:1;n?g>=0:gy(oe(fe,fa),17).a)&&(Be=!1);if(Be){for(A=n?g+1:g-1,k=a7e(e.a,_t(A)),x=!1,Ie=!0,u=!1,N=Hn(k,0);N.b!=N.d.c;)D=y(Un(N),10),Ea(D,fa)?D.p!=B.p&&(x=x|(n?y(oe(D,fa),17).ay(oe(B,fa),17).a),Ie=!1):!x&&Ie&&D.k==(sn(),Nc)&&(u=!0,n?U=y(Mn(new bn(wn(Ks(D).a.Kc(),new I))),18).c.i:U=y(Mn(new bn(wn(fs(D).a.Kc(),new I))),18).d.i,U==B&&(n?s=y(Mn(new bn(wn(fs(D).a.Kc(),new I))),18).d.i:s=y(Mn(new bn(wn(Ks(D).a.Kc(),new I))),18).c.i,(n?y(Ak(e.a,s),17).a-y(Ak(e.a,U),17).a:y(Ak(e.a,U),17).a-y(Ak(e.a,s),17).a)<=2&&(Ie=!1)));if(u&&Ie&&(n?s=y(Mn(new bn(wn(fs(B).a.Kc(),new I))),18).d.i:s=y(Mn(new bn(wn(Ks(B).a.Kc(),new I))),18).c.i,(n?y(Ak(e.a,s),17).a-y(Ak(e.a,B),17).a:y(Ak(e.a,B),17).a-y(Ak(e.a,s),17).a)<=2&&s.k==(sn(),ls)&&(Ie=!1)),x||Ie){for(ue=XFt(e,B,n);ue.a.gc()!=0;)ne=y(ue.a.ec().Kc().Pb(),10),ue.a.Bc(ne)!=null,xo(ue,XFt(e,ne,n));--ee,Ye=!0}}}while(Ye)}i(vzt,"Sec");function iEn(e){ai(e.c,Ci,Te(we(Jt,1),Lt,2,6,[Oo,"http://www.w3.org/2001/XMLSchema#decimal"])),ai(e.d,Ci,Te(we(Jt,1),Lt,2,6,[Oo,"http://www.w3.org/2001/XMLSchema#integer"])),ai(e.e,Ci,Te(we(Jt,1),Lt,2,6,[Oo,"http://www.w3.org/2001/XMLSchema#boolean"])),ai(e.f,Ci,Te(we(Jt,1),Lt,2,6,[Oo,"EBoolean",Vi,"EBoolean:Object"])),ai(e.i,Ci,Te(we(Jt,1),Lt,2,6,[Oo,"http://www.w3.org/2001/XMLSchema#byte"])),ai(e.g,Ci,Te(we(Jt,1),Lt,2,6,[Oo,"http://www.w3.org/2001/XMLSchema#hexBinary"])),ai(e.j,Ci,Te(we(Jt,1),Lt,2,6,[Oo,"EByte",Vi,"EByte:Object"])),ai(e.n,Ci,Te(we(Jt,1),Lt,2,6,[Oo,"EChar",Vi,"EChar:Object"])),ai(e.t,Ci,Te(we(Jt,1),Lt,2,6,[Oo,"http://www.w3.org/2001/XMLSchema#double"])),ai(e.u,Ci,Te(we(Jt,1),Lt,2,6,[Oo,"EDouble",Vi,"EDouble:Object"])),ai(e.F,Ci,Te(we(Jt,1),Lt,2,6,[Oo,"http://www.w3.org/2001/XMLSchema#float"])),ai(e.G,Ci,Te(we(Jt,1),Lt,2,6,[Oo,"EFloat",Vi,"EFloat:Object"])),ai(e.I,Ci,Te(we(Jt,1),Lt,2,6,[Oo,"http://www.w3.org/2001/XMLSchema#int"])),ai(e.J,Ci,Te(we(Jt,1),Lt,2,6,[Oo,"EInt",Vi,"EInt:Object"])),ai(e.N,Ci,Te(we(Jt,1),Lt,2,6,[Oo,"http://www.w3.org/2001/XMLSchema#long"])),ai(e.O,Ci,Te(we(Jt,1),Lt,2,6,[Oo,"ELong",Vi,"ELong:Object"])),ai(e.Z,Ci,Te(we(Jt,1),Lt,2,6,[Oo,"http://www.w3.org/2001/XMLSchema#short"])),ai(e.$,Ci,Te(we(Jt,1),Lt,2,6,[Oo,"EShort",Vi,"EShort:Object"])),ai(e._,Ci,Te(we(Jt,1),Lt,2,6,[Oo,"http://www.w3.org/2001/XMLSchema#string"]))}i(iEn,"Xae");function aEn(e,n,s,u,d,g,x){var k,A,D,N,B,U,ee,ne;return U=y(u.a,17).a,ee=y(u.b,17).a,B=e.b,ne=e.c,k=0,N=0,n==(Ts(),_l)||n==Gl?(N=_B(cNt(Ok(Nl(new Tr(null,new Ar(s.b,16)),new M1t),new d1t))),B.e.b+B.f.b/2>N?(D=++ee,k=Qe(rt(hf(Mk(Nl(new Tr(null,new Ar(s.b,16)),new rSt(d,D)),new p1t))))):(A=++U,k=Qe(rt(hf(b5(Nl(new Tr(null,new Ar(s.b,16)),new nSt(d,A)),new g1t)))))):(N=_B(cNt(Ok(Nl(new Tr(null,new Ar(s.b,16)),new v1t),new f1t))),B.e.a+B.f.a/2>N?(D=++ee,k=Qe(rt(hf(Mk(Nl(new Tr(null,new Ar(s.b,16)),new eSt(d,D)),new m1t))))):(A=++U,k=Qe(rt(hf(b5(Nl(new Tr(null,new Ar(s.b,16)),new tSt(d,A)),new y1t)))))),n==_l?(zo(e.a,new St(Qe(rt(oe(B,(xa(),xg))))-d,k)),zo(e.a,new St(ne.e.a+ne.f.a+d+g,k)),zo(e.a,new St(ne.e.a+ne.f.a+d+g,ne.e.b+ne.f.b/2)),zo(e.a,new St(ne.e.a+ne.f.a,ne.e.b+ne.f.b/2))):n==Gl?(zo(e.a,new St(Qe(rt(oe(B,(xa(),Vp))))+d,B.e.b+B.f.b/2)),zo(e.a,new St(B.e.a+B.f.a+d,k)),zo(e.a,new St(ne.e.a-d-g,k)),zo(e.a,new St(ne.e.a-d-g,ne.e.b+ne.f.b/2)),zo(e.a,new St(ne.e.a,ne.e.b+ne.f.b/2))):n==Cd?(zo(e.a,new St(k,Qe(rt(oe(B,(xa(),xg))))-d)),zo(e.a,new St(k,ne.e.b+ne.f.b+d+g)),zo(e.a,new St(ne.e.a+ne.f.a/2,ne.e.b+ne.f.b+d+g)),zo(e.a,new St(ne.e.a+ne.f.a/2,ne.e.b+ne.f.b+d))):(e.a.b==0||(y(Lp(e.a),8).b=Qe(rt(oe(B,(xa(),Vp))))+d*y(x.b,17).a),zo(e.a,new St(k,Qe(rt(oe(B,(xa(),Vp))))+d*y(x.b,17).a)),zo(e.a,new St(k,ne.e.b-d*y(x.a,17).a-g))),new Bs(_t(U),_t(ee))}i(aEn,"C0c");function sEn(e){var n,s,u,d,g,x,k,A,D,N,B,U,ee;if(x=!0,B=null,u=null,d=null,n=!1,ee=Pnr,D=null,g=null,k=0,A=Zue(e,k,kVe,CVe),A=0&&kr(e.substr(k,2),"//")?(k+=2,A=Zue(e,k,iN,aN),u=(wo(k,A,e.length),e.substr(k,A-k)),k=A):B!=null&&(k==e.length||(Zr(k,e.length),e.charCodeAt(k)!=47))&&(x=!1,A=L6e(e,Ku(35),k),A==-1&&(A=e.length),u=(wo(k,A,e.length),e.substr(k,A-k)),k=A);if(!s&&k0&&Mo(N,N.length-1)==58&&(d=N,k=A)),kYhe(g))&&(B=g);for(!B&&(B=(_r(0,fe.c.length),y(fe.c[0],185))),ue=new ge(n.b);ue.aB&&(Or=0,yn+=N+Ft,N=0),cGt(gt,x,Or,yn),n=p.Math.max(n,Or+Et.a),N=p.Math.max(N,Et.b),Or+=Et.a+Ft;for(Ye=new zn,s=new zn,dr=new ge(e);dr.a=-1900?1:0,s>=4?Ei(e,Te(we(Jt,1),Lt,2,6,[Pzt,Bzt])[k]):Ei(e,Te(we(Jt,1),Lt,2,6,["BC","AD"])[k]);break;case 121:Spn(e,s,u);break;case 77:Vxn(e,s,u);break;case 107:A=d.q.getHours(),A==0?Pm(e,24,s):Pm(e,A,s);break;case 83:i2n(e,s,d);break;case 69:N=u.q.getDay(),s==5?Ei(e,Te(we(Jt,1),Lt,2,6,["S","M","T","W","T","F","S"])[N]):s==4?Ei(e,Te(we(Jt,1),Lt,2,6,[Qfe,Jfe,Zfe,ede,tde,rde,nde])[N]):Ei(e,Te(we(Jt,1),Lt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[N]);break;case 97:d.q.getHours()>=12&&d.q.getHours()<24?Ei(e,Te(we(Jt,1),Lt,2,6,["AM","PM"])[1]):Ei(e,Te(we(Jt,1),Lt,2,6,["AM","PM"])[0]);break;case 104:B=d.q.getHours()%12,B==0?Pm(e,12,s):Pm(e,B,s);break;case 75:U=d.q.getHours()%12,Pm(e,U,s);break;case 72:ee=d.q.getHours(),Pm(e,ee,s);break;case 99:ne=u.q.getDay(),s==5?Ei(e,Te(we(Jt,1),Lt,2,6,["S","M","T","W","T","F","S"])[ne]):s==4?Ei(e,Te(we(Jt,1),Lt,2,6,[Qfe,Jfe,Zfe,ede,tde,rde,nde])[ne]):s==3?Ei(e,Te(we(Jt,1),Lt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[ne]):Pm(e,ne,1);break;case 76:ue=u.q.getMonth(),s==5?Ei(e,Te(we(Jt,1),Lt,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[ue]):s==4?Ei(e,Te(we(Jt,1),Lt,2,6,[Gfe,jfe,zfe,Ufe,X5,Vfe,Hfe,qfe,Wfe,Yfe,Kfe,Xfe])[ue]):s==3?Ei(e,Te(we(Jt,1),Lt,2,6,["Jan","Feb","Mar","Apr",X5,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[ue]):Pm(e,ue+1,s);break;case 81:fe=u.q.getMonth()/3|0,s<4?Ei(e,Te(we(Jt,1),Lt,2,6,["Q1","Q2","Q3","Q4"])[fe]):Ei(e,Te(we(Jt,1),Lt,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[fe]);break;case 100:xe=u.q.getDate(),Pm(e,xe,s);break;case 109:D=d.q.getMinutes(),Pm(e,D,s);break;case 115:x=d.q.getSeconds(),Pm(e,x,s);break;case 122:s<4?Ei(e,g.c[0]):Ei(e,g.c[1]);break;case 118:Ei(e,g.b);break;case 90:s<3?Ei(e,Qyn(g)):s==3?Ei(e,rbn(g)):Ei(e,nbn(g.a));break;default:return!1}return!0}i(cEn,"LA");function YMe(e,n,s,u){var d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et,Ft,mr,dr,jr,Or,yn,Ti;if(J$t(n),A=y(Ge((!n.b&&(n.b=new Ir(Pn,n,4,7)),n.b),0),84),N=y(Ge((!n.c&&(n.c=new Ir(Pn,n,5,8)),n.c),0),84),k=Fl(A),D=Fl(N),x=(!n.a&&(n.a=new xt(_a,n,6,6)),n.a).i==0?null:y(Ge((!n.a&&(n.a=new xt(_a,n,6,6)),n.a),0),166),Ft=y(mn(e.a,k),10),Or=y(mn(e.a,D),10),mr=null,yn=null,$e(A,193)&&(Et=y(mn(e.a,A),305),$e(Et,12)?mr=y(Et,12):$e(Et,10)&&(Ft=y(Et,10),mr=y(Xt(Ft.j,0),12))),$e(N,193)&&(jr=y(mn(e.a,N),305),$e(jr,12)?yn=y(jr,12):$e(jr,10)&&(Or=y(jr,10),yn=y(Xt(Or.j,0),12))),!Ft||!Or)throw me(new t5("The source or the target of edge "+n+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(ue=new Ix,Bl(ue,n),Tt(ue,(At(),ra),n),Tt(ue,(Ht(),Dl),null),ee=y(oe(u,ru),21),Ft==Or&&ee.Fc((sl(),hI)),mr||(gt=(al(),vu),dr=null,x&&K4(y(oe(Ft,ns),101))&&(dr=new St(x.j,x.k),zLt(dr,dF(n)),mDt(dr,s),Uk(D,k)&&(gt=Ih,Xi(dr,Ft.n))),mr=ZGt(Ft,dr,gt,u)),yn||(gt=(al(),Ih),Ti=null,x&&K4(y(oe(Or,ns),101))&&(Ti=new St(x.b,x.c),zLt(Ti,dF(n)),mDt(Ti,s)),yn=ZGt(Or,Ti,gt,Eo(Or))),Fo(ue,mr),ho(ue,yn),(mr.e.c.length>1||mr.g.c.length>1||yn.e.c.length>1||yn.g.c.length>1)&&ee.Fc((sl(),uI)),U=new gn((!n.n&&(n.n=new xt(bl,n,1,7)),n.n));U.e!=U.i.gc();)if(B=y(xn(U),135),!Kt(Yt(Ct(B,xw)))&&B.a)switch(fe=Iue(B),It(ue.b,fe),y(oe(fe,rm),278).g){case 1:case 2:ee.Fc((sl(),DR));break;case 0:ee.Fc((sl(),LR)),Tt(fe,rm,(Hg(),YR))}if(g=y(oe(u,yI),322),xe=y(oe(u,qJ),323),d=g==(DM(),NG)||xe==(XM(),wme),x&&(!x.a&&(x.a=new vs(Uf,x,5)),x.a).i!=0&&d){for(Ie=m$(x),ne=new sh,Ye=Hn(Ie,0);Ye.b!=Ye.d.c;)Be=y(Un(Ye),8),ki(ne,new Uo(Be));Tt(ue,jFe,ne)}return ue}i(YMe,"f5b");function uEn(e,n,s,u){var d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et,Ft,mr,dr,jr,Or,yn,Ti,za;for(dr=0,jr=0,Ft=new zn,gt=y(hf(Mk(Nl(new Tr(null,new Ar(e.b,16)),new b1t),new S1t)),17).a+1,mr=ot(ei,Ai,28,gt,15,1),fe=ot(ei,Ai,28,gt,15,1),ue=0;ue1)for(k=yn+1;kD.b.e.b*(1-xe)+D.c.e.b*xe));ne++);if(Et.gc()>0&&(Ti=D.a.b==0?ko(D.b.e):y(Lp(D.a),8),Be=Xi(ko(y(Et.Xb(Et.gc()-1),40).e),y(Et.Xb(Et.gc()-1),40).f),U=Xi(ko(y(Et.Xb(0),40).e),y(Et.Xb(0),40).f),ne>=Et.gc()-1&&Ti.b>Be.b&&D.c.e.b>Be.b||ne<=0&&Ti.bD.b.e.a*(1-xe)+D.c.e.a*xe));ne++);if(Et.gc()>0&&(Ti=D.a.b==0?ko(D.b.e):y(Lp(D.a),8),Be=Xi(ko(y(Et.Xb(Et.gc()-1),40).e),y(Et.Xb(Et.gc()-1),40).f),U=Xi(ko(y(Et.Xb(0),40).e),y(Et.Xb(0),40).f),ne>=Et.gc()-1&&Ti.a>Be.a&&D.c.e.a>Be.a||ne<=0&&Ti.a=Qe(rt(oe(e,(xa(),nje))))&&++jr):(ee.f&&ee.d.e.a<=Qe(rt(oe(e,(xa(),Fme))))&&++dr,ee.g&&ee.c.e.a+ee.c.f.a>=Qe(rt(oe(e,(xa(),rje))))&&++jr)}else Ye==0?m_e(D):Ye<0&&(++mr[yn],++fe[za],Or=aEn(D,n,e,new Bs(_t(dr),_t(jr)),s,u,new Bs(_t(fe[za]),_t(mr[yn]))),dr=y(Or.a,17).a,jr=y(Or.b,17).a)}i(uEn,"F0c");function hEn(e,n,s){var u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie;if(u=n,A=s,e.b&&u.j==(Bt(),on)&&A.j==(Bt(),on)&&(Ie=u,u=A,A=Ie),Ru(e.a,u)){if(og(y(mn(e.a,u),49),A))return 1}else ji(e.a,u,new ys);if(Ru(e.a,A)){if(og(y(mn(e.a,A),49),u))return-1}else ji(e.a,A,new ys);if(Ru(e.d,u)){if(og(y(mn(e.d,u),49),A))return-1}else ji(e.d,u,new ys);if(Ru(e.d,A)){if(og(y(mn(e.a,A),49),u))return 1}else ji(e.d,A,new ys);if(u.j!=A.j)return xe=ZQr(u.j,A.j),xe==-1?bd(e,A,u):bd(e,u,A),xe;if(u.e.c.length!=0&&A.e.c.length!=0){if(e.b&&(xe=BIt(u,A),xe!=0))return xe==-1?bd(e,A,u):xe==1&&bd(e,u,A),xe;if(g=y(Xt(u.e,0),18).c.i,N=y(Xt(A.e,0),18).c.i,g==N)return d=y(oe(y(Xt(u.e,0),18),(At(),fa)),17).a,D=y(oe(y(Xt(A.e,0),18),fa),17).a,d>D?bd(e,u,A):bd(e,A,u),dD?1:0;for(ne=e.c,ue=0,fe=ne.length;ueD?bd(e,u,A):bd(e,A,u),dD?1:0):e.b&&(xe=BIt(u,A),xe!=0)?(xe==-1?bd(e,A,u):xe==1&&bd(e,u,A),xe):(x=0,B=0,Ea(y(Xt(u.g,0),18),fa)&&(x=y(oe(y(Xt(u.g,0),18),fa),17).a),Ea(y(Xt(A.g,0),18),fa)&&(B=y(oe(y(Xt(u.g,0),18),fa),17).a),k&&k==U?Kt(Yt(oe(y(Xt(u.g,0),18),r0)))&&!Kt(Yt(oe(y(Xt(A.g,0),18),r0)))?(bd(e,u,A),1):!Kt(Yt(oe(y(Xt(u.g,0),18),r0)))&&Kt(Yt(oe(y(Xt(A.g,0),18),r0)))?(bd(e,A,u),-1):(x>B?bd(e,u,A):bd(e,A,u),xB?1:0):(e.f&&(e.f._b(k)&&(x=y(e.f.xc(k),17).a),e.f._b(U)&&(B=y(e.f.xc(U),17).a)),x>B?bd(e,u,A):bd(e,A,u),xB?1:0))):u.e.c.length!=0&&A.g.c.length!=0?(bd(e,u,A),1):u.g.c.length!=0&&A.e.c.length!=0?(bd(e,A,u),-1):Ea(u,(At(),fa))&&Ea(A,fa)?(d=y(oe(u,fa),17).a,D=y(oe(A,fa),17).a,d>D?bd(e,u,A):bd(e,A,u),dD?1:0):(bd(e,A,u),-1)}i(hEn,"qrc");function fEn(e){e.gb||(e.gb=!0,e.b=dc(e,0),Qa(e.b,18),Aa(e.b,19),e.a=dc(e,1),Qa(e.a,1),Aa(e.a,2),Aa(e.a,3),Aa(e.a,4),Aa(e.a,5),e.o=dc(e,2),Qa(e.o,8),Qa(e.o,9),Aa(e.o,10),Aa(e.o,11),Aa(e.o,12),Aa(e.o,13),Aa(e.o,14),Aa(e.o,15),Aa(e.o,16),Aa(e.o,17),Aa(e.o,18),Aa(e.o,19),Aa(e.o,20),Aa(e.o,21),Aa(e.o,22),Aa(e.o,23),Al(e.o),Al(e.o),Al(e.o),Al(e.o),Al(e.o),Al(e.o),Al(e.o),Al(e.o),Al(e.o),Al(e.o),e.p=dc(e,3),Qa(e.p,2),Qa(e.p,3),Qa(e.p,4),Qa(e.p,5),Aa(e.p,6),Aa(e.p,7),Al(e.p),Al(e.p),e.q=dc(e,4),Qa(e.q,8),e.v=dc(e,5),Aa(e.v,9),Al(e.v),Al(e.v),Al(e.v),e.w=dc(e,6),Qa(e.w,2),Qa(e.w,3),Qa(e.w,4),Aa(e.w,5),e.B=dc(e,7),Aa(e.B,1),Al(e.B),Al(e.B),Al(e.B),e.Q=dc(e,8),Aa(e.Q,0),Al(e.Q),e.R=dc(e,9),Qa(e.R,1),e.S=dc(e,10),Al(e.S),Al(e.S),Al(e.S),Al(e.S),Al(e.S),Al(e.S),Al(e.S),Al(e.S),Al(e.S),Al(e.S),Al(e.S),Al(e.S),Al(e.S),Al(e.S),Al(e.S),e.T=dc(e,11),Aa(e.T,10),Aa(e.T,11),Aa(e.T,12),Aa(e.T,13),Aa(e.T,14),Al(e.T),Al(e.T),e.U=dc(e,12),Qa(e.U,2),Qa(e.U,3),Aa(e.U,4),Aa(e.U,5),Aa(e.U,6),Aa(e.U,7),Al(e.U),e.V=dc(e,13),Aa(e.V,10),e.W=dc(e,14),Qa(e.W,18),Qa(e.W,19),Qa(e.W,20),Aa(e.W,21),Aa(e.W,22),Aa(e.W,23),e.bb=dc(e,15),Qa(e.bb,10),Qa(e.bb,11),Qa(e.bb,12),Qa(e.bb,13),Qa(e.bb,14),Qa(e.bb,15),Qa(e.bb,16),Aa(e.bb,17),Al(e.bb),Al(e.bb),e.eb=dc(e,16),Qa(e.eb,2),Qa(e.eb,3),Qa(e.eb,4),Qa(e.eb,5),Qa(e.eb,6),Qa(e.eb,7),Aa(e.eb,8),Aa(e.eb,9),e.ab=dc(e,17),Qa(e.ab,0),Qa(e.ab,1),e.H=dc(e,18),Aa(e.H,0),Aa(e.H,1),Aa(e.H,2),Aa(e.H,3),Aa(e.H,4),Aa(e.H,5),Al(e.H),e.db=dc(e,19),Aa(e.db,2),e.c=Ui(e,20),e.d=Ui(e,21),e.e=Ui(e,22),e.f=Ui(e,23),e.i=Ui(e,24),e.g=Ui(e,25),e.j=Ui(e,26),e.k=Ui(e,27),e.n=Ui(e,28),e.r=Ui(e,29),e.s=Ui(e,30),e.t=Ui(e,31),e.u=Ui(e,32),e.fb=Ui(e,33),e.A=Ui(e,34),e.C=Ui(e,35),e.D=Ui(e,36),e.F=Ui(e,37),e.G=Ui(e,38),e.I=Ui(e,39),e.J=Ui(e,40),e.L=Ui(e,41),e.M=Ui(e,42),e.N=Ui(e,43),e.O=Ui(e,44),e.P=Ui(e,45),e.X=Ui(e,46),e.Y=Ui(e,47),e.Z=Ui(e,48),e.$=Ui(e,49),e._=Ui(e,50),e.cb=Ui(e,51),e.K=Ui(e,52))}i(fEn,"Yae");function dEn(e,n,s){var u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et,Ft,mr,dr,jr,Or,yn;for(x=new Da,Et=y(oe(s,(Ht(),$f)),88),ue=0,xo(x,(!n.a&&(n.a=new xt(Hi,n,10,11)),n.a));x.b!=0;)N=y(x.b==0?null:(Sn(x.b!=0),hd(x,x.a.a)),27),D=Oa(N),(Ze(Ct(D,Xm))!==Ze((G0(),eb))||Ze(Ct(D,yw))===Ze((jy(),AR))||Ze(Ct(D,yw))===Ze((jy(),SR))||Kt(Yt(Ct(D,xT)))||Ze(Ct(D,R3))!==Ze((Q2(),T3))||Ze(Ct(D,Rv))===Ze((Yd(),AT))||Ze(Ct(D,Rv))===Ze((Yd(),O3))||Ze(Ct(D,vw))===Ze((qy(),$R))||Ze(Ct(D,vw))===Ze((qy(),GR)))&&!Kt(Yt(Ct(N,FJ)))&&ca(N,(At(),fa),_t(ue++)),xe=!Kt(Yt(Ct(N,xw))),xe&&(U=(!N.a&&(N.a=new xt(Hi,N,10,11)),N.a).i!=0,ne=zmn(N),ee=Ze(Ct(N,L3))===Ze((O1(),ab)),yn=!Ug(N,(_i(),HR))||CDt(pi(Ct(N,HR))),Ye=null,yn&&ee&&(U||ne)&&(Ye=IGt(N),Tt(Ye,$f,Et),Ea(Ye,zG)&&N4t(new _Le(Qe(rt(oe(Ye,zG)))),Ye),y(Ct(N,ww),181).gc()!=0&&(B=Ye,as(new Tr(null,(!N.c&&(N.c=new xt(Ph,N,9,9)),new Ar(N.c,16))),new jxt(B)),E$t(N,Ye))),Ft=s,mr=y(mn(e.a,Oa(N)),10),mr&&(Ft=mr.e),Be=szt(e,N,Ft),Ye&&(Be.e=Ye,Ye.e=Be,xo(x,(!N.a&&(N.a=new xt(Hi,N,10,11)),N.a))));for(ue=0,Xa(x,n,x.c.b,x.c);x.b!=0;){for(g=y(x.b==0?null:(Sn(x.b!=0),hd(x,x.a.a)),27),A=new gn((!g.b&&(g.b=new xt(us,g,12,3)),g.b));A.e!=A.i.gc();)k=y(xn(A),74),J$t(k),(Ze(Ct(n,Xm))!==Ze((G0(),eb))||Ze(Ct(n,yw))===Ze((jy(),AR))||Ze(Ct(n,yw))===Ze((jy(),SR))||Kt(Yt(Ct(n,xT)))||Ze(Ct(n,R3))!==Ze((Q2(),T3))||Ze(Ct(n,Rv))===Ze((Yd(),AT))||Ze(Ct(n,Rv))===Ze((Yd(),O3))||Ze(Ct(n,vw))===Ze((qy(),$R))||Ze(Ct(n,vw))===Ze((qy(),GR)))&&ca(k,(At(),fa),_t(ue++)),jr=Fl(y(Ge((!k.b&&(k.b=new Ir(Pn,k,4,7)),k.b),0),84)),Or=Fl(y(Ge((!k.c&&(k.c=new Ir(Pn,k,5,8)),k.c),0),84)),!(Kt(Yt(Ct(k,xw)))||Kt(Yt(Ct(jr,xw)))||Kt(Yt(Ct(Or,xw))))&&(fe=Qx(k)&&Kt(Yt(Ct(jr,D3)))&&Kt(Yt(Ct(k,bw))),gt=g,fe||Uk(Or,jr)?gt=jr:Uk(jr,Or)&&(gt=Or),Ft=s,mr=y(mn(e.a,gt),10),mr&&(Ft=mr.e),Ie=YMe(e,k,gt,Ft),Tt(Ie,(At(),BFe),dwn(e,k,n,s)));if(ee=Ze(Ct(g,L3))===Ze((O1(),ab)),ee)for(d=new gn((!g.a&&(g.a=new xt(Hi,g,10,11)),g.a));d.e!=d.i.gc();)u=y(xn(d),27),yn=!Ug(u,(_i(),HR))||CDt(pi(Ct(u,HR))),dr=Ze(Ct(u,L3))===Ze(ab),yn&&dr&&Xa(x,u,x.c.b,x.c)}}i(dEn,"d5b");function At(){At=z;var e,n;ra=new ea(N9e),BFe=new ea("coordinateOrigin"),K0e=new ea("processors"),PFe=new ja("compoundNode",(Hr(),!1)),FG=new ja("insideConnections",!1),jFe=new ea("originalBendpoints"),zFe=new ea("originalDummyNodePosition"),UFe=new ea("originalLabelEdge"),dI=new ea("representedLabels"),fI=new ea("endLabels"),m6=new ea("endLabel.origin"),b6=new ja("labelSide",(If(),yj)),JC=new ja("maxEdgeThickness",0),r0=new ja("reversed",!1),v6=new ea(O9e),wg=new ja("longEdgeSource",null),ep=new ja("longEdgeTarget",null),S3=new ja("longEdgeHasLabelDummies",!1),$G=new ja("longEdgeBeforeLabelDummy",!1),_J=new ja("edgeConstraint",(Y2(),M0e)),bT=new ea("inLayerLayoutUnit"),gw=new ja("inLayerConstraint",(M1(),PG)),y6=new ja("inLayerSuccessorConstraint",new Mt),GFe=new ja("inLayerSuccessorConstraintBetweenNonDummies",!1),Mh=new ea("portDummy"),DJ=new ja("crossingHint",_t(0)),ru=new ja("graphProperties",(n=y(sg($0e),9),new ad(n,y(Dp(n,n.length),9),0))),vc=new ja("externalPortSide",(Bt(),oc)),$Fe=new ja("externalPortSize",new mo),V0e=new ea("externalPortReplacedDummies"),MJ=new ea("externalPortReplacedDummy"),W1=new ja("externalPortConnections",(e=y(sg(Qo),9),new ad(e,y(Dp(e,e.length),9),0))),vT=new ja(pUt,0),OFe=new ea("barycenterAssociates"),w6=new ea("TopSideComments"),g6=new ea("BottomSideComments"),LJ=new ea("CommentConnectionPort"),q0e=new ja("inputCollect",!1),Y0e=new ja("outputCollect",!1),BG=new ja("cyclic",!1),FFe=new ea("crossHierarchyMap"),Q0e=new ea("targetOffset"),new ja("splineLabelSize",new mo),eE=new ea("spacings"),IJ=new ja("partitionConstraint",!1),yT=new ea("breakingPoint.info"),qFe=new ea("splines.survivingEdge"),mw=new ea("splines.route.start"),tE=new ea("splines.edgeChain"),HFe=new ea("originalPortConstraints"),wT=new ea("selfLoopHolder"),MR=new ea("splines.nsPortY"),fa=new ea("modelOrder"),W0e=new ea("longEdgeTargetNode"),Sv=new ja(YUt,!1),ZC=new ja(YUt,!1),H0e=new ea("layerConstraints.hiddenNodes"),VFe=new ea("layerConstraints.opposidePort"),X0e=new ea("targetNode.modelOrder")}i(At,"Ywc");function pEn(e,n,s,u){var d,g,x,k,A,D,N,B,U,ee,ne;for(B=Hn(e.b,0);B.b!=B.d.c;)if(N=y(Un(B),40),!kr(N.c,nQ))for(g=y(Vl(new Tr(null,new Ar(kbn(N,e),16)),Rh(new bt,new ft,new ke,Te(we(Ll,1),kt,108,0,[(Dh(),Wl)]))),15),n==(Ts(),_l)||n==Gl?g.jd(new T1t):g.jd(new k1t),ne=g.gc(),d=0;d0&&(k=y(Lp(y(g.Xb(d),65).a),8).a,U=N.e.a+N.f.a/2,A=y(Lp(y(g.Xb(d),65).a),8).b,ee=N.e.b+N.f.b/2,u>0&&p.Math.abs(A-ee)/(p.Math.abs(k-U)/40)>50&&(ee>A?zo(y(g.Xb(d),65).a,new St(N.e.a+N.f.a+u/5.3,N.e.b+N.f.b*x-u/2)):zo(y(g.Xb(d),65).a,new St(N.e.a+N.f.a+u/5.3,N.e.b+N.f.b*x+u/2)))),zo(y(g.Xb(d),65).a,new St(N.e.a+N.f.a,N.e.b+N.f.b*x))):n==Gl?(D=Qe(rt(oe(N,(xa(),xg)))),N.e.a-u>D?zo(y(g.Xb(d),65).a,new St(D-s,N.e.b+N.f.b*x)):y(g.Xb(d),65).a.b>0&&(k=y(Lp(y(g.Xb(d),65).a),8).a,U=N.e.a+N.f.a/2,A=y(Lp(y(g.Xb(d),65).a),8).b,ee=N.e.b+N.f.b/2,u>0&&p.Math.abs(A-ee)/(p.Math.abs(k-U)/40)>50&&(ee>A?zo(y(g.Xb(d),65).a,new St(N.e.a-u/5.3,N.e.b+N.f.b*x-u/2)):zo(y(g.Xb(d),65).a,new St(N.e.a-u/5.3,N.e.b+N.f.b*x+u/2)))),zo(y(g.Xb(d),65).a,new St(N.e.a,N.e.b+N.f.b*x))):n==Cd?(D=Qe(rt(oe(N,(xa(),Vp)))),N.e.b+N.f.b+u0&&(k=y(Lp(y(g.Xb(d),65).a),8).a,U=N.e.a+N.f.a/2,A=y(Lp(y(g.Xb(d),65).a),8).b,ee=N.e.b+N.f.b/2,u>0&&p.Math.abs(k-U)/(p.Math.abs(A-ee)/40)>50&&(U>k?zo(y(g.Xb(d),65).a,new St(N.e.a+N.f.a*x-u/2,N.e.b+u/5.3+N.f.b)):zo(y(g.Xb(d),65).a,new St(N.e.a+N.f.a*x+u/2,N.e.b+u/5.3+N.f.b)))),zo(y(g.Xb(d),65).a,new St(N.e.a+N.f.a*x,N.e.b+N.f.b))):(D=Qe(rt(oe(N,(xa(),xg)))),kIt(y(g.Xb(d),65),e)?zo(y(g.Xb(d),65).a,new St(N.e.a+N.f.a*x,y(Lp(y(g.Xb(d),65).a),8).b)):N.e.b-u>D?zo(y(g.Xb(d),65).a,new St(N.e.a+N.f.a*x,D-s)):y(g.Xb(d),65).a.b>0&&(k=y(Lp(y(g.Xb(d),65).a),8).a,U=N.e.a+N.f.a/2,A=y(Lp(y(g.Xb(d),65).a),8).b,ee=N.e.b+N.f.b/2,u>0&&p.Math.abs(k-U)/(p.Math.abs(A-ee)/40)>50&&(U>k?zo(y(g.Xb(d),65).a,new St(N.e.a+N.f.a*x-u/2,N.e.b-u/5.3)):zo(y(g.Xb(d),65).a,new St(N.e.a+N.f.a*x+u/2,N.e.b-u/5.3)))),zo(y(g.Xb(d),65).a,new St(N.e.a+N.f.a*x,N.e.b)))}i(pEn,"D0c");function _i(){_i=z;var e,n;HR=new ea(IVt),wE=new ea(NVt),Zze=(Bm(),R1e),Rrr=new xr(UIe,Zze),new v_,dE=new xr(r6,null),Lrr=new ea(rOe),tUe=(Z2(),Sa(_1e,Te(we(M1e,1),kt,298,0,[D1e]))),lj=new xr(JX,tUe),cj=new xr(oG,(Hr(),!1)),rUe=(Ts(),s0),Ew=new xr(ppe,rUe),aUe=(P1(),H1e),iUe=new xr(sG,aUe),Mrr=new xr(eOe,!1),lUe=(O1(),IZ),mE=new xr(QX,lUe),yUe=new vx(12),ib=new xr(aT,yUe),hj=new xr(D9,!1),P1e=new xr(eQ,!1),fj=new xr(_9,!1),TUe=(fo(),Ov),qI=new xr(Nde,TUe),E6=new ea(ZX),dj=new ea(Q$),U1e=new ea(IX),V1e=new ea(L9),cUe=new sh,DT=new xr(eNe,cUe),_rr=new xr(nNe,!1),Irr=new xr(iNe,!1),new ea(OVt),uUe=new T_,qR=new xr(sNe,uUe),LZ=new xr(jIe,!1),new v_,Brr=new xr(PVt,1),gE=new ea(BVt),pE=new ea(FVt),WR=new xr(J$,!1),new xr($Vt,!0),_t(0),new xr(GVt,_t(100)),new xr(jVt,!1),_t(0),new xr(zVt,_t(4e3)),_t(0),new xr(UVt,_t(400)),new xr(VVt,!1),new xr(HVt,!1),new xr(qVt,!0),new xr(WVt,!1),eUe=(mK(),K1e),Drr=new xr(tOe,eUe),Frr=new xr(DIe,10),$rr=new xr(_Ie,10),SUe=new xr(Ade,20),Grr=new xr(MIe,10),AUe=new xr(Ide,2),RUe=new xr(dpe,10),LUe=new xr(IIe,0),DZ=new xr(PIe,5),DUe=new xr(NIe,1),_Ue=new xr(OIe,1),Aw=new xr(f3,20),jrr=new xr(BIe,10),NUe=new xr(FIe,10),S6=new ea($Ie),IUe=new e5t,MUe=new xr(oNe,IUe),Orr=new ea(mpe),bUe=!1,Nrr=new xr(gpe,bUe),fUe=new vx(5),hUe=new xr(qIe,fUe),dUe=(r3(),n=y(sg(ul),9),new ad(n,y(Dp(n,n.length),9),0)),yE=new xr(nR,dUe),wUe=(gC(),Nv),vUe=new xr(KIe,wUe),F1e=new ea(XIe),$1e=new ea(QIe),G1e=new ea(JIe),B1e=new ea(ZIe),pUe=(e=y(sg(eN),9),new ad(e,y(Dp(e,e.length),9),0)),Sw=new xr(OC,pUe),mUe=pr((Xh(),JR)),Mv=new xr(n6,mUe),gUe=new St(0,0),bE=new xr(i6,gUe),$3=new xr(rR,!1),nUe=(Hg(),YR),N1e=new xr(tNe,nUe),I1e=new xr(NX,!1),new ea(YVt),_t(1),new xr(KVt,null),xUe=new ea(aNe),j1e=new ea(rNe),EUe=(Bt(),oc),vE=new xr(zIe,EUe),ef=new ea(GIe),kUe=(_h(),pr(Pv)),G3=new xr(iR,kUe),z1e=new xr(WIe,!1),CUe=new xr(YIe,!0),new v_,MZ=new xr(Z$,1),OUe=new xr(nOe,null),pj=new xr(eG,150),_Z=new xr(tG,1.414),A6=new xr(sT,null),zrr=new xr(iOe,1),uj=new xr(VIe,!1),O1e=new xr(HIe,!1),sUe=new xr(Rde,1),oUe=(VK(),W1e),new xr(XVt,oUe),Prr=!0,Vrr=(P5(),U3),Hrr=U3,Urr=U3}i(_i,"umd");function jo(){jo=z,NBe=new bs("DIRECTION_PREPROCESSOR",0),_Be=new bs("COMMENT_PREPROCESSOR",1),HC=new bs("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),p0e=new bs("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),ZBe=new bs("PARTITION_PREPROCESSOR",4),nJ=new bs("LABEL_DUMMY_INSERTER",5),dJ=new bs("SELF_LOOP_PREPROCESSOR",6),C3=new bs("LAYER_CONSTRAINT_PREPROCESSOR",7),QBe=new bs("PARTITION_MIDPROCESSOR",8),zBe=new bs("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),KBe=new bs("NODE_PROMOTION",10),k3=new bs("LAYER_CONSTRAINT_POSTPROCESSOR",11),JBe=new bs("PARTITION_POSTPROCESSOR",12),$Be=new bs("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),eFe=new bs("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),EBe=new bs("BREAKING_POINT_INSERTER",15),oJ=new bs("LONG_EDGE_SPLITTER",16),g0e=new bs("PORT_SIDE_PROCESSOR",17),tJ=new bs("INVERTED_PORT_PROCESSOR",18),uJ=new bs("PORT_LIST_SORTER",19),rFe=new bs("SORT_BY_INPUT_ORDER_OF_MODEL",20),cJ=new bs("NORTH_SOUTH_PORT_PREPROCESSOR",21),SBe=new bs("BREAKING_POINT_PROCESSOR",22),XBe=new bs(GUt,23),nFe=new bs(jUt,24),hJ=new bs("SELF_LOOP_PORT_RESTORER",25),tFe=new bs("SINGLE_EDGE_GRAPH_WRAPPER",26),rJ=new bs("IN_LAYER_CONSTRAINT_PROCESSOR",27),PBe=new bs("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),WBe=new bs("LABEL_AND_NODE_SIZE_PROCESSOR",29),qBe=new bs("INNERMOST_NODE_MARGIN_CALCULATOR",30),pJ=new bs("SELF_LOOP_ROUTER",31),LBe=new bs("COMMENT_NODE_MARGIN_CALCULATOR",32),eJ=new bs("END_LABEL_PREPROCESSOR",33),aJ=new bs("LABEL_DUMMY_SWITCHER",34),RBe=new bs("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),wR=new bs("LABEL_SIDE_SELECTOR",36),VBe=new bs("HYPEREDGE_DUMMY_MERGER",37),GBe=new bs("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),YBe=new bs("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),sI=new bs("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),MBe=new bs("CONSTRAINTS_POSTPROCESSOR",41),DBe=new bs("COMMENT_POSTPROCESSOR",42),HBe=new bs("HYPERNODE_PROCESSOR",43),jBe=new bs("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),sJ=new bs("LONG_EDGE_JOINER",45),fJ=new bs("SELF_LOOP_POSTPROCESSOR",46),ABe=new bs("BREAKING_POINT_REMOVER",47),lJ=new bs("NORTH_SOUTH_PORT_POSTPROCESSOR",48),UBe=new bs("HORIZONTAL_COMPACTOR",49),iJ=new bs("LABEL_DUMMY_REMOVER",50),BBe=new bs("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),OBe=new bs("END_LABEL_SORTER",52),_G=new bs("REVERSED_EDGE_RESTORER",53),ZQ=new bs("END_LABEL_POSTPROCESSOR",54),FBe=new bs("HIERARCHICAL_NODE_RESIZER",55),IBe=new bs("DIRECTION_POSTPROCESSOR",56)}i(jo,"hcc");function KMe(){KMe=z,n$e=(NF(),TJ),rQt=new xr(H9e,n$e),pQt=new xr(q9e,(Hr(),!1)),c$e=(dY(),U0e),vQt=new xr(FX,c$e),NQt=new xr(W9e,!1),OQt=new xr(Y9e,!0),RXt=new xr(K9e,!1),y$e=(MF(),Cme),XQt=new xr(X9e,y$e),_t(1),iJt=new xr(Q9e,_t(7)),aJt=new xr(J9e,!1),gQt=new xr(Z9e,!1),r$e=(jy(),D0e),tQt=new xr(jde,r$e),f$e=(qy(),mme),IQt=new xr(aG,f$e),u$e=(md(),GG),EQt=new xr(eIe,u$e),_t(-1),CQt=new xr(tIe,null),_t(-1),SQt=new xr(rIe,_t(-1)),_t(-1),AQt=new xr(zde,_t(4)),_t(-1),LQt=new xr(Ude,_t(2)),h$e=(Yd(),eZ),MQt=new xr(Vde,h$e),_t(0),_Qt=new xr(Hde,_t(0)),TQt=new xr(qde,_t(Yi)),t$e=(DM(),lI),eQt=new xr(N9,t$e),$Xt=new xr(nIe,!1),qXt=new xr(Wde,.1),JXt=new xr(Yde,!1),YXt=new xr(iIe,null),KXt=new xr(aIe,null),_t(-1),XXt=new xr(sIe,null),_t(-1),QXt=new xr(oIe,_t(-1)),_t(0),GXt=new xr(lIe,_t(40)),e$e=(c7(),j0e),VXt=new xr(Kde,e$e),ZFe=OG,jXt=new xr($X,ZFe),m$e=(XM(),TI),KQt=new xr(PC,m$e),GQt=new ea(GX),d$e=(AF(),CJ),PQt=new xr(Xde,d$e),p$e=(d$(),EJ),FQt=new xr(Qde,p$e),new v_,UQt=new xr(Jde,.3),HQt=new ea(Zde),g$e=(Xk(),ZJ),qQt=new xr(epe,g$e),s$e=(tK(),Sme),oQt=new xr(cIe,s$e),o$e=(BM(),Rme),lQt=new xr(uIe,o$e),l$e=(y7(),EI),cQt=new xr(jX,l$e),hQt=new xr(zX,.2),aQt=new xr(tpe,2),eJt=new xr(hIe,null),rJt=new xr(fIe,10),tJt=new xr(dIe,10),nJt=new xr(pIe,20),_t(0),QQt=new xr(gIe,_t(0)),_t(0),JQt=new xr(mIe,_t(0)),_t(0),ZQt=new xr(yIe,_t(0)),LXt=new xr(rpe,!1),KFe=(M7(),cI),_Xt=new xr(bIe,KFe),YFe=(CY(),R0e),DXt=new xr(vIe,YFe),yQt=new xr(UX,!1),_t(0),mQt=new xr(npe,_t(16)),_t(0),bQt=new xr(ipe,_t(5)),w$e=(aK(),_me),EJt=new xr(V1,w$e),sJt=new xr(VX,10),cJt=new xr(HX,1),v$e=(jY(),xJ),mJt=new xr(O9,v$e),fJt=new ea(ape),b$e=_t(1),_t(0),pJt=new xr(spe,b$e),x$e=(GY(),Dme),LJt=new xr(qX,x$e),SJt=new ea(WX),xJt=new xr(YX,!0),vJt=new xr(KX,2),kJt=new xr(ope,!0),a$e=(qK(),kJ),iQt=new xr(wIe,a$e),i$e=(U5(),CR),nQt=new xr(xIe,i$e),JFe=(G0(),eb),FXt=new xr(XX,JFe),BXt=new xr(TIe,!1),PXt=new xr(kIe,!1),XFe=(Q2(),T3),MXt=new xr(lpe,XFe),QFe=(GM(),yme),OXt=new xr(CIe,QFe),IXt=new xr(cpe,0),NXt=new xr(upe,0),xQt=_0e,wQt=NG,RQt=QJ,DQt=QJ,kQt=gme,WXt=(O1(),ab),ZXt=lI,HXt=lI,zXt=lI,UXt=ab,jQt=kI,zQt=TI,BQt=TI,$Qt=TI,VQt=xme,YQt=kI,WQt=kI,uQt=(P1(),R6),fQt=R6,dQt=EI,sQt=gj,oJt=jR,lJt=P3,uJt=jR,hJt=P3,yJt=jR,bJt=P3,dJt=L0e,gJt=xJ,DJt=jR,_Jt=P3,AJt=jR,RJt=P3,TJt=P3,wJt=P3,CJt=P3}i(KMe,"Ozc");function gEn(e,n,s){var u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et,Ft,mr,dr,jr,Or,yn,Ti,za,Bh,Ml,Vf,SE,fb,Qp,Jp,_w,N6,Vv,O6,am,n1,OT,P6,AE,sm,Mw,J1,Iir,iHe,PT,dN,fye,B6,pN,Q3,gN,dye,Nir;for(iHe=0,Ti=n,Ml=0,fb=Ti.length;Ml0&&(e.a[am.p]=iHe++)}for(pN=0,za=s,Vf=0,Qp=za.length;Vf0;){for(am=(Sn(AE.b>0),y(AE.a.Xb(AE.c=--AE.b),12)),P6=0,k=new ge(am.e);k.a0&&(am.j==(Bt(),en)?(e.a[am.p]=pN,++pN):(e.a[am.p]=pN+Jp+N6,++N6))}pN+=N6}for(OT=new zn,ne=new I0,yn=n,Bh=0,SE=yn.length;BhD.b&&(D.b=sm)):am.i.c==Iir&&(smD.c&&(D.c=sm));for(W8(ue,0,ue.length,null),B6=ot(ei,Ai,28,ue.length,15,1),u=ot(ei,Ai,28,pN+1,15,1),xe=0;xe0;)Ft%2>0&&(d+=dye[Ft+1]),Ft=(Ft-1)/2|0,++dye[Ft];for(dr=ot(LZt,Gr,374,ue.length*2,0,1),Ye=0;Ye0&&hF(Bh.f),Ct(xe,OUe)!=null&&(k=y(Ct(xe,OUe),347),OT=k.Tg(xe),Q4(xe,p.Math.max(xe.g,OT.a),p.Math.max(xe.f,OT.b)));if(Qp=y(Ct(n,ib),107),ee=n.g-(Qp.b+Qp.c),U=n.f-(Qp.d+Qp.a),sm.bh("Available Child Area: ("+ee+"|"+U+")"),ca(n,dE,ee/U),nOt(n,d,u.eh(SE)),y(Ct(n,A6),280)==$Z&&(HMe(n),Q4(n,Qp.b+Qe(rt(Ct(n,gE)))+Qp.c,Qp.d+Qe(rt(Ct(n,pE)))+Qp.a)),sm.bh("Executed layout algorithm: "+pi(Ct(n,HR))+" on node "+n.k),y(Ct(n,A6),280)==U3){if(ee<0||U<0)throw me(new xy("The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. "+n.k));for(Ug(n,gE)||Ug(n,pE)||HMe(n),ue=Qe(rt(Ct(n,gE))),ne=Qe(rt(Ct(n,pE))),sm.bh("Desired Child Area: ("+ue+"|"+ne+")"),_w=ee/ue,N6=U/ne,Jp=p.Math.min(_w,p.Math.min(N6,Qe(rt(Ct(n,zrr))))),ca(n,MZ,Jp),sm.bh(n.k+" -- Local Scale Factor (X|Y): ("+_w+"|"+N6+")"),Ye=y(Ct(n,lj),21),g=0,x=0,Jp<_w&&(Ye.Hc((Z2(),zI))?g=(ee/2-ue*Jp/2)/Jp:Ye.Hc(UI)&&(g=(ee-ue*Jp)/Jp)),Jp'?":kr(RHt,e)?"'(?<' or '(? toIndex: ",f9e=", toIndex: ",d9e="Index: ",p9e=", Size: ",J7="org.eclipse.elk.alg.common",wi={50:1},Xzt="org.eclipse.elk.alg.common.compaction",Qzt="Scanline/EventHandler",Vm="org.eclipse.elk.alg.common.compaction.oned",Jzt="CNode belongs to another CGroup.",Zzt="ISpacingsHandler/1",gde="The ",mde=" instance has been finished already.",eUt="The direction ",tUt=" is not supported by the CGraph instance.",rUt="OneDimensionalCompactor",nUt="OneDimensionalCompactor/lambda$0$Type",iUt="Quadruplet",aUt="ScanlineConstraintCalculator",sUt="ScanlineConstraintCalculator/ConstraintsScanlineHandler",oUt="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",lUt="ScanlineConstraintCalculator/Timestamp",cUt="ScanlineConstraintCalculator/lambda$0$Type",q0={178:1,46:1},yde="org.eclipse.elk.alg.common.compaction.options",sc="org.eclipse.elk.core.data",g9e="org.eclipse.elk.polyomino.traversalStrategy",m9e="org.eclipse.elk.polyomino.lowLevelSort",y9e="org.eclipse.elk.polyomino.highLevelSort",b9e="org.eclipse.elk.polyomino.fill",Kd={134:1},bde="polyomino",S9="org.eclipse.elk.alg.common.networksimplex",Hm={183:1,3:1,4:1},uUt="org.eclipse.elk.alg.common.nodespacing",iw="org.eclipse.elk.alg.common.nodespacing.cellsystem",Z7="CENTER",hUt={217:1,336:1},v9e={3:1,4:1,5:1,603:1},Z5="LEFT",e6="RIGHT",w9e="Vertical alignment cannot be null",x9e="BOTTOM",AX="org.eclipse.elk.alg.common.nodespacing.internal",A9="UNDEFINED",Qg=.01,Y$="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",fUt="LabelPlacer/lambda$0$Type",dUt="LabelPlacer/lambda$1$Type",pUt="portRatioOrPosition",eR="org.eclipse.elk.alg.common.overlaps",vde="DOWN",W0="org.eclipse.elk.alg.common.polyomino",RX="NORTH",wde="EAST",xde="SOUTH",Tde="WEST",LX="org.eclipse.elk.alg.common.polyomino.structures",T9e="Direction",kde="Grid is only of size ",Cde=". Requested point (",Ede=") is out of bounds.",DX=" Given center based coordinates were (",K$="org.eclipse.elk.graph.properties",gUt="IPropertyHolder",k9e={3:1,96:1,137:1},t6="org.eclipse.elk.alg.common.spore",mUt="org.eclipse.elk.alg.common.utils",aw={205:1},MC="org.eclipse.elk.core",yUt="Connected Components Compaction",bUt="org.eclipse.elk.alg.disco",_X="org.eclipse.elk.alg.disco.graph",Sde="org.eclipse.elk.alg.disco.options",C9e="CompactionStrategy",E9e="org.eclipse.elk.disco.componentCompaction.strategy",S9e="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",A9e="org.eclipse.elk.disco.debug.discoGraph",R9e="org.eclipse.elk.disco.debug.discoPolys",vUt="componentCompaction",sw="org.eclipse.elk.disco",Ade="org.eclipse.elk.spacing.componentComponent",Rde="org.eclipse.elk.edge.thickness",r6="org.eclipse.elk.aspectRatio",aT="org.eclipse.elk.padding",IC="org.eclipse.elk.alg.disco.transform",Lde=1.5707963267948966,NC=17976931348623157e292,h3={3:1,4:1,5:1,198:1},wUt={3:1,6:1,4:1,5:1,100:1,115:1},Dde="org.eclipse.elk.alg.force",L9e="ComponentsProcessor",xUt="ComponentsProcessor/1",D9e="ElkGraphImporter/lambda$0$Type",X$="org.eclipse.elk.alg.force.graph",TUt="Component Layout",_9e="org.eclipse.elk.alg.force.model",MX="org.eclipse.elk.force.model",M9e="org.eclipse.elk.force.iterations",I9e="org.eclipse.elk.force.repulsivePower",_de="org.eclipse.elk.force.temperature",Y0=.001,Mde="org.eclipse.elk.force.repulsion",R9="org.eclipse.elk.alg.force.options",tR=1.600000023841858,Nu="org.eclipse.elk.force",Q$="org.eclipse.elk.priority",f3="org.eclipse.elk.spacing.nodeNode",Ide="org.eclipse.elk.spacing.edgeLabel",IX="org.eclipse.elk.randomSeed",L9="org.eclipse.elk.separateConnectedComponents",D9="org.eclipse.elk.interactive",Nde="org.eclipse.elk.portConstraints",NX="org.eclipse.elk.edgeLabels.inline",_9="org.eclipse.elk.omitNodeMicroLayout",rR="org.eclipse.elk.nodeSize.fixedGraphSize",n6="org.eclipse.elk.nodeSize.options",OC="org.eclipse.elk.nodeSize.constraints",nR="org.eclipse.elk.nodeLabels.placement",iR="org.eclipse.elk.portLabels.placement",J$="org.eclipse.elk.topdownLayout",Z$="org.eclipse.elk.topdown.scaleFactor",eG="org.eclipse.elk.topdown.hierarchicalNodeWidth",tG="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",sT="org.eclipse.elk.topdown.nodeType",N9e="origin",O9e="random",kUt="boundingBox.upLeft",CUt="boundingBox.lowRight",P9e="org.eclipse.elk.stress.fixed",B9e="org.eclipse.elk.stress.desiredEdgeLength",F9e="org.eclipse.elk.stress.dimension",$9e="org.eclipse.elk.stress.epsilon",G9e="org.eclipse.elk.stress.iterationLimit",yv="org.eclipse.elk.stress",EUt="ELK Stress",i6="org.eclipse.elk.nodeSize.minimum",OX="org.eclipse.elk.alg.force.stress",SUt="Layered layout",a6="org.eclipse.elk.alg.layered",rG="org.eclipse.elk.alg.layered.compaction.components",M9="org.eclipse.elk.alg.layered.compaction.oned",PX="org.eclipse.elk.alg.layered.compaction.oned.algs",ow="org.eclipse.elk.alg.layered.compaction.recthull",Jg="org.eclipse.elk.alg.layered.components",K0="NONE",j9e="MODEL_ORDER",Mc={3:1,6:1,4:1,9:1,5:1,126:1},AUt={3:1,6:1,4:1,5:1,150:1,100:1,115:1},BX="org.eclipse.elk.alg.layered.compound",Ca={47:1},Jc="org.eclipse.elk.alg.layered.graph",Ode=" -> ",RUt="Not supported by LGraph",z9e="Port side is undefined",Pde={3:1,6:1,4:1,5:1,483:1,150:1,100:1,115:1},Yy={3:1,6:1,4:1,5:1,150:1,199:1,210:1,100:1,115:1},LUt={3:1,6:1,4:1,5:1,150:1,2042:1,210:1,100:1,115:1},DUt=`([{"' \r +`,_Ut=`)]}"' \r +`,MUt="The given string contains parts that cannot be parsed as numbers.",nG="org.eclipse.elk.core.math",IUt={3:1,4:1,140:1,214:1,423:1},NUt={3:1,4:1,107:1,214:1,423:1},Ky="org.eclipse.elk.alg.layered.graph.transform",OUt="ElkGraphImporter",PUt="ElkGraphImporter/lambda$1$Type",BUt="ElkGraphImporter/lambda$2$Type",FUt="ElkGraphImporter/lambda$4$Type",cn="org.eclipse.elk.alg.layered.intermediate",$Ut="Node margin calculation",GUt="ONE_SIDED_GREEDY_SWITCH",jUt="TWO_SIDED_GREEDY_SWITCH",Bde="No implementation is available for the layout processor ",Fde="IntermediateProcessorStrategy",$de="Node '",zUt="FIRST_SEPARATE",UUt="LAST_SEPARATE",VUt="Odd port side processing",_s="org.eclipse.elk.alg.layered.intermediate.compaction",I9="org.eclipse.elk.alg.layered.intermediate.greedyswitch",qm="org.eclipse.elk.alg.layered.p3order.counting",iG={230:1},s6="org.eclipse.elk.alg.layered.intermediate.loops",Bf="org.eclipse.elk.alg.layered.intermediate.loops.ordering",bv="org.eclipse.elk.alg.layered.intermediate.loops.routing",U9e="org.eclipse.elk.alg.layered.intermediate.preserveorder",X0="org.eclipse.elk.alg.layered.intermediate.wrapping",Ic="org.eclipse.elk.alg.layered.options",Gde="INTERACTIVE",V9e="GREEDY",HUt="DEPTH_FIRST",qUt="EDGE_LENGTH",WUt="SELF_LOOPS",YUt="firstTryWithInitialOrder",H9e="org.eclipse.elk.layered.directionCongruency",q9e="org.eclipse.elk.layered.feedbackEdges",FX="org.eclipse.elk.layered.interactiveReferencePoint",W9e="org.eclipse.elk.layered.mergeEdges",Y9e="org.eclipse.elk.layered.mergeHierarchyEdges",K9e="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",X9e="org.eclipse.elk.layered.portSortingStrategy",Q9e="org.eclipse.elk.layered.thoroughness",J9e="org.eclipse.elk.layered.unnecessaryBendpoints",Z9e="org.eclipse.elk.layered.generatePositionAndLayerIds",jde="org.eclipse.elk.layered.cycleBreaking.strategy",aG="org.eclipse.elk.layered.layering.strategy",eIe="org.eclipse.elk.layered.layering.layerConstraint",tIe="org.eclipse.elk.layered.layering.layerChoiceConstraint",rIe="org.eclipse.elk.layered.layering.layerId",zde="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",Ude="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",Vde="org.eclipse.elk.layered.layering.nodePromotion.strategy",Hde="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",qde="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",N9="org.eclipse.elk.layered.crossingMinimization.strategy",nIe="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",Wde="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",Yde="org.eclipse.elk.layered.crossingMinimization.semiInteractive",iIe="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",aIe="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",sIe="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",oIe="org.eclipse.elk.layered.crossingMinimization.positionId",lIe="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",Kde="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",$X="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",PC="org.eclipse.elk.layered.nodePlacement.strategy",GX="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",Xde="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",Qde="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",Jde="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",Zde="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",epe="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",cIe="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",uIe="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",jX="org.eclipse.elk.layered.edgeRouting.splines.mode",zX="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",tpe="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",hIe="org.eclipse.elk.layered.spacing.baseValue",fIe="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",dIe="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",pIe="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",gIe="org.eclipse.elk.layered.priority.direction",mIe="org.eclipse.elk.layered.priority.shortness",yIe="org.eclipse.elk.layered.priority.straightness",rpe="org.eclipse.elk.layered.compaction.connectedComponents",bIe="org.eclipse.elk.layered.compaction.postCompaction.strategy",vIe="org.eclipse.elk.layered.compaction.postCompaction.constraints",UX="org.eclipse.elk.layered.highDegreeNodes.treatment",npe="org.eclipse.elk.layered.highDegreeNodes.threshold",ipe="org.eclipse.elk.layered.highDegreeNodes.treeHeight",V1="org.eclipse.elk.layered.wrapping.strategy",VX="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",HX="org.eclipse.elk.layered.wrapping.correctionFactor",O9="org.eclipse.elk.layered.wrapping.cutting.strategy",ape="org.eclipse.elk.layered.wrapping.cutting.cuts",spe="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",qX="org.eclipse.elk.layered.wrapping.validify.strategy",WX="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",YX="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",KX="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",ope="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",wIe="org.eclipse.elk.layered.edgeLabels.sideSelection",xIe="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",XX="org.eclipse.elk.layered.considerModelOrder.strategy",TIe="org.eclipse.elk.layered.considerModelOrder.portModelOrder",kIe="org.eclipse.elk.layered.considerModelOrder.noModelOrder",lpe="org.eclipse.elk.layered.considerModelOrder.components",CIe="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",cpe="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",upe="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",hpe="layering",KUt="layering.minWidth",XUt="layering.nodePromotion",aR="crossingMinimization",QX="org.eclipse.elk.hierarchyHandling",QUt="crossingMinimization.greedySwitch",JUt="nodePlacement",ZUt="nodePlacement.bk",eVt="edgeRouting",sG="org.eclipse.elk.edgeRouting",Zg="spacing",EIe="priority",SIe="compaction",tVt="compaction.postCompaction",rVt="Specifies whether and how post-process compaction is applied.",AIe="highDegreeNodes",RIe="wrapping",nVt="wrapping.cutting",iVt="wrapping.validify",LIe="wrapping.multiEdge",fpe="edgeLabels",P9="considerModelOrder",DIe="org.eclipse.elk.spacing.commentComment",_Ie="org.eclipse.elk.spacing.commentNode",MIe="org.eclipse.elk.spacing.edgeEdge",dpe="org.eclipse.elk.spacing.edgeNode",IIe="org.eclipse.elk.spacing.labelLabel",NIe="org.eclipse.elk.spacing.labelPortHorizontal",OIe="org.eclipse.elk.spacing.labelPortVertical",PIe="org.eclipse.elk.spacing.labelNode",BIe="org.eclipse.elk.spacing.nodeSelfLoop",FIe="org.eclipse.elk.spacing.portPort",$Ie="org.eclipse.elk.spacing.individual",GIe="org.eclipse.elk.port.borderOffset",jIe="org.eclipse.elk.noLayout",zIe="org.eclipse.elk.port.side",oG="org.eclipse.elk.debugMode",UIe="org.eclipse.elk.alignment",VIe="org.eclipse.elk.insideSelfLoops.activate",HIe="org.eclipse.elk.insideSelfLoops.yo",ppe="org.eclipse.elk.direction",qIe="org.eclipse.elk.nodeLabels.padding",WIe="org.eclipse.elk.portLabels.nextToPortIfPossible",YIe="org.eclipse.elk.portLabels.treatAsGroup",KIe="org.eclipse.elk.portAlignment.default",XIe="org.eclipse.elk.portAlignment.north",QIe="org.eclipse.elk.portAlignment.south",JIe="org.eclipse.elk.portAlignment.west",ZIe="org.eclipse.elk.portAlignment.east",JX="org.eclipse.elk.contentAlignment",eNe="org.eclipse.elk.junctionPoints",tNe="org.eclipse.elk.edgeLabels.placement",rNe="org.eclipse.elk.port.index",nNe="org.eclipse.elk.commentBox",iNe="org.eclipse.elk.hypernode",aNe="org.eclipse.elk.port.anchor",gpe="org.eclipse.elk.partitioning.activate",mpe="org.eclipse.elk.partitioning.partition",ZX="org.eclipse.elk.position",sNe="org.eclipse.elk.margins",oNe="org.eclipse.elk.spacing.portsSurrounding",eQ="org.eclipse.elk.interactiveLayout",mc="org.eclipse.elk.core.util",lNe={3:1,4:1,5:1,601:1},aVt="NETWORK_SIMPLEX",cNe="SIMPLE",ll={106:1,47:1},tQ="org.eclipse.elk.alg.layered.p1cycles",H1="org.eclipse.elk.alg.layered.p2layers",uNe={413:1,230:1},sVt={846:1,3:1,4:1},gh="org.eclipse.elk.alg.layered.p3order",cl="org.eclipse.elk.alg.layered.p4nodes",oVt={3:1,4:1,5:1,854:1},Q0=1e-5,vv="org.eclipse.elk.alg.layered.p4nodes.bk",ype="org.eclipse.elk.alg.layered.p5edges",yg="org.eclipse.elk.alg.layered.p5edges.orthogonal",bpe="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",vpe=1e-6,d3="org.eclipse.elk.alg.layered.p5edges.splines",wpe=.09999999999999998,rQ=1e-8,lVt=4.71238898038469,hNe=3.141592653589793,q1="org.eclipse.elk.alg.mrtree",xpe=.10000000149011612,nQ="SUPER_ROOT",B9="org.eclipse.elk.alg.mrtree.graph",fNe=-17976931348623157e292,Zc="org.eclipse.elk.alg.mrtree.intermediate",cVt="Processor compute fanout",iQ={3:1,6:1,4:1,5:1,534:1,100:1,115:1},uVt="Set neighbors in level",lG="org.eclipse.elk.alg.mrtree.options",hVt="DESCENDANTS",dNe="org.eclipse.elk.mrtree.compaction",pNe="org.eclipse.elk.mrtree.edgeEndTextureLength",gNe="org.eclipse.elk.mrtree.treeLevel",mNe="org.eclipse.elk.mrtree.positionConstraint",yNe="org.eclipse.elk.mrtree.weighting",bNe="org.eclipse.elk.mrtree.edgeRoutingMode",vNe="org.eclipse.elk.mrtree.searchOrder",fVt="Position Constraint",Ou="org.eclipse.elk.mrtree",dVt="org.eclipse.elk.tree",pVt="Processor arrange level",sR="org.eclipse.elk.alg.mrtree.p2order",yf="org.eclipse.elk.alg.mrtree.p4route",wNe="org.eclipse.elk.alg.radial",lw=6.283185307179586,xNe="Before",TNe=5e-324,aQ="After",kNe="org.eclipse.elk.alg.radial.intermediate",gVt="COMPACTION",Tpe="org.eclipse.elk.alg.radial.intermediate.compaction",mVt={3:1,4:1,5:1,100:1},CNe="org.eclipse.elk.alg.radial.intermediate.optimization",kpe="No implementation is available for the layout option ",F9="org.eclipse.elk.alg.radial.options",ENe="org.eclipse.elk.radial.centerOnRoot",SNe="org.eclipse.elk.radial.orderId",ANe="org.eclipse.elk.radial.radius",sQ="org.eclipse.elk.radial.rotate",Cpe="org.eclipse.elk.radial.compactor",Epe="org.eclipse.elk.radial.compactionStepSize",RNe="org.eclipse.elk.radial.sorter",LNe="org.eclipse.elk.radial.wedgeCriteria",DNe="org.eclipse.elk.radial.optimizationCriteria",Spe="org.eclipse.elk.radial.rotation.targetAngle",Ape="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",_Ne="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",yVt="Compaction",MNe="rotation",vd="org.eclipse.elk.radial",bVt="org.eclipse.elk.alg.radial.p1position.wedge",INe="org.eclipse.elk.alg.radial.sorting",vVt=5.497787143782138,wVt=3.9269908169872414,xVt=2.356194490192345,TVt="org.eclipse.elk.alg.rectpacking",oQ="org.eclipse.elk.alg.rectpacking.intermediate",Rpe="org.eclipse.elk.alg.rectpacking.options",NNe="org.eclipse.elk.rectpacking.trybox",ONe="org.eclipse.elk.rectpacking.currentPosition",PNe="org.eclipse.elk.rectpacking.desiredPosition",BNe="org.eclipse.elk.rectpacking.inNewRow",FNe="org.eclipse.elk.rectpacking.widthApproximation.strategy",$Ne="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",GNe="org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal",jNe="org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift",zNe="org.eclipse.elk.rectpacking.packing.strategy",UNe="org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation",VNe="org.eclipse.elk.rectpacking.packing.compaction.iterations",HNe="org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy",Lpe="widthApproximation",kVt="Compaction Strategy",CVt="packing.compaction",Jh="org.eclipse.elk.rectpacking",oR="org.eclipse.elk.alg.rectpacking.p1widthapproximation",lQ="org.eclipse.elk.alg.rectpacking.p2packing",EVt="No Compaction",qNe="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",cG="org.eclipse.elk.alg.rectpacking.util",cQ="No implementation available for ",p3="org.eclipse.elk.alg.spore",g3="org.eclipse.elk.alg.spore.options",oT="org.eclipse.elk.sporeCompaction",Dpe="org.eclipse.elk.underlyingLayoutAlgorithm",WNe="org.eclipse.elk.processingOrder.treeConstruction",YNe="org.eclipse.elk.processingOrder.spanningTreeCostFunction",_pe="org.eclipse.elk.processingOrder.preferredRoot",Mpe="org.eclipse.elk.processingOrder.rootSelection",Ipe="org.eclipse.elk.structure.structureExtractionStrategy",KNe="org.eclipse.elk.compaction.compactionStrategy",XNe="org.eclipse.elk.compaction.orthogonal",QNe="org.eclipse.elk.overlapRemoval.maxIterations",JNe="org.eclipse.elk.overlapRemoval.runScanline",Npe="processingOrder",SVt="overlapRemoval",lR="org.eclipse.elk.sporeOverlap",AVt="org.eclipse.elk.alg.spore.p1structure",Ope="org.eclipse.elk.alg.spore.p2processingorder",Ppe="org.eclipse.elk.alg.spore.p3execution",RVt="Topdown Layout",LVt="Invalid index: ",cR="org.eclipse.elk.core.alg",BC={341:1},m3={295:1},DVt="Make sure its type is registered with the ",ZNe=" utility class.",uR="true",Bpe="false",_Vt="Couldn't clone property '",lT=.05,Zh="org.eclipse.elk.core.options",MVt=1.2999999523162842,cT="org.eclipse.elk.box",eOe="org.eclipse.elk.expandNodes",tOe="org.eclipse.elk.box.packingMode",IVt="org.eclipse.elk.algorithm",NVt="org.eclipse.elk.resolvedAlgorithm",rOe="org.eclipse.elk.bendPoints",OVt="org.eclipse.elk.labelManager",PVt="org.eclipse.elk.scaleFactor",BVt="org.eclipse.elk.childAreaWidth",FVt="org.eclipse.elk.childAreaHeight",$Vt="org.eclipse.elk.animate",GVt="org.eclipse.elk.animTimeFactor",jVt="org.eclipse.elk.layoutAncestors",zVt="org.eclipse.elk.maxAnimTime",UVt="org.eclipse.elk.minAnimTime",VVt="org.eclipse.elk.progressBar",HVt="org.eclipse.elk.validateGraph",qVt="org.eclipse.elk.validateOptions",WVt="org.eclipse.elk.zoomToFit",YVt="org.eclipse.elk.font.name",KVt="org.eclipse.elk.font.size",nOe="org.eclipse.elk.topdown.sizeApproximator",iOe="org.eclipse.elk.topdown.scaleCap",XVt="org.eclipse.elk.edge.type",QVt="partitioning",JVt="nodeLabels",uQ="portAlignment",Fpe="nodeSize",$pe="port",aOe="portLabels",uG="topdown",ZVt="insideSelfLoops",$9="org.eclipse.elk.fixed",hQ="org.eclipse.elk.random",sOe={3:1,34:1,22:1,347:1},eHt="port must have a parent node to calculate the port side",tHt="The edge needs to have exactly one edge section. Found: ",G9="org.eclipse.elk.core.util.adapters",wd="org.eclipse.emf.ecore",FC="org.eclipse.elk.graph",rHt="EMapPropertyHolder",nHt="ElkBendPoint",iHt="ElkGraphElement",aHt="ElkConnectableShape",oOe="ElkEdge",sHt="ElkEdgeSection",oHt="EModelElement",lHt="ENamedElement",lOe="ElkLabel",cOe="ElkNode",uOe="ElkPort",cHt={94:1,93:1},o6="org.eclipse.emf.common.notify.impl",wv="The feature '",j9="' is not a valid changeable feature",uHt="Expecting null",Gpe="' is not a valid feature",hHt="The feature ID",fHt=" is not a valid feature ID",Ec=32768,dHt={110:1,94:1,93:1,58:1,54:1,99:1},Wr="org.eclipse.emf.ecore.impl",cw="org.eclipse.elk.graph.impl",z9="Recursive containment not allowed for ",hR="The datatype '",uT="' is not a valid classifier",jpe="The value '",$C={195:1,3:1,4:1},zpe="The class '",fR="http://www.eclipse.org/elk/ElkGraph",hOe="property",U9="value",Upe="source",pHt="properties",gHt="identifier",Vpe="height",Hpe="width",qpe="parent",Wpe="text",Ype="children",mHt="hierarchical",fOe="sources",Kpe="targets",dOe="sections",fQ="bendPoints",pOe="outgoingShape",gOe="incomingShape",mOe="outgoingSections",yOe="incomingSections",qo="org.eclipse.emf.common.util",bOe="Severe implementation error in the Json to ElkGraph importer.",J0="id",Ao="org.eclipse.elk.graph.json",vOe="Unhandled parameter types: ",yHt="startPoint",bHt="An edge must have at least one source and one target (edge id: '",dR="').",vHt="Referenced edge section does not exist: ",wHt=" (edge id: '",wOe="target",xHt="sourcePoint",THt="targetPoint",dQ="group",Vi="name",kHt="connectableShape cannot be null",CHt="edge cannot be null",Xpe="Passed edge is not 'simple'.",pQ="org.eclipse.elk.graph.util",hG="The 'no duplicates' constraint is violated",Qpe="targetIndex=",uw=", size=",Jpe="sourceIndex=",Z0={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1},Zpe={3:1,4:1,20:1,31:1,56:1,16:1,51:1,15:1,59:1,70:1,66:1,61:1,596:1},gQ="logging",EHt="measureExecutionTime",SHt="parser.parse.1",AHt="parser.parse.2",mQ="parser.next.1",ege="parser.next.2",RHt="parser.next.3",LHt="parser.next.4",hw="parser.factor.1",xOe="parser.factor.2",DHt="parser.factor.3",_Ht="parser.factor.4",MHt="parser.factor.5",IHt="parser.factor.6",NHt="parser.atom.1",OHt="parser.atom.2",PHt="parser.atom.3",TOe="parser.atom.4",tge="parser.atom.5",kOe="parser.cc.1",yQ="parser.cc.2",BHt="parser.cc.3",FHt="parser.cc.5",COe="parser.cc.6",EOe="parser.cc.7",rge="parser.cc.8",$Ht="parser.ope.1",GHt="parser.ope.2",jHt="parser.ope.3",Xy="parser.descape.1",zHt="parser.descape.2",UHt="parser.descape.3",VHt="parser.descape.4",HHt="parser.descape.5",xd="parser.process.1",qHt="parser.quantifier.1",WHt="parser.quantifier.2",YHt="parser.quantifier.3",KHt="parser.quantifier.4",SOe="parser.quantifier.5",XHt="org.eclipse.emf.common.notify",AOe={424:1,686:1},QHt={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1},fG={378:1,152:1},V9="index=",nge={3:1,4:1,5:1,129:1},JHt={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,61:1},ROe={3:1,6:1,4:1,5:1,198:1},ZHt={3:1,4:1,5:1,173:1,379:1},eqt=";/?:@&=+$,",tqt="invalid authority: ",rqt="EAnnotation",nqt="ETypedElement",iqt="EStructuralFeature",aqt="EAttribute",sqt="EClassifier",oqt="EEnumLiteral",lqt="EGenericType",cqt="EOperation",uqt="EParameter",hqt="EReference",fqt="ETypeParameter",Ma="org.eclipse.emf.ecore.util",ige={79:1},LOe={3:1,20:1,16:1,15:1,61:1,597:1,79:1,71:1,97:1},dqt="org.eclipse.emf.ecore.util.FeatureMap$Entry",mh=8192,y3=2048,H9="byte",bQ="char",q9="double",W9="float",Y9="int",K9="long",X9="short",pqt="java.lang.Object",GC={3:1,4:1,5:1,254:1},DOe={3:1,4:1,5:1,688:1},gqt={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,71:1},ql={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,71:1,97:1},dG="mixed",Ci="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",Xd="kind",mqt={3:1,4:1,5:1,689:1},_Oe={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1,79:1,71:1,97:1},vQ={20:1,31:1,56:1,16:1,15:1,61:1,71:1},wQ={51:1,128:1,287:1},xQ={76:1,343:1},TQ="The value of type '",kQ="' must be of type '",jC=1352,Qd="http://www.eclipse.org/emf/2002/Ecore",CQ=-32768,hT="constraints",Oo="baseType",yqt="getEStructuralFeature",bqt="getFeatureID",Q9="feature",vqt="getOperationID",MOe="operation",wqt="defaultValue",xqt="eTypeParameters",Tqt="isInstance",kqt="getEEnumLiteral",Cqt="eContainingClass",Fi={57:1},Eqt={3:1,4:1,5:1,124:1},Sqt="org.eclipse.emf.ecore.resource",Aqt={94:1,93:1,599:1,2034:1},age="org.eclipse.emf.ecore.resource.impl",IOe="unspecified",pG="simple",EQ="attribute",Rqt="attributeWildcard",SQ="element",sge="elementWildcard",bg="collapse",oge="itemType",AQ="namespace",gG="##targetNamespace",Jd="whiteSpace",NOe="wildcards",fw="http://www.eclipse.org/emf/2003/XMLType",lge="##any",pR="uninitialized",mG="The multiplicity constraint is violated",RQ="org.eclipse.emf.ecore.xml.type",Lqt="ProcessingInstruction",Dqt="SimpleAnyType",_qt="XMLTypeDocumentRoot",Cs="org.eclipse.emf.ecore.xml.type.impl",yG="INF",Mqt="processing",Iqt="ENTITIES_._base",OOe="minLength",POe="ENTITY",LQ="NCName",Nqt="IDREFS_._base",BOe="integer",cge="token",uge="pattern",Oqt="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",FOe="\\i\\c*",Pqt="[\\i-[:]][\\c-[:]]*",Bqt="nonPositiveInteger",bG="maxInclusive",$Oe="NMTOKEN",Fqt="NMTOKENS_._base",GOe="nonNegativeInteger",vG="minInclusive",$qt="normalizedString",Gqt="unsignedByte",jqt="unsignedInt",zqt="18446744073709551615",Uqt="unsignedShort",Vqt="processingInstruction",Qy="org.eclipse.emf.ecore.xml.type.internal",gR=1114111,Hqt="Internal Error: shorthands: \\u",J9="xml:isDigit",hge="xml:isWord",fge="xml:isSpace",dge="xml:isNameChar",pge="xml:isInitialNameChar",qqt="09\u0660\u0669\u06F0\u06F9\u0966\u096F\u09E6\u09EF\u0A66\u0A6F\u0AE6\u0AEF\u0B66\u0B6F\u0BE7\u0BEF\u0C66\u0C6F\u0CE6\u0CEF\u0D66\u0D6F\u0E50\u0E59\u0ED0\u0ED9\u0F20\u0F29",Wqt="AZaz\xC0\xD6\xD8\xF6\xF8\u0131\u0134\u013E\u0141\u0148\u014A\u017E\u0180\u01C3\u01CD\u01F0\u01F4\u01F5\u01FA\u0217\u0250\u02A8\u02BB\u02C1\u0386\u0386\u0388\u038A\u038C\u038C\u038E\u03A1\u03A3\u03CE\u03D0\u03D6\u03DA\u03DA\u03DC\u03DC\u03DE\u03DE\u03E0\u03E0\u03E2\u03F3\u0401\u040C\u040E\u044F\u0451\u045C\u045E\u0481\u0490\u04C4\u04C7\u04C8\u04CB\u04CC\u04D0\u04EB\u04EE\u04F5\u04F8\u04F9\u0531\u0556\u0559\u0559\u0561\u0586\u05D0\u05EA\u05F0\u05F2\u0621\u063A\u0641\u064A\u0671\u06B7\u06BA\u06BE\u06C0\u06CE\u06D0\u06D3\u06D5\u06D5\u06E5\u06E6\u0905\u0939\u093D\u093D\u0958\u0961\u0985\u098C\u098F\u0990\u0993\u09A8\u09AA\u09B0\u09B2\u09B2\u09B6\u09B9\u09DC\u09DD\u09DF\u09E1\u09F0\u09F1\u0A05\u0A0A\u0A0F\u0A10\u0A13\u0A28\u0A2A\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59\u0A5C\u0A5E\u0A5E\u0A72\u0A74\u0A85\u0A8B\u0A8D\u0A8D\u0A8F\u0A91\u0A93\u0AA8\u0AAA\u0AB0\u0AB2\u0AB3\u0AB5\u0AB9\u0ABD\u0ABD\u0AE0\u0AE0\u0B05\u0B0C\u0B0F\u0B10\u0B13\u0B28\u0B2A\u0B30\u0B32\u0B33\u0B36\u0B39\u0B3D\u0B3D\u0B5C\u0B5D\u0B5F\u0B61\u0B85\u0B8A\u0B8E\u0B90\u0B92\u0B95\u0B99\u0B9A\u0B9C\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8\u0BAA\u0BAE\u0BB5\u0BB7\u0BB9\u0C05\u0C0C\u0C0E\u0C10\u0C12\u0C28\u0C2A\u0C33\u0C35\u0C39\u0C60\u0C61\u0C85\u0C8C\u0C8E\u0C90\u0C92\u0CA8\u0CAA\u0CB3\u0CB5\u0CB9\u0CDE\u0CDE\u0CE0\u0CE1\u0D05\u0D0C\u0D0E\u0D10\u0D12\u0D28\u0D2A\u0D39\u0D60\u0D61\u0E01\u0E2E\u0E30\u0E30\u0E32\u0E33\u0E40\u0E45\u0E81\u0E82\u0E84\u0E84\u0E87\u0E88\u0E8A\u0E8A\u0E8D\u0E8D\u0E94\u0E97\u0E99\u0E9F\u0EA1\u0EA3\u0EA5\u0EA5\u0EA7\u0EA7\u0EAA\u0EAB\u0EAD\u0EAE\u0EB0\u0EB0\u0EB2\u0EB3\u0EBD\u0EBD\u0EC0\u0EC4\u0F40\u0F47\u0F49\u0F69\u10A0\u10C5\u10D0\u10F6\u1100\u1100\u1102\u1103\u1105\u1107\u1109\u1109\u110B\u110C\u110E\u1112\u113C\u113C\u113E\u113E\u1140\u1140\u114C\u114C\u114E\u114E\u1150\u1150\u1154\u1155\u1159\u1159\u115F\u1161\u1163\u1163\u1165\u1165\u1167\u1167\u1169\u1169\u116D\u116E\u1172\u1173\u1175\u1175\u119E\u119E\u11A8\u11A8\u11AB\u11AB\u11AE\u11AF\u11B7\u11B8\u11BA\u11BA\u11BC\u11C2\u11EB\u11EB\u11F0\u11F0\u11F9\u11F9\u1E00\u1E9B\u1EA0\u1EF9\u1F00\u1F15\u1F18\u1F1D\u1F20\u1F45\u1F48\u1F4D\u1F50\u1F57\u1F59\u1F59\u1F5B\u1F5B\u1F5D\u1F5D\u1F5F\u1F7D\u1F80\u1FB4\u1FB6\u1FBC\u1FBE\u1FBE\u1FC2\u1FC4\u1FC6\u1FCC\u1FD0\u1FD3\u1FD6\u1FDB\u1FE0\u1FEC\u1FF2\u1FF4\u1FF6\u1FFC\u2126\u2126\u212A\u212B\u212E\u212E\u2180\u2182\u3007\u3007\u3021\u3029\u3041\u3094\u30A1\u30FA\u3105\u312C\u4E00\u9FA5\uAC00\uD7A3",Yqt="Private Use",gge="ASSIGNED",mge="\0\x7F\x80\xFF\u0100\u017F\u0180\u024F\u0250\u02AF\u02B0\u02FF\u0300\u036F\u0370\u03FF\u0400\u04FF\u0530\u058F\u0590\u05FF\u0600\u06FF\u0700\u074F\u0780\u07BF\u0900\u097F\u0980\u09FF\u0A00\u0A7F\u0A80\u0AFF\u0B00\u0B7F\u0B80\u0BFF\u0C00\u0C7F\u0C80\u0CFF\u0D00\u0D7F\u0D80\u0DFF\u0E00\u0E7F\u0E80\u0EFF\u0F00\u0FFF\u1000\u109F\u10A0\u10FF\u1100\u11FF\u1200\u137F\u13A0\u13FF\u1400\u167F\u1680\u169F\u16A0\u16FF\u1780\u17FF\u1800\u18AF\u1E00\u1EFF\u1F00\u1FFF\u2000\u206F\u2070\u209F\u20A0\u20CF\u20D0\u20FF\u2100\u214F\u2150\u218F\u2190\u21FF\u2200\u22FF\u2300\u23FF\u2400\u243F\u2440\u245F\u2460\u24FF\u2500\u257F\u2580\u259F\u25A0\u25FF\u2600\u26FF\u2700\u27BF\u2800\u28FF\u2E80\u2EFF\u2F00\u2FDF\u2FF0\u2FFF\u3000\u303F\u3040\u309F\u30A0\u30FF\u3100\u312F\u3130\u318F\u3190\u319F\u31A0\u31BF\u3200\u32FF\u3300\u33FF\u3400\u4DB5\u4E00\u9FFF\uA000\uA48F\uA490\uA4CF\uAC00\uD7A3\uE000\uF8FF\uF900\uFAFF\uFB00\uFB4F\uFB50\uFDFF\uFE20\uFE2F\uFE30\uFE4F\uFE50\uFE6F\uFE70\uFEFE\uFEFF\uFEFF\uFF00\uFFEF",jOe="UNASSIGNED",mR={3:1,122:1},Kqt="org.eclipse.emf.ecore.xml.type.util",DQ={3:1,4:1,5:1,381:1},zOe="org.eclipse.xtext.xbase.lib",Xqt="Cannot add elements to a Range",Qqt="Cannot set elements in a Range",Jqt="Cannot remove elements from a Range",Zqt="user.agent",w,_Q,yge,wEn=-1;p.goog=p.goog||{},p.goog.global=p.goog.global||p,_Q={},$(1,null,{},E),w.Fb=i(function(n){return XSt(this,n)},"ob"),w.Gb=i(function(){return this.Rm},"qb"),w.Hb=i(function(){return xx(this)},"sb"),w.Ib=i(function(){var n;return _2(gf(this))+"@"+(n=ka(this)>>>0,n.toString(16))},"ub"),w.equals=function(e){return this.Fb(e)},w.hashCode=function(){return this.Hb()},w.toString=function(){return this.Ib()};var eWt,tWt,rWt;$(297,1,{297:1,2124:1},PRe),w.ve=i(function(n){var s;return s=new PRe,s.i=4,n>1?s.c=bRt(this,n-1):s.c=this,s},"qfb"),w.we=i(function(){return C1(this),this.b},"wfb"),w.xe=i(function(){return _2(this)},"yfb"),w.ye=i(function(){return C1(this),this.k},"Afb"),w.ze=i(function(){return(this.i&4)!=0},"Cfb"),w.Ae=i(function(){return(this.i&1)!=0},"Dfb"),w.Ib=i(function(){return W7e(this)},"Gfb"),w.i=0;var xEn=1,Hs=j(gc,"Object",1),UOe=j(gc,"Class",297);$(2096,1,B$);var C2i=j(F$,"Optional",2096);$(1191,2096,B$,S),w.Fb=i(function(n){return n===this},"yb"),w.Hb=i(function(){return 2040732332},"zb"),w.Ib=i(function(){return"Optional.absent()"},"Ab"),w.Jb=i(function(n){return li(n),C_(),bge},"Bb");var bge,E2i=j(F$,"Absent",1191);$(636,1,{},Zse);var S2i=j(F$,"Joiner",636),TEn=Va(F$,"Predicate");$(589,1,{178:1,589:1,3:1,46:1},Ewt),w.Mb=i(function(n){return bIt(this,n)},"ac"),w.Lb=i(function(n){return bIt(this,n)},"Zb"),w.Fb=i(function(n){var s;return $e(n,589)?(s=y(n,589),I_e(this.a,s.a)):!1},"$b"),w.Hb=i(function(){return zRe(this.a)+306654252},"_b"),w.Ib=i(function(){return lyn(this.a)},"bc");var A2i=j(F$,"Predicates/AndPredicate",589);$(419,2096,{419:1,3:1},ZH),w.Fb=i(function(n){var s;return $e(n,419)?(s=y(n,419),Ji(this.a,s.a)):!1},"dc"),w.Hb=i(function(){return 1502476572+ka(this.a)},"ec"),w.Ib=i(function(){return Szt+this.a+")"},"fc"),w.Jb=i(function(n){return new ZH(ZW(n.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},"gc");var R2i=j(F$,"Present",419);$(204,1,H7),w.Nb=i(function(n){Co(this,n)},"kc"),w.Qb=i(function(){$4t()},"lc");var L2i=j(br,"UnmodifiableIterator",204);$(2076,204,q7),w.Qb=i(function(){$4t()},"nc"),w.Rb=i(function(n){throw me(new ui)},"mc"),w.Wb=i(function(n){throw me(new ui)},"oc");var D2i=j(br,"UnmodifiableListIterator",2076);$(399,2076,q7),w.Ob=i(function(){return this.c0},"sc"),w.Pb=i(function(){if(this.c>=this.d)throw me(new Zl);return this.Xb(this.c++)},"tc"),w.Tb=i(function(){return this.c},"uc"),w.Ub=i(function(){if(this.c<=0)throw me(new Zl);return this.Xb(--this.c)},"vc"),w.Vb=i(function(){return this.c-1},"wc"),w.c=0,w.d=0;var _2i=j(br,"AbstractIndexedListIterator",399);$(713,204,H7),w.Ob=i(function(){return tue(this)},"Ac"),w.Pb=i(function(){return j7e(this)},"Bc"),w.e=1;var M2i=j(br,"AbstractIterator",713);$(2084,1,{229:1}),w.Zb=i(function(){var n;return n=this.f,n||(this.f=this.ac())},"Hc"),w.Fb=i(function(n){return kue(this,n)},"Ic"),w.Hb=i(function(){return ka(this.Zb())},"Jc"),w.dc=i(function(){return this.gc()==0},"Kc"),w.ec=i(function(){return y5(this)},"Lc"),w.Ib=i(function(){return Hl(this.Zb())},"Mc");var I2i=j(br,"AbstractMultimap",2084);$(742,2084,rw),w.$b=i(function(){UY(this)},"Xc"),w._b=i(function(n){return iCt(this,n)},"Yc"),w.ac=i(function(){return new w8(this,this.c)},"Zc"),w.ic=i(function(n){return this.hc()},"$c"),w.bc=i(function(){return new rC(this,this.c)},"_c"),w.jc=i(function(){return this.mc(this.hc())},"ad"),w.kc=i(function(){return new k4t(this)},"bd"),w.lc=i(function(){return Mhe(this.c.vc().Nc(),new L,64,this.d)},"cd"),w.cc=i(function(n){return ta(this,n)},"dd"),w.fc=i(function(n){return XF(this,n)},"gd"),w.gc=i(function(){return this.d},"hd"),w.mc=i(function(n){return Dr(),new o8(n)},"jd"),w.nc=i(function(){return new T4t(this)},"kd"),w.oc=i(function(){return Mhe(this.c.Cc().Nc(),new R,64,this.d)},"ld"),w.pc=i(function(n,s){return new xY(this,n,s,null)},"md"),w.d=0;var N2i=j(br,"AbstractMapBasedMultimap",742);$(1696,742,rw),w.hc=i(function(){return new pu(this.a)},"pd"),w.jc=i(function(){return Dr(),Dr(),Po},"qd"),w.cc=i(function(n){return y(ta(this,n),15)},"sd"),w.fc=i(function(n){return y(XF(this,n),15)},"ud"),w.Zb=i(function(){return k5(this)},"od"),w.Fb=i(function(n){return kue(this,n)},"rd"),w.qc=i(function(n){return y(ta(this,n),15)},"td"),w.rc=i(function(n){return y(XF(this,n),15)},"vd"),w.mc=i(function(n){return ice(y(n,15))},"wd"),w.pc=i(function(n,s){return ELt(this,n,y(s,15),null)},"xd");var O2i=j(br,"AbstractListMultimap",1696);$(748,1,lo),w.Nb=i(function(n){Co(this,n)},"zd"),w.Ob=i(function(){return this.c.Ob()||this.e.Ob()},"Ad"),w.Pb=i(function(){var n;return this.e.Ob()||(n=y(this.c.Pb(),44),this.b=n.ld(),this.a=y(n.md(),16),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},"Bd"),w.Qb=i(function(){this.e.Qb(),y(Ud(this.a),16).dc()&&this.c.Qb(),--this.d.d},"Cd");var P2i=j(br,"AbstractMapBasedMultimap/Itr",748);$(1129,748,lo,T4t),w.sc=i(function(n,s){return s},"Ed");var B2i=j(br,"AbstractMapBasedMultimap/1",1129);$(1130,1,{},R),w.Kb=i(function(n){return y(n,16).Nc()},"Gd");var F2i=j(br,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1130);$(1131,748,lo,k4t),w.sc=i(function(n,s){return new dx(n,s)},"Id");var $2i=j(br,"AbstractMapBasedMultimap/2",1131),VOe=Va(Fn,"Map");$(2065,1,nT),w.wc=i(function(n){NM(this,n)},"Td"),w.yc=i(function(n,s,u){return zue(this,n,s,u)},"$d"),w.$b=i(function(){this.vc().$b()},"Od"),w.tc=i(function(n){return phe(this,n)},"Pd"),w._b=i(function(n){return!!_De(this,n,!1)},"Qd"),w.uc=i(function(n){var s,u,d;for(u=this.vc().Kc();u.Ob();)if(s=y(u.Pb(),44),d=s.md(),Ze(n)===Ze(d)||n!=null&&Ji(n,d))return!0;return!1},"Rd"),w.Fb=i(function(n){var s,u,d;if(n===this)return!0;if(!$e(n,85)||(d=y(n,85),this.gc()!=d.gc()))return!1;for(u=d.vc().Kc();u.Ob();)if(s=y(u.Pb(),44),!this.tc(s))return!1;return!0},"Sd"),w.xc=i(function(n){return Il(_De(this,n,!1))},"Ud"),w.Hb=i(function(){return MRe(this.vc())},"Xd"),w.dc=i(function(){return this.gc()==0},"Yd"),w.ec=i(function(){return new A2(this)},"Zd"),w.zc=i(function(n,s){throw me(new wy("Put not supported on this map"))},"_d"),w.Ac=i(function(n){IM(this,n)},"ae"),w.Bc=i(function(n){return Il(_De(this,n,!0))},"be"),w.gc=i(function(){return this.vc().gc()},"ce"),w.Ib=i(function(){return DPt(this)},"de"),w.Cc=i(function(){return new w1(this)},"ee");var G2i=j(Fn,"AbstractMap",2065);$(2085,2065,nT),w.bc=i(function(){return new xq(this)},"ge"),w.vc=i(function(){return x8t(this)},"he"),w.ec=i(function(){var n;return n=this.g,n||(this.g=this.bc())},"ie"),w.Cc=i(function(){var n;return n=this.i,n||(this.i=new YCt(this))},"je");var j2i=j(br,"Maps/ViewCachingAbstractMap",2085);$(402,2085,nT,w8),w.xc=i(function(n){return Acn(this,n)},"se"),w.Bc=i(function(n){return Xhn(this,n)},"ve"),w.$b=i(function(){this.d==this.e.c?this.e.$b():DW(new VAe(this))},"oe"),w._b=i(function(n){return rNt(this.d,n)},"pe"),w.Ec=i(function(){return new Swt(this)},"qe"),w.Dc=function(){return this.Ec()},w.Fb=i(function(n){return this===n||Ji(this.d,n)},"re"),w.Hb=i(function(){return ka(this.d)},"te"),w.ec=i(function(){return this.e.ec()},"ue"),w.gc=i(function(){return this.d.gc()},"we"),w.Ib=i(function(){return Hl(this.d)},"xe");var z2i=j(br,"AbstractMapBasedMultimap/AsMap",402),Ff=Va(gc,"Iterable");$(31,1,l3),w.Jc=i(function(n){So(this,n)},"Le"),w.Lc=i(function(){return this.Oc()},"Ne"),w.Nc=i(function(){return new Ar(this,0)},"Pe"),w.Oc=i(function(){return new Tr(null,this.Nc())},"Qe"),w.Fc=i(function(n){throw me(new wy("Add not supported on this collection"))},"Ge"),w.Gc=i(function(n){return xo(this,n)},"He"),w.$b=i(function(){D8e(this)},"Ie"),w.Hc=i(function(n){return Yk(this,n,!1)},"Je"),w.Ic=i(function(n){return zF(this,n)},"Ke"),w.dc=i(function(){return this.gc()==0},"Me"),w.Mc=i(function(n){return Yk(this,n,!0)},"Oe"),w.Pc=i(function(){return e8e(this)},"Re"),w.Qc=i(function(n){return JM(this,n)},"Se"),w.Ib=i(function(){return hv(this)},"Te");var U2i=j(Fn,"AbstractCollection",31),Zd=Va(Fn,"Set");$(Xg,31,ph),w.Nc=i(function(){return new Ar(this,1)},"Ye"),w.Fb=i(function(n){return WNt(this,n)},"We"),w.Hb=i(function(){return MRe(this)},"Xe");var V2i=j(Fn,"AbstractSet",Xg);$(2068,Xg,ph);var H2i=j(br,"Sets/ImprovedAbstractSet",2068);$(2069,2068,ph),w.$b=i(function(){this.Rc().$b()},"$e"),w.Hc=i(function(n){return _Nt(this,n)},"_e"),w.dc=i(function(){return this.Rc().dc()},"af"),w.Mc=i(function(n){var s;return this.Hc(n)&&$e(n,44)?(s=y(n,44),this.Rc().ec().Mc(s.ld())):!1},"bf"),w.gc=i(function(){return this.Rc().gc()},"cf");var q2i=j(br,"Maps/EntrySet",2069);$(1127,2069,ph,Swt),w.Hc=i(function(n){return aLe(this.a.d.vc(),n)},"ef"),w.Kc=i(function(){return new VAe(this.a)},"ff"),w.Rc=i(function(){return this.a},"gf"),w.Mc=i(function(n){var s;return aLe(this.a.d.vc(),n)?(s=y(Ud(y(n,44)),44),gln(this.a.e,s.ld()),!0):!1},"hf"),w.Nc=i(function(){return ZB(this.a.d.vc().Nc(),new Awt(this.a))},"jf");var W2i=j(br,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1127);$(1128,1,{},Awt),w.Kb=i(function(n){return kDt(this.a,y(n,44))},"lf");var Y2i=j(br,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1128);$(746,1,lo,VAe),w.Nb=i(function(n){Co(this,n)},"nf"),w.Pb=i(function(){var n;return n=y(this.b.Pb(),44),this.a=y(n.md(),16),kDt(this.c,n)},"pf"),w.Ob=i(function(){return this.b.Ob()},"of"),w.Qb=i(function(){L8(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},"qf");var K2i=j(br,"AbstractMapBasedMultimap/AsMap/AsMapIterator",746);$(542,2068,ph,xq),w.$b=i(function(){this.b.$b()},"sf"),w.Hc=i(function(n){return this.b._b(n)},"tf"),w.Jc=i(function(n){li(n),this.b.wc(new Vwt(n))},"uf"),w.dc=i(function(){return this.b.dc()},"vf"),w.Kc=i(function(){return new E_(this.b.vc().Kc())},"wf"),w.Mc=i(function(n){return this.b._b(n)?(this.b.Bc(n),!0):!1},"xf"),w.gc=i(function(){return this.b.gc()},"yf");var X2i=j(br,"Maps/KeySet",542);$(327,542,ph,rC),w.$b=i(function(){var n;DW((n=this.b.vc().Kc(),new p5e(this,n)))},"Af"),w.Ic=i(function(n){return this.b.ec().Ic(n)},"Bf"),w.Fb=i(function(n){return this===n||Ji(this.b.ec(),n)},"Cf"),w.Hb=i(function(){return ka(this.b.ec())},"Df"),w.Kc=i(function(){var n;return n=this.b.vc().Kc(),new p5e(this,n)},"Ef"),w.Mc=i(function(n){var s,u;return u=0,s=y(this.b.Bc(n),16),s&&(u=s.gc(),s.$b(),this.a.d-=u),u>0},"Ff"),w.Nc=i(function(){return this.b.ec().Nc()},"Gf");var Q2i=j(br,"AbstractMapBasedMultimap/KeySet",327);$(747,1,lo,p5e),w.Nb=i(function(n){Co(this,n)},"If"),w.Ob=i(function(){return this.c.Ob()},"Jf"),w.Pb=i(function(){return this.a=y(this.c.Pb(),44),this.a.ld()},"Kf"),w.Qb=i(function(){var n;L8(!!this.a),n=y(this.a.md(),16),this.c.Qb(),this.b.a.d-=n.gc(),n.$b(),this.a=null},"Lf");var J2i=j(br,"AbstractMapBasedMultimap/KeySet/1",747);$(503,402,{85:1,133:1},qB),w.bc=i(function(){return this.Sc()},"Nf"),w.ec=i(function(){return this.Uc()},"Qf"),w.Sc=i(function(){return new wB(this.c,this.Wc())},"Of"),w.Tc=i(function(){return this.Wc().Tc()},"Pf"),w.Uc=i(function(){var n;return n=this.b,n||(this.b=this.Sc())},"Rf"),w.Vc=i(function(){return this.Wc().Vc()},"Sf"),w.Wc=i(function(){return y(this.d,133)},"Tf");var Z2i=j(br,"AbstractMapBasedMultimap/SortedAsMap",503);$(446,503,ZMe,aM),w.bc=i(function(){return new v8(this.a,y(y(this.d,133),139))},"Wf"),w.Sc=i(function(){return new v8(this.a,y(y(this.d,133),139))},"Xf"),w.ec=i(function(){var n;return n=this.b,y(n||(this.b=new v8(this.a,y(y(this.d,133),139))),277)},"_f"),w.Uc=i(function(){var n;return n=this.b,y(n||(this.b=new v8(this.a,y(y(this.d,133),139))),277)},"ag"),w.Wc=i(function(){return y(y(this.d,133),139)},"cg"),w.Xc=i(function(n){return y(y(this.d,133),139).Xc(n)},"Vf"),w.Yc=i(function(n){return y(y(this.d,133),139).Yc(n)},"Yf"),w.Zc=i(function(n,s){return new aM(this.a,y(y(this.d,133),139).Zc(n,s))},"Zf"),w.$c=i(function(n){return y(y(this.d,133),139).$c(n)},"$f"),w._c=i(function(n){return y(y(this.d,133),139)._c(n)},"bg"),w.ad=i(function(n,s){return new aM(this.a,y(y(this.d,133),139).ad(n,s))},"dg");var ewi=j(br,"AbstractMapBasedMultimap/NavigableAsMap",446);$(502,327,Azt,wB),w.Nc=i(function(){return this.b.ec().Nc()},"fg");var twi=j(br,"AbstractMapBasedMultimap/SortedKeySet",502);$(401,502,e9e,v8);var rwi=j(br,"AbstractMapBasedMultimap/NavigableKeySet",401);$(551,31,l3,xY),w.Fc=i(function(n){var s,u;return Yh(this),u=this.d.dc(),s=this.d.Fc(n),s&&(++this.f.d,u&&XB(this)),s},"mg"),w.Gc=i(function(n){var s,u,d;return n.dc()?!1:(d=(Yh(this),this.d.gc()),s=this.d.Gc(n),s&&(u=this.d.gc(),this.f.d+=u-d,d==0&&XB(this)),s)},"ng"),w.$b=i(function(){var n;n=(Yh(this),this.d.gc()),n!=0&&(this.d.$b(),this.f.d-=n,PW(this))},"og"),w.Hc=i(function(n){return Yh(this),this.d.Hc(n)},"pg"),w.Ic=i(function(n){return Yh(this),this.d.Ic(n)},"qg"),w.Fb=i(function(n){return n===this?!0:(Yh(this),Ji(this.d,n))},"rg"),w.Hb=i(function(){return Yh(this),ka(this.d)},"sg"),w.Kc=i(function(){return Yh(this),new AAe(this)},"tg"),w.Mc=i(function(n){var s;return Yh(this),s=this.d.Mc(n),s&&(--this.f.d,PW(this)),s},"ug"),w.gc=i(function(){return PSt(this)},"vg"),w.Nc=i(function(){return Yh(this),this.d.Nc()},"wg"),w.Ib=i(function(){return Yh(this),Hl(this.d)},"xg");var nwi=j(br,"AbstractMapBasedMultimap/WrappedCollection",551),Td=Va(Fn,"List");$(744,551,{20:1,31:1,16:1,15:1},n8e),w.jd=i(function(n){V2(this,n)},"Hg"),w.Nc=i(function(){return Yh(this),this.d.Nc()},"Ig"),w.bd=i(function(n,s){var u;Yh(this),u=this.d.dc(),y(this.d,15).bd(n,s),++this.a.d,u&&XB(this)},"zg"),w.cd=i(function(n,s){var u,d,g;return s.dc()?!1:(g=(Yh(this),this.d.gc()),u=y(this.d,15).cd(n,s),u&&(d=this.d.gc(),this.a.d+=d-g,g==0&&XB(this)),u)},"Ag"),w.Xb=i(function(n){return Yh(this),y(this.d,15).Xb(n)},"Bg"),w.dd=i(function(n){return Yh(this),y(this.d,15).dd(n)},"Cg"),w.ed=i(function(){return Yh(this),new f5t(this)},"Dg"),w.fd=i(function(n){return Yh(this),new O7t(this,n)},"Eg"),w.gd=i(function(n){var s;return Yh(this),s=y(this.d,15).gd(n),--this.a.d,PW(this),s},"Fg"),w.hd=i(function(n,s){return Yh(this),y(this.d,15).hd(n,s)},"Gg"),w.kd=i(function(n,s){return Yh(this),ELt(this.a,this.e,y(this.d,15).kd(n,s),this.b?this.b:this)},"Jg");var iwi=j(br,"AbstractMapBasedMultimap/WrappedList",744);$(1126,744,{20:1,31:1,16:1,15:1,59:1},t6t);var awi=j(br,"AbstractMapBasedMultimap/RandomAccessWrappedList",1126);$(628,1,lo,AAe),w.Nb=i(function(n){Co(this,n)},"Qg"),w.Ob=i(function(){return G8(this),this.b.Ob()},"Rg"),w.Pb=i(function(){return G8(this),this.b.Pb()},"Sg"),w.Qb=i(function(){$5t(this)},"Tg");var swi=j(br,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",628);$(745,628,Gm,f5t,O7t),w.Qb=i(function(){$5t(this)},"_g"),w.Rb=i(function(n){var s;s=PSt(this.a)==0,(G8(this),y(this.b,128)).Rb(n),++this.a.a.d,s&&XB(this.a)},"Wg"),w.Sb=i(function(){return(G8(this),y(this.b,128)).Sb()},"Xg"),w.Tb=i(function(){return(G8(this),y(this.b,128)).Tb()},"Yg"),w.Ub=i(function(){return(G8(this),y(this.b,128)).Ub()},"Zg"),w.Vb=i(function(){return(G8(this),y(this.b,128)).Vb()},"$g"),w.Wb=i(function(n){(G8(this),y(this.b,128)).Wb(n)},"ah");var owi=j(br,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",745);$(743,551,Azt,q6e),w.Nc=i(function(){return Yh(this),this.d.Nc()},"dh");var lwi=j(br,"AbstractMapBasedMultimap/WrappedSortedSet",743);$(1125,743,e9e,o5t);var cwi=j(br,"AbstractMapBasedMultimap/WrappedNavigableSet",1125);$(1124,551,ph,T6t),w.Nc=i(function(){return Yh(this),this.d.Nc()},"gh");var uwi=j(br,"AbstractMapBasedMultimap/WrappedSet",1124);$(1133,1,{},L),w.Kb=i(function(n){return Eln(y(n,44))},"ih");var hwi=j(br,"AbstractMapBasedMultimap/lambda$1$Type",1133);$(1132,1,{},_wt),w.Kb=i(function(n){return new dx(this.a,n)},"kh");var fwi=j(br,"AbstractMapBasedMultimap/lambda$2$Type",1132),dw=Va(Fn,"Map/Entry");$(358,1,Nfe),w.Fb=i(function(n){var s;return $e(n,44)?(s=y(n,44),B0(this.ld(),s.ld())&&B0(this.md(),s.md())):!1},"lh"),w.Hb=i(function(){var n,s;return n=this.ld(),s=this.md(),(n==null?0:ka(n))^(s==null?0:ka(s))},"mh"),w.nd=i(function(n){throw me(new ui)},"nh"),w.Ib=i(function(){return this.ld()+"="+this.md()},"oh");var dwi=j(br,Rzt,358);$(2086,31,l3),w.$b=i(function(){this.od().$b()},"ph"),w.Hc=i(function(n){var s;return $e(n,44)?(s=y(n,44),qsn(this.od(),s.ld(),s.md())):!1},"qh"),w.Mc=i(function(n){var s;return $e(n,44)?(s=y(n,44),sLt(this.od(),s.ld(),s.md())):!1},"rh"),w.gc=i(function(){return this.od().d},"sh");var pwi=j(br,"Multimaps/Entries",2086);$(749,2086,l3,WEe),w.Kc=i(function(){return this.a.kc()},"uh"),w.od=i(function(){return this.a},"vh"),w.Nc=i(function(){return this.a.lc()},"wh");var gwi=j(br,"AbstractMultimap/Entries",749);$(750,749,ph,HSe),w.Nc=i(function(){return this.a.lc()},"Ah"),w.Fb=i(function(n){return QDe(this,n)},"yh"),w.Hb=i(function(){return y9t(this)},"zh");var mwi=j(br,"AbstractMultimap/EntrySet",750);$(751,31,l3,YEe),w.$b=i(function(){this.a.$b()},"Ch"),w.Hc=i(function(n){return Vhn(this.a,n)},"Dh"),w.Kc=i(function(){return this.a.nc()},"Eh"),w.gc=i(function(){return this.a.d},"Fh"),w.Nc=i(function(){return this.a.oc()},"Gh");var ywi=j(br,"AbstractMultimap/Values",751);$(2087,31,{849:1,20:1,31:1,16:1}),w.Jc=i(function(n){li(n),iC(this).Jc(new Xwt(n))},"Oh"),w.Nc=i(function(){var n;return n=iC(this).Nc(),Mhe(n,new V,64|n.yd()&1296,this.a.d)},"Sh"),w.Fc=i(function(n){return ZSe(),!0},"Kh"),w.Gc=i(function(n){return li(this),li(n),$e(n,552)?Ksn(y(n,849)):!n.dc()&&qce(this,n.Kc())},"Lh"),w.Hc=i(function(n){var s;return s=y(Wk(k5(this.a),n),16),(s?s.gc():0)>0},"Mh"),w.Fb=i(function(n){return yvn(this,n)},"Nh"),w.Hb=i(function(){return ka(iC(this))},"Ph"),w.dc=i(function(){return iC(this).dc()},"Qh"),w.Mc=i(function(n){return UBt(this,n,1)>0},"Rh"),w.Ib=i(function(){return Hl(iC(this))},"Th");var bwi=j(br,"AbstractMultiset",2087);$(2089,2068,ph),w.$b=i(function(){UY(this.a.a)},"Uh"),w.Hc=i(function(n){var s,u;return $e(n,504)?(u=y(n,425),y(u.a.md(),16).gc()<=0?!1:(s=IRt(this.a,u.a.ld()),s==y(u.a.md(),16).gc())):!1},"Vh"),w.Mc=i(function(n){var s,u,d,g;return $e(n,504)&&(u=y(n,425),s=u.a.ld(),d=y(u.a.md(),16).gc(),d!=0)?(g=this.a,obn(g,s,d)):!1},"Wh");var vwi=j(br,"Multisets/EntrySet",2089);$(1139,2089,ph,Mwt),w.Kc=i(function(){return new R4t(x8t(k5(this.a.a)).Kc())},"Yh"),w.gc=i(function(){return k5(this.a.a).gc()},"Zh");var wwi=j(br,"AbstractMultiset/EntrySet",1139);$(627,742,rw),w.hc=i(function(){return this.pd()},"ai"),w.jc=i(function(){return this.qd()},"bi"),w.cc=i(function(n){return this.rd(n)},"ei"),w.fc=i(function(n){return this.sd(n)},"gi"),w.Zb=i(function(){var n;return n=this.f,n||(this.f=this.ac())},"_h"),w.qd=i(function(){return Dr(),Dr(),BQ},"ci"),w.Fb=i(function(n){return kue(this,n)},"di"),w.rd=i(function(n){return y(ta(this,n),21)},"fi"),w.sd=i(function(n){return y(XF(this,n),21)},"hi"),w.mc=i(function(n){return Dr(),new p8(y(n,21))},"ii"),w.pc=i(function(n,s){return new T6t(this,n,y(s,21))},"ji");var xwi=j(br,"AbstractSetMultimap",627);$(1723,627,rw),w.hc=i(function(){return new Cy(this.b)},"mi"),w.pd=i(function(){return new Cy(this.b)},"ni"),w.jc=i(function(){return C8e(new Cy(this.b))},"oi"),w.qd=i(function(){return C8e(new Cy(this.b))},"pi"),w.cc=i(function(n){return y(y(ta(this,n),21),87)},"qi"),w.rd=i(function(n){return y(y(ta(this,n),21),87)},"ri"),w.fc=i(function(n){return y(y(XF(this,n),21),87)},"si"),w.sd=i(function(n){return y(y(XF(this,n),21),87)},"ti"),w.mc=i(function(n){return $e(n,277)?C8e(y(n,277)):(Dr(),new _6e(y(n,87)))},"ui"),w.Zb=i(function(){var n;return n=this.f,n||(this.f=$e(this.c,139)?new aM(this,y(this.c,139)):$e(this.c,133)?new qB(this,y(this.c,133)):new w8(this,this.c))},"li"),w.pc=i(function(n,s){return $e(s,277)?new o5t(this,n,y(s,277)):new q6e(this,n,y(s,87))},"vi");var Twi=j(br,"AbstractSortedSetMultimap",1723);$(1724,1723,rw),w.Zb=i(function(){var n;return n=this.f,y(y(n||(this.f=$e(this.c,139)?new aM(this,y(this.c,139)):$e(this.c,133)?new qB(this,y(this.c,133)):new w8(this,this.c)),133),139)},"xi"),w.ec=i(function(){var n;return n=this.i,y(y(n||(this.i=$e(this.c,139)?new v8(this,y(this.c,139)):$e(this.c,133)?new wB(this,y(this.c,133)):new rC(this,this.c)),87),277)},"zi"),w.bc=i(function(){return $e(this.c,139)?new v8(this,y(this.c,139)):$e(this.c,133)?new wB(this,y(this.c,133)):new rC(this,this.c)},"yi");var kwi=j(br,"AbstractSortedKeySortedSetMultimap",1724);$(2109,1,{2046:1}),w.Fb=i(function(n){return z0n(this,n)},"Ai"),w.Hb=i(function(){var n;return MRe((n=this.g,n||(this.g=new Cse(this))))},"Bi"),w.Ib=i(function(){var n;return DPt((n=this.f,n||(this.f=new A6e(this))))},"Ci");var Cwi=j(br,"AbstractTable",2109);$(679,Xg,ph,Cse),w.$b=i(function(){G4t()},"Ei"),w.Hc=i(function(n){var s,u;return $e(n,479)?(s=y(n,697),u=y(Wk(H8t(this.a),Wb(s.c.e,s.b)),85),!!u&&aLe(u.vc(),new dx(Wb(s.c.c,s.a),D5(s.c,s.b,s.a)))):!1},"Fi"),w.Kc=i(function(){return qin(this.a)},"Gi"),w.Mc=i(function(n){var s,u;return $e(n,479)?(s=y(n,697),u=y(Wk(H8t(this.a),Wb(s.c.e,s.b)),85),!!u&&kfn(u.vc(),new dx(Wb(s.c.c,s.a),D5(s.c,s.b,s.a)))):!1},"Hi"),w.gc=i(function(){return YAt(this.a)},"Ii"),w.Nc=i(function(){return Jsn(this.a)},"Ji");var Ewi=j(br,"AbstractTable/CellSet",679);$(2025,31,l3,Nwt),w.$b=i(function(){G4t()},"Li"),w.Hc=i(function(n){return Nmn(this.a,n)},"Mi"),w.Kc=i(function(){return Win(this.a)},"Ni"),w.gc=i(function(){return YAt(this.a)},"Oi"),w.Nc=i(function(){return aLt(this.a)},"Pi");var Swi=j(br,"AbstractTable/Values",2025);$(1697,1696,rw);var Awi=j(br,"ArrayListMultimapGwtSerializationDependencies",1697);$(520,1697,rw,roe,q8e),w.hc=i(function(){return new pu(this.a)},"Ti"),w.a=0;var Rwi=j(br,"ArrayListMultimap",520);$(678,2109,{678:1,2046:1,3:1},rFt);var Lwi=j(br,"ArrayTable",678);$(2021,399,q7,G5t),w.Xb=i(function(n){return new BRe(this.a,n)},"jj");var Dwi=j(br,"ArrayTable/1",2021);$(2022,1,{},Rwt),w.td=i(function(n){return new BRe(this.a,n)},"lj");var _wi=j(br,"ArrayTable/1methodref$getCell$Type",2022);$(2110,1,{697:1}),w.Fb=i(function(n){var s;return n===this?!0:$e(n,479)?(s=y(n,697),B0(Wb(this.c.e,this.b),Wb(s.c.e,s.b))&&B0(Wb(this.c.c,this.a),Wb(s.c.c,s.a))&&B0(D5(this.c,this.b,this.a),D5(s.c,s.b,s.a))):!1},"mj"),w.Hb=i(function(){return KF(Te(we(Hs,1),Gr,1,5,[Wb(this.c.e,this.b),Wb(this.c.c,this.a),D5(this.c,this.b,this.a)]))},"nj"),w.Ib=i(function(){return"("+Wb(this.c.e,this.b)+","+Wb(this.c.c,this.a)+")="+D5(this.c,this.b,this.a)},"oj");var Mwi=j(br,"Tables/AbstractCell",2110);$(479,2110,{479:1,697:1},BRe),w.a=0,w.b=0,w.d=0;var Iwi=j(br,"ArrayTable/2",479);$(2024,1,{},Lwt),w.td=i(function(n){return D_t(this.a,n)},"rj");var Nwi=j(br,"ArrayTable/2methodref$getValue$Type",2024);$(2023,399,q7,j5t),w.Xb=i(function(n){return D_t(this.a,n)},"tj");var Owi=j(br,"ArrayTable/3",2023);$(2077,2065,nT),w.$b=i(function(){DW(this.kc())},"vj"),w.vc=i(function(){return new Uwt(this)},"wj"),w.lc=i(function(){return new E7t(this.kc(),this.gc())},"xj");var Pwi=j(br,"Maps/IteratorBasedAbstractMap",2077);$(842,2077,nT),w.$b=i(function(){throw me(new ui)},"Bj"),w._b=i(function(n){return aCt(this.c,n)},"Cj"),w.kc=i(function(){return new z5t(this,this.c.b.c.gc())},"Dj"),w.lc=i(function(){return Ele(this.c.b.c.gc(),16,new Dwt(this))},"Ej"),w.xc=i(function(n){var s;return s=y(sM(this.c,n),17),s?this.vd(s.a):null},"Fj"),w.dc=i(function(){return this.c.b.c.dc()},"Gj"),w.ec=i(function(){return Ile(this.c)},"Hj"),w.zc=i(function(n,s){var u;if(u=y(sM(this.c,n),17),!u)throw me(new Jr(this.ud()+" "+n+" not in "+Ile(this.c)));return this.wd(u.a,s)},"Ij"),w.Bc=i(function(n){throw me(new ui)},"Jj"),w.gc=i(function(){return this.c.b.c.gc()},"Kj");var Bwi=j(br,"ArrayTable/ArrayMap",842);$(2020,1,{},Dwt),w.td=i(function(n){return W8t(this.a,n)},"Mj");var Fwi=j(br,"ArrayTable/ArrayMap/0methodref$getEntry$Type",2020);$(2018,358,Nfe,_Ct),w.ld=i(function(){return sZr(this.a,this.b)},"Oj"),w.md=i(function(){return this.a.vd(this.b)},"Pj"),w.nd=i(function(n){return this.a.wd(this.b,n)},"Qj"),w.b=0;var $wi=j(br,"ArrayTable/ArrayMap/1",2018);$(2019,399,q7,z5t),w.Xb=i(function(n){return W8t(this.a,n)},"Sj");var Gwi=j(br,"ArrayTable/ArrayMap/2",2019);$(2017,842,nT,N8t),w.ud=i(function(){return"Column"},"Uj"),w.vd=i(function(n){return D5(this.b,this.a,n)},"Vj"),w.wd=i(function(n,s){return nIt(this.b,this.a,n,s)},"Wj"),w.a=0;var jwi=j(br,"ArrayTable/Row",2017);$(843,842,nT,A6e),w.vd=i(function(n){return new N8t(this.a,n)},"_j"),w.zc=i(function(n,s){return y(s,85),AXr()},"ak"),w.wd=i(function(n,s){return y(s,85),RXr()},"bk"),w.ud=i(function(){return"Row"},"$j");var zwi=j(br,"ArrayTable/RowMap",843);$(1157,1,Pf,MCt),w.Ad=i(function(n){return(this.a.yd()&-262&n)!=0},"lk"),w.yd=i(function(){return this.a.yd()&-262},"ik"),w.zd=i(function(){return this.a.zd()},"jk"),w.Nb=i(function(n){this.a.Nb(new NCt(n,this.b))},"kk"),w.Bd=i(function(n){return this.a.Bd(new ICt(n,this.b))},"mk");var Uwi=j(br,"CollectSpliterators/1",1157);$(1158,1,vn,ICt),w.Cd=i(function(n){this.a.Cd(this.b.Kb(n))},"ok");var Vwi=j(br,"CollectSpliterators/1/lambda$0$Type",1158);$(1159,1,vn,NCt),w.Cd=i(function(n){this.a.Cd(this.b.Kb(n))},"qk");var Hwi=j(br,"CollectSpliterators/1/lambda$1$Type",1159);$(1154,1,Pf,nAt),w.Ad=i(function(n){return((16464|this.b)&n)!=0},"vk"),w.yd=i(function(){return 16464|this.b},"sk"),w.zd=i(function(){return this.a.zd()},"tk"),w.Nb=i(function(n){this.a.Qe(new PCt(n,this.c))},"uk"),w.Bd=i(function(n){return this.a.Re(new OCt(n,this.c))},"wk"),w.b=0;var qwi=j(br,"CollectSpliterators/1WithCharacteristics",1154);$(1155,1,$$,OCt),w.Dd=i(function(n){this.a.Cd(this.b.td(n))},"yk");var Wwi=j(br,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1155);$(1156,1,$$,PCt),w.Dd=i(function(n){this.a.Cd(this.b.td(n))},"Ak");var Ywi=j(br,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1156);$(1150,1,Pf),w.Ad=i(function(n){return(this.a&n)!=0},"Gk"),w.yd=i(function(){return this.a},"Dk"),w.zd=i(function(){return this.e&&(this.b=g6e(this.b,this.e.zd())),g6e(this.b,0)},"Ek"),w.Nb=i(function(n){this.e&&(this.e.Nb(n),this.e=null),this.c.Nb(new BCt(this,n)),this.b=0},"Fk"),w.Bd=i(function(n){for(;;){if(this.e&&this.e.Bd(n))return K_(this.b,G$)&&(this.b=Hd(this.b,1)),!0;if(this.e=null,!this.c.Bd(new Owt(this)))return!1}},"Hk"),w.a=0,w.b=0;var Kwi=j(br,"CollectSpliterators/FlatMapSpliterator",1150);$(1152,1,vn,Owt),w.Cd=i(function(n){ien(this.a,n)},"Jk");var Xwi=j(br,"CollectSpliterators/FlatMapSpliterator/lambda$0$Type",1152);$(1153,1,vn,BCt),w.Cd=i(function(n){Lin(this.a,this.b,n)},"Lk");var Qwi=j(br,"CollectSpliterators/FlatMapSpliterator/lambda$1$Type",1153);$(1151,1150,Pf,kLt);var Jwi=j(br,"CollectSpliterators/FlatMapSpliteratorOfObject",1151);$(253,1,Ofe),w.Fd=i(function(n){return this.Ed(y(n,253))},"Sk"),w.Ed=i(function(n){var s;return n==(qse(),wge)?1:n==(Hse(),vge)?-1:(s=(EW(),BF(this.a,n.a)),s!=0?s:$e(this,526)==$e(n,526)?0:$e(this,526)?1:-1)},"Rk"),w.Id=i(function(){return this.a},"Tk"),w.Fb=i(function(n){return nDe(this,n)},"Uk");var Zwi=j(br,"Cut",253);$(1823,253,Ofe,x4t),w.Ed=i(function(n){return n==this?0:1},"Yk"),w.Gd=i(function(n){throw me(new SSe)},"Zk"),w.Hd=i(function(n){n.a+="+\u221E)"},"$k"),w.Id=i(function(){throw me(new Cl(Dzt))},"_k"),w.Hb=i(function(){return T1(),zLe(this)},"al"),w.Jd=i(function(n){return!1},"bl"),w.Ib=i(function(){return"+\u221E"},"cl");var vge,exi=j(br,"Cut/AboveAll",1823);$(526,253,{253:1,526:1,3:1,34:1},Y5t),w.Gd=i(function(n){qc((n.a+="(",n),this.a)},"el"),w.Hd=i(function(n){Jb(qc(n,this.a),93)},"fl"),w.Hb=i(function(){return~ka(this.a)},"gl"),w.Jd=i(function(n){return EW(),BF(this.a,n)<0},"hl"),w.Ib=i(function(){return"/"+this.a+"\\"},"il");var txi=j(br,"Cut/AboveValue",526);$(1822,253,Ofe,w4t),w.Ed=i(function(n){return n==this?0:-1},"ml"),w.Gd=i(function(n){n.a+="(-\u221E"},"nl"),w.Hd=i(function(n){throw me(new SSe)},"ol"),w.Id=i(function(){throw me(new Cl(Dzt))},"pl"),w.Hb=i(function(){return T1(),zLe(this)},"ql"),w.Jd=i(function(n){return!0},"rl"),w.Ib=i(function(){return"-\u221E"},"sl");var wge,rxi=j(br,"Cut/BelowAll",1822);$(1824,253,Ofe,K5t),w.Gd=i(function(n){qc((n.a+="[",n),this.a)},"ul"),w.Hd=i(function(n){Jb(qc(n,this.a),41)},"vl"),w.Hb=i(function(){return ka(this.a)},"wl"),w.Jd=i(function(n){return EW(),BF(this.a,n)<=0},"xl"),w.Ib=i(function(){return"\\"+this.a+"/"},"yl");var nxi=j(br,"Cut/BelowValue",1824);$(547,1,jm),w.Jc=i(function(n){So(this,n)},"Bl"),w.Ib=i(function(){return Vfn(y(ZW(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},"Cl");var ixi=j(br,"FluentIterable",547);$(442,547,jm,J_),w.Kc=i(function(){return new bn(wn(this.a.Kc(),new I))},"El");var axi=j(br,"FluentIterable/2",442);$(1059,547,jm,n5t),w.Kc=i(function(){return Im(this)},"Hl");var sxi=j(br,"FluentIterable/3",1059);$(724,399,q7,R6e),w.Xb=i(function(n){return this.a[n].Kc()},"Jl");var oxi=j(br,"FluentIterable/3/1",724);$(2070,1,{}),w.Ib=i(function(){return Hl(this.Kd().b)},"Kl");var lxi=j(br,"ForwardingObject",2070);$(2071,2070,_zt),w.Kd=i(function(){return this.Ld()},"Ql"),w.Jc=i(function(n){So(this,n)},"Rl"),w.Lc=i(function(){return this.Oc()},"Ul"),w.Nc=i(function(){return new Ar(this,0)},"Xl"),w.Oc=i(function(){return new Tr(null,this.Nc())},"Yl"),w.Fc=i(function(n){return this.Ld(),oCt()},"Ll"),w.Gc=i(function(n){return this.Ld(),lCt()},"Ml"),w.$b=i(function(){this.Ld(),cCt()},"Nl"),w.Hc=i(function(n){return this.Ld().Hc(n)},"Ol"),w.Ic=i(function(n){return this.Ld().Ic(n)},"Pl"),w.dc=i(function(){return this.Ld().b.dc()},"Sl"),w.Kc=i(function(){return this.Ld().Kc()},"Tl"),w.Mc=i(function(n){return this.Ld(),uCt()},"Vl"),w.gc=i(function(){return this.Ld().b.gc()},"Wl"),w.Pc=i(function(){return this.Ld().Pc()},"Zl"),w.Qc=i(function(n){return this.Ld().Qc(n)},"$l");var cxi=j(br,"ForwardingCollection",2071);$(2078,31,t9e),w.Kc=i(function(){return this.Od()},"gm"),w.Fc=i(function(n){throw me(new ui)},"am"),w.Gc=i(function(n){throw me(new ui)},"bm"),w.Md=i(function(){var n;return n=this.c,n||(this.c=this.Nd())},"cm"),w.$b=i(function(){throw me(new ui)},"dm"),w.Hc=i(function(n){return n!=null&&Yk(this,n,!1)},"em"),w.Nd=i(function(){switch(this.gc()){case 0:return Rx(),Rx(),xge;case 1:return Rx(),new Sle(li(this.Od().Pb()));default:return new o8e(this,this.Pc())}},"fm"),w.Mc=i(function(n){throw me(new ui)},"hm");var uxi=j(br,"ImmutableCollection",2078);$(727,2078,t9e,CSe),w.Kc=i(function(){return _5(this.a.Kc())},"nm"),w.Hc=i(function(n){return n!=null&&this.a.Hc(n)},"jm"),w.Ic=i(function(n){return this.a.Ic(n)},"km"),w.dc=i(function(){return this.a.dc()},"lm"),w.Od=i(function(){return _5(this.a.Kc())},"mm"),w.gc=i(function(){return this.a.gc()},"om"),w.Pc=i(function(){return this.a.Pc()},"pm"),w.Qc=i(function(n){return this.a.Qc(n)},"qm"),w.Ib=i(function(){return Hl(this.a)},"rm");var hxi=j(br,"ForwardingImmutableCollection",727);$(307,2078,W7),w.Kc=i(function(){return this.Od()},"Em"),w.ed=i(function(){return this.Pd(0)},"Fm"),w.fd=i(function(n){return this.Pd(n)},"Hm"),w.jd=i(function(n){V2(this,n)},"Lm"),w.Nc=i(function(){return new Ar(this,16)},"Mm"),w.kd=i(function(n,s){return this.Qd(n,s)},"Om"),w.bd=i(function(n,s){throw me(new ui)},"wm"),w.cd=i(function(n,s){throw me(new ui)},"xm"),w.Md=i(function(){return this},"ym"),w.Fb=i(function(n){return avn(this,n)},"Am"),w.Hb=i(function(){return Zun(this)},"Bm"),w.dd=i(function(n){return n==null?-1:Tgn(this,n)},"Cm"),w.Od=i(function(){return this.Pd(0)},"Dm"),w.Pd=i(function(n){return ile(this,n)},"Gm"),w.gd=i(function(n){throw me(new ui)},"Jm"),w.hd=i(function(n,s){throw me(new ui)},"Km"),w.Qd=i(function(n,s){var u;return uK((u=new WCt(this),new Dy(u,n,s)))},"Nm");var xge,fxi=j(br,"ImmutableList",307);$(2105,307,W7),w.Kc=i(function(){return _5(this.Rd().Kc())},"Zm"),w.kd=i(function(n,s){return uK(this.Rd().kd(n,s))},"an"),w.Hc=i(function(n){return n!=null&&this.Rd().Hc(n)},"Rm"),w.Ic=i(function(n){return this.Rd().Ic(n)},"Sm"),w.Fb=i(function(n){return Ji(this.Rd(),n)},"Tm"),w.Xb=i(function(n){return Wb(this,n)},"Um"),w.Hb=i(function(){return ka(this.Rd())},"Vm"),w.dd=i(function(n){return this.Rd().dd(n)},"Wm"),w.dc=i(function(){return this.Rd().dc()},"Xm"),w.Od=i(function(){return _5(this.Rd().Kc())},"Ym"),w.gc=i(function(){return this.Rd().gc()},"$m"),w.Qd=i(function(n,s){return uK(this.Rd().kd(n,s))},"_m"),w.Pc=i(function(){return this.Rd().Qc(ot(Hs,Gr,1,this.Rd().gc(),5,1))},"bn"),w.Qc=i(function(n){return this.Rd().Qc(n)},"cn"),w.Ib=i(function(){return Hl(this.Rd())},"dn");var dxi=j(br,"ForwardingImmutableList",2105);$(729,1,Y7),w.vc=i(function(){return N2(this)},"pn"),w.wc=i(function(n){NM(this,n)},"rn"),w.ec=i(function(){return Ile(this)},"vn"),w.yc=i(function(n,s,u){return zue(this,n,s,u)},"wn"),w.Cc=i(function(){return this.Vd()},"Dn"),w.$b=i(function(){throw me(new ui)},"kn"),w._b=i(function(n){return this.xc(n)!=null},"ln"),w.uc=i(function(n){return this.Vd().Hc(n)},"mn"),w.Td=i(function(){return new L3t(this)},"nn"),w.Ud=i(function(){return new D3t(this)},"on"),w.Fb=i(function(n){return Hhn(this,n)},"qn"),w.Hb=i(function(){return N2(this).Hb()},"tn"),w.dc=i(function(){return this.gc()==0},"un"),w.zc=i(function(n,s){return SXr()},"zn"),w.Bc=i(function(n){throw me(new ui)},"An"),w.Ib=i(function(){return M1n(this)},"Bn"),w.Vd=i(function(){return this.e?this.e:this.e=this.Ud()},"Cn"),w.c=null,w.d=null,w.e=null;var nWt,pxi=j(br,"ImmutableMap",729);$(730,729,Y7),w._b=i(function(n){return aCt(this,n)},"Hn"),w.uc=i(function(n){return ZCt(this.b,n)},"In"),w.Sd=i(function(){return ZIt(new Iwt(this))},"Jn"),w.Td=i(function(){return ZIt(g7t(this.b))},"Kn"),w.Ud=i(function(){return P0(),new CSe(p7t(this.b))},"Ln"),w.Fb=i(function(n){return eEt(this.b,n)},"Mn"),w.xc=i(function(n){return sM(this,n)},"Nn"),w.Hb=i(function(){return ka(this.b.c)},"On"),w.dc=i(function(){return this.b.c.dc()},"Pn"),w.gc=i(function(){return this.b.c.gc()},"Qn"),w.Ib=i(function(){return Hl(this.b.c)},"Rn");var gxi=j(br,"ForwardingImmutableMap",730);$(2072,2071,Pfe),w.Kd=i(function(){return this.Wd()},"Sn"),w.Ld=i(function(){return this.Wd()},"Tn"),w.Nc=i(function(){return new Ar(this,1)},"Wn"),w.Fb=i(function(n){return n===this||this.Wd().Fb(n)},"Un"),w.Hb=i(function(){return this.Wd().Hb()},"Vn");var mxi=j(br,"ForwardingSet",2072);$(1085,2072,Pfe,Iwt),w.Kd=i(function(){return F8(this.a.b)},"Zn"),w.Ld=i(function(){return F8(this.a.b)},"$n"),w.Hc=i(function(n){if($e(n,44)&&y(n,44).ld()==null)return!1;try{return JCt(F8(this.a.b),n)}catch(s){if(s=$a(s),$e(s,212))return!1;throw me(s)}},"Yn"),w.Wd=i(function(){return F8(this.a.b)},"_n"),w.Qc=i(function(n){var s;return s=Z7t(F8(this.a.b),n),F8(this.a.b).b.gc()=0?"+":"")+(u/60|0),s=iW(p.Math.abs(u)%60),(zPt(),TWt)[this.q.getDay()]+" "+kWt[this.q.getMonth()]+" "+iW(this.q.getDate())+" "+iW(this.q.getHours())+":"+iW(this.q.getMinutes())+":"+iW(this.q.getSeconds())+" GMT"+n+s+" "+this.q.getFullYear()},"BB");var NQ=j(Fn,"Date",206);$(2015,206,Gzt,hPt),w.a=!1,w.b=0,w.c=0,w.d=0,w.e=0,w.f=0,w.g=!1,w.i=0,w.j=0,w.k=0,w.n=0,w.o=0,w.p=0;var Bki=j("com.google.gwt.i18n.shared.impl","DateRecord",2015);$(2064,1,{}),w.pe=i(function(){return null},"EB"),w.qe=i(function(){return null},"FB"),w.re=i(function(){return null},"GB"),w.se=i(function(){return null},"HB"),w.te=i(function(){return null},"IB");var Fki=j(Q5,"JSONValue",2064);$(221,2064,{221:1},E2,XEe),w.Fb=i(function(n){return $e(n,221)?Y8e(this.a,y(n,221).a):!1},"OB"),w.oe=i(function(){return QKr},"PB"),w.Hb=i(function(){return B8e(this.a)},"QB"),w.pe=i(function(){return this},"RB"),w.Ib=i(function(){var n,s,u;for(u=new Ef("["),s=0,n=this.a.length;s0&&(u.a+=","),qc(u,jk(this,s));return u.a+="]",u.a},"SB");var $ki=j(Q5,"JSONArray",221);$(493,2064,{493:1},QEe),w.oe=i(function(){return JKr},"YB"),w.qe=i(function(){return this},"ZB"),w.Ib=i(function(){return Hr(),""+this.a},"$B"),w.a=!1;var uWt,hWt,Gki=j(Q5,"JSONBoolean",493);$(997,63,z1,L4t);var jki=j(Q5,"JSONException",997);$(1036,2064,{},W),w.oe=i(function(){return ZKr},"eC"),w.Ib=i(function(){return Xu},"fC");var fWt,zki=j(Q5,"JSONNull",1036);$(263,2064,{263:1},eq),w.Fb=i(function(n){return $e(n,263)?this.a==y(n,263).a:!1},"iC"),w.oe=i(function(){return KKr},"jC"),w.Hb=i(function(){return l5(this.a)},"kC"),w.re=i(function(){return this},"lC"),w.Ib=i(function(){return this.a+""},"mC"),w.a=0;var Uki=j(Q5,"JSONNumber",263);$(190,2064,{190:1},ZS,cB),w.Fb=i(function(n){return $e(n,190)?Y8e(this.a,y(n,190).a):!1},"wC"),w.oe=i(function(){return XKr},"xC"),w.Hb=i(function(){return B8e(this.a)},"yC"),w.se=i(function(){return this},"zC"),w.Ib=i(function(){var n,s,u,d,g,x,k;for(k=new Ef("{"),n=!0,x=sue(this,ot(Jt,Lt,2,0,6,1)),u=x,d=0,g=u.length;d=0?":"+this.c:"")+")"},"hhb"),w.c=0;var oPe=j(gc,"StackTraceElement",319);rWt={3:1,484:1,34:1,2:1};var Jt=j(gc,r9e,2);$(111,427,{484:1},Ty,R_,zd);var u3i=j(gc,"StringBuffer",111);$(104,427,{484:1},zb,G4,Ef);var h3i=j(gc,"StringBuilder",104);$(702,77,ade,e5e);var f3i=j(gc,"StringIndexOutOfBoundsException",702);$(2145,1,{});var mWt;$(48,63,{3:1,103:1,63:1,82:1,48:1},ui,wy);var d3i=j(gc,"UnsupportedOperationException",48);$(247,242,{3:1,34:1,242:1,247:1},ZF,h5e),w.Fd=i(function(n){return OGt(this,y(n,247))},"Eib"),w.ue=i(function(){return Zk(cjt(this))},"Fib"),w.Fb=i(function(n){var s;return this===n?!0:$e(n,247)?(s=y(n,247),this.e==s.e&&OGt(this,s)==0):!1},"Gib"),w.Hb=i(function(){var n;return this.b!=0?this.b:this.a<54?(n=Cc(this.f),this.b=oi(Vs(n,-1)),this.b=33*this.b+oi(Vs(Ex(n,32),-1)),this.b=17*this.b+Fs(this.e),this.b):(this.b=17*YIt(this.c)+Fs(this.e),this.b)},"Hib"),w.Ib=i(function(){return cjt(this)},"Iib"),w.a=0,w.b=0,w.d=0,w.e=0,w.f=0;var yWt,pw,lPe,cPe,uPe,hPe,fPe,dPe,Lge=j("java.math","BigDecimal",247);$(92,242,{3:1,34:1,242:1,92:1},L1,GRt,P2,KNt,Yb),w.Fd=i(function(n){return HNt(this,y(n,92))},"gjb"),w.ue=i(function(){return Zk(_fe(this,0))},"hjb"),w.Fb=i(function(n){return ELe(this,n)},"ijb"),w.Hb=i(function(){return YIt(this)},"ljb"),w.Ib=i(function(){return _fe(this,0)},"njb"),w.b=-2,w.c=0,w.d=0,w.e=0;var bWt,OQ,vWt,Dge,PQ,tI,zC=j("java.math","BigInteger",92),wWt,xWt,c6,rI;$(498,2065,nT),w.$b=i(function(){Ah(this)},"dkb"),w._b=i(function(n){return Ru(this,n)},"ekb"),w.uc=i(function(n){return LIt(this,n,this.i)||LIt(this,n,this.f)},"fkb"),w.vc=i(function(){return new R2(this)},"gkb"),w.xc=i(function(n){return mn(this,n)},"hkb"),w.zc=i(function(n,s){return ji(this,n,s)},"ikb"),w.Bc=i(function(n){return L5(this,n)},"jkb"),w.gc=i(function(){return D_(this)},"kkb"),w.g=0;var p3i=j(Fn,"AbstractHashMap",498);$(267,Xg,ph,R2),w.$b=i(function(){this.a.$b()},"nkb"),w.Hc=i(function(n){return mLt(this,n)},"okb"),w.Kc=i(function(){return new q2(this.a)},"pkb"),w.Mc=i(function(n){var s;return mLt(this,n)?(s=y(n,44).ld(),this.a.Bc(s),!0):!1},"qkb"),w.gc=i(function(){return this.a.gc()},"rkb");var g3i=j(Fn,"AbstractHashMap/EntrySet",267);$(268,1,lo,q2),w.Nb=i(function(n){Co(this,n)},"wkb"),w.Pb=i(function(){return Ux(this)},"ykb"),w.Ob=i(function(){return this.b},"xkb"),w.Qb=i(function(){H_t(this)},"zkb"),w.b=!1,w.d=0;var m3i=j(Fn,"AbstractHashMap/EntrySetIterator",268);$(426,1,lo,m_),w.Nb=i(function(n){Co(this,n)},"Ekb"),w.Ob=i(function(){return uoe(this)},"Fkb"),w.Pb=i(function(){return M8e(this)},"Gkb"),w.Qb=i(function(){pf(this)},"Hkb"),w.b=0,w.c=-1;var y3i=j(Fn,"AbstractList/IteratorImpl",426);$(98,426,Gm,vo),w.Qb=i(function(){pf(this)},"Pkb"),w.Rb=i(function(n){Dk(this,n)},"Kkb"),w.Sb=i(function(){return this.b>0},"Lkb"),w.Tb=i(function(){return this.b},"Mkb"),w.Ub=i(function(){return Sn(this.b>0),this.a.Xb(this.c=--this.b)},"Nkb"),w.Vb=i(function(){return this.b-1},"Okb"),w.Wb=i(function(n){Rk(this.c!=-1),this.a.hd(this.c,n)},"Qkb");var b3i=j(Fn,"AbstractList/ListIteratorImpl",98);$(244,56,K7,Dy),w.bd=i(function(n,s){Bk(n,this.b),this.c.bd(this.a+n,s),++this.b},"Skb"),w.Xb=i(function(n){return _r(n,this.b),this.c.Xb(this.a+n)},"Tkb"),w.gd=i(function(n){var s;return _r(n,this.b),s=this.c.gd(this.a+n),--this.b,s},"Ukb"),w.hd=i(function(n,s){return _r(n,this.b),this.c.hd(this.a+n,s)},"Vkb"),w.gc=i(function(){return this.b},"Wkb"),w.a=0,w.b=0;var v3i=j(Fn,"AbstractList/SubList",244);$(266,Xg,ph,A2),w.$b=i(function(){this.a.$b()},"Ykb"),w.Hc=i(function(n){return this.a._b(n)},"Zkb"),w.Kc=i(function(){var n;return n=this.a.vc().Kc(),new rq(n)},"$kb"),w.Mc=i(function(n){return this.a._b(n)?(this.a.Bc(n),!0):!1},"_kb"),w.gc=i(function(){return this.a.gc()},"alb");var w3i=j(Fn,"AbstractMap/1",266);$(541,1,lo,rq),w.Nb=i(function(n){Co(this,n)},"clb"),w.Ob=i(function(){return this.a.Ob()},"dlb"),w.Pb=i(function(){var n;return n=y(this.a.Pb(),44),n.ld()},"elb"),w.Qb=i(function(){this.a.Qb()},"flb");var x3i=j(Fn,"AbstractMap/1/1",541);$(231,31,l3,w1),w.$b=i(function(){this.a.$b()},"hlb"),w.Hc=i(function(n){return this.a.uc(n)},"ilb"),w.Kc=i(function(){var n;return n=this.a.vc().Kc(),new vk(n)},"jlb"),w.gc=i(function(){return this.a.gc()},"klb");var T3i=j(Fn,"AbstractMap/2",231);$(301,1,lo,vk),w.Nb=i(function(n){Co(this,n)},"mlb"),w.Ob=i(function(){return this.a.Ob()},"nlb"),w.Pb=i(function(){var n;return n=y(this.a.Pb(),44),n.md()},"olb"),w.Qb=i(function(){this.a.Qb()},"plb");var k3i=j(Fn,"AbstractMap/2/1",301);$(494,1,{494:1,44:1}),w.Fb=i(function(n){var s;return $e(n,44)?(s=y(n,44),kc(this.d,s.ld())&&kc(this.e,s.md())):!1},"rlb"),w.ld=i(function(){return this.d},"slb"),w.md=i(function(){return this.e},"tlb"),w.Hb=i(function(){return J4(this.d)^J4(this.e)},"ulb"),w.nd=i(function(n){return Z6e(this,n)},"vlb"),w.Ib=i(function(){return this.d+"="+this.e},"wlb");var C3i=j(Fn,"AbstractMap/AbstractEntry",494);$(397,494,{494:1,397:1,44:1},Nq);var E3i=j(Fn,"AbstractMap/SimpleEntry",397);$(2082,1,lde),w.Fb=i(function(n){var s;return $e(n,44)?(s=y(n,44),kc(this.ld(),s.ld())&&kc(this.md(),s.md())):!1},"ylb"),w.Hb=i(function(){return J4(this.ld())^J4(this.md())},"zlb"),w.Ib=i(function(){return this.ld()+"="+this.md()},"Alb");var S3i=j(Fn,Rzt,2082);$(2090,2065,ZMe),w.Xc=i(function(n){return noe(this.Ee(n))},"Dlb"),w.tc=i(function(n){return TDt(this,n)},"Elb"),w._b=i(function(n){return eAe(this,n)},"Flb"),w.vc=i(function(){return new _se(this)},"Glb"),w.Tc=i(function(){return P8t(this.Ge())},"Hlb"),w.Yc=i(function(n){return noe(this.He(n))},"Ilb"),w.xc=i(function(n){var s;return s=n,Il(this.Fe(s))},"Jlb"),w.$c=i(function(n){return noe(this.Ie(n))},"Llb"),w.ec=i(function(){return new axt(this)},"Mlb"),w.Vc=i(function(){return P8t(this.Je())},"Nlb"),w._c=i(function(n){return noe(this.Ke(n))},"Olb");var A3i=j(Fn,"AbstractNavigableMap",2090);$(629,Xg,ph,_se),w.Hc=i(function(n){return $e(n,44)&&TDt(this.b,y(n,44))},"Qlb"),w.Kc=i(function(){return this.b.De()},"Rlb"),w.Mc=i(function(n){var s;return $e(n,44)?(s=y(n,44),this.b.Le(s)):!1},"Slb"),w.gc=i(function(){return this.b.gc()},"Tlb");var R3i=j(Fn,"AbstractNavigableMap/EntrySet",629);$(1146,Xg,e9e,axt),w.Nc=i(function(){return new Mq(this)},"$lb"),w.$b=i(function(){this.a.$b()},"Vlb"),w.Hc=i(function(n){return eAe(this.a,n)},"Wlb"),w.Kc=i(function(){var n;return n=this.a.vc().b.De(),new sxt(n)},"Xlb"),w.Mc=i(function(n){return eAe(this.a,n)?(this.a.Bc(n),!0):!1},"Ylb"),w.gc=i(function(){return this.a.gc()},"Zlb");var L3i=j(Fn,"AbstractNavigableMap/NavigableKeySet",1146);$(1147,1,lo,sxt),w.Nb=i(function(n){Co(this,n)},"amb"),w.Ob=i(function(){return uoe(this.a.a)},"bmb"),w.Pb=i(function(){var n;return n=a6t(this.a),n.ld()},"cmb"),w.Qb=i(function(){hAt(this.a)},"dmb");var D3i=j(Fn,"AbstractNavigableMap/NavigableKeySet/1",1147);$(2103,31,l3),w.Fc=i(function(n){return m5(_7(this,n),Q7),!0},"emb"),w.Gc=i(function(n){return ln(n),tF(n!=this,"Can't add a queue to itself"),xo(this,n)},"fmb"),w.$b=i(function(){for(;Wce(this)!=null;);},"gmb");var _3i=j(Fn,"AbstractQueue",2103);$(310,31,{4:1,20:1,31:1,16:1},tC,hLt),w.Fc=i(function(n){return i7e(this,n),!0},"ymb"),w.$b=i(function(){u7e(this)},"Amb"),w.Hc=i(function(n){return Q9t(new vM(this),n)},"Bmb"),w.dc=i(function(){return A_(this)},"Cmb"),w.Kc=i(function(){return new vM(this)},"Dmb"),w.Mc=i(function(n){return Nan(new vM(this),n)},"Emb"),w.gc=i(function(){return this.c-this.b&this.a.length-1},"Fmb"),w.Nc=i(function(){return new Ar(this,272)},"Gmb"),w.Qc=i(function(n){var s;return s=this.c-this.b&this.a.length-1,n.lengths&&Ka(n,s,null),n},"Hmb"),w.b=0,w.c=0;var M3i=j(Fn,"ArrayDeque",310);$(459,1,lo,vM),w.Nb=i(function(n){Co(this,n)},"Lmb"),w.Ob=i(function(){return this.a!=this.b},"Mmb"),w.Pb=i(function(){return cK(this)},"Nmb"),w.Qb=i(function(){WMt(this)},"Omb"),w.a=0,w.b=0,w.c=-1;var I3i=j(Fn,"ArrayDeque/IteratorImpl",459);$(13,56,Uzt,Mt,pu,Sh),w.bd=i(function(n,s){Cx(this,n,s)},"enb"),w.Fc=i(function(n){return It(this,n)},"fnb"),w.cd=i(function(n,s){return QRe(this,n,s)},"gnb"),w.Gc=i(function(n){return Rs(this,n)},"hnb"),w.$b=i(function(){wk(this.c,0)},"inb"),w.Hc=i(function(n){return Pl(this,n,0)!=-1},"jnb"),w.Jc=i(function(n){Lu(this,n)},"knb"),w.Xb=i(function(n){return Xt(this,n)},"lnb"),w.dd=i(function(n){return Pl(this,n,0)},"mnb"),w.dc=i(function(){return this.c.length==0},"nnb"),w.Kc=i(function(){return new ge(this)},"onb"),w.gd=i(function(n){return My(this,n)},"pnb"),w.Mc=i(function(n){return Wu(this,n)},"qnb"),w.ce=i(function(n,s){NRt(this,n,s)},"rnb"),w.hd=i(function(n,s){return cd(this,n,s)},"snb"),w.gc=i(function(){return this.c.length},"tnb"),w.jd=i(function(n){gs(this,n)},"unb"),w.Pc=i(function(){return SW(this.c)},"vnb"),w.Qc=i(function(n){return Wg(this,n)},"wnb");var kEn=j(Fn,"ArrayList",13);$(7,1,lo,ge),w.Nb=i(function(n){Co(this,n)},"Bnb"),w.Ob=i(function(){return tc(this)},"Cnb"),w.Pb=i(function(){return pe(this)},"Dnb"),w.Qb=i(function(){pM(this)},"Enb"),w.a=0,w.b=-1;var N3i=j(Fn,"ArrayList/1",7);$(2112,p.Function,{},ae),w.Me=i(function(n,s){return ga(n,s)},"job"),$(151,56,Vzt,Eh),w.Hc=i(function(n){return YMt(this,n)!=-1},"nob"),w.Jc=i(function(n){var s,u,d,g;for(ln(n),u=this.a,d=0,g=u.length;d0)throw me(new Jr(u9e+n+" greater than "+this.e));return this.f.Te()?nRt(this.c,this.b,this.a,n,s):ORt(this.c,n,s)},"Uzb"),w.zc=i(function(n,s){if(!xhe(this.c,this.f,n,this.b,this.a,this.e,this.d))throw me(new Jr(n+" outside the range "+this.b+" to "+this.e));return pIt(this.c,n,s)},"Vzb"),w.Bc=i(function(n){var s;return s=n,xhe(this.c,this.f,s,this.b,this.a,this.e,this.d)?iRt(this.c,s):null},"Wzb"),w.Le=i(function(n){return qW(this,n.ld())&&L7e(this.c,n)},"Xzb"),w.gc=i(function(){var n,s,u;if(this.f.Te()?this.a?s=C7(this.c,this.b,!0):s=C7(this.c,this.b,!1):s=$7e(this.c),!(s&&qW(this,s.d)&&s))return 0;for(n=0,u=new oue(this.c,this.f,this.b,this.a,this.e,this.d);uoe(u.a);u.b=y(M8e(u.a),44))++n;return n},"Yzb"),w.ad=i(function(n,s){if(this.f.Te()&&this.c.a.Ne(n,this.b)<0)throw me(new Jr(u9e+n+Wzt+this.b));return this.f.Ue()?nRt(this.c,n,s,this.e,this.d):PRt(this.c,n,s)},"Zzb"),w.a=!1,w.d=!1;var rCi=j(Fn,"TreeMap/SubMap",631);$(304,22,fde,Iq),w.Te=i(function(){return!1},"eAb"),w.Ue=i(function(){return!1},"fAb");var Ige,Nge,Oge,Pge,FQ=Vn(Fn,"TreeMap/SubMapType",304,Zn,oon,yen);$(1143,304,fde,c5t),w.Ue=i(function(){return!0},"jAb");var nCi=Vn(Fn,"TreeMap/SubMapType/1",1143,FQ,null,null);$(1144,304,fde,b5t),w.Te=i(function(){return!0},"lAb"),w.Ue=i(function(){return!0},"mAb");var iCi=Vn(Fn,"TreeMap/SubMapType/2",1144,FQ,null,null);$(1145,304,fde,l5t),w.Te=i(function(){return!0},"oAb");var aCi=Vn(Fn,"TreeMap/SubMapType/3",1145,FQ,null,null),LWt;$(157,Xg,{3:1,20:1,31:1,16:1,277:1,21:1,87:1,157:1},LSe,Cy,l8),w.Nc=i(function(){return new Mq(this)},"GAb"),w.Fc=i(function(n){return iF(this,n)},"AAb"),w.$b=i(function(){this.a.$b()},"BAb"),w.Hc=i(function(n){return this.a._b(n)},"CAb"),w.Kc=i(function(){return this.a.ec().Kc()},"DAb"),w.Mc=i(function(n){return tle(this,n)},"EAb"),w.gc=i(function(){return this.a.gc()},"FAb");var LEn=j(Fn,"TreeSet",157);$(1082,1,{},uxt),w.Ve=i(function(n,s){return NZr(this.a,n,s)},"KAb");var sCi=j(dde,"BinaryOperator/lambda$0$Type",1082);$(1083,1,{},hxt),w.Ve=i(function(n,s){return OZr(this.a,n,s)},"MAb");var oCi=j(dde,"BinaryOperator/lambda$1$Type",1083);$(952,1,{},Ot),w.Kb=i(function(n){return n},"OAb");var lCi=j(dde,"Function/lambda$0$Type",952);$(395,1,gi,c8),w.Mb=i(function(n){return!this.a.Mb(n)},"QAb");var cCi=j(dde,"Predicate/lambda$2$Type",395);$(581,1,{581:1});var DWt=j(E9,"Handler",581);$(2107,1,B$),w.xe=i(function(){return"DUMMY"},"TAb"),w.Ib=i(function(){return this.xe()},"UAb");var wPe,uCi=j(E9,"Level",2107);$(1706,2107,B$,yr),w.xe=i(function(){return"INFO"},"WAb");var hCi=j(E9,"Level/LevelInfo",1706);$(1843,1,{},B3t);var Bge,fCi=j(E9,"LogManager",1843);$(1896,1,B$,uAt),w.b=null;var dCi=j(E9,"LogRecord",1896);$(525,1,{525:1},Sce),w.e=!1;var _Wt=!1,MWt=!1,e0=!1,IWt=!1,NWt=!1,pCi=j(E9,"Logger",525);$(835,581,{581:1},tr);var gCi=j(E9,"SimpleConsoleLogHandler",835);$(108,22,{3:1,34:1,22:1,108:1},doe);var xPe,Wl,b3,Ll=Vn(Ds,"Collector/Characteristics",108,Zn,Yan,ben),OWt;$(758,1,{},h8e);var mCi=j(Ds,"CollectorImpl",758);$(1074,1,{},Xe),w.Ve=i(function(n,s){return Rfn(y(n,213),y(s,213))},"SBb");var yCi=j(Ds,"Collectors/10methodref$merge$Type",1074);$(1075,1,{},Rt),w.Kb=i(function(n){return fLt(y(n,213))},"UBb");var bCi=j(Ds,"Collectors/11methodref$toString$Type",1075);$(1076,1,{},fxt),w.Kb=i(function(n){return Hr(),!!a6e(n)},"WBb");var vCi=j(Ds,"Collectors/12methodref$test$Type",1076);$(144,1,{},ft),w.Yd=i(function(n,s){y(n,16).Fc(s)},"YBb");var wCi=j(Ds,"Collectors/20methodref$add$Type",144);$(146,1,{},bt),w.Xe=i(function(){return new Mt},"$Bb");var xCi=j(Ds,"Collectors/21methodref$ctor$Type",146);$(359,1,{},Me),w.Xe=i(function(){return new ys},"aCb");var TCi=j(Ds,"Collectors/23methodref$ctor$Type",359);$(360,1,{},Fe),w.Yd=i(function(n,s){As(y(n,49),s)},"cCb");var kCi=j(Ds,"Collectors/24methodref$add$Type",360);$(1069,1,{},je),w.Ve=i(function(n,s){return nEt(y(n,15),y(s,16))},"eCb");var CCi=j(Ds,"Collectors/4methodref$addAll$Type",1069);$(1073,1,{},He),w.Yd=i(function(n,s){D1(y(n,213),y(s,484))},"gCb");var ECi=j(Ds,"Collectors/9methodref$add$Type",1073);$(1072,1,{},AAt),w.Xe=i(function(){return new W2(this.a,this.b,this.c)},"iCb");var SCi=j(Ds,"Collectors/lambda$15$Type",1072);$(1077,1,{},nt),w.Xe=i(function(){var n;return n=new _y,zy(n,(Hr(),!1),new Mt),zy(n,!0,new Mt),n},"kCb");var ACi=j(Ds,"Collectors/lambda$22$Type",1077);$(1078,1,{},dxt),w.Xe=i(function(){return Te(we(Hs,1),Gr,1,5,[this.a])},"mCb");var RCi=j(Ds,"Collectors/lambda$25$Type",1078);$(1079,1,{},pxt),w.Yd=i(function(n,s){enn(this.a,U2(n))},"oCb");var LCi=j(Ds,"Collectors/lambda$26$Type",1079);$(1080,1,{},gxt),w.Ve=i(function(n,s){return Rnn(this.a,U2(n),U2(s))},"qCb");var DCi=j(Ds,"Collectors/lambda$27$Type",1080);$(1081,1,{},ze),w.Kb=i(function(n){return U2(n)[0]},"sCb");var _Ci=j(Ds,"Collectors/lambda$28$Type",1081);$(728,1,{},se),w.Ve=i(function(n,s){return HAe(n,s)},"vCb");var MCi=j(Ds,"Collectors/lambda$4$Type",728);$(145,1,{},ke),w.Ve=i(function(n,s){return cQr(y(n,16),y(s,16))},"xCb");var ICi=j(Ds,"Collectors/lambda$42$Type",145);$(361,1,{},Le),w.Ve=i(function(n,s){return uQr(y(n,49),y(s,49))},"zCb");var NCi=j(Ds,"Collectors/lambda$50$Type",361);$(362,1,{},he),w.Kb=i(function(n){return y(n,49)},"BCb");var OCi=j(Ds,"Collectors/lambda$51$Type",362);$(1068,1,{},mxt),w.Yd=i(function(n,s){Nhn(this.a,y(n,85),s)},"DCb");var PCi=j(Ds,"Collectors/lambda$7$Type",1068);$(1070,1,{},Ne),w.Ve=i(function(n,s){return uhn(y(n,85),y(s,85),new je)},"FCb");var BCi=j(Ds,"Collectors/lambda$8$Type",1070);$(1071,1,{},yxt),w.Kb=i(function(n){return odn(this.a,y(n,85))},"HCb");var FCi=j(Ds,"Collectors/lambda$9$Type",1071);$(550,1,{}),w.$e=i(function(){bM(this)},"OCb"),w.d=!1;var $Ci=j(Ds,"TerminatableStream",550);$(827,550,h9e,V6e),w.$e=i(function(){bM(this)},"XCb");var GCi=j(Ds,"DoubleStreamImpl",827);$(1847,736,Pf,RAt),w.Re=i(function(n){return ugn(this,y(n,189))},"aDb"),w.a=null;var jCi=j(Ds,"DoubleStreamImpl/2",1847);$(1848,1,q$,bxt),w.Pe=i(function(n){nJr(this.a,n)},"cDb");var zCi=j(Ds,"DoubleStreamImpl/2/lambda$0$Type",1848);$(1845,1,q$,vxt),w.Pe=i(function(n){rJr(this.a,n)},"eDb");var UCi=j(Ds,"DoubleStreamImpl/lambda$0$Type",1845);$(1846,1,q$,wxt),w.Pe=i(function(n){RNt(this.a,n)},"gDb");var VCi=j(Ds,"DoubleStreamImpl/lambda$2$Type",1846);$(1397,735,Pf,yDt),w.Re=i(function(n){return Xsn(this,y(n,202))},"lDb"),w.a=0,w.b=0,w.c=0;var HCi=j(Ds,"IntStream/5",1397);$(806,550,h9e,H6e),w.$e=i(function(){bM(this)},"pDb"),w._e=i(function(){return Zb(this),this.a},"qDb");var qCi=j(Ds,"IntStreamImpl",806);$(807,550,h9e,m5e),w.$e=i(function(){bM(this)},"sDb"),w._e=i(function(){return Zb(this),S6e(),RWt},"tDb");var WCi=j(Ds,"IntStreamImpl/Empty",807);$(1687,1,$$,xxt),w.Dd=i(function(n){F9t(this.a,n)},"vDb");var YCi=j(Ds,"IntStreamImpl/lambda$4$Type",1687),DEn=Va(Ds,"Stream");$(26,550,{533:1,687:1,848:1},Tr),w.$e=i(function(){bM(this)},"TDb");var u6,KCi=j(Ds,"StreamImpl",26);$(1102,500,Pf,rAt),w.Bd=i(function(n){for(;Zln(this);){if(this.a.Bd(n))return!0;bM(this.b),this.b=null,this.a=null}return!1},"ZDb");var XCi=j(Ds,"StreamImpl/1",1102);$(1103,1,vn,Txt),w.Cd=i(function(n){Srn(this.a,y(n,848))},"_Db");var QCi=j(Ds,"StreamImpl/1/lambda$0$Type",1103);$(1104,1,gi,kxt),w.Mb=i(function(n){return As(this.a,n)},"bEb");var JCi=j(Ds,"StreamImpl/1methodref$add$Type",1104);$(1105,500,Pf,P7t),w.Bd=i(function(n){var s;return this.a||(s=new Mt,this.b.a.Nb(new Cxt(s)),Dr(),gs(s,this.c),this.a=new Ar(s,16)),vMt(this.a,n)},"dEb"),w.a=null;var ZCi=j(Ds,"StreamImpl/5",1105);$(1106,1,vn,Cxt),w.Cd=i(function(n){It(this.a,n)},"fEb");var eEi=j(Ds,"StreamImpl/5/2methodref$add$Type",1106);$(737,500,Pf,G7e),w.Bd=i(function(n){for(this.b=!1;!this.b&&this.c.Bd(new wEt(this,n)););return this.b},"iEb"),w.b=!1;var tEi=j(Ds,"StreamImpl/FilterSpliterator",737);$(1096,1,vn,wEt),w.Cd=i(function(n){Tnn(this.a,this.b,n)},"kEb");var rEi=j(Ds,"StreamImpl/FilterSpliterator/lambda$0$Type",1096);$(1091,736,Pf,RDt),w.Re=i(function(n){return ren(this,y(n,189))},"oEb");var nEi=j(Ds,"StreamImpl/MapToDoubleSpliterator",1091);$(1095,1,vn,xEt),w.Cd=i(function(n){SQr(this.a,this.b,n)},"qEb");var iEi=j(Ds,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1095);$(1090,735,Pf,LDt),w.Re=i(function(n){return nen(this,y(n,202))},"uEb");var aEi=j(Ds,"StreamImpl/MapToIntSpliterator",1090);$(1094,1,vn,TEt),w.Cd=i(function(n){AQr(this.a,this.b,n)},"wEb");var sEi=j(Ds,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1094);$(734,500,Pf,E7e),w.Bd=i(function(n){return Z6t(this,n)},"AEb");var oEi=j(Ds,"StreamImpl/MapToObjSpliterator",734);$(1093,1,vn,kEt),w.Cd=i(function(n){RQr(this.a,this.b,n)},"CEb");var lEi=j(Ds,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1093);$(1092,500,Pf,i9t),w.Bd=i(function(n){for(;hoe(this.b,0);){if(!this.a.Bd(new Ee))return!1;this.b=Hd(this.b,1)}return this.a.Bd(n)},"EEb"),w.b=0;var cEi=j(Ds,"StreamImpl/SkipSpliterator",1092);$(1097,1,vn,Ee),w.Cd=i(function(n){},"GEb");var uEi=j(Ds,"StreamImpl/SkipSpliterator/lambda$0$Type",1097);$(626,1,vn,ye),w.Cd=i(function(n){ext(this,n)},"JEb");var hEi=j(Ds,"StreamImpl/ValueConsumer",626);$(1098,1,vn,be),w.Cd=i(function(n){M2()},"LEb");var fEi=j(Ds,"StreamImpl/lambda$0$Type",1098);$(1099,1,vn,ht),w.Cd=i(function(n){M2()},"NEb");var dEi=j(Ds,"StreamImpl/lambda$1$Type",1099);$(1100,1,{},Ext),w.Ve=i(function(n,s){return Oen(this.a,n,s)},"PEb");var pEi=j(Ds,"StreamImpl/lambda$4$Type",1100);$(1101,1,vn,CEt),w.Cd=i(function(n){jZr(this.b,this.a,n)},"REb");var gEi=j(Ds,"StreamImpl/lambda$5$Type",1101);$(1107,1,vn,Sxt),w.Cd=i(function(n){Jun(this.a,y(n,380))},"TEb");var mEi=j(Ds,"TerminatableStream/lambda$0$Type",1107);$(2142,1,{}),$(2014,1,{},Je);var yEi=j("javaemul.internal","ConsoleLogger",2014),_En=0;$(2134,1,{}),$(1830,1,vn,it),w.Cd=i(function(n){y(n,317)},"GFb");var bEi=j(J7,"BowyerWatsonTriangulation/lambda$0$Type",1830);$(1831,1,vn,Axt),w.Cd=i(function(n){xo(this.a,y(n,317).e)},"IFb");var vEi=j(J7,"BowyerWatsonTriangulation/lambda$1$Type",1831);$(1832,1,vn,lt),w.Cd=i(function(n){y(n,177)},"KFb");var wEi=j(J7,"BowyerWatsonTriangulation/lambda$2$Type",1832);$(1827,1,wi,Rxt),w.Ne=i(function(n,s){return Oon(this.a,y(n,177),y(s,177))},"OFb"),w.Fb=i(function(n){return this===n},"PFb"),w.Oe=i(function(){return new si(this)},"QFb");var xEi=j(J7,"NaiveMinST/lambda$0$Type",1827);$(449,1,{},y_);var TEi=j(J7,"NodeMicroLayout",449);$(177,1,{177:1},a5),w.Fb=i(function(n){var s;return $e(n,177)?(s=y(n,177),kc(this.a,s.a)&&kc(this.b,s.b)||kc(this.a,s.b)&&kc(this.b,s.a)):!1},"UFb"),w.Hb=i(function(){return J4(this.a)+J4(this.b)},"VFb");var MEn=j(J7,"TEdge",177);$(317,1,{317:1},EMe),w.Fb=i(function(n){var s;return $e(n,317)?(s=y(n,317),LY(this,s.a)&&LY(this,s.b)&&LY(this,s.c)):!1},"YFb"),w.Hb=i(function(){return J4(this.a)+J4(this.b)+J4(this.c)},"ZFb");var kEi=j(J7,"TTriangle",317);$(225,1,{225:1},sW);var CEi=j(J7,"Tree",225);$(1218,1,{},xRt);var EEi=j(Xzt,"Scanline",1218),PWt=Va(Xzt,Qzt);$(1758,1,{},mMt);var SEi=j(Vm,"CGraph",1758);$(316,1,{316:1},CRt),w.b=0,w.c=0,w.d=0,w.g=0,w.i=0,w.k=Ls;var AEi=j(Vm,"CGroup",316);$(830,1,{},MSe);var REi=j(Vm,"CGroup/CGroupBuilder",830);$(60,1,{60:1},P6t),w.Ib=i(function(){var n;return this.j?pi(this.j.Kb(this)):(C1($Q),$Q.o+"@"+(n=xx(this)>>>0,n.toString(16)))},"lGb"),w.f=0,w.i=Ls;var $Q=j(Vm,"CNode",60);$(829,1,{},ISe);var LEi=j(Vm,"CNode/CNodeBuilder",829),BWt;$(1590,1,{},Vt),w.ff=i(function(n,s){return 0},"yGb"),w.gf=i(function(n,s){return 0},"zGb");var DEi=j(Vm,Zzt,1590);$(1853,1,{},$t),w.cf=i(function(n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe;for(N=Pa,d=new ge(n.a.b);d.ad.d.c||d.d.c==x.d.c&&d.d.b0?n+this.n.d+this.n.a:0},"xKb"),w.kf=i(function(){var n,s,u,d,g;if(g=0,this.e)this.b?g=this.b.a:this.a[1][1]&&(g=this.a[1][1].kf());else if(this.g)g=kLe(this,khe(this,null,!0));else for(s=(pg(),Te(we(v3,1),kt,237,0,[yc,bu,bc])),u=0,d=s.length;u0?g+this.n.b+this.n.c:0},"yKb"),w.lf=i(function(){var n,s,u,d,g;if(this.g)for(n=khe(this,null,!1),u=(pg(),Te(we(v3,1),kt,237,0,[yc,bu,bc])),d=0,g=u.length;d0&&(d[0]+=this.d,u-=d[0]),d[2]>0&&(d[2]+=this.d,u-=d[2]),this.c.a=p.Math.max(0,u),this.c.d=s.d+n.d+(this.c.a-u)/2,d[1]=p.Math.max(d[1],u),x7e(this,bu,s.d+n.d+d[0]-(d[1]-u)/2,d)},"AKb"),w.b=null,w.d=0,w.e=!1,w.f=!1,w.g=!1;var zge=0,GQ=0,QEi=j(iw,"GridContainerCell",1538);$(471,22,{3:1,34:1,22:1,471:1},goe);var kv,em,Gp,WWt=Vn(iw,"HorizontalLabelAlignment",471,Zn,Xan,ken),YWt;$(314,217,{217:1,314:1},oRt,bMt,eRt),w.jf=i(function(){return jAt(this)},"WKb"),w.kf=i(function(){return $Ae(this)},"XKb"),w.a=0,w.c=!1;var IEn=j(iw,"LabelCell",314);$(252,336,{217:1,336:1,252:1},YM),w.jf=i(function(){return i9(this)},"eLb"),w.kf=i(function(){return a9(this)},"fLb"),w.lf=i(function(){hfe(this)},"iLb"),w.mf=i(function(){ffe(this)},"jLb"),w.b=0,w.c=0,w.d=!1;var JEi=j(iw,"StripContainerCell",252);$(1691,1,gi,pt),w.Mb=i(function(n){return kXr(y(n,217))},"lLb");var ZEi=j(iw,"StripContainerCell/lambda$0$Type",1691);$(1692,1,{},$n),w.Ye=i(function(n){return y(n,217).kf()},"nLb");var eSi=j(iw,"StripContainerCell/lambda$1$Type",1692);$(1693,1,gi,Gt),w.Mb=i(function(n){return CXr(y(n,217))},"pLb");var tSi=j(iw,"StripContainerCell/lambda$2$Type",1693);$(1694,1,{},Rn),w.Ye=i(function(n){return y(n,217).jf()},"rLb");var rSi=j(iw,"StripContainerCell/lambda$3$Type",1694);$(472,22,{3:1,34:1,22:1,472:1},moe);var jp,Cv,vg,KWt=Vn(iw,"VerticalLabelAlignment",472,Zn,Kan,Cen),XWt;$(800,1,{},zMe),w.c=0,w.d=0,w.k=0,w.s=0,w.t=0,w.v=!1,w.w=0,w.D=!1,w.F=!1;var nSi=j(AX,"NodeContext",800);$(1536,1,wi,Qn),w.Ne=i(function(n,s){return ZSt(y(n,64),y(s,64))},"GLb"),w.Fb=i(function(n){return this===n},"HLb"),w.Oe=i(function(){return new si(this)},"ILb");var iSi=j(AX,"NodeContext/0methodref$comparePortSides$Type",1536);$(1537,1,wi,En),w.Ne=i(function(n,s){return Zmn(y(n,117),y(s,117))},"KLb"),w.Fb=i(function(n){return this===n},"LLb"),w.Oe=i(function(){return new si(this)},"MLb");var aSi=j(AX,"NodeContext/1methodref$comparePortContexts$Type",1537);$(164,22,{3:1,34:1,22:1,164:1},fd);var QWt,JWt,ZWt,eYt,tYt,rYt,nYt,iYt,aYt,sYt,oYt,lYt,cYt,uYt,hYt,fYt,dYt,pYt,gYt,mYt,yYt,Uge,bYt=Vn(AX,"NodeLabelLocation",164,Zn,ehe,Een),vYt;$(117,1,{117:1},sFt),w.a=!1;var sSi=j(AX,"PortContext",117);$(1541,1,vn,di),w.Cd=i(function(n){bCt(y(n,314))},"LMb");var oSi=j(Y$,fUt,1541);$(1542,1,gi,Bn),w.Mb=i(function(n){return!!y(n,117).c},"NMb");var lSi=j(Y$,dUt,1542);$(1543,1,vn,mi),w.Cd=i(function(n){bCt(y(n,117).c)},"PMb");var cSi=j(Y$,"LabelPlacer/lambda$2$Type",1543),UPe;$(1540,1,vn,Qr),w.Cd=i(function(n){Lk(),rXr(y(n,117))},"ZMb");var uSi=j(Y$,"NodeLabelAndSizeUtilities/lambda$0$Type",1540);$(801,1,vn,bAe),w.Cd=i(function(n){mQr(this.b,this.c,this.a,y(n,187))},"eNb"),w.a=!1,w.c=!1;var hSi=j(Y$,"NodeLabelCellCreator/lambda$0$Type",801);$(1539,1,vn,_xt),w.Cd=i(function(n){aXr(this.a,y(n,187))},"lNb");var fSi=j(Y$,"PortContextCreator/lambda$0$Type",1539),jQ;$(1902,1,{},Pi);var dSi=j(eR,"GreedyRectangleStripOverlapRemover",1902);$(1903,1,wi,qa),w.Ne=i(function(n,s){return YJr(y(n,226),y(s,226))},"PNb"),w.Fb=i(function(n){return this===n},"QNb"),w.Oe=i(function(){return new si(this)},"RNb");var pSi=j(eR,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1903);$(1849,1,{},j3t),w.a=5,w.e=0;var gSi=j(eR,"RectangleStripOverlapRemover",1849);$(1850,1,wi,Ke),w.Ne=i(function(n,s){return KJr(y(n,226),y(s,226))},"bOb"),w.Fb=i(function(n){return this===n},"cOb"),w.Oe=i(function(){return new si(this)},"dOb");var mSi=j(eR,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1850);$(1852,1,wi,Tn),w.Ne=i(function(n,s){return Fnn(y(n,226),y(s,226))},"fOb"),w.Fb=i(function(n){return this===n},"gOb"),w.Oe=i(function(){return new si(this)},"hOb");var ySi=j(eR,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1852);$(417,22,{3:1,34:1,22:1,417:1},Oq);var wG,Vge,Hge,xG,wYt=Vn(eR,"RectangleStripOverlapRemover/OverlapRemovalDirection",417,Zn,uon,Sen),xYt;$(226,1,{226:1},_le);var bSi=j(eR,"RectangleStripOverlapRemover/RectangleNode",226);$(1851,1,vn,Mxt),w.Cd=i(function(n){Egn(this.a,y(n,226))},"uOb");var vSi=j(eR,"RectangleStripOverlapRemover/lambda$1$Type",1851);$(1323,1,wi,Ln),w.Ne=i(function(n,s){return Vkn(y(n,176),y(s,176))},"yOb"),w.Fb=i(function(n){return this===n},"zOb"),w.Oe=i(function(){return new si(this)},"AOb");var wSi=j(W0,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1323);$(1326,1,{},dt),w.Kb=i(function(n){return y(n,334).a},"COb");var xSi=j(W0,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1326);$(1327,1,gi,rr),w.Mb=i(function(n){return y(n,332).a},"EOb");var TSi=j(W0,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1327);$(1328,1,gi,Yr),w.Mb=i(function(n){return y(n,332).a},"GOb");var kSi=j(W0,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1328);$(1321,1,wi,An),w.Ne=i(function(n,s){return xxn(y(n,176),y(s,176))},"JOb"),w.Fb=i(function(n){return this===n},"KOb"),w.Oe=i(function(){return new si(this)},"LOb");var CSi=j(W0,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1321);$(1324,1,{},Cn),w.Kb=i(function(n){return y(n,334).a},"NOb");var ESi=j(W0,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1324);$(781,1,wi,es),w.Ne=i(function(n,s){return nhn(y(n,176),y(s,176))},"QOb"),w.Fb=i(function(n){return this===n},"ROb"),w.Oe=i(function(){return new si(this)},"SOb");var SSi=j(W0,"PolyominoCompactor/MinNumOfExtensionsComparator",781);$(1319,1,wi,vr),w.Ne=i(function(n,s){return hun(y(n,330),y(s,330))},"VOb"),w.Fb=i(function(n){return this===n},"WOb"),w.Oe=i(function(){return new si(this)},"XOb");var ASi=j(W0,"PolyominoCompactor/MinPerimeterComparator",1319);$(1320,1,wi,an),w.Ne=i(function(n,s){return Kpn(y(n,330),y(s,330))},"$Ob"),w.Fb=i(function(n){return this===n},"_Ob"),w.Oe=i(function(){return new si(this)},"aPb");var RSi=j(W0,"PolyominoCompactor/MinPerimeterComparatorWithShape",1320);$(1322,1,wi,Dn),w.Ne=i(function(n,s){return jxn(y(n,176),y(s,176))},"dPb"),w.Fb=i(function(n){return this===n},"ePb"),w.Oe=i(function(){return new si(this)},"fPb");var LSi=j(W0,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1322);$(1325,1,{},Ni),w.Kb=i(function(n){return y(n,334).a},"hPb");var DSi=j(W0,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1325);$(782,1,{},L5e),w.Ve=i(function(n,s){return ron(this,y(n,42),y(s,176))},"lPb");var _Si=j(W0,"SuccessorCombination",782);$(649,1,{},Gi),w.Ve=i(function(n,s){var u;return bbn((u=y(n,42),y(s,176),u))},"oPb");var MSi=j(W0,"SuccessorJitter",649);$(648,1,{},va),w.Ve=i(function(n,s){var u;return iwn((u=y(n,42),y(s,176),u))},"rPb");var ISi=j(W0,"SuccessorLineByLine",648);$(573,1,{},Ua),w.Ve=i(function(n,s){var u;return bvn((u=y(n,42),y(s,176),u))},"uPb");var NSi=j(W0,"SuccessorManhattan",573);$(1344,1,{},aa),w.Ve=i(function(n,s){var u;return R2n((u=y(n,42),y(s,176),u))},"xPb");var OSi=j(W0,"SuccessorMaxNormWindingInMathPosSense",1344);$(409,1,{},u8),w.Ve=i(function(n,s){return c8e(this,n,s)},"BPb"),w.c=!1,w.d=!1,w.e=!1,w.f=!1;var PSi=j(W0,"SuccessorQuadrantsGeneric",409);$(1345,1,{},Yn),w.Kb=i(function(n){return y(n,334).a},"DPb");var BSi=j(W0,"SuccessorQuadrantsGeneric/lambda$0$Type",1345);$(332,22,{3:1,34:1,22:1,332:1},Pq),w.a=!1;var TG,kG,CG,EG,TYt=Vn(LX,T9e,332,Zn,lon,Aen),kYt;$(1317,1,{}),w.Ib=i(function(){var n,s,u,d,g,x;for(u=" ",n=_t(0),g=0;g=0?"b"+n+"["+Ece(this.a)+"]":"b["+Ece(this.a)+"]"):"b_"+xx(this)},"XTb");var S5i=j(X$,"FBendpoint",250);$(290,137,{3:1,290:1,96:1,137:1},B6t),w.Ib=i(function(){return Ece(this)},"dUb");var A5i=j(X$,"FEdge",290);$(235,137,{3:1,235:1,96:1,137:1},vY);var OEn=j(X$,"FGraph",235);$(454,309,{3:1,454:1,309:1,96:1,137:1},$Lt),w.Ib=i(function(){return this.b==null||this.b.length==0?"l["+Ece(this.a)+"]":"l_"+this.b},"jUb");var R5i=j(X$,"FLabel",454);$(153,309,{3:1,153:1,309:1,96:1,137:1},y5t),w.Ib=i(function(){return X8e(this)},"mUb"),w.a=0;var L5i=j(X$,"FNode",153);$(2100,1,{}),w.vf=i(function(n){wMe(this,n)},"rUb"),w.wf=i(function(){GOt(this)},"sUb"),w.d=0;var D5i=j(_9e,"AbstractForceModel",2100);$(641,2100,{641:1},B9t),w.uf=i(function(n,s){var u,d,g,x,k;return djt(this.f,n,s),g=Us(ko(s.d),n.d),k=p.Math.sqrt(g.a*g.a+g.b*g.b),d=p.Math.max(0,k-yM(n.e)/2-yM(s.e)/2),u=KBt(this.e,n,s),u>0?x=-Onn(d,this.c)*u:x=uZr(d,this.b)*y(oe(n,(Fp(),h6)),17).a,N0(g,x/k),g},"vUb"),w.vf=i(function(n){wMe(this,n),this.a=y(oe(n,(Fp(),WQ)),17).a,this.c=Qe(rt(oe(n,YQ))),this.b=Qe(rt(oe(n,Jge)))},"wUb"),w.xf=i(function(n){return n0&&(x-=vXr(d,this.a)*u),N0(g,x*this.b/k),g},"BUb"),w.vf=i(function(n){var s,u,d,g,x,k,A;for(wMe(this,n),this.b=Qe(rt(oe(n,(Fp(),Zge)))),this.c=this.b/y(oe(n,WQ),17).a,d=n.e.c.length,x=0,g=0,A=new ge(n.e);A.a0},"EUb"),w.a=0,w.b=0,w.c=0;var M5i=j(_9e,"FruchtermanReingoldModel",642);$(860,1,Kd,M2t),w.hf=i(function(n){fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,MX),""),"Force Model"),"Determines the model for force calculation."),JPe),(Hy(),Ba)),ZPe),pr((mg(),Br))))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,M9e),""),"Iterations"),"The number of iterations on the force model."),_t(300)),Yl),Ro),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,I9e),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),_t(0)),Yl),Ro),pr(im)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,_de),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),Y0),Bo),Es),pr(Br)))),xs(n,_de,MX,UYt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,Mde),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),Bo),Es),pr(Br)))),xs(n,Mde,MX,GYt),tzt((new I2t,n))},"QUb");var BYt,FYt,JPe,$Yt,GYt,jYt,zYt,UYt,I5i=j(R9,"ForceMetaDataProvider",860);$(432,22,{3:1,34:1,22:1,432:1},_5e);var Qge,qQ,ZPe=Vn(R9,"ForceModelStrategy",432,Zn,ran,Den),VYt;$(Wy,1,Kd,I2t),w.hf=i(function(n){tzt(n)},"BVb");var HYt,qYt,eBe,WQ,tBe,WYt,YYt,KYt,XYt,rBe,QYt,nBe,iBe,JYt,h6,ZYt,Jge,aBe,eKt,tKt,YQ,Zge,rKt,nKt,iKt,sBe,aKt,N5i=j(R9,"ForceOptions",Wy);$(1001,1,{},Ur),w.sf=i(function(){var n;return n=new _Se,n},"DVb"),w.tf=i(function(n){},"EVb");var O5i=j(R9,"ForceOptions/ForceFactory",1001),RG,aI,f6,KQ;$(861,1,Kd,N2t),w.hf=i(function(n){fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,P9e),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(Hr(),!1)),(Hy(),qs)),os),pr((mg(),Gs))))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,B9e),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),Bo),Es),Sa(Br,Te(we(Qm,1),kt,170,0,[im]))))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,F9e),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),oBe),Ba),pBe),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,$9e),""),"Stress Epsilon"),"Termination criterion for the iterative process."),Y0),Bo),Es),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,G9e),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),_t(Yi)),Yl),Ro),pr(Br)))),Ljt((new O2t,n))},"SVb");var sKt,oKt,oBe,lKt,cKt,uKt,P5i=j(R9,"StressMetaDataProvider",861);$(1004,1,Kd,O2t),w.hf=i(function(n){Ljt(n)},"gWb");var XQ,lBe,cBe,uBe,hBe,fBe,hKt,fKt,dKt,pKt,dBe,gKt,B5i=j(R9,"StressOptions",1004);$(1005,1,{},Ii),w.sf=i(function(){var n;return n=new F6t,n},"iWb"),w.tf=i(function(n){},"jWb");var F5i=j(R9,"StressOptions/StressFactory",1005);$(1110,205,aw,F6t),w.rf=i(function(n,s){var u,d,g,x,k;for(s.Ug(EUt,1),Kt(Yt(Ct(n,(c$(),hBe))))?Kt(Yt(Ct(n,dBe)))||fF((u=new y_((gx(),new ox(n))),u)):qFt(new _Se,n,s.eh(1)),g=oIt(n),d=FGt(this.a,g),k=d.Kc();k.Ob();)x=y(k.Pb(),235),!(x.e.c.length<=1)&&(jkn(this.b,x),dvn(this.b),Lu(x.d,new Nt));g=Jjt(d),lzt(g),s.Vg()},"lWb");var $5i=j(OX,"StressLayoutProvider",1110);$(1111,1,vn,Nt),w.Cd=i(function(n){RMe(y(n,454))},"nWb");var G5i=j(OX,"StressLayoutProvider/lambda$0$Type",1111);$(1002,1,{},P3t),w.c=0,w.e=0,w.g=0;var j5i=j(OX,"StressMajorization",1002);$(391,22,{3:1,34:1,22:1,391:1},yoe);var e0e,t0e,r0e,pBe=Vn(OX,"StressMajorization/Dimension",391,Zn,Jan,_en),mKt;$(1003,1,wi,Pxt),w.Ne=i(function(n,s){return aen(this.a,y(n,153),y(s,153))},"HWb"),w.Fb=i(function(n){return this===n},"IWb"),w.Oe=i(function(){return new si(this)},"JWb");var z5i=j(OX,"StressMajorization/lambda$0$Type",1003);$(1192,1,{},VRt);var U5i=j(a6,"ElkLayered",1192);$(1193,1,vn,Bxt),w.Cd=i(function(n){zyn(this.a,y(n,36))},"VWb");var V5i=j(a6,"ElkLayered/lambda$0$Type",1193);$(1194,1,vn,Fxt),w.Cd=i(function(n){sen(this.a,y(n,36))},"XWb");var H5i=j(a6,"ElkLayered/lambda$1$Type",1194);$(1281,1,{},A5t);var yKt,bKt,vKt,q5i=j(a6,"GraphConfigurator",1281);$(770,1,vn,gSe),w.Cd=i(function(n){ZPt(this.a,y(n,10))},"gXb");var W5i=j(a6,"GraphConfigurator/lambda$0$Type",770);$(771,1,{},dl),w.Kb=i(function(n){return yDe(),new Tr(null,new Ar(y(n,30).a,16))},"iXb");var Y5i=j(a6,"GraphConfigurator/lambda$1$Type",771);$(772,1,vn,mSe),w.Cd=i(function(n){ZPt(this.a,y(n,10))},"kXb");var K5i=j(a6,"GraphConfigurator/lambda$2$Type",772);$(1109,205,aw,z3t),w.rf=i(function(n,s){var u;u=Tkn(new V3t,n),Ze(Ct(n,(Ht(),L3)))===Ze((O1(),ab))?edn(this.a,u,s):cvn(this.a,u,s),s.$g()||Hjt(new P2t,u)},"mXb");var X5i=j(a6,"LayeredLayoutProvider",1109);$(367,22,{3:1,34:1,22:1,367:1},SB);var zp,Ym,zc,eu,$l,gBe=Vn(a6,"LayeredPhases",367,Zn,rln,Men),wKt;$(1717,1,{},t9t),w.i=0;var xKt,Q5i=j(rG,"ComponentsToCGraphTransformer",1717),TKt;$(1718,1,{},ut),w.yf=i(function(n,s){return p.Math.min(n.a!=null?Qe(n.a):n.c.i,s.a!=null?Qe(s.a):s.c.i)},"GXb"),w.zf=i(function(n,s){return p.Math.min(n.a!=null?Qe(n.a):n.c.i,s.a!=null?Qe(s.a):s.c.i)},"HXb");var J5i=j(rG,"ComponentsToCGraphTransformer/1",1718);$(86,1,{86:1}),w.i=0,w.k=!0,w.o=Ls;var n0e=j(M9,"CNode",86);$(470,86,{470:1,86:1},O6e,HLe),w.Ib=i(function(){return""},"KXb");var Z5i=j(rG,"ComponentsToCGraphTransformer/CRectNode",470);$(1688,1,{},On);var i0e,a0e,e6i=j(rG,"OneDimensionalComponentsCompaction",1688);$(1689,1,{},La),w.Kb=i(function(n){return Uan(y(n,42))},"_Xb"),w.Fb=i(function(n){return this===n},"aYb");var t6i=j(rG,"OneDimensionalComponentsCompaction/lambda$0$Type",1689);$(1690,1,{},la),w.Kb=i(function(n){return rdn(y(n,42))},"cYb"),w.Fb=i(function(n){return this===n},"dYb");var r6i=j(rG,"OneDimensionalComponentsCompaction/lambda$1$Type",1690);$(1720,1,{},Q8t);var n6i=j(M9,"CGraph",1720);$(194,1,{194:1},Que),w.b=0,w.c=0,w.e=0,w.g=!0,w.i=Ls;var i6i=j(M9,"CGroup",194);$(1719,1,{},Na),w.yf=i(function(n,s){return p.Math.max(n.a!=null?Qe(n.a):n.c.i,s.a!=null?Qe(s.a):s.c.i)},"mYb"),w.zf=i(function(n,s){return p.Math.max(n.a!=null?Qe(n.a):n.c.i,s.a!=null?Qe(s.a):s.c.i)},"nYb");var a6i=j(M9,Zzt,1719);$(1721,1,{},QBt),w.d=!1;var kKt,s0e=j(M9,rUt,1721);$(1722,1,{},Su),w.Kb=i(function(n){return b5e(),Hr(),y(y(n,42).a,86).d.e!=0},"GYb"),w.Fb=i(function(n){return this===n},"HYb");var s6i=j(M9,nUt,1722);$(833,1,{},qAe),w.a=!1,w.b=!1,w.c=!1,w.d=!1;var o6i=j(M9,iUt,833);$(1898,1,{},d8t);var l6i=j(PX,aUt,1898),LG=Va(ow,Qzt);$(1899,1,{382:1},W7t),w.bf=i(function(n){ywn(this,y(n,476))},"VYb");var c6i=j(PX,sUt,1899);$(mv,1,wi,Ch),w.Ne=i(function(n,s){return Sin(y(n,86),y(s,86))},"YYb"),w.Fb=i(function(n){return this===n},"ZYb"),w.Oe=i(function(){return new si(this)},"$Yb");var u6i=j(PX,oUt,mv);$(476,1,{476:1},I5e),w.a=!1;var h6i=j(PX,lUt,476);$(1901,1,wi,ed),w.Ne=i(function(n,s){return A0n(y(n,476),y(s,476))},"bZb"),w.Fb=i(function(n){return this===n},"cZb"),w.Oe=i(function(){return new si(this)},"dZb");var f6i=j(PX,cUt,1901);$(148,1,{148:1},k8,LAe),w.Fb=i(function(n){var s;return n==null||PEn!=gf(n)?!1:(s=y(n,148),kc(this.c,s.c)&&kc(this.d,s.d))},"gZb"),w.Hb=i(function(){return KF(Te(we(Hs,1),Gr,1,5,[this.c,this.d]))},"hZb"),w.Ib=i(function(){return"("+this.c+Ho+this.d+(this.a?"cx":"")+this.b+")"},"iZb"),w.a=!0,w.c=0,w.d=0;var PEn=j(ow,"Point",148);$(416,22,{3:1,34:1,22:1,416:1},Fq);var pT,w3,VC,x3,CKt=Vn(ow,"Point/Quadrant",416,Zn,hon,Ien),EKt;$(1708,1,{},G3t),w.b=null,w.c=null,w.d=null,w.e=null,w.f=null;var SKt,AKt,RKt,LKt,DKt,d6i=j(ow,"RectilinearConvexHull",1708);$(583,1,{382:1},RK),w.bf=i(function(n){tcn(this,y(n,148))},"QZb"),w.b=0;var mBe,p6i=j(ow,"RectilinearConvexHull/MaximalElementsEventHandler",583);$(1710,1,wi,td),w.Ne=i(function(n,s){return Ain(rt(n),rt(s))},"TZb"),w.Fb=i(function(n){return this===n},"UZb"),w.Oe=i(function(){return new si(this)},"VZb");var g6i=j(ow,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1710);$(1709,1,{382:1},yMt),w.bf=i(function(n){M2n(this,y(n,148))},"YZb"),w.a=0,w.b=null,w.c=null,w.d=null,w.e=null;var m6i=j(ow,"RectilinearConvexHull/RectangleEventHandler",1709);$(1711,1,wi,Hh),w.Ne=i(function(n,s){return Osn(y(n,148),y(s,148))},"$Zb"),w.Fb=i(function(n){return this===n},"_Zb"),w.Oe=i(function(){return new si(this)},"a$b");var y6i=j(ow,"RectilinearConvexHull/lambda$0$Type",1711);$(1712,1,wi,Vu),w.Ne=i(function(n,s){return Psn(y(n,148),y(s,148))},"c$b"),w.Fb=i(function(n){return this===n},"d$b"),w.Oe=i(function(){return new si(this)},"e$b");var b6i=j(ow,"RectilinearConvexHull/lambda$1$Type",1712);$(1713,1,wi,REe),w.Ne=i(function(n,s){return Nsn(y(n,148),y(s,148))},"g$b"),w.Fb=i(function(n){return this===n},"h$b"),w.Oe=i(function(){return new si(this)},"i$b");var v6i=j(ow,"RectilinearConvexHull/lambda$2$Type",1713);$(1714,1,wi,jb),w.Ne=i(function(n,s){return Bsn(y(n,148),y(s,148))},"k$b"),w.Fb=i(function(n){return this===n},"l$b"),w.Oe=i(function(){return new si(this)},"m$b");var w6i=j(ow,"RectilinearConvexHull/lambda$3$Type",1714);$(1715,1,wi,lB),w.Ne=i(function(n,s){return p1n(y(n,148),y(s,148))},"o$b"),w.Fb=i(function(n){return this===n},"p$b"),w.Oe=i(function(){return new si(this)},"q$b");var x6i=j(ow,"RectilinearConvexHull/lambda$4$Type",1715);$(1716,1,{},TRt);var T6i=j(ow,"Scanline",1716);$(2104,1,{});var k6i=j(Jg,"AbstractGraphPlacer",2104);$(335,1,{335:1},c6t),w.Ff=i(function(n){return this.Gf(n)?(Sr(this.b,y(oe(n,(At(),W1)),21),n),!0):!1},"D$b"),w.Gf=i(function(n){var s,u,d,g;for(s=y(oe(n,(At(),W1)),21),g=y(ta(ya,s),21),d=g.Kc();d.Ob();)if(u=y(d.Pb(),21),!y(ta(this.b,u),15).dc())return!1;return!0},"E$b");var ya,C6i=j(Jg,"ComponentGroup",335);$(779,2104,{},NSe),w.Hf=i(function(n){var s,u;for(u=new ge(this.a);u.au&&(B=0,U+=A+d,A=0),D=x.c,F7(x,B+D.a,U+D.b),lg(D),g=p.Math.max(g,B+N.a),A=p.Math.max(A,N.b),B+=N.a+d;s.f.a=g,s.f.b=U+A},"X_b"),w.Jf=i(function(n,s){var u,d,g,x,k;if(Ze(oe(s,(Ht(),R3)))===Ze((Q2(),T3))){for(d=n.Kc();d.Ob();){for(u=y(d.Pb(),36),k=0,x=new ge(u.a);x.au&&!y(oe(x,(At(),W1)),21).Hc((Bt(),en))||D&&y(oe(D,(At(),W1)),21).Hc((Bt(),pn))||y(oe(x,(At(),W1)),21).Hc((Bt(),on)))&&(ee=U,ne+=A+d,A=0),N=x.c,y(oe(x,(At(),W1)),21).Hc((Bt(),en))&&(ee=g+d),F7(x,ee+N.a,ne+N.b),g=p.Math.max(g,ee+B.a),y(oe(x,W1),21).Hc(Gn)&&(U=p.Math.max(U,ee+B.a+d)),lg(N),A=p.Math.max(A,B.b),ee+=B.a+d,D=x;s.f.a=g,s.f.b=ne+A},"$_b"),w.Jf=i(function(n,s){},"__b");var $6i=j(Jg,"ModelOrderRowGraphPlacer",1313);$(1311,1,wi,ix),w.Ne=i(function(n,s){return ehn(y(n,36),y(s,36))},"c0b"),w.Fb=i(function(n){return this===n},"d0b"),w.Oe=i(function(){return new si(this)},"e0b");var G6i=j(Jg,"SimpleRowGraphPlacer/1",1311),MKt;$(1280,1,q0,WH),w.Lb=i(function(n){var s;return s=y(oe(y(n,249).b,(Ht(),Dl)),75),!!s&&s.b!=0},"m0b"),w.Fb=i(function(n){return this===n},"n0b"),w.Mb=i(function(n){var s;return s=y(oe(y(n,249).b,(Ht(),Dl)),75),!!s&&s.b!=0},"o0b");var j6i=j(BX,"CompoundGraphPostprocessor/1",1280);$(1279,1,Ca,H3t),w.Kf=i(function(n,s){wOt(this,y(n,36),s)},"F0b");var z6i=j(BX,"CompoundGraphPreprocessor",1279);$(453,1,{453:1},uNt),w.c=!1;var U6i=j(BX,"CompoundGraphPreprocessor/ExternalPort",453);$(249,1,{249:1},vW),w.Ib=i(function(){return sle(this.c)+":"+HBt(this.b)},"K0b");var V6i=j(BX,"CrossHierarchyEdge",249);$(777,1,wi,ySe),w.Ne=i(function(n,s){return t0n(this,y(n,249),y(s,249))},"N0b"),w.Fb=i(function(n){return this===n},"O0b"),w.Oe=i(function(){return new si(this)},"Q0b");var H6i=j(BX,"CrossHierarchyEdgeComparator",777);$(305,137,{3:1,305:1,96:1,137:1}),w.p=0;var q6i=j(Jc,"LGraphElement",305);$(18,305,{3:1,18:1,305:1,96:1,137:1},Ix),w.Ib=i(function(){return HBt(this)},"b1b");var c0e=j(Jc,"LEdge",18);$(36,305,{3:1,20:1,36:1,305:1,96:1,137:1},oRe),w.Jc=i(function(n){So(this,n)},"e1b"),w.Kc=i(function(){return new ge(this.b)},"f1b"),w.Ib=i(function(){return this.b.c.length==0?"G-unlayered"+hv(this.a):this.a.c.length==0?"G-layered"+hv(this.b):"G[layerless"+hv(this.a)+", layers"+hv(this.b)+"]"},"g1b");var IKt=j(Jc,"LGraph",36),NKt;$(666,1,{}),w.Lf=i(function(){return this.e.n},"j1b"),w.of=i(function(n){return oe(this.e,n)},"k1b"),w.Mf=i(function(){return this.e.o},"l1b"),w.Nf=i(function(){return this.e.p},"m1b"),w.pf=i(function(n){return Ea(this.e,n)},"n1b"),w.Of=i(function(n){this.e.n.a=n.a,this.e.n.b=n.b},"o1b"),w.Pf=i(function(n){this.e.o.a=n.a,this.e.o.b=n.b},"p1b"),w.Qf=i(function(n){this.e.p=n},"q1b");var W6i=j(Jc,"LGraphAdapters/AbstractLShapeAdapter",666);$(474,1,{853:1},b_),w.Rf=i(function(){var n,s;if(!this.b)for(this.b=Dm(this.a.b.c.length),s=new ge(this.a.b);s.a0&&jIt((Zr(s-1,n.length),n.charCodeAt(s-1)),_Ut);)--s;if(x> ",n),FK(u)),Ei(qc((n.a+="[",n),u.i),"]")),n.a},"S3b"),w.c=!0,w.d=!1;var xBe,h0e,TBe,f0e,kBe,CBe,PKt=j(Jc,"LPort",12);$(408,1,jm,h8),w.Jc=i(function(n){So(this,n)},"U3b"),w.Kc=i(function(){var n;return n=new ge(this.a.e),new $xt(n)},"V3b");var oAi=j(Jc,"LPort/1",408);$(1309,1,lo,$xt),w.Nb=i(function(n){Co(this,n)},"X3b"),w.Pb=i(function(){return y(pe(this.a),18).c},"Z3b"),w.Ob=i(function(){return tc(this.a)},"Y3b"),w.Qb=i(function(){pM(this.a)},"$3b");var lAi=j(Jc,"LPort/1/1",1309);$(369,1,jm,YS),w.Jc=i(function(n){So(this,n)},"a4b"),w.Kc=i(function(){var n;return n=new ge(this.a.g),new bSe(n)},"b4b");var cAi=j(Jc,"LPort/2",369);$(776,1,lo,bSe),w.Nb=i(function(n){Co(this,n)},"d4b"),w.Pb=i(function(){return y(pe(this.a),18).d},"f4b"),w.Ob=i(function(){return tc(this.a)},"e4b"),w.Qb=i(function(){pM(this.a)},"g4b");var uAi=j(Jc,"LPort/2/1",776);$(1302,1,jm,REt),w.Jc=i(function(n){So(this,n)},"i4b"),w.Kc=i(function(){return new zg(this)},"j4b");var hAi=j(Jc,"LPort/CombineIter",1302);$(208,1,lo,zg),w.Nb=i(function(n){Co(this,n)},"m4b"),w.Qb=i(function(){sCt()},"p4b"),w.Ob=i(function(){return nM(this)},"n4b"),w.Pb=i(function(){return tc(this.a)?pe(this.a):pe(this.b)},"o4b");var fAi=j(Jc,"LPort/CombineIter/1",208);$(1303,1,q0,udt),w.Lb=i(function(n){return A8t(n)},"s4b"),w.Fb=i(function(n){return this===n},"t4b"),w.Mb=i(function(n){return fh(),y(n,12).g.c.length!=0},"u4b");var dAi=j(Jc,"LPort/lambda$0$Type",1303);$(1304,1,q0,hdt),w.Lb=i(function(n){return R8t(n)},"x4b"),w.Fb=i(function(n){return this===n},"y4b"),w.Mb=i(function(n){return fh(),y(n,12).e.c.length!=0},"z4b");var pAi=j(Jc,"LPort/lambda$1$Type",1304);$(1305,1,q0,fdt),w.Lb=i(function(n){return fh(),y(n,12).j==(Bt(),en)},"B4b"),w.Fb=i(function(n){return this===n},"C4b"),w.Mb=i(function(n){return fh(),y(n,12).j==(Bt(),en)},"D4b");var gAi=j(Jc,"LPort/lambda$2$Type",1305);$(1306,1,q0,ddt),w.Lb=i(function(n){return fh(),y(n,12).j==(Bt(),pn)},"F4b"),w.Fb=i(function(n){return this===n},"G4b"),w.Mb=i(function(n){return fh(),y(n,12).j==(Bt(),pn)},"H4b");var mAi=j(Jc,"LPort/lambda$3$Type",1306);$(1307,1,q0,pdt),w.Lb=i(function(n){return fh(),y(n,12).j==(Bt(),Gn)},"J4b"),w.Fb=i(function(n){return this===n},"K4b"),w.Mb=i(function(n){return fh(),y(n,12).j==(Bt(),Gn)},"L4b");var yAi=j(Jc,"LPort/lambda$4$Type",1307);$(1308,1,q0,gdt),w.Lb=i(function(n){return fh(),y(n,12).j==(Bt(),on)},"N4b"),w.Fb=i(function(n){return this===n},"O4b"),w.Mb=i(function(n){return fh(),y(n,12).j==(Bt(),on)},"P4b");var bAi=j(Jc,"LPort/lambda$5$Type",1308);$(30,305,{3:1,20:1,305:1,30:1,96:1,137:1},Wc),w.Jc=i(function(n){So(this,n)},"S4b"),w.Kc=i(function(){return new ge(this.a)},"T4b"),w.Ib=i(function(){return"L_"+Pl(this.b.b,this,0)+hv(this.a)},"U4b");var vAi=j(Jc,"Layer",30);$(1330,1,{},V3t);var wAi=j(Ky,OUt,1330);$(1334,1,{},mdt),w.Kb=i(function(n){return Fl(y(n,84))},"p5b");var xAi=j(Ky,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1334);$(1337,1,{},ydt),w.Kb=i(function(n){return Fl(y(n,84))},"r5b");var TAi=j(Ky,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1337);$(1331,1,vn,Gxt),w.Cd=i(function(n){lFt(this.a,y(n,123))},"t5b");var kAi=j(Ky,D9e,1331);$(1332,1,vn,jxt),w.Cd=i(function(n){lFt(this.a,y(n,123))},"v5b");var CAi=j(Ky,PUt,1332);$(1333,1,{},bdt),w.Kb=i(function(n){return new Tr(null,new Ar(R8e(y(n,74)),16))},"x5b");var EAi=j(Ky,BUt,1333);$(1335,1,gi,zxt),w.Mb=i(function(n){return iJr(this.a,y(n,27))},"z5b");var SAi=j(Ky,FUt,1335);$(1336,1,{},vdt),w.Kb=i(function(n){return new Tr(null,new Ar(xin(y(n,74)),16))},"B5b");var AAi=j(Ky,"ElkGraphImporter/lambda$5$Type",1336);$(1338,1,gi,Uxt),w.Mb=i(function(n){return aJr(this.a,y(n,27))},"D5b");var RAi=j(Ky,"ElkGraphImporter/lambda$7$Type",1338);$(1339,1,gi,wdt),w.Mb=i(function(n){return Oin(y(n,74))},"F5b");var LAi=j(Ky,"ElkGraphImporter/lambda$8$Type",1339);$(1297,1,{},P2t);var BKt,DAi=j(Ky,"ElkGraphLayoutTransferrer",1297);$(1298,1,gi,Vxt),w.Mb=i(function(n){return WZr(this.a,y(n,18))},"R5b");var _Ai=j(Ky,"ElkGraphLayoutTransferrer/lambda$0$Type",1298);$(1299,1,vn,Hxt),w.Cd=i(function(n){CB(),It(this.a,y(n,18))},"T5b");var MAi=j(Ky,"ElkGraphLayoutTransferrer/lambda$1$Type",1299);$(1300,1,gi,qxt),w.Mb=i(function(n){return MZr(this.a,y(n,18))},"V5b");var IAi=j(Ky,"ElkGraphLayoutTransferrer/lambda$2$Type",1300);$(1301,1,vn,Wxt),w.Cd=i(function(n){CB(),It(this.a,y(n,18))},"X5b");var NAi=j(Ky,"ElkGraphLayoutTransferrer/lambda$3$Type",1301);$(819,1,{},iAe);var OAi=j(cn,"BiLinkedHashMultiMap",819);$(1550,1,Ca,xdt),w.Kf=i(function(n,s){wun(y(n,36),s)},"i6b");var PAi=j(cn,"CommentNodeMarginCalculator",1550);$(1551,1,{},Tdt),w.Kb=i(function(n){return new Tr(null,new Ar(y(n,30).a,16))},"k6b");var BAi=j(cn,"CommentNodeMarginCalculator/lambda$0$Type",1551);$(1552,1,vn,kdt),w.Cd=i(function(n){wkn(y(n,10))},"m6b");var FAi=j(cn,"CommentNodeMarginCalculator/lambda$1$Type",1552);$(1553,1,Ca,Cdt),w.Kf=i(function(n,s){Cwn(y(n,36),s)},"r6b");var $Ai=j(cn,"CommentPostprocessor",1553);$(1554,1,Ca,Edt),w.Kf=i(function(n,s){q4n(y(n,36),s)},"w6b");var GAi=j(cn,"CommentPreprocessor",1554);$(1555,1,Ca,Sdt),w.Kf=i(function(n,s){j2n(y(n,36),s)},"z6b");var jAi=j(cn,"ConstraintsPostprocessor",1555);$(1556,1,Ca,Adt),w.Kf=i(function(n,s){Yun(y(n,36),s)},"H6b");var zAi=j(cn,"EdgeAndLayerConstraintEdgeReverser",1556);$(1557,1,Ca,Rdt),w.Kf=i(function(n,s){Fdn(y(n,36),s)},"M6b");var UAi=j(cn,"EndLabelPostprocessor",1557);$(1558,1,{},Ldt),w.Kb=i(function(n){return new Tr(null,new Ar(y(n,30).a,16))},"O6b");var VAi=j(cn,"EndLabelPostprocessor/lambda$0$Type",1558);$(1559,1,gi,Ddt),w.Mb=i(function(n){return Zon(y(n,10))},"Q6b");var HAi=j(cn,"EndLabelPostprocessor/lambda$1$Type",1559);$(1560,1,vn,_dt),w.Cd=i(function(n){R0n(y(n,10))},"S6b");var qAi=j(cn,"EndLabelPostprocessor/lambda$2$Type",1560);$(1561,1,Ca,Mdt),w.Kf=i(function(n,s){myn(y(n,36),s)},"e7b");var WAi=j(cn,"EndLabelPreprocessor",1561);$(1562,1,{},Idt),w.Kb=i(function(n){return new Tr(null,new Ar(y(n,30).a,16))},"g7b");var YAi=j(cn,"EndLabelPreprocessor/lambda$0$Type",1562);$(1563,1,vn,gAt),w.Cd=i(function(n){yQr(this.a,this.b,this.c,y(n,10))},"i7b"),w.a=0,w.b=0,w.c=!1;var KAi=j(cn,"EndLabelPreprocessor/lambda$1$Type",1563);$(1564,1,gi,Ndt),w.Mb=i(function(n){return Ze(oe(y(n,72),(Ht(),rm)))===Ze((Hg(),KR))},"k7b");var XAi=j(cn,"EndLabelPreprocessor/lambda$2$Type",1564);$(1565,1,vn,Yxt),w.Cd=i(function(n){ki(this.a,y(n,72))},"m7b");var QAi=j(cn,"EndLabelPreprocessor/lambda$3$Type",1565);$(1566,1,gi,Odt),w.Mb=i(function(n){return Ze(oe(y(n,72),(Ht(),rm)))===Ze((Hg(),j3))},"o7b");var JAi=j(cn,"EndLabelPreprocessor/lambda$4$Type",1566);$(1567,1,vn,Kxt),w.Cd=i(function(n){ki(this.a,y(n,72))},"q7b");var ZAi=j(cn,"EndLabelPreprocessor/lambda$5$Type",1567);$(1615,1,Ca,R2t),w.Kf=i(function(n,s){Bfn(y(n,36),s)},"A7b");var FKt,e8i=j(cn,"EndLabelSorter",1615);$(1616,1,wi,Pdt),w.Ne=i(function(n,s){return mpn(y(n,466),y(s,466))},"D7b"),w.Fb=i(function(n){return this===n},"E7b"),w.Oe=i(function(){return new si(this)},"F7b");var t8i=j(cn,"EndLabelSorter/1",1616);$(466,1,{466:1},j7t);var r8i=j(cn,"EndLabelSorter/LabelGroup",466);$(1617,1,{},Bdt),w.Kb=i(function(n){return kB(),new Tr(null,new Ar(y(n,30).a,16))},"I7b");var n8i=j(cn,"EndLabelSorter/lambda$0$Type",1617);$(1618,1,gi,Fdt),w.Mb=i(function(n){return kB(),y(n,10).k==(sn(),ls)},"K7b");var i8i=j(cn,"EndLabelSorter/lambda$1$Type",1618);$(1619,1,vn,$dt),w.Cd=i(function(n){D1n(y(n,10))},"M7b");var a8i=j(cn,"EndLabelSorter/lambda$2$Type",1619);$(1620,1,gi,Gdt),w.Mb=i(function(n){return kB(),Ze(oe(y(n,72),(Ht(),rm)))===Ze((Hg(),j3))},"O7b");var s8i=j(cn,"EndLabelSorter/lambda$3$Type",1620);$(1621,1,gi,jdt),w.Mb=i(function(n){return kB(),Ze(oe(y(n,72),(Ht(),rm)))===Ze((Hg(),KR))},"Q7b");var o8i=j(cn,"EndLabelSorter/lambda$4$Type",1621);$(1568,1,Ca,zdt),w.Kf=i(function(n,s){Nkn(this,y(n,36))},"b8b"),w.b=0,w.c=0;var l8i=j(cn,"FinalSplineBendpointsCalculator",1568);$(1569,1,{},Udt),w.Kb=i(function(n){return new Tr(null,new Ar(y(n,30).a,16))},"d8b");var c8i=j(cn,"FinalSplineBendpointsCalculator/lambda$0$Type",1569);$(1570,1,{},Vdt),w.Kb=i(function(n){return new Tr(null,new Ax(new bn(wn(fs(y(n,10)).a.Kc(),new I))))},"f8b");var u8i=j(cn,"FinalSplineBendpointsCalculator/lambda$1$Type",1570);$(1571,1,gi,Hdt),w.Mb=i(function(n){return!Ko(y(n,18))},"h8b");var h8i=j(cn,"FinalSplineBendpointsCalculator/lambda$2$Type",1571);$(1572,1,gi,qdt),w.Mb=i(function(n){return Ea(y(n,18),(At(),mw))},"j8b");var f8i=j(cn,"FinalSplineBendpointsCalculator/lambda$3$Type",1572);$(1573,1,vn,Xxt),w.Cd=i(function(n){Uxn(this.a,y(n,131))},"l8b");var d8i=j(cn,"FinalSplineBendpointsCalculator/lambda$4$Type",1573);$(1574,1,vn,Wdt),w.Cd=i(function(n){y$(y(n,18).a)},"n8b");var p8i=j(cn,"FinalSplineBendpointsCalculator/lambda$5$Type",1574);$(803,1,Ca,vSe),w.Kf=i(function(n,s){R3n(this,y(n,36),s)},"M8b");var g8i=j(cn,"GraphTransformer",803);$(517,22,{3:1,34:1,22:1,517:1},M5e);var d0e,DG,$Kt=Vn(cn,"GraphTransformer/Mode",517,Zn,nan,Ftn),GKt;$(1575,1,Ca,Ydt),w.Kf=i(function(n,s){Xvn(y(n,36),s)},"$8b");var m8i=j(cn,"HierarchicalNodeResizingProcessor",1575);$(1576,1,Ca,Kdt),w.Kf=i(function(n,s){gun(y(n,36),s)},"g9b");var y8i=j(cn,"HierarchicalPortConstraintProcessor",1576);$(1577,1,wi,Xdt),w.Ne=i(function(n,s){return Bpn(y(n,10),y(s,10))},"j9b"),w.Fb=i(function(n){return this===n},"k9b"),w.Oe=i(function(){return new si(this)},"l9b");var b8i=j(cn,"HierarchicalPortConstraintProcessor/NodeComparator",1577);$(1578,1,Ca,Qdt),w.Kf=i(function(n,s){FTn(y(n,36),s)},"p9b");var v8i=j(cn,"HierarchicalPortDummySizeProcessor",1578);$(1579,1,Ca,Jdt),w.Kf=i(function(n,s){Ywn(this,y(n,36),s)},"D9b"),w.a=0;var w8i=j(cn,"HierarchicalPortOrthogonalEdgeRouter",1579);$(1580,1,wi,Zdt),w.Ne=i(function(n,s){return XJr(y(n,10),y(s,10))},"G9b"),w.Fb=i(function(n){return this===n},"H9b"),w.Oe=i(function(){return new si(this)},"I9b");var x8i=j(cn,"HierarchicalPortOrthogonalEdgeRouter/1",1580);$(1581,1,wi,ept),w.Ne=i(function(n,s){return rcn(y(n,10),y(s,10))},"L9b"),w.Fb=i(function(n){return this===n},"M9b"),w.Oe=i(function(){return new si(this)},"N9b");var T8i=j(cn,"HierarchicalPortOrthogonalEdgeRouter/2",1581);$(1582,1,Ca,tpt),w.Kf=i(function(n,s){h1n(y(n,36),s)},"R9b");var k8i=j(cn,"HierarchicalPortPositionProcessor",1582);$(1583,1,Ca,B2t),w.Kf=i(function(n,s){ACn(this,y(n,36))},"_9b"),w.a=0,w.c=0;var QQ,JQ,C8i=j(cn,"HighDegreeNodeLayeringProcessor",1583);$(580,1,{580:1},rpt),w.b=-1,w.d=-1;var E8i=j(cn,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",580);$(1584,1,{},npt),w.Kb=i(function(n){return JB(),Ks(y(n,10))},"cac"),w.Fb=i(function(n){return this===n},"dac");var S8i=j(cn,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1584);$(1585,1,{},ipt),w.Kb=i(function(n){return JB(),fs(y(n,10))},"fac"),w.Fb=i(function(n){return this===n},"gac");var A8i=j(cn,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1585);$(1591,1,Ca,apt),w.Kf=i(function(n,s){DTn(this,y(n,36),s)},"nac");var R8i=j(cn,"HyperedgeDummyMerger",1591);$(804,1,{},vAe),w.a=!1,w.b=!1,w.c=!1;var L8i=j(cn,"HyperedgeDummyMerger/MergeState",804);$(1592,1,{},spt),w.Kb=i(function(n){return new Tr(null,new Ar(y(n,30).a,16))},"qac");var D8i=j(cn,"HyperedgeDummyMerger/lambda$0$Type",1592);$(1593,1,{},opt),w.Kb=i(function(n){return new Tr(null,new Ar(y(n,10).j,16))},"sac");var _8i=j(cn,"HyperedgeDummyMerger/lambda$1$Type",1593);$(1594,1,vn,lpt),w.Cd=i(function(n){y(n,12).p=-1},"uac");var M8i=j(cn,"HyperedgeDummyMerger/lambda$2$Type",1594);$(1595,1,Ca,cpt),w.Kf=i(function(n,s){RTn(y(n,36),s)},"yac");var I8i=j(cn,"HypernodesProcessor",1595);$(1596,1,Ca,upt),w.Kf=i(function(n,s){BTn(y(n,36),s)},"Bac");var N8i=j(cn,"InLayerConstraintProcessor",1596);$(1597,1,Ca,hpt),w.Kf=i(function(n,s){Dun(y(n,36),s)},"Eac");var O8i=j(cn,"InnermostNodeMarginCalculator",1597);$(1598,1,Ca,fpt),w.Kf=i(function(n,s){z4n(this,y(n,36))},"Nac"),w.a=Ls,w.b=Ls,w.c=Pa,w.d=Pa;var BEn=j(cn,"InteractiveExternalPortPositioner",1598);$(1599,1,{},dpt),w.Kb=i(function(n){return y(n,18).d.i},"Pac"),w.Fb=i(function(n){return this===n},"Qac");var P8i=j(cn,"InteractiveExternalPortPositioner/lambda$0$Type",1599);$(1600,1,{},Qxt),w.Kb=i(function(n){return QJr(this.a,rt(n))},"Sac"),w.Fb=i(function(n){return this===n},"Tac");var B8i=j(cn,"InteractiveExternalPortPositioner/lambda$1$Type",1600);$(1601,1,{},ppt),w.Kb=i(function(n){return y(n,18).c.i},"Vac"),w.Fb=i(function(n){return this===n},"Wac");var F8i=j(cn,"InteractiveExternalPortPositioner/lambda$2$Type",1601);$(1602,1,{},Jxt),w.Kb=i(function(n){return JJr(this.a,rt(n))},"Yac"),w.Fb=i(function(n){return this===n},"Zac");var $8i=j(cn,"InteractiveExternalPortPositioner/lambda$3$Type",1602);$(1603,1,{},Zxt),w.Kb=i(function(n){return KZr(this.a,rt(n))},"_ac"),w.Fb=i(function(n){return this===n},"abc");var G8i=j(cn,"InteractiveExternalPortPositioner/lambda$4$Type",1603);$(1604,1,{},eTt),w.Kb=i(function(n){return XZr(this.a,rt(n))},"cbc"),w.Fb=i(function(n){return this===n},"dbc");var j8i=j(cn,"InteractiveExternalPortPositioner/lambda$5$Type",1604);$(81,22,{3:1,34:1,22:1,81:1,196:1},bs),w.dg=i(function(){switch(this.g){case 15:return new _0t;case 22:return new M0t;case 47:return new O0t;case 28:case 35:return new Ept;case 32:return new xdt;case 42:return new Cdt;case 1:return new Edt;case 41:return new Sdt;case 56:return new vSe((i7(),DG));case 0:return new vSe((i7(),d0e));case 2:return new Adt;case 54:return new Rdt;case 33:return new Mdt;case 51:return new zdt;case 55:return new Ydt;case 13:return new Kdt;case 38:return new Qdt;case 44:return new Jdt;case 40:return new tpt;case 9:return new B2t;case 49:return new e6t;case 37:return new apt;case 43:return new cpt;case 27:return new upt;case 30:return new hpt;case 3:return new fpt;case 18:return new mpt;case 29:return new ypt;case 5:return new F2t;case 50:return new gpt;case 34:return new $2t;case 36:return new Spt;case 52:return new R2t;case 11:return new Apt;case 7:return new G2t;case 39:return new Rpt;case 45:return new Lpt;case 16:return new Dpt;case 10:return new qEt;case 48:return new Npt;case 21:return new Opt;case 23:return new Yse((jx(),SI));case 8:return new Bpt;case 12:return new $pt;case 4:return new Gpt;case 19:return new q2t;case 17:return new Xpt;case 53:return new Qpt;case 6:return new cgt;case 25:return new W3t;case 46:return new rgt;case 31:return new z6t;case 14:return new ygt;case 26:return new F0t;case 20:return new Tgt;case 24:return new Yse((jx(),rZ));default:throw me(new Jr(Bde+(this.f!=null?this.f:""+this.g)))}},"jcc");var EBe,SBe,ABe,RBe,LBe,DBe,_Be,MBe,IBe,NBe,HC,ZQ,eJ,OBe,PBe,BBe,FBe,$Be,GBe,jBe,sI,zBe,UBe,VBe,HBe,qBe,p0e,tJ,rJ,WBe,nJ,iJ,aJ,wR,k3,C3,YBe,sJ,oJ,KBe,lJ,cJ,XBe,QBe,JBe,ZBe,uJ,g0e,_G,hJ,fJ,dJ,pJ,eFe,tFe,rFe,nFe,FEn=Vn(cn,Fde,81,Zn,t$t,Ben),jKt;$(1605,1,Ca,mpt),w.Kf=i(function(n,s){G4n(y(n,36),s)},"tcc");var z8i=j(cn,"InvertedPortProcessor",1605);$(1606,1,Ca,ypt),w.Kf=i(function(n,s){Oxn(y(n,36),s)},"zcc");var U8i=j(cn,"LabelAndNodeSizeProcessor",1606);$(1607,1,gi,bpt),w.Mb=i(function(n){return y(n,10).k==(sn(),ls)},"Bcc");var V8i=j(cn,"LabelAndNodeSizeProcessor/lambda$0$Type",1607);$(1608,1,gi,vpt),w.Mb=i(function(n){return y(n,10).k==(sn(),ms)},"Dcc");var H8i=j(cn,"LabelAndNodeSizeProcessor/lambda$1$Type",1608);$(1609,1,vn,mAt),w.Cd=i(function(n){bQr(this.b,this.a,this.c,y(n,10))},"Fcc"),w.a=!1,w.c=!1;var q8i=j(cn,"LabelAndNodeSizeProcessor/lambda$2$Type",1609);$(1610,1,Ca,F2t),w.Kf=i(function(n,s){f4n(y(n,36),s)},"Mcc");var zKt,W8i=j(cn,"LabelDummyInserter",1610);$(1611,1,q0,wpt),w.Lb=i(function(n){return Ze(oe(y(n,72),(Ht(),rm)))===Ze((Hg(),YR))},"Occ"),w.Fb=i(function(n){return this===n},"Pcc"),w.Mb=i(function(n){return Ze(oe(y(n,72),(Ht(),rm)))===Ze((Hg(),YR))},"Qcc");var Y8i=j(cn,"LabelDummyInserter/1",1611);$(1612,1,Ca,gpt),w.Kf=i(function(n,s){e4n(y(n,36),s)},"Vcc");var K8i=j(cn,"LabelDummyRemover",1612);$(1613,1,gi,xpt),w.Mb=i(function(n){return Kt(Yt(oe(y(n,72),(Ht(),nme))))},"Xcc");var X8i=j(cn,"LabelDummyRemover/lambda$0$Type",1613);$(1378,1,Ca,$2t),w.Kf=i(function(n,s){q3n(this,y(n,36),s)},"tdc"),w.a=null;var m0e,Q8i=j(cn,"LabelDummySwitcher",1378);$(293,1,{293:1},eGt),w.c=0,w.d=null,w.f=0;var J8i=j(cn,"LabelDummySwitcher/LabelDummyInfo",293);$(1379,1,{},Tpt),w.Kb=i(function(n){return I5(),new Tr(null,new Ar(y(n,30).a,16))},"zdc");var Z8i=j(cn,"LabelDummySwitcher/lambda$0$Type",1379);$(1380,1,gi,kpt),w.Mb=i(function(n){return I5(),y(n,10).k==(sn(),Nc)},"Bdc");var e7i=j(cn,"LabelDummySwitcher/lambda$1$Type",1380);$(1381,1,{},tTt),w.Kb=i(function(n){return IZr(this.a,y(n,10))},"Ddc");var t7i=j(cn,"LabelDummySwitcher/lambda$2$Type",1381);$(1382,1,vn,rTt),w.Cd=i(function(n){Znn(this.a,y(n,293))},"Fdc");var r7i=j(cn,"LabelDummySwitcher/lambda$3$Type",1382);$(1383,1,wi,Cpt),w.Ne=i(function(n,s){return knn(y(n,293),y(s,293))},"Hdc"),w.Fb=i(function(n){return this===n},"Idc"),w.Oe=i(function(){return new si(this)},"Jdc");var n7i=j(cn,"LabelDummySwitcher/lambda$4$Type",1383);$(802,1,Ca,Ept),w.Kf=i(function(n,s){Oln(y(n,36),s)},"Mdc");var i7i=j(cn,"LabelManagementProcessor",802);$(1614,1,Ca,Spt),w.Kf=i(function(n,s){fwn(y(n,36),s)},"$dc");var a7i=j(cn,"LabelSideSelector",1614);$(1622,1,Ca,Apt),w.Kf=i(function(n,s){ZTn(y(n,36),s)},"gec");var s7i=j(cn,"LayerConstraintPostprocessor",1622);$(1623,1,Ca,G2t),w.Kf=i(function(n,s){Ybn(y(n,36),s)},"qec");var iFe,o7i=j(cn,"LayerConstraintPreprocessor",1623);$(371,22,{3:1,34:1,22:1,371:1},Gq);var MG,gJ,mJ,y0e,UKt=Vn(cn,"LayerConstraintPreprocessor/HiddenNodeConnections",371,Zn,don,Fen),VKt;$(1624,1,Ca,Rpt),w.Kf=i(function(n,s){m3n(y(n,36),s)},"Eec");var l7i=j(cn,"LayerSizeAndGraphHeightCalculator",1624);$(1625,1,Ca,Lpt),w.Kf=i(function(n,s){Qvn(y(n,36),s)},"Iec");var c7i=j(cn,"LongEdgeJoiner",1625);$(1626,1,Ca,Dpt),w.Kf=i(function(n,s){Hkn(y(n,36),s)},"Mec");var u7i=j(cn,"LongEdgeSplitter",1626);$(1627,1,Ca,qEt),w.Kf=i(function(n,s){A4n(this,y(n,36),s)},"cfc"),w.e=0,w.f=0,w.j=0,w.k=0,w.n=0,w.o=0;var HKt,qKt,h7i=j(cn,"NodePromotion",1627);$(1628,1,wi,_pt),w.Ne=i(function(n,s){return Ghn(y(n,10),y(s,10))},"ffc"),w.Fb=i(function(n){return this===n},"gfc"),w.Oe=i(function(){return new si(this)},"hfc");var f7i=j(cn,"NodePromotion/1",1628);$(1629,1,wi,Mpt),w.Ne=i(function(n,s){return jhn(y(n,10),y(s,10))},"kfc"),w.Fb=i(function(n){return this===n},"lfc"),w.Oe=i(function(){return new si(this)},"mfc");var d7i=j(cn,"NodePromotion/2",1629);$(1630,1,{},Ipt),w.Kb=i(function(n){return y(n,42),xW(),Hr(),!0},"ofc"),w.Fb=i(function(n){return this===n},"pfc");var p7i=j(cn,"NodePromotion/lambda$0$Type",1630);$(1631,1,{},sTt),w.Kb=i(function(n){return Pan(this.a,y(n,42))},"rfc"),w.Fb=i(function(n){return this===n},"sfc"),w.a=0;var g7i=j(cn,"NodePromotion/lambda$1$Type",1631);$(1632,1,{},oTt),w.Kb=i(function(n){return Oan(this.a,y(n,42))},"ufc"),w.Fb=i(function(n){return this===n},"vfc"),w.a=0;var m7i=j(cn,"NodePromotion/lambda$2$Type",1632);$(1633,1,Ca,Npt),w.Kf=i(function(n,s){xCn(y(n,36),s)},"Cfc");var y7i=j(cn,"NorthSouthPortPostprocessor",1633);$(1634,1,Ca,Opt),w.Kf=i(function(n,s){tCn(y(n,36),s)},"Kfc");var b7i=j(cn,"NorthSouthPortPreprocessor",1634);$(1635,1,wi,Ppt),w.Ne=i(function(n,s){return thn(y(n,12),y(s,12))},"Mfc"),w.Fb=i(function(n){return this===n},"Nfc"),w.Oe=i(function(){return new si(this)},"Ofc");var v7i=j(cn,"NorthSouthPortPreprocessor/lambda$0$Type",1635);$(1636,1,Ca,Bpt),w.Kf=i(function(n,s){mTn(y(n,36),s)},"Tfc");var w7i=j(cn,"PartitionMidprocessor",1636);$(1637,1,gi,Fpt),w.Mb=i(function(n){return Ea(y(n,10),(Ht(),NR))},"Vfc");var x7i=j(cn,"PartitionMidprocessor/lambda$0$Type",1637);$(1638,1,vn,lTt),w.Cd=i(function(n){Pin(this.a,y(n,10))},"Xfc");var T7i=j(cn,"PartitionMidprocessor/lambda$1$Type",1638);$(1639,1,Ca,$pt),w.Kf=i(function(n,s){b2n(y(n,36),s)},"$fc");var k7i=j(cn,"PartitionPostprocessor",1639);$(1640,1,Ca,Gpt),w.Kf=i(function(n,s){Mbn(y(n,36),s)},"dgc");var C7i=j(cn,"PartitionPreprocessor",1640);$(1641,1,gi,jpt),w.Mb=i(function(n){return Ea(y(n,10),(Ht(),NR))},"fgc");var E7i=j(cn,"PartitionPreprocessor/lambda$0$Type",1641);$(1642,1,{},zpt),w.Kb=i(function(n){return new Tr(null,new Ax(new bn(wn(fs(y(n,10)).a.Kc(),new I))))},"hgc");var S7i=j(cn,"PartitionPreprocessor/lambda$1$Type",1642);$(1643,1,gi,Upt),w.Mb=i(function(n){return Tpn(y(n,18))},"jgc");var A7i=j(cn,"PartitionPreprocessor/lambda$2$Type",1643);$(1644,1,vn,Vpt),w.Cd=i(function(n){bhn(y(n,18))},"lgc");var R7i=j(cn,"PartitionPreprocessor/lambda$3$Type",1644);$(1645,1,Ca,q2t),w.Kf=i(function(n,s){Xxn(y(n,36),s)},"Bgc");var aFe,WKt,YKt,KKt,sFe,oFe,L7i=j(cn,"PortListSorter",1645);$(1648,1,wi,Hpt),w.Ne=i(function(n,s){return HLt(y(n,12),y(s,12))},"Egc"),w.Fb=i(function(n){return this===n},"Fgc"),w.Oe=i(function(){return new si(this)},"Ggc");var D7i=j(cn,"PortListSorter/lambda$0$Type",1648);$(1650,1,wi,qpt),w.Ne=i(function(n,s){return CGt(y(n,12),y(s,12))},"Igc"),w.Fb=i(function(n){return this===n},"Jgc"),w.Oe=i(function(){return new si(this)},"Kgc");var _7i=j(cn,"PortListSorter/lambda$1$Type",1650);$(1646,1,{},Wpt),w.Kb=i(function(n){return g7(),y(n,12).e},"Mgc");var M7i=j(cn,"PortListSorter/lambda$2$Type",1646);$(1647,1,{},Ypt),w.Kb=i(function(n){return g7(),y(n,12).g},"Ogc");var I7i=j(cn,"PortListSorter/lambda$3$Type",1647);$(1649,1,wi,Kpt),w.Ne=i(function(n,s){return qgn(y(n,12),y(s,12))},"Qgc"),w.Fb=i(function(n){return this===n},"Rgc"),w.Oe=i(function(){return new si(this)},"Sgc");var N7i=j(cn,"PortListSorter/lambda$4$Type",1649);$(1651,1,Ca,Xpt),w.Kf=i(function(n,s){ovn(y(n,36),s)},"Wgc");var O7i=j(cn,"PortSideProcessor",1651);$(1652,1,Ca,Qpt),w.Kf=i(function(n,s){lxn(y(n,36),s)},"Zgc");var P7i=j(cn,"ReversedEdgeRestorer",1652);$(1657,1,Ca,W3t),w.Kf=i(function(n,s){Rgn(this,y(n,36),s)},"bhc");var B7i=j(cn,"SelfLoopPortRestorer",1657);$(1658,1,{},Jpt),w.Kb=i(function(n){return new Tr(null,new Ar(y(n,30).a,16))},"dhc");var F7i=j(cn,"SelfLoopPortRestorer/lambda$0$Type",1658);$(1659,1,gi,Zpt),w.Mb=i(function(n){return y(n,10).k==(sn(),ls)},"fhc");var $7i=j(cn,"SelfLoopPortRestorer/lambda$1$Type",1659);$(1660,1,gi,egt),w.Mb=i(function(n){return Ea(y(n,10),(At(),wT))},"hhc");var G7i=j(cn,"SelfLoopPortRestorer/lambda$2$Type",1660);$(1661,1,{},tgt),w.Kb=i(function(n){return y(oe(y(n,10),(At(),wT)),337)},"jhc");var j7i=j(cn,"SelfLoopPortRestorer/lambda$3$Type",1661);$(1662,1,vn,iTt),w.Cd=i(function(n){U1n(this.a,y(n,337))},"lhc");var z7i=j(cn,"SelfLoopPortRestorer/lambda$4$Type",1662);$(805,1,vn,LEe),w.Cd=i(function(n){ryn(y(n,105))},"nhc");var U7i=j(cn,"SelfLoopPortRestorer/lambda$5$Type",805);$(1663,1,Ca,rgt),w.Kf=i(function(n,s){Npn(y(n,36),s)},"thc");var V7i=j(cn,"SelfLoopPostProcessor",1663);$(1664,1,{},ngt),w.Kb=i(function(n){return new Tr(null,new Ar(y(n,30).a,16))},"vhc");var H7i=j(cn,"SelfLoopPostProcessor/lambda$0$Type",1664);$(1665,1,gi,igt),w.Mb=i(function(n){return y(n,10).k==(sn(),ls)},"xhc");var q7i=j(cn,"SelfLoopPostProcessor/lambda$1$Type",1665);$(1666,1,gi,agt),w.Mb=i(function(n){return Ea(y(n,10),(At(),wT))},"zhc");var W7i=j(cn,"SelfLoopPostProcessor/lambda$2$Type",1666);$(1667,1,vn,sgt),w.Cd=i(function(n){H0n(y(n,10))},"Bhc");var Y7i=j(cn,"SelfLoopPostProcessor/lambda$3$Type",1667);$(1668,1,{},ogt),w.Kb=i(function(n){return new Tr(null,new Ar(y(n,105).f,1))},"Dhc");var K7i=j(cn,"SelfLoopPostProcessor/lambda$4$Type",1668);$(1669,1,vn,nTt),w.Cd=i(function(n){yon(this.a,y(n,340))},"Fhc");var X7i=j(cn,"SelfLoopPostProcessor/lambda$5$Type",1669);$(1670,1,gi,lgt),w.Mb=i(function(n){return!!y(n,105).i},"Hhc");var Q7i=j(cn,"SelfLoopPostProcessor/lambda$6$Type",1670);$(1671,1,vn,aTt),w.Cd=i(function(n){yXr(this.a,y(n,105))},"Jhc");var J7i=j(cn,"SelfLoopPostProcessor/lambda$7$Type",1671);$(1653,1,Ca,cgt),w.Kf=i(function(n,s){Pvn(y(n,36),s)},"Ohc");var Z7i=j(cn,"SelfLoopPreProcessor",1653);$(1654,1,{},ugt),w.Kb=i(function(n){return new Tr(null,new Ar(y(n,105).f,1))},"Qhc");var eRi=j(cn,"SelfLoopPreProcessor/lambda$0$Type",1654);$(1655,1,{},hgt),w.Kb=i(function(n){return y(n,340).a},"Shc");var tRi=j(cn,"SelfLoopPreProcessor/lambda$1$Type",1655);$(1656,1,vn,fgt),w.Cd=i(function(n){wJr(y(n,18))},"Uhc");var rRi=j(cn,"SelfLoopPreProcessor/lambda$2$Type",1656);$(1672,1,Ca,z6t),w.Kf=i(function(n,s){C1n(this,y(n,36),s)},"Zhc");var nRi=j(cn,"SelfLoopRouter",1672);$(1673,1,{},dgt),w.Kb=i(function(n){return new Tr(null,new Ar(y(n,30).a,16))},"_hc");var iRi=j(cn,"SelfLoopRouter/lambda$0$Type",1673);$(1674,1,gi,pgt),w.Mb=i(function(n){return y(n,10).k==(sn(),ls)},"bic");var aRi=j(cn,"SelfLoopRouter/lambda$1$Type",1674);$(1675,1,gi,ggt),w.Mb=i(function(n){return Ea(y(n,10),(At(),wT))},"dic");var sRi=j(cn,"SelfLoopRouter/lambda$2$Type",1675);$(1676,1,{},mgt),w.Kb=i(function(n){return y(oe(y(n,10),(At(),wT)),337)},"fic");var oRi=j(cn,"SelfLoopRouter/lambda$3$Type",1676);$(1677,1,vn,SEt),w.Cd=i(function(n){Din(this.a,this.b,y(n,337))},"hic");var lRi=j(cn,"SelfLoopRouter/lambda$4$Type",1677);$(1678,1,Ca,ygt),w.Kf=i(function(n,s){ewn(y(n,36),s)},"mic");var cRi=j(cn,"SemiInteractiveCrossMinProcessor",1678);$(1679,1,gi,bgt),w.Mb=i(function(n){return y(n,10).k==(sn(),ls)},"oic");var uRi=j(cn,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1679);$(1680,1,gi,vgt),w.Mb=i(function(n){return a8t(y(n,10))._b((Ht(),I3))},"qic");var hRi=j(cn,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1680);$(1681,1,wi,wgt),w.Ne=i(function(n,s){return yun(y(n,10),y(s,10))},"sic"),w.Fb=i(function(n){return this===n},"tic"),w.Oe=i(function(){return new si(this)},"uic");var fRi=j(cn,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1681);$(1682,1,{},xgt),w.Ve=i(function(n,s){return Bin(y(n,10),y(s,10))},"wic");var dRi=j(cn,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1682);$(1684,1,Ca,Tgt),w.Kf=i(function(n,s){Ckn(y(n,36),s)},"Cic");var pRi=j(cn,"SortByInputModelProcessor",1684);$(1685,1,gi,kgt),w.Mb=i(function(n){return y(n,12).g.c.length!=0},"Eic");var gRi=j(cn,"SortByInputModelProcessor/lambda$0$Type",1685);$(1686,1,vn,cTt),w.Cd=i(function(n){oyn(this.a,y(n,12))},"Gic");var mRi=j(cn,"SortByInputModelProcessor/lambda$1$Type",1686);$(1759,817,{},g9t),w.df=i(function(n){var s,u,d,g;switch(this.c=n,this.a.g){case 2:s=new Mt,as(Zi(new Tr(null,new Ar(this.c.a.b,16)),new Bgt),new OEt(this,s)),b$(this,new Egt),Lu(s,new Sgt),s.c.length=0,as(Zi(new Tr(null,new Ar(this.c.a.b,16)),new Agt),new hTt(s)),b$(this,new Rgt),Lu(s,new Lgt),s.c.length=0,u=m5t(cue(Ok(new Tr(null,new Ar(this.c.a.b,16)),new fTt(this))),new Dgt),as(new Tr(null,new Ar(this.c.a.a,16)),new LEt(u,s)),b$(this,new Mgt),Lu(s,new Igt),s.c.length=0;break;case 3:d=new Mt,b$(this,new Cgt),g=m5t(cue(Ok(new Tr(null,new Ar(this.c.a.b,16)),new uTt(this))),new _gt),as(Zi(new Tr(null,new Ar(this.c.a.b,16)),new Ngt),new _Et(g,d)),b$(this,new Ogt),Lu(d,new Pgt),d.c.length=0;break;default:throw me(new N3t)}},"Qic"),w.b=0;var yRi=j(_s,"EdgeAwareScanlineConstraintCalculation",1759);$(1760,1,q0,Cgt),w.Lb=i(function(n){return $e(y(n,60).g,154)},"Sic"),w.Fb=i(function(n){return this===n},"Tic"),w.Mb=i(function(n){return $e(y(n,60).g,154)},"Uic");var bRi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1760);$(1761,1,{},uTt),w.Ye=i(function(n){return Vyn(this.a,y(n,60))},"Wic");var vRi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1761);$(1769,1,kX,AEt),w.de=i(function(){e9(this.a,this.b,-1)},"Yic"),w.b=0;var wRi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1769);$(1771,1,q0,Egt),w.Lb=i(function(n){return $e(y(n,60).g,154)},"$ic"),w.Fb=i(function(n){return this===n},"_ic"),w.Mb=i(function(n){return $e(y(n,60).g,154)},"ajc");var xRi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1771);$(1772,1,vn,Sgt),w.Cd=i(function(n){y(n,380).de()},"cjc");var TRi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1772);$(1773,1,gi,Agt),w.Mb=i(function(n){return $e(y(n,60).g,10)},"ejc");var kRi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1773);$(1775,1,vn,hTt),w.Cd=i(function(n){udn(this.a,y(n,60))},"gjc");var CRi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1775);$(1774,1,kX,MEt),w.de=i(function(){e9(this.b,this.a,-1)},"ijc"),w.a=0;var ERi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1774);$(1776,1,q0,Rgt),w.Lb=i(function(n){return $e(y(n,60).g,10)},"kjc"),w.Fb=i(function(n){return this===n},"ljc"),w.Mb=i(function(n){return $e(y(n,60).g,10)},"mjc");var SRi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1776);$(1777,1,vn,Lgt),w.Cd=i(function(n){y(n,380).de()},"ojc");var ARi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1777);$(1778,1,{},fTt),w.Ye=i(function(n){return Hyn(this.a,y(n,60))},"qjc");var RRi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1778);$(1779,1,{},Dgt),w.We=i(function(){return 0},"sjc");var LRi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1779);$(1762,1,{},_gt),w.We=i(function(){return 0},"ujc");var DRi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1762);$(1781,1,vn,LEt),w.Cd=i(function(n){gnn(this.a,this.b,y(n,316))},"wjc"),w.a=0;var _Ri=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1781);$(1780,1,kX,DEt),w.de=i(function(){DFt(this.a,this.b,-1)},"yjc"),w.b=0;var MRi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1780);$(1782,1,q0,Mgt),w.Lb=i(function(n){return y(n,60),!0},"Ajc"),w.Fb=i(function(n){return this===n},"Bjc"),w.Mb=i(function(n){return y(n,60),!0},"Cjc");var IRi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1782);$(1783,1,vn,Igt),w.Cd=i(function(n){y(n,380).de()},"Ejc");var NRi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1783);$(1763,1,gi,Ngt),w.Mb=i(function(n){return $e(y(n,60).g,10)},"Gjc");var ORi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1763);$(1765,1,vn,_Et),w.Cd=i(function(n){mnn(this.a,this.b,y(n,60))},"Ijc"),w.a=0;var PRi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1765);$(1764,1,kX,IEt),w.de=i(function(){e9(this.b,this.a,-1)},"Kjc"),w.a=0;var BRi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1764);$(1766,1,q0,Ogt),w.Lb=i(function(n){return y(n,60),!0},"Mjc"),w.Fb=i(function(n){return this===n},"Njc"),w.Mb=i(function(n){return y(n,60),!0},"Ojc");var FRi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1766);$(1767,1,vn,Pgt),w.Cd=i(function(n){y(n,380).de()},"Qjc");var $Ri=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1767);$(1768,1,gi,Bgt),w.Mb=i(function(n){return $e(y(n,60).g,154)},"Sjc");var GRi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1768);$(1770,1,vn,OEt),w.Cd=i(function(n){Ncn(this.a,this.b,y(n,60))},"Ujc");var jRi=j(_s,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1770);$(1586,1,Ca,e6t),w.Kf=i(function(n,s){Qkn(this,y(n,36),s)},"bkc");var XKt,zRi=j(_s,"HorizontalGraphCompactor",1586);$(1587,1,{},dTt),w.ff=i(function(n,s){var u,d,g;return z7e(n,s)||(u=sC(n),d=sC(s),u&&u.k==(sn(),ms)||d&&d.k==(sn(),ms))?0:(g=y(oe(this.a.a,(At(),eE)),312),rZr(g,u?u.k:(sn(),ro),d?d.k:(sn(),ro)))},"dkc"),w.gf=i(function(n,s){var u,d,g;return z7e(n,s)?1:(u=sC(n),d=sC(s),g=y(oe(this.a.a,(At(),eE)),312),I6e(g,u?u.k:(sn(),ro),d?d.k:(sn(),ro)))},"ekc");var URi=j(_s,"HorizontalGraphCompactor/1",1587);$(1588,1,{},Fgt),w.ef=i(function(n,s){return M_(),n.a.i==0},"gkc");var VRi=j(_s,"HorizontalGraphCompactor/lambda$0$Type",1588);$(1589,1,{},pTt),w.ef=i(function(n,s){return Gin(this.a,n,s)},"ikc");var HRi=j(_s,"HorizontalGraphCompactor/lambda$1$Type",1589);$(1730,1,{},V_t);var QKt,JKt,qRi=j(_s,"LGraphToCGraphTransformer",1730);$(1738,1,gi,$gt),w.Mb=i(function(n){return n!=null},"Lkc");var WRi=j(_s,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1738);$(1731,1,{},Ggt),w.Kb=i(function(n){return _p(),Hl(oe(y(y(n,60).g,10),(At(),ra)))},"Nkc");var YRi=j(_s,"LGraphToCGraphTransformer/lambda$0$Type",1731);$(1732,1,{},jgt),w.Kb=i(function(n){return _p(),tNt(y(y(n,60).g,154))},"Pkc");var KRi=j(_s,"LGraphToCGraphTransformer/lambda$1$Type",1732);$(1741,1,gi,zgt),w.Mb=i(function(n){return _p(),$e(y(n,60).g,10)},"Rkc");var XRi=j(_s,"LGraphToCGraphTransformer/lambda$10$Type",1741);$(1742,1,vn,Ugt),w.Cd=i(function(n){Hin(y(n,60))},"Tkc");var QRi=j(_s,"LGraphToCGraphTransformer/lambda$11$Type",1742);$(1743,1,gi,Vgt),w.Mb=i(function(n){return _p(),$e(y(n,60).g,154)},"Vkc");var JRi=j(_s,"LGraphToCGraphTransformer/lambda$12$Type",1743);$(1747,1,vn,Hgt),w.Cd=i(function(n){Tfn(y(n,60))},"Xkc");var ZRi=j(_s,"LGraphToCGraphTransformer/lambda$13$Type",1747);$(1744,1,vn,gTt),w.Cd=i(function(n){KQr(this.a,y(n,8))},"Zkc"),w.a=0;var eLi=j(_s,"LGraphToCGraphTransformer/lambda$14$Type",1744);$(1745,1,vn,mTt),w.Cd=i(function(n){QQr(this.a,y(n,116))},"_kc"),w.a=0;var tLi=j(_s,"LGraphToCGraphTransformer/lambda$15$Type",1745);$(1746,1,vn,yTt),w.Cd=i(function(n){XQr(this.a,y(n,8))},"blc"),w.a=0;var rLi=j(_s,"LGraphToCGraphTransformer/lambda$16$Type",1746);$(1748,1,{},qgt),w.Kb=i(function(n){return _p(),new Tr(null,new Ax(new bn(wn(fs(y(n,10)).a.Kc(),new I))))},"dlc");var nLi=j(_s,"LGraphToCGraphTransformer/lambda$17$Type",1748);$(1749,1,gi,Wgt),w.Mb=i(function(n){return _p(),Ko(y(n,18))},"flc");var iLi=j(_s,"LGraphToCGraphTransformer/lambda$18$Type",1749);$(1750,1,vn,bTt),w.Cd=i(function(n){fcn(this.a,y(n,18))},"hlc");var aLi=j(_s,"LGraphToCGraphTransformer/lambda$19$Type",1750);$(1734,1,vn,vTt),w.Cd=i(function(n){$sn(this.a,y(n,154))},"jlc");var sLi=j(_s,"LGraphToCGraphTransformer/lambda$2$Type",1734);$(1751,1,{},Ygt),w.Kb=i(function(n){return _p(),new Tr(null,new Ar(y(n,30).a,16))},"llc");var oLi=j(_s,"LGraphToCGraphTransformer/lambda$20$Type",1751);$(1752,1,{},Kgt),w.Kb=i(function(n){return _p(),new Tr(null,new Ax(new bn(wn(fs(y(n,10)).a.Kc(),new I))))},"nlc");var lLi=j(_s,"LGraphToCGraphTransformer/lambda$21$Type",1752);$(1753,1,{},Xgt),w.Kb=i(function(n){return _p(),y(oe(y(n,18),(At(),mw)),15)},"plc");var cLi=j(_s,"LGraphToCGraphTransformer/lambda$22$Type",1753);$(1754,1,gi,Qgt),w.Mb=i(function(n){return nZr(y(n,15))},"rlc");var uLi=j(_s,"LGraphToCGraphTransformer/lambda$23$Type",1754);$(1755,1,vn,wTt),w.Cd=i(function(n){Iyn(this.a,y(n,15))},"tlc");var hLi=j(_s,"LGraphToCGraphTransformer/lambda$24$Type",1755);$(1733,1,vn,PEt),w.Cd=i(function(n){Pon(this.a,this.b,y(n,154))},"vlc");var fLi=j(_s,"LGraphToCGraphTransformer/lambda$3$Type",1733);$(1735,1,{},Jgt),w.Kb=i(function(n){return _p(),new Tr(null,new Ar(y(n,30).a,16))},"xlc");var dLi=j(_s,"LGraphToCGraphTransformer/lambda$4$Type",1735);$(1736,1,{},Zgt),w.Kb=i(function(n){return _p(),new Tr(null,new Ax(new bn(wn(fs(y(n,10)).a.Kc(),new I))))},"zlc");var pLi=j(_s,"LGraphToCGraphTransformer/lambda$5$Type",1736);$(1737,1,{},e0t),w.Kb=i(function(n){return _p(),y(oe(y(n,18),(At(),mw)),15)},"Blc");var gLi=j(_s,"LGraphToCGraphTransformer/lambda$6$Type",1737);$(1739,1,vn,xTt),w.Cd=i(function(n){qyn(this.a,y(n,15))},"Dlc");var mLi=j(_s,"LGraphToCGraphTransformer/lambda$8$Type",1739);$(1740,1,vn,BEt),w.Cd=i(function(n){xJr(this.a,this.b,y(n,154))},"Flc");var yLi=j(_s,"LGraphToCGraphTransformer/lambda$9$Type",1740);$(1729,1,{},t0t),w.cf=i(function(n){var s,u,d,g,x;for(this.a=n,this.d=new $se,this.c=ot(zPe,Gr,125,this.a.a.a.c.length,0,1),this.b=0,u=new ge(this.a.a.a);u.a=fe&&(It(x,_t(B)),Be=p.Math.max(Be,Ye[B-1]-U),A+=ue,xe+=Ye[B-1]-xe,U=Ye[B-1],ue=D[B]),ue=p.Math.max(ue,D[B]),++B;A+=ue}ne=p.Math.min(1/Be,1/s.b/A),ne>d&&(d=ne,u=x)}return u},"Osc"),w.pg=i(function(){return!1},"Psc");var ODi=j(X0,"MSDCutIndexHeuristic",816);$(1683,1,Ca,F0t),w.Kf=i(function(n,s){tkn(y(n,36),s)},"Tsc");var PDi=j(X0,"SingleEdgeGraphWrapper",1683);$(232,22,{3:1,34:1,22:1,232:1},G_);var WC,kR,CR,E3,oI,YC,ER=Vn(Ic,"CenterEdgeLabelPlacementStrategy",232,Zn,Gln,zen),uXt;$(431,22,{3:1,34:1,22:1,431:1},N5e);var cFe,R0e,uFe=Vn(Ic,"ConstraintCalculationStrategy",431,Zn,san,Uen),hXt;$(322,22,{3:1,34:1,22:1,322:1,188:1,196:1},voe),w.dg=i(function(){return FBt(this)},"wtc"),w.qg=i(function(){return FBt(this)},"vtc");var NG,lI,hFe,fFe=Vn(Ic,"CrossingMinimizationStrategy",322,Zn,esn,Ven),fXt;$(351,22,{3:1,34:1,22:1,351:1},woe);var dFe,L0e,xJ,pFe=Vn(Ic,"CuttingStrategy",351,Zn,tsn,Hen),dXt;$(348,22,{3:1,34:1,22:1,348:1,188:1,196:1},RB),w.dg=i(function(){return RFt(this)},"Ttc"),w.qg=i(function(){return RFt(this)},"Stc");var gFe,D0e,SR,_0e,AR,mFe=Vn(Ic,"CycleBreakingStrategy",348,Zn,iln,qen),pXt;$(428,22,{3:1,34:1,22:1,428:1},O5e);var TJ,yFe,bFe=Vn(Ic,"DirectionCongruency",428,Zn,aan,Wen),gXt;$(460,22,{3:1,34:1,22:1,460:1},xoe);var RR,M0e,KC,mXt=Vn(Ic,"EdgeConstraint",460,Zn,rsn,etn),yXt;$(283,22,{3:1,34:1,22:1,283:1},j_);var I0e,N0e,O0e,P0e,kJ,B0e,vFe=Vn(Ic,"EdgeLabelSideSelection",283,Zn,Bln,ttn),bXt;$(488,22,{3:1,34:1,22:1,488:1},P5e);var CJ,wFe,xFe=Vn(Ic,"EdgeStraighteningStrategy",488,Zn,dan,rtn),vXt;$(281,22,{3:1,34:1,22:1,281:1},z_);var F0e,TFe,kFe,EJ,CFe,EFe,SFe=Vn(Ic,"FixedAlignment",281,Zn,Fln,Zen),wXt;$(282,22,{3:1,34:1,22:1,282:1},U_);var AFe,RFe,LFe,DFe,cI,_Fe,MFe=Vn(Ic,"GraphCompactionStrategy",282,Zn,$ln,Yen),xXt;$(259,22,{3:1,34:1,22:1,259:1},kk);var LR,SJ,DR,kd,uI,AJ,_R,XC,RJ,hI,$0e=Vn(Ic,"GraphProperties",259,Zn,kun,Ken),TXt;$(299,22,{3:1,34:1,22:1,299:1},Toe);var OG,G0e,j0e,z0e=Vn(Ic,"GreedySwitchType",299,Zn,nsn,Xen),kXt;$(311,22,{3:1,34:1,22:1,311:1},koe);var p6,PG,QC,CXt=Vn(Ic,"InLayerConstraint",311,Zn,isn,Qen),EXt;$(429,22,{3:1,34:1,22:1,429:1},B5e);var U0e,IFe,NFe=Vn(Ic,"InteractiveReferencePoint",429,Zn,ian,Jen),SXt,OFe,g6,yT,LJ,PFe,BFe,DJ,FFe,BG,_J,fI,m6,W1,V0e,MJ,vc,$Fe,Sv,ru,H0e,q0e,FG,gw,bT,y6,GFe,b6,$G,S3,wg,ep,W0e,JC,fa,ra,jFe,zFe,UFe,VFe,HFe,Y0e,IJ,Mh,vT,K0e,v6,dI,r0,ZC,wT,eE,tE,MR,mw,qFe,X0e,Q0e,w6;$(171,22,{3:1,34:1,22:1,171:1},LB);var pI,Av,gI,A3,GG,WFe=Vn(Ic,"LayerConstraint",171,Zn,sln,ntn),AXt;$(859,1,Kd,Z2t),w.hf=i(function(n){fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,H9e),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),n$e),(Hy(),Ba)),bFe),pr((mg(),Br))))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,q9e),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(Hr(),!1)),qs),os),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,FX),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),c$e),Ba),NFe),pr(Br)))),xs(n,FX,jde,xQt),xs(n,FX,N9,wQt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,W9e),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),qs),os),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,Y9e),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),qs),os),pr(Br)))),fr(n,new ir(KXr(ur(cr(hr(Er(ar(lr(sr(or(new nr,K9e),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),qs),os),pr(Cw)),Te(we(Jt,1),Lt,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,X9e),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),y$e),Ba),SGe),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,Q9e),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),_t(7)),Yl),Ro),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,J9e),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),qs),os),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,Z9e),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),qs),os),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,jde),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),r$e),Ba),mFe),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,aG),hpe),"Node Layering Strategy"),"Strategy for node layering."),f$e),Ba),pGe),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,eIe),hpe),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),u$e),Ba),WFe),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,tIe),hpe),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),Yl),Ro),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,rIe),hpe),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),_t(-1)),Yl),Ro),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,zde),KUt),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),_t(4)),Yl),Ro),pr(Br)))),xs(n,zde,aG,RQt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,Ude),KUt),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),_t(2)),Yl),Ro),pr(Br)))),xs(n,Ude,aG,DQt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,Vde),XUt),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),h$e),Ba),kGe),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,Hde),XUt),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),_t(0)),Yl),Ro),pr(Br)))),xs(n,Hde,Vde,null),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,qde),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),_t(Yi)),Yl),Ro),pr(Br)))),xs(n,qde,aG,kQt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,N9),aR),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),t$e),Ba),fFe),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,nIe),aR),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),qs),os),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,Wde),aR),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),Bo),Es),pr(Br)))),xs(n,Wde,QX,WXt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,Yde),aR),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),qs),os),pr(Br)))),xs(n,Yde,N9,ZXt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,iIe),aR),"In Layer Predecessor of"),"Allows to set a constraint which specifies of which node the current node is the predecessor. If set to 's' then the node is the predecessor of 's' and is in the same layer"),null),fE),Jt),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,aIe),aR),"In Layer Successor of"),"Allows to set a constraint which specifies of which node the current node is the successor. If set to 's' then the node is the successor of 's' and is in the same layer"),null),fE),Jt),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,sIe),aR),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),Yl),Ro),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,oIe),aR),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),_t(-1)),Yl),Ro),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,lIe),QUt),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),_t(40)),Yl),Ro),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,Kde),QUt),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),e$e),Ba),z0e),pr(Br)))),xs(n,Kde,N9,HXt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,$X),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),ZFe),Ba),z0e),pr(Br)))),xs(n,$X,N9,zXt),xs(n,$X,QX,UXt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,PC),JUt),"Node Placement Strategy"),"Strategy for node placement."),m$e),Ba),bGe),pr(Br)))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,GX),JUt),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),qs),os),pr(Br)))),xs(n,GX,PC,jQt),xs(n,GX,PC,zQt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,Xde),ZUt),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),d$e),Ba),xFe),pr(Br)))),xs(n,Xde,PC,BQt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,Qde),ZUt),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),p$e),Ba),SFe),pr(Br)))),xs(n,Qde,PC,$Qt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,Jde),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),Bo),Es),pr(Br)))),xs(n,Jde,PC,VQt),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,Zde),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),Ba),vme),pr(Gs)))),xs(n,Zde,PC,YQt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,epe),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),g$e),Ba),vme),pr(Br)))),xs(n,epe,PC,WQt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,cIe),eVt),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),s$e),Ba),LGe),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,uIe),eVt),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),o$e),Ba),DGe),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,jX),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),l$e),Ba),MGe),pr(Br)))),xs(n,jX,sG,uQt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,zX),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),Bo),Es),pr(Br)))),xs(n,zX,sG,fQt),xs(n,zX,jX,dQt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,tpe),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),Bo),Es),pr(Br)))),xs(n,tpe,sG,sQt),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,hIe),Zg),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),Bo),Es),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,fIe),Zg),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),Bo),Es),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,dIe),Zg),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),Bo),Es),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,pIe),Zg),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),Bo),Es),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,gIe),EIe),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),_t(0)),Yl),Ro),pr(im)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,mIe),EIe),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),_t(0)),Yl),Ro),pr(im)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,yIe),EIe),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),_t(0)),Yl),Ro),pr(im)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,rpe),SIe),yUt),"Tries to further compact components (disconnected sub-graphs)."),!1),qs),os),pr(Br)))),xs(n,rpe,L9,!0),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,bIe),tVt),"Post Compaction Strategy"),rVt),KFe),Ba),MFe),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,vIe),tVt),"Post Compaction Constraint Calculation"),rVt),YFe),Ba),uFe),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,UX),AIe),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),qs),os),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,npe),AIe),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),_t(16)),Yl),Ro),pr(Br)))),xs(n,npe,UX,!0),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,ipe),AIe),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),_t(5)),Yl),Ro),pr(Br)))),xs(n,ipe,UX,!0),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,V1),RIe),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),w$e),Ba),PGe),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,VX),RIe),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),Bo),Es),pr(Br)))),xs(n,VX,V1,oJt),xs(n,VX,V1,lJt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,HX),RIe),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),Bo),Es),pr(Br)))),xs(n,HX,V1,uJt),xs(n,HX,V1,hJt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,O9),nVt),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),v$e),Ba),pFe),pr(Br)))),xs(n,O9,V1,yJt),xs(n,O9,V1,bJt),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,ape),nVt),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),i0),Td),pr(Br)))),xs(n,ape,O9,dJt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,spe),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),b$e),Yl),Ro),pr(Br)))),xs(n,spe,O9,gJt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,qX),iVt),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),x$e),Ba),OGe),pr(Br)))),xs(n,qX,V1,DJt),xs(n,qX,V1,_Jt),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,WX),iVt),"Valid Indices for Wrapping"),null),i0),Td),pr(Br)))),xs(n,WX,V1,AJt),xs(n,WX,V1,RJt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,YX),LIe),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),qs),os),pr(Br)))),xs(n,YX,V1,TJt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,KX),LIe),"Distance Penalty When Improving Cuts"),null),2),Bo),Es),pr(Br)))),xs(n,KX,V1,wJt),xs(n,KX,YX,!0),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,ope),LIe),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),qs),os),pr(Br)))),xs(n,ope,V1,CJt),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,wIe),fpe),"Edge Label Side Selection"),"Method to decide on edge label sides."),a$e),Ba),vFe),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,xIe),fpe),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),i$e),Ba),ER),Sa(Br,Te(we(Qm,1),kt,170,0,[nb]))))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,XX),P9),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),JFe),Ba),EGe),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,TIe),P9),"Consider Port Order"),"If disabled the port order of output ports is derived from the edge order and input ports are ordered by their incoming connections. If enabled all ports are ordered by the port model order."),!1),qs),os),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,kIe),P9),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),qs),os),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,lpe),P9),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),XFe),Ba),bBe),pr(Br)))),xs(n,lpe,L9,null),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,CIe),P9),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),QFe),Ba),mGe),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,cpe),P9),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),Bo),Es),pr(Br)))),xs(n,cpe,XX,null),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,upe),P9),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),Bo),Es),pr(Br)))),xs(n,upe,XX,null),Tzt((new ewt,n))},"Qzc");var RXt,LXt,DXt,YFe,_Xt,KFe,MXt,XFe,IXt,NXt,OXt,QFe,PXt,BXt,FXt,JFe,$Xt,GXt,jXt,ZFe,zXt,UXt,VXt,e$e,HXt,qXt,WXt,YXt,KXt,XXt,QXt,JXt,ZXt,eQt,t$e,tQt,r$e,rQt,n$e,nQt,i$e,iQt,a$e,aQt,sQt,oQt,s$e,lQt,o$e,cQt,l$e,uQt,hQt,fQt,dQt,pQt,gQt,mQt,yQt,bQt,vQt,c$e,wQt,xQt,TQt,kQt,CQt,EQt,u$e,SQt,AQt,RQt,LQt,DQt,_Qt,MQt,h$e,IQt,f$e,NQt,OQt,PQt,d$e,BQt,FQt,p$e,$Qt,GQt,jQt,zQt,UQt,VQt,HQt,qQt,g$e,WQt,YQt,KQt,m$e,XQt,y$e,QQt,JQt,ZQt,eJt,tJt,rJt,nJt,iJt,aJt,sJt,oJt,lJt,cJt,uJt,hJt,fJt,dJt,pJt,b$e,gJt,mJt,v$e,yJt,bJt,vJt,wJt,xJt,TJt,kJt,CJt,EJt,w$e,SJt,AJt,RJt,LJt,x$e,DJt,_Jt,BDi=j(Ic,"LayeredMetaDataProvider",859);$(998,1,Kd,ewt),w.hf=i(function(n){Tzt(n)},"BCc");var tm,J0e,NJ,mI,OJ,T$e,PJ,R3,BJ,k$e,C$e,FJ,Z0e,Xm,eme,xT,E$e,jG,tme,S$e,MJt,IJt,NJt,$J,rme,yI,yw,OJt,$f,A$e,R$e,GJ,nme,rm,jJ,Y1,L$e,D$e,_$e,ime,ame,M$e,Jy,sme,I$e,L3,N$e,O$e,P$e,zJ,D3,bw,B$e,F$e,Dl,$$e,PJt,Pu,UJ,G$e,j$e,z$e,Rv,vw,VJ,U$e,V$e,HJ,TT,H$e,ome,bI,q$e,kT,vI,qJ,ww,lme,IR,WJ,xw,W$e,Y$e,K$e,NR,X$e,BJt,FJt,$Jt,GJt,CT,_3,ns,Zy,jJt,M3,Q$e,OR,J$e,I3,zJt,PR,Z$e,x6,UJt,VJt,zG,cme,eGe,UG,Up,rE,nE,ET,Tw,YJ,N3,ume,BR,FR,ST,iE,hme,VG,wI,xI,HJt,qJt,WJt,tGe,YJt,fme,rGe,nGe,iGe,aGe,dme,sGe,oGe,lGe,cGe,pme,KJ,FDi=j(Ic,"LayeredOptions",998);$(999,1,{},$0t),w.sf=i(function(){var n;return n=new z3t,n},"DCc"),w.tf=i(function(n){},"ECc");var $Di=j(Ic,"LayeredOptions/LayeredFactory",999);$(1391,1,{}),w.a=0;var KJt,GDi=j(mc,"ElkSpacings/AbstractSpacingsBuilder",1391);$(792,1391,{},_Le);var XJ,XJt,jDi=j(Ic,"LayeredSpacings/LayeredSpacingsBuilder",792);$(265,22,{3:1,34:1,22:1,265:1,188:1,196:1},V4),w.dg=i(function(){return B$t(this)},"dDc"),w.qg=i(function(){return B$t(this)},"cDc");var $R,gme,GR,uGe,hGe,fGe,QJ,mme,dGe,pGe=Vn(Ic,"LayeringStrategy",265,Zn,Zcn,itn),QJt;$(390,22,{3:1,34:1,22:1,390:1},Coe);var yme,gGe,JJ,mGe=Vn(Ic,"LongEdgeOrderingStrategy",390,Zn,asn,atn),JJt;$(203,22,{3:1,34:1,22:1,203:1},zq);var aE,sE,ZJ,bme,vme=Vn(Ic,"NodeFlexibility",203,Zn,pon,stn),ZJt;$(323,22,{3:1,34:1,22:1,323:1,188:1,196:1},DB),w.dg=i(function(){return AFt(this)},"NDc"),w.qg=i(function(){return AFt(this)},"MDc");var TI,wme,xme,kI,yGe,bGe=Vn(Ic,"NodePlacementStrategy",323,Zn,aln,otn),eZt;$(243,22,{3:1,34:1,22:1,243:1},Ck);var vGe,AT,O3,HG,wGe,xGe,qG,TGe,eZ,tZ,kGe=Vn(Ic,"NodePromotionStrategy",243,Zn,Cun,ltn),tZt;$(284,22,{3:1,34:1,22:1,284:1},Uq);var CGe,eb,Tme,kme,EGe=Vn(Ic,"OrderingStrategy",284,Zn,gon,ctn),rZt;$(430,22,{3:1,34:1,22:1,430:1},F5e);var Cme,Eme,SGe=Vn(Ic,"PortSortingStrategy",430,Zn,oan,utn),nZt;$(463,22,{3:1,34:1,22:1,463:1},Eoe);var Ih,vu,CI,iZt=Vn(Ic,"PortType",463,Zn,ssn,htn),aZt;$(387,22,{3:1,34:1,22:1,387:1},Soe);var AGe,Sme,RGe,LGe=Vn(Ic,"SelfLoopDistributionStrategy",387,Zn,osn,ftn),sZt;$(349,22,{3:1,34:1,22:1,349:1},Aoe);var Ame,WG,Rme,DGe=Vn(Ic,"SelfLoopOrderingStrategy",349,Zn,lsn,dtn),oZt;$(312,1,{312:1},vjt);var zDi=j(Ic,"Spacings",312);$(350,22,{3:1,34:1,22:1,350:1},Roe);var Lme,_Ge,EI,MGe=Vn(Ic,"SplineRoutingMode",350,Zn,csn,ptn),lZt;$(352,22,{3:1,34:1,22:1,352:1},Loe);var Dme,IGe,NGe,OGe=Vn(Ic,"ValidifyStrategy",352,Zn,usn,gtn),cZt;$(388,22,{3:1,34:1,22:1,388:1},Doe);var P3,_me,jR,PGe=Vn(Ic,"WrappingStrategy",388,Zn,hsn,mtn),uZt;$(1398,1,ll,H2t),w.rg=i(function(n){return y(n,36),hZt},"OFc"),w.Kf=i(function(n,s){Ykn(this,y(n,36),s)},"PFc");var hZt,UDi=j(tQ,"DepthFirstCycleBreaker",1398);$(793,1,ll,QAe),w.rg=i(function(n){return y(n,36),fZt},"WFc"),w.Kf=i(function(n,s){JCn(this,y(n,36),s)},"XFc"),w.sg=i(function(n){return y(Xt(n,MK(this.d,n.c.length)),10)},"VFc");var fZt,VDi=j(tQ,"GreedyCycleBreaker",793);$(1401,793,ll,FSt),w.sg=i(function(n){var s,u,d,g;for(g=null,s=Yi,d=new ge(n);d.a1&&(Kt(Yt(oe(Eo((_r(0,n.c.length),y(n.c[0],10))),(Ht(),xT))))?GFt(n,this.d,y(this,669)):(Dr(),gs(n,this.d)),j9t(this.e,n))},"aJc"),w.lg=i(function(n,s,u,d){var g,x,k,A,D,N,B;for(s!=i8t(u,n.length)&&(x=n[s-(u?1:-1)],S7e(this.f,x,u?(al(),vu):(al(),Ih))),g=n[s][0],B=!d||g.k==(sn(),ms),N=jg(n[s]),this.vg(N,B,!1,u),k=0,D=new ge(N);D.a"),n0?uce(this.a,n[s-1],n[s]):!u&&s1&&(Kt(Yt(oe(Eo((_r(0,n.c.length),y(n.c[0],10))),(Ht(),xT))))?GFt(n,this.d,this):(Dr(),gs(n,this.d)),Kt(Yt(oe(Eo((_r(0,n.c.length),y(n.c[0],10))),xT)))||j9t(this.e,n))},"xLc");var L_i=j(gh,"ModelOrderBarycenterHeuristic",669);$(1866,1,wi,jTt),w.Ne=i(function(n,s){return Y1n(this.a,y(n,10),y(s,10))},"zLc"),w.Fb=i(function(n){return this===n},"ALc"),w.Oe=i(function(){return new si(this)},"BLc");var D_i=j(gh,"ModelOrderBarycenterHeuristic/lambda$0$Type",1866);$(1423,1,ll,rwt),w.rg=i(function(n){var s;return y(n,36),s=aW(RZt),Si(s,(Io(),zc),(jo(),uJ)),s},"GLc"),w.Kf=i(function(n,s){_in((y(n,36),s))},"HLc");var RZt,__i=j(gh,"NoCrossingMinimizer",1423);$(809,413,uNe,o5e),w.tg=i(function(n,s,u){var d,g,x,k,A,D,N,B,U,ee,ne;switch(U=this.g,u.g){case 1:{for(g=0,x=0,B=new ge(n.j);B.a1&&(g.j==(Bt(),pn)?this.b[n]=!0:g.j==on&&n>0&&(this.b[n-1]=!0))},"WLc"),w.f=0;var N_i=j(qm,"AllCrossingsCounter",1861);$(595,1,{},XY),w.b=0,w.d=0;var O_i=j(qm,"BinaryIndexedTree",595);$(532,1,{},QB);var $Ge,nZ,P_i=j(qm,"CrossingsCounter",532);$(1950,1,wi,zTt),w.Ne=i(function(n,s){return nnn(this.a,y(n,12),y(s,12))},"IMc"),w.Fb=i(function(n){return this===n},"JMc"),w.Oe=i(function(){return new si(this)},"KMc");var B_i=j(qm,"CrossingsCounter/lambda$0$Type",1950);$(1951,1,wi,UTt),w.Ne=i(function(n,s){return inn(this.a,y(n,12),y(s,12))},"MMc"),w.Fb=i(function(n){return this===n},"NMc"),w.Oe=i(function(){return new si(this)},"OMc");var F_i=j(qm,"CrossingsCounter/lambda$1$Type",1951);$(1952,1,wi,VTt),w.Ne=i(function(n,s){return ann(this.a,y(n,12),y(s,12))},"QMc"),w.Fb=i(function(n){return this===n},"RMc"),w.Oe=i(function(){return new si(this)},"SMc");var $_i=j(qm,"CrossingsCounter/lambda$2$Type",1952);$(1953,1,wi,HTt),w.Ne=i(function(n,s){return snn(this.a,y(n,12),y(s,12))},"UMc"),w.Fb=i(function(n){return this===n},"VMc"),w.Oe=i(function(){return new si(this)},"WMc");var G_i=j(qm,"CrossingsCounter/lambda$3$Type",1953);$(1954,1,vn,qTt),w.Cd=i(function(n){scn(this.a,y(n,12))},"YMc");var j_i=j(qm,"CrossingsCounter/lambda$4$Type",1954);$(1955,1,gi,WTt),w.Mb=i(function(n){return _Qr(this.a,y(n,12))},"$Mc");var z_i=j(qm,"CrossingsCounter/lambda$5$Type",1955);$(1956,1,vn,YTt),w.Cd=i(function(n){LSt(this,n)},"bNc");var U_i=j(qm,"CrossingsCounter/lambda$6$Type",1956);$(1957,1,vn,GEt),w.Cd=i(function(n){var s;D8(),tv(this.b,(s=this.a,y(n,12),s))},"dNc");var V_i=j(qm,"CrossingsCounter/lambda$7$Type",1957);$(839,1,q0,PEe),w.Lb=i(function(n){return D8(),Ea(y(n,12),(At(),Mh))},"fNc"),w.Fb=i(function(n){return this===n},"gNc"),w.Mb=i(function(n){return D8(),Ea(y(n,12),(At(),Mh))},"hNc");var H_i=j(qm,"CrossingsCounter/lambda$8$Type",839);$(1949,1,{},KTt);var q_i=j(qm,"HyperedgeCrossingsCounter",1949);$(478,1,{34:1,478:1},U6t),w.Fd=i(function(n){return apn(this,y(n,478))},"mNc"),w.b=0,w.c=0,w.e=0,w.f=0;var $En=j(qm,"HyperedgeCrossingsCounter/Hyperedge",478);$(374,1,{34:1,374:1},QW),w.Fd=i(function(n){return vvn(this,y(n,374))},"pNc"),w.b=0,w.c=0;var LZt=j(qm,"HyperedgeCrossingsCounter/HyperedgeCorner",374);$(531,22,{3:1,34:1,22:1,531:1},$5e);var AI,RI,DZt=Vn(qm,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",531,Zn,lan,btn),_Zt;$(1425,1,ll,nwt),w.rg=i(function(n){return y(oe(y(n,36),(At(),ru)),21).Hc((sl(),kd))?MZt:null},"ENc"),w.Kf=i(function(n,s){D0n(this,y(n,36),s)},"FNc");var MZt,W_i=j(cl,"InteractiveNodePlacer",1425);$(1426,1,ll,iwt),w.rg=i(function(n){return y(oe(y(n,36),(At(),ru)),21).Hc((sl(),kd))?IZt:null},"UNc"),w.Kf=i(function(n,s){pgn(this,y(n,36),s)},"VNc");var IZt,iZ,aZ,Y_i=j(cl,"LinearSegmentsNodePlacer",1426);$(261,1,{34:1,261:1},OSe),w.Fd=i(function(n){return UXr(this,y(n,261))},"$Nc"),w.Fb=i(function(n){var s;return $e(n,261)?(s=y(n,261),this.b==s.b):!1},"_Nc"),w.Hb=i(function(){return this.b},"aOc"),w.Ib=i(function(){return"ls"+hv(this.e)},"bOc"),w.a=0,w.b=0,w.c=-1,w.d=-1,w.g=0;var NZt=j(cl,"LinearSegmentsNodePlacer/LinearSegment",261);$(1428,1,ll,p8t),w.rg=i(function(n){return y(oe(y(n,36),(At(),ru)),21).Hc((sl(),kd))?OZt:null},"zOc"),w.Kf=i(function(n,s){UCn(this,y(n,36),s)},"HOc"),w.b=0,w.g=0;var OZt,K_i=j(cl,"NetworkSimplexPlacer",1428);$(1447,1,wi,K0t),w.Ne=i(function(n,s){return Lc(y(n,17).a,y(s,17).a)},"JOc"),w.Fb=i(function(n){return this===n},"KOc"),w.Oe=i(function(){return new si(this)},"LOc");var X_i=j(cl,"NetworkSimplexPlacer/0methodref$compare$Type",1447);$(1449,1,wi,X0t),w.Ne=i(function(n,s){return Lc(y(n,17).a,y(s,17).a)},"NOc"),w.Fb=i(function(n){return this===n},"OOc"),w.Oe=i(function(){return new si(this)},"POc");var Q_i=j(cl,"NetworkSimplexPlacer/1methodref$compare$Type",1449);$(655,1,{655:1},jEt);var GEn=j(cl,"NetworkSimplexPlacer/EdgeRep",655);$(412,1,{412:1},_8e),w.b=!1;var jEn=j(cl,"NetworkSimplexPlacer/NodeRep",412);$(515,13,{3:1,4:1,20:1,31:1,56:1,13:1,16:1,15:1,59:1,515:1},Q3t);var J_i=j(cl,"NetworkSimplexPlacer/Path",515);$(1429,1,{},Q0t),w.Kb=i(function(n){return y(n,18).d.i.k},"XOc");var Z_i=j(cl,"NetworkSimplexPlacer/Path/lambda$0$Type",1429);$(1430,1,gi,J0t),w.Mb=i(function(n){return y(n,273)==(sn(),ro)},"ZOc");var eMi=j(cl,"NetworkSimplexPlacer/Path/lambda$1$Type",1430);$(1431,1,{},Z0t),w.Kb=i(function(n){return y(n,18).d.i},"_Oc");var tMi=j(cl,"NetworkSimplexPlacer/Path/lambda$2$Type",1431);$(1432,1,gi,XTt),w.Mb=i(function(n){return A6t(DNt(y(n,10)))},"bPc");var rMi=j(cl,"NetworkSimplexPlacer/Path/lambda$3$Type",1432);$(1433,1,gi,emt),w.Mb=i(function(n){return jrn(y(n,12))},"dPc");var nMi=j(cl,"NetworkSimplexPlacer/lambda$0$Type",1433);$(1434,1,vn,zEt),w.Cd=i(function(n){TJr(this.a,this.b,y(n,12))},"fPc");var iMi=j(cl,"NetworkSimplexPlacer/lambda$1$Type",1434);$(1443,1,vn,QTt),w.Cd=i(function(n){Yyn(this.a,y(n,18))},"hPc");var aMi=j(cl,"NetworkSimplexPlacer/lambda$10$Type",1443);$(1444,1,{},tmt),w.Kb=i(function(n){return Af(),new Tr(null,new Ar(y(n,30).a,16))},"jPc");var sMi=j(cl,"NetworkSimplexPlacer/lambda$11$Type",1444);$(1445,1,vn,JTt),w.Cd=i(function(n){zwn(this.a,y(n,10))},"lPc");var oMi=j(cl,"NetworkSimplexPlacer/lambda$12$Type",1445);$(1446,1,{},rmt),w.Kb=i(function(n){return Af(),_t(y(n,125).e)},"nPc");var lMi=j(cl,"NetworkSimplexPlacer/lambda$13$Type",1446);$(1448,1,{},nmt),w.Kb=i(function(n){return Af(),_t(y(n,125).e)},"pPc");var cMi=j(cl,"NetworkSimplexPlacer/lambda$15$Type",1448);$(1450,1,gi,imt),w.Mb=i(function(n){return Af(),y(n,412).c.k==(sn(),ls)},"rPc");var uMi=j(cl,"NetworkSimplexPlacer/lambda$17$Type",1450);$(1451,1,gi,amt),w.Mb=i(function(n){return Af(),y(n,412).c.j.c.length>1},"tPc");var hMi=j(cl,"NetworkSimplexPlacer/lambda$18$Type",1451);$(1452,1,vn,T7t),w.Cd=i(function(n){Adn(this.c,this.b,this.d,this.a,y(n,412))},"vPc"),w.c=0,w.d=0;var fMi=j(cl,"NetworkSimplexPlacer/lambda$19$Type",1452);$(1435,1,{},smt),w.Kb=i(function(n){return Af(),new Tr(null,new Ar(y(n,30).a,16))},"xPc");var dMi=j(cl,"NetworkSimplexPlacer/lambda$2$Type",1435);$(1453,1,vn,ZTt),w.Cd=i(function(n){CJr(this.a,y(n,12))},"zPc"),w.a=0;var pMi=j(cl,"NetworkSimplexPlacer/lambda$20$Type",1453);$(1454,1,{},omt),w.Kb=i(function(n){return Af(),new Tr(null,new Ar(y(n,30).a,16))},"BPc");var gMi=j(cl,"NetworkSimplexPlacer/lambda$21$Type",1454);$(1455,1,vn,ekt),w.Cd=i(function(n){PJr(this.a,y(n,10))},"DPc");var mMi=j(cl,"NetworkSimplexPlacer/lambda$22$Type",1455);$(1456,1,gi,lmt),w.Mb=i(function(n){return A6t(n)},"GPc");var yMi=j(cl,"NetworkSimplexPlacer/lambda$23$Type",1456);$(1457,1,{},cmt),w.Kb=i(function(n){return Af(),new Tr(null,new Ar(y(n,30).a,16))},"IPc");var bMi=j(cl,"NetworkSimplexPlacer/lambda$24$Type",1457);$(1458,1,gi,tkt),w.Mb=i(function(n){return HQr(this.a,y(n,10))},"KPc");var vMi=j(cl,"NetworkSimplexPlacer/lambda$25$Type",1458);$(1459,1,vn,UEt),w.Cd=i(function(n){J1n(this.a,this.b,y(n,10))},"MPc");var wMi=j(cl,"NetworkSimplexPlacer/lambda$26$Type",1459);$(1460,1,gi,umt),w.Mb=i(function(n){return Af(),!Ko(y(n,18))},"OPc");var xMi=j(cl,"NetworkSimplexPlacer/lambda$27$Type",1460);$(1461,1,gi,hmt),w.Mb=i(function(n){return Af(),!Ko(y(n,18))},"QPc");var TMi=j(cl,"NetworkSimplexPlacer/lambda$28$Type",1461);$(1462,1,{},rkt),w.Ve=i(function(n,s){return kJr(this.a,y(n,30),y(s,30))},"SPc");var kMi=j(cl,"NetworkSimplexPlacer/lambda$29$Type",1462);$(1436,1,{},fmt),w.Kb=i(function(n){return Af(),new Tr(null,new Ax(new bn(wn(fs(y(n,10)).a.Kc(),new I))))},"UPc");var CMi=j(cl,"NetworkSimplexPlacer/lambda$3$Type",1436);$(1437,1,gi,dmt),w.Mb=i(function(n){return Af(),Zsn(y(n,18))},"WPc");var EMi=j(cl,"NetworkSimplexPlacer/lambda$4$Type",1437);$(1438,1,vn,nkt),w.Cd=i(function(n){QTn(this.a,y(n,18))},"YPc");var SMi=j(cl,"NetworkSimplexPlacer/lambda$5$Type",1438);$(1439,1,{},pmt),w.Kb=i(function(n){return Af(),new Tr(null,new Ar(y(n,30).a,16))},"$Pc");var AMi=j(cl,"NetworkSimplexPlacer/lambda$6$Type",1439);$(1440,1,gi,gmt),w.Mb=i(function(n){return Af(),y(n,10).k==(sn(),ls)},"aQc");var RMi=j(cl,"NetworkSimplexPlacer/lambda$7$Type",1440);$(1441,1,{},mmt),w.Kb=i(function(n){return Af(),new Tr(null,new Ax(new bn(wn(B1(y(n,10)).a.Kc(),new I))))},"cQc");var LMi=j(cl,"NetworkSimplexPlacer/lambda$8$Type",1441);$(1442,1,gi,ymt),w.Mb=i(function(n){return Af(),Grn(y(n,18))},"eQc");var DMi=j(cl,"NetworkSimplexPlacer/lambda$9$Type",1442);$(1424,1,ll,awt),w.rg=i(function(n){return y(oe(y(n,36),(At(),ru)),21).Hc((sl(),kd))?PZt:null},"jQc"),w.Kf=i(function(n,s){_kn(y(n,36),s)},"kQc");var PZt,_Mi=j(cl,"SimpleNodePlacer",1424);$(185,1,{185:1},SC),w.Ib=i(function(){var n;return n="",this.c==(F0(),RT)?n+=e6:this.c==tb&&(n+=Z5),this.o==($g(),kw)?n+=vde:this.o==n0?n+="UP":n+="BALANCED",n},"tQc");var MMi=j(vv,"BKAlignedLayout",185);$(523,22,{3:1,34:1,22:1,523:1},G5e);var tb,RT,BZt=Vn(vv,"BKAlignedLayout/HDirection",523,Zn,uan,vtn),FZt;$(522,22,{3:1,34:1,22:1,522:1},j5e);var kw,n0,$Zt=Vn(vv,"BKAlignedLayout/VDirection",522,Zn,han,wtn),GZt;$(1699,1,{},VEt);var IMi=j(vv,"BKAligner",1699);$(1702,1,{},tPt);var NMi=j(vv,"BKCompactor",1702);$(663,1,{663:1},bmt),w.a=0;var OMi=j(vv,"BKCompactor/ClassEdge",663);$(467,1,{467:1},Y3t),w.a=null,w.b=0;var PMi=j(vv,"BKCompactor/ClassNode",467);$(1427,1,ll,YEt),w.rg=i(function(n){return y(oe(y(n,36),(At(),ru)),21).Hc((sl(),kd))?jZt:null},"eRc"),w.Kf=i(function(n,s){oEn(this,y(n,36),s)},"fRc"),w.d=!1;var jZt,BMi=j(vv,"BKNodePlacer",1427);$(1700,1,{},vmt),w.d=0;var FMi=j(vv,"NeighborhoodInformation",1700);$(1701,1,wi,ikt),w.Ne=i(function(n,s){return Ocn(this,y(n,42),y(s,42))},"nRc"),w.Fb=i(function(n){return this===n},"oRc"),w.Oe=i(function(){return new si(this)},"pRc");var $Mi=j(vv,"NeighborhoodInformation/NeighborComparator",1701);$(823,1,{});var GMi=j(vv,"ThresholdStrategy",823);$(1825,823,{},K3t),w.wg=i(function(n,s,u){return this.a.o==($g(),n0)?Pa:Ls},"vRc"),w.xg=i(function(){},"wRc");var jMi=j(vv,"ThresholdStrategy/NullThresholdStrategy",1825);$(587,1,{587:1},KEt),w.c=!1,w.d=!1;var zMi=j(vv,"ThresholdStrategy/Postprocessable",587);$(1826,823,{},X3t),w.wg=i(function(n,s,u){var d,g,x;return g=s==u,d=this.a.a[u.p]==s,g||d?(x=n,this.a.c==(F0(),RT)?(g&&(x=bfe(this,s,!0)),!isNaN(x)&&!isFinite(x)&&d&&(x=bfe(this,u,!1))):(g&&(x=bfe(this,s,!0)),!isNaN(x)&&!isFinite(x)&&d&&(x=bfe(this,u,!1))),x):n},"CRc"),w.xg=i(function(){for(var n,s,u,d,g;this.d.b!=0;)g=y(San(this.d),587),d=AGt(this,g),d.a&&(n=d.a,u=Kt(this.a.f[this.a.g[g.b.p].p]),!(!u&&!Ko(n)&&n.c.i.c==n.d.i.c)&&(s=MFt(this,g),s||YQr(this.e,g)));for(;this.e.a.c.length!=0;)MFt(this,y(IIt(this.e),587))},"DRc");var UMi=j(vv,"ThresholdStrategy/SimpleThresholdStrategy",1826);$(645,1,{645:1,188:1,196:1},wmt),w.dg=i(function(){return z9t(this)},"JRc"),w.qg=i(function(){return z9t(this)},"IRc");var Mme,VMi=j(ype,"EdgeRouterFactory",645);$(1485,1,ll,swt),w.rg=i(function(n){return bwn(y(n,36))},"XRc"),w.Kf=i(function(n,s){Bkn(y(n,36),s)},"YRc");var zZt,UZt,VZt,HZt,qZt,GGe,WZt,YZt,HMi=j(ype,"OrthogonalEdgeRouter",1485);$(1478,1,ll,WEt),w.rg=i(function(n){return G0n(y(n,36))},"mSc"),w.Kf=i(function(n,s){oCn(this,y(n,36),s)},"nSc");var KZt,XZt,QZt,JZt,KG,ZZt,qMi=j(ype,"PolylineEdgeRouter",1478);$(1479,1,q0,Tmt),w.Lb=i(function(n){return RRe(y(n,10))},"qSc"),w.Fb=i(function(n){return this===n},"rSc"),w.Mb=i(function(n){return RRe(y(n,10))},"sSc");var WMi=j(ype,"PolylineEdgeRouter/1",1479);$(1872,1,gi,kmt),w.Mb=i(function(n){return y(n,132).c==(hg(),Lv)},"ySc");var YMi=j(yg,"HyperEdgeCycleDetector/lambda$0$Type",1872);$(1873,1,{},Cmt),w.Ze=i(function(n){return y(n,132).d},"ASc");var KMi=j(yg,"HyperEdgeCycleDetector/lambda$1$Type",1873);$(1874,1,gi,Emt),w.Mb=i(function(n){return y(n,132).c==(hg(),Lv)},"CSc");var XMi=j(yg,"HyperEdgeCycleDetector/lambda$2$Type",1874);$(1875,1,{},Smt),w.Ze=i(function(n){return y(n,132).d},"ESc");var QMi=j(yg,"HyperEdgeCycleDetector/lambda$3$Type",1875);$(1876,1,{},Amt),w.Ze=i(function(n){return y(n,132).d},"GSc");var JMi=j(yg,"HyperEdgeCycleDetector/lambda$4$Type",1876);$(1877,1,{},xmt),w.Ze=i(function(n){return y(n,132).d},"ISc");var ZMi=j(yg,"HyperEdgeCycleDetector/lambda$5$Type",1877);$(118,1,{34:1,118:1},GF),w.Fd=i(function(n){return VXr(this,y(n,118))},"VSc"),w.Fb=i(function(n){var s;return $e(n,118)?(s=y(n,118),this.g==s.g):!1},"WSc"),w.Hb=i(function(){return this.g},"XSc"),w.Ib=i(function(){var n,s,u,d;for(n=new Ef("{"),d=new ge(this.n);d.a"+this.b+" ("+cZr(this.c)+")"},"cTc"),w.d=0;var t9i=j(yg,"HyperEdgeSegmentDependency",132);$(528,22,{3:1,34:1,22:1,528:1},z5e);var Lv,B3,eer=Vn(yg,"HyperEdgeSegmentDependency/DependencyType",528,Zn,fan,xtn),ter;$(1878,1,{},akt);var r9i=j(yg,"HyperEdgeSegmentSplitter",1878);$(1879,1,{},Q4t),w.a=0,w.b=0;var n9i=j(yg,"HyperEdgeSegmentSplitter/AreaRating",1879);$(339,1,{339:1},ble),w.a=0,w.b=0,w.c=0;var i9i=j(yg,"HyperEdgeSegmentSplitter/FreeArea",339);$(1880,1,wi,Rmt),w.Ne=i(function(n,s){return cen(y(n,118),y(s,118))},"DTc"),w.Fb=i(function(n){return this===n},"ETc"),w.Oe=i(function(){return new si(this)},"FTc");var a9i=j(yg,"HyperEdgeSegmentSplitter/lambda$0$Type",1880);$(1881,1,vn,k7t),w.Cd=i(function(n){Bon(this.a,this.d,this.c,this.b,y(n,118))},"HTc"),w.b=0;var s9i=j(yg,"HyperEdgeSegmentSplitter/lambda$1$Type",1881);$(1882,1,{},Lmt),w.Kb=i(function(n){return new Tr(null,new Ar(y(n,118).e,16))},"JTc");var o9i=j(yg,"HyperEdgeSegmentSplitter/lambda$2$Type",1882);$(1883,1,{},Dmt),w.Kb=i(function(n){return new Tr(null,new Ar(y(n,118).j,16))},"LTc");var l9i=j(yg,"HyperEdgeSegmentSplitter/lambda$3$Type",1883);$(1884,1,{},_mt),w.Ye=i(function(n){return Qe(rt(n))},"NTc");var c9i=j(yg,"HyperEdgeSegmentSplitter/lambda$4$Type",1884);$(664,1,{},Ule),w.a=0,w.b=0,w.c=0;var u9i=j(yg,"OrthogonalRoutingGenerator",664);$(1703,1,{},Mmt),w.Kb=i(function(n){return new Tr(null,new Ar(y(n,118).e,16))},"YTc");var h9i=j(yg,"OrthogonalRoutingGenerator/lambda$0$Type",1703);$(1704,1,{},Imt),w.Kb=i(function(n){return new Tr(null,new Ar(y(n,118).j,16))},"$Tc");var f9i=j(yg,"OrthogonalRoutingGenerator/lambda$1$Type",1704);$(670,1,{});var d9i=j(bpe,"BaseRoutingDirectionStrategy",670);$(1870,670,{},e4t),w.yg=i(function(n,s,u){var d,g,x,k,A,D,N,B,U,ee,ne,ue,fe;if(!(n.r&&!n.q))for(B=s+n.o*u,N=new ge(n.n);N.aY0&&(x=B,g=n,d=new St(U,x),ki(k.a,d),Zx(this,k,g,d,!1),ee=n.r,ee&&(ne=Qe(rt(yd(ee.e,0))),d=new St(ne,x),ki(k.a,d),Zx(this,k,g,d,!1),x=s+ee.o*u,g=ee,d=new St(ne,x),ki(k.a,d),Zx(this,k,g,d,!1)),d=new St(fe,x),ki(k.a,d),Zx(this,k,g,d,!1)))},"dUc"),w.zg=i(function(n){return n.i.n.a+n.n.a+n.a.a},"eUc"),w.Ag=i(function(){return Bt(),Gn},"fUc"),w.Bg=i(function(){return Bt(),en},"gUc");var p9i=j(bpe,"NorthToSouthRoutingStrategy",1870);$(1871,670,{},t4t),w.yg=i(function(n,s,u){var d,g,x,k,A,D,N,B,U,ee,ne,ue,fe;if(!(n.r&&!n.q))for(B=s-n.o*u,N=new ge(n.n);N.aY0&&(x=B,g=n,d=new St(U,x),ki(k.a,d),Zx(this,k,g,d,!1),ee=n.r,ee&&(ne=Qe(rt(yd(ee.e,0))),d=new St(ne,x),ki(k.a,d),Zx(this,k,g,d,!1),x=s-ee.o*u,g=ee,d=new St(ne,x),ki(k.a,d),Zx(this,k,g,d,!1)),d=new St(fe,x),ki(k.a,d),Zx(this,k,g,d,!1)))},"iUc"),w.zg=i(function(n){return n.i.n.a+n.n.a+n.a.a},"jUc"),w.Ag=i(function(){return Bt(),en},"kUc"),w.Bg=i(function(){return Bt(),Gn},"lUc");var g9i=j(bpe,"SouthToNorthRoutingStrategy",1871);$(1869,670,{},r4t),w.yg=i(function(n,s,u){var d,g,x,k,A,D,N,B,U,ee,ne,ue,fe;if(!(n.r&&!n.q))for(B=s+n.o*u,N=new ge(n.n);N.aY0&&(x=B,g=n,d=new St(x,U),ki(k.a,d),Zx(this,k,g,d,!0),ee=n.r,ee&&(ne=Qe(rt(yd(ee.e,0))),d=new St(x,ne),ki(k.a,d),Zx(this,k,g,d,!0),x=s+ee.o*u,g=ee,d=new St(x,ne),ki(k.a,d),Zx(this,k,g,d,!0)),d=new St(x,fe),ki(k.a,d),Zx(this,k,g,d,!0)))},"nUc"),w.zg=i(function(n){return n.i.n.b+n.n.b+n.a.b},"oUc"),w.Ag=i(function(){return Bt(),pn},"pUc"),w.Bg=i(function(){return Bt(),on},"qUc");var m9i=j(bpe,"WestToEastRoutingStrategy",1869);$(828,1,{},SMe),w.Ib=i(function(){return hv(this.a)},"xUc"),w.b=0,w.c=!1,w.d=!1,w.f=0;var y9i=j(d3,"NubSpline",828);$(418,1,{418:1},h$t,tRt);var b9i=j(d3,"NubSpline/PolarCP",418);$(1480,1,ll,WOt),w.rg=i(function(n){return Lmn(y(n,36))},"XUc"),w.Kf=i(function(n,s){SCn(this,y(n,36),s)},"YUc");var rer,ner,ier,aer,ser,v9i=j(d3,"SplineEdgeRouter",1480);$(274,1,{274:1},wY),w.Ib=i(function(){return this.a+" ->("+this.c+") "+this.b},"aVc"),w.c=0;var w9i=j(d3,"SplineEdgeRouter/Dependency",274);$(465,22,{3:1,34:1,22:1,465:1},U5e);var Dv,oE,oer=Vn(d3,"SplineEdgeRouter/SideToProcess",465,Zn,ban,Ttn),ler;$(1481,1,gi,Nmt),w.Mb=i(function(n){return h9(),!y(n,131).o},"kVc");var x9i=j(d3,"SplineEdgeRouter/lambda$0$Type",1481);$(1482,1,{},Omt),w.Ze=i(function(n){return h9(),y(n,131).v+1},"mVc");var T9i=j(d3,"SplineEdgeRouter/lambda$1$Type",1482);$(1483,1,vn,XEt),w.Cd=i(function(n){Vrn(this.a,this.b,y(n,42))},"oVc");var k9i=j(d3,"SplineEdgeRouter/lambda$2$Type",1483);$(1484,1,vn,QEt),w.Cd=i(function(n){Hrn(this.a,this.b,y(n,42))},"qVc");var C9i=j(d3,"SplineEdgeRouter/lambda$3$Type",1484);$(131,1,{34:1,131:1},EBt,MMe),w.Fd=i(function(n){return WXr(this,y(n,131))},"yVc"),w.b=0,w.e=!1,w.f=0,w.g=0,w.j=!1,w.k=!1,w.n=0,w.o=!1,w.p=!1,w.q=!1,w.s=0,w.u=0,w.v=0,w.F=0;var E9i=j(d3,"SplineSegment",131);$(468,1,{468:1},Pmt),w.a=0,w.b=!1,w.c=!1,w.d=!1,w.e=!1,w.f=0;var S9i=j(d3,"SplineSegment/EdgeInformation",468);$(1198,1,{},Bmt);var A9i=j(q1,L9e,1198);$(1199,1,wi,Fmt),w.Ne=i(function(n,s){return hbn(y(n,121),y(s,121))},"LVc"),w.Fb=i(function(n){return this===n},"MVc"),w.Oe=i(function(){return new si(this)},"NVc");var R9i=j(q1,xUt,1199);$(1197,1,{},dCt);var L9i=j(q1,"MrTree",1197);$(405,22,{3:1,34:1,22:1,405:1,188:1,196:1},Vq),w.dg=i(function(){return qBt(this)},"aWc"),w.qg=i(function(){return qBt(this)},"_Vc");var sZ,LI,DI,_I,jGe=Vn(q1,"TreeLayoutPhases",405,Zn,won,ktn),cer;$(1112,205,aw,j6t),w.rf=i(function(n,s){var u,d,g,x,k,A,D,N;for(Kt(Yt(Ct(n,(pc(),fje))))||fF((u=new y_((gx(),new ox(n))),u)),k=s.eh(xpe),k.Ug("build tGraph",1),A=(D=new xF,Bl(D,n),Tt(D,(xa(),II),n),N=new zn,nTn(n,D,N),TTn(n,D,N),D),k.Vg(),k=s.eh(xpe),k.Ug("Split graph",1),x=cTn(this.a,A),k.Vg(),g=new ge(x);g.a"+G2(this.c):"e_"+ka(this)},"XWc");var U9i=j(B9,"TEdge",65);$(121,137,{3:1,121:1,96:1,137:1},xF),w.Ib=i(function(){var n,s,u,d,g;for(g=null,d=Hn(this.b,0);d.b!=d.d.c;)u=y(Un(d),40),g+=(u.c==null||u.c.length==0?"n_"+u.g:"n_"+u.c)+` +`;for(s=Hn(this.a,0);s.b!=s.d.c;)n=y(Un(s),65),g+=(n.b&&n.c?G2(n.b)+"->"+G2(n.c):"e_"+ka(n))+` +`;return g},"ZWc");var zEn=j(B9,"TGraph",121);$(643,508,{3:1,508:1,643:1,96:1,137:1});var V9i=j(B9,"TShape",643);$(40,643,{3:1,508:1,40:1,643:1,96:1,137:1},xue),w.Ib=i(function(){return G2(this)},"cXc");var oZ=j(B9,"TNode",40);$(236,1,jm,x1),w.Jc=i(function(n){So(this,n)},"eXc"),w.Kc=i(function(){var n;return n=Hn(this.a.d,0),new $4(n)},"fXc");var H9i=j(B9,"TNode/2",236);$(329,1,lo,$4),w.Nb=i(function(n){Co(this,n)},"hXc"),w.Pb=i(function(){return y(Un(this.a),65).c},"jXc"),w.Ob=i(function(){return mB(this.a)},"iXc"),w.Qb=i(function(){Kce(this.a)},"kXc");var q9i=j(B9,"TNode/2/1",329);$(1923,1,Ca,Hmt),w.Kf=i(function(n,s){rEn(this,y(n,121),s)},"DXc");var W9i=j(Zc,"CompactionProcessor",1923);$(1924,1,wi,ukt),w.Ne=i(function(n,s){return Uun(this.a,y(n,40),y(s,40))},"FXc"),w.Fb=i(function(n){return this===n},"GXc"),w.Oe=i(function(){return new si(this)},"HXc");var Y9i=j(Zc,"CompactionProcessor/lambda$0$Type",1924);$(1925,1,gi,ZEt),w.Mb=i(function(n){return Kin(this.b,this.a,y(n,42))},"JXc"),w.a=0,w.b=0;var K9i=j(Zc,"CompactionProcessor/lambda$1$Type",1925);$(1934,1,wi,qmt),w.Ne=i(function(n,s){return Gnn(y(n,40),y(s,40))},"LXc"),w.Fb=i(function(n){return this===n},"MXc"),w.Oe=i(function(){return new si(this)},"NXc");var X9i=j(Zc,"CompactionProcessor/lambda$10$Type",1934);$(1935,1,wi,Wmt),w.Ne=i(function(n,s){return eZr(y(n,40),y(s,40))},"PXc"),w.Fb=i(function(n){return this===n},"QXc"),w.Oe=i(function(){return new si(this)},"RXc");var Q9i=j(Zc,"CompactionProcessor/lambda$11$Type",1935);$(1936,1,wi,Ymt),w.Ne=i(function(n,s){return jnn(y(n,40),y(s,40))},"TXc"),w.Fb=i(function(n){return this===n},"UXc"),w.Oe=i(function(){return new si(this)},"VXc");var J9i=j(Zc,"CompactionProcessor/lambda$12$Type",1936);$(1926,1,gi,hkt),w.Mb=i(function(n){return BJr(this.a,y(n,42))},"XXc"),w.a=0;var Z9i=j(Zc,"CompactionProcessor/lambda$2$Type",1926);$(1927,1,gi,fkt),w.Mb=i(function(n){return FJr(this.a,y(n,42))},"ZXc"),w.a=0;var eIi=j(Zc,"CompactionProcessor/lambda$3$Type",1927);$(1928,1,gi,Kmt),w.Mb=i(function(n){return y(n,40).c.indexOf(nQ)==-1},"_Xc");var tIi=j(Zc,"CompactionProcessor/lambda$4$Type",1928);$(1929,1,{},dkt),w.Kb=i(function(n){return Qsn(this.a,y(n,40))},"bYc"),w.a=0;var rIi=j(Zc,"CompactionProcessor/lambda$5$Type",1929);$(1930,1,{},pkt),w.Kb=i(function(n){return acn(this.a,y(n,40))},"dYc"),w.a=0;var nIi=j(Zc,"CompactionProcessor/lambda$6$Type",1930);$(1931,1,wi,gkt),w.Ne=i(function(n,s){return mln(this.a,y(n,240),y(s,240))},"fYc"),w.Fb=i(function(n){return this===n},"gYc"),w.Oe=i(function(){return new si(this)},"hYc");var iIi=j(Zc,"CompactionProcessor/lambda$7$Type",1931);$(1932,1,wi,mkt),w.Ne=i(function(n,s){return yln(this.a,y(n,40),y(s,40))},"jYc"),w.Fb=i(function(n){return this===n},"kYc"),w.Oe=i(function(){return new si(this)},"lYc");var aIi=j(Zc,"CompactionProcessor/lambda$8$Type",1932);$(1933,1,wi,Xmt),w.Ne=i(function(n,s){return tZr(y(n,40),y(s,40))},"nYc"),w.Fb=i(function(n){return this===n},"oYc"),w.Oe=i(function(){return new si(this)},"pYc");var sIi=j(Zc,"CompactionProcessor/lambda$9$Type",1933);$(1921,1,Ca,Qmt),w.Kf=i(function(n,s){Jwn(y(n,121),s)},"sYc");var oIi=j(Zc,"DirectionProcessor",1921);$(1913,1,Ca,G6t),w.Kf=i(function(n,s){wTn(this,y(n,121),s)},"xYc");var lIi=j(Zc,"FanProcessor",1913);$(1937,1,Ca,Jmt),w.Kf=i(function(n,s){Gwn(y(n,121),s)},"CYc");var cIi=j(Zc,"GraphBoundsProcessor",1937);$(1938,1,{},Zmt),w.Ye=i(function(n){return y(n,40).e.a},"EYc");var uIi=j(Zc,"GraphBoundsProcessor/lambda$0$Type",1938);$(1939,1,{},e1t),w.Ye=i(function(n){return y(n,40).e.b},"GYc");var hIi=j(Zc,"GraphBoundsProcessor/lambda$1$Type",1939);$(1940,1,{},t1t),w.Ye=i(function(n){return wQr(y(n,40))},"IYc");var fIi=j(Zc,"GraphBoundsProcessor/lambda$2$Type",1940);$(1941,1,{},r1t),w.Ye=i(function(n){return vQr(y(n,40))},"KYc");var dIi=j(Zc,"GraphBoundsProcessor/lambda$3$Type",1941);$(262,22,{3:1,34:1,22:1,262:1,196:1},mx),w.dg=i(function(){switch(this.g){case 0:return new m4t;case 1:return new G6t;case 2:return new g4t;case 3:return new o1t;case 4:return new i1t;case 8:return new n1t;case 5:return new Qmt;case 6:return new c1t;case 7:return new Hmt;case 9:return new Jmt;case 10:return new u1t;default:throw me(new Jr(Bde+(this.f!=null?this.f:""+this.g)))}},"YYc");var zGe,UGe,VGe,HGe,qGe,WGe,YGe,KGe,XGe,QGe,Ime,UEn=Vn(Zc,Fde,262,Zn,N9t,Ctn),uer;$(1920,1,Ca,n1t),w.Kf=i(function(n,s){Z4n(y(n,121),s)},"dZc");var pIi=j(Zc,"LevelCoordinatesProcessor",1920);$(1918,1,Ca,i1t),w.Kf=i(function(n,s){w2n(this,y(n,121),s)},"hZc"),w.a=0;var gIi=j(Zc,"LevelHeightProcessor",1918);$(1919,1,jm,a1t),w.Jc=i(function(n){So(this,n)},"jZc"),w.Kc=i(function(){return Dr(),x8(),vR},"kZc");var mIi=j(Zc,"LevelHeightProcessor/1",1919);$(1914,1,Ca,g4t),w.Kf=i(function(n,s){Nwn(this,y(n,121),s)},"oZc");var yIi=j(Zc,"LevelProcessor",1914);$(1915,1,gi,s1t),w.Mb=i(function(n){return Kt(Yt(oe(y(n,40),(xa(),_v))))},"qZc");var bIi=j(Zc,"LevelProcessor/lambda$0$Type",1915);$(1916,1,Ca,o1t),w.Kf=i(function(n,s){yyn(this,y(n,121),s)},"uZc"),w.a=0;var vIi=j(Zc,"NeighborsProcessor",1916);$(1917,1,jm,l1t),w.Jc=i(function(n){So(this,n)},"wZc"),w.Kc=i(function(){return Dr(),x8(),vR},"xZc");var wIi=j(Zc,"NeighborsProcessor/1",1917);$(1922,1,Ca,c1t),w.Kf=i(function(n,s){vTn(this,y(n,121),s)},"BZc"),w.a=0;var xIi=j(Zc,"NodePositionProcessor",1922);$(1912,1,Ca,m4t),w.Kf=i(function(n,s){t3n(this,y(n,121),s)},"EZc");var TIi=j(Zc,"RootProcessor",1912);$(1942,1,Ca,u1t),w.Kf=i(function(n,s){Qpn(y(n,121),s)},"HZc");var kIi=j(Zc,"Untreeifyer",1942);$(392,22,{3:1,34:1,22:1,392:1},Ioe);var XG,Nme,JGe,ZGe=Vn(lG,"EdgeRoutingMode",392,Zn,dsn,Etn),her,QG,zR,Ome,eje,tje,Pme,Bme,rje,Fme,nje,$me,MI,Gme,lZ,cZ,Vp,xg,UR,II,NI,rb,ije,fer,jme,_v,JG,ZG;$(862,1,Kd,owt),w.hf=i(function(n){fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,dNe),""),fVt),"Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level"),(Hr(),!1)),(Hy(),qs)),os),pr((mg(),Br))))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,pNe),""),"Edge End Texture Length"),"Should be set to the length of the texture at the end of an edge. This value can be used to improve the Edge Routing."),7),Bo),Es),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,gNe),""),"Tree Level"),"The index for the tree level the node is in"),_t(0)),Yl),Ro),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,mNe),""),fVt),"When set to a positive number this option will force the algorithm to place the node to the specified position within the trees layer if weighting is set to constraint"),_t(-1)),Yl),Ro),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,yNe),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),oje),Ba),vje),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,bNe),""),"Edge Routing Mode"),"Chooses an Edge Routing algorithm."),aje),Ba),ZGe),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,vNe),""),"Search Order"),"Which search order to use when computing a spanning tree."),sje),Ba),xje),pr(Br)))),rzt((new uwt,n))},"D$c");var der,per,ger,aje,mer,yer,sje,ber,ver,oje,CIi=j(lG,"MrTreeMetaDataProvider",862);$(1006,1,Kd,uwt),w.hf=i(function(n){rzt(n)},"k_c");var wer,lje,cje,LT,uje,hje,zme,xer,Ter,ker,Cer,Eer,Ser,Aer,fje,dje,pje,Rer,lE,uZ,gje,Ler,mje,Ume,Der,_er,Mer,yje,Ier,nm,bje,EIi=j(lG,"MrTreeOptions",1006);$(1007,1,{},h1t),w.sf=i(function(){var n;return n=new j6t,n},"m_c"),w.tf=i(function(n){},"n_c");var SIi=j(lG,"MrTreeOptions/MrtreeFactory",1007);$(353,22,{3:1,34:1,22:1,353:1},Hq);var Vme,hZ,Hme,qme,vje=Vn(lG,"OrderWeighting",353,Zn,xon,Stn),Ner;$(433,22,{3:1,34:1,22:1,433:1},V5e);var wje,Wme,xje=Vn(lG,"TreeifyingOrder",433,Zn,man,Atn),Oer;$(1486,1,ll,hwt),w.rg=i(function(n){return y(n,121),Per},"O_c"),w.Kf=i(function(n,s){_un(this,y(n,121),s)},"P_c");var Per,AIi=j("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1486);$(1487,1,ll,fwt),w.rg=i(function(n){return y(n,121),Ber},"W_c"),w.Kf=i(function(n,s){Fwn(this,y(n,121),s)},"$_c");var Ber,RIi=j(sR,"NodeOrderer",1487);$(1494,1,{},A1t),w.td=i(function(n){return WAt(n)},"b0c");var LIi=j(sR,"NodeOrderer/0methodref$lambda$6$Type",1494);$(1488,1,gi,R1t),w.Mb=i(function(n){return M5(),Kt(Yt(oe(y(n,40),(xa(),_v))))},"d0c");var DIi=j(sR,"NodeOrderer/lambda$0$Type",1488);$(1489,1,gi,L1t),w.Mb=i(function(n){return M5(),y(oe(y(n,40),(pc(),lE)),17).a<0},"f0c");var _Ii=j(sR,"NodeOrderer/lambda$1$Type",1489);$(1490,1,gi,bkt),w.Mb=i(function(n){return sun(this.a,y(n,40))},"h0c");var MIi=j(sR,"NodeOrderer/lambda$2$Type",1490);$(1491,1,gi,ykt),w.Mb=i(function(n){return eon(this.a,y(n,40))},"j0c");var IIi=j(sR,"NodeOrderer/lambda$3$Type",1491);$(1492,1,wi,D1t),w.Ne=i(function(n,s){return Lcn(y(n,40),y(s,40))},"l0c"),w.Fb=i(function(n){return this===n},"m0c"),w.Oe=i(function(){return new si(this)},"n0c");var NIi=j(sR,"NodeOrderer/lambda$4$Type",1492);$(1493,1,gi,_1t),w.Mb=i(function(n){return M5(),y(oe(y(n,40),(xa(),Bme)),17).a!=0},"p0c");var OIi=j(sR,"NodeOrderer/lambda$5$Type",1493);$(1495,1,ll,cwt),w.rg=i(function(n){return y(n,121),Fer},"y0c"),w.Kf=i(function(n,s){qxn(this,y(n,121),s)},"z0c"),w.b=0;var Fer,PIi=j("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1495);$(1496,1,ll,lwt),w.rg=i(function(n){return y(n,121),$er},"K0c"),w.Kf=i(function(n,s){Rxn(y(n,121),s)},"Y0c");var $er,VEn=j(yf,"EdgeRouter",1496);$(1498,1,wi,S1t),w.Ne=i(function(n,s){return Lc(y(n,17).a,y(s,17).a)},"$0c"),w.Fb=i(function(n){return this===n},"_0c"),w.Oe=i(function(){return new si(this)},"a1c");var BIi=j(yf,"EdgeRouter/0methodref$compare$Type",1498);$(1503,1,{},d1t),w.Ye=i(function(n){return Qe(rt(n))},"c1c");var FIi=j(yf,"EdgeRouter/1methodref$doubleValue$Type",1503);$(1505,1,wi,p1t),w.Ne=i(function(n,s){return ga(Qe(rt(n)),Qe(rt(s)))},"e1c"),w.Fb=i(function(n){return this===n},"f1c"),w.Oe=i(function(){return new si(this)},"g1c");var $Ii=j(yf,"EdgeRouter/2methodref$compare$Type",1505);$(1507,1,wi,g1t),w.Ne=i(function(n,s){return ga(Qe(rt(n)),Qe(rt(s)))},"i1c"),w.Fb=i(function(n){return this===n},"j1c"),w.Oe=i(function(){return new si(this)},"k1c");var GIi=j(yf,"EdgeRouter/3methodref$compare$Type",1507);$(1509,1,{},f1t),w.Ye=i(function(n){return Qe(rt(n))},"m1c");var jIi=j(yf,"EdgeRouter/4methodref$doubleValue$Type",1509);$(1511,1,wi,m1t),w.Ne=i(function(n,s){return ga(Qe(rt(n)),Qe(rt(s)))},"o1c"),w.Fb=i(function(n){return this===n},"p1c"),w.Oe=i(function(){return new si(this)},"q1c");var zIi=j(yf,"EdgeRouter/5methodref$compare$Type",1511);$(1513,1,wi,y1t),w.Ne=i(function(n,s){return ga(Qe(rt(n)),Qe(rt(s)))},"s1c"),w.Fb=i(function(n){return this===n},"t1c"),w.Oe=i(function(){return new si(this)},"u1c");var UIi=j(yf,"EdgeRouter/6methodref$compare$Type",1513);$(1497,1,{},b1t),w.Kb=i(function(n){return I1(),y(oe(y(n,40),(pc(),nm)),17)},"w1c");var VIi=j(yf,"EdgeRouter/lambda$0$Type",1497);$(1508,1,{},v1t),w.Kb=i(function(n){return pZr(y(n,40))},"y1c");var HIi=j(yf,"EdgeRouter/lambda$11$Type",1508);$(1510,1,{},eSt),w.Kb=i(function(n){return zrn(this.b,this.a,y(n,40))},"A1c"),w.a=0,w.b=0;var qIi=j(yf,"EdgeRouter/lambda$13$Type",1510);$(1512,1,{},tSt),w.Kb=i(function(n){return gZr(this.b,this.a,y(n,40))},"C1c"),w.a=0,w.b=0;var WIi=j(yf,"EdgeRouter/lambda$15$Type",1512);$(1514,1,wi,w1t),w.Ne=i(function(n,s){return Apn(y(n,65),y(s,65))},"E1c"),w.Fb=i(function(n){return this===n},"F1c"),w.Oe=i(function(){return new si(this)},"G1c");var YIi=j(yf,"EdgeRouter/lambda$17$Type",1514);$(1515,1,wi,x1t),w.Ne=i(function(n,s){return Rpn(y(n,65),y(s,65))},"I1c"),w.Fb=i(function(n){return this===n},"J1c"),w.Oe=i(function(){return new si(this)},"K1c");var KIi=j(yf,"EdgeRouter/lambda$18$Type",1515);$(1516,1,wi,T1t),w.Ne=i(function(n,s){return Dpn(y(n,65),y(s,65))},"M1c"),w.Fb=i(function(n){return this===n},"N1c"),w.Oe=i(function(){return new si(this)},"O1c");var XIi=j(yf,"EdgeRouter/lambda$19$Type",1516);$(1499,1,gi,vkt),w.Mb=i(function(n){return _an(this.a,y(n,40))},"Q1c"),w.a=0;var QIi=j(yf,"EdgeRouter/lambda$2$Type",1499);$(1517,1,wi,k1t),w.Ne=i(function(n,s){return Lpn(y(n,65),y(s,65))},"S1c"),w.Fb=i(function(n){return this===n},"T1c"),w.Oe=i(function(){return new si(this)},"U1c");var JIi=j(yf,"EdgeRouter/lambda$20$Type",1517);$(1500,1,wi,C1t),w.Ne=i(function(n,s){return Rrn(y(n,40),y(s,40))},"W1c"),w.Fb=i(function(n){return this===n},"X1c"),w.Oe=i(function(){return new si(this)},"Y1c");var ZIi=j(yf,"EdgeRouter/lambda$3$Type",1500);$(1501,1,wi,E1t),w.Ne=i(function(n,s){return Lrn(y(n,40),y(s,40))},"$1c"),w.Fb=i(function(n){return this===n},"_1c"),w.Oe=i(function(){return new si(this)},"a2c");var eNi=j(yf,"EdgeRouter/lambda$4$Type",1501);$(1502,1,{},M1t),w.Kb=i(function(n){return mZr(y(n,40))},"c2c");var tNi=j(yf,"EdgeRouter/lambda$5$Type",1502);$(1504,1,{},rSt),w.Kb=i(function(n){return Urn(this.b,this.a,y(n,40))},"e2c"),w.a=0,w.b=0;var rNi=j(yf,"EdgeRouter/lambda$7$Type",1504);$(1506,1,{},nSt),w.Kb=i(function(n){return yZr(this.b,this.a,y(n,40))},"g2c"),w.a=0,w.b=0;var nNi=j(yf,"EdgeRouter/lambda$9$Type",1506);$(675,1,{675:1},OOt),w.e=0,w.f=!1,w.g=!1;var iNi=j(yf,"MultiLevelEdgeNodeNodeGap",675);$(1943,1,wi,I1t),w.Ne=i(function(n,s){return jan(y(n,240),y(s,240))},"m2c"),w.Fb=i(function(n){return this===n},"n2c"),w.Oe=i(function(){return new si(this)},"o2c");var aNi=j(yf,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1943);$(1944,1,wi,N1t),w.Ne=i(function(n,s){return zan(y(n,240),y(s,240))},"q2c"),w.Fb=i(function(n){return this===n},"r2c"),w.Oe=i(function(){return new si(this)},"s2c");var sNi=j(yf,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1944),cE;$(501,22,{3:1,34:1,22:1,501:1,188:1,196:1},H5e),w.dg=i(function(){return xNt(this)},"B2c"),w.qg=i(function(){return xNt(this)},"A2c");var fZ,uE,Tje=Vn(wNe,"RadialLayoutPhases",501,Zn,can,Rtn),Ger;$(1113,205,aw,fCt),w.rf=i(function(n,s){var u,d,g,x,k,A;if(u=s$t(this,n),s.Ug("Radial layout",u.c.length),Kt(Yt(Ct(n,(dv(),Ije))))||fF((d=new y_((gx(),new ox(n))),d)),A=Mmn(n),ca(n,(nC(),cE),A),!A)throw me(new Jr("The given graph is not a tree!"));for(g=Qe(rt(Ct(n,gZ))),g==0&&(g=GBt(n)),ca(n,gZ,g),k=new ge(s$t(this,n));k.a=3)for(Et=y(Ge(Ye,0),27),Ft=y(Ge(Ye,1),27),x=0;x+2=Et.f+Ft.f+B||Ft.f>=gt.f+Et.f+B){dr=!0;break}else++x;else dr=!0;if(!dr){for(ee=Ye.i,A=new gn(Ye);A.e!=A.i.gc();)k=y(xn(A),27),ca(k,(_i(),dj),_t(ee)),--ee;PGt(n,new JS),s.Vg();return}for(u=(oF(this.a),cg(this.a,(wK(),tj),y(Ct(n,lze),188)),cg(this.a,mZ,y(Ct(n,rze),188)),cg(this.a,a1e,y(Ct(n,aze),188)),c6e(this.a,(Or=new ws,Si(Or,tj,(_K(),l1e)),Si(Or,mZ,o1e),Kt(Yt(Ct(n,eze)))&&Si(Or,tj,s1e),Or)),I$(this.a,n)),N=1/u.c.length,mr=0,ue=new ge(u);ue.a0&&HIt((Zr(s-1,n.length),n.charCodeAt(s-1)),_Ut);)--s;if(d>=s)throw me(new Jr("The given string does not contain any numbers."));if(g=s3((wo(d,s,n.length),n.substr(d,s-d)),`,|;|\r| +`),g.length!=2)throw me(new Jr("Exactly two numbers are expected, "+g.length+" were found."));try{this.a=Zk(e3(g[0])),this.b=Zk(e3(g[1]))}catch(x){throw x=$a(x),$e(x,130)?(u=x,me(new Jr(MUt+u))):me(x)}},"wjd"),w.Ib=i(function(){return"("+this.a+","+this.b+")"},"yjd"),w.a=0,w.b=0;var Xs=j(nG,"KVector",8);$(75,67,{3:1,4:1,20:1,31:1,56:1,16:1,67:1,15:1,75:1,423:1},sh,bq,u6t),w.Pc=i(function(){return Yhn(this)},"Jjd"),w.cg=i(function(n){var s,u,d,g,x,k;d=s3(n,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | | +`),Sf(this);try{for(u=0,x=0,g=0,k=0;u0&&(x%2==0?g=Zk(d[u]):k=Zk(d[u]),x>0&&x%2!=0&&ki(this,new St(g,k)),++x),++u}catch(A){throw A=$a(A),$e(A,130)?(s=A,me(new Jr("The given string does not match the expected format for vectors."+s))):me(A)}},"Hjd"),w.Ib=i(function(){var n,s,u;for(n=new Ef("("),s=Hn(this,0);s.b!=s.d.c;)u=y(Un(s),8),Ei(n,u.a+","+u.b),s.b!=s.d.c&&(n.a+="; ");return(n.a+=")",n).a},"Kjd");var Hze=j(nG,"KVectorChain",75);$(255,22,{3:1,34:1,22:1,255:1},V_);var R1e,SZ,AZ,sj,oj,RZ,qze=Vn(Zh,"Alignment",255,Zn,Hln,Jtn),xrr;$(991,1,Kd,xwt),w.hf=i(function(n){vGt(n)},"kkd");var Wze,L1e,Trr,Yze,Kze,krr,Xze,Crr,Err,Qze,Jze,Srr,kPi=j(Zh,"BoxLayouterOptions",991);$(992,1,{},Uyt),w.sf=i(function(){var n;return n=new qyt,n},"mkd"),w.tf=i(function(n){},"nkd");var CPi=j(Zh,"BoxLayouterOptions/BoxFactory",992);$(298,22,{3:1,34:1,22:1,298:1},H_);var zI,D1e,UI,VI,HI,_1e,M1e=Vn(Zh,"ContentAlignment",298,Zn,qln,Ztn),Arr;$(699,1,Kd,UEe),w.hf=i(function(n){fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,IVt),""),"Layout Algorithm"),"Select a specific layout algorithm."),(Hy(),fE)),Jt),pr((mg(),Br))))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,NVt),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),i0),WEn),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,UIe),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),Zze),Ba),qze),pr(Gs)))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,r6),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),Bo),Es),pr(Br)))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,rOe),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),i0),Hze),pr(im)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,JX),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),tUe),C6),M1e),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,oG),""),"Debug Mode"),"Whether additional debug information shall be generated."),(Hr(),!1)),qs),os),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,ppe),""),T9e),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),rUe),Ba),WI),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,sG),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),aUe),Ba),q1e),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,eOe),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),qs),os),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,QX),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),lUe),Ba),YUe),Sa(Br,Te(we(Qm,1),kt,170,0,[Gs]))))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,aT),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),yUe),i0),wBe),Sa(Br,Te(we(Qm,1),kt,170,0,[Gs]))))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,D9),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),qs),os),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,eQ),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),qs),os),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,_9),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),qs),os),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,Nde),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),TUe),Ba),QUe),pr(Gs)))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,ZX),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),i0),Xs),Sa(Gs,Te(we(Qm,1),kt,170,0,[Cw,nb]))))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,Q$),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),Yl),Ro),Sa(Gs,Te(we(Qm,1),kt,170,0,[im]))))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,IX),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),Yl),Ro),pr(Br)))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,L9),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),qs),os),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,eNe),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),cUe),i0),Hze),pr(im)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,nNe),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),qs),os),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,iNe),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),qs),os),pr(Gs)))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,OVt),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),i0),JEn),Sa(Br,Te(we(Qm,1),kt,170,0,[nb]))))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,sNe),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),uUe),i0),vBe),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,jIe),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),qs),os),Sa(Gs,Te(we(Qm,1),kt,170,0,[im,Cw,nb]))))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,PVt),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),Bo),Es),pr(Gs)))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,BVt),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),Bo),Es),pr(Br)))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,FVt),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),Bo),Es),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,J$),""),RVt),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),!1),qs),os),pr(Br)))),xs(n,J$,sT,null),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,$Vt),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),qs),os),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,GVt),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),_t(100)),Yl),Ro),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,jVt),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),qs),os),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,zVt),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),_t(4e3)),Yl),Ro),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,UVt),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),_t(400)),Yl),Ro),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,VVt),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),qs),os),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,HVt),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),qs),os),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,qVt),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),qs),os),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,WVt),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),qs),os),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,tOe),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),eUe),Ba),oVe),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,DIe),Zg),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),Bo),Es),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,_Ie),Zg),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),Bo),Es),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,Ade),Zg),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),Bo),Es),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,MIe),Zg),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),Bo),Es),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,Ide),Zg),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),Bo),Es),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,dpe),Zg),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),Bo),Es),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,IIe),Zg),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),Bo),Es),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,PIe),Zg),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),Bo),Es),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,NIe),Zg),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),Bo),Es),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,OIe),Zg),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),Bo),Es),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,f3),Zg),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),Bo),Es),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,BIe),Zg),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),Bo),Es),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,FIe),Zg),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),Bo),Es),Sa(Br,Te(we(Qm,1),kt,170,0,[Gs]))))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,$Ie),Zg),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),i0),pnr),Sa(Gs,Te(we(Qm,1),kt,170,0,[im,Cw,nb]))))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,oNe),Zg),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),IUe),i0),vBe),pr(Br)))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,mpe),QVt),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),Yl),Ro),Sa(Br,Te(we(Qm,1),kt,170,0,[Gs]))))),xs(n,mpe,gpe,Prr),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,gpe),QVt),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),bUe),qs),os),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,qIe),JVt),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),fUe),i0),wBe),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,nR),JVt),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),dUe),C6),ul),Sa(Gs,Te(we(Qm,1),kt,170,0,[nb]))))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,KIe),uQ),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),wUe),Ba),QI),pr(Gs)))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,XIe),uQ),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),Ba),QI),pr(Gs)))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,QIe),uQ),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),Ba),QI),pr(Gs)))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,JIe),uQ),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),Ba),QI),pr(Gs)))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,ZIe),uQ),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),Ba),QI),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,OC),Fpe),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),pUe),C6),eN),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,n6),Fpe),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),mUe),C6),ZUe),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,i6),Fpe),"Node Size Minimum"),"The minimal size to which a node can be reduced."),gUe),i0),Xs),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,rR),Fpe),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),qs),os),pr(Br)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,tNe),fpe),"Edge Label Placement"),"Gives a hint on where to put edge labels."),nUe),Ba),PUe),pr(nb)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,NX),fpe),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),qs),os),pr(nb)))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,YVt),"font"),"Font Name"),"Font name used for a label."),fE),Jt),pr(nb)))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,KVt),"font"),"Font Size"),"Font size used for a label."),Yl),Ro),pr(nb)))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,aNe),$pe),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),i0),Xs),pr(Cw)))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,rNe),$pe),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),Yl),Ro),pr(Cw)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,zIe),$pe),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),EUe),Ba),Qo),pr(Cw)))),fr(n,new ir(ur(cr(hr(ar(lr(sr(or(new nr,GIe),$pe),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),Bo),Es),pr(Cw)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,iR),aOe),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),kUe),C6),NZ),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,WIe),aOe),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),qs),os),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,YIe),aOe),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),qs),os),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,Z$),uG),"Topdown Scale Factor"),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),Bo),Es),pr(Br)))),xs(n,Z$,sT,Vrr),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,nOe),uG),"Topdown Size Approximator"),"The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size."),null),Ba),GZ),pr(Gs)))),xs(n,nOe,sT,Hrr),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,eG),uG),"Topdown Hierarchical Node Width"),"The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),150),Bo),Es),Sa(Br,Te(we(Qm,1),kt,170,0,[Gs]))))),xs(n,eG,sT,null),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,tG),uG),"Topdown Hierarchical Node Aspect Ratio"),"The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),1.414),Bo),Es),Sa(Br,Te(we(Qm,1),kt,170,0,[Gs]))))),xs(n,tG,sT,null),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,sT),uG),"Topdown Node Type"),"The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes."),null),Ba),tVe),pr(Gs)))),xs(n,sT,rR,null),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,iOe),uG),"Topdown Scale Cap"),"Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes."),1),Bo),Es),pr(Br)))),xs(n,iOe,sT,Urr),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,VIe),ZVt),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),qs),os),pr(Gs)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,HIe),ZVt),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),qs),os),pr(im)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,Rde),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),Bo),Es),pr(im)))),fr(n,new ir(ur(cr(hr(Er(ar(lr(sr(or(new nr,XVt),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),oUe),Ba),zUe),pr(im)))),N_(n,new E5(L_(m8(g8(new WS,hn),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),N_(n,new E5(L_(m8(g8(new WS,"org.eclipse.elk.orthogonal"),"Orthogonal"),`Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia '86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.`))),N_(n,new E5(L_(m8(g8(new WS,Nu),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),N_(n,new E5(L_(m8(g8(new WS,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),N_(n,new E5(L_(m8(g8(new WS,dVt),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),N_(n,new E5(L_(m8(g8(new WS,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),N_(n,new E5(L_(m8(g8(new WS,vd),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),iGt((new Twt,n)),vGt((new xwt,n)),M$t((new kwt,n))},"wmd");var HR,Rrr,Zze,dE,Lrr,Drr,eUe,pE,gE,_rr,lj,tUe,cj,Ew,rUe,I1e,N1e,nUe,iUe,aUe,sUe,oUe,Mrr,mE,lUe,Irr,uj,O1e,hj,P1e,DT,cUe,qR,uUe,hUe,fUe,yE,dUe,Sw,pUe,$3,bE,gUe,Mv,mUe,LZ,fj,ib,yUe,Nrr,bUe,Orr,Prr,vUe,wUe,B1e,F1e,$1e,G1e,xUe,ef,qI,TUe,j1e,z1e,G3,kUe,CUe,vE,EUe,E6,dj,U1e,wE,Brr,V1e,Frr,$rr,SUe,Grr,AUe,RUe,S6,LUe,DZ,DUe,_Ue,Aw,jrr,MUe,IUe,NUe,_Z,pj,WR,A6,zrr,Urr,MZ,Vrr,OUe,Hrr,EPi=j(Zh,"CoreOptions",699);$(88,22,{3:1,34:1,22:1,88:1},PB);var a0,_l,Gl,s0,Cd,WI=Vn(Zh,T9e,88,Zn,Xon,ern),qrr;$(278,22,{3:1,34:1,22:1,278:1},joe);var YR,j3,KR,PUe=Vn(Zh,"EdgeLabelPlacement",278,Zn,Esn,trn),Wrr;$(223,22,{3:1,34:1,22:1,223:1},Wq);var XR,gj,R6,H1e,q1e=Vn(Zh,"EdgeRouting",223,Zn,Eon,rrn),Yrr;$(321,22,{3:1,34:1,22:1,321:1},q_);var BUe,FUe,$Ue,GUe,W1e,jUe,zUe=Vn(Zh,"EdgeType",321,Zn,Vln,nrn),Krr;$(989,1,Kd,Twt),w.hf=i(function(n){iGt(n)},"ynd");var UUe,VUe,HUe,qUe,Xrr,WUe,YI,SPi=j(Zh,"FixedLayouterOptions",989);$(990,1,{},Vyt),w.sf=i(function(){var n;return n=new tbt,n},"And"),w.tf=i(function(n){},"Bnd");var APi=j(Zh,"FixedLayouterOptions/FixedFactory",990);$(346,22,{3:1,34:1,22:1,346:1},zoe);var ab,IZ,KI,YUe=Vn(Zh,"HierarchyHandling",346,Zn,ksn,irn),Qrr;$(291,22,{3:1,34:1,22:1,291:1},Yq);var Jm,Iv,mj,yj,Jrr=Vn(Zh,"LabelSide",291,Zn,Con,arn),Zrr;$(95,22,{3:1,34:1,22:1,95:1},H4);var K1,Hp,tp,qp,Gf,Wp,rp,Zm,Yp,ul=Vn(Zh,"NodeLabelPlacement",95,Zn,Hcn,srn),enr;$(256,22,{3:1,34:1,22:1,256:1},BB);var KUe,XI,Nv,XUe,bj,QI=Vn(Zh,"PortAlignment",256,Zn,hln,orn),tnr;$(101,22,{3:1,34:1,22:1,101:1},W_);var Rw,nu,e1,QR,o0,Ov,QUe=Vn(Zh,"PortConstraints",101,Zn,Uln,lrn),rnr;$(279,22,{3:1,34:1,22:1,279:1},Y_);var JI,ZI,X1,vj,Pv,L6,NZ=Vn(Zh,"PortLabelPlacement",279,Zn,zln,crn),nnr;$(64,22,{3:1,34:1,22:1,64:1},FB);var pn,en,Ed,Sd,Qu,Bu,l0,Kp,Nh,yh,iu,Oh,Ju,Zu,Xp,jf,zf,np,Gn,oc,on,Qo=Vn(Zh,"PortSide",64,Zn,Qon,urn),inr;$(993,1,Kd,kwt),w.hf=i(function(n){M$t(n)},"Ipd");var anr,snr,JUe,onr,lnr,RPi=j(Zh,"RandomLayouterOptions",993);$(994,1,{},Hyt),w.sf=i(function(){var n;return n=new Jyt,n},"Kpd"),w.tf=i(function(n){},"Lpd");var LPi=j(Zh,"RandomLayouterOptions/RandomFactory",994);$(386,22,{3:1,34:1,22:1,386:1},Kq);var z3,wj,xj,Lw,eN=Vn(Zh,"SizeConstraint",386,Zn,kon,hrn),cnr;$(264,22,{3:1,34:1,22:1,264:1},q4);var Tj,OZ,JR,Y1e,kj,tN,PZ,BZ,FZ,ZUe=Vn(Zh,"SizeOptions",264,Zn,nun,frn),unr;$(280,22,{3:1,34:1,22:1,280:1},Uoe);var U3,eVe,$Z,tVe=Vn(Zh,"TopdownNodeTypes",280,Zn,Ssn,drn),hnr;$(347,22,sOe);var rVe,nVe,GZ=Vn(Zh,"TopdownSizeApproximator",347,Zn,xan,grn);$(987,347,sOe,qAt),w.Tg=i(function(n){return TOt(n)},"Aqd");var DPi=Vn(Zh,"TopdownSizeApproximator/1",987,GZ,null,null);$(988,347,sOe,_8t),w.Tg=i(function(n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et,Ft,mr,dr,jr;for(s=y(Ct(n,(_i(),wE)),143),Ft=(Vb(),ne=new k_,ne),k$(Ft,n),mr=new zn,x=new gn((!n.a&&(n.a=new xt(Hi,n,10,11)),n.a));x.e!=x.i.gc();)d=y(xn(x),27),Be=(ee=new k_,ee),tX(Be,Ft),k$(Be,d),jr=TOt(d),Q4(Be,p.Math.max(d.g,jr.a),p.Math.max(d.f,jr.b)),yu(mr.f,d,Be);for(g=new gn((!n.a&&(n.a=new xt(Hi,n,10,11)),n.a));g.e!=g.i.gc();)for(d=y(xn(g),27),B=new gn((!d.e&&(d.e=new Ir(us,d,7,4)),d.e));B.e!=B.i.gc();)N=y(xn(B),74),gt=y(Il(il(mr.f,d)),27),Et=y(mn(mr,Ge((!N.c&&(N.c=new Ir(Pn,N,5,8)),N.c),0)),27),Ye=(U=new wse,U),Jn((!Ye.b&&(Ye.b=new Ir(Pn,Ye,4,7)),Ye.b),gt),Jn((!Ye.c&&(Ye.c=new Ir(Pn,Ye,5,8)),Ye.c),Et),eX(Ye,Oa(gt)),k$(Ye,N);fe=y(hF(s.f),205);try{fe.rf(Ft,new ibt),l7t(s.f,fe)}catch(Or){throw Or=$a(Or),$e(Or,103)?(ue=Or,me(ue)):me(Or)}return Ug(Ft,gE)||Ug(Ft,pE)||HMe(Ft),D=Qe(rt(Ct(Ft,gE))),A=Qe(rt(Ct(Ft,pE))),k=D/A,u=Qe(rt(Ct(Ft,pj)))*p.Math.sqrt((!Ft.a&&(Ft.a=new xt(Hi,Ft,10,11)),Ft.a).i),dr=y(Ct(Ft,ib),107),Ie=dr.b+dr.c+1,xe=dr.d+dr.a+1,new St(p.Math.max(Ie,u),p.Math.max(xe,u/k))},"Cqd");var _Pi=Vn(Zh,"TopdownSizeApproximator/2",988,GZ,null,null),fnr;$(344,1,{871:1},JS),w.Ug=i(function(n,s){return OPt(this,n,s)},"Pqd"),w.Vg=i(function(){iBt(this)},"Qqd"),w.Wg=i(function(){return this.q},"Rqd"),w.Xg=i(function(){return this.f?ice(this.f):null},"Sqd"),w.Yg=i(function(){return ice(this.a)},"Tqd"),w.Zg=i(function(){return this.p},"Uqd"),w.$g=i(function(){return!1},"Vqd"),w._g=i(function(){return this.n},"Wqd"),w.ah=i(function(){return this.p!=null&&!this.b},"Xqd"),w.bh=i(function(n){var s;this.n&&(s=n,It(this.f,s))},"Yqd"),w.dh=i(function(n,s){var u,d;this.n&&n&&jsn(this,(u=new U8t,d=lfe(u,n),T4n(u),d),(sK(),X1e))},"Zqd"),w.eh=i(function(n){var s;return this.b?null:(s=Scn(this,this.g),ki(this.a,s),s.i=this,this.d=n,s)},"$qd"),w.fh=i(function(n){n>0&&!this.b&&lRe(this,n)},"_qd"),w.b=!1,w.c=0,w.d=-1,w.e=null,w.f=null,w.g=-1,w.j=!1,w.k=!1,w.n=!1,w.o=0,w.q=0,w.r=0;var MPi=j(mc,"BasicProgressMonitor",344);$(717,205,aw,qyt),w.rf=i(function(n,s){PGt(n,s)},"nrd");var IPi=j(mc,"BoxLayoutProvider",717);$(983,1,wi,_kt),w.Ne=i(function(n,s){return T2n(this,y(n,27),y(s,27))},"qrd"),w.Fb=i(function(n){return this===n},"rrd"),w.Oe=i(function(){return new si(this)},"srd"),w.a=!1;var NPi=j(mc,"BoxLayoutProvider/1",983);$(163,1,{163:1},BY,m6t),w.Ib=i(function(){return this.c?oMe(this.c):hv(this.b)},"Brd");var OPi=j(mc,"BoxLayoutProvider/Group",163);$(320,22,{3:1,34:1,22:1,320:1},Xq);var iVe,aVe,sVe,K1e,oVe=Vn(mc,"BoxLayoutProvider/PackingMode",320,Zn,Son,mrn),dnr;$(984,1,wi,Wyt),w.Ne=i(function(n,s){return jin(y(n,163),y(s,163))},"Nrd"),w.Fb=i(function(n){return this===n},"Ord"),w.Oe=i(function(){return new si(this)},"Prd");var PPi=j(mc,"BoxLayoutProvider/lambda$0$Type",984);$(985,1,wi,Yyt),w.Ne=i(function(n,s){return Iin(y(n,163),y(s,163))},"Rrd"),w.Fb=i(function(n){return this===n},"Srd"),w.Oe=i(function(){return new si(this)},"Trd");var BPi=j(mc,"BoxLayoutProvider/lambda$1$Type",985);$(986,1,wi,Kyt),w.Ne=i(function(n,s){return Nin(y(n,163),y(s,163))},"Vrd"),w.Fb=i(function(n){return this===n},"Wrd"),w.Oe=i(function(){return new si(this)},"Xrd");var FPi=j(mc,"BoxLayoutProvider/lambda$2$Type",986);$(1384,1,{845:1},Xyt),w.Mg=i(function(n,s){return Aq(),!$e(s,167)||yCt((N5(),y(n,167)),s)},"Zrd");var $Pi=j(mc,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1384);$(1385,1,vn,Mkt),w.Cd=i(function(n){Qhn(this.a,y(n,149))},"_rd");var GPi=j(mc,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1385);$(1386,1,vn,Zyt),w.Cd=i(function(n){y(n,96),Aq()},"bsd");var jPi=j(mc,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1386);$(1390,1,vn,Ikt),w.Cd=i(function(n){vun(this.a,y(n,96))},"dsd");var zPi=j(mc,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1390);$(1388,1,gi,oSt),w.Mb=i(function(n){return Mhn(this.a,this.b,y(n,149))},"fsd");var UPi=j(mc,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1388);$(1387,1,gi,lSt),w.Mb=i(function(n){return dZr(this.a,this.b,y(n,845))},"hsd");var VPi=j(mc,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1387);$(1389,1,vn,cSt),w.Cd=i(function(n){Snn(this.a,this.b,y(n,149))},"jsd");var HPi=j(mc,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1389);$(947,1,{},ebt),w.Kb=i(function(n){return i5t(n)},"Msd"),w.Fb=i(function(n){return this===n},"Nsd");var qPi=j(mc,"ElkUtil/lambda$0$Type",947);$(948,1,vn,uSt),w.Cd=i(function(n){Ebn(this.a,this.b,y(n,74))},"Psd"),w.a=0,w.b=0;var WPi=j(mc,"ElkUtil/lambda$1$Type",948);$(949,1,vn,hSt),w.Cd=i(function(n){mXr(this.a,this.b,y(n,166))},"Rsd"),w.a=0,w.b=0;var YPi=j(mc,"ElkUtil/lambda$2$Type",949);$(950,1,vn,fSt),w.Cd=i(function(n){hJr(this.a,this.b,y(n,135))},"Tsd"),w.a=0,w.b=0;var KPi=j(mc,"ElkUtil/lambda$3$Type",950);$(951,1,vn,Nkt),w.Cd=i(function(n){Wrn(this.a,y(n,377))},"Vsd");var XPi=j(mc,"ElkUtil/lambda$4$Type",951);$(325,1,{34:1,325:1},v_),w.Fd=i(function(n){return GJr(this,y(n,242))},"Ysd"),w.Fb=i(function(n){var s;return $e(n,325)?(s=y(n,325),this.a==s.a):!1},"Zsd"),w.Hb=i(function(){return Fs(this.a)},"$sd"),w.Ib=i(function(){return this.a+" (exclusive)"},"_sd"),w.a=0;var QPi=j(mc,"ExclusiveBounds/ExclusiveLowerBound",325);$(1119,205,aw,tbt),w.rf=i(function(n,s){var u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie,Be,Ye,gt,Et,Ft,mr,dr;for(s.Ug("Fixed Layout",1),x=y(Ct(n,(_i(),iUe)),223),U=0,ee=0,Be=new gn((!n.a&&(n.a=new xt(Hi,n,10,11)),n.a));Be.e!=Be.i.gc();){for(xe=y(xn(Be),27),dr=y(Ct(xe,(oK(),YI)),8),dr&&(nd(xe,dr.a,dr.b),y(Ct(xe,VUe),181).Hc((mf(),z3))&&(ne=y(Ct(xe,qUe),8),ne.a>0&&ne.b>0&&tT(xe,ne.a,ne.b,!0,!0))),U=p.Math.max(U,xe.i+xe.g),ee=p.Math.max(ee,xe.j+xe.f),N=new gn((!xe.n&&(xe.n=new xt(bl,xe,1,7)),xe.n));N.e!=N.i.gc();)A=y(xn(N),135),dr=y(Ct(A,YI),8),dr&&nd(A,dr.a,dr.b),U=p.Math.max(U,xe.i+A.i+A.g),ee=p.Math.max(ee,xe.j+A.j+A.f);for(Et=new gn((!xe.c&&(xe.c=new xt(Ph,xe,9,9)),xe.c));Et.e!=Et.i.gc();)for(gt=y(xn(Et),123),dr=y(Ct(gt,YI),8),dr&&nd(gt,dr.a,dr.b),Ft=xe.i+gt.i,mr=xe.j+gt.j,U=p.Math.max(U,Ft+gt.g),ee=p.Math.max(ee,mr+gt.f),D=new gn((!gt.n&&(gt.n=new xt(bl,gt,1,7)),gt.n));D.e!=D.i.gc();)A=y(xn(D),135),dr=y(Ct(A,YI),8),dr&&nd(A,dr.a,dr.b),U=p.Math.max(U,Ft+A.i+A.g),ee=p.Math.max(ee,mr+A.j+A.f);for(g=new bn(wn(G1(xe).a.Kc(),new I));qn(g);)u=y(Mn(g),74),B=Xjt(u),U=p.Math.max(U,B.a),ee=p.Math.max(ee,B.b);for(d=new bn(wn(T$(xe).a.Kc(),new I));qn(d);)u=y(Mn(d),74),Oa(Fm(u))!=n&&(B=Xjt(u),U=p.Math.max(U,B.a),ee=p.Math.max(ee,B.b))}if(x==(P1(),XR))for(Ie=new gn((!n.a&&(n.a=new xt(Hi,n,10,11)),n.a));Ie.e!=Ie.i.gc();)for(xe=y(xn(Ie),27),d=new bn(wn(G1(xe).a.Kc(),new I));qn(d);)u=y(Mn(d),74),k=ATn(u),k.b==0?ca(u,DT,null):ca(u,DT,k);Kt(Yt(Ct(n,(oK(),HUe))))||(Ye=y(Ct(n,Xrr),107),fe=U+Ye.b+Ye.c,ue=ee+Ye.d+Ye.a,tT(n,fe,ue,!0,!0)),s.Vg()},"ctd");var JPi=j(mc,"FixedLayoutProvider",1119);$(385,137,{3:1,423:1,385:1,96:1,137:1},vse,Y_t),w.cg=i(function(n){var s,u,d,g,x,k,A,D,N;if(n)try{for(D=s3(n,";,;"),x=D,k=0,A=x.length;k>16&ks|s^d<<16},"Std"),w.Kc=i(function(){return new Okt(this)},"Ttd"),w.Ib=i(function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+Hl(this.b)+")":this.b==null?"pair("+Hl(this.a)+",null)":"pair("+Hl(this.a)+","+Hl(this.b)+")"},"Utd");var nBi=j(mc,"Pair",42);$(995,1,lo,Okt),w.Nb=i(function(n){Co(this,n)},"Wtd"),w.Ob=i(function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},"Xtd"),w.Pb=i(function(){if(!this.c&&!this.b&&this.a.a!=null)return this.b=!0,this.a.a;if(!this.c&&this.a.b!=null)return this.c=!0,this.a.b;throw me(new Zl)},"Ytd"),w.Qb=i(function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),me(new ah)},"Ztd"),w.b=!1,w.c=!1;var iBi=j(mc,"Pair/1",995);$(455,1,{455:1},C7t),w.Fb=i(function(n){return kc(this.a,y(n,455).a)&&kc(this.c,y(n,455).c)&&kc(this.d,y(n,455).d)&&kc(this.b,y(n,455).b)},"_td"),w.Hb=i(function(){return KF(Te(we(Hs,1),Gr,1,5,[this.a,this.c,this.d,this.b]))},"aud"),w.Ib=i(function(){return"("+this.a+Ho+this.c+Ho+this.d+Ho+this.b+")"},"bud");var aBi=j(mc,"Quadruple",455);$(1108,205,aw,Jyt),w.rf=i(function(n,s){var u,d,g,x,k;if(s.Ug("Random Layout",1),(!n.a&&(n.a=new xt(Hi,n,10,11)),n.a).i==0){s.Vg();return}x=y(Ct(n,(PLe(),onr)),17),x&&x.a!=0?g=new mY(x.a):g=new Hue,u=gB(rt(Ct(n,anr))),k=gB(rt(Ct(n,lnr))),d=y(Ct(n,snr),107),H4n(n,g,u,k,d),s.Vg()},"fud");var sBi=j(mc,"RandomLayoutProvider",1108);$(240,1,{240:1},vle),w.Fb=i(function(n){return kc(this.a,y(n,240).a)&&kc(this.b,y(n,240).b)&&kc(this.c,y(n,240).c)},"hud"),w.Hb=i(function(){return KF(Te(we(Hs,1),Gr,1,5,[this.a,this.b,this.c]))},"iud"),w.Ib=i(function(){return"("+this.a+Ho+this.b+Ho+this.c+")"},"jud");var oBi=j(mc,"Triple",240),ynr;$(562,1,{}),w.Lf=i(function(){return new St(this.f.i,this.f.j)},"oud"),w.of=i(function(n){return J7t(n,(_i(),ef))?Ct(this.f,bnr):Ct(this.f,n)},"pud"),w.Mf=i(function(){return new St(this.f.g,this.f.f)},"qud"),w.Nf=i(function(){return this.g},"rud"),w.pf=i(function(n){return Ug(this.f,n)},"sud"),w.Of=i(function(n){Du(this.f,n.a),_u(this.f,n.b)},"tud"),w.Pf=i(function(n){Gx(this.f,n.a),$x(this.f,n.b)},"uud"),w.Qf=i(function(n){this.g=n},"vud"),w.g=0;var bnr,lBi=j(G9,"ElkGraphAdapters/AbstractElkGraphElementAdapter",562);$(563,1,{853:1},aq),w.Rf=i(function(){var n,s;if(!this.b)for(this.b=fY(KW(this.a).i),s=new gn(KW(this.a));s.e!=s.i.gc();)n=y(xn(s),135),It(this.b,new Kse(n));return this.b},"xud"),w.b=null;var cBi=j(G9,"ElkGraphAdapters/ElkEdgeAdapter",563);$(289,562,{},ox),w.Sf=i(function(){return VOt(this)},"Aud"),w.a=null;var uBi=j(G9,"ElkGraphAdapters/ElkGraphAdapter",289);$(640,562,{187:1},Kse);var hBi=j(G9,"ElkGraphAdapters/ElkLabelAdapter",640);$(639,562,{695:1},nle),w.Rf=i(function(){return Mgn(this)},"Iud"),w.Vf=i(function(){var n;return n=y(Ct(this.f,(_i(),qR)),140),!n&&(n=new T_),n},"Jud"),w.Xf=i(function(){return Ign(this)},"Lud"),w.Zf=i(function(n){var s;s=new xle(n),ca(this.f,(_i(),qR),s)},"Nud"),w.$f=i(function(n){ca(this.f,(_i(),ib),new SAe(n))},"Oud"),w.Tf=i(function(){return this.d},"Gud"),w.Uf=i(function(){var n,s;if(!this.a)for(this.a=new Mt,s=new bn(wn(T$(y(this.f,27)).a.Kc(),new I));qn(s);)n=y(Mn(s),74),It(this.a,new aq(n));return this.a},"Hud"),w.Wf=i(function(){var n,s;if(!this.c)for(this.c=new Mt,s=new bn(wn(G1(y(this.f,27)).a.Kc(),new I));qn(s);)n=y(Mn(s),74),It(this.c,new aq(n));return this.c},"Kud"),w.Yf=i(function(){return eY(y(this.f,27)).i!=0||Kt(Yt(y(this.f,27).of((_i(),uj))))},"Mud"),w._f=i(function(){hcn(this,(gx(),ynr))},"Pud"),w.a=null,w.b=null,w.c=null,w.d=null,w.e=null;var fBi=j(G9,"ElkGraphAdapters/ElkNodeAdapter",639);$(1284,562,{852:1},Pkt),w.Rf=i(function(){return jgn(this)},"Tud"),w.Uf=i(function(){var n,s;if(!this.a)for(this.a=Dm(y(this.f,123).hh().i),s=new gn(y(this.f,123).hh());s.e!=s.i.gc();)n=y(xn(s),74),It(this.a,new aq(n));return this.a},"Sud"),w.Wf=i(function(){var n,s;if(!this.c)for(this.c=Dm(y(this.f,123).ih().i),s=new gn(y(this.f,123).ih());s.e!=s.i.gc();)n=y(xn(s),74),It(this.c,new aq(n));return this.c},"Uud"),w.ag=i(function(){return y(y(this.f,123).of((_i(),vE)),64)},"Vud"),w.bg=i(function(){var n,s,u,d,g,x,k,A;for(d=Fg(y(this.f,123)),u=new gn(y(this.f,123).ih());u.e!=u.i.gc();)for(n=y(xn(u),74),A=new gn((!n.c&&(n.c=new Ir(Pn,n,5,8)),n.c));A.e!=A.i.gc();){if(k=y(xn(A),84),Uk(Fl(k),d))return!0;if(Fl(k)==d&&Kt(Yt(Ct(n,(_i(),O1e)))))return!0}for(s=new gn(y(this.f,123).hh());s.e!=s.i.gc();)for(n=y(xn(s),74),x=new gn((!n.b&&(n.b=new Ir(Pn,n,4,7)),n.b));x.e!=x.i.gc();)if(g=y(xn(x),84),Uk(Fl(g),d))return!0;return!1},"Wud"),w.a=null,w.b=null,w.c=null;var dBi=j(G9,"ElkGraphAdapters/ElkPortAdapter",1284);$(1285,1,wi,Qyt),w.Ne=i(function(n,s){return vxn(y(n,123),y(s,123))},"Zud"),w.Fb=i(function(n){return this===n},"$ud"),w.Oe=i(function(){return new si(this)},"_ud");var pBi=j(G9,"ElkGraphAdapters/PortComparator",1285),Bv=Va(wd,"EObject"),ZR=Va(FC,rHt),Uf=Va(FC,nHt),Cj=Va(FC,iHt),Ej=Va(FC,"ElkShape"),Pn=Va(FC,aHt),us=Va(FC,oOe),_a=Va(FC,sHt),Sj=Va(wd,oHt),rN=Va(wd,"EFactory"),vnr,Q1e=Va(wd,lHt),Tg=Va(wd,"EPackage"),no,wnr,xnr,hVe,jZ,Tnr,fVe,dVe,pVe,t1,knr,Cnr,bl=Va(FC,lOe),Hi=Va(FC,cOe),Ph=Va(FC,uOe);$(93,1,cHt),w.th=i(function(){return this.uh(),null},"rvd"),w.uh=i(function(){return null},"svd"),w.vh=i(function(){return this.uh(),!1},"tvd"),w.wh=i(function(){return!1},"uvd"),w.xh=i(function(n){Qi(this,n)},"vvd");var gBi=j(o6,"BasicNotifierImpl",93);$(99,93,dHt),w.Yh=i(function(){return uf(this)},"Dwd"),w.yh=i(function(n,s){return n},"bwd"),w.zh=i(function(){throw me(new ui)},"cwd"),w.Ah=i(function(n){var s;return s=tl(y(Nr(this.Dh(),this.Fh()),19)),this.Ph().Th(this,s.n,s.f,n)},"dwd"),w.Bh=i(function(n,s){throw me(new ui)},"ewd"),w.Ch=i(function(n,s,u){return Of(this,n,s,u)},"fwd"),w.Dh=i(function(){var n;return this.zh()&&(n=this.zh().Nk(),n)?n:this.ii()},"gwd"),w.Eh=i(function(){return Hhe(this)},"hwd"),w.Fh=i(function(){throw me(new ui)},"iwd"),w.Gh=i(function(){var n,s;return s=this.$h().Ok(),!s&&this.zh().Tk(s=(P_(),n=$8e(U0(this.Dh())),n==null?aye:new UB(this,n))),s},"kwd"),w.Hh=i(function(n,s){return n},"mwd"),w.Ih=i(function(n){var s;return s=n.pk(),s?n.Lj():Ga(this.Dh(),n)},"nwd"),w.Jh=i(function(){var n;return n=this.zh(),n?n.Qk():null},"owd"),w.Kh=i(function(){return this.zh()?this.zh().Nk():null},"pwd"),w.Lh=i(function(n,s,u){return LK(this,n,s,u)},"qwd"),w.Mh=i(function(n){return q8(this,n)},"rwd"),w.Nh=i(function(n,s){return Dce(this,n,s)},"swd"),w.Oh=i(function(){var n;return n=this.zh(),!!n&&n.Rk()},"twd"),w.Ph=i(function(){throw me(new ui)},"uwd"),w.Qh=i(function(){return TK(this)},"vwd"),w.Rh=i(function(n,s,u,d){return G5(this,n,s,d)},"wwd"),w.Sh=i(function(n,s,u){var d;return d=y(Nr(this.Dh(),s),69),d.wk().zk(this,this.hi(),s-this.ji(),n,u)},"xwd"),w.Th=i(function(n,s,u,d){return iY(this,n,s,d)},"ywd"),w.Uh=i(function(n,s,u){var d;return d=y(Nr(this.Dh(),s),69),d.wk().Ak(this,this.hi(),s-this.ji(),n,u)},"zwd"),w.Vh=i(function(){return!!this.zh()&&!!this.zh().Pk()},"Awd"),w.Wh=i(function(n){return rhe(this,n)},"Bwd"),w.Xh=i(function(n){return fRt(this,n)},"Cwd"),w.Zh=i(function(n){return Njt(this,n)},"Ewd"),w.$h=i(function(){throw me(new ui)},"Fwd"),w._h=i(function(){return this.zh()?this.zh().Pk():null},"Gwd"),w.ai=i(function(){return TK(this)},"Hwd"),w.bi=i(function(n,s){Ghe(this,n,s)},"Iwd"),w.ci=i(function(n){this.$h().Sk(n)},"Jwd"),w.di=i(function(n){this.$h().Vk(n)},"Kwd"),w.ei=i(function(n){this.$h().Uk(n)},"Lwd"),w.fi=i(function(n,s){var u,d,g,x;return x=this.Jh(),x&&n&&(s=Vo(x.El(),this,s),x.Il(this)),d=this.Ph(),d&&((afe(this,this.Ph(),this.Fh()).Bb&Xo)!=0?(g=d.Qh(),g&&(n?!x&&g.Il(this):g.Hl(this))):(s=(u=this.Fh(),u>=0?this.Ah(s):this.Ph().Th(this,-1-u,null,s)),s=this.Ch(null,-1,s))),this.di(n),s},"Mwd"),w.gi=i(function(n){var s,u,d,g,x,k,A,D;if(u=this.Dh(),x=Ga(u,n),s=this.ji(),x>=s)return y(n,69).wk().Dk(this,this.hi(),x-s);if(x<=-1)if(k=RC((dh(),Lo),u,n),k){if(el(),y(k,69).xk()||(k=S5(Sl(Lo,k))),g=(d=this.Ih(k),y(d>=0?this.Lh(d,!0,!0):Jx(this,k,!0),160)),D=k.Ik(),D>1||D==-1)return y(y(g,220).Sl(n,!1),79)}else throw me(new Jr(wv+n.xe()+Gpe));else if(n.Jk())return d=this.Ih(n),y(d>=0?this.Lh(d,!1,!0):Jx(this,n,!1),79);return A=new DSt(this,n),A},"Nwd"),w.hi=i(function(){return V7e(this)},"Owd"),w.ii=i(function(){return(Qb(),qr).S},"Pwd"),w.ji=i(function(){return _n(this.ii())},"Qwd"),w.ki=i(function(n){Bhe(this,n)},"Rwd"),w.Ib=i(function(){return Pp(this)},"Swd");var mBi=j(Wr,"BasicEObjectImpl",99),Enr;$(119,99,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1}),w.li=i(function(n){var s;return s=U7e(this),s[n]},"_wd"),w.mi=i(function(n,s){var u;u=U7e(this),Ka(u,n,s)},"axd"),w.ni=i(function(n){var s;s=U7e(this),Ka(s,n,null)},"bxd"),w.th=i(function(){return y(Xr(this,4),129)},"cxd"),w.uh=i(function(){throw me(new ui)},"dxd"),w.vh=i(function(){return(this.Db&4)!=0},"exd"),w.zh=i(function(){throw me(new ui)},"fxd"),w.oi=i(function(n){F5(this,2,n)},"gxd"),w.Bh=i(function(n,s){this.Db=s<<16|this.Db&255,this.oi(n)},"hxd"),w.Dh=i(function(){return qu(this)},"ixd"),w.Fh=i(function(){return this.Db>>16},"jxd"),w.Gh=i(function(){var n,s;return P_(),s=$8e(U0((n=y(Xr(this,16),29),n||this.ii()))),s==null?aye:new UB(this,s)},"kxd"),w.wh=i(function(){return(this.Db&1)==0},"lxd"),w.Jh=i(function(){return y(Xr(this,128),2034)},"mxd"),w.Kh=i(function(){return y(Xr(this,16),29)},"nxd"),w.Oh=i(function(){return(this.Db&32)!=0},"oxd"),w.Ph=i(function(){return y(Xr(this,2),54)},"pxd"),w.Vh=i(function(){return(this.Db&64)!=0},"qxd"),w.$h=i(function(){throw me(new ui)},"rxd"),w._h=i(function(){return y(Xr(this,64),288)},"sxd"),w.ci=i(function(n){F5(this,16,n)},"txd"),w.di=i(function(n){F5(this,128,n)},"uxd"),w.ei=i(function(n){F5(this,64,n)},"vxd"),w.hi=i(function(){return Mu(this)},"wxd"),w.Db=0;var yBi=j(Wr,"MinimalEObjectImpl",119);$(120,119,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),w.oi=i(function(n){this.Cb=n},"xxd"),w.Ph=i(function(){return this.Cb},"yxd");var bBi=j(Wr,"MinimalEObjectImpl/Container",120);$(2083,120,{110:1,342:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),w.Lh=i(function(n,s,u){return aDe(this,n,s,u)},"Jxd"),w.Uh=i(function(n,s,u){return YDe(this,n,s,u)},"Kxd"),w.Wh=i(function(n){return Z8e(this,n)},"Lxd"),w.bi=i(function(n,s){VRe(this,n,s)},"Mxd"),w.ii=i(function(){return _c(),Cnr},"Nxd"),w.ki=i(function(n){IRe(this,n)},"Oxd"),w.nf=i(function(){return uOt(this)},"Pxd"),w.gh=i(function(){return!this.o&&(this.o=new hh((_c(),t1),sb,this,0)),this.o},"Qxd"),w.of=i(function(n){return Ct(this,n)},"Rxd"),w.pf=i(function(n){return Ug(this,n)},"Sxd"),w.qf=i(function(n,s){return ca(this,n,s)},"Txd");var vBi=j(cw,"EMapPropertyHolderImpl",2083);$(572,120,{110:1,377:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},YH),w.Lh=i(function(n,s,u){switch(n){case 0:return this.a;case 1:return this.b}return LK(this,n,s,u)},"Yxd"),w.Wh=i(function(n){switch(n){case 0:return this.a!=0;case 1:return this.b!=0}return rhe(this,n)},"Zxd"),w.bi=i(function(n,s){switch(n){case 0:$Y(this,Qe(rt(s)));return;case 1:FY(this,Qe(rt(s)));return}Ghe(this,n,s)},"$xd"),w.ii=i(function(){return _c(),wnr},"_xd"),w.ki=i(function(n){switch(n){case 0:$Y(this,0);return;case 1:FY(this,0);return}Bhe(this,n)},"ayd"),w.Ib=i(function(){var n;return(this.Db&64)!=0?Pp(this):(n=new zd(Pp(this)),n.a+=" (x: ",j4(n,this.a),n.a+=", y: ",j4(n,this.b),n.a+=")",n.a)},"byd"),w.a=0,w.b=0;var wBi=j(cw,"ElkBendPointImpl",572);$(739,2083,{110:1,342:1,167:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),w.Lh=i(function(n,s,u){return dLe(this,n,s,u)},"lyd"),w.Sh=i(function(n,s,u){return Dhe(this,n,s,u)},"myd"),w.Uh=i(function(n,s,u){return due(this,n,s,u)},"nyd"),w.Wh=i(function(n){return ARe(this,n)},"oyd"),w.bi=i(function(n,s){CDe(this,n,s)},"pyd"),w.ii=i(function(){return _c(),Tnr},"qyd"),w.ki=i(function(n){iLe(this,n)},"ryd"),w.jh=i(function(){return this.k},"syd"),w.kh=i(function(){return KW(this)},"tyd"),w.Ib=i(function(){return $ue(this)},"uyd"),w.k=null;var xBi=j(cw,"ElkGraphElementImpl",739);$(740,739,{110:1,342:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),w.Lh=i(function(n,s,u){return xLe(this,n,s,u)},"Gyd"),w.Wh=i(function(n){return ALe(this,n)},"Hyd"),w.bi=i(function(n,s){EDe(this,n,s)},"Iyd"),w.ii=i(function(){return _c(),knr},"Jyd"),w.ki=i(function(n){NLe(this,n)},"Kyd"),w.lh=i(function(){return this.f},"Lyd"),w.mh=i(function(){return this.g},"Myd"),w.nh=i(function(){return this.i},"Nyd"),w.oh=i(function(){return this.j},"Oyd"),w.ph=i(function(n,s){Q4(this,n,s)},"Pyd"),w.qh=i(function(n,s){nd(this,n,s)},"Qyd"),w.rh=i(function(n){Du(this,n)},"Ryd"),w.sh=i(function(n){_u(this,n)},"Syd"),w.Ib=i(function(){return Ohe(this)},"Tyd"),w.f=0,w.g=0,w.i=0,w.j=0;var TBi=j(cw,"ElkShapeImpl",740);$(741,740,{110:1,342:1,84:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),w.Lh=i(function(n,s,u){return JLe(this,n,s,u)},"_yd"),w.Sh=i(function(n,s,u){return bDe(this,n,s,u)},"azd"),w.Uh=i(function(n,s,u){return vDe(this,n,s,u)},"bzd"),w.Wh=i(function(n){return URe(this,n)},"czd"),w.bi=i(function(n,s){M_e(this,n,s)},"dzd"),w.ii=i(function(){return _c(),xnr},"ezd"),w.ki=i(function(n){WLe(this,n)},"fzd"),w.hh=i(function(){return!this.d&&(this.d=new Ir(us,this,8,5)),this.d},"gzd"),w.ih=i(function(){return!this.e&&(this.e=new Ir(us,this,7,4)),this.e},"hzd");var kBi=j(cw,"ElkConnectableShapeImpl",741);$(326,739,{110:1,342:1,74:1,167:1,326:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},wse),w.Ah=i(function(n){return pDe(this,n)},"szd"),w.Lh=i(function(n,s,u){switch(n){case 3:return dF(this);case 4:return!this.b&&(this.b=new Ir(Pn,this,4,7)),this.b;case 5:return!this.c&&(this.c=new Ir(Pn,this,5,8)),this.c;case 6:return!this.a&&(this.a=new xt(_a,this,6,6)),this.a;case 7:return Hr(),!this.b&&(this.b=new Ir(Pn,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Ir(Pn,this,5,8)),this.c.i<=1));case 8:return Hr(),!!o9(this);case 9:return Hr(),!!Qx(this);case 10:return Hr(),!this.b&&(this.b=new Ir(Pn,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Ir(Pn,this,5,8)),this.c.i!=0)}return dLe(this,n,s,u)},"tzd"),w.Sh=i(function(n,s,u){var d;switch(s){case 3:return this.Cb&&(u=(d=this.Db>>16,d>=0?pDe(this,u):this.Cb.Th(this,-1-d,null,u))),K6e(this,y(n,27),u);case 4:return!this.b&&(this.b=new Ir(Pn,this,4,7)),mu(this.b,n,u);case 5:return!this.c&&(this.c=new Ir(Pn,this,5,8)),mu(this.c,n,u);case 6:return!this.a&&(this.a=new xt(_a,this,6,6)),mu(this.a,n,u)}return Dhe(this,n,s,u)},"uzd"),w.Uh=i(function(n,s,u){switch(s){case 3:return K6e(this,null,u);case 4:return!this.b&&(this.b=new Ir(Pn,this,4,7)),Vo(this.b,n,u);case 5:return!this.c&&(this.c=new Ir(Pn,this,5,8)),Vo(this.c,n,u);case 6:return!this.a&&(this.a=new xt(_a,this,6,6)),Vo(this.a,n,u)}return due(this,n,s,u)},"vzd"),w.Wh=i(function(n){switch(n){case 3:return!!dF(this);case 4:return!!this.b&&this.b.i!=0;case 5:return!!this.c&&this.c.i!=0;case 6:return!!this.a&&this.a.i!=0;case 7:return!this.b&&(this.b=new Ir(Pn,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Ir(Pn,this,5,8)),this.c.i<=1));case 8:return o9(this);case 9:return Qx(this);case 10:return!this.b&&(this.b=new Ir(Pn,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Ir(Pn,this,5,8)),this.c.i!=0)}return ARe(this,n)},"wzd"),w.bi=i(function(n,s){switch(n){case 3:eX(this,y(s,27));return;case 4:!this.b&&(this.b=new Ir(Pn,this,4,7)),Kn(this.b),!this.b&&(this.b=new Ir(Pn,this,4,7)),ts(this.b,y(s,16));return;case 5:!this.c&&(this.c=new Ir(Pn,this,5,8)),Kn(this.c),!this.c&&(this.c=new Ir(Pn,this,5,8)),ts(this.c,y(s,16));return;case 6:!this.a&&(this.a=new xt(_a,this,6,6)),Kn(this.a),!this.a&&(this.a=new xt(_a,this,6,6)),ts(this.a,y(s,16));return}CDe(this,n,s)},"xzd"),w.ii=i(function(){return _c(),hVe},"yzd"),w.ki=i(function(n){switch(n){case 3:eX(this,null);return;case 4:!this.b&&(this.b=new Ir(Pn,this,4,7)),Kn(this.b);return;case 5:!this.c&&(this.c=new Ir(Pn,this,5,8)),Kn(this.c);return;case 6:!this.a&&(this.a=new xt(_a,this,6,6)),Kn(this.a);return}iLe(this,n)},"zzd"),w.Ib=i(function(){return JGt(this)},"Azd");var CBi=j(cw,"ElkEdgeImpl",326);$(452,2083,{110:1,342:1,166:1,452:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},KH),w.Ah=i(function(n){return uDe(this,n)},"Szd"),w.Lh=i(function(n,s,u){switch(n){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new vs(Uf,this,5)),this.a;case 6:return lRt(this);case 7:return s?ohe(this):this.i;case 8:return s?she(this):this.f;case 9:return!this.g&&(this.g=new Ir(_a,this,9,10)),this.g;case 10:return!this.e&&(this.e=new Ir(_a,this,10,9)),this.e;case 11:return this.d}return aDe(this,n,s,u)},"Tzd"),w.Sh=i(function(n,s,u){var d,g,x;switch(s){case 6:return this.Cb&&(u=(g=this.Db>>16,g>=0?uDe(this,u):this.Cb.Th(this,-1-g,null,u))),Y6e(this,y(n,74),u);case 9:return!this.g&&(this.g=new Ir(_a,this,9,10)),mu(this.g,n,u);case 10:return!this.e&&(this.e=new Ir(_a,this,10,9)),mu(this.e,n,u)}return x=y(Nr((d=y(Xr(this,16),29),d||(_c(),jZ)),s),69),x.wk().zk(this,Mu(this),s-_n((_c(),jZ)),n,u)},"Uzd"),w.Uh=i(function(n,s,u){switch(s){case 5:return!this.a&&(this.a=new vs(Uf,this,5)),Vo(this.a,n,u);case 6:return Y6e(this,null,u);case 9:return!this.g&&(this.g=new Ir(_a,this,9,10)),Vo(this.g,n,u);case 10:return!this.e&&(this.e=new Ir(_a,this,10,9)),Vo(this.e,n,u)}return YDe(this,n,s,u)},"Vzd"),w.Wh=i(function(n){switch(n){case 1:return this.j!=0;case 2:return this.k!=0;case 3:return this.b!=0;case 4:return this.c!=0;case 5:return!!this.a&&this.a.i!=0;case 6:return!!lRt(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&this.g.i!=0;case 10:return!!this.e&&this.e.i!=0;case 11:return this.d!=null}return Z8e(this,n)},"Wzd"),w.bi=i(function(n,s){switch(n){case 1:J8(this,Qe(rt(s)));return;case 2:e7(this,Qe(rt(s)));return;case 3:Q8(this,Qe(rt(s)));return;case 4:Z8(this,Qe(rt(s)));return;case 5:!this.a&&(this.a=new vs(Uf,this,5)),Kn(this.a),!this.a&&(this.a=new vs(Uf,this,5)),ts(this.a,y(s,16));return;case 6:QFt(this,y(s,74));return;case 7:qY(this,y(s,84));return;case 8:HY(this,y(s,84));return;case 9:!this.g&&(this.g=new Ir(_a,this,9,10)),Kn(this.g),!this.g&&(this.g=new Ir(_a,this,9,10)),ts(this.g,y(s,16));return;case 10:!this.e&&(this.e=new Ir(_a,this,10,9)),Kn(this.e),!this.e&&(this.e=new Ir(_a,this,10,9)),ts(this.e,y(s,16));return;case 11:gRe(this,pi(s));return}VRe(this,n,s)},"Xzd"),w.ii=i(function(){return _c(),jZ},"Yzd"),w.ki=i(function(n){switch(n){case 1:J8(this,0);return;case 2:e7(this,0);return;case 3:Q8(this,0);return;case 4:Z8(this,0);return;case 5:!this.a&&(this.a=new vs(Uf,this,5)),Kn(this.a);return;case 6:QFt(this,null);return;case 7:qY(this,null);return;case 8:HY(this,null);return;case 9:!this.g&&(this.g=new Ir(_a,this,9,10)),Kn(this.g);return;case 10:!this.e&&(this.e=new Ir(_a,this,10,9)),Kn(this.e);return;case 11:gRe(this,null);return}IRe(this,n)},"Zzd"),w.Ib=i(function(){return hFt(this)},"$zd"),w.b=0,w.c=0,w.d=null,w.j=0,w.k=0;var EBi=j(cw,"ElkEdgeSectionImpl",452);$(158,120,{110:1,94:1,93:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),w.Lh=i(function(n,s,u){var d;return n==0?(!this.Ab&&(this.Ab=new xt(Di,this,0,3)),this.Ab):ud(this,n-_n(this.ii()),Nr((d=y(Xr(this,16),29),d||this.ii()),n),s,u)},"cAd"),w.Sh=i(function(n,s,u){var d,g;return s==0?(!this.Ab&&(this.Ab=new xt(Di,this,0,3)),mu(this.Ab,n,u)):(g=y(Nr((d=y(Xr(this,16),29),d||this.ii()),s),69),g.wk().zk(this,Mu(this),s-_n(this.ii()),n,u))},"dAd"),w.Uh=i(function(n,s,u){var d,g;return s==0?(!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Vo(this.Ab,n,u)):(g=y(Nr((d=y(Xr(this,16),29),d||this.ii()),s),69),g.wk().Ak(this,Mu(this),s-_n(this.ii()),n,u))},"eAd"),w.Wh=i(function(n){var s;return n==0?!!this.Ab&&this.Ab.i!=0:ld(this,n-_n(this.ii()),Nr((s=y(Xr(this,16),29),s||this.ii()),n))},"fAd"),w.Zh=i(function(n){return UMe(this,n)},"gAd"),w.bi=i(function(n,s){var u;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab),!this.Ab&&(this.Ab=new xt(Di,this,0,3)),ts(this.Ab,y(s,16));return}pd(this,n-_n(this.ii()),Nr((u=y(Xr(this,16),29),u||this.ii()),n),s)},"hAd"),w.di=i(function(n){F5(this,128,n)},"iAd"),w.ii=i(function(){return Lr(),Vnr},"jAd"),w.ki=i(function(n){var s;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab);return}dd(this,n-_n(this.ii()),Nr((s=y(Xr(this,16),29),s||this.ii()),n))},"kAd"),w.pi=i(function(){this.Bb|=1},"lAd"),w.qi=i(function(n){return p9(this,n)},"mAd"),w.Bb=0;var SBi=j(Wr,"EModelElementImpl",158);$(720,158,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},HEe),w.ri=i(function(n,s){return Ajt(this,n,s)},"zAd"),w.si=i(function(n){var s,u,d,g,x;if(this.a!=Lf(n)||(n.Bb&256)!=0)throw me(new Jr(zpe+n.zb+uT));for(d=Ol(n);$c(d.a).i!=0;){if(u=y(N$(d,0,(s=y(Ge($c(d.a),0),89),x=s.c,$e(x,90)?y(x,29):(Lr(),op))),29),Xx(u))return g=Lf(u).wi().si(u),y(g,54).ci(n),g;d=Ol(u)}return(n.D!=null?n.D:n.B)=="java.util.Map$Entry"?new VAt(n):new BAe(n)},"AAd"),w.ti=i(function(n,s){return rT(this,n,s)},"BAd"),w.Lh=i(function(n,s,u){var d;switch(n){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),this.Ab;case 1:return this.a}return ud(this,n-_n((Lr(),jv)),Nr((d=y(Xr(this,16),29),d||jv),n),s,u)},"CAd"),w.Sh=i(function(n,s,u){var d,g;switch(s){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),mu(this.Ab,n,u);case 1:return this.a&&(u=y(this.a,54).Th(this,4,Tg,u)),nLe(this,y(n,241),u)}return g=y(Nr((d=y(Xr(this,16),29),d||(Lr(),jv)),s),69),g.wk().zk(this,Mu(this),s-_n((Lr(),jv)),n,u)},"DAd"),w.Uh=i(function(n,s,u){var d,g;switch(s){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Vo(this.Ab,n,u);case 1:return nLe(this,null,u)}return g=y(Nr((d=y(Xr(this,16),29),d||(Lr(),jv)),s),69),g.wk().Ak(this,Mu(this),s-_n((Lr(),jv)),n,u)},"EAd"),w.Wh=i(function(n){var s;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return ld(this,n-_n((Lr(),jv)),Nr((s=y(Xr(this,16),29),s||jv),n))},"FAd"),w.bi=i(function(n,s){var u;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab),!this.Ab&&(this.Ab=new xt(Di,this,0,3)),ts(this.Ab,y(s,16));return;case 1:YPt(this,y(s,241));return}pd(this,n-_n((Lr(),jv)),Nr((u=y(Xr(this,16),29),u||jv),n),s)},"GAd"),w.ii=i(function(){return Lr(),jv},"HAd"),w.ki=i(function(n){var s;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab);return;case 1:YPt(this,null);return}dd(this,n-_n((Lr(),jv)),Nr((s=y(Xr(this,16),29),s||jv),n))},"IAd");var nN,gVe,Snr,ABi=j(Wr,"EFactoryImpl",720);$(1037,720,{110:1,2113:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},sbt),w.ri=i(function(n,s){switch(n.hk()){case 12:return y(s,149).Pg();case 13:return Hl(s);default:throw me(new Jr(hR+n.xe()+uT))}},"LAd"),w.si=i(function(n){var s,u,d,g,x,k,A,D;switch(n.G==-1&&(n.G=(s=Lf(n),s?Uy(s.vi(),n):-1)),n.G){case 4:return x=new $Ee,x;case 6:return k=new k_,k;case 7:return A=new $Se,A;case 8:return d=new wse,d;case 9:return u=new YH,u;case 10:return g=new KH,g;case 11:return D=new obt,D;default:throw me(new Jr(zpe+n.zb+uT))}},"MAd"),w.ti=i(function(n,s){switch(n.hk()){case 13:case 12:return null;default:throw me(new Jr(hR+n.xe()+uT))}},"NAd");var RBi=j(cw,"ElkGraphFactoryImpl",1037);$(448,158,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),w.Gh=i(function(){var n,s;return s=(n=y(Xr(this,16),29),$8e(U0(n||this.ii()))),s==null?(P_(),P_(),aye):new d6t(this,s)},"RAd"),w.Lh=i(function(n,s,u){var d;switch(n){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),this.Ab;case 1:return this.xe()}return ud(this,n-_n(this.ii()),Nr((d=y(Xr(this,16),29),d||this.ii()),n),s,u)},"SAd"),w.Wh=i(function(n){var s;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return ld(this,n-_n(this.ii()),Nr((s=y(Xr(this,16),29),s||this.ii()),n))},"TAd"),w.bi=i(function(n,s){var u;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab),!this.Ab&&(this.Ab=new xt(Di,this,0,3)),ts(this.Ab,y(s,16));return;case 1:this.ui(pi(s));return}pd(this,n-_n(this.ii()),Nr((u=y(Xr(this,16),29),u||this.ii()),n),s)},"UAd"),w.ii=i(function(){return Lr(),Hnr},"VAd"),w.ki=i(function(n){var s;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab);return;case 1:this.ui(null);return}dd(this,n-_n(this.ii()),Nr((s=y(Xr(this,16),29),s||this.ii()),n))},"WAd"),w.xe=i(function(){return this.zb},"XAd"),w.ui=i(function(n){gu(this,n)},"YAd"),w.Ib=i(function(){return zM(this)},"ZAd"),w.zb=null;var LBi=j(Wr,"ENamedElementImpl",448);$(184,448,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},G7t),w.Ah=i(function(n){return aPt(this,n)},"GBd"),w.Lh=i(function(n,s,u){var d;switch(n){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new Ik(this,kg,this)),this.rb;case 6:return!this.vb&&(this.vb=new d5(Tg,this,6,7)),this.vb;case 7:return s?this.Db>>16==7?y(this.Cb,241):null:gRt(this)}return ud(this,n-_n((Lr(),ub)),Nr((d=y(Xr(this,16),29),d||ub),n),s,u)},"HBd"),w.Sh=i(function(n,s,u){var d,g,x;switch(s){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),mu(this.Ab,n,u);case 4:return this.sb&&(u=y(this.sb,54).Th(this,1,rN,u)),sLe(this,y(n,480),u);case 5:return!this.rb&&(this.rb=new Ik(this,kg,this)),mu(this.rb,n,u);case 6:return!this.vb&&(this.vb=new d5(Tg,this,6,7)),mu(this.vb,n,u);case 7:return this.Cb&&(u=(g=this.Db>>16,g>=0?aPt(this,u):this.Cb.Th(this,-1-g,null,u))),Of(this,n,7,u)}return x=y(Nr((d=y(Xr(this,16),29),d||(Lr(),ub)),s),69),x.wk().zk(this,Mu(this),s-_n((Lr(),ub)),n,u)},"IBd"),w.Uh=i(function(n,s,u){var d,g;switch(s){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Vo(this.Ab,n,u);case 4:return sLe(this,null,u);case 5:return!this.rb&&(this.rb=new Ik(this,kg,this)),Vo(this.rb,n,u);case 6:return!this.vb&&(this.vb=new d5(Tg,this,6,7)),Vo(this.vb,n,u);case 7:return Of(this,null,7,u)}return g=y(Nr((d=y(Xr(this,16),29),d||(Lr(),ub)),s),69),g.wk().Ak(this,Mu(this),s-_n((Lr(),ub)),n,u)},"JBd"),w.Wh=i(function(n){var s;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.yb!=null;case 3:return this.xb!=null;case 4:return!!this.sb;case 5:return!!this.rb&&this.rb.i!=0;case 6:return!!this.vb&&this.vb.i!=0;case 7:return!!gRt(this)}return ld(this,n-_n((Lr(),ub)),Nr((s=y(Xr(this,16),29),s||ub),n))},"KBd"),w.Zh=i(function(n){var s;return s=N2n(this,n),s||UMe(this,n)},"LBd"),w.bi=i(function(n,s){var u;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab),!this.Ab&&(this.Ab=new xt(Di,this,0,3)),ts(this.Ab,y(s,16));return;case 1:gu(this,pi(s));return;case 2:JY(this,pi(s));return;case 3:QY(this,pi(s));return;case 4:Nhe(this,y(s,480));return;case 5:!this.rb&&(this.rb=new Ik(this,kg,this)),Kn(this.rb),!this.rb&&(this.rb=new Ik(this,kg,this)),ts(this.rb,y(s,16));return;case 6:!this.vb&&(this.vb=new d5(Tg,this,6,7)),Kn(this.vb),!this.vb&&(this.vb=new d5(Tg,this,6,7)),ts(this.vb,y(s,16));return}pd(this,n-_n((Lr(),ub)),Nr((u=y(Xr(this,16),29),u||ub),n),s)},"MBd"),w.ei=i(function(n){var s,u;if(n&&this.rb)for(u=new gn(this.rb);u.e!=u.i.gc();)s=xn(u),$e(s,364)&&(y(s,364).w=null);F5(this,64,n)},"NBd"),w.ii=i(function(){return Lr(),ub},"OBd"),w.ki=i(function(n){var s;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab);return;case 1:gu(this,null);return;case 2:JY(this,null);return;case 3:QY(this,null);return;case 4:Nhe(this,null);return;case 5:!this.rb&&(this.rb=new Ik(this,kg,this)),Kn(this.rb);return;case 6:!this.vb&&(this.vb=new d5(Tg,this,6,7)),Kn(this.vb);return}dd(this,n-_n((Lr(),ub)),Nr((s=y(Xr(this,16),29),s||ub),n))},"PBd"),w.pi=i(function(){whe(this)},"QBd"),w.vi=i(function(){return!this.rb&&(this.rb=new Ik(this,kg,this)),this.rb},"RBd"),w.wi=i(function(){return this.sb},"SBd"),w.xi=i(function(){return this.ub},"TBd"),w.yi=i(function(){return this.xb},"UBd"),w.zi=i(function(){return this.yb},"VBd"),w.Ai=i(function(n){this.ub=n},"WBd"),w.Ib=i(function(){var n;return(this.Db&64)!=0?zM(this):(n=new zd(zM(this)),n.a+=" (nsURI: ",pl(n,this.yb),n.a+=", nsPrefix: ",pl(n,this.xb),n.a+=")",n.a)},"XBd"),w.xb=null,w.yb=null;var Anr,DBi=j(Wr,"EPackageImpl",184);$(569,184,{110:1,2115:1,569:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},wFt),w.q=!1,w.r=!1;var Rnr=!1,_Bi=j(cw,"ElkGraphPackageImpl",569);$(366,740,{110:1,342:1,167:1,135:1,422:1,366:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},$Ee),w.Ah=i(function(n){return hDe(this,n)},"iCd"),w.Lh=i(function(n,s,u){switch(n){case 7:return mRt(this);case 8:return this.a}return xLe(this,n,s,u)},"jCd"),w.Sh=i(function(n,s,u){var d;switch(s){case 7:return this.Cb&&(u=(d=this.Db>>16,d>=0?hDe(this,u):this.Cb.Th(this,-1-d,null,u))),JAe(this,y(n,167),u)}return Dhe(this,n,s,u)},"kCd"),w.Uh=i(function(n,s,u){return s==7?JAe(this,null,u):due(this,n,s,u)},"lCd"),w.Wh=i(function(n){switch(n){case 7:return!!mRt(this);case 8:return!kr("",this.a)}return ALe(this,n)},"mCd"),w.bi=i(function(n,s){switch(n){case 7:H_e(this,y(s,167));return;case 8:uRe(this,pi(s));return}EDe(this,n,s)},"nCd"),w.ii=i(function(){return _c(),fVe},"oCd"),w.ki=i(function(n){switch(n){case 7:H_e(this,null);return;case 8:uRe(this,"");return}NLe(this,n)},"pCd"),w.Ib=i(function(){return lBt(this)},"qCd"),w.a="";var MBi=j(cw,"ElkLabelImpl",366);$(207,741,{110:1,342:1,84:1,167:1,27:1,422:1,207:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},k_),w.Ah=i(function(n){return gDe(this,n)},"BCd"),w.Lh=i(function(n,s,u){switch(n){case 9:return!this.c&&(this.c=new xt(Ph,this,9,9)),this.c;case 10:return!this.a&&(this.a=new xt(Hi,this,10,11)),this.a;case 11:return Oa(this);case 12:return!this.b&&(this.b=new xt(us,this,12,3)),this.b;case 13:return Hr(),!this.a&&(this.a=new xt(Hi,this,10,11)),this.a.i>0}return JLe(this,n,s,u)},"CCd"),w.Sh=i(function(n,s,u){var d;switch(s){case 9:return!this.c&&(this.c=new xt(Ph,this,9,9)),mu(this.c,n,u);case 10:return!this.a&&(this.a=new xt(Hi,this,10,11)),mu(this.a,n,u);case 11:return this.Cb&&(u=(d=this.Db>>16,d>=0?gDe(this,u):this.Cb.Th(this,-1-d,null,u))),aAe(this,y(n,27),u);case 12:return!this.b&&(this.b=new xt(us,this,12,3)),mu(this.b,n,u)}return bDe(this,n,s,u)},"DCd"),w.Uh=i(function(n,s,u){switch(s){case 9:return!this.c&&(this.c=new xt(Ph,this,9,9)),Vo(this.c,n,u);case 10:return!this.a&&(this.a=new xt(Hi,this,10,11)),Vo(this.a,n,u);case 11:return aAe(this,null,u);case 12:return!this.b&&(this.b=new xt(us,this,12,3)),Vo(this.b,n,u)}return vDe(this,n,s,u)},"ECd"),w.Wh=i(function(n){switch(n){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!Oa(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new xt(Hi,this,10,11)),this.a.i>0}return URe(this,n)},"FCd"),w.bi=i(function(n,s){switch(n){case 9:!this.c&&(this.c=new xt(Ph,this,9,9)),Kn(this.c),!this.c&&(this.c=new xt(Ph,this,9,9)),ts(this.c,y(s,16));return;case 10:!this.a&&(this.a=new xt(Hi,this,10,11)),Kn(this.a),!this.a&&(this.a=new xt(Hi,this,10,11)),ts(this.a,y(s,16));return;case 11:tX(this,y(s,27));return;case 12:!this.b&&(this.b=new xt(us,this,12,3)),Kn(this.b),!this.b&&(this.b=new xt(us,this,12,3)),ts(this.b,y(s,16));return}M_e(this,n,s)},"GCd"),w.ii=i(function(){return _c(),dVe},"HCd"),w.ki=i(function(n){switch(n){case 9:!this.c&&(this.c=new xt(Ph,this,9,9)),Kn(this.c);return;case 10:!this.a&&(this.a=new xt(Hi,this,10,11)),Kn(this.a);return;case 11:tX(this,null);return;case 12:!this.b&&(this.b=new xt(us,this,12,3)),Kn(this.b);return}WLe(this,n)},"ICd"),w.Ib=i(function(){return oMe(this)},"JCd");var IBi=j(cw,"ElkNodeImpl",207);$(193,741,{110:1,342:1,84:1,167:1,123:1,422:1,193:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},$Se),w.Ah=i(function(n){return fDe(this,n)},"QCd"),w.Lh=i(function(n,s,u){return n==9?Fg(this):JLe(this,n,s,u)},"RCd"),w.Sh=i(function(n,s,u){var d;switch(s){case 9:return this.Cb&&(u=(d=this.Db>>16,d>=0?fDe(this,u):this.Cb.Th(this,-1-d,null,u))),X6e(this,y(n,27),u)}return bDe(this,n,s,u)},"SCd"),w.Uh=i(function(n,s,u){return s==9?X6e(this,null,u):vDe(this,n,s,u)},"TCd"),w.Wh=i(function(n){return n==9?!!Fg(this):URe(this,n)},"UCd"),w.bi=i(function(n,s){switch(n){case 9:j_e(this,y(s,27));return}M_e(this,n,s)},"VCd"),w.ii=i(function(){return _c(),pVe},"WCd"),w.ki=i(function(n){switch(n){case 9:j_e(this,null);return}WLe(this,n)},"XCd"),w.Ib=i(function(){return X$t(this)},"YCd");var NBi=j(cw,"ElkPortImpl",193),Lnr=Va(qo,"BasicEMap/Entry");$(1122,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,119:1,120:1},obt),w.Fb=i(function(n){return this===n},"fDd"),w.ld=i(function(){return this.b},"hDd"),w.Hb=i(function(){return xx(this)},"jDd"),w.Di=i(function(n){hRe(this,y(n,149))},"lDd"),w.Lh=i(function(n,s,u){switch(n){case 0:return this.b;case 1:return this.c}return LK(this,n,s,u)},"aDd"),w.Wh=i(function(n){switch(n){case 0:return!!this.b;case 1:return this.c!=null}return rhe(this,n)},"bDd"),w.bi=i(function(n,s){switch(n){case 0:hRe(this,y(s,149));return;case 1:cRe(this,s);return}Ghe(this,n,s)},"cDd"),w.ii=i(function(){return _c(),t1},"dDd"),w.ki=i(function(n){switch(n){case 0:hRe(this,null);return;case 1:cRe(this,null);return}Bhe(this,n)},"eDd"),w.Bi=i(function(){var n;return this.a==-1&&(n=this.b,this.a=n?ka(n):0),this.a},"gDd"),w.md=i(function(){return this.c},"iDd"),w.Ci=i(function(n){this.a=n},"kDd"),w.nd=i(function(n){var s;return s=this.c,cRe(this,n),s},"mDd"),w.Ib=i(function(){var n;return(this.Db&64)!=0?Pp(this):(n=new zb,Ei(Ei(Ei(n,this.b?this.b.Pg():Xu),Ode),rM(this.c)),n.a)},"nDd"),w.a=-1,w.c=null;var sb=j(cw,"ElkPropertyToValueMapEntryImpl",1122);$(996,1,{},ubt);var OBi=j(Ao,"JsonAdapter",996);$(216,63,z1,D0);var PBi=j(Ao,"JsonImportException",216);$(868,1,{},sPt);var BBi=j(Ao,"JsonImporter",868);$(903,1,{},dSt);var FBi=j(Ao,"JsonImporter/lambda$0$Type",903);$(904,1,{},pSt);var $Bi=j(Ao,"JsonImporter/lambda$1$Type",904);$(912,1,{},Bkt);var GBi=j(Ao,"JsonImporter/lambda$10$Type",912);$(914,1,{},gSt);var jBi=j(Ao,"JsonImporter/lambda$11$Type",914);$(915,1,{},mSt);var zBi=j(Ao,"JsonImporter/lambda$12$Type",915);$(921,1,{},R7t);var UBi=j(Ao,"JsonImporter/lambda$13$Type",921);$(920,1,{},L7t);var VBi=j(Ao,"JsonImporter/lambda$14$Type",920);$(916,1,{},ySt);var HBi=j(Ao,"JsonImporter/lambda$15$Type",916);$(917,1,{},bSt);var qBi=j(Ao,"JsonImporter/lambda$16$Type",917);$(918,1,{},vSt);var WBi=j(Ao,"JsonImporter/lambda$17$Type",918);$(919,1,{},wSt);var YBi=j(Ao,"JsonImporter/lambda$18$Type",919);$(924,1,{},Fkt);var KBi=j(Ao,"JsonImporter/lambda$19$Type",924);$(905,1,{},$kt);var XBi=j(Ao,"JsonImporter/lambda$2$Type",905);$(922,1,{},Gkt);var QBi=j(Ao,"JsonImporter/lambda$20$Type",922);$(923,1,{},jkt);var JBi=j(Ao,"JsonImporter/lambda$21$Type",923);$(927,1,{},zkt);var ZBi=j(Ao,"JsonImporter/lambda$22$Type",927);$(925,1,{},Ukt);var eFi=j(Ao,"JsonImporter/lambda$23$Type",925);$(926,1,{},Vkt);var tFi=j(Ao,"JsonImporter/lambda$24$Type",926);$(929,1,{},Hkt);var rFi=j(Ao,"JsonImporter/lambda$25$Type",929);$(928,1,{},qkt);var nFi=j(Ao,"JsonImporter/lambda$26$Type",928);$(930,1,vn,xSt),w.Cd=i(function(n){Yln(this.b,this.a,pi(n))},"cFd");var iFi=j(Ao,"JsonImporter/lambda$27$Type",930);$(931,1,vn,TSt),w.Cd=i(function(n){Kln(this.b,this.a,pi(n))},"eFd");var aFi=j(Ao,"JsonImporter/lambda$28$Type",931);$(932,1,{},kSt);var sFi=j(Ao,"JsonImporter/lambda$29$Type",932);$(908,1,{},Wkt);var oFi=j(Ao,"JsonImporter/lambda$3$Type",908);$(933,1,{},CSt);var lFi=j(Ao,"JsonImporter/lambda$30$Type",933);$(934,1,{},Ykt);var cFi=j(Ao,"JsonImporter/lambda$31$Type",934);$(935,1,{},Kkt);var uFi=j(Ao,"JsonImporter/lambda$32$Type",935);$(936,1,{},Xkt);var hFi=j(Ao,"JsonImporter/lambda$33$Type",936);$(937,1,{},Qkt);var fFi=j(Ao,"JsonImporter/lambda$34$Type",937);$(870,1,{},Jkt);var dFi=j(Ao,"JsonImporter/lambda$35$Type",870);$(941,1,{},bAt);var pFi=j(Ao,"JsonImporter/lambda$36$Type",941);$(938,1,vn,Zkt),w.Cd=i(function(n){eln(this.a,y(n,377))},"rFd");var gFi=j(Ao,"JsonImporter/lambda$37$Type",938);$(939,1,vn,ESt),w.Cd=i(function(n){OQr(this.a,this.b,y(n,166))},"tFd");var mFi=j(Ao,"JsonImporter/lambda$38$Type",939);$(940,1,vn,SSt),w.Cd=i(function(n){PQr(this.a,this.b,y(n,166))},"vFd");var yFi=j(Ao,"JsonImporter/lambda$39$Type",940);$(906,1,{},e3t);var bFi=j(Ao,"JsonImporter/lambda$4$Type",906);$(942,1,vn,t3t),w.Cd=i(function(n){tln(this.a,y(n,8))},"yFd");var vFi=j(Ao,"JsonImporter/lambda$40$Type",942);$(907,1,{},r3t);var wFi=j(Ao,"JsonImporter/lambda$5$Type",907);$(911,1,{},n3t);var xFi=j(Ao,"JsonImporter/lambda$6$Type",911);$(909,1,{},i3t);var TFi=j(Ao,"JsonImporter/lambda$7$Type",909);$(910,1,{},a3t);var kFi=j(Ao,"JsonImporter/lambda$8$Type",910);$(913,1,{},s3t);var CFi=j(Ao,"JsonImporter/lambda$9$Type",913);$(961,1,vn,o3t),w.Cd=i(function(n){x5(this.a,new Nk(pi(n)))},"NFd");var EFi=j(Ao,"JsonMetaDataConverter/lambda$0$Type",961);$(962,1,vn,l3t),w.Cd=i(function(n){qnn(this.a,y(n,245))},"PFd");var SFi=j(Ao,"JsonMetaDataConverter/lambda$1$Type",962);$(963,1,vn,c3t),w.Cd=i(function(n){Han(this.a,y(n,143))},"RFd");var AFi=j(Ao,"JsonMetaDataConverter/lambda$2$Type",963);$(964,1,vn,u3t),w.Cd=i(function(n){Wnn(this.a,y(n,170))},"TFd");var RFi=j(Ao,"JsonMetaDataConverter/lambda$3$Type",964);$(245,22,{3:1,34:1,22:1,245:1},o5);var zZ,UZ,J1e,VZ,HZ,qZ,Z1e,eye,WZ=Vn(K$,"GraphFeature",245,Zn,Dcn,vrn),Dnr;$(11,1,{34:1,149:1},ea,ja,xr,yo),w.Fd=i(function(n){return jJr(this,y(n,149))},"nGd"),w.Fb=i(function(n){return J7t(this,n)},"oGd"),w.Sg=i(function(){return zt(this)},"pGd"),w.Pg=i(function(){return this.b},"qGd"),w.Hb=i(function(){return Py(this.b)},"rGd"),w.Ib=i(function(){return this.b},"sGd");var LFi=j(K$,"Property",11);$(671,1,wi,Nse),w.Ne=i(function(n,s){return Qfn(this,y(n,96),y(s,96))},"vGd"),w.Fb=i(function(n){return this===n},"wGd"),w.Oe=i(function(){return new si(this)},"xGd");var DFi=j(K$,"PropertyHolderComparator",671);$(709,1,lo,wSe),w.Nb=i(function(n){Co(this,n)},"RGd"),w.Pb=i(function(){return Jln(this)},"TGd"),w.Qb=i(function(){sCt()},"UGd"),w.Ob=i(function(){return!!this.a},"SGd");var _Fi=j(pQ,"ElkGraphUtil/AncestorIterator",709),mVe=Va(qo,"EList");$(70,56,{20:1,31:1,56:1,16:1,15:1,70:1,61:1}),w.bd=i(function(n,s){VM(this,n,s)},"hHd"),w.Fc=i(function(n){return Jn(this,n)},"iHd"),w.cd=i(function(n,s){return NRe(this,n,s)},"jHd"),w.Gc=i(function(n){return ts(this,n)},"kHd"),w.Ii=i(function(){return new f5(this)},"lHd"),w.Ji=i(function(){return new VB(this)},"mHd"),w.Ki=i(function(n){return PF(this,n)},"nHd"),w.Li=i(function(){return!0},"oHd"),w.Mi=i(function(n,s){},"pHd"),w.Ni=i(function(){},"qHd"),w.Oi=i(function(n,s){Nce(this,n,s)},"rHd"),w.Pi=i(function(n,s,u){},"sHd"),w.Qi=i(function(n,s){},"tHd"),w.Ri=i(function(n,s,u){},"uHd"),w.Fb=i(function(n){return N$t(this,n)},"vHd"),w.Hb=i(function(){return DRe(this)},"wHd"),w.Si=i(function(){return!1},"xHd"),w.Kc=i(function(){return new gn(this)},"yHd"),w.ed=i(function(){return new h5(this)},"zHd"),w.fd=i(function(n){var s;if(s=this.gc(),n<0||n>s)throw me(new _k(n,s));return new $le(this,n)},"AHd"),w.Ui=i(function(n,s){this.Ti(n,this.dd(s))},"BHd"),w.Mc=i(function(n){return _Y(this,n)},"CHd"),w.Wi=i(function(n,s){return s},"DHd"),w.hd=i(function(n,s){return mC(this,n,s)},"EHd"),w.Ib=i(function(){return CLe(this)},"FHd"),w.Yi=i(function(){return!0},"GHd"),w.Zi=i(function(n,s){return p7(this,s)},"HHd");var MFi=j(qo,"AbstractEList",70);$(66,70,Z0,XH,Fx,CRe),w.Ei=i(function(n,s){return _he(this,n,s)},"_Hd"),w.Fi=i(function(n){return _Ot(this,n)},"aId"),w.Gi=i(function(n,s){QF(this,n,s)},"bId"),w.Hi=i(function(n){wF(this,n)},"cId"),w.$i=i(function(n){return F7e(this,n)},"dId"),w.$b=i(function(){SM(this)},"eId"),w.Hc=i(function(n){return D7(this,n)},"fId"),w.Xb=i(function(n){return Ge(this,n)},"gId"),w._i=i(function(n){var s,u,d;++this.j,u=this.g==null?0:this.g.length,n>u&&(d=this.g,s=u+(u/2|0)+4,s=0?(this.gd(s),!0):!1},"KJd"),w.Xi=i(function(n,s){return this.Dj(n,this.Zi(n,s))},"LJd"),w.gc=i(function(){return this.Ej()},"MJd"),w.Pc=i(function(){return this.Fj()},"NJd"),w.Qc=i(function(n){return this.Gj(n)},"OJd"),w.Ib=i(function(){return this.Hj()},"PJd");var jFi=j(qo,"DelegatingEList",2093);$(2094,2093,QHt),w.Ei=i(function(n,s){return vMe(this,n,s)},"XJd"),w.Fi=i(function(n){return this.Ei(this.Ej(),n)},"YJd"),w.Gi=i(function(n,s){xFt(this,n,s)},"ZJd"),w.Hi=i(function(n){cFt(this,n)},"$Jd"),w.Li=i(function(){return!this.Mj()},"_Jd"),w.$b=i(function(){w9(this)},"aKd"),w.Ij=i(function(n,s,u,d,g){return new Q7t(this,n,s,u,d,g)},"bKd"),w.Jj=i(function(n){Qi(this.jj(),n)},"cKd"),w.Kj=i(function(){return null},"dKd"),w.Lj=i(function(){return-1},"eKd"),w.jj=i(function(){return null},"fKd"),w.Mj=i(function(){return!1},"gKd"),w.Nj=i(function(n,s){return s},"hKd"),w.Oj=i(function(n,s){return s},"iKd"),w.Pj=i(function(){return!1},"jKd"),w.Qj=i(function(){return!this.Aj()},"kKd"),w.Ti=i(function(n,s){var u,d;return this.Pj()?(d=this.Qj(),u=HDe(this,n,s),this.Jj(this.Ij(7,_t(s),u,n,d)),u):HDe(this,n,s)},"lKd"),w.gd=i(function(n){var s,u,d,g;return this.Pj()?(u=null,d=this.Qj(),s=this.Ij(4,g=LW(this,n),null,n,d),this.Mj()&&g?(u=this.Oj(g,u),u?(u.nj(s),u.oj()):this.Jj(s)):u?(u.nj(s),u.oj()):this.Jj(s),g):(g=LW(this,n),this.Mj()&&g&&(u=this.Oj(g,null),u&&u.oj()),g)},"mKd"),w.Xi=i(function(n,s){return RGt(this,n,s)},"nKd");var zFi=j(o6,"DelegatingNotifyingListImpl",2094);$(152,1,fG),w.nj=i(function(n){return DDe(this,n)},"PKd"),w.oj=i(function(){zce(this)},"QKd"),w.gj=i(function(){return this.d},"RKd"),w.Kj=i(function(){return null},"SKd"),w.Rj=i(function(){return null},"TKd"),w.hj=i(function(n){return-1},"UKd"),w.ij=i(function(){return g$t(this)},"VKd"),w.jj=i(function(){return null},"WKd"),w.kj=i(function(){return X_e(this)},"XKd"),w.lj=i(function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},"YKd"),w.Sj=i(function(){return!1},"ZKd"),w.mj=i(function(n){var s,u,d,g,x,k,A,D,N,B,U;switch(this.d){case 1:case 2:switch(g=n.gj(),g){case 1:case 2:if(x=n.jj(),Ze(x)===Ze(this.jj())&&this.hj(null)==n.hj(null))return this.g=n.ij(),n.gj()==1&&(this.d=1),!0}case 4:{switch(g=n.gj(),g){case 4:{if(x=n.jj(),Ze(x)===Ze(this.jj())&&this.hj(null)==n.hj(null))return N=PMe(this),D=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,k=n.lj(),this.d=6,U=new Fx(2),D<=k?(Jn(U,this.n),Jn(U,n.kj()),this.g=Te(we(ei,1),Ai,28,15,[this.o=D,k+1])):(Jn(U,n.kj()),Jn(U,this.n),this.g=Te(we(ei,1),Ai,28,15,[this.o=k,D])),this.n=U,N||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(g=n.gj(),g){case 4:{if(x=n.jj(),Ze(x)===Ze(this.jj())&&this.hj(null)==n.hj(null)){for(N=PMe(this),k=n.lj(),B=y(this.g,53),d=ot(ei,Ai,28,B.length+1,15,1),s=0;s>>0,s.toString(16))),d.a+=" (eventType: ",this.d){case 1:{d.a+="SET";break}case 2:{d.a+="UNSET";break}case 3:{d.a+="ADD";break}case 5:{d.a+="ADD_MANY";break}case 4:{d.a+="REMOVE";break}case 6:{d.a+="REMOVE_MANY";break}case 7:{d.a+="MOVE";break}case 8:{d.a+="REMOVING_ADAPTER";break}case 9:{d.a+="RESOLVE";break}default:{ioe(d,this.d);break}}if(rGt(this)&&(d.a+=", touch: true"),d.a+=", position: ",ioe(d,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),d.a+=", notifier: ",X_(d,this.jj()),d.a+=", feature: ",X_(d,this.Kj()),d.a+=", oldValue: ",X_(d,X_e(this)),d.a+=", newValue: ",this.d==6&&$e(this.g,53)){for(u=y(this.g,53),d.a+="[",n=0;n10?((!this.b||this.c.j!=this.a)&&(this.b=new lM(this),this.a=this.j),og(this.b,n)):D7(this,n)},"$Ld"),w.Yi=i(function(){return!0},"_Ld"),w.a=0;var KFi=j(qo,"AbstractEList/1",966);$(302,77,ade,_k);var XFi=j(qo,"AbstractEList/BasicIndexOutOfBoundsException",302);$(37,1,lo,gn),w.Nb=i(function(n){Co(this,n)},"gMd"),w.Xj=i(function(){if(this.i.j!=this.f)throw me(new rd)},"eMd"),w.Yj=i(function(){return xn(this)},"fMd"),w.Ob=i(function(){return this.e!=this.i.gc()},"hMd"),w.Pb=i(function(){return this.Yj()},"iMd"),w.Qb=i(function(){r9(this)},"jMd"),w.e=0,w.f=0,w.g=-1;var QFi=j(qo,"AbstractEList/EIterator",37);$(286,37,Gm,h5,$le),w.Qb=i(function(){r9(this)},"vMd"),w.Rb=i(function(n){LNt(this,n)},"oMd"),w.Zj=i(function(){var n;try{return n=this.d.Xb(--this.e),this.Xj(),this.g=this.e,n}catch(s){throw s=$a(s),$e(s,77)?(this.Xj(),me(new Zl)):me(s)}},"pMd"),w.$j=i(function(n){NOt(this,n)},"qMd"),w.Sb=i(function(){return this.e!=0},"rMd"),w.Tb=i(function(){return this.e},"sMd"),w.Ub=i(function(){return this.Zj()},"tMd"),w.Vb=i(function(){return this.e-1},"uMd"),w.Wb=i(function(n){this.$j(n)},"wMd");var JFi=j(qo,"AbstractEList/EListIterator",286);$(355,37,lo,f5),w.Yj=i(function(){return nhe(this)},"zMd"),w.Qb=i(function(){throw me(new ui)},"AMd");var ZFi=j(qo,"AbstractEList/NonResolvingEIterator",355);$(398,286,Gm,VB,fAe),w.Rb=i(function(n){throw me(new ui)},"DMd"),w.Yj=i(function(){var n;try{return n=this.c.Vi(this.e),this.Xj(),this.g=this.e++,n}catch(s){throw s=$a(s),$e(s,77)?(this.Xj(),me(new Zl)):me(s)}},"EMd"),w.Zj=i(function(){var n;try{return n=this.c.Vi(--this.e),this.Xj(),this.g=this.e,n}catch(s){throw s=$a(s),$e(s,77)?(this.Xj(),me(new Zl)):me(s)}},"FMd"),w.Qb=i(function(){throw me(new ui)},"GMd"),w.Wb=i(function(n){throw me(new ui)},"HMd");var e$i=j(qo,"AbstractEList/NonResolvingEListIterator",398);$(2080,70,JHt),w.Ei=i(function(n,s){var u,d,g,x,k,A,D,N,B,U,ee;if(g=s.gc(),g!=0){for(N=y(Xr(this.a,4),129),B=N==null?0:N.length,ee=B+g,d=Sue(this,ee),U=B-n,U>0&&jc(N,n,d,n+g,U),D=s.Kc(),k=0;ku)throw me(new _k(n,u));return new v7t(this,n)},"VMd"),w.$b=i(function(){var n,s;++this.j,n=y(Xr(this.a,4),129),s=n==null?0:n.length,S7(this,null),Nce(this,s,n)},"WMd"),w.Hc=i(function(n){var s,u,d,g,x;if(s=y(Xr(this.a,4),129),s!=null){if(n!=null){for(d=s,g=0,x=d.length;g=u)throw me(new _k(n,u));return s[n]},"YMd"),w.dd=i(function(n){var s,u,d;if(s=y(Xr(this.a,4),129),s!=null){if(n!=null){for(u=0,d=s.length;uu)throw me(new _k(n,u));return new b7t(this,n)},"bNd"),w.Ti=i(function(n,s){var u,d,g;if(u=$Nt(this),g=u==null?0:u.length,n>=g)throw me(new kl(Qpe+n+uw+g));if(s>=g)throw me(new kl(Jpe+s+uw+g));return d=u[s],n!=s&&(n0&&jc(n,0,s,0,u),s},"hNd"),w.Qc=i(function(n){var s,u,d;return s=y(Xr(this.a,4),129),d=s==null?0:s.length,d>0&&(n.lengthd&&Ka(n,d,null),n},"iNd");var _nr,t$i=j(qo,"ArrayDelegatingEList",2080);$(1051,37,lo,wDt),w.Xj=i(function(){if(this.b.j!=this.f||Ze(y(Xr(this.b.a,4),129))!==Ze(this.a))throw me(new rd)},"kNd"),w.Qb=i(function(){r9(this),this.a=y(Xr(this.b.a,4),129)},"lNd");var r$i=j(qo,"ArrayDelegatingEList/EIterator",1051);$(722,286,Gm,M8t,b7t),w.Xj=i(function(){if(this.b.j!=this.f||Ze(y(Xr(this.b.a,4),129))!==Ze(this.a))throw me(new rd)},"pNd"),w.$j=i(function(n){NOt(this,n),this.a=y(Xr(this.b.a,4),129)},"qNd"),w.Qb=i(function(){r9(this),this.a=y(Xr(this.b.a,4),129)},"rNd");var n$i=j(qo,"ArrayDelegatingEList/EListIterator",722);$(1052,355,lo,xDt),w.Xj=i(function(){if(this.b.j!=this.f||Ze(y(Xr(this.b.a,4),129))!==Ze(this.a))throw me(new rd)},"tNd");var i$i=j(qo,"ArrayDelegatingEList/NonResolvingEIterator",1052);$(723,398,Gm,I8t,v7t),w.Xj=i(function(){if(this.b.j!=this.f||Ze(y(Xr(this.b.a,4),129))!==Ze(this.a))throw me(new rd)},"xNd");var a$i=j(qo,"ArrayDelegatingEList/NonResolvingEListIterator",723);$(615,302,ade,Voe);var s$i=j(qo,"BasicEList/BasicIndexOutOfBoundsException",615);$(710,66,Z0,e6e),w.bd=i(function(n,s){throw me(new ui)},"ANd"),w.Fc=i(function(n){throw me(new ui)},"BNd"),w.cd=i(function(n,s){throw me(new ui)},"CNd"),w.Gc=i(function(n){throw me(new ui)},"DNd"),w.$b=i(function(){throw me(new ui)},"ENd"),w._i=i(function(n){throw me(new ui)},"FNd"),w.Kc=i(function(){return this.Ii()},"GNd"),w.ed=i(function(){return this.Ji()},"HNd"),w.fd=i(function(n){return this.Ki(n)},"INd"),w.Ti=i(function(n,s){throw me(new ui)},"JNd"),w.Ui=i(function(n,s){throw me(new ui)},"KNd"),w.gd=i(function(n){throw me(new ui)},"LNd"),w.Mc=i(function(n){throw me(new ui)},"MNd"),w.hd=i(function(n,s){throw me(new ui)},"NNd");var o$i=j(qo,"BasicEList/UnmodifiableEList",710);$(721,1,{3:1,20:1,16:1,15:1,61:1,597:1}),w.bd=i(function(n,s){LJr(this,n,y(s,44))},"mOd"),w.Fc=i(function(n){return TZr(this,y(n,44))},"nOd"),w.Jc=i(function(n){So(this,n)},"vOd"),w.Xb=i(function(n){return y(Ge(this.c,n),136)},"wOd"),w.Ti=i(function(n,s){return y(this.c.Ti(n,s),44)},"FOd"),w.Ui=i(function(n,s){DJr(this,n,y(s,44))},"GOd"),w.Lc=i(function(){return new Tr(null,new Ar(this,16))},"JOd"),w.gd=i(function(n){return y(this.c.gd(n),44)},"KOd"),w.hd=i(function(n,s){return Hnn(this,n,y(s,44))},"MOd"),w.jd=i(function(n){V2(this,n)},"OOd"),w.Nc=i(function(){return new Ar(this,16)},"POd"),w.Oc=i(function(){return new Tr(null,new Ar(this,16))},"QOd"),w.cd=i(function(n,s){return this.c.cd(n,s)},"oOd"),w.Gc=i(function(n){return this.c.Gc(n)},"pOd"),w.$b=i(function(){this.c.$b()},"qOd"),w.Hc=i(function(n){return this.c.Hc(n)},"rOd"),w.Ic=i(function(n){return zF(this.c,n)},"sOd"),w._j=i(function(){var n,s,u;if(this.d==null){for(this.d=ot(yVe,ROe,66,2*this.f+1,0,1),u=this.e,this.f=0,s=this.c.Kc();s.e!=s.i.gc();)n=y(s.Yj(),136),IK(this,n);this.e=u}},"tOd"),w.Fb=i(function(n){return sAt(this,n)},"uOd"),w.Hb=i(function(){return DRe(this.c)},"xOd"),w.dd=i(function(n){return this.c.dd(n)},"yOd"),w.ak=i(function(){this.c=new h3t(this)},"zOd"),w.dc=i(function(){return this.f==0},"AOd"),w.Kc=i(function(){return this.c.Kc()},"BOd"),w.ed=i(function(){return this.c.ed()},"COd"),w.fd=i(function(n){return this.c.fd(n)},"DOd"),w.bk=i(function(){return kF(this)},"EOd"),w.ck=i(function(n,s,u){return new vAt(n,s,u)},"HOd"),w.dk=i(function(){return new pbt},"IOd"),w.Mc=i(function(n){return qMt(this,n)},"LOd"),w.gc=i(function(){return this.f},"NOd"),w.kd=i(function(n,s){return new Dy(this.c,n,s)},"ROd"),w.Pc=i(function(){return this.c.Pc()},"SOd"),w.Qc=i(function(n){return this.c.Qc(n)},"TOd"),w.Ib=i(function(){return CLe(this.c)},"UOd"),w.e=0,w.f=0;var l$i=j(qo,"BasicEMap",721);$(1046,66,Z0,h3t),w.Mi=i(function(n,s){oXr(this,y(s,136))},"ZOd"),w.Pi=i(function(n,s,u){var d;++(d=this,y(s,136),d).a.e},"_Od"),w.Qi=i(function(n,s){lXr(this,y(s,136))},"aPd"),w.Ri=i(function(n,s,u){oZr(this,y(s,136),y(u,136))},"bPd"),w.Oi=i(function(n,s){$9t(this.a)},"$Od");var c$i=j(qo,"BasicEMap/1",1046);$(1047,66,Z0,pbt),w.aj=i(function(n){return ot(KEn,ZHt,621,n,0,1)},"dPd");var u$i=j(qo,"BasicEMap/2",1047);$(1048,Xg,ph,f3t),w.$b=i(function(){this.a.c.$b()},"fPd"),w.Hc=i(function(n){return Wue(this.a,n)},"gPd"),w.Kc=i(function(){return this.a.f==0?(R8(),Lj.a):new Y4t(this.a)},"hPd"),w.Mc=i(function(n){var s;return s=this.a.f,xK(this.a,n),this.a.f!=s},"iPd"),w.gc=i(function(){return this.a.f},"jPd");var h$i=j(qo,"BasicEMap/3",1048);$(1049,31,l3,d3t),w.$b=i(function(){this.a.c.$b()},"lPd"),w.Hc=i(function(n){return O$t(this.a,n)},"mPd"),w.Kc=i(function(){return this.a.f==0?(R8(),Lj.a):new K4t(this.a)},"nPd"),w.gc=i(function(){return this.a.f},"oPd");var f$i=j(qo,"BasicEMap/4",1049);$(1050,Xg,ph,p3t),w.$b=i(function(){this.a.c.$b()},"rPd"),w.Hc=i(function(n){var s,u,d,g,x,k,A,D,N;if(this.a.f>0&&$e(n,44)&&(this.a._j(),D=y(n,44),A=D.ld(),g=A==null?0:ka(A),x=Q6e(this.a,g),s=this.a.d[x],s)){for(u=y(s.g,379),N=s.i,k=0;k"+this.c},"gQd"),w.a=0;var KEn=j(qo,"BasicEMap/EntryImpl",621);$(546,1,{},QH);var b$i=j(qo,"BasicEMap/View",546),Lj;$(783,1,{}),w.Fb=i(function(n){return I_e((Dr(),Po),n)},"xQd"),w.Hb=i(function(){return zRe((Dr(),Po))},"yQd"),w.Ib=i(function(){return hv((Dr(),Po))},"zQd");var v$i=j(qo,"ECollections/BasicEmptyUnmodifiableEList",783);$(1348,1,Gm,gbt),w.Nb=i(function(n){Co(this,n)},"CQd"),w.Rb=i(function(n){throw me(new ui)},"BQd"),w.Ob=i(function(){return!1},"DQd"),w.Sb=i(function(){return!1},"EQd"),w.Pb=i(function(){throw me(new Zl)},"FQd"),w.Tb=i(function(){return 0},"GQd"),w.Ub=i(function(){throw me(new Zl)},"HQd"),w.Vb=i(function(){return-1},"IQd"),w.Qb=i(function(){throw me(new ui)},"JQd"),w.Wb=i(function(n){throw me(new ui)},"KQd");var w$i=j(qo,"ECollections/BasicEmptyUnmodifiableEList/1",1348);$(1346,783,{20:1,16:1,15:1,61:1},i4t),w.bd=i(function(n,s){vCt()},"MQd"),w.Fc=i(function(n){return wCt()},"NQd"),w.cd=i(function(n,s){return xCt()},"OQd"),w.Gc=i(function(n){return TCt()},"PQd"),w.$b=i(function(){kCt()},"QQd"),w.Hc=i(function(n){return!1},"RQd"),w.Ic=i(function(n){return!1},"SQd"),w.Jc=i(function(n){So(this,n)},"TQd"),w.Xb=i(function(n){return n6e((Dr(),n)),null},"UQd"),w.dd=i(function(n){return-1},"VQd"),w.dc=i(function(){return!0},"WQd"),w.Kc=i(function(){return this.a},"XQd"),w.ed=i(function(){return this.a},"YQd"),w.fd=i(function(n){return this.a},"ZQd"),w.Ti=i(function(n,s){return CCt()},"$Qd"),w.Ui=i(function(n,s){ECt()},"_Qd"),w.Lc=i(function(){return new Tr(null,new Ar(this,16))},"aRd"),w.gd=i(function(n){return SCt()},"bRd"),w.Mc=i(function(n){return ACt()},"cRd"),w.hd=i(function(n,s){return RCt()},"dRd"),w.gc=i(function(){return 0},"eRd"),w.jd=i(function(n){V2(this,n)},"fRd"),w.Nc=i(function(){return new Ar(this,16)},"gRd"),w.Oc=i(function(){return new Tr(null,new Ar(this,16))},"hRd"),w.kd=i(function(n,s){return Dr(),new Dy(Po,n,s)},"iRd"),w.Pc=i(function(){return e8e((Dr(),Po))},"jRd"),w.Qc=i(function(n){return Dr(),JM(Po,n)},"kRd");var x$i=j(qo,"ECollections/EmptyUnmodifiableEList",1346);$(1347,783,{20:1,16:1,15:1,61:1,597:1},a4t),w.bd=i(function(n,s){vCt()},"mRd"),w.Fc=i(function(n){return wCt()},"nRd"),w.cd=i(function(n,s){return xCt()},"oRd"),w.Gc=i(function(n){return TCt()},"pRd"),w.$b=i(function(){kCt()},"qRd"),w.Hc=i(function(n){return!1},"rRd"),w.Ic=i(function(n){return!1},"sRd"),w.Jc=i(function(n){So(this,n)},"tRd"),w.Xb=i(function(n){return n6e((Dr(),n)),null},"uRd"),w.dd=i(function(n){return-1},"vRd"),w.dc=i(function(){return!0},"wRd"),w.Kc=i(function(){return this.a},"xRd"),w.ed=i(function(){return this.a},"yRd"),w.fd=i(function(n){return this.a},"zRd"),w.Ti=i(function(n,s){return CCt()},"BRd"),w.Ui=i(function(n,s){ECt()},"CRd"),w.Lc=i(function(){return new Tr(null,new Ar(this,16))},"DRd"),w.gd=i(function(n){return SCt()},"ERd"),w.Mc=i(function(n){return ACt()},"FRd"),w.hd=i(function(n,s){return RCt()},"GRd"),w.gc=i(function(){return 0},"HRd"),w.jd=i(function(n){V2(this,n)},"IRd"),w.Nc=i(function(){return new Ar(this,16)},"JRd"),w.Oc=i(function(){return new Tr(null,new Ar(this,16))},"KRd"),w.kd=i(function(n,s){return Dr(),new Dy(Po,n,s)},"LRd"),w.Pc=i(function(){return e8e((Dr(),Po))},"MRd"),w.Qc=i(function(n){return Dr(),JM(Po,n)},"NRd"),w.bk=i(function(){return Dr(),Dr(),Wm},"ARd");var T$i=j(qo,"ECollections/EmptyUnmodifiableEMap",1347),vVe=Va(qo,"Enumerator"),YZ;$(288,1,{288:1},efe),w.Fb=i(function(n){var s;return this===n?!0:$e(n,288)?(s=y(n,288),this.f==s.f&&onn(this.i,s.i)&&Ale(this.a,(this.f&256)!=0?(s.f&256)!=0?s.a:null:(s.f&256)!=0?null:s.a)&&Ale(this.d,s.d)&&Ale(this.g,s.g)&&Ale(this.e,s.e)&&_pn(this,s)):!1},"pSd"),w.Hb=i(function(){return this.f},"uSd"),w.Ib=i(function(){return pGt(this)},"CSd"),w.f=0;var Mnr=0,Inr=0,Nnr=0,Onr=0,wVe=0,xVe=0,TVe=0,kVe=0,CVe=0,Pnr,iN=0,aN=0,Bnr=0,Fnr=0,KZ,EVe,k$i=j(qo,"URI",288);$(1121,45,_C,s4t),w.zc=i(function(n,s){return y(El(this,pi(n),y(s,288)),288)},"NSd");var C$i=j(qo,"URI/URICache",1121);$(506,66,Z0,cbt,OW),w.Si=i(function(){return!0},"QSd");var E$i=j(qo,"UniqueEList",506);$(590,63,z1,RY);var S$i=j(qo,"WrappedException",590),Di=Va(wd,rqt),V3=Va(wd,nqt),eh=Va(wd,iqt),H3=Va(wd,aqt),kg=Va(wd,sqt),ip=Va(wd,"EClass"),nye=Va(wd,"EDataType"),$nr;$(1233,45,_C,o4t),w.xc=i(function(n){return oo(n)?Yc(this,n):Il(il(this.f,n))},"WSd");var A$i=j(wd,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1233),XZ=Va(wd,"EEnum"),Q1=Va(wd,oqt),hl=Va(wd,lqt),ap=Va(wd,cqt),sp,_T=Va(wd,uqt),q3=Va(wd,hqt);$(1042,1,{},lbt),w.Ib=i(function(){return"NIL"},"aTd");var R$i=j(wd,"EStructuralFeature/Internal/DynamicValueHolder/1",1042),Gnr;$(1041,45,_C,l4t),w.xc=i(function(n){return oo(n)?Yc(this,n):Il(il(this.f,n))},"fTd");var L$i=j(wd,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1041),Fu=Va(wd,fqt),D6=Va(wd,"EValidator/PatternMatcher"),SVe,AVe,qr,ob,W3,$v,jnr,znr,Unr,Gv,lb,jv,MT,c0,Vnr,Hnr,op,cb,qnr,ub,Y3,xE,Jo,Wnr,Ynr,IT,QZ=Va(Ma,"FeatureMap/Entry");$(545,1,{76:1},Jq),w.Lk=i(function(){return this.a},"LTd"),w.md=i(function(){return this.b},"MTd");var D$i=j(Wr,"BasicEObjectImpl/1",545);$(1040,1,ige,DSt),w.Fk=i(function(n){return Dce(this.a,this.b,n)},"OTd"),w.Qj=i(function(){return fRt(this.a,this.b)},"PTd"),w.Wb=i(function(n){z8e(this.a,this.b,n)},"QTd"),w.Gk=i(function(){iin(this.a,this.b)},"RTd");var _$i=j(Wr,"BasicEObjectImpl/4",1040);$(2081,1,{114:1}),w.Mk=i(function(n){this.e=n==0?Knr:ot(Hs,Gr,1,n,5,1)},"UTd"),w.li=i(function(n){return this.e[n]},"VTd"),w.mi=i(function(n,s){this.e[n]=s},"WTd"),w.ni=i(function(n){this.e[n]=null},"XTd"),w.Nk=i(function(){return this.c},"YTd"),w.Ok=i(function(){throw me(new ui)},"ZTd"),w.Pk=i(function(){throw me(new ui)},"$Td"),w.Qk=i(function(){return this.d},"_Td"),w.Rk=i(function(){return this.e!=null},"aUd"),w.Sk=i(function(n){this.c=n},"bUd"),w.Tk=i(function(n){throw me(new ui)},"cUd"),w.Uk=i(function(n){throw me(new ui)},"dUd"),w.Vk=i(function(n){this.d=n},"eUd");var Knr,M$i=j(Wr,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2081);$(192,2081,{114:1},ag),w.Ok=i(function(){return this.a},"gUd"),w.Pk=i(function(){return this.b},"hUd"),w.Tk=i(function(n){this.a=n},"iUd"),w.Uk=i(function(n){this.b=n},"jUd");var I$i=j(Wr,"BasicEObjectImpl/EPropertiesHolderImpl",192);$(516,99,dHt,JH),w.uh=i(function(){return this.f},"lUd"),w.zh=i(function(){return this.k},"mUd"),w.Bh=i(function(n,s){this.g=n,this.i=s},"nUd"),w.Dh=i(function(){return(this.j&2)==0?this.ii():this.$h().Nk()},"oUd"),w.Fh=i(function(){return this.i},"pUd"),w.wh=i(function(){return(this.j&1)!=0},"qUd"),w.Ph=i(function(){return this.g},"rUd"),w.Vh=i(function(){return(this.j&4)!=0},"sUd"),w.$h=i(function(){return!this.k&&(this.k=new ag),this.k},"tUd"),w.ci=i(function(n){this.$h().Sk(n),n?this.j|=2:this.j&=-3},"uUd"),w.ei=i(function(n){this.$h().Uk(n),n?this.j|=4:this.j&=-5},"vUd"),w.ii=i(function(){return(Qb(),qr).S},"wUd"),w.i=0,w.j=1;var N$i=j(Wr,"EObjectImpl",516);$(798,516,{110:1,94:1,93:1,58:1,114:1,54:1,99:1},BAe),w.li=i(function(n){return this.e[n]},"AUd"),w.mi=i(function(n,s){this.e[n]=s},"BUd"),w.ni=i(function(n){this.e[n]=null},"CUd"),w.Dh=i(function(){return this.d},"DUd"),w.Ih=i(function(n){return Ga(this.d,n)},"EUd"),w.Kh=i(function(){return this.d},"FUd"),w.Oh=i(function(){return this.e!=null},"GUd"),w.$h=i(function(){return!this.k&&(this.k=new mbt),this.k},"HUd"),w.ci=i(function(n){this.d=n},"IUd"),w.hi=i(function(){var n;return this.e==null&&(n=_n(this.d),this.e=n==0?Xnr:ot(Hs,Gr,1,n,5,1)),this},"JUd"),w.ji=i(function(){return 0},"KUd");var Xnr,O$i=j(Wr,"DynamicEObjectImpl",798);$(1522,798,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1},VAt),w.Fb=i(function(n){return this===n},"NUd"),w.Hb=i(function(){return xx(this)},"RUd"),w.ci=i(function(n){this.d=n,this.b=C$(n,"key"),this.c=C$(n,U9)},"MUd"),w.Bi=i(function(){var n;return this.a==-1&&(n=Uce(this,this.b),this.a=n==null?0:ka(n)),this.a},"OUd"),w.ld=i(function(){return Uce(this,this.b)},"PUd"),w.md=i(function(){return Uce(this,this.c)},"QUd"),w.Ci=i(function(n){this.a=n},"SUd"),w.Di=i(function(n){z8e(this,this.b,n)},"TUd"),w.nd=i(function(n){var s;return s=Uce(this,this.c),z8e(this,this.c,n),s},"UUd"),w.a=0;var P$i=j(Wr,"DynamicEObjectImpl/BasicEMapEntry",1522);$(1523,1,{114:1},mbt),w.Mk=i(function(n){throw me(new ui)},"WUd"),w.li=i(function(n){throw me(new ui)},"XUd"),w.mi=i(function(n,s){throw me(new ui)},"YUd"),w.ni=i(function(n){throw me(new ui)},"ZUd"),w.Nk=i(function(){throw me(new ui)},"$Ud"),w.Ok=i(function(){return this.a},"_Ud"),w.Pk=i(function(){return this.b},"aVd"),w.Qk=i(function(){return this.c},"bVd"),w.Rk=i(function(){throw me(new ui)},"cVd"),w.Sk=i(function(n){throw me(new ui)},"dVd"),w.Tk=i(function(n){this.a=n},"eVd"),w.Uk=i(function(n){this.b=n},"fVd"),w.Vk=i(function(n){this.c=n},"gVd");var B$i=j(Wr,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1523);$(519,158,{110:1,94:1,93:1,598:1,155:1,58:1,114:1,54:1,99:1,519:1,158:1,119:1,120:1},GEe),w.Ah=i(function(n){return dDe(this,n)},"qVd"),w.Lh=i(function(n,s,u){var d;switch(n){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),this.Ab;case 1:return this.d;case 2:return u?(!this.b&&(this.b=new ff((Lr(),Jo),wc,this)),this.b):(!this.b&&(this.b=new ff((Lr(),Jo),wc,this)),kF(this.b));case 3:return yRt(this);case 4:return!this.a&&(this.a=new vs(Bv,this,4)),this.a;case 5:return!this.c&&(this.c=new eC(Bv,this,5)),this.c}return ud(this,n-_n((Lr(),ob)),Nr((d=y(Xr(this,16),29),d||ob),n),s,u)},"rVd"),w.Sh=i(function(n,s,u){var d,g,x;switch(s){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),mu(this.Ab,n,u);case 3:return this.Cb&&(u=(g=this.Db>>16,g>=0?dDe(this,u):this.Cb.Th(this,-1-g,null,u))),ZAe(this,y(n,155),u)}return x=y(Nr((d=y(Xr(this,16),29),d||(Lr(),ob)),s),69),x.wk().zk(this,Mu(this),s-_n((Lr(),ob)),n,u)},"sVd"),w.Uh=i(function(n,s,u){var d,g;switch(s){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Vo(this.Ab,n,u);case 2:return!this.b&&(this.b=new ff((Lr(),Jo),wc,this)),yW(this.b,n,u);case 3:return ZAe(this,null,u);case 4:return!this.a&&(this.a=new vs(Bv,this,4)),Vo(this.a,n,u)}return g=y(Nr((d=y(Xr(this,16),29),d||(Lr(),ob)),s),69),g.wk().Ak(this,Mu(this),s-_n((Lr(),ob)),n,u)},"tVd"),w.Wh=i(function(n){var s;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.d!=null;case 2:return!!this.b&&this.b.f!=0;case 3:return!!yRt(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return ld(this,n-_n((Lr(),ob)),Nr((s=y(Xr(this,16),29),s||ob),n))},"uVd"),w.bi=i(function(n,s){var u;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab),!this.Ab&&(this.Ab=new xt(Di,this,0,3)),ts(this.Ab,y(s,16));return;case 1:Yrn(this,pi(s));return;case 2:!this.b&&(this.b=new ff((Lr(),Jo),wc,this)),ZY(this.b,s);return;case 3:r$t(this,y(s,155));return;case 4:!this.a&&(this.a=new vs(Bv,this,4)),Kn(this.a),!this.a&&(this.a=new vs(Bv,this,4)),ts(this.a,y(s,16));return;case 5:!this.c&&(this.c=new eC(Bv,this,5)),Kn(this.c),!this.c&&(this.c=new eC(Bv,this,5)),ts(this.c,y(s,16));return}pd(this,n-_n((Lr(),ob)),Nr((u=y(Xr(this,16),29),u||ob),n),s)},"vVd"),w.ii=i(function(){return Lr(),ob},"wVd"),w.ki=i(function(n){var s;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab);return;case 1:pRe(this,null);return;case 2:!this.b&&(this.b=new ff((Lr(),Jo),wc,this)),this.b.c.$b();return;case 3:r$t(this,null);return;case 4:!this.a&&(this.a=new vs(Bv,this,4)),Kn(this.a);return;case 5:!this.c&&(this.c=new eC(Bv,this,5)),Kn(this.c);return}dd(this,n-_n((Lr(),ob)),Nr((s=y(Xr(this,16),29),s||ob),n))},"xVd"),w.Ib=i(function(){return sNt(this)},"yVd"),w.d=null;var F$i=j(Wr,"EAnnotationImpl",519);$(141,721,LOe,hh),w.Gi=i(function(n,s){fJr(this,n,y(s,44))},"EVd"),w.Wk=i(function(n,s){return pen(this,y(n,44),s)},"FVd"),w.$i=i(function(n){return y(y(this.c,71).$i(n),136)},"GVd"),w.Ii=i(function(){return y(this.c,71).Ii()},"HVd"),w.Ji=i(function(){return y(this.c,71).Ji()},"IVd"),w.Ki=i(function(n){return y(this.c,71).Ki(n)},"JVd"),w.Xk=i(function(n,s){return yW(this,n,s)},"KVd"),w.Fk=i(function(n){return y(this.c,79).Fk(n)},"LVd"),w.ak=i(function(){},"MVd"),w.Qj=i(function(){return y(this.c,79).Qj()},"NVd"),w.ck=i(function(n,s,u){var d;return d=y(Lf(this.b).wi().si(this.b),136),d.Ci(n),d.Di(s),d.nd(u),d},"OVd"),w.dk=i(function(){return new TSe(this)},"PVd"),w.Wb=i(function(n){ZY(this,n)},"QVd"),w.Gk=i(function(){y(this.c,79).Gk()},"RVd");var $$i=j(Ma,"EcoreEMap",141);$(165,141,LOe,ff),w._j=i(function(){var n,s,u,d,g,x;if(this.d==null){for(x=ot(yVe,ROe,66,2*this.f+1,0,1),u=this.c.Kc();u.e!=u.i.gc();)s=y(u.Yj(),136),d=s.Bi(),g=(d&Yi)%x.length,n=x[g],!n&&(n=x[g]=new TSe(this)),n.Fc(s);this.d=x}},"TVd");var G$i=j(Wr,"EAnnotationImpl/1",165);$(292,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,481:1,54:1,99:1,158:1,292:1,119:1,120:1}),w.Lh=i(function(n,s,u){var d,g;switch(n){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hr(),(this.Bb&256)!=0;case 3:return Hr(),(this.Bb&512)!=0;case 4:return _t(this.s);case 5:return _t(this.t);case 6:return Hr(),!!this.Jk();case 7:return Hr(),g=this.s,g>=1;case 8:return s?Wd(this):this.r;case 9:return this.q}return ud(this,n-_n(this.ii()),Nr((d=y(Xr(this,16),29),d||this.ii()),n),s,u)},"eWd"),w.Uh=i(function(n,s,u){var d,g;switch(s){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Vo(this.Ab,n,u);case 9:return zle(this,u)}return g=y(Nr((d=y(Xr(this,16),29),d||this.ii()),s),69),g.wk().Ak(this,Mu(this),s-_n(this.ii()),n,u)},"fWd"),w.Wh=i(function(n){var s,u;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Jk();case 7:return u=this.s,u>=1;case 8:return!!this.r&&!this.q.e&&Lx(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Lx(this.q).i==0)}return ld(this,n-_n(this.ii()),Nr((s=y(Xr(this,16),29),s||this.ii()),n))},"gWd"),w.bi=i(function(n,s){var u,d;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab),!this.Ab&&(this.Ab=new xt(Di,this,0,3)),ts(this.Ab,y(s,16));return;case 1:this.ui(pi(s));return;case 2:$y(this,Kt(Yt(s)));return;case 3:Gy(this,Kt(Yt(s)));return;case 4:Oy(this,y(s,17).a);return;case 5:this.Zk(y(s,17).a);return;case 8:X2(this,y(s,142));return;case 9:d=Yg(this,y(s,89),null),d&&d.oj();return}pd(this,n-_n(this.ii()),Nr((u=y(Xr(this,16),29),u||this.ii()),n),s)},"hWd"),w.ii=i(function(){return Lr(),Ynr},"iWd"),w.ki=i(function(n){var s,u;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab);return;case 1:this.ui(null);return;case 2:$y(this,!0);return;case 3:Gy(this,!0);return;case 4:Oy(this,0);return;case 5:this.Zk(1);return;case 8:X2(this,null);return;case 9:u=Yg(this,null,null),u&&u.oj();return}dd(this,n-_n(this.ii()),Nr((s=y(Xr(this,16),29),s||this.ii()),n))},"jWd"),w.pi=i(function(){Wd(this),this.Bb|=1},"kWd"),w.Hk=i(function(){return Wd(this)},"lWd"),w.Ik=i(function(){return this.t},"mWd"),w.Jk=i(function(){var n;return n=this.t,n>1||n==-1},"nWd"),w.Si=i(function(){return(this.Bb&512)!=0},"oWd"),w.Yk=i(function(n,s){return oLe(this,n,s)},"pWd"),w.Zk=i(function(n){Vk(this,n)},"qWd"),w.Ib=i(function(){return C_e(this)},"rWd"),w.s=0,w.t=1;var j$i=j(Wr,"ETypedElementImpl",292);$(462,292,{110:1,94:1,93:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,462:1,292:1,119:1,120:1,692:1}),w.Ah=i(function(n){return KOt(this,n)},"IWd"),w.Lh=i(function(n,s,u){var d,g;switch(n){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hr(),(this.Bb&256)!=0;case 3:return Hr(),(this.Bb&512)!=0;case 4:return _t(this.s);case 5:return _t(this.t);case 6:return Hr(),!!this.Jk();case 7:return Hr(),g=this.s,g>=1;case 8:return s?Wd(this):this.r;case 9:return this.q;case 10:return Hr(),(this.Bb&$p)!=0;case 11:return Hr(),(this.Bb&y3)!=0;case 12:return Hr(),(this.Bb&u3)!=0;case 13:return this.j;case 14:return P7(this);case 15:return Hr(),(this.Bb&mh)!=0;case 16:return Hr(),(this.Bb&V0)!=0;case 17:return Pk(this)}return ud(this,n-_n(this.ii()),Nr((d=y(Xr(this,16),29),d||this.ii()),n),s,u)},"JWd"),w.Sh=i(function(n,s,u){var d,g,x;switch(s){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),mu(this.Ab,n,u);case 17:return this.Cb&&(u=(g=this.Db>>16,g>=0?KOt(this,u):this.Cb.Th(this,-1-g,null,u))),Of(this,n,17,u)}return x=y(Nr((d=y(Xr(this,16),29),d||this.ii()),s),69),x.wk().zk(this,Mu(this),s-_n(this.ii()),n,u)},"KWd"),w.Uh=i(function(n,s,u){var d,g;switch(s){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Vo(this.Ab,n,u);case 9:return zle(this,u);case 17:return Of(this,null,17,u)}return g=y(Nr((d=y(Xr(this,16),29),d||this.ii()),s),69),g.wk().Ak(this,Mu(this),s-_n(this.ii()),n,u)},"LWd"),w.Wh=i(function(n){var s,u;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Jk();case 7:return u=this.s,u>=1;case 8:return!!this.r&&!this.q.e&&Lx(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Lx(this.q).i==0);case 10:return(this.Bb&$p)==0;case 11:return(this.Bb&y3)!=0;case 12:return(this.Bb&u3)!=0;case 13:return this.j!=null;case 14:return P7(this)!=null;case 15:return(this.Bb&mh)!=0;case 16:return(this.Bb&V0)!=0;case 17:return!!Pk(this)}return ld(this,n-_n(this.ii()),Nr((s=y(Xr(this,16),29),s||this.ii()),n))},"MWd"),w.bi=i(function(n,s){var u,d;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab),!this.Ab&&(this.Ab=new xt(Di,this,0,3)),ts(this.Ab,y(s,16));return;case 1:gce(this,pi(s));return;case 2:$y(this,Kt(Yt(s)));return;case 3:Gy(this,Kt(Yt(s)));return;case 4:Oy(this,y(s,17).a);return;case 5:this.Zk(y(s,17).a);return;case 8:X2(this,y(s,142));return;case 9:d=Yg(this,y(s,89),null),d&&d.oj();return;case 10:v7(this,Kt(Yt(s)));return;case 11:T7(this,Kt(Yt(s)));return;case 12:w7(this,Kt(Yt(s)));return;case 13:Z5e(this,pi(s));return;case 15:x7(this,Kt(Yt(s)));return;case 16:k7(this,Kt(Yt(s)));return}pd(this,n-_n(this.ii()),Nr((u=y(Xr(this,16),29),u||this.ii()),n),s)},"NWd"),w.ii=i(function(){return Lr(),Wnr},"OWd"),w.ki=i(function(n){var s,u;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab);return;case 1:$e(this.Cb,90)&&t3(qh(y(this.Cb,90)),4),gu(this,null);return;case 2:$y(this,!0);return;case 3:Gy(this,!0);return;case 4:Oy(this,0);return;case 5:this.Zk(1);return;case 8:X2(this,null);return;case 9:u=Yg(this,null,null),u&&u.oj();return;case 10:v7(this,!0);return;case 11:T7(this,!1);return;case 12:w7(this,!1);return;case 13:this.i=null,WY(this,null);return;case 15:x7(this,!1);return;case 16:k7(this,!1);return}dd(this,n-_n(this.ii()),Nr((s=y(Xr(this,16),29),s||this.ii()),n))},"PWd"),w.pi=i(function(){$8(Sl((dh(),Lo),this)),Wd(this),this.Bb|=1},"QWd"),w.pk=i(function(){return this.f},"RWd"),w.ik=i(function(){return P7(this)},"SWd"),w.qk=i(function(){return Pk(this)},"TWd"),w.uk=i(function(){return null},"UWd"),w.$k=i(function(){return this.k},"VWd"),w.Lj=i(function(){return this.n},"WWd"),w.vk=i(function(){return jK(this)},"XWd"),w.wk=i(function(){var n,s,u,d,g,x,k,A,D;return this.p||(u=Pk(this),(u.i==null&&U0(u),u.i).length,d=this.uk(),d&&_n(Pk(d)),g=Wd(this),k=g.kk(),n=k?(k.i&1)!=0?k==tf?os:k==ei?Ro:k==X3?bR:k==co?Es:k==Uv?fT:k==EE?dT:k==bh?l6:eI:k:null,s=P7(this),A=g.ik(),ldn(this),(this.Bb&V0)!=0&&((x=wDe((dh(),Lo),u))&&x!=this||(x=S5(Sl(Lo,this))))?this.p=new MSt(this,x):this.Jk()?this.al()?d?(this.Bb&mh)!=0?n?this.bl()?this.p=new B2(47,n,this,d):this.p=new B2(5,n,this,d):this.bl()?this.p=new z2(46,this,d):this.p=new z2(4,this,d):n?this.bl()?this.p=new B2(49,n,this,d):this.p=new B2(7,n,this,d):this.bl()?this.p=new z2(48,this,d):this.p=new z2(6,this,d):(this.Bb&mh)!=0?n?n==dw?this.p=new Ay(50,Lnr,this):this.bl()?this.p=new Ay(43,n,this):this.p=new Ay(1,n,this):this.bl()?this.p=new Ly(42,this):this.p=new Ly(0,this):n?n==dw?this.p=new Ay(41,Lnr,this):this.bl()?this.p=new Ay(45,n,this):this.p=new Ay(3,n,this):this.bl()?this.p=new Ly(44,this):this.p=new Ly(2,this):$e(g,156)?n==QZ?this.p=new Ly(40,this):(this.Bb&512)!=0?(this.Bb&mh)!=0?n?this.p=new Ay(9,n,this):this.p=new Ly(8,this):n?this.p=new Ay(11,n,this):this.p=new Ly(10,this):(this.Bb&mh)!=0?n?this.p=new Ay(13,n,this):this.p=new Ly(12,this):n?this.p=new Ay(15,n,this):this.p=new Ly(14,this):d?(D=d.t,D>1||D==-1?this.bl()?(this.Bb&mh)!=0?n?this.p=new B2(25,n,this,d):this.p=new z2(24,this,d):n?this.p=new B2(27,n,this,d):this.p=new z2(26,this,d):(this.Bb&mh)!=0?n?this.p=new B2(29,n,this,d):this.p=new z2(28,this,d):n?this.p=new B2(31,n,this,d):this.p=new z2(30,this,d):this.bl()?(this.Bb&mh)!=0?n?this.p=new B2(33,n,this,d):this.p=new z2(32,this,d):n?this.p=new B2(35,n,this,d):this.p=new z2(34,this,d):(this.Bb&mh)!=0?n?this.p=new B2(37,n,this,d):this.p=new z2(36,this,d):n?this.p=new B2(39,n,this,d):this.p=new z2(38,this,d)):this.bl()?(this.Bb&mh)!=0?n?this.p=new Ay(17,n,this):this.p=new Ly(16,this):n?this.p=new Ay(19,n,this):this.p=new Ly(18,this):(this.Bb&mh)!=0?n?this.p=new Ay(21,n,this):this.p=new Ly(20,this):n?this.p=new Ay(23,n,this):this.p=new Ly(22,this):this._k()?this.bl()?this.p=new wAt(y(g,29),this,d):this.p=new G8e(y(g,29),this,d):$e(g,156)?n==QZ?this.p=new Ly(40,this):(this.Bb&mh)!=0?n?this.p=new v8t(s,A,this,(Yue(),k==ei?NVe:k==tf?LVe:k==Uv?OVe:k==X3?IVe:k==co?MVe:k==EE?PVe:k==bh?DVe:k==Ad?_Ve:sye)):this.p=new M7t(y(g,156),s,A,this):n?this.p=new b8t(s,A,this,(Yue(),k==ei?NVe:k==tf?LVe:k==Uv?OVe:k==X3?IVe:k==co?MVe:k==EE?PVe:k==bh?DVe:k==Ad?_Ve:sye)):this.p=new _7t(y(g,156),s,A,this):this.al()?d?(this.Bb&mh)!=0?this.bl()?this.p=new TAt(y(g,29),this,d):this.p=new EAe(y(g,29),this,d):this.bl()?this.p=new xAt(y(g,29),this,d):this.p=new wle(y(g,29),this,d):(this.Bb&mh)!=0?this.bl()?this.p=new b6t(y(g,29),this):this.p=new $6e(y(g,29),this):this.bl()?this.p=new y6t(y(g,29),this):this.p=new ole(y(g,29),this):this.bl()?d?(this.Bb&mh)!=0?this.p=new kAt(y(g,29),this,d):this.p=new kAe(y(g,29),this,d):(this.Bb&mh)!=0?this.p=new v6t(y(g,29),this):this.p=new G6e(y(g,29),this):d?(this.Bb&mh)!=0?this.p=new CAt(y(g,29),this,d):this.p=new CAe(y(g,29),this,d):(this.Bb&mh)!=0?this.p=new w6t(y(g,29),this):this.p=new NW(y(g,29),this)),this.p},"YWd"),w.rk=i(function(){return(this.Bb&$p)!=0},"ZWd"),w._k=i(function(){return!1},"$Wd"),w.al=i(function(){return!1},"_Wd"),w.sk=i(function(){return(this.Bb&V0)!=0},"aXd"),w.xk=i(function(){return Vce(this)},"bXd"),w.bl=i(function(){return!1},"cXd"),w.tk=i(function(){return(this.Bb&mh)!=0},"dXd"),w.cl=i(function(n){this.k=n},"eXd"),w.ui=i(function(n){gce(this,n)},"fXd"),w.Ib=i(function(){return lX(this)},"gXd"),w.e=!1,w.n=0;var z$i=j(Wr,"EStructuralFeatureImpl",462);$(331,462,{110:1,94:1,93:1,35:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,331:1,158:1,462:1,292:1,119:1,120:1,692:1},jse),w.Lh=i(function(n,s,u){var d,g;switch(n){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hr(),(this.Bb&256)!=0;case 3:return Hr(),(this.Bb&512)!=0;case 4:return _t(this.s);case 5:return _t(this.t);case 6:return Hr(),!!b_e(this);case 7:return Hr(),g=this.s,g>=1;case 8:return s?Wd(this):this.r;case 9:return this.q;case 10:return Hr(),(this.Bb&$p)!=0;case 11:return Hr(),(this.Bb&y3)!=0;case 12:return Hr(),(this.Bb&u3)!=0;case 13:return this.j;case 14:return P7(this);case 15:return Hr(),(this.Bb&mh)!=0;case 16:return Hr(),(this.Bb&V0)!=0;case 17:return Pk(this);case 18:return Hr(),(this.Bb&Ec)!=0;case 19:return s?pue(this):ODt(this)}return ud(this,n-_n((Lr(),W3)),Nr((d=y(Xr(this,16),29),d||W3),n),s,u)},"nXd"),w.Wh=i(function(n){var s,u;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return b_e(this);case 7:return u=this.s,u>=1;case 8:return!!this.r&&!this.q.e&&Lx(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Lx(this.q).i==0);case 10:return(this.Bb&$p)==0;case 11:return(this.Bb&y3)!=0;case 12:return(this.Bb&u3)!=0;case 13:return this.j!=null;case 14:return P7(this)!=null;case 15:return(this.Bb&mh)!=0;case 16:return(this.Bb&V0)!=0;case 17:return!!Pk(this);case 18:return(this.Bb&Ec)!=0;case 19:return!!ODt(this)}return ld(this,n-_n((Lr(),W3)),Nr((s=y(Xr(this,16),29),s||W3),n))},"oXd"),w.bi=i(function(n,s){var u,d;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab),!this.Ab&&(this.Ab=new xt(Di,this,0,3)),ts(this.Ab,y(s,16));return;case 1:gce(this,pi(s));return;case 2:$y(this,Kt(Yt(s)));return;case 3:Gy(this,Kt(Yt(s)));return;case 4:Oy(this,y(s,17).a);return;case 5:J4t(this,y(s,17).a);return;case 8:X2(this,y(s,142));return;case 9:d=Yg(this,y(s,89),null),d&&d.oj();return;case 10:v7(this,Kt(Yt(s)));return;case 11:T7(this,Kt(Yt(s)));return;case 12:w7(this,Kt(Yt(s)));return;case 13:Z5e(this,pi(s));return;case 15:x7(this,Kt(Yt(s)));return;case 16:k7(this,Kt(Yt(s)));return;case 18:Gue(this,Kt(Yt(s)));return}pd(this,n-_n((Lr(),W3)),Nr((u=y(Xr(this,16),29),u||W3),n),s)},"pXd"),w.ii=i(function(){return Lr(),W3},"qXd"),w.ki=i(function(n){var s,u;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab);return;case 1:$e(this.Cb,90)&&t3(qh(y(this.Cb,90)),4),gu(this,null);return;case 2:$y(this,!0);return;case 3:Gy(this,!0);return;case 4:Oy(this,0);return;case 5:this.b=0,Vk(this,1);return;case 8:X2(this,null);return;case 9:u=Yg(this,null,null),u&&u.oj();return;case 10:v7(this,!0);return;case 11:T7(this,!1);return;case 12:w7(this,!1);return;case 13:this.i=null,WY(this,null);return;case 15:x7(this,!1);return;case 16:k7(this,!1);return;case 18:Gue(this,!1);return}dd(this,n-_n((Lr(),W3)),Nr((s=y(Xr(this,16),29),s||W3),n))},"rXd"),w.pi=i(function(){pue(this),$8(Sl((dh(),Lo),this)),Wd(this),this.Bb|=1},"sXd"),w.Jk=i(function(){return b_e(this)},"tXd"),w.Yk=i(function(n,s){return this.b=0,this.a=null,oLe(this,n,s)},"uXd"),w.Zk=i(function(n){J4t(this,n)},"vXd"),w.Ib=i(function(){var n;return(this.Db&64)!=0?lX(this):(n=new zd(lX(this)),n.a+=" (iD: ",ky(n,(this.Bb&Ec)!=0),n.a+=")",n.a)},"wXd"),w.b=0;var U$i=j(Wr,"EAttributeImpl",331);$(364,448,{110:1,94:1,93:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,364:1,158:1,119:1,120:1,691:1}),w.dl=i(function(n){return n.Dh()==this},"NXd"),w.Ah=i(function(n){return vhe(this,n)},"OXd"),w.Bh=i(function(n,s){this.w=null,this.Db=s<<16|this.Db&255,this.Cb=n},"PXd"),w.Lh=i(function(n,s,u){var d;switch(n){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Xx(this);case 4:return this.ik();case 5:return this.F;case 6:return s?Lf(this):z8(this);case 7:return!this.A&&(this.A=new oh(Fu,this,7)),this.A}return ud(this,n-_n(this.ii()),Nr((d=y(Xr(this,16),29),d||this.ii()),n),s,u)},"QXd"),w.Sh=i(function(n,s,u){var d,g,x;switch(s){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),mu(this.Ab,n,u);case 6:return this.Cb&&(u=(g=this.Db>>16,g>=0?vhe(this,u):this.Cb.Th(this,-1-g,null,u))),Of(this,n,6,u)}return x=y(Nr((d=y(Xr(this,16),29),d||this.ii()),s),69),x.wk().zk(this,Mu(this),s-_n(this.ii()),n,u)},"RXd"),w.Uh=i(function(n,s,u){var d,g;switch(s){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Vo(this.Ab,n,u);case 6:return Of(this,null,6,u);case 7:return!this.A&&(this.A=new oh(Fu,this,7)),Vo(this.A,n,u)}return g=y(Nr((d=y(Xr(this,16),29),d||this.ii()),s),69),g.wk().Ak(this,Mu(this),s-_n(this.ii()),n,u)},"SXd"),w.Wh=i(function(n){var s;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Xx(this);case 4:return this.ik()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!z8(this);case 7:return!!this.A&&this.A.i!=0}return ld(this,n-_n(this.ii()),Nr((s=y(Xr(this,16),29),s||this.ii()),n))},"TXd"),w.bi=i(function(n,s){var u;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab),!this.Ab&&(this.Ab=new xt(Di,this,0,3)),ts(this.Ab,y(s,16));return;case 1:cY(this,pi(s));return;case 2:Woe(this,pi(s));return;case 5:U7(this,pi(s));return;case 7:!this.A&&(this.A=new oh(Fu,this,7)),Kn(this.A),!this.A&&(this.A=new oh(Fu,this,7)),ts(this.A,y(s,16));return}pd(this,n-_n(this.ii()),Nr((u=y(Xr(this,16),29),u||this.ii()),n),s)},"UXd"),w.ii=i(function(){return Lr(),jnr},"VXd"),w.ki=i(function(n){var s;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab);return;case 1:$e(this.Cb,184)&&(y(this.Cb,184).tb=null),gu(this,null);return;case 2:m7(this,null),t7(this,this.D);return;case 5:U7(this,null);return;case 7:!this.A&&(this.A=new oh(Fu,this,7)),Kn(this.A);return}dd(this,n-_n(this.ii()),Nr((s=y(Xr(this,16),29),s||this.ii()),n))},"WXd"),w.hk=i(function(){var n;return this.G==-1&&(this.G=(n=Lf(this),n?Uy(n.vi(),this):-1)),this.G},"XXd"),w.ik=i(function(){return null},"YXd"),w.jk=i(function(){return Lf(this)},"ZXd"),w.el=i(function(){return this.v},"$Xd"),w.kk=i(function(){return Xx(this)},"_Xd"),w.lk=i(function(){return this.D!=null?this.D:this.B},"aYd"),w.mk=i(function(){return this.F},"bYd"),w.fk=i(function(n){return cfe(this,n)},"cYd"),w.fl=i(function(n){this.v=n},"dYd"),w.gl=i(function(n){v9t(this,n)},"eYd"),w.hl=i(function(n){this.C=n},"fYd"),w.ui=i(function(n){cY(this,n)},"gYd"),w.Ib=i(function(){return yK(this)},"hYd"),w.C=null,w.D=null,w.G=-1;var V$i=j(Wr,"EClassifierImpl",364);$(90,364,{110:1,94:1,93:1,29:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,90:1,364:1,158:1,482:1,119:1,120:1,691:1},VEe),w.dl=i(function(n){return QZr(this,n.Dh())},"IYd"),w.Lh=i(function(n,s,u){var d;switch(n){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Xx(this);case 4:return null;case 5:return this.F;case 6:return s?Lf(this):z8(this);case 7:return!this.A&&(this.A=new oh(Fu,this,7)),this.A;case 8:return Hr(),(this.Bb&256)!=0;case 9:return Hr(),(this.Bb&512)!=0;case 10:return Ol(this);case 11:return!this.q&&(this.q=new xt(ap,this,11,10)),this.q;case 12:return AC(this);case 13:return y9(this);case 14:return y9(this),this.r;case 15:return AC(this),this.k;case 16:return o_e(this);case 17:return dfe(this);case 18:return U0(this);case 19:return ZK(this);case 20:return AC(this),this.o;case 21:return!this.s&&(this.s=new xt(eh,this,21,17)),this.s;case 22:return $c(this);case 23:return Zhe(this)}return ud(this,n-_n((Lr(),$v)),Nr((d=y(Xr(this,16),29),d||$v),n),s,u)},"JYd"),w.Sh=i(function(n,s,u){var d,g,x;switch(s){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),mu(this.Ab,n,u);case 6:return this.Cb&&(u=(g=this.Db>>16,g>=0?vhe(this,u):this.Cb.Th(this,-1-g,null,u))),Of(this,n,6,u);case 11:return!this.q&&(this.q=new xt(ap,this,11,10)),mu(this.q,n,u);case 21:return!this.s&&(this.s=new xt(eh,this,21,17)),mu(this.s,n,u)}return x=y(Nr((d=y(Xr(this,16),29),d||(Lr(),$v)),s),69),x.wk().zk(this,Mu(this),s-_n((Lr(),$v)),n,u)},"KYd"),w.Uh=i(function(n,s,u){var d,g;switch(s){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Vo(this.Ab,n,u);case 6:return Of(this,null,6,u);case 7:return!this.A&&(this.A=new oh(Fu,this,7)),Vo(this.A,n,u);case 11:return!this.q&&(this.q=new xt(ap,this,11,10)),Vo(this.q,n,u);case 21:return!this.s&&(this.s=new xt(eh,this,21,17)),Vo(this.s,n,u);case 22:return Vo($c(this),n,u)}return g=y(Nr((d=y(Xr(this,16),29),d||(Lr(),$v)),s),69),g.wk().Ak(this,Mu(this),s-_n((Lr(),$v)),n,u)},"LYd"),w.Wh=i(function(n){var s;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Xx(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!z8(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)!=0;case 9:return(this.Bb&512)!=0;case 10:return!!this.u&&$c(this.u.a).i!=0&&!(this.n&&lhe(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return AC(this).i!=0;case 13:return y9(this).i!=0;case 14:return y9(this),this.r.i!=0;case 15:return AC(this),this.k.i!=0;case 16:return o_e(this).i!=0;case 17:return dfe(this).i!=0;case 18:return U0(this).i!=0;case 19:return ZK(this).i!=0;case 20:return AC(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&lhe(this.n);case 23:return Zhe(this).i!=0}return ld(this,n-_n((Lr(),$v)),Nr((s=y(Xr(this,16),29),s||$v),n))},"MYd"),w.Zh=i(function(n){var s;return s=this.i==null||this.q&&this.q.i!=0?null:C$(this,n),s||UMe(this,n)},"NYd"),w.bi=i(function(n,s){var u;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab),!this.Ab&&(this.Ab=new xt(Di,this,0,3)),ts(this.Ab,y(s,16));return;case 1:cY(this,pi(s));return;case 2:Woe(this,pi(s));return;case 5:U7(this,pi(s));return;case 7:!this.A&&(this.A=new oh(Fu,this,7)),Kn(this.A),!this.A&&(this.A=new oh(Fu,this,7)),ts(this.A,y(s,16));return;case 8:lLe(this,Kt(Yt(s)));return;case 9:cLe(this,Kt(Yt(s)));return;case 10:w9(Ol(this)),ts(Ol(this),y(s,16));return;case 11:!this.q&&(this.q=new xt(ap,this,11,10)),Kn(this.q),!this.q&&(this.q=new xt(ap,this,11,10)),ts(this.q,y(s,16));return;case 21:!this.s&&(this.s=new xt(eh,this,21,17)),Kn(this.s),!this.s&&(this.s=new xt(eh,this,21,17)),ts(this.s,y(s,16));return;case 22:Kn($c(this)),ts($c(this),y(s,16));return}pd(this,n-_n((Lr(),$v)),Nr((u=y(Xr(this,16),29),u||$v),n),s)},"OYd"),w.ii=i(function(){return Lr(),$v},"PYd"),w.ki=i(function(n){var s;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab);return;case 1:$e(this.Cb,184)&&(y(this.Cb,184).tb=null),gu(this,null);return;case 2:m7(this,null),t7(this,this.D);return;case 5:U7(this,null);return;case 7:!this.A&&(this.A=new oh(Fu,this,7)),Kn(this.A);return;case 8:lLe(this,!1);return;case 9:cLe(this,!1);return;case 10:this.u&&w9(this.u);return;case 11:!this.q&&(this.q=new xt(ap,this,11,10)),Kn(this.q);return;case 21:!this.s&&(this.s=new xt(eh,this,21,17)),Kn(this.s);return;case 22:this.n&&Kn(this.n);return}dd(this,n-_n((Lr(),$v)),Nr((s=y(Xr(this,16),29),s||$v),n))},"QYd"),w.pi=i(function(){var n,s;if(AC(this),y9(this),o_e(this),dfe(this),U0(this),ZK(this),Zhe(this),SM(krn(qh(this))),this.s)for(n=0,s=this.s.i;n=0;--s)Ge(this,s);return ILe(this,n)},"MZd"),w.Gk=i(function(){Kn(this)},"NZd"),w.Zi=i(function(n,s){return jMt(this,n,s)},"OZd");var W$i=j(Ma,"EcoreEList",632);$(505,632,ql,rF),w.Li=i(function(){return!1},"QZd"),w.Lj=i(function(){return this.c},"RZd"),w.Mj=i(function(){return!1},"SZd"),w.ol=i(function(){return!0},"TZd"),w.Si=i(function(){return!0},"UZd"),w.Wi=i(function(n,s){return s},"VZd"),w.Yi=i(function(){return!1},"WZd"),w.c=0;var Y$i=j(Ma,"EObjectEList",505);$(83,505,ql,vs),w.Mj=i(function(){return!0},"YZd"),w.ml=i(function(){return!1},"ZZd"),w.al=i(function(){return!0},"$Zd");var K$i=j(Ma,"EObjectContainmentEList",83);$(555,83,ql,lW),w.Ni=i(function(){this.b=!0},"a$d"),w.Qj=i(function(){return this.b},"b$d"),w.Gk=i(function(){var n;Kn(this),uf(this.e)?(n=this.b,this.b=!1,Qi(this.e,new Ip(this.e,2,this.c,n,!1))):this.b=!1},"c$d"),w.b=!1;var X$i=j(Ma,"EObjectContainmentEList/Unsettable",555);$(1161,555,ql,m8t),w.Ti=i(function(n,s){var u,d;return u=y(HM(this,n,s),89),uf(this.e)&&f8(this,new CF(this.a,7,(Lr(),znr),_t(s),(d=u.c,$e(d,90)?y(d,29):op),n)),u},"l$d"),w.Uj=i(function(n,s){return Vdn(this,y(n,89),s)},"m$d"),w.Vj=i(function(n,s){return Udn(this,y(n,89),s)},"n$d"),w.Wj=i(function(n,s,u){return W0n(this,y(n,89),y(s,89),u)},"o$d"),w.Ij=i(function(n,s,u,d,g){switch(n){case 3:return wM(this,n,s,u,d,this.i>1);case 5:return wM(this,n,s,u,d,this.i-y(u,15).gc()>0);default:return new _1(this.e,n,this.c,s,u,d,!0)}},"i$d"),w.Tj=i(function(){return!0},"j$d"),w.Qj=i(function(){return lhe(this)},"k$d"),w.Gk=i(function(){Kn(this)},"p$d");var Q$i=j(Wr,"EClassImpl/1",1161);$(1175,1174,AOe),w.dj=i(function(n){var s,u,d,g,x,k,A;if(u=n.gj(),u!=8){if(d=Epn(n),d==0)switch(u){case 1:case 9:{A=n.kj(),A!=null&&(s=qh(y(A,482)),!s.c&&(s.c=new a8),_Y(s.c,n.jj())),k=n.ij(),k!=null&&(g=y(k,482),(g.Bb&1)==0&&(s=qh(g),!s.c&&(s.c=new a8),Jn(s.c,y(n.jj(),29))));break}case 3:{k=n.ij(),k!=null&&(g=y(k,482),(g.Bb&1)==0&&(s=qh(g),!s.c&&(s.c=new a8),Jn(s.c,y(n.jj(),29))));break}case 5:{if(k=n.ij(),k!=null)for(x=y(k,16).Kc();x.Ob();)g=y(x.Pb(),482),(g.Bb&1)==0&&(s=qh(g),!s.c&&(s.c=new a8),Jn(s.c,y(n.jj(),29)));break}case 4:{A=n.kj(),A!=null&&(g=y(A,482),(g.Bb&1)==0&&(s=qh(g),!s.c&&(s.c=new a8),_Y(s.c,n.jj())));break}case 6:{if(A=n.kj(),A!=null)for(x=y(A,16).Kc();x.Ob();)g=y(x.Pb(),482),(g.Bb&1)==0&&(s=qh(g),!s.c&&(s.c=new a8),_Y(s.c,n.jj()));break}}this.ql(d)}},"t$d"),w.ql=i(function(n){z$t(this,n)},"u$d"),w.b=63;var J$i=j(Wr,"ESuperAdapter",1175);$(1176,1175,AOe,m3t),w.ql=i(function(n){t3(this,n)},"x$d");var Z$i=j(Wr,"EClassImpl/10",1176);$(1165,710,ql),w.Ei=i(function(n,s){return _he(this,n,s)},"y$d"),w.Fi=i(function(n){return _Ot(this,n)},"z$d"),w.Gi=i(function(n,s){QF(this,n,s)},"A$d"),w.Hi=i(function(n){wF(this,n)},"B$d"),w.$i=i(function(n){return F7e(this,n)},"D$d"),w.Xi=i(function(n,s){return Hce(this,n,s)},"L$d"),w.Wk=i(function(n,s){throw me(new ui)},"C$d"),w.Ii=i(function(){return new f5(this)},"E$d"),w.Ji=i(function(){return new VB(this)},"F$d"),w.Ki=i(function(n){return PF(this,n)},"G$d"),w.Xk=i(function(n,s){throw me(new ui)},"H$d"),w.Fk=i(function(n){return this},"I$d"),w.Qj=i(function(){return this.i!=0},"J$d"),w.Wb=i(function(n){throw me(new ui)},"K$d"),w.Gk=i(function(){throw me(new ui)},"M$d");var eGi=j(Ma,"EcoreEList/UnmodifiableEList",1165);$(328,1165,ql,Y4),w.Yi=i(function(){return!1},"O$d");var tGi=j(Ma,"EcoreEList/UnmodifiableEList/FastCompare",328);$(1168,328,ql,fIt),w.dd=i(function(n){var s,u,d;if($e(n,179)&&(s=y(n,179),u=s.Lj(),u!=-1)){for(d=this.i;u4)if(this.fk(n)){if(this.al()){if(d=y(n,54),u=d.Eh(),A=u==this.b&&(this.ml()?d.yh(d.Fh(),y(Nr(qu(this.b),this.Lj()).Hk(),29).kk())==tl(y(Nr(qu(this.b),this.Lj()),19)).n:-1-d.Fh()==this.Lj()),this.nl()&&!A&&!u&&d.Jh()){for(g=0;g1||d==-1)):!1},"__d"),w.ml=i(function(){var n,s,u;return s=Nr(qu(this.b),this.Lj()),$e(s,102)?(n=y(s,19),u=tl(n),!!u):!1},"a0d"),w.nl=i(function(){var n,s;return s=Nr(qu(this.b),this.Lj()),$e(s,102)?(n=y(s,19),(n.Bb&Xo)!=0):!1},"b0d"),w.dd=i(function(n){var s,u,d,g;if(d=this.zj(n),d>=0)return d;if(this.ol()){for(u=0,g=this.Ej();u=0;--n)N$(this,n,this.xj(n));return this.Fj()},"n0d"),w.Qc=i(function(n){var s;if(this.nl())for(s=this.Ej()-1;s>=0;--s)N$(this,s,this.xj(s));return this.Gj(n)},"o0d"),w.Gk=i(function(){w9(this)},"p0d"),w.Zi=i(function(n,s){return b_t(this,n,s)},"q0d");var dGi=j(Ma,"DelegatingEcoreEList",756);$(1171,756,_Oe,M6t),w.qj=i(function(n,s){xZr(this,n,y(s,29))},"z0d"),w.rj=i(function(n){cJr(this,y(n,29))},"A0d"),w.xj=i(function(n){var s,u;return s=y(Ge($c(this.a),n),89),u=s.c,$e(u,90)?y(u,29):(Lr(),op)},"G0d"),w.Cj=i(function(n){var s,u;return s=y(i3($c(this.a),n),89),u=s.c,$e(u,90)?y(u,29):(Lr(),op)},"L0d"),w.Dj=i(function(n,s){return bgn(this,n,y(s,29))},"M0d"),w.Li=i(function(){return!1},"x0d"),w.Ij=i(function(n,s,u,d,g){return null},"y0d"),w.sj=i(function(){return new v3t(this)},"B0d"),w.tj=i(function(){Kn($c(this.a))},"C0d"),w.uj=i(function(n){return lNt(this,n)},"D0d"),w.vj=i(function(n){var s,u;for(u=n.Kc();u.Ob();)if(s=u.Pb(),!lNt(this,s))return!1;return!0},"E0d"),w.wj=i(function(n){var s,u,d;if($e(n,15)&&(d=y(n,15),d.gc()==$c(this.a).i)){for(s=d.Kc(),u=new gn(this);s.Ob();)if(Ze(s.Pb())!==Ze(xn(u)))return!1;return!0}return!1},"F0d"),w.yj=i(function(){var n,s,u,d,g;for(u=1,s=new gn($c(this.a));s.e!=s.i.gc();)n=y(xn(s),89),d=(g=n.c,$e(g,90)?y(g,29):(Lr(),op)),u=31*u+(d?xx(d):0);return u},"H0d"),w.zj=i(function(n){var s,u,d,g;for(d=0,u=new gn($c(this.a));u.e!=u.i.gc();){if(s=y(xn(u),89),Ze(n)===Ze((g=s.c,$e(g,90)?y(g,29):(Lr(),op))))return d;++d}return-1},"I0d"),w.Aj=i(function(){return $c(this.a).i==0},"J0d"),w.Bj=i(function(){return null},"K0d"),w.Ej=i(function(){return $c(this.a).i},"N0d"),w.Fj=i(function(){var n,s,u,d,g,x;for(x=$c(this.a).i,g=ot(Hs,Gr,1,x,5,1),u=0,s=new gn($c(this.a));s.e!=s.i.gc();)n=y(xn(s),89),g[u++]=(d=n.c,$e(d,90)?y(d,29):(Lr(),op));return g},"O0d"),w.Gj=i(function(n){var s,u,d,g,x,k,A;for(A=$c(this.a).i,n.lengthA&&Ka(n,A,null),d=0,u=new gn($c(this.a));u.e!=u.i.gc();)s=y(xn(u),89),x=(k=s.c,$e(k,90)?y(k,29):(Lr(),op)),Ka(n,d++,x);return n},"P0d"),w.Hj=i(function(){var n,s,u,d,g;for(g=new Ty,g.a+="[",n=$c(this.a),s=0,d=$c(this.a).i;s>16,g>=0?vhe(this,u):this.Cb.Th(this,-1-g,null,u))),Of(this,n,6,u);case 9:return!this.a&&(this.a=new xt(Q1,this,9,5)),mu(this.a,n,u)}return x=y(Nr((d=y(Xr(this,16),29),d||(Lr(),Gv)),s),69),x.wk().zk(this,Mu(this),s-_n((Lr(),Gv)),n,u)},"C1d"),w.Uh=i(function(n,s,u){var d,g;switch(s){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Vo(this.Ab,n,u);case 6:return Of(this,null,6,u);case 7:return!this.A&&(this.A=new oh(Fu,this,7)),Vo(this.A,n,u);case 9:return!this.a&&(this.a=new xt(Q1,this,9,5)),Vo(this.a,n,u)}return g=y(Nr((d=y(Xr(this,16),29),d||(Lr(),Gv)),s),69),g.wk().Ak(this,Mu(this),s-_n((Lr(),Gv)),n,u)},"D1d"),w.Wh=i(function(n){var s;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Xx(this);case 4:return!!XRe(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!z8(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0;case 9:return!!this.a&&this.a.i!=0}return ld(this,n-_n((Lr(),Gv)),Nr((s=y(Xr(this,16),29),s||Gv),n))},"E1d"),w.bi=i(function(n,s){var u;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab),!this.Ab&&(this.Ab=new xt(Di,this,0,3)),ts(this.Ab,y(s,16));return;case 1:cY(this,pi(s));return;case 2:Woe(this,pi(s));return;case 5:U7(this,pi(s));return;case 7:!this.A&&(this.A=new oh(Fu,this,7)),Kn(this.A),!this.A&&(this.A=new oh(Fu,this,7)),ts(this.A,y(s,16));return;case 8:hK(this,Kt(Yt(s)));return;case 9:!this.a&&(this.a=new xt(Q1,this,9,5)),Kn(this.a),!this.a&&(this.a=new xt(Q1,this,9,5)),ts(this.a,y(s,16));return}pd(this,n-_n((Lr(),Gv)),Nr((u=y(Xr(this,16),29),u||Gv),n),s)},"F1d"),w.ii=i(function(){return Lr(),Gv},"G1d"),w.ki=i(function(n){var s;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab);return;case 1:$e(this.Cb,184)&&(y(this.Cb,184).tb=null),gu(this,null);return;case 2:m7(this,null),t7(this,this.D);return;case 5:U7(this,null);return;case 7:!this.A&&(this.A=new oh(Fu,this,7)),Kn(this.A);return;case 8:hK(this,!0);return;case 9:!this.a&&(this.a=new xt(Q1,this,9,5)),Kn(this.a);return}dd(this,n-_n((Lr(),Gv)),Nr((s=y(Xr(this,16),29),s||Gv),n))},"H1d"),w.pi=i(function(){var n,s;if(this.a)for(n=0,s=this.a.i;n>16==5?y(this.Cb,685):null}return ud(this,n-_n((Lr(),lb)),Nr((d=y(Xr(this,16),29),d||lb),n),s,u)},"T1d"),w.Sh=i(function(n,s,u){var d,g,x;switch(s){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),mu(this.Ab,n,u);case 5:return this.Cb&&(u=(g=this.Db>>16,g>=0?iPt(this,u):this.Cb.Th(this,-1-g,null,u))),Of(this,n,5,u)}return x=y(Nr((d=y(Xr(this,16),29),d||(Lr(),lb)),s),69),x.wk().zk(this,Mu(this),s-_n((Lr(),lb)),n,u)},"U1d"),w.Uh=i(function(n,s,u){var d,g;switch(s){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Vo(this.Ab,n,u);case 5:return Of(this,null,5,u)}return g=y(Nr((d=y(Xr(this,16),29),d||(Lr(),lb)),s),69),g.wk().Ak(this,Mu(this),s-_n((Lr(),lb)),n,u)},"V1d"),w.Wh=i(function(n){var s;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.d!=0;case 3:return!!this.b;case 4:return this.c!=null;case 5:return!!(this.Db>>16==5&&y(this.Cb,685))}return ld(this,n-_n((Lr(),lb)),Nr((s=y(Xr(this,16),29),s||lb),n))},"W1d"),w.bi=i(function(n,s){var u;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab),!this.Ab&&(this.Ab=new xt(Di,this,0,3)),ts(this.Ab,y(s,16));return;case 1:gu(this,pi(s));return;case 2:Qce(this,y(s,17).a);return;case 3:tFt(this,y(s,2039));return;case 4:Zce(this,pi(s));return}pd(this,n-_n((Lr(),lb)),Nr((u=y(Xr(this,16),29),u||lb),n),s)},"X1d"),w.ii=i(function(){return Lr(),lb},"Y1d"),w.ki=i(function(n){var s;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab);return;case 1:gu(this,null);return;case 2:Qce(this,0);return;case 3:tFt(this,null);return;case 4:Zce(this,null);return}dd(this,n-_n((Lr(),lb)),Nr((s=y(Xr(this,16),29),s||lb),n))},"Z1d"),w.Ib=i(function(){var n;return n=this.c,n??this.zb},"_1d"),w.b=null,w.c=null,w.d=0;var wGi=j(Wr,"EEnumLiteralImpl",582),XEn=Va(Wr,"EFactoryImpl/InternalEDateTimeFormat");$(499,1,{2114:1},fB);var xGi=j(Wr,"EFactoryImpl/1ClientInternalEDateTimeFormat",499);$(248,120,{110:1,94:1,93:1,89:1,58:1,114:1,54:1,99:1,248:1,119:1,120:1},sx),w.Ch=i(function(n,s,u){var d;return u=Of(this,n,s,u),this.e&&$e(n,179)&&(d=JK(this,this.e),d!=this.c&&(u=V7(this,d,u))),u},"t2d"),w.Lh=i(function(n,s,u){var d;switch(n){case 0:return this.f;case 1:return!this.d&&(this.d=new vs(hl,this,1)),this.d;case 2:return s?hX(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return s?hhe(this):this.a}return ud(this,n-_n((Lr(),MT)),Nr((d=y(Xr(this,16),29),d||MT),n),s,u)},"u2d"),w.Uh=i(function(n,s,u){var d,g;switch(s){case 0:return KIt(this,null,u);case 1:return!this.d&&(this.d=new vs(hl,this,1)),Vo(this.d,n,u);case 3:return XIt(this,null,u)}return g=y(Nr((d=y(Xr(this,16),29),d||(Lr(),MT)),s),69),g.wk().Ak(this,Mu(this),s-_n((Lr(),MT)),n,u)},"v2d"),w.Wh=i(function(n){var s;switch(n){case 0:return!!this.f;case 1:return!!this.d&&this.d.i!=0;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return ld(this,n-_n((Lr(),MT)),Nr((s=y(Xr(this,16),29),s||MT),n))},"w2d"),w.bi=i(function(n,s){var u;switch(n){case 0:kPt(this,y(s,89));return;case 1:!this.d&&(this.d=new vs(hl,this,1)),Kn(this.d),!this.d&&(this.d=new vs(hl,this,1)),ts(this.d,y(s,16));return;case 3:RDe(this,y(s,89));return;case 4:WDe(this,y(s,850));return;case 5:X8(this,y(s,142));return}pd(this,n-_n((Lr(),MT)),Nr((u=y(Xr(this,16),29),u||MT),n),s)},"x2d"),w.ii=i(function(){return Lr(),MT},"y2d"),w.ki=i(function(n){var s;switch(n){case 0:kPt(this,null);return;case 1:!this.d&&(this.d=new vs(hl,this,1)),Kn(this.d);return;case 3:RDe(this,null);return;case 4:WDe(this,null);return;case 5:X8(this,null);return}dd(this,n-_n((Lr(),MT)),Nr((s=y(Xr(this,16),29),s||MT),n))},"z2d"),w.Ib=i(function(){var n;return n=new Ef(Pp(this)),n.a+=" (expression: ",vfe(this,n),n.a+=")",n.a},"A2d");var RVe,TGi=j(Wr,"EGenericTypeImpl",248);$(2067,2062,vQ),w.Gi=i(function(n,s){L6t(this,n,s)},"C2d"),w.Wk=i(function(n,s){return L6t(this,this.gc(),n),s},"D2d"),w.$i=i(function(n){return yd(this.pj(),n)},"E2d"),w.Ii=i(function(){return this.Ji()},"F2d"),w.pj=i(function(){return new k3t(this)},"G2d"),w.Ji=i(function(){return this.Ki(0)},"H2d"),w.Ki=i(function(n){return this.pj().fd(n)},"I2d"),w.Xk=i(function(n,s){return Yk(this,n,!0),s},"J2d"),w.Ti=i(function(n,s){var u,d;return d=The(this,s),u=this.fd(n),u.Rb(d),d},"K2d"),w.Ui=i(function(n,s){var u;Yk(this,s,!0),u=this.fd(n),u.Rb(s)},"L2d");var kGi=j(Ma,"AbstractSequentialInternalEList",2067);$(496,2067,vQ,UB),w.$i=i(function(n){return yd(this.pj(),n)},"R2d"),w.Ii=i(function(){return this.b==null?(Ey(),Ey(),Dj):this.sl()},"S2d"),w.pj=i(function(){return new YSt(this.a,this.b)},"T2d"),w.Ji=i(function(){return this.b==null?(Ey(),Ey(),Dj):this.sl()},"U2d"),w.Ki=i(function(n){var s,u;if(this.b==null){if(n<0||n>1)throw me(new kl(V9+n+", size=0"));return Ey(),Ey(),Dj}for(u=this.sl(),s=0;s0;)if(s=this.c[--this.d],(!this.e||s.pk()!=ZR||s.Lj()!=0)&&(!this.vl()||this.b.Xh(s))){if(x=this.b.Nh(s,this.ul()),this.f=(el(),y(s,69).xk()),this.f||s.Jk()){if(this.ul()?(d=y(x,15),this.k=d):(d=y(x,71),this.k=this.j=d),$e(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ki(this.k.gc()):this.k.fd(this.k.gc()),this.p?yBt(this,this.p):RBt(this))return g=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(n=y(g,76),n.Lk(),u=n.md(),this.i=u):(u=g,this.i=u),this.g=-3,!0}else if(x!=null)return this.k=null,this.p=null,u=x,this.i=u,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return g=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(n=y(g,76),n.Lk(),u=n.md(),this.i=u):(u=g,this.i=u),this.g=-3,!0}},"u3d"),w.Pb=i(function(){return rK(this)},"v3d"),w.Tb=i(function(){return this.a},"w3d"),w.Ub=i(function(){var n;if(this.g<-1||this.Sb())return--this.a,this.g=0,n=this.i,this.Sb(),n;throw me(new Zl)},"x3d"),w.Vb=i(function(){return this.a-1},"y3d"),w.Qb=i(function(){throw me(new ui)},"z3d"),w.ul=i(function(){return!1},"A3d"),w.Wb=i(function(n){throw me(new ui)},"B3d"),w.vl=i(function(){return!0},"C3d"),w.a=0,w.d=0,w.f=!1,w.g=0,w.n=0,w.o=0;var Dj,SGi=j(Ma,"EContentsEList/FeatureIteratorImpl",287);$(711,287,wQ,F6e),w.ul=i(function(){return!0},"E3d");var AGi=j(Ma,"EContentsEList/ResolvingFeatureIteratorImpl",711);$(1178,711,wQ,p6t),w.vl=i(function(){return!1},"G3d");var RGi=j(Wr,"ENamedElementImpl/1/1",1178);$(1179,287,wQ,g6t),w.vl=i(function(){return!1},"I3d");var LGi=j(Wr,"ENamedElementImpl/1/2",1179);$(39,152,fG,$k,Tce,to,Bce,_1,Ip,Q7e,YRt,J7e,KRt,g7e,XRt,tRe,QRt,m7e,JRt,Z7e,ZRt,dM,CF,nce,eRe,eLt,y7e,tLt),w.Kj=i(function(){return N7e(this)},"i4d"),w.Rj=i(function(){var n;return n=N7e(this),n?n.ik():null},"j4d"),w.hj=i(function(n){return this.b==-1&&this.a&&(this.b=this.c.Hh(this.a.Lj(),this.a.pk())),this.c.yh(this.b,n)},"k4d"),w.jj=i(function(){return this.c},"l4d"),w.Sj=i(function(){var n;return n=N7e(this),n?n.tk():!1},"m4d"),w.b=-1;var DGi=j(Wr,"ENotificationImpl",39);$(411,292,{110:1,94:1,93:1,155:1,197:1,58:1,62:1,114:1,481:1,54:1,99:1,158:1,411:1,292:1,119:1,120:1},zse),w.Ah=i(function(n){return oPt(this,n)},"r4d"),w.Lh=i(function(n,s,u){var d,g,x;switch(n){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hr(),(this.Bb&256)!=0;case 3:return Hr(),(this.Bb&512)!=0;case 4:return _t(this.s);case 5:return _t(this.t);case 6:return Hr(),x=this.t,x>1||x==-1;case 7:return Hr(),g=this.s,g>=1;case 8:return s?Wd(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?y(this.Cb,29):null;case 11:return!this.d&&(this.d=new oh(Fu,this,11)),this.d;case 12:return!this.c&&(this.c=new xt(_T,this,12,10)),this.c;case 13:return!this.a&&(this.a=new YB(this,this)),this.a;case 14:return Wh(this)}return ud(this,n-_n((Lr(),cb)),Nr((d=y(Xr(this,16),29),d||cb),n),s,u)},"s4d"),w.Sh=i(function(n,s,u){var d,g,x;switch(s){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),mu(this.Ab,n,u);case 10:return this.Cb&&(u=(g=this.Db>>16,g>=0?oPt(this,u):this.Cb.Th(this,-1-g,null,u))),Of(this,n,10,u);case 12:return!this.c&&(this.c=new xt(_T,this,12,10)),mu(this.c,n,u)}return x=y(Nr((d=y(Xr(this,16),29),d||(Lr(),cb)),s),69),x.wk().zk(this,Mu(this),s-_n((Lr(),cb)),n,u)},"t4d"),w.Uh=i(function(n,s,u){var d,g;switch(s){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Vo(this.Ab,n,u);case 9:return zle(this,u);case 10:return Of(this,null,10,u);case 11:return!this.d&&(this.d=new oh(Fu,this,11)),Vo(this.d,n,u);case 12:return!this.c&&(this.c=new xt(_T,this,12,10)),Vo(this.c,n,u);case 14:return Vo(Wh(this),n,u)}return g=y(Nr((d=y(Xr(this,16),29),d||(Lr(),cb)),s),69),g.wk().Ak(this,Mu(this),s-_n((Lr(),cb)),n,u)},"u4d"),w.Wh=i(function(n){var s,u,d;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return d=this.t,d>1||d==-1;case 7:return u=this.s,u>=1;case 8:return!!this.r&&!this.q.e&&Lx(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Lx(this.q).i==0);case 10:return!!(this.Db>>16==10&&y(this.Cb,29));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&Wh(this.a.a).i!=0&&!(this.b&&che(this.b));case 14:return!!this.b&&che(this.b)}return ld(this,n-_n((Lr(),cb)),Nr((s=y(Xr(this,16),29),s||cb),n))},"v4d"),w.bi=i(function(n,s){var u,d;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab),!this.Ab&&(this.Ab=new xt(Di,this,0,3)),ts(this.Ab,y(s,16));return;case 1:gu(this,pi(s));return;case 2:$y(this,Kt(Yt(s)));return;case 3:Gy(this,Kt(Yt(s)));return;case 4:Oy(this,y(s,17).a);return;case 5:Vk(this,y(s,17).a);return;case 8:X2(this,y(s,142));return;case 9:d=Yg(this,y(s,89),null),d&&d.oj();return;case 11:!this.d&&(this.d=new oh(Fu,this,11)),Kn(this.d),!this.d&&(this.d=new oh(Fu,this,11)),ts(this.d,y(s,16));return;case 12:!this.c&&(this.c=new xt(_T,this,12,10)),Kn(this.c),!this.c&&(this.c=new xt(_T,this,12,10)),ts(this.c,y(s,16));return;case 13:!this.a&&(this.a=new YB(this,this)),w9(this.a),!this.a&&(this.a=new YB(this,this)),ts(this.a,y(s,16));return;case 14:Kn(Wh(this)),ts(Wh(this),y(s,16));return}pd(this,n-_n((Lr(),cb)),Nr((u=y(Xr(this,16),29),u||cb),n),s)},"w4d"),w.ii=i(function(){return Lr(),cb},"x4d"),w.ki=i(function(n){var s,u;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab);return;case 1:gu(this,null);return;case 2:$y(this,!0);return;case 3:Gy(this,!0);return;case 4:Oy(this,0);return;case 5:Vk(this,1);return;case 8:X2(this,null);return;case 9:u=Yg(this,null,null),u&&u.oj();return;case 11:!this.d&&(this.d=new oh(Fu,this,11)),Kn(this.d);return;case 12:!this.c&&(this.c=new xt(_T,this,12,10)),Kn(this.c);return;case 13:this.a&&w9(this.a);return;case 14:this.b&&Kn(this.b);return}dd(this,n-_n((Lr(),cb)),Nr((s=y(Xr(this,16),29),s||cb),n))},"y4d"),w.pi=i(function(){var n,s;if(this.c)for(n=0,s=this.c.i;nA&&Ka(n,A,null),d=0,u=new gn(Wh(this.a));u.e!=u.i.gc();)s=y(xn(u),89),x=(k=s.c,k||(Lr(),c0)),Ka(n,d++,x);return n},"Y4d"),w.Hj=i(function(){var n,s,u,d,g;for(g=new Ty,g.a+="[",n=Wh(this.a),s=0,d=Wh(this.a).i;s1);case 5:return wM(this,n,s,u,d,this.i-y(u,15).gc()>0);default:return new _1(this.e,n,this.c,s,u,d,!0)}},"t5d"),w.Tj=i(function(){return!0},"u5d"),w.Qj=i(function(){return che(this)},"v5d"),w.Gk=i(function(){Kn(this)},"A5d");var NGi=j(Wr,"EOperationImpl/2",1377);$(507,1,{2037:1,507:1},_St);var OGi=j(Wr,"EPackageImpl/1",507);$(14,83,ql,xt),w.il=i(function(){return this.d},"D5d"),w.jl=i(function(){return this.b},"E5d"),w.ml=i(function(){return!0},"F5d"),w.b=0;var PGi=j(Ma,"EObjectContainmentWithInverseEList",14);$(365,14,ql,d5),w.nl=i(function(){return!0},"H5d"),w.Wi=i(function(n,s){return q5(this,n,y(s,58))},"I5d");var BGi=j(Ma,"EObjectContainmentWithInverseEList/Resolving",365);$(308,365,ql,Ik),w.Ni=i(function(){this.a.tb=null},"K5d");var FGi=j(Wr,"EPackageImpl/2",308);$(1278,1,{},Tbt);var $Gi=j(Wr,"EPackageImpl/3",1278);$(733,45,_C,GSe),w._b=i(function(n){return oo(n)?ace(this,n):!!il(this.f,n)},"P5d");var GGi=j(Wr,"EPackageRegistryImpl",733);$(518,292,{110:1,94:1,93:1,155:1,197:1,58:1,2116:1,114:1,481:1,54:1,99:1,158:1,518:1,292:1,119:1,120:1},Use),w.Ah=i(function(n){return lPt(this,n)},"S5d"),w.Lh=i(function(n,s,u){var d,g,x;switch(n){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hr(),(this.Bb&256)!=0;case 3:return Hr(),(this.Bb&512)!=0;case 4:return _t(this.s);case 5:return _t(this.t);case 6:return Hr(),x=this.t,x>1||x==-1;case 7:return Hr(),g=this.s,g>=1;case 8:return s?Wd(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?y(this.Cb,62):null}return ud(this,n-_n((Lr(),Y3)),Nr((d=y(Xr(this,16),29),d||Y3),n),s,u)},"T5d"),w.Sh=i(function(n,s,u){var d,g,x;switch(s){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),mu(this.Ab,n,u);case 10:return this.Cb&&(u=(g=this.Db>>16,g>=0?lPt(this,u):this.Cb.Th(this,-1-g,null,u))),Of(this,n,10,u)}return x=y(Nr((d=y(Xr(this,16),29),d||(Lr(),Y3)),s),69),x.wk().zk(this,Mu(this),s-_n((Lr(),Y3)),n,u)},"U5d"),w.Uh=i(function(n,s,u){var d,g;switch(s){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Vo(this.Ab,n,u);case 9:return zle(this,u);case 10:return Of(this,null,10,u)}return g=y(Nr((d=y(Xr(this,16),29),d||(Lr(),Y3)),s),69),g.wk().Ak(this,Mu(this),s-_n((Lr(),Y3)),n,u)},"V5d"),w.Wh=i(function(n){var s,u,d;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return d=this.t,d>1||d==-1;case 7:return u=this.s,u>=1;case 8:return!!this.r&&!this.q.e&&Lx(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Lx(this.q).i==0);case 10:return!!(this.Db>>16==10&&y(this.Cb,62))}return ld(this,n-_n((Lr(),Y3)),Nr((s=y(Xr(this,16),29),s||Y3),n))},"W5d"),w.ii=i(function(){return Lr(),Y3},"X5d");var jGi=j(Wr,"EParameterImpl",518);$(102,462,{110:1,94:1,93:1,155:1,197:1,58:1,19:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,102:1,462:1,292:1,119:1,120:1,692:1},U6e),w.Lh=i(function(n,s,u){var d,g,x,k;switch(n){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hr(),(this.Bb&256)!=0;case 3:return Hr(),(this.Bb&512)!=0;case 4:return _t(this.s);case 5:return _t(this.t);case 6:return Hr(),k=this.t,k>1||k==-1;case 7:return Hr(),g=this.s,g>=1;case 8:return s?Wd(this):this.r;case 9:return this.q;case 10:return Hr(),(this.Bb&$p)!=0;case 11:return Hr(),(this.Bb&y3)!=0;case 12:return Hr(),(this.Bb&u3)!=0;case 13:return this.j;case 14:return P7(this);case 15:return Hr(),(this.Bb&mh)!=0;case 16:return Hr(),(this.Bb&V0)!=0;case 17:return Pk(this);case 18:return Hr(),(this.Bb&Ec)!=0;case 19:return Hr(),x=tl(this),!!(x&&(x.Bb&Ec)!=0);case 20:return Hr(),(this.Bb&Xo)!=0;case 21:return s?tl(this):this.b;case 22:return s?GRe(this):EDt(this);case 23:return!this.a&&(this.a=new eC(H3,this,23)),this.a}return ud(this,n-_n((Lr(),xE)),Nr((d=y(Xr(this,16),29),d||xE),n),s,u)},"e6d"),w.Wh=i(function(n){var s,u,d,g;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return g=this.t,g>1||g==-1;case 7:return u=this.s,u>=1;case 8:return!!this.r&&!this.q.e&&Lx(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Lx(this.q).i==0);case 10:return(this.Bb&$p)==0;case 11:return(this.Bb&y3)!=0;case 12:return(this.Bb&u3)!=0;case 13:return this.j!=null;case 14:return P7(this)!=null;case 15:return(this.Bb&mh)!=0;case 16:return(this.Bb&V0)!=0;case 17:return!!Pk(this);case 18:return(this.Bb&Ec)!=0;case 19:return d=tl(this),!!d&&(d.Bb&Ec)!=0;case 20:return(this.Bb&Xo)==0;case 21:return!!this.b;case 22:return!!EDt(this);case 23:return!!this.a&&this.a.i!=0}return ld(this,n-_n((Lr(),xE)),Nr((s=y(Xr(this,16),29),s||xE),n))},"f6d"),w.bi=i(function(n,s){var u,d;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab),!this.Ab&&(this.Ab=new xt(Di,this,0,3)),ts(this.Ab,y(s,16));return;case 1:gce(this,pi(s));return;case 2:$y(this,Kt(Yt(s)));return;case 3:Gy(this,Kt(Yt(s)));return;case 4:Oy(this,y(s,17).a);return;case 5:Vk(this,y(s,17).a);return;case 8:X2(this,y(s,142));return;case 9:d=Yg(this,y(s,89),null),d&&d.oj();return;case 10:v7(this,Kt(Yt(s)));return;case 11:T7(this,Kt(Yt(s)));return;case 12:w7(this,Kt(Yt(s)));return;case 13:Z5e(this,pi(s));return;case 15:x7(this,Kt(Yt(s)));return;case 16:k7(this,Kt(Yt(s)));return;case 18:Van(this,Kt(Yt(s)));return;case 20:bLe(this,Kt(Yt(s)));return;case 21:mRe(this,y(s,19));return;case 23:!this.a&&(this.a=new eC(H3,this,23)),Kn(this.a),!this.a&&(this.a=new eC(H3,this,23)),ts(this.a,y(s,16));return}pd(this,n-_n((Lr(),xE)),Nr((u=y(Xr(this,16),29),u||xE),n),s)},"g6d"),w.ii=i(function(){return Lr(),xE},"h6d"),w.ki=i(function(n){var s,u;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab);return;case 1:$e(this.Cb,90)&&t3(qh(y(this.Cb,90)),4),gu(this,null);return;case 2:$y(this,!0);return;case 3:Gy(this,!0);return;case 4:Oy(this,0);return;case 5:Vk(this,1);return;case 8:X2(this,null);return;case 9:u=Yg(this,null,null),u&&u.oj();return;case 10:v7(this,!0);return;case 11:T7(this,!1);return;case 12:w7(this,!1);return;case 13:this.i=null,WY(this,null);return;case 15:x7(this,!1);return;case 16:k7(this,!1);return;case 18:yLe(this,!1),$e(this.Cb,90)&&t3(qh(y(this.Cb,90)),2);return;case 20:bLe(this,!0);return;case 21:mRe(this,null);return;case 23:!this.a&&(this.a=new eC(H3,this,23)),Kn(this.a);return}dd(this,n-_n((Lr(),xE)),Nr((s=y(Xr(this,16),29),s||xE),n))},"i6d"),w.pi=i(function(){GRe(this),$8(Sl((dh(),Lo),this)),Wd(this),this.Bb|=1},"j6d"),w.uk=i(function(){return tl(this)},"k6d"),w._k=i(function(){var n;return n=tl(this),!!n&&(n.Bb&Ec)!=0},"l6d"),w.al=i(function(){return(this.Bb&Ec)!=0},"m6d"),w.bl=i(function(){return(this.Bb&Xo)!=0},"n6d"),w.Yk=i(function(n,s){return this.c=null,oLe(this,n,s)},"o6d"),w.Ib=i(function(){var n;return(this.Db&64)!=0?lX(this):(n=new zd(lX(this)),n.a+=" (containment: ",ky(n,(this.Bb&Ec)!=0),n.a+=", resolveProxies: ",ky(n,(this.Bb&Xo)!=0),n.a+=")",n.a)},"p6d");var zGi=j(Wr,"EReferenceImpl",102);$(561,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,561:1,119:1,120:1},kbt),w.Fb=i(function(n){return this===n},"B6d"),w.ld=i(function(){return this.b},"D6d"),w.md=i(function(){return this.c},"E6d"),w.Hb=i(function(){return xx(this)},"F6d"),w.Di=i(function(n){Krn(this,pi(n))},"H6d"),w.nd=i(function(n){return Nrn(this,pi(n))},"I6d"),w.Lh=i(function(n,s,u){var d;switch(n){case 0:return this.b;case 1:return this.c}return ud(this,n-_n((Lr(),Jo)),Nr((d=y(Xr(this,16),29),d||Jo),n),s,u)},"w6d"),w.Wh=i(function(n){var s;switch(n){case 0:return this.b!=null;case 1:return this.c!=null}return ld(this,n-_n((Lr(),Jo)),Nr((s=y(Xr(this,16),29),s||Jo),n))},"x6d"),w.bi=i(function(n,s){var u;switch(n){case 0:Xrn(this,pi(s));return;case 1:dRe(this,pi(s));return}pd(this,n-_n((Lr(),Jo)),Nr((u=y(Xr(this,16),29),u||Jo),n),s)},"y6d"),w.ii=i(function(){return Lr(),Jo},"z6d"),w.ki=i(function(n){var s;switch(n){case 0:fRe(this,null);return;case 1:dRe(this,null);return}dd(this,n-_n((Lr(),Jo)),Nr((s=y(Xr(this,16),29),s||Jo),n))},"A6d"),w.Bi=i(function(){var n;return this.a==-1&&(n=this.b,this.a=n==null?0:Py(n)),this.a},"C6d"),w.Ci=i(function(n){this.a=n},"G6d"),w.Ib=i(function(){var n;return(this.Db&64)!=0?Pp(this):(n=new zd(Pp(this)),n.a+=" (key: ",pl(n,this.b),n.a+=", value: ",pl(n,this.c),n.a+=")",n.a)},"J6d"),w.a=-1,w.b=null,w.c=null;var wc=j(Wr,"EStringToStringMapEntryImpl",561),Jnr=Va(Ma,"FeatureMap/Entry/Internal");$(576,1,xQ),w.xl=i(function(n){return this.yl(y(n,54))},"M6d"),w.yl=i(function(n){return this.xl(n)},"N6d"),w.Fb=i(function(n){var s,u;return this===n?!0:$e(n,76)?(s=y(n,76),s.Lk()==this.c?(u=this.md(),u==null?s.md()==null:Ji(u,s.md())):!1):!1},"O6d"),w.Lk=i(function(){return this.c},"P6d"),w.Hb=i(function(){var n;return n=this.md(),ka(this.c)^(n==null?0:ka(n))},"Q6d"),w.Ib=i(function(){var n,s;return n=this.c,s=Lf(n.qk()).yi(),n.xe(),(s!=null&&s.length!=0?s+":"+n.xe():n.xe())+"="+this.md()},"R6d");var UGi=j(Wr,"EStructuralFeatureImpl/BasicFeatureMapEntry",576);$(791,576,xQ,J6e),w.yl=i(function(n){return new J6e(this.c,n)},"V6d"),w.md=i(function(){return this.a},"W6d"),w.zl=i(function(n,s,u){return Iun(this,n,this.a,s,u)},"X6d"),w.Al=i(function(n,s,u){return Nun(this,n,this.a,s,u)},"Y6d");var VGi=j(Wr,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",791);$(1350,1,{},MSt),w.yk=i(function(n,s,u,d,g){var x;return x=y(q8(n,this.b),220),x.Yl(this.a).Fk(d)},"$6d"),w.zk=i(function(n,s,u,d,g){var x;return x=y(q8(n,this.b),220),x.Pl(this.a,d,g)},"_6d"),w.Ak=i(function(n,s,u,d,g){var x;return x=y(q8(n,this.b),220),x.Ql(this.a,d,g)},"a7d"),w.Bk=i(function(n,s,u){var d;return d=y(q8(n,this.b),220),d.Yl(this.a).Qj()},"b7d"),w.Ck=i(function(n,s,u,d){var g;g=y(q8(n,this.b),220),g.Yl(this.a).Wb(d)},"c7d"),w.Dk=i(function(n,s,u){return y(q8(n,this.b),220).Yl(this.a)},"d7d"),w.Ek=i(function(n,s,u){var d;d=y(q8(n,this.b),220),d.Yl(this.a).Gk()},"e7d");var HGi=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1350);$(91,1,{},Ay,B2,Ly,z2),w.yk=i(function(n,s,u,d,g){var x;if(x=s.li(u),x==null&&s.mi(u,x=wX(this,n)),!g)switch(this.e){case 50:case 41:return y(x,597).bk();case 40:return y(x,220).Vl()}return x},"k7d"),w.zk=i(function(n,s,u,d,g){var x,k;return k=s.li(u),k==null&&s.mi(u,k=wX(this,n)),x=y(k,71).Wk(d,g),x},"l7d"),w.Ak=i(function(n,s,u,d,g){var x;return x=s.li(u),x!=null&&(g=y(x,71).Xk(d,g)),g},"m7d"),w.Bk=i(function(n,s,u){var d;return d=s.li(u),d!=null&&y(d,79).Qj()},"n7d"),w.Ck=i(function(n,s,u,d){var g;g=y(s.li(u),79),!g&&s.mi(u,g=wX(this,n)),g.Wb(d)},"o7d"),w.Dk=i(function(n,s,u){var d,g;return g=s.li(u),g==null&&s.mi(u,g=wX(this,n)),$e(g,79)?y(g,79):(d=y(s.li(u),15),new x3t(d))},"p7d"),w.Ek=i(function(n,s,u){var d;d=y(s.li(u),79),!d&&s.mi(u,d=wX(this,n)),d.Gk()},"q7d"),w.b=0,w.e=0;var qGi=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateMany",91);$(512,1,{}),w.zk=i(function(n,s,u,d,g){throw me(new ui)},"u7d"),w.Ak=i(function(n,s,u,d,g){throw me(new ui)},"v7d"),w.Dk=i(function(n,s,u){return new D7t(this,n,s,u)},"w7d");var r1,WGi=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingle",512);$(1367,1,ige,D7t),w.Fk=i(function(n){return this.a.yk(this.c,this.d,this.b,n,!0)},"y7d"),w.Qj=i(function(){return this.a.Bk(this.c,this.d,this.b)},"z7d"),w.Wb=i(function(n){this.a.Ck(this.c,this.d,this.b,n)},"A7d"),w.Gk=i(function(){this.a.Ek(this.c,this.d,this.b)},"B7d"),w.b=0;var YGi=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1367);$(784,512,{},G8e),w.yk=i(function(n,s,u,d,g){return afe(n,n.Ph(),n.Fh())==this.b?this.bl()&&d?Hhe(n):n.Ph():null},"D7d"),w.zk=i(function(n,s,u,d,g){var x,k;return n.Ph()&&(g=(x=n.Fh(),x>=0?n.Ah(g):n.Ph().Th(n,-1-x,null,g))),k=Ga(n.Dh(),this.e),n.Ch(d,k,g)},"E7d"),w.Ak=i(function(n,s,u,d,g){var x;return x=Ga(n.Dh(),this.e),n.Ch(null,x,g)},"F7d"),w.Bk=i(function(n,s,u){var d;return d=Ga(n.Dh(),this.e),!!n.Ph()&&n.Fh()==d},"G7d"),w.Ck=i(function(n,s,u,d){var g,x,k,A,D;if(d!=null&&!cfe(this.a,d))throw me(new d8(TQ+($e(d,58)?ADe(y(d,58).Dh()):W7e(gf(d)))+kQ+this.a+"'"));if(g=n.Ph(),k=Ga(n.Dh(),this.e),Ze(d)!==Ze(g)||n.Fh()!=k&&d!=null){if(R7(n,y(d,58)))throw me(new Jr(z9+n.Ib()));D=null,g&&(D=(x=n.Fh(),x>=0?n.Ah(D):n.Ph().Th(n,-1-x,null,D))),A=y(d,54),A&&(D=A.Rh(n,Ga(A.Dh(),this.b),null,D)),D=n.Ch(A,k,D),D&&D.oj()}else n.vh()&&n.wh()&&Qi(n,new to(n,1,k,d,d))},"H7d"),w.Ek=i(function(n,s,u){var d,g,x,k;d=n.Ph(),d?(k=(g=n.Fh(),g>=0?n.Ah(null):n.Ph().Th(n,-1-g,null,null)),x=Ga(n.Dh(),this.e),k=n.Ch(null,x,k),k&&k.oj()):n.vh()&&n.wh()&&Qi(n,new dM(n,1,this.e,null,null))},"I7d"),w.bl=i(function(){return!1},"J7d");var KGi=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",784);$(1351,784,{},wAt),w.bl=i(function(){return!0},"L7d");var XGi=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1351);$(574,512,{}),w.yk=i(function(n,s,u,d,g){var x;return x=s.li(u),x==null?this.b:Ze(x)===Ze(r1)?null:x},"O7d"),w.Bk=i(function(n,s,u){var d;return d=s.li(u),d!=null&&(Ze(d)===Ze(r1)||!Ji(d,this.b))},"P7d"),w.Ck=i(function(n,s,u,d){var g,x;n.vh()&&n.wh()?(g=(x=s.li(u),x==null?this.b:Ze(x)===Ze(r1)?null:x),d==null?this.c!=null?(s.mi(u,null),d=this.b):this.b!=null?s.mi(u,r1):s.mi(u,null):(this.Bl(d),s.mi(u,d)),Qi(n,this.d.Cl(n,1,this.e,g,d))):d==null?this.c!=null?s.mi(u,null):this.b!=null?s.mi(u,r1):s.mi(u,null):(this.Bl(d),s.mi(u,d))},"Q7d"),w.Ek=i(function(n,s,u){var d,g;n.vh()&&n.wh()?(d=(g=s.li(u),g==null?this.b:Ze(g)===Ze(r1)?null:g),s.ni(u),Qi(n,this.d.Cl(n,1,this.e,d,this.b))):s.ni(u)},"R7d"),w.Bl=i(function(n){throw me(new M3t)},"S7d");var QGi=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",574);$(jC,1,{},Cbt),w.Cl=i(function(n,s,u,d,g){return new dM(n,s,u,d,g)},"c8d"),w.Dl=i(function(n,s,u,d,g,x){return new nce(n,s,u,d,g,x)},"d8d");var LVe,DVe,_Ve,MVe,IVe,NVe,OVe,sye,PVe,JGi=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",jC);$(1368,jC,{},Ebt),w.Cl=i(function(n,s,u,d,g){return new y7e(n,s,u,Kt(Yt(d)),Kt(Yt(g)))},"f8d"),w.Dl=i(function(n,s,u,d,g,x){return new tLt(n,s,u,Kt(Yt(d)),Kt(Yt(g)),x)},"g8d");var ZGi=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1368);$(1369,jC,{},Sbt),w.Cl=i(function(n,s,u,d,g){return new Q7e(n,s,u,y(d,222).a,y(g,222).a)},"i8d"),w.Dl=i(function(n,s,u,d,g,x){return new YRt(n,s,u,y(d,222).a,y(g,222).a,x)},"j8d");var eji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1369);$(1370,jC,{},Abt),w.Cl=i(function(n,s,u,d,g){return new J7e(n,s,u,y(d,180).a,y(g,180).a)},"l8d"),w.Dl=i(function(n,s,u,d,g,x){return new KRt(n,s,u,y(d,180).a,y(g,180).a,x)},"m8d");var tji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1370);$(1371,jC,{},Rbt),w.Cl=i(function(n,s,u,d,g){return new g7e(n,s,u,Qe(rt(d)),Qe(rt(g)))},"o8d"),w.Dl=i(function(n,s,u,d,g,x){return new XRt(n,s,u,Qe(rt(d)),Qe(rt(g)),x)},"p8d");var rji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1371);$(1372,jC,{},Lbt),w.Cl=i(function(n,s,u,d,g){return new tRe(n,s,u,y(d,161).a,y(g,161).a)},"r8d"),w.Dl=i(function(n,s,u,d,g,x){return new QRt(n,s,u,y(d,161).a,y(g,161).a,x)},"s8d");var nji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1372);$(1373,jC,{},Dbt),w.Cl=i(function(n,s,u,d,g){return new m7e(n,s,u,y(d,17).a,y(g,17).a)},"u8d"),w.Dl=i(function(n,s,u,d,g,x){return new JRt(n,s,u,y(d,17).a,y(g,17).a,x)},"v8d");var iji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1373);$(1374,jC,{},_bt),w.Cl=i(function(n,s,u,d,g){return new Z7e(n,s,u,y(d,168).a,y(g,168).a)},"x8d"),w.Dl=i(function(n,s,u,d,g,x){return new ZRt(n,s,u,y(d,168).a,y(g,168).a,x)},"y8d");var aji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1374);$(1375,jC,{},Mbt),w.Cl=i(function(n,s,u,d,g){return new eRe(n,s,u,y(d,191).a,y(g,191).a)},"A8d"),w.Dl=i(function(n,s,u,d,g,x){return new eLt(n,s,u,y(d,191).a,y(g,191).a,x)},"B8d");var sji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1375);$(1353,574,{},_7t),w.Bl=i(function(n){if(!this.a.fk(n))throw me(new d8(TQ+gf(n)+kQ+this.a+"'"))},"D8d");var oji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1353);$(1354,574,{},b8t),w.Bl=i(function(n){},"F8d");var lji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1354);$(785,574,{}),w.Bk=i(function(n,s,u){var d;return d=s.li(u),d!=null},"G8d"),w.Ck=i(function(n,s,u,d){var g,x;n.vh()&&n.wh()?(g=!0,x=s.li(u),x==null?(g=!1,x=this.b):Ze(x)===Ze(r1)&&(x=null),d==null?this.c!=null?(s.mi(u,null),d=this.b):s.mi(u,r1):(this.Bl(d),s.mi(u,d)),Qi(n,this.d.Dl(n,1,this.e,x,d,!g))):d==null?this.c!=null?s.mi(u,null):s.mi(u,r1):(this.Bl(d),s.mi(u,d))},"H8d"),w.Ek=i(function(n,s,u){var d,g;n.vh()&&n.wh()?(d=!0,g=s.li(u),g==null?(d=!1,g=this.b):Ze(g)===Ze(r1)&&(g=null),s.ni(u),Qi(n,this.d.Dl(n,2,this.e,g,this.b,d))):s.ni(u)},"I8d");var cji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",785);$(1355,785,{},M7t),w.Bl=i(function(n){if(!this.a.fk(n))throw me(new d8(TQ+gf(n)+kQ+this.a+"'"))},"K8d");var uji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1355);$(1356,785,{},v8t),w.Bl=i(function(n){},"M8d");var hji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1356);$(410,512,{},NW),w.yk=i(function(n,s,u,d,g){var x,k,A,D,N;if(N=s.li(u),this.tk()&&Ze(N)===Ze(r1))return null;if(this.bl()&&d&&N!=null){if(A=y(N,54),A.Vh()&&(D=ov(n,A),A!=D)){if(!cfe(this.a,D))throw me(new d8(TQ+gf(D)+kQ+this.a+"'"));s.mi(u,N=D),this.al()&&(x=y(D,54),k=A.Th(n,this.b?Ga(A.Dh(),this.b):-1-Ga(n.Dh(),this.e),null,null),!x.Ph()&&(k=x.Rh(n,this.b?Ga(x.Dh(),this.b):-1-Ga(n.Dh(),this.e),null,k)),k&&k.oj()),n.vh()&&n.wh()&&Qi(n,new dM(n,9,this.e,A,D))}return N}else return N},"P8d"),w.zk=i(function(n,s,u,d,g){var x,k;return k=s.li(u),Ze(k)===Ze(r1)&&(k=null),s.mi(u,d),this.Mj()?Ze(k)!==Ze(d)&&k!=null&&(x=y(k,54),g=x.Th(n,Ga(x.Dh(),this.b),null,g)):this.al()&&k!=null&&(g=y(k,54).Th(n,-1-Ga(n.Dh(),this.e),null,g)),n.vh()&&n.wh()&&(!g&&(g=new Ub(4)),g.nj(new dM(n,1,this.e,k,d))),g},"Q8d"),w.Ak=i(function(n,s,u,d,g){var x;return x=s.li(u),Ze(x)===Ze(r1)&&(x=null),s.ni(u),n.vh()&&n.wh()&&(!g&&(g=new Ub(4)),this.tk()?g.nj(new dM(n,2,this.e,x,null)):g.nj(new dM(n,1,this.e,x,null))),g},"R8d"),w.Bk=i(function(n,s,u){var d;return d=s.li(u),d!=null},"S8d"),w.Ck=i(function(n,s,u,d){var g,x,k,A,D;if(d!=null&&!cfe(this.a,d))throw me(new d8(TQ+($e(d,58)?ADe(y(d,58).Dh()):W7e(gf(d)))+kQ+this.a+"'"));D=s.li(u),A=D!=null,this.tk()&&Ze(D)===Ze(r1)&&(D=null),k=null,this.Mj()?Ze(D)!==Ze(d)&&(D!=null&&(g=y(D,54),k=g.Th(n,Ga(g.Dh(),this.b),null,k)),d!=null&&(g=y(d,54),k=g.Rh(n,Ga(g.Dh(),this.b),null,k))):this.al()&&Ze(D)!==Ze(d)&&(D!=null&&(k=y(D,54).Th(n,-1-Ga(n.Dh(),this.e),null,k)),d!=null&&(k=y(d,54).Rh(n,-1-Ga(n.Dh(),this.e),null,k))),d==null&&this.tk()?s.mi(u,r1):s.mi(u,d),n.vh()&&n.wh()?(x=new nce(n,1,this.e,D,d,this.tk()&&!A),k?(k.nj(x),k.oj()):Qi(n,x)):k&&k.oj()},"T8d"),w.Ek=i(function(n,s,u){var d,g,x,k,A;A=s.li(u),k=A!=null,this.tk()&&Ze(A)===Ze(r1)&&(A=null),x=null,A!=null&&(this.Mj()?(d=y(A,54),x=d.Th(n,Ga(d.Dh(),this.b),null,x)):this.al()&&(x=y(A,54).Th(n,-1-Ga(n.Dh(),this.e),null,x))),s.ni(u),n.vh()&&n.wh()?(g=new nce(n,this.tk()?2:1,this.e,A,null,k),x?(x.nj(g),x.oj()):Qi(n,g)):x&&x.oj()},"U8d"),w.Mj=i(function(){return!1},"V8d"),w.al=i(function(){return!1},"W8d"),w.bl=i(function(){return!1},"X8d"),w.tk=i(function(){return!1},"Y8d");var fji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",410);$(575,410,{},ole),w.al=i(function(){return!0},"$8d");var dji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",575);$(1359,575,{},y6t),w.bl=i(function(){return!0},"a9d");var pji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1359);$(787,575,{},$6e),w.tk=i(function(){return!0},"c9d");var gji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",787);$(1361,787,{},b6t),w.bl=i(function(){return!0},"e9d");var mji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1361);$(650,575,{},wle),w.Mj=i(function(){return!0},"g9d");var yji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",650);$(1360,650,{},xAt),w.bl=i(function(){return!0},"i9d");var bji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1360);$(788,650,{},EAe),w.tk=i(function(){return!0},"k9d");var vji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",788);$(1362,788,{},TAt),w.bl=i(function(){return!0},"m9d");var wji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1362);$(651,410,{},G6e),w.bl=i(function(){return!0},"o9d");var xji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",651);$(1363,651,{},v6t),w.tk=i(function(){return!0},"q9d");var Tji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1363);$(789,651,{},kAe),w.Mj=i(function(){return!0},"s9d");var kji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",789);$(1364,789,{},kAt),w.tk=i(function(){return!0},"u9d");var Cji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1364);$(1357,410,{},w6t),w.tk=i(function(){return!0},"w9d");var Eji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1357);$(786,410,{},CAe),w.Mj=i(function(){return!0},"y9d");var Sji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",786);$(1358,786,{},CAt),w.tk=i(function(){return!0},"A9d");var Aji=j(Wr,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1358);$(790,576,xQ,x8e),w.yl=i(function(n){return new x8e(this.a,this.c,n)},"E9d"),w.md=i(function(){return this.b},"F9d"),w.zl=i(function(n,s,u){return _ln(this,n,this.b,u)},"G9d"),w.Al=i(function(n,s,u){return Mln(this,n,this.b,u)},"H9d");var Rji=j(Wr,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",790);$(1365,1,ige,x3t),w.Fk=i(function(n){return this.a},"J9d"),w.Qj=i(function(){return $e(this.a,97)?y(this.a,97).Qj():!this.a.dc()},"K9d"),w.Wb=i(function(n){this.a.$b(),this.a.Gc(y(n,15))},"L9d"),w.Gk=i(function(){$e(this.a,97)?y(this.a,97).Gk():this.a.$b()},"M9d");var Lji=j(Wr,"EStructuralFeatureImpl/SettingMany",1365);$(1366,576,xQ,qLt),w.xl=i(function(n){return new ule((ha(),cN),this.b.ri(this.a,n))},"O9d"),w.md=i(function(){return null},"P9d"),w.zl=i(function(n,s,u){return u},"Q9d"),w.Al=i(function(n,s,u){return u},"R9d");var Dji=j(Wr,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1366);$(652,576,xQ,ule),w.xl=i(function(n){return new ule(this.c,n)},"T9d"),w.md=i(function(){return this.a},"U9d"),w.zl=i(function(n,s,u){return u},"V9d"),w.Al=i(function(n,s,u){return u},"W9d");var _ji=j(Wr,"EStructuralFeatureImpl/SimpleFeatureMapEntry",652);$(403,506,Z0,a8),w.aj=i(function(n){return ot(ip,Gr,29,n,0,1)},"Y9d"),w.Yi=i(function(){return!1},"Z9d");var Mji=j(Wr,"ESuperAdapter/1",403);$(457,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,850:1,54:1,99:1,158:1,457:1,119:1,120:1},Tse),w.Lh=i(function(n,s,u){var d;switch(n){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new cM(this,hl,this)),this.a}return ud(this,n-_n((Lr(),IT)),Nr((d=y(Xr(this,16),29),d||IT),n),s,u)},"aae"),w.Uh=i(function(n,s,u){var d,g;switch(s){case 0:return!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Vo(this.Ab,n,u);case 2:return!this.a&&(this.a=new cM(this,hl,this)),Vo(this.a,n,u)}return g=y(Nr((d=y(Xr(this,16),29),d||(Lr(),IT)),s),69),g.wk().Ak(this,Mu(this),s-_n((Lr(),IT)),n,u)},"bae"),w.Wh=i(function(n){var s;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!!this.a&&this.a.i!=0}return ld(this,n-_n((Lr(),IT)),Nr((s=y(Xr(this,16),29),s||IT),n))},"cae"),w.bi=i(function(n,s){var u;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab),!this.Ab&&(this.Ab=new xt(Di,this,0,3)),ts(this.Ab,y(s,16));return;case 1:gu(this,pi(s));return;case 2:!this.a&&(this.a=new cM(this,hl,this)),Kn(this.a),!this.a&&(this.a=new cM(this,hl,this)),ts(this.a,y(s,16));return}pd(this,n-_n((Lr(),IT)),Nr((u=y(Xr(this,16),29),u||IT),n),s)},"dae"),w.ii=i(function(){return Lr(),IT},"eae"),w.ki=i(function(n){var s;switch(n){case 0:!this.Ab&&(this.Ab=new xt(Di,this,0,3)),Kn(this.Ab);return;case 1:gu(this,null);return;case 2:!this.a&&(this.a=new cM(this,hl,this)),Kn(this.a);return}dd(this,n-_n((Lr(),IT)),Nr((s=y(Xr(this,16),29),s||IT),n))},"fae");var Iji=j(Wr,"ETypeParameterImpl",457);$(458,83,ql,cM),w.Nj=i(function(n,s){return qmn(this,y(n,89),s)},"jae"),w.Oj=i(function(n,s){return Wmn(this,y(n,89),s)},"kae");var Nji=j(Wr,"ETypeParameterImpl/1",458);$(647,45,_C,Vse),w.ec=i(function(){return new oq(this)},"mae");var Oji=j(Wr,"ETypeParameterImpl/2",647);$(570,Xg,ph,oq),w.Fc=i(function(n){return q6t(this,y(n,89))},"qae"),w.Gc=i(function(n){var s,u,d;for(d=!1,u=n.Kc();u.Ob();)s=y(u.Pb(),89),ji(this.a,s,"")==null&&(d=!0);return d},"rae"),w.$b=i(function(){Ah(this.a)},"sae"),w.Hc=i(function(n){return Ru(this.a,n)},"tae"),w.Kc=i(function(){var n;return n=new q2(new R2(this.a).a),new lq(n)},"uae"),w.Mc=i(function(n){return PDt(this,n)},"vae"),w.gc=i(function(){return D_(this.a)},"wae");var Pji=j(Wr,"ETypeParameterImpl/2/1",570);$(571,1,lo,lq),w.Nb=i(function(n){Co(this,n)},"yae"),w.Pb=i(function(){return y(Ux(this.a).ld(),89)},"Aae"),w.Ob=i(function(){return this.a.b},"zae"),w.Qb=i(function(){H_t(this.a)},"Bae");var Bji=j(Wr,"ETypeParameterImpl/2/1/1",571);$(1329,45,_C,h4t),w._b=i(function(n){return oo(n)?ace(this,n):!!il(this.f,n)},"Dae"),w.xc=i(function(n){var s,u;return s=oo(n)?Yc(this,n):Il(il(this.f,n)),$e(s,851)?(u=y(s,851),s=u.Kk(),ji(this,y(n,241),s),s):s??(n==null?(coe(),eir):null)},"Eae");var Fji=j(Wr,"EValidatorRegistryImpl",1329);$(1349,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,2040:1,54:1,99:1,158:1,119:1,120:1},Ibt),w.ri=i(function(n,s){switch(n.hk()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return s==null?null:Hl(s);case 25:return Ucn(s);case 27:return ncn(s);case 28:return icn(s);case 29:return s==null?null:k5t(nN[0],y(s,206));case 41:return s==null?"":_2(y(s,297));case 42:return Hl(s);case 50:return pi(s);default:throw me(new Jr(hR+n.xe()+uT))}},"Nae"),w.si=i(function(n){var s,u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe;switch(n.G==-1&&(n.G=(ee=Lf(n),ee?Uy(ee.vi(),n):-1)),n.G){case 0:return u=new jse,u;case 1:return s=new GEe,s;case 2:return d=new VEe,d;case 4:return g=new cq,g;case 5:return x=new u4t,x;case 6:return k=new O3t,k;case 7:return A=new HEe,A;case 10:return N=new JH,N;case 11:return B=new zse,B;case 12:return U=new G7t,U;case 13:return ne=new Use,ne;case 14:return ue=new U6e,ue;case 17:return fe=new kbt,fe;case 18:return D=new sx,D;case 19:return xe=new Tse,xe;default:throw me(new Jr(zpe+n.zb+uT))}},"Oae"),w.ti=i(function(n,s){switch(n.hk()){case 20:return s==null?null:new h5e(s);case 21:return s==null?null:new Yb(s);case 23:case 22:return s==null?null:rpn(s);case 26:case 24:return s==null?null:_F(Nf(s,-128,127)<<24>>24);case 25:return xvn(s);case 27:return Ugn(s);case 28:return Vgn(s);case 29:return d1n(s);case 32:case 31:return s==null?null:Zk(s);case 38:case 37:return s==null?null:new RSe(s);case 40:case 39:return s==null?null:_t(Nf(s,No,Yi));case 41:return null;case 42:return s==null,null;case 44:case 43:return s==null?null:F1(vX(s));case 49:case 48:return s==null?null:b7(Nf(s,CQ,32767)<<16>>16);case 50:return s;default:throw me(new Jr(hR+n.xe()+uT))}},"Pae");var $ji=j(Wr,"EcoreFactoryImpl",1349);$(560,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,2038:1,54:1,99:1,158:1,184:1,560:1,119:1,120:1,690:1},u7t),w.gb=!1,w.hb=!1;var BVe,Znr=!1,Gji=j(Wr,"EcorePackageImpl",560);$(1234,1,{851:1},Nbt),w.Kk=i(function(){return P5t(),tir},"dbe");var jji=j(Wr,"EcorePackageImpl/1",1234);$(1243,1,Fi,Obt),w.fk=i(function(n){return $e(n,155)},"fbe"),w.gk=i(function(n){return ot(Sj,Gr,155,n,0,1)},"gbe");var zji=j(Wr,"EcorePackageImpl/10",1243);$(1244,1,Fi,Pbt),w.fk=i(function(n){return $e(n,197)},"ibe"),w.gk=i(function(n){return ot(Q1e,Gr,197,n,0,1)},"jbe");var Uji=j(Wr,"EcorePackageImpl/11",1244);$(1245,1,Fi,Bbt),w.fk=i(function(n){return $e(n,58)},"lbe"),w.gk=i(function(n){return ot(Bv,Gr,58,n,0,1)},"mbe");var Vji=j(Wr,"EcorePackageImpl/12",1245);$(1246,1,Fi,Fbt),w.fk=i(function(n){return $e(n,411)},"obe"),w.gk=i(function(n){return ot(ap,DOe,62,n,0,1)},"pbe");var Hji=j(Wr,"EcorePackageImpl/13",1246);$(1247,1,Fi,$bt),w.fk=i(function(n){return $e(n,241)},"rbe"),w.gk=i(function(n){return ot(Tg,Gr,241,n,0,1)},"sbe");var qji=j(Wr,"EcorePackageImpl/14",1247);$(1248,1,Fi,Gbt),w.fk=i(function(n){return $e(n,518)},"ube"),w.gk=i(function(n){return ot(_T,Gr,2116,n,0,1)},"vbe");var Wji=j(Wr,"EcorePackageImpl/15",1248);$(1249,1,Fi,jbt),w.fk=i(function(n){return $e(n,102)},"xbe"),w.gk=i(function(n){return ot(q3,GC,19,n,0,1)},"ybe");var Yji=j(Wr,"EcorePackageImpl/16",1249);$(1250,1,Fi,zbt),w.fk=i(function(n){return $e(n,179)},"Abe"),w.gk=i(function(n){return ot(eh,GC,179,n,0,1)},"Bbe");var Kji=j(Wr,"EcorePackageImpl/17",1250);$(1251,1,Fi,Ubt),w.fk=i(function(n){return $e(n,481)},"Dbe"),w.gk=i(function(n){return ot(V3,Gr,481,n,0,1)},"Ebe");var Xji=j(Wr,"EcorePackageImpl/18",1251);$(1252,1,Fi,Vbt),w.fk=i(function(n){return $e(n,561)},"Gbe"),w.gk=i(function(n){return ot(wc,ZHt,561,n,0,1)},"Hbe");var Qji=j(Wr,"EcorePackageImpl/19",1252);$(1235,1,Fi,Hbt),w.fk=i(function(n){return $e(n,331)},"Jbe"),w.gk=i(function(n){return ot(H3,GC,35,n,0,1)},"Kbe");var Jji=j(Wr,"EcorePackageImpl/2",1235);$(1253,1,Fi,qbt),w.fk=i(function(n){return $e(n,248)},"Mbe"),w.gk=i(function(n){return ot(hl,mqt,89,n,0,1)},"Nbe");var Zji=j(Wr,"EcorePackageImpl/20",1253);$(1254,1,Fi,Wbt),w.fk=i(function(n){return $e(n,457)},"Pbe"),w.gk=i(function(n){return ot(Fu,Gr,850,n,0,1)},"Qbe");var ezi=j(Wr,"EcorePackageImpl/21",1254);$(1255,1,Fi,Ybt),w.fk=i(function(n){return Ek(n)},"Sbe"),w.gk=i(function(n){return ot(os,Lt,485,n,8,1)},"Tbe");var tzi=j(Wr,"EcorePackageImpl/22",1255);$(1256,1,Fi,Kbt),w.fk=i(function(n){return $e(n,195)},"Vbe"),w.gk=i(function(n){return ot(bh,Lt,195,n,0,2)},"Wbe");var rzi=j(Wr,"EcorePackageImpl/23",1256);$(1257,1,Fi,Xbt),w.fk=i(function(n){return $e(n,222)},"Ybe"),w.gk=i(function(n){return ot(l6,Lt,222,n,0,1)},"Zbe");var nzi=j(Wr,"EcorePackageImpl/24",1257);$(1258,1,Fi,Qbt),w.fk=i(function(n){return $e(n,180)},"_be"),w.gk=i(function(n){return ot(eI,Lt,180,n,0,1)},"ace");var izi=j(Wr,"EcorePackageImpl/25",1258);$(1259,1,Fi,Jbt),w.fk=i(function(n){return $e(n,206)},"cce"),w.gk=i(function(n){return ot(NQ,Lt,206,n,0,1)},"dce");var azi=j(Wr,"EcorePackageImpl/26",1259);$(1260,1,Fi,Zbt),w.fk=i(function(n){return!1},"fce"),w.gk=i(function(n){return ot(tHe,Gr,2215,n,0,1)},"gce");var szi=j(Wr,"EcorePackageImpl/27",1260);$(1261,1,Fi,evt),w.fk=i(function(n){return Sk(n)},"ice"),w.gk=i(function(n){return ot(Es,Lt,345,n,7,1)},"jce");var ozi=j(Wr,"EcorePackageImpl/28",1261);$(1262,1,Fi,tvt),w.fk=i(function(n){return $e(n,61)},"lce"),w.gk=i(function(n){return ot(mVe,h3,61,n,0,1)},"mce");var lzi=j(Wr,"EcorePackageImpl/29",1262);$(1236,1,Fi,rvt),w.fk=i(function(n){return $e(n,519)},"oce"),w.gk=i(function(n){return ot(Di,{3:1,4:1,5:1,2033:1},598,n,0,1)},"pce");var czi=j(Wr,"EcorePackageImpl/3",1236);$(1263,1,Fi,nvt),w.fk=i(function(n){return $e(n,582)},"rce"),w.gk=i(function(n){return ot(vVe,Gr,2039,n,0,1)},"sce");var uzi=j(Wr,"EcorePackageImpl/30",1263);$(1264,1,Fi,ivt),w.fk=i(function(n){return $e(n,160)},"uce"),w.gk=i(function(n){return ot(zVe,h3,160,n,0,1)},"vce");var hzi=j(Wr,"EcorePackageImpl/31",1264);$(1265,1,Fi,avt),w.fk=i(function(n){return $e(n,76)},"xce"),w.gk=i(function(n){return ot(QZ,Eqt,76,n,0,1)},"yce");var fzi=j(Wr,"EcorePackageImpl/32",1265);$(1266,1,Fi,svt),w.fk=i(function(n){return $e(n,161)},"Ace"),w.gk=i(function(n){return ot(bR,Lt,161,n,0,1)},"Bce");var dzi=j(Wr,"EcorePackageImpl/33",1266);$(1267,1,Fi,ovt),w.fk=i(function(n){return $e(n,17)},"Dce"),w.gk=i(function(n){return ot(Ro,Lt,17,n,0,1)},"Ece");var pzi=j(Wr,"EcorePackageImpl/34",1267);$(1268,1,Fi,lvt),w.fk=i(function(n){return $e(n,297)},"Gce"),w.gk=i(function(n){return ot(UOe,Gr,297,n,0,1)},"Hce");var gzi=j(Wr,"EcorePackageImpl/35",1268);$(1269,1,Fi,cvt),w.fk=i(function(n){return $e(n,168)},"Jce"),w.gk=i(function(n){return ot(fT,Lt,168,n,0,1)},"Kce");var mzi=j(Wr,"EcorePackageImpl/36",1269);$(1270,1,Fi,uvt),w.fk=i(function(n){return $e(n,85)},"Mce"),w.gk=i(function(n){return ot(VOe,Gr,85,n,0,1)},"Nce");var yzi=j(Wr,"EcorePackageImpl/37",1270);$(1271,1,Fi,hvt),w.fk=i(function(n){return $e(n,599)},"Pce"),w.gk=i(function(n){return ot(FVe,Gr,599,n,0,1)},"Qce");var bzi=j(Wr,"EcorePackageImpl/38",1271);$(1272,1,Fi,fvt),w.fk=i(function(n){return!1},"Sce"),w.gk=i(function(n){return ot(rHe,Gr,2216,n,0,1)},"Tce");var vzi=j(Wr,"EcorePackageImpl/39",1272);$(1237,1,Fi,dvt),w.fk=i(function(n){return $e(n,90)},"Vce"),w.gk=i(function(n){return ot(ip,Gr,29,n,0,1)},"Wce");var wzi=j(Wr,"EcorePackageImpl/4",1237);$(1273,1,Fi,pvt),w.fk=i(function(n){return $e(n,191)},"Yce"),w.gk=i(function(n){return ot(dT,Lt,191,n,0,1)},"Zce");var xzi=j(Wr,"EcorePackageImpl/40",1273);$(1274,1,Fi,gvt),w.fk=i(function(n){return oo(n)},"_ce"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"ade");var Tzi=j(Wr,"EcorePackageImpl/41",1274);$(1275,1,Fi,mvt),w.fk=i(function(n){return $e(n,596)},"cde"),w.gk=i(function(n){return ot(bVe,Gr,596,n,0,1)},"dde");var kzi=j(Wr,"EcorePackageImpl/42",1275);$(1276,1,Fi,yvt),w.fk=i(function(n){return!1},"fde"),w.gk=i(function(n){return ot(nHe,Lt,2217,n,0,1)},"gde");var Czi=j(Wr,"EcorePackageImpl/43",1276);$(1277,1,Fi,bvt),w.fk=i(function(n){return $e(n,44)},"ide"),w.gk=i(function(n){return ot(dw,TX,44,n,0,1)},"jde");var Ezi=j(Wr,"EcorePackageImpl/44",1277);$(1238,1,Fi,vvt),w.fk=i(function(n){return $e(n,142)},"lde"),w.gk=i(function(n){return ot(kg,Gr,142,n,0,1)},"mde");var Szi=j(Wr,"EcorePackageImpl/5",1238);$(1239,1,Fi,wvt),w.fk=i(function(n){return $e(n,156)},"ode"),w.gk=i(function(n){return ot(nye,Gr,156,n,0,1)},"pde");var Azi=j(Wr,"EcorePackageImpl/6",1239);$(1240,1,Fi,xvt),w.fk=i(function(n){return $e(n,469)},"rde"),w.gk=i(function(n){return ot(XZ,Gr,685,n,0,1)},"sde");var Rzi=j(Wr,"EcorePackageImpl/7",1240);$(1241,1,Fi,Tvt),w.fk=i(function(n){return $e(n,582)},"ude"),w.gk=i(function(n){return ot(Q1,Gr,694,n,0,1)},"vde");var Lzi=j(Wr,"EcorePackageImpl/8",1241);$(1242,1,Fi,kvt),w.fk=i(function(n){return $e(n,480)},"xde"),w.gk=i(function(n){return ot(rN,Gr,480,n,0,1)},"yde");var Dzi=j(Wr,"EcorePackageImpl/9",1242);$(1038,2080,JHt,M4t),w.Mi=i(function(n,s){_fn(this,y(s,424))},"Dde"),w.Qi=i(function(n,s){SBt(this,n,y(s,424))},"Ede");var _zi=j(Wr,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1038);$(1039,152,fG,e7t),w.jj=i(function(){return this.a.a},"Gde");var Mzi=j(Wr,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1039);$(1067,1066,{},p5t);var Izi=j("org.eclipse.emf.ecore.plugin","EcorePlugin",1067),FVe=Va(Sqt,"Resource");$(799,1524,Aqt),w.Hl=i(function(n){},"Mde"),w.Il=i(function(n){},"Nde"),w.El=i(function(){return!this.a&&(this.a=new Ose(this)),this.a},"Ode"),w.Fl=i(function(n){var s,u,d,g,x;if(d=n.length,d>0)if(Zr(0,n.length),n.charCodeAt(0)==47){for(x=new pu(4),g=1,s=1;s0&&(n=(wo(0,u,n.length),n.substr(0,u))));return sbn(this,n)},"Pde"),w.Gl=i(function(){return this.c},"Qde"),w.Ib=i(function(){var n;return _2(this.Rm)+"@"+(n=ka(this)>>>0,n.toString(16))+" uri='"+this.d+"'"},"Rde"),w.b=!1;var Nzi=j(age,"ResourceImpl",799);$(1525,799,Aqt,T3t);var Ozi=j(age,"BinaryResourceImpl",1525);$(1190,708,Zpe),w.bj=i(function(n){return $e(n,58)?Qin(this,y(n,58)):$e(n,599)?new gn(y(n,599).El()):Ze(n)===Ze(this.f)?y(n,16).Kc():(R8(),Lj.a)},"Vde"),w.Ob=i(function(){return x_e(this)},"Wde"),w.a=!1;var Pzi=j(Ma,"EcoreUtil/ContentTreeIterator",1190);$(1526,1190,Zpe,D8t),w.bj=i(function(n){return Ze(n)===Ze(this.f)?y(n,15).Kc():new ALt(y(n,58))},"Yde");var Bzi=j(age,"ResourceImpl/5",1526);$(658,2092,gqt,Ose),w.Hc=i(function(n){return this.i<=4?D7(this,n):$e(n,54)&&y(n,54).Jh()==this.a},"$de"),w.Mi=i(function(n,s){n==this.i-1&&(this.a.b||(this.a.b=!0))},"_de"),w.Oi=i(function(n,s){n==0?this.a.b||(this.a.b=!0):Nce(this,n,s)},"aee"),w.Qi=i(function(n,s){},"bee"),w.Ri=i(function(n,s,u){},"cee"),w.Lj=i(function(){return 2},"dee"),w.jj=i(function(){return this.a},"eee"),w.Mj=i(function(){return!0},"fee"),w.Nj=i(function(n,s){var u;return u=y(n,54),s=u.fi(this.a,s),s},"gee"),w.Oj=i(function(n,s){var u;return u=y(n,54),u.fi(null,s)},"hee"),w.Pj=i(function(){return!1},"iee"),w.Si=i(function(){return!0},"jee"),w.aj=i(function(n){return ot(Bv,Gr,58,n,0,1)},"kee"),w.Yi=i(function(){return!1},"lee");var Fzi=j(age,"ResourceImpl/ContentsEList",658);$(970,2062,K7,k3t),w.fd=i(function(n){return this.a.Ki(n)},"nee"),w.gc=i(function(){return this.a.gc()},"oee");var $zi=j(Ma,"AbstractSequentialInternalEList/1",970),$Ve,GVe,Lo,jVe;$(634,1,{},MAt);var JZ,ZZ,Gzi=j(Ma,"BasicExtendedMetaData",634);$(1181,1,{},NSt),w.Jl=i(function(){return null},"bfe"),w.Kl=i(function(){return this.a==-2&&_Kr(this,s1n(this.d,this.b)),this.a},"cfe"),w.Ll=i(function(){return null},"dfe"),w.Ml=i(function(){return Dr(),Dr(),Po},"efe"),w.xe=i(function(){return this.c==pR&&MKr(this,XNt(this.d,this.b)),this.c},"ffe"),w.Nl=i(function(){return 0},"gfe"),w.a=-2,w.c=pR;var jzi=j(Ma,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1181);$(1182,1,{},nLt),w.Jl=i(function(){return this.a==(H8(),JZ)&&OKr(this,axn(this.f,this.b)),this.a},"nfe"),w.Kl=i(function(){return 0},"ofe"),w.Ll=i(function(){return this.c==(H8(),JZ)&&IKr(this,sxn(this.f,this.b)),this.c},"pfe"),w.Ml=i(function(){return!this.d&&BKr(this,VTn(this.f,this.b)),this.d},"qfe"),w.xe=i(function(){return this.e==pR&&$Kr(this,XNt(this.f,this.b)),this.e},"rfe"),w.Nl=i(function(){return this.g==-2&&jKr(this,Emn(this.f,this.b)),this.g},"sfe"),w.e=pR,w.g=-2;var zzi=j(Ma,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1182);$(1180,1,{},OSt),w.b=!1,w.c=!1;var Uzi=j(Ma,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1180);$(1183,1,{},iLt),w.c=-2,w.e=pR,w.f=pR;var Vzi=j(Ma,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1183);$(593,632,ql,CW),w.Lj=i(function(){return this.c},"Lfe"),w.ol=i(function(){return!1},"Mfe"),w.Wi=i(function(n,s){return s},"Nfe"),w.c=0;var Hzi=j(Ma,"EDataTypeEList",593),zVe=Va(Ma,"FeatureMap");$(78,593,{3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},rs),w.bd=i(function(n,s){C2n(this,n,y(s,76))},"Vge"),w.Fc=i(function(n){return zvn(this,y(n,76))},"Wge"),w.Hi=i(function(n){Ynn(this,y(n,76))},"_ge"),w.Nj=i(function(n,s){return gen(this,y(n,76),s)},"khe"),w.Oj=i(function(n,s){return dAe(this,y(n,76),s)},"lhe"),w.Ti=i(function(n,s){return Kxn(this,n,s)},"nhe"),w.Wi=i(function(n,s){return P3n(this,n,y(s,76))},"phe"),w.hd=i(function(n,s){return hwn(this,n,y(s,76))},"rhe"),w.Uj=i(function(n,s){return men(this,y(n,76),s)},"vhe"),w.Vj=i(function(n,s){return oAt(this,y(n,76),s)},"whe"),w.Wj=i(function(n,s,u){return fmn(this,y(n,76),y(s,76),u)},"xhe"),w.Zi=i(function(n,s){return Rhe(this,n,y(s,76))},"zhe"),w.Ol=i(function(n,s){return fMe(this,n,s)},"Xge"),w.cd=i(function(n,s){var u,d,g,x,k,A,D,N,B;for(N=new Fx(s.gc()),g=s.Kc();g.Ob();)if(d=y(g.Pb(),76),x=d.Lk(),j1(this.e,x))(!x.Si()||!pY(this,x,d.md())&&!D7(N,d))&&Jn(N,d);else{for(B=Iu(this.e.Dh(),x),u=y(this.g,124),k=!0,A=0;A=0;)if(s=n[this.c],this.k.am(s.Lk()))return this.j=this.f?s:s.md(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},"Rhe");var Yzi=j(Ma,"BasicFeatureMap/FeatureEIterator",420);$(676,420,Gm,Hoe),w.ul=i(function(){return!0},"The");var Kzi=j(Ma,"BasicFeatureMap/ResolvingFeatureEIterator",676);$(968,496,vQ,C5t),w.pj=i(function(){return this},"Vhe");var Xzi=j(Ma,"EContentsEList/1",968);$(969,496,vQ,YSt),w.ul=i(function(){return!1},"Xhe");var Qzi=j(Ma,"EContentsEList/2",969);$(967,287,wQ,E5t),w.wl=i(function(n){},"Zhe"),w.Ob=i(function(){return!1},"$he"),w.Sb=i(function(){return!1},"_he");var Jzi=j(Ma,"EContentsEList/FeatureIteratorImpl/1",967);$(840,593,ql,w6e),w.Ni=i(function(){this.a=!0},"bie"),w.Qj=i(function(){return this.a},"cie"),w.Gk=i(function(){var n;Kn(this),uf(this.e)?(n=this.a,this.a=!1,Qi(this.e,new Ip(this.e,2,this.c,n,!1))):this.a=!1},"die"),w.a=!1;var Zzi=j(Ma,"EDataTypeEList/Unsettable",840);$(1958,593,ql,M5t),w.Si=i(function(){return!0},"fie");var eUi=j(Ma,"EDataTypeUniqueEList",1958);$(1959,840,ql,I5t),w.Si=i(function(){return!0},"hie");var tUi=j(Ma,"EDataTypeUniqueEList/Unsettable",1959);$(147,83,ql,oh),w.nl=i(function(){return!0},"jie"),w.Wi=i(function(n,s){return q5(this,n,y(s,58))},"kie");var rUi=j(Ma,"EObjectContainmentEList/Resolving",147);$(1184,555,ql,N5t),w.nl=i(function(){return!0},"mie"),w.Wi=i(function(n,s){return q5(this,n,y(s,58))},"nie");var nUi=j(Ma,"EObjectContainmentEList/Unsettable/Resolving",1184);$(766,14,ql,sAe),w.Ni=i(function(){this.a=!0},"pie"),w.Qj=i(function(){return this.a},"qie"),w.Gk=i(function(){var n;Kn(this),uf(this.e)?(n=this.a,this.a=!1,Qi(this.e,new Ip(this.e,2,this.c,n,!1))):this.a=!1},"rie"),w.a=!1;var iUi=j(Ma,"EObjectContainmentWithInverseEList/Unsettable",766);$(1222,766,ql,W6t),w.nl=i(function(){return!0},"tie"),w.Wi=i(function(n,s){return q5(this,n,y(s,58))},"uie");var aUi=j(Ma,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1222);$(757,505,ql,x6e),w.Ni=i(function(){this.a=!0},"wie"),w.Qj=i(function(){return this.a},"xie"),w.Gk=i(function(){var n;Kn(this),uf(this.e)?(n=this.a,this.a=!1,Qi(this.e,new Ip(this.e,2,this.c,n,!1))):this.a=!1},"yie"),w.a=!1;var sUi=j(Ma,"EObjectEList/Unsettable",757);$(338,505,ql,eC),w.nl=i(function(){return!0},"Aie"),w.Wi=i(function(n,s){return q5(this,n,y(s,58))},"Bie");var oUi=j(Ma,"EObjectResolvingEList",338);$(1844,757,ql,O5t),w.nl=i(function(){return!0},"Die"),w.Wi=i(function(n,s){return q5(this,n,y(s,58))},"Eie");var lUi=j(Ma,"EObjectResolvingEList/Unsettable",1844);$(1527,1,{},Cvt);var eir,cUi=j(Ma,"EObjectValidator",1527);$(559,505,ql,jW),w.il=i(function(){return this.d},"Jie"),w.jl=i(function(){return this.b},"Kie"),w.Mj=i(function(){return!0},"Lie"),w.ml=i(function(){return!0},"Mie"),w.b=0;var uUi=j(Ma,"EObjectWithInverseEList",559);$(1225,559,ql,Y6t),w.ll=i(function(){return!0},"Oie");var hUi=j(Ma,"EObjectWithInverseEList/ManyInverse",1225);$(635,559,ql,fle),w.Ni=i(function(){this.a=!0},"Qie"),w.Qj=i(function(){return this.a},"Rie"),w.Gk=i(function(){var n;Kn(this),uf(this.e)?(n=this.a,this.a=!1,Qi(this.e,new Ip(this.e,2,this.c,n,!1))):this.a=!1},"Sie"),w.a=!1;var fUi=j(Ma,"EObjectWithInverseEList/Unsettable",635);$(1224,635,ql,K6t),w.ll=i(function(){return!0},"Uie");var dUi=j(Ma,"EObjectWithInverseEList/Unsettable/ManyInverse",1224);$(767,559,ql,oAe),w.nl=i(function(){return!0},"Wie"),w.Wi=i(function(n,s){return q5(this,n,y(s,58))},"Xie");var pUi=j(Ma,"EObjectWithInverseResolvingEList",767);$(32,767,ql,Ir),w.ll=i(function(){return!0},"Zie");var gUi=j(Ma,"EObjectWithInverseResolvingEList/ManyInverse",32);$(768,635,ql,lAe),w.nl=i(function(){return!0},"_ie"),w.Wi=i(function(n,s){return q5(this,n,y(s,58))},"aje");var mUi=j(Ma,"EObjectWithInverseResolvingEList/Unsettable",768);$(1223,768,ql,X6t),w.ll=i(function(){return!0},"cje");var yUi=j(Ma,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1223);$(1185,632,ql),w.Li=i(function(){return(this.b&1792)==0},"dje"),w.Ni=i(function(){this.b|=1},"eje"),w.kl=i(function(){return(this.b&4)!=0},"fje"),w.Mj=i(function(){return(this.b&40)!=0},"gje"),w.ll=i(function(){return(this.b&16)!=0},"hje"),w.ml=i(function(){return(this.b&8)!=0},"ije"),w.nl=i(function(){return(this.b&y3)!=0},"jje"),w.al=i(function(){return(this.b&32)!=0},"kje"),w.ol=i(function(){return(this.b&$p)!=0},"lje"),w.fk=i(function(n){return this.d?PLt(this.d,n):this.Lk().Hk().fk(n)},"mje"),w.Qj=i(function(){return(this.b&2)!=0?(this.b&1)!=0:this.i!=0},"nje"),w.Si=i(function(){return(this.b&128)!=0},"oje"),w.Gk=i(function(){var n;Kn(this),(this.b&2)!=0&&(uf(this.e)?(n=(this.b&1)!=0,this.b&=-2,f8(this,new Ip(this.e,2,Ga(this.e.Dh(),this.Lk()),n,!1))):this.b&=-2)},"qje"),w.Yi=i(function(){return(this.b&1536)==0},"rje"),w.b=0;var bUi=j(Ma,"EcoreEList/Generic",1185);$(1186,1185,ql,z7t),w.Lk=i(function(){return this.a},"tje");var vUi=j(Ma,"EcoreEList/Dynamic",1186);$(765,66,Z0,TSe),w.aj=i(function(n){return OF(this.a.a,n)},"vje");var wUi=j(Ma,"EcoreEMap/1",765);$(764,83,ql,s8e),w.Mi=i(function(n,s){IK(this.b,y(s,136))},"xje"),w.Oi=i(function(n,s){$9t(this.b)},"yje"),w.Pi=i(function(n,s,u){var d;++(d=this.b,y(s,136),d).e},"zje"),w.Qi=i(function(n,s){Bue(this.b,y(s,136))},"Aje"),w.Ri=i(function(n,s,u){Bue(this.b,y(u,136)),Ze(u)===Ze(s)&&y(u,136).Ci(dJr(y(s,136).ld())),IK(this.b,y(s,136))},"Bje");var xUi=j(Ma,"EcoreEMap/DelegateEObjectContainmentEList",764);$(1220,141,LOe,r9t);var TUi=j(Ma,"EcoreEMap/Unsettable",1220);$(1221,764,ql,Q6t),w.Ni=i(function(){this.a=!0},"Eje"),w.Qj=i(function(){return this.a},"Fje"),w.Gk=i(function(){var n;Kn(this),uf(this.e)?(n=this.a,this.a=!1,Qi(this.e,new Ip(this.e,2,this.c,n,!1))):this.a=!1},"Gje"),w.a=!1;var kUi=j(Ma,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1221);$(1189,215,_C,U8t),w.a=!1,w.b=!1;var CUi=j(Ma,"EcoreUtil/Copier",1189);$(759,1,lo,ALt),w.Nb=i(function(n){Co(this,n)},"ake"),w.Ob=i(function(){return ONt(this)},"bke"),w.Pb=i(function(){var n;return ONt(this),n=this.b,this.b=null,n},"cke"),w.Qb=i(function(){this.a.Qb()},"dke");var EUi=j(Ma,"EcoreUtil/ProperContentIterator",759);$(1528,1527,{},Cwt);var tir,SUi=j(Ma,"EcoreValidator",1528),rir,AUi=Va(Ma,"FeatureMapUtil/Validator");$(1295,1,{2041:1},Evt),w.am=i(function(n){return!0},"ske");var RUi=j(Ma,"FeatureMapUtil/1",1295);$(773,1,{2041:1},jMe),w.am=i(function(n){var s;return this.c==n?!0:(s=Yt(mn(this.a,n)),s==null?fxn(this,n)?(ADt(this.a,n,(Hr(),yR)),!0):(ADt(this.a,n,(Hr(),Tv)),!1):s==(Hr(),yR))},"xke"),w.e=!1;var oye,LUi=j(Ma,"FeatureMapUtil/BasicValidator",773);$(774,45,_C,b6e);var DUi=j(Ma,"FeatureMapUtil/BasicValidator/Cache",774);$(509,56,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,71:1,97:1},$B),w.bd=i(function(n,s){m$t(this.c,this.b,n,s)},"Fke"),w.Fc=i(function(n){return fMe(this.c,this.b,n)},"Gke"),w.cd=i(function(n,s){return Ikn(this.c,this.b,n,s)},"Hke"),w.Gc=i(function(n){return eM(this,n)},"Ike"),w.Gi=i(function(n,s){Rcn(this.c,this.b,n,s)},"Jke"),w.Wk=i(function(n,s){return iMe(this.c,this.b,n,s)},"Kke"),w.$i=i(function(n){return pX(this.c,this.b,n,!1)},"Lke"),w.Ii=i(function(){return s5t(this.c,this.b)},"Mke"),w.Ji=i(function(){return eJr(this.c,this.b)},"Nke"),w.Ki=i(function(n){return Iln(this.c,this.b,n)},"Oke"),w.Xk=i(function(n,s){return D6t(this,n,s)},"Pke"),w.$b=i(function(){XS(this)},"Qke"),w.Hc=i(function(n){return pY(this.c,this.b,n)},"Rke"),w.Ic=i(function(n){return Mun(this.c,this.b,n)},"Ske"),w.Xb=i(function(n){return pX(this.c,this.b,n,!0)},"Tke"),w.Fk=i(function(n){return this},"Uke"),w.dd=i(function(n){return Gon(this.c,this.b,n)},"Vke"),w.dc=i(function(){return Zq(this)},"Wke"),w.Qj=i(function(){return!r$(this.c,this.b)},"Xke"),w.Kc=i(function(){return bcn(this.c,this.b)},"Yke"),w.ed=i(function(){return vcn(this.c,this.b)},"Zke"),w.fd=i(function(n){return Xfn(this.c,this.b,n)},"$ke"),w.Ti=i(function(n,s){return _Gt(this.c,this.b,n,s)},"_ke"),w.Ui=i(function(n,s){Pln(this.c,this.b,n,s)},"ale"),w.gd=i(function(n){return cBt(this.c,this.b,n)},"ble"),w.Mc=i(function(n){return Nxn(this.c,this.b,n)},"cle"),w.hd=i(function(n,s){return GGt(this.c,this.b,n,s)},"dle"),w.Wb=i(function(n){KK(this.c,this.b),eM(this,y(n,15))},"ele"),w.gc=i(function(){return Kfn(this.c,this.b)},"fle"),w.Pc=i(function(){return zsn(this.c,this.b)},"gle"),w.Qc=i(function(n){return jon(this.c,this.b,n)},"hle"),w.Ib=i(function(){var n,s;for(s=new Ty,s.a+="[",n=s5t(this.c,this.b);Aue(n);)pl(s,rM(DK(n))),Aue(n)&&(s.a+=Ho);return s.a+="]",s.a},"ile"),w.Gk=i(function(){KK(this.c,this.b)},"jle");var _Ui=j(Ma,"FeatureMapUtil/FeatureEList",509);$(644,39,fG,kce),w.hj=i(function(n){return UM(this,n)},"mle"),w.mj=i(function(n){var s,u,d,g,x,k,A;switch(this.d){case 1:case 2:{if(x=n.jj(),Ze(x)===Ze(this.c)&&UM(this,null)==n.hj(null))return this.g=n.ij(),n.gj()==1&&(this.d=1),!0;break}case 3:{switch(g=n.gj(),g){case 3:{if(x=n.jj(),Ze(x)===Ze(this.c)&&UM(this,null)==n.hj(null))return this.d=5,s=new Fx(2),Jn(s,this.g),Jn(s,n.ij()),this.g=s,!0;break}}break}case 5:{switch(g=n.gj(),g){case 3:{if(x=n.jj(),Ze(x)===Ze(this.c)&&UM(this,null)==n.hj(null))return u=y(this.g,16),u.Fc(n.ij()),!0;break}}break}case 4:{switch(g=n.gj(),g){case 3:{if(x=n.jj(),Ze(x)===Ze(this.c)&&UM(this,null)==n.hj(null))return this.d=1,this.g=n.ij(),!0;break}case 4:{if(x=n.jj(),Ze(x)===Ze(this.c)&&UM(this,null)==n.hj(null))return this.d=6,A=new Fx(2),Jn(A,this.n),Jn(A,n.kj()),this.n=A,k=Te(we(ei,1),Ai,28,15,[this.o,n.lj()]),this.g=k,!0;break}}break}case 6:{switch(g=n.gj(),g){case 4:{if(x=n.jj(),Ze(x)===Ze(this.c)&&UM(this,null)==n.hj(null))return u=y(this.n,16),u.Fc(n.kj()),k=y(this.g,53),d=ot(ei,Ai,28,k.length+1,15,1),jc(k,0,d,0,k.length),d[k.length]=n.lj(),this.g=d,!0;break}}break}}return!1},"nle");var MUi=j(Ma,"FeatureMapUtil/FeatureENotificationImpl",644);$(564,509,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},RW),w.Ol=i(function(n,s){return fMe(this.c,n,s)},"ple"),w.Pl=i(function(n,s,u){return iMe(this.c,n,s,u)},"qle"),w.Ql=i(function(n,s,u){return DMe(this.c,n,s,u)},"rle"),w.Rl=i(function(){return this},"sle"),w.Sl=i(function(n,s){return M$(this.c,n,s)},"tle"),w.Tl=i(function(n){return y(pX(this.c,this.b,n,!1),76).Lk()},"ule"),w.Ul=i(function(n){return y(pX(this.c,this.b,n,!1),76).md()},"vle"),w.Vl=i(function(){return this.a},"wle"),w.Wl=i(function(n){return!r$(this.c,n)},"xle"),w.Xl=i(function(n,s){gX(this.c,n,s)},"yle"),w.Yl=i(function(n){return a9t(this.c,n)},"zle"),w.Zl=i(function(n){BOt(this.c,n)},"Ale");var IUi=j(Ma,"FeatureMapUtil/FeatureFeatureMap",564);$(1294,1,ige,ISt),w.Fk=i(function(n){return pX(this.b,this.a,-1,n)},"Cle"),w.Qj=i(function(){return!r$(this.b,this.a)},"Dle"),w.Wb=i(function(n){gX(this.b,this.a,n)},"Ele"),w.Gk=i(function(){KK(this.b,this.a)},"Fle");var NUi=j(Ma,"FeatureMapUtil/FeatureValue",1294),_6,lye,cye,M6,nir,_j=Va(RQ,"AnyType");$(680,63,z1,Jse);var OUi=j(RQ,"InvalidDatatypeValueException",680),eee=Va(RQ,Lqt),Mj=Va(RQ,Dqt),UVe=Va(RQ,_qt),iir,Sc,VVe,Dw,air,sir,oir,lir,cir,uir,hir,fir,dir,pir,gir,TE,mir,kE,oN,yir,NT,Ij,Nj,bir,lN,cN;$(844,516,{110:1,94:1,93:1,58:1,54:1,99:1,857:1},jSe),w.Lh=i(function(n,s,u){switch(n){case 0:return u?(!this.c&&(this.c=new rs(this,0)),this.c):(!this.c&&(this.c=new rs(this,0)),this.c.b);case 1:return u?(!this.c&&(this.c=new rs(this,0)),y(Kc(this.c,(ha(),Dw)),160)):(!this.c&&(this.c=new rs(this,0)),y(y(Kc(this.c,(ha(),Dw)),160),220)).Vl();case 2:return u?(!this.b&&(this.b=new rs(this,2)),this.b):(!this.b&&(this.b=new rs(this,2)),this.b.b)}return ud(this,n-_n(this.ii()),Nr((this.j&2)==0?this.ii():(!this.k&&(this.k=new ag),this.k).Nk(),n),s,u)},"pme"),w.Uh=i(function(n,s,u){var d;switch(s){case 0:return!this.c&&(this.c=new rs(this,0)),R$(this.c,n,u);case 1:return(!this.c&&(this.c=new rs(this,0)),y(y(Kc(this.c,(ha(),Dw)),160),71)).Xk(n,u);case 2:return!this.b&&(this.b=new rs(this,2)),R$(this.b,n,u)}return d=y(Nr((this.j&2)==0?this.ii():(!this.k&&(this.k=new ag),this.k).Nk(),s),69),d.wk().Ak(this,V7e(this),s-_n(this.ii()),n,u)},"qme"),w.Wh=i(function(n){switch(n){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new rs(this,0)),y(Kc(this.c,(ha(),Dw)),160)).dc();case 2:return!!this.b&&this.b.i!=0}return ld(this,n-_n(this.ii()),Nr((this.j&2)==0?this.ii():(!this.k&&(this.k=new ag),this.k).Nk(),n))},"rme"),w.bi=i(function(n,s){switch(n){case 0:!this.c&&(this.c=new rs(this,0)),aF(this.c,s);return;case 1:(!this.c&&(this.c=new rs(this,0)),y(y(Kc(this.c,(ha(),Dw)),160),220)).Wb(s);return;case 2:!this.b&&(this.b=new rs(this,2)),aF(this.b,s);return}pd(this,n-_n(this.ii()),Nr((this.j&2)==0?this.ii():(!this.k&&(this.k=new ag),this.k).Nk(),n),s)},"sme"),w.ii=i(function(){return ha(),VVe},"tme"),w.ki=i(function(n){switch(n){case 0:!this.c&&(this.c=new rs(this,0)),Kn(this.c);return;case 1:(!this.c&&(this.c=new rs(this,0)),y(Kc(this.c,(ha(),Dw)),160)).$b();return;case 2:!this.b&&(this.b=new rs(this,2)),Kn(this.b);return}dd(this,n-_n(this.ii()),Nr((this.j&2)==0?this.ii():(!this.k&&(this.k=new ag),this.k).Nk(),n))},"ume"),w.Ib=i(function(){var n;return(this.j&4)!=0?Pp(this):(n=new zd(Pp(this)),n.a+=" (mixed: ",X_(n,this.c),n.a+=", anyAttribute: ",X_(n,this.b),n.a+=")",n.a)},"vme");var PUi=j(Cs,"AnyTypeImpl",844);$(681,516,{110:1,94:1,93:1,58:1,54:1,99:1,2119:1,681:1},Pvt),w.Lh=i(function(n,s,u){switch(n){case 0:return this.a;case 1:return this.b}return ud(this,n-_n((ha(),TE)),Nr((this.j&2)==0?TE:(!this.k&&(this.k=new ag),this.k).Nk(),n),s,u)},"zme"),w.Wh=i(function(n){switch(n){case 0:return this.a!=null;case 1:return this.b!=null}return ld(this,n-_n((ha(),TE)),Nr((this.j&2)==0?TE:(!this.k&&(this.k=new ag),this.k).Nk(),n))},"Ame"),w.bi=i(function(n,s){switch(n){case 0:VKr(this,pi(s));return;case 1:qKr(this,pi(s));return}pd(this,n-_n((ha(),TE)),Nr((this.j&2)==0?TE:(!this.k&&(this.k=new ag),this.k).Nk(),n),s)},"Bme"),w.ii=i(function(){return ha(),TE},"Cme"),w.ki=i(function(n){switch(n){case 0:this.a=null;return;case 1:this.b=null;return}dd(this,n-_n((ha(),TE)),Nr((this.j&2)==0?TE:(!this.k&&(this.k=new ag),this.k).Nk(),n))},"Dme"),w.Ib=i(function(){var n;return(this.j&4)!=0?Pp(this):(n=new zd(Pp(this)),n.a+=" (data: ",pl(n,this.a),n.a+=", target: ",pl(n,this.b),n.a+=")",n.a)},"Eme"),w.a=null,w.b=null;var BUi=j(Cs,"ProcessingInstructionImpl",681);$(682,844,{110:1,94:1,93:1,58:1,54:1,99:1,857:1,2120:1,682:1},f4t),w.Lh=i(function(n,s,u){switch(n){case 0:return u?(!this.c&&(this.c=new rs(this,0)),this.c):(!this.c&&(this.c=new rs(this,0)),this.c.b);case 1:return u?(!this.c&&(this.c=new rs(this,0)),y(Kc(this.c,(ha(),Dw)),160)):(!this.c&&(this.c=new rs(this,0)),y(y(Kc(this.c,(ha(),Dw)),160),220)).Vl();case 2:return u?(!this.b&&(this.b=new rs(this,2)),this.b):(!this.b&&(this.b=new rs(this,2)),this.b.b);case 3:return!this.c&&(this.c=new rs(this,0)),pi(M$(this.c,(ha(),oN),!0));case 4:return uAe(this.a,(!this.c&&(this.c=new rs(this,0)),pi(M$(this.c,(ha(),oN),!0))));case 5:return this.a}return ud(this,n-_n((ha(),kE)),Nr((this.j&2)==0?kE:(!this.k&&(this.k=new ag),this.k).Nk(),n),s,u)},"Ime"),w.Wh=i(function(n){switch(n){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new rs(this,0)),y(Kc(this.c,(ha(),Dw)),160)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new rs(this,0)),pi(M$(this.c,(ha(),oN),!0))!=null;case 4:return uAe(this.a,(!this.c&&(this.c=new rs(this,0)),pi(M$(this.c,(ha(),oN),!0))))!=null;case 5:return!!this.a}return ld(this,n-_n((ha(),kE)),Nr((this.j&2)==0?kE:(!this.k&&(this.k=new ag),this.k).Nk(),n))},"Jme"),w.bi=i(function(n,s){switch(n){case 0:!this.c&&(this.c=new rs(this,0)),aF(this.c,s);return;case 1:(!this.c&&(this.c=new rs(this,0)),y(y(Kc(this.c,(ha(),Dw)),160),220)).Wb(s);return;case 2:!this.b&&(this.b=new rs(this,2)),aF(this.b,s);return;case 3:J8e(this,pi(s));return;case 4:J8e(this,cAe(this.a,s));return;case 5:HKr(this,y(s,156));return}pd(this,n-_n((ha(),kE)),Nr((this.j&2)==0?kE:(!this.k&&(this.k=new ag),this.k).Nk(),n),s)},"Kme"),w.ii=i(function(){return ha(),kE},"Lme"),w.ki=i(function(n){switch(n){case 0:!this.c&&(this.c=new rs(this,0)),Kn(this.c);return;case 1:(!this.c&&(this.c=new rs(this,0)),y(Kc(this.c,(ha(),Dw)),160)).$b();return;case 2:!this.b&&(this.b=new rs(this,2)),Kn(this.b);return;case 3:!this.c&&(this.c=new rs(this,0)),gX(this.c,(ha(),oN),null);return;case 4:J8e(this,cAe(this.a,null));return;case 5:this.a=null;return}dd(this,n-_n((ha(),kE)),Nr((this.j&2)==0?kE:(!this.k&&(this.k=new ag),this.k).Nk(),n))},"Mme");var FUi=j(Cs,"SimpleAnyTypeImpl",682);$(683,516,{110:1,94:1,93:1,58:1,54:1,99:1,2121:1,683:1},d4t),w.Lh=i(function(n,s,u){switch(n){case 0:return u?(!this.a&&(this.a=new rs(this,0)),this.a):(!this.a&&(this.a=new rs(this,0)),this.a.b);case 1:return u?(!this.b&&(this.b=new hh((Lr(),Jo),wc,this,1)),this.b):(!this.b&&(this.b=new hh((Lr(),Jo),wc,this,1)),kF(this.b));case 2:return u?(!this.c&&(this.c=new hh((Lr(),Jo),wc,this,2)),this.c):(!this.c&&(this.c=new hh((Lr(),Jo),wc,this,2)),kF(this.c));case 3:return!this.a&&(this.a=new rs(this,0)),Kc(this.a,(ha(),Ij));case 4:return!this.a&&(this.a=new rs(this,0)),Kc(this.a,(ha(),Nj));case 5:return!this.a&&(this.a=new rs(this,0)),Kc(this.a,(ha(),lN));case 6:return!this.a&&(this.a=new rs(this,0)),Kc(this.a,(ha(),cN))}return ud(this,n-_n((ha(),NT)),Nr((this.j&2)==0?NT:(!this.k&&(this.k=new ag),this.k).Nk(),n),s,u)},"Ome"),w.Uh=i(function(n,s,u){var d;switch(s){case 0:return!this.a&&(this.a=new rs(this,0)),R$(this.a,n,u);case 1:return!this.b&&(this.b=new hh((Lr(),Jo),wc,this,1)),yW(this.b,n,u);case 2:return!this.c&&(this.c=new hh((Lr(),Jo),wc,this,2)),yW(this.c,n,u);case 5:return!this.a&&(this.a=new rs(this,0)),D6t(Kc(this.a,(ha(),lN)),n,u)}return d=y(Nr((this.j&2)==0?(ha(),NT):(!this.k&&(this.k=new ag),this.k).Nk(),s),69),d.wk().Ak(this,V7e(this),s-_n((ha(),NT)),n,u)},"Pme"),w.Wh=i(function(n){switch(n){case 0:return!!this.a&&this.a.i!=0;case 1:return!!this.b&&this.b.f!=0;case 2:return!!this.c&&this.c.f!=0;case 3:return!this.a&&(this.a=new rs(this,0)),!Zq(Kc(this.a,(ha(),Ij)));case 4:return!this.a&&(this.a=new rs(this,0)),!Zq(Kc(this.a,(ha(),Nj)));case 5:return!this.a&&(this.a=new rs(this,0)),!Zq(Kc(this.a,(ha(),lN)));case 6:return!this.a&&(this.a=new rs(this,0)),!Zq(Kc(this.a,(ha(),cN)))}return ld(this,n-_n((ha(),NT)),Nr((this.j&2)==0?NT:(!this.k&&(this.k=new ag),this.k).Nk(),n))},"Qme"),w.bi=i(function(n,s){switch(n){case 0:!this.a&&(this.a=new rs(this,0)),aF(this.a,s);return;case 1:!this.b&&(this.b=new hh((Lr(),Jo),wc,this,1)),ZY(this.b,s);return;case 2:!this.c&&(this.c=new hh((Lr(),Jo),wc,this,2)),ZY(this.c,s);return;case 3:!this.a&&(this.a=new rs(this,0)),XS(Kc(this.a,(ha(),Ij))),!this.a&&(this.a=new rs(this,0)),eM(Kc(this.a,Ij),y(s,16));return;case 4:!this.a&&(this.a=new rs(this,0)),XS(Kc(this.a,(ha(),Nj))),!this.a&&(this.a=new rs(this,0)),eM(Kc(this.a,Nj),y(s,16));return;case 5:!this.a&&(this.a=new rs(this,0)),XS(Kc(this.a,(ha(),lN))),!this.a&&(this.a=new rs(this,0)),eM(Kc(this.a,lN),y(s,16));return;case 6:!this.a&&(this.a=new rs(this,0)),XS(Kc(this.a,(ha(),cN))),!this.a&&(this.a=new rs(this,0)),eM(Kc(this.a,cN),y(s,16));return}pd(this,n-_n((ha(),NT)),Nr((this.j&2)==0?NT:(!this.k&&(this.k=new ag),this.k).Nk(),n),s)},"Rme"),w.ii=i(function(){return ha(),NT},"Sme"),w.ki=i(function(n){switch(n){case 0:!this.a&&(this.a=new rs(this,0)),Kn(this.a);return;case 1:!this.b&&(this.b=new hh((Lr(),Jo),wc,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new hh((Lr(),Jo),wc,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new rs(this,0)),XS(Kc(this.a,(ha(),Ij)));return;case 4:!this.a&&(this.a=new rs(this,0)),XS(Kc(this.a,(ha(),Nj)));return;case 5:!this.a&&(this.a=new rs(this,0)),XS(Kc(this.a,(ha(),lN)));return;case 6:!this.a&&(this.a=new rs(this,0)),XS(Kc(this.a,(ha(),cN)));return}dd(this,n-_n((ha(),NT)),Nr((this.j&2)==0?NT:(!this.k&&(this.k=new ag),this.k).Nk(),n))},"Tme"),w.Ib=i(function(){var n;return(this.j&4)!=0?Pp(this):(n=new zd(Pp(this)),n.a+=" (mixed: ",X_(n,this.a),n.a+=")",n.a)},"Ume");var $Ui=j(Cs,"XMLTypeDocumentRootImpl",683);$(2028,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1,2122:1},Svt),w.ri=i(function(n,s){switch(n.hk()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return s==null?null:Hl(s);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return pi(s);case 6:return SZr(y(s,195));case 12:case 47:case 49:case 11:return Ajt(this,n,s);case 13:return s==null?null:Pkn(y(s,247));case 15:case 14:return s==null?null:znn(Qe(rt(s)));case 17:return CPt((ha(),s));case 18:return CPt(s);case 21:case 20:return s==null?null:Unn(y(s,161).a);case 27:return AZr(y(s,195));case 30:return FOt((ha(),y(s,15)));case 31:return FOt(y(s,15));case 40:return LZr((ha(),s));case 42:return EPt((ha(),s));case 43:return EPt(s);case 59:case 48:return RZr((ha(),s));default:throw me(new Jr(hR+n.xe()+uT))}},"sne"),w.si=i(function(n){var s,u,d,g,x;switch(n.G==-1&&(n.G=(u=Lf(n),u?Uy(u.vi(),n):-1)),n.G){case 0:return s=new jSe,s;case 1:return d=new Pvt,d;case 2:return g=new f4t,g;case 3:return x=new d4t,x;default:throw me(new Jr(zpe+n.zb+uT))}},"tne"),w.ti=i(function(n,s){var u,d,g,x,k,A,D,N,B,U,ee,ne,ue,fe,xe,Ie;switch(n.hk()){case 5:case 52:case 4:return s;case 6:return Opn(s);case 8:case 7:return s==null?null:xmn(s);case 9:return s==null?null:_F(Nf((d=Qc(s,!0),d.length>0&&(Zr(0,d.length),d.charCodeAt(0)==43)?(Zr(1,d.length+1),d.substr(1)):d),-128,127)<<24>>24);case 10:return s==null?null:_F(Nf((g=Qc(s,!0),g.length>0&&(Zr(0,g.length),g.charCodeAt(0)==43)?(Zr(1,g.length+1),g.substr(1)):g),-128,127)<<24>>24);case 11:return pi(rT(this,(ha(),oir),s));case 12:return pi(rT(this,(ha(),lir),s));case 13:return s==null?null:new h5e(Qc(s,!0));case 15:case 14:return Vvn(s);case 16:return pi(rT(this,(ha(),cir),s));case 17:return GNt((ha(),s));case 18:return GNt(s);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Qc(s,!0);case 21:case 20:return e2n(s);case 22:return pi(rT(this,(ha(),uir),s));case 23:return pi(rT(this,(ha(),hir),s));case 24:return pi(rT(this,(ha(),fir),s));case 25:return pi(rT(this,(ha(),dir),s));case 26:return pi(rT(this,(ha(),pir),s));case 27:return kpn(s);case 30:return jNt((ha(),s));case 31:return jNt(s);case 32:return s==null?null:_t(Nf((B=Qc(s,!0),B.length>0&&(Zr(0,B.length),B.charCodeAt(0)==43)?(Zr(1,B.length+1),B.substr(1)):B),No,Yi));case 33:return s==null?null:new Yb((U=Qc(s,!0),U.length>0&&(Zr(0,U.length),U.charCodeAt(0)==43)?(Zr(1,U.length+1),U.substr(1)):U));case 34:return s==null?null:_t(Nf((ee=Qc(s,!0),ee.length>0&&(Zr(0,ee.length),ee.charCodeAt(0)==43)?(Zr(1,ee.length+1),ee.substr(1)):ee),No,Yi));case 36:return s==null?null:F1(vX((ne=Qc(s,!0),ne.length>0&&(Zr(0,ne.length),ne.charCodeAt(0)==43)?(Zr(1,ne.length+1),ne.substr(1)):ne)));case 37:return s==null?null:F1(vX((ue=Qc(s,!0),ue.length>0&&(Zr(0,ue.length),ue.charCodeAt(0)==43)?(Zr(1,ue.length+1),ue.substr(1)):ue)));case 40:return wgn((ha(),s));case 42:return zNt((ha(),s));case 43:return zNt(s);case 44:return s==null?null:new Yb((fe=Qc(s,!0),fe.length>0&&(Zr(0,fe.length),fe.charCodeAt(0)==43)?(Zr(1,fe.length+1),fe.substr(1)):fe));case 45:return s==null?null:new Yb((xe=Qc(s,!0),xe.length>0&&(Zr(0,xe.length),xe.charCodeAt(0)==43)?(Zr(1,xe.length+1),xe.substr(1)):xe));case 46:return Qc(s,!1);case 47:return pi(rT(this,(ha(),gir),s));case 59:case 48:return vgn((ha(),s));case 49:return pi(rT(this,(ha(),mir),s));case 50:return s==null?null:b7(Nf((Ie=Qc(s,!0),Ie.length>0&&(Zr(0,Ie.length),Ie.charCodeAt(0)==43)?(Zr(1,Ie.length+1),Ie.substr(1)):Ie),CQ,32767)<<16>>16);case 51:return s==null?null:b7(Nf((x=Qc(s,!0),x.length>0&&(Zr(0,x.length),x.charCodeAt(0)==43)?(Zr(1,x.length+1),x.substr(1)):x),CQ,32767)<<16>>16);case 53:return pi(rT(this,(ha(),yir),s));case 55:return s==null?null:b7(Nf((k=Qc(s,!0),k.length>0&&(Zr(0,k.length),k.charCodeAt(0)==43)?(Zr(1,k.length+1),k.substr(1)):k),CQ,32767)<<16>>16);case 56:return s==null?null:b7(Nf((A=Qc(s,!0),A.length>0&&(Zr(0,A.length),A.charCodeAt(0)==43)?(Zr(1,A.length+1),A.substr(1)):A),CQ,32767)<<16>>16);case 57:return s==null?null:F1(vX((D=Qc(s,!0),D.length>0&&(Zr(0,D.length),D.charCodeAt(0)==43)?(Zr(1,D.length+1),D.substr(1)):D)));case 58:return s==null?null:F1(vX((N=Qc(s,!0),N.length>0&&(Zr(0,N.length),N.charCodeAt(0)==43)?(Zr(1,N.length+1),N.substr(1)):N)));case 60:return s==null?null:_t(Nf((u=Qc(s,!0),u.length>0&&(Zr(0,u.length),u.charCodeAt(0)==43)?(Zr(1,u.length+1),u.substr(1)):u),No,Yi));case 61:return s==null?null:_t(Nf(Qc(s,!0),No,Yi));default:throw me(new Jr(hR+n.xe()+uT))}},"une");var vir,HVe,wir,qVe,GUi=j(Cs,"XMLTypeFactoryImpl",2028);$(594,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1,2044:1,594:1},h7t),w.N=!1,w.O=!1;var xir=!1,jUi=j(Cs,"XMLTypePackageImpl",594);$(1961,1,{851:1},Avt),w.Kk=i(function(){return xMe(),Dir},"Fne");var zUi=j(Cs,"XMLTypePackageImpl/1",1961);$(1970,1,Fi,Rvt),w.fk=i(function(n){return oo(n)},"Hne"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"Ine");var UUi=j(Cs,"XMLTypePackageImpl/10",1970);$(1971,1,Fi,Lvt),w.fk=i(function(n){return oo(n)},"Kne"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"Lne");var VUi=j(Cs,"XMLTypePackageImpl/11",1971);$(1972,1,Fi,Dvt),w.fk=i(function(n){return oo(n)},"Nne"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"One");var HUi=j(Cs,"XMLTypePackageImpl/12",1972);$(1973,1,Fi,_vt),w.fk=i(function(n){return Sk(n)},"Qne"),w.gk=i(function(n){return ot(Es,Lt,345,n,7,1)},"Rne");var qUi=j(Cs,"XMLTypePackageImpl/13",1973);$(1974,1,Fi,Mvt),w.fk=i(function(n){return oo(n)},"Tne"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"Une");var WUi=j(Cs,"XMLTypePackageImpl/14",1974);$(1975,1,Fi,Ivt),w.fk=i(function(n){return $e(n,15)},"Wne"),w.gk=i(function(n){return ot(Td,h3,15,n,0,1)},"Xne");var YUi=j(Cs,"XMLTypePackageImpl/15",1975);$(1976,1,Fi,Nvt),w.fk=i(function(n){return $e(n,15)},"Zne"),w.gk=i(function(n){return ot(Td,h3,15,n,0,1)},"$ne");var KUi=j(Cs,"XMLTypePackageImpl/16",1976);$(1977,1,Fi,Ovt),w.fk=i(function(n){return oo(n)},"aoe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"boe");var XUi=j(Cs,"XMLTypePackageImpl/17",1977);$(1978,1,Fi,Bvt),w.fk=i(function(n){return $e(n,161)},"doe"),w.gk=i(function(n){return ot(bR,Lt,161,n,0,1)},"eoe");var QUi=j(Cs,"XMLTypePackageImpl/18",1978);$(1979,1,Fi,Fvt),w.fk=i(function(n){return oo(n)},"goe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"hoe");var JUi=j(Cs,"XMLTypePackageImpl/19",1979);$(1962,1,Fi,$vt),w.fk=i(function(n){return $e(n,857)},"joe"),w.gk=i(function(n){return ot(_j,Gr,857,n,0,1)},"koe");var ZUi=j(Cs,"XMLTypePackageImpl/2",1962);$(1980,1,Fi,Gvt),w.fk=i(function(n){return oo(n)},"moe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"noe");var eVi=j(Cs,"XMLTypePackageImpl/20",1980);$(1981,1,Fi,jvt),w.fk=i(function(n){return oo(n)},"poe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"qoe");var tVi=j(Cs,"XMLTypePackageImpl/21",1981);$(1982,1,Fi,zvt),w.fk=i(function(n){return oo(n)},"soe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"toe");var rVi=j(Cs,"XMLTypePackageImpl/22",1982);$(1983,1,Fi,Uvt),w.fk=i(function(n){return oo(n)},"voe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"woe");var nVi=j(Cs,"XMLTypePackageImpl/23",1983);$(1984,1,Fi,Vvt),w.fk=i(function(n){return $e(n,195)},"yoe"),w.gk=i(function(n){return ot(bh,Lt,195,n,0,2)},"zoe");var iVi=j(Cs,"XMLTypePackageImpl/24",1984);$(1985,1,Fi,Hvt),w.fk=i(function(n){return oo(n)},"Boe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"Coe");var aVi=j(Cs,"XMLTypePackageImpl/25",1985);$(1986,1,Fi,qvt),w.fk=i(function(n){return oo(n)},"Eoe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"Foe");var sVi=j(Cs,"XMLTypePackageImpl/26",1986);$(1987,1,Fi,Wvt),w.fk=i(function(n){return $e(n,15)},"Hoe"),w.gk=i(function(n){return ot(Td,h3,15,n,0,1)},"Ioe");var oVi=j(Cs,"XMLTypePackageImpl/27",1987);$(1988,1,Fi,Yvt),w.fk=i(function(n){return $e(n,15)},"Koe"),w.gk=i(function(n){return ot(Td,h3,15,n,0,1)},"Loe");var lVi=j(Cs,"XMLTypePackageImpl/28",1988);$(1989,1,Fi,Kvt),w.fk=i(function(n){return oo(n)},"Noe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"Ooe");var cVi=j(Cs,"XMLTypePackageImpl/29",1989);$(1963,1,Fi,Xvt),w.fk=i(function(n){return $e(n,681)},"Qoe"),w.gk=i(function(n){return ot(eee,Gr,2119,n,0,1)},"Roe");var uVi=j(Cs,"XMLTypePackageImpl/3",1963);$(1990,1,Fi,Qvt),w.fk=i(function(n){return $e(n,17)},"Toe"),w.gk=i(function(n){return ot(Ro,Lt,17,n,0,1)},"Uoe");var hVi=j(Cs,"XMLTypePackageImpl/30",1990);$(1991,1,Fi,Jvt),w.fk=i(function(n){return oo(n)},"Woe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"Xoe");var fVi=j(Cs,"XMLTypePackageImpl/31",1991);$(1992,1,Fi,Zvt),w.fk=i(function(n){return $e(n,168)},"Zoe"),w.gk=i(function(n){return ot(fT,Lt,168,n,0,1)},"$oe");var dVi=j(Cs,"XMLTypePackageImpl/32",1992);$(1993,1,Fi,e2t),w.fk=i(function(n){return oo(n)},"ape"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"bpe");var pVi=j(Cs,"XMLTypePackageImpl/33",1993);$(1994,1,Fi,t2t),w.fk=i(function(n){return oo(n)},"dpe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"epe");var gVi=j(Cs,"XMLTypePackageImpl/34",1994);$(1995,1,Fi,r2t),w.fk=i(function(n){return oo(n)},"gpe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"hpe");var mVi=j(Cs,"XMLTypePackageImpl/35",1995);$(1996,1,Fi,n2t),w.fk=i(function(n){return oo(n)},"jpe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"kpe");var yVi=j(Cs,"XMLTypePackageImpl/36",1996);$(1997,1,Fi,i2t),w.fk=i(function(n){return $e(n,15)},"mpe"),w.gk=i(function(n){return ot(Td,h3,15,n,0,1)},"npe");var bVi=j(Cs,"XMLTypePackageImpl/37",1997);$(1998,1,Fi,a2t),w.fk=i(function(n){return $e(n,15)},"ppe"),w.gk=i(function(n){return ot(Td,h3,15,n,0,1)},"qpe");var vVi=j(Cs,"XMLTypePackageImpl/38",1998);$(1999,1,Fi,s2t),w.fk=i(function(n){return oo(n)},"spe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"tpe");var wVi=j(Cs,"XMLTypePackageImpl/39",1999);$(1964,1,Fi,o2t),w.fk=i(function(n){return $e(n,682)},"vpe"),w.gk=i(function(n){return ot(Mj,Gr,2120,n,0,1)},"wpe");var xVi=j(Cs,"XMLTypePackageImpl/4",1964);$(2e3,1,Fi,l2t),w.fk=i(function(n){return oo(n)},"ype"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"zpe");var TVi=j(Cs,"XMLTypePackageImpl/40",2e3);$(2001,1,Fi,c2t),w.fk=i(function(n){return oo(n)},"Bpe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"Cpe");var kVi=j(Cs,"XMLTypePackageImpl/41",2001);$(2002,1,Fi,u2t),w.fk=i(function(n){return oo(n)},"Epe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"Fpe");var CVi=j(Cs,"XMLTypePackageImpl/42",2002);$(2003,1,Fi,h2t),w.fk=i(function(n){return oo(n)},"Hpe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"Ipe");var EVi=j(Cs,"XMLTypePackageImpl/43",2003);$(2004,1,Fi,f2t),w.fk=i(function(n){return oo(n)},"Kpe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"Lpe");var SVi=j(Cs,"XMLTypePackageImpl/44",2004);$(2005,1,Fi,d2t),w.fk=i(function(n){return $e(n,191)},"Npe"),w.gk=i(function(n){return ot(dT,Lt,191,n,0,1)},"Ope");var AVi=j(Cs,"XMLTypePackageImpl/45",2005);$(2006,1,Fi,p2t),w.fk=i(function(n){return oo(n)},"Qpe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"Rpe");var RVi=j(Cs,"XMLTypePackageImpl/46",2006);$(2007,1,Fi,g2t),w.fk=i(function(n){return oo(n)},"Tpe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"Upe");var LVi=j(Cs,"XMLTypePackageImpl/47",2007);$(2008,1,Fi,m2t),w.fk=i(function(n){return oo(n)},"Wpe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"Xpe");var DVi=j(Cs,"XMLTypePackageImpl/48",2008);$(2009,1,Fi,y2t),w.fk=i(function(n){return $e(n,191)},"Zpe"),w.gk=i(function(n){return ot(dT,Lt,191,n,0,1)},"$pe");var _Vi=j(Cs,"XMLTypePackageImpl/49",2009);$(1965,1,Fi,b2t),w.fk=i(function(n){return $e(n,683)},"aqe"),w.gk=i(function(n){return ot(UVe,Gr,2121,n,0,1)},"bqe");var MVi=j(Cs,"XMLTypePackageImpl/5",1965);$(2010,1,Fi,v2t),w.fk=i(function(n){return $e(n,168)},"dqe"),w.gk=i(function(n){return ot(fT,Lt,168,n,0,1)},"eqe");var IVi=j(Cs,"XMLTypePackageImpl/50",2010);$(2011,1,Fi,w2t),w.fk=i(function(n){return oo(n)},"gqe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"hqe");var NVi=j(Cs,"XMLTypePackageImpl/51",2011);$(2012,1,Fi,x2t),w.fk=i(function(n){return $e(n,17)},"jqe"),w.gk=i(function(n){return ot(Ro,Lt,17,n,0,1)},"kqe");var OVi=j(Cs,"XMLTypePackageImpl/52",2012);$(1966,1,Fi,T2t),w.fk=i(function(n){return oo(n)},"mqe"),w.gk=i(function(n){return ot(Jt,Lt,2,n,6,1)},"nqe");var PVi=j(Cs,"XMLTypePackageImpl/6",1966);$(1967,1,Fi,k2t),w.fk=i(function(n){return $e(n,195)},"pqe"),w.gk=i(function(n){return ot(bh,Lt,195,n,0,2)},"qqe");var BVi=j(Cs,"XMLTypePackageImpl/7",1967);$(1968,1,Fi,C2t),w.fk=i(function(n){return Ek(n)},"sqe"),w.gk=i(function(n){return ot(os,Lt,485,n,8,1)},"tqe");var FVi=j(Cs,"XMLTypePackageImpl/8",1968);$(1969,1,Fi,E2t),w.fk=i(function(n){return $e(n,222)},"vqe"),w.gk=i(function(n){return ot(l6,Lt,222,n,0,1)},"wqe");var $Vi=j(Cs,"XMLTypePackageImpl/9",1969),u0,hb,uN,tee,Re;$(55,63,z1,yi);var GVi=j(Qy,"RegEx/ParseException",55);$(836,1,{},zEe),w.bm=i(function(n){return nu*16)throw me(new yi(xi((hi(),zHt))));u=u*16+g}while(!0);if(this.a!=125)throw me(new yi(xi((hi(),UHt))));if(u>gR)throw me(new yi(xi((hi(),VHt))));n=u}else{if(g=0,this.c!=0||(g=J2(this.a))<0)throw me(new yi(xi((hi(),Xy))));if(u=g,qi(this),this.c!=0||(g=J2(this.a))<0)throw me(new yi(xi((hi(),Xy))));u=u*16+g,n=u}break;case 117:if(d=0,qi(this),this.c!=0||(d=J2(this.a))<0)throw me(new yi(xi((hi(),Xy))));if(s=d,qi(this),this.c!=0||(d=J2(this.a))<0)throw me(new yi(xi((hi(),Xy))));if(s=s*16+d,qi(this),this.c!=0||(d=J2(this.a))<0)throw me(new yi(xi((hi(),Xy))));if(s=s*16+d,qi(this),this.c!=0||(d=J2(this.a))<0)throw me(new yi(xi((hi(),Xy))));s=s*16+d,n=s;break;case 118:if(qi(this),this.c!=0||(d=J2(this.a))<0)throw me(new yi(xi((hi(),Xy))));if(s=d,qi(this),this.c!=0||(d=J2(this.a))<0)throw me(new yi(xi((hi(),Xy))));if(s=s*16+d,qi(this),this.c!=0||(d=J2(this.a))<0)throw me(new yi(xi((hi(),Xy))));if(s=s*16+d,qi(this),this.c!=0||(d=J2(this.a))<0)throw me(new yi(xi((hi(),Xy))));if(s=s*16+d,qi(this),this.c!=0||(d=J2(this.a))<0)throw me(new yi(xi((hi(),Xy))));if(s=s*16+d,qi(this),this.c!=0||(d=J2(this.a))<0)throw me(new yi(xi((hi(),Xy))));if(s=s*16+d,s>gR)throw me(new yi(xi((hi(),"parser.descappe.4"))));n=s;break;case 65:case 90:case 122:throw me(new yi(xi((hi(),HHt))))}return n},"Vqe"),w.dm=i(function(n){var s,u;switch(n){case 100:u=(this.e&32)==32?pv("Nd",!0):(Wi(),ree);break;case 68:u=(this.e&32)==32?pv("Nd",!1):(Wi(),JVe);break;case 119:u=(this.e&32)==32?pv("IsWord",!0):(Wi(),rL);break;case 87:u=(this.e&32)==32?pv("IsWord",!1):(Wi(),eHe);break;case 115:u=(this.e&32)==32?pv("IsSpace",!0):(Wi(),I6);break;case 83:u=(this.e&32)==32?pv("IsSpace",!1):(Wi(),ZVe);break;default:throw me(new ec((s=n,Hqt+s.toString(16))))}return u},"Wqe"),w.em=i(function(n){var s,u,d,g,x,k,A,D,N,B,U,ee;for(this.b=1,qi(this),s=null,this.c==0&&this.a==94?(qi(this),n?B=(Wi(),Wi(),++Ja,new Rf(5)):(s=(Wi(),Wi(),++Ja,new Rf(4)),Xc(s,0,gR),B=(++Ja,new Rf(4)))):B=(Wi(),Wi(),++Ja,new Rf(4)),g=!0;(ee=this.c)!=1&&!(ee==0&&this.a==93&&!g);){if(g=!1,u=this.a,d=!1,ee==10)switch(u){case 100:case 68:case 119:case 87:case 115:case 83:o3(B,this.dm(u)),d=!0;break;case 105:case 73:case 99:case 67:u=this.um(B,u),u<0&&(d=!0);break;case 112:case 80:if(U=v_e(this,u),!U)throw me(new yi(xi((hi(),tge))));o3(B,U),d=!0;break;default:u=this.cm()}else if(ee==20){if(k=E8(this.i,58,this.d),k<0)throw me(new yi(xi((hi(),kOe))));if(A=!0,Mo(this.i,this.d)==94&&(++this.d,A=!1),x=od(this.i,this.d,k),D=m_t(x,A,(this.e&512)==512),!D)throw me(new yi(xi((hi(),BHt))));if(o3(B,D),d=!0,k+1>=this.j||Mo(this.i,k+1)!=93)throw me(new yi(xi((hi(),kOe))));this.d=k+2}if(qi(this),!d)if(this.c!=0||this.a!=45)Xc(B,u,u);else{if(qi(this),(ee=this.c)==1)throw me(new yi(xi((hi(),yQ))));ee==0&&this.a==93?(Xc(B,u,u),Xc(B,45,45)):(N=this.a,ee==10&&(N=this.cm()),qi(this),Xc(B,u,N))}(this.e&$p)==$p&&this.c==0&&this.a==44&&qi(this)}if(this.c==1)throw me(new yi(xi((hi(),yQ))));return s&&(x9(s,B),B=s),TC(B),v9(B),this.b=0,qi(this),B},"Yqe"),w.fm=i(function(){var n,s,u,d;for(u=this.em(!1);(d=this.c)!=7;)if(n=this.a,d==0&&(n==45||n==38)||d==4){if(qi(this),this.c!=9)throw me(new yi(xi((hi(),$Ht))));if(s=this.em(!1),d==4)o3(u,s);else if(n==45)x9(u,s);else if(n==38)kjt(u,s);else throw me(new ec("ASSERT"))}else throw me(new yi(xi((hi(),GHt))));return qi(this),u},"Zqe"),w.gm=i(function(){var n,s;return n=this.a-48,s=(Wi(),Wi(),++Ja,new lce(12,null,n)),!this.g&&(this.g=new hq),uq(this.g,new kSe(n)),qi(this),s},"$qe"),w.hm=i(function(){return qi(this),Wi(),Cir},"_qe"),w.im=i(function(){return qi(this),Wi(),kir},"are"),w.jm=i(function(){throw me(new yi(xi((hi(),xd))))},"bre"),w.km=i(function(){throw me(new yi(xi((hi(),xd))))},"cre"),w.lm=i(function(){return qi(this),Fhn()},"dre"),w.mm=i(function(){return qi(this),Wi(),Sir},"ere"),w.nm=i(function(){return qi(this),Wi(),Rir},"fre"),w.om=i(function(){var n;if(this.d>=this.j||((n=Mo(this.i,this.d++))&65504)!=64)throw me(new yi(xi((hi(),NHt))));return qi(this),Wi(),Wi(),++Ja,new Mm(0,n-64)},"gre"),w.pm=i(function(){return qi(this),jTn()},"hre"),w.qm=i(function(){return qi(this),Wi(),Lir},"ire"),w.rm=i(function(){var n;return n=(Wi(),Wi(),++Ja,new Mm(0,105)),qi(this),n},"jre"),w.sm=i(function(){return qi(this),Wi(),Air},"kre"),w.tm=i(function(){return qi(this),Wi(),Eir},"lre"),w.um=i(function(n,s){return this.cm()},"mre"),w.vm=i(function(){return qi(this),Wi(),XVe},"nre"),w.wm=i(function(){var n,s,u,d,g;if(this.d+1>=this.j)throw me(new yi(xi((hi(),_Ht))));if(d=-1,s=null,n=Mo(this.i,this.d),49<=n&&n<=57){if(d=n-48,!this.g&&(this.g=new hq),uq(this.g,new kSe(d)),++this.d,Mo(this.i,this.d)!=41)throw me(new yi(xi((hi(),hw))));++this.d}else switch(n==63&&--this.d,qi(this),s=qMe(this),s.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw me(new yi(xi((hi(),hw))));break;default:throw me(new yi(xi((hi(),MHt))))}if(qi(this),g=Yx(this),u=null,g.e==2){if(g.Pm()!=2)throw me(new yi(xi((hi(),IHt))));u=g.Lm(1),g=g.Lm(0)}if(this.c!=7)throw me(new yi(xi((hi(),hw))));return qi(this),Wi(),Wi(),++Ja,new Q_t(d,s,g,u)},"ore"),w.xm=i(function(){return qi(this),Wi(),QVe},"pre"),w.ym=i(function(){var n;if(qi(this),n=zW(24,Yx(this)),this.c!=7)throw me(new yi(xi((hi(),hw))));return qi(this),n},"qre"),w.zm=i(function(){var n;if(qi(this),n=zW(20,Yx(this)),this.c!=7)throw me(new yi(xi((hi(),hw))));return qi(this),n},"rre"),w.Am=i(function(){var n;if(qi(this),n=zW(22,Yx(this)),this.c!=7)throw me(new yi(xi((hi(),hw))));return qi(this),n},"sre"),w.Bm=i(function(){var n,s,u,d,g;for(n=0,u=0,s=-1;this.d=this.j)throw me(new yi(xi((hi(),xOe))));if(s==45){for(++this.d;this.d=this.j)throw me(new yi(xi((hi(),xOe))))}if(s==58){if(++this.d,qi(this),d=q8t(Yx(this),n,u),this.c!=7)throw me(new yi(xi((hi(),hw))));qi(this)}else if(s==41)++this.d,qi(this),d=q8t(Yx(this),n,u);else throw me(new yi(xi((hi(),DHt))));return d},"tre"),w.Cm=i(function(){var n;if(qi(this),n=zW(21,Yx(this)),this.c!=7)throw me(new yi(xi((hi(),hw))));return qi(this),n},"ure"),w.Dm=i(function(){var n;if(qi(this),n=zW(23,Yx(this)),this.c!=7)throw me(new yi(xi((hi(),hw))));return qi(this),n},"vre"),w.Em=i(function(){var n,s;if(qi(this),n=this.f++,s=Ple(Yx(this),n),this.c!=7)throw me(new yi(xi((hi(),hw))));return qi(this),s},"wre"),w.Fm=i(function(){var n;if(qi(this),n=Ple(Yx(this),0),this.c!=7)throw me(new yi(xi((hi(),hw))));return qi(this),n},"xre"),w.Gm=i(function(n){return qi(this),this.c==5?(qi(this),IW(n,(Wi(),Wi(),++Ja,new Fk(9,n)))):IW(n,(Wi(),Wi(),++Ja,new Fk(3,n)))},"yre"),w.Hm=i(function(n){var s;return qi(this),s=(Wi(),Wi(),++Ja,new Z_(2)),this.c==5?(qi(this),tw(s,fN),tw(s,n)):(tw(s,n),tw(s,fN)),s},"zre"),w.Im=i(function(n){return qi(this),this.c==5?(qi(this),Wi(),Wi(),++Ja,new Fk(9,n)):(Wi(),Wi(),++Ja,new Fk(3,n))},"Are"),w.a=0,w.b=0,w.c=0,w.d=0,w.e=0,w.f=1,w.g=null,w.j=0;var jVi=j(Qy,"RegEx/RegexParser",836);$(1947,836,{},p4t),w.bm=i(function(n){return!1},"Hre"),w.cm=i(function(){return eMe(this)},"Ire"),w.dm=i(function(n){return G7(n)},"Kre"),w.em=i(function(n){return bzt(this)},"Lre"),w.fm=i(function(){throw me(new yi(xi((hi(),xd))))},"Mre"),w.gm=i(function(){throw me(new yi(xi((hi(),xd))))},"Nre"),w.hm=i(function(){throw me(new yi(xi((hi(),xd))))},"Ore"),w.im=i(function(){throw me(new yi(xi((hi(),xd))))},"Pre"),w.jm=i(function(){return qi(this),G7(67)},"Qre"),w.km=i(function(){return qi(this),G7(73)},"Rre"),w.lm=i(function(){throw me(new yi(xi((hi(),xd))))},"Sre"),w.mm=i(function(){throw me(new yi(xi((hi(),xd))))},"Tre"),w.nm=i(function(){throw me(new yi(xi((hi(),xd))))},"Ure"),w.om=i(function(){return qi(this),G7(99)},"Vre"),w.pm=i(function(){throw me(new yi(xi((hi(),xd))))},"Wre"),w.qm=i(function(){throw me(new yi(xi((hi(),xd))))},"Xre"),w.rm=i(function(){return qi(this),G7(105)},"Yre"),w.sm=i(function(){throw me(new yi(xi((hi(),xd))))},"Zre"),w.tm=i(function(){throw me(new yi(xi((hi(),xd))))},"$re"),w.um=i(function(n,s){return o3(n,G7(s)),-1},"_re"),w.vm=i(function(){return qi(this),Wi(),Wi(),++Ja,new Mm(0,94)},"ase"),w.wm=i(function(){throw me(new yi(xi((hi(),xd))))},"bse"),w.xm=i(function(){return qi(this),Wi(),Wi(),++Ja,new Mm(0,36)},"cse"),w.ym=i(function(){throw me(new yi(xi((hi(),xd))))},"dse"),w.zm=i(function(){throw me(new yi(xi((hi(),xd))))},"ese"),w.Am=i(function(){throw me(new yi(xi((hi(),xd))))},"fse"),w.Bm=i(function(){throw me(new yi(xi((hi(),xd))))},"gse"),w.Cm=i(function(){throw me(new yi(xi((hi(),xd))))},"hse"),w.Dm=i(function(){throw me(new yi(xi((hi(),xd))))},"ise"),w.Em=i(function(){var n;if(qi(this),n=Ple(Yx(this),0),this.c!=7)throw me(new yi(xi((hi(),hw))));return qi(this),n},"jse"),w.Fm=i(function(){throw me(new yi(xi((hi(),xd))))},"kse"),w.Gm=i(function(n){return qi(this),IW(n,(Wi(),Wi(),++Ja,new Fk(3,n)))},"lse"),w.Hm=i(function(n){var s;return qi(this),s=(Wi(),Wi(),++Ja,new Z_(2)),tw(s,n),tw(s,fN),s},"mse"),w.Im=i(function(n){return qi(this),Wi(),Wi(),++Ja,new Fk(3,n)},"nse");var CE=null,eL=null,zVi=j(Qy,"RegEx/ParserForXMLSchema",1947);$(122,1,mR,ax),w.Jm=i(function(n){throw me(new ec("Not supported."))},"Xse"),w.Km=i(function(){return-1},"dte"),w.Lm=i(function(n){return null},"ete"),w.Mm=i(function(){return null},"jte"),w.Nm=i(function(n){},"mte"),w.Om=i(function(n){},"nte"),w.Pm=i(function(){return 0},"ote"),w.Ib=i(function(){return this.Qm(0)},"pte"),w.Qm=i(function(n){return this.e==11?".":""},"qte"),w.e=0;var WVe,tL,hN,Tir,YVe,K3=null,ree,uye=null,KVe,fN,hye=null,XVe,QVe,JVe,ZVe,eHe,kir,I6,Cir,Eir,Sir,Air,rL,Rir,Lir,Ja=0,QEn=j(Qy,"RegEx/Token",122);$(138,122,{3:1,138:1,122:1},Rf),w.Qm=i(function(n){var s,u,d;if(this.e==4)if(this==KVe)u=".";else if(this==ree)u="\\d";else if(this==rL)u="\\w";else if(this==I6)u="\\s";else{for(d=new Ty,d.a+="[",s=0;s0&&(d.a+=","),this.b[s]===this.b[s+1]?pl(d,_$(this.b[s])):(pl(d,_$(this.b[s])),d.a+="-",pl(d,_$(this.b[s+1])));d.a+="]",u=d.a}else if(this==JVe)u="\\D";else if(this==eHe)u="\\W";else if(this==ZVe)u="\\S";else{for(d=new Ty,d.a+="[^",s=0;s0&&(d.a+=","),this.b[s]===this.b[s+1]?pl(d,_$(this.b[s])):(pl(d,_$(this.b[s])),d.a+="-",pl(d,_$(this.b[s+1])));d.a+="]",u=d.a}return u},"Ate"),w.a=!1,w.c=!1;var UVi=j(Qy,"RegEx/RangeToken",138);$(592,1,{592:1},kSe),w.a=0;var VVi=j(Qy,"RegEx/RegexParser/ReferencePosition",592);$(591,1,{3:1,591:1},LCt),w.Fb=i(function(n){var s;return n==null||!$e(n,591)?!1:(s=y(n,591),kr(this.b,s.b)&&this.a==s.a)},"Ete"),w.Hb=i(function(){return Py(this.b+"/"+W_e(this.a))},"Fte"),w.Ib=i(function(){return this.c.Qm(this.a)},"Gte"),w.a=0;var HVi=j(Qy,"RegEx/RegularExpression",591);$(228,122,mR,Mm),w.Km=i(function(){return this.a},"Ite"),w.Qm=i(function(n){var s,u,d;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:d="\\"+hle(this.a&ks);break;case 12:d="\\f";break;case 10:d="\\n";break;case 13:d="\\r";break;case 9:d="\\t";break;case 27:d="\\e";break;default:this.a>=Xo?(u=(s=this.a>>>0,"0"+s.toString(16)),d="\\v"+od(u,u.length-6,u.length)):d=""+hle(this.a&ks)}break;case 8:this==XVe||this==QVe?d=""+hle(this.a&ks):d="\\"+hle(this.a&ks);break;default:d=null}return d},"Jte"),w.a=0;var qVi=j(Qy,"RegEx/Token/CharToken",228);$(318,122,mR,Fk),w.Lm=i(function(n){return this.a},"Lte"),w.Nm=i(function(n){this.b=n},"Mte"),w.Om=i(function(n){this.c=n},"Nte"),w.Pm=i(function(){return 1},"Ote"),w.Qm=i(function(n){var s;if(this.e==3)if(this.c<0&&this.b<0)s=this.a.Qm(n)+"*";else if(this.c==this.b)s=this.a.Qm(n)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)s=this.a.Qm(n)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)s=this.a.Qm(n)+"{"+this.c+",}";else throw me(new ec("Token#toString(): CLOSURE "+this.c+Ho+this.b));else if(this.c<0&&this.b<0)s=this.a.Qm(n)+"*?";else if(this.c==this.b)s=this.a.Qm(n)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)s=this.a.Qm(n)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)s=this.a.Qm(n)+"{"+this.c+",}?";else throw me(new ec("Token#toString(): NONGREEDYCLOSURE "+this.c+Ho+this.b));return s},"Pte"),w.b=0,w.c=0;var WVi=j(Qy,"RegEx/Token/ClosureToken",318);$(837,122,mR,f8e),w.Lm=i(function(n){return n==0?this.a:this.b},"Rte"),w.Pm=i(function(){return 2},"Ste"),w.Qm=i(function(n){var s;return this.b.e==3&&this.b.Lm(0)==this.a?s=this.a.Qm(n)+"+":this.b.e==9&&this.b.Lm(0)==this.a?s=this.a.Qm(n)+"+?":s=this.a.Qm(n)+(""+this.b.Qm(n)),s},"Tte");var YVi=j(Qy,"RegEx/Token/ConcatToken",837);$(1945,122,mR,Q_t),w.Lm=i(function(n){if(n==0)return this.d;if(n==1)return this.b;throw me(new ec("Internal Error: "+n))},"Vte"),w.Pm=i(function(){return this.b?2:1},"Wte"),w.Qm=i(function(n){var s;return this.c>0?s="(?("+this.c+")":this.a.e==8?s="(?("+this.a+")":s="(?"+this.a,this.b?s+=this.d+"|"+this.b+")":s+=this.d+")",s},"Xte"),w.c=0;var KVi=j(Qy,"RegEx/Token/ConditionToken",1945);$(1946,122,mR,jRt),w.Lm=i(function(n){return this.b},"Zte"),w.Pm=i(function(){return 1},"$te"),w.Qm=i(function(n){return"(?"+(this.a==0?"":W_e(this.a))+(this.c==0?"":W_e(this.c))+":"+this.b.Qm(n)+")"},"_te"),w.a=0,w.c=0;var XVi=j(Qy,"RegEx/Token/ModifierToken",1946);$(838,122,mR,T8e),w.Lm=i(function(n){return this.a},"bue"),w.Pm=i(function(){return 1},"cue"),w.Qm=i(function(n){var s;switch(s=null,this.e){case 6:this.b==0?s="(?:"+this.a.Qm(n)+")":s="("+this.a.Qm(n)+")";break;case 20:s="(?="+this.a.Qm(n)+")";break;case 21:s="(?!"+this.a.Qm(n)+")";break;case 22:s="(?<="+this.a.Qm(n)+")";break;case 23:s="(?"+this.a.Qm(n)+")"}return s},"due"),w.b=0;var QVi=j(Qy,"RegEx/Token/ParenToken",838);$(530,122,{3:1,122:1,530:1},lce),w.Mm=i(function(){return this.b},"fue"),w.Qm=i(function(n){return this.e==12?"\\"+this.a:Ivn(this.b)},"gue"),w.a=0;var JVi=j(Qy,"RegEx/Token/StringToken",530);$(477,122,mR,Z_),w.Jm=i(function(n){tw(this,n)},"jue"),w.Lm=i(function(n){return y(Dx(this.a,n),122)},"kue"),w.Pm=i(function(){return this.a?this.a.a.c.length:0},"lue"),w.Qm=i(function(n){var s,u,d,g,x;if(this.e==1){if(this.a.a.c.length==2)s=y(Dx(this.a,0),122),u=y(Dx(this.a,1),122),u.e==3&&u.Lm(0)==s?g=s.Qm(n)+"+":u.e==9&&u.Lm(0)==s?g=s.Qm(n)+"+?":g=s.Qm(n)+(""+u.Qm(n));else{for(x=new Ty,d=0;d=this.c.b:this.a<=this.c.b},"Uue"),w.Sb=i(function(){return this.b>0},"Vue"),w.Tb=i(function(){return this.b},"Xue"),w.Vb=i(function(){return this.b-1},"Zue"),w.Qb=i(function(){throw me(new wy(Jqt))},"$ue"),w.a=0,w.b=0;var iHi=j(zOe,"ExclusiveRange/RangeIterator",258),Ad=B8(bQ,"C"),ei=B8(Y9,"I"),tf=B8(Y5,"Z"),Uv=B8(K9,"J"),bh=B8(H9,"B"),co=B8(q9,"D"),X3=B8(W9,"F"),EE=B8(X9,"S"),JEn=Va("org.eclipse.elk.core.labels","ILabelManager"),tHe=Va(qo,"DiagnosticChain"),rHe=Va(Sqt,"ResourceSet"),nHe=j(qo,"InvocationTargetException",null),_ir=(gq(),fln),Mir=Mir=nmn;aun(tXr),tun("permProps",[[["locale","default"],[Zqt,"gecko1_8"]],[["locale","default"],[Zqt,"safari"]]]),Mir(null,"elk",null)}).call(this)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(o,l,h){"use strict";function f(T,C){if(!(T instanceof C))throw new TypeError("Cannot call a class as a function")}i(f,"_classCallCheck");function p(T,C){if(!T)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:T}i(p,"_possibleConstructorReturn");function m(T,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);T.prototype=Object.create(C&&C.prototype,{constructor:{value:T,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(T,C):T.__proto__=C)}i(m,"_inherits");var b=o("./elk-api.js").default,v=(function(T){m(C,T);function C(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};f(this,C);var S=Object.assign({},E),R=!1;try{o.resolve("web-worker"),R=!0}catch{}if(E.workerUrl)if(R){var L=o("web-worker");S.workerFactory=function(I){return new L(I)}}else console.warn(`Web worker requested but 'web-worker' package not installed. +Consider installing the package or pass your own 'workerFactory' to ELK's constructor. +... Falling back to non-web worker version.`);if(!S.workerFactory){var _=o("./elk-worker.min.js"),M=_.Worker;S.workerFactory=function(I){return new M(I)}}return p(this,(C.__proto__||Object.getPrototypeOf(C)).call(this,S))}return i(C,"ELKNode"),C})(b);Object.defineProperty(l.exports,"__esModule",{value:!0}),l.exports=v,v.default=v},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(o,l,h){l.exports=Worker},{}]},{},[3])(3)})});var jre,kZe=ie(()=>{"use strict";jre=i((t,r,{parentById:a})=>{let o=new Set,l=t;if(t===r)return a[t]||"root";for(;l;){if(o.add(l),l===r)return l;l=a[l]}for(l=r;l;){if(o.has(l))return l;l=a[l]}return"root"},"findCommonAncestor")});function kkr(t,r,{parentById:a}){let o=t;for(;(a[o]??lzn)!==r;)o=a[o];return o}function Ckr(t,r){let a=t.map(()=>!1),o=new Map;t.forEach(({source:l,target:h},f)=>{if(l===h)return;let p=jre(l,h,r);if(p===l||p===h)return;let m=kkr(l,p,r),b=kkr(h,p,r),v=o.get(p)??[];v.push({index:f,from:m,to:b,collapsed:m!==l||b!==h}),o.set(p,v)});for(let l of o.values()){let h=new Map,f=[],p=new Map;for(let C of l){for(let E of[C.from,C.to])h.has(E)||(h.set(E,[]),f.push(E),p.set(E,0));h.get(C.from).push(C),p.set(C.to,p.get(C.to)+1)}let m=1,b=2,v=new Map,T=[...f.filter(C=>p.get(C)===0),...f];for(let C of T){if(v.has(C))continue;v.set(C,m);let E=[{node:C,next:0}];for(;E.length>0;){let S=E[E.length-1],R=h.get(S.node);if(S.next>=R.length){v.set(S.node,b),E.pop();continue}let L=R[S.next++],_=v.get(L.to);_===m?a[L.index]=L.collapsed:_===void 0&&(v.set(L.to,m),E.push({node:L.to,next:0}))}}}return a}var lzn,Ekr=ie(()=>{"use strict";kZe();lzn="root";i(kkr,"childOnPath");i(Ckr,"findSubgraphFeedbackEdges")});function CZe(t){let r=[];for(let a=0;a=1-Vwe||C<=Vwe||C>=1-Vwe?null:{point:{x:t.x+T*l,y:t.y+T*h},tA:T,tB:C}}function Skr(t){return Math.abs(t.b.x-t.a.x)>=Math.abs(t.b.y-t.a.y)}function Akr(t,r,a){if(t.curve!=="rounded")return!1;let o=t.points,l=o[r],h=o[r+1];if(!l||!h)return!1;let f=Math.hypot(h.x-l.x,h.y-l.y),p=a*f,m=r>0?qwe(o[r-1],l,h,Hwe):null;if(m&&p=Math.abs(a)?r>=0?1:0:a>=0?1:0}function pzn(t,r){if(t.length<2)return t.map(h=>({...h}));let a=t.map(h=>({...h})),o=r.arrowTypeStart&&gp[r.arrowTypeStart];if(o){let h=t[0],f=t[1],p=Math.atan2(f.y-h.y,f.x-h.x);a[0].x=h.x+o*Math.cos(p),a[0].y=h.y+o*Math.sin(p)}let l=r.arrowTypeEnd&&gp[r.arrowTypeEnd];if(l){let h=t.length,f=t[h-2],p=t[h-1],m=Math.atan2(p.y-f.y,p.x-f.x);a[h-1].x=p.x-l*Math.cos(m),a[h-1].y=p.y-l*Math.sin(m)}return a}function gzn(t,r,a,o,l){let h=t.point.x,f=t.point.y,p={x:h-r*t.r,y:f-a*t.r},m={x:h+r*t.r,y:f+a*t.r},b=[`L${zre(p)}`];return l==="arc"?b.push(`A${lS(t.r)},${lS(t.r)} 0 0 ${o} ${zre(m)}`):b.push(`M${zre(m)}`),b}function qwe(t,r,a,o){let l=r.x-t.x,h=r.y-t.y,f=a.x-r.x,p=a.y-r.y,m=Math.hypot(l,h),b=Math.hypot(f,p);if(m0){let F=qwe(l[b-1],l[b],l[b+1]??l[b],Hwe);F&&(R=F.cutLen)}let L=T,_=null;h&&bF.t-O.t).filter(F=>{let O=Math.min(F.d-R,L-F.d)-czn;return F.r=Math.min(F.r,O),F.r>=M});for(let F=0;FO){let P=O/2;I[F].r=Math.min(I[F].r,P),I[F+1].r=Math.min(I[F+1].r,P)}}for(let F of I)F.r=2?o:null}catch{return null}}function Wwe(t,r,a){if(!a.enabled)return;let o=t.node();if(!o)return;let l=new Map;for(let b of r)l.set(b.id,b);let h=new Map;for(let b of o.querySelectorAll("path[data-id]")){let v=b.getAttribute("data-id");v!==null&&!h.has(v)&&h.set(v,b)}let f=[];for(let b of r){let v=h.get(b.id);if(!v)continue;let C=vzn(v.getAttribute("data-points"))??b.points;f.push({...b,points:C})}let p=fzn(f);if(p.length===0)return;let m=new Map;for(let b of p){let v=m.get(b.jumpEdgeId)??[];v.push(b),m.set(b.jumpEdgeId,v)}for(let b of f){let v=m.get(b.id);if(!v||v.length===0)continue;let C=l.get(b.id)?.curve;if(C!==void 0&&!bzn(C))continue;let E=h.get(b.id);if(!E)continue;if(C===void 0){let I=E.getAttribute("d")??"";if(!yzn(I))continue}let S=E.getAttribute("style")??"",R=/stroke-dasharray\s*:\s*0\s+([\d.]+)\s+[\d.]+\s+([\d.]+)/.exec(S),L=R?Number.parseFloat(R[1]):null,_=R?Number.parseFloat(R[2]):null,M=mzn(b,v,a);if(E.setAttribute("d",M),L!==null&&_!==null&&typeof E.getTotalLength=="function"){let I=E.getTotalLength(),F=Math.max(0,I-L-_),O=`0 ${L} ${F} ${_}`,P=S.replace(/stroke-dasharray\s*:[^;]*;?/g,`stroke-dasharray: ${O};`).replace(/;\s*;+/g,";");E.setAttribute("style",P)}}}var Hwe,Uwe,czn,uzn,Vwe,EZe=ie(()=>{"use strict";I2e();Hwe=5,Uwe=1e-5,czn=2,uzn=.6,Vwe=1e-6;i(CZe,"buildSegmentList");i(hzn,"segmentIntersection");i(Skr,"isHorizontalSeg");i(Akr,"crossingSitsInRoundedCorner");i(fzn,"findEdgeIntersections");i(lS,"fmt");i(zre,"pointToString");i(dzn,"getArcSweepFlag");i(pzn,"applyMarkerOffsets");i(gzn,"emitJump");i(qwe,"computeRoundedCorner");i(mzn,"rewriteEdgePath");i(yzn,"isStraightPath");i(bzn,"curveSupportsLineHops");i(vzn,"decodeDataPoints");i(Wwe,"applyLineJumpsToSvg")});function Rkr(t,{measure:r}){let a=t.config?.elk?.lineHops;if(a===!1)return;let o=t.edges.filter(l=>Array.isArray(l.points)&&l.points.length>=2).map(l=>({id:l.id,points:l.points,curve:l.curve,arrowTypeStart:l.arrowTypeStart,arrowTypeEnd:l.arrowTypeEnd}));Wwe(r.groups.edgePaths,o,{enabled:!0,jumpRadius:wzn,jumpStyle:a==="gap"?"gap":"arc"})}var wzn,Lkr=ie(()=>{"use strict";EZe();wzn=6;i(Rkr,"applyElkLineJumps")});var Dkr,_kr,Mkr,Ikr,Nkr=ie(()=>{"use strict";Dkr={},_kr={},Mkr={},Ikr={}});var dU,xzn,pU,Tzn,kzn,Czn,Ezn,Szn,Okr,SZe,Pkr,Ure,Vre,Bkr=ie(()=>{"use strict";dU=i((t,r,a=.5)=>{let o=t.width/2,l=t.height/2,h=t.x-o,f=t.x+o,p=t.y-l,m=t.y+l,b=Math.abs(r.x-h)<=a&&r.y>=p-a&&r.y<=m+a,v=Math.abs(r.x-f)<=a&&r.y>=p-a&&r.y<=m+a,T=Math.abs(r.y-p)<=a&&r.x>=h-a&&r.x<=f+a,C=Math.abs(r.y-m)<=a&&r.x>=h-a&&r.x<=f+a;return b||v||T||C},"onBorder"),xzn=i((t,r,a)=>{let o=t.x,l=t.y,h=Math.abs(o-a.x),f=t.width/2,p=a.xMath.abs(o-r.x)*m){let T=a.y{let a=t.x,o=t.y,l=Math.abs(r.x-a),h=Math.abs(r.y-o),f=t.width/2,p=t.height/2;return l>=f||h>=p},"outsideNode"),Tzn=i((t,r,a=10)=>{let o=Math.abs(r.x-t.x),l=Math.abs(r.y-t.y),h=t.width/2,f=t.height/2;if(Math.abs(o-h)<1||Math.abs(l-f)<1){let p=r.x-t.x,m=r.y-t.y,b=Math.sqrt(p*p+m*m);if(b>0)return{x:t.x+p/b*(b+a),y:t.y+m/b*(b+a)}}return r},"ensureTrulyOutside"),kzn=i((t,r,a)=>{let o=Math.abs(r.x-t.x)<1,l=Math.abs(r.y-t.y)<1;return{x:o?r.x:r.x{if(!t?.intersect)return null;let o=t.intersect(a);return!o||a.xr.x||a.x>r.x&&o.x{let o=kzn(t,r,a);return xzn(t,r,o)},"fallbackIntersection"),Szn=20,Okr=1e-6,SZe=i((t,r,a)=>{let o=t.intersect?.(a);if(!o)return!1;let l=Math.hypot(a.x-r.x,a.y-r.y),h=Math.hypot(o.x-r.x,o.y-r.y);return l<=h+1e-9},"insideOutline"),Pkr=i((t,r,a,o)=>{if(!t?.intersect)return null;let l=o.x-a.x,h=o.y-a.y;if(l===0&&h===0||Math.abs(l)>Okr&&Math.abs(h)>Okr)return null;let f={x:r.x,y:r.y},p=Math.abs(l)>Math.abs(h),m=i(T=>p?{x:T,y:a.y}:{x:a.x,y:T},"along"),b=p?f.x:f.y,v=p?a.x:a.y;if(!SZe(t,f,m(b)))return null;if(SZe(t,f,m(v)))return{...a};for(let T=0;T{let l=Tzn(r,a);return Czn(t,r,l)??Ezn(r,l,o)},"computeNodeIntersection"),Vre=i((t,r,a,o=.1)=>{if(!(!a||t.length===0))if(r==="start")t.length>0&&Math.abs(t[0].x-a.x)0&&Math.abs(t[l].x-a.x)[L,0])),p=new Map(l.map(L=>[L,[]])),m=[];for(let L of r){let _=L.source==null?void 0:String(L.source),M=L.target==null?void 0:String(L.target);!_||!M||_===M||!h.has(_)||!h.has(M)||(f.set(M,(f.get(M)??0)+1),p.get(_).push(M),p.get(M).push(_),m.push([_,M]))}let b=new Map,v=0;for(let L of l){if(b.has(L))continue;let _=[L];for(b.set(L,v);_.length>0;){let M=_.pop();for(let I of p.get(M))b.has(I)||(b.set(I,v),_.push(I))}v++}let T=new Array(v).fill(!1);for(let L of l)(f.get(L)??0)===0&&(T[b.get(L)]=!0);if(!T.includes(!1))continue;let C=new Map(l.map(L=>[L,[]])),E=new Map(l.map(L=>[L,0])),S=i((L,_)=>{let M=new Set([L]),I=[L];for(;I.length>0;){let F=I.pop();if(F===_)return!0;for(let O of C.get(F))M.has(O)||(M.add(O),I.push(O))}return!1},"reaches");for(let[L,_]of m)S(_,L)||(C.get(L).push(_),E.set(_,(E.get(_)??0)+1));let R=new Array(v).fill(!1);for(let L of l){let _=b.get(L);!T[_]&&!R[_]&&E.get(L)===0&&(a.add(L),R[_]=!0)}}return a}function _zn(t,r){if(!t.config.elk?.keepEntryNodeOnTop)return;let a=Dzn(t.nodes,t.edges.map(o=>({source:o.start,target:o.end})));for(let o of a){let l=r[o];l&&(l.layoutOptions={...l.layoutOptions,"elk.layered.layering.layerConstraint":"FIRST"})}}function Mzn(t,r){let a=l3r(r);return Pzn(a),bUn(t,a),{algorithm:a.algorithm}}async function Izn(t,r){let a=l3r(r),o=Nzn(t,a),l=new Jkr.default;a.log.info("Drawing flowchart using v4 renderer",l);let h=await Kzn(l,o.elkGraph,a.log);return Xzn(t,h,o,a.log),Bzn(t.nodes),h}function Nzn(t,r){let a={},o=Fzn(t,r.algorithm,r.rootLayoutOptions),l=t.direction??"DOWN";o.layoutOptions["elk.direction"]=a3r(l);let h=$zn(t.nodes,r.log);return u3r(t.nodes,o,a,r),Uzn(t,o,a,r),Wzn(t,a,h,r),Yzn(o,a,h,r.log),t.config.elk?.orientFeedbackEdges!==!1&&Ozn(o,h),_zn(t,a),{elkGraph:o,nodeDb:a,parentLookupDb:h}}function Ozn(t,r){let a=Ckr(t.edges.map(o=>({source:o.sources[0],target:o.targets[0]})),r);t.edges.forEach((o,l)=>{a[l]&&([o.sources,o.targets]=[o.targets,o.sources],o.layoutReversed=!0)})}function Pzn(t){X6(t.getConfig())}function Bzn(t){let r=new Map(t.map(a=>[a.id,a]));t.sort((a,o)=>a.isGroup!==o.isGroup?a.isGroup?-1:1:a.isGroup&&o.isGroup?Gkr(a,r)-Gkr(o,r):0)}function Gkr(t,r){let a=0,o=new Set,l=t.parentId;for(;l&&!o.has(l);){o.add(l);let h=r.get(l);if(!h?.isGroup)break;a++,l=h.parentId}return a}function l3r(t){let r=t.helpers;if(!r)throw new Error("ELK layout requires Mermaid internal helpers");return{algorithm:t.preparedLayout?.algorithm??t.options?.algorithm,rootLayoutOptions:t.options?.rootLayoutOptions,common:r.common,getConfig:r.getConfig,interpolateToCurve:r.interpolateToCurve,log:r.log}}function c3r(t){return t!==void 0&&Object.hasOwn(AZe,t)?AZe[t]:AZe.default}function Fzn(t,r,a){let o=c3r(t.config.elk?.preset),l={id:"root",layoutOptions:{"elk.hierarchyHandling":"INCLUDE_CHILDREN","elk.algorithm":r,"elk.layered.nodePlacement.strategy":t.config.elk?.nodePlacementStrategy??o.placement,"elk.layered.nodePlacement.bk.fixedAlignment":t.config.elk?.nodePlacementAlignment??o.alignment,"elk.layered.mergeEdges":t.config.elk?.mergeEdges,"elk.direction":"DOWN","spacing.baseValue":40,"elk.layered.crossingMinimization.forceNodeModelOrder":t.config.elk?.forceNodeModelOrder,"elk.layered.considerModelOrder.strategy":t.config.elk?.considerModelOrder,"elk.layered.unnecessaryBendpoints":!0,"elk.layered.cycleBreaking.strategy":t.config.elk?.cycleBreakingStrategy??o.cycleBreaking,"elk.layered.layering.strategy":t.config.elk?.layeringStrategy??o.layering,"elk.layered.layering.coffmanGraham.layerBound":t.config.elk?.layeringLayerBound,"elk.layered.wrapping.multiEdge.improveCuts":!0,"elk.layered.wrapping.multiEdge.improveWrappedEdges":!0,"elk.layered.edgeRouting.selfLoopDistribution":"EQUALLY","elk.layered.mergeHierarchyEdges":!0,"elk.spacing.portsSurrounding":t3r},children:[],edges:[]};return r==="elk.rectpacking"&&Object.assign(l.layoutOptions,MZe,{"elk.contentAlignment":"H_CENTER V_TOP","elk.padding":"[top=15,left=15,bottom=15,right=15]"}),a&&Object.assign(l.layoutOptions,a),Object.assign(l.layoutOptions,Dkr,_kr,Mkr),l}function $zn(t,r){let a={parentById:{},childrenById:{}},o=t.filter(l=>l.isGroup);return r.info("Subgraphs - ",o),o.forEach(l=>{t.filter(f=>f.parentId===l.id).forEach(f=>{a.parentById[f.id]=l.id,a.childrenById[l.id]??=[],a.childrenById[l.id].push(f.id)})}),a}function u3r(t,r,a,o,l){let h=t.filter(f=>f?.parentId===l);return o.log.info("addVertices APA12",h,l),h.forEach(f=>{Gzn(r,t,f,a,o)}),r}function Gzn(t,r,a,o,l){let h=jzn(a);t.children.push(h),o[a.id]=h,a.isGroup&&(h.children=[],u3r(r,h,o,l,a.id),h.labelData=zzn(a,l.getConfig()))}function jzn(t){let r={...t};return delete r.domId,t.isGroup?r.children=[]:(r.width=t.width??0,r.height=t.height??0,t.spreadPorts&&(r.layoutOptions={...r.layoutOptions,"elk.portAlignment.default":"CENTER"})),r}function zzn(t,r){let a=t.labelData;return a||(t.labelBBox?{width:t.labelBBox.width,height:Math.max(0,t.labelBBox.height-2),wrappingWidth:t.wrappingWidth??r.flowchart?.wrappingWidth}:{width:0,height:0,wrappingWidth:t.wrappingWidth??r.flowchart?.wrappingWidth})}function Uzn(t,r,a,o){o.log.info("abc78 DAGA edges = ",t);let l={};return t.edges.forEach(h=>{let f=h.id;l[f]=(l[f]??-1)+1;let p=f;h.id=p,o.log.info("abc78 new link id to be used is",f,p,l[f]);let{source:m,target:b,sourceId:v,targetId:T}=qzn(h,a);o.log.debug("abc78 source and target",m,b),r.edges.push({...h,sources:[m],targets:[b],sourceId:v,targetId:T,labels:[{width:h.width??0,height:h.height??0,orgWidth:h.width??0,orgHeight:h.height??0,text:h.label??"",layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}},...(o.rootLayoutOptions?.["elk.algorithm"]??o.algorithm??"elk.layered")==="elk.layered"?Hzn(h):[]]})}),r}function Hzn(t){let r={startLeft:t.startLabelLeft,startRight:t.startLabelRight,endLeft:t.endLabelLeft,endRight:t.endLabelRight};return Object.entries(t.terminalLabelSizes??{}).map(([a,o])=>{let l=a.startsWith("start"),h=l?t.arrowTypeStart:t.arrowTypeEnd,f=h&&h!=="none"?Vzn:0;return{terminal:a,text:r[a],width:o.width+2*f,height:o.height+2*f,layoutOptions:{"edgeLabels.placement":l?"TAIL":"HEAD"}}})}function qzn(t,r){let a=t.start,o=t.end,l=a,h=o,f=a?r[a]:void 0,p=o?r[o]:void 0;return!f||!p?{source:l,target:h}:{source:l,target:h,sourceId:a,targetId:o}}function Wzn(t,r,a,o){t.nodes.forEach(l=>{let h=r[l.id];!h||a.childrenById[h.id]===void 0||(h.labels=[{text:h.label,width:h?.labelData?.width??50,height:h?.labelData?.height??50}],o.log.debug("UIO node label",h?.labelData?.width,h.padding),h.layoutOptions=Lzn(h,t.config.elk,o.algorithm,o.log),delete h.x,delete h.y,delete h.width,delete h.height)})}function Yzn(t,r,a,o){o.debug("APA01 processing edges, count:",t.edges.length),t.edges.forEach((l,h)=>{o.debug("APA01 processing edge",h,":",l);let f=l.sources[0],p=l.targets[0];if(o.debug("APA01 source:",f,"target:",p),o.debug("APA01 nodeDb[source]:",r[f]),o.debug("APA01 nodeDb[target]:",r[p]),r[f]&&r[p]&&r[f].parentId!==r[p].parentId){let m=jre(f,p,a);LZe(r,f,m,o),LZe(r,p,m,o)}})}function LZe(t,r,a,o){let l=t[r];l&&(l.layoutOptions??={},l.layoutOptions["elk.hierarchyHandling"]==="SEPARATE_CHILDREN"&&i3r(l.metadata?.algorithm)&&(o.debug("Dropping explicit algorithm for node",l.id,"due to cross-boundary edges"),Rzn(l.layoutOptions),Object.assign(l.layoutOptions,s3r(l))),l.layoutOptions["elk.hierarchyHandling"]="INCLUDE_CHILDREN",l.id!==a&&l.parentId&&LZe(t,l.parentId,a,o))}async function Kzn(t,r,a){let o=globalThis.__mermaidProfiler;try{o?.begin("layoutCore");let l;try{l=await t.layout(r)}finally{o?.end()}return a.debug("APA01 after - success"),a.debug("APA01 layout result:",l),l}catch(l){throw a.error("ELK layout error:",l),l}}function Xzn(t,r,a,o){let l=new Map(t.nodes.map(h=>[h.id,h]));d3r(r.children??[],a,l,0,0,0,o),f3r(r.children??[],a,l,r),iUn(t,r,a,o)}function h3r(t,r=new Set){for(let a of t.children??[])r.add(a.id),h3r(a,r);return r}function Qzn(t,r,a,o){let l=[];for(let h of t.edges??[]){let f=h.sources?.[0]??h.start,p=h.targets?.[0]??h.end,m=r.has(f)&&r.has(p),b=f===o,v=p===o;if(!m&&!b&&!v)continue;let T=_Ze(f,p,a.parentLookupDb,a.nodeDb);for(let C of h.sections??[]){let E=m?[C.startPoint,...C.bendPoints??[],C.endPoint]:[b?C.startPoint:null,v?C.endPoint:null];for(let S of E)S&&l.push({x:S.x+T.x,y:S.y+T.y})}}return l}function f3r(t,r,a,o={}){for(let l of t){if(!l?.isGroup)continue;let h=l.children??[];f3r(h,r,a,o);let f=r.nodeDb[l.id],p=h.map(O=>r.nodeDb[O.id]).filter(O=>O?.offset&&O.width&&O.height);if(!f?.offset||p.length===0)continue;let m=Qzn(o,h3r(l),r,l.id),b=[...p.map(O=>O.offset.posX),...p.map(O=>O.offset.posX+O.width),...m.map(O=>O.x)],v=[...p.map(O=>O.offset.posY),...p.map(O=>O.offset.posY+O.height),...m.map(O=>O.y)],T=f.offset,C=Math.max(T.posX,Math.min(...b)-xO),E=Math.min(T.posX+f.width,Math.max(...b)+xO),S=Math.min(T.posY+f.height,Math.max(...v)+xO),R=T.posY,L=IZe(l),_=C,M=E-C;if(M{if(!p)return;let m=r.nodeDb[p.id]??p,b=Math.max(p.width,p.labels&&p.labels[0]?.width||0),v={posX:p.x+o,posY:p.y+l,x:o,y:l,depth:h,width:b,height:p.height};m.offset=v,m.x=v.posX+p.width/2,m.y=v.posY+p.height/2,m.width=p.width,m.height=p.height;let T=a.get(p.id);if(T){T.x=m.x,T.y=m.y,T.width=p.isGroup?Math.max(p.width,p.labelData?.width??0):p.width,T.height=p.height;let C=T;C.labelData=p.labelData,C.labels=p.labels}p.isGroup?(f.debug("Id abc88 subgraph = ",p.id,p.x,p.y,p.labelData),d3r(p.children??[],r,a,v.posX,v.posY,h+1,f)):f.info("Id NODE = ",p.id,p.x,p.y,o,l,`translate(${m.x}, ${m.y})`)})}function Ywe(t,r){let a=Math.abs(r.x-t.x),o=Math.abs(r.y-t.y);if(a>Yre&&o<=Yre)return"h";if(o>Yre&&a<=Yre)return"v"}function eUn(t){let r=[],a=t,o=jkr(a);o&&(a=o.points,r.push(o.run));let l=[...a].reverse(),h=jkr(l);return h&&(a=h.points.reverse(),r.push(h.run)),{points:a,runs:r}}function jkr(t){if(t.length<5)return null;let[r,a,o,l]=t,h=Ywe(r,a);if(!h||Ywe(o,l)!==h||Ywe(a,o)!==(h==="h"?"v":"h")||Math.hypot(a.x-r.x,a.y-r.y)>Zzn)return null;let f=Math.abs(h==="h"?o.y-a.y:o.x-a.x);if(fJzn||!(h==="h"?Math.sign(a.x-r.x)===Math.sign(l.x-o.x):Math.sign(a.y-r.y)===Math.sign(l.y-o.y)))return null;let m=3;for(;m+1(v.x-b.x)*(T.y-b.y)-(v.y-b.y)*(T.x-b.x),"side"),h=l(a,o,t),f=l(a,o,r),p=l(t,r,a),m=l(t,r,o);return(h>0&&f<0||h<0&&f>0)&&(p>0&&m<0||p<0&&m>0)}function zkr(t,r){let a=0;for(let o=0;oh.points??[]),a=t.map(h=>h.x==null||h.y==null||!h.label||!h.width||!h.height?void 0:{centre:{x:h.x,y:h.y},size:{width:h.width,height:h.height}}),o=i((h,f)=>{let p=f&&TO(f.centre,f.size);return!!p&&h.some((m,b)=>bE||L>R||(f.points=m,r[h]=m,a[h]=C,l.push({edge:f,runs:b}))}return l}function iUn(t,r,a,o){let l=new Map(t.edges.map(b=>[b.id,b])),h=t.config.elk?.straightenEdges!==!1,f=new Map;for(let b of t.edges)delete b.terminalLabelCenters;let p=new Map(t.nodes.map(b=>[b.id,b])),m=new Set;if(r.edges?.forEach(b=>{if(!b.sections?.length)return;let v=a.nodeDb[b.sources?.[0]??b.start],T=a.nodeDb[b.targets?.[0]??b.end];if(!v||!T)return;let C=b.start??b.sourceId??b.sources?.[0],E=b.end??b.targetId??b.targets?.[0],S=_Ze(C,E,a.parentLookupDb,a.nodeDb),R=b.sections[0];v.shape!=="rect33"&&Vkr(v,{x:R.startPoint.x+S.x,y:R.startPoint.y+S.y},p,m),T.shape!=="rect33"&&Vkr(T,{x:R.endPoint.x+S.x,y:R.endPoint.y+S.y},p,m)}),r.edges?.forEach(b=>{let v=l.get(b.id);if(!v)return;let T=b.layoutReversed===!0,C=b.sources?.[0]??b.start,E=b.targets?.[0]??b.end;T&&([C,E]=[E,C]);let S=a.nodeDb[C],R=a.nodeDb[E];if(!S||!R)return;if(!b.sections?.length){let V=i(Z=>({x:(Z.offset?.posX??Z.x??0)+(Z.width??0)/2,y:(Z.offset?.posY??Z.y??0)+(Z.height??0)/2}),"centre"),Y=V(S),K=V(R);S.x=Y.x,S.y=Y.y,R.x=K.x,R.y=K.y;let J=Hkr([Y,K],S,R,o);v.points=J,v.curve="linear";let H=J[0],q=J[J.length-1];v.x=(H.x+q.x)/2,v.y=(H.y+q.y)/2,o.debug("APA18 no edge sections, using a straight line",b.id,v.points);return}let L=b.start??b.sourceId??C,_=b.end??b.targetId??E,M=_Ze(L,_,a.parentLookupDb,a.nodeDb);o.debug("APA18 offset",M,L," ==> ",_,"edge:",b,S);let I=b.sections[0],F=hUn(I,M);T&&F.reverse();let O={start:F[0],end:F[F.length-1]};S.x=S.offset.posX+S.width/2,S.y=S.offset.posY+S.height/2,R.x=R.offset.posX+R.width/2,R.y=R.offset.posY+R.height/2,S.shape!=="rect33"&&F.unshift({x:S.x,y:S.y}),R.shape!=="rect33"&&F.push({x:R.x,y:R.y});let P=Hkr(F,S,R,o);v.points=mUn(yUn(P,kO(R),pUn(v),o),kO(S),gUn(v),o),v.curve="rounded";let G=b.labels?.[0];G&&(v.x=G.x+M.x+G.width/2,v.y=G.y+M.y+G.height/2);for(let V of b.labels??[])!V.terminal||!V.x&&!V.y||(v.terminalLabelCenters??={},v.terminalLabelCenters[V.terminal]={x:V.x+M.x+V.width/2,y:V.y+M.y+V.height/2});v.terminalLabelCenters&&f.set(v,O)}),h){let b=nUn(t.edges);for(let{edge:v,runs:T}of b){if(v.x==null||v.y==null)continue;let C=p3r({x:v.x,y:v.y},T);C&&(v.x=C.x,v.y=C.y)}}for(let[b,v]of f)uUn(b,v);lUn(t.edges,t.nodes),cUn(t.edges,t.nodes),sUn(t.edges)}function sUn(t){let r=new Map;for(let a of t){if(a.x==null||a.y==null||!a.label||!a.width)continue;let o=[a.start??"",a.end??""].sort().join("\0"),l=r.get(o);l?l.push(a):r.set(o,[a])}for(let a of r.values()){if(a.length!==2)continue;let[o,l]=a;if(Math.abs(o.y-l.y)>Math.max(o.height??0,l.height??0))continue;let h=o.width/2+l.width/2+aUn,f=l.x-o.x,p=h-Math.abs(f);if(p<=0)continue;let m=Math.sign(f)||1;o.x=o.x-m*p/2,l.x=l.x+m*p/2}}function g3r(t,r){let a=r.filter(b=>b.x!==void 0&&b.y!==void 0),o=i(b=>TO({x:b.x,y:b.y},{width:b.width??0,height:b.height??0}),"boxOf"),l=a.filter(b=>!b.isGroup).map(o),h=a.filter(b=>b.isGroup).map(o).flatMap(({x1:b,y1:v,x2:T,y2:C})=>[[{x:b,y:v},{x:T,y:v}],[{x:T,y:v},{x:T,y:C}],[{x:T,y:C},{x:b,y:C}],[{x:b,y:C},{x:b,y:v}]]),f=t.filter(b=>b.label&&b.width&&b.height&&b.x!==void 0).map(b=>TO({x:b.x,y:b.y},{width:b.width,height:b.height})),p=i((b,v=0)=>{let T={x1:b.x1-v,y1:b.y1-v,x2:b.x2+v,y2:b.y2+v};return h.some(([C,E])=>DZe(C,E,T))},"hitsFrame");return{hitsFrame:p,blocked:i((b,v,T,C,E=0)=>l.some(S=>RZe(b,S))||f.some(S=>RZe(b,S))||p(b,E)||t.some(S=>(S.points??[]).some((R,L,_)=>L<_.length-1&&!(S===v&&L===C)&&DZe(R,_[L+1],b)))||t.some(S=>Object.entries(S.terminalLabelCenters??{}).some(([R,L])=>{let _=S.terminalLabelSizes?.[R];return!(S===v&&R===T)&&_!==void 0&&RZe(b,TO(L,_))})),"blocked")}}function*m3r(t){for(let r of t){let a=r.points;if(!(!a||a.length<2||!r.terminalLabelCenters||!r.terminalLabelSizes))for(let[o,l]of Object.entries(r.terminalLabelCenters)){let h=r.terminalLabelSizes[o],f=o.startsWith("start"),p=f?0:a.length-2,[m,b]=[a[p],a[p+1]],v=Math.hypot(b.x-m.x,b.y-m.y);!h||v===0||(yield{edge:r,key:o,center:l,size:h,atStart:f,segment:p,from:m,to:b,length:v})}}}function lUn(t,r){let{hitsFrame:a,blocked:o}=g3r(t,r);for(let{edge:l,key:h,center:f,size:p,atStart:m,segment:b,from:v,to:T,length:C}of m3r(t)){if(!a(TO(f,p)))continue;let[E,S]=m?[T,v]:[v,T],R={x:(S.x-E.x)/C,y:(S.y-E.y)/C},L=(Math.abs(R.x)*p.width+Math.abs(R.y)*p.height)/2,_=i(I=>(I.x-S.x)*R.x+(I.y-S.y)*R.y,"along"),M=i(I=>_(I)+L<=0&&_(I)-L>=-C,"onSegment");for(let I=1;I<=C;I++){let F=[I,-I].map(O=>({x:f.x+O*R.x,y:f.y+O*R.y})).find(O=>M(O)&&!o(TO(O,p),l,h,b,oUn));if(F){l.terminalLabelCenters[h]=F;break}}}}function cUn(t,r){let{blocked:a}=g3r(t,r);for(let{edge:o,key:l,center:h,size:f,segment:p,from:m,to:b,length:v}of m3r(t)){let T={x:-(b.y-m.y)/v,y:(b.x-m.x)/v},C=(h.x-m.x)*T.x+(h.y-m.y)*T.y;if(C===0||C>0===l.endsWith("Right"))continue;let E={x:h.x-2*C*T.x,y:h.y-2*C*T.y};a(TO(E,f),o,l,p)||(o.terminalLabelCenters[l]=E)}}function uUn(t,r){let a=t.points;if(!a?.length||!t.terminalLabelCenters)return;let o={start:{x:a[0].x-r.start.x,y:a[0].y-r.start.y},end:{x:a[a.length-1].x-r.end.x,y:a[a.length-1].y-r.end.y}};for(let[l,h]of Object.entries(t.terminalLabelCenters)){let f=l.startsWith("start")?o.start:o.end;t.terminalLabelCenters[l]={x:h.x+f.x,y:h.y+f.y}}}function Vkr(t,r,a,o){let l=t.width??0,h=t.height??0,f=t.offset.posY,p=f+h,m=.5,b=Math.abs(r.y-f)<=m||Math.abs(r.y-p)<=m;if((b?l:h)>=2*Wre||o.has(t.id))return;o.add(t.id);let v=b?r.x-(t.offset.posX+l/2):r.y-(t.offset.posY+h/2);if(Math.abs(v)<.01)return;b?(t.offset.posX+=v,t.x=t.offset.posX+l/2):(t.offset.posY+=v,t.y=t.offset.posY+h/2);let T=a.get(t.id);T&&(T.x=t.offset.posX+l/2,T.y=t.offset.posY+h/2)}function hUn(t,r){let a=t.startPoint,o=t.endPoint,h=(t.bendPoints?t.bendPoints:[]).map(f=>({x:f.x+r.x,y:f.y+r.y}));return[{x:a.x+r.x,y:a.y+r.y},...h,{x:o.x+r.x,y:o.y+r.y}]}function _Ze(t,r,a,o){let l=jre(t,r,a);if(l===void 0||l==="root")return{x:0,y:0};let h=o[l],f=h?.elkOrigin??h?.offset;return{x:f?.posX??0,y:f?.posY??0}}function Hkr(t,r,a,o){let l=Array.isArray(t)?[...t]:[],h=kO(a);o.debug("PPP cutter2: Points before cutter2:",JSON.stringify(t),"endBounds:",h,dU(h,t[t.length-1]));let f;{let p=kO(r),m=kO(a),b=!!r?.isGroup,v=!!a?.isGroup,{candidate:T,centerApprox:C}=Ykr(l,r,"start"),{candidate:E,centerApprox:S}=Ykr(l,a,"end"),R=b&&dU(p,T),L=v&&dU(m,E);Kkr(l,"start",R&&C),Kkr(l,"end",L&&S),b&&!R&&(R=Xkr(l,p,"start")),v&&!L&&(L=Xkr(l,m,"end")),R||L?(R||CUn(l,r,p,o),L||EUn(l,a,m,o),o.debug("PPP cutter2: skipping cutter2 due to on-border group endpoint(s)",{skipStart:R,skipEnd:L,startCenterApprox:C,endCenterApprox:S,startCandidate:T,endCandidate:E}),f=l):f=SUn(r,a,l,o)}if(o.debug("PPP cutter2: Points after cutter2:",JSON.stringify(f)),!Array.isArray(f)||f.length<2||fUn(f)){o.warn("POI cutter2: Invalid points from cutter2, falling back to prevPoints",f);let p=l.filter(m=>Number.isFinite(m?.x)&&Number.isFinite(m?.y));f=p.length>=2?p:l}return o.debug("UIO cutter2: Points after cutter2 (sanitized):",f),dUn(f,o)}function fUn(t){return t?.some(r=>!Number.isFinite(r?.x)||!Number.isFinite(r?.y))}function dUn(t,r){let a=t.filter((o,l,h)=>{if(l===0)return!0;let f=h[l-1];return Math.abs(o.x-f.x)>1e-6||Math.abs(o.y-f.y)>1e-6});return a.length!==t.length&&r.debug("UIO cutter2: removed consecutive duplicate points",{before:t,after:a}),a}function pUn(t){return e3r(t.arrowTypeEnd)}function gUn(t){return e3r(t.arrowTypeStart)}function mUn(t,r,a,o){if(a<=0||t.length<3)return t;let l=t[0],h=t[1],f=Math.hypot(h.x-l.x,h.y-l.y);if(f>=Math.max(Zkr,a*2)||!dU(r,h,1))return t;let p=[l,...t.slice(2)];return o.debug("UIO cutter2: removed short start marker segment",{before:t,after:p,markerOffset:a,segmentLength:f}),p}function yUn(t,r,a,o){if(a<=0||t.length<3)return t;let l=t[t.length-1],h=t[t.length-2],f=Math.hypot(l.x-h.x,l.y-h.y);if(f>=Math.max(Zkr,a*2)||!dU(r,h,1))return t;let p=[...t.slice(0,-2),l];return o.debug("UIO cutter2: removed short end marker segment",{before:t,after:p,markerOffset:a,segmentLength:f}),p}function bUn(t,r){let a=t.edges.defaultInterpolate,o=t.edges.defaultStyle,l=r.getConfig();t.edges.forEach(h=>{let f=TUn(h,{defaultStyle:o,defaultInterpolate:a,confCurve:l.curve},r);Object.assign(h,f)})}function vUn(t){if(t.classes!==void 0)return t.classes;if(t.start&&t.end)return`flowchart-link LS_${t.start} LE_${t.end}`}function wUn(t,r,a){let o="normal",l="solid",h=[],f=[];return t==="dotted"?(l="dotted",h=["fill:none","stroke-width:2px","stroke-dasharray:3"]):t==="thick"?(o="thick",h=["stroke-width: 3.5px","fill:none"]):(h=r??["fill:none"],a!==void 0&&(f=a)),{thickness:o,pattern:l,style:h,labelStyle:f}}function xUn(t,r,a){return t!==void 0?t:r!==void 0?r:a}function TUn(t,r,a){let o={};o.minlen=t.minlen??t.length??1,o.text=t.text??t.label,o.arrowhead=t.arrowhead??(t.type==="arrow_open"?"none":"normal");let l=Fkr[t.type??"arrow_open"]??Fkr.arrow_open;o.arrowTypeStart=t.arrowTypeStart??l[0],o.arrowTypeEnd=t.arrowTypeEnd??l[1],o.startLabelRight=t.startLabelRight,o.endLabelLeft=t.endLabelLeft;let h=wUn(t.stroke,r.defaultStyle,r.defaultLabelStyle);o.thickness=t.thickness??h.thickness,o.pattern=t.pattern??h.pattern,o.style=t.style??h.style,o.labelStyle=t.labelStyle??h.labelStyle,o.classes=vUn(t),o.curve=a.interpolateToCurve(xUn(t.curve??t.interpolate,r.defaultInterpolate,r.confCurve),qT);let f=(o.text??"")!=="";return t.arrowheadStyle!==void 0?o.arrowheadStyle=t.arrowheadStyle:(f||t.style!==void 0)&&(o.arrowheadStyle="fill: #333"),o.labelpos=t.labelpos??(f?"c":void 0),o.labelType=t.labelType,o.label=(t.label??o.text??"").replace(a.common.lineBreakRegex,` +`),o}function kUn(t){return Math.max(t.width??0,IZe(t))}function kO(t){let r=t?.isGroup?kUn(t):t.width;return{x:t.offset.posX+t.width/2,y:t.offset.posY+t.height/2,width:r??0,height:t.height??0,padding:t.padding}}function qkr(t,r,a=1e-6){return Math.abs(t-r)1?t[1]:o,centerApprox:l}}else{let o=t[t.length-1],l=Wkr(o,r);return{candidate:l&&t.length>1?t[t.length-2]:o,centerApprox:l}}}function Kkr(t,r,a){a&&(r==="start"?t.length>0&&t.shift():t.length>0&&t.pop())}function Xkr(t,r,a){let o=a==="start"?1:-1,l=a==="start"?0:t.length-1,h=l;for(;l>=0&&l=t.length)return!1;let f=t[l],p=t[l-o],m=f.x-p.x,b=f.y-p.y,v=m===0?1/0:(r.x+Math.sign(m)*r.width/2-p.x)/m,T=b===0?1/0:(r.y+Math.sign(b)*r.height/2-p.y)/b,C=Math.min(v,T),E={x:p.x+C*m,y:p.y+C*b};return a==="start"?t.splice(0,l,E):t.splice(l+1,t.length-l-1,E),!0}function CUn(t,r,a,o){let l=-1;for(let[h,f]of t.entries())if(pU(a,f)){l=h;break}if(l!==-1){let h=t[l],f=t[0],p=Ure(r,a,h,f);Vre(t,"start",p),o.debug("UIO cutter2: start-only intersection applied",{startIntersection:p})}}function EUn(t,r,a,o){let l=-1;for(let h=t.length-1;h>=0;h--)if(pU(a,t[h])){l=h;break}if(l!==-1){let h=t[l],f=t[t.length-1],p=Ure(r,a,h,f);Vre(t,"end",p),o.debug("UIO cutter2: end-only intersection applied",{endIntersection:p})}}function Qkr(t,r,a,o,l){if(t?.isGroup)return null;let h=a[o],f=a[o+l];return!h||!f?null:Pkr(t,r,h,f)}function SUn(t,r,a,o){let l=kO(t),h=kO(r);if(a.length===0)return[];let f=[...a],p=f[0],m=f[f.length-1];o.debug("PPP cutter2: bounds",{startBounds:l,endBounds:h}),o.debug("PPP cutter2: original points",a);let b=-1;for(let[C,E]of f.entries())b===-1&&pU(l,E)&&(b=C);if(b!==-1){let C=f[b],E=Qkr(t,l,f,b,1)??Ure(t,l,C,p);o.debug("UIO cutter2: start intersection",E),Vre(f,"start",E)}let v=null,T=-1;for(let C=f.length-1;C>=0;C--)if(pU(h,f[C])){v=f[C],T=C;break}if(!v&&f.length>1&&(v=f[f.length-2],T=f.length-2),v){let C=Qkr(r,h,f,T,-1)??Ure(r,h,v,m);o.debug("UIO cutter2: end intersection",{endIntersection:C,outsideIndexForEnd:T}),Vre(f,"end",C)}if(f.length>1){let C=f[f.length-1],E=f[f.length-2],S=Math.sqrt((C.x-E.x)**2+(C.y-E.y)**2);S<2&&(o.debug("UIO cutter2: trimming tail point (too close)",{distance:S,lastPoint:C,secondLastPoint:E}),f.pop())}return o.debug("UIO cutter2: final points",f),f}var Jkr,Zkr,e3r,Fkr,Wre,t3r,xO,r3r,n3r,Hre,qre,MZe,Azn,$kr,o3r,AZe,Vzn,Jzn,Zzn,Yre,TO,aUn,RZe,oUn,y3r=ie(()=>{"use strict";zwe();ma();Yo();Jkr=qv(Tkr(),1);kZe();Ekr();Lkr();Oz();I2e();Nkr();Bkr();Zkr=8,e3r=i(t=>typeof t!="string"?0:Math.max(gp[t]??0,dre[t]??0),"markerPathOffset"),Fkr={arrow_open:["none","none"],arrow_cross:["none","arrow_cross"],double_arrow_cross:["arrow_cross","arrow_cross"],arrow_point:["none","arrow_point"],double_arrow_point:["arrow_point","arrow_point"],arrow_circle:["none","arrow_circle"],double_arrow_circle:["arrow_circle","arrow_circle"]},Wre=12,t3r=`[top=${Wre},left=${Wre},bottom=${Wre},right=${Wre}]`,xO=24,r3r=24,n3r=50,Hre=15,qre=10,MZe={"spacing.baseValue":15,"spacing.nodeNode":15,"elk.aspectRatio":"1.6","elk.expandNodes":"true","elk.rectpacking.trybox":"true","elk.rectpacking.packing.compaction.rowHeightReevaluation":"true","elk.rectpacking.packing.compaction.iterations":10,"elk.rectpacking.whiteSpaceElimination.strategy":"EQUAL_BETWEEN_STRUCTURES","elk.rectpacking.widthApproximation.strategy":"SCANLINE"},Azn=["nodeSize.constraints","nodeSize.minimum","elk.algorithm","elk.aspectRatio","elk.contentAlignment","elk.expandNodes","elk.padding",...Object.keys(MZe)];i(Rzn,"clearContainerAlgorithmOptions");$kr=new Set(["elk.layered","elk.box","elk.rectpacking","elk.stress","elk.force","elk.mrtree","elk.radial","elk.sporeOverlap"]);i(i3r,"resolveContainerAlgorithm");i(a3r,"dir2ElkDirection");i(IZe,"groupTitleWidth");i(s3r,"groupTitleSizeOptions");i(Lzn,"buildSubgraphLayoutOptions");i(Dzn,"findCyclicEntryNodes");i(_zn,"applyCyclicEntryConstraint");i(Mzn,"prepareLayoutForElk");i(Izn,"runElkLayoutCore");i(Nzn,"buildElkGraphFromLayoutData");i(Ozn,"reverseSubgraphFeedbackEdges");o3r=fU({afterPaint:Rkr,prepareLayout:Mzn,measureLayout:i((t,r)=>xZe(t,r,{unwrapGroupLabels:!0}),"measureLayout"),runLayoutCore:Izn,paintOptions:{skipIntersect:!0}});i(Pzn,"syncHostConfig");i(Bzn,"orderNodesForElkPaint");i(Gkr,"getGroupDepth");i(l3r,"getElkLayoutContext");AZe={default:{layering:"NETWORK_SIMPLEX",placement:"BRANDES_KOEPF",containerPlacement:"BRANDES_KOEPF",alignment:"BALANCED",cycleBreaking:"DEPTH_FIRST"},legacy:{layering:"NETWORK_SIMPLEX",placement:"BRANDES_KOEPF",containerPlacement:"BRANDES_KOEPF",alignment:"NONE",cycleBreaking:"GREEDY"},modelOrder:{layering:"NETWORK_SIMPLEX",placement:"NETWORK_SIMPLEX",containerPlacement:"BRANDES_KOEPF",alignment:"NONE",cycleBreaking:"GREEDY_MODEL_ORDER"},depthFirst:{layering:"NETWORK_SIMPLEX",placement:"NETWORK_SIMPLEX",containerPlacement:"BRANDES_KOEPF",alignment:"NONE",cycleBreaking:"DEPTH_FIRST"}};i(c3r,"resolveElkPreset");i(Fzn,"createRootElkGraph");i($zn,"addSubGraphs");i(u3r,"addVertices");i(Gzn,"addVertex");i(jzn,"createElkNode");i(zzn,"getMeasuredLabelData");i(Uzn,"addEdgesToElkGraph");Vzn=6;i(Hzn,"terminalElkLabels");i(qzn,"getEdgeStartEndPoint");i(Wzn,"configureSubgraphNodes");i(Yzn,"configureCrossHierarchyEdges");i(LZe,"setIncludeChildrenPolicy");i(Kzn,"runElkLayout");i(Xzn,"applyElkLayoutResult");i(h3r,"collectDescendantIds");i(Qzn,"internalEdgePoints");i(f3r,"evenGroupFrames");i(d3r,"applyElkNodePositions");Jzn=16,Zzn=30,Yre=.01;i(Ywe,"axisOf");i(eUn,"straightenTerminalJogsWithRuns");i(jkr,"straightenFront");i(tUn,"segmentsCrossStrict");i(zkr,"crossingCount");i(rUn,"paramOnSegment");i(Ukr,"pointAtParam");i(p3r,"projectLabelOntoStraightenedRun");i(DZe,"segmentHitsBox");TO=i((t,r)=>({x1:t.x-r.width/2,y1:t.y-r.height/2,x2:t.x+r.width/2,y2:t.y+r.height/2}),"labelBox");i(nUn,"straightenEdgeTerminals");i(iUn,"applyElkEdgeLayout");aUn=4;i(sUn,"separateOppositeEdgeLabels");RZe=i((t,r)=>t.x1o3r});var v3r=ie(()=>{"use strict";y3r()});function w3r(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function AUn(t,r){if(t!=="_next"&&t!=="_prev")return r}var Kwe,x3r=ie(()=>{"use strict";Kwe=class{static{i(this,"List")}constructor(){var r={};r._next=r._prev=r,this._sentinel=r}dequeue(){var r=this._sentinel,a=r._prev;if(a!==r)return w3r(a),a}enqueue(r){var a=this._sentinel;r._prev&&r._next&&w3r(r),r._next=a._next,a._next._prev=r,a._next=r,r._prev=a}toString(){for(var r=[],a=this._sentinel,o=a._prev;o!==a;)r.push(JSON.stringify(o,AUn)),o=o._prev;return"["+r.join(", ")+"]"}};i(w3r,"unlink");i(AUn,"filterOutLinks")});function T3r(t,r){if(t.nodeCount()<=1)return[];var a=DUn(t,r||RUn),o=LUn(a.graph,a.buckets,a.zeroIdx);return tk(th(o,function(l){return t.outEdges(l.v,l.w)}))}function LUn(t,r,a){for(var o=[],l=r[r.length-1],h=r[0],f;t.nodeCount();){for(;f=h.dequeue();)NZe(t,r,a,f);for(;f=l.dequeue();)NZe(t,r,a,f);if(t.nodeCount()){for(var p=r.length-2;p>0;--p)if(f=r[p].dequeue(),f){o=o.concat(NZe(t,r,a,f,!0));break}}}return o}function NZe(t,r,a,o,l){var h=l?[]:void 0;return fn(t.inEdges(o.v),function(f){var p=t.edge(f),m=t.node(f.v);l&&h.push({v:f.v,w:f.w}),m.out-=p,OZe(r,a,m)}),fn(t.outEdges(o.v),function(f){var p=t.edge(f),m=f.w,b=t.node(m);b.in-=p,OZe(r,a,b)}),t.removeNode(o.v),h}function DUn(t,r){var a=new nh,o=0,l=0;fn(t.nodes(),function(p){a.setNode(p,{v:p,in:0,out:0})}),fn(t.edges(),function(p){var m=a.edge(p.v,p.w)||0,b=r(p),v=m+b;a.setEdge(p.v,p.w,v),l=Math.max(l,a.node(p.v).out+=b),o=Math.max(o,a.node(p.w).in+=b)});var h=rk(l+o+3).map(function(){return new Kwe}),f=o+1;return fn(a.nodes(),function(p){OZe(h,f,a.node(p))}),{graph:a,buckets:h,zeroIdx:f}}function OZe(t,r,a){a.out?a.in?t[a.out-a.in+r].enqueue(a):t[t.length-1].enqueue(a):t[0].enqueue(a)}var RUn,k3r=ie(()=>{"use strict";rh();nk();x3r();RUn=r2(1);i(T3r,"greedyFAS");i(LUn,"doGreedyFAS");i(NZe,"removeNode");i(DUn,"buildState");i(OZe,"assignBucket")});function C3r(t){var r=t.graph().acyclicer==="greedy"?T3r(t,a(t)):_Un(t);fn(r,function(o){var l=t.edge(o);t.removeEdge(o),l.forwardName=o.name,l.reversed=!0,t.setEdge(o.w,o.v,l,yO("rev"))});function a(o){return function(l){return o.edge(l).weight}}i(a,"weightFn")}function _Un(t){var r=[],a={},o={};function l(h){Object.prototype.hasOwnProperty.call(o,h)||(o[h]=!0,a[h]=!0,fn(t.outEdges(h),function(f){Object.prototype.hasOwnProperty.call(a,f.w)?r.push(f):l(f.w)}),delete a[h])}return i(l,"dfs"),fn(t.nodes(),l),r}function E3r(t){fn(t.edges(),function(r){var a=t.edge(r);if(a.reversed){t.removeEdge(r);var o=a.forwardName;delete a.reversed,delete a.forwardName,t.setEdge(r.w,r.v,a,o)}})}var PZe=ie(()=>{"use strict";rh();k3r();i(C3r,"run");i(_Un,"dfsFAS");i(E3r,"undo")});function cS(t,r,a,o){var l;do l=yO(o);while(t.hasNode(l));return a.dummy=r,t.setNode(l,a),l}function A3r(t){var r=new nh().setGraph(t.graph());return fn(t.nodes(),function(a){r.setNode(a,t.node(a))}),fn(t.edges(),function(a){var o=r.edge(a.v,a.w)||{weight:0,minlen:1},l=t.edge(a);r.setEdge(a.v,a.w,{weight:o.weight+l.weight,minlen:Math.max(o.minlen,l.minlen)})}),r}function Xwe(t){var r=new nh({multigraph:t.isMultigraph()}).setGraph(t.graph());return fn(t.nodes(),function(a){t.children(a).length||r.setNode(a,t.node(a))}),fn(t.edges(),function(a){r.setEdge(a,t.edge(a))}),r}function BZe(t,r){var a=t.x,o=t.y,l=r.x-a,h=r.y-o,f=t.width/2,p=t.height/2;if(!l&&!h)throw new Error("Not possible to find intersection inside of the rectangle");var m,b;return Math.abs(h)*f>Math.abs(l)*p?(h<0&&(p=-p),m=p*l/h,b=p):(l<0&&(f=-f),m=f,b=f*h/l),{x:a+m,y:o+b}}function sD(t){var r=th(rk($Ze(t)+1),function(){return[]});return fn(t.nodes(),function(a){var o=t.node(a),l=o.rank;bp(l)||(r[l][o.order]=a)}),r}function R3r(t){var r=vA(th(t.nodes(),function(a){return t.node(a).rank}));fn(t.nodes(),function(a){var o=t.node(a);Fre(o,"rank")&&(o.rank-=r)})}function L3r(t){var r=vA(th(t.nodes(),function(h){return t.node(h).rank})),a=[];fn(t.nodes(),function(h){var f=t.node(h).rank-r;a[f]||(a[f]=[]),a[f].push(h)});var o=0,l=t.graph().nodeRankFactor;fn(a,function(h,f){bp(h)&&f%l!==0?--o:o&&fn(h,function(p){t.node(p).rank+=o})})}function FZe(t,r,a,o){var l={width:0,height:0};return arguments.length>=4&&(l.rank=a,l.order=o),cS(t,"border",l,r)}function $Ze(t){return i2(th(t.nodes(),function(r){var a=t.node(r).rank;if(!bp(a))return a}))}function D3r(t,r){var a={lhs:[],rhs:[]};return fn(t,function(o){r(o)?a.lhs.push(o):a.rhs.push(o)}),a}function _3r(t,r){var a=Mwe();try{return r()}finally{console.log(t+" time: "+(Mwe()-a)+"ms")}}function M3r(t,r){return r()}var uS=ie(()=>{"use strict";rh();nk();i(cS,"addDummyNode");i(A3r,"simplify");i(Xwe,"asNonCompoundGraph");i(BZe,"intersectRect");i(sD,"buildLayerMatrix");i(R3r,"normalizeRanks");i(L3r,"removeEmptyRanks");i(FZe,"addBorderNode");i($Ze,"maxRank");i(D3r,"partition");i(_3r,"time");i(M3r,"notime")});function N3r(t){function r(a){var o=t.children(a),l=t.node(a);if(o.length&&fn(o,r),Object.prototype.hasOwnProperty.call(l,"minRank")){l.borderLeft=[],l.borderRight=[];for(var h=l.minRank,f=l.maxRank+1;h{"use strict";rh();uS();i(N3r,"addBorderSegments");i(I3r,"addBorderNode")});function B3r(t){var r=t.graph().rankdir.toLowerCase();(r==="lr"||r==="rl")&&$3r(t)}function F3r(t){var r=t.graph().rankdir.toLowerCase();(r==="bt"||r==="rl")&&MUn(t),(r==="lr"||r==="rl")&&(IUn(t),$3r(t))}function $3r(t){fn(t.nodes(),function(r){P3r(t.node(r))}),fn(t.edges(),function(r){P3r(t.edge(r))})}function P3r(t){var r=t.width;t.width=t.height,t.height=r}function MUn(t){fn(t.nodes(),function(r){GZe(t.node(r))}),fn(t.edges(),function(r){var a=t.edge(r);fn(a.points,GZe),Object.prototype.hasOwnProperty.call(a,"y")&&GZe(a)})}function GZe(t){t.y=-t.y}function IUn(t){fn(t.nodes(),function(r){jZe(t.node(r))}),fn(t.edges(),function(r){var a=t.edge(r);fn(a.points,jZe),Object.prototype.hasOwnProperty.call(a,"x")&&jZe(a)})}function jZe(t){var r=t.x;t.x=t.y,t.y=r}var G3r=ie(()=>{"use strict";rh();i(B3r,"adjust");i(F3r,"undo");i($3r,"swapWidthHeight");i(P3r,"swapWidthHeightOne");i(MUn,"reverseY");i(GZe,"reverseYOne");i(IUn,"swapXY");i(jZe,"swapXYOne")});function j3r(t){t.graph().dummyChains=[],fn(t.edges(),function(r){OUn(t,r)})}function OUn(t,r){var a=r.v,o=t.node(a).rank,l=r.w,h=t.node(l).rank,f=r.name,p=t.edge(r),m=p.labelRank;if(h!==o+1){t.removeEdge(r);var b=void 0,v,T;for(T=0,++o;o{"use strict";rh();uS();i(j3r,"run");i(OUn,"normalizeEdge");i(z3r,"undo")});function Kre(t){var r={};function a(o){var l=t.node(o);if(Object.prototype.hasOwnProperty.call(r,o))return l.rank;r[o]=!0;var h=vA(th(t.outEdges(o),function(f){return a(f.w)-t.edge(f).minlen}));return(h===Number.POSITIVE_INFINITY||h===void 0||h===null)&&(h=0),l.rank=h}i(a,"dfs"),fn(t.sources(),a)}function CO(t,r){return t.node(r.w).rank-t.node(r.v).rank-t.edge(r).minlen}var Qwe=ie(()=>{"use strict";rh();i(Kre,"longestPath");i(CO,"slack")});function Jwe(t){var r=new nh({directed:!1}),a=t.nodes()[0],o=t.nodeCount();r.setNode(a,{});for(var l,h;PUn(r,t){"use strict";rh();nk();Qwe();i(Jwe,"feasibleTree");i(PUn,"tightTree");i(BUn,"findMinSlackEdge");i(FUn,"shiftRanks")});var V3r=ie(()=>{"use strict"});var VZe=ie(()=>{"use strict"});var s$a,HZe=ie(()=>{"use strict";rh();VZe();s$a=r2(1)});var H3r=ie(()=>{"use strict";HZe()});var qZe=ie(()=>{"use strict"});var q3r=ie(()=>{"use strict";qZe()});var y$a,W3r=ie(()=>{"use strict";rh();y$a=r2(1)});function WZe(t){var r={},a={},o=[];function l(h){if(Object.prototype.hasOwnProperty.call(a,h))throw new Xre;Object.prototype.hasOwnProperty.call(r,h)||(a[h]=!0,r[h]=!0,fn(t.predecessors(h),l),delete a[h],o.push(h))}if(i(l,"visit"),fn(t.sinks(),l),dZe(r)!==t.nodeCount())throw new Xre;return o}function Xre(){}var YZe=ie(()=>{"use strict";rh();WZe.CycleException=Xre;i(WZe,"topsort");i(Xre,"CycleException");Xre.prototype=new Error});var Y3r=ie(()=>{"use strict";YZe()});function Zwe(t,r,a){wl(r)||(r=[r]);var o=(t.isDirected()?t.successors:t.neighbors).bind(t),l=[],h={};return fn(r,function(f){if(!t.hasNode(f))throw new Error("Graph does not have node: "+f);K3r(t,f,a==="post",h,o,l)}),l}function K3r(t,r,a,o,l,h){Object.prototype.hasOwnProperty.call(o,r)||(o[r]=!0,a||h.push(r),fn(l(r),function(f){K3r(t,f,a,o,l,h)}),a&&h.push(r))}var KZe=ie(()=>{"use strict";rh();i(Zwe,"dfs");i(K3r,"doDfs")});function XZe(t,r){return Zwe(t,r,"post")}var X3r=ie(()=>{"use strict";KZe();i(XZe,"postorder")});function QZe(t,r){return Zwe(t,r,"pre")}var Q3r=ie(()=>{"use strict";KZe();i(QZe,"preorder")});var J3r=ie(()=>{"use strict";VZe();mZe()});var Z3r=ie(()=>{"use strict";V3r();HZe();H3r();q3r();W3r();Y3r();X3r();Q3r();J3r();qZe();YZe()});function lD(t){t=A3r(t),Kre(t);var r=Jwe(t);ZZe(r),JZe(r,t);for(var a,o;a=n4r(r);)o=i4r(r,t,a),a4r(r,t,a,o)}function JZe(t,r){var a=XZe(t,t.nodes());a=a.slice(0,a.length-1),fn(a,function(o){UUn(t,r,o)})}function UUn(t,r,a){var o=t.node(a),l=o.parent;t.edge(a,l).cutvalue=t4r(t,r,a)}function t4r(t,r,a){var o=t.node(a),l=o.parent,h=!0,f=r.edge(a,l),p=0;return f||(h=!1,f=r.edge(l,a)),p=f.weight,fn(r.nodeEdges(a),function(m){var b=m.v===a,v=b?m.w:m.v;if(v!==l){var T=b===h,C=r.edge(m).weight;if(p+=T?C:-C,HUn(t,a,v)){var E=t.edge(a,v).cutvalue;p+=T?-E:E}}}),p}function ZZe(t,r){arguments.length<2&&(r=t.nodes()[0]),r4r(t,{},1,r)}function r4r(t,r,a,o,l){var h=a,f=t.node(o);return r[o]=!0,fn(t.neighbors(o),function(p){Object.prototype.hasOwnProperty.call(r,p)||(a=r4r(t,r,a,p,o))}),f.low=h,f.lim=a++,l?f.parent=l:delete f.parent,a}function n4r(t){return cU(t.edges(),function(r){return t.edge(r).cutvalue<0})}function i4r(t,r,a){var o=a.v,l=a.w;r.hasEdge(o,l)||(o=a.w,l=a.v);var h=t.node(o),f=t.node(l),p=h,m=!1;h.lim>f.lim&&(p=f,m=!0);var b=Sb(r.edges(),function(v){return m===e4r(t,t.node(v.v),p)&&m!==e4r(t,t.node(v.w),p)});return gO(b,function(v){return CO(r,v)})}function a4r(t,r,a,o){var l=a.v,h=a.w;t.removeEdge(l,h),t.setEdge(o.v,o.w,{}),ZZe(t),JZe(t,r),VUn(t,r)}function VUn(t,r){var a=cU(t.nodes(),function(l){return!r.node(l).parent}),o=QZe(t,a);o=o.slice(1),fn(o,function(l){var h=t.node(l).parent,f=r.edge(l,h),p=!1;f||(f=r.edge(h,l),p=!0),r.node(l).rank=r.node(h).rank+(p?f.minlen:-f.minlen)})}function HUn(t,r,a){return t.hasEdge(r,a)}function e4r(t,r,a){return a.low<=r.lim&&r.lim<=a.lim}var s4r=ie(()=>{"use strict";rh();Z3r();uS();UZe();Qwe();lD.initLowLimValues=ZZe;lD.initCutValues=JZe;lD.calcCutValue=t4r;lD.leaveEdge=n4r;lD.enterEdge=i4r;lD.exchangeEdges=a4r;i(lD,"networkSimplex");i(JZe,"initCutValues");i(UUn,"assignCutValue");i(t4r,"calcCutValue");i(ZZe,"initLowLimValues");i(r4r,"dfsAssignLowLim");i(n4r,"leaveEdge");i(i4r,"enterEdge");i(a4r,"exchangeEdges");i(VUn,"updateRanks");i(HUn,"isTreeEdge");i(e4r,"isDescendant")});function eet(t){switch(t.graph().ranker){case"network-simplex":o4r(t);break;case"tight-tree":WUn(t);break;case"longest-path":qUn(t);break;default:o4r(t)}}function WUn(t){Kre(t),Jwe(t)}function o4r(t){lD(t)}var qUn,tet=ie(()=>{"use strict";UZe();s4r();Qwe();i(eet,"rank");qUn=Kre;i(WUn,"tightTreeRanker");i(o4r,"networkSimplexRanker")});function l4r(t){var r=cS(t,"root",{},"_root"),a=YUn(t),o=i2(qw(a))-1,l=2*o+1;t.graph().nestingRoot=r,fn(t.edges(),function(f){t.edge(f).minlen*=l});var h=KUn(t)+1;fn(t.children(),function(f){c4r(t,r,l,h,o,a,f)}),t.graph().nodeRankFactor=l}function c4r(t,r,a,o,l,h,f){var p=t.children(f);if(!p.length){f!==r&&t.setEdge(r,f,{weight:0,minlen:a});return}var m=FZe(t,"_bt"),b=FZe(t,"_bb"),v=t.node(f);t.setParent(m,f),v.borderTop=m,t.setParent(b,f),v.borderBottom=b,fn(p,function(T){c4r(t,r,a,o,l,h,T);var C=t.node(T),E=C.borderTop?C.borderTop:T,S=C.borderBottom?C.borderBottom:T,R=C.borderTop?o:2*o,L=E!==S?1:l-h[f]+1;t.setEdge(m,E,{weight:R,minlen:L,nestingEdge:!0}),t.setEdge(S,b,{weight:R,minlen:L,nestingEdge:!0})}),t.parent(f)||t.setEdge(r,m,{weight:0,minlen:l+h[f]})}function YUn(t){var r={};function a(o,l){var h=t.children(o);h&&h.length&&fn(h,function(f){a(f,l+1)}),r[o]=l}return i(a,"dfs"),fn(t.children(),function(o){a(o,1)}),r}function KUn(t){return sS(t.edges(),function(r,a){return r+t.edge(a).weight},0)}function u4r(t){var r=t.graph();t.removeNode(r.nestingRoot),delete r.nestingRoot,fn(t.edges(),function(a){var o=t.edge(a);o.nestingEdge&&t.removeEdge(a)})}var h4r=ie(()=>{"use strict";rh();uS();i(l4r,"run");i(c4r,"dfs");i(YUn,"treeDepths");i(KUn,"sumWeights");i(u4r,"cleanup")});function f4r(t,r,a){var o={},l;fn(a,function(h){for(var f=t.parent(h),p,m;f;){if(p=t.parent(f),p?(m=o[p],o[p]=f):(m=l,l=f),m&&m!==f){r.setEdge(m,f);return}f=p}})}var d4r=ie(()=>{"use strict";rh();i(f4r,"addSubgraphConstraints")});function p4r(t,r,a){var o=QUn(t),l=new nh({compound:!0}).setGraph({root:o}).setDefaultNodeLabel(function(h){return t.node(h)});return fn(t.nodes(),function(h){var f=t.node(h),p=t.parent(h);(f.rank===r||f.minRank<=r&&r<=f.maxRank)&&(l.setNode(h),l.setParent(h,p||o),fn(t[a](h),function(m){var b=m.v===h?m.w:m.v,v=l.edge(b,h),T=bp(v)?0:v.weight;l.setEdge(b,h,{weight:t.edge(m).weight+T})}),Object.prototype.hasOwnProperty.call(f,"minRank")&&l.setNode(h,{borderLeft:f.borderLeft[r],borderRight:f.borderRight[r]}))}),l}function QUn(t){for(var r;t.hasNode(r=yO("_root")););return r}var g4r=ie(()=>{"use strict";rh();nk();i(p4r,"buildLayerGraph");i(QUn,"createRootNode")});function m4r(t,r){for(var a=0,o=1;o0;)v%2&&(T+=p[v+1]),v=v-1>>1,p[v]+=b.weight;m+=b.weight*T})),m}var y4r=ie(()=>{"use strict";rh();i(m4r,"crossCount");i(JUn,"twoLayerCrossCount")});function b4r(t){var r={},a=Sb(t.nodes(),function(p){return!t.children(p).length}),o=i2(th(a,function(p){return t.node(p).rank})),l=th(rk(o+1),function(){return[]});function h(p){if(!Fre(r,p)){r[p]=!0;var m=t.node(p);l[m.rank].push(p),fn(t.successors(p),h)}}i(h,"dfs");var f=oS(a,function(p){return t.node(p).rank});return fn(f,h),l}var v4r=ie(()=>{"use strict";rh();i(b4r,"initOrder")});function w4r(t,r){return th(r,function(a){var o=t.inEdges(a);if(o.length){var l=sS(o,function(h,f){var p=t.edge(f),m=t.node(f.v);return{sum:h.sum+p.weight*m.order,weight:h.weight+p.weight}},{sum:0,weight:0});return{v:a,barycenter:l.sum/l.weight,weight:l.weight}}else return{v:a}})}var x4r=ie(()=>{"use strict";rh();i(w4r,"barycenter")});function T4r(t,r){var a={};fn(t,function(l,h){var f=a[l.v]={indegree:0,in:[],out:[],vs:[l.v],i:h};bp(l.barycenter)||(f.barycenter=l.barycenter,f.weight=l.weight)}),fn(r.edges(),function(l){var h=a[l.v],f=a[l.w];!bp(h)&&!bp(f)&&(f.indegree++,h.out.push(a[l.w]))});var o=Sb(a,function(l){return!l.indegree});return ZUn(o)}function ZUn(t){var r=[];function a(h){return function(f){f.merged||(bp(f.barycenter)||bp(h.barycenter)||f.barycenter>=h.barycenter)&&eVn(h,f)}}i(a,"handleIn");function o(h){return function(f){f.in.push(h),--f.indegree===0&&t.push(f)}}for(i(o,"handleOut");t.length;){var l=t.pop();r.push(l),fn(l.in.reverse(),a(l)),fn(l.out,o(l))}return th(Sb(r,function(h){return!h.merged}),function(h){return mO(h,["vs","i","barycenter","weight"])})}function eVn(t,r){var a=0,o=0;t.weight&&(a+=t.barycenter*t.weight,o+=t.weight),r.weight&&(a+=r.barycenter*r.weight,o+=r.weight),t.vs=r.vs.concat(t.vs),t.barycenter=a/o,t.weight=o,t.i=Math.min(r.i,t.i),r.merged=!0}var k4r=ie(()=>{"use strict";rh();i(T4r,"resolveConflicts");i(ZUn,"doResolveConflicts");i(eVn,"mergeEntries")});function E4r(t,r){var a=D3r(t,function(v){return Object.prototype.hasOwnProperty.call(v,"barycenter")}),o=a.lhs,l=oS(a.rhs,function(v){return-v.i}),h=[],f=0,p=0,m=0;o.sort(tVn(!!r)),m=C4r(h,l,m),fn(o,function(v){m+=v.vs.length,h.push(v.vs),f+=v.barycenter*v.weight,p+=v.weight,m=C4r(h,l,m)});var b={vs:tk(h)};return p&&(b.barycenter=f/p,b.weight=p),b}function C4r(t,r,a){for(var o;r.length&&(o=aD(r)).i<=a;)r.pop(),t.push(o.vs),a++;return a}function tVn(t){return function(r,a){return r.barycentera.barycenter?1:t?a.i-r.i:r.i-a.i}}var S4r=ie(()=>{"use strict";rh();uS();i(E4r,"sort");i(C4r,"consumeUnsortable");i(tVn,"compareWithBias")});function ret(t,r,a,o){var l=t.children(r),h=t.node(r),f=h?h.borderLeft:void 0,p=h?h.borderRight:void 0,m={};f&&(l=Sb(l,function(S){return S!==f&&S!==p}));var b=w4r(t,l);fn(b,function(S){if(t.children(S.v).length){var R=ret(t,S.v,a,o);m[S.v]=R,Object.prototype.hasOwnProperty.call(R,"barycenter")&&nVn(S,R)}});var v=T4r(b,a);rVn(v,m);var T=E4r(v,o);if(f&&(T.vs=tk([f,T.vs,p]),t.predecessors(f).length)){var C=t.node(t.predecessors(f)[0]),E=t.node(t.predecessors(p)[0]);Object.prototype.hasOwnProperty.call(T,"barycenter")||(T.barycenter=0,T.weight=0),T.barycenter=(T.barycenter*T.weight+C.order+E.order)/(T.weight+2),T.weight+=2}return T}function rVn(t,r){fn(t,function(a){a.vs=tk(a.vs.map(function(o){return r[o]?r[o].vs:o}))})}function nVn(t,r){bp(t.barycenter)?(t.barycenter=r.barycenter,t.weight=r.weight):(t.barycenter=(t.barycenter*t.weight+r.barycenter*r.weight)/(t.weight+r.weight),t.weight+=r.weight)}var A4r=ie(()=>{"use strict";rh();x4r();k4r();S4r();i(ret,"sortSubgraph");i(rVn,"expandSubgraphs");i(nVn,"mergeBarycenters")});function D4r(t){var r=$Ze(t),a=R4r(t,rk(1,r+1),"inEdges"),o=R4r(t,rk(r-1,-1,-1),"outEdges"),l=b4r(t);L4r(t,l);for(var h=Number.POSITIVE_INFINITY,f,p=0,m=0;m<4;++p,++m){iVn(p%2?a:o,p%4>=2),l=sD(t);var b=m4r(t,l);b{"use strict";rh();nk();uS();d4r();g4r();y4r();v4r();A4r();i(D4r,"order");i(R4r,"buildLayerGraphs");i(iVn,"sweepLayerGraphs");i(L4r,"assignOrder")});function M4r(t){var r=sVn(t);fn(t.graph().dummyChains,function(a){for(var o=t.node(a),l=o.edgeObj,h=aVn(t,r,l.v,l.w),f=h.path,p=h.lca,m=0,b=f[m],v=!0;a!==l.w;){if(o=t.node(a),v){for(;(b=f[m])!==p&&t.node(b).maxRankf||p>r[m].lim));for(b=m,m=o;(m=t.parent(m))!==b;)h.push(m);return{path:l.concat(h.reverse()),lca:b}}function sVn(t){var r={},a=0;function o(l){var h=a;fn(t.children(l),o),r[l]={low:h,lim:a++}}return i(o,"dfs"),fn(t.children(),o),r}var I4r=ie(()=>{"use strict";rh();i(M4r,"parentDummyChains");i(aVn,"findPath");i(sVn,"postorder")});function oVn(t,r){var a={};function o(l,h){var f=0,p=0,m=l.length,b=aD(h);return fn(h,function(v,T){var C=cVn(t,v),E=C?t.node(C).order:m;(C||v===b)&&(fn(h.slice(p,T+1),function(S){fn(t.predecessors(S),function(R){var L=t.node(R),_=L.order;(_b)&&N4r(a,C,v)})})}i(o,"scan");function l(h,f){var p=-1,m,b=0;return fn(f,function(v,T){if(t.node(v).dummy==="border"){var C=t.predecessors(v);C.length&&(m=t.node(C[0]).order,o(f,b,T,p,m),b=T,p=m)}o(f,b,f.length,m,h.length)}),f}return i(l,"visitLayer"),sS(r,l),a}function cVn(t,r){if(t.node(r).dummy)return cU(t.predecessors(r),function(a){return t.node(a).dummy})}function N4r(t,r,a){if(r>a){var o=r;r=a,a=o}Object.prototype.hasOwnProperty.call(t,r)||Object.defineProperty(t,r,{enumerable:!0,configurable:!0,value:{},writable:!0});var l=t[r];Object.defineProperty(l,a,{enumerable:!0,configurable:!0,value:!0,writable:!0})}function uVn(t,r,a){if(r>a){var o=r;r=a,a=o}return!!t[r]&&Object.prototype.hasOwnProperty.call(t[r],a)}function hVn(t,r,a,o){var l={},h={},f={};return fn(r,function(p){fn(p,function(m,b){l[m]=m,h[m]=m,f[m]=b})}),fn(r,function(p){var m=-1;fn(p,function(b){var v=o(b);if(v.length){v=oS(v,function(R){return f[R]});for(var T=(v.length-1)/2,C=Math.floor(T),E=Math.ceil(T);C<=E;++C){var S=v[C];h[b]===b&&m{"use strict";rh();nk();uS();i(oVn,"findType1Conflicts");i(lVn,"findType2Conflicts");i(cVn,"findOtherInnerSegmentNode");i(N4r,"addConflict");i(uVn,"hasConflict");i(hVn,"verticalAlignment");i(fVn,"horizontalCompaction");i(dVn,"buildBlockGraph");i(pVn,"findSmallestWidthAlignment");i(gVn,"alignCoordinates");i(mVn,"balance");i(O4r,"positionX");i(yVn,"sep");i(bVn,"width")});function B4r(t){t=Xwe(t),vVn(t),cZe(O4r(t),function(r,a){t.node(a).x=r})}function vVn(t){var r=sD(t),a=t.graph().ranksep,o=0;fn(r,function(l){var h=i2(th(l,function(f){return t.node(f).height}));fn(l,function(f){t.node(f).y=o+h/2}),o+=h+a})}var F4r=ie(()=>{"use strict";rh();uS();P4r();i(B4r,"position");i(vVn,"positionY")});function aet(t,r){var a=r&&r.debugTiming?_3r:M3r;a("layout",()=>{var o=a(" buildLayoutGraph",()=>DVn(t));a(" runLayout",()=>wVn(o,a)),a(" updateInputGraph",()=>xVn(t,o))})}function wVn(t,r){r(" makeSpaceForEdgeLabels",()=>_Vn(t)),r(" removeSelfEdges",()=>GVn(t)),r(" acyclic",()=>C3r(t)),r(" nestingGraph.run",()=>l4r(t)),r(" rank",()=>eet(Xwe(t))),r(" injectEdgeLabelProxies",()=>MVn(t)),r(" removeEmptyRanks",()=>L3r(t)),r(" nestingGraph.cleanup",()=>u4r(t)),r(" normalizeRanks",()=>R3r(t)),r(" assignRankMinMax",()=>IVn(t)),r(" removeEdgeLabelProxies",()=>NVn(t)),r(" normalize.run",()=>j3r(t)),r(" parentDummyChains",()=>M4r(t)),r(" addBorderSegments",()=>N3r(t)),r(" order",()=>D4r(t)),r(" insertSelfEdges",()=>jVn(t)),r(" adjustCoordinateSystem",()=>B3r(t)),r(" position",()=>B4r(t)),r(" positionSelfEdges",()=>zVn(t)),r(" removeBorderNodes",()=>$Vn(t)),r(" normalize.undo",()=>z3r(t)),r(" fixupEdgeLabelCoords",()=>BVn(t)),r(" undoCoordinateSystem",()=>F3r(t)),r(" translateGraph",()=>OVn(t)),r(" assignNodeIntersects",()=>PVn(t)),r(" reversePoints",()=>FVn(t)),r(" acyclic.undo",()=>E3r(t))}function xVn(t,r){fn(t.nodes(),function(a){var o=t.node(a),l=r.node(a);o&&(o.x=l.x,o.y=l.y,r.children(a).length&&(o.width=l.width,o.height=l.height))}),fn(t.edges(),function(a){var o=t.edge(a),l=r.edge(a);o.points=l.points,Object.prototype.hasOwnProperty.call(l,"x")&&(o.x=l.x,o.y=l.y)}),t.graph().width=r.graph().width,t.graph().height=r.graph().height}function DVn(t){var r=new nh({multigraph:!0,compound:!0}),a=iet(t.graph());return r.setGraph(hU({},kVn,net(a,TVn),mO(a,CVn))),fn(t.nodes(),function(o){var l=iet(t.node(o));r.setNode(o,rZe(net(l,EVn),SVn)),r.setParent(o,t.parent(o))}),fn(t.edges(),function(o){var l=iet(t.edge(o));r.setEdge(o,hU({},RVn,net(l,AVn),mO(l,LVn)))}),r}function _Vn(t){var r=t.graph();r.ranksep/=2,fn(t.edges(),function(a){var o=t.edge(a);o.minlen*=2,o.labelpos.toLowerCase()!=="c"&&(r.rankdir==="TB"||r.rankdir==="BT"?o.width+=o.labeloffset:o.height+=o.labeloffset)})}function MVn(t){fn(t.edges(),function(r){var a=t.edge(r);if(a.width&&a.height){var o=t.node(r.v),l=t.node(r.w),h={rank:(l.rank-o.rank)/2+o.rank,e:r};cS(t,"edge-proxy",h,"_ep")}})}function IVn(t){var r=0;fn(t.nodes(),function(a){var o=t.node(a);o.borderTop&&(o.minRank=t.node(o.borderTop).rank,o.maxRank=t.node(o.borderBottom).rank,r=i2(r,o.maxRank))}),t.graph().maxRank=r}function NVn(t){fn(t.nodes(),function(r){var a=t.node(r);a.dummy==="edge-proxy"&&(t.edge(a.e).labelRank=a.rank,t.removeNode(r))})}function OVn(t){var r=Number.POSITIVE_INFINITY,a=0,o=Number.POSITIVE_INFINITY,l=0,h=t.graph(),f=h.marginx||0,p=h.marginy||0;function m(b){var v=b.x,T=b.y,C=b.width,E=b.height;r=Math.min(r,v-C/2),a=Math.max(a,v+C/2),o=Math.min(o,T-E/2),l=Math.max(l,T+E/2)}i(m,"getExtremes"),fn(t.nodes(),function(b){m(t.node(b))}),fn(t.edges(),function(b){var v=t.edge(b);Object.prototype.hasOwnProperty.call(v,"x")&&m(v)}),r-=f,o-=p,fn(t.nodes(),function(b){var v=t.node(b);v.x-=r,v.y-=o}),fn(t.edges(),function(b){var v=t.edge(b);fn(v.points,function(T){T.x-=r,T.y-=o}),Object.prototype.hasOwnProperty.call(v,"x")&&(v.x-=r),Object.prototype.hasOwnProperty.call(v,"y")&&(v.y-=o)}),h.width=a-r+f,h.height=l-o+p}function PVn(t){fn(t.edges(),function(r){var a=t.edge(r),o=t.node(r.v),l=t.node(r.w),h,f;a.points?(h=a.points[0],f=a.points[a.points.length-1]):(a.points=[],h=l,f=o),a.points.unshift(BZe(o,h)),a.points.push(BZe(l,f))})}function BVn(t){fn(t.edges(),function(r){var a=t.edge(r);if(Object.prototype.hasOwnProperty.call(a,"x"))switch((a.labelpos==="l"||a.labelpos==="r")&&(a.width-=a.labeloffset),a.labelpos){case"l":a.x-=a.width/2+a.labeloffset;break;case"r":a.x+=a.width/2+a.labeloffset;break}})}function FVn(t){fn(t.edges(),function(r){var a=t.edge(r);a.reversed&&a.points.reverse()})}function $Vn(t){fn(t.nodes(),function(r){if(t.children(r).length){var a=t.node(r),o=t.node(a.borderTop),l=t.node(a.borderBottom),h=t.node(aD(a.borderLeft)),f=t.node(aD(a.borderRight));a.width=Math.abs(f.x-h.x),a.height=Math.abs(l.y-o.y),a.x=h.x+a.width/2,a.y=o.y+a.height/2}}),fn(t.nodes(),function(r){t.node(r).dummy==="border"&&t.removeNode(r)})}function GVn(t){fn(t.edges(),function(r){if(r.v===r.w){var a=t.node(r.v);a.selfEdges||(a.selfEdges=[]),a.selfEdges.push({e:r,label:t.edge(r)}),t.removeEdge(r)}})}function jVn(t){var r=sD(t);fn(r,function(a){var o=0;fn(a,function(l,h){var f=t.node(l);f.order=h+o,fn(f.selfEdges,function(p){cS(t,"selfedge",{width:p.label.width,height:p.label.height,rank:f.rank,order:h+ ++o,e:p.e,label:p.label},"_se")}),delete f.selfEdges})})}function zVn(t){fn(t.nodes(),function(r){var a=t.node(r);if(a.dummy==="selfedge"){var o=t.node(a.e.v),l=o.x+o.width/2,h=o.y,f=a.x-l,p=o.height/2;t.setEdge(a.e,a.label),t.removeNode(r),a.label.points=[{x:l+2*f/3,y:h-p},{x:l+5*f/6,y:h-p},{x:l+f,y:h},{x:l+5*f/6,y:h+p},{x:l+2*f/3,y:h+p}],a.label.x=a.x,a.label.y=a.y}})}function net(t,r){return pO(mO(t,r),Number)}function iet(t){var r={};return fn(t,function(a,o){r[o.toLowerCase()]=a}),r}var TVn,kVn,CVn,EVn,SVn,AVn,RVn,LVn,$4r=ie(()=>{"use strict";rh();nk();O3r();G3r();PZe();zZe();tet();h4r();_4r();I4r();F4r();uS();i(aet,"layout");i(wVn,"runLayout");i(xVn,"updateInputGraph");TVn=["nodesep","edgesep","ranksep","marginx","marginy"],kVn={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},CVn=["acyclicer","ranker","rankdir","align"],EVn=["width","height"],SVn={width:0,height:0},AVn=["minlen","weight","width","height","labeloffset"],RVn={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},LVn=["labelpos"];i(DVn,"buildLayoutGraph");i(_Vn,"makeSpaceForEdgeLabels");i(MVn,"injectEdgeLabelProxies");i(IVn,"assignRankMinMax");i(NVn,"removeEdgeLabelProxies");i(OVn,"translateGraph");i(PVn,"assignNodeIntersects");i(BVn,"fixupEdgeLabelCoords");i(FVn,"reversePointsForReversedEdges");i($Vn,"removeBorderNodes");i(GVn,"removeSelfEdges");i(jVn,"insertSelfEdges");i(zVn,"positionSelfEdges");i(net,"selectNumberAttrs");i(iet,"canonicalize")});var G4r=ie(()=>{"use strict";PZe();$4r();zZe();tet()});var K4r={};cs(K4r,{applyDagreLayoutResult:()=>q4r,getEdgesToRender:()=>set,measureDagreLayout:()=>W4r,prepareLayoutForDagre:()=>oet,render:()=>eHn,runDagreLayoutCore:()=>Y4r});var j4r,z4r,UVn,VVn,HVn,qVn,WVn,set,V4r,H4r,YVn,U4r,KVn,q4r,XVn,QVn,oet,W4r,Y4r,JVn,ZVn,eHn,X4r=ie(()=>{"use strict";G4r();nk();vZe();zwe();Lz();na();wZe();oO();Oz();Fz();Xn();fre();ma();j4r=i((t,r,a)=>Math.max(r,Math.min(a,t)),"clamp"),z4r=i((t="TB")=>{switch(t){case"BT":return"bottom";case"LR":return"right";case"RL":return"left";case"TB":default:return"top"}},"getDefaultSelfLoopSide"),UVn=i(t=>t==="flowchart"||t==="flowchart-v2"||t==="stateDiagram"||t==="er"||t==="classDiagram","shouldMergeSelfLoopSegments"),VVn=["x","y","width","height","labelBBox","intersect","calcIntersect","diff","clusterNode"],HVn=i((t,r,a,o,l)=>{let h=[],f=new Set;if(a.forEach(({start:v,end:T})=>{v!==o&&f.add(v),T!==o&&f.add(T)}),f.forEach(v=>{let T=t.node(v);typeof T?.x=="number"&&typeof T?.y=="number"&&h.push(T)}),h.length===0&&a.forEach(({edge:v})=>{(v.points??[]).forEach(T=>{typeof T?.x=="number"&&typeof T?.y=="number"&&h.push(T)})}),h.length===0)return z4r(l);let p=h.reduce((v,T)=>({x:v.x+T.x/h.length,y:v.y+T.y/h.length}),{x:0,y:0}),m=p.x-r.x,b=p.y-r.y;return Math.abs(m)>Math.abs(b)?m>0?"right":"left":Math.abs(b)>0?b>0?"bottom":"top":z4r(l)},"getSelfLoopSide"),qVn=i((t,r="top",a=0,o=0)=>{let l=t.x,h=t.y-a,f=t.width/2,p=t.height/2,m=Math.max(36,Math.min(100,t.width*.8)),b=j4r(Math.max(o,t.width*.35),36,m),v=j4r(Math.min(t.width,t.height)*.45,24,48);switch(r){case"bottom":{let T=h+p;return[{x:l-b/2,y:T},{x:l-b/2,y:T+v},{x:l+b/2,y:T+v},{x:l+b/2,y:T}]}case"right":{let T=l+f;return[{x:T,y:h-b/2},{x:T+v,y:h-b/2},{x:T+v,y:h+b/2},{x:T,y:h+b/2}]}case"left":{let T=l-f;return[{x:T,y:h-b/2},{x:T-v,y:h-b/2},{x:T-v,y:h+b/2},{x:T,y:h+b/2}]}case"top":default:{let T=h-p;return[{x:l-b/2,y:T},{x:l-b/2,y:T-v},{x:l+b/2,y:T-v},{x:l+b/2,y:T}]}}},"getSelfLoopPoints"),WVn=i((t,r,a="top",o=0,l={})=>{let f=t.x,p=t.y-o,m=l.width??0,b=l.height??0;switch(a){case"bottom":return{x:f,y:Math.max(...r.map(v=>v.y))+b/2+4};case"right":return{x:Math.max(...r.map(v=>v.x))+m/2+4,y:p};case"left":return{x:Math.min(...r.map(v=>v.x))-m/2-4,y:p};case"top":default:return{x:f,y:Math.min(...r.map(v=>v.y))-b/2-4}}},"getSelfLoopLabelPosition"),set=i((t,r=0,{mergeSelfLoops:a=!0}={})=>{let o=new Map,l=[],h=t.graph()?.rankdir;return t.edges().forEach(f=>{let p=t.edge(f);if(a&&p.selfLoop){let m=p.selfLoop.id;o.has(m)||o.set(m,[]),o.get(m).push({edge:p,start:f.v,end:f.w})}else l.push({edge:p,start:f.v,end:f.w})}),o.forEach(f=>{if(f.length!==3){f.forEach(_=>l.push(_));return}f.sort((_,M)=>_.edge.selfLoop.order-M.edge.selfLoop.order);let[p,m,b]=f,v=p.edge.originalEdge??m.edge.originalEdge??b.edge.originalEdge??m.edge,T=t.node(v.start);if(!T){f.forEach(_=>l.push(_));return}let C={width:m.edge.width,height:m.edge.height},E=HVn(t,T,f,v.start,h),S=qVn(T,E,r,C.width??0),R=WVn(T,S,E,r,C),L={...m.edge,...v,id:v.id,points:S,start:v.start,end:v.end,x:R.x,y:R.y,width:C.width,height:C.height,labelStyle:m.edge.labelStyle,fromCluster:p.edge.fromCluster??m.edge.fromCluster??b.edge.fromCluster,toCluster:p.edge.toCluster??m.edge.toCluster??b.edge.toCluster};delete L.selfLoop,delete L.originalEdge,l.push({edge:L,start:L.start,end:L.end})}),l},"getEdgesToRender"),V4r=i(async({element:t,graph:r,diagramType:a,id:o,parentCluster:l,siteConfig:h})=>{let f=r.graph().rankdir;Pe.trace("Dir in recursive render - dir:",f);let{clusters:p,edgePaths:m,edgeLabels:b,nodes:v,rootGroups:T}=yZe(t,{edgePathsClass:"edgePaths"});r.nodes()?Pe.info("Recursive render XXX",r.nodes()):Pe.info("No nodes found for",r),r.edges().length>0&&Pe.info("Recursive edges",r.edge(r.edges()[0]));let C=UVn(a);await Promise.all(r.nodes().map(async function(R){let L=r.node(R);if(l!==void 0){let _=JSON.parse(JSON.stringify(l.clusterData));Pe.trace(`Setting data for parent cluster XXX + Node.id = `,R,` + data=`,_.height,` +Parent cluster`,l.height),r.setNode(l.id,_),r.parent(R)||(Pe.trace("Setting parent",R,l.id),r.setParent(R,l.id,_))}if(Pe.info("(Insert) Node XXX"+R+": "+JSON.stringify(r.node(R))),L?.clusterNode){Pe.info("Cluster identified XBX",R,L.width,r.node(R));let{ranksep:_,nodesep:M}=r.graph();L.graph.setGraph({...L.graph.graph(),ranksep:_+25,nodesep:M});let I=await QVn({element:v,graph:L.graph,diagramType:a,id:o,parentCluster:r.node(R),siteConfig:h}),F=I.elem;un(L,F),L.diff=I.diff||0,Pe.info("New compound node after recursive render XAX",R,"width",L.width,"height",L.height),ubr(F,L)}else r.children(R).length>0?(Pe.trace("Cluster - the non recursive path XBX",R,L.id,L,L.width,"Graph:",r),Pe.trace(wO(L.id,r)),Zo.set(L.id,{id:wO(L.id,r),node:L})):(Pe.trace("Node - the non recursive path XAX",R,v,r.node(R),f),await bZe(v,r.node(R),{config:h,dir:f}))})),await i(async()=>{let R=r.edges().map(async function(L){let _=r.edge(L.v,L.w,L.name);if(Pe.info("Edge "+L.v+" -> "+L.w+": "+JSON.stringify(L)),Pe.info("Edge "+L.v+" -> "+L.w+": ",L," ",JSON.stringify(r.edge(L))),Pe.info("Fix",Zo,"ids:",L.v,L.w,"Translating: ",Zo.get(L.v),Zo.get(L.w)),C&&_.selfLoop){if(_.selfLoop.order!==1)return;let M={..._.originalEdge,..._,id:_.selfLoop.id,startLabelLeft:_.originalEdge?.startLabelLeft??_.startLabelLeft,startLabelRight:_.originalEdge?.startLabelRight??_.startLabelRight,endLabelLeft:_.originalEdge?.endLabelLeft??_.endLabelLeft,endLabelRight:_.originalEdge?.endLabelRight??_.endLabelRight};await v4(b,M),_.width=M.width,_.height=M.height,_.labelStyle=M.labelStyle;return}await v4(b,_)});await Promise.all(R)},"processEdges")();let{subGraphTitleTotalMargin:S}=b4(h);return{elem:T,graph:r,groups:{clusters:p,edgePaths:m,edgeLabels:b,nodes:v,rootGroups:T},diagramType:a,id:o,mergeSelfLoops:C,subGraphTitleTotalMargin:S}},"measureDagreGraph"),H4r=i(t=>{Pe.info("############################################# XXX"),Pe.info("### Layout ### XXX"),Pe.info("############################################# XXX"),aet(t)},"runDagreGraphLayout"),YVn=i((t,r,a)=>{let o=t.node(r);if(!o)return;let l={...o};return o?.clusterNode?l.y=(o.y??0)+a:t.children(r).length>0?l.height=(o.height??0)+a:l.y=(o.y??0)+a/2,l},"normalizeDagreNode"),U4r=i((t,r)=>{VVn.forEach(a=>{r[a]!==void 0&&(t[a]=r[a])})},"applyDagreNodeLayout"),KVn=i((t,r,a,o)=>({...t,start:t.start??r,end:t.end??a,points:(t.points??[]).map(l=>({...l,y:typeof l.y=="number"?l.y+o:l.y}))}),"normalizeDagreEdge"),q4r=i((t,r)=>{let{graph:a,mergeSelfLoops:o,subGraphTitleTotalMargin:l=0}=r,h=new Map(t.nodes.map(p=>[p.id,p]));jwe(a).forEach(p=>{let m=YVn(a,p,l);if(!m)return;U4r(a.node(p),m);let b=h.get(p);b&&U4r(b,m)});let f=l/2;return t.edges=set(a,f,{mergeSelfLoops:o}).map(({edge:p,start:m,end:b})=>KVn(p,m,b,f)),t},"applyDagreLayoutResult"),XVn=i(async({elem:t,graph:r,groups:{clusters:a,edgePaths:o},diagramType:l,id:h,mergeSelfLoops:f,subGraphTitleTotalMargin:p})=>{let m=0;await Promise.all(jwe(r).map(async function(T){let C=r.node(T);if(Pe.info("Position XBX => "+T+": ("+C.x,","+C.y,") width: ",C.width," height: ",C.height),C?.clusterNode)C.y+=p,Pe.info("A tainted cluster node XBX1",T,C.id,C.width,C.height,C.x,C.y,r.parent(T)),Zo.get(C.id).node=C,ZE(C);else if(r.children(T).length>0){Pe.info("A pure cluster node XBX1",T,C.id,C.x,C.y,C.width,C.height,r.parent(T)),C.height+=p,r.node(C.parentId);let E=C?.padding/2||0,S=C?.labelBBox?.height||0,R=S-E||0;Pe.debug("OffsetY",R,"labelHeight",S,"halfPadding",E),await FL(a,C),Zo.get(C.id).node=C}else{let E=r.node(C.parentId);C.y+=p/2,Pe.info("A regular node XBX1 - using the padding",C.id,"parent",C.parentId,C.width,C.height,C.x,C.y,"offsetY",C.offsetY,"parent",E,E?.offsetY,C),ZE(C)}}));let b=p/2;return set(r,b,{mergeSelfLoops:f}).forEach(function({edge:T,start:C,end:E}){Pe.info("Edge "+C+" -> "+E+": "+JSON.stringify(T),T),T.points.forEach(_=>_.y+=b);let S=r.node(C),R=r.node(E),L=$L(o,T,Zo,l,S,R,h);Bz(T,L)}),r.nodes().forEach(function(T){let C=r.node(T);Pe.info(T,C.type,C.diff),C.isGroup&&(m=C.diff)}),Pe.warn("Returning from recursive render XAX",t,m),{elem:t,diff:m}},"paintDagreLayoutCore"),QVn=i(async t=>{let r=await V4r(t);return H4r(r.graph),await XVn(r)},"renderDagreSubgraph"),oet=i(t=>{let r=new nh({multigraph:!0,compound:!0}).setGraph({rankdir:t.direction,nodesep:t.config?.nodeSpacing||t.nodeSpacing||t.config?.flowchart?.nodeSpacing,ranksep:t.config?.rankSpacing||t.rankSpacing||t.config?.flowchart?.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});return t.nodes.forEach(a=>{r.setNode(a.id,{...a}),a.parentId&&r.setParent(a.id,a.parentId)}),Pe.debug("Edges:",t.edges),t.edges.forEach(a=>{if(a.start===a.end){let o=a.start,l=o+"---"+o+"---1",h=o+"---"+o+"---2",f=r.node(o);r.setNode(l,{domId:l,id:l,parentId:f.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),r.setParent(l,f.parentId),r.setNode(h,{domId:h,id:h,parentId:f.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),r.setParent(h,f.parentId);let p=structuredClone(a),m=structuredClone(a),b=structuredClone(a),v=structuredClone(a);m.originalEdge=p,m.selfLoop={id:p.id,order:0},b.originalEdge=p,b.selfLoop={id:p.id,order:1},v.originalEdge=p,v.selfLoop={id:p.id,order:2},m.label="",m.arrowTypeEnd="none",m.endLabelLeft="",m.endLabelRight="",m.startLabelLeft="",m.id=o+"-cyclic-special-1",b.startLabelRight="",b.startLabelLeft="",b.endLabelLeft="",b.endLabelRight="",b.arrowTypeStart="none",b.arrowTypeEnd="none",b.id=o+"-cyclic-special-mid",v.label="",v.startLabelRight="",v.startLabelLeft="",v.arrowTypeStart="none",f.isGroup&&(m.fromCluster=o,v.toCluster=o),v.id=o+"-cyclic-special-2",v.arrowTypeStart="none",r.setEdge(o,l,m,o+"-cyclic-special-0"),r.setEdge(l,h,b,o+"-cyclic-special-1"),r.setEdge(h,o,v,o+"-cyclic-special-2")}else r.setEdge(a.start,a.end,{...a},a.id)}),mkr(r),{graph:r}},"prepareLayoutForDagre"),W4r=i(async(t,{element:r,preparedLayout:a})=>{let o=a??oet(t),l=Zt(),h=await V4r({element:r,graph:o.graph,diagramType:t.type,id:t.diagramId,parentCluster:void 0,siteConfig:l});return o.measuredLayout=h,h},"measureDagreLayout"),Y4r=i((t,r)=>{let a=r.preparedLayout?.measuredLayout;if(!a)throw new Error("runDagreLayoutCore requires measureDagreLayout to run first");return H4r(a.graph),q4r(t,a),a},"runDagreLayoutCore"),JVn=i((t,{measure:r})=>jwe(r.graph).map(a=>r.graph.node(a)).filter(Boolean),"getDagrePaintNodes"),ZVn=i((t,r,{measure:a})=>t?a.graph.node(t):void 0,"getDagreEdgeNode"),eHn=fU({prepareLayout:oet,measureLayout:W4r,runLayoutCore:Y4r,paintOptions:{clusterDb:Zo,getNodes:JVn,getEdgeNode:ZVn,skipNode:i((t,{measure:r})=>!r.graph.hasNode(t.id),"skipNode"),isCluster:i((t,{measure:r})=>r.graph.hasNode(t.id)&&(r.graph.children(t.id)??[]).length>0,"isCluster")}})});function Q4r(t,{measure:r}){let a=t.config?.swimlane?.lineHops;if(a===!1)return;let o=a==="gap"?"gap":"arc",l=t.edges.filter(h=>Array.isArray(h.points)&&h.points.length>=2).map(h=>({id:h.id,points:h.points,curve:h.curve,arrowTypeStart:h.arrowTypeStart,arrowTypeEnd:h.arrowTypeEnd}));Wwe(r.groups.edgePaths,l,{enabled:!0,jumpRadius:6,jumpStyle:o})}var J4r=ie(()=>{"use strict";EZe();i(Q4r,"applySwimlaneLineJumps")});function Z4r(t){return Math.max(t.padding??20,20)}function tHn(t){let{x:r,y:a,width:o,height:l}=t,h=t.swimlaneContentTop;if(typeof r!="number"||typeof a!="number"||typeof o!="number"||typeof l!="number"||typeof h!="number"||!Number.isFinite(r)||!Number.isFinite(a)||!Number.isFinite(o)||!Number.isFinite(l)||!Number.isFinite(h)||o<=0||l<=0){delete t.groupTitleRect;return}let f=a-l/2,p=Math.min(h,a+l/2),m=Math.min(21,Math.max(0,p-f)),b=f+m;if(b<=f){delete t.groupTitleRect;return}t.groupTitleRect={left:r-o/2,right:r+o/2,top:f,bottom:b}}function eCr(t){let r=t.direction,a=t.nodes??=[];for(let h of t.nodes??[])h.isGroup&&!h.parentId&&(h.shape="swimlane",r&&(h.direction=r));let o=a.filter(h=>!h.isGroup&&!h.parentId);if(o.length===0)return;let l=a.find(h=>h.id===cet);l?l.isGroup&&(l.shape="swimlane",r&&(l.direction=r)):(l={id:cet,label:"",isGroup:!0,shape:"swimlane",padding:20,look:t.config?.look,colorIndex:a.reduce((h,f)=>Math.max(h,f.colorIndex??-1),-1)+1,...r?{direction:r}:{}},a.push(l));for(let h of o)h.parentId=cet}function tCr(t){let r=new Map;for(let m of t.nodes??[])r.set(m.id,m);let a=[];for(let m of t.edges??[]){let b=typeof m.start=="string"?m.start:void 0,v=typeof m.end=="string"?m.end:void 0;!b||!v||m.labelNodeId||a.push({id:m.id,src:b,dst:v,ref:m})}let o=t.nodes??[],l=o.filter(m=>m.isGroup),h=o.filter(m=>!m.isGroup);return{nodes:[...[...l].reverse(),...h].map(m=>m.id),edges:a,layout:t,nodeById:r}}function rCr(t,r,a,o){let{layout:l}=t,h=t.nodeById,f=o?.layerGap??100,p=o?.nodeGap??40,m=0;for(let C of r.layers){let E=0;for(let S of C){let R=h.get(S);if(!R){E++;continue}R.layer=m,R.order=E;let L=a.x[S]??E*p,_=a.y[S]??m*f;R.x=L,R.y=_,E++}m++}let b=l.nodes??[],v=new Map,T=[];for(let C of b){if(!C?.isGroup)continue;C.parentId||T.push(C);let E=b.filter(M=>M.parentId===C.id),S=1/0,R=-1/0,L=1/0,_=-1/0;for(let M of E){let I=M.x??a.x[M.id],F=M.y??a.y[M.id],O=M.width??0,P=M.height??0;I!=null&&F!=null&&(S=Math.min(S,I-O/2),R=Math.max(R,I+O/2),L=Math.min(L,F-P/2),_=Math.max(_,F+P/2))}if(S===1/0||L===1/0)C.x=C.x??0,C.y=C.y??0,C.width=C.width??0,C.height=C.height??0;else{let M=C.padding??20,I=C.parentId?M:2*Z4r(C),F=M,O=Math.max(0,R-S)+I,P=Math.max(0,_-L)+F,G=(S+R)/2,V=(L+_)/2;C.x=G,C.y=V,C.width=O,C.height=P,v.set(C.id,{minX:S,maxX:R,minY:L,maxY:_})}}if(T.length>0&&v.size>0){let C=1/0,E=-1/0,S=0;for(let R of T){let L=R.padding??20;L>S&&(S=L);let _=v.get(R.id);_&&(C=Math.min(C,_.minY),E=Math.max(E,_.maxY))}if(C!==1/0&&E!==-1/0){let R=Math.max(0,E-C),_=Math.max(S,36),M=R+2*_,I=(C+E)/2;for(let Y of T)Y.y=I,Y.height=M,Y.swimlaneContentTop=C;let F=[...T].sort((Y,K)=>{let J=Y.x??0,H=K.x??0;return J-H}),O=[],P=[],G=[];for(let Y of F){let K=v.get(Y.id);if(!K)continue;let J=Math.max(0,K.maxX-K.minX)+2*Z4r(Y),H=(K.minX+K.maxX)/2;O.push(Y.id),P.push(H),G.push(J)}let V=O.length;if(V>0){let Y=new Map;if(V===1)Y.set(O[0],G[0]);else{let K=[];for(let Q=0;Q{"use strict";cet="__swimlane_default__";i(Z4r,"topLaneHorizontalPadding");i(tHn,"assignTopLaneTitleRect");i(eCr,"prepareLayoutForSwimlanes");i(tCr,"toGraphView");i(rCr,"writeBackToLayoutData")});function nCr(t){let r=[],a=[],o=new Map;for(let f of t.nodes)o.set(f.id,f);for(let f of t.edges){if(!f.label||f.label.length===0||f.isLayoutOnly||f.labelNodeId)continue;let p=f.start?o.get(f.start):void 0,m=f.end?o.get(f.end):void 0;if(!p||!m){Pe.warn(rHn,`Edge ${f.id} has missing source or target node`);continue}let b=`edge-label-${f.start}-${f.end}-${f.id}`,T=p.parentId!==m.parentId?m.parentId:p.parentId,C={id:b,label:f.label,edgeStart:f.start??"",edgeEnd:f.end??"",shape:"labelRect",width:0,height:0,isEdgeLabel:!0,isDummy:!0,parentId:T,isGroup:!1,labelStyle:Array.isArray(f.labelStyle)?f.labelStyle[0]:f.labelStyle??"",...p.dir?{dir:p.dir}:{}};r.push(C),f.labelNodeId=b,f.label=void 0,f.text=void 0;let E={id:`${f.id}-to-label`,start:f.start,end:b,type:"normal",isLayoutOnly:!0},S={id:`${f.id}-from-label`,start:b,end:f.end,type:"normal",isLayoutOnly:!0};a.push(E,S)}let l=[...t.nodes,...r],h=[...t.edges,...a];return{...t,nodes:l,edges:h}}var rHn,iCr=ie(()=>{"use strict";Xn();rHn="[EdgeLabelNodes]";i(nCr,"createEdgeLabelNodes")});function sCr(t){let r=t.x??0,a=t.y??0,o=t.width??0,l=t.height??0;return o>0&&l>0?{cx:r,cy:a,rect:gU(r,a,o,l)}:void 0}function oCr(t){if(t.isGroup)return;let r=sCr(t);return r?{id:String(t.id??""),cx:r.cx,cy:r.cy,rect:r.rect}:void 0}function a2(t,r,a=.001){return Math.abs(t.x-r.x)a}function Nd(t,r,a=.001){return Xl(t,r,a)&&Math.abs(t.y-r.y)>a}function oy(t,r,a,o){return Math.max(0,Math.min(Math.max(t,r),Math.max(a,o))-Math.max(Math.min(t,r),Math.min(a,o)))}function k4(t,r,a=.001){return t.horizontal&&r.horizontal&&lc(t.a,r.a,a)?oy(t.a.x,t.b.x,r.a.x,r.b.x):t.vertical&&r.vertical&&Xl(t.a,r.a,a)?oy(t.a.y,t.b.y,r.a.y,r.b.y):0}function cD(t,r=.001){let a=[];for(let o=0;o0?a[a.length-1]:void 0;(!l||!a2(l,o,r))&&a.push({x:o.x,y:o.y})}return a}function exe(t,r=.001){if(!t||t.length!==4)return;let[a,o,l,h]=t;return Id(a,o,r)&&Nd(o,l,r)&&Id(l,h,r)?{kind:"HVH",p0:a,p1:o,p2:l,p3:h}:Nd(a,o,r)&&Id(o,l,r)&&Nd(l,h,r)?{kind:"VHV",p0:a,p1:o,p2:l,p3:h}:void 0}function Qre(t,r,a,o=0){let l=Math.min(t.x,r.x),h=Math.max(t.x,r.x),f=Math.min(t.y,r.y),p=Math.max(t.y,r.y);return h>a.left-o&&la.top-o&&fr.left+a&&t.xr.top+a&&t.y=r.right&&t.top<=r.top&&t.bottom>=r.bottom}function rxe(t,r){return t.leftr.left&&t.topr.top}function het(t,r){return{left:t.left-r,right:t.right+r,top:t.top-r,bottom:t.bottom+r}}function gU(t,r,a,o){return{left:t-a/2,right:t+a/2,top:r-o/2,bottom:r+o/2}}function vm(t){return sCr(t)?.rect}function uD(t,r){switch(r){case"top":return{x:t.cx,y:t.rect.top};case"bottom":return{x:t.cx,y:t.rect.bottom};case"left":return{x:t.rect.left,y:t.cy};case"right":return{x:t.rect.right,y:t.cy}}}function nxe(t,r,a,o,l,h=.001){let f=r==="left"||r==="right",p=o==="left"||o==="right";if(f&&p){if(r==="right"&&o==="left"&&t.xa.x){if(lc(t,a,h))return[t,a];let T=(t.x+a.x)/2;return[t,{x:T,y:t.y},{x:T,y:a.y},a]}if(r===o){if(lc(t,a,h))return;let T=r==="left"?Math.min(t.x,a.x)-l:Math.max(t.x,a.x)+l;return[t,{x:T,y:t.y},{x:T,y:a.y},a]}return}if(!f&&!p){if(r===o){if(Xl(t,a,h))return;let C=r==="top"?Math.min(t.y,a.y)-l:Math.max(t.y,a.y)+l;return[t,{x:t.x,y:C},{x:a.x,y:C},a]}if(!(r==="bottom"&&o==="top"&&t.ya.y))return;if(Xl(t,a,h))return[t,a];let T=(t.y+a.y)/2;return[t,{x:t.x,y:T},{x:a.x,y:T},a]}if(f&&!p){let v=r==="right"&&a.x>t.x||r==="left"&&a.xa.y;return v&&T?[t,{x:a.x,y:t.y},a]:void 0}let m=r==="bottom"&&a.y>t.y||r==="top"&&a.ya.x;return m&&b?[t,{x:t.x,y:a.y},a]:void 0}function ixe(t,r,a,o){return r==="left"||r==="right"?[t,{x:o,y:t.y},{x:o,y:a.y},a]:[t,{x:t.x,y:o},{x:a.x,y:o},a]}function mU(t){let r=new Map,a=[];for(let o of t){if(o.isEdgeLabel)continue;let l=oCr(o);l&&(r.set(l.id,l),a.push({id:l.id,rect:l.rect}))}return{nodeInfoById:r,realNodeRects:a}}function hS(t){let r=[],a=[];for(let o of t){let l=oCr(o);if(!l)continue;let h={id:l.id,rect:l.rect};o.isEdgeLabel?a.push(h):r.push(h)}return{realNodeRects:r,labelNodeRects:a}}function cCr(t,{includeEdgeLabels:r=!0}={}){let a=[];for(let o of t){if(o.isGroup||!r&&o.isEdgeLabel)continue;let l=o.x??0,h=o.y??0,f=o.width??0,p=o.height??0;a.push({nodeId:o.id,...gU(l,h,f,p)})}return a}function axe(t,r,a=.001){let o=t.start,l=t.end;if(!o||!l)return;let h=r.get(o),f=r.get(l);if(!(!h||!f))return{srcId:o,dstId:l,srcInfo:h,dstInfo:f,collinearX:Math.abs(h.cx-f.cx)S||C_)return!1;let M=Math.abs(R-v.a.x)l:h&&p&&lc(t,a,l)?oy(t.x,r.x,a.x,o.x)>l:!1}function Jre(t,r,a,o,{epsilon:l=.001,skipDegenerateOther:h=!1}={}){for(let f of a){if(f===o||f.isLayoutOnly)continue;let p=f.points;if(!(!p||p.length<2))for(let m=0;mC+l&&SR+l&&To+.001&&t=2?r[r.length-2]:void 0,m=(f?Xl(f,l):!1)?{x:l.x,y:h.y}:{x:h.x,y:l.y};r.push(m)}r.push(h)}let a=[];for(let o of r){let l=a[a.length-1];(!l||!a2(l,o))&&a.push(o)}return a}function ik(t){if(t.length<3)return t;let r=[...t];for(let a=0;a<32;a++){let o=aHn(r);if(r=o.points,!o.changed)break}return r}var E4=ie(()=>{"use strict";i(sCr,"measuredNodeRect");i(oCr,"nodeBoundsInfoFor");i(a2,"samePoint");i(Xl,"sameX");i(lc,"sameY");i(Id,"isHorizontalSegment");i(Nd,"isVerticalSegment");i(oy,"overlapLength");i(k4,"sameAxisSegmentOverlapLength");i(cD,"orthogonalSegmentsForPoints");i(s2,"countOrthogonalBends");i(Ql,"dedupeConsecutivePoints");i(exe,"classifyThreeSegmentRoute");i(Qre,"segmentBoundsOverlapRect");i(txe,"pointInsideRect");i(lCr,"rectContainsRect");i(rxe,"rectsOverlap");i(het,"inflateRect");i(gU,"rectFromCenterSize");i(vm,"rectOfNodeBounds");i(uD,"portForRectSide");i(nxe,"buildOrthogonalPortPath");i(ixe,"buildSameSideTrackPath");i(mU,"collectRealNodeBounds");i(hS,"collectNodeRectEntries");i(cCr,"collectLayoutNodeRects");i(axe,"getNodePairGeometry");i(nf,"segmentHitsAnyRect");i(fet,"orthogonalSegmentsCross");i(nHn,"sameAxisSegmentsOverlap");i(Jre,"segmentConflictsWithAnyEdge");i(C4,"orthogonalSegmentsStrictlyCross");i(aCr,"strictlyBetween");i(iHn,"isCollinearIntermediate");i(aHn,"simplifyPolylineOnce");i(Zre,"orthogonalizePolyline");i(ik,"simplifyPolyline")});function wCr(t,r,a){let o=t;if(o.isLayoutOnly||!o.points||o.points.length=0&&l=t.length)return t;let h=l-o;if(h<0||h>=t.length)return t;let f=oHn(t[l],t[h],r);return a?[f,...t.slice(l)]:[...t.slice(0,l+1),f]}function xCr(t,r){for(let a of t){let o=wCr(a,r,2);if(!o)continue;let l=[...o.points];o.srcRect&&(l=hCr(l,o.srcRect,!0)),o.dstRect&&(l=hCr(l,o.dstRect,!1)),l=ik(Zre(l)),l=TCr(l,o.srcRect,o.dstRect),o.edge.points=ik(Zre(l))}}function fCr(t,r,a,o=!1){if(lc(t,r,po)){if(r.ya.bottom+po)return r;if(o){if(t.xa.right+po)return{x:a.right,y:t.y}}return{x:Math.abs(r.x-a.left)<=Math.abs(r.x-a.right)?a.left:a.right,y:t.y}}if(Xl(t,r,po)){if(r.xa.right+po)return r;if(o){if(t.ya.bottom+po)return{x:t.x,y:a.bottom}}let l=Math.abs(r.y-a.top)<=Math.abs(r.y-a.bottom);return{x:t.x,y:l?a.top:a.bottom}}return r}function det(t,r,a){let o=t[r];for(let l=r+a;l>=0&&lo.lo)),a=Math.min(...t.map(o=>o.hi));if(!(r>a))return{lo:r,hi:a}}function pCr(t,r){return r==="left"||r==="right"?pet(t.top,t.bottom):pet(t.left,t.right)}function get(t,r,a){let o=t.y>=a.top-po&&t.y<=a.bottom+po,l=t.x>=a.left-po&&t.x<=a.right+po;if(lc(t,r,po)&&o){if(Math.abs(t.x-a.left)0?lHn(h):void 0}function gCr(t,r,a,o,l){let h=cHn(t,r,a,o,l);if(!h)return;let f=l?t.y:t.x,p=Math.min(h.hi,Math.max(h.lo,f));if(!(Math.abs(p-f)({...p}));for(let p=r;p>=0&&p=a.left-po&&Math.max(t.x,r.x)<=a.right+po,l=Math.min(t.y,r.y)>=a.top-po&&Math.max(t.y,r.y)<=a.bottom+po;if(Math.abs(t.y-a.top)o.bottom+po;case"left":return lc(r,a,po)&&a.xo.right+po}}function vCr(t,r,a){if(t.length<3)return t;if(a){let h=yCr(t[0],t[1],r);return h&&bCr(h,t[1],t[2],r)?t.slice(1):t}let o=t.length-1,l=yCr(t[o-1],t[o],r);return l&&bCr(l,t[o-1],t[o-2],r)?t.slice(0,o):t}function fHn(t,r,a){let o=t;if(r){let h=det(o,0,1);if(h){let f=fCr(h,o[0],r);f!==o[0]&&(o=[f,...o.slice(1)])}o=vCr(o,r,!0)}if(a){let h=o.length-1,f=det(o,h,-1);if(f){let p=fCr(f,o[h],a,!0);p!==o[h]&&(o=[...o.slice(0,h),p])}o=vCr(o,a,!1)}let l=TCr(o,r,a);return l!==o||o.length===2?l:(r&&(o=mCr(o,r,!0)),a&&(o=mCr(o,a,!1)),o)}function met(t,r){for(let a of t){let o=wCr(a,r,2);if(!o)continue;let l=Ql(o.points,po),h=fHn(l,o.srcRect,o.dstRect);if(h.length<3){o.edge.points=h;continue}let f=[h[0],{...h[0]},...h.slice(1,-1),h[h.length-1],{...h[h.length-1]}];o.edge.points=f}}var po,sHn,uCr,kCr=ie(()=>{"use strict";E4();po=.001,sHn=.5,uCr=4;i(wCr,"endpointContextFor");i(oHn,"segmentEnterPoint");i(hCr,"clipEndpoint");i(xCr,"clipEdgeEndpointsToNodeBoundaries");i(fCr,"snapEndpointToBoundary");i(det,"firstDistinctAdjacent");i(pet,"cornerClearanceRange");i(dCr,"clampToCornerClearance");i(lHn,"intersectRanges");i(pCr,"clearanceRangeForSide");i(get,"terminalSideForSegment");i(sxe,"isHorizontalSide");i(cHn,"straightClearanceRange");i(gCr,"clearStraightEndpointCornerAxis");i(TCr,"clearStraightEndpointCornerConnections");i(uHn,"cornerClearedEndpoint");i(hHn,"moveCollinearEndpointRun");i(mCr,"clearEndpointCornerConnection");i(yCr,"borderSideForSegment");i(bCr,"leavesOutward");i(vCr,"collapseOwnBorderStub");i(fHn,"snapAndCollapseEndpoints");i(met,"prepareEdgeEndpointsForRenderer")});function ECr(t){return new Map(t.map(r=>[r.id,r]))}function dHn(t,r){let a=t.parentId,o=null;for(;a;){let l=r.get(a);if(!l?.isGroup)break;o=l.id,a=l.parentId}return o}function CCr(t,r){let a=0,o=t.parentId;for(;o;){let l=r.get(o);if(!l?.isGroup)break;a++,o=l.parentId}return a}function SCr(t){let r=1/0,a=-1/0,o=1/0,l=-1/0;for(let h of t){let f=h.x,p=h.y;if(typeof f!="number"||typeof p!="number")continue;let m=h.width??0,b=h.height??0;r=Math.min(r,f-m/2),a=Math.max(a,f+m/2),o=Math.min(o,p-b/2),l=Math.max(l,p+b/2)}return r===1/0||o===1/0?null:{minX:r,maxX:a,minY:o,maxY:l}}function pHn(t,r){let a=t.padding??20;t.x=(r.minX+r.maxX)/2,t.y=(r.minY+r.maxY)/2,t.width=Math.max(0,r.maxX-r.minX)+a,t.height=Math.max(0,r.maxY-r.minY)+a}function gHn(t){let r=ECr(t),a=t.filter(o=>o.isGroup&&o.parentId).sort((o,l)=>CCr(l,r)-CCr(o,r));for(let o of a){let l=t.filter(f=>f.parentId===o.id),h=SCr(l);h&&pHn(o,h)}}function yet(t,r){let a=t.nodes??[],o=t.edges??[],l=a.filter(m=>!m.isGroup),h=1/0,f=-1/0;for(let m of l){let b=m[r];typeof b=="number"&&(h=Math.min(h,b),f=Math.max(f,b))}if(!Number.isFinite(h)||!Number.isFinite(f))return!1;let p=i(m=>h+f-m,"mirror");for(let m of a){let b=m[r];typeof b=="number"&&(m[r]=p(b));let v=m.groupTitleRect;v&&(m.groupTitleRect=r==="x"?{...v,left:p(v.right),right:p(v.left)}:{...v,top:p(v.bottom),bottom:p(v.top)})}for(let m of o)for(let b of m.points??[])b[r]=p(b[r]);return!0}function ACr(t){return(t.nodes??[]).some(a=>!a.isGroup)?yet(t,"y"):!0}function RCr(t,r="LR"){let a=t.nodes??[],o=t.edges??[],l=a.filter(q=>!q.isGroup),h=1/0,f=1/0;for(let q of l){let Z=q.x??0,Q=q.y??0;Z0?Math.max(1,v/T):1;for(let q of l){let Z=q.x??0,W=((q.y??0)-f)*C+p,te=Z-h;q.x=W,q.y=te}for(let q of o)if(q.points)for(let Z of q.points){let Q=Z.x,te=(Z.y-f)*C+p,z=Q-h;Z.x=te,Z.y=z}gHn(a);let E=a.filter(q=>q.isGroup&&!q.parentId);if(E.length===0)return r==="RL"&&yet(t,"x"),!0;let S=ECr(a),R=new Map;for(let q of a){if(q.isGroup)continue;let Z=dHn(q,S);if(!Z)continue;let Q=R.get(Z)??[];Q.push(q),R.set(Z,Q)}let L=0;for(let q of E){let Z=q.padding??0;Z>L&&(L=Z)}let _=[],M=1/0,I=-1/0;for(let q of E){let Z=R.get(q.id)??[],Q=SCr(Z);Q&&(M=Math.min(M,Q.minX),I=Math.max(I,Q.maxX),_.push({lane:q,contentTop:Q.minY,contentBottom:Q.maxY,centerY:(Q.minY+Q.maxY)/2}))}if(M===1/0||I===-1/0)return!0;let F=Math.max(0,I-M),O=Math.max(L,10),P=F+2*O,G=p+P,K=(M+I)/2-P/2-p,J=K+G/2,H=Math.max(L,p);_.sort((q,Z)=>q.centerY-Z.centerY);for(let q=0;q<_.length;q++){let Z=_[q],Q,W;if(q===0?Q=Z.contentTop-H:Q=(_[q-1].contentBottom+Z.contentTop)/2,q===_.length-1)W=Z.contentBottom+H;else{let re=_[q+1];W=(Z.contentBottom+re.contentTop)/2}let te=Math.max(0,W-Q),z=(Q+W)/2;Z.lane.x=J,Z.lane.y=z,Z.lane.width=G,Z.lane.height=te,Z.lane.swimlaneContentTop=Z.contentTop,Z.lane.groupTitleRect={left:K,right:K+p,top:Q,bottom:W}}return r==="RL"&&yet(t,"x"),!0}var LCr=ie(()=>{"use strict";i(ECr,"buildNodeMap");i(dHn,"resolveTopLevelGroupId");i(CCr,"groupDepth");i(SCr,"boundsForChildren");i(pHn,"applyGroupBounds");i(gHn,"recomputeNestedGroupBounds");i(yet,"mirrorAxis");i(ACr,"applyBtDirectionTransform");i(RCr,"applyLrDirectionTransform")});function DCr(t,r){let{nodeInfoById:a,realNodeRects:o}=mU(r);for(let l of t){if(l.isLayoutOnly)continue;let h=l.points;if(!h||h.length<4)continue;let f=exe(Ql(h,S4),S4);if(!f)continue;let{p3:p}=f,m=f.kind==="HVH",b=axe(l,a,S4);if(!b)continue;let{srcId:v,dstId:T,srcInfo:C,dstInfo:E,collinearX:S,collinearY:R}=b;if(S||R)continue;let L,_=C.rect;for(let M of yHn){let I,F,O;if(m){let J=E.cy>C.cy?_.bottom:_.top,H=C.cx+M;if(H<=_.left+S4||H>=_.right-S4)continue;I={x:H,y:J},F={x:H,y:p.y},O={x:p.x,y:p.y}}else{let J=E.cx>C.cx?_.right:_.left,H=C.cy+M;if(H<=_.top+S4||H>=_.bottom-S4)continue;I={x:J,y:H},F={x:p.x,y:H},O={x:p.x,y:p.y}}let P=a2(I,F,S4),G=a2(F,O,S4);if(P&&G||!P&&nf(I,F,o,[v],1)||!G&&nf(F,O,o,[T],1))continue;let V=!P&&Jre(I,F,t,l,{epsilon:S4,skipDegenerateOther:!0}),Y=!G&&Jre(F,O,t,l,{epsilon:S4,skipDegenerateOther:!0});if(!(V||Y)){P?L=[F,O]:G?L=[I,F]:L=[I,F,O];break}}L&&(l.points=L)}}var S4,mHn,oxe,yHn,_Cr=ie(()=>{"use strict";E4();S4=1e-6,mHn=8,oxe=mHn,yHn=[0,oxe,-oxe,2*oxe,-2*oxe];i(DCr,"portSwapToLShape")});function MCr(t,r){let{realNodeRects:h,labelNodeRects:f}=hS(r.values());for(let p of t){if(p.isLayoutOnly)continue;let m=p.points;if(!m||m.length<4)continue;let b=Ql(m,.001);if(b.length<4)continue;let v=b.length-1,T=b[v],C=b[v-1],E=b[v-2],S=T.x-C.x,R=T.y-C.y,L=Math.hypot(S,R);if(L>=10||L<.001)continue;let _=C.x-E.x,M=C.y-E.y;if(Math.hypot(_,M)<.001)continue;let F=Id(C,T,.001),O=Nd(C,T,.001),P=Id(E,C,.001),G=Nd(E,C,.001);if(!(F&&G||O&&P))continue;let V=p.end,Y=p.start,K=V?r.get(V):void 0;if(!K)continue;let J=K.x??0,H=K.y??0,q=vm(K);if(!q)continue;let Z,Q;if(G){let le=M<0;Z={x:J,y:E.y},Q={x:J,y:le?q.bottom:q.top}}else{let le=_>0;Z={x:E.x,y:H},Q={x:le?q.right:q.left,y:H}}if(nf(Z,Q,h,V?[V]:[],-2)||nf(Z,Q,f,[],-2))continue;if(Y){let le=r.get(Y),de=le?vm(le):void 0;if(de&&txe(Z,de,2))continue}let W=i((le,de)=>`${le.x.toFixed(3)},${le.y.toFixed(3)}|${de.x.toFixed(3)},${de.y.toFixed(3)}`,"ownSegmentKey"),te=new Set;for(let le=0;le{for(let ve of t){if(ve===p||ve.isLayoutOnly)continue;let Se=ve.points;if(!(!Se||Se.length<2))for(let _e=0;_e=0){let le=b[v-3],de=[Y,V].filter(ve=>!!ve);if(nf(le,Z,h,de,-2)||z(le,Z))continue}let ae=[...b.slice(0,v-2),Z,Q];p.points=ae;let ce=p.labelNodeId;if(ce){let le=r.get(ce);if(le){let de=le.width??0,ve=le.height??0;if(de>0&&ve>0){let Se,_e,Ce=-1;for(let Ve=0;Ve=de+2||mt&&Ue>=ve+2)&&Ue>Ce&&(Ce=Ue,Se=(De.x+qe.x)/2,_e=(De.y+qe.y)/2)}Se!==void 0&&_e!==void 0&&(le.x=Se,le.y=_e)}}}}}var ICr=ie(()=>{"use strict";E4();i(MCr,"collapseShortTerminalStub")});function vet(t,r){let l=i((E,S)=>{let R=E.x??0,L=E.y??0,_=S.x-R,M=S.y-L,I=(E.width??0)/2,F=(E.height??0)/2;return Math.abs(M)*I>Math.abs(_)*F?(M<0&&(F=-F),{x:R+(M===0?0:F*_/M),y:L+F}):(_<0&&(I=-I),{x:R+I,y:L+(_===0?0:I*M/_)})},"rectIntersect"),h=i((E,S)=>{let R=Ql(E.points??[]);if(R.length<2)return;let L=S?E.start:E.end,_=L?r.get(L):void 0,M=_?vm(_):void 0;if(!_||!L||!M)return;let I=S?R[0]:R[R.length-1],F=S?R[1]:R[R.length-2],O=l(_,I),P=I;if(bet(F,O)&&(P=F),Xl(O,P,Za))return{edge:E,edgeId:String(E.id??""),nodeId:L,atStart:S,orientation:"V",coord:O.x,min:Math.min(O.y,P.y),max:Math.max(O.y,P.y),boundary:O,railEnd:P,rect:M};if(lc(O,P,Za))return{edge:E,edgeId:String(E.id??""),nodeId:L,atStart:S,orientation:"H",coord:O.y,min:Math.min(O.x,P.x),max:Math.max(O.x,P.x),boundary:O,railEnd:P,rect:M}},"terminalLaneFor"),f=i((E,S)=>Math.max(0,Math.min(E.max,S.max)-Math.max(E.min,S.min)),"projectedOverlapLength"),p=i((E,S)=>E.nodeId!==S.nodeId||E.orientation!==S.orientation?!1:E.orientation==="H"?(Math.abs(E.boundary.x-E.rect.left)<1||Math.abs(E.boundary.x-E.rect.right)<1)&&Xl(E.boundary,S.boundary,1):(Math.abs(E.boundary.y-E.rect.top)<1||Math.abs(E.boundary.y-E.rect.bottom)<1)&&lc(E.boundary,S.boundary,1),"sameTerminalFace"),m=i((E,S)=>E.nodeId!==S.nodeId||E.orientation!==S.orientation?!1:f(E,S)>=wm&&Math.abs(E.coord-S.coord)<.5,"exactTerminalLaneConflict"),b=i((E,S)=>{if(E.nodeId!==S.nodeId||E.orientation!==S.orientation||E.orientation!=="H"||E.atStart===S.atStart)return!1;let R=f(E,S);if(R2*L?!1:p(E,S)&&Math.abs(E.coord-S.coord)<16},"nearTerminalLaneConflict"),v=i((E,S)=>{let R=Ql(E.edge.points??[]);if(R.length<2)return;let L=E.orientation==="V"?{x:E.boundary.x+S,y:E.boundary.y}:{x:E.boundary.x,y:E.boundary.y+S},_=E.orientation==="V"?{x:E.railEnd.x+S,y:E.railEnd.y}:{x:E.railEnd.x,y:E.railEnd.y+S};if(!i(()=>Math.abs(E.boundary.y-E.rect.top)<1||Math.abs(E.boundary.y-E.rect.bottom)<1?lc(L,E.boundary,Za)&&L.x>=E.rect.left+1&&L.x<=E.rect.right-1:Math.abs(E.boundary.x-E.rect.left)<1||Math.abs(E.boundary.x-E.rect.right)<1?Xl(L,E.boundary,Za)&&L.y>=E.rect.top+1&&L.y<=E.rect.bottom-1:!1,"boundaryStaysOnSameFace")())return;if(E.atStart){let P=R.length>1&&a2(R[1],E.railEnd,Za),G=R.slice(P?2:1),V=G[0];return V&&!bet(V,_)?void 0:[L,_,...G]}let I=R.length>1&&a2(R[R.length-2],E.railEnd,Za),F=R.slice(0,I?-2:-1),O=F[F.length-1];if(!(O&&!bet(O,_)))return[...F,_,L]},"shiftedCandidate"),T=i(E=>{let S=E.edge,R=Ql(S.points??[]);if(R.length!==2)return!1;let L=S.start,_=S.end,M=L?r.get(L):void 0,I=_?r.get(_):void 0;if(!M||!I)return!1;let F=M.x??0,O=M.y??0,P=I.x??0,G=I.y??0,[V,Y]=R;return lc(V,Y,Za)&&Math.abs(O-G)<1&&Math.abs(F-P)>1||Xl(V,Y,Za)&&Math.abs(F-P)<1&&Math.abs(O-G)>1},"laneIsStraightCollinearConnector"),C=[-7,7,-14,14,-21,21];for(let E=0;E<8;E++){let S=t.filter(L=>!L.isLayoutOnly).flatMap(L=>[h(L,!0),h(L,!1)]).filter(L=>!!L),R=!1;for(let L=0;L{let V=T(P),Y=T(G);return V!==Y?Number(V)-Number(Y):+!G.atStart-+!P.atStart});for(let P of O){for(let G of C){let V=v(P,G);if(!V)continue;let Y=h({...P.edge,points:V},P.atStart);if(!(!Y||S.some(K=>K.edge!==P.edge&&(m(Y,K)||F&&b(Y,K))))){P.edge.points=V,R=!0;break}}if(R)break}}if(!R)return}}function OCr(t,r){let{realNodeRects:l,labelNodeRects:h}=hS(r.values()),f=i((m,b)=>{let v=m.start,T=m.end,C=xl(b);if(C.length!==b.length-1)return!1;let E=[v,T].filter(S=>!!S);for(let S of C)if(nf(S.a,S.b,l,E,-2)||nf(S.a,S.b,h,[],-2))return!1;for(let S of t){if(S===m||S.isLayoutOnly)continue;let R=S.points;if(!(!R||R.length<2)){for(let L of C)for(let _ of xl(Ql(R)))if(k4(L,_,.5)>=wm||C4(L.a,L.b,_.a,_.b,Za))return!1}}return!0},"candidateIsSafe"),p=i((m,b)=>{if(b+4>=m.length)return;let v=m[b],T=m[b+1],C=m[b+2],E=m[b+3],S=m[b+4],R=Id(v,T)&&Nd(T,C)&&Id(C,E)&&Nd(E,S)&&Xl(v,E,Za)&&Xl(v,S,Za)&&Xl(T,C,Za)&&(T.x-v.x)*(E.x-C.x)<0,L=Nd(v,T)&&Id(T,C)&&Nd(C,E)&&Id(E,S)&&lc(v,E,Za)&&lc(v,S,Za)&&lc(T,C,Za)&&(T.y-v.y)*(E.y-C.y)<0;if(R||L)return Ql([...m.slice(0,b+1),S,...m.slice(b+5)]);if(b+5>=m.length)return;let _=m[b+5],M=Nd(v,T)&&Id(T,C)&&Nd(C,E)&&Id(E,S)&&Nd(S,_)&&Xl(v,S,Za)&&Xl(v,_,Za)&&Xl(C,E,Za)&&(C.x-T.x)*(S.x-E.x)<0,I=Id(v,T)&&Nd(T,C)&&Id(C,E)&&Nd(E,S)&&Id(S,_)&&lc(v,S,Za)&&lc(v,_,Za)&&lc(C,E,Za)&&(C.y-T.y)*(S.y-E.y)<0;if(!(!M&&!I))return Ql([...m.slice(0,b+1),_,...m.slice(b+6)])},"withoutDogleg");for(let m=0;m<8;m++){let b=!1;for(let v of t){if(v.isLayoutOnly)continue;let T=Ql(v.points??[]);for(let C=0;C<=T.length-5;C++){let E=p(T,C);if(!(!E||!f(v,E))){v.points=E,b=!0;break}}if(b)break}if(!b)return}}function wet(t,r){let{realNodeRects:h,labelNodeRects:f}=hS(r.values()),p=t.filter(S=>!S.isLayoutOnly),m=i((S,R,L)=>Ql(S===R?L??[]:S.points??[]),"pointsFor"),b=i((S,R)=>{let L=0;for(let _=0;_{let R=xl(S);if(R.length!==3)return;let L=R[1];if(!(R[0].horizontal===L.horizontal||R[2].horizontal===L.horizontal))return{index:L.index,horizontal:L.horizontal,vertical:L.vertical,segment:L}},"middleRail"),T=i((S,R)=>{let L=[S.start,S.end].filter(_=>!!_);return h.filter(_=>{if(L.includes(_.id))return!1;let M=_.rect;return R.horizontal?oy(R.a.x,R.b.x,M.left,M.right)>=wm&&R.a.y>=M.top-2&&R.a.y<=M.bottom+2:oy(R.a.y,R.b.y,M.top,M.bottom)>=wm&&R.a.x>=M.left-2&&R.a.x<=M.right+2})},"blockingRectsFor"),C=i((S,R,L)=>{let _=S.map(I=>({...I}));if(R.horizontal)_[R.index].y=L,_[R.index+1].y=L;else if(R.vertical)_[R.index].x=L,_[R.index+1].x=L;else return;let M=ik(Ql(_));return xl(M).length===M.length-1?M:void 0},"candidateByMovingRail"),E=i((S,R,L)=>{let _=[S.start,S.end].filter(I=>!!I),M=xl(R);if(M.length!==R.length-1)return!1;for(let I of M)if(nf(I.a,I.b,h,_,-2)||nf(I.a,I.b,f,[],-2))return!1;for(let I of p)if(I!==S){for(let F of M)for(let O of xl(m(I)))if(k4(F,O,.5)>=wm)return!1}return b(S,R)<=L},"candidateIsSafe");for(let S=0;S<8;S++){let R=b(),L=!1;for(let _ of p){let M=m(_),I=v(M);if(!I)continue;let F=T(_,I.segment);if(F.length===0)continue;let O=I.horizontal?[Math.min(...F.map(P=>P.rect.top))-20,Math.max(...F.map(P=>P.rect.bottom))+20]:[Math.min(...F.map(P=>P.rect.left))-20,Math.max(...F.map(P=>P.rect.right))+20];for(let P of O){let G=C(M,I.segment,P);if(!(!G||!E(_,G,R))){_.points=G,L=!0;break}}if(L)break}if(!L)return}}function xet(t,r,a){let l=i(b=>{let v=b.groupTitleRect;if(!(!v||typeof v.left!="number"||typeof v.right!="number"||typeof v.top!="number"||typeof v.bottom!="number"||!Number.isFinite(v.left)||!Number.isFinite(v.right)||!Number.isFinite(v.top)||!Number.isFinite(v.bottom)||v.right<=v.left||v.bottom<=v.top))return{left:v.left,right:v.right,top:v.top,bottom:v.bottom}},"validTitleRect"),h=i(b=>{if(!b.isGroup||b.parentId)return;let v=NCr(b.direction??a);if(v==="LR"||v==="RL"||v==="BT")return;let T=l(b),C=b.y,E=b.height;if(!T||typeof C!="number"||typeof E!="number"||!Number.isFinite(C)||!Number.isFinite(E)||E<=0)return;let S=T.right-T.left,R=T.bottom-T.top;if(!(R<=0||S{if(!b.horizontal)return!1;let T=b.a.y;return Tv.bottom+Za?!1:oy(b.a.x,b.b.x,v.left,v.right)>=wm},"horizontalSegmentIntersectsTitle"),p=[...r.values()].map(h).filter(b=>!!b);if(p.length===0)return;let m=0;for(let b of t){if(b.isLayoutOnly)continue;let v=Ql(b.points??[]);for(let T of xl(v))for(let C of p)f(T,C.rect)&&(m=Math.max(m,C.rect.bottom-T.a.y+4))}if(!(m<=Za))for(let b of p){let v=b.node.y,T=b.node.height;typeof v!="number"||typeof T!="number"||!Number.isFinite(v)||!Number.isFinite(T)||T<=0||(b.node.y=v-m/2,b.node.height=T+m,b.node.groupTitleRect={...b.rect,top:b.rect.top-m,bottom:b.rect.bottom-m})}}function Tet(t,r,a){let l=i(v=>{let T=v.groupTitleRect;if(!(!T||typeof T.left!="number"||typeof T.right!="number"||typeof T.top!="number"||typeof T.bottom!="number"||!Number.isFinite(T.left)||!Number.isFinite(T.right)||!Number.isFinite(T.top)||!Number.isFinite(T.bottom)||T.right<=T.left||T.bottom<=T.top))return{left:T.left,right:T.right,top:T.top,bottom:T.bottom}},"validTitleRect"),h=i(v=>{if(!v.isGroup||v.parentId||NCr(v.direction??a)!=="LR")return;let C=l(v),E=v.x,S=v.width;if(!C||typeof E!="number"||typeof S!="number"||!Number.isFinite(E)||!Number.isFinite(S)||S<=0)return;let R=C.right-C.left,L=C.bottom-C.top;if(!(R<=0||L{if(!v.vertical)return!1;let C=v.a.x;return CT.right+Za?!1:oy(v.a.y,v.b.y,T.top,T.bottom)>=wm},"verticalSegmentIntersectsTitle"),p=i((v,T)=>{if(!v.horizontal)return!1;let C=v.a.y;return CT.bottom+Za?!1:oy(v.a.x,v.b.x,T.left,T.right)>=wm},"horizontalSegmentIntersectsTitle"),m=[...r.values()].map(h).filter(v=>!!v);if(m.length===0)return;let b=0;for(let v of t){if(v.isLayoutOnly)continue;let T=Ql(v.points??[]);for(let C of xl(T))for(let E of m)if(f(C,E.rect))b=Math.max(b,E.rect.right-C.a.x+4);else if(p(C,E.rect)){let S=Math.min(C.a.x,C.b.x);b=Math.max(b,E.rect.right-S+4)}}if(!(b<=Za))for(let v of m){let T=v.node.x,C=v.node.width;typeof T!="number"||typeof C!="number"||!Number.isFinite(T)||!Number.isFinite(C)||C<=0||(v.node.x=T-b/2,v.node.width=C+b,v.node.groupTitleRect={...v.rect,left:v.rect.left-b,right:v.rect.right-b})}}function PCr(t,r){let{realNodeRects:l}=hS(r.values()),h=t.filter(R=>!R.isLayoutOnly),f=i((R,L=new Map)=>Ql(L.get(R)??R.points??[]),"replacementPointsFor"),p=i((R=new Map)=>{let L=0;for(let _=0;_h.reduce((L,_)=>L+s2(f(_,R)),0),"totalBends"),b=i(R=>{let L=f(R);if(L.length<4)return;let _=L[L.length-2],M=L[L.length-1];if(!(!Id(_,M,Za)&&!Nd(_,M,Za)))return{tailStart:_,terminal:M}},"terminalTailFor"),v=i((R,L)=>{let _=f(R);if(_.length<3)return;let M=_[0],I=_[1],F;if(Id(M,I,Za))F={x:I.x,y:L.tailStart.y};else if(Nd(M,I,Za))F={x:L.tailStart.x,y:I.y};else return;let O=ik(Ql([M,I,F,L.tailStart,L.terminal]));return xl(O).length===O.length-1?O:void 0},"candidateWithDestinationTail"),T=i((R,L)=>{let _=[R.start,R.end].filter(M=>!!M);for(let M of xl(L))if(nf(M.a,M.b,l,_,-2))return!0;return!1},"pathHasNodeHit"),C=i((R,L,_)=>{for(let M of h)if(M!==R){for(let I of xl(L))for(let F of xl(f(M,_)))if(k4(I,F,.5)>=wm)return!0}return!1},"pathHasSharedTrack"),E=i((R,L,_)=>!T(R,L)&&!C(R,L,_),"candidateIsSafe"),S=i(()=>{let R=new Map;for(let L of h){let _=L.end;if(!_||!r.has(_)||f(L).length<4)continue;let I=R.get(_)??[];I.push(L),R.set(_,I)}return R},"edgesByDestination");for(let R=0;R<4;R++){let L=p();if(L===0)return;let _=m(),M,I=L,F=_;for(let O of S().values())for(let P=0;P=L||Q>I||Q===I&&W>=F||(M=Z,I=Q,F=W)}if(!M)return;for(let[O,P]of M)O.points=P}}function BCr(t,r){let{realNodeRects:f,labelNodeRects:p}=hS(r.values()),m=t.filter(O=>!O.isLayoutOnly),b=i((O,P=new Map)=>Ql(P.get(O)??O.points??[]),"replacementPointsFor"),v=i((O=new Map)=>{let P=0;for(let G=0;Gm.reduce((P,G)=>P+s2(b(G,O)),0),"totalBends"),C=i(O=>{let P=O.start,G=O.end,V=P?r.get(P):void 0,Y=G?r.get(G):void 0,K=V?vm(V):void 0,J=Y?vm(Y):void 0;return K&&J?{src:K,dst:J}:void 0},"endpointRectsFor"),E=i((O,P,G)=>{if(G.index<=0||G.index+1>=P.length-1)return;let V=C(O);if(V){if(G.vertical){let Y=G.a.x,K=Math.min(V.src.left,V.dst.left),J=Math.max(V.src.right,V.dst.right),H=YJ+Za?"right":void 0;return H?{edge:O,points:P,segmentIndex:G.index,axis:"vertical",side:H,coord:Y,min:Math.min(G.a.y,G.b.y),max:Math.max(G.a.y,G.b.y)}:void 0}if(G.horizontal){let Y=G.a.y,K=Math.min(V.src.top,V.dst.top),J=Math.max(V.src.bottom,V.dst.bottom),H=YJ+Za?"bottom":void 0;return H?{edge:O,points:P,segmentIndex:G.index,axis:"horizontal",side:H,coord:Y,min:Math.min(G.a.x,G.b.x),max:Math.max(G.a.x,G.b.x)}:void 0}}},"externalRailForSegment"),S=i(()=>{let O=[];for(let P of m){let G=b(P);for(let V of xl(G)){let Y=E(P,G,V);Y&&O.push(Y)}}return O},"collectExternalRails"),R=i((O,P)=>O.edge!==P.edge&&O.axis===P.axis&&O.side===P.side&&oy(O.min,O.max,P.min,P.max)>=wm,"railsInteract"),L=i(O=>{let P=[],G=new Set;for(let V of O){if(G.has(V))continue;let Y=[V],K=[];for(G.add(V);Y.length>0;){let J=Y.pop();K.push(J);for(let H of O)!G.has(H)&&R(J,H)&&(G.add(H),Y.push(H))}K.length>1&&P.push(K)}return P},"connectedComponents"),_=i(O=>{let P=[];for(let G of O)P.some(V=>Math.abs(V-G.coord){let P=O.map(Y=>Y.coord),G=_(O),V=[];if(O.length<=6){let Y=new Array(G.length).fill(!1),K=[],J=i(()=>{if(K.length===O.length){K.some((H,q)=>Math.abs(H-P[q])>=Za)&&V.push([...K]);return}for(let[H,q]of G.entries())Y[H]||(Y[H]=!0,K.push(q),J(),K.pop(),Y[H]=!1)},"visit");return J(),V}for(let Y=0;Y{let G=new Map;for(let[Y,K]of O.entries()){let J=P[Y],H=G.get(K.edge)??K.points.map(q=>({x:q.x,y:q.y}));K.axis==="vertical"?(H[K.segmentIndex].x=J,H[K.segmentIndex+1].x=J):(H[K.segmentIndex].y=J,H[K.segmentIndex+1].y=J),G.set(K.edge,H)}let V=new Map;for(let[Y,K]of G){let J=ik(Ql(K));if(xl(J).length!==J.length-1)return;V.set(Y,J)}return V},"replacementsForAssignment"),F=i(O=>{for(let[P,G]of O){let V=[P.start,P.end].filter(Y=>!!Y);for(let Y of xl(G))if(nf(Y.a,Y.b,f,V,-2)||nf(Y.a,Y.b,p,[],-2))return!1}for(let P=0;P=wm)return!1}}return!0},"candidateIsSafe");for(let O=0;O<4;O++){let P=v();if(P===0)return;let G,V=P,Y=T(),K=Number.POSITIVE_INFINITY;for(let J of L(S()))for(let H of M(J)){let q=I(J,H);if(!q||!F(q))continue;let Z=v(q);if(Z>=P)continue;let Q=T(q),W=J.reduce((te,z,re)=>te+Math.abs(H[re]-z.coord),0);Z>V||Z===V&&(Q>Y||Q===Y&&W>=K)||(G=q,V=Z,Y=Q,K=W)}if(!G)return;for(let[J,H]of G)J.points=H}}function FCr(t,r){let{realNodeRects:l,labelNodeRects:h}=hS(r.values()),f=t.filter(S=>!S.isLayoutOnly),p=i((S,R,L)=>Ql(S===R?L??[]:S.points??[]),"pointsFor"),m=i(S=>xl(S).reduce((R,L)=>{let _=L.a.x-L.b.x,M=L.a.y-L.b.y;return R+Math.hypot(_,M)},0),"pathLength"),b=i((S,R)=>{let L=0;for(let _=0;_{if(S.horizontal){let L=S.a.y;return(Math.abs(L-R.top)<1||Math.abs(L-R.bottom)<1)&&oy(S.a.x,S.b.x,R.left,R.right)>=wm}if(S.vertical){let L=S.a.x;return(Math.abs(L-R.left)<1||Math.abs(L-R.right)<1)&&oy(S.a.y,S.b.y,R.top,R.bottom)>=wm}return!1},"segmentRunsAlongRectBorder"),T=i(S=>{let R=[S.start,S.end].filter(_=>!!_),L=[];for(let _ of R){let M=r.get(_),I=M?vm(M):void 0;I&&L.push(I)}return L},"endpointRectsFor"),C=i((S,R)=>{if(R+3>=S.length)return[];let L=S[R],_=S[R+1],M=S[R+2],I=S[R+3],F=Id(L,_,Za)&&Nd(_,M,Za)&&Id(M,I,Za),O=Nd(L,_,Za)&&Id(_,M,Za)&&Nd(M,I,Za);if(!F&&!O)return[];if(!(F?Math.sign(_.x-L.x)!==Math.sign(I.x-M.x):Math.sign(_.y-L.y)!==Math.sign(I.y-M.y)))return[];let G=Xl(L,I,Za)||lc(L,I,Za)?[]:[{x:L.x,y:I.y},{x:I.x,y:L.y}],V=G.length===0?[[...S.slice(0,R+1),...S.slice(R+3)]]:G.map(K=>[...S.slice(0,R+1),K,...S.slice(R+3)]),Y=new Set;return V.map(K=>ik(Ql(K))).filter(K=>{if(xl(K).length!==K.length-1||!K.some(H=>a2(H,I,Za)))return!1;let J=K.map(H=>`${H.x.toFixed(3)},${H.y.toFixed(3)}`).join("|");return Y.has(J)?!1:(Y.add(J),!0)})},"shortcutCandidatesAt"),E=i((S,R,L)=>{let _=[S.start,S.end].filter(I=>!!I),M=T(S);for(let I of xl(R))if(nf(I.a,I.b,l,_,-2)||nf(I.a,I.b,h,[],-2)||M.some(F=>v(I,F)))return!1;for(let I of f)if(I!==S){for(let F of xl(R))for(let O of xl(p(I)))if(k4(F,O,.5)>=wm)return!1}return b(S,R)<=L},"candidateIsSafe");for(let S=0;S<8;S++){let R=b(),L,_,M=R,I=Number.POSITIVE_INFINITY,F=Number.POSITIVE_INFINITY;for(let O of f){let P=p(O),G=s2(P,Za),V=m(P);for(let Y=0;Y<=P.length-4;Y++)for(let K of C(P,Y)){let J=s2(K,Za),H=m(K);if(!(JM||Z===M&&(J>I||J===I&&H>=F)||(L=O,_=K,M=Z,I=J,F=H)}}if(!L||!_)return;L.points=_}}function $Cr(t,r){let f=[];for(let Xe of r.values()){if(Xe.isGroup||Xe.isEdgeLabel)continue;let Rt=Xe.x??0,ft=Xe.y??0,bt=vm(Xe);bt&&f.push({id:String(Xe.id??""),cx:Rt,cy:ft,rect:bt})}if(f.length===0)return;let p=new Map(f.map(Xe=>[Xe.id,Xe])),m=f.map(Xe=>({id:Xe.id,rect:Xe.rect})),b=["top","bottom","left","right"],v={top:Math.min(...f.map(Xe=>Xe.rect.top))-20,bottom:Math.max(...f.map(Xe=>Xe.rect.bottom))+20,left:Math.min(...f.map(Xe=>Xe.rect.left))-20,right:Math.max(...f.map(Xe=>Xe.rect.right))+20},T=t.filter(Xe=>!Xe.isLayoutOnly),C=new Map(T.map((Xe,Rt)=>[Xe,Rt])),E=i(Xe=>{let Rt=Xe==="left"||Xe==="top"?-1:1,ft=[];for(let bt=0;bt<=2;bt++)ft.push(v[Xe]+Rt*20*bt);return ft},"outwardTracksForSide"),S=i((Xe,Rt=new Map)=>Ql(Rt.get(Xe)??Xe.points??[]),"replacementPointsFor"),R=i((Xe,Rt)=>{let ft=0;for(let bt of Xe)for(let Me of Rt)C4(bt.a,bt.b,Me.a,Me.b,Za)&&ft++;return ft},"crossingCountBetweenSegments"),L=i((Xe,Rt)=>R(xl(Xe),xl(Rt)),"crossingCountBetweenPaths"),_=i((Xe=new Map)=>{let Rt=0,ft=[],bt=new Set,Me=[],Fe=i(je=>{bt.has(je)||(bt.add(je),Me.push(je))},"addEdge");for(let je=0;je0&&(Rt+=ke,ft.push({first:He,second:se,count:ke}),Fe(He),Fe(se))}}return Me.sort((je,He)=>(C.get(je)??0)-(C.get(He)??0)),{count:Rt,pairs:ft,edgeSet:bt,edges:Me}},"crossingSnapshot"),M=i((Xe,Rt)=>{let ft=new Set(Rt.keys());if(ft.size===0)return Xe.count;let bt=0;for(let Fe of Xe.pairs)(ft.has(Fe.first)||ft.has(Fe.second))&&(bt+=Fe.count);let Me=0;for(let Fe=0;Fe{let Rt=new Map;for(let Me of Xe.pairs){let Fe=Rt.get(Me.first)??new Set;Fe.add(Me.second),Rt.set(Me.first,Fe);let je=Rt.get(Me.second)??new Set;je.add(Me.first),Rt.set(Me.second,je)}let ft=[],bt=new Set;for(let Me of Xe.edges){if(bt.has(Me))continue;let Fe=[Me],je=[];for(bt.add(Me);Fe.length>0;){let He=Fe.pop();je.push(He);for(let nt of Rt.get(He)??[])bt.has(nt)||(bt.add(nt),Fe.push(nt))}je.sort((He,nt)=>(C.get(He)??0)-(C.get(nt)??0)),je.length>1&&ft.push(je)}return ft},"crossingComponents"),F=i(Xe=>[Xe.start,Xe.end].filter(Rt=>!!Rt),"endpointIdsFor"),O=i(Xe=>{let Rt=[];for(let ft of I(Xe)){let bt=new Set(ft),Me=new Set(ft.flatMap(je=>F(je))),Fe=[...ft];for(let je of T)bt.has(je)||F(je).some(He=>Me.has(He))&&Fe.push(je);Fe.sort((je,He)=>(C.get(je)??0)-(C.get(He)??0)),Rt.push(Fe)}return Rt},"pairSearchGroups"),P=i((Xe,Rt,ft)=>M(Xe,new Map([[Rt,ft]])),"crossingCountWithSingleReplacement"),G=i(Xe=>{let Rt=new Map;for(let ft of Xe.pairs)Rt.set(ft.first,(Rt.get(ft.first)??0)+ft.count),Rt.set(ft.second,(Rt.get(ft.second)??0)+ft.count);return Rt},"currentCrossingsByEdge"),V=i(Xe=>Xe.slice(1).reduce((Rt,ft,bt)=>{let Me=Xe[bt];return Rt+Math.abs(ft.x-Me.x)+Math.abs(ft.y-Me.y)},0),"pathLength"),Y=i((Xe=new Map)=>T.reduce((Rt,ft)=>Rt+s2(S(ft,Xe)),0),"totalBends"),K=i((Xe=new Map)=>T.reduce((Rt,ft)=>Rt+V(S(ft,Xe)),0),"totalLength"),J=i((Xe,Rt,ft=new Map)=>{let bt=xl(Rt);for(let Me of T)if(Me!==Xe){for(let Fe of bt)for(let je of xl(S(Me,ft)))if(k4(Fe,je,.5)>=wm)return!0}return!1},"pathHasSegmentConflict"),H=i((Xe,Rt)=>{let ft=[Xe.start,Xe.end].filter(bt=>!!bt);for(let bt of xl(Rt))if(nf(bt.a,bt.b,m,ft,-2))return!0;return!1},"pathHitsNode"),q=i((Xe,Rt)=>{let ft=ik(Ql(Rt));xl(ft).length===ft.length-1&&Xe.push(ft)},"pushOrthogonalCandidate"),Z=i(Xe=>Xe==="left"||Xe==="right","sideIsHorizontal"),Q=i((Xe,Rt,ft)=>{switch(Rt){case"left":return Math.min(Xe.x,ft.x)-20;case"right":return Math.max(Xe.x,ft.x)+20;case"top":return Math.min(Xe.y,ft.y)-20;case"bottom":return Math.max(Xe.y,ft.y)+20}},"localTrackForSameSide"),W=i((Xe,Rt,ft,bt)=>{let Me=ft==="left"||ft==="top"?-1:1,Fe=[Q(Rt,ft,bt),v[ft]];for(let je of Fe)for(let He=0;He<=2;He++)q(Xe,ixe(Rt,ft,bt,je+Me*20*He))},"addSameSideCandidates"),te=i((Xe,Rt,ft,bt,Me)=>{for(let Fe of E(ft))for(let je of E(Me))q(Xe,[Rt,{x:Fe,y:Rt.y},{x:Fe,y:je},{x:bt.x,y:je},bt])},"addHorizontalToVerticalCandidates"),z=i((Xe,Rt,ft,bt,Me)=>{for(let Fe of E(ft))for(let je of E(Me))q(Xe,[Rt,{x:Rt.x,y:Fe},{x:je,y:Fe},{x:je,y:bt.y},bt])},"addVerticalToHorizontalCandidates"),re=i((Xe,Rt,ft,bt,Me)=>{let Fe=[...E("top"),...E("bottom")];for(let je of E(ft))for(let He of E(Me))for(let nt of Fe)q(Xe,[Rt,{x:je,y:Rt.y},{x:je,y:nt},{x:He,y:nt},{x:He,y:bt.y},bt])},"addHorizontalPairCandidates"),ae=i((Xe,Rt,ft,bt,Me)=>{let Fe=[...E("left"),...E("right")];for(let je of E(ft))for(let He of E(Me))for(let nt of Fe)q(Xe,[Rt,{x:Rt.x,y:je},{x:nt,y:je},{x:nt,y:He},{x:bt.x,y:He},bt])},"addVerticalPairCandidates"),ce=i(Xe=>{let Rt=new Set;return Xe.map(ft=>Ql(ft)).filter(ft=>{let bt=ft.map(Me=>`${Me.x.toFixed(3)},${Me.y.toFixed(3)}`).join("|");return Rt.has(bt)||ft.length<2?!1:(Rt.add(bt),!0)})},"dedupeCandidatePaths"),le=i((Xe,Rt,ft,bt)=>{let Me=[],Fe=nxe(Xe,Rt,ft,bt,20,Za);Fe&&q(Me,Fe),Rt===bt&&W(Me,Xe,Rt,ft);let je=Z(Rt),He=Z(bt);return je&&!He?te(Me,Xe,Rt,ft,bt):!je&&He?z(Me,Xe,Rt,ft,bt):je?re(Me,Xe,Rt,ft,bt):ae(Me,Xe,Rt,ft,bt),ce(Me)},"buildCandidatesForSides"),de=i((Xe,Rt,ft,bt)=>{let Me=[...E("left"),...E("right")],Fe=[...E("top"),...E("bottom")];for(let je of b){let He=uD(bt,je),nt=je==="top"||je==="bottom"?E(je):Fe;for(let ze of Me){q(Xe,[Rt,ft,{x:ze,y:ft.y},{x:ze,y:He.y},He]);for(let se of nt)q(Xe,[Rt,ft,{x:ze,y:ft.y},{x:ze,y:se},{x:He.x,y:se},He])}}},"addVerticalDepartureOuterTrackCandidates"),ve=i((Xe,Rt,ft,bt)=>{let Me=[...E("left"),...E("right")],Fe=[...E("top"),...E("bottom")];for(let je of b){let He=uD(bt,je),nt=je==="left"||je==="right"?E(je):Me;for(let ze of Fe){q(Xe,[Rt,ft,{x:ft.x,y:ze},{x:He.x,y:ze},He]);for(let se of nt)q(Xe,[Rt,ft,{x:ft.x,y:ze},{x:se,y:ze},{x:se,y:He.y},He])}}},"addHorizontalDepartureOuterTrackCandidates"),Se=i(Xe=>{let Rt=Xe.start,ft=Xe.end,bt=ft?p.get(ft):void 0;if(!Rt||!bt)return[];let Me=Ql(Xe.points??[]);if(Me.length<4)return[];let Fe=Me[0],je=Me[1],He=[];return Nd(Fe,je,Za)?de(He,Fe,je,bt):Id(Fe,je,Za)&&ve(He,Fe,je,bt),He},"terminalPreservingOuterTrackCandidates"),_e=i(Xe=>{let Rt=Xe.start,ft=Xe.end,bt=Rt?p.get(Rt):void 0,Me=ft?p.get(ft):void 0;if(!bt||!Me)return[];let Fe=[];for(let je of b){let He=uD(bt,je);for(let nt of b)Fe.push(...le(He,je,uD(Me,nt),nt))}return Fe.push(...Se(Xe)),Fe},"candidatePathsFor"),Ce=i(()=>new Map(T.map(Xe=>[Xe,xl(S(Xe))])),"currentSegmentsByEdge"),Ve=i((Xe,Rt,ft)=>{let bt=new Set;for(let Me of T){if(Me===Xe)continue;let Fe=ft.get(Me)??xl(S(Me));Rt.some(je=>Fe.some(He=>k4(je,He,.5)>=wm))&&bt.add(Me)}return bt},"sharedTrackConflictsFor"),De=i((Xe,Rt,ft,bt)=>{let Me=new Set;return _e(Xe).map(je=>ik(Ql(je))).filter(je=>{if(H(Xe,je))return!1;let He=je.map(nt=>`${nt.x.toFixed(3)},${nt.y.toFixed(3)}`).join("|");return Me.has(He)||je.length<2?!1:(Me.add(He),!0)}).map(je=>{let He=xl(je),nt=0;for(let ze of T)ze!==Xe&&(nt+=R(He,ft.get(ze)??xl(S(ze))));return{candidate:je,candidateSegments:He,crossings:Rt.count-(bt.get(Xe)??0)+nt,bends:s2(je,Za),totalBends:s2(je),length:V(je)}}).filter(({crossings:je})=>je<=Rt.count).sort((je,He)=>je.crossings-He.crossings||je.bends-He.bends||je.length-He.length).slice(0,48).map(je=>({path:je.candidate,segments:je.candidateSegments,sharedTrackConflicts:Ve(Xe,je.candidateSegments,ft),totalBends:je.totalBends,length:je.length}))},"pairCandidatesFor"),qe=i((Xe,Rt,ft,bt,Me,Fe)=>{let je=0;for(let nt of Xe.pairs)(nt.first===Rt||nt.second===Rt||nt.first===bt||nt.second===bt)&&(je+=nt.count);let He=R(ft.segments,Me.segments);for(let nt of T){if(nt===Rt||nt===bt)continue;let ze=Fe.get(nt)??xl(S(nt));He+=R(ft.segments,ze)+R(Me.segments,ze)}return Xe.count-je+He},"pairCrossingCount"),Ue=i((Xe,Rt)=>{for(let ft of Xe.sharedTrackConflicts)if(ft!==Rt)return!1;return!0},"conflictsOnlyWith"),We=i((Xe,Rt)=>Xe.segments.some(ft=>Rt.segments.some(bt=>k4(ft,bt,.5)>=wm)),"candidatesShareTrack"),mt=i((Xe,Rt,ft,bt)=>Ue(Rt,ft.edge)&&Ue(bt,Xe.edge)&&!We(Rt,bt),"pairCandidatesAreCompatible"),ct=i((Xe,Rt,ft,bt,Me)=>{let Fe=qe(Xe.current,Rt.edge,ft,bt.edge,Me,Xe.baseSegments);if(!(Fe>=Xe.current.count))return{replacements:new Map([[Rt.edge,ft.path],[bt.edge,Me.path]]),crossings:Fe,bends:Xe.currentBends-(Xe.baseBendsByEdge.get(Rt.edge)??0)-(Xe.baseBendsByEdge.get(bt.edge)??0)+ft.totalBends+Me.totalBends,length:Xe.currentLength-(Xe.baseLengthByEdge.get(Rt.edge)??0)-(Xe.baseLengthByEdge.get(bt.edge)??0)+ft.length+Me.length}},"scorePairReplacement"),Ot=i((Xe,Rt)=>Xe.crossings{let Me=bt;for(let Fe of Rt.candidates)for(let je of ft.candidates){if(!mt(Rt,Fe,ft,je))continue;let He=ct(Xe,Rt,Fe,ft,je);He&&Ot(He,Me)&&(Me=He)}return Me},"bestScoreForOptionPair"),tr=i(Xe=>{let Rt=Y(),ft=K(),bt=Ce(),Me=G(Xe),Fe=new Map(T.map(ke=>[ke,s2(S(ke))])),je=new Map(T.map(ke=>[ke,V(S(ke))])),He=new Map,nt=O(Xe);for(let ke of nt)for(let Le of ke){if(He.has(Le))continue;let he=De(Le,Xe,bt,Me);he.length>0&&He.set(Le,{edge:Le,candidates:he})}let ze={replacements:new Map,crossings:Xe.count,bends:Rt,length:ft},se={current:Xe,currentBends:Rt,currentLength:ft,baseBendsByEdge:Fe,baseLengthByEdge:je,baseSegments:bt};for(let ke of nt){let Le=new Set(ke.filter(Ne=>Xe.edgeSet.has(Ne))),he=ke.map(Ne=>He.get(Ne)).filter(Ne=>!!Ne);for(let Ne=0;Ne0?ze.replacements:void 0},"bestPairedReplacement");for(let Xe=0;Xe<4;Xe++){let Rt=_(),ft=Rt.count;if(ft===0)return;let bt,Me,Fe=ft,je=Number.POSITIVE_INFINITY;for(let nt of Rt.edges){let ze=s2(S(nt),Za);for(let se of _e(nt)){let ke=H(nt,se),Le=!ke&&J(nt,se),he=P(Rt,nt,se),Ne=s2(se,Za);ke||Le||!(heFe||he===Fe&&Ne>=je||(bt=nt,Me=se,Fe=he,je=Ne)}}if(bt&&Me){bt.points=Me;continue}let He=tr(Rt);if(!He)return;for(let[nt,ze]of He)nt.points=ze}}var Za,wm,NCr,xl,bet,GCr=ie(()=>{"use strict";E4();Za=.001,wm=8,NCr=i(t=>typeof t=="string"?t.toUpperCase():"","upperCaseDirection"),xl=cD,bet=i((t,r)=>Xl(t,r,Za)||lc(t,r,Za),"orthogonallyAligned");i(vet,"separateSharedRenderedTerminalLanes");i(OCr,"collapseRedundantRectangularDoglegs");i(wet,"liftObstacleHuggingSameSideRails");i(xet,"liftTopLaneTitleBandsAboveRails");i(Tet,"shiftLeftLaneTitleBandsLeftOfRails");i(PCr,"swapDestinationTerminalTailsToReduceCrossings");i(BCr,"reassignCrossingExternalRailChannels");i(FCr,"shortcutRedundantOrthogonalJogs");i($Cr,"resolveRenderedOrthogonalCrossings")});function jCr(t,r){let{nodeInfoById:a,realNodeRects:o}=mU(r),l=["top","bottom","left","right"],h=20,f={top:Math.min(...o.map(R=>R.rect.top))-h,bottom:Math.max(...o.map(R=>R.rect.bottom))+h,left:Math.min(...o.map(R=>R.rect.left))-h,right:Math.max(...o.map(R=>R.rect.right))+h},p=i((R,L,_,M)=>{let I=[],F=nxe(R,L,_,M,h,hD);return F&&I.push(F),L===M&&I.push(ixe(R,L,_,f[L])),I},"buildOrthogonalPathCandidates"),m=i((R,L)=>{for(let _=0;_{let M=0,I=cD(R,hD),F=L.start,O=L.end;for(let P of t){if(P===L||P.isLayoutOnly)continue;let G=P.start,V=P.end;if(!_&&F&&O&&(G===F||G===O||V===F||V===O))continue;let Y=P.points;if(!(!Y||Y.length<2))for(let K of I)for(let J of cD(Y,hD)){if(fet(K.a,K.b,J.a,J.b,hD,hD)){M++;continue}k4(K,J,hD)>=bHn&&M++}}return M},"pathConflictCount"),v=4,T=i((R,L)=>{let _=Math.abs(R.y-L.rect.top),M=Math.abs(R.y-L.rect.bottom),I=Math.abs(R.x-L.rect.left),F=Math.abs(R.x-L.rect.right),O="top",P=_;return M{let M=C.get(R)??[];M.push({side:L,edgeId:_}),C.set(R,M)},"addFaceClaim");for(let R of t){if(R.isLayoutOnly)continue;let L=R.points??[];if(L.length<1)continue;let _=R.id??"",M=R.start,I=R.end;if(M){let F=a.get(M);F&&E(M,T(L[0],F),_)}if(I){let F=a.get(I);F&&E(I,T(L[L.length-1],F),_)}}let S=i((R,L,_)=>C.get(R)?.some(M=>M.edgeId!==_&&M.side===L)??!1,"faceIsClaimed");for(let R of t){if(R.isLayoutOnly)continue;let L=R.points;if(!L||L.length<2)continue;let _=s2(L,hD);if(_0){let z=b(W,R,!0);if(z>K||z===K&&te>=J)continue;K=z,J=te,Y=W;continue}b(W,R)>V||teZ.edgeId!==P));let q=C.get(I);q&&C.set(I,q.filter(Z=>Z.edgeId!==P)),E(M,T(Y[0],F),P),E(I,T(Y[Y.length-1],O),P)}}}var hD,bHn,zCr=ie(()=>{"use strict";E4();hD=.001,bHn=8;i(jCr,"simplifyDetouredEdges")});function VCr(t,r){let a=r?0:t.length-1,o=r?1:-1,l=t[a],h=t[a+o];if(!l||!h)return;let f=h.x-l.x,p=h.y-l.y;if(!(Math.abs(f)+Math.abs(p)h&&rxe(t,vHn(h)))}function cxe(t,r){let a=[];for(let S of t){if(S.isLayoutOnly)continue;let R=S.points;if(!(!R||R.length<2))for(let L=0;L{let L=het(R,h);for(let{nodeId:_,rect:M}of o)if(_!==S&&rxe(L,M))return!0;return!1},"labelOverlapsForeignNode"),b=i((S,R)=>{let L=het(R,h);for(let _ of a)if(_.edgeId!==S&&Qre(_.p1,_.p2,L))return!0;return!1},"labelOverlapsForeignEdge"),v=i((S,R,L)=>m(S,L)||b(R,L),"labelOverlapsAnything"),T=[],C=i(S=>{for(let{id:R,rect:L}of l)if(lCr(L,S))return R},"findContainingLane"),E=i((S,R)=>T.some(L=>L.labelId!==S&&rxe(R,L.rect)),"overlapsPlacedLabel");for(let S of t){if(S.isLayoutOnly)continue;let R=S.labelNodeId;if(!R)continue;let L=r.get(R);if(!L)continue;let _=S.points;if(!_||_.length<2)continue;let M=L.width??0,I=L.height??0;if(M<=0||I<=0)continue;let F=[];for(let ce=0;ce<_.length-1;ce++){let le=_[ce],de=_[ce+1],ve=Math.abs(le.x-de.x),Se=Math.abs(le.y-de.y);ve=o2&&Se>=o2||F.push({idx:ce,length:ve+Se,orientation:ve>=o2?"horizontal":"vertical",midX:(le.x+de.x)/2,midY:(le.y+de.y)/2})}if(F.length===0)continue;let O=F.length>=3?F.filter(ce=>ce.idx>0&&ce.idx0?O:F,G=M>=I?"horizontal":"vertical",V=i(ce=>[...ce].sort((le,de)=>{let ve=le.orientation===G,Se=de.orientation===G;if(ve!==Se)return ve?-1:1;let _e=le.length>=(le.orientation==="horizontal"?M:I)+2,Ce=de.length>=(de.orientation==="horizontal"?M:I)+2;return _e!==Ce?_e?-1:1:de.length-le.length}),"rankSegments"),Y=F[0],K=F[F.length-1],J=[.5,.25,.75,.05,.95,.15,.85,.1,.9],H=i((ce,le)=>{let de=_[ce.idx],ve=_[ce.idx+1];return{midX:de.x+(ve.x-de.x)*le,midY:de.y+(ve.y-de.y)*le}},"anchorAtT"),q=i((ce,le,de)=>Math.min(de,Math.max(le,ce)),"clamp"),Z=i((ce,le)=>ce.midX>=le.left-o2&&ce.midX<=le.right+o2&&ce.midY>=le.top-o2&&ce.midY<=le.bottom+o2,"pointInsideRectInclusive"),Q=i(ce=>{let le=gU(ce.midX,ce.midY,M,I),de=C(le);if(de)return{laneId:de,anchor:ce,rect:le};let ve=l.find(({rect:Ue})=>Z(ce,Ue));if(!ve)return;let Se=ve.rect.left+M/2+f,_e=ve.rect.right-M/2-f,Ce=ve.rect.top+I/2+f,Ve=ve.rect.bottom-I/2-f;if(Se>_e||Ce>Ve)return;let De={midX:q(ce.midX,Se,_e),midY:q(ce.midY,Ce,Ve)},qe=gU(De.midX,De.midY,M,I);return Z(ce,qe)?{laneId:ve.id,anchor:De,rect:qe}:void 0},"placementForAnchor"),W=i((ce,le,de)=>ce.orientation==="horizontal"?Math.abs(le.midX-de.x):Math.abs(le.midY-de.y),"distanceAlongSegment"),te=i((ce,le)=>{let ve=(ce.orientation==="horizontal"?M/2:I/2)+p;if(ce===Y){let Se=_[ce.idx];if(W(ce,le,Se)+o2{let le=V(ce);for(let de of le)for(let ve of J){let Se=H(de,ve);if(!te(de,Se))continue;let _e=Q(Se);if(_e&&!HCr(_e.rect,_)&&!E(R,_e.rect)&&!v(R,S.id,_e.rect))return{laneId:_e.laneId,anchor:_e.anchor}}},"tryPool"),re=i((ce,le,de=!1)=>{let ve=V(ce);for(let Se of ve){let _e={midX:Se.midX,midY:Se.midY};if(le&&!te(Se,_e))continue;let Ce=Q(_e);if(Ce&&!HCr(Ce.rect,_)&&!E(R,Ce.rect)&&!m(R,Ce.rect)&&(de||!b(S.id,Ce.rect)))return{laneId:Ce.laneId,anchor:Ce.anchor}}},"findLaneContainingFallback"),ae=z(P)??(P.lengthde.labelId===R);le>=0?T[le]={labelId:R,rect:ce}:T.push({labelId:R,rect:ce})}}}var o2,UCr,lxe,qCr=ie(()=>{"use strict";E4();o2=.001,UCr=10,lxe=7;i(VCr,"markerClearanceRectFor");i(vHn,"normalizeRect");i(HCr,"labelOverlapsOwnMarker");i(cxe,"anchorLabelsToPolyline")});function YCr(t,r){return t{let v=YCr(p,m),T=0,C=i(E=>{if(!E)return;let S=l.get(E);if(!S)return;let R=b==="x"?S.w/2:S.h/2;R>T&&(T=R)},"consider");C(f.labelNodeId);for(let E of t){if(E===f||E.isLayoutOnly)continue;let S=E.start,R=E.end;!S||!R||YCr(S,R)===v&&C(E.labelNodeId)}return T>0?T+xHn:0},"labelClearanceFor");for(let f of t){if(f.isLayoutOnly)continue;let p=f.points;if(!exe(p,ket))continue;let m=axe(f,a,ket);if(!m)continue;let{srcId:b,dstId:v,srcInfo:T,dstInfo:C,collinearX:E,collinearY:S}=m;if(E===S)continue;let R,L;if(E){let O=C.cy>T.cy;R={x:T.cx,y:O?T.rect.bottom:T.rect.top},L={x:C.cx,y:O?C.rect.top:C.rect.bottom}}else{let O=C.cx>T.cx;R={x:O?T.rect.right:T.rect.left,y:T.cy},L={x:O?C.rect.left:C.rect.right,y:C.cy}}if(nf(R,L,o,[b,v],1))continue;let M=h(f,b,v,E?"x":"y"),I=M>WCr?M:WCr,F=[0,I,-I];for(let O of F){let P={...R},G={...L};if(E){if(P.x+=O,G.x+=O,P.x<=T.rect.left||P.x>=T.rect.right||G.x<=C.rect.left||G.x>=C.rect.right)continue}else if(P.y+=O,G.y+=O,P.y<=T.rect.top||P.y>=T.rect.bottom||G.y<=C.rect.top||G.y>=C.rect.bottom)continue;if(!nf(P,G,o,[b,v],1)&&!Jre(P,G,t,f,{epsilon:ket})){f.points=[P,G];break}}}}var ket,wHn,WCr,xHn,XCr=ie(()=>{"use strict";E4();ket=1e-6,wHn=8,WCr=wHn/2,xHn=3;i(YCr,"pairKey");i(KCr,"straightenCollinearSiblingDetours")});function Cet(t,r){let{realNodeRects:b,labelNodeRects:v}=hS(r.values()),T=i((P,G)=>cD(G,.001).map(V=>({...V,edge:P,interior:V.index>=1&&V.index<=G.length-3})),"segmentsFor"),C=i(()=>{let P=[];for(let G of t){if(G.isLayoutOnly)continue;let V=G.points;!V||V.length<2||P.push(...T(G,Ql(V)))}return P},"allSegments"),E=i((P,G)=>P.horizontal&&G.horizontal?oy(P.a.x,P.b.x,G.a.x,G.b.x)>=8&&Math.abs(P.a.y-G.a.y)<7:P.vertical&&G.vertical?oy(P.a.y,P.b.y,G.a.y,G.b.y)>=8&&Math.abs(P.a.x-G.a.x)<7:!1,"hasCrowdedParallelTrack"),S=i((P,G)=>{let V=P.start,Y=P.end,K=T(P,G);if(K.length!==G.length-1)return!1;let J=[V,Y].filter(q=>!!q),H=P.labelNodeId?[P.labelNodeId]:[];for(let q of K)if(nf(q.a,q.b,b,J,-2)||nf(q.a,q.b,v,H,-2))return!1;for(let q of t){if(q===P||q.isLayoutOnly)continue;let Z=q.points;if(!(!Z||Z.length<2)){for(let Q of K)for(let W of T(q,Ql(Z)))if(E(Q,W)||C4(Q.a,Q.b,W.a,W.b,.001))return!1}}return!0},"candidateIsSafe"),R=i((P,G)=>{let V=Ql(P.edge.points??[]);if(V.length<4||P.index>=V.length-1)return;let Y=V.map(K=>({...K}));if(P.horizontal)Y[P.index].y+=G,Y[P.index+1].y+=G;else if(P.vertical)Y[P.index].x+=G,Y[P.index+1].x+=G;else return;return T(P.edge,Y).length===Y.length-1?Y:void 0},"shiftedCandidate"),L=i((P,G)=>({x:P.x??(G.left+G.right)/2,y:P.y??(G.top+G.bottom)/2}),"nodeCenter"),_=i(P=>{let G=P.edge,V=Ql(G.points??[]);if(V.length!==4||P.index!==1)return;let Y=G.start?r.get(G.start):void 0,K=G.end?r.get(G.end):void 0,J=Y?vm(Y):void 0,H=K?vm(K):void 0,q=V.slice(P.index+2);if(!(!Y||!K||!J||!H||q.length===0))return{sourceCenter:L(Y,J),targetCenter:L(K,H),sourceRect:J,tail:q}},"sourceDetourContextFor"),M=i((P,G,V,Y,K,J)=>{let H=Y.y>=V.y,q=H?K.bottom:K.top,Z=q+(H?20:-20);if(H&&P.b.y<=Z+.001||!H&&P.b.y>=Z-.001)return;let Q=P.a.x+G;return Ql([{x:V.x,y:q},{x:V.x,y:Z},{x:Q,y:Z},{x:Q,y:P.b.y},...J],.001)},"verticalSourceDetour"),I=i((P,G,V,Y,K,J)=>{let H=Y.x>=V.x,q=H?K.right:K.left,Z=q+(H?20:-20);if(H&&P.b.x<=Z+.001||!H&&P.b.x>=Z-.001)return;let Q=P.a.y+G;return Ql([{x:q,y:V.y},{x:Z,y:V.y},{x:Z,y:Q},{x:P.b.x,y:Q},...J],.001)},"horizontalSourceDetour"),F=i((P,G)=>{let V=_(P);if(V){if(P.vertical)return M(P,G,V.sourceCenter,V.targetCenter,V.sourceRect,V.tail);if(P.horizontal)return I(P,G,V.sourceCenter,V.targetCenter,V.sourceRect,V.tail)}},"sourceDetourCandidate"),O=[-7,7,-14,14,-21,21];for(let P=0;P<12;P++){let G=C(),V=!1;for(let Y=0;YZ.interior);for(let Z of q){for(let Q of O){let W=R(Z,Q);if(W&&S(Z.edge,W)){Z.edge.points=W,V=!0;break}let te=F(Z,Q);if(te&&S(Z.edge,te)){Z.edge.points=te,V=!0;break}}if(V)break}}if(!V)return}}var QCr=ie(()=>{"use strict";E4();i(Cet,"nudgeSharedInteriorSubpaths")});function THn(t,r,a,o){let l=r.x-t.x,h=r.y-t.y,f=o.x-a.x,p=o.y-a.y,m=l*p-h*f;if(Math.abs(m)<1e-10)return!1;let b=a.x-t.x,v=a.y-t.y,T=(b*p-v*f)/m,C=(b*h-v*l)/m,E=.01;return T>E&&T<1-E&&C>E&&C<1-E}function Eet(t){let r=t.nodes??[],a=t.edges??[],o=[];if(!a.length||!r.length)return o;let l=cCr(r),h=1,f=[];for(let m of a){if(m.isLayoutOnly)continue;let b=m.points;if(!b||b.length<2)continue;let v=m.start,T=m.end,C=m.labelNodeId,E=m.id??`${v}->${T}`;for(let S of l)if(!(S.nodeId===v||S.nodeId===T)&&!(C&&S.nodeId===C)){for(let R=0;R0){let m=o.filter(v=>v.type==="edge-node-overlap").length,b=o.filter(v=>v.type==="edge-edge-crossing").length;Pe.warn(`[SWIMLANE_VALIDATE] ${o.length} issue(s) detected: ${m} edge-node overlap(s), ${b} edge crossing(s)`);for(let v of o)Pe.warn(`[SWIMLANE_VALIDATE] ${v.type}: ${v.detail}`)}return o}var JCr=ie(()=>{"use strict";Xn();E4();i(THn,"segmentsIntersect");i(Eet,"validateSwimlanesLayout")});function ZCr(t,r){let a=t.nodes??[],o=t.edges??[],l=a.filter(p=>!p.isGroup);if((r==="LR"||r==="RL")&&l.length>0&&!RCr(t,r)||r==="BT"&&l.length>0&&!ACr(t))return;for(let p of o){if(p.isLayoutOnly)continue;let m=p.points;!m||m.length<2||(p.points=ik(Zre(m)))}jCr(o,a),KCr(o,a),DCr(o,a);let h=new Map;for(let p of a)h.set(String(p.id),p);cxe(o,h),xCr(o,h),MCr(o,h),Cet(o,h),vet(o,h),OCr(o,h),wet(o,h),PCr(o,h);let f=i(()=>{$Cr(o,h),vet(o,h),BCr(o,h),FCr(o,h),cxe(o,h),met(o,h),wet(o,h),cxe(o,h),met(o,h)},"finalizeRenderedEdges");f(),Cet(o,h),f(),xet(o,h,r),Tet(o,h,r),xet(o,h,r),Tet(o,h,r)}var eEr=ie(()=>{"use strict";kCr();E4();LCr();_Cr();ICr();GCr();zCr();qCr();XCr();QCr();JCr();i(ZCr,"postProcessSwimlaneLayout")});function l2(t){let r=new Map(t.nodeById),a=new Set,o=[];for(let h of t.edges){if(!r.has(h.src)||!r.has(h.dst))continue;let f=`${h.id}:${h.src}->${h.dst}`;a.has(f)||(a.add(f),o.push(h))}return{nodes:[...r.keys()],edges:o,layout:t.layout,nodeById:r}}function uxe(t,r){return t.edges.filter(a=>a.dst===r)}function kHn(t){let r=new Map;for(let a of t.nodes)r.set(a,[]);for(let a of t.edges)r.get(a.src).push(a.dst);return r}function Aet(t){let r=kHn(t);for(let a of r.values())a.sort((o,l)=>o.localeCompare(l));return r}function ene(t){let r=new Map;for(let a of t.nodes)r.set(a,0);for(let a of t.edges)r.set(a.dst,(r.get(a.dst)??0)+1);return r}function Ret(t,r){let a=[...r.entries()].filter(([,p])=>p===0).map(([p])=>p).sort((p,m)=>p.localeCompare(m)),o=new Set(t.edges.flatMap(p=>[p.src,p.dst])),l=i(p=>!o.has(p)&&!t.nodeById.get(p)?.isGroup,"isUnconnected"),h=[...r.keys()].filter(p=>r.get(p)===0&&l(p)),f=0;return a.map(p=>l(p)?h[f++]:p)}function yU(t,r=()=>!0){let a=new Map,o=new Map;for(let l of t.nodes)a.set(l,[]),o.set(l,[]);for(let l of t.edges)r(l)&&(o.get(l.src).push(l.dst),a.get(l.dst).push(l.src));return{preds:a,succs:o}}function hxe(t,r,a,o){let l=0;for(let f of t.nodes)o?.skipGroups&&t.nodeById.get(f)?.isGroup||(l=Math.max(l,a[f]??0));let h=Array.from({length:l+1},()=>[]);for(let f of r)o?.skipGroups&&t.nodeById.get(f)?.isGroup||h[Math.max(0,a[f]??0)].push(f);return h}function fD(t){let r=ene(t),a=Ret(t,r),o=[],l=Aet(t);for(;a.length;){let h=a.shift();o.push(h);for(let f of l.get(h)??[])if(r.set(f,(r.get(f)??0)-1),(r.get(f)??0)===0){let p=0;for(;p{if(l-o<=1)return 0;let h=o+l>>1,f=a(o,h)+a(h,l),p=o,m=h,b=o;for(;p=l||p{"use strict";i(l2,"normalizeGraph");i(uxe,"incoming");i(kHn,"buildSuccessorMap");i(Aet,"buildSortedSuccessorMap");i(ene,"buildInDegreeMap");i(Ret,"sortedZeroInDegreeNodes");i(yU,"buildPredecessorSuccessorMaps");i(hxe,"buildLayersFromRanks");i(fD,"topoSortIfAcyclic");i(EO,"buildLayerIndex");i(fxe,"countInversions")});function tEr(t){let r=l2(t),a=new Map;for(let T of r.nodes)a.set(T,[]);for(let T of r.edges)a.get(T.src).push(T);for(let T of a.values())T.sort((C,E)=>C.dst===E.dst?C.id.localeCompare(E.id):C.dst.localeCompare(E.dst));let o=Object.create(null);for(let T of r.nodes)o[T]=0;let l=[],h=i(T=>{o[T]=1;for(let C of a.get(T)??[]){let E=C.dst;o[E]===0?h(E):o[E]===1&&l.push(C)}o[T]=2},"dfs"),f=ene(r),p=[...r.nodes.filter(T=>(f.get(T)??0)===0),...r.nodes.filter(T=>(f.get(T)??0)!==0)];for(let T of p)o[T]===0&&h(T);let m=new Set(l.map(T=>`${T.id}:${T.src}->${T.dst}`)),b=r.edges.map(T=>m.has(`${T.id}:${T.src}->${T.dst}`)?{id:T.id,src:T.dst,dst:T.src,weight:T.weight,ref:T.ref}:T);return{acyclic:{nodes:[...r.nodes],edges:b,layout:r.layout,nodeById:new Map(r.nodeById)},reversed:l}}var rEr=ie(()=>{"use strict";fS();i(tEr,"removeCycles_DFS")});function CHn(t){let r=new Map,a=i(o=>{if(r.has(o))return r.get(o);let l=t.nodeById.get(o);if(!l)return r.set(o,null),null;let h=l.parentId;if(!h)return r.set(o,null),null;let p=a(h)??h;return r.set(o,p),p},"resolve");for(let o of t.nodes)a(o);return r}function ly(t){let r=CHn(t);return a=>r.get(a)??null}function dxe(t){let r=[];for(let a of t.layout.nodes??[])a.isGroup&&!a.parentId&&r.push(a.id);return[...new Set(r)].reverse()}function pxe(t,r){let a=dxe(t);if(!r||r.length===0)return a;let o=new Set(a),l=new Set,h=[];for(let f of r)!o.has(f)||l.has(f)||(l.add(f),h.push(f));for(let f of a)l.has(f)||h.push(f);return h}var wA=ie(()=>{"use strict";i(CHn,"buildTopLaneMap");i(ly,"createTopLaneResolver");i(dxe,"buildTopLaneOrder");i(pxe,"resolveTopLaneOrder")});var nEr,SO,Let,bU=ie(()=>{"use strict";nEr={EPSILON:1e-6},SO={GRAVITY_ITERATIONS:8,MAX_CROSSING_OPTIMIZATION_PASSES:4,DEFAULT_COMPACT_SINGLE_INPUT:!0},Let={DEFAULT_LAYER_GAP:100,DEFAULT_NODE_GAP:40}});function iEr(t,r){let a=l2(t),o=r?.laneOf??(()=>null),l=r?.rankHint,{preds:h}=yU(a);for(let O of h.values())O.sort((P,G)=>P.localeCompare(G));let f=fD(a)??[...a.nodes].sort((O,P)=>O.localeCompare(P)),p=new Map;for(let[O,P]of f.entries())p.set(P,O);let m=new Map,b=new Map;for(let O of a.nodes)b.set(O,[]);for(let O of f){let P=(h.get(O)??[]).filter(G=>m.has(G));if(P.length>0){let G=EHn(O,P,{laneOf:o,rankHint:l,topoIndex:p});m.set(O,G),b.get(G).push(O)}else m.has(O)||m.set(O,null)}for(let O of a.nodes)m.has(O)||m.set(O,null);let v=new Set;for(let O of a.nodes)(m.get(O)??null)===null&&v.add(O);let T=[...v].sort((O,P)=>{let G=p.get(O)??0,V=p.get(P)??0;return G===V?O.localeCompare(P):G-V}),C=SHn(a),E=new Map;for(let[O,P]of C.entries())E.set(O,[...P].sort((G,V)=>G.localeCompare(V)));let S=AHn(E),R=RHn(E),L=new Map;for(let O of a.nodes)L.set(O,[]);for(let O of R)for(let P of O.nodes){let G=L.get(P);G?G.push(O.id):L.set(P,[O.id])}let _=[],M=[],I=new Set,F=i(O=>{if(!I.has(O)){I.add(O),_.push(O);for(let P of b.get(O)??[])F(P);M.push(O)}},"walk");for(let O of T)F(O);for(let O of f)F(O);return{parent:m,children:b,roots:T,componentOf:S,blocks:R,nodeBlocks:L,adjacency:E,preorder:_,postorder:M,topologicalOrder:f}}function EHn(t,r,a){let o=a.laneOf(t);return[...r].sort((h,f)=>{let p=a.laneOf(h),m=a.laneOf(f),b=p!=null&&p===o,v=m!=null&&m===o;if(b!==v)return b?-1:1;let T=a.rankHint?.[h],C=a.rankHint?.[f];if(T!=null&&C!=null&&T!==C)return C-T;let E=a.topoIndex.get(h)??0,S=a.topoIndex.get(f)??0;return E!==S?E-S:h.localeCompare(f)})[0]}function SHn(t){let r=new Map;for(let a of t.nodes)r.set(a,new Set);for(let a of t.edges)r.get(a.src).add(a.dst),r.get(a.dst).add(a.src);return r}function AHn(t){let r=new Map,a=0;for(let o of t.keys()){if(r.has(o))continue;let l=[o];for(;l.length>0;){let h=l.pop();if(!r.has(h)){r.set(h,a);for(let f of t.get(h)??[])r.has(f)||l.push(f)}}a++}return r}function RHn(t){let r=new Map,a=new Map,o=[],l=[],h=0,f=i((p,m)=>{r.set(p,++h),a.set(p,h);for(let b of t.get(p)??[])b!==m&&(r.has(b)?(r.get(b)??0)<(r.get(p)??0)&&(o.push([p,b]),a.set(p,Math.min(a.get(p)??h,r.get(b)??h))):(o.push([p,b]),f(b,p),a.set(p,Math.min(a.get(p)??h,a.get(b)??h)),(a.get(b)??0)>=(r.get(p)??0)&&l.push(LHn(p,b,o,l.length))))},"visit");for(let p of t.keys())r.has(p)||f(p,null);return l}function LHn(t,r,a,o){let l=[],h=new Set;for(;a.length>0;){let f=a.pop();if(l.push(f),h.add(f[0]),h.add(f[1]),f[0]===t&&f[1]===r||f[0]===r&&f[1]===t)break}return{id:o,edges:l,nodes:[...h]}}var aEr=ie(()=>{"use strict";fS();i(iEr,"buildDrivingTree");i(EHn,"chooseParent");i(SHn,"buildAdjacency");i(AHn,"assignComponents");i(RHn,"computeBlocks");i(LHn,"popBlock")});function sEr(t,r,a){let o=[...t.nodes],l=new Map;for(let[M,I]of o.entries())l.set(I,M);let h=o.length,f=new Array(h).fill(-1),p=new Array(h).fill(0),m=[],b=new Set;for(let M of o){let I=a.parent.get(M)??null,F=l.get(M);F!=null&&I==null&&(f[F]=-1,p[F]=0,b.has(M)||(b.add(M),m.push(M)))}for(;m.length>0;){let M=m.shift(),I=l.get(M);if(I==null)continue;let F=a.children.get(M)??[];for(let O of F){if(b.has(O))continue;let P=l.get(O);P!=null&&(f[P]=I,p[P]=p[I]+1,b.add(O),m.push(O))}}for(let M of o){if(b.has(M))continue;let I=l.get(M);I!=null&&(f[I]=-1,p[I]=0,b.add(M))}let v=Math.max(1,Math.ceil(Math.log2(Math.max(1,h)))+1),T=Array.from({length:v},()=>new Array(h).fill(-1));for(let M=0;M{if(M===-1||I===-1)return-1;p[M]>O&1&&(M=T[O][M],M===-1))return-1;if(M===I)return M;for(let O=v-1;O>=0;O--){let P=T[O][M],G=T[O][I];P===-1||G===-1||P!==G&&(M=P,I=G)}return T[0][M]},"lcaIndex"),E=Array.from({length:h},()=>new Map);for(let M of t.edges){let I=M.src,F=M.dst,O=r[I],P=r[F];if(O==null||P==null||(O>P&&([I,F]=[F,I],[O,P]=[P,O]),O==null||P==null||O===P))continue;let G=l.get(I),V=l.get(F);if(G==null||V==null)continue;let Y=C(G,V);if(Y===-1)continue;let K=E[Y];for(let J=O;J{if(I.size!==0)for(let[F,O]of I)M.set(F,(M.get(F)??0)+O)},"mergeInto"),L=new Set,_=i(M=>{let I=l.get(M);L.add(M);let F=I==null?void 0:E[I],O=F?new Map(F):new Map,P=a.children.get(M)??[];for(let G of P){let V=_(G),Y=r[M];if(Y!=null){let K=S.get(M);K||(K=new Map,S.set(M,K));let J=V.get(Y)??0,H=r[G];H!=null&&H>Y&&(J+=1),K.set(G,J)}R(O,V)}return O},"dfs");for(let M of a.roots)L.has(M)||_(M);for(let M of o)L.has(M)||_(M);return S}var oEr=ie(()=>{"use strict";i(sEr,"computeSubtreeCrossCounts")});function lEr(t,r,a){let o=new Map,l=i(h=>{let f=a[h]??0,p=[...r.get(h)??[]];p.sort(Det(a));for(let m of p){l(m);let b=o.get(m);b!=null&&(f=Math.min(f,b))}o.set(h,f)},"annotate");for(let h of t)l(h);return o}function Det(t){return(r,a)=>{let o=t[r]??0,l=t[a]??0;return o===l?r.localeCompare(a):o-l}}function cEr(t,r,a,o){let l=0;for(let m of r){let b=a[m]??0;b>l&&(l=b)}let h=Array.from({length:l+1},()=>[]),f=new Set,p=i(m=>{if(f.has(m))return;f.add(m);let b=a[m]??0;h[b]||(h[b]=[]),h[b].push(m);for(let v of o(m))p(v)},"emit");for(let m of t)p(m);for(let m of r)if(!f.has(m)){let b=a[m]??0;h[b]||(h[b]=[]),h[b].push(m),f.add(m)}return h}function uEr(t){let r=[];for(let a of t){let o=new Set,l=[];for(let h of a)o.has(h)||(o.add(h),l.push(h));r.push(l)}return r}var hEr=ie(()=>{"use strict";i(lEr,"annotateMinimumLayers");i(Det,"compareByRankThenId");i(cEr,"emitNodesInTreeOrder");i(uEr,"deduplicateLayers")});function DHn(t,r,a,o){return l=>{let h=t.get(l)??[];if(h.length===0)return[];let f=r[l]??0,p=[],m=[],b=a.get(l);for(let v of h){let T=o.get(v)??f;T>f?p.push({child:v,min:T}):m.push(v)}return p.sort((v,T)=>v.min===T.min?v.child.localeCompare(T.child):v.min-T.min),m.sort((v,T)=>{let C=b?.get(v)??0,E=b?.get(T)??0;if(C!==E)return C-E;let S=o.get(v)??f,R=o.get(T)??f;return S!==R?S-R:v.localeCompare(T)}),[...p.map(v=>v.child),...m]}}function tne(t,r,a){let o=iEr(t,{rankHint:r,laneOf:a}),{children:l,roots:h}=o;for(let T of t.nodes)l.has(T)||l.set(T,[]);let f=sEr(t,r,o),p=[...h].sort(Det(r)),m=lEr(p,l,r),b=DHn(l,r,f,m),v=cEr(p,t.nodes,r,b);return v=uEr(v),v}var _et=ie(()=>{"use strict";aEr();oEr();hEr();i(DHn,"createChildOrderer");i(tne,"buildMultitreeLayerOrder")});function _Hn(t,r,a){let o=new Set(t),l=new Set(r),h=EO(r),f=[];for(let p of a)o.has(p.src)&&l.has(p.dst)&&f.push(h.get(p.dst));return fxe(f)}function fEr(t,r,a){let o=[];for(let h of r){let f=a[h.src],p=a[h.dst];if(f==null||p==null||f===p)continue;let m=h.src,b=h.dst,v=f,T=p;f>p&&(m=h.dst,b=h.src,v=p,T=f);for(let C=v;C(a[C]??0)-(a[T]??0));for(let T of v){let C=a[T]??0;if(C===0)continue;let E=0;for(let _ of o.get(T)??[])E=Math.max(E,(a[_]??0)+1);if(E>=C)continue;let S=C;a[T]=E;let R=tne(t,a,l),L=fEr(R,t.edges,a);L{"use strict";fS();bU();wA();_et();i(_Hn,"countCrossingsBetweenAdjacent");i(fEr,"totalCrossings");i(dEr,"optimizeRanksByCrossings")});function gEr(t,r){let a=ly(t),o=[...t.nodes].sort((l,h)=>(r[l]??0)-(r[h]??0)||l.localeCompare(h));for(let l of o){let h=a(l);if(!h)continue;let f=t.edges.filter(R=>R.src===l);if(f.length===0)continue;let p=!1,m=0;for(let R of f){let L=a(R.dst);L==null||L===h?p=!0:m++}if(m===0||p)continue;let b=0,v=!1;for(let R of t.edges){if(R.dst!==l)continue;let L=a(R.src);L&&(L===h?v=!0:b++)}if(b>0||!v)continue;let T=r[l]??0,C=T+m,E=0;for(let R of t.edges)R.dst===l&&(E=Math.max(E,(r[R.src]??0)+1));let S=Math.max(T,E,C);S!==T&&(r[l]=S)}}var mEr=ie(()=>{"use strict";wA();i(gEr,"adjustCrossLaneSources")});function yEr(t,r){let a=l2(t),o=fD(a)??[...a.nodes].sort(),l=r?.compactSingleInput??!1,h=ly(a),f=Object.create(null);for(let m of o){let b=uxe(a,m),v=r?.ignoreCrossLaneEdges?b.filter(T=>{let C=h(T.src),E=h(m);return!C||!E?!0:C===E}):b;if(v.length===0)f[m]=0;else if(l&&v.length===1){let T=v[0].src,C=h(T),E=h(m);C!==E?f[m]=f[T]??0:f[m]=(f[T]??0)+1}else{let T=-1/0;for(let C of v)T=Math.max(T,(f[C.src]??0)+1);f[m]=T===-1/0?0:T}}return(r?.optimizeRanksByCrossings??!1)&&(f=dEr(a,f)),r?.ignoreCrossLaneEdges&&gEr(a,f),{layers:tne(a,f,h),rankOf:f,dummy:new Set}}var bEr=ie(()=>{"use strict";fS();wA();pEr();mEr();_et();i(yEr,"assignLayers_LongestPath")});function vEr(t,r){let a=l2(t),l={...yEr(a,{compactSingleInput:r?.compactSingleInput,ignoreCrossLaneEdges:r?.ignoreCrossLaneEdges,optimizeRanksByCrossings:r?.optimizeRanksByCrossings}).rankOf},h=ly(a),{preds:f,succs:p}=yU(a,S=>{if(r?.ignoreCrossLaneEdges){let R=h(S.src),L=h(S.dst);if(R&&L&&R!==L)return!1}return!0}),m=fD(a)??[...a.nodes],b=[...m].reverse(),v=i((S,R)=>{let L=0;for(let I of f.get(S)??[])L=Math.max(L,(l[I]??0)+1);let _=Number.POSITIVE_INFINITY,M=p.get(S)??[];return M.length>0&&(_=Math.min(...M.map(I=>(l[I]??0)-1))),Number.isFinite(_)||(_=Math.max(L,R)),Math.min(Math.max(R,L),_)},"clampFeasible"),T=SO.GRAVITY_ITERATIONS,C=i(S=>{let R=!1;for(let L of S){let _=f.get(L)??[],M=p.get(L)??[];if(_.length===0&&M.length===0)continue;let I=_.length>0?_.reduce((G,V)=>G+(l[V]??0)+1,0)/_.length:l[L]??0,F=M.length>0?M.reduce((G,V)=>G+(l[V]??0)-1,0)/M.length:l[L]??0,O=Math.round((I+F)/2),P=v(L,O);P!==l[L]&&(l[L]=P,R=!0)}return R},"relaxOrder");for(let S=0;S0){let L=Math.min(...R.map(_=>(l[_]??0)-1));(l[S]??0)>L&&(l[S]=L)}}return{layers:hxe(a,m,l),rankOf:l,dummy:new Set}}var wEr=ie(()=>{"use strict";fS();wA();bU();bEr();i(vEr,"assignLayers_Gravity")});function MHn(t){let r=ene(t),a=Aet(t),o=Ret(t,r),l=[];for(;o.length>0;){let h=[];for(let f of o){l.push(f);for(let p of a.get(f)??[])r.set(p,(r.get(p)??0)-1),(r.get(p)??0)===0&&h.push(p)}o=h.sort((f,p)=>f.localeCompare(p))}return l.length===t.nodes.length?l:null}function xEr(t,r){let a=l2(t),o=r?.direction==="LR"?MHn(a)??[...a.nodes].sort():fD(a)??[...a.nodes].sort(),l=ly(a),h=i(v=>l(v)??v,"laneOf"),f=Object.create(null),p=new Map,m=i((v,T)=>r?.ignoreCrossLaneEdges??!0?h(v)===h(T)?1:0:1,"edgeWeight");for(let v of o){if(a.nodeById.get(v)?.isGroup)continue;let C=uxe(a,v),E=0;if(C.length>0)for(let _ of C){let M=_.src,I=f[M]??0;E=Math.max(E,I+m(M,v))}let S=h(v),R=p.get(S)??0,L=Math.max(E,R);f[v]=L,p.set(S,L+1)}return{layers:hxe(a,o,f,{skipGroups:!0}),rankOf:f,dummy:new Set}}var TEr=ie(()=>{"use strict";fS();wA();i(MHn,"topoSortByGenerationIfAcyclic");i(xEr,"assignLayers_LaneAwareCompact")});function kEr(t,r){let a=l2(r),{rankOf:o}=t,l=t.layers.map(E=>[...E]),h=new Set(t.dummy?[...t.dummy]:[]),f=0,p=new Map(a.nodeById),m=i(E=>{let S=`placeholder-${f++}`,R={id:S,isGroup:!1,isDummy:!0,width:0,height:0};for(p.set(S,R),h.add(S);l.length<=E;)l.push([]);return l[E].push(S),o[S]=E,S},"addDummyAt"),b=[...a.edges].sort((E,S)=>E.id===S.id?E.src===S.src?E.dst.localeCompare(S.dst):E.src.localeCompare(S.src):E.id.localeCompare(S.id)),v=[];for(let E of b){let S=o[E.src]??0,R=o[E.dst]??0;if(R-S<=1){v.push(E);continue}let L=E.src;for(let M=S+1,I=0;M!a.nodes.includes(E))],edges:v,layout:a.layout,nodeById:p};return{layering:{layers:l,rankOf:o,dummy:h},graphWithDummies:C}}var CEr=ie(()=>{"use strict";fS();i(kEr,"makeProperLayering")});function EEr(t){let r=t.length;if(r===0)return Number.POSITIVE_INFINITY;let a=[...t].sort((o,l)=>o-l);return r%2===1?a[(r-1)/2]:.5*(a[r/2-1]+a[r/2])}function SEr(t){return t.length===0?Number.POSITIVE_INFINITY:t.reduce((a,o)=>a+o,0)/t.length}function IHn(t,r,a,o){let l=new Map;for(let h of t)l.set(h,[]);for(let h of a)o==="down"?r.has(h.src)&&l.has(h.dst)&&l.get(h.dst).push(r.get(h.src)):r.has(h.dst)&&l.has(h.src)&&l.get(h.src).push(r.get(h.dst));return l}function NHn(t,r,a){let o=a.get(t)??0,l=a.get(r)??0;return o!==l?o-l:t.localeCompare(r)}function AEr(t,r,a){let o=new Set(t),l=new Set(r),h=EO(t),f=EO(r),p=[];for(let b of a)o.has(b.src)&&l.has(b.dst)&&p.push({u:h.get(b.src),v:f.get(b.dst)});p.sort((b,v)=>b.u===v.u?b.v-v.v:b.u-v.u);let m=p.map(b=>b.v);return fxe(m)}function Met(t,r,a){return[...t].sort((o,l)=>{let h=EEr(r.get(o)??[]),f=EEr(r.get(l)??[]);return h===f?NHn(o,l,a):isFinite(h)?isFinite(f)?h-f:-1:1})}function REr(t,r,a,o,l,h){let f=EO(t),p=EO(r),m=IHn(r,f,a,o);if(!l||!h||h.length===0)return Met(r,m,p);let b=new Map;for(let C of r){let E=l(C),S=b.get(E)??[];S.push(C),b.set(E,S)}let v=[];for(let C of h){let E=b.get(C);if(!E||E.length===0)continue;let S=Met(E,m,p);v.push(...S)}let T=b.get(null);if(T&&T.length>0){let C=Met(T,m,p);for(let E of C){let S=SEr(m.get(E)??[]),R=v.length;if(isFinite(S))for(let[L,_]of v.entries()){let M=SEr(m.get(_)??[]);if(Sf.has(R.src)&&p.has(R.dst)),v=m?a.filter(R=>p.has(R.src)&&m.has(R.dst)):void 0,T=i(R=>{let L=AEr(t,R,b);return v&&o&&(L+=AEr(R,o,v)),L},"crossingScore"),C=l?new Map:null;if(l&&C)for(let R of r)C.set(R,l(R));let E=!0,S=T(h);for(;E;){E=!1;for(let R=0;R+1[...p]),l=r.edges,h=ly(r),f=pxe(r,a?.laneOrder);for(let p=0;p<3;p++){for(let m=1;m=0;m--)o[m]=REr(o[m+1],o[m],l,"up",h,f),o[m]=LEr(o[m+1],o[m],l,o[m-1],h)}return{layers:o}}var _Er=ie(()=>{"use strict";fS();wA();i(EEr,"median");i(SEr,"barycenter");i(IHn,"neighborPositionsFor");i(NHn,"currentOrderTieBreak");i(AEr,"countCrossingsBetweenAdjacent");i(Met,"sortByHeuristic");i(REr,"reorderLayer");i(LEr,"transposeImprove");i(DEr,"orderLayers")});function MEr(t,r,a){let o=a?.layerGap??Let.DEFAULT_LAYER_GAP,l=a?.nodeGap??Let.DEFAULT_NODE_GAP,h=a?.laneGap??l*2,f=a?.direction??"TB",p=f==="LR"||f==="RL",m=t.layers,b=Object.create(null),v=Object.create(null),T=i(K=>r.nodeById.get(K),"getNode"),C=i(K=>T(K)?.width??0,"getWidth"),E=i(K=>T(K)?.height??0,"getHeight"),S=ly(r),R=pxe(r,a?.laneOrder),L=m.map(K=>K.reduce((J,H)=>Math.max(J,E(H)),0)),_=[];if(p)for(let K=0;K+1Math.max(z,C(re)),0),H=m[K+1].reduce((z,re)=>Math.max(z,C(re)),0),q=L[K],Z=L[K+1],Q=q/2+Z/2,W=(J+H)/2,te=Math.max(0,W-Q-o);_.push(te)}let M=new Set;for(let K of m)for(let J of K)M.add(S(J));let I=M.has(null),F=R.filter(K=>M.has(K)),O=[...I?[null]:[],...F],P=Object.create(null);for(let K of F)P[K]=0;I&&(P.null=0);for(let K of m){let J=Object.create(null),H=[];for(let q of K){let Z=S(q);Z===null?H.push(q):(J[Z]||=[]).push(q)}for(let[q,Z]of Object.entries(J)){let Q=Z.reduce((W,te)=>W+C(te),0)+l*Math.max(0,Z.length-1);P[q]=Math.max(P[q]??0,Q)}if(I&&H.length){let q=H.reduce((Z,Q)=>Z+C(Q),0)+l*Math.max(0,H.length-1);P.null=Math.max(P.null??0,q)}}let G=new Map;{let K=O.map(q=>(q===null?P.null:P[q])??0),H=-(K.reduce((q,Z)=>q+Z,0)+h*Math.max(0,O.length-1))/2;for(let q=0;qC(ce)),re=z.reduce((ce,le)=>ce+le,0)+l*(W.length-1),ae=te-re/2;for(let[ce,le]of W.entries()){let de=z[ce];b[le]=ae+de/2,v[le]=V+H/2,ae+=de+l}}}let Z=_[K]??0;V+=H+o+Z}let Y=new Map;for(let K of r.edges){let J=K.ref.id;Y.has(J)||Y.set(J,[]),Y.get(J).push(K)}for(let[,K]of Y){if(K.length===0)continue;let J=K[0].ref,H=J.start,q=J.end;if(H==null||q==null)continue;let Z=Math.round(((b[H]??0)+(b[q]??0))/2),Q=new Set;for(let W of K)Q.add(W.src),Q.add(W.dst);for(let W of Q){if(W===H||W===q)continue;r.nodeById.get(W)?.isDummy&&(b[W]=Z)}}return{x:b,y:v}}var IEr=ie(()=>{"use strict";bU();wA();i(MEr,"assignCoordinates")});function OHn(t){let r=2166136261;for(let a=0;a>>0}function PHn(t){let r=t>>>0;return()=>{r+=1831565813;let a=r;return a=Math.imul(a^a>>>15,a|1),a^=a+Math.imul(a^a>>>7,a|61),((a^a>>>14)>>>0)/4294967296}}function BHn(t,r){let a=[...t],o=PHn(r);for(let l=a.length-1;l>0;l--){let h=Math.floor(o()*(l+1));[a[l],a[h]]=[a[h],a[l]]}return a}function FHn(t,r){let a=0;for(let[o,l]of t.entries())a+=Math.abs(o-(r.get(l)??o));return a}function NEr(t,r){let a=new Map;for(let[l,h]of t.entries())a.set(h,l);let o=0;for(let{a:l,b:h,weight:f}of r){let p=a.get(l),m=a.get(h);p==null||m==null||(o+=f*Math.abs(p-m))}return o}function $Hn(t){let r=dxe(t);if(r.length<2)return[];let a=new Map(r.map((h,f)=>[h,f])),o=ly(t),l=new Map;for(let h of t.layout.edges??[]){if(h.isLayoutOnly)continue;let f=typeof h.start=="string"?h.start:void 0,p=typeof h.end=="string"?h.end:void 0;if(!f||!p||!t.nodeById.has(f)||!t.nodeById.has(p))continue;let m=o(f),b=o(p);if(!m||!b||m===b)continue;let v=a.get(m),T=a.get(b);if(v==null||T==null)continue;let[C,E]=v<=T?[m,b]:[b,m],S=`${C}\0${E}`,R=l.get(S);R?R.weight++:l.set(S,{a:C,b:E,weight:1})}return[...l.values()]}function OEr(t,r,a){let o=[...t],l=NEr(o,r),h=!0,f=0,p=Math.max(1,o.length);for(;h&&fl.a===h.a?l.b.localeCompare(h.b):l.a.localeCompare(h.a)).map(({a:l,b:h,weight:f})=>`${l}:${h}:${f}`).join("|");return OHn(`${t.join("|")}#${o}#${a}`)}function PEr(t,r={}){let a=dxe(t);if(a.length<2)return a;let o=$Hn(t);if(o.length===0)return a;let l=new Map(a.map((p,m)=>[p,m])),h=OEr(a,o,l),f=Math.max(0,r.restarts??Iet);for(let p=0;p{"use strict";wA();Iet=8;i(OHn,"hashString");i(PHn,"mulberry32");i(BHn,"deterministicShuffle");i(FHn,"sourceDistance");i(NEr,"laneArrangementCost");i($Hn,"buildWeightedLaneEdges");i(OEr,"greedySwitch");i(GHn,"isBetterCandidate");i(jHn,"seedForRestart");i(PEr,"optimizeTopLaneOrder")});function FEr(t,r){let a=r?.ignoreCrossLaneEdges??!0,o=r?.optimizeRanksByCrossings??!0,l=l2(t),h=r?.automaticLaneOrdering?PEr(l,{restarts:Iet}):void 0,f=tEr(l),p=f.acyclic,m=a?xEr(p,{compactSingleInput:r?.compactSingleInput??SO.DEFAULT_COMPACT_SINGLE_INPUT,ignoreCrossLaneEdges:!0,direction:r?.direction}):vEr(p,{compactSingleInput:r?.compactSingleInput??SO.DEFAULT_COMPACT_SINGLE_INPUT,ignoreCrossLaneEdges:!1,optimizeRanksByCrossings:o}),{layering:b,graphWithDummies:v}=kEr(m,p),T=DEr(b,v,{laneOrder:h}),C=MEr(T,v,{layerGap:r?.layerGap,nodeGap:r?.nodeGap,direction:r?.direction,laneOrder:h});return{acyclic:p,reversed:f.reversed,layering:b,ordered:T,coordinates:C}}var $Er=ie(()=>{"use strict";fS();rEr();wEr();TEr();CEr();_Er();IEr();bU();BEr();i(FEr,"sugiyamaLayout")});function GEr(t,r,a){let o=t.x??0,l=t.y??0,h=r.x-o,f=r.y-l,p=Math.abs(h),m=Math.abs(f);return pjl&&m*3>=p?f>0?"bottom":"top":p>jl?h>0?"right":"left":a}function jEr(t,r){return Math.abs(t.to-r.from)Me.isGroup&&!Me.parentId);for(let Me of b){let Fe={id:Me.id},je=i(He=>{f.set(He.id,Fe),a.filter(nt=>nt.parentId===He.id).forEach(je)},"assignLane");je(Me)}let v=a.filter(Me=>!Me.isGroup&&!Me.isEdgeLabel).map(Me=>{let Fe=Me.width??10,je=Me.height??10,He=Me.x??0,nt=Me.y??0,ze=zHn;return{nodeId:Me.id,minX:He-Fe/2-ze,maxX:He+Fe/2+ze,minY:nt-je/2-ze,maxY:nt+je/2+ze,visualXHalfExtent:m?je/2+ze:Fe/2+ze}}),T=i((Me,Fe,je,He)=>{let nt=p.find(ze=>ze.orientation===Me&&Math.abs(ze.coord-Fe)<1);return nt||(nt={id:`pipe-${Me}-${Fe.toFixed(0)}`,orientation:Me,coord:Fe,spanMin:je,spanMax:He,tracks:[]},p.push(nt)),nt.spanMin=Math.min(nt.spanMin,je),nt.spanMax=Math.max(nt.spanMax,He),nt},"getOrAddPipe"),C=i((Me,Fe)=>{let je=Me.width??10,He=Me.height??10,nt=Me.x??0,ze=Me.y??0;switch(Fe){case"top":return{x:nt,y:ze-He/2};case"bottom":return{x:nt,y:ze+He/2};case"left":return{x:nt-je/2,y:ze};case"right":return{x:nt+je/2,y:ze}}},"portForSide"),E=i((Me,Fe,je)=>C(Me,GEr(Me,Fe,je?"bottom":"top")),"getOrthogonalPort"),S=[],R=[],L=new Set,_=1e3,M=i((Me,Fe,je)=>{if(S.length===0)return 0;let He=Math.abs(Fe.y-je.y)Le||he.from-jl<=se&&he.to+jl>=se&&(ze+=_)}else if(nt){let se=Fe.x,ke=Math.min(Fe.y,je.y)-jl,Le=Math.max(Fe.y,je.y)+jl;if(Le<=ke)return 0;for(let he of S)he.edgeIndex===Me||he.orientation!=="horizontal"||he.pipe.coordLe||he.from-jl<=se&&he.to+jl>=se&&(ze+=_)}return ze},"crossingPenalty"),I=l.map((Me,Fe)=>{if(!Me.start||!Me.end)return{idx:Fe,crossLane:0,dx:0,dy:0};let je=h.get(Me.start),He=h.get(Me.end),nt=f.get(Me.start),ze=f.get(Me.end),se=nt&&ze&&nt.id!==ze.id?1:0,ke=je&&He?Math.abs((He.x??0)-(je.x??0)):0,Le=je&&He?Math.abs((He.y??0)-(je.y??0)):0;return{idx:Fe,crossLane:se,dx:ke,dy:Le}}).sort((Me,Fe)=>{if(Me.crossLane!==Fe.crossLane)return Fe.crossLane-Me.crossLane;let je=Me.dx+Me.dy,He=Fe.dx+Fe.dy;return Math.abs(je-He)>1?je-He:Me.idx-Fe.idx}).map(Me=>Me.idx),F=i((Me,Fe,je,He)=>{let nt=Math.min(Me.x,Fe.x),ze=Math.max(Me.x,Fe.x),se=Math.min(Me.y,Fe.y),ke=Math.max(Me.y,Fe.y);return!!v.find(he=>je&&he.nodeId===je||He&&he.nodeId===He?!1:Math.abs(Me.x-Fe.x)>jl?he.minYMe.y&&he.maxX>nt&&he.minXMe.x&&he.maxY>se&&he.minYGEr(Me,Fe,"bottom"),"determineSide"),V=new Map;for(let[Me,Fe]of l.entries()){if(!Fe.start||!Fe.end||Fe.start===Fe.end||Fe.points&&Fe.points.length>0)continue;let je=h.get(Fe.start),He=h.get(Fe.end);if(!je||!He)continue;let nt=(He.x??0)-(je.x??0),ze=(He.y??0)-(je.y??0);V.set(Me,{edgeIdx:Me,srcId:Fe.start,dstId:Fe.end,srcSide:G(je,{x:He.x??0,y:He.y??0}),dstSide:G(He,{x:je.x??0,y:je.y??0}),absDx:Math.abs(nt),absDy:Math.abs(ze),dxSign:Math.sign(nt),dySign:Math.sign(ze)})}let Y=i(Me=>Me.srcSide==="top"||Me.srcSide==="bottom"?Me.absDx===0?1/0:Me.absDy/Me.absDx:Me.absDy===0?1/0:Me.absDx/Me.absDy,"preferenceStrength"),K=i(Me=>Me.srcSide==="top"||Me.srcSide==="bottom"?Me.dxSign>=0?"right":"left":Me.dySign>=0?"bottom":"top","secondarySide"),J=new Map;for(let Me of V.values()){let Fe=`${Me.srcId}:${Me.srcSide}`;J.has(Fe)||J.set(Fe,[]),J.get(Fe).push(Me)}let H=new Map,q=i((Me,Fe)=>`${Me}:${Fe}`,"loadKey");for(let Me of V.values())H.set(q(Me.srcId,Me.srcSide),(H.get(q(Me.srcId,Me.srcSide))??0)+1),H.set(q(Me.dstId,Me.dstSide),(H.get(q(Me.dstId,Me.dstSide))??0)+1);for(let Me of J.values())if(!(Me.length<2)){Me.sort((Fe,je)=>{let He=Y(Fe),nt=Y(je);return Math.abs(He-nt)>1e-9?nt-He:Fe.edgeIdx-je.edgeIdx});for(let Fe=1;Fe=nt||(H.set(q(je.srcId,je.srcSide),nt-1),H.set(q(je.srcId,He),ze+1),je.srcSide=He)}}let Z=i(Me=>{let Fe=Me?.shape;return Fe==="question"||Fe==="diamond"},"isDiamondNode"),Q=new Map;for(let Me of V.values())Q.has(Me.dstId)||Q.set(Me.dstId,new Set),Q.get(Me.dstId).add(Me.dstSide);for(let Me of V.values()){if(!Z(h.get(Me.srcId)))continue;let Fe=Q.get(Me.srcId);if(!Fe?.has(Me.srcSide))continue;let je=K(Me);if(Fe.has(je)||(H.get(q(Me.srcId,je))??0)>0)continue;let He=H.get(q(Me.srcId,Me.srcSide))??0;H.set(q(Me.srcId,Me.srcSide),Math.max(0,He-1)),H.set(q(Me.srcId,je),1),Me.srcSide=je}for(let Me of V.values()){let{edgeIdx:Fe,srcId:je,dstId:He,srcSide:nt,dstSide:ze}=Me,se=h.get(je),ke=h.get(He),Le=`${je}:${nt}:src`,he=nt==="top"||nt==="bottom"?ke.x??0:ke.y??0;O.has(Le)||O.set(Le,[]),O.get(Le).push({edgeIdx:Fe,oppositeCoord:he});let Ne=`${He}:${ze}:dst`,Ee=ze==="top"||ze==="bottom"?se.x??0:se.y??0;O.has(Ne)||O.set(Ne,[]),O.get(Ne).push({edgeIdx:Fe,oppositeCoord:Ee})}let W=new Map,te=8;for(let[Me,Fe]of O){if(Fe.length<2)continue;Fe.sort((it,lt)=>it.oppositeCoord-lt.oppositeCoord);let je=Me.split(":"),He=je.slice(0,-2).join(":"),nt=je[je.length-2],ze=je[je.length-1],se=h.get(He);if(!se)continue;let Le=nt==="left"||nt==="right"?se.height??10:se.width??10,he=se.shape,Ee=he==="question"||he==="diamond"?Le*.3:Le,be=Math.min(20,Math.max(te,Ee/(Fe.length+1))),Je=-(be*(Fe.length-1))/2;for(let[it,lt]of Fe.entries()){let Vt=Je+it*be,$t=`${lt.edgeIdx}:${ze}`;W.set($t,Vt)}}let z=i(Me=>!!l[Me]?.labelNodeId,"edgeHasLabelNode"),re=i((Me,Fe)=>Me?(O.get(`${Me}:${Fe}:src`)??[]).some(({edgeIdx:je})=>z(je))||(O.get(`${Me}:${Fe}:dst`)??[]).some(({edgeIdx:je})=>z(je)):!1,"faceHasLabelNode"),ae=i((Me,Fe,je)=>Fe==="top"||Fe==="bottom"?{x:Me.x+je,y:Me.y}:{x:Me.x,y:Me.y+je},"applyPortOffset"),ce=i((Me,Fe,je)=>{let He=V.get(Me),nt={x:je.x??0,y:je.y??0},ze={x:Fe.x??0,y:Fe.y??0},se=He?.srcSide??G(Fe,nt),ke=He?.dstSide??G(je,ze),Le=He?C(Fe,He.srcSide):E(Fe,nt,!0),he=He?C(je,He.dstSide):E(je,ze,!1),Ne=W.get(`${Me}:src`),Ee=W.get(`${Me}:dst`);return Ne!==void 0&&(Le=ae(Le,se,Ne)),Ee!==void 0&&(he=ae(he,ke,Ee)),{pSrcPort:Le,pDstPort:he,srcSide:se,dstSide:ke}},"portsForEdge");for(let Me of I){let Fe=l[Me];if(R[Me]=[],!Fe.start||!Fe.end||Fe.points&&Fe.points.length>0||Fe.start===Fe.end)continue;let je=h.get(Fe.start),He=h.get(Fe.end);if(!je||!He)continue;let{pSrcPort:nt,pDstPort:ze,srcSide:se,dstSide:ke}=ce(Me,je,He),Le={...nt},he={...ze},Ne=se==="top"||se==="bottom",Ee=ke==="top"||ke==="bottom";if(Ne){let vr=nt.y>(je.y??0);Le.y=vr?nt.y+ak:nt.y-ak}else{let vr=nt.x>(je.x??0);Le.x=vr?nt.x+ak:nt.x-ak}if(Ee){let vr=ze.y>(He.y??0);he.y=vr?ze.y+ak:ze.y-ak}else{let vr=ze.x>(He.x??0);he.x=vr?ze.x+ak:ze.x-ak}let ye=i((vr,an)=>{for(let Dn of v)if(!an.includes(Dn.nodeId)&&vr.x>Dn.minX&&vr.xDn.minY&&vr.y{if(Gi){let aa=vr.y>(an.y??0);return{x:(Dn.x??0)>=vr.x?Ni.maxX+AO:Ni.minX-AO,y:aa?Ni.maxY+vU:Ni.minY-vU,leavesPositiveSide:aa}}let va=vr.x>(an.x??0),Ua=(Dn.y??0)>=vr.y;return{x:va?Ni.maxX+AO:Ni.minX-AO,y:Ua?Ni.maxY+vU:Ni.minY-vU,leavesPositiveSide:va}},"obstacleDetour"),ht=[],Je=[Fe.start,Fe.end],it=ye(Le,Je);if(it.inside&&it.obstacle){let vr=it.obstacle;if(Ne){let an=be(nt,je,He,vr,!0);Le.x=an.x,Le.y=an.y;let Dn=an.leavesPositiveSide?Math.min(vr.minY-2,nt.y+ak):Math.max(vr.maxY+2,nt.y-ak);ht=[{x:nt.x,y:Dn},{x:an.x,y:Dn},{x:an.x,y:an.y}]}else{let an=be(nt,je,He,vr,!1),Dn=an.leavesPositiveSide?Math.min(vr.minX-2,nt.x+ak):Math.max(vr.maxX+2,nt.x-ak);Le.x=an.x,Le.y=an.y,ht=[{x:Dn,y:nt.y},{x:Dn,y:an.y},{x:an.x,y:an.y}]}}let lt=[],Vt=ye(he,Je);if(Vt.inside&&Vt.obstacle){let vr=Vt.obstacle;if(Ee){let an=be(ze,He,je,vr,!0);he.x=an.x,he.y=an.y,lt=[{x:an.x,y:an.y},{x:ze.x,y:an.y}]}else{let an=be(ze,He,je,vr,!1);he.x=an.x,he.y=an.y,lt=[{x:an.x,y:an.y},{x:an.x,y:ze.y}]}}if(ht.length===0&<.length===0){let vr=AO,an=Math.abs(Le.x-he.x)1||va>1,aa=P.get(Fe.start??"")??0,Yn=P.get(Fe.end??"")??0,kn=Gi>1&&re(Fe.start,se)||va>1&&re(Fe.end,ke),ci=Gi<=1||aa<=2,Mi=va<=1||Yn<=2;if((an||Dn)&&!Ni&&(!Ua||Ua&&!kn&&ci&&Mi)&&!F(nt,ze,Fe.start,Fe.end)){Fe.points=[{...nt},{...Le},{...he},{...ze}],L.add(Me);let wt=Dn?"horizontal":"vertical",fl=Dn?nt.y:nt.x,Pt=Dn?Math.min(nt.x,ze.x):Math.min(nt.y,ze.y),is=Dn?Math.max(nt.x,ze.x):Math.max(nt.y,ze.y),ia={id:`fast-path-${wt}-${fl.toFixed(0)}-${Me}`,orientation:wt,coord:fl,spanMin:Pt,spanMax:is,tracks:[]};S.push({edgeIndex:Me,segmentIndex:0,orientation:wt,pipe:ia,trackIndex:0,from:Pt,to:is});continue}}let $t=T("vertical",Le.x,Le.y,Le.y);Le.x=$t.coord;let gr=T("vertical",he.x,he.y,he.y);he.x=gr.coord;let jt=Math.min(Le.x,he.x)-50,qt=Math.max(Le.x,he.x)+50,Wt=Math.min(Le.y,he.y)-50,Ut=Math.max(Le.y,he.y)+50;for(let vr of v){let an=Math.min(Le.x,he.x),Dn=Math.max(Le.x,he.x),Ni=Math.min(Le.y,he.y),Gi=Math.max(Le.y,he.y);vr.minXan&&vr.minYNi&&(jt=Math.min(jt,vr.minX-gxe),qt=Math.max(qt,vr.maxX+gxe),Wt=Math.min(Wt,vr.minY-gxe),Ut=Math.max(Ut,vr.maxY+gxe))}for(let vr of v){if(vr.maxXqt||vr.maxYUt)continue;let an=AO;T("horizontal",vr.minY-an,jt,qt),T("horizontal",vr.maxY+an,jt,qt);let Dn=vU;T("vertical",vr.minX-Dn,Wt,Ut),T("vertical",vr.maxX+Dn,Wt,Ut)}T("horizontal",Le.y,jt,qt),T("horizontal",he.y,jt,qt);let rn=p.filter(vr=>vr.orientation==="horizontal"&&vr.coord>=Wt&&vr.coord<=Ut),pt=p.filter(vr=>vr.orientation==="vertical"&&vr.coord>=jt&&vr.coord<=qt),$n=i((vr,an)=>`${vr.toFixed(1)},${an.toFixed(1)}`,"getKey"),Gt=$n(Le.x,Le.y),Rn=$n(he.x,he.y),Qn=new Map,En=new Map,di=new Map,Bn=new Set,mi=[];Qn.set(Gt,0),di.set(Gt,"n"),mi.push({key:Gt,f:Math.hypot(he.x-Le.x,he.y-Le.y),pt:Le}),Bn.add(Gt);let Qr=[],Pi=i((vr,an)=>F(vr,an,Fe.start,Fe.end),"checkSegmentBlocked"),qa={x:he.x,y:Le.y},Ke=Pi(Le,qa),Tn=Pi(qa,he),Ln=Ke||Tn,dt={x:Le.x,y:he.y},rr=Pi(Le,dt),Yr=Pi(dt,he);if(Ln?rr||Yr||(Math.abs(Le.x-he.x)0;){mi.sort((Yn,kn)=>Yn.f-kn.f);let vr=mi.shift();if(Bn.delete(vr.key),vr.key===Rn){let Yn=Rn,kn=he;for(Qr=[kn];En.has(Yn);){let ci=En.get(Yn);Qr.unshift(ci),kn=ci,Yn=$n(ci.x,ci.y)}break}let an=vr.pt.x,Dn=vr.pt.y,Ni=pt.sort((Yn,kn)=>Yn.coord-kn.coord),Gi=Ni.findIndex(Yn=>Math.abs(Yn.coord-an)<1),va=rn.sort((Yn,kn)=>Yn.coord-kn.coord),Ua=va.findIndex(Yn=>Math.abs(Yn.coord-Dn)<1),aa=[];Gi>0&&aa.push({x:Ni[Gi-1].coord,y:Dn}),Gi>=0&&Gi0&&aa.push({x:an,y:va[Ua-1].coord}),Ua>=0&&UaNt.nodeId===Fe.start||Nt.nodeId===Fe.end?!1:kn!==ci?Nt.minYDn&&Nt.maxX>kn&&Nt.minXan&&Nt.maxY>Mi&&Nt.minY10&&Mr<-5||Wa<-10&&Mr>5)&&(is=Math.abs(Mr)*100),(ia>10&&Ss<-5||ia<-10&&Ss>5)&&(is+=Math.abs(Ss)*50);let hc=0,st=di.get(vr.key)??"n",eo=Math.abs(Ss)>jl?"h":"v";st!=="n"&&st!==eo&&(hc=50);let ut=fl+Pt+is+hc,dl=(Qn.get(vr.key)??1/0)+ut,Ii=Math.abs(he.x-Yn.x)+Math.abs(he.y-Yn.y);if(dl<(Qn.get(wt)??1/0))if(En.set(wt,vr.pt),Qn.set(wt,dl),di.set(wt,eo),!Bn.has(wt))mi.push({key:wt,f:dl+Ii,pt:Yn}),Bn.add(wt);else{let Nt=mi.findIndex(Ur=>Ur.key===wt);Nt!==-1&&(mi[Nt].f=dl+Ii)}}}if(Qr.length===0&&(Qr=[Le,{x:Le.x,y:he.y},he]),Qr.length>4){let vr=Qr[0],an=Qr[Qr.length-1],Dn=Math.min(vr.x,an.x),Ni=Math.max(vr.x,an.x),Gi=Math.min(vr.y,an.y),va=Math.max(vr.y,an.y);for(let Mi of Qr)Dn=Math.min(Dn,Mi.x),Ni=Math.max(Ni,Mi.x),Gi=Math.min(Gi,Mi.y),va=Math.max(va,Mi.y);let Ua=Ni>Math.max(vr.x,an.x),aa=DnPt.minXjn&&Pt.minYpa);if(fl.length>0){let Pt=Math.max(vr.x,an.x);for(let is of fl){let ia=(is.minX+is.maxX)/2;if(is.visualXHalfExtent===void 0||isNaN(is.visualXHalfExtent))continue;let Wa=ia+is.visualXHalfExtent+Mi;Pt=Math.max(Pt,Wa)}isNaN(Pt)||(Ni=Pt)}}if(aa){let jn=v.filter(pa=>pa.minXMath.min(vr.y,an.y));if(jn.length>0){let pa=Math.min(vr.x,an.x);for(let wt of jn){let Pt=(wt.minX+wt.maxX)/2-wt.visualXHalfExtent-Mi;pa=Math.min(pa,Pt)}Dn=pa}}}let Yn=i(Mi=>{let jn=an.y>vr.y,pa=v.filter(Pt=>{let is=Math.min(vr.x,an.x)Pt.minX,ia=Math.min(vr.y,an.y)Pt.minY;return is&&ia}),wt=pa;if(m&&pa.length>0){let Pt=pa.filter(is=>is.minXMi);Pt.length>0&&(wt=Pt)}if(wt.length===0)return an.y;let fl=AO;if(jn){let is=Math.max(...wt.map(ia=>ia.maxY))+fl;if(isia.minY))-fl;if(is>an.y+jl)return is}return an.y},"findBestReturnY"),kn=i(Mi=>{let jn=Yn(Mi),pa={x:Mi,y:vr.y},wt={x:Mi,y:jn},fl={x:an.x,y:jn},Pt=Pi(vr,pa),is=Pi(pa,wt),ia=Pi(wt,fl),Wa=jn!==an.y?Pi(fl,an):!1;return!Pt&&!is&&!ia&&!Wa?Math.abs(jn-an.y)=3){let vr=Cn[Cn.length-1],an=Cn[Cn.length-2],Dn=Cn[Cn.length-3],Ni=Math.abs(Dn.y-an.y)Math.abs(vr.x-Dn.x)&&Cn.splice(-2,1)}else if(Gi){let va=Math.sign(an.y-Dn.y),Ua=Math.sign(vr.y-Dn.y);va!==0&&va===Ua&&Math.abs(an.y-Dn.y)>Math.abs(vr.y-Dn.y)&&Cn.splice(-2,1)}}let es=[Cn[0]];for(let vr=1;vran.x,va=Ni.x>Dn.x;if(Gi!==va){es.push(Dn);continue}continue}if(Math.abs(an.x-Dn.x)an.y,va=Ni.y>Dn.y;if(Gi!==va){es.push(Dn);continue}continue}es.push(Dn)}es.push(Cn[Cn.length-1]);for(let vr=0;vrMe.from{let nt=!He.segments.some(se=>(se.edgeIndex!==Fe.edgeIndex||se.segmentIndex!==Fe.segmentIndex)&&le(se,Me)),ze=!je.segments.some(se=>(se.edgeIndex!==Me.edgeIndex||se.segmentIndex!==Me.segmentIndex)&&le(se,Fe));return nt&&ze?(Me.trackIndex=He.index,Fe.trackIndex=je.index,je.segments=[...je.segments.filter(se=>se.edgeIndex!==Me.edgeIndex||se.segmentIndex!==Me.segmentIndex),{edgeIndex:Fe.edgeIndex,segmentIndex:Fe.segmentIndex,from:Fe.from,to:Fe.to}],He.segments=[...He.segments.filter(se=>se.edgeIndex!==Fe.edgeIndex||se.segmentIndex!==Fe.segmentIndex),{edgeIndex:Me.edgeIndex,segmentIndex:Me.segmentIndex,from:Me.from,to:Me.to}],!0):!1},"trySwapSegmentsAcrossTracks"),ve=i(Me=>{let Fe=Me.tracks.length;return Me.tracks[Fe]={index:Fe,coord:Me.coord,segments:[]},Fe},"createNewTrack"),Se=i((Me,Fe)=>{let je=Me.pipe.tracks[Me.trackIndex];je.segments=je.segments.filter(nt=>nt.edgeIndex!==Me.edgeIndex||nt.segmentIndex!==Me.segmentIndex),Me.trackIndex=Fe,Me.pipe.tracks[Fe].segments.push({edgeIndex:Me.edgeIndex,segmentIndex:Me.segmentIndex,from:Me.from,to:Me.to})},"moveSegmentToTrack"),_e=i((Me,Fe)=>{let je=R[Me.edgeIndex];for(let He of je){let nt=S[He];nt.pipe===Me.pipe&&Se(nt,Fe)}},"moveSegmentChainToTrack"),Ce=i(Me=>{let Fe=R[Me.edgeIndex],je=Fe.indexOf(S.indexOf(Me)),He=[];return je>0&&He.push(S[Fe[je-1]]),je{if(Me.orientation===Fe.orientation)return!1;let je=Me.orientation==="horizontal"?Me:Fe,He=Me.orientation==="horizontal"?Fe:Me;return He.pipe.coord>je.from&&He.pipe.coordHe.from&&je.pipe.coord{for(let je of Me.tracks)if(!je.segments.some(nt=>(nt.edgeIndex!==Fe.edgeIndex||nt.segmentIndex!==Fe.segmentIndex)&&le(nt,Fe)))return je.index;return-1},"findAvailableTrack"),qe=i((Me,Fe)=>{if(Me.trackIndex===Fe.trackIndex)return le(Me,Fe);let je=Ce(Me),He=Ce(Fe);return je.some(nt=>He.some(ze=>Ve(nt,ze)))},"segmentsConflict"),Ue=i((Me,Fe,je)=>{if(de(Me,Fe,Me.pipe.tracks[Me.trackIndex],Fe.pipe.tracks[Fe.trackIndex]))return;let He=De(Me.pipe,Fe);je(Fe,He!==-1?He:ve(Me.pipe))},"resolveTrackConflict"),We=i(Me=>{let Fe=0;for(let je=0;je{if(mt.has(Me))return mt.get(Me);let Fe=R[Me];if(Fe.length===0){let ke={dest:0,deviation:0,base:0,delta:0};return mt.set(Me,ke),ke}let He=S[Fe[0]].pipe.coord,nt=He;for(let ke=1;keMath.abs(Ne-He)?he:Ne;break}}let ze=Math.abs(nt-He),se={dest:nt,deviation:ze,base:He,delta:nt-He};return mt.set(Me,se),se},"getDestInfo"),Ot=i(()=>{let Me=0,Fe=new Map;for(let[He,nt]of l.entries())R[He].length!==0&&nt.start&&(Fe.has(nt.start)||Fe.set(nt.start,[]),Fe.get(nt.start).push(He));let je=i(He=>{let nt=l[He];if(!nt.start||!nt.end)return 0;let ze=h.get(nt.start),se=h.get(nt.end);if(!ze||!se)return 0;let ke=(se.x??0)-(ze.x??0),Le=(se.y??0)-(ze.y??0);return Math.abs(ke)+Math.abs(Le)},"getEdgeDistance");for(let He of Fe.values()){He.sort((ze,se)=>{let ke=ct(ze),Le=ct(se);if(Math.abs(ke.deviation-Le.deviation)>1)return ke.deviation-Le.deviation;if(Math.abs(ke.dest-Le.dest)>1)return ke.dest-Le.dest;let he=je(ze),Ne=je(se);if(Math.abs(he-Ne)>1)return Ne-he;let Ee=R[ze].length,ye=R[se].length;if(Ee!==ye)return Ee-ye;if(Ee===1){let be=R[ze][0],ht=R[se][0];if(S[be]&&S[ht]){let Je=S[be],it=S[ht],lt=Math.abs(Je.to-Je.from),Vt=Math.abs(it.to-it.from);if(Math.abs(lt-Vt)>1)return lt-Vt}}return 0});let nt=He.map(ze=>S[R[ze][0]]);Me+=We(nt)}return Me},"fixSourceHandleCrossings"),yr=i(()=>{let Me=0,Fe=new Map;for(let[je,He]of l.entries())R[je].length!==0&&He.end&&(Fe.has(He.end)||Fe.set(He.end,[]),Fe.get(He.end).push(je));for(let je of Fe.values()){je.sort((nt,ze)=>{let se=i(he=>{let Ne=R[he];if(Ne.length<2)return 0;let Ee=S[Ne[Ne.length-2]];return Math.abs(Ee.to-Ee.from)},"getDist"),ke=se(nt),Le=se(ze);return Math.abs(ke-Le)>.1?ke-Le:nt-ze});let He=je.map(nt=>S[R[nt][R[nt].length-1]]);Me+=We(He)}return Me},"fixTargetHandleCrossings"),tr=i(()=>{let Me=0;for(let Fe of p){let je=[];for(let He of Fe.tracks)for(let nt of He.segments){let ze=R[nt.edgeIndex].find(se=>S[se].segmentIndex===nt.segmentIndex);ze!==void 0&&je.push(S[ze])}je.sort((He,nt)=>He.edgeIndex-nt.edgeIndex||He.segmentIndex-nt.segmentIndex);for(let He=0;He{He.segments.forEach(nt=>{Fe.push({edgeIndex:nt.edgeIndex,segmentIndex:nt.segmentIndex,trackIndex:He.index,from:nt.from,to:nt.to})})}),Fe.sort((He,nt)=>He.from-nt.from);let je=[];if(Fe.length>0){let He=[Fe[0]],nt=Fe[0].to;for(let ze=1;zent.add(be.trackIndex));let ze=new Map;He.forEach(be=>{let ht=ct(be.edgeIndex);ze.set(be.trackIndex,(ze.get(be.trackIndex)??0)+ht.delta)});let se=[...nt].filter(be=>(ze.get(be)??0)<-1),ke=[...nt].filter(be=>(ze.get(be)??0)>1),Le=[...nt].filter(be=>Math.abs(ze.get(be)??0)<=1);se.sort((be,ht)=>(ze.get(ht)??0)-(ze.get(be)??0)),ke.sort((be,ht)=>(ze.get(be)??0)-(ze.get(ht)??0));let he=i((be,ht)=>{He.filter(Je=>Je.trackIndex===be).forEach(Je=>{let it=L.has(Je.edgeIndex)?Me.coord:ht;ft.set(`${Je.edgeIndex}-${Je.segmentIndex}`,it)})},"assignCoord"),Ne=0;for(let be of se)Ne++,he(be,Me.coord-Ne*Net);if(Le.length===0&&nt.size>0){let be=[...nt].sort((it,lt)=>Math.abs(ze.get(it)??0)-Math.abs(ze.get(lt)??0))[0],ht=se.indexOf(be);ht!==-1&&se.splice(ht,1);let Je=ke.indexOf(be);Je!==-1&&ke.splice(Je,1),Le.push(be)}let Ee=0;for(let be of Le){if(Ee===0)he(be,Me.coord);else{let ht=Ee%2===1?1:-1,Je=Math.ceil(Ee/2);he(be,Me.coord+ht*Je*Net*.5)}Ee++}let ye=0;for(let be of ke)ye++,he(be,Me.coord+ye*Net)}}for(let[Me,Fe]of l.entries()){let je=R[Me]??[];if(je.length===0)continue;let He=[],nt=h.get(Fe.start),ze=h.get(Fe.end),{pSrcPort:se,pDstPort:ke}=ce(Me,nt,ze),Le=je.map(Ee=>{let ye=S[Ee],be=ft.get(`${ye.edgeIndex}-${ye.segmentIndex}`)??ye.pipe.coord;return{orient:ye.orientation,coord:be,from:ye.from,to:ye.to}});He.push(se);for(let Ee=0;Eejl&&He.push(wU(ye,ht)),lt&&it.orient===ye.orient)if(Math.abs(ye.coord-it.coord)>jl){let Vt=ye.orient==="vertical"?(ht+it.from)/2:jEr(ye,it);He.push(wU(ye,Vt),wU(it,Vt))}else(Ee===0||Ee===Le.length-2)&&He.push(wU(ye,jEr(ye,it)));else if(lt)He.push(wU(ye,it.coord));else{let Vt=Math.abs(ye.from-ht)jl||Math.abs(he.y-ke.y)>jl)&&He.push(ke);let Ne=[];He.length>0&&Ne.push(He[0]);for(let Ee=1;Eejl||Math.abs(ye.y-be.y)>jl)&&Ne.push(ye)}Fe.points=Ne}for(let Me of l){let Fe=Me.__originalEdge;Fe&&Me.points&&(Fe.points=Me.points)}t.edges=(t.edges??[]).filter(Me=>!Me.isLayoutOnly);let bt=i((Me,Fe)=>{let je=Fe.x??0,He=Fe.y??0,nt=Fe.width??0,ze=Fe.height??0;if(nt<=0||ze<=0)return Me;let se=je-nt/2,ke=je+nt/2,Le=He-ze/2,he=He+ze/2;if(Me.xke||Me.yhe)return Me;let Ne=Me.x-se,Ee=ke-Me.x,ye=Me.y-Le,be=he-Me.y,ht=Math.min(Ne,Ee,ye,be);return ht===Ne?{x:se,y:Me.y}:ht===Ee?{x:ke,y:Me.y}:ht===ye?{x:Me.x,y:Le}:{x:Me.x,y:he}},"nodeBoundaryClamp");for(let Me of t.edges){let Fe=Me.points;if(!Fe||Fe.length<2)continue;let je=Me.start,He=Me.end,nt=je?h.get(je):void 0,ze=He?h.get(He):void 0;nt&&(Fe[0]=bt(Fe[0],nt)),ze&&(Fe[Fe.length-1]=bt(Fe[Fe.length-1],ze))}return t}var jl,zHn,AO,vU,gxe,ak,Net,UEr=ie(()=>{"use strict";bU();jl=nEr.EPSILON,zHn=8,AO=15,vU=15,gxe=25,ak=20,Net=10;i(GEr,"chooseOrthogonalSide");i(jEr,"sharedLineEndpointCoord");i(wU,"pointOnLine");i(zEr,"routeEdgesOrthogonal")});function UHn(t){return t.direction??"TB"}function VEr(t){let r=tCr(t),a=t.config.flowchart?.nodeSpacing??40,o=t.config.flowchart?.rankSpacing??100,l=t.config.swimlane?.ignoreCrossLaneEdges??!0,h=t.config.swimlane?.optimizeRanksByCrossings??!0,f=t.config.swimlane?.automaticLaneOrdering??!1,p=UHn(t),{ordered:m,coordinates:b}=FEr(r,{nodeGap:a,layerGap:o,ignoreCrossLaneEdges:l,optimizeRanksByCrossings:h,automaticLaneOrdering:f,direction:p});rCr(r,m,b,{nodeGap:a,layerGap:o});for(let v of t.edges??[])delete v.points;zEr(t,p);for(let v of t.edges??[])(!v.curve||v.curve==="basis")&&(v.curve="rounded");return ZCr(t,p),Eet(t),p}var HEr=ie(()=>{"use strict";eEr();uet();$Er();UEr();i(UHn,"getSwimlaneDirection");i(VEr,"runSwimlaneLayoutCore")});var qEr={};cs(qEr,{render:()=>HHn});function VHn(t){eCr(t);let r=nCr(t);t.nodes=r.nodes,t.edges=r.edges}var HHn,WEr=ie(()=>{"use strict";zwe();J4r();uet();iCr();HEr();i(VHn,"prepareSwimlaneLayout");HHn=fU({prepareLayout:VHn,runLayoutCore:VEr,afterPaint:Q4r})});function hrt(t,r){(r==null||r>t.length)&&(r=t.length);for(var a=0,o=Array(r);a=t.length?{done:!0}:{done:!1,value:t[o++]}},"n"),e:i(function(m){throw m},"e"),f:l}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var h,f=!0,p=!1;return{s:i(function(){a=a.call(t)},"s"),n:i(function(){var m=a.next();return f=m.done,m},"n"),e:i(function(m){p=!0,h=m},"e"),f:i(function(){try{f||a.return==null||a.return()}finally{if(p)throw h}},"f")}}function T6r(t,r,a){return(r=k6r(r))in t?Object.defineProperty(t,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[r]=a,t}function KHn(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function XHn(t,r){var a=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(a!=null){var o,l,h,f,p=[],m=!0,b=!1;try{if(h=(a=a.call(t)).next,r===0){if(Object(a)!==a)return;m=!1}else for(;!(m=(o=h.call(a)).done)&&(p.push(o.value),p.length!==r);m=!0);}catch(v){b=!0,l=v}finally{try{if(!m&&a.return!=null&&(f=a.return(),Object(f)!==f))return}finally{if(b)throw l}}return p}}function QHn(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function JHn(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Mg(t,r){return qHn(t)||XHn(t,r)||_rt(t,r)||QHn()}function Gxe(t){return WHn(t)||KHn(t)||_rt(t)||JHn()}function ZHn(t,r){if(typeof t!="object"||!t)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var o=a.call(t,r);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}function k6r(t){var r=ZHn(t,"string");return typeof r=="symbol"?r:r+""}function T0(t){"@babel/helpers - typeof";return T0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},T0(t)}function _rt(t,r){if(t){if(typeof t=="string")return hrt(t,r);var a={}.toString.call(t).slice(8,-1);return a==="Object"&&t.constructor&&(a=t.constructor.name),a==="Map"||a==="Set"?Array.from(t):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?hrt(t,r):void 0}}function Ane(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Rne(){if(XEr)return Oet;XEr=1;function t(r){var a=typeof r;return r!=null&&(a=="object"||a=="function")}return i(t,"isObject"),Oet=t,Oet}function Tqn(){if(QEr)return Pet;QEr=1;var t=typeof mxe=="object"&&mxe&&mxe.Object===Object&&mxe;return Pet=t,Pet}function tTe(){if(JEr)return Bet;JEr=1;var t=Tqn(),r=typeof self=="object"&&self&&self.Object===Object&&self,a=t||r||Function("return this")();return Bet=a,Bet}function kqn(){if(ZEr)return Fet;ZEr=1;var t=tTe(),r=i(function(){return t.Date.now()},"now");return Fet=r,Fet}function Cqn(){if(eSr)return $et;eSr=1;var t=/\s/;function r(a){for(var o=a.length;o--&&t.test(a.charAt(o)););return o}return i(r,"trimmedEndIndex"),$et=r,$et}function Eqn(){if(tSr)return Get;tSr=1;var t=Cqn(),r=/^\s+/;function a(o){return o&&o.slice(0,t(o)+1).replace(r,"")}return i(a,"baseTrim"),Get=a,Get}function Nrt(){if(rSr)return jet;rSr=1;var t=tTe(),r=t.Symbol;return jet=r,jet}function Sqn(){if(nSr)return zet;nSr=1;var t=Nrt(),r=Object.prototype,a=r.hasOwnProperty,o=r.toString,l=t?t.toStringTag:void 0;function h(f){var p=a.call(f,l),m=f[l];try{f[l]=void 0;var b=!0}catch{}var v=o.call(f);return b&&(p?f[l]=m:delete f[l]),v}return i(h,"getRawTag"),zet=h,zet}function Aqn(){if(iSr)return Uet;iSr=1;var t=Object.prototype,r=t.toString;function a(o){return r.call(o)}return i(a,"objectToString"),Uet=a,Uet}function M6r(){if(aSr)return Vet;aSr=1;var t=Nrt(),r=Sqn(),a=Aqn(),o="[object Null]",l="[object Undefined]",h=t?t.toStringTag:void 0;function f(p){return p==null?p===void 0?l:o:h&&h in Object(p)?r(p):a(p)}return i(f,"baseGetTag"),Vet=f,Vet}function Rqn(){if(sSr)return Het;sSr=1;function t(r){return r!=null&&typeof r=="object"}return i(t,"isObjectLike"),Het=t,Het}function Lne(){if(oSr)return qet;oSr=1;var t=M6r(),r=Rqn(),a="[object Symbol]";function o(l){return typeof l=="symbol"||r(l)&&t(l)==a}return i(o,"isSymbol"),qet=o,qet}function Lqn(){if(lSr)return Wet;lSr=1;var t=Eqn(),r=Rne(),a=Lne(),o=NaN,l=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,f=/^0o[0-7]+$/i,p=parseInt;function m(b){if(typeof b=="number")return b;if(a(b))return o;if(r(b)){var v=typeof b.valueOf=="function"?b.valueOf():b;b=r(v)?v+"":v}if(typeof b!="string")return b===0?b:+b;b=t(b);var T=h.test(b);return T||f.test(b)?p(b.slice(2),T?2:8):l.test(b)?o:+b}return i(m,"toNumber"),Wet=m,Wet}function Dqn(){if(cSr)return Yet;cSr=1;var t=Rne(),r=kqn(),a=Lqn(),o="Expected a function",l=Math.max,h=Math.min;function f(p,m,b){var v,T,C,E,S,R,L=0,_=!1,M=!1,I=!0;if(typeof p!="function")throw new TypeError(o);m=a(m)||0,t(b)&&(_=!!b.leading,M="maxWait"in b,C=M?l(a(b.maxWait)||0,m):C,I="trailing"in b?!!b.trailing:I);function F(q){var Z=v,Q=T;return v=T=void 0,L=q,E=p.apply(Q,Z),E}i(F,"invokeFunc");function O(q){return L=q,S=setTimeout(V,m),_?F(q):E}i(O,"leadingEdge");function P(q){var Z=q-R,Q=q-L,W=m-Z;return M?h(W,C-Q):W}i(P,"remainingWait");function G(q){var Z=q-R,Q=q-L;return R===void 0||Z>=m||Z<0||M&&Q>=C}i(G,"shouldInvoke");function V(){var q=r();if(G(q))return Y(q);S=setTimeout(V,P(q))}i(V,"timerExpired");function Y(q){return S=void 0,I&&v?F(q):(v=T=void 0,E)}i(Y,"trailingEdge");function K(){S!==void 0&&clearTimeout(S),L=0,v=R=T=S=void 0}i(K,"cancel");function J(){return S===void 0?E:Y(r())}i(J,"flush");function H(){var q=r(),Z=G(q);if(v=arguments,T=this,R=q,Z){if(S===void 0)return O(R);if(M)return clearTimeout(S),S=setTimeout(V,m),F(R)}return S===void 0&&(S=setTimeout(V,m)),E}return i(H,"debounced"),H.cancel=K,H.flush=J,H}return i(f,"debounce"),Yet=f,Yet}function Oqn(t,r,a,o,l){var h=l*Math.PI/180,f=Math.cos(h)*(t-a)-Math.sin(h)*(r-o)+a,p=Math.sin(h)*(t-a)+Math.cos(h)*(r-o)+o;return{x:f,y:p}}function Bqn(t,r,a){if(a===0)return t;var o=(r.x1+r.x2)/2,l=(r.y1+r.y2)/2,h=r.w/r.h,f=1/h,p=Oqn(t.x,t.y,o,l,a),m=Pqn(p.x,p.y,o,l,h,f);return{x:m.x,y:m.y}}function Yqn(){return pSr||(pSr=1,(function(t,r){(function(){var a,o,l,h,f,p,m,b,v,T,C,E,S,R,L;l=Math.floor,T=Math.min,o=i(function(_,M){return _M?1:0},"defaultCmp"),v=i(function(_,M,I,F,O){var P;if(I==null&&(I=0),O==null&&(O=o),I<0)throw new Error("lo must be non-negative");for(F==null&&(F=_.length);IK;0<=K?Y++:Y--)V.push(Y);return V}).apply(this).reverse(),G=[],F=0,O=P.length;FJ;0<=J?++V:--V)H.push(f(_,I));return H},"nsmallest"),R=i(function(_,M,I,F){var O,P,G;for(F==null&&(F=o),O=_[I];I>M;){if(G=I-1>>1,P=_[G],F(O,P)<0){_[I]=P,I=G;continue}break}return _[I]=O},"_siftdown"),L=i(function(_,M,I){var F,O,P,G,V;for(I==null&&(I=o),O=_.length,V=M,P=_[M],F=2*M+1;F-1}return i(r,"listCacheHas"),ktt=r,ktt}function jYn(){if(t5r)return Ctt;t5r=1;var t=oTe();function r(a,o){var l=this.__data__,h=t(l,a);return h<0?(++this.size,l.push([a,o])):l[h][1]=o,this}return i(r,"listCacheSet"),Ctt=r,Ctt}function zYn(){if(r5r)return Ett;r5r=1;var t=BYn(),r=FYn(),a=$Yn(),o=GYn(),l=jYn();function h(f){var p=-1,m=f==null?0:f.length;for(this.clear();++p-1&&o%1==0&&o0;){var v=l.shift();r(v),h.add(v.id()),p&&o(l,h,v)}return t}function cAr(t,r,a){if(a.isParent())for(var o=a._private.children,l=0;l0&&arguments[0]!==void 0?arguments[0]:ZKn,r=arguments.length>1?arguments[1]:void 0,a=0;a0?H=Z:J=Z;while(Math.abs(q)>f&&++Q=h?M(K,Q):W===0?Q:F(K,J,J+b)}i(O,"getTForX");var P=!1;function G(){P=!0,(t!==r||a!==o)&&I()}i(G,"precompute");var V=i(function(J){return P||G(),t===r&&a===o?J:J===0?0:J===1?1:L(O(J),r,o)},"f");V.getControlPoints=function(){return[{x:t,y:r},{x:a,y:o}]};var Y="generateBezier("+[t,r,a,o]+")";return V.toString=function(){return Y},V}function H5r(t,r,a,o,l){if(o===1||r===a)return a;var h=l(r,a,o);return t==null||((t.roundValue||t.color)&&(h=Math.round(h)),t.min!==void 0&&(h=Math.max(h,t.min)),t.max!==void 0&&(h=Math.min(h,t.max))),h}function q5r(t,r){return t.pfValue!=null||t.value!=null?t.pfValue!=null&&(r==null||r.type.units!=="%")?t.pfValue:t.value:t}function kU(t,r,a,o,l){var h=l!=null?l.type:null;a<0?a=0:a>1&&(a=1);var f=q5r(t,l),p=q5r(r,l);if(oa(f)&&oa(p))return H5r(h,f,p,a,o);if(Uh(f)&&Uh(p)){for(var m=[],b=0;b0?(E==="spring"&&S.push(f.duration),f.easingImpl=Nxe[E].apply(null,S)):f.easingImpl=Nxe[E]}var R=f.easingImpl,L;if(f.duration===0?L=1:L=(a-m)/f.duration,f.applying&&(L=f.progress),L<0?L=0:L>1&&(L=1),f.delay==null){var _=f.startPosition,M=f.position;if(M&&l&&!t.locked()){var I={};ane(_.x,M.x)&&(I.x=kU(_.x,M.x,L,R)),ane(_.y,M.y)&&(I.y=kU(_.y,M.y,L,R)),t.position(I)}var F=f.startPan,O=f.pan,P=h.pan,G=O!=null&&o;G&&(ane(F.x,O.x)&&(P.x=kU(F.x,O.x,L,R)),ane(F.y,O.y)&&(P.y=kU(F.y,O.y,L,R)),t.emit("pan"));var V=f.startZoom,Y=f.zoom,K=Y!=null&&o;K&&(ane(V,Y)&&(h.zoom=bne(h.minZoom,kU(V,Y,L,R),h.maxZoom)),t.emit("zoom")),(G||K)&&t.emit("viewport");var J=f.style;if(J&&J.length>0&&l){for(var H=0;H=0;G--){var V=P[G];V()}P.splice(0,P.length)},"callbacks"),M=E.length-1;M>=0;M--){var I=E[M],F=I._private;if(F.stopped){E.splice(M,1),F.hooked=!1,F.playing=!1,F.started=!1,_(F.frames);continue}!F.playing&&!F.applying||(F.playing&&F.applying&&(F.applying=!1),F.started||dXn(v,I,t),fXn(v,I,t,T),F.applying&&(F.applying=!1),_(F.frames),F.step!=null&&F.step(t),I.completed()&&(E.splice(M,1),F.hooked=!1,F.playing=!1,F.started=!1,_(F.completes)),R=!0)}return!T&&E.length===0&&S.length===0&&o.push(v),R}i(l,"stepOne");for(var h=!1,f=0;f0?r.notify("draw",a):r.notify("draw")),a.unmerge(o),r.emit("step")}function AAr(t){this.options=so({},xXn,TXn,t)}function RAr(t){this.options=so({},kXn,t)}function LAr(t){this.options=so({},CXn,t)}function gTe(t){this.options=so({},EXn,t),this.options.layout=this;var r=this.options.eles.nodes(),a=this.options.eles.edges(),o=a.filter(function(l){var h=l.source().data("id"),f=l.target().data("id"),p=r.some(function(b){return b.data("id")===h}),m=r.some(function(b){return b.data("id")===f});return!p||!m});this.options.eles=this.options.eles.not(o)}function IAr(t){this.options=so({},GXn,t)}function Xrt(t){this.options=so({},jXn,t)}function NAr(t){this.options=so({},zXn,t)}function OAr(t){this.options=so({},UXn,t)}function PAr(t){this.options=t,this.notifications=0}function $Ar(t,r){r.radius===0?t.lineTo(r.cx,r.cy):t.arc(r.cx,r.cy,r.radius,r.startAngle,r.endAngle,r.counterClockwise)}function Jrt(t,r,a,o){var l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;return o===0||r.radius===0?{cx:r.x,cy:r.y,radius:0,startX:r.x,startY:r.y,stopX:r.x,stopY:r.y,startAngle:void 0,endAngle:void 0,counterClockwise:void 0}:(qXn(t,r,a,o,l),{cx:Trt,cy:krt,radius:MO,startX:BAr,startY:FAr,stopX:Crt,stopY:Ert,startAngle:gS.ang+Math.PI/2*NO,endAngle:sk.ang-Math.PI/2*NO,counterClockwise:Bxe})}function GAr(t){var r=[];if(t!=null){for(var a=0;a5&&arguments[5]!==void 0?arguments[5]:5,f=Math.min(h,o/2,l/2);t.beginPath(),t.moveTo(r+f,a),t.lineTo(r+o-f,a),t.quadraticCurveTo(r+o,a,r+o,a+f),t.lineTo(r+o,a+l-f),t.quadraticCurveTo(r+o,a+l,r+o-f,a+l),t.lineTo(r+f,a+l),t.quadraticCurveTo(r,a+l,r,a+l-f),t.lineTo(r,a+f),t.quadraticCurveTo(r,a,r+f,a),t.closePath()}function d6r(t,r,a){var o=t.createShader(r);if(t.shaderSource(o,a),t.compileShader(o),!t.getShaderParameter(o,t.COMPILE_STATUS))throw new Error(t.getShaderInfoLog(o));return o}function BQn(t,r,a){var o=d6r(t,t.VERTEX_SHADER,r),l=d6r(t,t.FRAGMENT_SHADER,a),h=t.createProgram();if(t.attachShader(h,o),t.attachShader(h,l),t.linkProgram(h),!t.getProgramParameter(h,t.LINK_STATUS))throw new Error("Could not initialize shaders");return h}function FQn(t,r,a){a===void 0&&(a=r);var o=t.makeOffscreenCanvas(r,a),l=o.context=o.getContext("2d");return o.clear=function(){return l.clearRect(0,0,o.width,o.height)},o.clear(),o}function tnt(t){var r=t.pixelRatio,a=t.cy.zoom(),o=t.cy.pan();return{zoom:a*r,pan:{x:o.x*r,y:o.y*r}}}function $Qn(t){var r=t.pixelRatio,a=t.cy.zoom();return a*r}function GQn(t,r,a,o,l){var h=o*a+r.x,f=l*a+r.y;return f=Math.round(t.canvasHeight-f),[h,f]}function jQn(t,r){return r.picking?!0:t.pstyle("background-fill").value!=="solid"||t.pstyle("background-image").strValue!=="none"?!1:t.pstyle("border-width").value===0||t.pstyle("border-opacity").value===0?!0:t.pstyle("border-style").value==="solid"}function zQn(t,r){if(t.length!==r.length)return!1;for(var a=0;a>0&255)/255,a[1]=(t>>8&255)/255,a[2]=(t>>16&255)/255,a[3]=(t>>24&255)/255,a}function UQn(t){return t[0]+(t[1]<<8)+(t[2]<<16)+(t[3]<<24)}function VQn(t,r){var a=t.createTexture();return a.buffer=function(o){t.bindTexture(t.TEXTURE_2D,a),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR_MIPMAP_NEAREST),t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,o),t.generateMipmap(t.TEXTURE_2D),t.bindTexture(t.TEXTURE_2D,null)},a.deleteTexture=function(){t.deleteTexture(a)},a}function e8r(t,r){switch(r){case"float":return[1,t.FLOAT,4];case"vec2":return[2,t.FLOAT,4];case"vec3":return[3,t.FLOAT,4];case"vec4":return[4,t.FLOAT,4];case"int":return[1,t.INT,4];case"ivec2":return[2,t.INT,4]}}function t8r(t,r,a){switch(r){case t.FLOAT:return new Float32Array(a);case t.INT:return new Int32Array(a)}}function HQn(t,r,a,o,l,h){switch(r){case t.FLOAT:return new Float32Array(a.buffer,h*o,l);case t.INT:return new Int32Array(a.buffer,h*o,l)}}function qQn(t,r,a,o){var l=e8r(t,r),h=Mg(l,2),f=h[0],p=h[1],m=t8r(t,p,o),b=t.createBuffer();return t.bindBuffer(t.ARRAY_BUFFER,b),t.bufferData(t.ARRAY_BUFFER,m,t.STATIC_DRAW),p===t.FLOAT?t.vertexAttribPointer(a,f,p,!1,0,0):p===t.INT&&t.vertexAttribIPointer(a,f,p,0,0),t.enableVertexAttribArray(a),t.bindBuffer(t.ARRAY_BUFFER,null),b}function pS(t,r,a,o){var l=e8r(t,a),h=Mg(l,3),f=h[0],p=h[1],m=h[2],b=t8r(t,p,r*f),v=f*m,T=t.createBuffer();t.bindBuffer(t.ARRAY_BUFFER,T),t.bufferData(t.ARRAY_BUFFER,r*v,t.DYNAMIC_DRAW),t.enableVertexAttribArray(o),p===t.FLOAT?t.vertexAttribPointer(o,f,p,!1,v,0):p===t.INT&&t.vertexAttribIPointer(o,f,p,v,0),t.vertexAttribDivisor(o,1),t.bindBuffer(t.ARRAY_BUFFER,null);for(var C=new Array(r),E=0;EKAr?(cJn(t),r.call(t,h)):(uJn(t),a8r(t,h,pne.SCREEN)))}}{var a=t.matchCanvasSize;t.matchCanvasSize=function(h){a.call(t,h),t.pickingFrameBuffer.setFramebufferAttachmentSizes(t.canvasWidth,t.canvasHeight),t.pickingFrameBuffer.needsDraw=!0}}t.findNearestElements=function(h,f,p,m){return mJn(t,h,f)};{var o=t.invalidateCachedZSortedEles;t.invalidateCachedZSortedEles=function(){o.call(t),t.pickingFrameBuffer.needsDraw=!0}}{var l=t.notify;t.notify=function(h,f){l.call(t,h,f),h==="viewport"||h==="bounds"?t.pickingFrameBuffer.needsDraw=!0:h==="background"&&t.drawing.invalidate(f,{type:"node-body"})}}}function cJn(t){var r=t.data.contexts[t.WEBGL];r.clear(r.COLOR_BUFFER_BIT|r.DEPTH_BUFFER_BIT)}function uJn(t){var r=i(function(o){o.save(),o.setTransform(1,0,0,1,0,0),o.clearRect(0,0,t.canvasWidth,t.canvasHeight),o.restore()},"clear");r(t.data.contexts[t.NODE]),r(t.data.contexts[t.DRAG])}function hJn(t){var r=t.canvasWidth,a=t.canvasHeight,o=tnt(t),l=o.pan,h=o.zoom,f=art();$xe(f,f,[l.x,l.y]),Art(f,f,[h,h]);var p=art();XQn(p,r,a);var m=art();return KQn(m,p,f),m}function i8r(t,r){var a=t.canvasWidth,o=t.canvasHeight,l=tnt(t),h=l.pan,f=l.zoom;r.setTransform(1,0,0,1,0,0),r.clearRect(0,0,a,o),r.translate(h.x,h.y),r.scale(f,f)}function fJn(t,r){t.drawSelectionRectangle(r,function(a){return i8r(t,a)})}function dJn(t){var r=t.data.contexts[t.NODE];r.save(),i8r(t,r),r.strokeStyle="rgba(0, 0, 0, 0.3)",r.beginPath(),r.moveTo(-1e3,0),r.lineTo(1e3,0),r.stroke(),r.beginPath(),r.moveTo(0,-1e3),r.lineTo(0,1e3),r.stroke(),r.restore()}function pJn(t){var r=i(function(l,h,f){for(var p=l.atlasManager.getAtlasCollection(h),m=t.data.contexts[t.NODE],b=p.atlases,v=0;v=0&&F.add(G)}return F}function mJn(t,r,a){var o=gJn(t,r,a),l=t.getCachedZSortedEles(),h,f,p=u2(o),m;try{for(p.s();!(m=p.n()).done;){var b=m.value,v=l[b];if(!h&&v.isNode()&&(h=v),!f&&v.isEdge()&&(f=v),h&&f)break}}catch(T){p.e(T)}finally{p.f()}return[h,f].filter(Boolean)}function urt(t,r,a){var o=t.drawing;r+=1,a.isNode()?(o.drawNode(a,r,"node-underlay"),o.drawNode(a,r,"node-body"),o.drawTexture(a,r,"label"),o.drawNode(a,r,"node-overlay")):(o.drawEdgeLine(a,r),o.drawEdgeArrow(a,r,"source"),o.drawEdgeArrow(a,r,"target"),o.drawTexture(a,r,"label"),o.drawTexture(a,r,"edge-source-label"),o.drawTexture(a,r,"edge-target-label"))}function a8r(t,r,a){var o;t.webglDebug&&(o=performance.now());var l=t.drawing,h=0;if(a.screen&&t.data.canvasNeedsRedraw[t.SELECT_BOX]&&fJn(t,r),t.data.canvasNeedsRedraw[t.NODE]||a.picking){var f=t.data.contexts[t.WEBGL];a.screen?(f.clearColor(0,0,0,0),f.enable(f.BLEND),f.blendFunc(f.ONE,f.ONE_MINUS_SRC_ALPHA)):f.disable(f.BLEND),f.clear(f.COLOR_BUFFER_BIT|f.DEPTH_BUFFER_BIT),f.viewport(0,0,f.canvas.width,f.canvas.height);var p=hJn(t),m=t.getCachedZSortedEles();if(h=m.length,l.startFrame(p,a),a.screen){for(var b=0;b{"use strict";i(hrt,"_arrayLikeToArray");i(qHn,"_arrayWithHoles");i(WHn,"_arrayWithoutHoles");i(AD,"_classCallCheck");i(YHn,"_defineProperties");i(RD,"_createClass");i(u2,"_createForOfIteratorHelper");i(T6r,"_defineProperty$1");i(KHn,"_iterableToArray");i(XHn,"_iterableToArrayLimit");i(QHn,"_nonIterableRest");i(JHn,"_nonIterableSpread");i(Mg,"_slicedToArray");i(Gxe,"_toConsumableArray");i(ZHn,"_toPrimitive");i(k6r,"_toPropertyKey");i(T0,"_typeof");i(_rt,"_unsupportedIterableToArray");w0=typeof window>"u"?null:window,YEr=w0?w0.navigator:null;w0&&w0.document;eqn=T0(""),C6r=T0({}),tqn=T0(function(){}),rqn=typeof HTMLElement>"u"?"undefined":T0(HTMLElement),Ene=i(function(r){return r&&r.instanceString&&Od(r.instanceString)?r.instanceString():null},"instanceStr"),Ps=i(function(r){return r!=null&&T0(r)==eqn},"string"),Od=i(function(r){return r!=null&&T0(r)===tqn},"fn"),Uh=i(function(r){return!Ww(r)&&(Array.isArray?Array.isArray(r):r!=null&&r instanceof Array)},"array"),Vc=i(function(r){return r!=null&&T0(r)===C6r&&!Uh(r)&&r.constructor===Object},"plainObject"),nqn=i(function(r){return r!=null&&T0(r)===C6r},"object"),oa=i(function(r){return r!=null&&T0(r)===T0(1)&&!isNaN(r)},"number"),iqn=i(function(r){return oa(r)&&Math.floor(r)===r},"integer"),jxe=i(function(r){if(rqn!=="undefined")return r!=null&&r instanceof HTMLElement},"htmlElement"),Ww=i(function(r){return Sne(r)||E6r(r)},"elementOrCollection"),Sne=i(function(r){return Ene(r)==="collection"&&r._private.single},"element"),E6r=i(function(r){return Ene(r)==="collection"&&!r._private.single},"collection"),Mrt=i(function(r){return Ene(r)==="core"},"core"),S6r=i(function(r){return Ene(r)==="stylesheet"},"stylesheet"),aqn=i(function(r){return Ene(r)==="event"},"event"),xD=i(function(r){return r==null?!0:!!(r===""||r.match(/^\s+$/))},"emptyString"),sqn=i(function(r){return typeof HTMLElement>"u"?!1:r instanceof HTMLElement},"domElement"),oqn=i(function(r){return Vc(r)&&oa(r.x1)&&oa(r.x2)&&oa(r.y1)&&oa(r.y2)},"boundingBox"),lqn=i(function(r){return nqn(r)&&Od(r.then)},"promise"),cqn=i(function(){return YEr&&YEr.userAgent.match(/msie|trident|edge/i)},"ms"),PU=i(function(r,a){a||(a=i(function(){if(arguments.length===1)return arguments[0];if(arguments.length===0)return"undefined";for(var h=[],f=0;fa?1:0},"ascending"),mqn=i(function(r,a){return-1*R6r(r,a)},"descending"),so=Object.assign!=null?Object.assign.bind(Object):function(t){for(var r=arguments,a=1;a1&&(L-=1),L<1/6?S+(R-S)*6*L:L<1/2?R:L<2/3?S+(R-S)*(2/3-L)*6:S}i(v,"hue2rgb");var T=new RegExp("^"+fqn+"$").exec(r);if(T){if(o=parseInt(T[1]),o<0?o=(360- -1*o%360)%360:o>360&&(o=o%360),o/=360,l=parseFloat(T[2]),l<0||l>100||(l=l/100,h=parseFloat(T[3]),h<0||h>100)||(h=h/100,f=T[4],f!==void 0&&(f=parseFloat(f),f<0||f>1)))return;if(l===0)p=m=b=Math.round(h*255);else{var C=h<.5?h*(1+l):h+l-h*l,E=2*h-C;p=Math.round(255*v(E,C,o+1/3)),m=Math.round(255*v(E,C,o)),b=Math.round(255*v(E,C,o-1/3))}a=[p,m,b,f]}return a},"hsl2tuple"),vqn=i(function(r){var a,o=new RegExp("^"+uqn+"$").exec(r);if(o){a=[];for(var l=[],h=1;h<=3;h++){var f=o[h];if(f[f.length-1]==="%"&&(l[h]=!0),f=parseFloat(f),l[h]&&(f=f/100*255),f<0||f>255)return;a.push(Math.floor(f))}var p=l[1]||l[2]||l[3],m=l[1]&&l[2]&&l[3];if(p&&!m)return;var b=o[4];if(b!==void 0){if(b=parseFloat(b),b<0||b>1)return;a.push(b)}}return a},"rgb2tuple"),wqn=i(function(r){return xqn[r.toLowerCase()]},"colorname2tuple"),L6r=i(function(r){return(Uh(r)?r:null)||wqn(r)||yqn(r)||vqn(r)||bqn(r)},"color2tuple"),xqn={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},D6r=i(function(r){for(var a=r.map,o=r.keys,l=o.length,h=0;h1&&arguments[1]!==void 0?arguments[1]:IO,o=a,l;l=r.next(),!l.done;)o=o*N6r+l.value|0;return o},"hashIterableInts"),gne=i(function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:IO;return a*N6r+r|0},"hashInt"),mne=i(function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:RU;return(a<<5)+a+r|0},"hashIntAlt"),Iqn=i(function(r,a){return r*2097152+a},"combineHashes"),dD=i(function(r){return r[0]*2097152+r[1]},"combineHashesArray"),yxe=i(function(r,a){return[gne(r[0],a[0]),mne(r[1],a[1])]},"hashArrays"),uSr=i(function(r,a){var o={value:0,done:!1},l=0,h=r.length,f={next:i(function(){return l=0;l--)r[l]===a&&r.splice(l,1)},"removeFromArray"),Brt=i(function(r){r.splice(0,r.length)},"clearArray"),Uqn=i(function(r,a){for(var o=0;o"u"?"undefined":T0(Set))!==Hqn?Set:qqn,rTe=i(function(r,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(r===void 0||a===void 0||!Mrt(r)){Kf("An element must have a core reference and parameters set");return}var l=a.group;if(l==null&&(a.data&&a.data.source!=null&&a.data.target!=null?l="edges":l="nodes"),l!=="nodes"&&l!=="edges"){Kf("An element must be of type `nodes` or `edges`; you specified `"+l+"`");return}this.length=1,this[0]=this;var h=this._private={cy:r,single:!0,data:a.data||{},position:a.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:l,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!a.selected,selectable:a.selectable===void 0?!0:!!a.selectable,locked:!!a.locked,grabbed:!1,grabbable:a.grabbable===void 0?!0:!!a.grabbable,pannable:a.pannable===void 0?l==="edges":!!a.pannable,active:!1,classes:new jU,animation:{current:[],queue:[]},rscratch:{},scratch:a.scratch||{},edges:[],children:[],parent:a.parent&&a.parent.isNode()?a.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(h.position.x==null&&(h.position.x=0),h.position.y==null&&(h.position.y=0),a.renderedPosition){var f=a.renderedPosition,p=r.pan(),m=r.zoom();h.position={x:(f.x-p.x)/m,y:(f.y-p.y)/m}}var b=[];Uh(a.classes)?b=a.classes:Ps(a.classes)&&(b=a.classes.split(/\s+/));for(var v=0,T=b.length;v0;){var P=M.pop(),G=L(P),V=P.id();if(C[V]=G,G!==1/0)for(var Y=P.neighborhood().intersect(S),K=0;K0)for(z.unshift(te);T[ae];){var ce=T[ae];z.unshift(ce.edge),z.unshift(ce.node),re=ce.node,ae=re.id()}return p.spawn(z)},"pathTo")}},"dijkstra")},Zqn={kruskal:i(function(r){r=r||function(I){return 1};for(var a=this.byGroup(),o=a.nodes,l=a.edges,h=o.length,f=new Array(h),p=o,m=i(function(F){for(var O=0;O0;){if(O(),G++,F===v){for(var V=[],Y=h,K=v,J=_[K];V.unshift(Y),J!=null&&V.unshift(J),Y=L[K],Y!=null;)K=Y.id(),J=_[K];return{found:!0,distance:T[F],path:this.spawn(V),steps:G}}E[F]=!0;for(var H=I._private.edges,q=0;qJ&&(S[K]=J,M[K]=Y,I[K]=O),!h){var H=Y*v+V;!h&&S[H]>J&&(S[H]=J,M[H]=V,I[H]=O)}}}for(var q=0;q1&&arguments[1]!==void 0?arguments[1]:f,ft=I(Xe),bt=[],Me=ft;;){if(Me==null)return a.spawn();var Fe=M(Me),je=Fe.edge,He=Fe.pred;if(bt.unshift(Me[0]),Me.same(Rt)&&bt.length>0)break;je!=null&&bt.unshift(je),Me=He}return m.spawn(bt)},"pathTo"),P=0;P=0;v--){var T=b[v],C=T[1],E=T[2];(a[C]===p&&a[E]===m||a[C]===m&&a[E]===p)&&b.splice(v,1)}for(var S=0;Sl;){var h=Math.floor(Math.random()*a.length);a=oWn(h,r,a),o--}return a},"contractUntil"),lWn={kargerStein:i(function(){var r=this,a=this.byGroup(),o=a.nodes,l=a.edges;l.unmergeBy(function(z){return z.isLoop()});var h=o.length,f=l.length,p=Math.ceil(Math.pow(Math.log(h)/Math.LN2,2)),m=Math.floor(h/sWn);if(h<2){Kf("At least 2 nodes are required for Karger-Stein algorithm");return}for(var b=[],v=0;v1&&arguments[1]!==void 0?arguments[1]:0,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r.length,l=1/0,h=a;h1&&arguments[1]!==void 0?arguments[1]:0,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r.length,l=-1/0,h=a;h1&&arguments[1]!==void 0?arguments[1]:0,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r.length,l=0,h=0,f=a;f1&&arguments[1]!==void 0?arguments[1]:0,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r.length,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,h=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;l?r=r.slice(a,o):(o0&&r.splice(0,a));for(var p=0,m=r.length-1;m>=0;m--){var b=r[m];f?isFinite(b)||(r[m]=-1/0,p++):r.splice(m,1)}h&&r.sort(function(C,E){return C-E});var v=r.length,T=Math.floor(v/2);return v%2!==0?r[T+1+p]:(r[T-1+p]+r[T+p])/2},"median"),pWn=i(function(r){return Math.PI*r/180},"deg2rad"),bxe=i(function(r,a){return Math.atan2(a,r)-Math.PI/2},"getAngleFromDisp"),Frt=Math.log2||function(t){return Math.log(t)/Math.log(2)},$rt=i(function(r){return r>0?1:r<0?-1:0},"signum"),BO=i(function(r,a){return Math.sqrt(_O(r,a))},"dist"),_O=i(function(r,a){var o=a.x-r.x,l=a.y-r.y;return o*o+l*l},"sqdist"),gWn=i(function(r){for(var a=r.length,o=0,l=0;l=r.x1&&r.y2>=r.y1)return{x1:r.x1,y1:r.y1,x2:r.x2,y2:r.y2,w:r.x2-r.x1,h:r.y2-r.y1};if(r.w!=null&&r.h!=null&&r.w>=0&&r.h>=0)return{x1:r.x1,y1:r.y1,x2:r.x1+r.w,y2:r.y1+r.h,w:r.w,h:r.h}}},"makeBoundingBox"),yWn=i(function(r){return{x1:r.x1,x2:r.x2,w:r.w,y1:r.y1,y2:r.y2,h:r.h}},"copyBoundingBox"),bWn=i(function(r){r.x1=1/0,r.y1=1/0,r.x2=-1/0,r.y2=-1/0,r.w=0,r.h=0},"clearBoundingBox"),vWn=i(function(r,a){r.x1=Math.min(r.x1,a.x1),r.x2=Math.max(r.x2,a.x2),r.w=r.x2-r.x1,r.y1=Math.min(r.y1,a.y1),r.y2=Math.max(r.y2,a.y2),r.h=r.y2-r.y1},"updateBoundingBox"),z6r=i(function(r,a,o){r.x1=Math.min(r.x1,a),r.x2=Math.max(r.x2,a),r.w=r.x2-r.x1,r.y1=Math.min(r.y1,o),r.y2=Math.max(r.y2,o),r.h=r.y2-r.y1},"expandBoundingBoxByPoint"),Dxe=i(function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return r.x1-=a,r.x2+=a,r.y1-=a,r.y2+=a,r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},"expandBoundingBox"),_xe=i(function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0],o,l,h,f;if(a.length===1)o=l=h=f=a[0];else if(a.length===2)o=h=a[0],f=l=a[1];else if(a.length===4){var p=Mg(a,4);o=p[0],l=p[1],h=p[2],f=p[3]}return r.x1-=f,r.x2+=l,r.y1-=o,r.y2+=h,r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},"expandBoundingBoxSides"),mSr=i(function(r,a){r.x1=a.x1,r.y1=a.y1,r.x2=a.x2,r.y2=a.y2,r.w=r.x2-r.x1,r.h=r.y2-r.y1},"assignBoundingBox"),Grt=i(function(r,a){return!(r.x1>a.x2||a.x1>r.x2||r.x2a.y2||a.y1>r.y2)},"boundingBoxesIntersect"),yD=i(function(r,a,o){return r.x1<=a&&a<=r.x2&&r.y1<=o&&o<=r.y2},"inBoundingBox"),ySr=i(function(r,a){return yD(r,a.x,a.y)},"pointInBoundingBox"),U6r=i(function(r,a){return yD(r,a.x1,a.y1)&&yD(r,a.x2,a.y2)},"boundingBoxInBoundingBox"),wWn=(Jet=Math.hypot)!==null&&Jet!==void 0?Jet:function(t,r){return Math.sqrt(t*t+r*r)};i(xWn,"inflatePolygon");i(TWn,"miterBox");V6r=i(function(r,a,o,l,h,f,p){var m=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"auto",b=m==="auto"?kD(h,f):m,v=h/2,T=f/2;b=Math.min(b,v,T);var C=b!==v,E=b!==T,S;if(C){var R=o-v+b-p,L=l-T-p,_=o+v-b+p,M=L;if(S=bD(r,a,o,l,R,L,_,M,!1),S.length>0)return S}if(E){var I=o+v+p,F=l-T+b-p,O=I,P=l+T-b+p;if(S=bD(r,a,o,l,I,F,O,P,!1),S.length>0)return S}if(C){var G=o-v+b-p,V=l+T+p,Y=o+v-b+p,K=V;if(S=bD(r,a,o,l,G,V,Y,K,!1),S.length>0)return S}if(E){var J=o-v-p,H=l-T+b-p,q=J,Z=l+T-b+p;if(S=bD(r,a,o,l,J,H,q,Z,!1),S.length>0)return S}var Q;{var W=o-v+b,te=l-T+b;if(Q=cne(r,a,o,l,W,te,b+p),Q.length>0&&Q[0]<=W&&Q[1]<=te)return[Q[0],Q[1]]}{var z=o+v-b,re=l-T+b;if(Q=cne(r,a,o,l,z,re,b+p),Q.length>0&&Q[0]>=z&&Q[1]<=re)return[Q[0],Q[1]]}{var ae=o+v-b,ce=l+T-b;if(Q=cne(r,a,o,l,ae,ce,b+p),Q.length>0&&Q[0]>=ae&&Q[1]>=ce)return[Q[0],Q[1]]}{var le=o-v+b,de=l+T-b;if(Q=cne(r,a,o,l,le,de,b+p),Q.length>0&&Q[0]<=le&&Q[1]>=de)return[Q[0],Q[1]]}return[]},"roundRectangleIntersectLine"),kWn=i(function(r,a,o,l,h,f,p){var m=p,b=Math.min(o,h),v=Math.max(o,h),T=Math.min(l,f),C=Math.max(l,f);return b-m<=r&&r<=v+m&&T-m<=a&&a<=C+m},"inLineVicinity"),CWn=i(function(r,a,o,l,h,f,p,m,b){var v={x1:Math.min(o,p,h)-b,x2:Math.max(o,p,h)+b,y1:Math.min(l,m,f)-b,y2:Math.max(l,m,f)+b};return!(rv.x2||av.y2)},"inBezierVicinity"),EWn=i(function(r,a,o,l){o-=l;var h=a*a-4*r*o;if(h<0)return[];var f=Math.sqrt(h),p=2*r,m=(-a+f)/p,b=(-a-f)/p;return[m,b]},"solveQuadratic"),SWn=i(function(r,a,o,l,h){var f=1e-5;r===0&&(r=f),a/=r,o/=r,l/=r;var p,m,b,v,T,C,E,S;if(m=(3*o-a*a)/9,b=-(27*l)+a*(9*o-2*(a*a)),b/=54,p=m*m*m+b*b,h[1]=0,E=a/3,p>0){T=b+Math.sqrt(p),T=T<0?-Math.pow(-T,1/3):Math.pow(T,1/3),C=b-Math.sqrt(p),C=C<0?-Math.pow(-C,1/3):Math.pow(C,1/3),h[0]=-E+T+C,E+=(T+C)/2,h[4]=h[2]=-E,E=Math.sqrt(3)*(-C+T)/2,h[3]=E,h[5]=-E;return}if(h[5]=h[3]=0,p===0){S=b<0?-Math.pow(-b,1/3):Math.pow(b,1/3),h[0]=-E+2*S,h[4]=h[2]=-(S+E);return}m=-m,v=m*m*m,v=Math.acos(b/Math.sqrt(v)),S=2*Math.sqrt(m),h[0]=-E+S*Math.cos(v/3),h[2]=-E+S*Math.cos((v+2*Math.PI)/3),h[4]=-E+S*Math.cos((v+4*Math.PI)/3)},"solveCubic"),AWn=i(function(r,a,o,l,h,f,p,m){var b=1*o*o-4*o*h+2*o*p+4*h*h-4*h*p+p*p+l*l-4*l*f+2*l*m+4*f*f-4*f*m+m*m,v=9*o*h-3*o*o-3*o*p-6*h*h+3*h*p+9*l*f-3*l*l-3*l*m-6*f*f+3*f*m,T=3*o*o-6*o*h+o*p-o*r+2*h*h+2*h*r-p*r+3*l*l-6*l*f+l*m-l*a+2*f*f+2*f*a-m*a,C=1*o*h-o*o+o*r-h*r+l*f-l*l+l*a-f*a,E=[];SWn(b,v,T,C,E);for(var S=1e-7,R=[],L=0;L<6;L+=2)Math.abs(E[L+1])=0&&E[L]<=1&&R.push(E[L]);R.push(1),R.push(0);for(var _=-1,M,I,F,O=0;O=0?F<_&&(_=F):_=F;return _},"sqdistToQuadraticBezier"),RWn=i(function(r,a,o,l,h,f){var p=[r-o,a-l],m=[h-o,f-l],b=m[0]*m[0]+m[1]*m[1],v=p[0]*p[0]+p[1]*p[1],T=p[0]*m[0]+p[1]*m[1],C=T*T/b;return T<0?v:C>b?(r-h)*(r-h)+(a-f)*(a-f):v-C},"sqdistToFiniteLine"),c2=i(function(r,a,o){for(var l,h,f,p,m,b=0,v=0;v=r&&r>=f||l<=r&&r<=f)m=(r-l)/(f-l)*(p-h)+h,m>a&&b++;else continue;return b%2!==0},"pointInsidePolygonPoints"),CA=i(function(r,a,o,l,h,f,p,m,b){var v=new Array(o.length),T;m[0]!=null?(T=Math.atan(m[1]/m[0]),m[0]<0?T=T+Math.PI/2:T=-T-Math.PI/2):T=m;for(var C=Math.cos(-T),E=Math.sin(-T),S=0;S0){var L=Hxe(v,-b);R=Vxe(L)}else R=v;return c2(r,a,R)},"pointInsidePolygon"),LWn=i(function(r,a,o,l,h,f,p,m){for(var b=new Array(o.length*2),v=0;v=0&&L<=1&&M.push(L),_>=0&&_<=1&&M.push(_),M.length===0)return[];var I=M[0]*m[0]+r,F=M[0]*m[1]+a;if(M.length>1){if(M[0]==M[1])return[I,F];var O=M[1]*m[0]+r,P=M[1]*m[1]+a;return[I,F,O,P]}else return[I,F]},"intersectLineCircle"),Zet=i(function(r,a,o){return a<=r&&r<=o||o<=r&&r<=a?r:r<=a&&a<=o||o<=a&&a<=r?a:o},"midOfThree"),bD=i(function(r,a,o,l,h,f,p,m,b){var v=r-h,T=o-r,C=p-h,E=a-f,S=l-a,R=m-f,L=C*E-R*v,_=T*E-S*v,M=R*T-C*S;if(M!==0){var I=L/M,F=_/M,O=.001,P=0-O,G=1+O;return P<=I&&I<=G&&P<=F&&F<=G?[r+I*T,a+I*S]:b?[r+I*T,a+I*S]:[]}else return L===0||_===0?Zet(r,o,p)===p?[p,m]:Zet(r,o,h)===h?[h,f]:Zet(h,p,o)===o?[o,l]:[]:[]},"finiteLinesIntersect"),_Wn=i(function(r,a,o,l,h){var f=[],p=l/2,m=h/2,b=a,v=o;f.push({x:b+p*r[0],y:v+m*r[1]});for(var T=1;T0){var R=Hxe(T,-m);E=Vxe(R)}else E=T}else E=o;for(var L,_,M,I,F=0;F2){for(var S=[v[0],v[1]],R=Math.pow(S[0]-r,2)+Math.pow(S[1]-a,2),L=1;Lv&&(v=F)},"set"),get:i(function(I){return b[I]},"get")},C=0;C0?Q=Z.edgesTo(q)[0]:Q=q.edgesTo(Z)[0];var W=l(Q);q=q.id(),G[q]>G[J]+W&&(G[q]=G[J]+W,V.nodes.indexOf(q)<0?V.push(q):V.updateItem(q),P[q]=0,O[q]=[]),G[q]==G[J]+W&&(P[q]=P[q]+P[J],O[q].push(J))}else for(var te=0;te0;){for(var ce=F.pop(),le=0;le0&&p.push(o[m]);p.length!==0&&h.push(l.collection(p))}return h},"assign"),qWn=i(function(r,a){for(var o=0;o5&&arguments[5]!==void 0?arguments[5]:KWn,p=l,m,b,v=0;v=2?rne(r,a,o,0,TSr,XWn):rne(r,a,o,0,xSr)},"euclidean"),squaredEuclidean:i(function(r,a,o){return rne(r,a,o,0,TSr)},"squaredEuclidean"),manhattan:i(function(r,a,o){return rne(r,a,o,0,xSr)},"manhattan"),max:i(function(r,a,o){return rne(r,a,o,-1/0,QWn)},"max")};BU["squared-euclidean"]=BU.squaredEuclidean;BU.squaredeuclidean=BU.squaredEuclidean;i(iTe,"clusteringDistance");JWn=f1({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),zrt=i(function(r){return JWn(r)},"setOptions"),qxe=i(function(r,a,o,l,h){var f=h!=="kMedoids",p=f?function(T){return o[T]}:function(T){return l[T](o)},m=i(function(C){return l[C](a)},"getQ"),b=o,v=a;return iTe(r,l.length,p,m,b,v)},"getDist"),ttt=i(function(r,a,o){for(var l=o.length,h=new Array(l),f=new Array(l),p=new Array(a),m=null,b=0;bo)return!1}return!0},"haveMatricesConverged"),tYn=i(function(r,a,o){for(var l=0;lp&&(p=a[b][v],m=v);h[m].push(r[b])}for(var T=0;T=h.threshold||h.mode==="dendrogram"&&r.length===1)return!1;var S=a[f],R=a[l[f]],L;h.mode==="dendrogram"?L={left:S,right:R,key:S.key}:L={value:S.value.concat(R.value),key:S.key},r[S.index]=L,r.splice(R.index,1),a[S.key]=L;for(var _=0;_o[R.key][M.key]&&(m=o[R.key][M.key])):h.linkage==="max"?(m=o[S.key][M.key],o[S.key][M.key]0&&l.push(h);return l},"findExemplars"),RSr=i(function(r,a,o){for(var l=[],h=0;hp&&(f=b,p=a[h*r+b])}f>0&&l.push(f)}for(var v=0;vb&&(m=v,b=T)}o[h]=f[m]}return l=RSr(r,a,o),l},"assign"),LSr=i(function(r){for(var a=this.cy(),o=this.nodes(),l=dYn(r),h={},f=0;f=J?(H=J,J=Z,q=Q):Z>H&&(H=Z);for(var W=0;W0?1:0;G[Y%l.minIterations*p+le]=de,ce+=de}if(ce>0&&(Y>=l.minIterations-1||Y==l.maxIterations-1)){for(var ve=0,Se=0;Se1||P>1)&&(p=!0),T[I]=[],M.outgoers().forEach(function(V){V.isEdge()&&T[I].push(V.id())})}else C[I]=[void 0,M.target().id()]}):f.forEach(function(M){var I=M.id();if(M.isNode()){var F=M.degree(!0);F%2&&(m?b?p=!0:b=I:m=I),T[I]=[],M.connectedEdges().forEach(function(O){return T[I].push(O.id())})}else C[I]=[M.source().id(),M.target().id()]});var E={found:!1,trail:void 0};if(p)return E;if(b&&m)if(h){if(v&&b!=v)return E;v=b}else{if(v&&b!=v&&m!=v)return E;v||(v=b)}else v||(v=f[0].id());var S=i(function(I){for(var F=I,O=[I],P,G,V;T[F].length;)P=T[F].shift(),G=C[P][0],V=C[P][1],F!=V?(T[V]=T[V].filter(function(Y){return Y!=P}),F=V):!h&&F!=G&&(T[G]=T[G].filter(function(Y){return Y!=P}),F=G),O.unshift(P),O.unshift(F);return O},"walk"),R=[],L=[];for(L=S(v);L.length!=1;)T[L[0]].length==0?(R.unshift(f.getElementById(L.shift())),R.unshift(f.getElementById(L.shift()))):L=S(L.shift()).concat(L);R.unshift(f.getElementById(L.shift()));for(var _ in T)if(T[_].length)return E;return E.found=!0,E.trail=this.spawn(R,!0),E},"hierholzer")},wxe=i(function(){var r=this,a={},o=0,l=0,h=[],f=[],p={},m=i(function(C,E){for(var S=f.length-1,R=[],L=r.spawn();f[S].x!=C||f[S].y!=E;)R.push(f.pop().edge),S--;R.push(f.pop().edge),R.forEach(function(_){var M=_.connectedNodes().intersection(r);L.merge(_),M.forEach(function(I){var F=I.id(),O=I.connectedEdges().intersection(r);L.merge(I),a[F].cutVertex?L.merge(O.filter(function(P){return P.isLoop()})):L.merge(O)})}),h.push(L)},"buildComponent"),b=i(function(C,E,S){C===S&&(l+=1),a[E]={id:o,low:o++,cutVertex:!1};var R=r.getElementById(E).connectedEdges().intersection(r);if(R.size()===0)h.push(r.spawn(r.getElementById(E)));else{var L,_,M,I;R.forEach(function(F){L=F.source().id(),_=F.target().id(),M=L===E?_:L,M!==S&&(I=F.id(),p[I]||(p[I]=!0,f.push({x:E,y:M,edge:F})),M in a?a[E].low=Math.min(a[E].low,a[M].id):(b(C,M,E),a[E].low=Math.min(a[E].low,a[M].low),a[E].id<=a[M].low&&(a[E].cutVertex=!0,m(E,M))))})}},"biconnectedSearch");r.forEach(function(T){if(T.isNode()){var C=T.id();C in a||(l=0,b(C,C),a[C].cutVertex=l>1)}});var v=Object.keys(a).filter(function(T){return a[T].cutVertex}).map(function(T){return r.getElementById(T)});return{cut:r.spawn(v),components:h}},"hopcroftTarjanBiconnected"),xYn={hopcroftTarjanBiconnected:wxe,htbc:wxe,htb:wxe,hopcroftTarjanBiconnectedComponents:wxe},xxe=i(function(){var r=this,a={},o=0,l=[],h=[],f=r.spawn(r),p=i(function(b){h.push(b),a[b]={index:o,low:o++,explored:!1};var v=r.getElementById(b).connectedEdges().intersection(r);if(v.forEach(function(R){var L=R.target().id();L!==b&&(L in a||p(L),a[L].explored||(a[b].low=Math.min(a[b].low,a[L].low)))}),a[b].index===a[b].low){for(var T=r.spawn();;){var C=h.pop();if(T.merge(r.getElementById(C)),a[C].low=a[b].index,a[C].explored=!0,C===b)break}var E=T.edgesWith(T),S=T.merge(E);l.push(S),f=f.difference(S)}},"stronglyConnectedSearch");return r.forEach(function(m){if(m.isNode()){var b=m.id();b in a||p(b)}}),{cut:f,components:l}},"tarjanStronglyConnected"),TYn={tarjanStronglyConnected:xxe,tsc:xxe,tscc:xxe,tarjanStronglyConnectedComponents:xxe},Q6r={};[yne,Jqn,Zqn,tWn,nWn,aWn,lWn,OWn,IU,NU,prt,YWn,oYn,hYn,bYn,wYn,xYn,TYn].forEach(function(t){so(Q6r,t)});J6r=0,Z6r=1,eAr=2,L4=i(function(r){if(!(this instanceof L4))return new L4(r);this.id="Thenable/1.0.7",this.state=J6r,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},typeof r=="function"&&r.call(this,this.fulfill.bind(this),this.reject.bind(this))},"api");L4.prototype={fulfill:i(function(r){return DSr(this,Z6r,"fulfillValue",r)},"fulfill"),reject:i(function(r){return DSr(this,eAr,"rejectReason",r)},"reject"),then:i(function(r,a){var o=this,l=new L4;return o.onFulfilled.push(MSr(r,l,"fulfill")),o.onRejected.push(MSr(a,l,"reject")),tAr(o),l.proxy},"then")};DSr=i(function(r,a,o,l){return r.state===J6r&&(r.state=a,r[o]=l,tAr(r)),r},"deliver"),tAr=i(function(r){r.state===Z6r?_Sr(r,"onFulfilled",r.fulfillValue):r.state===eAr&&_Sr(r,"onRejected",r.rejectReason)},"execute"),_Sr=i(function(r,a,o){if(r[a].length!==0){var l=r[a];r[a]=[];var h=i(function(){for(var p=0;p0},"animatedImpl")},"animated"),clearQueue:i(function(){return i(function(){var a=this,o=a.length!==void 0,l=o?a:[a],h=this._private.cy||this;if(!h.styleEnabled())return this;for(var f=0;f0&&this.spawn(l).updateStyle().emit("class"),a},"classes"),addClass:i(function(r){return this.toggleClass(r,!0)},"addClass"),hasClass:i(function(r){var a=this[0];return a!=null&&a._private.classes.has(r)},"hasClass"),toggleClass:i(function(r,a){Uh(r)||(r=r.match(/\S+/g)||[]);for(var o=this,l=a===void 0,h=[],f=0,p=o.length;f0&&this.spawn(h).updateStyle().emit("class"),o},"toggleClass"),removeClass:i(function(r){return this.toggleClass(r,!1)},"removeClass"),flashClass:i(function(r,a){var o=this;if(a==null)a=250;else if(a===0)return o;return o.addClass(r),setTimeout(function(){o.removeClass(r)},a),o},"flashClass")};Mxe.className=Mxe.classNames=Mxe.classes;Uc={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:`"(?:\\\\"|[^"])*"|'(?:\\\\'|[^'])*'`,number:x0,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};Uc.variable="(?:[\\w-.]|(?:\\\\"+Uc.metaChar+"))+";Uc.className="(?:[\\w-]|(?:\\\\"+Uc.metaChar+"))+";Uc.value=Uc.string+"|"+Uc.number;Uc.id=Uc.variable;(function(){var t,r,a;for(t=Uc.comparatorOp.split("|"),a=0;a=0)&&r!=="="&&(Uc.comparatorOp+="|\\!"+r)})();xh=i(function(){return{checks:[]}},"newQuery"),Ha={GROUP:0,COLLECTION:1,FILTER:2,DATA_COMPARE:3,DATA_EXIST:4,DATA_BOOL:5,META_COMPARE:6,STATE:7,ID:8,CLASS:9,UNDIRECTED_EDGE:10,DIRECTED_EDGE:11,NODE_SOURCE:12,NODE_TARGET:13,NODE_NEIGHBOR:14,CHILD:15,DESCENDANT:16,PARENT:17,ANCESTOR:18,COMPOUND_SPLIT:19,TRUE:20},brt=[{selector:":selected",matches:i(function(r){return r.selected()},"matches")},{selector:":unselected",matches:i(function(r){return!r.selected()},"matches")},{selector:":selectable",matches:i(function(r){return r.selectable()},"matches")},{selector:":unselectable",matches:i(function(r){return!r.selectable()},"matches")},{selector:":locked",matches:i(function(r){return r.locked()},"matches")},{selector:":unlocked",matches:i(function(r){return!r.locked()},"matches")},{selector:":visible",matches:i(function(r){return r.visible()},"matches")},{selector:":hidden",matches:i(function(r){return!r.visible()},"matches")},{selector:":transparent",matches:i(function(r){return r.transparent()},"matches")},{selector:":grabbed",matches:i(function(r){return r.grabbed()},"matches")},{selector:":free",matches:i(function(r){return!r.grabbed()},"matches")},{selector:":removed",matches:i(function(r){return r.removed()},"matches")},{selector:":inside",matches:i(function(r){return!r.removed()},"matches")},{selector:":grabbable",matches:i(function(r){return r.grabbable()},"matches")},{selector:":ungrabbable",matches:i(function(r){return!r.grabbable()},"matches")},{selector:":animated",matches:i(function(r){return r.animated()},"matches")},{selector:":unanimated",matches:i(function(r){return!r.animated()},"matches")},{selector:":parent",matches:i(function(r){return r.isParent()},"matches")},{selector:":childless",matches:i(function(r){return r.isChildless()},"matches")},{selector:":child",matches:i(function(r){return r.isChild()},"matches")},{selector:":orphan",matches:i(function(r){return r.isOrphan()},"matches")},{selector:":nonorphan",matches:i(function(r){return r.isChild()},"matches")},{selector:":compound",matches:i(function(r){return r.isNode()?r.isParent():r.source().isParent()||r.target().isParent()},"matches")},{selector:":loop",matches:i(function(r){return r.isLoop()},"matches")},{selector:":simple",matches:i(function(r){return r.isSimple()},"matches")},{selector:":active",matches:i(function(r){return r.active()},"matches")},{selector:":inactive",matches:i(function(r){return!r.active()},"matches")},{selector:":backgrounding",matches:i(function(r){return r.backgrounding()},"matches")},{selector:":nonbackgrounding",matches:i(function(r){return!r.backgrounding()},"matches")}].sort(function(t,r){return mqn(t.selector,r.selector)}),vKn=(function(){for(var t={},r,a=0;a0&&v.edgeCount>0)return ju("The selector `"+r+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(v.edgeCount>1)return ju("The selector `"+r+"` is invalid because it uses multiple edge selectors"),!1;v.edgeCount===1&&ju("The selector `"+r+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},"parse"),EKn=i(function(){if(this.toStringCache!=null)return this.toStringCache;for(var r=i(function(v){return v??""},"clean"),a=i(function(v){return Ps(v)?'"'+v+'"':r(v)},"cleanVal"),o=i(function(v){return" "+v+" "},"space"),l=i(function(v,T){var C=v.type,E=v.value;switch(C){case Ha.GROUP:{var S=r(E);return S.substring(0,S.length-1)}case Ha.DATA_COMPARE:{var R=v.field,L=v.operator;return"["+R+o(r(L))+a(E)+"]"}case Ha.DATA_BOOL:{var _=v.operator,M=v.field;return"["+r(_)+M+"]"}case Ha.DATA_EXIST:{var I=v.field;return"["+I+"]"}case Ha.META_COMPARE:{var F=v.operator,O=v.field;return"[["+O+o(r(F))+a(E)+"]]"}case Ha.STATE:return E;case Ha.ID:return"#"+E;case Ha.CLASS:return"."+E;case Ha.PARENT:case Ha.CHILD:return h(v.parent,T)+o(">")+h(v.child,T);case Ha.ANCESTOR:case Ha.DESCENDANT:return h(v.ancestor,T)+" "+h(v.descendant,T);case Ha.COMPOUND_SPLIT:{var P=h(v.left,T),G=h(v.subject,T),V=h(v.right,T);return P+(P.length>0?" ":"")+G+V}case Ha.TRUE:return""}},"checkToString"),h=i(function(v,T){return v.checks.reduce(function(C,E,S){return C+(T===v&&S===0?"$":"")+l(E,T)},"")},"queryToString"),f="",p=0;p1&&p=0&&(a=a.replace("!",""),T=!0),a.indexOf("@")>=0&&(a=a.replace("@",""),v=!0),(h||p||v)&&(m=!h&&!f?"":""+r,b=""+o),v&&(r=m=m.toLowerCase(),o=b=b.toLowerCase()),a){case"*=":l=m.indexOf(b)>=0;break;case"$=":l=m.indexOf(b,m.length-b.length)>=0;break;case"^=":l=m.indexOf(b)===0;break;case"=":l=r===o;break;case">":C=!0,l=r>o;break;case">=":C=!0,l=r>=o;break;case"<":C=!0,l=r1&&arguments[1]!==void 0?arguments[1]:!0;return qrt(this,t,r,cAr)};i(uAr,"addParent");FU.forEachUp=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return qrt(this,t,r,uAr)};i(IKn,"addParentAndChildren");FU.forEachUpAndDown=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return qrt(this,t,r,IKn)};FU.ancestors=FU.parents;wne=hAr={data:Gu.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:Gu.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:Gu.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Gu.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:Gu.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:Gu.removeData({field:"rscratch",triggerEvent:!1}),id:i(function(){var r=this[0];if(r)return r._private.data.id},"id")};wne.attr=wne.data;wne.removeAttr=wne.removeData;NKn=hAr,cTe={};i(Ztt,"defineDegreeFunction");so(cTe,{degree:Ztt(function(t,r){return r.source().same(r.target())?2:1}),indegree:Ztt(function(t,r){return r.target().same(t)?1:0}),outdegree:Ztt(function(t,r){return r.source().same(t)?1:0})});i(TU,"defineDegreeBoundsFunction");so(cTe,{minDegree:TU("degree",function(t,r){return tr}),minIndegree:TU("indegree",function(t,r){return tr}),minOutdegree:TU("outdegree",function(t,r){return tr})});so(cTe,{totalDegree:i(function(r){for(var a=0,o=this.nodes(),l=0;l0,C=T;T&&(v=v[0]);var E=C?v.position():{x:0,y:0};a!==void 0?b.position(r,a+E[r]):h!==void 0&&b.position({x:h.x+E.x,y:h.y+E.y})}else{var S=o.position(),R=p?o.parent():null,L=R&&R.length>0,_=L;L&&(R=R[0]);var M=_?R.position():{x:0,y:0};return h={x:S.x-M.x,y:S.y-M.y},r===void 0?h:h[r]}else if(!f)return;return this},"relativePosition")};R4.modelPosition=R4.point=R4.position;R4.modelPositions=R4.points=R4.positions;R4.renderedPoint=R4.renderedPosition;R4.relativePoint=R4.relativePosition;OKn=fAr,$U=i(function(r){switch(r){case"left":case"right-inside":return"left";case"right":case"left-inside":return"right";default:return"center"}},"labelHalign"),GU=i(function(r){switch(r){case"top":case"bottom-inside":return"top";case"bottom":case"top-inside":return"bottom";default:return"center"}},"labelValign"),PKn=i(function(r){switch(r){case"left":return"right";case"right":return"left";case"left-inside":return"left";case"right-inside":return"right";default:return"center"}},"labelJustification");OU=LD={};LD.renderedBoundingBox=function(t){var r=this.boundingBox(t),a=this.cy(),o=a.zoom(),l=a.pan(),h=r.x1*o+l.x,f=r.x2*o+l.x,p=r.y1*o+l.y,m=r.y2*o+l.y;return{x1:h,x2:f,y1:p,y2:m,w:f-h,h:m-p}};LD.dirtyCompoundBoundsCache=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=this.cy();return!r.styleEnabled()||!r.hasCompoundNodes()?this:(this.forEachUp(function(a){if(a.isParent()){var o=a._private;o.compoundBoundsClean=!1,o.bbCache=null,t||a.emitAndNotify("bounds")}}),this)};LD.updateCompoundBounds=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=this.cy();if(!r.styleEnabled()||!r.hasCompoundNodes())return this;if(!t&&r.batching())return this;function a(f){if(!f.isParent())return;var p=f._private,m=f.children(),b=f.pstyle("compound-sizing-wrt-labels").value==="include",v={width:{val:f.pstyle("min-width").pfValue,left:f.pstyle("min-width-bias-left"),right:f.pstyle("min-width-bias-right")},height:{val:f.pstyle("min-height").pfValue,top:f.pstyle("min-height-bias-top"),bottom:f.pstyle("min-height-bias-bottom")}},T=m.boundingBox({includeLabels:b,includeOverlays:!1,useCache:!1}),C=p.position;(T.w===0||T.h===0)&&(T={w:f.pstyle("width").pfValue,h:f.pstyle("height").pfValue},T.x1=C.x-T.w/2,T.x2=C.x+T.w/2,T.y1=C.y-T.h/2,T.y2=C.y+T.h/2);function E(Y,K,J){var H=0,q=0,Z=K+J;return Y>0&&Z>0&&(H=K/Z*Y,q=J/Z*Y),{biasDiff:H,biasComplementDiff:q}}i(E,"computeBiasValues");function S(Y,K,J,H){if(J.units==="%")switch(H){case"width":return Y>0?J.pfValue*Y:0;case"height":return K>0?J.pfValue*K:0;case"average":return Y>0&&K>0?J.pfValue*(Y+K)/2:0;case"min":return Y>0&&K>0?Y>K?J.pfValue*K:J.pfValue*Y:0;case"max":return Y>0&&K>0?Y>K?J.pfValue*Y:J.pfValue*K:0;default:return 0}else return J.units==="px"?J.pfValue:0}i(S,"computePaddingValues");var R=v.width.left.value;v.width.left.units==="px"&&v.width.val>0&&(R=R*100/v.width.val);var L=v.width.right.value;v.width.right.units==="px"&&v.width.val>0&&(L=L*100/v.width.val);var _=v.height.top.value;v.height.top.units==="px"&&v.height.val>0&&(_=_*100/v.height.val);var M=v.height.bottom.value;v.height.bottom.units==="px"&&v.height.val>0&&(M=M*100/v.height.val);var I=E(v.width.val-T.w,R,L),F=I.biasDiff,O=I.biasComplementDiff,P=E(v.height.val-T.h,_,M),G=P.biasDiff,V=P.biasComplementDiff;p.autoPadding=S(T.w,T.h,f.pstyle("padding"),f.pstyle("padding-relative-to").value),p.autoWidth=Math.max(T.w,v.width.val),C.x=(-F+T.x1+T.x2+O)/2,p.autoHeight=Math.max(T.h,v.height.val),C.y=(-G+T.y1+T.y2+V)/2}i(a,"update");for(var o=0;or.x2?l:r.x2,r.y1=or.y2?h:r.y2,r.w=r.x2-r.x1,r.h=r.y2-r.y1)},"updateBounds"),gD=i(function(r,a){return a==null?r:A4(r,a.x1,a.y1,a.x2,a.y2)},"updateBoundsFromBox"),nne=i(function(r,a,o){return Rb(r,a,o)},"prefixedProperty"),Txe=i(function(r,a,o){if(!a.cy().headless()){var l=a._private,h=l.rstyle,f=h.arrowWidth/2,p=a.pstyle(o+"-arrow-shape").value,m,b;if(p!=="none"){o==="source"?(m=h.srcX,b=h.srcY):o==="target"?(m=h.tgtX,b=h.tgtY):(m=h.midX,b=h.midY);var v=l.arrowBounds=l.arrowBounds||{},T=v[o]=v[o]||{};T.x1=m-f,T.y1=b-f,T.x2=m+f,T.y2=b+f,T.w=T.x2-T.x1,T.h=T.y2-T.y1,Dxe(T,1),A4(r,T.x1,T.y1,T.x2,T.y2)}}},"updateBoundsFromArrow"),ert=i(function(r,a,o){if(!a.cy().headless()){var l;o?l=o+"-":l="";var h=a._private,f=h.rstyle,p=a.pstyle(l+"label").strValue;if(p){var m=a.pstyle("text-halign"),b=a.pstyle("text-valign"),v=nne(f,"labelWidth",o),T=nne(f,"labelHeight",o),C=nne(f,"labelX",o),E=nne(f,"labelY",o),S=a.pstyle(l+"text-margin-x").pfValue,R=a.pstyle(l+"text-margin-y").pfValue,L=a.isEdge(),_=a.pstyle(l+"text-rotation"),M=a.pstyle("text-outline-width").pfValue,I=a.pstyle("text-border-width").pfValue,F=I/2,O=a.pstyle("text-background-padding").pfValue,P=2,G=T,V=v,Y=V/2,K=G/2,J,H,q,Z;if(L)J=C-Y,H=C+Y,q=E-K,Z=E+K;else{switch($U(m.value)){case"left":J=C-V,H=C;break;case"center":J=C-Y,H=C+Y;break;case"right":J=C,H=C+V;break}switch(GU(b.value)){case"top":q=E-G,Z=E;break;case"center":q=E-K,Z=E+K;break;case"bottom":q=E,Z=E+G;break}}var Q=S-Math.max(M,F)-O-P,W=S+Math.max(M,F)+O+P,te=R-Math.max(M,F)-O-P,z=R+Math.max(M,F)+O+P;J+=Q,H+=W,q+=te,Z+=z;var re=o||"main",ae=h.labelBounds,ce=ae[re]=ae[re]||{};ce.x1=J,ce.y1=q,ce.x2=H,ce.y2=Z,ce.w=H-J,ce.h=Z-q,ce.leftPad=Q,ce.rightPad=W,ce.topPad=te,ce.botPad=z;var le=L&&_.strValue==="autorotate",de=_.pfValue!=null&&_.pfValue!==0;if(le||de){var ve=le?nne(h.rstyle,"labelAngle",o):_.pfValue,Se=Math.cos(ve),_e=Math.sin(ve),Ce=(J+H)/2,Ve=(q+Z)/2;if(!L){switch($U(m.value)){case"left":Ce=H;break;case"right":Ce=J;break}switch(GU(b.value)){case"top":Ve=Z;break;case"bottom":Ve=q;break}}var De=i(function(tr,Xe){return tr=tr-Ce,Xe=Xe-Ve,{x:tr*Se-Xe*_e+Ce,y:tr*_e+Xe*Se+Ve}},"rotate"),qe=De(J,q),Ue=De(J,Z),We=De(H,q),mt=De(H,Z);J=Math.min(qe.x,Ue.x,We.x,mt.x),H=Math.max(qe.x,Ue.x,We.x,mt.x),q=Math.min(qe.y,Ue.y,We.y,mt.y),Z=Math.max(qe.y,Ue.y,We.y,mt.y)}var ct=re+"Rot",Ot=ae[ct]=ae[ct]||{};Ot.x1=J,Ot.y1=q,Ot.x2=H,Ot.y2=Z,Ot.w=H-J,Ot.h=Z-q,A4(r,J,q,H,Z),A4(h.labelBounds.all,J,q,H,Z)}return r}},"updateBoundsFromLabel"),_5r=i(function(r,a){if(!a.cy().headless()){var o=a.pstyle("outline-opacity").value,l=a.pstyle("outline-width").value,h=a.pstyle("outline-offset").value,f=l+h;pAr(r,a,o,f,"outside",f/2)}},"updateBoundsFromOutline"),pAr=i(function(r,a,o,l,h,f){if(!(o===0||l<=0||h==="inside")){var p=a.cy(),m=p.renderer(),b=m.nodeShapes[m.getNodeShape(a)];if(b){var v=a.position(),T=v.x,C=v.y,E=a.width(),S=a.height();if(b.hasMiterBounds){h==="center"&&(l/=2);var R=b.miterBounds(T,C,E,S,l);gD(r,R)}else f!=null&&f>0&&_xe(r,[f,f,f,f])}}},"updateBoundsFromMiter"),BKn=i(function(r,a){if(!a.cy().headless()){var o=a.pstyle("border-opacity").value,l=a.pstyle("border-width").pfValue,h=a.pstyle("border-position").value;pAr(r,a,o,l,h)}},"updateBoundsFromMiterBorder"),FKn=i(function(r,a){var o=r._private.cy,l=o.styleEnabled(),h=o.headless(),f=Lb(),p=r._private,m=r.isNode(),b=r.isEdge(),v,T,C,E,S,R,L=p.rstyle,_=m&&l?r.pstyle("bounds-expansion").pfValue:[0],M=i(function(yr){return yr.pstyle("display").value!=="none"},"isDisplayed"),I=!l||M(r)&&(!b||M(r.source())&&M(r.target()));if(I){var F=0,O=0;l&&a.includeOverlays&&(F=r.pstyle("overlay-opacity").value,F!==0&&(O=r.pstyle("overlay-padding").value));var P=0,G=0;l&&a.includeUnderlays&&(P=r.pstyle("underlay-opacity").value,P!==0&&(G=r.pstyle("underlay-padding").value));var V=Math.max(O,G),Y=0,K=0;if(l&&(Y=r.pstyle("width").pfValue,K=Y/2),m&&a.includeNodes){var J=r.position();S=J.x,R=J.y;var H=r.outerWidth(),q=H/2,Z=r.outerHeight(),Q=Z/2;v=S-q,T=S+q,C=R-Q,E=R+Q,A4(f,v,C,T,E),l&&_5r(f,r),l&&a.includeOutlines&&!h&&_5r(f,r),l&&BKn(f,r)}else if(b&&a.includeEdges)if(l&&!h){var W=r.pstyle("curve-style").strValue;if(v=Math.min(L.srcX,L.midX,L.tgtX),T=Math.max(L.srcX,L.midX,L.tgtX),C=Math.min(L.srcY,L.midY,L.tgtY),E=Math.max(L.srcY,L.midY,L.tgtY),v-=K,T+=K,C-=K,E+=K,A4(f,v,C,T,E),W==="haystack"){var te=L.haystackPts;if(te&&te.length===2){if(v=te[0].x,C=te[0].y,T=te[1].x,E=te[1].y,v>T){var z=v;v=T,T=z}if(C>E){var re=C;C=E,E=re}A4(f,v-K,C-K,T+K,E+K)}}else if(W==="bezier"||W==="unbundled-bezier"||mD(W,"segments")||mD(W,"taxi")){var ae;switch(W){case"bezier":case"unbundled-bezier":ae=L.bezierPts;break;case"segments":case"taxi":case"round-segments":case"round-taxi":ae=L.linePts;break}if(ae!=null)for(var ce=0;ceT){var Ce=v;v=T,T=Ce}if(C>E){var Ve=C;C=E,E=Ve}v-=K,T+=K,C-=K,E+=K,A4(f,v,C,T,E)}if(l&&a.includeEdges&&b&&(Txe(f,r,"mid-source"),Txe(f,r,"mid-target"),Txe(f,r,"source"),Txe(f,r,"target")),l){var De=r.pstyle("ghost").value==="yes";if(De){var qe=r.pstyle("ghost-offset-x").pfValue,Ue=r.pstyle("ghost-offset-y").pfValue;A4(f,f.x1+qe,f.y1+Ue,f.x2+qe,f.y2+Ue)}}var We=p.bodyBounds=p.bodyBounds||{};mSr(We,f),_xe(We,_),Dxe(We,1),l&&(v=f.x1,T=f.x2,C=f.y1,E=f.y2,A4(f,v-V,C-V,T+V,E+V));var mt=p.overlayBounds=p.overlayBounds||{};mSr(mt,f),_xe(mt,_),Dxe(mt,1);var ct=p.labelBounds=p.labelBounds||{};ct.all!=null?bWn(ct.all):ct.all=Lb(),l&&a.includeLabels&&(a.includeMainLabels&&ert(f,r,null),b&&(a.includeSourceLabels&&ert(f,r,"source"),a.includeTargetLabels&&ert(f,r,"target")))}return f.x1=ok(f.x1),f.y1=ok(f.y1),f.x2=ok(f.x2),f.y2=ok(f.y2),f.w=ok(f.x2-f.x1),f.h=ok(f.y2-f.y1),f.w>0&&f.h>0&&I&&(_xe(f,_),Dxe(f,1)),f},"boundingBoxImpl"),gAr=i(function(r){var a=0,o=i(function(f){return(f?1:0)<=0;p--)f(p);return this};SD.removeAllListeners=function(){return this.removeListener("*")};SD.emit=SD.trigger=function(t,r,a){var o=this.listeners,l=o.length;return this.emitting++,Uh(r)||(r=[r]),eXn(this,function(h,f){a!=null&&(o=[{event:f.event,type:f.type,namespace:f.namespace,callback:a}],l=o.length);for(var p=i(function(){var v=o[m];if(v.type===f.type&&(!v.namespace||v.namespace===f.namespace||v.namespace===JKn)&&h.eventMatches(h.context,v,f)){var T=[f];r!=null&&Uqn(T,r),h.beforeEmit(h.context,v,f),v.conf&&v.conf.one&&(h.listeners=h.listeners.filter(function(S){return S!==v}));var C=h.callbackContext(h.context,v,f),E=v.callback.apply(C,T);h.afterEmit(h.context,v,f),E===!1&&(f.stopPropagation(),f.preventDefault())}},"_loop2"),m=0;m1&&!f){var p=this.length-1,m=this[p],b=m._private.data.id;this[p]=void 0,this[r]=m,h.set(b,{ele:m,index:r})}return this.length--,this},"unmergeAt"),unmergeOne:i(function(r){r=r[0];var a=this._private,o=r._private.data.id,l=a.map,h=l.get(o);if(!h)return this;var f=h.index;return this.unmergeAt(f),this},"unmergeOne"),unmerge:i(function(r){var a=this._private.cy;if(!r)return this;if(r&&Ps(r)){var o=r;r=a.mutableElements().filter(o)}for(var l=0;l=0;a--){var o=this[a];r(o)&&this.unmergeAt(a)}return this},"unmergeBy"),map:i(function(r,a){for(var o=[],l=this,h=0;ho&&(o=m,l=p)}return{value:o,ele:l}},"max"),min:i(function(r,a){for(var o=1/0,l,h=this,f=0;f=0&&h"u"?"undefined":T0(Symbol))!=r&&T0(Symbol.iterator)!=r;a&&(Wxe[Symbol.iterator]=function(){var o=this,l={value:void 0,done:!1},h=0,f=this.length;return T6r({next:i(function(){return h1&&arguments[1]!==void 0?arguments[1]:!0,o=this[0],l=o.cy();if(l.styleEnabled()&&o){o._private.styleDirty&&(o._private.styleDirty=!1,l.style().apply(o));var h=o._private.style[r];return h??(a?l.style().getDefaultProperty(r):null)}},"parsedStyle"),numericStyle:i(function(r){var a=this[0];if(a.cy().styleEnabled()&&a){var o=a.pstyle(r);return o.pfValue!==void 0?o.pfValue:o.value}},"numericStyle"),numericStyleUnits:i(function(r){var a=this[0];if(a.cy().styleEnabled()&&a)return a.pstyle(r).units},"numericStyleUnits"),renderedStyle:i(function(r){var a=this.cy();if(!a.styleEnabled())return this;var o=this[0];if(o)return a.style().getRenderedStyle(o,r)},"renderedStyle"),style:i(function(r,a){var o=this.cy();if(!o.styleEnabled())return this;var l=!1,h=o.style();if(Vc(r)){var f=r;h.applyBypass(this,f,l),this.emitAndNotify("style")}else if(Ps(r))if(a===void 0){var p=this[0];return p?h.getStylePropertyValue(p,r):void 0}else h.applyBypass(this,r,a,l),this.emitAndNotify("style");else if(r===void 0){var m=this[0];return m?h.getRawStyle(m):void 0}return this},"style"),removeStyle:i(function(r){var a=this.cy();if(!a.styleEnabled())return this;var o=!1,l=a.style(),h=this;if(r===void 0)for(var f=0;f0&&r.push(v[0]),r.push(p[0])}return this.spawn(r,!0).filter(t)},"neighborhood"),closedNeighborhood:i(function(r){return this.neighborhood().add(this).filter(r)},"closedNeighborhood"),openNeighborhood:i(function(r){return this.neighborhood(r)},"openNeighborhood")});cy.neighbourhood=cy.neighborhood;cy.closedNeighbourhood=cy.closedNeighborhood;cy.openNeighbourhood=cy.openNeighborhood;so(cy,{source:lk(i(function(r){var a=this[0],o;return a&&(o=a._private.source||a.cy().collection()),o&&r?o.filter(r):o},"sourceImpl"),"source"),target:lk(i(function(r){var a=this[0],o;return a&&(o=a._private.target||a.cy().collection()),o&&r?o.filter(r):o},"targetImpl"),"target"),sources:z5r({attr:"source"}),targets:z5r({attr:"target"})});i(z5r,"defineSourceFunction");so(cy,{edgesWith:lk(U5r(),"edgesWith"),edgesTo:lk(U5r({thisIsSrc:!0}),"edgesTo")});i(U5r,"defineEdgesWithFunction");so(cy,{connectedEdges:lk(function(t){for(var r=[],a=this,o=0;o0);return f},"components"),component:i(function(){var r=this[0];return r.cy().mutableElements().components(r)[0]},"component")});cy.componentsOf=cy.components;h1=i(function(r,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(r===void 0){Kf("A collection must have a reference to the core");return}var h=new TA,f=!1;if(!a)a=[];else if(a.length>0&&Vc(a[0])&&!Sne(a[0])){f=!0;for(var p=[],m=new jU,b=0,v=a.length;b0&&arguments[0]!==void 0?arguments[0]:!0,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,a=this,o=a.cy(),l=o._private,h=[],f=[],p,m=0,b=a.length;m0){for(var re=p.length===a.length?a:new h1(o,p),ae=0;ae0&&arguments[0]!==void 0?arguments[0]:!0,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,a=this,o=[],l={},h=a._private.cy;function f(Z){for(var Q=Z._private.edges,W=0;W0&&(t?J.emitAndNotify("remove"):r&&J.emit("remove"));for(var H=0;Hv&&Math.abs(S.v)>v;);return C?function(R){return m[R*(m.length-1)|0]}:b},"springRK4Factory")})(),af=i(function(r,a,o,l){var h=uXn(r,a,o,l);return function(f,p,m){return f+(p-f)*h(m)}},"cubicBezier"),Nxe={linear:i(function(r,a,o){return r+(a-r)*o},"linear"),ease:af(.25,.1,.25,1),"ease-in":af(.42,0,1,1),"ease-out":af(0,0,.58,1),"ease-in-out":af(.42,0,.58,1),"ease-in-sine":af(.47,0,.745,.715),"ease-out-sine":af(.39,.575,.565,1),"ease-in-out-sine":af(.445,.05,.55,.95),"ease-in-quad":af(.55,.085,.68,.53),"ease-out-quad":af(.25,.46,.45,.94),"ease-in-out-quad":af(.455,.03,.515,.955),"ease-in-cubic":af(.55,.055,.675,.19),"ease-out-cubic":af(.215,.61,.355,1),"ease-in-out-cubic":af(.645,.045,.355,1),"ease-in-quart":af(.895,.03,.685,.22),"ease-out-quart":af(.165,.84,.44,1),"ease-in-out-quart":af(.77,0,.175,1),"ease-in-quint":af(.755,.05,.855,.06),"ease-out-quint":af(.23,1,.32,1),"ease-in-out-quint":af(.86,0,.07,1),"ease-in-expo":af(.95,.05,.795,.035),"ease-out-expo":af(.19,1,.22,1),"ease-in-out-expo":af(1,0,0,1),"ease-in-circ":af(.6,.04,.98,.335),"ease-out-circ":af(.075,.82,.165,1),"ease-in-out-circ":af(.785,.135,.15,.86),spring:i(function(r,a,o){if(o===0)return Nxe.linear;var l=hXn(r,a,o);return function(h,f,p){return h+(f-h)*l(p)}},"spring"),"cubic-bezier":af};i(H5r,"getEasedValue");i(q5r,"getValue");i(kU,"ease");i(fXn,"step$1");i(ane,"valid");i(dXn,"startAnimation");i(W5r,"stepAll");pXn={animate:Gu.animate(),animation:Gu.animation(),animated:Gu.animated(),clearQueue:Gu.clearQueue(),delay:Gu.delay(),delayAnimation:Gu.delayAnimation(),stop:Gu.stop(),addToAnimationPool:i(function(r){var a=this;a.styleEnabled()&&a._private.aniEles.merge(r)},"addToAnimationPool"),stopAnimationLoop:i(function(){this._private.animationsRunning=!1},"stopAnimationLoop"),startAnimationLoop:i(function(){var r=this;if(r._private.animationsRunning=!0,!r.styleEnabled())return;function a(){r._private.animationsRunning&&zxe(i(function(h){W5r(h,r),a()},"animationStep"))}i(a,"headlessStep");var o=r.renderer();o&&o.beforeRender?o.beforeRender(i(function(h,f){W5r(f,r)},"rendererAnimationStep"),o.beforeRenderPriorities.animations):a()},"startAnimationLoop")},gXn={qualifierCompare:i(function(r,a){return r==null||a==null?r==null&&a==null:r.sameText(a)},"qualifierCompare"),eventMatches:i(function(r,a,o){var l=a.qualifier;return l!=null?r!==o.target&&Sne(o.target)&&l.matches(o.target):!0},"eventMatches"),addEventFields:i(function(r,a){a.cy=r,a.target=r},"addEventFields"),callbackContext:i(function(r,a,o){return a.qualifier!=null?o.target:r},"callbackContext")},Exe=i(function(r){return Ps(r)?new CD(r):r},"argSelector"),SAr={createEmitter:i(function(){var r=this._private;return r.emitter||(r.emitter=new uTe(gXn,this)),this},"createEmitter"),emitter:i(function(){return this._private.emitter},"emitter"),on:i(function(r,a,o){return this.emitter().on(r,Exe(a),o),this},"on"),removeListener:i(function(r,a,o){return this.emitter().removeListener(r,Exe(a),o),this},"removeListener"),removeAllListeners:i(function(){return this.emitter().removeAllListeners(),this},"removeAllListeners"),one:i(function(r,a,o){return this.emitter().one(r,Exe(a),o),this},"one"),once:i(function(r,a,o){return this.emitter().one(r,Exe(a),o),this},"once"),emit:i(function(r,a){return this.emitter().emit(r,a),this},"emit"),emitAndNotify:i(function(r,a){return this.emit(r),this.notify(r,a),this},"emitAndNotify")};Gu.eventAliasesOn(SAr);wrt={png:i(function(r){var a=this._private.renderer;return r=r||{},a.png(r)},"png"),jpg:i(function(r){var a=this._private.renderer;return r=r||{},r.bg=r.bg||"#fff",a.jpg(r)},"jpg")};wrt.jpeg=wrt.jpg;Oxe={layout:i(function(r){var a=this;if(r==null){Kf("Layout options must be specified to make a layout");return}if(r.name==null){Kf("A `name` must be specified to make a layout");return}var o=r.name,l=a.extension("layout",o);if(l==null){Kf("No such layout `"+o+"` found. Did you forget to import it and `cytoscape.use()` it?");return}var h;Ps(r.eles)?h=a.$(r.eles):h=r.eles!=null?r.eles:a.$();var f=new l(so({},r,{cy:a,eles:h}));return f},"layout")};Oxe.createLayout=Oxe.makeLayout=Oxe.layout;mXn={notify:i(function(r,a){var o=this._private;if(this.batching()){o.batchNotifications=o.batchNotifications||{};var l=o.batchNotifications[r]=o.batchNotifications[r]||this.collection();a!=null&&l.merge(a);return}if(o.notificationsEnabled){var h=this.renderer();this.destroyed()||!h||h.notify(r,a)}},"notify"),notifications:i(function(r){var a=this._private;return r===void 0?a.notificationsEnabled:(a.notificationsEnabled=!!r,this)},"notifications"),noNotifications:i(function(r){this.notifications(!1),r(),this.notifications(!0)},"noNotifications"),batching:i(function(){return this._private.batchCount>0},"batching"),startBatch:i(function(){var r=this._private;return r.batchCount==null&&(r.batchCount=0),r.batchCount===0&&(r.batchStyleEles=this.collection(),r.batchNotifications={}),r.batchCount++,this},"startBatch"),endBatch:i(function(){var r=this._private;if(r.batchCount===0)return this;if(r.batchCount--,r.batchCount===0){r.batchStyleEles.updateStyle();var a=this.renderer();Object.keys(r.batchNotifications).forEach(function(o){var l=r.batchNotifications[o];l.empty()?a.notify(o):a.notify(o,l)})}return this},"endBatch"),batch:i(function(r){return this.startBatch(),r(),this.endBatch(),this},"batch"),batchData:i(function(r){var a=this;return this.batch(function(){for(var o=Object.keys(r),l=0;l0;)a.removeChild(a.childNodes[0]);r._private.renderer=null,r.mutableElements().forEach(function(o){var l=o._private;l.rscratch={},l.rstyle={},l.animation.current=[],l.animation.queue=[]})},"destroyRenderer"),onRender:i(function(r){return this.on("render",r)},"onRender"),offRender:i(function(r){return this.off("render",r)},"offRender")};xrt.invalidateDimensions=xrt.resize;Pxe={collection:i(function(r,a){return Ps(r)?this.$(r):Ww(r)?r.collection():Uh(r)?(a||(a={}),new h1(this,r,a.unique,a.removed)):new h1(this)},"collection"),nodes:i(function(r){var a=this.$(function(o){return o.isNode()});return r?a.filter(r):a},"nodes"),edges:i(function(r){var a=this.$(function(o){return o.isEdge()});return r?a.filter(r):a},"edges"),$:i(function(r){var a=this._private.elements;return r?a.filter(r):a.spawnSelf()},"$"),mutableElements:i(function(){return this._private.elements},"mutableElements")};Pxe.elements=Pxe.filter=Pxe.$;km={},fne="t",bXn="f";km.apply=function(t){for(var r=this,a=r._private,o=a.cy,l=o.collection(),h=0;h0;if(C||T&&E){var S=void 0;C&&E||C?S=b.properties:E&&(S=b.mappedProperties);for(var R=0;R1&&(F=1),p.color){var P=o.valueMin[0],G=o.valueMax[0],V=o.valueMin[1],Y=o.valueMax[1],K=o.valueMin[2],J=o.valueMax[2],H=o.valueMin[3]==null?1:o.valueMin[3],q=o.valueMax[3]==null?1:o.valueMax[3],Z=[Math.round(P+(G-P)*F),Math.round(V+(Y-V)*F),Math.round(K+(J-K)*F),Math.round(H+(q-H)*F)];h={bypass:o.bypass,name:o.name,value:Z,strValue:"rgb("+Z[0]+", "+Z[1]+", "+Z[2]+")"}}else if(p.number){var Q=o.valueMin+(o.valueMax-o.valueMin)*F;h=this.parse(o.name,Q,o.bypass,C)}else return!1;if(!h)return R(),!1;h.mapping=o,o=h;break}case f.data:{for(var W=o.field.split("."),te=T.data,z=0;z0&&h>0){for(var p={},m=!1,b=0;b0?t.delayAnimation(f).play().promise().then(I):I()}).then(function(){return t.animation({style:p,duration:h,easing:t.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){a.removeBypasses(t,l),t.emitAndNotify("style"),o.transitioning=!1})}else o.transitioning&&(this.removeBypasses(t,l),t.emitAndNotify("style"),o.transitioning=!1)};km.checkTrigger=function(t,r,a,o,l,h){var f=this.properties[r],p=l(f);t.removed()||p!=null&&p(a,o,t)&&h(f)};km.checkZOrderTrigger=function(t,r,a,o){var l=this;this.checkTrigger(t,r,a,o,function(h){return h.triggersZOrder},function(){l._private.cy.notify("zorder",t)})};km.checkBoundsTrigger=function(t,r,a,o){this.checkTrigger(t,r,a,o,function(l){return l.triggersBounds},function(l){t.dirtyCompoundBoundsCache(),t.dirtyBoundingBoxCache()})};km.checkConnectedEdgesBoundsTrigger=function(t,r,a,o){this.checkTrigger(t,r,a,o,function(l){return l.triggersBoundsOfConnectedEdges},function(l){t.connectedEdges().forEach(function(h){h.dirtyBoundingBoxCache()})})};km.checkParallelEdgesBoundsTrigger=function(t,r,a,o){this.checkTrigger(t,r,a,o,function(l){return l.triggersBoundsOfParallelEdges},function(l){t.parallelEdges().forEach(function(h){h.dirtyBoundingBoxCache()})})};km.checkTriggers=function(t,r,a,o){t.dirtyStyleCache(),this.checkZOrderTrigger(t,r,a,o),this.checkBoundsTrigger(t,r,a,o),this.checkConnectedEdgesBoundsTrigger(t,r,a,o),this.checkParallelEdgesBoundsTrigger(t,r,a,o)};Ine={};Ine.applyBypass=function(t,r,a,o){var l=this,h=[],f=!0;if(r==="*"||r==="**"){if(a!==void 0)for(var p=0;pl.length?o=o.substr(l.length):o=""}i(p,"removeSelAndBlockFromRemaining");function m(){h.length>f.length?h=h.substr(f.length):h=""}for(i(m,"removePropAndValFromRem");;){var b=o.match(/^\s*$/);if(b)break;var v=o.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!v){ju("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+o);break}l=v[0];var T=v[1];if(T!=="core"){var C=new CD(T);if(C.invalid){ju("Skipping parsing of block: Invalid selector found in string stylesheet: "+T),p();continue}}var E=v[2],S=!1;h=E;for(var R=[];;){var L=h.match(/^\s*$/);if(L)break;var _=h.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!_){ju("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+E),S=!0;break}f=_[0];var M=_[1],I=_[2],F=r.properties[M];if(!F){ju("Skipping property: Invalid property name in: "+f),m();continue}var O=a.parse(M,I);if(!O){ju("Skipping property: Invalid property definition in: "+f),m();continue}R.push({name:M,val:I}),m()}if(S){p();break}a.selector(T);for(var P=0;P=7&&r[0]==="d"&&(v=new RegExp(p.data.regex).exec(r))){if(a)return!1;var C=p.data;return{name:t,value:v,strValue:""+r,mapped:C,field:v[1],bypass:a}}else if(r.length>=10&&r[0]==="m"&&(T=new RegExp(p.mapData.regex).exec(r))){if(a||b.multiple)return!1;var E=p.mapData;if(!(b.color||b.number))return!1;var S=this.parse(t,T[4]);if(!S||S.mapped)return!1;var R=this.parse(t,T[5]);if(!R||R.mapped)return!1;if(S.pfValue===R.pfValue||S.strValue===R.strValue)return ju("`"+t+": "+r+"` is not a valid mapper because the output range is zero; converting to `"+t+": "+S.strValue+"`"),this.parse(t,S.strValue);if(b.color){var L=S.value,_=R.value,M=L[0]===_[0]&&L[1]===_[1]&&L[2]===_[2]&&(L[3]===_[3]||(L[3]==null||L[3]===1)&&(_[3]==null||_[3]===1));if(M)return!1}return{name:t,value:T,strValue:""+r,mapped:E,field:T[1],fieldMin:parseFloat(T[2]),fieldMax:parseFloat(T[3]),valueMin:S.value,valueMax:R.value,bypass:a}}}if(b.multiple&&o!=="multiple"){var I;if(m?I=r.split(/\s+/):Uh(r)?I=r:I=[r],b.evenMultiple&&I.length%2!==0)return null;for(var F=[],O=[],P=[],G="",V=!1,Y=0;Y0?" ":"")+K.strValue}return b.validate&&!b.validate(F,O)?null:b.singleEnum&&V?F.length===1&&Ps(F[0])?{name:t,value:F[0],strValue:F[0],bypass:a}:null:{name:t,value:F,pfValue:P,strValue:G,bypass:a,units:O}}var J=i(function(){for(var De=0;Deb.max||b.strictMax&&r===b.max))return null;var W={name:t,value:r,strValue:""+r+(H||""),units:H,bypass:a};return b.unitless||H!=="px"&&H!=="em"?W.pfValue=r:W.pfValue=H==="px"||!H?r:this.getEmSizeInPixels()*r,(H==="ms"||H==="s")&&(W.pfValue=H==="ms"?r:1e3*r),(H==="deg"||H==="rad")&&(W.pfValue=H==="rad"?r:pWn(r)),H==="%"&&(W.pfValue=r/100),W}else if(b.propList){var te=[],z=""+r;if(z!=="none"){for(var re=z.split(/\s*,\s*|\s+/),ae=0;ae0&&p>0&&!isNaN(o.w)&&!isNaN(o.h)&&o.w>0&&o.h>0){m=Math.min((f-2*a)/o.w,(p-2*a)/o.h),m=m>this._private.maxZoom?this._private.maxZoom:m,m=m=o.minZoom&&(o.maxZoom=a),this},"zoomRange"),minZoom:i(function(r){return r===void 0?this._private.minZoom:this.zoomRange({min:r})},"minZoom"),maxZoom:i(function(r){return r===void 0?this._private.maxZoom:this.zoomRange({max:r})},"maxZoom"),getZoomedViewport:i(function(r){var a=this._private,o=a.pan,l=a.zoom,h,f,p=!1;if(a.zoomingEnabled||(p=!0),oa(r)?f=r:Vc(r)&&(f=r.level,r.position!=null?h=nTe(r.position,l,o):r.renderedPosition!=null&&(h=r.renderedPosition),h!=null&&!a.panningEnabled&&(p=!0)),f=f>a.maxZoom?a.maxZoom:f,f=fa.maxZoom||!a.zoomingEnabled?f=!0:(a.zoom=m,h.push("zoom"))}if(l&&(!f||!r.cancelOnFailedZoom)&&a.panningEnabled){var b=r.pan;oa(b.x)&&(a.pan.x=b.x,p=!1),oa(b.y)&&(a.pan.y=b.y,p=!1),p||h.push("pan")}return h.length>0&&(h.push("viewport"),this.emit(h.join(" ")),this.notify("viewport")),this},"viewport"),center:i(function(r){var a=this.getCenterPan(r);return a&&(this._private.pan=a,this.emit("pan viewport"),this.notify("viewport")),this},"center"),getCenterPan:i(function(r,a){if(this._private.panningEnabled){if(Ps(r)){var o=r;r=this.mutableElements().filter(o)}else Ww(r)||(r=this.mutableElements());if(r.length!==0){var l=r.boundingBox(),h=this.width(),f=this.height();a=a===void 0?this._private.zoom:a;var p={x:(h-a*(l.x1+l.x2))/2,y:(f-a*(l.y1+l.y2))/2};return p}}},"getCenterPan"),reset:i(function(){return!this._private.panningEnabled||!this._private.zoomingEnabled?this:(this.viewport({pan:{x:0,y:0},zoom:1}),this)},"reset"),invalidateSize:i(function(){this._private.sizeCache=null},"invalidateSize"),size:i(function(){var r=this._private,a=r.container,o=this;return r.sizeCache=r.sizeCache||(a?(function(){var l=o.window().getComputedStyle(a),h=i(function(p){return parseFloat(l.getPropertyValue(p))},"val");return{width:a.clientWidth-h("padding-left")-h("padding-right"),height:a.clientHeight-h("padding-top")-h("padding-bottom")}})():{width:1,height:1})},"size"),width:i(function(){return this.size().width},"width"),height:i(function(){return this.size().height},"height"),extent:i(function(){var r=this._private.pan,a=this._private.zoom,o=this.renderedExtent(),l={x1:(o.x1-r.x)/a,x2:(o.x2-r.x)/a,y1:(o.y1-r.y)/a,y2:(o.y2-r.y)/a};return l.w=l.x2-l.x1,l.h=l.y2-l.y1,l},"extent"),renderedExtent:i(function(){var r=this.width(),a=this.height();return{x1:0,y1:0,x2:r,y2:a,w:r,h:a}},"renderedExtent"),multiClickDebounceTime:i(function(r){if(r)this._private.multiClickDebounceTime=r;else return this._private.multiClickDebounceTime;return this},"multiClickDebounceTime")};$O.centre=$O.center;$O.autolockNodes=$O.autolock;$O.autoungrabifyNodes=$O.autoungrabify;Tne={data:Gu.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:Gu.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:Gu.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Gu.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};Tne.attr=Tne.data;Tne.removeAttr=Tne.removeData;kne=i(function(r){var a=this;r=so({},r);var o=r.container;o&&!jxe(o)&&jxe(o[0])&&(o=o[0]);var l=o?o._cyreg:null;l=l||{},l&&l.cy&&(l.cy.destroy(),l={});var h=l.readies=l.readies||[];o&&(o._cyreg=l),l.cy=a;var f=w0!==void 0&&o!==void 0&&!r.headless,p=r;p.layout=so({name:f?"grid":"null"},p.layout),p.renderer=so({name:f?"canvas":"null"},p.renderer);var m=i(function(S,R,L){return R!==void 0?R:L!==void 0?L:S},"defVal"),b=this._private={container:o,ready:!1,options:p,elements:new h1(this),listeners:[],aniEles:new h1(this),data:p.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:m(!0,p.zoomingEnabled),userZoomingEnabled:m(!0,p.userZoomingEnabled),panningEnabled:m(!0,p.panningEnabled),userPanningEnabled:m(!0,p.userPanningEnabled),boxSelectionEnabled:m(!0,p.boxSelectionEnabled),autolock:m(!1,p.autolock,p.autolockNodes),autoungrabify:m(!1,p.autoungrabify,p.autoungrabifyNodes),autounselectify:m(!1,p.autounselectify),styleEnabled:p.styleEnabled===void 0?f:p.styleEnabled,zoom:oa(p.zoom)?p.zoom:1,pan:{x:Vc(p.pan)&&oa(p.pan.x)?p.pan.x:0,y:Vc(p.pan)&&oa(p.pan.y)?p.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:m(250,p.multiClickDebounceTime)};this.createEmitter(),this.selectionType(p.selectionType),this.zoomRange({min:p.minZoom,max:p.maxZoom});var v=i(function(S,R){var L=S.some(lqn);if(L)return zU.all(S).then(R);R(S)},"loadExtData");b.styleEnabled&&a.setStyle([]);var T=so({},p,p.renderer);a.initRenderer(T);var C=i(function(S,R,L){a.notifications(!1);var _=a.mutableElements();_.length>0&&_.remove(),S!=null&&(Vc(S)||Uh(S))&&a.add(S),a.one("layoutready",function(I){a.notifications(!0),a.emit(I),a.one("load",R),a.emitAndNotify("load")}).one("layoutstop",function(){a.one("done",L),a.emit("done")});var M=so({},a._private.options.layout);M.eles=a.elements(),a.layout(M).run()},"setElesAndLayout");v([p.style,p.elements],function(E){var S=E[0],R=E[1];b.styleEnabled&&a.style().append(S),C(R,function(){a.startAnimationLoop(),b.ready=!0,Od(p.ready)&&a.on("ready",p.ready);for(var L=0;L0,p=!!t.boundingBox,m=Lb(p?t.boundingBox:structuredClone(r.extent())),b;if(Ww(t.roots))b=t.roots;else if(Uh(t.roots)){for(var v=[],T=0;T0;){var Z=q(),Q=Y(Z,J);if(Q)Z.outgoers().filter(function(Rt){return Rt.isNode()&&a.has(Rt)}).forEach(H);else if(Q===null){ju("Detected double maximal shift for node `"+Z.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}var W=0;if(t.avoidOverlap)for(var te=0;te0&&_[0].length<=3?je/2:0),nt=2*Math.PI/_[Me].length*Fe;return Me===0&&_[0].length===1&&(He=1),{x:We.x+He*Math.cos(nt),y:We.y+He*Math.sin(nt)}}else{var ze=_[Me].length,se=Math.max(ze===1?0:p?(m.w-t.padding*2-mt.w)/((t.grid?Ot:ze)-1):(m.w-t.padding*2-mt.w)/((t.grid?Ot:ze)+1),W),ke={x:We.x+(Fe+1-(ze+1)/2)*se,y:We.y+(Me+1-(Se+1)/2)*ct};return ke}},"getPositionTopBottom"),tr={downward:0,leftward:90,upward:180,rightward:-90};Object.keys(tr).indexOf(t.direction)===-1&&Kf("Invalid direction '".concat(t.direction,"' specified for breadthfirst layout. Valid values are: ").concat(Object.keys(tr).join(", ")));var Xe=i(function(ft){return Bqn(yr(ft),m,tr[t.direction])},"getPosition");return a.nodes().layoutPositions(this,t,Xe),this};kXn={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:3/2*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:i(function(r,a){return!0},"animateFilter"),ready:void 0,stop:void 0,transform:i(function(r,a){return a},"transform")};i(RAr,"CircleLayout");RAr.prototype.run=function(){var t=this.options,r=t,a=t.cy,o=r.eles,l=r.counterclockwise!==void 0?!r.counterclockwise:r.clockwise,h=o.nodes().not(":parent");r.sort&&(h=h.sort(r.sort));for(var f=Lb(r.boundingBox?r.boundingBox:{x1:0,y1:0,w:a.width(),h:a.height()}),p={x:f.x1+f.w/2,y:f.y1+f.h/2},m=r.sweep===void 0?2*Math.PI-2*Math.PI/h.length:r.sweep,b=m/Math.max(1,h.length-1),v,T=0,C=0;C1&&r.avoidOverlap){T*=1.75;var _=Math.cos(b)-Math.cos(0),M=Math.sin(b)-Math.sin(0),I=Math.sqrt(T*T/(_*_+M*M));v=Math.max(I,v)}var F=i(function(P,G){var V=r.startAngle+G*b*(l?1:-1),Y=v*Math.cos(V),K=v*Math.sin(V),J={x:p.x+Y,y:p.y+K};return J},"getPos");return o.nodes().layoutPositions(this,r,F),this};CXn={fit:!0,padding:30,startAngle:3/2*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:i(function(r){return r.degree()},"concentric"),levelWidth:i(function(r){return r.maxDegree()/4},"levelWidth"),animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:i(function(r,a){return!0},"animateFilter"),ready:void 0,stop:void 0,transform:i(function(r,a){return a},"transform")};i(LAr,"ConcentricLayout");LAr.prototype.run=function(){for(var t=this.options,r=t,a=r.counterclockwise!==void 0?!r.counterclockwise:r.clockwise,o=t.cy,l=r.eles,h=l.nodes().not(":parent"),f=Lb(r.boundingBox?r.boundingBox:{x1:0,y1:0,w:o.width(),h:o.height()}),p={x:f.x1+f.w/2,y:f.y1+f.h/2},m=[],b=0,v=0;v0){var O=Math.abs(M[0].value-F.value);O>=L&&(M=[],_.push(M))}M.push(F)}var P=b+r.minNodeSpacing;if(!r.avoidOverlap){var G=_.length>0&&_[0].length>1,V=Math.min(f.w,f.h)/2-P,Y=V/(_.length+G?1:0);P=Math.min(P,Y)}for(var K=0,J=0;J<_.length;J++){var H=_[J],q=r.sweep===void 0?2*Math.PI-2*Math.PI/H.length:r.sweep,Z=H.dTheta=q/Math.max(1,H.length-1);if(H.length>1&&r.avoidOverlap){var Q=Math.cos(Z)-Math.cos(0),W=Math.sin(Z)-Math.sin(0),te=Math.sqrt(P*P/(Q*Q+W*W));K=Math.max(te,K)}H.r=K,K+=P}if(r.equidistant){for(var z=0,re=0,ae=0;ae<_.length;ae++){var ce=_[ae],le=ce.r-re;z=Math.max(z,le)}re=0;for(var de=0;de<_.length;de++){var ve=_[de];de===0&&(re=ve.r),ve.r=re,re+=z}}for(var Se={},_e=0;_e<_.length;_e++)for(var Ce=_[_e],Ve=Ce.dTheta,De=Ce.r,qe=0;qe=t.numIter||(_Xn(o,t),o.temperature=o.temperature*t.coolingFactor,o.temperature=t.animationThreshold&&h(),zxe(v)}},"frame");v()}else{for(;b;)b=f(m),m++;X5r(o,t),p()}return this};gTe.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this};gTe.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};SXn=i(function(r,a,o){for(var l=o.eles.edges(),h=o.eles.nodes(),f=Lb(o.boundingBox?o.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),p={isCompound:r.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:h.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:l.size(),temperature:o.initialTemp,clientWidth:f.w,clientHeight:f.h,boundingBox:f},m=o.eles.components(),b={},v=0;v0){p.graphSet.push(V);for(var v=0;vl.count?0:l.graph},"findLCA"),DAr=i(function(r,a,o,l){var h=l.graphSet[o];if(-10)var T=l.nodeOverlap*v,C=Math.sqrt(p*p+m*m),E=T*p/C,S=T*m/C;else var R=Kxe(r,p,m),L=Kxe(a,-1*p,-1*m),_=L.x-R.x,M=L.y-R.y,I=_*_+M*M,C=Math.sqrt(I),T=(r.nodeRepulsion+a.nodeRepulsion)/I,E=T*_/C,S=T*M/C;r.isLocked||(r.offsetX-=E,r.offsetY-=S),a.isLocked||(a.offsetX+=E,a.offsetY+=S)}},"nodeRepulsion"),NXn=i(function(r,a,o,l){if(o>0)var h=r.maxX-a.minX;else var h=a.maxX-r.minX;if(l>0)var f=r.maxY-a.minY;else var f=a.maxY-r.minY;return h>=0&&f>=0?Math.sqrt(h*h+f*f):0},"nodesOverlap"),Kxe=i(function(r,a,o){var l=r.positionX,h=r.positionY,f=r.height||1,p=r.width||1,m=o/a,b=f/p,v={};return a===0&&0o?(v.x=l,v.y=h+f/2,v):0a&&-1*b<=m&&m<=b?(v.x=l-p/2,v.y=h-p*o/2/a,v):0=b)?(v.x=l+f*a/2/o,v.y=h+f/2,v):(0>o&&(m<=-1*b||m>=b)&&(v.x=l-f*a/2/o,v.y=h-f/2),v)},"findClippingPoint"),OXn=i(function(r,a){for(var o=0;oo){var L=a.gravity*E/R,_=a.gravity*S/R;C.offsetX+=L,C.offsetY+=_}}}}},"calculateGravityForces"),BXn=i(function(r,a){var o=[],l=0,h=-1;for(o.push.apply(o,r.graphSet[0]),h+=r.graphSet[0].length;l<=h;){var f=o[l++],p=r.idToIndex[f],m=r.layoutNodes[p],b=m.children;if(0o)var h={x:o*r/l,y:o*a/l};else var h={x:r,y:a};return h},"limitForce"),MAr=i(function(r,a){var o=r.parentId;if(o!=null){var l=a.layoutNodes[a.idToIndex[o]],h=!1;if((l.maxX==null||r.maxX+l.padRight>l.maxX)&&(l.maxX=r.maxX+l.padRight,h=!0),(l.minX==null||r.minX-l.padLeftl.maxY)&&(l.maxY=r.maxY+l.padBottom,h=!0),(l.minY==null||r.minY-l.padTop_&&(S+=L+a.componentSpacing,E=0,R=0,L=0)}}},"separateComponents"),GXn={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:i(function(r){},"position"),sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:i(function(r,a){return!0},"animateFilter"),ready:void 0,stop:void 0,transform:i(function(r,a){return a},"transform")};i(IAr,"GridLayout");IAr.prototype.run=function(){var t=this.options,r=t,a=t.cy,o=r.eles,l=o.nodes().not(":parent");r.sort&&(l=l.sort(r.sort));var h=Lb(r.boundingBox?r.boundingBox:{x1:0,y1:0,w:a.width(),h:a.height()});if(h.h===0||h.w===0)o.nodes().layoutPositions(this,r,function(de){return{x:h.x1,y:h.y1}});else{var f=l.size(),p=Math.sqrt(f*h.h/h.w),m=Math.round(p),b=Math.round(h.w/h.h*p),v=i(function(ve){if(ve==null)return Math.min(m,b);var Se=Math.min(m,b);Se==m?m=ve:b=ve},"small"),T=i(function(ve){if(ve==null)return Math.max(m,b);var Se=Math.max(m,b);Se==m?m=ve:b=ve},"large"),C=r.rows,E=r.cols!=null?r.cols:r.columns;if(C!=null&&E!=null)m=C,b=E;else if(C!=null&&E==null)m=C,b=Math.ceil(f/m);else if(C==null&&E!=null)b=E,m=Math.ceil(f/b);else if(b*m>f){var S=v(),R=T();(S-1)*R>=f?v(S-1):(R-1)*S>=f&&T(R-1)}else for(;b*m=f?T(_+1):v(L+1)}var M=h.w/b,I=h.h/m;if(r.condense&&(M=0,I=0),r.avoidOverlap)for(var F=0;F=b&&(Q=0,Z++)},"moveToNextCell"),te={},z=0;z(Q=RWn(t,r,W[te],W[te+1],W[te+2],W[te+3])))return L(G,Q),!0}else if(Y.edgeType==="bezier"||Y.edgeType==="multibezier"||Y.edgeType==="self"||Y.edgeType==="compound"){for(var W=Y.allpts,te=0;te+5(Q=AWn(t,r,W[te],W[te+1],W[te+2],W[te+3],W[te+4],W[te+5])))return L(G,Q),!0}for(var z=z||V.source,re=re||V.target,ae=l.getArrowWidth(K,J),ce=[{name:"source",x:Y.arrowStartX,y:Y.arrowStartY,angle:Y.srcArrowAngle},{name:"target",x:Y.arrowEndX,y:Y.arrowEndY,angle:Y.tgtArrowAngle},{name:"mid-source",x:Y.midX,y:Y.midY,angle:Y.midsrcArrowAngle},{name:"mid-target",x:Y.midX,y:Y.midY,angle:Y.midtgtArrowAngle}],te=0;te0&&(_(z),_(re))}i(M,"checkEdge");function I(G,V,Y){return Rb(G,V,Y)}i(I,"preprop");function F(G,V){var Y=G._private,K=C,J;V?J=V+"-":J="",G.boundingBox();var H=Y.labelBounds[V||"main"],q=G.pstyle(J+"label").value,Z=G.pstyle("text-events").strValue==="yes";if(!(!Z||!q)){var Q=I(Y.rscratch,"labelX",V),W=I(Y.rscratch,"labelY",V),te=I(Y.rscratch,"labelAngle",V),z=G.pstyle(J+"text-margin-x").pfValue,re=G.pstyle(J+"text-margin-y").pfValue,ae=H.x1-K-z,ce=H.x2+K-z,le=H.y1-K-re,de=H.y2+K-re;if(te){var ve=Math.cos(te),Se=Math.sin(te),_e=i(function(mt,ct){return mt=mt-Q,ct=ct-W,{x:mt*ve-ct*Se+Q,y:mt*Se+ct*ve+W}},"rotate"),Ce=_e(ae,le),Ve=_e(ae,de),De=_e(ce,le),qe=_e(ce,de),Ue=[Ce.x+z,Ce.y+re,De.x+z,De.y+re,qe.x+z,qe.y+re,Ve.x+z,Ve.y+re];if(c2(t,r,Ue))return L(G),!0}else if(yD(H,t,r))return L(G),!0}}i(F,"checkLabel");for(var O=f.length-1;O>=0;O--){var P=f[O];P.isNode()?_(P)||F(P):M(P)||F(P)||F(P,"source")||F(P,"target")}return p};jO.getAllInBox=function(t,r,a,o){var l=this.getCachedZSortedEles().interactive,h=this.cy.zoom(),f=2/h,p=[],m=Math.min(t,a),b=Math.max(t,a),v=Math.min(r,o),T=Math.max(r,o);t=m,a=b,r=v,o=T;var C=Lb({x1:t,y1:r,x2:a,y2:o}),E=[{x:C.x1,y:C.y1},{x:C.x2,y:C.y1},{x:C.x2,y:C.y2},{x:C.x1,y:C.y2}],S=[[E[0],E[1]],[E[1],E[2]],[E[2],E[3]],[E[3],E[0]]];function R(mt,ct,Ot){return Rb(mt,ct,Ot)}i(R,"preprop");function L(mt,ct){var Ot=mt._private,yr=f,tr="";mt.boundingBox();var Xe=Ot.labelBounds.main;if(!Xe)return null;var Rt=R(Ot.rscratch,"labelX",ct),ft=R(Ot.rscratch,"labelY",ct),bt=R(Ot.rscratch,"labelAngle",ct),Me=mt.pstyle(tr+"text-margin-x").pfValue,Fe=mt.pstyle(tr+"text-margin-y").pfValue,je=Xe.x1-yr-Me,He=Xe.x2+yr-Me,nt=Xe.y1-yr-Fe,ze=Xe.y2+yr-Fe;if(bt){var se=Math.cos(bt),ke=Math.sin(bt),Le=i(function(Ne,Ee){return Ne=Ne-Rt,Ee=Ee-ft,{x:Ne*se-Ee*ke+Rt,y:Ne*ke+Ee*se+ft}},"rotate");return[Le(je,nt),Le(He,nt),Le(He,ze),Le(je,ze)]}else return[{x:je,y:nt},{x:He,y:nt},{x:He,y:ze},{x:je,y:ze}]}i(L,"getRotatedLabelBox");function _(mt,ct,Ot,yr){function tr(Xe,Rt,ft){return(ft.y-Xe.y)*(Rt.x-Xe.x)>(Rt.y-Xe.y)*(ft.x-Xe.x)}return i(tr,"ccw"),tr(mt,Ot,yr)!==tr(ct,Ot,yr)&&tr(mt,ct,Ot)!==tr(mt,ct,yr)}i(_,"doLinesIntersect");for(var M=0;M0?-(Math.PI-r.ang):Math.PI+r.ang},"invertVec"),qXn=i(function(r,a,o,l,h){if(r!==t6r?r6r(a,r,gS):HXn(sk,gS),r6r(a,o,sk),Z5r=gS.nx*sk.ny-gS.ny*sk.nx,e6r=gS.nx*sk.nx-gS.ny*-sk.ny,xA=Math.asin(Math.max(-1,Math.min(1,Z5r))),Math.abs(xA)<1e-6){Trt=a.x,krt=a.y,MO=EU=0;return}NO=1,Bxe=!1,e6r<0?xA<0?xA=Math.PI+xA:(xA=Math.PI-xA,NO=-1,Bxe=!0):xA>0&&(NO=-1,Bxe=!0),a.radius!==void 0?EU=a.radius:EU=l,RO=xA/2,Sxe=Math.min(gS.len/2,sk.len/2),h?(dS=Math.abs(Math.cos(RO)*EU/Math.sin(RO)),dS>Sxe?(dS=Sxe,MO=Math.abs(dS*Math.sin(RO)/Math.cos(RO))):MO=EU):(dS=Math.min(Sxe,EU),MO=Math.abs(dS*Math.sin(RO)/Math.cos(RO))),Crt=a.x+sk.nx*dS,Ert=a.y+sk.ny*dS,Trt=Crt-sk.ny*MO*NO,krt=Ert+sk.nx*MO*NO,BAr=a.x+gS.nx*dS,FAr=a.y+gS.ny*dS,t6r=a},"calcCornerArc");i($Ar,"drawPreparedRoundCorner");i(Jrt,"getRoundCorner");Cne=.01,WXn=Math.sqrt(2*Cne),hy={};hy.findMidptPtsEtc=function(t,r){var a=r.posPts,o=r.intersectionPts,l=r.vectorNormInverse,h,f=t.pstyle("source-endpoint"),p=t.pstyle("target-endpoint"),m=f.units!=null&&p.units!=null,b=i(function(O,P,G,V){var Y=V-P,K=G-O,J=Math.sqrt(K*K+Y*Y);return{x:-Y/J,y:K/J}},"recalcVectorNormInverse"),v=t.pstyle("edge-distances").value;switch(v){case"node-position":h=a;break;case"intersection":h=o;break;case"endpoints":{if(m){var T=this.manualEndptToPx(t.source()[0],f),C=Mg(T,2),E=C[0],S=C[1],R=this.manualEndptToPx(t.target()[0],p),L=Mg(R,2),_=L[0],M=L[1],I={x1:E,y1:S,x2:_,y2:M};l=b(E,S,_,M),h=I}else ju("Edge ".concat(t.id()," has edge-distances:endpoints specified without manual endpoints specified via source-endpoint and target-endpoint. Falling back on edge-distances:intersection (default).")),h=o;break}}return{midptPts:h,vectorNormInverse:l}};hy.findHaystackPoints=function(t){for(var r=0;r0?Math.max(Ee-ye,0):Math.min(Ee+ye,0)},"subDWH"),q=H(K,V),Z=H(J,Y),Q=!1;M===b?_=Math.abs(q)>Math.abs(Z)?l:o:M===m||M===p?(_=o,Q=!0):(M===h||M===f)&&(_=l,Q=!0);var W=_===o,te=W?Z:q,z=W?J:K,re=$rt(z),ae=!1;!(Q&&(F||P))&&(M===p&&z<0||M===m&&z>0||M===h&&z>0||M===f&&z<0)&&(re*=-1,te=re*Math.abs(te),ae=!0);var ce;if(F){var le=O<0?1+O:O;ce=le*te}else{var de=O<0?te:0;ce=de+O*re}var ve=i(function(Ee){return Math.abs(Ee)=Math.abs(te)},"getIsTooClose"),Se=ve(ce),_e=ve(Math.abs(te)-Math.abs(ce)),Ce=Se||_e;if(Ce&&!ae)if(W){var Ve=Math.abs(z)<=C/2,De=Math.abs(K)<=E/2;if(Ve){var qe=(v.x1+v.x2)/2,Ue=v.y1,We=v.y2;a.segpts=[qe,Ue,qe,We]}else if(De){var mt=(v.y1+v.y2)/2,ct=v.x1,Ot=v.x2;a.segpts=[ct,mt,Ot,mt]}else a.segpts=[v.x1,v.y2]}else{var yr=Math.abs(z)<=T/2,tr=Math.abs(J)<=S/2;if(yr){var Xe=(v.y1+v.y2)/2,Rt=v.x1,ft=v.x2;a.segpts=[Rt,Xe,ft,Xe]}else if(tr){var bt=(v.x1+v.x2)/2,Me=v.y1,Fe=v.y2;a.segpts=[bt,Me,bt,Fe]}else a.segpts=[v.x2,v.y1]}else if(W){var je=v.y1+ce+(L?C/2*re:0),He=v.x1,nt=v.x2;a.segpts=[He,je,nt,je]}else{var ze=v.x1+ce+(L?T/2*re:0),se=v.y1,ke=v.y2;a.segpts=[ze,se,ze,ke]}if(a.isRound){var Le=t.pstyle("taxi-radius").value,he=t.pstyle("radius-type").value[0]==="arc-radius";a.radii=new Array(a.segpts.length/2).fill(Le),a.isArcRadius=new Array(a.segpts.length/2).fill(he)}};hy.tryToCorrectInvalidPoints=function(t,r){var a=t._private.rscratch;if(a.edgeType==="bezier"){var o=r.srcPos,l=r.tgtPos,h=r.srcW,f=r.srcH,p=r.tgtW,m=r.tgtH,b=r.srcShape,v=r.tgtShape,T=r.srcCornerRadius,C=r.tgtCornerRadius,E=r.srcRs,S=r.tgtRs,R=!oa(a.startX)||!oa(a.startY),L=!oa(a.arrowStartX)||!oa(a.arrowStartY),_=!oa(a.endX)||!oa(a.endY),M=!oa(a.arrowEndX)||!oa(a.arrowEndY),I=3,F=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth,O=I*F,P=BO({x:a.ctrlpts[0],y:a.ctrlpts[1]},{x:a.startX,y:a.startY}),G=Pz.poolIndex()){var re=te;te=z,z=re}var ae=q.srcPos=te.position(),ce=q.tgtPos=z.position(),le=q.srcW=te.outerWidth(),de=q.srcH=te.outerHeight(),ve=q.tgtW=z.outerWidth(),Se=q.tgtH=z.outerHeight(),_e=q.srcShape=a.nodeShapes[r.getNodeShape(te)],Ce=q.tgtShape=a.nodeShapes[r.getNodeShape(z)],Ve=q.srcCornerRadius=te.pstyle("corner-radius").value==="auto"?"auto":te.pstyle("corner-radius").pfValue,De=q.tgtCornerRadius=z.pstyle("corner-radius").value==="auto"?"auto":z.pstyle("corner-radius").pfValue,qe=q.tgtRs=z._private.rscratch,Ue=q.srcRs=te._private.rscratch;q.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var We=0;We=WXn||(nt=Math.sqrt(Math.max(He*He,Cne)+Math.max(je*je,Cne)));var ze=q.vector={x:He,y:je},se=q.vectorNorm={x:ze.x/nt,y:ze.y/nt},ke={x:-se.y,y:se.x};q.nodesOverlap=!oa(nt)||Ce.checkPoint(Xe[0],Xe[1],0,ve,Se,ce.x,ce.y,De,qe)||_e.checkPoint(ft[0],ft[1],0,le,de,ae.x,ae.y,Ve,Ue),q.vectorNormInverse=ke,Z={nodesOverlap:q.nodesOverlap,dirCounts:q.dirCounts,calculatedIntersection:!0,hasBezier:q.hasBezier,hasUnbundled:q.hasUnbundled,eles:q.eles,srcPos:ce,srcRs:qe,tgtPos:ae,tgtRs:Ue,srcW:ve,srcH:Se,tgtW:le,tgtH:de,srcIntn:bt,tgtIntn:Rt,srcShape:Ce,tgtShape:_e,posPts:{x1:Fe.x2,y1:Fe.y2,x2:Fe.x1,y2:Fe.y1},intersectionPts:{x1:Me.x2,y1:Me.y2,x2:Me.x1,y2:Me.y1},vector:{x:-ze.x,y:-ze.y},vectorNorm:{x:-se.x,y:-se.y},vectorNormInverse:{x:-ke.x,y:-ke.y}}}var Le=tr?Z:q;ct.nodesOverlap=Le.nodesOverlap,ct.srcIntn=Le.srcIntn,ct.tgtIntn=Le.tgtIntn,ct.isRound=Ot.startsWith("round"),l&&(te.isParent()||te.isChild()||z.isParent()||z.isChild())&&(te.parents().anySame(z)||z.parents().anySame(te)||te.same(z)&&te.isParent())?r.findCompoundLoopPoints(mt,Le,We,yr):te===z?r.findLoopPoints(mt,Le,We,yr):Ot.endsWith("segments")?r.findSegmentsPoints(mt,Le):Ot.endsWith("taxi")?r.findTaxiPoints(mt,Le):Ot==="straight"||!yr&&q.eles.length%2===1&&We===Math.floor(q.eles.length/2)?r.findStraightEdgePoints(mt):r.findBezierPoints(mt,Le,We,yr,tr),r.findEndpoints(mt),r.tryToCorrectInvalidPoints(mt,Le),r.checkForInvalidEdgeWarning(mt),r.storeAllpts(mt),r.storeEdgeProjections(mt),r.calculateArrowAngles(mt),r.recalculateEdgeLabelProjections(mt),r.calculateLabelAngles(mt)}},"_loop"),G=0;G0){var Xe=b,Rt=_O(Xe,LU(f)),ft=_O(Xe,LU(tr)),bt=Rt;if(ft2){var Me=_O(Xe,{x:tr[2],y:tr[3]});Me0){var be=v,ht=_O(be,LU(f)),Je=_O(be,LU(ye)),it=ht;if(Je2){var lt=_O(be,{x:ye[2],y:ye[3]});lt=S||G){L={cp:F,segment:P};break}}if(L)break}var V=L.cp,Y=L.segment,K=(S-_)/Y.length,J=Y.t1-Y.t0,H=E?Y.t0+J*K:Y.t1-J*K;H=bne(0,H,1),r=MU(V.p0,V.p1,V.p2,H),C=KXn(V.p0,V.p1,V.p2,H);break}case"straight":case"segments":case"haystack":{for(var q=0,Z,Q,W,te,z=o.allpts.length,re=0;re+3=S));re+=2);var ae=S-Q,ce=ae/Z;ce=bne(0,ce,1),r=mWn(W,te,ce),C=zAr(W,te);break}}f("labelX",T,r.x),f("labelY",T,r.y),f("labelAutoAngle",T,C)}},"calculateEndProjection");b("source"),b("target"),this.applyLabelDimensions(t)}};vS.applyLabelDimensions=function(t){this.applyPrefixedLabelDimensions(t),t.isEdge()&&(this.applyPrefixedLabelDimensions(t,"source"),this.applyPrefixedLabelDimensions(t,"target"))};vS.applyPrefixedLabelDimensions=function(t,r){var a=t._private,o=this.getLabelText(t,r),l=PO(o,t._private.labelDimsKey);if(Rb(a.rscratch,"prefixedLabelDimsKey",r)!==l){mS(a.rscratch,"prefixedLabelDimsKey",r,l);var h=this.calculateLabelDimensions(t,o),f=t.pstyle("line-height").pfValue,p=t.pstyle("font-size").pfValue,m=t.pstyle("text-wrap").strValue,b=Rb(a.rscratch,"labelWrapCachedLines",r)||[],v=m!=="wrap"?1:Math.max(b.length,1),T=p*f,C=h.width,E=h.height+(v-1)*(f-1)*p;mS(a.rstyle,"labelWidth",r,C),mS(a.rscratch,"labelWidth",r,C),mS(a.rstyle,"labelHeight",r,E),mS(a.rscratch,"labelHeight",r,E),mS(a.rscratch,"labelLineHeight",r,T),mS(a.rscratch,"labelActualDescent",r,h.labelActualDescent)}};vS.getLabelText=function(t,r){var a=t._private,o=r?r+"-":"",l=t.pstyle(o+"label").strValue,h=t.pstyle("text-transform").value,f=i(function(de,ve){return ve?(mS(a.rscratch,de,r,ve),ve):Rb(a.rscratch,de,r)},"rscratch");if(!l)return"";h=="none"||(h=="uppercase"?l=l.toUpperCase():h=="lowercase"&&(l=l.toLowerCase()));var p=t.pstyle("text-wrap").value;if(p==="wrap"){var m=f("labelKey");if(m!=null&&f("labelWrapKey")===m)return f("labelWrapCachedText");for(var b="\u200B",v=l.split(` +`),T=t.pstyle("text-max-width").pfValue,C=t.pstyle("text-overflow-wrap").value,E=C==="anywhere",S=[],R=/[\s\u200b]+|$/g,L=0;LT){var O=_.matchAll(R),P="",G=0,V=u2(O),Y;try{for(V.s();!(Y=V.n()).done;){var K=Y.value,J=K[0],H=_.substring(G,K.index);G=K.index+J.length;var q=P.length===0?H:P+H+J,Z=this.calculateLabelDimensions(t,q),Q=Z.width;Q<=T?P+=H+J:(P&&S.push(P),P=H+J)}}catch(le){V.e(le)}finally{V.f()}P.match(/^[\s\u200b]+$/)||S.push(P)}else S.push(_)}f("labelWrapCachedLines",S),l=f("labelWrapCachedText",S.join(` +`)),f("labelWrapKey",m)}else if(p==="ellipsis"){var W=t.pstyle("text-max-width").pfValue,te="",z="\u2026",re=!1;if(this.calculateLabelDimensions(t,l).widthW)break;te+=l[ae],ae===l.length-1&&(re=!0)}return re||(te+=z),te}return l};vS.getLabelJustification=function(t){var r=t.pstyle("text-justification").strValue,a=t.pstyle("text-halign").strValue;return r==="auto"?t.isNode()?PKn(a):"center":r};vS.calculateLabelDimensions=function(t,r){var a=this,o=a.cy.window(),l=o.document,h=0,f=t.pstyle("font-style").strValue,p=t.pstyle("font-size").pfValue,m=t.pstyle("font-family").strValue,b=t.pstyle("font-weight").strValue,v=t.pstyle("text-metrics").strValue||"font",T=this.labelCalcCanvas,C=this.labelCalcCanvasContext;if(!T){T=this.labelCalcCanvas=l.createElement("canvas"),C=this.labelCalcCanvasContext=T.getContext("2d");var E=T.style;E.position="absolute",E.left="-9999px",E.top="-9999px",E.zIndex="-1",E.visibility="hidden",E.pointerEvents="none"}C.font="".concat(f," ").concat(b," ").concat(p,"px ").concat(m);for(var S=0,R=0,L=r.split(` +`),_=L.length,M=0,I=0,F=0;F<_;F++){var O=L[F],P=C.measureText(O),G=Math.ceil(P.width),V=p;v==="glyph"&&(F===0&&(I=P.actualBoundingBoxAscent),F===_-1&&(M=P.actualBoundingBoxDescent)),S=Math.max(G,S),R+=V}return v==="glyph"&&(R-=p-I-M),S+=h,R+=h,{width:S,height:R,labelActualAscent:I,labelActualDescent:M}};vS.calculateLabelAngle=function(t,r){var a=t._private,o=a.rscratch,l=t.isEdge(),h=r?r+"-":"",f=t.pstyle(h+"text-rotation"),p=f.strValue;return p==="none"?0:l&&p==="autorotate"?o.labelAutoAngle:p==="autorotate"?0:f.pfValue};vS.calculateLabelAngles=function(t){var r=this,a=t.isEdge(),o=t._private,l=o.rscratch;l.labelAngle=r.calculateLabelAngle(t),a&&(l.sourceLabelAngle=r.calculateLabelAngle(t,"source"),l.targetLabelAngle=r.calculateLabelAngle(t,"target"))};UAr={},n6r=28,i6r=!1;UAr.getNodeShape=function(t){var r=this,a=t.pstyle("shape").value;if(a==="cutrectangle"&&(t.width()1&&arguments[1]!==void 0?arguments[1]:!0;if(r.merge(f),p)for(var m=0;m=t.desktopTapThreshold2}var Qn=h(he);Ut&&(t.hoverData.tapholdCancelled=!0);var En=i(function(){var rr=t.hoverData.dragDelta=t.hoverData.dragDelta||[];rr.length===0?(rr.push(qt[0]),rr.push(qt[1])):(rr[0]+=qt[0],rr[1]+=qt[1])},"updateDragDelta");Ee=!0,l($t,["mousemove","vmousemove","tapdrag"],he,{x:Je[0],y:Je[1]});var di=i(function(rr){return{originalEvent:he,type:rr,position:{x:Je[0],y:Je[1]}}},"makeEvent"),Bn=i(function(){t.data.bgActivePosistion=void 0,t.hoverData.selecting||ye.emit(di("boxstart")),Vt[4]=1,t.hoverData.selecting=!0,t.redrawHint("select",!0),t.redraw()},"goIntoBoxMode");if(t.hoverData.which===3){if(Ut){var mi=di("cxtdrag");jt?jt.emit(mi):ye.emit(mi),t.hoverData.cxtDragged=!0,(!t.hoverData.cxtOver||$t!==t.hoverData.cxtOver)&&(t.hoverData.cxtOver&&t.hoverData.cxtOver.emit(di("cxtdragout")),t.hoverData.cxtOver=$t,$t&&$t.emit(di("cxtdragover")))}}else if(t.hoverData.dragging){if(Ee=!0,ye.panningEnabled()&&ye.userPanningEnabled()){var Qr;if(t.hoverData.justStartedPan){var Pi=t.hoverData.mdownPos;Qr={x:(Je[0]-Pi[0])*be,y:(Je[1]-Pi[1])*be},t.hoverData.justStartedPan=!1}else Qr={x:qt[0]*be,y:qt[1]*be};ye.panBy(Qr),ye.emit(di("dragpan")),t.hoverData.dragged=!0}Je=t.projectIntoViewport(he.clientX,he.clientY)}else if(Vt[4]==1&&(jt==null||jt.pannable())){if(Ut){if(!t.hoverData.dragging&&ye.boxSelectionEnabled()&&(Qn||!ye.panningEnabled()||!ye.userPanningEnabled()))Bn();else if(!t.hoverData.selecting&&ye.panningEnabled()&&ye.userPanningEnabled()){var qa=f(jt,t.hoverData.downs);qa&&(t.hoverData.dragging=!0,t.hoverData.justStartedPan=!0,Vt[4]=0,t.data.bgActivePosistion=LU(it),t.redrawHint("select",!0),t.redraw())}jt&&jt.pannable()&&jt.active()&&jt.unactivate()}}else{if(jt&&jt.pannable()&&jt.active()&&jt.unactivate(),(!jt||!jt.grabbed())&&$t!=gr&&(gr&&l(gr,["mouseout","tapdragout"],he,{x:Je[0],y:Je[1]}),$t&&l($t,["mouseover","tapdragover"],he,{x:Je[0],y:Je[1]}),t.hoverData.last=$t),jt)if(Ut){if(ye.boxSelectionEnabled()&&Qn)jt&&jt.grabbed()&&(R(Wt),jt.emit(di("freeon")),Wt.emit(di("free")),t.dragData.didDrag&&(jt.emit(di("dragfreeon")),Wt.emit(di("dragfree")))),Bn();else if(jt&&jt.grabbed()&&t.nodeIsDraggable(jt)){var Ke=!t.dragData.didDrag;Ke&&t.redrawHint("eles",!0),t.dragData.didDrag=!0,t.hoverData.draggingEles||E(Wt,{inDragLayer:!0});var Tn={x:0,y:0};if(oa(qt[0])&&oa(qt[1])&&(Tn.x+=qt[0],Tn.y+=qt[1],Ke)){var Ln=t.hoverData.dragDelta;Ln&&oa(Ln[0])&&oa(Ln[1])&&(Tn.x+=Ln[0],Tn.y+=Ln[1])}t.hoverData.draggingEles=!0,Wt.silentShift(Tn).emit(di("position")).emit(di("drag")),t.redrawHint("drag",!0),t.redraw()}}else En();Ee=!0}if(Vt[2]=Je[0],Vt[3]=Je[1],Ee)return he.stopPropagation&&he.stopPropagation(),he.preventDefault&&he.preventDefault(),!1}},"mousemoveHandler"),!1);var K,J,H;t.registerBinding(r,"mouseup",i(function(he){if(!(t.hoverData.which===1&&he.which!==1&&t.hoverData.capture)){var Ne=t.hoverData.capture;if(Ne){t.hoverData.capture=!1;var Ee=t.cy,ye=t.projectIntoViewport(he.clientX,he.clientY),be=t.selection,ht=t.findNearestElement(ye[0],ye[1],!0,!1),Je=t.dragData.possibleDragElements,it=t.hoverData.down,lt=h(he);t.data.bgActivePosistion&&(t.redrawHint("select",!0),t.redraw()),t.hoverData.tapholdCancelled=!0,t.data.bgActivePosistion=void 0,it&&it.unactivate();var Vt=i(function(rn){return{originalEvent:he,type:rn,position:{x:ye[0],y:ye[1]}}},"makeEvent");if(t.hoverData.which===3){var $t=Vt("cxttapend");if(it?it.emit($t):Ee.emit($t),!t.hoverData.cxtDragged){var gr=Vt("cxttap");it?it.emit(gr):Ee.emit(gr)}t.hoverData.cxtDragged=!1,t.hoverData.which=null}else if(t.hoverData.which===1){if(l(ht,["mouseup","tapend","vmouseup"],he,{x:ye[0],y:ye[1]}),!t.dragData.didDrag&&!t.hoverData.dragged&&!t.hoverData.selecting&&!t.hoverData.isOverThresholdDrag&&(l(it,["click","tap","vclick"],he,{x:ye[0],y:ye[1]}),J=!1,he.timeStamp-H<=Ee.multiClickDebounceTime()?(K&&clearTimeout(K),J=!0,H=null,l(it,["dblclick","dbltap","vdblclick"],he,{x:ye[0],y:ye[1]})):(K=setTimeout(function(){J||l(it,["oneclick","onetap","voneclick"],he,{x:ye[0],y:ye[1]})},Ee.multiClickDebounceTime()),H=he.timeStamp)),it==null&&!t.dragData.didDrag&&!t.hoverData.selecting&&!t.hoverData.dragged&&!h(he)&&(Ee.$(a).unselect(["tapunselect"]),Je.length>0&&t.redrawHint("eles",!0),t.dragData.possibleDragElements=Je=Ee.collection()),ht==it&&!t.dragData.didDrag&&!t.hoverData.selecting&&ht!=null&&ht._private.selectable&&(t.hoverData.dragging||(Ee.selectionType()==="additive"||lt?ht.selected()?ht.unselect(["tapunselect"]):ht.select(["tapselect"]):lt||(Ee.$(a).unmerge(ht).unselect(["tapunselect"]),ht.select(["tapselect"]))),t.redrawHint("eles",!0)),t.hoverData.selecting){var jt=Ee.collection(t.getAllInBox(be[0],be[1],be[2],be[3]));t.redrawHint("select",!0),jt.length>0&&t.redrawHint("eles",!0),Ee.emit(Vt("boxend"));var qt=i(function(rn){return rn.selectable()&&!rn.selected()},"eleWouldBeSelected");Ee.selectionType()==="additive"||lt||Ee.$(a).unmerge(jt).unselect(),jt.emit(Vt("box")).stdFilter(qt).select().emit(Vt("boxselect")),t.redraw()}if(t.hoverData.dragging&&(t.hoverData.dragging=!1,t.redrawHint("select",!0),t.redrawHint("eles",!0),t.redraw()),!be[4]){t.redrawHint("drag",!0),t.redrawHint("eles",!0);var Wt=it&&it.grabbed();R(Je),Wt&&(it.emit(Vt("freeon")),Je.emit(Vt("free")),t.dragData.didDrag&&(it.emit(Vt("dragfreeon")),Je.emit(Vt("dragfree"))))}}be[4]=0,t.hoverData.down=null,t.hoverData.cxtStarted=!1,t.hoverData.draggingEles=!1,t.hoverData.selecting=!1,t.hoverData.isOverThresholdDrag=!1,t.dragData.didDrag=!1,t.hoverData.dragged=!1,t.hoverData.dragDelta=[],t.hoverData.mdownPos=null,t.hoverData.mdownGPos=null,t.hoverData.which=null}}},"mouseupHandler"),!1);var q=[],Z=4,Q,W=1e5,te=i(function(he,Ne){for(var Ee=0;Ee=Z){var ye=q;if(Q=te(ye,5),!Q){var be=Math.abs(ye[0]);Q=z(ye)&&be>5}if(Q)for(var ht=0;ht5&&(Ee=$rt(Ee)*5),gr=Ee/-250,Q&&(gr/=W,gr*=3),gr=gr*t.wheelSensitivity;var jt=he.deltaMode===1;jt&&(gr*=33);var qt=Je.zoom()*Math.pow(10,gr);he.type==="gesturechange"&&(qt=t.gestureStartZoom*he.scale),Je.zoom({level:qt,renderedPosition:{x:$t[0],y:$t[1]}}),Je.emit({type:he.type==="gesturechange"?"pinchzoom":"scrollzoom",originalEvent:he,position:{x:Vt[0],y:Vt[1]}})}}}},"wheelHandler");t.registerBinding(t.container,"wheel",re,!0),t.registerBinding(r,"scroll",i(function(he){t.scrollingPage=!0,clearTimeout(t.scrollingPageTimeout),t.scrollingPageTimeout=setTimeout(function(){t.scrollingPage=!1},250)},"scrollHandler"),!0),t.registerBinding(t.container,"gesturestart",i(function(he){t.gestureStartZoom=t.cy.zoom(),t.hasTouchStarted||he.preventDefault()},"gestureStartHandler"),!0),t.registerBinding(t.container,"gesturechange",function(Le){t.hasTouchStarted||re(Le)},!0),t.registerBinding(t.container,"mouseout",i(function(he){var Ne=t.projectIntoViewport(he.clientX,he.clientY);t.cy.emit({originalEvent:he,type:"mouseout",position:{x:Ne[0],y:Ne[1]}})},"mouseOutHandler"),!1),t.registerBinding(t.container,"mouseover",i(function(he){var Ne=t.projectIntoViewport(he.clientX,he.clientY);t.cy.emit({originalEvent:he,type:"mouseover",position:{x:Ne[0],y:Ne[1]}})},"mouseOverHandler"),!1);var ae,ce,le,de,ve,Se,_e,Ce,Ve,De,qe,Ue,We,mt=i(function(he,Ne,Ee,ye){return Math.sqrt((Ee-he)*(Ee-he)+(ye-Ne)*(ye-Ne))},"distance"),ct=i(function(he,Ne,Ee,ye){return(Ee-he)*(Ee-he)+(ye-Ne)*(ye-Ne)},"distanceSq"),Ot;t.registerBinding(t.container,"touchstart",Ot=i(function(he){if(t.hasTouchStarted=!0,!!V(he)){_(),t.touchData.capture=!0,t.data.bgActivePosistion=void 0;var Ne=t.cy,Ee=t.touchData.now,ye=t.touchData.earlier;if(he.touches[0]){var be=t.projectIntoViewport(he.touches[0].clientX,he.touches[0].clientY);Ee[0]=be[0],Ee[1]=be[1]}if(he.touches[1]){var be=t.projectIntoViewport(he.touches[1].clientX,he.touches[1].clientY);Ee[2]=be[0],Ee[3]=be[1]}if(he.touches[2]){var be=t.projectIntoViewport(he.touches[2].clientX,he.touches[2].clientY);Ee[4]=be[0],Ee[5]=be[1]}var ht=i(function(Qn){return{originalEvent:he,type:Qn,position:{x:Ee[0],y:Ee[1]}}},"makeEvent");if(he.touches[1]){t.touchData.singleTouchMoved=!0,R(t.dragData.touchDragEles);var Je=t.findContainerClientCoords();Ve=Je[0],De=Je[1],qe=Je[2],Ue=Je[3],ae=he.touches[0].clientX-Ve,ce=he.touches[0].clientY-De,le=he.touches[1].clientX-Ve,de=he.touches[1].clientY-De,We=0<=ae&&ae<=qe&&0<=le&&le<=qe&&0<=ce&&ce<=Ue&&0<=de&&de<=Ue;var it=Ne.pan(),lt=Ne.zoom();ve=mt(ae,ce,le,de),Se=ct(ae,ce,le,de),_e=[(ae+le)/2,(ce+de)/2],Ce=[(_e[0]-it.x)/lt,(_e[1]-it.y)/lt];var Vt=200,$t=Vt*Vt;if(Se<$t&&!he.touches[2]){var gr=t.findNearestElement(Ee[0],Ee[1],!0,!0),jt=t.findNearestElement(Ee[2],Ee[3],!0,!0);gr&&gr.isNode()?(gr.activate().emit(ht("cxttapstart")),t.touchData.start=gr):jt&&jt.isNode()?(jt.activate().emit(ht("cxttapstart")),t.touchData.start=jt):Ne.emit(ht("cxttapstart")),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!0,t.touchData.cxtDragged=!1,t.data.bgActivePosistion=void 0,t.redraw();return}}if(he.touches[2])Ne.boxSelectionEnabled()&&he.preventDefault();else if(!he.touches[1]){if(he.touches[0]){var qt=t.findNearestElements(Ee[0],Ee[1],!0,!0),Wt=qt[0];if(Wt!=null&&(Wt.activate(),t.touchData.start=Wt,t.touchData.starts=qt,t.nodeIsGrabbable(Wt))){var Ut=t.dragData.touchDragEles=Ne.collection(),rn=null;t.redrawHint("eles",!0),t.redrawHint("drag",!0),Wt.selected()?(rn=Ne.$(function(Rn){return Rn.selected()&&t.nodeIsGrabbable(Rn)}),E(rn,{addToList:Ut})):S(Wt,{addToList:Ut}),b(Wt),Wt.emit(ht("grabon")),rn?rn.forEach(function(Rn){Rn.emit(ht("grab"))}):Wt.emit(ht("grab"))}l(Wt,["touchstart","tapstart","vmousedown"],he,{x:Ee[0],y:Ee[1]}),Wt==null&&(t.data.bgActivePosistion={x:be[0],y:be[1]},t.redrawHint("select",!0),t.redraw()),t.touchData.singleTouchMoved=!1,t.touchData.singleTouchStartTime=+new Date,clearTimeout(t.touchData.tapholdTimeout),t.touchData.tapholdTimeout=setTimeout(function(){t.touchData.singleTouchMoved===!1&&!t.pinching&&!t.touchData.selecting&&l(t.touchData.start,["taphold"],he,{x:Ee[0],y:Ee[1]})},t.tapholdDuration)}}if(he.touches.length>=1){for(var pt=t.touchData.startPosition=[null,null,null,null,null,null],$n=0;$n=t.touchTapThreshold2}if(Ne&&t.touchData.cxt){he.preventDefault();var $n=he.touches[0].clientX-Ve,Gt=he.touches[0].clientY-De,Rn=he.touches[1].clientX-Ve,Qn=he.touches[1].clientY-De,En=ct($n,Gt,Rn,Qn),di=En/Se,Bn=150,mi=Bn*Bn,Qr=1.5,Pi=Qr*Qr;if(di>=Pi||En>=mi){t.touchData.cxt=!1,t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var qa=lt("cxttapend");t.touchData.start?(t.touchData.start.unactivate().emit(qa),t.touchData.start=null):ye.emit(qa)}}if(Ne&&t.touchData.cxt){var qa=lt("cxtdrag");t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.touchData.start?t.touchData.start.emit(qa):ye.emit(qa),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxtDragged=!0;var Ke=t.findNearestElement(be[0],be[1],!0,!0);(!t.touchData.cxtOver||Ke!==t.touchData.cxtOver)&&(t.touchData.cxtOver&&t.touchData.cxtOver.emit(lt("cxtdragout")),t.touchData.cxtOver=Ke,Ke&&Ke.emit(lt("cxtdragover")))}else if(Ne&&he.touches[2]&&ye.boxSelectionEnabled())he.preventDefault(),t.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,t.touchData.selecting||ye.emit(lt("boxstart")),t.touchData.selecting=!0,t.touchData.didSelect=!0,Ee[4]=1,!Ee||Ee.length===0||Ee[0]===void 0?(Ee[0]=(be[0]+be[2]+be[4])/3,Ee[1]=(be[1]+be[3]+be[5])/3,Ee[2]=(be[0]+be[2]+be[4])/3+1,Ee[3]=(be[1]+be[3]+be[5])/3+1):(Ee[2]=(be[0]+be[2]+be[4])/3,Ee[3]=(be[1]+be[3]+be[5])/3),t.redrawHint("select",!0),t.redraw();else if(Ne&&he.touches[1]&&!t.touchData.didSelect&&ye.zoomingEnabled()&&ye.panningEnabled()&&ye.userZoomingEnabled()&&ye.userPanningEnabled()){he.preventDefault(),t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var Tn=t.dragData.touchDragEles;if(Tn){t.redrawHint("drag",!0);for(var Ln=0;Ln0&&!t.hoverData.draggingEles&&!t.swipePanning&&t.data.bgActivePosistion!=null&&(t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.redraw())}},"touchmoveHandler"),!1);var tr;t.registerBinding(r,"touchcancel",tr=i(function(he){var Ne=t.touchData.start;t.touchData.capture=!1,Ne&&Ne.unactivate()},"touchcancelHandler"));var Xe,Rt,ft,bt;if(t.registerBinding(r,"touchend",Xe=i(function(he){var Ne=t.touchData.start,Ee=t.touchData.capture;if(Ee)he.touches.length===0&&(t.touchData.capture=!1),he.preventDefault();else return;var ye=t.selection;t.swipePanning=!1,t.hoverData.draggingEles=!1;var be=t.cy,ht=be.zoom(),Je=t.touchData.now,it=t.touchData.earlier;if(he.touches[0]){var lt=t.projectIntoViewport(he.touches[0].clientX,he.touches[0].clientY);Je[0]=lt[0],Je[1]=lt[1]}if(he.touches[1]){var lt=t.projectIntoViewport(he.touches[1].clientX,he.touches[1].clientY);Je[2]=lt[0],Je[3]=lt[1]}if(he.touches[2]){var lt=t.projectIntoViewport(he.touches[2].clientX,he.touches[2].clientY);Je[4]=lt[0],Je[5]=lt[1]}var Vt=i(function(mi){return{originalEvent:he,type:mi,position:{x:Je[0],y:Je[1]}}},"makeEvent");Ne&&Ne.unactivate();var $t;if(t.touchData.cxt){if($t=Vt("cxttapend"),Ne?Ne.emit($t):be.emit($t),!t.touchData.cxtDragged){var gr=Vt("cxttap");Ne?Ne.emit(gr):be.emit(gr)}t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!1,t.touchData.start=null,t.redraw();return}if(!he.touches[2]&&be.boxSelectionEnabled()&&t.touchData.selecting){t.touchData.selecting=!1;var jt=be.collection(t.getAllInBox(ye[0],ye[1],ye[2],ye[3]));ye[0]=void 0,ye[1]=void 0,ye[2]=void 0,ye[3]=void 0,ye[4]=0,t.redrawHint("select",!0),be.emit(Vt("boxend"));var qt=i(function(mi){return mi.selectable()&&!mi.selected()},"eleWouldBeSelected");jt.emit(Vt("box")).stdFilter(qt).select().emit(Vt("boxselect")),jt.nonempty()&&t.redrawHint("eles",!0),t.redraw()}if(Ne?.unactivate(),he.touches[2])t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);else if(!he.touches[1]){if(!he.touches[0]){if(!he.touches[0]){t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var Wt=t.dragData.touchDragEles;if(Ne!=null){var Ut=Ne._private.grabbed;R(Wt),t.redrawHint("drag",!0),t.redrawHint("eles",!0),Ut&&(Ne.emit(Vt("freeon")),Wt.emit(Vt("free")),t.dragData.didDrag&&(Ne.emit(Vt("dragfreeon")),Wt.emit(Vt("dragfree")))),l(Ne,["touchend","tapend","vmouseup","tapdragout"],he,{x:Je[0],y:Je[1]}),Ne.unactivate(),t.touchData.start=null}else{var rn=t.findNearestElement(Je[0],Je[1],!0,!0);l(rn,["touchend","tapend","vmouseup","tapdragout"],he,{x:Je[0],y:Je[1]})}var pt=t.touchData.startPosition[0]-Je[0],$n=pt*pt,Gt=t.touchData.startPosition[1]-Je[1],Rn=Gt*Gt,Qn=$n+Rn,En=Qn*ht*ht;t.touchData.singleTouchMoved||(Ne||be.$(":selected").unselect(["tapunselect"]),l(Ne,["tap","vclick"],he,{x:Je[0],y:Je[1]}),Rt=!1,he.timeStamp-bt<=be.multiClickDebounceTime()?(ft&&clearTimeout(ft),Rt=!0,bt=null,l(Ne,["dbltap","vdblclick"],he,{x:Je[0],y:Je[1]})):(ft=setTimeout(function(){Rt||l(Ne,["onetap","voneclick"],he,{x:Je[0],y:Je[1]})},be.multiClickDebounceTime()),bt=he.timeStamp)),Ne!=null&&!t.dragData.didDrag&&Ne._private.selectable&&En"u"){var Me=[],Fe=i(function(he){return{clientX:he.clientX,clientY:he.clientY,force:1,identifier:he.pointerId,pageX:he.pageX,pageY:he.pageY,radiusX:he.width/2,radiusY:he.height/2,screenX:he.screenX,screenY:he.screenY,target:he.target}},"makeTouch"),je=i(function(he){return{event:he,touch:Fe(he)}},"makePointer"),He=i(function(he){Me.push(je(he))},"addPointer"),nt=i(function(he){for(var Ne=0;Ne0)return le[0]}return null},"getCurveT"),S=Object.keys(C),R=0;R0?E:V6r(h,f,r,a,o,l,p,m)},"intersectLine"),checkPoint:i(function(r,a,o,l,h,f,p,m){m=m==="auto"?kD(l,h):m;var b=2*m;if(CA(r,a,this.points,f,p,l,h-b,[0,-1],o)||CA(r,a,this.points,f,p,l-b,h,[0,-1],o))return!0;var v=l/2+2*o,T=h/2+2*o,C=[f-v,p-T,f-v,p,f+v,p,f+v,p-T];return!!(c2(r,a,C)||OO(r,a,b,b,f+l/2-m,p+h/2-m,o)||OO(r,a,b,b,f-l/2+m,p+h/2-m,o))},"checkPoint")}};EA.registerNodeShapes=function(){var t=this.nodeShapes={},r=this;this.generateEllipse(),this.generatePolygon("triangle",Ab(3,0)),this.generateRoundPolygon("round-triangle",Ab(3,0)),this.generatePolygon("rectangle",Ab(4,0)),t.square=t.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();{var a=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",a),this.generateRoundPolygon("round-diamond",a)}this.generatePolygon("pentagon",Ab(5,0)),this.generateRoundPolygon("round-pentagon",Ab(5,0)),this.generatePolygon("hexagon",Ab(6,0)),this.generateRoundPolygon("round-hexagon",Ab(6,0)),this.generatePolygon("heptagon",Ab(7,0)),this.generateRoundPolygon("round-heptagon",Ab(7,0)),this.generatePolygon("octagon",Ab(8,0)),this.generateRoundPolygon("round-octagon",Ab(8,0));var o=new Array(20);{var l=frt(5,0),h=frt(5,Math.PI/5),f=.5*(3-Math.sqrt(5));f*=1.57;for(var p=0;p=r.deqFastCost*F)break}else if(b){if(M>=r.deqCost*E||M>=r.deqAvgCost*C)break}else if(I>=r.deqNoDrawCost*nrt)break;var O=r.deq(o,L,R);if(O.length>0)for(var P=0;P0&&(r.onDeqd(o,S),!b&&r.shouldRedraw(o,S,L,R)&&h())},"dequeue"),p=r.priority||Prt;l.beforeRender(f,p(o))}},"setupDequeueingImpl")},"setupDequeueing")},ZXn=(function(){function t(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Uxe;AD(this,t),this.idsByKey=new TA,this.keyForId=new TA,this.cachesByLvl=new TA,this.lvls=[],this.getKey=r,this.doesEleInvalidateKey=a}return i(t,"ElementTextureCacheLookup"),RD(t,[{key:"getIdsFor",value:i(function(a){a==null&&Kf("Can not get id list for null key");var o=this.idsByKey,l=this.idsByKey.get(a);return l||(l=new jU,o.set(a,l)),l},"getIdsFor")},{key:"addIdForKey",value:i(function(a,o){a!=null&&this.getIdsFor(a).add(o)},"addIdForKey")},{key:"deleteIdForKey",value:i(function(a,o){a!=null&&this.getIdsFor(a).delete(o)},"deleteIdForKey")},{key:"getNumberOfIdsForKey",value:i(function(a){return a==null?0:this.getIdsFor(a).size},"getNumberOfIdsForKey")},{key:"updateKeyMappingFor",value:i(function(a){var o=a.id(),l=this.keyForId.get(o),h=this.getKey(a);this.deleteIdForKey(l,o),this.addIdForKey(h,o),this.keyForId.set(o,h)},"updateKeyMappingFor")},{key:"deleteKeyMappingFor",value:i(function(a){var o=a.id(),l=this.keyForId.get(o);this.deleteIdForKey(l,o),this.keyForId.delete(o)},"deleteKeyMappingFor")},{key:"keyHasChangedFor",value:i(function(a){var o=a.id(),l=this.keyForId.get(o),h=this.getKey(a);return l!==h},"keyHasChangedFor")},{key:"isInvalid",value:i(function(a){return this.keyHasChangedFor(a)||this.doesEleInvalidateKey(a)},"isInvalid")},{key:"getCachesAt",value:i(function(a){var o=this.cachesByLvl,l=this.lvls,h=o.get(a);return h||(h=new TA,o.set(a,h),l.push(a)),h},"getCachesAt")},{key:"getCache",value:i(function(a,o){return this.getCachesAt(o).get(a)},"getCache")},{key:"get",value:i(function(a,o){var l=this.getKey(a),h=this.getCache(l,o);return h!=null&&this.updateKeyMappingFor(a),h},"get")},{key:"getForCachedKey",value:i(function(a,o){var l=this.keyForId.get(a.id()),h=this.getCache(l,o);return h},"getForCachedKey")},{key:"hasCache",value:i(function(a,o){return this.getCachesAt(o).has(a)},"hasCache")},{key:"has",value:i(function(a,o){var l=this.getKey(a);return this.hasCache(l,o)},"has")},{key:"setCache",value:i(function(a,o,l){l.key=a,this.getCachesAt(o).set(a,l)},"setCache")},{key:"set",value:i(function(a,o,l){var h=this.getKey(a);this.setCache(h,o,l),this.updateKeyMappingFor(a)},"set")},{key:"deleteCache",value:i(function(a,o){this.getCachesAt(o).delete(a)},"deleteCache")},{key:"delete",value:i(function(a,o){var l=this.getKey(a);this.deleteCache(l,o)},"_delete")},{key:"invalidateKey",value:i(function(a){var o=this;this.lvls.forEach(function(l){return o.deleteCache(a,l)})},"invalidateKey")},{key:"invalidate",value:i(function(a){var o=a.id(),l=this.keyForId.get(o);this.deleteKeyMappingFor(a);var h=this.doesEleInvalidateKey(a);return h&&this.invalidateKey(l),h||this.getNumberOfIdsForKey(l)===0},"invalidate")}])})(),s6r=25,Axe=50,Fxe=-4,Srt=3,KAr=7.99,eQn=8,tQn=1024,rQn=1024,nQn=1024,iQn=.2,aQn=.8,sQn=10,oQn=.15,lQn=.1,cQn=.9,uQn=.9,hQn=100,fQn=1,_U={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},dQn=f1({getKey:null,doesEleInvalidateKey:Uxe,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:B6r,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),hne=i(function(r,a){var o=this;o.renderer=r,o.onDequeues=[];var l=dQn(a);so(o,l),o.lookup=new ZXn(l.getKey,l.doesEleInvalidateKey),o.setupDequeueing()},"ElementTextureCache"),k0=hne.prototype;k0.reasons=_U;k0.getTextureQueue=function(t){var r=this;return r.eleImgCaches=r.eleImgCaches||{},r.eleImgCaches[t]=r.eleImgCaches[t]||[]};k0.getRetiredTextureQueue=function(t){var r=this,a=r.eleImgCaches.retired=r.eleImgCaches.retired||{},o=a[t]=a[t]||[];return o};k0.getElementQueue=function(){var t=this,r=t.eleCacheQueue=t.eleCacheQueue||new _ne(function(a,o){return o.reqs-a.reqs});return r};k0.getElementKeyToQueue=function(){var t=this,r=t.eleKeyToCacheQueue=t.eleKeyToCacheQueue||{};return r};k0.getElement=function(t,r,a,o,l){var h=this,f=this.renderer,p=f.cy.zoom(),m=this.lookup;if(!r||r.w===0||r.h===0||isNaN(r.w)||isNaN(r.h)||!t.visible()||t.removed()||!h.allowEdgeTxrCaching&&t.isEdge()||!h.allowParentTxrCaching&&t.isParent())return null;if(o==null&&(o=Math.ceil(Frt(p*a))),o=KAr||o>Srt)return null;var b=Math.pow(2,o),v=r.h*b,T=r.w*b,C=f.eleTextBiggerThanMin(t,b);if(!this.isVisible(t,C))return null;var E=m.get(t,o);if(E&&E.invalidated&&(E.invalidated=!1,E.texture.invalidatedWidth-=E.width),E)return E;var S;if(v<=s6r?S=s6r:v<=Axe?S=Axe:S=Math.ceil(v/Axe)*Axe,v>nQn||T>rQn)return null;var R=h.getTextureQueue(S),L=R[R.length-2],_=i(function(){return h.recycleTexture(S,T)||h.addTexture(S,T)},"addNewTxr");L||(L=R[R.length-1]),L||(L=_()),L.width-L.usedWidtho;J--)Y=h.getElement(t,r,a,J,_U.downscale);K()}else return h.queueElement(t,P.level-1),P;else{var H;if(!I&&!F&&!O)for(var q=o-1;q>=Fxe;q--){var Z=m.get(t,q);if(Z){H=Z;break}}if(M(H))return h.queueElement(t,o),H;L.context.translate(L.usedWidth,0),L.context.scale(b,b),this.drawElement(L.context,t,r,C,!1),L.context.scale(1/b,1/b),L.context.translate(-L.usedWidth,0)}return E={x:L.usedWidth,texture:L,level:o,scale:b,width:T,height:v,scaledLabelShown:C},L.usedWidth+=Math.ceil(T+eQn),L.eleCaches.push(E),m.set(t,o,E),h.checkTextureFullness(L),E};k0.invalidateElements=function(t){for(var r=0;r=iQn*t.width&&this.retireTexture(t)};k0.checkTextureFullness=function(t){var r=this,a=r.getTextureQueue(t.height);t.usedWidth/t.width>aQn&&t.fullnessChecks>=sQn?TD(a,t):t.fullnessChecks++};k0.retireTexture=function(t){var r=this,a=t.height,o=r.getTextureQueue(a),l=this.lookup;TD(o,t),t.retired=!0;for(var h=t.eleCaches,f=0;f=r)return f.retired=!1,f.usedWidth=0,f.invalidatedWidth=0,f.fullnessChecks=0,Brt(f.eleCaches),f.context.setTransform(1,0,0,1,0,0),f.context.clearRect(0,0,f.width,f.height),TD(l,f),o.push(f),f}};k0.queueElement=function(t,r){var a=this,o=a.getElementQueue(),l=a.getElementKeyToQueue(),h=this.getKey(t),f=l[h];if(f)f.level=Math.max(f.level,r),f.eles.merge(t),f.reqs++,o.updateItem(f);else{var p={eles:t.spawn().merge(t),level:r,reqs:1,key:h};o.push(p),l[h]=p}};k0.dequeue=function(t){for(var r=this,a=r.getElementQueue(),o=r.getElementKeyToQueue(),l=[],h=r.lookup,f=0;f0;f++){var p=a.pop(),m=p.key,b=p.eles[0],v=h.hasCache(b,p.level);if(o[m]=null,v)continue;l.push(p);var T=r.getBoundingBox(b);r.getElement(b,T,t,p.level,_U.dequeue)}return l};k0.removeFromQueue=function(t){var r=this,a=r.getElementQueue(),o=r.getElementKeyToQueue(),l=this.getKey(t),h=o[l];h!=null&&(h.eles.length===1?(h.reqs=Ort,a.updateItem(h),a.pop(),o[l]=null):h.eles.unmerge(t))};k0.onDequeue=function(t){this.onDequeues.push(t)};k0.offDequeue=function(t){TD(this.onDequeues,t)};k0.setupDequeueing=YAr.setupDequeueing({deqRedrawThreshold:hQn,deqCost:oQn,deqAvgCost:lQn,deqNoDrawCost:cQn,deqFastCost:uQn,deq:i(function(r,a,o){return r.dequeue(a,o)},"deq"),onDeqd:i(function(r,a){for(var o=0;o=gQn||a>Qxe)return null}o.validateLayersElesOrdering(a,t);var m=o.layersByLevel,b=Math.pow(2,a),v=m[a]=m[a]||[],T,C=o.levelIsComplete(a,t),E,S=i(function(){var K=i(function(Q){if(o.validateLayersElesOrdering(Q,t),o.levelIsComplete(Q,t))return E=m[Q],!0},"canUseAsTmpLvl"),J=i(function(Q){if(!E)for(var W=a+Q;dne<=W&&W<=Qxe&&!K(W);W+=Q);},"checkLvls");J(1),J(-1);for(var H=v.length-1;H>=0;H--){var q=v[H];q.invalid&&TD(v,q)}},"checkTempLevels");if(!C)S();else return v;var R=i(function(){if(!T){T=Lb();for(var K=0;Kl6r||q>l6r)return null;var Z=H*q;if(Z>kQn)return null;var Q=o.makeLayer(T,a);if(J!=null){var W=v.indexOf(J)+1;v.splice(W,0,Q)}else(K.insert===void 0||K.insert)&&v.unshift(Q);return Q},"makeLayer");if(o.skipping&&!p)return null;for(var _=null,M=t.length/pQn,I=!p,F=0;F=M||!U6r(_.bb,O.boundingBox()))&&(_=L({insert:!0,after:_}),!_))return null;E||I?o.queueLayer(_,O):o.drawEleInLayer(_,O,a,r),_.eles.push(O),G[a]=_}return E||(I?null:v)};d1.getEleLevelForLayerLevel=function(t,r){return t};d1.drawEleInLayer=function(t,r,a,o){var l=this,h=this.renderer,f=t.context,p=r.boundingBox();p.w===0||p.h===0||!r.visible()||(a=l.getEleLevelForLayerLevel(a,o),h.setImgSmoothing(f,!1),h.drawCachedElement(f,r,null,null,a,CQn),h.setImgSmoothing(f,!0))};d1.levelIsComplete=function(t,r){var a=this,o=a.layersByLevel[t];if(!o||o.length===0)return!1;for(var l=0,h=0;h0||f.invalid)return!1;l+=f.eles.length}return l===r.length};d1.validateLayersElesOrdering=function(t,r){var a=this.layersByLevel[t];if(a)for(var o=0;o0){r=!0;break}}return r};d1.invalidateElements=function(t){var r=this;t.length!==0&&(r.lastInvalidationTime=kA(),!(t.length===0||!r.haveLayers())&&r.updateElementsInLayers(t,i(function(o,l,h){r.invalidateLayer(o)},"invalAssocLayers")))};d1.invalidateLayer=function(t){if(this.lastInvalidationTime=kA(),!t.invalid){var r=t.level,a=t.eles,o=this.layersByLevel[r];TD(o,t),t.elesQueue=[],t.invalid=!0,t.replacement&&(t.replacement.invalid=!0);for(var l=0;l3&&arguments[3]!==void 0?arguments[3]:!0,l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,h=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,f=this,p=r._private.rscratch;if(!(h&&!r.visible())&&!(p.badLine||p.allpts==null||isNaN(p.allpts[0]))){var m;a&&(m=a,t.translate(-m.x1,-m.y1));var b=h?r.pstyle("opacity").value:1,v=h?r.pstyle("line-opacity").value:1,T=r.pstyle("curve-style").value,C=r.pstyle("line-style").value,E=r.pstyle("width").pfValue,S=r.pstyle("line-cap").value,R=r.pstyle("line-outline-width").value,L=r.pstyle("line-outline-color").value,_=b*v,M=b*v,I=i(function(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_;T==="straight-triangle"?(f.eleStrokeStyle(t,r,Q),f.drawEdgeTrianglePath(r,t,p.allpts)):(t.lineWidth=E,t.lineCap=S,f.eleStrokeStyle(t,r,Q),f.drawEdgePath(r,t,p.allpts,C),t.lineCap="butt")},"drawLine"),F=i(function(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_;if(t.lineWidth=E+R,t.lineCap=S,R>0)f.colorStrokeStyle(t,L[0],L[1],L[2],Q);else{t.lineCap="butt";return}T==="straight-triangle"?f.drawEdgeTrianglePath(r,t,p.allpts):(f.drawEdgePath(r,t,p.allpts,C),t.lineCap="butt")},"drawLineOutline"),O=i(function(){l&&f.drawEdgeOverlay(t,r)},"drawOverlay"),P=i(function(){l&&f.drawEdgeUnderlay(t,r)},"drawUnderlay"),G=i(function(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:M;f.drawArrowheads(t,r,Q)},"drawArrows"),V=i(function(){f.drawElementText(t,r,null,o)},"drawText");t.lineJoin="round";var Y=r.pstyle("ghost").value==="yes";if(Y){var K=r.pstyle("ghost-offset-x").pfValue,J=r.pstyle("ghost-offset-y").pfValue,H=r.pstyle("ghost-opacity").value,q=_*H;t.translate(K,J),I(q),G(q),t.translate(-K,-J)}else F();P(),I(),G(),O(),V(),a&&t.translate(m.x1,m.y1)}};JAr=i(function(r){if(!["overlay","underlay"].includes(r))throw new Error("Invalid state");return function(a,o){if(o.visible()){var l=o.pstyle("".concat(r,"-opacity")).value;if(l!==0){var h=this,f=h.usePaths(),p=o._private.rscratch,m=o.pstyle("".concat(r,"-padding")).pfValue,b=2*m,v=o.pstyle("".concat(r,"-color")).value;a.lineWidth=b,p.edgeType==="self"&&!f?a.lineCap="butt":a.lineCap="round",h.colorStrokeStyle(a,v[0],v[1],v[2],l),h.drawEdgePath(o,a,p.allpts,"solid")}}}},"drawEdgeOverlayUnderlay");SA.drawEdgeOverlay=JAr("overlay");SA.drawEdgeUnderlay=JAr("underlay");SA.drawEdgePath=function(t,r,a,o){var l=t._private.rscratch,h=r,f,p=!1,m=this.usePaths(),b=t.pstyle("line-dash-pattern").pfValue,v=t.pstyle("line-dash-offset").pfValue;if(m){var T=a.join("$"),C=l.pathCacheKey&&l.pathCacheKey===T;C?(f=r=l.pathCache,p=!0):(f=r=new Path2D,l.pathCacheKey=T,l.pathCache=f)}if(h.setLineDash)switch(o){case"dotted":h.setLineDash([1,1]);break;case"dashed":h.setLineDash(b),h.lineDashOffset=v;break;case"solid":h.setLineDash([]);break}if(!p&&!l.badLine)switch(r.beginPath&&r.beginPath(),r.moveTo(a[0],a[1]),l.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var E=2;E+35&&arguments[5]!==void 0?arguments[5]:!0,f=this;if(o==null){if(h&&!f.eleTextBiggerThanMin(r))return}else if(o===!1)return;if(r.isNode()){var p=r.pstyle("label");if(!p||!p.value)return;var m=f.getLabelJustification(r),b=r.pstyle("text-metrics").strValue==="glyph";t.textAlign=m,t.textBaseline=b?"alphabetic":"bottom"}else{var v=r.element()._private.rscratch.badLine,T=r.pstyle("label"),C=r.pstyle("source-label"),E=r.pstyle("target-label");if(v||(!T||!T.value)&&(!C||!C.value)&&(!E||!E.value))return;t.textAlign="center",t.textBaseline="bottom"}var S=!a,R;a&&(R=a,t.translate(-R.x1,-R.y1)),l==null?(f.drawText(t,r,null,S,h),r.isEdge()&&(f.drawText(t,r,"source",S,h),f.drawText(t,r,"target",S,h))):f.drawText(t,r,l,S,h),a&&t.translate(R.x1,R.y1)};zO.getFontCache=function(t){var r;this.fontCaches=this.fontCaches||[];for(var a=0;a2&&arguments[2]!==void 0?arguments[2]:!0,o=r.pstyle("font-style").strValue,l=r.pstyle("font-size").pfValue+"px",h=r.pstyle("font-family").strValue,f=r.pstyle("font-weight").strValue,p=a?r.effectiveOpacity()*r.pstyle("text-opacity").value:1,m=r.pstyle("text-outline-opacity").value*p,b=r.pstyle("color").value,v=r.pstyle("text-outline-color").value;t.font=o+" "+f+" "+l+" "+h,t.lineJoin="round",this.colorFillStyle(t,b[0],b[1],b[2],p),this.colorStrokeStyle(t,v[0],v[1],v[2],m)};i(OQn,"circle");i(f6r,"roundRect");zO.getTextAngle=function(t,r){var a,o=t._private,l=o.rscratch,h=r?r+"-":"",f=t.pstyle(h+"text-rotation");if(f.strValue==="autorotate"){var p=Rb(l,"labelAngle",r);a=t.isEdge()?p:0}else f.strValue==="none"?a=0:a=f.pfValue;return a};zO.drawText=function(t,r,a){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,h=r._private,f=h.rscratch,p=l?r.effectiveOpacity():1;if(!(l&&(p===0||r.pstyle("text-opacity").value===0))){a==="main"&&(a=null);var m=Rb(f,"labelX",a),b=Rb(f,"labelY",a),v,T,C=this.getLabelText(r,a);if(C!=null&&C!==""&&!isNaN(m)&&!isNaN(b)){this.setupTextStyle(t,r,l);var E=a?a+"-":"",S=Rb(f,"labelWidth",a),R=Rb(f,"labelHeight",a),L=Rb(f,"labelActualDescent",a),_=r.pstyle(E+"text-margin-x").pfValue,M=r.pstyle(E+"text-margin-y").pfValue,I=r.isEdge(),F=r.pstyle("text-halign").value,O=r.pstyle("text-valign").value;I&&(F="center",O="center"),m+=_,b+=M;var P;o?P=this.getTextAngle(r,a):P=0,P!==0&&(v=m,T=b,t.translate(v,T),t.rotate(P),m=0,b=0);var G=$U(F),V=GU(O);switch(V){case"top":break;case"center":b+=R/2;break;case"bottom":b+=R;break}var Y=r.pstyle("text-background-opacity").value,K=r.pstyle("text-border-opacity").value,J=r.pstyle("text-border-width").pfValue,H=r.pstyle("text-background-padding").pfValue,q=r.pstyle("text-background-shape").strValue,Z=q==="round-rectangle"||q==="roundrectangle",Q=q==="circle",W=2;if(Y>0||J>0&&K>0){var te=t.fillStyle,z=t.strokeStyle,re=t.lineWidth,ae=r.pstyle("text-background-color").value,ce=r.pstyle("text-border-color").value,le=r.pstyle("text-border-style").value,de=Y>0,ve=J>0&&K>0,Se=m-H;switch(G){case"left":Se-=S;break;case"center":Se-=S/2;break}var _e=b-R-H,Ce=S+2*H,Ve=R+2*H;if(de&&(t.fillStyle="rgba(".concat(ae[0],",").concat(ae[1],",").concat(ae[2],",").concat(Y*p,")")),ve&&(t.strokeStyle="rgba(".concat(ce[0],",").concat(ce[1],",").concat(ce[2],",").concat(K*p,")"),t.lineWidth=J,t.setLineDash))switch(le){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"double":t.lineWidth=J/4,t.setLineDash([]);break;case"solid":default:t.setLineDash([]);break}if(Z?(t.beginPath(),f6r(t,Se,_e,Ce,Ve,W)):Q?(t.beginPath(),OQn(t,Se,_e,Ce,Ve)):(t.beginPath(),t.rect(Se,_e,Ce,Ve)),de&&t.fill(),ve&&t.stroke(),ve&&le==="double"){var De=J/2;t.beginPath(),Z?f6r(t,Se+De,_e+De,Ce-2*De,Ve-2*De,W):t.rect(Se+De,_e+De,Ce-2*De,Ve-2*De),t.stroke()}t.fillStyle=te,t.strokeStyle=z,t.lineWidth=re,t.setLineDash&&t.setLineDash([])}var qe=2*r.pstyle("text-outline-width").pfValue;if(qe>0&&(t.lineWidth=qe),b-=L,r.pstyle("text-wrap").value==="wrap"){var Ue=Rb(f,"labelWrapCachedLines",a),We=Rb(f,"labelLineHeight",a),mt=S/2,ct=this.getLabelJustification(r);switch(ct==="auto"||(G==="left"?ct==="left"?m+=-S:ct==="center"&&(m+=-mt):G==="center"?ct==="left"?m+=-mt:ct==="right"&&(m+=mt):G==="right"&&(ct==="center"?m+=mt:ct==="right"&&(m+=S))),V){case"top":b-=(Ue.length-1)*We;break;case"center":case"bottom":b-=(Ue.length-1)*We;break}for(var Ot=0;Ot0&&t.strokeText(Ue[Ot],m,b),t.fillText(Ue[Ot],m,b),b+=We}else qe>0&&t.strokeText(C,m,b),t.fillText(C,m,b);P!==0&&(t.rotate(-P),t.translate(-v,-T))}}};DD={};DD.drawNode=function(t,r,a){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,h=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,f=this,p,m,b=r._private,v=b.rscratch,T=r.position();if(!(!oa(T.x)||!oa(T.y))&&!(h&&!r.visible())){var C=h?r.effectiveOpacity():1,E=f.usePaths(),S,R=!1,L=r.padding();p=r.width()+2*L,m=r.height()+2*L;var _;a&&(_=a,t.translate(-_.x1,-_.y1));for(var M=r.pstyle("background-image"),I=M.value,F=new Array(I.length),O=new Array(I.length),P=0,G=0;G0&&arguments[0]!==void 0?arguments[0]:q;f.eleFillStyle(t,r,he)},"setupShapeColor"),De=i(function(){var he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ce;f.colorStrokeStyle(t,Z[0],Z[1],Z[2],he)},"setupBorderColor"),qe=i(function(){var he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Se;f.colorStrokeStyle(t,de[0],de[1],de[2],he)},"setupOutlineColor"),Ue=i(function(he,Ne,Ee,ye){var be=f.nodePathCache=f.nodePathCache||[],ht=P6r(Ee==="polygon"?Ee+","+ye.join(","):Ee,""+Ne,""+he,""+Ce),Je=be[ht],it,lt=!1;return Je!=null?(it=Je,lt=!0,v.pathCache=it):(it=new Path2D,be[ht]=v.pathCache=it),{path:it,cacheHit:lt}},"getPath"),We=r.pstyle("shape").strValue,mt=r.pstyle("shape-polygon-points").pfValue;if(E){t.translate(T.x,T.y);var ct=Ue(p,m,We,mt);S=ct.path,R=ct.cacheHit}var Ot=i(function(){if(!R){var he=T;E&&(he={x:0,y:0}),f.nodeShapes[f.getNodeShape(r)].draw(S||t,he.x,he.y,p,m,Ce,v)}E?t.fill(S):t.fill()},"drawShape"),yr=i(function(){for(var he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:C,Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Ee=b.backgrounding,ye=0,be=0;be0&&arguments[0]!==void 0?arguments[0]:!1,Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:C;f.hasPie(r)&&(f.drawPie(t,r,Ne),he&&(E||f.nodeShapes[f.getNodeShape(r)].draw(t,T.x,T.y,p,m,Ce,v)))},"drawPie"),Xe=i(function(){var he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:C;f.hasStripe(r)&&(t.save(),E?t.clip(v.pathCache):(f.nodeShapes[f.getNodeShape(r)].draw(t,T.x,T.y,p,m,Ce,v),t.clip()),f.drawStripe(t,r,Ne),t.restore(),he&&(E||f.nodeShapes[f.getNodeShape(r)].draw(t,T.x,T.y,p,m,Ce,v)))},"drawStripe"),Rt=i(function(){var he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:C,Ne=(J>0?J:-J)*he,Ee=J>0?0:255;J!==0&&(f.colorFillStyle(t,Ee,Ee,Ee,Ne),E?t.fill(S):t.fill())},"darken"),ft=i(function(){if(H>0){if(t.lineWidth=H,t.lineCap=te,t.lineJoin=W,t.setLineDash)switch(Q){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash(re),t.lineDashOffset=ae;break;case"solid":case"double":t.setLineDash([]);break}if(z!=="center"){if(t.save(),t.lineWidth*=2,z==="inside")E?t.clip(S):t.clip();else{var he=new Path2D;he.rect(-p/2-H,-m/2-H,p+2*H,m+2*H),he.addPath(S),t.clip(he,"evenodd")}E?t.stroke(S):t.stroke(),t.restore()}else E?t.stroke(S):t.stroke();if(Q==="double"){t.lineWidth=H/3;var Ne=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",E?t.stroke(S):t.stroke(),t.globalCompositeOperation=Ne}t.setLineDash&&t.setLineDash([])}},"drawBorder"),bt=i(function(){if(le>0){if(t.lineWidth=le,t.lineCap="butt",t.setLineDash)switch(ve){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"solid":case"double":t.setLineDash([]);break}var he=T;E&&(he={x:0,y:0});var Ne=f.getNodeShape(r),Ee=H;z==="inside"&&(Ee=0),z==="outside"&&(Ee*=2);var ye=(p+Ee+(le+_e))/p,be=(m+Ee+(le+_e))/m,ht=p*ye,Je=m*be,it=f.nodeShapes[Ne].points,lt;if(E){var Vt=Ue(ht,Je,Ne,it);lt=Vt.path}if(Ne==="ellipse")f.drawEllipsePath(lt||t,he.x,he.y,ht,Je);else if(["round-diamond","round-heptagon","round-hexagon","round-octagon","round-pentagon","round-polygon","round-triangle","round-tag"].includes(Ne)){var $t=0,gr=0,jt=0;Ne==="round-diamond"?$t=(Ee+_e+le)*1.4:Ne==="round-heptagon"?($t=(Ee+_e+le)*1.075,jt=-(Ee/2+_e+le)/35):Ne==="round-hexagon"?$t=(Ee+_e+le)*1.12:Ne==="round-pentagon"?($t=(Ee+_e+le)*1.13,jt=-(Ee/2+_e+le)/15):Ne==="round-tag"?($t=(Ee+_e+le)*1.12,gr=(Ee/2+le+_e)*.07):Ne==="round-triangle"&&($t=(Ee+_e+le)*(Math.PI/2),jt=-(Ee+_e/2+le)/Math.PI),$t!==0&&(ye=(p+$t)/p,ht=p*ye,["round-hexagon","round-tag"].includes(Ne)||(be=(m+$t)/m,Je=m*be)),Ce=Ce==="auto"?q6r(ht,Je):Ce;for(var qt=ht/2,Wt=Je/2,Ut=Ce+(Ee+le+_e)/2,rn=new Array(it.length/2),pt=new Array(it.length/2),$n=0;$n0){if(l=l||o.position(),h==null||f==null){var E=o.padding();h=o.width()+2*E,f=o.height()+2*E}p.colorFillStyle(a,v[0],v[1],v[2],b),p.nodeShapes[T].draw(a,l.x,l.y,h+m*2,f+m*2,C),a.fill()}}}},"drawNodeOverlayUnderlay");DD.drawNodeOverlay=ZAr("overlay");DD.drawNodeUnderlay=ZAr("underlay");DD.hasPie=function(t){return t=t[0],t._private.hasPie};DD.hasStripe=function(t){return t=t[0],t._private.hasStripe};DD.drawPie=function(t,r,a,o){r=r[0],o=o||r.position();var l=r.cy().style(),h=r.pstyle("pie-size"),f=r.pstyle("pie-hole"),p=r.pstyle("pie-start-angle").pfValue,m=o.x,b=o.y,v=r.width(),T=r.height(),C=Math.min(v,T)/2,E,S=0,R=this.usePaths();if(R&&(m=0,b=0),h.units==="%"?C=C*h.pfValue:h.pfValue!==void 0&&(C=h.pfValue/2),f.units==="%"?E=C*f.pfValue:f.pfValue!==void 0&&(E=f.pfValue/2),!(E>=C))for(var L=1;L<=l.pieBackgroundN;L++){var _=r.pstyle("pie-"+L+"-background-size").value,M=r.pstyle("pie-"+L+"-background-color").value,I=r.pstyle("pie-"+L+"-background-opacity").value*a,F=_/100;F+S>1&&(F=1-S);var O=1.5*Math.PI+2*Math.PI*S;O+=p;var P=2*Math.PI*F,G=O+P;_===0||S>=1||S+F>1||(E===0?(t.beginPath(),t.moveTo(m,b),t.arc(m,b,C,O,G),t.closePath()):(t.beginPath(),t.arc(m,b,C,O,G),t.arc(m,b,E,G,O,!0),t.closePath()),this.colorFillStyle(t,M[0],M[1],M[2],I),t.fill(),S+=F)}};DD.drawStripe=function(t,r,a,o){r=r[0],o=o||r.position();var l=r.cy().style(),h=o.x,f=o.y,p=r.width(),m=r.height(),b=0,v=this.usePaths();t.save();var T=r.pstyle("stripe-direction").value,C=r.pstyle("stripe-size");switch(T){case"vertical":break;case"righward":t.rotate(-Math.PI/2);break}var E=p,S=m;C.units==="%"?(E=E*C.pfValue,S=S*C.pfValue):C.pfValue!==void 0&&(E=C.pfValue,S=C.pfValue),v&&(h=0,f=0),f-=E/2,h-=S/2;for(var R=1;R<=l.stripeBackgroundN;R++){var L=r.pstyle("stripe-"+R+"-background-size").value,_=r.pstyle("stripe-"+R+"-background-color").value,M=r.pstyle("stripe-"+R+"-background-opacity").value*a,I=L/100;I+b>1&&(I=1-b),!(L===0||b>=1||b+I>1)&&(t.beginPath(),t.rect(h,f+S*b,E,S*I),t.closePath(),this.colorFillStyle(t,_[0],_[1],_[2],M),t.fill(),b+=I)}t.restore()};Db={},PQn=100;Db.getPixelRatio=function(){var t=this.data.contexts[0];if(this.forcedPixelRatio!=null)return this.forcedPixelRatio;var r=this.cy.window(),a=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(r.devicePixelRatio||1)/a};Db.paintCache=function(t){for(var r=this.paintCaches=this.paintCaches||[],a=!0,o,l=0;lr.minMbLowQualFrames&&(r.motionBlurPxRatio=r.mbPxRBlurry)),r.clearingMotionBlur&&(r.motionBlurPxRatio=1),r.textureDrawLastFrame&&!T&&(v[r.NODE]=!0,v[r.SELECT_BOX]=!0);var M=a.style(),I=a.zoom(),F=f!==void 0?f:I,O=a.pan(),P={x:O.x,y:O.y},G={zoom:I,pan:{x:O.x,y:O.y}},V=r.prevViewport,Y=V===void 0||G.zoom!==V.zoom||G.pan.x!==V.pan.x||G.pan.y!==V.pan.y;!Y&&!(R&&!S)&&(r.motionBlurPxRatio=1),p&&(P=p),F*=m,P.x*=m,P.y*=m;var K=r.getCachedZSortedEles();function J(De,qe,Ue,We,mt){var ct=De.globalCompositeOperation;De.globalCompositeOperation="destination-out",r.colorFillStyle(De,255,255,255,r.motionBlurTransparency),De.fillRect(qe,Ue,We,mt),De.globalCompositeOperation=ct}i(J,"mbclear");function H(De,qe){var Ue,We,mt,ct;!r.clearingMotionBlur&&(De===b.bufferContexts[r.MOTIONBLUR_BUFFER_NODE]||De===b.bufferContexts[r.MOTIONBLUR_BUFFER_DRAG])?(Ue={x:O.x*E,y:O.y*E},We=I*E,mt=r.canvasWidth*E,ct=r.canvasHeight*E):(Ue=P,We=F,mt=r.canvasWidth,ct=r.canvasHeight),De.setTransform(1,0,0,1,0,0),qe==="motionBlur"?J(De,0,0,mt,ct):!o&&(qe===void 0||qe)&&De.clearRect(0,0,mt,ct),l||(De.translate(Ue.x,Ue.y),De.scale(We,We)),p&&De.translate(p.x,p.y),f&&De.scale(f,f)}if(i(H,"setContextTransform"),T||(r.textureDrawLastFrame=!1),T){if(r.textureDrawLastFrame=!0,!r.textureCache){r.textureCache={},r.textureCache.bb=a.mutableElements().boundingBox(),r.textureCache.texture=r.data.bufferCanvases[r.TEXTURE_BUFFER];var q=r.data.bufferContexts[r.TEXTURE_BUFFER];q.setTransform(1,0,0,1,0,0),q.clearRect(0,0,r.canvasWidth*r.textureMult,r.canvasHeight*r.textureMult),r.render({forcedContext:q,drawOnlyNodeLayer:!0,forcedPxRatio:m*r.textureMult});var G=r.textureCache.viewport={zoom:a.zoom(),pan:a.pan(),width:r.canvasWidth,height:r.canvasHeight};G.mpan={x:(0-G.pan.x)/G.zoom,y:(0-G.pan.y)/G.zoom}}v[r.DRAG]=!1,v[r.NODE]=!1;var Z=b.contexts[r.NODE],Q=r.textureCache.texture,G=r.textureCache.viewport;Z.setTransform(1,0,0,1,0,0),C?J(Z,0,0,G.width,G.height):Z.clearRect(0,0,G.width,G.height);var W=M.core("outside-texture-bg-color").value,te=M.core("outside-texture-bg-opacity").value;r.colorFillStyle(Z,W[0],W[1],W[2],te),Z.fillRect(0,0,G.width,G.height);var I=a.zoom();H(Z,!1),Z.clearRect(G.mpan.x,G.mpan.y,G.width/G.zoom/m,G.height/G.zoom/m),Z.drawImage(Q,G.mpan.x,G.mpan.y,G.width/G.zoom/m,G.height/G.zoom/m)}else r.textureOnViewport&&!o&&(r.textureCache=null);var z=a.extent(),re=r.pinching||r.hoverData.dragging||r.swipePanning||r.data.wheelZooming||r.hoverData.draggingEles||r.cy.animated(),ae=r.hideEdgesOnViewport&&re,ce=[];if(ce[r.NODE]=!v[r.NODE]&&C&&!r.clearedForMotionBlur[r.NODE]||r.clearingMotionBlur,ce[r.NODE]&&(r.clearedForMotionBlur[r.NODE]=!0),ce[r.DRAG]=!v[r.DRAG]&&C&&!r.clearedForMotionBlur[r.DRAG]||r.clearingMotionBlur,ce[r.DRAG]&&(r.clearedForMotionBlur[r.DRAG]=!0),v[r.NODE]||l||h||ce[r.NODE]){var le=C&&!ce[r.NODE]&&E!==1,Z=o||(le?r.data.bufferContexts[r.MOTIONBLUR_BUFFER_NODE]:b.contexts[r.NODE]),de=C&&!le?"motionBlur":void 0;H(Z,de),ae?r.drawCachedNodes(Z,K.nondrag,m,z):r.drawLayeredElements(Z,K.nondrag,m,z),r.debug&&r.drawDebugPoints(Z,K.nondrag),!l&&!C&&(v[r.NODE]=!1)}if(!h&&(v[r.DRAG]||l||ce[r.DRAG])){var le=C&&!ce[r.DRAG]&&E!==1,Z=o||(le?r.data.bufferContexts[r.MOTIONBLUR_BUFFER_DRAG]:b.contexts[r.DRAG]);H(Z,C&&!le?"motionBlur":void 0),ae?r.drawCachedNodes(Z,K.drag,m,z):r.drawCachedElements(Z,K.drag,m,z),r.debug&&r.drawDebugPoints(Z,K.drag),!l&&!C&&(v[r.DRAG]=!1)}if(this.drawSelectionRectangle(t,H),C&&E!==1){var ve=b.contexts[r.NODE],Se=r.data.bufferCanvases[r.MOTIONBLUR_BUFFER_NODE],_e=b.contexts[r.DRAG],Ce=r.data.bufferCanvases[r.MOTIONBLUR_BUFFER_DRAG],Ve=i(function(qe,Ue,We){qe.setTransform(1,0,0,1,0,0),We||!_?qe.clearRect(0,0,r.canvasWidth,r.canvasHeight):J(qe,0,0,r.canvasWidth,r.canvasHeight);var mt=E;qe.drawImage(Ue,0,0,r.canvasWidth*mt,r.canvasHeight*mt,0,0,r.canvasWidth,r.canvasHeight)},"drawMotionBlur");(v[r.NODE]||ce[r.NODE])&&(Ve(ve,Se,ce[r.NODE]),v[r.NODE]=!1),(v[r.DRAG]||ce[r.DRAG])&&(Ve(_e,Ce,ce[r.DRAG]),v[r.DRAG]=!1)}r.prevViewport=G,r.clearingMotionBlur&&(r.clearingMotionBlur=!1,r.motionBlurCleared=!0,r.motionBlur=!0),C&&(r.motionBlurTimeout=setTimeout(function(){r.motionBlurTimeout=null,r.clearedForMotionBlur[r.NODE]=!1,r.clearedForMotionBlur[r.DRAG]=!1,r.motionBlur=!1,r.clearingMotionBlur=!T,r.mbFrames=0,v[r.NODE]=!0,v[r.DRAG]=!0,r.redraw()},PQn)),o||a.emit("render")};Db.drawSelectionRectangle=function(t,r){var a=this,o=a.cy,l=a.data,h=o.style(),f=t.drawOnlyNodeLayer,p=t.drawAllLayers,m=l.canvasNeedsRedraw,b=t.forcedContext;if(a.showFps||!f&&m[a.SELECT_BOX]&&!p){var v=b||l.contexts[a.SELECT_BOX];if(r(v),a.selection[4]==1&&(a.hoverData.selecting||a.touchData.selecting)){var T=a.cy.zoom(),C=h.core("selection-box-border-width").value/T;v.lineWidth=C,v.fillStyle="rgba("+h.core("selection-box-color").value[0]+","+h.core("selection-box-color").value[1]+","+h.core("selection-box-color").value[2]+","+h.core("selection-box-opacity").value+")",v.fillRect(a.selection[0],a.selection[1],a.selection[2]-a.selection[0],a.selection[3]-a.selection[1]),C>0&&(v.strokeStyle="rgba("+h.core("selection-box-border-color").value[0]+","+h.core("selection-box-border-color").value[1]+","+h.core("selection-box-border-color").value[2]+","+h.core("selection-box-opacity").value+")",v.strokeRect(a.selection[0],a.selection[1],a.selection[2]-a.selection[0],a.selection[3]-a.selection[1]))}if(l.bgActivePosistion&&!a.hoverData.selecting){var T=a.cy.zoom(),E=l.bgActivePosistion;v.fillStyle="rgba("+h.core("active-bg-color").value[0]+","+h.core("active-bg-color").value[1]+","+h.core("active-bg-color").value[2]+","+h.core("active-bg-opacity").value+")",v.beginPath(),v.arc(E.x,E.y,h.core("active-bg-size").pfValue/T,0,2*Math.PI),v.fill()}var S=a.lastRedrawTime;if(a.showFps&&S){S=Math.round(S);var R=Math.round(1e3/S),L="1 frame = "+S+" ms = "+R+" fps";if(v.setTransform(1,0,0,1,0,0),v.fillStyle="rgba(255, 0, 0, 0.75)",v.strokeStyle="rgba(255, 0, 0, 0.75)",v.font="30px Arial",!sne){var _=v.measureText(L);sne=_.actualBoundingBoxAscent}v.fillText(L,0,sne);var M=60;v.strokeRect(0,sne+10,250,20),v.fillRect(0,sne+10,250*Math.min(R/M,1),20)}p||(m[a.SELECT_BOX]=!1)}};i(d6r,"compileShader");i(BQn,"createProgram");i(FQn,"createTextureCanvas");i(tnt,"getEffectivePanZoom");i($Qn,"getEffectiveZoom");i(GQn,"modelToRenderedPosition");i(jQn,"isSimpleShape");i(zQn,"arrayEqual");i(LO,"toWebGLColor");i(SU,"indexToVec4");i(UQn,"vec4ToIndex");i(VQn,"createTexture");i(e8r,"getTypeInfo");i(t8r,"createTypedArray");i(HQn,"createTypedArrayView");i(qQn,"createBufferStaticDraw");i(pS,"createBufferDynamicDraw");i(WQn,"create3x3MatrixBufferDynamicDraw");i(YQn,"createPickingFrameBuffer");p6r=typeof Float32Array<"u"?Float32Array:Array;Math.hypot||(Math.hypot=function(){for(var t=0,r=arguments.length;r--;)t+=arguments[r]*arguments[r];return Math.sqrt(t)});i(art,"create");i(g6r,"identity");i(KQn,"multiply");i($xe,"translate");i(m6r,"rotate");i(Art,"scale");i(XQn,"projection");QQn=(function(){function t(r,a,o,l){AD(this,t),this.debugID=Math.floor(Math.random()*1e4),this.r=r,this.texSize=a,this.texRows=o,this.texHeight=Math.floor(a/o),this.enableWrapping=!0,this.locked=!1,this.texture=null,this.needsBuffer=!0,this.freePointer={x:0,row:0},this.keyToLocation=new Map,this.canvas=l(r,a,a),this.scratch=l(r,a,this.texHeight,"scratch")}return i(t,"Atlas"),RD(t,[{key:"lock",value:i(function(){this.locked=!0},"lock")},{key:"getKeys",value:i(function(){return new Set(this.keyToLocation.keys())},"getKeys")},{key:"getScale",value:i(function(a){var o=a.w,l=a.h,h=this.texHeight,f=this.texSize,p=h/l,m=o*p,b=l*p;return m>f&&(p=f/o,m=o*p,b=l*p),{scale:p,texW:m,texH:b}},"getScale")},{key:"draw",value:i(function(a,o,l){var h=this;if(this.locked)throw new Error("can't draw, atlas is locked");var f=this.texSize,p=this.texRows,m=this.texHeight,b=this.getScale(o),v=b.scale,T=b.texW,C=b.texH,E=i(function(I,F){if(l&&F){var O=F.context,P=I.x,G=I.row,V=P,Y=m*G;O.save(),O.translate(V,Y),O.scale(v,v),l(O,o),O.restore()}},"drawAt"),S=[null,null],R=i(function(){E(h.freePointer,h.canvas),S[0]={x:h.freePointer.x,y:h.freePointer.row*m,w:T,h:C},S[1]={x:h.freePointer.x+T,y:h.freePointer.row*m,w:0,h:C},h.freePointer.x+=T,h.freePointer.x==f&&(h.freePointer.x=0,h.freePointer.row++)},"drawNormal"),L=i(function(){var I=h.scratch,F=h.canvas;I.clear(),E({x:0,row:0},I);var O=f-h.freePointer.x,P=T-O,G=m;{var V=h.freePointer.x,Y=h.freePointer.row*m,K=O;F.context.drawImage(I,0,0,K,G,V,Y,K,G),S[0]={x:V,y:Y,w:K,h:C}}{var J=O,H=(h.freePointer.row+1)*m,q=P;F&&F.context.drawImage(I,J,0,q,G,0,H,q,G),S[1]={x:0,y:H,w:q,h:C}}h.freePointer.x=P,h.freePointer.row++},"drawWrapped"),_=i(function(){h.freePointer.x=0,h.freePointer.row++},"moveToStartOfNextRow");if(this.freePointer.x+T<=f)R();else{if(this.freePointer.row>=p-1)return!1;this.freePointer.x===f?(_(),R()):this.enableWrapping?L():(_(),R())}return this.keyToLocation.set(a,S),this.needsBuffer=!0,S},"draw")},{key:"getOffsets",value:i(function(a){return this.keyToLocation.get(a)},"getOffsets")},{key:"isEmpty",value:i(function(){return this.freePointer.x===0&&this.freePointer.row===0},"isEmpty")},{key:"canFit",value:i(function(a){if(this.locked)return!1;var o=this.texSize,l=this.texRows,h=this.getScale(a),f=h.texW;return this.freePointer.x+f>o?this.freePointer.row1&&arguments[1]!==void 0?arguments[1]:{},h=l.forceRedraw,f=h===void 0?!1:h,p=l.filterEle,m=p===void 0?function(){return!0}:p,b=l.filterType,v=b===void 0?function(){return!0}:b,T=!1,C=!1,E=u2(a),S;try{for(E.s();!(S=E.n()).done;){var R=S.value;if(m(R)){var L=u2(this.renderTypes.values()),_;try{var M=i(function(){var F=_.value,O=F.type;if(v(O)){var P=o.collections.get(F.collection),G=F.getKey(R),V=Array.isArray(G)?G:[G];if(f)V.forEach(function(H){return P.markKeyForGC(H)}),C=!0;else{var Y=F.getID?F.getID(R):R.id(),K=o._key(O,Y),J=o.typeAndIdToKey.get(K);J!==void 0&&!zQn(V,J)&&(T=!0,o.typeAndIdToKey.delete(K),J.forEach(function(H){return P.markKeyForGC(H)}))}}},"_loop2");for(L.s();!(_=L.n()).done;)M()}catch(I){L.e(I)}finally{L.f()}}}}catch(I){E.e(I)}finally{E.f()}return C&&(this.gc(),T=!1),T},"invalidate")},{key:"gc",value:i(function(){var a=u2(this.collections.values()),o;try{for(a.s();!(o=a.n()).done;){var l=o.value;l.gc()}}catch(h){a.e(h)}finally{a.f()}},"gc")},{key:"getOrCreateAtlas",value:i(function(a,o,l,h){var f=this.renderTypes.get(o),p=this.collections.get(f.collection),m=!1,b=p.draw(h,l,function(C){f.drawClipped?(C.save(),C.beginPath(),C.rect(0,0,l.w,l.h),C.clip(),f.drawElement(C,a,l,!0,!0),C.restore()):f.drawElement(C,a,l,!0,!0),m=!0});if(m){var v=f.getID?f.getID(a):a.id(),T=this._key(o,v);this.typeAndIdToKey.has(T)?this.typeAndIdToKey.get(T).push(h):this.typeAndIdToKey.set(T,[h])}return b},"getOrCreateAtlas")},{key:"getAtlasInfo",value:i(function(a,o){var l=this,h=this.renderTypes.get(o),f=h.getKey(a),p=Array.isArray(f)?f:[f];return p.map(function(m){var b=h.getBoundingBox(a,m),v=l.getOrCreateAtlas(a,o,b,m),T=v.getOffsets(m),C=Mg(T,2),E=C[0],S=C[1];return{atlas:v,tex:E,tex1:E,tex2:S,bb:b}})},"getAtlasInfo")},{key:"getDebugInfo",value:i(function(){var a=[],o=u2(this.collections),l;try{for(o.s();!(l=o.n()).done;){var h=Mg(l.value,2),f=h[0],p=h[1],m=p.getCounts(),b=m.keyCount,v=m.atlasCount;a.push({type:f,keyCount:b,atlasCount:v})}}catch(T){o.e(T)}finally{o.f()}return a},"getDebugInfo")}])})(),tJn=(function(){function t(r){AD(this,t),this.globalOptions=r,this.atlasSize=r.webglTexSize,this.maxAtlasesPerBatch=r.webglTexPerBatch,this.batchAtlases=[]}return i(t,"AtlasBatchManager"),RD(t,[{key:"getMaxAtlasesPerBatch",value:i(function(){return this.maxAtlasesPerBatch},"getMaxAtlasesPerBatch")},{key:"getAtlasSize",value:i(function(){return this.atlasSize},"getAtlasSize")},{key:"getIndexArray",value:i(function(){return Array.from({length:this.maxAtlasesPerBatch},function(a,o){return o})},"getIndexArray")},{key:"startBatch",value:i(function(){this.batchAtlases=[]},"startBatch")},{key:"getAtlasCount",value:i(function(){return this.batchAtlases.length},"getAtlasCount")},{key:"getAtlases",value:i(function(){return this.batchAtlases},"getAtlases")},{key:"canAddToCurrentBatch",value:i(function(a){return this.batchAtlases.length===this.maxAtlasesPerBatch?this.batchAtlases.includes(a):!0},"canAddToCurrentBatch")},{key:"getAtlasIndexForBatch",value:i(function(a){var o=this.batchAtlases.indexOf(a);if(o<0){if(this.batchAtlases.length===this.maxAtlasesPerBatch)throw new Error("cannot add more atlases to batch");this.batchAtlases.push(a),o=this.batchAtlases.length-1}return o},"getAtlasIndexForBatch")}])})(),rJn=` + float circleSD(vec2 p, float r) { + return distance(vec2(0), p) - r; // signed distance + } +`,nJn=` + float rectangleSD(vec2 p, vec2 b) { + vec2 d = abs(p)-b; + return distance(vec2(0),max(d,0.0)) + min(max(d.x,d.y),0.0); + } +`,iJn=` + float roundRectangleSD(vec2 p, vec2 b, vec4 cr) { + cr.xy = (p.x > 0.0) ? cr.xy : cr.zw; + cr.x = (p.y > 0.0) ? cr.x : cr.y; + vec2 q = abs(p) - b + cr.x; + return min(max(q.x, q.y), 0.0) + distance(vec2(0), max(q, 0.0)) - cr.x; + } +`,aJn=` + float ellipseSD(vec2 p, vec2 ab) { + p = abs( p ); // symmetry + + // find root with Newton solver + vec2 q = ab*(p-ab); + float w = (q.x1.0) ? d : -d; + } +`,pne={SCREEN:{name:"screen",screen:!0},PICKING:{name:"picking",picking:!0}},Jxe={IGNORE:1,USE_BB:2},srt=0,y6r=1,b6r=2,ort=3,AU=4,Rxe=5,one=6,lne=7,sJn=(function(){function t(r,a,o){AD(this,t),this.r=r,this.gl=a,this.maxInstances=o.webglBatchSize,this.atlasSize=o.webglTexSize,this.bgColor=o.bgColor,this.debug=o.webglDebug,this.batchDebugInfo=[],o.enableWrapping=!0,o.createTextureCanvas=FQn,this.atlasManager=new eJn(r,o),this.batchManager=new tJn(o),this.simpleShapeOptions=new Map,this.program=this._createShaderProgram(pne.SCREEN),this.pickingProgram=this._createShaderProgram(pne.PICKING),this.vao=this._createVAO()}return i(t,"ElementDrawingWebGL"),RD(t,[{key:"addAtlasCollection",value:i(function(a,o){this.atlasManager.addAtlasCollection(a,o)},"addAtlasCollection")},{key:"addTextureAtlasRenderType",value:i(function(a,o){this.atlasManager.addRenderType(a,o)},"addTextureAtlasRenderType")},{key:"addSimpleShapeRenderType",value:i(function(a,o){this.simpleShapeOptions.set(a,o)},"addSimpleShapeRenderType")},{key:"invalidate",value:i(function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.type,h=this.atlasManager;return l?h.invalidate(a,{filterType:i(function(p){return p===l},"filterType"),forceRedraw:!0}):h.invalidate(a)},"invalidate")},{key:"gc",value:i(function(){this.atlasManager.gc()},"gc")},{key:"_createShaderProgram",value:i(function(a){var o=this.gl,l=`#version 300 es + precision highp float; + + uniform mat3 uPanZoomMatrix; + uniform int uAtlasSize; + + // instanced + in vec2 aPosition; // a vertex from the unit square + + in mat3 aTransform; // used to transform verticies, eg into a bounding box + in int aVertType; // the type of thing we are rendering + + // the z-index that is output when using picking mode + in vec4 aIndex; + + // For textures + in int aAtlasId; // which shader unit/atlas to use + in vec4 aTex; // x/y/w/h of texture in atlas + + // for edges + in vec4 aPointAPointB; + in vec4 aPointCPointD; + in vec2 aLineWidth; // also used for node border width + + // simple shapes + in vec4 aCornerRadius; // for round-rectangle [top-right, bottom-right, top-left, bottom-left] + in vec4 aColor; // also used for edges + in vec4 aBorderColor; // aLineWidth is used for border width + + // output values passed to the fragment shader + out vec2 vTexCoord; + out vec4 vColor; + out vec2 vPosition; + // flat values are not interpolated + flat out int vAtlasId; + flat out int vVertType; + flat out vec2 vTopRight; + flat out vec2 vBotLeft; + flat out vec4 vCornerRadius; + flat out vec4 vBorderColor; + flat out vec2 vBorderWidth; + flat out vec4 vIndex; + + void main(void) { + int vid = gl_VertexID; + vec2 position = aPosition; // TODO make this a vec3, simplifies some code below + + if(aVertType == `.concat(srt,`) { + float texX = aTex.x; // texture coordinates + float texY = aTex.y; + float texW = aTex.z; + float texH = aTex.w; + + if(vid == 1 || vid == 2 || vid == 4) { + texX += texW; + } + if(vid == 2 || vid == 4 || vid == 5) { + texY += texH; + } + + float d = float(uAtlasSize); + vTexCoord = vec2(texX / d, texY / d); // tex coords must be between 0 and 1 + + gl_Position = vec4(uPanZoomMatrix * aTransform * vec3(position, 1.0), 1.0); + } + else if(aVertType == `).concat(AU," || aVertType == ").concat(lne,` + || aVertType == `).concat(Rxe," || aVertType == ").concat(one,`) { // simple shapes + + // the bounding box is needed by the fragment shader + vBotLeft = (aTransform * vec3(0, 0, 1)).xy; // flat + vTopRight = (aTransform * vec3(1, 1, 1)).xy; // flat + vPosition = (aTransform * vec3(position, 1)).xy; // will be interpolated + + // calculations are done in the fragment shader, just pass these along + vColor = aColor; + vCornerRadius = aCornerRadius; + vBorderColor = aBorderColor; + vBorderWidth = aLineWidth; + + gl_Position = vec4(uPanZoomMatrix * aTransform * vec3(position, 1.0), 1.0); + } + else if(aVertType == `).concat(y6r,`) { + vec2 source = aPointAPointB.xy; + vec2 target = aPointAPointB.zw; + + // adjust the geometry so that the line is centered on the edge + position.y = position.y - 0.5; + + // stretch the unit square into a long skinny rectangle + vec2 xBasis = target - source; + vec2 yBasis = normalize(vec2(-xBasis.y, xBasis.x)); + vec2 point = source + xBasis * position.x + yBasis * aLineWidth[0] * position.y; + + gl_Position = vec4(uPanZoomMatrix * vec3(point, 1.0), 1.0); + vColor = aColor; + } + else if(aVertType == `).concat(b6r,`) { + vec2 pointA = aPointAPointB.xy; + vec2 pointB = aPointAPointB.zw; + vec2 pointC = aPointCPointD.xy; + vec2 pointD = aPointCPointD.zw; + + // adjust the geometry so that the line is centered on the edge + position.y = position.y - 0.5; + + vec2 p0, p1, p2, pos; + if(position.x == 0.0) { // The left side of the unit square + p0 = pointA; + p1 = pointB; + p2 = pointC; + pos = position; + } else { // The right side of the unit square, use same approach but flip the geometry upside down + p0 = pointD; + p1 = pointC; + p2 = pointB; + pos = vec2(0.0, -position.y); + } + + vec2 p01 = p1 - p0; + vec2 p12 = p2 - p1; + vec2 p21 = p1 - p2; + + // Find the normal vector. + vec2 tangent = normalize(normalize(p12) + normalize(p01)); + vec2 normal = vec2(-tangent.y, tangent.x); + + // Find the vector perpendicular to p0 -> p1. + vec2 p01Norm = normalize(vec2(-p01.y, p01.x)); + + // Determine the bend direction. + float sigma = sign(dot(p01 + p21, normal)); + float width = aLineWidth[0]; + + if(sign(pos.y) == -sigma) { + // This is an intersecting vertex. Adjust the position so that there's no overlap. + vec2 point = 0.5 * width * normal * -sigma / dot(normal, p01Norm); + gl_Position = vec4(uPanZoomMatrix * vec3(p1 + point, 1.0), 1.0); + } else { + // This is a non-intersecting vertex. Treat it like a mitre join. + vec2 point = 0.5 * width * normal * sigma * dot(normal, p01Norm); + gl_Position = vec4(uPanZoomMatrix * vec3(p1 + point, 1.0), 1.0); + } + + vColor = aColor; + } + else if(aVertType == `).concat(ort,` && vid < 3) { + // massage the first triangle into an edge arrow + if(vid == 0) + position = vec2(-0.15, -0.3); + if(vid == 1) + position = vec2( 0.0, 0.0); + if(vid == 2) + position = vec2( 0.15, -0.3); + + gl_Position = vec4(uPanZoomMatrix * aTransform * vec3(position, 1.0), 1.0); + vColor = aColor; + } + else { + gl_Position = vec4(2.0, 0.0, 0.0, 1.0); // discard vertex by putting it outside webgl clip space + } + + vAtlasId = aAtlasId; + vVertType = aVertType; + vIndex = aIndex; + } + `),h=this.batchManager.getIndexArray(),f=`#version 300 es + precision highp float; + + // declare texture unit for each texture atlas in the batch + `.concat(h.map(function(b){return"uniform sampler2D uTexture".concat(b,";")}).join(` + `),` + + uniform vec4 uBGColor; + uniform float uZoom; + + in vec2 vTexCoord; + in vec4 vColor; + in vec2 vPosition; // model coordinates + + flat in int vAtlasId; + flat in vec4 vIndex; + flat in int vVertType; + flat in vec2 vTopRight; + flat in vec2 vBotLeft; + flat in vec4 vCornerRadius; + flat in vec4 vBorderColor; + flat in vec2 vBorderWidth; + + out vec4 outColor; + + `).concat(rJn,` + `).concat(nJn,` + `).concat(iJn,` + `).concat(aJn,` + + vec4 blend(vec4 top, vec4 bot) { // blend colors with premultiplied alpha + return vec4( + top.rgb + (bot.rgb * (1.0 - top.a)), + top.a + (bot.a * (1.0 - top.a)) + ); + } + + vec4 distInterp(vec4 cA, vec4 cB, float d) { // interpolate color using Signed Distance + // scale to the zoom level so that borders don't look blurry when zoomed in + // note 1.5 is an aribitrary value chosen because it looks good + return mix(cA, cB, 1.0 - smoothstep(0.0, 1.5 / uZoom, abs(d))); + } + + void main(void) { + if(vVertType == `).concat(srt,`) { + // look up the texel from the texture unit + `).concat(h.map(function(b){return"if(vAtlasId == ".concat(b,") outColor = texture(uTexture").concat(b,", vTexCoord);")}).join(` + else `),` + } + else if(vVertType == `).concat(ort,`) { + // mimics how canvas renderer uses context.globalCompositeOperation = 'destination-out'; + outColor = blend(vColor, uBGColor); + outColor.a = 1.0; // make opaque, masks out line under arrow + } + else if(vVertType == `).concat(AU,` && vBorderWidth == vec2(0.0)) { // simple rectangle with no border + outColor = vColor; // unit square is already transformed to the rectangle, nothing else needs to be done + } + else if(vVertType == `).concat(AU," || vVertType == ").concat(lne,` + || vVertType == `).concat(Rxe," || vVertType == ").concat(one,`) { // use SDF + + float outerBorder = vBorderWidth[0]; + float innerBorder = vBorderWidth[1]; + float borderPadding = outerBorder * 2.0; + float w = vTopRight.x - vBotLeft.x - borderPadding; + float h = vTopRight.y - vBotLeft.y - borderPadding; + vec2 b = vec2(w/2.0, h/2.0); // half width, half height + vec2 p = vPosition - vec2(vTopRight.x - b[0] - outerBorder, vTopRight.y - b[1] - outerBorder); // translate to center + + float d; // signed distance + if(vVertType == `).concat(AU,`) { + d = rectangleSD(p, b); + } else if(vVertType == `).concat(lne,` && w == h) { + d = circleSD(p, b.x); // faster than ellipse + } else if(vVertType == `).concat(lne,`) { + d = ellipseSD(p, b); + } else { + d = roundRectangleSD(p, b, vCornerRadius.wzyx); + } + + // use the distance to interpolate a color to smooth the edges of the shape, doesn't need multisampling + // we must smooth colors inwards, because we can't change pixels outside the shape's bounding box + if(d > 0.0) { + if(d > outerBorder) { + discard; + } else { + outColor = distInterp(vBorderColor, vec4(0), d - outerBorder); + } + } else { + if(d > innerBorder) { + vec4 outerColor = outerBorder == 0.0 ? vec4(0) : vBorderColor; + vec4 innerBorderColor = blend(vBorderColor, vColor); + outColor = distInterp(innerBorderColor, outerColor, d); + } + else { + vec4 outerColor; + if(innerBorder == 0.0 && outerBorder == 0.0) { + outerColor = vec4(0); + } else if(innerBorder == 0.0) { + outerColor = vBorderColor; + } else { + outerColor = blend(vBorderColor, vColor); + } + outColor = distInterp(vColor, outerColor, d - innerBorder); + } + } + } + else { + outColor = vColor; + } + + `).concat(a.picking?`if(outColor.a == 0.0) discard; + else outColor = vIndex;`:"",` + } + `),p=BQn(o,l,f);p.aPosition=o.getAttribLocation(p,"aPosition"),p.aIndex=o.getAttribLocation(p,"aIndex"),p.aVertType=o.getAttribLocation(p,"aVertType"),p.aTransform=o.getAttribLocation(p,"aTransform"),p.aAtlasId=o.getAttribLocation(p,"aAtlasId"),p.aTex=o.getAttribLocation(p,"aTex"),p.aPointAPointB=o.getAttribLocation(p,"aPointAPointB"),p.aPointCPointD=o.getAttribLocation(p,"aPointCPointD"),p.aLineWidth=o.getAttribLocation(p,"aLineWidth"),p.aColor=o.getAttribLocation(p,"aColor"),p.aCornerRadius=o.getAttribLocation(p,"aCornerRadius"),p.aBorderColor=o.getAttribLocation(p,"aBorderColor"),p.uPanZoomMatrix=o.getUniformLocation(p,"uPanZoomMatrix"),p.uAtlasSize=o.getUniformLocation(p,"uAtlasSize"),p.uBGColor=o.getUniformLocation(p,"uBGColor"),p.uZoom=o.getUniformLocation(p,"uZoom"),p.uTextures=[];for(var m=0;m1&&arguments[1]!==void 0?arguments[1]:pne.SCREEN;this.panZoomMatrix=a,this.renderTarget=o,this.batchDebugInfo=[],this.wrappedCount=0,this.simpleCount=0,this.startBatch()},"startFrame")},{key:"startBatch",value:i(function(){this.instanceCount=0,this.batchManager.startBatch()},"startBatch")},{key:"endFrame",value:i(function(){this.endBatch()},"endFrame")},{key:"_isVisible",value:i(function(a,o){return a.visible()?o&&o.isVisible?o.isVisible(a):!0:!1},"_isVisible")},{key:"drawTexture",value:i(function(a,o,l){var h=this.atlasManager,f=this.batchManager,p=h.getRenderTypeOpts(l);if(this._isVisible(a,p)&&!(a.isEdge()&&!this._isValidEdge(a))){if(this.renderTarget.picking&&p.getTexPickingMode){var m=p.getTexPickingMode(a);if(m===Jxe.IGNORE)return;if(m==Jxe.USE_BB){this.drawPickingRectangle(a,o,l);return}}var b=h.getAtlasInfo(a,l),v=u2(b),T;try{for(v.s();!(T=v.n()).done;){var C=T.value,E=C.atlas,S=C.tex1,R=C.tex2;f.canAddToCurrentBatch(E)||this.endBatch();for(var L=f.getAtlasIndexForBatch(E),_=0,M=[[S,!0],[R,!1]];_=this.maxInstances&&this.endBatch()}}}}catch(J){v.e(J)}finally{v.f()}}},"drawTexture")},{key:"setTransformMatrix",value:i(function(a,o,l,h){var f=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,p=0;if(l.shapeProps&&l.shapeProps.padding&&(p=a.pstyle(l.shapeProps.padding).pfValue),h){var m=h.bb,b=h.tex1,v=h.tex2,T=b.w/(b.w+v.w);f||(T=1-T);var C=this._getAdjustedBB(m,p,f,T);this._applyTransformMatrix(o,C,l,a)}else{var E=l.getBoundingBox(a),S=this._getAdjustedBB(E,p,!0,1);this._applyTransformMatrix(o,S,l,a)}},"setTransformMatrix")},{key:"_applyTransformMatrix",value:i(function(a,o,l,h){var f,p;g6r(a);var m=l.getRotation?l.getRotation(h):0;if(m!==0){var b=l.getRotationPoint(h),v=b.x,T=b.y;$xe(a,a,[v,T]),m6r(a,a,m);var C=l.getRotationOffset(h);f=C.x+(o.xOffset||0),p=C.y+(o.yOffset||0)}else f=o.x1,p=o.y1;$xe(a,a,[f,p]),Art(a,a,[o.w,o.h])},"_applyTransformMatrix")},{key:"_getAdjustedBB",value:i(function(a,o,l,h){var f=a.x1,p=a.y1,m=a.w,b=a.h,v=a.yOffset;o&&(f-=o,p-=o,m+=2*o,b+=2*o);var T=0,C=m*h;return l&&h<1?m=C:!l&&h<1&&(T=m-C,f+=T,m=C),{x1:f,y1:p,w:m,h:b,xOffset:T,yOffset:v}},"_getAdjustedBB")},{key:"drawPickingRectangle",value:i(function(a,o,l){var h=this.atlasManager.getRenderTypeOpts(l),f=this.instanceCount;this.vertTypeBuffer.getView(f)[0]=AU;var p=this.indexBuffer.getView(f);SU(o,p);var m=this.colorBuffer.getView(f);LO([0,0,0],1,m);var b=this.transformBuffer.getMatrixView(f);this.setTransformMatrix(a,b,h),this.simpleCount++,this.instanceCount++,this.instanceCount>=this.maxInstances&&this.endBatch()},"drawPickingRectangle")},{key:"drawNode",value:i(function(a,o,l){var h=this.simpleShapeOptions.get(l);if(this._isVisible(a,h)){var f=h.shapeProps,p=this._getVertTypeForShape(a,f.shape);if(p===void 0||h.isSimple&&!h.isSimple(a,this.renderTarget)){this.drawTexture(a,o,l);return}var m=this.instanceCount;if(this.vertTypeBuffer.getView(m)[0]=p,p===Rxe||p===one){var b=h.getBoundingBox(a),v=this._getCornerRadius(a,f.radius,b),T=this.cornerRadiusBuffer.getView(m);T[0]=v,T[1]=v,T[2]=v,T[3]=v,p===one&&(T[0]=0,T[2]=0)}var C=this.indexBuffer.getView(m);SU(o,C);var E=this.renderTarget.picking?1:l==="node-body"?a.effectiveOpacity():1,S=this.renderTarget.picking?1:a.pstyle(f.opacity).value*E,R=a.pstyle(f.color).value,L=this.colorBuffer.getView(m);LO(R,S,L);var _=this.lineWidthBuffer.getView(m);if(_[0]=0,_[1]=0,f.border){var M=a.pstyle("border-width").value;if(M>0){var I=a.pstyle("border-color").value,F=E*a.pstyle("border-opacity").value,O=this.borderColorBuffer.getView(m);LO(I,F,O);var P=a.pstyle("border-position").value;if(P==="inside")_[0]=0,_[1]=-M;else if(P==="outside")_[0]=M,_[1]=0;else{var G=M/2;_[0]=G,_[1]=-G}}}var V=this.transformBuffer.getMatrixView(m);this.setTransformMatrix(a,V,h),this.simpleCount++,this.instanceCount++,this.instanceCount>=this.maxInstances&&this.endBatch()}},"drawNode")},{key:"_getVertTypeForShape",value:i(function(a,o){var l=a.pstyle(o).value;switch(l){case"rectangle":return AU;case"ellipse":return lne;case"roundrectangle":case"round-rectangle":return Rxe;case"bottom-round-rectangle":return one;default:return}},"_getVertTypeForShape")},{key:"_getCornerRadius",value:i(function(a,o,l){var h=l.w,f=l.h;if(a.pstyle(o).value==="auto")return kD(h,f);var p=a.pstyle(o).pfValue,m=h/2,b=f/2;return Math.min(p,b,m)},"_getCornerRadius")},{key:"drawEdgeArrow",value:i(function(a,o,l){if(a.visible()){var h=a._private.rscratch,f,p,m;if(l==="source"?(f=h.arrowStartX,p=h.arrowStartY,m=h.srcArrowAngle):(f=h.arrowEndX,p=h.arrowEndY,m=h.tgtArrowAngle),!(isNaN(f)||f==null||isNaN(p)||p==null||isNaN(m)||m==null)){var b=a.pstyle(l+"-arrow-shape").value;if(b!=="none"){var v=a.pstyle(l+"-arrow-color").value,T=a.pstyle("opacity").value,C=a.pstyle("line-opacity").value,E=T*C,S=a.pstyle("width").pfValue,R=a.pstyle("arrow-scale").value,L=this.r.getArrowWidth(S,R),_=this.instanceCount,M=this.transformBuffer.getMatrixView(_);g6r(M),$xe(M,M,[f,p]),Art(M,M,[L,L]),m6r(M,M,m),this.vertTypeBuffer.getView(_)[0]=ort;var I=this.indexBuffer.getView(_);SU(o,I);var F=this.colorBuffer.getView(_);LO(v,E,F),this.instanceCount++,this.instanceCount>=this.maxInstances&&this.endBatch()}}}},"drawEdgeArrow")},{key:"drawEdgeLine",value:i(function(a,o){if(a.visible()){var l=this._getEdgePoints(a);if(l){var h=a.pstyle("opacity").value,f=a.pstyle("line-opacity").value,p=a.pstyle("width").pfValue,m=a.pstyle("line-color").value,b=h*f;if(l.length/2+this.instanceCount>this.maxInstances&&this.endBatch(),l.length==4){var v=this.instanceCount;this.vertTypeBuffer.getView(v)[0]=y6r;var T=this.indexBuffer.getView(v);SU(o,T);var C=this.colorBuffer.getView(v);LO(m,b,C);var E=this.lineWidthBuffer.getView(v);E[0]=p;var S=this.pointAPointBBuffer.getView(v);S[0]=l[0],S[1]=l[1],S[2]=l[2],S[3]=l[3],this.instanceCount++,this.instanceCount>=this.maxInstances&&this.endBatch()}else for(var R=0;R=this.maxInstances&&this.endBatch()}}}},"drawEdgeLine")},{key:"_isValidEdge",value:i(function(a){var o=a._private.rscratch;return!(o.badLine||o.allpts==null||isNaN(o.allpts[0]))},"_isValidEdge")},{key:"_getEdgePoints",value:i(function(a){var o=a._private.rscratch;if(this._isValidEdge(a)){var l=o.allpts;if(l.length==4)return l;var h=this._getNumSegments(a);return this._getCurveSegmentPoints(l,h)}},"_getEdgePoints")},{key:"_getNumSegments",value:i(function(a){var o=15;return Math.min(Math.max(o,5),this.maxInstances)},"_getNumSegments")},{key:"_getCurveSegmentPoints",value:i(function(a,o){if(a.length==4)return a;for(var l=Array((o+1)*2),h=0;h<=o;h++)if(h==0)l[0]=a[0],l[1]=a[1];else if(h==o)l[h*2]=a[a.length-2],l[h*2+1]=a[a.length-1];else{var f=h/o;this._setCurvePoint(a,f,l,h*2)}return l},"_getCurveSegmentPoints")},{key:"_setCurvePoint",value:i(function(a,o,l,h){if(a.length<=2)l[h]=a[0],l[h+1]=a[1];else{for(var f=Array(a.length-2),p=0;p0}},"isLayerVisible"),p=i(function(T){var C=T.pstyle("text-events").strValue==="yes";return C?Jxe.USE_BB:Jxe.IGNORE},"getTexPickingMode"),m=i(function(T){var C=T.position(),E=C.x,S=C.y,R=T.outerWidth(),L=T.outerHeight();return{w:R,h:L,x1:E-R/2,y1:S-L/2}},"getBBForSimpleShape");a.drawing.addAtlasCollection("node",{texRows:t.webglTexRowsNodes}),a.drawing.addAtlasCollection("label",{texRows:t.webglTexRows}),a.drawing.addTextureAtlasRenderType("node-body",{collection:"node",getKey:r.getStyleKey,getBoundingBox:r.getElementBox,drawElement:r.drawElement}),a.drawing.addSimpleShapeRenderType("node-body",{getBoundingBox:m,isSimple:jQn,shapeProps:{shape:"shape",color:"background-color",opacity:"background-opacity",radius:"corner-radius",border:!0}}),a.drawing.addSimpleShapeRenderType("node-overlay",{getBoundingBox:m,isVisible:f("overlay"),shapeProps:{shape:"overlay-shape",color:"overlay-color",opacity:"overlay-opacity",padding:"overlay-padding",radius:"overlay-corner-radius"}}),a.drawing.addSimpleShapeRenderType("node-underlay",{getBoundingBox:m,isVisible:f("underlay"),shapeProps:{shape:"underlay-shape",color:"underlay-color",opacity:"underlay-opacity",padding:"underlay-padding",radius:"underlay-corner-radius"}}),a.drawing.addTextureAtlasRenderType("label",{collection:"label",getTexPickingMode:p,getKey:lrt(r.getLabelKey,null),getBoundingBox:crt(r.getLabelBox,null),drawClipped:!0,drawElement:r.drawLabel,getRotation:l(null),getRotationPoint:r.getLabelRotationPoint,getRotationOffset:r.getLabelRotationOffset,isVisible:h("label")}),a.drawing.addTextureAtlasRenderType("edge-source-label",{collection:"label",getTexPickingMode:p,getKey:lrt(r.getSourceLabelKey,"source"),getBoundingBox:crt(r.getSourceLabelBox,"source"),drawClipped:!0,drawElement:r.drawSourceLabel,getRotation:l("source"),getRotationPoint:r.getSourceLabelRotationPoint,getRotationOffset:r.getSourceLabelRotationOffset,isVisible:h("source-label")}),a.drawing.addTextureAtlasRenderType("edge-target-label",{collection:"label",getTexPickingMode:p,getKey:lrt(r.getTargetLabelKey,"target"),getBoundingBox:crt(r.getTargetLabelBox,"target"),drawClipped:!0,drawElement:r.drawTargetLabel,getRotation:l("target"),getRotationPoint:r.getTargetLabelRotationPoint,getRotationOffset:r.getTargetLabelRotationOffset,isVisible:h("target-label")});var b=Dne(function(){console.log("garbage collect flag set"),a.data.gc=!0},1e4);a.onUpdateEleCalcs(function(v,T){var C=!1;T&&T.length>0&&(C|=a.drawing.invalidate(T)),C&&b()}),lJn(a)};i(oJn,"getBGColor");i(n8r,"getLabelLines");lrt=i(function(r,a){return function(o){var l=r(o),h=n8r(o,a);return h.length>1?h.map(function(f,p){return"".concat(l,"_").concat(p)}):l}},"getStyleKeysForLabel"),crt=i(function(r,a){return function(o,l){var h=r(o);if(typeof l=="string"){var f=l.indexOf("_");if(f>0){var p=Number(l.substring(f+1)),m=n8r(o,a),b=h.h/m.length,v=b*p,T=h.y1+v;return{x1:h.x1,w:h.w,y1:T,h:b,yOffset:v}}}return h}},"getBoundingBoxForLabel");i(lJn,"overrideCanvasRendererFunctions");i(cJn,"clearWebgl");i(uJn,"clearCanvas");i(hJn,"createPanZoomMatrix");i(i8r,"setContextTransform");i(fJn,"drawSelectionRectangle");i(dJn,"drawAxes");i(pJn,"drawAtlases");i(gJn,"getPickingIndexes");i(mJn,"findNearestElementsWebgl");i(urt,"drawEle");i(a8r,"renderWebgl");_D={};_D.drawPolygonPath=function(t,r,a,o,l,h){var f=o/2,p=l/2;t.beginPath&&t.beginPath(),t.moveTo(r+f*h[0],a+p*h[1]);for(var m=1;m0&&f>0){E.clearRect(0,0,h,f),E.globalCompositeOperation="source-over";var S=this.getCachedZSortedEles();if(t.full)E.translate(-o.x1*b,-o.y1*b),E.scale(b,b),this.drawElements(E,S),E.scale(1/b,1/b),E.translate(o.x1*b,o.y1*b);else{var R=r.pan(),L={x:R.x*b,y:R.y*b};b*=r.zoom(),E.translate(L.x,L.y),E.scale(b,b),this.drawElements(E,S),E.scale(1/b,1/b),E.translate(-L.x,-L.y)}t.bg&&(E.globalCompositeOperation="destination-over",E.fillStyle=t.bg,E.rect(0,0,h,f),E.fill())}return C};i(yJn,"b64ToBlob");i(x6r,"b64UriToB64");i(o8r,"output");Pne.png=function(t){return o8r(t,this.bufferCanvasImage(t),"image/png")};Pne.jpg=function(t){return o8r(t,this.bufferCanvasImage(t),"image/jpeg")};l8r={};l8r.nodeShapeImpl=function(t,r,a,o,l,h,f,p){switch(t){case"ellipse":return this.drawEllipsePath(r,a,o,l,h);case"polygon":return this.drawPolygonPath(r,a,o,l,h,f);case"round-polygon":return this.drawRoundPolygonPath(r,a,o,l,h,f,p);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(r,a,o,l,h,p);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(r,a,o,l,h,f,p);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(r,a,o,l,h,p);case"barrel":return this.drawBarrelPath(r,a,o,l,h)}};bJn=c8r,zl=c8r.prototype;zl.CANVAS_LAYERS=3;zl.SELECT_BOX=0;zl.DRAG=1;zl.NODE=2;zl.WEBGL=3;zl.CANVAS_TYPES=["2d","2d","2d","webgl2"];zl.BUFFER_COUNT=3;zl.TEXTURE_BUFFER=0;zl.MOTIONBLUR_BUFFER_NODE=1;zl.MOTIONBLUR_BUFFER_DRAG=2;i(c8r,"CanvasRenderer");zl.redrawHint=function(t,r){var a=this;switch(t){case"eles":a.data.canvasNeedsRedraw[zl.NODE]=r;break;case"drag":a.data.canvasNeedsRedraw[zl.DRAG]=r;break;case"select":a.data.canvasNeedsRedraw[zl.SELECT_BOX]=r;break;case"gc":a.data.gc=!0;break}};vJn=typeof Path2D<"u";zl.path2dEnabled=function(t){if(t===void 0)return this.pathsEnabled;this.pathsEnabled=!!t};zl.usePaths=function(){return vJn&&this.pathsEnabled};zl.setImgSmoothing=function(t,r){t.imageSmoothingEnabled!=null?t.imageSmoothingEnabled=r:(t.webkitImageSmoothingEnabled=r,t.mozImageSmoothingEnabled=r,t.msImageSmoothingEnabled=r)};zl.getImgSmoothing=function(t){return t.imageSmoothingEnabled!=null?t.imageSmoothingEnabled:t.webkitImageSmoothingEnabled||t.mozImageSmoothingEnabled||t.msImageSmoothingEnabled};zl.makeOffscreenCanvas=function(t,r){var a;if((typeof OffscreenCanvas>"u"?"undefined":T0(OffscreenCanvas))!=="undefined")a=new OffscreenCanvas(t,r);else{var o=this.cy.window(),l=o.document;a=l.createElement("canvas"),a.width=t,a.height=r}return a};[QAr,wS,SA,ent,zO,DD,Db,r8r,_D,Pne,l8r].forEach(function(t){so(zl,t)});wJn=[{name:"null",impl:PAr},{name:"base",impl:WAr},{name:"canvas",impl:bJn}],xJn=[{type:"layout",extensions:VXn},{type:"renderer",extensions:wJn}],u8r={},h8r={};i(f8r,"setExtension");i(d8r,"getExtension");i(TJn,"setModule");i(kJn,"getModule");Drt=i(function(){if(arguments.length===2)return d8r.apply(null,arguments);if(arguments.length===3)return f8r.apply(null,arguments);if(arguments.length===4)return kJn.apply(null,arguments);if(arguments.length===5)return TJn.apply(null,arguments);Kf("Invalid extension access syntax")},"extension");kne.prototype.extension=Drt;xJn.forEach(function(t){t.extensions.forEach(function(r){f8r(t.type,r.name,r.impl)})});Zxe=i(function(){if(!(this instanceof Zxe))return new Zxe;this.length=0},"Stylesheet"),GO=Zxe.prototype;GO.instanceString=function(){return"stylesheet"};GO.selector=function(t){var r=this.length++;return this[r]={selector:t,properties:[]},this};GO.css=function(t,r){var a=this.length-1;if(Ps(t))this[a].properties.push({name:t,value:r});else if(Vc(t))for(var o=t,l=Object.keys(o),h=0;h{"use strict";i((function(r,a){typeof Bne=="object"&&typeof nnt=="object"?nnt.exports=a():typeof define=="function"&&define.amd?define([],a):typeof Bne=="object"?Bne.layoutBase=a():r.layoutBase=a()}),"webpackUniversalModuleDefinition")(Bne,function(){return(function(t){var r={};function a(o){if(r[o])return r[o].exports;var l=r[o]={i:o,l:!1,exports:{}};return t[o].call(l.exports,l,l.exports,a),l.l=!0,l.exports}return i(a,"__webpack_require__"),a.m=t,a.c=r,a.i=function(o){return o},a.d=function(o,l,h){a.o(o,l)||Object.defineProperty(o,l,{configurable:!1,enumerable:!0,get:h})},a.n=function(o){var l=o&&o.__esModule?i(function(){return o.default},"getDefault"):i(function(){return o},"getModuleExports");return a.d(l,"a",l),l},a.o=function(o,l){return Object.prototype.hasOwnProperty.call(o,l)},a.p="",a(a.s=26)})([(function(t,r,a){"use strict";function o(){}i(o,"LayoutConstants"),o.QUALITY=1,o.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,o.DEFAULT_INCREMENTAL=!1,o.DEFAULT_ANIMATION_ON_LAYOUT=!0,o.DEFAULT_ANIMATION_DURING_LAYOUT=!1,o.DEFAULT_ANIMATION_PERIOD=50,o.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,o.DEFAULT_GRAPH_MARGIN=15,o.NODE_DIMENSIONS_INCLUDE_LABELS=!1,o.SIMPLE_NODE_SIZE=40,o.SIMPLE_NODE_HALF_SIZE=o.SIMPLE_NODE_SIZE/2,o.EMPTY_COMPOUND_NODE_SIZE=40,o.MIN_EDGE_LENGTH=1,o.WORLD_BOUNDARY=1e6,o.INITIAL_WORLD_BOUNDARY=o.WORLD_BOUNDARY/1e3,o.WORLD_CENTER_X=1200,o.WORLD_CENTER_Y=900,t.exports=o}),(function(t,r,a){"use strict";var o=a(2),l=a(8),h=a(9);function f(m,b,v){o.call(this,v),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=v,this.bendpoints=[],this.source=m,this.target=b}i(f,"LEdge"),f.prototype=Object.create(o.prototype);for(var p in o)f[p]=o[p];f.prototype.getSource=function(){return this.source},f.prototype.getTarget=function(){return this.target},f.prototype.isInterGraph=function(){return this.isInterGraph},f.prototype.getLength=function(){return this.length},f.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},f.prototype.getBendpoints=function(){return this.bendpoints},f.prototype.getLca=function(){return this.lca},f.prototype.getSourceInLca=function(){return this.sourceInLca},f.prototype.getTargetInLca=function(){return this.targetInLca},f.prototype.getOtherEnd=function(m){if(this.source===m)return this.target;if(this.target===m)return this.source;throw"Node is not incident with this edge"},f.prototype.getOtherEndInGraph=function(m,b){for(var v=this.getOtherEnd(m),T=b.getGraphManager().getRoot();;){if(v.getOwner()==b)return v;if(v.getOwner()==T)break;v=v.getOwner().getParent()}return null},f.prototype.updateLength=function(){var m=new Array(4);this.isOverlapingSourceAndTarget=l.getIntersection(this.target.getRect(),this.source.getRect(),m),this.isOverlapingSourceAndTarget||(this.lengthX=m[0]-m[2],this.lengthY=m[1]-m[3],Math.abs(this.lengthX)<1&&(this.lengthX=h.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=h.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},f.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=h.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=h.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=f}),(function(t,r,a){"use strict";function o(l){this.vGraphObject=l}i(o,"LGraphObject"),t.exports=o}),(function(t,r,a){"use strict";var o=a(2),l=a(10),h=a(13),f=a(0),p=a(16),m=a(4);function b(T,C,E,S){E==null&&S==null&&(S=C),o.call(this,S),T.graphManager!=null&&(T=T.graphManager),this.estimatedSize=l.MIN_VALUE,this.inclusionTreeDepth=l.MAX_VALUE,this.vGraphObject=S,this.edges=[],this.graphManager=T,E!=null&&C!=null?this.rect=new h(C.x,C.y,E.width,E.height):this.rect=new h}i(b,"LNode"),b.prototype=Object.create(o.prototype);for(var v in o)b[v]=o[v];b.prototype.getEdges=function(){return this.edges},b.prototype.getChild=function(){return this.child},b.prototype.getOwner=function(){return this.owner},b.prototype.getWidth=function(){return this.rect.width},b.prototype.setWidth=function(T){this.rect.width=T},b.prototype.getHeight=function(){return this.rect.height},b.prototype.setHeight=function(T){this.rect.height=T},b.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},b.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},b.prototype.getCenter=function(){return new m(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},b.prototype.getLocation=function(){return new m(this.rect.x,this.rect.y)},b.prototype.getRect=function(){return this.rect},b.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},b.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},b.prototype.setRect=function(T,C){this.rect.x=T.x,this.rect.y=T.y,this.rect.width=C.width,this.rect.height=C.height},b.prototype.setCenter=function(T,C){this.rect.x=T-this.rect.width/2,this.rect.y=C-this.rect.height/2},b.prototype.setLocation=function(T,C){this.rect.x=T,this.rect.y=C},b.prototype.moveBy=function(T,C){this.rect.x+=T,this.rect.y+=C},b.prototype.getEdgeListToNode=function(T){var C=[],E,S=this;return S.edges.forEach(function(R){if(R.target==T){if(R.source!=S)throw"Incorrect edge source!";C.push(R)}}),C},b.prototype.getEdgesBetween=function(T){var C=[],E,S=this;return S.edges.forEach(function(R){if(!(R.source==S||R.target==S))throw"Incorrect edge source and/or target";(R.target==T||R.source==T)&&C.push(R)}),C},b.prototype.getNeighborsList=function(){var T=new Set,C=this;return C.edges.forEach(function(E){if(E.source==C)T.add(E.target);else{if(E.target!=C)throw"Incorrect incidency!";T.add(E.source)}}),T},b.prototype.withChildren=function(){var T=new Set,C,E;if(T.add(this),this.child!=null)for(var S=this.child.getNodes(),R=0;RC&&(this.rect.x-=(this.labelWidth-C)/2,this.setWidth(this.labelWidth)),this.labelHeight>E&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-E)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-E),this.setHeight(this.labelHeight))}}},b.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==l.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},b.prototype.transform=function(T){var C=this.rect.x;C>f.WORLD_BOUNDARY?C=f.WORLD_BOUNDARY:C<-f.WORLD_BOUNDARY&&(C=-f.WORLD_BOUNDARY);var E=this.rect.y;E>f.WORLD_BOUNDARY?E=f.WORLD_BOUNDARY:E<-f.WORLD_BOUNDARY&&(E=-f.WORLD_BOUNDARY);var S=new m(C,E),R=T.inverseTransformPoint(S);this.setLocation(R.x,R.y)},b.prototype.getLeft=function(){return this.rect.x},b.prototype.getRight=function(){return this.rect.x+this.rect.width},b.prototype.getTop=function(){return this.rect.y},b.prototype.getBottom=function(){return this.rect.y+this.rect.height},b.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},t.exports=b}),(function(t,r,a){"use strict";function o(l,h){l==null&&h==null?(this.x=0,this.y=0):(this.x=l,this.y=h)}i(o,"PointD"),o.prototype.getX=function(){return this.x},o.prototype.getY=function(){return this.y},o.prototype.setX=function(l){this.x=l},o.prototype.setY=function(l){this.y=l},o.prototype.getDifference=function(l){return new DimensionD(this.x-l.x,this.y-l.y)},o.prototype.getCopy=function(){return new o(this.x,this.y)},o.prototype.translate=function(l){return this.x+=l.width,this.y+=l.height,this},t.exports=o}),(function(t,r,a){"use strict";var o=a(2),l=a(10),h=a(0),f=a(6),p=a(3),m=a(1),b=a(13),v=a(12),T=a(11);function C(S,R,L){o.call(this,L),this.estimatedSize=l.MIN_VALUE,this.margin=h.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=S,R!=null&&R instanceof f?this.graphManager=R:R!=null&&R instanceof Layout&&(this.graphManager=R.graphManager)}i(C,"LGraph"),C.prototype=Object.create(o.prototype);for(var E in o)C[E]=o[E];C.prototype.getNodes=function(){return this.nodes},C.prototype.getEdges=function(){return this.edges},C.prototype.getGraphManager=function(){return this.graphManager},C.prototype.getParent=function(){return this.parent},C.prototype.getLeft=function(){return this.left},C.prototype.getRight=function(){return this.right},C.prototype.getTop=function(){return this.top},C.prototype.getBottom=function(){return this.bottom},C.prototype.isConnected=function(){return this.isConnected},C.prototype.add=function(S,R,L){if(R==null&&L==null){var _=S;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(_)>-1)throw"Node already in graph!";return _.owner=this,this.getNodes().push(_),_}else{var M=S;if(!(this.getNodes().indexOf(R)>-1&&this.getNodes().indexOf(L)>-1))throw"Source or target not in graph!";if(!(R.owner==L.owner&&R.owner==this))throw"Both owners must be this graph!";return R.owner!=L.owner?null:(M.source=R,M.target=L,M.isInterGraph=!1,this.getEdges().push(M),R.edges.push(M),L!=R&&L.edges.push(M),M)}},C.prototype.remove=function(S){var R=S;if(S instanceof p){if(R==null)throw"Node is null!";if(!(R.owner!=null&&R.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var L=R.edges.slice(),_,M=L.length,I=0;I-1&&P>-1))throw"Source and/or target doesn't know this edge!";_.source.edges.splice(O,1),_.target!=_.source&&_.target.edges.splice(P,1);var F=_.source.owner.getEdges().indexOf(_);if(F==-1)throw"Not in owner's edge list!";_.source.owner.getEdges().splice(F,1)}},C.prototype.updateLeftTop=function(){for(var S=l.MAX_VALUE,R=l.MAX_VALUE,L,_,M,I=this.getNodes(),F=I.length,O=0;OL&&(S=L),R>_&&(R=_)}return S==l.MAX_VALUE?null:(I[0].getParent().paddingLeft!=null?M=I[0].getParent().paddingLeft:M=this.margin,this.left=R-M,this.top=S-M,new v(this.left,this.top))},C.prototype.updateBounds=function(S){for(var R=l.MAX_VALUE,L=-l.MAX_VALUE,_=l.MAX_VALUE,M=-l.MAX_VALUE,I,F,O,P,G,V=this.nodes,Y=V.length,K=0;KI&&(R=I),LO&&(_=O),MI&&(R=I),LO&&(_=O),M=this.nodes.length){var Y=0;L.forEach(function(K){K.owner==S&&Y++}),Y==this.nodes.length&&(this.isConnected=!0)}},t.exports=C}),(function(t,r,a){"use strict";var o,l=a(1);function h(f){o=a(5),this.layout=f,this.graphs=[],this.edges=[]}i(h,"LGraphManager"),h.prototype.addRoot=function(){var f=this.layout.newGraph(),p=this.layout.newNode(null),m=this.add(f,p);return this.setRootGraph(m),this.rootGraph},h.prototype.add=function(f,p,m,b,v){if(m==null&&b==null&&v==null){if(f==null)throw"Graph is null!";if(p==null)throw"Parent node is null!";if(this.graphs.indexOf(f)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(f),f.parent!=null)throw"Already has a parent!";if(p.child!=null)throw"Already has a child!";return f.parent=p,p.child=f,f}else{v=m,b=p,m=f;var T=b.getOwner(),C=v.getOwner();if(!(T!=null&&T.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(C!=null&&C.getGraphManager()==this))throw"Target not in this graph mgr!";if(T==C)return m.isInterGraph=!1,T.add(m,b,v);if(m.isInterGraph=!0,m.source=b,m.target=v,this.edges.indexOf(m)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(m),!(m.source!=null&&m.target!=null))throw"Edge source and/or target is null!";if(!(m.source.edges.indexOf(m)==-1&&m.target.edges.indexOf(m)==-1))throw"Edge already in source and/or target incidency list!";return m.source.edges.push(m),m.target.edges.push(m),m}},h.prototype.remove=function(f){if(f instanceof o){var p=f;if(p.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(p==this.rootGraph||p.parent!=null&&p.parent.graphManager==this))throw"Invalid parent node!";var m=[];m=m.concat(p.getEdges());for(var b,v=m.length,T=0;T=f.getRight()?p[0]+=Math.min(f.getX()-h.getX(),h.getRight()-f.getRight()):f.getX()<=h.getX()&&f.getRight()>=h.getRight()&&(p[0]+=Math.min(h.getX()-f.getX(),f.getRight()-h.getRight())),h.getY()<=f.getY()&&h.getBottom()>=f.getBottom()?p[1]+=Math.min(f.getY()-h.getY(),h.getBottom()-f.getBottom()):f.getY()<=h.getY()&&f.getBottom()>=h.getBottom()&&(p[1]+=Math.min(h.getY()-f.getY(),f.getBottom()-h.getBottom()));var v=Math.abs((f.getCenterY()-h.getCenterY())/(f.getCenterX()-h.getCenterX()));f.getCenterY()===h.getCenterY()&&f.getCenterX()===h.getCenterX()&&(v=1);var T=v*p[0],C=p[1]/v;p[0]T)return p[0]=m,p[1]=E,p[2]=v,p[3]=V,!1;if(bv)return p[0]=C,p[1]=b,p[2]=P,p[3]=T,!1;if(mv?(p[0]=R,p[1]=L,H=!0):(p[0]=S,p[1]=E,H=!0):Z===W&&(m>v?(p[0]=C,p[1]=E,H=!0):(p[0]=_,p[1]=L,H=!0)),-Q===W?v>m?(p[2]=G,p[3]=V,q=!0):(p[2]=P,p[3]=O,q=!0):Q===W&&(v>m?(p[2]=F,p[3]=O,q=!0):(p[2]=Y,p[3]=V,q=!0)),H&&q)return!1;if(m>v?b>T?(te=this.getCardinalDirection(Z,W,4),z=this.getCardinalDirection(Q,W,2)):(te=this.getCardinalDirection(-Z,W,3),z=this.getCardinalDirection(-Q,W,1)):b>T?(te=this.getCardinalDirection(-Z,W,1),z=this.getCardinalDirection(-Q,W,3)):(te=this.getCardinalDirection(Z,W,2),z=this.getCardinalDirection(Q,W,4)),!H)switch(te){case 1:ae=E,re=m+-I/W,p[0]=re,p[1]=ae;break;case 2:re=_,ae=b+M*W,p[0]=re,p[1]=ae;break;case 3:ae=L,re=m+I/W,p[0]=re,p[1]=ae;break;case 4:re=R,ae=b+-M*W,p[0]=re,p[1]=ae;break}if(!q)switch(z){case 1:le=O,ce=v+-J/W,p[2]=ce,p[3]=le;break;case 2:ce=Y,le=T+K*W,p[2]=ce,p[3]=le;break;case 3:le=V,ce=v+J/W,p[2]=ce,p[3]=le;break;case 4:ce=G,le=T+-K*W,p[2]=ce,p[3]=le;break}}return!1},l.getCardinalDirection=function(h,f,p){return h>f?p:1+p%4},l.getIntersection=function(h,f,p,m){if(m==null)return this.getIntersection2(h,f,p);var b=h.x,v=h.y,T=f.x,C=f.y,E=p.x,S=p.y,R=m.x,L=m.y,_=void 0,M=void 0,I=void 0,F=void 0,O=void 0,P=void 0,G=void 0,V=void 0,Y=void 0;return I=C-v,O=b-T,G=T*v-b*C,F=L-S,P=E-R,V=R*S-E*L,Y=I*P-F*O,Y===0?null:(_=(O*V-P*G)/Y,M=(F*G-I*V)/Y,new o(_,M))},l.angleOfVector=function(h,f,p,m){var b=void 0;return h!==p?(b=Math.atan((m-f)/(p-h)),p0?1:l<0?-1:0},o.floor=function(l){return l<0?Math.ceil(l):Math.floor(l)},o.ceil=function(l){return l<0?Math.floor(l):Math.ceil(l)},t.exports=o}),(function(t,r,a){"use strict";function o(){}i(o,"Integer"),o.MAX_VALUE=2147483647,o.MIN_VALUE=-2147483648,t.exports=o}),(function(t,r,a){"use strict";var o=(function(){function b(v,T){for(var C=0;C"u"?"undefined":o(h);return h==null||f!="object"&&f!="function"},t.exports=l}),(function(t,r,a){"use strict";function o(E){if(Array.isArray(E)){for(var S=0,R=Array(E.length);S0&&S;){for(I.push(O[0]);I.length>0&&S;){var P=I[0];I.splice(0,1),M.add(P);for(var G=P.getEdges(),_=0;_-1&&O.splice(J,1)}M=new Set,F=new Map}}return E},C.prototype.createDummyNodesForBendpoints=function(E){for(var S=[],R=E.source,L=this.graphManager.calcLowestCommonAncestor(E.source,E.target),_=0;_0){for(var L=this.edgeToDummyNodes.get(R),_=0;_=0&&S.splice(V,1);var Y=F.getNeighborsList();Y.forEach(function(H){if(R.indexOf(H)<0){var q=L.get(H),Z=q-1;Z==1&&P.push(H),L.set(H,Z)}})}R=R.concat(P),(S.length==1||S.length==2)&&(_=!0,M=S[0])}return M},C.prototype.setGraphManager=function(E){this.graphManager=E},t.exports=C}),(function(t,r,a){"use strict";function o(){}i(o,"RandomSeed"),o.seed=1,o.x=0,o.nextDouble=function(){return o.x=Math.sin(o.seed++)*1e4,o.x-Math.floor(o.x)},t.exports=o}),(function(t,r,a){"use strict";var o=a(4);function l(h,f){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}i(l,"Transform"),l.prototype.getWorldOrgX=function(){return this.lworldOrgX},l.prototype.setWorldOrgX=function(h){this.lworldOrgX=h},l.prototype.getWorldOrgY=function(){return this.lworldOrgY},l.prototype.setWorldOrgY=function(h){this.lworldOrgY=h},l.prototype.getWorldExtX=function(){return this.lworldExtX},l.prototype.setWorldExtX=function(h){this.lworldExtX=h},l.prototype.getWorldExtY=function(){return this.lworldExtY},l.prototype.setWorldExtY=function(h){this.lworldExtY=h},l.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},l.prototype.setDeviceOrgX=function(h){this.ldeviceOrgX=h},l.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},l.prototype.setDeviceOrgY=function(h){this.ldeviceOrgY=h},l.prototype.getDeviceExtX=function(){return this.ldeviceExtX},l.prototype.setDeviceExtX=function(h){this.ldeviceExtX=h},l.prototype.getDeviceExtY=function(){return this.ldeviceExtY},l.prototype.setDeviceExtY=function(h){this.ldeviceExtY=h},l.prototype.transformX=function(h){var f=0,p=this.lworldExtX;return p!=0&&(f=this.ldeviceOrgX+(h-this.lworldOrgX)*this.ldeviceExtX/p),f},l.prototype.transformY=function(h){var f=0,p=this.lworldExtY;return p!=0&&(f=this.ldeviceOrgY+(h-this.lworldOrgY)*this.ldeviceExtY/p),f},l.prototype.inverseTransformX=function(h){var f=0,p=this.ldeviceExtX;return p!=0&&(f=this.lworldOrgX+(h-this.ldeviceOrgX)*this.lworldExtX/p),f},l.prototype.inverseTransformY=function(h){var f=0,p=this.ldeviceExtY;return p!=0&&(f=this.lworldOrgY+(h-this.ldeviceOrgY)*this.lworldExtY/p),f},l.prototype.inverseTransformPoint=function(h){var f=new o(this.inverseTransformX(h.x),this.inverseTransformY(h.y));return f},t.exports=l}),(function(t,r,a){"use strict";function o(T){if(Array.isArray(T)){for(var C=0,E=Array(T.length);Ch.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*h.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(T-h.ADAPTATION_LOWER_NODE_LIMIT)/(h.ADAPTATION_UPPER_NODE_LIMIT-h.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-h.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=h.MAX_NODE_DISPLACEMENT_INCREMENTAL):(T>h.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(h.COOLING_ADAPTATION_FACTOR,1-(T-h.ADAPTATION_LOWER_NODE_LIMIT)/(h.ADAPTATION_UPPER_NODE_LIMIT-h.ADAPTATION_LOWER_NODE_LIMIT)*(1-h.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=h.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},b.prototype.calcSpringForces=function(){for(var T=this.getAllEdges(),C,E=0;E0&&arguments[0]!==void 0?arguments[0]:!0,C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,E,S,R,L,_=this.getAllNodes(),M;if(this.useFRGridVariant)for(this.totalIterations%h.GRID_CALCULATION_CHECK_PERIOD==1&&T&&this.updateGrid(),M=new Set,E=0;E<_.length;E++)R=_[E],this.calculateRepulsionForceOfANode(R,M,T,C),M.add(R);else for(E=0;E<_.length;E++)for(R=_[E],S=E+1;S<_.length;S++)L=_[S],R.getOwner()==L.getOwner()&&this.calcRepulsionForce(R,L)},b.prototype.calcGravitationalForces=function(){for(var T,C=this.getAllNodesToApplyGravitation(),E=0;EI||M>I)&&(T.gravitationForceX=-this.gravityConstant*R,T.gravitationForceY=-this.gravityConstant*L)):(I=C.getEstimatedSize()*this.compoundGravityRangeFactor,(_>I||M>I)&&(T.gravitationForceX=-this.gravityConstant*R*this.compoundGravityConstant,T.gravitationForceY=-this.gravityConstant*L*this.compoundGravityConstant))},b.prototype.isConverged=function(){var T,C=!1;return this.totalIterations>this.maxIterations/3&&(C=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),T=this.totalDisplacement=_.length||I>=_[0].length)){for(var F=0;F<_[M][I].length;F++)if(L=_[M][I][F],!(T.getOwner()!=L.getOwner()||T==L)&&!C.has(L)&&!R.has(L)){var O=Math.abs(T.getCenterX()-L.getCenterX())-(T.getWidth()/2+L.getWidth()/2),P=Math.abs(T.getCenterY()-L.getCenterY())-(T.getHeight()/2+L.getHeight()/2);O<=this.repulsionRange&&P<=this.repulsionRange&&R.add(L)}}T.surrounding=[].concat(o(R))}for(M=0;Mb},"_defaultCompareFunction")}]),p})();t.exports=f}),(function(t,r,a){"use strict";var o=(function(){function f(p,m){for(var b=0;b2&&arguments[2]!==void 0?arguments[2]:1,v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,T=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;l(this,f),this.sequence1=p,this.sequence2=m,this.match_score=b,this.mismatch_penalty=v,this.gap_penalty=T,this.iMax=p.length+1,this.jMax=m.length+1,this.grid=new Array(this.iMax);for(var C=0;C=0;p--){var m=this.listeners[p];m.event===h&&m.callback===f&&this.listeners.splice(p,1)}},l.emit=function(h,f){for(var p=0;p{"use strict";i((function(r,a){typeof Fne=="object"&&typeof ant=="object"?ant.exports=a(int()):typeof define=="function"&&define.amd?define(["layout-base"],a):typeof Fne=="object"?Fne.coseBase=a(int()):r.coseBase=a(r.layoutBase)}),"webpackUniversalModuleDefinition")(Fne,function(t){return(function(r){var a={};function o(l){if(a[l])return a[l].exports;var h=a[l]={i:l,l:!1,exports:{}};return r[l].call(h.exports,h,h.exports,o),h.l=!0,h.exports}return i(o,"__webpack_require__"),o.m=r,o.c=a,o.i=function(l){return l},o.d=function(l,h,f){o.o(l,h)||Object.defineProperty(l,h,{configurable:!1,enumerable:!0,get:f})},o.n=function(l){var h=l&&l.__esModule?i(function(){return l.default},"getDefault"):i(function(){return l},"getModuleExports");return o.d(h,"a",h),h},o.o=function(l,h){return Object.prototype.hasOwnProperty.call(l,h)},o.p="",o(o.s=7)})([(function(r,a){r.exports=t}),(function(r,a,o){"use strict";var l=o(0).FDLayoutConstants;function h(){}i(h,"CoSEConstants");for(var f in l)h[f]=l[f];h.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,h.DEFAULT_RADIAL_SEPARATION=l.DEFAULT_EDGE_LENGTH,h.DEFAULT_COMPONENT_SEPERATION=60,h.TILE=!0,h.TILING_PADDING_VERTICAL=10,h.TILING_PADDING_HORIZONTAL=10,h.TREE_REDUCTION_ON_INCREMENTAL=!1,r.exports=h}),(function(r,a,o){"use strict";var l=o(0).FDLayoutEdge;function h(p,m,b){l.call(this,p,m,b)}i(h,"CoSEEdge"),h.prototype=Object.create(l.prototype);for(var f in l)h[f]=l[f];r.exports=h}),(function(r,a,o){"use strict";var l=o(0).LGraph;function h(p,m,b){l.call(this,p,m,b)}i(h,"CoSEGraph"),h.prototype=Object.create(l.prototype);for(var f in l)h[f]=l[f];r.exports=h}),(function(r,a,o){"use strict";var l=o(0).LGraphManager;function h(p){l.call(this,p)}i(h,"CoSEGraphManager"),h.prototype=Object.create(l.prototype);for(var f in l)h[f]=l[f];r.exports=h}),(function(r,a,o){"use strict";var l=o(0).FDLayoutNode,h=o(0).IMath;function f(m,b,v,T){l.call(this,m,b,v,T)}i(f,"CoSENode"),f.prototype=Object.create(l.prototype);for(var p in l)f[p]=l[p];f.prototype.move=function(){var m=this.graphManager.getLayout();this.displacementX=m.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=m.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>m.coolingFactor*m.maxNodeDisplacement&&(this.displacementX=m.coolingFactor*m.maxNodeDisplacement*h.sign(this.displacementX)),Math.abs(this.displacementY)>m.coolingFactor*m.maxNodeDisplacement&&(this.displacementY=m.coolingFactor*m.maxNodeDisplacement*h.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),m.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},f.prototype.propogateDisplacementToChildren=function(m,b){for(var v=this.getChild().getNodes(),T,C=0;C0)this.positionNodesRadially(O);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var P=new Set(this.getAllNodes()),G=this.nodesWithGravity.filter(function(V){return P.has(V)});this.graphManager.setAllNodesToApplyGravitation(G),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},I.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%v.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var O=new Set(this.getAllNodes()),P=this.nodesWithGravity.filter(function(Y){return O.has(Y)});this.graphManager.setAllNodesToApplyGravitation(P),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=v.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=v.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var G=!this.isTreeGrowing&&!this.isGrowthFinished,V=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(G,V),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},I.prototype.getPositionsData=function(){for(var O=this.graphManager.getAllNodes(),P={},G=0;G1){var H;for(H=0;HV&&(V=Math.floor(J.y)),K=Math.floor(J.x+b.DEFAULT_COMPONENT_SEPERATION)}this.transform(new E(T.WORLD_CENTER_X-J.x/2,T.WORLD_CENTER_Y-J.y/2))},I.radialLayout=function(O,P,G){var V=Math.max(this.maxDiagonalInTree(O),b.DEFAULT_RADIAL_SEPARATION);I.branchRadialLayout(P,null,0,359,0,V);var Y=_.calculateBounds(O),K=new M;K.setDeviceOrgX(Y.getMinX()),K.setDeviceOrgY(Y.getMinY()),K.setWorldOrgX(G.x),K.setWorldOrgY(G.y);for(var J=0;J1;){var de=le[0];le.splice(0,1);var ve=te.indexOf(de);ve>=0&&te.splice(ve,1),ae--,z--}P!=null?ce=(te.indexOf(le[0])+1)%ae:ce=0;for(var Se=Math.abs(V-G)/z,_e=ce;re!=z;_e=++_e%ae){var Ce=te[_e].getOtherEnd(O);if(Ce!=P){var Ve=(G+re*Se)%360,De=(Ve+Se)%360;I.branchRadialLayout(Ce,O,Ve,De,Y+K,K),re++}}},I.maxDiagonalInTree=function(O){for(var P=R.MIN_VALUE,G=0;GP&&(P=Y)}return P},I.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},I.prototype.groupZeroDegreeMembers=function(){var O=this,P={};this.memberGroups={},this.idToDummyNode={};for(var G=[],V=this.graphManager.getAllNodes(),Y=0;Y"u"&&(P[H]=[]),P[H]=P[H].concat(K)}Object.keys(P).forEach(function(q){if(P[q].length>1){var Z="DummyCompound_"+q;O.memberGroups[Z]=P[q];var Q=P[q][0].getParent(),W=new p(O.graphManager);W.id=Z,W.paddingLeft=Q.paddingLeft||0,W.paddingRight=Q.paddingRight||0,W.paddingBottom=Q.paddingBottom||0,W.paddingTop=Q.paddingTop||0,O.idToDummyNode[Z]=W;var te=O.getGraphManager().add(O.newGraph(),W),z=Q.getChild();z.add(W);for(var re=0;re=0;O--){var P=this.compoundOrder[O],G=P.id,V=P.paddingLeft,Y=P.paddingTop;this.adjustLocations(this.tiledMemberPack[G],P.rect.x,P.rect.y,V,Y)}},I.prototype.repopulateZeroDegreeMembers=function(){var O=this,P=this.tiledZeroDegreePack;Object.keys(P).forEach(function(G){var V=O.idToDummyNode[G],Y=V.paddingLeft,K=V.paddingTop;O.adjustLocations(P[G],V.rect.x,V.rect.y,Y,K)})},I.prototype.getToBeTiled=function(O){var P=O.id;if(this.toBeTiled[P]!=null)return this.toBeTiled[P];var G=O.getChild();if(G==null)return this.toBeTiled[P]=!1,!1;for(var V=G.getNodes(),Y=0;Y0)return this.toBeTiled[P]=!1,!1;if(K.getChild()==null){this.toBeTiled[K.id]=!1;continue}if(!this.getToBeTiled(K))return this.toBeTiled[P]=!1,!1}return this.toBeTiled[P]=!0,!0},I.prototype.getNodeDegree=function(O){for(var P=O.id,G=O.getEdges(),V=0,Y=0;Yq&&(q=Q.rect.height)}G+=q+O.verticalPadding}},I.prototype.tileCompoundMembers=function(O,P){var G=this;this.tiledMemberPack=[],Object.keys(O).forEach(function(V){var Y=P[V];G.tiledMemberPack[V]=G.tileNodes(O[V],Y.paddingLeft+Y.paddingRight),Y.rect.width=G.tiledMemberPack[V].width,Y.rect.height=G.tiledMemberPack[V].height})},I.prototype.tileNodes=function(O,P){var G=b.TILING_PADDING_VERTICAL,V=b.TILING_PADDING_HORIZONTAL,Y={rows:[],rowWidth:[],rowHeight:[],width:0,height:P,verticalPadding:G,horizontalPadding:V};O.sort(function(H,q){return H.rect.width*H.rect.height>q.rect.width*q.rect.height?-1:H.rect.width*H.rect.height0&&(J+=O.horizontalPadding),O.rowWidth[G]=J,O.width0&&(H+=O.verticalPadding);var q=0;H>O.rowHeight[G]&&(q=O.rowHeight[G],O.rowHeight[G]=H,q=O.rowHeight[G]-q),O.height+=q,O.rows[G].push(P)},I.prototype.getShortestRowIndex=function(O){for(var P=-1,G=Number.MAX_VALUE,V=0;VG&&(P=V,G=O.rowWidth[V]);return P},I.prototype.canAddHorizontal=function(O,P,G){var V=this.getShortestRowIndex(O);if(V<0)return!0;var Y=O.rowWidth[V];if(Y+O.horizontalPadding+P<=O.width)return!0;var K=0;O.rowHeight[V]0&&(K=G+O.verticalPadding-O.rowHeight[V]);var J;O.width-Y>=P+O.horizontalPadding?J=(O.height+K)/(Y+P+O.horizontalPadding):J=(O.height+K)/O.width,K=G+O.verticalPadding;var H;return O.widthK&&P!=G){V.splice(-1,1),O.rows[G].push(Y),O.rowWidth[P]=O.rowWidth[P]-K,O.rowWidth[G]=O.rowWidth[G]+K,O.width=O.rowWidth[instance.getLongestRowIndex(O)];for(var J=Number.MIN_VALUE,H=0;HJ&&(J=V[H].height);P>0&&(J+=O.verticalPadding);var q=O.rowHeight[P]+O.rowHeight[G];O.rowHeight[P]=J,O.rowHeight[G]0)for(var z=Y;z<=K;z++)te[0]+=this.grid[z][J-1].length+this.grid[z][J].length-1;if(K0)for(var z=J;z<=H;z++)te[3]+=this.grid[Y-1][z].length+this.grid[Y][z].length-1;for(var re=R.MAX_VALUE,ae,ce,le=0;le{"use strict";i((function(r,a){typeof $ne=="object"&&typeof ont=="object"?ont.exports=a(snt()):typeof define=="function"&&define.amd?define(["cose-base"],a):typeof $ne=="object"?$ne.cytoscapeCoseBilkent=a(snt()):r.cytoscapeCoseBilkent=a(r.coseBase)}),"webpackUniversalModuleDefinition")($ne,function(t){return(function(r){var a={};function o(l){if(a[l])return a[l].exports;var h=a[l]={i:l,l:!1,exports:{}};return r[l].call(h.exports,h,h.exports,o),h.l=!0,h.exports}return i(o,"__webpack_require__"),o.m=r,o.c=a,o.i=function(l){return l},o.d=function(l,h,f){o.o(l,h)||Object.defineProperty(l,h,{configurable:!1,enumerable:!0,get:f})},o.n=function(l){var h=l&&l.__esModule?i(function(){return l.default},"getDefault"):i(function(){return l},"getModuleExports");return o.d(h,"a",h),h},o.o=function(l,h){return Object.prototype.hasOwnProperty.call(l,h)},o.p="",o(o.s=1)})([(function(r,a){r.exports=t}),(function(r,a,o){"use strict";var l=o(0).layoutBase.LayoutConstants,h=o(0).layoutBase.FDLayoutConstants,f=o(0).CoSEConstants,p=o(0).CoSELayout,m=o(0).CoSENode,b=o(0).layoutBase.PointD,v=o(0).layoutBase.DimensionD,T={ready:i(function(){},"ready"),stop:i(function(){},"stop"),quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:.45,nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.5};function C(L,_){var M={};for(var I in L)M[I]=L[I];for(var I in _)M[I]=_[I];return M}i(C,"extend");function E(L){this.options=C(T,L),S(this.options)}i(E,"_CoSELayout");var S=i(function(_){_.nodeRepulsion!=null&&(f.DEFAULT_REPULSION_STRENGTH=h.DEFAULT_REPULSION_STRENGTH=_.nodeRepulsion),_.idealEdgeLength!=null&&(f.DEFAULT_EDGE_LENGTH=h.DEFAULT_EDGE_LENGTH=_.idealEdgeLength),_.edgeElasticity!=null&&(f.DEFAULT_SPRING_STRENGTH=h.DEFAULT_SPRING_STRENGTH=_.edgeElasticity),_.nestingFactor!=null&&(f.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=h.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=_.nestingFactor),_.gravity!=null&&(f.DEFAULT_GRAVITY_STRENGTH=h.DEFAULT_GRAVITY_STRENGTH=_.gravity),_.numIter!=null&&(f.MAX_ITERATIONS=h.MAX_ITERATIONS=_.numIter),_.gravityRange!=null&&(f.DEFAULT_GRAVITY_RANGE_FACTOR=h.DEFAULT_GRAVITY_RANGE_FACTOR=_.gravityRange),_.gravityCompound!=null&&(f.DEFAULT_COMPOUND_GRAVITY_STRENGTH=h.DEFAULT_COMPOUND_GRAVITY_STRENGTH=_.gravityCompound),_.gravityRangeCompound!=null&&(f.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=h.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=_.gravityRangeCompound),_.initialEnergyOnIncremental!=null&&(f.DEFAULT_COOLING_FACTOR_INCREMENTAL=h.DEFAULT_COOLING_FACTOR_INCREMENTAL=_.initialEnergyOnIncremental),_.quality=="draft"?l.QUALITY=0:_.quality=="proof"?l.QUALITY=2:l.QUALITY=1,f.NODE_DIMENSIONS_INCLUDE_LABELS=h.NODE_DIMENSIONS_INCLUDE_LABELS=l.NODE_DIMENSIONS_INCLUDE_LABELS=_.nodeDimensionsIncludeLabels,f.DEFAULT_INCREMENTAL=h.DEFAULT_INCREMENTAL=l.DEFAULT_INCREMENTAL=!_.randomize,f.ANIMATE=h.ANIMATE=l.ANIMATE=_.animate,f.TILE=_.tile,f.TILING_PADDING_VERTICAL=typeof _.tilingPaddingVertical=="function"?_.tilingPaddingVertical.call():_.tilingPaddingVertical,f.TILING_PADDING_HORIZONTAL=typeof _.tilingPaddingHorizontal=="function"?_.tilingPaddingHorizontal.call():_.tilingPaddingHorizontal},"getUserOptions");E.prototype.run=function(){var L,_,M=this.options,I=this.idToLNode={},F=this.layout=new p,O=this;O.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var P=F.newGraphManager();this.gm=P;var G=this.options.eles.nodes(),V=this.options.eles.edges();this.root=P.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(G),F);for(var Y=0;Y0){var H;H=M.getGraphManager().add(M.newGraph(),G),this.processChildrenList(H,P,M)}}},E.prototype.stop=function(){return this.stopped=!0,this};var R=i(function(_){_("layout","cose-bilkent",E)},"register");typeof cytoscape<"u"&&R(cytoscape),r.exports=R})])})});function EJn(t,r){t.forEach(a=>{let o={id:a.id,labelText:a.label,height:a.height,width:a.width,padding:a.padding??0};Object.keys(a).forEach(l=>{["id","label","height","width","padding","x","y"].includes(l)||(o[l]=a[l])}),r.add({group:"nodes",data:o,position:{x:a.x??0,y:a.y??0}})})}function SJn(t,r){t.forEach(a=>{let o={id:a.id,source:a.start,target:a.end};Object.keys(a).forEach(l=>{["id","start","end"].includes(l)||(o[l]=a[l])}),r.add({group:"edges",data:o})})}function m8r(t){return new Promise(r=>{let a=dn("body").append("div").attr("id","cy").attr("style","display:none"),o=ck({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});a.remove(),EJn(t.nodes,o),SJn(t.edges,o),o.nodes().forEach(function(h){h.layoutDimensions=()=>{let f=h.data();return{w:f.width,h:f.height}}});let l={name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1};o.layout(l).run(),o.ready(h=>{Pe.info("Cytoscape ready",h),r(o)})})}function y8r(t){return t.nodes().map(r=>{let a=r.data(),o=r.position(),l={id:a.id,x:o.x,y:o.y};return Object.keys(a).forEach(h=>{h!=="id"&&(l[h]=a[h])}),l})}function b8r(t){return t.edges().map(r=>{let a=r.data(),o=r._private.rscratch,l={id:a.id,source:a.source,target:a.target,startX:o.startX,startY:o.startY,midX:o.midX,midY:o.midY,endX:o.endX,endY:o.endY};return Object.keys(a).forEach(h=>{["id","source","target"].includes(h)||(l[h]=a[h])}),l})}var g8r,v8r=ie(()=>{"use strict";rnt();g8r=qv(p8r(),1);Yo();Xn();ck.use(g8r.default);i(EJn,"addNodes");i(SJn,"addEdges");i(m8r,"createCytoscapeInstance");i(y8r,"extractPositionedNodes");i(b8r,"extractPositionedEdges")});async function w8r(t,r){Pe.debug("Starting cose-bilkent layout algorithm");try{AJn(t);let a=await m8r(t),o=y8r(a),l=b8r(a);return Pe.debug(`Layout completed: ${o.length} nodes, ${l.length} edges`),{nodes:o,edges:l}}catch(a){throw Pe.error("Error in cose-bilkent layout algorithm:",a),a}}function AJn(t){if(!t)throw new Error("Layout data is required");if(!t.config)throw new Error("Configuration is required in layout data");if(!t.rootNode)throw new Error("Root node is required");if(!t.nodes||!Array.isArray(t.nodes))throw new Error("No nodes found in layout data");if(!Array.isArray(t.edges))throw new Error("Edges array is required in layout data");return!0}var x8r=ie(()=>{"use strict";Xn();v8r();i(w8r,"executeCoseBilkentLayout");i(AJn,"validateLayoutData")});var T8r,k8r=ie(()=>{"use strict";x8r();T8r=i(async(t,r,{insertCluster:a,insertEdge:o,insertEdgeLabel:l,insertMarkers:h,insertNode:f,log:p,positionEdgeLabel:m},{algorithm:b})=>{let v={},T={},C=r.select("g");h(C,t.markers,t.type,t.diagramId);let E=C.insert("g").attr("class","subgraphs"),S=C.insert("g").attr("class","edgePaths"),R=C.insert("g").attr("class","edgeLabels"),L=C.insert("g").attr("class","nodes");p.debug("Inserting nodes into DOM for dimension calculation"),await Promise.all(t.nodes.map(async I=>{if(I.isGroup){let F={...I};T[I.id]=F,v[I.id]=F,await a(E,I)}else{let F={...I};v[I.id]=F;let O=await f(L,I,{config:t.config,dir:t.direction||"TB"}),P=O.node().getBBox();F.width=P.width,F.height=P.height,F.domId=O,p.debug(`Node ${I.id} dimensions: ${P.width}x${P.height}`)}})),p.debug("Running cose-bilkent layout algorithm");let _={...t,nodes:t.nodes.map(I=>{let F=v[I.id];return{...I,width:F.width,height:F.height}})},M=await w8r(_,t.config);p.debug("Positioning nodes based on layout results"),M.nodes.forEach(I=>{let F=v[I.id];F?.domId&&(F.domId.attr("transform",`translate(${I.x}, ${I.y})`),F.x=I.x,F.y=I.y,p.debug(`Positioned node ${F.id} at center (${I.x}, ${I.y})`))}),M.edges.forEach(I=>{let F=t.edges.find(O=>O.id===I.id);F&&(F.points=[{x:I.startX,y:I.startY},{x:I.midX,y:I.midY},{x:I.endX,y:I.endY}])}),p.debug("Inserting and positioning edges"),await Promise.all(t.edges.map(async I=>{let F=await l(R,I),O=v[I.start??""],P=v[I.end??""];if(O&&P){let G=M.edges.find(V=>V.id===I.id);if(G){p.debug("APA01 positionedEdge",G);let V={...I},Y=o(S,V,T,t.type,O,P,t.diagramId);m(V,Y)}else{let V={...I,points:[{x:O.x||0,y:O.y||0},{x:P.x||0,y:P.y||0}]},Y=o(S,V,T,t.type,O,P,t.diagramId);m(V,Y)}}})),p.debug("Cose-bilkent rendering completed")},"render")});var C8r={};cs(C8r,{render:()=>RJn});var RJn,E8r=ie(()=>{"use strict";k8r();RJn=T8r});var Gne,cnt,LJn,DJn,fy,lnt,dy,xS=ie(()=>{"use strict";dbr();Xn();mJe();gbr();Gne=Object.create(null),cnt=i(t=>{for(let r of t)Gne[r.name]=r},"registerLayoutLoaders"),LJn=i(()=>{let t=i(async()=>await Promise.resolve().then(()=>(v3r(),b3r)),"loader");return[{name:"elk",loader:t,algorithm:"elk.layered"},...pbr.map(r=>({name:r,loader:t,algorithm:r}))]},"elkLayoutLoaders"),DJn=i(()=>{cnt([{name:"dagre",loader:i(async()=>await Promise.resolve().then(()=>(X4r(),K4r)),"loader")},{name:"swimlane",loader:i(async()=>await Promise.resolve().then(()=>(WEr(),qEr)),"loader")},{name:"cose-bilkent",loader:i(async()=>await Promise.resolve().then(()=>(E8r(),C8r)),"loader")},...LJn()])},"registerDefaultLayoutLoaders");DJn();fy=i(async(t,r)=>{if(!Object.hasOwn(Gne,t.layoutAlgorithm))throw new Error(`Unknown layout algorithm: ${t.layoutAlgorithm}`);if(t.diagramId)for(let l of t.nodes){let h=l.domId||l.id;l.domId=`${t.diagramId}-${h}`}let a=Gne[t.layoutAlgorithm],o=await a.loader();return $2e(r,t.config),o.render(t,r,fbr,{algorithm:a.algorithm})},"render"),lnt="dagre",dy=i((t="",{fallback:r=lnt}={})=>{if(Object.hasOwn(Gne,t))return t;for(let a of[r,lnt])if(Object.hasOwn(Gne,a))return Pe.warn(`Layout algorithm ${t} is not registered. Using ${a} as fallback.`),a;throw new Error(`Neither layout algorithm ${t}, ${r}, nor ${lnt} is registered.`)},"getRegisteredLayoutAlgorithm")});var Cm,_Jn,MJn,TS=ie(()=>{"use strict";Gh();Xn();Cm=i((t,r,a,o)=>{t.attr("class",a);let{width:l,height:h,x:f,y:p}=_Jn(t,r);vl(t,h,l,o);let m=MJn(f,p,l,h,r);t.attr("viewBox",m),Pe.debug(`viewBox configured: ${m} with padding: ${r}`)},"setupViewPortForSVG"),_Jn=i((t,r)=>{let a=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:a.width+r*2,height:a.height+r*2,x:a.x,y:a.y}},"calculateDimensionsWithPadding"),MJn=i((t,r,a,o,l)=>`${t-l} ${r-l} ${a} ${o}`,"createViewBox")});var IJn,NJn,S8r,A8r=ie(()=>{"use strict";ma();Xn();hA();xS();TS();Ia();IJn=i(function(t,r){return r.db.getClasses()},"getClasses"),NJn=i(async function(t,r,a,o){Pe.info("REF0:"),Pe.info("Drawing state diagram (v2)",r);let{securityLevel:l,flowchart:h,layout:f}=Zt();o.db.setDiagramId(r),Pe.debug("Before getData: ");let p=o.db.getData();Pe.debug("Data: ",p);let m=ay(r,l),b=o.db.getDirection();p.type=o.type,p.layoutAlgorithm=dy(f),p.direction=b,p.nodeSpacing=h?.nodeSpacing||50,p.rankSpacing=h?.rankSpacing||50,p.markers=["point","circle","cross"],p.diagramId=r,Pe.debug("REF1:",p),await fy(p,m);let v=p.config.flowchart?.diagramPadding??8;Ya.insertTitle(m,"flowchartTitleText",h?.titleTopMargin||0,o.db.getDiagramTitle()),Cm(m,v,"flowchart",h?.useMaxWidth||!1)},"draw"),S8r={getClasses:IJn,draw:NJn}});var unt,hnt,R8r=ie(()=>{"use strict";unt=(function(){var t=i(function(Yn,kn,ci,Mi){for(ci=ci||{},Mi=Yn.length;Mi--;ci[Yn[Mi]]=kn);return ci},"o"),r=[1,4],a=[1,3],o=[1,5],l=[1,8,9,10,11,27,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],h=[2,2],f=[1,13],p=[1,14],m=[1,15],b=[1,16],v=[1,23],T=[1,25],C=[1,26],E=[1,27],S=[1,50],R=[1,49],L=[1,29],_=[1,30],M=[1,31],I=[1,32],F=[1,33],O=[1,45],P=[1,47],G=[1,43],V=[1,48],Y=[1,44],K=[1,51],J=[1,46],H=[1,52],q=[1,53],Z=[1,34],Q=[1,35],W=[1,36],te=[1,37],z=[1,38],re=[1,58],ae=[1,8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],ce=[1,62],le=[1,61],de=[1,63],ve=[8,9,11,75,77,78],Se=[1,79],_e=[1,92],Ce=[1,97],Ve=[1,96],De=[1,93],qe=[1,89],Ue=[1,95],We=[1,91],mt=[1,98],ct=[1,94],Ot=[1,99],yr=[1,90],tr=[8,9,10,11,40,75,77,78],Xe=[8,9,10,11,40,46,75,77,78],Rt=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,78,89,102,105,106,109,111,114,115,116],ft=[8,9,11,44,60,75,77,78,89,102,105,106,109,111,114,115,116],bt=[44,60,89,102,105,106,109,111,114,115,116],Me=[1,122],Fe=[1,123],je=[1,125],He=[1,124],nt=[44,60,62,74,89,102,105,106,109,111,114,115,116],ze=[1,134],se=[1,148],ke=[1,149],Le=[1,150],he=[1,151],Ne=[1,136],Ee=[1,138],ye=[1,142],be=[1,143],ht=[1,144],Je=[1,145],it=[1,146],lt=[1,147],Vt=[1,152],$t=[1,153],gr=[1,132],jt=[1,133],qt=[1,140],Wt=[1,135],Ut=[1,139],rn=[1,137],pt=[8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],$n=[1,155],Gt=[1,157],Rn=[8,9,11],Qn=[8,9,10,11,14,44,60,89,105,106,109,111,114,115,116],En=[1,177],di=[1,173],Bn=[1,174],mi=[1,178],Qr=[1,175],Pi=[1,176],qa=[77,116,119],Ke=[8,9,10,11,12,14,27,29,32,44,60,75,84,85,86,87,88,89,90,105,109,111,114,115,116],Tn=[10,106],Ln=[31,49,51,53,55,57,62,64,66,67,69,71,116,117,118],dt=[1,248],rr=[1,246],Yr=[1,250],An=[1,244],Cn=[1,245],es=[1,247],vr=[1,249],an=[1,251],Dn=[1,269],Ni=[8,9,11,106],Gi=[8,9,10,11,60,84,105,106,109,110,111,112],va={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,LINK_ID:78,edgeTextToken:79,STR:80,MD_STR:81,textToken:82,keywords:83,STYLE:84,LINKSTYLE:85,CLASSDEF:86,CLASS:87,CLICK:88,DOWN:89,UP:90,textNoTagsToken:91,stylesOpt:92,"idString[vertex]":93,"idString[class]":94,CALLBACKNAME:95,CALLBACKARGS:96,HREF:97,LINK_TARGET:98,"STR[link]":99,"STR[tooltip]":100,alphaNum:101,DEFAULT:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,NODE_STRING:109,UNIT:110,BRKT:111,PCT:112,idStringToken:113,MINUS:114,MULT:115,UNICODE_TEXT:116,TEXT:117,TAGSTART:118,EDGE_TEXT:119,alphaNumToken:120,direction_tb:121,direction_bt:122,direction_rl:123,direction_lr:124,direction_td:125,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",40:"SHAPE_DATA",44:"AMP",46:"STYLE_SEPARATOR",48:"DOUBLECIRCLESTART",49:"DOUBLECIRCLEEND",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"NODE_STRING[field]",60:"COLON",61:"NODE_STRING[value]",62:"PIPE",63:"CYLINDERSTART",64:"CYLINDEREND",65:"DIAMOND_START",66:"DIAMOND_STOP",67:"TAGEND",68:"TRAPSTART",69:"TRAPEND",70:"INVTRAPSTART",71:"INVTRAPEND",74:"TESTSTR",75:"START_LINK",77:"LINK",78:"LINK_ID",80:"STR",81:"MD_STR",84:"STYLE",85:"LINKSTYLE",86:"CLASSDEF",87:"CLASS",88:"CLICK",89:"DOWN",90:"UP",93:"idString[vertex]",94:"idString[class]",95:"CALLBACKNAME",96:"CALLBACKARGS",97:"HREF",98:"LINK_TARGET",99:"STR[link]",100:"STR[tooltip]",102:"DEFAULT",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"NODE_STRING",110:"UNIT",111:"BRKT",112:"PCT",114:"MINUS",115:"MULT",116:"UNICODE_TEXT",117:"TEXT",118:"TAGSTART",119:"EDGE_TEXT",121:"direction_tb",122:"direction_bt",123:"direction_rl",124:"direction_lr",125:"direction_td"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,3],[20,4],[20,2],[20,2],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[41,4],[76,1],[76,2],[76,1],[76,1],[72,1],[72,2],[73,3],[30,1],[30,2],[30,1],[30,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[103,1],[103,3],[92,1],[92,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[82,1],[82,1],[82,1],[82,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[79,1],[79,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[47,1],[47,2],[101,1],[101,2],[33,1],[33,1],[33,1],[33,1],[33,1]],performAction:i(function(kn,ci,Mi,jn,pa,wt,fl){var Pt=wt.length-1;switch(pa){case 2:this.$=[];break;case 3:(!Array.isArray(wt[Pt])||wt[Pt].length>0)&&wt[Pt-1].push(wt[Pt]),this.$=wt[Pt-1];break;case 4:case 183:this.$=wt[Pt];break;case 11:jn.setDirection("TB"),this.$="TB";break;case 12:jn.setDirection(wt[Pt-1]),this.$=wt[Pt-1];break;case 27:this.$=wt[Pt-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=jn.addSubGraph(wt[Pt-6],wt[Pt-1],wt[Pt-4]);break;case 34:this.$=jn.addSubGraph(wt[Pt-3],wt[Pt-1],wt[Pt-3]);break;case 35:this.$=jn.addSubGraph(void 0,wt[Pt-1],void 0);break;case 37:this.$=wt[Pt].trim(),jn.setAccTitle(this.$);break;case 38:case 39:this.$=wt[Pt].trim(),jn.setAccDescription(this.$);break;case 43:this.$=wt[Pt-1]+wt[Pt];break;case 44:this.$=wt[Pt];break;case 45:jn.addVertex(wt[Pt-1][wt[Pt-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,wt[Pt]),jn.addLink(wt[Pt-3].stmt,wt[Pt-1],wt[Pt-2]),this.$={stmt:wt[Pt-1],nodes:wt[Pt-1].concat(wt[Pt-3].nodes)};break;case 46:jn.addLink(wt[Pt-2].stmt,wt[Pt],wt[Pt-1]),this.$={stmt:wt[Pt],nodes:wt[Pt].concat(wt[Pt-2].nodes)};break;case 47:jn.addLink(wt[Pt-3].stmt,wt[Pt-1],wt[Pt-2]),this.$={stmt:wt[Pt-1],nodes:wt[Pt-1].concat(wt[Pt-3].nodes)};break;case 48:this.$={stmt:wt[Pt-1],nodes:wt[Pt-1]};break;case 49:jn.addVertex(wt[Pt-1][wt[Pt-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,wt[Pt]),this.$={stmt:wt[Pt-1],nodes:wt[Pt-1],shapeData:wt[Pt]};break;case 50:this.$={stmt:wt[Pt],nodes:wt[Pt]};break;case 51:this.$=[wt[Pt]];break;case 52:jn.addVertex(wt[Pt-5][wt[Pt-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,wt[Pt-4]),this.$=wt[Pt-5].concat(wt[Pt]);break;case 53:this.$=wt[Pt-4].concat(wt[Pt]);break;case 54:this.$=wt[Pt];break;case 55:this.$=wt[Pt-2],jn.setClass(wt[Pt-2],wt[Pt]);break;case 56:this.$=wt[Pt-3],jn.addVertex(wt[Pt-3],wt[Pt-1],"square");break;case 57:this.$=wt[Pt-3],jn.addVertex(wt[Pt-3],wt[Pt-1],"doublecircle");break;case 58:this.$=wt[Pt-5],jn.addVertex(wt[Pt-5],wt[Pt-2],"circle");break;case 59:this.$=wt[Pt-3],jn.addVertex(wt[Pt-3],wt[Pt-1],"ellipse");break;case 60:this.$=wt[Pt-3],jn.addVertex(wt[Pt-3],wt[Pt-1],"stadium");break;case 61:this.$=wt[Pt-3],jn.addVertex(wt[Pt-3],wt[Pt-1],"subroutine");break;case 62:this.$=wt[Pt-7],jn.addVertex(wt[Pt-7],wt[Pt-1],"rect",void 0,void 0,void 0,Object.fromEntries([[wt[Pt-5],wt[Pt-3]]]));break;case 63:this.$=wt[Pt-3],jn.addVertex(wt[Pt-3],wt[Pt-1],"cylinder");break;case 64:this.$=wt[Pt-3],jn.addVertex(wt[Pt-3],wt[Pt-1],"round");break;case 65:this.$=wt[Pt-3],jn.addVertex(wt[Pt-3],wt[Pt-1],"diamond");break;case 66:this.$=wt[Pt-5],jn.addVertex(wt[Pt-5],wt[Pt-2],"hexagon");break;case 67:this.$=wt[Pt-3],jn.addVertex(wt[Pt-3],wt[Pt-1],"odd");break;case 68:this.$=wt[Pt-3],jn.addVertex(wt[Pt-3],wt[Pt-1],"trapezoid");break;case 69:this.$=wt[Pt-3],jn.addVertex(wt[Pt-3],wt[Pt-1],"inv_trapezoid");break;case 70:this.$=wt[Pt-3],jn.addVertex(wt[Pt-3],wt[Pt-1],"lean_right");break;case 71:this.$=wt[Pt-3],jn.addVertex(wt[Pt-3],wt[Pt-1],"lean_left");break;case 72:this.$=wt[Pt],jn.addVertex(wt[Pt]);break;case 73:wt[Pt-1].text=wt[Pt],this.$=wt[Pt-1];break;case 74:case 75:wt[Pt-2].text=wt[Pt-1],this.$=wt[Pt-2];break;case 76:this.$=wt[Pt];break;case 77:var is=jn.destructLink(wt[Pt],wt[Pt-2]);this.$={type:is.type,stroke:is.stroke,length:is.length,text:wt[Pt-1]};break;case 78:var is=jn.destructLink(wt[Pt],wt[Pt-2]);this.$={type:is.type,stroke:is.stroke,length:is.length,text:wt[Pt-1],id:wt[Pt-3]};break;case 79:this.$={text:wt[Pt],type:"text"};break;case 80:this.$={text:wt[Pt-1].text+""+wt[Pt],type:wt[Pt-1].type};break;case 81:this.$={text:wt[Pt],type:"string"};break;case 82:this.$={text:wt[Pt],type:"markdown"};break;case 83:var is=jn.destructLink(wt[Pt]);this.$={type:is.type,stroke:is.stroke,length:is.length};break;case 84:var is=jn.destructLink(wt[Pt]);this.$={type:is.type,stroke:is.stroke,length:is.length,id:wt[Pt-1]};break;case 85:this.$=wt[Pt-1];break;case 86:this.$={text:wt[Pt],type:"text"};break;case 87:this.$={text:wt[Pt-1].text+""+wt[Pt],type:wt[Pt-1].type};break;case 88:this.$={text:wt[Pt],type:"string"};break;case 89:case 104:this.$={text:wt[Pt],type:"markdown"};break;case 101:this.$={text:wt[Pt],type:"text"};break;case 102:this.$={text:wt[Pt-1].text+""+wt[Pt],type:wt[Pt-1].type};break;case 103:this.$={text:wt[Pt],type:"text"};break;case 105:this.$=wt[Pt-4],jn.addClass(wt[Pt-2],wt[Pt]);break;case 106:this.$=wt[Pt-4],jn.setClass(wt[Pt-2],wt[Pt]);break;case 107:case 115:this.$=wt[Pt-1],jn.setClickEvent(wt[Pt-1],wt[Pt]);break;case 108:case 116:this.$=wt[Pt-3],jn.setClickEvent(wt[Pt-3],wt[Pt-2]),jn.setTooltip(wt[Pt-3],wt[Pt]);break;case 109:this.$=wt[Pt-2],jn.setClickEvent(wt[Pt-2],wt[Pt-1],wt[Pt]);break;case 110:this.$=wt[Pt-4],jn.setClickEvent(wt[Pt-4],wt[Pt-3],wt[Pt-2]),jn.setTooltip(wt[Pt-4],wt[Pt]);break;case 111:this.$=wt[Pt-2],jn.setLink(wt[Pt-2],wt[Pt]);break;case 112:this.$=wt[Pt-4],jn.setLink(wt[Pt-4],wt[Pt-2]),jn.setTooltip(wt[Pt-4],wt[Pt]);break;case 113:this.$=wt[Pt-4],jn.setLink(wt[Pt-4],wt[Pt-2],wt[Pt]);break;case 114:this.$=wt[Pt-6],jn.setLink(wt[Pt-6],wt[Pt-4],wt[Pt]),jn.setTooltip(wt[Pt-6],wt[Pt-2]);break;case 117:this.$=wt[Pt-1],jn.setLink(wt[Pt-1],wt[Pt]);break;case 118:this.$=wt[Pt-3],jn.setLink(wt[Pt-3],wt[Pt-2]),jn.setTooltip(wt[Pt-3],wt[Pt]);break;case 119:this.$=wt[Pt-3],jn.setLink(wt[Pt-3],wt[Pt-2],wt[Pt]);break;case 120:this.$=wt[Pt-5],jn.setLink(wt[Pt-5],wt[Pt-4],wt[Pt]),jn.setTooltip(wt[Pt-5],wt[Pt-2]);break;case 121:this.$=wt[Pt-4],jn.addVertex(wt[Pt-2],void 0,void 0,wt[Pt]);break;case 122:this.$=wt[Pt-4],jn.updateLink([wt[Pt-2]],wt[Pt]);break;case 123:this.$=wt[Pt-4],jn.updateLink(wt[Pt-2],wt[Pt]);break;case 124:this.$=wt[Pt-8],jn.updateLinkInterpolate([wt[Pt-6]],wt[Pt-2]),jn.updateLink([wt[Pt-6]],wt[Pt]);break;case 125:this.$=wt[Pt-8],jn.updateLinkInterpolate(wt[Pt-6],wt[Pt-2]),jn.updateLink(wt[Pt-6],wt[Pt]);break;case 126:this.$=wt[Pt-6],jn.updateLinkInterpolate([wt[Pt-4]],wt[Pt]);break;case 127:this.$=wt[Pt-6],jn.updateLinkInterpolate(wt[Pt-4],wt[Pt]);break;case 128:case 130:this.$=[wt[Pt]];break;case 129:case 131:wt[Pt-2].push(wt[Pt]),this.$=wt[Pt-2];break;case 133:this.$=wt[Pt-1]+wt[Pt];break;case 181:this.$=wt[Pt];break;case 182:this.$=wt[Pt-1]+""+wt[Pt];break;case 184:this.$=wt[Pt-1]+""+wt[Pt];break;case 185:this.$={stmt:"dir",value:"TB"};break;case 186:this.$={stmt:"dir",value:"BT"};break;case 187:this.$={stmt:"dir",value:"RL"};break;case 188:this.$={stmt:"dir",value:"LR"};break;case 189:this.$={stmt:"dir",value:"TD"};break}},"anonymous"),table:[{3:1,4:2,9:r,10:a,12:o},{1:[3]},t(l,h,{5:6}),{4:7,9:r,10:a,12:o},{4:8,9:r,10:a,12:o},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:f,9:p,10:m,11:b,20:17,22:18,23:19,24:20,25:21,26:22,27:v,33:24,34:T,36:C,38:E,42:28,43:39,44:S,45:40,47:41,60:R,84:L,85:_,86:M,87:I,88:F,89:O,102:P,105:G,106:V,109:Y,111:K,113:42,114:J,115:H,116:q,121:Z,122:Q,123:W,124:te,125:z},t(l,[2,9]),t(l,[2,10]),t(l,[2,11]),{8:[1,55],9:[1,56],10:re,15:54,18:57},t(ae,[2,3]),t(ae,[2,4]),t(ae,[2,5]),t(ae,[2,6]),t(ae,[2,7]),t(ae,[2,8]),{8:ce,9:le,11:de,21:59,41:60,72:64,75:[1,65],77:[1,67],78:[1,66]},{8:ce,9:le,11:de,21:68},{8:ce,9:le,11:de,21:69},{8:ce,9:le,11:de,21:70},{8:ce,9:le,11:de,21:71},{8:ce,9:le,11:de,21:72},{8:ce,9:le,10:[1,73],11:de,21:74},t(ae,[2,36]),{35:[1,75]},{37:[1,76]},t(ae,[2,39]),t(ve,[2,50],{18:77,39:78,10:re,40:Se}),{10:[1,80]},{10:[1,81]},{10:[1,82]},{10:[1,83]},{14:_e,44:Ce,60:Ve,80:[1,87],89:De,95:[1,84],97:[1,85],101:86,105:qe,106:Ue,109:We,111:mt,114:ct,115:Ot,116:yr,120:88},t(ae,[2,185]),t(ae,[2,186]),t(ae,[2,187]),t(ae,[2,188]),t(ae,[2,189]),t(tr,[2,51]),t(tr,[2,54],{46:[1,100]}),t(Xe,[2,72],{113:113,29:[1,101],44:S,48:[1,102],50:[1,103],52:[1,104],54:[1,105],56:[1,106],58:[1,107],60:R,63:[1,108],65:[1,109],67:[1,110],68:[1,111],70:[1,112],89:O,102:P,105:G,106:V,109:Y,111:K,114:J,115:H,116:q}),t(Rt,[2,181]),t(Rt,[2,142]),t(Rt,[2,143]),t(Rt,[2,144]),t(Rt,[2,145]),t(Rt,[2,146]),t(Rt,[2,147]),t(Rt,[2,148]),t(Rt,[2,149]),t(Rt,[2,150]),t(Rt,[2,151]),t(Rt,[2,152]),t(l,[2,12]),t(l,[2,18]),t(l,[2,19]),{9:[1,114]},t(ft,[2,26],{18:115,10:re}),t(ae,[2,27]),{42:116,43:39,44:S,45:40,47:41,60:R,89:O,102:P,105:G,106:V,109:Y,111:K,113:42,114:J,115:H,116:q},t(ae,[2,40]),t(ae,[2,41]),t(ae,[2,42]),t(bt,[2,76],{73:117,62:[1,119],74:[1,118]}),{76:120,79:121,80:Me,81:Fe,116:je,119:He},{75:[1,126],77:[1,127]},t(nt,[2,83]),t(ae,[2,28]),t(ae,[2,29]),t(ae,[2,30]),t(ae,[2,31]),t(ae,[2,32]),{10:ze,12:se,14:ke,27:Le,28:128,32:he,44:Ne,60:Ee,75:ye,80:[1,130],81:[1,131],83:141,84:be,85:ht,86:Je,87:it,88:lt,89:Vt,90:$t,91:129,105:gr,109:jt,111:qt,114:Wt,115:Ut,116:rn},t(pt,h,{5:154}),t(ae,[2,37]),t(ae,[2,38]),t(ve,[2,48],{44:$n}),t(ve,[2,49],{18:156,10:re,40:Gt}),t(tr,[2,44]),{44:S,47:158,60:R,89:O,102:P,105:G,106:V,109:Y,111:K,113:42,114:J,115:H,116:q},{102:[1,159],103:160,105:[1,161]},{44:S,47:162,60:R,89:O,102:P,105:G,106:V,109:Y,111:K,113:42,114:J,115:H,116:q},{44:S,47:163,60:R,89:O,102:P,105:G,106:V,109:Y,111:K,113:42,114:J,115:H,116:q},t(Rn,[2,107],{10:[1,164],96:[1,165]}),{80:[1,166]},t(Rn,[2,115],{120:168,10:[1,167],14:_e,44:Ce,60:Ve,89:De,105:qe,106:Ue,109:We,111:mt,114:ct,115:Ot,116:yr}),t(Rn,[2,117],{10:[1,169]}),t(Qn,[2,183]),t(Qn,[2,170]),t(Qn,[2,171]),t(Qn,[2,172]),t(Qn,[2,173]),t(Qn,[2,174]),t(Qn,[2,175]),t(Qn,[2,176]),t(Qn,[2,177]),t(Qn,[2,178]),t(Qn,[2,179]),t(Qn,[2,180]),{44:S,47:170,60:R,89:O,102:P,105:G,106:V,109:Y,111:K,113:42,114:J,115:H,116:q},{30:171,67:En,80:di,81:Bn,82:172,116:mi,117:Qr,118:Pi},{30:179,67:En,80:di,81:Bn,82:172,116:mi,117:Qr,118:Pi},{30:181,50:[1,180],67:En,80:di,81:Bn,82:172,116:mi,117:Qr,118:Pi},{30:182,67:En,80:di,81:Bn,82:172,116:mi,117:Qr,118:Pi},{30:183,67:En,80:di,81:Bn,82:172,116:mi,117:Qr,118:Pi},{30:184,67:En,80:di,81:Bn,82:172,116:mi,117:Qr,118:Pi},{109:[1,185]},{30:186,67:En,80:di,81:Bn,82:172,116:mi,117:Qr,118:Pi},{30:187,65:[1,188],67:En,80:di,81:Bn,82:172,116:mi,117:Qr,118:Pi},{30:189,67:En,80:di,81:Bn,82:172,116:mi,117:Qr,118:Pi},{30:190,67:En,80:di,81:Bn,82:172,116:mi,117:Qr,118:Pi},{30:191,67:En,80:di,81:Bn,82:172,116:mi,117:Qr,118:Pi},t(Rt,[2,182]),t(l,[2,20]),t(ft,[2,25]),t(ve,[2,46],{39:192,18:193,10:re,40:Se}),t(bt,[2,73],{10:[1,194]}),{10:[1,195]},{30:196,67:En,80:di,81:Bn,82:172,116:mi,117:Qr,118:Pi},{77:[1,197],79:198,116:je,119:He},t(qa,[2,79]),t(qa,[2,81]),t(qa,[2,82]),t(qa,[2,168]),t(qa,[2,169]),{76:199,79:121,80:Me,81:Fe,116:je,119:He},t(nt,[2,84]),{8:ce,9:le,10:ze,11:de,12:se,14:ke,21:201,27:Le,29:[1,200],32:he,44:Ne,60:Ee,75:ye,83:141,84:be,85:ht,86:Je,87:it,88:lt,89:Vt,90:$t,91:202,105:gr,109:jt,111:qt,114:Wt,115:Ut,116:rn},t(Ke,[2,101]),t(Ke,[2,103]),t(Ke,[2,104]),t(Ke,[2,157]),t(Ke,[2,158]),t(Ke,[2,159]),t(Ke,[2,160]),t(Ke,[2,161]),t(Ke,[2,162]),t(Ke,[2,163]),t(Ke,[2,164]),t(Ke,[2,165]),t(Ke,[2,166]),t(Ke,[2,167]),t(Ke,[2,90]),t(Ke,[2,91]),t(Ke,[2,92]),t(Ke,[2,93]),t(Ke,[2,94]),t(Ke,[2,95]),t(Ke,[2,96]),t(Ke,[2,97]),t(Ke,[2,98]),t(Ke,[2,99]),t(Ke,[2,100]),{6:11,7:12,8:f,9:p,10:m,11:b,20:17,22:18,23:19,24:20,25:21,26:22,27:v,32:[1,203],33:24,34:T,36:C,38:E,42:28,43:39,44:S,45:40,47:41,60:R,84:L,85:_,86:M,87:I,88:F,89:O,102:P,105:G,106:V,109:Y,111:K,113:42,114:J,115:H,116:q,121:Z,122:Q,123:W,124:te,125:z},{10:re,18:204},{44:[1,205]},t(tr,[2,43]),{10:[1,206],44:S,60:R,89:O,102:P,105:G,106:V,109:Y,111:K,113:113,114:J,115:H,116:q},{10:[1,207]},{10:[1,208],106:[1,209]},t(Tn,[2,128]),{10:[1,210],44:S,60:R,89:O,102:P,105:G,106:V,109:Y,111:K,113:113,114:J,115:H,116:q},{10:[1,211],44:S,60:R,89:O,102:P,105:G,106:V,109:Y,111:K,113:113,114:J,115:H,116:q},{80:[1,212]},t(Rn,[2,109],{10:[1,213]}),t(Rn,[2,111],{10:[1,214]}),{80:[1,215]},t(Qn,[2,184]),{80:[1,216],98:[1,217]},t(tr,[2,55],{113:113,44:S,60:R,89:O,102:P,105:G,106:V,109:Y,111:K,114:J,115:H,116:q}),{31:[1,218],67:En,82:219,116:mi,117:Qr,118:Pi},t(Ln,[2,86]),t(Ln,[2,88]),t(Ln,[2,89]),t(Ln,[2,153]),t(Ln,[2,154]),t(Ln,[2,155]),t(Ln,[2,156]),{49:[1,220],67:En,82:219,116:mi,117:Qr,118:Pi},{30:221,67:En,80:di,81:Bn,82:172,116:mi,117:Qr,118:Pi},{51:[1,222],67:En,82:219,116:mi,117:Qr,118:Pi},{53:[1,223],67:En,82:219,116:mi,117:Qr,118:Pi},{55:[1,224],67:En,82:219,116:mi,117:Qr,118:Pi},{57:[1,225],67:En,82:219,116:mi,117:Qr,118:Pi},{60:[1,226]},{64:[1,227],67:En,82:219,116:mi,117:Qr,118:Pi},{66:[1,228],67:En,82:219,116:mi,117:Qr,118:Pi},{30:229,67:En,80:di,81:Bn,82:172,116:mi,117:Qr,118:Pi},{31:[1,230],67:En,82:219,116:mi,117:Qr,118:Pi},{67:En,69:[1,231],71:[1,232],82:219,116:mi,117:Qr,118:Pi},{67:En,69:[1,234],71:[1,233],82:219,116:mi,117:Qr,118:Pi},t(ve,[2,45],{18:156,10:re,40:Gt}),t(ve,[2,47],{44:$n}),t(bt,[2,75]),t(bt,[2,74]),{62:[1,235],67:En,82:219,116:mi,117:Qr,118:Pi},t(bt,[2,77]),t(qa,[2,80]),{77:[1,236],79:198,116:je,119:He},{30:237,67:En,80:di,81:Bn,82:172,116:mi,117:Qr,118:Pi},t(pt,h,{5:238}),t(Ke,[2,102]),t(ae,[2,35]),{43:239,44:S,45:40,47:41,60:R,89:O,102:P,105:G,106:V,109:Y,111:K,113:42,114:J,115:H,116:q},{10:re,18:240},{10:dt,60:rr,84:Yr,92:241,105:An,107:242,108:243,109:Cn,110:es,111:vr,112:an},{10:dt,60:rr,84:Yr,92:252,104:[1,253],105:An,107:242,108:243,109:Cn,110:es,111:vr,112:an},{10:dt,60:rr,84:Yr,92:254,104:[1,255],105:An,107:242,108:243,109:Cn,110:es,111:vr,112:an},{105:[1,256]},{10:dt,60:rr,84:Yr,92:257,105:An,107:242,108:243,109:Cn,110:es,111:vr,112:an},{44:S,47:258,60:R,89:O,102:P,105:G,106:V,109:Y,111:K,113:42,114:J,115:H,116:q},t(Rn,[2,108]),{80:[1,259]},{80:[1,260],98:[1,261]},t(Rn,[2,116]),t(Rn,[2,118],{10:[1,262]}),t(Rn,[2,119]),t(Xe,[2,56]),t(Ln,[2,87]),t(Xe,[2,57]),{51:[1,263],67:En,82:219,116:mi,117:Qr,118:Pi},t(Xe,[2,64]),t(Xe,[2,59]),t(Xe,[2,60]),t(Xe,[2,61]),{109:[1,264]},t(Xe,[2,63]),t(Xe,[2,65]),{66:[1,265],67:En,82:219,116:mi,117:Qr,118:Pi},t(Xe,[2,67]),t(Xe,[2,68]),t(Xe,[2,70]),t(Xe,[2,69]),t(Xe,[2,71]),t([10,44,60,89,102,105,106,109,111,114,115,116],[2,85]),t(bt,[2,78]),{31:[1,266],67:En,82:219,116:mi,117:Qr,118:Pi},{6:11,7:12,8:f,9:p,10:m,11:b,20:17,22:18,23:19,24:20,25:21,26:22,27:v,32:[1,267],33:24,34:T,36:C,38:E,42:28,43:39,44:S,45:40,47:41,60:R,84:L,85:_,86:M,87:I,88:F,89:O,102:P,105:G,106:V,109:Y,111:K,113:42,114:J,115:H,116:q,121:Z,122:Q,123:W,124:te,125:z},t(tr,[2,53]),{43:268,44:S,45:40,47:41,60:R,89:O,102:P,105:G,106:V,109:Y,111:K,113:42,114:J,115:H,116:q},t(Rn,[2,121],{106:Dn}),t(Ni,[2,130],{108:270,10:dt,60:rr,84:Yr,105:An,109:Cn,110:es,111:vr,112:an}),t(Gi,[2,132]),t(Gi,[2,134]),t(Gi,[2,135]),t(Gi,[2,136]),t(Gi,[2,137]),t(Gi,[2,138]),t(Gi,[2,139]),t(Gi,[2,140]),t(Gi,[2,141]),t(Rn,[2,122],{106:Dn}),{10:[1,271]},t(Rn,[2,123],{106:Dn}),{10:[1,272]},t(Tn,[2,129]),t(Rn,[2,105],{106:Dn}),t(Rn,[2,106],{113:113,44:S,60:R,89:O,102:P,105:G,106:V,109:Y,111:K,114:J,115:H,116:q}),t(Rn,[2,110]),t(Rn,[2,112],{10:[1,273]}),t(Rn,[2,113]),{98:[1,274]},{51:[1,275]},{62:[1,276]},{66:[1,277]},{8:ce,9:le,11:de,21:278},t(ae,[2,34]),t(tr,[2,52]),{10:dt,60:rr,84:Yr,105:An,107:279,108:243,109:Cn,110:es,111:vr,112:an},t(Gi,[2,133]),{14:_e,44:Ce,60:Ve,89:De,101:280,105:qe,106:Ue,109:We,111:mt,114:ct,115:Ot,116:yr,120:88},{14:_e,44:Ce,60:Ve,89:De,101:281,105:qe,106:Ue,109:We,111:mt,114:ct,115:Ot,116:yr,120:88},{98:[1,282]},t(Rn,[2,120]),t(Xe,[2,58]),{30:283,67:En,80:di,81:Bn,82:172,116:mi,117:Qr,118:Pi},t(Xe,[2,66]),t(pt,h,{5:284}),t(Ni,[2,131],{108:270,10:dt,60:rr,84:Yr,105:An,109:Cn,110:es,111:vr,112:an}),t(Rn,[2,126],{120:168,10:[1,285],14:_e,44:Ce,60:Ve,89:De,105:qe,106:Ue,109:We,111:mt,114:ct,115:Ot,116:yr}),t(Rn,[2,127],{120:168,10:[1,286],14:_e,44:Ce,60:Ve,89:De,105:qe,106:Ue,109:We,111:mt,114:ct,115:Ot,116:yr}),t(Rn,[2,114]),{31:[1,287],67:En,82:219,116:mi,117:Qr,118:Pi},{6:11,7:12,8:f,9:p,10:m,11:b,20:17,22:18,23:19,24:20,25:21,26:22,27:v,32:[1,288],33:24,34:T,36:C,38:E,42:28,43:39,44:S,45:40,47:41,60:R,84:L,85:_,86:M,87:I,88:F,89:O,102:P,105:G,106:V,109:Y,111:K,113:42,114:J,115:H,116:q,121:Z,122:Q,123:W,124:te,125:z},{10:dt,60:rr,84:Yr,92:289,105:An,107:242,108:243,109:Cn,110:es,111:vr,112:an},{10:dt,60:rr,84:Yr,92:290,105:An,107:242,108:243,109:Cn,110:es,111:vr,112:an},t(Xe,[2,62]),t(ae,[2,33]),t(Rn,[2,124],{106:Dn}),t(Rn,[2,125],{106:Dn})],defaultActions:{},parseError:i(function(kn,ci){if(ci.recoverable)this.trace(kn);else{var Mi=new Error(kn);throw Mi.hash=ci,Mi}},"parseError"),parse:i(function(kn){var ci=this,Mi=[0],jn=[],pa=[null],wt=[],fl=this.table,Pt="",is=0,ia=0,Wa=0,Ss=2,Mr=1,hc=wt.slice.call(arguments,1),st=Object.create(this.lexer),eo={yy:{}};for(var ut in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ut)&&(eo.yy[ut]=this.yy[ut]);st.setInput(kn,eo.yy),eo.yy.lexer=st,eo.yy.parser=this,typeof st.yylloc>"u"&&(st.yylloc={});var dl=st.yylloc;wt.push(dl);var Ii=st.options&&st.options.ranges;typeof eo.yy.parseError=="function"?this.parseError=eo.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Nt(Vu){Mi.length=Mi.length-2*Vu,pa.length=pa.length-Vu,wt.length=wt.length-Vu}i(Nt,"popStack");function Ur(){var Vu;return Vu=jn.pop()||st.lex()||Mr,typeof Vu!="number"&&(Vu instanceof Array&&(jn=Vu,Vu=jn.pop()),Vu=ci.symbols_[Vu]||Vu),Vu}i(Ur,"lex");for(var On,La,la,Na,Su,Ch,ed={},td,Hh,Jl,k2;;){if(la=Mi[Mi.length-1],this.defaultActions[la]?Na=this.defaultActions[la]:((On===null||typeof On>"u")&&(On=Ur()),Na=fl[la]&&fl[la][On]),typeof Na>"u"||!Na.length||!Na[0]){var jb="";k2=[];for(td in fl[la])this.terminals_[td]&&td>Ss&&k2.push("'"+this.terminals_[td]+"'");st.showPosition?jb="Parse error on line "+(is+1)+`: +`+st.showPosition()+` +Expecting `+k2.join(", ")+", got '"+(this.terminals_[On]||On)+"'":jb="Parse error on line "+(is+1)+": Unexpected "+(On==Mr?"end of input":"'"+(this.terminals_[On]||On)+"'"),this.parseError(jb,{text:st.match,token:this.terminals_[On]||On,line:st.yylineno,loc:dl,expected:k2})}if(Na[0]instanceof Array&&Na.length>1)throw new Error("Parse Error: multiple actions possible at state: "+la+", token: "+On);switch(Na[0]){case 1:Mi.push(On),pa.push(st.yytext),wt.push(st.yylloc),Mi.push(Na[1]),On=null,La?(On=La,La=null):(ia=st.yyleng,Pt=st.yytext,is=st.yylineno,dl=st.yylloc,Wa>0&&Wa--);break;case 2:if(Hh=this.productions_[Na[1]][1],ed.$=pa[pa.length-Hh],ed._$={first_line:wt[wt.length-(Hh||1)].first_line,last_line:wt[wt.length-1].last_line,first_column:wt[wt.length-(Hh||1)].first_column,last_column:wt[wt.length-1].last_column},Ii&&(ed._$.range=[wt[wt.length-(Hh||1)].range[0],wt[wt.length-1].range[1]]),Ch=this.performAction.apply(ed,[Pt,ia,is,eo.yy,Na[1],pa,wt].concat(hc)),typeof Ch<"u")return Ch;Hh&&(Mi=Mi.slice(0,-1*Hh*2),pa=pa.slice(0,-1*Hh),wt=wt.slice(0,-1*Hh)),Mi.push(this.productions_[Na[1]][0]),pa.push(ed.$),wt.push(ed._$),Jl=fl[Mi[Mi.length-2]][Mi[Mi.length-1]],Mi.push(Jl);break;case 3:return!0}}return!0},"parse")},Ua=(function(){var Yn={EOF:1,parseError:i(function(ci,Mi){if(this.yy.parser)this.yy.parser.parseError(ci,Mi);else throw new Error(ci)},"parseError"),setInput:i(function(kn,ci){return this.yy=ci||this.yy||{},this._input=kn,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var kn=this._input[0];this.yytext+=kn,this.yyleng++,this.offset++,this.match+=kn,this.matched+=kn;var ci=kn.match(/(?:\r\n?|\n).*/g);return ci?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),kn},"input"),unput:i(function(kn){var ci=kn.length,Mi=kn.split(/(?:\r\n?|\n)/g);this._input=kn+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ci),this.offset-=ci;var jn=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),Mi.length-1&&(this.yylineno-=Mi.length-1);var pa=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:Mi?(Mi.length===jn.length?this.yylloc.first_column:0)+jn[jn.length-Mi.length].length-Mi[0].length:this.yylloc.first_column-ci},this.options.ranges&&(this.yylloc.range=[pa[0],pa[0]+this.yyleng-ci]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(kn){this.unput(this.match.slice(kn))},"less"),pastInput:i(function(){var kn=this.matched.substr(0,this.matched.length-this.match.length);return(kn.length>20?"...":"")+kn.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var kn=this.match;return kn.length<20&&(kn+=this._input.substr(0,20-kn.length)),(kn.substr(0,20)+(kn.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var kn=this.pastInput(),ci=new Array(kn.length+1).join("-");return kn+this.upcomingInput()+` +`+ci+"^"},"showPosition"),test_match:i(function(kn,ci){var Mi,jn,pa;if(this.options.backtrack_lexer&&(pa={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(pa.yylloc.range=this.yylloc.range.slice(0))),jn=kn[0].match(/(?:\r\n?|\n).*/g),jn&&(this.yylineno+=jn.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:jn?jn[jn.length-1].length-jn[jn.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+kn[0].length},this.yytext+=kn[0],this.match+=kn[0],this.matches=kn,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(kn[0].length),this.matched+=kn[0],Mi=this.performAction.call(this,this.yy,this,ci,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Mi)return Mi;if(this._backtrack){for(var wt in pa)this[wt]=pa[wt];return!1}return!1},"test_match"),next:i(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var kn,ci,Mi,jn;this._more||(this.yytext="",this.match="");for(var pa=this._currentRules(),wt=0;wtci[0].length)){if(ci=Mi,jn=wt,this.options.backtrack_lexer){if(kn=this.test_match(Mi,pa[wt]),kn!==!1)return kn;if(this._backtrack){ci=!1;continue}else return!1}else if(!this.options.flex)break}return ci?(kn=this.test_match(ci,pa[jn]),kn!==!1?kn:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:i(function(){var ci=this.next();return ci||this.lex()},"lex"),begin:i(function(ci){this.conditionStack.push(ci)},"begin"),popState:i(function(){var ci=this.conditionStack.length-1;return ci>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:i(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:i(function(ci){return ci=this.conditionStack.length-1-Math.abs(ci||0),ci>=0?this.conditionStack[ci]:"INITIAL"},"topState"),pushState:i(function(ci){this.begin(ci)},"pushState"),stateStackSize:i(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:i(function(ci,Mi,jn,pa){var wt=pa;switch(jn){case 0:return this.begin("acc_title"),34;break;case 1:return this.popState(),"acc_title_value";break;case 2:return this.begin("acc_descr"),36;break;case 3:return this.popState(),"acc_descr_value";break;case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.pushState("shapeData"),Mi.yytext="",40;break;case 8:return this.pushState("shapeDataStr"),40;break;case 9:return this.popState(),40;break;case 10:let fl=/\n\s*/g;return Mi.yytext=Mi.yytext.replace(fl,"
    "),40;break;case 11:return 40;case 12:this.popState();break;case 13:this.begin("callbackname");break;case 14:this.popState();break;case 15:this.popState(),this.begin("callbackargs");break;case 16:return 95;case 17:this.popState();break;case 18:return 96;case 19:return"MD_STR";case 20:this.popState();break;case 21:this.begin("md_string");break;case 22:return"STR";case 23:this.popState();break;case 24:this.pushState("string");break;case 25:return 84;case 26:return 102;case 27:return 85;case 28:return 104;case 29:return 86;case 30:return 87;case 31:return 97;case 32:this.begin("click");break;case 33:this.popState();break;case 34:return 88;case 35:return ci.lex.firstGraph()&&this.begin("dir"),12;break;case 36:return ci.lex.firstGraph()&&this.begin("dir"),12;break;case 37:return ci.lex.firstGraph()&&this.begin("dir"),12;break;case 38:return ci.lex.firstGraph()&&this.begin("dir"),12;break;case 39:return 27;case 40:return 32;case 41:return 98;case 42:return 98;case 43:return 98;case 44:return 98;case 45:return this.popState(),13;break;case 46:return this.popState(),14;break;case 47:return this.popState(),14;break;case 48:return this.popState(),14;break;case 49:return this.popState(),14;break;case 50:return this.popState(),14;break;case 51:return this.popState(),14;break;case 52:return this.popState(),14;break;case 53:return this.popState(),14;break;case 54:return this.popState(),14;break;case 55:return this.popState(),14;break;case 56:return 121;case 57:return 122;case 58:return 123;case 59:return 124;case 60:return 125;case 61:return 78;case 62:return 105;case 63:return 111;case 64:return 46;case 65:return 60;case 66:return 44;case 67:return 8;case 68:return 106;case 69:return 115;case 70:return this.popState(),77;break;case 71:return this.pushState("edgeText"),75;break;case 72:return 119;case 73:return this.popState(),77;break;case 74:return this.pushState("thickEdgeText"),75;break;case 75:return 119;case 76:return this.popState(),77;break;case 77:return this.pushState("dottedEdgeText"),75;break;case 78:return 119;case 79:return 77;case 80:return this.popState(),53;break;case 81:return"TEXT";case 82:return this.pushState("ellipseText"),52;break;case 83:return this.popState(),55;break;case 84:return this.pushState("text"),54;break;case 85:return this.popState(),57;break;case 86:return this.pushState("text"),56;break;case 87:return 58;case 88:return this.pushState("text"),67;break;case 89:return this.popState(),64;break;case 90:return this.pushState("text"),63;break;case 91:return this.popState(),49;break;case 92:return this.pushState("text"),48;break;case 93:return this.popState(),69;break;case 94:return this.popState(),71;break;case 95:return 117;case 96:return this.pushState("trapText"),68;break;case 97:return this.pushState("trapText"),70;break;case 98:return 118;case 99:return 67;case 100:return 90;case 101:return"SEP";case 102:return 89;case 103:return 115;case 104:return 111;case 105:return 44;case 106:return 109;case 107:return 114;case 108:return 116;case 109:return this.popState(),62;break;case 110:return this.pushState("text"),62;break;case 111:return this.popState(),51;break;case 112:return this.pushState("text"),50;break;case 113:return this.popState(),31;break;case 114:return this.pushState("text"),29;break;case 115:return this.popState(),66;break;case 116:return this.pushState("text"),65;break;case 117:return"TEXT";case 118:return"QUOTE";case 119:return 9;case 120:return 10;case 121:return 11}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:swimlane-beta\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:.*direction\s+TD[^\n]*)/,/^(?:[^\s\"]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:[^\S\n\r]+)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeData:{rules:[8,11,12,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackargs:{rules:[17,18,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackname:{rules:[14,15,16,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},href:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},click:{rules:[21,24,33,34,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dottedEdgeText:{rules:[21,24,76,78,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},thickEdgeText:{rules:[21,24,73,75,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},edgeText:{rules:[21,24,70,72,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},trapText:{rules:[21,24,79,82,84,86,90,92,93,94,95,96,97,110,112,114,116],inclusive:!1},ellipseText:{rules:[21,24,79,80,81,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},text:{rules:[21,24,79,82,83,84,85,86,89,90,91,92,96,97,109,110,111,112,113,114,115,116,117],inclusive:!1},vertex:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dir:{rules:[21,24,45,46,47,48,49,50,51,52,53,54,55,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr:{rules:[3,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_title:{rules:[1,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},md_string:{rules:[19,20,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},string:{rules:[21,22,23,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,44,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,73,74,76,77,79,82,84,86,87,88,90,92,96,97,98,99,100,101,102,103,104,105,106,107,108,110,112,114,116,118,119,120,121],inclusive:!0}}};return Yn})();va.lexer=Ua;function aa(){this.yy={}}return i(aa,"Parser"),aa.prototype=va,va.Parser=aa,new aa})();unt.parser=unt;hnt=unt});var L8r,D8r,_8r=ie(()=>{"use strict";R8r();L8r=Object.assign({},hnt);L8r.parse=t=>{let r=t.replace(/}\s*\n/g,`} +`);return hnt.parse(r)};D8r=L8r});var uk,UO=ie(()=>{"use strict";uk=i(()=>` + /* Font Awesome icon styling - consolidated */ + .label-icon { + display: inline-block; + height: 1em; + overflow: visible; + vertical-align: -0.125em; + } + + .node .label-icon path { + fill: currentColor; + stroke: revert; + stroke-width: revert; + } +`,"getIconStyles")});var OJn,PJn,BJn,bTe,fnt=ie(()=>{"use strict";Zp();UO();b0();OJn=i(t=>{let{theme:r,bkgColorArray:a,borderColorArray:o}=t;if(!y0(r,o))return"";let l=Lg(t.look),h=m0(a),f="";for(let p=0;p`${v}.node ${E}, ${v}.rough-node ${E}`,"collapsedRule"),C=i(E=>`${v}.swimlane.cluster .swimlane-title${E}, ${v}.swimlane.cluster .swimlane-body${E}`,"laneRule");f+=` + + ${v}.cluster:not(.swimlane) rect { + stroke: ${m}; + ${b} + } + + ${v}.cluster:not(.swimlane) path { + stroke: ${m}; + ${b} + } + + /* Lane, classic and neo. */ + ${v}.swimlane.cluster rect.swimlane-title, + ${v}.swimlane.cluster rect.swimlane-body { + stroke: ${m}; + ${b} + } + + /* Lane, handDrawn: roughjs emits the hachure fill first, then the outline. */ + ${C(" path:nth-of-type(2)")} { + stroke: ${m}; + } +${h?` + /* A roughjs fill is drawn as lines, so the lane fill is a stroke here. */ + ${C(" path:first-of-type")} { + stroke: ${a[p%a.length]}; + } +`:""} + ${T(".collapsed-group")}, + ${T(".collapsed-group path")} { + stroke: ${m}; + ${b} + } + + /* The ellipsis dots and the separator take clusterBorder further down, so without + these the container is palette-coloured while its own markers are not. */ + ${T(".collapsed-indicator")} { + fill: ${m}; + } + + ${T(".collapsed-separator")} { + stroke: ${m}; + } + `}return f},"genColor"),PJn=i((t,r)=>{let a=j6,o=a(t,"r"),l=a(t,"g"),h=a(t,"b");return Rd(o,l,h,r)},"fade"),BJn=i(t=>`${OJn(t)} + .label { + font-family: ${t.fontFamily}; + color: ${t.nodeTextColor||t.textColor}; } .cluster-label text { - fill: ${i.titleColor}; + fill: ${t.titleColor}; + } + .cluster-label span { + color: ${t.titleColor}; } - .cluster-label span,p { - color: ${i.titleColor}; + .cluster-label span p { + background-color: transparent; } - .label text,span,p { - fill: ${i.nodeTextColor||i.textColor}; - color: ${i.nodeTextColor||i.textColor}; + .label text,span { + fill: ${t.nodeTextColor||t.textColor}; + color: ${t.nodeTextColor||t.textColor}; } .node rect, @@ -394,19 +1036,13 @@ You have to call mermaid.initialize.`)},lHe=function(i,a,u){Xe.info("addLink (ab .node ellipse, .node polygon, .node path { - fill: ${i.mainBkg}; - stroke: ${i.nodeBorder}; - stroke-width: 1px; + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; + stroke-width: ${t.strokeWidth??1}px; } - .flowchart-label text { + .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label { text-anchor: middle; } - // .flowchart-label .text-outer-tspan { - // text-anchor: middle; - // } - // .flowchart-label .text-inner-tspan { - // text-anchor: start; - // } .node .katex path { fill: #000; @@ -414,69 +1050,91 @@ You have to call mermaid.initialize.`)},lHe=function(i,a,u){Xe.info("addLink (ab stroke-width: 1px; } - .node .label { + .rough-node .label,.node .label, .image-shape .label, .icon-shape .label { text-align: center; } .node.clickable { cursor: pointer; } + + .root .anchor path { + fill: ${t.lineColor} !important; + stroke-width: 0; + stroke: ${t.lineColor}; + } + .arrowheadPath { - fill: ${i.arrowheadColor}; + fill: ${t.arrowheadColor}; } - .edgePath .path { - stroke: ${i.lineColor}; - stroke-width: 2.0px; + .edgePaths .path { + stroke: ${t.lineColor}; + stroke-width: ${t.strokeWidth??2}px; } .flowchart-link { - stroke: ${i.lineColor}; + stroke: ${t.lineColor}; fill: none; } .edgeLabel { - background-color: ${i.edgeLabelBackground}; + background-color: ${t.edgeLabelBackground}; + p { + background-color: ${t.edgeLabelBackground}; + } rect { opacity: 0.5; - background-color: ${i.edgeLabelBackground}; - fill: ${i.edgeLabelBackground}; + background-color: ${t.edgeLabelBackground}; + fill: ${t.edgeLabelBackground}; } text-align: center; } /* For html labels only */ .labelBkg { - background-color: ${Ken(i.edgeLabelBackground,.5)}; - // background-color: + background-color: ${PJn(t.edgeLabelBackground,.5)}; + // background-color: } .cluster rect { - fill: ${i.clusterBkg}; - stroke: ${i.clusterBorder}; + fill: ${t.clusterBkg}; + stroke: ${t.clusterBorder}; stroke-width: 1px; } .cluster text { - fill: ${i.titleColor}; + fill: ${t.titleColor}; } - .cluster span,p { - color: ${i.titleColor}; + .cluster span { + color: ${t.titleColor}; } /* .cluster div { - color: ${i.titleColor}; + color: ${t.titleColor}; } */ + /* Collapsed subgraph node (@{ view: collapsed }) */ + .node .collapsed-indicator { + fill: ${t.clusterBorder}; + stroke: none; + opacity: 0.6; + } + + .node .collapsed-separator { + stroke: ${t.clusterBorder}; + stroke-width: 0.75px; + } + div.mermaidTooltip { position: absolute; text-align: center; max-width: 200px; padding: 2px; - font-family: ${i.fontFamily}; + font-family: ${t.fontFamily}; font-size: 12px; - background: ${i.tertiaryColor}; - border: 1px solid ${i.border2}; + background: ${t.tertiaryColor}; + border: 1px solid ${t.border2}; border-radius: 2px; pointer-events: none; z-index: 100; @@ -485,206 +1143,656 @@ You have to call mermaid.initialize.`)},lHe=function(i,a,u){Xe.info("addLink (ab .flowchartTitleText { text-anchor: middle; font-size: 18px; - fill: ${i.textColor}; - } -`,Wen=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:lme,db:UC,renderer:ove,styles:fGe,init:i=>{i.flowchart||(i.flowchart={}),i.flowchart.arrowMarkerAbsolute=i.arrowMarkerAbsolute,WQt.setConf(i.flowchart),UC.clear(),UC.setGen("gen-1")}}},Symbol.toStringTag,{value:"Module"})),Yen=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:lme,db:UC,renderer:ove,styles:fGe,init:i=>{i.flowchart||(i.flowchart={}),i.flowchart.arrowMarkerAbsolute=i.arrowMarkerAbsolute,c$t({flowchart:{arrowMarkerAbsolute:i.arrowMarkerAbsolute}}),ove.setConf(i.flowchart),UC.clear(),UC.setGen("gen-2")}}},Symbol.toStringTag,{value:"Module"}));var cve=function(){var i=function(de,X,pe,G){for(pe=pe||{},G=de.length;G--;pe[de[G]]=X);return pe},a=[6,8,10,20,22,24,26,27,28],u=[1,10],d=[1,11],p=[1,12],v=[1,13],b=[1,14],y=[1,15],E=[1,21],_=[1,22],A=[1,23],P=[1,24],R=[1,25],B=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],j=[1,34],W=[27,28,46,47],ee=[41,42,43,44,45],ie=[17,34],oe=[1,54],be=[1,53],ge=[17,34,36,38],ae={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:function(X,pe,G,xe,U,Be,Pe){var je=Be.length-1;switch(U){case 1:break;case 2:this.$=[];break;case 3:Be[je-1].push(Be[je]),this.$=Be[je-1];break;case 4:case 5:this.$=Be[je];break;case 6:case 7:this.$=[];break;case 8:xe.addEntity(Be[je-4]),xe.addEntity(Be[je-2]),xe.addRelationship(Be[je-4],Be[je],Be[je-2],Be[je-3]);break;case 9:xe.addEntity(Be[je-3]),xe.addAttributes(Be[je-3],Be[je-1]);break;case 10:xe.addEntity(Be[je-2]);break;case 11:xe.addEntity(Be[je]);break;case 12:xe.addEntity(Be[je-6],Be[je-4]),xe.addAttributes(Be[je-6],Be[je-1]);break;case 13:xe.addEntity(Be[je-5],Be[je-3]);break;case 14:xe.addEntity(Be[je-3],Be[je-1]);break;case 15:case 16:this.$=Be[je].trim(),xe.setAccTitle(this.$);break;case 17:case 18:this.$=Be[je].trim(),xe.setAccDescription(this.$);break;case 19:case 43:this.$=Be[je];break;case 20:case 41:case 42:this.$=Be[je].replace(/"/g,"");break;case 21:case 29:this.$=[Be[je]];break;case 22:Be[je].push(Be[je-1]),this.$=Be[je];break;case 23:this.$={attributeType:Be[je-1],attributeName:Be[je]};break;case 24:this.$={attributeType:Be[je-2],attributeName:Be[je-1],attributeKeyTypeList:Be[je]};break;case 25:this.$={attributeType:Be[je-2],attributeName:Be[je-1],attributeComment:Be[je]};break;case 26:this.$={attributeType:Be[je-3],attributeName:Be[je-2],attributeKeyTypeList:Be[je-1],attributeComment:Be[je]};break;case 27:case 28:case 31:this.$=Be[je];break;case 30:Be[je-2].push(Be[je]),this.$=Be[je-2];break;case 32:this.$=Be[je].replace(/"/g,"");break;case 33:this.$={cardA:Be[je],relType:Be[je-1],cardB:Be[je-2]};break;case 34:this.$=xe.Cardinality.ZERO_OR_ONE;break;case 35:this.$=xe.Cardinality.ZERO_OR_MORE;break;case 36:this.$=xe.Cardinality.ONE_OR_MORE;break;case 37:this.$=xe.Cardinality.ONLY_ONE;break;case 38:this.$=xe.Cardinality.MD_PARENT;break;case 39:this.$=xe.Identification.NON_IDENTIFYING;break;case 40:this.$=xe.Identification.IDENTIFYING;break}},table:[{3:1,4:[1,2]},{1:[3]},i(a,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:u,22:d,24:p,26:v,27:b,28:y},i(a,[2,7],{1:[2,1]}),i(a,[2,3]),{9:16,11:9,20:u,22:d,24:p,26:v,27:b,28:y},i(a,[2,5]),i(a,[2,6]),i(a,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:E,42:_,43:A,44:P,45:R}),{21:[1,26]},{23:[1,27]},{25:[1,28]},i(a,[2,18]),i(B,[2,19]),i(B,[2,20]),i(a,[2,4]),{11:29,27:b,28:y},{16:30,17:[1,31],29:32,30:33,34:j},{11:35,27:b,28:y},{40:36,46:[1,37],47:[1,38]},i(W,[2,34]),i(W,[2,35]),i(W,[2,36]),i(W,[2,37]),i(W,[2,38]),i(a,[2,15]),i(a,[2,16]),i(a,[2,17]),{13:[1,39]},{17:[1,40]},i(a,[2,10]),{16:41,17:[2,21],29:32,30:33,34:j},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:E,42:_,43:A,44:P,45:R},i(ee,[2,39]),i(ee,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},i(a,[2,9]),{17:[2,22]},i(ie,[2,23],{32:50,33:51,35:52,37:oe,38:be}),i([17,34,37,38],[2,28]),i(a,[2,14],{15:[1,55]}),i([27,28],[2,33]),i(a,[2,8]),i(a,[2,41]),i(a,[2,42]),i(a,[2,43]),i(ie,[2,24],{33:56,36:[1,57],38:be}),i(ie,[2,25]),i(ge,[2,29]),i(ie,[2,32]),i(ge,[2,31]),{16:58,17:[1,59],29:32,30:33,34:j},i(ie,[2,26]),{35:60,37:oe},{17:[1,61]},i(a,[2,13]),i(ge,[2,30]),i(a,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:function(X,pe){if(pe.recoverable)this.trace(X);else{var G=new Error(X);throw G.hash=pe,G}},parse:function(X){var pe=this,G=[0],xe=[],U=[null],Be=[],Pe=this.table,je="",Ie=0,Se=0,Ce=2,ke=1,Ke=Be.slice.call(arguments,1),zt=Object.create(this.lexer),Ne={yy:{}};for(var pn in this.yy)Object.prototype.hasOwnProperty.call(this.yy,pn)&&(Ne.yy[pn]=this.yy[pn]);zt.setInput(X,Ne.yy),Ne.yy.lexer=zt,Ne.yy.parser=this,typeof zt.yylloc>"u"&&(zt.yylloc={});var Tt=zt.yylloc;Be.push(Tt);var Et=zt.options&&zt.options.ranges;typeof Ne.yy.parseError=="function"?this.parseError=Ne.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Wt(){var Ri;return Ri=xe.pop()||zt.lex()||ke,typeof Ri!="number"&&(Ri instanceof Array&&(xe=Ri,Ri=xe.pop()),Ri=pe.symbols_[Ri]||Ri),Ri}for(var un,yt,Bt,Ze,Dt={},kt,Nn,ht,qr;;){if(yt=G[G.length-1],this.defaultActions[yt]?Bt=this.defaultActions[yt]:((un===null||typeof un>"u")&&(un=Wt()),Bt=Pe[yt]&&Pe[yt][un]),typeof Bt>"u"||!Bt.length||!Bt[0]){var xt="";qr=[];for(kt in Pe[yt])this.terminals_[kt]&&kt>Ce&&qr.push("'"+this.terminals_[kt]+"'");zt.showPosition?xt="Parse error on line "+(Ie+1)+`: -`+zt.showPosition()+` -Expecting `+qr.join(", ")+", got '"+(this.terminals_[un]||un)+"'":xt="Parse error on line "+(Ie+1)+": Unexpected "+(un==ke?"end of input":"'"+(this.terminals_[un]||un)+"'"),this.parseError(xt,{text:zt.match,token:this.terminals_[un]||un,line:zt.yylineno,loc:Tt,expected:qr})}if(Bt[0]instanceof Array&&Bt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+yt+", token: "+un);switch(Bt[0]){case 1:G.push(un),U.push(zt.yytext),Be.push(zt.yylloc),G.push(Bt[1]),un=null,Se=zt.yyleng,je=zt.yytext,Ie=zt.yylineno,Tt=zt.yylloc;break;case 2:if(Nn=this.productions_[Bt[1]][1],Dt.$=U[U.length-Nn],Dt._$={first_line:Be[Be.length-(Nn||1)].first_line,last_line:Be[Be.length-1].last_line,first_column:Be[Be.length-(Nn||1)].first_column,last_column:Be[Be.length-1].last_column},Et&&(Dt._$.range=[Be[Be.length-(Nn||1)].range[0],Be[Be.length-1].range[1]]),Ze=this.performAction.apply(Dt,[je,Se,Ie,Ne.yy,Bt[1],U,Be].concat(Ke)),typeof Ze<"u")return Ze;Nn&&(G=G.slice(0,-1*Nn*2),U=U.slice(0,-1*Nn),Be=Be.slice(0,-1*Nn)),G.push(this.productions_[Bt[1]][0]),U.push(Dt.$),Be.push(Dt._$),ht=Pe[G[G.length-2]][G[G.length-1]],G.push(ht);break;case 3:return!0}}return!0}},ne=function(){var de={EOF:1,parseError:function(pe,G){if(this.yy.parser)this.yy.parser.parseError(pe,G);else throw new Error(pe)},setInput:function(X,pe){return this.yy=pe||this.yy||{},this._input=X,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var X=this._input[0];this.yytext+=X,this.yyleng++,this.offset++,this.match+=X,this.matched+=X;var pe=X.match(/(?:\r\n?|\n).*/g);return pe?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),X},unput:function(X){var pe=X.length,G=X.split(/(?:\r\n?|\n)/g);this._input=X+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-pe),this.offset-=pe;var xe=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),G.length-1&&(this.yylineno-=G.length-1);var U=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:G?(G.length===xe.length?this.yylloc.first_column:0)+xe[xe.length-G.length].length-G[0].length:this.yylloc.first_column-pe},this.options.ranges&&(this.yylloc.range=[U[0],U[0]+this.yyleng-pe]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(X){this.unput(this.match.slice(X))},pastInput:function(){var X=this.matched.substr(0,this.matched.length-this.match.length);return(X.length>20?"...":"")+X.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var X=this.match;return X.length<20&&(X+=this._input.substr(0,20-X.length)),(X.substr(0,20)+(X.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var X=this.pastInput(),pe=new Array(X.length+1).join("-");return X+this.upcomingInput()+` -`+pe+"^"},test_match:function(X,pe){var G,xe,U;if(this.options.backtrack_lexer&&(U={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(U.yylloc.range=this.yylloc.range.slice(0))),xe=X[0].match(/(?:\r\n?|\n).*/g),xe&&(this.yylineno+=xe.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:xe?xe[xe.length-1].length-xe[xe.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+X[0].length},this.yytext+=X[0],this.match+=X[0],this.matches=X,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(X[0].length),this.matched+=X[0],G=this.performAction.call(this,this.yy,this,pe,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),G)return G;if(this._backtrack){for(var Be in U)this[Be]=U[Be];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var X,pe,G,xe;this._more||(this.yytext="",this.match="");for(var U=this._currentRules(),Be=0;Bepe[0].length)){if(pe=G,xe=Be,this.options.backtrack_lexer){if(X=this.test_match(G,U[Be]),X!==!1)return X;if(this._backtrack){pe=!1;continue}else return!1}else if(!this.options.flex)break}return pe?(X=this.test_match(pe,U[xe]),X!==!1?X:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var pe=this.next();return pe||this.lex()},begin:function(pe){this.conditionStack.push(pe)},popState:function(){var pe=this.conditionStack.length-1;return pe>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(pe){return pe=this.conditionStack.length-1-Math.abs(pe||0),pe>=0?this.conditionStack[pe]:"INITIAL"},pushState:function(pe){this.begin(pe)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(pe,G,xe,U){switch(xe){case 0:return this.begin("acc_title"),22;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),24;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 10;case 8:break;case 9:return 8;case 10:return 28;case 11:return 48;case 12:return 4;case 13:return this.begin("block"),15;case 14:return 36;case 15:break;case 16:return 37;case 17:return 34;case 18:return 34;case 19:return 38;case 20:break;case 21:return this.popState(),17;case 22:return G.yytext[0];case 23:return 18;case 24:return 19;case 25:return 41;case 26:return 43;case 27:return 43;case 28:return 43;case 29:return 41;case 30:return 41;case 31:return 42;case 32:return 42;case 33:return 42;case 34:return 42;case 35:return 42;case 36:return 43;case 37:return 42;case 38:return 43;case 39:return 44;case 40:return 44;case 41:return 44;case 42:return 44;case 43:return 41;case 44:return 42;case 45:return 43;case 46:return 45;case 47:return 46;case 48:return 47;case 49:return 47;case 50:return 46;case 51:return 46;case 52:return 46;case 53:return 27;case 54:return G.yytext[0];case 55:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:,)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:(.*?)[~](.*?)*[~])/i,/^(?:[\*A-Za-z_][A-Za-z0-9\-_\[\]\(\)]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\s*u\b)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block:{rules:[14,15,16,17,18,19,20,21,22],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55],inclusive:!0}}};return de}();ae.lexer=ne;function se(){this.yy={}}return se.prototype=ae,ae.Parser=se,new se}();cve.parser=cve;const Xen=cve;let R9={},uve=[];const Qen={ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},Jen={NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},dGe=function(i,a=void 0){return R9[i]===void 0?(R9[i]={attributes:[],alias:a},Xe.info("Added new entity :",i)):R9[i]&&!R9[i].alias&&a&&(R9[i].alias=a,Xe.info(`Add alias '${a}' to entity '${i}'`)),R9[i]},Zen={Cardinality:Qen,Identification:Jen,getConfig:()=>qt().er,addEntity:dGe,addAttributes:function(i,a){let u=dGe(i),d;for(d=a.length-1;d>=0;d--)u.attributes.push(a[d]),Xe.debug("Added attribute ",a[d].attributeName)},getEntities:()=>R9,addRelationship:function(i,a,u,d){let p={entityA:i,roleA:a,entityB:u,relSpec:d};uve.push(p),Xe.debug("Added new relationship :",p)},getRelationships:()=>uve,clear:function(){R9={},uve=[],Rg()},setAccTitle:jg,getAccTitle:Mp,setAccDescription:Dp,getAccDescription:Ip,setDiagramTitle:pm,getDiagramTitle:Op},Y3={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END",MD_PARENT_END:"MD_PARENT_END",MD_PARENT_START:"MD_PARENT_START"},X3={ERMarkers:Y3,insertMarkers:function(i,a){let u;i.append("defs").append("marker").attr("id",Y3.MD_PARENT_START).attr("refX",0).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"),i.append("defs").append("marker").attr("id",Y3.MD_PARENT_END).attr("refX",19).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"),i.append("defs").append("marker").attr("id",Y3.ONLY_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",a.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18"),i.append("defs").append("marker").attr("id",Y3.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",a.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),u=i.append("defs").append("marker").attr("id",Y3.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),u.append("circle").attr("stroke",a.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),u.append("path").attr("stroke",a.stroke).attr("fill","none").attr("d","M9,0 L9,18"),u=i.append("defs").append("marker").attr("id",Y3.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),u.append("circle").attr("stroke",a.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),u.append("path").attr("stroke",a.stroke).attr("fill","none").attr("d","M21,0 L21,18"),i.append("defs").append("marker").attr("id",Y3.ONE_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",a.stroke).attr("fill","none").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),i.append("defs").append("marker").attr("id",Y3.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",a.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),u=i.append("defs").append("marker").attr("id",Y3.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),u.append("circle").attr("stroke",a.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),u.append("path").attr("stroke",a.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),u=i.append("defs").append("marker").attr("id",Y3.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),u.append("circle").attr("stroke",a.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),u.append("path").attr("stroke",a.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")}},etn=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function ttn(i){return typeof i=="string"&&etn.test(i)}const Gd=[];for(let i=0;i<256;++i)Gd.push((i+256).toString(16).slice(1));function ntn(i,a=0){return Gd[i[a+0]]+Gd[i[a+1]]+Gd[i[a+2]]+Gd[i[a+3]]+"-"+Gd[i[a+4]]+Gd[i[a+5]]+"-"+Gd[i[a+6]]+Gd[i[a+7]]+"-"+Gd[i[a+8]]+Gd[i[a+9]]+"-"+Gd[i[a+10]]+Gd[i[a+11]]+Gd[i[a+12]]+Gd[i[a+13]]+Gd[i[a+14]]+Gd[i[a+15]]}function rtn(i){if(!ttn(i))throw TypeError("Invalid UUID");let a;const u=new Uint8Array(16);return u[0]=(a=parseInt(i.slice(0,8),16))>>>24,u[1]=a>>>16&255,u[2]=a>>>8&255,u[3]=a&255,u[4]=(a=parseInt(i.slice(9,13),16))>>>8,u[5]=a&255,u[6]=(a=parseInt(i.slice(14,18),16))>>>8,u[7]=a&255,u[8]=(a=parseInt(i.slice(19,23),16))>>>8,u[9]=a&255,u[10]=(a=parseInt(i.slice(24,36),16))/1099511627776&255,u[11]=a/4294967296&255,u[12]=a>>>24&255,u[13]=a>>>16&255,u[14]=a>>>8&255,u[15]=a&255,u}function itn(i){i=unescape(encodeURIComponent(i));const a=[];for(let u=0;u>>32-a}function utn(i){const a=[1518500249,1859775393,2400959708,3395469782],u=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof i=="string"){const b=unescape(encodeURIComponent(i));i=[];for(let y=0;y>>0;R=P,P=A,A=lve(_,30)>>>0,_=E,E=W}u[0]=u[0]+E>>>0,u[1]=u[1]+_>>>0,u[2]=u[2]+A>>>0,u[3]=u[3]+P>>>0,u[4]=u[4]+R>>>0}return[u[0]>>24&255,u[0]>>16&255,u[0]>>8&255,u[0]&255,u[1]>>24&255,u[1]>>16&255,u[1]>>8&255,u[1]&255,u[2]>>24&255,u[2]>>16&255,u[2]>>8&255,u[2]&255,u[3]>>24&255,u[3]>>16&255,u[3]>>8&255,u[3]&255,u[4]>>24&255,u[4]>>16&255,u[4]>>8&255,u[4]&255]}const ltn=otn("v5",80,utn),htn=/[^\dA-Za-z](\W)*/g;let p1={},$R=new Map;const ftn=function(i){const a=Object.keys(i);for(const u of a)p1[u]=i[u]},dtn=(i,a,u)=>{const d=p1.entityPadding/3,p=p1.entityPadding/3,v=p1.fontSize*.85,b=a.node().getBBox(),y=[];let E=!1,_=!1,A=0,P=0,R=0,B=0,j=b.height+d*2,W=1;u.forEach(be=>{be.attributeKeyTypeList!==void 0&&be.attributeKeyTypeList.length>0&&(E=!0),be.attributeComment!==void 0&&(_=!0)}),u.forEach(be=>{const ge=`${a.node().id}-attr-${W}`;let ae=0;const ne=JF(be.attributeType),se=i.append("text").classed("er entityLabel",!0).attr("id",`${ge}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",qt().fontFamily).style("font-size",v+"px").text(ne),de=i.append("text").classed("er entityLabel",!0).attr("id",`${ge}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",qt().fontFamily).style("font-size",v+"px").text(be.attributeName),X={};X.tn=se,X.nn=de;const pe=se.node().getBBox(),G=de.node().getBBox();if(A=Math.max(A,pe.width),P=Math.max(P,G.width),ae=Math.max(pe.height,G.height),E){const xe=be.attributeKeyTypeList!==void 0?be.attributeKeyTypeList.join(","):"",U=i.append("text").classed("er entityLabel",!0).attr("id",`${ge}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",qt().fontFamily).style("font-size",v+"px").text(xe);X.kn=U;const Be=U.node().getBBox();R=Math.max(R,Be.width),ae=Math.max(ae,Be.height)}if(_){const xe=i.append("text").classed("er entityLabel",!0).attr("id",`${ge}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",qt().fontFamily).style("font-size",v+"px").text(be.attributeComment||"");X.cn=xe;const U=xe.node().getBBox();B=Math.max(B,U.width),ae=Math.max(ae,U.height)}X.height=ae,y.push(X),j+=ae+d*2,W+=1});let ee=4;E&&(ee+=2),_&&(ee+=2);const ie=A+P+R+B,oe={width:Math.max(p1.minEntityWidth,Math.max(b.width+p1.entityPadding*2,ie+p*ee)),height:u.length>0?j:Math.max(p1.minEntityHeight,b.height+p1.entityPadding*2)};if(u.length>0){const be=Math.max(0,(oe.width-ie-p*ee)/(ee/2));a.attr("transform","translate("+oe.width/2+","+(d+b.height/2)+")");let ge=b.height+d*2,ae="attributeBoxOdd";y.forEach(ne=>{const se=ge+d+ne.height/2;ne.tn.attr("transform","translate("+p+","+se+")");const de=i.insert("rect","#"+ne.tn.node().id).classed(`er ${ae}`,!0).attr("x",0).attr("y",ge).attr("width",A+p*2+be).attr("height",ne.height+d*2),X=parseFloat(de.attr("x"))+parseFloat(de.attr("width"));ne.nn.attr("transform","translate("+(X+p)+","+se+")");const pe=i.insert("rect","#"+ne.nn.node().id).classed(`er ${ae}`,!0).attr("x",X).attr("y",ge).attr("width",P+p*2+be).attr("height",ne.height+d*2);let G=parseFloat(pe.attr("x"))+parseFloat(pe.attr("width"));if(E){ne.kn.attr("transform","translate("+(G+p)+","+se+")");const xe=i.insert("rect","#"+ne.kn.node().id).classed(`er ${ae}`,!0).attr("x",G).attr("y",ge).attr("width",R+p*2+be).attr("height",ne.height+d*2);G=parseFloat(xe.attr("x"))+parseFloat(xe.attr("width"))}_&&(ne.cn.attr("transform","translate("+(G+p)+","+se+")"),i.insert("rect","#"+ne.cn.node().id).classed(`er ${ae}`,"true").attr("x",G).attr("y",ge).attr("width",B+p*2+be).attr("height",ne.height+d*2)),ge+=ne.height+d*2,ae=ae==="attributeBoxOdd"?"attributeBoxEven":"attributeBoxOdd"})}else oe.height=Math.max(p1.minEntityHeight,j),a.attr("transform","translate("+oe.width/2+","+oe.height/2+")");return oe},gtn=function(i,a,u){const d=Object.keys(a);let p;return d.forEach(function(v){const b=ytn(v,"entity");$R.set(v,b);const y=i.append("g").attr("id",b);p=p===void 0?b:p;const E="text-"+b,_=y.append("text").classed("er entityLabel",!0).attr("id",E).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",qt().fontFamily).style("font-size",p1.fontSize+"px").text(a[v].alias??v),{width:A,height:P}=dtn(y,_,a[v].attributes),B=y.insert("rect","#"+E).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",A).attr("height",P).node().getBBox();u.setNode(b,{width:B.width,height:B.height,shape:"rect",id:b})}),p},ptn=function(i,a){a.nodes().forEach(function(u){u!==void 0&&a.node(u)!==void 0&&i.select("#"+u).attr("transform","translate("+(a.node(u).x-a.node(u).width/2)+","+(a.node(u).y-a.node(u).height/2)+" )")})},gGe=function(i){return(i.entityA+i.roleA+i.entityB).replace(/\s/g,"")},btn=function(i,a){return i.forEach(function(u){a.setEdge($R.get(u.entityA),$R.get(u.entityB),{relationship:u},gGe(u))}),i};let pGe=0;const mtn=function(i,a,u,d,p){pGe++;const v=u.edge($R.get(a.entityA),$R.get(a.entityB),gGe(a)),b=E7().x(function(j){return j.x}).y(function(j){return j.y}).curve(VF),y=i.insert("path","#"+d).classed("er relationshipLine",!0).attr("d",b(v.points)).style("stroke",p1.stroke).style("fill","none");a.relSpec.relType===p.db.Identification.NON_IDENTIFYING&&y.attr("stroke-dasharray","8,8");let E="";switch(p1.arrowMarkerAbsolute&&(E=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,E=E.replace(/\(/g,"\\("),E=E.replace(/\)/g,"\\)")),a.relSpec.cardA){case p.db.Cardinality.ZERO_OR_ONE:y.attr("marker-end","url("+E+"#"+X3.ERMarkers.ZERO_OR_ONE_END+")");break;case p.db.Cardinality.ZERO_OR_MORE:y.attr("marker-end","url("+E+"#"+X3.ERMarkers.ZERO_OR_MORE_END+")");break;case p.db.Cardinality.ONE_OR_MORE:y.attr("marker-end","url("+E+"#"+X3.ERMarkers.ONE_OR_MORE_END+")");break;case p.db.Cardinality.ONLY_ONE:y.attr("marker-end","url("+E+"#"+X3.ERMarkers.ONLY_ONE_END+")");break;case p.db.Cardinality.MD_PARENT:y.attr("marker-end","url("+E+"#"+X3.ERMarkers.MD_PARENT_END+")");break}switch(a.relSpec.cardB){case p.db.Cardinality.ZERO_OR_ONE:y.attr("marker-start","url("+E+"#"+X3.ERMarkers.ZERO_OR_ONE_START+")");break;case p.db.Cardinality.ZERO_OR_MORE:y.attr("marker-start","url("+E+"#"+X3.ERMarkers.ZERO_OR_MORE_START+")");break;case p.db.Cardinality.ONE_OR_MORE:y.attr("marker-start","url("+E+"#"+X3.ERMarkers.ONE_OR_MORE_START+")");break;case p.db.Cardinality.ONLY_ONE:y.attr("marker-start","url("+E+"#"+X3.ERMarkers.ONLY_ONE_START+")");break;case p.db.Cardinality.MD_PARENT:y.attr("marker-start","url("+E+"#"+X3.ERMarkers.MD_PARENT_START+")");break}const _=y.node().getTotalLength(),A=y.node().getPointAtLength(_*.5),P="rel"+pGe,B=i.append("text").classed("er relationshipLabel",!0).attr("id",P).attr("x",A.x).attr("y",A.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",qt().fontFamily).style("font-size",p1.fontSize+"px").text(a.roleA).node().getBBox();i.insert("rect","#"+P).classed("er relationshipLabelBox",!0).attr("x",A.x-B.width/2).attr("y",A.y-B.height/2).attr("width",B.width).attr("height",B.height)},vtn=function(i,a,u,d){p1=qt().er,Xe.info("Drawing ER diagram");const p=qt().securityLevel;let v;p==="sandbox"&&(v=Dr("#i"+a));const y=Dr(p==="sandbox"?v.nodes()[0].contentDocument.body:"body").select(`[id='${a}']`);X3.insertMarkers(y,p1);let E;E=new R0({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:p1.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});const _=gtn(y,d.db.getEntities(),E),A=btn(d.db.getRelationships(),E);XD(E),ptn(y,E),A.forEach(function(W){mtn(y,W,E,_,d)});const P=p1.diagramPadding;So.insertTitle(y,"entityTitleText",p1.titleTopMargin,d.db.getDiagramTitle());const R=y.node().getBBox(),B=R.width+P*2,j=R.height+P*2;Fg(y,j,B,p1.useMaxWidth),y.attr("viewBox",`${R.x-P} ${R.y-P} ${B} ${j}`)},wtn="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function ytn(i="",a=""){const u=i.replace(htn,"");return`${bGe(a)}${bGe(u)}${ltn(i,wtn)}`}function bGe(i=""){return i.length>0?`${i}-`:""}const xtn=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:Xen,db:Zen,renderer:{setConf:ftn,draw:vtn},styles:i=>` - .entityBox { - fill: ${i.mainBkg}; - stroke: ${i.nodeBorder}; + fill: ${t.textColor}; } - .attributeBoxOdd { - fill: ${i.attributeBackgroundColorOdd}; - stroke: ${i.nodeBorder}; - } - - .attributeBoxEven { - fill: ${i.attributeBackgroundColorEven}; - stroke: ${i.nodeBorder}; + rect.text { + fill: none; + stroke-width: 0; } - .relationshipLabelBox { - fill: ${i.tertiaryColor}; - opacity: 0.7; - background-color: ${i.tertiaryColor}; - rect { - opacity: 0.5; - } + .icon-shape, .image-shape { + background-color: ${t.edgeLabelBackground}; + p { + background-color: ${t.edgeLabelBackground}; + padding: 2px; + } + .label rect { + opacity: 0.5; + background-color: ${t.edgeLabelBackground}; + fill: ${t.edgeLabelBackground}; + } + text-align: center; } + ${uk()} +`,"getStyles"),bTe=BJn});var dnt={};cs(dnt,{createFlowDiagram:()=>vTe,diagram:()=>FJn});var vTe,FJn,wTe=ie(()=>{"use strict";ma();Kyr();A8r();_8r();fnt();vTe=i(({styles:t=bTe}={})=>({parser:D8r,get db(){return new _2e},renderer:S8r,styles:t,init:i(r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,X6({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}})},"init")}),"createFlowDiagram"),FJn=vTe()});var WU,zJn,KVa,N8r=ie(()=>{"use strict";WU={SHAPE_UNSUPPORTED:"SHAPE_UNSUPPORTED",SHAPE_REMOVED:"SHAPE_REMOVED",EDGE_OPERATOR_UNSUPPORTED:"EDGE_OPERATOR_UNSUPPORTED",REFERENCE_EDGE_LABEL_REJECTED:"REFERENCE_EDGE_LABEL_REJECTED",CONNECTOR_REF_UNRESOLVED:"CONNECTOR_REF_UNRESOLVED",CONNECTOR_REF_NOT_A_CONNECTOR:"CONNECTOR_REF_NOT_A_CONNECTOR",METADATA_KEY_MISAPPLIED:"METADATA_KEY_MISAPPLIED",DUPLICATE_ID_NODE:"DUPLICATE_ID_NODE",RESERVED_SYNTHETIC_ID:"RESERVED_SYNTHETIC_ID",CONTAINMENT_VIOLATION:"CONTAINMENT_VIOLATION",EDGE_SEMANTIC_CONTRADICTION:"EDGE_SEMANTIC_CONTRADICTION",FLOW_NO_INPUT:"FLOW_NO_INPUT"},zJn=new Set([WU.SHAPE_UNSUPPORTED,WU.SHAPE_REMOVED,WU.CONTAINMENT_VIOLATION]),KVa=new Set(Object.values(WU).filter(t=>!zJn.has(t)))});function zne(t){return t&&(UJn.get(t)??t)}function O8r(t,r){for(let a of t)if(!a.isGroup){if((!a.shape||a.shape==="squareRect"||a.shape==="rect")&&(a.shape=jne),VJn.has(a.shape)){let o=`shape "${a.shape}" was removed in v0.8.1, using "${jne}"`;r?.emitError?r.emitError("SHAPE_REMOVED",o,{nodeId:a.id}):Pe.warn(`agentflow: ${o}`),a.shape=jne;continue}if(!HJn.has(a.shape)){let o=`shape "${a.shape}" is not supported, using "${jne}"`;r?.emitWarning?r.emitWarning("SHAPE_UNSUPPORTED",o,{nodeId:a.id}):Pe.warn(`agentflow: ${o}`),a.shape=jne}}}var UJn,VJn,HJn,jne,P8r=ie(()=>{"use strict";Xn();UJn=new Map([["task","roundedRect"],["tool","subroutine"],["input","lean-right"],["decision","diamond"],["refdoc","lin-doc"],["action","hexagon"],["round","rect"]]),VJn=new Set(["doc","stadium","terminal","circle","trapezoid","inv_trapezoid","inv-trapezoid","doublecircle","double-circle","typeDeclaration","procs","lean_left","lean-left","in-out","cylinder","ellipse","odd","tag-rect","tagged-rectangle","delay","half-rounded-rectangle","lin-rect","lined-rectangle","win-pane","window-pane","curv-trap","curved-trapezoid"]),HJn=new Set(["roundedRect","subroutine","subprocess","subproc","framed-rectangle","lean-right","diamond","lin-doc","lined-document","hexagon","hex","connector","collapsedGroup"]),jne="roundedRect";i(zne,"resolveShapeAlias");i(O8r,"normaliseNodeShapes")});function $8r(t,r,a){let o=Zt().themeVariables?.borderColorArray,l=Array.isArray(o)?o.length:0,h=a.size;for(let f of t??[]){if(f.isGroup||f.shape==="collapsedGroup"){let m=a.get(String(f.id))??h++;f.colorIndex=mnt(m,l);continue}let p=r(String(f.id));p&&Une.has(p)&&(f.cssClasses=`${f.cssClasses??""} ${pnt(p)}`.replace(/\s+/g," ").trim())}}var Une,B8r,pnt,F8r,gnt,mnt,ynt=ie(()=>{"use strict";ma();Une=new Map([["tool",0],["task",1],["decision",2],["input",3],["refdoc",4],["connector",5],["action",6]]),B8r=Une.size,pnt=i(t=>`af-kind-${t}`,"kindClass"),F8r=[...Une.keys()],gnt=i(t=>Math.max(1,t-B8r),"containerSlotCount"),mnt=i((t,r)=>{let a=B8r+t%gnt(r);return r>0?a%r:a},"containerSlot");i($8r,"assignColorSlots")});function vnt(t){if(Array.isArray(t))return t.map(a=>vnt(a));if(t===null||typeof t!="object")return t;let r={};for(let a of Object.keys(t))a==="__proto__"||a==="constructor"||a==="prototype"||(r[a]=vnt(t[a]));return r}function YJn(t){let r=!1,a=!1,o=0,l,h=[];for(let f of t.split(` +`)){if(l!==void 0){let v=f.length-f.trimStart().length;if(f.trim()===""||v>l){h.push(f);continue}l=void 0}let p=-1;for(let v=0;v0){h.push(f);continue}let m=p>=0?f.slice(0,p):f,b=p>=0?f.slice(p):"";if(/:\s*[>|][\d+-]*\s*$/.test(m)){l=f.length-f.trimStart().length,h.push(f);continue}h.push(m.replace(/,([\t ]*)$/,"$1")+b)}return h.join(` +`)}var G8r,bnt,qJn,WJn,xTe,j8r=ie(()=>{"use strict";Yo();Nz();ma();Xn();sre();Ia();rl();xu();sA();N8r();P8r();ynt();bN();G8r="agentflow-",bnt=new Set(["shape","view","icon","img","form","pos","w","h","class","style","labelType"]),qJn=new Set(["subroutine","subprocess","subproc","framed-rectangle","tool"]),WJn={flow:"flowGroup"};i(vnt,"stripPrototypeKeys");i(YJn,"stripLineTrailingCommas");xTe=class{constructor(){this.vertexCounter=0;this.config=Zt();this.vertices=new Map;this.edges=[];this.classes=new Map;this.subGraphs=[];this.subGraphLookup=new Map;this.globalNodes=new Set;this.connectors=new Map;this.tooltips=new Map;this.subCount=0;this.firstGraphFlag=!0;this.secCount=-1;this.posCrossRef=[];this.diagramId="";this.preserveCommentsWhenParsing=!0;this.frontmatterLineOffset=0;this.elementMappings=[];this.bareVertexMappings=new WeakSet;this.diagnostics=[];this.postParseValidationRun=!1;this.funs=[];this.setAccTitle=Os;this.setAccDescription=js;this.setDiagramTitle=ao;this.getAccTitle=Ws;this.getAccDescription=Ys;this.getDiagramTitle=Js;this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addGlobal=this.addGlobal.bind(this),this.addConnector=this.addConnector.bind(this),this.addConnectorMapping=this.addConnectorMapping.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.setFrontmatterLineOffset=this.setFrontmatterLineOffset.bind(this),this.addVertexMapping=this.addVertexMapping.bind(this),this.extendVertexMapping=this.extendVertexMapping.bind(this),this.addEdgeMapping=this.addEdgeMapping.bind(this),this.addSubgraphMapping=this.addSubgraphMapping.bind(this),this.emitWarning=this.emitWarning.bind(this),this.emitError=this.emitError.bind(this),this.getDiagnostics=this.getDiagnostics.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}static{i(this,"AgentFlowDB")}sanitizeText(r){return Wn.sanitizeText(r,this.config)}sanitizeNodeLabelType(r){switch(r){case"markdown":case"string":case"text":return r;default:return"markdown"}}setDiagramId(r){this.diagramId=r}lookUpDomId(r){for(let a of this.vertices.values())if(a.id===r)return this.diagramId?`${this.diagramId}-${a.domId}`:a.domId;return this.diagramId?`${this.diagramId}-${r}`:r}addVertex(r,a,o,l,h,f,p={},m,b){if(!r||r.trim().length===0)return;let v;if(m!==void 0){let _;m.includes(` +`)?_=m+` +`:_=`{ +`+m+` +}`;try{v=y4(_,{schema:m4})??{}}catch(M){let I=m.includes(` +`)?YJn(m):m;if(I!==m)try{v=y4(I+` +`,{schema:m4})??{}}catch{this.rethrowMetadataYamlError(M,m,b)}else this.rethrowMetadataYamlError(M,m,b)}v=vnt(v)}let T;if(v&&typeof v.shape=="string"){let _=v;T=_.shape;let M=zne(T);M&&M!==T&&(_.shape=M)}let C=this.subGraphLookup.get(r);if(C&&v){C.metadata={...C.metadata,...v};return}let E=this.connectors.get(r);if(E&&v){E.metadata={...E.metadata,...v};return}if(r==="connectors")return;let S=this.edges.find(_=>_.id===r);if(S){let _=v;_?.animate!==void 0&&(S.animate=_.animate),_?.animation!==void 0&&(S.animation=_.animation),_?.curve!==void 0&&(S.interpolate=_.curve),v&&(S.metadata={...S.metadata,...v});return}let R,L=this.vertices.get(r);if(L===void 0&&(L={id:r,labelType:"text",domId:G8r+r+"-"+this.vertexCounter,styles:[],classes:[]},this.vertices.set(r,L)),this.vertexCounter++,a!==void 0?(this.config=Zt(),R=this.sanitizeText(a.text.trim()),L.labelType=a.type,R.startsWith('"')&&R.endsWith('"')&&(R=R.substring(1,R.length-1)),L.text=R):L.text===void 0&&(L.text=r),o!==void 0&&(L.type=o),l?.forEach(_=>{L.styles.push(_)}),h?.forEach(_=>{L.classes.push(_)}),f!==void 0&&(L.dir=f),L.props===void 0?L.props=p:p!==void 0&&Object.assign(L.props,p),v){if(L.metadata={...L.metadata,...v},v.shape){let _=T??v.shape;if(typeof _!="string")throw this.positionedShapeError(`No such shape: ${JSON.stringify(_)}.`,b);if(_!==_.toLowerCase()||_.includes("_"))throw this.positionedShapeError(`No such shape: ${_}. Shape names should be lowercase.`,b);if(!A2e(v.shape))throw this.positionedShapeError(`No such shape: ${v.shape}.`,b);L.type=v?.shape}v?.label&&(L.text=this.sanitizeText(v.label),L.labelType=this.sanitizeNodeLabelType(v?.labelType))}}positionedShapeError(r,a){let o=new Error(r);if(!a)return o;let l=a.first_line+this.frontmatterLineOffset;return Object.assign(o,{hash:{text:"",token:null,line:l-1,loc:{first_line:l,last_line:a.last_line+this.frontmatterLineOffset,first_column:a.first_column,last_column:a.last_column},expected:[]}}),o}rethrowMetadataYamlError(r,a,o){let l=r;if(!l||l.name!=="YAMLException"||!l.mark||!o)throw r;let h;try{let f=!a.includes(` +`),p=f?`{ +`+a+` +}`:a+` +`,m=o.first_line+this.frontmatterLineOffset,b=o.first_column+2,v=i((_,M)=>f?{line:m,column:b+(_===1?M:0)}:{line:m+_,column:_===0?b+M:M},"toSource"),T=v(l.mark.line,l.mark.column),C=l.reason??(l.message??"").split(` +`)[0].replace(/\s*\(\d+:\d+\)\s*$/,""),E=p.split(` +`),S=[];if(f)S.push(1);else for(let _=l.mark.line-1;_<=l.mark.line+1;_++)_<0||_>=E.length||_===E.length-1&&E[_]===""&&_!==l.mark.line||S.push(_);let R=Math.max(...S.map(_=>String(v(_,0).line).length)),L=[];for(let _ of S){let M=v(_,0).line,I=` ${String(M).padStart(R)} | `;L.push(I+E[_].replace(/\t/g,"\u2192")),_===l.mark.line&&L.push("-".repeat(I.length+l.mark.column)+"^")}h={message:`${C} (${T.line}:${T.column+1}) + +${L.join(` +`)}`,markLine:T.line-1,markColumn:T.column,hash:{text:"",token:null,line:T.line-1,loc:{first_line:T.line,last_line:T.line,first_column:T.column,last_column:T.column+1},expected:[]}}}catch{}throw h&&(l.message=h.message,l.mark.line=h.markLine,l.mark.column=h.markColumn,l.hash=h.hash),l}addSingleLink(r,a,o,l){let p={start:r,end:a,type:void 0,text:"",labelType:"text",classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};Pe.info("abc78 Got edge...",p);let m=o.text;if(m!==void 0&&(p.text=this.sanitizeText(m.text.trim()),p.text.startsWith('"')&&p.text.endsWith('"')&&(p.text=p.text.substring(1,p.text.length-1)),p.labelType=this.sanitizeNodeLabelType(m.type)),o!==void 0&&(p.type=o.type,p.stroke=o.stroke,p.length=o.length>10?10:o.length,o.edgeSemantic&&(p.edgeSemantic=o.edgeSemantic)),l&&!this.edges.some(b=>b.id===l))p.id=l,p.isUserDefinedId=!0;else{let b=this.edges.filter(v=>v.start===p.start&&v.end===p.end);b.length===0?p.id=Qv(p.start,p.end,{counter:0,prefix:"L"}):p.id=Qv(p.start,p.end,{counter:b.length+1,prefix:"L"})}if(this.edges.length<(this.config.maxEdges??500))Pe.info("Pushing edge..."),this.edges.push(p);else throw new Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}. - .relationshipLine { - stroke: ${i.lineColor}; +Initialize mermaid with maxEdges set to a higher number to allow more edges. +You cannot set this config via configuration inside the diagram as it is a secure config. +You have to call mermaid.initialize.`)}isLinkData(r){return r!==null&&typeof r=="object"&&"id"in r&&typeof r.id=="string"}addLink(r,a,o){let l=this.isLinkData(o)?o.id.replace("@",""):void 0;Pe.info("addLink",r,a,l);for(let h of r)for(let f of a){let p=h===r[r.length-1],m=f===a[0];p&&m?this.addSingleLink(h,f,o,l):this.addSingleLink(h,f,o,void 0)}}updateLinkInterpolate(r,a){r.forEach(o=>{if(o==="default"){this.edges.defaultInterpolate=a;return}if(typeof o=="number"&&o>=this.edges.length)throw new Error(`The index ${o} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);this.edges[o].interpolate=a})}updateLink(r,a){r.forEach(o=>{if(typeof o=="number"&&o>=this.edges.length)throw new Error(`The index ${o} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);o==="default"?this.edges.defaultStyle=a:(this.edges[o].style=a,(this.edges[o]?.style?.length??0)>0&&!this.edges[o]?.style?.some(l=>l?.startsWith("fill"))&&this.edges[o]?.style?.push("fill:none"))})}addClass(r,a){let o=a.join().replace(/\\,/g,"\xA7\xA7\xA7").replace(/,/g,";").replace(/§§§/g,",").split(";");r.split(",").forEach(l=>{let h=this.classes.get(l);h===void 0&&(h={id:l,styles:[],textStyles:[]},this.classes.set(l,h)),o?.forEach(f=>{if(/color/.exec(f)){let p=f.replace("fill","bgFill");h.textStyles.push(p)}h.styles.push(f)})})}setDirection(r){this.direction=r.trim(),/.*/.exec(this.direction)&&(this.direction="LR"),/.*v/.exec(this.direction)&&(this.direction="TB"),this.direction==="TD"&&(this.direction="TB")}setClass(r,a){for(let o of r.split(",")){let l=this.vertices.get(o);l&&l.classes.push(a);let h=this.edges.find(p=>p.id===o);h&&h.classes.push(a);let f=this.subGraphLookup.get(o);f&&f.classes.push(a)}}setTooltip(r,a){if(a!==void 0){a=this.sanitizeText(a);for(let o of r.split(","))this.tooltips.set(this.version==="gen-1"?this.lookUpDomId(o):o,a)}}setClickFun(r,a,o){if(Zt().securityLevel!=="loose"||a===void 0)return;let l=[];if(typeof o=="string"){l=o.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let f=0;f{let f=this.lookUpDomId(r),p=document.querySelector(`[id="${f}"]`);p!==null&&p.addEventListener("click",()=>{Ya.runFunc(a,...l)},!1)}))}setLink(r,a,o){r.split(",").forEach(l=>{let h=this.vertices.get(l);h!==void 0&&(h.link=Ya.formatUrl(a,this.config),h.linkTarget=o)}),this.setClass(r,"clickable")}getTooltip(r){return this.tooltips.get(r)}setClickEvent(r,a,o){r.split(",").forEach(l=>{this.setClickFun(l,a,o)}),this.setClass(r,"clickable")}bindFunctions(r){this.funs.forEach(a=>{a(r)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}isToolDefinition(r){return qJn.has(r.type)}getTools(){let r=[];for(let a of this.vertices.values())this.isToolDefinition(a)&&r.push(a);return r}getClasses(){return this.classes}setupToolTips(r){let a=DL();dn(r).select("svg").selectAll("g.node").on("mouseover",h=>{let f=dn(h.currentTarget),p=f.attr("title");if(p===null)return;let m=h.currentTarget?.getBoundingClientRect();a.transition().duration(200).style("opacity",".9"),a.text(f.attr("title")).style("left",window.scrollX+m.left+(m.right-m.left)/2+"px").style("top",window.scrollY+m.bottom+"px"),a.html(Z1.sanitize(p)),f.classed("hover",!0)}).on("mouseout",h=>{a.transition().duration(500).style("opacity",0),dn(h.currentTarget).classed("hover",!1)})}clear(r="gen-2"){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.subGraphs=[],this.subGraphLookup=new Map,this.globalNodes=new Set,this.connectors=new Map,this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=r,this.config=Zt(),this.diagramId="",this.vertexCounter=0,this.direction=void 0,this.secCount=-1,this.posCrossRef=[],this.frontmatterLineOffset=0,this.elementMappings=[],this.bareVertexMappings=new WeakSet,this.diagnostics=[],this.postParseValidationRun=!1,Is()}setGen(r){this.version=r||"gen-2"}defaultStyle(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"}addSubGraph(r,a,o,l){let h=r?.text?.trim(),f=o?.text;r===o&&o?.text&&/\s/.exec(o.text)&&(h=void 0);let m=i(S=>{let R={boolean:{},number:{},string:{}},L=[],_;return{nodeList:S.filter(function(I){let F=typeof I;return I.stmt&&I.stmt==="dir"?(_=I.value,!1):I.trim()===""?!1:F in R?R[F].hasOwnProperty(I)?!1:R[F][I]=!0:L.includes(I)?!1:L.push(I)}),dir:_}},"uniq")(a.flat()),b=m.nodeList,v=m.dir,T=Zt().flowchart??{};if(v=v??(T.inheritDir?this.getDirection()??Zt().direction??void 0:void 0),this.version==="gen-1")for(let S=0;SS!==h&&!this.globalNodes.has(S)),title:f.trim(),classes:[],dir:v,labelType:this.sanitizeNodeLabelType(o?.type),type:l??"flow"};Pe.info("Adding",C.id,C.nodes,C.dir),C.nodes=this.makeUniq(C,this.subGraphs).nodes;let E=this.getPosForId(h);if(E!==-1){let S=this.subGraphs[E];for(let R of C.nodes)S.nodes.includes(R)||S.nodes.push(R);C.title&&(S.title=C.title),C.dir&&(S.dir=C.dir),C.type&&(S.type=C.type),this.subGraphLookup.set(h,S)}else this.subGraphs.push(C),this.subGraphLookup.set(h,C);return h}addGlobal(r){for(let a of r.flat()){if(typeof a!="string")continue;let o=a.trim();o!==""&&this.globalNodes.add(o)}for(let a of this.subGraphs)a.nodes=a.nodes.filter(o=>!this.globalNodes.has(o))}getPosForId(r){for(let[a,o]of this.subGraphs.entries())if(o.id===r)return a;return-1}indexNodes2(r,a){let o=this.subGraphs[a].nodes;if(this.secCount=this.secCount+1,this.secCount>2e3)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=a,this.subGraphs[a].id===r)return{result:!0,count:0};let l=0,h=1;for(;l=0){let p=this.indexNodes2(r,f);if(p.result)return{result:!0,count:h+p.count};h=h+p.count}l=l+1}return{result:!1,count:h}}getDepthFirstPos(r){return this.posCrossRef[r]}indexNodes(){this.secCount=-1,this.subGraphs.length>0&&this.indexNodes2("none",this.subGraphs.length-1)}addConnector(r,a){let o=r?.text?.trim();if(!o)return"";let l=a?.text?.trim()??"",h=l.length>0?this.sanitizeText(l):o,f=this.connectors.get(o);return f?l.length>0&&(f.text=h):(f={id:o,labelType:"text",domId:G8r+o+"-"+this.vertexCounter,styles:[],classes:[],isConnector:!0,text:h},this.connectors.set(o,f),this.vertices.set(o,f),this.vertexCounter++),o}getSubGraphs(){return this.subGraphs}getConnectors(){return[...this.connectors.values()]}firstGraph(){return this.firstGraphFlag?(this.firstGraphFlag=!1,!0):!1}computeEdgeSemantic(r,a){if(r==="arrow_point"&&a==="normal")return"sequence";if(r==="arrow_cross"&&a==="normal")return"failure";if(r==="arrow_open"&&a==="dotted")return"reference"}destructStartLink(r){let a=r.trim(),o="arrow_open",l="normal";return a.includes(".")&&(l="dotted"),{type:o,stroke:l}}countChar(r,a){let o=a.length,l=0;for(let h=0;h":l="arrow_point";break;case"-":case".":l="arrow_open",o=a;break}let h="normal",f=o.length-1,p=this.countChar(".",o);return p>0&&(h="dotted",f=p),{type:l,stroke:h,length:f}}destructLink(r,a){let o=this.destructEndLink(r),l;return a?(l=this.destructStartLink(a),l.stroke!==o.stroke?{type:"INVALID",stroke:"INVALID"}:(l.type=o.type,l.length=o.length,{...l,edgeSemantic:this.computeEdgeSemantic(l.type,l.stroke)})):{...o,edgeSemantic:this.computeEdgeSemantic(o.type,o.stroke)}}exists(r,a){for(let o of r)if(o.nodes.includes(a))return!0;return!1}makeUniq(r,a){let o=[];return r.nodes.forEach((l,h)=>{this.exists(a,l)||o.push(r.nodes[h])}),{nodes:o}}getTypeFromVertex(r){let a=typeof r.type=="string"?zne(r.type):r.type;switch(a){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return a}}findNode(r,a){return r.find(o=>o.id===a)}destructEdgeType(r){let a="none",o="arrow_point";switch(r){case"arrow_point":case"arrow_circle":case"arrow_cross":case"arrow_hierarchy":o=r;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":a=r.replace("double_",""),o=a;break}return{arrowTypeStart:a,arrowTypeEnd:o}}addNodeFromVertex(r,a,o,l,h,f){let p=o.get(r.id),m=l.get(r.id)??!1,b=this.findNode(a,r.id);if(b)b.cssStyles=r.styles,b.cssCompiledStyles=this.getCompiledStyles(r.classes),b.cssClasses=r.classes.join(" ");else{let v={id:r.id,label:r.text,labelType:r.labelType,labelStyle:"",parentId:p,padding:h.flowchart?.padding||8,cssStyles:r.styles,cssCompiledStyles:this.getCompiledStyles(["default","node",...r.classes]),cssClasses:"default "+r.classes.join(" "),dir:r.dir,domId:r.domId,look:f,link:r.link,linkTarget:r.linkTarget,tooltip:this.getTooltip(r.id),metadata:r.metadata};m?a.push({...v,isGroup:!0,shape:"rect"}):a.push({...v,isGroup:!1,shape:this.getTypeFromVertex(r),wrappingWidth:h.agentflow?.wrappingWidth,minWidth:h.agentflow?.minNodeWidth})}}getCompiledStyles(r){let a=[];for(let o of r){let l=this.classes.get(o);l?.styles&&(a=[...a,...l.styles??[]].map(h=>h.trim())),l?.textStyles&&(a=[...a,...l.textStyles??[]].map(h=>h.trim()))}return a}runPostParseValidators(){this.postParseValidationRun||(this.postParseValidationRun=!0)}getData(){this.runPostParseValidators();let r=Zt(),a=[],o=[],l=this.getSubGraphs(),h=new Map,f=new Map,p=new Set,m=new Map,b=i((M,I,F=new Set)=>{if(F.has(M))return;F.add(M);let O=this.subGraphLookup.get(M);if(O)for(let P of O.nodes)P===I||F.has(P)||(p.add(P),m.set(P,I),b(P,I,F))},"collectDescendants");for(let M of l)M.metadata?.view==="collapsed"&&!p.has(M.id)&&b(M.id,M.id);let v=i((M,I)=>{let F=new Set,O=I;for(;O!==void 0&&!F.has(O);){if(O===M)return!0;F.add(O),O=h.get(O)}return!1},"wouldCloseContainmentCycle");for(let M=l.length-1;M>=0;M--){let I=l[M];if(!p.has(I.id)){I.nodes.length>0&&f.set(I.id,!0);for(let F of I.nodes){if(v(F,I.id)){this.emitWarning(WU.CONTAINMENT_VIOLATION,`Container "${I.id}" cannot contain "${F}" because "${F}" already contains it. The nesting that would close the loop is dropped.`,{nodeId:F});continue}h.set(F,I.id)}}}for(let M=l.length-1;M>=0;M--){let I=l[M];if(p.has(I.id))continue;if(I.metadata?.view==="collapsed"){let O={...I.metadata,containerType:I.type};a.push({id:I.id,label:I.title,labelStyle:"",labelType:I.labelType,parentId:h.get(I.id),padding:8,cssCompiledStyles:this.getCompiledStyles(I.classes),cssClasses:I.classes.join(" "),shape:"collapsedGroup",dir:I.dir,isGroup:!1,look:r.look,metadata:O})}else a.push({id:I.id,label:I.title,labelStyle:"",labelType:I.labelType,parentId:h.get(I.id),padding:8,cssCompiledStyles:this.getCompiledStyles(I.classes),cssClasses:I.classes.join(" "),shape:WJn[I.type??"flow"],dir:I.dir,isGroup:!0,look:r.look,metadata:I.metadata})}this.getVertices().forEach(M=>{p.has(M.id)||this.addNodeFromVertex(M,a,h,f,r,r.look||"classic")});let C=this.getEdges();C.forEach((M,I)=>{let F=m.get(M.start)??M.start,O=m.get(M.end)??M.end;if(F===O&&M.start!==M.end)return;let{arrowTypeStart:P,arrowTypeEnd:G}=this.destructEdgeType(M.type),V=[...C.defaultStyle??[]];M.style&&V.push(...M.style);let Y={id:Qv(F,O,{counter:I,prefix:"L"},M.id),isUserDefinedId:M.isUserDefinedId,start:F,end:O,type:M.type??"normal",label:M.text,labelType:M.labelType,labelpos:"c",thickness:M.stroke,minlen:M.length,classes:M?.stroke==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:M?.stroke==="invisible"||M?.type==="arrow_open"?"none":P,arrowTypeEnd:M?.stroke==="invisible"||M?.type==="arrow_open"?"none":G,arrowheadStyle:"fill: #333",cssCompiledStyles:this.getCompiledStyles(M.classes),labelStyle:V,style:V,pattern:M.stroke,look:r.look,animate:M.animate,animation:M.animation,curve:M.interpolate||this.edges.defaultInterpolate||r.flowchart?.curve,metadata:M.metadata};o.push(Y)}),O8r(a,this);let E=new Map,S=new Map;for(let M of l){let I=h.get(M.id);I!==void 0&&S.set(I,[...S.get(I)??[],M.id])}let R=0,L=i(M=>{if(!E.has(M)){E.set(M,R++);for(let I of S.get(M)??[])L(I)}},"walkContainers");for(let M of l)h.get(M.id)===void 0&&L(M.id);let _=new Set(this.getConnectors().map(M=>M.id));return $8r(a,M=>{if(_.has(M))return"connector";let I=this.vertices.get(M);return I?this.deriveVertexKind(I,zne(I.type)):void 0},E),{nodes:a,edges:o,other:{},config:r,connectors:this.getConnectors()}}defaultConfig(){return Zj.flowchart}deriveVertexKind(r,a){return this.isToolDefinition(r)?"tool":a==="hexagon"||a==="hex"?"action":a==="lean-right"||a==="lean_right"?"input":a==="lin-doc"||a==="lined-document"?"refdoc":a==="diamond"?"decision":"task"}getSemanticModel(){this.runPostParseValidators();let r=new Set(this.subGraphs.map(p=>p.id)),a=[],o=[];for(let[p,m]of this.vertices){if(r.has(p))continue;if(m.isConnector){let T={id:p};if(m.text!==void 0&&m.text!==p&&(T.title=m.text),m.metadata&&Object.keys(m.metadata).length>0){let C={};for(let[E,S]of Object.entries(m.metadata))bnt.has(E)||(C[E]=S);Object.keys(C).length>0&&(T.metadata=C)}o.push(T);continue}let b={id:p};m.text!==void 0&&(b.label=m.text);let v=typeof m.type=="string"?zne(m.type):m.type;if(v!==void 0&&(b.shape=v),b.vertexKind=this.deriveVertexKind(m,v),m.metadata&&Object.keys(m.metadata).length>0){let T={};for(let[C,E]of Object.entries(m.metadata))bnt.has(C)||(T[C]=E);Object.keys(T).length>0&&(b.metadata=T)}a.push(b)}let l=this.edges.map(p=>{let m={start:p.start,end:p.end};return p.id!==void 0&&(m.id=p.id),typeof p.text=="string"&&p.text.length>0&&(m.label=p.text),p.type!==void 0&&(m.type=p.type),p.stroke!==void 0&&(m.stroke=p.stroke),p.edgeSemantic!==void 0&&(m.edgeSemantic=p.edgeSemantic),p.length!==void 0&&(m.length=p.length),p.metadata&&Object.keys(p.metadata).length>0&&(m.metadata={...p.metadata}),m}),h=this.subGraphs.map(p=>{let m={id:p.id,nodes:[...p.nodes]};if(p.type!==void 0&&(m.type=p.type),p.title!==void 0&&(m.title=p.title),p.dir!==void 0&&(m.direction=p.dir),p.metadata&&Object.keys(p.metadata).length>0){let b={};for(let[v,T]of Object.entries(p.metadata))bnt.has(v)||(b[v]=T);Object.keys(b).length>0&&(m.metadata=b)}return m}),f={vertices:a,edges:l,subGraphs:h,connectors:o,diagnostics:this.diagnostics};return this.direction!==void 0&&(f.direction=this.direction),f}setFrontmatterLineOffset(r){this.frontmatterLineOffset=r??0}toElementPosition(r){let a=r?.first_line??0,o=r?.first_column??0,l=r?.last_line??a,h=r?.last_column??o,[f,p]=r?.range??[0,0];return{startLine:a+this.frontmatterLineOffset,startColumn:o,endLine:l+this.frontmatterLineOffset,endColumn:h,startIndex:f,endIndex:p}}pushMapping(r,a,o){if(!r)return;let l={id:r,type:a,position:this.toElementPosition(o)};return this.elementMappings.push(l),l}addVertexMapping(r,a,o,l){let h=this.pushMapping(r,"vertex",l);h&&o==null&&this.bareVertexMappings.add(h)}extendVertexMapping(r,a){if(!r||!a)return;let o=this.toElementPosition(a);for(let l=this.elementMappings.length-1;l>=0;l--){let h=this.elementMappings[l];if(h.type==="vertex"&&h.id===r){this.bareVertexMappings.has(h)&&(h.type="attachment",this.bareVertexMappings.delete(h)),(o.endLine>h.position.endLine||o.endLine===h.position.endLine&&o.endColumn>h.position.endColumn)&&(h.position.endLine=o.endLine,h.position.endColumn=o.endColumn,h.position.endIndex=o.endIndex);return}}this.pushMapping(r,"attachment",a)}addEdgeMapping(r,a,o,l){let h=Array.isArray(a)?a.map(p=>typeof p=="string"?p:p?.id??"").filter(Boolean):[],f=h.length>0?h.join(">"):"edge";this.pushMapping(f,"edge",l)}addSubgraphMapping(r,a,o,l){let h=(typeof r=="string"?r:r?.text)??"",f=this.toElementPosition(o),p=l?this.toElementPosition(l):f;h&&this.elementMappings.push({id:h,type:"subgraph",position:{startLine:f.startLine,startColumn:f.startColumn,endLine:p.endLine,endColumn:p.endColumn,startIndex:f.startIndex,endIndex:p.endIndex}})}addConnectorMapping(r,a,o,l){let h=r?.text?.trim()??"";if(!h)return;let f=this.toElementPosition(o),p=l?this.toElementPosition(l):f;this.elementMappings.push({id:h,type:"connector",position:{startLine:f.startLine,startColumn:f.startColumn,endLine:p.endLine,endColumn:p.endColumn,startIndex:f.startIndex,endIndex:p.endIndex}})}getElementMappings(){return[...this.elementMappings]}getElementById(r){return this.elementMappings.find(a=>a.id===r)}getElementsOnLine(r){return this.elementMappings.filter(a=>r>=a.position.startLine&&r<=a.position.endLine)}getElementAtPosition(r,a){let o=this.elementMappings.filter(h=>{let{startLine:f,startColumn:p,endLine:m,endColumn:b}=h.position;return!(rm||r===f&&ab)});if(o.length===0)return;let l=i(({position:h})=>[h.endLine-h.startLine,h.endColumn-h.startColumn],"span");return o.reduce((h,f)=>{let[p,m]=l(h),[b,v]=l(f);return b!==p?bv.id===p.id&&v.severity===p.severity&&v.message===p.message&&v.nodeId===p.nodeId&&v.edgeId===p.edgeId))return;this.diagnostics.push(p);let b=`agentflow[${r}]: ${o}`;a==="error"?Pe.error(b):Pe.warn(b)}emitWarning(r,a,o){this.emitDiagnostic(r,"warning",a,o)}emitError(r,a,o){this.emitDiagnostic(r,"error",a,o)}getDiagnostics(){return[...this.diagnostics]}}});var KJn,XJn,z8r,U8r=ie(()=>{"use strict";ma();Xn();hA();xS();TS();Ia();KJn=i(function(t,r){return r.db.getClasses()},"getClasses"),XJn=i(async function(t,r,a,o){Pe.debug("Drawing agentflow diagram",r);let{securityLevel:l,agentflow:h,layout:f}=Zt();o.db.setDiagramId(r),Pe.debug("Before getData: ");let p=o.db.getData();Pe.debug("Data: ",p);let m=ay(r,l),b=o.db.getDirection();p.type=o.type,p.layoutAlgorithm=dy(f),p.layoutAlgorithm==="dagre"&&f==="elk"&&Pe.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."),p.direction=b,p.nodeSpacing=h?.nodeSpacing||50,p.rankSpacing=h?.rankSpacing||50,p.markers=["point","circle","cross","hierarchy"],p.diagramId=r,Pe.debug("REF1:",p),await fy(p,m);let v=h?.diagramPadding??8;Ya.insertTitle(m,"agentflowTitleText",h?.titleTopMargin??0,o.db.getDiagramTitle()),Cm(m,v,"agentflow",h?.useMaxWidth??!0)},"draw"),z8r={getClasses:KJn,draw:XJn}});var wnt,xnt,V8r=ie(()=>{"use strict";wnt=(function(){var t=i(function(is,ia,Wa,Ss){for(Wa=Wa||{},Ss=is.length;Ss--;Wa[is[Ss]]=ia);return Wa},"o"),r=[1,5],a=[1,4],o=[1,3],l=[1,6],h=[1,8,9,10,11,12,28,35,36,38,40,42,47,63,87,88,89,90,91,92,105,108,109,112,114,117,118,119,124,125,126,127,128],f=[2,2],p=[1,15],m=[1,16],b=[1,17],v=[1,18],T=[1,19],C=[1,26],E=[1,27],S=[1,28],R=[1,30],L=[1,31],_=[1,32],M=[1,55],I=[1,54],F=[1,34],O=[1,35],P=[1,36],G=[1,37],V=[1,38],Y=[1,50],K=[1,52],J=[1,48],H=[1,53],q=[1,49],Z=[1,56],Q=[1,51],W=[1,57],te=[1,58],z=[1,39],re=[1,40],ae=[1,41],ce=[1,42],le=[1,43],de=[1,64],ve=[1,8,9,10,11,12,28,33,35,36,38,40,42,47,63,87,88,89,90,91,92,105,108,109,112,114,117,118,119,124,125,126,127,128],Se=[1,70],_e=[1,68],Ce=[1,67],Ve=[1,69],De=[8,9,10,12,78,80,81],qe=[1,88],Ue=[1,101],We=[1,106],mt=[1,105],ct=[1,102],Ot=[1,98],yr=[1,104],tr=[1,100],Xe=[1,107],Rt=[1,103],ft=[1,108],bt=[1,99],Me=[8,9,10,11,12,43,78,80,81],Fe=[8,9,10,11,12,43,49,78,80,81],je=[8,9,10,11,12,30,43,47,49,51,53,55,57,59,61,63,66,68,70,71,73,78,80,81,92,105,108,109,112,114,117,118,119],He=[8,9,10,12,47,63,78,80,81,92,105,108,109,112,114,117,118,119],nt=[47,63,92,105,108,109,112,114,117,118,119],ze=[1,131],se=[1,132],ke=[1,134],Le=[1,133],he=[47,63,65,77,92,105,108,109,112,114,117,118,119],Ne=[1,143],Ee=[1,157],ye=[1,158],be=[1,159],ht=[1,162],Je=[1,161],it=[1,160],lt=[1,145],Vt=[1,147],$t=[1,151],gr=[1,139],jt=[1,140],qt=[1,152],Wt=[1,153],Ut=[1,154],rn=[1,155],pt=[1,156],$n=[1,163],Gt=[1,164],Rn=[1,141],Qn=[1,142],En=[1,149],di=[1,144],Bn=[1,148],mi=[1,146],Qr=[8,9,10,11,12,28,33,35,36,38,40,42,47,63,87,88,89,90,91,92,105,108,109,112,114,117,118,119,124,125,126,127,128],Pi=[1,168],qa=[1,170],Ke=[8,9,10,12],Tn=[8,9,10,11,12,15,47,63,92,108,109,112,114,117,118,119],Ln=[1,190],dt=[1,186],rr=[1,187],Yr=[1,191],An=[1,188],Cn=[1,189],es=[80,119,122],vr=[8,9,10,11,12,13,15,28,30,33,35,36,43,47,63,78,87,88,89,90,91,92,93,108,112,114,117,118,119],an=[11,109],Dn=[32,52,54,56,58,60,65,67,69,70,72,74,119,120,121],Ni=[1,269],Gi=[1,267],va=[1,271],Ua=[1,265],aa=[1,266],Yn=[1,268],kn=[1,270],ci=[1,272],Mi=[1,292],jn=[8,9,10,12,109],pa=[8,9,10,11,12,63,87,108,109,112,113,114,115],wt={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,COMMENT:8,SEMI:9,NEWLINE:10,SPACE:11,EOF:12,GRAPH:13,NODIR:14,DIR:15,FirstStmtSeparator:16,ending:17,endToken:18,spaceList:19,spaceListNewline:20,vertexStatement:21,separator:22,styleStatement:23,linkStyleStatement:24,classDefStatement:25,classStatement:26,clickStatement:27,flow:28,textNoTags:29,SQS:30,text:31,SQE:32,end:33,shapeData:34,global:35,connector:36,direction:37,acc_title:38,acc_title_value:39,acc_descr:40,acc_descr_value:41,acc_descr_multiline_value:42,SHAPE_DATA:43,link:44,node:45,styledVertex:46,AMP:47,vertex:48,STYLE_SEPARATOR:49,idString:50,DOUBLECIRCLESTART:51,DOUBLECIRCLEEND:52,PS:53,PE:54,"(-":55,"-)":56,STADIUMSTART:57,STADIUMEND:58,SUBROUTINESTART:59,SUBROUTINEEND:60,VERTEX_WITH_PROPS_START:61,"NODE_STRING[field]":62,COLON:63,"NODE_STRING[value]":64,PIPE:65,CYLINDERSTART:66,CYLINDEREND:67,DIAMOND_START:68,DIAMOND_STOP:69,TAGEND:70,TRAPSTART:71,TRAPEND:72,INVTRAPSTART:73,INVTRAPEND:74,linkStatement:75,arrowText:76,TESTSTR:77,START_LINK:78,edgeText:79,LINK:80,LINK_ID:81,edgeTextToken:82,STR:83,MD_STR:84,textToken:85,keywords:86,STYLE:87,LINKSTYLE:88,CLASSDEF:89,CLASS:90,CLICK:91,DOWN:92,UP:93,textNoTagsToken:94,stylesOpt:95,"idString[vertex]":96,"idString[class]":97,CALLBACKNAME:98,CALLBACKARGS:99,HREF:100,LINK_TARGET:101,"STR[link]":102,"STR[tooltip]":103,alphaNum:104,DEFAULT:105,numList:106,INTERPOLATE:107,NUM:108,COMMA:109,style:110,styleComponent:111,NODE_STRING:112,UNIT:113,BRKT:114,PCT:115,idStringToken:116,MINUS:117,MULT:118,UNICODE_TEXT:119,TEXT:120,TAGSTART:121,EDGE_TEXT:122,alphaNumToken:123,direction_tb:124,direction_bt:125,direction_rl:126,direction_lr:127,direction_td:128,$accept:0,$end:1},terminals_:{2:"error",8:"COMMENT",9:"SEMI",10:"NEWLINE",11:"SPACE",12:"EOF",13:"GRAPH",14:"NODIR",15:"DIR",28:"flow",30:"SQS",32:"SQE",33:"end",35:"global",36:"connector",38:"acc_title",39:"acc_title_value",40:"acc_descr",41:"acc_descr_value",42:"acc_descr_multiline_value",43:"SHAPE_DATA",47:"AMP",49:"STYLE_SEPARATOR",51:"DOUBLECIRCLESTART",52:"DOUBLECIRCLEEND",53:"PS",54:"PE",55:"(-",56:"-)",57:"STADIUMSTART",58:"STADIUMEND",59:"SUBROUTINESTART",60:"SUBROUTINEEND",61:"VERTEX_WITH_PROPS_START",62:"NODE_STRING[field]",63:"COLON",64:"NODE_STRING[value]",65:"PIPE",66:"CYLINDERSTART",67:"CYLINDEREND",68:"DIAMOND_START",69:"DIAMOND_STOP",70:"TAGEND",71:"TRAPSTART",72:"TRAPEND",73:"INVTRAPSTART",74:"INVTRAPEND",77:"TESTSTR",78:"START_LINK",80:"LINK",81:"LINK_ID",83:"STR",84:"MD_STR",87:"STYLE",88:"LINKSTYLE",89:"CLASSDEF",90:"CLASS",91:"CLICK",92:"DOWN",93:"UP",96:"idString[vertex]",97:"idString[class]",98:"CALLBACKNAME",99:"CALLBACKARGS",100:"HREF",101:"LINK_TARGET",102:"STR[link]",103:"STR[tooltip]",105:"DEFAULT",107:"INTERPOLATE",108:"NUM",109:"COMMA",112:"NODE_STRING",113:"UNIT",114:"BRKT",115:"PCT",117:"MINUS",118:"MULT",119:"UNICODE_TEXT",120:"TEXT",121:"TAGSTART",122:"EDGE_TEXT",124:"direction_tb",125:"direction_bt",126:"direction_rl",127:"direction_lr",128:"direction_td"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,2],[4,3],[17,2],[17,1],[18,1],[18,1],[18,1],[16,1],[16,1],[16,2],[16,1],[20,2],[20,2],[20,2],[20,1],[20,1],[20,1],[19,2],[19,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,10],[7,6],[7,7],[7,4],[7,4],[7,7],[7,8],[7,4],[7,5],[7,1],[7,2],[7,2],[7,1],[22,1],[22,1],[22,1],[22,1],[34,2],[34,1],[21,4],[21,3],[21,4],[21,2],[21,2],[21,1],[45,1],[45,6],[45,5],[46,1],[46,3],[48,4],[48,4],[48,6],[48,4],[48,4],[48,4],[48,8],[48,4],[48,4],[48,4],[48,6],[48,4],[48,4],[48,4],[48,4],[48,4],[48,1],[44,2],[44,3],[44,3],[44,1],[44,3],[44,4],[79,1],[79,2],[79,1],[79,1],[75,1],[75,2],[76,3],[31,1],[31,2],[31,1],[31,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[29,1],[29,2],[29,1],[29,1],[25,5],[26,5],[27,2],[27,4],[27,3],[27,5],[27,3],[27,5],[27,5],[27,7],[27,2],[27,4],[27,2],[27,4],[27,4],[27,6],[23,5],[24,5],[24,5],[24,9],[24,9],[24,7],[24,7],[106,1],[106,3],[95,1],[95,3],[110,1],[110,2],[111,1],[111,1],[111,1],[111,1],[111,1],[111,1],[111,1],[111,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[85,1],[85,1],[85,1],[85,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[82,1],[82,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[50,1],[50,2],[104,1],[104,2],[37,1],[37,1],[37,1],[37,1],[37,1]],performAction:i(function(ia,Wa,Ss,Mr,hc,st,eo){var ut=st.length-1;switch(hc){case 2:this.$=[];break;case 3:(!Array.isArray(st[ut])||st[ut].length>0)&&st[ut-1].push(st[ut]),this.$=st[ut-1];break;case 4:case 198:this.$=st[ut];break;case 5:case 33:case 34:case 35:case 36:case 37:this.$=[];break;case 13:Mr.setDirection("TB"),this.$="TB";break;case 14:Mr.setDirection(st[ut-1]),this.$=st[ut-1];break;case 32:this.$=st[ut-1].nodes;break;case 38:this.$=Mr.addSubGraph(st[ut-6],st[ut-1],st[ut-4],"flow"),Mr.addSubgraphMapping&&Mr.addSubgraphMapping(st[ut-6],st[ut-4],eo[ut-8],eo[ut]);break;case 39:this.$=Mr.addSubGraph(st[ut-7],st[ut-1],st[ut-5],"flow"),Mr.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,st[ut-3],eo[ut-3]),Mr.addSubgraphMapping&&Mr.addSubgraphMapping(st[ut-7],st[ut-5],eo[ut-9],eo[ut]);break;case 40:this.$=Mr.addSubGraph(st[ut-3],st[ut-1],{text:"",type:"text"},"flow"),Mr.addSubgraphMapping&&Mr.addSubgraphMapping(st[ut-3],{text:"",type:"text"},eo[ut-5],eo[ut]);break;case 41:this.$=Mr.addSubGraph(st[ut-4],st[ut-1],{text:"",type:"text"},"flow"),Mr.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,st[ut-3],eo[ut-3]),Mr.addSubgraphMapping&&Mr.addSubgraphMapping(st[ut-4],{text:"",type:"text"},eo[ut-6],eo[ut]);break;case 42:this.$=Mr.addSubGraph(void 0,st[ut-1],void 0,"flow"),Mr.addSubgraphMapping&&Mr.addSubgraphMapping(void 0,void 0,eo[ut-3],eo[ut]);break;case 43:Mr.addGlobal(st[ut-1]),this.$=[];break;case 44:this.$=Mr.addConnector(st[ut-4],st[ut-2]),Mr.addConnectorMapping&&Mr.addConnectorMapping(st[ut-4],st[ut-2],eo[ut-6],eo[ut]);break;case 45:this.$=Mr.addConnector(st[ut-5],st[ut-3]),Mr.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,st[ut-1],eo[ut-1]),Mr.addConnectorMapping&&Mr.addConnectorMapping(st[ut-5],st[ut-3],eo[ut-7],eo[ut]);break;case 46:this.$=Mr.addConnector(st[ut-1],{text:"",type:"text"}),Mr.addConnectorMapping&&Mr.addConnectorMapping(st[ut-1],{text:"",type:"text"},eo[ut-3],eo[ut]);break;case 47:this.$=Mr.addConnector(st[ut-2],{text:"",type:"text"}),Mr.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,st[ut-1],eo[ut-1]),Mr.addConnectorMapping&&Mr.addConnectorMapping(st[ut-2],{text:"",type:"text"},eo[ut-4],eo[ut]);break;case 49:this.$=st[ut].trim(),Mr.setAccTitle(this.$);break;case 50:case 51:this.$=st[ut].trim(),Mr.setAccDescription(this.$);break;case 56:this.$=st[ut-1]+st[ut];break;case 57:this.$=st[ut];break;case 58:Mr.addVertex(st[ut-1][st[ut-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,st[ut],eo[ut]),Mr.extendVertexMapping&&Mr.extendVertexMapping(st[ut-1][st[ut-1].length-1],eo[ut]),Mr.addLink(st[ut-3].stmt,st[ut-1],st[ut-2]),Mr.addEdgeMapping&&Mr.addEdgeMapping(st[ut-3].stmt,st[ut-1],st[ut-2],this._$),this.$={stmt:st[ut-1],nodes:st[ut-1].concat(st[ut-3].nodes)};break;case 59:Mr.addLink(st[ut-2].stmt,st[ut],st[ut-1]),Mr.addEdgeMapping&&Mr.addEdgeMapping(st[ut-2].stmt,st[ut],st[ut-1],this._$),this.$={stmt:st[ut],nodes:st[ut].concat(st[ut-2].nodes)};break;case 60:Mr.addLink(st[ut-3].stmt,st[ut-1],st[ut-2]),Mr.addEdgeMapping&&Mr.addEdgeMapping(st[ut-3].stmt,st[ut-1],st[ut-2],this._$),this.$={stmt:st[ut-1],nodes:st[ut-1].concat(st[ut-3].nodes)};break;case 61:this.$={stmt:st[ut-1],nodes:st[ut-1]};break;case 62:Mr.addVertex(st[ut-1][st[ut-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,st[ut],eo[ut]),Mr.extendVertexMapping&&Mr.extendVertexMapping(st[ut-1][st[ut-1].length-1],eo[ut]),this.$={stmt:st[ut-1],nodes:st[ut-1],shapeData:st[ut]};break;case 63:this.$={stmt:st[ut],nodes:st[ut]};break;case 64:this.$=[st[ut]];break;case 65:Mr.addVertex(st[ut-5][st[ut-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,st[ut-4],eo[ut-4]),Mr.extendVertexMapping&&Mr.extendVertexMapping(st[ut-5][st[ut-5].length-1],eo[ut-4]),this.$=st[ut-5].concat(st[ut]);break;case 66:this.$=st[ut-4].concat(st[ut]);break;case 67:this.$=st[ut];break;case 68:this.$=st[ut-2],Mr.setClass(st[ut-2],st[ut]);break;case 69:this.$=st[ut-3],Mr.addVertex(st[ut-3],st[ut-1],"square"),Mr.addVertexMapping&&Mr.addVertexMapping(st[ut-3],st[ut-1],"square",this._$);break;case 70:this.$=st[ut-3],Mr.addVertex(st[ut-3],st[ut-1],"doublecircle"),Mr.addVertexMapping&&Mr.addVertexMapping(st[ut-3],st[ut-1],"doublecircle",this._$);break;case 71:this.$=st[ut-5],Mr.addVertex(st[ut-5],st[ut-2],"circle"),Mr.addVertexMapping&&Mr.addVertexMapping(st[ut-5],st[ut-2],"circle",this._$);break;case 72:this.$=st[ut-3],Mr.addVertex(st[ut-3],st[ut-1],"ellipse"),Mr.addVertexMapping&&Mr.addVertexMapping(st[ut-3],st[ut-1],"ellipse",this._$);break;case 73:this.$=st[ut-3],Mr.addVertex(st[ut-3],st[ut-1],"stadium"),Mr.addVertexMapping&&Mr.addVertexMapping(st[ut-3],st[ut-1],"stadium",this._$);break;case 74:this.$=st[ut-3],Mr.addVertex(st[ut-3],st[ut-1],"subroutine"),Mr.addVertexMapping&&Mr.addVertexMapping(st[ut-3],st[ut-1],"subroutine",this._$);break;case 75:this.$=st[ut-7],Mr.addVertex(st[ut-7],st[ut-1],"rect",void 0,void 0,void 0,Object.fromEntries([[st[ut-5],st[ut-3]]])),Mr.addVertexMapping&&Mr.addVertexMapping(st[ut-7],st[ut-1],"rect",this._$);break;case 76:this.$=st[ut-3],Mr.addVertex(st[ut-3],st[ut-1],"cylinder"),Mr.addVertexMapping&&Mr.addVertexMapping(st[ut-3],st[ut-1],"cylinder",this._$);break;case 77:this.$=st[ut-3],Mr.addVertex(st[ut-3],st[ut-1],"round"),Mr.addVertexMapping&&Mr.addVertexMapping(st[ut-3],st[ut-1],"round",this._$);break;case 78:this.$=st[ut-3],Mr.addVertex(st[ut-3],st[ut-1],"diamond"),Mr.addVertexMapping&&Mr.addVertexMapping(st[ut-3],st[ut-1],"diamond",this._$);break;case 79:this.$=st[ut-5],Mr.addVertex(st[ut-5],st[ut-2],"hexagon"),Mr.addVertexMapping&&Mr.addVertexMapping(st[ut-5],st[ut-2],"hexagon",this._$);break;case 80:this.$=st[ut-3],Mr.addVertex(st[ut-3],st[ut-1],"odd"),Mr.addVertexMapping&&Mr.addVertexMapping(st[ut-3],st[ut-1],"odd",this._$);break;case 81:this.$=st[ut-3],Mr.addVertex(st[ut-3],st[ut-1],"trapezoid"),Mr.addVertexMapping&&Mr.addVertexMapping(st[ut-3],st[ut-1],"trapezoid",this._$);break;case 82:this.$=st[ut-3],Mr.addVertex(st[ut-3],st[ut-1],"inv_trapezoid"),Mr.addVertexMapping&&Mr.addVertexMapping(st[ut-3],st[ut-1],"inv_trapezoid",this._$);break;case 83:this.$=st[ut-3],Mr.addVertex(st[ut-3],st[ut-1],"lean_right"),Mr.addVertexMapping&&Mr.addVertexMapping(st[ut-3],st[ut-1],"lean_right",this._$);break;case 84:this.$=st[ut-3],Mr.addVertex(st[ut-3],st[ut-1],"lean_left"),Mr.addVertexMapping&&Mr.addVertexMapping(st[ut-3],st[ut-1],"lean_left",this._$);break;case 85:this.$=st[ut],Mr.addVertex(st[ut]),Mr.addVertexMapping&&Mr.addVertexMapping(st[ut],void 0,void 0,this._$);break;case 86:st[ut-1].text=st[ut],this.$=st[ut-1];break;case 87:case 88:st[ut-2].text=st[ut-1],this.$=st[ut-2];break;case 89:this.$=st[ut];break;case 90:var dl=Mr.destructLink(st[ut],st[ut-2]);this.$={type:dl.type,stroke:dl.stroke,length:dl.length,edgeSemantic:dl.edgeSemantic,text:st[ut-1]};break;case 91:var dl=Mr.destructLink(st[ut],st[ut-2]);this.$={type:dl.type,stroke:dl.stroke,length:dl.length,edgeSemantic:dl.edgeSemantic,text:st[ut-1],id:st[ut-3]};break;case 92:this.$={text:st[ut],type:"text"};break;case 93:this.$={text:st[ut-1].text+""+st[ut],type:st[ut-1].type};break;case 94:this.$={text:st[ut],type:"string"};break;case 95:this.$={text:st[ut],type:"markdown"};break;case 96:var dl=Mr.destructLink(st[ut]);this.$={type:dl.type,stroke:dl.stroke,length:dl.length,edgeSemantic:dl.edgeSemantic};break;case 97:var dl=Mr.destructLink(st[ut]);this.$={type:dl.type,stroke:dl.stroke,length:dl.length,edgeSemantic:dl.edgeSemantic,id:st[ut-1]};break;case 98:this.$=st[ut-1];break;case 99:this.$={text:st[ut],type:"text"};break;case 100:this.$={text:st[ut-1].text+""+st[ut],type:st[ut-1].type};break;case 101:this.$={text:st[ut],type:"string"};break;case 102:case 119:this.$={text:st[ut],type:"markdown"};break;case 116:this.$={text:st[ut],type:"text"};break;case 117:this.$={text:st[ut-1].text+""+st[ut],type:st[ut-1].type};break;case 118:this.$={text:st[ut],type:"text"};break;case 120:this.$=st[ut-4],Mr.addClass(st[ut-2],st[ut]);break;case 121:this.$=st[ut-4],Mr.setClass(st[ut-2],st[ut]);break;case 122:case 130:this.$=st[ut-1],Mr.setClickEvent(st[ut-1],st[ut]);break;case 123:case 131:this.$=st[ut-3],Mr.setClickEvent(st[ut-3],st[ut-2]),Mr.setTooltip(st[ut-3],st[ut]);break;case 124:this.$=st[ut-2],Mr.setClickEvent(st[ut-2],st[ut-1],st[ut]);break;case 125:this.$=st[ut-4],Mr.setClickEvent(st[ut-4],st[ut-3],st[ut-2]),Mr.setTooltip(st[ut-4],st[ut]);break;case 126:this.$=st[ut-2],Mr.setLink(st[ut-2],st[ut]);break;case 127:this.$=st[ut-4],Mr.setLink(st[ut-4],st[ut-2]),Mr.setTooltip(st[ut-4],st[ut]);break;case 128:this.$=st[ut-4],Mr.setLink(st[ut-4],st[ut-2],st[ut]);break;case 129:this.$=st[ut-6],Mr.setLink(st[ut-6],st[ut-4],st[ut]),Mr.setTooltip(st[ut-6],st[ut-2]);break;case 132:this.$=st[ut-1],Mr.setLink(st[ut-1],st[ut]);break;case 133:this.$=st[ut-3],Mr.setLink(st[ut-3],st[ut-2]),Mr.setTooltip(st[ut-3],st[ut]);break;case 134:this.$=st[ut-3],Mr.setLink(st[ut-3],st[ut-2],st[ut]);break;case 135:this.$=st[ut-5],Mr.setLink(st[ut-5],st[ut-4],st[ut]),Mr.setTooltip(st[ut-5],st[ut-2]);break;case 136:this.$=st[ut-4],Mr.addVertex(st[ut-2],void 0,void 0,st[ut]);break;case 137:this.$=st[ut-4],Mr.updateLink([st[ut-2]],st[ut]);break;case 138:this.$=st[ut-4],Mr.updateLink(st[ut-2],st[ut]);break;case 139:this.$=st[ut-8],Mr.updateLinkInterpolate([st[ut-6]],st[ut-2]),Mr.updateLink([st[ut-6]],st[ut]);break;case 140:this.$=st[ut-8],Mr.updateLinkInterpolate(st[ut-6],st[ut-2]),Mr.updateLink(st[ut-6],st[ut]);break;case 141:this.$=st[ut-6],Mr.updateLinkInterpolate([st[ut-4]],st[ut]);break;case 142:this.$=st[ut-6],Mr.updateLinkInterpolate(st[ut-4],st[ut]);break;case 143:case 145:this.$=[st[ut]];break;case 144:case 146:st[ut-2].push(st[ut]),this.$=st[ut-2];break;case 148:this.$=st[ut-1]+st[ut];break;case 196:this.$=st[ut];break;case 197:this.$=st[ut-1]+""+st[ut];break;case 199:this.$=st[ut-1]+""+st[ut];break;case 200:this.$={stmt:"dir",value:"TB"};break;case 201:this.$={stmt:"dir",value:"BT"};break;case 202:this.$={stmt:"dir",value:"RL"};break;case 203:this.$={stmt:"dir",value:"LR"};break;case 204:this.$={stmt:"dir",value:"TD"};break}},"anonymous"),table:[{3:1,4:2,8:r,10:a,11:o,13:l},{1:[3]},t(h,f,{5:7}),{4:8,8:r,10:a,11:o,13:l},{4:9,8:r,10:a,11:o,13:l},{4:10,8:r,10:a,11:o,13:l},{14:[1,11],15:[1,12]},{1:[2,1],6:13,7:14,8:p,9:m,10:b,11:v,12:T,21:20,23:21,24:22,25:23,26:24,27:25,28:C,35:E,36:S,37:29,38:R,40:L,42:_,45:33,46:44,47:M,48:45,50:46,63:I,87:F,88:O,89:P,90:G,91:V,92:Y,105:K,108:J,109:H,112:q,114:Z,116:47,117:Q,118:W,119:te,124:z,125:re,126:ae,127:ce,128:le},t(h,[2,10]),t(h,[2,11]),t(h,[2,12]),t(h,[2,13]),{8:[1,63],9:[1,60],10:[1,61],11:de,16:59,19:62},t(ve,[2,3]),t(ve,[2,4]),t(ve,[2,5]),t(ve,[2,6]),t(ve,[2,7]),t(ve,[2,8]),t(ve,[2,9]),{8:Se,9:_e,10:Ce,12:Ve,22:65,44:66,75:71,78:[1,72],80:[1,74],81:[1,73]},{8:Se,9:_e,10:Ce,12:Ve,22:75},{8:Se,9:_e,10:Ce,12:Ve,22:76},{8:Se,9:_e,10:Ce,12:Ve,22:77},{8:Se,9:_e,10:Ce,12:Ve,22:78},{8:Se,9:_e,10:Ce,12:Ve,22:79},{8:Se,9:_e,10:Ce,11:[1,80],12:Ve,22:81},{8:Se,9:_e,10:Ce,12:Ve,22:82},{11:[1,83]},t(ve,[2,48]),{39:[1,84]},{41:[1,85]},t(ve,[2,51]),t(De,[2,63],{19:86,34:87,11:de,43:qe}),{11:[1,89]},{11:[1,90]},{11:[1,91]},{11:[1,92]},{15:Ue,47:We,63:mt,83:[1,96],92:ct,98:[1,93],100:[1,94],104:95,108:Ot,109:yr,112:tr,114:Xe,117:Rt,118:ft,119:bt,123:97},t(ve,[2,200]),t(ve,[2,201]),t(ve,[2,202]),t(ve,[2,203]),t(ve,[2,204]),t(Me,[2,64]),t(Me,[2,67],{49:[1,109]}),t(Fe,[2,85],{116:122,30:[1,110],47:M,51:[1,111],53:[1,112],55:[1,113],57:[1,114],59:[1,115],61:[1,116],63:I,66:[1,117],68:[1,118],70:[1,119],71:[1,120],73:[1,121],92:Y,105:K,108:J,109:H,112:q,114:Z,117:Q,118:W,119:te}),t(je,[2,196]),t(je,[2,157]),t(je,[2,158]),t(je,[2,159]),t(je,[2,160]),t(je,[2,161]),t(je,[2,162]),t(je,[2,163]),t(je,[2,164]),t(je,[2,165]),t(je,[2,166]),t(je,[2,167]),t(h,[2,14]),t(h,[2,20]),t(h,[2,21]),{10:[1,123]},t(h,[2,23]),t(He,[2,31],{19:124,11:de}),t(ve,[2,32]),{45:125,46:44,47:M,48:45,50:46,63:I,92:Y,105:K,108:J,109:H,112:q,114:Z,116:47,117:Q,118:W,119:te},t(ve,[2,52]),t(ve,[2,53]),t(ve,[2,54]),t(ve,[2,55]),t(nt,[2,89],{76:126,65:[1,128],77:[1,127]}),{79:129,82:130,83:ze,84:se,119:ke,122:Le},{78:[1,135],80:[1,136]},t(he,[2,96]),t(ve,[2,33]),t(ve,[2,34]),t(ve,[2,35]),t(ve,[2,36]),t(ve,[2,37]),{11:Ne,13:Ee,15:ye,28:be,29:137,33:ht,35:Je,36:it,47:lt,63:Vt,78:$t,83:gr,84:jt,86:150,87:qt,88:Wt,89:Ut,90:rn,91:pt,92:$n,93:Gt,94:138,108:Rn,112:Qn,114:En,117:di,118:Bn,119:mi},t(Qr,f,{5:165}),t(Qr,f,{5:166}),{11:Ne,13:Ee,15:ye,28:be,29:167,33:ht,35:Je,36:it,47:lt,63:Vt,78:$t,83:gr,84:jt,86:150,87:qt,88:Wt,89:Ut,90:rn,91:pt,92:$n,93:Gt,94:138,108:Rn,112:Qn,114:En,117:di,118:Bn,119:mi},t(ve,[2,49]),t(ve,[2,50]),t(De,[2,61],{47:Pi}),t(De,[2,62],{19:169,11:de,43:qa}),t(Me,[2,57]),{47:M,50:171,63:I,92:Y,105:K,108:J,109:H,112:q,114:Z,116:47,117:Q,118:W,119:te},{105:[1,172],106:173,108:[1,174]},{47:M,50:175,63:I,92:Y,105:K,108:J,109:H,112:q,114:Z,116:47,117:Q,118:W,119:te},{47:M,50:176,63:I,92:Y,105:K,108:J,109:H,112:q,114:Z,116:47,117:Q,118:W,119:te},t(Ke,[2,122],{11:[1,177],99:[1,178]}),{83:[1,179]},t(Ke,[2,130],{123:181,11:[1,180],15:Ue,47:We,63:mt,92:ct,108:Ot,109:yr,112:tr,114:Xe,117:Rt,118:ft,119:bt}),t(Ke,[2,132],{11:[1,182]}),t(Tn,[2,198]),t(Tn,[2,185]),t(Tn,[2,186]),t(Tn,[2,187]),t(Tn,[2,188]),t(Tn,[2,189]),t(Tn,[2,190]),t(Tn,[2,191]),t(Tn,[2,192]),t(Tn,[2,193]),t(Tn,[2,194]),t(Tn,[2,195]),{47:M,50:183,63:I,92:Y,105:K,108:J,109:H,112:q,114:Z,116:47,117:Q,118:W,119:te},{31:184,70:Ln,83:dt,84:rr,85:185,119:Yr,120:An,121:Cn},{31:192,70:Ln,83:dt,84:rr,85:185,119:Yr,120:An,121:Cn},{31:194,53:[1,193],70:Ln,83:dt,84:rr,85:185,119:Yr,120:An,121:Cn},{31:195,70:Ln,83:dt,84:rr,85:185,119:Yr,120:An,121:Cn},{31:196,70:Ln,83:dt,84:rr,85:185,119:Yr,120:An,121:Cn},{31:197,70:Ln,83:dt,84:rr,85:185,119:Yr,120:An,121:Cn},{112:[1,198]},{31:199,70:Ln,83:dt,84:rr,85:185,119:Yr,120:An,121:Cn},{31:200,68:[1,201],70:Ln,83:dt,84:rr,85:185,119:Yr,120:An,121:Cn},{31:202,70:Ln,83:dt,84:rr,85:185,119:Yr,120:An,121:Cn},{31:203,70:Ln,83:dt,84:rr,85:185,119:Yr,120:An,121:Cn},{31:204,70:Ln,83:dt,84:rr,85:185,119:Yr,120:An,121:Cn},t(je,[2,197]),t(h,[2,22]),t(He,[2,30]),t(De,[2,59],{34:205,19:206,11:de,43:qe}),t(nt,[2,86],{11:[1,207]}),{11:[1,208]},{31:209,70:Ln,83:dt,84:rr,85:185,119:Yr,120:An,121:Cn},{80:[1,210],82:211,119:ke,122:Le},t(es,[2,92]),t(es,[2,94]),t(es,[2,95]),t(es,[2,183]),t(es,[2,184]),{79:212,82:130,83:ze,84:se,119:ke,122:Le},t(he,[2,97]),{8:Se,9:_e,10:Ce,11:Ne,12:Ve,13:Ee,15:ye,22:214,28:be,30:[1,213],33:ht,34:215,35:Je,36:it,43:qe,47:lt,63:Vt,78:$t,86:150,87:qt,88:Wt,89:Ut,90:rn,91:pt,92:$n,93:Gt,94:216,108:Rn,112:Qn,114:En,117:di,118:Bn,119:mi},t(vr,[2,116]),t(vr,[2,118]),t(vr,[2,119]),t(vr,[2,172]),t(vr,[2,173]),t(vr,[2,174]),t(vr,[2,175]),t(vr,[2,176]),t(vr,[2,177]),t(vr,[2,178]),t(vr,[2,179]),t(vr,[2,180]),t(vr,[2,181]),t(vr,[2,182]),t(vr,[2,103]),t(vr,[2,104]),t(vr,[2,105]),t(vr,[2,106]),t(vr,[2,107]),t(vr,[2,108]),t(vr,[2,109]),t(vr,[2,110]),t(vr,[2,111]),t(vr,[2,112]),t(vr,[2,113]),t(vr,[2,114]),t(vr,[2,115]),{6:13,7:14,8:p,9:m,10:b,11:v,12:T,21:20,23:21,24:22,25:23,26:24,27:25,28:C,33:[1,217],35:E,36:S,37:29,38:R,40:L,42:_,45:33,46:44,47:M,48:45,50:46,63:I,87:F,88:O,89:P,90:G,91:V,92:Y,105:K,108:J,109:H,112:q,114:Z,116:47,117:Q,118:W,119:te,124:z,125:re,126:ae,127:ce,128:le},{6:13,7:14,8:p,9:m,10:b,11:v,12:T,21:20,23:21,24:22,25:23,26:24,27:25,28:C,33:[1,218],35:E,36:S,37:29,38:R,40:L,42:_,45:33,46:44,47:M,48:45,50:46,63:I,87:F,88:O,89:P,90:G,91:V,92:Y,105:K,108:J,109:H,112:q,114:Z,116:47,117:Q,118:W,119:te,124:z,125:re,126:ae,127:ce,128:le},{8:Se,9:_e,10:Ce,11:Ne,12:Ve,13:Ee,15:ye,22:220,28:be,30:[1,219],33:ht,34:221,35:Je,36:it,43:qe,47:lt,63:Vt,78:$t,86:150,87:qt,88:Wt,89:Ut,90:rn,91:pt,92:$n,93:Gt,94:216,108:Rn,112:Qn,114:En,117:di,118:Bn,119:mi},{11:de,19:222},{47:[1,223]},t(Me,[2,56]),{11:[1,224],47:M,63:I,92:Y,105:K,108:J,109:H,112:q,114:Z,116:122,117:Q,118:W,119:te},{11:[1,225]},{11:[1,226],109:[1,227]},t(an,[2,143]),{11:[1,228],47:M,63:I,92:Y,105:K,108:J,109:H,112:q,114:Z,116:122,117:Q,118:W,119:te},{11:[1,229],47:M,63:I,92:Y,105:K,108:J,109:H,112:q,114:Z,116:122,117:Q,118:W,119:te},{83:[1,230]},t(Ke,[2,124],{11:[1,231]}),t(Ke,[2,126],{11:[1,232]}),{83:[1,233]},t(Tn,[2,199]),{83:[1,234],101:[1,235]},t(Me,[2,68],{116:122,47:M,63:I,92:Y,105:K,108:J,109:H,112:q,114:Z,117:Q,118:W,119:te}),{32:[1,236],70:Ln,85:237,119:Yr,120:An,121:Cn},t(Dn,[2,99]),t(Dn,[2,101]),t(Dn,[2,102]),t(Dn,[2,168]),t(Dn,[2,169]),t(Dn,[2,170]),t(Dn,[2,171]),{52:[1,238],70:Ln,85:237,119:Yr,120:An,121:Cn},{31:239,70:Ln,83:dt,84:rr,85:185,119:Yr,120:An,121:Cn},{54:[1,240],70:Ln,85:237,119:Yr,120:An,121:Cn},{56:[1,241],70:Ln,85:237,119:Yr,120:An,121:Cn},{58:[1,242],70:Ln,85:237,119:Yr,120:An,121:Cn},{60:[1,243],70:Ln,85:237,119:Yr,120:An,121:Cn},{63:[1,244]},{67:[1,245],70:Ln,85:237,119:Yr,120:An,121:Cn},{69:[1,246],70:Ln,85:237,119:Yr,120:An,121:Cn},{31:247,70:Ln,83:dt,84:rr,85:185,119:Yr,120:An,121:Cn},{32:[1,248],70:Ln,85:237,119:Yr,120:An,121:Cn},{70:Ln,72:[1,249],74:[1,250],85:237,119:Yr,120:An,121:Cn},{70:Ln,72:[1,252],74:[1,251],85:237,119:Yr,120:An,121:Cn},t(De,[2,58],{19:169,11:de,43:qa}),t(De,[2,60],{47:Pi}),t(nt,[2,88]),t(nt,[2,87]),{65:[1,253],70:Ln,85:237,119:Yr,120:An,121:Cn},t(nt,[2,90]),t(es,[2,93]),{80:[1,254],82:211,119:ke,122:Le},{31:255,70:Ln,83:dt,84:rr,85:185,119:Yr,120:An,121:Cn},t(Qr,f,{5:256}),{8:Se,9:_e,10:Ce,12:Ve,22:257,43:qa},t(vr,[2,117]),t(ve,[2,42]),t(ve,[2,43]),{31:258,70:Ln,83:dt,84:rr,85:185,119:Yr,120:An,121:Cn},t(ve,[2,46]),{8:Se,9:_e,10:Ce,12:Ve,22:259,43:qa},{46:260,47:M,48:45,50:46,63:I,92:Y,105:K,108:J,109:H,112:q,114:Z,116:47,117:Q,118:W,119:te},{11:de,19:261},{11:Ni,63:Gi,87:va,95:262,108:Ua,110:263,111:264,112:aa,113:Yn,114:kn,115:ci},{11:Ni,63:Gi,87:va,95:273,107:[1,274],108:Ua,110:263,111:264,112:aa,113:Yn,114:kn,115:ci},{11:Ni,63:Gi,87:va,95:275,107:[1,276],108:Ua,110:263,111:264,112:aa,113:Yn,114:kn,115:ci},{108:[1,277]},{11:Ni,63:Gi,87:va,95:278,108:Ua,110:263,111:264,112:aa,113:Yn,114:kn,115:ci},{47:M,50:279,63:I,92:Y,105:K,108:J,109:H,112:q,114:Z,116:47,117:Q,118:W,119:te},t(Ke,[2,123]),{83:[1,280]},{83:[1,281],101:[1,282]},t(Ke,[2,131]),t(Ke,[2,133],{11:[1,283]}),t(Ke,[2,134]),t(Fe,[2,69]),t(Dn,[2,100]),t(Fe,[2,70]),{54:[1,284],70:Ln,85:237,119:Yr,120:An,121:Cn},t(Fe,[2,77]),t(Fe,[2,72]),t(Fe,[2,73]),t(Fe,[2,74]),{112:[1,285]},t(Fe,[2,76]),t(Fe,[2,78]),{69:[1,286],70:Ln,85:237,119:Yr,120:An,121:Cn},t(Fe,[2,80]),t(Fe,[2,81]),t(Fe,[2,83]),t(Fe,[2,82]),t(Fe,[2,84]),t([11,47,63,92,105,108,109,112,114,117,118,119],[2,98]),t(nt,[2,91]),{32:[1,287],70:Ln,85:237,119:Yr,120:An,121:Cn},{6:13,7:14,8:p,9:m,10:b,11:v,12:T,21:20,23:21,24:22,25:23,26:24,27:25,28:C,33:[1,288],35:E,36:S,37:29,38:R,40:L,42:_,45:33,46:44,47:M,48:45,50:46,63:I,87:F,88:O,89:P,90:G,91:V,92:Y,105:K,108:J,109:H,112:q,114:Z,116:47,117:Q,118:W,119:te,124:z,125:re,126:ae,127:ce,128:le},t(Qr,f,{5:289}),{32:[1,290],70:Ln,85:237,119:Yr,120:An,121:Cn},t(ve,[2,47]),t(Me,[2,66]),{46:291,47:M,48:45,50:46,63:I,92:Y,105:K,108:J,109:H,112:q,114:Z,116:47,117:Q,118:W,119:te},t(Ke,[2,136],{109:Mi}),t(jn,[2,145],{111:293,11:Ni,63:Gi,87:va,108:Ua,112:aa,113:Yn,114:kn,115:ci}),t(pa,[2,147]),t(pa,[2,149]),t(pa,[2,150]),t(pa,[2,151]),t(pa,[2,152]),t(pa,[2,153]),t(pa,[2,154]),t(pa,[2,155]),t(pa,[2,156]),t(Ke,[2,137],{109:Mi}),{11:[1,294]},t(Ke,[2,138],{109:Mi}),{11:[1,295]},t(an,[2,144]),t(Ke,[2,120],{109:Mi}),t(Ke,[2,121],{116:122,47:M,63:I,92:Y,105:K,108:J,109:H,112:q,114:Z,117:Q,118:W,119:te}),t(Ke,[2,125]),t(Ke,[2,127],{11:[1,296]}),t(Ke,[2,128]),{101:[1,297]},{54:[1,298]},{65:[1,299]},{69:[1,300]},{8:Se,9:_e,10:Ce,12:Ve,22:301,34:302,43:qe},t(ve,[2,40]),{6:13,7:14,8:p,9:m,10:b,11:v,12:T,21:20,23:21,24:22,25:23,26:24,27:25,28:C,33:[1,303],35:E,36:S,37:29,38:R,40:L,42:_,45:33,46:44,47:M,48:45,50:46,63:I,87:F,88:O,89:P,90:G,91:V,92:Y,105:K,108:J,109:H,112:q,114:Z,116:47,117:Q,118:W,119:te,124:z,125:re,126:ae,127:ce,128:le},{8:Se,9:_e,10:Ce,12:Ve,22:304,34:305,43:qe},t(Me,[2,65]),{11:Ni,63:Gi,87:va,108:Ua,110:306,111:264,112:aa,113:Yn,114:kn,115:ci},t(pa,[2,148]),{15:Ue,47:We,63:mt,92:ct,104:307,108:Ot,109:yr,112:tr,114:Xe,117:Rt,118:ft,119:bt,123:97},{15:Ue,47:We,63:mt,92:ct,104:308,108:Ot,109:yr,112:tr,114:Xe,117:Rt,118:ft,119:bt,123:97},{101:[1,309]},t(Ke,[2,135]),t(Fe,[2,71]),{31:310,70:Ln,83:dt,84:rr,85:185,119:Yr,120:An,121:Cn},t(Fe,[2,79]),t(Qr,f,{5:311}),{8:Se,9:_e,10:Ce,12:Ve,22:312,43:qa},t(ve,[2,41]),t(ve,[2,44]),{8:Se,9:_e,10:Ce,12:Ve,22:313,43:qa},t(jn,[2,146],{111:293,11:Ni,63:Gi,87:va,108:Ua,112:aa,113:Yn,114:kn,115:ci}),t(Ke,[2,141],{123:181,11:[1,314],15:Ue,47:We,63:mt,92:ct,108:Ot,109:yr,112:tr,114:Xe,117:Rt,118:ft,119:bt}),t(Ke,[2,142],{123:181,11:[1,315],15:Ue,47:We,63:mt,92:ct,108:Ot,109:yr,112:tr,114:Xe,117:Rt,118:ft,119:bt}),t(Ke,[2,129]),{32:[1,316],70:Ln,85:237,119:Yr,120:An,121:Cn},{6:13,7:14,8:p,9:m,10:b,11:v,12:T,21:20,23:21,24:22,25:23,26:24,27:25,28:C,33:[1,317],35:E,36:S,37:29,38:R,40:L,42:_,45:33,46:44,47:M,48:45,50:46,63:I,87:F,88:O,89:P,90:G,91:V,92:Y,105:K,108:J,109:H,112:q,114:Z,116:47,117:Q,118:W,119:te,124:z,125:re,126:ae,127:ce,128:le},t(Qr,f,{5:318}),t(ve,[2,45]),{11:Ni,63:Gi,87:va,95:319,108:Ua,110:263,111:264,112:aa,113:Yn,114:kn,115:ci},{11:Ni,63:Gi,87:va,95:320,108:Ua,110:263,111:264,112:aa,113:Yn,114:kn,115:ci},t(Fe,[2,75]),t(ve,[2,38]),{6:13,7:14,8:p,9:m,10:b,11:v,12:T,21:20,23:21,24:22,25:23,26:24,27:25,28:C,33:[1,321],35:E,36:S,37:29,38:R,40:L,42:_,45:33,46:44,47:M,48:45,50:46,63:I,87:F,88:O,89:P,90:G,91:V,92:Y,105:K,108:J,109:H,112:q,114:Z,116:47,117:Q,118:W,119:te,124:z,125:re,126:ae,127:ce,128:le},t(Ke,[2,139],{109:Mi}),t(Ke,[2,140],{109:Mi}),t(ve,[2,39])],defaultActions:{},parseError:i(function(ia,Wa){if(Wa.recoverable)this.trace(ia);else{var Ss=new Error(ia);throw Ss.hash=Wa,Ss}},"parseError"),parse:i(function(ia){var Wa=this,Ss=[0],Mr=[],hc=[null],st=[],eo=this.table,ut="",dl=0,Ii=0,Nt=0,Ur=2,On=1,La=st.slice.call(arguments,1),la=Object.create(this.lexer),Na={yy:{}};for(var Su in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Su)&&(Na.yy[Su]=this.yy[Su]);la.setInput(ia,Na.yy),Na.yy.lexer=la,Na.yy.parser=this,typeof la.yylloc>"u"&&(la.yylloc={});var Ch=la.yylloc;st.push(Ch);var ed=la.options&&la.options.ranges;typeof Na.yy.parseError=="function"?this.parseError=Na.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function td(Lm){Ss.length=Ss.length-2*Lm,hc.length=hc.length-Lm,st.length=st.length-Lm}i(td,"popStack");function Hh(){var Lm;return Lm=Mr.pop()||la.lex()||On,typeof Lm!="number"&&(Lm instanceof Array&&(Mr=Lm,Lm=Mr.pop()),Lm=Wa.symbols_[Lm]||Lm),Lm}i(Hh,"lex");for(var Jl,k2,jb,Vu,REe,lB,qS={},d_,ix,WH,p_;;){if(jb=Ss[Ss.length-1],this.defaultActions[jb]?Vu=this.defaultActions[jb]:((Jl===null||typeof Jl>"u")&&(Jl=Hh()),Vu=eo[jb]&&eo[jb][Jl]),typeof Vu>"u"||!Vu.length||!Vu[0]){var g_="";p_=[];for(d_ in eo[jb])this.terminals_[d_]&&d_>Ur&&p_.push("'"+this.terminals_[d_]+"'");la.showPosition?g_="Parse error on line "+(dl+1)+`: +`+la.showPosition()+` +Expecting `+p_.join(", ")+", got '"+(this.terminals_[Jl]||Jl)+"'":g_="Parse error on line "+(dl+1)+": Unexpected "+(Jl==On?"end of input":"'"+(this.terminals_[Jl]||Jl)+"'"),this.parseError(g_,{text:la.match,token:this.terminals_[Jl]||Jl,line:la.yylineno,loc:Ch,expected:p_})}if(Vu[0]instanceof Array&&Vu.length>1)throw new Error("Parse Error: multiple actions possible at state: "+jb+", token: "+Jl);switch(Vu[0]){case 1:Ss.push(Jl),hc.push(la.yytext),st.push(la.yylloc),Ss.push(Vu[1]),Jl=null,k2?(Jl=k2,k2=null):(Ii=la.yyleng,ut=la.yytext,dl=la.yylineno,Ch=la.yylloc,Nt>0&&Nt--);break;case 2:if(ix=this.productions_[Vu[1]][1],qS.$=hc[hc.length-ix],qS._$={first_line:st[st.length-(ix||1)].first_line,last_line:st[st.length-1].last_line,first_column:st[st.length-(ix||1)].first_column,last_column:st[st.length-1].last_column},ed&&(qS._$.range=[st[st.length-(ix||1)].range[0],st[st.length-1].range[1]]),lB=this.performAction.apply(qS,[ut,Ii,dl,Na.yy,Vu[1],hc,st].concat(La)),typeof lB<"u")return lB;ix&&(Ss=Ss.slice(0,-1*ix*2),hc=hc.slice(0,-1*ix),st=st.slice(0,-1*ix)),Ss.push(this.productions_[Vu[1]][0]),hc.push(qS.$),st.push(qS._$),WH=eo[Ss[Ss.length-2]][Ss[Ss.length-1]],Ss.push(WH);break;case 3:return!0}}return!0},"parse")},fl=(function(){var is={EOF:1,parseError:i(function(Wa,Ss){if(this.yy.parser)this.yy.parser.parseError(Wa,Ss);else throw new Error(Wa)},"parseError"),setInput:i(function(ia,Wa){return this.yy=Wa||this.yy||{},this._input=ia,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var ia=this._input[0];this.yytext+=ia,this.yyleng++,this.offset++,this.match+=ia,this.matched+=ia;var Wa=ia.match(/(?:\r\n?|\n).*/g);return Wa?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),ia},"input"),unput:i(function(ia){var Wa=ia.length,Ss=ia.split(/(?:\r\n?|\n)/g);this._input=ia+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Wa),this.offset-=Wa;var Mr=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),Ss.length-1&&(this.yylineno-=Ss.length-1);var hc=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:Ss?(Ss.length===Mr.length?this.yylloc.first_column:0)+Mr[Mr.length-Ss.length].length-Ss[0].length:this.yylloc.first_column-Wa},this.options.ranges&&(this.yylloc.range=[hc[0],hc[0]+this.yyleng-Wa]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(ia){this.unput(this.match.slice(ia))},"less"),pastInput:i(function(){var ia=this.matched.substr(0,this.matched.length-this.match.length);return(ia.length>20?"...":"")+ia.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var ia=this.match;return ia.length<20&&(ia+=this._input.substr(0,20-ia.length)),(ia.substr(0,20)+(ia.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var ia=this.pastInput(),Wa=new Array(ia.length+1).join("-");return ia+this.upcomingInput()+` +`+Wa+"^"},"showPosition"),test_match:i(function(ia,Wa){var Ss,Mr,hc;if(this.options.backtrack_lexer&&(hc={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(hc.yylloc.range=this.yylloc.range.slice(0))),Mr=ia[0].match(/(?:\r\n?|\n).*/g),Mr&&(this.yylineno+=Mr.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Mr?Mr[Mr.length-1].length-Mr[Mr.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+ia[0].length},this.yytext+=ia[0],this.match+=ia[0],this.matches=ia,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(ia[0].length),this.matched+=ia[0],Ss=this.performAction.call(this,this.yy,this,Wa,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Ss)return Ss;if(this._backtrack){for(var st in hc)this[st]=hc[st];return!1}return!1},"test_match"),next:i(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var ia,Wa,Ss,Mr;this._more||(this.yytext="",this.match="");for(var hc=this._currentRules(),st=0;stWa[0].length)){if(Wa=Ss,Mr=st,this.options.backtrack_lexer){if(ia=this.test_match(Ss,hc[st]),ia!==!1)return ia;if(this._backtrack){Wa=!1;continue}else return!1}else if(!this.options.flex)break}return Wa?(ia=this.test_match(Wa,hc[Mr]),ia!==!1?ia:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:i(function(){var Wa=this.next();return Wa||this.lex()},"lex"),begin:i(function(Wa){this.conditionStack.push(Wa)},"begin"),popState:i(function(){var Wa=this.conditionStack.length-1;return Wa>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:i(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:i(function(Wa){return Wa=this.conditionStack.length-1-Math.abs(Wa||0),Wa>=0?this.conditionStack[Wa]:"INITIAL"},"topState"),pushState:i(function(Wa){this.begin(Wa)},"pushState"),stateStackSize:i(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:i(function(Wa,Ss,Mr,hc){var st=hc;switch(Mr){case 0:return this.begin("acc_title"),38;break;case 1:return this.popState(),"acc_title_value";break;case 2:return this.begin("acc_descr"),40;break;case 3:return this.popState(),"acc_descr_value";break;case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.pushState("shapeData"),Ss.yytext="",43;break;case 8:return this.pushState("shapeDataStr"),43;break;case 9:return this.popState(),43;break;case 10:let eo=/\n\s*/g;return Ss.yytext=Ss.yytext.replace(eo,"
    "),43;break;case 11:return 43;case 12:this.popState();break;case 13:this.begin("callbackname");break;case 14:this.popState();break;case 15:this.popState(),this.begin("callbackargs");break;case 16:return 98;case 17:this.popState();break;case 18:return 99;case 19:return"MD_STR";case 20:this.popState();break;case 21:this.begin("md_string");break;case 22:return"STR";case 23:this.popState();break;case 24:this.pushState("string");break;case 25:return 87;case 26:return 105;case 27:return 88;case 28:return 107;case 29:return 89;case 30:return 90;case 31:return 100;case 32:this.begin("click");break;case 33:this.popState();break;case 34:return 91;case 35:return Wa.lex.firstGraph()&&this.begin("dir"),13;break;case 36:return 28;case 37:return 36;case 38:return 35;case 39:return 33;case 40:return 101;case 41:return 101;case 42:return 101;case 43:return 101;case 44:return this.popState(),14;break;case 45:return this.popState(),15;break;case 46:return this.popState(),15;break;case 47:return this.popState(),15;break;case 48:return this.popState(),15;break;case 49:return this.popState(),15;break;case 50:return this.popState(),15;break;case 51:return this.popState(),15;break;case 52:return this.popState(),15;break;case 53:return this.popState(),15;break;case 54:return this.popState(),15;break;case 55:return 124;case 56:return 125;case 57:return 126;case 58:return 127;case 59:return 128;case 60:return 81;case 61:return 108;case 62:return 114;case 63:return 49;case 64:return 63;case 65:return 47;case 66:return 9;case 67:return 109;case 68:return 118;case 69:return this.popState(),80;break;case 70:return this.pushState("edgeText"),78;break;case 71:return 122;case 72:return 80;case 73:break;case 74:return this.popState(),56;break;case 75:return"TEXT";case 76:return this.pushState("ellipseText"),55;break;case 77:return this.popState(),58;break;case 78:return this.pushState("text"),57;break;case 79:return this.popState(),60;break;case 80:return this.pushState("text"),59;break;case 81:return 61;case 82:return this.pushState("text"),70;break;case 83:return this.popState(),67;break;case 84:return this.pushState("text"),66;break;case 85:return this.popState(),52;break;case 86:return this.pushState("text"),51;break;case 87:break;case 88:return this.popState(),72;break;case 89:return this.popState(),74;break;case 90:return 120;case 91:return this.pushState("trapText"),71;break;case 92:return this.pushState("trapText"),73;break;case 93:return 121;case 94:return 70;case 95:return 93;case 96:return"SEP";case 97:return 92;case 98:return 118;case 99:return 114;case 100:return 47;case 101:return 8;case 102:return 112;case 103:return 117;case 104:return 119;case 105:return this.popState(),65;break;case 106:return this.pushState("text"),65;break;case 107:return this.popState(),54;break;case 108:return this.pushState("text"),53;break;case 109:return this.popState(),32;break;case 110:return this.pushState("text"),30;break;case 111:return this.popState(),69;break;case 112:return this.pushState("text"),68;break;case 113:break;case 114:return"TEXT";case 115:return"QUOTE";case 116:return 10;case 117:return 11;case 118:return 12}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:agentflow-beta\b)/,/^(?:flow\b)/,/^(?:connector\b)/,/^(?:global\b[ \t]*)/,/^(?:end\b[ \t]*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:.*direction\s+TD[^\n]*)/,/^(?:[^\s\"]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*--+[x>]\s*)/,/^(?:\s*--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*-\.+-\s*)/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|(?:[^\\\[\]\(\)\{\}\/%]+|(?!))+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:[ \t]*%%(?!\{)[^\n]*)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:%%(?!\{)[^\n]*)/,/^(?:(?:[^\[\]\(\)\{\}\|\"%]+|(?!))+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},shapeData:{rules:[8,11,12,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},callbackargs:{rules:[17,18,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},callbackname:{rules:[14,15,16,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},href:{rules:[21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},click:{rules:[21,24,33,34,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},edgeText:{rules:[21,24,69,71,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},trapText:{rules:[21,24,76,78,80,84,86,87,88,89,90,91,92,106,108,110,112],inclusive:!1},ellipseText:{rules:[21,24,73,74,75,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},text:{rules:[21,24,76,77,78,79,80,83,84,85,86,91,92,105,106,107,108,109,110,111,112,113,114],inclusive:!1},vertex:{rules:[21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},dir:{rules:[21,24,44,45,46,47,48,49,50,51,52,53,54,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},acc_descr:{rules:[3,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},acc_title:{rules:[1,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},md_string:{rules:[19,20,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},string:{rules:[21,22,23,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,72,76,78,80,81,82,84,86,91,92,93,94,95,96,97,98,99,100,101,102,103,104,106,108,110,112,115,116,117,118],inclusive:!0}}};return is})();wt.lexer=fl;function Pt(){this.yy={}}return i(Pt,"Parser"),Pt.prototype=wt,wt.Parser=Pt,new Pt})();wnt.parser=wnt;xnt=wnt});var H8r,q8r,W8r=ie(()=>{"use strict";V8r();H8r=Object.assign({},xnt);H8r.parse=t=>{let r=t.replace(/}[^\S\n]*\n/g,`} +`);return xnt.parse(r)};q8r=H8r});var QJn,JJn,ZJn,Y8r,K8r=ie(()=>{"use strict";Zp();UO();b0();ynt();QJn=i(t=>{let{theme:r,bkgColorArray:a,borderColorArray:o}=t;if(!y0(r,o))return"";let l=Lg(t.look),h=m0(a),f=XT(t.THEME_COLOR_LIMIT,o),p=i(v=>o[v%o.length],"border"),m=i(v=>h?`fill: ${a[v%a.length]};`:"","fill"),b="";for(let v of F8r){let T=Une.get(v),C=`[data-look="${l}"].node.${pnt(v)}`;b+=` + + ${C} rect, + ${C} path, + ${C} polygon { + stroke: ${p(T)}; + ${m(T)} } +`}for(let v=0;v`${C} ${R}, ${E} ${R}`,"rule");b+=` - .entityTitleText { - text-anchor: middle; - font-size: 18px; - fill: ${i.textColor}; - } - #MD_PARENT_START { - fill: #f5f5f5 !important; - stroke: ${i.lineColor} !important; - stroke-width: 1; + ${S("rect")}, + ${S("path")} { + stroke: ${p(T)}; + ${m(T)} + } +`}return b},"genColor"),JJn=i((t,r)=>{let a=j6,o=a(t,"r"),l=a(t,"g"),h=a(t,"b");return Rd(o,l,h,r)},"fade"),ZJn=i(t=>`${QJn(t)} + .label { + font-family: ${t.fontFamily}; + color: ${t.nodeTextColor||t.textColor}; } - #MD_PARENT_END { - fill: #f5f5f5 !important; - stroke: ${i.lineColor} !important; - stroke-width: 1; + .cluster-label text { + fill: ${t.titleColor}; } - -`}},Symbol.toStringTag,{value:"Module"}));var hve=function(){var i=function(ae,ne,se,de){for(se=se||{},de=ae.length;de--;se[ae[de]]=ne);return se},a=[1,3],u=[1,6],d=[1,4],p=[1,5],v=[2,5],b=[1,12],y=[5,7,13,19,21,23,24,26,28,31,37,40,47],E=[7,13,19,21,23,24,26,28,31,37,40],_=[7,12,13,19,21,23,24,26,28,31,37,40],A=[7,13,47],P=[1,42],R=[1,41],B=[7,13,29,32,35,38,47],j=[1,55],W=[1,56],ee=[1,57],ie=[7,13,32,35,42,47],oe={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,GG:5,document:6,EOF:7,":":8,DIR:9,options:10,body:11,OPT:12,NL:13,line:14,statement:15,commitStatement:16,mergeStatement:17,cherryPickStatement:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,section:24,branchStatement:25,CHECKOUT:26,ref:27,BRANCH:28,ORDER:29,NUM:30,CHERRY_PICK:31,COMMIT_ID:32,STR:33,PARENT_COMMIT:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,ID:46,";":47,$accept:0,$end:1},terminals_:{2:"error",5:"GG",7:"EOF",8:":",9:"DIR",12:"OPT",13:"NL",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"section",26:"CHECKOUT",28:"BRANCH",29:"ORDER",30:"NUM",31:"CHERRY_PICK",32:"COMMIT_ID",33:"STR",34:"PARENT_COMMIT",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",46:"ID",47:";"},productions_:[0,[3,2],[3,3],[3,4],[3,5],[6,0],[6,2],[10,2],[10,1],[11,0],[11,2],[14,2],[14,1],[15,1],[15,1],[15,1],[15,2],[15,2],[15,1],[15,1],[15,1],[15,2],[25,2],[25,4],[18,3],[18,5],[18,5],[18,7],[18,7],[18,5],[18,5],[18,5],[18,7],[18,7],[18,7],[18,7],[17,2],[17,4],[17,4],[17,4],[17,6],[17,6],[17,6],[17,6],[17,6],[17,6],[17,8],[17,8],[17,8],[17,8],[17,8],[17,8],[16,2],[16,3],[16,3],[16,5],[16,5],[16,3],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,3],[16,5],[16,5],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[41,0],[41,1],[39,1],[39,1],[39,1],[27,1],[27,1],[4,1],[4,1],[4,1]],performAction:function(ne,se,de,X,pe,G,xe){var U=G.length-1;switch(pe){case 2:return G[U];case 3:return G[U-1];case 4:return X.setDirection(G[U-3]),G[U-1];case 6:X.setOptions(G[U-1]),this.$=G[U];break;case 7:G[U-1]+=G[U],this.$=G[U-1];break;case 9:this.$=[];break;case 10:G[U-1].push(G[U]),this.$=G[U-1];break;case 11:this.$=G[U-1];break;case 16:this.$=G[U].trim(),X.setAccTitle(this.$);break;case 17:case 18:this.$=G[U].trim(),X.setAccDescription(this.$);break;case 19:X.addSection(G[U].substr(8)),this.$=G[U].substr(8);break;case 21:X.checkout(G[U]);break;case 22:X.branch(G[U]);break;case 23:X.branch(G[U-2],G[U]);break;case 24:X.cherryPick(G[U],"",void 0);break;case 25:X.cherryPick(G[U-2],"",void 0,G[U]);break;case 26:X.cherryPick(G[U-2],"",G[U]);break;case 27:X.cherryPick(G[U-4],"",G[U],G[U-2]);break;case 28:X.cherryPick(G[U-4],"",G[U-2],G[U]);break;case 29:X.cherryPick(G[U],"",G[U-2]);break;case 30:X.cherryPick(G[U],"","");break;case 31:X.cherryPick(G[U-2],"","");break;case 32:X.cherryPick(G[U-4],"","",G[U-2]);break;case 33:X.cherryPick(G[U-4],"","",G[U]);break;case 34:X.cherryPick(G[U-2],"",G[U-4],G[U]);break;case 35:X.cherryPick(G[U-2],"","",G[U]);break;case 36:X.merge(G[U],"","","");break;case 37:X.merge(G[U-2],G[U],"","");break;case 38:X.merge(G[U-2],"",G[U],"");break;case 39:X.merge(G[U-2],"","",G[U]);break;case 40:X.merge(G[U-4],G[U],"",G[U-2]);break;case 41:X.merge(G[U-4],"",G[U],G[U-2]);break;case 42:X.merge(G[U-4],"",G[U-2],G[U]);break;case 43:X.merge(G[U-4],G[U-2],G[U],"");break;case 44:X.merge(G[U-4],G[U-2],"",G[U]);break;case 45:X.merge(G[U-4],G[U],G[U-2],"");break;case 46:X.merge(G[U-6],G[U-4],G[U-2],G[U]);break;case 47:X.merge(G[U-6],G[U],G[U-4],G[U-2]);break;case 48:X.merge(G[U-6],G[U-4],G[U],G[U-2]);break;case 49:X.merge(G[U-6],G[U-2],G[U-4],G[U]);break;case 50:X.merge(G[U-6],G[U],G[U-2],G[U-4]);break;case 51:X.merge(G[U-6],G[U-2],G[U],G[U-4]);break;case 52:X.commit(G[U]);break;case 53:X.commit("","",X.commitType.NORMAL,G[U]);break;case 54:X.commit("","",G[U],"");break;case 55:X.commit("","",G[U],G[U-2]);break;case 56:X.commit("","",G[U-2],G[U]);break;case 57:X.commit("",G[U],X.commitType.NORMAL,"");break;case 58:X.commit("",G[U-2],X.commitType.NORMAL,G[U]);break;case 59:X.commit("",G[U],X.commitType.NORMAL,G[U-2]);break;case 60:X.commit("",G[U-2],G[U],"");break;case 61:X.commit("",G[U],G[U-2],"");break;case 62:X.commit("",G[U-4],G[U-2],G[U]);break;case 63:X.commit("",G[U-4],G[U],G[U-2]);break;case 64:X.commit("",G[U-2],G[U-4],G[U]);break;case 65:X.commit("",G[U],G[U-4],G[U-2]);break;case 66:X.commit("",G[U],G[U-2],G[U-4]);break;case 67:X.commit("",G[U-2],G[U],G[U-4]);break;case 68:X.commit(G[U],"",X.commitType.NORMAL,"");break;case 69:X.commit(G[U],"",X.commitType.NORMAL,G[U-2]);break;case 70:X.commit(G[U-2],"",X.commitType.NORMAL,G[U]);break;case 71:X.commit(G[U-2],"",G[U],"");break;case 72:X.commit(G[U],"",G[U-2],"");break;case 73:X.commit(G[U],G[U-2],X.commitType.NORMAL,"");break;case 74:X.commit(G[U-2],G[U],X.commitType.NORMAL,"");break;case 75:X.commit(G[U-4],"",G[U-2],G[U]);break;case 76:X.commit(G[U-4],"",G[U],G[U-2]);break;case 77:X.commit(G[U-2],"",G[U-4],G[U]);break;case 78:X.commit(G[U],"",G[U-4],G[U-2]);break;case 79:X.commit(G[U],"",G[U-2],G[U-4]);break;case 80:X.commit(G[U-2],"",G[U],G[U-4]);break;case 81:X.commit(G[U-4],G[U],G[U-2],"");break;case 82:X.commit(G[U-4],G[U-2],G[U],"");break;case 83:X.commit(G[U-2],G[U],G[U-4],"");break;case 84:X.commit(G[U],G[U-2],G[U-4],"");break;case 85:X.commit(G[U],G[U-4],G[U-2],"");break;case 86:X.commit(G[U-2],G[U-4],G[U],"");break;case 87:X.commit(G[U-4],G[U],X.commitType.NORMAL,G[U-2]);break;case 88:X.commit(G[U-4],G[U-2],X.commitType.NORMAL,G[U]);break;case 89:X.commit(G[U-2],G[U],X.commitType.NORMAL,G[U-4]);break;case 90:X.commit(G[U],G[U-2],X.commitType.NORMAL,G[U-4]);break;case 91:X.commit(G[U],G[U-4],X.commitType.NORMAL,G[U-2]);break;case 92:X.commit(G[U-2],G[U-4],X.commitType.NORMAL,G[U]);break;case 93:X.commit(G[U-6],G[U-4],G[U-2],G[U]);break;case 94:X.commit(G[U-6],G[U-4],G[U],G[U-2]);break;case 95:X.commit(G[U-6],G[U-2],G[U-4],G[U]);break;case 96:X.commit(G[U-6],G[U],G[U-4],G[U-2]);break;case 97:X.commit(G[U-6],G[U-2],G[U],G[U-4]);break;case 98:X.commit(G[U-6],G[U],G[U-2],G[U-4]);break;case 99:X.commit(G[U-4],G[U-6],G[U-2],G[U]);break;case 100:X.commit(G[U-4],G[U-6],G[U],G[U-2]);break;case 101:X.commit(G[U-2],G[U-6],G[U-4],G[U]);break;case 102:X.commit(G[U],G[U-6],G[U-4],G[U-2]);break;case 103:X.commit(G[U-2],G[U-6],G[U],G[U-4]);break;case 104:X.commit(G[U],G[U-6],G[U-2],G[U-4]);break;case 105:X.commit(G[U],G[U-4],G[U-2],G[U-6]);break;case 106:X.commit(G[U-2],G[U-4],G[U],G[U-6]);break;case 107:X.commit(G[U],G[U-2],G[U-4],G[U-6]);break;case 108:X.commit(G[U-2],G[U],G[U-4],G[U-6]);break;case 109:X.commit(G[U-4],G[U-2],G[U],G[U-6]);break;case 110:X.commit(G[U-4],G[U],G[U-2],G[U-6]);break;case 111:X.commit(G[U-2],G[U-4],G[U-6],G[U]);break;case 112:X.commit(G[U],G[U-4],G[U-6],G[U-2]);break;case 113:X.commit(G[U-2],G[U],G[U-6],G[U-4]);break;case 114:X.commit(G[U],G[U-2],G[U-6],G[U-4]);break;case 115:X.commit(G[U-4],G[U-2],G[U-6],G[U]);break;case 116:X.commit(G[U-4],G[U],G[U-6],G[U-2]);break;case 117:this.$="";break;case 118:this.$=G[U];break;case 119:this.$=X.commitType.NORMAL;break;case 120:this.$=X.commitType.REVERSE;break;case 121:this.$=X.commitType.HIGHLIGHT;break}},table:[{3:1,4:2,5:a,7:u,13:d,47:p},{1:[3]},{3:7,4:2,5:a,7:u,13:d,47:p},{6:8,7:v,8:[1,9],9:[1,10],10:11,13:b},i(y,[2,124]),i(y,[2,125]),i(y,[2,126]),{1:[2,1]},{7:[1,13]},{6:14,7:v,10:11,13:b},{8:[1,15]},i(E,[2,9],{11:16,12:[1,17]}),i(_,[2,8]),{1:[2,2]},{7:[1,18]},{6:19,7:v,10:11,13:b},{7:[2,6],13:[1,22],14:20,15:21,16:23,17:24,18:25,19:[1,26],21:[1,27],23:[1,28],24:[1,29],25:30,26:[1,31],28:[1,35],31:[1,34],37:[1,33],40:[1,32]},i(_,[2,7]),{1:[2,3]},{7:[1,36]},i(E,[2,10]),{4:37,7:u,13:d,47:p},i(E,[2,12]),i(A,[2,13]),i(A,[2,14]),i(A,[2,15]),{20:[1,38]},{22:[1,39]},i(A,[2,18]),i(A,[2,19]),i(A,[2,20]),{27:40,33:P,46:R},i(A,[2,117],{41:43,32:[1,46],33:[1,48],35:[1,44],38:[1,45],42:[1,47]}),{27:49,33:P,46:R},{32:[1,50],35:[1,51]},{27:52,33:P,46:R},{1:[2,4]},i(E,[2,11]),i(A,[2,16]),i(A,[2,17]),i(A,[2,21]),i(B,[2,122]),i(B,[2,123]),i(A,[2,52]),{33:[1,53]},{39:54,43:j,44:W,45:ee},{33:[1,58]},{33:[1,59]},i(A,[2,118]),i(A,[2,36],{32:[1,60],35:[1,62],38:[1,61]}),{33:[1,63]},{33:[1,64],36:[1,65]},i(A,[2,22],{29:[1,66]}),i(A,[2,53],{32:[1,68],38:[1,67],42:[1,69]}),i(A,[2,54],{32:[1,71],35:[1,70],42:[1,72]}),i(ie,[2,119]),i(ie,[2,120]),i(ie,[2,121]),i(A,[2,57],{35:[1,73],38:[1,74],42:[1,75]}),i(A,[2,68],{32:[1,78],35:[1,76],38:[1,77]}),{33:[1,79]},{39:80,43:j,44:W,45:ee},{33:[1,81]},i(A,[2,24],{34:[1,82],35:[1,83]}),{32:[1,84]},{32:[1,85]},{30:[1,86]},{39:87,43:j,44:W,45:ee},{33:[1,88]},{33:[1,89]},{33:[1,90]},{33:[1,91]},{33:[1,92]},{33:[1,93]},{39:94,43:j,44:W,45:ee},{33:[1,95]},{33:[1,96]},{39:97,43:j,44:W,45:ee},{33:[1,98]},i(A,[2,37],{35:[1,100],38:[1,99]}),i(A,[2,38],{32:[1,102],35:[1,101]}),i(A,[2,39],{32:[1,103],38:[1,104]}),{33:[1,105]},{33:[1,106],36:[1,107]},{33:[1,108]},{33:[1,109]},i(A,[2,23]),i(A,[2,55],{32:[1,110],42:[1,111]}),i(A,[2,59],{38:[1,112],42:[1,113]}),i(A,[2,69],{32:[1,115],38:[1,114]}),i(A,[2,56],{32:[1,116],42:[1,117]}),i(A,[2,61],{35:[1,118],42:[1,119]}),i(A,[2,72],{32:[1,121],35:[1,120]}),i(A,[2,58],{38:[1,122],42:[1,123]}),i(A,[2,60],{35:[1,124],42:[1,125]}),i(A,[2,73],{35:[1,127],38:[1,126]}),i(A,[2,70],{32:[1,129],38:[1,128]}),i(A,[2,71],{32:[1,131],35:[1,130]}),i(A,[2,74],{35:[1,133],38:[1,132]}),{39:134,43:j,44:W,45:ee},{33:[1,135]},{33:[1,136]},{33:[1,137]},{33:[1,138]},{39:139,43:j,44:W,45:ee},i(A,[2,25],{35:[1,140]}),i(A,[2,26],{34:[1,141]}),i(A,[2,31],{34:[1,142]}),i(A,[2,29],{34:[1,143]}),i(A,[2,30],{34:[1,144]}),{33:[1,145]},{33:[1,146]},{39:147,43:j,44:W,45:ee},{33:[1,148]},{39:149,43:j,44:W,45:ee},{33:[1,150]},{33:[1,151]},{33:[1,152]},{33:[1,153]},{33:[1,154]},{33:[1,155]},{33:[1,156]},{39:157,43:j,44:W,45:ee},{33:[1,158]},{33:[1,159]},{33:[1,160]},{39:161,43:j,44:W,45:ee},{33:[1,162]},{39:163,43:j,44:W,45:ee},{33:[1,164]},{33:[1,165]},{33:[1,166]},{39:167,43:j,44:W,45:ee},{33:[1,168]},i(A,[2,43],{35:[1,169]}),i(A,[2,44],{38:[1,170]}),i(A,[2,42],{32:[1,171]}),i(A,[2,45],{35:[1,172]}),i(A,[2,40],{38:[1,173]}),i(A,[2,41],{32:[1,174]}),{33:[1,175],36:[1,176]},{33:[1,177]},{33:[1,178]},{33:[1,179]},{33:[1,180]},i(A,[2,66],{42:[1,181]}),i(A,[2,79],{32:[1,182]}),i(A,[2,67],{42:[1,183]}),i(A,[2,90],{38:[1,184]}),i(A,[2,80],{32:[1,185]}),i(A,[2,89],{38:[1,186]}),i(A,[2,65],{42:[1,187]}),i(A,[2,78],{32:[1,188]}),i(A,[2,64],{42:[1,189]}),i(A,[2,84],{35:[1,190]}),i(A,[2,77],{32:[1,191]}),i(A,[2,83],{35:[1,192]}),i(A,[2,63],{42:[1,193]}),i(A,[2,91],{38:[1,194]}),i(A,[2,62],{42:[1,195]}),i(A,[2,85],{35:[1,196]}),i(A,[2,86],{35:[1,197]}),i(A,[2,92],{38:[1,198]}),i(A,[2,76],{32:[1,199]}),i(A,[2,87],{38:[1,200]}),i(A,[2,75],{32:[1,201]}),i(A,[2,81],{35:[1,202]}),i(A,[2,82],{35:[1,203]}),i(A,[2,88],{38:[1,204]}),{33:[1,205]},{39:206,43:j,44:W,45:ee},{33:[1,207]},{33:[1,208]},{39:209,43:j,44:W,45:ee},{33:[1,210]},i(A,[2,27]),i(A,[2,32]),i(A,[2,28]),i(A,[2,33]),i(A,[2,34]),i(A,[2,35]),{33:[1,211]},{33:[1,212]},{33:[1,213]},{39:214,43:j,44:W,45:ee},{33:[1,215]},{39:216,43:j,44:W,45:ee},{33:[1,217]},{33:[1,218]},{33:[1,219]},{33:[1,220]},{33:[1,221]},{33:[1,222]},{33:[1,223]},{39:224,43:j,44:W,45:ee},{33:[1,225]},{33:[1,226]},{33:[1,227]},{39:228,43:j,44:W,45:ee},{33:[1,229]},{39:230,43:j,44:W,45:ee},{33:[1,231]},{33:[1,232]},{33:[1,233]},{39:234,43:j,44:W,45:ee},i(A,[2,46]),i(A,[2,48]),i(A,[2,47]),i(A,[2,49]),i(A,[2,51]),i(A,[2,50]),i(A,[2,107]),i(A,[2,108]),i(A,[2,105]),i(A,[2,106]),i(A,[2,110]),i(A,[2,109]),i(A,[2,114]),i(A,[2,113]),i(A,[2,112]),i(A,[2,111]),i(A,[2,116]),i(A,[2,115]),i(A,[2,104]),i(A,[2,103]),i(A,[2,102]),i(A,[2,101]),i(A,[2,99]),i(A,[2,100]),i(A,[2,98]),i(A,[2,97]),i(A,[2,96]),i(A,[2,95]),i(A,[2,93]),i(A,[2,94])],defaultActions:{7:[2,1],13:[2,2],18:[2,3],36:[2,4]},parseError:function(ne,se){if(se.recoverable)this.trace(ne);else{var de=new Error(ne);throw de.hash=se,de}},parse:function(ne){var se=this,de=[0],X=[],pe=[null],G=[],xe=this.table,U="",Be=0,Pe=0,je=2,Ie=1,Se=G.slice.call(arguments,1),Ce=Object.create(this.lexer),ke={yy:{}};for(var Ke in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ke)&&(ke.yy[Ke]=this.yy[Ke]);Ce.setInput(ne,ke.yy),ke.yy.lexer=Ce,ke.yy.parser=this,typeof Ce.yylloc>"u"&&(Ce.yylloc={});var zt=Ce.yylloc;G.push(zt);var Ne=Ce.options&&Ce.options.ranges;typeof ke.yy.parseError=="function"?this.parseError=ke.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pn(){var ht;return ht=X.pop()||Ce.lex()||Ie,typeof ht!="number"&&(ht instanceof Array&&(X=ht,ht=X.pop()),ht=se.symbols_[ht]||ht),ht}for(var Tt,Et,Wt,un,yt={},Bt,Ze,Dt,kt;;){if(Et=de[de.length-1],this.defaultActions[Et]?Wt=this.defaultActions[Et]:((Tt===null||typeof Tt>"u")&&(Tt=pn()),Wt=xe[Et]&&xe[Et][Tt]),typeof Wt>"u"||!Wt.length||!Wt[0]){var Nn="";kt=[];for(Bt in xe[Et])this.terminals_[Bt]&&Bt>je&&kt.push("'"+this.terminals_[Bt]+"'");Ce.showPosition?Nn="Parse error on line "+(Be+1)+`: -`+Ce.showPosition()+` -Expecting `+kt.join(", ")+", got '"+(this.terminals_[Tt]||Tt)+"'":Nn="Parse error on line "+(Be+1)+": Unexpected "+(Tt==Ie?"end of input":"'"+(this.terminals_[Tt]||Tt)+"'"),this.parseError(Nn,{text:Ce.match,token:this.terminals_[Tt]||Tt,line:Ce.yylineno,loc:zt,expected:kt})}if(Wt[0]instanceof Array&&Wt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Et+", token: "+Tt);switch(Wt[0]){case 1:de.push(Tt),pe.push(Ce.yytext),G.push(Ce.yylloc),de.push(Wt[1]),Tt=null,Pe=Ce.yyleng,U=Ce.yytext,Be=Ce.yylineno,zt=Ce.yylloc;break;case 2:if(Ze=this.productions_[Wt[1]][1],yt.$=pe[pe.length-Ze],yt._$={first_line:G[G.length-(Ze||1)].first_line,last_line:G[G.length-1].last_line,first_column:G[G.length-(Ze||1)].first_column,last_column:G[G.length-1].last_column},Ne&&(yt._$.range=[G[G.length-(Ze||1)].range[0],G[G.length-1].range[1]]),un=this.performAction.apply(yt,[U,Pe,Be,ke.yy,Wt[1],pe,G].concat(Se)),typeof un<"u")return un;Ze&&(de=de.slice(0,-1*Ze*2),pe=pe.slice(0,-1*Ze),G=G.slice(0,-1*Ze)),de.push(this.productions_[Wt[1]][0]),pe.push(yt.$),G.push(yt._$),Dt=xe[de[de.length-2]][de[de.length-1]],de.push(Dt);break;case 3:return!0}}return!0}},be=function(){var ae={EOF:1,parseError:function(se,de){if(this.yy.parser)this.yy.parser.parseError(se,de);else throw new Error(se)},setInput:function(ne,se){return this.yy=se||this.yy||{},this._input=ne,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var ne=this._input[0];this.yytext+=ne,this.yyleng++,this.offset++,this.match+=ne,this.matched+=ne;var se=ne.match(/(?:\r\n?|\n).*/g);return se?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),ne},unput:function(ne){var se=ne.length,de=ne.split(/(?:\r\n?|\n)/g);this._input=ne+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-se),this.offset-=se;var X=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),de.length-1&&(this.yylineno-=de.length-1);var pe=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:de?(de.length===X.length?this.yylloc.first_column:0)+X[X.length-de.length].length-de[0].length:this.yylloc.first_column-se},this.options.ranges&&(this.yylloc.range=[pe[0],pe[0]+this.yyleng-se]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(ne){this.unput(this.match.slice(ne))},pastInput:function(){var ne=this.matched.substr(0,this.matched.length-this.match.length);return(ne.length>20?"...":"")+ne.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var ne=this.match;return ne.length<20&&(ne+=this._input.substr(0,20-ne.length)),(ne.substr(0,20)+(ne.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var ne=this.pastInput(),se=new Array(ne.length+1).join("-");return ne+this.upcomingInput()+` -`+se+"^"},test_match:function(ne,se){var de,X,pe;if(this.options.backtrack_lexer&&(pe={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(pe.yylloc.range=this.yylloc.range.slice(0))),X=ne[0].match(/(?:\r\n?|\n).*/g),X&&(this.yylineno+=X.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:X?X[X.length-1].length-X[X.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+ne[0].length},this.yytext+=ne[0],this.match+=ne[0],this.matches=ne,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(ne[0].length),this.matched+=ne[0],de=this.performAction.call(this,this.yy,this,se,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),de)return de;if(this._backtrack){for(var G in pe)this[G]=pe[G];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var ne,se,de,X;this._more||(this.yytext="",this.match="");for(var pe=this._currentRules(),G=0;Gse[0].length)){if(se=de,X=G,this.options.backtrack_lexer){if(ne=this.test_match(de,pe[G]),ne!==!1)return ne;if(this._backtrack){se=!1;continue}else return!1}else if(!this.options.flex)break}return se?(ne=this.test_match(se,pe[X]),ne!==!1?ne:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var se=this.next();return se||this.lex()},begin:function(se){this.conditionStack.push(se)},popState:function(){var se=this.conditionStack.length-1;return se>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(se){return se=this.conditionStack.length-1-Math.abs(se||0),se>=0?this.conditionStack[se]:"INITIAL"},pushState:function(se){this.begin(se)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(se,de,X,pe){switch(X){case 0:return this.begin("acc_title"),19;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),21;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 13;case 8:break;case 9:break;case 10:return 5;case 11:return 40;case 12:return 32;case 13:return 38;case 14:return 42;case 15:return 43;case 16:return 44;case 17:return 45;case 18:return 35;case 19:return 28;case 20:return 29;case 21:return 37;case 22:return 31;case 23:return 34;case 24:return 26;case 25:return 9;case 26:return 9;case 27:return 8;case 28:return"CARET";case 29:this.begin("options");break;case 30:this.popState();break;case 31:return 12;case 32:return 36;case 33:this.begin("string");break;case 34:this.popState();break;case 35:return 33;case 36:return 30;case 37:return 46;case 38:return 7}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit(?=\s|$))/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch(?=\s|$))/i,/^(?:order:)/i,/^(?:merge(?=\s|$))/i,/^(?:cherry-pick(?=\s|$))/i,/^(?:parent:)/i,/^(?:checkout(?=\s|$))/i,/^(?:LR\b)/i,/^(?:TB\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:[ \r\n\t]+end\b)/i,/^(?:[\s\S]+(?=[ \r\n\t]+end))/i,/^(?:["]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[0-9]+(?=\s|$))/i,/^(?:\w([-\./\w]*[-\w])?)/i,/^(?:$)/i,/^(?:\s+)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},options:{rules:[30,31],inclusive:!1},string:{rules:[34,35],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,32,33,36,37,38,39],inclusive:!0}}};return ae}();oe.lexer=be;function ge(){this.yy={}}return ge.prototype=oe,oe.Parser=ge,new ge}();hve.parser=hve;const ktn=hve;let xJ=qt().gitGraph.mainBranchName,Ttn=qt().gitGraph.mainBranchOrder,b1={},$p=null,zR={};zR[xJ]={name:xJ,order:Ttn};let j0={};j0[xJ]=$p;let id=xJ,mGe="LR",XC=0;function fve(){return $je({length:7})}function Etn(i,a){const u=Object.create(null);return i.reduce((d,p)=>{const v=a(p);return u[v]||(u[v]=!0,d.push(p)),d},[])}const Ctn=function(i){mGe=i};let vGe={};const Stn=function(i){Xe.debug("options str",i),i=i&&i.trim(),i=i||"{}";try{vGe=JSON.parse(i)}catch(a){Xe.error("error while parsing gitGraph options",a.message)}},_tn=function(){return vGe},Atn=function(i,a,u,d){Xe.debug("Entering commit:",i,a,u,d),a=oi.sanitizeText(a,qt()),i=oi.sanitizeText(i,qt()),d=oi.sanitizeText(d,qt());const p={id:a||XC+"-"+fve(),message:i,seq:XC++,type:u||ZD.NORMAL,tag:d||"",parents:$p==null?[]:[$p.id],branch:id};$p=p,b1[p.id]=p,j0[id]=p.id,Xe.debug("in pushCommit "+p.id)},Ltn=function(i,a){if(i=oi.sanitizeText(i,qt()),j0[i]===void 0)j0[i]=$p!=null?$p.id:null,zR[i]={name:i,order:a?parseInt(a,10):null},wGe(i),Xe.debug("in createBranch");else{let u=new Error('Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout '+i+'")');throw u.hash={text:"branch "+i,token:"branch "+i,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+i+'"']},u}},Mtn=function(i,a,u,d){i=oi.sanitizeText(i,qt()),a=oi.sanitizeText(a,qt());const p=b1[j0[id]],v=b1[j0[i]];if(id===i){let y=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw y.hash={text:"merge "+i,token:"merge "+i,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},y}else if(p===void 0||!p){let y=new Error('Incorrect usage of "merge". Current branch ('+id+")has no commits");throw y.hash={text:"merge "+i,token:"merge "+i,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["commit"]},y}else if(j0[i]===void 0){let y=new Error('Incorrect usage of "merge". Branch to be merged ('+i+") does not exist");throw y.hash={text:"merge "+i,token:"merge "+i,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch "+i]},y}else if(v===void 0||!v){let y=new Error('Incorrect usage of "merge". Branch to be merged ('+i+") has no commits");throw y.hash={text:"merge "+i,token:"merge "+i,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},y}else if(p===v){let y=new Error('Incorrect usage of "merge". Both branches have same head');throw y.hash={text:"merge "+i,token:"merge "+i,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},y}else if(a&&b1[a]!==void 0){let y=new Error('Incorrect usage of "merge". Commit with id:'+a+" already exists, use different custom Id");throw y.hash={text:"merge "+i+a+u+d,token:"merge "+i+a+u+d,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+i+" "+a+"_UNIQUE "+u+" "+d]},y}const b={id:a||XC+"-"+fve(),message:"merged branch "+i+" into "+id,seq:XC++,parents:[$p==null?null:$p.id,j0[i]],branch:id,type:ZD.MERGE,customType:u,customId:!!a,tag:d||""};$p=b,b1[b.id]=b,j0[id]=b.id,Xe.debug(j0),Xe.debug("in mergeBranch")},Dtn=function(i,a,u,d){if(Xe.debug("Entering cherryPick:",i,a,u),i=oi.sanitizeText(i,qt()),a=oi.sanitizeText(a,qt()),u=oi.sanitizeText(u,qt()),d=oi.sanitizeText(d,qt()),!i||b1[i]===void 0){let b=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw b.hash={text:"cherryPick "+i+" "+a,token:"cherryPick "+i+" "+a,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},b}let p=b1[i],v=p.branch;if(d&&!(Array.isArray(p.parents)&&p.parents.includes(d)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");if(p.type===ZD.MERGE&&!d)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!a||b1[a]===void 0){if(v===id){let E=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw E.hash={text:"cherryPick "+i+" "+a,token:"cherryPick "+i+" "+a,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},E}const b=b1[j0[id]];if(b===void 0||!b){let E=new Error('Incorrect usage of "cherry-pick". Current branch ('+id+")has no commits");throw E.hash={text:"cherryPick "+i+" "+a,token:"cherryPick "+i+" "+a,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},E}const y={id:XC+"-"+fve(),message:"cherry-picked "+p+" into "+id,seq:XC++,parents:[$p==null?null:$p.id,p.id],branch:id,type:ZD.CHERRY_PICK,tag:u??`cherry-pick:${p.id}${p.type===ZD.MERGE?`|parent:${d}`:""}`};$p=y,b1[y.id]=y,j0[id]=y.id,Xe.debug(j0),Xe.debug("in cherryPick")}},wGe=function(i){if(i=oi.sanitizeText(i,qt()),j0[i]===void 0){let a=new Error('Trying to checkout branch which is not yet created. (Help try using "branch '+i+'")');throw a.hash={text:"checkout "+i,token:"checkout "+i,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"branch '+i+'"']},a}else{id=i;const a=j0[id];$p=b1[a]}};function yGe(i,a,u){const d=i.indexOf(a);d===-1?i.push(u):i.splice(d,1,u)}function xGe(i){const a=i.reduce((p,v)=>p.seq>v.seq?p:v,i[0]);let u="";i.forEach(function(p){p===a?u+=" *":u+=" |"});const d=[u,a.id,a.seq];for(let p in j0)j0[p]===a.id&&d.push(p);if(Xe.debug(d.join(" ")),a.parents&&a.parents.length==2){const p=b1[a.parents[0]];yGe(i,a,p),i.push(b1[a.parents[1]])}else{if(a.parents.length==0)return;{const p=b1[a.parents];yGe(i,a,p)}}i=Etn(i,p=>p.id),xGe(i)}const Itn=function(){Xe.debug(b1);const i=kGe()[0];xGe([i])},Otn=function(){b1={},$p=null;let i=qt().gitGraph.mainBranchName,a=qt().gitGraph.mainBranchOrder;j0={},j0[i]=null,zR={},zR[i]={name:i,order:a},id=i,XC=0,Rg()},Ntn=function(){return Object.values(zR).map((a,u)=>a.order!==null?a:{...a,order:parseFloat(`0.${u}`,10)}).sort((a,u)=>a.order-u.order).map(({name:a})=>({name:a}))},Ptn=function(){return j0},Btn=function(){return b1},kGe=function(){const i=Object.keys(b1).map(function(a){return b1[a]});return i.forEach(function(a){Xe.debug(a.id)}),i.sort((a,u)=>a.seq-u.seq),i},Ftn=function(){return id},Rtn=function(){return mGe},jtn=function(){return $p},ZD={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},$tn={getConfig:()=>qt().gitGraph,setDirection:Ctn,setOptions:Stn,getOptions:_tn,commit:Atn,branch:Ltn,merge:Mtn,cherryPick:Dtn,checkout:wGe,prettyPrint:Itn,clear:Otn,getBranchesAsObjArray:Ntn,getBranches:Ptn,getCommits:Btn,getCommitsArray:kGe,getCurrentBranch:Ftn,getDirection:Rtn,getHead:jtn,setAccTitle:jg,getAccTitle:Mp,getAccDescription:Ip,setAccDescription:Dp,setDiagramTitle:pm,getDiagramTitle:Op,commitType:ZD};let qR={};const sd={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},QC=8;let J2={},U7={},kJ=[],HR=0,$0="LR";const ztn=()=>{J2={},U7={},qR={},HR=0,kJ=[],$0="LR"},TGe=i=>{const a=document.createElementNS("http://www.w3.org/2000/svg","text");let u=[];typeof i=="string"?u=i.split(/\\n|\n|/gi):Array.isArray(i)?u=i:u=[];for(const d of u){const p=document.createElementNS("http://www.w3.org/2000/svg","tspan");p.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),p.setAttribute("dy","1em"),p.setAttribute("x","0"),p.setAttribute("class","row"),p.textContent=d.trim(),a.appendChild(p)}return a},qtn=i=>{let a="",u=0;return i.forEach(d=>{const p=$0==="TB"?U7[d].y:U7[d].x;p>=u&&(a=d,u=p)}),a||void 0},EGe=(i,a,u)=>{const d=qt().gitGraph,p=i.append("g").attr("class","commit-bullets"),v=i.append("g").attr("class","commit-labels");let b=0;$0==="TB"&&(b=30);const E=Object.keys(a).sort((R,B)=>a[R].seq-a[B].seq),_=d.parallelCommits,A=10,P=40;E.forEach(R=>{const B=a[R];if(_)if(B.parents.length){const ie=qtn(B.parents);b=$0==="TB"?U7[ie].y+P:U7[ie].x+P}else b=0,$0==="TB"&&(b=30);const j=b+A,W=$0==="TB"?j:J2[B.branch].pos,ee=$0==="TB"?J2[B.branch].pos:j;if(u){let ie,oe=B.customType!==void 0&&B.customType!==""?B.customType:B.type;switch(oe){case sd.NORMAL:ie="commit-normal";break;case sd.REVERSE:ie="commit-reverse";break;case sd.HIGHLIGHT:ie="commit-highlight";break;case sd.MERGE:ie="commit-merge";break;case sd.CHERRY_PICK:ie="commit-cherry-pick";break;default:ie="commit-normal"}if(oe===sd.HIGHLIGHT){const be=p.append("rect");be.attr("x",ee-10),be.attr("y",W-10),be.attr("height",20),be.attr("width",20),be.attr("class",`commit ${B.id} commit-highlight${J2[B.branch].index%QC} ${ie}-outer`),p.append("rect").attr("x",ee-6).attr("y",W-6).attr("height",12).attr("width",12).attr("class",`commit ${B.id} commit${J2[B.branch].index%QC} ${ie}-inner`)}else if(oe===sd.CHERRY_PICK)p.append("circle").attr("cx",ee).attr("cy",W).attr("r",10).attr("class",`commit ${B.id} ${ie}`),p.append("circle").attr("cx",ee-3).attr("cy",W+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${B.id} ${ie}`),p.append("circle").attr("cx",ee+3).attr("cy",W+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${B.id} ${ie}`),p.append("line").attr("x1",ee+3).attr("y1",W+1).attr("x2",ee).attr("y2",W-5).attr("stroke","#fff").attr("class",`commit ${B.id} ${ie}`),p.append("line").attr("x1",ee-3).attr("y1",W+1).attr("x2",ee).attr("y2",W-5).attr("stroke","#fff").attr("class",`commit ${B.id} ${ie}`);else{const be=p.append("circle");if(be.attr("cx",ee),be.attr("cy",W),be.attr("r",B.type===sd.MERGE?9:10),be.attr("class",`commit ${B.id} commit${J2[B.branch].index%QC}`),oe===sd.MERGE){const ge=p.append("circle");ge.attr("cx",ee),ge.attr("cy",W),ge.attr("r",6),ge.attr("class",`commit ${ie} ${B.id} commit${J2[B.branch].index%QC}`)}oe===sd.REVERSE&&p.append("path").attr("d",`M ${ee-5},${W-5}L${ee+5},${W+5}M${ee-5},${W+5}L${ee+5},${W-5}`).attr("class",`commit ${ie} ${B.id} commit${J2[B.branch].index%QC}`)}}if($0==="TB"?U7[B.id]={x:ee,y:j}:U7[B.id]={x:j,y:W},u){if(B.type!==sd.CHERRY_PICK&&(B.customId&&B.type===sd.MERGE||B.type!==sd.MERGE)&&d.showCommitLabel){const be=v.append("g"),ge=be.insert("rect").attr("class","commit-label-bkg"),ae=be.append("text").attr("x",b).attr("y",W+25).attr("class","commit-label").text(B.id);let ne=ae.node().getBBox();if(ge.attr("x",j-ne.width/2-2).attr("y",W+13.5).attr("width",ne.width+2*2).attr("height",ne.height+2*2),$0==="TB"&&(ge.attr("x",ee-(ne.width+4*4+5)).attr("y",W-12),ae.attr("x",ee-(ne.width+4*4)).attr("y",W+ne.height-12)),$0!=="TB"&&ae.attr("x",j-ne.width/2),d.rotateCommitLabel)if($0==="TB")ae.attr("transform","rotate(-45, "+ee+", "+W+")"),ge.attr("transform","rotate(-45, "+ee+", "+W+")");else{let se=-7.5-(ne.width+10)/25*9.5,de=10+ne.width/25*8.5;be.attr("transform","translate("+se+", "+de+") rotate(-45, "+b+", "+W+")")}}if(B.tag){const be=v.insert("polygon"),ge=v.append("circle"),ae=v.append("text").attr("y",W-16).attr("class","tag-label").text(B.tag);let ne=ae.node().getBBox();ae.attr("x",j-ne.width/2);const se=ne.height/2,de=W-19.2;be.attr("class","tag-label-bkg").attr("points",` - ${b-ne.width/2-4/2},${de+2} - ${b-ne.width/2-4/2},${de-2} - ${j-ne.width/2-4},${de-se-2} - ${j+ne.width/2+4},${de-se-2} - ${j+ne.width/2+4},${de+se+2} - ${j-ne.width/2-4},${de+se+2}`),ge.attr("cx",b-ne.width/2+4/2).attr("cy",de).attr("r",1.5).attr("class","tag-hole"),$0==="TB"&&(be.attr("class","tag-label-bkg").attr("points",` - ${ee},${b+2} - ${ee},${b-2} - ${ee+A},${b-se-2} - ${ee+A+ne.width+4},${b-se-2} - ${ee+A+ne.width+4},${b+se+2} - ${ee+A},${b+se+2}`).attr("transform","translate(12,12) rotate(45, "+ee+","+b+")"),ge.attr("cx",ee+4/2).attr("cy",b).attr("transform","translate(12,12) rotate(45, "+ee+","+b+")"),ae.attr("x",ee+5).attr("y",b+3).attr("transform","translate(14,14) rotate(45, "+ee+","+b+")"))}}b+=P+A,b>HR&&(HR=b)})},Htn=(i,a,u,d,p)=>{const b=($0==="TB"?u.x_.branch===b,E=_=>_.seq>i.seq&&_.seqE(_)&&y(_))},UR=(i,a,u=0)=>{const d=i+Math.abs(i-a)/2;if(u>5)return d;if(kJ.every(b=>Math.abs(b-d)>=10))return kJ.push(d),d;const v=Math.abs(i-a);return UR(i,a-v/5,u+1)},Utn=(i,a,u,d)=>{const p=U7[a.id],v=U7[u.id],b=Htn(a,u,p,v,d);let y="",E="",_=0,A=0,P=J2[u.branch].index;u.type===sd.MERGE&&a.id!==u.parents[0]&&(P=J2[a.branch].index);let R;if(b){y="A 10 10, 0, 0, 0,",E="A 10 10, 0, 0, 1,",_=10,A=10;const B=p.yv.x&&(y="A 20 20, 0, 0, 0,",E="A 20 20, 0, 0, 1,",_=20,A=20,u.type===sd.MERGE&&a.id!==u.parents[0]?R=`M ${p.x} ${p.y} L ${p.x} ${v.y-_} ${E} ${p.x-A} ${v.y} L ${v.x} ${v.y}`:R=`M ${p.x} ${p.y} L ${v.x+_} ${p.y} ${y} ${v.x} ${p.y+A} L ${v.x} ${v.y}`),p.x===v.x&&(R=`M ${p.x} ${p.y} L ${v.x} ${v.y}`)):(p.yv.y&&(u.type===sd.MERGE&&a.id!==u.parents[0]?R=`M ${p.x} ${p.y} L ${v.x-_} ${p.y} ${y} ${v.x} ${p.y-A} L ${v.x} ${v.y}`:R=`M ${p.x} ${p.y} L ${p.x} ${v.y+_} ${E} ${p.x+A} ${v.y} L ${v.x} ${v.y}`),p.y===v.y&&(R=`M ${p.x} ${p.y} L ${v.x} ${v.y}`));i.append("path").attr("d",R).attr("class","arrow arrow"+P%QC)},Vtn=(i,a)=>{const u=i.append("g").attr("class","commit-arrows");Object.keys(a).forEach(d=>{const p=a[d];p.parents&&p.parents.length>0&&p.parents.forEach(v=>{Utn(u,a[v],p,a)})})},Gtn=(i,a)=>{const u=qt().gitGraph,d=i.append("g");a.forEach((p,v)=>{const b=v%QC,y=J2[p.name].pos,E=d.append("line");E.attr("x1",0),E.attr("y1",y),E.attr("x2",HR),E.attr("y2",y),E.attr("class","branch branch"+b),$0==="TB"&&(E.attr("y1",30),E.attr("x1",y),E.attr("y2",HR),E.attr("x2",y)),kJ.push(y);let _=p.name;const A=TGe(_),P=d.insert("rect"),B=d.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+b);B.node().appendChild(A);let j=A.getBBox();P.attr("class","branchLabelBkg label"+b).attr("rx",4).attr("ry",4).attr("x",-j.width-4-(u.rotateCommitLabel===!0?30:0)).attr("y",-j.height/2+8).attr("width",j.width+18).attr("height",j.height+4),B.attr("transform","translate("+(-j.width-14-(u.rotateCommitLabel===!0?30:0))+", "+(y-j.height/2-1)+")"),$0==="TB"&&(P.attr("x",y-j.width/2-10).attr("y",0),B.attr("transform","translate("+(y-j.width/2-5)+", 0)")),$0!=="TB"&&P.attr("transform","translate(-19, "+(y-j.height/2)+")")})},Ktn=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:ktn,db:$tn,renderer:{draw:function(i,a,u,d){ztn();const p=qt(),v=p.gitGraph;Xe.debug("in gitgraph renderer",i+` -`,"id:",a,u),qR=d.db.getCommits();const b=d.db.getBranchesAsObjArray();$0=d.db.getDirection();const y=Dr(`[id="${a}"]`);let E=0;b.forEach((_,A)=>{const P=TGe(_.name),R=y.append("g"),B=R.insert("g").attr("class","branchLabel"),j=B.insert("g").attr("class","label branch-label");j.node().appendChild(P);let W=P.getBBox();J2[_.name]={pos:E,index:A},E+=50+(v.rotateCommitLabel?40:0)+($0==="TB"?W.width/2:0),j.remove(),B.remove(),R.remove()}),EGe(y,qR,!1),v.showBranches&&Gtn(y,b),Vtn(y,qR),EGe(y,qR,!0),So.insertTitle(y,"gitTitleText",v.titleTopMargin,d.db.getDiagramTitle()),E$e(void 0,y,v.diagramPadding,v.useMaxWidth??p.useMaxWidth)}},styles:i=>` - .commit-id, - .commit-msg, - .branch-label { - fill: lightgrey; - color: lightgrey; - font-family: 'trebuchet ms', verdana, arial, sans-serif; - font-family: var(--mermaid-font-family); + .cluster-label span { + color: ${t.titleColor}; } - ${[0,1,2,3,4,5,6,7].map(a=>` - .branch-label${a} { fill: ${i["gitBranchLabel"+a]}; } - .commit${a} { stroke: ${i["git"+a]}; fill: ${i["git"+a]}; } - .commit-highlight${a} { stroke: ${i["gitInv"+a]}; fill: ${i["gitInv"+a]}; } - .label${a} { fill: ${i["git"+a]}; } - .arrow${a} { stroke: ${i["git"+a]}; } - `).join(` -`)} - - .branch { - stroke-width: 1; - stroke: ${i.lineColor}; - stroke-dasharray: 2; + .cluster-label span p { + background-color: transparent; } - .commit-label { font-size: ${i.commitLabelFontSize}; fill: ${i.commitLabelColor};} - .commit-label-bkg { font-size: ${i.commitLabelFontSize}; fill: ${i.commitLabelBackground}; opacity: 0.5; } - .tag-label { font-size: ${i.tagLabelFontSize}; fill: ${i.tagLabelColor};} - .tag-label-bkg { fill: ${i.tagLabelBackground}; stroke: ${i.tagLabelBorder}; } - .tag-hole { fill: ${i.textColor}; } - .commit-merge { - stroke: ${i.primaryColor}; - fill: ${i.primaryColor}; + .label text,span { + fill: ${t.nodeTextColor||t.textColor}; + color: ${t.nodeTextColor||t.textColor}; } - .commit-reverse { - stroke: ${i.primaryColor}; - fill: ${i.primaryColor}; - stroke-width: 3; + + .node rect, + .node circle, + .node ellipse, + .node polygon, + .node path { + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; + stroke-width: ${t.strokeWidth??1}px; } - .commit-highlight-outer { + .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label { + text-anchor: middle; } - .commit-highlight-inner { - stroke: ${i.primaryColor}; - fill: ${i.primaryColor}; + .node .katex path { + fill: ${t.nodeTextColor||t.textColor}; + stroke: ${t.nodeTextColor||t.textColor}; + stroke-width: 1px; } - .arrow { stroke-width: 8; stroke-linecap: round; fill: none} - .gitTitleText { - text-anchor: middle; - font-size: 18px; - fill: ${i.textColor}; - } -`}},Symbol.toStringTag,{value:"Module"}));var dve=function(){var i=function(G,xe,U,Be){for(U=U||{},Be=G.length;Be--;U[G[Be]]=xe);return U},a=[6,8,10,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,30,32,33,35,37],u=[1,25],d=[1,26],p=[1,27],v=[1,28],b=[1,29],y=[1,30],E=[1,31],_=[1,9],A=[1,10],P=[1,11],R=[1,12],B=[1,13],j=[1,14],W=[1,15],ee=[1,16],ie=[1,18],oe=[1,19],be=[1,20],ge=[1,21],ae=[1,22],ne=[1,24],se=[1,32],de={trace:function(){},yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,dateFormat:19,inclusiveEndDates:20,topAxis:21,axisFormat:22,tickInterval:23,excludes:24,includes:25,todayMarker:26,title:27,acc_title:28,acc_title_value:29,acc_descr:30,acc_descr_value:31,acc_descr_multiline_value:32,section:33,clickStatement:34,taskTxt:35,taskData:36,click:37,callbackname:38,callbackargs:39,href:40,clickStatementDebug:41,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",19:"dateFormat",20:"inclusiveEndDates",21:"topAxis",22:"axisFormat",23:"tickInterval",24:"excludes",25:"includes",26:"todayMarker",27:"title",28:"acc_title",29:"acc_title_value",30:"acc_descr",31:"acc_descr_value",32:"acc_descr_multiline_value",33:"section",35:"taskTxt",36:"taskData",37:"click",38:"callbackname",39:"callbackargs",40:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[34,2],[34,3],[34,3],[34,4],[34,3],[34,4],[34,2],[41,2],[41,3],[41,3],[41,4],[41,3],[41,4],[41,2]],performAction:function(xe,U,Be,Pe,je,Ie,Se){var Ce=Ie.length-1;switch(je){case 1:return Ie[Ce-1];case 2:this.$=[];break;case 3:Ie[Ce-1].push(Ie[Ce]),this.$=Ie[Ce-1];break;case 4:case 5:this.$=Ie[Ce];break;case 6:case 7:this.$=[];break;case 8:Pe.setWeekday("monday");break;case 9:Pe.setWeekday("tuesday");break;case 10:Pe.setWeekday("wednesday");break;case 11:Pe.setWeekday("thursday");break;case 12:Pe.setWeekday("friday");break;case 13:Pe.setWeekday("saturday");break;case 14:Pe.setWeekday("sunday");break;case 15:Pe.setDateFormat(Ie[Ce].substr(11)),this.$=Ie[Ce].substr(11);break;case 16:Pe.enableInclusiveEndDates(),this.$=Ie[Ce].substr(18);break;case 17:Pe.TopAxis(),this.$=Ie[Ce].substr(8);break;case 18:Pe.setAxisFormat(Ie[Ce].substr(11)),this.$=Ie[Ce].substr(11);break;case 19:Pe.setTickInterval(Ie[Ce].substr(13)),this.$=Ie[Ce].substr(13);break;case 20:Pe.setExcludes(Ie[Ce].substr(9)),this.$=Ie[Ce].substr(9);break;case 21:Pe.setIncludes(Ie[Ce].substr(9)),this.$=Ie[Ce].substr(9);break;case 22:Pe.setTodayMarker(Ie[Ce].substr(12)),this.$=Ie[Ce].substr(12);break;case 24:Pe.setDiagramTitle(Ie[Ce].substr(6)),this.$=Ie[Ce].substr(6);break;case 25:this.$=Ie[Ce].trim(),Pe.setAccTitle(this.$);break;case 26:case 27:this.$=Ie[Ce].trim(),Pe.setAccDescription(this.$);break;case 28:Pe.addSection(Ie[Ce].substr(8)),this.$=Ie[Ce].substr(8);break;case 30:Pe.addTask(Ie[Ce-1],Ie[Ce]),this.$="task";break;case 31:this.$=Ie[Ce-1],Pe.setClickEvent(Ie[Ce-1],Ie[Ce],null);break;case 32:this.$=Ie[Ce-2],Pe.setClickEvent(Ie[Ce-2],Ie[Ce-1],Ie[Ce]);break;case 33:this.$=Ie[Ce-2],Pe.setClickEvent(Ie[Ce-2],Ie[Ce-1],null),Pe.setLink(Ie[Ce-2],Ie[Ce]);break;case 34:this.$=Ie[Ce-3],Pe.setClickEvent(Ie[Ce-3],Ie[Ce-2],Ie[Ce-1]),Pe.setLink(Ie[Ce-3],Ie[Ce]);break;case 35:this.$=Ie[Ce-2],Pe.setClickEvent(Ie[Ce-2],Ie[Ce],null),Pe.setLink(Ie[Ce-2],Ie[Ce-1]);break;case 36:this.$=Ie[Ce-3],Pe.setClickEvent(Ie[Ce-3],Ie[Ce-1],Ie[Ce]),Pe.setLink(Ie[Ce-3],Ie[Ce-2]);break;case 37:this.$=Ie[Ce-1],Pe.setLink(Ie[Ce-1],Ie[Ce]);break;case 38:case 44:this.$=Ie[Ce-1]+" "+Ie[Ce];break;case 39:case 40:case 42:this.$=Ie[Ce-2]+" "+Ie[Ce-1]+" "+Ie[Ce];break;case 41:case 43:this.$=Ie[Ce-3]+" "+Ie[Ce-2]+" "+Ie[Ce-1]+" "+Ie[Ce];break}},table:[{3:1,4:[1,2]},{1:[3]},i(a,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:u,13:d,14:p,15:v,16:b,17:y,18:E,19:_,20:A,21:P,22:R,23:B,24:j,25:W,26:ee,27:ie,28:oe,30:be,32:ge,33:ae,34:23,35:ne,37:se},i(a,[2,7],{1:[2,1]}),i(a,[2,3]),{9:33,11:17,12:u,13:d,14:p,15:v,16:b,17:y,18:E,19:_,20:A,21:P,22:R,23:B,24:j,25:W,26:ee,27:ie,28:oe,30:be,32:ge,33:ae,34:23,35:ne,37:se},i(a,[2,5]),i(a,[2,6]),i(a,[2,15]),i(a,[2,16]),i(a,[2,17]),i(a,[2,18]),i(a,[2,19]),i(a,[2,20]),i(a,[2,21]),i(a,[2,22]),i(a,[2,23]),i(a,[2,24]),{29:[1,34]},{31:[1,35]},i(a,[2,27]),i(a,[2,28]),i(a,[2,29]),{36:[1,36]},i(a,[2,8]),i(a,[2,9]),i(a,[2,10]),i(a,[2,11]),i(a,[2,12]),i(a,[2,13]),i(a,[2,14]),{38:[1,37],40:[1,38]},i(a,[2,4]),i(a,[2,25]),i(a,[2,26]),i(a,[2,30]),i(a,[2,31],{39:[1,39],40:[1,40]}),i(a,[2,37],{38:[1,41]}),i(a,[2,32],{40:[1,42]}),i(a,[2,33]),i(a,[2,35],{39:[1,43]}),i(a,[2,34]),i(a,[2,36])],defaultActions:{},parseError:function(xe,U){if(U.recoverable)this.trace(xe);else{var Be=new Error(xe);throw Be.hash=U,Be}},parse:function(xe){var U=this,Be=[0],Pe=[],je=[null],Ie=[],Se=this.table,Ce="",ke=0,Ke=0,zt=2,Ne=1,pn=Ie.slice.call(arguments,1),Tt=Object.create(this.lexer),Et={yy:{}};for(var Wt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Wt)&&(Et.yy[Wt]=this.yy[Wt]);Tt.setInput(xe,Et.yy),Et.yy.lexer=Tt,Et.yy.parser=this,typeof Tt.yylloc>"u"&&(Tt.yylloc={});var un=Tt.yylloc;Ie.push(un);var yt=Tt.options&&Tt.options.ranges;typeof Et.yy.parseError=="function"?this.parseError=Et.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Bt(){var Hs;return Hs=Pe.pop()||Tt.lex()||Ne,typeof Hs!="number"&&(Hs instanceof Array&&(Pe=Hs,Hs=Pe.pop()),Hs=U.symbols_[Hs]||Hs),Hs}for(var Ze,Dt,kt,Nn,ht={},qr,xt,Ri,wi;;){if(Dt=Be[Be.length-1],this.defaultActions[Dt]?kt=this.defaultActions[Dt]:((Ze===null||typeof Ze>"u")&&(Ze=Bt()),kt=Se[Dt]&&Se[Dt][Ze]),typeof kt>"u"||!kt.length||!kt[0]){var ia="";wi=[];for(qr in Se[Dt])this.terminals_[qr]&&qr>zt&&wi.push("'"+this.terminals_[qr]+"'");Tt.showPosition?ia="Parse error on line "+(ke+1)+`: -`+Tt.showPosition()+` -Expecting `+wi.join(", ")+", got '"+(this.terminals_[Ze]||Ze)+"'":ia="Parse error on line "+(ke+1)+": Unexpected "+(Ze==Ne?"end of input":"'"+(this.terminals_[Ze]||Ze)+"'"),this.parseError(ia,{text:Tt.match,token:this.terminals_[Ze]||Ze,line:Tt.yylineno,loc:un,expected:wi})}if(kt[0]instanceof Array&&kt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Dt+", token: "+Ze);switch(kt[0]){case 1:Be.push(Ze),je.push(Tt.yytext),Ie.push(Tt.yylloc),Be.push(kt[1]),Ze=null,Ke=Tt.yyleng,Ce=Tt.yytext,ke=Tt.yylineno,un=Tt.yylloc;break;case 2:if(xt=this.productions_[kt[1]][1],ht.$=je[je.length-xt],ht._$={first_line:Ie[Ie.length-(xt||1)].first_line,last_line:Ie[Ie.length-1].last_line,first_column:Ie[Ie.length-(xt||1)].first_column,last_column:Ie[Ie.length-1].last_column},yt&&(ht._$.range=[Ie[Ie.length-(xt||1)].range[0],Ie[Ie.length-1].range[1]]),Nn=this.performAction.apply(ht,[Ce,Ke,ke,Et.yy,kt[1],je,Ie].concat(pn)),typeof Nn<"u")return Nn;xt&&(Be=Be.slice(0,-1*xt*2),je=je.slice(0,-1*xt),Ie=Ie.slice(0,-1*xt)),Be.push(this.productions_[kt[1]][0]),je.push(ht.$),Ie.push(ht._$),Ri=Se[Be[Be.length-2]][Be[Be.length-1]],Be.push(Ri);break;case 3:return!0}}return!0}},X=function(){var G={EOF:1,parseError:function(U,Be){if(this.yy.parser)this.yy.parser.parseError(U,Be);else throw new Error(U)},setInput:function(xe,U){return this.yy=U||this.yy||{},this._input=xe,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var xe=this._input[0];this.yytext+=xe,this.yyleng++,this.offset++,this.match+=xe,this.matched+=xe;var U=xe.match(/(?:\r\n?|\n).*/g);return U?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),xe},unput:function(xe){var U=xe.length,Be=xe.split(/(?:\r\n?|\n)/g);this._input=xe+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-U),this.offset-=U;var Pe=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),Be.length-1&&(this.yylineno-=Be.length-1);var je=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:Be?(Be.length===Pe.length?this.yylloc.first_column:0)+Pe[Pe.length-Be.length].length-Be[0].length:this.yylloc.first_column-U},this.options.ranges&&(this.yylloc.range=[je[0],je[0]+this.yyleng-U]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(xe){this.unput(this.match.slice(xe))},pastInput:function(){var xe=this.matched.substr(0,this.matched.length-this.match.length);return(xe.length>20?"...":"")+xe.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var xe=this.match;return xe.length<20&&(xe+=this._input.substr(0,20-xe.length)),(xe.substr(0,20)+(xe.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var xe=this.pastInput(),U=new Array(xe.length+1).join("-");return xe+this.upcomingInput()+` -`+U+"^"},test_match:function(xe,U){var Be,Pe,je;if(this.options.backtrack_lexer&&(je={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(je.yylloc.range=this.yylloc.range.slice(0))),Pe=xe[0].match(/(?:\r\n?|\n).*/g),Pe&&(this.yylineno+=Pe.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Pe?Pe[Pe.length-1].length-Pe[Pe.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+xe[0].length},this.yytext+=xe[0],this.match+=xe[0],this.matches=xe,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(xe[0].length),this.matched+=xe[0],Be=this.performAction.call(this,this.yy,this,U,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Be)return Be;if(this._backtrack){for(var Ie in je)this[Ie]=je[Ie];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var xe,U,Be,Pe;this._more||(this.yytext="",this.match="");for(var je=this._currentRules(),Ie=0;IeU[0].length)){if(U=Be,Pe=Ie,this.options.backtrack_lexer){if(xe=this.test_match(Be,je[Ie]),xe!==!1)return xe;if(this._backtrack){U=!1;continue}else return!1}else if(!this.options.flex)break}return U?(xe=this.test_match(U,je[Pe]),xe!==!1?xe:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var U=this.next();return U||this.lex()},begin:function(U){this.conditionStack.push(U)},popState:function(){var U=this.conditionStack.length-1;return U>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(U){return U=this.conditionStack.length-1-Math.abs(U||0),U>=0?this.conditionStack[U]:"INITIAL"},pushState:function(U){this.begin(U)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(U,Be,Pe,je){switch(Pe){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),28;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),30;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:break;case 9:break;case 10:break;case 11:return 10;case 12:break;case 13:break;case 14:this.begin("href");break;case 15:this.popState();break;case 16:return 40;case 17:this.begin("callbackname");break;case 18:this.popState();break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 38;case 21:this.popState();break;case 22:return 39;case 23:this.begin("click");break;case 24:this.popState();break;case 25:return 37;case 26:return 4;case 27:return 19;case 28:return 20;case 29:return 21;case 30:return 22;case 31:return 23;case 32:return 25;case 33:return 24;case 34:return 26;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return"date";case 43:return 27;case 44:return"accDescription";case 45:return 33;case 46:return 35;case 47:return 36;case 48:return":";case 49:return 6;case 50:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],inclusive:!0}}};return G}();de.lexer=X;function pe(){this.yy={}}return pe.prototype=de,de.Parser=pe,new pe}();dve.parser=dve;const Wtn=dve;var CGe={exports:{}};(function(i,a){(function(u,d){i.exports=d()})(Dg,function(){var u="day";return function(d,p,v){var b=function(_){return _.add(4-_.isoWeekday(),u)},y=p.prototype;y.isoWeekYear=function(){return b(this).year()},y.isoWeek=function(_){if(!this.$utils().u(_))return this.add(7*(_-this.isoWeek()),u);var A,P,R,B,j=b(this),W=(A=this.isoWeekYear(),P=this.$u,R=(P?v.utc:v)().year(A).startOf("year"),B=4-R.isoWeekday(),R.isoWeekday()>4&&(B+=7),R.add(B,u));return j.diff(W,"week")+1},y.isoWeekday=function(_){return this.$utils().u(_)?this.day()||7:this.day(this.day()%7?_:_-7)};var E=y.startOf;y.startOf=function(_,A){var P=this.$utils(),R=!!P.u(A)||A;return P.p(_)==="isoweek"?R?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):E.bind(this)(_,A)}}})})(CGe);var Ytn=CGe.exports;const Xtn=dC(Ytn);var SGe={exports:{}};(function(i,a){(function(u,d){i.exports=d()})(Dg,function(){var u={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},d=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,p=/\d\d/,v=/\d\d?/,b=/\d*[^-_:/,()\s\d]+/,y={},E=function(W){return(W=+W)+(W>68?1900:2e3)},_=function(W){return function(ee){this[W]=+ee}},A=[/[+-]\d\d:?(\d\d)?|Z/,function(W){(this.zone||(this.zone={})).offset=function(ee){if(!ee||ee==="Z")return 0;var ie=ee.match(/([+-]|\d\d)/g),oe=60*ie[1]+(+ie[2]||0);return oe===0?0:ie[0]==="+"?-oe:oe}(W)}],P=function(W){var ee=y[W];return ee&&(ee.indexOf?ee:ee.s.concat(ee.f))},R=function(W,ee){var ie,oe=y.meridiem;if(oe){for(var be=1;be<=24;be+=1)if(W.indexOf(oe(be,0,ee))>-1){ie=be>12;break}}else ie=W===(ee?"pm":"PM");return ie},B={A:[b,function(W){this.afternoon=R(W,!1)}],a:[b,function(W){this.afternoon=R(W,!0)}],S:[/\d/,function(W){this.milliseconds=100*+W}],SS:[p,function(W){this.milliseconds=10*+W}],SSS:[/\d{3}/,function(W){this.milliseconds=+W}],s:[v,_("seconds")],ss:[v,_("seconds")],m:[v,_("minutes")],mm:[v,_("minutes")],H:[v,_("hours")],h:[v,_("hours")],HH:[v,_("hours")],hh:[v,_("hours")],D:[v,_("day")],DD:[p,_("day")],Do:[b,function(W){var ee=y.ordinal,ie=W.match(/\d+/);if(this.day=ie[0],ee)for(var oe=1;oe<=31;oe+=1)ee(oe).replace(/\[|\]/g,"")===W&&(this.day=oe)}],M:[v,_("month")],MM:[p,_("month")],MMM:[b,function(W){var ee=P("months"),ie=(P("monthsShort")||ee.map(function(oe){return oe.slice(0,3)})).indexOf(W)+1;if(ie<1)throw new Error;this.month=ie%12||ie}],MMMM:[b,function(W){var ee=P("months").indexOf(W)+1;if(ee<1)throw new Error;this.month=ee%12||ee}],Y:[/[+-]?\d+/,_("year")],YY:[p,function(W){this.year=E(W)}],YYYY:[/\d{4}/,_("year")],Z:A,ZZ:A};function j(W){var ee,ie;ee=W,ie=y&&y.formats;for(var oe=(W=ee.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(X,pe,G){var xe=G&&G.toUpperCase();return pe||ie[G]||u[G]||ie[xe].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(U,Be,Pe){return Be||Pe.slice(1)})})).match(d),be=oe.length,ge=0;ge-1)return new Date((Ie==="X"?1e3:1)*je);var Ce=j(Ie)(je),ke=Ce.year,Ke=Ce.month,zt=Ce.day,Ne=Ce.hours,pn=Ce.minutes,Tt=Ce.seconds,Et=Ce.milliseconds,Wt=Ce.zone,un=new Date,yt=zt||(ke||Ke?1:un.getDate()),Bt=ke||un.getFullYear(),Ze=0;ke&&!Ke||(Ze=Ke>0?Ke-1:un.getMonth());var Dt=Ne||0,kt=pn||0,Nn=Tt||0,ht=Et||0;return Wt?new Date(Date.UTC(Bt,Ze,yt,Dt,kt,Nn,ht+60*Wt.offset*1e3)):Se?new Date(Date.UTC(Bt,Ze,yt,Dt,kt,Nn,ht)):new Date(Bt,Ze,yt,Dt,kt,Nn,ht)}catch{return new Date("")}}(ae,de,ne),this.init(),xe&&xe!==!0&&(this.$L=this.locale(xe).$L),G&&ae!=this.format(de)&&(this.$d=new Date("")),y={}}else if(de instanceof Array)for(var U=de.length,Be=1;Be<=U;Be+=1){se[1]=de[Be-1];var Pe=ie.apply(this,se);if(Pe.isValid()){this.$d=Pe.$d,this.$L=Pe.$L,this.init();break}Be===U&&(this.$d=new Date(""))}else be.call(this,ge)}}})})(SGe);var Qtn=SGe.exports;const Jtn=dC(Qtn);var _Ge={exports:{}};(function(i,a){(function(u,d){i.exports=d()})(Dg,function(){return function(u,d){var p=d.prototype,v=p.format;p.format=function(b){var y=this,E=this.$locale();if(!this.isValid())return v.bind(this)(b);var _=this.$utils(),A=(b||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(P){switch(P){case"Q":return Math.ceil((y.$M+1)/3);case"Do":return E.ordinal(y.$D);case"gggg":return y.weekYear();case"GGGG":return y.isoWeekYear();case"wo":return E.ordinal(y.week(),"W");case"w":case"ww":return _.s(y.week(),P==="w"?1:2,"0");case"W":case"WW":return _.s(y.isoWeek(),P==="W"?1:2,"0");case"k":case"kk":return _.s(String(y.$H===0?24:y.$H),P==="k"?1:2,"0");case"X":return Math.floor(y.$d.getTime()/1e3);case"x":return y.$d.getTime();case"z":return"["+y.offsetName()+"]";case"zzz":return"["+y.offsetName("long")+"]";default:return P}});return v.bind(this)(A)}}})})(_Ge);var Ztn=_Ge.exports;const enn=dC(Ztn);Ig.extend(Xtn),Ig.extend(Jtn),Ig.extend(enn);let a5="",gve="",pve,bve="",VR=[],GR=[],mve={},vve=[],TJ=[],eI="",wve="";const AGe=["active","done","crit","milestone"];let yve=[],KR=!1,xve=!1,kve="sunday",Tve=0;const tnn=function(){vve=[],TJ=[],eI="",yve=[],EJ=0,Cve=void 0,CJ=void 0,m1=[],a5="",gve="",wve="",pve=void 0,bve="",VR=[],GR=[],KR=!1,xve=!1,Tve=0,mve={},Rg(),kve="sunday"},nnn=function(i){gve=i},rnn=function(){return gve},inn=function(i){pve=i},snn=function(){return pve},ann=function(i){bve=i},onn=function(){return bve},cnn=function(i){a5=i},unn=function(){KR=!0},lnn=function(){return KR},hnn=function(){xve=!0},fnn=function(){return xve},dnn=function(i){wve=i},gnn=function(){return wve},pnn=function(){return a5},bnn=function(i){VR=i.toLowerCase().split(/[\s,]+/)},mnn=function(){return VR},vnn=function(i){GR=i.toLowerCase().split(/[\s,]+/)},wnn=function(){return GR},ynn=function(){return mve},xnn=function(i){eI=i,vve.push(i)},knn=function(){return vve},Tnn=function(){let i=NGe();const a=10;let u=0;for(;!i&&u=6&&u.includes("weekends")||u.includes(i.format("dddd").toLowerCase())?!0:u.includes(i.format(a.trim()))},Enn=function(i){kve=i},Cnn=function(){return kve},MGe=function(i,a,u,d){if(!u.length||i.manualEndTime)return;let p;i.startTime instanceof Date?p=Ig(i.startTime):p=Ig(i.startTime,a,!0),p=p.add(1,"d");let v;i.endTime instanceof Date?v=Ig(i.endTime):v=Ig(i.endTime,a,!0);const[b,y]=Snn(p,v,a,u,d);i.endTime=b.toDate(),i.renderEndTime=y},Snn=function(i,a,u,d,p){let v=!1,b=null;const y=a.add(1e4,"d");for(;i<=a;){if(v||(b=a.toDate()),v=LGe(i,u,d,p),v&&(a=a.add(1,"d"),a>y))throw new Error("Failed to find a valid date that was not excluded by `excludes` after 10,000 iterations.");i=i.add(1,"d")}return[a,b]},Eve=function(i,a,u){u=u.trim();const p=/^after\s+(?[\d\w- ]+)/.exec(u);if(p!==null){let b=null;for(const E of p.groups.ids.split(" ")){let _=JC(E);_!==void 0&&(!b||_.endTime>b.endTime)&&(b=_)}if(b)return b.endTime;const y=new Date;return y.setHours(0,0,0,0),y}let v=Ig(u,a.trim(),!0);if(v.isValid())return v.toDate();{Xe.debug("Invalid date:"+u),Xe.debug("With date format:"+a.trim());const b=new Date(u);if(b===void 0||isNaN(b.getTime())||b.getFullYear()<-1e4||b.getFullYear()>1e4)throw new Error("Invalid date:"+u);return b}},DGe=function(i){const a=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(i.trim());return a!==null?[Number.parseFloat(a[1]),a[2]]:[NaN,"ms"]},IGe=function(i,a,u,d=!1){u=u.trim();const v=/^until\s+(?[\d\w- ]+)/.exec(u);if(v!==null){let A=null;for(const R of v.groups.ids.split(" ")){let B=JC(R);B!==void 0&&(!A||B.startTime{window.open(u,"_self")}),mve[d]=u)}),PGe(i,"clickable")},PGe=function(i,a){i.split(",").forEach(function(u){let d=JC(u);d!==void 0&&d.classes.push(a)})},Inn=function(i,a,u){if(qt().securityLevel!=="loose"||a===void 0)return;let d=[];if(typeof u=="string"){d=u.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let v=0;v{So.runFunc(a,...d)})},BGe=function(i,a){yve.push(function(){const u=document.querySelector(`[id="${i}"]`);u!==null&&u.addEventListener("click",function(){a()})},function(){const u=document.querySelector(`[id="${i}-text"]`);u!==null&&u.addEventListener("click",function(){a()})})},Onn={getConfig:()=>qt().gantt,clear:tnn,setDateFormat:cnn,getDateFormat:pnn,enableInclusiveEndDates:unn,endDatesAreInclusive:lnn,enableTopAxis:hnn,topAxisEnabled:fnn,setAxisFormat:nnn,getAxisFormat:rnn,setTickInterval:inn,getTickInterval:snn,setTodayMarker:ann,getTodayMarker:onn,setAccTitle:jg,getAccTitle:Mp,setDiagramTitle:pm,getDiagramTitle:Op,setDisplayMode:dnn,getDisplayMode:gnn,setAccDescription:Dp,getAccDescription:Ip,addSection:xnn,getSections:knn,getTasks:Tnn,addTask:Lnn,findTaskById:JC,addTaskOrg:Mnn,setIncludes:bnn,getIncludes:mnn,setExcludes:vnn,getExcludes:wnn,setClickEvent:function(i,a,u){i.split(",").forEach(function(d){Inn(d,a,u)}),PGe(i,"clickable")},setLink:Dnn,getLinks:ynn,bindFunctions:function(i){yve.forEach(function(a){a(i)})},parseDuration:DGe,isInvalidDate:LGe,setWeekday:Enn,getWeekday:Cnn};function FGe(i,a,u){let d=!0;for(;d;)d=!1,u.forEach(function(p){const v="^\\s*"+p+"\\s*$",b=new RegExp(v);i[0].match(b)&&(a[p]=!0,i.shift(1),d=!0)})}const Nnn=function(){Xe.debug("Something is calling, setConf, remove the call")},RGe={monday:jF,tuesday:jFe,wednesday:$Fe,thursday:kC,friday:zFe,saturday:qFe,sunday:RF},Pnn=(i,a)=>{let u=[...i].map(()=>-1/0),d=[...i].sort((v,b)=>v.startTime-b.startTime||v.order-b.order),p=0;for(const v of d)for(let b=0;b=u[b]){u[b]=v.endTime,v.order=b+a,b>p&&(p=b);break}return p};let V7;const Bnn=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:Wtn,db:Onn,renderer:{setConf:Nnn,draw:function(i,a,u,d){const p=qt().gantt,v=qt().securityLevel;let b;v==="sandbox"&&(b=Dr("#i"+a));const y=Dr(v==="sandbox"?b.nodes()[0].contentDocument.body:"body"),E=v==="sandbox"?b.nodes()[0].contentDocument:document,_=E.getElementById(a);V7=_.parentElement.offsetWidth,V7===void 0&&(V7=1200),p.useWidth!==void 0&&(V7=p.useWidth);const A=d.db.getTasks();let P=[];for(const de of A)P.push(de.type);P=se(P);const R={};let B=2*p.topPadding;if(d.db.getDisplayMode()==="compact"||p.displayMode==="compact"){const de={};for(const pe of A)de[pe.section]===void 0?de[pe.section]=[pe]:de[pe.section].push(pe);let X=0;for(const pe of Object.keys(de)){const G=Pnn(de[pe],X)+1;X+=G,B+=G*(p.barHeight+p.barGap),R[pe]=G}}else{B+=A.length*(p.barHeight+p.barGap);for(const de of P)R[de]=A.filter(X=>X.type===de).length}_.setAttribute("viewBox","0 0 "+V7+" "+B);const j=y.select(`[id="${a}"]`),W=zNt().domain([TLt(A,function(de){return de.startTime}),kLt(A,function(de){return de.endTime})]).rangeRound([0,V7-p.leftPadding-p.rightPadding]);function ee(de,X){const pe=de.startTime,G=X.startTime;let xe=0;return pe>G?xe=1:peke.order))].map(ke=>de.find(Ke=>Ke.order===ke));j.append("g").selectAll("rect").data(je).enter().append("rect").attr("x",0).attr("y",function(ke,Ke){return Ke=ke.order,Ke*X+pe-2}).attr("width",function(){return Be-p.rightPadding/2}).attr("height",X).attr("class",function(ke){for(const[Ke,zt]of P.entries())if(ke.type===zt)return"section section"+Ke%p.numberSectionStyles;return"section section0"});const Ie=j.append("g").selectAll("rect").data(de).enter(),Se=d.db.getLinks();if(Ie.append("rect").attr("id",function(ke){return ke.id}).attr("rx",3).attr("ry",3).attr("x",function(ke){return ke.milestone?W(ke.startTime)+G+.5*(W(ke.endTime)-W(ke.startTime))-.5*xe:W(ke.startTime)+G}).attr("y",function(ke,Ke){return Ke=ke.order,Ke*X+pe}).attr("width",function(ke){return ke.milestone?xe:W(ke.renderEndTime||ke.endTime)-W(ke.startTime)}).attr("height",xe).attr("transform-origin",function(ke,Ke){return Ke=ke.order,(W(ke.startTime)+G+.5*(W(ke.endTime)-W(ke.startTime))).toString()+"px "+(Ke*X+pe+.5*xe).toString()+"px"}).attr("class",function(ke){const Ke="task";let zt="";ke.classes.length>0&&(zt=ke.classes.join(" "));let Ne=0;for(const[Tt,Et]of P.entries())ke.type===Et&&(Ne=Tt%p.numberSectionStyles);let pn="";return ke.active?ke.crit?pn+=" activeCrit":pn=" active":ke.done?ke.crit?pn=" doneCrit":pn=" done":ke.crit&&(pn+=" crit"),pn.length===0&&(pn=" task"),ke.milestone&&(pn=" milestone "+pn),pn+=Ne,pn+=" "+zt,Ke+pn}),Ie.append("text").attr("id",function(ke){return ke.id+"-text"}).text(function(ke){return ke.task}).attr("font-size",p.fontSize).attr("x",function(ke){let Ke=W(ke.startTime),zt=W(ke.renderEndTime||ke.endTime);ke.milestone&&(Ke+=.5*(W(ke.endTime)-W(ke.startTime))-.5*xe),ke.milestone&&(zt=Ke+xe);const Ne=this.getBBox().width;return Ne>zt-Ke?zt+Ne+1.5*p.leftPadding>Be?Ke+G-5:zt+G+5:(zt-Ke)/2+Ke+G}).attr("y",function(ke,Ke){return Ke=ke.order,Ke*X+p.barHeight/2+(p.fontSize/2-2)+pe}).attr("text-height",xe).attr("class",function(ke){const Ke=W(ke.startTime);let zt=W(ke.endTime);ke.milestone&&(zt=Ke+xe);const Ne=this.getBBox().width;let pn="";ke.classes.length>0&&(pn=ke.classes.join(" "));let Tt=0;for(const[Wt,un]of P.entries())ke.type===un&&(Tt=Wt%p.numberSectionStyles);let Et="";return ke.active&&(ke.crit?Et="activeCritText"+Tt:Et="activeText"+Tt),ke.done?ke.crit?Et=Et+" doneCritText"+Tt:Et=Et+" doneText"+Tt:ke.crit&&(Et=Et+" critText"+Tt),ke.milestone&&(Et+=" milestoneText"),Ne>zt-Ke?zt+Ne+1.5*p.leftPadding>Be?pn+" taskTextOutsideLeft taskTextOutside"+Tt+" "+Et:pn+" taskTextOutsideRight taskTextOutside"+Tt+" "+Et+" width-"+Ne:pn+" taskText taskText"+Tt+" "+Et+" width-"+Ne}),qt().securityLevel==="sandbox"){let ke;ke=Dr("#i"+a);const Ke=ke.nodes()[0].contentDocument;Ie.filter(function(zt){return Se[zt.id]!==void 0}).each(function(zt){var Ne=Ke.querySelector("#"+zt.id),pn=Ke.querySelector("#"+zt.id+"-text");const Tt=Ne.parentNode;var Et=Ke.createElement("a");Et.setAttribute("xlink:href",Se[zt.id]),Et.setAttribute("target","_top"),Tt.appendChild(Et),Et.appendChild(Ne),Et.appendChild(pn)})}}function be(de,X,pe,G,xe,U,Be,Pe){if(Be.length===0&&Pe.length===0)return;let je,Ie;for(const{startTime:Ne,endTime:pn}of U)(je===void 0||NeIe)&&(Ie=pn);if(!je||!Ie)return;if(Ig(Ie).diff(Ig(je),"year")>5){Xe.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}const Se=d.db.getDateFormat(),Ce=[];let ke=null,Ke=Ig(je);for(;Ke.valueOf()<=Ie;)d.db.isInvalidDate(Ke,Se,Be,Pe)?ke?ke.end=Ke:ke={start:Ke,end:Ke}:ke&&(Ce.push(ke),ke=null),Ke=Ke.add(1,"d");j.append("g").selectAll("rect").data(Ce).enter().append("rect").attr("id",function(Ne){return"exclude-"+Ne.start.format("YYYY-MM-DD")}).attr("x",function(Ne){return W(Ne.start)+pe}).attr("y",p.gridLineStartPadding).attr("width",function(Ne){const pn=Ne.end.add(1,"day");return W(pn)-W(Ne.start)}).attr("height",xe-X-p.gridLineStartPadding).attr("transform-origin",function(Ne,pn){return(W(Ne.start)+pe+.5*(W(Ne.end)-W(Ne.start))).toString()+"px "+(pn*de+.5*xe).toString()+"px"}).attr("class","exclude-range")}function ge(de,X,pe,G){let xe=ILt(W).tickSize(-G+X+p.gridLineStartPadding).tickFormat(dX(d.db.getAxisFormat()||p.axisFormat||"%Y-%m-%d"));const Be=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(d.db.getTickInterval()||p.tickInterval);if(Be!==null){const Pe=Be[1],je=Be[2],Ie=d.db.getWeekday()||p.weekday;switch(je){case"millisecond":xe.ticks(oD.every(Pe));break;case"second":xe.ticks(m9.every(Pe));break;case"minute":xe.ticks(BF.every(Pe));break;case"hour":xe.ticks(FF.every(Pe));break;case"day":xe.ticks(yC.every(Pe));break;case"week":xe.ticks(RGe[Ie].every(Pe));break;case"month":xe.ticks($F.every(Pe));break}}if(j.append("g").attr("class","grid").attr("transform","translate("+de+", "+(G-50)+")").call(xe).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),d.db.topAxisEnabled()||p.topAxis){let Pe=DLt(W).tickSize(-G+X+p.gridLineStartPadding).tickFormat(dX(d.db.getAxisFormat()||p.axisFormat||"%Y-%m-%d"));if(Be!==null){const je=Be[1],Ie=Be[2],Se=d.db.getWeekday()||p.weekday;switch(Ie){case"millisecond":Pe.ticks(oD.every(je));break;case"second":Pe.ticks(m9.every(je));break;case"minute":Pe.ticks(BF.every(je));break;case"hour":Pe.ticks(FF.every(je));break;case"day":Pe.ticks(yC.every(je));break;case"week":Pe.ticks(RGe[Se].every(je));break;case"month":Pe.ticks($F.every(je));break}}j.append("g").attr("class","grid").attr("transform","translate("+de+", "+X+")").call(Pe).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}function ae(de,X){let pe=0;const G=Object.keys(R).map(xe=>[xe,R[xe]]);j.append("g").selectAll("text").data(G).enter().append(function(xe){const U=xe[0].split(oi.lineBreakRegex),Be=-(U.length-1)/2,Pe=E.createElementNS("http://www.w3.org/2000/svg","text");Pe.setAttribute("dy",Be+"em");for(const[je,Ie]of U.entries()){const Se=E.createElementNS("http://www.w3.org/2000/svg","tspan");Se.setAttribute("alignment-baseline","central"),Se.setAttribute("x","10"),je>0&&Se.setAttribute("dy","1em"),Se.textContent=Ie,Pe.appendChild(Se)}return Pe}).attr("x",10).attr("y",function(xe,U){if(U>0)for(let Be=0;Be` - .mermaid-main-font { - font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + .rough-node .label,.node .label, .image-shape .label, .icon-shape .label { + text-align: center; + } + .node.clickable { + cursor: pointer; } - .exclude-range { - fill: ${i.excludeBkgColor}; + + .root .anchor path { + fill: ${t.lineColor} !important; + stroke-width: 0; + stroke: ${t.lineColor}; } - .section { - stroke: none; - opacity: 0.2; + .arrowheadPath { + fill: ${t.arrowheadColor}; } - .section0 { - fill: ${i.sectionBkgColor}; + .edgePaths .path { + stroke: ${t.lineColor}; + stroke-width: ${t.strokeWidth??2}px; } - .section2 { - fill: ${i.sectionBkgColor2}; + .flowchart-link { + stroke: ${t.lineColor}; + fill: none; } - .section1, - .section3 { - fill: ${i.altSectionBkgColor}; - opacity: 0.2; + .edgeLabel { + background-color: ${t.edgeLabelBackground}; + p { + background-color: ${t.edgeLabelBackground}; + } + rect { + opacity: 0.5; + background-color: ${t.edgeLabelBackground}; + fill: ${t.edgeLabelBackground}; + } + text-align: center; } - .sectionTitle0 { - fill: ${i.titleColor}; + /* For html labels only */ + .labelBkg { + background-color: ${JJn(t.edgeLabelBackground,.5)}; } - .sectionTitle1 { - fill: ${i.titleColor}; + .cluster rect { + fill: ${t.clusterBkg}; + stroke: ${t.clusterBorder}; + stroke-width: 1px; } - .sectionTitle2 { - fill: ${i.titleColor}; + .flow-cluster rect { + fill: none; + stroke: ${t.clusterBorder}; + stroke-width: 0.75px; } - .sectionTitle3 { - fill: ${i.titleColor}; + .node .collapsed-indicator { + fill: ${t.nodeBorder}; + stroke: none; + stroke-width: 0; + opacity: 0.5; } - .sectionTitle { - text-anchor: start; - font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + .node .collapsed-separator { + stroke-width: 0.75px; } + .cluster text { + fill: ${t.titleColor}; + } - /* Grid and axis */ + .cluster span { + color: ${t.titleColor}; + } + /* .cluster div { + color: ${t.titleColor}; + } */ - .grid .tick { - stroke: ${i.gridColor}; - opacity: 0.8; - shape-rendering: crispEdges; + div.mermaidTooltip { + position: absolute; + text-align: center; + max-width: 200px; + padding: 2px; + font-family: ${t.fontFamily}; + font-size: 12px; + background: ${t.tertiaryColor}; + border: 1px solid ${t.border2}; + border-radius: 2px; + pointer-events: none; + z-index: 100; } - .grid .tick text { - font-family: ${i.fontFamily}; - fill: ${i.textColor}; + .agentflowTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${t.textColor}; } - .grid path { + rect.text { + fill: none; stroke-width: 0; } + .icon-shape, .image-shape { + background-color: ${t.edgeLabelBackground}; + p { + background-color: ${t.edgeLabelBackground}; + padding: 2px; + } + .label rect { + opacity: 0.5; + background-color: ${t.edgeLabelBackground}; + fill: ${t.edgeLabelBackground}; + } + text-align: center; + } + ${uk()} +`,"getStyles"),Y8r=ZJn});var X8r={};cs(X8r,{diagram:()=>eZn});var eZn,Q8r=ie(()=>{"use strict";ma();j8r();U8r();W8r();K8r();eZn={parser:q8r,get db(){return new xTe},renderer:z8r,styles:Y8r,init:i(t=>{t.agentflow??={},t.layout&&X6({layout:t.layout}),t.flowchart??={},t.flowchart.arrowMarkerAbsolute=t.arrowMarkerAbsolute,X6({flowchart:{arrowMarkerAbsolute:t.arrowMarkerAbsolute}})},"init")}});var iZn,e7r,t7r=ie(()=>{"use strict";fnt();iZn=i(t=>`${bTe(t)} + .swimlane.cluster:not([data-color-id]) rect { + stroke: ${t.clusterBorder} !important; + } + [data-look="neo"].cluster rect { + filter: none; + } +`,"getStyles"),e7r=iZn});var r7r={};cs(r7r,{diagram:()=>aZn});var aZn,n7r=ie(()=>{"use strict";wTe();t7r();aZn=vTe({styles:e7r})});var Tnt,s7r,o7r=ie(()=>{"use strict";Tnt=(function(){var t=i(function(bt,Me,Fe,je){for(Fe=Fe||{},je=bt.length;je--;Fe[bt[je]]=Me);return Fe},"o"),r=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],a=[2,2],o=[1,7],l=[1,9],h=[1,10],f=[1,11],p=[1,12],m=[1,30],b=[1,23],v=[1,24],T=[1,25],C=[1,26],E=[1,27],S=[1,19],R=[1,28],L=[1,29],_=[1,20],M=[1,18],I=[1,21],F=[1,22],O=[2,6],P=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],G=[1,36],V=[1,37],Y=[1,38],K=[1,39],J=[1,40],H=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],q=[1,46],Z=[1,47],Q=[1,57],W=[43,51,53,54,55,74,75],te=[1,70],z=[1,68],re=[1,65],ae=[1,69],ce=[1,71],le=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],de=[1,78],ve=[1,77],Se=[1,76],_e=[69,70,71,72,73],Ce=[1,91],Ve=[6,9,45,50],De=[6,9,12,44,45,50,51,52],qe=[1,101],Ue=[1,100],We=[1,99],mt=[18,61],ct=[1,110],Ot=[1,109],yr=[20,43,51,53,54,55],tr=[18,61,64,66],Xe={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:i(function(Me,Fe,je,He,nt,ze,se){var ke=ze.length-1;switch(nt){case 1:break;case 2:this.$=[];break;case 3:this.$=ze[ke-1].concat(ze[ke]);break;case 4:this.$=ze[ke];break;case 5:case 6:this.$=[];break;case 7:He.addEntity(ze[ke-4]),He.addEntity(ze[ke-2]),He.addRelationship(ze[ke-4],ze[ke],ze[ke-2],ze[ke-3]),this.$=[ze[ke-4],ze[ke-2]];break;case 8:He.addEntity(ze[ke-8]),He.addEntity(ze[ke-4]),He.addRelationship(ze[ke-8],ze[ke],ze[ke-4],ze[ke-5]),He.setClass([ze[ke-8]],ze[ke-6]),He.setClass([ze[ke-4]],ze[ke-2]),this.$=[ze[ke-8],ze[ke-4]];break;case 9:He.addEntity(ze[ke-6]),He.addEntity(ze[ke-2]),He.addRelationship(ze[ke-6],ze[ke],ze[ke-2],ze[ke-3]),He.setClass([ze[ke-6]],ze[ke-4]),this.$=[ze[ke-6],ze[ke-2]];break;case 10:He.addEntity(ze[ke-6]),He.addEntity(ze[ke-4]),He.addRelationship(ze[ke-6],ze[ke],ze[ke-4],ze[ke-5]),He.setClass([ze[ke-4]],ze[ke-2]),this.$=[ze[ke-6],ze[ke-4]];break;case 11:He.addEntity(ze[ke-3]),He.addAttributes(ze[ke-3],ze[ke-1]),this.$=[ze[ke-3]];break;case 12:He.addEntity(ze[ke-5]),He.addAttributes(ze[ke-5],ze[ke-1]),He.setClass([ze[ke-5]],ze[ke-3]),this.$=[ze[ke-5]];break;case 13:He.addEntity(ze[ke-2]),this.$=[ze[ke-2]];break;case 14:He.addEntity(ze[ke-4]),He.setClass([ze[ke-4]],ze[ke-2]),this.$=[ze[ke-4]];break;case 15:He.addEntity(ze[ke]),this.$=[ze[ke]];break;case 16:He.addEntity(ze[ke-2]),He.setClass([ze[ke-2]],ze[ke]),this.$=[ze[ke-2]];break;case 17:He.addEntity(ze[ke-6],ze[ke-4]),He.addAttributes(ze[ke-6],ze[ke-1]),this.$=[ze[ke-6]];break;case 18:He.addEntity(ze[ke-8],ze[ke-6]),He.addAttributes(ze[ke-8],ze[ke-1]),He.setClass([ze[ke-8]],ze[ke-3]),this.$=[ze[ke-8]];break;case 19:He.addEntity(ze[ke-5],ze[ke-3]),this.$=[ze[ke-5]];break;case 20:He.addEntity(ze[ke-7],ze[ke-5]),He.setClass([ze[ke-7]],ze[ke-2]),this.$=[ze[ke-7]];break;case 21:He.addEntity(ze[ke-3],ze[ke-1]);break;case 22:He.addEntity(ze[ke-5],ze[ke-3]),He.setClass([ze[ke-5]],ze[ke]);break;case 23:case 24:this.$=ze[ke].trim(),He.setAccTitle(this.$);break;case 25:case 26:this.$=ze[ke].trim(),He.setAccDescription(this.$);break;case 27:He.subgraphDepth?this.$=ze[ke]:(He.setDirection(ze[ke].value),this.$=[]);break;case 31:He.subgraphDepth=(He.subgraphDepth||1)-1,this.$=He.addSubGraph({text:ze[ke-2].id},ze[ke-1],{text:ze[ke-2].text});break;case 32:He.subgraphDepth=(He.subgraphDepth||0)+1,this.$={id:ze[ke-1],text:ze[ke-1]};break;case 33:He.subgraphDepth=(He.subgraphDepth||0)+1,this.$={id:ze[ke-4],text:ze[ke-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=ze[ke];break;case 35:this.$=ze[ke-1]+" "+ze[ke];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=ze[ke-3],He.addClass(ze[ke-2],ze[ke-1]);break;case 41:case 42:case 63:case 72:this.$=[ze[ke]];break;case 43:case 44:this.$=ze[ke-2].concat([ze[ke]]);break;case 45:this.$=ze[ke-2],He.setClass(ze[ke-1],ze[ke]);break;case 46:this.$=ze[ke-3],He.addCssStyles(ze[ke-2],ze[ke-1]);break;case 47:this.$=[ze[ke]];break;case 48:ze[ke-2].push(ze[ke]),this.$=ze[ke-2];break;case 50:this.$=ze[ke-1]+ze[ke];break;case 58:case 84:case 85:this.$=ze[ke].replace(/"/g,"");break;case 64:ze[ke].push(ze[ke-1]),this.$=ze[ke];break;case 65:this.$={type:ze[ke-1],name:ze[ke]};break;case 66:this.$={type:ze[ke-2],name:ze[ke-1],keys:ze[ke]};break;case 67:this.$={type:ze[ke-2],name:ze[ke-1],comment:ze[ke]};break;case 68:this.$={type:ze[ke-3],name:ze[ke-2],keys:ze[ke-1],comment:ze[ke]};break;case 69:case 71:case 74:this.$=ze[ke];break;case 70:this.$=ze[ke-1]+ze[ke];break;case 73:ze[ke-2].push(ze[ke]),this.$=ze[ke-2];break;case 75:this.$=ze[ke].replace(/"/g,"");break;case 76:this.$={cardA:ze[ke],relType:ze[ke-1],cardB:ze[ke-2]};break;case 77:this.$=He.Cardinality.ZERO_OR_ONE;break;case 78:this.$=He.Cardinality.ZERO_OR_MORE;break;case 79:this.$=He.Cardinality.ONE_OR_MORE;break;case 80:this.$=He.Cardinality.ONLY_ONE;break;case 81:this.$=He.Cardinality.MD_PARENT;break;case 82:this.$=He.Identification.NON_IDENTIFYING;break;case 83:this.$=He.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(r,a,{5:3}),{6:[1,4],7:5,8:6,9:o,10:8,21:l,23:h,25:f,27:p,28:13,29:14,30:15,31:16,32:17,34:m,37:b,38:v,39:T,40:C,41:E,43:S,46:R,47:L,51:_,53:M,54:I,55:F},t(r,O,{1:[2,1]}),t(P,[2,3]),t(P,[2,4]),t(P,[2,5]),t(P,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:G,70:V,71:Y,72:K,73:J}),{22:[1,41]},{24:[1,42]},{26:[1,43]},t(P,[2,26]),t(P,[2,27]),t(P,[2,28]),t(P,[2,29]),t(P,[2,30]),t(P,a,{5:44}),t(H,[2,58]),t(H,[2,59]),t(H,[2,60]),t(H,[2,61]),t(H,[2,62]),t(P,[2,36]),t(P,[2,37]),t(P,[2,38]),t(P,[2,39]),{15:45,43:q,44:Z},{15:48,43:q,44:Z},{15:49,43:q,44:Z},{10:50,43:S,51:_,53:M,54:I,55:F},{10:51,43:S,51:_,53:M,54:I,55:F},{15:52,43:q,44:Z},{17:53,18:[1,54],56:55,57:56,61:Q},{10:58,43:S,51:_,53:M,54:I,55:F},{68:59,74:[1,60],75:[1,61]},t(W,[2,77]),t(W,[2,78]),t(W,[2,79]),t(W,[2,80]),t(W,[2,81]),t(P,[2,23]),t(P,[2,24]),t(P,[2,25]),{6:[1,63],7:5,8:6,9:o,10:8,21:l,23:h,25:f,27:p,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:m,37:b,38:v,39:T,40:C,41:E,43:S,46:R,47:L,51:_,53:M,54:I,55:F},{12:te,42:64,44:z,45:re,48:66,49:67,51:ae,52:ce},t(le,[2,41]),t(le,[2,42]),{15:72,43:q,44:Z,45:re},{12:te,42:73,44:z,45:re,48:66,49:67,51:ae,52:ce},{6:de,9:ve,19:[1,75],35:74,50:Se},{12:[1,79],14:[1,80]},t(P,[2,16],{67:35,11:81,16:[1,82],45:re,69:G,70:V,71:Y,72:K,73:J}),{18:[1,83]},t(P,[2,13]),{17:84,18:[2,63],56:55,57:56,61:Q},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:G,70:V,71:Y,72:K,73:J},t(_e,[2,82]),t(_e,[2,83]),t(P,[2,31]),t(P,O),{6:de,9:ve,35:90,45:Ce,50:Se},{43:[1,92],44:[1,93]},t(Ve,[2,47],{49:94,12:te,44:z,51:ae,52:ce}),t(De,[2,49]),t(De,[2,54]),t(De,[2,55]),t(De,[2,56]),t(De,[2,57]),t(P,[2,45],{45:re}),{6:de,9:ve,35:95,45:Ce,50:Se},t(P,[2,32]),{10:97,36:96,43:S,51:_,53:M,54:I,55:F},t(P,[2,51]),t(P,[2,52]),t(P,[2,53]),{13:98,43:qe,53:Ue,76:We},{15:102,43:q,44:Z},{10:103,43:S,51:_,53:M,54:I,55:F},{17:104,18:[1,105],56:55,57:56,61:Q},t(P,[2,11]),{18:[2,64]},t(mt,[2,65],{59:106,60:107,63:108,65:ct,66:Ot}),t([18,61,65,66],[2,71]),{61:[2,70]},t(P,[2,21],{14:[1,112],16:[1,111]}),t([43,51,53,54,55],[2,76]),t(P,[2,40]),{12:te,44:z,48:113,49:67,51:ae,52:ce},t(le,[2,43]),t(le,[2,44]),t(De,[2,50]),t(P,[2,46]),{10:115,20:[1,114],43:S,51:_,53:M,54:I,55:F},t(yr,[2,34]),t(P,[2,7]),t(P,[2,84]),t(P,[2,85]),t(P,[2,86]),{12:[1,116],45:re},{12:[1,118],14:[1,117]},{18:[1,119]},t(P,[2,14]),t(mt,[2,66],{60:120,64:[1,121],66:Ot}),t(mt,[2,67]),t(tr,[2,72]),t(mt,[2,75]),t(tr,[2,74]),{17:122,18:[1,123],56:55,57:56,61:Q},{15:124,43:q,44:Z},t(Ve,[2,48],{49:94,12:te,44:z,51:ae,52:ce}),{6:de,9:ve,35:125,50:Se},t(yr,[2,35]),{13:126,43:qe,53:Ue,76:We},{15:127,43:q,44:Z},{13:128,43:qe,53:Ue,76:We},t(P,[2,12]),t(mt,[2,68]),{63:129,65:ct},{18:[1,130]},t(P,[2,19]),t(P,[2,22],{16:[1,131],45:re}),t(P,[2,33]),t(P,[2,10]),{12:[1,132],45:re},t(P,[2,9]),t(tr,[2,73]),t(P,[2,17]),{17:133,18:[1,134],56:55,57:56,61:Q},{13:135,43:qe,53:Ue,76:We},{18:[1,136]},t(P,[2,20]),t(P,[2,8]),t(P,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:i(function(Me,Fe){if(Fe.recoverable)this.trace(Me);else{var je=new Error(Me);throw je.hash=Fe,je}},"parseError"),parse:i(function(Me){var Fe=this,je=[0],He=[],nt=[null],ze=[],se=this.table,ke="",Le=0,he=0,Ne=0,Ee=2,ye=1,be=ze.slice.call(arguments,1),ht=Object.create(this.lexer),Je={yy:{}};for(var it in this.yy)Object.prototype.hasOwnProperty.call(this.yy,it)&&(Je.yy[it]=this.yy[it]);ht.setInput(Me,Je.yy),Je.yy.lexer=ht,Je.yy.parser=this,typeof ht.yylloc>"u"&&(ht.yylloc={});var lt=ht.yylloc;ze.push(lt);var Vt=ht.options&&ht.options.ranges;typeof Je.yy.parseError=="function"?this.parseError=Je.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function $t(Bn){je.length=je.length-2*Bn,nt.length=nt.length-Bn,ze.length=ze.length-Bn}i($t,"popStack");function gr(){var Bn;return Bn=He.pop()||ht.lex()||ye,typeof Bn!="number"&&(Bn instanceof Array&&(He=Bn,Bn=He.pop()),Bn=Fe.symbols_[Bn]||Bn),Bn}i(gr,"lex");for(var jt,qt,Wt,Ut,rn,pt,$n={},Gt,Rn,Qn,En;;){if(Wt=je[je.length-1],this.defaultActions[Wt]?Ut=this.defaultActions[Wt]:((jt===null||typeof jt>"u")&&(jt=gr()),Ut=se[Wt]&&se[Wt][jt]),typeof Ut>"u"||!Ut.length||!Ut[0]){var di="";En=[];for(Gt in se[Wt])this.terminals_[Gt]&&Gt>Ee&&En.push("'"+this.terminals_[Gt]+"'");ht.showPosition?di="Parse error on line "+(Le+1)+`: +`+ht.showPosition()+` +Expecting `+En.join(", ")+", got '"+(this.terminals_[jt]||jt)+"'":di="Parse error on line "+(Le+1)+": Unexpected "+(jt==ye?"end of input":"'"+(this.terminals_[jt]||jt)+"'"),this.parseError(di,{text:ht.match,token:this.terminals_[jt]||jt,line:ht.yylineno,loc:lt,expected:En})}if(Ut[0]instanceof Array&&Ut.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Wt+", token: "+jt);switch(Ut[0]){case 1:je.push(jt),nt.push(ht.yytext),ze.push(ht.yylloc),je.push(Ut[1]),jt=null,qt?(jt=qt,qt=null):(he=ht.yyleng,ke=ht.yytext,Le=ht.yylineno,lt=ht.yylloc,Ne>0&&Ne--);break;case 2:if(Rn=this.productions_[Ut[1]][1],$n.$=nt[nt.length-Rn],$n._$={first_line:ze[ze.length-(Rn||1)].first_line,last_line:ze[ze.length-1].last_line,first_column:ze[ze.length-(Rn||1)].first_column,last_column:ze[ze.length-1].last_column},Vt&&($n._$.range=[ze[ze.length-(Rn||1)].range[0],ze[ze.length-1].range[1]]),pt=this.performAction.apply($n,[ke,he,Le,Je.yy,Ut[1],nt,ze].concat(be)),typeof pt<"u")return pt;Rn&&(je=je.slice(0,-1*Rn*2),nt=nt.slice(0,-1*Rn),ze=ze.slice(0,-1*Rn)),je.push(this.productions_[Ut[1]][0]),nt.push($n.$),ze.push($n._$),Qn=se[je[je.length-2]][je[je.length-1]],je.push(Qn);break;case 3:return!0}}return!0},"parse")},Rt=(function(){var bt={EOF:1,parseError:i(function(Fe,je){if(this.yy.parser)this.yy.parser.parseError(Fe,je);else throw new Error(Fe)},"parseError"),setInput:i(function(Me,Fe){return this.yy=Fe||this.yy||{},this._input=Me,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var Me=this._input[0];this.yytext+=Me,this.yyleng++,this.offset++,this.match+=Me,this.matched+=Me;var Fe=Me.match(/(?:\r\n?|\n).*/g);return Fe?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Me},"input"),unput:i(function(Me){var Fe=Me.length,je=Me.split(/(?:\r\n?|\n)/g);this._input=Me+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Fe),this.offset-=Fe;var He=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),je.length-1&&(this.yylineno-=je.length-1);var nt=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:je?(je.length===He.length?this.yylloc.first_column:0)+He[He.length-je.length].length-je[0].length:this.yylloc.first_column-Fe},this.options.ranges&&(this.yylloc.range=[nt[0],nt[0]+this.yyleng-Fe]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(Me){this.unput(this.match.slice(Me))},"less"),pastInput:i(function(){var Me=this.matched.substr(0,this.matched.length-this.match.length);return(Me.length>20?"...":"")+Me.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var Me=this.match;return Me.length<20&&(Me+=this._input.substr(0,20-Me.length)),(Me.substr(0,20)+(Me.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var Me=this.pastInput(),Fe=new Array(Me.length+1).join("-");return Me+this.upcomingInput()+` +`+Fe+"^"},"showPosition"),test_match:i(function(Me,Fe){var je,He,nt;if(this.options.backtrack_lexer&&(nt={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(nt.yylloc.range=this.yylloc.range.slice(0))),He=Me[0].match(/(?:\r\n?|\n).*/g),He&&(this.yylineno+=He.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:He?He[He.length-1].length-He[He.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Me[0].length},this.yytext+=Me[0],this.match+=Me[0],this.matches=Me,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Me[0].length),this.matched+=Me[0],je=this.performAction.call(this,this.yy,this,Fe,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),je)return je;if(this._backtrack){for(var ze in nt)this[ze]=nt[ze];return!1}return!1},"test_match"),next:i(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Me,Fe,je,He;this._more||(this.yytext="",this.match="");for(var nt=this._currentRules(),ze=0;zeFe[0].length)){if(Fe=je,He=ze,this.options.backtrack_lexer){if(Me=this.test_match(je,nt[ze]),Me!==!1)return Me;if(this._backtrack){Fe=!1;continue}else return!1}else if(!this.options.flex)break}return Fe?(Me=this.test_match(Fe,nt[He]),Me!==!1?Me:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:i(function(){var Fe=this.next();return Fe||this.lex()},"lex"),begin:i(function(Fe){this.conditionStack.push(Fe)},"begin"),popState:i(function(){var Fe=this.conditionStack.length-1;return Fe>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:i(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:i(function(Fe){return Fe=this.conditionStack.length-1-Math.abs(Fe||0),Fe>=0?this.conditionStack[Fe]:"INITIAL"},"topState"),pushState:i(function(Fe){this.begin(Fe)},"pushState"),stateStackSize:i(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:i(function(Fe,je,He,nt){var ze=nt;switch(He){case 0:return this.begin("acc_title"),23;break;case 1:return this.popState(),"acc_title_value";break;case 2:return this.begin("acc_descr"),25;break;case 3:return this.popState(),"acc_descr_value";break;case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 37;case 8:return 38;case 9:return 39;case 10:return 40;case 11:break;case 12:return 9;case 13:return 53;case 14:return 76;case 15:return 4;case 16:return this.begin("block"),16;break;case 17:return 52;case 18:return 52;case 19:return 45;case 20:return 14;case 21:return 12;case 22:break;case 23:return 65;case 24:return 61;case 25:return 61;case 26:this.begin("block_bq");break;case 27:return 61;case 28:this.popState();break;case 29:return 66;case 30:break;case 31:return this.popState(),18;break;case 32:return je.yytext[0];case 33:return 19;case 34:return 20;case 35:return this.begin("style"),47;break;case 36:return this.popState(),9;break;case 37:break;case 38:return 12;case 39:return 45;case 40:return 52;case 41:return this.begin("style"),41;break;case 42:return 46;case 43:return 34;case 44:return 33;case 45:return 69;case 46:return 71;case 47:return 71;case 48:return 71;case 49:return 69;case 50:return 69;case 51:return 70;case 52:return 70;case 53:return 70;case 54:return 70;case 55:return 70;case 56:return 71;case 57:return 70;case 58:return 71;case 59:return 72;case 60:return 72;case 61:return 54;case 62:return 72;case 63:return 72;case 64:return 72;case 65:return 55;case 66:return 51;case 67:return 72;case 68:return 69;case 69:return 70;case 70:return 71;case 71:return 73;case 72:return 74;case 73:return 75;case 74:return 75;case 75:return 74;case 76:return 74;case 77:return 74;case 78:return 44;case 79:return 50;case 80:return 43;case 81:return je.yytext[0];case 82:return 6}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[ \t\r]+)/i,/^(?:[\n]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:#)/i,/^(?:#)/i,/^(?:,)/i,/^(?::::)/i,/^(?::)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:([^\s]*)[~].*[~]([^\s]*))/i,/^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\.,\u00C0-\uFFFF\*]*))/i,/^(?:[`])/i,/^(?:[^`]+)/i,/^(?:[`])/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:style\b)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?::)/i,/^(?:,)/i,/^(?:#)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:subgraph\b)/i,/^(?:end\b\s*)/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:[0-9]+\.[0-9]+)/i,/^(?:1(?=\s+[A-Za-z_"']))/i,/^(?:1(?=\s+[0-9]))/i,/^(?:1(?=(--|\.\.|\.-|-\.)))/i,/^(?:1\b)/i,/^(?:[0-9]+)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:u(?=[\.\-\|]))/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:([^\x00-\x7F]|\w|-|\*)+)/i,/^(?:;)/i,/^(?:([^\x00-\x7F]|\w|-|\*|\.)+)/i,/^(?:.)/i,/^(?:$)/i],conditions:{style:{rules:[36,37,38,39,40,78,79],inclusive:!1},acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block_bq:{rules:[27,28],inclusive:!1},block:{rules:[22,23,24,25,26,29,30,31,32],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,33,34,35,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,80,81,82],inclusive:!0}}};return bt})();Xe.lexer=Rt;function ft(){this.yy={}}return i(ft,"Parser"),ft.prototype=Xe,Xe.Parser=ft,new ft})();Tnt.parser=Tnt;s7r=Tnt});var TTe,l7r=ie(()=>{"use strict";Xn();ma();rl();xu();Ia();TTe=class{constructor(){this.entities=new Map;this.relationships=[];this.classes=new Map;this.subgraphDepth=0;this.subGraphs=[];this.subGraphLookup=new Map;this.subCount=0;this.direction="TB";this.Cardinality={ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"};this.Identification={NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"};this.setAccTitle=Os;this.getAccTitle=Ws;this.setAccDescription=js;this.getAccDescription=Ys;this.setDiagramTitle=ao;this.getDiagramTitle=Js;this.getConfig=i(()=>Zt().er,"getConfig");this.clear(),this.addEntity=this.addEntity.bind(this),this.addAttributes=this.addAttributes.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setDirection=this.setDirection.bind(this),this.addCssStyles=this.addCssStyles.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this),this.addSubGraph=this.addSubGraph.bind(this)}static{i(this,"ErDB")}addEntity(r,a=""){return this.entities.has(r)?!this.entities.get(r)?.alias&&a&&(this.entities.get(r).alias=a,Pe.info(`Add alias '${a}' to entity '${r}'`)):(this.entities.set(r,{id:`entity-${r}-${this.entities.size}`,label:r,attributes:[],alias:a,shape:"erBox",look:Zt().look??"default",cssClasses:"default",cssStyles:[],labelType:"markdown"}),Pe.info("Added new entity :",r)),this.entities.get(r)}getEntity(r){return this.entities.get(r)}getEntities(){return this.entities}getClasses(){return this.classes}addAttributes(r,a){let o=this.addEntity(r),l;for(l=a.length-1;l>=0;l--)a[l].keys||(a[l].keys=[]),a[l].comment||(a[l].comment=""),o.attributes.push(a[l]),Pe.debug("Added attribute ",a[l].name)}addRelationship(r,a,o,l){let h;if(this.subGraphLookup.has(r))h=r;else{let m=this.addEntity(r);if(!m)return;h=m.id}let f;if(this.subGraphLookup.has(o))f=o;else{let m=this.addEntity(o);if(!m)return;f=m.id}let p={entityA:h,roleA:a,entityB:f,relSpec:l};this.relationships.push(p),Pe.debug("Added new relationship :",p)}getRelationships(){return this.relationships}getDirection(){return this.direction}setDirection(r){this.direction=r}getCompiledStyles(r){let a=[];for(let o of r){let l=this.classes.get(o);l?.styles&&(a=[...a,...l.styles??[]].map(h=>h.trim())),l?.textStyles&&(a=[...a,...l.textStyles??[]].map(h=>h.trim()))}return a}addCssStyles(r,a){for(let o of r){let l=this.entities.get(o),h=this.subGraphLookup.get(o);if(a){if(l)for(let f of a)l.cssStyles.push(f);if(h){h.cssStyles||(h.cssStyles=[]);for(let f of a)h.cssStyles.push(f)}}}}addClass(r,a){r.forEach(o=>{let l=this.classes.get(o);l===void 0&&(l={id:o,styles:[],textStyles:[]},this.classes.set(o,l)),a&&a.forEach(function(h){if(/color/.exec(h)){let f=h.replace("fill","bgFill");l.textStyles.push(f)}l.styles.push(h)})})}addSubGraph(r,a,o){let l=r.text.trim(),h=o.text,p=i(T=>{let C=new Set,E;return{nodeList:T.filter(R=>{if(R?.stmt)return R.stmt==="dir"&&(E=R.value),!1;if(typeof R!="string")return!1;let L=R.trim();return!L||C.has(L)?!1:(C.add(L),!0)}),dir:E}},"uniq")(a.flat()),m=p.nodeList,b=p.dir;l=l??"subGraph"+this.subCount,h=h||"",h=this.sanitizeText(h),this.subCount=this.subCount+1;let v={id:l,nodes:m,title:h.trim(),classes:[],cssStyles:[],dir:b,labelType:this.sanitizeNodeLabelType(o?.type)};return Pe.info("Adding",v.id,v.nodes,v.dir),v.nodes=this.makeUniq(v,this.subGraphs).nodes,this.subGraphs.push(v),this.subGraphLookup.set(l,v),l}getSubGraphs(){return this.subGraphs}setClass(r,a){for(let o of r){let l=this.entities.get(o);if(l)for(let f of a)l.cssClasses+=" "+f;let h=this.subGraphLookup.get(o);if(h)for(let f of a)h.classes.push(f)}}subgraphNodeCache(r){let a=new Set;for(let o of r)for(let l of o.nodes)a.add(l);return a}makeUniq(r,a){let o=this.subgraphNodeCache(a),l=[];return r.nodes.forEach((h,f)=>{o.has(h)?Pe.warn(`Entity '${h}' already belongs to another subgraph and will be ignored`):l.push(r.nodes[f])}),{nodes:l}}sanitizeText(r){return Wn.sanitizeText(r,Zt())}sanitizeNodeLabelType(r){switch(r){case"markdown":case"string":case"text":return r;default:return"markdown"}}clear(){this.entities=new Map,this.classes=new Map,this.relationships=[],this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.subgraphDepth=0,Is()}getData(){let r=[],a=[],o=Zt(),l=this.getSubGraphs(),h=new Map,f=new Map;for(let v=l.length-1;v>=0;v--){let T=l[v];T.nodes.length>0&&f.set(T.id,!0);for(let C of T.nodes)h.set(C,T.id)}for(let v=l.length-1;v>=0;v--){let T=l[v];r.push({id:T.id,label:T.title,labelStyle:"",labelType:T.labelType,parentId:h.get(T.id),padding:8,cssCompiledStyles:this.getCompiledStyles(T.classes),cssStyles:T.cssStyles,cssClasses:T.classes.join(" "),shape:"rect",dir:T.dir,isGroup:!0,look:o.look})}let p=new Set(l.map(v=>v.id)),m=0;for(let v of this.entities.keys()){if(p.has(v))continue;let T=this.entities.get(v);T&&(T.cssCompiledStyles=this.getCompiledStyles(T.cssClasses.split(" ")),T.colorIndex=m++,r.push({...T,parentId:h.get(v),isGroup:!1}))}let b=0;for(let v of this.relationships){let T={id:Qv(v.entityA,v.entityB,{prefix:"id",counter:b++}),type:"normal",curve:"basis",start:v.entityA,end:v.entityB,label:v.roleA,labelpos:"c",thickness:"normal",classes:"relationshipLine",arrowTypeStart:v.relSpec.cardB.toLowerCase(),arrowTypeEnd:v.relSpec.cardA.toLowerCase(),pattern:v.relSpec.relType=="IDENTIFYING"?"solid":"dashed",look:o.look,labelType:"markdown"};a.push(T)}return{nodes:r,edges:a,other:{},config:o,direction:this.direction}}}});var knt={};cs(knt,{draw:()=>cZn});var cZn,c7r=ie(()=>{"use strict";ma();Xn();hA();xS();TS();Ia();Yo();cZn=i(async function(t,r,a,o){Pe.info("REF0:"),Pe.info("Drawing er diagram (unified)",r);let{securityLevel:l,er:h,layout:f}=Zt(),p=o.db.getData(),m=ay(r,l);p.type=o.type,p.layoutAlgorithm=dy(f),p.config.flowchart.nodeSpacing=h?.nodeSpacing||140,p.config.flowchart.rankSpacing=h?.rankSpacing||80,p.direction=o.db.getDirection();let{config:b}=p,{look:v}=b;v==="neo"?p.markers=["only_one_neo","zero_or_one_neo","one_or_more_neo","zero_or_more_neo"]:p.markers=["only_one","zero_or_one","one_or_more","zero_or_more"],p.diagramId=r,await fy(p,m);let T=m.selectAll('[id*="-background"]');Array.from(T).length>0&&T.each(function(){let E=dn(this),R=E.attr("id").replace("-background",""),L=m.select(`#${CSS.escape(R)}`);if(!L.empty()){let _=L.attr("transform");E.attr("transform",_)}});let C=8;Ya.insertTitle(m,"erDiagramTitleText",h?.titleTopMargin??25,o.db.getDiagramTitle()),Cm(m,C,"erDiagram",h?.useMaxWidth??!0)},"draw")});var u7r,uZn,hZn,h7r,f7r=ie(()=>{"use strict";Zp();b0();u7r=i((t,r)=>{let a=j6,o=a(t,"r"),l=a(t,"g"),h=a(t,"b");return Rd(o,l,h,r)},"fade"),uZn=i(t=>{let{theme:r,bkgColorArray:a,borderColorArray:o}=t;if(!y0(r,o))return"";let l=Lg(t.look),h=m0(a),f="";for(let p=0;p{let{look:r,theme:a,erEdgeLabelBackground:o,strokeWidth:l}=t;return` + ${uZn(t)} + .entityBox { + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; + } + + .relationshipLabelBox { + fill: ${t.tertiaryColor}; + opacity: 0.7; + background-color: ${t.tertiaryColor}; + rect { + opacity: 0.5; + } + } + + .labelBkg { + background-color: ${ere.has(a)&&o?o:u7r(t.tertiaryColor,.5)}; + } + + .edgeLabel { + background-color: ${ere.has(a)&&o?o:t.edgeLabelBackground}; + } + .edgeLabel .label rect { + fill: ${ere.has(a)&&o?o:t.edgeLabelBackground}; + } + .edgeLabel .label text { + fill: ${t.textColor}; + } + + .edgeLabel .label { + fill: ${t.nodeBorder}; + font-size: 14px; + } + + .label { + font-family: ${t.fontFamily}; + color: ${t.nodeTextColor||t.textColor}; + } + + .edge-pattern-dashed { + stroke-dasharray: 8,8; + } + + .node rect, + .node circle, + .node ellipse, + .node polygon + { + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; + stroke-width: ${r==="neo"?l:"1px"}; + } + + .relationshipLine { + stroke: ${t.lineColor}; + stroke-width: ${r==="neo"?l:"1px"}; + fill: none; + } + + .marker { + fill: none !important; + stroke: ${t.lineColor} !important; + stroke-width: 1; + } + [data-look=neo].labelBkg { + background-color: ${u7r(t.tertiaryColor,.5)}; + } + + .cluster rect { + fill: ${t.clusterBkg??t.mainBkg}; + stroke: ${t.clusterBorder??t.nodeBorder}; + stroke-width: 1px; + } + + .cluster text { + fill: ${t.titleColor??t.textColor}; + } + + .cluster-label text { + fill: ${t.titleColor??t.textColor}; + } +`},"getStyles"),h7r=hZn});var d7r={};cs(d7r,{diagram:()=>fZn});var fZn,p7r=ie(()=>{"use strict";o7r();l7r();c7r();f7r();fZn={parser:s7r,get db(){return new TTe},renderer:knt,styles:h7r}});function Am(t){return typeof t=="object"&&t!==null&&typeof t.$type=="string"}function fk(t){return typeof t=="object"&&t!==null&&typeof t.$refText=="string"&&"ref"in t}function NA(t){return typeof t=="object"&&t!==null&&typeof t.$refText=="string"&&"items"in t}function HRr(t){return typeof t=="object"&&t!==null&&typeof t.name=="string"&&typeof t.type=="string"&&typeof t.path=="string"}function pV(t){return typeof t=="object"&&t!==null&&typeof t.info=="object"&&typeof t.message=="string"}function xV(t){return typeof t=="object"&&t!==null&&Array.isArray(t.content)}function Gst(t){return typeof t=="object"&&t!==null&&typeof t.tokenType=="object"}function jst(t){return xV(t)&&typeof t.fullText=="string"}function WRr(t){return typeof t=="string"?t:typeof t>"u"?"undefined":typeof t.toString=="function"?t.toString():Object.prototype.toString.call(t)}function Eie(t){return!!t&&typeof t[Symbol.iterator]=="function"}function Xf(...t){if(t.length===1){let r=t[0];if(r instanceof zD)return r;if(Eie(r))return new zD(()=>r[Symbol.iterator](),a=>a.next());if(typeof r.length=="number")return new zD(()=>({index:0}),a=>a.index1?new zD(()=>({collIndex:0,arrIndex:0}),r=>{do{if(r.iterator){let a=r.iterator.next();if(!a.done)return a;r.iterator=void 0}if(r.array){if(r.arrIndex{Am(l)&&(l.$container=t,l.$containerProperty=a,l.$containerIndex=h,r.deep&&Ake(l,r))}):Am(o)&&(o.$container=t,o.$containerProperty=a,r.deep&&Ake(o,r)))}function Uie(t,r){let a=t;for(;a;){if(r(a))return a;a=a.$container}}function RS(t){let a=yie(t).$document;if(!a)throw new Error("AST node has no document.");return a}function yie(t){for(;t.$container;)t=t.$container;return t}function Kit(t){return fk(t)?t.ref?[t.ref]:[]:NA(t)?t.items.map(r=>r.ref):[]}function Kke(t,r){if(!t)throw new Error("Node must be an AstNode.");let a=r?.range;return new zD(()=>({keys:Object.keys(t),keyIndex:0,arrayIndex:0}),o=>{for(;o.keyIndexKke(a,r))}function LS(t,r){if(t){if(r?.range&&!Rke(t,r.range))return new Ske(t,()=>[])}else throw new Error("Root node must be an AstNode.");return new Ske(t,a=>Kke(a,r),{includeRoot:!0})}function Rke(t,r){if(!r)return!0;let a=t.$cstNode?.range;return a?bLr(a,r):!1}function Sie(t){return new zD(()=>({keys:Object.keys(t),keyIndex:0,arrayIndex:0}),r=>{for(;r.keyIndexxV(r)?r.content:[],{includeRoot:!0})}function gLr(t,r){for(;t.container;)if(t=t.container,t===r)return!0;return!1}function mLr(t){return{start:{line:t.startLine-1,character:t.startColumn-1},end:{line:t.endLine-1,character:t.endColumn}}}function Dke(t){let{startOffset:r,endOffset:a}=t;return typeof r=="number"&&Number.isFinite(r)&&r>=0&&typeof a=="number"&&Number.isFinite(a)&&a>=r}function Rie(t){if(!t)return;let{offset:r,end:a,range:o}=t;return{range:o,offset:r,end:a,length:a-r}}function yLr(t,r){if(t.end.liner.end.line||t.start.line===r.end.line&&t.start.character>=r.end.character)return MA.After;let a=t.start.line>r.start.line||t.start.line===r.start.line&&t.start.character>=r.start.character,o=t.end.lineMA.After}function vLr(t,r){if(t){let a=wLr(t,!0);if(a&&rat(a,r))return a;if(jst(t)){let o=t.content.findIndex(l=>!l.hidden);for(let l=o-1;l>=0;l--){let h=t.content[l];if(rat(h,r))return h}}}}function rat(t,r){return Gst(t)&&r.includes(t.tokenType.name)}function wLr(t,r=!0){for(;t.container;){let a=t.container,o=a.content.indexOf(t);for(;o>0;){o--;let l=a.content[o];if(r||!l.hidden)return l}t=a}}function RV(t,r="Error: Got unexpected value."){throw new Error(typeof r=="string"?r:r())}function To(t){return t.charCodeAt(0)}function ike(t,r){Array.isArray(t)?t.forEach(function(a){r.push(a)}):r.push(t)}function cV(t,r){if(t[r]===!0)throw"duplicate flag "+r;let a=t[r];t[r]=!0}function ZO(t){if(t===void 0)throw Error("Internal Error - Should never get here!");return!0}function fie(){throw Error("Internal Error - Should never get here!")}function nat(t){return t.type==="Character"}function kLr(t){try{return typeof t=="string"&&(t=new RegExp(t)),t=t.toString(),Ant.reset(t),Ant.visit(rei.pattern(t)),Ant.multiline}catch{return!1}}function Wst(t){let r=typeof t=="string"?new RegExp(t):t;return iei.some(a=>r.test(a))}function qie(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function CLr(t,r){let a=ELr(t),o=r.match(a);return!!o&&o[0].length>0}function ELr(t){typeof t=="string"&&(t=new RegExp(t));let r=t,a=t.source,o=0;function l(){let h="",f;function p(b){h+=a.substr(o,b),o+=b}i(p,"appendRaw"),X(p,"appendRaw");function m(b){h+="(?:"+a.substr(o,b)+"|$)",o+=b}for(i(m,"appendOptional"),X(m,"appendOptional");o",o)-o+1);break;default:m(2);break}break;case"[":f=/\[(?:\\.|.)*?\]/g,f.lastIndex=o,f=f.exec(a)||[],m(f[0].length);break;case"|":case"^":case"$":case"*":case"+":case"?":p(1);break;case"{":f=/\{\d+,?\d*\}/g,f.lastIndex=o,f=f.exec(a),f?p(f[0].length):m(1);break;case"(":if(a[o+1]==="?")switch(a[o+2]){case":":h+="(?:",o+=3,h+=l()+"|$)";break;case"=":h+="(?=",o+=3,h+=l()+")";break;case"!":f=o,o+=3,l(),h+=a.substr(f,o-f);break;case"<":switch(a[o+3]){case"=":case"!":f=o,o+=4,l(),h+=a.substr(f,o-f);break;default:p(a.indexOf(">",o)-o+1),h+=l()+"|$)";break}break}else p(1),h+=l()+"|$)";break;case")":return++o,h;default:m(1);break}return h}return i(l,"process2"),X(l,"process"),new RegExp(l(),t.flags)}function SLr(t){return t.rules.find(r=>MS(r)&&r.entry)}function ALr(t){return t.rules.filter(r=>IS(r)&&r.hidden)}function Yst(t,r){let a=new Set,o=SLr(t);if(!o)return new Set(t.rules);let l=[o].concat(ALr(t));for(let f of l)Kst(f,a,r);let h=new Set;for(let f of t.rules)(a.has(f.name)||IS(f)&&f.hidden)&&h.add(f);return h}function Kst(t,r,a){r.add(t.name),SV(t).forEach(o=>{if(HD(o)||a&&Hst(o)){let l=o.rule.ref;l&&!r.has(l.name)&&Kst(l,r,a)}})}function RLr(t){if(t.terminal)return t.terminal;if(t.type.ref)return Qst(t.type.ref)?.terminal}function LLr(t){return t.hidden&&!Wst(Zke(t))}function DLr(t,r){return!t||!r?[]:Jke(t,r,t.astNode,!0)}function Xst(t,r,a){if(!t||!r)return;let o=Jke(t,r,t.astNode,!0);if(o.length!==0)return a!==void 0?a=Math.max(0,Math.min(a,o.length-1)):a=0,o[a]}function Jke(t,r,a,o){if(!o){let l=Uie(t.grammarSource,UD);if(l&&l.feature===r)return[t]}return xV(t)&&t.astNode===a?t.content.flatMap(l=>Jke(l,r,a,!1)):[]}function _Lr(t,r,a){if(!t)return;let o=MLr(t,r,t?.astNode);if(o.length!==0)return a!==void 0?a=Math.max(0,Math.min(a,o.length-1)):a=0,o[a]}function MLr(t,r,a){if(t.astNode!==a)return[];if(VD(t.grammarSource)&&t.grammarSource.value===r)return[t];let o=Lke(t).iterator(),l,h=[];do if(l=o.next(),!l.done){let f=l.value;f.astNode===a?VD(f.grammarSource)&&f.grammarSource.value===r&&h.push(f):o.prune()}while(!l.done);return h}function ILr(t){let r=t.astNode;for(;r===t.container?.astNode;){let a=Uie(t.grammarSource,UD);if(a)return a;t=t.container}}function Qst(t){let r=t;return Vst(r)&&(Vie(r.$container)?r=r.$container.$container:AV(r.$container)?r=r.$container:RV(r.$container)),Jst(t,r,new Map)}function Jst(t,r,a){function o(l,h){let f;return Uie(l,UD)||(f=Jst(h,h,a)),a.set(t,f),f}if(i(o,"go"),X(o,"go"),a.has(t))return a.get(t);a.set(t,void 0);for(let l of SV(r)){if(UD(l)&&l.feature.toLowerCase()==="name")return a.set(t,l),l;if(HD(l)&&MS(l.rule.ref))return o(l,l.rule.ref);if(lLr(l)&&l.typeRef?.ref)return o(l,l.typeRef.ref)}}function Zst(t){return eot(t,new Set)}function eot(t,r){if(r.has(t))return!0;r.add(t);for(let a of SV(t))if(HD(a)){if(!a.rule.ref||MS(a.rule.ref)&&!eot(a.rule.ref,r)||Aie(a.rule.ref))return!1}else{if(UD(a))return!1;if(Vie(a))return!1}return!!t.definition}function tot(t){if(!IS(t)){if(t.inferredType)return t.inferredType.name;if(t.dataType)return t.dataType;if(t.returnType){let r=t.returnType.ref;if(r)return r.name}}}function TV(t){if(AV(t))return MS(t)&&Zst(t)?t.name:tot(t)??t.name;if(rLr(t)||hLr(t)||oLr(t))return t.name;if(Vie(t)){let r=NLr(t);if(r)return r}else if(Vst(t))return t.name;throw new Error("Cannot get name of Unknown Type")}function NLr(t){if(t.inferredType)return t.inferredType.name;if(t.type?.ref)return TV(t.type.ref)}function OLr(t){return IS(t)?t.type?.name??"string":tot(t)??t.name}function Zke(t){let r={s:!1,i:!1,u:!1},a=wP(t.definition,r),o=Object.entries(r).filter(([,l])=>l).map(([l])=>l).join("");return new RegExp(a,o)}function wP(t,r){if(cLr(t))return PLr(t);if(uLr(t))return BLr(t);if(JRr(t))return GLr(t);if(Hst(t)){let a=t.rule.ref;if(!a)throw new Error("Missing rule reference.");return DS(wP(a.definition),{cardinality:t.cardinality,lookahead:t.lookahead,parenthesized:t.parenthesized})}else{if(nLr(t))return $Lr(t);if(fLr(t))return FLr(t);if(sLr(t)){let a=t.regex.lastIndexOf("/"),o=t.regex.substring(1,a),l=t.regex.substring(a+1);return r&&(r.i=l.includes("i"),r.s=l.includes("s"),r.u=l.includes("u")),DS(o,{cardinality:t.cardinality,lookahead:t.lookahead,parenthesized:t.parenthesized,wrap:!1})}else{if(dLr(t))return DS(rot,{cardinality:t.cardinality,lookahead:t.lookahead,parenthesized:t.parenthesized});throw new Error(`Invalid terminal element: ${t?.$type}, ${t?.$cstNode?.text}`)}}}function PLr(t){return DS(t.elements.map(r=>wP(r)).join("|"),{cardinality:t.cardinality,lookahead:t.lookahead,parenthesized:t.parenthesized,wrap:!1})}function BLr(t){return DS(t.elements.map(r=>wP(r)).join(""),{cardinality:t.cardinality,lookahead:t.lookahead,parenthesized:t.parenthesized,wrap:!1})}function FLr(t){return DS(`${rot}*?${wP(t.terminal)}`,{cardinality:t.cardinality,lookahead:t.lookahead,parenthesized:t.parenthesized})}function $Lr(t){return DS(`(?!${wP(t.terminal)})${rot}*?`,{cardinality:t.cardinality,lookahead:t.lookahead,parenthesized:t.parenthesized})}function GLr(t){return t.right?DS(`[${ake(t.left)}-${ake(t.right)}]`,{cardinality:t.cardinality,lookahead:t.lookahead,parenthesized:t.parenthesized,wrap:!1}):DS(ake(t.left),{cardinality:t.cardinality,lookahead:t.lookahead,parenthesized:t.parenthesized,wrap:!1})}function ake(t){return qie(t.value)}function DS(t,r){return(r.parenthesized||r.lookahead||r.wrap!==!1)&&(t=`(${r.lookahead??(r.parenthesized?"":"?:")}${t})`),r.cardinality?`${t}${r.cardinality}`:t}function jLr(t){let r=[],a=t.Grammar;for(let o of a.rules)IS(o)&&LLr(o)&&kLr(Zke(o))&&r.push(o.name);return{multilineCommentRules:r,nameRegexp:JZn}}function Ike(t){console&&console.error&&console.error(`Error: ${t}`)}function not(t){console&&console.warn&&console.warn(`Warning: ${t}`)}function iot(t){let r=new Date().getTime(),a=t();return{time:new Date().getTime()-r,value:a}}function aot(t){function r(){}i(r,"FakeConstructor"),X(r,"FakeConstructor"),r.prototype=t;let a=new r;function o(){return typeof a.bar}return i(o,"fakeAccess"),X(o,"fakeAccess"),o(),o(),t;(0,eval)(t)}function zLr(t){return ULr(t)?t.LABEL:t.name}function ULr(t){return typeof t.LABEL=="string"&&t.LABEL!==""}function VLr(t){return t.map(bie)}function bie(t){function r(a){return a.map(bie)}if(i(r,"convertDefinition"),X(r,"convertDefinition"),t instanceof _b){let a={type:"NonTerminal",name:t.nonTerminalName,idx:t.idx};return typeof t.label=="string"&&(a.label=t.label),a}else{if(t instanceof f2)return{type:"Alternative",definition:r(t.definition)};if(t instanceof p1)return{type:"Option",idx:t.idx,definition:r(t.definition)};if(t instanceof Qw)return{type:"RepetitionMandatory",idx:t.idx,definition:r(t.definition)};if(t instanceof Jw)return{type:"RepetitionMandatoryWithSeparator",idx:t.idx,separator:bie(new kf({terminalType:t.separator})),definition:r(t.definition)};if(t instanceof d2)return{type:"RepetitionWithSeparator",idx:t.idx,separator:bie(new kf({terminalType:t.separator})),definition:r(t.definition)};if(t instanceof wp)return{type:"Repetition",idx:t.idx,definition:r(t.definition)};if(t instanceof p2)return{type:"Alternation",idx:t.idx,definition:r(t.definition)};if(t instanceof kf){let a={type:"Terminal",name:t.terminalType.name,label:zLr(t.terminalType),idx:t.idx};typeof t.label=="string"&&(a.terminalLabel=t.label);let o=t.terminalType.PATTERN;return t.terminalType.PATTERN&&(a.pattern=o instanceof RegExp?o.source:o),a}else{if(t instanceof LV)return{type:"Rule",name:t.name,orgText:t.orgText,definition:r(t.definition)};throw Error("non exhaustive match")}}}function O4(t){return Object.fromEntries(Object.entries(t).filter(([,r])=>r!==void 0))}function HLr(t){return t instanceof f2||t instanceof p1||t instanceof wp||t instanceof Qw||t instanceof Jw||t instanceof d2||t instanceof kf||t instanceof LV}function Lie(t,r=[]){return t instanceof p1||t instanceof wp||t instanceof d2?!0:t instanceof p2?t.definition.some(o=>Lie(o,r)):t instanceof _b&&r.includes(t)?!1:t instanceof NS?(t instanceof _b&&r.push(t),t.definition.every(o=>Lie(o,r))):!1}function qLr(t){return t instanceof p2}function M4(t){if(t instanceof _b)return"SUBRULE";if(t instanceof p1)return"OPTION";if(t instanceof p2)return"OR";if(t instanceof Qw)return"AT_LEAST_ONE";if(t instanceof Jw)return"AT_LEAST_ONE_SEP";if(t instanceof d2)return"MANY_SEP";if(t instanceof wp)return"MANY";if(t instanceof kf)return"CONSUME";throw Error("non exhaustive match")}function iat(t,r,a){return[new p1({definition:[new kf({terminalType:t.separator})].concat(t.definition)})].concat(r,a)}function _V(t){if(t instanceof _b)return _V(t.referencedRule);if(t instanceof kf)return KLr(t);if(HLr(t))return WLr(t);if(qLr(t))return YLr(t);throw Error("non exhaustive match")}function WLr(t){let r=[],a=t.definition,o=0,l=a.length>o,h,f=!0;for(;l&&f;)h=a[o],f=Lie(h),r=r.concat(_V(h)),o=o+1,l=a.length>o;return[...new Set(r)]}function YLr(t){let r=t.definition.map(a=>_V(a));return[...new Set(r.flat())]}function KLr(t){return[t.terminalType]}function QLr(t){let r={};return t.forEach(a=>{let o=new aei(a).startWalking();Object.assign(r,o)}),r}function JLr(t,r){return t.name+r+XLr}function MV(t){let r=t.toString();if(ske.hasOwnProperty(r))return ske[r];{let a=sei.pattern(r);return ske[r]=a,a}}function ZLr(){ske={}}function tDr(t,r=!1){try{let a=MV(t);return Oke(a.value,{},a.flags.ignoreCase)}catch(a){if(a.message===eDr)r&¬(`${Nke} Unable to optimize: < ${t.toString()} > + Complement Sets cannot be automatically optimized. + This will disable the lexer's first char optimizations. + See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#COMPLEMENT for details.`);else{let o="";r&&(o=` + This will disable the lexer's first char optimizations. + See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#REGEXP_PARSING for details.`),Ike(`${Nke} + Failed parsing: < ${t.toString()} > + Using the @chevrotain/regexp-to-ast library + Please open an issue at: https://github.com/chevrotain/chevrotain/issues`+o)}}return[]}function Oke(t,r,a){switch(t.type){case"Disjunction":for(let l=0;l{if(typeof m=="number")die(m,r,a);else{let b=m;if(a===!0)for(let v=b.from;v<=b.to;v++)die(v,r,a);else{for(let v=b.from;v<=b.to&&v=gie){let v=b.from>=gie?b.from:gie,T=b.to,C=OA(v),E=OA(T);for(let S=C;S<=E;S++)r[S]=S}}}});break;case"Group":Oke(f.value,r,a);break;default:throw Error("Non Exhaustive Match")}let p=f.quantifier!==void 0&&f.quantifier.atLeast===0;if(f.type==="Group"&&Pke(f)===!1||f.type!=="Group"&&p===!1)break}break;default:throw Error("non exhaustive match!")}return Object.values(r)}function die(t,r,a){let o=OA(t);r[o]=o,a===!0&&rDr(t,r)}function rDr(t,r){let a=String.fromCharCode(t),o=a.toUpperCase();if(o!==a){let l=OA(o.charCodeAt(0));r[l]=l}else{let l=a.toLowerCase();if(l!==a){let h=OA(l.charCodeAt(0));r[h]=h}}}function aat(t,r){return t.value.find(a=>{if(typeof a=="number")return r.includes(a);{let o=a;return r.find(l=>o.from<=l&&l<=o.to)!==void 0}})}function Pke(t){let r=t.quantifier;return r&&r.atLeast===0?!0:t.value?Array.isArray(t.value)?t.value.every(Pke):Pke(t.value):!1}function t3e(t,r){if(r instanceof RegExp){let a=MV(r),o=new oei(t);return o.visit(a),o.found}else{for(let a of r){let o=a.charCodeAt(0);if(t.includes(o))return!0}return!1}}function nDr(t,r){r=Object.assign({safeMode:!1,positionTracking:"full",lineTerminatorCharacters:["\r",` +`],tracer:X((M,I)=>I(),"tracer")},r);let a=r.tracer;a("initCharCodeToOptimizedIndexMap",()=>{CDr()});let o;a("Reject Lexer.NA",()=>{o=t.filter(M=>M[yP]!==h2.NA)});let l=!1,h;a("Transform Patterns",()=>{l=!1,h=o.map(M=>{let I=M[yP];if(I instanceof RegExp){let F=I.source;return F.length===1&&F!=="^"&&F!=="$"&&F!=="."&&!I.ignoreCase?F:F.length===2&&F[0]==="\\"&&!["d","D","s","S","t","r","n","t","0","c","b","B","f","v","w","W"].includes(F[1])?F[1]:cat(I)}else{if(typeof I=="function")return l=!0,{exec:I};if(typeof I=="object")return l=!0,I;if(typeof I=="string"){if(I.length===1)return I;{let F=I.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"),O=new RegExp(F);return cat(O)}}else throw Error("non exhaustive match")}})});let f,p,m,b,v;a("misc mapping",()=>{f=o.map(M=>M.tokenTypeIdx),p=o.map(M=>{let I=M.GROUP;if(I!==h2.SKIPPED){if(typeof I=="string")return I;if(I===void 0)return!1;throw Error("non exhaustive match")}}),m=o.map(M=>{let I=M.LONGER_ALT;if(I)return Array.isArray(I)?I.map(O=>o.indexOf(O)):[o.indexOf(I)]}),b=o.map(M=>M.PUSH_MODE),v=o.map(M=>Object.hasOwn(M,"POP_MODE"))});let T;a("Line Terminator Handling",()=>{let M=lot(r.lineTerminatorCharacters);T=o.map(I=>!1),r.positionTracking!=="onlyOffset"&&(T=o.map(I=>Object.hasOwn(I,"LINE_BREAKS")?!!I.LINE_BREAKS:oot(I,M)===!1&&t3e(M,I.PATTERN)))});let C,E,S,R;a("Misc Mapping #2",()=>{C=o.map(sot),E=h.map(TDr),S=o.reduce((M,I)=>{let F=I.GROUP;return typeof F=="string"&&F!==h2.SKIPPED&&(M[F]=[]),M},{}),R=h.map((M,I)=>{let F=p[I]===void 0&&m[I]===void 0?iDr(o[I].PATTERN):void 0;return{pattern:h[I],asciiClass:F,longerAlt:m[I],canLineTerminator:T[I],matchType:F!==void 0?lat:E[I]!==!1?sat:C[I]?oke:oat,short:E[I],group:p[I],push:b[I],pop:v[I],tokenTypeIdx:f[I],tokenType:o[I]}})});let L=!0,_=[];return r.safeMode||a("First Char Optimization",()=>{_=o.reduce((M,I,F)=>{if(typeof I.PATTERN=="string"){let O=I.PATTERN.charCodeAt(0),P=OA(O);lke(M,P,R[F])}else if(Array.isArray(I.START_CHARS_HINT)){let O;I.START_CHARS_HINT.forEach(P=>{let G=typeof P=="string"?P.charCodeAt(0):P,V=OA(G);O!==V&&(O=V,lke(M,V,R[F]))})}else if(I.PATTERN instanceof RegExp)if(I.PATTERN.unicode)L=!1,r.ensureOptimizations&&Ike(`${Nke} Unable to analyze < ${I.PATTERN.toString()} > pattern. + The regexp unicode flag is not currently supported by the regexp-to-ast library. + This will disable the lexer's first char optimizations. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`);else{let O=tDr(I.PATTERN,r.ensureOptimizations);O.length===0&&(L=!1),O.forEach(P=>{lke(M,P,R[F])})}else r.ensureOptimizations&&Ike(`${Nke} TokenType: <${I.name}> is using a custom token pattern without providing parameter. + This will disable the lexer's first char optimizations. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`),L=!1;return M},[])}),{emptyGroups:S,patternIdxToConfig:R,charCodeToPatternIdxToConfig:_,hasCustom:l,canBeOptimized:L}}function iDr(t){var r,a;if(!(t instanceof RegExp)||t.flags!=="")return;let o;try{o=MV(t)}catch{return}if(o.value.value.length!==1||o.value.value[0].value.length!==1)return;let l=o.value.value[0].value[0],h;for(;l.type==="Group";){if(l.capturing||l.quantifier!==void 0&&h!==void 0||l.value.value.length!==1||l.value.value[0].value.length!==1)return;h=(r=l.quantifier)!==null&&r!==void 0?r:h,l=l.value.value[0].value[0]}if(l.type!=="Set"||l.complement||l.quantifier!==void 0&&h!==void 0||(h=(a=l.quantifier)!==null&&a!==void 0?a:h,h?.atLeast!==1||h.atMost!==1/0||!h.greedy))return;let f=new Uint8Array(128);for(let p of l.value){let m=typeof p=="number"?p:p.from,b=typeof p=="number"?p:p.to;if(m<0||b>=f.length)return;f.fill(1,m,b+1)}return f}function aDr(t,r){let a=[],o=oDr(t);a=a.concat(o.errors);let l=lDr(o.valid),h=l.valid;return a=a.concat(l.errors),a=a.concat(sDr(h)),a=a.concat(pDr(h)),a=a.concat(gDr(h,r)),a=a.concat(mDr(h)),a}function sDr(t){let r=[],a=t.filter(o=>o[yP]instanceof RegExp);return r=r.concat(cDr(a)),r=r.concat(hDr(a)),r=r.concat(fDr(a)),r=r.concat(dDr(a)),r=r.concat(uDr(a)),r}function oDr(t){let r=t.filter(l=>!Object.hasOwn(l,yP)),a=r.map(l=>({message:"Token Type: ->"+l.name+"<- missing static 'PATTERN' property",type:xp.MISSING_PATTERN,tokenTypes:[l]})),o=t.filter(l=>!r.includes(l));return{errors:a,valid:o}}function lDr(t){let r=t.filter(l=>{let h=l[yP];return!(h instanceof RegExp)&&typeof h!="function"&&!Object.hasOwn(h,"exec")&&typeof h!="string"}),a=r.map(l=>({message:"Token Type: ->"+l.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:xp.INVALID_PATTERN,tokenTypes:[l]})),o=t.filter(l=>!r.includes(l));return{errors:a,valid:o}}function cDr(t){class r extends Qke{static{i(this,"EndAnchorFinder")}static{X(this,"EndAnchorFinder")}constructor(){super(...arguments),this.found=!1}visitEndAnchor(h){this.found=!0}}return t.filter(l=>{let h=l.PATTERN;try{let f=MV(h),p=new r;return p.visit(f),p.found}catch{return lei.test(h.source)}}).map(l=>({message:`Unexpected RegExp Anchor Error: + Token Type: ->`+l.name+`<- static 'PATTERN' cannot contain end of input anchor '$' + See chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:xp.EOI_ANCHOR_FOUND,tokenTypes:[l]}))}function uDr(t){return t.filter(o=>o.PATTERN.test("")).map(o=>({message:"Token Type: ->"+o.name+"<- static 'PATTERN' must not match an empty string",type:xp.EMPTY_MATCH_PATTERN,tokenTypes:[o]}))}function hDr(t){class r extends Qke{static{i(this,"StartAnchorFinder")}static{X(this,"StartAnchorFinder")}constructor(){super(...arguments),this.found=!1}visitStartAnchor(h){this.found=!0}}return t.filter(l=>{let h=l.PATTERN;try{let f=MV(h),p=new r;return p.visit(f),p.found}catch{return cei.test(h.source)}}).map(l=>({message:`Unexpected RegExp Anchor Error: + Token Type: ->`+l.name+`<- static 'PATTERN' cannot contain start of input anchor '^' + See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:xp.SOI_ANCHOR_FOUND,tokenTypes:[l]}))}function fDr(t){return t.filter(o=>{let l=o[yP];return l instanceof RegExp&&(l.multiline||l.global)}).map(o=>({message:"Token Type: ->"+o.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:xp.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[o]}))}function dDr(t){let r=[],a=t.map(h=>t.reduce((f,p)=>(h.PATTERN.source===p.PATTERN.source&&!r.includes(p)&&p.PATTERN!==h2.NA&&(r.push(p),f.push(p)),f),[]));return a=a.filter(Boolean),a.filter(h=>h.length>1).map(h=>{let f=h.map(m=>m.name);return{message:`The same RegExp pattern ->${h[0].PATTERN}<-has been used in all of the following Token Types: ${f.join(", ")} <-`,type:xp.DUPLICATE_PATTERNS_FOUND,tokenTypes:h}})}function pDr(t){return t.filter(o=>{if(!Object.hasOwn(o,"GROUP"))return!1;let l=o.GROUP;return l!==h2.SKIPPED&&l!==h2.NA&&typeof l!="string"}).map(o=>({message:"Token Type: ->"+o.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:xp.INVALID_GROUP_TYPE_FOUND,tokenTypes:[o]}))}function gDr(t,r){return t.filter(l=>l.PUSH_MODE!==void 0&&!r.includes(l.PUSH_MODE)).map(l=>({message:`Token Type: ->${l.name}<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->${l.PUSH_MODE}<-which does not exist`,type:xp.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[l]}))}function mDr(t){let r=[],a=t.reduce((o,l,h)=>{let f=l.PATTERN;return f===h2.NA||(typeof f=="string"?o.push({str:f,idx:h,tokenType:l}):f instanceof RegExp&&bDr(f)&&o.push({str:f.source,idx:h,tokenType:l})),o},[]);return t.forEach((o,l)=>{a.forEach(({str:h,idx:f,tokenType:p})=>{if(l${p.name}<- can never be matched. +Because it appears AFTER the Token Type ->${o.name}<-in the lexer's definition. +See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;r.push({message:m,type:xp.UNREACHABLE_PATTERN,tokenTypes:[o,p]})}})}),r}function yDr(t,r){if(r instanceof RegExp){if(vDr(r))return!1;let a=r.exec(t);return a!==null&&a.index===0}else{if(typeof r=="function")return r(t,0,[],{});if(Object.hasOwn(r,"exec"))return r.exec(t,0,[],{});if(typeof r=="string")return r===t;throw Error("non exhaustive match")}}function bDr(t){return[".","\\","[","]","|","^","$","(",")","?","*","+","{"].find(a=>t.source.indexOf(a)!==-1)===void 0}function vDr(t){return/(\(\?=)|(\(\?!)|(\(\?<=)|(\(\? property in its definition +`,type:xp.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),Object.hasOwn(t,ATe)||o.push({message:"A MultiMode Lexer cannot be initialized without a <"+ATe+`> property in its definition +`,type:xp.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),Object.hasOwn(t,ATe)&&Object.hasOwn(t,pie)&&!Object.hasOwn(t.modes,t.defaultMode)&&o.push({message:`A MultiMode Lexer cannot be initialized with a ${pie}: <${t.defaultMode}>which does not exist +`,type:xp.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),Object.hasOwn(t,ATe)&&Object.keys(t.modes).forEach(l=>{let h=t.modes[l];h.forEach((f,p)=>{f===void 0?o.push({message:`A Lexer cannot be initialized using an undefined Token Type. Mode:<${l}> at index: <${p}> +`,type:xp.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED}):Object.hasOwn(f,"LONGER_ALT")&&(Array.isArray(f.LONGER_ALT)?f.LONGER_ALT:[f.LONGER_ALT]).forEach(b=>{b!==void 0&&!h.includes(b)&&o.push({message:`A MultiMode Lexer cannot be initialized with a longer_alt <${b.name}> on token <${f.name}> outside of mode <${l}> +`,type:xp.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE})})})}),o}function xDr(t,r,a){let o=[],l=!1,f=Object.values(t.modes||{}).flat().filter(Boolean).filter(m=>m[yP]!==h2.NA),p=lot(a);return r&&f.forEach(m=>{let b=oot(m,p);if(b!==!1){let T={message:kDr(m,b),type:b.issue,tokenType:m};o.push(T)}else Object.hasOwn(m,"LINE_BREAKS")?m.LINE_BREAKS===!0&&(l=!0):t3e(p,m.PATTERN)&&(l=!0)}),r&&!l&&o.push({message:`Warning: No LINE_BREAKS Found. + This Lexer has been defined to track line and column information, + But none of the Token Types can be identified as matching a line terminator. + See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#LINE_BREAKS + for details.`,type:xp.NO_LINE_BREAKS_FLAGS}),o}function sot(t){let r=t.PATTERN;if(r instanceof RegExp)return!1;if(typeof r=="function")return!0;if(Object.hasOwn(r,"exec"))return!0;if(typeof r=="string")return!1;throw Error("non exhaustive match")}function TDr(t){return typeof t=="string"&&t.length===1?t.charCodeAt(0):!1}function oot(t,r){if(Object.hasOwn(t,"LINE_BREAKS"))return!1;if(t.PATTERN instanceof RegExp){try{t3e(r,t.PATTERN)}catch(a){return{issue:xp.IDENTIFY_TERMINATOR,errMsg:a.message}}return!1}else{if(typeof t.PATTERN=="string")return!1;if(sot(t))return{issue:xp.CUSTOM_LINE_BREAK};throw Error("non exhaustive match")}}function kDr(t,r){if(r.issue===xp.IDENTIFY_TERMINATOR)return`Warning: unable to identify line terminator usage in pattern. + The problem is in the <${t.name}> Token Type + Root cause: ${r.errMsg}. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR`;if(r.issue===xp.CUSTOM_LINE_BREAK)return`Warning: A Custom Token Pattern should specify the option. + The problem is in the <${t.name}> Token Type + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK`;throw Error("non exhaustive match")}function lot(t){return t.map(a=>typeof a=="string"?a.charCodeAt(0):a)}function lke(t,r,a){t[r]===void 0?t[r]=[a]:t[r].push(a)}function OA(t){return t255?255+~~(t/255):t}}function IV(t,r){let a=t.tokenTypeIdx;return a===r.tokenTypeIdx?!0:r.isParent===!0&&r.categoryMatchesMap[a]===!0}function Die(t,r){return t.tokenTypeIdx===r.tokenTypeIdx}function NV(t){let r=SDr(t);ADr(r),LDr(r),RDr(r),r.forEach(a=>{a.isParent=a.categoryMatches.length>0})}function SDr(t){let r=[...t],a=t,o=!0;for(;o;){a=a.map(h=>h.CATEGORIES).flat().filter(Boolean);let l=a.filter(h=>!r.includes(h));r=r.concat(l),l.length===0?o=!1:a=l}return r}function ADr(t){t.forEach(r=>{uot(r)||(EDr[E7r]=r,r.tokenTypeIdx=E7r++),uat(r)&&!Array.isArray(r.CATEGORIES)&&(r.CATEGORIES=[r.CATEGORIES]),uat(r)||(r.CATEGORIES=[]),DDr(r)||(r.categoryMatches=[]),_Dr(r)||(r.categoryMatchesMap={})})}function RDr(t){t.forEach(r=>{r.categoryMatches=[],Object.keys(r.categoryMatchesMap).forEach(a=>{r.categoryMatches.push(EDr[a].tokenTypeIdx)})})}function LDr(t){t.forEach(r=>{cot([],r)})}function cot(t,r){t.forEach(a=>{r.categoryMatchesMap[a.tokenTypeIdx]=!0}),r.CATEGORIES.forEach(a=>{let o=t.concat(r);o.includes(a)||cot(o,a)})}function uot(t){return Object.hasOwn(t??{},"tokenTypeIdx")}function uat(t){return Object.hasOwn(t??{},"CATEGORIES")}function DDr(t){return Object.hasOwn(t??{},"categoryMatches")}function _Dr(t){return Object.hasOwn(t??{},"categoryMatchesMap")}function MDr(t){return Object.hasOwn(t??{},"tokenTypeIdx")}function mP(t){return hot(t)?t.LABEL:t.name}function hot(t){return typeof t.LABEL=="string"&&t.LABEL!==""}function fot(t){return IDr(t)}function IDr(t){let r=t.pattern,a={};if(a.name=t.name,r!==void 0&&(a.PATTERN=r),Object.hasOwn(t,hei))throw`The parent property is no longer supported. +See: https://github.com/chevrotain/chevrotain/issues/564#issuecomment-349062346 for details.`;return Object.hasOwn(t,S7r)&&(a.CATEGORIES=t[S7r]),NV([a]),Object.hasOwn(t,A7r)&&(a.LABEL=t[A7r]),Object.hasOwn(t,R7r)&&(a.GROUP=t[R7r]),Object.hasOwn(t,D7r)&&(a.POP_MODE=t[D7r]),Object.hasOwn(t,L7r)&&(a.PUSH_MODE=t[L7r]),Object.hasOwn(t,_7r)&&(a.LONGER_ALT=t[_7r]),Object.hasOwn(t,M7r)&&(a.LINE_BREAKS=t[M7r]),Object.hasOwn(t,I7r)&&(a.START_CHARS_HINT=t[I7r]),a}function r3e(t,r,a,o,l,h,f,p){return{image:r,startOffset:a,endOffset:o,startLine:l,endLine:h,startColumn:f,endColumn:p,tokenTypeIdx:t.tokenTypeIdx,tokenType:t}}function n3e(t,r){return IV(t,r)}function NDr(t,r){let a=new dei(t,r);return a.resolveRefs(),a.errors}function Bke(t,r,a=[]){a=[...a];let o=[],l=0;function h(p){return p.concat(t.slice(l+1))}i(h,"remainingPathWith"),X(h,"remainingPathWith");function f(p){let m=Bke(h(p),r,a);return o.concat(m)}for(i(f,"getAlternativesForProd"),X(f,"getAlternativesForProd");a.length{m.definition.length!==0&&(o=f(m.definition))}),o;if(p instanceof kf)a.push(p.terminalType);else throw Error("non exhaustive match")}l++}return o.push({partialPath:a,suffixDef:t.slice(l)}),o}function ODr(t,r,a,o){let l="EXIT_NONE_TERMINAL",h=[l],f="EXIT_ALTERNATIVE",p=!1,m=r.length,b=m-o-1,v=[],T=[];for(T.push({idx:-1,def:t,ruleStack:[],occurrenceStack:[]});T.length!==0;){let C=T.pop();if(C===f){p&&T.at(-1).idx<=b&&T.pop();continue}let E=C.def,S=C.idx,R=C.ruleStack,L=C.occurrenceStack;if(E.length===0)continue;let _=E[0];if(_===l){let M={idx:S,def:E.slice(1),ruleStack:R.slice(0,-1),occurrenceStack:L.slice(0,-1)};T.push(M)}else if(_ instanceof kf)if(S=0;M--){let I=_.definition[M],F={idx:S,def:I.definition.concat(E.slice(1)),ruleStack:R,occurrenceStack:L};T.push(F),T.push(f)}else if(_ instanceof f2)T.push({idx:S,def:_.definition.concat(E.slice(1)),ruleStack:R,occurrenceStack:L});else if(_ instanceof LV)T.push(PDr(_,S,R,L));else throw Error("non exhaustive match")}return v}function PDr(t,r,a,o){let l=[...a];l.push(t.name);let h=[...o];return h.push(1),{idx:r,def:t.definition,ruleStack:l,occurrenceStack:h}}function a3e(t){if(t instanceof p1||t==="Option")return Pd.OPTION;if(t instanceof wp||t==="Repetition")return Pd.REPETITION;if(t instanceof Qw||t==="RepetitionMandatory")return Pd.REPETITION_MANDATORY;if(t instanceof Jw||t==="RepetitionMandatoryWithSeparator")return Pd.REPETITION_MANDATORY_WITH_SEPARATOR;if(t instanceof d2||t==="RepetitionWithSeparator")return Pd.REPETITION_WITH_SEPARATOR;if(t instanceof p2||t==="Alternation")return Pd.ALTERNATION;throw Error("non exhaustive match")}function fat(t){let{occurrence:r,rule:a,prodType:o,maxLookahead:l}=t,h=a3e(o);return h===Pd.ALTERNATION?Wie(r,a,l):Yie(r,a,h,l)}function BDr(t,r,a,o,l,h){let f=Wie(t,r,a),p=pot(f)?Die:IV;return h(f,o,p,l)}function FDr(t,r,a,o,l,h){let f=Yie(t,r,l,a),p=pot(f)?Die:IV;return h(f[0],p,o)}function $Dr(t,r,a,o){let l=t.length,h=t.every(f=>f.every(p=>p.length===1));if(r)return function(f){let p=f.map(m=>m.GATE);for(let m=0;mm.flat()).reduce((m,b,v)=>(b.forEach(T=>{T.tokenTypeIdx in m||(m[T.tokenTypeIdx]=v),T.categoryMatches.forEach(C=>{Object.hasOwn(m,C)||(m[C]=v)})}),m),{});return function(){let m=this.LA_FAST(1);return p[m.tokenTypeIdx]}}else return function(){for(let f=0;fh.length===1),l=t.length;if(o&&!a){let h=t.flat();if(h.length===1&&h[0].categoryMatches.length===0){let p=h[0].tokenTypeIdx;return function(){return this.LA_FAST(1).tokenTypeIdx===p}}else{let f=h.reduce((p,m,b)=>(p[m.tokenTypeIdx]=!0,m.categoryMatches.forEach(v=>{p[v]=!0}),p),[]);return function(){let p=this.LA_FAST(1);return f[p.tokenTypeIdx]===!0}}}else return function(){e:for(let h=0;hBke([f],1)),o=dat(a.length),l=a.map(f=>{let p={};return f.forEach(m=>{uke(m.partialPath).forEach(v=>{p[v]=!0})}),p}),h=a;for(let f=1;f<=r;f++){let p=h;h=dat(p.length);for(let m=0;m{uke(L.partialPath).forEach(M=>{l[m][M]=!0})})}}}}return o}function Wie(t,r,a,o){let l=new jDr(t,Pd.ALTERNATION,o);return r.accept(l),dot(l.result,a)}function Yie(t,r,a,o){let l=new jDr(t,a);r.accept(l);let h=l.result,p=new bei(r,t,a).startWalking(),m=new f2({definition:h}),b=new f2({definition:p});return dot([m,b],o)}function Fke(t,r){e:for(let a=0;a{let l=r[o];return a===l||l.categoryMatchesMap[a.tokenTypeIdx]})}function pot(t){return t.every(r=>r.every(a=>a.every(o=>o.categoryMatches.length===0)))}function VDr(t){return t.lookaheadStrategy.validate({rules:t.rules,tokenTypes:t.tokenTypes,grammarName:t.grammarName}).map(a=>Object.assign({type:Mb.CUSTOM_LOOKAHEAD_VALIDATION},a))}function HDr(t,r,a,o){let l=t.flatMap(m=>qDr(m,a)),h=r_r(t,r,a),f=t.flatMap(m=>JDr(m,a)),p=t.flatMap(m=>YDr(m,t,o,a));return l.concat(h,f,p)}function qDr(t,r){let a=new vei;t.accept(a);let o=a.allProductions,l=Object.groupBy(o,WDr),h=Object.fromEntries(Object.entries(l).filter(([p,m])=>m.length>1));return Object.values(h).map(p=>{let m=p[0],b=r.buildDuplicateFoundError(t,p),v=M4(m),T={message:b,type:Mb.DUPLICATE_PRODUCTIONS,ruleName:t.name,dslName:v,occurrence:m.idx},C=got(m);return C&&(T.parameter=C),T})}function WDr(t){return`${M4(t)}_#_${t.idx}_#_${got(t)}`}function got(t){return t instanceof kf?t.terminalType.name:t instanceof _b?t.nonTerminalName:""}function YDr(t,r,a,o){let l=[];if(r.reduce((f,p)=>p.name===t.name?f+1:f,0)>1){let f=o.buildDuplicateRuleNameError({topLevelRule:t,grammarName:a});l.push({message:f,type:Mb.DUPLICATE_RULE_NAME,ruleName:t.name})}return l}function KDr(t,r,a){let o=[],l;return r.includes(t)||(l=`Invalid rule override, rule: ->${t}<- cannot be overridden in the grammar: ->${a}<-as it is not defined in any of the super grammars `,o.push({message:l,type:Mb.INVALID_RULE_OVERRIDE,ruleName:t})),o}function mot(t,r,a,o=[]){let l=[],h=vie(r.definition);if(h.length===0)return[];{let f=t.name;h.includes(t)&&l.push({message:a.buildLeftRecursionError({topLevelRule:t,leftRecursionPath:o}),type:Mb.LEFT_RECURSION,ruleName:f});let m=o.concat([t]),v=h.filter(T=>!m.includes(T)).flatMap(T=>{let C=[...o];return C.push(T),mot(t,T,a,C)});return l.concat(v)}}function vie(t){let r=[];if(t.length===0)return r;let a=t[0];if(a instanceof _b)r.push(a.referencedRule);else if(a instanceof f2||a instanceof p1||a instanceof Qw||a instanceof Jw||a instanceof d2||a instanceof wp)r=r.concat(vie(a.definition));else if(a instanceof p2)r=a.definition.map(h=>vie(h.definition)).flat();else if(!(a instanceof kf))throw Error("non exhaustive match");let o=Lie(a),l=t.length>1;if(o&&l){let h=t.slice(1);return r.concat(vie(h))}else return r}function XDr(t,r){let a=new yot;return t.accept(a),a.alternations.flatMap(h=>h.definition.slice(0,-1).flatMap((p,m)=>ODr([p],[],IV,1).length===0?[{message:r.buildEmptyAlternationError({topLevelRule:t,alternation:h,emptyChoiceIdx:m}),type:Mb.NONE_LAST_EMPTY_ALT,ruleName:t.name,occurrence:h.idx,alternative:m+1}]:[]))}function QDr(t,r,a){let o=new yot;t.accept(o);let l=o.alternations;return l=l.filter(f=>f.ignoreAmbiguities!==!0),l.flatMap(f=>{let p=f.idx,m=f.maxLookahead||r,b=Wie(p,t,m,f),v=e_r(b,f,t,a),T=t_r(b,f,t,a);return v.concat(T)})}function JDr(t,r){let a=new yot;return t.accept(a),a.alternations.flatMap(h=>h.definition.length>255?[{message:r.buildTooManyAlternativesError({topLevelRule:t,alternation:h}),type:Mb.TOO_MANY_ALTS,ruleName:t.name,occurrence:h.idx}]:[])}function ZDr(t,r,a){let o=[];return t.forEach(l=>{let h=new wei;l.accept(h),h.allProductions.forEach(p=>{let m=a3e(p),b=p.maxLookahead||r,v=p.idx;if(Yie(v,l,m,b)[0].flat().length===0){let E=a.buildEmptyRepetitionError({topLevelRule:l,repetition:p});o.push({message:E,type:Mb.NO_NON_EMPTY_LOOKAHEAD,ruleName:l.name})}})}),o}function e_r(t,r,a,o){let l=[];return t.reduce((p,m,b)=>(r.definition[b].ignoreAmbiguities===!0||m.forEach(v=>{let T=[b];t.forEach((C,E)=>{b!==E&&Fke(C,v)&&r.definition[E].ignoreAmbiguities!==!0&&T.push(E)}),T.length>1&&!Fke(l,v)&&(l.push(v),p.push({alts:T,path:v}))}),p),[]).map(p=>{let m=p.alts.map(v=>v+1);return{message:o.buildAlternationAmbiguityError({topLevelRule:a,alternation:r,ambiguityIndices:m,prefixPath:p.path}),type:Mb.AMBIGUOUS_ALTS,ruleName:a.name,occurrence:r.idx,alternatives:p.alts}})}function t_r(t,r,a,o){let l=t.reduce((f,p,m)=>{let b=p.map(v=>({idx:m,path:v}));return f.concat(b)},[]);return l.flatMap(f=>{if(r.definition[f.idx].ignoreAmbiguities===!0)return[];let m=f.idx,b=f.path;return l.filter(C=>r.definition[C.idx].ignoreAmbiguities!==!0&&C.idx{let E=[C.idx+1,m+1],S=r.idx===0?"":r.idx;return{message:o.buildAlternationPrefixAmbiguityError({topLevelRule:a,alternation:r,ambiguityIndices:E,prefixPath:C.path}),type:Mb.AMBIGUOUS_PREFIX_ALTS,ruleName:a.name,occurrence:S,alternatives:E}})})}function r_r(t,r,a){let o=[],l=r.map(h=>h.name);return t.forEach(h=>{let f=h.name;if(l.includes(f)){let p=a.buildNamespaceConflictError(h);o.push({message:p,type:Mb.CONFLICT_TOKENS_RULES_NAMESPACE,ruleName:f})}}),o}function n_r(t){let r=Object.assign({errMsgProvider:fei},t),a={};return t.rules.forEach(o=>{a[o.name]=o}),NDr(a,r.errMsgProvider)}function i_r(t){var r;let a=(r=t.errMsgProvider)!==null&&r!==void 0?r:gP;return HDr(t.rules,t.tokenTypes,a,t.grammarName)}function _ie(t){return c_r.includes(t.name)}function f_r(t,r,a,o,l,h,f){var p,m,b;let v=o|l,T=(p=(m=this.firstAfterRepMap)[b=this.currRuleShortName])!==null&&p!==void 0?p:m[b]=[],C=T[v];if(C===void 0){let L=this.getCurrRuleFullName(),_=this.getGAstProductions()[L];C=new h(_,l).startWalking(),T[v]=C}let E=C.token,S=C.occurrence,R=C.isEndOfRule;this.RULE_STACK_IDX===0&&R&&E===void 0&&(E=PA,S=1),!(E===void 0||S===void 0)&&this.shouldInRepetitionRecoveryBeTried(E,S,f)&&this.tryInRepetitionRecovery(t,r,a,E)}function g_r(t){RTe.reset(),t.accept(RTe);let r=RTe.dslMethods;return RTe.reset(),r}function yat(t,r){t.startOffset===-1?(t.startOffset=r.startOffset,t.endOffset=r.endOffset):t.endOffsetf.msg);throw Error(`Errors Detected in CST Visitor <${this.constructor.name}>: + ${h.join(` + +`).replace(/\n/g,` + `)}`)}},"validateVisitor")};return a.prototype=o,a.prototype.constructor=a,a._RULE_NAMES=r,a}function w_r(t,r,a){let o=X(function(){},"derivedConstructor");vot(o,t+"BaseSemanticsWithDefaults");let l=Object.create(a.prototype);return r.forEach(h=>{l[h]=b_r}),o.prototype=l,o.prototype.constructor=o,o}function x_r(t,r){return T_r(t,r)}function T_r(t,r){return r.filter(l=>typeof t[l]!="function").map(l=>({msg:`Missing visitor method: <${l}> on ${t.constructor.name} CST Visitor.`,type:vat.MISSING_METHOD,methodName:l})).filter(Boolean)}function uV(t,r,a,o=!1){Mie(a);let l=this.recordingProdStack.at(-1),h=typeof r=="function"?r:r.DEF,f=new t({definition:[],idx:a});return o&&(f.separator=r.SEP),Object.hasOwn(r,"MAX_LOOKAHEAD")&&(f.maxLookahead=r.MAX_LOOKAHEAD),this.recordingProdStack.push(f),h.call(this),l.definition.push(f),this.recordingProdStack.pop(),o3e}function E_r(t,r){Mie(r);let a=this.recordingProdStack.at(-1),o=Array.isArray(t)===!1,l=o===!1?t:t.DEF,h=new p2({definition:[],idx:r,ignoreAmbiguities:o&&t.IGNORE_AMBIGUITIES===!0});Object.hasOwn(t,"MAX_LOOKAHEAD")&&(h.maxLookahead=t.MAX_LOOKAHEAD);let f=l.some(p=>typeof p.GATE=="function");return h.hasPredicates=f,a.definition.push(h),l.forEach(p=>{let m=new f2({definition:[]});h.definition.push(m),Object.hasOwn(p,"IGNORE_AMBIGUITIES")?m.ignoreAmbiguities=p.IGNORE_AMBIGUITIES:Object.hasOwn(p,"GATE")&&(m.ignoreAmbiguities=!0),this.recordingProdStack.push(m),p.ALT.call(this),this.recordingProdStack.pop()}),o3e}function wat(t){return t===0?"":`${t}`}function Mie(t){if(t<0||t>B7r){let r=new Error(`Invalid DSL Method idx value: <${t}> + Idx value must be a none negative value smaller than ${B7r+1}`);throw r.KNOWN_RECORDER_ERROR=!0,r}}function S_r(t,r){r.forEach(a=>{let o=a.prototype;Object.getOwnPropertyNames(o).forEach(l=>{if(l==="constructor")return;let h=Object.getOwnPropertyDescriptor(o,l);h&&(h.get||h.set)?Object.defineProperty(t.prototype,l,h):t.prototype[l]=a.prototype[l]})})}function xat(t=void 0){return function(){return t}}function R_r(t,r){for(var a=-1,o=t==null?0:t.length,l=Array(o);++a-1}function B_r(t,r){var a=this.__data__,o=l3e(a,t);return o<0?(++this.size,a.push([t,r])):a[o][1]=r,this}function xP(t){var r=-1,a=t==null?0:t.length;for(this.clear();++rp))return!1;var b=h.get(t),v=h.get(r);if(b&&v)return b==r&&v==t;var T=-1,C=!0,E=a&Xti?new mMr:void 0;for(h.set(t,r),h.set(r,t);++T-1&&t%1==0&&t-1&&t%1==0&&t<=_ri}function GMr(t){return CV(t)&&kot(t.length)&&!!Tf[PV(t)]}function jMr(t){return function(r){return t(r)}}function UMr(t,r){var a=Ib(t),o=!a&&f3e(t),l=!a&&!o&&Gke(t),h=!a&&!o&&!l&&Cot(t),f=a||o||l||h,p=f?wri(t.length,String):[],m=p.length;for(var b in t)(r||lni.call(t,b))&&!(f&&(b=="length"||l&&(b=="offset"||b=="parent")||h&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||FMr(b,m)))&&p.push(b);return p}function VMr(t){var r=t&&t.constructor,a=typeof r=="function"&&r.prototype||uni;return t===a}function qMr(t,r){return function(a){return t(r(a))}}function WMr(t){if(!HMr(t))return dni(t);var r=[];for(var a in Object(t))gni.call(t,a)&&a!="constructor"&&r.push(a);return r}function KMr(t){return t!=null&&kot(t.length)&&!K_r(t)}function XMr(t){return d3e(t)?cni(t):YMr(t)}function QMr(t){return pri(t,Eot,vri)}function JMr(t,r,a,o,l,h){var f=a&mni,p=K7r(t),m=p.length,b=K7r(r),v=b.length;if(m!=v&&!f)return!1;for(var T=m;T--;){var C=p[T];if(!(f?C in r:bni.call(r,C)))return!1}var E=h.get(t),S=h.get(r);if(E&&S)return E==r&&S==t;var R=!0;h.set(t,r),h.set(r,t);for(var L=f;++T_ot(t,r,f));return AP(t,r,o,a,...l)}function H9r(t,r,a){let o=C0(t,r,a,{type:qD});$A(t,o);let l=AP(t,r,o,a,YD(t,r,a));return q9r(t,r,a,l)}function YD(t,r,a){let o=yii(IA(a.definition,l=>_ot(t,r,l)),l=>l!==void 0);return o.length===1?o[0]:o.length===0?void 0:Y9r(t,o)}function Mot(t,r,a,o,l){let h=o.left,f=o.right,p=C0(t,r,a,{type:Tii});$A(t,p);let m=C0(t,r,a,{type:P9r});return h.loopback=p,m.loopback=p,t.decisionMap[bP(r,l?"RepetitionMandatoryWithSeparator":"RepetitionMandatory",a.idx)]=p,tg(f,p),l===void 0?(tg(p,h),tg(p,m)):(tg(p,m),tg(p,l.left),tg(l.right,h)),{left:h,right:m}}function Iot(t,r,a,o,l){let h=o.left,f=o.right,p=C0(t,r,a,{type:xii});$A(t,p);let m=C0(t,r,a,{type:P9r}),b=C0(t,r,a,{type:wii});return p.loopback=b,m.loopback=b,tg(p,h),tg(p,m),tg(f,b),l!==void 0?(tg(b,m),tg(b,l.left),tg(l.right,h)):tg(b,p),t.decisionMap[bP(r,l?"RepetitionWithSeparator":"Repetition",a.idx)]=p,{left:p,right:m}}function q9r(t,r,a,o){let l=o.left,h=o.right;return tg(l,h),t.decisionMap[bP(r,"Option",a.idx)]=l,o}function $A(t,r){return t.decisionStates.push(r),r.decision=t.decisionStates.length-1,r.decision}function AP(t,r,a,o,...l){let h=C0(t,r,o,{type:vii,start:a});a.end=h;for(let p of l)p!==void 0?(tg(a,p.left),tg(p.right,h)):tg(a,h);let f={left:a,right:h};return t.decisionMap[bP(r,W9r(o),o.idx)]=a,f}function W9r(t){if(t instanceof p2)return"Alternation";if(t instanceof p1)return"Option";if(t instanceof wp)return"Repetition";if(t instanceof d2)return"RepetitionWithSeparator";if(t instanceof Qw)return"RepetitionMandatory";if(t instanceof Jw)return"RepetitionMandatoryWithSeparator";throw new Error("Invalid production type encountered")}function Y9r(t,r){let a=r.length;for(let h=0;ha.stateNumber.toString()).join("_")}`}function J9r(t,r,a){for(var o=-1,l=t.length;++o0&&a(p)?r>1?Oot(p,r-1,a,o,l):SMr(l,p):o||(l[l.length]=p)}return l}function nIr(t,r){return rIr(IA(t,r),1)}function iIr(t,r,a,o){for(var l=t.length,h=a+(o?1:-1);o?h--:++h-1}function cIr(t,r,a){for(var o=-1,l=t==null?0:t.length;++o=Fii){var b=r?null:Bii(t);if(b)return Tot(b);f=!1,l=vMr,m=new mMr}else m=r?[]:p;e:for(;++o{let l=o.toString(),h=a[l];return h!==void 0||(h={atnStartState:t,decision:r,states:{}},a[l]=h),h}}function Aat(t,r=!0){let a=new Set;for(let o of t){let l=new Set;for(let h of o){if(h===void 0){if(r)break;return!1}let f=[h.tokenTypeIdx].concat(h.categoryMatches);for(let p of f)if(a.has(p)){if(!l.has(p))return!1}else a.add(p),l.add(p)}}return!0}function kIr(t){let r=new Map;for(let a of t.states)for(let o of a.transitions)if(o instanceof w3e){let l=r.get(o.rule);l===void 0&&(l=[],r.set(o.rule,l)),l.push(o.followState)}return r}function Rat(t,r){let a=new Set,o=new Set,l=[t];for(;l.length>0;){let h=l.shift();if(!o.has(h)){if(o.add(h),h.type===SP){if(r!==void 0){let f=r.get(h.rule);f!==void 0&&l.push(...f)}continue}for(let f of h.transitions)if(f instanceof v3e){a.add(f.tokenType.tokenTypeIdx);for(let p of f.tokenType.categoryMatches)a.add(p)}else l.push(f.target)}}return a}function CIr(t,r,a){let o=r==="RepetitionMandatoryWithSeparator",l=t.transitions[o?1:0],h=t.transitions[o?0:1];if(l===void 0||h===void 0)return!1;let f=Rat(l.target),p=Rat(h.target,a);for(let m of f)if(p.has(m))return!0;return!1}function EIr(t){let r=t.decisionStates.length,a=Array(r);for(let o=0;omP(l)).join(", "),a=t.production.idx===0?"":t.production.idx,o=`Ambiguous Alternatives Detected: <${t.ambiguityIndices.join(", ")}> in <${DIr(t.production)}${a}> inside <${t.topLevelRule.name}> Rule, +<${r}> may appears as a prefix path in all these alternatives. +`;return o=o+`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES +For Further details.`,o}function DIr(t){if(t instanceof _b)return"SUBRULE";if(t instanceof p1)return"OPTION";if(t instanceof p2)return"OR";if(t instanceof Qw)return"AT_LEAST_ONE";if(t instanceof Jw)return"AT_LEAST_ONE_SEP";if(t instanceof d2)return"MANY_SEP";if(t instanceof wp)return"MANY";if(t instanceof kf)return"CONSUME";throw Error("non exhaustive match")}function _Ir(t,r,a){let o=Aii(r.configs.elements,h=>h.state.transitions),l=Gii(o.filter(h=>h instanceof v3e).map(h=>h.tokenType),h=>h.tokenTypeIdx);return{actualToken:a,possibleTokenTypes:l,tokenPath:t}}function MIr(t,r){return t.edges[r.tokenTypeIdx]}function IIr(t,r,a){let o=new Sat,l=[];for(let f of t.elements){if(a.is(f.alt)===!1)continue;if(f.state.type===SP){l.push(f);continue}let p=f.state.transitions.length;for(let m=0;m0&&!FIr(h))for(let f of l)h.add(f);return h}function NIr(t,r){if(t instanceof v3e&&n3e(r,t.tokenType))return t.target}function OIr(t,r){let a;for(let o of t.elements)if(r.is(o.alt)===!0){if(a===void 0)a=o.alt;else if(a!==o.alt)return}return a}function Pot(t){return{configs:t,edges:{},isAcceptState:!1,prediction:-1}}function Lat(t,r,a,o){return o=Bot(t,o),r.edges[a.tokenTypeIdx]=o,o}function Bot(t,r){if(r===jke)return r;let a=r.configs.key,o=t.states[a];return o!==void 0?o:(r.configs.finalize(),t.states[a]=r,r)}function PIr(t){let r=new Sat,a=t.transitions.length;for(let o=0;o0){let l=[...t.stack],f={state:l.pop(),alt:t.alt,stack:l};Pie(f,r)}else r.add(t);return}a.epsilonOnlyTransitions||r.add(t);let o=a.transitions.length;for(let l=0;l1)return!0;return!1}function UIr(t){for(let r of Array.from(t.values()))if(Object.keys(r).length===1)return!0;return!1}function VIr(t,r){let a;for(let o of t.configs.elements)if(!(r.is(o.alt)===!1||o.state.type===SP)){if(a===void 0)a=o.alt;else if(a!==o.alt)return}return a}function tP(t){return t|0}function pke(t){return t.$type===Dat}function $ot(t,r,a){return ZIr({parser:r,tokens:a,ruleNames:new Map},t),r}function ZIr(t,r){let a=Yst(r,!1),o=Xf(r.rules).filter(MS).filter(h=>a.has(h));for(let h of o){let f={...t,consume:1,optional:1,subrule:1,many:1,or:1};t.parser.rule(h,WD(f,h.definition))}let l=Xf(r.rules).filter(Aie).filter(h=>a.has(h));for(let h of l)t.parser.rule(h,eNr(t,h))}function eNr(t,r){let a=r.call.rule.ref;if(!a)throw new Error("Could not resolve reference to infix operator rule: "+r.call.rule.$refText);if(IS(a))throw new Error("Cannot use terminal rule in infix expression");let o=r.operators.precedences.flatMap(E=>E.operators),l={$type:"Group",elements:[]},h={$container:l,$type:"Assignment",feature:"parts",operator:"+=",terminal:r.call},f={$container:l,$type:"Group",elements:[],cardinality:"*"};l.elements.push(h,f);let m={$container:f,$type:"Assignment",feature:"operators",operator:"+=",terminal:{$type:"Alternatives",elements:o}},b={...h,$container:f};f.elements.push(m,b);let T=o.map(E=>t.tokens[E.value]).map((E,S)=>({ALT:X(()=>t.parser.consume(S,E,m),"ALT")})),C;return E=>{C??(C=k3e(t,a)),t.parser.subrule(0,C,!1,h,E),t.parser.many(0,{DEF:X(()=>{t.parser.alternatives(0,T),t.parser.subrule(1,C,!1,b,E)},"DEF")})}}function WD(t,r,a=!1){let o;if(VD(r))o=oNr(t,r);else if(Vie(r))o=tNr(t,r);else if(UD(r))o=WD(t,r.terminal);else if(Hie(r))o=Got(t,r);else if(HD(r))o=rNr(t,r);else if(Ust(r))o=iNr(t,r);else if(qst(r))o=aNr(t,r);else if(Xke(r))o=sNr(t,r);else if(tLr(r)){let l=t.consume++;o=X(()=>t.parser.consume(l,PA,r),"method")}else throw new xLr(r.$cstNode,`Unexpected element type: ${r.$type}`);return jot(t,a?void 0:Bie(r),o,r.cardinality)}function tNr(t,r){let a=TV(r);return()=>t.parser.action(a,r)}function rNr(t,r){let a=r.rule.ref;if(AV(a)){let o=t.subrule++,l=MS(a)&&a.fragment,h=r.arguments.length>0?nNr(a,r.arguments):()=>({}),f;return p=>{f??(f=k3e(t,a)),t.parser.subrule(o,f,l,r,h(p))}}else if(IS(a)){let o=t.consume++,l=zke(t,a.name);return()=>t.parser.consume(o,l,r)}else if(a)RV(a);else throw new xLr(r.$cstNode,`Undefined rule: ${r.rule.$refText}`)}function nNr(t,r){if(r.some(o=>o.calledByName)){let o=r.map(l=>({parameterName:l.parameter?.ref?.name,predicate:I4(l.value)}));return l=>{let h={};for(let{parameterName:f,predicate:p}of o)f&&(h[f]=p(l));return h}}else{let o=r.map(l=>I4(l.value));return l=>{let h={};for(let f=0;fr(o)||a(o)}else if(ZRr(t)){let r=I4(t.left),a=I4(t.right);return o=>r(o)&&a(o)}else if(iLr(t)){let r=I4(t.value);return a=>!r(a)}else if(aLr(t)){let r=t.parameter.ref.name;return a=>a!==void 0&&a[r]===!0}else if(QRr(t)){let r=!!t.true;return()=>r}RV(t)}function iNr(t,r){if(r.elements.length===1)return WD(t,r.elements[0]);{let a=[];for(let l of r.elements){let h={ALT:WD(t,l,!0)},f=Bie(l);f&&(h.GATE=I4(f)),a.push(h)}let o=t.or++;return l=>t.parser.alternatives(o,a.map(h=>{let f={ALT:X(()=>h.ALT(l),"ALT")},p=h.GATE;return p&&(f.GATE=()=>p(l)),f}))}}function aNr(t,r){if(r.elements.length===1)return WD(t,r.elements[0]);let a=[];for(let p of r.elements){let m={ALT:WD(t,p,!0)},b=Bie(p);b&&(m.GATE=I4(b)),a.push(m)}let o=t.or++,l=X((p,m)=>{let b=m.getRuleStack().join("-");return`uGroup_${p}_${b}`},"idFunc"),h=X(p=>t.parser.alternatives(o,a.map((m,b)=>{let v={ALT:X(()=>!0,"ALT")},T=t.parser;v.ALT=()=>{if(m.ALT(p),!T.isRecording()){let E=l(o,T);T.unorderedGroups.get(E)||T.unorderedGroups.set(E,[]);let S=T.unorderedGroups.get(E);typeof S?.[b]>"u"&&(S[b]=!0)}};let C=m.GATE;return C?v.GATE=()=>C(p):v.GATE=()=>!T.unorderedGroups.get(l(o,T))?.[b],v})),"alternatives"),f=jot(t,Bie(r),h,"*");return p=>{f(p),t.parser.isRecording()||t.parser.unorderedGroups.delete(l(o,t.parser))}}function sNr(t,r){let a=r.elements.map(o=>WD(t,o));return o=>a.forEach(l=>l(o))}function Bie(t){if(Xke(t))return t.guardCondition}function Got(t,r,a=r.terminal){if(a)if(HD(a)&&MS(a.rule.ref)){let o=a.rule.ref,l=t.subrule++,h;return f=>{h??(h=k3e(t,o)),t.parser.subrule(l,h,!1,r,f)}}else if(HD(a)&&IS(a.rule.ref)){let o=t.consume++,l=zke(t,a.rule.ref.name);return()=>t.parser.consume(o,l,r)}else if(VD(a)){let o=t.consume++,l=zke(t,a.value);return()=>t.parser.consume(o,l,r)}else throw new Error("Could not build cross reference parser");else{if(!r.type.ref)throw new Error("Could not resolve reference to type: "+r.type.$refText);let l=Qst(r.type.ref)?.terminal;if(!l)throw new Error("Could not find name assignment for type: "+TV(r.type.ref));return Got(t,r,l)}}function oNr(t,r){let a=t.consume++,o=t.tokens[r.value];if(!o)throw new Error("Could not find token for keyword: "+r.value);return()=>t.parser.consume(a,o,r)}function jot(t,r,a,o){let l=r&&I4(r);if(!o)if(l){let h=t.or++;return f=>t.parser.alternatives(h,[{ALT:X(()=>a(f),"ALT"),GATE:X(()=>l(f),"GATE")},{ALT:xat(),GATE:X(()=>!l(f),"GATE")}])}else return a;if(o==="*"){let h=t.many++;return f=>t.parser.many(h,{DEF:X(()=>a(f),"DEF"),GATE:l?()=>l(f):void 0})}else if(o==="+"){let h=t.many++;if(l){let f=t.or++;return p=>t.parser.alternatives(f,[{ALT:X(()=>t.parser.atLeastOne(h,{DEF:X(()=>a(p),"DEF")}),"ALT"),GATE:X(()=>l(p),"GATE")},{ALT:xat(),GATE:X(()=>!l(p),"GATE")}])}else return f=>t.parser.atLeastOne(h,{DEF:X(()=>a(f),"DEF")})}else if(o==="?"){let h=t.optional++;return f=>t.parser.optional(h,{DEF:X(()=>a(f),"DEF"),GATE:l?()=>l(f):void 0})}else RV(o)}function k3e(t,r){let a=lNr(t,r),o=t.parser.getRule(a);if(!o)throw new Error(`Rule "${a}" not found."`);return o}function lNr(t,r){if(AV(r))return r.name;if(t.ruleNames.has(r))return t.ruleNames.get(r);{let a=r,o=a.$container,l=r.$type;for(;!MS(o);)(Xke(o)||Ust(o)||qst(o))&&(l=o.elements.indexOf(a).toString()+":"+l),a=o,o=o.$container;return l=o.name+":"+l,t.ruleNames.set(r,l),l}}function zke(t,r){let a=t.tokens[r];if(!a)throw new Error(`Token "${r}" not found."`);return a}function cNr(t){let r=t.Grammar,a=t.parser.Lexer,o=new eai(t);return $ot(r,o,a.definition),o.finalize(),o}function uNr(t){let r=hNr(t);return r.finalize(),r}function hNr(t){let r=t.Grammar,a=t.parser.Lexer,o=new Jii(t);return $ot(r,o,a.definition)}function pNr(){return new Promise(t=>{typeof setImmediate>"u"?setTimeout(t,0):setImmediate(t)})}function gNr(){return gke=performance.now(),new Bd.CancellationTokenSource}function Kie(t){return t===mV}async function py(t){if(t===Bd.CancellationToken.None)return;let r=performance.now();if(r-gke>=nai&&(gke=r,await pNr(),gke=performance.now()),t.isCancellationRequested)throw mV}function Uke(t,r){if(t.length<=1)return t;let a=t.length/2|0,o=t.slice(0,a),l=t.slice(a);Uke(o,r),Uke(l,r);let h=0,f=0,p=0;for(;ha.line||r.line===a.line&&r.character>a.character?{start:a,end:r}:t}function mNr(t){let r=Vot(t.range);return r!==t.range?{newText:t.newText,range:r}:t}function bNr(t){return typeof t.name=="string"}function wNr(t){return typeof t.$comment=="string"}function Nat(t){return typeof t=="object"&&!!t&&("$ref"in t||"$refs"in t||"$error"in t)}function yV(t){return{code:t}}function xNr(t){if(t.range)return t.range;let r;return typeof t.property=="string"?r=Xst(t.node.$cstNode,t.property,t.index):typeof t.keyword=="string"&&(r=_Lr(t.node.$cstNode,t.keyword,t.index)),r??(r=t.node.$cstNode),r?r.range:{start:{line:0,character:0},end:{line:0,character:0}}}function mke(t){switch(t){case"error":return 1;case"warning":return 2;case"info":return 3;case"hint":return 4;default:throw new Error("Invalid diagnostic severity: "+t)}}function TNr(t){switch(t){case"error":return yV(N4.LexingError);case"warning":return yV(N4.LexingWarning);case"info":return yV(N4.LexingInfo);case"hint":return yV(N4.LexingHint);default:throw new Error("Invalid diagnostic severity: "+t)}}function kNr(t){return Array.isArray(t)&&(t.length===0||"name"in t[0])}function Hot(t){return t&&"modes"in t&&"defaultMode"in t}function Pat(t){return!kNr(t)&&!Hot(t)}function CNr(t,r,a){let o,l;typeof t=="string"?(l=r,o=a):(l=t.range.start,o=r),l||(l=ih.create(0,0));let h=qot(t),f=C3e(o),p=SNr({lines:h,position:l,options:f});return LNr({index:0,tokens:p,position:l})}function ENr(t,r){let a=C3e(r),o=qot(t);if(o.length===0)return!1;let l=o[0],h=o[o.length-1],f=a.start,p=a.end;return!!f?.exec(l)&&!!p?.exec(h)}function qot(t){let r="";return typeof t=="string"?r=t:r=t.text,r.split(tei)}function SNr(t){let r=[],a=t.position.line,o=t.position.character;for(let l=0;l=p.length){if(r.length>0){let v=ih.create(a,o);r.push({type:"break",content:"",range:xc.create(v,v)})}}else{dRr.lastIndex=m;let v=dRr.exec(p);if(v){let T=v[0],C=v[1],E=ih.create(a,o+m),S=ih.create(a,o+m+T.length);r.push({type:"tag",content:C,range:xc.create(E,S)}),m+=T.length,m=Vke(p,m)}if(m0&&r[r.length-1].type==="break"?r.slice(0,-1):r}function ANr(t,r,a,o){let l=[];if(t.length===0){let h=ih.create(a,o),f=ih.create(a,o+r.length);l.push({type:"text",content:r,range:xc.create(h,f)})}else{let h=0;for(let p of t){let m=p.index,b=r.substring(h,m);b.length>0&&l.push({type:"text",content:r.substring(h,m),range:xc.create(ih.create(a,h+o),ih.create(a,m+o))});let v=b.length+1,T=p[1];if(l.push({type:"inline-tag",content:T,range:xc.create(ih.create(a,h+v+o),ih.create(a,h+v+T.length+o))}),v+=T.length,p.length===4){v+=p[2].length;let C=p[3];l.push({type:"text",content:C,range:xc.create(ih.create(a,h+v+o),ih.create(a,h+v+C.length+o))})}else l.push({type:"text",content:"",range:xc.create(ih.create(a,h+v+o),ih.create(a,h+v+o))});h=m+p[0].length}let f=r.substring(h);f.length>0&&l.push({type:"text",content:f,range:xc.create(ih.create(a,h+o),ih.create(a,h+o+f.length))})}return l}function Vke(t,r){let a=t.substring(r).match(Oai);return a?r+a.index:t.length}function RNr(t){let r=t.match(Pai);if(r&&typeof r.index=="number")return r.index}function LNr(t){let r=ih.create(t.position.line,t.position.character);if(t.tokens.length===0)return new pRr([],xc.create(r,r));let a=[];for(;t.index0){let f=Vke(r,o);l=r.substring(f),r=r.substring(0,o)}return(t==="linkcode"||t==="link"&&a.link==="code")&&(l=`\`${l}\``),a.renderLink?.(r,l)??NNr(r,l)}}function NNr(t,r){try{return Xw.parse(t,!0),`[${r}](${t})`}catch{return t}}function Fat(t){return t.endsWith(` +`)?` +`:` + +`}function cu(t){return{documentation:{CommentProvider:X(r=>new Fai(r),"CommentProvider"),DocumentationProvider:X(r=>new Bai(r),"DocumentationProvider")},parser:{AsyncParser:X(r=>new $ai(r),"AsyncParser"),GrammarConfig:X(r=>jLr(r),"GrammarConfig"),LangiumParser:X(r=>uNr(r),"LangiumParser"),CompletionParser:X(r=>cNr(r),"CompletionParser"),ValueConverter:X(()=>new dNr,"ValueConverter"),TokenBuilder:X(()=>new fNr,"TokenBuilder"),Lexer:X(r=>new Iai(r),"Lexer"),ParserErrorMessageProvider:X(()=>new QIr,"ParserErrorMessageProvider"),LexerErrorMessageProvider:X(()=>new _ai,"LexerErrorMessageProvider")},workspace:{AstNodeLocator:X(()=>new Eai,"AstNodeLocator"),AstNodeDescriptionProvider:X(r=>new kai(r),"AstNodeDescriptionProvider"),ReferenceDescriptionProvider:X(r=>new Cai(r),"ReferenceDescriptionProvider")},references:{Linker:X(r=>new cai(r),"Linker"),NameProvider:X(()=>new uai,"NameProvider"),ScopeProvider:X(r=>new yai(r),"ScopeProvider"),ScopeComputation:X(r=>new fai(r),"ScopeComputation"),References:X(r=>new hai(r),"References")},serializer:{Hydrator:X(r=>new jai(r),"Hydrator"),JsonSerializer:X(r=>new bai(r),"JsonSerializer")},validation:{DocumentValidator:X(r=>new Tai(r),"DocumentValidator"),ValidationRegistry:X(r=>new wai(r),"ValidationRegistry")},shared:X(()=>t.shared,"shared")}}function uu(t){return{ServiceRegistry:X(r=>new vai(r),"ServiceRegistry"),workspace:{LangiumDocuments:X(r=>new sai(r),"LangiumDocuments"),LangiumDocumentFactory:X(r=>new aai(r),"LangiumDocumentFactory"),DocumentBuilder:X(r=>new Rai(r),"DocumentBuilder"),IndexManager:X(r=>new Lai(r),"IndexManager"),WorkspaceManager:X(r=>new Dai(r),"WorkspaceManager"),FileSystemProvider:X(r=>t.fileSystemProvider(r),"FileSystemProvider"),WorkspaceLock:X(()=>new Gai,"WorkspaceLock"),ConfigurationProvider:X(r=>new Aai(r),"ConfigurationProvider")},profilers:{}}}function _o(t,r,a,o,l,h,f,p,m){let b=[t,r,a,o,l,h,f,p,m].reduce(EV,{});return Xot(b)}function Xot(t,r){let a=new Proxy({},{deleteProperty:X(()=>!1,"deleteProperty"),set:X(()=>{throw new Error("Cannot set property on injected service container")},"set"),get:X((o,l)=>l===zai?!0:$at(o,l,t,r||a),"get"),getOwnPropertyDescriptor:X((o,l)=>($at(o,l,t,r||a),Object.getOwnPropertyDescriptor(o,l)),"getOwnPropertyDescriptor"),has:X((o,l)=>l in t,"has"),ownKeys:X(()=>[...Object.getOwnPropertyNames(t)],"ownKeys")});return a}function $at(t,r,a,o){if(r in t){if(t[r]instanceof Error)throw new Error("Construction failure. Please make sure that your dependencies are constructable. Cause: "+t[r]);if(t[r]===mRr)throw new Error('Cycle detected. Please make "'+String(r)+'" lazy. Visit https://langium.org/docs/reference/configuration-services/#resolving-cyclic-dependencies');return t[r]}else if(r in a){let l=a[r];t[r]=mRr;try{t[r]=typeof l=="function"?l(o):Xot(l,o)}catch(h){throw t[r]=h instanceof Error?h:void 0,h}return t[r]}else return}function EV(t,r){if(r){for(let[a,o]of Object.entries(r))if(!(a==="__proto__"||a==="constructor"||a==="prototype")&&o!=null)if(typeof o=="object"){let l=t[a];typeof l=="object"&&l!==null?t[a]=EV(l,o):t[a]=EV({},o)}else t[a]=o}return t}function PNr(){let t=_o(uu(ku),Hai),r=_o(cu({shared:t}),Vai);return t.ServiceRegistry.register(r),r}function gy(t){let r=PNr(),a=r.serializer.JsonSerializer.deserialize(t);return r.shared.workspace.LangiumDocumentFactory.fromModel(a,Xw.parse(`memory:/${a.name??"grammar"}.langium`)),a}function BNr(t){return rg.isInstance(t,_4.$type)}function FNr(t){return rg.isInstance(t,Tie.$type)}function $Nr(t){return rg.isInstance(t,sP.$type)}function GNr(t){return rg.isInstance(t,$D.$type)}function jNr(t){return rg.isInstance(t,kie.$type)}function zNr(t){return rg.isInstance(t,qke.$type)}function UNr(t){return t==="rmo"||t==="readmodel"||t==="ui"||t==="cmd"||t==="command"||t==="evt"||t==="event"||t==="pcr"||t==="processor"}function E3e(t){return rg.isInstance(t,DA.$type)}function VNr(t){return rg.isInstance(t,GD.$type)}function HNr(t){return rg.isInstance(t,bV.$type)}function qNr(t){return rg.isInstance(t,oP.$type)}function WNr(t){return rg.isInstance(t,lP.$type)}function YNr(t){return rg.isInstance(t,cP.$type)}function KNr(t){return rg.isInstance(t,jD.$type)}function XNr(t){return rg.isInstance(t,Cie.$type)}function QNr(t){return rg.isInstance(t,uP.$type)}function JNr(t){return rg.isInstance(t,hP.$type)}function ZNr(t){return rg.isInstance(t,fP.$type)}function eOr(t){return rg.isInstance(t,dP.$type)}function tOr(t){return rg.isInstance(t,vV.$type)}function rOr(t){return rg.isInstance(t,pP.$type)}function nOr(t){return rg.isInstance(t,Sm.$type)}var mZn,$ie,yZn,Nst,bZn,vZn,X,wZn,Tl,xZn,PRr,Ost,Pst,Gie,BRr,$Rr,TZn,vP,jie,Bst,kZn,jRr,CZn,EZn,SZn,AZn,zie,Wke,qnt,UTe,Wnt,tie,ih,xc,rie,Ynt,VTe,Knt,Xnt,Qnt,Jnt,HTe,Znt,eit,tit,nie,YO,CS,ID,Em,AA,iie,JU,ZU,eV,qTe,Vne,rit,Cnt,URr,nit,iit,aie,ait,sit,WTe,ND,oit,lit,cit,uit,hit,fit,dit,pit,git,sie,mit,yit,bit,vit,wit,xit,Tit,kit,Cit,Eit,Sit,oie,Ait,YTe,Rit,Lit,Dit,_it,Mit,Iit,Nit,Oit,Pit,Bit,Fit,$it,KTe,XTe,Git,QTe,jit,zit,Uit,Vit,Hit,qit,VRr,Wit,m7r,$r,Yke,Qf,Fst,RZn,LZn,DZn,_Zn,MZn,IZn,NZn,OZn,PZn,BZn,FZn,$Zn,GZn,jZn,zZn,UZn,VZn,HZn,qZn,WZn,YZn,KZn,XZn,QZn,$st,qRr,zD,YRr,Kw,Ske,Yit,Yw,JTe,kTe,D4,KO,ZTe,y7r,b7r,XO,Xit,QO,YU,eke,JO,tke,Qit,VO,v7r,tV,Jit,LA,Ent,w7r,lie,cie,CTe,rV,Zit,x7r,ETe,eat,ES,Snt,nV,tat,iV,uie,T7r,aV,hk,sV,OD,oV,rke,Hne,qne,k7r,nke,lV,Wne,hie,pLr,lu,MA,JZn,xLr,_ke,Mke,C7r,ZZn,STe,eei,TLr,Qke,tei,rei,nei,Ant,iei,rot,NS,_b,LV,f2,p1,Qw,Jw,wp,d2,p2,kf,DV,e3e,XLr,aei,ske,sei,eDr,Nke,oei,yP,pie,ATe,sat,oke,oat,lat,lei,cei,uei,gie,cke,E7r,EDr,hat,xp,mie,h2,hei,S7r,A7r,R7r,L7r,D7r,_7r,M7r,I7r,PA,gV,fei,gP,dei,pei,gei,i3e,mei,N7r,yei,O7r,Pd,bei,jDr,vei,yot,wei,a_r,s_r,o_r,l_r,c_r,s3e,u_r,xei,Tei,kei,Rnt,h_r,Cei,Eei,OV,d_r,p_r,pat,gat,mat,hke,bot,Sei,Aei,RTe,Rei,vat,Lei,Dei,_ei,Mei,Iei,o3e,P7r,B7r,k_r,C_r,Nei,Oei,Pei,kV,BA,$ke,Mb,wot,Bei,L_r,Fei,M_r,l3e,$ei,Gei,jei,zei,Uei,Vei,c3e,Hei,qei,Wei,Yei,Kei,z_r,Xei,Qei,FA,Jei,_S,U_r,Zei,eti,Yne,tti,rti,nti,iti,ati,sti,F7r,PV,xot,oti,lti,cti,uti,K_r,hti,Lnt,$7r,fti,dti,pti,TP,gti,mti,yti,bti,vti,wti,xti,Tti,kti,BV,Cti,Iie,Eti,Nie,Sti,Ati,Rti,Lti,Dti,_ti,Mti,Iti,Nti,Oti,Pti,G7r,Bti,Fti,u3e,$ti,Gti,jti,zti,h3e,Uti,Vti,fke,Hti,qti,Wti,mMr,Yti,vMr,Kti,Xti,xMr,Qti,j7r,Jti,Tot,Zti,eri,tri,rri,nri,iri,ari,sri,ori,lri,cri,uri,hri,z7r,Dnt,fri,SMr,dri,Ib,pri,LMr,gri,mri,yri,U7r,bri,vri,wri,CV,xri,V7r,NMr,Tri,kri,Cri,f3e,Eri,PMr,H7r,Sri,q7r,Ari,Rri,Gke,Lri,Dri,FMr,_ri,kot,Mri,Iri,Nri,Ori,Pri,Bri,Fri,$ri,Gri,jri,zri,Uri,Vri,Hri,qri,Wri,Yri,Kri,Xri,Qri,Jri,Zri,eni,tni,Tf,rni,nni,zMr,wie,ini,_nt,ani,W7r,Y7r,sni,Cot,oni,lni,cni,uni,HMr,hni,fni,dni,pni,gni,YMr,d3e,Eot,K7r,mni,yni,bni,vni,wni,Tat,xni,kat,Tni,wV,kni,Cat,X7r,Cni,Q7r,J7r,Z7r,eRr,Eni,Sni,Ani,Rni,Lni,eP,Eat,Dni,tRr,rRr,LTe,_ni,nRr,Mni,e9r,Ini,Nni,Oni,n9r,Pni,s9r,Bni,Fni,p3e,$ni,Gni,Aot,jni,zni,Uni,Vni,Hni,qni,Wni,Yni,Kni,iRr,aRr,Xni,Qni,d9r,Jni,m3e,m9r,Zni,eii,tii,rii,nii,iii,aii,Lot,sii,oii,lii,y3e,cii,uii,hii,fii,dii,pii,b3e,gii,IA,mii,yii,qD,bii,N9r,O9r,SP,vii,wii,xii,Tii,P9r,Dot,v3e,B9r,w3e,jke,Sat,kii,Cii,Eii,sRr,Sii,rIr,Aii,Rii,Lii,Dii,_ii,Mii,Iii,Nii,Oii,Pii,Bii,Fii,$ii,Gii,jii,zii,Uii,Mnt,Vii,Hii,qii,Wii,Yii,Kii,Xii,oRr,TIr,lRr,Qii,HIr,qIr,WIr,Fot,YIr,Dat,cRr,KIr,XIr,Jii,Zii,QIr,eai,tai,JIr,rai,fNr,dNr,_A,Bd,gke,nai,mV,zot,uRr,Mat,yNr,Xw,Kne,dk,iai,cc,aai,sai,KU,oai,lai,cai,uai,hai,Fie,hRr,fai,fRr,dai,vNr,pai,gai,mai,yai,bai,vai,Oat,wai,xai,Tai,N4,kai,Cai,Eai,Sai,Aai,DTe,xie,Rai,Lai,Dai,_ai,Mai,Iai,dRr,Nai,Oai,Pai,pRr,Int,Bat,ONr,Bai,Fai,$ai,Hke,Gai,jai,gRr,zai,mRr,Uai,ku,Vai,Hai,Gat,jat,zat,Uat,Vat,Hat,qat,Wat,Yat,Kat,Xat,Qat,Jat,Zat,est,wqa,tst,rst,bke,nst,ist,ast,rP,vke,sst,ost,_Te,Nnt,MTe,Xne,Ont,_4,ITe,Tie,yRr,NTe,Pnt,sP,OTe,HO,PTe,$D,BTe,bRr,XU,kie,qke,lst,cst,ust,hst,fst,dst,pst,hV,PD,gst,wke,mst,yst,xke,bst,vst,kS,nP,BD,Qne,vRr,Bnt,FTe,DA,MD,Fnt,SS,wRr,$Te,$nt,GD,Jne,bV,Zne,Gnt,eie,GTe,qO,oP,jTe,jnt,lP,cP,wst,xst,Tst,kst,Cst,Tke,fV,kke,Est,Cke,jD,Cie,znt,zTe,FD,uP,hP,Sst,fP,AS,Ast,Rst,Lst,dP,Eke,Dst,_st,Mst,Ist,Unt,QU,Vnt,iP,vV,pP,Hnt,aP,dV,Sm,iOr,rg,xRr,qai,TRr,Wai,kRr,Yai,CRr,Kai,ERr,Xai,SRr,Qai,ARr,Jai,RRr,Zai,LRr,esi,DRr,tsi,_Rr,rsi,MRr,nsi,IRr,isi,NRr,asi,ORr,ssi,osi,lsi,csi,usi,hsi,fsi,dsi,psi,gsi,msi,ysi,bsi,vsi,wsi,xsi,Cu,Qot,Jot,Zot,elt,tlt,rlt,nlt,ilt,alt,slt,olt,llt,clt,ult,hlt,Tsi,ksi,Csi,Esi,Ig,Zw,zu,Ssi,hu=ie(()=>{"use strict";mZn=Object.create,$ie=Object.defineProperty,yZn=Object.getOwnPropertyDescriptor,Nst=Object.getOwnPropertyNames,bZn=Object.getPrototypeOf,vZn=Object.prototype.hasOwnProperty,X=i((t,r)=>$ie(t,"name",{value:r,configurable:!0}),"__name"),wZn=i((t,r)=>i(function(){return t&&(r=(0,t[Nst(t)[0]])(t=0)),r},"__init"),"__esm"),Tl=i((t,r)=>i(function(){return r||(0,t[Nst(t)[0]])((r={exports:{}}).exports,r),r.exports},"__require"),"__commonJS"),xZn=i((t,r)=>{for(var a in r)$ie(t,a,{get:r[a],enumerable:!0})},"__export"),PRr=i((t,r,a,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let l of Nst(r))!vZn.call(t,l)&&l!==a&&$ie(t,l,{get:i(()=>r[l],"get"),enumerable:!(o=yZn(r,l))||o.enumerable});return t},"__copyProps"),Ost=i((t,r,a)=>(a=t!=null?mZn(bZn(t)):{},PRr(r||!t||!t.__esModule?$ie(a,"default",{value:t,enumerable:!0}):a,t)),"__toESM"),Pst=i(t=>PRr($ie({},"__esModule",{value:!0}),t),"__toCommonJS"),Gie=Tl({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/is.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boolean=r,t.string=a,t.number=o,t.error=l,t.func=h,t.array=f,t.stringArray=p;function r(m){return m===!0||m===!1}i(r,"boolean"),X(r,"boolean");function a(m){return typeof m=="string"||m instanceof String}i(a,"string"),X(a,"string");function o(m){return typeof m=="number"||m instanceof Number}i(o,"number"),X(o,"number");function l(m){return m instanceof Error}i(l,"error"),X(l,"error");function h(m){return typeof m=="function"}i(h,"func"),X(h,"func");function f(m){return Array.isArray(m)}i(f,"array"),X(f,"array");function p(m){return f(m)&&m.every(b=>a(b))}i(p,"stringArray"),X(p,"stringArray")}}),BRr=Tl({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messages.js"(t){"use strict";var r=t&&t.__createBinding||(Object.create?(function(W,te,z,re){re===void 0&&(re=z);var ae=Object.getOwnPropertyDescriptor(te,z);(!ae||("get"in ae?!te.__esModule:ae.writable||ae.configurable))&&(ae={enumerable:!0,get:X(function(){return te[z]},"get")}),Object.defineProperty(W,re,ae)}):(function(W,te,z,re){re===void 0&&(re=z),W[re]=te[z]})),a=t&&t.__setModuleDefault||(Object.create?(function(W,te){Object.defineProperty(W,"default",{enumerable:!0,value:te})}):function(W,te){W.default=te}),o=t&&t.__importStar||(function(){var W=X(function(te){return W=Object.getOwnPropertyNames||function(z){var re=[];for(var ae in z)Object.prototype.hasOwnProperty.call(z,ae)&&(re[re.length]=ae);return re},W(te)},"ownKeys");return function(te){if(te&&te.__esModule)return te;var z={};if(te!=null)for(var re=W(te),ae=0;aef,next:X(()=>{if(this._state!==l)throw new Error("LinkedMap got modified during iteration.");if(h){let p={value:h.key,done:!1};return h=h.next,p}else return{value:void 0,done:!0}},"next")};return f}values(){let l=this._state,h=this._head,f={[Symbol.iterator]:()=>f,next:X(()=>{if(this._state!==l)throw new Error("LinkedMap got modified during iteration.");if(h){let p={value:h.value,done:!1};return h=h.next,p}else return{value:void 0,done:!0}},"next")};return f}entries(){let l=this._state,h=this._head,f={[Symbol.iterator]:()=>f,next:X(()=>{if(this._state!==l)throw new Error("LinkedMap got modified during iteration.");if(h){let p={value:[h.key,h.value],done:!1};return h=h.next,p}else return{value:void 0,done:!0}},"next")};return f}[Symbol.iterator](){return this.entries()}trimOld(l){if(l>=this.size)return;if(l===0){this.clear();return}let h=this._head,f=this.size;for(;h&&f>l;)this._map.delete(h.key),h=h.next,f--;this._head=h,this._size=f,h&&(h.previous=void 0),this._state++}addItemFirst(l){if(!this._head&&!this._tail)this._tail=l;else if(this._head)l.next=this._head,this._head.previous=l;else throw new Error("Invalid list");this._head=l,this._state++}addItemLast(l){if(!this._head&&!this._tail)this._head=l;else if(this._tail)l.previous=this._tail,this._tail.next=l;else throw new Error("Invalid list");this._tail=l,this._state++}removeItem(l){if(l===this._head&&l===this._tail)this._head=void 0,this._tail=void 0;else if(l===this._head){if(!l.next)throw new Error("Invalid list");l.next.previous=void 0,this._head=l.next}else if(l===this._tail){if(!l.previous)throw new Error("Invalid list");l.previous.next=void 0,this._tail=l.previous}else{let h=l.next,f=l.previous;if(!h||!f)throw new Error("Invalid list");h.previous=f,f.next=h}l.next=void 0,l.previous=void 0,this._state++}touch(l,h){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(h!==r.First&&h!==r.Last)){if(h===r.First){if(l===this._head)return;let f=l.next,p=l.previous;l===this._tail?(p.next=void 0,this._tail=p):(f.previous=p,p.next=f),l.previous=void 0,l.next=this._head,this._head.previous=l,this._head=l,this._state++}else if(h===r.Last){if(l===this._tail)return;let f=l.next,p=l.previous;l===this._head?(f.previous=void 0,this._head=f):(f.previous=p,p.next=f),l.next=void 0,l.previous=this._tail,this._tail.next=l,this._tail=l,this._state++}}}toJSON(){let l=[];return this.forEach((h,f)=>{l.push([f,h])}),l}fromJSON(l){this.clear();for(let[h,f]of l)this.set(h,f)}};t.LinkedMap=a;var o=class extends a{static{i(this,"LRUCache")}static{X(this,"LRUCache")}_limit;_ratio;constructor(l,h=1){super(),this._limit=l,this._ratio=Math.min(Math.max(0,h),1)}get limit(){return this._limit}set limit(l){this._limit=l,this.checkTrim()}get ratio(){return this._ratio}set ratio(l){this._ratio=Math.min(Math.max(0,l),1),this.checkTrim()}get(l,h=r.AsNew){return super.get(l,h)}peek(l){return super.get(l,r.None)}set(l,h){return super.set(l,h,r.Last),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}};t.LRUCache=o}}),TZn=Tl({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/disposable.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Disposable=void 0;var r;(function(a){function o(l){return{dispose:l}}i(o,"create"),X(o,"create"),a.create=o})(r||(t.Disposable=r={}))}}),vP=Tl({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/ral.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r;function a(){if(r===void 0)throw new Error("No runtime abstraction layer installed");return r}i(a,"RAL"),X(a,"RAL"),(function(o){function l(h){if(h===void 0)throw new Error("No runtime abstraction layer provided");r=h}i(l,"install"),X(l,"install"),o.install=l})(a||(a={})),t.default=a}}),jie=Tl({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/events.js"(t){"use strict";var r=t&&t.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(t,"__esModule",{value:!0}),t.Emitter=t.Event=void 0;var a=r(vP()),o;(function(f){let p={dispose(){}};f.None=function(){return p}})(o||(t.Event=o={}));var l=class{static{i(this,"CallbackList")}static{X(this,"CallbackList")}_callbacks;_contexts;add(f,p=null,m){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(f),this._contexts.push(p),Array.isArray(m)&&m.push({dispose:X(()=>this.remove(f,p),"dispose")})}remove(f,p=null){if(!this._callbacks)return;let m=!1;for(let b=0,v=this._callbacks.length;b{this._callbacks||(this._callbacks=new l),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(p,m);let v={dispose:X(()=>{this._callbacks&&(this._callbacks.remove(p,m),v.dispose=GRr._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))},"dispose")};return Array.isArray(b)&&b.push(v),v}),this._event}fire(p){this._callbacks&&this._callbacks.invoke.call(this._callbacks,p)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}};t.Emitter=h}}),Bst=Tl({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/cancellation.js"(t){"use strict";var r=t&&t.__createBinding||(Object.create?(function(C,E,S,R){R===void 0&&(R=S);var L=Object.getOwnPropertyDescriptor(E,S);(!L||("get"in L?!E.__esModule:L.writable||L.configurable))&&(L={enumerable:!0,get:X(function(){return E[S]},"get")}),Object.defineProperty(C,R,L)}):(function(C,E,S,R){R===void 0&&(R=S),C[R]=E[S]})),a=t&&t.__setModuleDefault||(Object.create?(function(C,E){Object.defineProperty(C,"default",{enumerable:!0,value:E})}):function(C,E){C.default=E}),o=t&&t.__importStar||(function(){var C=X(function(E){return C=Object.getOwnPropertyNames||function(S){var R=[];for(var L in S)Object.prototype.hasOwnProperty.call(S,L)&&(R[R.length]=L);return R},C(E)},"ownKeys");return function(E){if(E&&E.__esModule)return E;var S={};if(E!=null)for(var R=C(E),L=0;L{this._waiting.push({thunk:l,resolve:h,reject:f}),this.runNext()})}get active(){return this._active}runNext(){this._waiting.length===0||this._active===this._capacity||(0,a.default)().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;let l=this._waiting.shift();if(this._active++,this._active>this._capacity)throw new Error("Too many thunks active");try{let h=l.thunk();h instanceof Promise?h.then(f=>{this._active--,l.resolve(f),this.runNext()},f=>{this._active--,l.reject(f),this.runNext()}):(this._active--,l.resolve(h),this.runNext())}catch(h){this._active--,l.reject(h),this.runNext()}}};t.Semaphore=o}}),CZn=Tl({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messageReader.js"(t){"use strict";var r=t&&t.__createBinding||(Object.create?(function(E,S,R,L){L===void 0&&(L=R);var _=Object.getOwnPropertyDescriptor(S,R);(!_||("get"in _?!S.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:X(function(){return S[R]},"get")}),Object.defineProperty(E,L,_)}):(function(E,S,R,L){L===void 0&&(L=R),E[L]=S[R]})),a=t&&t.__setModuleDefault||(Object.create?(function(E,S){Object.defineProperty(E,"default",{enumerable:!0,value:S})}):function(E,S){E.default=S}),o=t&&t.__importStar||(function(){var E=X(function(S){return E=Object.getOwnPropertyNames||function(R){var L=[];for(var _ in R)Object.prototype.hasOwnProperty.call(R,_)&&(L[L.length]=_);return L},E(S)},"ownKeys");return function(S){if(S&&S.__esModule)return S;var R={};if(S!=null)for(var L=E(S),_=0;_{this.onData(R)});return this.readable.onError(R=>this.fireError(R)),this.readable.onClose(()=>this.fireClose()),S}onData(E){try{for(this.buffer.append(E);;){if(this.nextMessageLength===-1){let R=this.buffer.tryReadHeaders(!0);if(!R)return;let L=R.get("content-length");if(!L){this.fireError(new Error(`Header must provide a Content-Length property. +${JSON.stringify(Object.fromEntries(R))}`));return}let _=parseInt(L);if(isNaN(_)){this.fireError(new Error(`Content-Length value must be a number. Got ${L}`));return}this.nextMessageLength=_}let S=this.buffer.tryReadBody(this.nextMessageLength);if(S===void 0){this.setPartialMessageTimer();return}this.clearPartialMessageTimer(),this.nextMessageLength=-1,this.readSemaphore.lock(async()=>{let R=this.options.contentDecoder!==void 0?await this.options.contentDecoder.decode(S):S,L=await this.options.contentTypeDecoder.decode(R,this.options);this.callback(L)}).catch(R=>{this.fireError(R)})}}catch(S){this.fireError(S)}}clearPartialMessageTimer(){this.partialMessageTimer&&(this.partialMessageTimer.dispose(),this.partialMessageTimer=void 0)}setPartialMessageTimer(){this.clearPartialMessageTimer(),!(this._partialMessageTimeout<=0)&&(this.partialMessageTimer=(0,h.default)().timer.setTimeout((E,S)=>{this.partialMessageTimer=void 0,E===this.messageToken&&(this.firePartialMessage({messageToken:E,waitingTime:S}),this.setPartialMessageTimer())},this._partialMessageTimeout,this.messageToken,this._partialMessageTimeout))}};t.ReadableStreamMessageReader=C}}),EZn=Tl({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messageWriter.js"(t){"use strict";var r=t&&t.__createBinding||(Object.create?(function(R,L,_,M){M===void 0&&(M=_);var I=Object.getOwnPropertyDescriptor(L,_);(!I||("get"in I?!L.__esModule:I.writable||I.configurable))&&(I={enumerable:!0,get:X(function(){return L[_]},"get")}),Object.defineProperty(R,M,I)}):(function(R,L,_,M){M===void 0&&(M=_),R[M]=L[_]})),a=t&&t.__setModuleDefault||(Object.create?(function(R,L){Object.defineProperty(R,"default",{enumerable:!0,value:L})}):function(R,L){R.default=L}),o=t&&t.__importStar||(function(){var R=X(function(L){return R=Object.getOwnPropertyNames||function(_){var M=[];for(var I in _)Object.prototype.hasOwnProperty.call(_,I)&&(M[M.length]=I);return M},R(L)},"ownKeys");return function(L){if(L&&L.__esModule)return L;var _={};if(L!=null)for(var M=R(L),I=0;Ithis.fireError(_)),this.writable.onClose(()=>this.fireClose())}async write(R){return this.writeSemaphore.lock(async()=>this.options.contentTypeEncoder.encode(R,this.options).then(_=>this.options.contentEncoder!==void 0?this.options.contentEncoder.encode(_):_).then(_=>{let M=[];return M.push(b,_.byteLength.toString(),v),M.push(v),this.doWrite(R,M,_)},_=>{throw this.fireError(_),_}))}async doWrite(R,L,_){try{return await this.writable.write(L.join(""),"ascii"),this.writable.write(_)}catch(M){return this.handleError(M,R),Promise.reject(M)}}handleError(R,L){this.errorCount++,this.fireError(R,L,this.errorCount)}end(){this.writable.end()}};t.WriteableStreamMessageWriter=S}}),SZn=Tl({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractMessageBuffer=void 0;var r=13,a=10,o=`\r +`,l=class{static{i(this,"AbstractMessageBuffer")}static{X(this,"AbstractMessageBuffer")}_encoding;_chunks;_totalLength;constructor(h="utf-8"){this._encoding=h,this._chunks=[],this._totalLength=0}get encoding(){return this._encoding}append(h){let f=typeof h=="string"?this.fromString(h,this._encoding):h;this._chunks.push(f),this._totalLength+=f.byteLength}tryReadHeaders(h=!1){if(this._chunks.length===0)return;let f=0,p=0,m=0,b=0;e:for(;pthis._totalLength)throw new Error("Cannot read so many bytes!");if(this._chunks[0].byteLength===h){let b=this._chunks[0];return this._chunks.shift(),this._totalLength-=h,this.asNative(b)}if(this._chunks[0].byteLength>h){let b=this._chunks[0],v=this.asNative(b,h);return this._chunks[0]=b.slice(h),this._totalLength-=h,v}let f=this.allocNative(h),p=0,m=0;for(;h>0;){let b=this._chunks[m];if(b.byteLength>h){let v=b.slice(0,h);f.set(v,p),p+=h,this._chunks[m]=b.slice(h),this._totalLength-=h,h-=h}else f.set(b,p),p+=b.byteLength,this._chunks.shift(),this._totalLength-=b.byteLength,h-=b.byteLength}return f}};t.AbstractMessageBuffer=l}}),AZn=Tl({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/connection.js"(t){"use strict";var r=t&&t.__createBinding||(Object.create?(function(te,z,re,ae){ae===void 0&&(ae=re);var ce=Object.getOwnPropertyDescriptor(z,re);(!ce||("get"in ce?!z.__esModule:ce.writable||ce.configurable))&&(ce={enumerable:!0,get:X(function(){return z[re]},"get")}),Object.defineProperty(te,ae,ce)}):(function(te,z,re,ae){ae===void 0&&(ae=re),te[ae]=z[re]})),a=t&&t.__setModuleDefault||(Object.create?(function(te,z){Object.defineProperty(te,"default",{enumerable:!0,value:z})}):function(te,z){te.default=z}),o=t&&t.__importStar||(function(){var te=X(function(z){return te=Object.getOwnPropertyNames||function(re){var ae=[];for(var ce in re)Object.prototype.hasOwnProperty.call(re,ce)&&(ae[ae.length]=ce);return ae},te(z)},"ownKeys");return function(z){if(z&&z.__esModule)return z;var re={};if(z!=null)for(var ae=te(z),ce=0;ce{},"error"),warn:X(()=>{},"warn"),info:X(()=>{},"info"),log:X(()=>{},"log")});var L;(function(te){te[te.Off=0]="Off",te[te.Messages=1]="Messages",te[te.Compact=2]="Compact",te[te.Verbose=3]="Verbose"})(L||(t.Trace=L={}));var _;(function(te){te.Off="off",te.Messages="messages",te.Compact="compact",te.Verbose="verbose"})(_||(t.TraceValue=_={})),t.TraceValues=_,(function(te){function z(ae){if(!f.string(ae))return te.Off;switch(ae=ae.toLowerCase(),ae){case"off":return te.Off;case"messages":return te.Messages;case"compact":return te.Compact;case"verbose":return te.Verbose;default:return te.Off}}i(z,"fromString"),X(z,"fromString"),te.fromString=z;function re(ae){switch(ae){case te.Off:return"off";case te.Messages:return"messages";case te.Compact:return"compact";case te.Verbose:return"verbose";default:return"off"}}i(re,"toString3"),X(re,"toString"),te.toString=re})(L||(t.Trace=L={}));var M;(function(te){te.Text="text",te.JSON="json"})(M||(t.TraceFormat=M={})),(function(te){function z(re){return f.string(re)?(re=re.toLowerCase(),re==="json"?te.JSON:te.Text):te.Text}i(z,"fromString"),X(z,"fromString"),te.fromString=z})(M||(t.TraceFormat=M={}));var I;(function(te){te.type=new p.NotificationType("$/setTrace")})(I||(t.SetTraceNotification=I={}));var F;(function(te){te.type=new p.NotificationType("$/logTrace")})(F||(t.LogTraceNotification=F={}));var O;(function(te){te[te.Closed=1]="Closed",te[te.Disposed=2]="Disposed",te[te.AlreadyListening=3]="AlreadyListening"})(O||(t.ConnectionErrors=O={}));var P=class zRr extends Error{static{i(this,"_ConnectionError")}static{X(this,"ConnectionError")}code;constructor(z,re){super(re),this.code=z,Object.setPrototypeOf(this,zRr.prototype)}};t.ConnectionError=P;var G;(function(te){function z(re){let ae=re;return ae&&f.func(ae.cancelUndispatched)}i(z,"is"),X(z,"is"),te.is=z})(G||(t.ConnectionStrategy=G={}));var V;(function(te){function z(re){let ae=re;return ae&&(ae.kind===void 0||ae.kind==="id")&&f.func(ae.createCancellationTokenSource)&&(ae.dispose===void 0||f.func(ae.dispose))}i(z,"is"),X(z,"is"),te.is=z})(V||(t.IdCancellationReceiverStrategy=V={}));var Y;(function(te){function z(re){let ae=re;return ae&&ae.kind==="request"&&f.func(ae.createCancellationTokenSource)&&(ae.dispose===void 0||f.func(ae.dispose))}i(z,"is"),X(z,"is"),te.is=z})(Y||(t.RequestCancellationReceiverStrategy=Y={}));var K;(function(te){te.Message=Object.freeze({createCancellationTokenSource(re){return new v.CancellationTokenSource}});function z(re){return V.is(re)||Y.is(re)}i(z,"is"),X(z,"is"),te.is=z})(K||(t.CancellationReceiverStrategy=K={}));var J;(function(te){te.Message=Object.freeze({sendCancellation(re,ae){return re.sendNotification(T.type,{id:ae})},cleanup(re){}});function z(re){let ae=re;return ae&&f.func(ae.sendCancellation)&&f.func(ae.cleanup)}i(z,"is"),X(z,"is"),te.is=z})(J||(t.CancellationSenderStrategy=J={}));var H;(function(te){te.Message=Object.freeze({receiver:K.Message,sender:J.Message});function z(re){let ae=re;return ae&&K.is(ae.receiver)&&J.is(ae.sender)}i(z,"is"),X(z,"is"),te.is=z})(H||(t.CancellationStrategy=H={}));var q;(function(te){function z(re){let ae=re;return ae&&f.func(ae.handleMessage)}i(z,"is"),X(z,"is"),te.is=z})(q||(t.MessageStrategy=q={}));var Z;(function(te){function z(re){let ae=re;return ae&&(H.is(ae.cancellationStrategy)||G.is(ae.connectionStrategy)||q.is(ae.messageStrategy)||f.number(ae.maxParallelism))}i(z,"is"),X(z,"is"),te.is=z})(Z||(t.ConnectionOptions=Z={}));var Q;(function(te){te[te.New=1]="New",te[te.Listening=2]="Listening",te[te.Closed=3]="Closed",te[te.Disposed=4]="Disposed"})(Q||(Q={}));function W(te,z,re,ae){let ce=re!==void 0?re:t.NullLogger,le=0,de=0,ve=0,Se="2.0",_e=ae?.maxParallelism??-1,Ce=0,Ve,De=new Map,qe,Ue=new Map,We=new Map,mt,ct=new m.LinkedMap,Ot=new Map,yr=new Set,tr=new Map,Xe=L.Off,Rt=M.Text,ft,bt=Q.New,Me=new b.Emitter,Fe=new b.Emitter,je=new b.Emitter,He=new b.Emitter,nt=new b.Emitter,ze=ae&&ae.cancellationStrategy?ae.cancellationStrategy:H.Message;function se(dt){}i(se,"cancelUndispatched"),X(se,"cancelUndispatched");function ke(){return bt===Q.Listening}i(ke,"isListening"),X(ke,"isListening");function Le(){return bt===Q.Closed}i(Le,"isClosed"),X(Le,"isClosed");function he(){return bt===Q.Disposed}i(he,"isDisposed"),X(he,"isDisposed");function Ne(){(bt===Q.New||bt===Q.Listening)&&(bt=Q.Closed,Fe.fire(void 0))}i(Ne,"closeHandler"),X(Ne,"closeHandler");function Ee(dt){Me.fire([dt,void 0,void 0])}i(Ee,"readErrorHandler"),X(Ee,"readErrorHandler");function ye(dt){Me.fire(dt)}i(ye,"writeErrorHandler"),X(ye,"writeErrorHandler"),te.onClose(Ne),te.onError(Ee),z.onClose(Ne),z.onError(ye);function be(dt){if(dt===null)throw new Error("Can't send requests with id null since the response can't be correlated.");return"req-"+dt.toString()}i(be,"createRequestQueueKey"),X(be,"createRequestQueueKey");function ht(dt){return dt===null?"res-unknown-"+(++ve).toString():"res-"+dt.toString()}i(ht,"createResponseQueueKey"),X(ht,"createResponseQueueKey");function Je(){return"not-"+(++de).toString()}i(Je,"createNotificationQueueKey"),X(Je,"createNotificationQueueKey");function it(dt,rr){p.Message.isRequest(rr)?dt.set(be(rr.id),rr):p.Message.isResponse(rr)?_e===-1?dt.set(ht(rr.id),rr):jt(rr):dt.set(Je(),rr)}i(it,"addMessageToQueue"),X(it,"addMessageToQueue");function lt(){mt||ct.size===0||_e!==-1&&Ce>=_e||(mt=(0,h.default)().timer.setImmediate(async()=>{if(mt=void 0,ct.size===0||_e!==-1&&Ce>=_e)return;let dt=ct.shift(),rr;try{Ce++;let Yr=ae?.messageStrategy;q.is(Yr)?rr=Yr.handleMessage(dt,Vt):rr=Vt(dt)}catch(Yr){ce.error(`Processing message queue failed: ${Yr.toString()}`)}finally{rr instanceof Promise?rr.then(()=>{Ce--,lt()}).catch(Yr=>{ce.error(`Processing message queue failed: ${Yr.toString()}`)}):Ce--,lt()}}))}i(lt,"triggerMessageQueue"),X(lt,"triggerMessageQueue");async function Vt(dt){return p.Message.isRequest(dt)?gr(dt):p.Message.isNotification(dt)?qt(dt):p.Message.isResponse(dt)?jt(dt):Wt(dt)}i(Vt,"handleMessage"),X(Vt,"handleMessage");let $t=X(dt=>{try{if(p.Message.isNotification(dt)&&dt.method===T.type.method){let rr=dt.params.id,Yr=be(rr),An=ct.get(Yr);if(p.Message.isRequest(An)){let es=ae?.connectionStrategy,vr=es&&es.cancelUndispatched?es.cancelUndispatched(An,se):void 0;if(vr&&(vr.error!==void 0||vr.result!==void 0)){ct.delete(Yr),tr.delete(rr),vr.id=An.id,$n(vr,dt.method,Date.now()),z.write(vr).catch(()=>ce.error("Sending response for canceled message failed."));return}}let Cn=tr.get(rr);if(Cn!==void 0){Cn.cancel(),Rn(dt);return}else yr.add(rr)}it(ct,dt)}finally{lt()}},"callback");async function gr(dt){if(he())return Promise.resolve();function rr(an,Dn,Ni){let Gi={jsonrpc:Se,id:dt.id};return an instanceof p.ResponseError?Gi.error=an.toJson():Gi.result=an===void 0?null:an,$n(Gi,Dn,Ni),z.write(Gi)}i(rr,"reply"),X(rr,"reply");function Yr(an,Dn,Ni){let Gi={jsonrpc:Se,id:dt.id,error:an.toJson()};return $n(Gi,Dn,Ni),z.write(Gi)}i(Yr,"replyError"),X(Yr,"replyError"),Gt(dt);let An=De.get(dt.method),Cn,es;An&&(Cn=An.type,es=An.handler);let vr=Date.now();if(es||Ve){let an=dt.id??String(Date.now()),Dn=V.is(ze.receiver)?ze.receiver.createCancellationTokenSource(an):ze.receiver.createCancellationTokenSource(dt);dt.id!==null&&yr.has(dt.id)&&Dn.cancel(),dt.id!==null&&tr.set(an,Dn);try{let Ni;if(es)if(dt.params===void 0){if(Cn!==void 0&&Cn.numberOfParams!==0)return Yr(new p.ResponseError(p.ErrorCodes.InvalidParams,`Request ${dt.method} defines ${Cn.numberOfParams} params but received none.`),dt.method,vr);Ni=es(Dn.token)}else if(Array.isArray(dt.params)){if(Cn!==void 0&&Cn.parameterStructures===p.ParameterStructures.byName)return Yr(new p.ResponseError(p.ErrorCodes.InvalidParams,`Request ${dt.method} defines parameters by name but received parameters by position`),dt.method,vr);Ni=es(...dt.params,Dn.token)}else{if(Cn!==void 0&&Cn.parameterStructures===p.ParameterStructures.byPosition)return Yr(new p.ResponseError(p.ErrorCodes.InvalidParams,`Request ${dt.method} defines parameters by position but received parameters by name`),dt.method,vr);Ni=es(dt.params,Dn.token)}else Ve&&(Ni=Ve(dt.method,dt.params,Dn.token));let Gi=await Ni;await rr(Gi,dt.method,vr)}catch(Ni){Ni instanceof p.ResponseError?await rr(Ni,dt.method,vr):Ni&&f.string(Ni.message)?await Yr(new p.ResponseError(p.ErrorCodes.InternalError,`Request ${dt.method} failed with message: ${Ni.message}`),dt.method,vr):await Yr(new p.ResponseError(p.ErrorCodes.InternalError,`Request ${dt.method} failed unexpectedly without providing any details.`),dt.method,vr)}finally{tr.delete(an)}}else await Yr(new p.ResponseError(p.ErrorCodes.MethodNotFound,`Unhandled method ${dt.method}`),dt.method,vr)}i(gr,"handleRequest"),X(gr,"handleRequest");function jt(dt){if(!he())if(dt.id===null)dt.error?ce.error(`Received response message without id: Error is: +${JSON.stringify(dt.error,void 0,4)}`):ce.error("Received response message without id. No further error information provided.");else{let rr=dt.id,Yr=Ot.get(rr);if(Qn(dt,Yr),Yr!==void 0){Ot.delete(rr);try{if(dt.error){let An=dt.error;Yr.reject(new p.ResponseError(An.code,An.message,An.data))}else if(dt.result!==void 0)Yr.resolve(dt.result);else throw new Error("Should never happen.")}catch(An){An.message?ce.error(`Response handler '${Yr.method}' failed with message: ${An.message}`):ce.error(`Response handler '${Yr.method}' failed unexpectedly.`)}}}}i(jt,"handleResponse"),X(jt,"handleResponse");async function qt(dt){if(he())return;let rr,Yr;if(dt.method===T.type.method){let An=dt.params.id;yr.delete(An),Rn(dt);return}else{let An=Ue.get(dt.method);An&&(Yr=An.handler,rr=An.type)}if(Yr||qe)try{if(Rn(dt),Yr)if(dt.params===void 0)rr!==void 0&&rr.numberOfParams!==0&&rr.parameterStructures!==p.ParameterStructures.byName&&ce.error(`Notification ${dt.method} defines ${rr.numberOfParams} params but received none.`),await Yr();else if(Array.isArray(dt.params)){let An=dt.params;dt.method===E.type.method&&An.length===2&&C.is(An[0])?await Yr({token:An[0],value:An[1]}):(rr!==void 0&&(rr.parameterStructures===p.ParameterStructures.byName&&ce.error(`Notification ${dt.method} defines parameters by name but received parameters by position`),rr.numberOfParams!==dt.params.length&&ce.error(`Notification ${dt.method} defines ${rr.numberOfParams} params but received ${An.length} arguments`)),await Yr(...An))}else rr!==void 0&&rr.parameterStructures===p.ParameterStructures.byPosition&&ce.error(`Notification ${dt.method} defines parameters by position but received parameters by name`),await Yr(dt.params);else qe&&await qe(dt.method,dt.params)}catch(An){An.message?ce.error(`Notification handler '${dt.method}' failed with message: ${An.message}`):ce.error(`Notification handler '${dt.method}' failed unexpectedly.`)}else je.fire(dt)}i(qt,"handleNotification"),X(qt,"handleNotification");function Wt(dt){if(!dt){ce.error("Received empty message.");return}ce.error(`Received message which is neither a response nor a notification message: +${JSON.stringify(dt,null,4)}`);let rr=dt;if(f.string(rr.id)||f.number(rr.id)){let Yr=rr.id,An=Ot.get(Yr);An&&An.reject(new Error("The received response has neither a result nor an error property."))}}i(Wt,"handleInvalidMessage"),X(Wt,"handleInvalidMessage");function Ut(dt){if(dt!=null)switch(Xe){case L.Verbose:return JSON.stringify(dt,null,4);case L.Compact:return JSON.stringify(dt);default:return}}i(Ut,"stringifyTrace"),X(Ut,"stringifyTrace");function rn(dt){if(!(Xe===L.Off||!ft))if(Rt===M.Text){let rr;(Xe===L.Verbose||Xe===L.Compact)&&dt.params&&(rr=`Params: ${Ut(dt.params)}`),ft.log(`Sending request '${dt.method} - (${dt.id})'.`,rr)}else En("send-request",dt)}i(rn,"traceSendingRequest"),X(rn,"traceSendingRequest");function pt(dt){if(!(Xe===L.Off||!ft))if(Rt===M.Text){let rr;(Xe===L.Verbose||Xe===L.Compact)&&(dt.params?rr=`Params: ${Ut(dt.params)}`:rr="No parameters provided."),ft.log(`Sending notification '${dt.method}'.`,rr)}else En("send-notification",dt)}i(pt,"traceSendingNotification"),X(pt,"traceSendingNotification");function $n(dt,rr,Yr){if(!(Xe===L.Off||!ft))if(Rt===M.Text){let An;(Xe===L.Verbose||Xe===L.Compact)&&(dt.error&&dt.error.data?An=`Error data: ${Ut(dt.error.data)}`:dt.result?An=`Result: ${Ut(dt.result)}`:dt.error===void 0&&(An="No result returned."));let Cn=dt.error?` Request failed: ${dt.error.message} (${dt.error.code}).`:"";ft.log(`Sending response '${rr} - (${dt.id})'. Processing request took ${Date.now()-Yr}ms.${Cn}`,An)}else En("send-response",dt)}i($n,"traceSendingResponse"),X($n,"traceSendingResponse");function Gt(dt){if(!(Xe===L.Off||!ft))if(Rt===M.Text){let rr;(Xe===L.Verbose||Xe===L.Compact)&&dt.params&&(rr=`Params: ${Ut(dt.params)}`),ft.log(`Received request '${dt.method} - (${dt.id})'.`,rr)}else En("receive-request",dt)}i(Gt,"traceReceivedRequest"),X(Gt,"traceReceivedRequest");function Rn(dt){if(!(Xe===L.Off||!ft||dt.method===F.type.method))if(Rt===M.Text){let rr;(Xe===L.Verbose||Xe===L.Compact)&&(dt.params?rr=`Params: ${Ut(dt.params)}`:rr="No parameters provided."),ft.log(`Received notification '${dt.method}'.`,rr)}else En("receive-notification",dt)}i(Rn,"traceReceivedNotification"),X(Rn,"traceReceivedNotification");function Qn(dt,rr){if(!(Xe===L.Off||!ft))if(Rt===M.Text){let Yr;if((Xe===L.Verbose||Xe===L.Compact)&&(dt.error&&dt.error.data?Yr=`Error data: ${Ut(dt.error.data)}`:dt.result?Yr=`Result: ${Ut(dt.result)}`:dt.error===void 0&&(Yr="No result returned.")),rr){let An=dt.error?` Request failed: ${dt.error.message} (${dt.error.code}).`:"";ft.log(`Received response '${rr.method} - (${dt.id})' in ${Date.now()-rr.timerStart}ms.${An}`,Yr)}else ft.log(`Received response ${dt.id} without active response promise.`,Yr)}else En("receive-response",dt)}i(Qn,"traceReceivedResponse"),X(Qn,"traceReceivedResponse");function En(dt,rr){if(!ft||Xe===L.Off)return;let Yr={isLSPMessage:!0,type:dt,message:rr,timestamp:Date.now()};ft.log(Yr)}i(En,"logLSPMessage"),X(En,"logLSPMessage");function di(){if(Le())throw new P(O.Closed,"Connection is closed.");if(he())throw new P(O.Disposed,"Connection is disposed.")}i(di,"throwIfClosedOrDisposed"),X(di,"throwIfClosedOrDisposed");function Bn(){if(ke())throw new P(O.AlreadyListening,"Connection is already listening")}i(Bn,"throwIfListening"),X(Bn,"throwIfListening");function mi(){if(!ke())throw new Error("Call listen() first.")}i(mi,"throwIfNotListening"),X(mi,"throwIfNotListening");function Qr(dt){return dt===void 0?null:dt}i(Qr,"undefinedToNull"),X(Qr,"undefinedToNull");function Pi(dt){if(dt!==null)return dt}i(Pi,"nullToUndefined"),X(Pi,"nullToUndefined");function qa(dt){return dt!=null&&!Array.isArray(dt)&&typeof dt=="object"}i(qa,"isNamedParam"),X(qa,"isNamedParam");function Ke(dt,rr){switch(dt){case p.ParameterStructures.auto:return qa(rr)?Pi(rr):[Qr(rr)];case p.ParameterStructures.byName:if(!qa(rr))throw new Error("Received parameters by name but param is not an object literal.");return Pi(rr);case p.ParameterStructures.byPosition:return[Qr(rr)];default:throw new Error(`Unknown parameter structure ${dt.toString()}`)}}i(Ke,"computeSingleParam"),X(Ke,"computeSingleParam");function Tn(dt,rr){let Yr,An=dt.numberOfParams;switch(An){case 0:Yr=void 0;break;case 1:Yr=Ke(dt.parameterStructures,rr[0]);break;default:Yr=[];for(let Cn=0;Cn{di();let Yr,An;if(f.string(dt)){Yr=dt;let es=rr[0],vr=0,an=p.ParameterStructures.auto;p.ParameterStructures.is(es)&&(vr=1,an=es);let Dn=rr.length,Ni=Dn-vr;switch(Ni){case 0:An=void 0;break;case 1:An=Ke(an,rr[vr]);break;default:if(an===p.ParameterStructures.byName)throw new Error(`Received ${Ni} parameters for 'by Name' notification parameter structure.`);An=rr.slice(vr,Dn).map(Gi=>Qr(Gi));break}}else{let es=rr;Yr=dt.method,An=Tn(dt,es)}let Cn={jsonrpc:Se,method:Yr,params:An};return pt(Cn),z.write(Cn).catch(es=>{throw ce.error("Sending notification failed."),es})},"sendNotification"),onNotification:X((dt,rr)=>{di();let Yr;return f.func(dt)?qe=dt:rr&&(f.string(dt)?(Yr=dt,Ue.set(dt,{type:void 0,handler:rr})):(Yr=dt.method,Ue.set(dt.method,{type:dt,handler:rr}))),{dispose:X(()=>{Yr!==void 0?Ue.get(Yr)?.handler===rr&&Ue.delete(Yr):qe===dt&&(qe=void 0)},"dispose")}},"onNotification"),onProgress:X((dt,rr,Yr)=>{if(We.has(rr))throw new Error(`Progress handler for token ${rr} already registered`);return We.set(rr,Yr),{dispose:X(()=>{We.get(rr)===Yr&&We.delete(rr)},"dispose")}},"onProgress"),sendProgress:X((dt,rr,Yr)=>Ln.sendNotification(E.type,{token:rr,value:Yr}),"sendProgress"),onUnhandledProgress:He.event,sendRequest:X((dt,...rr)=>{di(),mi();function Yr(Gi,va){let Ua=ze.sender.sendCancellation(Gi,va);Ua===void 0?ce.log(`Received no promise from cancellation strategy when cancelling id ${va}`):Ua.catch(()=>{ce.log(`Sending cancellation messages for id ${va} failed.`)})}i(Yr,"sendCancellation"),X(Yr,"sendCancellation");let An,Cn,es;if(f.string(dt)){An=dt;let Gi=rr[0],va=rr[rr.length-1],Ua=0,aa=p.ParameterStructures.auto;p.ParameterStructures.is(Gi)&&(Ua=1,aa=Gi);let Yn=rr.length;v.CancellationToken.is(va)&&(Yn=Yn-1,es=va);let kn=Yn-Ua;switch(kn){case 0:Cn=void 0;break;case 1:Cn=Ke(aa,rr[Ua]);break;default:if(aa===p.ParameterStructures.byName)throw new Error(`Received ${kn} parameters for 'by Name' request parameter structure.`);Cn=rr.slice(Ua,Yn).map(ci=>Qr(ci));break}}else{let Gi=rr;An=dt.method,Cn=Tn(dt,Gi);let va=dt.numberOfParams;es=v.CancellationToken.is(Gi[va])?Gi[va]:void 0}let vr=le++,an,Dn=!1;es!==void 0&&(es.isCancellationRequested?Dn=!0:an=es.onCancellationRequested(()=>{Yr(Ln,vr)}));let Ni={jsonrpc:Se,id:vr,method:An,params:Cn};return rn(Ni),typeof ze.sender.enableCancellation=="function"&&ze.sender.enableCancellation(Ni),new Promise(async(Gi,va)=>{let Ua=X(kn=>{Gi(kn),ze.sender.cleanup(vr),an?.dispose()},"resolveWithCleanup"),aa=X(kn=>{va(kn),ze.sender.cleanup(vr),an?.dispose()},"rejectWithCleanup"),Yn={method:An,timerStart:Date.now(),resolve:Ua,reject:aa};try{Ot.set(vr,Yn),await z.write(Ni),Dn&&Yr(Ln,vr)}catch(kn){Ot.delete(vr),Yn.reject(new p.ResponseError(p.ErrorCodes.MessageWriteError,kn.message?kn.message:"Unknown reason")),ce.error("Sending request failed.")}})},"sendRequest"),onRequest:X((dt,rr)=>{di();let Yr=null;return R.is(dt)?(Yr=void 0,Ve=dt):f.string(dt)?(Yr=null,rr!==void 0&&(Yr=dt,De.set(dt,{handler:rr,type:void 0}))):rr!==void 0&&(Yr=dt.method,De.set(dt.method,{type:dt,handler:rr})),{dispose:X(()=>{Yr!==null&&(Yr!==void 0?De.get(Yr)?.handler===rr&&De.delete(Yr):Ve===dt&&(Ve=void 0))},"dispose")}},"onRequest"),hasPendingResponse:X(()=>Ot.size>0,"hasPendingResponse"),trace:X(async(dt,rr,Yr)=>{let An=!1,Cn=M.Text;Yr!==void 0&&(f.boolean(Yr)?An=Yr:(An=Yr.sendNotification||!1,Cn=Yr.traceFormat||M.Text)),Xe=dt,Rt=Cn,Xe===L.Off?ft=void 0:ft=rr,An&&!Le()&&!he()&&await Ln.sendNotification(I.type,{value:L.toString(dt)})},"trace"),onError:Me.event,onClose:Fe.event,onUnhandledNotification:je.event,onDispose:nt.event,end:X(()=>{z.end()},"end"),dispose:X(()=>{if(he())return;bt=Q.Disposed,nt.fire(void 0);let dt=new p.ResponseError(p.ErrorCodes.PendingResponseRejected,"Pending response rejected since connection got disposed");for(let rr of Ot.values())rr.reject(dt);Ot=new Map,tr=new Map,yr=new Set,ct=new m.LinkedMap,f.func(z.dispose)&&z.dispose(),f.func(te.dispose)&&te.dispose()},"dispose"),listen:X(()=>{di(),Bn(),bt=Q.Listening,te.listen($t)},"listen"),inspect:X(()=>{(0,h.default)().console.log("inspect")},"inspect")};return Ln.onNotification(F.type,dt=>{if(Xe===L.Off||!ft)return;let rr=Xe===L.Verbose||Xe===L.Compact;ft.log(dt.message,rr?dt.verbose:void 0)}),Ln.onNotification(E.type,async dt=>{let rr=We.get(dt.token);rr?await rr(dt.value):He.fire(dt)}),Ln}i(W,"createMessageConnection"),X(W,"createMessageConnection")}}),zie=Tl({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/api.js"(t){"use strict";var r=t&&t.__importDefault||function(E){return E&&E.__esModule?E:{default:E}};Object.defineProperty(t,"__esModule",{value:!0}),t.ProgressType=t.ProgressToken=t.createMessageConnection=t.NullLogger=t.ConnectionOptions=t.ConnectionStrategy=t.AbstractMessageBuffer=t.WriteableStreamMessageWriter=t.AbstractMessageWriter=t.MessageWriter=t.ReadableStreamMessageReader=t.AbstractMessageReader=t.MessageReader=t.SharedArrayReceiverStrategy=t.SharedArraySenderStrategy=t.CancellationToken=t.CancellationTokenSource=t.Emitter=t.Event=t.Disposable=t.LRUCache=t.Touch=t.LinkedMap=t.ParameterStructures=t.NotificationType9=t.NotificationType8=t.NotificationType7=t.NotificationType6=t.NotificationType5=t.NotificationType4=t.NotificationType3=t.NotificationType2=t.NotificationType1=t.NotificationType0=t.NotificationType=t.ErrorCodes=t.ResponseError=t.RequestType9=t.RequestType8=t.RequestType7=t.RequestType6=t.RequestType5=t.RequestType4=t.RequestType3=t.RequestType2=t.RequestType1=t.RequestType0=t.RequestType=t.Message=t.RAL=void 0,t.MessageStrategy=t.CancellationStrategy=t.CancellationSenderStrategy=t.RequestCancellationReceiverStrategy=t.IdCancellationReceiverStrategy=t.CancellationReceiverStrategy=t.ConnectionError=t.ConnectionErrors=t.LogTraceNotification=t.SetTraceNotification=t.TraceFormat=t.TraceValues=t.TraceValue=t.Trace=void 0;var a=BRr();Object.defineProperty(t,"Message",{enumerable:!0,get:X(function(){return a.Message},"get")}),Object.defineProperty(t,"RequestType",{enumerable:!0,get:X(function(){return a.RequestType},"get")}),Object.defineProperty(t,"RequestType0",{enumerable:!0,get:X(function(){return a.RequestType0},"get")}),Object.defineProperty(t,"RequestType1",{enumerable:!0,get:X(function(){return a.RequestType1},"get")}),Object.defineProperty(t,"RequestType2",{enumerable:!0,get:X(function(){return a.RequestType2},"get")}),Object.defineProperty(t,"RequestType3",{enumerable:!0,get:X(function(){return a.RequestType3},"get")}),Object.defineProperty(t,"RequestType4",{enumerable:!0,get:X(function(){return a.RequestType4},"get")}),Object.defineProperty(t,"RequestType5",{enumerable:!0,get:X(function(){return a.RequestType5},"get")}),Object.defineProperty(t,"RequestType6",{enumerable:!0,get:X(function(){return a.RequestType6},"get")}),Object.defineProperty(t,"RequestType7",{enumerable:!0,get:X(function(){return a.RequestType7},"get")}),Object.defineProperty(t,"RequestType8",{enumerable:!0,get:X(function(){return a.RequestType8},"get")}),Object.defineProperty(t,"RequestType9",{enumerable:!0,get:X(function(){return a.RequestType9},"get")}),Object.defineProperty(t,"ResponseError",{enumerable:!0,get:X(function(){return a.ResponseError},"get")}),Object.defineProperty(t,"ErrorCodes",{enumerable:!0,get:X(function(){return a.ErrorCodes},"get")}),Object.defineProperty(t,"NotificationType",{enumerable:!0,get:X(function(){return a.NotificationType},"get")}),Object.defineProperty(t,"NotificationType0",{enumerable:!0,get:X(function(){return a.NotificationType0},"get")}),Object.defineProperty(t,"NotificationType1",{enumerable:!0,get:X(function(){return a.NotificationType1},"get")}),Object.defineProperty(t,"NotificationType2",{enumerable:!0,get:X(function(){return a.NotificationType2},"get")}),Object.defineProperty(t,"NotificationType3",{enumerable:!0,get:X(function(){return a.NotificationType3},"get")}),Object.defineProperty(t,"NotificationType4",{enumerable:!0,get:X(function(){return a.NotificationType4},"get")}),Object.defineProperty(t,"NotificationType5",{enumerable:!0,get:X(function(){return a.NotificationType5},"get")}),Object.defineProperty(t,"NotificationType6",{enumerable:!0,get:X(function(){return a.NotificationType6},"get")}),Object.defineProperty(t,"NotificationType7",{enumerable:!0,get:X(function(){return a.NotificationType7},"get")}),Object.defineProperty(t,"NotificationType8",{enumerable:!0,get:X(function(){return a.NotificationType8},"get")}),Object.defineProperty(t,"NotificationType9",{enumerable:!0,get:X(function(){return a.NotificationType9},"get")}),Object.defineProperty(t,"ParameterStructures",{enumerable:!0,get:X(function(){return a.ParameterStructures},"get")});var o=$Rr();Object.defineProperty(t,"LinkedMap",{enumerable:!0,get:X(function(){return o.LinkedMap},"get")}),Object.defineProperty(t,"LRUCache",{enumerable:!0,get:X(function(){return o.LRUCache},"get")}),Object.defineProperty(t,"Touch",{enumerable:!0,get:X(function(){return o.Touch},"get")});var l=TZn();Object.defineProperty(t,"Disposable",{enumerable:!0,get:X(function(){return l.Disposable},"get")});var h=jie();Object.defineProperty(t,"Event",{enumerable:!0,get:X(function(){return h.Event},"get")}),Object.defineProperty(t,"Emitter",{enumerable:!0,get:X(function(){return h.Emitter},"get")});var f=Bst();Object.defineProperty(t,"CancellationTokenSource",{enumerable:!0,get:X(function(){return f.CancellationTokenSource},"get")}),Object.defineProperty(t,"CancellationToken",{enumerable:!0,get:X(function(){return f.CancellationToken},"get")});var p=kZn();Object.defineProperty(t,"SharedArraySenderStrategy",{enumerable:!0,get:X(function(){return p.SharedArraySenderStrategy},"get")}),Object.defineProperty(t,"SharedArrayReceiverStrategy",{enumerable:!0,get:X(function(){return p.SharedArrayReceiverStrategy},"get")});var m=CZn();Object.defineProperty(t,"MessageReader",{enumerable:!0,get:X(function(){return m.MessageReader},"get")}),Object.defineProperty(t,"AbstractMessageReader",{enumerable:!0,get:X(function(){return m.AbstractMessageReader},"get")}),Object.defineProperty(t,"ReadableStreamMessageReader",{enumerable:!0,get:X(function(){return m.ReadableStreamMessageReader},"get")});var b=EZn();Object.defineProperty(t,"MessageWriter",{enumerable:!0,get:X(function(){return b.MessageWriter},"get")}),Object.defineProperty(t,"AbstractMessageWriter",{enumerable:!0,get:X(function(){return b.AbstractMessageWriter},"get")}),Object.defineProperty(t,"WriteableStreamMessageWriter",{enumerable:!0,get:X(function(){return b.WriteableStreamMessageWriter},"get")});var v=SZn();Object.defineProperty(t,"AbstractMessageBuffer",{enumerable:!0,get:X(function(){return v.AbstractMessageBuffer},"get")});var T=AZn();Object.defineProperty(t,"ConnectionStrategy",{enumerable:!0,get:X(function(){return T.ConnectionStrategy},"get")}),Object.defineProperty(t,"ConnectionOptions",{enumerable:!0,get:X(function(){return T.ConnectionOptions},"get")}),Object.defineProperty(t,"NullLogger",{enumerable:!0,get:X(function(){return T.NullLogger},"get")}),Object.defineProperty(t,"createMessageConnection",{enumerable:!0,get:X(function(){return T.createMessageConnection},"get")}),Object.defineProperty(t,"ProgressToken",{enumerable:!0,get:X(function(){return T.ProgressToken},"get")}),Object.defineProperty(t,"ProgressType",{enumerable:!0,get:X(function(){return T.ProgressType},"get")}),Object.defineProperty(t,"Trace",{enumerable:!0,get:X(function(){return T.Trace},"get")}),Object.defineProperty(t,"TraceValue",{enumerable:!0,get:X(function(){return T.TraceValue},"get")}),Object.defineProperty(t,"TraceFormat",{enumerable:!0,get:X(function(){return T.TraceFormat},"get")}),Object.defineProperty(t,"SetTraceNotification",{enumerable:!0,get:X(function(){return T.SetTraceNotification},"get")}),Object.defineProperty(t,"LogTraceNotification",{enumerable:!0,get:X(function(){return T.LogTraceNotification},"get")}),Object.defineProperty(t,"ConnectionErrors",{enumerable:!0,get:X(function(){return T.ConnectionErrors},"get")}),Object.defineProperty(t,"ConnectionError",{enumerable:!0,get:X(function(){return T.ConnectionError},"get")}),Object.defineProperty(t,"CancellationReceiverStrategy",{enumerable:!0,get:X(function(){return T.CancellationReceiverStrategy},"get")}),Object.defineProperty(t,"IdCancellationReceiverStrategy",{enumerable:!0,get:X(function(){return T.IdCancellationReceiverStrategy},"get")}),Object.defineProperty(t,"RequestCancellationReceiverStrategy",{enumerable:!0,get:X(function(){return T.RequestCancellationReceiverStrategy},"get")}),Object.defineProperty(t,"CancellationSenderStrategy",{enumerable:!0,get:X(function(){return T.CancellationSenderStrategy},"get")}),Object.defineProperty(t,"CancellationStrategy",{enumerable:!0,get:X(function(){return T.CancellationStrategy},"get")}),Object.defineProperty(t,"MessageStrategy",{enumerable:!0,get:X(function(){return T.MessageStrategy},"get")}),Object.defineProperty(t,"TraceValues",{enumerable:!0,get:X(function(){return T.TraceValues},"get")});var C=r(vP());t.RAL=C.default}}),Wke={};xZn(Wke,{AnnotatedTextEdit:i(()=>AA,"AnnotatedTextEdit"),ApplyKind:i(()=>fit,"ApplyKind"),ChangeAnnotation:i(()=>ID,"ChangeAnnotation"),ChangeAnnotationIdentifier:i(()=>Em,"ChangeAnnotationIdentifier"),CodeAction:i(()=>Rit,"CodeAction"),CodeActionContext:i(()=>Ait,"CodeActionContext"),CodeActionKind:i(()=>Sit,"CodeActionKind"),CodeActionTag:i(()=>YTe,"CodeActionTag"),CodeActionTriggerKind:i(()=>oie,"CodeActionTriggerKind"),CodeDescription:i(()=>tit,"CodeDescription"),CodeLens:i(()=>Lit,"CodeLens"),Color:i(()=>VTe,"Color"),ColorInformation:i(()=>Knt,"ColorInformation"),ColorPresentation:i(()=>Xnt,"ColorPresentation"),Command:i(()=>YO,"Command"),CompletionItem:i(()=>pit,"CompletionItem"),CompletionItemKind:i(()=>oit,"CompletionItemKind"),CompletionItemLabelDetails:i(()=>dit,"CompletionItemLabelDetails"),CompletionItemTag:i(()=>cit,"CompletionItemTag"),CompletionList:i(()=>git,"CompletionList"),CreateFile:i(()=>JU,"CreateFile"),DeleteFile:i(()=>eV,"DeleteFile"),Diagnostic:i(()=>nie,"Diagnostic"),DiagnosticRelatedInformation:i(()=>HTe,"DiagnosticRelatedInformation"),DiagnosticSeverity:i(()=>Znt,"DiagnosticSeverity"),DiagnosticTag:i(()=>eit,"DiagnosticTag"),DocumentHighlight:i(()=>wit,"DocumentHighlight"),DocumentHighlightKind:i(()=>vit,"DocumentHighlightKind"),DocumentLink:i(()=>_it,"DocumentLink"),DocumentSymbol:i(()=>Eit,"DocumentSymbol"),DocumentUri:i(()=>qnt,"DocumentUri"),EOL:i(()=>VRr,"EOL"),FoldingRange:i(()=>Jnt,"FoldingRange"),FoldingRangeKind:i(()=>Qnt,"FoldingRangeKind"),FormattingOptions:i(()=>Dit,"FormattingOptions"),Hover:i(()=>mit,"Hover"),InlayHint:i(()=>Git,"InlayHint"),InlayHintKind:i(()=>KTe,"InlayHintKind"),InlayHintLabelPart:i(()=>XTe,"InlayHintLabelPart"),InlineCompletionContext:i(()=>Hit,"InlineCompletionContext"),InlineCompletionItem:i(()=>jit,"InlineCompletionItem"),InlineCompletionList:i(()=>zit,"InlineCompletionList"),InlineCompletionTriggerKind:i(()=>Uit,"InlineCompletionTriggerKind"),InlineValueContext:i(()=>$it,"InlineValueContext"),InlineValueEvaluatableExpression:i(()=>Fit,"InlineValueEvaluatableExpression"),InlineValueText:i(()=>Pit,"InlineValueText"),InlineValueVariableLookup:i(()=>Bit,"InlineValueVariableLookup"),InsertReplaceEdit:i(()=>uit,"InsertReplaceEdit"),InsertTextFormat:i(()=>lit,"InsertTextFormat"),InsertTextMode:i(()=>hit,"InsertTextMode"),LanguageKind:i(()=>ait,"LanguageKind"),Location:i(()=>rie,"Location"),LocationLink:i(()=>Ynt,"LocationLink"),MarkedString:i(()=>sie,"MarkedString"),MarkupContent:i(()=>ND,"MarkupContent"),MarkupKind:i(()=>WTe,"MarkupKind"),OptionalVersionedTextDocumentIdentifier:i(()=>aie,"OptionalVersionedTextDocumentIdentifier"),ParameterInformation:i(()=>yit,"ParameterInformation"),Position:i(()=>ih,"Position"),Range:i(()=>xc,"Range"),RenameFile:i(()=>ZU,"RenameFile"),SelectedCompletionInfo:i(()=>Vit,"SelectedCompletionInfo"),SelectionRange:i(()=>Mit,"SelectionRange"),SemanticTokenModifiers:i(()=>Nit,"SemanticTokenModifiers"),SemanticTokenTypes:i(()=>Iit,"SemanticTokenTypes"),SemanticTokens:i(()=>Oit,"SemanticTokens"),SignatureInformation:i(()=>bit,"SignatureInformation"),SnippetTextEdit:i(()=>rit,"SnippetTextEdit"),StringValue:i(()=>QTe,"StringValue"),SymbolInformation:i(()=>kit,"SymbolInformation"),SymbolKind:i(()=>xit,"SymbolKind"),SymbolTag:i(()=>Tit,"SymbolTag"),TextDocument:i(()=>Wit,"TextDocument"),TextDocumentEdit:i(()=>iie,"TextDocumentEdit"),TextDocumentIdentifier:i(()=>nit,"TextDocumentIdentifier"),TextDocumentItem:i(()=>sit,"TextDocumentItem"),TextEdit:i(()=>CS,"TextEdit"),URI:i(()=>UTe,"URI"),VersionedTextDocumentIdentifier:i(()=>iit,"VersionedTextDocumentIdentifier"),WorkspaceChange:i(()=>URr,"WorkspaceChange"),WorkspaceEdit:i(()=>qTe,"WorkspaceEdit"),WorkspaceFolder:i(()=>qit,"WorkspaceFolder"),WorkspaceSymbol:i(()=>Cit,"WorkspaceSymbol"),integer:i(()=>Wnt,"integer"),uinteger:i(()=>tie,"uinteger")});Yke=wZn({"../../node_modules/.pnpm/vscode-languageserver-types@3.18.4/node_modules/vscode-languageserver-types/lib/esm/main.js"(){"use strict";(function(t){function r(a){return typeof a=="string"}i(r,"is"),X(r,"is"),t.is=r})(qnt||(qnt={})),(function(t){function r(a){return typeof a=="string"}i(r,"is"),X(r,"is"),t.is=r})(UTe||(UTe={})),(function(t){t.MIN_VALUE=-2147483648,t.MAX_VALUE=2147483647;function r(a){return typeof a=="number"&&t.MIN_VALUE<=a&&a<=t.MAX_VALUE}i(r,"is"),X(r,"is"),t.is=r})(Wnt||(Wnt={})),(function(t){t.MIN_VALUE=0,t.MAX_VALUE=2147483647;function r(a){return typeof a=="number"&&t.MIN_VALUE<=a&&a<=t.MAX_VALUE}i(r,"is"),X(r,"is"),t.is=r})(tie||(tie={})),(function(t){function r(o,l){return o===Number.MAX_VALUE&&(o=tie.MAX_VALUE),l===Number.MAX_VALUE&&(l=tie.MAX_VALUE),{line:o,character:l}}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.objectLiteral(l)&&$r.uinteger(l.line)&&$r.uinteger(l.character)}i(a,"is"),X(a,"is"),t.is=a})(ih||(ih={})),(function(t){function r(o,l,h,f){if($r.uinteger(o)&&$r.uinteger(l)&&$r.uinteger(h)&&$r.uinteger(f))return{start:ih.create(o,l),end:ih.create(h,f)};if(ih.is(o)&&ih.is(l))return{start:o,end:l};throw new Error(`Range#create called with invalid arguments[${o}, ${l}, ${h}, ${f}]`)}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.objectLiteral(l)&&ih.is(l.start)&&ih.is(l.end)}i(a,"is"),X(a,"is"),t.is=a})(xc||(xc={})),(function(t){function r(o,l){return{uri:o,range:l}}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.objectLiteral(l)&&xc.is(l.range)&&($r.string(l.uri)||$r.undefined(l.uri))}i(a,"is"),X(a,"is"),t.is=a})(rie||(rie={})),(function(t){function r(o,l,h,f){return{targetUri:o,targetRange:l,targetSelectionRange:h,originSelectionRange:f}}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.objectLiteral(l)&&xc.is(l.targetRange)&&$r.string(l.targetUri)&&xc.is(l.targetSelectionRange)&&(xc.is(l.originSelectionRange)||$r.undefined(l.originSelectionRange))}i(a,"is"),X(a,"is"),t.is=a})(Ynt||(Ynt={})),(function(t){function r(o,l,h,f){return{red:o,green:l,blue:h,alpha:f}}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.objectLiteral(l)&&$r.numberRange(l.red,0,1)&&$r.numberRange(l.green,0,1)&&$r.numberRange(l.blue,0,1)&&$r.numberRange(l.alpha,0,1)}i(a,"is"),X(a,"is"),t.is=a})(VTe||(VTe={})),(function(t){function r(o,l){return{range:o,color:l}}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.objectLiteral(l)&&xc.is(l.range)&&VTe.is(l.color)}i(a,"is"),X(a,"is"),t.is=a})(Knt||(Knt={})),(function(t){function r(o,l,h){return{label:o,textEdit:l,additionalTextEdits:h}}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.objectLiteral(l)&&$r.string(l.label)&&($r.undefined(l.textEdit)||CS.is(l))&&($r.undefined(l.additionalTextEdits)||$r.typedArray(l.additionalTextEdits,CS.is))}i(a,"is"),X(a,"is"),t.is=a})(Xnt||(Xnt={})),(function(t){t.Comment="comment",t.Imports="imports",t.Region="region"})(Qnt||(Qnt={})),(function(t){function r(o,l,h,f,p,m){let b={startLine:o,endLine:l};return $r.defined(h)&&(b.startCharacter=h),$r.defined(f)&&(b.endCharacter=f),$r.defined(p)&&(b.kind=p),$r.defined(m)&&(b.collapsedText=m),b}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.objectLiteral(l)&&$r.uinteger(l.startLine)&&$r.uinteger(l.startLine)&&($r.undefined(l.startCharacter)||$r.uinteger(l.startCharacter))&&($r.undefined(l.endCharacter)||$r.uinteger(l.endCharacter))&&($r.undefined(l.kind)||$r.string(l.kind))}i(a,"is"),X(a,"is"),t.is=a})(Jnt||(Jnt={})),(function(t){function r(o,l){return{location:o,message:l}}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.defined(l)&&rie.is(l.location)&&$r.string(l.message)}i(a,"is"),X(a,"is"),t.is=a})(HTe||(HTe={})),(function(t){t.Error=1,t.Warning=2,t.Information=3,t.Hint=4})(Znt||(Znt={})),(function(t){t.Unnecessary=1,t.Deprecated=2})(eit||(eit={})),(function(t){function r(a){let o=a;return $r.objectLiteral(o)&&$r.string(o.href)}i(r,"is"),X(r,"is"),t.is=r})(tit||(tit={})),(function(t){function r(h,f,p,m,b,v){let T={range:h,message:f};return $r.defined(p)&&(T.severity=p),$r.defined(m)&&(T.code=m),$r.defined(b)&&(T.source=b),$r.defined(v)&&(T.relatedInformation=v),T}i(r,"create"),X(r,"create"),t.create=r;function a(h){var f;let p=h;return $r.defined(p)&&xc.is(p.range)&&($r.string(p.message)||ND.is(p.message))&&($r.number(p.severity)||$r.undefined(p.severity))&&($r.integer(p.code)||$r.string(p.code)||$r.undefined(p.code))&&($r.undefined(p.codeDescription)||$r.string((f=p.codeDescription)===null||f===void 0?void 0:f.href))&&($r.string(p.source)||$r.undefined(p.source))&&($r.undefined(p.relatedInformation)||$r.typedArray(p.relatedInformation,HTe.is))}i(a,"is"),X(a,"is"),t.is=a;function o(h){return $r.string(h.message)}i(o,"is3_17"),X(o,"is3_17"),t.is3_17=o;function l(h){if($r.string(h.message))return h.message;if(ND.is(h.message))return h.message.value;throw new Error(`Unknown message type ${typeof h.message}`)}i(l,"getMessageString"),X(l,"getMessageString"),t.getMessageString=l})(nie||(nie={})),(function(t){function r(o,l,...h){let f={title:o,command:l};return $r.defined(h)&&h.length>0&&(f.arguments=h),f}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.defined(l)&&$r.string(l.title)&&(l.tooltip===void 0||$r.string(l.tooltip))&&$r.string(l.command)}i(a,"is"),X(a,"is"),t.is=a})(YO||(YO={})),(function(t){function r(h,f){return{range:h,newText:f}}i(r,"replace"),X(r,"replace"),t.replace=r;function a(h,f){return{range:{start:h,end:h},newText:f}}i(a,"insert"),X(a,"insert"),t.insert=a;function o(h){return{range:h,newText:""}}i(o,"del"),X(o,"del"),t.del=o;function l(h){let f=h;return $r.objectLiteral(f)&&$r.string(f.newText)&&xc.is(f.range)}i(l,"is"),X(l,"is"),t.is=l})(CS||(CS={})),(function(t){function r(o,l,h){let f={label:o};return l!==void 0&&(f.needsConfirmation=l),h!==void 0&&(f.description=h),f}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.objectLiteral(l)&&$r.string(l.label)&&($r.boolean(l.needsConfirmation)||l.needsConfirmation===void 0)&&($r.string(l.description)||l.description===void 0)}i(a,"is"),X(a,"is"),t.is=a})(ID||(ID={})),(function(t){function r(a){let o=a;return $r.string(o)}i(r,"is"),X(r,"is"),t.is=r})(Em||(Em={})),(function(t){function r(h,f,p){return{range:h,newText:f,annotationId:p}}i(r,"replace"),X(r,"replace"),t.replace=r;function a(h,f,p){return{range:{start:h,end:h},newText:f,annotationId:p}}i(a,"insert"),X(a,"insert"),t.insert=a;function o(h,f){return{range:h,newText:"",annotationId:f}}i(o,"del"),X(o,"del"),t.del=o;function l(h){let f=h;return CS.is(f)&&(ID.is(f.annotationId)||Em.is(f.annotationId))}i(l,"is"),X(l,"is"),t.is=l})(AA||(AA={})),(function(t){function r(o,l){return{textDocument:o,edits:l}}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.defined(l)&&aie.is(l.textDocument)&&Array.isArray(l.edits)}i(a,"is"),X(a,"is"),t.is=a})(iie||(iie={})),(function(t){function r(o,l,h){let f={kind:"create",uri:o};return l!==void 0&&(l.overwrite!==void 0||l.ignoreIfExists!==void 0)&&(f.options=l),h!==void 0&&(f.annotationId=h),f}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return l&&l.kind==="create"&&$r.string(l.uri)&&(l.options===void 0||(l.options.overwrite===void 0||$r.boolean(l.options.overwrite))&&(l.options.ignoreIfExists===void 0||$r.boolean(l.options.ignoreIfExists)))&&(l.annotationId===void 0||Em.is(l.annotationId))}i(a,"is"),X(a,"is"),t.is=a})(JU||(JU={})),(function(t){function r(o,l,h,f){let p={kind:"rename",oldUri:o,newUri:l};return h!==void 0&&(h.overwrite!==void 0||h.ignoreIfExists!==void 0)&&(p.options=h),f!==void 0&&(p.annotationId=f),p}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return l&&l.kind==="rename"&&$r.string(l.oldUri)&&$r.string(l.newUri)&&(l.options===void 0||(l.options.overwrite===void 0||$r.boolean(l.options.overwrite))&&(l.options.ignoreIfExists===void 0||$r.boolean(l.options.ignoreIfExists)))&&(l.annotationId===void 0||Em.is(l.annotationId))}i(a,"is"),X(a,"is"),t.is=a})(ZU||(ZU={})),(function(t){function r(o,l,h){let f={kind:"delete",uri:o};return l!==void 0&&(l.recursive!==void 0||l.ignoreIfNotExists!==void 0)&&(f.options=l),h!==void 0&&(f.annotationId=h),f}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return l&&l.kind==="delete"&&$r.string(l.uri)&&(l.options===void 0||(l.options.recursive===void 0||$r.boolean(l.options.recursive))&&(l.options.ignoreIfNotExists===void 0||$r.boolean(l.options.ignoreIfNotExists)))&&(l.annotationId===void 0||Em.is(l.annotationId))}i(a,"is"),X(a,"is"),t.is=a})(eV||(eV={})),(function(t){function r(a){let o=a;return o&&(o.changes!==void 0||o.documentChanges!==void 0)&&(o.documentChanges===void 0||o.documentChanges.every(l=>$r.string(l.kind)?JU.is(l)||ZU.is(l)||eV.is(l):iie.is(l)))}i(r,"is"),X(r,"is"),t.is=r})(qTe||(qTe={})),Vne=class{static{i(this,"TextEditChangeImpl")}static{X(this,"TextEditChangeImpl")}constructor(t,r){this.edits=t,this.changeAnnotations=r}insert(t,r,a){let o,l;if(a===void 0?o=CS.insert(t,r):Em.is(a)?(l=a,o=AA.insert(t,r,a)):(this.assertChangeAnnotations(this.changeAnnotations),l=this.changeAnnotations.manage(a),o=AA.insert(t,r,l)),this.edits.push(o),l!==void 0)return l}replace(t,r,a){let o,l;if(a===void 0?o=CS.replace(t,r):Em.is(a)?(l=a,o=AA.replace(t,r,a)):(this.assertChangeAnnotations(this.changeAnnotations),l=this.changeAnnotations.manage(a),o=AA.replace(t,r,l)),this.edits.push(o),l!==void 0)return l}delete(t,r){let a,o;if(r===void 0?a=CS.del(t):Em.is(r)?(o=r,a=AA.del(t,r)):(this.assertChangeAnnotations(this.changeAnnotations),o=this.changeAnnotations.manage(r),a=AA.del(t,o)),this.edits.push(a),o!==void 0)return o}add(t){this.edits.push(t)}all(){return this.edits}clear(){this.edits.splice(0,this.edits.length)}assertChangeAnnotations(t){if(t===void 0)throw new Error("Text edit change is not configured to manage change annotations.")}},(function(t){function r(a){let o=a;return $r.objectLiteral(o)&&xc.is(o.range)&&QTe.isSnippet(o.snippet)&&(o.annotationId===void 0||ID.is(o.annotationId)||Em.is(o.annotationId))}i(r,"is"),X(r,"is"),t.is=r})(rit||(rit={})),Cnt=class{static{i(this,"ChangeAnnotations")}static{X(this,"ChangeAnnotations")}constructor(t){this._annotations=t===void 0?Object.create(null):t,this._counter=0,this._size=0}all(){return this._annotations}get size(){return this._size}manage(t,r){let a;if(Em.is(t)?a=t:(a=this.nextId(),r=t),this._annotations[a]!==void 0)throw new Error(`Id ${a} is already in use.`);if(r===void 0)throw new Error(`No annotation provided for id ${a}`);return this._annotations[a]=r,this._size++,a}nextId(){return this._counter++,this._counter.toString()}},URr=class{static{i(this,"WorkspaceChange")}static{X(this,"WorkspaceChange")}constructor(t){this._textEditChanges=Object.create(null),t!==void 0?(this._workspaceEdit=t,t.documentChanges?(this._changeAnnotations=new Cnt(t.changeAnnotations),t.changeAnnotations=this._changeAnnotations.all(),t.documentChanges.forEach(r=>{if(iie.is(r)){let a=new Vne(r.edits,this._changeAnnotations);this._textEditChanges[r.textDocument.uri]=a}})):t.changes&&Object.keys(t.changes).forEach(r=>{let a=new Vne(t.changes[r]);this._textEditChanges[r]=a})):this._workspaceEdit={}}get edit(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit}getTextEditChange(t){if(aie.is(t)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");let r={uri:t.uri,version:t.version},a=this._textEditChanges[r.uri];if(!a){let o=[],l={textDocument:r,edits:o};this._workspaceEdit.documentChanges.push(l),a=new Vne(o,this._changeAnnotations),this._textEditChanges[r.uri]=a}return a}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");let r=this._textEditChanges[t];if(!r){let a=[];this._workspaceEdit.changes[t]=a,r=new Vne(a),this._textEditChanges[t]=r}return r}}initDocumentChanges(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new Cnt,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())}initChanges(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))}createFile(t,r,a){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");let o;ID.is(r)||Em.is(r)?o=r:a=r;let l,h;if(o===void 0?l=JU.create(t,a):(h=Em.is(o)?o:this._changeAnnotations.manage(o),l=JU.create(t,a,h)),this._workspaceEdit.documentChanges.push(l),h!==void 0)return h}renameFile(t,r,a,o){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");let l;ID.is(a)||Em.is(a)?l=a:o=a;let h,f;if(l===void 0?h=ZU.create(t,r,o):(f=Em.is(l)?l:this._changeAnnotations.manage(l),h=ZU.create(t,r,o,f)),this._workspaceEdit.documentChanges.push(h),f!==void 0)return f}deleteFile(t,r,a){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");let o;ID.is(r)||Em.is(r)?o=r:a=r;let l,h;if(o===void 0?l=eV.create(t,a):(h=Em.is(o)?o:this._changeAnnotations.manage(o),l=eV.create(t,a,h)),this._workspaceEdit.documentChanges.push(l),h!==void 0)return h}},(function(t){function r(o){return{uri:o}}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.defined(l)&&$r.string(l.uri)}i(a,"is"),X(a,"is"),t.is=a})(nit||(nit={})),(function(t){function r(o,l){return{uri:o,version:l}}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.defined(l)&&$r.string(l.uri)&&$r.integer(l.version)}i(a,"is"),X(a,"is"),t.is=a})(iit||(iit={})),(function(t){function r(o,l){return{uri:o,version:l}}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.defined(l)&&$r.string(l.uri)&&(l.version===null||$r.integer(l.version))}i(a,"is"),X(a,"is"),t.is=a})(aie||(aie={})),(function(t){t.ABAP="abap",t.WindowsBat="bat",t.BibTeX="bibtex",t.Clojure="clojure",t.Coffeescript="coffeescript",t.C="c",t.CPP="cpp",t.CSharp="csharp",t.CSS="css",t.D="d",t.Delphi="pascal",t.Diff="diff",t.Dart="dart",t.Dockerfile="dockerfile",t.Elixir="elixir",t.Erlang="erlang",t.FSharp="fsharp",t.GitCommit="git-commit",t.GitRebase="git-rebase",t.Go="go",t.Groovy="groovy",t.Handlebars="handlebars",t.Haskell="haskell",t.HTML="html",t.Ini="ini",t.Java="java",t.JavaScript="javascript",t.JavaScriptReact="javascriptreact",t.JSON="json",t.LaTeX="latex",t.Less="less",t.Lua="lua",t.Makefile="makefile",t.Markdown="markdown",t.ObjectiveC="objective-c",t.ObjectiveCPP="objective-cpp",t.Pascal="pascal",t.Perl="perl",t.Perl6="perl6",t.PHP="php",t.Plaintext="plaintext",t.Powershell="powershell",t.Pug="jade",t.Python="python",t.R="r",t.Razor="razor",t.Ruby="ruby",t.Rust="rust",t.SCSS="scss",t.SASS="sass",t.Scala="scala",t.ShaderLab="shaderlab",t.ShellScript="shellscript",t.SQL="sql",t.Swift="swift",t.TypeScript="typescript",t.TypeScriptReact="typescriptreact",t.TeX="tex",t.VisualBasic="vb",t.XML="xml",t.XSL="xsl",t.YAML="yaml"})(ait||(ait={})),(function(t){function r(o,l,h,f){return{uri:o,languageId:l,version:h,text:f}}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.defined(l)&&$r.string(l.uri)&&$r.string(l.languageId)&&$r.integer(l.version)&&$r.string(l.text)}i(a,"is"),X(a,"is"),t.is=a})(sit||(sit={})),(function(t){t.PlainText="plaintext",t.Markdown="markdown";function r(a){let o=a;return o===t.PlainText||o===t.Markdown}i(r,"is"),X(r,"is"),t.is=r})(WTe||(WTe={})),(function(t){function r(a){let o=a;return $r.objectLiteral(a)&&WTe.is(o.kind)&&$r.string(o.value)}i(r,"is"),X(r,"is"),t.is=r})(ND||(ND={})),(function(t){t.Text=1,t.Method=2,t.Function=3,t.Constructor=4,t.Field=5,t.Variable=6,t.Class=7,t.Interface=8,t.Module=9,t.Property=10,t.Unit=11,t.Value=12,t.Enum=13,t.Keyword=14,t.Snippet=15,t.Color=16,t.File=17,t.Reference=18,t.Folder=19,t.EnumMember=20,t.Constant=21,t.Struct=22,t.Event=23,t.Operator=24,t.TypeParameter=25})(oit||(oit={})),(function(t){t.PlainText=1,t.Snippet=2})(lit||(lit={})),(function(t){t.Deprecated=1})(cit||(cit={})),(function(t){function r(o,l,h){return{newText:o,insert:l,replace:h}}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return l&&$r.string(l.newText)&&xc.is(l.insert)&&xc.is(l.replace)}i(a,"is"),X(a,"is"),t.is=a})(uit||(uit={})),(function(t){t.asIs=1,t.adjustIndentation=2})(hit||(hit={})),(function(t){t.Replace=1,t.Merge=2})(fit||(fit={})),(function(t){function r(a){let o=a;return o&&($r.string(o.detail)||o.detail===void 0)&&($r.string(o.description)||o.description===void 0)}i(r,"is"),X(r,"is"),t.is=r})(dit||(dit={})),(function(t){function r(a){return{label:a}}i(r,"create"),X(r,"create"),t.create=r})(pit||(pit={})),(function(t){function r(a,o){return{items:a||[],isIncomplete:!!o}}i(r,"create"),X(r,"create"),t.create=r})(git||(git={})),(function(t){function r(o){return o.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}i(r,"fromPlainText"),X(r,"fromPlainText"),t.fromPlainText=r;function a(o){let l=o;return $r.string(l)||$r.objectLiteral(l)&&$r.string(l.language)&&$r.string(l.value)}i(a,"is"),X(a,"is"),t.is=a})(sie||(sie={})),(function(t){function r(a){let o=a;return!!o&&$r.objectLiteral(o)&&(ND.is(o.contents)||sie.is(o.contents)||$r.typedArray(o.contents,sie.is))&&(a.range===void 0||xc.is(a.range))}i(r,"is"),X(r,"is"),t.is=r})(mit||(mit={})),(function(t){function r(a,o){return o?{label:a,documentation:o}:{label:a}}i(r,"create"),X(r,"create"),t.create=r})(yit||(yit={})),(function(t){function r(a,o,...l){let h={label:a};return $r.defined(o)&&(h.documentation=o),$r.defined(l)?h.parameters=l:h.parameters=[],h}i(r,"create"),X(r,"create"),t.create=r})(bit||(bit={})),(function(t){t.Text=1,t.Read=2,t.Write=3})(vit||(vit={})),(function(t){function r(a,o){let l={range:a};return $r.number(o)&&(l.kind=o),l}i(r,"create"),X(r,"create"),t.create=r})(wit||(wit={})),(function(t){t.File=1,t.Module=2,t.Namespace=3,t.Package=4,t.Class=5,t.Method=6,t.Property=7,t.Field=8,t.Constructor=9,t.Enum=10,t.Interface=11,t.Function=12,t.Variable=13,t.Constant=14,t.String=15,t.Number=16,t.Boolean=17,t.Array=18,t.Object=19,t.Key=20,t.Null=21,t.EnumMember=22,t.Struct=23,t.Event=24,t.Operator=25,t.TypeParameter=26})(xit||(xit={})),(function(t){t.Deprecated=1})(Tit||(Tit={})),(function(t){function r(a,o,l,h,f){let p={name:a,kind:o,location:{uri:h,range:l}};return f&&(p.containerName=f),p}i(r,"create"),X(r,"create"),t.create=r})(kit||(kit={})),(function(t){function r(a,o,l,h){return h!==void 0?{name:a,kind:o,location:{uri:l,range:h}}:{name:a,kind:o,location:{uri:l}}}i(r,"create"),X(r,"create"),t.create=r})(Cit||(Cit={})),(function(t){function r(o,l,h,f,p,m){let b={name:o,detail:l,kind:h,range:f,selectionRange:p};return m!==void 0&&(b.children=m),b}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return l&&$r.string(l.name)&&$r.number(l.kind)&&xc.is(l.range)&&xc.is(l.selectionRange)&&(l.detail===void 0||$r.string(l.detail))&&(l.deprecated===void 0||$r.boolean(l.deprecated))&&(l.children===void 0||Array.isArray(l.children))&&(l.tags===void 0||Array.isArray(l.tags))}i(a,"is"),X(a,"is"),t.is=a})(Eit||(Eit={})),(function(t){t.Empty="",t.QuickFix="quickfix",t.Refactor="refactor",t.RefactorExtract="refactor.extract",t.RefactorInline="refactor.inline",t.RefactorMove="refactor.move",t.RefactorRewrite="refactor.rewrite",t.Source="source",t.SourceOrganizeImports="source.organizeImports",t.SourceFixAll="source.fixAll",t.Notebook="notebook"})(Sit||(Sit={})),(function(t){t.Invoked=1,t.Automatic=2})(oie||(oie={})),(function(t){function r(o,l,h){let f={diagnostics:o};return l!=null&&(f.only=l),h!=null&&(f.triggerKind=h),f}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.defined(l)&&$r.typedArray(l.diagnostics,nie.is)&&(l.only===void 0||$r.typedArray(l.only,$r.string))&&(l.triggerKind===void 0||l.triggerKind===oie.Invoked||l.triggerKind===oie.Automatic)}i(a,"is"),X(a,"is"),t.is=a})(Ait||(Ait={})),(function(t){t.LLMGenerated=1;function r(a){return $r.defined(a)&&a===t.LLMGenerated}i(r,"is"),X(r,"is"),t.is=r})(YTe||(YTe={})),(function(t){function r(o,l,h){let f={title:o},p=!0;return typeof l=="string"?(p=!1,f.kind=l):YO.is(l)?f.command=l:f.edit=l,p&&h!==void 0&&(f.kind=h),f}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return l&&$r.string(l.title)&&(l.diagnostics===void 0||$r.typedArray(l.diagnostics,nie.is))&&(l.kind===void 0||$r.string(l.kind))&&(l.edit!==void 0||l.command!==void 0)&&(l.command===void 0||YO.is(l.command))&&(l.isPreferred===void 0||$r.boolean(l.isPreferred))&&(l.edit===void 0||qTe.is(l.edit))&&(l.tags===void 0||$r.typedArray(l.tags,YTe.is))}i(a,"is"),X(a,"is"),t.is=a})(Rit||(Rit={})),(function(t){function r(o,l){let h={range:o};return $r.defined(l)&&(h.data=l),h}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.defined(l)&&xc.is(l.range)&&($r.undefined(l.command)||YO.is(l.command))}i(a,"is"),X(a,"is"),t.is=a})(Lit||(Lit={})),(function(t){function r(o,l){return{tabSize:o,insertSpaces:l}}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.defined(l)&&$r.uinteger(l.tabSize)&&$r.boolean(l.insertSpaces)}i(a,"is"),X(a,"is"),t.is=a})(Dit||(Dit={})),(function(t){function r(o,l,h){return{range:o,target:l,data:h}}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.defined(l)&&xc.is(l.range)&&($r.undefined(l.target)||$r.string(l.target))}i(a,"is"),X(a,"is"),t.is=a})(_it||(_it={})),(function(t){function r(o,l){return{range:o,parent:l}}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.objectLiteral(l)&&xc.is(l.range)&&(l.parent===void 0||t.is(l.parent))}i(a,"is"),X(a,"is"),t.is=a})(Mit||(Mit={})),(function(t){t.namespace="namespace",t.type="type",t.class="class",t.enum="enum",t.interface="interface",t.struct="struct",t.typeParameter="typeParameter",t.parameter="parameter",t.variable="variable",t.property="property",t.enumMember="enumMember",t.event="event",t.function="function",t.method="method",t.macro="macro",t.keyword="keyword",t.modifier="modifier",t.comment="comment",t.string="string",t.number="number",t.regexp="regexp",t.operator="operator",t.decorator="decorator",t.label="label"})(Iit||(Iit={})),(function(t){t.declaration="declaration",t.definition="definition",t.readonly="readonly",t.static="static",t.deprecated="deprecated",t.abstract="abstract",t.async="async",t.modification="modification",t.documentation="documentation",t.defaultLibrary="defaultLibrary"})(Nit||(Nit={})),(function(t){function r(a){let o=a;return $r.objectLiteral(o)&&(o.resultId===void 0||typeof o.resultId=="string")&&Array.isArray(o.data)&&(o.data.length===0||typeof o.data[0]=="number")}i(r,"is"),X(r,"is"),t.is=r})(Oit||(Oit={})),(function(t){function r(o,l){return{range:o,text:l}}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return l!=null&&xc.is(l.range)&&$r.string(l.text)}i(a,"is"),X(a,"is"),t.is=a})(Pit||(Pit={})),(function(t){function r(o,l,h){return{range:o,variableName:l,caseSensitiveLookup:h}}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return l!=null&&xc.is(l.range)&&$r.boolean(l.caseSensitiveLookup)&&($r.string(l.variableName)||l.variableName===void 0)}i(a,"is"),X(a,"is"),t.is=a})(Bit||(Bit={})),(function(t){function r(o,l){return{range:o,expression:l}}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return l!=null&&xc.is(l.range)&&($r.string(l.expression)||l.expression===void 0)}i(a,"is"),X(a,"is"),t.is=a})(Fit||(Fit={})),(function(t){function r(o,l){return{frameId:o,stoppedLocation:l}}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.defined(l)&&xc.is(o.stoppedLocation)}i(a,"is"),X(a,"is"),t.is=a})($it||($it={})),(function(t){t.Type=1,t.Parameter=2;function r(a){return a===1||a===2}i(r,"is"),X(r,"is"),t.is=r})(KTe||(KTe={})),(function(t){function r(o){return{value:o}}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.objectLiteral(l)&&(l.tooltip===void 0||$r.string(l.tooltip)||ND.is(l.tooltip))&&(l.location===void 0||rie.is(l.location))&&(l.command===void 0||YO.is(l.command))}i(a,"is"),X(a,"is"),t.is=a})(XTe||(XTe={})),(function(t){function r(o,l,h){let f={position:o,label:l};return h!==void 0&&(f.kind=h),f}i(r,"create"),X(r,"create"),t.create=r;function a(o){let l=o;return $r.objectLiteral(l)&&ih.is(l.position)&&($r.string(l.label)||$r.typedArray(l.label,XTe.is))&&(l.kind===void 0||KTe.is(l.kind))&&l.textEdits===void 0||$r.typedArray(l.textEdits,CS.is)&&(l.tooltip===void 0||$r.string(l.tooltip)||ND.is(l.tooltip))&&(l.paddingLeft===void 0||$r.boolean(l.paddingLeft))&&(l.paddingRight===void 0||$r.boolean(l.paddingRight))}i(a,"is"),X(a,"is"),t.is=a})(Git||(Git={})),(function(t){function r(o){return{kind:"snippet",value:o}}i(r,"createSnippet"),X(r,"createSnippet"),t.createSnippet=r;function a(o){let l=o;return $r.objectLiteral(l)&&l.kind==="snippet"&&$r.string(l.value)}i(a,"isSnippet"),X(a,"isSnippet"),t.isSnippet=a})(QTe||(QTe={})),(function(t){function r(a,o,l,h){return{insertText:a,filterText:o,range:l,command:h}}i(r,"create"),X(r,"create"),t.create=r})(jit||(jit={})),(function(t){function r(a){return{items:a}}i(r,"create"),X(r,"create"),t.create=r})(zit||(zit={})),(function(t){t.Invoked=1,t.Automatic=2})(Uit||(Uit={})),(function(t){function r(a,o){return{range:a,text:o}}i(r,"create"),X(r,"create"),t.create=r})(Vit||(Vit={})),(function(t){function r(a,o){return{triggerKind:a,selectedCompletionInfo:o}}i(r,"create"),X(r,"create"),t.create=r})(Hit||(Hit={})),(function(t){function r(a){let o=a;return $r.objectLiteral(o)&&UTe.is(o.uri)&&$r.string(o.name)}i(r,"is"),X(r,"is"),t.is=r})(qit||(qit={})),VRr=[` +`,`\r +`,"\r"],(function(t){function r(h,f,p,m){return new m7r(h,f,p,m)}i(r,"create"),X(r,"create"),t.create=r;function a(h){let f=h;return!!($r.defined(f)&&$r.string(f.uri)&&($r.undefined(f.languageId)||$r.string(f.languageId))&&$r.uinteger(f.lineCount)&&$r.func(f.getText)&&$r.func(f.positionAt)&&$r.func(f.offsetAt))}i(a,"is"),X(a,"is"),t.is=a;function o(h,f){let p=h.getText(),m=l(f,(v,T)=>{let C=v.range.start.line-T.range.start.line;return C===0?v.range.start.character-T.range.start.character:C}),b=p.length;for(let v=m.length-1;v>=0;v--){let T=m[v],C=h.offsetAt(T.range.start),E=h.offsetAt(T.range.end);if(E<=b)p=p.substring(0,C)+T.newText+p.substring(E,p.length);else throw new Error("Overlapping edit");b=C}return p}i(o,"applyEdits"),X(o,"applyEdits"),t.applyEdits=o;function l(h,f){if(h.length<=1)return h;let p=h.length/2|0,m=h.slice(0,p),b=h.slice(p);l(m,f),l(b,f);let v=0,T=0,C=0;for(;v0&&t.push(r.length),this._lineOffsets=t}return this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let r=this.getLineOffsets(),a=0,o=r.length;if(o===0)return ih.create(0,t);for(;at?o=h:a=h+1}let l=a-1;return ih.create(l,t-r[l])}offsetAt(t){let r=this.getLineOffsets();if(t.line>=r.length)return this._content.length;if(t.line<0)return 0;let a=r[t.line],o=t.line+1"u"}i(o,"undefined2"),X(o,"undefined"),t.undefined=o;function l(E){return E===!0||E===!1}i(l,"boolean"),X(l,"boolean"),t.boolean=l;function h(E){return r.call(E)==="[object String]"}i(h,"string"),X(h,"string"),t.string=h;function f(E){return r.call(E)==="[object Number]"}i(f,"number"),X(f,"number"),t.number=f;function p(E,S,R){return r.call(E)==="[object Number]"&&S<=E&&E<=R}i(p,"numberRange"),X(p,"numberRange"),t.numberRange=p;function m(E){return r.call(E)==="[object Number]"&&-2147483648<=E&&E<=2147483647}i(m,"integer2"),X(m,"integer"),t.integer=m;function b(E){return r.call(E)==="[object Number]"&&0<=E&&E<=2147483647}i(b,"uinteger2"),X(b,"uinteger"),t.uinteger=b;function v(E){return r.call(E)==="[object Function]"}i(v,"func"),X(v,"func"),t.func=v;function T(E){return E!==null&&typeof E=="object"}i(T,"objectLiteral"),X(T,"objectLiteral"),t.objectLiteral=T;function C(E,S){return Array.isArray(E)&&E.every(S)}i(C,"typedArray"),X(C,"typedArray"),t.typedArray=C})($r||($r={}))}}),Qf=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/messages.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CM=t.ProtocolNotificationType=t.ProtocolNotificationType0=t.ProtocolRequestType=t.ProtocolRequestType0=t.RegistrationType=t.MessageDirection=void 0;var r=zie(),a;(function(b){b.clientToServer="clientToServer",b.serverToClient="serverToClient",b.both="both"})(a||(t.MessageDirection=a={}));var o=class{static{i(this,"RegistrationType")}static{X(this,"RegistrationType")}____;method;constructor(b){this.method=b}};t.RegistrationType=o;var l=class extends r.RequestType0{static{i(this,"ProtocolRequestType0")}static{X(this,"ProtocolRequestType0")}__;___;____;_pr;constructor(b){super(b)}};t.ProtocolRequestType0=l;var h=class extends r.RequestType{static{i(this,"ProtocolRequestType")}static{X(this,"ProtocolRequestType")}__;___;____;_pr;constructor(b){super(b,r.ParameterStructures.byName)}};t.ProtocolRequestType=h;var f=class extends r.NotificationType0{static{i(this,"ProtocolNotificationType0")}static{X(this,"ProtocolNotificationType0")}___;____;constructor(b){super(b)}};t.ProtocolNotificationType0=f;var p=class extends r.NotificationType{static{i(this,"ProtocolNotificationType")}static{X(this,"ProtocolNotificationType")}___;____;constructor(b){super(b,r.ParameterStructures.byName)}};t.ProtocolNotificationType=p;var m;(function(b){function v(T,C){return{client:T,server:C}}i(v,"create"),X(v,"create"),b.create=v})(m||(t.CM=m={}))}}),Fst=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boolean=r,t.string=a,t.number=o,t.error=l,t.func=h,t.array=f,t.stringArray=p,t.typedArray=m,t.objectLiteral=b;function r(v){return v===!0||v===!1}i(r,"boolean"),X(r,"boolean");function a(v){return typeof v=="string"||v instanceof String}i(a,"string"),X(a,"string");function o(v){return typeof v=="number"||v instanceof Number}i(o,"number"),X(o,"number");function l(v){return v instanceof Error}i(l,"error"),X(l,"error");function h(v){return typeof v=="function"}i(h,"func"),X(h,"func");function f(v){return Array.isArray(v)}i(f,"array"),X(f,"array");function p(v){return f(v)&&v.every(T=>a(T))}i(p,"stringArray"),X(p,"stringArray");function m(v,T){return Array.isArray(v)&&v.every(T)}i(m,"typedArray"),X(m,"typedArray");function b(v){return v!==null&&typeof v=="object"}i(b,"objectLiteral"),X(b,"objectLiteral")}}),RZn=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImplementationRequest=void 0;var r=Qf(),a;(function(o){o.method="textDocument/implementation",o.messageDirection=r.MessageDirection.clientToServer,o.type=new r.ProtocolRequestType(o.method),o.capabilities=r.CM.create("textDocument.implementation","implementationProvider")})(a||(t.ImplementationRequest=a={}))}}),LZn=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TypeDefinitionRequest=void 0;var r=Qf(),a;(function(o){o.method="textDocument/typeDefinition",o.messageDirection=r.MessageDirection.clientToServer,o.type=new r.ProtocolRequestType(o.method),o.capabilities=r.CM.create("textDocument.typeDefinition","typeDefinitionProvider")})(a||(t.TypeDefinitionRequest=a={}))}}),DZn=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DidChangeWorkspaceFoldersNotification=t.WorkspaceFoldersRequest=void 0;var r=Qf(),a;(function(l){l.method="workspace/workspaceFolders",l.messageDirection=r.MessageDirection.serverToClient,l.type=new r.ProtocolRequestType0(l.method),l.capabilities=r.CM.create("workspace.workspaceFolders","workspace.workspaceFolders")})(a||(t.WorkspaceFoldersRequest=a={}));var o;(function(l){l.method="workspace/didChangeWorkspaceFolders",l.messageDirection=r.MessageDirection.clientToServer,l.type=new r.ProtocolNotificationType(l.method),l.capabilities=r.CM.create(void 0,"workspace.workspaceFolders.changeNotifications")})(o||(t.DidChangeWorkspaceFoldersNotification=o={}))}}),_Zn=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigurationRequest=void 0;var r=Qf(),a;(function(o){o.method="workspace/configuration",o.messageDirection=r.MessageDirection.serverToClient,o.type=new r.ProtocolRequestType(o.method),o.capabilities=r.CM.create("workspace.configuration",void 0)})(a||(t.ConfigurationRequest=a={}))}}),MZn=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorPresentationRequest=t.DocumentColorRequest=void 0;var r=Qf(),a;(function(l){l.method="textDocument/documentColor",l.messageDirection=r.MessageDirection.clientToServer,l.type=new r.ProtocolRequestType(l.method),l.capabilities=r.CM.create("textDocument.colorProvider","colorProvider")})(a||(t.DocumentColorRequest=a={}));var o;(function(l){l.method="textDocument/colorPresentation",l.messageDirection=r.MessageDirection.clientToServer,l.type=new r.ProtocolRequestType(l.method),l.capabilities=r.CM.create("textDocument.colorProvider","colorProvider")})(o||(t.ColorPresentationRequest=o={}))}}),IZn=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FoldingRangeRefreshRequest=t.FoldingRangeRequest=void 0;var r=Qf(),a;(function(l){l.method="textDocument/foldingRange",l.messageDirection=r.MessageDirection.clientToServer,l.type=new r.ProtocolRequestType(l.method),l.capabilities=r.CM.create("textDocument.foldingRange","foldingRangeProvider")})(a||(t.FoldingRangeRequest=a={}));var o;(function(l){l.method="workspace/foldingRange/refresh",l.messageDirection=r.MessageDirection.serverToClient,l.type=new r.ProtocolRequestType0(l.method),l.capabilities=r.CM.create("workspace.foldingRange.refreshSupport",void 0)})(o||(t.FoldingRangeRefreshRequest=o={}))}}),NZn=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeclarationRequest=void 0;var r=Qf(),a;(function(o){o.method="textDocument/declaration",o.messageDirection=r.MessageDirection.clientToServer,o.type=new r.ProtocolRequestType(o.method),o.capabilities=r.CM.create("textDocument.declaration","declarationProvider")})(a||(t.DeclarationRequest=a={}))}}),OZn=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionRangeRequest=void 0;var r=Qf(),a;(function(o){o.method="textDocument/selectionRange",o.messageDirection=r.MessageDirection.clientToServer,o.type=new r.ProtocolRequestType(o.method),o.capabilities=r.CM.create("textDocument.selectionRange","selectionRangeProvider")})(a||(t.SelectionRangeRequest=a={}))}}),PZn=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WorkDoneProgressCancelNotification=t.WorkDoneProgressCreateRequest=t.WorkDoneProgress=void 0;var r=zie(),a=Qf(),o;(function(f){f.type=new r.ProgressType;function p(m){return m===f.type}i(p,"is"),X(p,"is"),f.is=p})(o||(t.WorkDoneProgress=o={}));var l;(function(f){f.method="window/workDoneProgress/create",f.messageDirection=a.MessageDirection.serverToClient,f.type=new a.ProtocolRequestType(f.method),f.capabilities=a.CM.create("window.workDoneProgress",void 0)})(l||(t.WorkDoneProgressCreateRequest=l={}));var h;(function(f){f.method="window/workDoneProgress/cancel",f.messageDirection=a.MessageDirection.clientToServer,f.type=new a.ProtocolNotificationType(f.method)})(h||(t.WorkDoneProgressCancelNotification=h={}))}}),BZn=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CallHierarchyOutgoingCallsRequest=t.CallHierarchyIncomingCallsRequest=t.CallHierarchyPrepareRequest=void 0;var r=Qf(),a;(function(h){h.method="textDocument/prepareCallHierarchy",h.messageDirection=r.MessageDirection.clientToServer,h.type=new r.ProtocolRequestType(h.method),h.capabilities=r.CM.create("textDocument.callHierarchy","callHierarchyProvider")})(a||(t.CallHierarchyPrepareRequest=a={}));var o;(function(h){h.method="callHierarchy/incomingCalls",h.messageDirection=r.MessageDirection.clientToServer,h.type=new r.ProtocolRequestType(h.method),h.capabilities=r.CM.create("textDocument.callHierarchy","callHierarchyProvider")})(o||(t.CallHierarchyIncomingCallsRequest=o={}));var l;(function(h){h.method="callHierarchy/outgoingCalls",h.messageDirection=r.MessageDirection.clientToServer,h.type=new r.ProtocolRequestType(h.method),h.capabilities=r.CM.create("textDocument.callHierarchy","callHierarchyProvider")})(l||(t.CallHierarchyOutgoingCallsRequest=l={}))}}),FZn=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SemanticTokensRefreshRequest=t.SemanticTokensRangeRequest=t.SemanticTokensDeltaRequest=t.SemanticTokensRequest=t.SemanticTokensRegistrationType=t.TokenFormat=void 0;var r=Qf(),a;(function(m){m.Relative="relative"})(a||(t.TokenFormat=a={}));var o;(function(m){m.method="textDocument/semanticTokens",m.type=new r.RegistrationType(m.method)})(o||(t.SemanticTokensRegistrationType=o={}));var l;(function(m){m.method="textDocument/semanticTokens/full",m.messageDirection=r.MessageDirection.clientToServer,m.type=new r.ProtocolRequestType(m.method),m.registrationMethod=o.method,m.capabilities=r.CM.create("textDocument.semanticTokens","semanticTokensProvider")})(l||(t.SemanticTokensRequest=l={}));var h;(function(m){m.method="textDocument/semanticTokens/full/delta",m.messageDirection=r.MessageDirection.clientToServer,m.type=new r.ProtocolRequestType(m.method),m.registrationMethod=o.method,m.capabilities=r.CM.create("textDocument.semanticTokens.requests.full.delta","semanticTokensProvider.full.delta")})(h||(t.SemanticTokensDeltaRequest=h={}));var f;(function(m){m.method="textDocument/semanticTokens/range",m.messageDirection=r.MessageDirection.clientToServer,m.type=new r.ProtocolRequestType(m.method),m.registrationMethod=o.method,m.capabilities=r.CM.create("textDocument.semanticTokens.requests.range","semanticTokensProvider.range")})(f||(t.SemanticTokensRangeRequest=f={}));var p;(function(m){m.method="workspace/semanticTokens/refresh",m.messageDirection=r.MessageDirection.serverToClient,m.type=new r.ProtocolRequestType0(m.method),m.capabilities=r.CM.create("workspace.semanticTokens.refreshSupport",void 0)})(p||(t.SemanticTokensRefreshRequest=p={}))}}),$Zn=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ShowDocumentRequest=void 0;var r=Qf(),a;(function(o){o.method="window/showDocument",o.messageDirection=r.MessageDirection.serverToClient,o.type=new r.ProtocolRequestType(o.method),o.capabilities=r.CM.create("window.showDocument.support",void 0)})(a||(t.ShowDocumentRequest=a={}))}}),GZn=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LinkedEditingRangeRequest=void 0;var r=Qf(),a;(function(o){o.method="textDocument/linkedEditingRange",o.messageDirection=r.MessageDirection.clientToServer,o.type=new r.ProtocolRequestType(o.method),o.capabilities=r.CM.create("textDocument.linkedEditingRange","linkedEditingRangeProvider")})(a||(t.LinkedEditingRangeRequest=a={}))}}),jZn=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WillDeleteFilesRequest=t.DidDeleteFilesNotification=t.DidRenameFilesNotification=t.WillRenameFilesRequest=t.DidCreateFilesNotification=t.WillCreateFilesRequest=t.FileOperationPatternKind=void 0;var r=Qf(),a;(function(b){b.file="file",b.folder="folder"})(a||(t.FileOperationPatternKind=a={}));var o;(function(b){b.method="workspace/willCreateFiles",b.messageDirection=r.MessageDirection.clientToServer,b.type=new r.ProtocolRequestType(b.method),b.capabilities=r.CM.create("workspace.fileOperations.willCreate","workspace.fileOperations.willCreate")})(o||(t.WillCreateFilesRequest=o={}));var l;(function(b){b.method="workspace/didCreateFiles",b.messageDirection=r.MessageDirection.clientToServer,b.type=new r.ProtocolNotificationType(b.method),b.capabilities=r.CM.create("workspace.fileOperations.didCreate","workspace.fileOperations.didCreate")})(l||(t.DidCreateFilesNotification=l={}));var h;(function(b){b.method="workspace/willRenameFiles",b.messageDirection=r.MessageDirection.clientToServer,b.type=new r.ProtocolRequestType(b.method),b.capabilities=r.CM.create("workspace.fileOperations.willRename","workspace.fileOperations.willRename")})(h||(t.WillRenameFilesRequest=h={}));var f;(function(b){b.method="workspace/didRenameFiles",b.messageDirection=r.MessageDirection.clientToServer,b.type=new r.ProtocolNotificationType(b.method),b.capabilities=r.CM.create("workspace.fileOperations.didRename","workspace.fileOperations.didRename")})(f||(t.DidRenameFilesNotification=f={}));var p;(function(b){b.method="workspace/didDeleteFiles",b.messageDirection=r.MessageDirection.clientToServer,b.type=new r.ProtocolNotificationType(b.method),b.capabilities=r.CM.create("workspace.fileOperations.didDelete","workspace.fileOperations.didDelete")})(p||(t.DidDeleteFilesNotification=p={}));var m;(function(b){b.method="workspace/willDeleteFiles",b.messageDirection=r.MessageDirection.clientToServer,b.type=new r.ProtocolRequestType(b.method),b.capabilities=r.CM.create("workspace.fileOperations.willDelete","workspace.fileOperations.willDelete")})(m||(t.WillDeleteFilesRequest=m={}))}}),zZn=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MonikerRequest=t.MonikerKind=t.UniquenessLevel=void 0;var r=Qf(),a;(function(h){h.document="document",h.project="project",h.group="group",h.scheme="scheme",h.global="global"})(a||(t.UniquenessLevel=a={}));var o;(function(h){h.$import="import",h.$export="export",h.local="local"})(o||(t.MonikerKind=o={}));var l;(function(h){h.method="textDocument/moniker",h.messageDirection=r.MessageDirection.clientToServer,h.type=new r.ProtocolRequestType(h.method),h.capabilities=r.CM.create("textDocument.moniker","monikerProvider")})(l||(t.MonikerRequest=l={}))}}),UZn=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TypeHierarchySubtypesRequest=t.TypeHierarchySupertypesRequest=t.TypeHierarchyPrepareRequest=void 0;var r=Qf(),a;(function(h){h.method="textDocument/prepareTypeHierarchy",h.messageDirection=r.MessageDirection.clientToServer,h.type=new r.ProtocolRequestType(h.method),h.capabilities=r.CM.create("textDocument.typeHierarchy","typeHierarchyProvider")})(a||(t.TypeHierarchyPrepareRequest=a={}));var o;(function(h){h.method="typeHierarchy/supertypes",h.messageDirection=r.MessageDirection.clientToServer,h.type=new r.ProtocolRequestType(h.method)})(o||(t.TypeHierarchySupertypesRequest=o={}));var l;(function(h){h.method="typeHierarchy/subtypes",h.messageDirection=r.MessageDirection.clientToServer,h.type=new r.ProtocolRequestType(h.method)})(l||(t.TypeHierarchySubtypesRequest=l={}))}}),VZn=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InlineValueRefreshRequest=t.InlineValueRequest=void 0;var r=Qf(),a;(function(l){l.method="textDocument/inlineValue",l.messageDirection=r.MessageDirection.clientToServer,l.type=new r.ProtocolRequestType(l.method),l.capabilities=r.CM.create("textDocument.inlineValue","inlineValueProvider")})(a||(t.InlineValueRequest=a={}));var o;(function(l){l.method="workspace/inlineValue/refresh",l.messageDirection=r.MessageDirection.serverToClient,l.type=new r.ProtocolRequestType0(l.method),l.capabilities=r.CM.create("workspace.inlineValue.refreshSupport",void 0)})(o||(t.InlineValueRefreshRequest=o={}))}}),HZn=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InlayHintRefreshRequest=t.InlayHintResolveRequest=t.InlayHintRequest=void 0;var r=Qf(),a;(function(h){h.method="textDocument/inlayHint",h.messageDirection=r.MessageDirection.clientToServer,h.type=new r.ProtocolRequestType(h.method),h.capabilities=r.CM.create("textDocument.inlayHint","inlayHintProvider")})(a||(t.InlayHintRequest=a={}));var o;(function(h){h.method="inlayHint/resolve",h.messageDirection=r.MessageDirection.clientToServer,h.type=new r.ProtocolRequestType(h.method),h.capabilities=r.CM.create("textDocument.inlayHint.resolveSupport","inlayHintProvider.resolveProvider")})(o||(t.InlayHintResolveRequest=o={}));var l;(function(h){h.method="workspace/inlayHint/refresh",h.messageDirection=r.MessageDirection.serverToClient,h.type=new r.ProtocolRequestType0(h.method),h.capabilities=r.CM.create("workspace.inlayHint.refreshSupport",void 0)})(l||(t.InlayHintRefreshRequest=l={}))}}),qZn=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js"(t){"use strict";var r=t&&t.__createBinding||(Object.create?(function(C,E,S,R){R===void 0&&(R=S);var L=Object.getOwnPropertyDescriptor(E,S);(!L||("get"in L?!E.__esModule:L.writable||L.configurable))&&(L={enumerable:!0,get:X(function(){return E[S]},"get")}),Object.defineProperty(C,R,L)}):(function(C,E,S,R){R===void 0&&(R=S),C[R]=E[S]})),a=t&&t.__setModuleDefault||(Object.create?(function(C,E){Object.defineProperty(C,"default",{enumerable:!0,value:E})}):function(C,E){C.default=E}),o=t&&t.__importStar||(function(){var C=X(function(E){return C=Object.getOwnPropertyNames||function(S){var R=[];for(var L in S)Object.prototype.hasOwnProperty.call(S,L)&&(R[R.length]=L);return R},C(E)},"ownKeys");return function(E){if(E&&E.__esModule)return E;var S={};if(E!=null)for(var R=C(E),L=0;L0}i(Tn,"hasId"),X(Tn,"hasId"),Ke.hasId=Tn})(de||(t.StaticRegistrationOptions=de={}));var ve;(function(Ke){function Tn(Ln){let dt=Ln;return dt&&(dt.documentSelector===null||W.is(dt.documentSelector))}i(Tn,"is"),X(Tn,"is"),Ke.is=Tn})(ve||(t.TextDocumentRegistrationOptions=ve={}));var Se;(function(Ke){function Tn(dt){let rr=dt;return f.objectLiteral(rr)&&(rr.workDoneProgress===void 0||f.boolean(rr.workDoneProgress))}i(Tn,"is"),X(Tn,"is"),Ke.is=Tn;function Ln(dt){let rr=dt;return rr&&f.boolean(rr.workDoneProgress)}i(Ln,"hasWorkDoneProgress"),X(Ln,"hasWorkDoneProgress"),Ke.hasWorkDoneProgress=Ln})(Se||(t.WorkDoneProgressOptions=Se={}));var _e;(function(Ke){Ke.method="initialize",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method)})(_e||(t.InitializeRequest=_e={}));var Ce;(function(Ke){Ke.unknownProtocolVersion=1})(Ce||(t.InitializeErrorCodes=Ce={}));var Ve;(function(Ke){Ke.method="initialized",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolNotificationType(Ke.method)})(Ve||(t.InitializedNotification=Ve={}));var De;(function(Ke){Ke.method="shutdown",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType0(Ke.method)})(De||(t.ShutdownRequest=De={}));var qe;(function(Ke){Ke.method="exit",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolNotificationType0(Ke.method)})(qe||(t.ExitNotification=qe={}));var Ue;(function(Ke){Ke.method="workspace/didChangeConfiguration",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolNotificationType(Ke.method),Ke.capabilities=l.CM.create("workspace.didChangeConfiguration",void 0)})(Ue||(t.DidChangeConfigurationNotification=Ue={}));var We;(function(Ke){Ke.Error=1,Ke.Warning=2,Ke.Info=3,Ke.Log=4,Ke.Debug=5})(We||(t.MessageType=We={}));var mt;(function(Ke){Ke.method="window/showMessage",Ke.messageDirection=l.MessageDirection.serverToClient,Ke.type=new l.ProtocolNotificationType(Ke.method),Ke.capabilities=l.CM.create("window.showMessage",void 0)})(mt||(t.ShowMessageNotification=mt={}));var ct;(function(Ke){Ke.method="window/showMessageRequest",Ke.messageDirection=l.MessageDirection.serverToClient,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("window.showMessage",void 0)})(ct||(t.ShowMessageRequest=ct={}));var Ot;(function(Ke){Ke.method="window/logMessage",Ke.messageDirection=l.MessageDirection.serverToClient,Ke.type=new l.ProtocolNotificationType(Ke.method)})(Ot||(t.LogMessageNotification=Ot={}));var yr;(function(Ke){Ke.method="telemetry/event",Ke.messageDirection=l.MessageDirection.serverToClient,Ke.type=new l.ProtocolNotificationType(Ke.method)})(yr||(t.TelemetryEventNotification=yr={}));var tr;(function(Ke){Ke.None=0,Ke.Full=1,Ke.Incremental=2})(tr||(t.TextDocumentSyncKind=tr={}));var Xe;(function(Ke){Ke.method="textDocument/didOpen",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolNotificationType(Ke.method),Ke.capabilities=l.CM.create("textDocument.synchronization","textDocumentSync.openClose")})(Xe||(t.DidOpenTextDocumentNotification=Xe={}));var Rt;(function(Ke){function Tn(dt){let rr=dt;return rr!=null&&typeof rr.text=="string"&&rr.range!==void 0&&(rr.rangeLength===void 0||typeof rr.rangeLength=="number")}i(Tn,"isIncremental"),X(Tn,"isIncremental"),Ke.isIncremental=Tn;function Ln(dt){let rr=dt;return rr!=null&&typeof rr.text=="string"&&rr.range===void 0&&rr.rangeLength===void 0}i(Ln,"isFull"),X(Ln,"isFull"),Ke.isFull=Ln})(Rt||(t.TextDocumentContentChangeEvent=Rt={}));var ft;(function(Ke){Ke.method="textDocument/didChange",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolNotificationType(Ke.method),Ke.capabilities=l.CM.create("textDocument.synchronization","textDocumentSync")})(ft||(t.DidChangeTextDocumentNotification=ft={}));var bt;(function(Ke){Ke.method="textDocument/didClose",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolNotificationType(Ke.method),Ke.capabilities=l.CM.create("textDocument.synchronization","textDocumentSync.openClose")})(bt||(t.DidCloseTextDocumentNotification=bt={}));var Me;(function(Ke){Ke.method="textDocument/didSave",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolNotificationType(Ke.method),Ke.capabilities=l.CM.create("textDocument.synchronization.didSave","textDocumentSync.save")})(Me||(t.DidSaveTextDocumentNotification=Me={}));var Fe;(function(Ke){Ke.Manual=1,Ke.AfterDelay=2,Ke.FocusOut=3})(Fe||(t.TextDocumentSaveReason=Fe={}));var je;(function(Ke){Ke.method="textDocument/willSave",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolNotificationType(Ke.method),Ke.capabilities=l.CM.create("textDocument.synchronization.willSave","textDocumentSync.willSave")})(je||(t.WillSaveTextDocumentNotification=je={}));var He;(function(Ke){Ke.method="textDocument/willSaveWaitUntil",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("textDocument.synchronization.willSaveWaitUntil","textDocumentSync.willSaveWaitUntil")})(He||(t.WillSaveTextDocumentWaitUntilRequest=He={}));var nt;(function(Ke){Ke.method="workspace/didChangeWatchedFiles",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolNotificationType(Ke.method),Ke.capabilities=l.CM.create("workspace.didChangeWatchedFiles",void 0)})(nt||(t.DidChangeWatchedFilesNotification=nt={}));var ze;(function(Ke){Ke.Created=1,Ke.Changed=2,Ke.Deleted=3})(ze||(t.FileChangeType=ze={}));var se;(function(Ke){function Tn(Ln){let dt=Ln;return f.objectLiteral(dt)&&(h.URI.is(dt.baseUri)||h.WorkspaceFolder.is(dt.baseUri))&&f.string(dt.pattern)}i(Tn,"is"),X(Tn,"is"),Ke.is=Tn})(se||(t.RelativePattern=se={}));var ke;(function(Ke){function Tn(Ln){let dt=Ln;return f.string(dt)||se.is(dt)}i(Tn,"is"),X(Tn,"is"),Ke.is=Tn})(ke||(t.GlobPattern=ke={}));var Le;(function(Ke){Ke.Create=1,Ke.Change=2,Ke.Delete=4})(Le||(t.WatchKind=Le={}));var he;(function(Ke){Ke.method="textDocument/publishDiagnostics",Ke.messageDirection=l.MessageDirection.serverToClient,Ke.type=new l.ProtocolNotificationType(Ke.method),Ke.capabilities=l.CM.create("textDocument.publishDiagnostics",void 0)})(he||(t.PublishDiagnosticsNotification=he={}));var Ne;(function(Ke){Ke.Invoked=1,Ke.TriggerCharacter=2,Ke.TriggerForIncompleteCompletions=3})(Ne||(t.CompletionTriggerKind=Ne={}));var Ee;(function(Ke){Ke.method="textDocument/completion",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("textDocument.completion","completionProvider")})(Ee||(t.CompletionRequest=Ee={}));var ye;(function(Ke){Ke.method="completionItem/resolve",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("textDocument.completion.completionItem.resolveSupport","completionProvider.resolveProvider")})(ye||(t.CompletionResolveRequest=ye={}));var be;(function(Ke){Ke.method="textDocument/hover",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("textDocument.hover","hoverProvider")})(be||(t.HoverRequest=be={}));var ht;(function(Ke){Ke.Invoked=1,Ke.TriggerCharacter=2,Ke.ContentChange=3})(ht||(t.SignatureHelpTriggerKind=ht={}));var Je;(function(Ke){Ke.method="textDocument/signatureHelp",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("textDocument.signatureHelp","signatureHelpProvider")})(Je||(t.SignatureHelpRequest=Je={}));var it;(function(Ke){Ke.method="textDocument/definition",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("textDocument.definition","definitionProvider")})(it||(t.DefinitionRequest=it={}));var lt;(function(Ke){Ke.method="textDocument/references",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("textDocument.references","referencesProvider")})(lt||(t.ReferencesRequest=lt={}));var Vt;(function(Ke){Ke.method="textDocument/documentHighlight",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("textDocument.documentHighlight","documentHighlightProvider")})(Vt||(t.DocumentHighlightRequest=Vt={}));var $t;(function(Ke){Ke.method="textDocument/documentSymbol",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("textDocument.documentSymbol","documentSymbolProvider")})($t||(t.DocumentSymbolRequest=$t={}));var gr;(function(Ke){Ke.method="textDocument/codeAction",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("textDocument.codeAction","codeActionProvider")})(gr||(t.CodeActionRequest=gr={}));var jt;(function(Ke){Ke.method="codeAction/resolve",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("textDocument.codeAction.resolveSupport","codeActionProvider.resolveProvider")})(jt||(t.CodeActionResolveRequest=jt={}));var qt;(function(Ke){Ke.method="workspace/symbol",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("workspace.symbol","workspaceSymbolProvider")})(qt||(t.WorkspaceSymbolRequest=qt={}));var Wt;(function(Ke){Ke.method="workspaceSymbol/resolve",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("workspace.symbol.resolveSupport","workspaceSymbolProvider.resolveProvider")})(Wt||(t.WorkspaceSymbolResolveRequest=Wt={}));var Ut;(function(Ke){Ke.method="textDocument/codeLens",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("textDocument.codeLens","codeLensProvider")})(Ut||(t.CodeLensRequest=Ut={}));var rn;(function(Ke){Ke.method="codeLens/resolve",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("textDocument.codeLens.resolveSupport","codeLensProvider.resolveProvider")})(rn||(t.CodeLensResolveRequest=rn={}));var pt;(function(Ke){Ke.method="workspace/codeLens/refresh",Ke.messageDirection=l.MessageDirection.serverToClient,Ke.type=new l.ProtocolRequestType0(Ke.method),Ke.capabilities=l.CM.create("workspace.codeLens",void 0)})(pt||(t.CodeLensRefreshRequest=pt={}));var $n;(function(Ke){Ke.method="textDocument/documentLink",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("textDocument.documentLink","documentLinkProvider")})($n||(t.DocumentLinkRequest=$n={}));var Gt;(function(Ke){Ke.method="documentLink/resolve",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("textDocument.documentLink","documentLinkProvider.resolveProvider")})(Gt||(t.DocumentLinkResolveRequest=Gt={}));var Rn;(function(Ke){Ke.method="textDocument/formatting",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("textDocument.formatting","documentFormattingProvider")})(Rn||(t.DocumentFormattingRequest=Rn={}));var Qn;(function(Ke){Ke.method="textDocument/rangeFormatting",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("textDocument.rangeFormatting","documentRangeFormattingProvider")})(Qn||(t.DocumentRangeFormattingRequest=Qn={}));var En;(function(Ke){Ke.method="textDocument/rangesFormatting",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("textDocument.rangeFormatting.rangesSupport","documentRangeFormattingProvider.rangesSupport")})(En||(t.DocumentRangesFormattingRequest=En={}));var di;(function(Ke){Ke.method="textDocument/onTypeFormatting",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("textDocument.onTypeFormatting","documentOnTypeFormattingProvider")})(di||(t.DocumentOnTypeFormattingRequest=di={}));var Bn;(function(Ke){Ke.Identifier=1})(Bn||(t.PrepareSupportDefaultBehavior=Bn={}));var mi;(function(Ke){Ke.method="textDocument/rename",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("textDocument.rename","renameProvider")})(mi||(t.RenameRequest=mi={}));var Qr;(function(Ke){Ke.method="textDocument/prepareRename",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("textDocument.rename.prepareSupport","renameProvider.prepareProvider")})(Qr||(t.PrepareRenameRequest=Qr={}));var Pi;(function(Ke){Ke.method="workspace/executeCommand",Ke.messageDirection=l.MessageDirection.clientToServer,Ke.type=new l.ProtocolRequestType(Ke.method),Ke.capabilities=l.CM.create("workspace.executeCommand","executeCommandProvider")})(Pi||(t.ExecuteCommandRequest=Pi={}));var qa;(function(Ke){Ke.method="workspace/applyEdit",Ke.messageDirection=l.MessageDirection.serverToClient,Ke.type=new l.ProtocolRequestType("workspace/applyEdit"),Ke.capabilities=l.CM.create("workspace.applyEdit",void 0)})(qa||(t.ApplyWorkspaceEditRequest=qa={}))}}),QZn=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/connection.js"(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createProtocolConnection=a;var r=zie();function a(o,l,h,f){return r.ConnectionStrategy.is(f)&&(f={connectionStrategy:f}),(0,r.createMessageConnection)(o,l,h,f)}i(a,"createProtocolConnection"),X(a,"createProtocolConnection")}}),$st=Tl({"../../node_modules/.pnpm/vscode-languageserver-protocol@3.18.4/node_modules/vscode-languageserver-protocol/lib/common/api.js"(t){"use strict";var r=t&&t.__createBinding||(Object.create?(function(h,f,p,m){m===void 0&&(m=p);var b=Object.getOwnPropertyDescriptor(f,p);(!b||("get"in b?!f.__esModule:b.writable||b.configurable))&&(b={enumerable:!0,get:X(function(){return f[p]},"get")}),Object.defineProperty(h,m,b)}):(function(h,f,p,m){m===void 0&&(m=p),h[m]=f[p]})),a=t&&t.__exportStar||function(h,f){for(var p in h)p!=="default"&&!Object.prototype.hasOwnProperty.call(f,p)&&r(f,h,p)};Object.defineProperty(t,"__esModule",{value:!0}),t.LSPErrorCodes=t.createProtocolConnection=void 0,a(zie(),t),a((Yke(),Pst(Wke)),t),a(Qf(),t),a(XZn(),t);var o=QZn();Object.defineProperty(t,"createProtocolConnection",{enumerable:!0,get:X(function(){return o.createProtocolConnection},"get")});var l;(function(h){h.lspReservedErrorRangeStart=-32899,h.RequestFailed=-32803,h.ServerCancelled=-32802,h.ContentModified=-32801,h.RequestCancelled=-32800,h.lspReservedErrorRangeEnd=-32800})(l||(t.LSPErrorCodes=l={}))}});i(Am,"isAstNode");X(Am,"isAstNode");i(fk,"isReference");X(fk,"isReference");i(NA,"isMultiReference");X(NA,"isMultiReference");i(HRr,"isAstNodeDescription");X(HRr,"isAstNodeDescription");i(pV,"isLinkingError");X(pV,"isLinkingError");qRr=class{static{i(this,"AbstractAstReflection")}static{X(this,"AbstractAstReflection")}constructor(){this.subtypes={},this.allSubtypes={}}getAllTypes(){return Object.keys(this.types)}getReferenceType(t){let r=this.types[t.container.$type];if(!r)throw new Error(`Type ${t.container.$type||"undefined"} not found.`);let a=r.properties[t.property]?.referenceType;if(!a)throw new Error(`Property ${t.property||"undefined"} of type ${t.container.$type} is not a reference.`);return a}getTypeMetaData(t){let r=this.types[t];return r||{name:t,properties:{},superTypes:[]}}isInstance(t,r){return Am(t)&&this.isSubtype(t.$type,r)}isSubtype(t,r){if(t===r)return!0;let a=this.subtypes[t];a||(a=this.subtypes[t]={});let o=a[r];if(o!==void 0)return o;{let l=this.types[t],h=l?l.superTypes.some(f=>this.isSubtype(f,r)):!1;return a[r]=h,h}}getAllSubTypes(t){let r=this.allSubtypes[t];if(r)return r;{let a=this.getAllTypes(),o=[];for(let l of a)this.isSubtype(l,t)&&o.push(l);return this.allSubtypes[t]=o,o}}isComplete(t){let r=this.getTypeMetaData(t.$type);for(let a of Object.keys(r.properties)){let o=r.properties[a];if(o.optional)continue;let l=t[o.name];if(l==null)return!1}return!0}};i(xV,"isCompositeCstNode");X(xV,"isCompositeCstNode");i(Gst,"isLeafCstNode");X(Gst,"isLeafCstNode");i(jst,"isRootCstNode");X(jst,"isRootCstNode");zD=class RA{static{i(this,"_StreamImpl")}static{X(this,"StreamImpl")}constructor(r,a){this.startFn=r,this.nextFn=a}iterator(){let r={state:this.startFn(),next:X(()=>this.nextFn(r.state),"next"),[Symbol.iterator]:()=>r};return r}[Symbol.iterator](){return this.iterator()}isEmpty(){return!!this.iterator().next().done}count(){let r=this.iterator(),a=0,o=r.next();for(;!o.done;)a++,o=r.next();return a}toArray(){let r=[],a=this.iterator(),o;do o=a.next(),o.value!==void 0&&r.push(o.value);while(!o.done);return r}toSet(){return new Set(this)}toMap(r,a){let o=this.map(l=>[r?r(l):l,a?a(l):l]);return new Map(o)}toString(){return this.join()}concat(r){return new RA(()=>({first:this.startFn(),firstDone:!1,iterator:r[Symbol.iterator]()}),a=>{let o;if(!a.firstDone){do if(o=this.nextFn(a.first),!o.done)return o;while(!o.done);a.firstDone=!0}do if(o=a.iterator.next(),!o.done)return o;while(!o.done);return Kw})}join(r=","){let a=this.iterator(),o="",l,h=!1;do l=a.next(),l.done||(h&&(o+=r),o+=WRr(l.value)),h=!0;while(!l.done);return o}indexOf(r,a=0){let o=this.iterator(),l=0,h=o.next();for(;!h.done;){if(l>=a&&h.value===r)return l;h=o.next(),l++}return-1}every(r){let a=this.iterator(),o=a.next();for(;!o.done;){if(!r(o.value))return!1;o=a.next()}return!0}some(r){let a=this.iterator(),o=a.next();for(;!o.done;){if(r(o.value))return!0;o=a.next()}return!1}forEach(r){let a=this.iterator(),o=0,l=a.next();for(;!l.done;)r(l.value,o),l=a.next(),o++}map(r){return new RA(this.startFn,a=>{let{done:o,value:l}=this.nextFn(a);return o?Kw:{done:!1,value:r(l)}})}filter(r){return new RA(this.startFn,a=>{let o;do if(o=this.nextFn(a),!o.done&&r(o.value))return o;while(!o.done);return Kw})}nonNullable(){return this.filter(r=>r!=null)}reduce(r,a){let o=this.iterator(),l=a,h=o.next();for(;!h.done;)l===void 0?l=h.value:l=r(l,h.value),h=o.next();return l}reduceRight(r,a){return this.recursiveReduce(this.iterator(),r,a)}recursiveReduce(r,a,o){let l=r.next();if(l.done)return o;let h=this.recursiveReduce(r,a,o);return h===void 0?l.value:a(h,l.value)}find(r){let a=this.iterator(),o=a.next();for(;!o.done;){if(r(o.value))return o.value;o=a.next()}}findIndex(r){let a=this.iterator(),o=0,l=a.next();for(;!l.done;){if(r(l.value))return o;l=a.next(),o++}return-1}includes(r){let a=this.iterator(),o=a.next();for(;!o.done;){if(o.value===r)return!0;o=a.next()}return!1}flatMap(r){return new RA(()=>({this:this.startFn()}),a=>{do{if(a.iterator){let h=a.iterator.next();if(h.done)a.iterator=void 0;else return h}let{done:o,value:l}=this.nextFn(a.this);if(!o){let h=r(l);if(Eie(h))a.iterator=h[Symbol.iterator]();else return{done:!1,value:h}}}while(a.iterator);return Kw})}flat(r){if(r===void 0&&(r=1),r<=0)return this;let a=r>1?this.flat(r-1):this;return new RA(()=>({this:a.startFn()}),o=>{do{if(o.iterator){let f=o.iterator.next();if(f.done)o.iterator=void 0;else return f}let{done:l,value:h}=a.nextFn(o.this);if(!l)if(Eie(h))o.iterator=h[Symbol.iterator]();else return{done:!1,value:h}}while(o.iterator);return Kw})}head(){let a=this.iterator().next();if(!a.done)return a.value}tail(r=1){return new RA(()=>{let a=this.startFn();for(let o=0;o({size:0,state:this.startFn()}),a=>(a.size++,a.size>r?Kw:this.nextFn(a.state)))}distinct(r){return new RA(()=>({set:new Set,internalState:this.startFn()}),a=>{let o;do if(o=this.nextFn(a.internalState),!o.done){let l=r?r(o.value):o.value;if(!a.set.has(l))return a.set.add(l),o}while(!o.done);return Kw})}exclude(r,a){let o=new Set;for(let l of r){let h=a?a(l):l;o.add(h)}return this.filter(l=>{let h=a?a(l):l;return!o.has(h)})}};i(WRr,"toString");X(WRr,"toString");i(Eie,"isIterable");X(Eie,"isIterable");YRr=new zD(()=>{},()=>Kw),Kw=Object.freeze({done:!0,value:void 0});i(Xf,"stream");X(Xf,"stream");Ske=class extends zD{static{i(this,"TreeStreamImpl")}static{X(this,"TreeStreamImpl")}constructor(t,r,a){super(()=>({iterators:a?.includeRoot?[[t][Symbol.iterator]()]:[r(t)[Symbol.iterator]()],pruned:!1}),o=>{for(o.pruned&&(o.iterators.pop(),o.pruned=!1);o.iterators.length>0;){let h=o.iterators[o.iterators.length-1].next();if(h.done)o.iterators.pop();else return o.iterators.push(r(h.value)[Symbol.iterator]()),h}return Kw})}iterator(){let t={state:this.startFn(),next:X(()=>this.nextFn(t.state),"next"),prune:X(()=>{t.state.pruned=!0},"prune"),[Symbol.iterator]:()=>t};return t}};(function(t){function r(h){return h.reduce((f,p)=>f+p,0)}i(r,"sum"),X(r,"sum"),t.sum=r;function a(h){return h.reduce((f,p)=>f*p,0)}i(a,"product"),X(a,"product"),t.product=a;function o(h){return h.reduce((f,p)=>Math.min(f,p))}i(o,"min2"),X(o,"min"),t.min=o;function l(h){return h.reduce((f,p)=>Math.max(f,p))}i(l,"max"),X(l,"max"),t.max=l})(Yit||(Yit={}));i(Ake,"linkContentToContainer");X(Ake,"linkContentToContainer");i(Uie,"getContainerOfType");X(Uie,"getContainerOfType");i(RS,"getDocument");X(RS,"getDocument");i(yie,"findRootNode");X(yie,"findRootNode");i(Kit,"getReferenceNodes");X(Kit,"getReferenceNodes");i(Kke,"streamContents");X(Kke,"streamContents");i(SV,"streamAllContents");X(SV,"streamAllContents");i(LS,"streamAst");X(LS,"streamAst");i(Rke,"isAstNodeInRange");X(Rke,"isAstNodeInRange");i(Sie,"streamReferences");X(Sie,"streamReferences");i(KRr,"assignMandatoryProperties");X(KRr,"assignMandatoryProperties");i(zst,"copyDefaultValue");X(zst,"copyDefaultValue");Yw={$type:"AbstractElement",cardinality:"cardinality"};i(XRr,"isAbstractElement");X(XRr,"isAbstractElement");JTe={$type:"AbstractParserRule"};i(AV,"isAbstractParserRule");X(AV,"isAbstractParserRule");kTe={$type:"AbstractRule"},D4={$type:"AbstractType"},KO={$type:"Action",cardinality:"cardinality",feature:"feature",inferredType:"inferredType",operator:"operator",type:"type"};i(Vie,"isAction");X(Vie,"isAction");ZTe={$type:"Alternatives",cardinality:"cardinality",elements:"elements"};i(Ust,"isAlternatives");X(Ust,"isAlternatives");y7r={$type:"ArrayLiteral",elements:"elements"},b7r={$type:"ArrayType",elementType:"elementType"},XO={$type:"Assignment",cardinality:"cardinality",feature:"feature",operator:"operator",predicate:"predicate",terminal:"terminal"};i(UD,"isAssignment");X(UD,"isAssignment");Xit={$type:"BooleanLiteral",true:"true"};i(QRr,"isBooleanLiteral");X(QRr,"isBooleanLiteral");QO={$type:"CharacterRange",cardinality:"cardinality",left:"left",lookahead:"lookahead",parenthesized:"parenthesized",right:"right"};i(JRr,"isCharacterRange");X(JRr,"isCharacterRange");YU={$type:"Condition"},eke={$type:"Conjunction",left:"left",right:"right"};i(ZRr,"isConjunction");X(ZRr,"isConjunction");JO={$type:"CrossReference",cardinality:"cardinality",deprecatedSyntax:"deprecatedSyntax",isMulti:"isMulti",terminal:"terminal",type:"type"};i(Hie,"isCrossReference");X(Hie,"isCrossReference");tke={$type:"Disjunction",left:"left",right:"right"};i(eLr,"isDisjunction");X(eLr,"isDisjunction");Qit={$type:"EndOfFile",cardinality:"cardinality"};i(tLr,"isEndOfFile");X(tLr,"isEndOfFile");VO={$type:"Grammar",imports:"imports",interfaces:"interfaces",isDeclared:"isDeclared",name:"name",rules:"rules",types:"types"},v7r={$type:"GrammarImport",path:"path"},tV={$type:"Group",cardinality:"cardinality",elements:"elements",guardCondition:"guardCondition",predicate:"predicate"};i(Xke,"isGroup");X(Xke,"isGroup");Jit={$type:"InferredType",name:"name"};i(Vst,"isInferredType");X(Vst,"isInferredType");LA={$type:"InfixRule",call:"call",dataType:"dataType",inferredType:"inferredType",name:"name",operators:"operators",parameters:"parameters",returnType:"returnType"};i(Aie,"isInfixRule");X(Aie,"isInfixRule");Ent={$type:"InfixRuleOperatorList",associativity:"associativity",operators:"operators"},w7r={$type:"InfixRuleOperators",precedences:"precedences"},lie={$type:"Interface",attributes:"attributes",name:"name",superTypes:"superTypes"};i(rLr,"isInterface");X(rLr,"isInterface");cie={$type:"Keyword",cardinality:"cardinality",predicate:"predicate",value:"value"};i(VD,"isKeyword");X(VD,"isKeyword");CTe={$type:"NamedArgument",calledByName:"calledByName",parameter:"parameter",value:"value"},rV={$type:"NegatedToken",cardinality:"cardinality",lookahead:"lookahead",parenthesized:"parenthesized",terminal:"terminal"};i(nLr,"isNegatedToken");X(nLr,"isNegatedToken");Zit={$type:"Negation",value:"value"};i(iLr,"isNegation");X(iLr,"isNegation");x7r={$type:"NumberLiteral",value:"value"},ETe={$type:"Parameter",name:"name"},eat={$type:"ParameterReference",parameter:"parameter"};i(aLr,"isParameterReference");X(aLr,"isParameterReference");ES={$type:"ParserRule",dataType:"dataType",definition:"definition",entry:"entry",fragment:"fragment",inferredType:"inferredType",name:"name",parameters:"parameters",returnType:"returnType"};i(MS,"isParserRule");X(MS,"isParserRule");Snt={$type:"ReferenceType",isMulti:"isMulti",referenceType:"referenceType"},nV={$type:"RegexToken",cardinality:"cardinality",lookahead:"lookahead",parenthesized:"parenthesized",regex:"regex"};i(sLr,"isRegexToken");X(sLr,"isRegexToken");tat={$type:"ReturnType",name:"name"};i(oLr,"isReturnType");X(oLr,"isReturnType");iV={$type:"RuleCall",arguments:"arguments",cardinality:"cardinality",predicate:"predicate",rule:"rule"};i(HD,"isRuleCall");X(HD,"isRuleCall");uie={$type:"SimpleType",primitiveType:"primitiveType",stringType:"stringType",typeRef:"typeRef"};i(lLr,"isSimpleType");X(lLr,"isSimpleType");T7r={$type:"StringLiteral",value:"value"},aV={$type:"TerminalAlternatives",cardinality:"cardinality",elements:"elements",lookahead:"lookahead",parenthesized:"parenthesized"};i(cLr,"isTerminalAlternatives");X(cLr,"isTerminalAlternatives");hk={$type:"TerminalElement",cardinality:"cardinality",lookahead:"lookahead",parenthesized:"parenthesized"},sV={$type:"TerminalGroup",cardinality:"cardinality",elements:"elements",lookahead:"lookahead",parenthesized:"parenthesized"};i(uLr,"isTerminalGroup");X(uLr,"isTerminalGroup");OD={$type:"TerminalRule",definition:"definition",fragment:"fragment",hidden:"hidden",name:"name",type:"type"};i(IS,"isTerminalRule");X(IS,"isTerminalRule");oV={$type:"TerminalRuleCall",cardinality:"cardinality",lookahead:"lookahead",parenthesized:"parenthesized",rule:"rule"};i(Hst,"isTerminalRuleCall");X(Hst,"isTerminalRuleCall");rke={$type:"Type",name:"name",type:"type"};i(hLr,"isType");X(hLr,"isType");Hne={$type:"TypeAttribute",defaultValue:"defaultValue",isOptional:"isOptional",name:"name",type:"type"},qne={$type:"TypeDefinition"},k7r={$type:"UnionType",types:"types"},nke={$type:"UnorderedGroup",cardinality:"cardinality",elements:"elements"};i(qst,"isUnorderedGroup");X(qst,"isUnorderedGroup");lV={$type:"UntilToken",cardinality:"cardinality",lookahead:"lookahead",parenthesized:"parenthesized",terminal:"terminal"};i(fLr,"isUntilToken");X(fLr,"isUntilToken");Wne={$type:"ValueLiteral"},hie={$type:"Wildcard",cardinality:"cardinality",lookahead:"lookahead",parenthesized:"parenthesized"};i(dLr,"isWildcard");X(dLr,"isWildcard");pLr=class extends qRr{static{i(this,"LangiumGrammarAstReflection")}static{X(this,"LangiumGrammarAstReflection")}constructor(){super(...arguments),this.types={AbstractElement:{name:Yw.$type,properties:{cardinality:{name:Yw.cardinality,optional:!0}},superTypes:[]},AbstractParserRule:{name:JTe.$type,properties:{},superTypes:[kTe.$type,D4.$type]},AbstractRule:{name:kTe.$type,properties:{},superTypes:[]},AbstractType:{name:D4.$type,properties:{},superTypes:[]},Action:{name:KO.$type,properties:{cardinality:{name:KO.cardinality,optional:!0},feature:{name:KO.feature,optional:!0},inferredType:{name:KO.inferredType,optional:!0},operator:{name:KO.operator,optional:!0},type:{name:KO.type,referenceType:D4.$type,optional:!0}},superTypes:[Yw.$type]},Alternatives:{name:ZTe.$type,properties:{cardinality:{name:ZTe.cardinality,optional:!0},elements:{name:ZTe.elements,defaultValue:[]}},superTypes:[Yw.$type]},ArrayLiteral:{name:y7r.$type,properties:{elements:{name:y7r.elements,defaultValue:[]}},superTypes:[Wne.$type]},ArrayType:{name:b7r.$type,properties:{elementType:{name:b7r.elementType}},superTypes:[qne.$type]},Assignment:{name:XO.$type,properties:{cardinality:{name:XO.cardinality,optional:!0},feature:{name:XO.feature},operator:{name:XO.operator},predicate:{name:XO.predicate,optional:!0},terminal:{name:XO.terminal}},superTypes:[Yw.$type]},BooleanLiteral:{name:Xit.$type,properties:{true:{name:Xit.true,defaultValue:!1}},superTypes:[YU.$type,Wne.$type]},CharacterRange:{name:QO.$type,properties:{cardinality:{name:QO.cardinality,optional:!0},left:{name:QO.left},lookahead:{name:QO.lookahead,optional:!0},parenthesized:{name:QO.parenthesized,defaultValue:!1,optional:!0},right:{name:QO.right,optional:!0}},superTypes:[hk.$type]},Condition:{name:YU.$type,properties:{},superTypes:[]},Conjunction:{name:eke.$type,properties:{left:{name:eke.left},right:{name:eke.right}},superTypes:[YU.$type]},CrossReference:{name:JO.$type,properties:{cardinality:{name:JO.cardinality,optional:!0},deprecatedSyntax:{name:JO.deprecatedSyntax,defaultValue:!1},isMulti:{name:JO.isMulti,defaultValue:!1},terminal:{name:JO.terminal,optional:!0},type:{name:JO.type,referenceType:D4.$type}},superTypes:[Yw.$type]},Disjunction:{name:tke.$type,properties:{left:{name:tke.left},right:{name:tke.right}},superTypes:[YU.$type]},EndOfFile:{name:Qit.$type,properties:{cardinality:{name:Qit.cardinality,optional:!0}},superTypes:[Yw.$type]},Grammar:{name:VO.$type,properties:{imports:{name:VO.imports,defaultValue:[]},interfaces:{name:VO.interfaces,defaultValue:[]},isDeclared:{name:VO.isDeclared,defaultValue:!1},name:{name:VO.name,optional:!0},rules:{name:VO.rules,defaultValue:[]},types:{name:VO.types,defaultValue:[]}},superTypes:[]},GrammarImport:{name:v7r.$type,properties:{path:{name:v7r.path}},superTypes:[]},Group:{name:tV.$type,properties:{cardinality:{name:tV.cardinality,optional:!0},elements:{name:tV.elements,defaultValue:[]},guardCondition:{name:tV.guardCondition,optional:!0},predicate:{name:tV.predicate,optional:!0}},superTypes:[Yw.$type]},InferredType:{name:Jit.$type,properties:{name:{name:Jit.name}},superTypes:[D4.$type]},InfixRule:{name:LA.$type,properties:{call:{name:LA.call},dataType:{name:LA.dataType,optional:!0},inferredType:{name:LA.inferredType,optional:!0},name:{name:LA.name},operators:{name:LA.operators},parameters:{name:LA.parameters,defaultValue:[]},returnType:{name:LA.returnType,referenceType:D4.$type,optional:!0}},superTypes:[JTe.$type]},InfixRuleOperatorList:{name:Ent.$type,properties:{associativity:{name:Ent.associativity,optional:!0},operators:{name:Ent.operators,defaultValue:[]}},superTypes:[]},InfixRuleOperators:{name:w7r.$type,properties:{precedences:{name:w7r.precedences,defaultValue:[]}},superTypes:[]},Interface:{name:lie.$type,properties:{attributes:{name:lie.attributes,defaultValue:[]},name:{name:lie.name},superTypes:{name:lie.superTypes,defaultValue:[],referenceType:D4.$type}},superTypes:[D4.$type]},Keyword:{name:cie.$type,properties:{cardinality:{name:cie.cardinality,optional:!0},predicate:{name:cie.predicate,optional:!0},value:{name:cie.value}},superTypes:[Yw.$type]},NamedArgument:{name:CTe.$type,properties:{calledByName:{name:CTe.calledByName,defaultValue:!1},parameter:{name:CTe.parameter,referenceType:ETe.$type,optional:!0},value:{name:CTe.value}},superTypes:[]},NegatedToken:{name:rV.$type,properties:{cardinality:{name:rV.cardinality,optional:!0},lookahead:{name:rV.lookahead,optional:!0},parenthesized:{name:rV.parenthesized,defaultValue:!1,optional:!0},terminal:{name:rV.terminal}},superTypes:[hk.$type]},Negation:{name:Zit.$type,properties:{value:{name:Zit.value}},superTypes:[YU.$type]},NumberLiteral:{name:x7r.$type,properties:{value:{name:x7r.value}},superTypes:[Wne.$type]},Parameter:{name:ETe.$type,properties:{name:{name:ETe.name}},superTypes:[]},ParameterReference:{name:eat.$type,properties:{parameter:{name:eat.parameter,referenceType:ETe.$type}},superTypes:[YU.$type]},ParserRule:{name:ES.$type,properties:{dataType:{name:ES.dataType,optional:!0},definition:{name:ES.definition},entry:{name:ES.entry,defaultValue:!1},fragment:{name:ES.fragment,defaultValue:!1},inferredType:{name:ES.inferredType,optional:!0},name:{name:ES.name},parameters:{name:ES.parameters,defaultValue:[]},returnType:{name:ES.returnType,referenceType:D4.$type,optional:!0}},superTypes:[JTe.$type]},ReferenceType:{name:Snt.$type,properties:{isMulti:{name:Snt.isMulti,defaultValue:!1},referenceType:{name:Snt.referenceType}},superTypes:[qne.$type]},RegexToken:{name:nV.$type,properties:{cardinality:{name:nV.cardinality,optional:!0},lookahead:{name:nV.lookahead,optional:!0},parenthesized:{name:nV.parenthesized,defaultValue:!1,optional:!0},regex:{name:nV.regex}},superTypes:[hk.$type]},ReturnType:{name:tat.$type,properties:{name:{name:tat.name}},superTypes:[]},RuleCall:{name:iV.$type,properties:{arguments:{name:iV.arguments,defaultValue:[]},cardinality:{name:iV.cardinality,optional:!0},predicate:{name:iV.predicate,optional:!0},rule:{name:iV.rule,referenceType:kTe.$type}},superTypes:[Yw.$type]},SimpleType:{name:uie.$type,properties:{primitiveType:{name:uie.primitiveType,optional:!0},stringType:{name:uie.stringType,optional:!0},typeRef:{name:uie.typeRef,referenceType:D4.$type,optional:!0}},superTypes:[qne.$type]},StringLiteral:{name:T7r.$type,properties:{value:{name:T7r.value}},superTypes:[Wne.$type]},TerminalAlternatives:{name:aV.$type,properties:{cardinality:{name:aV.cardinality,optional:!0},elements:{name:aV.elements,defaultValue:[]},lookahead:{name:aV.lookahead,optional:!0},parenthesized:{name:aV.parenthesized,defaultValue:!1,optional:!0}},superTypes:[hk.$type]},TerminalElement:{name:hk.$type,properties:{cardinality:{name:hk.cardinality,optional:!0},lookahead:{name:hk.lookahead,optional:!0},parenthesized:{name:hk.parenthesized,defaultValue:!1,optional:!0}},superTypes:[Yw.$type]},TerminalGroup:{name:sV.$type,properties:{cardinality:{name:sV.cardinality,optional:!0},elements:{name:sV.elements,defaultValue:[]},lookahead:{name:sV.lookahead,optional:!0},parenthesized:{name:sV.parenthesized,defaultValue:!1,optional:!0}},superTypes:[hk.$type]},TerminalRule:{name:OD.$type,properties:{definition:{name:OD.definition},fragment:{name:OD.fragment,defaultValue:!1},hidden:{name:OD.hidden,defaultValue:!1},name:{name:OD.name},type:{name:OD.type,optional:!0}},superTypes:[kTe.$type]},TerminalRuleCall:{name:oV.$type,properties:{cardinality:{name:oV.cardinality,optional:!0},lookahead:{name:oV.lookahead,optional:!0},parenthesized:{name:oV.parenthesized,defaultValue:!1,optional:!0},rule:{name:oV.rule,referenceType:OD.$type}},superTypes:[hk.$type]},Type:{name:rke.$type,properties:{name:{name:rke.name},type:{name:rke.type}},superTypes:[D4.$type]},TypeAttribute:{name:Hne.$type,properties:{defaultValue:{name:Hne.defaultValue,optional:!0},isOptional:{name:Hne.isOptional,defaultValue:!1},name:{name:Hne.name},type:{name:Hne.type}},superTypes:[]},TypeDefinition:{name:qne.$type,properties:{},superTypes:[]},UnionType:{name:k7r.$type,properties:{types:{name:k7r.types,defaultValue:[]}},superTypes:[qne.$type]},UnorderedGroup:{name:nke.$type,properties:{cardinality:{name:nke.cardinality,optional:!0},elements:{name:nke.elements,defaultValue:[]}},superTypes:[Yw.$type]},UntilToken:{name:lV.$type,properties:{cardinality:{name:lV.cardinality,optional:!0},lookahead:{name:lV.lookahead,optional:!0},parenthesized:{name:lV.parenthesized,defaultValue:!1,optional:!0},terminal:{name:lV.terminal}},superTypes:[hk.$type]},ValueLiteral:{name:Wne.$type,properties:{},superTypes:[]},Wildcard:{name:hie.$type,properties:{cardinality:{name:hie.cardinality,optional:!0},lookahead:{name:hie.lookahead,optional:!0},parenthesized:{name:hie.parenthesized,defaultValue:!1,optional:!0}},superTypes:[hk.$type]}}}},lu=new pLr;i(Lke,"streamCst");X(Lke,"streamCst");i(gLr,"isChildNode");X(gLr,"isChildNode");i(mLr,"tokenToRange");X(mLr,"tokenToRange");i(Dke,"isValidTokenRange");X(Dke,"isValidTokenRange");i(Rie,"toDocumentSegment");X(Rie,"toDocumentSegment");(function(t){t[t.Before=0]="Before",t[t.After=1]="After",t[t.OverlapFront=2]="OverlapFront",t[t.OverlapBack=3]="OverlapBack",t[t.Inside=4]="Inside",t[t.Outside=5]="Outside"})(MA||(MA={}));i(yLr,"compareRange");X(yLr,"compareRange");i(bLr,"inRange");X(bLr,"inRange");JZn=/^[\w\p{L}]$/u;i(vLr,"findCommentNode");X(vLr,"findCommentNode");i(rat,"isCommentNode");X(rat,"isCommentNode");i(wLr,"getPreviousNode");X(wLr,"getPreviousNode");xLr=class extends Error{static{i(this,"ErrorWithLocation")}static{X(this,"ErrorWithLocation")}constructor(t,r){let a=typeof r=="string"?r:r();super(t?`${a} at ${t.range.start.line}:${t.range.start.character}`:a)}};i(RV,"assertUnreachable");X(RV,"assertUnreachable");i(To,"cc");X(To,"cc");i(ike,"insertToSet");X(ike,"insertToSet");i(cV,"addFlag");X(cV,"addFlag");i(ZO,"ASSERT_EXISTS");X(ZO,"ASSERT_EXISTS");i(fie,"ASSERT_NEVER_REACH_HERE");X(fie,"ASSERT_NEVER_REACH_HERE");i(nat,"isCharacter");X(nat,"isCharacter");_ke=[];for(let t=To("0");t<=To("9");t++)_ke.push(t);Mke=[To("_")].concat(_ke);for(let t=To("a");t<=To("z");t++)Mke.push(t);for(let t=To("A");t<=To("Z");t++)Mke.push(t);C7r=[To(" "),To("\f"),To(` +`),To("\r"),To(" "),To("\v"),To(" "),To("\xA0"),To("\u1680"),To("\u2000"),To("\u2001"),To("\u2002"),To("\u2003"),To("\u2004"),To("\u2005"),To("\u2006"),To("\u2007"),To("\u2008"),To("\u2009"),To("\u200A"),To("\u2028"),To("\u2029"),To("\u202F"),To("\u205F"),To("\u3000"),To("\uFEFF")],ZZn=/[0-9a-fA-F]/,STe=/[0-9]/,eei=/[1-9]/,TLr=class{static{i(this,"RegExpParser")}static{X(this,"RegExpParser")}constructor(){this.idx=0,this.input="",this.groupIdx=0}saveState(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}}restoreState(t){this.idx=t.idx,this.input=t.input,this.groupIdx=t.groupIdx}pattern(t){this.idx=0,this.input=t,this.groupIdx=0,this.consumeChar("/");let r=this.disjunction();this.consumeChar("/");let a={type:"Flags",loc:{begin:this.idx,end:t.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};for(;this.isRegExpFlag();)switch(this.popChar()){case"g":cV(a,"global");break;case"i":cV(a,"ignoreCase");break;case"m":cV(a,"multiLine");break;case"u":cV(a,"unicode");break;case"y":cV(a,"sticky");break}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:a,value:r,loc:this.loc(0)}}disjunction(){let t=[],r=this.idx;for(t.push(this.alternative());this.peekChar()==="|";)this.consumeChar("|"),t.push(this.alternative());return{type:"Disjunction",value:t,loc:this.loc(r)}}alternative(){let t=[],r=this.idx;for(;this.isTerm();)t.push(this.term());return{type:"Alternative",value:t,loc:this.loc(r)}}term(){return this.isAssertion()?this.assertion():this.atom()}assertion(){let t=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(t)};case"$":return{type:"EndAnchor",loc:this.loc(t)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(t)};case"B":return{type:"NonWordBoundary",loc:this.loc(t)}}throw Error("Invalid Assertion Escape");case"(":this.consumeChar("?");let r;switch(this.popChar()){case"=":r="Lookahead";break;case"!":r="NegativeLookahead";break;case"<":{switch(this.popChar()){case"=":r="Lookbehind";break;case"!":r="NegativeLookbehind"}break}}ZO(r);let a=this.disjunction();return this.consumeChar(")"),{type:r,value:a,loc:this.loc(t)}}return fie()}quantifier(t=!1){let r,a=this.idx;switch(this.popChar()){case"*":r={atLeast:0,atMost:1/0};break;case"+":r={atLeast:1,atMost:1/0};break;case"?":r={atLeast:0,atMost:1};break;case"{":let o=this.integerIncludingZero();switch(this.popChar()){case"}":r={atLeast:o,atMost:o};break;case",":let l;this.isDigit()?(l=this.integerIncludingZero(),r={atLeast:o,atMost:l}):r={atLeast:o,atMost:1/0},this.consumeChar("}");break}if(t===!0&&r===void 0)return;ZO(r);break}if(!(t===!0&&r===void 0)&&ZO(r))return this.peekChar(0)==="?"?(this.consumeChar("?"),r.greedy=!1):r.greedy=!0,r.type="Quantifier",r.loc=this.loc(a),r}atom(){let t,r=this.idx;switch(this.peekChar()){case".":t=this.dotAll();break;case"\\":t=this.atomEscape();break;case"[":t=this.characterClass();break;case"(":t=this.group();break}return t===void 0&&this.isPatternCharacter()&&(t=this.patternCharacter()),ZO(t)?(t.loc=this.loc(r),this.isQuantifier()&&(t.quantifier=this.quantifier()),t):fie()}dotAll(){return this.consumeChar("."),{type:"Set",complement:!0,value:[To(` +`),To("\r"),To("\u2028"),To("\u2029")]}}atomEscape(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}}decimalEscapeAtom(){return{type:"GroupBackReference",value:this.positiveInteger()}}characterClassEscape(){let t,r=!1;switch(this.popChar()){case"d":t=_ke;break;case"D":t=_ke,r=!0;break;case"s":t=C7r;break;case"S":t=C7r,r=!0;break;case"w":t=Mke;break;case"W":t=Mke,r=!0;break}return ZO(t)?{type:"Set",value:t,complement:r}:fie()}controlEscapeAtom(){let t;switch(this.popChar()){case"f":t=To("\f");break;case"n":t=To(` +`);break;case"r":t=To("\r");break;case"t":t=To(" ");break;case"v":t=To("\v");break}return ZO(t)?{type:"Character",value:t}:fie()}controlLetterEscapeAtom(){this.consumeChar("c");let t=this.popChar();if(/[a-zA-Z]/.test(t)===!1)throw Error("Invalid ");return{type:"Character",value:t.toUpperCase().charCodeAt(0)-64}}nulCharacterAtom(){return this.consumeChar("0"),{type:"Character",value:To("\0")}}hexEscapeSequenceAtom(){return this.consumeChar("x"),this.parseHexDigits(2)}regExpUnicodeEscapeSequenceAtom(){return this.consumeChar("u"),this.parseHexDigits(4)}identityEscapeAtom(){let t=this.popChar();return{type:"Character",value:To(t)}}classPatternCharacterAtom(){switch(this.peekChar()){case` +`:case"\r":case"\u2028":case"\u2029":case"\\":case"]":throw Error("TBD");default:let t=this.popChar();return{type:"Character",value:To(t)}}}characterClass(){let t=[],r=!1;for(this.consumeChar("["),this.peekChar(0)==="^"&&(this.consumeChar("^"),r=!0);this.isClassAtom();){let a=this.classAtom(),o=a.type==="Character";if(nat(a)&&this.isRangeDash()){this.consumeChar("-");let l=this.classAtom(),h=l.type==="Character";if(nat(l)){if(l.value=this.input.length)throw Error("Unexpected end of input");this.idx++}loc(t){return{begin:t,end:this.idx}}},Qke=class{static{i(this,"BaseRegExpVisitor")}static{X(this,"BaseRegExpVisitor")}visitChildren(t){for(let r in t){let a=t[r];t.hasOwnProperty(r)&&(a.type!==void 0?this.visit(a):Array.isArray(a)&&a.forEach(o=>{this.visit(o)},this))}}visit(t){switch(t.type){case"Pattern":this.visitPattern(t);break;case"Flags":this.visitFlags(t);break;case"Disjunction":this.visitDisjunction(t);break;case"Alternative":this.visitAlternative(t);break;case"StartAnchor":this.visitStartAnchor(t);break;case"EndAnchor":this.visitEndAnchor(t);break;case"WordBoundary":this.visitWordBoundary(t);break;case"NonWordBoundary":this.visitNonWordBoundary(t);break;case"Lookahead":this.visitLookahead(t);break;case"NegativeLookahead":this.visitNegativeLookahead(t);break;case"Lookbehind":this.visitLookbehind(t);break;case"NegativeLookbehind":this.visitNegativeLookbehind(t);break;case"Character":this.visitCharacter(t);break;case"Set":this.visitSet(t);break;case"Group":this.visitGroup(t);break;case"GroupBackReference":this.visitGroupBackReference(t);break;case"Quantifier":this.visitQuantifier(t);break}this.visitChildren(t)}visitPattern(t){}visitFlags(t){}visitDisjunction(t){}visitAlternative(t){}visitStartAnchor(t){}visitEndAnchor(t){}visitWordBoundary(t){}visitNonWordBoundary(t){}visitLookahead(t){}visitNegativeLookahead(t){}visitLookbehind(t){}visitNegativeLookbehind(t){}visitCharacter(t){}visitSet(t){}visitGroup(t){}visitGroupBackReference(t){}visitQuantifier(t){}},tei=/\r?\n/gm,rei=new TLr,nei=class extends Qke{static{i(this,"TerminalRegExpVisitor")}static{X(this,"TerminalRegExpVisitor")}constructor(){super(...arguments),this.isStarting=!0,this.endRegexpStack=[],this.multiline=!1}get endRegex(){return this.endRegexpStack.join("")}reset(t){this.multiline=!1,this.regex=t,this.startRegexp="",this.isStarting=!0,this.endRegexpStack=[]}visitGroup(t){t.quantifier&&(this.isStarting=!1,this.endRegexpStack=[])}visitCharacter(t){let r=String.fromCharCode(t.value);if(!this.multiline&&r===` +`&&(this.multiline=!0),t.quantifier)this.isStarting=!1,this.endRegexpStack=[];else{let a=qie(r);this.endRegexpStack.push(a),this.isStarting&&(this.startRegexp+=a)}}visitSet(t){if(!this.multiline){let r=this.regex.substring(t.loc.begin,t.loc.end),a=new RegExp(r);this.multiline=!!` +`.match(a)}if(t.quantifier)this.isStarting=!1,this.endRegexpStack=[];else{let r=this.regex.substring(t.loc.begin,t.loc.end);this.endRegexpStack.push(r),this.isStarting&&(this.startRegexp+=r)}}visitChildren(t){t.type==="Group"&&t.quantifier||super.visitChildren(t)}},Ant=new nei;i(kLr,"isMultilineComment");X(kLr,"isMultilineComment");iei=`\f +\r \v \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF`.split("");i(Wst,"isWhitespace");X(Wst,"isWhitespace");i(qie,"escapeRegExp");X(qie,"escapeRegExp");i(CLr,"partialMatches");X(CLr,"partialMatches");i(ELr,"partialRegExp");X(ELr,"partialRegExp");i(SLr,"getEntryRule");X(SLr,"getEntryRule");i(ALr,"getHiddenRules");X(ALr,"getHiddenRules");i(Yst,"getAllReachableRules");X(Yst,"getAllReachableRules");i(Kst,"ruleDfs");X(Kst,"ruleDfs");i(RLr,"getCrossReferenceTerminal");X(RLr,"getCrossReferenceTerminal");i(LLr,"isCommentTerminal");X(LLr,"isCommentTerminal");i(DLr,"findNodesForProperty");X(DLr,"findNodesForProperty");i(Xst,"findNodeForProperty");X(Xst,"findNodeForProperty");i(Jke,"findNodesForPropertyInternal");X(Jke,"findNodesForPropertyInternal");i(_Lr,"findNodeForKeyword");X(_Lr,"findNodeForKeyword");i(MLr,"findNodesForKeywordInternal");X(MLr,"findNodesForKeywordInternal");i(ILr,"findAssignment");X(ILr,"findAssignment");i(Qst,"findNameAssignment");X(Qst,"findNameAssignment");i(Jst,"findNameAssignmentInternal");X(Jst,"findNameAssignmentInternal");i(Zst,"isDataTypeRule");X(Zst,"isDataTypeRule");i(eot,"isDataTypeRuleInternal");X(eot,"isDataTypeRuleInternal");i(tot,"getExplicitRuleType");X(tot,"getExplicitRuleType");i(TV,"getTypeName");X(TV,"getTypeName");i(NLr,"getActionType");X(NLr,"getActionType");i(OLr,"getRuleType");X(OLr,"getRuleType");i(Zke,"terminalRegex");X(Zke,"terminalRegex");rot=/[\s\S]/.source;i(wP,"abstractElementToRegex");X(wP,"abstractElementToRegex");i(PLr,"terminalAlternativesToRegex");X(PLr,"terminalAlternativesToRegex");i(BLr,"terminalGroupToRegex");X(BLr,"terminalGroupToRegex");i(FLr,"untilTokenToRegex");X(FLr,"untilTokenToRegex");i($Lr,"negateTokenToRegex");X($Lr,"negateTokenToRegex");i(GLr,"characterRangeToRegex");X(GLr,"characterRangeToRegex");i(ake,"keywordToRegex");X(ake,"keywordToRegex");i(DS,"withCardinality");X(DS,"withCardinality");i(jLr,"createGrammarConfig");X(jLr,"createGrammarConfig");i(Ike,"PRINT_ERROR");X(Ike,"PRINT_ERROR");i(not,"PRINT_WARNING");X(not,"PRINT_WARNING");i(iot,"timer");X(iot,"timer");i(aot,"toFastProperties");X(aot,"toFastProperties");i(zLr,"tokenLabel");X(zLr,"tokenLabel");i(ULr,"hasTokenLabel");X(ULr,"hasTokenLabel");NS=class{static{i(this,"AbstractProduction")}static{X(this,"AbstractProduction")}get definition(){return this._definition}set definition(t){this._definition=t}constructor(t){this._definition=t}accept(t){t.visit(this),this.definition.forEach(r=>{r.accept(t)})}},_b=class extends NS{static{i(this,"NonTerminal")}static{X(this,"NonTerminal")}constructor(t){super([]),this.idx=1,Object.assign(this,O4(t))}set definition(t){}get definition(){return this.referencedRule!==void 0?this.referencedRule.definition:[]}accept(t){t.visit(this)}},LV=class extends NS{static{i(this,"Rule")}static{X(this,"Rule")}constructor(t){super(t.definition),this.orgText="",Object.assign(this,O4(t))}},f2=class extends NS{static{i(this,"Alternative")}static{X(this,"Alternative")}constructor(t){super(t.definition),this.ignoreAmbiguities=!1,Object.assign(this,O4(t))}},p1=class extends NS{static{i(this,"Option")}static{X(this,"Option")}constructor(t){super(t.definition),this.idx=1,Object.assign(this,O4(t))}},Qw=class extends NS{static{i(this,"RepetitionMandatory")}static{X(this,"RepetitionMandatory")}constructor(t){super(t.definition),this.idx=1,Object.assign(this,O4(t))}},Jw=class extends NS{static{i(this,"RepetitionMandatoryWithSeparator")}static{X(this,"RepetitionMandatoryWithSeparator")}constructor(t){super(t.definition),this.idx=1,Object.assign(this,O4(t))}},wp=class extends NS{static{i(this,"Repetition")}static{X(this,"Repetition")}constructor(t){super(t.definition),this.idx=1,Object.assign(this,O4(t))}},d2=class extends NS{static{i(this,"RepetitionWithSeparator")}static{X(this,"RepetitionWithSeparator")}constructor(t){super(t.definition),this.idx=1,Object.assign(this,O4(t))}},p2=class extends NS{static{i(this,"Alternation")}static{X(this,"Alternation")}get definition(){return this._definition}set definition(t){this._definition=t}constructor(t){super(t.definition),this.idx=1,this.ignoreAmbiguities=!1,this.hasPredicates=!1,Object.assign(this,O4(t))}},kf=class{static{i(this,"Terminal")}static{X(this,"Terminal")}constructor(t){this.idx=1,Object.assign(this,O4(t))}accept(t){t.visit(this)}};i(VLr,"serializeGrammar");X(VLr,"serializeGrammar");i(bie,"serializeProduction");X(bie,"serializeProduction");i(O4,"pickOnlyDefined");X(O4,"pickOnlyDefined");DV=class{static{i(this,"GAstVisitor")}static{X(this,"GAstVisitor")}visit(t){let r=t;switch(r.constructor){case _b:return this.visitNonTerminal(r);case f2:return this.visitAlternative(r);case p1:return this.visitOption(r);case Qw:return this.visitRepetitionMandatory(r);case Jw:return this.visitRepetitionMandatoryWithSeparator(r);case d2:return this.visitRepetitionWithSeparator(r);case wp:return this.visitRepetition(r);case p2:return this.visitAlternation(r);case kf:return this.visitTerminal(r);case LV:return this.visitRule(r);default:throw Error("non exhaustive match")}}visitNonTerminal(t){}visitAlternative(t){}visitOption(t){}visitRepetition(t){}visitRepetitionMandatory(t){}visitRepetitionMandatoryWithSeparator(t){}visitRepetitionWithSeparator(t){}visitAlternation(t){}visitTerminal(t){}visitRule(t){}};i(HLr,"isSequenceProd");X(HLr,"isSequenceProd");i(Lie,"isOptionalProd");X(Lie,"isOptionalProd");i(qLr,"isBranchingProd");X(qLr,"isBranchingProd");i(M4,"getProductionDslName");X(M4,"getProductionDslName");e3e=class{static{i(this,"RestWalker")}static{X(this,"RestWalker")}walk(t,r=[]){t.definition.forEach((a,o)=>{let l=t.definition.slice(o+1);if(a instanceof _b)this.walkProdRef(a,l,r);else if(a instanceof kf)this.walkTerminal(a,l,r);else if(a instanceof f2)this.walkFlat(a,l,r);else if(a instanceof p1)this.walkOption(a,l,r);else if(a instanceof Qw)this.walkAtLeastOne(a,l,r);else if(a instanceof Jw)this.walkAtLeastOneSep(a,l,r);else if(a instanceof d2)this.walkManySep(a,l,r);else if(a instanceof wp)this.walkMany(a,l,r);else if(a instanceof p2)this.walkOr(a,l,r);else throw Error("non exhaustive match")})}walkTerminal(t,r,a){}walkProdRef(t,r,a){}walkFlat(t,r,a){let o=r.concat(a);this.walk(t,o)}walkOption(t,r,a){let o=r.concat(a);this.walk(t,o)}walkAtLeastOne(t,r,a){let o=[new p1({definition:t.definition})].concat(r,a);this.walk(t,o)}walkAtLeastOneSep(t,r,a){let o=iat(t,r,a);this.walk(t,o)}walkMany(t,r,a){let o=[new p1({definition:t.definition})].concat(r,a);this.walk(t,o)}walkManySep(t,r,a){let o=iat(t,r,a);this.walk(t,o)}walkOr(t,r,a){let o=r.concat(a);t.definition.forEach(l=>{let h=new f2({definition:[l]});this.walk(h,o)})}};i(iat,"restForRepetitionWithSeparator");X(iat,"restForRepetitionWithSeparator");i(_V,"first");X(_V,"first");i(WLr,"firstForSequence");X(WLr,"firstForSequence");i(YLr,"firstForBranching");X(YLr,"firstForBranching");i(KLr,"firstForTerminal");X(KLr,"firstForTerminal");XLr="_~IN~_",aei=class extends e3e{static{i(this,"ResyncFollowsWalker")}static{X(this,"ResyncFollowsWalker")}constructor(t){super(),this.topProd=t,this.follows={}}startWalking(){return this.walk(this.topProd),this.follows}walkTerminal(t,r,a){}walkProdRef(t,r,a){let o=JLr(t.referencedRule,t.idx)+this.topProd.name,l=r.concat(a),h=new f2({definition:l}),f=_V(h);this.follows[o]=f}};i(QLr,"computeAllProdsFollows");X(QLr,"computeAllProdsFollows");i(JLr,"buildBetweenProdsFollowPrefix");X(JLr,"buildBetweenProdsFollowPrefix");ske={},sei=new TLr;i(MV,"getRegExpAst");X(MV,"getRegExpAst");i(ZLr,"clearRegExpParserCache");X(ZLr,"clearRegExpParserCache");eDr="Complement Sets are not supported for first char optimization",Nke=`Unable to use "first char" lexer optimizations: +`;i(tDr,"getOptimizedStartCodesIndices");X(tDr,"getOptimizedStartCodesIndices");i(Oke,"firstCharOptimizedIndices");X(Oke,"firstCharOptimizedIndices");i(die,"addOptimizedIdxToResult");X(die,"addOptimizedIdxToResult");i(rDr,"handleIgnoreCase");X(rDr,"handleIgnoreCase");i(aat,"findCode");X(aat,"findCode");i(Pke,"isWholeOptional");X(Pke,"isWholeOptional");oei=class extends Qke{static{i(this,"CharCodeFinder")}static{X(this,"CharCodeFinder")}constructor(t){super(),this.targetCharCodes=t,this.found=!1}visitChildren(t){if(this.found!==!0){switch(t.type){case"Lookahead":this.visitLookahead(t);return;case"NegativeLookahead":this.visitNegativeLookahead(t);return;case"Lookbehind":this.visitLookbehind(t);return;case"NegativeLookbehind":this.visitNegativeLookbehind(t);return}super.visitChildren(t)}}visitCharacter(t){this.targetCharCodes.includes(t.value)&&(this.found=!0)}visitSet(t){t.complement?aat(t,this.targetCharCodes)===void 0&&(this.found=!0):aat(t,this.targetCharCodes)!==void 0&&(this.found=!0)}};i(t3e,"canMatchCharCode");X(t3e,"canMatchCharCode");yP="PATTERN",pie="defaultMode",ATe="modes",sat=0,oke=1,oat=2,lat=3;i(nDr,"analyzeTokenTypes");X(nDr,"analyzeTokenTypes");i(iDr,"getAsciiClass");X(iDr,"getAsciiClass");i(aDr,"validatePatterns");X(aDr,"validatePatterns");i(sDr,"validateRegExpPattern");X(sDr,"validateRegExpPattern");i(oDr,"findMissingPatterns");X(oDr,"findMissingPatterns");i(lDr,"findInvalidPatterns");X(lDr,"findInvalidPatterns");lei=/[^\\][$]/;i(cDr,"findEndOfInputAnchor");X(cDr,"findEndOfInputAnchor");i(uDr,"findEmptyMatchRegExps");X(uDr,"findEmptyMatchRegExps");cei=/[^\\[][\^]|^\^/;i(hDr,"findStartOfInputAnchor");X(hDr,"findStartOfInputAnchor");i(fDr,"findUnsupportedFlags");X(fDr,"findUnsupportedFlags");i(dDr,"findDuplicatePatterns");X(dDr,"findDuplicatePatterns");i(pDr,"findInvalidGroupType");X(pDr,"findInvalidGroupType");i(gDr,"findModesThatDoNotExist");X(gDr,"findModesThatDoNotExist");i(mDr,"findUnreachablePatterns");X(mDr,"findUnreachablePatterns");i(yDr,"tryToMatchStrToPattern");X(yDr,"tryToMatchStrToPattern");i(bDr,"noMetaChar");X(bDr,"noMetaChar");i(vDr,"usesLookAheadOrBehind");X(vDr,"usesLookAheadOrBehind");i(cat,"addStickyFlag");X(cat,"addStickyFlag");i(wDr,"performRuntimeChecks");X(wDr,"performRuntimeChecks");i(xDr,"performWarningRuntimeChecks");X(xDr,"performWarningRuntimeChecks");i(sot,"isCustomPattern");X(sot,"isCustomPattern");i(TDr,"isShortPattern");X(TDr,"isShortPattern");uei={test:X(function(t){let r=t.length;for(let a=this.lastIndex;a${t.image}<- The Mode Stack is empty`},buildUnexpectedCharactersMessage(t,r,a,o,l,h){return`unexpected character: ->${t.charAt(r)}<- at offset: ${r}, skipped ${a} characters.`}};(function(t){t[t.MISSING_PATTERN=0]="MISSING_PATTERN",t[t.INVALID_PATTERN=1]="INVALID_PATTERN",t[t.EOI_ANCHOR_FOUND=2]="EOI_ANCHOR_FOUND",t[t.UNSUPPORTED_FLAGS_FOUND=3]="UNSUPPORTED_FLAGS_FOUND",t[t.DUPLICATE_PATTERNS_FOUND=4]="DUPLICATE_PATTERNS_FOUND",t[t.INVALID_GROUP_TYPE_FOUND=5]="INVALID_GROUP_TYPE_FOUND",t[t.PUSH_MODE_DOES_NOT_EXIST=6]="PUSH_MODE_DOES_NOT_EXIST",t[t.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE=7]="MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE",t[t.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY=8]="MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY",t[t.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST=9]="MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST",t[t.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED=10]="LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED",t[t.SOI_ANCHOR_FOUND=11]="SOI_ANCHOR_FOUND",t[t.EMPTY_MATCH_PATTERN=12]="EMPTY_MATCH_PATTERN",t[t.NO_LINE_BREAKS_FLAGS=13]="NO_LINE_BREAKS_FLAGS",t[t.UNREACHABLE_PATTERN=14]="UNREACHABLE_PATTERN",t[t.IDENTIFY_TERMINATOR=15]="IDENTIFY_TERMINATOR",t[t.CUSTOM_LINE_BREAK=16]="CUSTOM_LINE_BREAK",t[t.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE=17]="MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE"})(xp||(xp={}));mie={deferDefinitionErrorsHandling:!1,positionTracking:"full",lineTerminatorsPattern:/\n|\r\n?/g,lineTerminatorCharacters:[` +`,"\r"],ensureOptimizations:!1,safeMode:!1,errorMessageProvider:hat,traceInitPerf:!1,skipValidations:!1,recoveryEnabled:!0};Object.freeze(mie);h2=class{static{i(this,"Lexer")}static{X(this,"Lexer")}constructor(t,r=mie){if(this.lexerDefinition=t,this.lexerDefinitionErrors=[],this.lexerDefinitionWarning=[],this.patternIdxToConfig={},this.charCodeToPatternIdxToConfig={},this.modes=[],this.emptyGroups={},this.cachedGroupKeys=[],this.trackStartLines=!0,this.trackEndLines=!0,this.hasCustom=!1,this.canModeBeOptimized={},this.TRACE_INIT=(o,l)=>{if(this.traceInitPerf===!0){this.traceInitIndent++;let h=new Array(this.traceInitIndent+1).join(" ");this.traceInitIndent <${o}>`);let{time:f,value:p}=iot(l),m=f>10?console.warn:console.log;return this.traceInitIndent time: ${f}ms`),this.traceInitIndent--,p}else return l()},typeof r=="boolean")throw Error(`The second argument to the Lexer constructor is now an ILexerConfig Object. +a boolean 2nd argument is no longer supported`);this.config=Object.assign({},mie,r);let a=this.config.traceInitPerf;a===!0?(this.traceInitMaxIdent=1/0,this.traceInitPerf=!0):typeof a=="number"&&(this.traceInitMaxIdent=a,this.traceInitPerf=!0),this.traceInitIndent=-1,this.TRACE_INIT("Lexer Constructor",()=>{let o,l=!0;this.TRACE_INIT("Lexer Config handling",()=>{if(this.config.lineTerminatorsPattern===mie.lineTerminatorsPattern)this.config.lineTerminatorsPattern=uei;else if(this.config.lineTerminatorCharacters===mie.lineTerminatorCharacters)throw Error(`Error: Missing property on the Lexer config. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS`);if(r.safeMode&&r.ensureOptimizations)throw Error('"safeMode" and "ensureOptimizations" flags are mutually exclusive.');this.trackStartLines=/full|onlyStart/i.test(this.config.positionTracking),this.trackEndLines=/full/i.test(this.config.positionTracking),Array.isArray(t)?o={modes:{defaultMode:[...t]},defaultMode:pie}:(l=!1,o=Object.assign({},t))}),this.config.skipValidations===!1&&(this.TRACE_INIT("performRuntimeChecks",()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(wDr(o,this.trackStartLines,this.config.lineTerminatorCharacters))}),this.TRACE_INIT("performWarningRuntimeChecks",()=>{this.lexerDefinitionWarning=this.lexerDefinitionWarning.concat(xDr(o,this.trackStartLines,this.config.lineTerminatorCharacters))})),o.modes=o.modes?o.modes:{},Object.entries(o.modes).forEach(([f,p])=>{o.modes[f]=p.filter(m=>m!==void 0)});let h=Object.keys(o.modes);if(Object.entries(o.modes).forEach(([f,p])=>{this.TRACE_INIT(`Mode: <${f}> processing`,()=>{if(this.modes.push(f),this.config.skipValidations===!1&&this.TRACE_INIT("validatePatterns",()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(aDr(p,h))}),this.lexerDefinitionErrors.length===0){NV(p);let m;this.TRACE_INIT("analyzeTokenTypes",()=>{m=nDr(p,{lineTerminatorCharacters:this.config.lineTerminatorCharacters,positionTracking:r.positionTracking,ensureOptimizations:r.ensureOptimizations,safeMode:r.safeMode,tracer:this.TRACE_INIT})}),this.patternIdxToConfig[f]=m.patternIdxToConfig,this.charCodeToPatternIdxToConfig[f]=m.charCodeToPatternIdxToConfig,this.emptyGroups=Object.assign({},this.emptyGroups,m.emptyGroups),this.hasCustom=m.hasCustom||this.hasCustom,this.canModeBeOptimized[f]=m.canBeOptimized}})}),this.defaultMode=o.defaultMode,this.cachedGroupKeys=Object.keys(this.emptyGroups),this.lexerDefinitionErrors.length>0&&!this.config.deferDefinitionErrorsHandling){let p=this.lexerDefinitionErrors.map(m=>m.message).join(`----------------------- +`);throw new Error(`Errors detected in definition of Lexer: +`+p)}this.lexerDefinitionWarning.forEach(f=>{not(f.message)}),this.TRACE_INIT("Choosing sub-methods implementations",()=>{if(l&&(this.handleModes=()=>{}),this.trackStartLines===!1&&(this.computeNewColumn=f=>f),this.trackEndLines===!1&&(this.updateTokenEndLineColumnLocation=()=>{}),/full/i.test(this.config.positionTracking))this.createTokenInstance=this.createFullToken;else if(/onlyStart/i.test(this.config.positionTracking))this.createTokenInstance=this.createStartOnlyToken;else if(/onlyOffset/i.test(this.config.positionTracking))this.createTokenInstance=this.createOffsetOnlyToken;else throw Error(`Invalid config option: "${this.config.positionTracking}"`);this.hasCustom?(this.addToken=this.addTokenUsingPush,this.handlePayload=this.handlePayloadWithCustom):(this.addToken=this.addTokenUsingMemberAccess,this.handlePayload=this.handlePayloadNoCustom)}),this.TRACE_INIT("Failed Optimization Warnings",()=>{let f=Object.entries(this.canModeBeOptimized).reduce((p,[m,b])=>(b===!1&&p.push(m),p),[]);if(r.ensureOptimizations&&f.length>0)throw Error(`Lexer Modes: < ${f.join(", ")} > cannot be optimized. + Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode. + Or inspect the console log for details on how to resolve these issues.`)}),this.TRACE_INIT("clearRegExpParserCache",()=>{ZLr()}),this.TRACE_INIT("toFastProperties",()=>{aot(this)})})}tokenize(t,r=this.defaultMode){if(this.lexerDefinitionErrors.length>0){let o=this.lexerDefinitionErrors.map(l=>l.message).join(`----------------------- +`);throw new Error(`Unable to Tokenize because Errors detected in definition of Lexer: +`+o)}return this.tokenizeInternal(t,r)}tokenizeInternal(t,r){let a,o,l,h,f,p,m,b,v,T,C,E,S,R,L,_=t,M=_.length,I=0,F=0,O=this.hasCustom?0:Math.floor(t.length/10),P=new Array(O),G=[],V=this.trackStartLines?1:void 0,Y=this.trackStartLines?1:void 0,K={};for(let de=0;de{if(W.length===1&&de.tokenType.PUSH_MODE===void 0){let ve=this.config.errorMessageProvider.buildUnableToPopLexerModeMessage(de);G.push({offset:de.startOffset,line:de.startLine,column:de.startColumn,length:de.image.length,message:ve})}else{W.pop();let ve=W.at(-1);Z=this.patternIdxToConfig[ve],Q=this.charCodeToPatternIdxToConfig[ve],q=Z.length;let Se=this.canModeBeOptimized[ve]&&this.config.safeMode===!1;Q&&Se?z=!0:z=!1}},"pop_mode");function ae(de){W.push(de),Q=this.charCodeToPatternIdxToConfig[de],Z=this.patternIdxToConfig[de],q=Z.length;let ve=this.canModeBeOptimized[de]&&this.config.safeMode===!1;Q&&ve?z=!0:z=!1}i(ae,"push_mode"),X(ae,"push_mode"),ae.call(this,r);let ce,le=this.config.recoveryEnabled;for(;Ip.length){p=h,v=h.length,m=b,ce=Ve;break}}}break}}if(v!==-1){if(T=ce.group,T!==void 0&&(p=p!==null?p:t.substring(I,I+v),C=ce.tokenTypeIdx,E=this.createTokenInstance(p,I,C,ce.tokenType,V,Y,v),this.handlePayload(E,m),T===!1?F=this.addToken(P,F,E):K[T].push(E)),J===!0&&ce.canLineTerminator===!0){let _e=0,Ce,Ve;H.lastIndex=0;do p=p!==null?p:t.substring(I,I+v),Ce=H.test(p),Ce===!0&&(Ve=H.lastIndex-1,_e++);while(Ce===!0);_e!==0?(V=V+_e,Y=v-Ve,this.updateTokenEndLineColumnLocation(E,T,Ve,_e,V,Y,v)):Y=this.computeNewColumn(Y,v)}else Y=this.computeNewColumn(Y,v);I=I+v,this.handleModes(ce,re,ae,E)}else{let _e=I,Ce=V,Ve=Y,De=le===!1;for(;De===!1&&I ${mP(t)} <--`:`token of type --> ${t.name} <--`} but found --> '${r.image}' <--`},buildNotAllInputParsedMessage({firstRedundant:t,ruleName:r}){return"Redundant input, expecting EOF but found: "+t.image},buildNoViableAltMessage({expectedPathsPerAlt:t,actual:r,previous:a,customUserDescription:o,ruleName:l}){let h="Expecting: ",p=` +but found: '`+r[0].image+"'";if(o)return h+o+p;{let T=`one of these possible Token sequences: +${t.reduce((C,E)=>C.concat(E),[]).map(C=>`[${C.map(E=>mP(E)).join(", ")}]`).map((C,E)=>` ${E+1}. ${C}`).join(` +`)}`;return h+T+p}},buildEarlyExitMessage({expectedIterationPaths:t,actual:r,customUserDescription:a,ruleName:o}){let l="Expecting: ",f=` +but found: '`+r[0].image+"'";if(a)return l+a+f;{let m=`expecting at least one iteration which starts with one of these possible Token sequences:: + <${t.map(b=>`[${b.map(v=>mP(v)).join(",")}]`).join(" ,")}>`;return l+m+f}}};Object.freeze(gV);fei={buildRuleNotFoundError(t,r){return"Invalid grammar, reference to a rule which is not defined: ->"+r.nonTerminalName+`<- +inside top level rule: ->`+t.name+"<-"}},gP={buildDuplicateFoundError(t,r){function a(v){return v instanceof kf?v.terminalType.name:v instanceof _b?v.nonTerminalName:""}i(a,"getExtraProductionArgument2"),X(a,"getExtraProductionArgument");let o=t.name,l=r[0],h=l.idx,f=M4(l),p=a(l),m=h>0,b=`->${f}${m?h:""}<- ${p?`with argument: ->${p}<-`:""} + appears more than once (${r.length} times) in the top level rule: ->${o}<-. + For further details see: https://chevrotain.io/docs/FAQ.html#NUMERICAL_SUFFIXES + `;return b=b.replace(/[ \t]+/g," "),b=b.replace(/\s\s+/g,` +`),b},buildNamespaceConflictError(t){return`Namespace conflict found in grammar. +The grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <${t.name}>. +To resolve this make sure each Terminal and Non-Terminal names are unique +This is easy to accomplish by using the convention that Terminal names start with an uppercase letter +and Non-Terminal names start with a lower case letter.`},buildAlternationPrefixAmbiguityError(t){let r=t.prefixPath.map(l=>mP(l)).join(", "),a=t.alternation.idx===0?"":t.alternation.idx;return`Ambiguous alternatives: <${t.ambiguityIndices.join(" ,")}> due to common lookahead prefix +in inside <${t.topLevelRule.name}> Rule, +<${r}> may appears as a prefix path in all these alternatives. +See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#COMMON_PREFIX +For Further details.`},buildAlternationAmbiguityError(t){let r=t.alternation.idx===0?"":t.alternation.idx,a=t.prefixPath.length===0,o=`Ambiguous Alternatives Detected: <${t.ambiguityIndices.join(" ,")}> in inside <${t.topLevelRule.name}> Rule, +`;if(a)o+=`These alternatives are all empty (match no tokens), making them indistinguishable. +Only the last alternative may be empty. +`;else{let l=t.prefixPath.map(h=>mP(h)).join(", ");o+=`<${l}> may appears as a prefix path in all these alternatives. +`}return o+=`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES +For Further details.`,o},buildEmptyRepetitionError(t){let r=M4(t.repetition);return t.repetition.idx!==0&&(r+=t.repetition.idx),`The repetition <${r}> within Rule <${t.topLevelRule.name}> can never consume any tokens. +This could lead to an infinite loop.`},buildTokenNameError(t){return"deprecated"},buildEmptyAlternationError(t){return`Ambiguous empty alternative: <${t.emptyChoiceIdx+1}> in inside <${t.topLevelRule.name}> Rule. +Only the last alternative may be an empty alternative.`},buildTooManyAlternativesError(t){return`An Alternation cannot have more than 256 alternatives: + inside <${t.topLevelRule.name}> Rule. + has ${t.alternation.definition.length+1} alternatives.`},buildLeftRecursionError(t){let r=t.topLevelRule.name,a=t.leftRecursionPath.map(h=>h.name),o=`${r} --> ${a.concat([r]).join(" --> ")}`;return`Left Recursion found in grammar. +rule: <${r}> can be invoked from itself (directly or indirectly) +without consuming any Tokens. The grammar path that causes this is: + ${o} + To fix this refactor your grammar to remove the left recursion. +see: https://en.wikipedia.org/wiki/LL_parser#Left_factoring.`},buildInvalidRuleNameError(t){return"deprecated"},buildDuplicateRuleNameError(t){let r;return t.topLevelRule instanceof LV?r=t.topLevelRule.name:r=t.topLevelRule,`Duplicate definition, rule: ->${r}<- is already defined in the grammar: ->${t.grammarName}<-`}};i(NDr,"resolveGrammar");X(NDr,"resolveGrammar");dei=class extends DV{static{i(this,"GastRefResolverVisitor")}static{X(this,"GastRefResolverVisitor")}constructor(t,r){super(),this.nameToTopRule=t,this.errMsgProvider=r,this.errors=[]}resolveRefs(){Object.values(this.nameToTopRule).forEach(t=>{this.currTopLevel=t,t.accept(this)})}visitNonTerminal(t){let r=this.nameToTopRule[t.nonTerminalName];if(r)t.referencedRule=r;else{let a=this.errMsgProvider.buildRuleNotFoundError(this.currTopLevel,t);this.errors.push({message:a,type:Mb.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:t.nonTerminalName})}}},pei=class extends e3e{static{i(this,"AbstractNextPossibleTokensWalker")}static{X(this,"AbstractNextPossibleTokensWalker")}constructor(t,r){super(),this.topProd=t,this.path=r,this.possibleTokTypes=[],this.nextProductionName="",this.nextProductionOccurrence=0,this.found=!1,this.isAtEndOfPath=!1}startWalking(){if(this.found=!1,this.path.ruleStack[0]!==this.topProd.name)throw Error("The path does not start with the walker's top Rule!");return this.ruleStack=[...this.path.ruleStack].reverse(),this.occurrenceStack=[...this.path.occurrenceStack].reverse(),this.ruleStack.pop(),this.occurrenceStack.pop(),this.updateExpectedNext(),this.walk(this.topProd),this.possibleTokTypes}walk(t,r=[]){this.found||super.walk(t,r)}walkProdRef(t,r,a){if(t.referencedRule.name===this.nextProductionName&&t.idx===this.nextProductionOccurrence){let o=r.concat(a);this.updateExpectedNext(),this.walk(t.referencedRule,o)}}updateExpectedNext(){this.ruleStack.length===0?(this.nextProductionName="",this.nextProductionOccurrence=0,this.isAtEndOfPath=!0):(this.nextProductionName=this.ruleStack.pop(),this.nextProductionOccurrence=this.occurrenceStack.pop())}},gei=class extends pei{static{i(this,"NextAfterTokenWalker")}static{X(this,"NextAfterTokenWalker")}constructor(t,r){super(t,r),this.path=r,this.nextTerminalName="",this.nextTerminalOccurrence=0,this.nextTerminalName=this.path.lastTok.name,this.nextTerminalOccurrence=this.path.lastTokOccurrence}walkTerminal(t,r,a){if(this.isAtEndOfPath&&t.terminalType.name===this.nextTerminalName&&t.idx===this.nextTerminalOccurrence&&!this.found){let o=r.concat(a),l=new f2({definition:o});this.possibleTokTypes=_V(l),this.found=!0}}},i3e=class extends e3e{static{i(this,"AbstractNextTerminalAfterProductionWalker")}static{X(this,"AbstractNextTerminalAfterProductionWalker")}constructor(t,r){super(),this.topRule=t,this.occurrence=r,this.result={token:void 0,occurrence:void 0,isEndOfRule:void 0}}startWalking(){return this.walk(this.topRule),this.result}},mei=class extends i3e{static{i(this,"NextTerminalAfterManyWalker")}static{X(this,"NextTerminalAfterManyWalker")}walkMany(t,r,a){if(t.idx===this.occurrence){let o=r.concat(a)[0];this.result.isEndOfRule=o===void 0,o instanceof kf&&(this.result.token=o.terminalType,this.result.occurrence=o.idx)}else super.walkMany(t,r,a)}},N7r=class extends i3e{static{i(this,"NextTerminalAfterManySepWalker")}static{X(this,"NextTerminalAfterManySepWalker")}walkManySep(t,r,a){if(t.idx===this.occurrence){let o=r.concat(a)[0];this.result.isEndOfRule=o===void 0,o instanceof kf&&(this.result.token=o.terminalType,this.result.occurrence=o.idx)}else super.walkManySep(t,r,a)}},yei=class extends i3e{static{i(this,"NextTerminalAfterAtLeastOneWalker")}static{X(this,"NextTerminalAfterAtLeastOneWalker")}walkAtLeastOne(t,r,a){if(t.idx===this.occurrence){let o=r.concat(a)[0];this.result.isEndOfRule=o===void 0,o instanceof kf&&(this.result.token=o.terminalType,this.result.occurrence=o.idx)}else super.walkAtLeastOne(t,r,a)}},O7r=class extends i3e{static{i(this,"NextTerminalAfterAtLeastOneSepWalker")}static{X(this,"NextTerminalAfterAtLeastOneSepWalker")}walkAtLeastOneSep(t,r,a){if(t.idx===this.occurrence){let o=r.concat(a)[0];this.result.isEndOfRule=o===void 0,o instanceof kf&&(this.result.token=o.terminalType,this.result.occurrence=o.idx)}else super.walkAtLeastOneSep(t,r,a)}};i(Bke,"possiblePathsFrom");X(Bke,"possiblePathsFrom");i(ODr,"nextPossibleTokensAfter");X(ODr,"nextPossibleTokensAfter");i(PDr,"expandTopLevelRule");X(PDr,"expandTopLevelRule");(function(t){t[t.OPTION=0]="OPTION",t[t.REPETITION=1]="REPETITION",t[t.REPETITION_MANDATORY=2]="REPETITION_MANDATORY",t[t.REPETITION_MANDATORY_WITH_SEPARATOR=3]="REPETITION_MANDATORY_WITH_SEPARATOR",t[t.REPETITION_WITH_SEPARATOR=4]="REPETITION_WITH_SEPARATOR",t[t.ALTERNATION=5]="ALTERNATION"})(Pd||(Pd={}));i(a3e,"getProdType");X(a3e,"getProdType");i(fat,"getLookaheadPaths");X(fat,"getLookaheadPaths");i(BDr,"buildLookaheadFuncForOr");X(BDr,"buildLookaheadFuncForOr");i(FDr,"buildLookaheadFuncForOptionalProd");X(FDr,"buildLookaheadFuncForOptionalProd");i($Dr,"buildAlternativesLookAheadFunc");X($Dr,"buildAlternativesLookAheadFunc");i(GDr,"buildSingleAlternativeLookaheadFunction");X(GDr,"buildSingleAlternativeLookaheadFunction");bei=class extends e3e{static{i(this,"RestDefinitionFinderWalker")}static{X(this,"RestDefinitionFinderWalker")}constructor(t,r,a){super(),this.topProd=t,this.targetOccurrence=r,this.targetProdType=a}startWalking(){return this.walk(this.topProd),this.restDef}checkIsTarget(t,r,a,o){return t.idx===this.targetOccurrence&&this.targetProdType===r?(this.restDef=a.concat(o),!0):!1}walkOption(t,r,a){this.checkIsTarget(t,Pd.OPTION,r,a)||super.walkOption(t,r,a)}walkAtLeastOne(t,r,a){this.checkIsTarget(t,Pd.REPETITION_MANDATORY,r,a)||super.walkOption(t,r,a)}walkAtLeastOneSep(t,r,a){this.checkIsTarget(t,Pd.REPETITION_MANDATORY_WITH_SEPARATOR,r,a)||super.walkOption(t,r,a)}walkMany(t,r,a){this.checkIsTarget(t,Pd.REPETITION,r,a)||super.walkOption(t,r,a)}walkManySep(t,r,a){this.checkIsTarget(t,Pd.REPETITION_WITH_SEPARATOR,r,a)||super.walkOption(t,r,a)}},jDr=class extends DV{static{i(this,"InsideDefinitionFinderVisitor")}static{X(this,"InsideDefinitionFinderVisitor")}constructor(t,r,a){super(),this.targetOccurrence=t,this.targetProdType=r,this.targetRef=a,this.result=[]}checkIsTarget(t,r){t.idx===this.targetOccurrence&&this.targetProdType===r&&(this.targetRef===void 0||t===this.targetRef)&&(this.result=t.definition)}visitOption(t){this.checkIsTarget(t,Pd.OPTION)}visitRepetition(t){this.checkIsTarget(t,Pd.REPETITION)}visitRepetitionMandatory(t){this.checkIsTarget(t,Pd.REPETITION_MANDATORY)}visitRepetitionMandatoryWithSeparator(t){this.checkIsTarget(t,Pd.REPETITION_MANDATORY_WITH_SEPARATOR)}visitRepetitionWithSeparator(t){this.checkIsTarget(t,Pd.REPETITION_WITH_SEPARATOR)}visitAlternation(t){this.checkIsTarget(t,Pd.ALTERNATION)}};i(dat,"initializeArrayOfArrays");X(dat,"initializeArrayOfArrays");i(uke,"pathToHashKeys");X(uke,"pathToHashKeys");i(zDr,"isUniquePrefixHash");X(zDr,"isUniquePrefixHash");i(dot,"lookAheadSequenceFromAlternatives");X(dot,"lookAheadSequenceFromAlternatives");i(Wie,"getLookaheadPathsForOr");X(Wie,"getLookaheadPathsForOr");i(Yie,"getLookaheadPathsForOptionalProd");X(Yie,"getLookaheadPathsForOptionalProd");i(Fke,"containsPath");X(Fke,"containsPath");i(UDr,"isStrictPrefixOfPath");X(UDr,"isStrictPrefixOfPath");i(pot,"areTokenCategoriesNotUsed");X(pot,"areTokenCategoriesNotUsed");i(VDr,"validateLookahead");X(VDr,"validateLookahead");i(HDr,"validateGrammar");X(HDr,"validateGrammar");i(qDr,"validateDuplicateProductions");X(qDr,"validateDuplicateProductions");i(WDr,"identifyProductionForDuplicates");X(WDr,"identifyProductionForDuplicates");i(got,"getExtraProductionArgument");X(got,"getExtraProductionArgument");vei=class extends DV{static{i(this,"OccurrenceValidationCollector")}static{X(this,"OccurrenceValidationCollector")}constructor(){super(...arguments),this.allProductions=[]}visitNonTerminal(t){this.allProductions.push(t)}visitOption(t){this.allProductions.push(t)}visitRepetitionWithSeparator(t){this.allProductions.push(t)}visitRepetitionMandatory(t){this.allProductions.push(t)}visitRepetitionMandatoryWithSeparator(t){this.allProductions.push(t)}visitRepetition(t){this.allProductions.push(t)}visitAlternation(t){this.allProductions.push(t)}visitTerminal(t){this.allProductions.push(t)}};i(YDr,"validateRuleDoesNotAlreadyExist");X(YDr,"validateRuleDoesNotAlreadyExist");i(KDr,"validateRuleIsOverridden");X(KDr,"validateRuleIsOverridden");i(mot,"validateNoLeftRecursion");X(mot,"validateNoLeftRecursion");i(vie,"getFirstNoneTerminal");X(vie,"getFirstNoneTerminal");yot=class extends DV{static{i(this,"OrCollector")}static{X(this,"OrCollector")}constructor(){super(...arguments),this.alternations=[]}visitAlternation(t){this.alternations.push(t)}};i(XDr,"validateEmptyOrAlternative");X(XDr,"validateEmptyOrAlternative");i(QDr,"validateAmbiguousAlternationAlternatives");X(QDr,"validateAmbiguousAlternationAlternatives");wei=class extends DV{static{i(this,"RepetitionCollector")}static{X(this,"RepetitionCollector")}constructor(){super(...arguments),this.allProductions=[]}visitRepetitionWithSeparator(t){this.allProductions.push(t)}visitRepetitionMandatory(t){this.allProductions.push(t)}visitRepetitionMandatoryWithSeparator(t){this.allProductions.push(t)}visitRepetition(t){this.allProductions.push(t)}};i(JDr,"validateTooManyAlts");X(JDr,"validateTooManyAlts");i(ZDr,"validateSomeNonEmptyLookaheadPath");X(ZDr,"validateSomeNonEmptyLookaheadPath");i(e_r,"checkAlternativesAmbiguities");X(e_r,"checkAlternativesAmbiguities");i(t_r,"checkPrefixAlternativesAmbiguities");X(t_r,"checkPrefixAlternativesAmbiguities");i(r_r,"checkTerminalAndNoneTerminalsNameSpace");X(r_r,"checkTerminalAndNoneTerminalsNameSpace");i(n_r,"resolveGrammar2");X(n_r,"resolveGrammar");i(i_r,"validateGrammar2");X(i_r,"validateGrammar");a_r="MismatchedTokenException",s_r="NoViableAltException",o_r="EarlyExitException",l_r="NotAllInputParsedException",c_r=[a_r,s_r,o_r,l_r];Object.freeze(c_r);i(_ie,"isRecognitionException");X(_ie,"isRecognitionException");s3e=class extends Error{static{i(this,"RecognitionException")}static{X(this,"RecognitionException")}constructor(t,r){super(t),this.token=r,this.resyncedTokens=[],Object.setPrototypeOf(this,new.target.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},u_r=class extends s3e{static{i(this,"MismatchedTokenException")}static{X(this,"MismatchedTokenException")}constructor(t,r,a){super(t,r),this.previousToken=a,this.name=a_r}},xei=class extends s3e{static{i(this,"NoViableAltException")}static{X(this,"NoViableAltException")}constructor(t,r,a){super(t,r),this.previousToken=a,this.name=s_r}},Tei=class extends s3e{static{i(this,"NotAllInputParsedException")}static{X(this,"NotAllInputParsedException")}constructor(t,r){super(t,r),this.name=l_r}},kei=class extends s3e{static{i(this,"EarlyExitException")}static{X(this,"EarlyExitException")}constructor(t,r,a){super(t,r),this.previousToken=a,this.name=o_r}},Rnt={},h_r="InRuleRecoveryException",Cei=class extends Error{static{i(this,"InRuleRecoveryException")}static{X(this,"InRuleRecoveryException")}constructor(t){super(t),this.name=h_r}},Eei=class{static{i(this,"Recoverable")}static{X(this,"Recoverable")}initRecoverable(t){this.firstAfterRepMap=[],this.resyncFollows={},this.recoveryEnabled=Object.hasOwn(t,"recoveryEnabled")?t.recoveryEnabled:BA.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=f_r)}getTokenToInsert(t){let r=r3e(t,"",-1,-1,-1,-1,-1,-1);return r.isInsertedInRecovery=!0,r}canTokenTypeBeInsertedInRecovery(t){return!0}canTokenTypeBeDeletedInRecovery(t){return!0}tryInRepetitionRecovery(t,r,a,o){let l=this.findReSyncTokenType(),h=this.exportLexerState(),f=[],p=!1,m=this.LA_FAST(1),b=this.LA_FAST(1),v=X(()=>{let T=this.LA(0),C=this.errorMessageProvider.buildMismatchTokenMessage({expected:o,actual:m,previous:T,ruleName:this.getCurrRuleFullName()}),E=new u_r(C,m,this.LA(0));E.resyncedTokens=f.slice(0,-1),this.SAVE_ERROR(E)},"generateErrorMessage");for(;!p;)if(this.tokenMatcher(b,o)){v();return}else if(a.call(this)){v(),t.apply(this,r);return}else this.tokenMatcher(b,l)?p=!0:(b=this.SKIP_TOKEN(),this.addToResyncTokens(b,f));this.importLexerState(h)}shouldInRepetitionRecoveryBeTried(t,r,a){return!(a===!1||this.tokenMatcher(this.LA_FAST(1),t)||this.isBackTracking()||this.canPerformInRuleRecovery(t,this.getFollowsForInRuleRecovery(t,r)))}getNextPossibleTokenTypes(t){let r=t.ruleStack[0],o=this.getGAstProductions()[r];return new gei(o,t).startWalking()}getFollowsForInRuleRecovery(t,r){let a=this.getCurrentGrammarPath(t,r);return this.getNextPossibleTokenTypes(a)}tryInRuleRecovery(t,r){if(this.canRecoverWithSingleTokenInsertion(t,r))return this.getTokenToInsert(t);if(this.canRecoverWithSingleTokenDeletion(t)){let a=this.SKIP_TOKEN();return this.consumeToken(),a}throw new Cei("sad sad panda")}canPerformInRuleRecovery(t,r){return this.canRecoverWithSingleTokenInsertion(t,r)||this.canRecoverWithSingleTokenDeletion(t)}canRecoverWithSingleTokenInsertion(t,r){if(!this.canTokenTypeBeInsertedInRecovery(t)||r.length===0)return!1;let a=this.LA_FAST(1);return r.find(l=>this.tokenMatcher(a,l))!==void 0}canRecoverWithSingleTokenDeletion(t){return this.canTokenTypeBeDeletedInRecovery(t)?this.tokenMatcher(this.LA(2),t):!1}isInCurrentRuleReSyncSet(t){let r=this.getCurrFollowKey();return this.getFollowSetFromFollowKey(r).includes(t)}findReSyncTokenType(){let t=this.flattenFollowSet(),r=this.LA_FAST(1),a=2;for(;;){let o=t.find(l=>n3e(r,l));if(o!==void 0)return o;r=this.LA(a),a++}}getCurrFollowKey(){if(this.RULE_STACK_IDX===0)return Rnt;let t=this.currRuleShortName,r=this.getLastExplicitRuleOccurrenceIndex(),a=this.getPreviousExplicitRuleShortName();return{ruleName:this.shortRuleNameToFullName(t),idxInCallingRule:r,inRule:this.shortRuleNameToFullName(a)}}buildFullFollowKeyStack(){let t=this.RULE_STACK,r=this.RULE_OCCURRENCE_STACK,a=this.RULE_STACK_IDX+1,o=new Array(a);for(let l=0;lthis.getFollowSetFromFollowKey(r)).flat()}getFollowSetFromFollowKey(t){if(t===Rnt)return[PA];let r=t.ruleName+t.idxInCallingRule+XLr+t.inRule;return this.resyncFollows[r]}addToResyncTokens(t,r){return this.tokenMatcher(t,PA)||r.push(t),r}reSyncTo(t){let r=[],a=this.LA_FAST(1);for(;this.tokenMatcher(a,t)===!1;)a=this.SKIP_TOKEN(),this.addToResyncTokens(a,r);return r.slice(0,-1)}attemptInRepetitionRecovery(t,r,a,o,l,h,f){}getCurrentGrammarPath(t,r){let a=this.getHumanReadableRuleStack(),o=this.RULE_OCCURRENCE_STACK.slice(0,this.RULE_OCCURRENCE_STACK_IDX+1);return{ruleStack:a,occurrenceStack:o,lastTok:t,lastTokOccurrence:r}}getHumanReadableRuleStack(){let t=this.RULE_STACK_IDX+1,r=new Array(t);for(let a=0;amot(r,r,gP))}validateEmptyOrAlternatives(t){return t.flatMap(r=>XDr(r,gP))}validateAmbiguousAlternationAlternatives(t,r){return t.flatMap(a=>QDr(a,r,gP))}validateSomeNonEmptyLookaheadPath(t,r){return ZDr(t,r,gP)}buildLookaheadForAlternation(t){return BDr(t.prodOccurrence,t.rule,t.maxLookahead,t.hasPredicates,t.dynamicTokensEnabled,$Dr)}buildLookaheadForOptional(t){return FDr(t.prodOccurrence,t.rule,t.maxLookahead,t.dynamicTokensEnabled,a3e(t.prodType),GDr)}},Sei=class{static{i(this,"LooksAhead")}static{X(this,"LooksAhead")}initLooksAhead(t){this.dynamicTokensEnabled=Object.hasOwn(t,"dynamicTokensEnabled")?t.dynamicTokensEnabled:BA.dynamicTokensEnabled,this.maxLookahead=Object.hasOwn(t,"maxLookahead")?t.maxLookahead:BA.maxLookahead,this.lookaheadStrategy=Object.hasOwn(t,"lookaheadStrategy")?t.lookaheadStrategy:new bot({maxLookahead:this.maxLookahead}),this.lookAheadFuncsCache=[],this.currRuleLookaheadFuncs=[]}preComputeLookaheadFunctions(t){t.forEach(r=>{this.TRACE_INIT(`${r.name} Rule Lookahead`,()=>{let{alternation:a,repetition:o,option:l,repetitionMandatory:h,repetitionMandatoryWithSeparator:f,repetitionWithSeparator:p}=g_r(r);a.forEach(m=>{let b=m.idx===0?"":m.idx;this.TRACE_INIT(`${M4(m)}${b}`,()=>{let v=this.lookaheadStrategy.buildLookaheadForAlternation({prodOccurrence:m.idx,rule:r,maxLookahead:m.maxLookahead||this.maxLookahead,hasPredicates:m.hasPredicates,dynamicTokensEnabled:this.dynamicTokensEnabled});this.setLaFuncCache(this.fullRuleNameToShort[r.name],d_r|m.idx,v)})}),o.forEach(m=>{this.computeLookaheadFunc(r,m.idx,pat,"Repetition",m.maxLookahead,M4(m))}),l.forEach(m=>{this.computeLookaheadFunc(r,m.idx,p_r,"Option",m.maxLookahead,M4(m))}),h.forEach(m=>{this.computeLookaheadFunc(r,m.idx,gat,"RepetitionMandatory",m.maxLookahead,M4(m))}),f.forEach(m=>{this.computeLookaheadFunc(r,m.idx,hke,"RepetitionMandatoryWithSeparator",m.maxLookahead,M4(m))}),p.forEach(m=>{this.computeLookaheadFunc(r,m.idx,mat,"RepetitionWithSeparator",m.maxLookahead,M4(m))})})})}computeLookaheadFunc(t,r,a,o,l,h){this.TRACE_INIT(`${h}${r===0?"":r}`,()=>{let f=this.lookaheadStrategy.buildLookaheadForOptional({prodOccurrence:r,rule:t,maxLookahead:l||this.maxLookahead,dynamicTokensEnabled:this.dynamicTokensEnabled,prodType:o});this.setLaFuncCache(this.fullRuleNameToShort[t.name],a|r,f)})}setLaFuncCache(t,r,a){let o=this.lookAheadFuncsCache[t];o===void 0&&(o=[],this.lookAheadFuncsCache[t]=o),o[r]=a}},Aei=class extends DV{static{i(this,"DslMethodsCollectorVisitor")}static{X(this,"DslMethodsCollectorVisitor")}constructor(){super(...arguments),this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}reset(){this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}visitOption(t){this.dslMethods.option.push(t)}visitRepetitionWithSeparator(t){this.dslMethods.repetitionWithSeparator.push(t)}visitRepetitionMandatory(t){this.dslMethods.repetitionMandatory.push(t)}visitRepetitionMandatoryWithSeparator(t){this.dslMethods.repetitionMandatoryWithSeparator.push(t)}visitRepetition(t){this.dslMethods.repetition.push(t)}visitAlternation(t){this.dslMethods.alternation.push(t)}},RTe=new Aei;i(g_r,"collectMethods");X(g_r,"collectMethods");i(yat,"setNodeLocationOnlyOffset");X(yat,"setNodeLocationOnlyOffset");i(bat,"setNodeLocationFull");X(bat,"setNodeLocationFull");i(m_r,"addTerminalToCst");X(m_r,"addTerminalToCst");i(y_r,"addNoneTerminalToCst");X(y_r,"addNoneTerminalToCst");Rei="name";i(vot,"defineNameProp");X(vot,"defineNameProp");i(b_r,"defaultVisit");X(b_r,"defaultVisit");i(v_r,"createBaseSemanticVisitorConstructor");X(v_r,"createBaseSemanticVisitorConstructor");i(w_r,"createBaseVisitorConstructorWithDefaults");X(w_r,"createBaseVisitorConstructorWithDefaults");(function(t){t[t.REDUNDANT_METHOD=0]="REDUNDANT_METHOD",t[t.MISSING_METHOD=1]="MISSING_METHOD"})(vat||(vat={}));i(x_r,"validateVisitor");X(x_r,"validateVisitor");i(T_r,"validateMissingCstMethods");X(T_r,"validateMissingCstMethods");Lei=class{static{i(this,"TreeBuilder")}static{X(this,"TreeBuilder")}initTreeBuilder(t){if(this.CST_STACK=[],this.outputCst=t.outputCst,this.nodeLocationTracking=Object.hasOwn(t,"nodeLocationTracking")?t.nodeLocationTracking:BA.nodeLocationTracking,!this.outputCst)this.cstInvocationStateUpdate=()=>{},this.cstFinallyStateUpdate=()=>{},this.cstPostTerminal=()=>{},this.cstPostNonTerminal=()=>{},this.cstPostRule=()=>{};else if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=bat,this.setNodeLocationFromNode=bat,this.cstPostRule=()=>{},this.setInitialNodeLocation=this.setInitialNodeLocationFullRecovery):(this.setNodeLocationFromToken=()=>{},this.setNodeLocationFromNode=()=>{},this.cstPostRule=this.cstPostRuleFull,this.setInitialNodeLocation=this.setInitialNodeLocationFullRegular);else if(/onlyOffset/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=yat,this.setNodeLocationFromNode=yat,this.cstPostRule=()=>{},this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRecovery):(this.setNodeLocationFromToken=()=>{},this.setNodeLocationFromNode=()=>{},this.cstPostRule=this.cstPostRuleOnlyOffset,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRegular);else if(/none/i.test(this.nodeLocationTracking))this.setNodeLocationFromToken=()=>{},this.setNodeLocationFromNode=()=>{},this.cstPostRule=()=>{},this.setInitialNodeLocation=()=>{};else throw Error(`Invalid config option: "${t.nodeLocationTracking}"`)}setInitialNodeLocationOnlyOffsetRecovery(t){t.location={startOffset:-1,endOffset:-1}}setInitialNodeLocationOnlyOffsetRegular(t){t.location={startOffset:this.LA_FAST(1).startOffset,endOffset:-1}}setInitialNodeLocationFullRecovery(t){t.location={startOffset:-1,startLine:-1,startColumn:-1,endOffset:-1,endLine:-1,endColumn:-1}}setInitialNodeLocationFullRegular(t){let r=this.LA_FAST(1);t.location={startOffset:r.startOffset,startLine:r.startLine,startColumn:r.startColumn,endOffset:-1,endLine:-1,endColumn:-1}}cstInvocationStateUpdate(t){let r={name:t,children:Object.create(null)};this.setInitialNodeLocation(r),this.CST_STACK.push(r)}cstFinallyStateUpdate(){this.CST_STACK.pop()}cstPostRuleFull(t){let r=this.LA(0),a=t.location;a.startOffset!==-1&&a.startOffset<=r.startOffset?(a.endOffset=r.endOffset,a.endLine=r.endLine,a.endColumn=r.endColumn):(a.startOffset=-1,a.startLine=-1,a.startColumn=-1)}cstPostRuleOnlyOffset(t){let r=this.LA(0),a=t.location;a.startOffset!==-1&&a.startOffset<=r.startOffset?a.endOffset=r.endOffset:a.startOffset=-1}cstPostTerminal(t,r){let a=this.CST_STACK[this.CST_STACK.length-1];m_r(a,r,t),this.setNodeLocationFromToken(a.location,r)}cstPostNonTerminal(t,r){let a=this.CST_STACK[this.CST_STACK.length-1];y_r(a,r,t),this.setNodeLocationFromNode(a.location,t.location)}get currCSTNode(){let t=this;return t.CST_STACK[t.CST_STACK.length-1]}getBaseCstVisitorConstructor(){if(this.baseCstVisitorConstructor===void 0){let t=v_r(this.className,Object.keys(this.gastProductionsCache));return this.baseCstVisitorConstructor=t,t}return this.baseCstVisitorConstructor}getBaseCstVisitorConstructorWithDefaults(){if(this.baseCstVisitorWithDefaultsConstructor===void 0){let t=w_r(this.className,Object.keys(this.gastProductionsCache),this.getBaseCstVisitorConstructor());return this.baseCstVisitorWithDefaultsConstructor=t,t}return this.baseCstVisitorWithDefaultsConstructor}getPreviousExplicitRuleShortName(){return this.RULE_STACK[this.RULE_STACK_IDX-1]}getLastExplicitRuleOccurrenceIndex(){return this.RULE_OCCURRENCE_STACK[this.RULE_OCCURRENCE_STACK_IDX]}},Dei=class{static{i(this,"LexerAdapter")}static{X(this,"LexerAdapter")}initLexerAdapter(){this.tokVector=[],this.tokVectorLength=0,this.currIdx=-1}set input(t){if(this.selfAnalysisDone!==!0)throw Error("Missing invocation at the end of the Parser's constructor.");this.reset(),this.tokVector=t,this.tokVectorLength=t.length}get input(){return this.tokVector}SKIP_TOKEN(){return this.currIdx<=this.tokVectorLength-2?(this.consumeToken(),this.LA_FAST(1)):kV}LA_FAST(t){let r=this.currIdx+t;return this.tokVector[r]}LA(t){let r=this.currIdx+t;return r<0||this.tokVectorLength<=r?kV:this.tokVector[r]}consumeToken(){this.currIdx++}exportLexerState(){return this.currIdx}importLexerState(t){this.currIdx=t}resetLexerState(){this.currIdx=-1}moveToTerminatedState(){this.currIdx=this.tokVectorLength-1}getLexerPosition(){return this.exportLexerState()}},_ei=class{static{i(this,"RecognizerApi")}static{X(this,"RecognizerApi")}ACTION(t){return t.call(this)}consume(t,r,a){return this.consumeInternal(r,t,a)}subrule(t,r,a){return this.subruleInternal(r,t,a)}option(t,r){return this.optionInternal(r,t)}or(t,r){return this.orInternal(r,t)}many(t,r){return this.manyInternal(t,r)}atLeastOne(t,r){return this.atLeastOneInternal(t,r)}CONSUME(t,r){return this.consumeInternal(t,0,r)}CONSUME1(t,r){return this.consumeInternal(t,1,r)}CONSUME2(t,r){return this.consumeInternal(t,2,r)}CONSUME3(t,r){return this.consumeInternal(t,3,r)}CONSUME4(t,r){return this.consumeInternal(t,4,r)}CONSUME5(t,r){return this.consumeInternal(t,5,r)}CONSUME6(t,r){return this.consumeInternal(t,6,r)}CONSUME7(t,r){return this.consumeInternal(t,7,r)}CONSUME8(t,r){return this.consumeInternal(t,8,r)}CONSUME9(t,r){return this.consumeInternal(t,9,r)}SUBRULE(t,r){return this.subruleInternal(t,0,r)}SUBRULE1(t,r){return this.subruleInternal(t,1,r)}SUBRULE2(t,r){return this.subruleInternal(t,2,r)}SUBRULE3(t,r){return this.subruleInternal(t,3,r)}SUBRULE4(t,r){return this.subruleInternal(t,4,r)}SUBRULE5(t,r){return this.subruleInternal(t,5,r)}SUBRULE6(t,r){return this.subruleInternal(t,6,r)}SUBRULE7(t,r){return this.subruleInternal(t,7,r)}SUBRULE8(t,r){return this.subruleInternal(t,8,r)}SUBRULE9(t,r){return this.subruleInternal(t,9,r)}OPTION(t){return this.optionInternal(t,0)}OPTION1(t){return this.optionInternal(t,1)}OPTION2(t){return this.optionInternal(t,2)}OPTION3(t){return this.optionInternal(t,3)}OPTION4(t){return this.optionInternal(t,4)}OPTION5(t){return this.optionInternal(t,5)}OPTION6(t){return this.optionInternal(t,6)}OPTION7(t){return this.optionInternal(t,7)}OPTION8(t){return this.optionInternal(t,8)}OPTION9(t){return this.optionInternal(t,9)}OR(t){return this.orInternal(t,0)}OR1(t){return this.orInternal(t,1)}OR2(t){return this.orInternal(t,2)}OR3(t){return this.orInternal(t,3)}OR4(t){return this.orInternal(t,4)}OR5(t){return this.orInternal(t,5)}OR6(t){return this.orInternal(t,6)}OR7(t){return this.orInternal(t,7)}OR8(t){return this.orInternal(t,8)}OR9(t){return this.orInternal(t,9)}MANY(t){this.manyInternal(0,t)}MANY1(t){this.manyInternal(1,t)}MANY2(t){this.manyInternal(2,t)}MANY3(t){this.manyInternal(3,t)}MANY4(t){this.manyInternal(4,t)}MANY5(t){this.manyInternal(5,t)}MANY6(t){this.manyInternal(6,t)}MANY7(t){this.manyInternal(7,t)}MANY8(t){this.manyInternal(8,t)}MANY9(t){this.manyInternal(9,t)}MANY_SEP(t){this.manySepFirstInternal(0,t)}MANY_SEP1(t){this.manySepFirstInternal(1,t)}MANY_SEP2(t){this.manySepFirstInternal(2,t)}MANY_SEP3(t){this.manySepFirstInternal(3,t)}MANY_SEP4(t){this.manySepFirstInternal(4,t)}MANY_SEP5(t){this.manySepFirstInternal(5,t)}MANY_SEP6(t){this.manySepFirstInternal(6,t)}MANY_SEP7(t){this.manySepFirstInternal(7,t)}MANY_SEP8(t){this.manySepFirstInternal(8,t)}MANY_SEP9(t){this.manySepFirstInternal(9,t)}AT_LEAST_ONE(t){this.atLeastOneInternal(0,t)}AT_LEAST_ONE1(t){return this.atLeastOneInternal(1,t)}AT_LEAST_ONE2(t){this.atLeastOneInternal(2,t)}AT_LEAST_ONE3(t){this.atLeastOneInternal(3,t)}AT_LEAST_ONE4(t){this.atLeastOneInternal(4,t)}AT_LEAST_ONE5(t){this.atLeastOneInternal(5,t)}AT_LEAST_ONE6(t){this.atLeastOneInternal(6,t)}AT_LEAST_ONE7(t){this.atLeastOneInternal(7,t)}AT_LEAST_ONE8(t){this.atLeastOneInternal(8,t)}AT_LEAST_ONE9(t){this.atLeastOneInternal(9,t)}AT_LEAST_ONE_SEP(t){this.atLeastOneSepFirstInternal(0,t)}AT_LEAST_ONE_SEP1(t){this.atLeastOneSepFirstInternal(1,t)}AT_LEAST_ONE_SEP2(t){this.atLeastOneSepFirstInternal(2,t)}AT_LEAST_ONE_SEP3(t){this.atLeastOneSepFirstInternal(3,t)}AT_LEAST_ONE_SEP4(t){this.atLeastOneSepFirstInternal(4,t)}AT_LEAST_ONE_SEP5(t){this.atLeastOneSepFirstInternal(5,t)}AT_LEAST_ONE_SEP6(t){this.atLeastOneSepFirstInternal(6,t)}AT_LEAST_ONE_SEP7(t){this.atLeastOneSepFirstInternal(7,t)}AT_LEAST_ONE_SEP8(t){this.atLeastOneSepFirstInternal(8,t)}AT_LEAST_ONE_SEP9(t){this.atLeastOneSepFirstInternal(9,t)}RULE(t,r,a=$ke){if(this.definedRulesNames.includes(t)){let h={message:gP.buildDuplicateRuleNameError({topLevelRule:t,grammarName:this.className}),type:Mb.DUPLICATE_RULE_NAME,ruleName:t};this.definitionErrors.push(h)}this.definedRulesNames.push(t);let o=this.defineRule(t,r,a);return this[t]=o,o}OVERRIDE_RULE(t,r,a=$ke){let o=KDr(t,this.definedRulesNames,this.className);this.definitionErrors=this.definitionErrors.concat(o);let l=this.defineRule(t,r,a);return this[t]=l,l}BACKTRACK(t,r){var a;let o=(a=t.coreRule)!==null&&a!==void 0?a:t;return function(){this.isBackTrackingStack.push(1);let l=this.saveRecogState();try{return o.apply(this,r),!0}catch(h){if(_ie(h))return!1;throw h}finally{this.reloadRecogState(l),this.isBackTrackingStack.pop()}}}getGAstProductions(){return this.gastProductionsCache}getSerializedGastProductions(){return VLr(Object.values(this.gastProductionsCache))}},Mei=class{static{i(this,"RecognizerEngine")}static{X(this,"RecognizerEngine")}initRecognizerEngine(t,r){if(this.className=this.constructor.name,this.shortRuleNameToFull=[],this.fullRuleNameToShort={},this.ruleShortNameIdx=0,this.tokenMatcher=Die,this.subruleIdx=0,this.currRuleShortName=-1,this.definedRulesNames=[],this.tokensMap={},this.isBackTrackingStack=[],this.RULE_STACK=[],this.RULE_STACK_IDX=-1,this.RULE_OCCURRENCE_STACK=[],this.RULE_OCCURRENCE_STACK_IDX=-1,this.gastProductionsCache={},Object.hasOwn(r,"serializedGrammar"))throw Error(`The Parser's configuration can no longer contain a property. + See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0 + For Further details.`);if(Array.isArray(t)){if(t.length===0)throw Error(`A Token Vocabulary cannot be empty. + Note that the first argument for the parser constructor + is no longer a Token vector (since v4.0).`);if(typeof t[0].startOffset=="number")throw Error(`The Parser constructor no longer accepts a token vector as the first argument. + See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0 + For Further details.`)}if(Array.isArray(t))this.tokensMap=t.reduce((l,h)=>(l[h.name]=h,l),{});else if(Object.hasOwn(t,"modes")&&Object.values(t.modes).flat().every(MDr)){let l=Object.values(t.modes).flat(),h=[...new Set(l)];this.tokensMap=h.reduce((f,p)=>(f[p.name]=p,f),{})}else if(typeof t=="object"&&t!==null)this.tokensMap=Object.assign({},t);else throw new Error(" argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap.EOF=PA;let o=(Object.hasOwn(t,"modes")?Object.values(t.modes).flat():Object.values(t)).every(l=>{var h;return((h=l.categoryMatches)===null||h===void 0?void 0:h.length)==0});this.tokenMatcher=o?Die:IV,NV(Object.values(this.tokensMap))}defineRule(t,r,a){if(this.selfAnalysisDone)throw Error(`Grammar rule <${t}> may not be defined after the 'performSelfAnalysis' method has been called' +Make sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.`);let o=Object.hasOwn(a,"resyncEnabled")?a.resyncEnabled:$ke.resyncEnabled,l=Object.hasOwn(a,"recoveryValueFunc")?a.recoveryValueFunc:$ke.recoveryValueFunc,h=this.ruleShortNameIdx++;this.shortRuleNameToFull[h]=t,this.fullRuleNameToShort[t]=h;let f;return this.outputCst===!0?f=X(i(function(...v){try{this.ruleInvocationStateUpdate(h,t,this.subruleIdx),r.apply(this,v);let T=this.CST_STACK[this.CST_STACK.length-1];return this.cstPostRule(T),T}catch(T){return this.invokeRuleCatch(T,o,l)}finally{this.ruleFinallyStateUpdate()}},"invokeRuleWithTry"),"invokeRuleWithTry"):f=X(i(function(...v){try{return this.ruleInvocationStateUpdate(h,t,this.subruleIdx),r.apply(this,v)}catch(T){return this.invokeRuleCatch(T,o,l)}finally{this.ruleFinallyStateUpdate()}},"invokeRuleWithTryCst"),"invokeRuleWithTryCst"),Object.assign(X(i(function(...v){this.onBeforeParse(t);try{return f.apply(this,v)}finally{this.onAfterParse(t)}},"rootRule"),"rootRule"),{ruleName:t,originalGrammarAction:r,coreRule:f})}invokeRuleCatch(t,r,a){let o=this.RULE_STACK_IDX===0,l=r&&!this.isBackTracking()&&this.recoveryEnabled;if(_ie(t)){let h=t;if(l){let f=this.findReSyncTokenType();if(this.isInCurrentRuleReSyncSet(f))if(h.resyncedTokens=this.reSyncTo(f),this.outputCst){let p=this.CST_STACK[this.CST_STACK.length-1];return p.recoveredNode=!0,p}else return a(t);else{if(this.outputCst){let p=this.CST_STACK[this.CST_STACK.length-1];p.recoveredNode=!0,h.partialCstResult=p}throw h}}else{if(o)return this.moveToTerminatedState(),a(t);throw h}}else throw t}optionInternal(t,r){let a=p_r|r;return this.optionInternalLogic(t,r,a)}optionInternalLogic(t,r,a){let o=this.currRuleLookaheadFuncs[a],l;if(typeof t!="function"){l=t.DEF;let h=t.GATE;if(h!==void 0){let f=o;o=X(()=>h.call(this)&&f.call(this),"lookAheadFunc")}}else l=t;if(o.call(this)===!0)return l.call(this)}atLeastOneInternal(t,r){let a=gat|t;return this.atLeastOneInternalLogic(t,r,a)}atLeastOneInternalLogic(t,r,a){let o=this.currRuleLookaheadFuncs[a],l;if(typeof r!="function"){l=r.DEF;let h=r.GATE;if(h!==void 0){let f=o;o=X(()=>h.call(this)&&f.call(this),"lookAheadFunc")}}else l=r;if(o.call(this)===!0){let h=this.doSingleRepetition(l);for(;o.call(this)===!0&&h===!0;)h=this.doSingleRepetition(l)}else throw this.raiseEarlyExitException(t,Pd.REPETITION_MANDATORY,r.ERR_MSG);this.attemptInRepetitionRecovery(this.atLeastOneInternal,[t,r],o,gat,t,yei)}atLeastOneSepFirstInternal(t,r){let a=hke|t;this.atLeastOneSepFirstInternalLogic(t,r,a)}atLeastOneSepFirstInternalLogic(t,r,a){let o=r.DEF,l=r.SEP;if(this.currRuleLookaheadFuncs[a].call(this)===!0){o.call(this);let f=X(()=>this.tokenMatcher(this.LA_FAST(1),l),"separatorLookAheadFunc");for(;this.tokenMatcher(this.LA_FAST(1),l)===!0;)this.CONSUME(l),o.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[t,l,f,o,O7r],f,hke,t,O7r)}else throw this.raiseEarlyExitException(t,Pd.REPETITION_MANDATORY_WITH_SEPARATOR,r.ERR_MSG)}manyInternal(t,r){let a=pat|t;return this.manyInternalLogic(t,r,a)}manyInternalLogic(t,r,a){let o=this.currRuleLookaheadFuncs[a],l;if(typeof r!="function"){l=r.DEF;let f=r.GATE;if(f!==void 0){let p=o;o=X(()=>f.call(this)&&p.call(this),"lookaheadFunction")}}else l=r;let h=!0;for(;o.call(this)===!0&&h===!0;)h=this.doSingleRepetition(l);this.attemptInRepetitionRecovery(this.manyInternal,[t,r],o,pat,t,mei,h)}manySepFirstInternal(t,r){let a=mat|t;this.manySepFirstInternalLogic(t,r,a)}manySepFirstInternalLogic(t,r,a){let o=r.DEF,l=r.SEP;if(this.currRuleLookaheadFuncs[a].call(this)===!0){o.call(this);let f=X(()=>this.tokenMatcher(this.LA_FAST(1),l),"separatorLookAheadFunc");for(;this.tokenMatcher(this.LA_FAST(1),l)===!0;)this.CONSUME(l),o.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[t,l,f,o,N7r],f,mat,t,N7r)}}repetitionSepSecondInternal(t,r,a,o,l){for(;a();)this.CONSUME(r),o.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[t,r,a,o,l],a,hke,t,l)}doSingleRepetition(t){let r=this.getLexerPosition();return t.call(this),this.getLexerPosition()>r}orInternal(t,r){let a=d_r|r,o=Array.isArray(t)?t:t.DEF,h=this.currRuleLookaheadFuncs[a].call(this,o);if(h!==void 0)return o[h].ALT.call(this);this.raiseNoAltException(r,t.ERR_MSG)}ruleFinallyStateUpdate(){this.RULE_STACK_IDX--,this.RULE_OCCURRENCE_STACK_IDX--,this.RULE_STACK_IDX>=0&&(this.currRuleShortName=this.RULE_STACK[this.RULE_STACK_IDX],this.currRuleLookaheadFuncs=this.lookAheadFuncsCache[this.currRuleShortName]),this.cstFinallyStateUpdate()}subruleInternal(t,r,a){let o;try{let l=a!==void 0?a.ARGS:void 0;return this.subruleIdx=r,o=t.coreRule.apply(this,l),this.cstPostNonTerminal(o,a!==void 0&&a.LABEL!==void 0?a.LABEL:t.ruleName),o}catch(l){throw this.subruleInternalError(l,a,t.ruleName)}}subruleInternalError(t,r,a){throw _ie(t)&&t.partialCstResult!==void 0&&(this.cstPostNonTerminal(t.partialCstResult,r!==void 0&&r.LABEL!==void 0?r.LABEL:a),delete t.partialCstResult),t}consumeInternal(t,r,a){let o;try{let l=this.LA_FAST(1);this.tokenMatcher(l,t)===!0?(this.consumeToken(),o=l):this.consumeInternalError(t,l,a)}catch(l){o=this.consumeInternalRecovery(t,r,l)}return this.cstPostTerminal(a!==void 0&&a.LABEL!==void 0?a.LABEL:t.name,o),o}consumeInternalError(t,r,a){let o,l=this.LA(0);throw a!==void 0&&a.ERR_MSG?o=a.ERR_MSG:o=this.errorMessageProvider.buildMismatchTokenMessage({expected:t,actual:r,previous:l,ruleName:this.getCurrRuleFullName()}),this.SAVE_ERROR(new u_r(o,r,l))}consumeInternalRecovery(t,r,a){if(this.recoveryEnabled&&a.name==="MismatchedTokenException"&&!this.isBackTracking()){let o=this.getFollowsForInRuleRecovery(t,r);try{return this.tryInRuleRecovery(t,o)}catch(l){throw l.name===h_r?a:l}}else throw a}saveRecogState(){let t=this.errors,r=this.RULE_STACK.slice(0,this.RULE_STACK_IDX+1);return{errors:t,lexerState:this.exportLexerState(),RULE_STACK:r,CST_STACK:this.CST_STACK}}reloadRecogState(t){this.errors=t.errors,this.importLexerState(t.lexerState);let r=t.RULE_STACK;for(let a=0;a=0&&(this.currRuleShortName=this.RULE_STACK[this.RULE_STACK_IDX],this.currRuleLookaheadFuncs=this.lookAheadFuncsCache[this.currRuleShortName])}ruleInvocationStateUpdate(t,r,a){this.RULE_OCCURRENCE_STACK[++this.RULE_OCCURRENCE_STACK_IDX]=a,this.RULE_STACK[++this.RULE_STACK_IDX]=t,this.currRuleShortName=t,this.currRuleLookaheadFuncs=this.lookAheadFuncsCache[t],this.cstInvocationStateUpdate(r)}isBackTracking(){return this.isBackTrackingStack.length!==0}getCurrRuleFullName(){let t=this.currRuleShortName;return this.shortRuleNameToFull[t]}shortRuleNameToFullName(t){return this.shortRuleNameToFull[t]}isAtEndOfInput(){return this.tokenMatcher(this.LA(1),PA)}reset(){this.resetLexerState(),this.subruleIdx=0,this.currRuleShortName=-1,this.currRuleLookaheadFuncs=[],this.isBackTrackingStack=[],this.errors=[],this.RULE_STACK_IDX=-1,this.RULE_OCCURRENCE_STACK_IDX=-1,this.CST_STACK=[]}onBeforeParse(t){for(let r=0;r{for(let t=0;t<10;t++){let r=t>0?t:"";this[`CONSUME${r}`]=function(a,o){return this.consumeInternalRecord(a,t,o)},this[`SUBRULE${r}`]=function(a,o){return this.subruleInternalRecord(a,t,o)},this[`OPTION${r}`]=function(a){return this.optionInternalRecord(a,t)},this[`OR${r}`]=function(a){return this.orInternalRecord(a,t)},this[`MANY${r}`]=function(a){this.manyInternalRecord(t,a)},this[`MANY_SEP${r}`]=function(a){this.manySepFirstInternalRecord(t,a)},this[`AT_LEAST_ONE${r}`]=function(a){this.atLeastOneInternalRecord(t,a)},this[`AT_LEAST_ONE_SEP${r}`]=function(a){this.atLeastOneSepFirstInternalRecord(t,a)}}this.consume=function(t,r,a){return this.consumeInternalRecord(r,t,a)},this.subrule=function(t,r,a){return this.subruleInternalRecord(r,t,a)},this.option=function(t,r){return this.optionInternalRecord(r,t)},this.or=function(t,r){return this.orInternalRecord(r,t)},this.many=function(t,r){this.manyInternalRecord(t,r)},this.atLeastOne=function(t,r){this.atLeastOneInternalRecord(t,r)},this.ACTION=this.ACTION_RECORD,this.BACKTRACK=this.BACKTRACK_RECORD,this.LA=this.LA_RECORD})}disableRecording(){this.RECORDING_PHASE=!1,this.TRACE_INIT("Deleting Recording methods",()=>{let t=this;for(let r=0;r<10;r++){let a=r>0?r:"";delete t[`CONSUME${a}`],delete t[`SUBRULE${a}`],delete t[`OPTION${a}`],delete t[`OR${a}`],delete t[`MANY${a}`],delete t[`MANY_SEP${a}`],delete t[`AT_LEAST_ONE${a}`],delete t[`AT_LEAST_ONE_SEP${a}`]}delete t.consume,delete t.subrule,delete t.option,delete t.or,delete t.many,delete t.atLeastOne,delete t.ACTION,delete t.BACKTRACK,delete t.LA})}ACTION_RECORD(t){}BACKTRACK_RECORD(t,r){return()=>!0}LA_RECORD(t){return kV}topLevelRuleRecord(t,r){try{let a=new LV({definition:[],name:t});return a.name=t,this.recordingProdStack.push(a),r.call(this),this.recordingProdStack.pop(),a}catch(a){if(a.KNOWN_RECORDER_ERROR!==!0)try{a.message=a.message+` + This error was thrown during the "grammar recording phase" For more info see: + https://chevrotain.io/docs/guide/internals.html#grammar-recording`}catch{throw a}throw a}}optionInternalRecord(t,r){return uV.call(this,p1,t,r)}atLeastOneInternalRecord(t,r){uV.call(this,Qw,r,t)}atLeastOneSepFirstInternalRecord(t,r){uV.call(this,Jw,r,t,P7r)}manyInternalRecord(t,r){uV.call(this,wp,r,t)}manySepFirstInternalRecord(t,r){uV.call(this,d2,r,t,P7r)}orInternalRecord(t,r){return E_r.call(this,t,r)}subruleInternalRecord(t,r,a){if(Mie(r),!t||!Object.hasOwn(t,"ruleName")){let f=new Error(` argument is invalid expecting a Parser method reference but got: <${JSON.stringify(t)}> + inside top level rule: <${this.recordingProdStack[0].name}>`);throw f.KNOWN_RECORDER_ERROR=!0,f}let o=this.recordingProdStack.at(-1),l=t.ruleName,h=new _b({idx:r,nonTerminalName:l,label:a?.LABEL,referencedRule:void 0});return o.definition.push(h),this.outputCst?Nei:o3e}consumeInternalRecord(t,r,a){if(Mie(r),!uot(t)){let h=new Error(` argument is invalid expecting a TokenType reference but got: <${JSON.stringify(t)}> + inside top level rule: <${this.recordingProdStack[0].name}>`);throw h.KNOWN_RECORDER_ERROR=!0,h}let o=this.recordingProdStack.at(-1),l=new kf({idx:r,terminalType:t,label:a?.LABEL});return o.definition.push(l),C_r}};i(uV,"recordProd");X(uV,"recordProd");i(E_r,"recordOrProd");X(E_r,"recordOrProd");i(wat,"getIdxSuffix");X(wat,"getIdxSuffix");i(Mie,"assertMethodIdxIsValid");X(Mie,"assertMethodIdxIsValid");Pei=class{static{i(this,"PerformanceTracer")}static{X(this,"PerformanceTracer")}initPerformanceTracer(t){if(Object.hasOwn(t,"traceInitPerf")){let r=t.traceInitPerf,a=typeof r=="number";this.traceInitMaxIdent=a?r:1/0,this.traceInitPerf=a?r>0:r}else this.traceInitMaxIdent=0,this.traceInitPerf=BA.traceInitPerf;this.traceInitIndent=-1}TRACE_INIT(t,r){if(this.traceInitPerf===!0){this.traceInitIndent++;let a=new Array(this.traceInitIndent+1).join(" ");this.traceInitIndent <${t}>`);let{time:o,value:l}=iot(r),h=o>10?console.warn:console.log;return this.traceInitIndent time: ${o}ms`),this.traceInitIndent--,l}else return r()}};i(S_r,"applyMixins");X(S_r,"applyMixins");kV=r3e(PA,"",-1,-1,-1,-1,-1,-1);Object.freeze(kV);BA=Object.freeze({recoveryEnabled:!1,maxLookahead:3,dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:gV,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1}),$ke=Object.freeze({recoveryValueFunc:X(()=>{},"recoveryValueFunc"),resyncEnabled:!0});(function(t){t[t.INVALID_RULE_NAME=0]="INVALID_RULE_NAME",t[t.DUPLICATE_RULE_NAME=1]="DUPLICATE_RULE_NAME",t[t.INVALID_RULE_OVERRIDE=2]="INVALID_RULE_OVERRIDE",t[t.DUPLICATE_PRODUCTIONS=3]="DUPLICATE_PRODUCTIONS",t[t.UNRESOLVED_SUBRULE_REF=4]="UNRESOLVED_SUBRULE_REF",t[t.LEFT_RECURSION=5]="LEFT_RECURSION",t[t.NONE_LAST_EMPTY_ALT=6]="NONE_LAST_EMPTY_ALT",t[t.AMBIGUOUS_ALTS=7]="AMBIGUOUS_ALTS",t[t.CONFLICT_TOKENS_RULES_NAMESPACE=8]="CONFLICT_TOKENS_RULES_NAMESPACE",t[t.INVALID_TOKEN_NAME=9]="INVALID_TOKEN_NAME",t[t.NO_NON_EMPTY_LOOKAHEAD=10]="NO_NON_EMPTY_LOOKAHEAD",t[t.AMBIGUOUS_PREFIX_ALTS=11]="AMBIGUOUS_PREFIX_ALTS",t[t.TOO_MANY_ALTS=12]="TOO_MANY_ALTS",t[t.CUSTOM_LOOKAHEAD_VALIDATION=13]="CUSTOM_LOOKAHEAD_VALIDATION"})(Mb||(Mb={}));i(xat,"EMPTY_ALT");X(xat,"EMPTY_ALT");wot=class A_r{static{i(this,"_Parser")}static{X(this,"Parser")}static performSelfAnalysis(r){throw Error("The **static** `performSelfAnalysis` method has been deprecated. \nUse the **instance** method with the same name instead.")}performSelfAnalysis(){this.TRACE_INIT("performSelfAnalysis",()=>{let r;this.selfAnalysisDone=!0;let a=this.className;this.TRACE_INIT("toFastProps",()=>{aot(this)}),this.TRACE_INIT("Grammar Recording",()=>{try{this.enableRecording(),this.definedRulesNames.forEach(l=>{let f=this[l].originalGrammarAction,p;this.TRACE_INIT(`${l} Rule`,()=>{p=this.topLevelRuleRecord(l,f)}),this.gastProductionsCache[l]=p})}finally{this.disableRecording()}});let o=[];if(this.TRACE_INIT("Grammar Resolving",()=>{o=n_r({rules:Object.values(this.gastProductionsCache)}),this.definitionErrors=this.definitionErrors.concat(o)}),this.TRACE_INIT("Grammar Validations",()=>{if(o.length===0&&this.skipValidations===!1){let l=i_r({rules:Object.values(this.gastProductionsCache),tokenTypes:Object.values(this.tokensMap),errMsgProvider:gP,grammarName:a}),h=VDr({lookaheadStrategy:this.lookaheadStrategy,rules:Object.values(this.gastProductionsCache),tokenTypes:Object.values(this.tokensMap),grammarName:a});this.definitionErrors=this.definitionErrors.concat(l,h)}}),this.definitionErrors.length===0&&(this.recoveryEnabled&&this.TRACE_INIT("computeAllProdsFollows",()=>{let l=QLr(Object.values(this.gastProductionsCache));this.resyncFollows=l}),this.TRACE_INIT("ComputeLookaheadFunctions",()=>{var l,h;(h=(l=this.lookaheadStrategy).initialize)===null||h===void 0||h.call(l,{rules:Object.values(this.gastProductionsCache)}),this.preComputeLookaheadFunctions(Object.values(this.gastProductionsCache))})),!A_r.DEFER_DEFINITION_ERRORS_HANDLING&&this.definitionErrors.length!==0)throw r=this.definitionErrors.map(l=>l.message),new Error(`Parser Definition Errors detected: + ${r.join(` +------------------------------- +`)}`)})}constructor(r,a){this.definitionErrors=[],this.selfAnalysisDone=!1;let o=this;if(o.initErrorHandler(a),o.initLexerAdapter(),o.initLooksAhead(a),o.initRecognizerEngine(r,a),o.initRecoverable(a),o.initTreeBuilder(a),o.initGastRecorder(a),o.initPerformanceTracer(a),Object.hasOwn(a,"ignoredIssues"))throw new Error(`The IParserConfig property has been deprecated. + Please use the flag on the relevant DSL method instead. + See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#IGNORING_AMBIGUITIES + For further details.`);this.skipValidations=Object.hasOwn(a,"skipValidations")?a.skipValidations:BA.skipValidations}};wot.DEFER_DEFINITION_ERRORS_HANDLING=!1;S_r(wot,[Eei,Sei,Lei,Dei,Mei,_ei,Iei,Oei,Pei]);Bei=class extends wot{static{i(this,"EmbeddedActionsParser")}static{X(this,"EmbeddedActionsParser")}constructor(t,r=BA){let a=Object.assign({},r);a.outputCst=!1,super(t,a)}};i(R_r,"arrayMap");X(R_r,"arrayMap");L_r=R_r;i(D_r,"listCacheClear");X(D_r,"listCacheClear");Fei=D_r;i(__r,"eq");X(__r,"eq");M_r=__r;i(I_r,"assocIndexOf");X(I_r,"assocIndexOf");l3e=I_r,$ei=Array.prototype,Gei=$ei.splice;i(N_r,"listCacheDelete");X(N_r,"listCacheDelete");jei=N_r;i(O_r,"listCacheGet");X(O_r,"listCacheGet");zei=O_r;i(P_r,"listCacheHas");X(P_r,"listCacheHas");Uei=P_r;i(B_r,"listCacheSet");X(B_r,"listCacheSet");Vei=B_r;i(xP,"ListCache");X(xP,"ListCache");xP.prototype.clear=Fei;xP.prototype.delete=jei;xP.prototype.get=zei;xP.prototype.has=Uei;xP.prototype.set=Vei;c3e=xP;i(F_r,"stackClear");X(F_r,"stackClear");Hei=F_r;i($_r,"stackDelete");X($_r,"stackDelete");qei=$_r;i(G_r,"stackGet");X(G_r,"stackGet");Wei=G_r;i(j_r,"stackHas");X(j_r,"stackHas");Yei=j_r,Kei=typeof global=="object"&&global&&global.Object===Object&&global,z_r=Kei,Xei=typeof self=="object"&&self&&self.Object===Object&&self,Qei=z_r||Xei||Function("return this")(),FA=Qei,Jei=FA.Symbol,_S=Jei,U_r=Object.prototype,Zei=U_r.hasOwnProperty,eti=U_r.toString,Yne=_S?_S.toStringTag:void 0;i(V_r,"getRawTag");X(V_r,"getRawTag");tti=V_r,rti=Object.prototype,nti=rti.toString;i(H_r,"objectToString");X(H_r,"objectToString");iti=H_r,ati="[object Null]",sti="[object Undefined]",F7r=_S?_S.toStringTag:void 0;i(q_r,"baseGetTag");X(q_r,"baseGetTag");PV=q_r;i(W_r,"isObject");X(W_r,"isObject");xot=W_r,oti="[object AsyncFunction]",lti="[object Function]",cti="[object GeneratorFunction]",uti="[object Proxy]";i(Y_r,"isFunction");X(Y_r,"isFunction");K_r=Y_r,hti=FA["__core-js_shared__"],Lnt=hti,$7r=(function(){var t=/[^.]+$/.exec(Lnt&&Lnt.keys&&Lnt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();i(X_r,"isMasked");X(X_r,"isMasked");fti=X_r,dti=Function.prototype,pti=dti.toString;i(Q_r,"toSource");X(Q_r,"toSource");TP=Q_r,gti=/[\\^$.*+?()[\]{}|]/g,mti=/^\[object .+?Constructor\]$/,yti=Function.prototype,bti=Object.prototype,vti=yti.toString,wti=bti.hasOwnProperty,xti=RegExp("^"+vti.call(wti).replace(gti,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");i(J_r,"baseIsNative");X(J_r,"baseIsNative");Tti=J_r;i(Z_r,"getValue");X(Z_r,"getValue");kti=Z_r;i(eMr,"getNative");X(eMr,"getNative");BV=eMr,Cti=BV(FA,"Map"),Iie=Cti,Eti=BV(Object,"create"),Nie=Eti;i(tMr,"hashClear");X(tMr,"hashClear");Sti=tMr;i(rMr,"hashDelete");X(rMr,"hashDelete");Ati=rMr,Rti="__lodash_hash_undefined__",Lti=Object.prototype,Dti=Lti.hasOwnProperty;i(nMr,"hashGet");X(nMr,"hashGet");_ti=nMr,Mti=Object.prototype,Iti=Mti.hasOwnProperty;i(iMr,"hashHas");X(iMr,"hashHas");Nti=iMr,Oti="__lodash_hash_undefined__";i(aMr,"hashSet");X(aMr,"hashSet");Pti=aMr;i(kP,"Hash");X(kP,"Hash");kP.prototype.clear=Sti;kP.prototype.delete=Ati;kP.prototype.get=_ti;kP.prototype.has=Nti;kP.prototype.set=Pti;G7r=kP;i(sMr,"mapCacheClear");X(sMr,"mapCacheClear");Bti=sMr;i(oMr,"isKeyable");X(oMr,"isKeyable");Fti=oMr;i(lMr,"getMapData");X(lMr,"getMapData");u3e=lMr;i(cMr,"mapCacheDelete");X(cMr,"mapCacheDelete");$ti=cMr;i(uMr,"mapCacheGet");X(uMr,"mapCacheGet");Gti=uMr;i(hMr,"mapCacheHas");X(hMr,"mapCacheHas");jti=hMr;i(fMr,"mapCacheSet");X(fMr,"mapCacheSet");zti=fMr;i(CP,"MapCache");X(CP,"MapCache");CP.prototype.clear=Bti;CP.prototype.delete=$ti;CP.prototype.get=Gti;CP.prototype.has=jti;CP.prototype.set=zti;h3e=CP,Uti=200;i(dMr,"stackSet");X(dMr,"stackSet");Vti=dMr;i(EP,"Stack");X(EP,"Stack");EP.prototype.clear=Hei;EP.prototype.delete=qei;EP.prototype.get=Wei;EP.prototype.has=Yei;EP.prototype.set=Vti;fke=EP,Hti="__lodash_hash_undefined__";i(pMr,"setCacheAdd");X(pMr,"setCacheAdd");qti=pMr;i(gMr,"setCacheHas");X(gMr,"setCacheHas");Wti=gMr;i(Oie,"SetCache");X(Oie,"SetCache");Oie.prototype.add=Oie.prototype.push=qti;Oie.prototype.has=Wti;mMr=Oie;i(yMr,"arraySome");X(yMr,"arraySome");Yti=yMr;i(bMr,"cacheHas");X(bMr,"cacheHas");vMr=bMr,Kti=1,Xti=2;i(wMr,"equalArrays");X(wMr,"equalArrays");xMr=wMr,Qti=FA.Uint8Array,j7r=Qti;i(TMr,"mapToArray");X(TMr,"mapToArray");Jti=TMr;i(kMr,"setToArray");X(kMr,"setToArray");Tot=kMr,Zti=1,eri=2,tri="[object Boolean]",rri="[object Date]",nri="[object Error]",iri="[object Map]",ari="[object Number]",sri="[object RegExp]",ori="[object Set]",lri="[object String]",cri="[object Symbol]",uri="[object ArrayBuffer]",hri="[object DataView]",z7r=_S?_S.prototype:void 0,Dnt=z7r?z7r.valueOf:void 0;i(CMr,"equalByTag");X(CMr,"equalByTag");fri=CMr;i(EMr,"arrayPush");X(EMr,"arrayPush");SMr=EMr,dri=Array.isArray,Ib=dri;i(AMr,"baseGetAllKeys");X(AMr,"baseGetAllKeys");pri=AMr;i(RMr,"arrayFilter");X(RMr,"arrayFilter");LMr=RMr;i(DMr,"stubArray");X(DMr,"stubArray");gri=DMr,mri=Object.prototype,yri=mri.propertyIsEnumerable,U7r=Object.getOwnPropertySymbols,bri=U7r?function(t){return t==null?[]:(t=Object(t),LMr(U7r(t),function(r){return yri.call(t,r)}))}:gri,vri=bri;i(_Mr,"baseTimes");X(_Mr,"baseTimes");wri=_Mr;i(MMr,"isObjectLike");X(MMr,"isObjectLike");CV=MMr,xri="[object Arguments]";i(IMr,"baseIsArguments");X(IMr,"baseIsArguments");V7r=IMr,NMr=Object.prototype,Tri=NMr.hasOwnProperty,kri=NMr.propertyIsEnumerable,Cri=V7r((function(){return arguments})())?V7r:function(t){return CV(t)&&Tri.call(t,"callee")&&!kri.call(t,"callee")},f3e=Cri;i(OMr,"stubFalse");X(OMr,"stubFalse");Eri=OMr,PMr=typeof exports=="object"&&exports&&!exports.nodeType&&exports,H7r=PMr&&typeof module=="object"&&module&&!module.nodeType&&module,Sri=H7r&&H7r.exports===PMr,q7r=Sri?FA.Buffer:void 0,Ari=q7r?q7r.isBuffer:void 0,Rri=Ari||Eri,Gke=Rri,Lri=9007199254740991,Dri=/^(?:0|[1-9]\d*)$/;i(BMr,"isIndex");X(BMr,"isIndex");FMr=BMr,_ri=9007199254740991;i($Mr,"isLength");X($Mr,"isLength");kot=$Mr,Mri="[object Arguments]",Iri="[object Array]",Nri="[object Boolean]",Ori="[object Date]",Pri="[object Error]",Bri="[object Function]",Fri="[object Map]",$ri="[object Number]",Gri="[object Object]",jri="[object RegExp]",zri="[object Set]",Uri="[object String]",Vri="[object WeakMap]",Hri="[object ArrayBuffer]",qri="[object DataView]",Wri="[object Float32Array]",Yri="[object Float64Array]",Kri="[object Int8Array]",Xri="[object Int16Array]",Qri="[object Int32Array]",Jri="[object Uint8Array]",Zri="[object Uint8ClampedArray]",eni="[object Uint16Array]",tni="[object Uint32Array]",Tf={};Tf[Wri]=Tf[Yri]=Tf[Kri]=Tf[Xri]=Tf[Qri]=Tf[Jri]=Tf[Zri]=Tf[eni]=Tf[tni]=!0;Tf[Mri]=Tf[Iri]=Tf[Hri]=Tf[Nri]=Tf[qri]=Tf[Ori]=Tf[Pri]=Tf[Bri]=Tf[Fri]=Tf[$ri]=Tf[Gri]=Tf[jri]=Tf[zri]=Tf[Uri]=Tf[Vri]=!1;i(GMr,"baseIsTypedArray");X(GMr,"baseIsTypedArray");rni=GMr;i(jMr,"baseUnary");X(jMr,"baseUnary");nni=jMr,zMr=typeof exports=="object"&&exports&&!exports.nodeType&&exports,wie=zMr&&typeof module=="object"&&module&&!module.nodeType&&module,ini=wie&&wie.exports===zMr,_nt=ini&&z_r.process,ani=(function(){try{var t=wie&&wie.require&&wie.require("util").types;return t||_nt&&_nt.binding&&_nt.binding("util")}catch{}})(),W7r=ani,Y7r=W7r&&W7r.isTypedArray,sni=Y7r?nni(Y7r):rni,Cot=sni,oni=Object.prototype,lni=oni.hasOwnProperty;i(UMr,"arrayLikeKeys");X(UMr,"arrayLikeKeys");cni=UMr,uni=Object.prototype;i(VMr,"isPrototype");X(VMr,"isPrototype");HMr=VMr;i(qMr,"overArg");X(qMr,"overArg");hni=qMr,fni=hni(Object.keys,Object),dni=fni,pni=Object.prototype,gni=pni.hasOwnProperty;i(WMr,"baseKeys");X(WMr,"baseKeys");YMr=WMr;i(KMr,"isArrayLike");X(KMr,"isArrayLike");d3e=KMr;i(XMr,"keys");X(XMr,"keys");Eot=XMr;i(QMr,"getAllKeys");X(QMr,"getAllKeys");K7r=QMr,mni=1,yni=Object.prototype,bni=yni.hasOwnProperty;i(JMr,"equalObjects");X(JMr,"equalObjects");vni=JMr,wni=BV(FA,"DataView"),Tat=wni,xni=BV(FA,"Promise"),kat=xni,Tni=BV(FA,"Set"),wV=Tni,kni=BV(FA,"WeakMap"),Cat=kni,X7r="[object Map]",Cni="[object Object]",Q7r="[object Promise]",J7r="[object Set]",Z7r="[object WeakMap]",eRr="[object DataView]",Eni=TP(Tat),Sni=TP(Iie),Ani=TP(kat),Rni=TP(wV),Lni=TP(Cat),eP=PV;(Tat&&eP(new Tat(new ArrayBuffer(1)))!=eRr||Iie&&eP(new Iie)!=X7r||kat&&eP(kat.resolve())!=Q7r||wV&&eP(new wV)!=J7r||Cat&&eP(new Cat)!=Z7r)&&(eP=X(function(t){var r=PV(t),a=r==Cni?t.constructor:void 0,o=a?TP(a):"";if(o)switch(o){case Eni:return eRr;case Sni:return X7r;case Ani:return Q7r;case Rni:return J7r;case Lni:return Z7r}return r},"getTag"));Eat=eP,Dni=1,tRr="[object Arguments]",rRr="[object Array]",LTe="[object Object]",_ni=Object.prototype,nRr=_ni.hasOwnProperty;i(ZMr,"baseIsEqualDeep");X(ZMr,"baseIsEqualDeep");Mni=ZMr;i(Sot,"baseIsEqual");X(Sot,"baseIsEqual");e9r=Sot,Ini=1,Nni=2;i(t9r,"baseIsMatch");X(t9r,"baseIsMatch");Oni=t9r;i(r9r,"isStrictComparable");X(r9r,"isStrictComparable");n9r=r9r;i(i9r,"getMatchData");X(i9r,"getMatchData");Pni=i9r;i(a9r,"matchesStrictComparable");X(a9r,"matchesStrictComparable");s9r=a9r;i(o9r,"baseMatches");X(o9r,"baseMatches");Bni=o9r,Fni="[object Symbol]";i(l9r,"isSymbol");X(l9r,"isSymbol");p3e=l9r,$ni=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Gni=/^\w*$/;i(c9r,"isKey");X(c9r,"isKey");Aot=c9r,jni="Expected a function";i(g3e,"memoize");X(g3e,"memoize");g3e.Cache=h3e;zni=g3e,Uni=500;i(u9r,"memoizeCapped");X(u9r,"memoizeCapped");Vni=u9r,Hni=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,qni=/\\(\\)?/g,Wni=Vni(function(t){var r=[];return t.charCodeAt(0)===46&&r.push(""),t.replace(Hni,function(a,o,l,h){r.push(l?h.replace(qni,"$1"):o||a)}),r}),Yni=Wni,Kni=1/0,iRr=_S?_S.prototype:void 0,aRr=iRr?iRr.toString:void 0;i(Rot,"baseToString");X(Rot,"baseToString");Xni=Rot;i(h9r,"toString2");X(h9r,"toString");Qni=h9r;i(f9r,"castPath");X(f9r,"castPath");d9r=f9r,Jni=1/0;i(p9r,"toKey");X(p9r,"toKey");m3e=p9r;i(g9r,"baseGet");X(g9r,"baseGet");m9r=g9r;i(y9r,"get");X(y9r,"get");Zni=y9r;i(b9r,"baseHasIn");X(b9r,"baseHasIn");eii=b9r;i(v9r,"hasPath");X(v9r,"hasPath");tii=v9r;i(w9r,"hasIn");X(w9r,"hasIn");rii=w9r,nii=1,iii=2;i(x9r,"baseMatchesProperty");X(x9r,"baseMatchesProperty");aii=x9r;i(T9r,"identity");X(T9r,"identity");Lot=T9r;i(k9r,"baseProperty");X(k9r,"baseProperty");sii=k9r;i(C9r,"basePropertyDeep");X(C9r,"basePropertyDeep");oii=C9r;i(E9r,"property");X(E9r,"property");lii=E9r;i(S9r,"baseIteratee");X(S9r,"baseIteratee");y3e=S9r;i(A9r,"createBaseFor");X(A9r,"createBaseFor");cii=A9r,uii=cii(),hii=uii;i(R9r,"baseForOwn");X(R9r,"baseForOwn");fii=R9r;i(L9r,"createBaseEach");X(L9r,"createBaseEach");dii=L9r,pii=dii(fii),b3e=pii;i(D9r,"baseMap");X(D9r,"baseMap");gii=D9r;i(_9r,"map");X(_9r,"map");IA=_9r;i(M9r,"baseFilter");X(M9r,"baseFilter");mii=M9r;i(I9r,"filter");X(I9r,"filter");yii=I9r;i(bP,"buildATNKey");X(bP,"buildATNKey");qD=1,bii=2,N9r=4,O9r=5,SP=7,vii=8,wii=9,xii=10,Tii=11,P9r=12,Dot=class{static{i(this,"AbstractTransition")}static{X(this,"AbstractTransition")}constructor(t){this.target=t}isEpsilon(){return!1}},v3e=class extends Dot{static{i(this,"AtomTransition")}static{X(this,"AtomTransition")}constructor(t,r){super(t),this.tokenType=r}},B9r=class extends Dot{static{i(this,"EpsilonTransition")}static{X(this,"EpsilonTransition")}constructor(t){super(t)}isEpsilon(){return!0}},w3e=class extends Dot{static{i(this,"RuleTransition")}static{X(this,"RuleTransition")}constructor(t,r,a){super(t),this.rule=r,this.followState=a}isEpsilon(){return!0}};i(F9r,"createATN");X(F9r,"createATN");i($9r,"createRuleStartAndStopATNStates");X($9r,"createRuleStartAndStopATNStates");i(_ot,"atom");X(_ot,"atom");i(G9r,"repetition");X(G9r,"repetition");i(j9r,"repetitionSep");X(j9r,"repetitionSep");i(z9r,"repetitionMandatory");X(z9r,"repetitionMandatory");i(U9r,"repetitionMandatorySep");X(U9r,"repetitionMandatorySep");i(V9r,"alternation");X(V9r,"alternation");i(H9r,"option");X(H9r,"option");i(YD,"block");X(YD,"block");i(Mot,"plus");X(Mot,"plus");i(Iot,"star");X(Iot,"star");i(q9r,"optional");X(q9r,"optional");i($A,"defineDecisionState");X($A,"defineDecisionState");i(AP,"makeAlts");X(AP,"makeAlts");i(W9r,"getProdType2");X(W9r,"getProdType");i(Y9r,"makeBlock");X(Y9r,"makeBlock");i(x3e,"tokenRef");X(x3e,"tokenRef");i(K9r,"ruleRef");X(K9r,"ruleRef");i(X9r,"buildRuleHandle");X(X9r,"buildRuleHandle");i(tg,"epsilon");X(tg,"epsilon");i(C0,"newState");X(C0,"newState");i(T3e,"addTransition");X(T3e,"addTransition");i(Q9r,"removeState");X(Q9r,"removeState");jke={},Sat=class{static{i(this,"ATNConfigSet")}static{X(this,"ATNConfigSet")}constructor(){this.map={},this.configs=[]}get size(){return this.configs.length}finalize(){this.map={}}add(t){let r=Not(t);r in this.map||(this.map[r]=this.configs.length,this.configs.push(t))}get elements(){return this.configs}get alts(){return IA(this.configs,t=>t.alt)}get key(){let t="";for(let r in this.map)t+=r+":";return t}};i(Not,"getATNConfigKey");X(Not,"getATNConfigKey");i(J9r,"baseExtremum");X(J9r,"baseExtremum");kii=J9r;i(Z9r,"baseLt");X(Z9r,"baseLt");Cii=Z9r;i(eIr,"min");X(eIr,"min");Eii=eIr,sRr=_S?_S.isConcatSpreadable:void 0;i(tIr,"isFlattenable");X(tIr,"isFlattenable");Sii=tIr;i(Oot,"baseFlatten");X(Oot,"baseFlatten");rIr=Oot;i(nIr,"flatMap");X(nIr,"flatMap");Aii=nIr;i(iIr,"baseFindIndex");X(iIr,"baseFindIndex");Rii=iIr;i(aIr,"baseIsNaN");X(aIr,"baseIsNaN");Lii=aIr;i(sIr,"strictIndexOf");X(sIr,"strictIndexOf");Dii=sIr;i(oIr,"baseIndexOf");X(oIr,"baseIndexOf");_ii=oIr;i(lIr,"arrayIncludes");X(lIr,"arrayIncludes");Mii=lIr;i(cIr,"arrayIncludesWith");X(cIr,"arrayIncludesWith");Iii=cIr;i(uIr,"noop");X(uIr,"noop");Nii=uIr,Oii=1/0,Pii=wV&&1/Tot(new wV([,-0]))[1]==Oii?function(t){return new wV(t)}:Nii,Bii=Pii,Fii=200;i(hIr,"baseUniq");X(hIr,"baseUniq");$ii=hIr;i(fIr,"uniqBy");X(fIr,"uniqBy");Gii=fIr;i(dIr,"flatten");X(dIr,"flatten");jii=dIr;i(pIr,"arrayEach");X(pIr,"arrayEach");zii=pIr;i(gIr,"castFunction");X(gIr,"castFunction");Uii=gIr;i(mIr,"forEach");X(mIr,"forEach");Mnt=mIr,Vii="[object Map]",Hii="[object Set]",qii=Object.prototype,Wii=qii.hasOwnProperty;i(yIr,"isEmpty");X(yIr,"isEmpty");Yii=yIr;i(bIr,"arrayReduce");X(bIr,"arrayReduce");Kii=bIr;i(vIr,"baseReduce");X(vIr,"baseReduce");Xii=vIr;i(wIr,"reduce");X(wIr,"reduce");oRr=wIr;i(xIr,"createDFACache");X(xIr,"createDFACache");TIr=class{static{i(this,"PredicateSet")}static{X(this,"PredicateSet")}constructor(){this.predicates=[]}is(t){return t>=this.predicates.length||this.predicates[t]}set(t,r){this.predicates[t]=r}toString(){let t="",r=this.predicates.length;for(let a=0;aconsole.log(o)),this.incomplete=(a=t?.incomplete)!==null&&a!==void 0?a:!1}initialize(t){this.atn=F9r(t.rules),this.dfas=EIr(this.atn),this.callers=kIr(this.atn)}validateAmbiguousAlternationAlternatives(){return[]}validateEmptyOrAlternatives(){return[]}buildLookaheadForAlternation(t){let{prodOccurrence:r,rule:a,hasPredicates:o,dynamicTokensEnabled:l}=t,h=this.dfas,f=this.logging,p=this.incomplete,m=bP(a,"Alternation",r),v=this.atn.decisionMap[m].decision,T=IA(fat({maxLookahead:1,occurrence:r,prodType:"Alternation",rule:a}),C=>IA(C,E=>E[0]));if(Aat(T,!1)&&!l){let C=oRr(T,(E,S,R)=>(Mnt(S,L=>{L&&(E[L.tokenTypeIdx]=R,Mnt(L.categoryMatches,_=>{E[_]=R}))}),E),{});return o?function(E){var S;let R=this.LA_FAST(1),L=C[R.tokenTypeIdx];if(E!==void 0&&L!==void 0){let _=(S=E[L])===null||S===void 0?void 0:S.GATE;if(_!==void 0&&_.call(this)===!1)return}return L}:function(){let E=this.LA_FAST(1);return C[E.tokenTypeIdx]}}else return o?function(C){let E=new TIr,S=C===void 0?0:C.length;for(let L=0;LIA(E,S=>S[0]));if(Aat(C)&&C[0][0]&&!l&&!CIr(v,o,m)){let E=C[0],S=jii(E);if(S.length===1&&Yii(S[0].categoryMatches)){let L=S[0].tokenTypeIdx;return function(){return this.LA_FAST(1).tokenTypeIdx===L}}else{let R=oRr(S,(L,_)=>(_!==void 0&&(L[_.tokenTypeIdx]=!0,Mnt(_.categoryMatches,M=>{L[M]=!0})),L),{});return function(){let L=this.LA_FAST(1);return R[L.tokenTypeIdx]===!0}}}return function(){let E=dke.call(this,h,T,lRr,f,p);return typeof E=="object"?!1:E===0}}};i(Aat,"isLL1Sequence");X(Aat,"isLL1Sequence");i(kIr,"buildCallers");X(kIr,"buildCallers");i(Rat,"firstSet");X(Rat,"firstSet");i(CIr,"optionalHasFollowConflict");X(CIr,"optionalHasFollowConflict");i(EIr,"initATNSimulator");X(EIr,"initATNSimulator");i(dke,"adaptivePredict");X(dke,"adaptivePredict");i(SIr,"performLookahead");X(SIr,"performLookahead");i(AIr,"computeLookaheadTarget");X(AIr,"computeLookaheadTarget");i(RIr,"reportLookaheadAmbiguity");X(RIr,"reportLookaheadAmbiguity");i(LIr,"buildAmbiguityError");X(LIr,"buildAmbiguityError");i(DIr,"getProductionDslName2");X(DIr,"getProductionDslName");i(_Ir,"buildAdaptivePredictError");X(_Ir,"buildAdaptivePredictError");i(MIr,"getExistingTargetState");X(MIr,"getExistingTargetState");i(IIr,"computeReachSet");X(IIr,"computeReachSet");i(NIr,"getReachableTarget");X(NIr,"getReachableTarget");i(OIr,"getUniqueAlt");X(OIr,"getUniqueAlt");i(Pot,"newDFAState");X(Pot,"newDFAState");i(Lat,"addDFAEdge");X(Lat,"addDFAEdge");i(Bot,"addDFAState");X(Bot,"addDFAState");i(PIr,"computeStartState");X(PIr,"computeStartState");i(Pie,"closure");X(Pie,"closure");i(BIr,"getEpsilonTarget");X(BIr,"getEpsilonTarget");i(FIr,"hasConfigInRuleStopState");X(FIr,"hasConfigInRuleStopState");i($Ir,"allConfigsInRuleStopStates");X($Ir,"allConfigsInRuleStopStates");i(GIr,"hasConflictTerminatingPrediction");X(GIr,"hasConflictTerminatingPrediction");i(jIr,"getConflictingAltSets");X(jIr,"getConflictingAltSets");i(zIr,"hasConflictingAltSet");X(zIr,"hasConflictingAltSet");i(UIr,"hasStateAssociatedWithOneAlt");X(UIr,"hasStateAssociatedWithOneAlt");i(VIr,"getBestGuess");X(VIr,"getBestGuess");HIr=class{static{i(this,"CstNodeBuilder")}static{X(this,"CstNodeBuilder")}constructor(){this.nodeStack=[]}get current(){return this.nodeStack[this.nodeStack.length-1]??this.rootNode}buildRootNode(t){return this.rootNode=new YIr(t),this.nodeStack=[this.rootNode],this.rootNode}buildCompositeNode(t){let r=new Fot;return r.grammarSource=t,this.appendChild(this.current,r),this.nodeStack.push(r),r}buildLeafNode(t,r){let a=this.createLeafNode(t,!r);return r&&(a.grammarSource=r),this.appendChild(this.current,a),a}createLeafNode(t,r){return new WIr(t.startOffset,t.image.length,t.startLine-1,t.startColumn-1,t.endLine-1,t.endColumn,t.tokenType,r)}appendChild(t,r){r.container=t,t.content.push(r)}appendChildren(t,r){for(let a of r)a.container=t;t.content.length===0?t.content=r.slice():t.content.push(...r)}insertChildren(t,r,a){for(let o of a)o.container=t;t.content.splice(r,0,...a)}removeNode(t){let r=t.container;if(r){let a=r.content.indexOf(t);a>=0&&r.content.splice(a,1)}}addHiddenNodes(t){let r=[];for(let l of t)r.push(this.createLeafNode(l,!0));let a=this.current,o=!1;if(a.content.length>0){this.appendChildren(a,r);return}for(;a.container;){let l=a.container.content.indexOf(a);if(l>0){this.insertChildren(a.container,l,r),o=!0;break}a=a.container}o||this.insertChildren(this.rootNode,0,r)}construct(t){let r=this.current;t.$cstNode=r;let a=this.nodeStack.pop();a&&(a.content.length===0?this.removeNode(a):a.content=a.content.slice())}},qIr=class{static{i(this,"AbstractCstNode")}static{X(this,"AbstractCstNode")}constructor(){this.container=void 0,this.grammarSource=void 0}get root(){let t=this;for(;t.container;)t=t.container;return t}get text(){return this.root.fullText.substring(this.offset,this.end)}},WIr=class extends qIr{static{i(this,"LeafCstNodeImpl")}static{X(this,"LeafCstNodeImpl")}get offset(){return this._offset}get length(){return this._length}get end(){return this._offset+this._length}get hidden(){return this._hidden}get tokenType(){return this._tokenType}get astNode(){let t=this.container;if(!t)throw new Error("This node has no associated AST element");return t.astNode}get range(){return{start:{line:this._startLine,character:this._startColumn},end:{line:this._endLine,character:this._endColumn}}}constructor(t,r,a,o,l,h,f,p=!1){super(),this._hidden=p,this._offset=tP(t),this._length=tP(r),this._startLine=tP(a),this._startColumn=tP(o),this._endLine=tP(l),this._endColumn=tP(h),this._tokenType=f}};i(tP,"toSmi");X(tP,"toSmi");Fot=class extends qIr{static{i(this,"CompositeCstNodeImpl")}static{X(this,"CompositeCstNodeImpl")}constructor(){super(...arguments),this.content=[],this._astNode=void 0,this._rangeCache=void 0}get astNode(){let t=this;for(;t;){if(t._astNode)return t._astNode;t=t.container}throw new Error("This node has no associated AST element")}set astNode(t){this._astNode=t}get hidden(){return!1}get offset(){return this.firstNonHiddenNode?.offset??0}get length(){return this.end-this.offset}get end(){return this.lastNonHiddenNode?.end??0}get range(){let t=this._rangeCache;if(t===void 0){let r=this.firstNonHiddenNode,a=this.lastNonHiddenNode;if(r&&a){let{range:o}=r,{range:l}=a;this._rangeCache=t={start:o.start,end:l.end.line=0;t--){let r=this.content[t];if(!r.hidden)return r}return this.content[this.content.length-1]}},YIr=class extends Fot{static{i(this,"RootCstNodeImpl")}static{X(this,"RootCstNodeImpl")}get text(){return this._text.substring(this.offset,this.end)}get fullText(){return this._text}constructor(t){super(),this._text="",this._text=t??""}},Dat=Symbol("Datatype");i(pke,"isDataTypeNode");X(pke,"isDataTypeNode");cRr="\u200B",KIr=X(t=>t.endsWith(cRr)?t:t+cRr,"withRuleSuffix"),XIr=class{static{i(this,"AbstractLangiumParser")}static{X(this,"AbstractLangiumParser")}constructor(t,r){this._unorderedGroups=new Map,this.allRules=new Map,this.lexer=t.parser.Lexer;let a=this.lexer.definition,o=t.LanguageMetaData.mode==="production";t.shared.profilers.LangiumProfiler?.isActive("parsing")?this.wrapper=new rai(a,{...t.parser.ParserConfig,skipValidations:o,errorMessageProvider:t.parser.ParserErrorMessageProvider},r,t.shared.profilers.LangiumProfiler.createTask("parsing",t.LanguageMetaData.languageId)):this.wrapper=new JIr(a,{...t.parser.ParserConfig,skipValidations:o,errorMessageProvider:t.parser.ParserErrorMessageProvider},r)}alternatives(t,r){this.wrapper.wrapOr(t,r)}optional(t,r){this.wrapper.wrapOption(t,r)}many(t,r){this.wrapper.wrapMany(t,r)}atLeastOne(t,r){this.wrapper.wrapAtLeastOne(t,r)}getRule(t){return this.allRules.get(t)}isRecording(){return this.wrapper.IS_RECORDING}get unorderedGroups(){return this._unorderedGroups}getRuleStack(){return this.wrapper.RULE_STACK}finalize(){this.wrapper.wrapSelfAnalysis()}},Jii=class extends XIr{static{i(this,"LangiumParser")}static{X(this,"LangiumParser")}get current(){return this.stack[this.stack.length-1]}constructor(t){super(t,!1),this.nodeBuilder=new HIr,this.stack=[],this.assignmentMap=new Map,this.operatorPrecedence=new Map,this.linker=t.references.Linker,this.converter=t.parser.ValueConverter,this.astReflection=t.shared.AstReflection}rule(t,r){let a=this.computeRuleType(t),o;Aie(t)&&(o=t.name,this.registerPrecedenceMap(t));let l=this.wrapper.DEFINE_RULE(KIr(t.name),this.startImplementation(a,o,r).bind(this));return this.allRules.set(t.name,l),MS(t)&&t.entry&&(this.mainRule=l),l}registerPrecedenceMap(t){let r=t.name,a=new Map;for(let o=0;o0&&(r=this.construct()),r===void 0)throw new Error("No result from parser");if(this.stack.length>0)throw new Error("Parser stack is not empty after parsing");return this.linkCstNode(r),r}linkCstNode(t){Am(t)&&t.$cstNode&&(t.$cstNode.astNode=t)}startImplementation(t,r,a){return o=>{let l=!this.isRecording()&&t!==void 0;if(l){let h={$type:t};this.stack.push(h),t===Dat?h.value="":r!==void 0&&(h.$infixName=r)}return a(o),l?this.construct():void 0}}extractHiddenTokens(t){let r=this.lexerResult.hidden;if(!r.length)return[];let a=t.startOffset;for(let o=0;oa)return r.splice(0,o);return r.splice(0,r.length)}consume(t,r,a){let o=this.wrapper.wrapConsume(t,r);if(!this.isRecording()&&this.isValidToken(o)){let l=this.extractHiddenTokens(o);this.nodeBuilder.addHiddenNodes(l);let h=this.nodeBuilder.buildLeafNode(o,a),{assignment:f,crossRef:p}=this.getAssignment(a),m=this.current;if(f){let b=VD(a)?o.image:this.converter.convert(o.image,h);this.assign(f.operator,f.feature,b,h,p)}else if(pke(m)){let b=o.image;VD(a)||(b=this.converter.convert(b,h).toString()),m.value+=b}}}isValidToken(t){return!t.isInsertedInRecovery&&Dke(t)}subrule(t,r,a,o,l){let h;!this.isRecording()&&!a&&(h=this.nodeBuilder.buildCompositeNode(o));let f;try{f=this.wrapper.wrapSubrule(t,r,l)}finally{this.isRecording()||(f===void 0&&!a&&(f=this.construct()),f!==void 0&&h&&h.length>0&&this.performSubruleAssignment(f,o,h))}}performSubruleAssignment(t,r,a){let{assignment:o,crossRef:l}=this.getAssignment(r);if(o)this.assign(o.operator,o.feature,t,a,l);else if(!o){let h=this.current;if(pke(h))h.value+=t.toString();else if(typeof t=="object"&&t){let p=this.assignWithoutOverride(t,h);this.stack.pop(),this.stack.push(p)}}}action(t,r){if(!this.isRecording()){let a=this.current;if(r.feature&&r.operator){a=this.construct(),this.nodeBuilder.removeNode(a.$cstNode);let o=this.nodeBuilder.buildCompositeNode(r);this.nodeBuilder.appendChild(o,a.$cstNode);let l={$type:t};this.stack.push(l),this.assign(r.operator,r.feature,a,a.$cstNode)}else a.$type=t}}construct(){if(this.isRecording())return;let t=this.stack.pop();return this.nodeBuilder.construct(t),"$infixName"in t?this.constructInfix(t,this.operatorPrecedence.get(t.$infixName)):pke(t)?this.converter.convert(t.value,t.$cstNode):(KRr(this.astReflection,t),t)}constructInfix(t,r){let a=t.parts;if(!Array.isArray(a)||a.length===0)return;let o=t.operators;if(!Array.isArray(o)||a.length<2)return a[0];let l=0,h=-1;for(let S=0;Sh?(h=L.precedence,l=S):L.precedence===h&&(L.rightAssoc||(l=S))}let f=o.slice(0,l),p=o.slice(l+1),m=a.slice(0,l+1),b=a.slice(l+1),v={$infixName:t.$infixName,$type:t.$type,$cstNode:t.$cstNode,parts:m,operators:f},T={$infixName:t.$infixName,$type:t.$type,$cstNode:t.$cstNode,parts:b,operators:p},C=this.constructInfix(v,r),E=this.constructInfix(T,r);return{$type:t.$type,$cstNode:t.$cstNode,left:C,operator:o[l],right:E}}getAssignment(t){if(!this.assignmentMap.has(t)){let r=Uie(t,UD);this.assignmentMap.set(t,{assignment:r,crossRef:r&&Hie(r.terminal)?r.terminal.isMulti?"multi":"single":void 0})}return this.assignmentMap.get(t)}assign(t,r,a,o,l){let h=this.current,f;switch(l==="single"&&typeof a=="string"?f=this.linker.buildReference(h,r,o,a):l==="multi"&&typeof a=="string"?f=this.linker.buildMultiReference(h,r,o,a):f=a,this.linkCstNode(f),t){case"=":{h[r]=f;break}case"?=":{h[r]=!0;break}case"+=":Array.isArray(h[r])||(h[r]=[]),h[r].push(f)}}assignWithoutOverride(t,r){for(let[a,o]of Object.entries(r)){let l=t[a];l===void 0?t[a]=o:Array.isArray(l)&&Array.isArray(o)&&(o.push(...l),t[a]=o)}return t.$cstNode=void 0,t}get definitionErrors(){return this.wrapper.definitionErrors}},Zii=class{static{i(this,"AbstractParserErrorMessageProvider")}static{X(this,"AbstractParserErrorMessageProvider")}buildMismatchTokenMessage(t){return gV.buildMismatchTokenMessage(t)}buildNotAllInputParsedMessage(t){return gV.buildNotAllInputParsedMessage(t)}buildNoViableAltMessage(t){return gV.buildNoViableAltMessage(t)}buildEarlyExitMessage(t){return gV.buildEarlyExitMessage(t)}},QIr=class extends Zii{static{i(this,"LangiumParserErrorMessageProvider")}static{X(this,"LangiumParserErrorMessageProvider")}buildMismatchTokenMessage({expected:t,actual:r}){return`Expecting ${t.LABEL?"`"+t.LABEL+"`":t.name.endsWith(":KW")?`keyword '${t.name.substring(0,t.name.length-3)}'`:`token of type '${t.name}'`} but found \`${r.image}\`.`}buildNotAllInputParsedMessage({firstRedundant:t}){return`Expecting end of file but found \`${t.image}\`.`}},eai=class extends XIr{static{i(this,"LangiumCompletionParser")}static{X(this,"LangiumCompletionParser")}constructor(t){super(t,!0),this.tokens=[],this.elementStack=[],this.lastElementStack=[],this.nextTokenIndex=0,this.stackSize=0}action(){}construct(){}parse(t){this.resetState();let r=this.lexer.tokenize(t,{mode:"partial"});return this.tokens=r.tokens,this.wrapper.input=[...this.tokens],this.mainRule.call(this.wrapper,{}),this.unorderedGroups.clear(),{tokens:this.tokens,elementStack:[...this.lastElementStack],tokenIndex:this.nextTokenIndex}}rule(t,r){let a=this.wrapper.DEFINE_RULE(KIr(t.name),this.startImplementation(r).bind(this));return this.allRules.set(t.name,a),t.entry&&(this.mainRule=a),a}resetState(){this.elementStack=[],this.lastElementStack=[],this.nextTokenIndex=0,this.stackSize=0}startImplementation(t){return r=>{let a=this.keepStackSize();try{t(r)}finally{this.resetStackSize(a)}}}removeUnexpectedElements(){this.elementStack.splice(this.stackSize)}keepStackSize(){let t=this.elementStack.length;return this.stackSize=t,t}resetStackSize(t){this.removeUnexpectedElements(),this.stackSize=t}consume(t,r,a){this.wrapper.wrapConsume(t,r),this.isRecording()||(this.lastElementStack=[...this.elementStack,a],this.nextTokenIndex=this.currIdx+1)}subrule(t,r,a,o,l){this.before(o),this.wrapper.wrapSubrule(t,r,l),this.after(o)}before(t){this.isRecording()||this.elementStack.push(t)}after(t){if(!this.isRecording()){let r=this.elementStack.lastIndexOf(t);r>=0&&this.elementStack.splice(r)}}get currIdx(){return this.wrapper.currIdx}},tai={recoveryEnabled:!0,nodeLocationTracking:"full",skipValidations:!0,errorMessageProvider:new QIr},JIr=class extends Bei{static{i(this,"ChevrotainWrapper")}static{X(this,"ChevrotainWrapper")}constructor(t,r,a){let o=r&&"maxLookahead"in r;super(t,{...tai,lookaheadStrategy:o?new bot({maxLookahead:r.maxLookahead}):new Qii({logging:r.skipValidations?()=>{}:void 0,incomplete:a}),...r})}get IS_RECORDING(){return this.RECORDING_PHASE}DEFINE_RULE(t,r,a){return this.RULE(t,r,a)}wrapSelfAnalysis(){this.performSelfAnalysis()}wrapConsume(t,r){return this.consume(t,r,void 0)}wrapSubrule(t,r,a){return this.subrule(t,r,{ARGS:[a]})}wrapOr(t,r){this.or(t,r)}wrapOption(t,r){this.option(t,r)}wrapMany(t,r){this.many(t,r)}wrapAtLeastOne(t,r){this.atLeastOne(t,r)}rule(t){return t.call(this,{})}},rai=class extends JIr{static{i(this,"ProfilerWrapper")}static{X(this,"ProfilerWrapper")}constructor(t,r,a,o){super(t,r,a),this.task=o}rule(t){this.task.start(),this.task.startSubTask(this.ruleName(t));try{return super.rule(t)}finally{this.task.stopSubTask(this.ruleName(t)),this.task.stop()}}ruleName(t){return t.ruleName}subrule(t,r,a){this.task.startSubTask(this.ruleName(r));try{return super.subrule(t,r,a)}finally{this.task.stopSubTask(this.ruleName(r))}}};i($ot,"createParser");X($ot,"createParser");i(ZIr,"buildRules");X(ZIr,"buildRules");i(eNr,"buildInfixRule");X(eNr,"buildInfixRule");i(WD,"buildElement");X(WD,"buildElement");i(tNr,"buildAction");X(tNr,"buildAction");i(rNr,"buildRuleCall");X(rNr,"buildRuleCall");i(nNr,"buildRuleCallPredicate");X(nNr,"buildRuleCallPredicate");i(I4,"buildPredicate");X(I4,"buildPredicate");i(iNr,"buildAlternatives");X(iNr,"buildAlternatives");i(aNr,"buildUnorderedGroup");X(aNr,"buildUnorderedGroup");i(sNr,"buildGroup");X(sNr,"buildGroup");i(Bie,"getGuardCondition");X(Bie,"getGuardCondition");i(Got,"buildCrossReference");X(Got,"buildCrossReference");i(oNr,"buildKeyword");X(oNr,"buildKeyword");i(jot,"wrap");X(jot,"wrap");i(k3e,"getRule");X(k3e,"getRule");i(lNr,"getRuleName");X(lNr,"getRuleName");i(zke,"getToken");X(zke,"getToken");i(cNr,"createCompletionParser");X(cNr,"createCompletionParser");i(uNr,"createLangiumParser");X(uNr,"createLangiumParser");i(hNr,"prepareLangiumParser");X(hNr,"prepareLangiumParser");fNr=class{static{i(this,"DefaultTokenBuilder")}static{X(this,"DefaultTokenBuilder")}constructor(){this.diagnostics=[]}buildTokens(t,r){let a=Xf(Yst(t,!1)),o=this.buildTerminalTokens(a),l=this.buildKeywordTokens(a,o,r);return l.push(...o),l}flushLexingReport(t){return{diagnostics:this.popDiagnostics()}}popDiagnostics(){let t=[...this.diagnostics];return this.diagnostics=[],t}buildTerminalTokens(t){return t.filter(IS).filter(r=>!r.fragment).map(r=>this.buildTerminalToken(r)).toArray()}buildTerminalToken(t){let r=Zke(t),a=this.requiresCustomPattern(r)?this.regexPatternFunction(r):r,o={name:t.name,PATTERN:a};return typeof a=="function"&&(o.LINE_BREAKS=!0),t.hidden&&(o.GROUP=Wst(r)?h2.SKIPPED:"hidden"),o}requiresCustomPattern(t){return!!(t.flags.includes("u")||t.flags.includes("s"))}regexPatternFunction(t){let r=new RegExp(t,t.flags+"y");return(a,o)=>(r.lastIndex=o,r.exec(a))}buildKeywordTokens(t,r,a){return t.filter(AV).flatMap(o=>SV(o).filter(VD)).distinct(o=>o.value).toArray().sort((o,l)=>l.value.length-o.value.length).map(o=>this.buildKeywordToken(o,r,!!a?.caseInsensitive))}buildKeywordToken(t,r,a){let o=this.buildKeywordPattern(t,a),l={name:t.value,PATTERN:o,LONGER_ALT:this.findLongerAlt(t,r)};return typeof o=="function"&&(l.LINE_BREAKS=!0),l}buildKeywordPattern(t,r){return r?new RegExp(qie(t.value),"i"):t.value}findLongerAlt(t,r){return r.reduce((a,o)=>{let l=o?.PATTERN;return l?.source&&CLr("^"+l.source+"$",t.value)&&a.push(o),a},[])}},dNr=class{static{i(this,"DefaultValueConverter")}static{X(this,"DefaultValueConverter")}convert(t,r){let a=r.grammarSource;if(Hie(a)&&(a=RLr(a)),HD(a)){let o=a.rule.ref;if(!o)throw new Error("This cst node was not parsed by a rule.");return this.runConverter(o,t,r)}return t}runConverter(t,r,a){switch(t.name.toUpperCase()){case"INT":return _A.convertInt(r);case"STRING":return _A.convertString(r);case"ID":return _A.convertID(r)}switch(OLr(t)?.toLowerCase()){case"number":return _A.convertNumber(r);case"boolean":return _A.convertBoolean(r);case"bigint":return _A.convertBigint(r);case"date":return _A.convertDate(r);default:return r}}};(function(t){function r(b){let v="";for(let T=1;T{this.resolve=a=>(t(a),this),this.reject=a=>(r(a),this)})}},uRr=class _at{static{i(this,"_FullTextDocument")}static{X(this,"FullTextDocument")}constructor(r,a,o,l){this._uri=r,this._languageId=a,this._version=o,this._content=l,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(r){if(r){let a=this.offsetAt(r.start),o=this.offsetAt(r.end);return this._content.substring(a,o)}return this._content}update(r,a){for(let o of r)if(_at.isIncremental(o)){let l=Vot(o.range),h=this.offsetAt(l.start),f=this.offsetAt(l.end);this._content=this._content.substring(0,h)+o.text+this._content.substring(f,this._content.length);let p=Math.max(l.start.line,0),m=Math.max(l.end.line,0),b=this._lineOffsets,v=Iat(o.text,!1,h);if(m-p===v.length)for(let C=0,E=v.length;Cr?l=f:o=f+1}let h=o-1;return r=this.ensureBeforeEOL(r,a[h]),{line:h,character:r-a[h]}}offsetAt(r){let a=this.getLineOffsets();if(r.line>=a.length)return this._content.length;if(r.line<0)return 0;let o=a[r.line];if(r.character<=0)return o;let l=r.line+1=a.length){let f=a.length-1;return{start:{line:f,character:0},end:{line:f,character:this._content.length-a[f]}}}else if(r<0)return{start:{line:0,character:0},end:{line:0,character:0}};let o=a[r],l=r+1=a.length)return"";if(r<0)return"";let o=r+1a&&Uot(this._content.charCodeAt(r-1));)r--;return r}get lineCount(){return this.getLineOffsets().length}static isIncremental(r){let a=r;return a!=null&&typeof a.text=="string"&&a.range!==void 0&&(a.rangeLength===void 0||typeof a.rangeLength=="number")}static isFull(r){let a=r;return a!=null&&typeof a.text=="string"&&a.range===void 0&&a.rangeLength===void 0}};(function(t){function r(l,h,f,p){return new uRr(l,h,f,p)}i(r,"create"),X(r,"create"),t.create=r;function a(l,h,f){if(l instanceof uRr)return l.update(h,f),l;throw new Error("TextDocument.update: document must be created by TextDocument.create")}i(a,"update"),X(a,"update"),t.update=a;function o(l,h){let f=l.getText(),p=Uke(h.map(mNr),(v,T)=>{let C=v.range.start.line-T.range.start.line;return C===0?v.range.start.character-T.range.start.character:C}),m=0,b=[];for(let v of p){let T=l.offsetAt(v.range.start);if(Tm&&b.push(f.substring(m,T)),v.newText.length&&b.push(v.newText),m=l.offsetAt(v.range.end)}return b.push(f.substr(m)),b.join("")}i(o,"applyEdits"),X(o,"applyEdits"),t.applyEdits=o})(Mat||(Mat={}));i(Uke,"mergeSort");X(Uke,"mergeSort");i(Iat,"computeLineOffsets");X(Iat,"computeLineOffsets");i(Uot,"isEOL");X(Uot,"isEOL");i(Vot,"getWellformedRange");X(Vot,"getWellformedRange");i(mNr,"getWellformedEdit");X(mNr,"getWellformedEdit");(()=>{"use strict";var t={975:J=>{function H(Q){if(typeof Q!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(Q))}i(H,"e2"),X(H,"e");function q(Q,W){for(var te,z="",re=0,ae=-1,ce=0,le=0;le<=Q.length;++le){if(le2){var de=z.lastIndexOf("/");if(de!==z.length-1){de===-1?(z="",re=0):re=(z=z.slice(0,de)).length-1-z.lastIndexOf("/"),ae=le,ce=0;continue}}else if(z.length===2||z.length===1){z="",re=0,ae=le,ce=0;continue}}W&&(z.length>0?z+="/..":z="..",re=2)}else z.length>0?z+="/"+Q.slice(ae+1,le):z=Q.slice(ae+1,le),re=le-ae-1;ae=le,ce=0}else te===46&&ce!==-1?++ce:ce=-1}return z}i(q,"r2"),X(q,"r");var Z={resolve:X(function(){for(var Q,W="",te=!1,z=arguments.length-1;z>=-1&&!te;z--){var re;z>=0?re=arguments[z]:(Q===void 0&&(Q=process.cwd()),re=Q),H(re),re.length!==0&&(W=re+"/"+W,te=re.charCodeAt(0)===47)}return W=q(W,!te),te?W.length>0?"/"+W:"/":W.length>0?W:"."},"resolve"),normalize:X(function(Q){if(H(Q),Q.length===0)return".";var W=Q.charCodeAt(0)===47,te=Q.charCodeAt(Q.length-1)===47;return(Q=q(Q,!W)).length!==0||W||(Q="."),Q.length>0&&te&&(Q+="/"),W?"/"+Q:Q},"normalize"),isAbsolute:X(function(Q){return H(Q),Q.length>0&&Q.charCodeAt(0)===47},"isAbsolute"),join:X(function(){if(arguments.length===0)return".";for(var Q,W=0;W0&&(Q===void 0?Q=te:Q+="/"+te)}return Q===void 0?".":Z.normalize(Q)},"join"),relative:X(function(Q,W){if(H(Q),H(W),Q===W||(Q=Z.resolve(Q))===(W=Z.resolve(W)))return"";for(var te=1;tele){if(W.charCodeAt(ae+ve)===47)return W.slice(ae+ve+1);if(ve===0)return W.slice(ae+ve)}else re>le&&(Q.charCodeAt(te+ve)===47?de=ve:ve===0&&(de=0));break}var Se=Q.charCodeAt(te+ve);if(Se!==W.charCodeAt(ae+ve))break;Se===47&&(de=ve)}var _e="";for(ve=te+de+1;ve<=z;++ve)ve!==z&&Q.charCodeAt(ve)!==47||(_e.length===0?_e+="..":_e+="/..");return _e.length>0?_e+W.slice(ae+de):(ae+=de,W.charCodeAt(ae)===47&&++ae,W.slice(ae))},"relative"),_makeLong:X(function(Q){return Q},"_makeLong"),dirname:X(function(Q){if(H(Q),Q.length===0)return".";for(var W=Q.charCodeAt(0),te=W===47,z=-1,re=!0,ae=Q.length-1;ae>=1;--ae)if((W=Q.charCodeAt(ae))===47){if(!re){z=ae;break}}else re=!1;return z===-1?te?"/":".":te&&z===1?"//":Q.slice(0,z)},"dirname"),basename:X(function(Q,W){if(W!==void 0&&typeof W!="string")throw new TypeError('"ext" argument must be a string');H(Q);var te,z=0,re=-1,ae=!0;if(W!==void 0&&W.length>0&&W.length<=Q.length){if(W.length===Q.length&&W===Q)return"";var ce=W.length-1,le=-1;for(te=Q.length-1;te>=0;--te){var de=Q.charCodeAt(te);if(de===47){if(!ae){z=te+1;break}}else le===-1&&(ae=!1,le=te+1),ce>=0&&(de===W.charCodeAt(ce)?--ce==-1&&(re=te):(ce=-1,re=le))}return z===re?re=le:re===-1&&(re=Q.length),Q.slice(z,re)}for(te=Q.length-1;te>=0;--te)if(Q.charCodeAt(te)===47){if(!ae){z=te+1;break}}else re===-1&&(ae=!1,re=te+1);return re===-1?"":Q.slice(z,re)},"basename"),extname:X(function(Q){H(Q);for(var W=-1,te=0,z=-1,re=!0,ae=0,ce=Q.length-1;ce>=0;--ce){var le=Q.charCodeAt(ce);if(le!==47)z===-1&&(re=!1,z=ce+1),le===46?W===-1?W=ce:ae!==1&&(ae=1):W!==-1&&(ae=-1);else if(!re){te=ce+1;break}}return W===-1||z===-1||ae===0||ae===1&&W===z-1&&W===te+1?"":Q.slice(W,z)},"extname"),format:X(function(Q){if(Q===null||typeof Q!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof Q);return(function(W,te){var z=te.dir||te.root,re=te.base||(te.name||"")+(te.ext||"");return z?z===te.root?z+re:z+"/"+re:re})(0,Q)},"format"),parse:X(function(Q){H(Q);var W={root:"",dir:"",base:"",ext:"",name:""};if(Q.length===0)return W;var te,z=Q.charCodeAt(0),re=z===47;re?(W.root="/",te=1):te=0;for(var ae=-1,ce=0,le=-1,de=!0,ve=Q.length-1,Se=0;ve>=te;--ve)if((z=Q.charCodeAt(ve))!==47)le===-1&&(de=!1,le=ve+1),z===46?ae===-1?ae=ve:Se!==1&&(Se=1):ae!==-1&&(Se=-1);else if(!de){ce=ve+1;break}return ae===-1||le===-1||Se===0||Se===1&&ae===le-1&&ae===ce+1?le!==-1&&(W.base=W.name=ce===0&&re?Q.slice(1,le):Q.slice(ce,le)):(ce===0&&re?(W.name=Q.slice(1,ae),W.base=Q.slice(1,le)):(W.name=Q.slice(ce,ae),W.base=Q.slice(ce,le)),W.ext=Q.slice(ae,le)),ce>0?W.dir=Q.slice(0,ce-1):re&&(W.dir="/"),W},"parse"),sep:"/",delimiter:":",win32:null,posix:null};Z.posix=Z,J.exports=Z}},r={};function a(J){var H=r[J];if(H!==void 0)return H.exports;var q=r[J]={exports:{}};return t[J](q,q.exports,a),q.exports}i(a,"r"),X(a,"r"),a.d=(J,H)=>{for(var q in H)a.o(H,q)&&!a.o(J,q)&&Object.defineProperty(J,q,{enumerable:!0,get:H[q]})},a.o=(J,H)=>Object.prototype.hasOwnProperty.call(J,H),a.r=J=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(J,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(J,"__esModule",{value:!0})};var o={};let l;a.r(o),a.d(o,{URI:X(()=>C,"URI"),Utils:X(()=>K,"Utils")}),typeof process=="object"?l=process.platform==="win32":typeof navigator=="object"&&(l=navigator.userAgent.indexOf("Windows")>=0);let h=/^\w[\w\d+.-]*$/,f=/^\//,p=/^\/\//;function m(J,H){if(!J.scheme&&H)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${J.authority}", path: "${J.path}", query: "${J.query}", fragment: "${J.fragment}"}`);if(J.scheme&&!h.test(J.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(J.path){if(J.authority){if(!f.test(J.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(p.test(J.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}i(m,"a"),X(m,"a");let b="",v="/",T=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class C{static{i(this,"l")}static{X(this,"l")}static isUri(H){return H instanceof C||!!H&&typeof H.authority=="string"&&typeof H.fragment=="string"&&typeof H.path=="string"&&typeof H.query=="string"&&typeof H.scheme=="string"&&typeof H.fsPath=="string"&&typeof H.with=="function"&&typeof H.toString=="function"}scheme;authority;path;query;fragment;constructor(H,q,Z,Q,W,te=!1){typeof H=="object"?(this.scheme=H.scheme||b,this.authority=H.authority||b,this.path=H.path||b,this.query=H.query||b,this.fragment=H.fragment||b):(this.scheme=(function(z,re){return z||re?z:"file"})(H,te),this.authority=q||b,this.path=(function(z,re){switch(z){case"https":case"http":case"file":re?re[0]!==v&&(re=v+re):re=v}return re})(this.scheme,Z||b),this.query=Q||b,this.fragment=W||b,m(this,te))}get fsPath(){return M(this,!1)}with(H){if(!H)return this;let{scheme:q,authority:Z,path:Q,query:W,fragment:te}=H;return q===void 0?q=this.scheme:q===null&&(q=b),Z===void 0?Z=this.authority:Z===null&&(Z=b),Q===void 0?Q=this.path:Q===null&&(Q=b),W===void 0?W=this.query:W===null&&(W=b),te===void 0?te=this.fragment:te===null&&(te=b),q===this.scheme&&Z===this.authority&&Q===this.path&&W===this.query&&te===this.fragment?this:new S(q,Z,Q,W,te)}static parse(H,q=!1){let Z=T.exec(H);return Z?new S(Z[2]||b,P(Z[4]||b),P(Z[5]||b),P(Z[7]||b),P(Z[9]||b),q):new S(b,b,b,b,b)}static file(H){let q=b;if(l&&(H=H.replace(/\\/g,v)),H[0]===v&&H[1]===v){let Z=H.indexOf(v,2);Z===-1?(q=H.substring(2),H=v):(q=H.substring(2,Z),H=H.substring(Z)||v)}return new S("file",q,H,b,b)}static from(H){let q=new S(H.scheme,H.authority,H.path,H.query,H.fragment);return m(q,!0),q}toString(H=!1){return I(this,H)}toJSON(){return this}static revive(H){if(H){if(H instanceof C)return H;{let q=new S(H);return q._formatted=H.external,q._fsPath=H._sep===E?H.fsPath:null,q}}return H}}let E=l?1:void 0;class S extends C{static{i(this,"d")}static{X(this,"d")}_formatted=null;_fsPath=null;get fsPath(){return this._fsPath||(this._fsPath=M(this,!1)),this._fsPath}toString(H=!1){return H?I(this,!0):(this._formatted||(this._formatted=I(this,!1)),this._formatted)}toJSON(){let H={$mid:1};return this._fsPath&&(H.fsPath=this._fsPath,H._sep=E),this._formatted&&(H.external=this._formatted),this.path&&(H.path=this.path),this.scheme&&(H.scheme=this.scheme),this.authority&&(H.authority=this.authority),this.query&&(H.query=this.query),this.fragment&&(H.fragment=this.fragment),H}}let R={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function L(J,H,q){let Z,Q=-1;for(let W=0;W=97&&te<=122||te>=65&&te<=90||te>=48&&te<=57||te===45||te===46||te===95||te===126||H&&te===47||q&&te===91||q&&te===93||q&&te===58)Q!==-1&&(Z+=encodeURIComponent(J.substring(Q,W)),Q=-1),Z!==void 0&&(Z+=J.charAt(W));else{Z===void 0&&(Z=J.substr(0,W));let z=R[te];z!==void 0?(Q!==-1&&(Z+=encodeURIComponent(J.substring(Q,W)),Q=-1),Z+=z):Q===-1&&(Q=W)}}return Q!==-1&&(Z+=encodeURIComponent(J.substring(Q))),Z!==void 0?Z:J}i(L,"m"),X(L,"m");function _(J){let H;for(let q=0;q1&&J.scheme==="file"?`//${J.authority}${J.path}`:J.path.charCodeAt(0)===47&&(J.path.charCodeAt(1)>=65&&J.path.charCodeAt(1)<=90||J.path.charCodeAt(1)>=97&&J.path.charCodeAt(1)<=122)&&J.path.charCodeAt(2)===58?H?J.path.substr(1):J.path[1].toLowerCase()+J.path.substr(2):J.path,l&&(q=q.replace(/\//g,"\\")),q}i(M,"v"),X(M,"v");function I(J,H){let q=H?_:L,Z="",{scheme:Q,authority:W,path:te,query:z,fragment:re}=J;if(Q&&(Z+=Q,Z+=":"),(W||Q==="file")&&(Z+=v,Z+=v),W){let ae=W.indexOf("@");if(ae!==-1){let ce=W.substr(0,ae);W=W.substr(ae+1),ae=ce.lastIndexOf(":"),ae===-1?Z+=q(ce,!1,!1):(Z+=q(ce.substr(0,ae),!1,!1),Z+=":",Z+=q(ce.substr(ae+1),!1,!0)),Z+="@"}W=W.toLowerCase(),ae=W.lastIndexOf(":"),ae===-1?Z+=q(W,!1,!0):(Z+=q(W.substr(0,ae),!1,!0),Z+=W.substr(ae))}if(te){if(te.length>=3&&te.charCodeAt(0)===47&&te.charCodeAt(2)===58){let ae=te.charCodeAt(1);ae>=65&&ae<=90&&(te=`/${String.fromCharCode(ae+32)}:${te.substr(3)}`)}else if(te.length>=2&&te.charCodeAt(1)===58){let ae=te.charCodeAt(0);ae>=65&&ae<=90&&(te=`${String.fromCharCode(ae+32)}:${te.substr(2)}`)}Z+=q(te,!0,!1)}return z&&(Z+="?",Z+=q(z,!1,!1)),re&&(Z+="#",Z+=H?re:L(re,!1,!1)),Z}i(I,"b"),X(I,"b");function F(J){try{return decodeURIComponent(J)}catch{return J.length>3?J.substr(0,3)+F(J.substr(3)):J}}i(F,"C"),X(F,"C");let O=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function P(J){return J.match(O)?J.replace(O,(H=>F(H))):J}i(P,"w"),X(P,"w");var G=a(975);let V=G.posix||G,Y="/";var K;(function(J){J.joinPath=function(H,...q){return H.with({path:V.join(H.path,...q)})},J.resolvePath=function(H,...q){let Z=H.path,Q=!1;Z[0]!==Y&&(Z=Y+Z,Q=!0);let W=V.resolve(Z,...q);return Q&&W[0]===Y&&!H.authority&&(W=W.substring(1)),H.with({path:W})},J.dirname=function(H){if(H.path.length===0||H.path===Y)return H;let q=V.dirname(H.path);return q.length===1&&q.charCodeAt(0)===46&&(q=""),H.with({path:q})},J.basename=function(H){return V.basename(H.path)},J.extname=function(H){return V.extname(H.path)}})(K||(K={})),yNr=o})();({URI:Xw,Utils:Kne}=yNr);(function(t){t.basename=Kne.basename,t.dirname=Kne.dirname,t.extname=Kne.extname,t.joinPath=Kne.joinPath,t.resolvePath=Kne.resolvePath;let r=typeof process=="object"&&process?.platform==="win32";function a(f,p){return f?.toString()===p?.toString()}i(a,"equals"),X(a,"equals"),t.equals=a;function o(f,p){let m=typeof f=="string"?Xw.parse(f).path:f.path,b=typeof p=="string"?Xw.parse(p).path:p.path,v=m.split("/").filter(R=>R.length>0),T=b.split("/").filter(R=>R.length>0);if(r){let R=/^[A-Z]:$/;if(v[0]&&R.test(v[0])&&(v[0]=v[0].toLowerCase()),T[0]&&R.test(T[0])&&(T[0]=T[0].toLowerCase()),v[0]!==T[0])return b.substring(1)}let C=0;for(;C({name:o.name,uri:dk.joinPath(Xw.parse(r),o.name).toString(),element:o.element})):[]}all(){return this.collectValues(this.root)}findAll(t){let r=this.getNode(this.normalizeUri(t),!1);return r?this.collectValues(r):[]}getNode(t,r){let a=t.split("/");t.charAt(t.length-1)==="/"&&a.pop();let o=this.root;for(let l of a){let h=o.children.get(l);if(!h)if(r)h={name:l,children:new Map,parent:o},o.children.set(l,h);else return;o=h}return o}collectValues(t){let r=[];t.element&&r.push(t.element);for(let a of t.children.values())r.push(...this.collectValues(a));return r}};(function(t){t[t.Changed=0]="Changed",t[t.Parsed=1]="Parsed",t[t.IndexedContent=2]="IndexedContent",t[t.ComputedScopes=3]="ComputedScopes",t[t.Linked=4]="Linked",t[t.IndexedReferences=5]="IndexedReferences",t[t.Validated=6]="Validated"})(cc||(cc={}));aai=class{static{i(this,"DefaultLangiumDocumentFactory")}static{X(this,"DefaultLangiumDocumentFactory")}constructor(t){this.serviceRegistry=t.ServiceRegistry,this.textDocuments=t.workspace.TextDocuments,this.fileSystemProvider=t.workspace.FileSystemProvider}async fromUri(t,r=Bd.CancellationToken.None){let a=await this.getInitialText(t,r);return this.createAsync(t,a,r)}async getInitialText(t,r){return this.fileSystemProvider.readFile(t)}fromTextDocument(t,r,a){return r=r??Xw.parse(t.uri),Bd.CancellationToken.is(a)?this.createAsync(r,t,a):this.create(r,t,a)}fromString(t,r,a){return Bd.CancellationToken.is(a)?this.createAsync(r,t,a):this.create(r,t,a)}fromModel(t,r){return this.create(r,{$model:t})}create(t,r,a){if(typeof r=="string"){let o=this.parse(t,r,a);return this.createLangiumDocument(o,t,void 0,r)}else if("$model"in r){let o={value:r.$model,parserErrors:[],lexerErrors:[]};return this.createLangiumDocument(o,t)}else{let o=this.parse(t,r.getText(),a);return this.createLangiumDocument(o,t,r)}}async createAsync(t,r,a){if(typeof r=="string"){let o=await this.parseAsync(t,r,a);return this.createLangiumDocument(o,t,void 0,r)}else{let o=await this.parseAsync(t,r.getText(),a);return this.createLangiumDocument(o,t,r)}}createLangiumDocument(t,r,a,o){let l;if(a)l={parseResult:t,uri:r,state:cc.Parsed,references:[],textDocument:a};else{let h=this.createTextDocumentGetter(r,o);l={parseResult:t,uri:r,state:cc.Parsed,references:[],get textDocument(){return h()}}}return t.value.$document=l,l}async update(t,r){let a=t.parseResult.value.$cstNode?.root.fullText,o=this.textDocuments?.get(t.uri.toString()),l=await this.getUpdatedText(t,o,r);if(o)Object.defineProperty(t,"textDocument",{value:o});else{let h=this.createTextDocumentGetter(t.uri,l);Object.defineProperty(t,"textDocument",{get:h})}return a!==l&&(t.parseResult=await this.parseAsync(t.uri,l,r),t.parseResult.value.$document=t),t.state=cc.Parsed,t}async getUpdatedText(t,r,a){return r?r.getText():await this.fileSystemProvider.readFile(t.uri)}parse(t,r,a){return this.serviceRegistry.getServices(t).parser.LangiumParser.parse(r,a)}parseAsync(t,r,a){return this.serviceRegistry.getServices(t).parser.AsyncParser.parse(r,a)}createTextDocumentGetter(t,r){let a=this.serviceRegistry,o;return()=>o??(o=Mat.create(t.toString(),a.getServices(t).LanguageMetaData.languageId,0,r??""))}},sai=class{static{i(this,"DefaultLangiumDocuments")}static{X(this,"DefaultLangiumDocuments")}constructor(t){this.documentTrie=new iai,this.services=t,this.langiumDocumentFactory=t.workspace.LangiumDocumentFactory,this.documentBuilder=()=>t.workspace.DocumentBuilder}get all(){return Xf(this.documentTrie.all())}addDocument(t){let r=t.uri.toString();if(this.documentTrie.has(r))throw new Error(`A document with the URI '${r}' is already present.`);this.documentTrie.insert(r,t)}getDocument(t){let r=t.toString();return this.documentTrie.find(r)}getDocuments(t){let r=t.toString();return this.documentTrie.findAll(r)}async getOrCreateDocument(t,r){let a=this.getDocument(t);return a||(a=await this.langiumDocumentFactory.fromUri(t,r),this.addDocument(a),a)}createDocument(t,r,a){if(a)return this.langiumDocumentFactory.fromString(r,t,a).then(o=>(this.addDocument(o),o));{let o=this.langiumDocumentFactory.fromString(r,t);return this.addDocument(o),o}}hasDocument(t){return this.documentTrie.has(t.toString())}invalidateDocument(t){let r=t.toString(),a=this.documentTrie.find(r);return a&&this.documentBuilder().resetToState(a,cc.Changed),a}deleteDocument(t){let r=t.toString(),a=this.documentTrie.find(r);return a&&(a.state=cc.Changed,this.documentTrie.delete(r)),a}deleteDocuments(t){let r=t.toString(),a=this.documentTrie.findAll(r);for(let o of a)o.state=cc.Changed;return this.documentTrie.delete(r),a}},KU=Symbol("RefResolving"),oai=class{static{i(this,"DefaultReferenceImpl")}static{X(this,"DefaultReferenceImpl")}constructor(t,r,a,o,l){this.resolver=t,this.node=r,this.property=a,this._ref=void 0,this.$refNode=o,this.$refText=l}get ref(){return this.resolver.resolveReference(this,this.node,this.property)}get $nodeDescription(){return this._nodeDescription}get error(){return pV(this._ref)?this._ref:void 0}},lai=class{static{i(this,"DefaultMultiReferenceImpl")}static{X(this,"DefaultMultiReferenceImpl")}constructor(t,r,a,o,l){this.resolver=t,this.node=r,this.property=a,this._items=void 0,this.$refNode=o,this.$refText=l}get items(){return this.resolver.resolveMultiReference(this,this.node,this.property)}get error(){return this._linkingError}},cai=class{static{i(this,"DefaultLinker")}static{X(this,"DefaultLinker")}constructor(t){this.reflection=t.shared.AstReflection,this.langiumDocuments=()=>t.shared.workspace.LangiumDocuments,this.scopeProvider=t.references.ScopeProvider,this.astNodeLocator=t.workspace.AstNodeLocator,this.profiler=t.shared.profilers.LangiumProfiler,this.languageId=t.LanguageMetaData.languageId,this.referenceResolver={resolveReference:this.resolveReference.bind(this),resolveMultiReference:this.resolveMultiReference.bind(this)}}async link(t,r=Bd.CancellationToken.None){if(this.profiler?.isActive("linking")){let a=this.profiler.createTask("linking",this.languageId);a.start();try{for(let o of LS(t.parseResult.value))await py(r),Sie(o).forEach(l=>{let h=`${o.$type}:${l.property}`;a.startSubTask(h);try{this.doLink(l,t)}finally{a.stopSubTask(h)}})}finally{a.stop()}}else for(let a of LS(t.parseResult.value))await py(r),Sie(a).forEach(o=>this.doLink(o,t))}doLink(t,r){let a=t.reference;if("_ref"in a&&a._ref===void 0){a._ref=KU;try{let o=this.getCandidate(t);if(pV(o))a._ref=o;else{a._nodeDescription=o;let l=this.loadAstNode(o);a._ref=l??this.createLinkingError(t,o)}}catch(o){console.error(`An error occurred while resolving reference to '${a.$refText}':`,o);let l=o.message??String(o);a._ref={info:t,message:`An error occurred while resolving reference to '${a.$refText}': ${l}`}}r.references.push(a)}else if("_items"in a&&a._items===void 0){a._items=KU;try{let o=this.getCandidates(t),l=[];if(pV(o))a._linkingError=o;else for(let h of o){let f=this.loadAstNode(h);f&&l.push({ref:f,$nodeDescription:h})}a._items=l}catch(o){a._linkingError={info:t,message:`An error occurred while resolving reference to '${a.$refText}': ${o}`},a._items=[]}r.references.push(a)}}unlink(t){for(let r of t.references)"_ref"in r?(r._ref=void 0,delete r._nodeDescription):"_items"in r&&(r._items=void 0,delete r._linkingError);t.references=[]}getCandidate(t){return this.scopeProvider.getScope(t).getElement(t.reference.$refText)??this.createLinkingError(t)}getCandidates(t){let a=this.scopeProvider.getScope(t).getElements(t.reference.$refText).distinct(o=>`${o.documentUri}#${o.path}`).toArray();return a.length>0?a:this.createLinkingError(t)}buildReference(t,r,a,o){return new oai(this.referenceResolver,t,r,a,o)}buildMultiReference(t,r,a,o){return new lai(this.referenceResolver,t,r,a,o)}resolveReference(t,r,a){if(Am(t._ref))return t._ref;if(HRr(t._nodeDescription)){let o=this.loadAstNode(t._nodeDescription);t._ref=o??this.createLinkingError({reference:t,container:r,property:a},t._nodeDescription)}else if(t._ref===void 0){t._ref=KU;let o=yie(r).$document,l=this.getLinkedNode({reference:t,container:r,property:a});if(l.error&&o&&o.stateHie(r)&&r.isMulti)}findDeclarations(t){if(t){let r=ILr(t),a=t.astNode;if(r&&a){let o=a[r.feature];if(fk(o)||NA(o))return Kit(o);if(Array.isArray(o)){for(let l of o)if((fk(l)||NA(l))&&l.$refNode&&l.$refNode.offset<=t.offset&&l.$refNode.end>=t.end)return Kit(l)}}if(a){let o=this.nameProvider.getNameNode(a);if(o&&(o===t||gLr(t,o)))return this.getSelfNodes(a)}}return[]}getSelfNodes(t){if(this.hasMultiReference){let r=this.index.findAllReferences(t,this.nodeLocator.getAstNodePath(t)),a=this.getNodeFromReferenceDescription(r.head());if(a){for(let o of Sie(a))if(NA(o.reference)&&o.reference.items.some(l=>l.ref===t))return o.reference.items.map(l=>l.ref)}return[t]}else return[t]}getNodeFromReferenceDescription(t){if(!t)return;let r=this.documents.getDocument(t.sourceUri);if(r)return this.nodeLocator.getAstNode(r.parseResult.value,t.sourcePath)}findDeclarationNodes(t){let r=this.findDeclarations(t),a=[];for(let o of r){let l=this.nameProvider.getNameNode(o)??o.$cstNode;l&&a.push(l)}return a}findReferences(t,r){let a=[];r.includeDeclaration&&a.push(...this.getSelfReferences(t));let o=this.index.findAllReferences(t,this.nodeLocator.getAstNodePath(t));return r.documentUri&&(o=o.filter(l=>dk.equals(l.sourceUri,r.documentUri))),a.push(...o),Xf(a)}getSelfReferences(t){let r=this.getSelfNodes(t),a=[];for(let o of r){let l=this.nameProvider.getNameNode(o);if(l){let h=RS(o),f=this.nodeLocator.getAstNodePath(o);a.push({sourceUri:h.uri,sourcePath:f,targetUri:h.uri,targetPath:f,segment:Rie(l),local:!0})}}return a}},Fie=class{static{i(this,"MultiMap")}static{X(this,"MultiMap")}constructor(t){if(this.map=new Map,t)for(let[r,a]of t)this.add(r,a)}get size(){return Yit.sum(Xf(this.map.values()).map(t=>t.length))}clear(){this.map.clear()}delete(t,r){if(r===void 0)return this.map.delete(t);{let a=this.map.get(t);if(a){let o=a.indexOf(r);if(o>=0)return a.length===1?this.map.delete(t):a.splice(o,1),!0}return!1}}get(t){return this.map.get(t)??[]}getStream(t){let r=this.map.get(t);return r?Xf(r):YRr}has(t,r){if(r===void 0)return this.map.has(t);{let a=this.map.get(t);return a?a.indexOf(r)>=0:!1}}add(t,r){return this.map.has(t)?this.map.get(t).push(r):this.map.set(t,[r]),this}addAll(t,r){return this.map.has(t)?this.map.get(t).push(...r):this.map.set(t,Array.from(r)),this}forEach(t){this.map.forEach((r,a)=>r.forEach(o=>t(o,a,this)))}[Symbol.iterator](){return this.entries().iterator()}entries(){return Xf(this.map.entries()).flatMap(([t,r])=>r.map(a=>[t,a]))}keys(){return Xf(this.map.keys())}values(){return Xf(this.map.values()).flat()}entriesGroupedByKey(){return Xf(this.map.entries())}},hRr=class{static{i(this,"BiMap")}static{X(this,"BiMap")}get size(){return this.map.size}constructor(t){if(this.map=new Map,this.inverse=new Map,t)for(let[r,a]of t)this.set(r,a)}clear(){this.map.clear(),this.inverse.clear()}set(t,r){return this.map.set(t,r),this.inverse.set(r,t),this}get(t){return this.map.get(t)}getKey(t){return this.inverse.get(t)}delete(t){let r=this.map.get(t);return r!==void 0?(this.map.delete(t),this.inverse.delete(r),!0):!1}},fai=class{static{i(this,"DefaultScopeComputation")}static{X(this,"DefaultScopeComputation")}constructor(t){this.nameProvider=t.references.NameProvider,this.descriptions=t.workspace.AstNodeDescriptionProvider}async collectExportedSymbols(t,r=Bd.CancellationToken.None){return this.collectExportedSymbolsForNode(t.parseResult.value,t,void 0,r)}async collectExportedSymbolsForNode(t,r,a=Kke,o=Bd.CancellationToken.None){let l=[];this.addExportedSymbol(t,l,r);for(let h of a(t))await py(o),this.addExportedSymbol(h,l,r);return l}addExportedSymbol(t,r,a){let o=this.nameProvider.getName(t);o&&r.push(this.descriptions.createDescription(t,o,a))}async collectLocalSymbols(t,r=Bd.CancellationToken.None){let a=t.parseResult.value,o=new Fie;for(let l of SV(a))await py(r),this.addLocalSymbol(l,t,o);return o}addLocalSymbol(t,r,a){let o=t.$container;if(o){let l=this.nameProvider.getName(t);l&&a.add(o,this.descriptions.createDescription(t,l,r))}}},fRr=class{static{i(this,"StreamScope")}static{X(this,"StreamScope")}constructor(t,r,a){this.elements=t,this.outerScope=r,this.caseInsensitive=a?.caseInsensitive??!1,this.concatOuterScope=a?.concatOuterScope??!0}getAllElements(){return this.outerScope?this.elements.concat(this.outerScope.getAllElements()):this.elements}getElement(t){let r=this.caseInsensitive?t.toLowerCase():t,a=this.caseInsensitive?this.elements.find(o=>o.name.toLowerCase()===r):this.elements.find(o=>o.name===t);if(a)return a;if(this.outerScope)return this.outerScope.getElement(t)}getElements(t){let r=this.caseInsensitive?t.toLowerCase():t,a=this.caseInsensitive?this.elements.filter(o=>o.name.toLowerCase()===r):this.elements.filter(o=>o.name===t);return(this.concatOuterScope||a.isEmpty())&&this.outerScope?a.concat(this.outerScope.getElements(t)):a}},dai=class{static{i(this,"MultiMapScope")}static{X(this,"MultiMapScope")}constructor(t,r,a){this.elements=new Fie,this.caseInsensitive=a?.caseInsensitive??!1,this.concatOuterScope=a?.concatOuterScope??!0;for(let o of t){let l=this.caseInsensitive?o.name.toLowerCase():o.name;this.elements.add(l,o)}this.outerScope=r}getElement(t){let r=this.caseInsensitive?t.toLowerCase():t,a=this.elements.get(r)[0];if(a)return a;if(this.outerScope)return this.outerScope.getElement(t)}getElements(t){let r=this.caseInsensitive?t.toLowerCase():t,a=this.elements.get(r);return(this.concatOuterScope||a.length===0)&&this.outerScope?Xf(a).concat(this.outerScope.getElements(t)):Xf(a)}getAllElements(){let t=Xf(this.elements.values());return this.outerScope&&(t=t.concat(this.outerScope.getAllElements())),t}},vNr=class{static{i(this,"DisposableCache")}static{X(this,"DisposableCache")}constructor(){this.toDispose=[],this.isDisposed=!1}onDispose(t){this.toDispose.push(t)}dispose(){this.throwIfDisposed(),this.clear(),this.isDisposed=!0,this.toDispose.forEach(t=>t.dispose())}throwIfDisposed(){if(this.isDisposed)throw new Error("This cache has already been disposed")}},pai=class extends vNr{static{i(this,"SimpleCache")}static{X(this,"SimpleCache")}constructor(){super(...arguments),this.cache=new Map}has(t){return this.throwIfDisposed(),this.cache.has(t)}set(t,r){this.throwIfDisposed(),this.cache.set(t,r)}get(t,r){if(this.throwIfDisposed(),this.cache.has(t))return this.cache.get(t);if(r){let a=r();return this.cache.set(t,a),a}else return}delete(t){return this.throwIfDisposed(),this.cache.delete(t)}clear(){this.throwIfDisposed(),this.cache.clear()}},gai=class extends vNr{static{i(this,"ContextCache")}static{X(this,"ContextCache")}constructor(t){super(),this.cache=new Map,this.converter=t??(r=>r)}has(t,r){return this.throwIfDisposed(),this.cacheForContext(t).has(r)}set(t,r,a){this.throwIfDisposed(),this.cacheForContext(t).set(r,a)}get(t,r,a){this.throwIfDisposed();let o=this.cacheForContext(t);if(o.has(r))return o.get(r);if(a){let l=a();return o.set(r,l),l}else return}delete(t,r){return this.throwIfDisposed(),this.cacheForContext(t).delete(r)}clear(t){if(this.throwIfDisposed(),t){let r=this.converter(t);this.cache.delete(r)}else this.cache.clear()}cacheForContext(t){let r=this.converter(t),a=this.cache.get(r);return a||(a=new Map,this.cache.set(r,a)),a}},mai=class extends pai{static{i(this,"WorkspaceCache")}static{X(this,"WorkspaceCache")}constructor(t,r){super(),r?(this.toDispose.push(t.workspace.DocumentBuilder.onBuildPhase(r,()=>{this.clear()})),this.toDispose.push(t.workspace.DocumentBuilder.onUpdate((a,o)=>{o.length>0&&this.clear()}))):this.toDispose.push(t.workspace.DocumentBuilder.onUpdate(()=>{this.clear()}))}},yai=class{static{i(this,"DefaultScopeProvider")}static{X(this,"DefaultScopeProvider")}constructor(t){this.reflection=t.shared.AstReflection,this.nameProvider=t.references.NameProvider,this.descriptions=t.workspace.AstNodeDescriptionProvider,this.indexManager=t.shared.workspace.IndexManager,this.globalScopeCache=new mai(t.shared)}getScope(t){let r=[],a=this.reflection.getReferenceType(t),o=RS(t.container).localSymbols;if(o){let h=t.container;do o.has(h)&&r.push(o.getStream(h).filter(f=>this.reflection.isSubtype(f.type,a))),h=h.$container;while(h)}let l=this.getGlobalScope(a,t);for(let h=r.length-1;h>=0;h--)l=this.createScope(r[h],l);return l}createScope(t,r,a){return new fRr(Xf(t),r,a)}createScopeForNodes(t,r,a){let o=Xf(t).map(l=>{let h=this.nameProvider.getName(l);if(h)return this.descriptions.createDescription(l,h)}).nonNullable();return new fRr(o,r,a)}getGlobalScope(t,r){return this.globalScopeCache.get(t,()=>new dai(this.indexManager.allElements(t)))}};i(wNr,"isAstNodeWithComment");X(wNr,"isAstNodeWithComment");i(Nat,"isIntermediateReference");X(Nat,"isIntermediateReference");bai=class{static{i(this,"DefaultJsonSerializer")}static{X(this,"DefaultJsonSerializer")}constructor(t){this.ignoreProperties=new Set(["$container","$containerProperty","$containerIndex","$document","$cstNode"]),this.langiumDocuments=t.shared.workspace.LangiumDocuments,this.astNodeLocator=t.workspace.AstNodeLocator,this.nameProvider=t.references.NameProvider,this.commentProvider=t.documentation.CommentProvider}serialize(t,r){let a=r??{},o=r?.replacer,l=X((f,p)=>this.replacer(f,p,a),"defaultReplacer"),h=o?(f,p)=>o(f,p,l):l;try{return this.currentDocument=RS(t),JSON.stringify(t,h,r?.space)}finally{this.currentDocument=void 0}}deserialize(t,r){let a=r??{},o=JSON.parse(t);return this.linkNode(o,o,a),o}replacer(t,r,{refText:a,sourceText:o,textRegions:l,comments:h,uriConverter:f}){if(!this.ignoreProperties.has(t))if(fk(r)){let p=r.ref,m=a?r.$refText:void 0;if(p){let b=RS(p),v="";this.currentDocument&&this.currentDocument!==b&&(f?v=f(b.uri,p):v=b.uri.toString());let T=this.astNodeLocator.getAstNodePath(p);return{$ref:`${v}#${T}`,$refText:m}}else return{$error:r.error?.message??"Could not resolve reference",$refText:m}}else if(NA(r)){let p=a?r.$refText:void 0,m=[];for(let b of r.items){let v=b.ref,T=RS(b.ref),C="";this.currentDocument&&this.currentDocument!==T&&(f?C=f(T.uri,v):C=T.uri.toString());let E=this.astNodeLocator.getAstNodePath(v);m.push(`${C}#${E}`)}return{$refs:m,$refText:p}}else if(Am(r)){let p;if(l&&(p=this.addAstNodeRegionWithAssignmentsTo({...r}),(!t||r.$document)&&p?.$textRegion&&(p.$textRegion.documentURI=this.currentDocument?.uri.toString())),o&&!t&&(p??(p={...r}),p.$sourceText=r.$cstNode?.text),h){p??(p={...r});let m=this.commentProvider.getComment(r);m&&(p.$comment=m.replace(/\r/g,""))}return p??r}else return r}addAstNodeRegionWithAssignmentsTo(t){let r=X(a=>({offset:a.offset,end:a.end,length:a.length,range:a.range}),"createDocumentSegment");if(t.$cstNode){let a=t.$textRegion=r(t.$cstNode),o=a.assignments={};return Object.keys(t).filter(l=>!l.startsWith("$")).forEach(l=>{let h=DLr(t.$cstNode,l).map(r);h.length!==0&&(o[l]=h)}),t}}linkNode(t,r,a,o,l,h){for(let[p,m]of Object.entries(t))if(Array.isArray(m))for(let b=0;b{await this.handleException(()=>t.call(r,a,o,l),"An error occurred during validation",o,a)}}async handleException(t,r,a,o){try{await t()}catch(l){if(Kie(l))throw l;console.error(`${r}:`,l),l instanceof Error&&l.stack&&console.error(l.stack);let h=l instanceof Error?l.message:String(l);a("error",`${r}: ${h}`,{node:o})}}addEntry(t,r){if(t==="AstNode"){this.entries.add("AstNode",r);return}for(let a of this.reflection.getAllSubTypes(t))this.entries.add(a,r)}getChecks(t,r){let a=Xf(this.entries.get(t)).concat(this.entries.get("AstNode"));return r&&(a=a.filter(o=>r.includes(o.category))),a.map(o=>o.check)}registerBeforeDocument(t,r=this){this.entriesBefore.push(this.wrapPreparationException(t,"An error occurred during set-up of the validation",r))}registerAfterDocument(t,r=this){this.entriesAfter.push(this.wrapPreparationException(t,"An error occurred during tear-down of the validation",r))}wrapPreparationException(t,r,a){return async(o,l,h,f)=>{await this.handleException(()=>t.call(a,o,l,h,f),r,l,o)}}get checksBefore(){return this.entriesBefore}get checksAfter(){return this.entriesAfter}getAllValidationCategories(t){return this.knownCategories}},xai=Object.freeze({validateNode:!0,validateChildren:!0}),Tai=class{static{i(this,"DefaultDocumentValidator")}static{X(this,"DefaultDocumentValidator")}constructor(t){this.validationRegistry=t.validation.ValidationRegistry,this.metadata=t.LanguageMetaData,this.profiler=t.shared.profilers.LangiumProfiler,this.languageId=t.LanguageMetaData.languageId}async validateDocument(t,r={},a=Bd.CancellationToken.None){let o=t.parseResult,l=[];if(await py(a),(!r.categories||r.categories.includes("built-in"))&&(this.processLexingErrors(o,l,r),r.stopAfterLexingErrors&&l.some(h=>h.data?.code===N4.LexingError)||(this.processParsingErrors(o,l,r),r.stopAfterParsingErrors&&l.some(h=>h.data?.code===N4.ParsingError))||(this.processLinkingErrors(t,l,r),r.stopAfterLinkingErrors&&l.some(h=>h.data?.code===N4.LinkingError))))return l;try{l.push(...await this.validateAst(o.value,r,a))}catch(h){if(Kie(h))throw h;console.error("An error occurred during validation:",h)}return await py(a),l}processLexingErrors(t,r,a){let o=[...t.lexerErrors,...t.lexerReport?.diagnostics??[]];for(let l of o){let h=l.severity??"error",f={severity:mke(h),range:{start:{line:l.line-1,character:l.column-1},end:{line:l.line-1,character:l.column+l.length-1}},message:l.message,data:TNr(h),source:this.getSource()};r.push(f)}}processParsingErrors(t,r,a){for(let o of t.parserErrors){let l;if(Dke(o.token))l=mLr(o.token);else if("previousToken"in o){let h=o.previousToken;if(Dke(h)){let f={line:h.endLine-1,character:h.endColumn};l={start:f,end:f}}else{let f={line:0,character:0};l={start:f,end:f}}}if(l){let h={severity:mke("error"),range:l,message:o.message,data:yV(N4.ParsingError),source:this.getSource()};r.push(h)}}}processLinkingErrors(t,r,a){for(let o of t.references){let l=o.error;if(l){let h={node:l.info.container,range:o.$refNode?.range,property:l.info.property,index:l.info.index,data:{code:N4.LinkingError,containerType:l.info.container.$type,property:l.info.property,refText:l.info.reference.$refText}};r.push(this.toDiagnostic("error",l.message,h))}}}async validateAst(t,r,a=Bd.CancellationToken.None){let o=[],l=X((h,f,p)=>{o.push(this.toDiagnostic(h,f,p))},"acceptor");return await this.validateAstBefore(t,r,l,a),await this.validateAstNodes(t,r,l,a),await this.validateAstAfter(t,r,l,a),o}async validateAstBefore(t,r,a,o=Bd.CancellationToken.None){let l=this.validationRegistry.checksBefore;for(let h of l)await py(o),await h(t,a,r.categories??[],o)}async validateAstNodes(t,r,a,o=Bd.CancellationToken.None){if(this.profiler?.isActive("validating")){let l=this.profiler.createTask("validating",this.languageId);l.start();try{let h=LS(t).iterator();for(let f of h){l.startSubTask(f.$type);let p=this.validateSingleNodeOptions(f,r);if(p.validateNode)try{let m=this.validationRegistry.getChecks(f.$type,r.categories);for(let b of m)await b(f,a,o)}finally{l.stopSubTask(f.$type)}p.validateChildren||h.prune()}}finally{l.stop()}}else{let l=LS(t).iterator();for(let h of l){await py(o);let f=this.validateSingleNodeOptions(h,r);if(f.validateNode){let p=this.validationRegistry.getChecks(h.$type,r.categories);for(let m of p)await m(h,a,o)}f.validateChildren||l.prune()}}}validateSingleNodeOptions(t,r){return xai}async validateAstAfter(t,r,a,o=Bd.CancellationToken.None){let l=this.validationRegistry.checksAfter;for(let h of l)await py(o),await h(t,a,r.categories??[],o)}toDiagnostic(t,r,a){return{message:r,range:xNr(a),severity:mke(t),code:a.code,codeDescription:a.codeDescription,tags:a.tags,relatedInformation:a.relatedInformation,data:a.data,source:this.getSource()}}getSource(){return this.metadata.languageId}};i(xNr,"getDiagnosticRange");X(xNr,"getDiagnosticRange");i(mke,"toDiagnosticSeverity");X(mke,"toDiagnosticSeverity");i(TNr,"toDiagnosticData");X(TNr,"toDiagnosticData");(function(t){t.LexingError="lexing-error",t.LexingWarning="lexing-warning",t.LexingInfo="lexing-info",t.LexingHint="lexing-hint",t.ParsingError="parsing-error",t.LinkingError="linking-error"})(N4||(N4={}));kai=class{static{i(this,"DefaultAstNodeDescriptionProvider")}static{X(this,"DefaultAstNodeDescriptionProvider")}constructor(t){this.astNodeLocator=t.workspace.AstNodeLocator,this.nameProvider=t.references.NameProvider}createDescription(t,r,a){let o=a??RS(t);r??(r=this.nameProvider.getName(t));let l=this.astNodeLocator.getAstNodePath(t);if(!r)throw new Error(`Node at path ${l} has no name.`);let h,f=X(()=>h??(h=Rie(this.nameProvider.getNameNode(t)??t.$cstNode)),"nameSegmentGetter");return{node:t,name:r,get nameSegment(){return f()},selectionSegment:Rie(t.$cstNode),type:t.$type,documentUri:o.uri,path:l}}},Cai=class{static{i(this,"DefaultReferenceDescriptionProvider")}static{X(this,"DefaultReferenceDescriptionProvider")}constructor(t){this.nodeLocator=t.workspace.AstNodeLocator}async createDescriptions(t,r=Bd.CancellationToken.None){let a=[],o=t.parseResult.value;for(let l of LS(o))await py(r),Sie(l).forEach(h=>{h.reference.error||a.push(...this.createInfoDescriptions(h))});return a}createInfoDescriptions(t){let r=t.reference;if(r.error||!r.$refNode)return[];let a=[];fk(r)&&r.$nodeDescription?a=[r.$nodeDescription]:NA(r)&&(a=r.items.map(p=>p.$nodeDescription).filter(p=>p!==void 0));let o=RS(t.container).uri,l=this.nodeLocator.getAstNodePath(t.container),h=[],f=Rie(r.$refNode);for(let p of a)h.push({sourceUri:o,sourcePath:l,targetUri:p.documentUri,targetPath:p.path,segment:f,local:dk.equals(p.documentUri,o)});return h}},Eai=class{static{i(this,"DefaultAstNodeLocator")}static{X(this,"DefaultAstNodeLocator")}constructor(){this.segmentSeparator="/",this.indexSeparator="@"}getAstNodePath(t){if(t.$container){let r=this.getAstNodePath(t.$container),a=this.getPathSegment(t);return r+this.segmentSeparator+a}return""}getPathSegment({$containerProperty:t,$containerIndex:r}){if(!t)throw new Error("Missing '$containerProperty' in AST node.");return r!==void 0?t+this.indexSeparator+r:t}getAstNode(t,r){return r.split(this.segmentSeparator).reduce((o,l)=>{if(!o||l.length===0)return o;let h=l.indexOf(this.indexSeparator);if(h>0){let f=l.substring(0,h),p=parseInt(l.substring(h+1));return o[f]?.[p]}return o[l]},t)}},Sai=Ost($st(),1),Aai=class{static{i(this,"DefaultConfigurationProvider")}static{X(this,"DefaultConfigurationProvider")}constructor(t){this._ready=new zot,this.onConfigurationSectionUpdateEmitter=new Sai.Emitter,this.settings={},this.workspaceConfig=!1,this.serviceRegistry=t.ServiceRegistry}get ready(){return this._ready.promise}initialize(t){this.workspaceConfig=t.capabilities.workspace?.configuration??!1}async initialized(t){if(this.workspaceConfig){if(t.register){let r=this.serviceRegistry.all;t.register({section:r.map(a=>this.toSectionName(a.LanguageMetaData.languageId))})}if(t.fetchConfiguration){let r=this.serviceRegistry.all.map(o=>({section:this.toSectionName(o.LanguageMetaData.languageId)})),a=await t.fetchConfiguration(r);r.forEach((o,l)=>{this.updateSectionConfiguration(o.section,a[l])})}}this._ready.resolve()}updateConfiguration(t){typeof t.settings!="object"||t.settings===null||Object.entries(t.settings).forEach(([r,a])=>{this.updateSectionConfiguration(r,a),this.onConfigurationSectionUpdateEmitter.fire({section:r,configuration:a})})}updateSectionConfiguration(t,r){this.settings[t]=r}async getConfiguration(t,r){await this.ready;let a=this.toSectionName(t);if(this.settings[a])return this.settings[a][r]}toSectionName(t){return`${t}`}get onConfigurationSectionUpdate(){return this.onConfigurationSectionUpdateEmitter.event}},DTe=Ost($st(),1);(function(t){function r(a){return{dispose:X(async()=>await a(),"dispose")}}i(r,"create"),X(r,"create"),t.create=r})(xie||(xie={}));Rai=class{static{i(this,"DefaultDocumentBuilder")}static{X(this,"DefaultDocumentBuilder")}constructor(t){this.updateBuildOptions={validation:{categories:["built-in","fast"]}},this.updateListeners=[],this.buildPhaseListeners=new Fie,this.documentPhaseListeners=new Fie,this.buildState=new Map,this.documentBuildWaiters=new Map,this.currentState=cc.Changed,this.langiumDocuments=t.workspace.LangiumDocuments,this.langiumDocumentFactory=t.workspace.LangiumDocumentFactory,this.textDocuments=t.workspace.TextDocuments,this.indexManager=t.workspace.IndexManager,this.fileSystemProvider=t.workspace.FileSystemProvider,this.workspaceManager=()=>t.workspace.WorkspaceManager,this.serviceRegistry=t.ServiceRegistry}async build(t,r={},a=Bd.CancellationToken.None){for(let o of t){let l=o.uri.toString();if(o.state===cc.Validated){if(typeof r.validation=="boolean"&&r.validation)this.resetToState(o,cc.IndexedReferences);else if(typeof r.validation=="object"){let h=this.findMissingValidationCategories(o,r);h.length>0&&(this.buildState.set(l,{completed:!1,options:{validation:{categories:h}},result:this.buildState.get(l)?.result}),o.state=cc.IndexedReferences)}}else this.buildState.delete(l)}this.currentState=cc.Changed,await this.emitUpdate(t.map(o=>o.uri),[]),await this.buildDocuments(t,r,a)}async update(t,r,a=Bd.CancellationToken.None){this.currentState=cc.Changed;let o=[];for(let p of r){let m=this.langiumDocuments.deleteDocuments(p);for(let b of m)o.push(b.uri),this.cleanUpDeleted(b)}let l=(await Promise.all(t.map(p=>this.findChangedUris(p)))).flat();for(let p of l){let m=this.langiumDocuments.getDocument(p);m===void 0&&(m=this.langiumDocumentFactory.fromModel({$type:"INVALID"},p),m.state=cc.Changed,this.langiumDocuments.addDocument(m)),this.resetToState(m,cc.Changed)}let h=Xf(l).concat(o).map(p=>p.toString()).toSet();this.langiumDocuments.all.filter(p=>!h.has(p.uri.toString())&&this.shouldRelink(p,h)).forEach(p=>this.resetToState(p,cc.ComputedScopes)),await this.emitUpdate(l,o),await py(a);let f=this.sortDocuments(this.langiumDocuments.all.filter(p=>p.state=1}findMissingValidationCategories(t,r){let a=this.buildState.get(t.uri.toString()),o=this.serviceRegistry.getServices(t.uri).validation.ValidationRegistry.getAllValidationCategories(t),l=a?.result?.validationChecks?new Set(a?.result?.validationChecks):a?.completed?o:new Set,h=r===void 0||r.validation===!0?o:typeof r.validation=="object"?r.validation.categories??o:[];return Xf(h).filter(f=>!l.has(f)).toArray()}async findChangedUris(t){if(this.langiumDocuments.getDocument(t)??this.textDocuments?.get(t))return[t];try{let a=await this.fileSystemProvider.stat(t);if(a.isDirectory)return await this.workspaceManager().searchFolder(t);if(this.workspaceManager().shouldIncludeEntry(a))return[t]}catch{}return[]}async emitUpdate(t,r){await Promise.all(this.updateListeners.map(a=>a(t,r)))}sortDocuments(t){let r=0,a=t.length-1;for(;r=0&&!this.hasTextDocument(t[a]);)a--;ra.error!==void 0)?!0:this.indexManager.isAffected(t,r)}onUpdate(t){return this.updateListeners.push(t),xie.create(()=>{let r=this.updateListeners.indexOf(t);r>=0&&this.updateListeners.splice(r,1)})}resetToState(t,r){switch(r){case cc.Changed:case cc.Parsed:this.indexManager.removeContent(t.uri);case cc.IndexedContent:t.localSymbols=void 0;case cc.ComputedScopes:this.serviceRegistry.getServices(t.uri).references.Linker.unlink(t);case cc.Linked:this.indexManager.removeReferences(t.uri);case cc.IndexedReferences:t.diagnostics=void 0,this.buildState.delete(t.uri.toString());case cc.Validated:}t.state>r&&(t.state=r)}cleanUpDeleted(t){this.buildState.delete(t.uri.toString()),this.indexManager.remove(t.uri),t.state=cc.Changed}async buildDocuments(t,r,a){this.prepareBuild(t,r),await this.runCancelable(t,cc.Parsed,a,h=>this.langiumDocumentFactory.update(h,a)),await this.runCancelable(t,cc.IndexedContent,a,h=>this.indexManager.updateContent(h,a)),await this.runCancelable(t,cc.ComputedScopes,a,async h=>{let f=this.serviceRegistry.getServices(h.uri).references.ScopeComputation;h.localSymbols=await f.collectLocalSymbols(h,a)});let o=t.filter(h=>this.shouldLink(h));await this.runCancelable(o,cc.Linked,a,h=>this.serviceRegistry.getServices(h.uri).references.Linker.link(h,a)),await this.runCancelable(o,cc.IndexedReferences,a,h=>this.indexManager.updateReferences(h,a));let l=t.filter(h=>this.shouldValidate(h)?!0:(this.markAsCompleted(h),!1));await this.runCancelable(l,cc.Validated,a,async h=>{await this.validate(h,a),this.markAsCompleted(h)})}markAsCompleted(t){let r=this.buildState.get(t.uri.toString());r&&(r.completed=!0)}prepareBuild(t,r){for(let a of t){let o=a.uri.toString(),l=this.buildState.get(o);(!l||l.completed)&&this.buildState.set(o,{completed:!1,options:r,result:l?.result})}}async runCancelable(t,r,a,o){for(let h of t)h.stateh.state===r);await this.notifyBuildPhase(l,r,a),this.currentState=r}onBuildPhase(t,r){return this.buildPhaseListeners.add(t,r),xie.create(()=>{this.buildPhaseListeners.delete(t,r)})}onDocumentPhase(t,r){return this.documentPhaseListeners.add(t,r),xie.create(()=>{this.documentPhaseListeners.delete(t,r)})}waitUntil(t,r,a){let o;return r&&"path"in r?o=r:a=r,a??(a=Bd.CancellationToken.None),o?this.awaitDocumentState(t,o,a):this.awaitBuilderState(t,a)}awaitDocumentState(t,r,a){let o=this.langiumDocuments.getDocument(r);if(o){if(o.state>=t)return Promise.resolve(r);if(a.isCancellationRequested)return Promise.reject(mV);if(this.currentState>=t&&t>o.state)return Promise.reject(new DTe.ResponseError(DTe.LSPErrorCodes.RequestFailed,`Document state of ${r.toString()} is ${cc[o.state]}, requiring ${cc[t]}, but workspace state is already ${cc[this.currentState]}. Returning undefined.`))}else return Promise.reject(new DTe.ResponseError(DTe.LSPErrorCodes.ServerCancelled,`No document found for URI: ${r.toString()}`));return new Promise((l,h)=>{let f=this.onDocumentPhase(t,m=>{dk.equals(m.uri,r)&&(f.dispose(),p.dispose(),l(m.uri))}),p=a.onCancellationRequested(()=>{f.dispose(),p.dispose(),h(mV)})})}awaitBuilderState(t,r){return this.currentState>=t?Promise.resolve():r.isCancellationRequested?Promise.reject(mV):new Promise((a,o)=>{let l=this.onBuildPhase(t,()=>{l.dispose(),h.dispose(),a()}),h=r.onCancellationRequested(()=>{l.dispose(),h.dispose(),o(mV)})})}async notifyDocumentPhase(t,r,a){let l=this.documentPhaseListeners.get(r).slice();for(let h of l)try{await py(a),await h(t,a)}catch(f){if(!Kie(f))throw f}}async notifyBuildPhase(t,r,a){if(t.length===0)return;let l=this.buildPhaseListeners.get(r).slice();for(let h of l)await py(a),await h(t,a)}shouldLink(t){return this.getBuildOptions(t).eagerLinking??!0}shouldValidate(t){return!!this.getBuildOptions(t).validation}async validate(t,r){let a=this.serviceRegistry.getServices(t.uri).validation.DocumentValidator,o=this.getBuildOptions(t),l=typeof o.validation=="object"?{...o.validation}:{};l.categories=this.findMissingValidationCategories(t,o);let h=await a.validateDocument(t,l,r);t.diagnostics?t.diagnostics.push(...h):t.diagnostics=h;let f=this.buildState.get(t.uri.toString());f&&(f.result??(f.result={}),f.result.validationChecks?f.result.validationChecks=Xf(f.result.validationChecks).concat(l.categories).distinct().toArray():f.result.validationChecks=[...l.categories])}getBuildOptions(t){return this.buildState.get(t.uri.toString())?.options??{}}},Lai=class{static{i(this,"DefaultIndexManager")}static{X(this,"DefaultIndexManager")}constructor(t){this.symbolIndex=new Map,this.symbolByTypeIndex=new gai,this.referenceIndex=new Map,this.documents=t.workspace.LangiumDocuments,this.serviceRegistry=t.ServiceRegistry,this.astReflection=t.AstReflection}findAllReferences(t,r){let a=RS(t).uri,o=[];return this.referenceIndex.forEach(l=>{l.forEach(h=>{dk.equals(h.targetUri,a)&&h.targetPath===r&&o.push(h)})}),Xf(o)}allElements(t,r){let a=Xf(this.symbolIndex.keys());return r&&(a=a.filter(o=>!r||r.has(o))),a.map(o=>this.getFileDescriptions(o,t)).flat()}getFileDescriptions(t,r){return r?this.symbolByTypeIndex.get(t,r,()=>(this.symbolIndex.get(t)??[]).filter(l=>this.astReflection.isSubtype(l.type,r))):this.symbolIndex.get(t)??[]}remove(t){this.removeContent(t),this.removeReferences(t)}removeContent(t){let r=t.toString();this.symbolIndex.delete(r),this.symbolByTypeIndex.clear(r)}removeReferences(t){let r=t.toString();this.referenceIndex.delete(r)}async updateContent(t,r=Bd.CancellationToken.None){let o=await this.serviceRegistry.getServices(t.uri).references.ScopeComputation.collectExportedSymbols(t,r),l=t.uri.toString();this.symbolIndex.set(l,o),this.symbolByTypeIndex.clear(l)}async updateReferences(t,r=Bd.CancellationToken.None){let o=await this.serviceRegistry.getServices(t.uri).workspace.ReferenceDescriptionProvider.createDescriptions(t,r);this.referenceIndex.set(t.uri.toString(),o)}isAffected(t,r){let a=this.referenceIndex.get(t.uri.toString());return a?a.some(o=>!o.local&&r.has(o.targetUri.toString())):!1}},Dai=class{static{i(this,"DefaultWorkspaceManager")}static{X(this,"DefaultWorkspaceManager")}constructor(t){this.initialBuildOptions={},this._ready=new zot,this.serviceRegistry=t.ServiceRegistry,this.langiumDocuments=t.workspace.LangiumDocuments,this.documentBuilder=t.workspace.DocumentBuilder,this.fileSystemProvider=t.workspace.FileSystemProvider,this.mutex=t.workspace.WorkspaceLock}get ready(){return this._ready.promise}get workspaceFolders(){return this.folders}initialize(t){this.folders=t.workspaceFolders??void 0}initialized(t){return this.mutex.write(r=>this.initializeWorkspace(this.folders??[],r))}async initializeWorkspace(t,r=Bd.CancellationToken.None){let a=await this.performStartup(t);await py(r),await this.documentBuilder.build(a,this.initialBuildOptions,r)}async performStartup(t){let r=[],a=X(h=>{r.push(h),this.langiumDocuments.hasDocument(h.uri)||this.langiumDocuments.addDocument(h)},"collector");await this.loadAdditionalDocuments(t,a);let o=[];await Promise.all(t.map(h=>this.getRootFolder(h)).map(async h=>this.traverseFolder(h,o)));let l=Xf(o).distinct(h=>h.toString()).filter(h=>!this.langiumDocuments.hasDocument(h));return await this.loadWorkspaceDocuments(l,a),this._ready.resolve(),r}async loadWorkspaceDocuments(t,r){await Promise.all(t.map(async a=>{let o=await this.langiumDocuments.getOrCreateDocument(a);r(o)}))}loadAdditionalDocuments(t,r){return Promise.resolve()}getRootFolder(t){return Xw.parse(t.uri)}async traverseFolder(t,r){try{let a=await this.fileSystemProvider.readDirectory(t);await Promise.all(a.map(async o=>{this.shouldIncludeEntry(o)&&(o.isDirectory?await this.traverseFolder(o.uri,r):o.isFile&&r.push(o.uri))}))}catch(a){console.error("Failure to read directory content of "+t.toString(!0),a)}}async searchFolder(t){let r=[];return await this.traverseFolder(t,r),r}shouldIncludeEntry(t){let r=dk.basename(t.uri);return r.startsWith(".")?!1:t.isDirectory?r!=="node_modules"&&r!=="out":t.isFile?this.serviceRegistry.hasServices(t.uri):!1}},_ai=class{static{i(this,"DefaultLexerErrorMessageProvider")}static{X(this,"DefaultLexerErrorMessageProvider")}buildUnexpectedCharactersMessage(t,r,a,o,l){return hat.buildUnexpectedCharactersMessage(t,r,a,o,l)}buildUnableToPopLexerModeMessage(t){return hat.buildUnableToPopLexerModeMessage(t)}},Mai={mode:"full"},Iai=class{static{i(this,"DefaultLexer")}static{X(this,"DefaultLexer")}constructor(t){this.errorMessageProvider=t.parser.LexerErrorMessageProvider,this.tokenBuilder=t.parser.TokenBuilder;let r=this.tokenBuilder.buildTokens(t.Grammar,{caseInsensitive:t.LanguageMetaData.caseInsensitive});this.tokenTypes=this.toTokenTypeDictionary(r);let a=Pat(r)?Object.values(r):r,o=t.LanguageMetaData.mode==="production";this.chevrotainLexer=new h2(a,{positionTracking:"full",skipValidations:o,errorMessageProvider:this.errorMessageProvider})}get definition(){return this.tokenTypes}tokenize(t,r=Mai){let a=this.chevrotainLexer.tokenize(t);return{tokens:a.tokens,errors:a.errors,hidden:a.groups.hidden??[],report:this.tokenBuilder.flushLexingReport?.(t)}}toTokenTypeDictionary(t){if(Pat(t))return t;let r=Hot(t)?Object.values(t.modes).flat():t,a={};return r.forEach(o=>a[o.name]=o),a}};i(kNr,"isTokenTypeArray");X(kNr,"isTokenTypeArray");i(Hot,"isIMultiModeLexerDefinition");X(Hot,"isIMultiModeLexerDefinition");i(Pat,"isTokenTypeDictionary");X(Pat,"isTokenTypeDictionary");Yke();i(CNr,"parseJSDoc");X(CNr,"parseJSDoc");i(ENr,"isJSDoc");X(ENr,"isJSDoc");i(qot,"getLines");X(qot,"getLines");dRr=/\s*(@([\p{L}][\p{L}\p{N}]*)?)/uy,Nai=/\{(@[\p{L}][\p{L}\p{N}]*)(\s*)([^\r\n}]+)?\}/gu;i(SNr,"tokenize");X(SNr,"tokenize");i(ANr,"buildInlineTokens");X(ANr,"buildInlineTokens");Oai=/\S/,Pai=/\s*$/;i(Vke,"skipWhitespace");X(Vke,"skipWhitespace");i(RNr,"lastCharacter");X(RNr,"lastCharacter");i(LNr,"parseJSDocComment");X(LNr,"parseJSDocComment");i(DNr,"parseJSDocElement");X(DNr,"parseJSDocElement");i(_Nr,"appendEmptyLine");X(_Nr,"appendEmptyLine");i(Wot,"parseJSDocText");X(Wot,"parseJSDocText");i(MNr,"parseJSDocInline");X(MNr,"parseJSDocInline");i(Yot,"parseJSDocTag");X(Yot,"parseJSDocTag");i(Kot,"parseJSDocLine");X(Kot,"parseJSDocLine");i(C3e,"normalizeOptions");X(C3e,"normalizeOptions");i(yke,"normalizeOption");X(yke,"normalizeOption");pRr=class{static{i(this,"JSDocCommentImpl")}static{X(this,"JSDocCommentImpl")}constructor(t,r){this.elements=t,this.range=r}getTag(t){return this.getAllTags().find(r=>r.name===t)}getTags(t){return this.getAllTags().filter(r=>r.name===t)}getAllTags(){return this.elements.filter(t=>"name"in t)}toString(){let t="";for(let r of this.elements)if(t.length===0)t=r.toString();else{let a=r.toString();t+=Fat(t)+a}return t.trim()}toMarkdown(t){let r="";for(let a of this.elements)if(r.length===0)r=a.toMarkdown(t);else{let o=a.toMarkdown(t);r+=Fat(r)+o}return r.trim()}},Int=class{static{i(this,"JSDocTagImpl")}static{X(this,"JSDocTagImpl")}constructor(t,r,a,o){this.name=t,this.content=r,this.inline=a,this.range=o}toString(){let t=`@${this.name}`,r=this.content.toString();return this.content.inlines.length===1?t=`${t} ${r}`:this.content.inlines.length>1&&(t=`${t} +${r}`),this.inline?`{${t}}`:t}toMarkdown(t){return t?.renderTag?.(this)??this.toMarkdownDefault(t)}toMarkdownDefault(t){let r=this.content.toMarkdown(t);if(this.inline){let l=INr(this.name,r,t??{});if(typeof l=="string")return l}let a="";t?.tag==="italic"||t?.tag===void 0?a="*":t?.tag==="bold"?a="**":t?.tag==="bold-italic"&&(a="***");let o=`${a}@${this.name}${a}`;return this.content.inlines.length===1?o=`${o} \u2014 ${r}`:this.content.inlines.length>1&&(o=`${o} +${r}`),this.inline?`{${o}}`:o}};i(INr,"renderInlineTag");X(INr,"renderInlineTag");i(NNr,"renderLinkDefault");X(NNr,"renderLinkDefault");Bat=class{static{i(this,"JSDocTextImpl")}static{X(this,"JSDocTextImpl")}constructor(t,r){this.inlines=t,this.range=r}toString(){let t="";for(let r=0;ra.range.start.line&&(t+=` +`)}return t}toMarkdown(t){let r="";for(let a=0;ao.range.start.line&&(r+=` +`)}return r}},ONr=class{static{i(this,"JSDocLineImpl")}static{X(this,"JSDocLineImpl")}constructor(t,r){this.text=t,this.range=r}toString(){return this.text}toMarkdown(){return this.text}};i(Fat,"fillNewlines");X(Fat,"fillNewlines");Bai=class{static{i(this,"JSDocDocumentationProvider")}static{X(this,"JSDocDocumentationProvider")}constructor(t){this.indexManager=t.shared.workspace.IndexManager,this.commentProvider=t.documentation.CommentProvider}getDocumentation(t){let r=this.commentProvider.getComment(t);if(r&&ENr(r))return CNr(r).toMarkdown({renderLink:X((o,l)=>this.documentationLinkRenderer(t,o,l),"renderLink"),renderTag:X(o=>this.documentationTagRenderer(t,o),"renderTag")})}documentationLinkRenderer(t,r,a){let o=this.findNameInLocalSymbols(t,r)??this.findNameInGlobalScope(t,r);if(o&&o.nameSegment){let l=o.nameSegment.range.start.line+1,h=o.nameSegment.range.start.character+1,f=o.documentUri.with({fragment:`L${l},${h}`});return`[${a}](${f.toString()})`}else return}documentationTagRenderer(t,r){}findNameInLocalSymbols(t,r){let o=RS(t).localSymbols;if(!o)return;let l=t;do{let f=o.getStream(l).find(p=>p.name===r);if(f)return f;l=l.$container}while(l)}findNameInGlobalScope(t,r){return this.indexManager.allElements().find(o=>o.name===r)}},Fai=class{static{i(this,"DefaultCommentProvider")}static{X(this,"DefaultCommentProvider")}constructor(t){this.grammarConfig=()=>t.parser.GrammarConfig}getComment(t){return wNr(t)?t.$comment:vLr(t.$cstNode,this.grammarConfig().multilineCommentRules)?.text}},$ai=class{static{i(this,"DefaultAsyncParser")}static{X(this,"DefaultAsyncParser")}constructor(t){this.syncParser=t.parser.LangiumParser}parse(t,r){return Promise.resolve(this.syncParser.parse(t))}};(function(t){t[t.Normal=0]="Normal",t[t.Immediate=1]="Immediate"})(Hke||(Hke={}));Gai=class{static{i(this,"DefaultWorkspaceLock")}static{X(this,"DefaultWorkspaceLock")}constructor(){this.previousTokenSource=new Bd.CancellationTokenSource,this.writeQueue=[],this.readQueue=[],this.immediateReads=[],this.done=!0}write(t){this.cancelWrite();let r=gNr();return this.previousTokenSource=r,this.enqueue(this.writeQueue,t,r.token)}read(t,r=Hke.Normal){if(r===Hke.Immediate){let a=Promise.resolve().then(()=>t());this.immediateReads.push(a);let o=X(()=>{this.immediateReads.splice(this.immediateReads.indexOf(a),1)},"remove");return a.then(o,o),a}return this.enqueue(this.readQueue,t)}enqueue(t,r,a=Bd.CancellationToken.None){let o=new zot,l={action:r,deferred:o,cancellationToken:a};return t.push(l),this.performNextOperation(),o.promise}async performNextOperation(){if(!this.done)return;let t=[];if(this.writeQueue.length>0)for(t.push(this.writeQueue.shift()),this.done=!1;this.immediateReads.length>0;)await Promise.allSettled(this.immediateReads.slice());else if(this.readQueue.length>0)t.push(...this.readQueue.splice(0,this.readQueue.length)),this.done=!1;else return;await Promise.all(t.map(async({action:r,deferred:a,cancellationToken:o})=>{try{let l=await Promise.resolve().then(()=>r(o));a.resolve(l)}catch(l){Kie(l)?a.resolve(void 0):a.reject(l)}})),this.done=!0,this.performNextOperation()}cancelWrite(){this.previousTokenSource.cancel()}},jai=class{static{i(this,"DefaultHydrator")}static{X(this,"DefaultHydrator")}constructor(t){this.grammarElementIdMap=new hRr,this.tokenTypeIdMap=new hRr,this.cstNodeBuilder=new HIr,this.grammar=t.Grammar,this.lexer=t.parser.Lexer,this.linker=t.references.Linker}dehydrate(t){return{lexerErrors:t.lexerErrors,lexerReport:t.lexerReport?this.dehydrateLexerReport(t.lexerReport):void 0,parserErrors:t.parserErrors.map(r=>({...r,message:r.message})),value:this.dehydrateAstNode(t.value,this.createDehyrationContext(t.value))}}dehydrateLexerReport(t){return t}createDehyrationContext(t){let r=new Map,a=new Map;for(let o of LS(t))r.set(o,{});if(t.$cstNode)for(let o of Lke(t.$cstNode))a.set(o,{});return{astNodes:r,cstNodes:a}}dehydrateAstNode(t,r){let a=r.astNodes.get(t);a.$type=t.$type,a.$containerIndex=t.$containerIndex,a.$containerProperty=t.$containerProperty,t.$cstNode!==void 0&&(a.$cstNode=this.dehydrateCstNode(t.$cstNode,r));for(let[o,l]of Object.entries(t))if(!o.startsWith("$"))if(Array.isArray(l)){let h=[];a[o]=h;for(let f of l)Am(f)?h.push(this.dehydrateAstNode(f,r)):fk(f)?h.push(this.dehydrateReference(f,r)):h.push(f)}else Am(l)?a[o]=this.dehydrateAstNode(l,r):fk(l)?a[o]=this.dehydrateReference(l,r):l!==void 0&&(a[o]=l);return a}dehydrateReference(t,r){let a={};return a.$refText=t.$refText,t.$refNode&&(a.$refNode=r.cstNodes.get(t.$refNode)),a}dehydrateCstNode(t,r){let a=r.cstNodes.get(t);if(jst(t)?a.fullText=t.fullText:a.grammarSource=this.getGrammarElementId(t.grammarSource),a.hidden=t.hidden,xV(t))a.content=t.content.map(o=>this.dehydrateCstNode(o,r));else if(Gst(t)){a.tokenType=t.tokenType.name,a.offset=t.offset,a.length=t.length;let{start:o,end:l}=t.range;a.startLine=o.line,a.startColumn=o.character,a.endLine=l.line,a.endColumn=l.character}return a}hydrate(t){let r=t.value,a=this.createHydrationContext(r);return"$cstNode"in r&&this.hydrateCstNode(r.$cstNode,a),{lexerErrors:t.lexerErrors,lexerReport:t.lexerReport,parserErrors:t.parserErrors,value:this.hydrateAstNode(r,a)}}createHydrationContext(t){let r=new Map,a=new Map;for(let o of LS(t))r.set(o,{});if(t.$cstNode)for(let o of Lke(t.$cstNode)){let l;"fullText"in o?l=new YIr(o.fullText):"content"in o?l=new Fot:"tokenType"in o&&(l=this.hydrateCstLeafNode(o)),l&&a.set(o,l)}return{astNodes:r,cstNodes:a,linkedCstNodes:new Set}}hydrateAstNode(t,r){let a=r.astNodes.get(t);if(a.$type=t.$type,a.$containerIndex=t.$containerIndex,a.$containerProperty=t.$containerProperty,t.$cstNode){let o=r.cstNodes.get(t.$cstNode);a.$cstNode=o,o&&!r.linkedCstNodes.has(o)&&(r.linkedCstNodes.add(o),o.astNode=a)}for(let[o,l]of Object.entries(t))if(!o.startsWith("$"))if(Array.isArray(l)){let h=[];a[o]=h;for(let f of l)Am(f)?h.push(this.setParent(this.hydrateAstNode(f,r),a)):fk(f)?h.push(this.hydrateReference(f,a,o,r)):h.push(f)}else Am(l)?a[o]=this.setParent(this.hydrateAstNode(l,r),a):fk(l)?a[o]=this.hydrateReference(l,a,o,r):l!==void 0&&(a[o]=l);return a}setParent(t,r){return t.$container=r,t}hydrateReference(t,r,a,o){return this.linker.buildReference(r,a,o.cstNodes.get(t.$refNode),t.$refText)}hydrateCstNode(t,r,a=0){let o=r.cstNodes.get(t);if(typeof t.grammarSource=="number"&&(o.grammarSource=this.getGrammarElement(t.grammarSource)),xV(o)){let l=[];for(let h of t.content)l.push(this.hydrateCstNode(h,r,a++));this.cstNodeBuilder.appendChildren(o,l)}return o}hydrateCstLeafNode(t){let r=this.getTokenType(t.tokenType);return new WIr(t.offset,t.length,t.startLine,t.startColumn,t.endLine,t.endColumn,r,t.hidden)}getTokenType(t){return this.lexer.definition[t]}getGrammarElementId(t){if(t)return this.grammarElementIdMap.size===0&&this.createGrammarElementIdMap(),this.grammarElementIdMap.get(t)}getGrammarElement(t){return this.grammarElementIdMap.size===0&&this.createGrammarElementIdMap(),this.grammarElementIdMap.getKey(t)}createGrammarElementIdMap(){let t=0;for(let r of LS(this.grammar))XRr(r)&&this.grammarElementIdMap.set(r,t++)}};i(cu,"createDefaultCoreModule");X(cu,"createDefaultCoreModule");i(uu,"createDefaultSharedCoreModule");X(uu,"createDefaultSharedCoreModule");(function(t){t.merge=(r,a)=>EV(EV({},r),a)})(gRr||(gRr={}));i(_o,"inject");X(_o,"inject");zai=Symbol("isProxy");i(Xot,"_inject");X(Xot,"_inject");mRr=Symbol();i($at,"_resolve");X($at,"_resolve");i(EV,"_merge");X(EV,"_merge");Uai=class{static{i(this,"EmptyFileSystemProvider")}static{X(this,"EmptyFileSystemProvider")}stat(t){throw new Error("No file system is available.")}statSync(t){throw new Error("No file system is available.")}async exists(){return!1}existsSync(){return!1}readBinary(){throw new Error("No file system is available.")}readBinarySync(){throw new Error("No file system is available.")}readFile(){throw new Error("No file system is available.")}readFileSync(){throw new Error("No file system is available.")}async readDirectory(){return[]}readDirectorySync(){return[]}},ku={fileSystemProvider:X(()=>new Uai,"fileSystemProvider")},Vai={Grammar:X(()=>{},"Grammar"),LanguageMetaData:X(()=>({caseInsensitive:!1,fileExtensions:[".langium"],languageId:"langium"}),"LanguageMetaData")},Hai={AstReflection:X(()=>new pLr,"AstReflection")};i(PNr,"createMinimalGrammarServices");X(PNr,"createMinimalGrammarServices");i(gy,"loadGrammarFromJson");X(gy,"loadGrammarFromJson");(t=>{t.Terminals={ARROW_DIRECTION:/L|R|T|B/,ARROW_GROUP:/\{group\}/,ARROW_INTO:/<|>/,ACC_DESCR:/[\t ]*accDescr(?:[\t ]*:([^\n\r]*?(?=%%)|[^\n\r]*)|\s*{([^}]*)})/,ACC_TITLE:/[\t ]*accTitle[\t ]*:(?:[^\n\r]*?(?=%%)|[^\n\r]*)/,TITLE:/[\t ]*title(?:[\t ][^\n\r]*?(?=%%)|[\t ][^\n\r]*|)/,STRING:/"([^"\\]|\\.)*"|'([^'\\]|\\.)*'/,ID:/[\w]([-\w]*\w)?/,NEWLINE:/\r?\n/,WHITESPACE:/[\t ]+/,YAML:/---[\t ]*\r?\n(?:[\S\s]*?\r?\n)?---(?:\r?\n|(?!\S))/,DIRECTIVE:/[\t ]*%%{[\S\s]*?}%%(?:\r?\n|(?!\S))/,SINGLE_LINE_COMMENT:/[\t ]*%%[^\n\r]*/,ARCH_ICON:/\([\w-:]+\)/,ARCH_TITLE:/\[(?:"([^"\\]|\\.)*"|'([^'\\]|\\.)*'|[^\[\]\r\n]+)\]/}})(Gat||(Gat={}));(t=>{t.Terminals={DOMAIN_NAME:/complex|complicated|clear|chaotic|confusion/,ACC_DESCR:/[\t ]*accDescr(?:[\t ]*:([^\n\r]*?(?=%%)|[^\n\r]*)|\s*{([^}]*)})/,ACC_TITLE:/[\t ]*accTitle[\t ]*:(?:[^\n\r]*?(?=%%)|[^\n\r]*)/,TITLE:/[\t ]*title(?:[\t ][^\n\r]*?(?=%%)|[\t ][^\n\r]*|)/,STRING:/"([^"\\]|\\.)*"|'([^'\\]|\\.)*'/,NEWLINE:/\r?\n/,WHITESPACE:/[\t ]+/,YAML:/---[\t ]*\r?\n(?:[\S\s]*?\r?\n)?---(?:\r?\n|(?!\S))/,DIRECTIVE:/[\t ]*%%{[\S\s]*?}%%(?:\r?\n|(?!\S))/,SINGLE_LINE_COMMENT:/[\t ]*%%[^\n\r]*/}})(jat||(jat={}));(t=>{t.Terminals={EM_ID:/[_a-zA-Z][\w_]*/,EM_FID:/\d{1,3}/,EM_DATA_INLINE:/\{(.*)\}|"(.*)"|'(.*)'/,EM_DATA_BLOCK:/\{[\t ]*\r?\n(?:[\S\s]*?\r?\n)?\}(?:\r?\n|(?!\S))/,EM_ACC_DESCR:/[\t ]*accDescr(?:[\t ]*:([^\n\r]*?(?=%%)|[^\n\r]*)|\s*{([^}]*)})/,EM_ACC_TITLE:/[\t ]*accTitle[\t ]*:(?:[^\n\r]*?(?=%%)|[^\n\r]*)/,EM_TITLE:/[\t ]*title(?:[\t ][^\n\r]*?(?=%%)|[\t ][^\n\r]*|)/,EM_WS:/\s+/,EM_YAML:/---[\t ]*\r?\n(?:[\S\s]*?\r?\n)?---(?:\r?\n|(?!\S))/,EM_DIRECTIVE:/[\t ]*%%{[\S\s]*?}%%(?:\r?\n|(?!\S))/,EM_SINGLE_LINE_COMMENT:/[\t ]*%%[^\n\r]*/,EM_ML_COMMENT:/\/\*[\s\S]*?\*\//,EM_SL_COMMENT:/\/\/[^\n\r]*/}})(zat||(zat={}));(t=>{t.Terminals={ACC_DESCR:/[\t ]*accDescr(?:[\t ]*:([^\n\r]*?(?=%%)|[^\n\r]*)|\s*{([^}]*)})/,ACC_TITLE:/[\t ]*accTitle[\t ]*:(?:[^\n\r]*?(?=%%)|[^\n\r]*)/,TITLE:/[\t ]*title(?:[\t ][^\n\r]*?(?=%%)|[\t ][^\n\r]*|)/,INT:/0|[1-9][0-9]*(?!\.)/,STRING:/"([^"\\]|\\.)*"|'([^'\\]|\\.)*'/,NEWLINE:/\r?\n/,WHITESPACE:/[\t ]+/,YAML:/---[\t ]*\r?\n(?:[\S\s]*?\r?\n)?---(?:\r?\n|(?!\S))/,DIRECTIVE:/[\t ]*%%{[\S\s]*?}%%(?:\r?\n|(?!\S))/,SINGLE_LINE_COMMENT:/[\t ]*%%[^\n\r]*/,REFERENCE:/\w([-\./\w]*[-\w])?/}})(Uat||(Uat={}));(t=>{t.Terminals={ACC_DESCR:/[\t ]*accDescr(?:[\t ]*:([^\n\r]*?(?=%%)|[^\n\r]*)|\s*{([^}]*)})/,ACC_TITLE:/[\t ]*accTitle[\t ]*:(?:[^\n\r]*?(?=%%)|[^\n\r]*)/,TITLE:/[\t ]*title(?:[\t ][^\n\r]*?(?=%%)|[\t ][^\n\r]*|)/,NEWLINE:/\r?\n/,WHITESPACE:/[\t ]+/,YAML:/---[\t ]*\r?\n(?:[\S\s]*?\r?\n)?---(?:\r?\n|(?!\S))/,DIRECTIVE:/[\t ]*%%{[\S\s]*?}%%(?:\r?\n|(?!\S))/,SINGLE_LINE_COMMENT:/[\t ]*%%[^\n\r]*/}})(Vat||(Vat={}));(t=>{t.Terminals={ACC_DESCR:/[\t ]*accDescr(?:[\t ]*:([^\n\r]*?(?=%%)|[^\n\r]*)|\s*{([^}]*)})/,ACC_TITLE:/[\t ]*accTitle[\t ]*:(?:[^\n\r]*?(?=%%)|[^\n\r]*)/,TITLE:/[\t ]*title(?:[\t ][^\n\r]*?(?=%%)|[\t ][^\n\r]*|)/,INT:/0|[1-9][0-9]*(?!\.)/,STRING:/"([^"\\]|\\.)*"|'([^'\\]|\\.)*'/,NEWLINE:/\r?\n/,WHITESPACE:/[\t ]+/,YAML:/---[\t ]*\r?\n(?:[\S\s]*?\r?\n)?---(?:\r?\n|(?!\S))/,DIRECTIVE:/[\t ]*%%{[\S\s]*?}%%(?:\r?\n|(?!\S))/,SINGLE_LINE_COMMENT:/[\t ]*%%[^\n\r]*/}})(Hat||(Hat={}));(t=>{t.Terminals={NUMBER_PIE:/(?:-?[0-9]+\.[0-9]+(?!\.))|(?:-?(0|[1-9][0-9]*)(?!\.))/,ACC_DESCR:/[\t ]*accDescr(?:[\t ]*:([^\n\r]*?(?=%%)|[^\n\r]*)|\s*{([^}]*)})/,ACC_TITLE:/[\t ]*accTitle[\t ]*:(?:[^\n\r]*?(?=%%)|[^\n\r]*)/,TITLE:/[\t ]*title(?:[\t ][^\n\r]*?(?=%%)|[\t ][^\n\r]*|)/,STRING:/"([^"\\]|\\.)*"|'([^'\\]|\\.)*'/,NEWLINE:/\r?\n/,WHITESPACE:/[\t ]+/,YAML:/---[\t ]*\r?\n(?:[\S\s]*?\r?\n)?---(?:\r?\n|(?!\S))/,DIRECTIVE:/[\t ]*%%{[\S\s]*?}%%(?:\r?\n|(?!\S))/,SINGLE_LINE_COMMENT:/[\t ]*%%[^\n\r]*/}})(qat||(qat={}));(t=>{t.Terminals={GRATICULE:/circle|polygon/,BOOLEAN:/true|false/,ACC_DESCR:/[\t ]*accDescr(?:[\t ]*:([^\n\r]*?(?=%%)|[^\n\r]*)|\s*{([^}]*)})/,ACC_TITLE:/[\t ]*accTitle[\t ]*:(?:[^\n\r]*?(?=%%)|[^\n\r]*)/,TITLE:/[\t ]*title(?:[\t ][^\n\r]*?(?=%%)|[\t ][^\n\r]*|)/,NUMBER:/(?:[0-9]+\.[0-9]+(?!\.))|(?:0|[1-9][0-9]*(?!\.))/,STRING:/"([^"\\]|\\.)*"|'([^'\\]|\\.)*'/,ID:/[\w]([-\w]*\w)?/,NEWLINE:/\r?\n/,WHITESPACE:/[\t ]+/,YAML:/---[\t ]*\r?\n(?:[\S\s]*?\r?\n)?---(?:\r?\n|(?!\S))/,DIRECTIVE:/[\t ]*%%{[\S\s]*?}%%(?:\r?\n|(?!\S))/,SINGLE_LINE_COMMENT:/[\t ]*%%[^\n\r]*/}})(Wat||(Wat={}));(t=>{t.Terminals={TITLE:/title(?:[\t ][^\n\r]*?(?=%%)|[\t ][^\n\r]*|)/,ACC_TITLE:/accTitle[\t ]*:(?:[^\n\r]*?(?=%%)|[^\n\r]*)/,ACC_DESCR:/accDescr(?:[\t ]*:([^\n\r]*?(?=%%)|[^\n\r]*)|\s*{([^}]*)})/,ABNF_RULENAME:/[A-Za-z][A-Za-z0-9-]*/,ABNF_STRING:/"[^"]*"/,ABNF_NUMVAL:/%[xXdDbB][0-9A-Fa-f]+(?:-[0-9A-Fa-f]+|\.[0-9A-Fa-f]+)*/,ABNF_REPEAT:/[0-9]*\*[0-9]*/,ABNF_EXACT_REPEAT:/[0-9]+/,ABNF_WHITESPACE:/[\t \r\n]+/,ABNF_YAML:/---[\t ]*\r?\n(?:[\S\s]*?\r?\n)?---(?:\r?\n|(?!\S))/,ABNF_DIRECTIVE:/[\t ]*%%{[\S\s]*?}%%(?:\r?\n|(?!\S))/,ABNF_SINGLE_LINE_COMMENT:/[\t ]*%%[^\n\r]*/,ABNF_COMMENT:/;[^\n\r]*/}})(Yat||(Yat={}));(t=>{t.Terminals={TITLE:/title(?:[\t ][^\n\r]*?(?=%%)|[\t ][^\n\r]*|)/,ACC_TITLE:/accTitle[\t ]*:(?:[^\n\r]*?(?=%%)|[^\n\r]*)/,ACC_DESCR:/accDescr(?:[\t ]*:([^\n\r]*?(?=%%)|[^\n\r]*)|\s*{([^}]*)})/,EBNF_ID:/[A-Z_a-z][\w-]*/,EBNF_STRING:/"([^"\\]|\\.)*"|'([^'\\]|\\.)*'/,EBNF_SPECIAL_SEQUENCE:/\?(?=[^?;]*[^?\s;][^?;]*\?)[^?;]*\?/,EBNF_WHITESPACE:/[\t \r\n]+/,EBNF_YAML:/---[\t ]*\r?\n(?:[\S\s]*?\r?\n)?---(?:\r?\n|(?!\S))/,EBNF_DIRECTIVE:/[\t ]*%%{[\S\s]*?}%%(?:\r?\n|(?!\S))/,EBNF_SINGLE_LINE_COMMENT:/[\t ]*%%[^\n\r]*/,EBNF_BLOCK_COMMENT:/\/\*[\s\S]*?\*\//,EBNF_ISO_COMMENT:/\(\*[\s\S]*?\*\)/}})(Kat||(Kat={}));(t=>{t.Terminals={TITLE:/title(?:[\t ][^\n\r]*?(?=%%)|[\t ][^\n\r]*|)/,ACC_TITLE:/accTitle[\t ]*:(?:[^\n\r]*?(?=%%)|[^\n\r]*)/,ACC_DESCR:/accDescr(?:[\t ]*:([^\n\r]*?(?=%%)|[^\n\r]*)|\s*{([^}]*)})/,RR_ID:/[A-Z_a-z][\w-]*/,RR_STRING:/"([^"\\]|\\.)*"|'([^'\\]|\\.)*'/,RR_WHITESPACE:/[\t \r\n]+/,RR_YAML:/---[\t ]*\r?\n(?:[\S\s]*?\r?\n)?---(?:\r?\n|(?!\S))/,RR_DIRECTIVE:/[\t ]*%%{[\S\s]*?}%%(?:\r?\n|(?!\S))/,RR_SINGLE_LINE_COMMENT:/[\t ]*%%[^\n\r]*/,RR_BLOCK_COMMENT:/\/\*[\s\S]*?\*\//}})(Xat||(Xat={}));(t=>{t.Terminals={TITLE:/title(?:[\t ][^\n\r]*?(?=%%)|[\t ][^\n\r]*|)/,ACC_TITLE:/accTitle[\t ]*:(?:[^\n\r]*?(?=%%)|[^\n\r]*)/,ACC_DESCR:/accDescr(?:[\t ]*:([^\n\r]*?(?=%%)|[^\n\r]*)|\s*{([^}]*)})/,PEG_ID:/[A-Z_a-z][\w-]*/,PEG_STRING:/"([^"\\]|\\.)*"|'([^'\\]|\\.)*'/,PEG_WHITESPACE:/[\t \r\n]+/,PEG_YAML:/---[\t ]*\r?\n(?:[\S\s]*?\r?\n)?---(?:\r?\n|(?!\S))/,PEG_DIRECTIVE:/[\t ]*%%{[\S\s]*?}%%(?:\r?\n|(?!\S))/,PEG_SINGLE_LINE_COMMENT:/[\t ]*%%[^\n\r]*/,PEG_LINE_COMMENT:/#[^\n\r]*/}})(Qat||(Qat={}));(t=>{t.Terminals={ACC_DESCR:/[\t ]*accDescr(?:[\t ]*:([^\n\r]*?(?=%%)|[^\n\r]*)|\s*{([^}]*)})/,ACC_TITLE:/[\t ]*accTitle[\t ]*:(?:[^\n\r]*?(?=%%)|[^\n\r]*)/,TITLE:/[\t ]*title(?:[\t ][^\n\r]*?(?=%%)|[\t ][^\n\r]*|)/,TREEMAP_KEYWORD:/treemap-beta|treemap/,CLASS_DEF:/classDef\s+([a-zA-Z_][a-zA-Z0-9_]+)(?:\s+([^;\r\n]*))?(?:;)?/,STYLE_SEPARATOR:/:::/,SEPARATOR:/:/,COMMA:/,/,INDENTATION:/[ \t]{1,}/,WS:/[ \t]+/,ML_COMMENT:/\%\%[^\n]*/,NL:/\r?\n/,ID2:/[a-zA-Z_][a-zA-Z0-9_]*/,NUMBER2:/[0-9_\.\,]+/,STRING2:/"[^"]*"|'[^']*'/}})(Jat||(Jat={}));(t=>{t.Terminals={ACC_DESCR:/[\t ]*accDescr(?:[\t ]*:([^\n\r]*?(?=%%)|[^\n\r]*)|\s*{([^}]*)})/,ACC_TITLE:/[\t ]*accTitle[\t ]*:(?:[^\n\r]*?(?=%%)|[^\n\r]*)/,TITLE:/[\t ]*title(?:[\t ][^\n\r]*?(?=%%)|[\t ][^\n\r]*|)/,CLASS_ANNOTATION:/[ \t]+:::[ \t]*[A-Za-z_][\w-]*/,ICON_ANNOTATION:/[ \t]+icon\([\w-]*(?::[\w-]+)?\)/,DESC_ANNOTATION:/[ \t]+##[^\n\r]*/,INDENTATION:/[ \t]{1,}/,QUOTED_NAME:/"[^"]*"|'[^']*'/,WS:/[ \t]+/,ML_COMMENT:/\%\%[^\n]*/,NL:/\r?\n/,BARE_NAME:/(?!:::|icon\(|##)[^ \t\n\r"'](?:(?![ \t]+:::[ \t]*[A-Za-z_]|[ \t]+icon\(|[ \t]+##)[^\n\r])*/}})(Zat||(Zat={}));(t=>{t.Terminals={WARDLEY_NUMBER:/[0-9]+\.[0-9]+/,ARROW:/->/,LINK_PORT:/\+<>|\+>|\+|-\.->|>|\+'[^']*'<>|\+'[^']*'<|\+'[^']*'>/,LINK_LABEL:/;[^\n\r]+/,STRATEGY:/build|buy|outsource|market/,KW_WARDLEY:/wardley-beta/,KW_SIZE:/size/,KW_EVOLUTION:/evolution/,KW_ANCHOR:/anchor/,KW_COMPONENT:/component/,KW_LABEL:/label/,KW_INERTIA:/inertia/,KW_EVOLVE:/evolve/,KW_PIPELINE:/pipeline/,KW_NOTE:/note/,KW_ANNOTATIONS:/annotations/,KW_ANNOTATION:/annotation/,KW_ACCELERATOR:/accelerator/,KW_DEACCELERATOR:/deaccelerator/,NAME_WITH_SPACES:/(?!title\s|accTitle|accDescr)[A-Za-z](?:[A-Za-z0-9_()&]|-(?!>))*(?:[ \t]+[A-Za-z(](?:[A-Za-z0-9_()&]|-(?!>))*)*/,WS:/[ \t]+/,ACC_DESCR:/[\t ]*accDescr(?:[\t ]*:([^\n\r]*?(?=%%)|[^\n\r]*)|\s*{([^}]*)})/,ACC_TITLE:/[\t ]*accTitle[\t ]*:(?:[^\n\r]*?(?=%%)|[^\n\r]*)/,TITLE:/[\t ]*title(?:[\t ][^\n\r]*?(?=%%)|[\t ][^\n\r]*|)/,INT:/0|[1-9][0-9]*(?!\.)/,STRING:/"([^"\\]|\\.)*"|'([^'\\]|\\.)*'/,ID:/[\w]([-\w]*\w)?/,NEWLINE:/\r?\n/,WHITESPACE:/[\t ]+/,YAML:/---[\t ]*\r?\n(?:[\S\s]*?\r?\n)?---(?:\r?\n|(?!\S))/,DIRECTIVE:/[\t ]*%%{[\S\s]*?}%%(?:\r?\n|(?!\S))/,SINGLE_LINE_COMMENT:/[\t ]*%%[^\n\r]*/}})(est||(est={}));wqa={...Gat.Terminals,...jat.Terminals,...zat.Terminals,...Uat.Terminals,...Vat.Terminals,...Hat.Terminals,...qat.Terminals,...Wat.Terminals,...Yat.Terminals,...Kat.Terminals,...Xat.Terminals,...Qat.Terminals,...Zat.Terminals,...Jat.Terminals,...est.Terminals},tst={$type:"AbnfAlternation",alternatives:"alternatives"},rst={$type:"AbnfConcatenation",elements:"elements"},bke={$type:"AbnfElement",primary:"primary",repeat:"repeat"},nst={$type:"AbnfGroup",element:"element"},ist={$type:"AbnfNumVal",value:"value"},ast={$type:"AbnfOptionalGroup",element:"element"},rP={$type:"AbnfPrimary"},vke={$type:"AbnfRule",definition:"definition",name:"name"},sst={$type:"AbnfRuleName",name:"name"},ost={$type:"AbnfStringLiteral",value:"value"},_Te={$type:"Accelerator",name:"name",x:"x",y:"y"},Nnt={$type:"Alignment",direction:"direction",members:"members"},MTe={$type:"Anchor",evolution:"evolution",name:"name",visibility:"visibility"},Xne={$type:"Annotation",number:"number",text:"text",x:"x",y:"y"},Ont={$type:"Annotations",x:"x",y:"y"},_4={$type:"Architecture",accDescr:"accDescr",accTitle:"accTitle",alignments:"alignments",edges:"edges",groups:"groups",junctions:"junctions",services:"services",title:"title"};i(BNr,"isArchitecture");X(BNr,"isArchitecture");ITe={$type:"Axis",label:"label",name:"name"},Tie={$type:"Branch",name:"name",order:"order"};i(FNr,"isBranch");X(FNr,"isBranch");yRr={$type:"Checkout",branch:"branch"},NTe={$type:"CherryPicking",id:"id",parent:"parent",tags:"tags"},Pnt={$type:"ClassDefStatement",className:"className",styleText:"styleText"},sP={$type:"Commit",id:"id",message:"message",tags:"tags",type:"type"};i($Nr,"isCommit");X($Nr,"isCommit");OTe={$type:"Common",accDescr:"accDescr",accTitle:"accTitle",title:"title"},HO={$type:"Component",decorator:"decorator",evolution:"evolution",inertia:"inertia",label:"label",name:"name",visibility:"visibility"},PTe={$type:"Curve",entries:"entries",label:"label",name:"name"},$D={$type:"Cynefin",accDescr:"accDescr",accTitle:"accTitle",domains:"domains",title:"title",transitions:"transitions"};i(GNr,"isCynefin");X(GNr,"isCynefin");BTe={$type:"Deaccelerator",name:"name",x:"x",y:"y"},bRr={$type:"Decorator",strategy:"strategy"},XU={$type:"Direction",accDescr:"accDescr",accTitle:"accTitle",dir:"dir",statements:"statements",title:"title"},kie={$type:"DomainBlock",domain:"domain",items:"items"};i(jNr,"isDomainBlock");X(jNr,"isDomainBlock");qke={$type:"DomainItem",label:"label"};i(zNr,"isDomainItem");X(zNr,"isDomainItem");lst={$type:"EbnfChoice",alternatives:"alternatives"},cst={$type:"EbnfExceptionPostfix",except:"except"},ust={$type:"EbnfGroup",element:"element"},hst={$type:"EbnfNonTerminal",name:"name"},fst={$type:"EbnfOneOrMorePostfix",operator:"operator"},dst={$type:"EbnfOptional",element:"element"},pst={$type:"EbnfOptionalPostfix",operator:"operator"},hV={$type:"EbnfPostfix"},PD={$type:"EbnfPrimary"},gst={$type:"EbnfRepetition",element:"element"},wke={$type:"EbnfRule",definition:"definition",name:"name"},mst={$type:"EbnfSequence",elements:"elements"},yst={$type:"EbnfSpecial",text:"text"},xke={$type:"EbnfTerm",base:"base",postfixes:"postfixes"},bst={$type:"EbnfTerminal",value:"value"},vst={$type:"EbnfZeroOrMorePostfix",operator:"operator"},kS={$type:"Edge",lhsDir:"lhsDir",lhsGroup:"lhsGroup",lhsId:"lhsId",lhsInto:"lhsInto",rhsDir:"rhsDir",rhsGroup:"rhsGroup",rhsId:"rhsId",rhsInto:"rhsInto",title:"title"},nP={$type:"EmDataEntity",dataBlockValue:"dataBlockValue",dataType:"dataType",name:"name"},BD={$type:"EmFrame"},Qne={$type:"EmGwt",givenStatements:"givenStatements",sourceFrame:"sourceFrame",thenStatements:"thenStatements",whenStatements:"whenStatements"},vRr={$type:"EmGwtStatement",entityIdentifier:"entityIdentifier"},Bnt={$type:"EmModelEntity",name:"name"};i(UNr,"isEmModelEntityType");X(UNr,"isEmModelEntityType");FTe={$type:"EmNoteEntity",dataBlockValue:"dataBlockValue",dataType:"dataType",sourceFrame:"sourceFrame"},DA={$type:"EmResetFrame",dataInlineValue:"dataInlineValue",dataReference:"dataReference",dataType:"dataType",entityIdentifier:"entityIdentifier",modelEntityType:"modelEntityType",name:"name",sourceFrames:"sourceFrames"};i(E3e,"isEmResetFrame");X(E3e,"isEmResetFrame");MD={$type:"EmTimeFrame",dataInlineValue:"dataInlineValue",dataReference:"dataReference",dataType:"dataType",entityIdentifier:"entityIdentifier",modelEntityType:"modelEntityType",name:"name",sourceFrames:"sourceFrames"},Fnt={$type:"Entry",axis:"axis",value:"value"},SS={$type:"EventModel",accDescr:"accDescr",accTitle:"accTitle",dataEntities:"dataEntities",frames:"frames",gwtEntities:"gwtEntities",modelEntities:"modelEntities",noteEntities:"noteEntities",title:"title"},wRr={$type:"Evolution",stages:"stages"},$Te={$type:"EvolutionStage",boundary:"boundary",name:"name",secondName:"secondName"},$nt={$type:"Evolve",component:"component",target:"target"},GD={$type:"GitGraph",accDescr:"accDescr",accTitle:"accTitle",statements:"statements",title:"title"};i(VNr,"isGitGraph");X(VNr,"isGitGraph");Jne={$type:"Group",icon:"icon",id:"id",in:"in",title:"title"},bV={$type:"Info",accDescr:"accDescr",accTitle:"accTitle",title:"title"};i(HNr,"isInfo");X(HNr,"isInfo");Zne={$type:"Item",classSelector:"classSelector",name:"name"},Gnt={$type:"Junction",id:"id",in:"in"},eie={$type:"Label",negX:"negX",negY:"negY",offsetX:"offsetX",offsetY:"offsetY"},GTe={$type:"Leaf",classSelector:"classSelector",name:"name",value:"value"},qO={$type:"Link",arrow:"arrow",from:"from",fromPort:"fromPort",linkLabel:"linkLabel",to:"to",toPort:"toPort"},oP={$type:"Merge",branch:"branch",id:"id",tags:"tags",type:"type"};i(qNr,"isMerge");X(qNr,"isMerge");jTe={$type:"Note",evolution:"evolution",text:"text",visibility:"visibility"},jnt={$type:"Option",name:"name",value:"value"},lP={$type:"Packet",accDescr:"accDescr",accTitle:"accTitle",blocks:"blocks",title:"title"};i(WNr,"isPacket");X(WNr,"isPacket");cP={$type:"PacketBlock",bits:"bits",end:"end",label:"label",start:"start"};i(YNr,"isPacketBlock");X(YNr,"isPacketBlock");wst={$type:"PegAny",dot:"dot"},xst={$type:"PegGroup",element:"element"},Tst={$type:"PegIdentifier",name:"name"},kst={$type:"PegLiteral",value:"value"},Cst={$type:"PegOrderedChoice",alternatives:"alternatives"},Tke={$type:"PegPrefix",operator:"operator",suffix:"suffix"},fV={$type:"PegPrimary"},kke={$type:"PegRule",definition:"definition",name:"name"},Est={$type:"PegSequence",elements:"elements"},Cke={$type:"PegSuffix",operator:"operator",primary:"primary"},jD={$type:"Pie",accDescr:"accDescr",accTitle:"accTitle",sections:"sections",showData:"showData",title:"title"};i(KNr,"isPie");X(KNr,"isPie");Cie={$type:"PieSection",label:"label",value:"value"};i(XNr,"isPieSection");X(XNr,"isPieSection");znt={$type:"Pipeline",components:"components",parent:"parent"},zTe={$type:"PipelineComponent",evolution:"evolution",label:"label",name:"name"},FD={$type:"Radar",accDescr:"accDescr",accTitle:"accTitle",axes:"axes",curves:"curves",options:"options",title:"title"},uP={$type:"Railroad",accDescr:"accDescr",accTitle:"accTitle",rules:"rules",title:"title"};i(QNr,"isRailroad");X(QNr,"isRailroad");hP={$type:"RailroadAbnf",accDescr:"accDescr",accTitle:"accTitle",rules:"rules",title:"title"};i(JNr,"isRailroadAbnf");X(JNr,"isRailroadAbnf");Sst={$type:"RailroadChoiceExpr",alternatives:"alternatives"},fP={$type:"RailroadEbnf",accDescr:"accDescr",accTitle:"accTitle",rules:"rules",title:"title"};i(ZNr,"isRailroadEbnf");X(ZNr,"isRailroadEbnf");AS={$type:"RailroadExpression"},Ast={$type:"RailroadNonTerminalExpr",name:"name"},Rst={$type:"RailroadOneOrMoreExpr",element:"element"},Lst={$type:"RailroadOptionalExpr",element:"element"},dP={$type:"RailroadPeg",accDescr:"accDescr",accTitle:"accTitle",rules:"rules",title:"title"};i(eOr,"isRailroadPeg");X(eOr,"isRailroadPeg");Eke={$type:"RailroadRule",definition:"definition",name:"name"},Dst={$type:"RailroadSequenceExpr",elements:"elements"},_st={$type:"RailroadSpecialExpr",text:"text"},Mst={$type:"RailroadTerminalExpr",value:"value"},Ist={$type:"RailroadZeroOrMoreExpr",element:"element"},Unt={$type:"Section",classSelector:"classSelector",name:"name"},QU={$type:"Service",icon:"icon",iconText:"iconText",id:"id",in:"in",title:"title"},Vnt={$type:"Size",height:"height",width:"width"},iP={$type:"Statement"},vV={$type:"Transition",from:"from",label:"label",to:"to"};i(tOr,"isTransition");X(tOr,"isTransition");pP={$type:"Treemap",accDescr:"accDescr",accTitle:"accTitle",title:"title",TreemapRows:"TreemapRows"};i(rOr,"isTreemap");X(rOr,"isTreemap");Hnt={$type:"TreemapRow",indent:"indent",item:"item"},aP={$type:"TreeNode",classAnnotation:"classAnnotation",descAnnotation:"descAnnotation",iconAnnotation:"iconAnnotation",indent:"indent",name:"name"},dV={$type:"TreeView",accDescr:"accDescr",accTitle:"accTitle",nodes:"nodes",title:"title"},Sm={$type:"Wardley",accDescr:"accDescr",accelerators:"accelerators",accTitle:"accTitle",anchors:"anchors",annotation:"annotation",annotations:"annotations",components:"components",deaccelerators:"deaccelerators",evolution:"evolution",evolves:"evolves",links:"links",notes:"notes",pipelines:"pipelines",size:"size",title:"title"};i(nOr,"isWardley");X(nOr,"isWardley");iOr=class extends qRr{static{i(this,"MermaidAstReflection")}constructor(){super(...arguments),this.types={AbnfAlternation:{name:tst.$type,properties:{alternatives:{name:tst.alternatives,defaultValue:[]}},superTypes:[]},AbnfConcatenation:{name:rst.$type,properties:{elements:{name:rst.elements,defaultValue:[]}},superTypes:[]},AbnfElement:{name:bke.$type,properties:{primary:{name:bke.primary},repeat:{name:bke.repeat,optional:!0}},superTypes:[]},AbnfGroup:{name:nst.$type,properties:{element:{name:nst.element}},superTypes:[rP.$type]},AbnfNumVal:{name:ist.$type,properties:{value:{name:ist.value}},superTypes:[rP.$type]},AbnfOptionalGroup:{name:ast.$type,properties:{element:{name:ast.element}},superTypes:[rP.$type]},AbnfPrimary:{name:rP.$type,properties:{},superTypes:[]},AbnfRule:{name:vke.$type,properties:{definition:{name:vke.definition},name:{name:vke.name}},superTypes:[]},AbnfRuleName:{name:sst.$type,properties:{name:{name:sst.name}},superTypes:[rP.$type]},AbnfStringLiteral:{name:ost.$type,properties:{value:{name:ost.value}},superTypes:[rP.$type]},Accelerator:{name:_Te.$type,properties:{name:{name:_Te.name},x:{name:_Te.x},y:{name:_Te.y}},superTypes:[]},Alignment:{name:Nnt.$type,properties:{direction:{name:Nnt.direction},members:{name:Nnt.members,defaultValue:[]}},superTypes:[]},Anchor:{name:MTe.$type,properties:{evolution:{name:MTe.evolution},name:{name:MTe.name},visibility:{name:MTe.visibility}},superTypes:[]},Annotation:{name:Xne.$type,properties:{number:{name:Xne.number},text:{name:Xne.text},x:{name:Xne.x},y:{name:Xne.y}},superTypes:[]},Annotations:{name:Ont.$type,properties:{x:{name:Ont.x},y:{name:Ont.y}},superTypes:[]},Architecture:{name:_4.$type,properties:{accDescr:{name:_4.accDescr,optional:!0},accTitle:{name:_4.accTitle,optional:!0},alignments:{name:_4.alignments,defaultValue:[],optional:!0},edges:{name:_4.edges,defaultValue:[],optional:!0},groups:{name:_4.groups,defaultValue:[],optional:!0},junctions:{name:_4.junctions,defaultValue:[],optional:!0},services:{name:_4.services,defaultValue:[],optional:!0},title:{name:_4.title,optional:!0}},superTypes:[]},Axis:{name:ITe.$type,properties:{label:{name:ITe.label,optional:!0},name:{name:ITe.name}},superTypes:[]},Branch:{name:Tie.$type,properties:{name:{name:Tie.name},order:{name:Tie.order}},superTypes:[iP.$type]},Checkout:{name:yRr.$type,properties:{branch:{name:yRr.branch}},superTypes:[iP.$type]},CherryPicking:{name:NTe.$type,properties:{id:{name:NTe.id},parent:{name:NTe.parent},tags:{name:NTe.tags,defaultValue:[]}},superTypes:[iP.$type]},ClassDefStatement:{name:Pnt.$type,properties:{className:{name:Pnt.className},styleText:{name:Pnt.styleText}},superTypes:[]},Commit:{name:sP.$type,properties:{id:{name:sP.id},message:{name:sP.message},tags:{name:sP.tags,defaultValue:[]},type:{name:sP.type}},superTypes:[iP.$type]},Common:{name:OTe.$type,properties:{accDescr:{name:OTe.accDescr,optional:!0},accTitle:{name:OTe.accTitle,optional:!0},title:{name:OTe.title,optional:!0}},superTypes:[]},Component:{name:HO.$type,properties:{decorator:{name:HO.decorator,optional:!0},evolution:{name:HO.evolution},inertia:{name:HO.inertia,defaultValue:!1},label:{name:HO.label,optional:!0},name:{name:HO.name},visibility:{name:HO.visibility}},superTypes:[]},Curve:{name:PTe.$type,properties:{entries:{name:PTe.entries,defaultValue:[]},label:{name:PTe.label,optional:!0},name:{name:PTe.name}},superTypes:[]},Cynefin:{name:$D.$type,properties:{accDescr:{name:$D.accDescr,optional:!0},accTitle:{name:$D.accTitle,optional:!0},domains:{name:$D.domains,defaultValue:[],optional:!0},title:{name:$D.title,optional:!0},transitions:{name:$D.transitions,defaultValue:[],optional:!0}},superTypes:[]},Deaccelerator:{name:BTe.$type,properties:{name:{name:BTe.name},x:{name:BTe.x},y:{name:BTe.y}},superTypes:[]},Decorator:{name:bRr.$type,properties:{strategy:{name:bRr.strategy}},superTypes:[]},Direction:{name:XU.$type,properties:{accDescr:{name:XU.accDescr},accTitle:{name:XU.accTitle},dir:{name:XU.dir},statements:{name:XU.statements,defaultValue:[]},title:{name:XU.title}},superTypes:[GD.$type]},DomainBlock:{name:kie.$type,properties:{domain:{name:kie.domain},items:{name:kie.items,defaultValue:[],optional:!0}},superTypes:[]},DomainItem:{name:qke.$type,properties:{label:{name:qke.label}},superTypes:[]},EbnfChoice:{name:lst.$type,properties:{alternatives:{name:lst.alternatives,defaultValue:[]}},superTypes:[]},EbnfExceptionPostfix:{name:cst.$type,properties:{except:{name:cst.except}},superTypes:[hV.$type]},EbnfGroup:{name:ust.$type,properties:{element:{name:ust.element}},superTypes:[PD.$type]},EbnfNonTerminal:{name:hst.$type,properties:{name:{name:hst.name}},superTypes:[PD.$type]},EbnfOneOrMorePostfix:{name:fst.$type,properties:{operator:{name:fst.operator}},superTypes:[hV.$type]},EbnfOptional:{name:dst.$type,properties:{element:{name:dst.element}},superTypes:[PD.$type]},EbnfOptionalPostfix:{name:pst.$type,properties:{operator:{name:pst.operator}},superTypes:[hV.$type]},EbnfPostfix:{name:hV.$type,properties:{},superTypes:[]},EbnfPrimary:{name:PD.$type,properties:{},superTypes:[]},EbnfRepetition:{name:gst.$type,properties:{element:{name:gst.element}},superTypes:[PD.$type]},EbnfRule:{name:wke.$type,properties:{definition:{name:wke.definition},name:{name:wke.name}},superTypes:[]},EbnfSequence:{name:mst.$type,properties:{elements:{name:mst.elements,defaultValue:[]}},superTypes:[]},EbnfSpecial:{name:yst.$type,properties:{text:{name:yst.text}},superTypes:[PD.$type]},EbnfTerm:{name:xke.$type,properties:{base:{name:xke.base},postfixes:{name:xke.postfixes,defaultValue:[]}},superTypes:[]},EbnfTerminal:{name:bst.$type,properties:{value:{name:bst.value}},superTypes:[PD.$type]},EbnfZeroOrMorePostfix:{name:vst.$type,properties:{operator:{name:vst.operator}},superTypes:[hV.$type]},Edge:{name:kS.$type,properties:{lhsDir:{name:kS.lhsDir},lhsGroup:{name:kS.lhsGroup,defaultValue:!1,optional:!0},lhsId:{name:kS.lhsId},lhsInto:{name:kS.lhsInto,defaultValue:!1,optional:!0},rhsDir:{name:kS.rhsDir},rhsGroup:{name:kS.rhsGroup,defaultValue:!1,optional:!0},rhsId:{name:kS.rhsId},rhsInto:{name:kS.rhsInto,defaultValue:!1,optional:!0},title:{name:kS.title,optional:!0}},superTypes:[]},EmDataEntity:{name:nP.$type,properties:{dataBlockValue:{name:nP.dataBlockValue},dataType:{name:nP.dataType,optional:!0},name:{name:nP.name}},superTypes:[]},EmFrame:{name:BD.$type,properties:{},superTypes:[]},EmGwt:{name:Qne.$type,properties:{givenStatements:{name:Qne.givenStatements,defaultValue:[]},sourceFrame:{name:Qne.sourceFrame,referenceType:BD.$type},thenStatements:{name:Qne.thenStatements,defaultValue:[]},whenStatements:{name:Qne.whenStatements,defaultValue:[],optional:!0}},superTypes:[]},EmGwtStatement:{name:vRr.$type,properties:{entityIdentifier:{name:vRr.entityIdentifier,referenceType:Bnt.$type}},superTypes:[]},EmModelEntity:{name:Bnt.$type,properties:{name:{name:Bnt.name}},superTypes:[]},EmNoteEntity:{name:FTe.$type,properties:{dataBlockValue:{name:FTe.dataBlockValue},dataType:{name:FTe.dataType,optional:!0},sourceFrame:{name:FTe.sourceFrame,referenceType:BD.$type}},superTypes:[]},EmResetFrame:{name:DA.$type,properties:{dataInlineValue:{name:DA.dataInlineValue,optional:!0},dataReference:{name:DA.dataReference,referenceType:nP.$type,optional:!0},dataType:{name:DA.dataType,optional:!0},entityIdentifier:{name:DA.entityIdentifier},modelEntityType:{name:DA.modelEntityType},name:{name:DA.name},sourceFrames:{name:DA.sourceFrames,defaultValue:[],referenceType:BD.$type,optional:!0}},superTypes:[BD.$type]},EmTimeFrame:{name:MD.$type,properties:{dataInlineValue:{name:MD.dataInlineValue,optional:!0},dataReference:{name:MD.dataReference,referenceType:nP.$type,optional:!0},dataType:{name:MD.dataType,optional:!0},entityIdentifier:{name:MD.entityIdentifier},modelEntityType:{name:MD.modelEntityType},name:{name:MD.name},sourceFrames:{name:MD.sourceFrames,defaultValue:[],referenceType:BD.$type,optional:!0}},superTypes:[BD.$type]},Entry:{name:Fnt.$type,properties:{axis:{name:Fnt.axis,referenceType:ITe.$type,optional:!0},value:{name:Fnt.value}},superTypes:[]},EventModel:{name:SS.$type,properties:{accDescr:{name:SS.accDescr,optional:!0},accTitle:{name:SS.accTitle,optional:!0},dataEntities:{name:SS.dataEntities,defaultValue:[],optional:!0},frames:{name:SS.frames,defaultValue:[],optional:!0},gwtEntities:{name:SS.gwtEntities,defaultValue:[],optional:!0},modelEntities:{name:SS.modelEntities,defaultValue:[],optional:!0},noteEntities:{name:SS.noteEntities,defaultValue:[],optional:!0},title:{name:SS.title,optional:!0}},superTypes:[]},Evolution:{name:wRr.$type,properties:{stages:{name:wRr.stages,defaultValue:[]}},superTypes:[]},EvolutionStage:{name:$Te.$type,properties:{boundary:{name:$Te.boundary,optional:!0},name:{name:$Te.name},secondName:{name:$Te.secondName,optional:!0}},superTypes:[]},Evolve:{name:$nt.$type,properties:{component:{name:$nt.component},target:{name:$nt.target}},superTypes:[]},GitGraph:{name:GD.$type,properties:{accDescr:{name:GD.accDescr},accTitle:{name:GD.accTitle},statements:{name:GD.statements,defaultValue:[]},title:{name:GD.title}},superTypes:[]},Group:{name:Jne.$type,properties:{icon:{name:Jne.icon,optional:!0},id:{name:Jne.id},in:{name:Jne.in},title:{name:Jne.title,optional:!0}},superTypes:[]},Info:{name:bV.$type,properties:{accDescr:{name:bV.accDescr,optional:!0},accTitle:{name:bV.accTitle,optional:!0},title:{name:bV.title,optional:!0}},superTypes:[]},Item:{name:Zne.$type,properties:{classSelector:{name:Zne.classSelector,optional:!0},name:{name:Zne.name}},superTypes:[]},Junction:{name:Gnt.$type,properties:{id:{name:Gnt.id},in:{name:Gnt.in}},superTypes:[]},Label:{name:eie.$type,properties:{negX:{name:eie.negX,defaultValue:!1,optional:!0},negY:{name:eie.negY,defaultValue:!1,optional:!0},offsetX:{name:eie.offsetX},offsetY:{name:eie.offsetY}},superTypes:[]},Leaf:{name:GTe.$type,properties:{classSelector:{name:GTe.classSelector,optional:!0},name:{name:GTe.name},value:{name:GTe.value}},superTypes:[Zne.$type]},Link:{name:qO.$type,properties:{arrow:{name:qO.arrow,optional:!0},from:{name:qO.from},fromPort:{name:qO.fromPort,optional:!0},linkLabel:{name:qO.linkLabel,optional:!0},to:{name:qO.to},toPort:{name:qO.toPort,optional:!0}},superTypes:[]},Merge:{name:oP.$type,properties:{branch:{name:oP.branch},id:{name:oP.id},tags:{name:oP.tags,defaultValue:[]},type:{name:oP.type}},superTypes:[iP.$type]},Note:{name:jTe.$type,properties:{evolution:{name:jTe.evolution},text:{name:jTe.text},visibility:{name:jTe.visibility}},superTypes:[]},Option:{name:jnt.$type,properties:{name:{name:jnt.name},value:{name:jnt.value,defaultValue:!1}},superTypes:[]},Packet:{name:lP.$type,properties:{accDescr:{name:lP.accDescr,optional:!0},accTitle:{name:lP.accTitle,optional:!0},blocks:{name:lP.blocks,defaultValue:[],optional:!0},title:{name:lP.title,optional:!0}},superTypes:[]},PacketBlock:{name:cP.$type,properties:{bits:{name:cP.bits},end:{name:cP.end,optional:!0},label:{name:cP.label},start:{name:cP.start}},superTypes:[]},PegAny:{name:wst.$type,properties:{dot:{name:wst.dot}},superTypes:[fV.$type]},PegGroup:{name:xst.$type,properties:{element:{name:xst.element}},superTypes:[fV.$type]},PegIdentifier:{name:Tst.$type,properties:{name:{name:Tst.name}},superTypes:[fV.$type]},PegLiteral:{name:kst.$type,properties:{value:{name:kst.value}},superTypes:[fV.$type]},PegOrderedChoice:{name:Cst.$type,properties:{alternatives:{name:Cst.alternatives,defaultValue:[]}},superTypes:[]},PegPrefix:{name:Tke.$type,properties:{operator:{name:Tke.operator,optional:!0},suffix:{name:Tke.suffix}},superTypes:[]},PegPrimary:{name:fV.$type,properties:{},superTypes:[]},PegRule:{name:kke.$type,properties:{definition:{name:kke.definition},name:{name:kke.name}},superTypes:[]},PegSequence:{name:Est.$type,properties:{elements:{name:Est.elements,defaultValue:[]}},superTypes:[]},PegSuffix:{name:Cke.$type,properties:{operator:{name:Cke.operator,optional:!0},primary:{name:Cke.primary}},superTypes:[]},Pie:{name:jD.$type,properties:{accDescr:{name:jD.accDescr,optional:!0},accTitle:{name:jD.accTitle,optional:!0},sections:{name:jD.sections,defaultValue:[],optional:!0},showData:{name:jD.showData,defaultValue:!1,optional:!0},title:{name:jD.title,optional:!0}},superTypes:[]},PieSection:{name:Cie.$type,properties:{label:{name:Cie.label},value:{name:Cie.value}},superTypes:[]},Pipeline:{name:znt.$type,properties:{components:{name:znt.components,defaultValue:[]},parent:{name:znt.parent}},superTypes:[]},PipelineComponent:{name:zTe.$type,properties:{evolution:{name:zTe.evolution},label:{name:zTe.label,optional:!0},name:{name:zTe.name}},superTypes:[]},Radar:{name:FD.$type,properties:{accDescr:{name:FD.accDescr,optional:!0},accTitle:{name:FD.accTitle,optional:!0},axes:{name:FD.axes,defaultValue:[],optional:!0},curves:{name:FD.curves,defaultValue:[],optional:!0},options:{name:FD.options,defaultValue:[],optional:!0},title:{name:FD.title,optional:!0}},superTypes:[]},Railroad:{name:uP.$type,properties:{accDescr:{name:uP.accDescr,optional:!0},accTitle:{name:uP.accTitle,optional:!0},rules:{name:uP.rules,defaultValue:[]},title:{name:uP.title,optional:!0}},superTypes:[]},RailroadAbnf:{name:hP.$type,properties:{accDescr:{name:hP.accDescr,optional:!0},accTitle:{name:hP.accTitle,optional:!0},rules:{name:hP.rules,defaultValue:[]},title:{name:hP.title,optional:!0}},superTypes:[]},RailroadChoiceExpr:{name:Sst.$type,properties:{alternatives:{name:Sst.alternatives,defaultValue:[]}},superTypes:[AS.$type]},RailroadEbnf:{name:fP.$type,properties:{accDescr:{name:fP.accDescr,optional:!0},accTitle:{name:fP.accTitle,optional:!0},rules:{name:fP.rules,defaultValue:[]},title:{name:fP.title,optional:!0}},superTypes:[]},RailroadExpression:{name:AS.$type,properties:{},superTypes:[]},RailroadNonTerminalExpr:{name:Ast.$type,properties:{name:{name:Ast.name}},superTypes:[AS.$type]},RailroadOneOrMoreExpr:{name:Rst.$type,properties:{element:{name:Rst.element}},superTypes:[AS.$type]},RailroadOptionalExpr:{name:Lst.$type,properties:{element:{name:Lst.element}},superTypes:[AS.$type]},RailroadPeg:{name:dP.$type,properties:{accDescr:{name:dP.accDescr,optional:!0},accTitle:{name:dP.accTitle,optional:!0},rules:{name:dP.rules,defaultValue:[]},title:{name:dP.title,optional:!0}},superTypes:[]},RailroadRule:{name:Eke.$type,properties:{definition:{name:Eke.definition},name:{name:Eke.name}},superTypes:[]},RailroadSequenceExpr:{name:Dst.$type,properties:{elements:{name:Dst.elements,defaultValue:[]}},superTypes:[AS.$type]},RailroadSpecialExpr:{name:_st.$type,properties:{text:{name:_st.text}},superTypes:[AS.$type]},RailroadTerminalExpr:{name:Mst.$type,properties:{value:{name:Mst.value}},superTypes:[AS.$type]},RailroadZeroOrMoreExpr:{name:Ist.$type,properties:{element:{name:Ist.element}},superTypes:[AS.$type]},Section:{name:Unt.$type,properties:{classSelector:{name:Unt.classSelector,optional:!0},name:{name:Unt.name}},superTypes:[Zne.$type]},Service:{name:QU.$type,properties:{icon:{name:QU.icon,optional:!0},iconText:{name:QU.iconText,optional:!0},id:{name:QU.id},in:{name:QU.in},title:{name:QU.title,optional:!0}},superTypes:[]},Size:{name:Vnt.$type,properties:{height:{name:Vnt.height},width:{name:Vnt.width}},superTypes:[]},Statement:{name:iP.$type,properties:{},superTypes:[]},Transition:{name:vV.$type,properties:{from:{name:vV.from},label:{name:vV.label},to:{name:vV.to}},superTypes:[]},TreeNode:{name:aP.$type,properties:{classAnnotation:{name:aP.classAnnotation,optional:!0},descAnnotation:{name:aP.descAnnotation,optional:!0},iconAnnotation:{name:aP.iconAnnotation,optional:!0},indent:{name:aP.indent,optional:!0},name:{name:aP.name}},superTypes:[]},TreeView:{name:dV.$type,properties:{accDescr:{name:dV.accDescr,optional:!0},accTitle:{name:dV.accTitle,optional:!0},nodes:{name:dV.nodes,defaultValue:[]},title:{name:dV.title,optional:!0}},superTypes:[]},Treemap:{name:pP.$type,properties:{accDescr:{name:pP.accDescr,optional:!0},accTitle:{name:pP.accTitle,optional:!0},title:{name:pP.title,optional:!0},TreemapRows:{name:pP.TreemapRows,defaultValue:[]}},superTypes:[]},TreemapRow:{name:Hnt.$type,properties:{indent:{name:Hnt.indent,optional:!0},item:{name:Hnt.item}},superTypes:[]},Wardley:{name:Sm.$type,properties:{accDescr:{name:Sm.accDescr,optional:!0},accelerators:{name:Sm.accelerators,defaultValue:[],optional:!0},accTitle:{name:Sm.accTitle,optional:!0},anchors:{name:Sm.anchors,defaultValue:[],optional:!0},annotation:{name:Sm.annotation,defaultValue:[],optional:!0},annotations:{name:Sm.annotations,defaultValue:[],optional:!0},components:{name:Sm.components,defaultValue:[],optional:!0},deaccelerators:{name:Sm.deaccelerators,defaultValue:[],optional:!0},evolution:{name:Sm.evolution,optional:!0},evolves:{name:Sm.evolves,defaultValue:[],optional:!0},links:{name:Sm.links,defaultValue:[],optional:!0},notes:{name:Sm.notes,defaultValue:[],optional:!0},pipelines:{name:Sm.pipelines,defaultValue:[],optional:!0},size:{name:Sm.size,optional:!0},title:{name:Sm.title,optional:!0}},superTypes:[]}}}static{X(this,"MermaidAstReflection")}},rg=new iOr,qai=X(()=>xRr??(xRr=gy(`{"$type":"Grammar","isDeclared":true,"name":"ArchitectureGrammar","imports":[],"rules":[{"$type":"ParserRule","entry":true,"name":"Architecture","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@24"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"architecture-beta"},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@24"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}],"cardinality":"*"}]},"fragment":false,"parameters":[]},{"$type":"ParserRule","fragment":true,"name":"Statement","definition":{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"groups","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Assignment","feature":"services","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}},{"$type":"Assignment","feature":"junctions","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}},{"$type":"Assignment","feature":"edges","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}},{"$type":"Assignment","feature":"alignments","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}]},"entry":false,"parameters":[]},{"$type":"ParserRule","fragment":true,"name":"LeftPort","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"lhsDir","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}}]},"entry":false,"parameters":[]},{"$type":"ParserRule","fragment":true,"name":"RightPort","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"rhsDir","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Keyword","value":":"}]},"entry":false,"parameters":[]},{"$type":"ParserRule","fragment":true,"name":"Arrow","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]},{"$type":"Assignment","feature":"lhsInto","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]},"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"--"},{"$type":"Group","elements":[{"$type":"Keyword","value":"-"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@30"},"arguments":[]}},{"$type":"Keyword","value":"-"}]}]},{"$type":"Assignment","feature":"rhsInto","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}]},"entry":false,"parameters":[]},{"$type":"ParserRule","name":"Group","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"group"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[]}},{"$type":"Assignment","feature":"icon","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@29"},"arguments":[]},"cardinality":"?"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@30"},"arguments":[]},"cardinality":"?"},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Service","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"service"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[]}},{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"iconText","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]}},{"$type":"Assignment","feature":"icon","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@29"},"arguments":[]}}],"cardinality":"?"},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@30"},"arguments":[]},"cardinality":"?"},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Junction","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"junction"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"in"},{"$type":"Assignment","feature":"in","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Edge","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"lhsId","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[]}},{"$type":"Assignment","feature":"lhsGroup","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"Assignment","feature":"rhsId","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[]}},{"$type":"Assignment","feature":"rhsGroup","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Alignment","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"align"},{"$type":"Assignment","feature":"direction","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"row"},{"$type":"Keyword","value":"column"}]}},{"$type":"Assignment","feature":"members","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[]}},{"$type":"Assignment","feature":"members","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[]},"cardinality":"+"},{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"TerminalRule","name":"ARROW_DIRECTION","definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"L"},"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"R"},"parenthesized":false}],"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"T"},"parenthesized":false}],"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"B"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARROW_GROUP","definition":{"$type":"RegexToken","regex":"/\\\\{group\\\\}/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARROW_INTO","definition":{"$type":"RegexToken","regex":"/<|>/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"EOL","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@24"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}],"cardinality":"+"},"entry":false,"parameters":[]},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"},"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"FLOAT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+\\\\.[0-9]+(?!\\\\.)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*(?!\\\\.)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@19"},"parenthesized":false},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@20"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[\\\\w]([-\\\\w]*\\\\w)?/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","name":"ARCH_ICON","definition":{"$type":"RegexToken","regex":"/\\\\([\\\\w-:]+\\\\)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARCH_TITLE","definition":{"$type":"RegexToken","regex":"/\\\\[(?:\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'|[^\\\\[\\\\]\\\\r\\\\n]+)\\\\]/","parenthesized":false},"fragment":false,"hidden":false}],"interfaces":[],"types":[]}`)),"ArchitectureGrammarGrammar"),Wai=X(()=>TRr??(TRr=gy(`{"$type":"Grammar","isDeclared":true,"name":"CynefinGrammar","imports":[],"rules":[{"$type":"ParserRule","entry":true,"name":"Cynefin","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"cynefin-beta"},{"$type":"Keyword","value":"cynefin-beta:"}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]},{"$type":"Assignment","feature":"domains","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}},{"$type":"Assignment","feature":"transitions","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}],"cardinality":"*"}]},"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"DomainBlock","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"domain","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[],"cardinality":"*"},{"$type":"Group","elements":[{"$type":"Assignment","feature":"items","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[],"cardinality":"*"}],"cardinality":"*"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"DomainItem","definition":{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]}},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Transition","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"from","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"Keyword","value":"-->"},{"$type":"Assignment","feature":"to","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"TerminalRule","name":"DOMAIN_NAME","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"complex"},"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"complicated"},"parenthesized":false}],"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"clear"},"parenthesized":false}],"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"chaotic"},"parenthesized":false}],"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"confusion"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"EOL","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}],"cardinality":"+"},"entry":false,"parameters":[]},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"},"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"FLOAT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+\\\\.[0-9]+(?!\\\\.)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*(?!\\\\.)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@11"},"parenthesized":false},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@12"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[\\\\w]([-\\\\w]*\\\\w)?/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/","parenthesized":false},"fragment":false}],"interfaces":[],"types":[]}`)),"CynefinGrammarGrammar"),Yai=X(()=>kRr??(kRr=gy('{"$type":"Grammar","isDeclared":true,"name":"EventModeling","interfaces":[{"$type":"Interface","name":"Common","attributes":[{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"rules":[{"$type":"ParserRule","entry":true,"name":"EventModel","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"eventmodeling"},{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@21"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]}},{"$type":"Assignment","feature":"modelEntities","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}},{"$type":"Assignment","feature":"frames","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}},{"$type":"Assignment","feature":"dataEntities","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Assignment","feature":"noteEntities","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]}},{"$type":"Assignment","feature":"gwtEntities","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}}],"cardinality":"*"}]},"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EmModelEntityType","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"rmo"},{"$type":"Keyword","value":"readmodel"},{"$type":"Keyword","value":"ui"},{"$type":"Keyword","value":"cmd"},{"$type":"Keyword","value":"command"},{"$type":"Keyword","value":"evt"},{"$type":"Keyword","value":"event"},{"$type":"Keyword","value":"pcr"},{"$type":"Keyword","value":"processor"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EmDataType","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"json"},{"$type":"Keyword","value":"jsobj"},{"$type":"Keyword","value":"figma"},{"$type":"Keyword","value":"salt"},{"$type":"Keyword","value":"uri"},{"$type":"Keyword","value":"md"},{"$type":"Keyword","value":"html"},{"$type":"Keyword","value":"text"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","fragment":true,"name":"EmDataInline","definition":{"$type":"Group","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"`"},{"$type":"Assignment","feature":"dataType","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}},{"$type":"Keyword","value":"`"}],"cardinality":"?"},{"$type":"Assignment","feature":"dataInlineValue","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[]}}]},"entry":false,"parameters":[]},{"$type":"ParserRule","fragment":true,"name":"EmDataBlock","definition":{"$type":"Group","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"`"},{"$type":"Assignment","feature":"dataType","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}},{"$type":"Keyword","value":"`"}],"cardinality":"?"},{"$type":"Assignment","feature":"dataBlockValue","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}}]},"entry":false,"parameters":[]},{"$type":"ParserRule","name":"QualifiedName","dataType":"string","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},{"$type":"Group","elements":[{"$type":"Keyword","value":"."},{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]}],"cardinality":"*"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EmTimeFrame","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"tf"},{"$type":"Keyword","value":"timeframe"}]},{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]}},{"$type":"Assignment","feature":"modelEntityType","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}},{"$type":"Assignment","feature":"entityIdentifier","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"->>"},{"$type":"Assignment","feature":"sourceFrames","operator":"+=","terminal":{"$type":"CrossReference","type":{"$ref":"#/rules@8"},"terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]},"deprecatedSyntax":false,"isMulti":false}}],"cardinality":"*"},{"$type":"Group","elements":[{"$type":"Keyword","value":"[["},{"$type":"Assignment","feature":"dataReference","operator":"=","terminal":{"$type":"CrossReference","type":{"$ref":"#/rules@10"},"terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},"deprecatedSyntax":false,"isMulti":false}},{"$type":"Keyword","value":"]]"}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"?"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EmResetFrame","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"rf"},{"$type":"Keyword","value":"resetframe"}]},{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]}},{"$type":"Assignment","feature":"modelEntityType","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}},{"$type":"Assignment","feature":"entityIdentifier","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"->>"},{"$type":"Assignment","feature":"sourceFrames","operator":"+=","terminal":{"$type":"CrossReference","type":{"$ref":"#/rules@8"},"terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]},"deprecatedSyntax":false,"isMulti":false}}],"cardinality":"*"},{"$type":"Group","elements":[{"$type":"Keyword","value":"[["},{"$type":"Assignment","feature":"dataReference","operator":"=","terminal":{"$type":"CrossReference","type":{"$ref":"#/rules@10"},"terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},"deprecatedSyntax":false,"isMulti":false}},{"$type":"Keyword","value":"]]"}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[],"cardinality":"?"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EmFrame","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EmModelEntity","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"entity"},{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EmDataEntity","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"data"},{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EmNoteEntity","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"note"},{"$type":"Assignment","feature":"sourceFrame","operator":"=","terminal":{"$type":"CrossReference","type":{"$ref":"#/rules@8"},"terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]},"deprecatedSyntax":false,"isMulti":false}},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EmGwt","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"gwt"},{"$type":"Assignment","feature":"sourceFrame","operator":"=","terminal":{"$type":"CrossReference","type":{"$ref":"#/rules@8"},"terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]},"deprecatedSyntax":false,"isMulti":false}},{"$type":"Keyword","value":"given"},{"$type":"Assignment","feature":"givenStatements","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},"cardinality":"+"},{"$type":"Group","elements":[{"$type":"Keyword","value":"when"},{"$type":"Assignment","feature":"whenStatements","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},"cardinality":"+"}],"cardinality":"?"},{"$type":"Keyword","value":"then"},{"$type":"Assignment","feature":"thenStatements","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},"cardinality":"+"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EmGwtStatement","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]},{"$type":"Assignment","feature":"entityIdentifier","operator":"=","terminal":{"$type":"CrossReference","type":{"$ref":"#/rules@9"},"terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},"deprecatedSyntax":false,"isMulti":false}}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EM_EID","dataType":"string","definition":{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EM_FI","dataType":"string","definition":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]},"entry":false,"fragment":false,"parameters":[]},{"$type":"TerminalRule","name":"EM_ID","definition":{"$type":"RegexToken","regex":"/[_a-zA-Z][\\\\w_]*/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"EM_FID","definition":{"$type":"RegexToken","regex":"/\\\\d{1,3}/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"EM_DATA_INLINE","definition":{"$type":"RegexToken","regex":"/\\\\{(.*)\\\\}|\\"(.*)\\"|\'(.*)\'/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"EM_DATA_BLOCK","definition":{"$type":"RegexToken","regex":"/\\\\{[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?\\\\}(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"EM_ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"EM_ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"EM_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"EM_WS","definition":{"$type":"RegexToken","regex":"/\\\\s+/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"EM_YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"EM_DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"EM_SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"EM_ML_COMMENT","definition":{"$type":"RegexToken","regex":"/\\\\/\\\\*[\\\\s\\\\S]*?\\\\*\\\\//","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"EM_SL_COMMENT","definition":{"$type":"RegexToken","regex":"/\\\\/\\\\/[^\\\\n\\\\r]*/","parenthesized":false},"fragment":false}],"imports":[],"types":[]}')),"EventModelingGrammar"),Kai=X(()=>CRr??(CRr=gy(`{"$type":"Grammar","isDeclared":true,"name":"GitGraphGrammar","imports":[],"rules":[{"$type":"ParserRule","entry":true,"name":"GitGraph","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"Group","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"Keyword","value":":"}]},{"$type":"Keyword","value":"gitGraph:"},{"$type":"Group","elements":[{"$type":"Keyword","value":"gitGraph"},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]},{"$type":"Keyword","value":":"}]}]},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]},{"$type":"Assignment","feature":"statements","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}}],"cardinality":"*"}]},"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Statement","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Direction","definition":{"$type":"Assignment","feature":"dir","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"LR"},{"$type":"Keyword","value":"TB"},{"$type":"Keyword","value":"BT"}]}},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Commit","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"commit"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"msg:","cardinality":"?"},{"$type":"Assignment","feature":"message","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"type:"},{"$type":"Assignment","feature":"type","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"NORMAL"},{"$type":"Keyword","value":"REVERSE"},{"$type":"Keyword","value":"HIGHLIGHT"}]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Branch","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"branch"},{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@24"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"order:"},{"$type":"Assignment","feature":"order","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]}}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Merge","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"merge"},{"$type":"Assignment","feature":"branch","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@24"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]}},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"type:"},{"$type":"Assignment","feature":"type","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"NORMAL"},{"$type":"Keyword","value":"REVERSE"},{"$type":"Keyword","value":"HIGHLIGHT"}]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Checkout","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"checkout"},{"$type":"Keyword","value":"switch"}]},{"$type":"Assignment","feature":"branch","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@24"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"CherryPicking","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"cherry-pick"},{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Keyword","value":"id:"},{"$type":"Assignment","feature":"id","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"tag:"},{"$type":"Assignment","feature":"tags","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"parent:"},{"$type":"Assignment","feature":"parent","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EOL","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}],"cardinality":"+"},"entry":false,"parameters":[]},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"},"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"FLOAT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+\\\\.[0-9]+(?!\\\\.)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*(?!\\\\.)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@14"},"parenthesized":false},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@15"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[\\\\w]([-\\\\w]*\\\\w)?/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","name":"REFERENCE","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\\\w([-\\\\./\\\\w]*[-\\\\w])?/","parenthesized":false},"fragment":false,"hidden":false}],"interfaces":[],"types":[]}`)),"GitGraphGrammarGrammar"),Xai=X(()=>ERr??(ERr=gy(`{"$type":"Grammar","isDeclared":true,"name":"InfoGrammar","imports":[],"rules":[{"$type":"ParserRule","entry":true,"name":"Info","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"info"},{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[],"cardinality":"*"},{"$type":"Group","elements":[{"$type":"Keyword","value":"showInfo"},{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[],"cardinality":"*"}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[],"cardinality":"?"}]},"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EOL","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}],"cardinality":"+"},"entry":false,"parameters":[]},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"},"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"FLOAT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+\\\\.[0-9]+(?!\\\\.)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*(?!\\\\.)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@7"},"parenthesized":false},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@8"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[\\\\w]([-\\\\w]*\\\\w)?/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/","parenthesized":false},"fragment":false}],"interfaces":[],"types":[]}`)),"InfoGrammarGrammar"),Qai=X(()=>SRr??(SRr=gy(`{"$type":"Grammar","isDeclared":true,"name":"PacketGrammar","imports":[],"rules":[{"$type":"ParserRule","entry":true,"name":"Packet","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"packet"},{"$type":"Keyword","value":"packet-beta"}]},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]},{"$type":"Assignment","feature":"blocks","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}],"cardinality":"*"}]},"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"PacketBlock","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Assignment","feature":"start","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"-"},{"$type":"Assignment","feature":"end","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}],"cardinality":"?"}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"+"},{"$type":"Assignment","feature":"bits","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}}]}]},{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EOL","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}],"cardinality":"+"},"entry":false,"parameters":[]},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"},"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"FLOAT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+\\\\.[0-9]+(?!\\\\.)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*(?!\\\\.)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@8"},"parenthesized":false},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@9"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[\\\\w]([-\\\\w]*\\\\w)?/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/","parenthesized":false},"fragment":false}],"interfaces":[],"types":[]}`)),"PacketGrammarGrammar"),Jai=X(()=>ARr??(ARr=gy(`{"$type":"Grammar","isDeclared":true,"name":"PieGrammar","imports":[],"rules":[{"$type":"ParserRule","entry":true,"name":"Pie","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[],"cardinality":"*"},{"$type":"Keyword","value":"pie"},{"$type":"Assignment","feature":"showData","operator":"?=","terminal":{"$type":"Keyword","value":"showData"},"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]},{"$type":"Assignment","feature":"sections","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}],"cardinality":"*"}]},"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"PieSection","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]}},{"$type":"Keyword","value":":"},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"TerminalRule","name":"FLOAT_PIE","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/-?[0-9]+\\\\.[0-9]+(?!\\\\.)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT_PIE","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/-?(0|[1-9][0-9]*)(?!\\\\.)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER_PIE","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@2"},"parenthesized":false},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@3"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"EOL","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}],"cardinality":"+"},"entry":false,"parameters":[]},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"},"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"FLOAT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+\\\\.[0-9]+(?!\\\\.)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*(?!\\\\.)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@11"},"parenthesized":false},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@12"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[\\\\w]([-\\\\w]*\\\\w)?/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/","parenthesized":false},"fragment":false}],"interfaces":[],"types":[]}`)),"PieGrammarGrammar"),Zai=X(()=>RRr??(RRr=gy(`{"$type":"Grammar","isDeclared":true,"name":"RadarGrammar","imports":[],"rules":[{"$type":"ParserRule","entry":true,"name":"Radar","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"radar-beta"},{"$type":"Keyword","value":"radar-beta:"},{"$type":"Group","elements":[{"$type":"Keyword","value":"radar-beta"},{"$type":"Keyword","value":":"}]}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]},{"$type":"Group","elements":[{"$type":"Keyword","value":"axis"},{"$type":"Assignment","feature":"axes","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":","},{"$type":"Assignment","feature":"axes","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}}],"cardinality":"*"}]},{"$type":"Group","elements":[{"$type":"Keyword","value":"curve"},{"$type":"Assignment","feature":"curves","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":","},{"$type":"Assignment","feature":"curves","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}}],"cardinality":"*"}]},{"$type":"Group","elements":[{"$type":"Assignment","feature":"options","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":","},{"$type":"Assignment","feature":"options","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}}],"cardinality":"*"}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}],"cardinality":"*"}]},"fragment":false,"parameters":[]},{"$type":"ParserRule","fragment":true,"name":"Label","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"["},{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[]}},{"$type":"Keyword","value":"]"}]},"entry":false,"parameters":[]},{"$type":"ParserRule","name":"Axis","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[],"cardinality":"?"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Curve","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[],"cardinality":"?"},{"$type":"Keyword","value":"{"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]},{"$type":"Keyword","value":"}"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","fragment":true,"name":"Entries","definition":{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"},{"$type":"Assignment","feature":"entries","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":","},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"},{"$type":"Assignment","feature":"entries","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"}]},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"},{"$type":"Assignment","feature":"entries","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":","},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"},{"$type":"Assignment","feature":"entries","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}}],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"*"}]}]},"entry":false,"parameters":[]},{"$type":"ParserRule","name":"DetailedEntry","returnType":{"$ref":"#/interfaces@0"},"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"axis","operator":"=","terminal":{"$type":"CrossReference","type":{"$ref":"#/rules@2"},"terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},"deprecatedSyntax":false,"isMulti":false}},{"$type":"Keyword","value":":","cardinality":"?"},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"NumberEntry","returnType":{"$ref":"#/interfaces@0"},"definition":{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Option","definition":{"$type":"Alternatives","elements":[{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Keyword","value":"showLegend"}},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Keyword","value":"ticks"}},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Keyword","value":"max"}},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Keyword","value":"min"}},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Keyword","value":"graticule"}},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]}}]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"TerminalRule","name":"GRATICULE","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"circle"},"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"polygon"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"EOL","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}],"cardinality":"+"},"entry":false,"parameters":[]},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"},"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"FLOAT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+\\\\.[0-9]+(?!\\\\.)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*(?!\\\\.)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@15"},"parenthesized":false},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@16"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[\\\\w]([-\\\\w]*\\\\w)?/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/","parenthesized":false},"fragment":false}],"interfaces":[{"$type":"Interface","name":"Entry","attributes":[{"$type":"TypeAttribute","name":"axis","isOptional":true,"type":{"$type":"ReferenceType","referenceType":{"$type":"SimpleType","typeRef":{"$ref":"#/rules@2"}},"isMulti":false}},{"$type":"TypeAttribute","name":"value","type":{"$type":"SimpleType","primitiveType":"number"},"isOptional":false}],"superTypes":[]}],"types":[]}`)),"RadarGrammarGrammar"),esi=X(()=>LRr??(LRr=gy('{"$type":"Grammar","isDeclared":true,"name":"RailroadAbnfGrammar","rules":[{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ABNF_RULENAME","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[A-Za-z][A-Za-z0-9-]*/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ABNF_STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"[^\\"]*\\"/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ABNF_NUMVAL","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/%[xXdDbB][0-9A-Fa-f]+(?:-[0-9A-Fa-f]+|\\\\.[0-9A-Fa-f]+)*/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ABNF_REPEAT","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[0-9]*\\\\*[0-9]*/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ABNF_EXACT_REPEAT","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[0-9]+/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"ABNF_WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t \\\\r\\\\n]+/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"ABNF_YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"ABNF_DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"ABNF_SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"ABNF_COMMENT","definition":{"$type":"RegexToken","regex":"/;[^\\\\n\\\\r]*/","parenthesized":false},"fragment":false},{"$type":"ParserRule","entry":true,"name":"RailroadAbnf","returnType":{"$ref":"#/interfaces@0"},"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"railroad-abnf-beta"},{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@0"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}},{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}}],"cardinality":"*"},{"$type":"Assignment","feature":"rules","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},"cardinality":"*"}]},"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"AbnfRule","returnType":{"$ref":"#/interfaces@1"},"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"Keyword","value":"="},{"$type":"Assignment","feature":"definition","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]}},{"$type":"Keyword","value":";"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"AbnfAlternation","returnType":{"$ref":"#/interfaces@2"},"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"alternatives","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"/"},{"$type":"Assignment","feature":"alternatives","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}}],"cardinality":"*"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"AbnfConcatenation","returnType":{"$ref":"#/interfaces@3"},"definition":{"$type":"Assignment","feature":"elements","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]},"cardinality":"+"},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"AbnfElement","returnType":{"$ref":"#/interfaces@4"},"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"repeat","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}},{"$type":"Assignment","feature":"repeat","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}}],"cardinality":"?"},{"$type":"Assignment","feature":"primary","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[]}}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"AbnfPrimary","returnType":{"$ref":"#/interfaces@5"},"definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@21"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"AbnfStringLiteral","returnType":{"$ref":"#/interfaces@6"},"definition":{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"AbnfNumVal","returnType":{"$ref":"#/interfaces@7"},"definition":{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"AbnfRuleName","returnType":{"$ref":"#/interfaces@8"},"definition":{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"AbnfGroup","returnType":{"$ref":"#/interfaces@9"},"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"("},{"$type":"Assignment","feature":"element","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]}},{"$type":"Keyword","value":")"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"AbnfOptionalGroup","returnType":{"$ref":"#/interfaces@10"},"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"["},{"$type":"Assignment","feature":"element","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]}},{"$type":"Keyword","value":"]"}]},"entry":false,"fragment":false,"parameters":[]}],"interfaces":[{"$type":"Interface","name":"RailroadAbnf","attributes":[{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"rules","type":{"$type":"ArrayType","elementType":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@1"}}},"isOptional":false}],"superTypes":[]},{"$type":"Interface","name":"AbnfRule","attributes":[{"$type":"TypeAttribute","name":"name","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false},{"$type":"TypeAttribute","name":"definition","type":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@2"}},"isOptional":false}],"superTypes":[]},{"$type":"Interface","name":"AbnfAlternation","attributes":[{"$type":"TypeAttribute","name":"alternatives","type":{"$type":"ArrayType","elementType":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@3"}}},"isOptional":false}],"superTypes":[]},{"$type":"Interface","name":"AbnfConcatenation","attributes":[{"$type":"TypeAttribute","name":"elements","type":{"$type":"ArrayType","elementType":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@4"}}},"isOptional":false}],"superTypes":[]},{"$type":"Interface","name":"AbnfElement","attributes":[{"$type":"TypeAttribute","name":"repeat","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"primary","type":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@5"}},"isOptional":false}],"superTypes":[]},{"$type":"Interface","name":"AbnfPrimary","attributes":[],"superTypes":[]},{"$type":"Interface","name":"AbnfStringLiteral","superTypes":[{"$ref":"#/interfaces@5"}],"attributes":[{"$type":"TypeAttribute","name":"value","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false}]},{"$type":"Interface","name":"AbnfNumVal","superTypes":[{"$ref":"#/interfaces@5"}],"attributes":[{"$type":"TypeAttribute","name":"value","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false}]},{"$type":"Interface","name":"AbnfRuleName","superTypes":[{"$ref":"#/interfaces@5"}],"attributes":[{"$type":"TypeAttribute","name":"name","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false}]},{"$type":"Interface","name":"AbnfGroup","superTypes":[{"$ref":"#/interfaces@5"}],"attributes":[{"$type":"TypeAttribute","name":"element","type":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@2"}},"isOptional":false}]},{"$type":"Interface","name":"AbnfOptionalGroup","superTypes":[{"$ref":"#/interfaces@5"}],"attributes":[{"$type":"TypeAttribute","name":"element","type":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@2"}},"isOptional":false}]}],"imports":[],"types":[]}')),"RailroadAbnfGrammarGrammar"),tsi=X(()=>DRr??(DRr=gy(`{"$type":"Grammar","isDeclared":true,"name":"RailroadEbnfGrammar","rules":[{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"EBNF_ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[A-Z_a-z][\\\\w-]*/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"EBNF_STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"EBNF_SPECIAL_SEQUENCE","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\\\?(?=[^?;]*[^?\\\\s;][^?;]*\\\\?)[^?;]*\\\\?/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"EBNF_WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t \\\\r\\\\n]+/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"EBNF_YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"EBNF_DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"EBNF_SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"EBNF_BLOCK_COMMENT","definition":{"$type":"RegexToken","regex":"/\\\\/\\\\*[\\\\s\\\\S]*?\\\\*\\\\//","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"EBNF_ISO_COMMENT","definition":{"$type":"RegexToken","regex":"/\\\\(\\\\*[\\\\s\\\\S]*?\\\\*\\\\)/","parenthesized":false},"fragment":false},{"$type":"ParserRule","entry":true,"name":"RailroadEbnf","returnType":{"$ref":"#/interfaces@0"},"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"railroad-ebnf-beta"},{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@0"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}},{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}}],"cardinality":"*"},{"$type":"Assignment","feature":"rules","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},"cardinality":"*"}]},"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EbnfRule","returnType":{"$ref":"#/interfaces@1"},"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"Alternatives","elements":[{"$type":"Keyword","value":"="},{"$type":"Keyword","value":"::="}]},{"$type":"Assignment","feature":"definition","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]}},{"$type":"Keyword","value":";"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EbnfChoice","returnType":{"$ref":"#/interfaces@2"},"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"alternatives","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"|"},{"$type":"Assignment","feature":"alternatives","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]}}],"cardinality":"*"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EbnfSequence","returnType":{"$ref":"#/interfaces@3"},"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"elements","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":",","cardinality":"?"},{"$type":"Assignment","feature":"elements","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}}],"cardinality":"*"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EbnfTerm","returnType":{"$ref":"#/interfaces@4"},"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"base","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}},{"$type":"Assignment","feature":"postfixes","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@24"},"arguments":[]},"cardinality":"*"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EbnfPrimary","returnType":{"$ref":"#/interfaces@5"},"definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@21"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EbnfTerminal","returnType":{"$ref":"#/interfaces@7"},"definition":{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EbnfNonTerminal","returnType":{"$ref":"#/interfaces@8"},"definition":{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EbnfSpecial","returnType":{"$ref":"#/interfaces@9"},"definition":{"$type":"Assignment","feature":"text","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EbnfGroup","returnType":{"$ref":"#/interfaces@10"},"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"("},{"$type":"Assignment","feature":"element","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]}},{"$type":"Keyword","value":")"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EbnfOptional","returnType":{"$ref":"#/interfaces@11"},"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"["},{"$type":"Assignment","feature":"element","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]}},{"$type":"Keyword","value":"]"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EbnfRepetition","returnType":{"$ref":"#/interfaces@12"},"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"{"},{"$type":"Assignment","feature":"element","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]}},{"$type":"Keyword","value":"}"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EbnfPostfix","returnType":{"$ref":"#/interfaces@6"},"definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@25"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@26"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@27"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@28"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EbnfOptionalPostfix","returnType":{"$ref":"#/interfaces@13"},"definition":{"$type":"Assignment","feature":"operator","operator":"=","terminal":{"$type":"Keyword","value":"?"}},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EbnfZeroOrMorePostfix","returnType":{"$ref":"#/interfaces@14"},"definition":{"$type":"Assignment","feature":"operator","operator":"=","terminal":{"$type":"Keyword","value":"*"}},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EbnfOneOrMorePostfix","returnType":{"$ref":"#/interfaces@15"},"definition":{"$type":"Assignment","feature":"operator","operator":"=","terminal":{"$type":"Keyword","value":"+"}},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EbnfExceptionPostfix","returnType":{"$ref":"#/interfaces@16"},"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"-"},{"$type":"Assignment","feature":"except","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}}]},"entry":false,"fragment":false,"parameters":[]}],"interfaces":[{"$type":"Interface","name":"RailroadEbnf","attributes":[{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"rules","type":{"$type":"ArrayType","elementType":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@1"}}},"isOptional":false}],"superTypes":[]},{"$type":"Interface","name":"EbnfRule","attributes":[{"$type":"TypeAttribute","name":"name","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false},{"$type":"TypeAttribute","name":"definition","type":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@2"}},"isOptional":false}],"superTypes":[]},{"$type":"Interface","name":"EbnfChoice","attributes":[{"$type":"TypeAttribute","name":"alternatives","type":{"$type":"ArrayType","elementType":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@3"}}},"isOptional":false}],"superTypes":[]},{"$type":"Interface","name":"EbnfSequence","attributes":[{"$type":"TypeAttribute","name":"elements","type":{"$type":"ArrayType","elementType":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@4"}}},"isOptional":false}],"superTypes":[]},{"$type":"Interface","name":"EbnfTerm","attributes":[{"$type":"TypeAttribute","name":"base","type":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@5"}},"isOptional":false},{"$type":"TypeAttribute","name":"postfixes","type":{"$type":"ArrayType","elementType":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@6"}}},"isOptional":false}],"superTypes":[]},{"$type":"Interface","name":"EbnfPrimary","attributes":[],"superTypes":[]},{"$type":"Interface","name":"EbnfPostfix","attributes":[],"superTypes":[]},{"$type":"Interface","name":"EbnfTerminal","superTypes":[{"$ref":"#/interfaces@5"}],"attributes":[{"$type":"TypeAttribute","name":"value","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false}]},{"$type":"Interface","name":"EbnfNonTerminal","superTypes":[{"$ref":"#/interfaces@5"}],"attributes":[{"$type":"TypeAttribute","name":"name","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false}]},{"$type":"Interface","name":"EbnfSpecial","superTypes":[{"$ref":"#/interfaces@5"}],"attributes":[{"$type":"TypeAttribute","name":"text","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false}]},{"$type":"Interface","name":"EbnfGroup","superTypes":[{"$ref":"#/interfaces@5"}],"attributes":[{"$type":"TypeAttribute","name":"element","type":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@2"}},"isOptional":false}]},{"$type":"Interface","name":"EbnfOptional","superTypes":[{"$ref":"#/interfaces@5"}],"attributes":[{"$type":"TypeAttribute","name":"element","type":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@2"}},"isOptional":false}]},{"$type":"Interface","name":"EbnfRepetition","superTypes":[{"$ref":"#/interfaces@5"}],"attributes":[{"$type":"TypeAttribute","name":"element","type":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@2"}},"isOptional":false}]},{"$type":"Interface","name":"EbnfOptionalPostfix","superTypes":[{"$ref":"#/interfaces@6"}],"attributes":[{"$type":"TypeAttribute","name":"operator","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false}]},{"$type":"Interface","name":"EbnfZeroOrMorePostfix","superTypes":[{"$ref":"#/interfaces@6"}],"attributes":[{"$type":"TypeAttribute","name":"operator","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false}]},{"$type":"Interface","name":"EbnfOneOrMorePostfix","superTypes":[{"$ref":"#/interfaces@6"}],"attributes":[{"$type":"TypeAttribute","name":"operator","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false}]},{"$type":"Interface","name":"EbnfExceptionPostfix","superTypes":[{"$ref":"#/interfaces@6"}],"attributes":[{"$type":"TypeAttribute","name":"except","type":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@5"}},"isOptional":false}]}],"imports":[],"types":[]}`)),"RailroadEbnfGrammarGrammar"),rsi=X(()=>_Rr??(_Rr=gy(`{"$type":"Grammar","isDeclared":true,"name":"RailroadGrammar","rules":[{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"RR_ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[A-Z_a-z][\\\\w-]*/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"RR_STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"RR_WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t \\\\r\\\\n]+/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"RR_YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"RR_DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"RR_SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"RR_BLOCK_COMMENT","definition":{"$type":"RegexToken","regex":"/\\\\/\\\\*[\\\\s\\\\S]*?\\\\*\\\\//","parenthesized":false},"fragment":false},{"$type":"ParserRule","entry":true,"name":"Railroad","returnType":{"$ref":"#/interfaces@0"},"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"railroad-beta"},{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@0"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}},{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}}],"cardinality":"*"},{"$type":"Assignment","feature":"rules","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]},"cardinality":"*"}]},"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"RailroadRule","returnType":{"$ref":"#/interfaces@1"},"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"Keyword","value":"="},{"$type":"Assignment","feature":"definition","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}},{"$type":"Keyword","value":";"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"RailroadExpression","returnType":{"$ref":"#/interfaces@2"},"definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"RailroadSequenceExpr","returnType":{"$ref":"#/interfaces@3"},"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"sequence"},{"$type":"Keyword","value":"("},{"$type":"Assignment","feature":"elements","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":","},{"$type":"Assignment","feature":"elements","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}}],"cardinality":"*"},{"$type":"Keyword","value":")"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"RailroadChoiceExpr","returnType":{"$ref":"#/interfaces@4"},"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"choice"},{"$type":"Keyword","value":"("},{"$type":"Assignment","feature":"alternatives","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":","},{"$type":"Assignment","feature":"alternatives","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}}],"cardinality":"*"},{"$type":"Keyword","value":")"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"RailroadOptionalExpr","returnType":{"$ref":"#/interfaces@5"},"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"optional"},{"$type":"Keyword","value":"("},{"$type":"Assignment","feature":"element","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}},{"$type":"Keyword","value":")"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"RailroadOneOrMoreExpr","returnType":{"$ref":"#/interfaces@6"},"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"oneOrMore"},{"$type":"Keyword","value":"("},{"$type":"Assignment","feature":"element","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}},{"$type":"Keyword","value":")"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"RailroadZeroOrMoreExpr","returnType":{"$ref":"#/interfaces@7"},"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"zeroOrMore"},{"$type":"Keyword","value":"("},{"$type":"Assignment","feature":"element","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}},{"$type":"Keyword","value":")"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"RailroadTerminalExpr","returnType":{"$ref":"#/interfaces@8"},"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"terminal"},{"$type":"Keyword","value":"("},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"Keyword","value":")"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"RailroadNonTerminalExpr","returnType":{"$ref":"#/interfaces@9"},"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"nonterminal"},{"$type":"Keyword","value":"("},{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"Keyword","value":")"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"RailroadSpecialExpr","returnType":{"$ref":"#/interfaces@10"},"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"special"},{"$type":"Keyword","value":"("},{"$type":"Assignment","feature":"text","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"Keyword","value":")"}]},"entry":false,"fragment":false,"parameters":[]}],"interfaces":[{"$type":"Interface","name":"Railroad","attributes":[{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"rules","type":{"$type":"ArrayType","elementType":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@1"}}},"isOptional":false}],"superTypes":[]},{"$type":"Interface","name":"RailroadRule","attributes":[{"$type":"TypeAttribute","name":"name","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false},{"$type":"TypeAttribute","name":"definition","type":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@2"}},"isOptional":false}],"superTypes":[]},{"$type":"Interface","name":"RailroadExpression","attributes":[],"superTypes":[]},{"$type":"Interface","name":"RailroadSequenceExpr","superTypes":[{"$ref":"#/interfaces@2"}],"attributes":[{"$type":"TypeAttribute","name":"elements","type":{"$type":"ArrayType","elementType":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@2"}}},"isOptional":false}]},{"$type":"Interface","name":"RailroadChoiceExpr","superTypes":[{"$ref":"#/interfaces@2"}],"attributes":[{"$type":"TypeAttribute","name":"alternatives","type":{"$type":"ArrayType","elementType":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@2"}}},"isOptional":false}]},{"$type":"Interface","name":"RailroadOptionalExpr","superTypes":[{"$ref":"#/interfaces@2"}],"attributes":[{"$type":"TypeAttribute","name":"element","type":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@2"}},"isOptional":false}]},{"$type":"Interface","name":"RailroadOneOrMoreExpr","superTypes":[{"$ref":"#/interfaces@2"}],"attributes":[{"$type":"TypeAttribute","name":"element","type":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@2"}},"isOptional":false}]},{"$type":"Interface","name":"RailroadZeroOrMoreExpr","superTypes":[{"$ref":"#/interfaces@2"}],"attributes":[{"$type":"TypeAttribute","name":"element","type":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@2"}},"isOptional":false}]},{"$type":"Interface","name":"RailroadTerminalExpr","superTypes":[{"$ref":"#/interfaces@2"}],"attributes":[{"$type":"TypeAttribute","name":"value","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false}]},{"$type":"Interface","name":"RailroadNonTerminalExpr","superTypes":[{"$ref":"#/interfaces@2"}],"attributes":[{"$type":"TypeAttribute","name":"name","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false}]},{"$type":"Interface","name":"RailroadSpecialExpr","superTypes":[{"$ref":"#/interfaces@2"}],"attributes":[{"$type":"TypeAttribute","name":"text","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false}]}],"imports":[],"types":[]}`)),"RailroadGrammarGrammar"),nsi=X(()=>MRr??(MRr=gy(`{"$type":"Grammar","isDeclared":true,"name":"RailroadPegGrammar","rules":[{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"PEG_ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[A-Z_a-z][\\\\w-]*/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"PEG_STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"PEG_WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t \\\\r\\\\n]+/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"PEG_YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"PEG_DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"PEG_SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"PEG_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/#[^\\\\n\\\\r]*/","parenthesized":false},"fragment":false},{"$type":"ParserRule","entry":true,"name":"RailroadPeg","returnType":{"$ref":"#/interfaces@0"},"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"railroad-peg-beta"},{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@0"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}},{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}}],"cardinality":"*"},{"$type":"Assignment","feature":"rules","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]},"cardinality":"*"}]},"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"PegRule","returnType":{"$ref":"#/interfaces@1"},"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"Keyword","value":"<-"},{"$type":"Assignment","feature":"definition","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}},{"$type":"Keyword","value":";"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"PegOrderedChoice","returnType":{"$ref":"#/interfaces@2"},"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"alternatives","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"/"},{"$type":"Assignment","feature":"alternatives","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}}],"cardinality":"*"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"PegSequence","returnType":{"$ref":"#/interfaces@3"},"definition":{"$type":"Assignment","feature":"elements","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},"cardinality":"+"},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"PegPrefix","returnType":{"$ref":"#/interfaces@4"},"definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"operator","operator":"=","terminal":{"$type":"Keyword","value":"&"}},{"$type":"Assignment","feature":"operator","operator":"=","terminal":{"$type":"Keyword","value":"!"}}],"cardinality":"?"},{"$type":"Assignment","feature":"suffix","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]}}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"PegSuffix","returnType":{"$ref":"#/interfaces@5"},"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"primary","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}},{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"operator","operator":"=","terminal":{"$type":"Keyword","value":"?"}},{"$type":"Assignment","feature":"operator","operator":"=","terminal":{"$type":"Keyword","value":"*"}},{"$type":"Assignment","feature":"operator","operator":"=","terminal":{"$type":"Keyword","value":"+"}}],"cardinality":"?"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"PegPrimary","returnType":{"$ref":"#/interfaces@6"},"definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"PegLiteral","returnType":{"$ref":"#/interfaces@7"},"definition":{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"PegIdentifier","returnType":{"$ref":"#/interfaces@8"},"definition":{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"PegGroup","returnType":{"$ref":"#/interfaces@9"},"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"("},{"$type":"Assignment","feature":"element","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]}},{"$type":"Keyword","value":")"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"PegAny","returnType":{"$ref":"#/interfaces@10"},"definition":{"$type":"Assignment","feature":"dot","operator":"=","terminal":{"$type":"Keyword","value":"."}},"entry":false,"fragment":false,"parameters":[]}],"interfaces":[{"$type":"Interface","name":"RailroadPeg","attributes":[{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"rules","type":{"$type":"ArrayType","elementType":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@1"}}},"isOptional":false}],"superTypes":[]},{"$type":"Interface","name":"PegRule","attributes":[{"$type":"TypeAttribute","name":"name","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false},{"$type":"TypeAttribute","name":"definition","type":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@2"}},"isOptional":false}],"superTypes":[]},{"$type":"Interface","name":"PegOrderedChoice","attributes":[{"$type":"TypeAttribute","name":"alternatives","type":{"$type":"ArrayType","elementType":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@3"}}},"isOptional":false}],"superTypes":[]},{"$type":"Interface","name":"PegSequence","attributes":[{"$type":"TypeAttribute","name":"elements","type":{"$type":"ArrayType","elementType":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@4"}}},"isOptional":false}],"superTypes":[]},{"$type":"Interface","name":"PegPrefix","attributes":[{"$type":"TypeAttribute","name":"operator","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"suffix","type":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@5"}},"isOptional":false}],"superTypes":[]},{"$type":"Interface","name":"PegSuffix","attributes":[{"$type":"TypeAttribute","name":"primary","type":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@6"}},"isOptional":false},{"$type":"TypeAttribute","name":"operator","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]},{"$type":"Interface","name":"PegPrimary","attributes":[],"superTypes":[]},{"$type":"Interface","name":"PegLiteral","superTypes":[{"$ref":"#/interfaces@6"}],"attributes":[{"$type":"TypeAttribute","name":"value","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false}]},{"$type":"Interface","name":"PegIdentifier","superTypes":[{"$ref":"#/interfaces@6"}],"attributes":[{"$type":"TypeAttribute","name":"name","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false}]},{"$type":"Interface","name":"PegGroup","superTypes":[{"$ref":"#/interfaces@6"}],"attributes":[{"$type":"TypeAttribute","name":"element","type":{"$type":"SimpleType","typeRef":{"$ref":"#/interfaces@2"}},"isOptional":false}]},{"$type":"Interface","name":"PegAny","superTypes":[{"$ref":"#/interfaces@6"}],"attributes":[{"$type":"TypeAttribute","name":"dot","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false}]}],"imports":[],"types":[]}`)),"RailroadPegGrammarGrammar"),isi=X(()=>IRr??(IRr=gy(`{"$type":"Grammar","isDeclared":true,"name":"TreemapGrammar","rules":[{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}}],"cardinality":"+"},"entry":false,"parameters":[]},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"},"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"ParserRule","entry":true,"name":"Treemap","returnType":{"$ref":"#/interfaces@4"},"definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@0"},"arguments":[]},{"$type":"Assignment","feature":"TreemapRows","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]}}],"cardinality":"*"}]},"fragment":false,"parameters":[]},{"$type":"TerminalRule","name":"TREEMAP_KEYWORD","definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"treemap-beta"},"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"treemap"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"CLASS_DEF","definition":{"$type":"RegexToken","regex":"/classDef\\\\s+([a-zA-Z_][a-zA-Z0-9_]+)(?:\\\\s+([^;\\\\r\\\\n]*))?(?:;)?/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STYLE_SEPARATOR","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":":::"},"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"SEPARATOR","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":":"},"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"COMMA","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":","},"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INDENTATION","definition":{"$type":"RegexToken","regex":"/[ \\\\t]{1,}/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WS","definition":{"$type":"RegexToken","regex":"/[ \\\\t]+/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"ML_COMMENT","definition":{"$type":"RegexToken","regex":"/\\\\%\\\\%[^\\\\n]*/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"NL","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/","parenthesized":false},"fragment":false},{"$type":"ParserRule","name":"TreemapRow","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"indent","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]},"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"item","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"ClassDef","dataType":"string","definition":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Item","returnType":{"$ref":"#/interfaces@0"},"definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Section","returnType":{"$ref":"#/interfaces@1"},"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]},{"$type":"Assignment","feature":"classSelector","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}],"cardinality":"?"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Leaf","returnType":{"$ref":"#/interfaces@2"},"definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[],"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[],"cardinality":"?"},{"$type":"Assignment","feature":"value","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]},{"$type":"Assignment","feature":"classSelector","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}}],"cardinality":"?"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"TerminalRule","name":"ID2","definition":{"$type":"RegexToken","regex":"/[a-zA-Z_][a-zA-Z0-9_]*/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER2","definition":{"$type":"RegexToken","regex":"/[0-9_\\\\.\\\\,]+/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"MyNumber","dataType":"number","definition":{"$type":"RuleCall","rule":{"$ref":"#/rules@21"},"arguments":[]},"entry":false,"fragment":false,"parameters":[]},{"$type":"TerminalRule","name":"STRING2","definition":{"$type":"RegexToken","regex":"/\\"[^\\"]*\\"|'[^']*'/","parenthesized":false},"fragment":false,"hidden":false}],"interfaces":[{"$type":"Interface","name":"Item","attributes":[{"$type":"TypeAttribute","name":"name","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false},{"$type":"TypeAttribute","name":"classSelector","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]},{"$type":"Interface","name":"Section","superTypes":[{"$ref":"#/interfaces@0"}],"attributes":[]},{"$type":"Interface","name":"Leaf","superTypes":[{"$ref":"#/interfaces@0"}],"attributes":[{"$type":"TypeAttribute","name":"value","type":{"$type":"SimpleType","primitiveType":"number"},"isOptional":false}]},{"$type":"Interface","name":"ClassDefStatement","attributes":[{"$type":"TypeAttribute","name":"className","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false},{"$type":"TypeAttribute","name":"styleText","type":{"$type":"SimpleType","primitiveType":"string"},"isOptional":false}],"superTypes":[]},{"$type":"Interface","name":"Treemap","attributes":[{"$type":"TypeAttribute","name":"TreemapRows","type":{"$type":"ArrayType","elementType":{"$type":"SimpleType","typeRef":{"$ref":"#/rules@15"}}},"isOptional":false},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"imports":[],"types":[],"$comment":"/**\\n * Treemap grammar for Langium\\n * Converted from mindmap grammar\\n *\\n * The ML_COMMENT and NL hidden terminals handle whitespace, comments, and newlines\\n * before the treemap keyword, allowing for empty lines and comments before the\\n * treemap declaration.\\n */"}`)),"TreemapGrammarGrammar"),asi=X(()=>NRr??(NRr=gy(`{"$type":"Grammar","isDeclared":true,"name":"TreeViewGrammar","rules":[{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"ParserRule","entry":true,"name":"TreeView","returnType":{"$ref":"#/interfaces@0"},"definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"treeView-beta"},{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[],"cardinality":"?"},{"$type":"Assignment","feature":"nodes","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]},"cardinality":"*"}]},"fragment":false,"parameters":[]},{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@0"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}}],"cardinality":"+"},"entry":false,"parameters":[]},{"$type":"TerminalRule","name":"CLASS_ANNOTATION","definition":{"$type":"RegexToken","regex":"/[ \\\\t]+:::[ \\\\t]*[A-Za-z_][\\\\w-]*/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ICON_ANNOTATION","definition":{"$type":"RegexToken","regex":"/[ \\\\t]+icon\\\\([\\\\w-]*(?::[\\\\w-]+)?\\\\)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"DESC_ANNOTATION","definition":{"$type":"RegexToken","regex":"/[ \\\\t]+##[^\\\\n\\\\r]*/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INDENTATION","definition":{"$type":"RegexToken","regex":"/[ \\\\t]{1,}/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"QUOTED_NAME","definition":{"$type":"RegexToken","regex":"/\\"[^\\"]*\\"|'[^']*'/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WS","definition":{"$type":"RegexToken","regex":"/[ \\\\t]+/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"ML_COMMENT","definition":{"$type":"RegexToken","regex":"/\\\\%\\\\%[^\\\\n]*/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"NL","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","name":"BARE_NAME","definition":{"$type":"RegexToken","regex":"/(?!:::|icon\\\\(|##)[^ \\\\t\\\\n\\\\r\\"'](?:(?![ \\\\t]+:::[ \\\\t]*[A-Za-z_]|[ \\\\t]+icon\\\\(|[ \\\\t]+##)[^\\\\n\\\\r])*/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"ParserRule","name":"TreeNode","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"indent","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]},"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}},{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}}]},{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"classAnnotation","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Assignment","feature":"iconAnnotation","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}},{"$type":"Assignment","feature":"descAnnotation","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]}}],"cardinality":"*"}]},"entry":false,"fragment":false,"parameters":[]}],"interfaces":[{"$type":"Interface","name":"TreeView","attributes":[{"$type":"TypeAttribute","name":"nodes","type":{"$type":"ArrayType","elementType":{"$type":"SimpleType","typeRef":{"$ref":"#/rules@14"}}},"isOptional":false},{"$type":"TypeAttribute","name":"title","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accTitle","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}},{"$type":"TypeAttribute","name":"accDescr","isOptional":true,"type":{"$type":"SimpleType","primitiveType":"string"}}],"superTypes":[]}],"imports":[],"types":[],"$comment":"/**\\n * TreeView grammar for Langium\\n *\\n * Supports both quoted labels (\\"my file\\") and bare labels (index.js).\\n * Annotations (:::class, icon(), ## description) are parsed directly into\\n * AST fields by the grammar. Value conversion for stripping quotes, extracting\\n * class names, icon names, and description text happens in valueConverter.ts.\\n *\\n * The ML_COMMENT and NL hidden terminals handle whitespace, comments, and newlines\\n * before the treeView keyword, allowing for empty lines and comments before the\\n * treeView declaration.\\n */"}`)),"TreeViewGrammarGrammar"),ssi=X(()=>ORr??(ORr=gy(`{"$type":"Grammar","isDeclared":true,"name":"WardleyGrammar","imports":[],"rules":[{"$type":"ParserRule","entry":true,"name":"Wardley","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@52"},"arguments":[],"cardinality":"*"},{"$type":"RuleCall","rule":{"$ref":"#/rules@25"},"arguments":[]},{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@52"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@42"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@1"},"arguments":[]}],"cardinality":"*"}]},"fragment":false,"parameters":[]},{"$type":"ParserRule","fragment":true,"name":"Statement","definition":{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"size","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@2"},"arguments":[]}},{"$type":"Assignment","feature":"evolution","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@3"},"arguments":[]}},{"$type":"Assignment","feature":"anchors","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@5"},"arguments":[]}},{"$type":"Assignment","feature":"components","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@6"},"arguments":[]}},{"$type":"Assignment","feature":"links","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@9"},"arguments":[]}},{"$type":"Assignment","feature":"evolves","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@10"},"arguments":[]}},{"$type":"Assignment","feature":"pipelines","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@11"},"arguments":[]}},{"$type":"Assignment","feature":"notes","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@13"},"arguments":[]}},{"$type":"Assignment","feature":"annotations","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@14"},"arguments":[]}},{"$type":"Assignment","feature":"annotation","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@15"},"arguments":[]}},{"$type":"Assignment","feature":"accelerators","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@17"},"arguments":[]}},{"$type":"Assignment","feature":"deaccelerators","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@18"},"arguments":[]}}]},"entry":false,"parameters":[]},{"$type":"ParserRule","name":"Size","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@26"},"arguments":[]},{"$type":"Keyword","value":"["},{"$type":"Assignment","feature":"width","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@48"},"arguments":[]}},{"$type":"Keyword","value":","},{"$type":"Assignment","feature":"height","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@48"},"arguments":[]}},{"$type":"Keyword","value":"]"},{"$type":"RuleCall","rule":{"$ref":"#/rules@41"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Evolution","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@27"},"arguments":[]},{"$type":"Assignment","feature":"stages","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]},{"$type":"Assignment","feature":"stages","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@4"},"arguments":[]}}],"cardinality":"+"},{"$type":"RuleCall","rule":{"$ref":"#/rules@41"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"EvolutionStage","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@51"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@50"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@39"},"arguments":[]}]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"@"},{"$type":"Assignment","feature":"boundary","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}}],"cardinality":"?"},{"$type":"Group","elements":[{"$type":"Keyword","value":"/"},{"$type":"Assignment","feature":"secondName","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@51"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@50"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@39"},"arguments":[]}]}}],"cardinality":"?"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Anchor","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@28"},"arguments":[]},{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@50"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@51"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@39"},"arguments":[]}]}},{"$type":"Keyword","value":"["},{"$type":"Assignment","feature":"visibility","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"Keyword","value":","},{"$type":"Assignment","feature":"evolution","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"Keyword","value":"]"},{"$type":"RuleCall","rule":{"$ref":"#/rules@41"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Component","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@29"},"arguments":[]},{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@50"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@51"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@39"},"arguments":[]}]}},{"$type":"Keyword","value":"["},{"$type":"Assignment","feature":"visibility","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"Keyword","value":","},{"$type":"Assignment","feature":"evolution","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"Keyword","value":"]"},{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]},"cardinality":"?"},{"$type":"Assignment","feature":"decorator","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@8"},"arguments":[]},"cardinality":"?"},{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"inertia","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@31"},"arguments":[]}},{"$type":"Group","elements":[{"$type":"Keyword","value":"("},{"$type":"Assignment","feature":"inertia","operator":"?=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@31"},"arguments":[]}},{"$type":"Keyword","value":")"}]}],"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@41"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Label","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@30"},"arguments":[]},{"$type":"Keyword","value":"["},{"$type":"Assignment","feature":"negX","operator":"?=","terminal":{"$type":"Keyword","value":"-"},"cardinality":"?"},{"$type":"Assignment","feature":"offsetX","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@48"},"arguments":[]}},{"$type":"Keyword","value":","},{"$type":"Assignment","feature":"negY","operator":"?=","terminal":{"$type":"Keyword","value":"-"},"cardinality":"?"},{"$type":"Assignment","feature":"offsetY","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@48"},"arguments":[]}},{"$type":"Keyword","value":"]"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Decorator","definition":{"$type":"Group","elements":[{"$type":"Keyword","value":"("},{"$type":"Assignment","feature":"strategy","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@24"},"arguments":[]}},{"$type":"Keyword","value":")"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Link","definition":{"$type":"Group","elements":[{"$type":"Assignment","feature":"from","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@50"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@51"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@39"},"arguments":[]}]}},{"$type":"Assignment","feature":"fromPort","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@21"},"arguments":[]},"cardinality":"?"},{"$type":"Assignment","feature":"arrow","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@22"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@20"},"arguments":[]}]},"cardinality":"?"},{"$type":"Assignment","feature":"to","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@50"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@51"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@39"},"arguments":[]}]}},{"$type":"Assignment","feature":"toPort","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@21"},"arguments":[]},"cardinality":"?"},{"$type":"Assignment","feature":"linkLabel","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@23"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@41"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Evolve","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@32"},"arguments":[]},{"$type":"Assignment","feature":"component","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@50"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@51"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@39"},"arguments":[]}]}},{"$type":"Assignment","feature":"target","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@41"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Pipeline","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@33"},"arguments":[]},{"$type":"Assignment","feature":"parent","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@50"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@51"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@39"},"arguments":[]}]}},{"$type":"Keyword","value":"{"},{"$type":"RuleCall","rule":{"$ref":"#/rules@52"},"arguments":[],"cardinality":"+"},{"$type":"Assignment","feature":"components","operator":"+=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@12"},"arguments":[]},"cardinality":"+"},{"$type":"Keyword","value":"}"},{"$type":"RuleCall","rule":{"$ref":"#/rules@41"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"PipelineComponent","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@29"},"arguments":[]},{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@50"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@51"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@39"},"arguments":[]}]}},{"$type":"Keyword","value":"["},{"$type":"Assignment","feature":"evolution","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"Keyword","value":"]"},{"$type":"Assignment","feature":"label","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@7"},"arguments":[]},"cardinality":"?"},{"$type":"RuleCall","rule":{"$ref":"#/rules@41"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Note","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@34"},"arguments":[]},{"$type":"Assignment","feature":"text","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@50"},"arguments":[]}},{"$type":"Keyword","value":"["},{"$type":"Assignment","feature":"visibility","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"Keyword","value":","},{"$type":"Assignment","feature":"evolution","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"Keyword","value":"]"},{"$type":"RuleCall","rule":{"$ref":"#/rules@41"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Annotations","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@35"},"arguments":[]},{"$type":"Keyword","value":"["},{"$type":"Assignment","feature":"x","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}},{"$type":"Keyword","value":","},{"$type":"Assignment","feature":"y","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}},{"$type":"Keyword","value":"]"},{"$type":"RuleCall","rule":{"$ref":"#/rules@41"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Annotation","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@36"},"arguments":[]},{"$type":"Assignment","feature":"number","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@48"},"arguments":[]}},{"$type":"Keyword","value":","},{"$type":"Keyword","value":"["},{"$type":"Assignment","feature":"x","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}},{"$type":"Keyword","value":","},{"$type":"Assignment","feature":"y","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@16"},"arguments":[]}},{"$type":"Keyword","value":"]"},{"$type":"Assignment","feature":"text","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@50"},"arguments":[]}},{"$type":"RuleCall","rule":{"$ref":"#/rules@41"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"CoordinateValue","dataType":"number","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@48"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Accelerator","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@37"},"arguments":[]},{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@50"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@51"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@39"},"arguments":[]}]}},{"$type":"Keyword","value":"["},{"$type":"Assignment","feature":"x","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"Keyword","value":","},{"$type":"Assignment","feature":"y","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"Keyword","value":"]"},{"$type":"RuleCall","rule":{"$ref":"#/rules@41"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","name":"Deaccelerator","definition":{"$type":"Group","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@38"},"arguments":[]},{"$type":"Assignment","feature":"name","operator":"=","terminal":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@50"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@51"},"arguments":[]},{"$type":"RuleCall","rule":{"$ref":"#/rules@39"},"arguments":[]}]}},{"$type":"Keyword","value":"["},{"$type":"Assignment","feature":"x","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"Keyword","value":","},{"$type":"Assignment","feature":"y","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@19"},"arguments":[]}},{"$type":"Keyword","value":"]"},{"$type":"RuleCall","rule":{"$ref":"#/rules@41"},"arguments":[]}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"TerminalRule","name":"WARDLEY_NUMBER","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+\\\\.[0-9]+/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ARROW","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":"->"},"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"LINK_PORT","definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"+<>"},"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"+>"},"parenthesized":false}],"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"+<"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"LINK_ARROW","definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"-->"},"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"-.->"},"parenthesized":false}],"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":">"},"parenthesized":false}],"parenthesized":false},{"$type":"RegexToken","regex":"/\\\\+'[^']*'<>/","parenthesized":false}],"parenthesized":false},{"$type":"RegexToken","regex":"/\\\\+'[^']*'/","parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"LINK_LABEL","definition":{"$type":"RegexToken","regex":"/;[^\\\\n\\\\r]+/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRATEGY","definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"build"},"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"buy"},"parenthesized":false}],"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"outsource"},"parenthesized":false}],"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"market"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"KW_WARDLEY","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":"wardley-beta"},"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"KW_SIZE","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":"size"},"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"KW_EVOLUTION","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":"evolution"},"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"KW_ANCHOR","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":"anchor"},"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"KW_COMPONENT","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":"component"},"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"KW_LABEL","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":"label"},"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"KW_INERTIA","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":"inertia"},"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"KW_EVOLVE","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":"evolve"},"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"KW_PIPELINE","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":"pipeline"},"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"KW_NOTE","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":"note"},"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"KW_ANNOTATIONS","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":"annotations"},"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"KW_ANNOTATION","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":"annotation"},"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"KW_ACCELERATOR","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":"accelerator"},"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"KW_DEACCELERATOR","definition":{"$type":"CharacterRange","left":{"$type":"Keyword","value":"deaccelerator"},"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NAME_WITH_SPACES","definition":{"$type":"RegexToken","regex":"/(?!title\\\\s|accTitle|accDescr)[A-Za-z](?:[A-Za-z0-9_()&]|-(?!>))*(?:[ \\\\t]+[A-Za-z(](?:[A-Za-z0-9_()&]|-(?!>))*)*/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WS","definition":{"$type":"RegexToken","regex":"/[ \\\\t]+/","parenthesized":false},"fragment":false},{"$type":"ParserRule","name":"EOL","dataType":"string","definition":{"$type":"Alternatives","elements":[{"$type":"RuleCall","rule":{"$ref":"#/rules@52"},"arguments":[],"cardinality":"+"},{"$type":"EndOfFile"}]},"entry":false,"fragment":false,"parameters":[]},{"$type":"ParserRule","fragment":true,"name":"TitleAndAccessibilities","definition":{"$type":"Group","elements":[{"$type":"Alternatives","elements":[{"$type":"Assignment","feature":"accDescr","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@44"},"arguments":[]}},{"$type":"Assignment","feature":"accTitle","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@45"},"arguments":[]}},{"$type":"Assignment","feature":"title","operator":"=","terminal":{"$type":"RuleCall","rule":{"$ref":"#/rules@46"},"arguments":[]}}]},{"$type":"RuleCall","rule":{"$ref":"#/rules@41"},"arguments":[]}],"cardinality":"+"},"entry":false,"parameters":[]},{"$type":"TerminalRule","name":"BOOLEAN","type":{"$type":"ReturnType","name":"boolean"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"CharacterRange","left":{"$type":"Keyword","value":"true"},"parenthesized":false},{"$type":"CharacterRange","left":{"$type":"Keyword","value":"false"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_DESCR","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accDescr(?:[\\\\t ]*:([^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)|\\\\s*{([^}]*)})/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ACC_TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*accTitle[\\\\t ]*:(?:[^\\\\n\\\\r]*?(?=%%)|[^\\\\n\\\\r]*)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"TITLE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*title(?:[\\\\t ][^\\\\n\\\\r]*?(?=%%)|[\\\\t ][^\\\\n\\\\r]*|)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"FLOAT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/[0-9]+\\\\.[0-9]+(?!\\\\.)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"INT","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"RegexToken","regex":"/0|[1-9][0-9]*(?!\\\\.)/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NUMBER","type":{"$type":"ReturnType","name":"number"},"definition":{"$type":"TerminalAlternatives","elements":[{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@47"},"parenthesized":false},{"$type":"TerminalRuleCall","rule":{"$ref":"#/rules@48"},"parenthesized":false}],"parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"STRING","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'([^'\\\\\\\\]|\\\\\\\\.)*'/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"ID","type":{"$type":"ReturnType","name":"string"},"definition":{"$type":"RegexToken","regex":"/[\\\\w]([-\\\\w]*\\\\w)?/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","name":"NEWLINE","definition":{"$type":"RegexToken","regex":"/\\\\r?\\\\n/","parenthesized":false},"fragment":false,"hidden":false},{"$type":"TerminalRule","hidden":true,"name":"WHITESPACE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]+/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"YAML","definition":{"$type":"RegexToken","regex":"/---[\\\\t ]*\\\\r?\\\\n(?:[\\\\S\\\\s]*?\\\\r?\\\\n)?---(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"DIRECTIVE","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%{[\\\\S\\\\s]*?}%%(?:\\\\r?\\\\n|(?!\\\\S))/","parenthesized":false},"fragment":false},{"$type":"TerminalRule","hidden":true,"name":"SINGLE_LINE_COMMENT","definition":{"$type":"RegexToken","regex":"/[\\\\t ]*%%[^\\\\n\\\\r]*/","parenthesized":false},"fragment":false}],"interfaces":[],"types":[]}`)),"WardleyGrammarGrammar"),osi={languageId:"architecture",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},lsi={languageId:"cynefin",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},csi={languageId:"eventmodeling",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},usi={languageId:"gitGraph",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},hsi={languageId:"info",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},fsi={languageId:"packet",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},dsi={languageId:"pie",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},psi={languageId:"radar",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},gsi={languageId:"railroadAbnf",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},msi={languageId:"railroadEbnf",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},ysi={languageId:"railroad",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},bsi={languageId:"railroadPeg",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},vsi={languageId:"treemap",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},wsi={languageId:"treeView",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},xsi={languageId:"wardley",fileExtensions:[".mmd",".mermaid"],caseInsensitive:!1,mode:"production"},Cu={AstReflection:X(()=>new iOr,"AstReflection")},Qot={Grammar:X(()=>qai(),"Grammar"),LanguageMetaData:X(()=>osi,"LanguageMetaData"),parser:{}},Jot={Grammar:X(()=>Wai(),"Grammar"),LanguageMetaData:X(()=>lsi,"LanguageMetaData"),parser:{}},Zot={Grammar:X(()=>Yai(),"Grammar"),LanguageMetaData:X(()=>csi,"LanguageMetaData"),parser:{}},elt={Grammar:X(()=>Kai(),"Grammar"),LanguageMetaData:X(()=>usi,"LanguageMetaData"),parser:{}},tlt={Grammar:X(()=>Xai(),"Grammar"),LanguageMetaData:X(()=>hsi,"LanguageMetaData"),parser:{}},rlt={Grammar:X(()=>Qai(),"Grammar"),LanguageMetaData:X(()=>fsi,"LanguageMetaData"),parser:{}},nlt={Grammar:X(()=>Jai(),"Grammar"),LanguageMetaData:X(()=>dsi,"LanguageMetaData"),parser:{}},ilt={Grammar:X(()=>Zai(),"Grammar"),LanguageMetaData:X(()=>psi,"LanguageMetaData"),parser:{}},alt={Grammar:X(()=>esi(),"Grammar"),LanguageMetaData:X(()=>gsi,"LanguageMetaData"),parser:{}},slt={Grammar:X(()=>tsi(),"Grammar"),LanguageMetaData:X(()=>msi,"LanguageMetaData"),parser:{}},olt={Grammar:X(()=>rsi(),"Grammar"),LanguageMetaData:X(()=>ysi,"LanguageMetaData"),parser:{}},llt={Grammar:X(()=>nsi(),"Grammar"),LanguageMetaData:X(()=>bsi,"LanguageMetaData"),parser:{}},clt={Grammar:X(()=>isi(),"Grammar"),LanguageMetaData:X(()=>vsi,"LanguageMetaData"),parser:{}},ult={Grammar:X(()=>asi(),"Grammar"),LanguageMetaData:X(()=>wsi,"LanguageMetaData"),parser:{}},hlt={Grammar:X(()=>ssi(),"Grammar"),LanguageMetaData:X(()=>xsi,"LanguageMetaData"),parser:{}},Tsi=/accDescr(?:[\t ]*:([^\n\r]*)|\s*{([^}]*)})/,ksi=/accTitle[\t ]*:([^\n\r]*)/,Csi=/title([\t ][^\n\r]*|)/,Esi={ACC_DESCR:Tsi,ACC_TITLE:ksi,TITLE:Csi},Ig=class extends dNr{static{i(this,"AbstractMermaidValueConverter")}static{X(this,"AbstractMermaidValueConverter")}runConverter(t,r,a){let o=this.runCommonConverter(t,r,a);return o===void 0&&(o=this.runCustomConverter(t,r,a)),o===void 0?super.runConverter(t,r,a):o}runCommonConverter(t,r,a){let o=Esi[t.name];if(o===void 0)return;let l=o.exec(r);if(l!==null){if(l[1]!==void 0)return l[1].trim().replace(/[\t ]{2,}/gm," ");if(l[2]!==void 0)return l[2].replace(/^\s*/gm,"").replace(/\s+$/gm,"").replace(/[\t ]{2,}/gm," ").replace(/[\n\r]{2,}/gm,` +`)}}},Zw=class extends Ig{static{i(this,"CommonValueConverter")}static{X(this,"CommonValueConverter")}runCustomConverter(t,r,a){}},zu=class extends fNr{static{i(this,"AbstractMermaidTokenBuilder")}static{X(this,"AbstractMermaidTokenBuilder")}constructor(t){super(),this.keywords=new Set(t)}buildKeywordTokens(t,r,a){let o=super.buildKeywordTokens(t,r,a);return o.forEach(l=>{this.keywords.has(l.name)&&l.PATTERN!==void 0&&(l.PATTERN=new RegExp(l.PATTERN.toString()+"(?:(?=%%)|(?!\\S))"))}),o}},Ssi=class extends zu{static{i(this,"CommonTokenBuilder")}static{X(this,"CommonTokenBuilder")}}});function A3e(t=ku){let r=_o(uu(t),Cu),a=_o(cu({shared:r}),ilt,S3e);return r.ServiceRegistry.register(a),{shared:r,Radar:a}}var Asi,S3e,flt=ie(()=>{"use strict";hu();Asi=class extends zu{static{i(this,"RadarTokenBuilder")}static{X(this,"RadarTokenBuilder")}constructor(){super(["radar-beta"])}},S3e={parser:{TokenBuilder:X(()=>new Asi,"TokenBuilder"),ValueConverter:X(()=>new Zw,"ValueConverter")}};i(A3e,"createRadarServices");X(A3e,"createRadarServices")});function FV(t=ku){let r=_o(uu(t),Cu),a=_o(cu({shared:r}),olt,R3e);return r.ServiceRegistry.register(a),{shared:r,Railroad:a}}var Rsi,aOr,Lsi,R3e,dlt=ie(()=>{"use strict";hu();Rsi=class extends zu{static{i(this,"RailroadTokenBuilder")}static{X(this,"RailroadTokenBuilder")}constructor(){super(["railroad-beta"])}},aOr=X(t=>{let r=t.slice(1,-1),a="";for(let o=0;onew Rsi,"TokenBuilder"),ValueConverter:X(()=>new Lsi,"ValueConverter")}};i(FV,"createRailroadServices");X(FV,"createRailroadServices")});function $V(t=ku){let r=_o(uu(t),Cu),a=_o(cu({shared:r}),slt,L3e);return r.ServiceRegistry.register(a),{shared:r,RailroadEbnf:a}}var Dsi,sOr,_si,L3e,plt=ie(()=>{"use strict";hu();Dsi=class extends zu{static{i(this,"RailroadEbnfTokenBuilder")}static{X(this,"RailroadEbnfTokenBuilder")}constructor(){super(["railroad-ebnf-beta"])}},sOr=X(t=>{let r=t.slice(1,-1),a="";for(let o=0;onew Dsi,"TokenBuilder"),ValueConverter:X(()=>new _si,"ValueConverter")}};i($V,"createRailroadEbnfServices");X($V,"createRailroadEbnfServices")});function GV(t=ku){let r=_o(uu(t),Cu),a=_o(cu({shared:r}),alt,D3e);return r.ServiceRegistry.register(a),{shared:r,RailroadAbnf:a}}var Msi,Isi,D3e,glt=ie(()=>{"use strict";hu();Msi=class extends zu{static{i(this,"RailroadAbnfTokenBuilder")}static{X(this,"RailroadAbnfTokenBuilder")}constructor(){super(["railroad-abnf-beta"])}},Isi=class extends Ig{static{i(this,"RailroadAbnfValueConverter")}static{X(this,"RailroadAbnfValueConverter")}runConverter(t,r,a){let o=super.runConverter(t,r,a);if(t.name==="TITLE"&&typeof o=="string"){let l=o.trim();if(l.startsWith('"')&&l.endsWith('"')||l.startsWith("'")&&l.endsWith("'"))return l.slice(1,-1)}return o}runCustomConverter(t,r,a){if(t.name==="ABNF_STRING")return r.slice(1,-1)}},D3e={parser:{TokenBuilder:X(()=>new Msi,"TokenBuilder"),ValueConverter:X(()=>new Isi,"ValueConverter")}};i(GV,"createRailroadAbnfServices");X(GV,"createRailroadAbnfServices")});function jV(t=ku){let r=_o(uu(t),Cu),a=_o(cu({shared:r}),llt,_3e);return r.ServiceRegistry.register(a),{shared:r,RailroadPeg:a}}var Nsi,oOr,Osi,_3e,mlt=ie(()=>{"use strict";hu();Nsi=class extends zu{static{i(this,"RailroadPegTokenBuilder")}static{X(this,"RailroadPegTokenBuilder")}constructor(){super(["railroad-peg-beta"])}},oOr=X(t=>{let r=t.slice(1,-1),a="";for(let o=0;onew Nsi,"TokenBuilder"),ValueConverter:X(()=>new Osi,"ValueConverter")}};i(jV,"createRailroadPegServices");X(jV,"createRailroadPegServices")});function lOr(t){let r=t.validation.TreemapValidator,a=t.validation.ValidationRegistry;if(a){let o={Treemap:r.checkSingleRoot.bind(r)};a.register(o,r)}}function I3e(t=ku){let r=_o(uu(t),Cu),a=_o(cu({shared:r}),clt,M3e);return r.ServiceRegistry.register(a),lOr(a),{shared:r,Treemap:a}}var Psi,Bsi,Fsi,$si,M3e,ylt=ie(()=>{"use strict";hu();Psi=class extends zu{static{i(this,"TreemapTokenBuilder")}static{X(this,"TreemapTokenBuilder")}constructor(){super(["treemap"])}},Bsi=/classDef\s+([A-Z_a-z]\w+)(?:\s+([^\n\r;]*))?;?/,Fsi=class extends Ig{static{i(this,"TreemapValueConverter")}static{X(this,"TreemapValueConverter")}runCustomConverter(t,r,a){if(t.name==="NUMBER2")return parseFloat(r.replace(/,/g,""));if(t.name==="SEPARATOR")return r.substring(1,r.length-1);if(t.name==="STRING2")return r.substring(1,r.length-1);if(t.name==="INDENTATION")return r.length;if(t.name==="ClassDef"){if(typeof r!="string")return r;let o=Bsi.exec(r);if(o)return{$type:"ClassDefStatement",className:o[1],styleText:o[2]||void 0}}}};i(lOr,"registerValidationChecks");X(lOr,"registerValidationChecks");$si=class{static{i(this,"TreemapValidator")}static{X(this,"TreemapValidator")}checkSingleRoot(t,r){let a;for(let o of t.TreemapRows)o.item&&(a===void 0&&o.indent===void 0?a=0:o.indent===void 0?r("error","Multiple root nodes are not allowed in a treemap.",{node:o,property:"item"}):a!==void 0&&a>=parseInt(o.indent,10)&&r("error","Multiple root nodes are not allowed in a treemap.",{node:o,property:"item"}))}},M3e={parser:{TokenBuilder:X(()=>new Psi,"TokenBuilder"),ValueConverter:X(()=>new Fsi,"ValueConverter")},validation:{TreemapValidator:X(()=>new $si,"TreemapValidator")}};i(I3e,"createTreemapServices");X(I3e,"createTreemapServices")});function O3e(t=ku){let r=_o(uu(t),Cu),a=_o(cu({shared:r}),hlt,N3e);return r.ServiceRegistry.register(a),{shared:r,Wardley:a}}var Gsi,N3e,blt=ie(()=>{"use strict";hu();Gsi=class extends Ig{static{i(this,"WardleyValueConverter")}static{X(this,"WardleyValueConverter")}runCustomConverter(t,r,a){switch(t.name.toUpperCase()){case"LINK_LABEL":return r.substring(1).trim();default:return}}},N3e={parser:{ValueConverter:X(()=>new Gsi,"ValueConverter")}};i(O3e,"createWardleyServices");X(O3e,"createWardleyServices")});function B3e(t=ku){let r=_o(uu(t),Cu),a=_o(cu({shared:r}),Jot,P3e);return r.ServiceRegistry.register(a),{shared:r,Cynefin:a}}var jsi,P3e,vlt=ie(()=>{"use strict";hu();jsi=class extends zu{static{i(this,"CynefinTokenBuilder")}static{X(this,"CynefinTokenBuilder")}constructor(){super(["cynefin-beta"])}},P3e={parser:{TokenBuilder:X(()=>new jsi,"TokenBuilder"),ValueConverter:X(()=>new Zw,"ValueConverter")}};i(B3e,"createCynefinServices");X(B3e,"createCynefinServices")});function $3e(t=ku){let r=_o(uu(t),Cu),a=_o(cu({shared:r}),elt,F3e);return r.ServiceRegistry.register(a),{shared:r,GitGraph:a}}var zsi,F3e,wlt=ie(()=>{"use strict";hu();zsi=class extends zu{static{i(this,"GitGraphTokenBuilder")}static{X(this,"GitGraphTokenBuilder")}constructor(){super(["gitGraph"])}},F3e={parser:{TokenBuilder:X(()=>new zsi,"TokenBuilder"),ValueConverter:X(()=>new Zw,"ValueConverter")}};i($3e,"createGitGraphServices");X($3e,"createGitGraphServices")});function j3e(t=ku){let r=_o(uu(t),Cu),a=_o(cu({shared:r}),tlt,G3e);return r.ServiceRegistry.register(a),{shared:r,Info:a}}var Usi,G3e,xlt=ie(()=>{"use strict";hu();Usi=class extends zu{static{i(this,"InfoTokenBuilder")}static{X(this,"InfoTokenBuilder")}constructor(){super(["info","showInfo"])}},G3e={parser:{TokenBuilder:X(()=>new Usi,"TokenBuilder"),ValueConverter:X(()=>new Zw,"ValueConverter")}};i(j3e,"createInfoServices");X(j3e,"createInfoServices")});function U3e(t=ku){let r=_o(uu(t),Cu),a=_o(cu({shared:r}),rlt,z3e);return r.ServiceRegistry.register(a),{shared:r,Packet:a}}var Vsi,z3e,Tlt=ie(()=>{"use strict";hu();Vsi=class extends zu{static{i(this,"PacketTokenBuilder")}static{X(this,"PacketTokenBuilder")}constructor(){super(["packet"])}},z3e={parser:{TokenBuilder:X(()=>new Vsi,"TokenBuilder"),ValueConverter:X(()=>new Zw,"ValueConverter")}};i(U3e,"createPacketServices");X(U3e,"createPacketServices")});function H3e(t=ku){let r=_o(uu(t),Cu),a=_o(cu({shared:r}),nlt,V3e);return r.ServiceRegistry.register(a),{shared:r,Pie:a}}var Hsi,qsi,V3e,klt=ie(()=>{"use strict";hu();Hsi=class extends zu{static{i(this,"PieTokenBuilder")}static{X(this,"PieTokenBuilder")}constructor(){super(["pie","showData"])}},qsi=class extends Ig{static{i(this,"PieValueConverter")}static{X(this,"PieValueConverter")}runCustomConverter(t,r,a){if(t.name==="PIE_SECTION_LABEL")return r.replace(/"/g,"").trim()}},V3e={parser:{TokenBuilder:X(()=>new Hsi,"TokenBuilder"),ValueConverter:X(()=>new qsi,"ValueConverter")}};i(H3e,"createPieServices");X(H3e,"createPieServices")});function W3e(t=ku){let r=_o(uu(t),Cu),a=_o(cu({shared:r}),ult,q3e);return r.ServiceRegistry.register(a),{shared:r,TreeView:a}}var Wsi,Ysi,q3e,Clt=ie(()=>{"use strict";hu();Wsi=class extends Ig{static{i(this,"TreeViewValueConverter")}static{X(this,"TreeViewValueConverter")}runCustomConverter(t,r,a){if(t.name==="INDENTATION")return r?.length||0;if(t.name==="QUOTED_NAME")return r.substring(1,r.length-1);if(t.name==="BARE_NAME")return r.replace(/[\t ]+$/,"");if(t.name==="CLASS_ANNOTATION")return r.trim().substring(3).trim();if(t.name==="ICON_ANNOTATION"){let o=r.trim();return o.substring(5,o.length-1)}if(t.name==="DESC_ANNOTATION")return r.trim().substring(2).trim()}},Ysi=class extends zu{static{i(this,"TreeViewTokenBuilder")}static{X(this,"TreeViewTokenBuilder")}constructor(){super(["treeView-beta"])}},q3e={parser:{TokenBuilder:X(()=>new Ysi,"TokenBuilder"),ValueConverter:X(()=>new Wsi,"ValueConverter")}};i(W3e,"createTreeViewServices");X(W3e,"createTreeViewServices")});function K3e(t=ku){let r=_o(uu(t),Cu),a=_o(cu({shared:r}),Qot,Y3e);return r.ServiceRegistry.register(a),{shared:r,Architecture:a}}var Ksi,Xsi,Y3e,Elt=ie(()=>{"use strict";hu();Ksi=class extends zu{static{i(this,"ArchitectureTokenBuilder")}static{X(this,"ArchitectureTokenBuilder")}constructor(){super(["architecture"])}},Xsi=class extends Ig{static{i(this,"ArchitectureValueConverter")}static{X(this,"ArchitectureValueConverter")}runCustomConverter(t,r,a){if(t.name==="ARCH_ICON")return r.replace(/[()]/g,"").trim();if(t.name==="ARCH_TEXT_ICON")return r.replace(/["()]/g,"");if(t.name==="ARCH_TITLE"){let o=r.replace(/^\[|]$/g,"").trim();return(o.startsWith('"')&&o.endsWith('"')||o.startsWith("'")&&o.endsWith("'"))&&(o=o.slice(1,-1),o=o.replace(/\\"/g,'"').replace(/\\'/g,"'")),o.trim()}}},Y3e={parser:{TokenBuilder:X(()=>new Ksi,"TokenBuilder"),ValueConverter:X(()=>new Xsi,"ValueConverter")}};i(K3e,"createArchitectureServices");X(K3e,"createArchitectureServices")});function dOr(t){let r=t.validation.EventModelingValidator,a=t.validation.ValidationRegistry;if(a){let o={EmTimeFrame:r.checkSourceFrameTypes.bind(r),EmResetFrame:r.checkSourceFrameTypes.bind(r)};a.register(o,r)}}function Q3e(t=ku){let r=_o(uu(t),Cu),a=_o(cu({shared:r}),Zot,X3e);return r.ServiceRegistry.register(a),dOr(a),{shared:r,EventModel:a}}var Qsi,cOr,uOr,Slt,hOr,fOr,Jsi,X3e,Alt=ie(()=>{"use strict";hu();Qsi=class extends zu{static{i(this,"EventModelingTokenBuilder")}static{X(this,"EventModelingTokenBuilder")}constructor(){super(["eventmodeling"])}},cOr=new Set(["cmd","command"]),uOr=new Set(["evt","event"]),Slt=new Set(["rmo","readmodel"]),hOr=new Set(["pcr","processor"]),fOr=new Set(["ui"]);i(dOr,"registerValidationChecks");X(dOr,"registerValidationChecks");Jsi=class{static{i(this,"EventModelingValidator")}static{X(this,"EventModelingValidator")}checkSourceFrameTypes(t,r){t.sourceFrames.length!==0&&(cOr.has(t.modelEntityType)?this.validateSources(t,new Set([...fOr,...hOr]),"command","ui or processor",r):uOr.has(t.modelEntityType)?this.validateSources(t,cOr,"event","command",r):Slt.has(t.modelEntityType)?this.validateSources(t,uOr,"read model","event",r):hOr.has(t.modelEntityType)?this.validateSources(t,Slt,"processor","read model",r):fOr.has(t.modelEntityType)&&this.validateSources(t,Slt,"ui","read model",r))}validateSources(t,r,a,o,l){for(let h of t.sourceFrames){let f=h.ref;f!==void 0&&!r.has(f.modelEntityType)&&l("error",`A ${a} can only receive input from a ${o}, not from '${f.modelEntityType}'.`,{node:t,property:"sourceFrames"})}}},X3e={parser:{TokenBuilder:X(()=>new Qsi,"TokenBuilder"),ValueConverter:X(()=>new Zw,"ValueConverter")},validation:{EventModelingValidator:X(()=>new Jsi,"EventModelingValidator")}};i(Q3e,"createEventModelingServices");X(Q3e,"createEventModelingServices")});var pOr={};cs(pOr,{InfoModule:()=>G3e,createInfoServices:()=>j3e});var gOr=ie(()=>{"use strict";xlt();hu()});var mOr={};cs(mOr,{PacketModule:()=>z3e,createPacketServices:()=>U3e});var yOr=ie(()=>{"use strict";Tlt();hu()});var bOr={};cs(bOr,{PieModule:()=>V3e,createPieServices:()=>H3e});var vOr=ie(()=>{"use strict";klt();hu()});var wOr={};cs(wOr,{TreeViewModule:()=>q3e,createTreeViewServices:()=>W3e});var xOr=ie(()=>{"use strict";Clt();hu()});var TOr={};cs(TOr,{ArchitectureModule:()=>Y3e,createArchitectureServices:()=>K3e});var kOr=ie(()=>{"use strict";Elt();hu()});var COr={};cs(COr,{GitGraphModule:()=>F3e,createGitGraphServices:()=>$3e});var EOr=ie(()=>{"use strict";wlt();hu()});var SOr={};cs(SOr,{EventModelingModule:()=>X3e,createEventModelingServices:()=>Q3e});var AOr=ie(()=>{"use strict";Alt();hu()});var ROr={};cs(ROr,{RadarModule:()=>S3e,createRadarServices:()=>A3e});var LOr=ie(()=>{"use strict";flt();hu()});var DOr={};cs(DOr,{RailroadModule:()=>R3e,createRailroadServices:()=>FV});var _Or=ie(()=>{"use strict";dlt();hu()});var MOr={};cs(MOr,{RailroadEbnfModule:()=>L3e,createRailroadEbnfServices:()=>$V});var IOr=ie(()=>{"use strict";plt();hu()});var NOr={};cs(NOr,{RailroadAbnfModule:()=>D3e,createRailroadAbnfServices:()=>GV});var OOr=ie(()=>{"use strict";glt();hu()});var POr={};cs(POr,{RailroadPegModule:()=>_3e,createRailroadPegServices:()=>jV});var BOr=ie(()=>{"use strict";mlt();hu()});var FOr={};cs(FOr,{TreemapModule:()=>M3e,createTreemapServices:()=>I3e});var $Or=ie(()=>{"use strict";ylt();hu()});var GOr={};cs(GOr,{WardleyModule:()=>N3e,createWardleyServices:()=>O3e});var jOr=ie(()=>{"use strict";blt();hu()});var zOr={};cs(zOr,{CynefinModule:()=>P3e,createCynefinServices:()=>B3e});var UOr=ie(()=>{"use strict";vlt();hu()});async function Fd(t,r){let a=Zsi[t];if(!a)throw new Error(`Unknown diagram type: ${t}`);g1[t]||await a();let l=g1[t].parse(r);if(l.lexerErrors.length>0||l.parserErrors.length>0)throw new GA(l);return l.value}var g1,Zsi,J3e,GA,m1=ie(()=>{"use strict";flt();dlt();plt();glt();mlt();ylt();blt();vlt();wlt();xlt();Tlt();klt();Clt();Elt();Alt();hu();g1={},Zsi={info:X(async()=>{let{createInfoServices:t}=await Promise.resolve().then(()=>(gOr(),pOr)),r=t().Info.parser.LangiumParser;g1.info=r},"info"),packet:X(async()=>{let{createPacketServices:t}=await Promise.resolve().then(()=>(yOr(),mOr)),r=t().Packet.parser.LangiumParser;g1.packet=r},"packet"),pie:X(async()=>{let{createPieServices:t}=await Promise.resolve().then(()=>(vOr(),bOr)),r=t().Pie.parser.LangiumParser;g1.pie=r},"pie"),treeView:X(async()=>{let{createTreeViewServices:t}=await Promise.resolve().then(()=>(xOr(),wOr)),r=t().TreeView.parser.LangiumParser;g1.treeView=r},"treeView"),architecture:X(async()=>{let{createArchitectureServices:t}=await Promise.resolve().then(()=>(kOr(),TOr)),r=t().Architecture.parser.LangiumParser;g1.architecture=r},"architecture"),gitGraph:X(async()=>{let{createGitGraphServices:t}=await Promise.resolve().then(()=>(EOr(),COr)),r=t().GitGraph.parser.LangiumParser;g1.gitGraph=r},"gitGraph"),eventmodeling:X(async()=>{let{createEventModelingServices:t}=await Promise.resolve().then(()=>(AOr(),SOr)),r=t().EventModel.parser.LangiumParser;g1.eventmodeling=r},"eventmodeling"),radar:X(async()=>{let{createRadarServices:t}=await Promise.resolve().then(()=>(LOr(),ROr)),r=t().Radar.parser.LangiumParser;g1.radar=r},"radar"),railroad:X(async()=>{let{createRailroadServices:t}=await Promise.resolve().then(()=>(_Or(),DOr)),r=t().Railroad.parser.LangiumParser;g1.railroad=r},"railroad"),railroadEbnf:X(async()=>{let{createRailroadEbnfServices:t}=await Promise.resolve().then(()=>(IOr(),MOr)),r=t().RailroadEbnf.parser.LangiumParser;g1.railroadEbnf=r},"railroadEbnf"),railroadAbnf:X(async()=>{let{createRailroadAbnfServices:t}=await Promise.resolve().then(()=>(OOr(),NOr)),r=t().RailroadAbnf.parser.LangiumParser;g1.railroadAbnf=r},"railroadAbnf"),railroadPeg:X(async()=>{let{createRailroadPegServices:t}=await Promise.resolve().then(()=>(BOr(),POr)),r=t().RailroadPeg.parser.LangiumParser;g1.railroadPeg=r},"railroadPeg"),treemap:X(async()=>{let{createTreemapServices:t}=await Promise.resolve().then(()=>($Or(),FOr)),r=t().Treemap.parser.LangiumParser;g1.treemap=r},"treemap"),wardley:X(async()=>{let{createWardleyServices:t}=await Promise.resolve().then(()=>(jOr(),GOr)),r=t().Wardley.parser.LangiumParser;g1.wardley=r},"wardley"),cynefin:X(async()=>{let{createCynefinServices:t}=await Promise.resolve().then(()=>(UOr(),zOr)),r=t().Cynefin.parser.LangiumParser;g1.cynefin=r},"cynefin")};i(Fd,"parse");X(Fd,"parse");J3e=X(t=>t!==void 0&&t>=0?t:"?","formatLocation"),GA=class extends Error{static{i(this,"MermaidParseError")}constructor(t){let r=t.lexerErrors.map(o=>{let l=J3e(o.line),h=J3e(o.column);return`Lexer error on line ${l}, column ${h}: ${o.message}`}).join(` +`),a=t.parserErrors.map(o=>{let l=J3e(o.token.startLine),h=J3e(o.token.startColumn);return`Parse error on line ${l}, column ${h}: ${o.message}`}).join(` +`);super(`Parsing failed: ${r} ${a}`),this.result=t}static{X(this,"MermaidParseError")}}});function Th(t,r){t.accDescr&&r.setAccDescription?.(t.accDescr),t.accTitle&&r.setAccTitle?.(t.accTitle),t.title&&r.setDiagramTitle?.(t.title)}var Nb=ie(()=>{"use strict";i(Th,"populateCommonDb")});var Eu,Z3e=ie(()=>{"use strict";Eu={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4}});var KD,e4e=ie(()=>{"use strict";KD=class{constructor(r){this.init=r;this.records=this.init()}static{i(this,"ImperativeState")}reset(){this.records=this.init()}}});function Rlt(){return zXe({length:7})}function toi(t,r){let a=Object.create(null);return t.reduce((o,l)=>{let h=r(l);return a[h]||(a[h]=!0,o.push(l)),o},[])}function VOr(t,r,a){let o=t.indexOf(r);o===-1?t.push(a):t.splice(o,1,a)}function qOr(t){let r=t.reduce((l,h)=>l.seq>h.seq?l:h,t[0]),a="";t.forEach(function(l){l===r?a+=" *":a+=" |"});let o=[a,r.id,r.seq];for(let l in ua.records.branches)ua.records.branches.get(l)===r.id&&o.push(l);if(Pe.debug(o.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){let l=ua.records.commits.get(r.parents[0]);VOr(t,r,l),r.parents[1]&&t.push(ua.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){let l=ua.records.commits.get(r.parents[0]);VOr(t,r,l)}}t=toi(t,l=>l.id),qOr(t)}var eoi,RP,ua,roi,noi,ioi,aoi,soi,ooi,loi,HOr,coi,uoi,hoi,foi,doi,WOr,poi,goi,moi,t4e,Llt=ie(()=>{"use strict";Xn();Ia();Qs();rl();xu();Z3e();e4e();up();eoi=hs.gitGraph,RP=i(()=>nl({...eoi,...ii().gitGraph}),"getConfig"),ua=new KD(()=>{let t=RP(),r=t.mainBranchName,a=t.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:a}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});i(Rlt,"getID");i(toi,"uniqBy");roi=i(function(t){ua.records.direction=t},"setDirection"),noi=i(function(t){Pe.debug("options str",t),t=t?.trim(),t=t||"{}";try{ua.records.options=JSON.parse(t)}catch(r){Pe.error("error while parsing gitGraph options",r.message)}},"setOptions"),ioi=i(function(){return ua.records.options},"getOptions"),aoi=i(function(t){let r=t.msg,a=t.id,o=t.type,l=t.tags;Pe.info("commit",r,a,o,l),Pe.debug("Entering commit:",r,a,o,l);let h=RP();a=Wn.sanitizeText(a,h),r=Wn.sanitizeText(r,h),l=l?.map(p=>Wn.sanitizeText(p,h));let f={id:a||ua.records.seq+"-"+Rlt(),message:r,seq:ua.records.seq++,type:o??Eu.NORMAL,tags:l??[],parents:ua.records.head==null?[]:[ua.records.head.id],branch:ua.records.currBranch};ua.records.head=f,Pe.info("main branch",h.mainBranchName),ua.records.commits.has(f.id)&&Pe.warn(`Commit ID ${f.id} already exists`),ua.records.commits.set(f.id,f),ua.records.branches.set(ua.records.currBranch,f.id),Pe.debug("in pushCommit "+f.id)},"commit"),soi=i(function(t){let r=t.name,a=t.order;if(r=Wn.sanitizeText(r,RP()),ua.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);ua.records.branches.set(r,ua.records.head!=null?ua.records.head.id:null),ua.records.branchConfig.set(r,{name:r,order:a}),HOr(r),Pe.debug("in createBranch")},"branch"),ooi=i(t=>{let r=t.branch,a=t.id,o=t.type,l=t.tags,h=RP();r=Wn.sanitizeText(r,h),a&&(a=Wn.sanitizeText(a,h));let f=ua.records.branches.get(ua.records.currBranch),p=ua.records.branches.get(r),m=f?ua.records.commits.get(f):void 0,b=p?ua.records.commits.get(p):void 0;if(m&&b&&m.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(ua.records.currBranch===r){let C=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw C.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},C}if(m===void 0||!m){let C=new Error(`Incorrect usage of "merge". Current branch (${ua.records.currBranch})has no commits`);throw C.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},C}if(!ua.records.branches.has(r)){let C=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw C.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},C}if(b===void 0||!b){let C=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw C.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},C}if(m===b){let C=new Error('Incorrect usage of "merge". Both branches have same head');throw C.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},C}if(a&&ua.records.commits.has(a)){let C=new Error('Incorrect usage of "merge". Commit with id:'+a+" already exists, use different custom id");throw C.hash={text:`merge ${r} ${a} ${o} ${l?.join(" ")}`,token:`merge ${r} ${a} ${o} ${l?.join(" ")}`,expected:[`merge ${r} ${a}_UNIQUE ${o} ${l?.join(" ")}`]},C}let v=p||"",T={id:a||`${ua.records.seq}-${Rlt()}`,message:`merged branch ${r} into ${ua.records.currBranch}`,seq:ua.records.seq++,parents:ua.records.head==null?[]:[ua.records.head.id,v],branch:ua.records.currBranch,type:Eu.MERGE,customType:o,customId:!!a,tags:l??[]};ua.records.head=T,ua.records.commits.set(T.id,T),ua.records.branches.set(ua.records.currBranch,T.id),Pe.debug(ua.records.branches),Pe.debug("in mergeBranch")},"merge"),loi=i(function(t){let r=t.id,a=t.targetId,o=t.tags,l=t.parent;Pe.debug("Entering cherryPick:",r,a,o);let h=RP();if(r=Wn.sanitizeText(r,h),a=Wn.sanitizeText(a,h),o=o?.map(m=>Wn.sanitizeText(m,h)),l=Wn.sanitizeText(l,h),!r||!ua.records.commits.has(r)){let m=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw m.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},m}let f=ua.records.commits.get(r);if(f===void 0||!f)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(l&&!(Array.isArray(f.parents)&&f.parents.includes(l)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");let p=f.branch;if(f.type===Eu.MERGE&&!l)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!a||!ua.records.commits.has(a)){if(p===ua.records.currBranch){let T=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw T.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},T}let m=ua.records.branches.get(ua.records.currBranch);if(m===void 0||!m){let T=new Error(`Incorrect usage of "cherry-pick". Current branch (${ua.records.currBranch})has no commits`);throw T.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},T}let b=ua.records.commits.get(m);if(b===void 0||!b){let T=new Error(`Incorrect usage of "cherry-pick". Current branch (${ua.records.currBranch})has no commits`);throw T.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},T}let v={id:ua.records.seq+"-"+Rlt(),message:`cherry-picked ${f?.message} into ${ua.records.currBranch}`,seq:ua.records.seq++,parents:ua.records.head==null?[]:[ua.records.head.id,f.id],branch:ua.records.currBranch,type:Eu.CHERRY_PICK,tags:o?o.filter(Boolean):[`cherry-pick:${f.id}${f.type===Eu.MERGE?`|parent:${l}`:""}`]};ua.records.head=v,ua.records.commits.set(v.id,v),ua.records.branches.set(ua.records.currBranch,v.id),Pe.debug(ua.records.branches),Pe.debug("in cherryPick")}},"cherryPick"),HOr=i(function(t){if(t=Wn.sanitizeText(t,RP()),ua.records.branches.has(t)){ua.records.currBranch=t;let r=ua.records.branches.get(ua.records.currBranch);r===void 0||!r?ua.records.head=null:ua.records.head=ua.records.commits.get(r)??null}else{let r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw r.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},r}},"checkout");i(VOr,"upsert");i(qOr,"prettyPrintCommitHistory");coi=i(function(){Pe.debug(ua.records.commits);let t=WOr()[0];qOr([t])},"prettyPrint"),uoi=i(function(){ua.reset(),Is()},"clear"),hoi=i(function(){return[...ua.records.branchConfig.values()].map((r,a)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${a}`)}).sort((r,a)=>(r.order??0)-(a.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),foi=i(function(){return ua.records.branches},"getBranches"),doi=i(function(){return ua.records.commits},"getCommits"),WOr=i(function(){let t=[...ua.records.commits.values()];return t.forEach(function(r){Pe.debug(r.id)}),t.sort((r,a)=>r.seq-a.seq),t},"getCommitsArray"),poi=i(function(){return ua.records.currBranch},"getCurrentBranch"),goi=i(function(){return ua.records.direction},"getDirection"),moi=i(function(){return ua.records.head},"getHead"),t4e={commitType:Eu,getConfig:RP,setDirection:roi,setOptions:noi,getOptions:ioi,commit:aoi,branch:soi,merge:ooi,cherryPick:loi,checkout:HOr,prettyPrint:coi,clear:uoi,getBranchesAsObjArray:hoi,getBranches:foi,getCommits:doi,getCommitsArray:WOr,getCurrentBranch:poi,getDirection:goi,getHead:moi,setAccTitle:Os,getAccTitle:Ws,getAccDescription:Ys,setAccDescription:js,setDiagramTitle:ao,getDiagramTitle:Js}});var yoi,boi,voi,woi,xoi,Toi,koi,YOr,KOr=ie(()=>{"use strict";m1();Xn();Nb();Llt();Z3e();yoi=i((t,r)=>{Th(t,r),t.dir&&r.setDirection(t.dir);for(let a of t.statements)boi(a,r)},"populate"),boi=i((t,r)=>{let o={Commit:i(l=>r.commit(voi(l)),"Commit"),Branch:i(l=>r.branch(woi(l)),"Branch"),Merge:i(l=>r.merge(xoi(l)),"Merge"),Checkout:i(l=>r.checkout(Toi(l)),"Checkout"),CherryPicking:i(l=>r.cherryPick(koi(l)),"CherryPicking")}[t.$type];o?o(t):Pe.error(`Unknown statement type: ${t.$type}`)},"parseStatement"),voi=i(t=>({id:t.id,msg:t.message??"",type:t.type!==void 0?Eu[t.type]:Eu.NORMAL,tags:t.tags??void 0}),"parseCommit"),woi=i(t=>({name:t.name,order:t.order??0}),"parseBranch"),xoi=i(t=>({branch:t.branch,id:t.id??"",type:t.type!==void 0?Eu[t.type]:void 0,tags:t.tags??void 0}),"parseMerge"),Toi=i(t=>t.branch,"parseCheckout"),koi=i(t=>({id:t.id,targetId:"",tags:t.tags?.length===0?void 0:t.tags,parent:t.parent}),"parseCherryPicking"),YOr={parse:i(async t=>{let r=await Fd("gitGraph",t);Pe.debug(r),yoi(r,t4e)},"parse")}});var XD,QD,OS,jA,LP,i4e,Dlt,_lt,Coi,DP,g2,m2,r4e,Xie,n4e,zA,uc,Eoi,QOr,JOr,Soi,Aoi,Roi,Loi,Doi,_oi,Moi,Ioi,Noi,Ooi,Poi,Boi,XOr,Foi,Qie,$oi,Goi,joi,zoi,Uoi,ZOr,ePr=ie(()=>{"use strict";Yo();ma();Xn();Ia();Z3e();XD=10,QD=40,OS=4,jA=2,LP=8,i4e=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),Dlt=12,_lt=new Set(["redux-color","redux-dark-color"]),Coi=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),DP=i((t,r,a=!1)=>a&&t>0?(t-1)%(r-1)+1:t%r,"calcColorIndex"),g2=new Map,m2=new Map,r4e=30,Xie=new Map,n4e=[],zA=0,uc="LR",Eoi=i(()=>{g2.clear(),m2.clear(),Xie.clear(),zA=0,n4e=[],uc="LR"},"clear"),QOr=i(t=>{let r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof t=="string"?t.split(/\\n|\n|/gi):t).forEach(o=>{let l=document.createElementNS("http://www.w3.org/2000/svg","tspan");l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),l.setAttribute("dy","1em"),l.setAttribute("x","0"),l.setAttribute("class","row"),l.textContent=o.trim(),r.appendChild(l)}),r},"drawText"),JOr=i(t=>{let r,a,o;return uc==="BT"?(a=i((l,h)=>l<=h,"comparisonFunc"),o=1/0):(a=i((l,h)=>l>=h,"comparisonFunc"),o=0),t.forEach(l=>{let h=uc==="TB"||uc=="BT"?m2.get(l)?.y:m2.get(l)?.x;h!==void 0&&a(h,o)&&(r=l,o=h)}),r},"findClosestParent"),Soi=i(t=>{let r="",a=1/0;return t.forEach(o=>{let l=m2.get(o).y;l<=a&&(r=o,a=l)}),r||void 0},"findClosestParentBT"),Aoi=i((t,r,a)=>{let o=a,l=a,h=[];t.forEach(f=>{let p=r.get(f);if(!p)throw new Error(`Commit not found for key ${f}`);p.parents.length?(o=Loi(p),l=Math.max(o,l)):h.push(p),Doi(p,o)}),o=l,h.forEach(f=>{_oi(f,o,a)}),t.forEach(f=>{let p=r.get(f);if(p?.parents.length){let m=Soi(p.parents);o=m2.get(m).y-QD,o<=l&&(l=o);let b=g2.get(p.branch).pos,v=o-XD;m2.set(p.id,{x:b,y:v})}})},"setParallelBTPos"),Roi=i(t=>{let r=JOr(t.parents.filter(o=>o!==null));if(!r)throw new Error(`Closest parent not found for commit ${t.id}`);let a=m2.get(r)?.y;if(a===void 0)throw new Error(`Closest parent position not found for commit ${t.id}`);return a},"findClosestParentPos"),Loi=i(t=>Roi(t)+QD,"calculateCommitPosition"),Doi=i((t,r)=>{let a=g2.get(t.branch);if(!a)throw new Error(`Branch not found for commit ${t.id}`);let o=a.pos,l=r+XD;return m2.set(t.id,{x:o,y:l}),{x:o,y:l}},"setCommitPosition"),_oi=i((t,r,a)=>{let o=g2.get(t.branch);if(!o)throw new Error(`Branch not found for commit ${t.id}`);let l=r+a,h=o.pos;m2.set(t.id,{x:h,y:l})},"setRootPosition"),Moi=i((t,r,a,o,l,h)=>{let{theme:f}=Zt(),p=i4e.has(f??""),m=_lt.has(f??""),b=Coi.has(f??"");if(h===Eu.HIGHLIGHT)t.append("rect").attr("x",a.x-10+(p?3:0)).attr("y",a.y-10+(p?3:0)).attr("width",p?14:20).attr("height",p?14:20).attr("class",`commit ${r.id} commit-highlight${DP(l,LP,m)} ${o}-outer`),t.append("rect").attr("x",a.x-6+(p?2:0)).attr("y",a.y-6+(p?2:0)).attr("width",p?8:12).attr("height",p?8:12).attr("class",`commit ${r.id} commit${DP(l,LP,m)} ${o}-inner`);else if(h===Eu.CHERRY_PICK)t.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",p?7:10).attr("class",`commit ${r.id} ${o}`),t.append("circle").attr("cx",a.x-3).attr("cy",a.y+2).attr("r",p?2.5:2.75).attr("fill",b?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`),t.append("circle").attr("cx",a.x+3).attr("cy",a.y+2).attr("r",p?2.5:2.75).attr("fill",b?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`),t.append("line").attr("x1",a.x+3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke",b?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`),t.append("line").attr("x1",a.x-3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke",b?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`);else{let v=t.append("circle");if(v.attr("cx",a.x),v.attr("cy",a.y),v.attr("r",p?7:10),v.attr("class",`commit ${r.id} commit${DP(l,LP,m)}`),h===Eu.MERGE){let T=t.append("circle");T.attr("cx",a.x),T.attr("cy",a.y),T.attr("r",p?5:6),T.attr("class",`commit ${o} ${r.id} commit${DP(l,LP,m)}`)}if(h===Eu.REVERSE){let T=t.append("path"),C=p?4:5;T.attr("d",`M ${a.x-C},${a.y-C}L${a.x+C},${a.y+C}M${a.x-C},${a.y+C}L${a.x+C},${a.y-C}`).attr("class",`commit ${o} ${r.id} commit${DP(l,LP,m)}`)}}},"drawCommitBullet"),Ioi=i((t,r,a,o,l)=>{if(r.type!==Eu.CHERRY_PICK&&(r.customId&&r.type===Eu.MERGE||r.type!==Eu.MERGE)&&l.showCommitLabel){let h=t.append("g"),f=h.insert("rect").attr("class","commit-label-bkg"),p=h.append("text").attr("x",o).attr("y",a.y+25).attr("class","commit-label").text(r.id),m=p.node()?.getBBox();if(m&&(f.attr("x",a.posWithOffset-m.width/2-jA).attr("y",a.y+13.5).attr("width",m.width+2*jA).attr("height",m.height+2*jA),uc==="TB"||uc==="BT"?(f.attr("x",a.x-(m.width+4*OS+5)).attr("y",a.y-12),p.attr("x",a.x-(m.width+4*OS)).attr("y",a.y+m.height-12)):p.attr("x",a.posWithOffset-m.width/2),l.rotateCommitLabel))if(uc==="TB"||uc==="BT")p.attr("transform","rotate(-45, "+a.x+", "+a.y+")"),f.attr("transform","rotate(-45, "+a.x+", "+a.y+")");else{let b=-7.5-(m.width+10)/25*9.5,v=10+m.width/25*8.5;h.attr("transform","translate("+b+", "+v+") rotate(-45, "+o+", "+a.y+")")}}},"drawCommitLabel"),Noi=i((t,r,a,o)=>{if(r.tags.length>0){let l=0,h=0,f=0,p=[];for(let m of r.tags.reverse()){let b=t.insert("polygon"),v=t.append("circle"),T=t.append("text").attr("y",a.y-16-l).attr("class","tag-label").text(m),C=T.node()?.getBBox();if(!C)throw new Error("Tag bbox not found");h=Math.max(h,C.width),f=Math.max(f,C.height),T.attr("x",a.posWithOffset-C.width/2),p.push({tag:T,hole:v,rect:b,yOffset:l}),l+=20}for(let{tag:m,hole:b,rect:v,yOffset:T}of p){let C=f/2,E=a.y-19.2-T;if(v.attr("class","tag-label-bkg").attr("points",` + ${o-h/2-OS/2},${E+jA} + ${o-h/2-OS/2},${E-jA} + ${a.posWithOffset-h/2-OS},${E-C-jA} + ${a.posWithOffset+h/2+OS},${E-C-jA} + ${a.posWithOffset+h/2+OS},${E+C+jA} + ${a.posWithOffset-h/2-OS},${E+C+jA}`),b.attr("cy",E).attr("cx",o-h/2+OS/2).attr("r",1.5).attr("class","tag-hole"),uc==="TB"||uc==="BT"){let S=o+T;v.attr("class","tag-label-bkg").attr("points",` + ${a.x},${S+2} + ${a.x},${S-2} + ${a.x+XD},${S-C-2} + ${a.x+XD+h+4},${S-C-2} + ${a.x+XD+h+4},${S+C+2} + ${a.x+XD},${S+C+2}`).attr("transform","translate(12,12) rotate(45, "+a.x+","+o+")"),b.attr("cx",a.x+OS/2).attr("cy",S).attr("transform","translate(12,12) rotate(45, "+a.x+","+o+")"),m.attr("x",a.x+5).attr("y",S+3).attr("transform","translate(14,14) rotate(45, "+a.x+","+o+")")}}}},"drawCommitTags"),Ooi=i(t=>{switch(t.customType??t.type){case Eu.NORMAL:return"commit-normal";case Eu.REVERSE:return"commit-reverse";case Eu.HIGHLIGHT:return"commit-highlight";case Eu.MERGE:return"commit-merge";case Eu.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),Poi=i((t,r,a,o)=>{let l={x:0,y:0};if(t.parents.length>0){let h=JOr(t.parents);if(h){let f=o.get(h)??l;return r==="TB"?f.y+QD:r==="BT"?(o.get(t.id)??l).y-QD:f.x+QD}}else return r==="TB"?r4e:r==="BT"?(o.get(t.id)??l).y-QD:0;return 0},"calculatePosition"),Boi=i((t,r,a)=>{let o=uc==="BT"&&a?r:r+XD,l=g2.get(t.branch)?.pos,h=uc==="TB"||uc==="BT"?g2.get(t.branch)?.pos:o;if(h===void 0||l===void 0)throw new Error(`Position were undefined for commit ${t.id}`);let f=i4e.has(Zt().theme??""),p=uc==="TB"||uc==="BT"?o:l+(f?Dlt/2+1:-2);return{x:h,y:p,posWithOffset:o}},"getCommitPosition"),XOr=i((t,r,a,o)=>{let l=t.append("g").attr("class","commit-bullets"),h=t.append("g").attr("class","commit-labels"),f=uc==="TB"||uc==="BT"?r4e:0,p=[...r.keys()],m=o.parallelCommits??!1,b=i((T,C)=>{let E=r.get(T)?.seq,S=r.get(C)?.seq;return E!==void 0&&S!==void 0?E-S:0},"sortKeys"),v=p.sort(b);uc==="BT"&&(m&&Aoi(v,r,f),v=v.reverse()),v.forEach(T=>{let C=r.get(T);if(!C)throw new Error(`Commit not found for key ${T}`);m&&(f=Poi(C,uc,f,m2));let E=Boi(C,f,m);if(a){let S=Ooi(C),R=C.customType??C.type,L=g2.get(C.branch)?.index??0;Moi(l,C,E,S,L,R),Ioi(h,C,E,f,o),Noi(h,C,E,f)}uc==="TB"||uc==="BT"?m2.set(C.id,{x:E.x,y:E.posWithOffset}):m2.set(C.id,{x:E.posWithOffset,y:E.y}),f=uc==="BT"&&m?f+QD:f+QD+XD,f>zA&&(zA=f)})},"drawCommits"),Foi=i((t,r,a,o,l)=>{let f=(uc==="TB"||uc==="BT"?a.xb.branch===f,"isOnBranchToGetCurve"),m=i(b=>b.seq>t.seq&&b.seqm(b)&&p(b))},"shouldRerouteArrow"),Qie=i((t,r,a=0)=>{let o=t+Math.abs(t-r)/2;if(a>5)return o;if(n4e.every(f=>Math.abs(f-o)>=10))return n4e.push(o),o;let h=Math.abs(t-r);return Qie(t,r-h/5,a+1)},"findLane"),$oi=i((t,r,a,o)=>{let{theme:l}=Zt(),h=_lt.has(l??""),f=m2.get(r.id),p=m2.get(a.id);if(f===void 0||p===void 0)throw new Error(`Commit positions not found for commits ${r.id} and ${a.id}`);let m=Foi(r,a,f,p,o),b="",v="",T=0,C=0,E=g2.get(a.branch)?.index;a.type===Eu.MERGE&&r.id!==a.parents[0]&&(E=g2.get(r.branch)?.index);let S;if(m){b="A 10 10, 0, 0, 0,",v="A 10 10, 0, 0, 1,",T=10,C=10;let R=f.yp.x&&(b="A 20 20, 0, 0, 0,",v="A 20 20, 0, 0, 1,",T=20,C=20,a.type===Eu.MERGE&&r.id!==a.parents[0]?S=`M ${f.x} ${f.y} L ${f.x} ${p.y-T} ${v} ${f.x-C} ${p.y} L ${p.x} ${p.y}`:S=`M ${f.x} ${f.y} L ${p.x+T} ${f.y} ${b} ${p.x} ${f.y+C} L ${p.x} ${p.y}`),f.x===p.x&&(S=`M ${f.x} ${f.y} L ${p.x} ${p.y}`)):uc==="BT"?(f.xp.x&&(b="A 20 20, 0, 0, 0,",v="A 20 20, 0, 0, 1,",T=20,C=20,a.type===Eu.MERGE&&r.id!==a.parents[0]?S=`M ${f.x} ${f.y} L ${f.x} ${p.y+T} ${b} ${f.x-C} ${p.y} L ${p.x} ${p.y}`:S=`M ${f.x} ${f.y} L ${p.x+T} ${f.y} ${v} ${p.x} ${f.y-C} L ${p.x} ${p.y}`),f.x===p.x&&(S=`M ${f.x} ${f.y} L ${p.x} ${p.y}`)):(f.yp.y&&(a.type===Eu.MERGE&&r.id!==a.parents[0]?S=`M ${f.x} ${f.y} L ${p.x-T} ${f.y} ${b} ${p.x} ${f.y-C} L ${p.x} ${p.y}`:S=`M ${f.x} ${f.y} L ${f.x} ${p.y+T} ${v} ${f.x+C} ${p.y} L ${p.x} ${p.y}`),f.y===p.y&&(S=`M ${f.x} ${f.y} L ${p.x} ${p.y}`));if(S===void 0)throw new Error("Line definition not found");t.append("path").attr("d",S).attr("class","arrow arrow"+DP(E,LP,h))},"drawArrow"),Goi=i((t,r)=>{let a=t.append("g").attr("class","commit-arrows");[...r.keys()].forEach(o=>{let l=r.get(o);l.parents&&l.parents.length>0&&l.parents.forEach(h=>{$oi(a,r.get(h),l,r)})})},"drawArrows"),joi=i((t,r,a,o)=>{let{look:l,theme:h,themeVariables:f}=Zt(),{dropShadow:p,THEME_COLOR_LIMIT:m}=f,b=i4e.has(h??""),v=_lt.has(h??""),T=t.append("g");r.forEach((C,E)=>{let S=DP(E,b?m:LP,v),R=g2.get(C.name)?.pos;if(R===void 0)throw new Error(`Position not found for branch ${C.name}`);let L=uc==="TB"||uc==="BT"?R:b?R+Dlt/2+1:R-2,_=T.append("line");_.attr("x1",0),_.attr("y1",L),_.attr("x2",zA),_.attr("y2",L),_.attr("class","branch branch"+S),uc==="TB"?(_.attr("y1",r4e),_.attr("x1",R),_.attr("y2",zA),_.attr("x2",R)):uc==="BT"&&(_.attr("y1",zA),_.attr("x1",R),_.attr("y2",r4e),_.attr("x2",R)),n4e.push(L);let M=C.name,I=QOr(M),F=T.insert("rect"),P=T.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+S);P.node().appendChild(I);let G=I.getBBox(),V=b?0:4,Y=b?16:0,K=b?Dlt:0;l==="neo"&&F.attr("data-look","neo"),F.attr("class","branchLabelBkg label"+S).attr("style",l==="neo"?`filter:${b?`url(#${o}-drop-shadow)`:p}`:"").attr("rx",V).attr("ry",V).attr("x",-G.width-4-(a.rotateCommitLabel===!0?30:0)).attr("y",-G.height/2+10).attr("width",G.width+18+Y).attr("height",G.height+4+K),P.attr("transform","translate("+(-G.width-14-(a.rotateCommitLabel===!0?30:0)+Y/2)+", "+(L-G.height/2-2)+")"),uc==="TB"?(F.attr("x",R-G.width/2-10).attr("y",0),P.attr("transform","translate("+(R-G.width/2-5)+", 0)"),b&&(F.attr("transform",`translate(${-Y/2-3}, ${-K-10})`),P.attr("transform","translate("+(R-G.width/2-5)+", "+(-K*2+7)+")"))):uc==="BT"?(F.attr("x",R-G.width/2-10).attr("y",zA),P.attr("transform","translate("+(R-G.width/2-5)+", "+zA+")"),b&&(F.attr("transform",`translate(${-Y/2-3}, ${K+10})`),P.attr("transform","translate("+(R-G.width/2-5)+", "+(zA+K*2+4)+")"))):F.attr("transform","translate(-19, "+(L-12-K/2)+")")})},"drawBranches"),zoi=i(function(t,r,a,o,l){return g2.set(t,{pos:r,index:a}),r+=50+(l?40:0)+(uc==="TB"||uc==="BT"?o.width/2:0),r},"setBranchPosition"),Uoi=i(function(t,r,a,o){Eoi(),Pe.debug("in gitgraph renderer",t+` +`,"id:",r,a);let l=o.db;if(!l.getConfig){Pe.error("getConfig method is not available on db");return}let h=l.getConfig(),f=h.rotateCommitLabel??!1;Xie=l.getCommits();let p=l.getBranchesAsObjArray();uc=l.getDirection();let m=dn(`[id="${r}"]`),{look:b,theme:v,themeVariables:T}=Zt(),{useGradient:C,gradientStart:E,gradientStop:S,filterColor:R}=T;if(C){let _=m.append("defs").append("linearGradient").attr("id",r+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");_.append("stop").attr("offset","0%").attr("stop-color",E).attr("stop-opacity",1),_.append("stop").attr("offset","100%").attr("stop-color",S).attr("stop-opacity",1)}b==="neo"&&i4e.has(v??"")&&m.append("defs").append("filter").attr("id",r+"-drop-shadow").attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",R);let L=0;p.forEach((_,M)=>{let I=QOr(_.name),F=m.append("g"),O=F.insert("g").attr("class","branchLabel"),P=O.insert("g").attr("class","label branch-label");P.node()?.appendChild(I);let G=I.getBBox();L=zoi(_.name,L,M,G,f),P.remove(),O.remove(),F.remove()}),XOr(m,Xie,!1,h),h.showBranches&&joi(m,p,h,r),Goi(m,Xie),XOr(m,Xie,!0,h),Ya.insertTitle(m,"gitTitleText",h.titleTopMargin??0,l.getDiagramTitle()),Mee(void 0,m,h.diagramPadding,h.useMaxWidth)},"draw"),ZOr={draw:Uoi}});var tPr,rPr,Voi,Hoi,qoi,Woi,Yoi,Koi,Xoi,Qoi,nPr,iPr=ie(()=>{"use strict";Qs();tPr=8,rPr=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),Voi=new Set(["redux-color","redux-dark-color"]),Hoi=new Set(["neo","neo-dark"]),qoi=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),Woi=new Set(["redux","redux-dark","redux-color","redux-dark-color","neo","neo-dark"]),Yoi=i(t=>{let{svgId:r}=t,a="";if(t.useGradient&&r)for(let o=0;o{let r=ii(),{theme:a,themeVariables:o}=r,{borderColorArray:l}=o,h=rPr.has(a);if(Hoi.has(a)){let f="";for(let p=0;p`${Array.from({length:t.THEME_COLOR_LIMIT},(r,a)=>a).map(r=>{let a=r%tPr;return` + .branch-label${r} { fill: ${t["gitBranchLabel"+a]}; } + .commit${r} { stroke: ${t["git"+a]}; fill: ${t["git"+a]}; } + .commit-highlight${r} { stroke: ${t["gitInv"+a]}; fill: ${t["gitInv"+a]}; } + .label${r} { fill: ${t["git"+a]}; } + .arrow${r} { stroke: ${t["git"+a]}; } + `}).join(` +`)}`,"normalTheme"),Qoi=i(t=>{let r=ii(),{theme:a}=r,o=Woi.has(a);return` + .commit-id, + .commit-msg, + .branch-label { + fill: lightgrey; + color: lightgrey; + font-family: 'trebuchet ms', verdana, arial, sans-serif; + font-family: var(--mermaid-font-family); + } + + ${o?Koi(t):Xoi(t)} + + .branch { + stroke-width: ${t.strokeWidth}; + stroke: ${t.commitLineColor??t.lineColor}; + stroke-dasharray: ${o?"4 2":"2"}; + } + .commit-label { font-size: ${t.commitLabelFontSize}; fill: ${o?t.nodeBorder:t.commitLabelColor}; ${o?`font-weight:${t.noteFontWeight};`:""}} + .commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${o?"transparent":t.commitLabelBackground}; opacity: ${o?"":.5}; } + .tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};} + .tag-label-bkg { fill: ${o?t.mainBkg:t.tagLabelBackground}; stroke: ${o?t.nodeBorder:t.tagLabelBorder}; ${o?`filter:${t.dropShadow}`:""} } + .tag-hole { fill: ${t.textColor}; } + + .commit-merge { + stroke: ${o?t.mainBkg:t.primaryColor}; + fill: ${o?t.mainBkg:t.primaryColor}; + } + .commit-reverse { + stroke: ${o?t.mainBkg:t.primaryColor}; + fill: ${o?t.mainBkg:t.primaryColor}; + stroke-width: ${o?t.strokeWidth:3}; + } + .commit-highlight-outer { + } + .commit-highlight-inner { + stroke: ${o?t.mainBkg:t.primaryColor}; + fill: ${o?t.mainBkg:t.primaryColor}; + } + + .arrow { + /* Intentional: neo themes keep the bold 8px arrow (like classic themes); only redux-geometry themes use the thinner options.strokeWidth. */ + stroke-width: ${rPr.has(a)?t.strokeWidth:8}; + stroke-linecap: round; + fill: none + } + .gitTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${t.textColor}; + } +`},"getStyles"),nPr=Qoi});var aPr={};cs(aPr,{diagram:()=>Joi});var Joi,sPr=ie(()=>{"use strict";KOr();Llt();ePr();iPr();Joi={parser:YOr,db:t4e,renderer:ZOr,styles:nPr}});var Mlt,cPr,uPr=ie(()=>{"use strict";Mlt=(function(){var t=i(function(q,Z,Q,W){for(Q=Q||{},W=q.length;W--;Q[q[W]]=Z);return Q},"o"),r=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],a=[1,26],o=[1,27],l=[1,28],h=[1,29],f=[1,30],p=[1,31],m=[1,32],b=[1,33],v=[1,34],T=[1,9],C=[1,10],E=[1,11],S=[1,12],R=[1,13],L=[1,14],_=[1,15],M=[1,16],I=[1,19],F=[1,20],O=[1,21],P=[1,22],G=[1,23],V=[1,25],Y=[1,35],K={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:i(function(Z,Q,W,te,z,re,ae){var ce=re.length-1;switch(z){case 1:return re[ce-1];case 2:this.$=[];break;case 3:re[ce-1].push(re[ce]),this.$=re[ce-1];break;case 4:case 5:this.$=re[ce];break;case 6:case 7:this.$=[];break;case 8:te.setWeekday("monday");break;case 9:te.setWeekday("tuesday");break;case 10:te.setWeekday("wednesday");break;case 11:te.setWeekday("thursday");break;case 12:te.setWeekday("friday");break;case 13:te.setWeekday("saturday");break;case 14:te.setWeekday("sunday");break;case 15:te.setWeekend("friday");break;case 16:te.setWeekend("saturday");break;case 17:te.setDateFormat(re[ce].substr(11)),this.$=re[ce].substr(11);break;case 18:te.enableInclusiveEndDates(),this.$=re[ce].substr(18);break;case 19:te.TopAxis(),this.$=re[ce].substr(8);break;case 20:te.setAxisFormat(re[ce].substr(11)),this.$=re[ce].substr(11);break;case 21:te.setTickInterval(re[ce].substr(13)),this.$=re[ce].substr(13);break;case 22:te.setExcludes(re[ce].substr(9)),this.$=re[ce].substr(9);break;case 23:te.setIncludes(re[ce].substr(9)),this.$=re[ce].substr(9);break;case 24:te.setTodayMarker(re[ce].substr(12)),this.$=re[ce].substr(12);break;case 27:te.setDiagramTitle(re[ce].substr(6)),this.$=re[ce].substr(6);break;case 28:this.$=re[ce].trim(),te.setAccTitle(this.$);break;case 29:case 30:this.$=re[ce].trim(),te.setAccDescription(this.$);break;case 31:te.addSection(re[ce].substr(8)),this.$=re[ce].substr(8);break;case 33:te.addTask(re[ce-1],re[ce]),this.$="task";break;case 34:this.$=re[ce-1],te.setClickEvent(re[ce-1],re[ce],null);break;case 35:this.$=re[ce-2],te.setClickEvent(re[ce-2],re[ce-1],re[ce]);break;case 36:this.$=re[ce-2],te.setClickEvent(re[ce-2],re[ce-1],null),te.setLink(re[ce-2],re[ce]);break;case 37:this.$=re[ce-3],te.setClickEvent(re[ce-3],re[ce-2],re[ce-1]),te.setLink(re[ce-3],re[ce]);break;case 38:this.$=re[ce-2],te.setClickEvent(re[ce-2],re[ce],null),te.setLink(re[ce-2],re[ce-1]);break;case 39:this.$=re[ce-3],te.setClickEvent(re[ce-3],re[ce-1],re[ce]),te.setLink(re[ce-3],re[ce-2]);break;case 40:this.$=re[ce-1],te.setLink(re[ce-1],re[ce]);break;case 41:case 47:this.$=re[ce-1]+" "+re[ce];break;case 42:case 43:case 45:this.$=re[ce-2]+" "+re[ce-1]+" "+re[ce];break;case 44:case 46:this.$=re[ce-3]+" "+re[ce-2]+" "+re[ce-1]+" "+re[ce];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(r,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:a,13:o,14:l,15:h,16:f,17:p,18:m,19:18,20:b,21:v,22:T,23:C,24:E,25:S,26:R,27:L,28:_,29:M,30:I,31:F,33:O,35:P,36:G,37:24,38:V,40:Y},t(r,[2,7],{1:[2,1]}),t(r,[2,3]),{9:36,11:17,12:a,13:o,14:l,15:h,16:f,17:p,18:m,19:18,20:b,21:v,22:T,23:C,24:E,25:S,26:R,27:L,28:_,29:M,30:I,31:F,33:O,35:P,36:G,37:24,38:V,40:Y},t(r,[2,5]),t(r,[2,6]),t(r,[2,17]),t(r,[2,18]),t(r,[2,19]),t(r,[2,20]),t(r,[2,21]),t(r,[2,22]),t(r,[2,23]),t(r,[2,24]),t(r,[2,25]),t(r,[2,26]),t(r,[2,27]),{32:[1,37]},{34:[1,38]},t(r,[2,30]),t(r,[2,31]),t(r,[2,32]),{39:[1,39]},t(r,[2,8]),t(r,[2,9]),t(r,[2,10]),t(r,[2,11]),t(r,[2,12]),t(r,[2,13]),t(r,[2,14]),t(r,[2,15]),t(r,[2,16]),{41:[1,40],43:[1,41]},t(r,[2,4]),t(r,[2,28]),t(r,[2,29]),t(r,[2,33]),t(r,[2,34],{42:[1,42],43:[1,43]}),t(r,[2,40],{41:[1,44]}),t(r,[2,35],{43:[1,45]}),t(r,[2,36]),t(r,[2,38],{42:[1,46]}),t(r,[2,37]),t(r,[2,39])],defaultActions:{},parseError:i(function(Z,Q){if(Q.recoverable)this.trace(Z);else{var W=new Error(Z);throw W.hash=Q,W}},"parseError"),parse:i(function(Z){var Q=this,W=[0],te=[],z=[null],re=[],ae=this.table,ce="",le=0,de=0,ve=0,Se=2,_e=1,Ce=re.slice.call(arguments,1),Ve=Object.create(this.lexer),De={yy:{}};for(var qe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,qe)&&(De.yy[qe]=this.yy[qe]);Ve.setInput(Z,De.yy),De.yy.lexer=Ve,De.yy.parser=this,typeof Ve.yylloc>"u"&&(Ve.yylloc={});var Ue=Ve.yylloc;re.push(Ue);var We=Ve.options&&Ve.options.ranges;typeof De.yy.parseError=="function"?this.parseError=De.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function mt(ze){W.length=W.length-2*ze,z.length=z.length-ze,re.length=re.length-ze}i(mt,"popStack");function ct(){var ze;return ze=te.pop()||Ve.lex()||_e,typeof ze!="number"&&(ze instanceof Array&&(te=ze,ze=te.pop()),ze=Q.symbols_[ze]||ze),ze}i(ct,"lex");for(var Ot,yr,tr,Xe,Rt,ft,bt={},Me,Fe,je,He;;){if(tr=W[W.length-1],this.defaultActions[tr]?Xe=this.defaultActions[tr]:((Ot===null||typeof Ot>"u")&&(Ot=ct()),Xe=ae[tr]&&ae[tr][Ot]),typeof Xe>"u"||!Xe.length||!Xe[0]){var nt="";He=[];for(Me in ae[tr])this.terminals_[Me]&&Me>Se&&He.push("'"+this.terminals_[Me]+"'");Ve.showPosition?nt="Parse error on line "+(le+1)+`: +`+Ve.showPosition()+` +Expecting `+He.join(", ")+", got '"+(this.terminals_[Ot]||Ot)+"'":nt="Parse error on line "+(le+1)+": Unexpected "+(Ot==_e?"end of input":"'"+(this.terminals_[Ot]||Ot)+"'"),this.parseError(nt,{text:Ve.match,token:this.terminals_[Ot]||Ot,line:Ve.yylineno,loc:Ue,expected:He})}if(Xe[0]instanceof Array&&Xe.length>1)throw new Error("Parse Error: multiple actions possible at state: "+tr+", token: "+Ot);switch(Xe[0]){case 1:W.push(Ot),z.push(Ve.yytext),re.push(Ve.yylloc),W.push(Xe[1]),Ot=null,yr?(Ot=yr,yr=null):(de=Ve.yyleng,ce=Ve.yytext,le=Ve.yylineno,Ue=Ve.yylloc,ve>0&&ve--);break;case 2:if(Fe=this.productions_[Xe[1]][1],bt.$=z[z.length-Fe],bt._$={first_line:re[re.length-(Fe||1)].first_line,last_line:re[re.length-1].last_line,first_column:re[re.length-(Fe||1)].first_column,last_column:re[re.length-1].last_column},We&&(bt._$.range=[re[re.length-(Fe||1)].range[0],re[re.length-1].range[1]]),ft=this.performAction.apply(bt,[ce,de,le,De.yy,Xe[1],z,re].concat(Ce)),typeof ft<"u")return ft;Fe&&(W=W.slice(0,-1*Fe*2),z=z.slice(0,-1*Fe),re=re.slice(0,-1*Fe)),W.push(this.productions_[Xe[1]][0]),z.push(bt.$),re.push(bt._$),je=ae[W[W.length-2]][W[W.length-1]],W.push(je);break;case 3:return!0}}return!0},"parse")},J=(function(){var q={EOF:1,parseError:i(function(Q,W){if(this.yy.parser)this.yy.parser.parseError(Q,W);else throw new Error(Q)},"parseError"),setInput:i(function(Z,Q){return this.yy=Q||this.yy||{},this._input=Z,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var Z=this._input[0];this.yytext+=Z,this.yyleng++,this.offset++,this.match+=Z,this.matched+=Z;var Q=Z.match(/(?:\r\n?|\n).*/g);return Q?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Z},"input"),unput:i(function(Z){var Q=Z.length,W=Z.split(/(?:\r\n?|\n)/g);this._input=Z+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Q),this.offset-=Q;var te=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),W.length-1&&(this.yylineno-=W.length-1);var z=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:W?(W.length===te.length?this.yylloc.first_column:0)+te[te.length-W.length].length-W[0].length:this.yylloc.first_column-Q},this.options.ranges&&(this.yylloc.range=[z[0],z[0]+this.yyleng-Q]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(Z){this.unput(this.match.slice(Z))},"less"),pastInput:i(function(){var Z=this.matched.substr(0,this.matched.length-this.match.length);return(Z.length>20?"...":"")+Z.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var Z=this.match;return Z.length<20&&(Z+=this._input.substr(0,20-Z.length)),(Z.substr(0,20)+(Z.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var Z=this.pastInput(),Q=new Array(Z.length+1).join("-");return Z+this.upcomingInput()+` +`+Q+"^"},"showPosition"),test_match:i(function(Z,Q){var W,te,z;if(this.options.backtrack_lexer&&(z={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(z.yylloc.range=this.yylloc.range.slice(0))),te=Z[0].match(/(?:\r\n?|\n).*/g),te&&(this.yylineno+=te.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:te?te[te.length-1].length-te[te.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Z[0].length},this.yytext+=Z[0],this.match+=Z[0],this.matches=Z,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Z[0].length),this.matched+=Z[0],W=this.performAction.call(this,this.yy,this,Q,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),W)return W;if(this._backtrack){for(var re in z)this[re]=z[re];return!1}return!1},"test_match"),next:i(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Z,Q,W,te;this._more||(this.yytext="",this.match="");for(var z=this._currentRules(),re=0;reQ[0].length)){if(Q=W,te=re,this.options.backtrack_lexer){if(Z=this.test_match(W,z[re]),Z!==!1)return Z;if(this._backtrack){Q=!1;continue}else return!1}else if(!this.options.flex)break}return Q?(Z=this.test_match(Q,z[te]),Z!==!1?Z:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:i(function(){var Q=this.next();return Q||this.lex()},"lex"),begin:i(function(Q){this.conditionStack.push(Q)},"begin"),popState:i(function(){var Q=this.conditionStack.length-1;return Q>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:i(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:i(function(Q){return Q=this.conditionStack.length-1-Math.abs(Q||0),Q>=0?this.conditionStack[Q]:"INITIAL"},"topState"),pushState:i(function(Q){this.begin(Q)},"pushState"),stateStackSize:i(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:i(function(Q,W,te,z){var re=z;switch(te){case 0:return this.begin("open_directive"),"open_directive";break;case 1:return this.begin("acc_title"),31;break;case 2:return this.popState(),"acc_title_value";break;case 3:return this.begin("acc_descr"),33;break;case 4:return this.popState(),"acc_descr_value";break;case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:break;case 9:break;case 10:break;case 11:return 10;case 12:break;case 13:break;case 14:this.begin("href");break;case 15:this.popState();break;case 16:return 43;case 17:this.begin("callbackname");break;case 18:this.popState();break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 41;case 21:this.popState();break;case 22:return 42;case 23:this.begin("click");break;case 24:this.popState();break;case 25:return 40;case 26:return 4;case 27:return 22;case 28:return 23;case 29:return 24;case 30:return 25;case 31:return 26;case 32:return 28;case 33:return 27;case 34:return 29;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return 20;case 43:return 21;case 44:return"date";case 45:return 30;case 46:return"accDescription";case 47:return 36;case 48:return 38;case 49:return 39;case 50:return":";case 51:return 6;case 52:return"INVALID"}},"anonymous"),rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:weekend\s+friday\b)/i,/^(?:weekend\s+saturday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}};return q})();K.lexer=J;function H(){this.yy={}}return i(H,"Parser"),H.prototype=K,K.Parser=H,new H})();Mlt.parser=Mlt;cPr=Mlt});var hPr=Hv((Ilt,Nlt)=>{"use strict";(function(t,r){typeof Ilt=="object"&&typeof Nlt<"u"?Nlt.exports=r():typeof define=="function"&&define.amd?define(r):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_isoWeek=r()})(Ilt,(function(){"use strict";var t="day";return function(r,a,o){var l=i(function(p){return p.add(4-p.isoWeekday(),t)},"a"),h=a.prototype;h.isoWeekYear=function(){return l(this).year()},h.isoWeek=function(p){if(!this.$utils().u(p))return this.add(7*(p-this.isoWeek()),t);var m,b,v,T,C=l(this),E=(m=this.isoWeekYear(),b=this.$u,v=(b?o.utc:o)().year(m).startOf("year"),T=4-v.isoWeekday(),v.isoWeekday()>4&&(T+=7),v.add(T,t));return C.diff(E,"week")+1},h.isoWeekday=function(p){return this.$utils().u(p)?this.day()||7:this.day(this.day()%7?p:p-7)};var f=h.startOf;h.startOf=function(p,m){var b=this.$utils(),v=!!b.u(m)||m;return b.p(p)==="isoweek"?v?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):f.bind(this)(p,m)}}}))});var fPr=Hv((Olt,Plt)=>{"use strict";(function(t,r){typeof Olt=="object"&&typeof Plt<"u"?Plt.exports=r():typeof define=="function"&&define.amd?define(r):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_customParseFormat=r()})(Olt,(function(){"use strict";var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,o=/\d\d/,l=/\d\d?/,h=/\d*[^-_:/,()\s\d]+/,f={},p=i(function(S){return(S=+S)+(S>68?1900:2e3)},"a"),m=i(function(S){return function(R){this[S]=+R}},"f"),b=[/[+-]\d\d:?(\d\d)?|Z/,function(S){(this.zone||(this.zone={})).offset=(function(R){if(!R||R==="Z")return 0;var L=R.match(/([+-]|\d\d)/g),_=60*L[1]+(+L[2]||0);return _===0?0:L[0]==="+"?-_:_})(S)}],v=i(function(S){var R=f[S];return R&&(R.indexOf?R:R.s.concat(R.f))},"u"),T=i(function(S,R){var L,_=f.meridiem;if(_){for(var M=1;M<=24;M+=1)if(S.indexOf(_(M,0,R))>-1){L=M>12;break}}else L=S===(R?"pm":"PM");return L},"d"),C={A:[h,function(S){this.afternoon=T(S,!1)}],a:[h,function(S){this.afternoon=T(S,!0)}],Q:[a,function(S){this.month=3*(S-1)+1}],S:[a,function(S){this.milliseconds=100*+S}],SS:[o,function(S){this.milliseconds=10*+S}],SSS:[/\d{3}/,function(S){this.milliseconds=+S}],s:[l,m("seconds")],ss:[l,m("seconds")],m:[l,m("minutes")],mm:[l,m("minutes")],H:[l,m("hours")],h:[l,m("hours")],HH:[l,m("hours")],hh:[l,m("hours")],D:[l,m("day")],DD:[o,m("day")],Do:[h,function(S){var R=f.ordinal,L=S.match(/\d+/);if(this.day=L[0],R)for(var _=1;_<=31;_+=1)R(_).replace(/\[|\]/g,"")===S&&(this.day=_)}],w:[l,m("week")],ww:[o,m("week")],M:[l,m("month")],MM:[o,m("month")],MMM:[h,function(S){var R=v("months"),L=(v("monthsShort")||R.map((function(_){return _.slice(0,3)}))).indexOf(S)+1;if(L<1)throw new Error;this.month=L%12||L}],MMMM:[h,function(S){var R=v("months").indexOf(S)+1;if(R<1)throw new Error;this.month=R%12||R}],Y:[/[+-]?\d+/,m("year")],YY:[o,function(S){this.year=p(S)}],YYYY:[/\d{4}/,m("year")],Z:b,ZZ:b};function E(S){var R,L;R=S,L=f&&f.formats;for(var _=(S=R.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(V,Y,K){var J=K&&K.toUpperCase();return Y||L[K]||t[K]||L[J].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(H,q,Z){return q||Z.slice(1)}))}))).match(r),M=_.length,I=0;I-1)return new Date((W==="X"?1e3:1)*Q);var re=E(W)(Q),ae=re.year,ce=re.month,le=re.day,de=re.hours,ve=re.minutes,Se=re.seconds,_e=re.milliseconds,Ce=re.zone,Ve=re.week,De=new Date,qe=le||(ae||ce?1:De.getDate()),Ue=ae||De.getFullYear(),We=0;ae&&!ce||(We=ce>0?ce-1:De.getMonth());var mt,ct=de||0,Ot=ve||0,yr=Se||0,tr=_e||0;return Ce?new Date(Date.UTC(Ue,We,qe,ct,Ot,yr,tr+60*Ce.offset*1e3)):te?new Date(Date.UTC(Ue,We,qe,ct,Ot,yr,tr)):(mt=new Date(Ue,We,qe,ct,Ot,yr,tr),Ve&&(mt=z(mt).week(Ve).toDate()),mt)}catch{return new Date("")}})(F,G,O,L),this.init(),J&&J!==!0&&(this.$L=this.locale(J).$L),K&&F!=this.format(G)&&(this.$d=new Date("")),f={}}else if(G instanceof Array)for(var H=G.length,q=1;q<=H;q+=1){P[1]=G[q-1];var Z=L.apply(this,P);if(Z.isValid()){this.$d=Z.$d,this.$L=Z.$L,this.init();break}q===H&&(this.$d=new Date(""))}else M.call(this,I)}}}))});var dPr=Hv((Blt,Flt)=>{"use strict";(function(t,r){typeof Blt=="object"&&typeof Flt<"u"?Flt.exports=r():typeof define=="function"&&define.amd?define(r):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_advancedFormat=r()})(Blt,(function(){"use strict";return function(t,r){var a=r.prototype,o=a.format;a.format=function(l){var h=this,f=this.$locale();if(!this.isValid())return o.bind(this)(l);var p=this.$utils(),m=(l||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(b){switch(b){case"Q":return Math.ceil((h.$M+1)/3);case"Do":return f.ordinal(h.$D);case"gggg":return h.weekYear();case"GGGG":return h.isoWeekYear();case"wo":return f.ordinal(h.week(),"W");case"w":case"ww":return p.s(h.week(),b==="w"?1:2,"0");case"W":case"WW":return p.s(h.isoWeek(),b==="W"?1:2,"0");case"k":case"kk":return p.s(String(h.$H===0?24:h.$H),b==="k"?1:2,"0");case"X":return Math.floor(h.$d.getTime()/1e3);case"x":return h.$d.getTime();case"z":return"["+h.offsetName()+"]";case"zzz":return"["+h.offsetName("long")+"]";default:return b}}));return o.bind(this)(m)}}}))});function _Pr(t,r,a){let o=!0;for(;o;)o=!1,a.forEach(function(l){let h="^\\s*"+l+"\\s*$",f=new RegExp(h);t[0].match(f)&&(r[l]=!0,t.shift(1),o=!0)})}var mPr,ex,yPr,bPr,vPr,pPr,PS,zlt,Ult,Vlt,VV,HV,Hlt,qlt,o4e,qV,Wlt,wPr,Ylt,zV,Jie,Klt,Xlt,l4e,$lt,rli,nli,ili,ali,sli,oli,lli,cli,uli,hli,fli,dli,pli,gli,mli,yli,xPr,bli,vli,wli,xli,Tli,kli,Cli,Eli,TPr,Sli,Ali,Rli,kPr,Lli,CPr,Glt,EPr,SPr,a4e,UV,Dli,_li,jlt,s4e,E0,APr,Mli,_P,Ili,gPr,Nli,RPr,Oli,LPr,Pli,Bli,DPr,MPr=ie(()=>{"use strict";mPr=qv(Pee(),1),ex=qv(mye(),1),yPr=qv(hPr(),1),bPr=qv(fPr(),1),vPr=qv(dPr(),1);Xn();ma();Ia();xu();ex.default.extend(yPr.default);ex.default.extend(bPr.default);ex.default.extend(vPr.default);pPr={friday:5,saturday:6},PS="",zlt="",Vlt="",VV=[],HV=[],Hlt=new Map,qlt=[],o4e=[],qV="",Wlt="",wPr=["active","done","crit","milestone","vert"],Ylt=[],zV="",Jie=!1,Klt=!1,Xlt="sunday",l4e="saturday",$lt=0,rli=i(function(){qlt=[],o4e=[],qV="",Ylt=[],a4e=0,jlt=void 0,s4e=void 0,E0=[],PS="",zlt="",Wlt="",Ult=void 0,Vlt="",VV=[],HV=[],Jie=!1,Klt=!1,$lt=0,Hlt=new Map,zV="",Is(),Xlt="sunday",l4e="saturday"},"clear"),nli=i(function(t){zV=t},"setDiagramId"),ili=i(function(t){zlt=t},"setAxisFormat"),ali=i(function(){return zlt},"getAxisFormat"),sli=i(function(t){Ult=t},"setTickInterval"),oli=i(function(){return Ult},"getTickInterval"),lli=i(function(t){Vlt=t},"setTodayMarker"),cli=i(function(){return Vlt},"getTodayMarker"),uli=i(function(t){PS=t},"setDateFormat"),hli=i(function(){Jie=!0},"enableInclusiveEndDates"),fli=i(function(){return Jie},"endDatesAreInclusive"),dli=i(function(){Klt=!0},"enableTopAxis"),pli=i(function(){return Klt},"topAxisEnabled"),gli=i(function(t){Wlt=t},"setDisplayMode"),mli=i(function(){return Wlt},"getDisplayMode"),yli=i(function(){return PS},"getDateFormat"),xPr=i((t,r)=>{let a=r.toLowerCase().split(/[\s,]+/).filter(o=>o!=="");return[...new Set([...t,...a])]},"mergeTokens"),bli=i(function(t){VV=xPr(VV,t)},"setIncludes"),vli=i(function(){return VV},"getIncludes"),wli=i(function(t){HV=xPr(HV,t)},"setExcludes"),xli=i(function(){return HV},"getExcludes"),Tli=i(function(){return Hlt},"getLinks"),kli=i(function(t){qV=t,qlt.push(t)},"addSection"),Cli=i(function(){return qlt},"getSections"),Eli=i(function(){let t=gPr(),r=10,a=0;for(;!t&&ap))throw new Error("Failed to find a valid date that was not excluded by `excludes` after 10,000 iterations.");t=t.add(1,"d")}return[r,f]},"fixTaskDates"),CPr=i(function(t,r){Pe.warn(`Gantt: the "${t}" statement references unknown task id(s): ${r.join(", ")}. Make sure the referenced tasks exist and declare an id. Milestones need both an id and a duration, e.g. "Milestone :milestone, m1, 2023-01-01, 0d".`)},"warnAboutUnknownTaskIds"),Glt=i(function(t,r,a){if(a=a.trim(),i(p=>{let m=p.trim();return m==="x"||m==="X"},"isTimestampFormat")(r)&&/^\d+$/.test(a))return new Date(Number(a));let h=/^after\s+(?[\d\w- ]+)/.exec(a);if(h!==null){let p=null,m=[],b=h.groups.ids.split(" ").filter(T=>T!=="");for(let T of b){let C=_P(T);if(C===void 0){m.push(T);continue}(!p||C.endTime>p.endTime)&&(p=C)}if(m.length>0&&CPr("after",m),p)return p.endTime;let v=new Date;return v.setHours(0,0,0,0),v}let f=(0,ex.default)(a,r.trim(),!0);if(f.isValid())return f.toDate();{Pe.debug("Invalid date:"+a),Pe.debug("With date format:"+r.trim());let p=new Date(a);if(p===void 0||isNaN(p.getTime())||p.getFullYear()<-1e4||p.getFullYear()>1e4)throw new Error("Invalid date:"+a);return p}},"getStartDate"),EPr=i(function(t){let r=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return r!==null?[Number.parseFloat(r[1]),r[2]]:[NaN,"ms"]},"parseDuration"),SPr=i(function(t,r,a,o=!1){a=a.trim();let h=/^until\s+(?[\d\w- ]+)/.exec(a);if(h!==null){let v=null,T=[],C=h.groups.ids.split(" ").filter(S=>S!=="");for(let S of C){let R=_P(S);if(R===void 0){T.push(S);continue}(!v||R.startTime0&&CPr("until",T),v)return v.startTime;let E=new Date;return E.setHours(0,0,0,0),E}let f=(0,ex.default)(a,r.trim(),!0);if(f.isValid())return o&&(f=f.add(1,"d")),f.toDate();let p=(0,ex.default)(t),[m,b]=EPr(a);if(Number.isNaN(m))Pe.warn(`Gantt: "${a}" is neither a valid date for the "${r.trim()}" date format nor a valid duration (e.g. "3d"), so it is ignored and the task gets a zero duration. Milestones need a duration too, e.g. "Milestone :milestone, m1, 2023-01-01, 0d".`);else{let v=p.add(m,b);v.isValid()&&(p=v)}return p.toDate()},"getEndDate"),a4e=0,UV=i(function(t){return t===void 0?(a4e=a4e+1,"task"+a4e):t},"parseId"),Dli=i(function(t,r){let a;r.substr(0,1)===":"?a=r.substr(1,r.length):a=r;let o=a.split(","),l={};_Pr(o,l,wPr);for(let f=0;f{window.open(a,"_self")}),Hlt.set(o,a))}),RPr(t,"clickable")},"setLink"),RPr=i(function(t,r){t.split(",").forEach(function(a){let o=_P(a);o!==void 0&&o.classes.push(r)})},"setClass"),Oli=i(function(t,r,a){if(Zt().securityLevel!=="loose"||r===void 0)return;let o=[];if(typeof a=="string"){o=a.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let h=0;h{Ya.runFunc(r,...o)})},"setClickFun"),LPr=i(function(t,r){Ylt.push(function(){let a=zV?`${zV}-${t}`:t,o=document.querySelector(`[id="${a}"]`);o!==null&&o.addEventListener("click",function(){r()})},function(){let a=zV?`${zV}-${t}`:t,o=document.querySelector(`[id="${a}-text"]`);o!==null&&o.addEventListener("click",function(){r()})})},"pushFun"),Pli=i(function(t,r,a){t.split(",").forEach(function(o){Oli(o,r,a)}),RPr(t,"clickable")},"setClickEvent"),Bli=i(function(t){Ylt.forEach(function(r){r(t)})},"bindFunctions"),DPr={getConfig:i(()=>Zt().gantt,"getConfig"),clear:rli,setDateFormat:uli,getDateFormat:yli,enableInclusiveEndDates:hli,endDatesAreInclusive:fli,enableTopAxis:dli,topAxisEnabled:pli,setAxisFormat:ili,getAxisFormat:ali,setTickInterval:sli,getTickInterval:oli,setTodayMarker:lli,getTodayMarker:cli,setAccTitle:Os,getAccTitle:Ws,setDiagramTitle:ao,getDiagramTitle:Js,setDiagramId:nli,setDisplayMode:gli,getDisplayMode:mli,setAccDescription:js,getAccDescription:Ys,addSection:kli,getSections:Cli,getTasks:Eli,addTask:Mli,findTaskById:_P,addTaskOrg:Ili,setIncludes:bli,getIncludes:vli,setExcludes:wli,getExcludes:xli,setClickEvent:Pli,setLink:Nli,getLinks:Tli,bindFunctions:Bli,parseDuration:EPr,isInvalidDate:TPr,setWeekday:Sli,getWeekday:Ali,setWeekend:Rli};i(_Pr,"getTaskTags")});var IPr=Hv((Qlt,Jlt)=>{"use strict";(function(t,r){typeof Qlt=="object"&&typeof Jlt<"u"?Jlt.exports=r():typeof define=="function"&&define.amd?define(r):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_duration=r()})(Qlt,(function(){"use strict";var t,r,a=1e3,o=6e4,l=36e5,h=864e5,f=31536e6,p=2628e6,m=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,b=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,v={years:f,months:p,days:h,hours:l,minutes:o,seconds:a,milliseconds:1,weeks:6048e5},T=i(function(F){return F instanceof M},"c"),C=i(function(F,O,P){return new M(F,P,O.$l)},"f"),E=i(function(F){return r.p(F)+"s"},"m"),S=i(function(F){return F<0},"l"),R=i(function(F){return S(F)?Math.ceil(F):Math.floor(F)},"$"),L=i(function(F){return Math.abs(F)},"y"),_=i(function(F,O){return F?S(F)?{negative:!0,format:""+L(F)+O}:{negative:!1,format:""+F+O}:{negative:!1,format:""}},"v"),M=(function(){function F(P,G,V){var Y=this;if(this.$d={},this.$l=V,P===void 0&&(this.$ms=0,this.parseFromMilliseconds()),G)return C(P*v[E(G)],this);if(typeof P=="number")return this.$ms=P,this.parseFromMilliseconds(),this;if(typeof P=="object")return Object.keys(P).forEach((function(H){Y.$d[E(H)]=P[H]})),this.calMilliseconds(),this;if(typeof P=="string"){var K=P.match(m);if(K){var J=K.slice(2).map((function(H){return H!=null?Number(H):0}));return this.$d.years=J[0],this.$d.months=J[1],this.$d.weeks=J[2],this.$d.days=J[3],this.$d.hours=J[4],this.$d.minutes=J[5],this.$d.seconds=J[6],this.calMilliseconds(),this}}return this}i(F,"l");var O=F.prototype;return O.calMilliseconds=function(){var P=this;this.$ms=Object.keys(this.$d).reduce((function(G,V){return G+(P.$d[V]||0)*v[V]}),0)},O.parseFromMilliseconds=function(){var P=this.$ms;this.$d.years=R(P/f),P%=f,this.$d.months=R(P/p),P%=p,this.$d.days=R(P/h),P%=h,this.$d.hours=R(P/l),P%=l,this.$d.minutes=R(P/o),P%=o,this.$d.seconds=R(P/a),P%=a,this.$d.milliseconds=P},O.toISOString=function(){var P=_(this.$d.years,"Y"),G=_(this.$d.months,"M"),V=+this.$d.days||0;this.$d.weeks&&(V+=7*this.$d.weeks);var Y=_(V,"D"),K=_(this.$d.hours,"H"),J=_(this.$d.minutes,"M"),H=this.$d.seconds||0;this.$d.milliseconds&&(H+=this.$d.milliseconds/1e3,H=Math.round(1e3*H)/1e3);var q=_(H,"S"),Z=P.negative||G.negative||Y.negative||K.negative||J.negative||q.negative,Q=K.format||J.format||q.format?"T":"",W=(Z?"-":"")+"P"+P.format+G.format+Y.format+Q+K.format+J.format+q.format;return W==="P"||W==="-P"?"P0D":W},O.toJSON=function(){return this.toISOString()},O.format=function(P){var G=P||"YYYY-MM-DDTHH:mm:ss",V={Y:this.$d.years,YY:r.s(this.$d.years,2,"0"),YYYY:r.s(this.$d.years,4,"0"),M:this.$d.months,MM:r.s(this.$d.months,2,"0"),D:this.$d.days,DD:r.s(this.$d.days,2,"0"),H:this.$d.hours,HH:r.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:r.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:r.s(this.$d.seconds,2,"0"),SSS:r.s(this.$d.milliseconds,3,"0")};return G.replace(b,(function(Y,K){return K||String(V[Y])}))},O.as=function(P){return this.$ms/v[E(P)]},O.get=function(P){var G=this.$ms,V=E(P);return V==="milliseconds"?G%=1e3:G=V==="weeks"?R(G/v[V]):this.$d[V],G||0},O.add=function(P,G,V){var Y;return Y=G?P*v[E(G)]:T(P)?P.$ms:C(P,this).$ms,C(this.$ms+Y*(V?-1:1),this)},O.subtract=function(P,G){return this.add(P,G,!0)},O.locale=function(P){var G=this.clone();return G.$l=P,G},O.clone=function(){return C(this.$ms,this)},O.humanize=function(P){return t().add(this.$ms,"ms").locale(this.$l).fromNow(!P)},O.valueOf=function(){return this.asMilliseconds()},O.milliseconds=function(){return this.get("milliseconds")},O.asMilliseconds=function(){return this.as("milliseconds")},O.seconds=function(){return this.get("seconds")},O.asSeconds=function(){return this.as("seconds")},O.minutes=function(){return this.get("minutes")},O.asMinutes=function(){return this.as("minutes")},O.hours=function(){return this.get("hours")},O.asHours=function(){return this.as("hours")},O.days=function(){return this.get("days")},O.asDays=function(){return this.as("days")},O.weeks=function(){return this.get("weeks")},O.asWeeks=function(){return this.as("weeks")},O.months=function(){return this.get("months")},O.asMonths=function(){return this.as("months")},O.years=function(){return this.get("years")},O.asYears=function(){return this.as("years")},F})(),I=i(function(F,O,P){return F.add(O.years()*P,"y").add(O.months()*P,"M").add(O.days()*P,"d").add(O.hours()*P,"h").add(O.minutes()*P,"m").add(O.seconds()*P,"s").add(O.milliseconds()*P,"ms")},"p");return function(F,O,P){t=P,r=P().$utils(),P.duration=function(Y,K){var J=P.locale();return C(Y,{$l:J},K)},P.isDuration=T;var G=O.prototype.add,V=O.prototype.subtract;O.prototype.add=function(Y,K){return T(Y)?I(this,Y,1):G.bind(this)(Y,K)},O.prototype.subtract=function(Y,K){return T(Y)?I(this,Y,-1):V.bind(this)(Y,K)}}}))});var WV,OPr,Fli,NPr,$li,UA,Zlt,Gli,PPr,BPr=ie(()=>{"use strict";WV=qv(mye(),1),OPr=qv(IPr(),1);Xn();Yo();rl();ma();Gh();WV.default.extend(OPr.default);Fli=i(function(){Pe.debug("Something is calling, setConf, remove the call")},"setConf"),NPr={monday:SL,tuesday:cve,wednesday:uve,thursday:WE,friday:hve,saturday:fve,sunday:c4},$li=i((t,r)=>{let a=[...t].map(()=>-1/0),o=[...t].sort((h,f)=>h.startTime-f.startTime||h.order-f.order),l=0;for(let h of o)for(let f=0;f=a[f]){a[f]=h.endTime,h.order=f+r,f>l&&(l=f);break}return l},"getMaxIntersections"),Zlt=1e4,Gli=i(function(t,r,a,o){let l=Zt().gantt;o.db.setDiagramId(r);let h=Zt().securityLevel,f;h==="sandbox"&&(f=dn("#i"+r));let p=h==="sandbox"?dn(f.nodes()[0].contentDocument.body):dn("body"),m=h==="sandbox"?f.nodes()[0].contentDocument:document,b=m.getElementById(r);UA=b.parentElement.offsetWidth,UA===void 0&&(UA=1200),l.useWidth!==void 0&&(UA=l.useWidth);let v=o.db.getTasks(),T=v.filter(K=>!K.vert),C=[];for(let K of T)C.push(K.type);C=Y(C);let E={},S=2*l.topPadding;if(o.db.getDisplayMode()==="compact"||l.displayMode==="compact"){let K={};for(let H of T)K[H.section]===void 0?K[H.section]=[H]:K[H.section].push(H);let J=0;for(let H of Object.keys(K)){let q=$li(K[H],J)+1;J+=q,S+=q*(l.barHeight+l.barGap),E[H]=q}}else{S+=T.length*(l.barHeight+l.barGap);for(let K of C)E[K]=T.filter(J=>J.type===K).length}b.setAttribute("viewBox","0 0 "+UA+" "+S);let R=p.select(`[id="${r}"]`),L=gve().domain([wbe(v,function(K){return K.startTime}),vbe(v,function(K){return K.endTime})]).rangeRound([0,UA-l.leftPadding-l.rightPadding]);function _(K,J){let H=K.startTime,q=J.startTime,Z=0;return H>q?Z=1:Hde.vert===ve.vert?0:de.vert?1:-1);let te=K.filter(de=>!de.vert),re=[...new Set(te.map(de=>de.order))].map(de=>te.find(ve=>ve.order===de));R.append("g").selectAll("rect").data(re).enter().append("rect").attr("x",0).attr("y",function(de,ve){return ve=de.order,ve*J+H-2}).attr("width",function(){return W-l.rightPadding/2}).attr("height",J).attr("class",function(de){for(let[ve,Se]of C.entries())if(de.type===Se)return"section section"+ve%l.numberSectionStyles;return"section section0"}).enter();let ae=R.append("g").selectAll("rect").data(K).enter(),ce=o.db.getLinks();if(ae.append("rect").attr("id",function(de){return r+"-"+de.id}).attr("rx",3).attr("ry",3).attr("x",function(de){return de.milestone?L(de.startTime)+q+.5*(L(de.endTime)-L(de.startTime))-.5*Z:L(de.startTime)+q}).attr("y",function(de,ve){return ve=de.order,de.vert?l.gridLineStartPadding:ve*J+H}).attr("width",function(de){return de.milestone?Z:de.vert?.08*Z:L(de.renderEndTime||de.endTime)-L(de.startTime)}).attr("height",function(de){return de.vert?te.length*(l.barHeight+l.barGap)+l.barHeight*2:Z}).attr("transform-origin",function(de,ve){return ve=de.order,(L(de.startTime)+q+.5*(L(de.endTime)-L(de.startTime))).toString()+"px "+(ve*J+H+.5*Z).toString()+"px"}).attr("class",function(de){let ve="task",Se="";de.classes.length>0&&(Se=de.classes.join(" "));let _e=0;for(let[Ve,De]of C.entries())de.type===De&&(_e=Ve%l.numberSectionStyles);let Ce="";return de.active?de.crit?Ce+=" activeCrit":Ce=" active":de.done?de.crit?Ce=" doneCrit":Ce=" done":de.crit&&(Ce+=" crit"),Ce.length===0&&(Ce=" task"),de.milestone&&(Ce=" milestone "+Ce),de.vert&&(Ce=" vert "+Ce),Ce+=_e,Ce+=" "+Se,ve+Ce}),ae.append("text").attr("id",function(de){return r+"-"+de.id+"-text"}).text(function(de){return de.task}).attr("font-size",l.fontSize).attr("x",function(de){let ve=L(de.startTime),Se=L(de.renderEndTime||de.endTime);if(de.milestone&&(ve+=.5*(L(de.endTime)-L(de.startTime))-.5*Z,Se=ve+Z),de.vert)return L(de.startTime)+q;let _e=this.getBBox().width;return _e>Se-ve?Se+_e+1.5*l.leftPadding>W?ve+q-5:Se+q+5:(Se-ve)/2+ve+q}).attr("y",function(de,ve){return de.vert?l.gridLineStartPadding+te.length*(l.barHeight+l.barGap)+60:(ve=de.order,ve*J+l.barHeight/2+(l.fontSize/2-2)+H)}).attr("text-height",Z).attr("class",function(de){let ve=L(de.startTime),Se=L(de.endTime);de.milestone&&(Se=ve+Z);let _e=this.getBBox().width,Ce="";de.classes.length>0&&(Ce=de.classes.join(" "));let Ve=0;for(let[qe,Ue]of C.entries())de.type===Ue&&(Ve=qe%l.numberSectionStyles);let De="";return de.active&&(de.crit?De="activeCritText"+Ve:De="activeText"+Ve),de.done?de.crit?De=De+" doneCritText"+Ve:De=De+" doneText"+Ve:de.crit&&(De=De+" critText"+Ve),de.milestone&&(De+=" milestoneText"),de.vert&&(De+=" vertText"),_e>Se-ve?Se+_e+1.5*l.leftPadding>W?Ce+" taskTextOutsideLeft taskTextOutside"+Ve+" "+De:Ce+" taskTextOutsideRight taskTextOutside"+Ve+" "+De+" width-"+_e:Ce+" taskText taskText"+Ve+" "+De+" width-"+_e}),Zt().securityLevel==="sandbox"){let de;de=dn("#i"+r);let ve=de.nodes()[0].contentDocument;ae.filter(function(Se){return ce.has(Se.id)}).each(function(Se){var _e=ve.querySelector("#"+CSS.escape(r+"-"+Se.id)),Ce=ve.querySelector("#"+CSS.escape(r+"-"+Se.id+"-text"));let Ve=_e.parentNode;var De=ve.createElement("a");De.setAttribute("xlink:href",ce.get(Se.id)),De.setAttribute("target","_top"),Ve.appendChild(De),De.appendChild(_e),De.appendChild(Ce)})}}i(I,"drawRects");function F(K,J,H,q,Z,Q,W,te){if(W.length===0&&te.length===0)return;let z,re;for(let{startTime:Se,endTime:_e}of Q)(z===void 0||Sere)&&(re=_e);if(!z||!re)return;if((0,WV.default)(re).diff((0,WV.default)(z),"year")>5){Pe.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}let ae=o.db.getDateFormat(),ce=[],le=null,de=(0,WV.default)(z);for(;de.valueOf()<=re;)o.db.isInvalidDate(de,ae,W,te)?le?le.end=de:le={start:de,end:de}:le&&(ce.push(le),le=null),de=de.add(1,"d");R.append("g").selectAll("rect").data(ce).enter().append("rect").attr("id",Se=>r+"-exclude-"+Se.start.format("YYYY-MM-DD")).attr("x",Se=>L(Se.start.startOf("day"))+H).attr("y",l.gridLineStartPadding).attr("width",Se=>L(Se.end.endOf("day"))-L(Se.start.startOf("day"))).attr("height",Z-J-l.gridLineStartPadding).attr("transform-origin",function(Se,_e){return(L(Se.start)+H+.5*(L(Se.end)-L(Se.start))).toString()+"px "+(_e*K+.5*Z).toString()+"px"}).attr("class","exclude-range")}i(F,"drawExcludeDays");function O(K,J,H,q){if(H<=0||K>J)return 1/0;let Z=J-K,Q=WV.default.duration({[q??"day"]:H}).asMilliseconds();return Q<=0?1/0:Math.ceil(Z/Q)}i(O,"getEstimatedTickCount");function P(K,J,H,q){let Z=o.db.getDateFormat(),Q=o.db.getAxisFormat(),W;Q?W=Q:Z==="D"?W="%d":W=l.axisFormat??"%Y-%m-%d";let te=fWe(L).tickSize(-q+J+l.gridLineStartPadding).tickFormat(UN(W)),re=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(o.db.getTickInterval()||l.tickInterval);if(re!==null){let ae=parseInt(re[1],10);if(isNaN(ae)||ae<=0)Pe.warn(`Invalid tick interval value: "${re[1]}". Skipping custom tick interval.`);else{let ce=re[2],le=o.db.getWeekday()||l.weekday,de=L.domain(),ve=de[0],Se=de[1],_e=O(ve,Se,ae,ce);if(_e>Zlt)Pe.warn(`The tick interval "${ae}${ce}" would generate ${_e} ticks, which exceeds the maximum allowed (${Zlt}). This may indicate an invalid date or time range. Skipping custom tick interval.`);else switch(ce){case"millisecond":te.ticks(HE.every(ae));break;case"second":te.ticks(Fw.every(ae));break;case"minute":te.ticks(nA.every(ae));break;case"hour":te.ticks(iA.every(ae));break;case"day":te.ticks(HT.every(ae));break;case"week":te.ticks(NPr[le].every(ae));break;case"month":te.ticks(aA.every(ae));break}}}if(R.append("g").attr("class","grid").attr("transform","translate("+K+", "+(q-50)+")").call(te).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),o.db.topAxisEnabled()||l.topAxis){let ae=hWe(L).tickSize(-q+J+l.gridLineStartPadding).tickFormat(UN(W));if(re!==null){let ce=parseInt(re[1],10);if(isNaN(ce)||ce<=0)Pe.warn(`Invalid tick interval value: "${re[1]}". Skipping custom tick interval.`);else{let le=re[2],de=o.db.getWeekday()||l.weekday,ve=L.domain(),Se=ve[0],_e=ve[1];if(O(Se,_e,ce,le)<=Zlt)switch(le){case"millisecond":ae.ticks(HE.every(ce));break;case"second":ae.ticks(Fw.every(ce));break;case"minute":ae.ticks(nA.every(ce));break;case"hour":ae.ticks(iA.every(ce));break;case"day":ae.ticks(HT.every(ce));break;case"week":ae.ticks(NPr[de].every(ce));break;case"month":ae.ticks(aA.every(ce));break}}}R.append("g").attr("class","grid").attr("transform","translate("+K+", "+J+")").call(ae).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}i(P,"makeGrid");function G(K,J){let H=0,q=Object.keys(E).map(Z=>[Z,E[Z]]);R.append("g").selectAll("text").data(q).enter().append(function(Z){let Q=Z[0].split(Wn.lineBreakRegex),W=-(Q.length-1)/2,te=m.createElementNS("http://www.w3.org/2000/svg","text");te.setAttribute("dy",W+"em");for(let[z,re]of Q.entries()){let ae=m.createElementNS("http://www.w3.org/2000/svg","tspan");ae.setAttribute("alignment-baseline","central"),ae.setAttribute("x","10"),z>0&&ae.setAttribute("dy","1em"),ae.textContent=re,te.appendChild(ae)}return te}).attr("x",10).attr("y",function(Z,Q){if(Q>0)for(let W=0;W{"use strict";jli=i(t=>` + .mermaid-main-font { + font-family: ${t.fontFamily}; + } + + .exclude-range { + fill: ${t.excludeBkgColor}; + } + + .section { + stroke: none; + opacity: 0.2; + } + + .section0 { + fill: ${t.sectionBkgColor}; + } + + .section2 { + fill: ${t.sectionBkgColor2}; + } + + .section1, + .section3 { + fill: ${t.altSectionBkgColor}; + opacity: 0.2; + } + + .sectionTitle0 { + fill: ${t.titleColor}; + } + + .sectionTitle1 { + fill: ${t.titleColor}; + } + + .sectionTitle2 { + fill: ${t.titleColor}; + } + + .sectionTitle3 { + fill: ${t.titleColor}; + } + + .sectionTitle { + text-anchor: start; + font-family: ${t.fontFamily}; + } + + + /* Grid and axis */ + + .grid .tick { + stroke: ${t.gridColor}; + opacity: 0.8; + shape-rendering: crispEdges; + } + + .grid .tick text { + font-family: ${t.fontFamily}; + fill: ${t.textColor}; + } + + .grid path { + stroke-width: 0; + } + + + /* Today line */ + + .today { + fill: none; + stroke: ${t.todayLineColor}; + stroke-width: 2px; } @@ -698,17 +1806,17 @@ Expecting `+wi.join(", ")+", got '"+(this.terminals_[Ze]||Ze)+"'":ia="Parse erro .taskText { text-anchor: middle; - font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + font-family: ${t.fontFamily}; } .taskTextOutsideRight { - fill: ${i.taskTextDarkColor}; + fill: ${t.taskTextDarkColor}; text-anchor: start; - font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); + font-family: ${t.fontFamily}; } .taskTextOutsideLeft { - fill: ${i.taskTextDarkColor}; + fill: ${t.taskTextDarkColor}; text-anchor: end; } @@ -721,19 +1829,19 @@ Expecting `+wi.join(", ")+", got '"+(this.terminals_[Ze]||Ze)+"'":ia="Parse erro .taskText.clickable { cursor: pointer; - fill: ${i.taskTextClickableColor} !important; + fill: ${t.taskTextClickableColor} !important; font-weight: bold; } .taskTextOutsideLeft.clickable { cursor: pointer; - fill: ${i.taskTextClickableColor} !important; + fill: ${t.taskTextClickableColor} !important; font-weight: bold; } .taskTextOutsideRight.clickable { cursor: pointer; - fill: ${i.taskTextClickableColor} !important; + fill: ${t.taskTextClickableColor} !important; font-weight: bold; } @@ -744,26 +1852,26 @@ Expecting `+wi.join(", ")+", got '"+(this.terminals_[Ze]||Ze)+"'":ia="Parse erro .taskText1, .taskText2, .taskText3 { - fill: ${i.taskTextColor}; + fill: ${t.taskTextColor}; } .task0, .task1, .task2, .task3 { - fill: ${i.taskBkgColor}; - stroke: ${i.taskBorderColor}; + fill: ${t.taskBkgColor}; + stroke: ${t.taskBorderColor}; } .taskTextOutside0, .taskTextOutside2 { - fill: ${i.taskTextOutsideColor}; + fill: ${t.taskTextOutsideColor}; } .taskTextOutside1, .taskTextOutside3 { - fill: ${i.taskTextOutsideColor}; + fill: ${t.taskTextOutsideColor}; } @@ -773,15 +1881,15 @@ Expecting `+wi.join(", ")+", got '"+(this.terminals_[Ze]||Ze)+"'":ia="Parse erro .active1, .active2, .active3 { - fill: ${i.activeTaskBkgColor}; - stroke: ${i.activeTaskBorderColor}; + fill: ${t.activeTaskBkgColor}; + stroke: ${t.activeTaskBorderColor}; } .activeText0, .activeText1, .activeText2, .activeText3 { - fill: ${i.taskTextDarkColor} !important; + fill: ${t.taskTextDarkColor} !important; } @@ -791,8 +1899,8 @@ Expecting `+wi.join(", ")+", got '"+(this.terminals_[Ze]||Ze)+"'":ia="Parse erro .done1, .done2, .done3 { - stroke: ${i.doneTaskBorderColor}; - fill: ${i.doneTaskBkgColor}; + stroke: ${t.doneTaskBorderColor}; + fill: ${t.doneTaskBkgColor}; stroke-width: 2; } @@ -800,7 +1908,20 @@ Expecting `+wi.join(", ")+", got '"+(this.terminals_[Ze]||Ze)+"'":ia="Parse erro .doneText1, .doneText2, .doneText3 { - fill: ${i.taskTextDarkColor} !important; + fill: ${t.taskTextDarkColor} !important; + } + + /* Done task text displayed outside the bar sits against the diagram background, + not against the done-task bar, so it must use the outside/contrast color. */ + .doneText0.taskTextOutsideLeft, + .doneText0.taskTextOutsideRight, + .doneText1.taskTextOutsideLeft, + .doneText1.taskTextOutsideRight, + .doneText2.taskTextOutsideLeft, + .doneText2.taskTextOutsideRight, + .doneText3.taskTextOutsideLeft, + .doneText3.taskTextOutsideRight { + fill: ${t.taskTextOutsideColor} !important; } @@ -810,8 +1931,8 @@ Expecting `+wi.join(", ")+", got '"+(this.terminals_[Ze]||Ze)+"'":ia="Parse erro .crit1, .crit2, .crit3 { - stroke: ${i.critBorderColor}; - fill: ${i.critBkgColor}; + stroke: ${t.critBorderColor}; + fill: ${t.critBkgColor}; stroke-width: 2; } @@ -819,8 +1940,8 @@ Expecting `+wi.join(", ")+", got '"+(this.terminals_[Ze]||Ze)+"'":ia="Parse erro .activeCrit1, .activeCrit2, .activeCrit3 { - stroke: ${i.critBorderColor}; - fill: ${i.activeTaskBkgColor}; + stroke: ${t.critBorderColor}; + fill: ${t.activeTaskBkgColor}; stroke-width: 2; } @@ -828,8 +1949,8 @@ Expecting `+wi.join(", ")+", got '"+(this.terminals_[Ze]||Ze)+"'":ia="Parse erro .doneCrit1, .doneCrit2, .doneCrit3 { - stroke: ${i.critBorderColor}; - fill: ${i.doneTaskBkgColor}; + stroke: ${t.critBorderColor}; + fill: ${t.doneTaskBkgColor}; stroke-width: 2; cursor: pointer; shape-rendering: crispEdges; @@ -846,225 +1967,312 @@ Expecting `+wi.join(", ")+", got '"+(this.terminals_[Ze]||Ze)+"'":ia="Parse erro .doneCritText1, .doneCritText2, .doneCritText3 { - fill: ${i.taskTextDarkColor} !important; + fill: ${t.taskTextDarkColor} !important; + } + + /* Done-crit task text outside the bar \u2014 same reasoning as doneText above. */ + .doneCritText0.taskTextOutsideLeft, + .doneCritText0.taskTextOutsideRight, + .doneCritText1.taskTextOutsideLeft, + .doneCritText1.taskTextOutsideRight, + .doneCritText2.taskTextOutsideLeft, + .doneCritText2.taskTextOutsideRight, + .doneCritText3.taskTextOutsideLeft, + .doneCritText3.taskTextOutsideRight { + fill: ${t.taskTextOutsideColor} !important; + } + + .vert { + stroke: ${t.vertLineColor}; + } + + .vertText { + font-size: 15px; + text-anchor: middle; + fill: ${t.vertLineColor} !important; } .activeCritText0, .activeCritText1, .activeCritText2, .activeCritText3 { - fill: ${i.taskTextDarkColor} !important; + fill: ${t.taskTextDarkColor} !important; } .titleText { text-anchor: middle; font-size: 18px; - fill: ${i.titleColor||i.textColor}; - font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif); - } -`}},Symbol.toStringTag,{value:"Module"}));var Sve=function(){var i=function(v,b,y,E){for(y=y||{},E=v.length;E--;y[v[E]]=b);return y},a=[6,9,10],u={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(b,y,E,_,A,P,R){switch(P.length-1,A){case 1:return _;case 4:break;case 6:_.setInfo(!0);break}},table:[{3:1,4:[1,2]},{1:[3]},i(a,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},i(a,[2,3]),i(a,[2,4]),i(a,[2,5]),i(a,[2,6])],defaultActions:{4:[2,1]},parseError:function(b,y){if(y.recoverable)this.trace(b);else{var E=new Error(b);throw E.hash=y,E}},parse:function(b){var y=this,E=[0],_=[],A=[null],P=[],R=this.table,B="",j=0,W=0,ee=2,ie=1,oe=P.slice.call(arguments,1),be=Object.create(this.lexer),ge={yy:{}};for(var ae in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ae)&&(ge.yy[ae]=this.yy[ae]);be.setInput(b,ge.yy),ge.yy.lexer=be,ge.yy.parser=this,typeof be.yylloc>"u"&&(be.yylloc={});var ne=be.yylloc;P.push(ne);var se=be.options&&be.options.ranges;typeof ge.yy.parseError=="function"?this.parseError=ge.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function de(){var Ce;return Ce=_.pop()||be.lex()||ie,typeof Ce!="number"&&(Ce instanceof Array&&(_=Ce,Ce=_.pop()),Ce=y.symbols_[Ce]||Ce),Ce}for(var X,pe,G,xe,U={},Be,Pe,je,Ie;;){if(pe=E[E.length-1],this.defaultActions[pe]?G=this.defaultActions[pe]:((X===null||typeof X>"u")&&(X=de()),G=R[pe]&&R[pe][X]),typeof G>"u"||!G.length||!G[0]){var Se="";Ie=[];for(Be in R[pe])this.terminals_[Be]&&Be>ee&&Ie.push("'"+this.terminals_[Be]+"'");be.showPosition?Se="Parse error on line "+(j+1)+`: -`+be.showPosition()+` -Expecting `+Ie.join(", ")+", got '"+(this.terminals_[X]||X)+"'":Se="Parse error on line "+(j+1)+": Unexpected "+(X==ie?"end of input":"'"+(this.terminals_[X]||X)+"'"),this.parseError(Se,{text:be.match,token:this.terminals_[X]||X,line:be.yylineno,loc:ne,expected:Ie})}if(G[0]instanceof Array&&G.length>1)throw new Error("Parse Error: multiple actions possible at state: "+pe+", token: "+X);switch(G[0]){case 1:E.push(X),A.push(be.yytext),P.push(be.yylloc),E.push(G[1]),X=null,W=be.yyleng,B=be.yytext,j=be.yylineno,ne=be.yylloc;break;case 2:if(Pe=this.productions_[G[1]][1],U.$=A[A.length-Pe],U._$={first_line:P[P.length-(Pe||1)].first_line,last_line:P[P.length-1].last_line,first_column:P[P.length-(Pe||1)].first_column,last_column:P[P.length-1].last_column},se&&(U._$.range=[P[P.length-(Pe||1)].range[0],P[P.length-1].range[1]]),xe=this.performAction.apply(U,[B,W,j,ge.yy,G[1],A,P].concat(oe)),typeof xe<"u")return xe;Pe&&(E=E.slice(0,-1*Pe*2),A=A.slice(0,-1*Pe),P=P.slice(0,-1*Pe)),E.push(this.productions_[G[1]][0]),A.push(U.$),P.push(U._$),je=R[E[E.length-2]][E[E.length-1]],E.push(je);break;case 3:return!0}}return!0}},d=function(){var v={EOF:1,parseError:function(y,E){if(this.yy.parser)this.yy.parser.parseError(y,E);else throw new Error(y)},setInput:function(b,y){return this.yy=y||this.yy||{},this._input=b,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var b=this._input[0];this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b;var y=b.match(/(?:\r\n?|\n).*/g);return y?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),b},unput:function(b){var y=b.length,E=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-y),this.offset-=y;var _=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),E.length-1&&(this.yylineno-=E.length-1);var A=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:E?(E.length===_.length?this.yylloc.first_column:0)+_[_.length-E.length].length-E[0].length:this.yylloc.first_column-y},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-y]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(b){this.unput(this.match.slice(b))},pastInput:function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var b=this.match;return b.length<20&&(b+=this._input.substr(0,20-b.length)),(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var b=this.pastInput(),y=new Array(b.length+1).join("-");return b+this.upcomingInput()+` -`+y+"^"},test_match:function(b,y){var E,_,A;if(this.options.backtrack_lexer&&(A={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(A.yylloc.range=this.yylloc.range.slice(0))),_=b[0].match(/(?:\r\n?|\n).*/g),_&&(this.yylineno+=_.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:_?_[_.length-1].length-_[_.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+b[0].length},this.yytext+=b[0],this.match+=b[0],this.matches=b,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(b[0].length),this.matched+=b[0],E=this.performAction.call(this,this.yy,this,y,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),E)return E;if(this._backtrack){for(var P in A)this[P]=A[P];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var b,y,E,_;this._more||(this.yytext="",this.match="");for(var A=this._currentRules(),P=0;Py[0].length)){if(y=E,_=P,this.options.backtrack_lexer){if(b=this.test_match(E,A[P]),b!==!1)return b;if(this._backtrack){y=!1;continue}else return!1}else if(!this.options.flex)break}return y?(b=this.test_match(y,A[_]),b!==!1?b:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var y=this.next();return y||this.lex()},begin:function(y){this.conditionStack.push(y)},popState:function(){var y=this.conditionStack.length-1;return y>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(y){return y=this.conditionStack.length-1-Math.abs(y||0),y>=0?this.conditionStack[y]:"INITIAL"},pushState:function(y){this.begin(y)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(y,E,_,A){switch(_){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}};return v}();u.lexer=d;function p(){this.yy={}}return p.prototype=u,u.Parser=p,new p}();Sve.parser=Sve;const Fnn=Sve,jGe={info:!1};let _ve=jGe.info;const Rnn=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:Fnn,db:{clear:()=>{_ve=jGe.info},setInfo:i=>{_ve=i},getInfo:()=>_ve},renderer:{draw:(i,a,u)=>{Xe.debug(`rendering info diagram -`+i);const d=gR(a);Fg(d,100,400,!0),d.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${u}`)}}}},Symbol.toStringTag,{value:"Module"}));var Ave=function(){var i=function(be,ge,ae,ne){for(ae=ae||{},ne=be.length;ne--;ae[be[ne]]=ge);return ae},a=[1,3],u=[1,4],d=[1,5],p=[1,6],v=[1,10,12,14,16,18,19,20,21,22],b=[2,4],y=[1,5,10,12,14,16,18,19,20,21,22],E=[20,21,22],_=[2,7],A=[1,12],P=[1,13],R=[1,14],B=[1,15],j=[1,16],W=[1,17],ee={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,PIE:5,document:6,showData:7,line:8,statement:9,txt:10,value:11,title:12,title_value:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,section:19,NEWLINE:20,";":21,EOF:22,$accept:0,$end:1},terminals_:{2:"error",5:"PIE",7:"showData",10:"txt",11:"value",12:"title",13:"title_value",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"section",20:"NEWLINE",21:";",22:"EOF"},productions_:[0,[3,2],[3,2],[3,3],[6,0],[6,2],[8,2],[9,0],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[4,1],[4,1],[4,1]],performAction:function(ge,ae,ne,se,de,X,pe){var G=X.length-1;switch(de){case 3:se.setShowData(!0);break;case 6:this.$=X[G-1];break;case 8:se.addSection(X[G-1],se.cleanupValue(X[G]));break;case 9:this.$=X[G].trim(),se.setDiagramTitle(this.$);break;case 10:this.$=X[G].trim(),se.setAccTitle(this.$);break;case 11:case 12:this.$=X[G].trim(),se.setAccDescription(this.$);break;case 13:se.addSection(X[G].substr(8)),this.$=X[G].substr(8);break}},table:[{3:1,4:2,5:a,20:u,21:d,22:p},{1:[3]},{3:7,4:2,5:a,20:u,21:d,22:p},i(v,b,{6:8,7:[1,9]}),i(y,[2,14]),i(y,[2,15]),i(y,[2,16]),{1:[2,1]},i(E,_,{8:10,9:11,1:[2,2],10:A,12:P,14:R,16:B,18:j,19:W}),i(v,b,{6:18}),i(v,[2,5]),{4:19,20:u,21:d,22:p},{11:[1,20]},{13:[1,21]},{15:[1,22]},{17:[1,23]},i(E,[2,12]),i(E,[2,13]),i(E,_,{8:10,9:11,1:[2,3],10:A,12:P,14:R,16:B,18:j,19:W}),i(v,[2,6]),i(E,[2,8]),i(E,[2,9]),i(E,[2,10]),i(E,[2,11])],defaultActions:{7:[2,1]},parseError:function(ge,ae){if(ae.recoverable)this.trace(ge);else{var ne=new Error(ge);throw ne.hash=ae,ne}},parse:function(ge){var ae=this,ne=[0],se=[],de=[null],X=[],pe=this.table,G="",xe=0,U=0,Be=2,Pe=1,je=X.slice.call(arguments,1),Ie=Object.create(this.lexer),Se={yy:{}};for(var Ce in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ce)&&(Se.yy[Ce]=this.yy[Ce]);Ie.setInput(ge,Se.yy),Se.yy.lexer=Ie,Se.yy.parser=this,typeof Ie.yylloc>"u"&&(Ie.yylloc={});var ke=Ie.yylloc;X.push(ke);var Ke=Ie.options&&Ie.options.ranges;typeof Se.yy.parseError=="function"?this.parseError=Se.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function zt(){var kt;return kt=se.pop()||Ie.lex()||Pe,typeof kt!="number"&&(kt instanceof Array&&(se=kt,kt=se.pop()),kt=ae.symbols_[kt]||kt),kt}for(var Ne,pn,Tt,Et,Wt={},un,yt,Bt,Ze;;){if(pn=ne[ne.length-1],this.defaultActions[pn]?Tt=this.defaultActions[pn]:((Ne===null||typeof Ne>"u")&&(Ne=zt()),Tt=pe[pn]&&pe[pn][Ne]),typeof Tt>"u"||!Tt.length||!Tt[0]){var Dt="";Ze=[];for(un in pe[pn])this.terminals_[un]&&un>Be&&Ze.push("'"+this.terminals_[un]+"'");Ie.showPosition?Dt="Parse error on line "+(xe+1)+`: -`+Ie.showPosition()+` -Expecting `+Ze.join(", ")+", got '"+(this.terminals_[Ne]||Ne)+"'":Dt="Parse error on line "+(xe+1)+": Unexpected "+(Ne==Pe?"end of input":"'"+(this.terminals_[Ne]||Ne)+"'"),this.parseError(Dt,{text:Ie.match,token:this.terminals_[Ne]||Ne,line:Ie.yylineno,loc:ke,expected:Ze})}if(Tt[0]instanceof Array&&Tt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+pn+", token: "+Ne);switch(Tt[0]){case 1:ne.push(Ne),de.push(Ie.yytext),X.push(Ie.yylloc),ne.push(Tt[1]),Ne=null,U=Ie.yyleng,G=Ie.yytext,xe=Ie.yylineno,ke=Ie.yylloc;break;case 2:if(yt=this.productions_[Tt[1]][1],Wt.$=de[de.length-yt],Wt._$={first_line:X[X.length-(yt||1)].first_line,last_line:X[X.length-1].last_line,first_column:X[X.length-(yt||1)].first_column,last_column:X[X.length-1].last_column},Ke&&(Wt._$.range=[X[X.length-(yt||1)].range[0],X[X.length-1].range[1]]),Et=this.performAction.apply(Wt,[G,U,xe,Se.yy,Tt[1],de,X].concat(je)),typeof Et<"u")return Et;yt&&(ne=ne.slice(0,-1*yt*2),de=de.slice(0,-1*yt),X=X.slice(0,-1*yt)),ne.push(this.productions_[Tt[1]][0]),de.push(Wt.$),X.push(Wt._$),Bt=pe[ne[ne.length-2]][ne[ne.length-1]],ne.push(Bt);break;case 3:return!0}}return!0}},ie=function(){var be={EOF:1,parseError:function(ae,ne){if(this.yy.parser)this.yy.parser.parseError(ae,ne);else throw new Error(ae)},setInput:function(ge,ae){return this.yy=ae||this.yy||{},this._input=ge,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var ge=this._input[0];this.yytext+=ge,this.yyleng++,this.offset++,this.match+=ge,this.matched+=ge;var ae=ge.match(/(?:\r\n?|\n).*/g);return ae?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),ge},unput:function(ge){var ae=ge.length,ne=ge.split(/(?:\r\n?|\n)/g);this._input=ge+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ae),this.offset-=ae;var se=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),ne.length-1&&(this.yylineno-=ne.length-1);var de=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:ne?(ne.length===se.length?this.yylloc.first_column:0)+se[se.length-ne.length].length-ne[0].length:this.yylloc.first_column-ae},this.options.ranges&&(this.yylloc.range=[de[0],de[0]+this.yyleng-ae]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(ge){this.unput(this.match.slice(ge))},pastInput:function(){var ge=this.matched.substr(0,this.matched.length-this.match.length);return(ge.length>20?"...":"")+ge.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var ge=this.match;return ge.length<20&&(ge+=this._input.substr(0,20-ge.length)),(ge.substr(0,20)+(ge.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var ge=this.pastInput(),ae=new Array(ge.length+1).join("-");return ge+this.upcomingInput()+` -`+ae+"^"},test_match:function(ge,ae){var ne,se,de;if(this.options.backtrack_lexer&&(de={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(de.yylloc.range=this.yylloc.range.slice(0))),se=ge[0].match(/(?:\r\n?|\n).*/g),se&&(this.yylineno+=se.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:se?se[se.length-1].length-se[se.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+ge[0].length},this.yytext+=ge[0],this.match+=ge[0],this.matches=ge,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(ge[0].length),this.matched+=ge[0],ne=this.performAction.call(this,this.yy,this,ae,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ne)return ne;if(this._backtrack){for(var X in de)this[X]=de[X];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var ge,ae,ne,se;this._more||(this.yytext="",this.match="");for(var de=this._currentRules(),X=0;Xae[0].length)){if(ae=ne,se=X,this.options.backtrack_lexer){if(ge=this.test_match(ne,de[X]),ge!==!1)return ge;if(this._backtrack){ae=!1;continue}else return!1}else if(!this.options.flex)break}return ae?(ge=this.test_match(ae,de[se]),ge!==!1?ge:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var ae=this.next();return ae||this.lex()},begin:function(ae){this.conditionStack.push(ae)},popState:function(){var ae=this.conditionStack.length-1;return ae>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(ae){return ae=this.conditionStack.length-1-Math.abs(ae||0),ae>=0?this.conditionStack[ae]:"INITIAL"},pushState:function(ae){this.begin(ae)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(ae,ne,se,de){switch(se){case 0:break;case 1:break;case 2:return 20;case 3:break;case 4:break;case 5:return this.begin("title"),12;case 6:return this.popState(),"title_value";case 7:return this.begin("acc_title"),14;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),16;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:this.begin("string");break;case 15:this.popState();break;case 16:return"txt";case 17:return 5;case 18:return 7;case 19:return"value";case 20:return 22}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[6],inclusive:!1},string:{rules:[15,16],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,7,9,11,14,17,18,19,20],inclusive:!0}}};return be}();ee.lexer=ie;function oe(){this.yy={}}return oe.prototype=ee,ee.Parser=oe,new oe}();Ave.parser=Ave;const jnn=Ave,$Ge=nh.pie,SJ={sections:{},showData:!1,config:$Ge};let _J=SJ.sections,Lve=SJ.showData;const $nn=structuredClone($Ge),znn={getConfig:()=>structuredClone($nn),clear:()=>{_J=structuredClone(SJ.sections),Lve=SJ.showData,Rg()},setDiagramTitle:pm,getDiagramTitle:Op,setAccTitle:jg,getAccTitle:Mp,setAccDescription:Dp,getAccDescription:Ip,addSection:(i,a)=>{i=bh(i,qt()),_J[i]===void 0&&(_J[i]=a,Xe.debug(`added new section: ${i}, with value: ${a}`))},getSections:()=>_J,cleanupValue:i=>(i.substring(0,1)===":"&&(i=i.substring(1).trim()),Number(i.trim())),setShowData:i=>{Lve=i},getShowData:()=>Lve},qnn=i=>` + fill: ${t.titleColor||t.textColor}; + font-family: ${t.fontFamily}; + } +`,"getStyles"),FPr=jli});var GPr={};cs(GPr,{diagram:()=>zli});var zli,jPr=ie(()=>{"use strict";uPr();MPr();BPr();$Pr();zli={parser:cPr,db:DPr,renderer:PPr,styles:FPr}});var VPr,HPr=ie(()=>{"use strict";m1();Xn();VPr={parse:i(async t=>{let r=await Fd("info",t);Pe.debug(r)},"parse")}});var qli,Wli,qPr,WPr=ie(()=>{"use strict";qli={version:"12.2.0"},Wli=i(()=>qli.version,"getVersion"),qPr={getVersion:Wli}});var fu,y1=ie(()=>{"use strict";Yo();ma();fu=i(t=>{let{securityLevel:r}=Zt(),a=dn("body");if(r==="sandbox"){let h=dn(`#i${t}`).node()?.contentDocument??document;a=dn(h.body)}return a.select(`#${t}`)},"selectSvgElement")});var Yli,YPr,KPr=ie(()=>{"use strict";Xn();y1();Gh();Yli=i((t,r,a)=>{Pe.debug(`rendering info diagram +`+t);let o=fu(r);vl(o,100,400,!0),o.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${a}`)},"draw"),YPr={draw:Yli}});var XPr={};cs(XPr,{diagram:()=>Kli});var Kli,QPr=ie(()=>{"use strict";HPr();WPr();KPr();Kli={parser:VPr,db:qPr,renderer:YPr}});var eBr,ect,c4e,tct,Jli,Zli,eci,tci,rci,nci,ici,u4e,rct=ie(()=>{"use strict";Xn();xu();up();eBr=hs.pie,ect={sections:new Map,showData:!1,config:eBr},c4e=ect.sections,tct=ect.showData,Jli=structuredClone(eBr),Zli=i(()=>structuredClone(Jli),"getConfig"),eci=i(()=>{c4e=new Map,tct=ect.showData,Is()},"clear"),tci=i(({label:t,value:r})=>{if(r<0)throw new Error(`"${t}" has invalid value: ${r}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);c4e.has(t)||(c4e.set(t,r),Pe.debug(`added new section: ${t}, with value: ${r}`))},"addSection"),rci=i(()=>c4e,"getSections"),nci=i(t=>{tct=t},"setShowData"),ici=i(()=>tct,"getShowData"),u4e={getConfig:Zli,clear:eci,setDiagramTitle:ao,getDiagramTitle:Js,setAccTitle:Os,getAccTitle:Ws,setAccDescription:js,getAccDescription:Ys,addSection:tci,getSections:rci,setShowData:nci,getShowData:ici}});var aci,tBr,rBr=ie(()=>{"use strict";m1();Xn();Nb();rct();aci=i((t,r)=>{Th(t,r),r.setShowData(t.showData),t.sections.map(r.addSection)},"populateDb"),tBr={parse:i(async t=>{let r=await Fd("pie",t);Pe.debug(r),aci(r,u4e)},"parse")}});var sci,nBr,iBr=ie(()=>{"use strict";sci=i(t=>` .pieCircle{ - stroke: ${i.pieStrokeColor}; - stroke-width : ${i.pieStrokeWidth}; - opacity : ${i.pieOpacity}; + stroke: ${t.pieStrokeColor}; + stroke-width : ${t.pieStrokeWidth}; + opacity : ${t.pieOpacity}; + } + .pieCircle.highlighted{ + scale: 1.05; + opacity: 1; + } + .pieCircle.highlightedOnHover:hover{ + transition-duration: 250ms; + scale: 1.05; + opacity: 1; } .pieOuterCircle{ - stroke: ${i.pieOuterStrokeColor}; - stroke-width: ${i.pieOuterStrokeWidth}; + stroke: ${t.pieOuterStrokeColor}; + stroke-width: ${t.pieOuterStrokeWidth}; fill: none; } .pieTitleText { text-anchor: middle; - font-size: ${i.pieTitleTextSize}; - fill: ${i.pieTitleTextColor}; - font-family: ${i.fontFamily}; + font-size: ${t.pieTitleTextSize}; + fill: ${t.pieTitleTextColor}; + font-family: ${t.fontFamily}; } .slice { - font-family: ${i.fontFamily}; - fill: ${i.pieSectionTextColor}; - font-size:${i.pieSectionTextSize}; + font-family: ${t.fontFamily}; + fill: ${t.pieSectionTextColor}; + font-size:${t.pieSectionTextSize}; // fill: white; } .legend text { - fill: ${i.pieLegendTextColor}; - font-family: ${i.fontFamily}; - font-size: ${i.pieLegendTextSize}; - } -`,Hnn=i=>{const a=Object.entries(i).map(d=>({label:d[0],value:d[1]})).sort((d,p)=>p.value-d.value);return tPt().value(d=>d.value)(a)},Unn=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:jnn,db:znn,renderer:{draw:(i,a,u,d)=>{Xe.debug(`rendering pie chart -`+i);const p=d.db,v=qt(),b=cR(p.getConfig(),v.pie),y=40,E=18,_=4,A=450,P=A,R=gR(a),B=R.append("g"),j=p.getSections();B.attr("transform","translate("+P/2+","+A/2+")");const{themeVariables:W}=v;let[ee]=PC(W.pieOuterStrokeWidth);ee??(ee=2);const ie=b.textPosition,oe=Math.min(P,A)/2-y,be=hD().innerRadius(0).outerRadius(oe),ge=hD().innerRadius(oe*ie).outerRadius(oe*ie);B.append("circle").attr("cx",0).attr("cy",0).attr("r",oe+ee/2).attr("class","pieOuterCircle");const ae=Hnn(j),ne=[W.pie1,W.pie2,W.pie3,W.pie4,W.pie5,W.pie6,W.pie7,W.pie8,W.pie9,W.pie10,W.pie11,W.pie12],se=PF(ne);B.selectAll("mySlices").data(ae).enter().append("path").attr("d",be).attr("fill",xe=>se(xe.data.label)).attr("class","pieCircle");let de=0;Object.keys(j).forEach(xe=>{de+=j[xe]}),B.selectAll("mySlices").data(ae).enter().append("text").text(xe=>(xe.data.value/de*100).toFixed(0)+"%").attr("transform",xe=>"translate("+ge.centroid(xe)+")").style("text-anchor","middle").attr("class","slice"),B.append("text").text(p.getDiagramTitle()).attr("x",0).attr("y",-(A-50)/2).attr("class","pieTitleText");const X=B.selectAll(".legend").data(se.domain()).enter().append("g").attr("class","legend").attr("transform",(xe,U)=>{const Be=E+_,Pe=Be*se.domain().length/2,je=12*E,Ie=U*Be-Pe;return"translate("+je+","+Ie+")"});X.append("rect").attr("width",E).attr("height",E).style("fill",se).style("stroke",se),X.data(ae).append("text").attr("x",E+_).attr("y",E-_).text(xe=>{const{label:U,value:Be}=xe.data;return p.getShowData()?`${U} [${Be}]`:U});const pe=Math.max(...X.selectAll("text").nodes().map(xe=>(xe==null?void 0:xe.getBoundingClientRect().width)??0)),G=P+y+E+_+pe;R.attr("viewBox",`0 0 ${G} ${A}`),Fg(R,A,G,b.useMaxWidth)}},styles:qnn}},Symbol.toStringTag,{value:"Module"}));var Mve=function(){var i=function(Tt,Et,Wt,un){for(Wt=Wt||{},un=Tt.length;un--;Wt[Tt[un]]=Et);return Wt},a=[1,3],u=[1,4],d=[1,5],p=[1,6],v=[1,7],b=[1,5,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],y=[1,5,6,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],E=[32,33,34],_=[2,7],A=[1,13],P=[1,17],R=[1,18],B=[1,19],j=[1,20],W=[1,21],ee=[1,22],ie=[1,23],oe=[1,24],be=[1,25],ge=[1,26],ae=[1,27],ne=[1,30],se=[1,31],de=[1,32],X=[1,33],pe=[1,34],G=[1,35],xe=[1,36],U=[1,37],Be=[1,38],Pe=[1,39],je=[1,40],Ie=[1,41],Se=[1,42],Ce=[1,57],ke=[1,58],Ke=[5,22,26,32,33,34,40,41,42,43,44,45,46,47,48,49,50,51],zt={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,SPACE:5,QUADRANT:6,document:7,line:8,statement:9,axisDetails:10,quadrantDetails:11,points:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,text:21,point_start:22,point_x:23,point_y:24,"X-AXIS":25,"AXIS-TEXT-DELIMITER":26,"Y-AXIS":27,QUADRANT_1:28,QUADRANT_2:29,QUADRANT_3:30,QUADRANT_4:31,NEWLINE:32,SEMI:33,EOF:34,alphaNumToken:35,textNoTagsToken:36,STR:37,MD_STR:38,alphaNum:39,PUNCTUATION:40,AMP:41,NUM:42,ALPHA:43,COMMA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,UNDERSCORE:50,MINUS:51,$accept:0,$end:1},terminals_:{2:"error",5:"SPACE",6:"QUADRANT",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",22:"point_start",23:"point_x",24:"point_y",25:"X-AXIS",26:"AXIS-TEXT-DELIMITER",27:"Y-AXIS",28:"QUADRANT_1",29:"QUADRANT_2",30:"QUADRANT_3",31:"QUADRANT_4",32:"NEWLINE",33:"SEMI",34:"EOF",37:"STR",38:"MD_STR",40:"PUNCTUATION",41:"AMP",42:"NUM",43:"ALPHA",44:"COMMA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"UNDERSCORE",51:"MINUS"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[9,0],[9,2],[9,1],[9,1],[9,1],[9,2],[9,2],[9,2],[9,1],[9,1],[12,4],[10,4],[10,3],[10,2],[10,4],[10,3],[10,2],[11,2],[11,2],[11,2],[11,2],[4,1],[4,1],[4,1],[21,1],[21,2],[21,1],[21,1],[39,1],[39,2],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[36,1],[36,1],[36,1]],performAction:function(Et,Wt,un,yt,Bt,Ze,Dt){var kt=Ze.length-1;switch(Bt){case 12:this.$=Ze[kt].trim(),yt.setDiagramTitle(this.$);break;case 13:this.$=Ze[kt].trim(),yt.setAccTitle(this.$);break;case 14:case 15:this.$=Ze[kt].trim(),yt.setAccDescription(this.$);break;case 16:yt.addSection(Ze[kt].substr(8)),this.$=Ze[kt].substr(8);break;case 17:yt.addPoint(Ze[kt-3],Ze[kt-1],Ze[kt]);break;case 18:yt.setXAxisLeftText(Ze[kt-2]),yt.setXAxisRightText(Ze[kt]);break;case 19:Ze[kt-1].text+=" ⟶ ",yt.setXAxisLeftText(Ze[kt-1]);break;case 20:yt.setXAxisLeftText(Ze[kt]);break;case 21:yt.setYAxisBottomText(Ze[kt-2]),yt.setYAxisTopText(Ze[kt]);break;case 22:Ze[kt-1].text+=" ⟶ ",yt.setYAxisBottomText(Ze[kt-1]);break;case 23:yt.setYAxisBottomText(Ze[kt]);break;case 24:yt.setQuadrant1Text(Ze[kt]);break;case 25:yt.setQuadrant2Text(Ze[kt]);break;case 26:yt.setQuadrant3Text(Ze[kt]);break;case 27:yt.setQuadrant4Text(Ze[kt]);break;case 31:this.$={text:Ze[kt],type:"text"};break;case 32:this.$={text:Ze[kt-1].text+""+Ze[kt],type:Ze[kt-1].type};break;case 33:this.$={text:Ze[kt],type:"text"};break;case 34:this.$={text:Ze[kt],type:"markdown"};break;case 35:this.$=Ze[kt];break;case 36:this.$=Ze[kt-1]+""+Ze[kt];break}},table:[{3:1,4:2,5:a,6:u,32:d,33:p,34:v},{1:[3]},{3:8,4:2,5:a,6:u,32:d,33:p,34:v},{3:9,4:2,5:a,6:u,32:d,33:p,34:v},i(b,[2,4],{7:10}),i(y,[2,28]),i(y,[2,29]),i(y,[2,30]),{1:[2,1]},{1:[2,2]},i(E,_,{8:11,9:12,10:14,11:15,12:16,21:28,35:29,1:[2,3],5:A,13:P,15:R,17:B,19:j,20:W,25:ee,27:ie,28:oe,29:be,30:ge,31:ae,37:ne,38:se,40:de,41:X,42:pe,43:G,44:xe,45:U,46:Be,47:Pe,48:je,49:Ie,50:Se}),i(b,[2,5]),{4:43,32:d,33:p,34:v},i(E,_,{10:14,11:15,12:16,21:28,35:29,9:44,5:A,13:P,15:R,17:B,19:j,20:W,25:ee,27:ie,28:oe,29:be,30:ge,31:ae,37:ne,38:se,40:de,41:X,42:pe,43:G,44:xe,45:U,46:Be,47:Pe,48:je,49:Ie,50:Se}),i(E,[2,9]),i(E,[2,10]),i(E,[2,11]),{14:[1,45]},{16:[1,46]},{18:[1,47]},i(E,[2,15]),i(E,[2,16]),{21:48,35:29,37:ne,38:se,40:de,41:X,42:pe,43:G,44:xe,45:U,46:Be,47:Pe,48:je,49:Ie,50:Se},{21:49,35:29,37:ne,38:se,40:de,41:X,42:pe,43:G,44:xe,45:U,46:Be,47:Pe,48:je,49:Ie,50:Se},{21:50,35:29,37:ne,38:se,40:de,41:X,42:pe,43:G,44:xe,45:U,46:Be,47:Pe,48:je,49:Ie,50:Se},{21:51,35:29,37:ne,38:se,40:de,41:X,42:pe,43:G,44:xe,45:U,46:Be,47:Pe,48:je,49:Ie,50:Se},{21:52,35:29,37:ne,38:se,40:de,41:X,42:pe,43:G,44:xe,45:U,46:Be,47:Pe,48:je,49:Ie,50:Se},{21:53,35:29,37:ne,38:se,40:de,41:X,42:pe,43:G,44:xe,45:U,46:Be,47:Pe,48:je,49:Ie,50:Se},{5:Ce,22:[1,54],35:56,36:55,40:de,41:X,42:pe,43:G,44:xe,45:U,46:Be,47:Pe,48:je,49:Ie,50:Se,51:ke},i(Ke,[2,31]),i(Ke,[2,33]),i(Ke,[2,34]),i(Ke,[2,37]),i(Ke,[2,38]),i(Ke,[2,39]),i(Ke,[2,40]),i(Ke,[2,41]),i(Ke,[2,42]),i(Ke,[2,43]),i(Ke,[2,44]),i(Ke,[2,45]),i(Ke,[2,46]),i(Ke,[2,47]),i(b,[2,6]),i(E,[2,8]),i(E,[2,12]),i(E,[2,13]),i(E,[2,14]),i(E,[2,20],{36:55,35:56,5:Ce,26:[1,59],40:de,41:X,42:pe,43:G,44:xe,45:U,46:Be,47:Pe,48:je,49:Ie,50:Se,51:ke}),i(E,[2,23],{36:55,35:56,5:Ce,26:[1,60],40:de,41:X,42:pe,43:G,44:xe,45:U,46:Be,47:Pe,48:je,49:Ie,50:Se,51:ke}),i(E,[2,24],{36:55,35:56,5:Ce,40:de,41:X,42:pe,43:G,44:xe,45:U,46:Be,47:Pe,48:je,49:Ie,50:Se,51:ke}),i(E,[2,25],{36:55,35:56,5:Ce,40:de,41:X,42:pe,43:G,44:xe,45:U,46:Be,47:Pe,48:je,49:Ie,50:Se,51:ke}),i(E,[2,26],{36:55,35:56,5:Ce,40:de,41:X,42:pe,43:G,44:xe,45:U,46:Be,47:Pe,48:je,49:Ie,50:Se,51:ke}),i(E,[2,27],{36:55,35:56,5:Ce,40:de,41:X,42:pe,43:G,44:xe,45:U,46:Be,47:Pe,48:je,49:Ie,50:Se,51:ke}),{23:[1,61]},i(Ke,[2,32]),i(Ke,[2,48]),i(Ke,[2,49]),i(Ke,[2,50]),i(E,[2,19],{35:29,21:62,37:ne,38:se,40:de,41:X,42:pe,43:G,44:xe,45:U,46:Be,47:Pe,48:je,49:Ie,50:Se}),i(E,[2,22],{35:29,21:63,37:ne,38:se,40:de,41:X,42:pe,43:G,44:xe,45:U,46:Be,47:Pe,48:je,49:Ie,50:Se}),{24:[1,64]},i(E,[2,18],{36:55,35:56,5:Ce,40:de,41:X,42:pe,43:G,44:xe,45:U,46:Be,47:Pe,48:je,49:Ie,50:Se,51:ke}),i(E,[2,21],{36:55,35:56,5:Ce,40:de,41:X,42:pe,43:G,44:xe,45:U,46:Be,47:Pe,48:je,49:Ie,50:Se,51:ke}),i(E,[2,17])],defaultActions:{8:[2,1],9:[2,2]},parseError:function(Et,Wt){if(Wt.recoverable)this.trace(Et);else{var un=new Error(Et);throw un.hash=Wt,un}},parse:function(Et){var Wt=this,un=[0],yt=[],Bt=[null],Ze=[],Dt=this.table,kt="",Nn=0,ht=0,qr=2,xt=1,Ri=Ze.slice.call(arguments,1),wi=Object.create(this.lexer),ia={yy:{}};for(var Hs in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Hs)&&(ia.yy[Hs]=this.yy[Hs]);wi.setInput(Et,ia.yy),ia.yy.lexer=wi,ia.yy.parser=this,typeof wi.yylloc>"u"&&(wi.yylloc={});var mo=wi.yylloc;Ze.push(mo);var Tr=wi.options&&wi.options.ranges;typeof ia.yy.parseError=="function"?this.parseError=ia.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function On(){var Us;return Us=yt.pop()||wi.lex()||xt,typeof Us!="number"&&(Us instanceof Array&&(yt=Us,Us=yt.pop()),Us=Wt.symbols_[Us]||Us),Us}for(var Rn,zn,Ct,gt,on={},dn,Ln,Io,Oo;;){if(zn=un[un.length-1],this.defaultActions[zn]?Ct=this.defaultActions[zn]:((Rn===null||typeof Rn>"u")&&(Rn=On()),Ct=Dt[zn]&&Dt[zn][Rn]),typeof Ct>"u"||!Ct.length||!Ct[0]){var No="";Oo=[];for(dn in Dt[zn])this.terminals_[dn]&&dn>qr&&Oo.push("'"+this.terminals_[dn]+"'");wi.showPosition?No="Parse error on line "+(Nn+1)+`: -`+wi.showPosition()+` -Expecting `+Oo.join(", ")+", got '"+(this.terminals_[Rn]||Rn)+"'":No="Parse error on line "+(Nn+1)+": Unexpected "+(Rn==xt?"end of input":"'"+(this.terminals_[Rn]||Rn)+"'"),this.parseError(No,{text:wi.match,token:this.terminals_[Rn]||Rn,line:wi.yylineno,loc:mo,expected:Oo})}if(Ct[0]instanceof Array&&Ct.length>1)throw new Error("Parse Error: multiple actions possible at state: "+zn+", token: "+Rn);switch(Ct[0]){case 1:un.push(Rn),Bt.push(wi.yytext),Ze.push(wi.yylloc),un.push(Ct[1]),Rn=null,ht=wi.yyleng,kt=wi.yytext,Nn=wi.yylineno,mo=wi.yylloc;break;case 2:if(Ln=this.productions_[Ct[1]][1],on.$=Bt[Bt.length-Ln],on._$={first_line:Ze[Ze.length-(Ln||1)].first_line,last_line:Ze[Ze.length-1].last_line,first_column:Ze[Ze.length-(Ln||1)].first_column,last_column:Ze[Ze.length-1].last_column},Tr&&(on._$.range=[Ze[Ze.length-(Ln||1)].range[0],Ze[Ze.length-1].range[1]]),gt=this.performAction.apply(on,[kt,ht,Nn,ia.yy,Ct[1],Bt,Ze].concat(Ri)),typeof gt<"u")return gt;Ln&&(un=un.slice(0,-1*Ln*2),Bt=Bt.slice(0,-1*Ln),Ze=Ze.slice(0,-1*Ln)),un.push(this.productions_[Ct[1]][0]),Bt.push(on.$),Ze.push(on._$),Io=Dt[un[un.length-2]][un[un.length-1]],un.push(Io);break;case 3:return!0}}return!0}},Ne=function(){var Tt={EOF:1,parseError:function(Wt,un){if(this.yy.parser)this.yy.parser.parseError(Wt,un);else throw new Error(Wt)},setInput:function(Et,Wt){return this.yy=Wt||this.yy||{},this._input=Et,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Et=this._input[0];this.yytext+=Et,this.yyleng++,this.offset++,this.match+=Et,this.matched+=Et;var Wt=Et.match(/(?:\r\n?|\n).*/g);return Wt?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Et},unput:function(Et){var Wt=Et.length,un=Et.split(/(?:\r\n?|\n)/g);this._input=Et+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Wt),this.offset-=Wt;var yt=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),un.length-1&&(this.yylineno-=un.length-1);var Bt=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:un?(un.length===yt.length?this.yylloc.first_column:0)+yt[yt.length-un.length].length-un[0].length:this.yylloc.first_column-Wt},this.options.ranges&&(this.yylloc.range=[Bt[0],Bt[0]+this.yyleng-Wt]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(Et){this.unput(this.match.slice(Et))},pastInput:function(){var Et=this.matched.substr(0,this.matched.length-this.match.length);return(Et.length>20?"...":"")+Et.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Et=this.match;return Et.length<20&&(Et+=this._input.substr(0,20-Et.length)),(Et.substr(0,20)+(Et.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Et=this.pastInput(),Wt=new Array(Et.length+1).join("-");return Et+this.upcomingInput()+` -`+Wt+"^"},test_match:function(Et,Wt){var un,yt,Bt;if(this.options.backtrack_lexer&&(Bt={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Bt.yylloc.range=this.yylloc.range.slice(0))),yt=Et[0].match(/(?:\r\n?|\n).*/g),yt&&(this.yylineno+=yt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:yt?yt[yt.length-1].length-yt[yt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Et[0].length},this.yytext+=Et[0],this.match+=Et[0],this.matches=Et,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Et[0].length),this.matched+=Et[0],un=this.performAction.call(this,this.yy,this,Wt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),un)return un;if(this._backtrack){for(var Ze in Bt)this[Ze]=Bt[Ze];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Et,Wt,un,yt;this._more||(this.yytext="",this.match="");for(var Bt=this._currentRules(),Ze=0;ZeWt[0].length)){if(Wt=un,yt=Ze,this.options.backtrack_lexer){if(Et=this.test_match(un,Bt[Ze]),Et!==!1)return Et;if(this._backtrack){Wt=!1;continue}else return!1}else if(!this.options.flex)break}return Wt?(Et=this.test_match(Wt,Bt[yt]),Et!==!1?Et:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var Wt=this.next();return Wt||this.lex()},begin:function(Wt){this.conditionStack.push(Wt)},popState:function(){var Wt=this.conditionStack.length-1;return Wt>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Wt){return Wt=this.conditionStack.length-1-Math.abs(Wt||0),Wt>=0?this.conditionStack[Wt]:"INITIAL"},pushState:function(Wt){this.begin(Wt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Wt,un,yt,Bt){switch(yt){case 0:break;case 1:break;case 2:return 32;case 3:break;case 4:return this.begin("title"),13;case 5:return this.popState(),"title_value";case 6:return this.begin("acc_title"),15;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),17;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 25;case 14:return 27;case 15:return 26;case 16:return 28;case 17:return 29;case 18:return 30;case 19:return 31;case 20:this.begin("md_string");break;case 21:return"MD_STR";case 22:this.popState();break;case 23:this.begin("string");break;case 24:this.popState();break;case 25:return"STR";case 26:return this.begin("point_start"),22;case 27:return this.begin("point_x"),23;case 28:this.popState();break;case 29:this.popState(),this.begin("point_y");break;case 30:return this.popState(),24;case 31:return 6;case 32:return 43;case 33:return"COLON";case 34:return 45;case 35:return 44;case 36:return 46;case 37:return 46;case 38:return 47;case 39:return 49;case 40:return 50;case 41:return 48;case 42:return 41;case 43:return 51;case 44:return 42;case 45:return 5;case 46:return 33;case 47:return 40;case 48:return 34}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{point_y:{rules:[30],inclusive:!1},point_x:{rules:[29],inclusive:!1},point_start:{rules:[27,28],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[21,22],inclusive:!1},string:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,23,26,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],inclusive:!0}}};return Tt}();zt.lexer=Ne;function pn(){this.yy={}}return pn.prototype=zt,zt.Parser=pn,new pn}();Mve.parser=Mve;const Vnn=Mve,zp=S2e();class Gnn{constructor(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){var a,u,d,p,v,b,y,E,_,A,P,R,B,j,W,ee,ie,oe;return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:((a=nh.quadrantChart)==null?void 0:a.chartWidth)||500,chartWidth:((u=nh.quadrantChart)==null?void 0:u.chartHeight)||500,titlePadding:((d=nh.quadrantChart)==null?void 0:d.titlePadding)||10,titleFontSize:((p=nh.quadrantChart)==null?void 0:p.titleFontSize)||20,quadrantPadding:((v=nh.quadrantChart)==null?void 0:v.quadrantPadding)||5,xAxisLabelPadding:((b=nh.quadrantChart)==null?void 0:b.xAxisLabelPadding)||5,yAxisLabelPadding:((y=nh.quadrantChart)==null?void 0:y.yAxisLabelPadding)||5,xAxisLabelFontSize:((E=nh.quadrantChart)==null?void 0:E.xAxisLabelFontSize)||16,yAxisLabelFontSize:((_=nh.quadrantChart)==null?void 0:_.yAxisLabelFontSize)||16,quadrantLabelFontSize:((A=nh.quadrantChart)==null?void 0:A.quadrantLabelFontSize)||16,quadrantTextTopPadding:((P=nh.quadrantChart)==null?void 0:P.quadrantTextTopPadding)||5,pointTextPadding:((R=nh.quadrantChart)==null?void 0:R.pointTextPadding)||5,pointLabelFontSize:((B=nh.quadrantChart)==null?void 0:B.pointLabelFontSize)||12,pointRadius:((j=nh.quadrantChart)==null?void 0:j.pointRadius)||5,xAxisPosition:((W=nh.quadrantChart)==null?void 0:W.xAxisPosition)||"top",yAxisPosition:((ee=nh.quadrantChart)==null?void 0:ee.yAxisPosition)||"left",quadrantInternalBorderStrokeWidth:((ie=nh.quadrantChart)==null?void 0:ie.quadrantInternalBorderStrokeWidth)||1,quadrantExternalBorderStrokeWidth:((oe=nh.quadrantChart)==null?void 0:oe.quadrantExternalBorderStrokeWidth)||2}}getDefaultThemeConfig(){return{quadrant1Fill:zp.quadrant1Fill,quadrant2Fill:zp.quadrant2Fill,quadrant3Fill:zp.quadrant3Fill,quadrant4Fill:zp.quadrant4Fill,quadrant1TextFill:zp.quadrant1TextFill,quadrant2TextFill:zp.quadrant2TextFill,quadrant3TextFill:zp.quadrant3TextFill,quadrant4TextFill:zp.quadrant4TextFill,quadrantPointFill:zp.quadrantPointFill,quadrantPointTextFill:zp.quadrantPointTextFill,quadrantXAxisTextFill:zp.quadrantXAxisTextFill,quadrantYAxisTextFill:zp.quadrantYAxisTextFill,quadrantTitleFill:zp.quadrantTitleFill,quadrantInternalBorderStrokeFill:zp.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:zp.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),Xe.info("clear called")}setData(a){this.data={...this.data,...a}}addPoints(a){this.data.points=[...a,...this.data.points]}setConfig(a){Xe.trace("setConfig called with: ",a),this.config={...this.config,...a}}setThemeConfig(a){Xe.trace("setThemeConfig called with: ",a),this.themeConfig={...this.themeConfig,...a}}calculateSpace(a,u,d,p){const v=this.config.xAxisLabelPadding*2+this.config.xAxisLabelFontSize,b={top:a==="top"&&u?v:0,bottom:a==="bottom"&&u?v:0},y=this.config.yAxisLabelPadding*2+this.config.yAxisLabelFontSize,E={left:this.config.yAxisPosition==="left"&&d?y:0,right:this.config.yAxisPosition==="right"&&d?y:0},_=this.config.titleFontSize+this.config.titlePadding*2,A={top:p?_:0},P=this.config.quadrantPadding+E.left,R=this.config.quadrantPadding+b.top+A.top,B=this.config.chartWidth-this.config.quadrantPadding*2-E.left-E.right,j=this.config.chartHeight-this.config.quadrantPadding*2-b.top-b.bottom-A.top,W=B/2,ee=j/2;return{xAxisSpace:b,yAxisSpace:E,titleSpace:A,quadrantSpace:{quadrantLeft:P,quadrantTop:R,quadrantWidth:B,quadrantHalfWidth:W,quadrantHeight:j,quadrantHalfHeight:ee}}}getAxisLabels(a,u,d,p){const{quadrantSpace:v,titleSpace:b}=p,{quadrantHalfHeight:y,quadrantHeight:E,quadrantLeft:_,quadrantHalfWidth:A,quadrantTop:P,quadrantWidth:R}=v,B=!!this.data.xAxisRightText,j=!!this.data.yAxisTopText,W=[];return this.data.xAxisLeftText&&u&&W.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:_+(B?A/2:0),y:a==="top"?this.config.xAxisLabelPadding+b.top:this.config.xAxisLabelPadding+P+E+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:B?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&u&&W.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:_+A+(B?A/2:0),y:a==="top"?this.config.xAxisLabelPadding+b.top:this.config.xAxisLabelPadding+P+E+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:B?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&d&&W.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+_+R+this.config.quadrantPadding,y:P+E-(j?y/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:j?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&d&&W.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+_+R+this.config.quadrantPadding,y:P+y-(j?y/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:j?"center":"left",horizontalPos:"top",rotation:-90}),W}getQuadrants(a){const{quadrantSpace:u}=a,{quadrantHalfHeight:d,quadrantLeft:p,quadrantHalfWidth:v,quadrantTop:b}=u,y=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:p+v,y:b,width:v,height:d,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:p,y:b,width:v,height:d,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:p,y:b+d,width:v,height:d,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:p+v,y:b+d,width:v,height:d,fill:this.themeConfig.quadrant4Fill}];for(const E of y)E.text.x=E.x+E.width/2,this.data.points.length===0?(E.text.y=E.y+E.height/2,E.text.horizontalPos="middle"):(E.text.y=E.y+this.config.quadrantTextTopPadding,E.text.horizontalPos="top");return y}getQuadrantPoints(a){const{quadrantSpace:u}=a,{quadrantHeight:d,quadrantLeft:p,quadrantTop:v,quadrantWidth:b}=u,y=aD().domain([0,1]).range([p,b+p]),E=aD().domain([0,1]).range([d+v,v]);return this.data.points.map(A=>({x:y(A.x),y:E(A.y),fill:this.themeConfig.quadrantPointFill,radius:this.config.pointRadius,text:{text:A.text,fill:this.themeConfig.quadrantPointTextFill,x:y(A.x),y:E(A.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0}}))}getBorders(a){const u=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:d}=a,{quadrantHalfHeight:p,quadrantHeight:v,quadrantLeft:b,quadrantHalfWidth:y,quadrantTop:E,quadrantWidth:_}=d;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:b-u,y1:E,x2:b+_+u,y2:E},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:b+_,y1:E+u,x2:b+_,y2:E+v-u},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:b-u,y1:E+v,x2:b+_+u,y2:E+v},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:b,y1:E+u,x2:b,y2:E+v-u},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:b+y,y1:E+u,x2:b+y,y2:E+v-u},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:b+u,y1:E+p,x2:b+_-u,y2:E+p}]}getTitle(a){if(a)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){const a=this.config.showXAxis&&!!(this.data.xAxisLeftText||this.data.xAxisRightText),u=this.config.showYAxis&&!!(this.data.yAxisTopText||this.data.yAxisBottomText),d=this.config.showTitle&&!!this.data.titleText,p=this.data.points.length>0?"bottom":this.config.xAxisPosition,v=this.calculateSpace(p,a,u,d);return{points:this.getQuadrantPoints(v),quadrants:this.getQuadrants(v),axisLabels:this.getAxisLabels(p,a,u,v),borderLines:this.getBorders(v),title:this.getTitle(d)}}}const Knn=qt();function G7(i){return bh(i.trim(),Knn)}const qg=new Gnn;function Wnn(i){qg.setData({quadrant1Text:G7(i.text)})}function Ynn(i){qg.setData({quadrant2Text:G7(i.text)})}function Xnn(i){qg.setData({quadrant3Text:G7(i.text)})}function Qnn(i){qg.setData({quadrant4Text:G7(i.text)})}function Jnn(i){qg.setData({xAxisLeftText:G7(i.text)})}function Znn(i){qg.setData({xAxisRightText:G7(i.text)})}function ern(i){qg.setData({yAxisTopText:G7(i.text)})}function trn(i){qg.setData({yAxisBottomText:G7(i.text)})}function nrn(i,a,u){qg.addPoints([{x:a,y:u,text:G7(i.text)}])}function rrn(i){qg.setConfig({chartWidth:i})}function irn(i){qg.setConfig({chartHeight:i})}function srn(){const i=qt(),{themeVariables:a,quadrantChart:u}=i;return u&&qg.setConfig(u),qg.setThemeConfig({quadrant1Fill:a.quadrant1Fill,quadrant2Fill:a.quadrant2Fill,quadrant3Fill:a.quadrant3Fill,quadrant4Fill:a.quadrant4Fill,quadrant1TextFill:a.quadrant1TextFill,quadrant2TextFill:a.quadrant2TextFill,quadrant3TextFill:a.quadrant3TextFill,quadrant4TextFill:a.quadrant4TextFill,quadrantPointFill:a.quadrantPointFill,quadrantPointTextFill:a.quadrantPointTextFill,quadrantXAxisTextFill:a.quadrantXAxisTextFill,quadrantYAxisTextFill:a.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:a.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:a.quadrantInternalBorderStrokeFill,quadrantTitleFill:a.quadrantTitleFill}),qg.setData({titleText:Op()}),qg.build()}const arn=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:Vnn,db:{setWidth:rrn,setHeight:irn,setQuadrant1Text:Wnn,setQuadrant2Text:Ynn,setQuadrant3Text:Xnn,setQuadrant4Text:Qnn,setXAxisLeftText:Jnn,setXAxisRightText:Znn,setYAxisTopText:ern,setYAxisBottomText:trn,addPoint:nrn,getQuadrantData:srn,clear:function(){qg.clear(),Rg()},setAccTitle:jg,getAccTitle:Mp,setDiagramTitle:pm,getDiagramTitle:Op,getAccDescription:Ip,setAccDescription:Dp},renderer:{draw:(i,a,u,d)=>{var de,X,pe;function p(G){return G==="top"?"hanging":"middle"}function v(G){return G==="left"?"start":"middle"}function b(G){return`translate(${G.x}, ${G.y}) rotate(${G.rotation||0})`}const y=qt();Xe.debug(`Rendering quadrant chart -`+i);const E=y.securityLevel;let _;E==="sandbox"&&(_=Dr("#i"+a));const P=Dr(E==="sandbox"?_.nodes()[0].contentDocument.body:"body").select(`[id="${a}"]`),R=P.append("g").attr("class","main"),B=((de=y.quadrantChart)==null?void 0:de.chartWidth)||500,j=((X=y.quadrantChart)==null?void 0:X.chartHeight)||500;Fg(P,j,B,((pe=y.quadrantChart)==null?void 0:pe.useMaxWidth)||!0),P.attr("viewBox","0 0 "+B+" "+j),d.db.setHeight(j),d.db.setWidth(B);const W=d.db.getQuadrantData(),ee=R.append("g").attr("class","quadrants"),ie=R.append("g").attr("class","border"),oe=R.append("g").attr("class","data-points"),be=R.append("g").attr("class","labels"),ge=R.append("g").attr("class","title");W.title&&ge.append("text").attr("x",0).attr("y",0).attr("fill",W.title.fill).attr("font-size",W.title.fontSize).attr("dominant-baseline",p(W.title.horizontalPos)).attr("text-anchor",v(W.title.verticalPos)).attr("transform",b(W.title)).text(W.title.text),W.borderLines&&ie.selectAll("line").data(W.borderLines).enter().append("line").attr("x1",G=>G.x1).attr("y1",G=>G.y1).attr("x2",G=>G.x2).attr("y2",G=>G.y2).style("stroke",G=>G.strokeFill).style("stroke-width",G=>G.strokeWidth);const ae=ee.selectAll("g.quadrant").data(W.quadrants).enter().append("g").attr("class","quadrant");ae.append("rect").attr("x",G=>G.x).attr("y",G=>G.y).attr("width",G=>G.width).attr("height",G=>G.height).attr("fill",G=>G.fill),ae.append("text").attr("x",0).attr("y",0).attr("fill",G=>G.text.fill).attr("font-size",G=>G.text.fontSize).attr("dominant-baseline",G=>p(G.text.horizontalPos)).attr("text-anchor",G=>v(G.text.verticalPos)).attr("transform",G=>b(G.text)).text(G=>G.text.text),be.selectAll("g.label").data(W.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text(G=>G.text).attr("fill",G=>G.fill).attr("font-size",G=>G.fontSize).attr("dominant-baseline",G=>p(G.horizontalPos)).attr("text-anchor",G=>v(G.verticalPos)).attr("transform",G=>b(G));const se=oe.selectAll("g.data-point").data(W.points).enter().append("g").attr("class","data-point");se.append("circle").attr("cx",G=>G.x).attr("cy",G=>G.y).attr("r",G=>G.radius).attr("fill",G=>G.fill),se.append("text").attr("x",0).attr("y",0).text(G=>G.text.text).attr("fill",G=>G.text.fill).attr("font-size",G=>G.text.fontSize).attr("dominant-baseline",G=>p(G.text.horizontalPos)).attr("text-anchor",G=>v(G.text.verticalPos)).attr("transform",G=>b(G.text))}},styles:()=>""}},Symbol.toStringTag,{value:"Module"}));var Dve=function(){var i=function(Pe,je,Ie,Se){for(Ie=Ie||{},Se=Pe.length;Se--;Ie[Pe[Se]]=je);return Ie},a=[1,10,12,14,16,18,19,21,23],u=[2,6],d=[1,3],p=[1,5],v=[1,6],b=[1,7],y=[1,5,10,12,14,16,18,19,21,23,34,35,36],E=[1,25],_=[1,26],A=[1,28],P=[1,29],R=[1,30],B=[1,31],j=[1,32],W=[1,33],ee=[1,34],ie=[1,35],oe=[1,36],be=[1,37],ge=[1,43],ae=[1,42],ne=[1,47],se=[1,50],de=[1,10,12,14,16,18,19,21,23,34,35,36],X=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],pe=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],G=[1,64],xe={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:function(je,Ie,Se,Ce,ke,Ke,zt){var Ne=Ke.length-1;switch(ke){case 5:Ce.setOrientation(Ke[Ne]);break;case 9:Ce.setDiagramTitle(Ke[Ne].text.trim());break;case 12:Ce.setLineData({text:"",type:"text"},Ke[Ne]);break;case 13:Ce.setLineData(Ke[Ne-1],Ke[Ne]);break;case 14:Ce.setBarData({text:"",type:"text"},Ke[Ne]);break;case 15:Ce.setBarData(Ke[Ne-1],Ke[Ne]);break;case 16:this.$=Ke[Ne].trim(),Ce.setAccTitle(this.$);break;case 17:case 18:this.$=Ke[Ne].trim(),Ce.setAccDescription(this.$);break;case 19:this.$=Ke[Ne-1];break;case 20:this.$=[Number(Ke[Ne-2]),...Ke[Ne]];break;case 21:this.$=[Number(Ke[Ne])];break;case 22:Ce.setXAxisTitle(Ke[Ne]);break;case 23:Ce.setXAxisTitle(Ke[Ne-1]);break;case 24:Ce.setXAxisTitle({type:"text",text:""});break;case 25:Ce.setXAxisBand(Ke[Ne]);break;case 26:Ce.setXAxisRangeData(Number(Ke[Ne-2]),Number(Ke[Ne]));break;case 27:this.$=Ke[Ne-1];break;case 28:this.$=[Ke[Ne-2],...Ke[Ne]];break;case 29:this.$=[Ke[Ne]];break;case 30:Ce.setYAxisTitle(Ke[Ne]);break;case 31:Ce.setYAxisTitle(Ke[Ne-1]);break;case 32:Ce.setYAxisTitle({type:"text",text:""});break;case 33:Ce.setYAxisRangeData(Number(Ke[Ne-2]),Number(Ke[Ne]));break;case 37:this.$={text:Ke[Ne],type:"text"};break;case 38:this.$={text:Ke[Ne],type:"text"};break;case 39:this.$={text:Ke[Ne],type:"markdown"};break;case 40:this.$=Ke[Ne];break;case 41:this.$=Ke[Ne-1]+""+Ke[Ne];break}},table:[i(a,u,{3:1,4:2,7:4,5:d,34:p,35:v,36:b}),{1:[3]},i(a,u,{4:2,7:4,3:8,5:d,34:p,35:v,36:b}),i(a,u,{4:2,7:4,6:9,3:10,5:d,8:[1,11],34:p,35:v,36:b}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},i(y,[2,34]),i(y,[2,35]),i(y,[2,36]),{1:[2,1]},i(a,u,{4:2,7:4,3:21,5:d,34:p,35:v,36:b}),{1:[2,3]},i(y,[2,5]),i(a,[2,7],{4:22,34:p,35:v,36:b}),{11:23,37:24,38:E,39:_,40:27,41:A,42:P,43:R,44:B,45:j,46:W,47:ee,48:ie,49:oe,50:be},{11:39,13:38,24:ge,27:ae,29:40,30:41,37:24,38:E,39:_,40:27,41:A,42:P,43:R,44:B,45:j,46:W,47:ee,48:ie,49:oe,50:be},{11:45,15:44,27:ne,33:46,37:24,38:E,39:_,40:27,41:A,42:P,43:R,44:B,45:j,46:W,47:ee,48:ie,49:oe,50:be},{11:49,17:48,24:se,37:24,38:E,39:_,40:27,41:A,42:P,43:R,44:B,45:j,46:W,47:ee,48:ie,49:oe,50:be},{11:52,17:51,24:se,37:24,38:E,39:_,40:27,41:A,42:P,43:R,44:B,45:j,46:W,47:ee,48:ie,49:oe,50:be},{20:[1,53]},{22:[1,54]},i(de,[2,18]),{1:[2,2]},i(de,[2,8]),i(de,[2,9]),i(X,[2,37],{40:55,41:A,42:P,43:R,44:B,45:j,46:W,47:ee,48:ie,49:oe,50:be}),i(X,[2,38]),i(X,[2,39]),i(pe,[2,40]),i(pe,[2,42]),i(pe,[2,43]),i(pe,[2,44]),i(pe,[2,45]),i(pe,[2,46]),i(pe,[2,47]),i(pe,[2,48]),i(pe,[2,49]),i(pe,[2,50]),i(pe,[2,51]),i(de,[2,10]),i(de,[2,22],{30:41,29:56,24:ge,27:ae}),i(de,[2,24]),i(de,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:E,39:_,40:27,41:A,42:P,43:R,44:B,45:j,46:W,47:ee,48:ie,49:oe,50:be},i(de,[2,11]),i(de,[2,30],{33:60,27:ne}),i(de,[2,32]),{31:[1,61]},i(de,[2,12]),{17:62,24:se},{25:63,27:G},i(de,[2,14]),{17:65,24:se},i(de,[2,16]),i(de,[2,17]),i(pe,[2,41]),i(de,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},i(de,[2,31]),{27:[1,69]},i(de,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},i(de,[2,15]),i(de,[2,26]),i(de,[2,27]),{11:59,32:72,37:24,38:E,39:_,40:27,41:A,42:P,43:R,44:B,45:j,46:W,47:ee,48:ie,49:oe,50:be},i(de,[2,33]),i(de,[2,19]),{25:73,27:G},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:function(je,Ie){if(Ie.recoverable)this.trace(je);else{var Se=new Error(je);throw Se.hash=Ie,Se}},parse:function(je){var Ie=this,Se=[0],Ce=[],ke=[null],Ke=[],zt=this.table,Ne="",pn=0,Tt=0,Et=2,Wt=1,un=Ke.slice.call(arguments,1),yt=Object.create(this.lexer),Bt={yy:{}};for(var Ze in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ze)&&(Bt.yy[Ze]=this.yy[Ze]);yt.setInput(je,Bt.yy),Bt.yy.lexer=yt,Bt.yy.parser=this,typeof yt.yylloc>"u"&&(yt.yylloc={});var Dt=yt.yylloc;Ke.push(Dt);var kt=yt.options&&yt.options.ranges;typeof Bt.yy.parseError=="function"?this.parseError=Bt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Nn(){var Rn;return Rn=Ce.pop()||yt.lex()||Wt,typeof Rn!="number"&&(Rn instanceof Array&&(Ce=Rn,Rn=Ce.pop()),Rn=Ie.symbols_[Rn]||Rn),Rn}for(var ht,qr,xt,Ri,wi={},ia,Hs,mo,Tr;;){if(qr=Se[Se.length-1],this.defaultActions[qr]?xt=this.defaultActions[qr]:((ht===null||typeof ht>"u")&&(ht=Nn()),xt=zt[qr]&&zt[qr][ht]),typeof xt>"u"||!xt.length||!xt[0]){var On="";Tr=[];for(ia in zt[qr])this.terminals_[ia]&&ia>Et&&Tr.push("'"+this.terminals_[ia]+"'");yt.showPosition?On="Parse error on line "+(pn+1)+`: -`+yt.showPosition()+` -Expecting `+Tr.join(", ")+", got '"+(this.terminals_[ht]||ht)+"'":On="Parse error on line "+(pn+1)+": Unexpected "+(ht==Wt?"end of input":"'"+(this.terminals_[ht]||ht)+"'"),this.parseError(On,{text:yt.match,token:this.terminals_[ht]||ht,line:yt.yylineno,loc:Dt,expected:Tr})}if(xt[0]instanceof Array&&xt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+qr+", token: "+ht);switch(xt[0]){case 1:Se.push(ht),ke.push(yt.yytext),Ke.push(yt.yylloc),Se.push(xt[1]),ht=null,Tt=yt.yyleng,Ne=yt.yytext,pn=yt.yylineno,Dt=yt.yylloc;break;case 2:if(Hs=this.productions_[xt[1]][1],wi.$=ke[ke.length-Hs],wi._$={first_line:Ke[Ke.length-(Hs||1)].first_line,last_line:Ke[Ke.length-1].last_line,first_column:Ke[Ke.length-(Hs||1)].first_column,last_column:Ke[Ke.length-1].last_column},kt&&(wi._$.range=[Ke[Ke.length-(Hs||1)].range[0],Ke[Ke.length-1].range[1]]),Ri=this.performAction.apply(wi,[Ne,Tt,pn,Bt.yy,xt[1],ke,Ke].concat(un)),typeof Ri<"u")return Ri;Hs&&(Se=Se.slice(0,-1*Hs*2),ke=ke.slice(0,-1*Hs),Ke=Ke.slice(0,-1*Hs)),Se.push(this.productions_[xt[1]][0]),ke.push(wi.$),Ke.push(wi._$),mo=zt[Se[Se.length-2]][Se[Se.length-1]],Se.push(mo);break;case 3:return!0}}return!0}},U=function(){var Pe={EOF:1,parseError:function(Ie,Se){if(this.yy.parser)this.yy.parser.parseError(Ie,Se);else throw new Error(Ie)},setInput:function(je,Ie){return this.yy=Ie||this.yy||{},this._input=je,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var je=this._input[0];this.yytext+=je,this.yyleng++,this.offset++,this.match+=je,this.matched+=je;var Ie=je.match(/(?:\r\n?|\n).*/g);return Ie?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),je},unput:function(je){var Ie=je.length,Se=je.split(/(?:\r\n?|\n)/g);this._input=je+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Ie),this.offset-=Ie;var Ce=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),Se.length-1&&(this.yylineno-=Se.length-1);var ke=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:Se?(Se.length===Ce.length?this.yylloc.first_column:0)+Ce[Ce.length-Se.length].length-Se[0].length:this.yylloc.first_column-Ie},this.options.ranges&&(this.yylloc.range=[ke[0],ke[0]+this.yyleng-Ie]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(je){this.unput(this.match.slice(je))},pastInput:function(){var je=this.matched.substr(0,this.matched.length-this.match.length);return(je.length>20?"...":"")+je.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var je=this.match;return je.length<20&&(je+=this._input.substr(0,20-je.length)),(je.substr(0,20)+(je.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var je=this.pastInput(),Ie=new Array(je.length+1).join("-");return je+this.upcomingInput()+` -`+Ie+"^"},test_match:function(je,Ie){var Se,Ce,ke;if(this.options.backtrack_lexer&&(ke={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(ke.yylloc.range=this.yylloc.range.slice(0))),Ce=je[0].match(/(?:\r\n?|\n).*/g),Ce&&(this.yylineno+=Ce.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Ce?Ce[Ce.length-1].length-Ce[Ce.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+je[0].length},this.yytext+=je[0],this.match+=je[0],this.matches=je,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(je[0].length),this.matched+=je[0],Se=this.performAction.call(this,this.yy,this,Ie,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Se)return Se;if(this._backtrack){for(var Ke in ke)this[Ke]=ke[Ke];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var je,Ie,Se,Ce;this._more||(this.yytext="",this.match="");for(var ke=this._currentRules(),Ke=0;KeIe[0].length)){if(Ie=Se,Ce=Ke,this.options.backtrack_lexer){if(je=this.test_match(Se,ke[Ke]),je!==!1)return je;if(this._backtrack){Ie=!1;continue}else return!1}else if(!this.options.flex)break}return Ie?(je=this.test_match(Ie,ke[Ce]),je!==!1?je:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var Ie=this.next();return Ie||this.lex()},begin:function(Ie){this.conditionStack.push(Ie)},popState:function(){var Ie=this.conditionStack.length-1;return Ie>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Ie){return Ie=this.conditionStack.length-1-Math.abs(Ie||0),Ie>=0?this.conditionStack[Ie]:"INITIAL"},pushState:function(Ie){this.begin(Ie)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Ie,Se,Ce,ke){switch(Ce){case 0:break;case 1:break;case 2:return this.popState(),34;case 3:return this.popState(),34;case 4:return 34;case 5:break;case 6:return 10;case 7:return this.pushState("acc_title"),19;case 8:return this.popState(),"acc_title_value";case 9:return this.pushState("acc_descr"),21;case 10:return this.popState(),"acc_descr_value";case 11:this.pushState("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 8;case 16:return this.pushState("axis_data"),"X_AXIS";case 17:return this.pushState("axis_data"),"Y_AXIS";case 18:return this.pushState("axis_band_data"),24;case 19:return 31;case 20:return this.pushState("data"),16;case 21:return this.pushState("data"),18;case 22:return this.pushState("data_inner"),24;case 23:return 27;case 24:return this.popState(),26;case 25:this.popState();break;case 26:this.pushState("string");break;case 27:this.popState();break;case 28:return"STR";case 29:return 24;case 30:return 26;case 31:return 43;case 32:return"COLON";case 33:return 44;case 34:return 28;case 35:return 45;case 36:return 46;case 37:return 48;case 38:return 50;case 39:return 47;case 40:return 41;case 41:return 49;case 42:return 42;case 43:break;case 44:return 35;case 45:return 36}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\{)/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,20,21,22,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,23,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[27,28],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0}}};return Pe}();xe.lexer=U;function Be(){this.yy={}}return Be.prototype=xe,xe.Parser=Be,new Be}();Dve.parser=Dve;const orn=Dve;function zGe(i){return i.type==="bar"}function qGe(i){return i.type==="band"}function WR(i){return i.type==="linear"}class HGe{constructor(a){this.parentGroup=a}getMaxDimension(a,u){if(!this.parentGroup)return{width:a.reduce((v,b)=>Math.max(b.length,v),0)*u,height:u};const d={width:0,height:0},p=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",u);for(const v of a){const b=sen(p,1,v),y=b?b.width:v.length*u,E=b?b.height:u;d.width=Math.max(d.width,y),d.height=Math.max(d.height,E)}return p.remove(),d}}const UGe=.7,VGe=.2;class GGe{constructor(a,u,d,p){this.axisConfig=a,this.title=u,this.textDimensionCalculator=d,this.axisThemeConfig=p,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left"}setRange(a){this.range=a,this.axisPosition==="left"||this.axisPosition==="right"?this.boundingRect.height=a[1]-a[0]:this.boundingRect.width=a[1]-a[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(a){this.axisPosition=a,this.setRange(this.range)}getTickDistance(){const a=this.getRange();return Math.abs(a[0]-a[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(a=>a.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){UGe*this.getTickDistance()>this.outerPadding*2&&(this.outerPadding=Math.floor(UGe*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(a){let u=a.height;if(this.axisConfig.showAxisLine&&u>this.axisConfig.axisLineWidth&&(u-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const d=this.getLabelDimension(),p=VGe*a.width;this.outerPadding=Math.min(d.width/2,p);const v=d.height+this.axisConfig.labelPadding*2;this.labelTextHeight=d.height,v<=u&&(u-=v,this.showLabel=!0)}if(this.axisConfig.showTick&&u>=this.axisConfig.tickLength&&(this.showTick=!0,u-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const d=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),p=d.height+this.axisConfig.titlePadding*2;this.titleTextHeight=d.height,p<=u&&(u-=p,this.showTitle=!0)}this.boundingRect.width=a.width,this.boundingRect.height=a.height-u}calculateSpaceIfDrawnVertical(a){let u=a.width;if(this.axisConfig.showAxisLine&&u>this.axisConfig.axisLineWidth&&(u-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const d=this.getLabelDimension(),p=VGe*a.height;this.outerPadding=Math.min(d.height/2,p);const v=d.width+this.axisConfig.labelPadding*2;v<=u&&(u-=v,this.showLabel=!0)}if(this.axisConfig.showTick&&u>=this.axisConfig.tickLength&&(this.showTick=!0,u-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const d=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),p=d.height+this.axisConfig.titlePadding*2;this.titleTextHeight=d.height,p<=u&&(u-=p,this.showTitle=!0)}this.boundingRect.width=a.width-u,this.boundingRect.height=a.height}calculateSpace(a){return this.axisPosition==="left"||this.axisPosition==="right"?this.calculateSpaceIfDrawnVertical(a):this.calculateSpaceIfDrawnHorizontally(a),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(a){this.boundingRect.x=a.x,this.boundingRect.y=a.y}getDrawableElementsForLeftAxis(){const a=[];if(this.showAxisLine){const u=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;a.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${u},${this.boundingRect.y} L ${u},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&a.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map(u=>({text:u.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(u),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))}),this.showTick){const u=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);a.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map(d=>({path:`M ${u},${this.getScaleValue(d)} L ${u-this.axisConfig.tickLength},${this.getScaleValue(d)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&a.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),a}getDrawableElementsForBottomAxis(){const a=[];if(this.showAxisLine){const u=this.boundingRect.y+this.axisConfig.axisLineWidth/2;a.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${u} L ${this.boundingRect.x+this.boundingRect.width},${u}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&a.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map(u=>({text:u.toString(),x:this.getScaleValue(u),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){const u=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);a.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map(d=>({path:`M ${this.getScaleValue(d)},${u} L ${this.getScaleValue(d)},${u+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&a.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),a}getDrawableElementsForTopAxis(){const a=[];if(this.showAxisLine){const u=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;a.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${u} L ${this.boundingRect.x+this.boundingRect.width},${u}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&a.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map(u=>({text:u.toString(),x:this.getScaleValue(u),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+this.axisConfig.titlePadding*2:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){const u=this.boundingRect.y;a.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map(d=>({path:`M ${this.getScaleValue(d)},${u+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(d)},${u+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&a.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),a}getDrawableElements(){if(this.axisPosition==="left")return this.getDrawableElementsForLeftAxis();if(this.axisPosition==="right")throw Error("Drawing of right axis is not implemented");return this.axisPosition==="bottom"?this.getDrawableElementsForBottomAxis():this.axisPosition==="top"?this.getDrawableElementsForTopAxis():[]}}class crn extends GGe{constructor(a,u,d,p,v){super(a,p,v,u),this.categories=d,this.scale=n2e().domain(this.categories).range(this.getRange())}setRange(a){super.setRange(a)}recalculateScale(){this.scale=n2e().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),Xe.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(a){return this.scale(a)||this.getRange()[0]}}class urn extends GGe{constructor(a,u,d,p,v){super(a,p,v,u),this.domain=d,this.scale=aD().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){const a=[...this.domain];this.axisPosition==="left"&&a.reverse(),this.scale=aD().domain(a).range(this.getRange())}getScaleValue(a){return this.scale(a)}}function KGe(i,a,u,d){const p=new HGe(d);return qGe(i)?new crn(a,u,i.categories,i.title,p):new urn(a,u,[i.min,i.max],i.title,p)}class lrn{constructor(a,u,d,p){this.textDimensionCalculator=a,this.chartConfig=u,this.chartData=d,this.chartThemeConfig=p,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}setBoundingBoxXY(a){this.boundingRect.x=a.x,this.boundingRect.y=a.y}calculateSpace(a){const u=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),d=Math.max(u.width,a.width),p=u.height+2*this.chartConfig.titlePadding;return u.width<=d&&u.height<=p&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=d,this.boundingRect.height=p,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){const a=[];return this.showChartTitle&&a.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),a}}function hrn(i,a,u,d){const p=new HGe(d);return new lrn(p,i,a,u)}class frn{constructor(a,u,d,p,v){this.plotData=a,this.xAxis=u,this.yAxis=d,this.orientation=p,this.plotIndex=v}getDrawableElement(){const a=this.plotData.data.map(d=>[this.xAxis.getScaleValue(d[0]),this.yAxis.getScaleValue(d[1])]);let u;return this.orientation==="horizontal"?u=E7().y(d=>d[0]).x(d=>d[1])(a):u=E7().x(d=>d[0]).y(d=>d[1])(a),u?[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:u,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}]:[]}}class drn{constructor(a,u,d,p,v,b){this.barData=a,this.boundingRect=u,this.xAxis=d,this.yAxis=p,this.orientation=v,this.plotIndex=b}getDrawableElement(){const a=this.barData.data.map(v=>[this.xAxis.getScaleValue(v[0]),this.yAxis.getScaleValue(v[1])]),u=.05,d=Math.min(this.xAxis.getAxisOuterPadding()*2,this.xAxis.getTickDistance())*(1-u),p=d/2;return this.orientation==="horizontal"?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:a.map(v=>({x:this.boundingRect.x,y:v[0]-p,height:d,width:v[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:a.map(v=>({x:v[0]-p,y:v[1],width:d,height:this.boundingRect.y+this.boundingRect.height-v[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}}class grn{constructor(a,u,d){this.chartConfig=a,this.chartData=u,this.chartThemeConfig=d,this.boundingRect={x:0,y:0,width:0,height:0}}setAxes(a,u){this.xAxis=a,this.yAxis=u}setBoundingBoxXY(a){this.boundingRect.x=a.x,this.boundingRect.y=a.y}calculateSpace(a){return this.boundingRect.width=a.width,this.boundingRect.height=a.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error("Axes must be passed to render Plots");const a=[];for(const[u,d]of this.chartData.plots.entries())switch(d.type){case"line":{const p=new frn(d,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,u);a.push(...p.getDrawableElement())}break;case"bar":{const p=new drn(d,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,u);a.push(...p.getDrawableElement())}break}return a}}function prn(i,a,u){return new grn(i,a,u)}class brn{constructor(a,u,d,p){this.chartConfig=a,this.chartData=u,this.componentStore={title:hrn(a,u,d,p),plot:prn(a,u,d),xAxis:KGe(u.xAxis,a.xAxis,{titleColor:d.xAxisTitleColor,labelColor:d.xAxisLabelColor,tickColor:d.xAxisTickColor,axisLineColor:d.xAxisLineColor},p),yAxis:KGe(u.yAxis,a.yAxis,{titleColor:d.yAxisTitleColor,labelColor:d.yAxisLabelColor,tickColor:d.yAxisTickColor,axisLineColor:d.yAxisLineColor},p)}}calculateVerticalSpace(){let a=this.chartConfig.width,u=this.chartConfig.height,d=0,p=0,v=Math.floor(a*this.chartConfig.plotReservedSpacePercent/100),b=Math.floor(u*this.chartConfig.plotReservedSpacePercent/100),y=this.componentStore.plot.calculateSpace({width:v,height:b});a-=y.width,u-=y.height,y=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:u}),p=y.height,u-=y.height,this.componentStore.xAxis.setAxisPosition("bottom"),y=this.componentStore.xAxis.calculateSpace({width:a,height:u}),u-=y.height,this.componentStore.yAxis.setAxisPosition("left"),y=this.componentStore.yAxis.calculateSpace({width:a,height:u}),d=y.width,a-=y.width,a>0&&(v+=a,a=0),u>0&&(b+=u,u=0),this.componentStore.plot.calculateSpace({width:v,height:b}),this.componentStore.plot.setBoundingBoxXY({x:d,y:p}),this.componentStore.xAxis.setRange([d,d+v]),this.componentStore.xAxis.setBoundingBoxXY({x:d,y:p+b}),this.componentStore.yAxis.setRange([p,p+b]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:p}),this.chartData.plots.some(E=>zGe(E))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let a=this.chartConfig.width,u=this.chartConfig.height,d=0,p=0,v=0,b=Math.floor(a*this.chartConfig.plotReservedSpacePercent/100),y=Math.floor(u*this.chartConfig.plotReservedSpacePercent/100),E=this.componentStore.plot.calculateSpace({width:b,height:y});a-=E.width,u-=E.height,E=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:u}),d=E.height,u-=E.height,this.componentStore.xAxis.setAxisPosition("left"),E=this.componentStore.xAxis.calculateSpace({width:a,height:u}),a-=E.width,p=E.width,this.componentStore.yAxis.setAxisPosition("top"),E=this.componentStore.yAxis.calculateSpace({width:a,height:u}),u-=E.height,v=d+E.height,a>0&&(b+=a,a=0),u>0&&(y+=u,u=0),this.componentStore.plot.calculateSpace({width:b,height:y}),this.componentStore.plot.setBoundingBoxXY({x:p,y:v}),this.componentStore.yAxis.setRange([p,p+b]),this.componentStore.yAxis.setBoundingBoxXY({x:p,y:d}),this.componentStore.xAxis.setRange([v,v+y]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:v}),this.chartData.plots.some(_=>zGe(_))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){this.chartConfig.chartOrientation==="horizontal"?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();const a=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(const u of Object.values(this.componentStore))a.push(...u.getDrawableElements());return a}}class mrn{static build(a,u,d,p){return new brn(a,u,d,p).getDrawableElement()}}let YR=0,WGe,XR=XGe(),QR=YGe(),el=QGe(),Ive=QR.plotColorPalette.split(",").map(i=>i.trim()),AJ=!1,Ove=!1;function YGe(){const i=S2e(),a=mh();return cR(i.xyChart,a.themeVariables.xyChart)}function XGe(){const i=mh();return cR(nh.xyChart,i.xyChart)}function QGe(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}function Nve(i){const a=mh();return bh(i.trim(),a)}function vrn(i){WGe=i}function wrn(i){i==="horizontal"?XR.chartOrientation="horizontal":XR.chartOrientation="vertical"}function yrn(i){el.xAxis.title=Nve(i.text)}function JGe(i,a){el.xAxis={type:"linear",title:el.xAxis.title,min:i,max:a},AJ=!0}function xrn(i){el.xAxis={type:"band",title:el.xAxis.title,categories:i.map(a=>Nve(a.text))},AJ=!0}function krn(i){el.yAxis.title=Nve(i.text)}function Trn(i,a){el.yAxis={type:"linear",title:el.yAxis.title,min:i,max:a},Ove=!0}function Ern(i){const a=Math.min(...i),u=Math.max(...i),d=WR(el.yAxis)?el.yAxis.min:1/0,p=WR(el.yAxis)?el.yAxis.max:-1/0;el.yAxis={type:"linear",title:el.yAxis.title,min:Math.min(d,a),max:Math.max(p,u)}}function ZGe(i){let a=[];if(i.length===0)return a;if(!AJ){const u=WR(el.xAxis)?el.xAxis.min:1/0,d=WR(el.xAxis)?el.xAxis.max:-1/0;JGe(Math.min(u,1),Math.max(d,i.length))}if(Ove||Ern(i),qGe(el.xAxis)&&(a=el.xAxis.categories.map((u,d)=>[u,i[d]])),WR(el.xAxis)){const u=el.xAxis.min,d=el.xAxis.max;if(i.length===1)a=[[`${u}`,i[0]]];else{const p=(d-u)/(i.length-1);a=i.map((v,b)=>[`${u+b*p}`,v])}}return a}function eKe(i){return Ive[i===0?0:i%Ive.length]}function Crn(i,a){const u=ZGe(a);el.plots.push({type:"line",strokeFill:eKe(YR),strokeWidth:2,data:u}),YR++}function Srn(i,a){const u=ZGe(a);el.plots.push({type:"bar",fill:eKe(YR),data:u}),YR++}function _rn(){if(el.plots.length===0)throw Error("No Plot to render, please provide a plot with some data");return el.title=Op(),mrn.build(XR,el,QR,WGe)}function Arn(){return QR}function Lrn(){return XR}const Mrn=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:orn,db:{getDrawableElem:_rn,clear:function(){Rg(),YR=0,XR=XGe(),el=QGe(),QR=YGe(),Ive=QR.plotColorPalette.split(",").map(i=>i.trim()),AJ=!1,Ove=!1},setAccTitle:jg,getAccTitle:Mp,setDiagramTitle:pm,getDiagramTitle:Op,getAccDescription:Ip,setAccDescription:Dp,setOrientation:wrn,setXAxisTitle:yrn,setXAxisRangeData:JGe,setXAxisBand:xrn,setYAxisTitle:krn,setYAxisRangeData:Trn,setLineData:Crn,setBarData:Srn,setTmpSVGG:vrn,getChartThemeConfig:Arn,getChartConfig:Lrn},renderer:{draw:(i,a,u,d)=>{const p=d.db,v=p.getChartThemeConfig(),b=p.getChartConfig();function y(ee){return ee==="top"?"text-before-edge":"middle"}function E(ee){return ee==="left"?"start":ee==="right"?"end":"middle"}function _(ee){return`translate(${ee.x}, ${ee.y}) rotate(${ee.rotation||0})`}Xe.debug(`Rendering xychart chart -`+i);const A=gR(a),P=A.append("g").attr("class","main"),R=P.append("rect").attr("width",b.width).attr("height",b.height).attr("class","background");Fg(A,b.height,b.width,!0),A.attr("viewBox",`0 0 ${b.width} ${b.height}`),R.attr("fill",v.backgroundColor),p.setTmpSVGG(A.append("g").attr("class","mermaid-tmp-group"));const B=p.getDrawableElem(),j={};function W(ee){let ie=P,oe="";for(const[be]of ee.entries()){let ge=P;be>0&&j[oe]&&(ge=j[oe]),oe+=ee[be],ie=j[oe],ie||(ie=j[oe]=ge.append("g").attr("class",ee[be]))}return ie}for(const ee of B){if(ee.data.length===0)continue;const ie=W(ee.groupTexts);switch(ee.type){case"rect":ie.selectAll("rect").data(ee.data).enter().append("rect").attr("x",oe=>oe.x).attr("y",oe=>oe.y).attr("width",oe=>oe.width).attr("height",oe=>oe.height).attr("fill",oe=>oe.fill).attr("stroke",oe=>oe.strokeFill).attr("stroke-width",oe=>oe.strokeWidth);break;case"text":ie.selectAll("text").data(ee.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",oe=>oe.fill).attr("font-size",oe=>oe.fontSize).attr("dominant-baseline",oe=>y(oe.verticalPos)).attr("text-anchor",oe=>E(oe.horizontalPos)).attr("transform",oe=>_(oe)).text(oe=>oe.text);break;case"path":ie.selectAll("path").data(ee.data).enter().append("path").attr("d",oe=>oe.path).attr("fill",oe=>oe.fill?oe.fill:"none").attr("stroke",oe=>oe.strokeFill).attr("stroke-width",oe=>oe.strokeWidth);break}}}}}},Symbol.toStringTag,{value:"Module"}));var Pve=function(){var i=function(Tt,Et,Wt,un){for(Wt=Wt||{},un=Tt.length;un--;Wt[Tt[un]]=Et);return Wt},a=[1,3],u=[1,4],d=[1,5],p=[1,6],v=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],b=[1,18],y=[2,7],E=[1,22],_=[1,23],A=[1,24],P=[1,25],R=[1,26],B=[1,27],j=[1,20],W=[1,28],ee=[1,29],ie=[62,63],oe=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],be=[1,47],ge=[1,48],ae=[1,49],ne=[1,50],se=[1,51],de=[1,52],X=[1,53],pe=[53,54],G=[1,64],xe=[1,60],U=[1,61],Be=[1,62],Pe=[1,63],je=[1,65],Ie=[1,69],Se=[1,70],Ce=[1,67],ke=[1,68],Ke=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],zt={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:function(Et,Wt,un,yt,Bt,Ze,Dt){var kt=Ze.length-1;switch(Bt){case 4:this.$=Ze[kt].trim(),yt.setAccTitle(this.$);break;case 5:case 6:this.$=Ze[kt].trim(),yt.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:yt.addRequirement(Ze[kt-3],Ze[kt-4]);break;case 14:yt.setNewReqId(Ze[kt-2]);break;case 15:yt.setNewReqText(Ze[kt-2]);break;case 16:yt.setNewReqRisk(Ze[kt-2]);break;case 17:yt.setNewReqVerifyMethod(Ze[kt-2]);break;case 20:this.$=yt.RequirementType.REQUIREMENT;break;case 21:this.$=yt.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=yt.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=yt.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=yt.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=yt.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=yt.RiskLevel.LOW_RISK;break;case 27:this.$=yt.RiskLevel.MED_RISK;break;case 28:this.$=yt.RiskLevel.HIGH_RISK;break;case 29:this.$=yt.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=yt.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=yt.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=yt.VerifyType.VERIFY_TEST;break;case 33:yt.addElement(Ze[kt-3]);break;case 34:yt.setNewElementType(Ze[kt-2]);break;case 35:yt.setNewElementDocRef(Ze[kt-2]);break;case 38:yt.addRelationship(Ze[kt-2],Ze[kt],Ze[kt-4]);break;case 39:yt.addRelationship(Ze[kt-2],Ze[kt-4],Ze[kt]);break;case 40:this.$=yt.Relationships.CONTAINS;break;case 41:this.$=yt.Relationships.COPIES;break;case 42:this.$=yt.Relationships.DERIVES;break;case 43:this.$=yt.Relationships.SATISFIES;break;case 44:this.$=yt.Relationships.VERIFIES;break;case 45:this.$=yt.Relationships.REFINES;break;case 46:this.$=yt.Relationships.TRACES;break}},table:[{3:1,4:2,6:a,9:u,11:d,13:p},{1:[3]},{3:8,4:2,5:[1,7],6:a,9:u,11:d,13:p},{5:[1,9]},{10:[1,10]},{12:[1,11]},i(v,[2,6]),{3:12,4:2,6:a,9:u,11:d,13:p},{1:[2,2]},{4:17,5:b,7:13,8:y,9:u,11:d,13:p,14:14,15:15,16:16,17:19,23:21,31:E,32:_,33:A,34:P,35:R,36:B,44:j,62:W,63:ee},i(v,[2,4]),i(v,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:b,7:31,8:y,9:u,11:d,13:p,14:14,15:15,16:16,17:19,23:21,31:E,32:_,33:A,34:P,35:R,36:B,44:j,62:W,63:ee},{4:17,5:b,7:32,8:y,9:u,11:d,13:p,14:14,15:15,16:16,17:19,23:21,31:E,32:_,33:A,34:P,35:R,36:B,44:j,62:W,63:ee},{4:17,5:b,7:33,8:y,9:u,11:d,13:p,14:14,15:15,16:16,17:19,23:21,31:E,32:_,33:A,34:P,35:R,36:B,44:j,62:W,63:ee},{4:17,5:b,7:34,8:y,9:u,11:d,13:p,14:14,15:15,16:16,17:19,23:21,31:E,32:_,33:A,34:P,35:R,36:B,44:j,62:W,63:ee},{4:17,5:b,7:35,8:y,9:u,11:d,13:p,14:14,15:15,16:16,17:19,23:21,31:E,32:_,33:A,34:P,35:R,36:B,44:j,62:W,63:ee},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},i(ie,[2,20]),i(ie,[2,21]),i(ie,[2,22]),i(ie,[2,23]),i(ie,[2,24]),i(ie,[2,25]),i(oe,[2,49]),i(oe,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:be,56:ge,57:ae,58:ne,59:se,60:de,61:X},{52:54,55:be,56:ge,57:ae,58:ne,59:se,60:de,61:X},{5:[1,55]},{5:[1,56]},{53:[1,57]},i(pe,[2,40]),i(pe,[2,41]),i(pe,[2,42]),i(pe,[2,43]),i(pe,[2,44]),i(pe,[2,45]),i(pe,[2,46]),{54:[1,58]},{5:G,20:59,21:xe,24:U,26:Be,28:Pe,30:je},{5:Ie,30:Se,46:66,47:Ce,49:ke},{23:71,62:W,63:ee},{23:72,62:W,63:ee},i(Ke,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:G,20:77,21:xe,24:U,26:Be,28:Pe,30:je},i(Ke,[2,19]),i(Ke,[2,33]),{22:[1,78]},{22:[1,79]},{5:Ie,30:Se,46:80,47:Ce,49:ke},i(Ke,[2,37]),i(Ke,[2,38]),i(Ke,[2,39]),{23:81,62:W,63:ee},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},i(Ke,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},i(Ke,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:G,20:106,21:xe,24:U,26:Be,28:Pe,30:je},{5:G,20:107,21:xe,24:U,26:Be,28:Pe,30:je},{5:G,20:108,21:xe,24:U,26:Be,28:Pe,30:je},{5:G,20:109,21:xe,24:U,26:Be,28:Pe,30:je},{5:Ie,30:Se,46:110,47:Ce,49:ke},{5:Ie,30:Se,46:111,47:Ce,49:ke},i(Ke,[2,14]),i(Ke,[2,15]),i(Ke,[2,16]),i(Ke,[2,17]),i(Ke,[2,34]),i(Ke,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:function(Et,Wt){if(Wt.recoverable)this.trace(Et);else{var un=new Error(Et);throw un.hash=Wt,un}},parse:function(Et){var Wt=this,un=[0],yt=[],Bt=[null],Ze=[],Dt=this.table,kt="",Nn=0,ht=0,qr=2,xt=1,Ri=Ze.slice.call(arguments,1),wi=Object.create(this.lexer),ia={yy:{}};for(var Hs in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Hs)&&(ia.yy[Hs]=this.yy[Hs]);wi.setInput(Et,ia.yy),ia.yy.lexer=wi,ia.yy.parser=this,typeof wi.yylloc>"u"&&(wi.yylloc={});var mo=wi.yylloc;Ze.push(mo);var Tr=wi.options&&wi.options.ranges;typeof ia.yy.parseError=="function"?this.parseError=ia.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function On(){var Us;return Us=yt.pop()||wi.lex()||xt,typeof Us!="number"&&(Us instanceof Array&&(yt=Us,Us=yt.pop()),Us=Wt.symbols_[Us]||Us),Us}for(var Rn,zn,Ct,gt,on={},dn,Ln,Io,Oo;;){if(zn=un[un.length-1],this.defaultActions[zn]?Ct=this.defaultActions[zn]:((Rn===null||typeof Rn>"u")&&(Rn=On()),Ct=Dt[zn]&&Dt[zn][Rn]),typeof Ct>"u"||!Ct.length||!Ct[0]){var No="";Oo=[];for(dn in Dt[zn])this.terminals_[dn]&&dn>qr&&Oo.push("'"+this.terminals_[dn]+"'");wi.showPosition?No="Parse error on line "+(Nn+1)+`: -`+wi.showPosition()+` -Expecting `+Oo.join(", ")+", got '"+(this.terminals_[Rn]||Rn)+"'":No="Parse error on line "+(Nn+1)+": Unexpected "+(Rn==xt?"end of input":"'"+(this.terminals_[Rn]||Rn)+"'"),this.parseError(No,{text:wi.match,token:this.terminals_[Rn]||Rn,line:wi.yylineno,loc:mo,expected:Oo})}if(Ct[0]instanceof Array&&Ct.length>1)throw new Error("Parse Error: multiple actions possible at state: "+zn+", token: "+Rn);switch(Ct[0]){case 1:un.push(Rn),Bt.push(wi.yytext),Ze.push(wi.yylloc),un.push(Ct[1]),Rn=null,ht=wi.yyleng,kt=wi.yytext,Nn=wi.yylineno,mo=wi.yylloc;break;case 2:if(Ln=this.productions_[Ct[1]][1],on.$=Bt[Bt.length-Ln],on._$={first_line:Ze[Ze.length-(Ln||1)].first_line,last_line:Ze[Ze.length-1].last_line,first_column:Ze[Ze.length-(Ln||1)].first_column,last_column:Ze[Ze.length-1].last_column},Tr&&(on._$.range=[Ze[Ze.length-(Ln||1)].range[0],Ze[Ze.length-1].range[1]]),gt=this.performAction.apply(on,[kt,ht,Nn,ia.yy,Ct[1],Bt,Ze].concat(Ri)),typeof gt<"u")return gt;Ln&&(un=un.slice(0,-1*Ln*2),Bt=Bt.slice(0,-1*Ln),Ze=Ze.slice(0,-1*Ln)),un.push(this.productions_[Ct[1]][0]),Bt.push(on.$),Ze.push(on._$),Io=Dt[un[un.length-2]][un[un.length-1]],un.push(Io);break;case 3:return!0}}return!0}},Ne=function(){var Tt={EOF:1,parseError:function(Wt,un){if(this.yy.parser)this.yy.parser.parseError(Wt,un);else throw new Error(Wt)},setInput:function(Et,Wt){return this.yy=Wt||this.yy||{},this._input=Et,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Et=this._input[0];this.yytext+=Et,this.yyleng++,this.offset++,this.match+=Et,this.matched+=Et;var Wt=Et.match(/(?:\r\n?|\n).*/g);return Wt?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Et},unput:function(Et){var Wt=Et.length,un=Et.split(/(?:\r\n?|\n)/g);this._input=Et+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Wt),this.offset-=Wt;var yt=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),un.length-1&&(this.yylineno-=un.length-1);var Bt=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:un?(un.length===yt.length?this.yylloc.first_column:0)+yt[yt.length-un.length].length-un[0].length:this.yylloc.first_column-Wt},this.options.ranges&&(this.yylloc.range=[Bt[0],Bt[0]+this.yyleng-Wt]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(Et){this.unput(this.match.slice(Et))},pastInput:function(){var Et=this.matched.substr(0,this.matched.length-this.match.length);return(Et.length>20?"...":"")+Et.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Et=this.match;return Et.length<20&&(Et+=this._input.substr(0,20-Et.length)),(Et.substr(0,20)+(Et.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Et=this.pastInput(),Wt=new Array(Et.length+1).join("-");return Et+this.upcomingInput()+` -`+Wt+"^"},test_match:function(Et,Wt){var un,yt,Bt;if(this.options.backtrack_lexer&&(Bt={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Bt.yylloc.range=this.yylloc.range.slice(0))),yt=Et[0].match(/(?:\r\n?|\n).*/g),yt&&(this.yylineno+=yt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:yt?yt[yt.length-1].length-yt[yt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Et[0].length},this.yytext+=Et[0],this.match+=Et[0],this.matches=Et,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Et[0].length),this.matched+=Et[0],un=this.performAction.call(this,this.yy,this,Wt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),un)return un;if(this._backtrack){for(var Ze in Bt)this[Ze]=Bt[Ze];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Et,Wt,un,yt;this._more||(this.yytext="",this.match="");for(var Bt=this._currentRules(),Ze=0;ZeWt[0].length)){if(Wt=un,yt=Ze,this.options.backtrack_lexer){if(Et=this.test_match(un,Bt[Ze]),Et!==!1)return Et;if(this._backtrack){Wt=!1;continue}else return!1}else if(!this.options.flex)break}return Wt?(Et=this.test_match(Wt,Bt[yt]),Et!==!1?Et:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var Wt=this.next();return Wt||this.lex()},begin:function(Wt){this.conditionStack.push(Wt)},popState:function(){var Wt=this.conditionStack.length-1;return Wt>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Wt){return Wt=this.conditionStack.length-1-Math.abs(Wt||0),Wt>=0?this.conditionStack[Wt]:"INITIAL"},pushState:function(Wt){this.begin(Wt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Wt,un,yt,Bt){switch(yt){case 0:return"title";case 1:return this.begin("acc_title"),9;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),11;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 5;case 9:break;case 10:break;case 11:break;case 12:return 8;case 13:return 6;case 14:return 19;case 15:return 30;case 16:return 22;case 17:return 21;case 18:return 24;case 19:return 26;case 20:return 28;case 21:return 31;case 22:return 32;case 23:return 33;case 24:return 34;case 25:return 35;case 26:return 36;case 27:return 37;case 28:return 38;case 29:return 39;case 30:return 40;case 31:return 41;case 32:return 42;case 33:return 43;case 34:return 44;case 35:return 55;case 36:return 56;case 37:return 57;case 38:return 58;case 39:return 59;case 40:return 60;case 41:return 61;case 42:return 47;case 43:return 49;case 44:return 51;case 45:return 54;case 46:return 53;case 47:this.begin("string");break;case 48:this.popState();break;case 49:return"qString";case 50:return un.yytext=un.yytext.trim(),62}},rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[48,49],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,50],inclusive:!0}}};return Tt}();zt.lexer=Ne;function pn(){this.yy={}}return pn.prototype=zt,zt.Parser=pn,new pn}();Pve.parser=Pve;const Drn=Pve;let Bve=[],Z2={},JR={},j9={},ZR={};const Irn={RequirementType:{REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},RiskLevel:{LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},VerifyType:{VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},Relationships:{CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},getConfig:()=>qt().req,addRequirement:(i,a)=>(JR[i]===void 0&&(JR[i]={name:i,type:a,id:Z2.id,text:Z2.text,risk:Z2.risk,verifyMethod:Z2.verifyMethod}),Z2={},JR[i]),getRequirements:()=>JR,setNewReqId:i=>{Z2!==void 0&&(Z2.id=i)},setNewReqText:i=>{Z2!==void 0&&(Z2.text=i)},setNewReqRisk:i=>{Z2!==void 0&&(Z2.risk=i)},setNewReqVerifyMethod:i=>{Z2!==void 0&&(Z2.verifyMethod=i)},setAccTitle:jg,getAccTitle:Mp,setAccDescription:Dp,getAccDescription:Ip,addElement:i=>(ZR[i]===void 0&&(ZR[i]={name:i,type:j9.type,docRef:j9.docRef},Xe.info("Added new requirement: ",i)),j9={},ZR[i]),getElements:()=>ZR,setNewElementType:i=>{j9!==void 0&&(j9.type=i)},setNewElementDocRef:i=>{j9!==void 0&&(j9.docRef=i)},addRelationship:(i,a,u)=>{Bve.push({type:i,src:a,dst:u})},getRelationships:()=>Bve,clear:()=>{Bve=[],Z2={},JR={},j9={},ZR={},Rg()}},Orn=i=>` + fill: ${t.pieLegendTextColor}; + font-family: ${t.fontFamily}; + font-size: ${t.pieLegendTextSize}; + } +`,"getStyles"),nBr=sci});var oci,lci,aBr,sBr=ie(()=>{"use strict";Yo();ma();Xn();y1();Gh();Ia();oci=i(t=>{let r=[...t.values()].reduce((l,h)=>l+h,0),a=[...t.entries()].map(([l,h])=>({label:l,value:h})).filter(l=>l.value/r*100>=1);return xve().value(l=>l.value).sort(null)(a)},"createPieArcs"),lci=i((t,r,a,o)=>{Pe.debug(`rendering pie chart +`+t);let l=o.db,h=Zt(),f=nl(l.getConfig(),h.pie),p=40,m=18,b=4,v=450,T=v,C=fu(r),E=C.append("g");E.attr("transform","translate("+T/2+","+v/2+")");let{themeVariables:S}=h,[R]=Tb(S.pieOuterStrokeWidth);R??=2;let L=f.legendPosition,_=f.textPosition,M=f.donutHole>0&&f.donutHole<=.9?f.donutHole:0,I=Math.min(T,v)/2-p,F=f4().innerRadius(M*I).outerRadius(I),O=f4().innerRadius(I*_).outerRadius(I*_),P=E.append("g");P.append("circle").attr("cx",0).attr("cy",0).attr("r",I+R/2).attr("class","pieOuterCircle");let G=l.getSections(),V=oci(G),Y=[S.pie1,S.pie2,S.pie3,S.pie4,S.pie5,S.pie6,S.pie7,S.pie8,S.pie9,S.pie10,S.pie11,S.pie12],K=0;G.forEach(Ce=>{K+=Ce});let J=V.filter(Ce=>(Ce.data.value/K*100).toFixed(0)!=="0"),H=Bw(Y).domain([...G.keys()]);P.selectAll("mySlices").data(J).enter().append("path").attr("d",F).attr("fill",Ce=>H(Ce.data.label)).attr("class",Ce=>{let Ve="pieCircle";return f.highlightSlice==="hover"?Ve+=" highlightedOnHover":f.highlightSlice===Ce.data.label&&(Ve+=" highlighted"),Ve}),P.selectAll("mySlices").data(J).enter().append("text").text(Ce=>(Ce.data.value/K*100).toFixed(0)+"%").attr("transform",Ce=>"translate("+O.centroid(Ce)+")").style("text-anchor","middle").attr("class","slice");let q=E.append("text").text(l.getDiagramTitle()).attr("x",0).attr("y",-(v-50)/2).attr("class","pieTitleText"),Z=[...G.entries()].map(([Ce,Ve])=>({label:Ce,value:Ve})),Q=E.selectAll(".legend").data(Z).enter().append("g").attr("class","legend");Q.append("rect").attr("width",m).attr("height",m).style("fill",Ce=>H(Ce.label)).style("stroke",Ce=>H(Ce.label)),Q.append("text").attr("x",m+b).attr("y",m-b).text(Ce=>l.getShowData()?`${Ce.label} [${Ce.value}]`:Ce.label);let W=Math.max(...Q.selectAll("text").nodes().map(Ce=>Ce?.getBoundingClientRect().width??0)),te=v,z=T+p,re=m+b,ae=Z.length*re;switch(L){case"center":Q.attr("transform",(Ce,Ve)=>{let De=re*Z.length/2,qe=-W/2-(m+b),Ue=Ve*re-De;return"translate("+qe+","+Ue+")"});break;case"top":te+=ae,Q.attr("transform",(Ce,Ve)=>{let De=I,qe=-W/2-(m+b),Ue=Ve*re-De;return`translate(${qe}, ${Ue})`}),P.attr("transform",()=>`translate(0, ${ae+re})`);break;case"bottom":te+=ae,Q.attr("transform",(Ce,Ve)=>{let De=-I-re,qe=-W/2-(m+b),Ue=Ve*re-De;return"translate("+qe+","+Ue+")"});break;case"left":z+=m+b+W,Q.attr("transform",(Ce,Ve)=>{let De=re*Z.length/2,qe=-I-(m+b),Ue=Ve*re-De;return"translate("+qe+","+Ue+")"}),P.attr("transform",()=>`translate(${W+m+b}, 0)`);break;case"right":default:z+=m+b+W,Q.attr("transform",(Ce,Ve)=>{let De=re*Z.length/2,qe=12*m,Ue=Ve*re-De;return"translate("+qe+","+Ue+")"});break}let ce=q.node()?.getBoundingClientRect().width??0,le=T/2-ce/2,de=T/2+ce/2,ve=Math.min(0,le),_e=Math.max(z,de)-ve;C.attr("viewBox",`${ve} 0 ${_e} ${te}`),vl(C,te,_e,f.useMaxWidth)},"draw"),aBr={draw:lci}});var oBr={};cs(oBr,{diagram:()=>cci});var cci,lBr=ie(()=>{"use strict";rBr();rct();iBr();sBr();cci={parser:tBr,db:u4e,renderer:aBr,styles:nBr}});var nct,uBr,hBr=ie(()=>{"use strict";nct=(function(){var t=i(function(Ee,ye,be,ht){for(be=be||{},ht=Ee.length;ht--;be[Ee[ht]]=ye);return be},"o"),r=[1,3],a=[1,4],o=[1,5],l=[1,6],h=[1,7],f=[1,4,5,10,12,13,14,15,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],p=[1,4,5,10,12,13,14,15,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],m=[55,56,57],b=[2,36],v=[1,37],T=[1,36],C=[1,38],E=[1,35],S=[1,43],R=[1,41],L=[1,45],_=[1,14],M=[1,23],I=[1,18],F=[1,19],O=[1,20],P=[1,21],G=[1,22],V=[1,24],Y=[1,25],K=[1,26],J=[1,27],H=[1,28],q=[1,29],Z=[1,32],Q=[1,33],W=[1,34],te=[1,39],z=[1,40],re=[1,42],ae=[1,44],ce=[1,63],le=[1,62],de=[4,5,8,10,12,13,14,15,18,44,47,49,55,56,57,63,64,65,66,67],ve=[1,66],Se=[1,67],_e=[1,68],Ce=[1,69],Ve=[1,70],De=[1,71],qe=[1,72],Ue=[1,73],We=[1,74],mt=[1,75],ct=[1,76],Ot=[1,77],yr=[4,5,6,7,8,9,10,11,12,13,14,15,18],tr=[1,91],Xe=[1,92],Rt=[1,93],ft=[1,100],bt=[1,94],Me=[1,97],Fe=[1,95],je=[1,96],He=[1,98],nt=[1,99],ze=[1,103],se=[10,55,56,57],ke=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],Le={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:i(function(ye,be,ht,Je,it,lt,Vt){var $t=lt.length-1;switch(it){case 23:this.$=lt[$t];break;case 24:this.$=lt[$t-1]+""+lt[$t];break;case 26:this.$=lt[$t-1]+lt[$t];break;case 27:this.$=[lt[$t].trim()];break;case 28:lt[$t-2].push(lt[$t].trim()),this.$=lt[$t-2];break;case 29:this.$=lt[$t-4],Je.addClass(lt[$t-2],lt[$t]);break;case 37:this.$=[];break;case 42:this.$=lt[$t].trim(),Je.setDiagramTitle(this.$);break;case 43:this.$=lt[$t].trim(),Je.setAccTitle(this.$);break;case 44:case 45:this.$=lt[$t].trim(),Je.setAccDescription(this.$);break;case 46:Je.addSection(lt[$t].substr(8)),this.$=lt[$t].substr(8);break;case 47:Je.addPoint(lt[$t-3],"",lt[$t-1],lt[$t],[]);break;case 48:Je.addPoint(lt[$t-4],lt[$t-3],lt[$t-1],lt[$t],[]);break;case 49:Je.addPoint(lt[$t-4],"",lt[$t-2],lt[$t-1],lt[$t]);break;case 50:Je.addPoint(lt[$t-5],lt[$t-4],lt[$t-2],lt[$t-1],lt[$t]);break;case 51:Je.setXAxisLeftText(lt[$t-2]),Je.setXAxisRightText(lt[$t]);break;case 52:lt[$t-1].text+=" \u27F6 ",Je.setXAxisLeftText(lt[$t-1]);break;case 53:Je.setXAxisLeftText(lt[$t]);break;case 54:Je.setYAxisBottomText(lt[$t-2]),Je.setYAxisTopText(lt[$t]);break;case 55:lt[$t-1].text+=" \u27F6 ",Je.setYAxisBottomText(lt[$t-1]);break;case 56:Je.setYAxisBottomText(lt[$t]);break;case 57:Je.setQuadrant1Text(lt[$t]);break;case 58:Je.setQuadrant2Text(lt[$t]);break;case 59:Je.setQuadrant3Text(lt[$t]);break;case 60:Je.setQuadrant4Text(lt[$t]);break;case 64:this.$={text:lt[$t],type:"text"};break;case 65:this.$={text:lt[$t-1].text+""+lt[$t],type:lt[$t-1].type};break;case 66:this.$={text:lt[$t],type:"text"};break;case 67:this.$={text:lt[$t],type:"markdown"};break;case 68:this.$=lt[$t];break;case 69:this.$=lt[$t-1]+""+lt[$t];break}},"anonymous"),table:[{18:r,26:1,27:2,28:a,55:o,56:l,57:h},{1:[3]},{18:r,26:8,27:2,28:a,55:o,56:l,57:h},{18:r,26:9,27:2,28:a,55:o,56:l,57:h},t(f,[2,33],{29:10}),t(p,[2,61]),t(p,[2,62]),t(p,[2,63]),{1:[2,30]},{1:[2,31]},t(m,b,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:v,5:T,10:C,12:E,13:S,14:R,15:L,18:_,25:M,35:I,37:F,39:O,41:P,42:G,48:V,50:Y,51:K,52:J,53:H,54:q,60:Z,61:Q,63:W,64:te,65:z,66:re,67:ae}),t(f,[2,34]),{27:46,55:o,56:l,57:h},t(m,[2,37]),t(m,b,{24:13,32:15,33:16,34:17,43:30,58:31,31:47,4:v,5:T,10:C,12:E,13:S,14:R,15:L,18:_,25:M,35:I,37:F,39:O,41:P,42:G,48:V,50:Y,51:K,52:J,53:H,54:q,60:Z,61:Q,63:W,64:te,65:z,66:re,67:ae}),t(m,[2,39]),t(m,[2,40]),t(m,[2,41]),{36:[1,48]},{38:[1,49]},{40:[1,50]},t(m,[2,45]),t(m,[2,46]),{18:[1,51]},{4:v,5:T,10:C,12:E,13:S,14:R,15:L,43:52,58:31,60:Z,61:Q,63:W,64:te,65:z,66:re,67:ae},{4:v,5:T,10:C,12:E,13:S,14:R,15:L,43:53,58:31,60:Z,61:Q,63:W,64:te,65:z,66:re,67:ae},{4:v,5:T,10:C,12:E,13:S,14:R,15:L,43:54,58:31,60:Z,61:Q,63:W,64:te,65:z,66:re,67:ae},{4:v,5:T,10:C,12:E,13:S,14:R,15:L,43:55,58:31,60:Z,61:Q,63:W,64:te,65:z,66:re,67:ae},{4:v,5:T,10:C,12:E,13:S,14:R,15:L,43:56,58:31,60:Z,61:Q,63:W,64:te,65:z,66:re,67:ae},{4:v,5:T,10:C,12:E,13:S,14:R,15:L,43:57,58:31,60:Z,61:Q,63:W,64:te,65:z,66:re,67:ae},{4:v,5:T,8:ce,10:C,12:E,13:S,14:R,15:L,18:le,44:[1,58],47:[1,59],58:61,59:60,63:W,64:te,65:z,66:re,67:ae},t(de,[2,64]),t(de,[2,66]),t(de,[2,67]),t(de,[2,70]),t(de,[2,71]),t(de,[2,72]),t(de,[2,73]),t(de,[2,74]),t(de,[2,75]),t(de,[2,76]),t(de,[2,77]),t(de,[2,78]),t(de,[2,79]),t(de,[2,80]),t(de,[2,81]),t(f,[2,35]),t(m,[2,38]),t(m,[2,42]),t(m,[2,43]),t(m,[2,44]),{3:65,4:ve,5:Se,6:_e,7:Ce,8:Ve,9:De,10:qe,11:Ue,12:We,13:mt,14:ct,15:Ot,21:64},t(m,[2,53],{59:60,58:61,4:v,5:T,8:ce,10:C,12:E,13:S,14:R,15:L,18:le,49:[1,78],63:W,64:te,65:z,66:re,67:ae}),t(m,[2,56],{59:60,58:61,4:v,5:T,8:ce,10:C,12:E,13:S,14:R,15:L,18:le,49:[1,79],63:W,64:te,65:z,66:re,67:ae}),t(m,[2,57],{59:60,58:61,4:v,5:T,8:ce,10:C,12:E,13:S,14:R,15:L,18:le,63:W,64:te,65:z,66:re,67:ae}),t(m,[2,58],{59:60,58:61,4:v,5:T,8:ce,10:C,12:E,13:S,14:R,15:L,18:le,63:W,64:te,65:z,66:re,67:ae}),t(m,[2,59],{59:60,58:61,4:v,5:T,8:ce,10:C,12:E,13:S,14:R,15:L,18:le,63:W,64:te,65:z,66:re,67:ae}),t(m,[2,60],{59:60,58:61,4:v,5:T,8:ce,10:C,12:E,13:S,14:R,15:L,18:le,63:W,64:te,65:z,66:re,67:ae}),{45:[1,80]},{44:[1,81]},t(de,[2,65]),t(de,[2,82]),t(de,[2,83]),t(de,[2,84]),{3:83,4:ve,5:Se,6:_e,7:Ce,8:Ve,9:De,10:qe,11:Ue,12:We,13:mt,14:ct,15:Ot,18:[1,82]},t(yr,[2,23]),t(yr,[2,1]),t(yr,[2,2]),t(yr,[2,3]),t(yr,[2,4]),t(yr,[2,5]),t(yr,[2,6]),t(yr,[2,7]),t(yr,[2,8]),t(yr,[2,9]),t(yr,[2,10]),t(yr,[2,11]),t(yr,[2,12]),t(m,[2,52],{58:31,43:84,4:v,5:T,10:C,12:E,13:S,14:R,15:L,60:Z,61:Q,63:W,64:te,65:z,66:re,67:ae}),t(m,[2,55],{58:31,43:85,4:v,5:T,10:C,12:E,13:S,14:R,15:L,60:Z,61:Q,63:W,64:te,65:z,66:re,67:ae}),{46:[1,86]},{45:[1,87]},{4:tr,5:Xe,6:Rt,8:ft,11:bt,13:Me,16:90,17:Fe,18:je,19:He,20:nt,22:89,23:88},t(yr,[2,24]),t(m,[2,51],{59:60,58:61,4:v,5:T,8:ce,10:C,12:E,13:S,14:R,15:L,18:le,63:W,64:te,65:z,66:re,67:ae}),t(m,[2,54],{59:60,58:61,4:v,5:T,8:ce,10:C,12:E,13:S,14:R,15:L,18:le,63:W,64:te,65:z,66:re,67:ae}),t(m,[2,47],{22:89,16:90,23:101,4:tr,5:Xe,6:Rt,8:ft,11:bt,13:Me,17:Fe,18:je,19:He,20:nt}),{46:[1,102]},t(m,[2,29],{10:ze}),t(se,[2,27],{16:104,4:tr,5:Xe,6:Rt,8:ft,11:bt,13:Me,17:Fe,18:je,19:He,20:nt}),t(ke,[2,25]),t(ke,[2,13]),t(ke,[2,14]),t(ke,[2,15]),t(ke,[2,16]),t(ke,[2,17]),t(ke,[2,18]),t(ke,[2,19]),t(ke,[2,20]),t(ke,[2,21]),t(ke,[2,22]),t(m,[2,49],{10:ze}),t(m,[2,48],{22:89,16:90,23:105,4:tr,5:Xe,6:Rt,8:ft,11:bt,13:Me,17:Fe,18:je,19:He,20:nt}),{4:tr,5:Xe,6:Rt,8:ft,11:bt,13:Me,16:90,17:Fe,18:je,19:He,20:nt,22:106},t(ke,[2,26]),t(m,[2,50],{10:ze}),t(se,[2,28],{16:104,4:tr,5:Xe,6:Rt,8:ft,11:bt,13:Me,17:Fe,18:je,19:He,20:nt})],defaultActions:{8:[2,30],9:[2,31]},parseError:i(function(ye,be){if(be.recoverable)this.trace(ye);else{var ht=new Error(ye);throw ht.hash=be,ht}},"parseError"),parse:i(function(ye){var be=this,ht=[0],Je=[],it=[null],lt=[],Vt=this.table,$t="",gr=0,jt=0,qt=0,Wt=2,Ut=1,rn=lt.slice.call(arguments,1),pt=Object.create(this.lexer),$n={yy:{}};for(var Gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Gt)&&($n.yy[Gt]=this.yy[Gt]);pt.setInput(ye,$n.yy),$n.yy.lexer=pt,$n.yy.parser=this,typeof pt.yylloc>"u"&&(pt.yylloc={});var Rn=pt.yylloc;lt.push(Rn);var Qn=pt.options&&pt.options.ranges;typeof $n.yy.parseError=="function"?this.parseError=$n.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function En(Cn){ht.length=ht.length-2*Cn,it.length=it.length-Cn,lt.length=lt.length-Cn}i(En,"popStack");function di(){var Cn;return Cn=Je.pop()||pt.lex()||Ut,typeof Cn!="number"&&(Cn instanceof Array&&(Je=Cn,Cn=Je.pop()),Cn=be.symbols_[Cn]||Cn),Cn}i(di,"lex");for(var Bn,mi,Qr,Pi,qa,Ke,Tn={},Ln,dt,rr,Yr;;){if(Qr=ht[ht.length-1],this.defaultActions[Qr]?Pi=this.defaultActions[Qr]:((Bn===null||typeof Bn>"u")&&(Bn=di()),Pi=Vt[Qr]&&Vt[Qr][Bn]),typeof Pi>"u"||!Pi.length||!Pi[0]){var An="";Yr=[];for(Ln in Vt[Qr])this.terminals_[Ln]&&Ln>Wt&&Yr.push("'"+this.terminals_[Ln]+"'");pt.showPosition?An="Parse error on line "+(gr+1)+`: +`+pt.showPosition()+` +Expecting `+Yr.join(", ")+", got '"+(this.terminals_[Bn]||Bn)+"'":An="Parse error on line "+(gr+1)+": Unexpected "+(Bn==Ut?"end of input":"'"+(this.terminals_[Bn]||Bn)+"'"),this.parseError(An,{text:pt.match,token:this.terminals_[Bn]||Bn,line:pt.yylineno,loc:Rn,expected:Yr})}if(Pi[0]instanceof Array&&Pi.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Qr+", token: "+Bn);switch(Pi[0]){case 1:ht.push(Bn),it.push(pt.yytext),lt.push(pt.yylloc),ht.push(Pi[1]),Bn=null,mi?(Bn=mi,mi=null):(jt=pt.yyleng,$t=pt.yytext,gr=pt.yylineno,Rn=pt.yylloc,qt>0&&qt--);break;case 2:if(dt=this.productions_[Pi[1]][1],Tn.$=it[it.length-dt],Tn._$={first_line:lt[lt.length-(dt||1)].first_line,last_line:lt[lt.length-1].last_line,first_column:lt[lt.length-(dt||1)].first_column,last_column:lt[lt.length-1].last_column},Qn&&(Tn._$.range=[lt[lt.length-(dt||1)].range[0],lt[lt.length-1].range[1]]),Ke=this.performAction.apply(Tn,[$t,jt,gr,$n.yy,Pi[1],it,lt].concat(rn)),typeof Ke<"u")return Ke;dt&&(ht=ht.slice(0,-1*dt*2),it=it.slice(0,-1*dt),lt=lt.slice(0,-1*dt)),ht.push(this.productions_[Pi[1]][0]),it.push(Tn.$),lt.push(Tn._$),rr=Vt[ht[ht.length-2]][ht[ht.length-1]],ht.push(rr);break;case 3:return!0}}return!0},"parse")},he=(function(){var Ee={EOF:1,parseError:i(function(be,ht){if(this.yy.parser)this.yy.parser.parseError(be,ht);else throw new Error(be)},"parseError"),setInput:i(function(ye,be){return this.yy=be||this.yy||{},this._input=ye,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var ye=this._input[0];this.yytext+=ye,this.yyleng++,this.offset++,this.match+=ye,this.matched+=ye;var be=ye.match(/(?:\r\n?|\n).*/g);return be?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),ye},"input"),unput:i(function(ye){var be=ye.length,ht=ye.split(/(?:\r\n?|\n)/g);this._input=ye+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-be),this.offset-=be;var Je=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),ht.length-1&&(this.yylineno-=ht.length-1);var it=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:ht?(ht.length===Je.length?this.yylloc.first_column:0)+Je[Je.length-ht.length].length-ht[0].length:this.yylloc.first_column-be},this.options.ranges&&(this.yylloc.range=[it[0],it[0]+this.yyleng-be]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(ye){this.unput(this.match.slice(ye))},"less"),pastInput:i(function(){var ye=this.matched.substr(0,this.matched.length-this.match.length);return(ye.length>20?"...":"")+ye.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var ye=this.match;return ye.length<20&&(ye+=this._input.substr(0,20-ye.length)),(ye.substr(0,20)+(ye.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var ye=this.pastInput(),be=new Array(ye.length+1).join("-");return ye+this.upcomingInput()+` +`+be+"^"},"showPosition"),test_match:i(function(ye,be){var ht,Je,it;if(this.options.backtrack_lexer&&(it={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(it.yylloc.range=this.yylloc.range.slice(0))),Je=ye[0].match(/(?:\r\n?|\n).*/g),Je&&(this.yylineno+=Je.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Je?Je[Je.length-1].length-Je[Je.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+ye[0].length},this.yytext+=ye[0],this.match+=ye[0],this.matches=ye,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(ye[0].length),this.matched+=ye[0],ht=this.performAction.call(this,this.yy,this,be,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ht)return ht;if(this._backtrack){for(var lt in it)this[lt]=it[lt];return!1}return!1},"test_match"),next:i(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var ye,be,ht,Je;this._more||(this.yytext="",this.match="");for(var it=this._currentRules(),lt=0;ltbe[0].length)){if(be=ht,Je=lt,this.options.backtrack_lexer){if(ye=this.test_match(ht,it[lt]),ye!==!1)return ye;if(this._backtrack){be=!1;continue}else return!1}else if(!this.options.flex)break}return be?(ye=this.test_match(be,it[Je]),ye!==!1?ye:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:i(function(){var be=this.next();return be||this.lex()},"lex"),begin:i(function(be){this.conditionStack.push(be)},"begin"),popState:i(function(){var be=this.conditionStack.length-1;return be>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:i(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:i(function(be){return be=this.conditionStack.length-1-Math.abs(be||0),be>=0?this.conditionStack[be]:"INITIAL"},"topState"),pushState:i(function(be){this.begin(be)},"pushState"),stateStackSize:i(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:i(function(be,ht,Je,it){var lt=it;switch(Je){case 0:break;case 1:break;case 2:return 55;case 3:break;case 4:return this.begin("title"),35;break;case 5:return this.popState(),"title_value";break;case 6:return this.begin("acc_title"),37;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),39;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 48;case 14:return 50;case 15:return 49;case 16:return 51;case 17:return 52;case 18:return 53;case 19:return 54;case 20:return 25;case 21:this.begin("md_string");break;case 22:return"MD_STR";case 23:this.popState();break;case 24:this.begin("string");break;case 25:this.popState();break;case 26:return"STR";case 27:this.begin("class_name");break;case 28:return this.popState(),47;break;case 29:return this.begin("point_start"),44;break;case 30:return this.begin("point_x"),45;break;case 31:this.popState();break;case 32:this.popState(),this.begin("point_y");break;case 33:return this.popState(),46;break;case 34:return 28;case 35:return 4;case 36:return 15;case 37:return 11;case 38:return 64;case 39:return 10;case 40:return 65;case 41:return 65;case 42:return 14;case 43:return 13;case 44:return 67;case 45:return 66;case 46:return 12;case 47:return 8;case 48:return 5;case 49:return 18;case 50:return 56;case 51:return 63;case 52:return 57}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:classDef\b)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?::::)/i,/^(?:^\w+)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?:[^\x00-\x7F]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{class_name:{rules:[28],inclusive:!1},point_y:{rules:[33],inclusive:!1},point_x:{rules:[32],inclusive:!1},point_start:{rules:[30,31],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[22,23],inclusive:!1},string:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,21,24,27,29,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}};return Ee})();Le.lexer=he;function Ne(){this.yy={}}return i(Ne,"Parser"),Ne.prototype=Le,Le.Parser=Ne,new Ne})();nct.parser=nct;uBr=nct});var Ob,h4e,fBr=ie(()=>{"use strict";Yo();up();Xn();LE();Ob=om(),h4e=class{constructor(){this.classes=new Map;this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}static{i(this,"QuadrantBuilder")}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:hs.quadrantChart?.chartWidth||500,chartWidth:hs.quadrantChart?.chartHeight||500,titlePadding:hs.quadrantChart?.titlePadding||10,titleFontSize:hs.quadrantChart?.titleFontSize||20,quadrantPadding:hs.quadrantChart?.quadrantPadding||5,xAxisLabelPadding:hs.quadrantChart?.xAxisLabelPadding||5,yAxisLabelPadding:hs.quadrantChart?.yAxisLabelPadding||5,xAxisLabelFontSize:hs.quadrantChart?.xAxisLabelFontSize||16,yAxisLabelFontSize:hs.quadrantChart?.yAxisLabelFontSize||16,quadrantLabelFontSize:hs.quadrantChart?.quadrantLabelFontSize||16,quadrantTextTopPadding:hs.quadrantChart?.quadrantTextTopPadding||5,pointTextPadding:hs.quadrantChart?.pointTextPadding||5,pointLabelFontSize:hs.quadrantChart?.pointLabelFontSize||12,pointRadius:hs.quadrantChart?.pointRadius||5,xAxisPosition:hs.quadrantChart?.xAxisPosition||"top",yAxisPosition:hs.quadrantChart?.yAxisPosition||"left",quadrantInternalBorderStrokeWidth:hs.quadrantChart?.quadrantInternalBorderStrokeWidth||1,quadrantExternalBorderStrokeWidth:hs.quadrantChart?.quadrantExternalBorderStrokeWidth||2}}getDefaultThemeConfig(){return{quadrant1Fill:Ob.quadrant1Fill,quadrant2Fill:Ob.quadrant2Fill,quadrant3Fill:Ob.quadrant3Fill,quadrant4Fill:Ob.quadrant4Fill,quadrant1TextFill:Ob.quadrant1TextFill,quadrant2TextFill:Ob.quadrant2TextFill,quadrant3TextFill:Ob.quadrant3TextFill,quadrant4TextFill:Ob.quadrant4TextFill,quadrantPointFill:Ob.quadrantPointFill,quadrantPointTextFill:Ob.quadrantPointTextFill,quadrantXAxisTextFill:Ob.quadrantXAxisTextFill,quadrantYAxisTextFill:Ob.quadrantYAxisTextFill,quadrantTitleFill:Ob.quadrantTitleFill,quadrantInternalBorderStrokeFill:Ob.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:Ob.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),this.classes=new Map,Pe.info("clear called")}setData(r){this.data={...this.data,...r}}addPoints(r){this.data.points=[...r,...this.data.points]}addClass(r,a){this.classes.set(r,a)}setConfig(r){Pe.trace("setConfig called with: ",r),this.config={...this.config,...r}}setThemeConfig(r){Pe.trace("setThemeConfig called with: ",r),this.themeConfig={...this.themeConfig,...r}}calculateSpace(r,a,o,l){let h=this.config.xAxisLabelPadding*2+this.config.xAxisLabelFontSize,f={top:r==="top"&&a?h:0,bottom:r==="bottom"&&a?h:0},p=this.config.yAxisLabelPadding*2+this.config.yAxisLabelFontSize,m={left:this.config.yAxisPosition==="left"&&o?p:0,right:this.config.yAxisPosition==="right"&&o?p:0},b=this.config.titleFontSize+this.config.titlePadding*2,v={top:l?b:0},T=this.config.quadrantPadding+m.left,C=this.config.quadrantPadding+f.top+v.top,E=this.config.chartWidth-this.config.quadrantPadding*2-m.left-m.right,S=this.config.chartHeight-this.config.quadrantPadding*2-f.top-f.bottom-v.top,R=E/2,L=S/2;return{xAxisSpace:f,yAxisSpace:m,titleSpace:v,quadrantSpace:{quadrantLeft:T,quadrantTop:C,quadrantWidth:E,quadrantHalfWidth:R,quadrantHeight:S,quadrantHalfHeight:L}}}getAxisLabels(r,a,o,l){let{quadrantSpace:h,titleSpace:f}=l,{quadrantHalfHeight:p,quadrantHeight:m,quadrantLeft:b,quadrantHalfWidth:v,quadrantTop:T,quadrantWidth:C}=h,E=!!this.data.xAxisRightText,S=!!this.data.yAxisTopText,R=[];return this.data.xAxisLeftText&&a&&R.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:b+(E?v/2:0),y:r==="top"?this.config.xAxisLabelPadding+f.top:this.config.xAxisLabelPadding+T+m+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:E?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&a&&R.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:b+v+(E?v/2:0),y:r==="top"?this.config.xAxisLabelPadding+f.top:this.config.xAxisLabelPadding+T+m+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:E?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&o&&R.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+b+C+this.config.quadrantPadding,y:T+m-(S?p/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:S?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&o&&R.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+b+C+this.config.quadrantPadding,y:T+p-(S?p/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:S?"center":"left",horizontalPos:"top",rotation:-90}),R}getQuadrants(r){let{quadrantSpace:a}=r,{quadrantHalfHeight:o,quadrantLeft:l,quadrantHalfWidth:h,quadrantTop:f}=a,p=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:l+h,y:f,width:h,height:o,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:l,y:f,width:h,height:o,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:l,y:f+o,width:h,height:o,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:l+h,y:f+o,width:h,height:o,fill:this.themeConfig.quadrant4Fill}];for(let m of p)m.text.x=m.x+m.width/2,this.data.points.length===0?(m.text.y=m.y+m.height/2,m.text.horizontalPos="middle"):(m.text.y=m.y+this.config.quadrantTextTopPadding,m.text.horizontalPos="top");return p}getQuadrantPoints(r){let{quadrantSpace:a}=r,{quadrantHeight:o,quadrantLeft:l,quadrantTop:h,quadrantWidth:f}=a,p=l4().domain([0,1]).range([l,f+l]),m=l4().domain([0,1]).range([o+h,h]);return this.data.points.map(v=>{let T=this.classes.get(v.className);return T&&(v={...T,...v}),{x:p(v.x),y:m(v.y),fill:v.color??this.themeConfig.quadrantPointFill,radius:v.radius??this.config.pointRadius,text:{text:v.text,fill:this.themeConfig.quadrantPointTextFill,x:p(v.x),y:m(v.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0},strokeColor:v.strokeColor??this.themeConfig.quadrantPointFill,strokeWidth:v.strokeWidth??"0px"}})}getBorders(r){let a=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:o}=r,{quadrantHalfHeight:l,quadrantHeight:h,quadrantLeft:f,quadrantHalfWidth:p,quadrantTop:m,quadrantWidth:b}=o;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:f-a,y1:m,x2:f+b+a,y2:m},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:f+b,y1:m+a,x2:f+b,y2:m+h-a},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:f-a,y1:m+h,x2:f+b+a,y2:m+h},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:f,y1:m+a,x2:f,y2:m+h-a},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:f+p,y1:m+a,x2:f+p,y2:m+h-a},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:f+a,y1:m+l,x2:f+b-a,y2:m+l}]}getTitle(r){if(r)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){let r=this.config.showXAxis&&!!(this.data.xAxisLeftText||this.data.xAxisRightText),a=this.config.showYAxis&&!!(this.data.yAxisTopText||this.data.yAxisBottomText),o=this.config.showTitle&&!!this.data.titleText,l=this.data.points.length>0?"bottom":this.config.xAxisPosition,h=this.calculateSpace(l,r,a,o);return{points:this.getQuadrantPoints(h),quadrants:this.getQuadrants(h),axisLabels:this.getAxisLabels(l,r,a,h),borderLines:this.getBorders(h),title:this.getTitle(o)}}}});function ict(t){return!/^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/.test(t)}function dBr(t){return!/^\d+$/.test(t)}function pBr(t){return!/^\d+px$/.test(t)}var MP,gBr=ie(()=>{"use strict";MP=class extends Error{static{i(this,"InvalidStyleError")}constructor(r,a,o){super(`value for ${r} ${a} is invalid, please use a valid ${o}`),this.name="InvalidStyleError"}};i(ict,"validateHexCode");i(dBr,"validateNumber");i(pBr,"validateSizeInPixels")});function VA(t){return Ns(t.trim(),Zt())}function fci(t){b1.setData({quadrant1Text:VA(t.text)})}function dci(t){b1.setData({quadrant2Text:VA(t.text)})}function pci(t){b1.setData({quadrant3Text:VA(t.text)})}function gci(t){b1.setData({quadrant4Text:VA(t.text)})}function mci(t){b1.setData({xAxisLeftText:VA(t.text)})}function yci(t){b1.setData({xAxisRightText:VA(t.text)})}function bci(t){b1.setData({yAxisTopText:VA(t.text)})}function vci(t){b1.setData({yAxisBottomText:VA(t.text)})}function act(t){let r={};for(let a of t){let[o,l]=a.trim().split(/\s*:\s*/);if(o==="radius"){if(dBr(l))throw new MP(o,l,"number");r.radius=parseInt(l)}else if(o==="color"){if(ict(l))throw new MP(o,l,"hex code");r.color=l}else if(o==="stroke-color"){if(ict(l))throw new MP(o,l,"hex code");r.strokeColor=l}else if(o==="stroke-width"){if(pBr(l))throw new MP(o,l,"number of pixels (eg. 10px)");r.strokeWidth=l}else throw new Error(`style named ${o} is not supported.`)}return r}function wci(t,r,a,o,l){let h=act(l);b1.addPoints([{x:a,y:o,text:VA(t.text),className:r,...h}])}function xci(t,r){b1.addClass(t,act(r))}function Tci(t){b1.setConfig({chartWidth:t})}function kci(t){b1.setConfig({chartHeight:t})}function Cci(){let t=Zt(),{themeVariables:r,quadrantChart:a}=t;return a&&b1.setConfig(a),b1.setThemeConfig({quadrant1Fill:r.quadrant1Fill,quadrant2Fill:r.quadrant2Fill,quadrant3Fill:r.quadrant3Fill,quadrant4Fill:r.quadrant4Fill,quadrant1TextFill:r.quadrant1TextFill,quadrant2TextFill:r.quadrant2TextFill,quadrant3TextFill:r.quadrant3TextFill,quadrant4TextFill:r.quadrant4TextFill,quadrantPointFill:r.quadrantPointFill,quadrantPointTextFill:r.quadrantPointTextFill,quadrantXAxisTextFill:r.quadrantXAxisTextFill,quadrantYAxisTextFill:r.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:r.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:r.quadrantInternalBorderStrokeFill,quadrantTitleFill:r.quadrantTitleFill}),b1.setData({titleText:Js()}),b1.build()}var b1,Eci,mBr,yBr=ie(()=>{"use strict";ma();rl();xu();fBr();gBr();i(VA,"textSanitizer");b1=new h4e;i(fci,"setQuadrant1Text");i(dci,"setQuadrant2Text");i(pci,"setQuadrant3Text");i(gci,"setQuadrant4Text");i(mci,"setXAxisLeftText");i(yci,"setXAxisRightText");i(bci,"setYAxisTopText");i(vci,"setYAxisBottomText");i(act,"parseStyles");i(wci,"addPoint");i(xci,"addClass");i(Tci,"setWidth");i(kci,"setHeight");i(Cci,"getQuadrantData");Eci=i(function(){b1.clear(),Is()},"clear"),mBr={setWidth:Tci,setHeight:kci,setQuadrant1Text:fci,setQuadrant2Text:dci,setQuadrant3Text:pci,setQuadrant4Text:gci,setXAxisLeftText:mci,setXAxisRightText:yci,setYAxisTopText:bci,setYAxisBottomText:vci,parseStyles:act,addPoint:wci,addClass:xci,getQuadrantData:Cci,clear:Eci,setAccTitle:Os,getAccTitle:Ws,setDiagramTitle:ao,getDiagramTitle:Js,getAccDescription:Ys,setAccDescription:js}});var Sci,bBr,vBr=ie(()=>{"use strict";Yo();ma();Xn();Gh();Sci=i((t,r,a,o)=>{function l(V){return V==="top"?"hanging":"middle"}i(l,"getDominantBaseLine");function h(V){return V==="left"?"start":"middle"}i(h,"getTextAnchor");function f(V){return`translate(${V.x}, ${V.y}) rotate(${V.rotation||0})`}i(f,"getTransformation");let p=Zt();Pe.debug(`Rendering quadrant chart +`+t);let m=p.securityLevel,b;m==="sandbox"&&(b=dn("#i"+r));let T=(m==="sandbox"?dn(b.nodes()[0].contentDocument.body):dn("body")).select(`[id="${r}"]`),C=T.append("g").attr("class","main"),E=p.quadrantChart?.chartWidth??500,S=p.quadrantChart?.chartHeight??500;vl(T,S,E,p.quadrantChart?.useMaxWidth??!0),T.attr("viewBox","0 0 "+E+" "+S),o.db.setHeight(S),o.db.setWidth(E);let R=o.db.getQuadrantData(),L=C.append("g").attr("class","quadrants"),_=C.append("g").attr("class","border"),M=C.append("g").attr("class","data-points"),I=C.append("g").attr("class","labels"),F=C.append("g").attr("class","title");R.title&&F.append("text").attr("x",0).attr("y",0).attr("fill",R.title.fill).attr("font-size",R.title.fontSize).attr("dominant-baseline",l(R.title.horizontalPos)).attr("text-anchor",h(R.title.verticalPos)).attr("transform",f(R.title)).text(R.title.text),R.borderLines&&_.selectAll("line").data(R.borderLines).enter().append("line").attr("x1",V=>V.x1).attr("y1",V=>V.y1).attr("x2",V=>V.x2).attr("y2",V=>V.y2).style("stroke",V=>V.strokeFill).style("stroke-width",V=>V.strokeWidth);let O=L.selectAll("g.quadrant").data(R.quadrants).enter().append("g").attr("class","quadrant");O.append("rect").attr("x",V=>V.x).attr("y",V=>V.y).attr("width",V=>V.width).attr("height",V=>V.height).attr("fill",V=>V.fill),O.append("text").attr("x",0).attr("y",0).attr("fill",V=>V.text.fill).attr("font-size",V=>V.text.fontSize).attr("dominant-baseline",V=>l(V.text.horizontalPos)).attr("text-anchor",V=>h(V.text.verticalPos)).attr("transform",V=>f(V.text)).text(V=>V.text.text),I.selectAll("g.label").data(R.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text(V=>V.text).attr("fill",V=>V.fill).attr("font-size",V=>V.fontSize).attr("dominant-baseline",V=>l(V.horizontalPos)).attr("text-anchor",V=>h(V.verticalPos)).attr("transform",V=>f(V));let G=M.selectAll("g.data-point").data(R.points).enter().append("g").attr("class","data-point");G.append("circle").attr("cx",V=>V.x).attr("cy",V=>V.y).attr("r",V=>V.radius).attr("fill",V=>V.fill).attr("stroke",V=>V.strokeColor).attr("stroke-width",V=>V.strokeWidth),G.append("text").attr("x",0).attr("y",0).text(V=>V.text.text).attr("fill",V=>V.text.fill).attr("font-size",V=>V.text.fontSize).attr("dominant-baseline",V=>l(V.text.horizontalPos)).attr("text-anchor",V=>h(V.text.verticalPos)).attr("transform",V=>f(V.text))},"draw"),bBr={draw:Sci}});var wBr={};cs(wBr,{diagram:()=>Aci});var Aci,xBr=ie(()=>{"use strict";hBr();yBr();vBr();Aci={parser:uBr,db:mBr,renderer:bBr,styles:i(()=>"","styles")}});var sct,CBr,EBr=ie(()=>{"use strict";sct=(function(){var t=i(function(W,te,z,re){for(z=z||{},re=W.length;re--;z[W[re]]=te);return z},"o"),r=[1,10,12,14,16,18,19,21,23],a=[2,6],o=[1,3],l=[1,5],h=[1,6],f=[1,7],p=[1,5,10,12,14,16,18,19,21,23,36,37,38],m=[1,25],b=[1,26],v=[1,28],T=[1,29],C=[1,30],E=[1,31],S=[1,32],R=[1,33],L=[1,34],_=[1,35],M=[1,36],I=[1,37],F=[1,43],O=[1,42],P=[1,47],G=[1,50],V=[1,10,12,14,16,18,19,21,23,36,37,38],Y=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],K=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],J=[1,65],H=[26,28],q={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",28:"COMMA",29:"NUMBER_WITH_DECIMAL",30:"STR",33:"ARROW_DELIMITER",36:"NEWLINE",37:"SEMI",38:"EOF",40:"MD_STR",42:"AMP",43:"NUM",44:"ALPHA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"MINUS",51:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:i(function(te,z,re,ae,ce,le,de){var ve=le.length-1;switch(ce){case 5:ae.setOrientation(le[ve]);break;case 9:ae.setDiagramTitle(le[ve].text.trim());break;case 12:ae.setLineData({text:"",type:"text"},le[ve]);break;case 13:ae.setLineData(le[ve-1],le[ve]);break;case 14:ae.setBarData({text:"",type:"text"},le[ve]);break;case 15:ae.setBarData(le[ve-1],le[ve]);break;case 16:this.$=le[ve].trim(),ae.setAccTitle(this.$);break;case 17:case 18:this.$=le[ve].trim(),ae.setAccDescription(this.$);break;case 19:this.$=le[ve-1];break;case 20:case 30:this.$=[le[ve-2],...le[ve]];break;case 21:case 31:this.$=[le[ve]];break;case 22:this.$={value:Number(le[ve-1]),label:le[ve]};break;case 23:this.$={value:Number(le[ve]),label:""};break;case 24:ae.setXAxisTitle(le[ve]);break;case 25:ae.setXAxisTitle(le[ve-1]);break;case 26:ae.setXAxisTitle({type:"text",text:""});break;case 27:ae.setXAxisBand(le[ve]);break;case 28:ae.setXAxisRangeData(Number(le[ve-2]),Number(le[ve]));break;case 29:this.$=le[ve-1];break;case 32:ae.setYAxisTitle(le[ve]);break;case 33:ae.setYAxisTitle(le[ve-1]);break;case 34:ae.setYAxisTitle({type:"text",text:""});break;case 35:ae.setYAxisRangeData(Number(le[ve-2]),Number(le[ve]));break;case 39:this.$={text:le[ve],type:"text"};break;case 40:this.$={text:le[ve],type:"text"};break;case 41:this.$={text:le[ve],type:"markdown"};break;case 42:this.$=le[ve];break;case 43:this.$=le[ve-1]+""+le[ve];break}},"anonymous"),table:[t(r,a,{3:1,4:2,7:4,5:o,36:l,37:h,38:f}),{1:[3]},t(r,a,{4:2,7:4,3:8,5:o,36:l,37:h,38:f}),t(r,a,{4:2,7:4,6:9,3:10,5:o,8:[1,11],36:l,37:h,38:f}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},t(p,[2,36]),t(p,[2,37]),t(p,[2,38]),{1:[2,1]},t(r,a,{4:2,7:4,3:21,5:o,36:l,37:h,38:f}),{1:[2,3]},t(p,[2,5]),t(r,[2,7],{4:22,36:l,37:h,38:f}),{11:23,30:m,39:24,40:b,41:27,42:v,43:T,44:C,45:E,46:S,47:R,48:L,49:_,50:M,51:I},{11:39,13:38,24:F,29:O,30:m,31:40,32:41,39:24,40:b,41:27,42:v,43:T,44:C,45:E,46:S,47:R,48:L,49:_,50:M,51:I},{11:45,15:44,29:P,30:m,35:46,39:24,40:b,41:27,42:v,43:T,44:C,45:E,46:S,47:R,48:L,49:_,50:M,51:I},{11:49,17:48,24:G,30:m,39:24,40:b,41:27,42:v,43:T,44:C,45:E,46:S,47:R,48:L,49:_,50:M,51:I},{11:52,17:51,24:G,30:m,39:24,40:b,41:27,42:v,43:T,44:C,45:E,46:S,47:R,48:L,49:_,50:M,51:I},{20:[1,53]},{22:[1,54]},t(V,[2,18]),{1:[2,2]},t(V,[2,8]),t(V,[2,9]),t(Y,[2,39],{41:55,42:v,43:T,44:C,45:E,46:S,47:R,48:L,49:_,50:M,51:I}),t(Y,[2,40]),t(Y,[2,41]),t(K,[2,42]),t(K,[2,44]),t(K,[2,45]),t(K,[2,46]),t(K,[2,47]),t(K,[2,48]),t(K,[2,49]),t(K,[2,50]),t(K,[2,51]),t(K,[2,52]),t(K,[2,53]),t(V,[2,10]),t(V,[2,24],{32:41,31:56,24:F,29:O}),t(V,[2,26]),t(V,[2,27]),{33:[1,57]},{11:59,30:m,34:58,39:24,40:b,41:27,42:v,43:T,44:C,45:E,46:S,47:R,48:L,49:_,50:M,51:I},t(V,[2,11]),t(V,[2,32],{35:60,29:P}),t(V,[2,34]),{33:[1,61]},t(V,[2,12]),{17:62,24:G},{25:63,27:64,29:J},t(V,[2,14]),{17:66,24:G},t(V,[2,16]),t(V,[2,17]),t(K,[2,43]),t(V,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},t(V,[2,33]),{29:[1,70]},t(V,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},t(H,[2,23],{30:[1,73]}),t(V,[2,15]),t(V,[2,28]),t(V,[2,29]),{11:59,30:m,34:74,39:24,40:b,41:27,42:v,43:T,44:C,45:E,46:S,47:R,48:L,49:_,50:M,51:I},t(V,[2,35]),t(V,[2,19]),{25:75,27:64,29:J},t(H,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:i(function(te,z){if(z.recoverable)this.trace(te);else{var re=new Error(te);throw re.hash=z,re}},"parseError"),parse:i(function(te){var z=this,re=[0],ae=[],ce=[null],le=[],de=this.table,ve="",Se=0,_e=0,Ce=0,Ve=2,De=1,qe=le.slice.call(arguments,1),Ue=Object.create(this.lexer),We={yy:{}};for(var mt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,mt)&&(We.yy[mt]=this.yy[mt]);Ue.setInput(te,We.yy),We.yy.lexer=Ue,We.yy.parser=this,typeof Ue.yylloc>"u"&&(Ue.yylloc={});var ct=Ue.yylloc;le.push(ct);var Ot=Ue.options&&Ue.options.ranges;typeof We.yy.parseError=="function"?this.parseError=We.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function yr(Le){re.length=re.length-2*Le,ce.length=ce.length-Le,le.length=le.length-Le}i(yr,"popStack");function tr(){var Le;return Le=ae.pop()||Ue.lex()||De,typeof Le!="number"&&(Le instanceof Array&&(ae=Le,Le=ae.pop()),Le=z.symbols_[Le]||Le),Le}i(tr,"lex");for(var Xe,Rt,ft,bt,Me,Fe,je={},He,nt,ze,se;;){if(ft=re[re.length-1],this.defaultActions[ft]?bt=this.defaultActions[ft]:((Xe===null||typeof Xe>"u")&&(Xe=tr()),bt=de[ft]&&de[ft][Xe]),typeof bt>"u"||!bt.length||!bt[0]){var ke="";se=[];for(He in de[ft])this.terminals_[He]&&He>Ve&&se.push("'"+this.terminals_[He]+"'");Ue.showPosition?ke="Parse error on line "+(Se+1)+`: +`+Ue.showPosition()+` +Expecting `+se.join(", ")+", got '"+(this.terminals_[Xe]||Xe)+"'":ke="Parse error on line "+(Se+1)+": Unexpected "+(Xe==De?"end of input":"'"+(this.terminals_[Xe]||Xe)+"'"),this.parseError(ke,{text:Ue.match,token:this.terminals_[Xe]||Xe,line:Ue.yylineno,loc:ct,expected:se})}if(bt[0]instanceof Array&&bt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ft+", token: "+Xe);switch(bt[0]){case 1:re.push(Xe),ce.push(Ue.yytext),le.push(Ue.yylloc),re.push(bt[1]),Xe=null,Rt?(Xe=Rt,Rt=null):(_e=Ue.yyleng,ve=Ue.yytext,Se=Ue.yylineno,ct=Ue.yylloc,Ce>0&&Ce--);break;case 2:if(nt=this.productions_[bt[1]][1],je.$=ce[ce.length-nt],je._$={first_line:le[le.length-(nt||1)].first_line,last_line:le[le.length-1].last_line,first_column:le[le.length-(nt||1)].first_column,last_column:le[le.length-1].last_column},Ot&&(je._$.range=[le[le.length-(nt||1)].range[0],le[le.length-1].range[1]]),Fe=this.performAction.apply(je,[ve,_e,Se,We.yy,bt[1],ce,le].concat(qe)),typeof Fe<"u")return Fe;nt&&(re=re.slice(0,-1*nt*2),ce=ce.slice(0,-1*nt),le=le.slice(0,-1*nt)),re.push(this.productions_[bt[1]][0]),ce.push(je.$),le.push(je._$),ze=de[re[re.length-2]][re[re.length-1]],re.push(ze);break;case 3:return!0}}return!0},"parse")},Z=(function(){var W={EOF:1,parseError:i(function(z,re){if(this.yy.parser)this.yy.parser.parseError(z,re);else throw new Error(z)},"parseError"),setInput:i(function(te,z){return this.yy=z||this.yy||{},this._input=te,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var te=this._input[0];this.yytext+=te,this.yyleng++,this.offset++,this.match+=te,this.matched+=te;var z=te.match(/(?:\r\n?|\n).*/g);return z?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),te},"input"),unput:i(function(te){var z=te.length,re=te.split(/(?:\r\n?|\n)/g);this._input=te+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-z),this.offset-=z;var ae=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),re.length-1&&(this.yylineno-=re.length-1);var ce=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:re?(re.length===ae.length?this.yylloc.first_column:0)+ae[ae.length-re.length].length-re[0].length:this.yylloc.first_column-z},this.options.ranges&&(this.yylloc.range=[ce[0],ce[0]+this.yyleng-z]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(te){this.unput(this.match.slice(te))},"less"),pastInput:i(function(){var te=this.matched.substr(0,this.matched.length-this.match.length);return(te.length>20?"...":"")+te.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var te=this.match;return te.length<20&&(te+=this._input.substr(0,20-te.length)),(te.substr(0,20)+(te.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var te=this.pastInput(),z=new Array(te.length+1).join("-");return te+this.upcomingInput()+` +`+z+"^"},"showPosition"),test_match:i(function(te,z){var re,ae,ce;if(this.options.backtrack_lexer&&(ce={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(ce.yylloc.range=this.yylloc.range.slice(0))),ae=te[0].match(/(?:\r\n?|\n).*/g),ae&&(this.yylineno+=ae.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:ae?ae[ae.length-1].length-ae[ae.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+te[0].length},this.yytext+=te[0],this.match+=te[0],this.matches=te,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(te[0].length),this.matched+=te[0],re=this.performAction.call(this,this.yy,this,z,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),re)return re;if(this._backtrack){for(var le in ce)this[le]=ce[le];return!1}return!1},"test_match"),next:i(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var te,z,re,ae;this._more||(this.yytext="",this.match="");for(var ce=this._currentRules(),le=0;lez[0].length)){if(z=re,ae=le,this.options.backtrack_lexer){if(te=this.test_match(re,ce[le]),te!==!1)return te;if(this._backtrack){z=!1;continue}else return!1}else if(!this.options.flex)break}return z?(te=this.test_match(z,ce[ae]),te!==!1?te:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:i(function(){var z=this.next();return z||this.lex()},"lex"),begin:i(function(z){this.conditionStack.push(z)},"begin"),popState:i(function(){var z=this.conditionStack.length-1;return z>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:i(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:i(function(z){return z=this.conditionStack.length-1-Math.abs(z||0),z>=0?this.conditionStack[z]:"INITIAL"},"topState"),pushState:i(function(z){this.begin(z)},"pushState"),stateStackSize:i(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:i(function(z,re,ae,ce){var le=ce;switch(ae){case 0:break;case 1:break;case 2:return this.popState(),36;break;case 3:return this.popState(),36;break;case 4:return 36;case 5:break;case 6:return 10;case 7:return this.pushState("acc_title"),19;break;case 8:return this.popState(),"acc_title_value";break;case 9:return this.pushState("acc_descr"),21;break;case 10:return this.popState(),"acc_descr_value";break;case 11:this.pushState("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 5;case 16:return 8;case 17:return this.pushState("axis_data"),"X_AXIS";break;case 18:return this.pushState("axis_data"),"Y_AXIS";break;case 19:return this.pushState("axis_band_data"),24;break;case 20:return 33;case 21:return this.pushState("data"),16;break;case 22:return this.pushState("data"),18;break;case 23:return this.pushState("data_inner"),24;break;case 24:return 29;case 25:return this.popState(),26;break;case 26:this.popState();break;case 27:this.pushState("string");break;case 28:this.popState();break;case 29:return"STR";case 30:return 24;case 31:return 26;case 32:return 44;case 33:return"COLON";case 34:return 45;case 35:return 28;case 36:return 46;case 37:return 47;case 38:return 49;case 39:return 51;case 40:return 48;case 41:return 42;case 42:return 50;case 43:return 43;case 44:break;case 45:return 37;case 46:return 38}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\})/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:xychart\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,24,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,18,21,22,23,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,22,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[28,29],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0}}};return W})();q.lexer=Z;function Q(){this.yy={}}return i(Q,"Parser"),Q.prototype=q,q.Parser=Q,new Q})();sct.parser=sct;CBr=sct});function Zie(t){return t.type==="bar"}function eae(t){return t.type==="band"}function YV(t){return t.type==="linear"}var tae=ie(()=>{"use strict";i(Zie,"isBarPlot");i(eae,"isBandAxisData");i(YV,"isLinearAxisData")});var JD,f4e=ie(()=>{"use strict";jw();JD=class{constructor(r){this.parentGroup=r}static{i(this,"TextDimensionCalculatorWithFont")}getMaxDimension(r,a){if(!this.parentGroup)return{width:r.reduce((b,v)=>Math.max(v.length,b),0)*a,height:a};let o={width:0,height:0},l=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",a),h=l.node()?.getScreenCTM?.(),f=i(b=>b&&b>0?b:1,"toScale"),p=f(h?.a),m=f(h?.d);for(let b of r){let v=egr(l,1,b),T=v?v.width/p:b.length*a,C=v?v.height/m:a;o.width=Math.max(o.width,T),o.height=Math.max(o.height,C)}return l.remove(),o}}});var KV,oct=ie(()=>{"use strict";KV=class{constructor(r,a,o,l){this.axisConfig=r;this.title=a;this.textDimensionCalculator=o;this.axisThemeConfig=l;this.boundingRect={x:0,y:0,width:0,height:0};this.axisPosition="left";this.showTitle=!1;this.showLabel=!1;this.showTick=!1;this.showAxisLine=!1;this.outerPadding=0;this.titleTextHeight=0;this.labelTextHeight=0;this.normalizedLabelRotationInRad=0;this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.normalizedLabelRotationInRad=this.axisConfig.labelRotation>=-90&&this.axisConfig.labelRotation<=90?this.axisConfig.labelRotation*Math.PI/180:0}static{i(this,"BaseAxis")}setRange(r){this.range=r,this.axisPosition==="left"||this.axisPosition==="right"?this.boundingRect.height=r[1]-r[0]:this.boundingRect.width=r[1]-r[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(r){this.axisPosition=r,this.setRange(this.range)}getTickDistance(){let r=this.getRange();return Math.abs(r[0]-r[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(r=>r.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){.7*this.getTickDistance()>this.outerPadding*2&&(this.outerPadding=Math.floor(.7*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(r){let a=r.height;if(this.axisConfig.showAxisLine&&a>this.axisConfig.axisLineWidth&&(a-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let o=this.getLabelDimension(),l=.2*r.width;this.outerPadding=Math.min(o.width/2,l);let h=o.height;this.axisPosition==="bottom"&&this.normalizedLabelRotationInRad!==0&&(h=Math.max(h,Math.abs(Math.sin(this.normalizedLabelRotationInRad)*o.width)+Math.abs(Math.cos(this.normalizedLabelRotationInRad)*o.height))),h+=this.axisConfig.labelPadding*2,this.labelTextHeight=o.height,h<=a&&(a-=h,this.showLabel=!0)}if(this.axisConfig.showTick&&a>=this.axisConfig.tickLength&&(this.showTick=!0,a-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let o=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),l=o.height+this.axisConfig.titlePadding*2;this.titleTextHeight=o.height,l<=a&&(a-=l,this.showTitle=!0)}this.boundingRect.width=r.width,this.boundingRect.height=r.height-a}calculateSpaceIfDrawnVertical(r){let a=r.width;if(this.axisConfig.showAxisLine&&a>this.axisConfig.axisLineWidth&&(a-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let o=this.getLabelDimension(),l=.2*r.height;this.outerPadding=Math.min(o.height/2,l);let h=o.width+this.axisConfig.labelPadding*2;h<=a&&(a-=h,this.showLabel=!0)}if(this.axisConfig.showTick&&a>=this.axisConfig.tickLength&&(this.showTick=!0,a-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let o=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),l=o.height+this.axisConfig.titlePadding*2;this.titleTextHeight=o.height,l<=a&&(a-=l,this.showTitle=!0)}this.boundingRect.width=r.width-a,this.boundingRect.height=r.height}calculateSpace(r){return this.axisPosition==="left"||this.axisPosition==="right"?this.calculateSpaceIfDrawnVertical(r):this.calculateSpaceIfDrawnHorizontally(r),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(r){this.boundingRect.x=r.x,this.boundingRect.y=r.y}calculateOffsetByRotation(r){let a=this.normalizedLabelRotationInRad;return a===0?0:Math.sin(a)*this.getLabelDimension()[r]/2}getDrawableElementsForLeftAxis(){let r=[];if(this.showAxisLine){let a=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;r.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${a},${this.boundingRect.y} L ${a},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&r.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map(a=>({text:a.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(a),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))}),this.showTick){let a=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);r.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map(o=>({path:`M ${a},${this.getScaleValue(o)} L ${a-this.axisConfig.tickLength},${this.getScaleValue(o)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&r.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),r}getDrawableElementsForBottomAxis(){let r=[];if(this.showAxisLine){let a=this.boundingRect.y+this.axisConfig.axisLineWidth/2;r.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${a} L ${this.boundingRect.x+this.boundingRect.width},${a}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&r.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map(a=>({text:a.toString(),x:this.getScaleValue(a)+this.calculateOffsetByRotation("height"),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0)+Math.abs(this.calculateOffsetByRotation("width")),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:this.normalizedLabelRotationInRad*180/Math.PI,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){let a=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);r.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map(o=>({path:`M ${this.getScaleValue(o)},${a} L ${this.getScaleValue(o)},${a+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&r.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),r}getDrawableElementsForTopAxis(){let r=[];if(this.showAxisLine){let a=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;r.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${a} L ${this.boundingRect.x+this.boundingRect.width},${a}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&r.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map(a=>({text:a.toString(),x:this.getScaleValue(a),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+this.axisConfig.titlePadding*2:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){let a=this.boundingRect.y;r.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map(o=>({path:`M ${this.getScaleValue(o)},${a+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(o)},${a+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&r.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),r}getDrawableElements(){if(this.axisPosition==="left")return this.getDrawableElementsForLeftAxis();if(this.axisPosition==="right")throw Error("Drawing of right axis is not implemented");return this.axisPosition==="bottom"?this.getDrawableElementsForBottomAxis():this.axisPosition==="top"?this.getDrawableElementsForTopAxis():[]}}});var d4e,SBr=ie(()=>{"use strict";Yo();Xn();oct();d4e=class extends KV{static{i(this,"BandAxis")}constructor(r,a,o,l,h){super(r,l,h,a),this.categories=o,this.scale=mz().domain(this.categories).range(this.getRange())}setRange(r){super.setRange(r)}recalculateScale(){this.scale=mz().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),Pe.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(r){return this.scale(r)??this.getRange()[0]}}});var p4e,ABr=ie(()=>{"use strict";Yo();oct();p4e=class extends KV{static{i(this,"LinearAxis")}constructor(r,a,o,l,h){super(r,l,h,a),this.domain=o,this.scale=l4().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){let r=[...this.domain];this.axisPosition==="left"&&r.reverse(),this.scale=l4().domain(r).range(this.getRange())}getScaleValue(r){return this.scale(r)}}});function lct(t,r,a,o){let l=new JD(o);return eae(t)?new d4e(r,a,t.categories,t.title,l):new p4e(r,a,[t.min,t.max],t.title,l)}var RBr=ie(()=>{"use strict";tae();f4e();SBr();ABr();i(lct,"getAxis")});function LBr(t,r,a,o){let l=new JD(o);return new cct(l,t,r,a)}var cct,DBr=ie(()=>{"use strict";f4e();cct=class{constructor(r,a,o,l){this.textDimensionCalculator=r;this.chartConfig=a;this.chartData=o;this.chartThemeConfig=l;this.titleWidth=0;this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}static{i(this,"ChartTitle")}setBoundingBoxXY(r){this.boundingRect.x=r.x,this.boundingRect.y=r.y}calculateSpace(r){let a=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),o=Math.max(a.width,r.width),l=a.height+2*this.chartConfig.titlePadding;return l<=r.height&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=o,this.boundingRect.height=l,this.titleWidth=a.width,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}alignTo(r,a){let o=Math.min(this.titleWidth,this.chartConfig.width)/2,l=Math.min(Math.max((r+a)/2,o),this.chartConfig.width-o);this.boundingRect.x=l-o,this.boundingRect.width=o*2}getDrawableElements(){let r=[];return this.showChartTitle&&r.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),r}};i(LBr,"getChartTitleComponent")});function _Br(t){return{fontSize:t,markerSize:t*_ci,markerSpacing:t*Ici,itemSpacing:t*Mci}}function MBr(t,r,a,o){let l=new JD(o);return new uct(l,t,r,a)}var _ci,Mci,Ici,uct,IBr=ie(()=>{"use strict";tae();f4e();_ci=.75,Mci=.5,Ici=.35;i(_Br,"getLegendLayout");uct=class{constructor(r,a,o,l){this.textDimensionCalculator=r;this.chartConfig=a;this.chartData=o;this.chartThemeConfig=l;this.boundingRect={x:0,y:0,width:0,height:0};this.visiblePlots=[]}static{i(this,"ChartLegend")}setBoundingBoxXY(r){this.boundingRect.x=r.x,this.boundingRect.y=r.y}calculateSpace(r){if(this.visiblePlots=this.chartConfig.showLegend?this.chartData.plots.filter(b=>b.title):[],this.visiblePlots.length===0)return this.boundingRect.width=0,this.boundingRect.height=0,{width:0,height:0};let{fontSize:a,markerSize:o,markerSpacing:l,itemSpacing:h}=_Br(this.chartConfig.legendFontSize),f=this.textDimensionCalculator.getMaxDimension(this.visiblePlots.map(b=>b.title),a),p=this.chartConfig.legendPadding*2+o+l+f.width,m=this.chartConfig.legendPadding*2+this.visiblePlots.length*a+(this.visiblePlots.length-1)*h;return p<=r.width&&m<=r.height?(this.boundingRect.width=p,this.boundingRect.height=m):(this.visiblePlots=[],this.boundingRect.width=0,this.boundingRect.height=0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(this.visiblePlots.length===0)return[];let{fontSize:r,markerSize:a,markerSpacing:o,itemSpacing:l}=_Br(this.chartConfig.legendFontSize),h=r+l,f=this.boundingRect.x+this.chartConfig.legendPadding,p=this.boundingRect.y+this.chartConfig.legendPadding,m=[],b=[];for(let[v,T]of this.visiblePlots.entries())if(Zie(T))m.push({x:f,y:p+v*h,width:a,height:a,fill:T.fill,strokeFill:T.fill,strokeWidth:0});else{let C=p+v*h+a/2;b.push({path:`M ${f},${C} L ${f+a},${C}`,strokeFill:T.strokeFill,strokeWidth:T.strokeWidth})}return[{groupTexts:["legend","markers"],type:"rect",data:m},{groupTexts:["legend","markers"],type:"path",data:b},{groupTexts:["legend","label"],type:"text",data:this.visiblePlots.map((v,T)=>({text:v.title,x:f+a+o,y:p+T*h+a/2,fill:this.chartThemeConfig.legendTextColor,fontSize:r,rotation:0,verticalPos:"middle",horizontalPos:"left"}))}]}};i(MBr,"getChartLegendComponent")});var g4e,NBr=ie(()=>{"use strict";Yo();g4e=class{constructor(r,a,o,l,h){this.plotData=r;this.xAxis=a;this.yAxis=o;this.orientation=l;this.plotIndex=h}static{i(this,"LinePlot")}getDrawableElement(){let r=this.plotData.data.map(l=>[this.xAxis.getScaleValue(l[0]),this.yAxis.getScaleValue(l[1])]),a;if(this.orientation==="horizontal"?a=HN().y(l=>l[0]).x(l=>l[1])(r):a=HN().x(l=>l[0]).y(l=>l[1])(r),!a)return[];let o=[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:a,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}];if(this.plotData.pointLabels&&this.plotData.pointLabels.length>0){let f=[];for(let[p,[m,b]]of r.entries()){let v=this.plotData.pointLabels[p];v&&(this.orientation==="horizontal"?f.push({x:b+10,y:m,text:v,fill:this.plotData.strokeFill,verticalPos:"middle",horizontalPos:"left",fontSize:12,rotation:0}):f.push({x:m,y:b-10,text:v,fill:this.plotData.strokeFill,verticalPos:"middle",horizontalPos:"center",fontSize:12,rotation:0}))}f.length>0&&o.push({groupTexts:["plot",`line-plot-${this.plotIndex}`,"labels"],type:"text",data:f})}return o}}});var m4e,OBr=ie(()=>{"use strict";m4e=class{constructor(r,a,o,l,h,f){this.barData=r;this.boundingRect=a;this.xAxis=o;this.yAxis=l;this.orientation=h;this.plotIndex=f}static{i(this,"BarPlot")}getDrawableElement(){let r=this.barData.data.map(h=>[this.xAxis.getScaleValue(h[0]),this.yAxis.getScaleValue(h[1])]),o=Math.min(this.xAxis.getAxisOuterPadding()*2,this.xAxis.getTickDistance())*(1-.05),l=o/2;return this.orientation==="horizontal"?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:r.map(h=>({x:this.boundingRect.x,y:h[0]-l,height:o,width:h[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:r.map(h=>({x:h[0]-l,y:h[1],width:o,height:this.boundingRect.y+this.boundingRect.height-h[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}}});function PBr(t,r,a){return new hct(t,r,a)}var hct,BBr=ie(()=>{"use strict";NBr();OBr();hct=class{constructor(r,a,o){this.chartConfig=r;this.chartData=a;this.chartThemeConfig=o;this.boundingRect={x:0,y:0,width:0,height:0}}static{i(this,"BasePlot")}setAxes(r,a){this.xAxis=r,this.yAxis=a}setBoundingBoxXY(r){this.boundingRect.x=r.x,this.boundingRect.y=r.y}calculateSpace(r){return this.boundingRect.width=r.width,this.boundingRect.height=r.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error("Axes must be passed to render Plots");let r=[];for(let[a,o]of this.chartData.plots.entries())switch(o.type){case"line":{let l=new g4e(o,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,a);r.push(...l.getDrawableElement())}break;case"bar":{let l=new m4e(o,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,a);r.push(...l.getDrawableElement())}break}return r}};i(PBr,"getPlotComponent")});var y4e,FBr=ie(()=>{"use strict";RBr();DBr();IBr();BBr();tae();y4e=class{constructor(r,a,o,l){this.chartConfig=r;this.chartData=a;this.componentStore={title:LBr(r,a,o,l),plot:PBr(r,a,o),legend:MBr(r,a,o,l),xAxis:lct(a.xAxis,r.xAxis,{titleColor:o.xAxisTitleColor,labelColor:o.xAxisLabelColor,tickColor:o.xAxisTickColor,axisLineColor:o.xAxisLineColor},l),yAxis:lct(a.yAxis,r.yAxis,{titleColor:o.yAxisTitleColor,labelColor:o.yAxisLabelColor,tickColor:o.yAxisTickColor,axisLineColor:o.yAxisLineColor},l)}}static{i(this,"Orchestrator")}calculateVerticalSpace(){let r=this.chartConfig.width,a=this.chartConfig.height,o=0,l=0,h={width:0,height:0},f=Math.floor(r*this.chartConfig.plotReservedSpacePercent/100),p=Math.floor(a*this.chartConfig.plotReservedSpacePercent/100),m=this.componentStore.plot.calculateSpace({width:f,height:p});r-=m.width,a-=m.height,m=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:a}),l=m.height,a-=m.height,this.componentStore.xAxis.setAxisPosition("bottom"),m=this.componentStore.xAxis.calculateSpace({width:r,height:a}),a-=m.height,this.componentStore.yAxis.setAxisPosition("left"),m=this.componentStore.yAxis.calculateSpace({width:r,height:a}),o=m.width,r-=m.width,h=this.componentStore.legend.calculateSpace({width:r,height:p}),r-=h.width,r>0&&(f+=r,r=0),a>0&&(p+=a,a=0),this.componentStore.plot.calculateSpace({width:f,height:p}),this.componentStore.plot.setBoundingBoxXY({x:o,y:l}),this.componentStore.title.alignTo(o,o+f),this.componentStore.legend.setBoundingBoxXY({x:o+f,y:l+Math.max((p-h.height)/2,0)}),this.componentStore.xAxis.setRange([o,o+f]),this.componentStore.xAxis.setBoundingBoxXY({x:o,y:l+p}),this.componentStore.yAxis.setRange([l,l+p]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:l}),this.chartData.plots.some(b=>Zie(b))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let r=this.chartConfig.width,a=this.chartConfig.height,o=0,l=0,h=0,f={width:0,height:0},p=Math.floor(r*this.chartConfig.plotReservedSpacePercent/100),m=Math.floor(a*this.chartConfig.plotReservedSpacePercent/100),b=this.componentStore.plot.calculateSpace({width:p,height:m});r-=b.width,a-=b.height,b=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:a}),o=b.height,a-=b.height,this.componentStore.xAxis.setAxisPosition("left"),b=this.componentStore.xAxis.calculateSpace({width:r,height:a}),r-=b.width,l=b.width,this.componentStore.yAxis.setAxisPosition("top"),b=this.componentStore.yAxis.calculateSpace({width:r,height:a}),a-=b.height,h=o+b.height,f=this.componentStore.legend.calculateSpace({width:r,height:m}),r-=f.width,r>0&&(p+=r,r=0),a>0&&(m+=a,a=0),this.componentStore.plot.calculateSpace({width:p,height:m}),this.componentStore.plot.setBoundingBoxXY({x:l,y:h}),this.componentStore.title.alignTo(l,l+p),this.componentStore.legend.setBoundingBoxXY({x:l+p,y:h+Math.max((m-f.height)/2,0)}),this.componentStore.yAxis.setRange([l,l+p]),this.componentStore.yAxis.setBoundingBoxXY({x:l,y:o}),this.componentStore.xAxis.setRange([h,h+m]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:h}),this.chartData.plots.some(v=>Zie(v))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){this.chartConfig.chartOrientation==="horizontal"?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();let r=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(let a of Object.values(this.componentStore))r.push(...a.getDrawableElements());return r}}});var b4e,$Br=ie(()=>{"use strict";FBr();b4e=class{static{i(this,"XYChartBuilder")}static build(r,a,o,l){return new y4e(r,a,o,l).getDrawableElement()}}});function jBr(){let t=om(),r=ii();return nl(t.xyChart,r.themeVariables.xyChart)}function zBr(){let t=ii();return nl(hs.xyChart,t.xyChart)}function UBr(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}function XV(t){let r=ii();return Ns(t.trim(),r)}function Nci(t){GBr=t}function Oci(t){t==="horizontal"?nae.chartOrientation="horizontal":nae.chartOrientation="vertical"}function Pci(t){Hc.xAxis.title=XV(t.text)}function VBr(t,r){Hc.xAxis={type:"linear",title:Hc.xAxis.title,min:t,max:r},v4e=!0}function Bci(t){Hc.xAxis={type:"band",title:Hc.xAxis.title,categories:t.map(r=>XV(r.text))},v4e=!0}function Fci(t){Hc.yAxis.title=XV(t.text)}function $ci(t,r){Hc.yAxis={type:"linear",title:Hc.yAxis.title,min:t,max:r},dct=!0}function Gci(t){let r=Math.min(...t),a=Math.max(...t),o=YV(Hc.yAxis)?Hc.yAxis.min:1/0,l=YV(Hc.yAxis)?Hc.yAxis.max:-1/0;Hc.yAxis={type:"linear",title:Hc.yAxis.title,min:Math.min(o,r),max:Math.max(l,a)}}function HBr(t){let r=[];if(t.length===0)return r;if(!v4e){let a=YV(Hc.xAxis)?Hc.xAxis.min:1/0,o=YV(Hc.xAxis)?Hc.xAxis.max:-1/0;VBr(Math.min(a,1),Math.max(o,t.length))}if(eae(Hc.xAxis)&&t.length>Hc.xAxis.categories.length&&(t=t.slice(0,Hc.xAxis.categories.length)),dct||Gci(t),eae(Hc.xAxis)&&(r=Hc.xAxis.categories.map((a,o)=>[a,t[o]])),YV(Hc.xAxis)){let a=Hc.xAxis.min,o=Hc.xAxis.max;if(t.length===1)r=[[`${a}`,t[0]]];else{let l=(o-a)/(t.length-1);r=t.map((h,f)=>[`${a+f*l}`,h])}}return r}function qBr(t){return fct[t===0?0:t%fct.length]}function jci(t,r){let a=r.map(f=>f.value),o=r.map(f=>f.label?XV(f.label):""),l=HBr(a),h=o.some(f=>f!=="");Hc.plots.push({type:"line",title:XV(t.text),strokeFill:qBr(rae),strokeWidth:2,data:l,...h?{pointLabels:o}:{}}),rae++}function zci(t,r){let a=r.map(l=>l.value),o=HBr(a);Hc.plots.push({type:"bar",title:XV(t.text),fill:qBr(rae),data:o}),rae++}function Uci(){if(Hc.plots.length===0)throw Error("No Plot to render, please provide a plot with some data");return Hc.title=Js(),b4e.build(nae,Hc,iae,GBr)}function Vci(){return iae}function Hci(){return nae}function qci(){return Hc}var rae,GBr,nae,iae,Hc,fct,v4e,dct,Wci,WBr,YBr=ie(()=>{"use strict";Qs();up();LE();Ia();rl();xu();$Br();tae();rae=0,nae=zBr(),iae=jBr(),Hc=UBr(),fct=iae.plotColorPalette.split(",").map(t=>t.trim()),v4e=!1,dct=!1;i(jBr,"getChartDefaultThemeConfig");i(zBr,"getChartDefaultConfig");i(UBr,"getChartDefaultData");i(XV,"textSanitizer");i(Nci,"setTmpSVGG");i(Oci,"setOrientation");i(Pci,"setXAxisTitle");i(VBr,"setXAxisRangeData");i(Bci,"setXAxisBand");i(Fci,"setYAxisTitle");i($ci,"setYAxisRangeData");i(Gci,"setYAxisRangeFromPlotData");i(HBr,"transformDataWithoutCategory");i(qBr,"getPlotColorFromPalette");i(jci,"setLineData");i(zci,"setBarData");i(Uci,"getDrawableElem");i(Vci,"getChartThemeConfig");i(Hci,"getChartConfig");i(qci,"getXYChartData");Wci=i(function(){Is(),rae=0,nae=zBr(),Hc=UBr(),iae=jBr(),fct=iae.plotColorPalette.split(",").map(t=>t.trim()),v4e=!1,dct=!1},"clear"),WBr={getDrawableElem:Uci,clear:Wci,setAccTitle:Os,getAccTitle:Ws,setDiagramTitle:ao,getDiagramTitle:Js,getAccDescription:Ys,setAccDescription:js,setOrientation:Oci,setXAxisTitle:Pci,setXAxisRangeData:VBr,setXAxisBand:Bci,setYAxisTitle:Fci,setYAxisRangeData:$ci,setLineData:jci,setBarData:zci,setTmpSVGG:Nci,getChartThemeConfig:Vci,getChartConfig:Hci,getXYChartData:qci}});var Yci,KBr,XBr=ie(()=>{"use strict";Xn();y1();Gh();Yci=i((t,r,a,o)=>{let l=o.db,h=l.getChartThemeConfig(),f=l.getChartConfig(),p=l.getXYChartData().plots[0].data.map(I=>I[1]);function m(I){return I==="top"?"text-before-edge":"middle"}i(m,"getDominantBaseLine");function b(I){return I==="left"?"start":I==="right"?"end":"middle"}i(b,"getTextAnchor");function v(I){return`translate(${I.x}, ${I.y}) rotate(${I.rotation||0})`}i(v,"getTextTransformation"),Pe.debug(`Rendering xychart chart +`+t);let T=fu(r),C=T.append("g").attr("class","main"),E=C.append("rect").attr("width",f.width).attr("height",f.height).attr("class","background");vl(T,f.height,f.width,!0),T.attr("viewBox",`0 0 ${f.width} ${f.height}`),E.attr("fill",h.backgroundColor),l.setTmpSVGG(T.append("g").attr("class","mermaid-tmp-group"));let S=l.getDrawableElem(),R={};function L(I){let F=C,O="";for(let[P]of I.entries()){let G=C;P>0&&R[O]&&(G=R[O]),O+=I[P],F=R[O],F||(F=R[O]=G.append("g").attr("class",I[P]))}return F}i(L,"getGroup");for(let I of S){if(I.data.length===0)continue;let F=L(I.groupTexts);switch(I.type){case"rect":if(F.selectAll("rect").data(I.data).enter().append("rect").attr("x",O=>O.x).attr("y",O=>O.y).attr("width",O=>O.width).attr("height",O=>O.height).attr("fill",O=>O.fill).attr("stroke",O=>O.strokeFill).attr("stroke-width",O=>O.strokeWidth),f.showDataLabel){let O=f.showDataLabelOutsideBar;if(f.chartOrientation==="horizontal"){let Y=function(q,Z){let{data:Q,label:W}=q;return Z*W.length*.7<=Q.width-10};var _=Y;i(Y,"fitsHorizontally");let P=.7,G=10,V=I.data.map((q,Z)=>({data:q,label:p[Z].toString()})).filter(q=>q.data.width>0&&q.data.height>0),K=V.map(q=>{let{data:Z}=q,Q=Z.height*.7;for(;!Y(q,Q)&&Q>0;)Q-=1;return Q}),J=Math.floor(Math.min(...K)),H=i(q=>O?q.data.x+q.data.width+10:q.data.x+q.data.width-10,"determineLabelXPosition");F.selectAll("text").data(V).enter().append("text").attr("x",H).attr("y",q=>q.data.y+q.data.height/2).attr("text-anchor",O?"start":"end").attr("dominant-baseline","middle").attr("fill",h.dataLabelColor).attr("font-size",`${J}px`).text(q=>q.label)}else{let V=function(H,q,Z){let{data:Q,label:W}=H,z=q*W.length*.7,re=Q.x+Q.width/2,ae=re-z/2,ce=re+z/2,le=ae>=Q.x&&ce<=Q.x+Q.width,de=Q.y+Z+q<=Q.y+Q.height;return le&&de};var M=V;i(V,"fitsInBar");let P=10,G=I.data.map((H,q)=>({data:H,label:p[q].toString()})).filter(H=>H.data.width>0&&H.data.height>0),Y=G.map(H=>{let{data:q,label:Z}=H,Q=q.width/(Z.length*.7);for(;!V(H,Q,10)&&Q>0;)Q-=1;return Q}),K=Math.floor(Math.min(...Y)),J=i(H=>O?H.data.y-10:H.data.y+10,"determineLabelYPosition");F.selectAll("text").data(G).enter().append("text").attr("x",H=>H.data.x+H.data.width/2).attr("y",J).attr("text-anchor","middle").attr("dominant-baseline",O?"auto":"hanging").attr("fill",h.dataLabelColor).attr("font-size",`${K}px`).text(H=>H.label)}}break;case"text":F.selectAll("text").data(I.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",O=>O.fill).attr("font-size",O=>O.fontSize).attr("dominant-baseline",O=>m(O.verticalPos)).attr("text-anchor",O=>b(O.horizontalPos)).attr("transform",O=>v(O)).text(O=>O.text);break;case"path":F.selectAll("path").data(I.data).enter().append("path").attr("d",O=>O.path).attr("fill",O=>O.fill?O.fill:"none").attr("stroke",O=>O.strokeFill).attr("stroke-width",O=>O.strokeWidth);break}}},"draw"),KBr={draw:Yci}});var QBr={};cs(QBr,{diagram:()=>Kci});var Kci,JBr=ie(()=>{"use strict";EBr();YBr();XBr();Kci={parser:CBr,db:WBr,renderer:KBr}});var pct,tFr,rFr=ie(()=>{"use strict";pct=(function(){var t=i(function(ke,Le,he,Ne){for(he=he||{},Ne=ke.length;Ne--;he[ke[Ne]]=Le);return he},"o"),r=[1,3],a=[1,4],o=[1,5],l=[1,6],h=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],f=[1,22],p=[2,7],m=[1,26],b=[1,27],v=[1,28],T=[1,29],C=[1,33],E=[1,34],S=[1,35],R=[1,36],L=[1,37],_=[1,38],M=[1,24],I=[1,31],F=[1,32],O=[1,30],P=[1,39],G=[1,40],V=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],Y=[1,61],K=[89,90],J=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],H=[27,29],q=[1,70],Z=[1,71],Q=[1,72],W=[1,73],te=[1,74],z=[1,75],re=[1,76],ae=[1,83],ce=[1,80],le=[1,84],de=[1,85],ve=[1,86],Se=[1,87],_e=[1,88],Ce=[1,89],Ve=[1,90],De=[1,91],qe=[1,92],Ue=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],We=[63,64],mt=[1,101],ct=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],Ot=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],yr=[1,110],tr=[1,106],Xe=[1,107],Rt=[1,108],ft=[1,109],bt=[1,111],Me=[1,116],Fe=[1,117],je=[1,114],He=[1,115],nt={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:i(function(Le,he,Ne,Ee,ye,be,ht){var Je=be.length-1;switch(ye){case 4:this.$=be[Je].trim(),Ee.setAccTitle(this.$);break;case 5:case 6:this.$=be[Je].trim(),Ee.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:Ee.setDirection("TB");break;case 18:Ee.setDirection("BT");break;case 19:Ee.setDirection("RL");break;case 20:Ee.setDirection("LR");break;case 21:Ee.addRequirement(be[Je-3],be[Je-4]);break;case 22:Ee.addRequirement(be[Je-5],be[Je-6]),Ee.setClass([be[Je-5]],be[Je-3]);break;case 23:Ee.setNewReqId(be[Je-2]);break;case 24:Ee.setNewReqText(be[Je-2]);break;case 25:Ee.setNewReqRisk(be[Je-2]);break;case 26:Ee.setNewReqVerifyMethod(be[Je-2]);break;case 29:this.$=Ee.RequirementType.REQUIREMENT;break;case 30:this.$=Ee.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=Ee.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=Ee.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=Ee.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=Ee.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=Ee.RiskLevel.LOW_RISK;break;case 36:this.$=Ee.RiskLevel.MED_RISK;break;case 37:this.$=Ee.RiskLevel.HIGH_RISK;break;case 38:this.$=Ee.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=Ee.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=Ee.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=Ee.VerifyType.VERIFY_TEST;break;case 42:Ee.addElement(be[Je-3]);break;case 43:Ee.addElement(be[Je-5]),Ee.setClass([be[Je-5]],be[Je-3]);break;case 44:Ee.setNewElementType(be[Je-2]);break;case 45:Ee.setNewElementDocRef(be[Je-2]);break;case 48:Ee.addRelationship(be[Je-2],be[Je],be[Je-4]);break;case 49:Ee.addRelationship(be[Je-2],be[Je-4],be[Je]);break;case 50:this.$=Ee.Relationships.CONTAINS;break;case 51:this.$=Ee.Relationships.COPIES;break;case 52:this.$=Ee.Relationships.DERIVES;break;case 53:this.$=Ee.Relationships.SATISFIES;break;case 54:this.$=Ee.Relationships.VERIFIES;break;case 55:this.$=Ee.Relationships.REFINES;break;case 56:this.$=Ee.Relationships.TRACES;break;case 57:this.$=be[Je-2],Ee.defineClass(be[Je-1],be[Je]);break;case 58:Ee.setClass(be[Je-1],be[Je]);break;case 59:Ee.setClass([be[Je-2]],be[Je]);break;case 60:case 62:this.$=[be[Je]];break;case 61:case 63:this.$=be[Je-2].concat([be[Je]]);break;case 64:this.$=be[Je-2],Ee.setCssStyle(be[Je-1],be[Je]);break;case 65:this.$=[be[Je]];break;case 66:be[Je-2].push(be[Je]),this.$=be[Je-2];break;case 68:this.$=be[Je-1]+be[Je];break}},"anonymous"),table:[{3:1,4:2,6:r,9:a,11:o,13:l},{1:[3]},{3:8,4:2,5:[1,7],6:r,9:a,11:o,13:l},{5:[1,9]},{10:[1,10]},{12:[1,11]},t(h,[2,6]),{3:12,4:2,6:r,9:a,11:o,13:l},{1:[2,2]},{4:17,5:f,7:13,8:p,9:a,11:o,13:l,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:m,22:b,23:v,24:T,25:23,33:25,41:C,42:E,43:S,44:R,45:L,46:_,54:M,72:I,74:F,77:O,89:P,90:G},t(h,[2,4]),t(h,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:f,7:42,8:p,9:a,11:o,13:l,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:m,22:b,23:v,24:T,25:23,33:25,41:C,42:E,43:S,44:R,45:L,46:_,54:M,72:I,74:F,77:O,89:P,90:G},{4:17,5:f,7:43,8:p,9:a,11:o,13:l,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:m,22:b,23:v,24:T,25:23,33:25,41:C,42:E,43:S,44:R,45:L,46:_,54:M,72:I,74:F,77:O,89:P,90:G},{4:17,5:f,7:44,8:p,9:a,11:o,13:l,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:m,22:b,23:v,24:T,25:23,33:25,41:C,42:E,43:S,44:R,45:L,46:_,54:M,72:I,74:F,77:O,89:P,90:G},{4:17,5:f,7:45,8:p,9:a,11:o,13:l,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:m,22:b,23:v,24:T,25:23,33:25,41:C,42:E,43:S,44:R,45:L,46:_,54:M,72:I,74:F,77:O,89:P,90:G},{4:17,5:f,7:46,8:p,9:a,11:o,13:l,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:m,22:b,23:v,24:T,25:23,33:25,41:C,42:E,43:S,44:R,45:L,46:_,54:M,72:I,74:F,77:O,89:P,90:G},{4:17,5:f,7:47,8:p,9:a,11:o,13:l,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:m,22:b,23:v,24:T,25:23,33:25,41:C,42:E,43:S,44:R,45:L,46:_,54:M,72:I,74:F,77:O,89:P,90:G},{4:17,5:f,7:48,8:p,9:a,11:o,13:l,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:m,22:b,23:v,24:T,25:23,33:25,41:C,42:E,43:S,44:R,45:L,46:_,54:M,72:I,74:F,77:O,89:P,90:G},{4:17,5:f,7:49,8:p,9:a,11:o,13:l,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:m,22:b,23:v,24:T,25:23,33:25,41:C,42:E,43:S,44:R,45:L,46:_,54:M,72:I,74:F,77:O,89:P,90:G},{4:17,5:f,7:50,8:p,9:a,11:o,13:l,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:m,22:b,23:v,24:T,25:23,33:25,41:C,42:E,43:S,44:R,45:L,46:_,54:M,72:I,74:F,77:O,89:P,90:G},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},t(V,[2,17]),t(V,[2,18]),t(V,[2,19]),t(V,[2,20]),{30:60,33:62,75:Y,89:P,90:G},{30:63,33:62,75:Y,89:P,90:G},{30:64,33:62,75:Y,89:P,90:G},t(K,[2,29]),t(K,[2,30]),t(K,[2,31]),t(K,[2,32]),t(K,[2,33]),t(K,[2,34]),t(J,[2,81]),t(J,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},t(H,[2,79]),t(H,[2,80]),{27:[1,67],29:[1,68]},t(H,[2,85]),t(H,[2,86]),{62:69,65:q,66:Z,67:Q,68:W,69:te,70:z,71:re},{62:77,65:q,66:Z,67:Q,68:W,69:te,70:z,71:re},{30:78,33:62,75:Y,89:P,90:G},{73:79,75:ae,76:ce,78:81,79:82,80:le,81:de,82:ve,83:Se,84:_e,85:Ce,86:Ve,87:De,88:qe},t(Ue,[2,60]),t(Ue,[2,62]),{73:93,75:ae,76:ce,78:81,79:82,80:le,81:de,82:ve,83:Se,84:_e,85:Ce,86:Ve,87:De,88:qe},{30:94,33:62,75:Y,76:ce,89:P,90:G},{5:[1,95]},{30:96,33:62,75:Y,89:P,90:G},{5:[1,97]},{30:98,33:62,75:Y,89:P,90:G},{63:[1,99]},t(We,[2,50]),t(We,[2,51]),t(We,[2,52]),t(We,[2,53]),t(We,[2,54]),t(We,[2,55]),t(We,[2,56]),{64:[1,100]},t(V,[2,59],{76:ce}),t(V,[2,64],{76:mt}),{33:103,75:[1,102],89:P,90:G},t(ct,[2,65],{79:104,75:ae,80:le,81:de,82:ve,83:Se,84:_e,85:Ce,86:Ve,87:De,88:qe}),t(Ot,[2,67]),t(Ot,[2,69]),t(Ot,[2,70]),t(Ot,[2,71]),t(Ot,[2,72]),t(Ot,[2,73]),t(Ot,[2,74]),t(Ot,[2,75]),t(Ot,[2,76]),t(Ot,[2,77]),t(Ot,[2,78]),t(V,[2,57],{76:mt}),t(V,[2,58],{76:ce}),{5:yr,28:105,31:tr,34:Xe,36:Rt,38:ft,40:bt},{27:[1,112],76:ce},{5:Me,40:Fe,56:113,57:je,59:He},{27:[1,118],76:ce},{33:119,89:P,90:G},{33:120,89:P,90:G},{75:ae,78:121,79:82,80:le,81:de,82:ve,83:Se,84:_e,85:Ce,86:Ve,87:De,88:qe},t(Ue,[2,61]),t(Ue,[2,63]),t(Ot,[2,68]),t(V,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:yr,28:126,31:tr,34:Xe,36:Rt,38:ft,40:bt},t(V,[2,28]),{5:[1,127]},t(V,[2,42]),{32:[1,128]},{32:[1,129]},{5:Me,40:Fe,56:130,57:je,59:He},t(V,[2,47]),{5:[1,131]},t(V,[2,48]),t(V,[2,49]),t(ct,[2,66],{79:104,75:ae,80:le,81:de,82:ve,83:Se,84:_e,85:Ce,86:Ve,87:De,88:qe}),{33:132,89:P,90:G},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},t(V,[2,27]),{5:yr,28:145,31:tr,34:Xe,36:Rt,38:ft,40:bt},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},t(V,[2,46]),{5:Me,40:Fe,56:152,57:je,59:He},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},t(V,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},t(V,[2,43]),{5:yr,28:159,31:tr,34:Xe,36:Rt,38:ft,40:bt},{5:yr,28:160,31:tr,34:Xe,36:Rt,38:ft,40:bt},{5:yr,28:161,31:tr,34:Xe,36:Rt,38:ft,40:bt},{5:yr,28:162,31:tr,34:Xe,36:Rt,38:ft,40:bt},{5:Me,40:Fe,56:163,57:je,59:He},{5:Me,40:Fe,56:164,57:je,59:He},t(V,[2,23]),t(V,[2,24]),t(V,[2,25]),t(V,[2,26]),t(V,[2,44]),t(V,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:i(function(Le,he){if(he.recoverable)this.trace(Le);else{var Ne=new Error(Le);throw Ne.hash=he,Ne}},"parseError"),parse:i(function(Le){var he=this,Ne=[0],Ee=[],ye=[null],be=[],ht=this.table,Je="",it=0,lt=0,Vt=0,$t=2,gr=1,jt=be.slice.call(arguments,1),qt=Object.create(this.lexer),Wt={yy:{}};for(var Ut in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ut)&&(Wt.yy[Ut]=this.yy[Ut]);qt.setInput(Le,Wt.yy),Wt.yy.lexer=qt,Wt.yy.parser=this,typeof qt.yylloc>"u"&&(qt.yylloc={});var rn=qt.yylloc;be.push(rn);var pt=qt.options&&qt.options.ranges;typeof Wt.yy.parseError=="function"?this.parseError=Wt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function $n(dt){Ne.length=Ne.length-2*dt,ye.length=ye.length-dt,be.length=be.length-dt}i($n,"popStack");function Gt(){var dt;return dt=Ee.pop()||qt.lex()||gr,typeof dt!="number"&&(dt instanceof Array&&(Ee=dt,dt=Ee.pop()),dt=he.symbols_[dt]||dt),dt}i(Gt,"lex");for(var Rn,Qn,En,di,Bn,mi,Qr={},Pi,qa,Ke,Tn;;){if(En=Ne[Ne.length-1],this.defaultActions[En]?di=this.defaultActions[En]:((Rn===null||typeof Rn>"u")&&(Rn=Gt()),di=ht[En]&&ht[En][Rn]),typeof di>"u"||!di.length||!di[0]){var Ln="";Tn=[];for(Pi in ht[En])this.terminals_[Pi]&&Pi>$t&&Tn.push("'"+this.terminals_[Pi]+"'");qt.showPosition?Ln="Parse error on line "+(it+1)+`: +`+qt.showPosition()+` +Expecting `+Tn.join(", ")+", got '"+(this.terminals_[Rn]||Rn)+"'":Ln="Parse error on line "+(it+1)+": Unexpected "+(Rn==gr?"end of input":"'"+(this.terminals_[Rn]||Rn)+"'"),this.parseError(Ln,{text:qt.match,token:this.terminals_[Rn]||Rn,line:qt.yylineno,loc:rn,expected:Tn})}if(di[0]instanceof Array&&di.length>1)throw new Error("Parse Error: multiple actions possible at state: "+En+", token: "+Rn);switch(di[0]){case 1:Ne.push(Rn),ye.push(qt.yytext),be.push(qt.yylloc),Ne.push(di[1]),Rn=null,Qn?(Rn=Qn,Qn=null):(lt=qt.yyleng,Je=qt.yytext,it=qt.yylineno,rn=qt.yylloc,Vt>0&&Vt--);break;case 2:if(qa=this.productions_[di[1]][1],Qr.$=ye[ye.length-qa],Qr._$={first_line:be[be.length-(qa||1)].first_line,last_line:be[be.length-1].last_line,first_column:be[be.length-(qa||1)].first_column,last_column:be[be.length-1].last_column},pt&&(Qr._$.range=[be[be.length-(qa||1)].range[0],be[be.length-1].range[1]]),mi=this.performAction.apply(Qr,[Je,lt,it,Wt.yy,di[1],ye,be].concat(jt)),typeof mi<"u")return mi;qa&&(Ne=Ne.slice(0,-1*qa*2),ye=ye.slice(0,-1*qa),be=be.slice(0,-1*qa)),Ne.push(this.productions_[di[1]][0]),ye.push(Qr.$),be.push(Qr._$),Ke=ht[Ne[Ne.length-2]][Ne[Ne.length-1]],Ne.push(Ke);break;case 3:return!0}}return!0},"parse")},ze=(function(){var ke={EOF:1,parseError:i(function(he,Ne){if(this.yy.parser)this.yy.parser.parseError(he,Ne);else throw new Error(he)},"parseError"),setInput:i(function(Le,he){return this.yy=he||this.yy||{},this._input=Le,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var Le=this._input[0];this.yytext+=Le,this.yyleng++,this.offset++,this.match+=Le,this.matched+=Le;var he=Le.match(/(?:\r\n?|\n).*/g);return he?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Le},"input"),unput:i(function(Le){var he=Le.length,Ne=Le.split(/(?:\r\n?|\n)/g);this._input=Le+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-he),this.offset-=he;var Ee=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),Ne.length-1&&(this.yylineno-=Ne.length-1);var ye=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:Ne?(Ne.length===Ee.length?this.yylloc.first_column:0)+Ee[Ee.length-Ne.length].length-Ne[0].length:this.yylloc.first_column-he},this.options.ranges&&(this.yylloc.range=[ye[0],ye[0]+this.yyleng-he]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(Le){this.unput(this.match.slice(Le))},"less"),pastInput:i(function(){var Le=this.matched.substr(0,this.matched.length-this.match.length);return(Le.length>20?"...":"")+Le.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var Le=this.match;return Le.length<20&&(Le+=this._input.substr(0,20-Le.length)),(Le.substr(0,20)+(Le.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var Le=this.pastInput(),he=new Array(Le.length+1).join("-");return Le+this.upcomingInput()+` +`+he+"^"},"showPosition"),test_match:i(function(Le,he){var Ne,Ee,ye;if(this.options.backtrack_lexer&&(ye={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(ye.yylloc.range=this.yylloc.range.slice(0))),Ee=Le[0].match(/(?:\r\n?|\n).*/g),Ee&&(this.yylineno+=Ee.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Ee?Ee[Ee.length-1].length-Ee[Ee.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Le[0].length},this.yytext+=Le[0],this.match+=Le[0],this.matches=Le,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Le[0].length),this.matched+=Le[0],Ne=this.performAction.call(this,this.yy,this,he,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Ne)return Ne;if(this._backtrack){for(var be in ye)this[be]=ye[be];return!1}return!1},"test_match"),next:i(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Le,he,Ne,Ee;this._more||(this.yytext="",this.match="");for(var ye=this._currentRules(),be=0;behe[0].length)){if(he=Ne,Ee=be,this.options.backtrack_lexer){if(Le=this.test_match(Ne,ye[be]),Le!==!1)return Le;if(this._backtrack){he=!1;continue}else return!1}else if(!this.options.flex)break}return he?(Le=this.test_match(he,ye[Ee]),Le!==!1?Le:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:i(function(){var he=this.next();return he||this.lex()},"lex"),begin:i(function(he){this.conditionStack.push(he)},"begin"),popState:i(function(){var he=this.conditionStack.length-1;return he>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:i(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:i(function(he){return he=this.conditionStack.length-1-Math.abs(he||0),he>=0?this.conditionStack[he]:"INITIAL"},"topState"),pushState:i(function(he){this.begin(he)},"pushState"),stateStackSize:i(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:i(function(he,Ne,Ee,ye){var be=ye;switch(Ee){case 0:return"title";case 1:return this.begin("acc_title"),9;break;case 2:return this.popState(),"acc_title_value";break;case 3:return this.begin("acc_descr"),11;break;case 4:return this.popState(),"acc_descr_value";break;case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 21;case 9:return 22;case 10:return 23;case 11:return 24;case 12:return 5;case 13:break;case 14:break;case 15:break;case 16:return 8;case 17:return 6;case 18:return 27;case 19:return 40;case 20:return 29;case 21:return 32;case 22:return 31;case 23:return 34;case 24:return 36;case 25:return 38;case 26:return 41;case 27:return 42;case 28:return 43;case 29:return 44;case 30:return 45;case 31:return 46;case 32:return 47;case 33:return 48;case 34:return 49;case 35:return 50;case 36:return 51;case 37:return 52;case 38:return 53;case 39:return 54;case 40:return 65;case 41:return 66;case 42:return 67;case 43:return 68;case 44:return 69;case 45:return 70;case 46:return 71;case 47:return 57;case 48:return 59;case 49:return this.begin("style"),77;break;case 50:return 75;case 51:return 81;case 52:return 88;case 53:return"PERCENT";case 54:return 86;case 55:return 84;case 56:break;case 57:this.begin("string");break;case 58:this.popState();break;case 59:return this.begin("style"),72;break;case 60:return this.begin("style"),74;break;case 61:return 61;case 62:return 64;case 63:return 63;case 64:this.begin("string");break;case 65:this.popState();break;case 66:return"qString";case 67:return Ne.yytext=Ne.yytext.trim(),89;break;case 68:return 75;case 69:return 80;case 70:return 76}},"anonymous"),rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::{3})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:style\b)/i,/^(?:\w+)/i,/^(?::)/i,/^(?:;)/i,/^(?:%)/i,/^(?:-)/i,/^(?:#)/i,/^(?: )/i,/^(?:["])/i,/^(?:\n)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^:,\r\n\{\<\>\-\=]*)/i,/^(?:\w+)/i,/^(?:[0-9]+)/i,/^(?:,)/i],conditions:{acc_descr_multiline:{rules:[6,7,68,69,70],inclusive:!1},acc_descr:{rules:[4,68,69,70],inclusive:!1},acc_title:{rules:[2,68,69,70],inclusive:!1},style:{rules:[50,51,52,53,54,55,56,57,58,68,69,70],inclusive:!1},unqString:{rules:[68,69,70],inclusive:!1},token:{rules:[68,69,70],inclusive:!1},string:{rules:[65,66,68,69,70],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,59,60,61,62,63,64,67,68,69,70],inclusive:!0}}};return ke})();nt.lexer=ze;function se(){this.yy={}}return i(se,"Parser"),se.prototype=nt,nt.Parser=se,new se})();pct.parser=pct;tFr=pct});var w4e,nFr=ie(()=>{"use strict";ma();Xn();xu();w4e=class{constructor(){this.relations=[];this.latestRequirement=this.getInitialRequirement();this.requirements=new Map;this.latestElement=this.getInitialElement();this.elements=new Map;this.classes=new Map;this.direction="TB";this.RequirementType={REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"};this.RiskLevel={LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"};this.VerifyType={VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"};this.Relationships={CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"};this.setAccTitle=Os;this.getAccTitle=Ws;this.setAccDescription=js;this.getAccDescription=Ys;this.setDiagramTitle=ao;this.getDiagramTitle=Js;this.getConfig=i(()=>Zt().requirement,"getConfig");this.clear(),this.setDirection=this.setDirection.bind(this),this.addRequirement=this.addRequirement.bind(this),this.setNewReqId=this.setNewReqId.bind(this),this.setNewReqRisk=this.setNewReqRisk.bind(this),this.setNewReqText=this.setNewReqText.bind(this),this.setNewReqVerifyMethod=this.setNewReqVerifyMethod.bind(this),this.addElement=this.addElement.bind(this),this.setNewElementType=this.setNewElementType.bind(this),this.setNewElementDocRef=this.setNewElementDocRef.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setCssStyle=this.setCssStyle.bind(this),this.setClass=this.setClass.bind(this),this.defineClass=this.defineClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this)}static{i(this,"RequirementDB")}getDirection(){return this.direction}setDirection(r){this.direction=r}resetLatestRequirement(){this.latestRequirement=this.getInitialRequirement()}resetLatestElement(){this.latestElement=this.getInitialElement()}getInitialRequirement(){return{requirementId:"",text:"",risk:"",verifyMethod:"",name:"",type:"",cssStyles:[],classes:["default"]}}getInitialElement(){return{name:"",type:"",docRef:"",cssStyles:[],classes:["default"]}}addRequirement(r,a){return this.requirements.has(r)||this.requirements.set(r,{name:r,type:a,requirementId:this.latestRequirement.requirementId,text:this.latestRequirement.text,risk:this.latestRequirement.risk,verifyMethod:this.latestRequirement.verifyMethod,cssStyles:[],classes:["default"]}),this.resetLatestRequirement(),this.requirements.get(r)}getRequirements(){return this.requirements}setNewReqId(r){this.latestRequirement!==void 0&&(this.latestRequirement.requirementId=r)}setNewReqText(r){this.latestRequirement!==void 0&&(this.latestRequirement.text=r)}setNewReqRisk(r){this.latestRequirement!==void 0&&(this.latestRequirement.risk=r)}setNewReqVerifyMethod(r){this.latestRequirement!==void 0&&(this.latestRequirement.verifyMethod=r)}addElement(r){return this.elements.has(r)||(this.elements.set(r,{name:r,type:this.latestElement.type,docRef:this.latestElement.docRef,cssStyles:[],classes:["default"]}),Pe.info("Added new element: ",r)),this.resetLatestElement(),this.elements.get(r)}getElements(){return this.elements}setNewElementType(r){this.latestElement!==void 0&&(this.latestElement.type=r)}setNewElementDocRef(r){this.latestElement!==void 0&&(this.latestElement.docRef=r)}addRelationship(r,a,o){this.relations.push({type:r,src:a,dst:o})}getRelationships(){return this.relations}clear(){this.relations=[],this.resetLatestRequirement(),this.requirements=new Map,this.resetLatestElement(),this.elements=new Map,this.classes=new Map,Is()}setCssStyle(r,a){for(let o of r){let l=this.requirements.get(o)??this.elements.get(o);if(!a||!l)return;for(let h of a)h.includes(",")?l.cssStyles.push(...h.split(",")):l.cssStyles.push(h)}}setClass(r,a){for(let o of r){let l=this.requirements.get(o)??this.elements.get(o);if(l)for(let h of a){l.classes.push(h);let f=this.classes.get(h)?.styles;f&&l.cssStyles.push(...f)}}}defineClass(r,a){for(let o of r){let l=this.classes.get(o);l===void 0&&(l={id:o,styles:[],textStyles:[]},this.classes.set(o,l)),a&&a.forEach(function(h){if(/color/.exec(h)){let f=h.replace("fill","bgFill");l.textStyles.push(f)}l.styles.push(h)}),this.requirements.forEach(h=>{h.classes.includes(o)&&h.cssStyles.push(...a.flatMap(f=>f.split(",")))}),this.elements.forEach(h=>{h.classes.includes(o)&&h.cssStyles.push(...a.flatMap(f=>f.split(",")))})}}getClasses(){return this.classes}getData(){let r=Zt(),a=[],o=[];for(let h of this.requirements.values()){let f=h;f.id=h.name,f.cssStyles=h.cssStyles,f.cssClasses=h.classes.join(" "),f.shape="requirementBox",f.look=r.look,f.colorIndex=a.length,a.push(f)}for(let h of this.elements.values()){let f=h;f.shape="requirementBox",f.look=r.look,f.id=h.name,f.cssStyles=h.cssStyles,f.cssClasses=h.classes.join(" "),f.colorIndex=a.length,a.push(f)}let l=0;for(let h of this.relations){let f=h.type===this.Relationships.CONTAINS,p={id:`${h.src}-${h.dst}-${l++}`,start:this.requirements.get(h.src)?.name??this.elements.get(h.src)?.name,end:this.requirements.get(h.dst)?.name??this.elements.get(h.dst)?.name,label:`<<${h.type}>>`,classes:"relationshipLine",style:["fill:none",f?"":"stroke-dasharray: 10,7"],labelpos:"c",thickness:"normal",type:"normal",pattern:f?"normal":"dashed",arrowTypeStart:f?"requirement_contains":"",arrowTypeEnd:f?"":"requirement_arrow",look:r.look,labelType:"markdown"};o.push(p)}return{nodes:a,edges:o,other:{},config:r,direction:this.getDirection()}}}});var Zci,eui,iFr,aFr=ie(()=>{"use strict";Qs();b0();Zci=i(()=>{let t=ii(),{theme:r,themeVariables:a}=t,{bkgColorArray:o,borderColorArray:l}=a;if(!y0(r,l))return"";let h=Lg(t.look),f="",p=m0(o);for(let m=0;m{let r=ii(),{look:a,themeVariables:o}=r,{requirementEdgeLabelBackground:l}=o;return` + ${Zci()} marker { - fill: ${i.relationColor}; - stroke: ${i.relationColor}; + fill: ${t.relationColor}; + stroke: ${t.relationColor}; } marker.cross { - stroke: ${i.lineColor}; + stroke: ${t.lineColor}; } svg { - font-family: ${i.fontFamily}; - font-size: ${i.fontSize}; + font-family: ${t.fontFamily}; + font-size: ${t.fontSize}; } .reqBox { - fill: ${i.requirementBackground}; + fill: ${t.requirementBackground}; fill-opacity: 1.0; - stroke: ${i.requirementBorderColor}; - stroke-width: ${i.requirementBorderSize}; + stroke: ${t.requirementBorderColor}; + stroke-width: ${t.requirementBorderSize}; } .reqTitle, .reqLabel{ - fill: ${i.requirementTextColor}; + fill: ${t.requirementTextColor}; } .reqLabelBox { - fill: ${i.relationLabelBackground}; + fill: ${t.relationLabelBackground}; fill-opacity: 1.0; } .req-title-line { - stroke: ${i.requirementBorderColor}; - stroke-width: ${i.requirementBorderSize}; + stroke: ${t.requirementBorderColor}; + stroke-width: ${t.requirementBorderSize}; } .relationshipLine { - stroke: ${i.relationColor}; - stroke-width: 1; + stroke: ${t.relationColor}; + stroke-width: ${a==="neo"?t.strokeWidth:"1px"}; } .relationshipLabel { - fill: ${i.relationLabelColor}; + fill: ${t.relationLabelColor}; + } + .edgeLabel { + background-color: ${t.edgeLabelBackground}; + } + .edgeLabel .label rect { + fill: ${t.edgeLabelBackground}; + } + .edgeLabel .label text { + fill: ${t.relationLabelColor}; + } + .divider { + stroke: ${t.nodeBorder}; + stroke-width: 1; + } + .label { + font-family: ${t.fontFamily}; + color: ${t.nodeTextColor||t.textColor}; + } + .label text,span { + fill: ${t.nodeTextColor||t.textColor}; + color: ${t.nodeTextColor||t.textColor}; + } + .labelBkg { + background-color: ${l??t.edgeLabelBackground}; + } + +`},"getStyles"),iFr=eui});var gct={};cs(gct,{draw:()=>tui});var tui,sFr=ie(()=>{"use strict";ma();Xn();hA();xS();TS();Ia();tui=i(async function(t,r,a,o){Pe.info("REF0:"),Pe.info("Drawing requirement diagram (unified)",r);let{securityLevel:l,state:h,layout:f,look:p}=Zt(),m=o.db.getData(),b=ay(r,l);m.type=o.type,m.layoutAlgorithm=dy(f),m.nodeSpacing=h?.nodeSpacing??50,m.rankSpacing=h?.rankSpacing??50,m.markers=p==="neo"?["requirement_contains_neo","requirement_arrow_neo"]:["requirement_contains","requirement_arrow"],m.diagramId=r,await fy(m,b);let v=8;Ya.insertTitle(b,"requirementDiagramTitleText",h?.titleTopMargin??25,o.db.getDiagramTitle()),Cm(b,v,"requirementDiagram",h?.useMaxWidth??!0)},"draw")});var oFr={};cs(oFr,{diagram:()=>rui});var rui,lFr=ie(()=>{"use strict";rFr();nFr();aFr();sFr();rui={parser:tFr,get db(){return new w4e},renderer:gct,styles:iFr}});var mct,hFr,fFr=ie(()=>{"use strict";mct=(function(){var t=i(function(gr,jt,qt,Wt){for(qt=qt||{},Wt=gr.length;Wt--;qt[gr[Wt]]=jt);return qt},"o"),r=[1,2],a=[1,3],o=[1,4],l=[2,4],h=[1,9],f=[1,11],p=[1,12],m=[1,14],b=[1,15],v=[1,17],T=[1,18],C=[1,19],E=[1,25],S=[1,26],R=[1,27],L=[1,28],_=[1,29],M=[1,30],I=[1,31],F=[1,32],O=[1,33],P=[1,34],G=[1,35],V=[1,36],Y=[1,37],K=[1,38],J=[1,39],H=[1,40],q=[1,42],Z=[1,43],Q=[1,44],W=[1,45],te=[1,46],z=[1,47],re=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],ae=[1,56],ce=[1,75],le=[1,81],de=[1,82],ve=[1,83],Se=[1,84],_e=[1,85],Ce=[1,86],Ve=[1,87],De=[1,88],qe=[1,89],Ue=[1,90],We=[1,91],mt=[1,92],ct=[1,93],Ot=[1,94],yr=[1,95],tr=[1,96],Xe=[1,97],Rt=[1,98],ft=[1,99],bt=[1,100],Me=[1,101],Fe=[1,102],je=[1,103],He=[1,104],nt=[1,105],ze=[1,106],se=[2,79],ke=[2,78],Le=[4,5,17,51,53,54],he=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],Ne=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],Ee=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],ye=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],be=[5,52],ht=[62,70,71,72,73],Je=[62,73],it=[1,152],lt={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:i(function(jt,qt,Wt,Ut,rn,pt,$n){var Gt=pt.length-1;switch(rn){case 3:return Ut.apply(pt[Gt]),pt[Gt];break;case 4:case 10:this.$=[];break;case 5:case 11:pt[Gt-1].push(pt[Gt]),this.$=pt[Gt-1];break;case 6:case 7:case 12:case 13:this.$=pt[Gt];break;case 8:case 9:case 14:this.$=[];break;case 16:pt[Gt].type="createParticipant",this.$=pt[Gt];break;case 17:pt[Gt-1].unshift({type:"boxStart",boxData:Ut.parseBoxData(pt[Gt-2])}),pt[Gt-1].push({type:"boxEnd",boxText:pt[Gt-2]}),this.$=pt[Gt-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(pt[Gt-2]),sequenceIndexStep:Number(pt[Gt-1]),sequenceVisible:!0,signalType:Ut.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(pt[Gt-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:Ut.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:Ut.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:Ut.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:Ut.LINETYPE.ACTIVE_START,actor:pt[Gt-1].actor};break;case 24:this.$={type:"activeEnd",signalType:Ut.LINETYPE.ACTIVE_END,actor:pt[Gt-1].actor};break;case 30:Ut.setDiagramTitle(pt[Gt].substring(6)),this.$=pt[Gt].substring(6);break;case 31:Ut.setDiagramTitle(pt[Gt].substring(7)),this.$=pt[Gt].substring(7);break;case 32:this.$=pt[Gt].trim(),Ut.setAccTitle(this.$);break;case 33:case 34:this.$=pt[Gt].trim(),Ut.setAccDescription(this.$);break;case 35:pt[Gt-1].unshift({type:"loopStart",loopText:Ut.parseMessage(pt[Gt-2]),signalType:Ut.LINETYPE.LOOP_START}),pt[Gt-1].push({type:"loopEnd",loopText:pt[Gt-2],signalType:Ut.LINETYPE.LOOP_END}),this.$=pt[Gt-1];break;case 36:pt[Gt-1].unshift({type:"rectStart",color:Ut.parseMessage(pt[Gt-2]),signalType:Ut.LINETYPE.RECT_START}),pt[Gt-1].push({type:"rectEnd",color:Ut.parseMessage(pt[Gt-2]),signalType:Ut.LINETYPE.RECT_END}),this.$=pt[Gt-1];break;case 37:pt[Gt-1].unshift({type:"optStart",optText:Ut.parseMessage(pt[Gt-2]),signalType:Ut.LINETYPE.OPT_START}),pt[Gt-1].push({type:"optEnd",optText:Ut.parseMessage(pt[Gt-2]),signalType:Ut.LINETYPE.OPT_END}),this.$=pt[Gt-1];break;case 38:pt[Gt-1].unshift({type:"altStart",altText:Ut.parseMessage(pt[Gt-2]),signalType:Ut.LINETYPE.ALT_START}),pt[Gt-1].push({type:"altEnd",signalType:Ut.LINETYPE.ALT_END}),this.$=pt[Gt-1];break;case 39:pt[Gt-1].unshift({type:"parStart",parText:Ut.parseMessage(pt[Gt-2]),signalType:Ut.LINETYPE.PAR_START}),pt[Gt-1].push({type:"parEnd",signalType:Ut.LINETYPE.PAR_END}),this.$=pt[Gt-1];break;case 40:pt[Gt-1].unshift({type:"parStart",parText:Ut.parseMessage(pt[Gt-2]),signalType:Ut.LINETYPE.PAR_OVER_START}),pt[Gt-1].push({type:"parEnd",signalType:Ut.LINETYPE.PAR_END}),this.$=pt[Gt-1];break;case 41:pt[Gt-1].unshift({type:"criticalStart",criticalText:Ut.parseMessage(pt[Gt-2]),signalType:Ut.LINETYPE.CRITICAL_START}),pt[Gt-1].push({type:"criticalEnd",signalType:Ut.LINETYPE.CRITICAL_END}),this.$=pt[Gt-1];break;case 42:pt[Gt-1].unshift({type:"breakStart",breakText:Ut.parseMessage(pt[Gt-2]),signalType:Ut.LINETYPE.BREAK_START}),pt[Gt-1].push({type:"breakEnd",optText:Ut.parseMessage(pt[Gt-2]),signalType:Ut.LINETYPE.BREAK_END}),this.$=pt[Gt-1];break;case 44:this.$=pt[Gt-3].concat([{type:"option",optionText:Ut.parseMessage(pt[Gt-1]),signalType:Ut.LINETYPE.CRITICAL_OPTION},pt[Gt]]);break;case 46:this.$=pt[Gt-3].concat([{type:"and",parText:Ut.parseMessage(pt[Gt-1]),signalType:Ut.LINETYPE.PAR_AND},pt[Gt]]);break;case 48:this.$=pt[Gt-3].concat([{type:"else",altText:Ut.parseMessage(pt[Gt-1]),signalType:Ut.LINETYPE.ALT_ELSE},pt[Gt]]);break;case 49:pt[Gt-3].draw="participant",pt[Gt-3].type="addParticipant",pt[Gt-3].description=Ut.parseMessage(pt[Gt-1]),this.$=pt[Gt-3];break;case 50:pt[Gt-1].draw="participant",pt[Gt-1].type="addParticipant",this.$=pt[Gt-1];break;case 51:pt[Gt-3].draw="actor",pt[Gt-3].type="addParticipant",pt[Gt-3].description=Ut.parseMessage(pt[Gt-1]),this.$=pt[Gt-3];break;case 52:case 57:pt[Gt-1].draw="actor",pt[Gt-1].type="addParticipant",this.$=pt[Gt-1];break;case 53:pt[Gt-1].type="destroyParticipant",this.$=pt[Gt-1];break;case 54:pt[Gt-3].draw="participant",pt[Gt-3].type="addParticipant",pt[Gt-3].description=Ut.parseMessage(pt[Gt-1]),this.$=pt[Gt-3];break;case 55:pt[Gt-1].draw="participant",pt[Gt-1].type="addParticipant",this.$=pt[Gt-1];break;case 56:pt[Gt-3].draw="actor",pt[Gt-3].type="addParticipant",pt[Gt-3].description=Ut.parseMessage(pt[Gt-1]),this.$=pt[Gt-3];break;case 58:this.$=[pt[Gt-1],{type:"addNote",placement:pt[Gt-2],actor:pt[Gt-1].actor,text:pt[Gt]}];break;case 59:pt[Gt-2]=[].concat(pt[Gt-1],pt[Gt-1]).slice(0,2),pt[Gt-2][0]=pt[Gt-2][0].actor,pt[Gt-2][1]=pt[Gt-2][1].actor,this.$=[pt[Gt-1],{type:"addNote",placement:Ut.PLACEMENT.OVER,actor:pt[Gt-2].slice(0,2),text:pt[Gt]}];break;case 60:this.$=[pt[Gt-1],{type:"addLinks",actor:pt[Gt-1].actor,text:pt[Gt]}];break;case 61:this.$=[pt[Gt-1],{type:"addALink",actor:pt[Gt-1].actor,text:pt[Gt]}];break;case 62:this.$=[pt[Gt-1],{type:"addProperties",actor:pt[Gt-1].actor,text:pt[Gt]}];break;case 63:this.$=[pt[Gt-1],{type:"addDetails",actor:pt[Gt-1].actor,text:pt[Gt]}];break;case 66:this.$=[pt[Gt-2],pt[Gt]];break;case 67:this.$=pt[Gt];break;case 68:this.$=Ut.PLACEMENT.LEFTOF;break;case 69:this.$=Ut.PLACEMENT.RIGHTOF;break;case 70:this.$=[pt[Gt-4],pt[Gt-1],{type:"addMessage",from:pt[Gt-4].actor,to:pt[Gt-1].actor,signalType:pt[Gt-3],msg:pt[Gt],activate:!0},{type:"activeStart",signalType:Ut.LINETYPE.ACTIVE_START,actor:pt[Gt-1].actor}];break;case 71:this.$=[pt[Gt-4],pt[Gt-1],{type:"addMessage",from:pt[Gt-4].actor,to:pt[Gt-1].actor,signalType:pt[Gt-3],msg:pt[Gt]},{type:"activeEnd",signalType:Ut.LINETYPE.ACTIVE_END,actor:pt[Gt-4].actor}];break;case 72:this.$=[pt[Gt-4],pt[Gt-1],{type:"addMessage",from:pt[Gt-4].actor,to:pt[Gt-1].actor,signalType:pt[Gt-3],msg:pt[Gt],activate:!0,centralConnection:Ut.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:Ut.LINETYPE.CENTRAL_CONNECTION,actor:pt[Gt-1].actor}];break;case 73:this.$=[pt[Gt-4],pt[Gt-1],{type:"addMessage",from:pt[Gt-4].actor,to:pt[Gt-1].actor,signalType:pt[Gt-2],msg:pt[Gt],activate:!1,centralConnection:Ut.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:Ut.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:pt[Gt-4].actor}];break;case 74:this.$=[pt[Gt-5],pt[Gt-1],{type:"addMessage",from:pt[Gt-5].actor,to:pt[Gt-1].actor,signalType:pt[Gt-3],msg:pt[Gt],activate:!0,centralConnection:Ut.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:Ut.LINETYPE.CENTRAL_CONNECTION,actor:pt[Gt-1].actor},{type:"centralConnectionReverse",signalType:Ut.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:pt[Gt-5].actor}];break;case 75:this.$=[pt[Gt-3],pt[Gt-1],{type:"addMessage",from:pt[Gt-3].actor,to:pt[Gt-1].actor,signalType:pt[Gt-2],msg:pt[Gt]}];break;case 76:this.$={type:"addParticipant",actor:pt[Gt-1],config:pt[Gt]};break;case 77:this.$=pt[Gt-1].trim();break;case 78:case 79:this.$={type:"addParticipant",actor:pt[Gt]};break;case 80:this.$=Ut.LINETYPE.SOLID_OPEN;break;case 81:this.$=Ut.LINETYPE.DOTTED_OPEN;break;case 82:this.$=Ut.LINETYPE.SOLID;break;case 83:this.$=Ut.LINETYPE.SOLID_TOP;break;case 84:this.$=Ut.LINETYPE.SOLID_BOTTOM;break;case 85:this.$=Ut.LINETYPE.STICK_TOP;break;case 86:this.$=Ut.LINETYPE.STICK_BOTTOM;break;case 87:this.$=Ut.LINETYPE.SOLID_TOP_DOTTED;break;case 88:this.$=Ut.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 89:this.$=Ut.LINETYPE.STICK_TOP_DOTTED;break;case 90:this.$=Ut.LINETYPE.STICK_BOTTOM_DOTTED;break;case 91:this.$=Ut.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 92:this.$=Ut.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 93:this.$=Ut.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 94:this.$=Ut.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 95:this.$=Ut.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 96:this.$=Ut.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 97:this.$=Ut.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 98:this.$=Ut.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 99:this.$=Ut.LINETYPE.BIDIRECTIONAL_SOLID;break;case 100:this.$=Ut.LINETYPE.DOTTED;break;case 101:this.$=Ut.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 102:this.$=Ut.LINETYPE.SOLID_CROSS;break;case 103:this.$=Ut.LINETYPE.DOTTED_CROSS;break;case 104:this.$=Ut.LINETYPE.SOLID_POINT;break;case 105:this.$=Ut.LINETYPE.DOTTED_POINT;break;case 106:this.$=Ut.parseMessage(pt[Gt].trim().substring(1));break}},"anonymous"),table:[{3:1,4:r,5:a,6:o},{1:[3]},{3:5,4:r,5:a,6:o},{3:6,4:r,5:a,6:o},t([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],l,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:h,5:f,8:8,9:10,10:p,13:13,14:m,15:b,18:16,19:v,22:T,23:41,24:C,25:20,26:21,27:22,28:23,29:24,30:E,31:S,32:R,34:L,36:_,37:M,38:I,39:F,40:O,42:P,44:G,45:V,47:Y,51:K,53:J,54:H,56:q,61:Z,62:Q,63:W,64:te,73:z},t(re,[2,5]),{9:48,13:13,14:m,15:b,18:16,19:v,22:T,23:41,24:C,25:20,26:21,27:22,28:23,29:24,30:E,31:S,32:R,34:L,36:_,37:M,38:I,39:F,40:O,42:P,44:G,45:V,47:Y,51:K,53:J,54:H,56:q,61:Z,62:Q,63:W,64:te,73:z},t(re,[2,7]),t(re,[2,8]),t(re,[2,9]),t(re,[2,15]),{13:49,51:K,53:J,54:H},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,62:ae,73:z},{23:57,62:ae,73:z},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},{5:[1,62]},t(re,[2,30]),t(re,[2,31]),{33:[1,63]},{35:[1,64]},t(re,[2,34]),{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{16:[1,72]},{23:73,55:74,62:ae,73:ce},{23:76,55:77,62:ae,73:ce},{23:78,62:ae,73:z},{69:79,72:[1,80],78:le,79:de,80:ve,81:Se,82:_e,83:Ce,84:Ve,85:De,86:qe,87:Ue,88:We,89:mt,90:ct,91:Ot,92:yr,93:tr,94:Xe,95:Rt,96:ft,97:bt,98:Me,99:Fe,100:je,101:He,102:nt,103:ze},{57:107,59:[1,108],67:[1,109],68:[1,110]},{23:111,62:ae,73:z},t([72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],se,{23:112,62:ae,73:z}),{23:113,62:ae,73:z},{23:114,62:ae,73:z},t([5,66,72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],ke),t(re,[2,6]),t(re,[2,16]),t(Le,[2,10],{11:115}),t(re,[2,18]),{5:[1,117],20:[1,116]},{5:[1,118]},t(re,[2,22]),{5:[1,119]},t([5,52,66,104],se),{5:[1,120]},t(re,[2,25]),t(re,[2,26]),t(re,[2,27]),t(re,[2,28]),t(re,[2,29]),t(re,[2,32]),t(re,[2,33]),t(he,l,{7:121}),t(he,l,{7:122}),t(he,l,{7:123}),t(Ne,l,{41:124,7:125}),t(Ee,l,{43:126,7:127}),t(Ee,l,{7:127,43:128}),t(ye,l,{46:129,7:130}),t(he,l,{7:131}),{5:[1,133],52:[1,132]},{5:[1,135],52:[1,134]},t(be,ke,{74:136,75:[1,137]}),{5:[1,139],52:[1,138]},{5:[1,141],52:[1,140]},{5:[1,142]},{23:146,62:ae,70:[1,143],71:[1,144],72:[1,145],73:z},{69:147,78:le,79:de,80:ve,81:Se,82:_e,83:Ce,84:Ve,85:De,86:qe,87:Ue,88:We,89:mt,90:ct,91:Ot,92:yr,93:tr,94:Xe,95:Rt,96:ft,97:bt,98:Me,99:Fe,100:je,101:He,102:nt,103:ze},t(ht,[2,80]),t(ht,[2,81]),t(ht,[2,82]),t(ht,[2,83]),t(ht,[2,84]),t(ht,[2,85]),t(ht,[2,86]),t(ht,[2,87]),t(ht,[2,88]),t(ht,[2,89]),t(ht,[2,90]),t(ht,[2,91]),t(ht,[2,92]),t(ht,[2,93]),t(ht,[2,94]),t(ht,[2,95]),t(ht,[2,96]),t(ht,[2,97]),t(ht,[2,98]),t(ht,[2,99]),t(ht,[2,100]),t(ht,[2,101]),t(ht,[2,102]),t(ht,[2,103]),t(ht,[2,104]),t(ht,[2,105]),{23:148,62:ae,73:z},{23:150,60:149,62:ae,73:z},t(Je,[2,68]),t(Je,[2,69]),{58:151,104:it},{58:153,104:it},{58:154,104:it},{58:155,104:it},{4:[1,158],5:[1,160],12:157,13:159,17:[1,156],51:K,53:J,54:H},{5:[1,161]},t(re,[2,20]),t(re,[2,21]),t(re,[2,23]),t(re,[2,24]),{4:h,5:f,8:8,9:10,10:p,13:13,14:m,15:b,17:[1,162],18:16,19:v,22:T,23:41,24:C,25:20,26:21,27:22,28:23,29:24,30:E,31:S,32:R,34:L,36:_,37:M,38:I,39:F,40:O,42:P,44:G,45:V,47:Y,51:K,53:J,54:H,56:q,61:Z,62:Q,63:W,64:te,73:z},{4:h,5:f,8:8,9:10,10:p,13:13,14:m,15:b,17:[1,163],18:16,19:v,22:T,23:41,24:C,25:20,26:21,27:22,28:23,29:24,30:E,31:S,32:R,34:L,36:_,37:M,38:I,39:F,40:O,42:P,44:G,45:V,47:Y,51:K,53:J,54:H,56:q,61:Z,62:Q,63:W,64:te,73:z},{4:h,5:f,8:8,9:10,10:p,13:13,14:m,15:b,17:[1,164],18:16,19:v,22:T,23:41,24:C,25:20,26:21,27:22,28:23,29:24,30:E,31:S,32:R,34:L,36:_,37:M,38:I,39:F,40:O,42:P,44:G,45:V,47:Y,51:K,53:J,54:H,56:q,61:Z,62:Q,63:W,64:te,73:z},{17:[1,165]},{4:h,5:f,8:8,9:10,10:p,13:13,14:m,15:b,17:[2,47],18:16,19:v,22:T,23:41,24:C,25:20,26:21,27:22,28:23,29:24,30:E,31:S,32:R,34:L,36:_,37:M,38:I,39:F,40:O,42:P,44:G,45:V,47:Y,50:[1,166],51:K,53:J,54:H,56:q,61:Z,62:Q,63:W,64:te,73:z},{17:[1,167]},{4:h,5:f,8:8,9:10,10:p,13:13,14:m,15:b,17:[2,45],18:16,19:v,22:T,23:41,24:C,25:20,26:21,27:22,28:23,29:24,30:E,31:S,32:R,34:L,36:_,37:M,38:I,39:F,40:O,42:P,44:G,45:V,47:Y,49:[1,168],51:K,53:J,54:H,56:q,61:Z,62:Q,63:W,64:te,73:z},{17:[1,169]},{17:[1,170]},{4:h,5:f,8:8,9:10,10:p,13:13,14:m,15:b,17:[2,43],18:16,19:v,22:T,23:41,24:C,25:20,26:21,27:22,28:23,29:24,30:E,31:S,32:R,34:L,36:_,37:M,38:I,39:F,40:O,42:P,44:G,45:V,47:Y,48:[1,171],51:K,53:J,54:H,56:q,61:Z,62:Q,63:W,64:te,73:z},{4:h,5:f,8:8,9:10,10:p,13:13,14:m,15:b,17:[1,172],18:16,19:v,22:T,23:41,24:C,25:20,26:21,27:22,28:23,29:24,30:E,31:S,32:R,34:L,36:_,37:M,38:I,39:F,40:O,42:P,44:G,45:V,47:Y,51:K,53:J,54:H,56:q,61:Z,62:Q,63:W,64:te,73:z},{16:[1,173]},t(re,[2,50]),{16:[1,174]},t(re,[2,55]),t(be,[2,76]),{76:[1,175]},{16:[1,176]},t(re,[2,52]),{16:[1,177]},t(re,[2,57]),t(re,[2,53]),{23:178,62:ae,73:z},{23:179,62:ae,73:z},{23:180,62:ae,73:z},{58:181,104:it},{23:182,62:ae,72:[1,183],73:z},{58:184,104:it},{58:185,104:it},{66:[1,186],104:[2,67]},{5:[2,60]},{5:[2,106]},{5:[2,61]},{5:[2,62]},{5:[2,63]},t(re,[2,17]),t(Le,[2,11]),{13:187,51:K,53:J,54:H},t(Le,[2,13]),t(Le,[2,14]),t(re,[2,19]),t(re,[2,35]),t(re,[2,36]),t(re,[2,37]),t(re,[2,38]),{16:[1,188]},t(re,[2,39]),{16:[1,189]},t(re,[2,40]),t(re,[2,41]),{16:[1,190]},t(re,[2,42]),{5:[1,191]},{5:[1,192]},{77:[1,193]},{5:[1,194]},{5:[1,195]},{58:196,104:it},{58:197,104:it},{58:198,104:it},{5:[2,75]},{58:199,104:it},{23:200,62:ae,73:z},{5:[2,58]},{5:[2,59]},{23:201,62:ae,73:z},t(Le,[2,12]),t(Ne,l,{7:125,41:202}),t(Ee,l,{7:127,43:203}),t(ye,l,{7:130,46:204}),t(re,[2,49]),t(re,[2,54]),t(be,[2,77]),t(re,[2,51]),t(re,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:205,104:it},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],151:[2,60],152:[2,106],153:[2,61],154:[2,62],155:[2,63],181:[2,75],184:[2,58],185:[2,59],196:[2,70],197:[2,71],198:[2,72],199:[2,73],201:[2,66],202:[2,48],203:[2,46],204:[2,44],205:[2,74]},parseError:i(function(jt,qt){if(qt.recoverable)this.trace(jt);else{var Wt=new Error(jt);throw Wt.hash=qt,Wt}},"parseError"),parse:i(function(jt){var qt=this,Wt=[0],Ut=[],rn=[null],pt=[],$n=this.table,Gt="",Rn=0,Qn=0,En=0,di=2,Bn=1,mi=pt.slice.call(arguments,1),Qr=Object.create(this.lexer),Pi={yy:{}};for(var qa in this.yy)Object.prototype.hasOwnProperty.call(this.yy,qa)&&(Pi.yy[qa]=this.yy[qa]);Qr.setInput(jt,Pi.yy),Pi.yy.lexer=Qr,Pi.yy.parser=this,typeof Qr.yylloc>"u"&&(Qr.yylloc={});var Ke=Qr.yylloc;pt.push(Ke);var Tn=Qr.options&&Qr.options.ranges;typeof Pi.yy.parseError=="function"?this.parseError=Pi.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ln(aa){Wt.length=Wt.length-2*aa,rn.length=rn.length-aa,pt.length=pt.length-aa}i(Ln,"popStack");function dt(){var aa;return aa=Ut.pop()||Qr.lex()||Bn,typeof aa!="number"&&(aa instanceof Array&&(Ut=aa,aa=Ut.pop()),aa=qt.symbols_[aa]||aa),aa}i(dt,"lex");for(var rr,Yr,An,Cn,es,vr,an={},Dn,Ni,Gi,va;;){if(An=Wt[Wt.length-1],this.defaultActions[An]?Cn=this.defaultActions[An]:((rr===null||typeof rr>"u")&&(rr=dt()),Cn=$n[An]&&$n[An][rr]),typeof Cn>"u"||!Cn.length||!Cn[0]){var Ua="";va=[];for(Dn in $n[An])this.terminals_[Dn]&&Dn>di&&va.push("'"+this.terminals_[Dn]+"'");Qr.showPosition?Ua="Parse error on line "+(Rn+1)+`: +`+Qr.showPosition()+` +Expecting `+va.join(", ")+", got '"+(this.terminals_[rr]||rr)+"'":Ua="Parse error on line "+(Rn+1)+": Unexpected "+(rr==Bn?"end of input":"'"+(this.terminals_[rr]||rr)+"'"),this.parseError(Ua,{text:Qr.match,token:this.terminals_[rr]||rr,line:Qr.yylineno,loc:Ke,expected:va})}if(Cn[0]instanceof Array&&Cn.length>1)throw new Error("Parse Error: multiple actions possible at state: "+An+", token: "+rr);switch(Cn[0]){case 1:Wt.push(rr),rn.push(Qr.yytext),pt.push(Qr.yylloc),Wt.push(Cn[1]),rr=null,Yr?(rr=Yr,Yr=null):(Qn=Qr.yyleng,Gt=Qr.yytext,Rn=Qr.yylineno,Ke=Qr.yylloc,En>0&&En--);break;case 2:if(Ni=this.productions_[Cn[1]][1],an.$=rn[rn.length-Ni],an._$={first_line:pt[pt.length-(Ni||1)].first_line,last_line:pt[pt.length-1].last_line,first_column:pt[pt.length-(Ni||1)].first_column,last_column:pt[pt.length-1].last_column},Tn&&(an._$.range=[pt[pt.length-(Ni||1)].range[0],pt[pt.length-1].range[1]]),vr=this.performAction.apply(an,[Gt,Qn,Rn,Pi.yy,Cn[1],rn,pt].concat(mi)),typeof vr<"u")return vr;Ni&&(Wt=Wt.slice(0,-1*Ni*2),rn=rn.slice(0,-1*Ni),pt=pt.slice(0,-1*Ni)),Wt.push(this.productions_[Cn[1]][0]),rn.push(an.$),pt.push(an._$),Gi=$n[Wt[Wt.length-2]][Wt[Wt.length-1]],Wt.push(Gi);break;case 3:return!0}}return!0},"parse")},Vt=(function(){var gr={EOF:1,parseError:i(function(qt,Wt){if(this.yy.parser)this.yy.parser.parseError(qt,Wt);else throw new Error(qt)},"parseError"),setInput:i(function(jt,qt){return this.yy=qt||this.yy||{},this._input=jt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var jt=this._input[0];this.yytext+=jt,this.yyleng++,this.offset++,this.match+=jt,this.matched+=jt;var qt=jt.match(/(?:\r\n?|\n).*/g);return qt?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),jt},"input"),unput:i(function(jt){var qt=jt.length,Wt=jt.split(/(?:\r\n?|\n)/g);this._input=jt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-qt),this.offset-=qt;var Ut=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),Wt.length-1&&(this.yylineno-=Wt.length-1);var rn=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:Wt?(Wt.length===Ut.length?this.yylloc.first_column:0)+Ut[Ut.length-Wt.length].length-Wt[0].length:this.yylloc.first_column-qt},this.options.ranges&&(this.yylloc.range=[rn[0],rn[0]+this.yyleng-qt]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(jt){this.unput(this.match.slice(jt))},"less"),pastInput:i(function(){var jt=this.matched.substr(0,this.matched.length-this.match.length);return(jt.length>20?"...":"")+jt.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var jt=this.match;return jt.length<20&&(jt+=this._input.substr(0,20-jt.length)),(jt.substr(0,20)+(jt.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var jt=this.pastInput(),qt=new Array(jt.length+1).join("-");return jt+this.upcomingInput()+` +`+qt+"^"},"showPosition"),test_match:i(function(jt,qt){var Wt,Ut,rn;if(this.options.backtrack_lexer&&(rn={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(rn.yylloc.range=this.yylloc.range.slice(0))),Ut=jt[0].match(/(?:\r\n?|\n).*/g),Ut&&(this.yylineno+=Ut.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Ut?Ut[Ut.length-1].length-Ut[Ut.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+jt[0].length},this.yytext+=jt[0],this.match+=jt[0],this.matches=jt,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(jt[0].length),this.matched+=jt[0],Wt=this.performAction.call(this,this.yy,this,qt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Wt)return Wt;if(this._backtrack){for(var pt in rn)this[pt]=rn[pt];return!1}return!1},"test_match"),next:i(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var jt,qt,Wt,Ut;this._more||(this.yytext="",this.match="");for(var rn=this._currentRules(),pt=0;ptqt[0].length)){if(qt=Wt,Ut=pt,this.options.backtrack_lexer){if(jt=this.test_match(Wt,rn[pt]),jt!==!1)return jt;if(this._backtrack){qt=!1;continue}else return!1}else if(!this.options.flex)break}return qt?(jt=this.test_match(qt,rn[Ut]),jt!==!1?jt:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:i(function(){var qt=this.next();return qt||this.lex()},"lex"),begin:i(function(qt){this.conditionStack.push(qt)},"begin"),popState:i(function(){var qt=this.conditionStack.length-1;return qt>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:i(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:i(function(qt){return qt=this.conditionStack.length-1-Math.abs(qt||0),qt>=0?this.conditionStack[qt]:"INITIAL"},"topState"),pushState:i(function(qt){this.begin(qt)},"pushState"),stateStackSize:i(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:i(function(qt,Wt,Ut,rn){var pt=rn;switch(Ut){case 0:return 5;case 1:break;case 2:break;case 3:break;case 4:break;case 5:break;case 6:return 20;case 7:return this.begin("CONFIG"),75;break;case 8:return 76;case 9:return this.popState(),this.begin("ALIAS"),77;break;case 10:return this.popState(),this.popState(),77;break;case 11:return Wt.yytext=Wt.yytext.trim(),73;break;case 12:return Wt.yytext=Wt.yytext.trim(),this.begin("ALIAS"),73;break;case 13:return Wt.yytext=Wt.yytext.trim(),this.popState(),73;break;case 14:return this.popState(),10;break;case 15:return Wt.yytext=Wt.yytext.trim(),this.popState(),10;break;case 16:return this.begin("LINE"),15;break;case 17:return this.begin("ID"),51;break;case 18:return this.begin("ID"),53;break;case 19:return 14;case 20:return this.begin("ID"),54;break;case 21:return this.popState(),this.popState(),this.begin("LINE"),52;break;case 22:return this.popState(),this.popState(),5;break;case 23:return this.begin("LINE"),37;break;case 24:return this.begin("LINE"),38;break;case 25:return this.begin("LINE"),39;break;case 26:return this.begin("LINE"),40;break;case 27:return this.begin("LINE"),50;break;case 28:return this.begin("LINE"),42;break;case 29:return this.begin("LINE"),44;break;case 30:return this.begin("LINE"),49;break;case 31:return this.begin("LINE"),45;break;case 32:return this.begin("LINE"),48;break;case 33:return this.begin("LINE"),47;break;case 34:return this.popState(),16;break;case 35:return 17;case 36:return 67;case 37:return 68;case 38:return 61;case 39:return 62;case 40:return 63;case 41:return 64;case 42:return 59;case 43:return 56;case 44:return this.begin("ID"),22;break;case 45:return this.begin("ID"),24;break;case 46:return 30;case 47:return 31;case 48:return this.begin("acc_title"),32;break;case 49:return this.popState(),"acc_title_value";break;case 50:return this.begin("acc_descr"),34;break;case 51:return this.popState(),"acc_descr_value";break;case 52:this.begin("acc_descr_multiline");break;case 53:this.popState();break;case 54:return"acc_descr_multiline_value";case 55:return 6;case 56:return 19;case 57:return 21;case 58:return 66;case 59:return 5;case 60:return Wt.yytext=Wt.yytext.trim(),73;break;case 61:return 80;case 62:return 97;case 63:return 98;case 64:return 99;case 65:return 78;case 66:return 79;case 67:return 100;case 68:return 101;case 69:return 102;case 70:return 103;case 71:return 85;case 72:return 86;case 73:return 87;case 74:return 88;case 75:return 93;case 76:return 94;case 77:return 95;case 78:return 96;case 79:return 81;case 80:return 82;case 81:return 83;case 82:return 84;case 83:return 89;case 84:return 90;case 85:return 91;case 86:return 92;case 87:return 104;case 88:return 104;case 89:return 70;case 90:return 71;case 91:return 72;case 92:return 5;case 93:return 10}},"anonymous"),rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:([0-9]+(\.[0-9]{1,2})?|\.[0-9]{1,2})(?=[ \n]+))/i,/^(?:@\{)/i,/^(?:[^\}]+)/i,/^(?:\}(?=\s+as\s))/i,/^(?:\})/i,/^(?:[^<>:\n,;@\s]+(?=\s*@\{))/i,/^(?:[^<>:\n,;@\s]+(?=\s+as\s))/i,/^(?:[^<>:\n,;@]+(?=\s*[\n;#]|$))/i,/^(?:[^<>:\n,;@]*<[^\n]*)/i,/^(?:[^\n]+)/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:create\b)/i,/^(?:destroy\b)/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links(?=[ \t]+[^\/\\\+\(\)<>:\n,;\s\-]))/i,/^(?:link(?=[ \t]+[^\/\\\+\(\)<>:\n,;\s\-]))/i,/^(?:properties(?=[ \t]+[^\/\\\+\(\)<>:\n,;\s\-]))/i,/^(?:details(?=[ \t]+[^\/\\\+\(\)<>:\n,;\s\-]))/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\/\\\+\()\+<\->\->:\n,;]+((?!(-x|--x|-\)|--\)|-\|\\|-\\|-\/|-\/\/|-\|\/|\/\|-|\\\|-|\/\/-|\\\\-|\/\|-|--\|\\|--|\(\)))[\-]*[^\+<\->\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:<<->>)/i,/^(?:-->>)/i,/^(?:<<-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?:--\|\\)/i,/^(?:--\|\/)/i,/^(?:--\\\\)/i,/^(?:--\/\/)/i,/^(?:\/\|--)/i,/^(?:\\\|--)/i,/^(?:\/\/--)/i,/^(?:\\\\--)/i,/^(?:-\|\\)/i,/^(?:-\|\/)/i,/^(?:-\\\\)/i,/^(?:-\/\/)/i,/^(?:\/\|-)/i,/^(?:\\\|-)/i,/^(?:\/\/-)/i,/^(?:\\\\-)/i,/^(?::(?:(?:no)?wrap)?[^#\n;]*)/i,/^(?::)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:\(\))/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[53,54],inclusive:!1},acc_descr:{rules:[51],inclusive:!1},acc_title:{rules:[49],inclusive:!1},ID:{rules:[2,3,7,11,12,13,14,15],inclusive:!1},ALIAS:{rules:[2,3,21,22],inclusive:!1},LINE:{rules:[2,3,34],inclusive:!1},CONFIG:{rules:[8,9,10],inclusive:!1},CONFIG_DATA:{rules:[],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,6,16,17,18,19,20,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,50,52,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93],inclusive:!0}}};return gr})();lt.lexer=Vt;function $t(){this.yy={}}return i($t,"Parser"),$t.prototype=lt,lt.Parser=$t,new $t})();mct.parser=mct;hFr=mct});var sui,oui,lui,aae,x4e,yct=ie(()=>{"use strict";ma();Nz();Xn();e4e();rl();xu();sui={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32,BIDIRECTIONAL_SOLID:33,BIDIRECTIONAL_DOTTED:34,SOLID_TOP:41,SOLID_BOTTOM:42,STICK_TOP:43,STICK_BOTTOM:44,SOLID_ARROW_TOP_REVERSE:45,SOLID_ARROW_BOTTOM_REVERSE:46,STICK_ARROW_TOP_REVERSE:47,STICK_ARROW_BOTTOM_REVERSE:48,SOLID_TOP_DOTTED:51,SOLID_BOTTOM_DOTTED:52,STICK_TOP_DOTTED:53,STICK_BOTTOM_DOTTED:54,SOLID_ARROW_TOP_REVERSE_DOTTED:55,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:56,STICK_ARROW_TOP_REVERSE_DOTTED:57,STICK_ARROW_BOTTOM_REVERSE_DOTTED:58,CENTRAL_CONNECTION:59,CENTRAL_CONNECTION_REVERSE:60,CENTRAL_CONNECTION_DUAL:61},oui={FILLED:0,OPEN:1},lui={LEFTOF:0,RIGHTOF:1,OVER:2},aae={ACTOR:"actor",BOUNDARY:"boundary",COLLECTIONS:"collections",CONTROL:"control",DATABASE:"database",ENTITY:"entity",PARTICIPANT:"participant",QUEUE:"queue"},x4e=class{constructor(){this.state=new KD(()=>({prevActor:void 0,actors:new Map,createdActors:new Map,destroyedActors:new Map,boxes:[],messages:[],notes:[],sequenceNumbersEnabled:!1,wrapEnabled:void 0,currentBox:void 0,lastCreated:void 0,lastDestroyed:void 0}));this.setAccTitle=Os;this.setAccDescription=js;this.setDiagramTitle=ao;this.getAccTitle=Ws;this.getAccDescription=Ys;this.getDiagramTitle=Js;this.apply=this.apply.bind(this),this.parseBoxData=this.parseBoxData.bind(this),this.parseMessage=this.parseMessage.bind(this),this.clear(),this.setWrap(Zt().wrap),this.LINETYPE=sui,this.ARROWTYPE=oui,this.PLACEMENT=lui}static{i(this,"SequenceDB")}addBox(r){this.state.records.boxes.push({name:r.text,wrap:r.wrap??this.autoWrap(),fill:r.color,actorKeys:[]}),this.state.records.currentBox=this.state.records.boxes.slice(-1)[0]}addActor(r,a,o,l,h){let f=this.state.records.currentBox,p;if(h!==void 0){let b;h.includes(` +`)?b=h+` +`:b=`{ +`+h+` +}`,p=y4(b,{schema:m4})}l=p?.type??l,p?.alias&&(!o||o.text===a)&&(o={text:p.alias,wrap:o?.wrap,type:l});let m=this.state.records.actors.get(r);if(m){if(this.state.records.currentBox&&m.box&&this.state.records.currentBox!==m.box)throw new Error(`A same participant should only be defined in one Box: ${m.name} can't be in '${m.box.name}' and in '${this.state.records.currentBox.name}' at the same time.`);if(f=m.box?m.box:this.state.records.currentBox,m.box=f,m&&a===m.name&&o==null)return}if(o?.text==null&&(o={text:a,type:l}),(l==null||o.text==null)&&(o={text:a,type:l}),this.state.records.actors.set(r,{box:f,name:a,description:o.text,wrap:o.wrap??this.autoWrap(),prevActor:this.state.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:l??"participant"}),this.state.records.prevActor){let b=this.state.records.actors.get(this.state.records.prevActor);b&&(b.nextActor=r)}this.state.records.currentBox&&this.state.records.currentBox.actorKeys.push(r),this.state.records.prevActor=r}activationCount(r){let a,o=0;if(!r)return 0;for(a=0;a>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},m}return this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:r,to:a,message:o?.text??"",wrap:o?.wrap??this.autoWrap(),type:l,activate:h,centralConnection:f??0}),!0}hasAtLeastOneBox(){return this.state.records.boxes.length>0}hasAtLeastOneBoxWithTitle(){return this.state.records.boxes.some(r=>r.name)}getMessages(){return this.state.records.messages}getBoxes(){return this.state.records.boxes}getActors(){return this.state.records.actors}getCreatedActors(){return this.state.records.createdActors}getDestroyedActors(){return this.state.records.destroyedActors}getActor(r){return this.state.records.actors.get(r)}getActorKeys(){return[...this.state.records.actors.keys()]}enableSequenceNumbers(){this.state.records.sequenceNumbersEnabled=!0}disableSequenceNumbers(){this.state.records.sequenceNumbersEnabled=!1}showSequenceNumbers(){return this.state.records.sequenceNumbersEnabled}setWrap(r){this.state.records.wrapEnabled=r}extractWrap(r){if(r===void 0)return{};r=r.trim();let a=/^:?wrap:/.exec(r)!==null?!0:/^:?nowrap:/.exec(r)!==null?!1:void 0;return{cleanedText:(a===void 0?r:r.replace(/^:?(?:no)?wrap:/,"")).trim(),wrap:a}}autoWrap(){return this.state.records.wrapEnabled!==void 0?this.state.records.wrapEnabled:Zt().sequence?.wrap??!1}clear(){this.state.reset(),Is()}parseMessage(r){let a=r.trim(),{wrap:o,cleanedText:l}=this.extractWrap(a),h={text:l,wrap:o};return Pe.debug(`parseMessage: ${JSON.stringify(h)}`),h}parseBoxData(r){let a=/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/.exec(r),o=a?.[1]?a[1].trim():"transparent",l=a?.[2]?a[2].trim():void 0;if(window?.CSS)window.CSS.supports("color",o)||(o="transparent",l=r.trim());else{let p=new Option().style;p.color=o,p.color!==o&&(o="transparent",l=r.trim())}let{wrap:h,cleanedText:f}=this.extractWrap(l);return{text:f?Ns(f,Zt()):void 0,color:o,wrap:h}}addNote(r,a,o){let l={actor:r,placement:a,message:o.text,wrap:o.wrap??this.autoWrap()},h=[].concat(r,r);this.state.records.notes.push(l),this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:h[0],to:h[1],message:o.text,wrap:o.wrap??this.autoWrap(),type:this.LINETYPE.NOTE,placement:a})}addLinks(r,a){let o=this.getActor(r);try{let l=Ns(a.text,Zt());l=l.replace(/=/g,"="),l=l.replace(/&/g,"&");let h=JSON.parse(l);this.insertLinks(o,h)}catch(l){Pe.error("error while parsing actor link text",l)}}addALink(r,a){let o=this.getActor(r);try{let l={},h=Ns(a.text,Zt()),f=h.indexOf("@");h=h.replace(/=/g,"="),h=h.replace(/&/g,"&");let p=h.slice(0,f-1).trim(),m=h.slice(f+1).trim();l[p]=m,this.insertLinks(o,l)}catch(l){Pe.error("error while parsing actor link text",l)}}insertLinks(r,a){if(r.links==null)r.links=a;else for(let o in a)r.links[o]=a[o]}addProperties(r,a){let o=this.getActor(r);try{let l=Ns(a.text,Zt()),h=JSON.parse(l);this.insertProperties(o,h)}catch(l){Pe.error("error while parsing actor properties text",l)}}insertProperties(r,a){if(r.properties==null)r.properties=a;else for(let o in a)r.properties[o]=a[o]}boxEnd(){this.state.records.currentBox=void 0}addDetails(r,a){let o=this.getActor(r),l=document.getElementById(a.text);try{let h=l.innerHTML,f=JSON.parse(h);f.properties&&this.insertProperties(o,f.properties),f.links&&this.insertLinks(o,f.links)}catch(h){Pe.error("error while parsing actor details text",h)}}getActorProperty(r,a){if(r?.properties!==void 0)return r.properties[a]}apply(r){if(Array.isArray(r))r.forEach(a=>{this.apply(a)});else switch(r.type){case"sequenceIndex":this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:void 0,to:void 0,message:{start:r.sequenceIndex,step:r.sequenceIndexStep,visible:r.sequenceVisible},wrap:!1,type:r.signalType});break;case"addParticipant":this.addActor(r.actor,r.actor,r.description,r.draw,r.config);break;case"createParticipant":if(this.state.records.actors.has(r.actor))throw new Error("It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior");this.state.records.lastCreated=r.actor,this.addActor(r.actor,r.actor,r.description,r.draw,r.config),this.state.records.createdActors.set(r.actor,this.state.records.messages.length);break;case"destroyParticipant":this.state.records.lastDestroyed=r.actor,this.state.records.destroyedActors.set(r.actor,this.state.records.messages.length);break;case"activeStart":this.addSignal(r.actor,void 0,void 0,r.signalType);break;case"centralConnection":this.addSignal(r.actor,void 0,void 0,r.signalType);break;case"centralConnectionReverse":this.addSignal(r.actor,void 0,void 0,r.signalType);break;case"activeEnd":this.addSignal(r.actor,void 0,void 0,r.signalType);break;case"addNote":this.addNote(r.actor,r.placement,r.text);break;case"addLinks":this.addLinks(r.actor,r.text);break;case"addALink":this.addALink(r.actor,r.text);break;case"addProperties":this.addProperties(r.actor,r.text);break;case"addDetails":this.addDetails(r.actor,r.text);break;case"addMessage":if(this.state.records.lastCreated){if(r.to!==this.state.records.lastCreated)throw new Error("The created participant "+this.state.records.lastCreated.name+" does not have an associated creating message after its declaration. Please check the sequence diagram.");this.state.records.lastCreated=void 0}else if(this.state.records.lastDestroyed){if(r.to!==this.state.records.lastDestroyed&&r.from!==this.state.records.lastDestroyed)throw new Error("The destroyed participant "+this.state.records.lastDestroyed.name+" does not have an associated destroying message after its declaration. Please check the sequence diagram.");this.state.records.lastDestroyed=void 0}this.addSignal(r.from,r.to,r.msg,r.signalType,r.activate,r.centralConnection);break;case"boxStart":this.addBox(r.boxData);break;case"boxEnd":this.boxEnd();break;case"loopStart":this.addSignal(void 0,void 0,r.loopText,r.signalType);break;case"loopEnd":this.addSignal(void 0,void 0,void 0,r.signalType);break;case"rectStart":this.addSignal(void 0,void 0,r.color,r.signalType);break;case"rectEnd":this.addSignal(void 0,void 0,void 0,r.signalType);break;case"optStart":this.addSignal(void 0,void 0,r.optText,r.signalType);break;case"optEnd":this.addSignal(void 0,void 0,void 0,r.signalType);break;case"altStart":this.addSignal(void 0,void 0,r.altText,r.signalType);break;case"else":this.addSignal(void 0,void 0,r.altText,r.signalType);break;case"altEnd":this.addSignal(void 0,void 0,void 0,r.signalType);break;case"setAccTitle":Os(r.text);break;case"parStart":this.addSignal(void 0,void 0,r.parText,r.signalType);break;case"and":this.addSignal(void 0,void 0,r.parText,r.signalType);break;case"parEnd":this.addSignal(void 0,void 0,void 0,r.signalType);break;case"criticalStart":this.addSignal(void 0,void 0,r.criticalText,r.signalType);break;case"option":this.addSignal(void 0,void 0,r.optionText,r.signalType);break;case"criticalEnd":this.addSignal(void 0,void 0,void 0,r.signalType);break;case"breakStart":this.addSignal(void 0,void 0,r.breakText,r.signalType);break;case"breakEnd":this.addSignal(void 0,void 0,void 0,r.signalType);break}}getConfig(){return Zt().sequence}}});var cui,dFr,pFr=ie(()=>{"use strict";ma();cui=i(t=>{let r=t.dropShadow??"none",{look:a}=Zt();return`.actor { + stroke: ${t.actorBorder}; + fill: ${t.actorBkg}; + stroke-width: ${t.strokeWidth??1}; + } + + rect.actor.outer-path[data-look="neo"] { + filter: ${r}; } -`,Fve={CONTAINS:"contains",ARROW:"arrow"},tKe={ReqMarkers:Fve,insertLineEndings:(i,a)=>{let u=i.append("defs").append("marker").attr("id",Fve.CONTAINS+"_line_ending").attr("refX",0).attr("refY",a.line_height/2).attr("markerWidth",a.line_height).attr("markerHeight",a.line_height).attr("orient","auto").append("g");u.append("circle").attr("cx",a.line_height/2).attr("cy",a.line_height/2).attr("r",a.line_height/2).attr("fill","none"),u.append("line").attr("x1",0).attr("x2",a.line_height).attr("y1",a.line_height/2).attr("y2",a.line_height/2).attr("stroke-width",1),u.append("line").attr("y1",0).attr("y2",a.line_height).attr("x1",a.line_height/2).attr("x2",a.line_height/2).attr("stroke-width",1),i.append("defs").append("marker").attr("id",Fve.ARROW+"_line_ending").attr("refX",a.line_height).attr("refY",.5*a.line_height).attr("markerWidth",a.line_height).attr("markerHeight",a.line_height).attr("orient","auto").append("path").attr("d",`M0,0 - L${a.line_height},${a.line_height/2} - M${a.line_height},${a.line_height/2} - L0,${a.line_height}`).attr("stroke-width",1)}};let Ef={},nKe=0;const rKe=(i,a)=>i.insert("rect","#"+a).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",Ef.rect_min_width+"px").attr("height",Ef.rect_min_height+"px"),iKe=(i,a,u)=>{let d=Ef.rect_min_width/2,p=i.append("text").attr("class","req reqLabel reqTitle").attr("id",a).attr("x",d).attr("y",Ef.rect_padding).attr("dominant-baseline","hanging"),v=0;u.forEach(_=>{v==0?p.append("tspan").attr("text-anchor","middle").attr("x",Ef.rect_min_width/2).attr("dy",0).text(_):p.append("tspan").attr("text-anchor","middle").attr("x",Ef.rect_min_width/2).attr("dy",Ef.line_height*.75).text(_),v++});let b=1.5*Ef.rect_padding,y=v*Ef.line_height*.75,E=b+y;return i.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",Ef.rect_min_width).attr("y1",E).attr("y2",E),{titleNode:p,y:E}},sKe=(i,a,u,d)=>{let p=i.append("text").attr("class","req reqLabel").attr("id",a).attr("x",Ef.rect_padding).attr("y",d).attr("dominant-baseline","hanging"),v=0;const b=30;let y=[];return u.forEach(E=>{let _=E.length;for(;_>b&&v<3;){let A=E.substring(0,b);E=E.substring(b,E.length),_=E.length,y[y.length]=A,v++}if(v==3){let A=y[y.length-1];y[y.length-1]=A.substring(0,A.length-4)+"..."}else y[y.length]=E;v=0}),y.forEach(E=>{p.append("tspan").attr("x",Ef.rect_padding).attr("dy",Ef.line_height).text(E)}),p},Nrn=(i,a,u,d)=>{const p=a.node().getTotalLength(),v=a.node().getPointAtLength(p*.5),b="rel"+nKe;nKe++;const E=i.append("text").attr("class","req relationshipLabel").attr("id",b).attr("x",v.x).attr("y",v.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(d).node().getBBox();i.insert("rect","#"+b).attr("class","req reqLabelBox").attr("x",v.x-E.width/2).attr("y",v.y-E.height/2).attr("width",E.width).attr("height",E.height).attr("fill","white").attr("fill-opacity","85%")},Prn=function(i,a,u,d,p){const v=u.edge(nI(a.src),nI(a.dst)),b=E7().x(function(E){return E.x}).y(function(E){return E.y}),y=i.insert("path","#"+d).attr("class","er relationshipLine").attr("d",b(v.points)).attr("fill","none");a.type==p.db.Relationships.CONTAINS?y.attr("marker-start","url("+oi.getUrl(Ef.arrowMarkerAbsolute)+"#"+a.type+"_line_ending)"):(y.attr("stroke-dasharray","10,7"),y.attr("marker-end","url("+oi.getUrl(Ef.arrowMarkerAbsolute)+"#"+tKe.ReqMarkers.ARROW+"_line_ending)")),Nrn(i,y,Ef,`<<${a.type}>>`)},Brn=(i,a,u)=>{Object.keys(i).forEach(d=>{let p=i[d];d=nI(d),Xe.info("Added new requirement: ",d);const v=u.append("g").attr("id",d),b="req-"+d,y=rKe(v,b);let E=iKe(v,d+"_title",[`<<${p.type}>>`,`${p.name}`]);sKe(v,d+"_body",[`Id: ${p.id}`,`Text: ${p.text}`,`Risk: ${p.risk}`,`Verification: ${p.verifyMethod}`],E.y);const _=y.node().getBBox();a.setNode(d,{width:_.width,height:_.height,shape:"rect",id:d})})},Frn=(i,a,u)=>{Object.keys(i).forEach(d=>{let p=i[d];const v=nI(d),b=u.append("g").attr("id",v),y="element-"+v,E=rKe(b,y);let _=iKe(b,y+"_title",["<>",`${d}`]);sKe(b,y+"_body",[`Type: ${p.type||"Not Specified"}`,`Doc Ref: ${p.docRef||"None"}`],_.y);const A=E.node().getBBox();a.setNode(v,{width:A.width,height:A.height,shape:"rect",id:v})})},Rrn=(i,a)=>(i.forEach(function(u){let d=nI(u.src),p=nI(u.dst);a.setEdge(d,p,{relationship:u})}),i),jrn=function(i,a){a.nodes().forEach(function(u){u!==void 0&&a.node(u)!==void 0&&(i.select("#"+u),i.select("#"+u).attr("transform","translate("+(a.node(u).x-a.node(u).width/2)+","+(a.node(u).y-a.node(u).height/2)+" )"))})},nI=i=>i.replace(/\s/g,"").replace(/\./g,"_"),$rn=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:Drn,db:Irn,renderer:{draw:(i,a,u,d)=>{Ef=qt().requirement;const p=Ef.securityLevel;let v;p==="sandbox"&&(v=Dr("#i"+a));const y=Dr(p==="sandbox"?v.nodes()[0].contentDocument.body:"body").select(`[id='${a}']`);tKe.insertLineEndings(y,Ef);const E=new R0({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:Ef.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});let _=d.db.getRequirements(),A=d.db.getElements(),P=d.db.getRelationships();Brn(_,E,y),Frn(A,E,y),Rrn(P,E),XD(E),jrn(y,E),P.forEach(function(ee){Prn(y,ee,E,a,d)});const R=Ef.rect_padding,B=y.node().getBBox(),j=B.width+R*2,W=B.height+R*2;Fg(y,W,j,Ef.useMaxWidth),y.attr("viewBox",`${B.x-R} ${B.y-R} ${j} ${W}`)}},styles:Orn}},Symbol.toStringTag,{value:"Module"}));var Rve=function(){var i=function(yt,Bt,Ze,Dt){for(Ze=Ze||{},Dt=yt.length;Dt--;Ze[yt[Dt]]=Bt);return Ze},a=[1,2],u=[1,3],d=[1,4],p=[2,4],v=[1,9],b=[1,11],y=[1,13],E=[1,14],_=[1,16],A=[1,17],P=[1,18],R=[1,24],B=[1,25],j=[1,26],W=[1,27],ee=[1,28],ie=[1,29],oe=[1,30],be=[1,31],ge=[1,32],ae=[1,33],ne=[1,34],se=[1,35],de=[1,36],X=[1,37],pe=[1,38],G=[1,39],xe=[1,41],U=[1,42],Be=[1,43],Pe=[1,44],je=[1,45],Ie=[1,46],Se=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],Ce=[4,5,16,50,52,53],ke=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],Ke=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],zt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],Ne=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],pn=[68,69,70],Tt=[1,120],Et={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,DOTTED_ARROW:74,SOLID_CROSS:75,DOTTED_CROSS:76,SOLID_POINT:77,DOTTED_POINT:78,TXT:79,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"DOTTED_ARROW",75:"SOLID_CROSS",76:"DOTTED_CROSS",77:"SOLID_POINT",78:"DOTTED_POINT",79:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:function(Bt,Ze,Dt,kt,Nn,ht,qr){var xt=ht.length-1;switch(Nn){case 3:return kt.apply(ht[xt]),ht[xt];case 4:case 9:this.$=[];break;case 5:case 10:ht[xt-1].push(ht[xt]),this.$=ht[xt-1];break;case 6:case 7:case 11:case 12:this.$=ht[xt];break;case 8:case 13:this.$=[];break;case 15:ht[xt].type="createParticipant",this.$=ht[xt];break;case 16:ht[xt-1].unshift({type:"boxStart",boxData:kt.parseBoxData(ht[xt-2])}),ht[xt-1].push({type:"boxEnd",boxText:ht[xt-2]}),this.$=ht[xt-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(ht[xt-2]),sequenceIndexStep:Number(ht[xt-1]),sequenceVisible:!0,signalType:kt.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(ht[xt-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:kt.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:kt.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:kt.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:kt.LINETYPE.ACTIVE_START,actor:ht[xt-1]};break;case 23:this.$={type:"activeEnd",signalType:kt.LINETYPE.ACTIVE_END,actor:ht[xt-1]};break;case 29:kt.setDiagramTitle(ht[xt].substring(6)),this.$=ht[xt].substring(6);break;case 30:kt.setDiagramTitle(ht[xt].substring(7)),this.$=ht[xt].substring(7);break;case 31:this.$=ht[xt].trim(),kt.setAccTitle(this.$);break;case 32:case 33:this.$=ht[xt].trim(),kt.setAccDescription(this.$);break;case 34:ht[xt-1].unshift({type:"loopStart",loopText:kt.parseMessage(ht[xt-2]),signalType:kt.LINETYPE.LOOP_START}),ht[xt-1].push({type:"loopEnd",loopText:ht[xt-2],signalType:kt.LINETYPE.LOOP_END}),this.$=ht[xt-1];break;case 35:ht[xt-1].unshift({type:"rectStart",color:kt.parseMessage(ht[xt-2]),signalType:kt.LINETYPE.RECT_START}),ht[xt-1].push({type:"rectEnd",color:kt.parseMessage(ht[xt-2]),signalType:kt.LINETYPE.RECT_END}),this.$=ht[xt-1];break;case 36:ht[xt-1].unshift({type:"optStart",optText:kt.parseMessage(ht[xt-2]),signalType:kt.LINETYPE.OPT_START}),ht[xt-1].push({type:"optEnd",optText:kt.parseMessage(ht[xt-2]),signalType:kt.LINETYPE.OPT_END}),this.$=ht[xt-1];break;case 37:ht[xt-1].unshift({type:"altStart",altText:kt.parseMessage(ht[xt-2]),signalType:kt.LINETYPE.ALT_START}),ht[xt-1].push({type:"altEnd",signalType:kt.LINETYPE.ALT_END}),this.$=ht[xt-1];break;case 38:ht[xt-1].unshift({type:"parStart",parText:kt.parseMessage(ht[xt-2]),signalType:kt.LINETYPE.PAR_START}),ht[xt-1].push({type:"parEnd",signalType:kt.LINETYPE.PAR_END}),this.$=ht[xt-1];break;case 39:ht[xt-1].unshift({type:"parStart",parText:kt.parseMessage(ht[xt-2]),signalType:kt.LINETYPE.PAR_OVER_START}),ht[xt-1].push({type:"parEnd",signalType:kt.LINETYPE.PAR_END}),this.$=ht[xt-1];break;case 40:ht[xt-1].unshift({type:"criticalStart",criticalText:kt.parseMessage(ht[xt-2]),signalType:kt.LINETYPE.CRITICAL_START}),ht[xt-1].push({type:"criticalEnd",signalType:kt.LINETYPE.CRITICAL_END}),this.$=ht[xt-1];break;case 41:ht[xt-1].unshift({type:"breakStart",breakText:kt.parseMessage(ht[xt-2]),signalType:kt.LINETYPE.BREAK_START}),ht[xt-1].push({type:"breakEnd",optText:kt.parseMessage(ht[xt-2]),signalType:kt.LINETYPE.BREAK_END}),this.$=ht[xt-1];break;case 43:this.$=ht[xt-3].concat([{type:"option",optionText:kt.parseMessage(ht[xt-1]),signalType:kt.LINETYPE.CRITICAL_OPTION},ht[xt]]);break;case 45:this.$=ht[xt-3].concat([{type:"and",parText:kt.parseMessage(ht[xt-1]),signalType:kt.LINETYPE.PAR_AND},ht[xt]]);break;case 47:this.$=ht[xt-3].concat([{type:"else",altText:kt.parseMessage(ht[xt-1]),signalType:kt.LINETYPE.ALT_ELSE},ht[xt]]);break;case 48:ht[xt-3].draw="participant",ht[xt-3].type="addParticipant",ht[xt-3].description=kt.parseMessage(ht[xt-1]),this.$=ht[xt-3];break;case 49:ht[xt-1].draw="participant",ht[xt-1].type="addParticipant",this.$=ht[xt-1];break;case 50:ht[xt-3].draw="actor",ht[xt-3].type="addParticipant",ht[xt-3].description=kt.parseMessage(ht[xt-1]),this.$=ht[xt-3];break;case 51:ht[xt-1].draw="actor",ht[xt-1].type="addParticipant",this.$=ht[xt-1];break;case 52:ht[xt-1].type="destroyParticipant",this.$=ht[xt-1];break;case 53:this.$=[ht[xt-1],{type:"addNote",placement:ht[xt-2],actor:ht[xt-1].actor,text:ht[xt]}];break;case 54:ht[xt-2]=[].concat(ht[xt-1],ht[xt-1]).slice(0,2),ht[xt-2][0]=ht[xt-2][0].actor,ht[xt-2][1]=ht[xt-2][1].actor,this.$=[ht[xt-1],{type:"addNote",placement:kt.PLACEMENT.OVER,actor:ht[xt-2].slice(0,2),text:ht[xt]}];break;case 55:this.$=[ht[xt-1],{type:"addLinks",actor:ht[xt-1].actor,text:ht[xt]}];break;case 56:this.$=[ht[xt-1],{type:"addALink",actor:ht[xt-1].actor,text:ht[xt]}];break;case 57:this.$=[ht[xt-1],{type:"addProperties",actor:ht[xt-1].actor,text:ht[xt]}];break;case 58:this.$=[ht[xt-1],{type:"addDetails",actor:ht[xt-1].actor,text:ht[xt]}];break;case 61:this.$=[ht[xt-2],ht[xt]];break;case 62:this.$=ht[xt];break;case 63:this.$=kt.PLACEMENT.LEFTOF;break;case 64:this.$=kt.PLACEMENT.RIGHTOF;break;case 65:this.$=[ht[xt-4],ht[xt-1],{type:"addMessage",from:ht[xt-4].actor,to:ht[xt-1].actor,signalType:ht[xt-3],msg:ht[xt],activate:!0},{type:"activeStart",signalType:kt.LINETYPE.ACTIVE_START,actor:ht[xt-1]}];break;case 66:this.$=[ht[xt-4],ht[xt-1],{type:"addMessage",from:ht[xt-4].actor,to:ht[xt-1].actor,signalType:ht[xt-3],msg:ht[xt]},{type:"activeEnd",signalType:kt.LINETYPE.ACTIVE_END,actor:ht[xt-4]}];break;case 67:this.$=[ht[xt-3],ht[xt-1],{type:"addMessage",from:ht[xt-3].actor,to:ht[xt-1].actor,signalType:ht[xt-2],msg:ht[xt]}];break;case 68:this.$={type:"addParticipant",actor:ht[xt]};break;case 69:this.$=kt.LINETYPE.SOLID_OPEN;break;case 70:this.$=kt.LINETYPE.DOTTED_OPEN;break;case 71:this.$=kt.LINETYPE.SOLID;break;case 72:this.$=kt.LINETYPE.DOTTED;break;case 73:this.$=kt.LINETYPE.SOLID_CROSS;break;case 74:this.$=kt.LINETYPE.DOTTED_CROSS;break;case 75:this.$=kt.LINETYPE.SOLID_POINT;break;case 76:this.$=kt.LINETYPE.DOTTED_POINT;break;case 77:this.$=kt.parseMessage(ht[xt].trim().substring(1));break}},table:[{3:1,4:a,5:u,6:d},{1:[3]},{3:5,4:a,5:u,6:d},{3:6,4:a,5:u,6:d},i([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],p,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:v,5:b,8:8,9:10,12:12,13:y,14:E,17:15,18:_,21:A,22:40,23:P,24:19,25:20,26:21,27:22,28:23,29:R,30:B,31:j,33:W,35:ee,36:ie,37:oe,38:be,39:ge,41:ae,43:ne,44:se,46:de,50:X,52:pe,53:G,54:xe,59:U,60:Be,61:Pe,62:je,70:Ie},i(Se,[2,5]),{9:47,12:12,13:y,14:E,17:15,18:_,21:A,22:40,23:P,24:19,25:20,26:21,27:22,28:23,29:R,30:B,31:j,33:W,35:ee,36:ie,37:oe,38:be,39:ge,41:ae,43:ne,44:se,46:de,50:X,52:pe,53:G,54:xe,59:U,60:Be,61:Pe,62:je,70:Ie},i(Se,[2,7]),i(Se,[2,8]),i(Se,[2,14]),{12:48,50:X,52:pe,53:G},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:Ie},{22:55,70:Ie},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},i(Se,[2,29]),i(Se,[2,30]),{32:[1,61]},{34:[1,62]},i(Se,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:Ie},{22:72,70:Ie},{22:73,70:Ie},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82]},{55:83,57:[1,84],65:[1,85],66:[1,86]},{22:87,70:Ie},{22:88,70:Ie},{22:89,70:Ie},{22:90,70:Ie},i([5,51,64,71,72,73,74,75,76,77,78,79],[2,68]),i(Se,[2,6]),i(Se,[2,15]),i(Ce,[2,9],{10:91}),i(Se,[2,17]),{5:[1,93],19:[1,92]},{5:[1,94]},i(Se,[2,21]),{5:[1,95]},{5:[1,96]},i(Se,[2,24]),i(Se,[2,25]),i(Se,[2,26]),i(Se,[2,27]),i(Se,[2,28]),i(Se,[2,31]),i(Se,[2,32]),i(ke,p,{7:97}),i(ke,p,{7:98}),i(ke,p,{7:99}),i(Ke,p,{40:100,7:101}),i(zt,p,{42:102,7:103}),i(zt,p,{7:103,42:104}),i(Ne,p,{45:105,7:106}),i(ke,p,{7:107}),{5:[1,109],51:[1,108]},{5:[1,111],51:[1,110]},{5:[1,112]},{22:115,68:[1,113],69:[1,114],70:Ie},i(pn,[2,69]),i(pn,[2,70]),i(pn,[2,71]),i(pn,[2,72]),i(pn,[2,73]),i(pn,[2,74]),i(pn,[2,75]),i(pn,[2,76]),{22:116,70:Ie},{22:118,58:117,70:Ie},{70:[2,63]},{70:[2,64]},{56:119,79:Tt},{56:121,79:Tt},{56:122,79:Tt},{56:123,79:Tt},{4:[1,126],5:[1,128],11:125,12:127,16:[1,124],50:X,52:pe,53:G},{5:[1,129]},i(Se,[2,19]),i(Se,[2,20]),i(Se,[2,22]),i(Se,[2,23]),{4:v,5:b,8:8,9:10,12:12,13:y,14:E,16:[1,130],17:15,18:_,21:A,22:40,23:P,24:19,25:20,26:21,27:22,28:23,29:R,30:B,31:j,33:W,35:ee,36:ie,37:oe,38:be,39:ge,41:ae,43:ne,44:se,46:de,50:X,52:pe,53:G,54:xe,59:U,60:Be,61:Pe,62:je,70:Ie},{4:v,5:b,8:8,9:10,12:12,13:y,14:E,16:[1,131],17:15,18:_,21:A,22:40,23:P,24:19,25:20,26:21,27:22,28:23,29:R,30:B,31:j,33:W,35:ee,36:ie,37:oe,38:be,39:ge,41:ae,43:ne,44:se,46:de,50:X,52:pe,53:G,54:xe,59:U,60:Be,61:Pe,62:je,70:Ie},{4:v,5:b,8:8,9:10,12:12,13:y,14:E,16:[1,132],17:15,18:_,21:A,22:40,23:P,24:19,25:20,26:21,27:22,28:23,29:R,30:B,31:j,33:W,35:ee,36:ie,37:oe,38:be,39:ge,41:ae,43:ne,44:se,46:de,50:X,52:pe,53:G,54:xe,59:U,60:Be,61:Pe,62:je,70:Ie},{16:[1,133]},{4:v,5:b,8:8,9:10,12:12,13:y,14:E,16:[2,46],17:15,18:_,21:A,22:40,23:P,24:19,25:20,26:21,27:22,28:23,29:R,30:B,31:j,33:W,35:ee,36:ie,37:oe,38:be,39:ge,41:ae,43:ne,44:se,46:de,49:[1,134],50:X,52:pe,53:G,54:xe,59:U,60:Be,61:Pe,62:je,70:Ie},{16:[1,135]},{4:v,5:b,8:8,9:10,12:12,13:y,14:E,16:[2,44],17:15,18:_,21:A,22:40,23:P,24:19,25:20,26:21,27:22,28:23,29:R,30:B,31:j,33:W,35:ee,36:ie,37:oe,38:be,39:ge,41:ae,43:ne,44:se,46:de,48:[1,136],50:X,52:pe,53:G,54:xe,59:U,60:Be,61:Pe,62:je,70:Ie},{16:[1,137]},{16:[1,138]},{4:v,5:b,8:8,9:10,12:12,13:y,14:E,16:[2,42],17:15,18:_,21:A,22:40,23:P,24:19,25:20,26:21,27:22,28:23,29:R,30:B,31:j,33:W,35:ee,36:ie,37:oe,38:be,39:ge,41:ae,43:ne,44:se,46:de,47:[1,139],50:X,52:pe,53:G,54:xe,59:U,60:Be,61:Pe,62:je,70:Ie},{4:v,5:b,8:8,9:10,12:12,13:y,14:E,16:[1,140],17:15,18:_,21:A,22:40,23:P,24:19,25:20,26:21,27:22,28:23,29:R,30:B,31:j,33:W,35:ee,36:ie,37:oe,38:be,39:ge,41:ae,43:ne,44:se,46:de,50:X,52:pe,53:G,54:xe,59:U,60:Be,61:Pe,62:je,70:Ie},{15:[1,141]},i(Se,[2,49]),{15:[1,142]},i(Se,[2,51]),i(Se,[2,52]),{22:143,70:Ie},{22:144,70:Ie},{56:145,79:Tt},{56:146,79:Tt},{56:147,79:Tt},{64:[1,148],79:[2,62]},{5:[2,55]},{5:[2,77]},{5:[2,56]},{5:[2,57]},{5:[2,58]},i(Se,[2,16]),i(Ce,[2,10]),{12:149,50:X,52:pe,53:G},i(Ce,[2,12]),i(Ce,[2,13]),i(Se,[2,18]),i(Se,[2,34]),i(Se,[2,35]),i(Se,[2,36]),i(Se,[2,37]),{15:[1,150]},i(Se,[2,38]),{15:[1,151]},i(Se,[2,39]),i(Se,[2,40]),{15:[1,152]},i(Se,[2,41]),{5:[1,153]},{5:[1,154]},{56:155,79:Tt},{56:156,79:Tt},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:157,70:Ie},i(Ce,[2,11]),i(Ke,p,{7:101,40:158}),i(zt,p,{7:103,42:159}),i(Ne,p,{7:106,45:160}),i(Se,[2,48]),i(Se,[2,50]),{5:[2,65]},{5:[2,66]},{79:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],85:[2,63],86:[2,64],119:[2,55],120:[2,77],121:[2,56],122:[2,57],123:[2,58],145:[2,67],146:[2,53],147:[2,54],155:[2,65],156:[2,66],157:[2,61],158:[2,47],159:[2,45],160:[2,43]},parseError:function(Bt,Ze){if(Ze.recoverable)this.trace(Bt);else{var Dt=new Error(Bt);throw Dt.hash=Ze,Dt}},parse:function(Bt){var Ze=this,Dt=[0],kt=[],Nn=[null],ht=[],qr=this.table,xt="",Ri=0,wi=0,ia=2,Hs=1,mo=ht.slice.call(arguments,1),Tr=Object.create(this.lexer),On={yy:{}};for(var Rn in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Rn)&&(On.yy[Rn]=this.yy[Rn]);Tr.setInput(Bt,On.yy),On.yy.lexer=Tr,On.yy.parser=this,typeof Tr.yylloc>"u"&&(Tr.yylloc={});var zn=Tr.yylloc;ht.push(zn);var Ct=Tr.options&&Tr.options.ranges;typeof On.yy.parseError=="function"?this.parseError=On.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function gt(){var _c;return _c=kt.pop()||Tr.lex()||Hs,typeof _c!="number"&&(_c instanceof Array&&(kt=_c,_c=kt.pop()),_c=Ze.symbols_[_c]||_c),_c}for(var on,dn,Ln,Io,Oo={},No,Us,uo,Es;;){if(dn=Dt[Dt.length-1],this.defaultActions[dn]?Ln=this.defaultActions[dn]:((on===null||typeof on>"u")&&(on=gt()),Ln=qr[dn]&&qr[dn][on]),typeof Ln>"u"||!Ln.length||!Ln[0]){var Ou="";Es=[];for(No in qr[dn])this.terminals_[No]&&No>ia&&Es.push("'"+this.terminals_[No]+"'");Tr.showPosition?Ou="Parse error on line "+(Ri+1)+`: -`+Tr.showPosition()+` -Expecting `+Es.join(", ")+", got '"+(this.terminals_[on]||on)+"'":Ou="Parse error on line "+(Ri+1)+": Unexpected "+(on==Hs?"end of input":"'"+(this.terminals_[on]||on)+"'"),this.parseError(Ou,{text:Tr.match,token:this.terminals_[on]||on,line:Tr.yylineno,loc:zn,expected:Es})}if(Ln[0]instanceof Array&&Ln.length>1)throw new Error("Parse Error: multiple actions possible at state: "+dn+", token: "+on);switch(Ln[0]){case 1:Dt.push(on),Nn.push(Tr.yytext),ht.push(Tr.yylloc),Dt.push(Ln[1]),on=null,wi=Tr.yyleng,xt=Tr.yytext,Ri=Tr.yylineno,zn=Tr.yylloc;break;case 2:if(Us=this.productions_[Ln[1]][1],Oo.$=Nn[Nn.length-Us],Oo._$={first_line:ht[ht.length-(Us||1)].first_line,last_line:ht[ht.length-1].last_line,first_column:ht[ht.length-(Us||1)].first_column,last_column:ht[ht.length-1].last_column},Ct&&(Oo._$.range=[ht[ht.length-(Us||1)].range[0],ht[ht.length-1].range[1]]),Io=this.performAction.apply(Oo,[xt,wi,Ri,On.yy,Ln[1],Nn,ht].concat(mo)),typeof Io<"u")return Io;Us&&(Dt=Dt.slice(0,-1*Us*2),Nn=Nn.slice(0,-1*Us),ht=ht.slice(0,-1*Us)),Dt.push(this.productions_[Ln[1]][0]),Nn.push(Oo.$),ht.push(Oo._$),uo=qr[Dt[Dt.length-2]][Dt[Dt.length-1]],Dt.push(uo);break;case 3:return!0}}return!0}},Wt=function(){var yt={EOF:1,parseError:function(Ze,Dt){if(this.yy.parser)this.yy.parser.parseError(Ze,Dt);else throw new Error(Ze)},setInput:function(Bt,Ze){return this.yy=Ze||this.yy||{},this._input=Bt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Bt=this._input[0];this.yytext+=Bt,this.yyleng++,this.offset++,this.match+=Bt,this.matched+=Bt;var Ze=Bt.match(/(?:\r\n?|\n).*/g);return Ze?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Bt},unput:function(Bt){var Ze=Bt.length,Dt=Bt.split(/(?:\r\n?|\n)/g);this._input=Bt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Ze),this.offset-=Ze;var kt=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),Dt.length-1&&(this.yylineno-=Dt.length-1);var Nn=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:Dt?(Dt.length===kt.length?this.yylloc.first_column:0)+kt[kt.length-Dt.length].length-Dt[0].length:this.yylloc.first_column-Ze},this.options.ranges&&(this.yylloc.range=[Nn[0],Nn[0]+this.yyleng-Ze]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(Bt){this.unput(this.match.slice(Bt))},pastInput:function(){var Bt=this.matched.substr(0,this.matched.length-this.match.length);return(Bt.length>20?"...":"")+Bt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Bt=this.match;return Bt.length<20&&(Bt+=this._input.substr(0,20-Bt.length)),(Bt.substr(0,20)+(Bt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Bt=this.pastInput(),Ze=new Array(Bt.length+1).join("-");return Bt+this.upcomingInput()+` -`+Ze+"^"},test_match:function(Bt,Ze){var Dt,kt,Nn;if(this.options.backtrack_lexer&&(Nn={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Nn.yylloc.range=this.yylloc.range.slice(0))),kt=Bt[0].match(/(?:\r\n?|\n).*/g),kt&&(this.yylineno+=kt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:kt?kt[kt.length-1].length-kt[kt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Bt[0].length},this.yytext+=Bt[0],this.match+=Bt[0],this.matches=Bt,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Bt[0].length),this.matched+=Bt[0],Dt=this.performAction.call(this,this.yy,this,Ze,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Dt)return Dt;if(this._backtrack){for(var ht in Nn)this[ht]=Nn[ht];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Bt,Ze,Dt,kt;this._more||(this.yytext="",this.match="");for(var Nn=this._currentRules(),ht=0;htZe[0].length)){if(Ze=Dt,kt=ht,this.options.backtrack_lexer){if(Bt=this.test_match(Dt,Nn[ht]),Bt!==!1)return Bt;if(this._backtrack){Ze=!1;continue}else return!1}else if(!this.options.flex)break}return Ze?(Bt=this.test_match(Ze,Nn[kt]),Bt!==!1?Bt:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var Ze=this.next();return Ze||this.lex()},begin:function(Ze){this.conditionStack.push(Ze)},popState:function(){var Ze=this.conditionStack.length-1;return Ze>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Ze){return Ze=this.conditionStack.length-1-Math.abs(Ze||0),Ze>=0?this.conditionStack[Ze]:"INITIAL"},pushState:function(Ze){this.begin(Ze)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Ze,Dt,kt,Nn){switch(kt){case 0:return 5;case 1:break;case 2:break;case 3:break;case 4:break;case 5:break;case 6:return 19;case 7:return this.begin("LINE"),14;case 8:return this.begin("ID"),50;case 9:return this.begin("ID"),52;case 10:return 13;case 11:return this.begin("ID"),53;case 12:return Dt.yytext=Dt.yytext.trim(),this.begin("ALIAS"),70;case 13:return this.popState(),this.popState(),this.begin("LINE"),51;case 14:return this.popState(),this.popState(),5;case 15:return this.begin("LINE"),36;case 16:return this.begin("LINE"),37;case 17:return this.begin("LINE"),38;case 18:return this.begin("LINE"),39;case 19:return this.begin("LINE"),49;case 20:return this.begin("LINE"),41;case 21:return this.begin("LINE"),43;case 22:return this.begin("LINE"),48;case 23:return this.begin("LINE"),44;case 24:return this.begin("LINE"),47;case 25:return this.begin("LINE"),46;case 26:return this.popState(),15;case 27:return 16;case 28:return 65;case 29:return 66;case 30:return 59;case 31:return 60;case 32:return 61;case 33:return 62;case 34:return 57;case 35:return 54;case 36:return this.begin("ID"),21;case 37:return this.begin("ID"),23;case 38:return 29;case 39:return 30;case 40:return this.begin("acc_title"),31;case 41:return this.popState(),"acc_title_value";case 42:return this.begin("acc_descr"),33;case 43:return this.popState(),"acc_descr_value";case 44:this.begin("acc_descr_multiline");break;case 45:this.popState();break;case 46:return"acc_descr_multiline_value";case 47:return 6;case 48:return 18;case 49:return 20;case 50:return 64;case 51:return 5;case 52:return Dt.yytext=Dt.yytext.trim(),70;case 53:return 73;case 54:return 74;case 55:return 71;case 56:return 72;case 57:return 75;case 58:return 76;case 59:return 77;case 60:return 78;case 61:return 79;case 62:return 68;case 63:return 69;case 64:return 5;case 65:return"INVALID"}},rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:create\b)/i,/^(?:destroy\b)/i,/^(?:[^\->:\n,;]+?([\-]*[^\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[45,46],inclusive:!1},acc_descr:{rules:[43],inclusive:!1},acc_title:{rules:[41],inclusive:!1},ID:{rules:[2,3,12],inclusive:!1},ALIAS:{rules:[2,3,13,14],inclusive:!1},LINE:{rules:[2,3,26],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,6,7,8,9,10,11,15,16,17,18,19,20,21,22,23,24,25,27,28,29,30,31,32,33,34,35,36,37,38,39,40,42,44,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65],inclusive:!0}}};return yt}();Et.lexer=Wt;function un(){this.yy={}}return un.prototype=Et,Et.Parser=un,new un}();Rve.parser=Rve;const zrn=Rve;class qrn{constructor(a){this.init=a,this.records=this.init()}reset(){this.records=this.init()}}const Is=new qrn(()=>({prevActor:void 0,actors:{},createdActors:{},destroyedActors:{},boxes:[],messages:[],notes:[],sequenceNumbersEnabled:!1,wrapEnabled:void 0,currentBox:void 0,lastCreated:void 0,lastDestroyed:void 0})),Hrn=function(i){Is.records.boxes.push({name:i.text,wrap:i.wrap===void 0&&ZC()||!!i.wrap,fill:i.color,actorKeys:[]}),Is.records.currentBox=Is.records.boxes.slice(-1)[0]},jve=function(i,a,u,d){let p=Is.records.currentBox;const v=Is.records.actors[i];if(v){if(Is.records.currentBox&&v.box&&Is.records.currentBox!==v.box)throw new Error("A same participant should only be defined in one Box: "+v.name+" can't be in '"+v.box.name+"' and in '"+Is.records.currentBox.name+"' at the same time.");if(p=v.box?v.box:Is.records.currentBox,v.box=p,v&&a===v.name&&u==null)return}(u==null||u.text==null)&&(u={text:a,wrap:null,type:d}),(d==null||u.text==null)&&(u={text:a,wrap:null,type:d}),Is.records.actors[i]={box:p,name:a,description:u.text,wrap:u.wrap===void 0&&ZC()||!!u.wrap,prevActor:Is.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:d||"participant"},Is.records.prevActor&&Is.records.actors[Is.records.prevActor]&&(Is.records.actors[Is.records.prevActor].nextActor=i),Is.records.currentBox&&Is.records.currentBox.actorKeys.push(i),Is.records.prevActor=i},Urn=i=>{let a,u=0;for(a=0;a>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},b}return Is.records.messages.push({from:i,to:a,message:u.text,wrap:u.wrap===void 0&&ZC()||!!u.wrap,type:d,activate:p}),!0},Grn=function(){return Is.records.boxes.length>0},Krn=function(){return Is.records.boxes.some(i=>i.name)},Wrn=function(){return Is.records.messages},Yrn=function(){return Is.records.boxes},Xrn=function(){return Is.records.actors},Qrn=function(){return Is.records.createdActors},Jrn=function(){return Is.records.destroyedActors},ej=function(i){return Is.records.actors[i]},Zrn=function(){return Object.keys(Is.records.actors)},ein=function(){Is.records.sequenceNumbersEnabled=!0},tin=function(){Is.records.sequenceNumbersEnabled=!1},nin=()=>Is.records.sequenceNumbersEnabled,rin=function(i){Is.records.wrapEnabled=i},ZC=()=>Is.records.wrapEnabled!==void 0?Is.records.wrapEnabled:qt().sequence.wrap,iin=function(){Is.reset(),Rg()},sin=function(i){const a=i.trim(),u={text:a.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:a.match(/^:?wrap:/)!==null?!0:a.match(/^:?nowrap:/)!==null?!1:void 0};return Xe.debug("parseMessage:",u),u},ain=function(i){const a=i.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);let u=a!=null&&a[1]?a[1].trim():"transparent",d=a!=null&&a[2]?a[2].trim():void 0;if(window&&window.CSS)window.CSS.supports("color",u)||(u="transparent",d=i.trim());else{const p=new Option().style;p.color=u,p.color!==u&&(u="transparent",d=i.trim())}return{color:u,text:d!==void 0?bh(d.replace(/^:?(?:no)?wrap:/,""),qt()):void 0,wrap:d!==void 0?d.match(/^:?wrap:/)!==null?!0:d.match(/^:?nowrap:/)!==null?!1:void 0:void 0}},tj={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32},oin={FILLED:0,OPEN:1},cin={LEFTOF:0,RIGHTOF:1,OVER:2},aKe=function(i,a,u){const d={actor:i,placement:a,message:u.text,wrap:u.wrap===void 0&&ZC()||!!u.wrap},p=[].concat(i,i);Is.records.notes.push(d),Is.records.messages.push({from:p[0],to:p[1],message:u.text,wrap:u.wrap===void 0&&ZC()||!!u.wrap,type:tj.NOTE,placement:a})},oKe=function(i,a){const u=ej(i);try{let d=bh(a.text,qt());d=d.replace(/&/g,"&"),d=d.replace(/=/g,"=");const p=JSON.parse(d);$ve(u,p)}catch(d){Xe.error("error while parsing actor link text",d)}},uin=function(i,a){const u=ej(i);try{const b={};let y=bh(a.text,qt());var d=y.indexOf("@");y=y.replace(/&/g,"&"),y=y.replace(/=/g,"=");var p=y.slice(0,d-1).trim(),v=y.slice(d+1).trim();b[p]=v,$ve(u,b)}catch(b){Xe.error("error while parsing actor link text",b)}};function $ve(i,a){if(i.links==null)i.links=a;else for(let u in a)i.links[u]=a[u]}const cKe=function(i,a){const u=ej(i);try{let d=bh(a.text,qt());const p=JSON.parse(d);uKe(u,p)}catch(d){Xe.error("error while parsing actor properties text",d)}};function uKe(i,a){if(i.properties==null)i.properties=a;else for(let u in a)i.properties[u]=a[u]}function lin(){Is.records.currentBox=void 0}const lKe=function(i,a){const u=ej(i),d=document.getElementById(a.text);try{const p=d.innerHTML,v=JSON.parse(p);v.properties&&uKe(u,v.properties),v.links&&$ve(u,v.links)}catch(p){Xe.error("error while parsing actor details text",p)}},hin=function(i,a){if(i!==void 0&&i.properties!==void 0)return i.properties[a]},hKe=function(i){if(Array.isArray(i))i.forEach(function(a){hKe(a)});else switch(i.type){case"sequenceIndex":Is.records.messages.push({from:void 0,to:void 0,message:{start:i.sequenceIndex,step:i.sequenceIndexStep,visible:i.sequenceVisible},wrap:!1,type:i.signalType});break;case"addParticipant":jve(i.actor,i.actor,i.description,i.draw);break;case"createParticipant":if(Is.records.actors[i.actor])throw new Error("It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior");Is.records.lastCreated=i.actor,jve(i.actor,i.actor,i.description,i.draw),Is.records.createdActors[i.actor]=Is.records.messages.length;break;case"destroyParticipant":Is.records.lastDestroyed=i.actor,Is.records.destroyedActors[i.actor]=Is.records.messages.length;break;case"activeStart":Xf(i.actor,void 0,void 0,i.signalType);break;case"activeEnd":Xf(i.actor,void 0,void 0,i.signalType);break;case"addNote":aKe(i.actor,i.placement,i.text);break;case"addLinks":oKe(i.actor,i.text);break;case"addALink":uin(i.actor,i.text);break;case"addProperties":cKe(i.actor,i.text);break;case"addDetails":lKe(i.actor,i.text);break;case"addMessage":if(Is.records.lastCreated){if(i.to!==Is.records.lastCreated)throw new Error("The created participant "+Is.records.lastCreated+" does not have an associated creating message after its declaration. Please check the sequence diagram.");Is.records.lastCreated=void 0}else if(Is.records.lastDestroyed){if(i.to!==Is.records.lastDestroyed&&i.from!==Is.records.lastDestroyed)throw new Error("The destroyed participant "+Is.records.lastDestroyed+" does not have an associated destroying message after its declaration. Please check the sequence diagram.");Is.records.lastDestroyed=void 0}Xf(i.from,i.to,i.msg,i.signalType,i.activate);break;case"boxStart":Hrn(i.boxData);break;case"boxEnd":lin();break;case"loopStart":Xf(void 0,void 0,i.loopText,i.signalType);break;case"loopEnd":Xf(void 0,void 0,void 0,i.signalType);break;case"rectStart":Xf(void 0,void 0,i.color,i.signalType);break;case"rectEnd":Xf(void 0,void 0,void 0,i.signalType);break;case"optStart":Xf(void 0,void 0,i.optText,i.signalType);break;case"optEnd":Xf(void 0,void 0,void 0,i.signalType);break;case"altStart":Xf(void 0,void 0,i.altText,i.signalType);break;case"else":Xf(void 0,void 0,i.altText,i.signalType);break;case"altEnd":Xf(void 0,void 0,void 0,i.signalType);break;case"setAccTitle":jg(i.text);break;case"parStart":Xf(void 0,void 0,i.parText,i.signalType);break;case"and":Xf(void 0,void 0,i.parText,i.signalType);break;case"parEnd":Xf(void 0,void 0,void 0,i.signalType);break;case"criticalStart":Xf(void 0,void 0,i.criticalText,i.signalType);break;case"option":Xf(void 0,void 0,i.optionText,i.signalType);break;case"criticalEnd":Xf(void 0,void 0,void 0,i.signalType);break;case"breakStart":Xf(void 0,void 0,i.breakText,i.signalType);break;case"breakEnd":Xf(void 0,void 0,void 0,i.signalType);break}},fKe={addActor:jve,addMessage:Vrn,addSignal:Xf,addLinks:oKe,addDetails:lKe,addProperties:cKe,autoWrap:ZC,setWrap:rin,enableSequenceNumbers:ein,disableSequenceNumbers:tin,showSequenceNumbers:nin,getMessages:Wrn,getActors:Xrn,getCreatedActors:Qrn,getDestroyedActors:Jrn,getActor:ej,getActorKeys:Zrn,getActorProperty:hin,getAccTitle:Mp,getBoxes:Yrn,getDiagramTitle:Op,setDiagramTitle:pm,getConfig:()=>qt().sequence,clear:iin,parseMessage:sin,parseBoxData:ain,LINETYPE:tj,ARROWTYPE:oin,PLACEMENT:cin,addNote:aKe,setAccTitle:jg,apply:hKe,setAccDescription:Dp,getAccDescription:Ip,hasAtLeastOneBox:Grn,hasAtLeastOneBoxWithTitle:Krn},fin=i=>`.actor { - stroke: ${i.actorBorder}; - fill: ${i.actorBkg}; + rect.note[data-look="neo"] { + stroke:${t.noteBorderColor}; + fill:${t.noteBkgColor}; + filter: ${r}; } text.actor > tspan { - fill: ${i.actorTextColor}; + fill: ${t.actorTextColor}; stroke: none; } .actor-line { - stroke: ${i.actorLineColor}; + stroke: ${t.actorLineColor}; + } + + .innerArc { + stroke-width: 1.5; + stroke-dasharray: none; } .messageLine0 { stroke-width: 1.5; stroke-dasharray: none; - stroke: ${i.signalColor}; + stroke: ${t.signalColor}; } .messageLine1 { stroke-width: 1.5; stroke-dasharray: 2, 2; - stroke: ${i.signalColor}; + stroke: ${t.signalColor}; } - #arrowhead path { - fill: ${i.signalColor}; - stroke: ${i.signalColor}; + [id$="-arrowhead"] path { + fill: ${t.signalColor}; + stroke: ${t.signalColor}; } .sequenceNumber { - fill: ${i.sequenceNumberColor}; + fill: ${t.sequenceNumberColor}; } - #sequencenumber { - fill: ${i.signalColor}; + [id$="-sequencenumber"] { + fill: ${t.signalColor}; } - #crosshead path { - fill: ${i.signalColor}; - stroke: ${i.signalColor}; + [id$="-crosshead"] path { + fill: ${t.signalColor}; + stroke: ${t.signalColor}; } .messageText { - fill: ${i.signalTextColor}; + fill: ${t.signalTextColor}; stroke: none; } .labelBox { - stroke: ${i.labelBoxBorderColor}; - fill: ${i.labelBoxBkgColor}; + stroke: ${t.labelBoxBorderColor}; + fill: ${t.labelBoxBkgColor}; + filter: ${a==="neo"?r:"none"}; } .labelText, .labelText > tspan { - fill: ${i.labelTextColor}; + fill: ${t.labelTextColor}; stroke: none; } .loopText, .loopText > tspan { - fill: ${i.loopTextColor}; + fill: ${t.loopTextColor}; + stroke: none; + } + + .sectionTitle, .sectionTitle > tspan { + fill: ${t.loopTextColor}; stroke: none; } .loopLine { stroke-width: 2px; stroke-dasharray: 2, 2; - stroke: ${i.labelBoxBorderColor}; - fill: ${i.labelBoxBorderColor}; + stroke: ${t.labelBoxBorderColor}; + fill: ${t.labelBoxBorderColor}; } .note { //stroke: #decc93; - stroke: ${i.noteBorderColor}; - fill: ${i.noteBkgColor}; - } - + stroke: ${t.noteBorderColor}; + fill: ${t.noteBkgColor}; + } + + /* + * No font-weight here, deliberately. Note text renders inside tspan elements, and a weight emitted at + * tspan level outranks the inline style drawText puts on the parent text element from the + * sequence.noteFontWeight config key -- so that documented key would never reach the glyphs. + * The theme variable formerly emitted here is a different value from that config key, and + * git/styles.js reads it as its own bold-label weight under redux and neo, so it cannot be + * lowered there either. + */ .noteText, .noteText > tspan { - fill: ${i.noteTextColor}; + fill: ${t.noteTextColor}; stroke: none; } .activation0 { - fill: ${i.activationBkgColor}; - stroke: ${i.activationBorderColor}; + fill: ${t.activationBkgColor}; + stroke: ${t.activationBorderColor}; } .activation1 { - fill: ${i.activationBkgColor}; - stroke: ${i.activationBorderColor}; + fill: ${t.activationBkgColor}; + stroke: ${t.activationBorderColor}; } .activation2 { - fill: ${i.activationBkgColor}; - stroke: ${i.activationBorderColor}; + fill: ${t.activationBkgColor}; + stroke: ${t.activationBorderColor}; } .actorPopupMenu { @@ -1073,28 +2281,52 @@ Expecting `+Es.join(", ")+", got '"+(this.terminals_[on]||on)+"'":Ou="Parse erro .actorPopupMenuPanel { position: absolute; - fill: ${i.actorBkg}; + fill: ${t.actorBkg}; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4)); } - .actor-man line { - stroke: ${i.actorBorder}; - fill: ${i.actorBkg}; - } .actor-man circle, line { - stroke: ${i.actorBorder}; - fill: ${i.actorBkg}; + fill: ${t.actorBkg}; stroke-width: 2px; } -`,eS=18*2,dKe="actor-top",gKe="actor-bottom",zve=function(i,a){return qQ(i,a)},din=function(i,a,u,d,p){if(a.links===void 0||a.links===null||Object.keys(a.links).length===0)return{height:0,width:0};const v=a.links,b=a.actorCnt,y=a.rectData;var E="none";p&&(E="block !important");const _=i.append("g");_.attr("id","actor"+b+"_popup"),_.attr("class","actorPopupMenu"),_.attr("display",E);var A="";y.class!==void 0&&(A=" "+y.class);let P=y.width>u?y.width:u;const R=_.append("rect");if(R.attr("class","actorPopupMenuPanel"+A),R.attr("x",y.x),R.attr("y",y.height),R.attr("fill",y.fill),R.attr("stroke",y.stroke),R.attr("width",P),R.attr("height",y.height),R.attr("rx",y.rx),R.attr("ry",y.ry),v!=null){var B=20;for(let ee in v){var j=_.append("a"),W=b9.sanitizeUrl(v[ee]);j.attr("xlink:href",W),j.attr("target","_blank"),Min(d)(ee,j,y.x+10,y.height+B,P,20,{class:"actor"},d),B+=30}}return R.attr("height",B),{height:y.height+B,width:P}},gin=function(i){return"var pu = document.getElementById('"+i+"'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }"},LJ=async function(i,a,u=null){let d=i.append("foreignObject");const p=await SC(a.text,mh()),b=d.append("xhtml:div").attr("style","width: fit-content;").attr("xmlns","http://www.w3.org/1999/xhtml").html(p).node().getBoundingClientRect();if(d.attr("height",Math.round(b.height)).attr("width",Math.round(b.width)),a.class==="noteText"){const y=i.node().firstChild;y.setAttribute("height",b.height+2*a.textMargin);const E=y.getBBox();d.attr("x",Math.round(E.x+E.width/2-b.width/2)).attr("y",Math.round(E.y+E.height/2-b.height/2))}else if(u){let{startx:y,stopx:E,starty:_}=u;if(y>E){const A=y;y=E,E=A}d.attr("x",Math.round(y+Math.abs(y-E)/2-b.width/2)),a.class==="loopText"?d.attr("y",Math.round(_)):d.attr("y",Math.round(_-b.height))}return[d]},rI=function(i,a){let u=0,d=0;const p=a.text.split(oi.lineBreakRegex),[v,b]=PC(a.fontSize);let y=[],E=0,_=()=>a.y;if(a.valign!==void 0&&a.textMargin!==void 0&&a.textMargin>0)switch(a.valign){case"top":case"start":_=()=>Math.round(a.y+a.textMargin);break;case"middle":case"center":_=()=>Math.round(a.y+(u+d+a.textMargin)/2);break;case"bottom":case"end":_=()=>Math.round(a.y+(u+d+2*a.textMargin)-a.textMargin);break}if(a.anchor!==void 0&&a.textMargin!==void 0&&a.width!==void 0)switch(a.anchor){case"left":case"start":a.x=Math.round(a.x+a.textMargin),a.anchor="start",a.dominantBaseline="middle",a.alignmentBaseline="middle";break;case"middle":case"center":a.x=Math.round(a.x+a.width/2),a.anchor="middle",a.dominantBaseline="middle",a.alignmentBaseline="middle";break;case"right":case"end":a.x=Math.round(a.x+a.width-a.textMargin),a.anchor="end",a.dominantBaseline="middle",a.alignmentBaseline="middle";break}for(let[A,P]of p.entries()){a.textMargin!==void 0&&a.textMargin===0&&v!==void 0&&(E=A*v);const R=i.append("text");R.attr("x",a.x),R.attr("y",_()),a.anchor!==void 0&&R.attr("text-anchor",a.anchor).attr("dominant-baseline",a.dominantBaseline).attr("alignment-baseline",a.alignmentBaseline),a.fontFamily!==void 0&&R.style("font-family",a.fontFamily),b!==void 0&&R.style("font-size",b),a.fontWeight!==void 0&&R.style("font-weight",a.fontWeight),a.fill!==void 0&&R.attr("fill",a.fill),a.class!==void 0&&R.attr("class",a.class),a.dy!==void 0?R.attr("dy",a.dy):E!==0&&R.attr("dy",E);const B=P||Nje;if(a.tspan){const j=R.append("tspan");j.attr("x",a.x),a.fill!==void 0&&j.attr("fill",a.fill),j.text(B)}else R.text(B);a.valign!==void 0&&a.textMargin!==void 0&&a.textMargin>0&&(d+=(R._groups||R)[0][0].getBBox().height,u=d),y.push(R)}return y},pKe=function(i,a){function u(p,v,b,y,E){return p+","+v+" "+(p+b)+","+v+" "+(p+b)+","+(v+y-E)+" "+(p+b-E*1.2)+","+(v+y)+" "+p+","+(v+y)}const d=i.append("polygon");return d.attr("points",u(a.x,a.y,a.width,a.height,7)),d.attr("class","labelBox"),a.y=a.y+a.height/2,rI(i,a),d};let o5=-1;const bKe=(i,a,u,d)=>{i.select&&u.forEach(p=>{const v=a[p],b=i.select("#actor"+v.actorCnt);!d.mirrorActors&&v.stopy?b.attr("y2",v.stopy+v.height/2):d.mirrorActors&&b.attr("y2",v.stopy)})},pin=async function(i,a,u,d){const p=d?a.stopy:a.starty,v=a.x+a.width/2,b=p+5,y=i.append("g").lower();var E=y;d||(o5++,Object.keys(a.links||{}).length&&!u.forceMenus&&E.attr("onclick",gin(`actor${o5}_popup`)).attr("cursor","pointer"),E.append("line").attr("id","actor"+o5).attr("x1",v).attr("y1",b).attr("x2",v).attr("y2",2e3).attr("class","actor-line").attr("class","200").attr("stroke-width","0.5px").attr("stroke","#999"),E=y.append("g"),a.actorCnt=o5,a.links!=null&&E.attr("id","root-"+o5));const _=HC();var A="actor";a.properties!=null&&a.properties.class?A=a.properties.class:_.fill="#eaeaea",d?A+=` ${gKe}`:A+=` ${dKe}`,_.x=a.x,_.y=p,_.width=a.width,_.height=a.height,_.class=A,_.rx=3,_.ry=3,_.name=a.name;const P=zve(E,_);if(a.rectData=_,a.properties!=null&&a.properties.icon){const B=a.properties.icon.trim();B.charAt(0)==="@"?EVt(E,_.x+_.width-20,_.y+10,B.substr(1)):TVt(E,_.x+_.width-20,_.y+10,B)}await qve(u,$v(a.description))(a.description,E,_.x,_.y,_.width,_.height,{class:"actor"},u);let R=a.height;if(P.node){const B=P.node().getBBox();a.height=B.height,R=B.height}return R},bin=async function(i,a,u,d){const p=d?a.stopy:a.starty,v=a.x+a.width/2,b=p+80;i.lower(),d||(o5++,i.append("line").attr("id","actor"+o5).attr("x1",v).attr("y1",b).attr("x2",v).attr("y2",2e3).attr("class","actor-line").attr("class","200").attr("stroke-width","0.5px").attr("stroke","#999"),a.actorCnt=o5);const y=i.append("g");let E="actor-man";d?E+=` ${gKe}`:E+=` ${dKe}`,y.attr("class",E),y.attr("name",a.name);const _=HC();_.x=a.x,_.y=p,_.fill="#eaeaea",_.width=a.width,_.height=a.height,_.class="actor",_.rx=3,_.ry=3,y.append("line").attr("id","actor-man-torso"+o5).attr("x1",v).attr("y1",p+25).attr("x2",v).attr("y2",p+45),y.append("line").attr("id","actor-man-arms"+o5).attr("x1",v-eS/2).attr("y1",p+33).attr("x2",v+eS/2).attr("y2",p+33),y.append("line").attr("x1",v-eS/2).attr("y1",p+60).attr("x2",v).attr("y2",p+45),y.append("line").attr("x1",v).attr("y1",p+45).attr("x2",v+eS/2-2).attr("y2",p+60);const A=y.append("circle");A.attr("cx",a.x+a.width/2),A.attr("cy",p+10),A.attr("r",15),A.attr("width",a.width),A.attr("height",a.height);const P=y.node().getBBox();return a.height=P.height,await qve(u,$v(a.description))(a.description,y,_.x,_.y+35,_.width,_.height,{class:"actor"},u),a.height},min=async function(i,a,u,d){switch(a.type){case"actor":return await bin(i,a,u,d);case"participant":return await pin(i,a,u,d)}},vin=async function(i,a,u){const p=i.append("g");mKe(p,a),a.name&&await qve(u)(a.name,p,a.x,a.y+(a.textMaxHeight||0)/2,a.width,0,{class:"text"},u),p.lower()},win=function(i){return i.append("g")},yin=function(i,a,u,d,p){const v=HC(),b=a.anchored;v.x=a.startx,v.y=a.starty,v.class="activation"+p%3,v.width=a.stopx-a.startx,v.height=u-a.starty,zve(b,v)},xin=async function(i,a,u,d){const{boxMargin:p,boxTextMargin:v,labelBoxHeight:b,labelBoxWidth:y,messageFontFamily:E,messageFontSize:_,messageFontWeight:A}=d,P=i.append("g"),R=function(W,ee,ie,oe){return P.append("line").attr("x1",W).attr("y1",ee).attr("x2",ie).attr("y2",oe).attr("class","loopLine")};R(a.startx,a.starty,a.stopx,a.starty),R(a.stopx,a.starty,a.stopx,a.stopy),R(a.startx,a.stopy,a.stopx,a.stopy),R(a.startx,a.starty,a.startx,a.stopy),a.sections!==void 0&&a.sections.forEach(function(W){R(a.startx,W.y,a.stopx,W.y).style("stroke-dasharray","3, 3")});let B=sme();B.text=u,B.x=a.startx,B.y=a.starty,B.fontFamily=E,B.fontSize=_,B.fontWeight=A,B.anchor="middle",B.valign="middle",B.tspan=!1,B.width=y||50,B.height=b||20,B.textMargin=v,B.class="labelText",pKe(P,B),B=vKe(),B.text=a.title,B.x=a.startx+y/2+(a.stopx-a.startx)/2,B.y=a.starty+p+v,B.anchor="middle",B.valign="middle",B.textMargin=v,B.class="loopText",B.fontFamily=E,B.fontSize=_,B.fontWeight=A,B.wrap=!0;let j=$v(B.text)?await LJ(P,B,a):rI(P,B);if(a.sectionTitles!==void 0){for(const[W,ee]of Object.entries(a.sectionTitles))if(ee.message){B.text=ee.message,B.x=a.startx+(a.stopx-a.startx)/2,B.y=a.sections[W].y+p+v,B.class="loopText",B.anchor="middle",B.valign="middle",B.tspan=!1,B.fontFamily=E,B.fontSize=_,B.fontWeight=A,B.wrap=a.wrap,$v(B.text)?(a.starty=a.sections[W].y,await LJ(P,B,a)):rI(P,B);let ie=Math.round(j.map(oe=>(oe._groups||oe)[0][0].getBBox().height).reduce((oe,be)=>oe+be));a.sections[W].height+=ie-(p+v)}}return a.height=Math.round(a.stopy-a.starty),P},mKe=function(i,a){Jqe(i,a)},kin=function(i){i.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},Tin=function(i){i.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},Ein=function(i){i.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},Cin=function(i){i.append("defs").append("marker").attr("id","arrowhead").attr("refX",7.9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},Sin=function(i){i.append("defs").append("marker").attr("id","filled-head").attr("refX",15.5).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")},_in=function(i){i.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},Ain=function(i){i.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",4.5).append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,7")},vKe=function(){return{x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}},Lin=function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},qve=function(){function i(v,b,y,E,_,A,P){const R=b.append("text").attr("x",y+_/2).attr("y",E+A/2+5).style("text-anchor","middle").text(v);p(R,P)}function a(v,b,y,E,_,A,P,R){const{actorFontSize:B,actorFontFamily:j,actorFontWeight:W}=R,[ee,ie]=PC(B),oe=v.split(oi.lineBreakRegex);for(let be=0;bei.height||0))+(this.loops.length===0?0:this.loops.map(i=>i.height||0).reduce((i,a)=>i+a))+(this.messages.length===0?0:this.messages.map(i=>i.height||0).reduce((i,a)=>i+a))+(this.notes.length===0?0:this.notes.map(i=>i.height||0).reduce((i,a)=>i+a))},clear:function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},addBox:function(i){this.boxes.push(i)},addActor:function(i){this.actors.push(i)},addLoop:function(i){this.loops.push(i)},addMessage:function(i){this.messages.push(i)},addNote:function(i){this.notes.push(i)},lastActor:function(){return this.actors[this.actors.length-1]},lastLoop:function(){return this.loops[this.loops.length-1]},lastMessage:function(){return this.messages[this.messages.length-1]},lastNote:function(){return this.notes[this.notes.length-1]},actors:[],boxes:[],loops:[],messages:[],notes:[]},init:function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,yKe(qt())},updateVal:function(i,a,u,d){i[a]===void 0?i[a]=u:i[a]=d(u,i[a])},updateBounds:function(i,a,u,d){const p=this;let v=0;function b(y){return function(_){v++;const A=p.sequenceItems.length-v+1;p.updateVal(_,"starty",a-A*Tn.boxMargin,Math.min),p.updateVal(_,"stopy",d+A*Tn.boxMargin,Math.max),p.updateVal(ni.data,"startx",i-A*Tn.boxMargin,Math.min),p.updateVal(ni.data,"stopx",u+A*Tn.boxMargin,Math.max),y!=="activation"&&(p.updateVal(_,"startx",i-A*Tn.boxMargin,Math.min),p.updateVal(_,"stopx",u+A*Tn.boxMargin,Math.max),p.updateVal(ni.data,"starty",a-A*Tn.boxMargin,Math.min),p.updateVal(ni.data,"stopy",d+A*Tn.boxMargin,Math.max))}}this.sequenceItems.forEach(b()),this.activations.forEach(b("activation"))},insert:function(i,a,u,d){const p=oi.getMin(i,u),v=oi.getMax(i,u),b=oi.getMin(a,d),y=oi.getMax(a,d);this.updateVal(ni.data,"startx",p,Math.min),this.updateVal(ni.data,"starty",b,Math.min),this.updateVal(ni.data,"stopx",v,Math.max),this.updateVal(ni.data,"stopy",y,Math.max),this.updateBounds(p,b,v,y)},newActivation:function(i,a,u){const d=u[i.from.actor],p=MJ(i.from.actor).length||0,v=d.x+d.width/2+(p-1)*Tn.activationWidth/2;this.activations.push({startx:v,starty:this.verticalPos+2,stopx:v+Tn.activationWidth,stopy:void 0,actor:i.from.actor,anchored:Qf.anchorElement(a)})},endActivation:function(i){const a=this.activations.map(function(u){return u.actor}).lastIndexOf(i.from.actor);return this.activations.splice(a,1)[0]},createLoop:function(i={message:void 0,wrap:!1,width:void 0},a){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:i.message,wrap:i.wrap,width:i.width,height:0,fill:a}},newLoop:function(i={message:void 0,wrap:!1,width:void 0},a){this.sequenceItems.push(this.createLoop(i,a))},endLoop:function(){return this.sequenceItems.pop()},isLoopOverlap:function(){return this.sequenceItems.length?this.sequenceItems[this.sequenceItems.length-1].overlap:!1},addSectionToLoop:function(i){const a=this.sequenceItems.pop();a.sections=a.sections||[],a.sectionTitles=a.sectionTitles||[],a.sections.push({y:ni.getVerticalPos(),height:0}),a.sectionTitles.push(i),this.sequenceItems.push(a)},saveVerticalPos:function(){this.isLoopOverlap()&&(this.savedVerticalPos=this.verticalPos)},resetVerticalPos:function(){this.isLoopOverlap()&&(this.verticalPos=this.savedVerticalPos)},bumpVerticalPos:function(i){this.verticalPos=this.verticalPos+i,this.data.stopy=oi.getMax(this.data.stopy,this.verticalPos)},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}},Din=async function(i,a){ni.bumpVerticalPos(Tn.boxMargin),a.height=Tn.boxMargin,a.starty=ni.getVerticalPos();const u=HC();u.x=a.startx,u.y=a.starty,u.width=a.width||Tn.width,u.class="note";const d=i.append("g"),p=Qf.drawRect(d,u),v=sme();v.x=a.startx,v.y=a.starty,v.width=u.width,v.dy="1em",v.text=a.message,v.class="noteText",v.fontFamily=Tn.noteFontFamily,v.fontSize=Tn.noteFontSize,v.fontWeight=Tn.noteFontWeight,v.anchor=Tn.noteAlign,v.textMargin=Tn.noteMargin,v.valign="center";const b=$v(v.text)?await LJ(d,v):rI(d,v),y=Math.round(b.map(E=>(E._groups||E)[0][0].getBBox().height).reduce((E,_)=>E+_));p.attr("height",y+2*Tn.noteMargin),a.height+=y+2*Tn.noteMargin,ni.bumpVerticalPos(y+2*Tn.noteMargin),a.stopy=a.starty+y+2*Tn.noteMargin,a.stopx=a.startx+u.width,ni.insert(a.startx,a.starty,a.stopx,a.stopy),ni.models.addNote(a)},tS=i=>({fontFamily:i.messageFontFamily,fontSize:i.messageFontSize,fontWeight:i.messageFontWeight}),iI=i=>({fontFamily:i.noteFontFamily,fontSize:i.noteFontSize,fontWeight:i.noteFontWeight}),Hve=i=>({fontFamily:i.actorFontFamily,fontSize:i.actorFontSize,fontWeight:i.actorFontWeight});async function Iin(i,a){ni.bumpVerticalPos(10);const{startx:u,stopx:d,message:p}=a,v=oi.splitBreaks(p).length,b=$v(p),y=b?await ZF(p,qt()):So.calculateTextDimensions(p,tS(Tn));if(!b){const P=y.height/v;a.height+=P,ni.bumpVerticalPos(P)}let E,_=y.height-10;const A=y.width;if(u===d){E=ni.getVerticalPos()+_,Tn.rightAngles||(_+=Tn.boxMargin,E=ni.getVerticalPos()+_),_+=30;const P=oi.getMax(A/2,Tn.width/2);ni.insert(u-P,ni.getVerticalPos()-10+_,d+P,ni.getVerticalPos()+30+_)}else _+=Tn.boxMargin,E=ni.getVerticalPos()+_,ni.insert(u,E-10,d,E);return ni.bumpVerticalPos(_),a.height+=_,a.stopy=a.starty+a.height,ni.insert(a.fromBounds,a.starty,a.toBounds,a.stopy),E}const Oin=async function(i,a,u,d){const{startx:p,stopx:v,starty:b,message:y,type:E,sequenceIndex:_,sequenceVisible:A}=a,P=So.calculateTextDimensions(y,tS(Tn)),R=sme();R.x=p,R.y=b+10,R.width=v-p,R.class="messageText",R.dy="1em",R.text=y,R.fontFamily=Tn.messageFontFamily,R.fontSize=Tn.messageFontSize,R.fontWeight=Tn.messageFontWeight,R.anchor=Tn.messageAlign,R.valign="center",R.textMargin=Tn.wrapPadding,R.tspan=!1,$v(R.text)?await LJ(i,R,{startx:p,stopx:v,starty:u}):rI(i,R);const B=P.width;let j;p===v?Tn.rightAngles?j=i.append("path").attr("d",`M ${p},${u} H ${p+oi.getMax(Tn.width/2,B/2)} V ${u+25} H ${p}`):j=i.append("path").attr("d","M "+p+","+u+" C "+(p+60)+","+(u-10)+" "+(p+60)+","+(u+30)+" "+p+","+(u+20)):(j=i.append("line"),j.attr("x1",p),j.attr("y1",u),j.attr("x2",v),j.attr("y2",u)),E===d.db.LINETYPE.DOTTED||E===d.db.LINETYPE.DOTTED_CROSS||E===d.db.LINETYPE.DOTTED_POINT||E===d.db.LINETYPE.DOTTED_OPEN?(j.style("stroke-dasharray","3, 3"),j.attr("class","messageLine1")):j.attr("class","messageLine0");let W="";Tn.arrowMarkerAbsolute&&(W=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,W=W.replace(/\(/g,"\\("),W=W.replace(/\)/g,"\\)")),j.attr("stroke-width",2),j.attr("stroke","none"),j.style("fill","none"),(E===d.db.LINETYPE.SOLID||E===d.db.LINETYPE.DOTTED)&&j.attr("marker-end","url("+W+"#arrowhead)"),(E===d.db.LINETYPE.SOLID_POINT||E===d.db.LINETYPE.DOTTED_POINT)&&j.attr("marker-end","url("+W+"#filled-head)"),(E===d.db.LINETYPE.SOLID_CROSS||E===d.db.LINETYPE.DOTTED_CROSS)&&j.attr("marker-end","url("+W+"#crosshead)"),(A||Tn.showSequenceNumbers)&&(j.attr("marker-start","url("+W+"#sequencenumber)"),i.append("text").attr("x",p).attr("y",u+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(_))},Nin=async function(i,a,u,d,p,v,b){let y=0,E=0,_,A=0;for(const P of d){const R=a[P],B=R.box;_&&_!=B&&(b||ni.models.addBox(_),E+=Tn.boxMargin+_.margin),B&&B!=_&&(b||(B.x=y+E,B.y=p),E+=B.margin),R.width=R.width||Tn.width,R.height=oi.getMax(R.height||Tn.height,Tn.height),R.margin=R.margin||Tn.actorMargin,A=oi.getMax(A,R.height),u[R.name]&&(E+=R.width/2),R.x=y+E,R.starty=ni.getVerticalPos(),ni.insert(R.x,p,R.x+R.width,R.height),y+=R.width+E,R.box&&(R.box.width=y+B.margin-R.box.x),E=R.margin,_=R.box,ni.models.addActor(R)}_&&!b&&ni.models.addBox(_),ni.bumpVerticalPos(A)},Uve=async function(i,a,u,d){if(d){let p=0;ni.bumpVerticalPos(Tn.boxMargin*2);for(const v of u){const b=a[v];b.stopy||(b.stopy=ni.getVerticalPos());const y=await Qf.drawActor(i,b,Tn,!0);p=oi.getMax(p,y)}ni.bumpVerticalPos(p+Tn.boxMargin)}else for(const p of u){const v=a[p];await Qf.drawActor(i,v,Tn,!1)}},wKe=function(i,a,u,d){let p=0,v=0;for(const b of u){const y=a[b],E=Rin(y),_=Qf.drawPopup(i,y,E,Tn,Tn.forceMenus,d);_.height>p&&(p=_.height),_.width+y.x>v&&(v=_.width+y.x)}return{maxHeight:p,maxWidth:v}},yKe=function(i){Ud(Tn,i),i.fontFamily&&(Tn.actorFontFamily=Tn.noteFontFamily=Tn.messageFontFamily=i.fontFamily),i.fontSize&&(Tn.actorFontSize=Tn.noteFontSize=Tn.messageFontSize=i.fontSize),i.fontWeight&&(Tn.actorFontWeight=Tn.noteFontWeight=Tn.messageFontWeight=i.fontWeight)},MJ=function(i){return ni.activations.filter(function(a){return a.actor===i})},xKe=function(i,a){const u=a[i],d=MJ(i),p=d.reduce(function(b,y){return oi.getMin(b,y.startx)},u.x+u.width/2-1),v=d.reduce(function(b,y){return oi.getMax(b,y.stopx)},u.x+u.width/2+1);return[p,v]};function c5(i,a,u,d,p){ni.bumpVerticalPos(u);let v=d;if(a.id&&a.message&&i[a.id]){const b=i[a.id].width,y=tS(Tn);a.message=So.wrapLabel(`[${a.message}]`,b-2*Tn.wrapPadding,y),a.width=b,a.wrap=!0;const E=So.calculateTextDimensions(a.message,y),_=oi.getMax(E.height,Tn.labelBoxHeight);v=d+_,Xe.debug(`${_} - ${a.message}`)}p(a),ni.bumpVerticalPos(v)}function Pin(i,a,u,d,p,v,b){function y(_,A){_.x{Se.add(Ce.from),Se.add(Ce.to)}),j=j.filter(Ce=>Se.has(Ce))}await Nin(_,A,P,j,0,W,!1);const ge=await qin(W,A,be,d);Qf.insertArrowHead(_),Qf.insertArrowCrossHead(_),Qf.insertArrowFilledHead(_),Qf.insertSequenceNumber(_);function ae(Se,Ce){const ke=ni.endActivation(Se);ke.starty+18>Ce&&(ke.starty=Ce-6,Ce+=12),Qf.drawActivation(_,ke,Ce,Tn,MJ(Se.from.actor).length),ni.insert(ke.startx,Ce-10,ke.stopx,Ce)}let ne=1,se=1;const de=[],X=[];let pe=0;for(const Se of W){let Ce,ke,Ke;switch(Se.type){case d.db.LINETYPE.NOTE:ni.resetVerticalPos(),ke=Se.noteModel,await Din(_,ke);break;case d.db.LINETYPE.ACTIVE_START:ni.newActivation(Se,_,A);break;case d.db.LINETYPE.ACTIVE_END:ae(Se,ni.getVerticalPos());break;case d.db.LINETYPE.LOOP_START:c5(ge,Se,Tn.boxMargin,Tn.boxMargin+Tn.boxTextMargin,zt=>ni.newLoop(zt));break;case d.db.LINETYPE.LOOP_END:Ce=ni.endLoop(),await Qf.drawLoop(_,Ce,"loop",Tn),ni.bumpVerticalPos(Ce.stopy-ni.getVerticalPos()),ni.models.addLoop(Ce);break;case d.db.LINETYPE.RECT_START:c5(ge,Se,Tn.boxMargin,Tn.boxMargin,zt=>ni.newLoop(void 0,zt.message));break;case d.db.LINETYPE.RECT_END:Ce=ni.endLoop(),X.push(Ce),ni.models.addLoop(Ce),ni.bumpVerticalPos(Ce.stopy-ni.getVerticalPos());break;case d.db.LINETYPE.OPT_START:c5(ge,Se,Tn.boxMargin,Tn.boxMargin+Tn.boxTextMargin,zt=>ni.newLoop(zt));break;case d.db.LINETYPE.OPT_END:Ce=ni.endLoop(),await Qf.drawLoop(_,Ce,"opt",Tn),ni.bumpVerticalPos(Ce.stopy-ni.getVerticalPos()),ni.models.addLoop(Ce);break;case d.db.LINETYPE.ALT_START:c5(ge,Se,Tn.boxMargin,Tn.boxMargin+Tn.boxTextMargin,zt=>ni.newLoop(zt));break;case d.db.LINETYPE.ALT_ELSE:c5(ge,Se,Tn.boxMargin+Tn.boxTextMargin,Tn.boxMargin,zt=>ni.addSectionToLoop(zt));break;case d.db.LINETYPE.ALT_END:Ce=ni.endLoop(),await Qf.drawLoop(_,Ce,"alt",Tn),ni.bumpVerticalPos(Ce.stopy-ni.getVerticalPos()),ni.models.addLoop(Ce);break;case d.db.LINETYPE.PAR_START:case d.db.LINETYPE.PAR_OVER_START:c5(ge,Se,Tn.boxMargin,Tn.boxMargin+Tn.boxTextMargin,zt=>ni.newLoop(zt)),ni.saveVerticalPos();break;case d.db.LINETYPE.PAR_AND:c5(ge,Se,Tn.boxMargin+Tn.boxTextMargin,Tn.boxMargin,zt=>ni.addSectionToLoop(zt));break;case d.db.LINETYPE.PAR_END:Ce=ni.endLoop(),await Qf.drawLoop(_,Ce,"par",Tn),ni.bumpVerticalPos(Ce.stopy-ni.getVerticalPos()),ni.models.addLoop(Ce);break;case d.db.LINETYPE.AUTONUMBER:ne=Se.message.start||ne,se=Se.message.step||se,Se.message.visible?d.db.enableSequenceNumbers():d.db.disableSequenceNumbers();break;case d.db.LINETYPE.CRITICAL_START:c5(ge,Se,Tn.boxMargin,Tn.boxMargin+Tn.boxTextMargin,zt=>ni.newLoop(zt));break;case d.db.LINETYPE.CRITICAL_OPTION:c5(ge,Se,Tn.boxMargin+Tn.boxTextMargin,Tn.boxMargin,zt=>ni.addSectionToLoop(zt));break;case d.db.LINETYPE.CRITICAL_END:Ce=ni.endLoop(),await Qf.drawLoop(_,Ce,"critical",Tn),ni.bumpVerticalPos(Ce.stopy-ni.getVerticalPos()),ni.models.addLoop(Ce);break;case d.db.LINETYPE.BREAK_START:c5(ge,Se,Tn.boxMargin,Tn.boxMargin+Tn.boxTextMargin,zt=>ni.newLoop(zt));break;case d.db.LINETYPE.BREAK_END:Ce=ni.endLoop(),await Qf.drawLoop(_,Ce,"break",Tn),ni.bumpVerticalPos(Ce.stopy-ni.getVerticalPos()),ni.models.addLoop(Ce);break;default:try{Ke=Se.msgModel,Ke.starty=ni.getVerticalPos(),Ke.sequenceIndex=ne,Ke.sequenceVisible=d.db.showSequenceNumbers();const zt=await Iin(_,Ke);Pin(Se,Ke,zt,pe,A,P,R),de.push({messageModel:Ke,lineStartY:zt}),ni.models.addMessage(Ke)}catch(zt){Xe.error("error while drawing message",zt)}}[d.db.LINETYPE.SOLID_OPEN,d.db.LINETYPE.DOTTED_OPEN,d.db.LINETYPE.SOLID,d.db.LINETYPE.DOTTED,d.db.LINETYPE.SOLID_CROSS,d.db.LINETYPE.DOTTED_CROSS,d.db.LINETYPE.SOLID_POINT,d.db.LINETYPE.DOTTED_POINT].includes(Se.type)&&(ne=ne+se),pe++}Xe.debug("createdActors",P),Xe.debug("destroyedActors",R),await Uve(_,A,j,!1);for(const Se of de)await Oin(_,Se.messageModel,Se.lineStartY,d);Tn.mirrorActors&&await Uve(_,A,j,!0),X.forEach(Se=>Qf.drawBackgroundRect(_,Se)),bKe(_,A,j,Tn);for(const Se of ni.models.boxes)Se.height=ni.getVerticalPos()-Se.y,ni.insert(Se.x,Se.y,Se.x+Se.width,Se.height),Se.startx=Se.x,Se.starty=Se.y,Se.stopx=Se.startx+Se.width,Se.stopy=Se.starty+Se.height,Se.stroke="rgb(0,0,0, 0.5)",await Qf.drawBox(_,Se,Tn);ie&&ni.bumpVerticalPos(Tn.boxMargin);const G=wKe(_,A,j,E),{bounds:xe}=ni.getBounds();let U=xe.stopy-xe.starty;U{const b=tS(Tn);let y=v.actorKeys.reduce((A,P)=>A+=i[P].width+(i[P].margin||0),0);y-=2*Tn.boxTextMargin,v.wrap&&(v.name=So.wrapLabel(v.name,y-2*Tn.wrapPadding,b));const E=So.calculateTextDimensions(v.name,b);p=oi.getMax(E.height,p);const _=oi.getMax(y,E.width+2*Tn.wrapPadding);if(v.margin=Tn.boxTextMargin,y<_){const A=(_-y)/2;v.margin+=A}}),u.forEach(v=>v.textMaxHeight=p),oi.getMax(d,Tn.height)}const $in=async function(i,a,u){const d=a[i.from].x,p=a[i.to].x,v=i.wrap&&i.message;let b=$v(i.message)?await ZF(i.message,qt()):So.calculateTextDimensions(v?So.wrapLabel(i.message,Tn.width,iI(Tn)):i.message,iI(Tn));const y={width:v?Tn.width:oi.getMax(Tn.width,b.width+2*Tn.noteMargin),height:0,startx:a[i.from].x,stopx:0,starty:0,stopy:0,message:i.message};return i.placement===u.db.PLACEMENT.RIGHTOF?(y.width=v?oi.getMax(Tn.width,b.width):oi.getMax(a[i.from].width/2+a[i.to].width/2,b.width+2*Tn.noteMargin),y.startx=d+(a[i.from].width+Tn.actorMargin)/2):i.placement===u.db.PLACEMENT.LEFTOF?(y.width=v?oi.getMax(Tn.width,b.width+2*Tn.noteMargin):oi.getMax(a[i.from].width/2+a[i.to].width/2,b.width+2*Tn.noteMargin),y.startx=d-y.width+(a[i.from].width-Tn.actorMargin)/2):i.to===i.from?(b=So.calculateTextDimensions(v?So.wrapLabel(i.message,oi.getMax(Tn.width,a[i.from].width),iI(Tn)):i.message,iI(Tn)),y.width=v?oi.getMax(Tn.width,a[i.from].width):oi.getMax(a[i.from].width,Tn.width,b.width+2*Tn.noteMargin),y.startx=d+(a[i.from].width-y.width)/2):(y.width=Math.abs(d+a[i.from].width/2-(p+a[i.to].width/2))+Tn.actorMargin,y.startx=d2,P=W=>y?-W:W;i.from===i.to?_=E:(i.activate&&!A&&(_+=P(Tn.activationWidth/2-1)),[u.db.LINETYPE.SOLID_OPEN,u.db.LINETYPE.DOTTED_OPEN].includes(i.type)||(_+=P(3)));const R=[d,p,v,b],B=Math.abs(E-_);i.wrap&&i.message&&(i.message=So.wrapLabel(i.message,oi.getMax(B+2*Tn.wrapPadding,Tn.width),tS(Tn)));const j=So.calculateTextDimensions(i.message,tS(Tn));return{width:oi.getMax(i.wrap?0:j.width+2*Tn.wrapPadding,B+2*Tn.wrapPadding,Tn.width),height:0,startx:E,stopx:_,starty:0,stopy:0,message:i.message,type:i.type,wrap:i.wrap,fromBounds:Math.min.apply(null,R),toBounds:Math.max.apply(null,R)}},qin=async function(i,a,u,d){const p={},v=[];let b,y,E;for(const _ of i){switch(_.id=So.random({length:10}),_.type){case d.db.LINETYPE.LOOP_START:case d.db.LINETYPE.ALT_START:case d.db.LINETYPE.OPT_START:case d.db.LINETYPE.PAR_START:case d.db.LINETYPE.PAR_OVER_START:case d.db.LINETYPE.CRITICAL_START:case d.db.LINETYPE.BREAK_START:v.push({id:_.id,msg:_.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case d.db.LINETYPE.ALT_ELSE:case d.db.LINETYPE.PAR_AND:case d.db.LINETYPE.CRITICAL_OPTION:_.message&&(b=v.pop(),p[b.id]=b,p[_.id]=b,v.push(b));break;case d.db.LINETYPE.LOOP_END:case d.db.LINETYPE.ALT_END:case d.db.LINETYPE.OPT_END:case d.db.LINETYPE.PAR_END:case d.db.LINETYPE.CRITICAL_END:case d.db.LINETYPE.BREAK_END:b=v.pop(),p[b.id]=b;break;case d.db.LINETYPE.ACTIVE_START:{const P=a[_.from?_.from.actor:_.to.actor],R=MJ(_.from?_.from.actor:_.to.actor).length,B=P.x+P.width/2+(R-1)*Tn.activationWidth/2,j={startx:B,stopx:B+Tn.activationWidth,actor:_.from.actor,enabled:!0};ni.activations.push(j)}break;case d.db.LINETYPE.ACTIVE_END:{const P=ni.activations.map(R=>R.actor).lastIndexOf(_.from.actor);delete ni.activations.splice(P,1)[0]}break}_.placement!==void 0?(y=await $in(_,a,d),_.noteModel=y,v.forEach(P=>{b=P,b.from=oi.getMin(b.from,y.startx),b.to=oi.getMax(b.to,y.startx+y.width),b.width=oi.getMax(b.width,Math.abs(b.from-b.to))-Tn.labelBoxWidth})):(E=zin(_,a,d),_.msgModel=E,E.startx&&E.stopx&&v.length>0&&v.forEach(P=>{if(b=P,E.startx===E.stopx){const R=a[_.from],B=a[_.to];b.from=oi.getMin(R.x-E.width/2,R.x-R.width/2,b.from),b.to=oi.getMax(B.x+E.width/2,B.x+R.width/2,b.to),b.width=oi.getMax(b.width,Math.abs(b.to-b.from))-Tn.labelBoxWidth}else b.from=oi.getMin(E.startx,b.from),b.to=oi.getMax(E.stopx,b.to),b.width=oi.getMax(b.width,E.width)-Tn.labelBoxWidth}))}return ni.activations=[],Xe.debug("Loop type widths:",p),p},Hin=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:zrn,db:fKe,renderer:{bounds:ni,drawActors:Uve,drawActorsPopup:wKe,setConf:yKe,draw:Bin},styles:fin,init:({wrap:i})=>{fKe.setWrap(i)}}},Symbol.toStringTag,{value:"Module"}));var Vve=function(){var i=function(mo,Tr,On,Rn){for(On=On||{},Rn=mo.length;Rn--;On[mo[Rn]]=Tr);return On},a=[1,17],u=[1,18],d=[1,19],p=[1,39],v=[1,40],b=[1,25],y=[1,23],E=[1,24],_=[1,31],A=[1,32],P=[1,33],R=[1,34],B=[1,35],j=[1,36],W=[1,26],ee=[1,27],ie=[1,28],oe=[1,29],be=[1,43],ge=[1,30],ae=[1,42],ne=[1,44],se=[1,41],de=[1,45],X=[1,9],pe=[1,8,9],G=[1,56],xe=[1,57],U=[1,58],Be=[1,59],Pe=[1,60],je=[1,61],Ie=[1,62],Se=[1,8,9,39],Ce=[1,74],ke=[1,8,9,12,13,21,37,39,42,59,60,61,62,63,64,65,70,72],Ke=[1,8,9,12,13,19,21,37,39,42,46,59,60,61,62,63,64,65,70,72,74,80,95,97,98],zt=[13,74,80,95,97,98],Ne=[13,64,65,74,80,95,97,98],pn=[13,59,60,61,62,63,74,80,95,97,98],Tt=[1,93],Et=[1,110],Wt=[1,108],un=[1,102],yt=[1,103],Bt=[1,104],Ze=[1,105],Dt=[1,106],kt=[1,107],Nn=[1,109],ht=[1,8,9,37,39,42],qr=[1,8,9,21],xt=[1,8,9,78],Ri=[1,8,9,21,73,74,78,80,81,82,83,84,85],wi={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,className:17,classLiteralName:18,GENERICTYPE:19,relationStatement:20,LABEL:21,namespaceStatement:22,classStatement:23,memberStatement:24,annotationStatement:25,clickStatement:26,styleStatement:27,cssClassStatement:28,noteStatement:29,direction:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,namespaceIdentifier:36,STRUCT_START:37,classStatements:38,STRUCT_STOP:39,NAMESPACE:40,classIdentifier:41,STYLE_SEPARATOR:42,members:43,CLASS:44,ANNOTATION_START:45,ANNOTATION_END:46,MEMBER:47,SEPARATOR:48,relation:49,NOTE_FOR:50,noteText:51,NOTE:52,direction_tb:53,direction_bt:54,direction_rl:55,direction_lr:56,relationType:57,lineType:58,AGGREGATION:59,EXTENSION:60,COMPOSITION:61,DEPENDENCY:62,LOLLIPOP:63,LINE:64,DOTTED_LINE:65,CALLBACK:66,LINK:67,LINK_TARGET:68,CLICK:69,CALLBACK_NAME:70,CALLBACK_ARGS:71,HREF:72,STYLE:73,ALPHA:74,stylesOpt:75,CSSCLASS:76,style:77,COMMA:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,commentToken:86,textToken:87,graphCodeTokens:88,textNoTagsToken:89,TAGSTART:90,TAGEND:91,"==":92,"--":93,DEFAULT:94,MINUS:95,keywords:96,UNICODE_TEXT:97,BQUOTE_STR:98,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",19:"GENERICTYPE",21:"LABEL",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",37:"STRUCT_START",39:"STRUCT_STOP",40:"NAMESPACE",42:"STYLE_SEPARATOR",44:"CLASS",45:"ANNOTATION_START",46:"ANNOTATION_END",47:"MEMBER",48:"SEPARATOR",50:"NOTE_FOR",52:"NOTE",53:"direction_tb",54:"direction_bt",55:"direction_rl",56:"direction_lr",59:"AGGREGATION",60:"EXTENSION",61:"COMPOSITION",62:"DEPENDENCY",63:"LOLLIPOP",64:"LINE",65:"DOTTED_LINE",66:"CALLBACK",67:"LINK",68:"LINK_TARGET",69:"CLICK",70:"CALLBACK_NAME",71:"CALLBACK_ARGS",72:"HREF",73:"STYLE",74:"ALPHA",76:"CSSCLASS",78:"COMMA",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",88:"graphCodeTokens",90:"TAGSTART",91:"TAGEND",92:"==",93:"--",94:"DEFAULT",95:"MINUS",96:"keywords",97:"UNICODE_TEXT",98:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,2],[17,1],[17,1],[17,2],[17,2],[17,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[22,4],[22,5],[36,2],[38,1],[38,2],[38,3],[23,1],[23,3],[23,4],[23,6],[41,2],[41,3],[25,4],[43,1],[43,2],[24,1],[24,2],[24,1],[24,1],[20,3],[20,4],[20,4],[20,5],[29,3],[29,2],[30,1],[30,1],[30,1],[30,1],[49,3],[49,2],[49,2],[49,1],[57,1],[57,1],[57,1],[57,1],[57,1],[58,1],[58,1],[26,3],[26,4],[26,3],[26,4],[26,4],[26,5],[26,3],[26,4],[26,4],[26,5],[26,4],[26,5],[26,5],[26,6],[27,3],[28,3],[75,1],[75,3],[77,1],[77,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[86,1],[86,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[89,1],[89,1],[89,1],[89,1],[16,1],[16,1],[16,1],[16,1],[18,1],[51,1]],performAction:function(Tr,On,Rn,zn,Ct,gt,on){var dn=gt.length-1;switch(Ct){case 8:this.$=gt[dn-1];break;case 9:case 11:case 12:this.$=gt[dn];break;case 10:case 13:this.$=gt[dn-1]+gt[dn];break;case 14:case 15:this.$=gt[dn-1]+"~"+gt[dn]+"~";break;case 16:zn.addRelation(gt[dn]);break;case 17:gt[dn-1].title=zn.cleanupLabel(gt[dn]),zn.addRelation(gt[dn-1]);break;case 27:this.$=gt[dn].trim(),zn.setAccTitle(this.$);break;case 28:case 29:this.$=gt[dn].trim(),zn.setAccDescription(this.$);break;case 30:zn.addClassesToNamespace(gt[dn-3],gt[dn-1]);break;case 31:zn.addClassesToNamespace(gt[dn-4],gt[dn-1]);break;case 32:this.$=gt[dn],zn.addNamespace(gt[dn]);break;case 33:this.$=[gt[dn]];break;case 34:this.$=[gt[dn-1]];break;case 35:gt[dn].unshift(gt[dn-2]),this.$=gt[dn];break;case 37:zn.setCssClass(gt[dn-2],gt[dn]);break;case 38:zn.addMembers(gt[dn-3],gt[dn-1]);break;case 39:zn.setCssClass(gt[dn-5],gt[dn-3]),zn.addMembers(gt[dn-5],gt[dn-1]);break;case 40:this.$=gt[dn],zn.addClass(gt[dn]);break;case 41:this.$=gt[dn-1],zn.addClass(gt[dn-1]),zn.setClassLabel(gt[dn-1],gt[dn]);break;case 42:zn.addAnnotation(gt[dn],gt[dn-2]);break;case 43:this.$=[gt[dn]];break;case 44:gt[dn].push(gt[dn-1]),this.$=gt[dn];break;case 45:break;case 46:zn.addMember(gt[dn-1],zn.cleanupLabel(gt[dn]));break;case 47:break;case 48:break;case 49:this.$={id1:gt[dn-2],id2:gt[dn],relation:gt[dn-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:gt[dn-3],id2:gt[dn],relation:gt[dn-1],relationTitle1:gt[dn-2],relationTitle2:"none"};break;case 51:this.$={id1:gt[dn-3],id2:gt[dn],relation:gt[dn-2],relationTitle1:"none",relationTitle2:gt[dn-1]};break;case 52:this.$={id1:gt[dn-4],id2:gt[dn],relation:gt[dn-2],relationTitle1:gt[dn-3],relationTitle2:gt[dn-1]};break;case 53:zn.addNote(gt[dn],gt[dn-1]);break;case 54:zn.addNote(gt[dn]);break;case 55:zn.setDirection("TB");break;case 56:zn.setDirection("BT");break;case 57:zn.setDirection("RL");break;case 58:zn.setDirection("LR");break;case 59:this.$={type1:gt[dn-2],type2:gt[dn],lineType:gt[dn-1]};break;case 60:this.$={type1:"none",type2:gt[dn],lineType:gt[dn-1]};break;case 61:this.$={type1:gt[dn-1],type2:"none",lineType:gt[dn]};break;case 62:this.$={type1:"none",type2:"none",lineType:gt[dn]};break;case 63:this.$=zn.relationType.AGGREGATION;break;case 64:this.$=zn.relationType.EXTENSION;break;case 65:this.$=zn.relationType.COMPOSITION;break;case 66:this.$=zn.relationType.DEPENDENCY;break;case 67:this.$=zn.relationType.LOLLIPOP;break;case 68:this.$=zn.lineType.LINE;break;case 69:this.$=zn.lineType.DOTTED_LINE;break;case 70:case 76:this.$=gt[dn-2],zn.setClickEvent(gt[dn-1],gt[dn]);break;case 71:case 77:this.$=gt[dn-3],zn.setClickEvent(gt[dn-2],gt[dn-1]),zn.setTooltip(gt[dn-2],gt[dn]);break;case 72:this.$=gt[dn-2],zn.setLink(gt[dn-1],gt[dn]);break;case 73:this.$=gt[dn-3],zn.setLink(gt[dn-2],gt[dn-1],gt[dn]);break;case 74:this.$=gt[dn-3],zn.setLink(gt[dn-2],gt[dn-1]),zn.setTooltip(gt[dn-2],gt[dn]);break;case 75:this.$=gt[dn-4],zn.setLink(gt[dn-3],gt[dn-2],gt[dn]),zn.setTooltip(gt[dn-3],gt[dn-1]);break;case 78:this.$=gt[dn-3],zn.setClickEvent(gt[dn-2],gt[dn-1],gt[dn]);break;case 79:this.$=gt[dn-4],zn.setClickEvent(gt[dn-3],gt[dn-2],gt[dn-1]),zn.setTooltip(gt[dn-3],gt[dn]);break;case 80:this.$=gt[dn-3],zn.setLink(gt[dn-2],gt[dn]);break;case 81:this.$=gt[dn-4],zn.setLink(gt[dn-3],gt[dn-1],gt[dn]);break;case 82:this.$=gt[dn-4],zn.setLink(gt[dn-3],gt[dn-1]),zn.setTooltip(gt[dn-3],gt[dn]);break;case 83:this.$=gt[dn-5],zn.setLink(gt[dn-4],gt[dn-2],gt[dn]),zn.setTooltip(gt[dn-4],gt[dn-1]);break;case 84:this.$=gt[dn-2],zn.setCssStyle(gt[dn-1],gt[dn]);break;case 85:zn.setCssClass(gt[dn-1],gt[dn]);break;case 86:this.$=[gt[dn]];break;case 87:gt[dn-2].push(gt[dn]),this.$=gt[dn-2];break;case 89:this.$=gt[dn-1]+gt[dn];break}},table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:a,33:u,35:d,36:21,40:p,41:22,44:v,45:b,47:y,48:E,50:_,52:A,53:P,54:R,55:B,56:j,66:W,67:ee,69:ie,73:oe,74:be,76:ge,80:ae,95:ne,97:se,98:de},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},i(X,[2,5],{8:[1,46]}),{8:[1,47]},i(pe,[2,16],{21:[1,48]}),i(pe,[2,18]),i(pe,[2,19]),i(pe,[2,20]),i(pe,[2,21]),i(pe,[2,22]),i(pe,[2,23]),i(pe,[2,24]),i(pe,[2,25]),i(pe,[2,26]),{32:[1,49]},{34:[1,50]},i(pe,[2,29]),i(pe,[2,45],{49:51,57:54,58:55,13:[1,52],21:[1,53],59:G,60:xe,61:U,62:Be,63:Pe,64:je,65:Ie}),{37:[1,63]},i(Se,[2,36],{37:[1,65],42:[1,64]}),i(pe,[2,47]),i(pe,[2,48]),{16:66,74:be,80:ae,95:ne,97:se},{16:37,17:67,18:38,74:be,80:ae,95:ne,97:se,98:de},{16:37,17:68,18:38,74:be,80:ae,95:ne,97:se,98:de},{16:37,17:69,18:38,74:be,80:ae,95:ne,97:se,98:de},{74:[1,70]},{13:[1,71]},{16:37,17:72,18:38,74:be,80:ae,95:ne,97:se,98:de},{13:Ce,51:73},i(pe,[2,55]),i(pe,[2,56]),i(pe,[2,57]),i(pe,[2,58]),i(ke,[2,11],{16:37,18:38,17:75,19:[1,76],74:be,80:ae,95:ne,97:se,98:de}),i(ke,[2,12],{19:[1,77]}),{15:78,16:79,74:be,80:ae,95:ne,97:se},{16:37,17:80,18:38,74:be,80:ae,95:ne,97:se,98:de},i(Ke,[2,112]),i(Ke,[2,113]),i(Ke,[2,114]),i(Ke,[2,115]),i([1,8,9,12,13,19,21,37,39,42,59,60,61,62,63,64,65,70,72],[2,116]),i(X,[2,6],{10:5,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,17:20,36:21,41:22,16:37,18:38,5:81,31:a,33:u,35:d,40:p,44:v,45:b,47:y,48:E,50:_,52:A,53:P,54:R,55:B,56:j,66:W,67:ee,69:ie,73:oe,74:be,76:ge,80:ae,95:ne,97:se,98:de}),{5:82,10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:a,33:u,35:d,36:21,40:p,41:22,44:v,45:b,47:y,48:E,50:_,52:A,53:P,54:R,55:B,56:j,66:W,67:ee,69:ie,73:oe,74:be,76:ge,80:ae,95:ne,97:se,98:de},i(pe,[2,17]),i(pe,[2,27]),i(pe,[2,28]),{13:[1,84],16:37,17:83,18:38,74:be,80:ae,95:ne,97:se,98:de},{49:85,57:54,58:55,59:G,60:xe,61:U,62:Be,63:Pe,64:je,65:Ie},i(pe,[2,46]),{58:86,64:je,65:Ie},i(zt,[2,62],{57:87,59:G,60:xe,61:U,62:Be,63:Pe}),i(Ne,[2,63]),i(Ne,[2,64]),i(Ne,[2,65]),i(Ne,[2,66]),i(Ne,[2,67]),i(pn,[2,68]),i(pn,[2,69]),{8:[1,89],23:90,38:88,41:22,44:v},{16:91,74:be,80:ae,95:ne,97:se},{43:92,47:Tt},{46:[1,94]},{13:[1,95]},{13:[1,96]},{70:[1,97],72:[1,98]},{21:Et,73:Wt,74:un,75:99,77:100,79:101,80:yt,81:Bt,82:Ze,83:Dt,84:kt,85:Nn},{74:[1,111]},{13:Ce,51:112},i(pe,[2,54]),i(pe,[2,117]),i(ke,[2,13]),i(ke,[2,14]),i(ke,[2,15]),{37:[2,32]},{15:113,16:79,37:[2,9],74:be,80:ae,95:ne,97:se},i(ht,[2,40],{11:114,12:[1,115]}),i(X,[2,7]),{9:[1,116]},i(qr,[2,49]),{16:37,17:117,18:38,74:be,80:ae,95:ne,97:se,98:de},{13:[1,119],16:37,17:118,18:38,74:be,80:ae,95:ne,97:se,98:de},i(zt,[2,61],{57:120,59:G,60:xe,61:U,62:Be,63:Pe}),i(zt,[2,60]),{39:[1,121]},{23:90,38:122,41:22,44:v},{8:[1,123],39:[2,33]},i(Se,[2,37],{37:[1,124]}),{39:[1,125]},{39:[2,43],43:126,47:Tt},{16:37,17:127,18:38,74:be,80:ae,95:ne,97:se,98:de},i(pe,[2,70],{13:[1,128]}),i(pe,[2,72],{13:[1,130],68:[1,129]}),i(pe,[2,76],{13:[1,131],71:[1,132]}),{13:[1,133]},i(pe,[2,84],{78:[1,134]}),i(xt,[2,86],{79:135,21:Et,73:Wt,74:un,80:yt,81:Bt,82:Ze,83:Dt,84:kt,85:Nn}),i(Ri,[2,88]),i(Ri,[2,90]),i(Ri,[2,91]),i(Ri,[2,92]),i(Ri,[2,93]),i(Ri,[2,94]),i(Ri,[2,95]),i(Ri,[2,96]),i(Ri,[2,97]),i(Ri,[2,98]),i(pe,[2,85]),i(pe,[2,53]),{37:[2,10]},i(ht,[2,41]),{13:[1,136]},{1:[2,4]},i(qr,[2,51]),i(qr,[2,50]),{16:37,17:137,18:38,74:be,80:ae,95:ne,97:se,98:de},i(zt,[2,59]),i(pe,[2,30]),{39:[1,138]},{23:90,38:139,39:[2,34],41:22,44:v},{43:140,47:Tt},i(Se,[2,38]),{39:[2,44]},i(pe,[2,42]),i(pe,[2,71]),i(pe,[2,73]),i(pe,[2,74],{68:[1,141]}),i(pe,[2,77]),i(pe,[2,78],{13:[1,142]}),i(pe,[2,80],{13:[1,144],68:[1,143]}),{21:Et,73:Wt,74:un,77:145,79:101,80:yt,81:Bt,82:Ze,83:Dt,84:kt,85:Nn},i(Ri,[2,89]),{14:[1,146]},i(qr,[2,52]),i(pe,[2,31]),{39:[2,35]},{39:[1,147]},i(pe,[2,75]),i(pe,[2,79]),i(pe,[2,81]),i(pe,[2,82],{68:[1,148]}),i(xt,[2,87],{79:135,21:Et,73:Wt,74:un,80:yt,81:Bt,82:Ze,83:Dt,84:kt,85:Nn}),i(ht,[2,8]),i(Se,[2,39]),i(pe,[2,83])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],78:[2,32],113:[2,10],116:[2,4],126:[2,44],139:[2,35]},parseError:function(Tr,On){if(On.recoverable)this.trace(Tr);else{var Rn=new Error(Tr);throw Rn.hash=On,Rn}},parse:function(Tr){var On=this,Rn=[0],zn=[],Ct=[null],gt=[],on=this.table,dn="",Ln=0,Io=0,Oo=2,No=1,Us=gt.slice.call(arguments,1),uo=Object.create(this.lexer),Es={yy:{}};for(var Ou in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ou)&&(Es.yy[Ou]=this.yy[Ou]);uo.setInput(Tr,Es.yy),Es.yy.lexer=uo,Es.yy.parser=this,typeof uo.yylloc>"u"&&(uo.yylloc={});var _c=uo.yylloc;gt.push(_c);var Kd=uo.options&&uo.options.ranges;typeof Es.yy.parseError=="function"?this.parseError=Es.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function qp(){var ma;return ma=zn.pop()||uo.lex()||No,typeof ma!="number"&&(ma instanceof Array&&(zn=ma,ma=zn.pop()),ma=On.symbols_[ma]||ma),ma}for(var Ul,Ac,Jc,Ya,Ba={},ha,$o,Lc,Fa;;){if(Ac=Rn[Rn.length-1],this.defaultActions[Ac]?Jc=this.defaultActions[Ac]:((Ul===null||typeof Ul>"u")&&(Ul=qp()),Jc=on[Ac]&&on[Ac][Ul]),typeof Jc>"u"||!Jc.length||!Jc[0]){var Ra="";Fa=[];for(ha in on[Ac])this.terminals_[ha]&&ha>Oo&&Fa.push("'"+this.terminals_[ha]+"'");uo.showPosition?Ra="Parse error on line "+(Ln+1)+`: -`+uo.showPosition()+` -Expecting `+Fa.join(", ")+", got '"+(this.terminals_[Ul]||Ul)+"'":Ra="Parse error on line "+(Ln+1)+": Unexpected "+(Ul==No?"end of input":"'"+(this.terminals_[Ul]||Ul)+"'"),this.parseError(Ra,{text:uo.match,token:this.terminals_[Ul]||Ul,line:uo.yylineno,loc:_c,expected:Fa})}if(Jc[0]instanceof Array&&Jc.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ac+", token: "+Ul);switch(Jc[0]){case 1:Rn.push(Ul),Ct.push(uo.yytext),gt.push(uo.yylloc),Rn.push(Jc[1]),Ul=null,Io=uo.yyleng,dn=uo.yytext,Ln=uo.yylineno,_c=uo.yylloc;break;case 2:if($o=this.productions_[Jc[1]][1],Ba.$=Ct[Ct.length-$o],Ba._$={first_line:gt[gt.length-($o||1)].first_line,last_line:gt[gt.length-1].last_line,first_column:gt[gt.length-($o||1)].first_column,last_column:gt[gt.length-1].last_column},Kd&&(Ba._$.range=[gt[gt.length-($o||1)].range[0],gt[gt.length-1].range[1]]),Ya=this.performAction.apply(Ba,[dn,Io,Ln,Es.yy,Jc[1],Ct,gt].concat(Us)),typeof Ya<"u")return Ya;$o&&(Rn=Rn.slice(0,-1*$o*2),Ct=Ct.slice(0,-1*$o),gt=gt.slice(0,-1*$o)),Rn.push(this.productions_[Jc[1]][0]),Ct.push(Ba.$),gt.push(Ba._$),Lc=on[Rn[Rn.length-2]][Rn[Rn.length-1]],Rn.push(Lc);break;case 3:return!0}}return!0}},ia=function(){var mo={EOF:1,parseError:function(On,Rn){if(this.yy.parser)this.yy.parser.parseError(On,Rn);else throw new Error(On)},setInput:function(Tr,On){return this.yy=On||this.yy||{},this._input=Tr,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Tr=this._input[0];this.yytext+=Tr,this.yyleng++,this.offset++,this.match+=Tr,this.matched+=Tr;var On=Tr.match(/(?:\r\n?|\n).*/g);return On?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Tr},unput:function(Tr){var On=Tr.length,Rn=Tr.split(/(?:\r\n?|\n)/g);this._input=Tr+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-On),this.offset-=On;var zn=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),Rn.length-1&&(this.yylineno-=Rn.length-1);var Ct=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:Rn?(Rn.length===zn.length?this.yylloc.first_column:0)+zn[zn.length-Rn.length].length-Rn[0].length:this.yylloc.first_column-On},this.options.ranges&&(this.yylloc.range=[Ct[0],Ct[0]+this.yyleng-On]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(Tr){this.unput(this.match.slice(Tr))},pastInput:function(){var Tr=this.matched.substr(0,this.matched.length-this.match.length);return(Tr.length>20?"...":"")+Tr.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Tr=this.match;return Tr.length<20&&(Tr+=this._input.substr(0,20-Tr.length)),(Tr.substr(0,20)+(Tr.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Tr=this.pastInput(),On=new Array(Tr.length+1).join("-");return Tr+this.upcomingInput()+` -`+On+"^"},test_match:function(Tr,On){var Rn,zn,Ct;if(this.options.backtrack_lexer&&(Ct={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Ct.yylloc.range=this.yylloc.range.slice(0))),zn=Tr[0].match(/(?:\r\n?|\n).*/g),zn&&(this.yylineno+=zn.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:zn?zn[zn.length-1].length-zn[zn.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Tr[0].length},this.yytext+=Tr[0],this.match+=Tr[0],this.matches=Tr,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Tr[0].length),this.matched+=Tr[0],Rn=this.performAction.call(this,this.yy,this,On,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Rn)return Rn;if(this._backtrack){for(var gt in Ct)this[gt]=Ct[gt];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Tr,On,Rn,zn;this._more||(this.yytext="",this.match="");for(var Ct=this._currentRules(),gt=0;gtOn[0].length)){if(On=Rn,zn=gt,this.options.backtrack_lexer){if(Tr=this.test_match(Rn,Ct[gt]),Tr!==!1)return Tr;if(this._backtrack){On=!1;continue}else return!1}else if(!this.options.flex)break}return On?(Tr=this.test_match(On,Ct[zn]),Tr!==!1?Tr:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var On=this.next();return On||this.lex()},begin:function(On){this.conditionStack.push(On)},popState:function(){var On=this.conditionStack.length-1;return On>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(On){return On=this.conditionStack.length-1-Math.abs(On||0),On>=0?this.conditionStack[On]:"INITIAL"},pushState:function(On){this.begin(On)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(On,Rn,zn,Ct){switch(zn){case 0:return 53;case 1:return 54;case 2:return 55;case 3:return 56;case 4:break;case 5:break;case 6:return this.begin("acc_title"),31;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),33;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 8;case 14:break;case 15:return 7;case 16:return 7;case 17:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 19:this.popState();break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 70;case 22:this.popState();break;case 23:return 71;case 24:this.popState();break;case 25:return"STR";case 26:this.begin("string");break;case 27:return 73;case 28:return this.begin("namespace"),40;case 29:return this.popState(),8;case 30:break;case 31:return this.begin("namespace-body"),37;case 32:return this.popState(),39;case 33:return"EOF_IN_STRUCT";case 34:return 8;case 35:break;case 36:return"EDGE_STATE";case 37:return this.begin("class"),44;case 38:return this.popState(),8;case 39:break;case 40:return this.popState(),this.popState(),39;case 41:return this.begin("class-body"),37;case 42:return this.popState(),39;case 43:return"EOF_IN_STRUCT";case 44:return"EDGE_STATE";case 45:return"OPEN_IN_STRUCT";case 46:break;case 47:return"MEMBER";case 48:return 76;case 49:return 66;case 50:return 67;case 51:return 69;case 52:return 50;case 53:return 52;case 54:return 45;case 55:return 46;case 56:return 72;case 57:this.popState();break;case 58:return"GENERICTYPE";case 59:this.begin("generic");break;case 60:this.popState();break;case 61:return"BQUOTE_STR";case 62:this.begin("bqstring");break;case 63:return 68;case 64:return 68;case 65:return 68;case 66:return 68;case 67:return 60;case 68:return 60;case 69:return 62;case 70:return 62;case 71:return 61;case 72:return 59;case 73:return 63;case 74:return 64;case 75:return 65;case 76:return 21;case 77:return 42;case 78:return 95;case 79:return"DOT";case 80:return"PLUS";case 81:return 81;case 82:return 78;case 83:return 84;case 84:return 84;case 85:return 85;case 86:return"EQUALS";case 87:return"EQUALS";case 88:return 74;case 89:return 12;case 90:return 14;case 91:return"PUNCTUATION";case 92:return 80;case 93:return 97;case 94:return 83;case 95:return 83;case 96:return 9}},rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,32,33,34,35,36,37,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},namespace:{rules:[26,28,29,30,31,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},"class-body":{rules:[26,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},class:{rules:[26,38,39,40,41,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_descr:{rules:[9,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_title:{rules:[7,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},callback_args:{rules:[22,23,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},callback_name:{rules:[19,20,21,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},href:{rules:[26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},struct:{rules:[26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},generic:{rules:[26,48,49,50,51,52,53,54,55,56,57,58,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},bqstring:{rules:[26,48,49,50,51,52,53,54,55,56,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},string:{rules:[24,25,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,37,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96],inclusive:!0}}};return mo}();wi.lexer=ia;function Hs(){this.yy={}}return Hs.prototype=wi,wi.Parser=Hs,new Hs}();Vve.parser=Vve;const kKe=Vve,TKe=["#","+","~","-",""];class EKe{constructor(a,u){this.memberType=u,this.visibility="",this.classifier="";const d=bh(a,qt());this.parseMember(d)}getDisplayDetails(){let a=this.visibility+JF(this.id);this.memberType==="method"&&(a+=`(${JF(this.parameters.trim())})`,this.returnType&&(a+=" : "+JF(this.returnType))),a=a.trim();const u=this.parseClassifier();return{displayText:a,cssStyle:u}}parseMember(a){let u="";if(this.memberType==="method"){const d=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/,p=a.match(d);if(p){const v=p[1]?p[1].trim():"";if(TKe.includes(v)&&(this.visibility=v),this.id=p[2].trim(),this.parameters=p[3]?p[3].trim():"",u=p[4]?p[4].trim():"",this.returnType=p[5]?p[5].trim():"",u===""){const b=this.returnType.substring(this.returnType.length-1);b.match(/[$*]/)&&(u=b,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{const d=a.length,p=a.substring(0,1),v=a.substring(d-1);TKe.includes(p)&&(this.visibility=p),v.match(/[$*]/)&&(u=v),this.id=a.substring(this.visibility===""?0:1,u===""?d:d-1)}this.classifier=u}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}}const DJ="classId-";let Gve=[],xh={},IJ=[],CKe=0,$9={},Kve=0,nj=[];const nS=i=>oi.sanitizeText(i,qt()),rS=function(i){const a=oi.sanitizeText(i,qt());let u="",d=a;if(a.indexOf("~")>0){const p=a.split("~");d=nS(p[0]),u=nS(p[1])}return{className:d,type:u}},Uin=function(i,a){const u=oi.sanitizeText(i,qt());a&&(a=nS(a));const{className:d}=rS(u);xh[d].label=a},OJ=function(i){const a=oi.sanitizeText(i,qt()),{className:u,type:d}=rS(a);if(Object.hasOwn(xh,u))return;const p=oi.sanitizeText(u,qt());xh[p]={id:p,type:d,label:p,cssClasses:[],methods:[],members:[],annotations:[],styles:[],domId:DJ+p+"-"+CKe},CKe++},SKe=function(i){const a=oi.sanitizeText(i,qt());if(a in xh)return xh[a].domId;throw new Error("Class not found: "+a)},Vin=function(){Gve=[],xh={},IJ=[],nj=[],nj.push(AKe),$9={},Kve=0,Rg()},Gin=function(i){return xh[i]},Kin=function(){return xh},Win=function(){return Gve},Yin=function(){return IJ},Xin=function(i){Xe.debug("Adding relation: "+JSON.stringify(i)),OJ(i.id1),OJ(i.id2),i.id1=rS(i.id1).className,i.id2=rS(i.id2).className,i.relationTitle1=oi.sanitizeText(i.relationTitle1.trim(),qt()),i.relationTitle2=oi.sanitizeText(i.relationTitle2.trim(),qt()),Gve.push(i)},Qin=function(i,a){const u=rS(i).className;xh[u].annotations.push(a)},_Ke=function(i,a){OJ(i);const u=rS(i).className,d=xh[u];if(typeof a=="string"){const p=a.trim();p.startsWith("<<")&&p.endsWith(">>")?d.annotations.push(nS(p.substring(2,p.length-2))):p.indexOf(")")>0?d.methods.push(new EKe(p,"method")):p&&d.members.push(new EKe(p,"attribute"))}},Jin=function(i,a){Array.isArray(a)&&(a.reverse(),a.forEach(u=>_Ke(i,u)))},Zin=function(i,a){const u={id:`note${IJ.length}`,class:a,text:i};IJ.push(u)},esn=function(i){return i.startsWith(":")&&(i=i.substring(1)),nS(i.trim())},Wve=function(i,a){i.split(",").forEach(function(u){let d=u;u[0].match(/\d/)&&(d=DJ+d),xh[d]!==void 0&&xh[d].cssClasses.push(a)})},tsn=function(i,a){i.split(",").forEach(function(u){a!==void 0&&(xh[u].tooltip=nS(a))})},nsn=function(i,a){return a?$9[a].classes[i].tooltip:xh[i].tooltip},rsn=function(i,a,u){const d=qt();i.split(",").forEach(function(p){let v=p;p[0].match(/\d/)&&(v=DJ+v),xh[v]!==void 0&&(xh[v].link=So.formatUrl(a,d),d.securityLevel==="sandbox"?xh[v].linkTarget="_top":typeof u=="string"?xh[v].linkTarget=nS(u):xh[v].linkTarget="_blank")}),Wve(i,"clickable")},isn=function(i,a,u){i.split(",").forEach(function(d){ssn(d,a,u),xh[d].haveCallback=!0}),Wve(i,"clickable")},ssn=function(i,a,u){const d=oi.sanitizeText(i,qt());if(qt().securityLevel!=="loose"||a===void 0)return;const v=d;if(xh[v]!==void 0){const b=SKe(v);let y=[];if(typeof u=="string"){y=u.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let E=0;E")),p.classed("hover",!0)}).on("mouseout",function(){a.transition().duration(500).style("opacity",0),Dr(this).classed("hover",!1)})};nj.push(AKe);let LKe="TB";const NJ={setAccTitle:jg,getAccTitle:Mp,getAccDescription:Ip,setAccDescription:Dp,getConfig:()=>qt().class,addClass:OJ,bindFunctions:asn,clear:Vin,getClass:Gin,getClasses:Kin,getNotes:Yin,addAnnotation:Qin,addNote:Zin,getRelations:Win,addRelation:Xin,getDirection:()=>LKe,setDirection:i=>{LKe=i},addMember:_Ke,addMembers:Jin,cleanupLabel:esn,lineType:osn,relationType:csn,setClickEvent:isn,setCssClass:Wve,setLink:rsn,getTooltip:nsn,setTooltip:tsn,lookUpDomId:SKe,setDiagramTitle:pm,getDiagramTitle:Op,setClassLabel:Uin,addNamespace:function(i){$9[i]===void 0&&($9[i]={id:i,classes:{},children:{},domId:DJ+i+"-"+Kve},Kve++)},addClassesToNamespace:function(i,a){if($9[i]!==void 0)for(const u of a){const{className:d}=rS(u);xh[d].parent=i,$9[i].classes[d]=xh[d]}},getNamespace:function(i){return $9[i]},getNamespaces:function(){return $9},setCssStyle:function(i,a){const u=xh[i];if(!(!a||!u))for(const d of a)d.includes(",")?u.styles.push(...d.split(",")):u.styles.push(d)}},MKe=i=>`g.classGroup text { - fill: ${i.nodeBorder||i.classText}; + + g rect.rect { + filter: ${r}; + stroke: ${t.nodeBorder}; + } +`},"getStyles"),dFr=cui});var sae,bct,T4e,gFr,vct,mFr,yFr,wct=ie(()=>{"use strict";Ia();sae=44,bct=6,T4e=6,gFr=i((t,r)=>t.actorTextHeight??Ya.calculateTextDimensions(t.description??"",{fontFamily:r.actorFontFamily,fontSize:r.actorFontSize,fontWeight:r.actorFontWeight}).height,"actorLabelHeight"),vct=i(t=>sae+bct+t+T4e,"actorStackHeight"),mFr=i((t,r,a)=>{let o=t+r,l=o-T4e-a/2;return{lifelineStartY:o,glyphBottomY:o-T4e-a-bct,labelCenterY:l}},"headerBands"),yFr=i((t,r)=>{let a=t+T4e,o=a+sae;return{glyphTopY:a,glyphBottomY:o,labelCenterY:o+bct+r/2,stackHeight:vct(r)}},"footerBands")});var xct,ZD,uui,vFr,bFr,cae,e_,t_,k4e,IP,HA,Tp,oae,hui,C4e,lae,NP,wFr,Tc,Tct,fui,dui,pui,gui,mui,yui,bui,vui,wui,xui,Tui,kui,Cui,xFr,Eui,Sui,Aui,Rui,Lui,Dui,_ui,r_,Mui,TFr,Iui,qA,Nui,Oui,Pui,Bui,Fui,Vh,kFr=ie(()=>{"use strict";xct=qv(Pee(),1);Qs();Ia();rl();sA();wct();ZD=36,uui=-5,vFr=60,bFr=vFr-uui,cae=i((t,r,a,o)=>{if(r.look!=="neo")return null;let l=gFr(t,r);return a?yFr(o,l):mFr(o,t.height,l)},"neoBands"),e_="actor-top",t_="actor-bottom",k4e="actor-box",IP="actor-man",HA=new Set(["redux-color","redux-dark-color"]),Tp=i((t,r)=>t?.length?t[r%t.length]:void 0,"paletteColor"),oae=i(function(t,r){let a=WN(t,r);return ii().look==="neo"&&a.attr("data-look","neo"),a},"drawRect"),hui=i(function(t,r,a,o,l){if(r.links===void 0||r.links===null||Object.keys(r.links).length===0)return{height:0,width:0};let h=r.links,f=r.actorCnt,p=r.rectData;var m="none";l&&(m="block !important");let b=t.append("g");b.attr("id","actor"+f+"_popup"),b.attr("class","actorPopupMenu"),b.attr("display",m);var v="";p.class!==void 0&&(v=" "+p.class);let T=p.width>a?p.width:a,C=b.append("rect");if(C.attr("class","actorPopupMenuPanel"+v),C.attr("x",p.x),C.attr("y",p.height),C.attr("fill",p.fill),C.attr("stroke",p.stroke),C.attr("width",T),C.attr("height",p.height),C.attr("rx",p.rx),C.attr("ry",p.ry),h!=null){var E=20;for(let L in h){var S=b.append("a"),R=(0,xct.sanitizeUrl)(h[L]);S.attr("xlink:href",R),S.attr("target","_blank"),Nui(o)(L,S,p.x+10,p.height+E,T,20,{class:"actor"},o),E+=30}}return C.attr("height",E),{height:p.height+E,width:T}},"drawPopup"),C4e=i(function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }"},"popupMenuToggle"),lae=i(async function(t,r,a=null){let o=t.append("foreignObject"),l=await Xj(r.text,ii()),f=o.append("xhtml:div").attr("style","width: fit-content;").attr("xmlns","http://www.w3.org/1999/xhtml").html(l).node().getBoundingClientRect();if(o.attr("height",Math.round(f.height)).attr("width",Math.round(f.width)),r.class==="noteText"){let p=t.node().firstChild;p.setAttribute("height",f.height+2*r.textMargin);let m=p.getBBox();o.attr("x",Math.round(m.x+m.width/2-f.width/2)).attr("y",Math.round(m.y+m.height/2-f.height/2))}else if(a){let{startx:p,stopx:m,starty:b}=a;if(p>m){let v=p;p=m,m=v}o.attr("x",Math.round(p+Math.abs(p-m)/2-f.width/2)),r.class==="loopText"?o.attr("y",Math.round(b)):o.attr("y",Math.round(b-f.height))}return[o]},"drawKatex"),NP=i(function(t,r){let a=0,o=0,l=r.text.split(Wn.lineBreakRegex),[h,f]=Tb(r.fontSize),p=[],m=0,b=i(()=>r.y,"yfunc");if(r.valign!==void 0&&r.textMargin!==void 0&&r.textMargin>0)switch(r.valign){case"top":case"start":b=i(()=>Math.round(r.y+r.textMargin),"yfunc");break;case"middle":case"center":b=i(()=>Math.round(r.y+(a+o+r.textMargin)/2),"yfunc");break;case"bottom":case"end":b=i(()=>Math.round(r.y+(a+o+2*r.textMargin)-r.textMargin),"yfunc");break}if(r.anchor!==void 0&&r.textMargin!==void 0&&r.width!==void 0)switch(r.anchor){case"left":case"start":r.x=Math.round(r.x+r.textMargin),r.anchor="start",r.dominantBaseline="middle",r.alignmentBaseline="middle";break;case"middle":case"center":r.x=Math.round(r.x+r.width/2),r.anchor="middle",r.dominantBaseline="middle",r.alignmentBaseline="middle";break;case"right":case"end":r.x=Math.round(r.x+r.width-r.textMargin),r.anchor="end",r.dominantBaseline="middle",r.alignmentBaseline="middle";break}for(let[v,T]of l.entries()){r.textMargin!==void 0&&r.textMargin===0&&h!==void 0&&(m=v*h);let C=t.append("text");C.attr("x",r.x),C.attr("y",b()),r.anchor!==void 0&&C.attr("text-anchor",r.anchor).attr("dominant-baseline",r.dominantBaseline).attr("alignment-baseline",r.alignmentBaseline),r.fontFamily!==void 0&&C.style("font-family",r.fontFamily),f!==void 0&&C.style("font-size",f),r.fontWeight!==void 0&&C.style("font-weight",r.fontWeight),r.fill!==void 0&&C.attr("fill",r.fill),r.class!==void 0&&C.attr("class",r.class),r.dy!==void 0?C.attr("dy",r.dy):m!==0&&C.attr("dy",m);let E=T||BXe;if(r.tspan){let S=C.append("tspan");S.attr("x",r.x),r.fill!==void 0&&S.attr("fill",r.fill),S.text(E)}else C.text(E);r.valign!==void 0&&r.textMargin!==void 0&&r.textMargin>0&&(o+=(C._groups||C)[0][0].getBBox().height,a=o),p.push(C)}return p},"drawText"),wFr=i(function(t,r){function a(l,h,f,p,m){return l+","+h+" "+(l+f)+","+h+" "+(l+f)+","+(h+p-m)+" "+(l+f-m*1.2)+","+(h+p)+" "+l+","+(h+p)}i(a,"genPoints");let o=t.append("polygon");return o.attr("points",a(r.x,r.y,r.width,r.height,7)),o.attr("class","labelBox"),r.y=r.y+r.height/2,NP(t,r),o},"drawLabel"),Tc=-1,Tct=i((t,r,a,o)=>{t.select&&a.forEach(l=>{let h=r.get(l),f=t.select("#actor"+h.actorCnt);!o.mirrorActors&&h.stopy?f.attr("y2",h.stopy+h.height/2):o.mirrorActors&&f.attr("y2",h.stopy)})},"fixLifeLineHeights"),fui=i(function(t,r,a,o,l,h){let f=o?r.stopy:r.starty,p=r.x+r.width/2,m=f+r.height,{look:b,theme:v,themeVariables:T}=a,{bkgColorArray:C,borderColorArray:E}=T,S=t.append("g").lower();var R=S;o||(Tc++,Object.keys(r.links||{}).length&&!a.forceMenus&&R.attr("onclick",C4e(`actor${Tc}_popup`)).attr("cursor","pointer"),R.append("line").attr("id","actor"+Tc).attr("x1",p).attr("y1",m).attr("x2",p).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",r.name).attr("data-et","life-line").attr("data-id",r.name),R=S.append("g"),r.actorCnt=Tc,r.links!=null&&R.attr("id","root-"+Tc),b==="neo"&&R.attr("data-look","neo"));let L=xb();var _="actor";r.properties?.class?_=r.properties.class:L.fill="#eaeaea",o?_+=` ${t_}`:_+=` ${e_}`,L.x=r.x,L.y=f,L.width=r.width,L.height=r.height,L.class=_,L.rx=3,L.ry=3,L.name=r.name,b==="neo"&&(L.rx=6,L.ry=6);let M=oae(R,L),I=h.get(r.name)??0;if(HA.has(v)&&(M.style("stroke",Tp(E,I)),M.style("fill",Tp(C,I))),b==="neo"&&M.attr("filter",`url(#${r_(l)})`),r.rectData=L,r.properties?.icon){let O=r.properties.icon.trim();O.charAt(0)==="@"?Nve(R,L.x+L.width-20,L.y+10,O.substr(1)):Ive(R,L.x+L.width-20,L.y+10,O)}o||(R.attr("data-et","participant"),R.attr("data-type","participant"),R.attr("data-id",r.name)),qA(a,bf(r.description))(r.description,R,L.x,L.y,L.width,L.height,{class:`actor ${k4e}`},a);let F=r.height;if(M.node){let O=M.node().getBBox();a.look!=="neo"&&(r.height=O.height,F=O.height)}return F},"drawActorTypeParticipant"),dui=i(function(t,r,a,o,l,h){let f=o?r.stopy:r.starty,p=r.x+r.width/2,m=f+r.height,{look:b,theme:v,themeVariables:T}=a,{bkgColorArray:C,borderColorArray:E}=T,S=t.append("g").lower();var R=S;o||(Tc++,Object.keys(r.links||{}).length&&!a.forceMenus&&R.attr("onclick",C4e(`actor${Tc}_popup`)).attr("cursor","pointer"),R.append("line").attr("id","actor"+Tc).attr("x1",p).attr("y1",m).attr("x2",p).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",r.name).attr("data-et","life-line").attr("data-id",r.name),R=S.append("g"),r.actorCnt=Tc,r.links!=null&&R.attr("id","root-"+Tc),b==="neo"&&R.attr("data-look","neo"));let L=xb();var _="actor";r.properties?.class?_=r.properties.class:L.fill="#eaeaea",o?_+=` ${t_}`:_+=` ${e_}`,L.x=r.x,L.y=f,L.width=r.width,L.height=r.height,L.class=_,L.name=r.name;let M=6;a.look==="neo"&&(L.height=r.height-M);let I={...L,x:L.x+-M,y:L.y+ +M,class:"actor"},F=oae(R,L),O=oae(R,I);r.rectData=L,b==="neo"&&R.attr("filter",`url(#${r_(l)})`);let P=h.get(r.name)??0;if(HA.has(v)&&(F.style("stroke",Tp(E,P)),F.style("fill",Tp(C,P)),O.style("stroke",Tp(E,P)),O.style("fill",Tp(C,P))),r.properties?.icon){let V=r.properties.icon.trim();V.charAt(0)==="@"?Nve(R,L.x+L.width-20,L.y+10,V.substr(1)):Ive(R,L.x+L.width-20,L.y+10,V)}qA(a,bf(r.description))(r.description,R,L.x-M,L.y+M,L.width,L.height,{class:`actor ${k4e}`},a);let G=r.height;if(F.node){let V=F.node().getBBox();a.look!=="neo"&&(r.height=V.height,G=V.height)}return o||(R.attr("data-et","participant"),R.attr("data-type","collections"),R.attr("data-id",r.name)),G},"drawActorTypeCollections"),pui=i(function(t,r,a,o,l,h){let f=o?r.stopy:r.starty,p=r.x+r.width/2,m=f+r.height,{look:b,theme:v,themeVariables:T}=a,{bkgColorArray:C,borderColorArray:E}=T,S=t.append("g").lower(),R=S;o||(Tc++,Object.keys(r.links||{}).length&&!a.forceMenus&&R.attr("onclick",C4e(`actor${Tc}_popup`)).attr("cursor","pointer"),R.append("line").attr("id","actor"+Tc).attr("x1",p).attr("y1",m).attr("x2",p).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",r.name).attr("data-et","life-line").attr("data-id",r.name),R=S.append("g"),r.actorCnt=Tc,r.links!=null&&R.attr("id","root-"+Tc),b==="neo"&&R.attr("data-look","neo"));let L=xb(),_="actor";r.properties?.class?_=r.properties.class:L.fill="#eaeaea",o?_+=` ${t_}`:_+=` ${e_}`,R.attr("class",_),L.x=r.x,L.y=f,L.width=r.width,L.height=r.height,L.name=r.name;let M=L.height/2,I=M/(2.5+L.height/50),F=R.append("g"),O=R.append("g"),P=`M ${L.x},${L.y+M} + a ${I},${M} 0 0 0 0,${L.height} + h ${L.width-2*I} + a ${I},${M} 0 0 0 0,-${L.height} + Z + `;F.append("path").attr("d",P),O.append("path").attr("d",`M ${L.x},${L.y+M} + a ${I},${M} 0 0 0 0,${L.height}`),F.attr("transform",`translate(${I}, ${-(L.height/2)})`),O.attr("transform",`translate(${L.width-I}, ${-L.height/2})`),r.rectData=L,b==="neo"&&F.attr("filter",`url(#${r_(l)})`);let G=h.get(r.name)??0;if(HA.has(v)&&(F.style("stroke",Tp(E,G)),F.style("fill",Tp(C,G)),O.style("stroke",Tp(E,G)),O.style("fill",Tp(C,G))),r.properties?.icon){let K=r.properties.icon.trim(),J=L.x+L.width-20,H=L.y+10;K.charAt(0)==="@"?Nve(R,J,H,K.substr(1)):Ive(R,J,H,K)}qA(a,bf(r.description))(r.description,R,L.x,L.y,L.width,L.height,{class:`actor ${k4e}`},a);let V=r.height,Y=F.select("path:last-child");if(Y.node()){let K=Y.node().getBBox();a.look!=="neo"&&(r.height=K.height,V=K.height)}return o||(R.attr("data-et","participant"),R.attr("data-type","queue"),R.attr("data-id",r.name)),V},"drawActorTypeQueue"),gui=i(function(t,r,a,o,l,h){let f=o?r.stopy:r.starty,p=r.x+r.width/2,m=cae(r,a,o,f),b=m?m.lifelineStartY:f+75,{look:v,theme:T,themeVariables:C}=a,{bkgColorArray:E,borderColorArray:S,actorBorder:R,actorBkg:L}=C,_=t.append("g").lower();o||(Tc++,_.append("line").attr("id","actor"+Tc).attr("x1",p).attr("y1",b).attr("x2",p).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",r.name).attr("data-et","life-line").attr("data-id",r.name),r.actorCnt=Tc);let M=t.append("g"),I=IP;o?I+=` ${t_}`:I+=` ${e_}`,M.attr("class",I),M.attr("name",r.name);let F=xb();F.x=r.x,F.y=f,F.fill="#eaeaea",F.width=r.width,F.height=r.height,F.class="actor";let O=r.x+r.width/2,P=m?m.glyphBottomY-22:f+32,G=22;M.append("defs").append("marker").attr("id",l+"-filled-head-control").attr("refX",11).attr("refY",5.8).attr("markerWidth",20).attr("markerHeight",28).attr("orient","172.5").attr("stroke-width",1.2).append("path").attr("d","M 14.4 5.6 L 7.2 10.4 L 8.8 5.6 L 7.2 0.8 Z"),M.append("circle").attr("cx",O).attr("cy",P).attr("r",G).attr("filter",`${v==="neo"?`url(#${r_(l)})`:""}`),M.append("line").attr("marker-end","url(#"+l+"-filled-head-control)").attr("transform",`translate(${O}, ${P-G})`);let V=h.get(r.name)??0;if(HA.has(T)?(M.style("stroke",Tp(S,V)),M.style("fill",Tp(E,V))):(M.style("stroke",R),M.style("fill",L)),!m){let Y=M.node().getBBox();r.height=Y.height+2*(a?.sequence?.labelBoxHeight??0)}return qA(a,bf(r.description))(r.description,M,F.x,m?m.labelCenterY-F.height/2:F.y+G+(o?5:12),F.width,F.height,{class:`actor ${IP}`},a),o||(M.attr("data-et","participant"),M.attr("data-type","control"),M.attr("data-id",r.name)),r.height},"drawActorTypeControl"),mui=i(function(t,r,a,o,l,h){let f=o?r.stopy:r.starty,p=r.x+r.width/2,m=cae(r,a,o,f),b=m?m.lifelineStartY:f+75,{look:v,theme:T,themeVariables:C}=a,{bkgColorArray:E,borderColorArray:S}=C,R=t.append("g").lower(),L=t.append("g"),_="actor";o?_+=` ${t_}`:_+=` ${e_}`,L.attr("class",_),L.attr("name",r.name);let M=xb();M.x=r.x,M.y=f,M.fill="#eaeaea",M.width=r.width,M.height=r.height,M.class="actor";let I=r.x+r.width/2,F=m?m.glyphBottomY-22:f+(o?10:25),O=22;L.append("circle").attr("cx",I).attr("cy",F).attr("r",O).attr("width",r.width).attr("height",r.height),L.append("line").attr("x1",I-O).attr("x2",I+O).attr("y1",F+O).attr("y2",F+O).attr("stroke-width",2),v==="neo"&&L.attr("filter",`url(#${r_(l)})`);let P=h.get(r.name)??0;if(HA.has(T)&&(L.style("stroke",Tp(S,P)),L.style("fill",Tp(E,P))),!m){let G=L.node().getBBox();r.height=G.height+(a?.sequence?.labelBoxHeight??0)}return o||(Tc++,R.append("line").attr("id","actor"+Tc).attr("x1",p).attr("y1",b).attr("x2",p).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",r.name).attr("data-et","life-line").attr("data-id",r.name),r.actorCnt=Tc),qA(a,bf(r.description))(r.description,L,M.x,m?m.labelCenterY-M.height/2:M.y+(o?15:30),M.width,M.height,{class:`actor ${IP}`},a),m||L.attr("transform",`translate(0, ${o?O:O/2-5})`),o||(L.attr("data-et","participant"),L.attr("data-type","entity"),L.attr("data-id",r.name)),r.height},"drawActorTypeEntity"),yui=i(function(t,r,a,o,l,h){let f=o?r.stopy:r.starty,p=r.x+r.width/2,m=cae(r,a,o,f),b=m?m.lifelineStartY:f+r.height+2*a.boxTextMargin,{theme:v,themeVariables:T,look:C}=a,{bkgColorArray:E,borderColorArray:S,actorBorder:R}=T,L=t.append("g").lower(),_=L;o||(Tc++,Object.keys(r.links||{}).length&&!a.forceMenus&&_.attr("onclick",C4e(`actor${Tc}_popup`)).attr("cursor","pointer"),_.append("line").attr("id","actor"+Tc).attr("x1",p).attr("y1",b).attr("x2",p).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",r.name).attr("data-et","life-line").attr("data-id",r.name),_=L.append("g"),r.actorCnt=Tc,r.links!=null&&_.attr("id","root-"+Tc),C==="neo"&&_.attr("data-look","neo"));let M=xb(),I="actor";r.properties?.class?I=r.properties.class:M.fill="#eaeaea",o?I+=` ${t_}`:I+=` ${e_}`,M.x=r.x,M.y=f,M.width=r.width,M.height=r.height,M.class=I,M.name=r.name,M.x=r.x,M.y=f;let F=M.width/3,O=F/2,P=O/(2.5+F/50),G=m?sae:M.width/3,V=m?m.glyphBottomY-G-P:M.y,Y=_.append("g");Y.attr("class",I);let K=` + M ${M.x},${V+P} + a ${O},${P} 0 0 0 ${F},0 + a ${O},${P} 0 0 0 -${F},0 + l 0,${G-2*P} + a ${O},${P} 0 0 0 ${F},0 + l 0,-${G-2*P} +`;Y.append("path").attr("d",K),C==="neo"&&Y.attr("filter",`url(#${r_(l)})`);let J=h.get(r.name)??0;if(HA.has(v)?(Y.style("stroke",Tp(S,J)),Y.style("fill",Tp(E,J))):Y.style("stroke",R),Y.attr("transform",`translate(${F}, ${P})`),r.rectData=M,qA(a,bf(r.description))(r.description,_,M.x,m?m.labelCenterY-M.height/2:M.y+35,M.width,M.height,{class:`actor ${k4e}`},a),!m){let H=Y.select("path:last-child");if(H.node()){let q=H.node().getBBox();r.height=q.height+(a.sequence.labelBoxHeight??0)}}return o||(_.attr("data-et","participant"),_.attr("data-type","database"),_.attr("data-id",r.name)),r.height},"drawActorTypeDatabase"),bui=i(function(t,r,a,o,l,h){let f=o?r.stopy:r.starty,p=r.x+r.width/2,m=cae(r,a,o,f),b=m?m.lifelineStartY:f+80,v=22,T=m?m.glyphBottomY-v:f+12,C=t.append("g").lower(),{look:E,theme:S,themeVariables:R}=a,{bkgColorArray:L,borderColorArray:_,actorBorder:M}=R;o||(Tc++,C.append("line").attr("id","actor"+Tc).attr("x1",p).attr("y1",b).attr("x2",p).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",r.name).attr("data-et","life-line").attr("data-id",r.name),r.actorCnt=Tc);let I=t.append("g"),F=IP;o?F+=` ${t_}`:F+=` ${e_}`,I.attr("class",F),I.attr("name",r.name);let O=xb();O.x=r.x,O.y=f,O.fill="#eaeaea",O.width=r.width,O.height=r.height,O.class="actor",I.append("line").attr("id","actor-man-torso"+Tc).attr("x1",r.x+r.width/2-v*2.5).attr("y1",T).attr("x2",r.x+r.width/2-15).attr("y2",T),I.append("line").attr("id","actor-man-arms"+Tc).attr("x1",r.x+r.width/2-v*2.5).attr("y1",T-10).attr("x2",r.x+r.width/2-v*2.5).attr("y2",T+10),I.append("circle").attr("cx",r.x+r.width/2).attr("cy",T).attr("r",v),E==="neo"&&I.attr("filter",`url(#${r_(l)})`);let P=h.get(r.name)??0;if(HA.has(S)?(I.style("stroke",Tp(_,P)),I.style("fill",Tp(L,P))):I.style("stroke",M),!m){let G=I.node().getBBox();r.height=G.height+(a.sequence.labelBoxHeight??0)}return qA(a,bf(r.description))(r.description,I,O.x,m?m.labelCenterY-O.height/2:O.y+15,O.width,O.height,{class:`actor ${IP}`},a),m||I.attr("transform",`translate(0,${v/2+10})`),o||(I.attr("data-et","participant"),I.attr("data-type","boundary"),I.attr("data-id",r.name)),r.height},"drawActorTypeBoundary"),vui=i(function(t,r,a,o,l){let h=o?r.stopy:r.starty,f=r.x+r.width/2,p=cae(r,a,o,h),m=p?p.lifelineStartY:h+80,{theme:b,themeVariables:v}=a,{bkgColorArray:T,borderColorArray:C,actorBorder:E}=v,S=t.append("g").lower();o||(Tc++,S.append("line").attr("id","actor"+Tc).attr("x1",f).attr("y1",m).attr("x2",f).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",r.name).attr("data-et","life-line").attr("data-id",r.name),r.actorCnt=Tc);let R=t.append("g"),L=IP;o?L+=` ${t_}`:L+=` ${e_}`,R.attr("class",L),R.attr("name",r.name),o||R.attr("data-et","participant").attr("data-type","actor").attr("data-id",r.name);let _=p?sae/bFr:1,M=i(G=>p?p.glyphBottomY-(vFr-G)*_:h+G,"gy"),I=i(G=>f+G*_,"gx");R.append("line").attr("id","actor-man-torso"+Tc).attr("x1",f).attr("y1",M(25)).attr("x2",f).attr("y2",M(45)),R.append("line").attr("id","actor-man-arms"+Tc).attr("x1",I(-ZD/2)).attr("y1",M(33)).attr("x2",I(ZD/2)).attr("y2",M(33)),R.append("line").attr("x1",I(-ZD/2)).attr("y1",M(60)).attr("x2",f).attr("y2",M(45)),R.append("line").attr("x1",f).attr("y1",M(45)).attr("x2",I(ZD/2-2)).attr("y2",M(60));let F=R.append("circle");F.attr("cx",r.x+r.width/2),F.attr("cy",M(10)),F.attr("r",15*_),F.attr("width",r.width),F.attr("height",r.height),p||(r.height=bFr);let O=xb();O.x=r.x,O.y=h,O.fill="#eaeaea",O.width=r.width,O.height=r.height,O.class="actor",O.rx=3,O.ry=3;let P=l.get(r.name)??0;return HA.has(b)?(R.style("stroke",Tp(C,P)),R.style("fill",Tp(T,P))):R.style("stroke",E),qA(a,bf(r.description))(r.description,R,O.x,p?p.labelCenterY-O.height/2:h+35,O.width,O.height,{class:`actor ${IP}`},a),r.height},"drawActorTypeActor"),wui=i(async function(t,r,a,o,l,h,f){let p=f??new Map([...h.db.getActors().values()].map((m,b)=>[m.name,b]));switch(r.type){case"actor":return await vui(t,r,a,o,p);case"participant":return await fui(t,r,a,o,l,p);case"boundary":return await bui(t,r,a,o,l,p);case"control":return await gui(t,r,a,o,l,p);case"entity":return await mui(t,r,a,o,l,p);case"database":return await yui(t,r,a,o,l,p);case"collections":return await dui(t,r,a,o,l,p);case"queue":return await pui(t,r,a,o,l,p)}},"drawActor"),xui=i(function(t,r,a){let l=t.append("g");xFr(l,r),r.name&&qA(a)(r.name,l,r.x,r.y+a.boxTextMargin+(r.textMaxHeight||0)/2,r.width,0,{class:"text"},a),l.lower()},"drawBox"),Tui=i(function(t){return t.append("g")},"anchorElement"),kui=i(function(t,r,a,o,l,h,f){let{theme:p,themeVariables:m}=o,{bkgColorArray:b,borderColorArray:v,mainBkg:T}=m,C=xb(),E=r.anchored,S=r.actor;C.x=r.startx,C.y=r.starty,C.class="activation"+l%3,C.width=r.stopx-r.startx,C.height=a-r.starty;let R=oae(E,C),_=(f??new Map([...h.db.getActors().values()].map((M,I)=>[M.name,I]))).get(S)??0;HA.has(p)&&(R.style("stroke",Tp(v,_)),R.style("fill",Tp(b,_)??T))},"drawActivation"),Cui=i(async function(t,r,a,o,l){let{boxMargin:h,boxTextMargin:f,labelBoxHeight:p,labelBoxWidth:m,messageFontFamily:b,messageFontSize:v,messageFontWeight:T}=o,C=t.append("g").attr("data-et","control-structure").attr("data-id","i"+l.id),E=i(function(L,_,M,I){return C.append("line").attr("x1",L).attr("y1",_).attr("x2",M).attr("y2",I).attr("class","loopLine")},"drawLoopLine");E(r.startx,r.starty,r.stopx,r.starty),E(r.stopx,r.starty,r.stopx,r.stopy),E(r.startx,r.stopy,r.stopx,r.stopy),E(r.startx,r.starty,r.startx,r.stopy),r.sections!==void 0&&r.sections.forEach(function(L){E(r.startx,L.y,r.stopx,L.y).style("stroke-dasharray","3, 3")});let S=Dte();S.text=a,S.x=r.startx,S.y=r.starty,S.fontFamily=b,S.fontSize=v,S.fontWeight=T,S.anchor="middle",S.valign="middle",S.tspan=!1,S.width=Math.max(m??0,50),S.height=p+(o.look==="neo"?15:0)||20,S.textMargin=f,S.class="labelText",wFr(C,S),S=TFr(),S.text=r.title,S.x=r.startx+m/2+(r.stopx-r.startx)/2,S.y=r.starty+h+f,S.anchor="middle",S.valign="middle",S.textMargin=f,S.class="loopText",S.fontFamily=b,S.fontSize=v,S.fontWeight=T,S.wrap=!0;let R=bf(S.text)?await lae(C,S,r):NP(C,S);if(r.sectionTitles!==void 0){for(let[L,_]of Object.entries(r.sectionTitles))if(_.message){S.text=_.message,S.x=r.startx+(r.stopx-r.startx)/2,S.y=r.sections[L].y+h+f,S.class="sectionTitle",S.anchor="middle",S.valign="middle",S.tspan=!1,S.fontFamily=b,S.fontSize=v,S.fontWeight=T,S.wrap=r.wrap,bf(S.text)?(r.starty=r.sections[L].y,await lae(C,S,r)):NP(C,S);let M=Math.round(R.map(I=>(I._groups||I)[0][0].getBBox().height).reduce((I,F)=>I+F));r.sections[L].height+=M-(h+f)}}return r.height=Math.round(r.stopy-r.starty),C},"drawLoop"),xFr=i(function(t,r){Mve(t,r)},"drawBackgroundRect"),Eui=i(function(t,r){t.append("defs").append("symbol").attr("id",r+"-database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},"insertDatabaseIcon"),Sui=i(function(t,r){t.append("defs").append("symbol").attr("id",r+"-computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},"insertComputerIcon"),Aui=i(function(t,r){t.append("defs").append("symbol").attr("id",r+"-clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},"insertClockIcon"),Rui=i(function(t,r){t.append("defs").append("marker").attr("id",r+"-arrowhead").attr("refX",7.9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M -1 0 L 10 5 L 0 10 z")},"insertArrowHead"),Lui=i(function(t,r){t.append("defs").append("marker").attr("id",r+"-filled-head").attr("refX",15.5).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")},"insertArrowFilledHead"),Dui=i(function(t,r){t.append("defs").append("marker").attr("id",r+"-sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},"insertSequenceNumber"),_ui=i(function(t,r){t.append("defs").append("marker").attr("id",r+"-crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",4.5).append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,7")},"insertArrowCrossHead"),r_=i(t=>t?`${t}-drop-shadow`:"drop-shadow","dropShadowId"),Mui=i(function(t,r,a){let{theme:o}=r;t.append("defs").append("filter").attr("id",r_(a)).attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",`${o==="redux"||o==="redux-color"?"#000000":"#FFFFFF"}`)},"insertDropShadow"),TFr=i(function(){return{x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}},"getTextObj"),Iui=i(function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),qA=(function(){function t(h,f,p,m,b,v,T){let C=f.append("text").attr("x",p+b/2).attr("y",m+v/2+5).style("text-anchor","middle").text(h);l(C,T)}i(t,"byText");function r(h,f,p,m,b,v,T,C){let{actorFontSize:E,actorFontFamily:S,actorFontWeight:R}=C,[L,_]=Tb(E),M=h.split(Wn.lineBreakRegex);for(let I=0;I{let f=OP(Rr),p=h.actorKeys.reduce((T,C)=>T+=t.get(C).width+(t.get(C).margin||0),0),m=Rr.boxMargin*8;p+=m,p-=2*Rr.boxTextMargin,h.wrap&&(h.name=Ya.wrapLabel(h.name,p-2*Rr.wrapPadding,f));let b=Ya.calculateTextDimensions(h.name,f);l=Wn.getMax(b.height,l);let v=Wn.getMax(p,b.width+2*Rr.wrapPadding);if(h.margin=Rr.boxTextMargin,ph.textMaxHeight=l),Wn.getMax(o,Rr.height)}var Rr,fi,$ui,CFr,OP,QV,Cct,jui,zui,Ect,SFr,AFr,E4e,EFr,Vui,qui,Yui,Kui,Xui,kct,Qui,RFr,Jui,Zui,ehi,LFr,DFr=ie(()=>{"use strict";Yo();kFr();Xn();rl();rl();sA();ma();wct();Pj();Ia();Gh();yct();Rr={},fi={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:i(function(){return Math.max.apply(null,this.actors.length===0?[0]:this.actors.map(t=>t.height||0))+(this.loops.length===0?0:this.loops.map(t=>t.height||0).reduce((t,r)=>t+r))+(this.messages.length===0?0:this.messages.map(t=>t.height||0).reduce((t,r)=>t+r))+(this.notes.length===0?0:this.notes.map(t=>t.height||0).reduce((t,r)=>t+r))},"getHeight"),clear:i(function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},"clear"),addBox:i(function(t){this.boxes.push(t)},"addBox"),addActor:i(function(t){this.actors.push(t)},"addActor"),addLoop:i(function(t){this.loops.push(t)},"addLoop"),addMessage:i(function(t){this.messages.push(t)},"addMessage"),addNote:i(function(t){this.notes.push(t)},"addNote"),lastActor:i(function(){return this.actors[this.actors.length-1]},"lastActor"),lastLoop:i(function(){return this.loops[this.loops.length-1]},"lastLoop"),lastMessage:i(function(){return this.messages[this.messages.length-1]},"lastMessage"),lastNote:i(function(){return this.notes[this.notes.length-1]},"lastNote"),actors:[],boxes:[],loops:[],messages:[],notes:[]},init:i(function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,AFr(Zt())},"init"),updateVal:i(function(t,r,a,o){t[r]===void 0?t[r]=a:t[r]=o(a,t[r])},"updateVal"),updateBounds:i(function(t,r,a,o){let l=this,h=0;function f(p){return i(function(b){h++;let v=l.sequenceItems.length-h+1;l.updateVal(b,"starty",r-v*Rr.boxMargin,Math.min),l.updateVal(b,"stopy",o+v*Rr.boxMargin,Math.max),l.updateVal(fi.data,"startx",t-v*Rr.boxMargin,Math.min),l.updateVal(fi.data,"stopx",a+v*Rr.boxMargin,Math.max),p!=="activation"&&(l.updateVal(b,"startx",t-v*Rr.boxMargin,Math.min),l.updateVal(b,"stopx",a+v*Rr.boxMargin,Math.max),l.updateVal(fi.data,"starty",r-v*Rr.boxMargin,Math.min),l.updateVal(fi.data,"stopy",o+v*Rr.boxMargin,Math.max))},"updateItemBounds")}i(f,"updateFn"),this.sequenceItems.forEach(f()),this.activations.forEach(f("activation"))},"updateBounds"),insert:i(function(t,r,a,o){let l=Wn.getMin(t,a),h=Wn.getMax(t,a),f=Wn.getMin(r,o),p=Wn.getMax(r,o);this.updateVal(fi.data,"startx",l,Math.min),this.updateVal(fi.data,"starty",f,Math.min),this.updateVal(fi.data,"stopx",h,Math.max),this.updateVal(fi.data,"stopy",p,Math.max),this.updateBounds(l,f,h,p)},"insert"),newActivation:i(function(t,r,a){let o=a.get(t.from),l=E4e(t.from).length||0,h=o.x+o.width/2+(l-1)*Rr.activationWidth/2;this.activations.push({startx:h,starty:this.verticalPos+2,stopx:h+Rr.activationWidth,stopy:void 0,actor:t.from,anchored:Vh.anchorElement(r)})},"newActivation"),endActivation:i(function(t){let r=this.activations.map(function(a){return a.actor}).lastIndexOf(t.from);return this.activations.splice(r,1)[0]},"endActivation"),createLoop:i(function(t={message:void 0,wrap:!1,width:void 0},r){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:r}},"createLoop"),newLoop:i(function(t={message:void 0,wrap:!1,width:void 0},r){this.sequenceItems.push(this.createLoop(t,r))},"newLoop"),endLoop:i(function(){return this.sequenceItems.pop()},"endLoop"),isLoopOverlap:i(function(){return this.sequenceItems.length?this.sequenceItems[this.sequenceItems.length-1].overlap:!1},"isLoopOverlap"),addSectionToLoop:i(function(t){let r=this.sequenceItems.pop();r.sections=r.sections||[],r.sectionTitles=r.sectionTitles||[],r.sections.push({y:fi.getVerticalPos(),height:0}),r.sectionTitles.push(t),this.sequenceItems.push(r)},"addSectionToLoop"),saveVerticalPos:i(function(){this.isLoopOverlap()&&(this.savedVerticalPos=this.verticalPos)},"saveVerticalPos"),resetVerticalPos:i(function(){this.isLoopOverlap()&&(this.verticalPos=this.savedVerticalPos)},"resetVerticalPos"),bumpVerticalPos:i(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=Wn.getMax(this.data.stopy,this.verticalPos)},"bumpVerticalPos"),getVerticalPos:i(function(){return this.verticalPos},"getVerticalPos"),getBounds:i(function(){return{bounds:this.data,models:this.models}},"getBounds")},$ui=i(async function(t,r,a){fi.bumpVerticalPos(Rr.boxMargin),r.height=Rr.boxMargin,r.starty=fi.getVerticalPos();let o=xb();o.x=r.startx,o.y=r.starty,o.width=r.width||Rr.width,o.class="note";let l=t.append("g");l.attr("data-et","note"),l.attr("data-id","i"+a);let h=Vh.drawRect(l,o),f=Dte();f.x=r.startx,f.y=r.starty,f.width=o.width,f.dy="1em",f.text=r.message,f.class="noteText",f.fontFamily=Rr.noteFontFamily,f.fontSize=Rr.noteFontSize,f.fontWeight=Rr.noteFontWeight,f.anchor=Rr.noteAlign,f.textMargin=Rr.noteMargin,f.valign="center";let p=bf(f.text)?await lae(l,f):NP(l,f),m=Math.round(p.map(b=>(b._groups||b)[0][0].getBBox().height).reduce((b,v)=>b+v));h.attr("height",m+2*Rr.noteMargin),r.height+=m+2*Rr.noteMargin,fi.bumpVerticalPos(m+2*Rr.noteMargin),r.stopy=r.starty+m+2*Rr.noteMargin,r.stopx=r.startx+o.width,fi.insert(r.startx,r.starty,r.stopx,r.stopy),fi.models.addNote(r)},"drawNote"),CFr=i(function(t,r,a,o,l,h,f){let p=o.db.getActors(),m=p.get(r.from),b=p.get(r.to),v=a.sequenceVisible,T=m.x+m.width/2,C=b.x+b.width/2,E=T<=C,S=RFr(r,o),R=t.append("g"),L=16.5,_=i((P,G)=>{let V=P?L:-L;return G?-V:V},"getCircleOffset"),M=i(P=>{R.append("circle").attr("cx",P).attr("cy",f).attr("r",5).attr("width",10).attr("height",10)},"drawCircle"),{CENTRAL_CONNECTION:I,CENTRAL_CONNECTION_REVERSE:F,CENTRAL_CONNECTION_DUAL:O}=o.db.LINETYPE;if(v)switch(r.centralConnection){case I:S&&(C+=_(E,!0));break;case F:S||(T+=_(E,!1));break;case O:S?C+=_(E,!0):T+=_(E,!1);break}switch(r.centralConnection){case I:M(C);break;case F:M(T);break;case O:M(T),M(C);break}},"drawCentralConnection"),OP=i(t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),"messageFont"),QV=i(t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),"noteFont"),Cct=i(t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight}),"actorFont");i(Gui,"boundMessage");jui=i(async function(t,r,a,o,l,h){let{startx:f,stopx:p,starty:m,message:b,type:v,sequenceIndex:T,sequenceVisible:C}=r,E=Ya.calculateTextDimensions(b,OP(Rr)),S=Dte();S.x=Math.min(f,p),S.y=m+10,S.width=Math.abs(p-f),S.class="messageText",S.dy="1em",S.text=b,S.fontFamily=Rr.messageFontFamily,S.fontSize=Rr.messageFontSize,S.fontWeight=Rr.messageFontWeight,S.anchor=Rr.messageAlign,S.valign="center",S.textMargin=Rr.wrapPadding,S.tspan=!1,bf(S.text)?await lae(t,S,{startx:f,stopx:p,starty:a}):NP(t,S);let R=E.width,L;if(f===p){let M=C||Rr.showSequenceNumbers,I=RFr(l,o),F=Jui(l,o),O=f+(M&&(I||F)?10:0);Rr.rightAngles?L=t.append("path").attr("d",`M ${O},${a} H ${f+Wn.getMax(Rr.width/2,R/2)} V ${a+25} H ${f}`):L=t.append("path").attr("d","M "+O+","+a+" C "+(O+60)+","+(a-10)+" "+(f+60)+","+(a+30)+" "+f+","+(a+20)),kct(l,o)&&CFr(t,l,r,o,f,p,a)}else L=t.append("line"),L.attr("x1",f),L.attr("y1",a),L.attr("x2",p),L.attr("y2",a),kct(l,o)&&CFr(t,l,r,o,f,p,a);v===o.db.LINETYPE.DOTTED||v===o.db.LINETYPE.DOTTED_CROSS||v===o.db.LINETYPE.DOTTED_POINT||v===o.db.LINETYPE.DOTTED_OPEN||v===o.db.LINETYPE.BIDIRECTIONAL_DOTTED||v===o.db.LINETYPE.SOLID_TOP_DOTTED||v===o.db.LINETYPE.SOLID_BOTTOM_DOTTED||v===o.db.LINETYPE.STICK_TOP_DOTTED||v===o.db.LINETYPE.STICK_BOTTOM_DOTTED||v===o.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED||v===o.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED||v===o.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED||v===o.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED?(L.style("stroke-dasharray","3, 3"),L.attr("class","messageLine1")):L.attr("class","messageLine0"),L.attr("data-et","message"),L.attr("data-id","i"+r.id),L.attr("data-from",r.from),L.attr("data-to",r.to);let _="";if(Rr.arrowMarkerAbsolute&&(_=Fqe(!0)),L.attr("stroke-width",2),L.attr("stroke","none"),L.style("fill","none"),(v===o.db.LINETYPE.SOLID_TOP||v===o.db.LINETYPE.SOLID_TOP_DOTTED)&&L.attr("marker-end","url("+_+"#"+h+"-solidTopArrowHead)"),(v===o.db.LINETYPE.SOLID_BOTTOM||v===o.db.LINETYPE.SOLID_BOTTOM_DOTTED)&&L.attr("marker-end","url("+_+"#"+h+"-solidBottomArrowHead)"),(v===o.db.LINETYPE.STICK_TOP||v===o.db.LINETYPE.STICK_TOP_DOTTED)&&L.attr("marker-end","url("+_+"#"+h+"-stickTopArrowHead)"),(v===o.db.LINETYPE.STICK_BOTTOM||v===o.db.LINETYPE.STICK_BOTTOM_DOTTED)&&L.attr("marker-end","url("+_+"#"+h+"-stickBottomArrowHead)"),(v===o.db.LINETYPE.SOLID_ARROW_TOP_REVERSE||v===o.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED)&&L.attr("marker-start","url("+_+"#"+h+"-solidBottomArrowHead)"),(v===o.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE||v===o.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED)&&L.attr("marker-start","url("+_+"#"+h+"-solidTopArrowHead)"),(v===o.db.LINETYPE.STICK_ARROW_TOP_REVERSE||v===o.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED)&&L.attr("marker-start","url("+_+"#"+h+"-stickBottomArrowHead)"),(v===o.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE||v===o.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED)&&L.attr("marker-start","url("+_+"#"+h+"-stickTopArrowHead)"),(v===o.db.LINETYPE.SOLID||v===o.db.LINETYPE.DOTTED)&&L.attr("marker-end","url("+_+"#"+h+"-arrowhead)"),(v===o.db.LINETYPE.BIDIRECTIONAL_SOLID||v===o.db.LINETYPE.BIDIRECTIONAL_DOTTED)&&(L.attr("marker-start","url("+_+"#"+h+"-arrowhead)"),L.attr("marker-end","url("+_+"#"+h+"-arrowhead)")),(v===o.db.LINETYPE.SOLID_POINT||v===o.db.LINETYPE.DOTTED_POINT)&&L.attr("marker-end","url("+_+"#"+h+"-filled-head)"),(v===o.db.LINETYPE.SOLID_CROSS||v===o.db.LINETYPE.DOTTED_CROSS)&&L.attr("marker-end","url("+_+"#"+h+"-crosshead)"),C||Rr.showSequenceNumbers){let M=v===o.db.LINETYPE.BIDIRECTIONAL_SOLID||v===o.db.LINETYPE.BIDIRECTIONAL_DOTTED,I=v===o.db.LINETYPE.SOLID_ARROW_TOP_REVERSE||v===o.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED||v===o.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE||v===o.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED||v===o.db.LINETYPE.STICK_ARROW_TOP_REVERSE||v===o.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED||v===o.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE||v===o.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED,F=6,O=kct(l,o),P=f,G=p;M?(ff?G=p-2*F:(G=p-F,P+=l?.centralConnection===o.db.LINETYPE.CENTRAL_CONNECTION_DUAL||l?.centralConnection===o.db.LINETYPE.CENTRAL_CONNECTION_REVERSE?-7.5:0),G+=O?15:0,L.attr("x2",G),L.attr("x1",P)):L.attr("x1",f+F);let V=0,Y=f===p,K=f<=p;Y?V=r.fromBounds+1:I?V=K?r.toBounds-1:r.fromBounds+1:V=K?r.fromBounds+1:r.toBounds-1;let J="12px",H=T.toString().length;H>5?J="7px":H>3&&(J="9px"),t.append("line").attr("x1",V).attr("y1",a).attr("x2",V).attr("y2",a).attr("stroke-width",0).attr("marker-start","url("+_+"#"+h+"-sequencenumber)"),t.append("text").attr("x",V).attr("y",a+4).attr("font-family","sans-serif").attr("font-size",J).attr("text-anchor","middle").attr("class","sequenceNumber").text(T)}},"drawMessage"),zui=i(function(t,r,a,o,l,h,f){let p=0,m=0,b,v=0;for(let T of o){let C=r.get(T),E=C.box;b&&b!=E&&(f||fi.models.addBox(b),m+=Rr.boxMargin+b.margin),E&&E!=b&&(f||(E.x=p+m,E.y=l),m+=E.margin),C.width=Wn.getMax(C.width||Rr.width,Rr.width),C.height=Wn.getMax(C.height||Rr.height,Rr.height),C.margin=C.margin||Rr.actorMargin,v=Wn.getMax(v,C.height),a.get(C.name)&&(m+=C.width/2),C.x=p+m,C.starty=fi.getVerticalPos(),fi.insert(C.x,l,C.x+C.width,C.height),p+=C.width+m,C.box&&(C.box.width=p+E.margin-C.box.x),m=C.margin,b=C.box,fi.models.addActor(C)}b&&!f&&fi.models.addBox(b),fi.bumpVerticalPos(v)},"addActorRenderingData"),Ect=i(async function(t,r,a,o,l,h,f){if(o){let p=0;fi.bumpVerticalPos(Rr.boxMargin*2);for(let m of a){let b=r.get(m);b.stopy||(b.stopy=fi.getVerticalPos());let v=await Vh.drawActor(t,b,Rr,!0,l,h,f);p=Wn.getMax(p,v)}fi.bumpVerticalPos(p+Rr.boxMargin)}else for(let p of a){let m=r.get(p);await Vh.drawActor(t,m,Rr,!1,l,h,f)}},"drawActors"),SFr=i(function(t,r,a,o){let l=0,h=0;for(let f of a){let p=r.get(f),m=qui(p),b=Vh.drawPopup(t,p,m,Rr,Rr.forceMenus,o);b.height>l&&(l=b.height),b.width+p.x>h&&(h=b.width+p.x)}return{maxHeight:l,maxWidth:h}},"drawActorsPopup"),AFr=i(function(t){Fh(Rr,t),t.fontFamily&&(Rr.actorFontFamily=Rr.noteFontFamily=Rr.messageFontFamily=t.fontFamily),t.fontSize&&(Rr.actorFontSize=Rr.noteFontSize=Rr.messageFontSize=t.fontSize),t.fontWeight&&(Rr.actorFontWeight=Rr.noteFontWeight=Rr.messageFontWeight=t.fontWeight)},"setConf"),E4e=i(function(t){return fi.activations.filter(function(r){return r.actor===t})},"actorActivations"),EFr=i(function(t,r){let a=r.get(t),o=E4e(t),l=o.reduce(function(f,p){return Wn.getMin(f,p.startx)},a.x+a.width/2-1),h=o.reduce(function(f,p){return Wn.getMax(f,p.stopx)},a.x+a.width/2+1);return[l,h]},"activationBounds");i(BS,"adjustLoopHeightForWrap");i(Uui,"adjustCreatedDestroyedData");Vui=i(async function(t,r,a,o){let{securityLevel:l,sequence:h,look:f,themeVariables:p}=Zt();Rr=h;let m;l==="sandbox"&&(m=dn("#i"+r));let b=l==="sandbox"?dn(m.nodes()[0].contentDocument.body):dn("body"),v=l==="sandbox"?m.nodes()[0].contentDocument:document;fi.init(),Pe.debug(o.db);let T=l==="sandbox"?b.select(`[id="${r}"]`):dn(`[id="${r}"]`),C=o.db.getActors(),E=o.db.getCreatedActors(),S=o.db.getDestroyedActors(),R=o.db.getBoxes(),L=o.db.getActorKeys(),_=o.db.getMessages(),M=o.db.getDiagramTitle(),I=o.db.hasAtLeastOneBox(),F=o.db.hasAtLeastOneBoxWithTitle(),O=await Hui(C,_,o);if(Rr.height=await Wui(C,O,R),Vh.insertComputerIcon(T,r),Vh.insertDatabaseIcon(T,r),Vh.insertClockIcon(T,r),I&&(fi.bumpVerticalPos(Rr.boxMargin),F&&fi.bumpVerticalPos(R[0].textMaxHeight)),Rr.hideUnusedParticipants===!0){let le=new Set;_.forEach(de=>{le.add(de.from),le.add(de.to)}),L=L.filter(de=>le.has(de))}let P=new Map(L.map((le,de)=>[C.get(le)?.name??le,de]));zui(T,C,E,L,0,_,!1);let G=await ehi(_,C,O,o);Vh.insertArrowHead(T,r),Vh.insertArrowCrossHead(T,r),Vh.insertArrowFilledHead(T,r),Vh.insertSequenceNumber(T,r),Vh.insertSolidTopArrowHead(T,r),Vh.insertSolidBottomArrowHead(T,r),Vh.insertStickTopArrowHead(T,r),Vh.insertStickBottomArrowHead(T,r),f==="neo"&&Vh.insertDropShadow(T,Rr,r);function V(le,de){let ve=fi.endActivation(le);ve.starty+18>de&&(ve.starty=de-6,de+=12),Vh.drawActivation(T,ve,de,Rr,E4e(le.from).length,o,P),fi.insert(ve.startx,de-10,ve.stopx,de)}i(V,"activeEnd");let Y=1,K=1,J=[],H=[],q=0;for(let le of _){let de,ve,Se;switch(le.type){case o.db.LINETYPE.NOTE:fi.resetVerticalPos(),ve=le.noteModel,await $ui(T,ve,le.id);break;case o.db.LINETYPE.ACTIVE_START:fi.newActivation(le,T,C);break;case o.db.LINETYPE.CENTRAL_CONNECTION:fi.newActivation(le,T,C);break;case o.db.LINETYPE.CENTRAL_CONNECTION_REVERSE:fi.newActivation(le,T,C);break;case o.db.LINETYPE.ACTIVE_END:V(le,fi.getVerticalPos());break;case o.db.LINETYPE.LOOP_START:BS(G,le,Rr.boxMargin,Rr.boxMargin+Rr.boxTextMargin,_e=>fi.newLoop(_e));break;case o.db.LINETYPE.LOOP_END:de=fi.endLoop(),await Vh.drawLoop(T,de,"loop",Rr,le),fi.bumpVerticalPos(de.stopy-fi.getVerticalPos()),fi.models.addLoop(de);break;case o.db.LINETYPE.RECT_START:BS(G,le,Rr.boxMargin,Rr.boxMargin,_e=>{let Ce=_e.message;Ce||(Ce=p?.rectBkgColor||p?.actorBkg||"rgba(128, 128, 128, 0.5)"),fi.newLoop(void 0,Ce)});break;case o.db.LINETYPE.RECT_END:de=fi.endLoop(),H.push(de),fi.models.addLoop(de),fi.bumpVerticalPos(de.stopy-fi.getVerticalPos());break;case o.db.LINETYPE.OPT_START:BS(G,le,Rr.boxMargin,Rr.boxMargin+Rr.boxTextMargin,_e=>fi.newLoop(_e));break;case o.db.LINETYPE.OPT_END:de=fi.endLoop(),await Vh.drawLoop(T,de,"opt",Rr,le),fi.bumpVerticalPos(de.stopy-fi.getVerticalPos()),fi.models.addLoop(de);break;case o.db.LINETYPE.ALT_START:BS(G,le,Rr.boxMargin,Rr.boxMargin+Rr.boxTextMargin,_e=>fi.newLoop(_e));break;case o.db.LINETYPE.ALT_ELSE:BS(G,le,Rr.boxMargin+Rr.boxTextMargin,Rr.boxMargin,_e=>fi.addSectionToLoop(_e));break;case o.db.LINETYPE.ALT_END:de=fi.endLoop(),await Vh.drawLoop(T,de,"alt",Rr,le),fi.bumpVerticalPos(de.stopy-fi.getVerticalPos()),fi.models.addLoop(de);break;case o.db.LINETYPE.PAR_START:case o.db.LINETYPE.PAR_OVER_START:BS(G,le,Rr.boxMargin,Rr.boxMargin+Rr.boxTextMargin,_e=>fi.newLoop(_e)),fi.saveVerticalPos();break;case o.db.LINETYPE.PAR_AND:BS(G,le,Rr.boxMargin+Rr.boxTextMargin,Rr.boxMargin,_e=>fi.addSectionToLoop(_e));break;case o.db.LINETYPE.PAR_END:de=fi.endLoop(),await Vh.drawLoop(T,de,"par",Rr,le),fi.bumpVerticalPos(de.stopy-fi.getVerticalPos()),fi.models.addLoop(de);break;case o.db.LINETYPE.AUTONUMBER:Y=le.message.start||Y,K=le.message.step||K,le.message.visible?o.db.enableSequenceNumbers():o.db.disableSequenceNumbers();break;case o.db.LINETYPE.CRITICAL_START:BS(G,le,Rr.boxMargin,Rr.boxMargin+Rr.boxTextMargin,_e=>fi.newLoop(_e));break;case o.db.LINETYPE.CRITICAL_OPTION:BS(G,le,Rr.boxMargin+Rr.boxTextMargin,Rr.boxMargin,_e=>fi.addSectionToLoop(_e));break;case o.db.LINETYPE.CRITICAL_END:de=fi.endLoop(),await Vh.drawLoop(T,de,"critical",Rr,le),fi.bumpVerticalPos(de.stopy-fi.getVerticalPos()),fi.models.addLoop(de);break;case o.db.LINETYPE.BREAK_START:BS(G,le,Rr.boxMargin,Rr.boxMargin+Rr.boxTextMargin,_e=>fi.newLoop(_e));break;case o.db.LINETYPE.BREAK_END:de=fi.endLoop(),await Vh.drawLoop(T,de,"break",Rr,le),fi.bumpVerticalPos(de.stopy-fi.getVerticalPos()),fi.models.addLoop(de);break;default:try{Se=le.msgModel,Se.starty=fi.getVerticalPos(),Se.sequenceIndex=Y,Se.sequenceVisible=o.db.showSequenceNumbers(),Se.id=le.id,Se.from=le.from,Se.to=le.to;let _e=await Gui(T,Se);Uui(le,Se,_e,q,C,E,S),J.push({messageModel:Se,lineStartY:_e,msg:le}),fi.models.addMessage(Se)}catch(_e){Pe.error("error while drawing message",_e)}}[o.db.LINETYPE.SOLID_OPEN,o.db.LINETYPE.DOTTED_OPEN,o.db.LINETYPE.SOLID,o.db.LINETYPE.SOLID_TOP,o.db.LINETYPE.SOLID_BOTTOM,o.db.LINETYPE.STICK_TOP,o.db.LINETYPE.STICK_BOTTOM,o.db.LINETYPE.SOLID_TOP_DOTTED,o.db.LINETYPE.SOLID_BOTTOM_DOTTED,o.db.LINETYPE.STICK_TOP_DOTTED,o.db.LINETYPE.STICK_BOTTOM_DOTTED,o.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,o.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE,o.db.LINETYPE.STICK_ARROW_TOP_REVERSE,o.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE,o.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,o.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,o.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED,o.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED,o.db.LINETYPE.DOTTED,o.db.LINETYPE.SOLID_CROSS,o.db.LINETYPE.DOTTED_CROSS,o.db.LINETYPE.SOLID_POINT,o.db.LINETYPE.DOTTED_POINT,o.db.LINETYPE.BIDIRECTIONAL_SOLID,o.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(le.type)&&(Y=Math.round((Y+K)*100)/100),q++}Pe.debug("createdActors",E),Pe.debug("destroyedActors",S),await Ect(T,C,L,!1,r,o,P);for(let le of J)await jui(T,le.messageModel,le.lineStartY,o,le.msg,r);Rr.mirrorActors&&await Ect(T,C,L,!0,r,o,P),H.forEach(le=>Vh.drawBackgroundRect(T,le)),Tct(T,C,L,Rr);for(let le of fi.models.boxes){le.height=fi.getVerticalPos()-le.y,fi.insert(le.x,le.y,le.x+le.width,le.height);let de=Rr.boxMargin*2;le.startx=le.x-de,le.starty=le.y-de*.25,le.stopx=le.startx+le.width+2*de,le.stopy=le.starty+le.height+de*.75,le.stroke="rgb(0,0,0, 0.5)",Vh.drawBox(T,le,Rr)}I&&fi.bumpVerticalPos(Rr.boxMargin);let Z=SFr(T,C,L,v),{bounds:Q}=fi.getBounds();Q.startx===void 0&&(Q.startx=0),Q.starty===void 0&&(Q.starty=0),Q.stopx===void 0&&(Q.stopx=0),Q.stopy===void 0&&(Q.stopy=0);let W=Q.stopy-Q.starty;W2,C=i(L=>m?-L:L,"adjustValue");t.from===t.to?v=b:(t.activate&&!T&&(v+=C(Rr.activationWidth/2-1)),[a.db.LINETYPE.SOLID_OPEN,a.db.LINETYPE.DOTTED_OPEN,a.db.LINETYPE.STICK_TOP,a.db.LINETYPE.STICK_BOTTOM,a.db.LINETYPE.STICK_TOP_DOTTED,a.db.LINETYPE.STICK_BOTTOM_DOTTED,a.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,a.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,a.db.LINETYPE.STICK_ARROW_TOP_REVERSE,a.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE,a.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED,a.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED,a.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,a.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE].includes(t.type)||(v+=C(3)),[a.db.LINETYPE.BIDIRECTIONAL_SOLID,a.db.LINETYPE.BIDIRECTIONAL_DOTTED,a.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,a.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,a.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,a.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE].includes(t.type)&&(b-=C(3)));let E=[l,h,f,p],S=Math.abs(b-v);t.wrap&&t.message&&(t.message=Ya.wrapLabel(t.message,Wn.getMax(S+2*Rr.wrapPadding,Rr.width),OP(Rr)));let R=Ya.calculateTextDimensions(t.message,OP(Rr));return{width:Wn.getMax(t.wrap?0:R.width+2*Rr.wrapPadding,S+2*Rr.wrapPadding,Rr.width),height:0,startx:b,stopx:v,starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,E),toBounds:Math.max.apply(null,E)}},"buildMessageModel"),ehi=i(async function(t,r,a,o){let l={},h=[],f,p,m;for(let b of t){switch(b.type){case o.db.LINETYPE.LOOP_START:case o.db.LINETYPE.ALT_START:case o.db.LINETYPE.OPT_START:case o.db.LINETYPE.PAR_START:case o.db.LINETYPE.PAR_OVER_START:case o.db.LINETYPE.CRITICAL_START:case o.db.LINETYPE.BREAK_START:h.push({id:b.id,msg:b.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case o.db.LINETYPE.ALT_ELSE:case o.db.LINETYPE.PAR_AND:case o.db.LINETYPE.CRITICAL_OPTION:b.message&&(f=h.pop(),l[f.id]=f,l[b.id]=f,h.push(f));break;case o.db.LINETYPE.LOOP_END:case o.db.LINETYPE.ALT_END:case o.db.LINETYPE.OPT_END:case o.db.LINETYPE.PAR_END:case o.db.LINETYPE.CRITICAL_END:case o.db.LINETYPE.BREAK_END:f=h.pop(),l[f.id]=f;break;case o.db.LINETYPE.ACTIVE_START:{let T=r.get(b.from?b.from:b.to.actor),C=E4e(b.from?b.from:b.to.actor).length,E=T.x+T.width/2+(C-1)*Rr.activationWidth/2,S={startx:E,stopx:E+Rr.activationWidth,actor:b.from,enabled:!0};fi.activations.push(S)}break;case o.db.LINETYPE.ACTIVE_END:{let T=fi.activations.map(C=>C.actor).lastIndexOf(b.from);fi.activations.splice(T,1).splice(0,1)}break}b.placement!==void 0?(p=await Yui(b,r,o),b.noteModel=p,h.forEach(T=>{f=T,f.from=Wn.getMin(f.from,p.startx),f.to=Wn.getMax(f.to,p.startx+p.width),f.width=Wn.getMax(f.width,Math.abs(f.from-f.to))-Rr.labelBoxWidth})):(m=Zui(b,r,o),b.msgModel=m,m.startx&&m.stopx&&h.length>0&&h.forEach(T=>{if(f=T,m.startx===m.stopx){let C=r.get(b.from),E=r.get(b.to);f.from=Wn.getMin(C.x-m.width/2,C.x-C.width/2,f.from),f.to=Wn.getMax(E.x+m.width/2,E.x+C.width/2,f.to),f.width=Wn.getMax(f.width,Math.abs(f.to-f.from))-Rr.labelBoxWidth}else f.from=Wn.getMin(m.startx,f.from),f.to=Wn.getMax(m.stopx,f.to),f.width=Wn.getMax(f.width,m.width)-Rr.labelBoxWidth}))}return fi.activations=[],Pe.debug("Loop type widths:",l),l},"calculateLoopBounds"),LFr={bounds:fi,drawActors:Ect,drawActorsPopup:SFr,setConf:AFr,draw:Vui}});var _Fr={};cs(_Fr,{diagram:()=>thi});var thi,MFr=ie(()=>{"use strict";fFr();yct();pFr();ma();DFr();thi={parser:hFr,get db(){return new x4e},renderer:LFr,styles:dFr,init:i(t=>{t.sequence||(t.sequence={}),t.wrap&&(t.sequence.wrap=t.wrap,X6({sequence:{wrap:t.wrap}}))},"init")}});var Sct,OFr,PFr=ie(()=>{"use strict";Sct=(function(){var t=i(function(ze,se,ke,Le){for(ke=ke||{},Le=ze.length;Le--;ke[ze[Le]]=se);return ke},"o"),r=[1,18],a=[1,19],o=[1,20],l=[1,41],h=[1,26],f=[1,42],p=[1,24],m=[1,25],b=[1,32],v=[1,33],T=[1,34],C=[1,45],E=[1,35],S=[1,36],R=[1,37],L=[1,38],_=[1,27],M=[1,28],I=[1,29],F=[1,30],O=[1,31],P=[1,44],G=[1,46],V=[1,43],Y=[1,47],K=[1,9],J=[1,8,9],H=[1,58],q=[1,59],Z=[1,60],Q=[1,61],W=[1,62],te=[1,63],z=[1,64],re=[1,8,9,41],ae=[1,77],ce=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],le=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],de=[13,60,86,100,102,103],ve=[13,60,73,74,86,100,102,103],Se=[13,60,68,69,70,71,72,86,100,102,103],_e=[1,103],Ce=[1,121],Ve=[1,117],De=[1,113],qe=[1,119],Ue=[1,114],We=[1,115],mt=[1,116],ct=[1,118],Ot=[1,120],yr=[22,50,60,61,82,86,87,88,89,90],tr=[1,128],Xe=[12,39],Rt=[1,8,9,39,41,44,46],ft=[1,8,9,22],bt=[1,153],Me=[1,8,9,61],Fe=[1,8,9,22,50,60,61,82,86,87,88,89,90],je={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:i(function(se,ke,Le,he,Ne,Ee,ye){var be=Ee.length-1;switch(Ne){case 8:this.$=Ee[be-1];break;case 9:case 10:case 13:case 15:this.$=Ee[be];break;case 11:case 14:this.$=Ee[be-2]+"."+Ee[be];break;case 12:case 16:this.$=Ee[be-1]+Ee[be];break;case 17:case 18:this.$=Ee[be-1]+"~"+Ee[be]+"~";break;case 19:he.addRelation(Ee[be]);break;case 20:Ee[be-1].title=he.cleanupLabel(Ee[be]),he.addRelation(Ee[be-1]);break;case 31:this.$=Ee[be].trim(),he.setAccTitle(this.$);break;case 32:case 33:this.$=Ee[be].trim(),he.setAccDescription(this.$);break;case 34:he.addClassesToNamespace(Ee[be-3],Ee[be-1][0],Ee[be-1][1]),he.popNamespace();break;case 35:he.addClassesToNamespace(Ee[be-4],Ee[be-1][0],Ee[be-1][1]),he.popNamespace();break;case 36:this.$=he.addNamespace(Ee[be]);break;case 37:this.$=he.addNamespace(Ee[be-1],Ee[be]);break;case 38:this.$=[[Ee[be]],[]];break;case 39:this.$=[[Ee[be-1]],[]];break;case 40:Ee[be][0].unshift(Ee[be-2]),this.$=Ee[be];break;case 41:this.$=[[],[Ee[be]]];break;case 42:this.$=[[],[Ee[be-1]]];break;case 43:Ee[be][1].unshift(Ee[be-2]),this.$=Ee[be];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=Ee[be];break;case 48:he.setCssClass(Ee[be-2],Ee[be]);break;case 49:he.addMembers(Ee[be-3],Ee[be-1]);break;case 51:he.setCssClass(Ee[be-5],Ee[be-3]),he.addMembers(Ee[be-5],Ee[be-1]);break;case 52:he.addAnnotation(Ee[be-3],Ee[be-1]);break;case 53:he.addAnnotation(Ee[be-6],Ee[be-4]),he.addMembers(Ee[be-6],Ee[be-1]);break;case 54:he.addAnnotation(Ee[be-5],Ee[be-3]);break;case 55:this.$=Ee[be],he.addClass(Ee[be]);break;case 56:this.$=Ee[be-1],he.addClass(Ee[be-1]),he.setClassLabel(Ee[be-1],Ee[be]);break;case 60:he.addAnnotation(Ee[be],Ee[be-2]);break;case 61:case 74:this.$=[Ee[be]];break;case 62:Ee[be].push(Ee[be-1]),this.$=Ee[be];break;case 63:break;case 64:he.addMember(Ee[be-1],he.cleanupLabel(Ee[be]));break;case 65:break;case 66:break;case 67:this.$={id1:Ee[be-2],id2:Ee[be],relation:Ee[be-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:Ee[be-3],id2:Ee[be],relation:Ee[be-1],relationTitle1:Ee[be-2],relationTitle2:"none"};break;case 69:this.$={id1:Ee[be-3],id2:Ee[be],relation:Ee[be-2],relationTitle1:"none",relationTitle2:Ee[be-1]};break;case 70:this.$={id1:Ee[be-4],id2:Ee[be],relation:Ee[be-2],relationTitle1:Ee[be-3],relationTitle2:Ee[be-1]};break;case 71:this.$=he.addNote(Ee[be],Ee[be-1]);break;case 72:this.$=he.addNote(Ee[be]);break;case 73:this.$=Ee[be-2],he.defineClass(Ee[be-1],Ee[be]);break;case 75:this.$=Ee[be-2].concat([Ee[be]]);break;case 76:he.setDirection("TB");break;case 77:he.setDirection("BT");break;case 78:he.setDirection("RL");break;case 79:he.setDirection("LR");break;case 80:this.$={type1:Ee[be-2],type2:Ee[be],lineType:Ee[be-1]};break;case 81:this.$={type1:"none",type2:Ee[be],lineType:Ee[be-1]};break;case 82:this.$={type1:Ee[be-1],type2:"none",lineType:Ee[be]};break;case 83:this.$={type1:"none",type2:"none",lineType:Ee[be]};break;case 84:this.$=he.relationType.AGGREGATION;break;case 85:this.$=he.relationType.EXTENSION;break;case 86:this.$=he.relationType.COMPOSITION;break;case 87:this.$=he.relationType.DEPENDENCY;break;case 88:this.$=he.relationType.LOLLIPOP;break;case 89:this.$=he.lineType.LINE;break;case 90:this.$=he.lineType.DOTTED_LINE;break;case 91:case 97:this.$=Ee[be-2],he.setClickEvent(Ee[be-1],Ee[be]);break;case 92:case 98:this.$=Ee[be-3],he.setClickEvent(Ee[be-2],Ee[be-1]),he.setTooltip(Ee[be-2],Ee[be]);break;case 93:this.$=Ee[be-2],he.setLink(Ee[be-1],Ee[be]);break;case 94:this.$=Ee[be-3],he.setLink(Ee[be-2],Ee[be-1],Ee[be]);break;case 95:this.$=Ee[be-3],he.setLink(Ee[be-2],Ee[be-1]),he.setTooltip(Ee[be-2],Ee[be]);break;case 96:this.$=Ee[be-4],he.setLink(Ee[be-3],Ee[be-2],Ee[be]),he.setTooltip(Ee[be-3],Ee[be-1]);break;case 99:this.$=Ee[be-3],he.setClickEvent(Ee[be-2],Ee[be-1],Ee[be]);break;case 100:this.$=Ee[be-4],he.setClickEvent(Ee[be-3],Ee[be-2],Ee[be-1]),he.setTooltip(Ee[be-3],Ee[be]);break;case 101:this.$=Ee[be-3],he.setLink(Ee[be-2],Ee[be]);break;case 102:this.$=Ee[be-4],he.setLink(Ee[be-3],Ee[be-1],Ee[be]);break;case 103:this.$=Ee[be-4],he.setLink(Ee[be-3],Ee[be-1]),he.setTooltip(Ee[be-3],Ee[be]);break;case 104:this.$=Ee[be-5],he.setLink(Ee[be-4],Ee[be-2],Ee[be]),he.setTooltip(Ee[be-4],Ee[be-1]);break;case 105:this.$=Ee[be-2],he.setCssStyle(Ee[be-1],Ee[be]);break;case 106:he.setCssClass(Ee[be-1],Ee[be]);break;case 107:this.$=[Ee[be]];break;case 108:Ee[be-2].push(Ee[be]),this.$=Ee[be-2];break;case 110:this.$=Ee[be-1]+Ee[be];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:r,35:a,37:o,38:22,42:l,43:23,46:h,48:f,51:p,52:m,54:b,56:v,57:T,60:C,62:E,63:S,64:R,65:L,75:_,76:M,78:I,82:F,83:O,86:P,100:G,102:V,103:Y},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(K,[2,5],{8:[1,48]}),{8:[1,49]},t(J,[2,19],{22:[1,50]}),t(J,[2,21]),t(J,[2,22]),t(J,[2,23]),t(J,[2,24]),t(J,[2,25]),t(J,[2,26]),t(J,[2,27]),t(J,[2,28]),t(J,[2,29]),t(J,[2,30]),{34:[1,51]},{36:[1,52]},t(J,[2,33]),t(J,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:H,69:q,70:Z,71:Q,72:W,73:te,74:z}),{39:[1,65]},t(re,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),t(J,[2,65]),t(J,[2,66]),{16:69,60:C,86:P,100:G,102:V},{16:39,17:40,19:70,60:C,86:P,100:G,102:V,103:Y},{16:39,17:40,19:71,60:C,86:P,100:G,102:V,103:Y},{16:39,17:40,19:72,60:C,86:P,100:G,102:V,103:Y},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:C,86:P,100:G,102:V,103:Y},{13:ae,55:76},{58:78,60:[1,79]},t(J,[2,76]),t(J,[2,77]),t(J,[2,78]),t(J,[2,79]),t(ce,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:C,86:P,100:G,102:V,103:Y}),t(ce,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:C,86:P,100:G,102:V,103:Y},{16:39,17:40,19:87,60:C,86:P,100:G,102:V,103:Y},t(le,[2,133]),t(le,[2,134]),t(le,[2,135]),t(le,[2,136]),t([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),t(K,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:r,35:a,37:o,42:l,46:h,48:f,51:p,52:m,54:b,56:v,57:T,60:C,62:E,63:S,64:R,65:L,75:_,76:M,78:I,82:F,83:O,86:P,100:G,102:V,103:Y}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:r,35:a,37:o,38:22,42:l,43:23,46:h,48:f,51:p,52:m,54:b,56:v,57:T,60:C,62:E,63:S,64:R,65:L,75:_,76:M,78:I,82:F,83:O,86:P,100:G,102:V,103:Y},t(J,[2,20]),t(J,[2,31]),t(J,[2,32]),{13:[1,91],16:39,17:40,19:90,60:C,86:P,100:G,102:V,103:Y},{53:92,66:56,67:57,68:H,69:q,70:Z,71:Q,72:W,73:te,74:z},t(J,[2,64]),{67:93,73:te,74:z},t(de,[2,83],{66:94,68:H,69:q,70:Z,71:Q,72:W}),t(ve,[2,84]),t(ve,[2,85]),t(ve,[2,86]),t(ve,[2,87]),t(ve,[2,88]),t(Se,[2,89]),t(Se,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:l,43:23,48:f,54:b,56:v},{16:100,60:C,86:P,100:G,102:V},{41:[1,102],45:101,51:_e},{16:104,60:C,86:P,100:G,102:V},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:Ce,50:Ve,59:110,60:De,82:qe,84:111,85:112,86:Ue,87:We,88:mt,89:ct,90:Ot},{60:[1,122]},{13:ae,55:123},t(re,[2,72]),t(re,[2,138]),{22:Ce,50:Ve,59:124,60:De,61:[1,125],82:qe,84:111,85:112,86:Ue,87:We,88:mt,89:ct,90:Ot},t(yr,[2,74]),{16:39,17:40,19:126,60:C,86:P,100:G,102:V,103:Y},t(ce,[2,16]),t(ce,[2,17]),t(ce,[2,18]),{11:127,12:tr,39:[2,36]},t(Xe,[2,9],{16:85,17:86,15:130,18:[1,129],60:C,86:P,100:G,102:V,103:Y}),t(Xe,[2,10]),t(Rt,[2,55],{11:131,12:tr}),t(K,[2,7]),{9:[1,132]},t(ft,[2,67]),{16:39,17:40,19:133,60:C,86:P,100:G,102:V,103:Y},{13:[1,135],16:39,17:40,19:134,60:C,86:P,100:G,102:V,103:Y},t(de,[2,82],{66:136,68:H,69:q,70:Z,71:Q,72:W}),t(de,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:l,43:23,48:f,54:b,56:v},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},t(re,[2,48],{39:[1,142]}),{41:[1,143]},t(re,[2,50]),{41:[2,61],45:144,51:_e},{47:[1,145]},{16:39,17:40,19:146,60:C,86:P,100:G,102:V,103:Y},t(J,[2,91],{13:[1,147]}),t(J,[2,93],{13:[1,149],77:[1,148]}),t(J,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},t(J,[2,105],{61:bt}),t(Me,[2,107],{85:154,22:Ce,50:Ve,60:De,82:qe,86:Ue,87:We,88:mt,89:ct,90:Ot}),t(Fe,[2,109]),t(Fe,[2,111]),t(Fe,[2,112]),t(Fe,[2,113]),t(Fe,[2,114]),t(Fe,[2,115]),t(Fe,[2,116]),t(Fe,[2,117]),t(Fe,[2,118]),t(Fe,[2,119]),t(J,[2,106]),t(re,[2,71]),t(J,[2,73],{61:bt}),{60:[1,155]},t(ce,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:C,86:P,100:G,102:V,103:Y},t(Xe,[2,12]),t(Rt,[2,56]),{1:[2,4]},t(ft,[2,69]),t(ft,[2,68]),{16:39,17:40,19:158,60:C,86:P,100:G,102:V,103:Y},t(de,[2,80]),t(re,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:l,43:23,48:f,54:b,56:v},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:l,43:23,48:f,54:b,56:v},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:l,43:23,48:f,54:b,56:v},{45:163,51:_e},t(re,[2,49]),{41:[2,62]},t(re,[2,52],{39:[1,164]}),t(J,[2,60]),t(J,[2,92]),t(J,[2,94]),t(J,[2,95],{77:[1,165]}),t(J,[2,98]),t(J,[2,99],{13:[1,166]}),t(J,[2,101],{13:[1,168],77:[1,167]}),{22:Ce,50:Ve,60:De,82:qe,84:169,85:112,86:Ue,87:We,88:mt,89:ct,90:Ot},t(Fe,[2,110]),t(yr,[2,75]),{14:[1,170]},t(Xe,[2,11]),t(ft,[2,70]),t(re,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:_e},t(J,[2,96]),t(J,[2,100]),t(J,[2,102]),t(J,[2,103],{77:[1,174]}),t(Me,[2,108],{85:154,22:Ce,50:Ve,60:De,82:qe,86:Ue,87:We,88:mt,89:ct,90:Ot}),t(Rt,[2,8]),t(re,[2,51]),{41:[1,175]},t(re,[2,54]),t(J,[2,104]),t(re,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:i(function(se,ke){if(ke.recoverable)this.trace(se);else{var Le=new Error(se);throw Le.hash=ke,Le}},"parseError"),parse:i(function(se){var ke=this,Le=[0],he=[],Ne=[null],Ee=[],ye=this.table,be="",ht=0,Je=0,it=0,lt=2,Vt=1,$t=Ee.slice.call(arguments,1),gr=Object.create(this.lexer),jt={yy:{}};for(var qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,qt)&&(jt.yy[qt]=this.yy[qt]);gr.setInput(se,jt.yy),jt.yy.lexer=gr,jt.yy.parser=this,typeof gr.yylloc>"u"&&(gr.yylloc={});var Wt=gr.yylloc;Ee.push(Wt);var Ut=gr.options&&gr.options.ranges;typeof jt.yy.parseError=="function"?this.parseError=jt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function rn(Tn){Le.length=Le.length-2*Tn,Ne.length=Ne.length-Tn,Ee.length=Ee.length-Tn}i(rn,"popStack");function pt(){var Tn;return Tn=he.pop()||gr.lex()||Vt,typeof Tn!="number"&&(Tn instanceof Array&&(he=Tn,Tn=he.pop()),Tn=ke.symbols_[Tn]||Tn),Tn}i(pt,"lex");for(var $n,Gt,Rn,Qn,En,di,Bn={},mi,Qr,Pi,qa;;){if(Rn=Le[Le.length-1],this.defaultActions[Rn]?Qn=this.defaultActions[Rn]:(($n===null||typeof $n>"u")&&($n=pt()),Qn=ye[Rn]&&ye[Rn][$n]),typeof Qn>"u"||!Qn.length||!Qn[0]){var Ke="";qa=[];for(mi in ye[Rn])this.terminals_[mi]&&mi>lt&&qa.push("'"+this.terminals_[mi]+"'");gr.showPosition?Ke="Parse error on line "+(ht+1)+`: +`+gr.showPosition()+` +Expecting `+qa.join(", ")+", got '"+(this.terminals_[$n]||$n)+"'":Ke="Parse error on line "+(ht+1)+": Unexpected "+($n==Vt?"end of input":"'"+(this.terminals_[$n]||$n)+"'"),this.parseError(Ke,{text:gr.match,token:this.terminals_[$n]||$n,line:gr.yylineno,loc:Wt,expected:qa})}if(Qn[0]instanceof Array&&Qn.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Rn+", token: "+$n);switch(Qn[0]){case 1:Le.push($n),Ne.push(gr.yytext),Ee.push(gr.yylloc),Le.push(Qn[1]),$n=null,Gt?($n=Gt,Gt=null):(Je=gr.yyleng,be=gr.yytext,ht=gr.yylineno,Wt=gr.yylloc,it>0&&it--);break;case 2:if(Qr=this.productions_[Qn[1]][1],Bn.$=Ne[Ne.length-Qr],Bn._$={first_line:Ee[Ee.length-(Qr||1)].first_line,last_line:Ee[Ee.length-1].last_line,first_column:Ee[Ee.length-(Qr||1)].first_column,last_column:Ee[Ee.length-1].last_column},Ut&&(Bn._$.range=[Ee[Ee.length-(Qr||1)].range[0],Ee[Ee.length-1].range[1]]),di=this.performAction.apply(Bn,[be,Je,ht,jt.yy,Qn[1],Ne,Ee].concat($t)),typeof di<"u")return di;Qr&&(Le=Le.slice(0,-1*Qr*2),Ne=Ne.slice(0,-1*Qr),Ee=Ee.slice(0,-1*Qr)),Le.push(this.productions_[Qn[1]][0]),Ne.push(Bn.$),Ee.push(Bn._$),Pi=ye[Le[Le.length-2]][Le[Le.length-1]],Le.push(Pi);break;case 3:return!0}}return!0},"parse")},He=(function(){var ze={EOF:1,parseError:i(function(ke,Le){if(this.yy.parser)this.yy.parser.parseError(ke,Le);else throw new Error(ke)},"parseError"),setInput:i(function(se,ke){return this.yy=ke||this.yy||{},this._input=se,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var se=this._input[0];this.yytext+=se,this.yyleng++,this.offset++,this.match+=se,this.matched+=se;var ke=se.match(/(?:\r\n?|\n).*/g);return ke?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),se},"input"),unput:i(function(se){var ke=se.length,Le=se.split(/(?:\r\n?|\n)/g);this._input=se+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ke),this.offset-=ke;var he=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),Le.length-1&&(this.yylineno-=Le.length-1);var Ne=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:Le?(Le.length===he.length?this.yylloc.first_column:0)+he[he.length-Le.length].length-Le[0].length:this.yylloc.first_column-ke},this.options.ranges&&(this.yylloc.range=[Ne[0],Ne[0]+this.yyleng-ke]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(se){this.unput(this.match.slice(se))},"less"),pastInput:i(function(){var se=this.matched.substr(0,this.matched.length-this.match.length);return(se.length>20?"...":"")+se.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var se=this.match;return se.length<20&&(se+=this._input.substr(0,20-se.length)),(se.substr(0,20)+(se.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var se=this.pastInput(),ke=new Array(se.length+1).join("-");return se+this.upcomingInput()+` +`+ke+"^"},"showPosition"),test_match:i(function(se,ke){var Le,he,Ne;if(this.options.backtrack_lexer&&(Ne={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Ne.yylloc.range=this.yylloc.range.slice(0))),he=se[0].match(/(?:\r\n?|\n).*/g),he&&(this.yylineno+=he.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:he?he[he.length-1].length-he[he.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+se[0].length},this.yytext+=se[0],this.match+=se[0],this.matches=se,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(se[0].length),this.matched+=se[0],Le=this.performAction.call(this,this.yy,this,ke,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Le)return Le;if(this._backtrack){for(var Ee in Ne)this[Ee]=Ne[Ee];return!1}return!1},"test_match"),next:i(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var se,ke,Le,he;this._more||(this.yytext="",this.match="");for(var Ne=this._currentRules(),Ee=0;Eeke[0].length)){if(ke=Le,he=Ee,this.options.backtrack_lexer){if(se=this.test_match(Le,Ne[Ee]),se!==!1)return se;if(this._backtrack){ke=!1;continue}else return!1}else if(!this.options.flex)break}return ke?(se=this.test_match(ke,Ne[he]),se!==!1?se:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:i(function(){var ke=this.next();return ke||this.lex()},"lex"),begin:i(function(ke){this.conditionStack.push(ke)},"begin"),popState:i(function(){var ke=this.conditionStack.length-1;return ke>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:i(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:i(function(ke){return ke=this.conditionStack.length-1-Math.abs(ke||0),ke>=0?this.conditionStack[ke]:"INITIAL"},"topState"),pushState:i(function(ke){this.begin(ke)},"pushState"),stateStackSize:i(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:i(function(ke,Le,he,Ne){var Ee=Ne;switch(he){case 0:return 62;case 1:return 63;case 2:return 64;case 3:return 65;case 4:break;case 5:break;case 6:return this.begin("acc_title"),33;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),35;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 8;case 14:break;case 15:return 7;case 16:return 7;case 17:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 19:this.popState();break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 79;case 22:this.popState();break;case 23:return 80;case 24:this.popState();break;case 25:return"STR";case 26:this.begin("string");break;case 27:return 82;case 28:return 57;case 29:return this.begin("namespace"),42;break;case 30:return this.popState(),8;break;case 31:break;case 32:return this.begin("namespace-body"),39;break;case 33:this.popState(),this.less(0);break;case 34:return this.popState(),41;break;case 35:return"EOF_IN_STRUCT";case 36:return 8;case 37:break;case 38:return"EDGE_STATE";case 39:return this.begin("class"),48;break;case 40:return this.popState(),8;break;case 41:break;case 42:return this.popState(),this.popState(),41;break;case 43:return this.begin("class-body"),39;break;case 44:return this.popState(),41;break;case 45:return"EOF_IN_STRUCT";case 46:return"EDGE_STATE";case 47:return"OPEN_IN_STRUCT";case 48:break;case 49:return"MEMBER";case 50:return 83;case 51:return 75;case 52:return 76;case 53:return 78;case 54:return 54;case 55:return 56;case 56:return 46;case 57:return 47;case 58:return 81;case 59:this.popState();break;case 60:return"GENERICTYPE";case 61:this.begin("generic");break;case 62:this.popState();break;case 63:return"BQUOTE_STR";case 64:this.begin("bqstring");break;case 65:return 77;case 66:return 77;case 67:return 77;case 68:return 77;case 69:return 69;case 70:return 69;case 71:return 71;case 72:return 71;case 73:return 70;case 74:return 68;case 75:return 72;case 76:return 73;case 77:return 74;case 78:return 22;case 79:return 44;case 80:return 100;case 81:return 18;case 82:return"PLUS";case 83:return 87;case 84:return 61;case 85:return 89;case 86:return 89;case 87:return 90;case 88:return"EQUALS";case 89:return"EQUALS";case 90:return 60;case 91:return 12;case 92:return 14;case 93:return"PUNCTUATION";case 94:return 86;case 95:return 102;case 96:return 50;case 97:return 50;case 98:return 9}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:classDef\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,29,34,35,36,37,38,39,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},namespace:{rules:[26,29,30,31,32,33,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},"class-body":{rules:[26,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},class:{rules:[26,40,41,42,43,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_descr:{rules:[9,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_title:{rules:[7,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},callback_args:{rules:[22,23,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},callback_name:{rules:[19,20,21,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},href:{rules:[26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},struct:{rules:[26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},generic:{rules:[26,50,51,52,53,54,55,56,57,58,59,60,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},bqstring:{rules:[26,50,51,52,53,54,55,56,57,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},string:{rules:[24,25,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,29,39,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98],inclusive:!0}}};return ze})();je.lexer=He;function nt(){this.yy={}}return i(nt,"Parser"),nt.prototype=je,je.Parser=nt,new nt})();Sct.parser=Sct;OFr=Sct});var BFr,uae,FFr=ie(()=>{"use strict";ma();rl();BFr=["#","+","~","-",""],uae=class{static{i(this,"ClassMember")}constructor(r,a){this.memberType=a,this.visibility="",this.classifier="",this.text="";let o=Ns(r,Zt());this.parseMember(o)}getDisplayDetails(){let r=this.visibility+GE(this.id);this.memberType==="method"&&(r+=`(${GE(this.parameters.trim())})`,this.returnType&&(r+=" : "+GE(this.returnType))),r=r.trim();let a=this.parseClassifier();return{displayText:r,cssStyle:a}}parseMember(r){let a="";if(this.memberType==="method"){let h=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(r);if(h){let f=h[1]?h[1].trim():"";if(BFr.includes(f)&&(this.visibility=f),this.id=h[2],this.parameters=h[3]?h[3].trim():"",a=h[4]?h[4].trim():"",this.returnType=h[5]?h[5].trim():"",a===""){let p=this.returnType.substring(this.returnType.length-1);/[$*]/.exec(p)&&(a=p,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{let l=r.length,h=r.substring(0,1),f=r.substring(l-1);BFr.includes(h)&&(this.visibility=h),/[$*]/.exec(f)&&(a=f),this.id=r.substring(this.visibility===""?0:1,a===""?l:l-1)}this.classifier=a,this.id=this.id.startsWith(" ")?" "+this.id.trim():this.id.trim();let o=`${this.visibility?"\\"+this.visibility:""}${GE(this.id)}${this.memberType==="method"?`(${GE(this.parameters)})${this.returnType?" : "+GE(this.returnType):""}`:""}`;this.text=o.replaceAll("<","<").replaceAll(">",">"),this.text.startsWith("\\<")&&(this.text=this.text.replace("\\<","~"))}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}}});var S4e,$Fr,PP,A4e,GFr=ie(()=>{"use strict";Yo();Xn();ma();rl();Ia();xu();sA();FFr();bN();S4e="classId-",$Fr=0,PP=i(t=>Wn.sanitizeText(t,Zt()),"sanitizeText"),A4e=class t{constructor(){this.relations=[];this.classes=new Map;this.styleClasses=new Map;this.notes=new Map;this.interfaces=[];this.namespaces=new Map;this.namespaceCounter=0;this.namespaceStack=[];this.diagramId="";this.functions=[];this.lineType={LINE:0,DOTTED_LINE:1};this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4};this.setupToolTips=i(r=>{let a=DL();dn(r).select("svg").selectAll("g").filter(function(){return dn(this).attr("title")!==null}).on("mouseover",h=>{let f=dn(h.currentTarget),p=f.attr("title");if(!p)return;let m=h.currentTarget.getBoundingClientRect();a.transition().duration(200).style("opacity",".9"),a.html(Z1.sanitize(p)).style("left",`${window.scrollX+m.left+m.width/2}px`).style("top",`${window.scrollY+m.bottom+4}px`),f.classed("hover",!0)}).on("mouseout",h=>{a.transition().duration(500).style("opacity",0),dn(h.currentTarget).classed("hover",!1)})},"setupToolTips");this.direction="TB";this.setAccTitle=Os;this.getAccTitle=Ws;this.setAccDescription=js;this.getAccDescription=Ys;this.setDiagramTitle=ao;this.getDiagramTitle=Js;this.getConfig=i(()=>Zt().class,"getConfig");this.functions.push(this.setupToolTips.bind(this)),this.clear(),this.addRelation=this.addRelation.bind(this),this.addClassesToNamespace=this.addClassesToNamespace.bind(this),this.addNamespace=this.addNamespace.bind(this),this.popNamespace=this.popNamespace.bind(this),this.setCssClass=this.setCssClass.bind(this),this.addMembers=this.addMembers.bind(this),this.addClass=this.addClass.bind(this),this.setClassLabel=this.setClassLabel.bind(this),this.addAnnotation=this.addAnnotation.bind(this),this.addMember=this.addMember.bind(this),this.cleanupLabel=this.cleanupLabel.bind(this),this.addNote=this.addNote.bind(this),this.defineClass=this.defineClass.bind(this),this.setDirection=this.setDirection.bind(this),this.setLink=this.setLink.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.clear=this.clear.bind(this),this.setTooltip=this.setTooltip.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setCssStyle=this.setCssStyle.bind(this)}static{i(this,"ClassDB")}splitClassNameAndType(r){let a=Wn.sanitizeText(r,Zt()),o="",l=a;if(a.indexOf("~")>0){let h=a.split("~");l=PP(h[0]),o=PP(h[1])}return{className:l,type:o}}setClassLabel(r,a){let o=Wn.sanitizeText(r,Zt());a&&(a=PP(a));let{className:l}=this.splitClassNameAndType(o);this.classes.get(l).label=a,this.classes.get(l).text=`${a}${this.classes.get(l).type?`<${this.classes.get(l).type}>`:""}`}addClass(r){let a=Wn.sanitizeText(r,Zt()),{className:o,type:l}=this.splitClassNameAndType(a);if(this.classes.has(o))return;let h=Wn.sanitizeText(o,Zt());this.classes.set(h,{id:h,type:l,label:h,text:`${h}${l?`<${l}>`:""}`,shape:"classBox",cssClasses:"default",methods:[],members:[],annotations:[],styles:[],domId:S4e+h+"-"+$Fr}),$Fr++}addInterface(r,a){let o={id:`interface${this.interfaces.length}`,label:r,classId:a};this.interfaces.push(o)}setDiagramId(r){this.diagramId=r}lookUpDomId(r){let a=Wn.sanitizeText(r,Zt());if(this.classes.has(a)){let o=this.classes.get(a).domId;return this.diagramId?`${this.diagramId}-${o}`:o}throw new Error("Class not found: "+a)}clear(){this.relations=[],this.classes=new Map,this.notes=new Map,this.interfaces=[],this.functions=[],this.functions.push(this.setupToolTips.bind(this)),this.namespaces=new Map,this.namespaceCounter=0,this.namespaceStack=[],this.diagramId="",this.direction="TB",Is()}getClass(r){return this.classes.get(r)}getClasses(){return this.classes}getRelations(){return this.relations}getNote(r){let a=typeof r=="number"?`note${r}`:r;return this.notes.get(a)}getNotes(){return this.notes}addRelation(r){Pe.debug("Adding relation: "+JSON.stringify(r));let a=[this.relationType.LOLLIPOP,this.relationType.AGGREGATION,this.relationType.COMPOSITION,this.relationType.DEPENDENCY,this.relationType.EXTENSION];r.relation.type1===this.relationType.LOLLIPOP&&!a.includes(r.relation.type2)?(this.addClass(r.id2),this.addInterface(r.id1,r.id2),r.id1=`interface${this.interfaces.length-1}`):r.relation.type2===this.relationType.LOLLIPOP&&!a.includes(r.relation.type1)?(this.addClass(r.id1),this.addInterface(r.id2,r.id1),r.id2=`interface${this.interfaces.length-1}`):(this.addClass(r.id1),this.addClass(r.id2)),r.id1=this.splitClassNameAndType(r.id1).className,r.id2=this.splitClassNameAndType(r.id2).className,r.relationTitle1=Wn.sanitizeText(r.relationTitle1.trim(),Zt()),r.relationTitle2=Wn.sanitizeText(r.relationTitle2.trim(),Zt()),this.relations.push(r)}addAnnotation(r,a){let o=this.splitClassNameAndType(r).className;this.classes.get(o).annotations.push(a)}addMember(r,a){this.addClass(r);let o=this.splitClassNameAndType(r).className,l=this.classes.get(o);if(typeof a=="string"){let h=a.trim();h.startsWith("<<")&&h.endsWith(">>")?l.annotations.push(PP(h.substring(2,h.length-2))):h.indexOf(")")>0?l.methods.push(new uae(h,"method")):h&&l.members.push(new uae(h,"attribute"))}}addMembers(r,a){Array.isArray(a)&&(a.reverse(),a.forEach(o=>this.addMember(r,o)))}addNote(r,a){let o=this.notes.size,l={id:`note${o}`,class:a,text:r,index:o};return this.notes.set(l.id,l),l.id}cleanupLabel(r){return r.startsWith(":")&&(r=r.substring(1)),PP(r.trim())}setCssClass(r,a){r.split(",").forEach(o=>{let l=o;/\d/.exec(o[0])&&(l=S4e+l),l=this.splitClassNameAndType(l).className;let h=this.classes.get(l);h&&(h.cssClasses+=" "+a)})}defineClass(r,a){for(let o of r){let l=this.styleClasses.get(o);l===void 0&&(l={id:o,styles:[],textStyles:[]},this.styleClasses.set(o,l)),a&&a.forEach(h=>{if(/color/.exec(h)){let f=h.replace("fill","bgFill");l.textStyles.push(f)}l.styles.push(h)}),this.classes.forEach(h=>{h.cssClasses.includes(o)&&h.styles.push(...a.flatMap(f=>f.split(",")))})}}setTooltip(r,a){r.split(",").forEach(o=>{if(a!==void 0){let l=this.splitClassNameAndType(o).className,h=this.classes.get(l);h&&(h.tooltip=PP(a))}})}getTooltip(r,a){return a&&this.namespaces.has(a)?this.namespaces.get(a).classes.get(r).tooltip:this.classes.get(r).tooltip}setLink(r,a,o){let l=Zt();r.split(",").forEach(h=>{let f=h;/\d/.exec(h[0])&&(f=S4e+f),f=this.splitClassNameAndType(f).className;let p=this.classes.get(f);p&&(p.link=Ya.formatUrl(a,l),l.securityLevel==="sandbox"?p.linkTarget="_top":typeof o=="string"?p.linkTarget=PP(o):p.linkTarget="_blank")}),this.setCssClass(r,"clickable")}setClickEvent(r,a,o){r.split(",").forEach(l=>{this.setClickFunc(l,a,o);let h=this.splitClassNameAndType(l).className,f=this.classes.get(h);f&&(f.haveCallback=!0)}),this.setCssClass(r,"clickable")}setClickFunc(r,a,o){let l=Wn.sanitizeText(r,Zt());if(Zt().securityLevel!=="loose"||a===void 0)return;let f=this.splitClassNameAndType(l).className;if(this.classes.has(f)){let p=[];if(typeof o=="string"){p=o.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let m=0;m{let m=this.lookUpDomId(f),b=document.querySelector(`[id="${m}"]`);b!==null&&b.addEventListener("click",()=>{Ya.runFunc(a,...p)},!1)})}}bindFunctions(r){this.functions.forEach(a=>{a(r)})}escapeHtml(r){return r.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}getDirection(){return this.direction}setDirection(r){this.direction=r}static resolveQualifiedId(r,a){let o=a.at(-1);return o?`${o}.${r}`:r}static getAncestorIds(r){let a=r.split("."),o=new Array(a.length);o[0]=a[0];for(let l=1;l0?h[f-1]:void 0,b=f===h.length-1,v=b&&a?a:l[f];this.namespaces.has(p)?b&&(this.namespaces.get(p).explicit=!0):this.namespaces.set(p,this.createNamespaceNode(p,v,m,b)),m&&this.linkParentChild(m,p)}return o}popNamespace(){this.namespaceStack.pop()}getNamespace(r){return this.namespaces.get(r)}getNamespaces(){return this.namespaces}addClassesToNamespace(r,a,o){if(this.namespaces.has(r)){for(let l of a){let{className:h}=this.splitClassNameAndType(l),f=this.getClass(h);f.parent=r,this.namespaces.get(r).classes.set(h,f)}for(let l of o){let h=this.getNote(l);h.parent=r,this.namespaces.get(r).notes.set(l,h)}}}setCssStyle(r,a){let o=this.classes.get(r);if(!(!a||!o))for(let l of a)l.includes(",")?o.styles.push(...l.split(",")):o.styles.push(l)}getArrowMarker(r){let a;switch(r){case 0:a="aggregation";break;case 1:a="extension";break;case 2:a="composition";break;case 3:a="dependency";break;case 4:a="lollipop";break;default:a="none"}return a}resolveExplicitAncestor(r){let a=r;for(;a;){let o=this.namespaces.get(a);if(!o)return;if(o.explicit)return a;a=o.parent}}getData(){let r=[],a=[],o=Zt(),l=o.class?.hierarchicalNamespaces??!0;for(let p of this.namespaces.values()){if(!l&&!p.explicit)continue;let m={id:p.id,label:l?p.label:p.id,isGroup:!0,padding:o.class.padding??16,shape:"rect",cssStyles:[],look:o.look,parentId:l?p.parent:void 0};r.push(m)}let h=0;for(let p of this.classes.values()){let m=l?p.parent:this.resolveExplicitAncestor(p.parent),b={...p,type:void 0,isGroup:!1,parentId:m,look:o.look,colorIndex:h++};r.push(b)}for(let p of this.notes.values()){let m=l?p.parent:this.resolveExplicitAncestor(p.parent),b={id:p.id,label:p.text,isGroup:!1,shape:"note",padding:o.class.padding??6,cssStyles:["text-align: left","white-space: nowrap",`fill: ${o.themeVariables.noteBkgColor}`,`stroke: ${o.themeVariables.noteBorderColor}`],look:o.look,parentId:m,labelType:"markdown"};r.push(b);let v=this.classes.get(p.class)?.id;if(v){let T={id:`edgeNote${p.index}`,start:p.id,end:v,type:"normal",thickness:"normal",classes:"relation",arrowTypeStart:"none",arrowTypeEnd:"none",arrowheadStyle:"",labelStyle:[""],style:["fill: none"],pattern:"dotted",look:o.look};a.push(T)}}for(let p of this.interfaces){let m={id:p.id,label:p.label,isGroup:!1,shape:"rect",cssStyles:["opacity: 0;"],look:o.look};r.push(m)}let f=0;for(let p of this.relations){f++;let m={id:Qv(p.id1,p.id2,{prefix:"id",counter:f}),start:p.id1,end:p.id2,type:"normal",label:p.title,labelpos:"c",thickness:"normal",classes:"relation",arrowTypeStart:this.getArrowMarker(p.relation.type1),arrowTypeEnd:this.getArrowMarker(p.relation.type2),startLabelRight:p.relationTitle1==="none"?"":p.relationTitle1,endLabelLeft:p.relationTitle2==="none"?"":p.relationTitle2,arrowheadStyle:"",labelStyle:["display: inline-block"],style:p.style||"",pattern:p.relation.lineType==1?"dashed":"solid",look:o.look,labelType:"markdown"};a.push(m)}return{nodes:r,edges:a,other:{},config:o,direction:this.getDirection()}}}});var ahi,shi,jFr,zFr=ie(()=>{"use strict";UO();b0();ahi=i(t=>{let{theme:r,bkgColorArray:a,borderColorArray:o}=t;if(!y0(r,o))return"";let l=Lg(t.look),h=m0(a),f="";for(let p=0;p`${ahi(t)} + g.classGroup text { + fill: ${t.nodeBorder||t.classText}; stroke: none; - font-family: ${i.fontFamily}; + font-family: ${t.fontFamily}; font-size: 10px; .title { @@ -1103,17 +2335,49 @@ Expecting `+Fa.join(", ")+", got '"+(this.terminals_[Ul]||Ul)+"'":Ra="Parse erro } + .cluster-label text { + fill: ${t.titleColor}; + } + .cluster-label span { + color: ${t.titleColor}; + } + .cluster-label span p { + background-color: transparent; + } + + .cluster rect { + fill: ${t.clusterBkg}; + stroke: ${t.clusterBorder}; + stroke-width: 1px; + } + + .cluster text { + fill: ${t.titleColor}; + } + + .cluster span { + color: ${t.titleColor}; + } + .nodeLabel, .edgeLabel { - color: ${i.classText}; + color: ${t.classText}; +} + +.noteLabel .nodeLabel, .noteLabel .edgeLabel { + color: ${t.noteTextColor}; } .edgeLabel .label rect { - fill: ${i.mainBkg}; + fill: ${t.mainBkg}; } .label text { - fill: ${i.classText}; + fill: ${t.classText}; +} + +.labelBkg { + background: ${t.mainBkg}; } .edgeLabel .label span { - background: ${i.mainBkg}; + background: ${t.mainBkg}; } .classTitle { @@ -1124,14 +2388,14 @@ Expecting `+Fa.join(", ")+", got '"+(this.terminals_[Ul]||Ul)+"'":Ra="Parse erro .node ellipse, .node polygon, .node path { - fill: ${i.mainBkg}; - stroke: ${i.nodeBorder}; - stroke-width: 1px; + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; + stroke-width: ${t.strokeWidth}; } .divider { - stroke: ${i.nodeBorder}; + stroke: ${t.nodeBorder}; stroke-width: 1; } @@ -1140,30 +2404,30 @@ g.clickable { } g.classGroup rect { - fill: ${i.mainBkg}; - stroke: ${i.nodeBorder}; + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; } g.classGroup line { - stroke: ${i.nodeBorder}; + stroke: ${t.nodeBorder}; stroke-width: 1; } .classLabel .box { stroke: none; stroke-width: 0; - fill: ${i.mainBkg}; + fill: ${t.mainBkg}; opacity: 0.5; } .classLabel .label { - fill: ${i.nodeBorder}; + fill: ${t.nodeBorder}; font-size: 10px; } .relation { - stroke: ${i.lineColor}; - stroke-width: 1; + stroke: ${t.lineColor}; + stroke-width: ${t.strokeWidth}; fill: none; } @@ -1175,63 +2439,63 @@ g.classGroup line { stroke-dasharray: 1 2; } -#compositionStart, .composition { - fill: ${i.lineColor} !important; - stroke: ${i.lineColor} !important; +[id$="-compositionStart"], .composition { + fill: ${t.lineColor} !important; + stroke: ${t.lineColor} !important; stroke-width: 1; } -#compositionEnd, .composition { - fill: ${i.lineColor} !important; - stroke: ${i.lineColor} !important; +[id$="-compositionEnd"], .composition { + fill: ${t.lineColor} !important; + stroke: ${t.lineColor} !important; stroke-width: 1; } -#dependencyStart, .dependency { - fill: ${i.lineColor} !important; - stroke: ${i.lineColor} !important; +[id$="-dependencyStart"], .dependency { + fill: ${t.lineColor} !important; + stroke: ${t.lineColor} !important; stroke-width: 1; } -#dependencyStart, .dependency { - fill: ${i.lineColor} !important; - stroke: ${i.lineColor} !important; +[id$="-dependencyEnd"], .dependency { + fill: ${t.lineColor} !important; + stroke: ${t.lineColor} !important; stroke-width: 1; } -#extensionStart, .extension { +[id$="-extensionStart"], .extension { fill: transparent !important; - stroke: ${i.lineColor} !important; + stroke: ${t.lineColor} !important; stroke-width: 1; } -#extensionEnd, .extension { +[id$="-extensionEnd"], .extension { fill: transparent !important; - stroke: ${i.lineColor} !important; + stroke: ${t.lineColor} !important; stroke-width: 1; } -#aggregationStart, .aggregation { +[id$="-aggregationStart"], .aggregation { fill: transparent !important; - stroke: ${i.lineColor} !important; + stroke: ${t.lineColor} !important; stroke-width: 1; } -#aggregationEnd, .aggregation { +[id$="-aggregationEnd"], .aggregation { fill: transparent !important; - stroke: ${i.lineColor} !important; + stroke: ${t.lineColor} !important; stroke-width: 1; } -#lollipopStart, .lollipop { - fill: ${i.mainBkg} !important; - stroke: ${i.lineColor} !important; +[id$="-lollipopStart"], .lollipop { + fill: ${t.mainBkg} !important; + stroke: ${t.lineColor} !important; stroke-width: 1; } -#lollipopEnd, .lollipop { - fill: ${i.mainBkg} !important; - stroke: ${i.lineColor} !important; +[id$="-lollipopEnd"], .lollipop { + fill: ${t.mainBkg} !important; + stroke: ${t.lineColor} !important; stroke-width: 1; } @@ -1243,54 +2507,126 @@ g.classGroup line { .classTitleText { text-anchor: middle; font-size: 18px; - fill: ${i.textColor}; -} -`;let DKe=0;const usn=function(i,a,u,d,p){const v=function(oe){switch(oe){case p.db.relationType.AGGREGATION:return"aggregation";case p.db.relationType.EXTENSION:return"extension";case p.db.relationType.COMPOSITION:return"composition";case p.db.relationType.DEPENDENCY:return"dependency";case p.db.relationType.LOLLIPOP:return"lollipop"}};a.points=a.points.filter(oe=>!Number.isNaN(oe.y));const b=a.points,y=E7().x(function(oe){return oe.x}).y(function(oe){return oe.y}).curve(VF),E=i.append("path").attr("d",y(b)).attr("id","edge"+DKe).attr("class","relation");let _="";d.arrowMarkerAbsolute&&(_=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,_=_.replace(/\(/g,"\\("),_=_.replace(/\)/g,"\\)")),u.relation.lineType==1&&E.attr("class","relation dashed-line"),u.relation.lineType==10&&E.attr("class","relation dotted-line"),u.relation.type1!=="none"&&E.attr("marker-start","url("+_+"#"+v(u.relation.type1)+"Start)"),u.relation.type2!=="none"&&E.attr("marker-end","url("+_+"#"+v(u.relation.type2)+"End)");let A,P;const R=a.points.length;let B=So.calcLabelPosition(a.points);A=B.x,P=B.y;let j,W,ee,ie;if(R%2!==0&&R>1){let oe=So.calcCardinalityPosition(u.relation.type1!=="none",a.points,a.points[0]),be=So.calcCardinalityPosition(u.relation.type2!=="none",a.points,a.points[R-1]);Xe.debug("cardinality_1_point "+JSON.stringify(oe)),Xe.debug("cardinality_2_point "+JSON.stringify(be)),j=oe.x,W=oe.y,ee=be.x,ie=be.y}if(u.title!==void 0){const oe=i.append("g").attr("class","classLabel"),be=oe.append("text").attr("class","label").attr("x",A).attr("y",P).attr("fill","red").attr("text-anchor","middle").text(u.title);window.label=be;const ge=be.node().getBBox();oe.insert("rect",":first-child").attr("class","box").attr("x",ge.x-d.padding/2).attr("y",ge.y-d.padding/2).attr("width",ge.width+d.padding).attr("height",ge.height+d.padding)}Xe.info("Rendering relation "+JSON.stringify(u)),u.relationTitle1!==void 0&&u.relationTitle1!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",j).attr("y",W).attr("fill","black").attr("font-size","6").text(u.relationTitle1),u.relationTitle2!==void 0&&u.relationTitle2!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",ee).attr("y",ie).attr("fill","black").attr("font-size","6").text(u.relationTitle2),DKe++},lsn=function(i,a,u,d){Xe.debug("Rendering class ",a,u);const p=a.id,v={id:p,label:a.id,width:0,height:0},b=i.append("g").attr("id",d.db.lookUpDomId(p)).attr("class","classGroup");let y;a.link?y=b.append("svg:a").attr("xlink:href",a.link).attr("target",a.linkTarget).append("text").attr("y",u.textHeight+u.padding).attr("x",0):y=b.append("text").attr("y",u.textHeight+u.padding).attr("x",0);let E=!0;a.annotations.forEach(function(be){const ge=y.append("tspan").text("«"+be+"»");E||ge.attr("dy",u.textHeight),E=!1});let _=IKe(a);const A=y.append("tspan").text(_).attr("class","title");E||A.attr("dy",u.textHeight);const P=y.node().getBBox().height;let R,B,j;if(a.members.length>0){R=b.append("line").attr("x1",0).attr("y1",u.padding+P+u.dividerMargin/2).attr("y2",u.padding+P+u.dividerMargin/2);const be=b.append("text").attr("x",u.padding).attr("y",P+u.dividerMargin+u.textHeight).attr("fill","white").attr("class","classText");E=!0,a.members.forEach(function(ge){OKe(be,ge,E,u),E=!1}),B=be.node().getBBox()}if(a.methods.length>0){j=b.append("line").attr("x1",0).attr("y1",u.padding+P+u.dividerMargin+B.height).attr("y2",u.padding+P+u.dividerMargin+B.height);const be=b.append("text").attr("x",u.padding).attr("y",P+2*u.dividerMargin+B.height+u.textHeight).attr("fill","white").attr("class","classText");E=!0,a.methods.forEach(function(ge){OKe(be,ge,E,u),E=!1})}const W=b.node().getBBox();var ee=" ";a.cssClasses.length>0&&(ee=ee+a.cssClasses.join(" "));const oe=b.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",W.width+2*u.padding).attr("height",W.height+u.padding+.5*u.dividerMargin).attr("class",ee).node().getBBox().width;return y.node().childNodes.forEach(function(be){be.setAttribute("x",(oe-be.getBBox().width)/2)}),a.tooltip&&y.insert("title").text(a.tooltip),R&&R.attr("x2",oe),j&&j.attr("x2",oe),v.width=oe,v.height=W.height+u.padding+.5*u.dividerMargin,v},IKe=function(i){let a=i.id;return i.type&&(a+="<"+JF(i.type)+">"),a},hsn=function(i,a,u,d){Xe.debug("Rendering note ",a,u);const p=a.id,v={id:p,text:a.text,width:0,height:0},b=i.append("g").attr("id",p).attr("class","classGroup");let y=b.append("text").attr("y",u.textHeight+u.padding).attr("x",0);const E=JSON.parse(`"${a.text}"`).split(` -`);E.forEach(function(R){Xe.debug(`Adding line: ${R}`),y.append("tspan").text(R).attr("class","title").attr("dy",u.textHeight)});const _=b.node().getBBox(),P=b.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",_.width+2*u.padding).attr("height",_.height+E.length*u.textHeight+u.padding+.5*u.dividerMargin).node().getBBox().width;return y.node().childNodes.forEach(function(R){R.setAttribute("x",(P-R.getBBox().width)/2)}),v.width=P,v.height=_.height+E.length*u.textHeight+u.padding+.5*u.dividerMargin,v},OKe=function(i,a,u,d){const{displayText:p,cssStyle:v}=a.getDisplayDetails(),b=i.append("tspan").attr("x",d.padding).text(p);v!==""&&b.attr("style",a.cssStyle),u||b.attr("dy",d.textHeight)},Yve={getClassTitleString:IKe,drawClass:lsn,drawEdge:usn,drawNote:hsn};let PJ={};const BJ=20,rj=function(i){const a=Object.entries(PJ).find(u=>u[1].label===i);if(a)return a[0]},fsn=function(i){i.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),i.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),i.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).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"),i.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).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"),i.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).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"),i.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).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"),i.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).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"),i.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).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")},dsn=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:kKe,db:NJ,renderer:{draw:function(i,a,u,d){const p=qt().class;PJ={},Xe.info("Rendering diagram "+i);const v=qt().securityLevel;let b;v==="sandbox"&&(b=Dr("#i"+a));const y=Dr(v==="sandbox"?b.nodes()[0].contentDocument.body:"body"),E=y.select(`[id='${a}']`);fsn(E);const _=new R0({multigraph:!0});_.setGraph({isMultiGraph:!0}),_.setDefaultEdgeLabel(function(){return{}});const A=d.db.getClasses(),P=Object.keys(A);for(const oe of P){const be=A[oe],ge=Yve.drawClass(E,be,p,d);PJ[ge.id]=ge,_.setNode(ge.id,ge),Xe.info("Org height: "+ge.height)}d.db.getRelations().forEach(function(oe){Xe.info("tjoho"+rj(oe.id1)+rj(oe.id2)+JSON.stringify(oe)),_.setEdge(rj(oe.id1),rj(oe.id2),{relation:oe},oe.title||"DEFAULT")}),d.db.getNotes().forEach(function(oe){Xe.debug(`Adding note: ${JSON.stringify(oe)}`);const be=Yve.drawNote(E,oe,p,d);PJ[be.id]=be,_.setNode(be.id,be),oe.class&&oe.class in A&&_.setEdge(oe.id,rj(oe.class),{relation:{id1:oe.id,id2:oe.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),XD(_),_.nodes().forEach(function(oe){oe!==void 0&&_.node(oe)!==void 0&&(Xe.debug("Node "+oe+": "+JSON.stringify(_.node(oe))),y.select("#"+(d.db.lookUpDomId(oe)||oe)).attr("transform","translate("+(_.node(oe).x-_.node(oe).width/2)+","+(_.node(oe).y-_.node(oe).height/2)+" )"))}),_.edges().forEach(function(oe){oe!==void 0&&_.edge(oe)!==void 0&&(Xe.debug("Edge "+oe.v+" -> "+oe.w+": "+JSON.stringify(_.edge(oe))),Yve.drawEdge(E,_.edge(oe),_.edge(oe).relation,p,d))});const j=E.node().getBBox(),W=j.width+BJ*2,ee=j.height+BJ*2;Fg(E,ee,W,p.useMaxWidth);const ie=`${j.x-BJ} ${j.y-BJ} ${W} ${ee}`;Xe.debug(`viewBox ${ie}`),E.attr("viewBox",ie)}},styles:MKe,init:i=>{i.class||(i.class={}),i.class.arrowMarkerAbsolute=i.arrowMarkerAbsolute,NJ.clear()}}},Symbol.toStringTag,{value:"Module"})),Xve=i=>oi.sanitizeText(i,qt());let Qve={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const gsn=function(i,a,u,d){const p=Object.keys(i);Xe.info("keys:",p),Xe.info(i),p.forEach(function(v){var _,A;const b=i[v],E={shape:"rect",id:b.id,domId:b.domId,labelText:Xve(b.id),labelStyle:"",style:"fill: none; stroke: black",padding:((_=qt().flowchart)==null?void 0:_.padding)??((A=qt().class)==null?void 0:A.padding)};a.setNode(b.id,E),NKe(b.classes,a,u,d,b.id),Xe.info("setNode",E)})},NKe=function(i,a,u,d,p){const v=Object.keys(i);Xe.info("keys:",v),Xe.info(i),v.filter(b=>i[b].parent==p).forEach(function(b){var j,W;const y=i[b],E=y.cssClasses.join(" "),_=gm(y.styles),A=y.label??y.id,P=0,R="class_box",B={labelStyle:_.labelStyle,shape:R,labelText:Xve(A),classData:y,rx:P,ry:P,class:E,style:_.style,id:y.id,domId:y.domId,tooltip:d.db.getTooltip(y.id,p)||"",haveCallback:y.haveCallback,link:y.link,width:y.type==="group"?500:void 0,type:y.type,padding:((j=qt().flowchart)==null?void 0:j.padding)??((W=qt().class)==null?void 0:W.padding)};a.setNode(y.id,B),p&&a.setParent(y.id,p),Xe.info("setNode",B)})},psn=function(i,a,u,d){Xe.info(i),i.forEach(function(p,v){var W,ee;const b=p,y="",E={labelStyle:"",style:""},_=b.text,A=0,P="note",R={labelStyle:E.labelStyle,shape:P,labelText:Xve(_),noteData:b,rx:A,ry:A,class:y,style:E.style,id:b.id,domId:b.id,tooltip:"",type:"note",padding:((W=qt().flowchart)==null?void 0:W.padding)??((ee=qt().class)==null?void 0:ee.padding)};if(a.setNode(b.id,R),Xe.info("setNode",R),!b.class||!(b.class in d))return;const B=u+v,j={id:`edgeNote${B}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:qv(Qve.curve,Sp)};a.setEdge(b.id,b.class,j,B)})},bsn=function(i,a){const u=qt().flowchart;let d=0;i.forEach(function(p){var b;d++;const v={classes:"relation",pattern:p.relation.lineType==1?"dashed":"solid",id:`id_${p.id1}_${p.id2}_${d}`,arrowhead:p.type==="arrow_open"?"none":"normal",startLabelRight:p.relationTitle1==="none"?"":p.relationTitle1,endLabelLeft:p.relationTitle2==="none"?"":p.relationTitle2,arrowTypeStart:PKe(p.relation.type1),arrowTypeEnd:PKe(p.relation.type2),style:"fill:none",labelStyle:"",curve:qv(u==null?void 0:u.curve,Sp)};if(Xe.info(v,p),p.style!==void 0){const y=gm(p.style);v.style=y.style,v.labelStyle=y.labelStyle}p.text=p.title,p.text===void 0?p.style!==void 0&&(v.arrowheadStyle="fill: #333"):(v.arrowheadStyle="fill: #333",v.labelpos="c",((b=qt().flowchart)==null?void 0:b.htmlLabels)??qt().htmlLabels?(v.labelType="html",v.label=''+p.text+""):(v.labelType="text",v.label=p.text.replace(oi.lineBreakRegex,` -`),p.style===void 0&&(v.style=v.style||"stroke: #333; stroke-width: 1.5px;fill:none"),v.labelStyle=v.labelStyle.replace("color:","fill:"))),a.setEdge(p.id1,p.id2,v,d)})},msn=function(i){Qve={...Qve,...i}},vsn=async function(i,a,u,d){Xe.info("Drawing class - ",a);const p=qt().flowchart??qt().class,v=qt().securityLevel;Xe.info("config:",p);const b=(p==null?void 0:p.nodeSpacing)??50,y=(p==null?void 0:p.rankSpacing)??50,E=new R0({multigraph:!0,compound:!0}).setGraph({rankdir:d.db.getDirection(),nodesep:b,ranksep:y,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),_=d.db.getNamespaces(),A=d.db.getClasses(),P=d.db.getRelations(),R=d.db.getNotes();Xe.info(P),gsn(_,E,a,d),NKe(A,E,a,d),bsn(P,E),psn(R,E,P.length+1,A);let B;v==="sandbox"&&(B=Dr("#i"+a));const j=Dr(v==="sandbox"?B.nodes()[0].contentDocument.body:"body"),W=j.select(`[id="${a}"]`),ee=j.select("#"+a+" g");if(await ave(ee,E,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",a),So.insertTitle(W,"classTitleText",(p==null?void 0:p.titleTopMargin)??5,d.db.getDiagramTitle()),x9(E,W,p==null?void 0:p.diagramPadding,p==null?void 0:p.useMaxWidth),!(p!=null&&p.htmlLabels)){const ie=v==="sandbox"?B.nodes()[0].contentDocument:document,oe=ie.querySelectorAll('[id="'+a+'"] .edgeLabel .label');for(const be of oe){const ge=be.getBBox(),ae=ie.createElementNS("http://www.w3.org/2000/svg","rect");ae.setAttribute("rx",0),ae.setAttribute("ry",0),ae.setAttribute("width",ge.width),ae.setAttribute("height",ge.height),be.insertBefore(ae,be.firstChild)}}};function PKe(i){let a;switch(i){case 0:a="aggregation";break;case 1:a="extension";break;case 2:a="composition";break;case 3:a="dependency";break;case 4:a="lollipop";break;default:a="none"}return a}const wsn=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:kKe,db:NJ,renderer:{setConf:msn,draw:vsn},styles:MKe,init:i=>{i.class||(i.class={}),i.class.arrowMarkerAbsolute=i.arrowMarkerAbsolute,NJ.clear()}}},Symbol.toStringTag,{value:"Module"}));var Jve=function(){var i=function(Ie,Se,Ce,ke){for(Ce=Ce||{},ke=Ie.length;ke--;Ce[Ie[ke]]=Se);return Ce},a=[1,2],u=[1,3],d=[1,4],p=[2,4],v=[1,9],b=[1,11],y=[1,15],E=[1,16],_=[1,17],A=[1,18],P=[1,30],R=[1,19],B=[1,20],j=[1,21],W=[1,22],ee=[1,23],ie=[1,25],oe=[1,26],be=[1,27],ge=[1,28],ae=[1,29],ne=[1,32],se=[1,33],de=[1,34],X=[1,35],pe=[1,31],G=[1,4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],xe=[1,4,5,13,14,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],U=[4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],Be={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,cssClassStatement:11,idStatement:12,DESCR:13,"-->":14,HIDE_EMPTY:15,scale:16,WIDTH:17,COMPOSIT_STATE:18,STRUCT_START:19,STRUCT_STOP:20,STATE_DESCR:21,AS:22,ID:23,FORK:24,JOIN:25,CHOICE:26,CONCURRENT:27,note:28,notePosition:29,NOTE_TEXT:30,direction:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,classDef:37,CLASSDEF_ID:38,CLASSDEF_STYLEOPTS:39,DEFAULT:40,class:41,CLASSENTITY_IDS:42,STYLECLASS:43,direction_tb:44,direction_bt:45,direction_rl:46,direction_lr:47,eol:48,";":49,EDGE_STATE:50,STYLE_SEPARATOR:51,left_of:52,right_of:53,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",13:"DESCR",14:"-->",15:"HIDE_EMPTY",16:"scale",17:"WIDTH",18:"COMPOSIT_STATE",19:"STRUCT_START",20:"STRUCT_STOP",21:"STATE_DESCR",22:"AS",23:"ID",24:"FORK",25:"JOIN",26:"CHOICE",27:"CONCURRENT",28:"note",30:"NOTE_TEXT",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"classDef",38:"CLASSDEF_ID",39:"CLASSDEF_STYLEOPTS",40:"DEFAULT",41:"class",42:"CLASSENTITY_IDS",43:"STYLECLASS",44:"direction_tb",45:"direction_bt",46:"direction_rl",47:"direction_lr",49:";",50:"EDGE_STATE",51:"STYLE_SEPARATOR",52:"left_of",53:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[31,1],[31,1],[31,1],[31,1],[48,1],[48,1],[12,1],[12,1],[12,3],[12,3],[29,1],[29,1]],performAction:function(Se,Ce,ke,Ke,zt,Ne,pn){var Tt=Ne.length-1;switch(zt){case 3:return Ke.setRootDoc(Ne[Tt]),Ne[Tt];case 4:this.$=[];break;case 5:Ne[Tt]!="nl"&&(Ne[Tt-1].push(Ne[Tt]),this.$=Ne[Tt-1]);break;case 6:case 7:this.$=Ne[Tt];break;case 8:this.$="nl";break;case 11:this.$=Ne[Tt];break;case 12:const yt=Ne[Tt-1];yt.description=Ke.trimColon(Ne[Tt]),this.$=yt;break;case 13:this.$={stmt:"relation",state1:Ne[Tt-2],state2:Ne[Tt]};break;case 14:const Bt=Ke.trimColon(Ne[Tt]);this.$={stmt:"relation",state1:Ne[Tt-3],state2:Ne[Tt-1],description:Bt};break;case 18:this.$={stmt:"state",id:Ne[Tt-3],type:"default",description:"",doc:Ne[Tt-1]};break;case 19:var Et=Ne[Tt],Wt=Ne[Tt-2].trim();if(Ne[Tt].match(":")){var un=Ne[Tt].split(":");Et=un[0],Wt=[Wt,un[1]]}this.$={stmt:"state",id:Et,type:"default",description:Wt};break;case 20:this.$={stmt:"state",id:Ne[Tt-3],type:"default",description:Ne[Tt-5],doc:Ne[Tt-1]};break;case 21:this.$={stmt:"state",id:Ne[Tt],type:"fork"};break;case 22:this.$={stmt:"state",id:Ne[Tt],type:"join"};break;case 23:this.$={stmt:"state",id:Ne[Tt],type:"choice"};break;case 24:this.$={stmt:"state",id:Ke.getDividerId(),type:"divider"};break;case 25:this.$={stmt:"state",id:Ne[Tt-1].trim(),note:{position:Ne[Tt-2].trim(),text:Ne[Tt].trim()}};break;case 28:this.$=Ne[Tt].trim(),Ke.setAccTitle(this.$);break;case 29:case 30:this.$=Ne[Tt].trim(),Ke.setAccDescription(this.$);break;case 31:case 32:this.$={stmt:"classDef",id:Ne[Tt-1].trim(),classes:Ne[Tt].trim()};break;case 33:this.$={stmt:"applyClass",id:Ne[Tt-1].trim(),styleClass:Ne[Tt].trim()};break;case 34:Ke.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 35:Ke.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 36:Ke.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 37:Ke.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 40:case 41:this.$={stmt:"state",id:Ne[Tt].trim(),type:"default",description:""};break;case 42:this.$={stmt:"state",id:Ne[Tt-2].trim(),classes:[Ne[Tt].trim()],type:"default",description:""};break;case 43:this.$={stmt:"state",id:Ne[Tt-2].trim(),classes:[Ne[Tt].trim()],type:"default",description:""};break}},table:[{3:1,4:a,5:u,6:d},{1:[3]},{3:5,4:a,5:u,6:d},{3:6,4:a,5:u,6:d},i([1,4,5,15,16,18,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],p,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:v,5:b,8:8,9:10,10:12,11:13,12:14,15:y,16:E,18:_,21:A,23:P,24:R,25:B,26:j,27:W,28:ee,31:24,32:ie,34:oe,36:be,37:ge,41:ae,44:ne,45:se,46:de,47:X,50:pe},i(G,[2,5]),{9:36,10:12,11:13,12:14,15:y,16:E,18:_,21:A,23:P,24:R,25:B,26:j,27:W,28:ee,31:24,32:ie,34:oe,36:be,37:ge,41:ae,44:ne,45:se,46:de,47:X,50:pe},i(G,[2,7]),i(G,[2,8]),i(G,[2,9]),i(G,[2,10]),i(G,[2,11],{13:[1,37],14:[1,38]}),i(G,[2,15]),{17:[1,39]},i(G,[2,17],{19:[1,40]}),{22:[1,41]},i(G,[2,21]),i(G,[2,22]),i(G,[2,23]),i(G,[2,24]),{29:42,30:[1,43],52:[1,44],53:[1,45]},i(G,[2,27]),{33:[1,46]},{35:[1,47]},i(G,[2,30]),{38:[1,48],40:[1,49]},{42:[1,50]},i(xe,[2,40],{51:[1,51]}),i(xe,[2,41],{51:[1,52]}),i(G,[2,34]),i(G,[2,35]),i(G,[2,36]),i(G,[2,37]),i(G,[2,6]),i(G,[2,12]),{12:53,23:P,50:pe},i(G,[2,16]),i(U,p,{7:54}),{23:[1,55]},{23:[1,56]},{22:[1,57]},{23:[2,44]},{23:[2,45]},i(G,[2,28]),i(G,[2,29]),{39:[1,58]},{39:[1,59]},{43:[1,60]},{23:[1,61]},{23:[1,62]},i(G,[2,13],{13:[1,63]}),{4:v,5:b,8:8,9:10,10:12,11:13,12:14,15:y,16:E,18:_,20:[1,64],21:A,23:P,24:R,25:B,26:j,27:W,28:ee,31:24,32:ie,34:oe,36:be,37:ge,41:ae,44:ne,45:se,46:de,47:X,50:pe},i(G,[2,19],{19:[1,65]}),{30:[1,66]},{23:[1,67]},i(G,[2,31]),i(G,[2,32]),i(G,[2,33]),i(xe,[2,42]),i(xe,[2,43]),i(G,[2,14]),i(G,[2,18]),i(U,p,{7:68}),i(G,[2,25]),i(G,[2,26]),{4:v,5:b,8:8,9:10,10:12,11:13,12:14,15:y,16:E,18:_,20:[1,69],21:A,23:P,24:R,25:B,26:j,27:W,28:ee,31:24,32:ie,34:oe,36:be,37:ge,41:ae,44:ne,45:se,46:de,47:X,50:pe},i(G,[2,20])],defaultActions:{5:[2,1],6:[2,2],44:[2,44],45:[2,45]},parseError:function(Se,Ce){if(Ce.recoverable)this.trace(Se);else{var ke=new Error(Se);throw ke.hash=Ce,ke}},parse:function(Se){var Ce=this,ke=[0],Ke=[],zt=[null],Ne=[],pn=this.table,Tt="",Et=0,Wt=0,un=2,yt=1,Bt=Ne.slice.call(arguments,1),Ze=Object.create(this.lexer),Dt={yy:{}};for(var kt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,kt)&&(Dt.yy[kt]=this.yy[kt]);Ze.setInput(Se,Dt.yy),Dt.yy.lexer=Ze,Dt.yy.parser=this,typeof Ze.yylloc>"u"&&(Ze.yylloc={});var Nn=Ze.yylloc;Ne.push(Nn);var ht=Ze.options&&Ze.options.ranges;typeof Dt.yy.parseError=="function"?this.parseError=Dt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function qr(){var Ct;return Ct=Ke.pop()||Ze.lex()||yt,typeof Ct!="number"&&(Ct instanceof Array&&(Ke=Ct,Ct=Ke.pop()),Ct=Ce.symbols_[Ct]||Ct),Ct}for(var xt,Ri,wi,ia,Hs={},mo,Tr,On,Rn;;){if(Ri=ke[ke.length-1],this.defaultActions[Ri]?wi=this.defaultActions[Ri]:((xt===null||typeof xt>"u")&&(xt=qr()),wi=pn[Ri]&&pn[Ri][xt]),typeof wi>"u"||!wi.length||!wi[0]){var zn="";Rn=[];for(mo in pn[Ri])this.terminals_[mo]&&mo>un&&Rn.push("'"+this.terminals_[mo]+"'");Ze.showPosition?zn="Parse error on line "+(Et+1)+`: -`+Ze.showPosition()+` -Expecting `+Rn.join(", ")+", got '"+(this.terminals_[xt]||xt)+"'":zn="Parse error on line "+(Et+1)+": Unexpected "+(xt==yt?"end of input":"'"+(this.terminals_[xt]||xt)+"'"),this.parseError(zn,{text:Ze.match,token:this.terminals_[xt]||xt,line:Ze.yylineno,loc:Nn,expected:Rn})}if(wi[0]instanceof Array&&wi.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ri+", token: "+xt);switch(wi[0]){case 1:ke.push(xt),zt.push(Ze.yytext),Ne.push(Ze.yylloc),ke.push(wi[1]),xt=null,Wt=Ze.yyleng,Tt=Ze.yytext,Et=Ze.yylineno,Nn=Ze.yylloc;break;case 2:if(Tr=this.productions_[wi[1]][1],Hs.$=zt[zt.length-Tr],Hs._$={first_line:Ne[Ne.length-(Tr||1)].first_line,last_line:Ne[Ne.length-1].last_line,first_column:Ne[Ne.length-(Tr||1)].first_column,last_column:Ne[Ne.length-1].last_column},ht&&(Hs._$.range=[Ne[Ne.length-(Tr||1)].range[0],Ne[Ne.length-1].range[1]]),ia=this.performAction.apply(Hs,[Tt,Wt,Et,Dt.yy,wi[1],zt,Ne].concat(Bt)),typeof ia<"u")return ia;Tr&&(ke=ke.slice(0,-1*Tr*2),zt=zt.slice(0,-1*Tr),Ne=Ne.slice(0,-1*Tr)),ke.push(this.productions_[wi[1]][0]),zt.push(Hs.$),Ne.push(Hs._$),On=pn[ke[ke.length-2]][ke[ke.length-1]],ke.push(On);break;case 3:return!0}}return!0}},Pe=function(){var Ie={EOF:1,parseError:function(Ce,ke){if(this.yy.parser)this.yy.parser.parseError(Ce,ke);else throw new Error(Ce)},setInput:function(Se,Ce){return this.yy=Ce||this.yy||{},this._input=Se,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Se=this._input[0];this.yytext+=Se,this.yyleng++,this.offset++,this.match+=Se,this.matched+=Se;var Ce=Se.match(/(?:\r\n?|\n).*/g);return Ce?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Se},unput:function(Se){var Ce=Se.length,ke=Se.split(/(?:\r\n?|\n)/g);this._input=Se+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Ce),this.offset-=Ce;var Ke=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),ke.length-1&&(this.yylineno-=ke.length-1);var zt=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:ke?(ke.length===Ke.length?this.yylloc.first_column:0)+Ke[Ke.length-ke.length].length-ke[0].length:this.yylloc.first_column-Ce},this.options.ranges&&(this.yylloc.range=[zt[0],zt[0]+this.yyleng-Ce]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(Se){this.unput(this.match.slice(Se))},pastInput:function(){var Se=this.matched.substr(0,this.matched.length-this.match.length);return(Se.length>20?"...":"")+Se.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Se=this.match;return Se.length<20&&(Se+=this._input.substr(0,20-Se.length)),(Se.substr(0,20)+(Se.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Se=this.pastInput(),Ce=new Array(Se.length+1).join("-");return Se+this.upcomingInput()+` -`+Ce+"^"},test_match:function(Se,Ce){var ke,Ke,zt;if(this.options.backtrack_lexer&&(zt={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(zt.yylloc.range=this.yylloc.range.slice(0))),Ke=Se[0].match(/(?:\r\n?|\n).*/g),Ke&&(this.yylineno+=Ke.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Ke?Ke[Ke.length-1].length-Ke[Ke.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Se[0].length},this.yytext+=Se[0],this.match+=Se[0],this.matches=Se,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Se[0].length),this.matched+=Se[0],ke=this.performAction.call(this,this.yy,this,Ce,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ke)return ke;if(this._backtrack){for(var Ne in zt)this[Ne]=zt[Ne];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Se,Ce,ke,Ke;this._more||(this.yytext="",this.match="");for(var zt=this._currentRules(),Ne=0;NeCe[0].length)){if(Ce=ke,Ke=Ne,this.options.backtrack_lexer){if(Se=this.test_match(ke,zt[Ne]),Se!==!1)return Se;if(this._backtrack){Ce=!1;continue}else return!1}else if(!this.options.flex)break}return Ce?(Se=this.test_match(Ce,zt[Ke]),Se!==!1?Se:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var Ce=this.next();return Ce||this.lex()},begin:function(Ce){this.conditionStack.push(Ce)},popState:function(){var Ce=this.conditionStack.length-1;return Ce>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Ce){return Ce=this.conditionStack.length-1-Math.abs(Ce||0),Ce>=0?this.conditionStack[Ce]:"INITIAL"},pushState:function(Ce){this.begin(Ce)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Ce,ke,Ke,zt){switch(Ke){case 0:return 40;case 1:return 44;case 2:return 45;case 3:return 46;case 4:return 47;case 5:break;case 6:break;case 7:return 5;case 8:break;case 9:break;case 10:break;case 11:break;case 12:return this.pushState("SCALE"),16;case 13:return 17;case 14:this.popState();break;case 15:return this.begin("acc_title"),32;case 16:return this.popState(),"acc_title_value";case 17:return this.begin("acc_descr"),34;case 18:return this.popState(),"acc_descr_value";case 19:this.begin("acc_descr_multiline");break;case 20:this.popState();break;case 21:return"acc_descr_multiline_value";case 22:return this.pushState("CLASSDEF"),37;case 23:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 24:return this.popState(),this.pushState("CLASSDEFID"),38;case 25:return this.popState(),39;case 26:return this.pushState("CLASS"),41;case 27:return this.popState(),this.pushState("CLASS_STYLE"),42;case 28:return this.popState(),43;case 29:return this.pushState("SCALE"),16;case 30:return 17;case 31:this.popState();break;case 32:this.pushState("STATE");break;case 33:return this.popState(),ke.yytext=ke.yytext.slice(0,-8).trim(),24;case 34:return this.popState(),ke.yytext=ke.yytext.slice(0,-8).trim(),25;case 35:return this.popState(),ke.yytext=ke.yytext.slice(0,-10).trim(),26;case 36:return this.popState(),ke.yytext=ke.yytext.slice(0,-8).trim(),24;case 37:return this.popState(),ke.yytext=ke.yytext.slice(0,-8).trim(),25;case 38:return this.popState(),ke.yytext=ke.yytext.slice(0,-10).trim(),26;case 39:return 44;case 40:return 45;case 41:return 46;case 42:return 47;case 43:this.pushState("STATE_STRING");break;case 44:return this.pushState("STATE_ID"),"AS";case 45:return this.popState(),"ID";case 46:this.popState();break;case 47:return"STATE_DESCR";case 48:return 18;case 49:this.popState();break;case 50:return this.popState(),this.pushState("struct"),19;case 51:break;case 52:return this.popState(),20;case 53:break;case 54:return this.begin("NOTE"),28;case 55:return this.popState(),this.pushState("NOTE_ID"),52;case 56:return this.popState(),this.pushState("NOTE_ID"),53;case 57:this.popState(),this.pushState("FLOATING_NOTE");break;case 58:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 59:break;case 60:return"NOTE_TEXT";case 61:return this.popState(),"ID";case 62:return this.popState(),this.pushState("NOTE_TEXT"),23;case 63:return this.popState(),ke.yytext=ke.yytext.substr(2).trim(),30;case 64:return this.popState(),ke.yytext=ke.yytext.slice(0,-8).trim(),30;case 65:return 6;case 66:return 6;case 67:return 15;case 68:return 50;case 69:return 23;case 70:return ke.yytext=ke.yytext.trim(),13;case 71:return 14;case 72:return 27;case 73:return 51;case 74:return 5;case 75:return"INVALID"}},rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[9,10],inclusive:!1},struct:{rules:[9,10,22,26,32,39,40,41,42,51,52,53,54,68,69,70,71,72],inclusive:!1},FLOATING_NOTE_ID:{rules:[61],inclusive:!1},FLOATING_NOTE:{rules:[58,59,60],inclusive:!1},NOTE_TEXT:{rules:[63,64],inclusive:!1},NOTE_ID:{rules:[62],inclusive:!1},NOTE:{rules:[55,56,57],inclusive:!1},CLASS_STYLE:{rules:[28],inclusive:!1},CLASS:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[25],inclusive:!1},CLASSDEF:{rules:[23,24],inclusive:!1},acc_descr_multiline:{rules:[20,21],inclusive:!1},acc_descr:{rules:[18],inclusive:!1},acc_title:{rules:[16],inclusive:!1},SCALE:{rules:[13,14,30,31],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[45],inclusive:!1},STATE_STRING:{rules:[46,47],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[9,10,33,34,35,36,37,38,43,44,48,49,50],inclusive:!1},ID:{rules:[9,10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,10,11,12,15,17,19,22,26,29,32,50,54,65,66,67,68,69,70,71,73,74,75],inclusive:!0}}};return Ie}();Be.lexer=Pe;function je(){this.yy={}}return je.prototype=Be,Be.Parser=je,new je}();Jve.parser=Jve;const BKe=Jve,ysn="LR",xsn="TB",FJ="state",Zve="relation",ksn="classDef",Tsn="applyClass",ij="default",FKe="divider",ewe="[*]",RKe="start",jKe=ewe,$Ke="end",zKe="color",qKe="fill",Esn="bgFill",Csn=",";function HKe(){return{}}let UKe=ysn,RJ=[],sj=HKe();const VKe=()=>({relations:[],states:{},documents:{}});let jJ={root:VKe()},Hg=jJ.root,aj=0,GKe=0;const Ssn={LINE:0,DOTTED_LINE:1},_sn={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},$J=i=>JSON.parse(JSON.stringify(i)),Asn=i=>{Xe.info("Setting root doc",i),RJ=i},Lsn=()=>RJ,zJ=(i,a,u)=>{if(a.stmt===Zve)zJ(i,a.state1,!0),zJ(i,a.state2,!1);else if(a.stmt===FJ&&(a.id==="[*]"?(a.id=u?i.id+"_start":i.id+"_end",a.start=u):a.id=a.id.trim()),a.doc){const d=[];let p=[],v;for(v=0;v0&&p.length>0){const b={stmt:FJ,id:jje(),type:"divider",doc:$J(p)};d.push($J(b)),a.doc=d}a.doc.forEach(b=>zJ(a,b,!0))}},Msn=()=>(zJ({id:"root"},{id:"root",doc:RJ},!0),{id:"root",doc:RJ}),Dsn=i=>{let a;i.doc?a=i.doc:a=i,Xe.info(a),KKe(!0),Xe.info("Extract",a),a.forEach(u=>{switch(u.stmt){case FJ:iS(u.id.trim(),u.type,u.doc,u.description,u.note,u.classes,u.styles,u.textStyles);break;case Zve:WKe(u.state1,u.state2,u.description);break;case ksn:YKe(u.id.trim(),u.classes);break;case Tsn:iwe(u.id.trim(),u.styleClass);break}})},iS=function(i,a=ij,u=null,d=null,p=null,v=null,b=null,y=null){const E=i==null?void 0:i.trim();Hg.states[E]===void 0?(Xe.info("Adding state ",E,d),Hg.states[E]={id:E,descriptions:[],type:a,doc:u,note:p,classes:[],styles:[],textStyles:[]}):(Hg.states[E].doc||(Hg.states[E].doc=u),Hg.states[E].type||(Hg.states[E].type=a)),d&&(Xe.info("Setting state description",E,d),typeof d=="string"&&rwe(E,d.trim()),typeof d=="object"&&d.forEach(_=>rwe(E,_.trim()))),p&&(Hg.states[E].note=p,Hg.states[E].note.text=oi.sanitizeText(Hg.states[E].note.text,qt())),v&&(Xe.info("Setting state classes",E,v),(typeof v=="string"?[v]:v).forEach(A=>iwe(E,A.trim()))),b&&(Xe.info("Setting state styles",E,b),(typeof b=="string"?[b]:b).forEach(A=>zsn(E,A.trim()))),y&&(Xe.info("Setting state styles",E,b),(typeof y=="string"?[y]:y).forEach(A=>qsn(E,A.trim())))},KKe=function(i){jJ={root:VKe()},Hg=jJ.root,aj=0,sj=HKe(),i||Rg()},oj=function(i){return Hg.states[i]},Isn=function(){return Hg.states},Osn=function(){Xe.info("Documents = ",jJ)},Nsn=function(){return Hg.relations};function twe(i=""){let a=i;return i===ewe&&(aj++,a=`${RKe}${aj}`),a}function nwe(i="",a=ij){return i===ewe?RKe:a}function Psn(i=""){let a=i;return i===jKe&&(aj++,a=`${$Ke}${aj}`),a}function Bsn(i="",a=ij){return i===jKe?$Ke:a}function Fsn(i,a,u){let d=twe(i.id.trim()),p=nwe(i.id.trim(),i.type),v=twe(a.id.trim()),b=nwe(a.id.trim(),a.type);iS(d,p,i.doc,i.description,i.note,i.classes,i.styles,i.textStyles),iS(v,b,a.doc,a.description,a.note,a.classes,a.styles,a.textStyles),Hg.relations.push({id1:d,id2:v,relationTitle:oi.sanitizeText(u,qt())})}const WKe=function(i,a,u){if(typeof i=="object")Fsn(i,a,u);else{const d=twe(i.trim()),p=nwe(i),v=Psn(a.trim()),b=Bsn(a);iS(d,p),iS(v,b),Hg.relations.push({id1:d,id2:v,title:oi.sanitizeText(u,qt())})}},rwe=function(i,a){const u=Hg.states[i],d=a.startsWith(":")?a.replace(":","").trim():a;u.descriptions.push(oi.sanitizeText(d,qt()))},Rsn=function(i){return i.substring(0,1)===":"?i.substr(2).trim():i.trim()},jsn=()=>(GKe++,"divider-id-"+GKe),YKe=function(i,a=""){sj[i]===void 0&&(sj[i]={id:i,styles:[],textStyles:[]});const u=sj[i];a!=null&&a.split(Csn).forEach(d=>{const p=d.replace(/([^;]*);/,"$1").trim();if(d.match(zKe)){const b=p.replace(qKe,Esn).replace(zKe,qKe);u.textStyles.push(b)}u.styles.push(p)})},$sn=function(){return sj},iwe=function(i,a){i.split(",").forEach(function(u){let d=oj(u);if(d===void 0){const p=u.trim();iS(p),d=oj(p)}d.classes.push(a)})},zsn=function(i,a){const u=oj(i);u!==void 0&&u.textStyles.push(a)},qsn=function(i,a){const u=oj(i);u!==void 0&&u.textStyles.push(a)},K7={getConfig:()=>qt().state,addState:iS,clear:KKe,getState:oj,getStates:Isn,getRelations:Nsn,getClasses:$sn,getDirection:()=>UKe,addRelation:WKe,getDividerId:jsn,setDirection:i=>{UKe=i},cleanupLabel:Rsn,lineType:Ssn,relationType:_sn,logDocuments:Osn,getRootDoc:Lsn,setRootDoc:Asn,getRootDocV2:Msn,extract:Dsn,trimColon:i=>i&&i[0]===":"?i.substr(1).trim():i.trim(),getAccTitle:Mp,setAccTitle:jg,getAccDescription:Ip,setAccDescription:Dp,addStyleClass:YKe,setCssClass:iwe,addDescription:rwe,setDiagramTitle:pm,getDiagramTitle:Op},XKe=i=>` -defs #statediagram-barbEnd { - fill: ${i.transitionColor}; - stroke: ${i.transitionColor}; + fill: ${t.textColor}; +} + +.edgeLabel[data-look="neo"] { + background-color: ${t.edgeLabelBackground}; + p { + background-color: ${t.edgeLabelBackground}; + } + rect { + opacity: 0.5; + background-color: ${t.edgeLabelBackground}; + fill: ${t.edgeLabelBackground}; + } + text-align: center; +} + ${uk()} +`,"getStyles"),jFr=shi});var ohi,lhi,chi,UFr,VFr=ie(()=>{"use strict";ma();Xn();hA();xS();TS();Ia();ohi=i((t,r="TB")=>{if(!t.doc)return r;let a=r;for(let o of t.doc)o.stmt==="dir"&&(a=o.value);return a},"getDir"),lhi=i(function(t,r){return r.db.getClasses()},"getClasses"),chi=i(async function(t,r,a,o){Pe.info("REF0:"),Pe.info("Drawing class diagram (v3)",r);let{securityLevel:l,state:h,layout:f}=Zt();o.db.setDiagramId(r);let p=o.db.getData(),m=ay(r,l);p.type=o.type,p.layoutAlgorithm=dy(f),p.nodeSpacing=h?.nodeSpacing||50,p.rankSpacing=h?.rankSpacing||50,p.markers=["aggregation","extension","composition","dependency","lollipop"],p.diagramId=r,await fy(p,m);let b=8;Ya.insertTitle(m,"classDiagramTitleText",h?.titleTopMargin??25,o.db.getDiagramTitle()),Cm(m,b,"classDiagram",h?.useMaxWidth??!0)},"draw"),UFr={getClasses:lhi,draw:chi,getDir:ohi}});var HFr={};cs(HFr,{diagram:()=>uhi});var uhi,qFr=ie(()=>{"use strict";PFr();GFr();zFr();VFr();uhi={parser:OFr,get db(){return new A4e},renderer:UFr,styles:jFr,init:i(t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")}});var Act,KFr,XFr=ie(()=>{"use strict";Act=(function(){var t=i(function(re,ae,ce,le){for(ce=ce||{},le=re.length;le--;ce[re[le]]=ae);return ce},"o"),r=[1,2],a=[1,3],o=[1,4],l=[2,4],h=[1,9],f=[1,11],p=[1,16],m=[1,17],b=[1,18],v=[1,19],T=[1,33],C=[1,20],E=[1,21],S=[1,22],R=[1,23],L=[1,24],_=[1,26],M=[1,27],I=[1,28],F=[1,29],O=[1,30],P=[1,31],G=[1,32],V=[1,35],Y=[1,36],K=[1,37],J=[1,38],H=[1,34],q=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],Z=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],Q=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],W={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:i(function(ae,ce,le,de,ve,Se,_e){var Ce=Se.length-1;switch(ve){case 3:return de.setRootDoc(Se[Ce]),Se[Ce];break;case 4:this.$=[];break;case 5:Se[Ce]!="nl"&&(Se[Ce-1].push(Se[Ce]),this.$=Se[Ce-1]);break;case 6:case 7:this.$=Se[Ce];break;case 8:this.$="nl";break;case 12:this.$=Se[Ce];break;case 13:let Ue=Se[Ce-1];Ue.description=de.trimColon(Se[Ce]),this.$=Ue;break;case 14:this.$={stmt:"relation",state1:Se[Ce-2],state2:Se[Ce]};break;case 15:let We=de.trimColon(Se[Ce]);this.$={stmt:"relation",state1:Se[Ce-3],state2:Se[Ce-1],description:We};break;case 19:this.$={stmt:"state",id:Se[Ce-3],type:"default",description:"",doc:Se[Ce-1]};break;case 20:var Ve=Se[Ce],De=Se[Ce-2].trim();if(Se[Ce].match(":")){var qe=Se[Ce].split(":");Ve=qe[0],De=[De,qe[1]]}this.$={stmt:"state",id:Ve,type:"default",description:De};break;case 21:this.$={stmt:"state",id:Se[Ce-3],type:"default",description:Se[Ce-5],doc:Se[Ce-1]};break;case 22:this.$={stmt:"state",id:Se[Ce],type:"fork"};break;case 23:this.$={stmt:"state",id:Se[Ce],type:"join"};break;case 24:this.$={stmt:"state",id:Se[Ce],type:"choice"};break;case 25:this.$={stmt:"state",id:de.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:Se[Ce-1].trim(),note:{position:Se[Ce-2].trim(),text:Se[Ce].trim()}};break;case 29:this.$=Se[Ce].trim(),de.setAccTitle(this.$);break;case 30:case 31:this.$=Se[Ce].trim(),de.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:Se[Ce-3],url:Se[Ce-2],tooltip:Se[Ce-1]};break;case 33:this.$={stmt:"click",id:Se[Ce-3],url:Se[Ce-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:Se[Ce-1].trim(),classes:Se[Ce].trim()};break;case 36:this.$={stmt:"style",id:Se[Ce-1].trim(),styleClass:Se[Ce].trim()};break;case 37:this.$={stmt:"applyClass",id:Se[Ce-1].trim(),styleClass:Se[Ce].trim()};break;case 38:de.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:de.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:de.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:de.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:Se[Ce].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:Se[Ce-2].trim(),classes:[Se[Ce].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:Se[Ce-2].trim(),classes:[Se[Ce].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:r,5:a,6:o},{1:[3]},{3:5,4:r,5:a,6:o},{3:6,4:r,5:a,6:o},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],l,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:h,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:p,17:m,19:b,22:v,24:T,25:C,26:E,27:S,28:R,29:L,32:25,33:_,35:M,37:I,38:F,41:O,45:P,48:G,51:V,52:Y,53:K,54:J,57:H},t(q,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:p,17:m,19:b,22:v,24:T,25:C,26:E,27:S,28:R,29:L,32:25,33:_,35:M,37:I,38:F,41:O,45:P,48:G,51:V,52:Y,53:K,54:J,57:H},t(q,[2,7]),t(q,[2,8]),t(q,[2,9]),t(q,[2,10]),t(q,[2,11]),t(q,[2,12],{14:[1,40],15:[1,41]}),t(q,[2,16]),{18:[1,42]},t(q,[2,18],{20:[1,43]}),{23:[1,44]},t(q,[2,22]),t(q,[2,23]),t(q,[2,24]),t(q,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(q,[2,28]),{34:[1,49]},{36:[1,50]},t(q,[2,31]),{13:51,24:T,57:H},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(Z,[2,44],{58:[1,56]}),t(Z,[2,45],{58:[1,57]}),t(q,[2,38]),t(q,[2,39]),t(q,[2,40]),t(q,[2,41]),t(q,[2,6]),t(q,[2,13]),{13:58,24:T,57:H},t(q,[2,17]),t(Q,l,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(q,[2,29]),t(q,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(q,[2,14],{14:[1,71]}),{4:h,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:p,17:m,19:b,21:[1,72],22:v,24:T,25:C,26:E,27:S,28:R,29:L,32:25,33:_,35:M,37:I,38:F,41:O,45:P,48:G,51:V,52:Y,53:K,54:J,57:H},t(q,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(q,[2,34]),t(q,[2,35]),t(q,[2,36]),t(q,[2,37]),t(Z,[2,46]),t(Z,[2,47]),t(q,[2,15]),t(q,[2,19]),t(Q,l,{7:78}),t(q,[2,26]),t(q,[2,27]),{5:[1,79]},{5:[1,80]},{4:h,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:p,17:m,19:b,21:[1,81],22:v,24:T,25:C,26:E,27:S,28:R,29:L,32:25,33:_,35:M,37:I,38:F,41:O,45:P,48:G,51:V,52:Y,53:K,54:J,57:H},t(q,[2,32]),t(q,[2,33]),t(q,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:i(function(ae,ce){if(ce.recoverable)this.trace(ae);else{var le=new Error(ae);throw le.hash=ce,le}},"parseError"),parse:i(function(ae){var ce=this,le=[0],de=[],ve=[null],Se=[],_e=this.table,Ce="",Ve=0,De=0,qe=0,Ue=2,We=1,mt=Se.slice.call(arguments,1),ct=Object.create(this.lexer),Ot={yy:{}};for(var yr in this.yy)Object.prototype.hasOwnProperty.call(this.yy,yr)&&(Ot.yy[yr]=this.yy[yr]);ct.setInput(ae,Ot.yy),Ot.yy.lexer=ct,Ot.yy.parser=this,typeof ct.yylloc>"u"&&(ct.yylloc={});var tr=ct.yylloc;Se.push(tr);var Xe=ct.options&&ct.options.ranges;typeof Ot.yy.parseError=="function"?this.parseError=Ot.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Rt(Ee){le.length=le.length-2*Ee,ve.length=ve.length-Ee,Se.length=Se.length-Ee}i(Rt,"popStack");function ft(){var Ee;return Ee=de.pop()||ct.lex()||We,typeof Ee!="number"&&(Ee instanceof Array&&(de=Ee,Ee=de.pop()),Ee=ce.symbols_[Ee]||Ee),Ee}i(ft,"lex");for(var bt,Me,Fe,je,He,nt,ze={},se,ke,Le,he;;){if(Fe=le[le.length-1],this.defaultActions[Fe]?je=this.defaultActions[Fe]:((bt===null||typeof bt>"u")&&(bt=ft()),je=_e[Fe]&&_e[Fe][bt]),typeof je>"u"||!je.length||!je[0]){var Ne="";he=[];for(se in _e[Fe])this.terminals_[se]&&se>Ue&&he.push("'"+this.terminals_[se]+"'");ct.showPosition?Ne="Parse error on line "+(Ve+1)+`: +`+ct.showPosition()+` +Expecting `+he.join(", ")+", got '"+(this.terminals_[bt]||bt)+"'":Ne="Parse error on line "+(Ve+1)+": Unexpected "+(bt==We?"end of input":"'"+(this.terminals_[bt]||bt)+"'"),this.parseError(Ne,{text:ct.match,token:this.terminals_[bt]||bt,line:ct.yylineno,loc:tr,expected:he})}if(je[0]instanceof Array&&je.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Fe+", token: "+bt);switch(je[0]){case 1:le.push(bt),ve.push(ct.yytext),Se.push(ct.yylloc),le.push(je[1]),bt=null,Me?(bt=Me,Me=null):(De=ct.yyleng,Ce=ct.yytext,Ve=ct.yylineno,tr=ct.yylloc,qe>0&&qe--);break;case 2:if(ke=this.productions_[je[1]][1],ze.$=ve[ve.length-ke],ze._$={first_line:Se[Se.length-(ke||1)].first_line,last_line:Se[Se.length-1].last_line,first_column:Se[Se.length-(ke||1)].first_column,last_column:Se[Se.length-1].last_column},Xe&&(ze._$.range=[Se[Se.length-(ke||1)].range[0],Se[Se.length-1].range[1]]),nt=this.performAction.apply(ze,[Ce,De,Ve,Ot.yy,je[1],ve,Se].concat(mt)),typeof nt<"u")return nt;ke&&(le=le.slice(0,-1*ke*2),ve=ve.slice(0,-1*ke),Se=Se.slice(0,-1*ke)),le.push(this.productions_[je[1]][0]),ve.push(ze.$),Se.push(ze._$),Le=_e[le[le.length-2]][le[le.length-1]],le.push(Le);break;case 3:return!0}}return!0},"parse")},te=(function(){var re={EOF:1,parseError:i(function(ce,le){if(this.yy.parser)this.yy.parser.parseError(ce,le);else throw new Error(ce)},"parseError"),setInput:i(function(ae,ce){return this.yy=ce||this.yy||{},this._input=ae,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var ae=this._input[0];this.yytext+=ae,this.yyleng++,this.offset++,this.match+=ae,this.matched+=ae;var ce=ae.match(/(?:\r\n?|\n).*/g);return ce?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),ae},"input"),unput:i(function(ae){var ce=ae.length,le=ae.split(/(?:\r\n?|\n)/g);this._input=ae+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ce),this.offset-=ce;var de=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),le.length-1&&(this.yylineno-=le.length-1);var ve=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:le?(le.length===de.length?this.yylloc.first_column:0)+de[de.length-le.length].length-le[0].length:this.yylloc.first_column-ce},this.options.ranges&&(this.yylloc.range=[ve[0],ve[0]+this.yyleng-ce]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(ae){this.unput(this.match.slice(ae))},"less"),pastInput:i(function(){var ae=this.matched.substr(0,this.matched.length-this.match.length);return(ae.length>20?"...":"")+ae.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var ae=this.match;return ae.length<20&&(ae+=this._input.substr(0,20-ae.length)),(ae.substr(0,20)+(ae.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var ae=this.pastInput(),ce=new Array(ae.length+1).join("-");return ae+this.upcomingInput()+` +`+ce+"^"},"showPosition"),test_match:i(function(ae,ce){var le,de,ve;if(this.options.backtrack_lexer&&(ve={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(ve.yylloc.range=this.yylloc.range.slice(0))),de=ae[0].match(/(?:\r\n?|\n).*/g),de&&(this.yylineno+=de.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:de?de[de.length-1].length-de[de.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+ae[0].length},this.yytext+=ae[0],this.match+=ae[0],this.matches=ae,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(ae[0].length),this.matched+=ae[0],le=this.performAction.call(this,this.yy,this,ce,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),le)return le;if(this._backtrack){for(var Se in ve)this[Se]=ve[Se];return!1}return!1},"test_match"),next:i(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var ae,ce,le,de;this._more||(this.yytext="",this.match="");for(var ve=this._currentRules(),Se=0;Sece[0].length)){if(ce=le,de=Se,this.options.backtrack_lexer){if(ae=this.test_match(le,ve[Se]),ae!==!1)return ae;if(this._backtrack){ce=!1;continue}else return!1}else if(!this.options.flex)break}return ce?(ae=this.test_match(ce,ve[de]),ae!==!1?ae:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:i(function(){var ce=this.next();return ce||this.lex()},"lex"),begin:i(function(ce){this.conditionStack.push(ce)},"begin"),popState:i(function(){var ce=this.conditionStack.length-1;return ce>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:i(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:i(function(ce){return ce=this.conditionStack.length-1-Math.abs(ce||0),ce>=0?this.conditionStack[ce]:"INITIAL"},"topState"),pushState:i(function(ce){this.begin(ce)},"pushState"),stateStackSize:i(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:i(function(ce,le,de,ve){function Se(){let Ce=le.yytext.indexOf("%%");if(Ce===0)return!1;if(Ce>0){let Ve=le.yytext.slice(0,Ce),De=le.yytext.slice(Ce);De&&ce.lexer.unput(De),le.yytext=Ve}return!0}i(Se,"processId");var _e=ve;switch(de){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:return 51;case 5:return 52;case 6:return 53;case 7:return 54;case 8:return 5;case 9:break;case 10:break;case 11:break;case 12:break;case 13:return this.pushState("SCALE"),17;break;case 14:return 18;case 15:this.popState();break;case 16:return this.begin("acc_title"),33;break;case 17:return this.popState(),"acc_title_value";break;case 18:return this.begin("acc_descr"),35;break;case 19:return this.popState(),"acc_descr_value";break;case 20:this.begin("acc_descr_multiline");break;case 21:this.popState();break;case 22:return"acc_descr_multiline_value";case 23:return this.pushState("CLASSDEF"),41;break;case 24:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 25:return this.popState(),this.pushState("CLASSDEFID"),42;break;case 26:return this.popState(),43;break;case 27:return this.pushState("CLASS"),48;break;case 28:return this.popState(),this.pushState("CLASS_STYLE"),49;break;case 29:return this.popState(),50;break;case 30:return this.pushState("STYLE"),45;break;case 31:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;break;case 32:return this.popState(),47;break;case 33:return this.pushState("SCALE"),17;break;case 34:return 18;case 35:this.popState();break;case 36:this.pushState("STATE");break;case 37:return this.popState(),le.yytext=le.yytext.slice(0,-8).trim(),25;break;case 38:return this.popState(),le.yytext=le.yytext.slice(0,-8).trim(),26;break;case 39:return this.popState(),le.yytext=le.yytext.slice(0,-10).trim(),27;break;case 40:return this.popState(),le.yytext=le.yytext.slice(0,-8).trim(),25;break;case 41:return this.popState(),le.yytext=le.yytext.slice(0,-8).trim(),26;break;case 42:return this.popState(),le.yytext=le.yytext.slice(0,-10).trim(),27;break;case 43:return 51;case 44:return 52;case 45:return 53;case 46:return 54;case 47:this.pushState("STATE_STRING");break;case 48:return this.pushState("STATE_ID"),"AS";break;case 49:if(!Se())return;return this.popState(),"ID";break;case 50:this.popState();break;case 51:return"STATE_DESCR";case 52:throw new Error('Error: State name must be a single word. Found: "'+le.yytext.trim()+'"');case 53:return 19;case 54:this.popState();break;case 55:return this.popState(),this.pushState("struct"),20;break;case 56:return this.popState(),21;break;case 57:break;case 58:return this.begin("NOTE"),29;break;case 59:return this.popState(),this.pushState("NOTE_ID"),59;break;case 60:return this.popState(),this.pushState("NOTE_ID"),60;break;case 61:this.popState(),this.pushState("FLOATING_NOTE");break;case 62:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";break;case 63:break;case 64:return"NOTE_TEXT";case 65:if(!Se())return;return this.popState(),"ID";break;case 66:if(!Se())return;return this.popState(),this.pushState("NOTE_TEXT"),24;break;case 67:return this.popState(),le.yytext=le.yytext.substr(2).trim(),31;break;case 68:return this.popState(),le.yytext=le.yytext.slice(0,-8).trim(),31;break;case 69:return 6;case 70:return 6;case 71:return 16;case 72:return 57;case 73:return Se()?24:void 0;case 74:return le.yytext=le.yytext.trim(),14;break;case 75:return 15;case 76:return 28;case 77:return 58;case 78:return 5;case 79:return"INVALID"}},"anonymous"),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\w+\s+\w+.*?\{)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?\n\s*end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[10,11,12],inclusive:!1},struct:{rules:[10,11,12,23,27,30,36,43,44,45,46,56,57,58,72,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[65],inclusive:!1},FLOATING_NOTE:{rules:[62,63,64],inclusive:!1},NOTE_TEXT:{rules:[67,68],inclusive:!1},NOTE_ID:{rules:[66],inclusive:!1},NOTE:{rules:[59,60,61],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[32],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[31],inclusive:!1},CLASS_STYLE:{rules:[29],inclusive:!1},CLASS:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[26],inclusive:!1},CLASSDEF:{rules:[24,25],inclusive:!1},acc_descr_multiline:{rules:[21,22],inclusive:!1},acc_descr:{rules:[19],inclusive:!1},acc_title:{rules:[17],inclusive:!1},SCALE:{rules:[14,15,34,35],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[49],inclusive:!1},STATE_STRING:{rules:[50,51],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[10,11,12,37,38,39,40,41,42,47,48,52,53,54,55],inclusive:!1},ID:{rules:[10,11,12],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,12,13,16,18,20,23,27,30,33,36,55,58,69,70,71,72,73,74,75,77,78,79],inclusive:!0}}};return re})();W.lexer=te;function z(){this.yy={}}return i(z,"Parser"),z.prototype=W,W.Parser=z,new z})();Act.parser=Act;KFr=Act});var n_,BP,hae,QFr,JFr,ZFr,FP,R4e,Rct,Lct,Dct,_ct,L4e,D4e,e$r,t$r,_4e,Mct,r$r,n$r,JV,phi,i$r,Ict,ghi,mhi,a$r,s$r,yhi,o$r,bhi,l$r,Nct,Oct,c$r,M4e,u$r,Pct,I4e=ie(()=>{"use strict";n_="state",BP="root",hae="relation",QFr="classDef",JFr="style",ZFr="applyClass",FP="default",R4e="divider",Rct="fill:none",Lct="fill: #333",Dct="markdown",_ct="normal",L4e="rect",D4e="rectWithTitle",e$r="stateStart",t$r="stateEnd",_4e="divider",Mct="roundedWithTitle",r$r="note",n$r="noteGroup",JV="statediagram",phi="state",i$r=`${JV}-${phi}`,Ict="transition",ghi="note",mhi="note-edge",a$r=`${Ict} ${mhi}`,s$r=`${JV}-${ghi}`,yhi="cluster",o$r=`${JV}-${yhi}`,bhi="cluster-alt",l$r=`${JV}-${bhi}`,Nct="parent",Oct="note",c$r="state",M4e="----",u$r=`${M4e}${Oct}`,Pct=`${M4e}${Nct}`});function Bct(t="",r=0,a="",o=M4e){let l=a!==null&&a.length>0?`${o}${a}`:"";return`${c$r}-${t}${l}-${r}`}function N4e(t,r,a){if(!r.id||r.id===""||r.id==="")return;r.cssClasses&&(Array.isArray(r.cssCompiledStyles)||(r.cssCompiledStyles=[]),r.cssClasses.split(" ").forEach(l=>{let h=a.get(l);h&&(r.cssCompiledStyles=[...r.cssCompiledStyles??[],...h.styles])}));let o=t.find(l=>l.id===r.id);o?Object.assign(o,r):t.push(r)}function xhi(t){return t?.classes?.join(" ")??""}function Thi(t){return t?.styles??[]}var O4e,i_,d$r,fae,vhi,whi,h$r,ZV,p$r,g$r=ie(()=>{"use strict";ma();Xn();rl();I4e();O4e=new Map,i_=0,d$r=0,fae=new Map,vhi=i((t,r,a,o)=>{if(t===_4e&&a?.id!==void 0&&fae.has(a.id)){let f=fae.get(a.id);return fae.set(r,f),f}let l=d$r++,h=o?void 0:l;return fae.set(r,h),h},"colorSlotFor");i(Bct,"stateDomId");whi=i((t,r,a,o,l,h,f,p)=>{Pe.trace("items",r),r.forEach(m=>{switch(m.stmt){case n_:ZV(t,m,a,o,l,h,f,p);break;case FP:ZV(t,m,a,o,l,h,f,p);break;case hae:{ZV(t,m.state1,a,o,l,h,f,p),ZV(t,m.state2,a,o,l,h,f,p);let b=f==="neo",v={id:"edge"+i_,start:m.state1.id,end:m.state2.id,arrowhead:"normal",arrowTypeEnd:b?"arrow_barb_neo":"arrow_barb",style:Rct,labelStyle:"",label:Wn.sanitizeText(m.description??"",Zt()),arrowheadStyle:Lct,labelpos:"c",labelType:Dct,thickness:_ct,classes:Ict,look:f};l.push(v),i_++}break}})},"setupDoc"),h$r=i((t,r="TB")=>{let a=r;if(t.doc)for(let o of t.doc)o.stmt==="dir"&&(a=o.value);return a},"getDir");i(N4e,"insertOrUpdateNode");i(xhi,"getClassesFromDbInfo");i(Thi,"getStylesFromDbInfo");ZV=i((t,r,a,o,l,h,f,p)=>{let m=r.id,b=a.get(m),v=xhi(b),T=Thi(b),C=Zt(),E=v.trim()!==""||T.length>0;if(Pe.info("dataFetcher parsedItem",r,b,T),m!=="root"){let S=L4e;r.start===!0?S=e$r:r.start===!1&&(S=t$r),r.type!==FP&&(S=r.type),O4e.get(m)||O4e.set(m,{id:m,shape:S,description:Wn.sanitizeText(m,C),cssClasses:`${v} ${i$r}`,cssStyles:T});let R=O4e.get(m);r.description&&(Array.isArray(R.description)?(R.shape=D4e,R.description.push(r.description)):R.description?.length&&R.description.length>0?(R.shape=D4e,R.description===m?R.description=[r.description]:R.description=[R.description,r.description]):(R.shape=L4e,R.description=r.description),R.description=Wn.sanitizeTextOrArray(R.description,C)),R.description?.length===1&&R.shape===D4e&&(R.type==="group"?R.shape=Mct:R.shape=L4e),!R.type&&r.doc&&(Pe.info("Setting cluster for XCX",m,h$r(r)),R.type="group",R.isGroup=!0,R.dir=h$r(r),R.shape=r.type===R4e?_4e:Mct,R.colorIndex=vhi(R.shape,m,t,E),R.cssClasses=`${R.cssClasses} ${o$r} ${h?l$r:""}`);let L={labelStyle:"",shape:R.shape,label:R.description,cssClasses:R.cssClasses,cssCompiledStyles:[],cssStyles:R.cssStyles,id:m,dir:R.dir,domId:Bct(m,i_),type:R.type,isGroup:R.type==="group",colorIndex:R.colorIndex,padding:8,rx:10,ry:10,look:f,labelType:"markdown"};if(L.shape===_4e&&(L.label=""),t&&t.id!=="root"&&(Pe.trace("Setting node ",m," to be child of its parent ",t.id),L.parentId=t.id),L.centerLabel=!0,r.note){let _={labelStyle:"",shape:r$r,label:r.note.text,labelType:"markdown",cssClasses:s$r,cssStyles:[],cssCompiledStyles:[],id:m+u$r+"-"+i_,domId:Bct(m,i_,Oct),type:"node",isGroup:!1,padding:C.flowchart?.padding,look:f,position:r.note.position},M=m+Pct,I={labelStyle:"",shape:n$r,label:r.note.text,cssClasses:R.cssClasses,cssStyles:[],id:m+Pct,domId:Bct(m,i_,Nct),type:"group",isGroup:!0,padding:16,look:f,position:r.note.position};i_++,I.id=M,_.parentId=M,N4e(o,I,p),N4e(o,_,p),N4e(o,L,p);let F=m,O=_.id;r.note.position==="left of"&&(F=_.id,O=m),l.push({id:F+"-"+O,start:F,end:O,arrowhead:"none",arrowTypeEnd:"",style:Rct,labelStyle:"",classes:a$r,pattern:"dashed",arrowheadStyle:Lct,labelpos:"c",labelType:Dct,thickness:_ct,look:f})}else N4e(o,L,p)}r.doc&&(Pe.trace("Adding nodes children "),whi(r,r.doc,a,o,l,!h,f,p))},"dataFetcher"),p$r=i(()=>{O4e.clear(),i_=0,d$r=0,fae.clear()},"reset")});var $ct,khi,Chi,m$r,Gct=ie(()=>{"use strict";ma();Xn();hA();xS();TS();Ia();I4e();$ct=i((t,r="TB")=>{if(!t.doc)return r;let a=r;for(let o of t.doc)o.stmt==="dir"&&(a=o.value);return a},"getDir"),khi=i(function(t,r){return r.db.getClasses()},"getClasses"),Chi=i(async function(t,r,a,o){Pe.info("REF0:"),Pe.info("Drawing state diagram (v2)",r);let{securityLevel:l,state:h,layout:f}=Zt();o.db.extract(o.db.getRootDocV2());let p=o.db.getData(),m=ay(r,l);p.type=o.type,p.layoutAlgorithm=dy(f),p.nodeSpacing=h?.nodeSpacing||50,p.rankSpacing=h?.rankSpacing||50,Zt().look==="neo"?p.markers=["barbNeo"]:p.markers=["barb"],p.diagramId=r,await fy(p,m);let v=8;try{(typeof o.db.getLinks=="function"?o.db.getLinks():new Map).forEach((C,E)=>{let S=typeof E=="string"?E:typeof E?.id=="string"?E.id:"",R=p.nodes.find(O=>O.id===S);if(!S){Pe.warn("\u26A0\uFE0F Invalid or missing stateId from key:",JSON.stringify(E));return}let L=m.node()?.querySelectorAll("g.node, g.rough-node"),_;if(L?.forEach(O=>{let P=O.textContent?.trim();(O.id===R?.domId||P===S)&&(_=O)}),!_){Pe.warn("\u26A0\uFE0F Could not find node matching text:",S);return}let M=_.parentNode;if(!M){Pe.warn("\u26A0\uFE0F Node has no parent, cannot wrap:",S);return}let I=document.createElementNS("http://www.w3.org/2000/svg","a"),F=C.url.replace(/^"+|"+$/g,"");if(I.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",F),I.setAttribute("target","_blank"),C.tooltip){let O=C.tooltip.replace(/^"+|"+$/g,"");I.setAttribute("title",O),_.setAttribute("title",O)}M.replaceChild(I,_),I.appendChild(_),Pe.info("\u{1F517} Wrapped node in
    tag for:",S,C.url)})}catch(T){Pe.error("\u274C Error injecting clickable links:",T)}Ya.insertTitle(m,"statediagramTitleText",h?.titleTopMargin??25,o.db.getDiagramTitle()),Cm(m,v,JV,h?.useMaxWidth??!0)},"draw"),m$r={getClasses:khi,draw:Chi,getDir:$ct}});var Pb,b$r,v$r,P4e,B4e,w$r=ie(()=>{"use strict";Yo();bN();ma();Xn();Ia();rl();xu();sA();g$r();Gct();I4e();Pb={START_NODE:"[*]",START_TYPE:"start",END_NODE:"[*]",END_TYPE:"end",COLOR_KEYWORD:"color",FILL_KEYWORD:"fill",BG_FILL:"bgFill",STYLECLASS_SEP:","},b$r=i(()=>new Map,"newClassesList"),v$r=i(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),P4e=i(t=>JSON.parse(JSON.stringify(t)),"clone"),B4e=class{constructor(r){this.version=r;this.nodes=[];this.edges=[];this.rootDoc=[];this.classes=b$r();this.documents={root:v$r()};this.currentDocument=this.documents.root;this.startEndCount=0;this.dividerCnt=0;this.links=new Map;this.funs=[];this.getAccTitle=Ws;this.setAccTitle=Os;this.getAccDescription=Ys;this.setAccDescription=js;this.setDiagramTitle=ao;this.getDiagramTitle=Js;this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this),this.bindFunctions=this.bindFunctions.bind(this)}static{i(this,"StateDB")}static{this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}}extract(r){this.clear(!0);for(let l of Array.isArray(r)?r:r.doc)switch(l.stmt){case n_:this.addState(l.id.trim(),l.type,l.doc,l.description,l.note);break;case hae:this.addRelation(l.state1,l.state2,l.description);break;case QFr:this.addStyleClass(l.id.trim(),l.classes);break;case JFr:this.handleStyleDef(l);break;case ZFr:this.setCssClass(l.id.trim(),l.styleClass);break;case"click":this.addLink(l.id,l.url,l.tooltip);break}let a=this.getStates(),o=Zt();p$r(),ZV(void 0,this.getRootDocV2(),a,this.nodes,this.edges,!0,o.look,this.classes);for(let l of this.nodes)if(Array.isArray(l.label)){if(l.description=l.label.slice(1),l.isGroup&&l.description.length>0)throw new Error(`Group nodes can only have label. Remove the additional description for node [${l.id}]`);l.label=l.label[0]}}handleStyleDef(r){let a=r.id.trim().split(","),o=r.styleClass.split(",");for(let l of a){let h=this.getState(l);if(!h){let f=l.trim();this.addState(f),h=this.getState(f)}h&&(h.styles=o.map(f=>f.replace(/;/g,"")?.trim()))}}setRootDoc(r){Pe.info("Setting root doc",r),this.rootDoc=r,this.version===1?this.extract(r):this.extract(this.getRootDocV2())}docTranslator(r,a,o){if(a.stmt===hae){this.docTranslator(r,a.state1,!0),this.docTranslator(r,a.state2,!1);return}if(a.stmt===n_&&(a.id===Pb.START_NODE?(a.id=r.id+(o?"_start":"_end"),a.start=o):a.id=a.id.trim()),a.stmt!==BP&&a.stmt!==n_||!a.doc)return;let l=[],h=[];for(let f of a.doc)if(f.type===R4e){let p=P4e(f);p.doc=P4e(h),l.push(p),h=[]}else h.push(f);if(l.length>0&&h.length>0){let f={stmt:n_,id:jXe(),type:"divider",doc:P4e(h)};l.push(P4e(f)),a.doc=l}a.doc.forEach(f=>this.docTranslator(a,f,!0))}getRootDocV2(){return this.docTranslator({id:BP,stmt:BP},{id:BP,stmt:BP,doc:this.rootDoc},!0),{id:BP,doc:this.rootDoc}}addState(r,a=FP,o=void 0,l=void 0,h=void 0,f=void 0,p=void 0,m=void 0){let b=r?.trim();if(!this.currentDocument.states.has(b))Pe.info("Adding state ",b,l),this.currentDocument.states.set(b,{stmt:n_,id:b,descriptions:[],type:a,doc:o,note:h,classes:[],styles:[],textStyles:[]});else{let v=this.currentDocument.states.get(b);if(!v)throw new Error(`State not found: ${b}`);v.doc||(v.doc=o),v.type||(v.type=a)}if(l&&(Pe.info("Setting state description",b,l),(Array.isArray(l)?l:[l]).forEach(T=>this.addDescription(b,T.trim()))),h){let v=this.currentDocument.states.get(b);if(!v)throw new Error(`State not found: ${b}`);v.note=h,v.note.text=Wn.sanitizeText(v.note.text,Zt())}f&&(Pe.info("Setting state classes",b,f),(Array.isArray(f)?f:[f]).forEach(T=>this.setCssClass(b,T.trim()))),p&&(Pe.info("Setting state styles",b,p),(Array.isArray(p)?p:[p]).forEach(T=>this.setStyle(b,T.trim()))),m&&(Pe.info("Setting state styles",b,p),(Array.isArray(m)?m:[m]).forEach(T=>this.setTextStyle(b,T.trim())))}clear(r){this.nodes=[],this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.documents={root:v$r()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=b$r(),r||(this.links=new Map,Is())}getState(r){return this.currentDocument.states.get(r)}getStates(){return this.currentDocument.states}logDocuments(){Pe.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(r,a,o){this.links.set(r,{url:a,tooltip:o}),Pe.warn("Adding link",r,a,o)}getLinks(){return this.links}startIdIfNeeded(r=""){return r===Pb.START_NODE?(this.startEndCount++,`${Pb.START_TYPE}${this.startEndCount}`):r}startTypeIfNeeded(r="",a=FP){return r===Pb.START_NODE?Pb.START_TYPE:a}endIdIfNeeded(r=""){return r===Pb.END_NODE?(this.startEndCount++,`${Pb.END_TYPE}${this.startEndCount}`):r}endTypeIfNeeded(r="",a=FP){return r===Pb.END_NODE?Pb.END_TYPE:a}addRelationObjs(r,a,o=""){let l=this.startIdIfNeeded(r.id.trim()),h=this.startTypeIfNeeded(r.id.trim(),r.type),f=this.startIdIfNeeded(a.id.trim()),p=this.startTypeIfNeeded(a.id.trim(),a.type);this.addState(l,h,r.doc,r.description,r.note,r.classes,r.styles,r.textStyles),this.addState(f,p,a.doc,a.description,a.note,a.classes,a.styles,a.textStyles),this.currentDocument.relations.push({id1:l,id2:f,relationTitle:Wn.sanitizeText(o,Zt())})}addRelation(r,a,o){if(typeof r=="object"&&typeof a=="object")this.addRelationObjs(r,a,o);else if(typeof r=="string"&&typeof a=="string"){let l=this.startIdIfNeeded(r.trim()),h=this.startTypeIfNeeded(r),f=this.endIdIfNeeded(a.trim()),p=this.endTypeIfNeeded(a);this.addState(l,h),this.addState(f,p),this.currentDocument.relations.push({id1:l,id2:f,relationTitle:o?Wn.sanitizeText(o,Zt()):void 0})}}addDescription(r,a){let o=this.currentDocument.states.get(r),l=a.startsWith(":")?a.replace(":","").trim():a;o?.descriptions?.push(Wn.sanitizeText(l,Zt()))}cleanupLabel(r){return r.startsWith(":")?r.slice(2).trim():r.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(r,a=""){this.classes.has(r)||this.classes.set(r,{id:r,styles:[],textStyles:[]});let o=this.classes.get(r);a&&o&&a.split(Pb.STYLECLASS_SEP).forEach(l=>{let h=l.replace(/([^;]*);/,"$1").trim();if(RegExp(Pb.COLOR_KEYWORD).exec(l)){let p=h.replace(Pb.FILL_KEYWORD,Pb.BG_FILL).replace(Pb.COLOR_KEYWORD,Pb.FILL_KEYWORD);o.textStyles.push(p)}o.styles.push(h)})}getClasses(){return this.classes}setupToolTips(r){let a=DL();dn(r).select("svg").selectAll("g.node, g.rough-node").on("mouseover",h=>{let f=dn(h.currentTarget),p=f.attr("title");if(p===null)return;let m=h.currentTarget?.getBoundingClientRect();a.transition().duration(200).style("opacity",".9"),a.style("left",window.scrollX+m.left+(m.right-m.left)/2+"px").style("top",window.scrollY+m.bottom+"px"),a.html(Z1.sanitize(p)),f.classed("hover",!0)}).on("mouseout",h=>{a.transition().duration(500).style("opacity",0),dn(h.currentTarget).classed("hover",!1)})}setCssClass(r,a){r.split(",").forEach(o=>{let l=this.getState(o);if(!l){let h=o.trim();this.addState(h),l=this.getState(h)}l?.classes?.push(a)})}setStyle(r,a){this.getState(r)?.styles?.push(a)}setTextStyle(r,a){this.getState(r)?.textStyles?.push(a)}bindFunctions(r){this.funs.forEach(a=>{a(r)})}getDirectionStatement(){return this.rootDoc.find(r=>r.stmt==="dir")}getDirection(){return this.getDirectionStatement()?.value??"TB"}setDirection(r){let a=this.getDirectionStatement();a?a.value=r:this.rootDoc.unshift({stmt:"dir",value:r})}trimColon(r){return r.startsWith(":")?r.slice(1).trim():r.trim()}getData(){let r=Zt();for(let a of this.nodes)a.wrappingWidth??=r.state?.wrappingWidth,a.isGroup||(a.minWidth??=r.state?.minNodeWidth);return{nodes:this.nodes,edges:this.edges,other:{},config:r,direction:$ct(this.getRootDocV2())}}getConfig(){return Zt().state}}});var Shi,Ahi,x$r,T$r=ie(()=>{"use strict";b0();Shi=i(t=>{let{theme:r,bkgColorArray:a,borderColorArray:o}=t;if(!y0(r,o))return"";let l=Lg(t.look),h=m0(a),f="";for(let p=0;p` +${Shi(t)} +defs [id$="-barbEnd"] { + fill: ${t.transitionColor}; + stroke: ${t.transitionColor}; } g.stateGroup text { - fill: ${i.nodeBorder}; + fill: ${t.nodeBorder}; stroke: none; font-size: 10px; } g.stateGroup text { - fill: ${i.textColor}; + fill: ${t.textColor}; stroke: none; font-size: 10px; } g.stateGroup .state-title { font-weight: bolder; - fill: ${i.stateLabelColor}; + fill: ${t.stateLabelColor}; } g.stateGroup rect { - fill: ${i.mainBkg}; - stroke: ${i.nodeBorder}; + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; } g.stateGroup line { - stroke: ${i.lineColor}; - stroke-width: 1; + stroke: ${t.lineColor}; + stroke-width: ${t.strokeWidth||1}; } .transition { - stroke: ${i.transitionColor}; - stroke-width: 1; + stroke: ${t.transitionColor}; + stroke-width: ${t.strokeWidth||1}; fill: none; } .stateGroup .composit { - fill: ${i.background}; + fill: ${t.background}; border-bottom: 1px } @@ -1300,11 +2636,11 @@ g.stateGroup line { } .state-note { - stroke: ${i.noteBorderColor}; - fill: ${i.noteBkgColor}; + stroke: ${t.noteBorderColor}; + fill: ${t.noteBkgColor}; text { - fill: ${i.noteTextColor}; + fill: ${t.noteTextColor}; stroke: none; font-size: 10px; } @@ -1313,70 +2649,83 @@ g.stateGroup line { .stateLabel .box { stroke: none; stroke-width: 0; - fill: ${i.mainBkg}; + fill: ${t.mainBkg}; opacity: 0.5; } .edgeLabel .label rect { - fill: ${i.labelBackgroundColor}; + fill: ${t.labelBackgroundColor}; opacity: 0.5; } +.edgeLabel { + background-color: ${t.edgeLabelBackground}; + p { + background-color: ${t.edgeLabelBackground}; + } + rect { + opacity: 0.5; + background-color: ${t.edgeLabelBackground}; + fill: ${t.edgeLabelBackground}; + } + text-align: center; +} .edgeLabel .label text { - fill: ${i.transitionLabelColor||i.tertiaryTextColor}; + fill: ${t.transitionLabelColor||t.tertiaryTextColor}; } .label div .edgeLabel { - color: ${i.transitionLabelColor||i.tertiaryTextColor}; + color: ${t.transitionLabelColor||t.tertiaryTextColor}; } .stateLabel text { - fill: ${i.stateLabelColor}; + fill: ${t.stateLabelColor}; font-size: 10px; font-weight: bold; } .node circle.state-start { - fill: ${i.specialStateColor}; - stroke: ${i.specialStateColor}; + fill: ${t.specialStateColor}; + stroke: ${t.specialStateColor}; } .node .fork-join { - fill: ${i.specialStateColor}; - stroke: ${i.specialStateColor}; + fill: ${t.specialStateColor}; + stroke: ${t.specialStateColor}; } .node circle.state-end { - fill: ${i.innerEndBackground}; - stroke: ${i.background}; + fill: ${t.innerEndBackground}; + stroke: ${t.background}; stroke-width: 1.5 } .end-state-inner { - fill: ${i.compositeBackground||i.background}; - // stroke: ${i.background}; + fill: ${t.compositeBackground||t.background}; + // stroke: ${t.background}; stroke-width: 1.5 } .node rect { - fill: ${i.stateBkg||i.mainBkg}; - stroke: ${i.stateBorder||i.nodeBorder}; - stroke-width: 1px; + fill: ${t.stateBkg||t.mainBkg}; + stroke: ${t.stateBorder||t.nodeBorder}; + stroke-width: ${t.strokeWidth||1}px; } .node polygon { - fill: ${i.mainBkg}; - stroke: ${i.stateBorder||i.nodeBorder};; - stroke-width: 1px; + fill: ${t.mainBkg}; + stroke: ${t.stateBorder||t.nodeBorder};; + stroke-width: ${t.strokeWidth||1}px; } -#statediagram-barbEnd { - fill: ${i.lineColor}; +[id$="-barbEnd"] { + fill: ${t.lineColor}; } .statediagram-cluster rect { - fill: ${i.compositeTitleBackground}; - stroke: ${i.stateBorder||i.nodeBorder}; - stroke-width: 1px; + fill: ${t.compositeTitleBackground}; + stroke: ${t.stateBorder||t.nodeBorder}; + stroke-width: ${t.strokeWidth||1}px; } .cluster-label, .nodeLabel { - color: ${i.stateLabelColor}; + color: ${t.stateLabelColor}; + // line-height: 1; } .statediagram-cluster rect.outer { @@ -1384,7 +2733,7 @@ g.stateGroup line { ry: 5px; } .statediagram-state .divider { - stroke: ${i.stateBorder||i.nodeBorder}; + stroke: ${t.stateBorder||t.nodeBorder}; } .statediagram-state .title-state { @@ -1392,10 +2741,10 @@ g.stateGroup line { ry: 5px; } .statediagram-cluster.statediagram-cluster .inner { - fill: ${i.compositeBackground||i.background}; + fill: ${t.compositeBackground||t.background}; } .statediagram-cluster.statediagram-cluster-alt .inner { - fill: ${i.altBackground?i.altBackground:"#efefef"}; + fill: ${t.altBackground?t.altBackground:"#efefef"}; } .statediagram-cluster .inner { @@ -1409,7 +2758,7 @@ g.stateGroup line { } .statediagram-state rect.divider { stroke-dasharray: 10,10; - fill: ${i.altBackground?i.altBackground:"#efefef"}; + fill: ${t.altBackground?t.altBackground:"#efefef"}; } .note-edge { @@ -1417,73 +2766,84 @@ g.stateGroup line { } .statediagram-note rect { - fill: ${i.noteBkgColor}; - stroke: ${i.noteBorderColor}; + fill: ${t.noteBkgColor}; + stroke: ${t.noteBorderColor}; stroke-width: 1px; rx: 0; ry: 0; } .statediagram-note rect { - fill: ${i.noteBkgColor}; - stroke: ${i.noteBorderColor}; + fill: ${t.noteBkgColor}; + stroke: ${t.noteBorderColor}; stroke-width: 1px; rx: 0; ry: 0; } .statediagram-note text { - fill: ${i.noteTextColor}; + fill: ${t.noteTextColor}; } .statediagram-note .nodeLabel { - color: ${i.noteTextColor}; + color: ${t.noteTextColor}; } .statediagram .edgeLabel { - color: red; // ${i.noteTextColor}; + color: red; // ${t.noteTextColor}; } -#dependencyStart, #dependencyEnd { - fill: ${i.lineColor}; - stroke: ${i.lineColor}; - stroke-width: 1; +[id$="-dependencyStart"], [id$="-dependencyEnd"] { + fill: ${t.lineColor}; + stroke: ${t.lineColor}; + stroke-width: ${t.strokeWidth||1}; } .statediagramTitleText { text-anchor: middle; font-size: 18px; - fill: ${i.textColor}; -} -`,swe={},Hsn=(i,a)=>{swe[i]=a},Usn=i=>swe[i],QKe=()=>Object.keys(swe),Vsn={get:Usn,set:Hsn,keys:QKe,size:()=>QKe().length},Gsn=i=>i.append("circle").attr("class","start-state").attr("r",qt().state.sizeUnit).attr("cx",qt().state.padding+qt().state.sizeUnit).attr("cy",qt().state.padding+qt().state.sizeUnit),Ksn=i=>i.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",qt().state.textHeight).attr("class","divider").attr("x2",qt().state.textHeight*2).attr("y1",0).attr("y2",0),Wsn=(i,a)=>{const u=i.append("text").attr("x",2*qt().state.padding).attr("y",qt().state.textHeight+2*qt().state.padding).attr("font-size",qt().state.fontSize).attr("class","state-title").text(a.id),d=u.node().getBBox();return i.insert("rect",":first-child").attr("x",qt().state.padding).attr("y",qt().state.padding).attr("width",d.width+2*qt().state.padding).attr("height",d.height+2*qt().state.padding).attr("rx",qt().state.radius),u},Ysn=(i,a)=>{const u=function(R,B,j){const W=R.append("tspan").attr("x",2*qt().state.padding).text(B);j||W.attr("dy",qt().state.textHeight)},p=i.append("text").attr("x",2*qt().state.padding).attr("y",qt().state.textHeight+1.3*qt().state.padding).attr("font-size",qt().state.fontSize).attr("class","state-title").text(a.descriptions[0]).node().getBBox(),v=p.height,b=i.append("text").attr("x",qt().state.padding).attr("y",v+qt().state.padding*.4+qt().state.dividerMargin+qt().state.textHeight).attr("class","state-description");let y=!0,E=!0;a.descriptions.forEach(function(R){y||(u(b,R,E),E=!1),y=!1});const _=i.append("line").attr("x1",qt().state.padding).attr("y1",qt().state.padding+v+qt().state.dividerMargin/2).attr("y2",qt().state.padding+v+qt().state.dividerMargin/2).attr("class","descr-divider"),A=b.node().getBBox(),P=Math.max(A.width,p.width);return _.attr("x2",P+3*qt().state.padding),i.insert("rect",":first-child").attr("x",qt().state.padding).attr("y",qt().state.padding).attr("width",P+2*qt().state.padding).attr("height",A.height+v+2*qt().state.padding).attr("rx",qt().state.radius),i},Xsn=(i,a,u)=>{const d=qt().state.padding,p=2*qt().state.padding,v=i.node().getBBox(),b=v.width,y=v.x,E=i.append("text").attr("x",0).attr("y",qt().state.titleShift).attr("font-size",qt().state.fontSize).attr("class","state-title").text(a.id),A=E.node().getBBox().width+p;let P=Math.max(A,b);P===b&&(P=P+p);let R;const B=i.node().getBBox();a.doc,R=y-d,A>b&&(R=(b-P)/2+d),Math.abs(y-B.x)b&&(R=y-(A-b)/2);const j=1-qt().state.textHeight;return i.insert("rect",":first-child").attr("x",R).attr("y",j).attr("class",u?"alt-composit":"composit").attr("width",P).attr("height",B.height+qt().state.textHeight+qt().state.titleShift+1).attr("rx","0"),E.attr("x",R+d),A<=b&&E.attr("x",y+(P-p)/2-A/2+d),i.insert("rect",":first-child").attr("x",R).attr("y",qt().state.titleShift-qt().state.textHeight-qt().state.padding).attr("width",P).attr("height",qt().state.textHeight*3).attr("rx",qt().state.radius),i.insert("rect",":first-child").attr("x",R).attr("y",qt().state.titleShift-qt().state.textHeight-qt().state.padding).attr("width",P).attr("height",B.height+3+2*qt().state.textHeight).attr("rx",qt().state.radius),i},Qsn=i=>(i.append("circle").attr("class","end-state-outer").attr("r",qt().state.sizeUnit+qt().state.miniPadding).attr("cx",qt().state.padding+qt().state.sizeUnit+qt().state.miniPadding).attr("cy",qt().state.padding+qt().state.sizeUnit+qt().state.miniPadding),i.append("circle").attr("class","end-state-inner").attr("r",qt().state.sizeUnit).attr("cx",qt().state.padding+qt().state.sizeUnit+2).attr("cy",qt().state.padding+qt().state.sizeUnit+2)),Jsn=(i,a)=>{let u=qt().state.forkWidth,d=qt().state.forkHeight;if(a.parentId){let p=u;u=d,d=p}return i.append("rect").style("stroke","black").style("fill","black").attr("width",u).attr("height",d).attr("x",qt().state.padding).attr("y",qt().state.padding)},Zsn=(i,a,u,d)=>{let p=0;const v=d.append("text");v.style("text-anchor","start"),v.attr("class","noteText");let b=i.replace(/\r\n/g,"
    ");b=b.replace(/\n/g,"
    ");const y=b.split(oi.lineBreakRegex);let E=1.25*qt().state.noteMargin;for(const _ of y){const A=_.trim();if(A.length>0){const P=v.append("tspan");if(P.text(A),E===0){const R=P.node().getBBox();E+=R.height}p+=E,P.attr("x",a+qt().state.noteMargin),P.attr("y",u+p+1.25*qt().state.noteMargin)}}return{textWidth:v.node().getBBox().width,textHeight:p}},ean=(i,a)=>{a.attr("class","state-note");const u=a.append("rect").attr("x",0).attr("y",qt().state.padding),d=a.append("g"),{textWidth:p,textHeight:v}=Zsn(i,0,0,d);return u.attr("height",v+2*qt().state.noteMargin),u.attr("width",p+qt().state.noteMargin*2),u},JKe=function(i,a){const u=a.id,d={id:u,label:a.id,width:0,height:0},p=i.append("g").attr("id",u).attr("class","stateGroup");a.type==="start"&&Gsn(p),a.type==="end"&&Qsn(p),(a.type==="fork"||a.type==="join")&&Jsn(p,a),a.type==="note"&&ean(a.note.text,p),a.type==="divider"&&Ksn(p),a.type==="default"&&a.descriptions.length===0&&Wsn(p,a),a.type==="default"&&a.descriptions.length>0&&Ysn(p,a);const v=p.node().getBBox();return d.width=v.width+2*qt().state.padding,d.height=v.height+2*qt().state.padding,Vsn.set(u,d),d};let ZKe=0;const tan=function(i,a,u){const d=function(E){switch(E){case K7.relationType.AGGREGATION:return"aggregation";case K7.relationType.EXTENSION:return"extension";case K7.relationType.COMPOSITION:return"composition";case K7.relationType.DEPENDENCY:return"dependency"}};a.points=a.points.filter(E=>!Number.isNaN(E.y));const p=a.points,v=E7().x(function(E){return E.x}).y(function(E){return E.y}).curve(VF),b=i.append("path").attr("d",v(p)).attr("id","edge"+ZKe).attr("class","transition");let y="";if(qt().state.arrowMarkerAbsolute&&(y=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,y=y.replace(/\(/g,"\\("),y=y.replace(/\)/g,"\\)")),b.attr("marker-end","url("+y+"#"+d(K7.relationType.DEPENDENCY)+"End)"),u.title!==void 0){const E=i.append("g").attr("class","stateLabel"),{x:_,y:A}=So.calcLabelPosition(a.points),P=oi.getRows(u.title);let R=0;const B=[];let j=0,W=0;for(let oe=0;oe<=P.length;oe++){const be=E.append("text").attr("text-anchor","middle").text(P[oe]).attr("x",_).attr("y",A+R),ge=be.node().getBBox();j=Math.max(j,ge.width),W=Math.min(W,ge.x),Xe.info(ge.x,_,A+R),R===0&&(R=be.node().getBBox().height,Xe.info("Title height",R,A)),B.push(be)}let ee=R*P.length;if(P.length>1){const oe=(P.length-1)*R*.5;B.forEach((be,ge)=>be.attr("y",A+ge*R-oe)),ee=R*P.length}const ie=E.node().getBBox();E.insert("rect",":first-child").attr("class","box").attr("x",_-j/2-qt().state.padding/2).attr("y",A-ee/2-qt().state.padding/2-3.5).attr("width",j+qt().state.padding).attr("height",ee+qt().state.padding),Xe.info(ie)}ZKe++};let Tm;const awe={},nan=function(){},ran=function(i){i.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},ian=function(i,a,u,d){Tm=qt().state;const p=qt().securityLevel;let v;p==="sandbox"&&(v=Dr("#i"+a));const b=Dr(p==="sandbox"?v.nodes()[0].contentDocument.body:"body"),y=p==="sandbox"?v.nodes()[0].contentDocument:document;Xe.debug("Rendering diagram "+i);const E=b.select(`[id='${a}']`);ran(E);const _=d.db.getRootDoc();eWe(_,E,void 0,!1,b,y,d);const A=Tm.padding,P=E.node().getBBox(),R=P.width+A*2,B=P.height+A*2,j=R*1.75;Fg(E,B,j,Tm.useMaxWidth),E.attr("viewBox",`${P.x-Tm.padding} ${P.y-Tm.padding} `+R+" "+B)},san=i=>i?i.length*Tm.fontSizeFactor:1,eWe=(i,a,u,d,p,v,b)=>{const y=new R0({compound:!0,multigraph:!0});let E,_=!0;for(E=0;E{const ge=be.parentElement;let ae=0,ne=0;ge&&(ge.parentElement&&(ae=ge.parentElement.getBBox().width),ne=parseInt(ge.getAttribute("data-x-shift"),10),Number.isNaN(ne)&&(ne=0)),be.setAttribute("x1",0-ne+8),be.setAttribute("x2",ae-ne-8)})):Xe.debug("No Node "+ie+": "+JSON.stringify(y.node(ie)))});let W=j.getBBox();y.edges().forEach(function(ie){ie!==void 0&&y.edge(ie)!==void 0&&(Xe.debug("Edge "+ie.v+" -> "+ie.w+": "+JSON.stringify(y.edge(ie))),tan(a,y.edge(ie),y.edge(ie).relation))}),W=j.getBBox();const ee={id:u||"root",label:u||"root",width:0,height:0};return ee.width=W.width+2*Tm.padding,ee.height=W.height+2*Tm.padding,Xe.debug("Doc rendered",ee,y),ee},aan=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:BKe,db:K7,renderer:{setConf:nan,draw:ian},styles:XKe,init:i=>{i.state||(i.state={}),i.state.arrowMarkerAbsolute=i.arrowMarkerAbsolute,K7.clear()}}},Symbol.toStringTag,{value:"Module"})),qJ="rect",owe="rectWithTitle",oan="start",can="end",uan="divider",lan="roundedWithTitle",han="note",fan="noteGroup",sI="statediagram",dan=`${sI}-state`,tWe="transition",gan="note",pan=`${tWe} note-edge`,ban=`${sI}-${gan}`,man=`${sI}-cluster`,van=`${sI}-cluster-alt`,nWe="parent",rWe="note",wan="state",cwe="----",yan=`${cwe}${rWe}`,iWe=`${cwe}${nWe}`,sWe="fill:none",aWe="fill: #333",oWe="c",cWe="text",uWe="normal";let HJ={},z9=0;const xan=function(i){const a=Object.keys(i);for(const u of a)i[u]},kan=function(i,a){return a.db.extract(a.db.getRootDocV2()),a.db.getClasses()};function Tan(i){return i==null?"":i.classes?i.classes.join(" "):""}function uwe(i="",a=0,u="",d=cwe){const p=u!==null&&u.length>0?`${d}${u}`:"";return`${wan}-${i}${p}-${a}`}const cj=(i,a,u,d,p,v)=>{const b=u.id,y=Tan(d[b]);if(b!=="root"){let E=qJ;u.start===!0&&(E=oan),u.start===!1&&(E=can),u.type!==ij&&(E=u.type),HJ[b]||(HJ[b]={id:b,shape:E,description:oi.sanitizeText(b,qt()),classes:`${y} ${dan}`});const _=HJ[b];u.description&&(Array.isArray(_.description)?(_.shape=owe,_.description.push(u.description)):_.description.length>0?(_.shape=owe,_.description===b?_.description=[u.description]:_.description=[_.description,u.description]):(_.shape=qJ,_.description=u.description),_.description=oi.sanitizeTextOrArray(_.description,qt())),_.description.length===1&&_.shape===owe&&(_.shape=qJ),!_.type&&u.doc&&(Xe.info("Setting cluster for ",b,lwe(u)),_.type="group",_.dir=lwe(u),_.shape=u.type===FKe?uan:lan,_.classes=_.classes+" "+man+" "+(v?van:""));const A={labelStyle:"",shape:_.shape,labelText:_.description,classes:_.classes,style:"",id:b,dir:_.dir,domId:uwe(b,z9),type:_.type,padding:15};if(A.centerLabel=!0,u.note){const P={labelStyle:"",shape:han,labelText:u.note.text,classes:ban,style:"",id:b+yan+"-"+z9,domId:uwe(b,z9,rWe),type:_.type,padding:15},R={labelStyle:"",shape:fan,labelText:u.note.text,classes:_.classes,style:"",id:b+iWe,domId:uwe(b,z9,nWe),type:"group",padding:0};z9++;const B=b+iWe;i.setNode(B,R),i.setNode(P.id,P),i.setNode(b,A),i.setParent(b,B),i.setParent(P.id,B);let j=b,W=P.id;u.note.position==="left of"&&(j=P.id,W=b),i.setEdge(j,W,{arrowhead:"none",arrowType:"",style:sWe,labelStyle:"",classes:pan,arrowheadStyle:aWe,labelpos:oWe,labelType:cWe,thickness:uWe})}else i.setNode(b,A)}a&&a.id!=="root"&&(Xe.trace("Setting node ",b," to be child of its parent ",a.id),i.setParent(b,a.id)),u.doc&&(Xe.trace("Adding nodes children "),Ean(i,u,u.doc,d,p,!v))},Ean=(i,a,u,d,p,v)=>{Xe.trace("items",u),u.forEach(b=>{switch(b.stmt){case FJ:cj(i,a,b,d,p,v);break;case ij:cj(i,a,b,d,p,v);break;case Zve:{cj(i,a,b.state1,d,p,v),cj(i,a,b.state2,d,p,v);const y={id:"edge"+z9,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:sWe,labelStyle:"",label:oi.sanitizeText(b.description,qt()),arrowheadStyle:aWe,labelpos:oWe,labelType:cWe,thickness:uWe,classes:tWe};i.setEdge(b.state1.id,b.state2.id,y,z9),z9++}break}})},lwe=(i,a=xsn)=>{let u=a;if(i.doc)for(let d=0;d{i.state||(i.state={}),i.state.arrowMarkerAbsolute=i.arrowMarkerAbsolute,K7.clear()}}},Symbol.toStringTag,{value:"Module"}));var hwe=function(){var i=function(P,R,B,j){for(B=B||{},j=P.length;j--;B[P[j]]=R);return B},a=[6,8,10,11,12,14,16,17,18],u=[1,9],d=[1,10],p=[1,11],v=[1,12],b=[1,13],y=[1,14],E={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:function(R,B,j,W,ee,ie,oe){var be=ie.length-1;switch(ee){case 1:return ie[be-1];case 2:this.$=[];break;case 3:ie[be-1].push(ie[be]),this.$=ie[be-1];break;case 4:case 5:this.$=ie[be];break;case 6:case 7:this.$=[];break;case 8:W.setDiagramTitle(ie[be].substr(6)),this.$=ie[be].substr(6);break;case 9:this.$=ie[be].trim(),W.setAccTitle(this.$);break;case 10:case 11:this.$=ie[be].trim(),W.setAccDescription(this.$);break;case 12:W.addSection(ie[be].substr(8)),this.$=ie[be].substr(8);break;case 13:W.addTask(ie[be-1],ie[be]),this.$="task";break}},table:[{3:1,4:[1,2]},{1:[3]},i(a,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:u,12:d,14:p,16:v,17:b,18:y},i(a,[2,7],{1:[2,1]}),i(a,[2,3]),{9:15,11:u,12:d,14:p,16:v,17:b,18:y},i(a,[2,5]),i(a,[2,6]),i(a,[2,8]),{13:[1,16]},{15:[1,17]},i(a,[2,11]),i(a,[2,12]),{19:[1,18]},i(a,[2,4]),i(a,[2,9]),i(a,[2,10]),i(a,[2,13])],defaultActions:{},parseError:function(R,B){if(B.recoverable)this.trace(R);else{var j=new Error(R);throw j.hash=B,j}},parse:function(R){var B=this,j=[0],W=[],ee=[null],ie=[],oe=this.table,be="",ge=0,ae=0,ne=2,se=1,de=ie.slice.call(arguments,1),X=Object.create(this.lexer),pe={yy:{}};for(var G in this.yy)Object.prototype.hasOwnProperty.call(this.yy,G)&&(pe.yy[G]=this.yy[G]);X.setInput(R,pe.yy),pe.yy.lexer=X,pe.yy.parser=this,typeof X.yylloc>"u"&&(X.yylloc={});var xe=X.yylloc;ie.push(xe);var U=X.options&&X.options.ranges;typeof pe.yy.parseError=="function"?this.parseError=pe.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Be(){var Tt;return Tt=W.pop()||X.lex()||se,typeof Tt!="number"&&(Tt instanceof Array&&(W=Tt,Tt=W.pop()),Tt=B.symbols_[Tt]||Tt),Tt}for(var Pe,je,Ie,Se,Ce={},ke,Ke,zt,Ne;;){if(je=j[j.length-1],this.defaultActions[je]?Ie=this.defaultActions[je]:((Pe===null||typeof Pe>"u")&&(Pe=Be()),Ie=oe[je]&&oe[je][Pe]),typeof Ie>"u"||!Ie.length||!Ie[0]){var pn="";Ne=[];for(ke in oe[je])this.terminals_[ke]&&ke>ne&&Ne.push("'"+this.terminals_[ke]+"'");X.showPosition?pn="Parse error on line "+(ge+1)+`: -`+X.showPosition()+` -Expecting `+Ne.join(", ")+", got '"+(this.terminals_[Pe]||Pe)+"'":pn="Parse error on line "+(ge+1)+": Unexpected "+(Pe==se?"end of input":"'"+(this.terminals_[Pe]||Pe)+"'"),this.parseError(pn,{text:X.match,token:this.terminals_[Pe]||Pe,line:X.yylineno,loc:xe,expected:Ne})}if(Ie[0]instanceof Array&&Ie.length>1)throw new Error("Parse Error: multiple actions possible at state: "+je+", token: "+Pe);switch(Ie[0]){case 1:j.push(Pe),ee.push(X.yytext),ie.push(X.yylloc),j.push(Ie[1]),Pe=null,ae=X.yyleng,be=X.yytext,ge=X.yylineno,xe=X.yylloc;break;case 2:if(Ke=this.productions_[Ie[1]][1],Ce.$=ee[ee.length-Ke],Ce._$={first_line:ie[ie.length-(Ke||1)].first_line,last_line:ie[ie.length-1].last_line,first_column:ie[ie.length-(Ke||1)].first_column,last_column:ie[ie.length-1].last_column},U&&(Ce._$.range=[ie[ie.length-(Ke||1)].range[0],ie[ie.length-1].range[1]]),Se=this.performAction.apply(Ce,[be,ae,ge,pe.yy,Ie[1],ee,ie].concat(de)),typeof Se<"u")return Se;Ke&&(j=j.slice(0,-1*Ke*2),ee=ee.slice(0,-1*Ke),ie=ie.slice(0,-1*Ke)),j.push(this.productions_[Ie[1]][0]),ee.push(Ce.$),ie.push(Ce._$),zt=oe[j[j.length-2]][j[j.length-1]],j.push(zt);break;case 3:return!0}}return!0}},_=function(){var P={EOF:1,parseError:function(B,j){if(this.yy.parser)this.yy.parser.parseError(B,j);else throw new Error(B)},setInput:function(R,B){return this.yy=B||this.yy||{},this._input=R,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var R=this._input[0];this.yytext+=R,this.yyleng++,this.offset++,this.match+=R,this.matched+=R;var B=R.match(/(?:\r\n?|\n).*/g);return B?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),R},unput:function(R){var B=R.length,j=R.split(/(?:\r\n?|\n)/g);this._input=R+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-B),this.offset-=B;var W=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),j.length-1&&(this.yylineno-=j.length-1);var ee=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:j?(j.length===W.length?this.yylloc.first_column:0)+W[W.length-j.length].length-j[0].length:this.yylloc.first_column-B},this.options.ranges&&(this.yylloc.range=[ee[0],ee[0]+this.yyleng-B]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(R){this.unput(this.match.slice(R))},pastInput:function(){var R=this.matched.substr(0,this.matched.length-this.match.length);return(R.length>20?"...":"")+R.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var R=this.match;return R.length<20&&(R+=this._input.substr(0,20-R.length)),(R.substr(0,20)+(R.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var R=this.pastInput(),B=new Array(R.length+1).join("-");return R+this.upcomingInput()+` -`+B+"^"},test_match:function(R,B){var j,W,ee;if(this.options.backtrack_lexer&&(ee={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(ee.yylloc.range=this.yylloc.range.slice(0))),W=R[0].match(/(?:\r\n?|\n).*/g),W&&(this.yylineno+=W.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:W?W[W.length-1].length-W[W.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+R[0].length},this.yytext+=R[0],this.match+=R[0],this.matches=R,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(R[0].length),this.matched+=R[0],j=this.performAction.call(this,this.yy,this,B,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),j)return j;if(this._backtrack){for(var ie in ee)this[ie]=ee[ie];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var R,B,j,W;this._more||(this.yytext="",this.match="");for(var ee=this._currentRules(),ie=0;ieB[0].length)){if(B=j,W=ie,this.options.backtrack_lexer){if(R=this.test_match(j,ee[ie]),R!==!1)return R;if(this._backtrack){B=!1;continue}else return!1}else if(!this.options.flex)break}return B?(R=this.test_match(B,ee[W]),R!==!1?R:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var B=this.next();return B||this.lex()},begin:function(B){this.conditionStack.push(B)},popState:function(){var B=this.conditionStack.length-1;return B>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(B){return B=this.conditionStack.length-1-Math.abs(B||0),B>=0?this.conditionStack[B]:"INITIAL"},pushState:function(B){this.begin(B)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(B,j,W,ee){switch(W){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}};return P}();E.lexer=_;function A(){this.yy={}}return A.prototype=E,E.Parser=A,new A}();hwe.parser=hwe;const San=hwe;let aI="";const fwe=[],uj=[],lj=[],_an=function(){fwe.length=0,uj.length=0,aI="",lj.length=0,Rg()},Aan=function(i){aI=i,fwe.push(i)},Lan=function(){return fwe},Man=function(){let i=lWe();const a=100;let u=0;for(;!i&&u{u.people&&i.push(...u.people)}),[...new Set(i)].sort()},Ian=function(i,a){const u=a.substr(1).split(":");let d=0,p=[];u.length===1?(d=Number(u[0]),p=[]):(d=Number(u[0]),p=u[1].split(","));const v=p.map(y=>y.trim()),b={section:aI,type:aI,people:v,task:i,score:d};lj.push(b)},Oan=function(i){const a={section:aI,type:aI,description:i,task:i,classes:[]};uj.push(a)},lWe=function(){const i=function(u){return lj[u].processed};let a=!0;for(const[u,d]of lj.entries())i(u),a=a&&d.processed;return a},hWe={getConfig:()=>qt().journey,clear:_an,setDiagramTitle:pm,getDiagramTitle:Op,setAccTitle:jg,getAccTitle:Mp,setAccDescription:Dp,getAccDescription:Ip,addSection:Aan,getSections:Lan,getTasks:Man,addTask:Ian,addTaskOrg:Oan,getActors:function(){return Dan()}},Nan=i=>`.label { - font-family: 'trebuchet ms', verdana, arial, sans-serif; - font-family: var(--mermaid-font-family); - color: ${i.textColor}; + fill: ${t.textColor}; +} + +[data-look="neo"].statediagram-cluster rect { + fill: ${t.mainBkg}; + stroke: ${t.useGradient?"url("+t.svgId+"-gradient)":t.stateBorder||t.nodeBorder}; + stroke-width: ${t.strokeWidth??1}; +} +[data-look="neo"].statediagram-cluster rect.outer { + rx: ${t.radius}px; + ry: ${t.radius}px; + filter: ${t.dropShadow?t.dropShadow.replace("url(#drop-shadow)",`url(${t.svgId}-drop-shadow)`):"none"} +} +`,"getStyles"),x$r=Ahi});var k$r={};cs(k$r,{diagram:()=>Rhi});var Rhi,C$r=ie(()=>{"use strict";XFr();w$r();T$r();Gct();Rhi={parser:KFr,get db(){return new B4e(2)},renderer:m$r,styles:x$r,init:i(t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")}});var jct,A$r,R$r=ie(()=>{"use strict";jct=(function(){var t=i(function(T,C,E,S){for(E=E||{},S=T.length;S--;E[T[S]]=C);return E},"o"),r=[6,8,10,11,12,14,16,17,18],a=[1,9],o=[1,10],l=[1,11],h=[1,12],f=[1,13],p=[1,14],m={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:i(function(C,E,S,R,L,_,M){var I=_.length-1;switch(L){case 1:return _[I-1];case 2:this.$=[];break;case 3:_[I-1].push(_[I]),this.$=_[I-1];break;case 4:case 5:this.$=_[I];break;case 6:case 7:this.$=[];break;case 8:R.setDiagramTitle(_[I].substr(6)),this.$=_[I].substr(6);break;case 9:this.$=_[I].trim(),R.setAccTitle(this.$);break;case 10:case 11:this.$=_[I].trim(),R.setAccDescription(this.$);break;case 12:R.addSection(_[I].substr(8)),this.$=_[I].substr(8);break;case 13:R.addTask(_[I-1],_[I]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(r,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:o,14:l,16:h,17:f,18:p},t(r,[2,7],{1:[2,1]}),t(r,[2,3]),{9:15,11:a,12:o,14:l,16:h,17:f,18:p},t(r,[2,5]),t(r,[2,6]),t(r,[2,8]),{13:[1,16]},{15:[1,17]},t(r,[2,11]),t(r,[2,12]),{19:[1,18]},t(r,[2,4]),t(r,[2,9]),t(r,[2,10]),t(r,[2,13])],defaultActions:{},parseError:i(function(C,E){if(E.recoverable)this.trace(C);else{var S=new Error(C);throw S.hash=E,S}},"parseError"),parse:i(function(C){var E=this,S=[0],R=[],L=[null],_=[],M=this.table,I="",F=0,O=0,P=0,G=2,V=1,Y=_.slice.call(arguments,1),K=Object.create(this.lexer),J={yy:{}};for(var H in this.yy)Object.prototype.hasOwnProperty.call(this.yy,H)&&(J.yy[H]=this.yy[H]);K.setInput(C,J.yy),J.yy.lexer=K,J.yy.parser=this,typeof K.yylloc>"u"&&(K.yylloc={});var q=K.yylloc;_.push(q);var Z=K.options&&K.options.ranges;typeof J.yy.parseError=="function"?this.parseError=J.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Q(De){S.length=S.length-2*De,L.length=L.length-De,_.length=_.length-De}i(Q,"popStack");function W(){var De;return De=R.pop()||K.lex()||V,typeof De!="number"&&(De instanceof Array&&(R=De,De=R.pop()),De=E.symbols_[De]||De),De}i(W,"lex");for(var te,z,re,ae,ce,le,de={},ve,Se,_e,Ce;;){if(re=S[S.length-1],this.defaultActions[re]?ae=this.defaultActions[re]:((te===null||typeof te>"u")&&(te=W()),ae=M[re]&&M[re][te]),typeof ae>"u"||!ae.length||!ae[0]){var Ve="";Ce=[];for(ve in M[re])this.terminals_[ve]&&ve>G&&Ce.push("'"+this.terminals_[ve]+"'");K.showPosition?Ve="Parse error on line "+(F+1)+`: +`+K.showPosition()+` +Expecting `+Ce.join(", ")+", got '"+(this.terminals_[te]||te)+"'":Ve="Parse error on line "+(F+1)+": Unexpected "+(te==V?"end of input":"'"+(this.terminals_[te]||te)+"'"),this.parseError(Ve,{text:K.match,token:this.terminals_[te]||te,line:K.yylineno,loc:q,expected:Ce})}if(ae[0]instanceof Array&&ae.length>1)throw new Error("Parse Error: multiple actions possible at state: "+re+", token: "+te);switch(ae[0]){case 1:S.push(te),L.push(K.yytext),_.push(K.yylloc),S.push(ae[1]),te=null,z?(te=z,z=null):(O=K.yyleng,I=K.yytext,F=K.yylineno,q=K.yylloc,P>0&&P--);break;case 2:if(Se=this.productions_[ae[1]][1],de.$=L[L.length-Se],de._$={first_line:_[_.length-(Se||1)].first_line,last_line:_[_.length-1].last_line,first_column:_[_.length-(Se||1)].first_column,last_column:_[_.length-1].last_column},Z&&(de._$.range=[_[_.length-(Se||1)].range[0],_[_.length-1].range[1]]),le=this.performAction.apply(de,[I,O,F,J.yy,ae[1],L,_].concat(Y)),typeof le<"u")return le;Se&&(S=S.slice(0,-1*Se*2),L=L.slice(0,-1*Se),_=_.slice(0,-1*Se)),S.push(this.productions_[ae[1]][0]),L.push(de.$),_.push(de._$),_e=M[S[S.length-2]][S[S.length-1]],S.push(_e);break;case 3:return!0}}return!0},"parse")},b=(function(){var T={EOF:1,parseError:i(function(E,S){if(this.yy.parser)this.yy.parser.parseError(E,S);else throw new Error(E)},"parseError"),setInput:i(function(C,E){return this.yy=E||this.yy||{},this._input=C,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var C=this._input[0];this.yytext+=C,this.yyleng++,this.offset++,this.match+=C,this.matched+=C;var E=C.match(/(?:\r\n?|\n).*/g);return E?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),C},"input"),unput:i(function(C){var E=C.length,S=C.split(/(?:\r\n?|\n)/g);this._input=C+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-E),this.offset-=E;var R=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),S.length-1&&(this.yylineno-=S.length-1);var L=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:S?(S.length===R.length?this.yylloc.first_column:0)+R[R.length-S.length].length-S[0].length:this.yylloc.first_column-E},this.options.ranges&&(this.yylloc.range=[L[0],L[0]+this.yyleng-E]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(C){this.unput(this.match.slice(C))},"less"),pastInput:i(function(){var C=this.matched.substr(0,this.matched.length-this.match.length);return(C.length>20?"...":"")+C.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var C=this.match;return C.length<20&&(C+=this._input.substr(0,20-C.length)),(C.substr(0,20)+(C.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var C=this.pastInput(),E=new Array(C.length+1).join("-");return C+this.upcomingInput()+` +`+E+"^"},"showPosition"),test_match:i(function(C,E){var S,R,L;if(this.options.backtrack_lexer&&(L={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(L.yylloc.range=this.yylloc.range.slice(0))),R=C[0].match(/(?:\r\n?|\n).*/g),R&&(this.yylineno+=R.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:R?R[R.length-1].length-R[R.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+C[0].length},this.yytext+=C[0],this.match+=C[0],this.matches=C,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(C[0].length),this.matched+=C[0],S=this.performAction.call(this,this.yy,this,E,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),S)return S;if(this._backtrack){for(var _ in L)this[_]=L[_];return!1}return!1},"test_match"),next:i(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var C,E,S,R;this._more||(this.yytext="",this.match="");for(var L=this._currentRules(),_=0;_E[0].length)){if(E=S,R=_,this.options.backtrack_lexer){if(C=this.test_match(S,L[_]),C!==!1)return C;if(this._backtrack){E=!1;continue}else return!1}else if(!this.options.flex)break}return E?(C=this.test_match(E,L[R]),C!==!1?C:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:i(function(){var E=this.next();return E||this.lex()},"lex"),begin:i(function(E){this.conditionStack.push(E)},"begin"),popState:i(function(){var E=this.conditionStack.length-1;return E>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:i(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:i(function(E){return E=this.conditionStack.length-1-Math.abs(E||0),E>=0?this.conditionStack[E]:"INITIAL"},"topState"),pushState:i(function(E){this.begin(E)},"pushState"),stateStackSize:i(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:i(function(E,S,R,L){var _=L;switch(R){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;break;case 8:return this.popState(),"acc_title_value";break;case 9:return this.begin("acc_descr"),14;break;case 10:return this.popState(),"acc_descr_value";break;case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}};return T})();m.lexer=b;function v(){this.yy={}}return i(v,"Parser"),v.prototype=m,m.Parser=v,new v})();jct.parser=jct;A$r=jct});var eH,zct,dae,pae,Mhi,Ihi,Nhi,Ohi,Phi,Bhi,Fhi,L$r,$hi,Uct,D$r=ie(()=>{"use strict";ma();xu();eH="",zct=[],dae=[],pae=[],Mhi=i(function(){zct.length=0,dae.length=0,eH="",pae.length=0,Is()},"clear"),Ihi=i(function(t){eH=t,zct.push(t)},"addSection"),Nhi=i(function(){return zct},"getSections"),Ohi=i(function(){let t=L$r(),r=100,a=0;for(;!t&&a{a.people&&t.push(...a.people)}),[...new Set(t)].sort()},"updateActors"),Bhi=i(function(t,r){let a=r.substr(1).split(":"),o=0,l=[];a.length===1?(o=Number(a[0]),l=[]):(o=Number(a[0]),l=a[1].split(","));let h=l.map(p=>p.trim()),f={section:eH,type:eH,people:h,task:t,score:o};pae.push(f)},"addTask"),Fhi=i(function(t){let r={section:eH,type:eH,description:t,task:t,classes:[]};dae.push(r)},"addTaskOrg"),L$r=i(function(){let t=i(function(a){return pae[a].processed},"compileTask"),r=!0;for(let[a,o]of pae.entries())t(a),r=r&&o.processed;return r},"compileTasks"),$hi=i(function(){return Phi()},"getActors"),Uct={getConfig:i(()=>Zt().journey,"getConfig"),clear:Mhi,setDiagramTitle:ao,getDiagramTitle:Js,setAccTitle:Os,getAccTitle:Ws,setAccDescription:js,getAccDescription:Ys,addSection:Ihi,getSections:Nhi,getTasks:Ohi,addTask:Bhi,addTaskOrg:Fhi,getActors:$hi}});var Ghi,_$r,M$r=ie(()=>{"use strict";UO();Ghi=i(t=>`.label { + font-family: ${t.fontFamily}; + color: ${t.textColor}; } .mouth { stroke: #666; } line { - stroke: ${i.textColor} + stroke: ${t.textColor} } .legend { - fill: ${i.textColor}; + fill: ${t.textColor}; + font-family: ${t.fontFamily}; } .label text { fill: #333; } .label { - color: ${i.textColor} + color: ${t.textColor} } .face { - ${i.faceColor?`fill: ${i.faceColor}`:"fill: #FFF8DC"}; + ${t.faceColor?`fill: ${t.faceColor}`:"fill: #FFF8DC"}; stroke: #999; } @@ -1492,8 +2852,8 @@ Expecting `+Ne.join(", ")+", got '"+(this.terminals_[Pe]||Pe)+"'":pn="Parse erro .node ellipse, .node polygon, .node path { - fill: ${i.mainBkg}; - stroke: ${i.nodeBorder}; + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; stroke-width: 1px; } @@ -1505,21 +2865,21 @@ Expecting `+Ne.join(", ")+", got '"+(this.terminals_[Pe]||Pe)+"'":pn="Parse erro } .arrowheadPath { - fill: ${i.arrowheadColor}; + fill: ${t.arrowheadColor}; } - .edgePath .path { - stroke: ${i.lineColor}; + .edgePaths .path { + stroke: ${t.lineColor}; stroke-width: 1.5px; } .flowchart-link { - stroke: ${i.lineColor}; + stroke: ${t.lineColor}; fill: none; } .edgeLabel { - background-color: ${i.edgeLabelBackground}; + background-color: ${t.edgeLabelBackground}; rect { opacity: 0.5; } @@ -1530,7 +2890,7 @@ Expecting `+Ne.join(", ")+", got '"+(this.terminals_[Pe]||Pe)+"'":pn="Parse erro } .cluster text { - fill: ${i.titleColor}; + fill: ${t.titleColor}; } div.mermaidTooltip { @@ -1538,244 +2898,247 @@ Expecting `+Ne.join(", ")+", got '"+(this.terminals_[Pe]||Pe)+"'":pn="Parse erro text-align: center; max-width: 200px; padding: 2px; - font-family: 'trebuchet ms', verdana, arial, sans-serif; - font-family: var(--mermaid-font-family); + font-family: ${t.fontFamily}; font-size: 12px; - background: ${i.tertiaryColor}; - border: 1px solid ${i.border2}; + background: ${t.tertiaryColor}; + border: 1px solid ${t.border2}; border-radius: 2px; pointer-events: none; z-index: 100; } .task-type-0, .section-type-0 { - ${i.fillType0?`fill: ${i.fillType0}`:""}; + ${t.fillType0?`fill: ${t.fillType0}`:""}; } .task-type-1, .section-type-1 { - ${i.fillType0?`fill: ${i.fillType1}`:""}; + ${t.fillType0?`fill: ${t.fillType1}`:""}; } .task-type-2, .section-type-2 { - ${i.fillType0?`fill: ${i.fillType2}`:""}; + ${t.fillType0?`fill: ${t.fillType2}`:""}; } .task-type-3, .section-type-3 { - ${i.fillType0?`fill: ${i.fillType3}`:""}; + ${t.fillType0?`fill: ${t.fillType3}`:""}; } .task-type-4, .section-type-4 { - ${i.fillType0?`fill: ${i.fillType4}`:""}; + ${t.fillType0?`fill: ${t.fillType4}`:""}; } .task-type-5, .section-type-5 { - ${i.fillType0?`fill: ${i.fillType5}`:""}; + ${t.fillType0?`fill: ${t.fillType5}`:""}; } .task-type-6, .section-type-6 { - ${i.fillType0?`fill: ${i.fillType6}`:""}; + ${t.fillType0?`fill: ${t.fillType6}`:""}; } .task-type-7, .section-type-7 { - ${i.fillType0?`fill: ${i.fillType7}`:""}; + ${t.fillType0?`fill: ${t.fillType7}`:""}; } .actor-0 { - ${i.actor0?`fill: ${i.actor0}`:""}; + ${t.actor0?`fill: ${t.actor0}`:""}; } .actor-1 { - ${i.actor1?`fill: ${i.actor1}`:""}; + ${t.actor1?`fill: ${t.actor1}`:""}; } .actor-2 { - ${i.actor2?`fill: ${i.actor2}`:""}; + ${t.actor2?`fill: ${t.actor2}`:""}; } .actor-3 { - ${i.actor3?`fill: ${i.actor3}`:""}; + ${t.actor3?`fill: ${t.actor3}`:""}; } .actor-4 { - ${i.actor4?`fill: ${i.actor4}`:""}; + ${t.actor4?`fill: ${t.actor4}`:""}; } .actor-5 { - ${i.actor5?`fill: ${i.actor5}`:""}; - } -`,dwe=function(i,a){return qQ(i,a)},Pan=function(i,a){const d=i.append("circle").attr("cx",a.cx).attr("cy",a.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),p=i.append("g");p.append("circle").attr("cx",a.cx-15/3).attr("cy",a.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),p.append("circle").attr("cx",a.cx+15/3).attr("cy",a.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function v(E){const _=hD().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);E.append("path").attr("class","mouth").attr("d",_).attr("transform","translate("+a.cx+","+(a.cy+2)+")")}function b(E){const _=hD().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);E.append("path").attr("class","mouth").attr("d",_).attr("transform","translate("+a.cx+","+(a.cy+7)+")")}function y(E){E.append("line").attr("class","mouth").attr("stroke",2).attr("x1",a.cx-5).attr("y1",a.cy+7).attr("x2",a.cx+5).attr("y2",a.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return a.score>3?v(p):a.score<3?b(p):y(p),d},fWe=function(i,a){const u=i.append("circle");return u.attr("cx",a.cx),u.attr("cy",a.cy),u.attr("class","actor-"+a.pos),u.attr("fill",a.fill),u.attr("stroke",a.stroke),u.attr("r",a.r),u.class!==void 0&&u.attr("class",u.class),a.title!==void 0&&u.append("title").text(a.title),u},dWe=function(i,a){return kVt(i,a)},Ban=function(i,a){function u(p,v,b,y,E){return p+","+v+" "+(p+b)+","+v+" "+(p+b)+","+(v+y-E)+" "+(p+b-E*1.2)+","+(v+y)+" "+p+","+(v+y)}const d=i.append("polygon");d.attr("points",u(a.x,a.y,50,20,7)),d.attr("class","labelBox"),a.y=a.y+a.labelMargin,a.x=a.x+.5*a.labelMargin,dWe(i,a)},Fan=function(i,a,u){const d=i.append("g"),p=HC();p.x=a.x,p.y=a.y,p.fill=a.fill,p.width=u.width*a.taskCount+u.diagramMarginX*(a.taskCount-1),p.height=u.height,p.class="journey-section section-type-"+a.num,p.rx=3,p.ry=3,dwe(d,p),pWe(u)(a.text,d,p.x,p.y,p.width,p.height,{class:"journey-section section-type-"+a.num},u,a.colour)};let gWe=-1;const Ran=function(i,a,u){const d=a.x+u.width/2,p=i.append("g");gWe++;const v=300+5*30;p.append("line").attr("id","task"+gWe).attr("x1",d).attr("y1",a.y).attr("x2",d).attr("y2",v).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Pan(p,{cx:d,cy:300+(5-a.score)*30,score:a.score});const b=HC();b.x=a.x,b.y=a.y,b.fill=a.fill,b.width=u.width,b.height=u.height,b.class="task task-type-"+a.num,b.rx=3,b.ry=3,dwe(p,b);let y=a.x+14;a.people.forEach(E=>{const _=a.actors[E].color,A={cx:y,cy:a.y,r:7,fill:_,stroke:"#000",title:E,pos:a.actors[E].position};fWe(p,A),y+=10}),pWe(u)(a.task,p,b.x,b.y,b.width,b.height,{class:"task"},u,a.colour)},jan=function(i,a){Jqe(i,a)},pWe=function(){function i(p,v,b,y,E,_,A,P){const R=v.append("text").attr("x",b+E/2).attr("y",y+_/2+5).style("font-color",P).style("text-anchor","middle").text(p);d(R,A)}function a(p,v,b,y,E,_,A,P,R){const{taskFontSize:B,taskFontFamily:j}=P,W=p.split(//gi);for(let ee=0;ee{const p=W7[d].color,v={cx:20,cy:u,r:7,fill:p,stroke:"#000",pos:W7[d].position};hj.drawCircle(i,v);const b={x:40,y:u+7,fill:"#666",text:d,textMargin:a.boxTextMargin|5};hj.drawText(i,b),u+=20})}const UJ=qt().journey,sS=UJ.leftMargin,qan=function(i,a,u,d){const p=qt().journey,v=qt().securityLevel;let b;v==="sandbox"&&(b=Dr("#i"+a));const y=Dr(v==="sandbox"?b.nodes()[0].contentDocument.body:"body");Yv.init();const E=y.select("#"+a);hj.initGraphics(E);const _=d.db.getTasks(),A=d.db.getDiagramTitle(),P=d.db.getActors();for(const ie in W7)delete W7[ie];let R=0;P.forEach(ie=>{W7[ie]={color:p.actorColours[R%p.actorColours.length],position:R},R++}),zan(E),Yv.insert(0,0,sS,Object.keys(W7).length*50),Han(E,_,0);const B=Yv.getBounds();A&&E.append("text").text(A).attr("x",sS).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const j=B.stopy-B.starty+2*p.diagramMarginY,W=sS+B.stopx+2*p.diagramMarginX;Fg(E,j,W,p.useMaxWidth),E.append("line").attr("x1",sS).attr("y1",p.height*4).attr("x2",W-sS-4).attr("y2",p.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const ee=A?70:0;E.attr("viewBox",`${B.startx} -25 ${W} ${j+ee}`),E.attr("preserveAspectRatio","xMinYMin meet"),E.attr("height",j+ee+25)},Yv={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(i,a,u,d){i[a]===void 0?i[a]=u:i[a]=d(u,i[a])},updateBounds:function(i,a,u,d){const p=qt().journey,v=this;let b=0;function y(E){return function(A){b++;const P=v.sequenceItems.length-b+1;v.updateVal(A,"starty",a-P*p.boxMargin,Math.min),v.updateVal(A,"stopy",d+P*p.boxMargin,Math.max),v.updateVal(Yv.data,"startx",i-P*p.boxMargin,Math.min),v.updateVal(Yv.data,"stopx",u+P*p.boxMargin,Math.max),E!=="activation"&&(v.updateVal(A,"startx",i-P*p.boxMargin,Math.min),v.updateVal(A,"stopx",u+P*p.boxMargin,Math.max),v.updateVal(Yv.data,"starty",a-P*p.boxMargin,Math.min),v.updateVal(Yv.data,"stopy",d+P*p.boxMargin,Math.max))}}this.sequenceItems.forEach(y())},insert:function(i,a,u,d){const p=Math.min(i,u),v=Math.max(i,u),b=Math.min(a,d),y=Math.max(a,d);this.updateVal(Yv.data,"startx",p,Math.min),this.updateVal(Yv.data,"starty",b,Math.min),this.updateVal(Yv.data,"stopx",v,Math.max),this.updateVal(Yv.data,"stopy",y,Math.max),this.updateBounds(p,b,v,y)},bumpVerticalPos:function(i){this.verticalPos=this.verticalPos+i,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},gwe=UJ.sectionFills,bWe=UJ.sectionColours,Han=function(i,a,u){const d=qt().journey;let p="";const v=d.height*2+d.diagramMarginY,b=u+v;let y=0,E="#CCC",_="black",A=0;for(const[P,R]of a.entries()){if(p!==R.section){E=gwe[y%gwe.length],A=y%gwe.length,_=bWe[y%bWe.length];let j=0;const W=R.section;for(let ie=P;ie(W7[W]&&(j[W]=W7[W]),j),{});R.x=P*d.taskMargin+P*d.width+sS,R.y=b,R.width=d.diagramMarginX,R.height=d.diagramMarginY,R.colour=_,R.fill=E,R.num=A,R.actors=B,hj.drawTask(i,R,d),Yv.insert(R.x,R.y,R.x+R.width+d.taskMargin,300+5*30)}},mWe={setConf:$an,draw:qan},Uan=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:San,db:hWe,renderer:mWe,styles:Nan,init:i=>{mWe.setConf(i.journey),hWe.clear()}}},Symbol.toStringTag,{value:"Module"})),Van=(i,a,u)=>{const{parentById:d}=u,p=new Set;let v=i;for(;v;){if(p.add(v),v===a)return v;v=d[v]}for(v=a;v;){if(p.has(v))return v;v=d[v]}return"root"};function VJ(i){throw new Error('Could not dynamically require "'+i+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var vWe={exports:{}};(function(i,a){(function(u){i.exports=u()})(function(){return function(){function u(d,p,v){function b(_,A){if(!p[_]){if(!d[_]){var P=typeof VJ=="function"&&VJ;if(!A&&P)return P(_,!0);if(y)return y(_,!0);var R=new Error("Cannot find module '"+_+"'");throw R.code="MODULE_NOT_FOUND",R}var B=p[_]={exports:{}};d[_][0].call(B.exports,function(j){var W=d[_][1][j];return b(W||j)},B,B.exports,u,d,p,v)}return p[_].exports}for(var y=typeof VJ=="function"&&VJ,E=0;E0&&arguments[0]!==void 0?arguments[0]:{},R=P.defaultLayoutOptions,B=R===void 0?{}:R,j=P.algorithms,W=j===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:j,ee=P.workerFactory,ie=P.workerUrl;if(b(this,_),this.defaultLayoutOptions=B,this.initialized=!1,typeof ie>"u"&&typeof ee>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var oe=ee;typeof ie<"u"&&typeof ee>"u"&&(oe=function(ae){return new Worker(ae)});var be=oe(ie);if(typeof be.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new E(be),this.worker.postMessage({cmd:"register",algorithms:W}).then(function(ge){return A.initialized=!0}).catch(console.err)}return v(_,[{key:"layout",value:function(P){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=R.layoutOptions,j=B===void 0?this.defaultLayoutOptions:B,W=R.logging,ee=W===void 0?!1:W,ie=R.measureExecutionTime,oe=ie===void 0?!1:ie;return P?this.worker.postMessage({cmd:"layout",graph:P,layoutOptions:j,options:{logging:ee,measureExecutionTime:oe}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),_}();p.default=y;var E=function(){function _(A){var P=this;if(b(this,_),A===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=A,this.worker.onmessage=function(R){setTimeout(function(){P.receive(P,R)},0)}}return v(_,[{key:"postMessage",value:function(P){var R=this.id||0;this.id=R+1,P.id=R;var B=this;return new Promise(function(j,W){B.resolvers[R]=function(ee,ie){ee?(B.convertGwtStyleError(ee),W(ee)):j(ie)},B.worker.postMessage(P)})}},{key:"receive",value:function(P,R){var B=R.data,j=P.resolvers[B.id];j&&(delete P.resolvers[B.id],B.error?j(B.error):j(null,B.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(P){if(P){var R=P.__java$exception;R&&(R.cause&&R.cause.backingJsObject&&(P.cause=R.cause.backingJsObject,this.convertGwtStyleError(P.cause)),delete P.__java$exception)}}}]),_}()},{}],2:[function(u,d,p){(function(v){(function(){var b;typeof window<"u"?b=window:typeof v<"u"?b=v:typeof self<"u"&&(b=self);var y;function E(){}function _(){}function A(){}function P(){}function R(){}function B(){}function j(){}function W(){}function ee(){}function ie(){}function oe(){}function be(){}function ge(){}function ae(){}function ne(){}function se(){}function de(){}function X(){}function pe(){}function G(){}function xe(){}function U(){}function Be(){}function Pe(){}function je(){}function Ie(){}function Se(){}function Ce(){}function ke(){}function Ke(){}function zt(){}function Ne(){}function pn(){}function Tt(){}function Et(){}function Wt(){}function un(){}function yt(){}function Bt(){}function Ze(){}function Dt(){}function kt(){}function Nn(){}function ht(){}function qr(){}function xt(){}function Ri(){}function wi(){}function ia(){}function Hs(){}function mo(){}function Tr(){}function On(){}function Rn(){}function zn(){}function Ct(){}function gt(){}function on(){}function dn(){}function Ln(){}function Io(){}function Oo(){}function No(){}function Us(){}function uo(){}function Es(){}function Ou(){}function _c(){}function Kd(){}function qp(){}function Ul(){}function Ac(){}function Jc(){}function Ya(){}function Ba(){}function ha(){}function $o(){}function Lc(){}function Fa(){}function Ra(){}function ma(){}function Kh(){}function Po(){}function Hp(){}function Ug(){}function ad(){}function od(){}function w1(){}function kh(){}function Wd(){}function Yd(){}function Xd(){}function Zf(){}function Up(){}function u5(){}function bs(){}function Vt(){}function jr(){}function Ji(){}function Qo(){}function Hi(){}function Ui(){}function zs(){}function gi(){}function Bo(){}function Ot(){}function zu(){}function Gt(){}function Wh(){}function Vp(){}function J3(){}function q9(){}function l5(){}function Th(){}function Vg(){}function Em(){}function H9(){}function Cm(){}function h5(){}function y1(){}function cd(){}function ud(){}function U9(){}function Qv(){}function X7(){}function tb(){}function Q7(){}function f5(){}function Z3(){}function Gp(){}function lI(){}function sh(){}function cS(){}function lu(){}function eZ(){}function Sm(){}function tZ(){}function pj(){}function nZ(){}function bj(){}function z0(){}function ey(){}function uS(){}function mj(){}function nb(){}function ty(){}function rZ(){}function _m(){}function iZ(){}function sZ(){}function J7(){}function lS(){}function vj(){}function V9(){}function aZ(){}function G9(){}function oZ(){}function cZ(){}function uZ(){}function lZ(){}function hZ(){}function fZ(){}function dZ(){}function gZ(){}function pZ(){}function bZ(){}function mZ(){}function hI(){}function vZ(){}function wZ(){}function hS(){}function wj(){}function Z7(){}function yZ(){}function xZ(){}function kZ(){}function TZ(){}function EZ(){}function fS(){}function fI(){}function yj(){}function d5(){}function g5(){}function CZ(){}function e0(){}function e8(){}function SZ(){}function K9(){}function Qd(){}function _Z(){}function AZ(){}function LZ(){}function xj(){}function MZ(){}function dS(){}function gS(){}function kj(){}function dI(){}function t8(){}function DZ(){}function Tj(){}function Ej(){}function IZ(){}function OZ(){}function NZ(){}function PZ(){}function BZ(){}function FZ(){}function Jd(){}function Jv(){}function RZ(){}function pS(){}function bS(){}function jZ(){}function p5(){}function W9(){}function gI(){}function ny(){}function Y9(){}function $Z(){}function mS(){}function ld(){}function Cj(){}function pI(){}function X9(){}function bI(){}function Sj(){}function zZ(){}function mI(){}function qZ(){}function HZ(){}function _j(){}function n8(){}function Aj(){}function r8(){}function UZ(){}function vI(){}function VZ(){}function GZ(){}function KZ(){}function WZ(){}function Lj(){}function YZ(){}function XZ(){}function Mj(){}function QZ(){}function JZ(){}function ZZ(){}function eee(){}function Dj(){}function tee(){}function nee(){}function Ij(){}function Oj(){}function Nj(){}function ree(){}function iee(){}function Q9(){}function i8(){}function vS(){}function see(){}function wI(){}function wS(){}function yI(){}function Pj(){}function Bj(){}function aee(){}function oee(){}function cee(){}function Fj(){}function Rj(){}function uee(){}function lee(){}function hee(){}function fee(){}function dee(){}function jj(){}function gee(){}function pee(){}function bee(){}function mee(){}function $j(){}function yS(){}function vee(){}function wee(){}function zj(){}function yee(){}function xee(){}function kee(){}function Tee(){}function Eee(){}function Cee(){}function qj(){}function See(){}function Hj(){}function _ee(){}function Aee(){}function Lee(){}function xS(){}function Mee(){}function kS(){}function Dee(){}function Uj(){}function Vj(){}function Gj(){}function Kj(){}function Zv(){}function Wj(){}function Yj(){}function Xj(){}function Qj(){}function Iee(){}function s8(){}function xI(){}function b5(){}function Oee(){}function Nee(){}function TS(){}function Jj(){}function Pee(){}function Bee(){}function Fee(){}function Ree(){}function jee(){}function $ee(){}function zee(){}function qee(){}function Hee(){}function Uee(){}function ES(){}function Zj(){}function Vee(){}function Gee(){}function Kee(){}function Wee(){}function Yee(){}function e$(){}function t$(){}function Xee(){}function n$(){}function r$(){}function Qee(){}function Jee(){}function Zee(){}function ete(){}function tte(){}function nte(){}function rte(){}function ite(){}function kI(){}function ste(){}function J9(){}function i$(){}function ate(){}function ote(){}function cte(){}function ute(){}function lte(){}function hte(){}function fte(){}function dte(){}function gte(){}function pte(){}function bte(){}function mte(){}function vte(){}function wte(){}function yte(){}function a8(){}function s$(){}function xte(){}function kte(){}function Tte(){}function a$(){}function Ete(){}function CS(){}function Cte(){}function Ste(){}function _te(){}function Ate(){}function Lte(){}function Mte(){}function Dte(){}function Ite(){}function Ote(){}function Nte(){}function o8(){}function Pte(){}function Bte(){}function Fte(){}function Rte(){}function jte(){}function $te(){}function zte(){}function qte(){}function SS(){}function Hte(){}function Ute(){}function Vte(){}function Gte(){}function Kte(){}function Wte(){}function Yte(){}function Xte(){}function c8(){}function o$(){}function Qte(){}function TI(){}function Jte(){}function Zte(){}function ene(){}function tne(){}function nne(){}function rne(){}function ine(){}function c$(){}function sne(){}function u$(){}function ane(){}function l$(){}function h$(){}function f$(){}function one(){}function cne(){}function d$(){}function une(){}function g$(){}function lne(){}function hne(){}function EI(){}function fne(){}function dne(){}function gne(){}function pne(){}function bne(){}function p$(){}function mne(){}function vne(){}function wne(){}function Owe(){}function yne(){}function xne(){}function kne(){}function Tne(){}function Ene(){}function Cne(){}function Sne(){}function _ne(){}function Ane(){}function Lne(){}function Mne(){}function Dne(){}function Ine(){}function One(){}function Nne(){}function Pne(){}function hu(){}function Bne(){}function _S(){}function $c(){}function Nu(){}function hs(){}function CI(){}function Fne(){}function Rne(){}function jne(){}function u8(){}function Am(){}function Z9(){}function $ne(){}function SI(){}function zne(){}function qne(){}function Hne(){}function b$(){}function Une(){}function Vne(){}function _I(){}function Gne(){}function ah(){}function dl(){}function m$(){}function Kne(){}function Wne(){}function ry(){}function m5(){}function iy(){}function Kp(){}function l8(){}function AI(){}function v$(){}function w$(){}function Yne(){}function x1(){}function y$(){}function sy(){}function ek(){}function LI(){}function h8(){}function rb(){}function x$(){}function k$(){}function T$(){}function Xne(){}function f8(){}function ay(){}function Wp(){}function ib(){}function v5(){}function tk(){}function AS(){}function MI(){}function Qne(){}function Jne(){}function E$(){}function C$(){}function Kt(){}function nk(){}function S$(){}function _$(){}function Zne(){}function rk(){}function ik(){}function A$(){}function ere(){}function tre(){}function nre(){}function rre(){}function ire(){}function sre(){}function DI(){}function are(){}function ore(){}function L$(){}function LS(){}function cre(){}function II(){}function sk(){}function ak(){}function ok(){}function M$(){}function ure(){}function D$(){}function I$(){}function lre(){}function MS(){}function sb(){}function O$(){}function N$(){}function DS(){}function hre(){}function w5(){}function P$(){}function OI(){}function Zc(){}function NI(){}function PI(){}function IS(){}function fre(){}function dre(){}function OS(){}function gre(){}function NS(){}function PS(){}function q0(){}function BI(){}function FI(){}function d8(){}function pre(){}function bre(){}function mre(){}function vre(){}function Zd(){}function BS(){}function g8(){}function k1(){}function B$(){}function F$(){}function R$(){}function j$(){}function $$(){}function z$(){}function H0(){}function tl(){}function wre(){}function yre(){}function xre(){}function nl(){}function FS(){}function q$(){}function H$(){}function p8(){}function kre(){}function ck(){}function Tre(){}function U$(){}function Ere(){}function Cre(){}function RS(){}function V$(){}function RI(){}function jS(){}function Sre(){}function _re(){}function jI(){}function $S(){}function T1(){}function uk(){}function Are(){}function lk(){}function $I(){}function Lm(){}function zS(){}function zI(){}function U0(){}function qS(){}function E1(){}function C1(){}function Lre(){}function Mre(){}function y5(){}function hk(){}function fk(){}function HS(){}function Dre(){}function Ire(){}function b8(){}function G$(){}function K$(){}function Ore(){}function W$(){}function Nre(){}function Y$(){}function qI(){}function Pre(){}function US(){}function Bre(){}function Fre(){}function Rre(){}function jre(){}function $re(){}function X$(){}function zre(){}function qre(){}function Hre(){}function Q$(){}function Ure(){}function Vre(){}function VS(){}function Gre(){}function Kre(){}function Wre(){}function Yre(){}function Xre(){}function Qre(){}function J$(){}function Jre(){}function Z$(){}function Zre(){}function HI(){}function eie(){}function ez(){}function tie(){}function tz(){}function nie(){}function nz(){}function rz(){}function iz(){}function UI(){}function x5(){}function GS(){}function S1(){}function sz(){}function dk(){}function VI(){}function az(){}function Mm(){}function oz(){}function KS(){c_()}function rie(){fO()}function cz(){xV()}function uz(){Hce()}function lz(){OA()}function WS(){g9e()}function YS(){p0()}function hz(){Exe()}function fz(){JN()}function m8(){dO()}function ew(){zO()}function gk(){zet()}function dz(){hx()}function iie(){plt()}function gz(){T7e()}function v8(){rct()}function GI(){E7e()}function pz(){Glt()}function sie(){nct()}function bz(){ST()}function XS(){Lft()}function QS(){Aft()}function KI(){Jct()}function aie(){Mft()}function oie(){Nb()}function cie(){cq()}function uie(){dTe()}function lie(){Nt()}function hie(){Dft()}function fie(){i0t()}function die(){ict()}function gie(){Lgt()}function pie(){sct()}function bie(){Hmt()}function mie(){V9e()}function vie(){sp()}function wie(){U1t()}function w8(){Vc()}function yie(){gct()}function pk(){lx()}function Cf(){_ke()}function xie(){Pb()}function bk(){Ake()}function JS(){z1()}function kie(){rP()}function Tie(){ple()}function Eie(){Eue()}function Sf(){Uit()}function Cie(){oU()}function Sie(){_V()}function mz(){bi()}function _ie(){HU()}function vz(){exe()}function wz(){Ece()}function yz(){YV()}function xz(){jke()}function t0(e){tr(e)}function kz(e){this.a=e}function ZS(e){this.a=e}function Tz(e){this.a=e}function Ez(e){this.a=e}function Aie(e){this.a=e}function Lie(e){this.a=e}function Cz(e){this.a=e}function Mie(e){this.a=e}function Sz(e){this.a=e}function ab(e){this.a=e}function Die(e){this.a=e}function Iie(e){this.a=e}function WI(e){this.a=e}function Oie(e){this.a=e}function Nie(e){this.a=e}function mk(e){this.a=e}function ob(e){this.a=e}function _z(e){this.a=e}function vk(e){this.a=e}function k5(e){this.a=e}function YI(e){this.a=e}function y8(e){this.a=e}function XI(e){this.b=e}function Gg(e){this.c=e}function Pie(e){this.a=e}function oy(e){this.a=e}function Az(e){this.a=e}function Lz(e){this.a=e}function QI(e){this.a=e}function JI(e){this.a=e}function Mz(e){this.a=e}function x8(e){this.a=e}function wk(e){this.a=e}function Bie(e){this.a=e}function Dz(e){this.a=e}function Iz(e){this.a=e}function Oz(e){this.a=e}function Nz(e){this.a=e}function zc(e){this.a=e}function yk(e){this.a=e}function xk(e){this.a=e}function Yp(){this.a=[]}function Fie(e,t){e.a=t}function Rie(e,t){e.a=t}function jie(e,t){e.b=t}function $ie(e,t){e.b=t}function zie(e,t){e.b=t}function Pz(e,t){e.j=t}function Nwe(e,t){e.g=t}function Bz(e,t){e.i=t}function qie(e,t){e.c=t}function k8(e,t){e.c=t}function Pwe(e,t){e.d=t}function T8(e,t){e.d=t}function x(e,t){e.k=t}function m(e,t){e.c=t}function k(e,t){e.c=t}function S(e,t){e.a=t}function M(e,t){e.a=t}function O(e,t){e.f=t}function N(e,t){e.a=t}function $(e,t){e.b=t}function H(e,t){e.d=t}function q(e,t){e.i=t}function Y(e,t){e.o=t}function Z(e,t){e.r=t}function ce(e,t){e.a=t}function ve(e,t){e.b=t}function me(e,t){e.e=t}function Le(e,t){e.f=t}function _e(e,t){e.g=t}function Te(e,t){e.e=t}function Fe(e,t){e.f=t}function Re(e,t){e.f=t}function Ve(e,t){e.a=t}function ct(e,t){e.b=t}function st(e,t){e.n=t}function Ye(e,t){e.a=t}function vt(e,t){e.c=t}function Qe(e,t){e.c=t}function Lt(e,t){e.c=t}function Mt(e,t){e.a=t}function ut(e,t){e.a=t}function Yt(e,t){e.d=t}function St(e,t){e.d=t}function _n(e,t){e.e=t}function fn(e,t){e.e=t}function Xt(e,t){e.g=t}function Dn(e,t){e.f=t}function rr(e,t){e.j=t}function mr(e,t){e.a=t}function Pn(e,t){e.a=t}function gr(e,t){e.b=t}function kr(e){e.b=e.a}function Lr(e){e.c=e.d.d}function Er(e){this.a=e}function Ir(e){this.a=e}function Kn(e){this.a=e}function pr(e){this.a=e}function Cr(e){this.a=e}function Or(e){this.a=e}function _i(e){this.a=e}function xs(e){this.a=e}function va(e){this.a=e}function Di(e){this.a=e}function pi(e){this.a=e}function fs(e){this.a=e}function Fs(e){this.a=e}function ks(e){this.a=e}function Rs(e){this.b=e}function vo(e){this.b=e}function ja(e){this.b=e}function Ma(e){this.a=e}function Fo(e){this.a=e}function er(e){this.c=e}function K(e){this.c=e}function Qn(e){this.c=e}function xr(e){this.d=e}function ur(e){this.a=e}function Ut(e){this.a=e}function Vs(e){this.a=e}function vr(e){this.a=e}function Cs(e){this.a=e}function lo(e){this.a=e}function qc(e){this.a=e}function $a(e){this.a=e}function Mc(e){this.a=e}function wa(e){this.a=e}function wo(e){this.a=e}function oh(e){this.a=e}function Vl(e){this.a=e}function cb(e){this.a=e}function ub(e){this.a=e}function V0(e){this.a=e}function Xp(e){this.a=e}function hd(e){this.a=e}function tw(e){this.a=e}function cy(e){this.a=e}function E8(e){this.a=e}function T5(e){this.a=e}function C8(e){this.a=e}function e_(e){this.a=e}function E5(e){this.a=e}function eg(e){this.a=e}function _1(e){this.a=e}function tg(e){this.a=e}function nw(e){this.a=e}function Dm(e){this.a=e}function Fz(e){this.a=e}function Hie(e){this.a=e}function Uie(e){this.a=e}function t_(e){this.a=e}function Vie(e){this.a=e}function Gie(e){this.a=e}function C5(e){this.a=e}function Rz(e){this.a=e}function kk(e){this.a=e}function ZI(e){this.a=e}function n_(e){this.a=e}function jz(e){this.a=e}function $z(e){this.a=e}function Kie(e){this.a=e}function Qp(e){this.a=e}function r_(e){this.a=e}function eO(e){this.a=e}function Im(e){this.a=e}function ng(e){this.e=e}function S5(e){this.a=e}function gYe(e){this.a=e}function S8(e){this.a=e}function Bwe(e){this.a=e}function pYe(e){this.a=e}function bYe(e){this.a=e}function mYe(e){this.a=e}function vYe(e){this.a=e}function wYe(e){this.a=e}function yYe(e){this.a=e}function xYe(e){this.a=e}function kYe(e){this.a=e}function TYe(e){this.a=e}function EYe(e){this.a=e}function CYe(e){this.a=e}function Fwe(e){this.a=e}function SYe(e){this.a=e}function _Ye(e){this.a=e}function AYe(e){this.a=e}function LYe(e){this.a=e}function MYe(e){this.a=e}function DYe(e){this.a=e}function IYe(e){this.a=e}function OYe(e){this.a=e}function NYe(e){this.a=e}function PYe(e){this.a=e}function BYe(e){this.a=e}function FYe(e){this.a=e}function RYe(e){this.a=e}function jYe(e){this.a=e}function $Ye(e){this.a=e}function zYe(e){this.a=e}function qYe(e){this.a=e}function HYe(e){this.a=e}function UYe(e){this.a=e}function VYe(e){this.a=e}function GYe(e){this.a=e}function KYe(e){this.a=e}function WYe(e){this.a=e}function YYe(e){this.a=e}function XYe(e){this.a=e}function QYe(e){this.a=e}function JYe(e){this.a=e}function ZYe(e){this.a=e}function eXe(e){this.a=e}function tXe(e){this.a=e}function nXe(e){this.a=e}function rXe(e){this.a=e}function iXe(e){this.a=e}function sXe(e){this.a=e}function aXe(e){this.a=e}function oXe(e){this.a=e}function cXe(e){this.a=e}function uXe(e){this.a=e}function lXe(e){this.c=e}function hXe(e){this.b=e}function fXe(e){this.a=e}function dXe(e){this.a=e}function gXe(e){this.a=e}function pXe(e){this.a=e}function bXe(e){this.a=e}function mXe(e){this.a=e}function vXe(e){this.a=e}function wXe(e){this.a=e}function yXe(e){this.a=e}function xXe(e){this.a=e}function kXe(e){this.a=e}function TXe(e){this.a=e}function EXe(e){this.a=e}function CXe(e){this.a=e}function SXe(e){this.a=e}function _Xe(e){this.a=e}function AXe(e){this.a=e}function LXe(e){this.a=e}function MXe(e){this.a=e}function DXe(e){this.a=e}function IXe(e){this.a=e}function OXe(e){this.a=e}function NXe(e){this.a=e}function PXe(e){this.a=e}function BXe(e){this.a=e}function FXe(e){this.a=e}function RXe(e){this.a=e}function Kg(e){this.a=e}function _5(e){this.a=e}function jXe(e){this.a=e}function $Xe(e){this.a=e}function zXe(e){this.a=e}function qXe(e){this.a=e}function HXe(e){this.a=e}function UXe(e){this.a=e}function VXe(e){this.a=e}function GXe(e){this.a=e}function KXe(e){this.a=e}function WXe(e){this.a=e}function YXe(e){this.a=e}function XXe(e){this.a=e}function QXe(e){this.a=e}function JXe(e){this.a=e}function ZXe(e){this.a=e}function eQe(e){this.a=e}function tQe(e){this.a=e}function nQe(e){this.a=e}function rQe(e){this.a=e}function iQe(e){this.a=e}function sQe(e){this.a=e}function aQe(e){this.a=e}function oQe(e){this.a=e}function cQe(e){this.a=e}function uQe(e){this.a=e}function lQe(e){this.a=e}function zz(e){this.a=e}function hQe(e){this.f=e}function fQe(e){this.a=e}function dQe(e){this.a=e}function gQe(e){this.a=e}function pQe(e){this.a=e}function bQe(e){this.a=e}function mQe(e){this.a=e}function vQe(e){this.a=e}function wQe(e){this.a=e}function yQe(e){this.a=e}function xQe(e){this.a=e}function kQe(e){this.a=e}function TQe(e){this.a=e}function EQe(e){this.a=e}function CQe(e){this.a=e}function SQe(e){this.a=e}function _Qe(e){this.a=e}function AQe(e){this.a=e}function LQe(e){this.a=e}function MQe(e){this.a=e}function DQe(e){this.a=e}function IQe(e){this.a=e}function OQe(e){this.a=e}function NQe(e){this.a=e}function PQe(e){this.a=e}function BQe(e){this.a=e}function FQe(e){this.a=e}function RQe(e){this.a=e}function jQe(e){this.a=e}function Wie(e){this.a=e}function Rwe(e){this.a=e}function Ki(e){this.b=e}function $Qe(e){this.a=e}function zQe(e){this.a=e}function qQe(e){this.a=e}function HQe(e){this.a=e}function UQe(e){this.a=e}function VQe(e){this.a=e}function GQe(e){this.a=e}function KQe(e){this.b=e}function WQe(e){this.a=e}function tO(e){this.a=e}function YQe(e){this.a=e}function XQe(e){this.a=e}function jwe(e){this.c=e}function qz(e){this.e=e}function Hz(e){this.a=e}function Uz(e){this.a=e}function Yie(e){this.a=e}function QQe(e){this.d=e}function JQe(e){this.a=e}function $we(e){this.a=e}function zwe(e){this.a=e}function rw(e){this.e=e}function Jcn(){this.a=0}function Nr(){Dl(this)}function mt(){uae(this)}function Xie(){Fat(this)}function ZQe(){}function iw(){this.c=KPe}function eJe(e,t){e.b+=t}function Zcn(e,t){t.Wb(e)}function eun(e){return e.a}function tun(e){return e.a}function nun(e){return e.a}function run(e){return e.a}function iun(e){return e.a}function ue(e){return e.e}function sun(){return null}function aun(){return null}function oun(){S3e(),$In()}function cun(e){e.b.Of(e.e)}function tJe(e){e.b=new bse}function i_(e,t){e.b=t-e.b}function s_(e,t){e.a=t-e.a}function qn(e,t){e.push(t)}function nJe(e,t){e.sort(t)}function rJe(e,t){t.jd(e.a)}function uun(e,t){ga(t,e)}function lun(e,t,n){e.Yd(n,t)}function nO(e,t){e.e=t,t.b=e}function qwe(e){vd(),this.a=e}function iJe(e){vd(),this.a=e}function sJe(e){vd(),this.a=e}function Qie(e){Sw(),this.a=e}function aJe(e){Jk(),$0e.le(e)}function Hwe(){Hwe=U,new Nr}function Om(){_rt.call(this)}function Uwe(){_rt.call(this)}function Vwe(){Om.call(this)}function Jie(){Om.call(this)}function oJe(){Om.call(this)}function rO(){Om.call(this)}function gl(){Om.call(this)}function _8(){Om.call(this)}function Qr(){Om.call(this)}function Yh(){Om.call(this)}function cJe(){Om.call(this)}function Dc(){Om.call(this)}function uJe(){Om.call(this)}function lJe(){this.a=this}function Vz(){this.Bb|=256}function hJe(){this.b=new ynt}function uy(e,t){e.length=t}function Gz(e,t){wt(e.a,t)}function hun(e,t){b9e(e.c,t)}function fun(e,t){sa(e.b,t)}function dun(e,t){pV(e.a,t)}function gun(e,t){Qce(e.a,t)}function Tk(e,t){Bi(e.e,t)}function A8(e){DV(e.c,e.b)}function pun(e,t){e.kc().Nb(t)}function Gwe(e){this.a=o5n(e)}function Ys(){this.a=new Nr}function fJe(){this.a=new Nr}function Kwe(){this.a=new Oet}function Kz(){this.a=new mt}function Zie(){this.a=new mt}function Wwe(){this.a=new mt}function _f(){this.a=new qp}function Nm(){this.a=new ult}function Ywe(){this.a=new Em}function Xwe(){this.a=new tct}function Qwe(){this.a=new dit}function dJe(){this.a=new mt}function gJe(){this.a=new mt}function pJe(){this.a=new mt}function Jwe(){this.a=new mt}function bJe(){this.d=new mt}function mJe(){this.a=new xct}function vJe(){this.a=new Ys}function wJe(){this.a=new Nr}function yJe(){this.b=new Nr}function xJe(){this.b=new mt}function Zwe(){this.e=new mt}function kJe(){this.a=new oie}function TJe(){this.d=new mt}function EJe(){Sot.call(this)}function CJe(){Sot.call(this)}function SJe(){mt.call(this)}function e3e(){Vwe.call(this)}function t3e(){Kz.call(this)}function _Je(){Jq.call(this)}function AJe(){Jwe.call(this)}function a_(){ZQe.call(this)}function ese(){a_.call(this)}function L8(){ZQe.call(this)}function n3e(){L8.call(this)}function LJe(){a3e.call(this)}function MJe(){a3e.call(this)}function DJe(){a3e.call(this)}function IJe(){o3e.call(this)}function o_(){cre.call(this)}function r3e(){cre.call(this)}function pl(){os.call(this)}function OJe(){WJe.call(this)}function NJe(){WJe.call(this)}function PJe(){Nr.call(this)}function BJe(){Nr.call(this)}function FJe(){Nr.call(this)}function tse(){Nft.call(this)}function RJe(){Ys.call(this)}function jJe(){Vz.call(this)}function nse(){$ye.call(this)}function i3e(){Nr.call(this)}function rse(){$ye.call(this)}function ise(){Nr.call(this)}function $Je(){Nr.call(this)}function s3e(){w5.call(this)}function zJe(){s3e.call(this)}function qJe(){w5.call(this)}function HJe(){az.call(this)}function a3e(){this.a=new Ys}function UJe(){this.a=new Nr}function VJe(){this.a=new mt}function o3e(){this.a=new Nr}function M8(){this.a=new os}function GJe(){this.j=new mt}function KJe(){this.a=new VZe}function WJe(){this.a=new hre}function c3e(){this.a=new hs}function c_(){c_=U,I0e=new _}function sse(){sse=U,O0e=new XJe}function ase(){ase=U,N0e=new YJe}function YJe(){mk.call(this,"")}function XJe(){mk.call(this,"")}function QJe(e){rft.call(this,e)}function JJe(e){rft.call(this,e)}function u3e(e){Sz.call(this,e)}function l3e(e){xet.call(this,e)}function bun(e){xet.call(this,e)}function mun(e){l3e.call(this,e)}function vun(e){l3e.call(this,e)}function wun(e){l3e.call(this,e)}function ZJe(e){Roe.call(this,e)}function eZe(e){Roe.call(this,e)}function tZe(e){Pit.call(this,e)}function nZe(e){O3e.call(this,e)}function u_(e){iq.call(this,e)}function h3e(e){iq.call(this,e)}function rZe(e){iq.call(this,e)}function f3e(e){z9n.call(this,e)}function d3e(e){f3e.call(this,e)}function Ic(e){nat.call(this,e)}function iZe(e){Ic.call(this,e)}function D8(){xk.call(this,{})}function sZe(){sZe=U,q6t=new G}function Wz(){Wz=U,F0e=new rrt}function aZe(){aZe=U,u_e=new E}function g3e(){g3e=U,l_e=new ae}function Yz(){Yz=U,PL=new de}function ose(e){Pk(),this.a=e}function cse(e){z7e(),this.a=e}function sw(e){Gae(),this.f=e}function use(e){Gae(),this.f=e}function oZe(e){Hit(),this.a=e}function cZe(e){e.b=null,e.c=0}function yun(e,t){e.e=t,Hbt(e,t)}function xun(e,t){e.a=t,Akn(e)}function lse(e,t,n){e.a[t.g]=n}function kun(e,t,n){H8n(n,e,t)}function Tun(e,t){v0n(t.i,e.n)}function uZe(e,t){qyn(e).Cd(t)}function Eun(e,t){e.a.ec().Mc(t)}function lZe(e,t){return e.g-t.g}function Cun(e,t){return e*e/t}function Ft(e){return tr(e),e}function ze(e){return tr(e),e}function iO(e){return tr(e),e}function Sun(e){return new yk(e)}function _un(e){return new Ty(e)}function p3e(e){return tr(e),e}function Aun(e){return tr(e),e}function Xz(e){Ic.call(this,e)}function rc(e){Ic.call(this,e)}function hZe(e){Ic.call(this,e)}function hse(e){nat.call(this,e)}function Ek(e){Ic.call(this,e)}function Wn(e){Ic.call(this,e)}function ic(e){Ic.call(this,e)}function fZe(e){Ic.call(this,e)}function I8(e){Ic.call(this,e)}function Jp(e){Ic.call(this,e)}function Zp(e){Ic.call(this,e)}function O8(e){Ic.call(this,e)}function fd(e){Ic.call(this,e)}function fse(e){Ic.call(this,e)}function ri(e){Ic.call(this,e)}function Ll(e){tr(e),this.a=e}function b3e(e){return Zm(e),e}function l_(e){A5e(e,e.length)}function h_(e){return e.b==e.c}function ly(e){return!!e&&e.b}function Lun(e){return!!e&&e.k}function Mun(e){return!!e&&e.j}function Dun(e,t,n){e.c.Ef(t,n)}function dZe(e,t){e.be(t),t.ae(e)}function N8(e){vd(),this.a=Xr(e)}function dse(){this.a=Zr(Xr(To))}function gZe(){throw ue(new Qr)}function Iun(){throw ue(new Qr)}function m3e(){throw ue(new Qr)}function pZe(){throw ue(new Qr)}function Oun(){throw ue(new Qr)}function Nun(){throw ue(new Qr)}function Qz(){Qz=U,Jk()}function e2(){Or.call(this,"")}function f_(){Or.call(this,"")}function lb(){Or.call(this,"")}function A5(){Or.call(this,"")}function v3e(e){rc.call(this,e)}function w3e(e){rc.call(this,e)}function dd(e){Wn.call(this,e)}function Ck(e){ja.call(this,e)}function bZe(e){Ck.call(this,e)}function gse(e){Kq.call(this,e)}function pse(e){Jye.call(this,e,0)}function bse(){l6e.call(this,12,3)}function le(e,t){return Yot(e,t)}function Jz(e,t){return Zoe(e,t)}function Pun(e,t){return e.a-t.a}function Bun(e,t){return e.a-t.a}function Fun(e,t){return e.a-t.a}function Run(e,t){return t in e.a}function mZe(e){return e.a?e.b:0}function jun(e){return e.a?e.b:0}function $un(e,t,n){t.Cd(e.a[n])}function zun(e,t,n){t.Pe(e.a[n])}function qun(e,t){e.b=new xo(t)}function Hun(e,t){return e.b=t,e}function vZe(e,t){return e.c=t,e}function wZe(e,t){return e.f=t,e}function Uun(e,t){return e.g=t,e}function y3e(e,t){return e.a=t,e}function x3e(e,t){return e.f=t,e}function Vun(e,t){return e.k=t,e}function k3e(e,t){return e.a=t,e}function Gun(e,t){return e.e=t,e}function T3e(e,t){return e.e=t,e}function Kun(e,t){return e.f=t,e}function Wun(e,t){e.b=!0,e.d=t}function Yun(e,t){return e.b-t.b}function Xun(e,t){return e.g-t.g}function Qun(e,t){return e?0:t-1}function yZe(e,t){return e?0:t-1}function Jun(e,t){return e?t-1:0}function Zun(e,t){return e.s-t.s}function eln(e,t){return t.rg(e)}function aw(e,t){return e.b=t,e}function Zz(e,t){return e.a=t,e}function ow(e,t){return e.c=t,e}function cw(e,t){return e.d=t,e}function uw(e,t){return e.e=t,e}function E3e(e,t){return e.f=t,e}function d_(e,t){return e.a=t,e}function Sk(e,t){return e.b=t,e}function _k(e,t){return e.c=t,e}function Jt(e,t){return e.c=t,e}function yn(e,t){return e.b=t,e}function Zt(e,t){return e.d=t,e}function en(e,t){return e.e=t,e}function tln(e,t){return e.f=t,e}function tn(e,t){return e.g=t,e}function nn(e,t){return e.a=t,e}function rn(e,t){return e.i=t,e}function sn(e,t){return e.j=t,e}function nln(e,t){Nb(),Nc(t,e)}function rln(e,t,n){wgn(e.a,t,n)}function eq(e){_ae.call(this,e)}function xZe(e){k5n.call(this,e)}function kZe(e){rot.call(this,e)}function C3e(e){rot.call(this,e)}function hb(e){Bw.call(this,e)}function TZe(e){boe.call(this,e)}function EZe(e){boe.call(this,e)}function CZe(){Nye.call(this,"")}function za(){this.a=0,this.b=0}function SZe(){this.b=0,this.a=0}function _Ze(e,t){e.b=0,Oy(e,t)}function AZe(e,t){return e.k=t,e}function iln(e,t){return e.j=t,e}function sln(e,t){e.c=t,e.b=!0}function LZe(){LZe=U,t7t=bxn()}function fb(){fb=U,W_t=_8n()}function MZe(){MZe=U,La=jxn()}function S3e(){S3e=U,am=dT()}function Ak(){Ak=U,GPe=A8n()}function DZe(){DZe=U,IAt=L8n()}function _3e(){_3e=U,ru=Ckn()}function G0(e){return e.e&&e.e()}function IZe(e){return e.l|e.m<<22}function OZe(e,t){return e.c._b(t)}function NZe(e,t){return O1t(e.b,t)}function mse(e){return e?e.d:null}function aln(e){return e?e.g:null}function oln(e){return e?e.i:null}function Pm(e){return Xg(e),e.o}function L5(e,t){return e.a+=t,e}function vse(e,t){return e.a+=t,e}function t2(e,t){return e.a+=t,e}function lw(e,t){return e.a+=t,e}function A3e(e,t){for(;e.Bd(t););}function tq(e){this.a=new P8(e)}function PZe(){throw ue(new Qr)}function BZe(){throw ue(new Qr)}function FZe(){throw ue(new Qr)}function RZe(){throw ue(new Qr)}function jZe(){throw ue(new Qr)}function $Ze(){throw ue(new Qr)}function n2(e){this.a=new Yae(e)}function zZe(){this.a=new GA(zIe)}function qZe(){this.b=new GA(aIe)}function HZe(){this.a=new GA(hOe)}function UZe(){this.b=new GA(Lge)}function VZe(){this.b=new GA(Lge)}function nq(e){this.a=0,this.b=e}function L3e(e){xwt(),ZIn(this,e)}function Lk(e){return xb(e),e.a}function sO(e){return e.b!=e.d.c}function M3e(e,t){return e.d[t.p]}function GZe(e,t){return bSn(e,t)}function D3e(e,t,n){e.splice(t,n)}function M5(e,t){for(;e.Re(t););}function KZe(e){e.c?omt(e):cmt(e)}function WZe(){throw ue(new Qr)}function YZe(){throw ue(new Qr)}function XZe(){throw ue(new Qr)}function QZe(){throw ue(new Qr)}function JZe(){throw ue(new Qr)}function ZZe(){throw ue(new Qr)}function eet(){throw ue(new Qr)}function tet(){throw ue(new Qr)}function net(){throw ue(new Qr)}function ret(){throw ue(new Qr)}function cln(){throw ue(new Dc)}function uln(){throw ue(new Dc)}function aO(e){this.a=new iet(e)}function iet(e){d3n(this,e,V9n())}function oO(e){return!e||Bat(e)}function cO(e){return nd[e]!=-1}function lln(){gK!=0&&(gK=0),pK=-1}function set(){D0e==null&&(D0e=[])}function uO(e,t){U5.call(this,e,t)}function Mk(e,t){uO.call(this,e,t)}function aet(e,t){this.a=e,this.b=t}function oet(e,t){this.a=e,this.b=t}function cet(e,t){this.a=e,this.b=t}function uet(e,t){this.a=e,this.b=t}function het(e,t){this.a=e,this.b=t}function fet(e,t){this.a=e,this.b=t}function det(e,t){this.a=e,this.b=t}function Dk(e,t){this.e=e,this.d=t}function I3e(e,t){this.b=e,this.c=t}function get(e,t){this.b=e,this.a=t}function pet(e,t){this.b=e,this.a=t}function bet(e,t){this.b=e,this.a=t}function met(e,t){this.b=e,this.a=t}function vet(e,t){this.a=e,this.b=t}function wse(e,t){this.a=e,this.b=t}function wet(e,t){this.a=e,this.f=t}function hw(e,t){this.g=e,this.i=t}function Vr(e,t){this.f=e,this.g=t}function yet(e,t){this.b=e,this.c=t}function xet(e){qye(e.dc()),this.c=e}function hln(e,t){this.a=e,this.b=t}function ket(e,t){this.a=e,this.b=t}function Tet(e){this.a=l(Xr(e),15)}function O3e(e){this.a=l(Xr(e),15)}function Eet(e){this.a=l(Xr(e),85)}function rq(e){this.b=l(Xr(e),85)}function iq(e){this.b=l(Xr(e),51)}function sq(){this.q=new b.Date}function yse(e,t){this.a=e,this.b=t}function Cet(e,t){return Hu(e.b,t)}function lO(e,t){return e.b.Hc(t)}function _et(e,t){return e.b.Ic(t)}function Aet(e,t){return e.b.Qc(t)}function Let(e,t){return e.b.Hc(t)}function Met(e,t){return e.c.uc(t)}function Det(e,t){return Fi(e.c,t)}function K0(e,t){return e.a._b(t)}function Iet(e,t){return e>t&&t0}function Sse(e,t){return su(e,t)<0}function Wet(e,t){return qae(e.a,t)}function Mln(e,t){Xot.call(this,e,t)}function $3e(e){ooe(),Pit.call(this,e)}function z3e(e,t){Hst(e,e.length,t)}function gO(e,t){mat(e,e.length,t)}function x_(e,t){return e.a.get(t)}function Yet(e,t){return Hu(e.e,t)}function q3e(e){return tr(e),!1}function H3e(e){this.a=l(Xr(e),229)}function gq(e){kn.call(this,e,21)}function pq(e,t){Vr.call(this,e,t)}function _se(e,t){Vr.call(this,e,t)}function Xet(e,t){this.b=e,this.a=t}function bq(e,t){this.d=e,this.e=t}function Qet(e,t){this.a=e,this.b=t}function Jet(e,t){this.a=e,this.b=t}function Zet(e,t){this.a=e,this.b=t}function ett(e,t){this.a=e,this.b=t}function F8(e,t){this.a=e,this.b=t}function ttt(e,t){this.b=e,this.a=t}function U3e(e,t){this.b=e,this.a=t}function V3e(e,t){Vr.call(this,e,t)}function G3e(e,t){Vr.call(this,e,t)}function D5(e,t){Vr.call(this,e,t)}function Ase(e,t){Vr.call(this,e,t)}function Lse(e,t){Vr.call(this,e,t)}function Mse(e,t){Vr.call(this,e,t)}function mq(e,t){Vr.call(this,e,t)}function K3e(e,t){this.b=e,this.a=t}function vq(e,t){Vr.call(this,e,t)}function W3e(e,t){this.b=e,this.a=t}function wq(e,t){Vr.call(this,e,t)}function ntt(e,t){this.b=e,this.a=t}function Y3e(e,t){Vr.call(this,e,t)}function Dse(e,t){Vr.call(this,e,t)}function pO(e,t){Vr.call(this,e,t)}function k_(e,t,n){e.splice(t,0,n)}function Dln(e,t,n){e.Mb(n)&&t.Cd(n)}function Iln(e,t,n){t.Pe(e.a.Ye(n))}function Oln(e,t,n){t.Dd(e.a.Ze(n))}function Nln(e,t,n){t.Cd(e.a.Kb(n))}function Pln(e,t){return ml(e.c,t)}function Bln(e,t){return ml(e.e,t)}function yq(e,t){Vr.call(this,e,t)}function xq(e,t){Vr.call(this,e,t)}function T_(e,t){Vr.call(this,e,t)}function X3e(e,t){Vr.call(this,e,t)}function Xs(e,t){Vr.call(this,e,t)}function kq(e,t){Vr.call(this,e,t)}function rtt(e,t){this.a=e,this.b=t}function itt(e,t){this.a=e,this.b=t}function stt(e,t){this.a=e,this.b=t}function att(e,t){this.a=e,this.b=t}function ott(e,t){this.a=e,this.b=t}function ctt(e,t){this.a=e,this.b=t}function utt(e,t){this.b=e,this.a=t}function ltt(e,t){this.b=e,this.a=t}function Q3e(e,t){this.b=e,this.a=t}function Nk(e,t){this.c=e,this.d=t}function htt(e,t){this.e=e,this.d=t}function ftt(e,t){this.a=e,this.b=t}function dtt(e,t){this.a=e,this.b=t}function gtt(e,t){this.a=e,this.b=t}function ptt(e,t){this.b=e,this.a=t}function btt(e,t){this.b=t,this.c=e}function Tq(e,t){Vr.call(this,e,t)}function bO(e,t){Vr.call(this,e,t)}function Ise(e,t){Vr.call(this,e,t)}function J3e(e,t){Vr.call(this,e,t)}function E_(e,t){Vr.call(this,e,t)}function Ose(e,t){Vr.call(this,e,t)}function Nse(e,t){Vr.call(this,e,t)}function mO(e,t){Vr.call(this,e,t)}function Z3e(e,t){Vr.call(this,e,t)}function Pse(e,t){Vr.call(this,e,t)}function C_(e,t){Vr.call(this,e,t)}function eye(e,t){Vr.call(this,e,t)}function S_(e,t){Vr.call(this,e,t)}function __(e,t){Vr.call(this,e,t)}function fy(e,t){Vr.call(this,e,t)}function Bse(e,t){Vr.call(this,e,t)}function Fse(e,t){Vr.call(this,e,t)}function tye(e,t){Vr.call(this,e,t)}function vO(e,t){Vr.call(this,e,t)}function I5(e,t){Vr.call(this,e,t)}function Rse(e,t){Vr.call(this,e,t)}function Eq(e,t){Vr.call(this,e,t)}function wO(e,t){Vr.call(this,e,t)}function dy(e,t){Vr.call(this,e,t)}function Cq(e,t){Vr.call(this,e,t)}function nye(e,t){Vr.call(this,e,t)}function jse(e,t){Vr.call(this,e,t)}function $se(e,t){Vr.call(this,e,t)}function zse(e,t){Vr.call(this,e,t)}function qse(e,t){Vr.call(this,e,t)}function Hse(e,t){Vr.call(this,e,t)}function Use(e,t){Vr.call(this,e,t)}function Vse(e,t){Vr.call(this,e,t)}function mtt(e,t){this.b=e,this.a=t}function rye(e,t){Vr.call(this,e,t)}function vtt(e,t){this.a=e,this.b=t}function wtt(e,t){this.a=e,this.b=t}function ytt(e,t){this.a=e,this.b=t}function iye(e,t){Vr.call(this,e,t)}function sye(e,t){Vr.call(this,e,t)}function xtt(e,t){this.a=e,this.b=t}function Fln(e,t){return zk(),t!=e}function yO(e){return br(e.a),e.b}function Gse(e){return UTn(e,e.c),e}function ktt(){return LZe(),new t7t}function Ttt(){rH(),this.a=new k4e}function Ett(){$V(),this.a=new Ys}function Ctt(){Soe(),this.b=new Ys}function Stt(e,t){this.b=e,this.d=t}function _tt(e,t){this.a=e,this.b=t}function Att(e,t){this.a=e,this.b=t}function Ltt(e,t){this.a=e,this.b=t}function Mtt(e,t){this.b=e,this.a=t}function aye(e,t){Vr.call(this,e,t)}function oye(e,t){Vr.call(this,e,t)}function Sq(e,t){Vr.call(this,e,t)}function gw(e,t){Vr.call(this,e,t)}function Kse(e,t){Vr.call(this,e,t)}function _q(e,t){Vr.call(this,e,t)}function cye(e,t){Vr.call(this,e,t)}function uye(e,t){Vr.call(this,e,t)}function xO(e,t){Vr.call(this,e,t)}function lye(e,t){Vr.call(this,e,t)}function Wse(e,t){Vr.call(this,e,t)}function Aq(e,t){Vr.call(this,e,t)}function Yse(e,t){Vr.call(this,e,t)}function Xse(e,t){Vr.call(this,e,t)}function Qse(e,t){Vr.call(this,e,t)}function Jse(e,t){Vr.call(this,e,t)}function hye(e,t){Vr.call(this,e,t)}function Zse(e,t){Vr.call(this,e,t)}function fye(e,t){Vr.call(this,e,t)}function kO(e,t){Vr.call(this,e,t)}function eae(e,t){Vr.call(this,e,t)}function dye(e,t){Vr.call(this,e,t)}function TO(e,t){Vr.call(this,e,t)}function gye(e,t){Vr.call(this,e,t)}function Dtt(e,t){this.b=e,this.a=t}function Itt(e,t){this.b=e,this.a=t}function Ott(e,t){this.b=e,this.a=t}function Ntt(e,t){this.b=e,this.a=t}function pye(e,t){this.a=e,this.b=t}function Ptt(e,t){this.a=e,this.b=t}function Btt(e,t){this.a=e,this.b=t}function lt(e,t){this.a=e,this.b=t}function A_(e,t){Vr.call(this,e,t)}function EO(e,t){Vr.call(this,e,t)}function R8(e,t){Vr.call(this,e,t)}function L_(e,t){Vr.call(this,e,t)}function CO(e,t){Vr.call(this,e,t)}function tae(e,t){Vr.call(this,e,t)}function Lq(e,t){Vr.call(this,e,t)}function M_(e,t){Vr.call(this,e,t)}function nae(e,t){Vr.call(this,e,t)}function Mq(e,t){Vr.call(this,e,t)}function O5(e,t){Vr.call(this,e,t)}function SO(e,t){Vr.call(this,e,t)}function D_(e,t){Vr.call(this,e,t)}function I_(e,t){Vr.call(this,e,t)}function _O(e,t){Vr.call(this,e,t)}function Dq(e,t){Vr.call(this,e,t)}function N5(e,t){Vr.call(this,e,t)}function rae(e,t){Vr.call(this,e,t)}function Ftt(e,t){Vr.call(this,e,t)}function Iq(e,t){Vr.call(this,e,t)}function Rtt(e,t){this.a=e,this.b=t}function jtt(e,t){this.a=e,this.b=t}function $tt(e,t){this.a=e,this.b=t}function ztt(e,t){this.a=e,this.b=t}function qtt(e,t){this.a=e,this.b=t}function Htt(e,t){this.a=e,this.b=t}function fa(e,t){this.a=e,this.b=t}function Utt(e,t){this.a=e,this.b=t}function Vtt(e,t){this.a=e,this.b=t}function Gtt(e,t){this.a=e,this.b=t}function Ktt(e,t){this.a=e,this.b=t}function Wtt(e,t){this.a=e,this.b=t}function Ytt(e,t){this.a=e,this.b=t}function Xtt(e,t){this.b=e,this.a=t}function Qtt(e,t){this.b=e,this.a=t}function Jtt(e,t){this.b=e,this.a=t}function Ztt(e,t){this.b=e,this.a=t}function ent(e,t){this.a=e,this.b=t}function tnt(e,t){this.a=e,this.b=t}function Oq(e,t){Vr.call(this,e,t)}function nnt(e,t){this.a=e,this.b=t}function rnt(e,t){this.a=e,this.b=t}function j8(e,t){Vr.call(this,e,t)}function int(e,t){this.f=e,this.c=t}function bye(e,t){return ml(e.g,t)}function Rln(e,t){return ml(t.b,e)}function snt(e,t){return oue(e.a,t)}function jln(e,t){return-e.b.af(t)}function $ln(e,t){e&&Ti(vF,e,t)}function mye(e,t){e.i=null,LU(e,t)}function zln(e,t,n){Xgt(t,Zue(e,n))}function qln(e,t,n){Xgt(t,Zue(e,n))}function Hln(e,t){mCn(e.a,l(t,58))}function ant(e,t){dwn(e.a,l(t,12))}function Nq(e,t){this.a=e,this.b=t}function ont(e,t){this.a=e,this.b=t}function cnt(e,t){this.a=e,this.b=t}function unt(e,t){this.a=e,this.b=t}function lnt(e,t){this.a=e,this.b=t}function hnt(e,t){this.d=e,this.b=t}function fnt(e,t){this.e=e,this.a=t}function AO(e,t){this.b=e,this.c=t}function vye(e,t){this.i=e,this.g=t}function wye(e,t){this.d=e,this.e=t}function Uln(e,t){Awn(new ar(e),t)}function Pq(e){return VN(e.c,e.b)}function dc(e){return e?e.md():null}function qe(e){return e??null}function Da(e){return typeof e===Gle}function gy(e){return typeof e===Sx}function py(e){return typeof e===pTe}function pw(e,t){return su(e,t)==0}function Bq(e,t){return su(e,t)>=0}function O_(e,t){return su(e,t)!=0}function Fq(e,t){return V3n(e.Kc(),t)}function pb(e,t){return e.Rd().Xb(t)}function dnt(e){return Wl(e),e.d.gc()}function Rq(e){return V_(e==null),e}function N_(e,t){return e.a+=""+t,e}function Jo(e,t){return e.a+=""+t,e}function P_(e,t){return e.a+=""+t,e}function mu(e,t){return e.a+=""+t,e}function li(e,t){return e.a+=""+t,e}function yye(e,t){return e.a+=""+t,e}function Vln(e){return""+(tr(e),e)}function gnt(e){Dl(this),mA(this,e)}function pnt(){u6e(),p5e.call(this)}function bnt(e,t){y5e.call(this,e,t)}function mnt(e,t){y5e.call(this,e,t)}function jq(e,t){y5e.call(this,e,t)}function yo(e,t){_s(e,t,e.c.b,e.c)}function P5(e,t){_s(e,t,e.a,e.a.a)}function xye(e){return Sn(e,0),null}function vnt(){this.b=0,this.a=!1}function wnt(){this.b=0,this.a=!1}function ynt(){this.b=new P8(Dy(12))}function xnt(){xnt=U,Y7t=Kr(gue())}function knt(){knt=U,mxt=Kr(Ibt())}function Tnt(){Tnt=U,$Et=Kr(h0t())}function kye(){kye=U,Hwe(),h_e=new Nr}function W0(e){return e.a=0,e.b=0,e}function Ent(e,t){return e.a=t.g+1,e}function iae(e,t){yy.call(this,e,t)}function mn(e,t){ws.call(this,e,t)}function B5(e,t){vye.call(this,e,t)}function Cnt(e,t){IO.call(this,e,t)}function sae(e,t){wT.call(this,e,t)}function yi(e,t){fq(),Ti(MY,e,t)}function Snt(e,t){e.q.setTime(Vm(t))}function Gln(e){b.clearTimeout(e)}function Kln(e){return Xr(e),new B_(e)}function _nt(e,t){return qe(e)===qe(t)}function Ant(e,t){return e.a.a.a.cc(t)}function aae(e,t){return ef(e.a,0,t)}function Tye(e){return Xgn(l(e,74))}function $8(e){return da((tr(e),e))}function Wln(e){return da((tr(e),e))}function Lnt(e){return qu(e.l,e.m,e.h)}function Eye(e,t){return iu(e.a,t.a)}function Yln(e,t){return pat(e.a,t.a)}function Xln(e,t){return Xi(e.a,t.a)}function gd(e,t){return e.indexOf(t)}function Qln(e,t){return e.j[t.p]==2}function bw(e,t){return e==t?0:e?1:-1}function $q(e){return e<10?"0"+e:""+e}function xc(e){return typeof e===pTe}function Jln(e){return e==f3||e==l4}function Zln(e){return e==f3||e==u4}function Mnt(e,t){return iu(e.g,t.g)}function Cye(e){return bc(e.b.b,e,0)}function Dnt(){dH.call(this,0,0,0,0)}function pd(){vr.call(this,new u2)}function Sye(e,t){iT(e,0,e.length,t)}function ehn(e,t){return wt(e.a,t),t}function thn(e,t){return c0(),t.a+=e}function nhn(e,t){return c0(),t.a+=e}function rhn(e,t){return c0(),t.c+=e}function ihn(e,t){return wt(e.c,t),e}function _ye(e,t){return Dh(e.a,t),e}function Int(e){this.a=ktt(),this.b=e}function Ont(e){this.a=ktt(),this.b=e}function xo(e){this.a=e.a,this.b=e.b}function B_(e){this.a=e,KS.call(this)}function Nnt(e){this.a=e,KS.call(this)}function z8(){Zh.call(this,0,0,0,0)}function zq(e){return Dh(new Js,e)}function Pnt(e){return DH(l(e,123))}function ch(e){return e.vh()&&e.wh()}function F5(e){return e!=Z1&&e!=rm}function Yg(e){return e==hc||e==yc}function R5(e){return e==vf||e==Q1}function Bnt(e){return e==W6||e==K6}function shn(e,t){return iu(e.g,t.g)}function Fnt(e,t){return new wT(t,e)}function ahn(e,t){return new wT(t,e)}function Aye(e){return _dn(e.b.Kc(),e.a)}function oae(e,t){_T(e,t),fT(e,e.D)}function cae(e,t,n){xU(e,t),yU(e,n)}function j5(e,t,n){Rw(e,t),Fw(e,n)}function Xh(e,t,n){Vu(e,t),Gu(e,n)}function LO(e,t,n){cT(e,t),lT(e,n)}function MO(e,t,n){uT(e,t),hT(e,n)}function Rnt(e,t,n){l4e.call(this,e,t,n)}function Lye(e){int.call(this,e,!0)}function jnt(){pq.call(this,"Tail",3)}function $nt(){pq.call(this,"Head",1)}function bb(e){Ed(),z3n.call(this,e)}function mw(e){dH.call(this,e,e,e,e)}function uae(e){e.c=We(ka,jn,1,0,5,1)}function Mye(e){return e.b&&Ale(e),e.a}function Dye(e){return e.b&&Ale(e),e.c}function ohn(e,t){G1||(e.b=t)}function chn(e,t){return e[e.length]=t}function uhn(e,t){return e[e.length]=t}function lhn(e,t){return Iy(t,M1(e))}function hhn(e,t){return Iy(t,M1(e))}function fhn(e,t){return SU(soe(e.d),t)}function dhn(e,t){return SU(soe(e.g),t)}function ghn(e,t){return SU(soe(e.j),t)}function qa(e,t){ws.call(this,e.b,t)}function phn(e,t){zr(fu(e.a),oct(t))}function bhn(e,t){zr(Kl(e.a),cct(t))}function mhn(e,t,n){Xh(n,n.i+e,n.j+t)}function znt(e,t,n){Ss(e.c[t.g],t.g,n)}function vhn(e,t,n){l(e.c,71).Gi(t,n)}function lae(e,t,n){return Ss(e,t,n),n}function qnt(e){Uu(e.Sf(),new Uie(e))}function $5(e){return e!=null?ts(e):0}function whn(e){return e==null?0:ts(e)}function F_(e){Ii(),rw.call(this,e)}function Hnt(e){this.a=e,V4e.call(this,e)}function A1(){A1=U,b.Math.log(2)}function Qh(){Qh=U,Lg=(Get(),eAt)}function Unt(){Unt=U,Ude=new MA(ipe)}function Jr(){Jr=U,new Vnt,new mt}function Vnt(){new Nr,new Nr,new Nr}function yhn(){throw ue(new Jp(S6t))}function xhn(){throw ue(new Jp(S6t))}function khn(){throw ue(new Jp(_6t))}function Thn(){throw ue(new Jp(_6t))}function hae(e){this.a=e,rq.call(this,e)}function fae(e){this.a=e,rq.call(this,e)}function Gnt(e,t){Sw(),this.a=e,this.b=t}function Ehn(e,t){Xr(t),G5(e).Jc(new ie)}function Gs(e,t){Hae(e.c,e.c.length,t)}function Oc(e){return e.at?1:0}function Oye(e,t){return su(e,t)>0?e:t}function qu(e,t,n){return{l:e,m:t,h:n}}function Chn(e,t){e.a!=null&&ant(t,e.a)}function Shn(e){ho(e,null),Na(e,null)}function _hn(e,t,n){return Ti(e.g,n,t)}function z5(e,t,n){return nxe(t,n,e.c)}function Ahn(e,t,n){return Ti(e.k,n,t)}function Lhn(e,t,n){return gDn(e,t,n),n}function Mhn(e,t){return Sh(),t.n.b+=e}function Wnt(e){n6e.call(this),this.b=e}function Nye(e){x4e.call(this),this.a=e}function Ynt(){pq.call(this,"Range",2)}function qq(e){this.b=e,this.a=new mt}function Xnt(e){this.b=new Bo,this.a=e}function Qnt(e){e.a=new Tt,e.c=new Tt}function Jnt(e){e.a=new Nr,e.d=new Nr}function Znt(e){_oe(e,null),Aoe(e,null)}function ert(e,t){return bDn(e.a,t,null)}function Dhn(e,t){return Ti(e.a,t.a,t)}function Xa(e){return new lt(e.a,e.b)}function Pye(e){return new lt(e.c,e.d)}function Ihn(e){return new lt(e.c,e.d)}function R_(e,t){return AMn(e.c,e.b,t)}function De(e,t){return e!=null&&vue(e,t)}function dae(e,t){return xyn(e.Kc(),t)!=-1}function Hq(e){return e.Ob()?e.Pb():null}function Ohn(e){this.b=(Cn(),new er(e))}function Bye(e){this.a=e,Nr.call(this)}function trt(){IO.call(this,null,null)}function nrt(){Xq.call(this,null,null)}function rrt(){Vr.call(this,"INSTANCE",0)}function irt(){Pxe(),this.a=new GA(IAe)}function srt(e){return If(e,0,e.length)}function Nhn(e,t){return new Trt(e.Kc(),t)}function Fye(e,t){return e.a.Bc(t)!=null}function art(e,t){$r(e),e.Gc(l(t,15))}function Phn(e,t,n){e.c.bd(t,l(n,136))}function Bhn(e,t,n){e.c.Ui(t,l(n,136))}function ort(e,t){e.c&&(i5e(t),Oot(t))}function Fhn(e,t){e.q.setHours(t),QA(e,t)}function Rhn(e,t){yw(t,e.a.a.a,e.a.a.b)}function jhn(e,t,n,r){Ss(e.a[t.g],n.g,r)}function gae(e,t,n){return e.a[t.g][n.g]}function $hn(e,t){return e.e[t.c.p][t.p]}function zhn(e,t){return e.c[t.c.p][t.p]}function L1(e,t){return e.a[t.c.p][t.p]}function qhn(e,t){return e.j[t.p]=ZEn(t)}function pae(e,t){return e.a.Bc(t)!=null}function Hhn(e,t){return ze(Ge(t.a))<=e}function Uhn(e,t){return ze(Ge(t.a))>=e}function Vhn(e,t){return z6e(e.f,t.Pg())}function q8(e,t){return e.a*t.a+e.b*t.b}function Ghn(e,t){return e.a0?t/(e*e):t*100}function mfn(e,t){return e>0?t*t/e:t*t*100}function by(e,t){return l(B1(e.a,t),34)}function vfn(e,t){return Nb(),xn(e,t.e,t)}function wfn(e,t,n){return uq(),n.Mg(e,t)}function yfn(e){return sp(),e.e.a+e.f.a/2}function xfn(e,t,n){return sp(),n.e.a-e*t}function kfn(e){return sp(),e.e.b+e.f.b/2}function Tfn(e,t,n){return sp(),n.e.b-e*t}function Frt(e){e.d=new Nrt(e),e.e=new Nr}function Rrt(){this.a=new Iw,this.b=new Iw}function jrt(e){this.c=e,this.a=1,this.b=1}function $rt(e){Ule(),tJe(this),this.Ff(e)}function Efn(e,t,n){oU(),e.pf(t)&&n.Cd(e)}function Cfn(e,t,n){return wt(t,Q1t(e,n))}function yw(e,t,n){return e.a+=t,e.b+=n,e}function Sfn(e,t,n){return e.a*=t,e.b*=n,e}function t4e(e,t){return e.a=t.a,e.b=t.b,e}function Qq(e){return e.a=-e.a,e.b=-e.b,e}function q_(e,t,n){return e.a-=t,e.b-=n,e}function zrt(e){os.call(this),dA(this,e)}function qrt(){Vr.call(this,"GROW_TREE",0)}function Hrt(){Vr.call(this,"POLYOMINO",0)}function lh(e,t,n){yl.call(this,e,t,n,2)}function _fn(e,t,n){AA(fu(e.a),t,oct(n))}function Urt(e,t){y_(),IO.call(this,e,t)}function n4e(e,t){r2(),Xq.call(this,e,t)}function Vrt(e,t){r2(),n4e.call(this,e,t)}function Grt(e,t){r2(),Xq.call(this,e,t)}function Afn(e,t){return e.c.Fc(l(t,136))}function Lfn(e,t,n){AA(Kl(e.a),t,cct(n))}function Krt(e){this.c=e,Vu(e,0),Gu(e,0)}function xae(e,t){Qh(),bH.call(this,e,t)}function Wrt(e,t){Qh(),xae.call(this,e,t)}function r4e(e,t){Qh(),xae.call(this,e,t)}function i4e(e,t){Qh(),bH.call(this,e,t)}function Yrt(e,t){Qh(),r4e.call(this,e,t)}function Xrt(e,t){Qh(),i4e.call(this,e,t)}function Qrt(e,t){Qh(),bH.call(this,e,t)}function Mfn(e,t,n){return t.zl(e.e,e.c,n)}function Dfn(e,t,n){return t.Al(e.e,e.c,n)}function s4e(e,t,n){return JV(vN(e,t),n)}function kae(e,t){return Lb(e.e,l(t,54))}function Ifn(e){return e==null?null:rIn(e)}function Ofn(e){return e==null?null:X9n(e)}function Nfn(e){return e==null?null:Tc(e)}function Pfn(e){return e==null?null:Tc(e)}function Pt(e){return V_(e==null||gy(e)),e}function Ge(e){return V_(e==null||py(e)),e}function Zr(e){return V_(e==null||Da(e)),e}function Xg(e){e.o==null&&AEn(e)}function a4e(e){if(!e)throw ue(new rO)}function Bfn(e){if(!e)throw ue(new Jie)}function br(e){if(!e)throw ue(new Dc)}function my(e){if(!e)throw ue(new gl)}function Jrt(e){if(!e)throw ue(new Yh)}function jk(){jk=U,yF=new OJe,new NJe}function V5(){V5=U,Q6=new Ki("root")}function o4e(){Nft.call(this),this.Bb|=Lo}function Ffn(e,t){this.d=e,Lr(this),this.b=t}function c4e(e,t){Yoe.call(this,e),this.a=t}function u4e(e,t){Yoe.call(this,e),this.a=t}function l4e(e,t,n){rU.call(this,e,t,n,null)}function Zrt(e,t,n){rU.call(this,e,t,n,null)}function PO(e,t){this.c=e,Dk.call(this,e,t)}function H_(e,t){this.a=e,PO.call(this,e,t)}function h4e(e){this.q=new b.Date(Vm(e))}function eit(e){return e>8?0:e+1}function tit(e,t){G1||wt(e.a,t)}function Rfn(e,t){return dO(),vT(t.d.i,e)}function jfn(e,t){return hx(),new Dmt(t,e)}function $fn(e,t,n){return e.Ne(t,n)<=0?n:t}function zfn(e,t,n){return e.Ne(t,n)<=0?t:n}function qfn(e,t){return l(B1(e.b,t),143)}function Hfn(e,t){return l(B1(e.c,t),233)}function Tae(e){return l(Rt(e.a,e.b),294)}function nit(e){return new lt(e.c,e.d+e.a)}function rit(e){return tr(e),e?1231:1237}function iit(e){return Sh(),Bnt(l(e,203))}function vy(){vy=U,aAe=hn((gh(),Ov))}function Ufn(e,t){t.a?WTn(e,t):pae(e.a,t.b)}function BO(e,t,n){++e.j,e.tj(),Woe(e,t,n)}function sit(e,t,n){++e.j,e.qj(t,e.Zi(t,n))}function ait(e,t,n){var r;r=e.fd(t),r.Rb(n)}function f4e(e,t,n){return n=Nh(e,t,6,n),n}function d4e(e,t,n){return n=Nh(e,t,3,n),n}function g4e(e,t,n){return n=Nh(e,t,9,n),n}function md(e,t){return ZO(t,RTe),e.f=t,e}function p4e(e,t){return(t&Ni)%e.d.length}function oit(e,t,n){return Wke(e.c,e.b,t,n)}function cit(e,t){this.c=e,Bw.call(this,t)}function uit(e,t){this.a=e,KQe.call(this,t)}function FO(e,t){this.a=e,KQe.call(this,t)}function ws(e,t){Ki.call(this,e),this.a=t}function b4e(e,t){jwe.call(this,e),this.a=t}function Eae(e,t){jwe.call(this,e),this.a=t}function Vfn(e){X8e.call(this,0,0),this.f=e}function lit(e,t,n){return e.a+=If(t,0,n),e}function RO(e){return!e.a&&(e.a=new pe),e.a}function m4e(e,t){var n;return n=e.e,e.e=t,n}function v4e(e,t){var n;return n=t,!!e.Fe(n)}function Gfn(e,t){return Hn(),e==t?0:e?1:-1}function wy(e,t){e.a.bd(e.b,t),++e.b,e.c=-1}function jO(e){e.b?jO(e.b):e.f.c.zc(e.e,e.d)}function hit(e){Dl(e.e),e.d.b=e.d,e.d.a=e.d}function Kfn(e,t,n){Bm(),Fie(e,t.Ve(e.a,n))}function w4e(e,t,n){return J8(e,l(t,22),n)}function o0(e,t){return Jz(new Array(t),e)}function Wfn(e){return Yr(vb(e,32))^Yr(e)}function Cae(e){return String.fromCharCode(e)}function Yfn(e){return e==null?null:e.message}function Xfn(e,t,n){return e.apply(t,n)}function Qfn(e,t){var n;n=e[Ehe],n.call(e,t)}function Jfn(e,t){var n;n=e[Ehe],n.call(e,t)}function Zfn(e,t){return dO(),!vT(t.d.i,e)}function y4e(e,t,n,r){dH.call(this,e,t,n,r)}function fit(){Jq.call(this),this.a=new za}function x4e(){this.n=new za,this.o=new za}function dit(){this.b=new za,this.c=new mt}function git(){this.a=new mt,this.b=new mt}function pit(){this.a=new Em,this.b=new hJe}function k4e(){this.b=new u2,this.a=new u2}function bit(){this.b=new Ys,this.a=new Ys}function mit(){this.b=new Nr,this.a=new Nr}function vit(){this.b=new qZe,this.a=new SS}function wit(){this.a=new cie,this.b=new qee}function yit(){this.a=new mt,this.d=new mt}function Jq(){this.n=new L8,this.i=new z8}function xit(e){this.a=(Mh(e,Jy),new Pu(e))}function kit(e){this.a=(Mh(e,Jy),new Pu(e))}function e0n(e){return e<100?null:new hb(e)}function t0n(e,t){return e.n.a=(tr(t),t+10)}function n0n(e,t){return e.n.a=(tr(t),t+10)}function r0n(e,t){return t==e||zT(PV(t),e)}function Tit(e,t){return Ti(e.a,t,"")==null}function i0n(e,t){var n;return n=t.qi(e.a),n}function Pi(e,t){return e.a+=t.a,e.b+=t.b,e}function ya(e,t){return e.a-=t.a,e.b-=t.b,e}function s0n(e){return uy(e.j.c,0),e.a=-1,e}function T4e(e,t,n){return n=Nh(e,t,11,n),n}function a0n(e,t,n){n!=null&&_U(t,Lue(e,n))}function o0n(e,t,n){n!=null&&AU(t,Lue(e,n))}function V8(e,t,n,r){nt.call(this,e,t,n,r)}function E4e(e,t,n,r){nt.call(this,e,t,n,r)}function Eit(e,t,n,r){E4e.call(this,e,t,n,r)}function Cit(e,t,n,r){TH.call(this,e,t,n,r)}function Sae(e,t,n,r){TH.call(this,e,t,n,r)}function C4e(e,t,n,r){TH.call(this,e,t,n,r)}function Sit(e,t,n,r){Sae.call(this,e,t,n,r)}function S4e(e,t,n,r){Sae.call(this,e,t,n,r)}function An(e,t,n,r){C4e.call(this,e,t,n,r)}function _it(e,t,n,r){S4e.call(this,e,t,n,r)}function Ait(e,t,n,r){E5e.call(this,e,t,n,r)}function yy(e,t){rc.call(this,SL+e+gv+t)}function _4e(e,t){return e.jk().wi().ri(e,t)}function A4e(e,t){return e.jk().wi().ti(e,t)}function Lit(e,t){return tr(e),qe(e)===qe(t)}function wn(e,t){return tr(e),qe(e)===qe(t)}function c0n(e,t){return e.b.Bd(new Jet(e,t))}function u0n(e,t){return e.b.Bd(new Zet(e,t))}function Mit(e,t){return e.b.Bd(new ett(e,t))}function l0n(e,t){return e.e=l(e.d.Kb(t),159)}function L4e(e,t,n){return e.lastIndexOf(t,n)}function h0n(e,t,n){return Xi(e[t.a],e[n.a])}function f0n(e,t){return rt(t,(Nt(),IB),e)}function d0n(e,t){return iu(t.a.d.p,e.a.d.p)}function g0n(e,t){return iu(e.a.d.p,t.a.d.p)}function p0n(e,t){return Xi(e.c-e.s,t.c-t.s)}function b0n(e,t){return Xi(e.b.e.a,t.b.e.a)}function m0n(e,t){return Xi(e.c.e.a,t.c.e.a)}function Dit(e){return e.c?bc(e.c.a,e,0):-1}function G8(e){return e==Iv||e==_g||e==Au}function M4e(e,t){this.c=e,Zae.call(this,e,t)}function Iit(e,t,n){this.a=e,Jye.call(this,t,n)}function Oit(e){this.c=e,jq.call(this,DP,0)}function Nit(e,t,n){this.c=t,this.b=n,this.a=e}function $O(e){zk(),this.d=e,this.a=new H5}function Pit(e){vd(),this.a=(Cn(),new Ck(e))}function v0n(e,t){Yg(e.f)?yEn(e,t):Qxn(e,t)}function Bit(e,t){Ddn.call(this,e,e.length,t)}function w0n(e,t){G1||t&&(e.d=t)}function Fit(e,t){return De(t,15)&&hmt(e.c,t)}function y0n(e,t,n){return l(e.c,71).Wk(t,n)}function Zq(e,t,n){return l(e.c,71).Xk(t,n)}function x0n(e,t,n){return Mfn(e,l(t,343),n)}function D4e(e,t,n){return Dfn(e,l(t,343),n)}function k0n(e,t,n){return ipt(e,l(t,343),n)}function Rit(e,t,n){return l9n(e,l(t,343),n)}function U_(e,t){return t==null?null:By(e.b,t)}function I4e(e){return py(e)?(tr(e),e):e.ue()}function eH(e){return!isNaN(e)&&!isFinite(e)}function _ae(e){Qnt(this),Ch(this),Ga(this,e)}function Ml(e){uae(this),W4e(this.c,0,e.Pc())}function Jh(e,t,n){this.a=e,this.b=t,this.c=n}function jit(e,t,n){this.a=e,this.b=t,this.c=n}function $it(e,t,n){this.d=e,this.b=n,this.a=t}function zit(e){this.a=e,Wg(),tu(Date.now())}function qit(e){fh(e.a),K6e(e.c,e.b),e.b=null}function Aae(){Aae=U,O_e=new Et,n7t=new Wt}function Hit(){Hit=U,sAt=We(ka,jn,1,0,5,1)}function Uit(){Uit=U,TAt=We(ka,jn,1,0,5,1)}function O4e(){O4e=U,EAt=We(ka,jn,1,0,5,1)}function vd(){vd=U,new qwe((Cn(),Cn(),Co))}function T0n(e){return sT(),Gr((Xlt(),s7t),e)}function E0n(e){return Nl(),Gr(($lt(),h7t),e)}function C0n(e){return oV(),Gr((Cut(),m7t),e)}function S0n(e){return gU(),Gr((Sut(),v7t),e)}function _0n(e){return HV(),Gr((C0t(),w7t),e)}function A0n(e){return e1(),Gr((Rlt(),k7t),e)}function L0n(e){return Ol(),Gr((Flt(),E7t),e)}function M0n(e){return al(),Gr((jlt(),S7t),e)}function D0n(e){return rG(),Gr((xnt(),Y7t),e)}function I0n(e){return qw(),Gr((Jlt(),Q7t),e)}function O0n(e){return mx(),Gr((eht(),Z7t),e)}function N0n(e){return PA(),Gr((Zlt(),n8t),e)}function P0n(e){return oq(),Gr((Qct(),r8t),e)}function B0n(e){return pU(),Gr((_ut(),y8t),e)}function F0n(e){return hA(),Gr((zlt(),G8t),e)}function R0n(e){return so(),Gr((Pht(),X8t),e)}function j0n(e){return xT(),Gr((nht(),txt),e)}function $0n(e){return tv(),Gr((tht(),oxt),e)}function N4e(e,t){if(!e)throw ue(new Wn(t))}function $k(e){if(!e)throw ue(new ic(bTe))}function Lae(e,t){if(e!=t)throw ue(new Yh)}function Vit(e,t,n){this.a=e,this.b=t,this.c=n}function P4e(e,t,n){this.a=e,this.b=t,this.c=n}function Git(e,t,n){this.a=e,this.b=t,this.c=n}function tH(e,t,n){this.b=e,this.a=t,this.c=n}function B4e(e,t,n){this.b=e,this.c=t,this.a=n}function F4e(e,t,n){this.a=e,this.b=t,this.c=n}function nH(e,t,n){this.e=t,this.b=e,this.d=n}function Kit(e,t,n){this.b=e,this.a=t,this.c=n}function z0n(e,t,n){return Bm(),e.a.Yd(t,n),t}function Mae(e){var t;return t=new Ul,t.e=e,t}function R4e(e){var t;return t=new bJe,t.b=e,t}function zO(){zO=U,OK=new LZ,NK=new xj}function rH(){rH=U,kxt=new $Z,xxt=new mS}function c0(){c0=U,_xt=new vee,Axt=new wee}function q0n(e){return $w(),Gr((vlt(),Rxt),e)}function H0n(e){return po(),Gr((knt(),mxt),e)}function U0n(e){return $U(),Gr((iht(),yxt),e)}function V0n(e){return R1(),Gr((rht(),Dxt),e)}function G0n(e){return zy(),Gr((Bht(),Oxt),e)}function K0n(e){return zV(),Gr((l0t(),jxt),e)}function W0n(e){return xx(),Gr((oft(),$xt),e)}function Y0n(e){return aU(),Gr((Nut(),zxt),e)}function X0n(e){return gA(),Gr((blt(),qxt),e)}function Q0n(e){return TU(),Gr((mlt(),Hxt),e)}function J0n(e){return w2(),Gr((Fht(),Uxt),e)}function Z0n(e){return TN(),Gr((Mut(),Vxt),e)}function e1n(e){return HT(),Gr((lft(),Qxt),e)}function t1n(e){return Ho(),Gr((z0t(),Jxt),e)}function n1n(e){return yT(),Gr((ylt(),Zxt),e)}function r1n(e){return ip(),Gr((xlt(),t9t),e)}function i1n(e){return YH(),Gr((Lut(),n9t),e)}function s1n(e){return nP(),Gr((uft(),Xxt),e)}function a1n(e){return Jm(),Gr((wlt(),Kxt),e)}function o1n(e){return AV(),Gr((cft(),Wxt),e)}function c1n(e){return bN(),Gr((Dut(),Yxt),e)}function u1n(e){return lf(),Gr((jht(),r9t),e)}function l1n(e){return E2(),Gr((k0t(),_Tt),e)}function h1n(e){return EA(),Gr((klt(),ATt),e)}function f1n(e){return jy(),Gr((sht(),LTt),e)}function d1n(e){return NA(),Gr((Rht(),MTt),e)}function g1n(e){return Nf(),Gr((q0t(),DTt),e)}function p1n(e){return kd(),Gr((aht(),ITt),e)}function b1n(e){return xN(),Gr((Iut(),OTt),e)}function m1n(e){return qo(),Gr((Clt(),PTt),e)}function v1n(e){return FU(),Gr((Tlt(),BTt),e)}function w1n(e){return xA(),Gr((Elt(),FTt),e)}function y1n(e){return AT(),Gr((Slt(),RTt),e)}function x1n(e){return kU(),Gr((_lt(),jTt),e)}function k1n(e){return zU(),Gr((Alt(),$Tt),e)}function T1n(e){return jw(),Gr((Blt(),nEt),e)}function E1n(e){return cA(),Gr((Out(),oEt),e)}function C1n(e){return yd(),Gr((Fut(),gEt),e)}function S1n(e){return D1(),Gr((Rut(),bEt),e)}function _1n(e){return Q0(),Gr((jut(),DEt),e)}function A1n(e){return Ow(),Gr(($ut(),REt),e)}function L1n(e){return yx(),Gr((dht(),jEt),e)}function M1n(e){return YA(),Gr((Tnt(),$Et),e)}function D1n(e){return kA(),Gr((Llt(),zEt),e)}function I1n(e){return TA(),Gr((fht(),lCt),e)}function O1n(e){return GH(),Gr((Put(),hCt),e)}function N1n(e){return MU(),Gr((But(),bCt),e)}function P1n(e){return EV(),Gr(($ht(),vCt),e)}function B1n(e){return FN(),Gr((Mlt(),yCt),e)}function F1n(e){return cU(),Gr((zut(),wCt),e)}function R1n(e){return mV(),Gr((hht(),$Ct),e)}function j1n(e){return BU(),Gr((Dlt(),zCt),e)}function $1n(e){return nV(),Gr((Ilt(),qCt),e)}function z1n(e){return dV(),Gr((Olt(),UCt),e)}function q1n(e){return XU(),Gr((Nlt(),KCt),e)}function H1n(e){return eU(),Gr((qut(),gSt),e)}function U1n(e){return pT(),Gr((Aut(),bxt),e)}function V1n(e){return Jn(),Gr((hft(),hxt),e)}function G1n(e){return uU(),Gr((Plt(),pSt),e)}function K1n(e){return Sce(),Gr((Hut(),bSt),e)}function W1n(e){return VA(),Gr((zht(),vSt),e)}function Y1n(e){return lq(),Gr((sut(),ySt),e)}function X1n(e){return HN(),Gr((Hlt(),wSt),e)}function Q1n(e){return hq(),Gr((aut(),kSt),e)}function J1n(e){return hN(),Gr((Uut(),TSt),e)}function Z1n(e){return iP(),Gr((qht(),ESt),e)}function edn(e){return m_(),Gr((out(),$St),e)}function tdn(e){return ON(),Gr((Vut(),zSt),e)}function ndn(e){return n1(),Gr((Uht(),KSt),e)}function rdn(e){return T2(),Gr((c0t(),YSt),e)}function idn(e){return lg(),Gr((fft(),XSt),e)}function sdn(e){return rv(),Gr((dft(),n_t),e)}function adn(e){return ea(),Gr((Hht(),x_t),e)}function odn(e){return F1(),Gr((Ult(),k_t),e)}function cdn(e){return cp(),Gr((ght(),T_t),e)}function udn(e){return SV(),Gr((gft(),E_t),e)}function ldn(e){return op(),Gr((qlt(),S_t),e)}function hdn(e){return Ih(),Gr((pht(),A_t),e)}function fdn(e){return Vy(),Gr((E0t(),L_t),e)}function ddn(e){return r6(),Gr((Vht(),M_t),e)}function gdn(e){return Pa(),Gr((pft(),D_t),e)}function pdn(e){return Pl(),Gr((bft(),I_t),e)}function bdn(e){return _t(),Gr((Ght(),O_t),e)}function mdn(e){return gh(),Gr((bht(),R_t),e)}function vdn(e){return Xl(),Gr((T0t(),j_t),e)}function wdn(e){return gx(),Gr((Vlt(),$_t),e)}function ydn(e,t){return tr(e),e+(tr(t),t)}function xdn(e){return Dae(),Gr((Gut(),z_t),e)}function kdn(e){return JU(),Gr((mht(),q_t),e)}function Tdn(e){return qU(),Gr((vht(),V_t),e)}function zk(){zk=U,iIe=(_t(),Zn),jW=sr}function Dae(){Dae=U,xPe=new Tst,kPe=new cat}function Edn(e){return!e.e&&(e.e=new mt),e.e}function Iae(e,t){this.c=e,this.a=t,this.b=t-e}function Wit(e,t,n){this.a=e,this.b=t,this.c=n}function Oae(e,t,n){this.a=e,this.b=t,this.c=n}function j4e(e,t,n){this.a=e,this.b=t,this.c=n}function $4e(e,t,n){this.a=e,this.b=t,this.c=n}function Yit(e,t,n){this.a=e,this.b=t,this.c=n}function Xit(e,t,n){this.a=e,this.b=t,this.c=n}function s2(e,t,n){this.e=e,this.a=t,this.c=n}function Qit(e,t,n){Qh(),i6e.call(this,e,t,n)}function Nae(e,t,n){Qh(),z5e.call(this,e,t,n)}function z4e(e,t,n){Qh(),z5e.call(this,e,t,n)}function q4e(e,t,n){Qh(),z5e.call(this,e,t,n)}function Jit(e,t,n){Qh(),Nae.call(this,e,t,n)}function H4e(e,t,n){Qh(),Nae.call(this,e,t,n)}function Zit(e,t,n){Qh(),H4e.call(this,e,t,n)}function est(e,t,n){Qh(),z4e.call(this,e,t,n)}function tst(e,t,n){Qh(),q4e.call(this,e,t,n)}function Pae(e){dH.call(this,e.d,e.c,e.a,e.b)}function U4e(e){dH.call(this,e.d,e.c,e.a,e.b)}function V4e(e){this.d=e,Lr(this),this.b=Tgn(e.d)}function Cdn(e){return VT(),Gr((u0t(),iAt),e)}function qO(e,t){return Xr(e),Xr(t),new oet(e,t)}function K8(e,t){return Xr(e),Xr(t),new gst(e,t)}function Sdn(e,t){return Xr(e),Xr(t),new pst(e,t)}function _dn(e,t){return Xr(e),Xr(t),new met(e,t)}function Bae(e){return br(e.b!=0),sf(e,e.a.a)}function Adn(e){return br(e.b!=0),sf(e,e.c.b)}function Ldn(e){return!e.c&&(e.c=new Zd),e.c}function qk(e){var t;return t=new mt,ace(t,e),t}function Mdn(e){var t;return t=new Ys,ace(t,e),t}function nst(e){var t;return t=new Kwe,wce(t,e),t}function HO(e){var t;return t=new os,wce(t,e),t}function l(e,t){return V_(e==null||vue(e,t)),e}function Ddn(e,t,n){tat.call(this,t,n),this.a=e}function rst(e,t){this.c=e,this.b=t,this.a=!1}function ist(){this.a=";,;",this.b="",this.c=""}function sst(e,t,n){this.b=e,bnt.call(this,t,n)}function G4e(e,t,n){this.c=e,bq.call(this,t,n)}function K4e(e,t,n){Nk.call(this,e,t),this.b=n}function W4e(e,t,n){$9e(n,0,e,t,n.length,!1)}function ig(e,t,n,r,s){e.b=t,e.c=n,e.d=r,e.a=s}function Y4e(e,t,n,r,s){e.d=t,e.c=n,e.a=r,e.b=s}function Idn(e,t){t&&(e.b=t,e.a=(xb(t),t.a))}function UO(e,t){if(!e)throw ue(new Wn(t))}function W8(e,t){if(!e)throw ue(new ic(t))}function X4e(e,t){if(!e)throw ue(new hZe(t))}function Odn(e,t){return cq(),iu(e.d.p,t.d.p)}function Ndn(e,t){return sp(),Xi(e.e.b,t.e.b)}function Pdn(e,t){return sp(),Xi(e.e.a,t.e.a)}function Bdn(e,t){return iu(yst(e.d),yst(t.d))}function iH(e,t){return t&&AH(e,t.d)?t:null}function Fdn(e,t){return t==(_t(),Zn)?e.c:e.d}function Q4e(e){return Sb(Bgn(xc(e)?Mf(e):e))}function Rdn(e){return new lt(e.c+e.b,e.d+e.a)}function ast(e){return e!=null&&!rue(e,zM,qM)}function jdn(e,t){return(R1t(e)<<4|R1t(t))&ta}function ost(e,t,n,r,s){e.c=t,e.d=n,e.b=r,e.a=s}function J4e(e){var t,n;t=e.b,n=e.c,e.b=n,e.c=t}function Z4e(e){var t,n;n=e.d,t=e.a,e.d=t,e.a=n}function $dn(e,t){var n;return n=e.c,D7e(e,t),n}function e5e(e,t){return t<0?e.g=-1:e.g=t,e}function sH(e,t){return Wwn(e),e.a*=t,e.b*=t,e}function cst(e,t,n){nft.call(this,t,n),this.d=e}function VO(e,t,n){wye.call(this,e,t),this.c=n}function aH(e,t,n){wye.call(this,e,t),this.c=n}function t5e(e){O4e(),w5.call(this),this.ci(e)}function ust(){nT(),opn.call(this,(db(),Gf))}function lst(e){return Ii(),new sg(0,e)}function hst(){hst=U,wpe=(Cn(),new Ma(k0e))}function oH(){oH=U,new fxe((ase(),N0e),(sse(),O0e))}function fst(){fst=U,w_e=We(to,dt,17,256,0,1)}function dst(){this.b=ze(Ge(It((p0(),d1e))))}function Fae(e){this.b=e,this.a=Rm(this.b.a).Od()}function gst(e,t){this.b=e,this.a=t,KS.call(this)}function pst(e,t){this.a=e,this.b=t,KS.call(this)}function bst(e,t,n){this.a=e,B5.call(this,t,n)}function mst(e,t,n){this.a=e,B5.call(this,t,n)}function Hk(e,t,n){var r;r=new Ty(n),Z0(e,t,r)}function n5e(e,t,n){var r;return r=e[t],e[t]=n,r}function cH(e){var t;return t=e.slice(),Zoe(t,e)}function uH(e){var t;return t=e.n,e.a.b+t.d+t.a}function vst(e){var t;return t=e.n,e.e.b+t.d+t.a}function r5e(e){var t;return t=e.n,e.e.a+t.b+t.c}function i5e(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function ci(e,t){return _s(e,t,e.c.b,e.c),!0}function zdn(e){return e.a?e.a:hoe(e)}function qdn(e){return nx(),hg(e)==ds(Ib(e))}function Hdn(e){return nx(),Ib(e)==ds(hg(e))}function xw(e,t){return jA(e,new Nk(t.a,t.b))}function Udn(e,t){return MH(),Sue(e,t),new $at(e,t)}function Vdn(e,t){return e.c=t)throw ue(new e3e)}function xy(e,t){return zN(e,(tr(t),new wo(t)))}function X8(e,t){return zN(e,(tr(t),new oh(t)))}function rat(e,t,n){return mOn(e,l(t,12),l(n,12))}function iat(e){return xl(),l(e,12).g.c.length!=0}function sat(e){return xl(),l(e,12).e.c.length!=0}function Lgn(e,t){return hx(),Xi(t.a.o.a,e.a.o.a)}function Mgn(e,t){t.Bb&nu&&!e.a.o&&(e.a.o=t)}function Dgn(e,t){t.Ug("General 'Rotator",1),VDn(e)}function Ign(e,t,n){t.qf(n,ze(Ge(or(e.b,n)))*e.a)}function aat(e,t,n){return d6(),bT(e,t)&&bT(e,n)}function Y_(e){return Pl(),!e.Hc(kp)&&!e.Hc(im)}function Ogn(e){return e.e?V6e(e.e):null}function X_(e){return xc(e)?""+e:lmt(e)}function T5e(e){var t;for(t=e;t.f;)t=t.f;return t}function Ngn(e,t,n){return Ss(t,0,u5e(t[0],n[0])),t}function a2(e,t,n,r){var s;s=e.i,s.i=t,s.a=n,s.b=r}function nt(e,t,n,r){Qs.call(this,e,t,n),this.b=r}function _a(e,t,n,r,s){Qoe.call(this,e,t,n,r,s,-1)}function Q_(e,t,n,r,s){dN.call(this,e,t,n,r,s,-1)}function TH(e,t,n,r){VO.call(this,e,t,n),this.b=r}function oat(e){int.call(this,e,!1),this.a=!1}function cat(){Ftt.call(this,"LOOKAHEAD_LAYOUT",1)}function uat(e){this.b=e,H8.call(this,e),grt(this)}function lat(e){this.b=e,OO.call(this,e),prt(this)}function ky(e,t,n){this.a=e,V8.call(this,t,n,5,6)}function E5e(e,t,n,r){this.b=e,Qs.call(this,t,n,r)}function hat(e,t){this.b=e,Gg.call(this,e.b),this.a=t}function fat(e){this.a=Ydt(e.a),this.b=new Ml(e.b)}function C5e(e,t){Sw(),hln.call(this,e,GU(new Ll(t)))}function EH(e,t){return Ii(),new $5e(e,t,0)}function Xae(e,t){return Ii(),new $5e(6,e,t)}function Qa(e,t){for(tr(t);e.Ob();)t.Cd(e.Pb())}function Hu(e,t){return Da(t)?woe(e,t):!!zo(e.f,t)}function Qae(e,t){return t.Vh()?Lb(e.b,l(t,54)):t}function Pgn(e,t){return wn(e.substr(0,t.length),t)}function ag(e){return new lr(new Gye(e.a.length,e.a))}function CH(e){return new lt(e.c+e.b/2,e.d+e.a/2)}function Bgn(e){return qu(~e.l&Ql,~e.m&Ql,~e.h&pp)}function Jae(e){return typeof e===_P||typeof e===Kle}function Dl(e){e.f=new Int(e),e.i=new Ont(e),++e.g}function dat(e){if(!e)throw ue(new Dc);return e.d}function Q8(e){var t;return t=yA(e),br(t!=null),t}function Fgn(e){var t;return t=Z4n(e),br(t!=null),t}function Vk(e,t){var n;return n=e.a.gc(),$6e(t,n),n-t}function sa(e,t){var n;return n=e.a.zc(t,e),n==null}function KO(e,t){return e.a.zc(t,(Hn(),Ub))==null}function S5e(e){return new vn(null,qgn(e,e.length))}function _5e(e,t,n){return Nvt(e,l(t,42),l(n,176))}function J8(e,t,n){return f0(e.a,t),n5e(e.b,t.g,n)}function Rgn(e,t,n){Uk(n,e.a.c.length),nf(e.a,n,t)}function Ue(e,t,n,r){h1t(t,n,e.length),jgn(e,t,n,r)}function jgn(e,t,n,r){var s;for(s=t;s0?b.Math.log(e/t):-100}function pat(e,t){return su(e,t)<0?-1:su(e,t)>0?1:0}function WO(e,t){art(e,De(t,160)?t:l(t,2036).Rl())}function D5e(e,t){if(e==null)throw ue(new I8(t))}function qgn(e,t){return Uwn(t,e.length),new kst(e,t)}function I5e(e,t){return t?Ga(e,t):!1}function Hgn(){return Wz(),he(le(P6t,1),it,549,0,[F0e])}function Z_(e){return e.e==0?e:new $m(-e.e,e.d,e.a)}function Ugn(e,t){return Xi(e.c.c+e.c.b,t.c.c+t.c.b)}function YO(e,t){_s(e.d,t,e.b.b,e.b),++e.a,e.c=null}function bat(e,t){return e.c?bat(e.c,t):wt(e.b,t),e}function Vgn(e,t,n){var r;return r=My(e,t),Poe(e,t,n),r}function mat(e,t,n){var r;for(r=0;r=e.g}function Ss(e,t,n){return Bfn(n==null||DAn(e,n)),e[t]=n}function F5e(e,t){return Yn(t,e.length+1),e.substr(t)}function coe(e,t){for(tr(t);e.c=e?new N3e:g3n(e-1)}function Ja(e){return!e.a&&e.c?e.c.b:e.a}function q5e(e){return De(e,616)?e:new Bot(e)}function xb(e){e.c?xb(e.c):(Mb(e),e.d=!0)}function nA(e){e.c?e.c.$e():(e.d=!0,ICn(e))}function Fat(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function Rat(e){var t,n;return t=e.c.i.c,n=e.d.i.c,t==n}function lpn(e,t){var n;n=e.Ih(t),n>=0?e.ki(n):D9e(e,t)}function jat(e,t){e.c<0||e.b.b0;)e=e<<1|(e<0?1:0);return e}function Kat(e,t){var n;return n=new vu(e),qn(t.c,n),n}function Wat(e,t){e.u.Hc((Pl(),kp))&&pTn(e,t),Ovn(e,t)}function eu(e,t){return qe(e)===qe(t)||e!=null&&Fi(e,t)}function Zo(e,t){return qae(e.a,t)?e.b[l(t,22).g]:null}function Tpn(){return oq(),he(le(uAe,1),it,489,0,[a1e])}function Epn(){return lq(),he(le(FOe,1),it,490,0,[Mge])}function Cpn(){return hq(),he(le(xSt,1),it,558,0,[Dge])}function Spn(){return m_(),he(le(iNe,1),it,539,0,[XB])}function DH(e){return!e.n&&(e.n=new nt(nc,e,1,7)),e.n}function loe(e){return!e.c&&(e.c=new nt($l,e,9,9)),e.c}function G5e(e){return!e.c&&(e.c=new An(Sr,e,5,8)),e.c}function _pn(e){return!e.b&&(e.b=new An(Sr,e,4,7)),e.b}function XO(e){return e.j.c.length=0,W5e(e.c),s0n(e.a),e}function Xk(e){return e.e==CE&&fn(e,x6n(e.g,e.b)),e.e}function QO(e){return e.f==CE&&Dn(e,f8n(e.g,e.b)),e.f}function Ei(e,t,n,r){return m0t(e,t,n,!1),KU(e,r),e}function Yat(e,t){this.b=e,Zae.call(this,e,t),grt(this)}function Xat(e,t){this.b=e,M4e.call(this,e,t),prt(this)}function rA(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function K5e(e,t){this.b=e,this.c=t,this.a=new B8(this.b)}function io(e,t){return Yn(t,e.length),e.charCodeAt(t)}function Apn(e,t){N8e(e,ze(ap(t,"x")),ze(ap(t,"y")))}function Lpn(e,t){N8e(e,ze(ap(t,"x")),ze(ap(t,"y")))}function ji(e,t){return Mb(e),new vn(e,new i7e(t,e.a))}function gc(e,t){return Mb(e),new vn(e,new H6e(t,e.a))}function Ey(e,t){return Mb(e),new c4e(e,new slt(t,e.a))}function IH(e,t){return Mb(e),new u4e(e,new alt(t,e.a))}function Mpn(e,t){return new yot(l(Xr(e),50),l(Xr(t),50))}function Dpn(e,t){return Xi(e.d.c+e.d.b/2,t.d.c+t.d.b/2)}function Qat(e,t,n){n.a?Gu(e,t.b-e.f/2):Vu(e,t.a-e.g/2)}function Ipn(e,t){return Xi(e.g.c+e.g.b/2,t.g.c+t.g.b/2)}function Opn(e,t){return F3e(),Xi((tr(e),e),(tr(t),t))}function Npn(e){return e!=null&&lO(DY,e.toLowerCase())}function W5e(e){var t;for(t=e.Kc();t.Ob();)t.Pb(),t.Qb()}function G5(e){var t;return t=e.b,!t&&(e.b=t=new Die(e)),t}function hoe(e){var t;return t=v3n(e),t||null}function Jat(e,t){var n,r;return n=e/t,r=da(n),n>r&&++r,r}function Ppn(e,t,n){var r;r=l(e.d.Kb(n),159),r&&r.Nb(t)}function Bpn(e,t,n){RLn(e.a,n),pyn(n),sEn(e.b,n),sMn(t,n)}function OH(e,t,n,r){this.a=e,this.c=t,this.b=n,this.d=r}function Y5e(e,t,n,r){this.c=e,this.b=t,this.a=n,this.d=r}function Zat(e,t,n,r){this.c=e,this.b=t,this.d=n,this.a=r}function Zh(e,t,n,r){this.c=e,this.d=t,this.b=n,this.a=r}function eot(e,t,n,r){this.a=e,this.d=t,this.c=n,this.b=r}function foe(e,t,n,r){this.a=e,this.e=t,this.d=n,this.c=r}function tot(e,t,n,r){this.a=e,this.c=t,this.d=n,this.b=r}function doe(e,t,n){this.a=kTe,this.d=e,this.b=t,this.c=n}function ex(e,t,n,r){Vr.call(this,e,t),this.a=n,this.b=r}function not(e,t){this.d=(tr(e),e),this.a=16449,this.c=t}function rot(e){this.a=new mt,this.e=We(Ur,dt,53,e,0,2)}function Fpn(e){e.Ug("No crossing minimization",1),e.Vg()}function iot(){Ic.call(this,"There is no more element.")}function sot(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r}function aot(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r}function zm(e,t,n,r){this.e=e,this.a=t,this.c=n,this.d=r}function oot(e,t,n,r){this.a=e,this.c=t,this.d=n,this.b=r}function cot(e,t,n,r){Qh(),olt.call(this,t,n,r),this.a=e}function uot(e,t,n,r){Qh(),olt.call(this,t,n,r),this.a=e}function goe(e,t,n){var r,s;return r=cTe(e),s=t.ti(n,r),s}function Qg(e){var t,n;return n=(t=new iw,t),oT(n,e),n}function poe(e){var t,n;return n=(t=new iw,t),h9e(n,e),n}function Rpn(e,t){var n;return n=or(e.f,t),U7e(t,n),null}function lot(e){return!e.b&&(e.b=new nt(js,e,12,3)),e.b}function hot(e){return V_(e==null||Jae(e)&&e.Tm!==xe),e}function NH(e){return e.n&&(e.e!==f3t&&e.je(),e.j=null),e}function Qk(e){if(Wl(e.d),e.d.d!=e.c)throw ue(new Yh)}function X5e(e){return br(e.b0&&Hgt(this)}function fot(e,t){this.a=e,Ffn.call(this,e,l(e.d,15).fd(t))}function jpn(e,t){return Xi(vl(e)*hh(e),vl(t)*hh(t))}function $pn(e,t){return Xi(vl(e)*hh(e),vl(t)*hh(t))}function zpn(e){return Yw(e)&&Ft(Pt(at(e,(Nt(),kv))))}function qpn(e,t){return xn(e,l(Q(t,(Nt(),VE)),17),t)}function Hpn(e,t){return l(Q(e,(ft(),Yx)),15).Fc(t),t}function Q5e(e,t){return e.b=t.b,e.c=t.c,e.d=t.d,e.a=t.a,e}function dot(e,t,n,r){this.b=e,this.c=r,jq.call(this,t,n)}function Upn(e,t,n){e.i=0,e.e=0,t!=n&&X0t(e,t,n)}function Vpn(e,t,n){e.i=0,e.e=0,t!=n&&Q0t(e,t,n)}function Gpn(e,t,n){return b_(),w5n(l(or(e.e,t),529),n)}function tx(e){var t;return t=e.f,t||(e.f=new Dk(e,e.c))}function got(e,t){return n6(e.j,t.s,t.c)+n6(t.e,e.s,e.c)}function pot(e,t){e.e&&!e.e.a&&(eJe(e.e,t),pot(e.e,t))}function bot(e,t){e.d&&!e.d.a&&(eJe(e.d,t),bot(e.d,t))}function Kpn(e,t){return-Xi(vl(e)*hh(e),vl(t)*hh(t))}function Wpn(e){return l(e.ld(),149).Pg()+":"+Tc(e.md())}function mot(){Wue(this,new yz),this.wb=(wb(),Un),Ak()}function vot(e){this.b=new mt,aa(this.b,this.b),this.a=e}function J5e(e,t){new os,this.a=new pl,this.b=e,this.c=t}function Mw(){Mw=U,D_e=new Ke,V0e=new Ke,I_e=new zt}function Cn(){Cn=U,Co=new je,yg=new Se,wK=new Ce}function Z5e(){Z5e=U,g7t=new uo,b7t=new g5e,p7t=new Es}function nx(){nx=U,_K=new mt,l1e=new Nr,u1e=new mt}function PH(e,t){if(e==null)throw ue(new I8(t));return e}function BH(e){return!e.a&&(e.a=new nt(Li,e,10,11)),e.a}function qi(e){return!e.q&&(e.q=new nt(Vf,e,11,10)),e.q}function tt(e){return!e.s&&(e.s=new nt(fl,e,21,17)),e.s}function Ypn(e){return Xr(e),sgt(new lr(fr(e.a.Kc(),new j)))}function Xpn(e,t){return dh(e),dh(t),lZe(l(e,22),l(t,22))}function qm(e,t,n){var r,s;r=I4e(n),s=new yk(r),Z0(e,t,s)}function moe(e,t,n,r,s,o){dN.call(this,e,t,n,r,s,o?-2:-1)}function wot(e,t,n,r){wye.call(this,t,n),this.b=e,this.a=r}function yot(e,t){mun.call(this,new Yae(e)),this.a=e,this.b=t}function e6e(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function Qpn(e){c0();var t;t=l(e.g,10),t.n.a=e.d.c+t.d.b}function Jk(){Jk=U;var e,t;t=!i6n(),e=new se,$0e=t?new ne:e}function voe(e){return Cn(),De(e,59)?new gse(e):new Kq(e)}function FH(e){return De(e,16)?new G_(l(e,16)):Mdn(e.Kc())}function Jpn(e){return new mrt(e,e.e.Rd().gc()*e.c.Rd().gc())}function Zpn(e){return new vrt(e,e.e.Rd().gc()*e.c.Rd().gc())}function t6e(e){return e&&e.hashCode?e.hashCode():ww(e)}function woe(e,t){return t==null?!!zo(e.f,null):pgn(e.i,t)}function e2n(e,t){var n;return n=Fye(e.a,t),n&&(t.d=null),n}function xot(e,t,n){return e.f?e.f.ef(t,n):!1}function JO(e,t,n,r){Ss(e.c[t.g],n.g,r),Ss(e.c[n.g],t.g,r)}function yoe(e,t,n,r){Ss(e.c[t.g],t.g,n),Ss(e.b[t.g],t.g,r)}function t2n(e,t,n){return ze(Ge(n.a))<=e&&ze(Ge(n.b))>=t}function kot(e,t){this.g=e,this.d=he(le(kg,1),S2,10,0,[t])}function Tot(e){this.c=e,this.b=new n2(l(Xr(new Ou),50))}function Eot(e){this.c=e,this.b=new n2(l(Xr(new f5),50))}function Cot(e){this.b=e,this.a=new n2(l(Xr(new gi),50))}function Sot(){this.b=new Ys,this.d=new os,this.e=new t3e}function n6e(){this.c=new za,this.d=new za,this.e=new za}function Dw(){this.a=new pl,this.b=(Mh(3,Jy),new Pu(3))}function o2(e,t){this.e=e,this.a=ka,this.b=Smt(t),this.c=t}function RH(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function _ot(e,t,n,r,s,o){this.a=e,fce.call(this,t,n,r,s,o)}function Aot(e,t,n,r,s,o){this.a=e,fce.call(this,t,n,r,s,o)}function kb(e,t,n,r,s,o,f){return new Foe(e.e,t,n,r,s,o,f)}function n2n(e,t,n){return n>=0&&wn(e.substr(n,t.length),t)}function Lot(e,t){return De(t,149)&&wn(e.b,l(t,149).Pg())}function r2n(e,t){return e.a?t.Gh().Kc():l(t.Gh(),71).Ii()}function Mot(e,t){var n;return n=e.b.Qc(t),Eut(n,e.b.gc()),n}function ZO(e,t){if(e==null)throw ue(new I8(t));return e}function pc(e){return e.u||(Gl(e),e.u=new uit(e,e)),e.u}function xoe(e){this.a=(Cn(),De(e,59)?new gse(e):new Kq(e))}function il(e){var t;return t=l(Gn(e,16),29),t||e.ii()}function jH(e,t){var n;return n=Pm(e.Rm),t==null?n:n+": "+t}function ef(e,t,n){return Va(t,n,e.length),e.substr(t,n-t)}function Dot(e,t){Jq.call(this),d7e(this),this.a=e,this.c=t}function i2n(e){e&&jH(e,e.ie())}function s2n(e){Qz(),b.setTimeout(function(){throw e},0)}function a2n(){return oV(),he(le($_e,1),it,436,0,[Z0e,j_e])}function o2n(){return gU(),he(le(q_e,1),it,435,0,[z_e,e1e])}function c2n(){return pU(),he(le(bAe,1),it,432,0,[h1e,AK])}function u2n(){return pT(),he(le(pxt,1),it,517,0,[xB,C1e])}function l2n(){return YH(),he(le(ZLe,1),it,429,0,[tde,JLe])}function h2n(){return TN(),he(le(FLe,1),it,428,0,[iW,BLe])}function f2n(){return aU(),he(le(LLe,1),it,431,0,[ALe,$1e])}function d2n(){return xN(),he(le(VDe,1),it,430,0,[Bde,Fde])}function g2n(){return cA(),he(le(aEt,1),it,531,0,[lM,uM])}function p2n(){return MU(),he(le(zIe,1),it,501,0,[WW,J6])}function b2n(){return yd(),he(le(dEt,1),it,523,0,[S3,O2])}function m2n(){return D1(),he(le(pEt,1),it,522,0,[_v,Y1])}function v2n(){return Q0(),he(le(MEt,1),it,528,0,[S4,Qb])}function w2n(){return bN(),he(le($Le,1),it,488,0,[jLe,aW])}function y2n(){return eU(),he(le(MOe,1),it,491,0,[_ge,LOe])}function x2n(){return Sce(),he(le(BOe,1),it,492,0,[NOe,POe])}function k2n(){return GH(),he(le($Ie,1),it,433,0,[sge,jIe])}function T2n(){return cU(),he(le(HIe,1),it,434,0,[qIe,hge])}function E2n(){return Ow(),he(le(FEt,1),it,465,0,[Jb,Y6])}function C2n(){return hN(),he(le(ROe,1),it,438,0,[Ige,sY])}function S2n(){return ON(),he(le(aNe,1),it,437,0,[oY,sNe])}function _2n(){return Dae(),he(le(kY,1),it,347,0,[xPe,kPe])}function $H(e,t,n,r){return n>=0?e.Uh(t,n,r):e.Ch(null,n,r)}function eN(e){return e.b.b==0?e.a.sf():Bae(e.b)}function A2n(e){if(e.p!=5)throw ue(new gl);return Yr(e.f)}function L2n(e){if(e.p!=5)throw ue(new gl);return Yr(e.k)}function r6e(e){return qe(e.a)===qe((Ece(),bpe))&&_Mn(e),e.a}function M2n(e,t){e.b=t,e.c>0&&e.b>0&&(e.g=gH(e.c,e.b,e.a))}function D2n(e,t){e.c=t,e.c>0&&e.b>0&&(e.g=gH(e.c,e.b,e.a))}function Iot(e,t){ce(this,new lt(e.a,e.b)),ve(this,HO(t))}function Iw(){vun.call(this,new P8(Dy(12))),qye(!0),this.a=2}function koe(e,t,n){Ii(),rw.call(this,e),this.b=t,this.a=n}function i6e(e,t,n){Qh(),qz.call(this,t),this.a=e,this.b=n}function Oot(e){var t;t=e.c.d.b,e.b=t,e.a=e.c.d,t.a=e.c.d.b=e}function I2n(e){return e.b==0?null:(br(e.b!=0),sf(e,e.a.a))}function wu(e,t){return t==null?dc(zo(e.f,null)):x_(e.i,t)}function Not(e,t,n,r,s){return new Xue(e,(sT(),Y0e),t,n,r,s)}function zH(e,t){return xut(t),n3n(e,We(Ur,fi,28,t,15,1),t)}function qH(e,t){return PH(e,"set1"),PH(t,"set2"),new ket(e,t)}function O2n(e,t){var n=j0e[e.charCodeAt(0)];return n??e}function Pot(e,t){var n,r;return n=t,r=new yt,cwt(e,n,r),r.d}function Toe(e,t,n,r){var s;s=new fit,t.a[n.g]=s,J8(e.b,r,s)}function N2n(e,t){var n;return n=Zwn(e.f,t),Pi(Qq(n),e.f.d)}function tN(e){var t;l3n(e.a),qnt(e.a),t=new t_(e.a),U8e(t)}function P2n(e,t){bmt(e,!0),Uu(e.e.Rf(),new B4e(e,!0,t))}function B2n(e,t){return nx(),e==ds(hg(t))||e==ds(Ib(t))}function F2n(e,t){return sp(),l(Q(t,(Vc(),jd)),17).a==e}function da(e){return Math.max(Math.min(e,Ni),-2147483648)|0}function Bot(e){this.a=l(Xr(e),277),this.b=(Cn(),new Yye(e))}function Fot(e,t,n){this.i=new mt,this.b=e,this.g=t,this.a=n}function s6e(e,t,n){this.a=new mt,this.e=e,this.f=t,this.c=n}function HH(e,t,n){this.c=new mt,this.e=e,this.f=t,this.b=n}function Rot(e){Jq.call(this),d7e(this),this.a=e,this.c=!0}function R2n(e){function t(){}return t.prototype=e||{},new t}function j2n(e){if(e.Ae())return null;var t=e.n;return dK[t]}function nN(e){return e.Db>>16!=3?null:l(e.Cb,27)}function M1(e){return e.Db>>16!=9?null:l(e.Cb,27)}function jot(e){return e.Db>>16!=6?null:l(e.Cb,74)}function Ow(){Ow=U,Jb=new oye(Dx,0),Y6=new oye(Ix,1)}function yd(){yd=U,S3=new iye(Ix,0),O2=new iye(Dx,1)}function D1(){D1=U,_v=new sye(Ohe,0),Y1=new sye("UP",1)}function $ot(){$ot=U,B6t=Kr((Wz(),he(le(P6t,1),it,549,0,[F0e])))}function zot(e){var t;return t=new tq(Dy(e.length)),r8e(t,e),t}function qot(e,t){return e.b+=t.b,e.c+=t.c,e.d+=t.d,e.a+=t.a,e}function $2n(e,t){return A0t(e,t)?(Eft(e),!0):!1}function Jg(e,t){if(t==null)throw ue(new _8);return a6n(e,t)}function rN(e,t){var n;n=e.q.getHours(),e.q.setDate(t),QA(e,n)}function a6e(e,t,n){var r;r=e.Ih(t),r>=0?e.bi(r,n):ike(e,t,n)}function Hot(e,t){var n;return n=e.Ih(t),n>=0?e.Wh(n):nle(e,t)}function Uot(e,t){var n;for(Xr(t),n=e.a;n;n=n.c)t.Yd(n.g,n.i)}function Eoe(e,t,n){var r;r=W0t(e,t,n),e.b=new IU(r.c.length)}function K5(e,t,n){UH(),e&&Ti(dpe,e,t),e&&Ti(vF,e,n)}function z2n(e,t){return rH(),Hn(),l(t.a,17).a0}function o6e(e){var t;return t=e.d,t=e.bj(e.f),zr(e,t),t.Ob()}function Vot(e,t){var n;return n=new h5e(t),bpt(n,e),new Ml(n)}function U2n(e){if(e.p!=0)throw ue(new gl);return O_(e.f,0)}function V2n(e){if(e.p!=0)throw ue(new gl);return O_(e.k,0)}function Got(e){return e.Db>>16!=7?null:l(e.Cb,241)}function Zk(e){return e.Db>>16!=6?null:l(e.Cb,241)}function Kot(e){return e.Db>>16!=7?null:l(e.Cb,167)}function ds(e){return e.Db>>16!=11?null:l(e.Cb,27)}function Cy(e){return e.Db>>16!=17?null:l(e.Cb,29)}function Wot(e){return e.Db>>16!=3?null:l(e.Cb,155)}function c6e(e){var t;return Mb(e),t=new Ys,ji(e,new E5(t))}function Yot(e,t){var n=e.a=e.a||[];return n[t]||(n[t]=e.ve(t))}function G2n(e,t){var n;n=e.q.getHours(),e.q.setMonth(t),QA(e,n)}function Xot(e,t){Vq(this),this.f=t,this.g=e,NH(this),this.je()}function Qot(e,t){this.a=e,this.c=Xa(this.a),this.b=new RH(t)}function Jot(e,t,n){this.a=t,this.c=e,this.b=(Xr(n),new Ml(n))}function Zot(e,t,n){this.a=t,this.c=e,this.b=(Xr(n),new Ml(n))}function ect(e){this.a=e,this.b=We(rEt,dt,2043,e.e.length,0,2)}function tct(){this.a=new pd,this.e=new Ys,this.g=0,this.i=0}function UH(){UH=U,dpe=new Nr,vF=new Nr,$ln(e7t,new MS)}function nct(){nct=U,zTt=wl(new Js,(so(),wc),(po(),kB))}function u6e(){u6e=U,qTt=wl(new Js,(so(),wc),(po(),kB))}function rct(){rct=U,UTt=wl(new Js,(so(),wc),(po(),kB))}function ict(){ict=U,cEt=hi(new Js,(so(),wc),(po(),qL))}function Sh(){Sh=U,hEt=hi(new Js,(so(),wc),(po(),qL))}function sct(){sct=U,fEt=hi(new Js,(so(),wc),(po(),qL))}function Soe(){Soe=U,mEt=hi(new Js,(so(),wc),(po(),qL))}function iA(e,t,n,r,s,o){return new rp(e.e,t,e.Lj(),n,r,s,o)}function sc(e,t,n){return t==null?Ru(e.f,null,n):Hw(e.i,t,n)}function ho(e,t){e.c&&sl(e.c.g,e),e.c=t,e.c&&wt(e.c.g,e)}function Ha(e,t){e.c&&sl(e.c.a,e),e.c=t,e.c&&wt(e.c.a,e)}function Nc(e,t){e.i&&sl(e.i.j,e),e.i=t,e.i&&wt(e.i.j,e)}function Na(e,t){e.d&&sl(e.d.e,e),e.d=t,e.d&&wt(e.d.e,e)}function _oe(e,t){e.a&&sl(e.a.k,e),e.a=t,e.a&&wt(e.a.k,e)}function Aoe(e,t){e.b&&sl(e.b.f,e),e.b=t,e.b&&wt(e.b.f,e)}function act(e,t){ipn(e,e.b,e.c),l(e.b.b,68),t&&l(t.b,68).b}function K2n(e,t){return Xi(l(e.c,65).c.e.b,l(t.c,65).c.e.b)}function W2n(e,t){return Xi(l(e.c,65).c.e.a,l(t.c,65).c.e.a)}function Y2n(e){return Uce(),Hn(),l(e.a,86).d.e!=0}function VH(e,t){De(e.Cb,184)&&(l(e.Cb,184).tb=null),Bu(e,t)}function Loe(e,t){De(e.Cb,90)&&Uy(Gl(l(e.Cb,90)),4),Bu(e,t)}function X2n(e,t){P8e(e,t),De(e.Cb,90)&&Uy(Gl(l(e.Cb,90)),2)}function Q2n(e,t){var n,r;n=t.c,r=n!=null,r&&Z8(e,new Ty(t.c))}function oct(e){var t,n;return n=(Ak(),t=new iw,t),oT(n,e),n}function cct(e){var t,n;return n=(Ak(),t=new iw,t),oT(n,e),n}function uct(e){for(var t;;)if(t=e.Pb(),!e.Ob())return t}function J2n(e,t,n){return wt(e.a,(MH(),Sue(t,n),new hw(t,n))),e}function yu(e,t){return Ro(),ice(t)?new lH(t,e):new AO(t,e)}function iN(e){return Ed(),su(e,0)>=0?Db(e):Z_(Db(f2(e)))}function Z2n(e){var t;return t=l(cH(e.b),9),new Jh(e.a,t,e.c)}function lct(e,t){var n;return n=l(By(tx(e.a),t),16),n?n.gc():0}function hct(e,t,n){var r;B1t(t,n,e.c.length),r=n-t,D3e(e.c,t,r)}function c2(e,t,n){B1t(t,n,e.gc()),this.c=e,this.a=t,this.b=n-t}function rx(e){this.c=new os,this.b=e.b,this.d=e.c,this.a=e.a}function Moe(e){this.a=b.Math.cos(e),this.b=b.Math.sin(e)}function Hm(e,t,n,r){this.c=e,this.d=r,_oe(this,t),Aoe(this,n)}function l6e(e,t){bun.call(this,new P8(Dy(e))),Mh(t,a3t),this.a=t}function fct(e,t,n){return new Xue(e,(sT(),W0e),null,!1,t,n)}function dct(e,t,n){return new Xue(e,(sT(),X0e),t,n,null,!1)}function ebn(){return Nl(),he(le(uc,1),it,108,0,[R_e,Cc,o4])}function tbn(){return al(),he(le(C7t,1),it,472,0,[s1,Gb,v0])}function nbn(){return Ol(),he(le(T7t,1),it,471,0,[Bd,Vb,m0])}function rbn(){return e1(),he(le(c4,1),it,237,0,[Wc,ju,Yc])}function ibn(){return hA(),he(le(DAe,1),it,391,0,[p1e,g1e,b1e])}function sbn(){return $w(),he(le(D1e,1),it,372,0,[g3,Kb,d3])}function abn(){return gA(),he(le(DLe,1),it,322,0,[UL,CB,MLe])}function obn(){return TU(),he(le(OLe,1),it,351,0,[ILe,rW,z1e])}function cbn(){return Jm(),he(le(Gxt,1),it,460,0,[U1e,jE,F6])}function ubn(){return yT(),he(le(ede,1),it,299,0,[J1e,Z1e,SB])}function lbn(){return ip(),he(le(e9t,1),it,311,0,[_B,j6,Gx])}function hbn(){return EA(),he(le(PDe,1),it,390,0,[Lde,NDe,NW])}function fbn(){return qo(),he(le(NTt,1),it,463,0,[aM,Fl,$u])}function dbn(){return FU(),he(le(WDe,1),it,387,0,[GDe,Rde,KDe])}function gbn(){return xA(),he(le(YDe,1),it,349,0,[$de,jde,RB])}function pbn(){return AT(),he(le(QDe,1),it,350,0,[zde,XDe,oM])}function bbn(){return kU(),he(le(eIe,1),it,352,0,[ZDe,qde,JDe])}function mbn(){return zU(),he(le(tIe,1),it,388,0,[Hde,JE,C4])}function vbn(){return jw(),he(le(tEt,1),it,464,0,[jB,cM,RW])}function I1(e){return Bc(he(le(Ca,1),dt,8,0,[e.i.n,e.n,e.a]))}function wbn(){return kA(),he(le(vIe,1),it,392,0,[mIe,Gde,zB])}function gct(){gct=U,fCt=wl(new Js,(yx(),fM),(YA(),cIe))}function GH(){GH=U,sge=new cye("DFS",0),jIe=new cye("BFS",1)}function pct(e,t,n){var r;r=new Cte,r.b=t,r.a=n,++t.b,wt(e.d,r)}function ybn(e,t,n){var r;r=new xo(n.d),Pi(r,e),N8e(t,r.a,r.b)}function xbn(e,t){crt(e,Yr(xa(Tw(t,24),oG)),Yr(xa(t,oG)))}function Sy(e,t){if(e<0||e>t)throw ue(new rc(DTe+e+ITe+t))}function Sn(e,t){if(e<0||e>=t)throw ue(new rc(DTe+e+ITe+t))}function Yn(e,t){if(e<0||e>=t)throw ue(new v3e(DTe+e+ITe+t))}function kn(e,t){this.b=(tr(e),e),this.a=t&Zy?t:t|64|Sd}function h6e(e){var t;return Mb(e),t=(Mw(),Mw(),V0e),vU(e,t)}function kbn(e,t,n){var r;return r=eL(e,t,!1),r.b<=t&&r.a<=n}function Tbn(){return uU(),he(le(OOe,1),it,439,0,[Age,IOe,DOe])}function Ebn(){return XU(),he(le(gOe,1),it,394,0,[dOe,Tge,fOe])}function Cbn(){return nV(),he(le(hOe,1),it,445,0,[GB,JW,mge])}function Sbn(){return dV(),he(le(HCt,1),it,456,0,[vge,yge,wge])}function _bn(){return FN(),he(le(GIe,1),it,393,0,[YW,UIe,VIe])}function Abn(){return BU(),he(le(lOe,1),it,300,0,[bge,uOe,cOe])}function Lbn(){return op(),he(le(dPe,1),it,346,0,[pY,F2,IM])}function Mbn(){return HN(),he(le(Lge,1),it,444,0,[nY,rY,iY])}function Dbn(){return F1(),he(le(tPe,1),it,278,0,[iC,M4,sC])}function Ibn(){return gx(),he(le(yPe,1),it,280,0,[wPe,I4,xY])}function Nw(e){return Xr(e),De(e,16)?new Ml(l(e,16)):qk(e.Kc())}function f6e(e,t){return e&&e.equals?e.equals(t):qe(e)===qe(t)}function xa(e,t){return Sb(Egn(xc(e)?Mf(e):e,xc(t)?Mf(t):t))}function X0(e,t){return Sb(Cgn(xc(e)?Mf(e):e,xc(t)?Mf(t):t))}function Doe(e,t){return Sb(Sgn(xc(e)?Mf(e):e,xc(t)?Mf(t):t))}function Obn(e,t){var n;return n=(tr(e),e).g,a4e(!!n),tr(t),n(t)}function bct(e,t){var n,r;return r=Vk(e,t),n=e.a.fd(r),new yet(e,n)}function Nbn(e){return e.Db>>16!=6?null:l(sle(e),241)}function Pbn(e){if(e.p!=2)throw ue(new gl);return Yr(e.f)&ta}function Bbn(e){if(e.p!=2)throw ue(new gl);return Yr(e.k)&ta}function re(e){return br(e.ar?1:0}function yct(e,t){var n,r;return n=ece(t),r=n,l(or(e.c,r),17).a}function Ioe(e,t,n){var r;r=e.d[t.p],e.d[t.p]=e.d[n.p],e.d[n.p]=r}function Kbn(e,t,n){var r;e.n&&t&&n&&(r=new ore,wt(e.e,r))}function Ooe(e,t){if(sa(e.a,t),t.d)throw ue(new Ic(L3t));t.d=e}function p6e(e,t){this.a=new mt,this.d=new mt,this.f=e,this.c=t}function xct(){this.c=new irt,this.a=new llt,this.b=new yJe,$et()}function kct(){fx(),this.b=new Nr,this.a=new Nr,this.c=new mt}function Tct(e,t,n){this.d=e,this.j=t,this.e=n,this.o=-1,this.p=3}function Ect(e,t,n){this.d=e,this.k=t,this.f=n,this.o=-1,this.p=5}function Cct(e,t,n,r,s,o){p7e.call(this,e,t,n,r,s),o&&(this.o=-2)}function Sct(e,t,n,r,s,o){b7e.call(this,e,t,n,r,s),o&&(this.o=-2)}function _ct(e,t,n,r,s,o){O6e.call(this,e,t,n,r,s),o&&(this.o=-2)}function Act(e,t,n,r,s,o){w7e.call(this,e,t,n,r,s),o&&(this.o=-2)}function Lct(e,t,n,r,s,o){N6e.call(this,e,t,n,r,s),o&&(this.o=-2)}function Mct(e,t,n,r,s,o){m7e.call(this,e,t,n,r,s),o&&(this.o=-2)}function Dct(e,t,n,r,s,o){v7e.call(this,e,t,n,r,s),o&&(this.o=-2)}function Ict(e,t,n,r,s,o){P6e.call(this,e,t,n,r,s),o&&(this.o=-2)}function Oct(e,t,n,r){qz.call(this,n),this.b=e,this.c=t,this.d=r}function Nct(e,t){this.f=e,this.a=(nT(),NY),this.c=NY,this.b=t}function Pct(e,t){this.g=e,this.d=(nT(),PY),this.a=PY,this.b=t}function b6e(e,t){!e.c&&(e.c=new Ms(e,0)),QV(e.c,(Wi(),UM),t)}function Wbn(e,t){return MEn(e,t,De(t,102)&&(l(t,19).Bb&Lo)!=0)}function Ybn(e,t){return pat(tu(e.q.getTime()),tu(t.q.getTime()))}function Bct(e){return jae(e.e.Rd().gc()*e.c.Rd().gc(),16,new Lie(e))}function Xbn(e){return!!e.u&&fu(e.u.a).i!=0&&!(e.n&&kue(e.n))}function Qbn(e){return!!e.a&&Kl(e.a.a).i!=0&&!(e.b&&Tue(e.b))}function m6e(e,t){return t==0?!!e.o&&e.o.f!=0:bue(e,t)}function Jbn(e,t,n){var r;return r=l(e.Zb().xc(t),16),!!r&&r.Hc(n)}function Fct(e,t,n){var r;return r=l(e.Zb().xc(t),16),!!r&&r.Mc(n)}function Rct(e,t){var n;return n=1-t,e.a[n]=DU(e.a[n],n),DU(e,t)}function jct(e,t){var n,r;return r=xa(e,Uo),n=u0(t,32),X0(n,r)}function $ct(e,t,n){var r;r=(Xr(e),new Ml(e)),e8n(new Jot(r,t,n))}function sN(e,t,n){var r;r=(Xr(e),new Ml(e)),t8n(new Zot(r,t,n))}function Hc(e,t,n,r,s,o){return m0t(e,t,n,o),S8e(e,r),_8e(e,s),e}function zct(e,t,n,r){return e.a+=""+ef(t==null?cl:Tc(t),n,r),e}function Ua(e,t){this.a=e,xr.call(this,e),Sy(t,e.gc()),this.b=t}function qct(e){this.a=We(ka,jn,1,Z7e(b.Math.max(8,e))<<1,5,1)}function aN(e){return l(j1(e,We(kg,S2,10,e.c.length,0,1)),199)}function xd(e){return l(j1(e,We(T1e,Xhe,18,e.c.length,0,1)),483)}function Hct(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}function sA(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function Uct(e){return br(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function Zbn(e,t,n){e.a=t,e.c=n,e.b.a.$b(),Ch(e.d),uy(e.e.a.c,0)}function Vct(e,t){var n;e.e=new c3e,n=Gy(t),Gs(n,e.c),smt(e,n,0)}function Zs(e,t,n,r){var s;s=new ek,s.a=t,s.b=n,s.c=r,ci(e.a,s)}function pt(e,t,n,r){var s;s=new ek,s.a=t,s.b=n,s.c=r,ci(e.b,s)}function Gct(e,t,n){if(e<0||tn)throw ue(new rc(fkn(e,t,n)))}function oN(e,t){if(e<0||e>=t)throw ue(new rc(Hkn(e,t)));return e}function emn(e){if(!("stack"in e))try{throw e}catch{}return e}function W5(e){return b_(),De(e.g,10)?l(e.g,10):null}function tmn(e){return G5(e).dc()?!1:(Ehn(e,new oe),!0)}function Vm(e){var t;return xc(e)?(t=e,t==-0?0:t):bwn(e)}function Kct(e,t){return De(t,44)?Aue(e.a,l(t,44)):!1}function Wct(e,t){return De(t,44)?Aue(e.a,l(t,44)):!1}function Yct(e,t){return De(t,44)?Aue(e.a,l(t,44)):!1}function v6e(e){var t;return xb(e),t=new Ne,M5(e.a,new T5(t)),t}function w6e(){var e,t,n;return t=(n=(e=new iw,e),n),wt(nBe,t),t}function KH(e){var t;return xb(e),t=new pn,M5(e.a,new C8(t)),t}function nmn(e,t){return e.a<=e.b?(t.Dd(e.a++),!0):!1}function Xct(e){xce.call(this,e,(sT(),K0e),null,!1,null,!1)}function Qct(){Qct=U,r8t=Kr((oq(),he(le(uAe,1),it,489,0,[a1e])))}function Jct(){Jct=U,rIe=Uat(bt(1),bt(4)),nIe=Uat(bt(1),bt(2))}function rmn(e,t){return new Oae(t,q_(Xa(t.e),e,e),(Hn(),!0))}function WH(e){return new Pu((Mh(e,Qle),bU(fo(fo(5,e),e/10|0))))}function imn(e){return jae(e.e.Rd().gc()*e.c.Rd().gc(),273,new Aie(e))}function Zct(e){return l(j1(e,We(fxt,oyt,12,e.c.length,0,1)),2042)}function smn(e){return Sh(),!Ao(e)&&!(!Ao(e)&&e.c.i.c==e.d.i.c)}function amn(e,t){return lx(),l(Q(t,(Vc(),X6)),17).a>=e.gc()}function aA(e,t){qIn(t,e),J4e(e.d),J4e(l(Q(e,(Nt(),_W)),214))}function Noe(e,t){HIn(t,e),Z4e(e.d),Z4e(l(Q(e,(Nt(),_W)),214))}function omn(e,t,n){e.d&&sl(e.d.e,e),e.d=t,e.d&&kw(e.d.e,n,e)}function cmn(e,t,n){return n.f.c.length>0?_5e(e.a,t,n):_5e(e.b,t,n)}function umn(e,t,n){var r;r=S6n();try{return Xfn(e,t,n)}finally{tvn(r)}}function Pw(e,t){var n,r;return n=Jg(e,t),r=null,n&&(r=n.pe()),r}function oA(e,t){var n,r;return n=Jg(e,t),r=null,n&&(r=n.se()),r}function eT(e,t){var n,r;return n=My(e,t),r=null,n&&(r=n.se()),r}function Zg(e,t){var n,r;return n=Jg(e,t),r=null,n&&(r=v9e(n)),r}function lmn(e,t,n){var r;return r=BT(n),GV(e.g,r,t),GV(e.i,t,n),t}function y6e(e,t,n){this.d=new cXe(this),this.e=e,this.i=t,this.f=n}function eut(e,t,n,r){this.e=null,this.c=e,this.d=t,this.a=n,this.b=r}function tut(e,t,n,r){Jnt(this),this.c=e,this.e=t,this.f=n,this.b=r}function x6e(e,t,n,r){this.d=e,this.n=t,this.g=n,this.o=r,this.p=-1}function nut(e,t,n,r){return De(n,59)?new Irt(e,t,n,r):new x5e(e,t,n,r)}function tT(e){return De(e,16)?l(e,16).dc():!e.Kc().Ob()}function rut(e){if(e.e.g!=e.b)throw ue(new Yh);return!!e.c&&e.d>0}function Pr(e){return br(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function k6e(e,t){tr(t),Ss(e.a,e.c,t),e.c=e.c+1&e.a.length-1,Cgt(e)}function Tb(e,t){tr(t),e.b=e.b-1&e.a.length-1,Ss(e.a,e.b,t),Cgt(e)}function iut(e){var t;t=e.Gh(),this.a=De(t,71)?l(t,71).Ii():t.Kc()}function hmn(e){return new kn(Xwn(l(e.a.md(),16).gc(),e.a.ld()),16)}function sut(){sut=U,ySt=Kr((lq(),he(le(FOe,1),it,490,0,[Mge])))}function aut(){aut=U,kSt=Kr((hq(),he(le(xSt,1),it,558,0,[Dge])))}function out(){out=U,$St=Kr((m_(),he(le(iNe,1),it,539,0,[XB])))}function fmn(){return tv(),he(le(PAe,1),it,389,0,[h4,NAe,x1e,k1e])}function dmn(){return sT(),he(le(yK,1),it,304,0,[K0e,W0e,Y0e,X0e])}function gmn(){return mx(),he(le(J7t,1),it,332,0,[gB,dB,pB,bB])}function pmn(){return PA(),he(le(t8t,1),it,406,0,[mB,EK,CK,vB])}function bmn(){return qw(),he(le(X7t,1),it,417,0,[fB,hB,i1e,s1e])}function mmn(){return xT(),he(le(ext,1),it,416,0,[f3,l4,u4,I6])}function vmn(){return R1(),he(le(Mxt,1),it,421,0,[Vx,IE,OE,M1e])}function wmn(){return $U(),he(le(wxt,1),it,371,0,[L1e,QK,JK,TB])}function ymn(){return jy(),he(le(Dde,1),it,203,0,[PW,Mde,W6,K6])}function xmn(){return kd(),he(le(UDe,1),it,284,0,[I2,HDe,Nde,Pde])}function kmn(e){var t;return e.j==(_t(),Mr)&&(t=K2t(e),ml(t,sr))}function Tmn(e,t){var n;n=t.a,ho(n,t.c.d),Na(n,t.d.d),Ny(n.a,e.n)}function T6e(e,t){var n;return n=l(B1(e.b,t),67),!n&&(n=new os),n}function sx(e){return b_(),De(e.g,154)?l(e.g,154):null}function Emn(e){e.a=null,e.e=null,uy(e.b.c,0),uy(e.f.c,0),e.c=null}function YH(){YH=U,tde=new tye(lE,0),JLe=new tye("TOP_LEFT",1)}function cA(){cA=U,lM=new rye("UPPER",0),uM=new rye("LOWER",1)}function Cmn(e,t){return q8(new lt(t.e.a+t.f.a/2,t.e.b+t.f.b/2),e)}function cut(e,t){return l(uh(xy(l($i(e.k,t),15).Oc(),N6)),113)}function uut(e,t){return l(uh(X8(l($i(e.k,t),15).Oc(),N6)),113)}function Smn(){return yx(),he(le(aIe,1),it,405,0,[qW,hM,fM,dM])}function _mn(){return TA(),he(le(RIe,1),it,353,0,[ige,KW,rge,nge])}function Amn(){return mV(),he(le(oOe,1),it,354,0,[pge,sOe,aOe,iOe])}function Lmn(){return gh(),he(le(FM,1),it,386,0,[fF,Ov,hF,D4])}function Mmn(){return Ih(),he(le(__t,1),it,291,0,[cF,Cg,tm,oF])}function Dmn(){return cp(),he(le(ipe,1),it,223,0,[rpe,aF,aC,a9])}function Imn(){return JU(),he(le(SPe,1),it,320,0,[ope,TPe,CPe,EPe])}function Omn(){return qU(),he(le(U_t,1),it,415,0,[cpe,APe,_Pe,LPe])}function Nmn(e){return UH(),Hu(dpe,e)?l(or(dpe,e),341).Qg():null}function tf(e,t,n){return t<0?nle(e,n):l(n,69).wk().Bk(e,e.hi(),t)}function Pmn(e,t,n){var r;return r=BT(n),GV(e.j,r,t),Ti(e.k,t,n),t}function Bmn(e,t,n){var r;return r=BT(n),GV(e.d,r,t),Ti(e.e,t,n),t}function lut(e){var t,n;return t=(fb(),n=new II,n),e&&BV(t,e),t}function E6e(e){var t;return t=e.aj(e.i),e.i>0&&gu(e.g,0,t,0,e.i),t}function hut(e,t){var n;for(n=e.j.c.length;n>24}function Rmn(e){if(e.p!=1)throw ue(new gl);return Yr(e.k)<<24>>24}function jmn(e){if(e.p!=7)throw ue(new gl);return Yr(e.k)<<16>>16}function $mn(e){if(e.p!=7)throw ue(new gl);return Yr(e.f)<<16>>16}function Y5(e,t){return t.e==0||e.e==0?FL:(WT(),hle(e,t))}function gut(e,t){return qe(t)===qe(e)?"(this Map)":t==null?cl:Tc(t)}function zmn(e,t,n){return Wae(Ge(dc(zo(e.f,t))),Ge(dc(zo(e.f,n))))}function qmn(e,t,n){var r;r=l(or(e.g,n),60),wt(e.a.c,new fa(t,r))}function put(e,t,n){e.i=0,e.e=0,t!=n&&(Q0t(e,t,n),X0t(e,t,n))}function Hmn(e,t,n,r,s){var o;o=UEn(s,n,r),wt(t,Bkn(s,o)),_9n(e,s,t)}function C6e(e,t,n,r,s){this.i=e,this.a=t,this.e=n,this.j=r,this.f=s}function but(e,t){n6e.call(this),this.a=e,this.b=t,wt(this.a.b,this)}function mut(e){this.b=new Nr,this.c=new Nr,this.d=new Nr,this.a=e}function vut(e,t){var n;return n=new A5,e.Gd(n),n.a+="..",t.Hd(n),n.a}function wut(e,t){var n;for(n=t;n;)yw(e,n.i,n.j),n=ds(n);return e}function yut(e,t,n){var r;return r=BT(n),Ti(e.b,r,t),Ti(e.c,t,n),t}function ep(e){var t;for(t=0;e.Ob();)e.Pb(),t=fo(t,1);return bU(t)}function cg(e,t){Ro();var n;return n=l(e,69).vk(),H9n(n,t),n.xl(t)}function Umn(e,t,n){if(n){var r=n.oe();e.a[t]=r(n)}else delete e.a[t]}function S6e(e,t){var n;n=e.q.getHours(),e.q.setFullYear(t+Rb),QA(e,n)}function Vmn(e,t){return l(t==null?dc(zo(e.f,null)):x_(e.i,t),288)}function _6e(e,t){return e==(Jn(),Bs)&&t==Bs?4:e==Bs||t==Bs?8:32}function XH(e,t,n){return WV(e,t,n,De(t,102)&&(l(t,19).Bb&Lo)!=0)}function Gmn(e,t,n){return JT(e,t,n,De(t,102)&&(l(t,19).Bb&Lo)!=0)}function Kmn(e,t,n){return FEn(e,t,n,De(t,102)&&(l(t,19).Bb&Lo)!=0)}function A6e(e){e.b!=e.c&&(e.a=We(ka,jn,1,8,5,1),e.b=0,e.c=0)}function uA(e){return br(e.a=0&&e.a[n]===t[n];n--);return n<0}function QH(e){var t;return e?new h5e(e):(t=new pd,wce(t,e),t)}function evn(e,t){var n,r;r=!1;do n=$0t(e,t),r=r|n;while(n);return r}function tvn(e){e&&_wn((g3e(),l_e)),--gK,e&&pK!=-1&&(Gln(pK),pK=-1)}function JH(e){n9e(),crt(this,Yr(xa(Tw(e,24),oG)),Yr(xa(e,oG)))}function Cut(){Cut=U,m7t=Kr((oV(),he(le($_e,1),it,436,0,[Z0e,j_e])))}function Sut(){Sut=U,v7t=Kr((gU(),he(le(q_e,1),it,435,0,[z_e,e1e])))}function _ut(){_ut=U,y8t=Kr((pU(),he(le(bAe,1),it,432,0,[h1e,AK])))}function Aut(){Aut=U,bxt=Kr((pT(),he(le(pxt,1),it,517,0,[xB,C1e])))}function Lut(){Lut=U,n9t=Kr((YH(),he(le(ZLe,1),it,429,0,[tde,JLe])))}function Mut(){Mut=U,Vxt=Kr((TN(),he(le(FLe,1),it,428,0,[iW,BLe])))}function Dut(){Dut=U,Yxt=Kr((bN(),he(le($Le,1),it,488,0,[jLe,aW])))}function Iut(){Iut=U,OTt=Kr((xN(),he(le(VDe,1),it,430,0,[Bde,Fde])))}function Out(){Out=U,oEt=Kr((cA(),he(le(aEt,1),it,531,0,[lM,uM])))}function Nut(){Nut=U,zxt=Kr((aU(),he(le(LLe,1),it,431,0,[ALe,$1e])))}function Put(){Put=U,hCt=Kr((GH(),he(le($Ie,1),it,433,0,[sge,jIe])))}function But(){But=U,bCt=Kr((MU(),he(le(zIe,1),it,501,0,[WW,J6])))}function Fut(){Fut=U,gEt=Kr((yd(),he(le(dEt,1),it,523,0,[S3,O2])))}function Rut(){Rut=U,bEt=Kr((D1(),he(le(pEt,1),it,522,0,[_v,Y1])))}function jut(){jut=U,DEt=Kr((Q0(),he(le(MEt,1),it,528,0,[S4,Qb])))}function $ut(){$ut=U,REt=Kr((Ow(),he(le(FEt,1),it,465,0,[Jb,Y6])))}function zut(){zut=U,wCt=Kr((cU(),he(le(HIe,1),it,434,0,[qIe,hge])))}function qut(){qut=U,gSt=Kr((eU(),he(le(MOe,1),it,491,0,[_ge,LOe])))}function Hut(){Hut=U,bSt=Kr((Sce(),he(le(BOe,1),it,492,0,[NOe,POe])))}function Uut(){Uut=U,TSt=Kr((hN(),he(le(ROe,1),it,438,0,[Ige,sY])))}function Vut(){Vut=U,zSt=Kr((ON(),he(le(aNe,1),it,437,0,[oY,sNe])))}function Gut(){Gut=U,z_t=Kr((Dae(),he(le(kY,1),it,347,0,[xPe,kPe])))}function nvn(){return ea(),he(le(MM,1),it,88,0,[J1,yc,hc,Q1,vf])}function rvn(){return _t(),he(le(Mo,1),ou,64,0,[jc,Xn,sr,Mr,Zn])}function ivn(e,t,n){return l(t==null?Ru(e.f,null,n):Hw(e.i,t,n),288)}function svn(e){return(e.k==(Jn(),Bs)||e.k==Ks)&&rs(e,(ft(),WL))}function joe(e){return e.c&&e.d?g6e(e.c)+"->"+g6e(e.d):"e_"+ww(e)}function Za(e,t){var n,r;for(tr(t),r=e.Kc();r.Ob();)n=r.Pb(),t.Cd(n)}function avn(e,t){var n;n=new D8,qm(n,"x",t.a),qm(n,"y",t.b),Z8(e,n)}function ovn(e,t){var n;n=new D8,qm(n,"x",t.a),qm(n,"y",t.b),Z8(e,n)}function Kut(e,t){var n;for(n=t;n;)yw(e,-n.i,-n.j),n=ds(n);return e}function M6e(e,t){var n,r;for(n=t,r=0;n>0;)r+=e.a[n],n-=n&-n;return r}function nf(e,t,n){var r;return r=(Sn(t,e.c.length),e.c[t]),e.c[t]=n,r}function D6e(e,t,n){e.a.c.length=0,IMn(e,t,n),e.a.c.length==0||aAn(e,t)}function cN(e){e.i=0,gO(e.b,null),gO(e.c,null),e.a=null,e.e=null,++e.g}function ZH(){ZH=U,G1=!0,o7t=!1,c7t=!1,l7t=!1,u7t=!1}function $oe(e){ZH(),!G1&&(this.c=e,this.e=!0,this.a=new mt)}function Wut(e,t){this.c=0,this.b=t,mnt.call(this,e,17493),this.a=this.c}function Yut(e){Qwt(),tJe(this),this.a=new os,l8e(this,e),ci(this.a,e)}function Xut(){uae(this),this.b=new lt(gs,gs),this.a=new lt(oa,oa)}function eU(){eU=U,_ge=new hye(oEe,0),LOe=new hye("TARGET_WIDTH",1)}function X5(e,t){return(Mb(e),Lk(new vn(e,new i7e(t,e.a)))).Bd(qx)}function cvn(){return so(),he(le(IAe,1),it,367,0,[w0,xg,pu,Cu,wc])}function uvn(){return zy(),he(le(Ixt,1),it,375,0,[EB,tW,nW,eW,ZK])}function lvn(){return w2(),he(le(PLe,1),it,348,0,[q1e,NLe,H1e,RE,FE])}function hvn(){return NA(),he(le(FDe,1),it,323,0,[BDe,Ide,Ode,iM,sM])}function fvn(){return lf(),he(le(fMe,1),it,171,0,[DB,XL,Yb,QL,b4])}function dvn(){return EV(),he(le(mCt,1),it,368,0,[uge,age,lge,oge,cge])}function gvn(){return VA(),he(le(mSt,1),it,373,0,[Z6,t9,kM,xM,YB])}function pvn(){return iP(),he(le(qOe,1),it,324,0,[jOe,Oge,zOe,Nge,$Oe])}function bvn(){return n1(),he(le(Eg,1),it,170,0,[Bn,pa,$d,Av,P2])}function mvn(){return r6(),he(le(NM,1),it,256,0,[nm,uF,gPe,OM,pPe])}function vvn(e){return Qz(),function(){return umn(e,this,arguments)}}function Ao(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function I6e(e,t){return De(t,143)?wn(e.c,l(t,143).c):!1}function Gl(e){return e.t||(e.t=new VQe(e),AA(new oZe(e),0,e.t)),e.t}function Qut(e){this.b=e,ar.call(this,e),this.a=l(Gn(this.b.a,4),129)}function Jut(e){this.b=e,U8.call(this,e),this.a=l(Gn(this.b.a,4),129)}function l0(e,t,n,r,s){clt.call(this,t,r,s),this.c=e,this.b=n}function O6e(e,t,n,r,s){Tct.call(this,t,r,s),this.c=e,this.a=n}function N6e(e,t,n,r,s){Ect.call(this,t,r,s),this.c=e,this.a=n}function P6e(e,t,n,r,s){clt.call(this,t,r,s),this.c=e,this.a=n}function zoe(e,t){var n;return n=l(B1(e.d,t),23),n||l(B1(e.e,t),23)}function Zut(e,t){var n,r;return n=t.ld(),r=e.Fe(n),!!r&&eu(r.e,t.md())}function elt(e,t){var n;return n=t.ld(),new hw(n,e.e.pc(n,l(t.md(),16)))}function wvn(e,t){var n;return n=e.a.get(t),n??We(ka,jn,1,0,5,1)}function tlt(e){var t;return t=e.length,wn(ir.substr(ir.length-t,t),e)}function yr(e){if(Rr(e))return e.c=e.a,e.a.Pb();throw ue(new Dc)}function B6e(e,t){return t==0||e.e==0?e:t>0?Ubt(e,t):gdt(e,-t)}function ax(e,t){return t==0||e.e==0?e:t>0?gdt(e,t):Ubt(e,-t)}function F6e(e){Mln.call(this,e==null?cl:Tc(e),De(e,82)?l(e,82):null)}function nlt(e){var t;return e.c||(t=e.r,De(t,90)&&(e.c=l(t,29))),e.c}function qoe(e){var t;return t=new Dw,mc(t,e),rt(t,(Nt(),lc),null),t}function rlt(e){var t,n;return t=e.c.i,n=e.d.i,t.k==(Jn(),Ks)&&n.k==Ks}function Hoe(e){var t,n,r;return t=e&Ql,n=e>>22&Ql,r=e<0?pp:0,qu(t,n,r)}function yvn(e){var t,n,r,s;for(n=e,r=0,s=n.length;r=0?e.Lh(r,n,!0):Xw(e,t,n)}function kvn(e,t,n){return Xi(q8(RT(e),Xa(t.b)),q8(RT(e),Xa(n.b)))}function Tvn(e,t,n){return Xi(q8(RT(e),Xa(t.e)),q8(RT(e),Xa(n.e)))}function Evn(e,t){return b.Math.min(Eb(t.a,e.d.d.c),Eb(t.b,e.d.d.c))}function uN(e,t){e._i(e.i+1),j_(e,e.i,e.Zi(e.i,t)),e.Mi(e.i++,t),e.Ni()}function lA(e){var t,n;++e.j,t=e.g,n=e.i,e.g=null,e.i=0,e.Oi(n,t),e.Ni()}function ilt(e,t,n){var r;r=new Bye(e.a),mA(r,e.a.a),Ru(r.f,t,n),e.a.a=r}function R6e(e,t,n,r){var s;for(s=0;st)throw ue(new rc(_9e(e,t,"index")));return e}function l2(e,t){var n;return n=(Sn(t,e.c.length),e.c[t]),D3e(e.c,t,1),n}function z6e(e,t){var n,r;return n=(tr(e),e),r=(tr(t),t),n==r?0:nt.p?-1:0}function flt(e){var t;return e.a||(t=e.r,De(t,156)&&(e.a=l(t,156))),e.a}function Mvn(e,t,n){var r;return++e.e,--e.f,r=l(e.d[t].gd(n),136),r.md()}function Dvn(e){var t,n;return t=e.ld(),n=l(e.md(),16),qO(n.Nc(),new Mie(t))}function dlt(e,t){return Hu(e.a,t)?(ox(e.a,t),!0):!1}function cx(e,t,n){return oN(t,e.e.Rd().gc()),oN(n,e.c.Rd().gc()),e.a[t][n]}function nU(e,t,n){this.a=e,this.b=t,this.c=n,wt(e.t,this),wt(t.i,this)}function rU(e,t,n,r){this.f=e,this.e=t,this.d=n,this.b=r,this.c=r?r.d:null}function lN(){this.b=new os,this.a=new os,this.b=new os,this.a=new os}function nT(){nT=U;var e,t;NY=(Ak(),t=new Vz,t),PY=(e=new tse,e)}function Ivn(e){var t;return Mb(e),t=new sst(e,e.a.e,e.a.d|4),new c4e(e,t)}function glt(e){var t;for(xb(e),t=0;e.a.Bd(new Ln);)t=fo(t,1);return t}function iU(e,t){return tr(t),e.c=0,"Initial capacity must not be negative")}function sU(){sU=U,TM=new Ki("org.eclipse.elk.labels.labelManager")}function plt(){plt=U,TLe=new ws("separateLayerConnections",($U(),L1e))}function Q0(){Q0=U,S4=new aye("REGULAR",0),Qb=new aye("CRITICAL",1)}function hN(){hN=U,Ige=new dye("FIXED",0),sY=new dye("CENTER_NODE",1)}function aU(){aU=U,ALe=new J3e("QUADRATIC",0),$1e=new J3e("SCANLINE",1)}function blt(){blt=U,qxt=Kr((gA(),he(le(DLe,1),it,322,0,[UL,CB,MLe])))}function mlt(){mlt=U,Hxt=Kr((TU(),he(le(OLe,1),it,351,0,[ILe,rW,z1e])))}function vlt(){vlt=U,Rxt=Kr(($w(),he(le(D1e,1),it,372,0,[g3,Kb,d3])))}function wlt(){wlt=U,Kxt=Kr((Jm(),he(le(Gxt,1),it,460,0,[U1e,jE,F6])))}function ylt(){ylt=U,Zxt=Kr((yT(),he(le(ede,1),it,299,0,[J1e,Z1e,SB])))}function xlt(){xlt=U,t9t=Kr((ip(),he(le(e9t,1),it,311,0,[_B,j6,Gx])))}function klt(){klt=U,ATt=Kr((EA(),he(le(PDe,1),it,390,0,[Lde,NDe,NW])))}function Tlt(){Tlt=U,BTt=Kr((FU(),he(le(WDe,1),it,387,0,[GDe,Rde,KDe])))}function Elt(){Elt=U,FTt=Kr((xA(),he(le(YDe,1),it,349,0,[$de,jde,RB])))}function Clt(){Clt=U,PTt=Kr((qo(),he(le(NTt,1),it,463,0,[aM,Fl,$u])))}function Slt(){Slt=U,RTt=Kr((AT(),he(le(QDe,1),it,350,0,[zde,XDe,oM])))}function _lt(){_lt=U,jTt=Kr((kU(),he(le(eIe,1),it,352,0,[ZDe,qde,JDe])))}function Alt(){Alt=U,$Tt=Kr((zU(),he(le(tIe,1),it,388,0,[Hde,JE,C4])))}function Llt(){Llt=U,zEt=Kr((kA(),he(le(vIe,1),it,392,0,[mIe,Gde,zB])))}function Mlt(){Mlt=U,yCt=Kr((FN(),he(le(GIe,1),it,393,0,[YW,UIe,VIe])))}function Dlt(){Dlt=U,zCt=Kr((BU(),he(le(lOe,1),it,300,0,[bge,uOe,cOe])))}function Ilt(){Ilt=U,qCt=Kr((nV(),he(le(hOe,1),it,445,0,[GB,JW,mge])))}function Olt(){Olt=U,UCt=Kr((dV(),he(le(HCt,1),it,456,0,[vge,yge,wge])))}function Nlt(){Nlt=U,KCt=Kr((XU(),he(le(gOe,1),it,394,0,[dOe,Tge,fOe])))}function Plt(){Plt=U,pSt=Kr((uU(),he(le(OOe,1),it,439,0,[Age,IOe,DOe])))}function Blt(){Blt=U,nEt=Kr((jw(),he(le(tEt,1),it,464,0,[jB,cM,RW])))}function Flt(){Flt=U,E7t=Kr((Ol(),he(le(T7t,1),it,471,0,[Bd,Vb,m0])))}function Rlt(){Rlt=U,k7t=Kr((e1(),he(le(c4,1),it,237,0,[Wc,ju,Yc])))}function jlt(){jlt=U,S7t=Kr((al(),he(le(C7t,1),it,472,0,[s1,Gb,v0])))}function $lt(){$lt=U,h7t=Kr((Nl(),he(le(uc,1),it,108,0,[R_e,Cc,o4])))}function zlt(){zlt=U,G8t=Kr((hA(),he(le(DAe,1),it,391,0,[p1e,g1e,b1e])))}function qlt(){qlt=U,S_t=Kr((op(),he(le(dPe,1),it,346,0,[pY,F2,IM])))}function Hlt(){Hlt=U,wSt=Kr((HN(),he(le(Lge,1),it,444,0,[nY,rY,iY])))}function Ult(){Ult=U,k_t=Kr((F1(),he(le(tPe,1),it,278,0,[iC,M4,sC])))}function Vlt(){Vlt=U,$_t=Kr((gx(),he(le(yPe,1),it,280,0,[wPe,I4,xY])))}function P1(e,t){return!e.o&&(e.o=new yl((au(),Ag),R2,e,0)),oue(e.o,t)}function Ovn(e,t){var n;e.C&&(n=l(Zo(e.b,t),127).n,n.d=e.C.d,n.a=e.C.a)}function G6e(e){var t,n,r,s;s=e.d,t=e.a,n=e.b,r=e.c,e.d=n,e.a=r,e.b=s,e.c=t}function Nvn(e){return!e.g&&(e.g=new DS),!e.g.b&&(e.g.b=new zQe(e)),e.g.b}function fN(e){return!e.g&&(e.g=new DS),!e.g.c&&(e.g.c=new UQe(e)),e.g.c}function Pvn(e){return!e.g&&(e.g=new DS),!e.g.d&&(e.g.d=new qQe(e)),e.g.d}function Bvn(e){return!e.g&&(e.g=new DS),!e.g.a&&(e.g.a=new HQe(e)),e.g.a}function Fvn(e,t,n,r){return n&&(r=n.Rh(t,vs(n.Dh(),e.c.uk()),null,r)),r}function Rvn(e,t,n,r){return n&&(r=n.Th(t,vs(n.Dh(),e.c.uk()),null,r)),r}function Koe(e,t,n,r){var s;return s=We(Ur,fi,28,t+1,15,1),qAn(s,e,t,n,r),s}function We(e,t,n,r,s,o){var f;return f=bgt(s,r),s!=10&&he(le(e,o),t,n,s,f),f}function jvn(e,t,n){var r,s;for(s=new wT(t,e),r=0;rn||t=0?e.Lh(n,!0,!0):Xw(e,t,!0)}function nwn(e,t,n){var r;return r=W0t(e,t,n),e.b=new IU(r.c.length),pke(e,r)}function rwn(e){if(e.b<=0)throw ue(new Dc);return--e.b,e.a-=e.c.c,bt(e.a)}function iwn(e){var t;if(!e.a)throw ue(new iot);return t=e.a,e.a=ds(e.a),t}function swn(e){for(;!e.a;)if(!Mit(e.c,new e_(e)))return!1;return!0}function ux(e){var t;return Xr(e),De(e,204)?(t=l(e,204),t):new y8(e)}function awn(e){oU(),l(e.of((bi(),L4)),181).Fc((Pl(),lF)),e.qf(epe,null)}function oU(){oU=U,USt=new v$,GSt=new w$,VSt=Wyn((bi(),epe),USt,em,GSt)}function cU(){cU=U,qIe=new lye("LEAF_NUMBER",0),hge=new lye("NODE_SIZE",1)}function Joe(e){e.a=We(Ur,fi,28,e.b+1,15,1),e.c=We(Ur,fi,28,e.b,15,1),e.d=0}function own(e,t){e.a.Ne(t.d,e.b)>0&&(wt(e.c,new K4e(t.c,t.d,e.d)),e.b=t.d)}function n7e(e,t){if(e.g==null||t>=e.i)throw ue(new iae(t,e.i));return e.g[t]}function Ylt(e,t,n){if(CT(e,n),n!=null&&!e.fk(n))throw ue(new Jie);return n}function Zoe(e,t){return kN(t)!=10&&he(dh(t),t.Sm,t.__elementTypeId$,kN(t),e),e}function iT(e,t,n,r){var s;r=(Mw(),r||D_e),s=e.slice(t,n),A9e(s,e,t,n,-t,r)}function rf(e,t,n,r,s){return t<0?Xw(e,n,r):l(n,69).wk().yk(e,e.hi(),t,r,s)}function cwn(e,t){return Xi(ze(Ge(Q(e,(ft(),m3)))),ze(Ge(Q(t,m3))))}function Xlt(){Xlt=U,s7t=Kr((sT(),he(le(yK,1),it,304,0,[K0e,W0e,Y0e,X0e])))}function sT(){sT=U,K0e=new pq("All",0),W0e=new $nt,Y0e=new Ynt,X0e=new jnt}function Ol(){Ol=U,Bd=new Lse(Dx,0),Vb=new Lse(lE,1),m0=new Lse(Ix,2)}function Qlt(){Qlt=U,YV(),lBe=gs,KAt=oa,hBe=new va(gs),WAt=new va(oa)}function Jlt(){Jlt=U,Q7t=Kr((qw(),he(le(X7t,1),it,417,0,[fB,hB,i1e,s1e])))}function Zlt(){Zlt=U,n8t=Kr((PA(),he(le(t8t,1),it,406,0,[mB,EK,CK,vB])))}function eht(){eht=U,Z7t=Kr((mx(),he(le(J7t,1),it,332,0,[gB,dB,pB,bB])))}function tht(){tht=U,oxt=Kr((tv(),he(le(PAe,1),it,389,0,[h4,NAe,x1e,k1e])))}function nht(){nht=U,txt=Kr((xT(),he(le(ext,1),it,416,0,[f3,l4,u4,I6])))}function rht(){rht=U,Dxt=Kr((R1(),he(le(Mxt,1),it,421,0,[Vx,IE,OE,M1e])))}function iht(){iht=U,yxt=Kr(($U(),he(le(wxt,1),it,371,0,[L1e,QK,JK,TB])))}function sht(){sht=U,LTt=Kr((jy(),he(le(Dde,1),it,203,0,[PW,Mde,W6,K6])))}function aht(){aht=U,ITt=Kr((kd(),he(le(UDe,1),it,284,0,[I2,HDe,Nde,Pde])))}function bN(){bN=U,jLe=new eye(Dd,0),aW=new eye("IMPROVE_STRAIGHTNESS",1)}function oht(e,t){var n,r;return r=t/e.c.Rd().gc()|0,n=t%e.c.Rd().gc(),cx(e,r,n)}function cht(e){var t;if(e.nl())for(t=e.i-1;t>=0;--t)Oe(e,t);return E6e(e)}function r7e(e){var t,n;if(!e.b)return null;for(n=e.b;t=n.a[0];)n=t;return n}function uht(e){var t,n;if(!e.b)return null;for(n=e.b;t=n.a[1];)n=t;return n}function uwn(e){return De(e,180)?""+l(e,180).a:e==null?null:Tc(e)}function lwn(e){return De(e,180)?""+l(e,180).a:e==null?null:Tc(e)}function lht(e,t){if(t.a)throw ue(new Ic(L3t));sa(e.a,t),t.a=e,!e.j&&(e.j=t)}function i7e(e,t){jq.call(this,t.zd(),t.yd()&-16449),tr(e),this.a=e,this.c=t}function hwn(e,t){return new Oae(t,yw(Xa(t.e),t.f.a+e,t.f.b+e),(Hn(),!1))}function fwn(e,t){return zk(),wt(e,new fa(t,bt(t.e.c.length+t.g.c.length)))}function dwn(e,t){return zk(),wt(e,new fa(t,bt(t.e.c.length+t.g.c.length)))}function hht(){hht=U,$Ct=Kr((mV(),he(le(oOe,1),it,354,0,[pge,sOe,aOe,iOe])))}function fht(){fht=U,lCt=Kr((TA(),he(le(RIe,1),it,353,0,[ige,KW,rge,nge])))}function dht(){dht=U,jEt=Kr((yx(),he(le(aIe,1),it,405,0,[qW,hM,fM,dM])))}function ght(){ght=U,T_t=Kr((cp(),he(le(ipe,1),it,223,0,[rpe,aF,aC,a9])))}function pht(){pht=U,A_t=Kr((Ih(),he(le(__t,1),it,291,0,[cF,Cg,tm,oF])))}function bht(){bht=U,R_t=Kr((gh(),he(le(FM,1),it,386,0,[fF,Ov,hF,D4])))}function mht(){mht=U,q_t=Kr((JU(),he(le(SPe,1),it,320,0,[ope,TPe,CPe,EPe])))}function vht(){vht=U,V_t=Kr((qU(),he(le(U_t,1),it,415,0,[cpe,APe,_Pe,LPe])))}function uU(){uU=U,Age=new Zse(Kyt,0),IOe=new Zse(SCe,1),DOe=new Zse(Dd,2)}function Ly(e,t,n,r,s){return tr(e),tr(t),tr(n),tr(r),tr(s),new L5e(e,t,r)}function wht(e,t){var n;return n=l(ox(e.e,t),400),n?(i5e(n),n.e):null}function sl(e,t){var n;return n=bc(e,t,0),n==-1?!1:(l2(e,n),!0)}function yht(e,t,n){var r;return xb(e),r=new on,r.a=t,e.a.Nb(new ttt(r,n)),r.a}function gwn(e){var t;return xb(e),t=We(Oa,tc,28,0,15,1),M5(e.a,new E8(t)),t}function s7e(e){var t;if(!pce(e))throw ue(new Dc);return e.e=1,t=e.d,e.d=null,t}function f2(e){var t;return xc(e)&&(t=0-e,!isNaN(t))?t:Sb(TT(e))}function bc(e,t,n){for(;n=0?hV(e,n,!0,!0):Xw(e,t,!0)}function o7e(e){var t;return t=Km(Gn(e,32)),t==null&&(Ku(e),t=Km(Gn(e,32))),t}function c7e(e){var t;return e.Oh()||(t=wr(e.Dh())-e.ji(),e.$h().Mk(t)),e.zh()}function Sht(e,t){oAe=new Ot,e8t=t,jL=e,l(jL.b,68),Y6e(jL,oAe,null),zvt(jL)}function hA(){hA=U,p1e=new Dse("XY",0),g1e=new Dse("X",1),b1e=new Dse("Y",2)}function al(){al=U,s1=new Mse("TOP",0),Gb=new Mse(lE,1),v0=new Mse(jTe,2)}function ip(){ip=U,_B=new Fse(Dd,0),j6=new Fse("TOP",1),Gx=new Fse(jTe,2)}function xN(){xN=U,Bde=new nye("INPUT_ORDER",0),Fde=new nye("PORT_DEGREE",1)}function aT(){aT=U,f_e=qu(Ql,Ql,524287),H6t=qu(0,0,NP),d_e=Hoe(1),Hoe(2),g_e=Hoe(0)}function ice(e){var t;return e.d!=e.r&&(t=Of(e),e.e=!!t&&t.lk()==H5t,e.d=t),e.e}function sce(e,t,n){var r;return r=e.g[t],j_(e,t,e.Zi(t,n)),e.Ri(t,n,r),e.Ni(),r}function dU(e,t){var n;return n=e.dd(t),n>=0?(e.gd(n),!0):!1}function ace(e,t){var n;for(Xr(e),Xr(t),n=!1;t.Ob();)n=n|e.Fc(t.Pb());return n}function B1(e,t){var n;return n=l(or(e.e,t),400),n?(ort(e,n),n.e):null}function _ht(e){var t,n;return t=e/60|0,n=e%60,n==0?""+t:""+t+":"+(""+n)}function My(e,t){var n=e.a[t],r=(Ice(),z0e)[typeof n];return r?r(n):m8e(typeof n)}function Pc(e,t){var n,r;return Mb(e),r=new H6e(t,e.a),n=new Oit(r),new vn(e,n)}function oce(e){var t;return t=e.b.c.length==0?null:Rt(e.b,0),t!=null&&mce(e,0),t}function vwn(e,t){var n,r,s;s=t.c.i,n=l(or(e.f,s),60),r=n.d.c-n.e.c,$7e(t.a,r,0)}function u7e(e,t){var n;for(++e.d,++e.c[t],n=t+1;n=0;)++t[0]}function wwn(e,t){Vu(e,t==null||eH((tr(t),t))||isNaN((tr(t),t))?0:(tr(t),t))}function ywn(e,t){Gu(e,t==null||eH((tr(t),t))||isNaN((tr(t),t))?0:(tr(t),t))}function xwn(e,t){Rw(e,t==null||eH((tr(t),t))||isNaN((tr(t),t))?0:(tr(t),t))}function kwn(e,t){Fw(e,t==null||eH((tr(t),t))||isNaN((tr(t),t))?0:(tr(t),t))}function Twn(e,t,n){return q8(new lt(n.e.a+n.f.a/2,n.e.b+n.f.b/2),e)==(tr(t),t)}function Ewn(e,t){return De(t,102)&&l(t,19).Bb&Lo?new sae(t,e):new wT(t,e)}function Cwn(e,t){return De(t,102)&&l(t,19).Bb&Lo?new sae(t,e):new wT(t,e)}function kN(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}function Mht(e,t){return t==(Aae(),Aae(),n7t)?e.toLocaleLowerCase():e.toLowerCase()}function Dht(e){if(!e.e)throw ue(new Dc);return e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f}function l7e(e){if(!e.c)throw ue(new Dc);return e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f}function Iht(e){var t;for(++e.a,t=e.c.a.length;e.ae.a[r]&&(r=n);return r}function Oht(e){var t;return t=l(Q(e,(ft(),p3)),313),t?t.a==e:!1}function Nht(e){var t;return t=l(Q(e,(ft(),p3)),313),t?t.i==e:!1}function Pht(){Pht=U,X8t=Kr((so(),he(le(IAe,1),it,367,0,[w0,xg,pu,Cu,wc])))}function Bht(){Bht=U,Oxt=Kr((zy(),he(le(Ixt,1),it,375,0,[EB,tW,nW,eW,ZK])))}function Fht(){Fht=U,Uxt=Kr((w2(),he(le(PLe,1),it,348,0,[q1e,NLe,H1e,RE,FE])))}function Rht(){Rht=U,MTt=Kr((NA(),he(le(FDe,1),it,323,0,[BDe,Ide,Ode,iM,sM])))}function jht(){jht=U,r9t=Kr((lf(),he(le(fMe,1),it,171,0,[DB,XL,Yb,QL,b4])))}function $ht(){$ht=U,vCt=Kr((EV(),he(le(mCt,1),it,368,0,[uge,age,lge,oge,cge])))}function zht(){zht=U,vSt=Kr((VA(),he(le(mSt,1),it,373,0,[Z6,t9,kM,xM,YB])))}function qht(){qht=U,ESt=Kr((iP(),he(le(qOe,1),it,324,0,[jOe,Oge,zOe,Nge,$Oe])))}function Hht(){Hht=U,x_t=Kr((ea(),he(le(MM,1),it,88,0,[J1,yc,hc,Q1,vf])))}function Uht(){Uht=U,KSt=Kr((n1(),he(le(Eg,1),it,170,0,[Bn,pa,$d,Av,P2])))}function Vht(){Vht=U,M_t=Kr((r6(),he(le(NM,1),it,256,0,[nm,uF,gPe,OM,pPe])))}function Ght(){Ght=U,O_t=Kr((_t(),he(le(Mo,1),ou,64,0,[jc,Xn,sr,Mr,Zn])))}function gU(){gU=U,z_e=new G3e("BY_SIZE",0),e1e=new G3e("BY_SIZE_AND_SHAPE",1)}function pU(){pU=U,h1e=new Y3e("EADES",0),AK=new Y3e("FRUCHTERMAN_REINGOLD",1)}function TN(){TN=U,iW=new Z3e("READING_DIRECTION",0),BLe=new Z3e("ROTATION",1)}function fA(){fA=U,ixt=new lI,sxt=new eZ,nxt=new Sm,rxt=new lu,axt=new tZ}function Kht(e){this.b=new mt,this.a=new mt,this.c=new mt,this.d=new mt,this.e=e}function Wht(e){this.g=e,this.f=new mt,this.a=b.Math.min(this.g.c.c,this.g.d.c)}function Yht(e,t,n){Jq.call(this),d7e(this),this.a=e,this.c=n,this.b=t.d,this.f=t.e}function Dwn(e,t,n){var r,s;for(s=new K(n);s.a=0&&t0?t-1:t,AZe(iln(wft(e5e(new M8,n),e.n),e.j),e.k)}function oc(e){var t,n;n=(t=new nse,t),zr((!e.q&&(e.q=new nt(Vf,e,11,10)),e.q),n)}function h7e(e){return(e.i&2?"interface ":e.i&1?"":"class ")+(Xg(e),e.o)}function bU(e){return su(e,Ni)>0?Ni:su(e,ao)<0?ao:Yr(e)}function Dy(e){return e<3?(Mh(e,l3t),e+1):e=-.01&&e.a<=H1&&(e.a=0),e.b>=-.01&&e.b<=H1&&(e.b=0),e}function Q5(e){d6();var t,n;for(n=LCe,t=0;tn&&(n=e[t]);return n}function Zht(e,t){var n;if(n=pP(e.Dh(),t),!n)throw ue(new Wn(qb+t+e0e));return n}function Iy(e,t){var n;for(n=e;ds(n);)if(n=ds(n),n==t)return!0;return!1}function qwn(e,t){var n,r,s;for(r=t.a.ld(),n=l(t.a.md(),16).gc(),s=0;se||e>t)throw ue(new w3e("fromIndex: 0, toIndex: "+e+_Te+t))}function Bw(e){if(e<0)throw ue(new Wn("Illegal Capacity: "+e));this.g=this.aj(e)}function f7e(e,t){return A1(),h0(Fb),b.Math.abs(e-t)<=Fb||e==t||isNaN(e)&&isNaN(t)}function lce(e,t){var n,r,s,o;for(r=e.d,s=0,o=r.length;s0&&(e.a/=t,e.b/=t),e}function Ah(e){var t;return e.w?e.w:(t=Nbn(e),t&&!t.Vh()&&(e.w=t),t)}function oT(e,t){var n,r;r=e.a,n=R4n(e,t,null),r!=t&&!e.e&&(n=tE(e,t,n)),n&&n.oj()}function ift(e,t,n){var r,s;r=t;do s=ze(e.p[r.p])+n,e.p[r.p]=s,r=e.a[r.p];while(r!=t)}function sft(e,t,n){var r=function(){return e.apply(r,arguments)};return t.apply(r,n),r}function Ywn(e){var t;return e==null?null:(t=l(e,195),o9n(t,t.length))}function Oe(e,t){if(e.g==null||t>=e.i)throw ue(new iae(t,e.i));return e.Wi(t,e.g[t])}function Xwn(e,t){Cn();var n,r;for(r=new mt,n=0;n=14&&t<=16))),e}function Gr(e,t){var n;return tr(t),n=e[":"+t],UO(!!n,"Enum constant undefined: "+t),n}function Br(e,t,n,r,s,o){var f;return f=aoe(e,t),yft(n,f),f.i=s?8:0,f.f=r,f.e=s,f.g=o,f}function p7e(e,t,n,r,s){this.d=t,this.k=r,this.f=s,this.o=-1,this.p=1,this.c=e,this.a=n}function b7e(e,t,n,r,s){this.d=t,this.k=r,this.f=s,this.o=-1,this.p=2,this.c=e,this.a=n}function m7e(e,t,n,r,s){this.d=t,this.k=r,this.f=s,this.o=-1,this.p=6,this.c=e,this.a=n}function v7e(e,t,n,r,s){this.d=t,this.k=r,this.f=s,this.o=-1,this.p=7,this.c=e,this.a=n}function w7e(e,t,n,r,s){this.d=t,this.j=r,this.e=s,this.o=-1,this.p=4,this.c=e,this.a=n}function xft(e,t){var n,r,s,o;for(r=t,s=0,o=r.length;s=0))throw ue(new Wn("tolerance ("+e+") must be >= 0"));return e}function Tft(e,t){var n;return De(t,44)?e.c.Mc(t):(n=oue(e,t),rV(e,t),n)}function ec(e,t,n){return ev(e,t),Bu(e,n),d2(e,0),Oy(e,1),v2(e,!0),m2(e,!0),e}function CN(e,t){var n;if(n=e.gc(),t<0||t>n)throw ue(new yy(t,n));return new M4e(e,t)}function EU(e,t){e.b=b.Math.max(e.b,t.d),e.e+=t.r+(e.a.c.length==0?0:e.c),wt(e.a,t)}function Eft(e){my(e.c>=0),l6n(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function CU(e){var t,n;for(n=e.c.Cc().Kc();n.Ob();)t=l(n.Pb(),16),t.$b();e.c.$b(),e.d=0}function a3n(e){var t,n,r,s;for(n=e.a,r=0,s=n.length;r=0}function S7e(e,t){e.r>0&&e.c0&&e.g!=0&&S7e(e.i,t/e.r*e.i.d))}function _7e(e,t){var n;n=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,1,n,e.c))}function dce(e,t){var n;n=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,4,n,e.c))}function gT(e,t){var n;n=e.k,e.k=t,e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,2,n,e.k))}function gce(e,t){var n;n=e.D,e.D=t,e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,2,n,e.D))}function _U(e,t){var n;n=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,8,n,e.f))}function AU(e,t){var n;n=e.i,e.i=t,e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,7,n,e.i))}function A7e(e,t){var n;n=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,8,n,e.a))}function L7e(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,0,n,e.b))}function M7e(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,0,n,e.b))}function D7e(e,t){var n;n=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,1,n,e.c))}function I7e(e,t){var n;n=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,1,n,e.d))}function d3n(e,t,n){var r;e.b=t,e.a=n,r=(e.a&512)==512?new HJe:new az,e.c=_Sn(r,e.b,e.a)}function Bft(e,t){return dp(e.e,t)?(Ro(),ice(t)?new lH(t,e):new AO(t,e)):new lnt(t,e)}function g3n(e){var t,n;return 0>e?new N3e:(t=e+1,n=new Wut(t,e),new u4e(null,n))}function p3n(e,t){Cn();var n;return n=new P8(1),Da(e)?sc(n,e,t):Ru(n.f,e,t),new er(n)}function b3n(e,t){var n,r;return n=e.c,r=t.e[e.p],r>0?l(Rt(n.a,r-1),10):null}function m3n(e,t){var n,r;return n=e.o+e.p,r=t.o+t.p,nt?(t<<=1,t>0?t:iL):t}function pce(e){switch(Hye(e.e!=3),e.e){case 2:return!1;case 0:return!0}return Svn(e)}function Rft(e,t){var n;return De(t,8)?(n=l(t,8),e.a==n.a&&e.b==n.b):!1}function w3n(e,t){var n;n=new Ot,l(t.b,68),l(t.b,68),l(t.b,68),Uu(t.a,new $4e(e,n,t))}function jft(e,t){var n,r;for(r=t.vc().Kc();r.Ob();)n=l(r.Pb(),44),eP(e,n.ld(),n.md())}function O7e(e,t){var n;n=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,11,n,e.d))}function LU(e,t){var n;n=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,13,n,e.j))}function N7e(e,t){var n;n=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,21,n,e.b))}function y3n(e,t){(ZH(),G1?null:t.c).length==0&&tit(t,new Dt),sc(e.a,G1?null:t.c,t)}function x3n(e,t){t.Ug("Hierarchical port constraint processing",1),j6n(e),sOn(e),t.Vg()}function $w(){$w=U,g3=new Ise("START",0),Kb=new Ise("MIDDLE",1),d3=new Ise("END",2)}function MU(){MU=U,WW=new uye("P1_NODE_PLACEMENT",0),J6=new uye("P2_EDGE_ROUTING",1)}function Cb(){Cb=U,Ux=new Ki(JTe),DK=new Ki(eyt),zL=new Ki(tyt),wB=new Ki(nyt)}function zw(e){var t;return Lae(e.f.g,e.d),br(e.b),e.c=e.a,t=l(e.a.Pb(),44),e.b=K7e(e),t}function P7e(e){var t;return e.b==null?(r2(),r2(),xF):(t=e.ul()?e.tl():e.sl(),t)}function $ft(e,t){var n;return n=t==null?-1:bc(e.b,t,0),n<0?!1:(mce(e,n),!0)}function f0(e,t){var n;return tr(t),n=t.g,e.b[n]?!1:(Ss(e.b,n,t),++e.c,!0)}function DU(e,t){var n,r;return n=1-t,r=e.a[n],e.a[n]=r.a[t],r.a[t]=e,e.b=!0,r.b=!1,r}function k3n(e,t){var n,r;for(r=t.Kc();r.Ob();)n=l(r.Pb(),272),e.b=!0,sa(e.e,n),n.b=e}function T3n(e,t){var n,r;return n=l(Q(e,(Nt(),k4)),8),r=l(Q(t,k4),8),Xi(n.b,r.b)}function bce(e,t,n){var r,s,o;return o=t>>5,s=t&31,r=xa(vb(e.n[n][o],Yr(u0(s,1))),3),r}function zft(e,t,n){var r,s,o;for(o=e.a.length-1,s=e.b,r=0;r0?1:0:(!e.c&&(e.c=iN(tu(e.f))),e.c).e}function Xft(e,t){t?e.B==null&&(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}function _3n(e,t){return xT(),e==f3&&t==l4||e==l4&&t==f3||e==I6&&t==u4||e==u4&&t==I6}function A3n(e,t){return xT(),e==f3&&t==u4||e==f3&&t==I6||e==l4&&t==I6||e==l4&&t==u4}function Qft(e,t){return A1(),h0(H1),b.Math.abs(0-t)<=H1||t==0||isNaN(0)&&isNaN(t)?0:e/t}function Jft(e,t){return ze(Ge(uh(zN(gc(new vn(null,new kn(e.c.b,16)),new rXe(e)),t))))}function j7e(e,t){return ze(Ge(uh(zN(gc(new vn(null,new kn(e.c.b,16)),new nXe(e)),t))))}function L3n(){return Ho(),he(le(Q1e,1),it,259,0,[cW,mf,GL,uW,qE,R6,KL,$E,zE,lW])}function M3n(){return Nf(),he(le(qDe,1),it,243,0,[BW,BB,FB,jDe,$De,RDe,zDe,FW,C3,E4])}function D3n(e,t){var n;t.Ug("General Compactor",1),n=B5n(l(at(e,(Pb(),dge)),393)),n.Cg(e)}function I3n(e,t){var n,r;return n=l(at(e,(Pb(),XW)),17),r=l(at(t,XW),17),iu(n.a,r.a)}function $7e(e,t,n){var r,s;for(s=Fr(e,0);s.b!=s.d.c;)r=l(Pr(s),8),r.a+=t,r.b+=n;return e}function pA(e,t,n){var r;for(r=e.b[n&e.f];r;r=r.b)if(n==r.a&&wd(t,r.g))return r;return null}function bA(e,t,n){var r;for(r=e.c[n&e.f];r;r=r.d)if(n==r.f&&wd(t,r.i))return r;return null}function O3n(e,t,n){var r,s,o;for(r=0,s=0;s>>31;r!=0&&(e[n]=r)}function xce(e,t,n,r,s,o){var f;this.c=e,f=new mt,wxe(e,f,t,e.b,n,r,s,o),this.a=new Ua(f,0)}function Zft(){this.c=new nq(0),this.b=new nq(ACe),this.d=new nq($yt),this.a=new nq(Hhe)}function af(e,t,n,r,s,o,f){Vr.call(this,e,t),this.d=n,this.e=r,this.c=s,this.b=o,this.a=O1(f)}function Ns(e,t,n,r,s,o,f,g,w,T,C,L,F){return i2t(e,t,n,r,s,o,f,g,w,T,C,L,F),eue(e,!1),e}function N3n(e){return e.b.c.i.k==(Jn(),Ks)?l(Q(e.b.c.i,(ft(),zi)),12):e.b.c}function e0t(e){return e.b.d.i.k==(Jn(),Ks)?l(Q(e.b.d.i,(ft(),zi)),12):e.b.d}function P3n(e){var t;return t=KH(e),pw(t.a,0)?(aq(),aq(),r7t):(aq(),new Prt(t.b))}function kce(e){var t;return t=v6e(e),pw(t.a,0)?(hy(),hy(),G0e):(hy(),new wae(t.b))}function Tce(e){var t;return t=v6e(e),pw(t.a,0)?(hy(),hy(),G0e):(hy(),new wae(t.c))}function t0t(e){switch(e.g){case 2:return _t(),Zn;case 4:return _t(),sr;default:return e}}function n0t(e){switch(e.g){case 1:return _t(),Mr;case 3:return _t(),Xn;default:return e}}function r0t(e){switch(e.g){case 0:return new Une;case 1:return new Vne;default:return null}}function hx(){hx=U,A1e=new ws("edgelabelcenterednessanalysis.includelabel",(Hn(),Ub))}function z7e(){z7e=U,eEt=Td(Ent(hi(hi(new Js,(so(),pu),(po(),HK)),Cu,RK),wc),qK)}function i0t(){i0t=U,iEt=Td(Ent(hi(hi(new Js,(so(),pu),(po(),HK)),Cu,RK),wc),qK)}function Ece(){Ece=U,HM=new RJe,bpe=he(le(fl,1),A6,179,0,[]),CAt=he(le(Vf,1),KSe,62,0,[])}function pT(){pT=U,xB=new X3e("TO_INTERNAL_LTR",0),C1e=new X3e("TO_INPUT_DIRECTION",1)}function xl(){xl=U,zAe=new nb,jAe=new ty,$Ae=new rZ,RAe=new _m,qAe=new iZ,HAe=new sZ}function B3n(e,t){t.Ug(myt,1),U8e(yln(new t_((p_(),new foe(e,!1,!1,new uS))))),t.Vg()}function F3n(e,t,n){n.Ug("DFS Treeifying phase",1),e6n(e,t),JCn(e,t),e.a=null,e.b=null,n.Vg()}function SN(e,t){return Hn(),Da(e)?z6e(e,Zr(t)):py(e)?Wae(e,Ge(t)):gy(e)?_gn(e,Pt(t)):e.Fd(t)}function mA(e,t){var n,r;for(tr(t),r=t.vc().Kc();r.Ob();)n=l(r.Pb(),44),e.zc(n.ld(),n.md())}function R3n(e,t,n){var r;for(r=n.Kc();r.Ob();)if(!XH(e,t,r.Pb()))return!1;return!0}function j3n(e,t,n,r,s){var o;return n&&(o=vs(t.Dh(),e.c),s=n.Rh(t,-1-(o==-1?r:o),null,s)),s}function $3n(e,t,n,r,s){var o;return n&&(o=vs(t.Dh(),e.c),s=n.Th(t,-1-(o==-1?r:o),null,s)),s}function s0t(e){var t;if(e.b==-2){if(e.e==0)t=-1;else for(t=0;e.a[t]==0;t++);e.b=t}return e.b}function z3n(e){if(tr(e),e.length==0)throw ue(new dd("Zero length BigInteger"));K_n(this,e)}function q7e(e){this.i=e.gc(),this.i>0&&(this.g=this.aj(this.i+(this.i/8|0)+1),e.Qc(this.g))}function a0t(e,t,n){this.g=e,this.d=t,this.e=n,this.a=new mt,Zkn(this),Cn(),Gs(this.a,null)}function H7e(e,t){t.q=e,e.d=b.Math.max(e.d,t.r),e.b+=t.d+(e.a.c.length==0?0:e.c),wt(e.a,t)}function bT(e,t){var n,r,s,o;return s=e.c,n=e.c+e.b,o=e.d,r=e.d+e.a,t.a>s&&t.ao&&t.bs?n=s:Yn(t,n+1),e.a=ef(e.a,0,t)+(""+r)+F5e(e.a,n)}function p0t(e,t){e.a=fo(e.a,1),e.c=b.Math.min(e.c,t),e.b=b.Math.max(e.b,t),e.d=fo(e.d,t)}function W3n(e,t){return t1||e.Ob())return++e.a,e.g=0,t=e.i,e.Ob(),t;throw ue(new Dc)}function w0t(e){switch(e.a.g){case 1:return new Ett;case 3:return new Egt;default:return new bie}}function V7e(e,t){switch(t){case 1:return!!e.n&&e.n.i!=0;case 2:return e.k!=null}return m6e(e,t)}function tu(e){return PP>22),s=e.h+t.h+(r>>22),qu(n&Ql,r&Ql,s&pp)}function _0t(e,t){var n,r,s;return n=e.l-t.l,r=e.m-t.m+(n>>22),s=e.h-t.h+(r>>22),qu(n&Ql,r&Ql,s&pp)}function pyn(e){var t,n;for(cIn(e),n=new K(e.d);n.ar)throw ue(new yy(t,r));return e.Si()&&(n=Vot(e,n)),e.Ei(t,n)}function kT(e,t,n,r,s){var o,f;for(f=n;f<=s;f++)for(o=t;o<=r;o++)s6(e,o,f)||VV(e,o,f,!0,!1)}function Lyn(e){d6();var t,n,r;for(n=We(Ca,dt,8,2,0,1),r=0,t=0;t<2;t++)r+=.5,n[t]=k7n(r,e);return n}function TT(e){var t,n,r;return t=~e.l+1&Ql,n=~e.m+(t==0?1:0)&Ql,r=~e.h+(t==0&&n==0?1:0)&pp,qu(t,n,r)}function Z7e(e){var t;if(e<0)return ao;if(e==0)return 0;for(t=iL;!(t&e);t>>=1);return t}function Dce(e,t,n){return e>=128?!1:e<64?O_(xa(u0(1,e),n),0):O_(xa(u0(1,e-64),t),0)}function PN(e,t,n){return n==null?(!e.q&&(e.q=new Nr),ox(e.q,t)):(!e.q&&(e.q=new Nr),Ti(e.q,t,n)),e}function rt(e,t,n){return n==null?(!e.q&&(e.q=new Nr),ox(e.q,t)):(!e.q&&(e.q=new Nr),Ti(e.q,t,n)),e}function R0t(e){var t,n;return n=new tU,mc(n,e),rt(n,(Cb(),Ux),e),t=new Nr,iLn(e,n,t),IDn(e,n,t),n}function j0t(e){var t,n;return t=e.t-e.k[e.o.p]*e.d+e.j[e.o.p]>e.f,n=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d,t||n}function $0t(e,t){var n,r,s,o;for(n=!1,r=e.a[t].length,o=0;o=0,"Negative initial capacity"),UO(t>=0,"Non-positive load factor"),Dl(this)}function Dyn(e,t,n,r,s){var o,f;if(f=e.length,o=n.length,t<0||r<0||s<0||t+s>f||r+s>o)throw ue(new Vwe)}function r8e(e,t){Cn();var n,r,s,o,f;for(f=!1,r=t,s=0,o=r.length;s1||t>=0&&e.b<3)}function Nce(e){var t,n,r;t=~e.l+1&Ql,n=~e.m+(t==0?1:0)&Ql,r=~e.h+(t==0&&n==0?1:0)&pp,e.l=t,e.m=n,e.h=r}function a8e(e){Cn();var t,n,r;for(r=1,n=e.Kc();n.Ob();)t=n.Pb(),r=31*r+(t!=null?ts(t):0),r=r|0;return r}function Byn(e,t,n,r,s){var o;return o=Y9e(e,t),n&&Nce(o),s&&(e=L7n(e,t),r?Hb=TT(e):Hb=qu(e.l,e.m,e.h)),o}function X0t(e,t,n){e.g=Jue(e,t,(_t(),sr),e.b),e.d=Jue(e,n,sr,e.b),!(e.g.c==0||e.d.c==0)&&_pt(e)}function Q0t(e,t,n){e.g=Jue(e,t,(_t(),Zn),e.j),e.d=Jue(e,n,Zn,e.j),!(e.g.c==0||e.d.c==0)&&_pt(e)}function o8e(e,t){switch(t){case 7:return!!e.e&&e.e.i!=0;case 8:return!!e.d&&e.d.i!=0}return V8e(e,t)}function Fyn(e,t){switch(t.g){case 0:De(e.b,641)||(e.b=new g0t);break;case 1:De(e.b,642)||(e.b=new dst)}}function J0t(e){switch(e.g){case 0:return new Kne;default:throw ue(new Wn(VG+(e.f!=null?e.f:""+e.g)))}}function Z0t(e){switch(e.g){case 0:return new dl;default:throw ue(new Wn(VG+(e.f!=null?e.f:""+e.g)))}}function Ryn(e,t,n){return!Lk(ji(new vn(null,new kn(e.c,16)),new Vl(new jtt(t,n)))).Bd((Bm(),qx))}function e1t(e,t){return q8(RT(l(Q(t,(Vc(),_3)),88)),new lt(e.c.e.a-e.b.e.a,e.c.e.b-e.b.e.b))<=0}function jyn(e,t){for(;e.g==null&&!e.c?o6e(e):e.g==null||e.i!=0&&l(e.g[e.i-1],51).Ob();)Hln(t,OV(e))}function Zm(e){var t,n;for(n=new K(e.a.b);n.ar?1:0}function qyn(e){return wt(e.c,(fx(),HSt)),f7e(e.a,ze(Ge(It((aue(),IW)))))?new rre:new cQe(e)}function Hyn(e){for(;!e.d||!e.d.Ob();)if(e.b&&!h_(e.b))e.d=l(Q8(e.b),51);else return null;return e.d}function u8e(e){switch(e.g){case 1:return $yt;default:case 2:return 0;case 3:return Hhe;case 4:return ACe}}function Uyn(){Ii();var e;return kpe||(e=lfn(Bb("M",!0)),e=pH(Bb("M",!1),e),kpe=e,kpe)}function qU(){qU=U,cpe=new Oq("ELK",0),APe=new Oq("JSON",1),_Pe=new Oq("DOT",2),LPe=new Oq("SVG",3)}function xA(){xA=U,$de=new zse("STACKED",0),jde=new zse("REVERSE_STACKED",1),RB=new zse("SEQUENCED",2)}function kA(){kA=U,mIe=new Kse(Dd,0),Gde=new Kse("MIDDLE_TO_MIDDLE",1),zB=new Kse("AVOID_OVERLAP",2)}function ST(){ST=U,CLe=new UZ,SLe=new vI,Cxt=new Aj,Ext=new VZ,Txt=new r8,ELe=(tr(Txt),new ke)}function HU(){HU=U,fPe=new mw(15),C_t=new qa((bi(),B2),fPe),DM=r9,cPe=i_t,uPe=Mv,hPe=a7,lPe=A4}function Z5(e,t){var n,r,s,o,f;for(r=t,s=0,o=r.length;s=e.b.c.length||(h8e(e,2*t+1),n=2*t+2,n0&&(t.Cd(n),n.i&&G4n(n))}function f8e(e,t,n){var r;for(r=n-1;r>=0&&e[r]===t[r];r--);return r<0?0:Sse(xa(e[r],Uo),xa(t[r],Uo))?-1:1}function r1t(e,t,n){var r,s;this.g=e,this.c=t,this.a=this,this.d=this,s=Fft(n),r=We(F6t,IP,227,s,0,1),this.b=r}function jce(e,t,n,r,s){var o,f;for(f=n;f<=s;f++)for(o=t;o<=r;o++)if(s6(e,o,f))return!0;return!1}function Xyn(e,t){var n,r;for(r=e.Zb().Cc().Kc();r.Ob();)if(n=l(r.Pb(),16),n.Hc(t))return!0;return!1}function i1t(e,t,n){var r,s,o,f;for(tr(n),f=!1,o=e.fd(t),s=n.Kc();s.Ob();)r=s.Pb(),o.Rb(r),f=!0;return f}function $ce(e,t){var n,r;return r=l(Gn(e.a,4),129),n=We(gpe,m0e,424,t,0,1),r!=null&&gu(r,0,n,0,r.length),n}function s1t(e,t){var n;return n=new gle((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,t),e.e!=null||(n.c=e),n}function Qyn(e,t){var n;return e===t?!0:De(t,85)?(n=l(t,85),p9e(Rm(e),n.vc())):!1}function a1t(e,t,n){var r,s;for(s=n.Kc();s.Ob();)if(r=l(s.Pb(),44),e.Be(t,r.md()))return!0;return!1}function o1t(e,t,n){return e.d[t.p][n.p]||(e7n(e,t,n),e.d[t.p][n.p]=!0,e.d[n.p][t.p]=!0),e.a[t.p][n.p]}function Jyn(e,t){var n;return!e||e==t||!rs(t,(ft(),b3))?!1:(n=l(Q(t,(ft(),b3)),10),n!=e)}function zce(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.$l()}}function c1t(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e._l()}}function u1t(e){Xot.call(this,"The given string does not match the expected format for individual spacings.",e)}function Zyn(e,t){var n;t.Ug("Min Size Preprocessing",1),n=E9e(e),Vi(e,(fg(),vM),n.a),Vi(e,ZW,n.b),t.Vg()}function e4n(e){var t,n,r;for(t=0,r=We(Ca,dt,8,e.b,0,1),n=Fr(e,0);n.b!=n.d.c;)r[t++]=l(Pr(n),8);return r}function qce(e,t,n){var r,s,o;for(r=new os,o=Fr(n,0);o.b!=o.d.c;)s=l(Pr(o),8),ci(r,new xo(s));i1t(e,t,r)}function t4n(e,t){var n;return n=fo(e,t),Sse(Doe(e,t),0)|Bq(Doe(e,n),0)?n:fo(DP,Doe(vb(n,63),1))}function n4n(e,t){var n,r;return n=l(e.d.Bc(t),16),n?(r=e.e.hc(),r.Gc(n),e.e.d-=n.gc(),n.$b(),r):null}function l1t(e){var t;if(t=e.a.c.length,t>0)return Uk(t-1,e.a.c.length),l2(e.a,t-1);throw ue(new cJe)}function h1t(e,t,n){if(e>t)throw ue(new Wn(cG+e+S3t+t));if(e<0||t>n)throw ue(new w3e(cG+e+MTe+t+_Te+n))}function _T(e,t){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),gce(e,t==null?null:(tr(t),t)),e.C&&e.hl(null)}function r4n(e,t){var n;n=It((aue(),IW))!=null&&t.Sg()!=null?ze(Ge(t.Sg()))/ze(Ge(It(IW))):1,Ti(e.b,t,n)}function d8e(e,t){var n,r;if(r=e.c[t],r!=0)for(e.c[t]=0,e.d-=r,n=t+1;nRG?e-n>RG:n-e>RG}function k1t(e,t){var n;for(n=0;ns&&(Jgt(t.q,s),r=n!=t.q.d)),r}function T1t(e,t){var n,r,s,o,f,g,w,T;return w=t.i,T=t.j,r=e.f,s=r.i,o=r.j,f=w-s,g=T-o,n=b.Math.sqrt(f*f+g*g),n}function w8e(e,t){var n,r;return r=iV(e),r||(n=(Ble(),lbt(t)),r=new QQe(n),zr(r.El(),e)),r}function jN(e,t){var n,r;return n=l(e.c.Bc(t),16),n?(r=e.hc(),r.Gc(n),e.d-=n.gc(),n.$b(),e.mc(r)):e.jc()}function g4n(e,t){var n,r;for(r=Yl(e.d,1)!=0,n=!0;n;)n=!1,n=t.c.mg(t.e,r),n=n|bP(e,t,r,!1),r=!r;F7e(e)}function E1t(e,t,n,r){var s,o;e.a=t,o=r?0:1,e.f=(s=new Fpt(e.c,e.a,n,o),new pmt(n,e.a,s,e.e,e.b,e.c==(jw(),cM)))}function VU(e){var t;return br(e.a!=e.b),t=e.d.a[e.a],Jrt(e.b==e.d.c&&t!=null),e.c=e.a,e.a=e.a+1&e.d.a.length-1,t}function C1t(e){var t;if(e.c!=0)return e.c;for(t=0;t=e.c.b:e.a<=e.c.b))throw ue(new Dc);return t=e.a,e.a+=e.c.c,++e.b,bt(t)}function Kce(e){var t;return t=new Nye(e.a),mc(t,e),rt(t,(ft(),zi),e),t.o.a=e.g,t.o.b=e.f,t.n.a=e.i,t.n.b=e.j,t}function Wce(e){return(_t(),ll).Hc(e.j)?ze(Ge(Q(e,(ft(),HE)))):Bc(he(le(Ca,1),dt,8,0,[e.i.n,e.n,e.a])).b}function b4n(e){var t;return t=zq(ZTt),l(Q(e,(ft(),_u)),21).Hc((Ho(),qE))&&hi(t,(so(),pu),(po(),GK)),t}function m4n(e){var t,n,r,s;for(s=new Ys,r=new K(e);r.a=0?t:-t;r>0;)r%2==0?(n*=n,r=r/2|0):(s*=n,r-=1);return t<0?1/s:s}function k4n(e,t){var n,r,s;for(s=1,n=e,r=t>=0?t:-t;r>0;)r%2==0?(n*=n,r=r/2|0):(s*=n,r-=1);return t<0?1/s:s}function Lb(e,t){var n,r,s,o;return o=(s=e?iV(e):null,a2t((r=t,s&&s.Gl(),r))),o==t&&(n=iV(e),n&&n.Gl()),o}function S1t(e,t,n){var r,s;return s=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&(r=new _a(e,1,0,s,t),n?n.nj(r):n=r),n}function _1t(e,t,n){var r,s;return s=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&(r=new _a(e,1,3,s,t),n?n.nj(r):n=r),n}function x8e(e,t,n){var r,s;return s=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&(r=new _a(e,1,1,s,t),n?n.nj(r):n=r),n}function A1t(e){var t,n;if(e!=null)for(n=0;n=r||t-129&&e<128?(fst(),t=e+128,n=w_e[t],!n&&(n=w_e[t]=new Er(e)),n):new Er(e)}function LT(e){var t,n;return e>-129&&e<128?(Lst(),t=e+128,n=T_e[t],!n&&(n=T_e[t]=new Kn(e)),n):new Kn(e)}function D1t(e,t){var n;e.a.c.length>0&&(n=l(Rt(e.a,e.a.c.length-1),579),l8e(n,t))||wt(e.a,new Yut(t))}function A4n(e){c0();var t,n;t=e.d.c-e.e.c,n=l(e.g,154),Uu(n.b,new UYe(t)),Uu(n.c,new VYe(t)),Za(n.i,new GYe(t))}function I1t(e){var t;return t=new lb,t.a+="VerticalSegment ",mu(t,e.e),t.a+=" ",li(t,zye(new dse,new K(e.k))),t.a}function Yce(e,t){var n,r,s;for(n=0,s=Fc(e,t).Kc();s.Ob();)r=l(s.Pb(),12),n+=Q(r,(ft(),Bl))!=null?1:0;return n}function n6(e,t,n){var r,s,o;for(r=0,o=Fr(e,0);o.b!=o.d.c&&(s=ze(Ge(Pr(o))),!(s>n));)s>=t&&++r;return r}function O1t(e,t){Xr(e);try{return e._b(t)}catch(n){if(n=ms(n),De(n,212)||De(n,169))return!1;throw ue(n)}}function T8e(e,t){Xr(e);try{return e.Hc(t)}catch(n){if(n=ms(n),De(n,212)||De(n,169))return!1;throw ue(n)}}function L4n(e,t){Xr(e);try{return e.Mc(t)}catch(n){if(n=ms(n),De(n,212)||De(n,169))return!1;throw ue(n)}}function By(e,t){Xr(e);try{return e.xc(t)}catch(n){if(n=ms(n),De(n,212)||De(n,169))return null;throw ue(n)}}function M4n(e,t){Xr(e);try{return e.Bc(t)}catch(n){if(n=ms(n),De(n,212)||De(n,169))return null;throw ue(n)}}function CA(e,t){switch(t.g){case 2:case 1:return Fc(e,t);case 3:case 4:return uf(Fc(e,t))}return Cn(),Cn(),Co}function SA(e){var t;return e.Db&64?d0(e):(t=new Af(d0(e)),t.a+=" (name: ",Jo(t,e.zb),t.a+=")",t.a)}function D4n(e){var t;return t=l(B1(e.c.c,""),233),t||(t=new rx(_k(Sk(new sy,""),"Other")),y2(e.c.c,"",t)),t}function E8e(e,t,n){var r,s;return s=e.sb,e.sb=t,e.Db&4&&!(e.Db&1)&&(r=new _a(e,1,4,s,t),n?n.nj(r):n=r),n}function C8e(e,t,n){var r,s;return s=e.r,e.r=t,e.Db&4&&!(e.Db&1)&&(r=new _a(e,1,8,s,e.r),n?n.nj(r):n=r),n}function I4n(e,t,n){var r,s;return r=new rp(e.e,4,13,(s=t.c,s||(En(),td)),null,x2(e,t),!1),n?n.nj(r):n=r,n}function O4n(e,t,n){var r,s;return r=new rp(e.e,3,13,null,(s=t.c,s||(En(),td)),x2(e,t),!1),n?n.nj(r):n=r,n}function b2(e,t){var n,r;return n=l(t,691),r=n.el(),!r&&n.fl(r=De(t,90)?new hnt(e,l(t,29)):new Nct(e,l(t,156))),r}function $N(e,t,n){var r;e._i(e.i+1),r=e.Zi(t,n),t!=e.i&&gu(e.g,t,e.g,t+1,e.i-t),Ss(e.g,t,r),++e.i,e.Mi(t,n),e.Ni()}function N4n(e,t){var n;return t.a&&(n=t.a.a.length,e.a?li(e.a,e.b):e.a=new Eh(e.d),zct(e.a,t.a,t.d.length,n)),e}function P4n(e,t){var n;e.c=t,e.a=$5n(t),e.a<54&&(e.f=(n=t.d>1?jct(t.a[0],t.a[1]):jct(t.a[0],0),Vm(t.e>0?n:f2(n))))}function zN(e,t){var n;return n=new on,e.a.Bd(n)?(Pk(),new ose(tr(yht(e,n.a,t)))):(xb(e),Pk(),Pk(),N_e)}function N1t(e,t){var n;e.c.length!=0&&(n=l(j1(e,We(kg,S2,10,e.c.length,0,1)),199),Sye(n,new K9),_2t(n,t))}function P1t(e,t){var n;e.c.length!=0&&(n=l(j1(e,We(kg,S2,10,e.c.length,0,1)),199),Sye(n,new Qd),_2t(n,t))}function Fi(e,t){return Da(e)?wn(e,t):py(e)?Lit(e,t):gy(e)?(tr(e),qe(e)===qe(t)):w5e(e)?e.Fb(t):f5e(e)?_nt(e,t):f6e(e,t)}function of(e,t,n){if(t<0)D9e(e,n);else{if(!n.rk())throw ue(new Wn(qb+n.xe()+TL));l(n,69).wk().Ek(e,e.hi(),t)}}function B1t(e,t,n){if(e<0||t>n)throw ue(new rc(cG+e+MTe+t+", size: "+n));if(e>t)throw ue(new Wn(cG+e+S3t+t))}function F1t(e){var t;return e.Db&64?d0(e):(t=new Af(d0(e)),t.a+=" (source: ",Jo(t,e.d),t.a+=")",t.a)}function R1t(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function B4n(e){rG();var t,n,r,s;for(n=gue(),r=0,s=n.length;r=0?Db(e):Z_(Db(f2(e))))}function z1t(e,t,n,r,s,o){this.e=new mt,this.f=(qo(),aM),wt(this.e,e),this.d=t,this.a=n,this.b=r,this.f=s,this.c=o}function j4n(e,t,n){e.n=Fm(hm,[dt,yhe],[376,28],14,[n,da(b.Math.ceil(t/32))],2),e.o=t,e.p=n,e.j=t-1>>1,e.k=n-1>>1}function q1t(e){return e-=e>>1&1431655765,e=(e>>2&858993459)+(e&858993459),e=(e>>4)+e&252645135,e+=e>>8,e+=e>>16,e&63}function H1t(e,t){var n,r;for(r=new ar(e);r.e!=r.i.gc();)if(n=l(dr(r),142),qe(t)===qe(n))return!0;return!1}function $4n(e,t,n){var r,s,o;return o=(s=GT(e.b,t),s),o&&(r=l(JV(vN(e,o),""),29),r)?Z9e(e,r,t,n):null}function Xce(e,t,n){var r,s,o;return o=(s=GT(e.b,t),s),o&&(r=l(JV(vN(e,o),""),29),r)?eke(e,r,t,n):null}function z4n(e,t){var n;if(n=J5(e.i,t),n==null)throw ue(new fd("Node did not exist in input."));return U7e(t,n),null}function q4n(e,t){var n;if(n=pP(e,t),De(n,331))return l(n,35);throw ue(new Wn(qb+t+"' is not a valid attribute"))}function AA(e,t,n){var r;if(r=e.gc(),t>r)throw ue(new yy(t,r));if(e.Si()&&e.Hc(n))throw ue(new Wn(nB));e.Gi(t,n)}function H4n(e,t){t.Ug("Sort end labels",1),Os(ji(Pc(new vn(null,new kn(e.b,16)),new wj),new Z7),new yZ),t.Vg()}function ea(){ea=U,J1=new CO(uL,0),yc=new CO(Ix,1),hc=new CO(Dx,2),Q1=new CO(Ohe,3),vf=new CO("UP",4)}function HN(){HN=U,nY=new eae("P1_STRUCTURE",0),rY=new eae("P2_PROCESSING_ORDER",1),iY=new eae("P3_EXECUTION",2)}function U1t(){U1t=U,gCt=Td(Td(w_(Td(Td(w_(hi(new Js,(yx(),hM),(YA(),Vde)),fM),dIe),pIe),dM),uIe),bIe)}function U4n(e){switch(l(Q(e,(ft(),wv)),311).g){case 1:rt(e,wv,(ip(),Gx));break;case 2:rt(e,wv,(ip(),j6))}}function V4n(e){switch(e){case 0:return new DJe;case 1:return new LJe;case 2:return new MJe;default:throw ue(new rO)}}function V1t(e){switch(e.g){case 2:return yc;case 1:return hc;case 4:return Q1;case 3:return vf;default:return J1}}function L8e(e,t){switch(e.b.g){case 0:case 1:return t;case 2:case 3:return new Zh(t.d,0,t.a,t.b);default:return null}}function M8e(e){switch(e.g){case 1:return Zn;case 2:return Xn;case 3:return sr;case 4:return Mr;default:return jc}}function UN(e){switch(e.g){case 1:return Mr;case 2:return Zn;case 3:return Xn;case 4:return sr;default:return jc}}function WU(e){switch(e.g){case 1:return sr;case 2:return Mr;case 3:return Zn;case 4:return Xn;default:return jc}}function D8e(e,t,n,r){switch(t){case 1:return!e.n&&(e.n=new nt(nc,e,1,7)),e.n;case 2:return e.k}return Txe(e,t,n,r)}function LA(e,t,n){var r,s;return e.Pj()?(s=e.Qj(),r=rle(e,t,n),e.Jj(e.Ij(7,bt(n),r,t,s)),r):rle(e,t,n)}function Qce(e,t){var n,r,s;e.d==null?(++e.e,--e.f):(s=t.ld(),n=t.Bi(),r=(n&Ni)%e.d.length,Mvn(e,r,gbt(e,r,n,s)))}function MT(e,t){var n;n=(e.Bb&b0)!=0,t?e.Bb|=b0:e.Bb&=-1025,e.Db&4&&!(e.Db&1)&&Bi(e,new l0(e,1,10,n,t))}function DT(e,t){var n;n=(e.Bb&Zy)!=0,t?e.Bb|=Zy:e.Bb&=-4097,e.Db&4&&!(e.Db&1)&&Bi(e,new l0(e,1,12,n,t))}function IT(e,t){var n;n=(e.Bb&Cl)!=0,t?e.Bb|=Cl:e.Bb&=-8193,e.Db&4&&!(e.Db&1)&&Bi(e,new l0(e,1,15,n,t))}function OT(e,t){var n;n=(e.Bb&a4)!=0,t?e.Bb|=a4:e.Bb&=-2049,e.Db&4&&!(e.Db&1)&&Bi(e,new l0(e,1,11,n,t))}function G4n(e){var t;e.g&&(t=e.c.kg()?e.f:e.a,dke(t.a,e.o,!0),dke(t.a,e.o,!1),rt(e.o,(Nt(),Ds),(Pa(),Iv)))}function K4n(e){var t;if(!e.a)throw ue(new ic("Cannot offset an unassigned cut."));t=e.c-e.b,e.b+=t,bot(e,t),pot(e,t)}function W4n(e,t){var n;if(n=or(e.k,t),n==null)throw ue(new fd("Port did not exist in input."));return U7e(t,n),null}function Y4n(e){var t,n;for(n=hbt(Ah(e)).Kc();n.Ob();)if(t=Zr(n.Pb()),XA(e,t))return Xmn((Ket(),dAt),t);return null}function G1t(e){var t,n;for(n=e.p.a.ec().Kc();n.Ob();)if(t=l(n.Pb(),218),t.f&&e.b[t.c]<-1e-10)return t;return null}function X4n(e){var t,n;for(n=yb(new lb,91),t=!0;e.Ob();)t||(n.a+=To),t=!1,mu(n,e.Pb());return(n.a+="]",n).a}function Q4n(e){var t,n,r;for(t=new mt,r=new K(e.b);r.at?1:e==t?e==0?Xi(1/e,1/t):0:isNaN(e)?isNaN(t)?0:1:-1}function Z4n(e){var t;return t=e.a[e.c-1&e.a.length-1],t==null?null:(e.c=e.c-1&e.a.length-1,Ss(e.a,e.c,null),t)}function e5n(e){var t,n,r;for(r=0,n=e.length,t=0;t=1?yc:Q1):n}function i5n(e){switch(l(Q(e,(Nt(),yp)),223).g){case 1:return new Ree;case 3:return new Hee;default:return new Fee}}function Mb(e){if(e.c)Mb(e.c);else if(e.d)throw ue(new ic("Stream already terminated, can't be modified or used"))}function Hw(e,t,n){var r;return r=e.a.get(t),e.a.set(t,n===void 0?null:n),r===void 0?(++e.c,++e.b.g):++e.d,r}function s5n(e,t,n){var r,s;for(s=e.a.ec().Kc();s.Ob();)if(r=l(s.Pb(),10),DN(n,l(Rt(t,r.p),16)))return r;return null}function O8e(e,t,n){var r;return r=0,t&&(R5(e.a)?r+=t.f.a/2:r+=t.f.b/2),n&&(R5(e.a)?r+=n.f.a/2:r+=n.f.b/2),r}function a5n(e,t,n){var r;r=n,!r&&(r=e5e(new M8,0)),r.Ug(iyt,2),Qdt(e.b,t,r.eh(1)),xMn(e,t,r.eh(1)),EIn(t,r.eh(1)),r.Vg()}function N8e(e,t,n){var r,s;return r=(fb(),s=new LS,s),xU(r,t),yU(r,n),e&&zr((!e.a&&(e.a=new Qs(qh,e,5)),e.a),r),r}function Zce(e){var t;return e.Db&64?d0(e):(t=new Af(d0(e)),t.a+=" (identifier: ",Jo(t,e.k),t.a+=")",t.a)}function eue(e,t){var n;n=(e.Bb&nu)!=0,t?e.Bb|=nu:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&Bi(e,new l0(e,1,18,n,t))}function P8e(e,t){var n;n=(e.Bb&nu)!=0,t?e.Bb|=nu:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&Bi(e,new l0(e,1,18,n,t))}function NT(e,t){var n;n=(e.Bb&Sd)!=0,t?e.Bb|=Sd:e.Bb&=-16385,e.Db&4&&!(e.Db&1)&&Bi(e,new l0(e,1,16,n,t))}function B8e(e,t){var n;n=(e.Bb&Lo)!=0,t?e.Bb|=Lo:e.Bb&=-65537,e.Db&4&&!(e.Db&1)&&Bi(e,new l0(e,1,20,n,t))}function F8e(e){var t;return t=We(xf,_d,28,2,15,1),e-=Lo,t[0]=(e>>10)+BP&ta,t[1]=(e&1023)+56320&ta,If(t,0,t.length)}function o5n(e){var t;return t=qy(e),t>34028234663852886e22?gs:t<-34028234663852886e22?oa:t}function fo(e,t){var n;return xc(e)&&xc(t)&&(n=e+t,PP"+Um(t.c):"e_"+ts(t),e.b&&e.c?Um(e.b)+"->"+Um(e.c):"e_"+ts(e))}function l5n(e,t){return wn(t.b&&t.c?Um(t.b)+"->"+Um(t.c):"e_"+ts(t),e.b&&e.c?Um(e.b)+"->"+Um(e.c):"e_"+ts(e))}function Uw(e,t){return A1(),h0(Fb),b.Math.abs(e-t)<=Fb||e==t||isNaN(e)&&isNaN(t)?0:et?1:bw(isNaN(e),isNaN(t))}function cp(){cp=U,rpe=new Lq(uL,0),aF=new Lq("POLYLINE",1),aC=new Lq("ORTHOGONAL",2),a9=new Lq("SPLINES",3)}function XU(){XU=U,dOe=new Jse("ASPECT_RATIO_DRIVEN",0),Tge=new Jse("MAX_SCALE_DRIVEN",1),fOe=new Jse("AREA_DRIVEN",2)}function h5n(e,t,n){var r;try{Nyn(e,t,n)}catch(s){throw s=ms(s),De(s,606)?(r=s,ue(new F6e(r))):ue(s)}return t}function f5n(e){var t,n,r;for(n=0,r=e.length;nt&&r.Ne(e[o-1],e[o])>0;--o)f=e[o],Ss(e,o,e[o-1]),Ss(e,o-1,f)}function an(e,t){var n,r,s,o,f;if(n=t.f,y2(e.c.d,n,t),t.g!=null)for(s=t.g,o=0,f=s.length;ot){Uct(n);break}}YO(n,t)}function b5n(e,t){var n,r,s;r=W5(t),s=ze(Ge(Ry(r,(Nt(),y0)))),n=b.Math.max(0,s/2-.5),RA(t,n,1),wt(e,new utt(t,n))}function m5n(e,t,n){var r;n.Ug("Straight Line Edge Routing",1),n.dh(t,RCe),r=l(at(t,(V5(),Q6)),27),Ivt(e,r),n.dh(t,zG)}function R8e(e,t){e.n.c.length==0&&wt(e.n,new HH(e.s,e.t,e.i)),wt(e.b,t),vxe(l(Rt(e.n,e.n.c.length-1),209),t),gvt(e,t)}function MA(e){var t;this.a=(t=l(e.e&&e.e(),9),new Jh(t,l(o0(t,t.length),9),0)),this.b=We(ka,jn,1,this.a.a.length,5,1)}function Tc(e){var t;return Array.isArray(e)&&e.Tm===xe?Pm(dh(e))+"@"+(t=ts(e)>>>0,t.toString(16)):e.toString()}function v5n(e,t){return e.h==NP&&e.m==0&&e.l==0?(t&&(Hb=qu(0,0,0)),Lnt((aT(),d_e))):(t&&(Hb=qu(e.l,e.m,e.h)),qu(0,0,0))}function w5n(e,t){switch(t.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}function X1t(e,t){switch(t.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}function j8e(e,t,n,r){switch(t){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return D8e(e,t,n,r)}function QU(e,t){if(t==e.d)return e.e;if(t==e.e)return e.d;throw ue(new Wn("Node "+t+" not part of edge "+e))}function y5n(e,t){var n;if(n=pP(e.Dh(),t),De(n,102))return l(n,19);throw ue(new Wn(qb+t+"' is not a valid reference"))}function cf(e,t,n,r){if(t<0)ike(e,n,r);else{if(!n.rk())throw ue(new Wn(qb+n.xe()+TL));l(n,69).wk().Ck(e,e.hi(),t,r)}}function Wl(e){var t;if(e.b){if(Wl(e.b),e.b.d!=e.c)throw ue(new Yh)}else e.d.dc()&&(t=l(e.f.c.xc(e.e),16),t&&(e.d=t))}function x5n(e){vy();var t,n,r,s;for(t=e.o.b,r=l(l($i(e.r,(_t(),Mr)),21),87).Kc();r.Ob();)n=l(r.Pb(),117),s=n.e,s.b+=t}function k5n(e){var t,n,r;for(this.a=new pd,r=new K(e);r.a=s)return t.c+n;return t.c+t.b.gc()}function E5n(e,t){jk();var n,r,s,o;for(r=cht(e),s=t,iT(r,0,r.length,s),n=0;n0&&(r+=s,++n);return n>1&&(r+=e.d*(n-1)),r}function S5n(e){var t,n,r,s,o;return o=r9e(e),n=oO(e.c),r=!n,r&&(s=new Yp,Z0(o,"knownLayouters",s),t=new RQe(s),Za(e.c,t)),o}function q8e(e){var t,n,r;for(r=new e2,r.a+="[",t=0,n=e.gc();t0&&(Yn(t-1,e.length),e.charCodeAt(t-1)==58)&&!rue(e,zM,qM))}function H8e(e,t){var n;return qe(e)===qe(t)?!0:De(t,92)?(n=l(t,92),e.e==n.e&&e.d==n.d&&Zmn(e,n.a)):!1}function px(e){switch(_t(),e.g){case 4:return Xn;case 1:return sr;case 3:return Mr;case 2:return Zn;default:return jc}}function M5n(e){var t,n;if(e.b)return e.b;for(n=G1?null:e.d;n;){if(t=G1?null:n.b,t)return t;n=G1?null:n.d}return Ok(),F_e}function U8e(e){var t,n,r;for(r=ze(Ge(e.a.of((bi(),fY)))),n=new K(e.a.Sf());n.a>5,t=e&31,r=We(Ur,fi,28,n+1,15,1),r[n]=1<3;)s*=10,--o;e=(e+(s>>1))/s|0}return r.i=e,!0}function vs(e,t){var n,r,s;if(n=(e.i==null&&Cd(e),e.i),r=t.Lj(),r!=-1){for(s=n.length;r=0;--r)for(t=n[r],s=0;s>1,this.k=t-1>>1}function V5n(e){oU(),l(e.of((bi(),em)),181).Hc((Xl(),wY))&&(l(e.of(L4),181).Fc((Pl(),o9)),l(e.of(em),181).Mc(wY))}function rdt(e){var t,n;t=e.d==(xx(),NE),n=Kxe(e),t&&!n||!t&&n?rt(e.a,(Nt(),Fd),(lg(),JB)):rt(e.a,(Nt(),Fd),(lg(),QB))}function aue(){aue=U,uq(),IW=(Nt(),E3),STt=O1(he(le(jge,1),CCe,149,0,[NB,y0,V6,T3,T4,kde,WE,YE,Tde,nM,U6,Sv,G6]))}function G5n(e,t){var n;return n=l(kc(e,Il(new qr,new ht,new On,he(le(uc,1),it,108,0,[(Nl(),Cc)]))),15),n.Qc(Est(n.gc()))}function idt(e,t){var n,r;if(r=new wa(e.a.ad(t,!0)),r.a.gc()<=1)throw ue(new _8);return n=r.a.ec().Kc(),n.Pb(),l(n.Pb(),40)}function K5n(e,t,n){var r,s;return r=ze(e.p[t.i.p])+ze(e.d[t.i.p])+t.n.b+t.a.b,s=ze(e.p[n.i.p])+ze(e.d[n.i.p])+n.n.b+n.a.b,s-r}function Q8e(e,t){var n;return e.i>0&&(t.lengthe.i&&Ss(t,e.i,null),t}function ZU(e){var t;return e.Db&64?SA(e):(t=new Af(SA(e)),t.a+=" (instanceClassName: ",Jo(t,e.D),t.a+=")",t.a)}function eV(e){var t,n,r,s;for(s=0,n=0,r=e.length;n0?(e._j(),r=t==null?0:ts(t),s=(r&Ni)%e.d.length,n=gbt(e,s,r,t),n!=-1):!1}function sdt(e,t){var n,r;e.a=fo(e.a,1),e.c=b.Math.min(e.c,t),e.b=b.Math.max(e.b,t),e.d+=t,n=t-e.f,r=e.e+n,e.f=r-e.e-n,e.e=r}function J8e(e,t){switch(t){case 3:Fw(e,0);return;case 4:Rw(e,0);return;case 5:Vu(e,0);return;case 6:Gu(e,0);return}k8e(e,t)}function Vw(e,t){switch(t.g){case 1:return K8(e.j,(xl(),jAe));case 2:return K8(e.j,(xl(),zAe));default:return Cn(),Cn(),Co}}function Z8e(e){Sw();var t;switch(t=e.Pc(),t.length){case 0:return P0e;case 1:return new $ae(Xr(t[0]));default:return new xoe(f5n(t))}}function adt(e,t){e.Xj();try{e.d.bd(e.e++,t),e.f=e.d.j,e.g=-1}catch(n){throw n=ms(n),De(n,77)?ue(new Yh):ue(n)}}function cue(){cue=U,vpe=new PS,WPe=new q0,YPe=new BI,XPe=new FI,QPe=new d8,JPe=new pre,ZPe=new bre,eBe=new mre,tBe=new vre}function tV(e,t){kye();var n,r;return n=RO((Yz(),Yz(),PL)),r=null,t==n&&(r=l(wu(h_e,e),624)),r||(r=new Cat(e),t==n&&sc(h_e,e,r)),r}function odt(e){jy();var t;return(e.q?e.q:(Cn(),Cn(),yg))._b((Nt(),x3))?t=l(Q(e,x3),203):t=l(Q(Ja(e),tM),203),t}function Ry(e,t){var n,r;return r=null,rs(e,(Nt(),MW))&&(n=l(Q(e,MW),96),n.pf(t)&&(r=n.of(t))),r==null&&(r=Q(Ja(e),t)),r}function cdt(e,t){var n,r,s;return De(t,44)?(n=l(t,44),r=n.ld(),s=By(e.Rc(),r),wd(s,n.md())&&(s!=null||e.Rc()._b(r))):!1}function t1(e,t){var n,r,s;return e.f>0&&(e._j(),r=t==null?0:ts(t),s=(r&Ni)%e.d.length,n=R9e(e,s,r,t),n)?n.md():null}function Fu(e,t,n){var r,s,o;return e.Pj()?(r=e.i,o=e.Qj(),$N(e,r,t),s=e.Ij(3,null,t,r,o),n?n.nj(s):n=s):$N(e,e.i,t),n}function Y5n(e,t,n){var r,s;return r=new rp(e.e,4,10,(s=t.c,De(s,90)?l(s,29):(En(),Kf)),null,x2(e,t),!1),n?n.nj(r):n=r,n}function X5n(e,t,n){var r,s;return r=new rp(e.e,3,10,null,(s=t.c,De(s,90)?l(s,29):(En(),Kf)),x2(e,t),!1),n?n.nj(r):n=r,n}function udt(e){vy();var t;return t=new xo(l(e.e.of((bi(),a7)),8)),e.B.Hc((Xl(),cC))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function Db(e){Ed();var t,n;return n=Yr(e),t=Yr(vb(e,32)),t!=0?new mct(n,t):n>10||n<0?new tp(1,n):Y6t[n]}function GN(e,t){var n;return xc(e)&&xc(t)&&(n=e%t,PP=0?o=o.a[1]:(s=o,o=o.a[0])}return s}function WN(e,t,n){var r,s,o;for(s=null,o=e.b;o;){if(r=e.a.Ne(t,o.d),n&&r==0)return o;r<=0?o=o.a[0]:(s=o,o=o.a[1])}return s}function n6n(e,t,n,r){var s,o,f;return s=!1,sDn(e.f,n,r)&&(E6n(e.f,e.a[t][n],e.a[t][r]),o=e.a[t],f=o[r],o[r]=o[n],o[n]=f,s=!0),s}function ddt(e,t,n){var r,s,o,f;for(s=l(or(e.b,n),183),r=0,f=new K(t.j);f.a>5,t&=31,s=e.d+n+(t==0?0:1),r=We(Ur,fi,28,s,15,1),e9n(r,e.a,n,t),o=new $m(e.e,s,r),sA(o),o}function r6n(e,t){var n,r,s;for(r=new lr(fr(qs(e).a.Kc(),new j));Rr(r);)if(n=l(yr(r),18),s=n.d.i,s.c==t)return!1;return!0}function nxe(e,t,n){var r,s,o,f,g;return f=e.k,g=t.k,r=n[f.g][g.g],s=Ge(Ry(e,r)),o=Ge(Ry(t,r)),b.Math.max((tr(s),s),(tr(o),o))}function i6n(){return Error.stackTraceLimit>0?(b.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function s6n(e,t){return A1(),A1(),h0(Fb),(b.Math.abs(e-t)<=Fb||e==t||isNaN(e)&&isNaN(t)?0:et?1:bw(isNaN(e),isNaN(t)))>0}function rxe(e,t){return A1(),A1(),h0(Fb),(b.Math.abs(e-t)<=Fb||e==t||isNaN(e)&&isNaN(t)?0:et?1:bw(isNaN(e),isNaN(t)))<0}function pdt(e,t){return A1(),A1(),h0(Fb),(b.Math.abs(e-t)<=Fb||e==t||isNaN(e)&&isNaN(t)?0:et?1:bw(isNaN(e),isNaN(t)))<=0}function lue(e,t){for(var n=0;!t[n]||t[n]=="";)n++;for(var r=t[n++];n0&&this.b>0&&(this.g=gH(this.c,this.b,this.a))}function a6n(e,t){var n=e.a,r;t=String(t),n.hasOwnProperty(t)&&(r=n[t]);var s=(Ice(),z0e)[typeof r],o=s?s(r):m8e(typeof r);return o}function BT(e){var t,n,r;if(r=null,t=Nd in e.a,n=!t,n)throw ue(new fd("Every element must have an id."));return r=kx(Jg(e,Nd)),r}function Gw(e){var t,n;for(n=zpt(e),t=null;e.c==2;)Mi(e),t||(t=(Ii(),Ii(),new F_(2)),sv(t,n),n=t),n.Jm(zpt(e));return n}function rV(e,t){var n,r,s;return e._j(),r=t==null?0:ts(t),s=(r&Ni)%e.d.length,n=R9e(e,s,r,t),n?(Tft(e,n),n.md()):null}function kdt(e,t){return e.e>t.e?1:e.et.d?e.e:e.d=48&&e<48+b.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function o6n(e,t){if(t.c==e)return t.d;if(t.d==e)return t.c;throw ue(new Wn("Input edge is not connected to the input port."))}function c6n(e){if(sV(xE,e))return Hn(),AE;if(sV(Qfe,e))return Hn(),Ub;throw ue(new Wn("Expecting true or false"))}function axe(e){switch(typeof e){case Gle:return g2(e);case pTe:return $8(e);case Sx:return rit(e);default:return e==null?0:ww(e)}}function Td(e,t){if(e.a<0)throw ue(new ic("Did not call before(...) or after(...) before calling add(...)."));return e4e(e,e.a,t),e}function oxe(e){return UH(),De(e,162)?l(or(vF,e7t),295).Rg(e):Hu(vF,dh(e))?l(or(vF,dh(e)),295).Rg(e):null}function Ku(e){var t,n;return e.Db&32||(n=(t=l(Gn(e,16),29),wr(t||e.ii())-wr(e.ii())),n!=0&&bx(e,32,We(ka,jn,1,n,5,1))),e}function bx(e,t,n){var r;e.Db&t?n==null?VTn(e,t):(r=Due(e,t),r==-1?e.Eb=n:Ss(Km(e.Eb),r,n)):n!=null&&gSn(e,t,n)}function u6n(e,t,n,r){var s,o;t.c.length!=0&&(s=iCn(n,r),o=sTn(t),Os(vU(new vn(null,new kn(o,1)),new o8),new eot(e,n,s,r)))}function l6n(e,t){var n,r,s,o;return r=e.a.length-1,n=t-e.b&r,o=e.c-t&r,s=e.c-e.b&r,Jrt(n=o?(c4n(e,t),-1):(o4n(e,t),1)}function iV(e){var t,n,r;if(r=e.Jh(),!r)for(t=0,n=e.Ph();n;n=n.Ph()){if(++t>xhe)return n.Qh();if(r=n.Jh(),r||n==e)break}return r}function Edt(e,t){var n;return qe(t)===qe(e)?!0:!De(t,21)||(n=l(t,21),n.gc()!=e.gc())?!1:e.Ic(n)}function h6n(e,t){return e.et.e?1:e.ft.f?1:ts(e)-ts(t)}function sV(e,t){return tr(e),t==null?!1:wn(e,t)?!0:e.length==t.length&&wn(e.toLowerCase(),t.toLowerCase())}function lp(e){var t,n;return su(e,-129)>0&&su(e,128)<0?(Ast(),t=Yr(e)+128,n=y_e[t],!n&&(n=y_e[t]=new Ir(e)),n):new Ir(e)}function tv(){tv=U,h4=new xq(Dd,0),NAe=new xq("INSIDE_PORT_SIDE_GROUPS",1),x1e=new xq("GROUP_MODEL_ORDER",2),k1e=new xq(iEe,3)}function f6n(e){var t;return e.b||sln(e,(t=i0n(e.e,e.a),!t||!wn(Qfe,t1((!t.b&&(t.b=new lh((En(),Do),Qc,t)),t.b),"qualified")))),e.c}function d6n(e,t){var n,r;for(n=(Yn(t,e.length),e.charCodeAt(t)),r=t+1;r2e3&&(j6t=e,pK=b.setTimeout(lln,10))),gK++==0?(Swn((g3e(),l_e)),!0):!1}function _6n(e,t,n){var r;(o7t?(M5n(e),!0):c7t||l7t?(Ok(),!0):u7t&&(Ok(),!1))&&(r=new zit(t),r.b=n,P9n(e,r))}function fue(e,t){var n;n=!e.A.Hc((gh(),Ov))||e.q==(Pa(),Au),e.u.Hc((Pl(),kp))?n?bIn(e,t):wwt(e,t):e.u.Hc(im)&&(n?BDn(e,t):Nwt(e,t))}function Mdt(e){var t;qe(at(e,(bi(),i7)))===qe((op(),pY))&&(ds(e)?(t=l(at(ds(e),i7),346),Vi(e,i7,t)):Vi(e,i7,IM))}function A6n(e){var t,n;return rs(e.d.i,(Nt(),VE))?(t=l(Q(e.c.i,VE),17),n=l(Q(e.d.i,VE),17),iu(t.a,n.a)>0):!1}function Ddt(e,t,n){return new Zh(b.Math.min(e.a,t.a)-n/2,b.Math.min(e.b,t.b)-n/2,b.Math.abs(e.a-t.a)+n,b.Math.abs(e.b-t.b)+n)}function Idt(e){var t;this.d=new mt,this.j=new za,this.g=new za,t=e.g.b,this.f=l(Q(Ja(t),(Nt(),Rh)),88),this.e=ze(Ge(uV(t,T4)))}function Odt(e){this.d=new mt,this.e=new u2,this.c=We(Ur,fi,28,(_t(),he(le(Mo,1),ou,64,0,[jc,Xn,sr,Mr,Zn])).length,15,1),this.b=e}function lxe(e,t,n){var r;switch(r=n[e.g][t],e.g){case 1:case 3:return new lt(0,r);case 2:case 4:return new lt(r,0);default:return null}}function Ndt(e,t,n){var r,s;s=l(eN(t.f),205);try{s.rf(e,n),jat(t.f,s)}catch(o){throw o=ms(o),De(o,103)?(r=o,ue(r)):ue(o)}}function Pdt(e,t,n){var r,s,o,f,g,w;return r=null,g=tTe(dT(),t),o=null,g&&(s=null,w=Zke(g,n),f=null,w!=null&&(f=e.qf(g,w)),s=f,o=s),r=o,r}function due(e,t,n,r){var s;if(s=e.length,t>=s)return s;for(t=t>0?t:0;tr&&Ss(t,r,null),t}function Bdt(e,t){var n,r;for(r=e.a.length,t.lengthr&&Ss(t,r,null),t}function FT(e,t){var n,r;if(++e.j,t!=null&&(n=(r=e.a.Cb,De(r,99)?l(r,99).th():null),OTn(t,n))){bx(e.a,4,n);return}bx(e.a,4,l(t,129))}function L6n(e){var t;if(e==null)return null;if(t=NEn(ku(e,!0)),t==null)throw ue(new fse("Invalid hexBinary value: '"+e+"'"));return t}function aV(e,t,n){var r;t.a.length>0&&(wt(e.b,new rst(t.a,n)),r=t.a.length,0r&&(t.a+=srt(We(xf,_d,28,-r,15,1))))}function Fdt(e,t,n){var r,s,o;if(!n[t.d])for(n[t.d]=!0,s=new K(t6(t));s.a=e.b>>1)for(r=e.c,n=e.b;n>t;--n)r=r.b;else for(r=e.a.a,n=0;n=0?e.Wh(s):nle(e,r)):n<0?nle(e,r):l(r,69).wk().Bk(e,e.hi(),n)}function zdt(e){var t,n,r;for(r=(!e.o&&(e.o=new yl((au(),Ag),R2,e,0)),e.o),n=r.c.Kc();n.e!=n.i.gc();)t=l(n.Yj(),44),t.md();return fN(r)}function It(e){var t;if(De(e.a,4)){if(t=oxe(e.a),t==null)throw ue(new ic(u4t+e.b+"'. "+c4t+(Xg(wF),wF.k)+bSe));return t}else return e.a}function F6n(e,t){var n,r;if(e.j.length!=t.j.length)return!1;for(n=0,r=e.j.length;n=64&&t<128&&(s=X0(s,u0(1,t-64)));return s}function uV(e,t){var n,r;return r=null,rs(e,(bi(),i9))&&(n=l(Q(e,i9),96),n.pf(t)&&(r=n.of(t))),r==null&&Ja(e)&&(r=Q(Ja(e),t)),r}function R6n(e,t){var n;return n=l(Q(e,(Nt(),lc)),75),dae(t,cxt)?n?Ch(n):(n=new pl,rt(e,lc,n)):n&&rt(e,lc,null),n}function OA(){OA=U,gAe=(bi(),VNe),c1e=CNe,o8t=t7,dAe=B2,h8t=(xV(),G_e),l8t=U_e,f8t=W_e,u8t=H_e,c8t=(Hce(),lAe),o1e=i8t,fAe=s8t,SK=a8t}function lV(e){switch(F3e(),this.c=new mt,this.d=e,e.g){case 0:case 2:this.a=V5e(OAe),this.b=gs;break;case 3:case 1:this.a=OAe,this.b=oa}}function j6n(e){var t;G8(l(Q(e,(Nt(),Ds)),101))&&(t=e.b,L2t((Sn(0,t.c.length),l(t.c[0],30))),L2t(l(Rt(t,t.c.length-1),30)))}function $6n(e,t){t.Ug("Self-Loop post-processing",1),Os(ji(ji(Pc(new vn(null,new kn(e.b,16)),new JZ),new ZZ),new eee),new Dj),t.Vg()}function qdt(e,t,n){var r,s;if(e.c)Vu(e.c,e.c.i+t),Gu(e.c,e.c.j+n);else for(s=new K(e.b);s.a=0&&(n.d=e.t);break;case 3:e.t>=0&&(n.a=e.t)}e.C&&(n.b=e.C.b,n.c=e.C.c)}function NA(){NA=U,BDe=new wO(SCe,0),Ide=new wO(efe,1),Ode=new wO("LINEAR_SEGMENTS",2),iM=new wO("BRANDES_KOEPF",3),sM=new wO(Fyt,4)}function PA(){PA=U,mB=new wq(lG,0),EK=new wq(Nhe,1),CK=new wq(Phe,2),vB=new wq(Bhe,3),mB.a=!1,EK.a=!0,CK.a=!1,vB.a=!0}function mx(){mx=U,gB=new vq(lG,0),dB=new vq(Nhe,1),pB=new vq(Phe,2),bB=new vq(Bhe,3),gB.a=!1,dB.a=!0,pB.a=!1,bB.a=!0}function vx(e,t,n,r){var s;return n>=0?e.Sh(t,n,r):(e.Ph()&&(r=(s=e.Fh(),s>=0?e.Ah(r):e.Ph().Th(e,-1-s,null,r))),e.Ch(t,n,r))}function hxe(e,t){switch(t){case 7:!e.e&&(e.e=new An(js,e,7,4)),$r(e.e);return;case 8:!e.d&&(e.d=new An(js,e,8,5)),$r(e.d);return}J8e(e,t)}function Vi(e,t,n){return n==null?(!e.o&&(e.o=new yl((au(),Ag),R2,e,0)),rV(e.o,t)):(!e.o&&(e.o=new yl((au(),Ag),R2,e,0)),eP(e.o,t,n)),e}function Gdt(e,t){Cn();var n,r,s,o;for(n=e,o=t,De(e,21)&&!De(t,21)&&(n=t,o=e),s=n.Kc();s.Ob();)if(r=s.Pb(),o.Hc(r))return!1;return!0}function V6n(e,t,n,r){if(t.an.b)return!0}return!1}function vue(e,t){return Da(e)?!!I6t[t]:e.Sm?!!e.Sm[t]:py(e)?!!D6t[t]:gy(e)?!!M6t[t]:!1}function G6n(e){var t;t=e.a;do t=l(yr(new lr(fr(Ea(t).a.Kc(),new j))),18).c.i,t.k==(Jn(),Aa)&&e.b.Fc(t);while(t.k==(Jn(),Aa));e.b=uf(e.b)}function Kdt(e,t){var n,r,s;for(s=e,r=new lr(fr(Ea(t).a.Kc(),new j));Rr(r);)n=l(yr(r),18),n.c.i.c&&(s=b.Math.max(s,n.c.i.c.p));return s}function K6n(e,t){var n,r,s;for(s=0,r=l(l($i(e.r,t),21),87).Kc();r.Ob();)n=l(r.Pb(),117),s+=n.d.d+n.b.Mf().b+n.d.a,r.Ob()&&(s+=e.w);return s}function W6n(e,t){var n,r,s;for(s=0,r=l(l($i(e.r,t),21),87).Kc();r.Ob();)n=l(r.Pb(),117),s+=n.d.b+n.b.Mf().a+n.d.c,r.Ob()&&(s+=e.w);return s}function Wdt(e){var t,n,r,s;if(r=0,s=Gy(e),s.c.length==0)return 1;for(n=new K(s);n.a=0?e.Lh(f,n,!0):Xw(e,o,n)):l(o,69).wk().yk(e,e.hi(),s,n,r)}function J6n(e,t,n,r){var s,o;o=t.pf((bi(),s7))?l(t.of(s7),21):e.j,s=B4n(o),s!=(rG(),r1e)&&(n&&!ixe(s)||b9e(PEn(e,s,r),t))}function Z6n(e){switch(e.g){case 1:return qw(),fB;case 3:return qw(),hB;case 2:return qw(),s1e;case 4:return qw(),i1e;default:return null}}function e7n(e,t,n){if(e.e)switch(e.b){case 1:Upn(e.c,t,n);break;case 0:Vpn(e.c,t,n)}else put(e.c,t,n);e.a[t.p][n.p]=e.c.i,e.a[n.p][t.p]=e.c.e}function Ydt(e){var t,n;if(e==null)return null;for(n=We(kg,dt,199,e.length,0,2),t=0;t=0)return s;if(e.ol()){for(r=0;r=s)throw ue(new yy(t,s));if(e.Si()&&(r=e.dd(n),r>=0&&r!=t))throw ue(new Wn(nB));return e.Xi(t,n)}function fxe(e,t){if(this.a=l(Xr(e),253),this.b=l(Xr(t),253),e.Ed(t)>0||e==(sse(),O0e)||t==(ase(),N0e))throw ue(new Wn("Invalid range: "+vut(e,t)))}function Xdt(e){var t,n;for(this.b=new mt,this.c=e,this.a=!1,n=new K(e.a);n.a0),(t&-t)==t)return da(t*Yl(e,31)*4656612873077393e-25);do n=Yl(e,31),r=n%t;while(n-r+(t-1)<0);return da(r)}function a7n(e,t,n){switch(n.g){case 1:e.a=t.a/2,e.b=0;break;case 2:e.a=t.a,e.b=t.b/2;break;case 3:e.a=t.a/2,e.b=t.b;break;case 4:e.a=0,e.b=t.b/2}}function YN(e,t,n,r){var s,o;for(s=t;s1&&(o=n7n(e,t)),o}function Zdt(e){var t;return t=ze(Ge(at(e,(bi(),sF))))*b.Math.sqrt((!e.a&&(e.a=new nt(Li,e,10,11)),e.a).i),new lt(t,t/ze(Ge(at(e,dY))))}function yue(e){var t;return e.f&&e.f.Vh()&&(t=l(e.f,54),e.f=l(Lb(e,t),84),e.f!=t&&e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,9,8,t,e.f))),e.f}function xue(e){var t;return e.i&&e.i.Vh()&&(t=l(e.i,54),e.i=l(Lb(e,t),84),e.i!=t&&e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,9,7,t,e.i))),e.i}function jo(e){var t;return e.b&&e.b.Db&64&&(t=e.b,e.b=l(Lb(e,t),19),e.b!=t&&e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,9,21,t,e.b))),e.b}function pV(e,t){var n,r,s;e.d==null?(++e.e,++e.f):(r=t.Bi(),LCn(e,e.f+1),s=(r&Ni)%e.d.length,n=e.d[s],!n&&(n=e.d[s]=e.dk()),n.Fc(t),++e.f)}function pxe(e,t,n){var r;return t.tk()?!1:t.Ik()!=-2?(r=t.ik(),r==null?n==null:Fi(r,n)):t.qk()==e.e.Dh()&&n==null}function bV(){var e;Mh(16,l3t),e=Fft(16),this.b=We(B0e,IP,303,e,0,1),this.c=We(B0e,IP,303,e,0,1),this.a=null,this.e=null,this.i=0,this.f=e-1,this.g=0}function hp(e){x4e.call(this),this.k=(Jn(),Bs),this.j=(Mh(6,Jy),new Pu(6)),this.b=(Mh(2,Jy),new Pu(2)),this.d=new ese,this.f=new n3e,this.a=e}function c7n(e){var t,n;e.c.length<=1||(t=rmt(e,(_t(),Mr)),Upt(e,l(t.a,17).a,l(t.b,17).a),n=rmt(e,Zn),Upt(e,l(n.a,17).a,l(n.b,17).a))}function u7n(e,t,n){var r,s;for(s=e.a.b,r=s.c.length;r102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function Sue(e,t){if(e==null)throw ue(new I8("null key in entry: null="+t));if(t==null)throw ue(new I8("null value in entry: "+e+"=null"))}function f7n(e,t){for(var n,r;e.Ob();)if(!t.Ob()||(n=e.Pb(),r=t.Pb(),!(qe(n)===qe(r)||n!=null&&Fi(n,r))))return!1;return!t.Ob()}function ngt(e,t){var n;return n=he(le(Oa,1),tc,28,15,[Vce(e.a[0],t),Vce(e.a[1],t),Vce(e.a[2],t)]),e.d&&(n[0]=b.Math.max(n[0],n[2]),n[2]=n[0]),n}function rgt(e,t){var n;return n=he(le(Oa,1),tc,28,15,[UU(e.a[0],t),UU(e.a[1],t),UU(e.a[2],t)]),e.d&&(n[0]=b.Math.max(n[0],n[2]),n[2]=n[0]),n}function mxe(e,t,n){G8(l(Q(t,(Nt(),Ds)),101))||(D6e(e,t,k2(t,n)),D6e(e,t,k2(t,(_t(),Mr))),D6e(e,t,k2(t,Xn)),Cn(),Gs(t.j,new oXe(e)))}function igt(e){var t,n;for(e.c||DMn(e),n=new pl,t=new K(e.a),re(t);t.a0&&(Yn(0,t.length),t.charCodeAt(0)==43)?(Yn(1,t.length+1),t.substr(1)):t))}function S7n(e){var t;return e==null?null:new bb((t=ku(e,!0),t.length>0&&(Yn(0,t.length),t.charCodeAt(0)==43)?(Yn(1,t.length+1),t.substr(1)):t))}function wxe(e,t,n,r,s,o,f,g){var w,T;r&&(w=r.a[0],w&&wxe(e,t,n,w,s,o,f,g),Pue(e,n,r.d,s,o,f,g)&&t.Fc(r),T=r.a[1],T&&wxe(e,t,n,T,s,o,f,g))}function s6(e,t,n){try{return pw(bce(e,t,n),1)}catch(r){throw r=ms(r),De(r,333)?ue(new rc(Fhe+e.o+"*"+e.p+Rhe+t+To+n+jhe)):ue(r)}}function ugt(e,t,n){try{return pw(bce(e,t,n),0)}catch(r){throw r=ms(r),De(r,333)?ue(new rc(Fhe+e.o+"*"+e.p+Rhe+t+To+n+jhe)):ue(r)}}function lgt(e,t,n){try{return pw(bce(e,t,n),2)}catch(r){throw r=ms(r),De(r,333)?ue(new rc(Fhe+e.o+"*"+e.p+Rhe+t+To+n+jhe)):ue(r)}}function hgt(e,t){if(e.g==-1)throw ue(new gl);e.Xj();try{e.d.hd(e.g,t),e.f=e.d.j}catch(n){throw n=ms(n),De(n,77)?ue(new Yh):ue(n)}}function _7n(e){var t,n,r,s,o;for(r=new K(e.b);r.ao&&Ss(t,o,null),t}function A7n(e,t){var n,r;if(r=e.gc(),t==null){for(n=0;n0&&(w+=s),T[C]=f,f+=g*(w+r)}function dgt(e){var t,n,r;for(r=e.f,e.n=We(Oa,tc,28,r,15,1),e.d=We(Oa,tc,28,r,15,1),t=0;t0?e.c:0),++s;e.b=r,e.d=o}function vgt(e,t){var n;return n=he(le(Oa,1),tc,28,15,[gxe(e,(e1(),Wc),t),gxe(e,ju,t),gxe(e,Yc,t)]),e.f&&(n[0]=b.Math.max(n[0],n[2]),n[2]=n[0]),n}function B7n(e,t,n){var r;try{VV(e,t+e.j,n+e.k,!1,!0)}catch(s){throw s=ms(s),De(s,77)?(r=s,ue(new rc(r.g+fG+t+To+n+")."))):ue(s)}}function F7n(e,t,n){var r;try{VV(e,t+e.j,n+e.k,!0,!1)}catch(s){throw s=ms(s),De(s,77)?(r=s,ue(new rc(r.g+fG+t+To+n+")."))):ue(s)}}function wgt(e){var t;rs(e,(Nt(),y3))&&(t=l(Q(e,y3),21),t.Hc((Vy(),k0))?(t.Mc(k0),t.Fc(T0)):t.Hc(T0)&&(t.Mc(T0),t.Fc(k0)))}function ygt(e){var t;rs(e,(Nt(),y3))&&(t=l(Q(e,y3),21),t.Hc((Vy(),C0))?(t.Mc(C0),t.Fc(qf)):t.Hc(qf)&&(t.Mc(qf),t.Fc(C0)))}function Iue(e,t,n,r){var s,o,f,g;return e.a==null&&j9n(e,t),f=t.b.j.c.length,o=n.d.p,g=r.d.p,s=g-1,s<0&&(s=f-1),o<=s?e.a[s]-e.a[o]:e.a[f-1]-e.a[o]+e.a[s]}function R7n(e){var t,n;if(!e.b)for(e.b=WH(l(e.f,27).kh().i),n=new ar(l(e.f,27).kh());n.e!=n.i.gc();)t=l(dr(n),135),wt(e.b,new use(t));return e.b}function j7n(e){var t,n;if(!e.e)for(e.e=WH(loe(l(e.f,27)).i),n=new ar(loe(l(e.f,27)));n.e!=n.i.gc();)t=l(dr(n),123),wt(e.e,new hQe(t));return e.e}function xgt(e){var t,n;if(!e.a)for(e.a=WH(BH(l(e.f,27)).i),n=new ar(BH(l(e.f,27)));n.e!=n.i.gc();)t=l(dr(n),27),wt(e.a,new mae(e,t));return e.a}function Ww(e){var t;if(!e.C&&(e.D!=null||e.B!=null))if(t=SDn(e),t)e.hl(t);else try{e.hl(null)}catch(n){if(n=ms(n),!De(n,63))throw ue(n)}return e.C}function $7n(e){switch(e.q.g){case 5:Vgt(e,(_t(),Xn)),Vgt(e,Mr);break;case 4:Kvt(e,(_t(),Xn)),Kvt(e,Mr);break;default:Xpt(e,(_t(),Xn)),Xpt(e,Mr)}}function z7n(e){switch(e.q.g){case 5:Ggt(e,(_t(),sr)),Ggt(e,Zn);break;case 4:Wvt(e,(_t(),sr)),Wvt(e,Zn);break;default:Qpt(e,(_t(),sr)),Qpt(e,Zn)}}function a6(e,t){var n,r,s;for(s=new za,r=e.Kc();r.Ob();)n=l(r.Pb(),36),YT(n,s.a,0),s.a+=n.f.a+t,s.b=b.Math.max(s.b,n.f.b);return s.b>0&&(s.b+=t),s}function wV(e,t){var n,r,s;for(s=new za,r=e.Kc();r.Ob();)n=l(r.Pb(),36),YT(n,0,s.b),s.b+=n.f.b+t,s.a=b.Math.max(s.a,n.f.a);return s.a>0&&(s.a+=t),s}function kgt(e){var t,n,r;for(r=Ni,n=new K(e.a);n.a>16==6?e.Cb.Th(e,5,c1,t):(r=jo(l(Mn((n=l(Gn(e,16),29),n||e.ii()),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function q7n(e){Jk();var t=e.e;if(t&&t.stack){var n=t.stack,r=t+` -`;return n.substring(0,r.length)==r&&(n=n.substring(r.length)),n.split(` -`)}return[]}function H7n(e){var t;return t=(Sft(),U6t),t[e>>>28]|t[e>>24&15]<<4|t[e>>20&15]<<8|t[e>>16&15]<<12|t[e>>12&15]<<16|t[e>>8&15]<<20|t[e>>4&15]<<24|t[e&15]<<28}function Cgt(e){var t,n,r;e.b==e.c&&(r=e.a.length,n=Z7e(b.Math.max(8,r))<<1,e.b!=0?(t=o0(e.a,n),zft(e,t,r),e.a=t,e.b=0):uy(e.a,n),e.c=r)}function U7n(e,t){var n;return n=e.b,n.pf((bi(),eh))?n.ag()==(_t(),Zn)?-n.Mf().a-ze(Ge(n.of(eh))):t+ze(Ge(n.of(eh))):n.ag()==(_t(),Zn)?-n.Mf().a:t}function QN(e){var t;return e.b.c.length!=0&&l(Rt(e.b,0),72).a?l(Rt(e.b,0),72).a:(t=hoe(e),t??""+(e.c?bc(e.c.a,e,0):-1))}function yV(e){var t;return e.f.c.length!=0&&l(Rt(e.f,0),72).a?l(Rt(e.f,0),72).a:(t=hoe(e),t??""+(e.i?bc(e.i.j,e,0):-1))}function V7n(e,t){var n,r;if(t<0||t>=e.gc())return null;for(n=t;n0?e.c:0),s=b.Math.max(s,t.d),++r;e.e=o,e.b=s}function K7n(e){var t,n;if(!e.b)for(e.b=WH(l(e.f,123).kh().i),n=new ar(l(e.f,123).kh());n.e!=n.i.gc();)t=l(dr(n),135),wt(e.b,new use(t));return e.b}function W7n(e,t){var n,r,s;if(t.dc())return jk(),jk(),yF;for(n=new cit(e,t.gc()),s=new ar(e);s.e!=s.i.gc();)r=dr(s),t.Hc(r)&&zr(n,r);return n}function Txe(e,t,n,r){return t==0?r?(!e.o&&(e.o=new yl((au(),Ag),R2,e,0)),e.o):(!e.o&&(e.o=new yl((au(),Ag),R2,e,0)),fN(e.o)):hV(e,t,n,r)}function Nue(e){var t,n;if(e.rb)for(t=0,n=e.rb.i;t>22),s+=r>>22,s<0)?!1:(e.l=n&Ql,e.m=r&Ql,e.h=s&pp,!0)}function Pue(e,t,n,r,s,o,f){var g,w;return!(t.Te()&&(w=e.a.Ne(n,r),w<0||!s&&w==0)||t.Ue()&&(g=e.a.Ne(n,o),g>0||!f&&g==0))}function J7n(e,t){ST();var n;if(n=e.j.g-t.j.g,n!=0)return 0;switch(e.j.g){case 2:return tue(t,SLe)-tue(e,SLe);case 4:return tue(e,CLe)-tue(t,CLe)}return 0}function Z7n(e){switch(e.g){case 0:return V1e;case 1:return G1e;case 2:return K1e;case 3:return W1e;case 4:return sW;case 5:return Y1e;default:return null}}function cc(e,t,n){var r,s;return r=(s=new rse,ev(s,t),Bu(s,n),zr((!e.c&&(e.c=new nt(L3,e,12,10)),e.c),s),s),d2(r,0),Oy(r,1),v2(r,!0),m2(r,!0),r}function wx(e,t){var n,r;if(t>=e.i)throw ue(new iae(t,e.i));return++e.j,n=e.g[t],r=e.i-t-1,r>0&&gu(e.g,t+1,e.g,t,r),Ss(e.g,--e.i,null),e.Qi(t,n),e.Ni(),n}function Sgt(e,t){var n,r;return e.Db>>16==17?e.Cb.Th(e,21,Uf,t):(r=jo(l(Mn((n=l(Gn(e,16),29),n||e.ii()),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function e8n(e){var t,n,r,s;for(Cn(),Gs(e.c,e.a),s=new K(e.c);s.an.a.c.length))throw ue(new Wn("index must be >= 0 and <= layer node count"));e.c&&sl(e.c.a,e),e.c=n,n&&kw(n.a,t,e)}function Dgt(e,t){var n,r,s;for(r=new lr(fr(up(e).a.Kc(),new j));Rr(r);)return n=l(yr(r),18),s=l(t.Kb(n),10),new ZS(Xr(s.n.b+s.o.b/2));return c_(),c_(),I0e}function Igt(e,t){this.c=new Nr,this.a=e,this.b=t,this.d=l(Q(e,(ft(),q6)),312),qe(Q(e,(Nt(),lDe)))===qe((bN(),aW))?this.e=new CJe:this.e=new EJe}function FA(e,t){var n,r;return r=null,e.pf((bi(),i9))&&(n=l(e.of(i9),96),n.pf(t)&&(r=n.of(t))),r==null&&e.Tf()&&(r=e.Tf().of(t)),r==null&&(r=It(t)),r}function Bue(e,t){var n,r;n=e.fd(t);try{return r=n.Pb(),n.Qb(),r}catch(s){throw s=ms(s),De(s,112)?ue(new rc("Can't remove element "+t)):ue(s)}}function c8n(e,t){var n,r,s;if(r=new sq,s=new n8e(r.q.getFullYear()-Rb,r.q.getMonth(),r.q.getDate()),n=wLn(e,t,s),n==0||n0?t:0),++n;return new lt(r,s)}function Axe(e,t){var n,r;return e.Db>>16==6?e.Cb.Th(e,6,js,t):(r=jo(l(Mn((n=l(Gn(e,16),29),n||(au(),TY)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function Lxe(e,t){var n,r;return e.Db>>16==7?e.Cb.Th(e,1,pF,t):(r=jo(l(Mn((n=l(Gn(e,16),29),n||(au(),DPe)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function Mxe(e,t){var n,r;return e.Db>>16==9?e.Cb.Th(e,9,Li,t):(r=jo(l(Mn((n=l(Gn(e,16),29),n||(au(),OPe)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function Pgt(e,t){var n,r;return e.Db>>16==5?e.Cb.Th(e,9,IY,t):(r=jo(l(Mn((n=l(Gn(e,16),29),n||(En(),$2)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function Bgt(e,t){var n,r;return e.Db>>16==7?e.Cb.Th(e,6,c1,t):(r=jo(l(Mn((n=l(Gn(e,16),29),n||(En(),q2)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function Dxe(e,t){var n,r;return e.Db>>16==3?e.Cb.Th(e,0,mF,t):(r=jo(l(Mn((n=l(Gn(e,16),29),n||(En(),j2)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function Fgt(){this.a=new I$,this.g=new bV,this.j=new bV,this.b=new Nr,this.d=new bV,this.i=new bV,this.k=new Nr,this.c=new Nr,this.e=new Nr,this.f=new Nr}function h8n(e,t,n){var r,s,o;for(n<0&&(n=0),o=e.i,s=n;sxhe)return jT(e,r);if(r==e)return!0}}return!1}function d8n(e){switch(Yq(),e.q.g){case 5:w2t(e,(_t(),Xn)),w2t(e,Mr);break;case 4:ybt(e,(_t(),Xn)),ybt(e,Mr);break;default:Twt(e,(_t(),Xn)),Twt(e,Mr)}}function g8n(e){switch(Yq(),e.q.g){case 5:R2t(e,(_t(),sr)),R2t(e,Zn);break;case 4:Hdt(e,(_t(),sr)),Hdt(e,Zn);break;default:Ewt(e,(_t(),sr)),Ewt(e,Zn)}}function p8n(e){var t,n;t=l(Q(e,(p0(),L8t)),17),t?(n=t.a,n==0?rt(e,(Cb(),DK),new sue):rt(e,(Cb(),DK),new JH(n))):rt(e,(Cb(),DK),new JH(1))}function b8n(e,t){var n;switch(n=e.i,t.g){case 1:return-(e.n.b+e.o.b);case 2:return e.n.a-n.o.a;case 3:return e.n.b-n.o.b;case 4:return-(e.n.a+e.o.a)}return 0}function m8n(e,t){switch(e.g){case 0:return t==(lf(),Yb)?QK:JK;case 1:return t==(lf(),Yb)?QK:TB;case 2:return t==(lf(),Yb)?TB:JK;default:return TB}}function ZN(e,t){var n,r,s;for(sl(e.a,t),e.e-=t.r+(e.a.c.length==0?0:e.c),s=jCe,r=new K(e.a);r.a>16==3?e.Cb.Th(e,12,Li,t):(r=jo(l(Mn((n=l(Gn(e,16),29),n||(au(),MPe)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function Oxe(e,t){var n,r;return e.Db>>16==11?e.Cb.Th(e,10,Li,t):(r=jo(l(Mn((n=l(Gn(e,16),29),n||(au(),IPe)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function Rgt(e,t){var n,r;return e.Db>>16==10?e.Cb.Th(e,11,Uf,t):(r=jo(l(Mn((n=l(Gn(e,16),29),n||(En(),z2)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function jgt(e,t){var n,r;return e.Db>>16==10?e.Cb.Th(e,12,Vf,t):(r=jo(l(Mn((n=l(Gn(e,16),29),n||(En(),F4)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function Of(e){var t;return!(e.Bb&1)&&e.r&&e.r.Vh()&&(t=l(e.r,54),e.r=l(Lb(e,t),142),e.r!=t&&e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,9,8,t,e.r))),e.r}function Fue(e,t,n){var r;return r=he(le(Oa,1),tc,28,15,[s9e(e,(e1(),Wc),t,n),s9e(e,ju,t,n),s9e(e,Yc,t,n)]),e.f&&(r[0]=b.Math.max(r[0],r[2]),r[2]=r[0]),r}function v8n(e,t){var n,r,s;if(s=q6n(e,t),s.c.length!=0)for(Gs(s,new bS),n=s.c.length,r=0;r>19,T=t.h>>19,w!=T?T-w:(s=e.h,g=t.h,s!=g?s-g:(r=e.m,f=t.m,r!=f?r-f:(n=e.l,o=t.l,n-o)))}function xV(){xV=U,Y_e=(HV(),t1e),W_e=new mn(OTe,Y_e),K_e=(gU(),e1e),G_e=new mn(NTe,K_e),V_e=(oV(),Z0e),U_e=new mn(PTe,V_e),H_e=new mn(BTe,(Hn(),!0))}function RA(e,t,n){var r,s;r=t*n,De(e.g,154)?(s=sx(e),s.f.d?s.f.a||(e.d.a+=r+H1):(e.d.d-=r+H1,e.d.a+=r+H1)):De(e.g,10)&&(e.d.d-=r,e.d.a+=2*r)}function $gt(e,t,n){var r,s,o,f,g;for(s=e[n.g],g=new K(t.d);g.a0?e.b:0),++n;t.b=r,t.e=s}function zgt(e){var t,n,r;if(r=e.b,Iet(e.i,r.length)){for(n=r.length*2,e.b=We(B0e,IP,303,n,0,1),e.c=We(B0e,IP,303,n,0,1),e.f=n-1,e.i=0,t=e.a;t;t=t.c)cP(e,t,t);++e.g}}function C8n(e,t,n,r){var s,o,f,g;for(s=0;sf&&(g=f/r),s>o&&(w=o/s),bd(e,b.Math.min(g,w)),e}function _8n(){YV();var e,t;try{if(t=l(Uxe((db(),Gf),TE),2113),t)return t}catch(n){if(n=ms(n),De(n,103))e=n,O5e((Jr(),e));else throw ue(n)}return new ak}function A8n(){YV();var e,t;try{if(t=l(Uxe((db(),Gf),Ff),2040),t)return t}catch(n){if(n=ms(n),De(n,103))e=n,O5e((Jr(),e));else throw ue(n)}return new g8}function L8n(){Qlt();var e,t;try{if(t=l(Uxe((db(),Gf),bv),2122),t)return t}catch(n){if(n=ms(n),De(n,103))e=n,O5e((Jr(),e));else throw ue(n)}return new hk}function M8n(e,t,n){var r,s;return s=e.e,e.e=t,e.Db&4&&!(e.Db&1)&&(r=new _a(e,1,4,s,t),n?n.nj(r):n=r),s!=t&&(t?n=tE(e,NV(e,t),n):n=tE(e,e.a,n)),n}function qgt(){sq.call(this),this.e=-1,this.a=!1,this.p=ao,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=ao}function D8n(e,t){var n,r,s;if(r=e.b.d.d,e.a||(r+=e.b.d.a),s=t.b.d.d,t.a||(s+=t.b.d.a),n=Xi(r,s),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function I8n(e,t){var n,r,s;if(r=e.b.b.d,e.a||(r+=e.b.b.a),s=t.b.b.d,t.a||(s+=t.b.b.a),n=Xi(r,s),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function O8n(e,t){var n,r,s;if(r=e.b.g.d,e.a||(r+=e.b.g.a),s=t.b.g.d,t.a||(s+=t.b.g.a),n=Xi(r,s),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function Pxe(){Pxe=U,K8t=wl(hi(hi(hi(new Js,(so(),Cu),(po(),hLe)),Cu,fLe),wc,dLe),wc,eLe),Y8t=hi(hi(new Js,Cu,KAe),Cu,tLe),W8t=wl(new Js,wc,rLe)}function N8n(e){var t,n,r,s,o;for(t=l(Q(e,(ft(),WL)),85),o=e.n,r=t.Cc().Kc();r.Ob();)n=l(r.Pb(),314),s=n.i,s.c+=o.a,s.d+=o.b,n.c?omt(n):cmt(n);rt(e,WL,null)}function P8n(e,t,n){var r,s;switch(s=e.b,r=s.d,t.g){case 1:return-r.d-n;case 2:return s.o.a+r.c+n;case 3:return s.o.b+r.a+n;case 4:return-r.b-n;default:return-1}}function B8n(e,t,n){var r,s;for(n.Ug("Interactive node placement",1),e.a=l(Q(t,(ft(),q6)),312),s=new K(t.b);s.a0&&(f=(o&Ni)%e.d.length,s=R9e(e,f,o,t),s)?(g=s.nd(n),g):(r=e.ck(o,t,n),e.c.Fc(r),null)}function Rxe(e,t){var n,r,s,o;switch(b2(e,t).Kl()){case 3:case 2:{for(n=p6(t),s=0,o=n.i;s=0;r--)if(wn(e[r].d,t)||wn(e[r].d,n)){e.length>=r+1&&e.splice(0,r+1);break}return e}function tP(e,t){var n;return xc(e)&&xc(t)&&(n=e/t,PP0&&(e.b+=2,e.a+=r):(e.b+=1,e.a+=b.Math.min(r,s))}function Ygt(e){var t;t=l(Q(l(hf(e.b,0),40),(Vc(),IIe)),107),rt(e,(Zi(),ZE),new lt(0,0)),$mt(new lN,e,t.b+t.c-ze(Ge(Q(e,Xde))),t.d+t.a-ze(Ge(Q(e,Qde))))}function Xgt(e,t){var n,r;if(r=!1,Da(t)&&(r=!0,Z8(e,new Ty(Zr(t)))),r||De(t,242)&&(r=!0,Z8(e,(n=I4e(l(t,242)),new yk(n)))),!r)throw ue(new hse(PSe))}function Z8n(e,t,n,r){var s,o,f;return s=new rp(e.e,1,10,(f=t.c,De(f,90)?l(f,29):(En(),Kf)),(o=n.c,De(o,90)?l(o,29):(En(),Kf)),x2(e,t),!1),r?r.nj(s):r=s,r}function zxe(e){var t,n;switch(l(Q(Ja(e),(Nt(),rDe)),429).g){case 0:return t=e.n,n=e.o,new lt(t.a+n.a/2,t.b+n.b/2);case 1:return new xo(e.n);default:return null}}function nP(){nP=U,oW=new S_(Dd,0),qLe=new S_("LEFTUP",1),ULe=new S_("RIGHTUP",2),zLe=new S_("LEFTDOWN",3),HLe=new S_("RIGHTDOWN",4),X1e=new S_("BALANCED",5)}function exn(e,t,n){var r,s,o;if(r=Xi(e.a[t.p],e.a[n.p]),r==0){if(s=l(Q(t,(ft(),Yx)),15),o=l(Q(n,Yx),15),s.Hc(n))return-1;if(o.Hc(t))return 1}return r}function txn(e){switch(e.g){case 1:return new Ine;case 2:return new One;case 3:return new Dne;case 0:return null;default:throw ue(new Wn(Ffe+(e.f!=null?e.f:""+e.g)))}}function qxe(e,t,n){switch(t){case 1:!e.n&&(e.n=new nt(nc,e,1,7)),$r(e.n),!e.n&&(e.n=new nt(nc,e,1,7)),Ls(e.n,l(n,16));return;case 2:gT(e,Zr(n));return}c8e(e,t,n)}function Hxe(e,t,n){switch(t){case 3:Fw(e,ze(Ge(n)));return;case 4:Rw(e,ze(Ge(n)));return;case 5:Vu(e,ze(Ge(n)));return;case 6:Gu(e,ze(Ge(n)));return}qxe(e,t,n)}function kV(e,t,n){var r,s,o;o=(r=new rse,r),s=$1(o,t,null),s&&s.oj(),Bu(o,n),zr((!e.c&&(e.c=new nt(L3,e,12,10)),e.c),o),d2(o,0),Oy(o,1),v2(o,!0),m2(o,!0)}function Uxe(e,t){var n,r,s;return n=x_(e.i,t),De(n,241)?(s=l(n,241),s.zi()==null,s.wi()):De(n,507)?(r=l(n,2037),s=r.b,s):null}function nxn(e,t,n,r){var s,o;return Xr(t),Xr(n),o=l(U_(e.d,t),17),Tht(!!o,"Row %s not in %s",t,e.e),s=l(U_(e.b,n),17),Tht(!!s,"Column %s not in %s",n,e.c),N0t(e,o.a,s.a,r)}function Qgt(e,t,n,r,s,o,f){var g,w,T,C,L;if(C=s[o],T=o==f-1,g=T?r:0,L=bgt(g,C),r!=10&&he(le(e,f-o),t[o],n[o],g,L),!T)for(++o,w=0;w1||g==-1?(o=l(w,15),s.Wb(j5n(e,o))):s.Wb(kle(e,l(w,58)))))}function uxn(e,t,n,r){set();var s=D0e;function o(){for(var f=0;f0)return!1;return!0}function fxn(e){var t,n,r,s,o;for(r=new Xm(new Cr(e.b).a);r.b;)n=zw(r),t=l(n.ld(),10),o=l(l(n.md(),42).a,10),s=l(l(n.md(),42).b,8),Pi(W0(t.n),Pi(Xa(o.n),s))}function dxn(e){switch(l(Q(e.b,(Nt(),XMe)),387).g){case 1:Os(gc(Pc(new vn(null,new kn(e.d,16)),new xI),new b5),new Oee);break;case 2:c_n(e);break;case 0:$kn(e)}}function gxn(e,t,n){var r,s,o;for(r=n,!r&&(r=new M8),r.Ug("Layout",e.a.c.length),o=new K(e.a);o.aOfe)return n;s>-1e-6&&++n}return n}function Gxe(e,t){var n;t!=e.b?(n=null,e.b&&(n=$H(e.b,e,-4,n)),t&&(n=vx(t,e,-4,n)),n=_1t(e,t,n),n&&n.oj()):e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,3,t,t))}function ept(e,t){var n;t!=e.f?(n=null,e.f&&(n=$H(e.f,e,-1,n)),t&&(n=vx(t,e,-1,n)),n=S1t(e,t,n),n&&n.oj()):e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,0,t,t))}function vxn(e,t,n,r){var s,o,f,g;return ch(e.e)&&(s=t.Lk(),g=t.md(),o=n.md(),f=kb(e,1,s,g,o,s.Jk()?JT(e,s,o,De(s,102)&&(l(s,19).Bb&Lo)!=0):-1,!0),r?r.nj(f):r=f),r}function tpt(e){var t,n,r;if(e==null)return null;if(n=l(e,15),n.dc())return"";for(r=new e2,t=n.Kc();t.Ob();)Jo(r,(Wi(),Zr(t.Pb()))),r.a+=" ";return aae(r,r.a.length-1)}function npt(e){var t,n,r;if(e==null)return null;if(n=l(e,15),n.dc())return"";for(r=new e2,t=n.Kc();t.Ob();)Jo(r,(Wi(),Zr(t.Pb()))),r.a+=" ";return aae(r,r.a.length-1)}function wxn(e,t,n){var r,s;return r=e.c[t.c.p][t.p],s=e.c[n.c.p][n.p],r.a!=null&&s.a!=null?Wae(r.a,s.a):r.a!=null?-1:s.a!=null?1:0}function yxn(e,t,n){return n.Ug("Tree layout",1),XO(e.b),Y0(e.b,(yx(),qW),qW),Y0(e.b,hM,hM),Y0(e.b,fM,fM),Y0(e.b,dM,dM),e.a=EP(e.b,t),gxn(e,t,n.eh(1)),n.Vg(),t}function xxn(e,t){var n,r,s,o,f,g;if(t)for(o=t.a.length,n=new jm(o),g=(n.b-n.a)*n.c<0?(gb(),lm):new mb(n);g.Ob();)f=l(g.Pb(),17),s=eT(t,f.a),r=new xQe(e),Lpn(r.a,s)}function kxn(e,t){var n,r,s,o,f,g;if(t)for(o=t.a.length,n=new jm(o),g=(n.b-n.a)*n.c<0?(gb(),lm):new mb(n);g.Ob();)f=l(g.Pb(),17),s=eT(t,f.a),r=new fQe(e),Apn(r.a,s)}function Txn(e){var t;if(e!=null&&e.length>0&&io(e,e.length-1)==33)try{return t=lbt(ef(e,0,e.length-1)),t.e==null}catch(n){if(n=ms(n),!De(n,33))throw ue(n)}return!1}function Exn(e,t,n){var r,s,o;switch(r=Ja(t),s=YU(r),o=new du,Nc(o,t),n.g){case 1:ga(o,UN(px(s)));break;case 2:ga(o,px(s))}return rt(o,(Nt(),y4),Ge(Q(e,y4))),o}function Kxe(e){var t,n;return t=l(yr(new lr(fr(Ea(e.a).a.Kc(),new j))),18),n=l(yr(new lr(fr(qs(e.a).a.Kc(),new j))),18),Ft(Pt(Q(t,(ft(),W1))))||Ft(Pt(Q(n,W1)))}function zy(){zy=U,EB=new bO("ONE_SIDE",0),tW=new bO("TWO_SIDES_CORNER",1),nW=new bO("TWO_SIDES_OPPOSING",2),eW=new bO("THREE_SIDES",3),ZK=new bO("FOUR_SIDES",4)}function rpt(e,t){var n,r,s,o;for(o=new mt,s=0,r=t.Kc();r.Ob();){for(n=bt(l(r.Pb(),17).a+s);n.a=e.f)break;qn(o.c,n)}return o}function Cxn(e,t){var n,r,s,o,f;for(o=new K(t.a);o.a0&&_gt(this,this.c-1,(_t(),sr)),this.c0&&e[0].length>0&&(this.c=Ft(Pt(Q(Ja(e[0][0]),(ft(),sMe))))),this.a=We(QTt,dt,2117,e.length,0,2),this.b=We(JTt,dt,2118,e.length,0,2),this.d=new x1t}function Mxn(e){return e.c.length==0?!1:(Sn(0,e.c.length),l(e.c[0],18)).c.i.k==(Jn(),Aa)?!0:X5(gc(new vn(null,new kn(e,16)),new cte),new ute)}function apt(e,t){var n,r,s,o,f,g,w;for(g=Gy(t),o=t.f,w=t.g,f=b.Math.sqrt(o*o+w*w),s=0,r=new K(g);r.a=0?(n=tP(e,aG),r=GN(e,aG)):(t=vb(e,1),n=tP(t,5e8),r=GN(t,5e8),r=fo(u0(r,1),xa(e,1))),X0(u0(r,32),xa(n,Uo))}function upt(e,t,n){var r,s;switch(r=(br(t.b!=0),l(sf(t,t.a.a),8)),n.g){case 0:r.b=0;break;case 2:r.b=e.f;break;case 3:r.a=0;break;default:r.a=e.g}return s=Fr(t,0),YO(s,r),t}function lpt(e,t,n,r){var s,o,f,g,w;switch(w=e.b,o=t.d,f=o.j,g=lxe(f,w.d[f.g],n),s=Pi(Xa(o.n),o.a),o.j.g){case 1:case 3:g.a+=s.a;break;case 2:case 4:g.b+=s.b}_s(r,g,r.c.b,r.c)}function qxn(e,t,n){var r,s,o,f;for(f=bc(e.e,t,0),o=new Zwe,o.b=n,r=new Ua(e.e,f);r.b1;t>>=1)t&1&&(r=Y5(r,n)),n.d==1?n=Y5(n,n):n=new Sdt(Gmt(n.a,n.d,We(Ur,fi,28,n.d<<1,15,1)));return r=Y5(r,n),r}function n9e(){n9e=U;var e,t,n,r;for(P_e=We(Oa,tc,28,25,15,1),B_e=We(Oa,tc,28,33,15,1),r=152587890625e-16,t=32;t>=0;t--)B_e[t]=r,r*=.5;for(n=1,e=24;e>=0;e--)P_e[e]=n,n*=.5}function Wxn(e){var t,n;if(Ft(Pt(at(e,(Nt(),w4))))){for(n=new lr(fr(fp(e).a.Kc(),new j));Rr(n);)if(t=l(yr(n),74),Yw(t)&&Ft(Pt(at(t,kv))))return!0}return!1}function hpt(e,t){var n,r,s;sa(e.f,t)&&(t.b=e,r=t.c,bc(e.j,r,0)!=-1||wt(e.j,r),s=t.d,bc(e.j,s,0)!=-1||wt(e.j,s),n=t.a.b,n.c.length!=0&&(!e.i&&(e.i=new Idt(e)),Z3n(e.i,n)))}function Yxn(e){var t,n,r,s,o;return n=e.c.d,r=n.j,s=e.d.d,o=s.j,r==o?n.p=0&&wn(e.substr(t,3),"GMT")||t>=0&&wn(e.substr(t,3),"UTC"))&&(n[0]=t+3),Pke(e,n,r)}function Qxn(e,t){var n,r,s,o,f;for(o=e.g.a,f=e.g.b,r=new K(e.d);r.an;o--)e[o]|=t[o-n-1]>>>f,e[o-1]=t[o-n-1]<0&&gu(e.g,t,e.g,t+r,g),f=n.Kc(),e.i+=r,s=0;s>4&15,o=e[r]&15,f[s++]=NPe[n],f[s++]=NPe[o];return If(f,0,f.length)}function ol(e){var t,n;return e>=Lo?(t=BP+(e-Lo>>10&1023)&ta,n=56320+(e-Lo&1023)&ta,String.fromCharCode(t)+(""+String.fromCharCode(n))):String.fromCharCode(e&ta)}function c9n(e,t){vy();var n,r,s,o;return s=l(l($i(e.r,t),21),87),s.gc()>=2?(r=l(s.Kc().Pb(),117),n=e.u.Hc((Pl(),BM)),o=e.u.Hc(o9),!r.a&&!n&&(s.gc()==2||o)):!1}function gpt(e,t,n,r,s){var o,f,g;for(o=Zbt(e,t,n,r,s),g=!1;!o;)IV(e,s,!0),g=!0,o=Zbt(e,t,n,r,s);g&&IV(e,s,!1),f=Mce(s),f.c.length!=0&&(e.d&&e.d.Gg(f),gpt(e,s,n,r,f))}function SV(){SV=U,spe=new M_(Dd,0),iPe=new M_("DIRECTED",1),aPe=new M_("UNDIRECTED",2),nPe=new M_("ASSOCIATION",3),sPe=new M_("GENERALIZATION",4),rPe=new M_("DEPENDENCY",5)}function u9n(e,t){var n;if(!M1(e))throw ue(new ic(M4t));switch(n=M1(e),t.g){case 1:return-(e.j+e.f);case 2:return e.i-n.g;case 3:return e.j-n.f;case 4:return-(e.i+e.g)}return 0}function l9n(e,t,n){var r,s,o;return r=t.Lk(),o=t.md(),s=r.Jk()?kb(e,4,r,o,null,JT(e,r,o,De(r,102)&&(l(r,19).Bb&Lo)!=0),!0):kb(e,r.tk()?2:1,r,o,r.ik(),-1,!0),n?n.nj(s):n=s,n}function qT(e,t){var n,r;for(tr(t),r=e.b.c.length,wt(e.b,t);r>0;){if(n=r,r=(r-1)/2|0,e.a.Ne(Rt(e.b,r),t)<=0)return nf(e.b,n,t),!0;nf(e.b,n,Rt(e.b,r))}return nf(e.b,r,t),!0}function s9e(e,t,n,r){var s,o;if(s=0,n)s=UU(e.a[n.g][t.g],r);else for(o=0;o=g)}function ppt(e){switch(e.g){case 0:return new $ne;case 1:return new zne;default:throw ue(new Wn("No implementation is available for the width approximator "+(e.f!=null?e.f:""+e.g)))}}function a9e(e,t,n,r){var s;if(s=!1,Da(r)&&(s=!0,Hk(t,n,Zr(r))),s||gy(r)&&(s=!0,a9e(e,t,n,r)),s||De(r,242)&&(s=!0,qm(t,n,l(r,242))),!s)throw ue(new hse(PSe))}function f9n(e,t){var n,r,s;if(n=t.qi(e.a),n&&(s=t1((!n.b&&(n.b=new lh((En(),Do),Qc,n)),n.b),Bf),s!=null)){for(r=1;r<(kl(),iBe).length;++r)if(wn(iBe[r],s))return r}return 0}function d9n(e,t){var n,r,s;if(n=t.qi(e.a),n&&(s=t1((!n.b&&(n.b=new lh((En(),Do),Qc,n)),n.b),Bf),s!=null)){for(r=1;r<(kl(),sBe).length;++r)if(wn(sBe[r],s))return r}return 0}function bpt(e,t){var n,r,s,o;if(tr(t),o=e.a.gc(),o0?1:0;o.a[s]!=n;)o=o.a[s],s=e.a.Ne(n.d,o.d)>0?1:0;o.a[s]=r,r.b=n.b,r.a[0]=n.a[0],r.a[1]=n.a[1],n.a[0]=null,n.a[1]=null}function b9n(e){var t,n,r,s;for(t=new mt,n=We(th,vg,28,e.a.c.length,16,1),A5e(n,n.length),s=new K(e.a);s.a0&&qmt((Sn(0,n.c.length),l(n.c[0],30)),e),n.c.length>1&&qmt(l(Rt(n,n.c.length-1),30),e),t.Vg()}function v9n(e){Pl();var t,n;return t=is(kp,he(le(bY,1),it,279,0,[im])),!(AN(qH(t,e))>1||(n=is(BM,he(le(bY,1),it,279,0,[PM,o9])),AN(qH(n,e))>1))}function c9e(e,t){var n;n=wu((db(),Gf),e),De(n,507)?sc(Gf,e,new cnt(this,t)):sc(Gf,e,this),Wue(this,t),t==(Ak(),GPe)?(this.wb=l(this,2038),l(t,2040)):this.wb=(wb(),Un)}function w9n(e){var t,n,r;if(e==null)return null;for(t=null,n=0;n<$M.length;++n)try{return Uet($M[n],e)}catch(s){if(s=ms(s),De(s,33))r=s,t=r;else throw ue(s)}throw ue(new lU(t))}function wpt(){wpt=U,J6t=he(le($t,1),dt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),Z6t=he(le($t,1),dt,2,6,["Jan","Feb","Mar","Apr",Ax,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])}function ypt(e){var t,n,r;t=wn(typeof t,Ahe)?null:new Io,t&&(Ok(),n=(r=900,r>=C2?"error":r>=900?"warn":r>=800?"info":"log"),Lat(n,e.a),e.b&&lke(t,n,e.b,"Exception: ",!0))}function Q(e,t){var n,r;return r=(!e.q&&(e.q=new Nr),or(e.q,t)),r??(n=t.Sg(),De(n,4)&&(n==null?(!e.q&&(e.q=new Nr),ox(e.q,t)):(!e.q&&(e.q=new Nr),Ti(e.q,t,n))),n)}function so(){so=U,w0=new pO("P1_CYCLE_BREAKING",0),xg=new pO("P2_LAYERING",1),pu=new pO("P3_NODE_ORDERING",2),Cu=new pO("P4_NODE_PLACEMENT",3),wc=new pO("P5_EDGE_ROUTING",4)}function y9n(e,t){fA();var n;if(e.c==t.c){if(e.b==t.b||_3n(e.b,t.b)){if(n=Jln(e.b)?1:-1,e.a&&!t.a)return n;if(!e.a&&t.a)return-n}return iu(e.b.g,t.b.g)}else return Xi(e.c,t.c)}function xpt(e,t){var n,r,s;if(l9e(e,t))return!0;for(r=new K(t);r.a=s||t<0)throw ue(new rc(h0e+t+gv+s));if(n>=s||n<0)throw ue(new rc(f0e+n+gv+s));return t!=n?r=(o=e.Cj(n),e.qj(t,o),o):r=e.xj(n),r}function Ept(e){var t,n,r;if(r=e,e)for(t=0,n=e.Eh();n;n=n.Eh()){if(++t>xhe)return Ept(n);if(r=n,n==e)throw ue(new ic("There is a cycle in the containment hierarchy of "+e))}return r}function Ob(e){var t,n,r;for(r=new Qm(To,"[","]"),n=e.Kc();n.Ob();)t=n.Pb(),np(r,qe(t)===qe(e)?"(this Collection)":t==null?cl:Tc(t));return r.a?r.e.length==0?r.a.a:r.a.a+(""+r.e):r.c}function l9e(e,t){var n,r;if(r=!1,t.gc()<2)return!1;for(n=0;n1&&(e.j.b+=e.e)):(e.j.a+=n.a,e.j.b=b.Math.max(e.j.b,n.b),e.d.c.length>1&&(e.j.a+=e.e))}function Nb(){Nb=U,Pxt=he(le(Mo,1),ou,64,0,[(_t(),Xn),sr,Mr]),Nxt=he(le(Mo,1),ou,64,0,[sr,Mr,Zn]),Bxt=he(le(Mo,1),ou,64,0,[Mr,Zn,Xn]),Fxt=he(le(Mo,1),ou,64,0,[Zn,Xn,sr])}function k9n(e,t,n,r){var s,o,f,g,w,T,C;if(f=e.c.d,g=e.d.d,f.j!=g.j)for(C=e.b,s=f.j,w=null;s!=g.j;)w=t==0?WU(s):M8e(s),o=lxe(s,C.d[s.g],n),T=lxe(w,C.d[w.g],n),ci(r,Pi(o,T)),s=w}function T9n(e,t,n,r){var s,o,f,g,w;return f=Agt(e.a,t,n),g=l(f.a,17).a,o=l(f.b,17).a,r&&(w=l(Q(t,(ft(),Bl)),10),s=l(Q(n,Bl),10),w&&s&&(put(e.b,w,s),g+=e.b.i,o+=e.b.e)),g>o}function Spt(e){var t,n,r,s,o,f,g,w,T;for(this.a=Ydt(e),this.b=new mt,n=e,r=0,s=n.length;rTae(e.d).c?(e.i+=e.g.c,uue(e.d)):Tae(e.d).c>Tae(e.g).c?(e.e+=e.d.c,uue(e.g)):(e.i+=Fst(e.g),e.e+=Fst(e.d),uue(e.g),uue(e.d))}function _9n(e,t,n){var r,s,o,f;for(o=t.q,f=t.r,new Hm((Q0(),Qb),t,o,1),new Hm(Qb,o,f,1),s=new K(n);s.ag&&(w=g/r),s>o&&(T=o/s),f=b.Math.min(w,T),e.a+=f*(t.a-e.a),e.b+=f*(t.b-e.b)}function D9n(e,t,n,r,s){var o,f;for(f=!1,o=l(Rt(n.b,0),27);aLn(e,t,o,r,s)&&(f=!0,oxn(n,o),n.b.c.length!=0);)o=l(Rt(n.b,0),27);return n.b.c.length==0&&ZN(n.j,n),f&&vV(t.q),f}function I9n(e,t){d6();var n,r,s,o;if(t.b<2)return!1;for(o=Fr(t,0),n=l(Pr(o),8),r=n;o.b!=o.d.c;){if(s=l(Pr(o),8),lle(e,r,s))return!0;r=s}return!!lle(e,r,n)}function f9e(e,t,n,r){var s,o;return n==0?(!e.o&&(e.o=new yl((au(),Ag),R2,e,0)),Zq(e.o,t,r)):(o=l(Mn((s=l(Gn(e,16),29),s||e.ii()),n),69),o.wk().Ak(e,Ku(e),n-wr(e.ii()),t,r))}function Wue(e,t){var n;t!=e.sb?(n=null,e.sb&&(n=l(e.sb,54).Th(e,1,jM,n)),t&&(n=l(t,54).Rh(e,1,jM,n)),n=E8e(e,t,n),n&&n.oj()):e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,4,t,t))}function O9n(e,t){var n,r,s,o;if(t)s=ap(t,"x"),n=new vQe(e),cT(n.a,(tr(s),s)),o=ap(t,"y"),r=new wQe(e),lT(r.a,(tr(o),o));else throw ue(new fd("All edge sections need an end point."))}function N9n(e,t){var n,r,s,o;if(t)s=ap(t,"x"),n=new pQe(e),uT(n.a,(tr(s),s)),o=ap(t,"y"),r=new bQe(e),hT(r.a,(tr(o),o));else throw ue(new fd("All edge sections need a start point."))}function P9n(e,t){var n,r,s,o,f,g,w;for(r=n1t(e),o=0,g=r.length;o>22-t,s=e.h<>22-t):t<44?(n=0,r=e.l<>44-t):(n=0,r=0,s=e.l<e)throw ue(new Wn("k must be smaller than n"));return t==0||t==e?1:e==0?0:jxe(e)/(jxe(t)*jxe(e-t))}function d9e(e,t){var n,r,s,o;for(n=new Lye(e);n.g==null&&!n.c?o6e(n):n.g==null||n.i!=0&&l(n.g[n.i-1],51).Ob();)if(o=l(OV(n),58),De(o,167))for(r=l(o,167),s=0;s>4],t[n*2+1]=FY[o&15];return If(t,0,t.length)}function Q9n(e){MH();var t,n,r;switch(r=e.c.length,r){case 0:return O6t;case 1:return t=l(d2t(new K(e)),44),Udn(t.ld(),t.md());default:return n=l(j1(e,We(mv,iG,44,e.c.length,0,1)),173),new f3e(n)}}function J9n(e){var t,n,r,s,o,f;for(t=new H5,n=new H5,Tb(t,e),Tb(n,e);n.b!=n.c;)for(s=l(Q8(n),36),f=new K(s.a);f.a0&&vP(e,n,t),s):$Tn(e,t,n)}function Pb(){Pb=U,RCt=(bi(),r9),jCt=Dv,NCt=Mv,PCt=a7,BCt=em,OCt=s7,JIe=rF,FCt=L4,fge=(_ke(),kCt),dge=TCt,eOe=_Ct,gge=MCt,tOe=ACt,nOe=LCt,ZIe=ECt,XW=CCt,QW=SCt,VB=DCt,rOe=ICt,QIe=xCt}function Npt(e,t){var n,r,s,o,f;if(e.e<=t||kbn(e,e.g,t))return e.g;for(o=e.r,r=e.g,f=e.r,s=(o-r)/2+r;r+11&&(e.e.b+=e.a)):(e.e.a+=n.a,e.e.b=b.Math.max(e.e.b,n.b),e.d.c.length>1&&(e.e.a+=e.a))}function rkn(e){var t,n,r,s;switch(s=e.i,t=s.b,r=s.j,n=s.g,s.a.g){case 0:n.a=(e.g.b.o.a-r.a)/2;break;case 1:n.a=t.d.n.a+t.d.a.a;break;case 2:n.a=t.d.n.a+t.d.a.a-r.a;break;case 3:n.b=t.d.n.b+t.d.a.b}}function ikn(e,t,n){var r,s,o;for(s=new lr(fr(up(n).a.Kc(),new j));Rr(s);)r=l(yr(s),18),!Ao(r)&&!(!Ao(r)&&r.c.i.c==r.d.i.c)&&(o=Ebt(e,r,n,new SJe),o.c.length>1&&qn(t.c,o))}function Bpt(e,t,n,r,s){if(rr&&(e.a=r),e.bs&&(e.b=s),e}function skn(e){if(De(e,143))return BCn(l(e,143));if(De(e,233))return S5n(l(e,233));if(De(e,23))return F9n(l(e,23));throw ue(new Wn(BSe+Ob(new Ll(he(le(ka,1),jn,1,5,[e])))))}function akn(e,t,n,r,s){var o,f,g;for(o=!0,f=0;f>>s|n[f+r+1]<>>s,++f}return o}function m9e(e,t,n,r){var s,o,f;if(t.k==(Jn(),Aa)){for(o=new lr(fr(Ea(t).a.Kc(),new j));Rr(o);)if(s=l(yr(o),18),f=s.c.i.k,f==Aa&&e.c.a[s.c.i.c.p]==r&&e.c.a[t.c.p]==n)return!0}return!1}function okn(e,t){var n,r,s,o;return t&=63,n=e.h&pp,t<22?(o=n>>>t,s=e.m>>t|n<<22-t,r=e.l>>t|e.m<<22-t):t<44?(o=0,s=n>>>t-22,r=e.m>>t-22|e.h<<44-t):(o=0,s=0,r=n>>>t-44),qu(r&Ql,s&Ql,o&pp)}function Fpt(e,t,n,r){var s;this.b=r,this.e=e==(jw(),cM),s=t[n],this.d=Fm(th,[dt,vg],[183,28],16,[s.length,s.length],2),this.a=Fm(Ur,[dt,fi],[53,28],15,[s.length,s.length],2),this.c=new Jxe(t,n)}function ckn(e){var t,n,r;for(e.k=new l6e((_t(),he(le(Mo,1),ou,64,0,[jc,Xn,sr,Mr,Zn])).length,e.j.c.length),r=new K(e.j);r.a=n)return UT(e,t,r.p),!0;return!1}function u6(e,t,n,r){var s,o,f,g,w,T;for(f=n.length,o=0,s=-1,T=Mht((Yn(t,e.length+1),e.substr(t)),(Aae(),O_e)),g=0;go&&Pgn(T,Mht(n[g],O_e))&&(s=g,o=w);return s>=0&&(r[0]=t+o),s}function jpt(e){var t;return e.Db&64?Yue(e):(t=new Eh(CSe),!e.a||li(li((t.a+=' "',t),e.a),'"'),li(lw(li(lw(li(lw(li(lw((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function $pt(e,t,n){var r,s,o,f,g;for(g=Wu(e.e.Dh(),t),s=l(e.g,124),r=0,f=0;fn?_9e(e,n,"start index"):t<0||t>n?_9e(t,n,"end index"):WA("end index (%s) must not be less than start index (%s)",he(le(ka,1),jn,1,5,[bt(t),bt(e)]))}function qpt(e,t){var n,r,s,o;for(r=0,s=e.length;r0&&Hpt(e,o,n));t.p=0}function Qt(e){var t;this.c=new os,this.f=e.e,this.e=e.d,this.i=e.g,this.d=e.c,this.b=e.b,this.k=e.j,this.a=e.a,e.i?this.j=e.i:this.j=(t=l(G0(Eg),9),new Jh(t,l(o0(t,t.length),9),0)),this.g=e.f}function gkn(e){var t,n,r,s;for(t=yb(li(new Eh("Predicates."),"and"),40),n=!0,s=new xr(e);s.b0?g[f-1]:We(kg,S2,10,0,0,1),s=g[f],T=f=0?e.ki(s):D9e(e,r);else throw ue(new Wn(qb+r.xe()+TL));else throw ue(new Wn(z4t+t+q4t));else of(e,n,r)}function v9e(e){var t,n;if(n=null,t=!1,De(e,211)&&(t=!0,n=l(e,211).a),t||De(e,263)&&(t=!0,n=""+l(e,263).a),t||De(e,493)&&(t=!0,n=""+l(e,493).a),!t)throw ue(new hse(PSe));return n}function w9e(e,t,n){var r,s,o,f,g,w;for(w=Wu(e.e.Dh(),t),r=0,g=e.i,s=l(e.g,124),f=0;f=e.d.b.c.length&&(t=new vu(e.d),t.p=r.p-1,wt(e.d.b,t),n=new vu(e.d),n.p=r.p,wt(e.d.b,n)),Ha(r,l(Rt(e.d.b,r.p),30))}function k9e(e,t,n){var r,s,o;if(!e.b[t.g]){for(e.b[t.g]=!0,r=n,!r&&(r=new lN),ci(r.b,t),o=e.a[t.g].Kc();o.Ob();)s=l(o.Pb(),65),s.b!=t&&k9e(e,s.b,r),s.c!=t&&k9e(e,s.c,r),ci(r.a,s);return r}return null}function vkn(e){switch(e.g){case 0:case 1:case 2:return _t(),Xn;case 3:case 4:case 5:return _t(),Mr;case 6:case 7:case 8:return _t(),Zn;case 9:case 10:case 11:return _t(),sr;default:return _t(),jc}}function wkn(e,t){var n;return e.c.length==0?!1:(n=odt((Sn(0,e.c.length),l(e.c[0],18)).c.i),Sh(),n==(jy(),W6)||n==K6?!0:X5(gc(new vn(null,new kn(e,16)),new lte),new CXe(t)))}function Zue(e,t){if(De(t,207))return dhn(e,l(t,27));if(De(t,193))return ghn(e,l(t,123));if(De(t,452))return fhn(e,l(t,166));throw ue(new Wn(BSe+Ob(new Ll(he(le(ka,1),jn,1,5,[t])))))}function Ypt(e,t,n){var r,s;if(this.f=e,r=l(or(e.b,t),260),s=r?r.a:0,$6e(n,s),n>=(s/2|0))for(this.e=r?r.c:null,this.d=s;n++0;)l7e(this);this.b=t,this.a=null}function ykn(e,t){var n,r;t.a?eSn(e,t):(n=l(kse(e.b,t.b),60),n&&n==e.a[t.b.f]&&n.a&&n.a!=t.b.a&&n.c.Fc(t.b),r=l(xse(e.b,t.b),60),r&&e.a[r.f]==t.b&&r.a&&r.a!=t.b.a&&t.b.c.Fc(r),pae(e.b,t.b))}function Xpt(e,t){var n,r;if(n=l(Zo(e.b,t),127),l(l($i(e.r,t),21),87).dc()){n.n.b=0,n.n.c=0;return}n.n.b=e.C.b,n.n.c=e.C.c,e.A.Hc((gh(),Ov))&&kmt(e,t),r=W6n(e,t),fle(e,t)==(r6(),nm)&&(r+=2*e.w),n.a.a=r}function Qpt(e,t){var n,r;if(n=l(Zo(e.b,t),127),l(l($i(e.r,t),21),87).dc()){n.n.d=0,n.n.a=0;return}n.n.d=e.C.d,n.n.a=e.C.a,e.A.Hc((gh(),Ov))&&Tmt(e,t),r=K6n(e,t),fle(e,t)==(r6(),nm)&&(r+=2*e.w),n.a.b=r}function xkn(e,t){var n,r,s,o;for(o=new mt,r=new K(t);r.ar&&(Yn(t-1,e.length),e.charCodeAt(t-1)<=32);)--t;return r>0||tn.a&&(r.Hc((rv(),EM))?s=(t.a-n.a)/2:r.Hc(CM)&&(s=t.a-n.a)),t.b>n.b&&(r.Hc((rv(),_M))?o=(t.b-n.b)/2:r.Hc(SM)&&(o=t.b-n.b)),o9e(e,s,o)}function i2t(e,t,n,r,s,o,f,g,w,T,C,L,F){De(e.Cb,90)&&Uy(Gl(l(e.Cb,90)),4),Bu(e,n),e.f=f,DT(e,g),OT(e,w),MT(e,T),IT(e,C),v2(e,L),NT(e,F),m2(e,!0),d2(e,s),e.Zk(o),ev(e,t),r!=null&&(e.i=null,LU(e,r))}function _9e(e,t,n){if(e<0)return WA(t3t,he(le(ka,1),jn,1,5,[n,bt(e)]));if(t<0)throw ue(new Wn(n3t+t));return WA("%s (%s) must not be greater than size (%s)",he(le(ka,1),jn,1,5,[n,bt(e),bt(t)]))}function A9e(e,t,n,r,s,o){var f,g,w,T;if(f=r-n,f<7){p5n(t,n,r,o);return}if(w=n+s,g=r+s,T=w+(g-w>>1),A9e(t,e,w,T,-s,o),A9e(t,e,T,g,-s,o),o.Ne(e[T-1],e[T])<=0){for(;n=0?e.bi(o,n):ike(e,s,n);else throw ue(new Wn(qb+s.xe()+TL));else throw ue(new Wn(z4t+t+q4t));else cf(e,r,s,n)}function s2t(e){var t,n;if(e.f){for(;e.n>0;){if(t=l(e.k.Xb(e.n-1),76),n=t.Lk(),De(n,102)&&l(n,19).Bb&nu&&(!e.e||n.pk()!=uC||n.Lj()!=0)&&t.md()!=null)return!0;--e.n}return!1}else return e.n>0}function a2t(e){var t,n,r,s;if(n=l(e,54)._h(),n)try{if(r=null,t=GT((db(),Gf),Vmt(_5n(n))),t&&(s=t.ai(),s&&(r=s.Fl(Aun(n.e)))),r&&r!=e)return a2t(r)}catch(o){if(o=ms(o),!De(o,63))throw ue(o)}return e}function Fkn(e,t,n){var r,s,o;n.Ug("Remove overlaps",1),n.dh(t,RCe),r=l(at(t,(V5(),Q6)),27),e.f=r,e.a=wue(l(at(t,(Pb(),VB)),300)),s=Ge(at(t,(bi(),Dv))),_e(e,(tr(s),s)),o=Gy(r),dwt(e,t,o,n),n.dh(t,zG)}function Rkn(e){var t,n,r;if(Ft(Pt(at(e,(bi(),tF))))){for(r=new mt,n=new lr(fr(fp(e).a.Kc(),new j));Rr(n);)t=l(yr(n),74),Yw(t)&&Ft(Pt(at(t,Kge)))&&qn(r.c,t);return r}else return Cn(),Cn(),Co}function o2t(e){if(!e)return sZe(),q6t;var t=e.valueOf?e.valueOf():e;if(t!==e){var n=z0e[typeof t];return n?n(t):m8e(typeof t)}else return e instanceof Array||e instanceof b.Array?new Nz(e):new xk(e)}function c2t(e,t,n){var r,s,o;switch(o=e.o,r=l(Zo(e.p,n),252),s=r.i,s.b=lP(r),s.a=uP(r),s.b=b.Math.max(s.b,o.a),s.b>o.a&&!t&&(s.b=o.a),s.c=-(s.b-o.a)/2,n.g){case 1:s.d=-s.a;break;case 3:s.d=o.b}Cle(r),Sle(r)}function u2t(e,t,n){var r,s,o;switch(o=e.o,r=l(Zo(e.p,n),252),s=r.i,s.b=lP(r),s.a=uP(r),s.a=b.Math.max(s.a,o.b),s.a>o.b&&!t&&(s.a=o.b),s.d=-(s.a-o.b)/2,n.g){case 4:s.c=-s.b;break;case 2:s.c=o.a}Cle(r),Sle(r)}function jkn(e,t){var n,r,s,o,f;if(!t.dc()){if(s=l(t.Xb(0),131),t.gc()==1){$bt(e,s,s,1,0,t);return}for(n=1;n0)try{s=Oh(t,ao,Ni)}catch(o){throw o=ms(o),De(o,130)?(r=o,ue(new lU(r))):ue(o)}return n=(!e.a&&(e.a=new Yie(e)),e.a),s=0?l(Oe(n,s),58):null}function Hkn(e,t){if(e<0)return WA(t3t,he(le(ka,1),jn,1,5,["index",bt(e)]));if(t<0)throw ue(new Wn(n3t+t));return WA("%s (%s) must be less than size (%s)",he(le(ka,1),jn,1,5,["index",bt(e),bt(t)]))}function Ukn(e){var t,n,r,s,o;if(e==null)return cl;for(o=new Qm(To,"[","]"),n=e,r=0,s=n.length;r=0?e.Lh(n,!0,!0):Xw(e,s,!0),160)),l(r,220).Zl(t);else throw ue(new Wn(qb+t.xe()+TL))}function I9e(e){var t,n;return e>-0x800000000000&&e<0x800000000000?e==0?0:(t=e<0,t&&(e=-e),n=da(b.Math.floor(b.Math.log(e)/.6931471805599453)),(!t||e!=b.Math.pow(2,n))&&++n,n):S0t(tu(e))}function sTn(e){var t,n,r,s,o,f,g;for(o=new pd,n=new K(e);n.a2&&g.e.b+g.j.b<=2&&(s=g,r=f),o.a.zc(s,o),s.q=r);return o}function aTn(e,t,n){n.Ug("Eades radial",1),n.dh(t,zG),e.d=l(at(t,(V5(),Q6)),27),e.c=ze(Ge(at(t,(Pb(),QW)))),e.e=wue(l(at(t,VB),300)),e.a=P5n(l(at(t,rOe),434)),e.b=txn(l(at(t,ZIe),354)),F8n(e),n.dh(t,zG)}function oTn(e,t){if(t.Ug("Target Width Setter",1),P1(e,(z1(),Sge)))Vi(e,(fg(),_4),Ge(at(e,Sge)));else throw ue(new Zp("A target width has to be set if the TargetWidthWidthApproximator should be used."));t.Vg()}function g2t(e,t){var n,r,s;return r=new hp(e),mc(r,t),rt(r,(ft(),gW),t),rt(r,(Nt(),Ds),(Pa(),Au)),rt(r,Fd,(lg(),uY)),x(r,(Jn(),Ks)),n=new du,Nc(n,r),ga(n,(_t(),Zn)),s=new du,Nc(s,r),ga(s,sr),r}function p2t(e){switch(e.g){case 0:return new cse((jw(),jB));case 1:return new hie;case 2:return new fie;default:throw ue(new Wn("No implementation is available for the crossing minimizer "+(e.f!=null?e.f:""+e.g)))}}function b2t(e,t){var n,r,s,o,f;for(e.c[t.p]=!0,wt(e.a,t),f=new K(t.j);f.a=o)f.$b();else for(s=f.Kc(),r=0;r0?m3e():f<0&&y2t(e,t,-f),!0):!1}function uP(e){var t,n,r,s,o,f,g;if(g=0,e.b==0){for(f=ngt(e,!0),t=0,r=f,s=0,o=r.length;s0&&(g+=n,++t);t>1&&(g+=e.c*(t-1))}else g=mZe(kce(Ey(ji(S5e(e.a),new Ya),new Ba)));return g>0?g+e.n.d+e.n.a:0}function lP(e){var t,n,r,s,o,f,g;if(g=0,e.b==0)g=mZe(kce(Ey(ji(S5e(e.a),new Ac),new Jc)));else{for(f=rgt(e,!0),t=0,r=f,s=0,o=r.length;s0&&(g+=n,++t);t>1&&(g+=e.c*(t-1))}return g>0?g+e.n.b+e.n.c:0}function gTn(e){var t,n;if(e.c.length!=2)throw ue(new ic("Order only allowed for two paths."));t=(Sn(0,e.c.length),l(e.c[0],18)),n=(Sn(1,e.c.length),l(e.c[1],18)),t.d.i!=n.c.i&&(e.c.length=0,qn(e.c,n),qn(e.c,t))}function x2t(e,t,n){var r;for(j5(n,t.g,t.f),Xh(n,t.i,t.j),r=0;r<(!t.a&&(t.a=new nt(Li,t,10,11)),t.a).i;r++)x2t(e,l(Oe((!t.a&&(t.a=new nt(Li,t,10,11)),t.a),r),27),l(Oe((!n.a&&(n.a=new nt(Li,n,10,11)),n.a),r),27))}function pTn(e,t){var n,r,s,o;for(o=l(Zo(e.b,t),127),n=o.a,s=l(l($i(e.r,t),21),87).Kc();s.Ob();)r=l(s.Pb(),117),r.c&&(n.a=b.Math.max(n.a,r5e(r.c)));if(n.a>0)switch(t.g){case 2:o.n.c=e.s;break;case 4:o.n.b=e.s}}function bTn(e,t){var n,r,s;return n=l(Q(t,(p0(),Hx)),17).a-l(Q(e,Hx),17).a,n==0?(r=ya(Xa(l(Q(e,(Cb(),wB)),8)),l(Q(e,zL),8)),s=ya(Xa(l(Q(t,wB),8)),l(Q(t,zL),8)),Xi(r.a*r.b,s.a*s.b)):n}function mTn(e,t){var n,r,s;return n=l(Q(t,(Vc(),GW)),17).a-l(Q(e,GW),17).a,n==0?(r=ya(Xa(l(Q(e,(Zi(),qB)),8)),l(Q(e,ZE),8)),s=ya(Xa(l(Q(t,qB),8)),l(Q(t,ZE),8)),Xi(r.a*r.b,s.a*s.b)):n}function k2t(e){var t,n;return n=new lb,n.a+="e_",t=lyn(e),t!=null&&(n.a+=""+t),e.c&&e.d&&(li((n.a+=" ",n),yV(e.c)),li(mu((n.a+="[",n),e.c.i),"]"),li((n.a+=Yhe,n),yV(e.d)),li(mu((n.a+="[",n),e.d.i),"]")),n.a}function T2t(e){switch(e.g){case 0:return new yie;case 1:return new pk;case 2:return new wie;case 3:return new vie;default:throw ue(new Wn("No implementation is available for the layout phase "+(e.f!=null?e.f:""+e.g)))}}function P9e(e,t,n,r,s){var o;switch(o=0,s.g){case 1:o=b.Math.max(0,t.b+e.b-(n.b+r));break;case 3:o=b.Math.max(0,-e.b-r);break;case 2:o=b.Math.max(0,-e.a-r);break;case 4:o=b.Math.max(0,t.a+e.a-(n.a+r))}return o}function vTn(e,t,n){var r,s,o,f,g;if(n)for(s=n.a.length,r=new jm(s),g=(r.b-r.a)*r.c<0?(gb(),lm):new mb(r);g.Ob();)f=l(g.Pb(),17),o=eT(n,f.a),LSe in o.a||u0e in o.a?I_n(e,o,t):QIn(e,o,t),Xhn(l(or(e.b,BT(o)),74))}function B9e(e){var t,n;switch(e.b){case-1:return!0;case 0:return n=e.t,n>1||n==-1?(e.b=-1,!0):(t=Of(e),t&&(Ro(),t.lk()==H5t)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function F9e(e,t){var n,r,s,o;if(Mi(e),e.c!=0||e.a!=123)throw ue(new ri(si((Jr(),h5t))));if(o=t==112,r=e.d,n=Bk(e.i,125,r),n<0)throw ue(new ri(si((Jr(),f5t))));return s=ef(e.i,r,n),e.d=n+1,Klt(s,o,(e.e&512)==512)}function E2t(e){var t,n,r,s,o,f,g;if(r=e.a.c.length,r>0)for(f=e.c.d,g=e.d.d,s=bd(ya(new lt(g.a,g.b),f),1/(r+1)),o=new lt(f.a,f.b),n=new K(e.a);n.a=0&&r=0?e.Lh(n,!0,!0):Xw(e,s,!0),160)),l(r,220).Wl(t);throw ue(new Wn(qb+t.xe()+e0e))}function kTn(){j3e();var e;return _At?l(GT((db(),Gf),Ff),2038):(yi(mv,new zI),mDn(),e=l(De(wu((db(),Gf),Ff),560)?wu(Gf,Ff):new zat,560),_At=!0,vOn(e),COn(e),Ti((R3e(),VPe),e,new k1),sc(Gf,Ff,e),e)}function TTn(e,t){var n,r,s,o;e.j=-1,ch(e.e)?(n=e.i,o=e.i!=0,uN(e,t),r=new rp(e.e,3,e.c,null,t,n,o),s=t.zl(e.e,e.c,null),s=ipt(e,t,s),s?(s.nj(r),s.oj()):Bi(e.e,r)):(uN(e,t),s=t.zl(e.e,e.c,null),s&&s.oj())}function MV(e,t){var n,r,s;if(s=0,r=t[0],r>=e.length)return-1;for(n=(Yn(r,e.length),e.charCodeAt(r));n>=48&&n<=57&&(s=s*10+(n-48),++r,!(r>=e.length));)n=(Yn(r,e.length),e.charCodeAt(r));return r>t[0]?t[0]=r:s=-1,s}function ETn(e){var t,n,r,s,o;return s=l(e.a,17).a,o=l(e.b,17).a,n=s,r=o,t=b.Math.max(b.Math.abs(s),b.Math.abs(o)),s<=0&&s==o?(n=0,r=o-1):s==-t&&o!=t?(n=o,r=s,o>=0&&++n):(n=-o,r=s),new fa(bt(n),bt(r))}function CTn(e,t,n,r){var s,o,f,g,w,T;for(s=0;s=0&&T>=0&&w=e.i)throw ue(new rc(h0e+t+gv+e.i));if(n>=e.i)throw ue(new rc(f0e+n+gv+e.i));return r=e.g[n],t!=n&&(t>16),t=r>>16&16,n=16-t,e=e>>t,r=e-256,t=r>>16&8,n+=t,e<<=t,r=e-Zy,t=r>>16&4,n+=t,e<<=t,r=e-Sd,t=r>>16&2,n+=t,e<<=t,r=e>>14,t=r&~(r>>1),n+2-t)}function _Tn(e){nx();var t,n,r,s;for(_K=new mt,l1e=new Nr,u1e=new mt,t=(!e.a&&(e.a=new nt(Li,e,10,11)),e.a),mIn(t),s=new ar(t);s.e!=s.i.gc();)r=l(dr(s),27),bc(_K,r,0)==-1&&(n=new mt,wt(u1e,n),Adt(r,n));return u1e}function ATn(e,t,n){var r,s,o,f;e.a=n.b.d,De(t,326)?(s=f6(l(t,74),!1,!1),o=sP(s),r=new n_(e),Za(o,r),xP(o,s),t.of((bi(),A3))!=null&&Za(l(t.of(A3),75),r)):(f=l(t,422),f.rh(f.nh()+e.a.a),f.sh(f.oh()+e.a.b))}function LTn(e,t){var n,r,s;for(s=new mt,r=Fr(t.a,0);r.b!=r.d.c;)n=l(Pr(r),65),n.c.g==e.g&&qe(Q(n.b,(Vc(),jd)))!==qe(Q(n.c,jd))&&!X5(new vn(null,new kn(s,16)),new FXe(n))&&qn(s.c,n);return Gs(s,new Ute),s}function S2t(e,t,n){var r,s,o,f;return De(t,153)&&De(n,153)?(o=l(t,153),f=l(n,153),e.a[o.a][f.a]+e.a[f.a][o.a]):De(t,250)&&De(n,250)&&(r=l(t,250),s=l(n,250),r.a==s.a)?l(Q(s.a,(p0(),Hx)),17).a:0}function _2t(e,t){var n,r,s,o,f,g,w,T;for(T=ze(Ge(Q(t,(Nt(),nM)))),w=e[0].n.a+e[0].o.a+e[0].d.c+T,g=1;g=0?n:(g=tA(ya(new lt(f.c+f.b/2,f.d+f.a/2),new lt(o.c+o.b/2,o.d+o.a/2))),-(Zmt(o,f)-1)*g)}function DTn(e,t,n){var r;Os(new vn(null,(!n.a&&(n.a=new nt(cs,n,6,6)),new kn(n.a,16))),new qtt(e,t)),Os(new vn(null,(!n.n&&(n.n=new nt(nc,n,1,7)),new kn(n.n,16))),new Htt(e,t)),r=l(at(n,(bi(),A3)),75),r&&$7e(r,e,t)}function Xw(e,t,n){var r,s,o;if(o=b6((kl(),no),e.Dh(),t),o)return Ro(),l(o,69).xk()||(o=ix(ac(no,o))),s=(r=e.Ih(o),l(r>=0?e.Lh(r,!0,!0):Xw(e,o,!0),160)),l(s,220).Sl(t,n);throw ue(new Wn(qb+t.xe()+e0e))}function R9e(e,t,n,r){var s,o,f,g,w;if(s=e.d[t],s){if(o=s.g,w=s.i,r!=null){for(g=0;g=n&&(r=t,T=(w.c+w.a)/2,f=T-n,w.c<=T-n&&(s=new Iae(w.c,f),kw(e,r++,s)),g=T+n,g<=w.a&&(o=new Iae(g,w.a),Sy(r,e.c.length),k_(e.c,r,o)))}function M2t(e,t,n){var r,s,o,f,g,w;if(!t.dc()){for(s=new os,w=t.Kc();w.Ob();)for(g=l(w.Pb(),40),Ti(e.a,bt(g.g),bt(n)),f=(r=Fr(new Kg(g).a.d,0),new _5(r));sO(f.a);)o=l(Pr(f.a),65).c,_s(s,o,s.c.b,s.c);M2t(e,s,n+1)}}function j9e(e){var t;if(!e.c&&e.g==null)e.d=e.bj(e.f),zr(e,e.d),t=e.d;else{if(e.g==null)return!0;if(e.i==0)return!1;t=l(e.g[e.i-1],51)}return t==e.b&&null.Vm>=null.Um()?(OV(e),j9e(e)):t.Ob()}function D2t(e){if(this.a=e,e.c.i.k==(Jn(),Ks))this.c=e.c,this.d=l(Q(e.c.i,(ft(),Xc)),64);else if(e.d.i.k==Ks)this.c=e.d,this.d=l(Q(e.d.i,(ft(),Xc)),64);else throw ue(new Wn("Edge "+e+" is not an external edge."))}function I2t(e,t){var n,r,s;s=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,3,s,e.b)),t?t!=e&&(Bu(e,t.zb),hce(e,t.d),n=(r=t.c,r??t.zb),dce(e,n==null||wn(n,t.zb)?null:n)):(Bu(e,null),hce(e,0),dce(e,null))}function O2t(e,t){var n;this.e=(Sw(),Xr(e),Sw(),Z8e(e)),this.c=(Xr(t),Z8e(t)),qye(this.e.Rd().dc()==this.c.Rd().dc()),this.d=W1t(this.e),this.b=W1t(this.c),n=Fm(ka,[dt,jn],[5,1],5,[this.e.Rd().gc(),this.c.Rd().gc()],2),this.a=n,a3n(this)}function N2t(e){!j0e&&(j0e=LIn());var t=e.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,function(n){return O2n(n)});return'"'+t+'"'}function $9e(e,t,n,r,s,o){var f,g,w,T,C;if(s!=0)for(qe(e)===qe(n)&&(e=e.slice(t,t+s),t=0),w=n,g=t,T=t+s;g=f)throw ue(new yy(t,f));return s=n[t],f==1?r=null:(r=We(gpe,m0e,424,f-1,0,1),gu(n,0,r,0,t),o=f-t-1,o>0&&gu(n,t+1,r,t,o)),FT(e,r),r2t(e,t,s),s}function B2t(e){var t,n;if(e.f){for(;e.n0?o=px(n):o=UN(px(n))),Vi(t,GE,o)}function RTn(e,t){var n;t.Ug("Partition preprocessing",1),n=l(kc(ji(Pc(ji(new vn(null,new kn(e.a,16)),new qZ),new HZ),new _j),Il(new qr,new ht,new On,he(le(uc,1),it,108,0,[(Nl(),Cc)]))),15),Os(n.Oc(),new n8),t.Vg()}function jTn(e,t){var n,r,s,o,f;for(f=e.j,t.a!=t.b&&Gs(f,new TS),s=f.c.length/2|0,r=0;r0&&vP(e,n,t),o):r.a!=null?(vP(e,t,n),-1):s.a!=null?(vP(e,n,t),1):0}function zTn(e,t){var n,r,s,o,f;for(s=t.b.b,e.a=We(bf,e4,15,s,0,1),e.b=We(th,vg,28,s,16,1),f=Fr(t.b,0);f.b!=f.d.c;)o=l(Pr(f),40),e.a[o.g]=new os;for(r=Fr(t.a,0);r.b!=r.d.c;)n=l(Pr(r),65),e.a[n.b.g].Fc(n),e.a[n.c.g].Fc(n)}function $2t(e,t){var n,r,s,o;e.Pj()?(n=e.Ej(),o=e.Qj(),++e.j,e.qj(n,e.Zi(n,t)),r=e.Ij(3,null,t,n,o),e.Mj()?(s=e.Nj(t,null),s?(s.nj(r),s.oj()):e.Jj(r)):e.Jj(r)):(Mat(e,t),e.Mj()&&(s=e.Nj(t,null),s&&s.oj()))}function z9e(e,t,n){var r,s,o;e.Pj()?(o=e.Qj(),$N(e,t,n),r=e.Ij(3,null,n,t,o),e.Mj()?(s=e.Nj(n,null),e.Tj()&&(s=e.Uj(n,s)),s?(s.nj(r),s.oj()):e.Jj(r)):e.Jj(r)):($N(e,t,n),e.Mj()&&(s=e.Nj(n,null),s&&s.oj()))}function DV(e,t){var n,r,s,o,f;for(f=Wu(e.e.Dh(),t),s=new sb,n=l(e.g,124),o=e.i;--o>=0;)r=n[o],f.am(r.Lk())&&zr(s,r);!Pwt(e,s)&&ch(e.e)&&Tk(e,t.Jk()?kb(e,6,t,(Cn(),Co),null,-1,!1):kb(e,t.tk()?2:1,t,null,null,-1,!1))}function qTn(e,t){var n,r,s,o,f;return e.a==(HT(),VL)?!0:(o=t.a.c,n=t.a.c+t.a.b,!(t.j&&(r=t.A,f=r.c.c.a-r.o.a/2,s=o-(r.n.a+r.o.a),s>f)||t.q&&(r=t.C,f=r.c.c.a-r.o.a/2,s=r.n.a-n,s>f)))}function z2t(e){Soe();var t,n,r,s,o,f,g;for(n=new u2,s=new K(e.e.b);s.a1?e.e*=ze(e.a):e.f/=ze(e.a),l4n(e),b6n(e),d_n(e),rt(e.b,(OA(),SK),e.g)}function V2t(e,t,n){var r,s,o,f,g,w;for(r=0,w=n,t||(r=n*(e.c.length-1),w*=-1),o=new K(e);o.a=0?e.Ah(null):e.Ph().Th(e,-1-t,null,null)),e.Bh(l(s,54),n),r&&r.oj(),e.vh()&&e.wh()&&n>-1&&Bi(e,new _a(e,9,n,o,s)),s):o}function U9e(e,t){var n,r,s,o,f;for(o=e.b.Ce(t),r=(n=e.a.get(o),n??We(ka,jn,1,0,5,1)),f=0;f>5,s>=e.d)return e.e<0;if(n=e.a[s],t=1<<(t&31),e.e<0){if(r=s0t(e),s>16)),15).dd(o),g0&&(!(Yg(e.a.c)&&t.n.d)&&!(R5(e.a.c)&&t.n.b)&&(t.g.d+=b.Math.max(0,r/2-.5)),!(Yg(e.a.c)&&t.n.a)&&!(R5(e.a.c)&&t.n.c)&&(t.g.a-=r-1))}function ebt(e){var t,n,r,s,o;if(s=new mt,o=Ymt(e,s),t=l(Q(e,(ft(),Bl)),10),t)for(r=new K(t.j);r.a>t,o=e.m>>t|n<<22-t,s=e.l>>t|e.m<<22-t):t<44?(f=r?pp:0,o=n>>t-22,s=e.m>>t-22|n<<44-t):(f=r?pp:0,o=r?Ql:0,s=n>>t-44),qu(s&Ql,o&Ql,f&pp)}function ale(e){var t,n,r,s,o,f;for(this.c=new mt,this.d=e,r=gs,s=gs,t=oa,n=oa,f=Fr(e,0);f.b!=f.d.c;)o=l(Pr(f),8),r=b.Math.min(r,o.a),s=b.Math.min(s,o.b),t=b.Math.max(t,o.a),n=b.Math.max(n,o.b);this.a=new Zh(r,s,t-r,n-s)}function nbt(e,t){var n,r,s,o,f,g;for(o=new K(e.b);o.a0&&De(t,44)&&(e.a._j(),T=l(t,44),w=T.ld(),o=w==null?0:ts(w),f=p4e(e.a,o),n=e.a.d[f],n)){for(r=l(n.g,379),C=n.i,g=0;g=2)for(n=s.Kc(),t=Ge(n.Pb());n.Ob();)o=t,t=Ge(n.Pb()),r=b.Math.min(r,(tr(t),t-(tr(o),o)));return r}function lEn(e,t){var n,r,s;for(s=new mt,r=Fr(t.a,0);r.b!=r.d.c;)n=l(Pr(r),65),n.b.g==e.g&&!wn(n.b.c,jG)&&qe(Q(n.b,(Vc(),jd)))!==qe(Q(n.c,jd))&&!X5(new vn(null,new kn(s,16)),new RXe(n))&&qn(s.c,n);return Gs(s,new Wte),s}function hEn(e,t){var n,r,s;if(qe(t)===qe(Xr(e)))return!0;if(!De(t,15)||(r=l(t,15),s=e.gc(),s!=r.gc()))return!1;if(De(r,59)){for(n=0;n0&&(s=n),f=new K(e.f.e);f.a0?(t-=1,n-=1):r>=0&&s<0?(t+=1,n+=1):r>0&&s>=0?(t-=1,n+=1):(t+=1,n-=1),new fa(bt(t),bt(n))}function CEn(e,t){return e.ct.c?1:e.bt.b?1:e.a!=t.a?ts(e.a)-ts(t.a):e.d==(cA(),lM)&&t.d==uM?-1:e.d==uM&&t.d==lM?1:0}function ubt(e,t){var n,r,s,o,f;return o=t.a,o.c.i==t.b?f=o.d:f=o.c,o.c.i==t.b?r=o.c:r=o.d,s=K5n(e.a,f,r),s>0&&s0):s<0&&-s0):!1}function SEn(e,t,n,r){var s,o,f,g,w,T,C,L;for(s=(t-e.d)/e.c.c.length,o=0,e.a+=n,e.d=t,L=new K(e.c);L.a>24;return f}function AEn(e){if(e.ze()){var t=e.c;t.Ae()?e.o="["+t.n:t.ze()?e.o="["+t.xe():e.o="[L"+t.xe()+";",e.b=t.we()+"[]",e.k=t.ye()+"[]";return}var n=e.j,r=e.d;r=r.split("/"),e.o=lue(".",[n,lue("$",r)]),e.b=lue(".",[n,lue(".",r)]),e.k=r[r.length-1]}function LEn(e,t){var n,r,s,o,f;for(f=null,o=new K(e.e.a);o.a=0;t-=2)for(n=0;n<=t;n+=2)(e.b[n]>e.b[n+2]||e.b[n]===e.b[n+2]&&e.b[n+1]>e.b[n+3])&&(r=e.b[n+2],e.b[n+2]=e.b[n],e.b[n]=r,r=e.b[n+3],e.b[n+3]=e.b[n+1],e.b[n+1]=r);e.c=!0}}function IEn(e,t){var n,r,s,o,f,g,w,T,C;for(T=-1,C=0,f=e,g=0,w=f.length;g0&&++C;++T}return C}function d0(e){var t,n;return n=new Eh(Pm(e.Rm)),n.a+="@",li(n,(t=ts(e)>>>0,t.toString(16))),e.Vh()?(n.a+=" (eProxyURI: ",mu(n,e._h()),e.Kh()&&(n.a+=" eClass: ",mu(n,e.Kh())),n.a+=")"):e.Kh()&&(n.a+=" (eClass: ",mu(n,e.Kh()),n.a+=")"),n.a}function UA(e){var t,n,r,s;if(e.e)throw ue(new ic((Xg(J0e),Lhe+J0e.k+Mhe)));for(e.d==(ea(),J1)&&ZV(e,hc),n=new K(e.a.a);n.a>24}return n}function PEn(e,t,n){var r,s,o;if(s=l(Zo(e.i,t),314),!s)if(s=new Yht(e.d,t,n),J8(e.i,t,s),ixe(t))jhn(e.a,t.c,t.b,s);else switch(o=vkn(t),r=l(Zo(e.p,o),252),o.g){case 1:case 3:s.j=!0,lse(r,t.b,s);break;case 4:case 2:s.k=!0,lse(r,t.c,s)}return s}function BEn(e,t){var n,r,s,o,f,g,w,T,C;for(w=rg(e.c-e.b&e.a.length-1),T=null,C=null,o=new rA(e);o.a!=o.b;)s=l(VU(o),10),n=(g=l(Q(s,(ft(),a1)),12),g?g.i:null),r=(f=l(Q(s,$f),12),f?f.i:null),(T!=n||C!=r)&&(G2t(w,t),T=n,C=r),qn(w.c,s);G2t(w,t)}function FEn(e,t,n,r){var s,o,f,g,w,T;if(g=new sb,w=Wu(e.e.Dh(),t),s=l(e.g,124),Ro(),l(t,69).xk())for(f=0;f=0)return s;for(o=1,g=new K(t.j);g.a=0)return s;for(o=1,g=new K(t.j);g.a0&&t.Ne((Sn(s-1,e.c.length),l(e.c[s-1],10)),o)>0;)nf(e,s,(Sn(s-1,e.c.length),l(e.c[s-1],10))),--s;Sn(s,e.c.length),e.c[s]=o}n.a=new Nr,n.b=new Nr}function REn(e,t,n){var r,s,o,f,g,w,T,C;for(C=(r=l(t.e&&t.e(),9),new Jh(r,l(o0(r,r.length),9),0)),w=Yy(n,"[\\[\\]\\s,]+"),o=w,f=0,g=o.length;f=0?(t||(t=new f_,r>0&&Jo(t,(Va(0,r,e.length),e.substr(0,r)))),t.a+="\\",Kk(t,n&ta)):t&&Kk(t,n&ta);return t?t.a:e}function $En(e){var t,n,r;for(n=new K(e.a.a.b);n.a0&&(!(Yg(e.a.c)&&t.n.d)&&!(R5(e.a.c)&&t.n.b)&&(t.g.d-=b.Math.max(0,r/2-.5)),!(Yg(e.a.c)&&t.n.a)&&!(R5(e.a.c)&&t.n.c)&&(t.g.a+=b.Math.max(0,r-1)))}function vbt(e,t,n){var r,s;if((e.c-e.b&e.a.length-1)==2)t==(_t(),Xn)||t==sr?(mU(l(yA(e),15),(Ih(),Cg)),mU(l(yA(e),15),tm)):(mU(l(yA(e),15),(Ih(),tm)),mU(l(yA(e),15),Cg));else for(s=new rA(e);s.a!=s.b;)r=l(VU(s),15),mU(r,n)}function zEn(e,t){var n,r,s,o,f,g,w;for(s=qk(new Rwe(e)),g=new Ua(s,s.c.length),o=qk(new Rwe(t)),w=new Ua(o,o.c.length),f=null;g.b>0&&w.b>0&&(n=(br(g.b>0),l(g.a.Xb(g.c=--g.b),27)),r=(br(w.b>0),l(w.a.Xb(w.c=--w.b),27)),n==r);)f=n;return f}function wbt(e,t,n){var r,s,o,f;yct(e,t)>yct(e,n)?(r=Fc(n,(_t(),sr)),e.d=r.dc()?0:Rae(l(r.Xb(0),12)),f=Fc(t,Zn),e.b=f.dc()?0:Rae(l(f.Xb(0),12))):(s=Fc(n,(_t(),Zn)),e.d=s.dc()?0:Rae(l(s.Xb(0),12)),o=Fc(t,sr),e.b=o.dc()?0:Rae(l(o.Xb(0),12)))}function ybt(e,t){var n,r,s,o;for(n=e.o.a,o=l(l($i(e.r,t),21),87).Kc();o.Ob();)s=l(o.Pb(),117),s.e.a=n*ze(Ge(s.b.of(TK))),s.e.b=(r=s.b,r.pf((bi(),eh))?r.ag()==(_t(),Xn)?-r.Mf().b-ze(Ge(r.of(eh))):ze(Ge(r.of(eh))):r.ag()==(_t(),Xn)?-r.Mf().b:0)}function qEn(e,t){var n,r,s,o;for(t.Ug("Self-Loop pre-processing",1),r=new K(e.a);r.ae.c));f++)s.a>=e.s&&(o<0&&(o=f),g=f);return w=(e.s+e.c)/2,o>=0&&(r=M_n(e,t,o,g),w=Aln((Sn(r,t.c.length),l(t.c[r],339))),PTn(t,r,n)),w}function Wr(e,t,n){var r,s,o,f,g,w,T;for(f=(o=new OI,o),I7e(f,(tr(t),t)),T=(!f.b&&(f.b=new lh((En(),Do),Qc,f)),f.b),w=1;w0&&SMn(this,s)}function tke(e,t,n,r,s,o){var f,g,w;if(!s[t.a]){for(s[t.a]=!0,f=r,!f&&(f=new tU),wt(f.e,t),w=o[t.a].Kc();w.Ob();)g=l(w.Pb(),290),!(g.d==n||g.c==n)&&(g.c!=t&&tke(e,g.c,t,f,s,o),g.d!=t&&tke(e,g.d,t,f,s,o),wt(f.c,g),aa(f.d,g.b));return f}return null}function VEn(e){var t,n,r,s,o,f,g;for(t=0,s=new K(e.e);s.a=2}function GEn(e,t,n,r,s){var o,f,g,w,T,C;for(o=e.c.d.j,f=l(hf(n,0),8),C=1;C1||(t=is(k0,he(le(Ko,1),it,95,0,[xp,T0])),AN(qH(t,e))>1)||(r=is(C0,he(le(Ko,1),it,95,0,[Sg,qf])),AN(qH(r,e))>1))}function nke(e,t,n){var r,s,o;for(o=new K(e.t);o.a0&&(r.b.n-=r.c,r.b.n<=0&&r.b.u>0&&ci(t,r.b));for(s=new K(e.i);s.a0&&(r.a.u-=r.c,r.a.u<=0&&r.a.n>0&&ci(n,r.a))}function OV(e){var t,n,r,s,o;if(e.g==null&&(e.d=e.bj(e.f),zr(e,e.d),e.c))return o=e.f,o;if(t=l(e.g[e.i-1],51),s=t.Pb(),e.e=t,n=e.bj(s),n.Ob())e.d=n,zr(e,n);else for(e.d=null;!t.Ob()&&(Ss(e.g,--e.i,null),e.i!=0);)r=l(e.g[e.i-1],51),t=r;return s}function WEn(e,t){var n,r,s,o,f,g;if(r=t,s=r.Lk(),dp(e.e,s)){if(s.Si()&&XH(e,s,r.md()))return!1}else for(g=Wu(e.e.Dh(),s),n=l(e.g,124),o=0;o1||n>1)return 2;return t+n==1?2:0}function Yl(e,t){var n,r,s,o,f,g;return o=e.a*Che+e.b*1502,g=e.b*Che+11,n=b.Math.floor(g*RP),o+=n,g-=n*STe,o%=STe,e.a=o,e.b=g,t<=24?b.Math.floor(e.a*P_e[t]):(s=e.a*(1<=2147483648&&(r-=4294967296),r)}function Cbt(e,t,n){var r,s,o,f,g,w,T;for(o=new mt,T=new os,f=new os,bLn(e,T,f,t),WMn(e,T,f,t,n),w=new K(e);w.ar.b.g&&qn(o.c,r);return o}function eCn(e,t,n){var r,s,o,f,g,w;for(g=e.c,f=(n.q?n.q:(Cn(),Cn(),yg)).vc().Kc();f.Ob();)o=l(f.Pb(),44),r=!Lk(ji(new vn(null,new kn(g,16)),new Vl(new Ptt(t,o)))).Bd((Bm(),qx)),r&&(w=o.md(),De(w,4)&&(s=oxe(w),s!=null&&(w=s)),t.qf(l(o.ld(),149),w))}function tCn(e,t,n){var r,s;if(XO(e.b),Y0(e.b,(HN(),nY),(m_(),XB)),Y0(e.b,rY,t.g),Y0(e.b,iY,t.a),e.a=EP(e.b,t),n.Ug("Compaction by shrinking a tree",e.a.c.length),t.i.c.length>1)for(s=new K(e.a);s.a=0?e.Lh(r,!0,!0):Xw(e,o,!0),160)),l(s,220).Xl(t,n)}else throw ue(new Wn(qb+t.xe()+TL))}function NV(e,t){var n,r,s,o,f;if(t){for(o=De(e.Cb,90)||De(e.Cb,102),f=!o&&De(e.Cb,331),r=new ar((!t.a&&(t.a=new K_(t,Wo,t)),t.a));r.e!=r.i.gc();)if(n=l(dr(r),89),s=KV(n),o?De(s,90):f?De(s,156):s)return s;return o?(En(),Kf):(En(),td)}else return null}function nCn(e,t){var n,r,s,o;for(t.Ug("Resize child graph to fit parent.",1),r=new K(e.b);r.a=2*t&&wt(n,new Iae(f[r-1]+t,f[r]-t));return n}function sCn(e,t,n){var r,s,o,f,g,w,T,C;if(n)for(o=n.a.length,r=new jm(o),g=(r.b-r.a)*r.c<0?(gb(),lm):new mb(r);g.Ob();)f=l(g.Pb(),17),s=eT(n,f.a),s&&(w=Pmn(e,(T=(fb(),C=new r3e,C),t&&ske(T,t),T),s),gT(w,Zg(s,Nd)),CV(s,w),L9e(s,w),Oce(e,s,w))}function PV(e){var t,n,r,s,o,f;if(!e.j){if(f=new OS,t=HM,o=t.a.zc(e,t),o==null){for(r=new ar(pc(e));r.e!=r.i.gc();)n=l(dr(r),29),s=PV(n),Ls(f,s),zr(f,n);t.a.Bc(e)!=null}Py(f),e.j=new B5((l(Oe(tt((wb(),Un).o),11),19),f.i),f.g),Gl(e).b&=-33}return e.j}function aCn(e){var t,n,r,s;if(e==null)return null;if(r=ku(e,!0),s=cB.length,wn(r.substr(r.length-s,s),cB)){if(n=r.length,n==4){if(t=(Yn(0,r.length),r.charCodeAt(0)),t==43)return hBe;if(t==45)return WAt}else if(n==3)return hBe}return new Gwe(r)}function oCn(e){var t,n,r;return n=e.l,n&n-1||(r=e.m,r&r-1)||(t=e.h,t&t-1)||t==0&&r==0&&n==0?-1:t==0&&r==0&&n!=0?k7e(n):t==0&&r!=0&&n==0?k7e(r)+22:t!=0&&r==0&&n==0?k7e(t)+44:-1}function h6(e,t){var n,r,s,o,f;for(s=t.a&e.f,o=null,r=e.b[s];;r=r.b){if(r==t){o?o.b=t.b:e.b[s]=t.b;break}o=r}for(f=t.f&e.f,o=null,n=e.c[f];;n=n.d){if(n==t){o?o.d=t.d:e.c[f]=t.d;break}o=n}t.e?t.e.c=t.c:e.a=t.c,t.c?t.c.e=t.e:e.e=t.e,--e.i,++e.g}function cCn(e,t){var n;t.d?t.d.b=t.b:e.a=t.b,t.b?t.b.d=t.d:e.e=t.d,!t.e&&!t.c?(n=l(Lf(l(ox(e.b,t.a),260)),260),n.a=0,++e.c):(n=l(Lf(l(or(e.b,t.a),260)),260),--n.a,t.e?t.e.c=t.c:n.b=l(Lf(t.c),511),t.c?t.c.e=t.e:n.c=l(Lf(t.e),511)),--e.d}function uCn(e){var t,n,r,s,o,f,g,w,T,C;for(n=e.o,t=e.p,f=Ni,s=ao,g=Ni,o=ao,T=0;T0),o.a.Xb(o.c=--o.b),wy(o,s),br(o.b3&&ug(e,0,t-3))}function hCn(e){var t,n,r,s;return qe(Q(e,(Nt(),v4)))===qe((op(),F2))?!e.e&&qe(Q(e,IB))!==qe((yT(),SB)):(r=l(Q(e,dde),299),s=Ft(Pt(Q(e,gde)))||qe(Q(e,ZL))===qe((gA(),CB)),t=l(Q(e,UMe),17).a,n=e.a.c.length,!s&&r!=(yT(),SB)&&(t==0||t>n))}function fCn(e){var t,n;for(n=0;n0);n++);if(n>0&&n0);t++);return t>0&&n>16!=6&&t){if(jT(e,t))throw ue(new Wn(EL+q2t(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?Axe(e,r):e.Cb.Th(e,-1-n,null,r))),t&&(r=vx(t,e,6,r)),r=f4e(e,t,r),r&&r.oj()}else e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,6,t,t))}function BV(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=3&&t){if(jT(e,t))throw ue(new Wn(EL+Lvt(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?Ixe(e,r):e.Cb.Th(e,-1-n,null,r))),t&&(r=vx(t,e,12,r)),r=d4e(e,t,r),r&&r.oj()}else e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,3,t,t))}function ske(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=9&&t){if(jT(e,t))throw ue(new Wn(EL+_mt(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?Mxe(e,r):e.Cb.Th(e,-1-n,null,r))),t&&(r=vx(t,e,9,r)),r=g4e(e,t,r),r&&r.oj()}else e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,9,t,t))}function KT(e){var t,n,r,s,o;if(r=Of(e),o=e.j,o==null&&r)return e.Jk()?null:r.ik();if(De(r,156)){if(n=r.jk(),n&&(s=n.wi(),s!=e.i)){if(t=l(r,156),t.nk())try{e.g=s.ti(t,o)}catch(f){if(f=ms(f),De(f,82))e.g=null;else throw ue(f)}e.i=s}return e.g}return null}function Lbt(e){var t;return t=new mt,wt(t,new F8(new lt(e.c,e.d),new lt(e.c+e.b,e.d))),wt(t,new F8(new lt(e.c,e.d),new lt(e.c,e.d+e.a))),wt(t,new F8(new lt(e.c+e.b,e.d+e.a),new lt(e.c+e.b,e.d))),wt(t,new F8(new lt(e.c+e.b,e.d+e.a),new lt(e.c,e.d+e.a))),t}function dCn(e){var t,n,r;if(e==null)return cl;try{return Tc(e)}catch(s){if(s=ms(s),De(s,103))return t=s,r=Pm(dh(e))+"@"+(n=(Wg(),axe(e)>>>0),n.toString(16)),_6n(fyn(),(Ok(),"Exception during lenientFormat for "+r),t),"<"+r+" threw "+Pm(t.Rm)+">";throw ue(s)}}function gCn(e,t,n){var r,s,o;for(o=t.a.ec().Kc();o.Ob();)s=l(o.Pb(),74),r=l(or(e.b,s),272),!r&&(ds(hg(s))==ds(Ib(s))?tSn(e,s,n):hg(s)==ds(Ib(s))?or(e.c,s)==null&&or(e.b,Ib(s))!=null&&owt(e,s,n,!1):or(e.d,s)==null&&or(e.b,hg(s))!=null&&owt(e,s,n,!0))}function pCn(e,t){var n,r,s,o,f,g,w;for(s=e.Kc();s.Ob();)for(r=l(s.Pb(),10),g=new du,Nc(g,r),ga(g,(_t(),sr)),rt(g,(ft(),pW),(Hn(),!0)),f=t.Kc();f.Ob();)o=l(f.Pb(),10),w=new du,Nc(w,o),ga(w,Zn),rt(w,pW,!0),n=new Dw,rt(n,pW,!0),ho(n,g),Na(n,w)}function bCn(e,t,n,r){var s,o,f,g;s=ddt(e,t,n),o=ddt(e,n,t),f=l(or(e.c,t),118),g=l(or(e.c,n),118),s1)for(t=vw((n=new Nm,++e.b,n),e.d),g=Fr(o,0);g.b!=g.d.c;)f=l(Pr(g),125),g0(i0(r0(s0(n0(new _f,1),0),t),f))}function wCn(e,t,n){var r,s,o,f,g;for(n.Ug("Breaking Point Removing",1),e.a=l(Q(t,(Nt(),yp)),223),o=new K(t.b);o.a>16!=11&&t){if(jT(e,t))throw ue(new Wn(EL+Cke(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?Oxe(e,r):e.Cb.Th(e,-1-n,null,r))),t&&(r=vx(t,e,10,r)),r=T4e(e,t,r),r&&r.oj()}else e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,11,t,t))}function yCn(e){var t,n,r,s;for(r=new Xm(new Cr(e.b).a);r.b;)n=zw(r),s=l(n.ld(),12),t=l(n.md(),10),rt(t,(ft(),zi),s),rt(s,Bl,t),rt(s,LB,(Hn(),!0)),ga(s,l(Q(t,Xc),64)),Q(t,Xc),rt(s.i,(Nt(),Ds),(Pa(),oC)),l(Q(Ja(s.i),_u),21).Fc((Ho(),qE))}function xCn(e,t,n){var r,s,o,f,g,w;if(o=0,f=0,e.c)for(w=new K(e.d.i.j);w.ao.a?-1:s.aw){for(C=e.d,e.d=We(BPe,VSe,66,2*w+4,0,1),o=0;o=9223372036854776e3?(aT(),f_e):(s=!1,e<0&&(s=!0,e=-e),r=0,e>=ov&&(r=da(e/ov),e-=r*ov),n=0,e>=Mx&&(n=da(e/Mx),e-=n*Mx),t=da(e),o=qu(t,n,r),s&&Nce(o),o)}function ICn(e){var t,n,r,s,o;if(o=new mt,Uu(e.b,new tg(o)),e.b.c.length=0,o.c.length!=0){for(t=(Sn(0,o.c.length),l(o.c[0],82)),n=1,r=o.c.length;n=-t&&r==t?new fa(bt(n-1),bt(r)):new fa(bt(n),bt(r-1))}function Ibt(){return po(),he(le(UOn,1),it,81,0,[ZAe,XAe,O6,S1e,vLe,jK,YK,d4,bLe,oLe,gLe,f4,mLe,iLe,wLe,UAe,HK,_1e,FK,GK,xLe,VK,VAe,pLe,kLe,KK,yLe,RK,tLe,fLe,hLe,XK,WAe,BK,zK,KAe,DE,uLe,sLe,dLe,qL,QAe,YAe,lLe,aLe,qK,WK,GAe,UK,cLe,$K,nLe,eLe,kB,PK,rLe,JAe])}function PCn(e,t,n){e.d=0,e.b=0,t.k==(Jn(),Su)&&n.k==Su&&l(Q(t,(ft(),zi)),10)==l(Q(n,zi),10)&&(ece(t).j==(_t(),Xn)?wbt(e,t,n):wbt(e,n,t)),t.k==Su&&n.k==Aa?ece(t).j==(_t(),Xn)?e.d=1:e.b=1:n.k==Su&&t.k==Aa&&(ece(n).j==(_t(),Xn)?e.b=1:e.d=1),w7n(e,t,n)}function BCn(e){var t,n,r,s,o,f,g,w,T,C,L;return L=r9e(e),t=e.a,w=t!=null,w&&Hk(L,"category",e.a),s=oO(new pr(e.d)),f=!s,f&&(T=new Yp,Z0(L,"knownOptions",T),n=new BQe(T),Za(new pr(e.d),n)),o=oO(e.g),g=!o,g&&(C=new Yp,Z0(L,"supportedFeatures",C),r=new FQe(C),Za(e.g,r)),L}function FCn(e){var t,n,r,s,o,f,g,w,T;for(r=!1,t=336,n=0,o=new xit(e.length),g=e,w=0,T=g.length;w>16!=7&&t){if(jT(e,t))throw ue(new Wn(EL+jpt(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?Lxe(e,r):e.Cb.Th(e,-1-n,null,r))),t&&(r=l(t,54).Rh(e,1,pF,r)),r=b5e(e,t,r),r&&r.oj()}else e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,7,t,t))}function Obt(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=3&&t){if(jT(e,t))throw ue(new Wn(EL+F1t(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?Dxe(e,r):e.Cb.Th(e,-1-n,null,r))),t&&(r=l(t,54).Rh(e,0,mF,r)),r=m5e(e,t,r),r&&r.oj()}else e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,3,t,t))}function hle(e,t){WT();var n,r,s,o,f,g,w,T,C;return t.d>e.d&&(g=e,e=t,t=g),t.d<63?CSn(e,t):(f=(e.d&-2)<<4,T=B6e(e,f),C=B6e(t,f),r=Dle(e,ax(T,f)),s=Dle(t,ax(C,f)),w=hle(T,C),n=hle(r,s),o=hle(Dle(T,r),Dle(s,C)),o=Rle(Rle(o,w),n),o=ax(o,f),w=ax(w,f<<1),Rle(Rle(w,o),n))}function E2(){E2=U,Ade=new I5(Fyt,0),MDe=new I5("LONGEST_PATH",1),DDe=new I5("LONGEST_PATH_SOURCE",2),_de=new I5("COFFMAN_GRAHAM",3),LDe=new I5(efe,4),IDe=new I5("STRETCH_WIDTH",5),OW=new I5("MIN_WIDTH",6),XE=new I5("BF_MODEL_ORDER",7),QE=new I5("DF_MODEL_ORDER",8)}function jCn(e,t,n){var r,s,o,f,g;for(f=CA(e,n),g=We(kg,S2,10,t.length,0,1),r=0,o=f.Kc();o.Ob();)s=l(o.Pb(),12),Ft(Pt(Q(s,(ft(),LB))))&&(g[r++]=l(Q(s,Bl),10));if(r=0;o+=n?1:-1)f=f|t.c.lg(w,o,n,r&&!Ft(Pt(Q(t.j,(ft(),Wb))))&&!Ft(Pt(Q(t.j,(ft(),z6))))),f=f|t.q.ug(w,o,n),f=f|ymt(e,w[o],n,r);return sa(e.c,t),f}function jV(e,t,n){var r,s,o,f,g,w,T,C,L,F;for(C=Zct(e.j),L=0,F=C.length;L1&&(e.a=!0),vgn(l(n.b,68),Pi(Xa(l(t.b,68).c),bd(ya(Xa(l(n.b,68).a),l(t.b,68).a),s))),act(e,t),Nbt(e,n)}function Pbt(e){var t,n,r,s,o,f,g;for(o=new K(e.a.a);o.a0&&o>0?f.p=t++:r>0?f.p=n++:o>0?f.p=s++:f.p=n++}Cn(),Gs(e.j,new X9)}function UCn(e){var t,n;n=null,t=l(Rt(e.g,0),18);do{if(n=t.d.i,rs(n,(ft(),$f)))return l(Q(n,$f),12).i;if(n.k!=(Jn(),Bs)&&Rr(new lr(fr(qs(n).a.Kc(),new j))))t=l(yr(new lr(fr(qs(n).a.Kc(),new j))),18);else if(n.k!=Bs)return null}while(n&&n.k!=(Jn(),Bs));return n}function VCn(e,t){var n,r,s,o,f,g,w,T,C;for(g=t.j,f=t.g,w=l(Rt(g,g.c.length-1),113),C=(Sn(0,g.c.length),l(g.c[0],113)),T=Iue(e,f,w,C),o=1;oT&&(w=n,C=s,T=r);t.a=C,t.c=w}function GCn(e,t,n){var r,s,o,f,g,w,T;for(T=new n2(new yXe(e)),f=he(le(fxt,1),oyt,12,0,[t,n]),g=0,w=f.length;gw-e.b&&gw-e.a&&g0?o.a?(g=o.b.Mf().a,n>g&&(s=(n-g)/2,o.d.b=s,o.d.c=s)):o.d.c=e.s+n:Y_(e.u)&&(r=i9e(o.b),r.c<0&&(o.d.b=-r.c),r.c+r.b>o.b.Mf().a&&(o.d.c=r.c+r.b-o.b.Mf().a))}function uSn(e,t){var n,r,s,o,f;f=new mt,n=t;do o=l(or(e.b,n),131),o.B=n.c,o.D=n.d,qn(f.c,o),n=l(or(e.k,n),18);while(n);return r=(Sn(0,f.c.length),l(f.c[0],131)),r.j=!0,r.A=l(r.d.a.ec().Kc().Pb(),18).c.i,s=l(Rt(f,f.c.length-1),131),s.q=!0,s.C=l(s.d.a.ec().Kc().Pb(),18).d.i,f}function lSn(e){var t,n;if(t=l(e.a,17).a,n=l(e.b,17).a,t>=0){if(t==n)return new fa(bt(-t-1),bt(-t-1));if(t==-n)return new fa(bt(-t),bt(n+1))}return b.Math.abs(t)>b.Math.abs(n)?t<0?new fa(bt(-t),bt(n)):new fa(bt(-t),bt(n+1)):new fa(bt(t+1),bt(n))}function hSn(e){var t,n;n=l(Q(e,(Nt(),Qu)),171),t=l(Q(e,(ft(),wv)),311),n==(lf(),Yb)?(rt(e,Qu,DB),rt(e,wv,(ip(),j6))):n==b4?(rt(e,Qu,DB),rt(e,wv,(ip(),Gx))):t==(ip(),j6)?(rt(e,Qu,Yb),rt(e,wv,_B)):t==Gx&&(rt(e,Qu,b4),rt(e,wv,_B))}function $V(){$V=U,$B=new Lte,CEt=hi(new Js,(so(),pu),(po(),FK)),AEt=wl(hi(new Js,pu,VK),wc,UK),LEt=Td(Td(w_(wl(hi(new Js,w0,YK),wc,WK),Cu),KK),XK),SEt=wl(hi(hi(hi(new Js,xg,jK),Cu,zK),Cu,DE),wc,$K),_Et=wl(hi(hi(new Js,Cu,DE),Cu,BK),wc,PK)}function KA(){KA=U,IEt=hi(wl(new Js,(so(),wc),(po(),nLe)),pu,FK),BEt=Td(Td(w_(wl(hi(new Js,w0,YK),wc,WK),Cu),KK),XK),OEt=wl(hi(hi(hi(new Js,xg,jK),Cu,zK),Cu,DE),wc,$K),PEt=hi(hi(new Js,pu,VK),wc,UK),NEt=wl(hi(hi(new Js,Cu,DE),Cu,BK),wc,PK)}function fSn(e,t,n,r,s){var o,f;(!Ao(t)&&t.c.i.c==t.d.i.c||!Rft(Bc(he(le(Ca,1),dt,8,0,[s.i.n,s.n,s.a])),n))&&!Ao(t)&&(t.c==s?Fk(t.a,0,new xo(n)):ci(t.a,new xo(n)),r&&!K0(e.a,n)&&(f=l(Q(t,(Nt(),lc)),75),f||(f=new pl,rt(t,lc,f)),o=new xo(n),_s(f,o,f.c.b,f.c),sa(e.a,o)))}function Rbt(e,t){var n,r,s,o;for(o=Yr(go(pg,og(Yr(go(t==null?0:ts(t),bg)),15))),n=o&e.b.length-1,s=null,r=e.b[n];r;s=r,r=r.a)if(r.d==o&&wd(r.i,t))return s?s.a=r.a:e.b[n]=r.a,dZe(l(Lf(r.c),604),l(Lf(r.f),604)),nO(l(Lf(r.b),227),l(Lf(r.e),227)),--e.f,++e.e,!0;return!1}function dSn(e){var t,n;for(n=new lr(fr(Ea(e).a.Kc(),new j));Rr(n);)if(t=l(yr(n),18),t.c.i.k!=(Jn(),uu))throw ue(new Zp(Zhe+QN(e)+"' has its layer constraint set to FIRST, but has at least one incoming edge that does not come from a FIRST_SEPARATE node. That must not happen."))}function gSn(e,t,n){var r,s,o,f,g,w,T;if(s=q1t(e.Db&254),s==0)e.Eb=n;else{if(s==1)g=We(ka,jn,1,2,5,1),o=Due(e,t),o==0?(g[0]=n,g[1]=e.Eb):(g[0]=e.Eb,g[1]=n);else for(g=We(ka,jn,1,s+1,5,1),f=Km(e.Eb),r=2,w=0,T=0;r<=128;r<<=1)r==t?g[T++]=n:e.Db&r&&(g[T++]=f[w++]);e.Eb=g}e.Db|=t}function jbt(e,t,n){var r,s,o,f;for(this.b=new mt,s=0,r=0,f=new K(e);f.a0&&(o=l(Rt(this.b,0),176),s+=o.o,r+=o.p),s*=2,r*=2,t>1?s=da(b.Math.ceil(s*t)):r=da(b.Math.ceil(r/t)),this.a=new X8e(s,r)}function $bt(e,t,n,r,s,o){var f,g,w,T,C,L,F,z,V,J,te,fe;for(C=r,t.j&&t.o?(z=l(or(e.f,t.A),60),J=z.d.c+z.d.b,--C):J=t.a.c+t.a.b,L=s,n.q&&n.o?(z=l(or(e.f,n.C),60),T=z.d.c,++L):T=n.a.c,te=T-J,w=b.Math.max(2,L-C),g=te/w,V=J+g,F=C;F=0;f+=s?1:-1){for(g=t[f],w=r==(_t(),sr)?s?Fc(g,r):uf(Fc(g,r)):s?uf(Fc(g,r)):Fc(g,r),o&&(e.c[g.p]=w.gc()),L=w.Kc();L.Ob();)C=l(L.Pb(),12),e.d[C.p]=T++;aa(n,w)}}function qbt(e,t,n){var r,s,o,f,g,w,T,C;for(o=ze(Ge(e.b.Kc().Pb())),T=ze(Ge(hyn(t.b))),r=bd(Xa(e.a),T-n),s=bd(Xa(t.a),n-o),C=Pi(r,s),bd(C,1/(T-o)),this.a=C,this.b=new mt,g=!0,f=e.b.Kc(),f.Pb();f.Ob();)w=ze(Ge(f.Pb())),g&&w-n>Ofe&&(this.b.Fc(n),g=!1),this.b.Fc(w);g&&this.b.Fc(n)}function pSn(e){var t,n,r,s;if(O_n(e,e.n),e.d.c.length>0){for(l_(e.c);K9e(e,l(re(new K(e.e.a)),125))>5,t&=31,r>=e.d)return e.e<0?(Ed(),W6t):(Ed(),FL);if(o=e.d-r,s=We(Ur,fi,28,o+1,15,1),akn(s,o,e.a,r,t),e.e<0){for(n=0;n0&&e.a[n]<<32-t){for(n=0;n=0?!1:(n=b6((kl(),no),s,t),n?(r=n.Ik(),(r>1||r==-1)&&Lw(ac(no,n))!=3):!0)):!1}function wSn(e,t,n,r){var s,o,f,g,w;return g=vc(l(Oe((!t.b&&(t.b=new An(Sr,t,4,7)),t.b),0),84)),w=vc(l(Oe((!t.c&&(t.c=new An(Sr,t,5,8)),t.c),0),84)),ds(g)==ds(w)||Iy(w,g)?null:(f=nN(t),f==n?r:(o=l(or(e.a,f),10),o&&(s=o.e,s)?s:null))}function ySn(e,t,n){var r,s,o,f,g;for(n.Ug("Longest path to source layering",1),e.a=t,g=e.a.a,e.b=We(Ur,fi,28,g.c.length,15,1),r=0,f=new K(g);f.a0&&(n[0]+=e.d,f-=n[0]),n[2]>0&&(n[2]+=e.d,f-=n[2]),o=b.Math.max(0,f),n[1]=b.Math.max(n[1],f),R6e(e,ju,s.c+r.b+n[0]-(n[1]-f)/2,n),t==ju&&(e.c.b=o,e.c.c=s.c+r.b+(o-f)/2)}function Jbt(){this.c=We(Oa,tc,28,(_t(),he(le(Mo,1),ou,64,0,[jc,Xn,sr,Mr,Zn])).length,15,1),this.b=We(Oa,tc,28,he(le(Mo,1),ou,64,0,[jc,Xn,sr,Mr,Zn]).length,15,1),this.a=We(Oa,tc,28,he(le(Mo,1),ou,64,0,[jc,Xn,sr,Mr,Zn]).length,15,1),z3e(this.c,gs),z3e(this.b,oa),z3e(this.a,oa)}function xu(e,t,n){var r,s,o,f;if(t<=n?(s=t,o=n):(s=n,o=t),r=0,e.b==null)e.b=We(Ur,fi,28,2,15,1),e.b[0]=s,e.b[1]=o,e.c=!0;else{if(r=e.b.length,e.b[r-1]+1==s){e.b[r-1]=o;return}f=We(Ur,fi,28,r+2,15,1),gu(e.b,0,f,0,r),e.b=f,e.b[r-1]>=s&&(e.c=!1,e.a=!1),e.b[r++]=s,e.b[r]=o,e.c||l6(e)}}function SSn(e,t,n){var r,s,o,f,g,w,T;for(T=t.d,e.a=new Pu(T.c.length),e.c=new Nr,g=new K(T);g.a=0?e.Lh(T,!1,!0):Xw(e,n,!1),61));e:for(o=L.Kc();o.Ob();){for(s=l(o.Pb(),58),C=0;C1;)Ky(s,s.i-1);return r}function emt(e,t){var n,r,s,o,f,g,w;for(n=new H5,o=new K(e.b);o.ae.d[f.p]&&(n+=M6e(e.b,o),Tb(e.a,bt(o)));for(;!h_(e.a);)u7e(e.b,l(Q8(e.a),17).a)}return n}function ISn(e){var t,n,r,s,o,f,g,w,T;for(e.a=new k4e,T=0,s=0,r=new K(e.i.b);r.ag.d&&(C=g.d+g.a+T));n.c.d=C,t.a.zc(n,t),w=b.Math.max(w,n.c.d+n.c.a)}return w}function Ho(){Ho=U,cW=new fy("COMMENTS",0),mf=new fy("EXTERNAL_PORTS",1),GL=new fy("HYPEREDGES",2),uW=new fy("HYPERNODES",3),qE=new fy("NON_FREE_PORTS",4),R6=new fy("NORTH_SOUTH_PORTS",5),KL=new fy(Cyt,6),$E=new fy("CENTER_LABELS",7),zE=new fy("END_LABELS",8),lW=new fy("PARTITIONS",9)}function NSn(e,t,n,r,s){return r<0?(r=u6(e,s,he(le($t,1),dt,2,6,[ehe,the,nhe,rhe,Ax,ihe,she,ahe,ohe,che,uhe,lhe]),t),r<0&&(r=u6(e,s,he(le($t,1),dt,2,6,["Jan","Feb","Mar","Apr",Ax,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),r<0?!1:(n.k=r,!0)):r>0?(n.k=r-1,!0):!1}function PSn(e,t,n,r,s){return r<0?(r=u6(e,s,he(le($t,1),dt,2,6,[ehe,the,nhe,rhe,Ax,ihe,she,ahe,ohe,che,uhe,lhe]),t),r<0&&(r=u6(e,s,he(le($t,1),dt,2,6,["Jan","Feb","Mar","Apr",Ax,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),r<0?!1:(n.k=r,!0)):r>0?(n.k=r-1,!0):!1}function BSn(e,t,n,r,s,o){var f,g,w,T;if(g=32,r<0){if(t[0]>=e.length||(g=io(e,t[0]),g!=43&&g!=45)||(++t[0],r=MV(e,t),r<0))return!1;g==45&&(r=-r)}return g==32&&t[0]-n==2&&s.b==2&&(w=new sq,T=w.q.getFullYear()-Rb+Rb-80,f=T%100,o.a=r==f,r+=(T/100|0)*100+(r=0?Db(e):Z_(Db(f2(e)))),RL[t]=Bq(u0(e,t),0)?Db(u0(e,t)):Z_(Db(f2(u0(e,t)))),e=go(e,5);for(;t=T&&(w=r);w&&(C=b.Math.max(C,w.a.o.a)),C>F&&(L=T,F=C)}return L}function qSn(e){var t,n,r,s,o,f,g;for(o=new n2(l(Xr(new Ug),50)),g=oa,n=new K(e.d);n.aQyt?Gs(w,e.b):r<=Qyt&&r>Jyt?Gs(w,e.d):r<=Jyt&&r>Zyt?Gs(w,e.c):r<=Zyt&&Gs(w,e.a),o=smt(e,w,o);return s}function amt(e,t,n,r){var s,o,f,g,w,T;for(s=(r.c+r.a)/2,Ch(t.j),ci(t.j,s),Ch(n.e),ci(n.e,s),T=new SZe,g=new K(e.f);g.a1,g&&(r=new lt(s,n.b),ci(t.a,r)),dA(t.a,he(le(Ca,1),dt,8,0,[F,L]))}function bke(e,t,n){var r,s;for(t=48;n--)KM[n]=n-48<<24>>24;for(r=70;r>=65;r--)KM[r]=r-65+10<<24>>24;for(s=102;s>=97;s--)KM[s]=s-97+10<<24>>24;for(o=0;o<10;o++)FY[o]=48+o&ta;for(e=10;e<=15;e++)FY[e]=65+e-10&ta}function GSn(e,t){t.Ug("Process graph bounds",1),rt(e,(Zi(),Xde),yO(Tce(Ey(new vn(null,new kn(e.b,16)),new tne)))),rt(e,Qde,yO(Tce(Ey(new vn(null,new kn(e.b,16)),new nne)))),rt(e,xIe,yO(kce(Ey(new vn(null,new kn(e.b,16)),new rne)))),rt(e,kIe,yO(kce(Ey(new vn(null,new kn(e.b,16)),new ine)))),t.Vg()}function KSn(e){var t,n,r,s,o;s=l(Q(e,(Nt(),Ev)),21),o=l(Q(e,LW),21),n=new lt(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),t=new xo(n),s.Hc((gh(),D4))&&(r=l(Q(e,UE),8),o.Hc((Xl(),cC))&&(r.a<=0&&(r.a=20),r.b<=0&&(r.b=20)),t.a=b.Math.max(n.a,r.a),t.b=b.Math.max(n.b,r.b)),Ft(Pt(Q(e,yde)))||TLn(e,n,t)}function WSn(e,t){var n,r,s,o;for(o=Fc(t,(_t(),Mr)).Kc();o.Ob();)r=l(o.Pb(),12),n=l(Q(r,(ft(),Bl)),10),n&&g0(i0(r0(s0(n0(new _f,0),.1),e.i[t.p].d),e.i[n.p].a));for(s=Fc(t,Xn).Kc();s.Ob();)r=l(s.Pb(),12),n=l(Q(r,(ft(),Bl)),10),n&&g0(i0(r0(s0(n0(new _f,0),.1),e.i[n.p].d),e.i[t.p].a))}function dle(e){var t,n,r,s,o,f;if(!e.c){if(f=new Zc,t=HM,o=t.a.zc(e,t),o==null){for(r=new ar(fu(e));r.e!=r.i.gc();)n=l(dr(r),89),s=KV(n),De(s,90)&&Ls(f,dle(l(s,29))),zr(f,n);t.a.Bc(e)!=null,t.a.gc()==0}H5n(f),Py(f),e.c=new B5((l(Oe(tt((wb(),Un).o),15),19),f.i),f.g),Gl(e).b&=-33}return e.c}function vke(e){var t;if(e.c!=10)throw ue(new ri(si((Jr(),JG))));switch(t=e.a,t){case 110:t=10;break;case 114:t=13;break;case 116:t=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw ue(new ri(si((Jr(),pf))))}return t}function lmt(e){var t,n,r,s,o;if(e.l==0&&e.m==0&&e.h==0)return"0";if(e.h==NP&&e.m==0&&e.l==0)return"-9223372036854775808";if(e.h>>19)return"-"+lmt(TT(e));for(n=e,r="";!(n.l==0&&n.m==0&&n.h==0);){if(s=Hoe(aG),n=Jke(n,s,!0),t=""+IZe(Hb),!(n.l==0&&n.m==0&&n.h==0))for(o=9-t.length;o>0;o--)t="0"+t;r=t+r}return r}function YSn(e){var t,n,r,s,o,f,g;for(t=!1,n=0,s=new K(e.d.b);s.a=e.a||!e9e(t,n))return-1;if(tT(l(r.Kb(t),20)))return 1;for(s=0,f=l(r.Kb(t),20).Kc();f.Ob();)if(o=l(f.Pb(),18),w=o.c.i==t?o.d.i:o.c.i,g=wke(e,w,n,r),g==-1||(s=b.Math.max(s,g),s>e.c-1))return-1;return s+1}function hmt(e,t){var n,r,s,o,f,g;if(qe(t)===qe(e))return!0;if(!De(t,15)||(r=l(t,15),g=e.gc(),r.gc()!=g))return!1;if(f=r.Kc(),e.Yi()){for(n=0;n0){if(e._j(),t!=null){for(o=0;o>24;case 97:case 98:case 99:case 100:case 101:case 102:return e-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return e-65+10<<24>>24;default:throw ue(new dd("Invalid hexadecimal"))}}function HV(){HV=U,rAe=new D5("SPIRAL",0),Z_e=new D5("LINE_BY_LINE",1),eAe=new D5("MANHATTAN",2),J_e=new D5("JITTER",3),t1e=new D5("QUADRANTS_LINE_BY_LINE",4),nAe=new D5("QUADRANTS_MANHATTAN",5),tAe=new D5("QUADRANTS_JITTER",6),Q_e=new D5("COMBINE_LINE_BY_LINE_MANHATTAN",7),X_e=new D5("COMBINE_JITTER_MANHATTAN",8)}function dmt(e,t,n,r){var s,o,f,g,w,T;for(w=Rue(e,n),T=Rue(t,n),s=!1;w&&T&&(r||G7n(w,T,n));)f=Rue(w,n),g=Rue(T,n),mN(t),mN(e),o=w.c,jle(w,!1),jle(T,!1),n?($y(t,T.p,o),t.p=T.p,$y(e,w.p+1,o),e.p=w.p):($y(e,w.p,o),e.p=w.p,$y(t,T.p+1,o),t.p=T.p),Ha(w,null),Ha(T,null),w=f,T=g,s=!0;return s}function gmt(e){switch(e.g){case 0:return new aie;case 1:return new QS;case 3:return new qet;case 4:return new tte;case 5:return new bit;case 6:return new KI;case 2:return new XS;case 7:return new gz;case 8:return new GI;default:throw ue(new Wn("No implementation is available for the layerer "+(e.f!=null?e.f:""+e.g)))}}function t_n(e,t,n,r){var s,o,f,g,w;for(s=!1,o=!1,g=new K(r.j);g.a=t.length)throw ue(new rc("Greedy SwitchDecider: Free layer not in graph."));this.c=t[e],this.e=new $O(r),vce(this.e,this.c,(_t(),Zn)),this.i=new $O(r),vce(this.i,this.c,sr),this.f=new Ost(this.c),this.a=!o&&s.i&&!s.s&&this.c[0].k==(Jn(),Ks),this.a&&pkn(this,e,t.length)}function bmt(e,t){var n,r,s,o,f,g;o=!e.B.Hc((Xl(),dF)),f=e.B.Hc(ape),e.a=new ndt(f,o,e.c),e.n&&Q5e(e.a.n,e.n),lse(e.g,(e1(),ju),e.a),t||(r=new IA(1,o,e.c),r.n.a=e.k,J8(e.p,(_t(),Xn),r),s=new IA(1,o,e.c),s.n.d=e.k,J8(e.p,Mr,s),g=new IA(0,o,e.c),g.n.c=e.k,J8(e.p,Zn,g),n=new IA(0,o,e.c),n.n.b=e.k,J8(e.p,sr,n))}function r_n(e){var t,n,r;switch(t=l(Q(e.d,(Nt(),yp)),223),t.g){case 2:n=VIn(e);break;case 3:n=(r=new mt,Os(ji(gc(Pc(Pc(new vn(null,new kn(e.d.b,16)),new _ee),new Aee),new Lee),new yS),new XYe(r)),r);break;default:throw ue(new ic("Compaction not supported for "+t+" edges."))}dMn(e,n),Za(new pr(e.g),new WYe(e))}function i_n(e,t){var n,r,s,o,f,g,w;if(t.Ug("Process directions",1),n=l(Q(e,(Vc(),_3)),88),n!=(ea(),Q1))for(s=Fr(e.b,0);s.b!=s.d.c;){switch(r=l(Pr(s),40),g=l(Q(r,(Zi(),HB)),17).a,w=l(Q(r,UB),17).a,n.g){case 4:w*=-1;break;case 1:o=g,g=w,w=o;break;case 2:f=g,g=-w,w=f}rt(r,HB,bt(g)),rt(r,UB,bt(w))}t.Vg()}function s_n(e,t){var n;return n=new Ui,t&&mc(n,l(or(e.a,pF),96)),De(t,422)&&mc(n,l(or(e.a,bF),96)),De(t,366)?(mc(n,l(or(e.a,nc),96)),n):(De(t,84)&&mc(n,l(or(e.a,Sr),96)),De(t,207)?(mc(n,l(or(e.a,Li),96)),n):De(t,193)?(mc(n,l(or(e.a,$l),96)),n):(De(t,326)&&mc(n,l(or(e.a,js),96)),n))}function a_n(e){var t,n,r,s,o,f,g,w;for(w=new Xut,g=new K(e.a);g.a0&&t=0)return!1;if(t.p=n.b,wt(n.e,t),s==(Jn(),Aa)||s==Su){for(f=new K(t.j);f.ae.d[g.p]&&(n+=M6e(e.b,o),Tb(e.a,bt(o)))):++f;for(n+=e.b.d*f;!h_(e.a);)u7e(e.b,l(Q8(e.a),17).a)}return n}function Smt(e){var t,n,r,s,o,f;return o=0,t=Of(e),t.kk()&&(o|=4),e.Bb&Cl&&(o|=2),De(e,102)?(n=l(e,19),s=jo(n),n.Bb&nu&&(o|=32),s&&(wr(Cy(s)),o|=8,f=s.t,(f>1||f==-1)&&(o|=16),s.Bb&nu&&(o|=64)),n.Bb&Lo&&(o|=a4),o|=b0):De(t,469)?o|=512:(r=t.kk(),r&&r.i&1&&(o|=256)),e.Bb&512&&(o|=128),o}function v_n(e,t){var n;return e.f==wpe?(n=Lw(ac((kl(),no),t)),e.e?n==4&&t!=(Tx(),l9)&&t!=(Tx(),u9)&&t!=(Tx(),ype)&&t!=(Tx(),xpe):n==2):e.d&&(e.d.Hc(t)||e.d.Hc(ix(ac((kl(),no),t)))||e.d.Hc(b6((kl(),no),e.b,t)))?!0:e.f&&ake((kl(),e.f),QO(ac(no,t)))?(n=Lw(ac(no,t)),e.e?n==4:n==2):!1}function w_n(e){var t,n,r,s,o,f,g,w,T,C,L,F,z;for(F=-1,z=0,T=e,C=0,L=T.length;C0&&++z;++F}return z}function y_n(e,t,n,r){var s,o,f,g,w,T,C,L;return f=l(at(n,(bi(),r9)),8),w=f.a,C=f.b+e,s=b.Math.atan2(C,w),s<0&&(s+=fv),s+=t,s>fv&&(s-=fv),g=l(at(r,r9),8),T=g.a,L=g.b+e,o=b.Math.atan2(L,T),o<0&&(o+=fv),o+=t,o>fv&&(o-=fv),A1(),h0(1e-10),b.Math.abs(s-o)<=1e-10||s==o||isNaN(s)&&isNaN(o)?0:so?1:bw(isNaN(s),isNaN(o))}function ble(e){var t,n,r,s,o,f,g;for(g=new Nr,r=new K(e.a.b);r.a=e.o)throw ue(new e3e);g=t>>5,f=t&31,o=u0(1,Yr(u0(f,1))),s?e.n[n][g]=X0(e.n[n][g],o):e.n[n][g]=xa(e.n[n][g],Q4e(o)),o=u0(o,1),r?e.n[n][g]=X0(e.n[n][g],o):e.n[n][g]=xa(e.n[n][g],Q4e(o))}catch(w){throw w=ms(w),De(w,333)?ue(new rc(Fhe+e.o+"*"+e.p+Rhe+t+To+n+jhe)):ue(w)}}function T_n(e,t,n,r){var s,o,f,g,w,T,C,L,F;for(F=new n2(new wXe(e)),g=he(le(kg,1),S2,10,0,[t,n]),w=0,T=g.length;w0&&(r=(!e.n&&(e.n=new nt(nc,e,1,7)),l(Oe(e.n,0),135)).a,!r||li(li((t.a+=' "',t),r),'"'))),li(lw(li(lw(li(lw(li(lw((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function _mt(e){var t,n,r;return e.Db&64?Yue(e):(t=new Eh(_Se),n=e.k,n?li(li((t.a+=' "',t),n),'"'):(!e.n&&(e.n=new nt(nc,e,1,7)),e.n.i>0&&(r=(!e.n&&(e.n=new nt(nc,e,1,7)),l(Oe(e.n,0),135)).a,!r||li(li((t.a+=' "',t),r),'"'))),li(lw(li(lw(li(lw(li(lw((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function S_n(e,t){var n,r,s,o,f;for(t==(xA(),jde)&&aP(l($i(e.a,(zy(),EB)),15)),s=l($i(e.a,(zy(),EB)),15).Kc();s.Ob();)switch(r=l(s.Pb(),105),n=l(Rt(r.j,0),113).d.j,o=new Ml(r.j),Gs(o,new Gj),t.g){case 2:Hue(e,o,n,($w(),Kb),1);break;case 1:case 0:f=fCn(o),Hue(e,new c2(o,0,f),n,($w(),Kb),0),Hue(e,new c2(o,f,o.c.length),n,Kb,1)}}function vle(e,t){var n,r,s,o,f,g,w;if(t==null||t.length==0)return null;if(s=l(wu(e.a,t),143),!s){for(r=(g=new pi(e.b).a.vc().Kc(),new fs(g));r.a.Ob();)if(n=(o=l(r.a.Pb(),44),l(o.md(),143)),f=n.c,w=t.length,wn(f.substr(f.length-w,w),t)&&(t.length==f.length||io(f,f.length-t.length-1)==46)){if(s)return null;s=n}s&&sc(e.a,t,s)}return s}function __n(e,t){var n,r,s,o;return n=new Yd,r=l(kc(gc(new vn(null,new kn(e.f,16)),n),Ly(new xt,new Ri,new Rn,new zn,he(le(uc,1),it,108,0,[(Nl(),o4),Cc]))),21),s=r.gc(),r=l(kc(gc(new vn(null,new kn(t.f,16)),n),Ly(new xt,new Ri,new Rn,new zn,he(le(uc,1),it,108,0,[o4,Cc]))),21),o=r.gc(),ss.p?(ga(o,Mr),o.d&&(g=o.o.b,t=o.a.b,o.a.b=g-t)):o.j==Mr&&s.p>e.p&&(ga(o,Xn),o.d&&(g=o.o.b,t=o.a.b,o.a.b=-(g-t)));break}return s}function mP(e,t,n,r,s){var o,f,g,w,T,C,L;if(!(De(t,207)||De(t,366)||De(t,193)))throw ue(new Wn("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return f=e.a/2,w=t.i+r-f,C=t.j+s-f,T=w+t.g+e.a,L=C+t.f+e.a,o=new pl,ci(o,new lt(w,C)),ci(o,new lt(w,L)),ci(o,new lt(T,L)),ci(o,new lt(T,C)),g=new ale(o),mc(g,t),n&&Ti(e.b,t,g),g}function YT(e,t,n){var r,s,o,f,g,w,T,C,L,F;for(o=new lt(t,n),C=new K(e.a);C.a1,g&&(r=new lt(s,n.b),ci(t.a,r)),dA(t.a,he(le(Ca,1),dt,8,0,[F,L]))}function Nf(){Nf=U,BW=new dy(Dd,0),BB=new dy("NIKOLOV",1),FB=new dy("NIKOLOV_PIXEL",2),jDe=new dy("NIKOLOV_IMPROVED",3),$De=new dy("NIKOLOV_IMPROVED_PIXEL",4),RDe=new dy("DUMMYNODE_PERCENTAGE",5),zDe=new dy("NODECOUNT_PERCENTAGE",6),FW=new dy("NO_BOUNDARY",7),C3=new dy("MODEL_ORDER_LEFT_TO_RIGHT",8),E4=new dy("MODEL_ORDER_RIGHT_TO_LEFT",9)}function F_n(e){var t,n,r,s,o;for(r=e.length,t=new f_,o=0;o=40,f&&RAn(e),KLn(e),pSn(e),n=G1t(e),r=0;n&&r0&&ci(e.f,o)):(e.c[f]-=T+1,e.c[f]<=0&&e.a[f]>0&&ci(e.e,o))))}function $mt(e,t,n,r){var s,o,f,g,w,T,C;for(w=new lt(n,r),ya(w,l(Q(t,(Zi(),ZE)),8)),C=Fr(t.b,0);C.b!=C.d.c;)T=l(Pr(C),40),Pi(T.e,w),ci(e.b,T);for(g=l(kc(c6e(new vn(null,new kn(t.a,16))),Il(new qr,new ht,new On,he(le(uc,1),it,108,0,[(Nl(),Cc)]))),15).Kc();g.Ob();){for(f=l(g.Pb(),65),o=Fr(f.a,0);o.b!=o.d.c;)s=l(Pr(o),8),s.a+=w.a,s.b+=w.b;ci(e.a,f)}}function Nke(e,t){var n,r,s,o;if(0<(De(e,16)?l(e,16).gc():ep(e.Kc()))){if(s=t,1=0&&wo*2?(C=new wU(L),T=vl(f)/hh(f),w=Hle(C,t,new L8,n,r,s,T),Pi(W0(C.e),w),L.c.length=0,o=0,qn(L.c,C),qn(L.c,f),o=vl(C)*hh(C)+vl(f)*hh(f)):(qn(L.c,f),o+=vl(f)*hh(f));return L}function qmt(e,t){var n,r,s,o,f,g;if(g=l(Q(t,(Nt(),Ds)),101),g==(Pa(),_g)||g==Au)for(s=new lt(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a).b,f=new K(e.a);f.an?t:n;T<=L;++T)T==n?g=r++:(o=s[T],C=V.am(o.Lk()),T==t&&(w=T==L&&!C?r-1:r),C&&++r);return F=l(LA(e,t,n),76),g!=w&&Tk(e,new dN(e.e,7,f,bt(g),z.md(),w)),F}}else return l(rle(e,t,n),76);return l(LA(e,t,n),76)}function rAn(e,t){var n,r,s,o,f,g,w;for(t.Ug("Port order processing",1),w=l(Q(e,(Nt(),mDe)),430),r=new K(e.b);r.a=0&&(g=Q7n(e,f),!(g&&(T<22?w.l|=1<>>1,f.m=C>>>1|(L&1)<<21,f.l=F>>>1|(C&1)<<21,--T;return n&&Nce(w),o&&(r?(Hb=TT(e),s&&(Hb=_0t(Hb,(aT(),d_e)))):Hb=qu(e.l,e.m,e.h)),w}function aAn(e,t){var n,r,s,o,f,g,w,T,C,L;for(T=e.e[t.c.p][t.p]+1,w=t.c.a.c.length+1,g=new K(e.a);g.a0&&(Yn(0,e.length),e.charCodeAt(0)==45||(Yn(0,e.length),e.charCodeAt(0)==43))?1:0,r=f;rn)throw ue(new dd(n3+e+'"'));return g}function oAn(e){var t,n,r,s,o,f,g;for(f=new os,o=new K(e.a);o.a1)&&t==1&&l(e.a[e.b],10).k==(Jn(),uu)?Cx(l(e.a[e.b],10),(Ih(),Cg)):r&&(!n||(e.c-e.b&e.a.length-1)>1)&&t==1&&l(e.a[e.c-1&e.a.length-1],10).k==(Jn(),uu)?Cx(l(e.a[e.c-1&e.a.length-1],10),(Ih(),tm)):(e.c-e.b&e.a.length-1)==2?(Cx(l(yA(e),10),(Ih(),Cg)),Cx(l(yA(e),10),tm)):BEn(e,s),A6e(e)}function lAn(e,t,n){var r,s,o,f,g;for(o=0,s=new ar((!e.a&&(e.a=new nt(Li,e,10,11)),e.a));s.e!=s.i.gc();)r=l(dr(s),27),f="",(!r.n&&(r.n=new nt(nc,r,1,7)),r.n).i==0||(f=l(Oe((!r.n&&(r.n=new nt(nc,r,1,7)),r.n),0),135).a),g=new Pce(o++,t,f),mc(g,r),rt(g,(Zi(),pM),r),g.e.b=r.j+r.f/2,g.f.a=b.Math.max(r.g,1),g.e.a=r.i+r.g/2,g.f.b=b.Math.max(r.f,1),ci(t.b,g),Ru(n.f,r,g)}function hAn(e){var t,n,r,s,o;r=l(Q(e,(ft(),zi)),27),o=l(at(r,(Nt(),Ev)),181).Hc((gh(),Ov)),e.e||(s=l(Q(e,_u),21),t=new lt(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),s.Hc((Ho(),mf))?(Vi(r,Ds,(Pa(),Au)),Zw(r,t.a,t.b,!1,!0)):Ft(Pt(at(r,yde)))||Zw(r,t.a,t.b,!0,!0)),o?Vi(r,Ev,hn(Ov)):Vi(r,Ev,(n=l(G0(FM),9),new Jh(n,l(o0(n,n.length),9),0)))}function Pke(e,t,n){var r,s,o,f;if(t[0]>=e.length)return n.o=0,!0;switch(io(e,t[0])){case 43:s=1;break;case 45:s=-1;break;default:return n.o=0,!0}if(++t[0],o=t[0],f=MV(e,t),f==0&&t[0]==o)return!1;if(t[0]g&&(g=s,C.c.length=0),s==g&&wt(C,new fa(n.c.i,n)));Cn(),Gs(C,e.c),kw(e.b,w.p,C)}}function pAn(e,t){var n,r,s,o,f,g,w,T,C;for(f=new K(t.b);f.ag&&(g=s,C.c.length=0),s==g&&wt(C,new fa(n.d.i,n)));Cn(),Gs(C,e.c),kw(e.f,w.p,C)}}function bAn(e,t){var n,r,s,o,f,g,w,T;if(T=Pt(Q(t,(Vc(),sCt))),T==null||(tr(T),T)){for(zTn(e,t),s=new mt,w=Fr(t.b,0);w.b!=w.d.c;)f=l(Pr(w),40),n=k9e(e,f,null),n&&(mc(n,t),qn(s.c,n));if(e.a=null,e.b=null,s.c.length>1)for(r=new K(s);r.a=0&&g!=n&&(o=new _a(e,1,g,f,null),r?r.nj(o):r=o),n>=0&&(o=new _a(e,1,n,g==n?f:null,t),r?r.nj(o):r=o)),r}function Vmt(e){var t,n,r;if(e.b==null){if(r=new e2,e.i!=null&&(Jo(r,e.i),r.a+=":"),e.f&256){for(e.f&256&&e.a!=null&&(Npn(e.i)||(r.a+="//"),Jo(r,e.a)),e.d!=null&&(r.a+="/",Jo(r,e.d)),e.f&16&&(r.a+="/"),t=0,n=e.j.length;tF?!1:(L=(w=eL(r,F,!1),w.a),C+g+L<=t.b&&(gN(n,o-n.s),n.c=!0,gN(r,o-n.s),XN(r,n.s,n.t+n.d+g),r.k=!0,H7e(n.q,r),z=!0,s&&(EU(t,r),r.j=t,e.c.length>f&&(ZN((Sn(f,e.c.length),l(e.c[f],186)),r),(Sn(f,e.c.length),l(e.c[f],186)).a.c.length==0&&l2(e,f)))),z)}function TAn(e,t){var n,r,s,o,f,g;if(t.Ug("Partition midprocessing",1),s=new Iw,Os(ji(new vn(null,new kn(e.a,16)),new Sj),new FYe(s)),s.d!=0){for(g=l(kc(h6e((o=s.i,new vn(null,(o||(s.i=new U5(s,s.c))).Nc()))),Il(new qr,new ht,new On,he(le(uc,1),it,108,0,[(Nl(),Cc)]))),15),r=g.Kc(),n=l(r.Pb(),17);r.Ob();)f=l(r.Pb(),17),pCn(l($i(s,n),21),l($i(s,f),21)),n=f;t.Vg()}}function Wmt(e,t,n){var r,s,o,f,g,w,T,C;if(t.p==0){for(t.p=1,f=n,f||(s=new mt,o=(r=l(G0(Mo),9),new Jh(r,l(o0(r,r.length),9),0)),f=new fa(s,o)),l(f.a,15).Fc(t),t.k==(Jn(),Ks)&&l(f.b,21).Fc(l(Q(t,(ft(),Xc)),64)),w=new K(t.j);w.a0){if(s=l(e.Ab.g,2033),t==null){for(o=0;on.s&&gf)return _t(),sr;break;case 4:case 3:if(C<0)return _t(),Xn;if(C+n>o)return _t(),Mr}return w=(T+g/2)/f,r=(C+n/2)/o,w+r<=1&&w-r<=0?(_t(),Zn):w+r>=1&&w-r>=0?(_t(),sr):r<.5?(_t(),Xn):(_t(),Mr)}function AAn(e,t){var n,r,s,o,f,g,w,T,C,L,F,z,V,J;for(n=!1,C=ze(Ge(Q(t,(Nt(),E3)))),V=Fb*C,s=new K(t.b);s.aw+V&&(J=L.g+F.g,F.a=(F.g*F.a+L.g*L.a)/J,F.g=J,L.f=F,n=!0)),o=g,L=F;return n}function Jmt(e,t,n,r,s,o,f){var g,w,T,C,L,F;for(F=new z8,T=t.Kc();T.Ob();)for(g=l(T.Pb(),853),L=new K(g.Rf());L.a0?g.a?(T=g.b.Mf().b,s>T&&(e.v||g.c.d.c.length==1?(f=(s-T)/2,g.d.d=f,g.d.a=f):(n=l(Rt(g.c.d,0),187).Mf().b,r=(n-T)/2,g.d.d=b.Math.max(0,r),g.d.a=s-r-T))):g.d.a=e.t+s:Y_(e.u)&&(o=i9e(g.b),o.d<0&&(g.d.d=-o.d),o.d+o.a>g.b.Mf().b&&(g.d.a=o.d+o.a-g.b.Mf().b))}function p0(){p0=U,Hx=new qa((bi(),iF),bt(1)),MK=new qa(Dv,80),D8t=new qa(GNe,5),x8t=new qa(t7,fE),L8t=new qa(tpe,bt(1)),M8t=new qa(npe,(Hn(),!0)),yAe=new mw(50),_8t=new qa(B2,yAe),mAe=nF,xAe=AM,k8t=new qa(Vge,!1),wAe=rF,C8t=A4,S8t=em,E8t=Mv,T8t=s7,A8t=L4,vAe=(g9e(),g8t),d1e=v8t,LK=d8t,f1e=p8t,kAe=m8t,N8t=LM,P8t=gY,O8t=sF,I8t=dY,TAe=(gx(),I4),new qa(s9,TAe)}function DAn(e,t){var n;switch(kN(e)){case 6:return Da(t);case 7:return py(t);case 8:return gy(t);case 3:return Array.isArray(t)&&(n=kN(t),!(n>=14&&n<=16));case 11:return t!=null&&typeof t===Kle;case 12:return t!=null&&(typeof t===_P||typeof t==Kle);case 0:return vue(t,e.__elementTypeId$);case 2:return Jae(t)&&t.Tm!==xe;case 1:return Jae(t)&&t.Tm!==xe||vue(t,e.__elementTypeId$);default:return!0}}function Zmt(e,t){var n,r,s,o;return r=b.Math.min(b.Math.abs(e.c-(t.c+t.b)),b.Math.abs(e.c+e.b-t.c)),o=b.Math.min(b.Math.abs(e.d-(t.d+t.a)),b.Math.abs(e.d+e.a-t.d)),n=b.Math.abs(e.c+e.b/2-(t.c+t.b/2)),n>e.b/2+t.b/2||(s=b.Math.abs(e.d+e.a/2-(t.d+t.a/2)),s>e.a/2+t.a/2)?1:n==0&&s==0?0:n==0?o/s+1:s==0?r/n+1:b.Math.min(r/n,o/s)+1}function IAn(e,t){var n,r,s,o,f,g,w;for(o=0,g=0,w=0,s=new K(e.f.e);s.a0&&e.d!=(hA(),b1e)&&(g+=f*(r.d.a+e.a[t.a][r.a]*(t.d.a-r.d.a)/n)),n>0&&e.d!=(hA(),g1e)&&(w+=f*(r.d.b+e.a[t.a][r.a]*(t.d.b-r.d.b)/n)));switch(e.d.g){case 1:return new lt(g/o,t.d.b);case 2:return new lt(t.d.a,w/o);default:return new lt(g/o,w/o)}}function evt(e){var t,n,r,s,o,f;for(n=(!e.a&&(e.a=new Qs(qh,e,5)),e.a).i+2,f=new Pu(n),wt(f,new lt(e.j,e.k)),Os(new vn(null,(!e.a&&(e.a=new Qs(qh,e,5)),new kn(e.a,16))),new uQe(f)),wt(f,new lt(e.b,e.c)),t=1;t0&&(NN(w,!1,(ea(),hc)),NN(w,!0,yc)),Uu(t.g,new gtt(e,n)),Ti(e.g,t,n)}function rvt(){rvt=U;var e;for(x_e=he(le(Ur,1),fi,28,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),q0e=We(Ur,fi,28,37,15,1),V6t=he(le(Ur,1),fi,28,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),k_e=We(hm,yhe,28,37,14,1),e=2;e<=36;e++)q0e[e]=da(b.Math.pow(e,x_e[e])),k_e[e]=tP(DP,q0e[e])}function OAn(e){var t;if((!e.a&&(e.a=new nt(cs,e,6,6)),e.a).i!=1)throw ue(new Wn(D4t+(!e.a&&(e.a=new nt(cs,e,6,6)),e.a).i));return t=new pl,IN(l(Oe((!e.b&&(e.b=new An(Sr,e,4,7)),e.b),0),84))&&Ga(t,Vwt(e,IN(l(Oe((!e.b&&(e.b=new An(Sr,e,4,7)),e.b),0),84)),!1)),IN(l(Oe((!e.c&&(e.c=new An(Sr,e,5,8)),e.c),0),84))&&Ga(t,Vwt(e,IN(l(Oe((!e.c&&(e.c=new An(Sr,e,5,8)),e.c),0),84)),!0)),t}function ivt(e,t){var n,r,s,o,f;for(t.d?s=e.a.c==(yd(),S3)?Ea(t.b):qs(t.b):s=e.a.c==(yd(),O2)?Ea(t.b):qs(t.b),o=!1,r=new lr(fr(s.a.Kc(),new j));Rr(r);)if(n=l(yr(r),18),f=Ft(e.a.f[e.a.g[t.b.p].p]),!(!f&&!Ao(n)&&n.c.i.c==n.d.i.c)&&!(Ft(e.a.n[e.a.g[t.b.p].p])||Ft(e.a.n[e.a.g[t.b.p].p]))&&(o=!0,K0(e.b,e.a.g[O7n(n,t.b).p])))return t.c=!0,t.a=n,t;return t.c=o,t.a=null,t}function Fke(e,t,n){var r,s,o,f,g,w,T;if(r=n.gc(),r==0)return!1;if(e.Pj())if(w=e.Qj(),G8e(e,t,n),f=r==1?e.Ij(3,null,n.Kc().Pb(),t,w):e.Ij(5,null,n,t,w),e.Mj()){for(g=r<100?null:new hb(r),o=t+r,s=t;s0){for(f=0;f>16==-15&&e.Cb.Yh()&&nce(new Qoe(e.Cb,9,13,n,e.c,x2(Kl(l(e.Cb,62)),e))):De(e.Cb,90)&&e.Db>>16==-23&&e.Cb.Yh()&&(t=e.c,De(t,90)||(t=(En(),Kf)),De(n,90)||(n=(En(),Kf)),nce(new Qoe(e.Cb,9,10,n,t,x2(fu(l(e.Cb,29)),e)))))),e.c}function BAn(e,t,n){var r,s,o,f,g,w,T,C,L;for(n.Ug("Hyperedge merging",1),aEn(e,t),w=new Ua(t.b,0);w.b0,g=QU(t,o),Xye(n?g.b:g.g,t),t6(g).c.length==1&&_s(r,g,r.c.b,r.c),s=new fa(o,t),Tb(e.o,s),sl(e.e.a,o))}function hvt(e,t){var n,r,s,o,f,g,w;return r=b.Math.abs(CH(e.b).a-CH(t.b).a),g=b.Math.abs(CH(e.b).b-CH(t.b).b),s=0,w=0,n=1,f=1,r>e.b.b/2+t.b.b/2&&(s=b.Math.min(b.Math.abs(e.b.c-(t.b.c+t.b.b)),b.Math.abs(e.b.c+e.b.b-t.b.c)),n=1-s/r),g>e.b.a/2+t.b.a/2&&(w=b.Math.min(b.Math.abs(e.b.d-(t.b.d+t.b.a)),b.Math.abs(e.b.d+e.b.a-t.b.d)),f=1-w/g),o=b.Math.min(n,f),(1-o)*b.Math.sqrt(r*r+g*g)}function jAn(e){var t,n,r,s;for(qle(e,e.e,e.f,(Ow(),Jb),!0,e.c,e.i),qle(e,e.e,e.f,Jb,!1,e.c,e.i),qle(e,e.e,e.f,Y6,!0,e.c,e.i),qle(e,e.e,e.f,Y6,!1,e.c,e.i),PAn(e,e.c,e.e,e.f,e.i),r=new Ua(e.i,0);r.b=65;n--)nd[n]=n-65<<24>>24;for(r=122;r>=97;r--)nd[r]=r-97+26<<24>>24;for(s=57;s>=48;s--)nd[s]=s-48+52<<24>>24;for(nd[43]=62,nd[47]=63,o=0;o<=25;o++)H2[o]=65+o&ta;for(f=26,w=0;f<=51;++f,w++)H2[f]=97+w&ta;for(e=52,g=0;e<=61;++e,g++)H2[e]=48+g&ta;H2[62]=43,H2[63]=47}function fvt(e,t){var n,r,s,o,f,g;return s=R7e(e),g=R7e(t),s==g?e.e==t.e&&e.a<54&&t.a<54?e.ft.f?1:0:(r=e.e-t.e,n=(e.d>0?e.d:b.Math.floor((e.a-1)*w3t)+1)-(t.d>0?t.d:b.Math.floor((t.a-1)*w3t)+1),n>r+1?s:n0&&(f=Y5(f,Tvt(r))),kdt(o,f))):sT&&(F=0,z+=w+t,w=0),YT(f,F,z),n=b.Math.max(n,F+C.a),w=b.Math.max(w,C.b),F+=C.a+t;return new lt(n+t,z+w+t)}function zke(e,t){var n,r,s,o,f,g,w;if(!M1(e))throw ue(new ic(M4t));if(r=M1(e),o=r.g,s=r.f,o<=0&&s<=0)return _t(),jc;switch(g=e.i,w=e.j,t.g){case 2:case 1:if(g<0)return _t(),Zn;if(g+e.g>o)return _t(),sr;break;case 4:case 3:if(w<0)return _t(),Xn;if(w+e.f>s)return _t(),Mr}return f=(g+e.g/2)/o,n=(w+e.f/2)/s,f+n<=1&&f-n<=0?(_t(),Zn):f+n>=1&&f-n>=0?(_t(),sr):n<.5?(_t(),Xn):(_t(),Mr)}function qAn(e,t,n,r,s){var o,f;if(o=fo(xa(t[0],Uo),xa(r[0],Uo)),e[0]=Yr(o),o=Tw(o,32),n>=s){for(f=1;f0&&(s.b[f++]=0,s.b[f++]=o.b[0]-1),t=1;t0&&(H(w,w.d-s.d),s.c==(Q0(),Qb)&&N(w,w.a-s.d),w.d<=0&&w.i>0&&_s(t,w,t.c.b,t.c)));for(o=new K(e.f);o.a0&&(q(g,g.i-s.d),s.c==(Q0(),Qb)&&$(g,g.b-s.d),g.i<=0&&g.d>0&&_s(n,g,n.c.b,n.c)))}function VAn(e,t,n,r,s){var o,f,g,w,T,C,L,F,z;for(Cn(),Gs(e,new rk),f=HO(e),z=new mt,F=new mt,g=null,w=0;f.b!=0;)o=l(f.b==0?null:(br(f.b!=0),sf(f,f.a.a)),163),!g||vl(g)*hh(g)/21&&(w>vl(g)*hh(g)/2||f.b==0)&&(L=new wU(F),C=vl(g)/hh(g),T=Hle(L,t,new L8,n,r,s,C),Pi(W0(L.e),T),g=L,qn(z.c,L),w=0,F.c.length=0));return aa(z,F),z}function gu(e,t,n,r,s){Wg();var o,f,g,w,T,C,L;if(D5e(e,"src"),D5e(n,"dest"),L=dh(e),w=dh(n),X4e((L.i&4)!=0,"srcType is not an array"),X4e((w.i&4)!=0,"destType is not an array"),C=L.c,f=w.c,X4e(C.i&1?C==f:(f.i&1)==0,"Array types don't match"),Dyn(e,t,n,r,s),!(C.i&1)&&L!=w)if(T=Km(e),o=Km(n),qe(e)===qe(n)&&tr;)Ss(o,g,T[--t]);else for(g=r+s;r0),r.a.Xb(r.c=--r.b),L>F+w&&fh(r);for(f=new K(z);f.a0),r.a.Xb(r.c=--r.b)}}function KAn(){Ii();var e,t,n,r,s,o;if(Tpe)return Tpe;for(e=new _h(4),Xy(e,Bb(L0e,!0)),rL(e,Bb("M",!0)),rL(e,Bb("C",!0)),o=new _h(4),r=0;r<11;r++)xu(o,r,r);return t=new _h(4),Xy(t,Bb("M",!0)),xu(t,4448,4607),xu(t,65438,65439),s=new F_(2),sv(s,e),sv(s,YM),n=new F_(2),n.Jm(pH(o,Bb("L",!0))),n.Jm(t),n=new _y(3,n),n=new M5e(s,n),Tpe=n,Tpe}function Yy(e,t){var n,r,s,o,f,g,w,T;for(n=new RegExp(t,"g"),w=We($t,dt,2,0,6,1),r=0,T=e,o=null;;)if(g=n.exec(T),g==null||T==""){w[r]=T;break}else f=g.index,w[r]=(Va(0,f,T.length),T.substr(0,f)),T=ef(T,f+g[0].length,T.length),n.lastIndex=0,o==T&&(w[r]=(Va(0,1,T.length),T.substr(0,1)),T=(Yn(1,T.length+1),T.substr(1))),o=T,++r;if(e.length>0){for(s=w.length;s>0&&w[s-1]=="";)--s;s0&&(L-=r[0]+e.c,r[0]+=e.c),r[2]>0&&(L-=r[2]+e.c),r[1]=b.Math.max(r[1],L),wH(e.a[1],n.c+t.b+r[0]-(r[1]-L)/2,r[1]);for(o=e.a,g=0,T=o.length;g0?(e.n.c.length-1)*e.i:0,r=new K(e.n);r.a1)for(r=Fr(s,0);r.b!=r.d.c;)for(n=l(Pr(r),235),o=0,w=new K(n.e);w.a0&&(t[0]+=e.c,L-=t[0]),t[2]>0&&(L-=t[2]+e.c),t[1]=b.Math.max(t[1],L),yH(e.a[1],r.d+n.d+t[0]-(t[1]-L)/2,t[1]);else for(V=r.d+n.d,z=r.a-n.d-n.a,f=e.a,w=0,C=f.length;w0||Uw(s.b.d,e.b.d+e.b.a)==0&&r.b<0||Uw(s.b.d+s.b.a,e.b.d)==0&&r.b>0){g=0;break}}else g=b.Math.min(g,h2t(e,s,r));g=b.Math.min(g,bvt(e,o,g,r))}return g}function xP(e,t){var n,r,s,o,f,g,w;if(e.b<2)throw ue(new Wn("The vector chain must contain at least a source and a target point."));for(s=(br(e.b!=0),l(e.a.a.c,8)),MO(t,s.a,s.b),w=new H8((!t.a&&(t.a=new Qs(qh,t,5)),t.a)),f=Fr(e,1);f.a=0&&o!=n))throw ue(new Wn(nB));for(s=0,w=0;wze(L1(f.g,f.d[0]).a)?(br(w.b>0),w.a.Xb(w.c=--w.b),wy(w,f),s=!0):g.e&&g.e.gc()>0&&(o=(!g.e&&(g.e=new mt),g.e).Mc(t),T=(!g.e&&(g.e=new mt),g.e).Mc(n),(o||T)&&((!g.e&&(g.e=new mt),g.e).Fc(f),++f.c));s||qn(r.c,f)}function eLn(e,t,n){var r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe;return L=e.a.i+e.a.g/2,F=e.a.i+e.a.g/2,V=t.i+t.g/2,te=t.j+t.f/2,g=new lt(V,te),T=l(at(t,(bi(),r9)),8),T.a=T.a+L,T.b=T.b+F,o=(g.b-T.b)/(g.a-T.a),r=g.b-o*g.a,J=n.i+n.g/2,fe=n.j+n.f/2,w=new lt(J,fe),C=l(at(n,r9),8),C.a=C.a+L,C.b=C.b+F,f=(w.b-C.b)/(w.a-C.a),s=w.b-f*w.a,z=(r-s)/(f-o),T.a>>0,"0"+t.toString(16)),r="\\x"+ef(n,n.length-2,n.length)):e>=Lo?(n=(t=e>>>0,"0"+t.toString(16)),r="\\v"+ef(n,n.length-6,n.length)):r=""+String.fromCharCode(e&ta)}return r}function yvt(e){var t,n,r;if(F5(l(Q(e,(Nt(),Ds)),101)))for(n=new K(e.j);n.a=t.o&&n.f<=t.f||t.a*.5<=n.f&&t.a*1.5>=n.f){if(f=l(Rt(t.n,t.n.c.length-1),209),f.e+f.d+n.g+s<=r&&(o=l(Rt(t.n,t.n.c.length-1),209),o.f-e.f+n.f<=e.b||e.a.c.length==1))return R8e(t,n),!0;if(t.s+n.g<=r&&(t.t+t.d+n.f+s<=e.b||e.a.c.length==1))return wt(t.b,n),g=l(Rt(t.n,t.n.c.length-1),209),wt(t.n,new HH(t.s,g.f+g.a+t.i,t.i)),vxe(l(Rt(t.n,t.n.c.length-1),209),n),gvt(t,n),!0}return!1}function kvt(e,t,n){var r,s,o,f;return e.Pj()?(s=null,o=e.Qj(),r=e.Ij(1,f=sce(e,t,n),n,t,o),e.Mj()&&!(e.Yi()&&f!=null?Fi(f,n):qe(f)===qe(n))?(f!=null&&(s=e.Oj(f,s)),s=e.Nj(n,s),e.Tj()&&(s=e.Wj(f,n,s)),s?(s.nj(r),s.oj()):e.Jj(r)):(e.Tj()&&(s=e.Wj(f,n,s)),s?(s.nj(r),s.oj()):e.Jj(r)),f):(f=sce(e,t,n),e.Mj()&&!(e.Yi()&&f!=null?Fi(f,n):qe(f)===qe(n))&&(s=null,f!=null&&(s=e.Oj(f,null)),s=e.Nj(n,s),s&&s.oj()),f)}function oLn(e,t){var n,r,s,o,f;if(t.Ug("Path-Like Graph Wrapping",1),e.b.c.length==0){t.Vg();return}if(s=new W9e(e),f=(s.i==null&&(s.i=j7e(s,new e$)),ze(s.i)*s.f),n=f/(s.i==null&&(s.i=j7e(s,new e$)),ze(s.i)),s.b>n){t.Vg();return}switch(l(Q(e,(Nt(),Cde)),351).g){case 2:o=new n$;break;case 0:o=new ES;break;default:o=new r$}if(r=o.og(e,s),!o.pg())switch(l(Q(e,DW),352).g){case 2:r=f2t(s,r);break;case 1:r=rpt(s,r)}rMn(e,s,r),t.Vg()}function QA(e,t){var n,r,s,o,f,g,w,T;t%=24,e.q.getHours()!=t&&(r=new b.Date(e.q.getTime()),r.setDate(r.getDate()+1),g=e.q.getTimezoneOffset()-r.getTimezoneOffset(),g>0&&(w=g/60|0,T=g%60,s=e.q.getDate(),n=e.q.getHours(),n+w>=24&&++s,o=new b.Date(e.q.getFullYear(),e.q.getMonth(),s,t+w,e.q.getMinutes()+T,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(o.getTime()))),f=e.q.getTime(),e.q.setTime(f+36e5),e.q.getHours()!=t&&e.q.setTime(f)}function cLn(e,t){var n,r,s,o;if(xbn(e.d,e.e),e.c.a.$b(),ze(Ge(Q(t.j,(Nt(),wW))))!=0||ze(Ge(Q(t.j,wW)))!=0)for(n=k6,qe(Q(t.j,Tg))!==qe((kd(),I2))&&rt(t.j,(ft(),Wb),(Hn(),!0)),o=l(Q(t.j,rM),17).a,s=0;ss&&++T,wt(f,(Sn(g+T,t.c.length),l(t.c[g+T],17))),w+=(Sn(g+T,t.c.length),l(t.c[g+T],17)).a-r,++n;n=te&&e.e[w.p]>V*e.b||Me>=n*te)&&(qn(F.c,g),g=new mt,Ga(f,o),o.a.$b(),T-=C,z=b.Math.max(z,T*e.b+J),T+=Me,Ee=Me,Me=0,C=0,J=0);return new fa(z,F)}function _le(e){var t,n,r,s,o,f,g;if(!e.d){if(g=new fre,t=HM,o=t.a.zc(e,t),o==null){for(r=new ar(pc(e));r.e!=r.i.gc();)n=l(dr(r),29),Ls(g,_le(n));t.a.Bc(e)!=null,t.a.gc()==0}for(f=g.i,s=(!e.q&&(e.q=new nt(Vf,e,11,10)),new ar(e.q));s.e!=s.i.gc();++f)l(dr(s),411);Ls(g,(!e.q&&(e.q=new nt(Vf,e,11,10)),e.q)),Py(g),e.d=new B5((l(Oe(tt((wb(),Un).o),9),19),g.i),g.g),e.e=l(g.g,688),e.e==null&&(e.e=CAt),Gl(e).b&=-17}return e.d}function JT(e,t,n,r){var s,o,f,g,w,T;if(T=Wu(e.e.Dh(),t),w=0,s=l(e.g,124),Ro(),l(t,69).xk()){for(f=0;f1||V==-1)if(L=l(J,71),F=l(C,71),L.dc())F.$b();else for(f=!!jo(t),o=0,g=e.a?L.Kc():L.Ii();g.Ob();)T=l(g.Pb(),58),s=l(B1(e,T),58),s?(f?(w=F.dd(s),w==-1?F.Gi(o,s):o!=w&&F.Ui(o,s)):F.Gi(o,s),++o):e.b&&!f&&(F.Gi(o,T),++o);else J==null?C.Wb(null):(s=B1(e,J),s==null?e.b&&!jo(t)&&C.Wb(J):C.Wb(s))}function dLn(e,t){var n,r,s,o,f,g,w,T;for(n=new AZ,s=new lr(fr(Ea(t).a.Kc(),new j));Rr(s);)if(r=l(yr(s),18),!Ao(r)&&(g=r.c.i,e9e(g,NK))){if(T=wke(e,g,NK,OK),T==-1)continue;n.b=b.Math.max(n.b,T),!n.a&&(n.a=new mt),wt(n.a,g)}for(f=new lr(fr(qs(t).a.Kc(),new j));Rr(f);)if(o=l(yr(f),18),!Ao(o)&&(w=o.d.i,e9e(w,OK))){if(T=wke(e,w,OK,NK),T==-1)continue;n.d=b.Math.max(n.d,T),!n.c&&(n.c=new mt),wt(n.c,w)}return n}function gLn(e,t,n,r){var s,o,f,g,w,T,C;if(n.d.i!=t.i){for(s=new hp(e),x(s,(Jn(),Aa)),rt(s,(ft(),zi),n),rt(s,(Nt(),Ds),(Pa(),Au)),qn(r.c,s),f=new du,Nc(f,s),ga(f,(_t(),Zn)),g=new du,Nc(g,s),ga(g,sr),C=n.d,Na(n,f),o=new Dw,mc(o,n),rt(o,lc,null),ho(o,g),Na(o,C),T=new Ua(n.b,0);T.b1e6)throw ue(new Xz("power of ten too big"));if(e<=Ni)return ax(fP(zx[1],t),t);for(r=fP(zx[1],Ni),s=r,n=tu(e-Ni),t=da(e%Ni);su(n,Ni)>0;)s=Y5(s,r),n=Df(n,Ni);for(s=Y5(s,fP(zx[1],t)),s=ax(s,Ni),n=tu(e-Ni);su(n,Ni)>0;)s=ax(s,Ni),n=Df(n,Ni);return s=ax(s,t),s}function Evt(e){var t,n,r,s,o,f,g,w,T,C;for(w=new K(e.a);w.aT&&r>T)C=g,T=ze(t.p[g.p])+ze(t.d[g.p])+g.o.b+g.d.a;else{s=!1,n._g()&&n.bh("bk node placement breaks on "+g+" which should have been after "+C);break}if(!s)break}return n._g()&&n.bh(t+" is feasible: "+s),s}function Vke(e,t,n,r){var s,o,f,g,w,T,C,L,F;if(o=new hp(e),x(o,(Jn(),Su)),rt(o,(Nt(),Ds),(Pa(),Au)),s=0,t){for(f=new du,rt(f,(ft(),zi),t),rt(o,zi,t.i),ga(f,(_t(),Zn)),Nc(f,o),F=xd(t.e),T=F,C=0,L=T.length;C0){if(s<0&&C.a&&(s=w,o=T[0],r=0),s>=0){if(g=C.b,w==s&&(g-=r++,g==0))return 0;if(!Awt(t,T,C,g,f)){w=s-1,T[0]=o;continue}}else if(s=-1,!Awt(t,T,C,0,f))return 0}else{if(s=-1,io(C.c,0)==32){if(L=T[0],Lht(t,T),T[0]>L)continue}else if(n2n(t,C.c,T[0])){T[0]+=C.c.length;continue}return 0}return iIn(f,n)?T[0]:0}function yLn(e,t,n){var r,s,o,f,g,w,T,C,L,F;for(C=new kH(new jz(n)),g=We(th,vg,28,e.f.e.c.length,16,1),A5e(g,g.length),n[t.a]=0,T=new K(e.f.e);T.a=0&&!s6(e,C,L);)--L;s[C]=L}for(z=0;z=0&&!s6(e,g,V);)--g;o[V]=g}for(w=0;wt[F]&&Fr[w]&&VV(e,w,F,!1,!0)}function Gke(e){var t,n,r,s,o,f,g,w;n=Ft(Pt(Q(e,(p0(),k8t)))),o=e.a.c.d,g=e.a.d.d,n?(f=bd(ya(new lt(g.a,g.b),o),.5),w=bd(Xa(e.e),.5),t=ya(Pi(new lt(o.a,o.b),f),w),t4e(e.d,t)):(s=ze(Ge(Q(e.a,D8t))),r=e.d,o.a>=g.a?o.b>=g.b?(r.a=g.a+(o.a-g.a)/2+s,r.b=g.b+(o.b-g.b)/2-s-e.e.b):(r.a=g.a+(o.a-g.a)/2+s,r.b=o.b+(g.b-o.b)/2+s):o.b>=g.b?(r.a=o.a+(g.a-o.a)/2+s,r.b=g.b+(o.b-g.b)/2+s):(r.a=o.a+(g.a-o.a)/2+s,r.b=o.b+(g.b-o.b)/2-s-e.e.b))}function ZA(e){var t,n,r,s,o,f,g,w;if(!e.f){if(w=new PI,g=new PI,t=HM,f=t.a.zc(e,t),f==null){for(o=new ar(pc(e));o.e!=o.i.gc();)s=l(dr(o),29),Ls(w,ZA(s));t.a.Bc(e)!=null,t.a.gc()==0}for(r=(!e.s&&(e.s=new nt(fl,e,21,17)),new ar(e.s));r.e!=r.i.gc();)n=l(dr(r),179),De(n,102)&&zr(g,l(n,19));Py(g),e.r=new bst(e,(l(Oe(tt((wb(),Un).o),6),19),g.i),g.g),Ls(w,e.r),Py(w),e.f=new B5((l(Oe(tt(Un.o),5),19),w.i),w.g),Gl(e).b&=-3}return e.f}function Svt(e){fw(e,new iv(uw(aw(cw(ow(new x1,lv),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new Wh))),pt(e,lv,zhe,It(gAe)),pt(e,lv,qhe,It(c1e)),pt(e,lv,Nx,It(o8t)),pt(e,lv,r3,It(dAe)),pt(e,lv,NTe,It(h8t)),pt(e,lv,PTe,It(l8t)),pt(e,lv,OTe,It(f8t)),pt(e,lv,BTe,It(u8t)),pt(e,lv,HTe,It(c8t)),pt(e,lv,UTe,It(o1e)),pt(e,lv,VTe,It(fAe)),pt(e,lv,GTe,It(SK))}function YV(){YV=U,NPe=he(le(xf,1),_d,28,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),tAt=new RegExp(`[ -\r\f]+`);try{$M=he(le(nNn,1),jn,2114,0,[new tO((kye(),tV("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",RO((Yz(),Yz(),PL))))),new tO(tV("yyyy-MM-dd'T'HH:mm:ss'.'SSS",RO(PL))),new tO(tV("yyyy-MM-dd'T'HH:mm:ss",RO(PL))),new tO(tV("yyyy-MM-dd'T'HH:mm",RO(PL))),new tO(tV("yyyy-MM-dd",RO(PL)))])}catch(e){if(e=ms(e),!De(e,82))throw ue(e)}}function kLn(e,t){var n,r,s,o;if(s=Yl(e.d,1)!=0,r=Ske(e,t),r==0&&Ft(Pt(Q(t.j,(ft(),Wb)))))return 0;!Ft(Pt(Q(t.j,(ft(),Wb))))&&!Ft(Pt(Q(t.j,z6)))||qe(Q(t.j,(Nt(),Tg)))===qe((kd(),I2))?t.c.mg(t.e,s):s=Ft(Pt(Q(t.j,Wb))),bP(e,t,s,!0),Ft(Pt(Q(t.j,z6)))&&rt(t.j,z6,(Hn(),!1)),Ft(Pt(Q(t.j,Wb)))&&(rt(t.j,Wb,(Hn(),!1)),rt(t.j,z6,!0)),n=Ske(e,t);do{if(F7e(e),n==0)return 0;s=!s,o=n,bP(e,t,s,!1),n=Ske(e,t)}while(o>n);return o}function _vt(e,t){var n,r,s,o;if(s=Yl(e.d,1)!=0,r=LV(e,t),r==0&&Ft(Pt(Q(t.j,(ft(),Wb)))))return 0;!Ft(Pt(Q(t.j,(ft(),Wb))))&&!Ft(Pt(Q(t.j,z6)))||qe(Q(t.j,(Nt(),Tg)))===qe((kd(),I2))?t.c.mg(t.e,s):s=Ft(Pt(Q(t.j,Wb))),bP(e,t,s,!0),Ft(Pt(Q(t.j,z6)))&&rt(t.j,z6,(Hn(),!1)),Ft(Pt(Q(t.j,Wb)))&&(rt(t.j,Wb,(Hn(),!1)),rt(t.j,z6,!0)),n=LV(e,t);do{if(F7e(e),n==0)return 0;s=!s,o=n,bP(e,t,s,!1),n=LV(e,t)}while(o>n);return o}function Kke(e,t,n,r){var s,o,f,g,w,T,C,L,F;return w=ya(new lt(n.a,n.b),e),T=w.a*t.b-w.b*t.a,C=t.a*r.b-t.b*r.a,L=(w.a*r.b-w.b*r.a)/C,F=T/C,C==0?T==0?(s=Pi(new lt(n.a,n.b),bd(new lt(r.a,r.b),.5)),o=Eb(e,s),f=Eb(Pi(new lt(e.a,e.b),t),s),g=b.Math.sqrt(r.a*r.a+r.b*r.b)*.5,o=0&&L<=1&&F>=0&&F<=1?Pi(new lt(e.a,e.b),bd(new lt(t.a,t.b),L)):null}function TLn(e,t,n){var r,s,o,f,g;if(r=l(Q(e,(Nt(),fde)),21),n.a>t.a&&(r.Hc((rv(),EM))?e.c.a+=(n.a-t.a)/2:r.Hc(CM)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(r.Hc((rv(),_M))?e.c.b+=(n.b-t.b)/2:r.Hc(SM)&&(e.c.b+=n.b-t.b)),l(Q(e,(ft(),_u)),21).Hc((Ho(),mf))&&(n.a>t.a||n.b>t.b))for(g=new K(e.a);g.at.a&&(r.Hc((rv(),EM))?e.c.a+=(n.a-t.a)/2:r.Hc(CM)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(r.Hc((rv(),_M))?e.c.b+=(n.b-t.b)/2:r.Hc(SM)&&(e.c.b+=n.b-t.b)),l(Q(e,(ft(),_u)),21).Hc((Ho(),mf))&&(n.a>t.a||n.b>t.b))for(f=new K(e.a);f.a0?e.i:0)>t&&w>0&&(o=0,f+=w+e.i,s=b.Math.max(s,F),r+=w+e.i,w=0,F=0,n&&(++L,wt(e.n,new HH(e.s,f,e.i))),g=0),F+=T.g+(g>0?e.i:0),w=b.Math.max(w,T.f),n&&vxe(l(Rt(e.n,L),209),T),o+=T.g+(g>0?e.i:0),++g;return s=b.Math.max(s,F),r+=w,n&&(e.r=s,e.d=r,kxe(e.j)),new Zh(e.s,e.t,s,r)}function Ale(e){var t,n,r,s,o,f,g,w,T,C,L,F;for(e.b=!1,L=gs,w=oa,F=gs,T=oa,r=e.e.a.ec().Kc();r.Ob();)for(n=l(r.Pb(),272),s=n.a,L=b.Math.min(L,s.c),w=b.Math.max(w,s.c+s.b),F=b.Math.min(F,s.d),T=b.Math.max(T,s.d+s.a),f=new K(n.c);f.ae.o.a&&(C=(w-e.o.a)/2,g.b=b.Math.max(g.b,C),g.c=b.Math.max(g.c,C))}}function _Ln(e){var t,n,r,s,o,f,g,w;for(o=new kct,ihn(o,(fx(),qSt)),r=(s=yce(e,We($t,dt,2,0,6,1)),new xr(new Ll(new yse(e,s).b)));r.bg?1:-1:f8e(e.a,t.a,o),s==-1)L=-w,C=f==w?Voe(t.a,g,e.a,o):Koe(t.a,g,e.a,o);else if(L=f,f==w){if(s==0)return Ed(),FL;C=Voe(e.a,o,t.a,g)}else C=Koe(e.a,o,t.a,g);return T=new $m(L,C.length,C),sA(T),T}function ALn(e,t){var n,r,s,o;if(o=lvt(t),!t.c&&(t.c=new nt($l,t,9,9)),Os(new vn(null,(!t.c&&(t.c=new nt($l,t,9,9)),new kn(t.c,16))),new pYe(o)),s=l(Q(o,(ft(),_u)),21),yDn(t,s),s.Hc((Ho(),mf)))for(r=new ar((!t.c&&(t.c=new nt($l,t,9,9)),t.c));r.e!=r.i.gc();)n=l(dr(r),123),YDn(e,t,o,n);return l(at(t,(Nt(),Ev)),181).gc()!=0&&nmt(t,o),Ft(Pt(Q(o,gDe)))&&s.Fc(lW),rs(o,OB)&&uZe(new Y8e(ze(Ge(Q(o,OB)))),o),qe(at(t,v4))===qe((op(),F2))?wOn(e,t,o):rOn(e,t,o),o}function LLn(e){var t,n,r,s,o,f,g,w;for(s=new K(e.b);s.a0?ef(n.a,0,o-1):""):(Va(0,o-1,e.length),e.substr(0,o-1)):n?n.a:e}function MLn(e,t){var n,r,s,o,f,g,w;for(t.Ug("Sort By Input Model "+Q(e,(Nt(),Tg)),1),s=0,r=new K(e.b);r.a=e.b.length?(o[s++]=f.b[r++],o[s++]=f.b[r++]):r>=f.b.length?(o[s++]=e.b[n++],o[s++]=e.b[n++]):f.b[r]0?e.i:0)),++t;for(I8e(e.n,w),e.d=n,e.r=r,e.g=0,e.f=0,e.e=0,e.o=gs,e.p=gs,o=new K(e.b);o.a0&&(s=(!e.n&&(e.n=new nt(nc,e,1,7)),l(Oe(e.n,0),135)).a,!s||li(li((t.a+=' "',t),s),'"'))),n=(!e.b&&(e.b=new An(Sr,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new An(Sr,e,5,8)),e.c.i<=1))),n?t.a+=" [":t.a+=" ",li(t,zye(new dse,new ar(e.b))),n&&(t.a+="]"),t.a+=Yhe,n&&(t.a+="["),li(t,zye(new dse,new ar(e.c))),n&&(t.a+="]"),t.a)}function ILn(e,t){var n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot,At,ln,cn,Fn;for(Je=e.c,ot=t.c,n=bc(Je.a,e,0),r=bc(ot.a,t,0),Me=l(Vw(e,(qo(),Fl)).Kc().Pb(),12),cn=l(Vw(e,$u).Kc().Pb(),12),$e=l(Vw(t,Fl).Kc().Pb(),12),Fn=l(Vw(t,$u).Kc().Pb(),12),fe=xd(Me.e),At=xd(cn.g),Ee=xd($e.e),ln=xd(Fn.g),$y(e,r,ot),f=Ee,C=0,V=f.length;CC?new Hm((Q0(),S4),n,t,T-C):T>0&&C>0&&(new Hm((Q0(),S4),t,n,0),new Hm(S4,n,t,0))),f)}function PLn(e,t,n){var r,s,o;for(e.a=new mt,o=Fr(t.b,0);o.b!=o.d.c;){for(s=l(Pr(o),40);l(Q(s,(Vc(),jd)),17).a>e.a.c.length-1;)wt(e.a,new fa(k6,LCe));r=l(Q(s,jd),17).a,n==(ea(),hc)||n==yc?(s.e.aze(Ge(l(Rt(e.a,r),42).b))&&ct(l(Rt(e.a,r),42),s.e.a+s.f.a)):(s.e.bze(Ge(l(Rt(e.a,r),42).b))&&ct(l(Rt(e.a,r),42),s.e.b+s.f.b))}}function Mvt(e,t,n,r){var s,o,f,g,w,T,C;if(o=YU(r),g=Ft(Pt(Q(r,(Nt(),cDe)))),(g||Ft(Pt(Q(e,EW))))&&!F5(l(Q(e,Ds),101)))s=px(o),w=Bke(e,n,n==(qo(),$u)?s:UN(s));else switch(w=new du,Nc(w,e),t?(C=w.n,C.a=t.a-e.n.a,C.b=t.b-e.n.b,Bpt(C,0,0,e.o.a,e.o.b),ga(w,Qmt(w,o))):(s=px(o),ga(w,n==(qo(),$u)?s:UN(s))),f=l(Q(r,(ft(),_u)),21),T=w.j,o.g){case 2:case 1:(T==(_t(),Xn)||T==Mr)&&f.Fc((Ho(),R6));break;case 4:case 3:(T==(_t(),sr)||T==Zn)&&f.Fc((Ho(),R6))}return w}function Dvt(e,t){var n,r,s,o,f,g;for(f=new Xm(new Cr(e.f.b).a);f.b;){if(o=zw(f),s=l(o.ld(),602),t==1){if(s.Af()!=(ea(),vf)&&s.Af()!=Q1)continue}else if(s.Af()!=(ea(),hc)&&s.Af()!=yc)continue;switch(r=l(l(o.md(),42).b,86),g=l(l(o.md(),42).a,194),n=g.c,s.Af().g){case 2:r.g.c=e.e.a,r.g.b=b.Math.max(1,r.g.b+n);break;case 1:r.g.c=r.g.c+n,r.g.b=b.Math.max(1,r.g.b-n);break;case 4:r.g.d=e.e.b,r.g.a=b.Math.max(1,r.g.a+n);break;case 3:r.g.d=r.g.d+n,r.g.a=b.Math.max(1,r.g.a-n)}}}function BLn(e,t){var n,r,s,o,f,g,w,T,C,L,F,z,V,J;for(g=We(Ur,fi,28,t.b.c.length,15,1),T=We(E1e,it,273,t.b.c.length,0,1),w=We(kg,S2,10,t.b.c.length,0,1),L=e.a,F=0,z=L.length;F0&&w[r]&&(V=z5(e.b,w[r],s)),J=b.Math.max(J,s.c.c.b+V);for(o=new K(C.e);o.a1)throw ue(new Wn(oB));w||(o=cg(t,r.Kc().Pb()),f.Fc(o))}return J7e(e,w9e(e,t,n),f)}function QV(e,t,n){var r,s,o,f,g,w,T,C;if(dp(e.e,t))w=(Ro(),l(t,69).xk()?new lH(t,e):new AO(t,e)),DV(w.c,w.b),R_(w,l(n,16));else{for(C=Wu(e.e.Dh(),t),r=l(e.g,124),f=0;f"}w!=null&&(t.a+=""+w)}else e.e?(g=e.e.zb,g!=null&&(t.a+=""+g)):(t.a+="?",e.b?(t.a+=" super ",Ole(e.b,t)):e.f&&(t.a+=" extends ",Ole(e.f,t)))}function qLn(e){e.b=null,e.a=null,e.o=null,e.q=null,e.v=null,e.w=null,e.B=null,e.p=null,e.Q=null,e.R=null,e.S=null,e.T=null,e.U=null,e.V=null,e.W=null,e.bb=null,e.eb=null,e.ab=null,e.H=null,e.db=null,e.c=null,e.d=null,e.f=null,e.n=null,e.r=null,e.s=null,e.u=null,e.G=null,e.J=null,e.e=null,e.j=null,e.i=null,e.g=null,e.k=null,e.t=null,e.F=null,e.I=null,e.L=null,e.M=null,e.O=null,e.P=null,e.$=null,e.N=null,e.Z=null,e.cb=null,e.K=null,e.D=null,e.A=null,e.C=null,e._=null,e.fb=null,e.X=null,e.Y=null,e.gb=!1,e.hb=!1}function HLn(e){var t,n,r,s;if(r=Vle((!e.c&&(e.c=iN(tu(e.f))),e.c),0),e.e==0||e.a==0&&e.f!=-1&&e.e<0)return r;if(t=R7e(e)<0?1:0,n=e.e,s=(r.length+1+b.Math.abs(da(e.e)),new A5),t==1&&(s.a+="-"),e.e>0)if(n-=r.length-t,n>=0){for(s.a+="0.";n>vv.length;n-=vv.length)Sst(s,vv);lit(s,vv,da(n)),li(s,(Yn(t,r.length+1),r.substr(t)))}else n=t-n,li(s,ef(r,t,da(n))),s.a+=".",li(s,F5e(r,da(n)));else{for(li(s,(Yn(t,r.length+1),r.substr(t)));n<-vv.length;n+=vv.length)Sst(s,vv);lit(s,vv,da(-n))}return s.a}function Nle(e){var t,n,r,s,o,f,g,w,T;return!(e.k!=(Jn(),Bs)||e.j.c.length<=1||(o=l(Q(e,(Nt(),Ds)),101),o==(Pa(),Au))||(s=(jy(),(e.q?e.q:(Cn(),Cn(),yg))._b(x3)?r=l(Q(e,x3),203):r=l(Q(Ja(e),tM),203),r),s==PW)||!(s==W6||s==K6)&&(f=ze(Ge(Ry(e,nM))),t=l(Q(e,PB),140),!t&&(t=new y4e(f,f,f,f)),T=Fc(e,(_t(),Zn)),w=t.d+t.a+(T.gc()-1)*f,w>e.o.b||(n=Fc(e,sr),g=t.d+t.a+(n.gc()-1)*f,g>e.o.b)))}function ULn(e,t){var n,r,s,o,f,g,w,T,C,L,F,z,V,J,te;t.Ug("Orthogonal edge routing",1),T=ze(Ge(Q(e,(Nt(),G6)))),n=ze(Ge(Q(e,U6))),r=ze(Ge(Q(e,Sv))),F=new roe(0,n),te=0,f=new Ua(e.b,0),g=null,C=null,w=null,L=null;do C=f.b0?(z=(V-1)*n,g&&(z+=r),C&&(z+=r),zt||Ft(Pt(at(w,(z1(),WB)))))&&(s=0,o+=C.b+n,qn(L.c,C),C=new p6e(o,n),r=new Bce(0,C.f,C,n),EU(C,r),s=0),r.b.c.length==0||!Ft(Pt(at(ds(w),(z1(),Cge))))&&(w.f>=r.o&&w.f<=r.f||r.a*.5<=w.f&&r.a*1.5>=w.f)?R8e(r,w):(f=new Bce(r.s+r.r+n,C.f,C,n),EU(C,f),R8e(f,w)),s=w.i+w.g;return qn(L.c,C),L}function tL(e){var t,n,r,s;if(!(e.b==null||e.b.length<=2)&&!e.a){for(t=0,s=0;s=e.b[s+1])s+=2;else if(n0)for(r=new Ml(l($i(e.a,o),21)),Cn(),Gs(r,new eO(t)),s=new Ua(o.b,0);s.b0&&r>=-6?r>=0?DO(o,n-da(e.e),String.fromCharCode(46)):(Cce(o,t-1,t-1,"0."),DO(o,t+1,If(vv,0,-da(r)-1))):(n-t>=1&&(DO(o,t,String.fromCharCode(46)),++n),DO(o,n,String.fromCharCode(69)),r>0&&DO(o,++n,String.fromCharCode(43)),DO(o,++n,""+X_(tu(r)))),e.g=o.a,e.g))}function eMn(e,t){var n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot,At;r=ze(Ge(Q(t,(Nt(),hDe)))),Je=l(Q(t,rM),17).a,F=4,s=3,ot=20/Je,z=!1,w=0,f=Ni;do{for(o=w!=1,L=w!=0,At=0,te=e.a,Ee=0,$e=te.length;Ee<$e;++Ee)V=te[Ee],V.f=null,zDn(e,V,o,L,r),At+=b.Math.abs(V.a);do g=AAn(e,t);while(g);for(J=e.a,fe=0,Me=J.length;feJe)?(w=2,f=Ni):w==0?(w=1,f=At):(w=0,f=At)):(z=At>=f||f-At0?1:bw(isNaN(r),isNaN(0)))>=0^(h0(Od),(b.Math.abs(g)<=Od||g==0||isNaN(g)&&isNaN(0)?0:g<0?-1:g>0?1:bw(isNaN(g),isNaN(0)))>=0)?b.Math.max(g,r):(h0(Od),(b.Math.abs(r)<=Od||r==0||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:bw(isNaN(r),isNaN(0)))>0?b.Math.sqrt(g*g+r*r):-b.Math.sqrt(g*g+r*r))}function sv(e,t){var n,r,s,o,f,g;if(t){if(!e.a&&(e.a=new Kz),e.e==2){Gz(e.a,t);return}if(t.e==1){for(s=0;s=Lo?Jo(n,F8e(r)):Kk(n,r&ta),f=new koe(10,null,0),Rgn(e.a,f,g-1)):(n=(f.Mm().length+o,new f_),Jo(n,f.Mm())),t.e==0?(r=t.Km(),r>=Lo?Jo(n,F8e(r)):Kk(n,r&ta)):Jo(n,t.Mm()),l(f,530).b=n.a}}function rMn(e,t,n){var r,s,o,f,g,w,T,C,L,F,z,V,J,te;if(!n.dc()){for(g=0,F=0,r=n.Kc(),V=l(r.Pb(),17).a;g1&&(w=T.Hg(w,e.a,g));return w.c.length==1?l(Rt(w,w.c.length-1),238):w.c.length==2?GLn((Sn(0,w.c.length),l(w.c[0],238)),(Sn(1,w.c.length),l(w.c[1],238)),f,o):null}function oMn(e,t,n){var r,s,o,f,g,w,T;for(n.Ug("Find roots",1),e.a.c.length=0,s=Fr(t.b,0);s.b!=s.d.c;)r=l(Pr(s),40),r.b.b==0&&(rt(r,(Zi(),Zb),(Hn(),!0)),wt(e.a,r));switch(e.a.c.length){case 0:o=new Pce(0,t,"DUMMY_ROOT"),rt(o,(Zi(),Zb),(Hn(),!0)),rt(o,Wde,!0),ci(t.b,o);break;case 1:break;default:for(f=new Pce(0,t,jG),w=new K(e.a);w.a=b.Math.abs(r.b)?(r.b=0,o.d+o.a>f.d&&o.df.c&&o.c0){if(t=new vye(e.i,e.g),n=e.i,o=n<100?null:new hb(n),e.Tj())for(r=0;r0){for(g=e.g,T=e.i,lA(e),o=T<100?null:new hb(T),r=0;r>13|(e.m&15)<<9,s=e.m>>4&8191,o=e.m>>17|(e.h&255)<<5,f=(e.h&1048320)>>8,g=t.l&8191,w=t.l>>13|(t.m&15)<<9,T=t.m>>4&8191,C=t.m>>17|(t.h&255)<<5,L=(t.h&1048320)>>8,ln=n*g,cn=r*g,Fn=s*g,$n=o*g,cr=f*g,w!=0&&(cn+=n*w,Fn+=r*w,$n+=s*w,cr+=o*w),T!=0&&(Fn+=n*T,$n+=r*T,cr+=s*T),C!=0&&($n+=n*C,cr+=r*C),L!=0&&(cr+=n*L),z=ln&Ql,V=(cn&511)<<13,F=z+V,te=ln>>22,fe=cn>>9,Ee=(Fn&262143)<<4,Me=($n&31)<<17,J=te+fe+Ee+Me,Je=Fn>>18,ot=$n>>5,At=(cr&4095)<<8,$e=Je+ot+At,J+=F>>22,F&=Ql,$e+=J>>22,J&=Ql,$e&=pp,qu(F,J,$e)}function qvt(e){var t,n,r,s,o,f,g;if(g=l(Rt(e.j,0),12),g.g.c.length!=0&&g.e.c.length!=0)throw ue(new ic("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(g.g.c.length!=0){for(o=gs,n=new K(g.g);n.a4)if(e.fk(t)){if(e.al()){if(s=l(t,54),r=s.Eh(),w=r==e.e&&(e.ml()?s.yh(s.Fh(),e.il())==e.jl():-1-s.Fh()==e.Lj()),e.nl()&&!w&&!r&&s.Jh()){for(o=0;o0&&Hpt(e,g,L);for(s=new K(L);s.ae.d[f.p]&&(n+=M6e(e.b,o)*l(w.b,17).a,Tb(e.a,bt(o)));for(;!h_(e.a);)u7e(e.b,l(Q8(e.a),17).a)}return n}function fMn(e,t){var n,r,s,o,f,g,w,T,C,L;if(C=l(Q(e,(ft(),Xc)),64),r=l(Rt(e.j,0),12),C==(_t(),Xn)?ga(r,Mr):C==Mr&&ga(r,Xn),l(Q(t,(Nt(),Ev)),181).Hc((gh(),Ov))){if(w=ze(Ge(Q(e,WE))),T=ze(Ge(Q(e,YE))),f=ze(Ge(Q(e,T4))),g=l(Q(t,x4),21),g.Hc((Pl(),kp)))for(n=T,L=e.o.a/2-r.n.a,o=new K(r.f);o.a0&&(T=e.n.a/o);break;case 2:case 4:s=e.i.o.b,s>0&&(T=e.n.b/s)}rt(e,(ft(),m3),T)}if(w=e.o,f=e.a,r)f.a=r.a,f.b=r.b,e.d=!0;else if(t!=Z1&&t!=rm&&g!=jc)switch(g.g){case 1:f.a=w.a/2;break;case 2:f.a=w.a,f.b=w.b/2;break;case 3:f.a=w.a/2,f.b=w.b;break;case 4:f.b=w.b/2}else f.a=w.a/2,f.b=w.b/2}function nL(e){var t,n,r,s,o,f,g,w,T,C;if(e.Pj())if(C=e.Ej(),w=e.Qj(),C>0)if(t=new q7e(e.pj()),n=C,o=n<100?null:new hb(n),BO(e,n,t.g),s=n==1?e.Ij(4,Oe(t,0),null,0,w):e.Ij(6,t,null,-1,w),e.Mj()){for(r=new ar(t);r.e!=r.i.gc();)o=e.Oj(dr(r),o);o?(o.nj(s),o.oj()):e.Jj(s)}else o?(o.nj(s),o.oj()):e.Jj(s);else BO(e,e.Ej(),e.Fj()),e.Jj(e.Ij(6,(Cn(),Co),null,-1,w));else if(e.Mj())if(C=e.Ej(),C>0){for(g=e.Fj(),T=C,BO(e,C,g),o=T<100?null:new hb(T),r=0;r1&&vl(f)*hh(f)/2>g[0]){for(o=0;og[o];)++o;V=new c2(J,0,o+1),L=new wU(V),C=vl(f)/hh(f),w=Hle(L,t,new L8,n,r,s,C),Pi(W0(L.e),w),W8(qT(F,L),cE),z=new c2(J,o+1,J.c.length),Sxe(F,z),J.c.length=0,T=0,Hst(g,g.length,0)}else te=F.b.c.length==0?null:Rt(F.b,0),te!=null&&mce(F,0),T>0&&(g[T]=g[T-1]),g[T]+=vl(f)*hh(f),++T,qn(J.c,f);return J}function vMn(e,t){var n,r,s,o;n=t.b,o=new Ml(n.j),s=0,r=n.j,r.c.length=0,Ew(l(Ym(e.b,(_t(),Xn),($w(),g3)),15),n),s=YN(o,s,new Zv,r),Ew(l(Ym(e.b,Xn,Kb),15),n),s=YN(o,s,new Mee,r),Ew(l(Ym(e.b,Xn,d3),15),n),Ew(l(Ym(e.b,sr,g3),15),n),Ew(l(Ym(e.b,sr,Kb),15),n),s=YN(o,s,new Wj,r),Ew(l(Ym(e.b,sr,d3),15),n),Ew(l(Ym(e.b,Mr,g3),15),n),s=YN(o,s,new Yj,r),Ew(l(Ym(e.b,Mr,Kb),15),n),s=YN(o,s,new Xj,r),Ew(l(Ym(e.b,Mr,d3),15),n),Ew(l(Ym(e.b,Zn,g3),15),n),s=YN(o,s,new Uj,r),Ew(l(Ym(e.b,Zn,Kb),15),n),Ew(l(Ym(e.b,Zn,d3),15),n)}function wMn(e,t,n){var r,s,o,f,g,w,T,C,L,F,z;for(g=new K(t);g.a.5?fe-=f*2*(V-.5):V<.5&&(fe+=o*2*(.5-V)),s=g.d.b,fete.a-J-C&&(fe=te.a-J-C),g.n.a=t+fe}}function TMn(e){var t,n,r,s,o;if(r=l(Q(e,(Nt(),Qu)),171),r==(lf(),Yb)){for(n=new lr(fr(Ea(e).a.Kc(),new j));Rr(n);)if(t=l(yr(n),18),!rlt(t))throw ue(new Zp(Zhe+QN(e)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(r==b4){for(o=new lr(fr(qs(e).a.Kc(),new j));Rr(o);)if(s=l(yr(o),18),!rlt(s))throw ue(new Zp(Zhe+QN(e)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}}function EP(e,t){var n,r,s,o,f,g,w,T,C,L,F,z,V;if(e.e&&e.c.c>19&&(t=TT(t),w=!w),f=oCn(t),o=!1,s=!1,r=!1,e.h==NP&&e.m==0&&e.l==0)if(s=!0,o=!0,f==-1)e=Lnt((aT(),f_e)),r=!0,w=!w;else return g=Y9e(e,f),w&&Nce(g),n&&(Hb=qu(0,0,0)),g;else e.h>>19&&(o=!0,e=TT(e),r=!0,w=!w);return f!=-1?Byn(e,f,w,o,n):Nxe(e,t)<0?(n&&(o?Hb=TT(e):Hb=qu(e.l,e.m,e.h)),qu(0,0,0)):sAn(r?e:qu(e.l,e.m,e.h),t,w,o,s,n)}function Rle(e,t){var n,r,s,o,f,g,w,T,C,L,F,z,V;if(f=e.e,w=t.e,f==0)return t;if(w==0)return e;if(o=e.d,g=t.d,o+g==2)return n=xa(e.a[0],Uo),r=xa(t.a[0],Uo),f==w?(C=fo(n,r),V=Yr(C),z=Yr(vb(C,32)),z==0?new tp(f,V):new $m(f,2,he(le(Ur,1),fi,28,15,[V,z]))):(Ed(),Bq(f<0?Df(r,n):Df(n,r),0)?Db(f<0?Df(r,n):Df(n,r)):Z_(Db(f2(f<0?Df(r,n):Df(n,r)))));if(f==w)F=f,L=o>=g?Koe(e.a,o,t.a,g):Koe(t.a,g,e.a,o);else{if(s=o!=g?o>g?1:-1:f8e(e.a,t.a,o),s==0)return Ed(),FL;s==1?(F=f,L=Voe(e.a,o,t.a,g)):(F=w,L=Voe(t.a,g,e.a,o))}return T=new $m(F,L.length,L),sA(T),T}function CMn(e,t){var n,r,s,o,f,g,w;if(!(e.g>t.f||t.g>e.f)){for(n=0,r=0,f=e.w.a.ec().Kc();f.Ob();)s=l(f.Pb(),12),Gce(Bc(he(le(Ca,1),dt,8,0,[s.i.n,s.n,s.a])).b,t.g,t.f)&&++n;for(g=e.r.a.ec().Kc();g.Ob();)s=l(g.Pb(),12),Gce(Bc(he(le(Ca,1),dt,8,0,[s.i.n,s.n,s.a])).b,t.g,t.f)&&--n;for(w=t.w.a.ec().Kc();w.Ob();)s=l(w.Pb(),12),Gce(Bc(he(le(Ca,1),dt,8,0,[s.i.n,s.n,s.a])).b,e.g,e.f)&&++r;for(o=t.r.a.ec().Kc();o.Ob();)s=l(o.Pb(),12),Gce(Bc(he(le(Ca,1),dt,8,0,[s.i.n,s.n,s.a])).b,e.g,e.f)&&--r;n=0)return n;switch(Lw(ac(e,n))){case 2:{if(wn("",b2(e,n.qk()).xe())){if(w=QO(ac(e,n)),g=Xk(ac(e,n)),C=Z9e(e,t,w,g),C)return C;for(s=Lke(e,t),f=0,L=s.gc();f1)throw ue(new Wn(oB));for(C=Wu(e.e.Dh(),t),r=l(e.g,124),f=0;f1,T=new N1(F.b);Oc(T.a)||Oc(T.b);)w=l(Oc(T.a)?re(T.a):re(T.b),18),L=w.c==F?w.d:w.c,b.Math.abs(Bc(he(le(Ca,1),dt,8,0,[L.i.n,L.n,L.a])).b-f.b)>1&&fSn(e,w,f,o,F)}}function DMn(e){var t,n,r,s,o,f;if(s=new Ua(e.e,0),r=new Ua(e.a,0),e.d)for(n=0;nOfe;){for(o=t,f=0;b.Math.abs(t-o)0),s.a.Xb(s.c=--s.b),GAn(e,e.b-f,o,r,s),br(s.b0),r.a.Xb(r.c=--r.b)}if(!e.d)for(n=0;n0?(e.f[C.p]=z/(C.e.c.length+C.g.c.length),e.c=b.Math.min(e.c,e.f[C.p]),e.b=b.Math.max(e.b,e.f[C.p])):g&&(e.f[C.p]=z)}}function OMn(e){e.b=null,e.bb=null,e.fb=null,e.qb=null,e.a=null,e.c=null,e.d=null,e.e=null,e.f=null,e.n=null,e.M=null,e.L=null,e.Q=null,e.R=null,e.K=null,e.db=null,e.eb=null,e.g=null,e.i=null,e.j=null,e.k=null,e.gb=null,e.o=null,e.p=null,e.q=null,e.r=null,e.$=null,e.ib=null,e.S=null,e.T=null,e.t=null,e.s=null,e.u=null,e.v=null,e.w=null,e.B=null,e.A=null,e.C=null,e.D=null,e.F=null,e.G=null,e.H=null,e.I=null,e.J=null,e.P=null,e.Z=null,e.U=null,e.V=null,e.W=null,e.X=null,e.Y=null,e._=null,e.ab=null,e.cb=null,e.hb=null,e.nb=null,e.lb=null,e.mb=null,e.ob=null,e.pb=null,e.jb=null,e.kb=null,e.N=!1,e.O=!1}function NMn(e,t,n){var r,s,o,f;for(n.Ug("Graph transformation ("+e.a+")",1),f=Nw(t.a),o=new K(t.b);o.a=g.b.c)&&(g.b=t),(!g.c||t.c<=g.c.c)&&(g.d=g.c,g.c=t),(!g.e||t.d>=g.e.d)&&(g.e=t),(!g.f||t.d<=g.f.d)&&(g.f=t);return r=new lV((xT(),f3)),sN(e,sxt,new Ll(he(le(yB,1),jn,382,0,[r]))),f=new lV(l4),sN(e,ixt,new Ll(he(le(yB,1),jn,382,0,[f]))),s=new lV(u4),sN(e,rxt,new Ll(he(le(yB,1),jn,382,0,[s]))),o=new lV(I6),sN(e,nxt,new Ll(he(le(yB,1),jn,382,0,[o]))),ule(r.c,f3),ule(s.c,u4),ule(o.c,I6),ule(f.c,l4),g.a.c.length=0,aa(g.a,r.c),aa(g.a,uf(s.c)),aa(g.a,o.c),aa(g.a,uf(f.c)),g}function FMn(e,t){var n,r,s,o,f,g,w,T,C,L,F,z,V;for(t.Ug(r4t,1),z=ze(Ge(at(e,(fg(),_4)))),f=ze(Ge(at(e,(z1(),yM)))),g=l(at(e,wM),107),B7e((!e.a&&(e.a=new nt(Li,e,10,11)),e.a)),C=Rvt((!e.a&&(e.a=new nt(Li,e,10,11)),e.a),z,f),!e.a&&(e.a=new nt(Li,e,10,11)),T=new K(C);T.a0&&(e.a=w+(z-1)*o,t.c.b+=e.a,t.f.b+=e.a)),V.a.gc()!=0&&(F=new roe(1,o),z=nTe(F,t,V,J,t.f.b+w-t.c.b),z>0&&(t.f.b+=w+(z-1)*o))}function Vvt(e,t,n){var r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e;for(C=ze(Ge(Q(e,(Nt(),T3)))),r=ze(Ge(Q(e,xDe))),F=new DI,rt(F,T3,C+r),T=t,fe=T.d,J=T.c.i,Ee=T.d.i,te=Cye(J.c),Me=Cye(Ee.c),s=new mt,L=te;L<=Me;L++)g=new hp(e),x(g,(Jn(),Aa)),rt(g,(ft(),zi),T),rt(g,Ds,(Pa(),Au)),rt(g,MW,F),z=l(Rt(e.b,L),30),L==te?$y(g,z.a.c.length-n,z):Ha(g,z),$e=ze(Ge(Q(T,M2))),$e<0&&($e=0,rt(T,M2,$e)),g.o.b=$e,V=b.Math.floor($e/2),f=new du,ga(f,(_t(),Zn)),Nc(f,g),f.n.b=V,w=new du,ga(w,sr),Nc(w,g),w.n.b=V,Na(T,f),o=new Dw,mc(o,T),rt(o,lc,null),ho(o,w),Na(o,fe),S8n(g,T,o),qn(s.c,o),T=o;return s}function jle(e,t){var n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me;for(w=l(k2(e,(_t(),Zn)).Kc().Pb(),12).e,z=l(k2(e,sr).Kc().Pb(),12).g,g=w.c.length,Me=I1(l(Rt(e.j,0),12));g-- >0;){for(J=(Sn(0,w.c.length),l(w.c[0],18)),s=(Sn(0,z.c.length),l(z.c[0],18)),Ee=s.d.e,o=bc(Ee,s,0),omn(J,s.d,o),ho(s,null),Na(s,null),V=J.a,t&&ci(V,new xo(Me)),r=Fr(s.a,0);r.b!=r.d.c;)n=l(Pr(r),8),ci(V,new xo(n));for(fe=J.b,F=new K(s.b);F.af)&&sa(e.b,l(te.b,18));++g}o=f}}}function Zke(e,t){var n;if(t==null||wn(t,cl)||t.length==0&&e.k!=(T2(),n9))return null;switch(e.k.g){case 1:return sV(t,xE)?(Hn(),AE):sV(t,Qfe)?(Hn(),Ub):null;case 2:try{return bt(Oh(t,ao,Ni))}catch(r){if(r=ms(r),De(r,130))return null;throw ue(r)}case 4:try{return qy(t)}catch(r){if(r=ms(r),De(r,130))return null;throw ue(r)}case 3:return t;case 5:return f1t(e),C2t(e,t);case 6:return f1t(e),REn(e,e.a,t);case 7:try{return n=YTn(e),n.cg(t),n}catch(r){if(r=ms(r),De(r,33))return null;throw ue(r)}default:throw ue(new ic("Invalid type set for this layout option."))}}function eTe(e){var t;switch(e.d){case 1:{if(e.Sj())return e.o!=-2;break}case 2:{if(e.Sj())return e.o==-2;break}case 3:case 5:case 4:case 6:case 7:return e.o>-2;default:return!1}switch(t=e.Rj(),e.p){case 0:return t!=null&&Ft(Pt(t))!=O_(e.k,0);case 1:return t!=null&&l(t,222).a!=Yr(e.k)<<24>>24;case 2:return t!=null&&l(t,180).a!=(Yr(e.k)&ta);case 6:return t!=null&&O_(l(t,168).a,e.k);case 5:return t!=null&&l(t,17).a!=Yr(e.k);case 7:return t!=null&&l(t,191).a!=Yr(e.k)<<16>>16;case 3:return t!=null&&ze(Ge(t))!=e.j;case 4:return t!=null&&l(t,161).a!=e.j;default:return t==null?e.n!=null:!Fi(t,e.n)}}function CP(e,t,n){var r,s,o,f;return e.ol()&&e.nl()&&(f=Qae(e,l(n,58)),qe(f)!==qe(n))?(e.xj(t),e.Dj(t,Ylt(e,t,f)),e.al()&&(o=(s=l(n,54),e.ml()?e.kl()?s.Th(e.b,jo(l(Mn(il(e.b),e.Lj()),19)).n,l(Mn(il(e.b),e.Lj()).Hk(),29).kk(),null):s.Th(e.b,vs(s.Dh(),jo(l(Mn(il(e.b),e.Lj()),19))),null,null):s.Th(e.b,-1-e.Lj(),null,null)),!l(f,54).Ph()&&(o=(r=l(f,54),e.ml()?e.kl()?r.Rh(e.b,jo(l(Mn(il(e.b),e.Lj()),19)).n,l(Mn(il(e.b),e.Lj()).Hk(),29).kk(),o):r.Rh(e.b,vs(r.Dh(),jo(l(Mn(il(e.b),e.Lj()),19))),null,o):r.Rh(e.b,-1-e.Lj(),null,o))),o&&o.oj()),ch(e.b)&&e.Jj(e.Ij(9,n,f,t,!1)),f):n}function Gvt(e){var t,n,r,s,o,f,g,w,T,C;for(r=new mt,f=new K(e.e.a);f.a0&&(f=b.Math.max(f,Qft(e.C.b+r.d.b,s))),C=r,L=s,F=o;e.C&&e.C.c>0&&(z=F+e.C.c,T&&(z+=C.d.c),f=b.Math.max(f,(A1(),h0(H1),b.Math.abs(L-1)<=H1||L==1||isNaN(L)&&isNaN(1)?0:z/(1-L)))),n.n.b=0,n.a.a=f}function Wvt(e,t){var n,r,s,o,f,g,w,T,C,L,F,z;if(n=l(Zo(e.b,t),127),w=l(l($i(e.r,t),21),87),w.dc()){n.n.d=0,n.n.a=0;return}for(T=e.u.Hc((Pl(),kp)),f=0,e.A.Hc((gh(),Ov))&&Tmt(e,t),g=w.Kc(),C=null,F=0,L=0;g.Ob();)r=l(g.Pb(),117),o=ze(Ge(r.b.of((Yq(),TK)))),s=r.b.Mf().b,C?(z=L+C.d.a+e.w+r.d.d,f=b.Math.max(f,(A1(),h0(H1),b.Math.abs(F-o)<=H1||F==o||isNaN(F)&&isNaN(o)?0:z/(o-F)))):e.C&&e.C.d>0&&(f=b.Math.max(f,Qft(e.C.d+r.d.d,o))),C=r,F=o,L=s;e.C&&e.C.a>0&&(z=L+e.C.a,T&&(z+=C.d.a),f=b.Math.max(f,(A1(),h0(H1),b.Math.abs(F-1)<=H1||F==1||isNaN(F)&&isNaN(1)?0:z/(1-F)))),n.n.d=0,n.a.b=f}function $Mn(e,t,n,r,s,o,f,g){var w,T,C,L,F,z,V,J,te,fe;if(V=!1,T=oke(n.q,t.f+t.b-n.q.f),z=r.f>t.b&&g,fe=s-(n.q.e+T-f),L=(w=eL(r,fe,!1),w.a),z&&L>r.f)return!1;if(z){for(F=0,te=new K(t.d);te.a=(Sn(o,e.c.length),l(e.c[o],186)).e,!z&&L>t.b&&!C)?!1:((C||z||L<=t.b)&&(C&&L>t.b?(n.d=L,gN(n,Npt(n,L))):(Jgt(n.q,T),n.c=!0),gN(r,s-(n.s+n.r)),XN(r,n.q.e+n.q.d,t.f),EU(t,r),e.c.length>o&&(ZN((Sn(o,e.c.length),l(e.c[o],186)),r),(Sn(o,e.c.length),l(e.c[o],186)).a.c.length==0&&l2(e,o)),V=!0),V)}function Yvt(e,t,n){var r,s,o,f,g,w;for(this.g=e,g=t.d.length,w=n.d.length,this.d=We(kg,S2,10,g+w,0,1),f=0;f0?lce(this,this.f/this.a):L1(t.g,t.d[0]).a!=null&&L1(n.g,n.d[0]).a!=null?lce(this,(ze(L1(t.g,t.d[0]).a)+ze(L1(n.g,n.d[0]).a))/2):L1(t.g,t.d[0]).a!=null?lce(this,L1(t.g,t.d[0]).a):L1(n.g,n.d[0]).a!=null&&lce(this,L1(n.g,n.d[0]).a)}function zMn(e,t){var n,r,s,o,f,g,w,T,C,L;for(e.a=new Aat(Tyn(MM)),r=new K(t.a);r.a=1&&(te-f>0&&L>=0?(w.n.a+=J,w.n.b+=o*f):te-f<0&&C>=0&&(w.n.a+=J*te,w.n.b+=o));e.o.a=t.a,e.o.b=t.b,rt(e,(Nt(),Ev),(gh(),r=l(G0(FM),9),new Jh(r,l(o0(r,r.length),9),0)))}function UMn(e,t,n,r,s,o){var f;if(!(t==null||!rue(t,qPe,HPe)))throw ue(new Wn("invalid scheme: "+t));if(!e&&!(n!=null&&gd(n,ol(35))==-1&&n.length>0&&(Yn(0,n.length),n.charCodeAt(0)!=47)))throw ue(new Wn("invalid opaquePart: "+n));if(e&&!(t!=null&&lO(DY,t.toLowerCase()))&&!(n==null||!rue(n,zM,qM)))throw ue(new Wn(D5t+n));if(e&&t!=null&&lO(DY,t.toLowerCase())&&!Txn(n))throw ue(new Wn(D5t+n));if(!L5n(r))throw ue(new Wn("invalid device: "+r));if(!d4n(s))throw f=s==null?"invalid segments: null":"invalid segment: "+u4n(s),ue(new Wn(f));if(!(o==null||gd(o,ol(35))==-1))throw ue(new Wn("invalid query: "+o))}function VMn(e,t,n){var r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe;if(n.Ug("Network simplex layering",1),e.b=t,fe=l(Q(t,(Nt(),rM)),17).a*4,te=e.b.a,te.c.length<1){n.Vg();return}for(o=H_n(e,te),J=null,s=Fr(o,0);s.b!=s.d.c;){for(r=l(Pr(s),15),g=fe*da(b.Math.sqrt(r.gc())),f=iAn(r),xle(y3e(Vun(x3e(Mae(f),g),J),!0),n.eh(1)),F=e.b.b,V=new K(f.a);V.a1)for(J=We(Ur,fi,28,e.b.b.c.length,15,1),L=0,T=new K(e.b.b);T.a0){aV(e,n,0),n.a+=String.fromCharCode(r),s=d6n(t,o),aV(e,n,s),o+=s-1;continue}r==39?o+10&&V.a<=0){w.c.length=0,qn(w.c,V);break}z=V.i-V.d,z>=g&&(z>g&&(w.c.length=0,g=z),qn(w.c,V))}w.c.length!=0&&(f=l(Rt(w,gV(s,w.c.length)),118),Me.a.Bc(f)!=null,f.g=C++,qke(f,t,n,r),w.c.length=0)}for(te=e.c.length+1,F=new K(e);F.aoa||t.o==_v&&C=g&&s<=w)g<=s&&o<=w?(n[C++]=s,n[C++]=o,r+=2):g<=s?(n[C++]=s,n[C++]=w,e.b[r]=w+1,f+=2):o<=w?(n[C++]=g,n[C++]=o,r+=2):(n[C++]=g,n[C++]=w,e.b[r]=w+1);else if(wFb)&&g<10);T3e(e.c,new X7),Zvt(e),$gn(e.c),PMn(e.f)}function eDn(e,t){var n,r,s,o,f,g,w,T,C,L,F,z,V,J;for(n=l(Q(e,(Nt(),Ds)),101),f=e.f,o=e.d,g=f.a+o.b+o.c,w=0-o.d-e.c.b,C=f.b+o.d+o.a-e.c.b,T=new mt,L=new mt,s=new K(t);s.a=2){for(w=Fr(n,0),f=l(Pr(w),8),g=l(Pr(w),8);g.a0&&NN(T,!0,(ea(),yc)),g.k==(Jn(),Ks)&&Fat(T),Ti(e.f,g,t)}}function rDn(e){var t,n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e;for(s=l(Q(e,(Zi(),pM)),27),T=Ni,C=Ni,g=ao,w=ao,Me=Fr(e.b,0);Me.b!=Me.d.c;)fe=l(Pr(Me),40),z=fe.e,V=fe.f,T=b.Math.min(T,z.a-V.a/2),C=b.Math.min(C,z.b-V.b/2),g=b.Math.max(g,z.a+V.a/2),w=b.Math.max(w,z.b+V.b/2);for(F=l(at(s,(Vc(),IIe)),107),Ee=Fr(e.b,0);Ee.b!=Ee.d.c;)fe=l(Pr(Ee),40),L=Q(fe,pM),De(L,207)&&(o=l(L,27),Xh(o,fe.e.a,fe.e.b),gP(o,fe));for(te=Fr(e.a,0);te.b!=te.d.c;)J=l(Pr(te),65),r=l(Q(J,pM),74),r&&(t=J.a,n=f6(r,!0,!0),xP(t,n));$e=g-T+(F.b+F.c),f=w-C+(F.d+F.a),Ft(Pt(at(s,(bi(),A4))))||Zw(s,$e,f,!1,!1),Vi(s,r7,$e-(F.b+F.c)),Vi(s,n7,f-(F.d+F.a))}function twt(e,t){var n,r,s,o,f,g,w,T,C,L;for(w=!0,s=0,T=e.g[t.p],C=t.o.b+e.o,n=e.d[t.p][2],nf(e.b,T,bt(l(Rt(e.b,T),17).a-1+n)),nf(e.c,T,ze(Ge(Rt(e.c,T)))-C+n*e.f),++T,T>=e.j?(++e.j,wt(e.b,bt(1)),wt(e.c,C)):(r=e.d[t.p][1],nf(e.b,T,bt(l(Rt(e.b,T),17).a+1-r)),nf(e.c,T,ze(Ge(Rt(e.c,T)))+C-r*e.f)),(e.r==(Nf(),BB)&&(l(Rt(e.b,T),17).a>e.k||l(Rt(e.b,T-1),17).a>e.k)||e.r==FB&&(ze(Ge(Rt(e.c,T)))>e.n||ze(Ge(Rt(e.c,T-1)))>e.n))&&(w=!1),f=new lr(fr(Ea(t).a.Kc(),new j));Rr(f);)o=l(yr(f),18),g=o.c.i,e.g[g.p]==T&&(L=twt(e,g),s=s+l(L.a,17).a,w=w&&Ft(Pt(L.b)));return e.g[t.p]=T,s=s+e.d[t.p][0],new fa(bt(s),(Hn(),!!w))}function nwt(e,t){var n,r,s,o,f;n=ze(Ge(Q(t,(Nt(),y0)))),n<2&&rt(t,y0,2),r=l(Q(t,Rh),88),r==(ea(),J1)&&rt(t,Rh,YU(t)),s=l(Q(t,wTt),17),s.a==0?rt(t,(ft(),Qx),new sue):rt(t,(ft(),Qx),new JH(s.a)),o=Pt(Q(t,eM)),o==null&&rt(t,eM,(Hn(),qe(Q(t,yp))===qe((cp(),aC)))),Os(new vn(null,new kn(t.a,16)),new Qp(e)),Os(Pc(new vn(null,new kn(t.b,16)),new h5),new r_(e)),f=new Xvt(t),rt(t,(ft(),q6),f),XO(e.a),Y0(e.a,(so(),w0),l(Q(t,xv),188)),Y0(e.a,xg,l(Q(t,Tv),188)),Y0(e.a,pu,l(Q(t,ZL),188)),Y0(e.a,Cu,l(Q(t,AW),188)),Y0(e.a,wc,ryn(l(Q(t,yp),223))),_ye(e.a,JIn(t)),rt(t,ode,EP(e.a,t))}function nTe(e,t,n,r,s){var o,f,g,w,T,C,L,F,z,V,J,te,fe;for(L=new Nr,f=new mt,t2t(e,n,e.d.Ag(),f,L),t2t(e,r,e.d.Bg(),f,L),e.b=.2*(J=abt(Pc(new vn(null,new kn(f,16)),new Rte)),te=abt(Pc(new vn(null,new kn(f,16)),new jte)),b.Math.min(J,te)),o=0,g=0;g=2&&(fe=Cbt(f,!0,F),!e.e&&(e.e=new NXe(e)),u6n(e.e,fe,f,e.b)),cpt(f,F),uDn(f),z=-1,C=new K(f);C.ag)}function rwt(e,t){var n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee;for(T=gs,C=gs,g=oa,w=oa,F=new K(t.i);F.a-1){for(s=Fr(g,0);s.b!=s.d.c;)r=l(Pr(s),131),r.v=f;for(;g.b!=0;)for(r=l(Bue(g,0),131),n=new K(r.i);n.a-1){for(o=new K(g);o.a0)&&(Y(w,b.Math.min(w.o,s.o-1)),q(w,w.i-1),w.i==0&&qn(g.c,w))}}function swt(e,t,n,r,s){var o,f,g,w;return w=gs,f=!1,g=Kke(e,ya(new lt(t.a,t.b),e),Pi(new lt(n.a,n.b),s),ya(new lt(r.a,r.b),n)),o=!!g&&!(b.Math.abs(g.a-e.a)<=a3&&b.Math.abs(g.b-e.b)<=a3||b.Math.abs(g.a-t.a)<=a3&&b.Math.abs(g.b-t.b)<=a3),g=Kke(e,ya(new lt(t.a,t.b),e),n,s),g&&((b.Math.abs(g.a-e.a)<=a3&&b.Math.abs(g.b-e.b)<=a3)==(b.Math.abs(g.a-t.a)<=a3&&b.Math.abs(g.b-t.b)<=a3)||o?w=b.Math.min(w,tA(ya(g,n))):f=!0),g=Kke(e,ya(new lt(t.a,t.b),e),r,s),g&&(f||(b.Math.abs(g.a-e.a)<=a3&&b.Math.abs(g.b-e.b)<=a3)==(b.Math.abs(g.a-t.a)<=a3&&b.Math.abs(g.b-t.b)<=a3)||o)&&(w=b.Math.min(w,tA(ya(g,r)))),w}function awt(e){fw(e,new iv(Zz(uw(aw(cw(ow(new x1,jb),ryt),"Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths."),new y1),Yu))),pt(e,jb,fL,It(AAe)),pt(e,jb,bG,(Hn(),!0)),pt(e,jb,T6,It(q8t)),pt(e,jb,Bx,It(H8t)),pt(e,jb,Px,It(U8t)),pt(e,jb,gE,It(z8t)),pt(e,jb,dL,It(MAe)),pt(e,jb,pE,It(V8t)),pt(e,jb,ZTe,It(_Ae)),pt(e,jb,tEe,It(CAe)),pt(e,jb,nEe,It(SAe)),pt(e,jb,rEe,It(LAe)),pt(e,jb,eEe,It(IK))}function lDn(e){var t,n,r,s,o,f,g,w;for(t=null,r=new K(e);r.a0&&n.c==0&&(!t&&(t=new mt),qn(t.c,n));if(t)for(;t.c.length!=0;){if(n=l(l2(t,0),239),n.b&&n.b.c.length>0){for(o=(!n.b&&(n.b=new mt),new K(n.b));o.abc(e,n,0))return new fa(s,n)}else if(ze(L1(s.g,s.d[0]).a)>ze(L1(n.g,n.d[0]).a))return new fa(s,n)}for(g=(!n.e&&(n.e=new mt),n.e).Kc();g.Ob();)f=l(g.Pb(),239),w=(!f.b&&(f.b=new mt),f.b),Sy(0,w.c.length),k_(w.c,0,n),f.c==w.c.length&&qn(t.c,f)}return null}function hDn(e,t){var n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe;for(t.Ug("Interactive crossing minimization",1),f=0,o=new K(e.b);o.a0&&(n+=w.n.a+w.o.a/2,++L),V=new K(w.j);V.a0&&(n/=L),fe=We(Oa,tc,28,r.a.c.length,15,1),g=0,T=new K(r.a);T.a=g&&s<=w)g<=s&&o<=w?r+=2:g<=s?(e.b[r]=w+1,f+=2):o<=w?(n[C++]=s,n[C++]=g-1,r+=2):(n[C++]=s,n[C++]=g-1,e.b[r]=w+1,f+=2);else if(w2?(C=new mt,aa(C,new c2(fe,1,fe.b)),o=Kwt(C,Me+e.a),Ee=new ale(o),mc(Ee,t),qn(n.c,Ee)):r?Ee=l(or(e.b,hg(t)),272):Ee=l(or(e.b,Ib(t)),272),w=hg(t),r&&(w=Ib(t)),f=lkn(te,w),T=Me+e.a,f.a?(T+=b.Math.abs(te.b-L.b),J=new lt(L.a,(L.b+te.b)/2)):(T+=b.Math.abs(te.a-L.a),J=new lt((L.a+te.a)/2,L.b)),r?Ti(e.d,t,new yxe(Ee,f,J,T)):Ti(e.c,t,new yxe(Ee,f,J,T)),Ti(e.b,t,Ee),V=(!t.n&&(t.n=new nt(nc,t,1,7)),t.n),z=new ar(V);z.e!=z.i.gc();)F=l(dr(z),135),s=mP(e,F,!0,0,0),qn(n.c,s)}function fDn(e){var t,n,r,s,o,f,g;if(!e.A.dc()){if(e.A.Hc((gh(),fF))&&(l(Zo(e.b,(_t(),Xn)),127).k=!0,l(Zo(e.b,Mr),127).k=!0,t=e.q!=(Pa(),_g)&&e.q!=Au,Pz(l(Zo(e.b,sr),127),t),Pz(l(Zo(e.b,Zn),127),t),Pz(e.g,t),e.A.Hc(Ov)&&(l(Zo(e.b,Xn),127).j=!0,l(Zo(e.b,Mr),127).j=!0,l(Zo(e.b,sr),127).k=!0,l(Zo(e.b,Zn),127).k=!0,e.g.k=!0)),e.A.Hc(hF))for(e.a.j=!0,e.a.k=!0,e.g.j=!0,e.g.k=!0,g=e.B.Hc((Xl(),RM)),s=gue(),o=0,f=s.length;o0),l(C.a.Xb(C.c=--C.b),18));o!=r&&C.b>0;)e.a[o.p]=!0,e.a[r.p]=!0,o=(br(C.b>0),l(C.a.Xb(C.c=--C.b),18));C.b>0&&fh(C)}}function cwt(e,t,n){var r,s,o,f,g,w,T,C,L,F,z;if(!e.b)return!1;for(f=null,F=null,w=new Xoe(null,null),s=1,w.a[1]=e.b,L=w;L.a[s];)T=s,g=F,F=L,L=L.a[s],r=e.a.Ne(t,L.d),s=r<0?0:1,r==0&&(!n.c||eu(L.e,n.d))&&(f=L),!(L&&L.b)&&!ly(L.a[s])&&(ly(L.a[1-s])?F=F.a[T]=DU(L,s):ly(L.a[1-s])||(z=F.a[1-T],z&&(!ly(z.a[1-T])&&!ly(z.a[T])?(F.b=!1,z.b=!0,L.b=!0):(o=g.a[1]==F?1:0,ly(z.a[T])?g.a[o]=Rct(F,T):ly(z.a[1-T])&&(g.a[o]=DU(F,T)),L.b=g.a[o].b=!0,g.a[o].a[0].b=!1,g.a[o].a[1].b=!1))));return f&&(n.b=!0,n.d=f.e,L!=f&&(C=new Xoe(L.d,L.e),p9n(e,w,f,C),F==f&&(F=C)),F.a[F.a[1]==L?1:0]=L.a[L.a[0]?0:1],--e.c),e.b=w.a[1],e.b&&(e.b.b=!1),n.b}function pDn(e){var t,n,r,s,o,f,g,w,T,C,L,F;for(s=new K(e.a.a.b);s.a0?s-=864e5:s+=864e5,w=new h4e(fo(tu(t.q.getTime()),s))),C=new A5,T=e.a.length,o=0;o=97&&r<=122||r>=65&&r<=90){for(f=o+1;f=T)throw ue(new Wn("Missing trailing '"));f+1=14&&C<=16))?t.a._b(r)?(n.a?li(n.a,n.b):n.a=new Eh(n.d),P_(n.a,"[...]")):(g=Km(r),T=new G_(t),np(n,lwt(g,T))):De(r,183)?np(n,Kkn(l(r,183))):De(r,195)?np(n,Ixn(l(r,195))):De(r,201)?np(n,q9n(l(r,201))):De(r,2111)?np(n,Oxn(l(r,2111))):De(r,53)?np(n,Gkn(l(r,53))):De(r,376)?np(n,lTn(l(r,376))):De(r,846)?np(n,Vkn(l(r,846))):De(r,109)&&np(n,Ukn(l(r,109))):np(n,r==null?cl:Tc(r));return n.a?n.e.length==0?n.a.a:n.a.a+(""+n.e):n.c}function eE(e,t){var n,r,s,o;o=e.F,t==null?(e.F=null,_T(e,null)):(e.F=(tr(t),t),r=gd(t,ol(60)),r!=-1?(s=(Va(0,r,t.length),t.substr(0,r)),gd(t,ol(46))==-1&&!wn(s,Sx)&&!wn(s,_L)&&!wn(s,eK)&&!wn(s,AL)&&!wn(s,LL)&&!wn(s,ML)&&!wn(s,DL)&&!wn(s,IL)&&(s=U5t),n=Gq(t,ol(62)),n!=-1&&(s+=""+(Yn(n+1,t.length+1),t.substr(n+1))),_T(e,s)):(s=t,gd(t,ol(46))==-1&&(r=gd(t,ol(91)),r!=-1&&(s=(Va(0,r,t.length),t.substr(0,r))),!wn(s,Sx)&&!wn(s,_L)&&!wn(s,eK)&&!wn(s,AL)&&!wn(s,LL)&&!wn(s,ML)&&!wn(s,DL)&&!wn(s,IL)?(s=U5t,r!=-1&&(s+=""+(Yn(r,t.length+1),t.substr(r)))):s=t),_T(e,s),s==t&&(e.F=e.D))),e.Db&4&&!(e.Db&1)&&Bi(e,new _a(e,1,5,o,t))}function hwt(e,t){var n,r,s,o,f,g,w,T,C,L;if(w=t.length-1,g=(Yn(w,t.length),t.charCodeAt(w)),g==93){if(f=gd(t,ol(91)),f>=0)return s=y5n(e,(Va(1,f,t.length),t.substr(1,f-1))),C=(Va(f+1,w,t.length),t.substr(f+1,w-(f+1))),GIn(e,C,s)}else{if(n=-1,m_e==null&&(m_e=new RegExp("\\d")),m_e.test(String.fromCharCode(g))&&(n=L4e(t,ol(46),w-1),n>=0)){r=l(Uoe(e,Zht(e,(Va(1,n,t.length),t.substr(1,n-1))),!1),61),T=0;try{T=Oh((Yn(n+1,t.length+1),t.substr(n+1)),ao,Ni)}catch(F){throw F=ms(F),De(F,130)?(o=F,ue(new lU(o))):ue(F)}if(T>16==-10?n=l(e.Cb,292).Yk(t,n):e.Db>>16==-15&&(!t&&(t=(En(),td)),!T&&(T=(En(),td)),e.Cb.Yh()&&(w=new rp(e.Cb,1,13,T,t,x2(Kl(l(e.Cb,62)),e),!1),n?n.nj(w):n=w));else if(De(e.Cb,90))e.Db>>16==-23&&(De(t,90)||(t=(En(),Kf)),De(T,90)||(T=(En(),Kf)),e.Cb.Yh()&&(w=new rp(e.Cb,1,10,T,t,x2(fu(l(e.Cb,29)),e),!1),n?n.nj(w):n=w));else if(De(e.Cb,457))for(g=l(e.Cb,850),f=(!g.b&&(g.b=new Hz(new ise)),g.b),o=(r=new Xm(new Cr(f.a).a),new Uz(r));o.a.b;)s=l(zw(o.a).ld(),89),n=tE(s,NV(s,g),n)}return n}function yDn(e,t){var n,r,s,o,f,g,w,T,C,L,F;for(f=Ft(Pt(at(e,(Nt(),w4)))),F=l(at(e,x4),21),w=!1,T=!1,L=new ar((!e.c&&(e.c=new nt($l,e,9,9)),e.c));L.e!=L.i.gc()&&(!w||!T);){for(o=l(dr(L),123),g=0,s=ag(Lh(he(le(Fh,1),jn,20,0,[(!o.d&&(o.d=new An(js,o,8,5)),o.d),(!o.e&&(o.e=new An(js,o,7,4)),o.e)])));Rr(s)&&(r=l(yr(s),74),C=f&&Yw(r)&&Ft(Pt(at(r,kv))),n=Hvt((!r.b&&(r.b=new An(Sr,r,4,7)),r.b),o)?e==ds(vc(l(Oe((!r.c&&(r.c=new An(Sr,r,5,8)),r.c),0),84))):e==ds(vc(l(Oe((!r.b&&(r.b=new An(Sr,r,4,7)),r.b),0),84))),!((C||n)&&(++g,g>1))););(g>0||F.Hc((Pl(),kp))&&(!o.n&&(o.n=new nt(nc,o,1,7)),o.n).i>0)&&(w=!0),g>1&&(T=!0)}w&&t.Fc((Ho(),mf)),T&&t.Fc((Ho(),GL))}function fwt(e){var t,n,r,s,o,f,g,w,T,C,L,F;if(F=l(at(e,(bi(),Mv)),21),F.dc())return null;if(g=0,f=0,F.Hc((gh(),fF))){for(C=l(at(e,AM),101),r=2,n=2,s=2,o=2,t=ds(e)?l(at(ds(e),Lv),88):l(at(e,Lv),88),T=new ar((!e.c&&(e.c=new nt($l,e,9,9)),e.c));T.e!=T.i.gc();)if(w=l(dr(T),123),L=l(at(w,o7),64),L==(_t(),jc)&&(L=zke(w,t),Vi(w,o7,L)),C==(Pa(),Au))switch(L.g){case 1:r=b.Math.max(r,w.i+w.g);break;case 2:n=b.Math.max(n,w.j+w.f);break;case 3:s=b.Math.max(s,w.i+w.g);break;case 4:o=b.Math.max(o,w.j+w.f)}else switch(L.g){case 1:r+=w.g+2;break;case 2:n+=w.f+2;break;case 3:s+=w.g+2;break;case 4:o+=w.f+2}g=b.Math.max(r,s),f=b.Math.max(n,o)}return Zw(e,g,f,!0,!0)}function $le(e,t,n,r,s){var o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e;for(Ee=l(kc(vU(ji(new vn(null,new kn(t.d,16)),new eXe(n)),new tXe(n)),Il(new qr,new ht,new On,he(le(uc,1),it,108,0,[(Nl(),Cc)]))),15),L=Ni,C=ao,w=new K(t.b.j);w.a0,T?T&&(F=fe.p,f?++F:--F,L=l(Rt(fe.c.a,F),10),r=B0t(L),z=!(lle(r,ot,n[0])||aat(r,ot,n[0]))):z=!0),V=!1,Je=t.D.i,Je&&Je.c&&g.e&&(C=f&&Je.p>0||!f&&Je.p=0){for(w=null,g=new Ua(C.a,T+1);g.bf?1:bw(isNaN(0),isNaN(f)))<0&&(h0(Od),(b.Math.abs(f-1)<=Od||f==1||isNaN(f)&&isNaN(1)?0:f<1?-1:f>1?1:bw(isNaN(f),isNaN(1)))<0)&&(h0(Od),(b.Math.abs(0-g)<=Od||g==0||isNaN(0)&&isNaN(g)?0:0g?1:bw(isNaN(0),isNaN(g)))<0)&&(h0(Od),(b.Math.abs(g-1)<=Od||g==1||isNaN(g)&&isNaN(1)?0:g<1?-1:g>1?1:bw(isNaN(g),isNaN(1)))<0)),o)}function SDn(e){var t,n,r,s;if(n=e.D!=null?e.D:e.B,t=gd(n,ol(91)),t!=-1){r=(Va(0,t,n.length),n.substr(0,t)),s=new e2;do s.a+="[";while((t=Bk(n,91,++t))!=-1);wn(r,Sx)?s.a+="Z":wn(r,_L)?s.a+="B":wn(r,eK)?s.a+="C":wn(r,AL)?s.a+="D":wn(r,LL)?s.a+="F":wn(r,ML)?s.a+="I":wn(r,DL)?s.a+="J":wn(r,IL)?s.a+="S":(s.a+="L",s.a+=""+r,s.a+=";");try{return null}catch(o){if(o=ms(o),!De(o,63))throw ue(o)}}else if(gd(n,ol(46))==-1){if(wn(n,Sx))return th;if(wn(n,_L))return _l;if(wn(n,eK))return xf;if(wn(n,AL))return Oa;if(wn(n,LL))return j4;if(wn(n,ML))return Ur;if(wn(n,DL))return hm;if(wn(n,IL))return d7}return null}function _Dn(e,t){var n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot,At;for(e.e=t,g=_Tn(t),ot=new mt,r=new K(g);r.a=0&&J=T.c.c.length?C=_6e((Jn(),Bs),Aa):C=_6e((Jn(),Aa),Aa),C*=2,o=n.a.g,n.a.g=b.Math.max(o,o+(C-o)),f=n.b.g,n.b.g=b.Math.max(f,f+(C-f)),s=t}}function DDn(e){var t,n,r,s;for(Os(ji(new vn(null,new kn(e.a.b,16)),new zj),new yee),fxn(e),Os(ji(new vn(null,new kn(e.a.b,16)),new xee),new kee),e.c==(cp(),a9)&&(Os(ji(Pc(new vn(null,new kn(new pr(e.f),1)),new Tee),new Eee),new KYe(e)),Os(ji(gc(Pc(Pc(new vn(null,new kn(e.d.b,16)),new Cee),new qj),new See),new Hj),new YYe(e))),s=new lt(gs,gs),t=new lt(oa,oa),r=new K(e.a.b);r.a0&&(t.a+=To),eG(l(dr(g),167),t);for(t.a+=Yhe,w=new H8((!r.c&&(r.c=new An(Sr,r,5,8)),r.c));w.e!=w.i.gc();)w.e>0&&(t.a+=To),eG(l(dr(w),167),t);t.a+=")"}}function IDn(e,t,n){var r,s,o,f,g,w,T,C;for(w=new ar((!e.a&&(e.a=new nt(Li,e,10,11)),e.a));w.e!=w.i.gc();)for(g=l(dr(w),27),s=new lr(fr(fp(g).a.Kc(),new j));Rr(s);){if(r=l(yr(s),74),!r.b&&(r.b=new An(Sr,r,4,7)),!(r.b.i<=1&&(!r.c&&(r.c=new An(Sr,r,5,8)),r.c.i<=1)))throw ue(new O8("Graph must not contain hyperedges."));if(!HA(r)&&g!=vc(l(Oe((!r.c&&(r.c=new An(Sr,r,5,8)),r.c),0),84)))for(T=new git,mc(T,r),rt(T,(Cb(),Ux),r),qie(T,l(dc(zo(n.f,g)),153)),T8(T,l(or(n,vc(l(Oe((!r.c&&(r.c=new An(Sr,r,5,8)),r.c),0),84))),153)),wt(t.c,T),f=new ar((!r.n&&(r.n=new nt(nc,r,1,7)),r.n));f.e!=f.i.gc();)o=l(dr(f),135),C=new but(T,o.a),mc(C,o),rt(C,Ux,o),C.e.a=b.Math.max(o.g,1),C.e.b=b.Math.max(o.f,1),Gke(C),wt(t.d,C)}}function ODn(e,t,n){var r,s,o,f,g,w,T,C,L,F;switch(n.Ug("Node promotion heuristic",1),e.i=t,e.r=l(Q(t,(Nt(),Xb)),243),e.r!=(Nf(),C3)&&e.r!=E4?aIn(e):ISn(e),C=l(Q(e.i,oDe),17).a,o=new ld,e.r.g){case 2:case 1:ZT(e,o);break;case 3:for(e.r=FW,ZT(e,o),w=0,g=new K(e.b);g.ae.k&&(e.r=BB,ZT(e,o));break;case 4:for(e.r=FW,ZT(e,o),T=0,s=new K(e.c);s.ae.n&&(e.r=FB,ZT(e,o));break;case 6:F=da(b.Math.ceil(e.g.length*C/100)),ZT(e,new PYe(F));break;case 5:L=da(b.Math.ceil(e.e*C/100)),ZT(e,new BYe(L));break;case 8:Xwt(e,!0);break;case 9:Xwt(e,!1);break;default:ZT(e,o)}e.r!=C3&&e.r!=E4?nSn(e,t):k_n(e,t),n.Vg()}function NDn(e){var t,n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me;for(L=e.b,C=new Ua(L,0),wy(C,new vu(e)),Ee=!1,f=1;C.b0&&(F.d+=C.n.d,F.d+=C.d),F.a>0&&(F.a+=C.n.a,F.a+=C.d),F.b>0&&(F.b+=C.n.b,F.b+=C.d),F.c>0&&(F.c+=C.n.c,F.c+=C.d),F}function gwt(e,t,n){var r,s,o,f,g,w,T,C,L,F,z,V;for(F=n.d,L=n.c,o=new lt(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a),f=o.b,T=new K(e.a);T.a0&&(e.c[t.c.p][t.p].d+=Yl(e.i,24)*RP*.07000000029802322-.03500000014901161,e.c[t.c.p][t.p].a=e.c[t.c.p][t.p].d/e.c[t.c.p][t.p].b)}}function FDn(e){var t,n,r,s,o,f,g,w,T,C,L,F,z,V,J,te;for(V=new K(e);V.ar.d,r.d=b.Math.max(r.d,t),g&&n&&(r.d=b.Math.max(r.d,r.a),r.a=r.d+s);break;case 3:n=t>r.a,r.a=b.Math.max(r.a,t),g&&n&&(r.a=b.Math.max(r.a,r.d),r.d=r.a+s);break;case 2:n=t>r.c,r.c=b.Math.max(r.c,t),g&&n&&(r.c=b.Math.max(r.b,r.c),r.b=r.c+s);break;case 4:n=t>r.b,r.b=b.Math.max(r.b,t),g&&n&&(r.b=b.Math.max(r.b,r.c),r.c=r.b+s)}}}function bwt(e,t){var n,r,s,o,f,g,w,T,C;return T="",t.length==0?e.ne(kTe,Jle,-1,-1):(C=Hy(t),wn(C.substr(0,3),"at ")&&(C=(Yn(3,C.length+1),C.substr(3))),C=C.replace(/\[.*?\]/g,""),f=C.indexOf("("),f==-1?(f=C.indexOf("@"),f==-1?(T=C,C=""):(T=Hy((Yn(f+1,C.length+1),C.substr(f+1))),C=Hy((Va(0,f,C.length),C.substr(0,f))))):(n=C.indexOf(")",f),T=(Va(f+1,n,C.length),C.substr(f+1,n-(f+1))),C=Hy((Va(0,f,C.length),C.substr(0,f)))),f=gd(C,ol(46)),f!=-1&&(C=(Yn(f+1,C.length+1),C.substr(f+1))),(C.length==0||wn(C,"Anonymous function"))&&(C=Jle),g=Gq(T,ol(58)),s=L4e(T,ol(58),g-1),w=-1,r=-1,o=kTe,g!=-1&&s!=-1&&(o=(Va(0,s,T.length),T.substr(0,s)),w=Ort((Va(s+1,g,T.length),T.substr(s+1,g-(s+1)))),r=Ort((Yn(g+1,T.length+1),T.substr(g+1)))),e.ne(o,C,w,r))}function $Dn(e){var t,n,r,s,o,f,g,w,T,C,L;for(T=new K(e);T.a0||C.j==Zn&&C.e.c.length-C.g.c.length<0)){t=!1;break}for(s=new K(C.g);s.a=T&&Je>=te&&(F+=V.n.b+J.n.b+J.a.b-$e,++g));if(n)for(f=new K(Ee.e);f.a=T&&Je>=te&&(F+=V.n.b+J.n.b+J.a.b-$e,++g))}g>0&&(ot+=F/g,++z)}z>0?(t.a=s*ot/z,t.g=z):(t.a=0,t.g=0)}function qDn(e){var t,n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot,At;for(o=e.f.b,F=o.a,C=o.b,V=e.e.g,z=e.e.f,j5(e.e,o.a,o.b),ot=F/V,At=C/z,T=new ar(DH(e.e));T.e!=T.i.gc();)w=l(dr(T),135),Vu(w,w.i*ot),Gu(w,w.j*At);for(Ee=new ar(loe(e.e));Ee.e!=Ee.i.gc();)fe=l(dr(Ee),123),$e=fe.i,Je=fe.j,$e>0&&Vu(fe,$e*ot),Je>0&&Gu(fe,Je*At);for(vA(e.b,new Vg),t=new mt,g=new Xm(new Cr(e.c).a);g.b;)f=zw(g),r=l(f.ld(),74),n=l(f.md(),407).a,s=f6(r,!1,!1),L=upt(hg(r),sP(s),n),xP(L,s),Me=kpt(r),Me&&bc(t,Me,0)==-1&&(qn(t.c,Me),Qat(Me,(br(L.b!=0),l(L.a.a.c,8)),n));for(te=new Xm(new Cr(e.d).a);te.b;)J=zw(te),r=l(J.ld(),74),n=l(J.md(),407).a,s=f6(r,!1,!1),L=upt(Ib(r),BN(sP(s)),n),L=BN(L),xP(L,s),Me=Tpt(r),Me&&bc(t,Me,0)==-1&&(qn(t.c,Me),Qat(Me,(br(L.b!=0),l(L.c.b.c,8)),n))}function mwt(e,t,n,r){var s,o,f,g,w;return g=new sTe(t),OCn(g,r),s=!0,e&&e.pf((bi(),Lv))&&(o=l(e.of((bi(),Lv)),88),s=o==(ea(),J1)||o==hc||o==yc),bmt(g,!1),Uu(g.e.Rf(),new B4e(g,!1,s)),Toe(g,g.f,(e1(),Wc),(_t(),Xn)),Toe(g,g.f,Yc,Mr),Toe(g,g.g,Wc,Zn),Toe(g,g.g,Yc,sr),Vdt(g,Xn),Vdt(g,Mr),Wat(g,sr),Wat(g,Zn),vy(),f=g.A.Hc((gh(),D4))&&g.B.Hc((Xl(),gF))?udt(g):null,f&&qun(g.a,f),jDn(g),$7n(g),z7n(g),fDn(g),$_n(g),d8n(g),fue(g,Xn),fue(g,Mr),m_n(g),$Ln(g),n&&(x5n(g),g8n(g),fue(g,sr),fue(g,Zn),w=g.B.Hc((Xl(),RM)),c2t(g,w,Xn),c2t(g,w,Mr),u2t(g,w,sr),u2t(g,w,Zn),Os(new vn(null,new kn(new pi(g.i),0)),new Lc),Os(ji(new vn(null,N5e(g.r).a.oc()),new Fa),new Ra),Axn(g),g.e.Pf(g.o),Os(new vn(null,N5e(g.r).a.oc()),new ma)),g.o}function HDn(e){var t,n,r,s,o,f,g,w,T,C,L,F,z,V,J;for(T=gs,r=new K(e.a.b);r.a1)for(z=new Xke(V,Me,r),Za(Me,new _tt(e,z)),qn(f.c,z),L=Me.a.ec().Kc();L.Ob();)C=l(L.Pb(),42),sl(o,C.b);if(g.a.gc()>1)for(z=new Xke(V,g,r),Za(g,new Att(e,z)),qn(f.c,z),L=g.a.ec().Kc();L.Ob();)C=l(L.Pb(),42),sl(o,C.b)}}function KDn(e,t,n){var r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe;if(J=e.n,te=e.o,F=e.d,L=ze(Ge(Ry(e,(Nt(),xde)))),t){for(C=L*(t.gc()-1),z=0,w=t.Kc();w.Ob();)f=l(w.Pb(),10),C+=f.o.a,z=b.Math.max(z,f.o.b);for(fe=J.a-(C-te.a)/2,o=J.b-F.d+z,r=te.a/(t.gc()+1),s=r,g=t.Kc();g.Ob();)f=l(g.Pb(),10),f.n.a=fe,f.n.b=o-f.o.b,fe+=f.o.a+L,T=Sbt(f),T.n.a=f.o.a/2-T.a.a,T.n.b=f.o.b,V=l(Q(f,(ft(),hW)),12),V.e.c.length+V.g.c.length==1&&(V.n.a=s-V.a.a,V.n.b=0,Nc(V,e)),s+=r}if(n){for(C=L*(n.gc()-1),z=0,w=n.Kc();w.Ob();)f=l(w.Pb(),10),C+=f.o.a,z=b.Math.max(z,f.o.b);for(fe=J.a-(C-te.a)/2,o=J.b+te.b+F.a-z,r=te.a/(n.gc()+1),s=r,g=n.Kc();g.Ob();)f=l(g.Pb(),10),f.n.a=fe,f.n.b=o,fe+=f.o.a+L,T=Sbt(f),T.n.a=f.o.a/2-T.a.a,T.n.b=0,V=l(Q(f,(ft(),hW)),12),V.e.c.length+V.g.c.length==1&&(V.n.a=s-V.a.a,V.n.b=te.b,Nc(V,e)),s+=r}}function WDn(e,t){var n,r,s,o,f,g;if(l(Q(t,(ft(),_u)),21).Hc((Ho(),mf))){for(g=new K(t.a);g.a=0&&f0&&(l(Zo(e.b,t),127).a.b=n)}function ZDn(e,t,n,r){var s,o,f,g,w,T,C,L,F,z,V,J;if(F=ze(Ge(Q(e,(Nt(),WE)))),z=ze(Ge(Q(e,YE))),L=ze(Ge(Q(e,T4))),g=e.o,o=l(Rt(e.j,0),12),f=o.n,J=bkn(o,L),!!J){if(t.Hc((Pl(),kp)))switch(l(Q(e,(ft(),Xc)),64).g){case 1:J.c=(g.a-J.b)/2-f.a,J.d=z;break;case 3:J.c=(g.a-J.b)/2-f.a,J.d=-z-J.a;break;case 2:n&&o.e.c.length==0&&o.g.c.length==0?(C=r?J.a:l(Rt(o.f,0),72).o.b,J.d=(g.b-C)/2-f.b):J.d=g.b+z-f.b,J.c=-F-J.b;break;case 4:n&&o.e.c.length==0&&o.g.c.length==0?(C=r?J.a:l(Rt(o.f,0),72).o.b,J.d=(g.b-C)/2-f.b):J.d=g.b+z-f.b,J.c=F}else if(t.Hc(im))switch(l(Q(e,(ft(),Xc)),64).g){case 1:case 3:J.c=f.a+F;break;case 2:case 4:n&&!o.c?(C=r?J.a:l(Rt(o.f,0),72).o.b,J.d=(g.b-C)/2-f.b):J.d=f.b+z}for(s=J.d,T=new K(o.f);T.a=t.length)return{done:!0};var s=t[r++];return{value:[s,n.get(s)],done:!1}}}},XSn()||(e.prototype.createObject=function(){return{}},e.prototype.get=function(t){return this.obj[":"+t]},e.prototype.set=function(t,n){this.obj[":"+t]=n},e.prototype[Ehe]=function(t){delete this.obj[":"+t]},e.prototype.keys=function(){var t=[];for(var n in this.obj)n.charCodeAt(0)==58&&t.push(n.substring(1));return t}),e}function Zi(){Zi=U,pM=new Ki(JTe),new ws("DEPTH",bt(0)),Yde=new ws("FAN",bt(0)),yIe=new ws(Hyt,bt(0)),Zb=new ws("ROOT",(Hn(),!1)),Jde=new ws("LEFTNEIGHBOR",null),qEt=new ws("RIGHTNEIGHBOR",null),UW=new ws("LEFTSIBLING",null),Zde=new ws("RIGHTSIBLING",null),Wde=new ws("DUMMY",!1),new ws("LEVEL",bt(0)),TIe=new ws("REMOVABLE_EDGES",new os),HB=new ws("XCOOR",bt(0)),UB=new ws("YCOOR",bt(0)),VW=new ws("LEVELHEIGHT",0),o1=new ws("LEVELMIN",0),x0=new ws("LEVELMAX",0),Xde=new ws("GRAPH_XMIN",0),Qde=new ws("GRAPH_YMIN",0),xIe=new ws("GRAPH_XMAX",0),kIe=new ws("GRAPH_YMAX",0),wIe=new ws("COMPACT_LEVEL_ASCENSION",!1),Kde=new ws("COMPACT_CONSTRAINTS",new mt),gM=new ws("ID",""),bM=new ws("POSITION",bt(0)),N2=new ws("PRELIM",0),eC=new ws("MODIFIER",0),ZE=new Ki(tyt),qB=new Ki(nyt)}function rIn(e){$ke();var t,n,r,s,o,f,g,w,T,C,L,F,z,V,J,te;if(e==null)return null;if(L=e.length*8,L==0)return"";for(g=L%24,z=L/24|0,F=g!=0?z+1:z,o=null,o=We(xf,_d,28,F*4,15,1),T=0,C=0,t=0,n=0,r=0,f=0,s=0,w=0;w>24,T=(t&3)<<24>>24,V=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,J=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,te=r&-128?(r>>6^252)<<24>>24:r>>6<<24>>24,o[f++]=H2[V],o[f++]=H2[J|T<<4],o[f++]=H2[C<<2|te],o[f++]=H2[r&63];return g==8?(t=e[s],T=(t&3)<<24>>24,V=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,o[f++]=H2[V],o[f++]=H2[T<<4],o[f++]=61,o[f++]=61):g==16&&(t=e[s],n=e[s+1],C=(n&15)<<24>>24,T=(t&3)<<24>>24,V=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,J=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,o[f++]=H2[V],o[f++]=H2[J|T<<4],o[f++]=H2[C<<2],o[f++]=61),If(o,0,o.length)}function iIn(e,t){var n,r,s,o,f,g,w;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>ao&&S6e(t,e.p-Rb),f=t.q.getDate(),rN(t,1),e.k>=0&&G2n(t,e.k),e.c>=0?rN(t,e.c):e.k>=0?(w=new n8e(t.q.getFullYear()-Rb,t.q.getMonth(),35),r=35-w.q.getDate(),rN(t,b.Math.min(r,f))):rN(t,f),e.f<0&&(e.f=t.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),Fhn(t,e.f==24&&e.g?0:e.f),e.j>=0&&Avn(t,e.j),e.n>=0&&$vn(t,e.n),e.i>=0&&Snt(t,fo(go(tP(tu(t.q.getTime()),C2),C2),e.i)),e.a&&(s=new sq,S6e(s,s.q.getFullYear()-Rb-80),Sse(tu(t.q.getTime()),tu(s.q.getTime()))&&S6e(t,s.q.getFullYear()-Rb+100)),e.d>=0){if(e.c==-1)n=(7+e.d-t.q.getDay())%7,n>3&&(n-=7),g=t.q.getMonth(),rN(t,t.q.getDate()+n),t.q.getMonth()!=g&&rN(t,t.q.getDate()+(n>0?-7:7));else if(t.q.getDay()!=e.d)return!1}return e.o>ao&&(o=t.q.getTimezoneOffset(),Snt(t,fo(tu(t.q.getTime()),(e.o-o)*60*C2))),!0}function kwt(e,t){var n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e;if(s=Q(t,(ft(),zi)),!!De(s,207)){for(V=l(s,27),J=t.e,F=new xo(t.c),o=t.d,F.a+=o.b,F.b+=o.d,$e=l(at(V,(Nt(),LW)),181),ml($e,(Xl(),mY))&&(z=l(at(V,fDe),107),Rie(z,o.a),Pwe(z,o.d),jie(z,o.b),k8(z,o.c)),n=new mt,C=new K(t.a);C.ar.c.length-1;)wt(r,new fa(k6,LCe));n=l(Q(s,jd),17).a,Yg(l(Q(e,_3),88))?(s.e.aze(Ge((Sn(n,r.c.length),l(r.c[n],42)).b))&&ct((Sn(n,r.c.length),l(r.c[n],42)),s.e.a+s.f.a)):(s.e.bze(Ge((Sn(n,r.c.length),l(r.c[n],42)).b))&&ct((Sn(n,r.c.length),l(r.c[n],42)),s.e.b+s.f.b))}for(o=Fr(e.b,0);o.b!=o.d.c;)s=l(Pr(o),40),n=l(Q(s,(Vc(),jd)),17).a,rt(s,(Zi(),o1),Ge((Sn(n,r.c.length),l(r.c[n],42)).a)),rt(s,x0,Ge((Sn(n,r.c.length),l(r.c[n],42)).b));t.Vg()}function aIn(e){var t,n,r,s,o,f,g,w,T,C,L,F,z,V,J;for(e.o=ze(Ge(Q(e.i,(Nt(),E3)))),e.f=ze(Ge(Q(e.i,Sv))),e.j=e.i.b.c.length,g=e.j-1,F=0,e.k=0,e.n=0,e.b=O1(We(to,dt,17,e.j,0,1)),e.c=O1(We(ra,dt,345,e.j,7,1)),f=new K(e.i.b);f.a0&&wt(e.q,C),wt(e.p,C);t-=r,z=w+t,T+=t*e.f,nf(e.b,g,bt(z)),nf(e.c,g,T),e.k=b.Math.max(e.k,z),e.n=b.Math.max(e.n,T),e.e+=t,t+=J}}function _t(){_t=U;var e;jc=new _O(uL,0),Xn=new _O(lG,1),sr=new _O(Nhe,2),Mr=new _O(Phe,3),Zn=new _O(Bhe,4),ed=(Cn(),new Ck((e=l(G0(Mo),9),new Jh(e,l(o0(e,e.length),9),0)))),S0=p2(is(Xn,he(le(Mo,1),ou,64,0,[]))),wf=p2(is(sr,he(le(Mo,1),ou,64,0,[]))),$h=p2(is(Mr,he(le(Mo,1),ou,64,0,[]))),Hf=p2(is(Zn,he(le(Mo,1),ou,64,0,[]))),ll=p2(is(Xn,he(le(Mo,1),ou,64,0,[Mr]))),Ju=p2(is(sr,he(le(Mo,1),ou,64,0,[Zn]))),_0=p2(is(Xn,he(le(Mo,1),ou,64,0,[Zn]))),Rl=p2(is(Xn,he(le(Mo,1),ou,64,0,[sr]))),zh=p2(is(Mr,he(le(Mo,1),ou,64,0,[Zn]))),yf=p2(is(sr,he(le(Mo,1),ou,64,0,[Mr]))),jl=p2(is(Xn,he(le(Mo,1),ou,64,0,[sr,Zn]))),ul=p2(is(sr,he(le(Mo,1),ou,64,0,[Mr,Zn]))),hl=p2(is(Xn,he(le(Mo,1),ou,64,0,[Mr,Zn]))),Sl=p2(is(Xn,he(le(Mo,1),ou,64,0,[sr,Mr]))),Lu=p2(is(Xn,he(le(Mo,1),ou,64,0,[sr,Mr,Zn])))}function oIn(e,t){var n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot,At;for(t.Ug(kyt,1),J=new mt,ot=new mt,T=new K(e.b);T.a0&&(Me-=z),Qke(f,Me),C=0,F=new K(f.a);F.a0),g.a.Xb(g.c=--g.b)),w=.4*r*C,!o&&g.b0&&(w=(Yn(0,t.length),t.charCodeAt(0)),w!=64)){if(w==37&&(L=t.lastIndexOf("%"),T=!1,L!=0&&(L==F-1||(T=(Yn(L+1,t.length),t.charCodeAt(L+1)==46))))){if(f=(Va(1,L,t.length),t.substr(1,L-1)),Me=wn("%",f)?null:cTe(f),r=0,T)try{r=Oh((Yn(L+2,t.length+1),t.substr(L+2)),ao,Ni)}catch($e){throw $e=ms($e),De($e,130)?(g=$e,ue(new lU(g))):ue($e)}for(te=P7e(e.Gh());te.Ob();)if(V=RU(te),De(V,519)&&(s=l(V,598),Ee=s.d,(Me==null?Ee==null:wn(Me,Ee))&&r--==0))return s;return null}if(C=t.lastIndexOf("."),z=C==-1?t:(Va(0,C,t.length),t.substr(0,C)),n=0,C!=-1)try{n=Oh((Yn(C+1,t.length+1),t.substr(C+1)),ao,Ni)}catch($e){if($e=ms($e),De($e,130))z=t;else throw ue($e)}for(z=wn("%",z)?null:cTe(z),J=P7e(e.Gh());J.Ob();)if(V=RU(J),De(V,197)&&(o=l(V,197),fe=o.xe(),(z==null?fe==null:wn(z,fe))&&n--==0))return o;return null}return hwt(e,t)}function pIn(e){var t,n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee;for(C=new Nr,w=new Iw,r=new K(e.a.a.b);r.at.d.c){if(z=e.c[t.a.d],te=e.c[L.a.d],z==te)continue;g0(i0(r0(s0(n0(new _f,1),100),z),te))}}}}}function bIn(e,t){var n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot;if(F=l(l($i(e.r,t),21),87),t==(_t(),sr)||t==Zn){wwt(e,t);return}for(o=t==Xn?(qw(),hB):(qw(),fB),$e=t==Xn?(al(),s1):(al(),v0),n=l(Zo(e.b,t),127),r=n.i,s=r.c+Q5(he(le(Oa,1),tc,28,15,[n.n.b,e.C.b,e.k])),fe=r.c+r.b-Q5(he(le(Oa,1),tc,28,15,[n.n.c,e.C.c,e.k])),f=k3e(R4e(o),e.t),Ee=t==Xn?oa:gs,L=F.Kc();L.Ob();)T=l(L.Pb(),117),!(!T.c||T.c.d.c.length<=0)&&(te=T.b.Mf(),J=T.e,z=T.c,V=z.i,V.b=(w=z.n,z.e.a+w.b+w.c),V.a=(g=z.n,z.e.b+g.d+g.a),ZO($e,RTe),z.f=$e,J0(z,(Ol(),m0)),V.c=J.a-(V.b-te.a)/2,Je=b.Math.min(s,J.a),ot=b.Math.max(fe,J.a+te.a),V.cot&&(V.c=ot-V.b),wt(f.d,new Vae(V,L8e(f,V))),Ee=t==Xn?b.Math.max(Ee,J.b+T.b.Mf().b):b.Math.min(Ee,J.b));for(Ee+=t==Xn?e.t:-e.t,Me=W8e((f.e=Ee,f)),Me>0&&(l(Zo(e.b,t),127).a.b=Me),C=F.Kc();C.Ob();)T=l(C.Pb(),117),!(!T.c||T.c.d.c.length<=0)&&(V=T.c.i,V.c-=T.e.a,V.d-=T.e.b)}function mIn(e){var t,n,r,s,o,f,g,w,T,C,L,F,z;for(t=new Nr,w=new ar(e);w.e!=w.i.gc();){for(g=l(dr(w),27),n=new Ys,Ti(l1e,g,n),z=new Vp,s=l(kc(new vn(null,new Cw(new lr(fr(dP(g).a.Kc(),new j)))),qst(z,Il(new qr,new ht,new On,he(le(uc,1),it,108,0,[(Nl(),Cc)])))),85),kft(n,l(s.xc((Hn(),!0)),16),new J3),r=l(kc(ji(l(s.xc(!1),15).Lc(),new q9),Il(new qr,new ht,new On,he(le(uc,1),it,108,0,[Cc]))),15),f=r.Kc();f.Ob();)o=l(f.Pb(),74),F=kpt(o),F&&(T=l(dc(zo(t.f,F)),21),T||(T=Vbt(F),Ru(t.f,F,T)),Ga(n,T));for(s=l(kc(new vn(null,new Cw(new lr(fr(fp(g).a.Kc(),new j)))),qst(z,Il(new qr,new ht,new On,he(le(uc,1),it,108,0,[Cc])))),85),kft(n,l(s.xc(!0),16),new l5),r=l(kc(ji(l(s.xc(!1),15).Lc(),new Th),Il(new qr,new ht,new On,he(le(uc,1),it,108,0,[Cc]))),15),L=r.Kc();L.Ob();)C=l(L.Pb(),74),F=Tpt(C),F&&(T=l(dc(zo(t.f,F)),21),T||(T=Vbt(F),Ru(t.f,F,T)),Ga(n,T))}}function vIn(e,t){Mle();var n,r,s,o,f,g,w,T,C,L,F,z,V,J;if(w=su(e,0)<0,w&&(e=f2(e)),su(e,0)==0)switch(t){case 0:return"0";case 1:return oE;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return z=new lb,t<0?z.a+="0E+":z.a+="0E",z.a+=t==ao?"2147483648":""+-t,z.a}C=18,L=We(xf,_d,28,C+1,15,1),n=C,J=e;do T=J,J=tP(J,10),L[--n]=Yr(fo(48,Df(T,go(J,10))))&ta;while(su(J,0)!=0);if(s=Df(Df(Df(C,n),t),1),t==0)return w&&(L[--n]=45),If(L,n,C-n);if(t>0&&su(s,-6)>=0){if(su(s,0)>=0){for(o=n+Yr(s),g=C-1;g>=o;g--)L[g+1]=L[g];return L[++o]=46,w&&(L[--n]=45),If(L,n,C-n+1)}for(f=2;Sse(f,fo(f2(s),1));f++)L[--n]=48;return L[--n]=46,L[--n]=48,w&&(L[--n]=45),If(L,n,C-n)}return V=n+1,r=C,F=new A5,w&&(F.a+="-"),r-V>=1?(yb(F,L[n]),F.a+=".",F.a+=If(L,n+1,C-n-1)):F.a+=If(L,n,C-n),F.a+="E",su(s,0)>0&&(F.a+="+"),F.a+=""+X_(s),F.a}function Zw(e,t,n,r,s){var o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot;if(te=new lt(e.g,e.f),J=E9e(e),J.a=b.Math.max(J.a,t),J.b=b.Math.max(J.b,n),ot=J.a/te.a,C=J.b/te.b,$e=J.a-te.a,w=J.b-te.b,r)for(f=ds(e)?l(at(ds(e),(bi(),Lv)),88):l(at(e,(bi(),Lv)),88),g=qe(at(e,(bi(),AM)))===qe((Pa(),Au)),Ee=new ar((!e.c&&(e.c=new nt($l,e,9,9)),e.c));Ee.e!=Ee.i.gc();)switch(fe=l(dr(Ee),123),Me=l(at(fe,o7),64),Me==(_t(),jc)&&(Me=zke(fe,f),Vi(fe,o7,Me)),Me.g){case 1:g||Vu(fe,fe.i*ot);break;case 2:Vu(fe,fe.i+$e),g||Gu(fe,fe.j*C);break;case 3:g||Vu(fe,fe.i*ot),Gu(fe,fe.j+w);break;case 4:g||Gu(fe,fe.j*C)}if(j5(e,J.a,J.b),s)for(F=new ar((!e.n&&(e.n=new nt(nc,e,1,7)),e.n));F.e!=F.i.gc();)L=l(dr(F),135),z=L.i+L.g/2,V=L.j+L.f/2,Je=z/te.a,T=V/te.b,Je+T>=1&&(Je-T>0&&V>=0?(Vu(L,L.i+$e),Gu(L,L.j+w*T)):Je-T<0&&z>=0&&(Vu(L,L.i+$e*Je),Gu(L,L.j+w)));return Vi(e,(bi(),Mv),(gh(),o=l(G0(FM),9),new Jh(o,l(o0(o,o.length),9),0))),new lt(ot,C)}function Swt(e){fw(e,new iv(Zz(uw(aw(cw(ow(new x1,df),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new hu),df))),pt(e,df,PG,It(RCt)),pt(e,df,t4,It(jCt)),pt(e,df,T6,It(NCt)),pt(e,df,Bx,It(PCt)),pt(e,df,Px,It(BCt)),pt(e,df,gE,It(OCt)),pt(e,df,dL,It(JIe)),pt(e,df,pE,It(FCt)),pt(e,df,jfe,It(fge)),pt(e,df,Rfe,It(dge)),pt(e,df,qG,It(eOe)),pt(e,df,$fe,It(gge)),pt(e,df,zfe,It(tOe)),pt(e,df,WCe,It(nOe)),pt(e,df,KCe,It(ZIe)),pt(e,df,HCe,It(XW)),pt(e,df,UCe,It(QW)),pt(e,df,VCe,It(VB)),pt(e,df,GCe,It(rOe)),pt(e,df,qCe,It(QIe))}function tG(e){var t,n,r,s,o,f,g,w,T,C,L;if(e==null)throw ue(new dd(cl));if(T=e,o=e.length,w=!1,o>0&&(t=(Yn(0,e.length),e.charCodeAt(0)),(t==45||t==43)&&(e=(Yn(1,e.length+1),e.substr(1)),--o,w=t==45)),o==0)throw ue(new dd(n3+T+'"'));for(;e.length>0&&(Yn(0,e.length),e.charCodeAt(0)==48);)e=(Yn(1,e.length+1),e.substr(1)),--o;if(o>(rvt(),V6t)[10])throw ue(new dd(n3+T+'"'));for(s=0;s0&&(L=-parseInt((Va(0,r,e.length),e.substr(0,r)),10),e=(Yn(r,e.length+1),e.substr(r)),o-=r,n=!1);o>=f;){if(r=parseInt((Va(0,f,e.length),e.substr(0,f)),10),e=(Yn(f,e.length+1),e.substr(f)),o-=f,n)n=!1;else{if(su(L,g)<0)throw ue(new dd(n3+T+'"'));L=go(L,C)}L=Df(L,r)}if(su(L,0)>0)throw ue(new dd(n3+T+'"'));if(!w&&(L=f2(L),su(L,0)<0))throw ue(new dd(n3+T+'"'));return L}function cTe(e){Ble();var t,n,r,s,o,f,g,w;if(e==null)return null;if(s=gd(e,ol(37)),s<0)return e;for(w=new Eh((Va(0,s,e.length),e.substr(0,s))),t=We(_l,_6,28,4,15,1),g=0,r=0,f=e.length;ss+2&&Dce((Yn(s+1,e.length),e.charCodeAt(s+1)),$Pe,zPe)&&Dce((Yn(s+2,e.length),e.charCodeAt(s+2)),$Pe,zPe))if(n=jdn((Yn(s+1,e.length),e.charCodeAt(s+1)),(Yn(s+2,e.length),e.charCodeAt(s+2))),s+=2,r>0?(n&192)==128?t[g++]=n<<24>>24:r=0:n>=128&&((n&224)==192?(t[g++]=n<<24>>24,r=2):(n&240)==224?(t[g++]=n<<24>>24,r=3):(n&248)==240&&(t[g++]=n<<24>>24,r=4)),r>0){if(g==r){switch(g){case 2:{yb(w,((t[0]&31)<<6|t[1]&63)&ta);break}case 3:{yb(w,((t[0]&15)<<12|(t[1]&63)<<6|t[2]&63)&ta);break}}g=0,r=0}}else{for(o=0;o=2){if((!e.a&&(e.a=new nt(cs,e,6,6)),e.a).i==0)n=(fb(),s=new sk,s),zr((!e.a&&(e.a=new nt(cs,e,6,6)),e.a),n);else if((!e.a&&(e.a=new nt(cs,e,6,6)),e.a).i>1)for(F=new H8((!e.a&&(e.a=new nt(cs,e,6,6)),e.a));F.e!=F.i.gc();)$A(F);xP(t,l(Oe((!e.a&&(e.a=new nt(cs,e,6,6)),e.a),0),166))}if(L)for(r=new ar((!e.a&&(e.a=new nt(cs,e,6,6)),e.a));r.e!=r.i.gc();)for(n=l(dr(r),166),T=new ar((!n.a&&(n.a=new Qs(qh,n,5)),n.a));T.e!=T.i.gc();)w=l(dr(T),377),g.a=b.Math.max(g.a,w.a),g.b=b.Math.max(g.b,w.b);for(f=new ar((!e.n&&(e.n=new nt(nc,e,1,7)),e.n));f.e!=f.i.gc();)o=l(dr(f),135),C=l(at(o,DM),8),C&&Xh(o,C.a,C.b),L&&(g.a=b.Math.max(g.a,o.i+o.g),g.b=b.Math.max(g.b,o.j+o.f));return g}function Awt(e,t,n,r,s){var o,f,g;if(Lht(e,t),f=t[0],o=io(n.c,0),g=-1,s8e(n))if(r>0){if(f+r>e.length)return!1;g=MV((Va(0,f+r,e.length),e.substr(0,f+r)),t)}else g=MV(e,t);switch(o){case 71:return g=u6(e,f,he(le($t,1),dt,2,6,[d3t,g3t]),t),s.e=g,!0;case 77:return NSn(e,t,s,g,f);case 76:return PSn(e,t,s,g,f);case 69:return Skn(e,t,f,s);case 99:return _kn(e,t,f,s);case 97:return g=u6(e,f,he(le($t,1),dt,2,6,["AM","PM"]),t),s.b=g,!0;case 121:return BSn(e,t,f,g,n,s);case 100:return g<=0?!1:(s.c=g,!0);case 83:return g<0?!1:q5n(g,f,t[0],s);case 104:g==12&&(g=0);case 75:case 72:return g<0?!1:(s.f=g,s.g=!1,!0);case 107:return g<0?!1:(s.f=g,s.g=!0,!0);case 109:return g<0?!1:(s.j=g,!0);case 115:return g<0?!1:(s.n=g,!0);case 90:if(fln[w]&&(te=w),L=new K(e.a.b);L.a1;){if(s=_Cn(t),L=o.g,V=l(at(t,wM),107),J=ze(Ge(at(t,tY))),(!t.a&&(t.a=new nt(Li,t,10,11)),t.a).i>1&&ze(Ge(at(t,(fg(),kge))))!=gs&&(o.c+(V.b+V.c))/(o.b+(V.d+V.a))1&&ze(Ge(at(t,(fg(),xge))))!=gs&&(o.c+(V.b+V.c))/(o.b+(V.d+V.a))>J&&Vi(s,(fg(),_4),b.Math.max(ze(Ge(at(t,vM))),ze(Ge(at(s,_4)))-ze(Ge(at(t,xge))))),z=new pye(r,C),w=Wwt(z,s,F),T=w.g,T>=L&&T==T){for(f=0;f<(!s.a&&(s.a=new nt(Li,s,10,11)),s.a).i;f++)x2t(e,l(Oe((!s.a&&(s.a=new nt(Li,s,10,11)),s.a),f),27),l(Oe((!t.a&&(t.a=new nt(Li,t,10,11)),t.a),f),27));tft(t,z),D2n(o,w.c),M2n(o,w.b)}--g}Vi(t,(fg(),tC),o.b),Vi(t,e9,o.c),n.Vg()}function kIn(e,t){var n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee;for(t.Ug("Interactive node layering",1),n=new mt,F=new K(e.a);F.a=g){br(Ee.b>0),Ee.a.Xb(Ee.c=--Ee.b);break}else te.a>w&&(r?(aa(r.b,te.b),r.a=b.Math.max(r.a,te.a),fh(Ee)):(wt(te.b,C),te.c=b.Math.min(te.c,w),te.a=b.Math.max(te.a,g),r=te));r||(r=new xJe,r.c=w,r.a=g,wy(Ee,r),wt(r.b,C))}for(f=e.b,T=0,fe=new K(n);fe.az&&(o&&(yo(ot,F),yo(ln,bt(T.b-1))),ai=n.b,ys+=F+t,F=0,C=b.Math.max(C,n.b+n.c+cr)),Vu(g,ai),Gu(g,ys),C=b.Math.max(C,ai+cr+n.c),F=b.Math.max(F,L),ai+=cr+t;if(C=b.Math.max(C,r),$n=ys+F+n.a,$nMd,cn=b.Math.abs(F.b-V.b)>Md,(!n&&ln&&cn||n&&(ln||cn))&&ci(te.a,$e)),Ga(te.a,r),r.b==0?F=$e:F=(br(r.b!=0),l(r.c.b.c,8)),cyn(z,L,J),e0t(s)==At&&(Ja(At.i)!=s.a&&(J=new za,y9e(J,Ja(At.i),Ee)),rt(te,ude,J)),U9n(z,te,Ee),C.a.zc(z,C);ho(te,Je),Na(te,At)}for(T=C.a.ec().Kc();T.Ob();)w=l(T.Pb(),18),ho(w,null),Na(w,null);t.Vg()}function CIn(e,t){var n,r,s,o,f,g,w,T,C,L,F;for(s=l(Q(e,(Vc(),_3)),88),C=s==(ea(),hc)||s==yc?Q1:yc,n=l(kc(ji(new vn(null,new kn(e.b,16)),new TI),Il(new qr,new ht,new On,he(le(uc,1),it,108,0,[(Nl(),Cc)]))),15),w=l(kc(gc(n.Oc(),new qXe(t)),Il(new qr,new ht,new On,he(le(uc,1),it,108,0,[Cc]))),15),w.Gc(l(kc(gc(n.Oc(),new HXe(t)),Il(new qr,new ht,new On,he(le(uc,1),it,108,0,[Cc]))),16)),w.jd(new UXe(C)),F=new n2(new VXe(s)),r=new Nr,g=w.Kc();g.Ob();)f=l(g.Pb(),240),T=l(f.a,40),Ft(Pt(f.c))?(F.a.zc(T,(Hn(),Ub))==null,new wa(F.a.Zc(T,!1)).a.gc()>0&&Ti(r,T,l(new wa(F.a.Zc(T,!1)).a.Vc(),40)),new wa(F.a.ad(T,!0)).a.gc()>1&&Ti(r,idt(F,T),T)):(new wa(F.a.Zc(T,!1)).a.gc()>0&&(o=l(new wa(F.a.Zc(T,!1)).a.Vc(),40),qe(o)===qe(dc(zo(r.f,T)))&&l(Q(T,(Zi(),Kde)),15).Fc(o)),new wa(F.a.ad(T,!0)).a.gc()>1&&(L=idt(F,T),qe(dc(zo(r.f,L)))===qe(T)&&l(Q(L,(Zi(),Kde)),15).Fc(T)),F.a.Bc(T)!=null)}function Lwt(e){var t,n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e;if(e.gc()==1)return l(e.Xb(0),235);if(e.gc()<=0)return new tU;for(s=e.Kc();s.Ob();){for(n=l(s.Pb(),235),V=0,C=Ni,L=Ni,w=ao,T=ao,z=new K(n.e);z.ag&&(Me=0,$e+=f+fe,f=0),J_n(J,n,Me,$e),t=b.Math.max(t,Me+te.a),f=b.Math.max(f,te.b),Me+=te.a+fe;return J}function SIn(e){$ke();var t,n,r,s,o,f,g,w,T,C,L,F,z,V,J,te;if(e==null||(o=fU(e),V=e5n(o),V%4!=0))return null;if(J=V/4|0,J==0)return We(_l,_6,28,0,15,1);for(L=null,t=0,n=0,r=0,s=0,f=0,g=0,w=0,T=0,z=0,F=0,C=0,L=We(_l,_6,28,J*3,15,1);z>4)<<24>>24,L[F++]=((n&15)<<4|r>>2&15)<<24>>24,L[F++]=(r<<6|s)<<24>>24}return!cO(f=o[C++])||!cO(g=o[C++])?null:(t=nd[f],n=nd[g],w=o[C++],T=o[C++],nd[w]==-1||nd[T]==-1?w==61&&T==61?n&15?null:(te=We(_l,_6,28,z*3+1,15,1),gu(L,0,te,0,z*3),te[F]=(t<<2|n>>4)<<24>>24,te):w!=61&&T==61?(r=nd[w],r&3?null:(te=We(_l,_6,28,z*3+2,15,1),gu(L,0,te,0,z*3),te[F++]=(t<<2|n>>4)<<24>>24,te[F]=((n&15)<<4|r>>2&15)<<24>>24,te)):null:(r=nd[w],s=nd[T],L[F++]=(t<<2|n>>4)<<24>>24,L[F++]=((n&15)<<4|r>>2&15)<<24>>24,L[F++]=(r<<6|s)<<24>>24,L))}function _In(e,t){var n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je;for(t.Ug(kyt,1),V=l(Q(e,(Nt(),yp)),223),s=new K(e.b);s.a=2){for(J=!0,F=new K(o.j),n=l(re(F),12),z=null;F.a0)if(r=L.gc(),T=da(b.Math.floor((r+1)/2))-1,s=da(b.Math.ceil((r+1)/2))-1,t.o==Y1)for(C=s;C>=T;C--)t.a[$e.p]==$e&&(J=l(L.Xb(C),42),V=l(J.a,10),!K0(n,J.b)&&z>e.b.e[V.p]&&(t.a[V.p]=$e,t.g[$e.p]=t.g[V.p],t.a[$e.p]=t.g[$e.p],t.f[t.g[$e.p].p]=(Hn(),!!(Ft(t.f[t.g[$e.p].p])&$e.k==(Jn(),Aa))),z=e.b.e[V.p]));else for(C=T;C<=s;C++)t.a[$e.p]==$e&&(fe=l(L.Xb(C),42),te=l(fe.a,10),!K0(n,fe.b)&&z0&&(s=l(Rt(te.c.a,ot-1),10),f=e.i[s.p],ln=b.Math.ceil(z5(e.n,s,te)),o=Je.a.e-te.d.d-(f.a.e+s.o.b+s.d.a)-ln),T=gs,ot0&&At.a.e.e-At.a.a-(At.b.e.e-At.b.a)<0,V=Me.a.e.e-Me.a.a-(Me.b.e.e-Me.b.a)<0&&At.a.e.e-At.a.a-(At.b.e.e-At.b.a)>0,z=Me.a.e.e+Me.b.aAt.b.e.e+At.a.a,$e=0,!J&&!V&&(F?o+L>0?$e=L:T-r>0&&($e=r):z&&(o+g>0?$e=g:T-Ee>0&&($e=Ee))),Je.a.e+=$e,Je.b&&(Je.d.e+=$e),!1))}function Dwt(e,t,n){var r,s,o,f,g,w,T,C,L,F;if(r=new Zh(t.Lf().a,t.Lf().b,t.Mf().a,t.Mf().b),s=new z8,e.c)for(f=new K(t.Rf());f.aT&&(r.a+=srt(We(xf,_d,28,-T,15,1))),r.a+="Is",gd(w,ol(32))>=0)for(s=0;s=r.o.b/2}else Ee=!L;Ee?(fe=l(Q(r,(ft(),Jx)),15),fe?F?o=fe:(s=l(Q(r,Kx),15),s?fe.gc()<=s.gc()?o=fe:o=s:(o=new mt,rt(r,Kx,o))):(o=new mt,rt(r,Jx,o))):(s=l(Q(r,(ft(),Kx)),15),s?L?o=s:(fe=l(Q(r,Jx),15),fe?s.gc()<=fe.gc()?o=s:o=fe:(o=new mt,rt(r,Jx,o))):(o=new mt,rt(r,Kx,o))),o.Fc(e),rt(e,(ft(),hW),n),t.d==n?(Na(t,null),n.e.c.length+n.g.c.length==0&&Nc(n,null),Vyn(n)):(ho(t,null),n.e.c.length+n.g.c.length==0&&Nc(n,null)),Ch(t.a)}function DIn(e,t,n){var r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot,At,ln,cn,Fn,$n,cr,ai,ys;for(n.Ug("MinWidth layering",1),z=t.b,At=t.a,ys=l(Q(t,(Nt(),sDe)),17).a,g=l(Q(t,aDe),17).a,e.b=ze(Ge(Q(t,y0))),e.d=gs,$e=new K(At);$e.a<$e.c.c.length;)Ee=l(re($e),10),Ee.k==(Jn(),Bs)&&(Fn=Ee.o.b,e.d=b.Math.min(e.d,Fn));for(e.d=b.Math.max(1,e.d),ln=At.c.length,e.c=We(Ur,fi,28,ln,15,1),e.f=We(Ur,fi,28,ln,15,1),e.e=We(Oa,tc,28,ln,15,1),T=0,e.a=0,Je=new K(At);Je.a0?(T=0,te&&(T+=g),T+=(cn-1)*f,Me&&(T+=g),ln&&Me&&(T=b.Math.max(T,QCn(Me,f,Ee,At))),T=e.a&&(r=dLn(e,Ee),C=b.Math.max(C,r.b),$e=b.Math.max($e,r.d),wt(g,new fa(Ee,r)));for(ln=new mt,T=0;T0),te.a.Xb(te.c=--te.b),cn=new vu(e.b),wy(te,cn),br(te.b0){for(F=C<100?null:new hb(C),T=new q7e(t),V=T.g,fe=We(Ur,fi,28,C,15,1),r=0,$e=new Bw(C),s=0;s=0;)if(z!=null?Fi(z,V[w]):qe(z)===qe(V[w])){fe.length<=r&&(te=fe,fe=We(Ur,fi,28,2*fe.length,15,1),gu(te,0,fe,0,r)),fe[r++]=s,zr($e,V[w]);break e}if(z=z,qe(z)===qe(g))break}}if(T=$e,V=$e.g,C=r,r>fe.length&&(te=fe,fe=We(Ur,fi,28,r,15,1),gu(te,0,fe,0,r)),r>0){for(Me=!0,o=0;o=0;)wx(e,fe[f]);if(r!=C){for(s=C;--s>=r;)wx(T,s);te=fe,fe=We(Ur,fi,28,r,15,1),gu(te,0,fe,0,r)}t=T}}}else for(t=W7n(e,t),s=e.i;--s>=0;)t.Hc(e.g[s])&&(wx(e,s),Me=!0);if(Me){if(fe!=null){for(n=t.gc(),L=n==1?iA(e,4,t.Kc().Pb(),null,fe[0],J):iA(e,6,t,fe,fe[0],J),F=n<100?null:new hb(n),s=t.Kc();s.Ob();)z=s.Pb(),F=D4e(e,l(z,76),F);F?(F.nj(L),F.oj()):Bi(e.e,L)}else{for(F=e0n(t.gc()),s=t.Kc();s.Ob();)z=s.Pb(),F=D4e(e,l(z,76),F);F&&F.oj()}return!0}else return!1}function NIn(e,t){var n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me;for(n=new Xdt(t),n.a||uAn(t),T=a_n(t),w=new Iw,te=new Jbt,J=new K(t.a);J.a0||n.o==Y1&&s=n}function BIn(e,t,n){var r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot,At,ln,cn,Fn,$n,cr;for(Me=t,Ee=new Iw,$e=new Iw,C=Pw(Me,MSe),r=new sot(e,n,Ee,$e),nkn(r.a,r.b,r.c,r.d,C),w=(At=Ee.i,At||(Ee.i=new U5(Ee,Ee.c))),cn=w.Kc();cn.Ob();)for(ln=l(cn.Pb(),166),s=l($i(Ee,ln),21),J=s.Kc();J.Ob();)if(V=J.Pb(),Je=l(J5(e.d,V),166),Je)g=(!ln.e&&(ln.e=new An(cs,ln,10,9)),ln.e),zr(g,Je);else throw f=Zg(Me,Nd),F=Y4t+V+X4t+f,z=F+EE,ue(new fd(z));for(T=(ot=$e.i,ot||($e.i=new U5($e,$e.c))),$n=T.Kc();$n.Ob();)for(Fn=l($n.Pb(),166),o=l($i($e,Fn),21),fe=o.Kc();fe.Ob();)if(te=fe.Pb(),Je=l(J5(e.d,te),166),Je)L=(!Fn.g&&(Fn.g=new An(cs,Fn,9,10)),Fn.g),zr(L,Je);else throw f=Zg(Me,Nd),F=Y4t+te+X4t+f,z=F+EE,ue(new fd(z));!n.b&&(n.b=new An(Sr,n,4,7)),n.b.i!=0&&(!n.c&&(n.c=new An(Sr,n,5,8)),n.c.i!=0)&&(!n.b&&(n.b=new An(Sr,n,4,7)),n.b.i<=1&&(!n.c&&(n.c=new An(Sr,n,5,8)),n.c.i<=1))&&(!n.a&&(n.a=new nt(cs,n,6,6)),n.a).i==1&&(cr=l(Oe((!n.a&&(n.a=new nt(cs,n,6,6)),n.a),0),166),!yue(cr)&&!xue(cr)&&(_U(cr,l(Oe((!n.b&&(n.b=new An(Sr,n,4,7)),n.b),0),84)),AU(cr,l(Oe((!n.c&&(n.c=new An(Sr,n,5,8)),n.c),0),84))))}function FIn(e){var t,n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot,At,ln,cn,Fn;for(Me=e.a,$e=0,Je=Me.length;$e0?(L=l(Rt(F.c.a,f-1),10),ln=z5(e.b,F,L),te=F.n.b-F.d.d-(L.n.b+L.o.b+L.d.a+ln)):te=F.n.b-F.d.d,T=b.Math.min(te,T),f1&&(f=b.Math.min(f,b.Math.abs(l(hf(g.a,1),8).b-C.b)))));else for(J=new K(t.j);J.as&&(o=F.a-s,f=Ni,r.c.length=0,s=F.a),F.a>=s&&(qn(r.c,g),g.a.b>1&&(f=b.Math.min(f,b.Math.abs(l(hf(g.a,g.a.b-2),8).b-F.b)))));if(r.c.length!=0&&o>t.o.a/2&&f>t.o.b/2){for(z=new du,Nc(z,t),ga(z,(_t(),Xn)),z.n.a=t.o.a/2,fe=new du,Nc(fe,t),ga(fe,Mr),fe.n.a=t.o.a/2,fe.n.b=t.o.b,w=new K(r);w.a=T.b?ho(g,fe):ho(g,z)):(T=l(Adn(g.a),8),te=g.a.b==0?I1(g.c):l(a0(g.a),8),te.b>=T.b?Na(g,fe):Na(g,z)),L=l(Q(g,(Nt(),lc)),75),L&&Fy(L,T,!0);t.n.a=s-t.o.a/2}}function jIn(e,t,n){var r,s,o,f,g,w,T,C,L,F;for(g=Fr(e.b,0);g.b!=g.d.c;)if(f=l(Pr(g),40),!wn(f.c,jG))for(T=lEn(f,e),t==(ea(),hc)||t==yc?Gs(T,new gne):Gs(T,new pne),w=T.c.length,r=0;r=0?z=px(g):z=UN(px(g)),e.qf(GE,z)),T=new za,F=!1,e.pf(k3)?(t4e(T,l(e.of(k3),8)),F=!0):Yhn(T,f.a/2,f.b/2),z.g){case 4:rt(C,Qu,(lf(),Yb)),rt(C,dW,(Jm(),F6)),C.o.b=f.b,J<0&&(C.o.a=-J),ga(L,(_t(),sr)),F||(T.a=f.a),T.a-=f.a;break;case 2:rt(C,Qu,(lf(),b4)),rt(C,dW,(Jm(),jE)),C.o.b=f.b,J<0&&(C.o.a=-J),ga(L,(_t(),Zn)),F||(T.a=0);break;case 1:rt(C,wv,(ip(),j6)),C.o.a=f.a,J<0&&(C.o.b=-J),ga(L,(_t(),Mr)),F||(T.b=f.b),T.b-=f.b;break;case 3:rt(C,wv,(ip(),Gx)),C.o.a=f.a,J<0&&(C.o.b=-J),ga(L,(_t(),Xn)),F||(T.b=0)}if(t4e(L.n,T),rt(C,k3,T),t==Iv||t==_g||t==Au){if(V=0,t==Iv&&e.pf(D2))switch(z.g){case 1:case 2:V=l(e.of(D2),17).a;break;case 3:case 4:V=-l(e.of(D2),17).a}else switch(z.g){case 4:case 2:V=o.b,t==_g&&(V/=s.b);break;case 1:case 3:V=o.a,t==_g&&(V/=s.a)}rt(C,m3,V)}return rt(C,Xc,z),C}function $In(){S3e();function e(r){var s=this;this.dispatch=function(o){var f=o.data;switch(f.cmd){case"algorithms":var g=K8e((Cn(),new ja(new pi(am.b))));r.postMessage({id:f.id,data:g});break;case"categories":var w=K8e((Cn(),new ja(new pi(am.c))));r.postMessage({id:f.id,data:w});break;case"options":var T=K8e((Cn(),new ja(new pi(am.d))));r.postMessage({id:f.id,data:T});break;case"register":HMn(f.algorithms),r.postMessage({id:f.id});break;case"layout":vLn(f.graph,f.layoutOptions||{},f.options||{}),r.postMessage({id:f.id,data:f.graph});break}},this.saveDispatch=function(o){try{s.dispatch(o)}catch(f){r.postMessage({id:o.data.id,error:f})}}}function t(r){var s=this;this.dispatcher=new e({postMessage:function(o){s.onmessage({data:o})}}),this.postMessage=function(o){setTimeout(function(){s.dispatcher.saveDispatch({data:o})},0)}}if(typeof document===Ahe&&typeof self!==Ahe){var n=new e(self);self.onmessage=n.saveDispatch}else typeof d!==Ahe&&d.exports&&(Object.defineProperty(p,"__esModule",{value:!0}),d.exports={default:t,Worker:t})}function Fwt(e,t,n){var r,s,o,f,g,w,T,C,L,F;for(C=new hp(n),mc(C,t),rt(C,(ft(),zi),t),C.o.a=t.g,C.o.b=t.f,C.n.a=t.i,C.n.b=t.j,wt(n.a,C),Ti(e.a,t,C),((!t.a&&(t.a=new nt(Li,t,10,11)),t.a).i!=0||Ft(Pt(at(t,(Nt(),w4)))))&&rt(C,tMe,(Hn(),!0)),T=l(Q(n,_u),21),L=l(Q(C,(Nt(),Ds)),101),L==(Pa(),rm)?rt(C,Ds,Z1):L!=Z1&&T.Fc((Ho(),qE)),F=0,r=l(Q(n,Rh),88),w=new ar((!t.c&&(t.c=new nt($l,t,9,9)),t.c));w.e!=w.i.gc();)g=l(dr(w),123),s=ds(t),(qe(at(s,Tg))!==qe((kd(),I2))||qe(at(s,xv))===qe((w2(),RE))||qe(at(s,xv))===qe((w2(),FE))||Ft(Pt(at(s,w3)))||qe(at(s,m4))!==qe((tv(),h4))||qe(at(s,Xb))===qe((Nf(),C3))||qe(at(s,Xb))===qe((Nf(),E4))||qe(at(s,Tv))===qe((E2(),XE))||qe(at(s,Tv))===qe((E2(),QE)))&&!Ft(Pt(at(t,yW)))&&Vi(g,Yi,bt(F++)),Ft(Pt(at(g,Cv)))||XDn(e,g,C,T,r,L);for(f=new ar((!t.n&&(t.n=new nt(nc,t,1,7)),t.n));f.e!=f.i.gc();)o=l(dr(f),135),!Ft(Pt(at(o,Cv)))&&o.a&&wt(C.b,Kce(o));return Ft(Pt(Q(C,JL)))&&T.Fc((Ho(),cW)),Ft(Pt(Q(C,EW)))&&(T.Fc((Ho(),uW)),T.Fc(GL),rt(C,Ds,Z1)),C}function Hle(e,t,n,r,s,o,f){var g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot,At,ln,cn,Fn,$n,cr,ai,ys;for(J=0,Fn=0,T=new K(e.b);T.aJ&&(o&&(yo(ot,z),yo(ln,bt(C.b-1)),wt(e.d,V),g.c.length=0),ai=n.b,ys+=z+t,z=0,L=b.Math.max(L,n.b+n.c+cr)),qn(g.c,w),qdt(w,ai,ys),L=b.Math.max(L,ai+cr+n.c),z=b.Math.max(z,F),ai+=cr+t,V=w;if(aa(e.a,g),wt(e.d,l(Rt(g,g.c.length-1),163)),L=b.Math.max(L,r),$n=ys+z+n.a,$ns.d.d+s.d.a?C.f.d=!0:(C.f.d=!0,C.f.a=!0))),r.b!=r.d.c&&(t=n);C&&(o=l(or(e.f,f.d.i),60),t.bo.d.d+o.d.a?C.f.d=!0:(C.f.d=!0,C.f.a=!0))}for(g=new lr(fr(Ea(z).a.Kc(),new j));Rr(g);)f=l(yr(g),18),f.a.b!=0&&(t=l(a0(f.a),8),f.d.j==(_t(),Xn)&&(te=new JA(t,new lt(t.a,s.d.d),s,f),te.f.a=!0,te.a=f.d,qn(J.c,te)),f.d.j==Mr&&(te=new JA(t,new lt(t.a,s.d.d+s.d.a),s,f),te.f.d=!0,te.a=f.d,qn(J.c,te)))}return J}function GIn(e,t,n){var r,s,o,f,g,w,T,C,L,F;for(w=new mt,L=t.length,f=i8e(n),T=0;T=V&&(Ee>V&&(z.c.length=0,V=Ee),qn(z.c,f));z.c.length!=0&&(F=l(Rt(z,gV(t,z.c.length)),131),$n.a.Bc(F)!=null,F.s=J++,nke(F,cn,ot),z.c.length=0)}for($e=e.c.length+1,g=new K(e);g.aFn.s&&(fh(n),sl(Fn.i,r),r.c>0&&(r.a=Fn,wt(Fn.t,r),r.b=At,wt(At.i,r)))}function Rwt(e,t,n,r,s){var o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot,At,ln,cn,Fn,$n;for(J=new Pu(t.b),$e=new Pu(t.b),F=new Pu(t.b),ln=new Pu(t.b),te=new Pu(t.b),At=Fr(t,0);At.b!=At.d.c;)for(Je=l(Pr(At),12),g=new K(Je.g);g.a0,fe=Je.g.c.length>0,T&&fe?qn(F.c,Je):T?qn(J.c,Je):fe&&qn($e.c,Je);for(V=new K(J);V.aEe.nh()-T.b&&(F=Ee.nh()-T.b),z>Ee.oh()-T.d&&(z=Ee.oh()-T.d),C0){for(Me=Fr(e.f,0);Me.b!=Me.d.c;)Ee=l(Pr(Me),10),Ee.p+=F-e.e;x9e(e),Ch(e.f),bke(e,r,z)}else{for(ci(e.f,z),z.p=r,e.e=b.Math.max(e.e,r),o=new lr(fr(Ea(z).a.Kc(),new j));Rr(o);)s=l(yr(o),18),!s.c.i.c&&s.c.i.k==(Jn(),uu)&&(ci(e.f,s.c.i),s.c.i.p=r-1);e.c=r}else x9e(e),Ch(e.f),r=0,Rr(new lr(fr(Ea(z).a.Kc(),new j)))?(F=0,F=Kdt(F,z),r=F+2,bke(e,r,z)):(ci(e.f,z),z.p=0,e.e=b.Math.max(e.e,0),e.b=l(Rt(e.d.b,0),30),e.c=0);for(e.f.b==0||x9e(e),e.d.a.c.length=0,fe=new mt,T=new K(e.d.b);T.a=48&&t<=57){for(r=t-48;s=48&&t<=57;)if(r=r*10+t-48,r<0)throw ue(new ri(si((Jr(),HSe))))}else throw ue(new ri(si((Jr(),k5t))));if(n=r,t==44){if(s>=e.j)throw ue(new ri(si((Jr(),E5t))));if((t=io(e.i,s++))>=48&&t<=57){for(n=t-48;s=48&&t<=57;)if(n=n*10+t-48,n<0)throw ue(new ri(si((Jr(),HSe))));if(r>n)throw ue(new ri(si((Jr(),C5t))))}else n=-1}if(t!=125)throw ue(new ri(si((Jr(),T5t))));e.bm(s)?(o=(Ii(),Ii(),new _y(9,o)),e.d=s+1):(o=(Ii(),Ii(),new _y(3,o)),e.d=s),o.Om(r),o.Nm(n),Mi(e)}}return o}function JIn(e){var t,n,r,s,o;switch(n=l(Q(e,(ft(),_u)),21),t=zq(K8t),s=l(Q(e,(Nt(),v4)),346),s==(op(),F2)&&Dh(t,W8t),Ft(Pt(Q(e,vde)))?hi(t,(so(),w0),(po(),_1e)):hi(t,(so(),pu),(po(),_1e)),Q(e,(sU(),TM))!=null&&Dh(t,Y8t),(Ft(Pt(Q(e,nDe)))||Ft(Pt(Q(e,JMe))))&&wl(t,(so(),wc),(po(),QAe)),l(Q(e,Rh),88).g){case 2:case 3:case 4:wl(hi(t,(so(),w0),(po(),ZAe)),wc,JAe)}switch(n.Hc((Ho(),cW))&&wl(hi(hi(t,(so(),w0),(po(),XAe)),Cu,WAe),wc,YAe),qe(Q(e,Xb))!==qe((Nf(),BW))&&hi(t,(so(),pu),(po(),gLe)),n.Hc(lW)&&(hi(t,(so(),w0),(po(),vLe)),hi(t,xg,bLe),hi(t,pu,mLe)),qe(Q(e,vW))!==qe((HT(),VL))&&qe(Q(e,yp))!==qe((cp(),aF))&&wl(t,(so(),wc),(po(),cLe)),Ft(Pt(Q(e,eDe)))&&hi(t,(so(),pu),(po(),oLe)),Ft(Pt(Q(e,gde)))&&hi(t,(so(),pu),(po(),wLe)),hCn(e)&&(qe(Q(e,v4))===qe(F2)?r=l(Q(e,IB),299):r=l(Q(e,dde),299),o=r==(yT(),J1e)?(po(),pLe):(po(),kLe),hi(t,(so(),Cu),o)),l(Q(e,ADe),388).g){case 1:hi(t,(so(),Cu),(po(),yLe));break;case 2:wl(hi(hi(t,(so(),pu),(po(),UAe)),Cu,VAe),wc,GAe)}return qe(Q(e,Tg))!==qe((kd(),I2))&&hi(t,(so(),pu),(po(),xLe)),t}function qwt(e,t,n){var r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me;if(Hu(e.a,t)){if(K0(l(or(e.a,t),49),n))return 1}else Ti(e.a,t,new Ys);if(Hu(e.a,n)){if(K0(l(or(e.a,n),49),t))return-1}else Ti(e.a,n,new Ys);if(Hu(e.e,t)){if(K0(l(or(e.e,t),49),n))return-1}else Ti(e.e,t,new Ys);if(Hu(e.e,n)){if(K0(l(or(e.a,n),49),t))return 1}else Ti(e.e,n,new Ys);if(e.c==(kd(),Nde)||!rs(t,(ft(),Yi))||!rs(n,(ft(),Yi))){for(L=null,T=new K(t.j);T.af?XT(e,t,n):XT(e,n,t),sf?1:0}return r=l(Q(t,(ft(),Yi)),17).a,o=l(Q(n,Yi),17).a,r>o?XT(e,t,n):XT(e,n,t),ro?1:0}function e3(e,t,n){var r,s,o,f,g,w,T,C,L,F,z,V,J,te;if(n==null)return null;if(e.a!=t.jk())throw ue(new Wn(kE+t.xe()+c3));if(De(t,469)){if(te=HSn(l(t,685),n),!te)throw ue(new Wn(t0e+n+"' is not a valid enumerator of '"+t.xe()+"'"));return te}switch(b2((kl(),no),t).Nl()){case 2:{n=ku(n,!1);break}case 3:{n=ku(n,!0);break}}if(r=b2(no,t).Jl(),r)return r.jk().wi().ti(r,n);if(F=b2(no,t).Ll(),F){for(te=new mt,T=Rce(n),C=0,L=T.length;C1)for(V=new H8((!e.a&&(e.a=new nt(cs,e,6,6)),e.a));V.e!=V.i.gc();)$A(V);for(f=l(Oe((!e.a&&(e.a=new nt(cs,e,6,6)),e.a),0),166),te=ai,ai>Je+$e?te=Je+$e:aiot+J?fe=ot+J:ysJe-$e&&teot-J&&feai+cr?ln=ai+cr:Jeys+At?cn=ys+At:otai-cr&&lnys-At&&cnn&&(F=n-1),z=U2+Yl(t,24)*RP*L-L/2,z<0?z=1:z>r&&(z=r-1),s=(fb(),w=new LS,w),xU(s,F),yU(s,z),zr((!f.a&&(f.a=new Qs(qh,f,5)),f.a),s)}function Hwt(e){fw(e,new iv(uw(aw(cw(ow(new x1,Jl),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new u8))),pt(e,Jl,Nx,1.3),pt(e,Jl,dE,(Hn(),!1)),pt(e,Jl,r3,kOe),pt(e,Jl,t4,15),pt(e,Jl,NG,It(aSt)),pt(e,Jl,T6,It(uSt)),pt(e,Jl,Bx,It(hSt)),pt(e,Jl,Px,It(fSt)),pt(e,Jl,gE,It(cSt)),pt(e,Jl,dL,It(Ege)),pt(e,Jl,pE,It(dSt)),pt(e,Jl,rSe,It(SOe)),pt(e,Jl,iSe,It(COe)),pt(e,Jl,nSe,It(Sge)),pt(e,Jl,tSe,It(_Oe)),pt(e,Jl,sSe,It(xOe)),pt(e,Jl,aSe,It(Cge)),pt(e,Jl,oSe,It(yOe)),pt(e,Jl,cSe,It(EOe)),pt(e,Jl,fL,It(wOe)),pt(e,Jl,BG,It(oSt)),pt(e,Jl,ZCe,It(KB)),pt(e,Jl,JCe,It(vOe)),pt(e,Jl,eSe,It(WB)),pt(e,Jl,QCe,It(TOe))}function Vle(e,t){Mle();var n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot,At,ln,cn,Fn,$n,cr,ai;if(ln=e.e,V=e.d,s=e.a,ln==0)switch(t){case 0:return"0";case 1:return oE;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return ot=new lb,t<0?ot.a+="0E+":ot.a+="0E",ot.a+=-t,ot.a}if(Me=V*10+1+7,$e=We(xf,_d,28,Me+1,15,1),n=Me,V==1)if(g=s[0],g<0){ai=xa(g,Uo);do J=ai,ai=tP(ai,10),$e[--n]=48+Yr(Df(J,go(ai,10)))&ta;while(su(ai,0)!=0)}else{ai=g;do J=ai,ai=ai/10|0,$e[--n]=48+(J-ai*10)&ta;while(ai!=0)}else{Fn=We(Ur,fi,28,V,15,1),cr=V,gu(s,0,Fn,0,cr);e:for(;;){for(At=0,T=cr-1;T>=0;T--)$n=fo(u0(At,32),xa(Fn[T],Uo)),fe=zxn($n),Fn[T]=Yr(fe),At=Yr(Tw(fe,32));Ee=Yr(At),te=n;do $e[--n]=48+Ee%10&ta;while((Ee=Ee/10|0)!=0&&n!=0);for(r=9-te+n,w=0;w0;w++)$e[--n]=48;for(L=cr-1;Fn[L]==0;L--)if(L==0)break e;cr=L+1}for(;$e[n]==48;)++n}if(z=ln<0,f=Me-n-t-1,t==0)return z&&($e[--n]=45),If($e,n,Me-n);if(t>0&&f>=-6){if(f>=0){for(C=n+f,F=Me-1;F>=C;F--)$e[F+1]=$e[F];return $e[++C]=46,z&&($e[--n]=45),If($e,n,Me-n+1)}for(L=2;L<-f+1;L++)$e[--n]=48;return $e[--n]=46,$e[--n]=48,z&&($e[--n]=45),If($e,n,Me-n)}return cn=n+1,o=Me,Je=new A5,z&&(Je.a+="-"),o-cn>=1?(yb(Je,$e[n]),Je.a+=".",Je.a+=If($e,n+1,Me-n-1)):Je.a+=If($e,n,Me-n),Je.a+="E",f>0&&(Je.a+="+"),Je.a+=""+f,Je.a}function Uwt(e,t){var n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot;switch(e.c=t,e.g=new Nr,n=(dw(),new sw(e.c)),r=new t_(n),U8e(r),Me=Zr(at(e.c,(rP(),GOe))),w=l(at(e.c,Bge),324),Je=l(at(e.c,Fge),437),f=l(at(e.c,HOe),490),$e=l(at(e.c,Pge),438),e.j=ze(Ge(at(e.c,_St))),g=e.a,w.g){case 0:g=e.a;break;case 1:g=e.b;break;case 2:g=e.i;break;case 3:g=e.e;break;case 4:g=e.f;break;default:throw ue(new Wn(VG+(w.f!=null?w.f:""+w.g)))}if(e.d=new Fot(g,Je,f),rt(e.d,(mT(),$L),Pt(at(e.c,CSt))),e.d.c=Ft(Pt(at(e.c,UOe))),BH(e.c).i==0)return e.d;for(L=new ar(BH(e.c));L.e!=L.i.gc();){for(C=l(dr(L),27),z=C.g/2,F=C.f/2,ot=new lt(C.i+z,C.j+F);Hu(e.g,ot);)yw(ot,(b.Math.random()-.5)*Md,(b.Math.random()-.5)*Md);J=l(at(C,(bi(),rC)),140),te=new Qot(ot,new Zh(ot.a-z-e.j/2-J.b,ot.b-F-e.j/2-J.d,C.g+e.j+(J.b+J.c),C.f+e.j+(J.d+J.a))),wt(e.d.i,te),Ti(e.g,ot,new fa(te,C))}switch($e.g){case 0:if(Me==null)e.d.d=l(Rt(e.d.i,0),68);else for(Ee=new K(e.d.i);Ee.a0?cr+1:1);for(f=new K(ot.g);f.a0?cr+1:1)}e.c[T]==0?ci(e.e,J):e.a[T]==0&&ci(e.f,J),++T}for(V=-1,z=1,L=new mt,e.d=l(Q(t,(ft(),Qx)),234);Hh>0;){for(;e.e.b!=0;)ys=l(Bae(e.e),10),e.b[ys.p]=V--,Oke(e,ys),--Hh;for(;e.f.b!=0;)zl=l(Bae(e.f),10),e.b[zl.p]=z++,Oke(e,zl),--Hh;if(Hh>0){for(F=ao,Ee=new K(Me);Ee.a=F&&($e>F&&(L.c.length=0,F=$e),qn(L.c,J)));C=e.sg(L),e.b[C.p]=z++,Oke(e,C),--Hh}}for(ai=Me.c.length+1,T=0;Te.b[fc]&&(Jw(r,!0),rt(t,AB,(Hn(),!0)));e.a=null,e.c=null,e.b=null,Ch(e.f),Ch(e.e),n.Vg()}function Vwt(e,t,n){var r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot;for(Je=l(Oe((!e.a&&(e.a=new nt(cs,e,6,6)),e.a),0),166),C=new pl,$e=new Nr,ot=evt(Je),Ru($e.f,Je,ot),F=new Nr,r=new os,V=ag(Lh(he(le(Fh,1),jn,20,0,[(!t.d&&(t.d=new An(js,t,8,5)),t.d),(!t.e&&(t.e=new An(js,t,7,4)),t.e)])));Rr(V);){if(z=l(yr(V),74),(!e.a&&(e.a=new nt(cs,e,6,6)),e.a).i!=1)throw ue(new Wn(D4t+(!e.a&&(e.a=new nt(cs,e,6,6)),e.a).i));z!=e&&(te=l(Oe((!z.a&&(z.a=new nt(cs,z,6,6)),z.a),0),166),_s(r,te,r.c.b,r.c),J=l(dc(zo($e.f,te)),13),J||(J=evt(te),Ru($e.f,te,J)),L=n?ya(new xo(l(Rt(ot,ot.c.length-1),8)),l(Rt(J,J.c.length-1),8)):ya(new xo((Sn(0,ot.c.length),l(ot.c[0],8))),(Sn(0,J.c.length),l(J.c[0],8))),Ru(F.f,te,L))}if(r.b!=0)for(fe=l(Rt(ot,n?ot.c.length-1:0),8),T=1;T1&&_s(C,fe,C.c.b,C.c),uce(s)));fe=Ee}return C}function Gwt(e,t,n){var r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot,At,ln,cn,Fn;for(n.Ug(Gyt,1),Fn=l(kc(ji(new vn(null,new kn(t,16)),new xne),Il(new qr,new ht,new On,he(le(uc,1),it,108,0,[(Nl(),Cc)]))),15),C=l(kc(ji(new vn(null,new kn(t,16)),new KXe(t)),Il(new qr,new ht,new On,he(le(uc,1),it,108,0,[Cc]))),15),V=l(kc(ji(new vn(null,new kn(t,16)),new GXe(t)),Il(new qr,new ht,new On,he(le(uc,1),it,108,0,[Cc]))),15),J=We(HW,$G,40,t.gc(),0,1),f=0;f=0&&cn=0&&!J[z]){J[z]=s,C.gd(g),--g;break}if(z=cn-F,z=0&&!J[z]){J[z]=s,C.gd(g),--g;break}}for(V.jd(new kne),w=J.length-1;w>=0;w--)!J[w]&&!V.dc()&&(J[w]=l(V.Xb(0),40),V.gd(0));for(T=0;T=0;w--)ci(n,(Sn(w,f.c.length),l(f.c[w],8)));return n}function Wwt(e,t,n){var r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e;for(Me=ze(Ge(at(t,(fg(),_4)))),z=ze(Ge(at(t,vM))),F=ze(Ge(at(t,ZW))),B7e((!t.a&&(t.a=new nt(Li,t,10,11)),t.a)),fe=Rvt((!t.a&&(t.a=new nt(Li,t,10,11)),t.a),Me,e.b),te=0;teF&&ZN((Sn(F,t.c.length),l(t.c[F],186)),C),C=null;t.c.length>F&&(Sn(F,t.c.length),l(t.c[F],186)).a.c.length==0;)sl(t,(Sn(F,t.c.length),t.c[F]));if(!C){--f;continue}if(!Ft(Pt(l(Rt(C.b,0),27).of((z1(),WB))))&&kAn(t,V,o,C,te,n,F,r)){J=!0;continue}if(te){if(z=V.b,L=C.f,!Ft(Pt(l(Rt(C.b,0),27).of(WB)))&&$Mn(t,V,o,C,n,F,r,s)){if(J=!0,z=e.j){e.a=-1,e.c=1;return}if(t=io(e.i,e.d++),e.a=t,e.b==1){switch(t){case 92:if(r=10,e.d>=e.j)throw ue(new ri(si((Jr(),JG))));e.a=io(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d=e.j||io(e.i,e.d)!=63)break;if(++e.d>=e.j)throw ue(new ri(si((Jr(),g0e))));switch(t=io(e.i,e.d++),t){case 58:r=13;break;case 61:r=14;break;case 33:r=15;break;case 91:r=19;break;case 62:r=18;break;case 60:if(e.d>=e.j)throw ue(new ri(si((Jr(),g0e))));if(t=io(e.i,e.d++),t==61)r=16;else if(t==33)r=17;else throw ue(new ri(si((Jr(),i5t))));break;case 35:for(;e.d=e.j)throw ue(new ri(si((Jr(),JG))));e.a=io(e.i,e.d++);break;default:r=0}e.c=r}function cOn(e,t,n){var r,s,o,f,g,w,T,C,L,F,z,V,J,te;if(n.Ug("Process compaction",1),!!Ft(Pt(Q(t,(Vc(),_Ie))))){for(s=l(Q(t,_3),88),z=ze(Ge(Q(t,tge))),PLn(e,t,s),CIn(t,z/2/2),V=t.b,Wm(V,new jXe(s)),T=Fr(V,0);T.b!=T.d.c;)if(w=l(Pr(T),40),!Ft(Pt(Q(w,(Zi(),Zb))))){if(r=o_n(w,s),J=nLn(w,t),L=0,F=0,r)switch(te=r.e,s.g){case 2:L=te.a-z-w.f.a,J.e.a-z-w.f.aL&&(L=J.e.a+J.f.a+z),F=L+w.f.a;break;case 4:L=te.b-z-w.f.b,J.e.b-z-w.f.bL&&(L=J.e.b+J.f.b+z),F=L+w.f.b}else if(J)switch(s.g){case 2:L=J.e.a-z-w.f.a,F=L+w.f.a;break;case 1:L=J.e.a+J.f.a+z,F=L+w.f.a;break;case 4:L=J.e.b-z-w.f.b,F=L+w.f.b;break;case 3:L=J.e.b+J.f.b+z,F=L+w.f.b}qe(Q(t,ege))===qe((kA(),zB))?(o=L,f=F,g=ET(ji(new vn(null,new kn(e.a,16)),new Mtt(o,f))),g.a!=null?s==(ea(),hc)||s==yc?w.e.a=L:w.e.b=L:(s==(ea(),hc)||s==vf?g=ET(ji(aft(new vn(null,new kn(e.a,16))),new $Xe(o))):g=ET(ji(aft(new vn(null,new kn(e.a,16))),new zXe(o))),g.a!=null&&(s==hc||s==yc?w.e.a=ze(Ge((br(g.a!=null),l(g.a,42)).a)):w.e.b=ze(Ge((br(g.a!=null),l(g.a,42)).a)))),g.a!=null&&(C=bc(e.a,(br(g.a!=null),g.a),0),C>0&&C!=l(Q(w,jd),17).a&&(rt(w,wIe,(Hn(),!0)),rt(w,jd,bt(C))))):s==(ea(),hc)||s==yc?w.e.a=L:w.e.b=L}n.Vg()}}function Ywt(e){var t,n,r,s,o,f,g,w,T;for(e.b=1,Mi(e),t=null,e.c==0&&e.a==94?(Mi(e),t=(Ii(),Ii(),new _h(4)),xu(t,0,SE),g=new _h(4)):g=(Ii(),Ii(),new _h(4)),s=!0;(T=e.c)!=1;){if(T==0&&e.a==93&&!s){t&&(rL(t,g),g=t);break}if(n=e.a,r=!1,T==10)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:Xy(g,QT(n)),r=!0;break;case 105:case 73:case 99:case 67:n=(Xy(g,QT(n)),-1),n<0&&(r=!0);break;case 112:case 80:if(w=F9e(e,n),!w)throw ue(new ri(si((Jr(),p0e))));Xy(g,w),r=!0;break;default:n=vke(e)}else if(T==24&&!s){if(t&&(rL(t,g),g=t),o=Ywt(e),rL(g,o),e.c!=0||e.a!=93)throw ue(new ri(si((Jr(),g5t))));break}if(Mi(e),!r){if(T==0){if(n==91)throw ue(new ri(si((Jr(),zSe))));if(n==93)throw ue(new ri(si((Jr(),qSe))));if(n==45&&!s&&e.a!=93)throw ue(new ri(si((Jr(),b0e))))}if(e.c!=0||e.a!=45||n==45&&s)xu(g,n,n);else{if(Mi(e),(T=e.c)==1)throw ue(new ri(si((Jr(),ZG))));if(T==0&&e.a==93)xu(g,n,n),xu(g,45,45);else{if(T==0&&e.a==93||T==24)throw ue(new ri(si((Jr(),b0e))));if(f=e.a,T==0){if(f==91)throw ue(new ri(si((Jr(),zSe))));if(f==93)throw ue(new ri(si((Jr(),qSe))));if(f==45)throw ue(new ri(si((Jr(),b0e))))}else T==10&&(f=vke(e));if(Mi(e),n>f)throw ue(new ri(si((Jr(),m5t))));xu(g,n,f)}}}s=!1}if(e.c==1)throw ue(new ri(si((Jr(),ZG))));return l6(g),tL(g),e.b=0,Mi(e),g}function uOn(e,t,n){var r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je;if(n.Ug("Coffman-Graham Layering",1),t.a.c.length==0){n.Vg();return}for(Je=l(Q(t,(Nt(),iDe)),17).a,w=0,f=0,F=new K(t.a);F.a=Je||!r6n(fe,r))&&(r=Kat(t,C)),Ha(fe,r),o=new lr(fr(Ea(fe).a.Kc(),new j));Rr(o);)s=l(yr(o),18),!e.a[s.p]&&(J=s.c.i,--e.e[J.p],e.e[J.p]==0&&W8(qT(z,J),cE));for(T=C.c.length-1;T>=0;--T)wt(t.b,(Sn(T,C.c.length),l(C.c[T],30)));t.a.c.length=0,n.Vg()}function Xwt(e,t){var n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e;$e=!1;do for($e=!1,o=t?new pr(e.a.b).a.gc()-2:1;t?o>=0:ol(Q(te,Yi),17).a)&&(Me=!1);if(Me){for(w=t?o+1:o-1,g=T6e(e.a,bt(w)),f=!1,Ee=!0,r=!1,C=Fr(g,0);C.b!=C.d.c;)T=l(Pr(C),10),rs(T,Yi)?T.p!=L.p&&(f=f|(t?l(Q(T,Yi),17).al(Q(L,Yi),17).a),Ee=!1):!f&&Ee&&T.k==(Jn(),uu)&&(r=!0,t?F=l(yr(new lr(fr(Ea(T).a.Kc(),new j))),18).c.i:F=l(yr(new lr(fr(qs(T).a.Kc(),new j))),18).d.i,F==L&&(t?n=l(yr(new lr(fr(qs(T).a.Kc(),new j))),18).d.i:n=l(yr(new lr(fr(Ea(T).a.Kc(),new j))),18).c.i,(t?l(by(e.a,n),17).a-l(by(e.a,F),17).a:l(by(e.a,F),17).a-l(by(e.a,n),17).a)<=2&&(Ee=!1)));if(r&&Ee&&(t?n=l(yr(new lr(fr(qs(L).a.Kc(),new j))),18).d.i:n=l(yr(new lr(fr(Ea(L).a.Kc(),new j))),18).c.i,(t?l(by(e.a,n),17).a-l(by(e.a,L),17).a:l(by(e.a,L),17).a-l(by(e.a,n),17).a)<=2&&n.k==(Jn(),Bs)&&(Ee=!1)),f||Ee){for(J=_bt(e,L,t);J.a.gc()!=0;)V=l(J.a.ec().Kc().Pb(),10),J.a.Bc(V)!=null,Ga(J,_bt(e,V,t));--z,$e=!0}}}while($e)}function lOn(e){Wr(e.c,ui,he(le($t,1),dt,2,6,[oo,"http://www.w3.org/2001/XMLSchema#decimal"])),Wr(e.d,ui,he(le($t,1),dt,2,6,[oo,"http://www.w3.org/2001/XMLSchema#integer"])),Wr(e.e,ui,he(le($t,1),dt,2,6,[oo,"http://www.w3.org/2001/XMLSchema#boolean"])),Wr(e.f,ui,he(le($t,1),dt,2,6,[oo,"EBoolean",Ai,"EBoolean:Object"])),Wr(e.i,ui,he(le($t,1),dt,2,6,[oo,"http://www.w3.org/2001/XMLSchema#byte"])),Wr(e.g,ui,he(le($t,1),dt,2,6,[oo,"http://www.w3.org/2001/XMLSchema#hexBinary"])),Wr(e.j,ui,he(le($t,1),dt,2,6,[oo,"EByte",Ai,"EByte:Object"])),Wr(e.n,ui,he(le($t,1),dt,2,6,[oo,"EChar",Ai,"EChar:Object"])),Wr(e.t,ui,he(le($t,1),dt,2,6,[oo,"http://www.w3.org/2001/XMLSchema#double"])),Wr(e.u,ui,he(le($t,1),dt,2,6,[oo,"EDouble",Ai,"EDouble:Object"])),Wr(e.F,ui,he(le($t,1),dt,2,6,[oo,"http://www.w3.org/2001/XMLSchema#float"])),Wr(e.G,ui,he(le($t,1),dt,2,6,[oo,"EFloat",Ai,"EFloat:Object"])),Wr(e.I,ui,he(le($t,1),dt,2,6,[oo,"http://www.w3.org/2001/XMLSchema#int"])),Wr(e.J,ui,he(le($t,1),dt,2,6,[oo,"EInt",Ai,"EInt:Object"])),Wr(e.N,ui,he(le($t,1),dt,2,6,[oo,"http://www.w3.org/2001/XMLSchema#long"])),Wr(e.O,ui,he(le($t,1),dt,2,6,[oo,"ELong",Ai,"ELong:Object"])),Wr(e.Z,ui,he(le($t,1),dt,2,6,[oo,"http://www.w3.org/2001/XMLSchema#short"])),Wr(e.$,ui,he(le($t,1),dt,2,6,[oo,"EShort",Ai,"EShort:Object"])),Wr(e._,ui,he(le($t,1),dt,2,6,[oo,"http://www.w3.org/2001/XMLSchema#string"]))}function hOn(e,t,n,r,s,o,f){var g,w,T,C,L,F,z,V;return F=l(r.a,17).a,z=l(r.b,17).a,L=e.b,V=e.c,g=0,C=0,t==(ea(),hc)||t==yc?(C=yO($1t(Ey(gc(new vn(null,new kn(n.b,16)),new Ene),new une))),L.e.b+L.f.b/2>C?(T=++z,g=ze(Ge(uh(xy(gc(new vn(null,new kn(n.b,16)),new Ott(s,T)),new g$))))):(w=++F,g=ze(Ge(uh(X8(gc(new vn(null,new kn(n.b,16)),new Ntt(s,w)),new lne)))))):(C=yO($1t(Ey(gc(new vn(null,new kn(n.b,16)),new dne),new d$))),L.e.a+L.f.a/2>C?(T=++z,g=ze(Ge(uh(xy(gc(new vn(null,new kn(n.b,16)),new Dtt(s,T)),new hne))))):(w=++F,g=ze(Ge(uh(X8(gc(new vn(null,new kn(n.b,16)),new Itt(s,w)),new EI)))))),t==hc?(yo(e.a,new lt(ze(Ge(Q(L,(Zi(),o1))))-s,g)),yo(e.a,new lt(V.e.a+V.f.a+s+o,g)),yo(e.a,new lt(V.e.a+V.f.a+s+o,V.e.b+V.f.b/2)),yo(e.a,new lt(V.e.a+V.f.a,V.e.b+V.f.b/2))):t==yc?(yo(e.a,new lt(ze(Ge(Q(L,(Zi(),x0))))+s,L.e.b+L.f.b/2)),yo(e.a,new lt(L.e.a+L.f.a+s,g)),yo(e.a,new lt(V.e.a-s-o,g)),yo(e.a,new lt(V.e.a-s-o,V.e.b+V.f.b/2)),yo(e.a,new lt(V.e.a,V.e.b+V.f.b/2))):t==vf?(yo(e.a,new lt(g,ze(Ge(Q(L,(Zi(),o1))))-s)),yo(e.a,new lt(g,V.e.b+V.f.b+s+o)),yo(e.a,new lt(V.e.a+V.f.a/2,V.e.b+V.f.b+s+o)),yo(e.a,new lt(V.e.a+V.f.a/2,V.e.b+V.f.b+s))):(e.a.b==0||(l(a0(e.a),8).b=ze(Ge(Q(L,(Zi(),x0))))+s*l(f.b,17).a),yo(e.a,new lt(g,ze(Ge(Q(L,(Zi(),x0))))+s*l(f.b,17).a)),yo(e.a,new lt(g,V.e.b-s*l(f.a,17).a-o))),new fa(bt(F),bt(z))}function fOn(e){var t,n,r,s,o,f,g,w,T,C,L,F,z;if(f=!0,L=null,r=null,s=null,t=!1,z=lAt,T=null,o=null,g=0,w=due(e,g,qPe,HPe),w=0&&wn(e.substr(g,2),"//")?(g+=2,w=due(e,g,zM,qM),r=(Va(g,w,e.length),e.substr(g,w-g)),g=w):L!=null&&(g==e.length||(Yn(g,e.length),e.charCodeAt(g)!=47))&&(f=!1,w=Kye(e,ol(35),g),w==-1&&(w=e.length),r=(Va(g,w,e.length),e.substr(g,w-g)),g=w);if(!n&&g0&&io(C,C.length-1)==58&&(s=C,g=w)),gcle(o))&&(L=o);for(!L&&(L=(Sn(0,te.c.length),l(te.c[0],185))),J=new K(t.b);J.aL&&($n=0,cr+=C+At,C=0),$mt(Je,f,$n,cr),t=b.Math.max(t,$n+ot.a),C=b.Math.max(C,ot.b),$n+=ot.a+At;for($e=new Nr,n=new Nr,cn=new K(e);cn.a=-1900?1:0,n>=4?li(e,he(le($t,1),dt,2,6,[d3t,g3t])[g]):li(e,he(le($t,1),dt,2,6,["BC","AD"])[g]);break;case 121:I6n(e,n,r);break;case 77:Q_n(e,n,r);break;case 107:w=s.q.getHours(),w==0?ug(e,24,n):ug(e,w,n);break;case 83:lCn(e,n,s);break;case 69:C=r.q.getDay(),n==5?li(e,he(le($t,1),dt,2,6,["S","M","T","W","T","F","S"])[C]):n==4?li(e,he(le($t,1),dt,2,6,[hhe,fhe,dhe,ghe,phe,bhe,mhe])[C]):li(e,he(le($t,1),dt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[C]);break;case 97:s.q.getHours()>=12&&s.q.getHours()<24?li(e,he(le($t,1),dt,2,6,["AM","PM"])[1]):li(e,he(le($t,1),dt,2,6,["AM","PM"])[0]);break;case 104:L=s.q.getHours()%12,L==0?ug(e,12,n):ug(e,L,n);break;case 75:F=s.q.getHours()%12,ug(e,F,n);break;case 72:z=s.q.getHours(),ug(e,z,n);break;case 99:V=r.q.getDay(),n==5?li(e,he(le($t,1),dt,2,6,["S","M","T","W","T","F","S"])[V]):n==4?li(e,he(le($t,1),dt,2,6,[hhe,fhe,dhe,ghe,phe,bhe,mhe])[V]):n==3?li(e,he(le($t,1),dt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[V]):ug(e,V,1);break;case 76:J=r.q.getMonth(),n==5?li(e,he(le($t,1),dt,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[J]):n==4?li(e,he(le($t,1),dt,2,6,[ehe,the,nhe,rhe,Ax,ihe,she,ahe,ohe,che,uhe,lhe])[J]):n==3?li(e,he(le($t,1),dt,2,6,["Jan","Feb","Mar","Apr",Ax,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[J]):ug(e,J+1,n);break;case 81:te=r.q.getMonth()/3|0,n<4?li(e,he(le($t,1),dt,2,6,["Q1","Q2","Q3","Q4"])[te]):li(e,he(le($t,1),dt,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[te]);break;case 100:fe=r.q.getDate(),ug(e,fe,n);break;case 109:T=s.q.getMinutes(),ug(e,T,n);break;case 115:f=s.q.getSeconds(),ug(e,f,n);break;case 122:n<4?li(e,o.c[0]):li(e,o.c[1]);break;case 118:li(e,o.b);break;case 90:n<3?li(e,rTn(o)):n==3?li(e,cTn(o)):li(e,uTn(o.a));break;default:return!1}return!0}function fTe(e,t,n,r){var s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot,At,ln,cn,Fn,$n,cr,ai;if(Lmt(t),w=l(Oe((!t.b&&(t.b=new An(Sr,t,4,7)),t.b),0),84),C=l(Oe((!t.c&&(t.c=new An(Sr,t,5,8)),t.c),0),84),g=vc(w),T=vc(C),f=(!t.a&&(t.a=new nt(cs,t,6,6)),t.a).i==0?null:l(Oe((!t.a&&(t.a=new nt(cs,t,6,6)),t.a),0),166),At=l(or(e.a,g),10),$n=l(or(e.a,T),10),ln=null,cr=null,De(w,193)&&(ot=l(or(e.a,w),305),De(ot,12)?ln=l(ot,12):De(ot,10)&&(At=l(ot,10),ln=l(Rt(At.j,0),12))),De(C,193)&&(Fn=l(or(e.a,C),305),De(Fn,12)?cr=l(Fn,12):De(Fn,10)&&($n=l(Fn,10),cr=l(Rt($n.j,0),12))),!At||!$n)throw ue(new O8("The source or the target of edge "+t+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(J=new Dw,mc(J,t),rt(J,(ft(),zi),t),rt(J,(Nt(),lc),null),z=l(Q(r,_u),21),At==$n&&z.Fc((Ho(),KL)),ln||(Je=(qo(),$u),cn=null,f&&F5(l(Q(At,Ds),101))&&(cn=new lt(f.j,f.k),wut(cn,nN(t)),Kut(cn,n),Iy(T,g)&&(Je=Fl,Pi(cn,At.n))),ln=Mvt(At,cn,Je,r)),cr||(Je=(qo(),Fl),ai=null,f&&F5(l(Q($n,Ds),101))&&(ai=new lt(f.b,f.c),wut(ai,nN(t)),Kut(ai,n)),cr=Mvt($n,ai,Je,Ja($n))),ho(J,ln),Na(J,cr),(ln.e.c.length>1||ln.g.c.length>1||cr.e.c.length>1||cr.g.c.length>1)&&z.Fc((Ho(),GL)),F=new ar((!t.n&&(t.n=new nt(nc,t,1,7)),t.n));F.e!=F.i.gc();)if(L=l(dr(F),135),!Ft(Pt(at(L,Cv)))&&L.a)switch(te=Kce(L),wt(J.b,te),l(Q(te,Rd),278).g){case 1:case 2:z.Fc((Ho(),zE));break;case 0:z.Fc((Ho(),$E)),rt(te,Rd,(F1(),iC))}if(o=l(Q(r,ZL),322),fe=l(Q(r,AW),323),s=o==(gA(),CB)||fe==(NA(),Ide),f&&(!f.a&&(f.a=new Qs(qh,f,5)),f.a).i!=0&&s){for(Ee=sP(f),V=new pl,$e=Fr(Ee,0);$e.b!=$e.d.c;)Me=l(Pr($e),8),ci(V,new xo(Me));rt(J,aMe,V)}return J}function bOn(e,t,n,r){var s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot,At,ln,cn,Fn,$n,cr,ai,ys;for(cn=0,Fn=0,At=new Nr,Je=l(uh(xy(gc(new vn(null,new kn(e.b,16)),new fne),new wne)),17).a+1,ln=We(Ur,fi,28,Je,15,1),te=We(Ur,fi,28,Je,15,1),J=0;J1)for(g=cr+1;gT.b.e.b*(1-fe)+T.c.e.b*fe));V++);if(ot.gc()>0&&(ai=T.a.b==0?Xa(T.b.e):l(a0(T.a),8),Me=Pi(Xa(l(ot.Xb(ot.gc()-1),40).e),l(ot.Xb(ot.gc()-1),40).f),F=Pi(Xa(l(ot.Xb(0),40).e),l(ot.Xb(0),40).f),V>=ot.gc()-1&&ai.b>Me.b&&T.c.e.b>Me.b||V<=0&&ai.bT.b.e.a*(1-fe)+T.c.e.a*fe));V++);if(ot.gc()>0&&(ai=T.a.b==0?Xa(T.b.e):l(a0(T.a),8),Me=Pi(Xa(l(ot.Xb(ot.gc()-1),40).e),l(ot.Xb(ot.gc()-1),40).f),F=Pi(Xa(l(ot.Xb(0),40).e),l(ot.Xb(0),40).f),V>=ot.gc()-1&&ai.a>Me.a&&T.c.e.a>Me.a||V<=0&&ai.a=ze(Ge(Q(e,(Zi(),kIe))))&&++Fn):(z.f&&z.d.e.a<=ze(Ge(Q(e,(Zi(),Xde))))&&++cn,z.g&&z.c.e.a+z.c.f.a>=ze(Ge(Q(e,(Zi(),xIe))))&&++Fn)}else $e==0?N9e(T):$e<0&&(++ln[cr],++te[ys],$n=hOn(T,t,e,new fa(bt(cn),bt(Fn)),n,r,new fa(bt(te[ys]),bt(ln[cr]))),cn=l($n.a,17).a,Fn=l($n.b,17).a)}function mOn(e,t,n){var r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee;if(r=t,w=n,e.b&&r.j==(_t(),Zn)&&w.j==(_t(),Zn)&&(Ee=r,r=w,w=Ee),Hu(e.a,r)){if(K0(l(or(e.a,r),49),w))return 1}else Ti(e.a,r,new Ys);if(Hu(e.a,w)){if(K0(l(or(e.a,w),49),r))return-1}else Ti(e.a,w,new Ys);if(Hu(e.d,r)){if(K0(l(or(e.d,r),49),w))return-1}else Ti(e.d,r,new Ys);if(Hu(e.d,w)){if(K0(l(or(e.a,w),49),r))return 1}else Ti(e.d,w,new Ys);if(r.j!=w.j)return fe=shn(r.j,w.j),fe==-1?ff(e,w,r):ff(e,r,w),fe;if(r.e.c.length!=0&&w.e.c.length!=0){if(e.b&&(fe=g1t(r,w),fe!=0))return fe==-1?ff(e,w,r):fe==1&&ff(e,r,w),fe;if(o=l(Rt(r.e,0),18).c.i,C=l(Rt(w.e,0),18).c.i,o==C)return s=l(Q(l(Rt(r.e,0),18),(ft(),Yi)),17).a,T=l(Q(l(Rt(w.e,0),18),Yi),17).a,s>T?ff(e,r,w):ff(e,w,r),sT?1:0;for(V=e.c,J=0,te=V.length;JT?ff(e,r,w):ff(e,w,r),sT?1:0):e.b&&(fe=g1t(r,w),fe!=0)?(fe==-1?ff(e,w,r):fe==1&&ff(e,r,w),fe):(f=0,L=0,rs(l(Rt(r.g,0),18),Yi)&&(f=l(Q(l(Rt(r.g,0),18),Yi),17).a),rs(l(Rt(w.g,0),18),Yi)&&(L=l(Q(l(Rt(r.g,0),18),Yi),17).a),g&&g==F?Ft(Pt(Q(l(Rt(r.g,0),18),W1)))&&!Ft(Pt(Q(l(Rt(w.g,0),18),W1)))?(ff(e,r,w),1):!Ft(Pt(Q(l(Rt(r.g,0),18),W1)))&&Ft(Pt(Q(l(Rt(w.g,0),18),W1)))?(ff(e,w,r),-1):(f>L?ff(e,r,w):ff(e,w,r),fL?1:0):(e.f&&(e.f._b(g)&&(f=l(e.f.xc(g),17).a),e.f._b(F)&&(L=l(e.f.xc(F),17).a)),f>L?ff(e,r,w):ff(e,w,r),fL?1:0))):r.e.c.length!=0&&w.g.c.length!=0?(ff(e,r,w),1):r.g.c.length!=0&&w.e.c.length!=0?(ff(e,w,r),-1):rs(r,(ft(),Yi))&&rs(w,Yi)?(s=l(Q(r,Yi),17).a,T=l(Q(w,Yi),17).a,s>T?ff(e,r,w):ff(e,w,r),sT?1:0):(ff(e,w,r),-1)}function vOn(e){e.gb||(e.gb=!0,e.b=Uc(e,0),As(e.b,18),ss(e.b,19),e.a=Uc(e,1),As(e.a,1),ss(e.a,2),ss(e.a,3),ss(e.a,4),ss(e.a,5),e.o=Uc(e,2),As(e.o,8),As(e.o,9),ss(e.o,10),ss(e.o,11),ss(e.o,12),ss(e.o,13),ss(e.o,14),ss(e.o,15),ss(e.o,16),ss(e.o,17),ss(e.o,18),ss(e.o,19),ss(e.o,20),ss(e.o,21),ss(e.o,22),ss(e.o,23),oc(e.o),oc(e.o),oc(e.o),oc(e.o),oc(e.o),oc(e.o),oc(e.o),oc(e.o),oc(e.o),oc(e.o),e.p=Uc(e,3),As(e.p,2),As(e.p,3),As(e.p,4),As(e.p,5),ss(e.p,6),ss(e.p,7),oc(e.p),oc(e.p),e.q=Uc(e,4),As(e.q,8),e.v=Uc(e,5),ss(e.v,9),oc(e.v),oc(e.v),oc(e.v),e.w=Uc(e,6),As(e.w,2),As(e.w,3),As(e.w,4),ss(e.w,5),e.B=Uc(e,7),ss(e.B,1),oc(e.B),oc(e.B),oc(e.B),e.Q=Uc(e,8),ss(e.Q,0),oc(e.Q),e.R=Uc(e,9),As(e.R,1),e.S=Uc(e,10),oc(e.S),oc(e.S),oc(e.S),oc(e.S),oc(e.S),oc(e.S),oc(e.S),oc(e.S),oc(e.S),oc(e.S),oc(e.S),oc(e.S),oc(e.S),oc(e.S),oc(e.S),e.T=Uc(e,11),ss(e.T,10),ss(e.T,11),ss(e.T,12),ss(e.T,13),ss(e.T,14),oc(e.T),oc(e.T),e.U=Uc(e,12),As(e.U,2),As(e.U,3),ss(e.U,4),ss(e.U,5),ss(e.U,6),ss(e.U,7),oc(e.U),e.V=Uc(e,13),ss(e.V,10),e.W=Uc(e,14),As(e.W,18),As(e.W,19),As(e.W,20),ss(e.W,21),ss(e.W,22),ss(e.W,23),e.bb=Uc(e,15),As(e.bb,10),As(e.bb,11),As(e.bb,12),As(e.bb,13),As(e.bb,14),As(e.bb,15),As(e.bb,16),ss(e.bb,17),oc(e.bb),oc(e.bb),e.eb=Uc(e,16),As(e.eb,2),As(e.eb,3),As(e.eb,4),As(e.eb,5),As(e.eb,6),As(e.eb,7),ss(e.eb,8),ss(e.eb,9),e.ab=Uc(e,17),As(e.ab,0),As(e.ab,1),e.H=Uc(e,18),ss(e.H,0),ss(e.H,1),ss(e.H,2),ss(e.H,3),ss(e.H,4),ss(e.H,5),oc(e.H),e.db=Uc(e,19),ss(e.db,2),e.c=Ci(e,20),e.d=Ci(e,21),e.e=Ci(e,22),e.f=Ci(e,23),e.i=Ci(e,24),e.g=Ci(e,25),e.j=Ci(e,26),e.k=Ci(e,27),e.n=Ci(e,28),e.r=Ci(e,29),e.s=Ci(e,30),e.t=Ci(e,31),e.u=Ci(e,32),e.fb=Ci(e,33),e.A=Ci(e,34),e.C=Ci(e,35),e.D=Ci(e,36),e.F=Ci(e,37),e.G=Ci(e,38),e.I=Ci(e,39),e.J=Ci(e,40),e.L=Ci(e,41),e.M=Ci(e,42),e.N=Ci(e,43),e.O=Ci(e,44),e.P=Ci(e,45),e.X=Ci(e,46),e.Y=Ci(e,47),e.Z=Ci(e,48),e.$=Ci(e,49),e._=Ci(e,50),e.cb=Ci(e,51),e.K=Ci(e,52))}function wOn(e,t,n){var r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot,At,ln,cn,Fn,$n,cr;for(f=new os,ot=l(Q(n,(Nt(),Rh)),88),J=0,Ga(f,(!t.a&&(t.a=new nt(Li,t,10,11)),t.a));f.b!=0;)C=l(f.b==0?null:(br(f.b!=0),sf(f,f.a.a)),27),T=ds(C),(qe(at(T,Tg))!==qe((kd(),I2))||qe(at(T,xv))===qe((w2(),RE))||qe(at(T,xv))===qe((w2(),FE))||Ft(Pt(at(T,w3)))||qe(at(T,m4))!==qe((tv(),h4))||qe(at(T,Xb))===qe((Nf(),C3))||qe(at(T,Xb))===qe((Nf(),E4))||qe(at(T,Tv))===qe((E2(),XE))||qe(at(T,Tv))===qe((E2(),QE)))&&!Ft(Pt(at(C,yW)))&&Vi(C,(ft(),Yi),bt(J++)),fe=!Ft(Pt(at(C,Cv))),fe&&(F=(!C.a&&(C.a=new nt(Li,C,10,11)),C.a).i!=0,V=Wxn(C),z=qe(at(C,v4))===qe((op(),F2)),cr=!P1(C,(bi(),nC))||tlt(Zr(at(C,nC))),$e=null,cr&&z&&(F||V)&&($e=lvt(C),rt($e,Rh,ot),rs($e,OB)&&uZe(new Y8e(ze(Ge(Q($e,OB)))),$e),l(at(C,Ev),181).gc()!=0&&(L=$e,Os(new vn(null,(!C.c&&(C.c=new nt($l,C,9,9)),new kn(C.c,16))),new bYe(L)),nmt(C,$e))),At=n,ln=l(or(e.a,ds(C)),10),ln&&(At=ln.e),Me=Fwt(e,C,At),$e&&(Me.e=$e,$e.e=Me,Ga(f,(!C.a&&(C.a=new nt(Li,C,10,11)),C.a))));for(J=0,_s(f,t,f.c.b,f.c);f.b!=0;){for(o=l(f.b==0?null:(br(f.b!=0),sf(f,f.a.a)),27),w=new ar((!o.b&&(o.b=new nt(js,o,12,3)),o.b));w.e!=w.i.gc();)g=l(dr(w),74),Lmt(g),(qe(at(t,Tg))!==qe((kd(),I2))||qe(at(t,xv))===qe((w2(),RE))||qe(at(t,xv))===qe((w2(),FE))||Ft(Pt(at(t,w3)))||qe(at(t,m4))!==qe((tv(),h4))||qe(at(t,Xb))===qe((Nf(),C3))||qe(at(t,Xb))===qe((Nf(),E4))||qe(at(t,Tv))===qe((E2(),XE))||qe(at(t,Tv))===qe((E2(),QE)))&&Vi(g,(ft(),Yi),bt(J++)),Fn=vc(l(Oe((!g.b&&(g.b=new An(Sr,g,4,7)),g.b),0),84)),$n=vc(l(Oe((!g.c&&(g.c=new An(Sr,g,5,8)),g.c),0),84)),!(Ft(Pt(at(g,Cv)))||Ft(Pt(at(Fn,Cv)))||Ft(Pt(at($n,Cv))))&&(te=Yw(g)&&Ft(Pt(at(Fn,w4)))&&Ft(Pt(at(g,kv))),Je=o,te||Iy($n,Fn)?Je=Fn:Iy(Fn,$n)&&(Je=$n),At=n,ln=l(or(e.a,Je),10),ln&&(At=ln.e),Ee=fTe(e,g,Je,At),rt(Ee,(ft(),nMe),wSn(e,g,t,n)));if(z=qe(at(o,v4))===qe((op(),F2)),z)for(s=new ar((!o.a&&(o.a=new nt(Li,o,10,11)),o.a));s.e!=s.i.gc();)r=l(dr(s),27),cr=!P1(r,(bi(),nC))||tlt(Zr(at(r,nC))),cn=qe(at(r,v4))===qe(F2),cr&&cn&&_s(f,r,f.c.b,f.c)}}function ft(){ft=U;var e,t;zi=new Ki(JTe),nMe=new Ki("coordinateOrigin"),ode=new Ki("processors"),tMe=new ws("compoundNode",(Hn(),!1)),LB=new ws("insideConnections",!1),aMe=new Ki("originalBendpoints"),oMe=new Ki("originalDummyNodePosition"),cMe=new Ki("originalLabelEdge"),YL=new Ki("representedLabels"),WL=new Ki("endLabels"),Wx=new Ki("endLabel.origin"),Xx=new ws("labelSide",(Ih(),cF)),$6=new ws("maxEdgeThickness",0),W1=new ws("reversed",!1),Qx=new Ki(eyt),a1=new ws("longEdgeSource",null),$f=new ws("longEdgeTarget",null),p4=new ws("longEdgeHasLabelDummies",!1),MB=new ws("longEdgeBeforeLabelDummy",!1),dW=new ws("edgeConstraint",(Jm(),U1e)),b3=new Ki("inLayerLayoutUnit"),wv=new ws("inLayerConstraint",(ip(),_B)),Yx=new ws("inLayerSuccessorConstraint",new mt),sMe=new ws("inLayerSuccessorConstraintBetweenNonDummies",!1),Bl=new Ki("portDummy"),fW=new ws("crossingHint",bt(0)),_u=new ws("graphProperties",(t=l(G0(Q1e),9),new Jh(t,l(o0(t,t.length),9),0))),Xc=new ws("externalPortSide",(_t(),jc)),iMe=new ws("externalPortSize",new za),nde=new Ki("externalPortReplacedDummies"),gW=new Ki("externalPortReplacedDummy"),wp=new ws("externalPortConnections",(e=l(G0(Mo),9),new Jh(e,l(o0(e,e.length),9),0))),m3=new ws(V3t,0),eMe=new Ki("barycenterAssociates"),Jx=new Ki("TopSideComments"),Kx=new Ki("BottomSideComments"),hW=new Ki("CommentConnectionPort"),ide=new ws("inputCollect",!1),ade=new ws("outputCollect",!1),AB=new ws("cyclic",!1),rMe=new Ki("crossHierarchyMap"),ude=new Ki("targetOffset"),new ws("splineLabelSize",new za),q6=new Ki("spacings"),pW=new ws("partitionConstraint",!1),p3=new Ki("breakingPoint.info"),hMe=new Ki("splines.survivingEdge"),yv=new Ki("splines.route.start"),H6=new Ki("splines.edgeChain"),lMe=new Ki("originalPortConstraints"),v3=new Ki("selfLoopHolder"),HE=new Ki("splines.nsPortY"),Yi=new Ki("modelOrder"),sde=new Ki("longEdgeTargetNode"),Wb=new ws(Syt,!1),z6=new ws(Syt,!1),rde=new Ki("layerConstraints.hiddenNodes"),uMe=new Ki("layerConstraints.opposidePort"),cde=new Ki("targetNode.modelOrder")}function yOn(e,t,n,r){var s,o,f,g,w,T,C,L,F,z,V;for(L=Fr(e.b,0);L.b!=L.d.c;)if(C=l(Pr(L),40),!wn(C.c,jG))for(o=l(kc(new vn(null,new kn(LTn(C,e),16)),Il(new qr,new ht,new On,he(le(uc,1),it,108,0,[(Nl(),Cc)]))),15),t==(ea(),hc)||t==yc?o.jd(new bne):o.jd(new p$),V=o.gc(),s=0;s0&&(g=l(a0(l(o.Xb(s),65).a),8).a,F=C.e.a+C.f.a/2,w=l(a0(l(o.Xb(s),65).a),8).b,z=C.e.b+C.f.b/2,r>0&&b.Math.abs(w-z)/(b.Math.abs(g-F)/40)>50&&(z>w?yo(l(o.Xb(s),65).a,new lt(C.e.a+C.f.a+r/5.3,C.e.b+C.f.b*f-r/2)):yo(l(o.Xb(s),65).a,new lt(C.e.a+C.f.a+r/5.3,C.e.b+C.f.b*f+r/2)))),yo(l(o.Xb(s),65).a,new lt(C.e.a+C.f.a,C.e.b+C.f.b*f))):t==yc?(T=ze(Ge(Q(C,(Zi(),o1)))),C.e.a-r>T?yo(l(o.Xb(s),65).a,new lt(T-n,C.e.b+C.f.b*f)):l(o.Xb(s),65).a.b>0&&(g=l(a0(l(o.Xb(s),65).a),8).a,F=C.e.a+C.f.a/2,w=l(a0(l(o.Xb(s),65).a),8).b,z=C.e.b+C.f.b/2,r>0&&b.Math.abs(w-z)/(b.Math.abs(g-F)/40)>50&&(z>w?yo(l(o.Xb(s),65).a,new lt(C.e.a-r/5.3,C.e.b+C.f.b*f-r/2)):yo(l(o.Xb(s),65).a,new lt(C.e.a-r/5.3,C.e.b+C.f.b*f+r/2)))),yo(l(o.Xb(s),65).a,new lt(C.e.a,C.e.b+C.f.b*f))):t==vf?(T=ze(Ge(Q(C,(Zi(),x0)))),C.e.b+C.f.b+r0&&(g=l(a0(l(o.Xb(s),65).a),8).a,F=C.e.a+C.f.a/2,w=l(a0(l(o.Xb(s),65).a),8).b,z=C.e.b+C.f.b/2,r>0&&b.Math.abs(g-F)/(b.Math.abs(w-z)/40)>50&&(F>g?yo(l(o.Xb(s),65).a,new lt(C.e.a+C.f.a*f-r/2,C.e.b+r/5.3+C.f.b)):yo(l(o.Xb(s),65).a,new lt(C.e.a+C.f.a*f+r/2,C.e.b+r/5.3+C.f.b)))),yo(l(o.Xb(s),65).a,new lt(C.e.a+C.f.a*f,C.e.b+C.f.b))):(T=ze(Ge(Q(C,(Zi(),o1)))),e1t(l(o.Xb(s),65),e)?yo(l(o.Xb(s),65).a,new lt(C.e.a+C.f.a*f,l(a0(l(o.Xb(s),65).a),8).b)):C.e.b-r>T?yo(l(o.Xb(s),65).a,new lt(C.e.a+C.f.a*f,T-n)):l(o.Xb(s),65).a.b>0&&(g=l(a0(l(o.Xb(s),65).a),8).a,F=C.e.a+C.f.a/2,w=l(a0(l(o.Xb(s),65).a),8).b,z=C.e.b+C.f.b/2,r>0&&b.Math.abs(g-F)/(b.Math.abs(w-z)/40)>50&&(F>g?yo(l(o.Xb(s),65).a,new lt(C.e.a+C.f.a*f-r/2,C.e.b-r/5.3)):yo(l(o.Xb(s),65).a,new lt(C.e.a+C.f.a*f+r/2,C.e.b-r/5.3)))),yo(l(o.Xb(s),65).a,new lt(C.e.a+C.f.a*f,C.e.b)))}function bi(){bi=U;var e,t;nC=new Ki(h4t),c7=new Ki(f4t),vNe=(lg(),$ge),r_t=new mn(aCe,vNe),t7=new mn(Nx,null),i_t=new Ki(wSe),yNe=(rv(),is(Hge,he(le(Uge,1),it,298,0,[qge]))),ZB=new mn(NG,yNe),eF=new mn(JP,(Hn(),!1)),xNe=(ea(),J1),Lv=new mn(Afe,xNe),ENe=(cp(),rpe),TNe=new mn(QP,ENe),o_t=new mn(mSe,!1),_Ne=(op(),pY),i7=new mn(OG,_Ne),BNe=new mw(12),B2=new mn(r3,BNe),nF=new mn(fL,!1),Wge=new mn(BG,!1),rF=new mn(dL,!1),zNe=(Pa(),rm),AM=new mn(Whe,zNe),r9=new Ki(PG),iF=new Ki(qP),tpe=new Ki(pG),npe=new Ki(hL),ANe=new pl,A3=new mn(mCe,ANe),a_t=new mn(yCe,!1),c_t=new mn(xCe,!1),LNe=new a_,rC=new mn(TCe,LNe),hY=new mn(iCe,!1),f_t=new mn(d4t,1),r7=new Ki(g4t),n7=new Ki(p4t),LM=new mn(HP,!1),new mn(b4t,!0),bt(0),new mn(m4t,bt(100)),new mn(v4t,!1),bt(0),new mn(w4t,bt(4e3)),bt(0),new mn(y4t,bt(400)),new mn(x4t,!1),new mn(k4t,!1),new mn(T4t,!0),new mn(E4t,!1),wNe=(JU(),ope),s_t=new mn(vSe,wNe),d_t=new mn(KEe,10),g_t=new mn(WEe,10),VNe=new mn(zhe,20),p_t=new mn(YEe,10),GNe=new mn(Khe,2),KNe=new mn(_fe,10),WNe=new mn(XEe,0),fY=new mn(ZEe,5),YNe=new mn(QEe,1),XNe=new mn(JEe,1),Dv=new mn(t4,20),b_t=new mn(eCe,10),ZNe=new mn(tCe,10),i9=new Ki(nCe),JNe=new Dnt,QNe=new mn(ECe,JNe),l_t=new Ki(Mfe),FNe=!1,u_t=new mn(Lfe,FNe),DNe=new mw(5),MNe=new mn(uCe,DNe),INe=(Vy(),t=l(G0(Ko),9),new Jh(t,l(o0(t,t.length),9),0)),s7=new mn(gE,INe),jNe=(r6(),nm),RNe=new mn(fCe,jNe),Xge=new Ki(dCe),Qge=new Ki(gCe),Jge=new Ki(pCe),Yge=new Ki(bCe),ONe=(e=l(G0(FM),9),new Jh(e,l(o0(e,e.length),9),0)),Mv=new mn(T6,ONe),PNe=hn((Xl(),cC)),em=new mn(Px,PNe),NNe=new lt(0,0),a7=new mn(Bx,NNe),A4=new mn(dE,!1),kNe=(F1(),iC),Gge=new mn(vCe,kNe),Vge=new mn(bG,!1),bt(1),new mn(C4t,null),$Ne=new Ki(kCe),Zge=new Ki(wCe),UNe=(_t(),jc),o7=new mn(sCe,UNe),eh=new Ki(rCe),qNe=(Pl(),hn(im)),L4=new mn(pE,qNe),epe=new mn(lCe,!1),HNe=new mn(hCe,!0),gY=new mn(UP,1),ePe=new mn(ySe,null),sF=new mn(VP,150),dY=new mn(GP,1.414),s9=new mn(i3,null),m_t=new mn(xSe,1),tF=new mn(oCe,!1),Kge=new mn(cCe,!1),CNe=new mn(qhe,1),SNe=(SV(),spe),new mn(S4t,SNe),h_t=!0,w_t=(gx(),I4),y_t=I4,v_t=I4}function po(){po=U,ZAe=new Xs("DIRECTION_PREPROCESSOR",0),XAe=new Xs("COMMENT_PREPROCESSOR",1),O6=new Xs("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),S1e=new Xs("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),vLe=new Xs("PARTITION_PREPROCESSOR",4),jK=new Xs("LABEL_DUMMY_INSERTER",5),YK=new Xs("SELF_LOOP_PREPROCESSOR",6),d4=new Xs("LAYER_CONSTRAINT_PREPROCESSOR",7),bLe=new Xs("PARTITION_MIDPROCESSOR",8),oLe=new Xs("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),gLe=new Xs("NODE_PROMOTION",10),f4=new Xs("LAYER_CONSTRAINT_POSTPROCESSOR",11),mLe=new Xs("PARTITION_POSTPROCESSOR",12),iLe=new Xs("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),wLe=new Xs("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),UAe=new Xs("BREAKING_POINT_INSERTER",15),HK=new Xs("LONG_EDGE_SPLITTER",16),_1e=new Xs("PORT_SIDE_PROCESSOR",17),FK=new Xs("INVERTED_PORT_PROCESSOR",18),GK=new Xs("PORT_LIST_SORTER",19),xLe=new Xs("SORT_BY_INPUT_ORDER_OF_MODEL",20),VK=new Xs("NORTH_SOUTH_PORT_PREPROCESSOR",21),VAe=new Xs("BREAKING_POINT_PROCESSOR",22),pLe=new Xs(vyt,23),kLe=new Xs(wyt,24),KK=new Xs("SELF_LOOP_PORT_RESTORER",25),yLe=new Xs("SINGLE_EDGE_GRAPH_WRAPPER",26),RK=new Xs("IN_LAYER_CONSTRAINT_PROCESSOR",27),tLe=new Xs("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),fLe=new Xs("LABEL_AND_NODE_SIZE_PROCESSOR",29),hLe=new Xs("INNERMOST_NODE_MARGIN_CALCULATOR",30),XK=new Xs("SELF_LOOP_ROUTER",31),WAe=new Xs("COMMENT_NODE_MARGIN_CALCULATOR",32),BK=new Xs("END_LABEL_PREPROCESSOR",33),zK=new Xs("LABEL_DUMMY_SWITCHER",34),KAe=new Xs("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),DE=new Xs("LABEL_SIDE_SELECTOR",36),uLe=new Xs("HYPEREDGE_DUMMY_MERGER",37),sLe=new Xs("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),dLe=new Xs("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),qL=new Xs("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),QAe=new Xs("CONSTRAINTS_POSTPROCESSOR",41),YAe=new Xs("COMMENT_POSTPROCESSOR",42),lLe=new Xs("HYPERNODE_PROCESSOR",43),aLe=new Xs("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),qK=new Xs("LONG_EDGE_JOINER",45),WK=new Xs("SELF_LOOP_POSTPROCESSOR",46),GAe=new Xs("BREAKING_POINT_REMOVER",47),UK=new Xs("NORTH_SOUTH_PORT_POSTPROCESSOR",48),cLe=new Xs("HORIZONTAL_COMPACTOR",49),$K=new Xs("LABEL_DUMMY_REMOVER",50),nLe=new Xs("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),eLe=new Xs("END_LABEL_SORTER",52),kB=new Xs("REVERSED_EDGE_RESTORER",53),PK=new Xs("END_LABEL_POSTPROCESSOR",54),rLe=new Xs("HIERARCHICAL_NODE_RESIZER",55),JAe=new Xs("DIRECTION_POSTPROCESSOR",56)}function dTe(){dTe=U,kMe=(TN(),iW),I9t=new mn(cEe,kMe),U9t=new mn(uEe,(Hn(),!1)),AMe=(YH(),tde),Y9t=new mn(yG,AMe),lkt=new mn(lEe,!1),hkt=new mn(hEe,!0),i9t=new mn(fEe,!1),BMe=(xN(),Bde),Skt=new mn(dEe,BMe),bt(1),Nkt=new mn(gEe,bt(7)),Pkt=new mn(pEe,!1),V9t=new mn(bEe,!1),xMe=(w2(),q1e),D9t=new mn(tfe,xMe),DMe=(E2(),Ade),ukt=new mn(XP,DMe),LMe=(lf(),DB),tkt=new mn(mEe,LMe),bt(-1),ekt=new mn(vEe,null),bt(-1),nkt=new mn(wEe,bt(-1)),bt(-1),rkt=new mn(nfe,bt(4)),bt(-1),skt=new mn(rfe,bt(2)),MMe=(Nf(),BW),ckt=new mn(ife,MMe),bt(0),okt=new mn(sfe,bt(0)),J9t=new mn(afe,bt(Ni)),yMe=(gA(),UL),M9t=new mn(bL,yMe),p9t=new mn(yEe,!1),k9t=new mn(ofe,.1),A9t=new mn(cfe,!1),E9t=new mn(xEe,null),C9t=new mn(kEe,null),bt(-1),S9t=new mn(TEe,null),bt(-1),_9t=new mn(EEe,bt(-1)),bt(0),b9t=new mn(CEe,bt(40)),wMe=(yT(),Z1e),y9t=new mn(ufe,wMe),vMe=SB,m9t=new mn(xG,vMe),PMe=(NA(),iM),Ckt=new mn(E6,PMe),bkt=new Ki(kG),IMe=(bN(),aW),fkt=new mn(lfe,IMe),OMe=(nP(),oW),gkt=new mn(hfe,OMe),wkt=new mn(ffe,.3),xkt=new Ki(dfe),NMe=(jy(),PW),kkt=new mn(gfe,NMe),CMe=(FU(),Rde),F9t=new mn(SEe,CMe),SMe=(xA(),$de),R9t=new mn(_Ee,SMe),_Me=(AT(),oM),j9t=new mn(TG,_Me),z9t=new mn(EG,.2),P9t=new mn(pfe,2),Mkt=new mn(AEe,null),Ikt=new mn(LEe,10),Dkt=new mn(MEe,10),Okt=new mn(DEe,20),bt(0),_kt=new mn(IEe,bt(0)),bt(0),Akt=new mn(OEe,bt(0)),bt(0),Lkt=new mn(NEe,bt(0)),s9t=new mn(bfe,!1),gMe=(HT(),VL),o9t=new mn(PEe,gMe),dMe=(aU(),$1e),a9t=new mn(BEe,dMe),K9t=new mn(CG,!1),bt(0),G9t=new mn(mfe,bt(16)),bt(0),W9t=new mn(vfe,bt(5)),jMe=(zU(),Hde),tTt=new mn(bp,jMe),Bkt=new mn(SG,10),jkt=new mn(_G,1),RMe=(TU(),rW),Gkt=new mn(mL,RMe),qkt=new Ki(wfe),FMe=bt(1),bt(0),Ukt=new mn(yfe,FMe),$Me=(kU(),qde),sTt=new mn(AG,$Me),nTt=new Ki(LG),Qkt=new mn(MG,!0),Ykt=new mn(DG,2),Zkt=new mn(xfe,!0),EMe=(AV(),sW),N9t=new mn(FEe,EMe),TMe=(xx(),PE),O9t=new mn(REe,TMe),mMe=(kd(),I2),g9t=new mn(IG,mMe),d9t=new mn(jEe,!1),f9t=new mn($Ee,!1),pMe=(tv(),h4),c9t=new mn(kfe,pMe),bMe=(EA(),Lde),h9t=new mn(zEe,bMe),u9t=new mn(Tfe,0),l9t=new mn(Efe,0),Q9t=H1e,X9t=CB,ikt=OW,akt=OW,Z9t=_de,T9t=(op(),F2),L9t=UL,x9t=UL,v9t=UL,w9t=F2,mkt=sM,vkt=iM,dkt=iM,pkt=iM,ykt=Ode,Ekt=sM,Tkt=sM,$9t=(cp(),a9),q9t=a9,H9t=oM,B9t=aF,Fkt=JE,Rkt=C4,$kt=JE,zkt=C4,Kkt=JE,Wkt=C4,Hkt=z1e,Vkt=rW,aTt=JE,oTt=C4,rTt=JE,iTt=C4,Jkt=C4,Xkt=C4,eTt=C4}function xOn(e,t,n){var r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot,At,ln,cn,Fn,$n,cr,ai,ys,zl,fc,Hh,g7,U2,A0,L0,Pv,f9,fm,d9,zd,Mg,O3,g9,p7,qd,Bv,Ep,oLt,TBe,N3,XM,Epe,p9,QM,$4,JM,Cpe,cLt;for(TBe=0,ai=t,fc=0,U2=ai.length;fc0&&(e.a[zd.p]=TBe++)}for(QM=0,ys=n,Hh=0,A0=ys.length;Hh0;){for(zd=(br(p7.b>0),l(p7.a.Xb(p7.c=--p7.b),12)),g9=0,g=new K(zd.e);g.a0&&(zd.j==(_t(),Xn)?(e.a[zd.p]=QM,++QM):(e.a[zd.p]=QM+L0+f9,++f9))}QM+=f9}for(O3=new Nr,V=new pd,cr=t,zl=0,g7=cr.length;zlT.b&&(T.b=qd)):zd.i.c==oLt&&(qdT.c&&(T.c=qd));for(iT(J,0,J.length,null),p9=We(Ur,fi,28,J.length,15,1),r=We(Ur,fi,28,QM+1,15,1),fe=0;fe0;)At%2>0&&(s+=Cpe[At+1]),At=(At-1)/2|0,++Cpe[At];for(cn=We(sEt,jn,374,J.length*2,0,1),$e=0;$e0&&eN(zl.f),at(fe,ePe)!=null&&(g=l(at(fe,ePe),347),O3=g.Tg(fe),j5(fe,b.Math.max(fe.g,O3.a),b.Math.max(fe.f,O3.b)));if(A0=l(at(t,B2),107),z=t.g-(A0.b+A0.c),F=t.f-(A0.d+A0.a),qd.bh("Available Child Area: ("+z+"|"+F+")"),Vi(t,t7,z/F),Ndt(t,s,r.eh(g7)),l(at(t,s9),280)==xY&&(uTe(t),j5(t,A0.b+ze(Ge(at(t,r7)))+A0.c,A0.d+ze(Ge(at(t,n7)))+A0.a)),qd.bh("Executed layout algorithm: "+Zr(at(t,nC))+" on node "+t.k),l(at(t,s9),280)==I4){if(z<0||F<0)throw ue(new Zp("The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. "+t.k));for(P1(t,r7)||P1(t,n7)||uTe(t),J=ze(Ge(at(t,r7))),V=ze(Ge(at(t,n7))),qd.bh("Desired Child Area: ("+J+"|"+V+")"),Pv=z/J,f9=F/V,L0=b.Math.min(Pv,b.Math.min(f9,ze(Ge(at(t,m_t))))),Vi(t,gY,L0),qd.bh(t.k+" -- Local Scale Factor (X|Y): ("+Pv+"|"+f9+")"),$e=l(at(t,ZB),21),o=0,f=0,L0'?":wn(i5t,e)?"'(?<' or '(? toIndex: ",MTe=", toIndex: ",DTe="Index: ",ITe=", Size: ",uE="org.eclipse.elk.alg.common",ii={50:1},_3t="org.eclipse.elk.alg.common.compaction",A3t="Scanline/EventHandler",mg="org.eclipse.elk.alg.common.compaction.oned",L3t="CNode belongs to another CGroup.",M3t="ISpacingsHandler/1",Lhe="The ",Mhe=" instance has been finished already.",D3t="The direction ",I3t=" is not supported by the CGraph instance.",O3t="OneDimensionalCompactor",N3t="OneDimensionalCompactor/lambda$0$Type",P3t="Quadruplet",B3t="ScanlineConstraintCalculator",F3t="ScanlineConstraintCalculator/ConstraintsScanlineHandler",R3t="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",j3t="ScanlineConstraintCalculator/Timestamp",$3t="ScanlineConstraintCalculator/lambda$0$Type",Ad={178:1,46:1},Dhe="org.eclipse.elk.alg.common.compaction.options",Rc="org.eclipse.elk.core.data",OTe="org.eclipse.elk.polyomino.traversalStrategy",NTe="org.eclipse.elk.polyomino.lowLevelSort",PTe="org.eclipse.elk.polyomino.highLevelSort",BTe="org.eclipse.elk.polyomino.fill",Pf={134:1},Ihe="polyomino",cL="org.eclipse.elk.alg.common.networksimplex",vg={183:1,3:1,4:1},z3t="org.eclipse.elk.alg.common.nodespacing",cv="org.eclipse.elk.alg.common.nodespacing.cellsystem",lE="CENTER",q3t={217:1,336:1},FTe={3:1,4:1,5:1,603:1},Dx="LEFT",Ix="RIGHT",RTe="Vertical alignment cannot be null",jTe="BOTTOM",uG="org.eclipse.elk.alg.common.nodespacing.internal",uL="UNDEFINED",H1=.01,jP="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",H3t="LabelPlacer/lambda$0$Type",U3t="LabelPlacer/lambda$1$Type",V3t="portRatioOrPosition",hE="org.eclipse.elk.alg.common.overlaps",Ohe="DOWN",Ld="org.eclipse.elk.alg.common.polyomino",lG="NORTH",Nhe="EAST",Phe="SOUTH",Bhe="WEST",hG="org.eclipse.elk.alg.common.polyomino.structures",$Te="Direction",Fhe="Grid is only of size ",Rhe=". Requested point (",jhe=") is out of bounds.",fG=" Given center based coordinates were (",$P="org.eclipse.elk.graph.properties",G3t="IPropertyHolder",zTe={3:1,96:1,137:1},Ox="org.eclipse.elk.alg.common.spore",K3t="org.eclipse.elk.alg.common.utils",uv={205:1},y6="org.eclipse.elk.core",W3t="Connected Components Compaction",Y3t="org.eclipse.elk.alg.disco",dG="org.eclipse.elk.alg.disco.graph",$he="org.eclipse.elk.alg.disco.options",qTe="CompactionStrategy",HTe="org.eclipse.elk.disco.componentCompaction.strategy",UTe="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",VTe="org.eclipse.elk.disco.debug.discoGraph",GTe="org.eclipse.elk.disco.debug.discoPolys",X3t="componentCompaction",lv="org.eclipse.elk.disco",zhe="org.eclipse.elk.spacing.componentComponent",qhe="org.eclipse.elk.edge.thickness",Nx="org.eclipse.elk.aspectRatio",r3="org.eclipse.elk.padding",x6="org.eclipse.elk.alg.disco.transform",Hhe=1.5707963267948966,k6=17976931348623157e292,e4={3:1,4:1,5:1,198:1},Q3t={3:1,6:1,4:1,5:1,100:1,115:1},Uhe="org.eclipse.elk.alg.force",KTe="ComponentsProcessor",J3t="ComponentsProcessor/1",WTe="ElkGraphImporter/lambda$0$Type",zP="org.eclipse.elk.alg.force.graph",Z3t="Component Layout",YTe="org.eclipse.elk.alg.force.model",gG="org.eclipse.elk.force.model",XTe="org.eclipse.elk.force.iterations",QTe="org.eclipse.elk.force.repulsivePower",Vhe="org.eclipse.elk.force.temperature",Md=.001,Ghe="org.eclipse.elk.force.repulsion",lL="org.eclipse.elk.alg.force.options",fE=1.600000023841858,Yu="org.eclipse.elk.force",qP="org.eclipse.elk.priority",t4="org.eclipse.elk.spacing.nodeNode",Khe="org.eclipse.elk.spacing.edgeLabel",pG="org.eclipse.elk.randomSeed",hL="org.eclipse.elk.separateConnectedComponents",fL="org.eclipse.elk.interactive",Whe="org.eclipse.elk.portConstraints",bG="org.eclipse.elk.edgeLabels.inline",dL="org.eclipse.elk.omitNodeMicroLayout",dE="org.eclipse.elk.nodeSize.fixedGraphSize",Px="org.eclipse.elk.nodeSize.options",T6="org.eclipse.elk.nodeSize.constraints",gE="org.eclipse.elk.nodeLabels.placement",pE="org.eclipse.elk.portLabels.placement",HP="org.eclipse.elk.topdownLayout",UP="org.eclipse.elk.topdown.scaleFactor",VP="org.eclipse.elk.topdown.hierarchicalNodeWidth",GP="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",i3="org.eclipse.elk.topdown.nodeType",JTe="origin",eyt="random",tyt="boundingBox.upLeft",nyt="boundingBox.lowRight",ZTe="org.eclipse.elk.stress.fixed",eEe="org.eclipse.elk.stress.desiredEdgeLength",tEe="org.eclipse.elk.stress.dimension",nEe="org.eclipse.elk.stress.epsilon",rEe="org.eclipse.elk.stress.iterationLimit",jb="org.eclipse.elk.stress",ryt="ELK Stress",Bx="org.eclipse.elk.nodeSize.minimum",mG="org.eclipse.elk.alg.force.stress",iyt="Layered layout",Fx="org.eclipse.elk.alg.layered",KP="org.eclipse.elk.alg.layered.compaction.components",gL="org.eclipse.elk.alg.layered.compaction.oned",vG="org.eclipse.elk.alg.layered.compaction.oned.algs",hv="org.eclipse.elk.alg.layered.compaction.recthull",U1="org.eclipse.elk.alg.layered.components",Dd="NONE",iEe="MODEL_ORDER",ou={3:1,6:1,4:1,9:1,5:1,126:1},syt={3:1,6:1,4:1,5:1,150:1,100:1,115:1},wG="org.eclipse.elk.alg.layered.compound",ns={47:1},Tu="org.eclipse.elk.alg.layered.graph",Yhe=" -> ",ayt="Not supported by LGraph",sEe="Port side is undefined",Xhe={3:1,6:1,4:1,5:1,483:1,150:1,100:1,115:1},S2={3:1,6:1,4:1,5:1,150:1,199:1,210:1,100:1,115:1},oyt={3:1,6:1,4:1,5:1,150:1,2042:1,210:1,100:1,115:1},cyt=`([{"' \r -`,uyt=`)]}"' \r -`,lyt="The given string contains parts that cannot be parsed as numbers.",WP="org.eclipse.elk.core.math",hyt={3:1,4:1,140:1,214:1,423:1},fyt={3:1,4:1,107:1,214:1,423:1},_2="org.eclipse.elk.alg.layered.graph.transform",dyt="ElkGraphImporter",gyt="ElkGraphImporter/lambda$1$Type",pyt="ElkGraphImporter/lambda$2$Type",byt="ElkGraphImporter/lambda$4$Type",nr="org.eclipse.elk.alg.layered.intermediate",myt="Node margin calculation",vyt="ONE_SIDED_GREEDY_SWITCH",wyt="TWO_SIDED_GREEDY_SWITCH",Qhe="No implementation is available for the layout processor ",Jhe="IntermediateProcessorStrategy",Zhe="Node '",yyt="FIRST_SEPARATE",xyt="LAST_SEPARATE",kyt="Odd port side processing",ua="org.eclipse.elk.alg.layered.intermediate.compaction",pL="org.eclipse.elk.alg.layered.intermediate.greedyswitch",wg="org.eclipse.elk.alg.layered.p3order.counting",YP={230:1},Rx="org.eclipse.elk.alg.layered.intermediate.loops",Bh="org.eclipse.elk.alg.layered.intermediate.loops.ordering",$b="org.eclipse.elk.alg.layered.intermediate.loops.routing",aEe="org.eclipse.elk.alg.layered.intermediate.preserveorder",Id="org.eclipse.elk.alg.layered.intermediate.wrapping",cu="org.eclipse.elk.alg.layered.options",efe="INTERACTIVE",oEe="GREEDY",Tyt="DEPTH_FIRST",Eyt="EDGE_LENGTH",Cyt="SELF_LOOPS",Syt="firstTryWithInitialOrder",cEe="org.eclipse.elk.layered.directionCongruency",uEe="org.eclipse.elk.layered.feedbackEdges",yG="org.eclipse.elk.layered.interactiveReferencePoint",lEe="org.eclipse.elk.layered.mergeEdges",hEe="org.eclipse.elk.layered.mergeHierarchyEdges",fEe="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",dEe="org.eclipse.elk.layered.portSortingStrategy",gEe="org.eclipse.elk.layered.thoroughness",pEe="org.eclipse.elk.layered.unnecessaryBendpoints",bEe="org.eclipse.elk.layered.generatePositionAndLayerIds",tfe="org.eclipse.elk.layered.cycleBreaking.strategy",XP="org.eclipse.elk.layered.layering.strategy",mEe="org.eclipse.elk.layered.layering.layerConstraint",vEe="org.eclipse.elk.layered.layering.layerChoiceConstraint",wEe="org.eclipse.elk.layered.layering.layerId",nfe="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",rfe="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",ife="org.eclipse.elk.layered.layering.nodePromotion.strategy",sfe="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",afe="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",bL="org.eclipse.elk.layered.crossingMinimization.strategy",yEe="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",ofe="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",cfe="org.eclipse.elk.layered.crossingMinimization.semiInteractive",xEe="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",kEe="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",TEe="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",EEe="org.eclipse.elk.layered.crossingMinimization.positionId",CEe="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",ufe="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",xG="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",E6="org.eclipse.elk.layered.nodePlacement.strategy",kG="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",lfe="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",hfe="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",ffe="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",dfe="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",gfe="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",SEe="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",_Ee="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",TG="org.eclipse.elk.layered.edgeRouting.splines.mode",EG="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",pfe="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",AEe="org.eclipse.elk.layered.spacing.baseValue",LEe="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",MEe="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",DEe="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",IEe="org.eclipse.elk.layered.priority.direction",OEe="org.eclipse.elk.layered.priority.shortness",NEe="org.eclipse.elk.layered.priority.straightness",bfe="org.eclipse.elk.layered.compaction.connectedComponents",PEe="org.eclipse.elk.layered.compaction.postCompaction.strategy",BEe="org.eclipse.elk.layered.compaction.postCompaction.constraints",CG="org.eclipse.elk.layered.highDegreeNodes.treatment",mfe="org.eclipse.elk.layered.highDegreeNodes.threshold",vfe="org.eclipse.elk.layered.highDegreeNodes.treeHeight",bp="org.eclipse.elk.layered.wrapping.strategy",SG="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",_G="org.eclipse.elk.layered.wrapping.correctionFactor",mL="org.eclipse.elk.layered.wrapping.cutting.strategy",wfe="org.eclipse.elk.layered.wrapping.cutting.cuts",yfe="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",AG="org.eclipse.elk.layered.wrapping.validify.strategy",LG="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",MG="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",DG="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",xfe="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",FEe="org.eclipse.elk.layered.edgeLabels.sideSelection",REe="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",IG="org.eclipse.elk.layered.considerModelOrder.strategy",jEe="org.eclipse.elk.layered.considerModelOrder.portModelOrder",$Ee="org.eclipse.elk.layered.considerModelOrder.noModelOrder",kfe="org.eclipse.elk.layered.considerModelOrder.components",zEe="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",Tfe="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",Efe="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",Cfe="layering",_yt="layering.minWidth",Ayt="layering.nodePromotion",bE="crossingMinimization",OG="org.eclipse.elk.hierarchyHandling",Lyt="crossingMinimization.greedySwitch",Myt="nodePlacement",Dyt="nodePlacement.bk",Iyt="edgeRouting",QP="org.eclipse.elk.edgeRouting",V1="spacing",qEe="priority",HEe="compaction",Oyt="compaction.postCompaction",Nyt="Specifies whether and how post-process compaction is applied.",UEe="highDegreeNodes",VEe="wrapping",Pyt="wrapping.cutting",Byt="wrapping.validify",GEe="wrapping.multiEdge",Sfe="edgeLabels",vL="considerModelOrder",KEe="org.eclipse.elk.spacing.commentComment",WEe="org.eclipse.elk.spacing.commentNode",YEe="org.eclipse.elk.spacing.edgeEdge",_fe="org.eclipse.elk.spacing.edgeNode",XEe="org.eclipse.elk.spacing.labelLabel",QEe="org.eclipse.elk.spacing.labelPortHorizontal",JEe="org.eclipse.elk.spacing.labelPortVertical",ZEe="org.eclipse.elk.spacing.labelNode",eCe="org.eclipse.elk.spacing.nodeSelfLoop",tCe="org.eclipse.elk.spacing.portPort",nCe="org.eclipse.elk.spacing.individual",rCe="org.eclipse.elk.port.borderOffset",iCe="org.eclipse.elk.noLayout",sCe="org.eclipse.elk.port.side",JP="org.eclipse.elk.debugMode",aCe="org.eclipse.elk.alignment",oCe="org.eclipse.elk.insideSelfLoops.activate",cCe="org.eclipse.elk.insideSelfLoops.yo",Afe="org.eclipse.elk.direction",uCe="org.eclipse.elk.nodeLabels.padding",lCe="org.eclipse.elk.portLabels.nextToPortIfPossible",hCe="org.eclipse.elk.portLabels.treatAsGroup",fCe="org.eclipse.elk.portAlignment.default",dCe="org.eclipse.elk.portAlignment.north",gCe="org.eclipse.elk.portAlignment.south",pCe="org.eclipse.elk.portAlignment.west",bCe="org.eclipse.elk.portAlignment.east",NG="org.eclipse.elk.contentAlignment",mCe="org.eclipse.elk.junctionPoints",vCe="org.eclipse.elk.edgeLabels.placement",wCe="org.eclipse.elk.port.index",yCe="org.eclipse.elk.commentBox",xCe="org.eclipse.elk.hypernode",kCe="org.eclipse.elk.port.anchor",Lfe="org.eclipse.elk.partitioning.activate",Mfe="org.eclipse.elk.partitioning.partition",PG="org.eclipse.elk.position",TCe="org.eclipse.elk.margins",ECe="org.eclipse.elk.spacing.portsSurrounding",BG="org.eclipse.elk.interactiveLayout",Kc="org.eclipse.elk.core.util",CCe={3:1,4:1,5:1,601:1},Fyt="NETWORK_SIMPLEX",SCe="SIMPLE",Vo={106:1,47:1},FG="org.eclipse.elk.alg.layered.p1cycles",mp="org.eclipse.elk.alg.layered.p2layers",_Ce={413:1,230:1},Ryt={846:1,3:1,4:1},El="org.eclipse.elk.alg.layered.p3order",Go="org.eclipse.elk.alg.layered.p4nodes",jyt={3:1,4:1,5:1,854:1},Od=1e-5,zb="org.eclipse.elk.alg.layered.p4nodes.bk",Dfe="org.eclipse.elk.alg.layered.p5edges",r1="org.eclipse.elk.alg.layered.p5edges.orthogonal",Ife="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",Ofe=1e-6,n4="org.eclipse.elk.alg.layered.p5edges.splines",Nfe=.09999999999999998,RG=1e-8,$yt=4.71238898038469,ACe=3.141592653589793,vp="org.eclipse.elk.alg.mrtree",Pfe=.10000000149011612,jG="SUPER_ROOT",wL="org.eclipse.elk.alg.mrtree.graph",LCe=-17976931348623157e292,Eu="org.eclipse.elk.alg.mrtree.intermediate",zyt="Processor compute fanout",$G={3:1,6:1,4:1,5:1,534:1,100:1,115:1},qyt="Set neighbors in level",ZP="org.eclipse.elk.alg.mrtree.options",Hyt="DESCENDANTS",MCe="org.eclipse.elk.mrtree.compaction",DCe="org.eclipse.elk.mrtree.edgeEndTextureLength",ICe="org.eclipse.elk.mrtree.treeLevel",OCe="org.eclipse.elk.mrtree.positionConstraint",NCe="org.eclipse.elk.mrtree.weighting",PCe="org.eclipse.elk.mrtree.edgeRoutingMode",BCe="org.eclipse.elk.mrtree.searchOrder",Uyt="Position Constraint",Xu="org.eclipse.elk.mrtree",Vyt="org.eclipse.elk.tree",Gyt="Processor arrange level",mE="org.eclipse.elk.alg.mrtree.p2order",ph="org.eclipse.elk.alg.mrtree.p4route",FCe="org.eclipse.elk.alg.radial",fv=6.283185307179586,RCe="Before",jCe=5e-324,zG="After",$Ce="org.eclipse.elk.alg.radial.intermediate",Kyt="COMPACTION",Bfe="org.eclipse.elk.alg.radial.intermediate.compaction",Wyt={3:1,4:1,5:1,100:1},zCe="org.eclipse.elk.alg.radial.intermediate.optimization",Ffe="No implementation is available for the layout option ",yL="org.eclipse.elk.alg.radial.options",qCe="org.eclipse.elk.radial.centerOnRoot",HCe="org.eclipse.elk.radial.orderId",UCe="org.eclipse.elk.radial.radius",qG="org.eclipse.elk.radial.rotate",Rfe="org.eclipse.elk.radial.compactor",jfe="org.eclipse.elk.radial.compactionStepSize",VCe="org.eclipse.elk.radial.sorter",GCe="org.eclipse.elk.radial.wedgeCriteria",KCe="org.eclipse.elk.radial.optimizationCriteria",$fe="org.eclipse.elk.radial.rotation.targetAngle",zfe="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",WCe="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",Yyt="Compaction",YCe="rotation",df="org.eclipse.elk.radial",Xyt="org.eclipse.elk.alg.radial.p1position.wedge",XCe="org.eclipse.elk.alg.radial.sorting",Qyt=5.497787143782138,Jyt=3.9269908169872414,Zyt=2.356194490192345,e4t="org.eclipse.elk.alg.rectpacking",HG="org.eclipse.elk.alg.rectpacking.intermediate",qfe="org.eclipse.elk.alg.rectpacking.options",QCe="org.eclipse.elk.rectpacking.trybox",JCe="org.eclipse.elk.rectpacking.currentPosition",ZCe="org.eclipse.elk.rectpacking.desiredPosition",eSe="org.eclipse.elk.rectpacking.inNewRow",tSe="org.eclipse.elk.rectpacking.widthApproximation.strategy",nSe="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",rSe="org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal",iSe="org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift",sSe="org.eclipse.elk.rectpacking.packing.strategy",aSe="org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation",oSe="org.eclipse.elk.rectpacking.packing.compaction.iterations",cSe="org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy",Hfe="widthApproximation",t4t="Compaction Strategy",n4t="packing.compaction",Jl="org.eclipse.elk.rectpacking",vE="org.eclipse.elk.alg.rectpacking.p1widthapproximation",UG="org.eclipse.elk.alg.rectpacking.p2packing",r4t="No Compaction",uSe="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",eB="org.eclipse.elk.alg.rectpacking.util",VG="No implementation available for ",r4="org.eclipse.elk.alg.spore",i4="org.eclipse.elk.alg.spore.options",s3="org.eclipse.elk.sporeCompaction",Ufe="org.eclipse.elk.underlyingLayoutAlgorithm",lSe="org.eclipse.elk.processingOrder.treeConstruction",hSe="org.eclipse.elk.processingOrder.spanningTreeCostFunction",Vfe="org.eclipse.elk.processingOrder.preferredRoot",Gfe="org.eclipse.elk.processingOrder.rootSelection",Kfe="org.eclipse.elk.structure.structureExtractionStrategy",fSe="org.eclipse.elk.compaction.compactionStrategy",dSe="org.eclipse.elk.compaction.orthogonal",gSe="org.eclipse.elk.overlapRemoval.maxIterations",pSe="org.eclipse.elk.overlapRemoval.runScanline",Wfe="processingOrder",i4t="overlapRemoval",wE="org.eclipse.elk.sporeOverlap",s4t="org.eclipse.elk.alg.spore.p1structure",Yfe="org.eclipse.elk.alg.spore.p2processingorder",Xfe="org.eclipse.elk.alg.spore.p3execution",a4t="Topdown Layout",o4t="Invalid index: ",yE="org.eclipse.elk.core.alg",C6={341:1},s4={295:1},c4t="Make sure its type is registered with the ",bSe=" utility class.",xE="true",Qfe="false",u4t="Couldn't clone property '",a3=.05,Zl="org.eclipse.elk.core.options",l4t=1.2999999523162842,o3="org.eclipse.elk.box",mSe="org.eclipse.elk.expandNodes",vSe="org.eclipse.elk.box.packingMode",h4t="org.eclipse.elk.algorithm",f4t="org.eclipse.elk.resolvedAlgorithm",wSe="org.eclipse.elk.bendPoints",SOn="org.eclipse.elk.labelManager",d4t="org.eclipse.elk.scaleFactor",g4t="org.eclipse.elk.childAreaWidth",p4t="org.eclipse.elk.childAreaHeight",b4t="org.eclipse.elk.animate",m4t="org.eclipse.elk.animTimeFactor",v4t="org.eclipse.elk.layoutAncestors",w4t="org.eclipse.elk.maxAnimTime",y4t="org.eclipse.elk.minAnimTime",x4t="org.eclipse.elk.progressBar",k4t="org.eclipse.elk.validateGraph",T4t="org.eclipse.elk.validateOptions",E4t="org.eclipse.elk.zoomToFit",_On="org.eclipse.elk.font.name",C4t="org.eclipse.elk.font.size",ySe="org.eclipse.elk.topdown.sizeApproximator",xSe="org.eclipse.elk.topdown.scaleCap",S4t="org.eclipse.elk.edge.type",_4t="partitioning",A4t="nodeLabels",GG="portAlignment",Jfe="nodeSize",Zfe="port",kSe="portLabels",tB="topdown",L4t="insideSelfLoops",xL="org.eclipse.elk.fixed",KG="org.eclipse.elk.random",TSe={3:1,34:1,22:1,347:1},M4t="port must have a parent node to calculate the port side",D4t="The edge needs to have exactly one edge section. Found: ",kL="org.eclipse.elk.core.util.adapters",gf="org.eclipse.emf.ecore",S6="org.eclipse.elk.graph",I4t="EMapPropertyHolder",O4t="ElkBendPoint",N4t="ElkGraphElement",P4t="ElkConnectableShape",ESe="ElkEdge",B4t="ElkEdgeSection",F4t="EModelElement",R4t="ENamedElement",CSe="ElkLabel",SSe="ElkNode",_Se="ElkPort",j4t={94:1,93:1},jx="org.eclipse.emf.common.notify.impl",qb="The feature '",TL="' is not a valid changeable feature",$4t="Expecting null",e0e="' is not a valid feature",z4t="The feature ID",q4t=" is not a valid feature ID",nu=32768,H4t={110:1,94:1,93:1,58:1,54:1,99:1},Vn="org.eclipse.emf.ecore.impl",dv="org.eclipse.elk.graph.impl",EL="Recursive containment not allowed for ",kE="The datatype '",c3="' is not a valid classifier",t0e="The value '",_6={195:1,3:1,4:1},n0e="The class '",TE="http://www.eclipse.org/elk/ElkGraph",ASe="property",CL="value",r0e="source",U4t="properties",V4t="identifier",i0e="height",s0e="width",a0e="parent",o0e="text",c0e="children",G4t="hierarchical",LSe="sources",u0e="targets",MSe="sections",WG="bendPoints",DSe="outgoingShape",ISe="incomingShape",OSe="outgoingSections",NSe="incomingSections",Eo="org.eclipse.emf.common.util",PSe="Severe implementation error in the Json to ElkGraph importer.",Nd="id",eo="org.eclipse.elk.graph.json",BSe="Unhandled parameter types: ",K4t="startPoint",W4t="An edge must have at least one source and one target (edge id: '",EE="').",Y4t="Referenced edge section does not exist: ",X4t=" (edge id: '",FSe="target",Q4t="sourcePoint",J4t="targetPoint",YG="group",Ai="name",Z4t="connectableShape cannot be null",e5t="edge cannot be null",l0e="Passed edge is not 'simple'.",XG="org.eclipse.elk.graph.util",nB="The 'no duplicates' constraint is violated",h0e="targetIndex=",gv=", size=",f0e="sourceIndex=",Pd={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1},d0e={3:1,4:1,20:1,31:1,56:1,16:1,51:1,15:1,59:1,70:1,66:1,61:1,596:1},QG="logging",t5t="measureExecutionTime",n5t="parser.parse.1",r5t="parser.parse.2",JG="parser.next.1",g0e="parser.next.2",i5t="parser.next.3",s5t="parser.next.4",pv="parser.factor.1",RSe="parser.factor.2",a5t="parser.factor.3",o5t="parser.factor.4",c5t="parser.factor.5",u5t="parser.factor.6",l5t="parser.atom.1",h5t="parser.atom.2",f5t="parser.atom.3",jSe="parser.atom.4",p0e="parser.atom.5",$Se="parser.cc.1",ZG="parser.cc.2",d5t="parser.cc.3",g5t="parser.cc.5",zSe="parser.cc.6",qSe="parser.cc.7",b0e="parser.cc.8",p5t="parser.ope.1",b5t="parser.ope.2",m5t="parser.ope.3",A2="parser.descape.1",v5t="parser.descape.2",w5t="parser.descape.3",y5t="parser.descape.4",x5t="parser.descape.5",pf="parser.process.1",k5t="parser.quantifier.1",T5t="parser.quantifier.2",E5t="parser.quantifier.3",C5t="parser.quantifier.4",HSe="parser.quantifier.5",S5t="org.eclipse.emf.common.notify",USe={424:1,686:1},_5t={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1},rB={378:1,152:1},SL="index=",m0e={3:1,4:1,5:1,129:1},A5t={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,61:1},VSe={3:1,6:1,4:1,5:1,198:1},L5t={3:1,4:1,5:1,173:1,379:1},M5t=";/?:@&=+$,",D5t="invalid authority: ",I5t="EAnnotation",O5t="ETypedElement",N5t="EStructuralFeature",P5t="EAttribute",B5t="EClassifier",F5t="EEnumLiteral",R5t="EGenericType",j5t="EOperation",$5t="EParameter",z5t="EReference",q5t="ETypeParameter",us="org.eclipse.emf.ecore.util",v0e={79:1},GSe={3:1,20:1,16:1,15:1,61:1,597:1,79:1,71:1,97:1},H5t="org.eclipse.emf.ecore.util.FeatureMap$Entry",Cl=8192,a4=2048,_L="byte",eK="char",AL="double",LL="float",ML="int",DL="long",IL="short",U5t="java.lang.Object",A6={3:1,4:1,5:1,254:1},KSe={3:1,4:1,5:1,688:1},V5t={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,71:1},Ec={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,71:1,97:1},iB="mixed",ui="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",Bf="kind",G5t={3:1,4:1,5:1,689:1},WSe={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1,79:1,71:1,97:1},tK={20:1,31:1,56:1,16:1,15:1,61:1,71:1},nK={51:1,128:1,287:1},rK={76:1,343:1},iK="The value of type '",sK="' must be of type '",L6=1352,Ff="http://www.eclipse.org/emf/2002/Ecore",aK=-32768,u3="constraints",oo="baseType",K5t="getEStructuralFeature",W5t="getFeatureID",OL="feature",Y5t="getOperationID",YSe="operation",X5t="defaultValue",Q5t="eTypeParameters",J5t="isInstance",Z5t="getEEnumLiteral",e6t="eContainingClass",xi={57:1},t6t={3:1,4:1,5:1,124:1},n6t="org.eclipse.emf.ecore.resource",r6t={94:1,93:1,599:1,2034:1},w0e="org.eclipse.emf.ecore.resource.impl",XSe="unspecified",sB="simple",oK="attribute",i6t="attributeWildcard",cK="element",y0e="elementWildcard",i1="collapse",x0e="itemType",uK="namespace",aB="##targetNamespace",Rf="whiteSpace",QSe="wildcards",bv="http://www.eclipse.org/emf/2003/XMLType",k0e="##any",CE="uninitialized",oB="The multiplicity constraint is violated",lK="org.eclipse.emf.ecore.xml.type",s6t="ProcessingInstruction",a6t="SimpleAnyType",o6t="XMLTypeDocumentRoot",na="org.eclipse.emf.ecore.xml.type.impl",cB="INF",c6t="processing",u6t="ENTITIES_._base",JSe="minLength",ZSe="ENTITY",hK="NCName",l6t="IDREFS_._base",e_e="integer",T0e="token",E0e="pattern",h6t="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",t_e="\\i\\c*",f6t="[\\i-[:]][\\c-[:]]*",d6t="nonPositiveInteger",uB="maxInclusive",n_e="NMTOKEN",g6t="NMTOKENS_._base",r_e="nonNegativeInteger",lB="minInclusive",p6t="normalizedString",b6t="unsignedByte",m6t="unsignedInt",v6t="18446744073709551615",w6t="unsignedShort",y6t="processingInstruction",L2="org.eclipse.emf.ecore.xml.type.internal",SE=1114111,x6t="Internal Error: shorthands: \\u",NL="xml:isDigit",C0e="xml:isWord",S0e="xml:isSpace",_0e="xml:isNameChar",A0e="xml:isInitialNameChar",k6t="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",T6t="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",E6t="Private Use",L0e="ASSIGNED",M0e="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\uFEFF\uFEFF＀￯",i_e="UNASSIGNED",_E={3:1,122:1},C6t="org.eclipse.emf.ecore.xml.type.util",fK={3:1,4:1,5:1,381:1},s_e="org.eclipse.xtext.xbase.lib",S6t="Cannot add elements to a Range",_6t="Cannot set elements in a Range",A6t="Cannot remove elements from a Range",L6t="user.agent",h,dK,D0e;b.goog=b.goog||{},b.goog.global=b.goog.global||b,dK={},D(1,null,{},E),h.Fb=function(t){return _nt(this,t)},h.Gb=function(){return this.Rm},h.Hb=function(){return ww(this)},h.Ib=function(){var t;return Pm(dh(this))+"@"+(t=ts(this)>>>0,t.toString(16))},h.equals=function(e){return this.Fb(e)},h.hashCode=function(){return this.Hb()},h.toString=function(){return this.Ib()};var M6t,D6t,I6t;D(297,1,{297:1,2124:1},e8e),h.ve=function(t){var n;return n=new e8e,n.i=4,t>1?n.c=Yot(this,t-1):n.c=this,n},h.we=function(){return Xg(this),this.b},h.xe=function(){return Pm(this)},h.ye=function(){return Xg(this),this.k},h.ze=function(){return(this.i&4)!=0},h.Ae=function(){return(this.i&1)!=0},h.Ib=function(){return h7e(this)},h.i=0;var ka=I(Gc,"Object",1),a_e=I(Gc,"Class",297);D(2096,1,AP),I(LP,"Optional",2096),D(1191,2096,AP,_),h.Fb=function(t){return t===this},h.Hb=function(){return 2040732332},h.Ib=function(){return"Optional.absent()"},h.Jb=function(t){return Xr(t),c_(),I0e};var I0e;I(LP,"Absent",1191),D(636,1,{},dse),I(LP,"Joiner",636);var AOn=Ts(LP,"Predicate");D(589,1,{178:1,589:1,3:1,46:1},kz),h.Mb=function(t){return Y0t(this,t)},h.Lb=function(t){return Y0t(this,t)},h.Fb=function(t){var n;return De(t,589)?(n=l(t,589),Q9e(this.a,n.a)):!1},h.Hb=function(){return a8e(this.a)+306654252},h.Ib=function(){return gkn(this.a)},I(LP,"Predicates/AndPredicate",589),D(419,2096,{419:1,3:1},ZS),h.Fb=function(t){var n;return De(t,419)?(n=l(t,419),Fi(this.a,n.a)):!1},h.Hb=function(){return 1502476572+ts(this.a)},h.Ib=function(){return r3t+this.a+")"},h.Jb=function(t){return new ZS(PH(t.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},I(LP,"Present",419),D(204,1,nE),h.Nb=function(t){Qa(this,t)},h.Qb=function(){gZe()},I(gn,"UnmodifiableIterator",204),D(2076,204,rE),h.Qb=function(){gZe()},h.Rb=function(t){throw ue(new Qr)},h.Wb=function(t){throw ue(new Qr)},I(gn,"UnmodifiableListIterator",2076),D(399,2076,rE),h.Ob=function(){return this.c0},h.Pb=function(){if(this.c>=this.d)throw ue(new Dc);return this.Xb(this.c++)},h.Tb=function(){return this.c},h.Ub=function(){if(this.c<=0)throw ue(new Dc);return this.Xb(--this.c)},h.Vb=function(){return this.c-1},h.c=0,h.d=0,I(gn,"AbstractIndexedListIterator",399),D(713,204,nE),h.Ob=function(){return pce(this)},h.Pb=function(){return s7e(this)},h.e=1,I(gn,"AbstractIterator",713),D(2084,1,{229:1}),h.Zb=function(){var t;return t=this.f,t||(this.f=this.ac())},h.Fb=function(t){return Fce(this,t)},h.Hb=function(){return ts(this.Zb())},h.dc=function(){return this.gc()==0},h.ec=function(){return Y8(this)},h.Ib=function(){return Tc(this.Zb())},I(gn,"AbstractMultimap",2084),D(742,2084,av),h.$b=function(){CU(this)},h._b=function(t){return OZe(this,t)},h.ac=function(){return new Dk(this,this.c)},h.ic=function(t){return this.hc()},h.bc=function(){return new U5(this,this.c)},h.jc=function(){return this.mc(this.hc())},h.kc=function(){return new JJe(this)},h.lc=function(){return Gue(this.c.vc().Nc(),new P,64,this.d)},h.cc=function(t){return $i(this,t)},h.fc=function(t){return jN(this,t)},h.gc=function(){return this.d},h.mc=function(t){return Cn(),new ja(t)},h.nc=function(){return new QJe(this)},h.oc=function(){return Gue(this.c.Cc().Nc(),new A,64,this.d)},h.pc=function(t,n){return new rU(this,t,n,null)},h.d=0,I(gn,"AbstractMapBasedMultimap",742),D(1696,742,av),h.hc=function(){return new Pu(this.a)},h.jc=function(){return Cn(),Cn(),Co},h.cc=function(t){return l($i(this,t),15)},h.fc=function(t){return l(jN(this,t),15)},h.Zb=function(){return tx(this)},h.Fb=function(t){return Fce(this,t)},h.qc=function(t){return l($i(this,t),15)},h.rc=function(t){return l(jN(this,t),15)},h.mc=function(t){return voe(l(t,15))},h.pc=function(t,n){return nut(this,t,l(n,15),null)},I(gn,"AbstractListMultimap",1696),D(748,1,Ia),h.Nb=function(t){Qa(this,t)},h.Ob=function(){return this.c.Ob()||this.e.Ob()},h.Pb=function(){var t;return this.e.Ob()||(t=l(this.c.Pb(),44),this.b=t.ld(),this.a=l(t.md(),16),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},h.Qb=function(){this.e.Qb(),l(Lf(this.a),16).dc()&&this.c.Qb(),--this.d.d},I(gn,"AbstractMapBasedMultimap/Itr",748),D(1129,748,Ia,QJe),h.sc=function(t,n){return n},I(gn,"AbstractMapBasedMultimap/1",1129),D(1130,1,{},A),h.Kb=function(t){return l(t,16).Nc()},I(gn,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1130),D(1131,748,Ia,JJe),h.sc=function(t,n){return new hw(t,n)},I(gn,"AbstractMapBasedMultimap/2",1131);var o_e=Ts(_r,"Map");D(2065,1,t3),h.wc=function(t){vA(this,t)},h.yc=function(t,n,r){return nue(this,t,n,r)},h.$b=function(){this.vc().$b()},h.tc=function(t){return Aue(this,t)},h._b=function(t){return!!Yxe(this,t,!1)},h.uc=function(t){var n,r,s;for(r=this.vc().Kc();r.Ob();)if(n=l(r.Pb(),44),s=n.md(),qe(t)===qe(s)||t!=null&&Fi(t,s))return!0;return!1},h.Fb=function(t){var n,r,s;if(t===this)return!0;if(!De(t,85)||(s=l(t,85),this.gc()!=s.gc()))return!1;for(r=s.vc().Kc();r.Ob();)if(n=l(r.Pb(),44),!this.tc(n))return!1;return!0},h.xc=function(t){return dc(Yxe(this,t,!1))},h.Hb=function(){return X7e(this.vc())},h.dc=function(){return this.gc()==0},h.ec=function(){return new pr(this)},h.zc=function(t,n){throw ue(new Jp("Put not supported on this map"))},h.Ac=function(t){mA(this,t)},h.Bc=function(t){return dc(Yxe(this,t,!0))},h.gc=function(){return this.vc().gc()},h.Ib=function(){return opt(this)},h.Cc=function(){return new pi(this)},I(_r,"AbstractMap",2065),D(2085,2065,t3),h.bc=function(){return new rq(this)},h.vc=function(){return Jst(this)},h.ec=function(){var t;return t=this.g,t||(this.g=this.bc())},h.Cc=function(){var t;return t=this.i,t||(this.i=new Eet(this))},I(gn,"Maps/ViewCachingAbstractMap",2085),D(402,2085,t3,Dk),h.xc=function(t){return Own(this,t)},h.Bc=function(t){return n4n(this,t)},h.$b=function(){this.d==this.e.c?this.e.$b():fH(new c5e(this))},h._b=function(t){return O1t(this.d,t)},h.Ec=function(){return new Tz(this)},h.Dc=function(){return this.Ec()},h.Fb=function(t){return this===t||Fi(this.d,t)},h.Hb=function(){return ts(this.d)},h.ec=function(){return this.e.ec()},h.gc=function(){return this.d.gc()},h.Ib=function(){return Tc(this.d)},I(gn,"AbstractMapBasedMultimap/AsMap",402);var Fh=Ts(Gc,"Iterable");D(31,1,Qy),h.Jc=function(t){Za(this,t)},h.Lc=function(){return this.Oc()},h.Nc=function(){return new kn(this,0)},h.Oc=function(){return new vn(null,this.Nc())},h.Fc=function(t){throw ue(new Jp("Add not supported on this collection"))},h.Gc=function(t){return Ga(this,t)},h.$b=function(){W5e(this)},h.Hc=function(t){return Fy(this,t,!1)},h.Ic=function(t){return DN(this,t)},h.dc=function(){return this.gc()==0},h.Mc=function(t){return Fy(this,t,!0)},h.Pc=function(){return v5e(this)},h.Qc=function(t){return BA(this,t)},h.Ib=function(){return Ob(this)},I(_r,"AbstractCollection",31);var jf=Ts(_r,"Set");D(q1,31,Tl),h.Nc=function(){return new kn(this,1)},h.Fb=function(t){return Edt(this,t)},h.Hb=function(){return X7e(this)},I(_r,"AbstractSet",q1),D(2068,q1,Tl),I(gn,"Sets/ImprovedAbstractSet",2068),D(2069,2068,Tl),h.$b=function(){this.Rc().$b()},h.Hc=function(t){return cdt(this,t)},h.dc=function(){return this.Rc().dc()},h.Mc=function(t){var n;return this.Hc(t)&&De(t,44)?(n=l(t,44),this.Rc().ec().Mc(n.ld())):!1},h.gc=function(){return this.Rc().gc()},I(gn,"Maps/EntrySet",2069),D(1127,2069,Tl,Tz),h.Hc=function(t){return T8e(this.a.d.vc(),t)},h.Kc=function(){return new c5e(this.a)},h.Rc=function(){return this.a},h.Mc=function(t){var n;return T8e(this.a.d.vc(),t)?(n=l(Lf(l(t,44)),44),xvn(this.a.e,n.ld()),!0):!1},h.Nc=function(){return qO(this.a.d.vc().Nc(),new Ez(this.a))},I(gn,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1127),D(1128,1,{},Ez),h.Kb=function(t){return elt(this.a,l(t,44))},I(gn,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1128),D(746,1,Ia,c5e),h.Nb=function(t){Qa(this,t)},h.Pb=function(){var t;return t=l(this.b.Pb(),44),this.a=l(t.md(),16),elt(this.c,t)},h.Ob=function(){return this.b.Ob()},h.Qb=function(){$k(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},I(gn,"AbstractMapBasedMultimap/AsMap/AsMapIterator",746),D(542,2068,Tl,rq),h.$b=function(){this.b.$b()},h.Hc=function(t){return this.b._b(t)},h.Jc=function(t){Xr(t),this.b.wc(new Lz(t))},h.dc=function(){return this.b.dc()},h.Kc=function(){return new u_(this.b.vc().Kc())},h.Mc=function(t){return this.b._b(t)?(this.b.Bc(t),!0):!1},h.gc=function(){return this.b.gc()},I(gn,"Maps/KeySet",542),D(327,542,Tl,U5),h.$b=function(){var t;fH((t=this.b.vc().Kc(),new I3e(this,t)))},h.Ic=function(t){return this.b.ec().Ic(t)},h.Fb=function(t){return this===t||Fi(this.b.ec(),t)},h.Hb=function(){return ts(this.b.ec())},h.Kc=function(){var t;return t=this.b.vc().Kc(),new I3e(this,t)},h.Mc=function(t){var n,r;return r=0,n=l(this.b.Bc(t),16),n&&(r=n.gc(),n.$b(),this.a.d-=r),r>0},h.Nc=function(){return this.b.ec().Nc()},I(gn,"AbstractMapBasedMultimap/KeySet",327),D(747,1,Ia,I3e),h.Nb=function(t){Qa(this,t)},h.Ob=function(){return this.c.Ob()},h.Pb=function(){return this.a=l(this.c.Pb(),44),this.a.ld()},h.Qb=function(){var t;$k(!!this.a),t=l(this.a.md(),16),this.c.Qb(),this.b.a.d-=t.gc(),t.$b(),this.a=null},I(gn,"AbstractMapBasedMultimap/KeySet/1",747),D(503,402,{85:1,133:1},PO),h.bc=function(){return this.Sc()},h.ec=function(){return this.Uc()},h.Sc=function(){return new uO(this.c,this.Wc())},h.Tc=function(){return this.Wc().Tc()},h.Uc=function(){var t;return t=this.b,t||(this.b=this.Sc())},h.Vc=function(){return this.Wc().Vc()},h.Wc=function(){return l(this.d,133)},I(gn,"AbstractMapBasedMultimap/SortedAsMap",503),D(446,503,mTe,H_),h.bc=function(){return new Mk(this.a,l(l(this.d,133),139))},h.Sc=function(){return new Mk(this.a,l(l(this.d,133),139))},h.ec=function(){var t;return t=this.b,l(t||(this.b=new Mk(this.a,l(l(this.d,133),139))),277)},h.Uc=function(){var t;return t=this.b,l(t||(this.b=new Mk(this.a,l(l(this.d,133),139))),277)},h.Wc=function(){return l(l(this.d,133),139)},h.Xc=function(t){return l(l(this.d,133),139).Xc(t)},h.Yc=function(t){return l(l(this.d,133),139).Yc(t)},h.Zc=function(t,n){return new H_(this.a,l(l(this.d,133),139).Zc(t,n))},h.$c=function(t){return l(l(this.d,133),139).$c(t)},h._c=function(t){return l(l(this.d,133),139)._c(t)},h.ad=function(t,n){return new H_(this.a,l(l(this.d,133),139).ad(t,n))},I(gn,"AbstractMapBasedMultimap/NavigableAsMap",446),D(502,327,i3t,uO),h.Nc=function(){return this.b.ec().Nc()},I(gn,"AbstractMapBasedMultimap/SortedKeySet",502),D(401,502,vTe,Mk),I(gn,"AbstractMapBasedMultimap/NavigableKeySet",401),D(551,31,Qy,rU),h.Fc=function(t){var n,r;return Wl(this),r=this.d.dc(),n=this.d.Fc(t),n&&(++this.f.d,r&&jO(this)),n},h.Gc=function(t){var n,r,s;return t.dc()?!1:(s=(Wl(this),this.d.gc()),n=this.d.Gc(t),n&&(r=this.d.gc(),this.f.d+=r-s,s==0&&jO(this)),n)},h.$b=function(){var t;t=(Wl(this),this.d.gc()),t!=0&&(this.d.$b(),this.f.d-=t,vH(this))},h.Hc=function(t){return Wl(this),this.d.Hc(t)},h.Ic=function(t){return Wl(this),this.d.Ic(t)},h.Fb=function(t){return t===this?!0:(Wl(this),Fi(this.d,t))},h.Hb=function(){return Wl(this),ts(this.d)},h.Kc=function(){return Wl(this),new V4e(this)},h.Mc=function(t){var n;return Wl(this),n=this.d.Mc(t),n&&(--this.f.d,vH(this)),n},h.gc=function(){return dnt(this)},h.Nc=function(){return Wl(this),this.d.Nc()},h.Ib=function(){return Wl(this),Tc(this.d)},I(gn,"AbstractMapBasedMultimap/WrappedCollection",551);var bf=Ts(_r,"List");D(744,551,{20:1,31:1,16:1,15:1},x5e),h.jd=function(t){Wm(this,t)},h.Nc=function(){return Wl(this),this.d.Nc()},h.bd=function(t,n){var r;Wl(this),r=this.d.dc(),l(this.d,15).bd(t,n),++this.a.d,r&&jO(this)},h.cd=function(t,n){var r,s,o;return n.dc()?!1:(o=(Wl(this),this.d.gc()),r=l(this.d,15).cd(t,n),r&&(s=this.d.gc(),this.a.d+=s-o,o==0&&jO(this)),r)},h.Xb=function(t){return Wl(this),l(this.d,15).Xb(t)},h.dd=function(t){return Wl(this),l(this.d,15).dd(t)},h.ed=function(){return Wl(this),new Hnt(this)},h.fd=function(t){return Wl(this),new fot(this,t)},h.gd=function(t){var n;return Wl(this),n=l(this.d,15).gd(t),--this.a.d,vH(this),n},h.hd=function(t,n){return Wl(this),l(this.d,15).hd(t,n)},h.kd=function(t,n){return Wl(this),nut(this.a,this.e,l(this.d,15).kd(t,n),this.b?this.b:this)},I(gn,"AbstractMapBasedMultimap/WrappedList",744),D(1126,744,{20:1,31:1,16:1,15:1,59:1},Irt),I(gn,"AbstractMapBasedMultimap/RandomAccessWrappedList",1126),D(628,1,Ia,V4e),h.Nb=function(t){Qa(this,t)},h.Ob=function(){return Qk(this),this.b.Ob()},h.Pb=function(){return Qk(this),this.b.Pb()},h.Qb=function(){brt(this)},I(gn,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",628),D(745,628,dg,Hnt,fot),h.Qb=function(){brt(this)},h.Rb=function(t){var n;n=dnt(this.a)==0,(Qk(this),l(this.b,128)).Rb(t),++this.a.a.d,n&&jO(this.a)},h.Sb=function(){return(Qk(this),l(this.b,128)).Sb()},h.Tb=function(){return(Qk(this),l(this.b,128)).Tb()},h.Ub=function(){return(Qk(this),l(this.b,128)).Ub()},h.Vb=function(){return(Qk(this),l(this.b,128)).Vb()},h.Wb=function(t){(Qk(this),l(this.b,128)).Wb(t)},I(gn,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",745),D(743,551,i3t,l4e),h.Nc=function(){return Wl(this),this.d.Nc()},I(gn,"AbstractMapBasedMultimap/WrappedSortedSet",743),D(1125,743,vTe,Rnt),I(gn,"AbstractMapBasedMultimap/WrappedNavigableSet",1125),D(1124,551,Tl,Zrt),h.Nc=function(){return Wl(this),this.d.Nc()},I(gn,"AbstractMapBasedMultimap/WrappedSet",1124),D(1133,1,{},P),h.Kb=function(t){return Dvn(l(t,44))},I(gn,"AbstractMapBasedMultimap/lambda$1$Type",1133),D(1132,1,{},Mie),h.Kb=function(t){return new hw(this.a,t)},I(gn,"AbstractMapBasedMultimap/lambda$2$Type",1132);var mv=Ts(_r,"Map/Entry");D(358,1,Wle),h.Fb=function(t){var n;return De(t,44)?(n=l(t,44),wd(this.ld(),n.ld())&&wd(this.md(),n.md())):!1},h.Hb=function(){var t,n;return t=this.ld(),n=this.md(),(t==null?0:ts(t))^(n==null?0:ts(n))},h.nd=function(t){throw ue(new Qr)},h.Ib=function(){return this.ld()+"="+this.md()},I(gn,s3t,358),D(2086,31,Qy),h.$b=function(){this.od().$b()},h.Hc=function(t){var n;return De(t,44)?(n=l(t,44),Jbn(this.od(),n.ld(),n.md())):!1},h.Mc=function(t){var n;return De(t,44)?(n=l(t,44),Fct(this.od(),n.ld(),n.md())):!1},h.gc=function(){return this.od().d},I(gn,"Multimaps/Entries",2086),D(749,2086,Qy,Sz),h.Kc=function(){return this.a.kc()},h.od=function(){return this.a},h.Nc=function(){return this.a.lc()},I(gn,"AbstractMultimap/Entries",749),D(750,749,Tl,u3e),h.Nc=function(){return this.a.lc()},h.Fb=function(t){return p9e(this,t)},h.Hb=function(){return Wft(this)},I(gn,"AbstractMultimap/EntrySet",750),D(751,31,Qy,ab),h.$b=function(){this.a.$b()},h.Hc=function(t){return Xyn(this.a,t)},h.Kc=function(){return this.a.nc()},h.gc=function(){return this.a.d},h.Nc=function(){return this.a.oc()},I(gn,"AbstractMultimap/Values",751),D(2087,31,{849:1,20:1,31:1,16:1}),h.Jc=function(t){Xr(t),G5(this).Jc(new Bie(t))},h.Nc=function(){var t;return t=G5(this).Nc(),Gue(t,new be,64|t.yd()&1296,this.a.d)},h.Fc=function(t){return m3e(),!0},h.Gc=function(t){return Xr(this),Xr(t),De(t,552)?tmn(l(t,849)):!t.dc()&&ace(this,t.Kc())},h.Hc=function(t){var n;return n=l(By(tx(this.a),t),16),(n?n.gc():0)>0},h.Fb=function(t){return TEn(this,t)},h.Hb=function(){return ts(G5(this))},h.dc=function(){return G5(this).dc()},h.Mc=function(t){return y2t(this,t,1)>0},h.Ib=function(){return Tc(G5(this))},I(gn,"AbstractMultiset",2087),D(2089,2068,Tl),h.$b=function(){CU(this.a.a)},h.Hc=function(t){var n,r;return De(t,504)?(r=l(t,425),l(r.a.md(),16).gc()<=0?!1:(n=lct(this.a,r.a.ld()),n==l(r.a.md(),16).gc())):!1},h.Mc=function(t){var n,r,s,o;return De(t,504)&&(r=l(t,425),n=r.a.ld(),s=l(r.a.md(),16).gc(),s!=0)?(o=this.a,dTn(o,n,s)):!1},I(gn,"Multisets/EntrySet",2089),D(1139,2089,Tl,Die),h.Kc=function(){return new rZe(Jst(tx(this.a.a)).Kc())},h.gc=function(){return tx(this.a.a).gc()},I(gn,"AbstractMultiset/EntrySet",1139),D(627,742,av),h.hc=function(){return this.pd()},h.jc=function(){return this.qd()},h.cc=function(t){return this.rd(t)},h.fc=function(t){return this.sd(t)},h.Zb=function(){var t;return t=this.f,t||(this.f=this.ac())},h.qd=function(){return Cn(),Cn(),wK},h.Fb=function(t){return Fce(this,t)},h.rd=function(t){return l($i(this,t),21)},h.sd=function(t){return l(jN(this,t),21)},h.mc=function(t){return Cn(),new Ck(l(t,21))},h.pc=function(t,n){return new Zrt(this,t,l(n,21))},I(gn,"AbstractSetMultimap",627),D(1723,627,av),h.hc=function(){return new n2(this.b)},h.pd=function(){return new n2(this.b)},h.jc=function(){return q5e(new n2(this.b))},h.qd=function(){return q5e(new n2(this.b))},h.cc=function(t){return l(l($i(this,t),21),87)},h.rd=function(t){return l(l($i(this,t),21),87)},h.fc=function(t){return l(l(jN(this,t),21),87)},h.sd=function(t){return l(l(jN(this,t),21),87)},h.mc=function(t){return De(t,277)?q5e(l(t,277)):(Cn(),new Yye(l(t,87)))},h.Zb=function(){var t;return t=this.f,t||(this.f=De(this.c,139)?new H_(this,l(this.c,139)):De(this.c,133)?new PO(this,l(this.c,133)):new Dk(this,this.c))},h.pc=function(t,n){return De(n,277)?new Rnt(this,t,l(n,277)):new l4e(this,t,l(n,87))},I(gn,"AbstractSortedSetMultimap",1723),D(1724,1723,av),h.Zb=function(){var t;return t=this.f,l(l(t||(this.f=De(this.c,139)?new H_(this,l(this.c,139)):De(this.c,133)?new PO(this,l(this.c,133)):new Dk(this,this.c)),133),139)},h.ec=function(){var t;return t=this.i,l(l(t||(this.i=De(this.c,139)?new Mk(this,l(this.c,139)):De(this.c,133)?new uO(this,l(this.c,133)):new U5(this,this.c)),87),277)},h.bc=function(){return De(this.c,139)?new Mk(this,l(this.c,139)):De(this.c,133)?new uO(this,l(this.c,133)):new U5(this,this.c)},I(gn,"AbstractSortedKeySortedSetMultimap",1724),D(2109,1,{2046:1}),h.Fb=function(t){return W8n(this,t)},h.Hb=function(){var t;return X7e((t=this.g,t||(this.g=new WI(this))))},h.Ib=function(){var t;return opt((t=this.f,t||(this.f=new Vye(this))))},I(gn,"AbstractTable",2109),D(679,q1,Tl,WI),h.$b=function(){pZe()},h.Hc=function(t){var n,r;return De(t,479)?(n=l(t,697),r=l(By(kat(this.a),pb(n.c.e,n.b)),85),!!r&&T8e(r.vc(),new hw(pb(n.c.c,n.a),cx(n.c,n.b,n.a)))):!1},h.Kc=function(){return Jpn(this.a)},h.Mc=function(t){var n,r;return De(t,479)?(n=l(t,697),r=l(By(kat(this.a),pb(n.c.e,n.b)),85),!!r&&L4n(r.vc(),new hw(pb(n.c.c,n.a),cx(n.c,n.b,n.a)))):!1},h.gc=function(){return Cst(this.a)},h.Nc=function(){return imn(this.a)},I(gn,"AbstractTable/CellSet",679),D(2025,31,Qy,Oie),h.$b=function(){pZe()},h.Hc=function(t){return $xn(this.a,t)},h.Kc=function(){return Zpn(this.a)},h.gc=function(){return Cst(this.a)},h.Nc=function(){return Bct(this.a)},I(gn,"AbstractTable/Values",2025),D(1697,1696,av),I(gn,"ArrayListMultimapGwtSerializationDependencies",1697),D(520,1697,av,bse,l6e),h.hc=function(){return new Pu(this.a)},h.a=0,I(gn,"ArrayListMultimap",520),D(678,2109,{678:1,2046:1,3:1},O2t),I(gn,"ArrayTable",678),D(2021,399,rE,mrt),h.Xb=function(t){return new t8e(this.a,t)},I(gn,"ArrayTable/1",2021),D(2022,1,{},Aie),h.td=function(t){return new t8e(this.a,t)},I(gn,"ArrayTable/1methodref$getCell$Type",2022),D(2110,1,{697:1}),h.Fb=function(t){var n;return t===this?!0:De(t,479)?(n=l(t,697),wd(pb(this.c.e,this.b),pb(n.c.e,n.b))&&wd(pb(this.c.c,this.a),pb(n.c.c,n.a))&&wd(cx(this.c,this.b,this.a),cx(n.c,n.b,n.a))):!1},h.Hb=function(){return RN(he(le(ka,1),jn,1,5,[pb(this.c.e,this.b),pb(this.c.c,this.a),cx(this.c,this.b,this.a)]))},h.Ib=function(){return"("+pb(this.c.e,this.b)+","+pb(this.c.c,this.a)+")="+cx(this.c,this.b,this.a)},I(gn,"Tables/AbstractCell",2110),D(479,2110,{479:1,697:1},t8e),h.a=0,h.b=0,h.d=0,I(gn,"ArrayTable/2",479),D(2024,1,{},Lie),h.td=function(t){return oht(this.a,t)},I(gn,"ArrayTable/2methodref$getValue$Type",2024),D(2023,399,rE,vrt),h.Xb=function(t){return oht(this.a,t)},I(gn,"ArrayTable/3",2023),D(2077,2065,t3),h.$b=function(){fH(this.kc())},h.vc=function(){return new Az(this)},h.lc=function(){return new not(this.kc(),this.gc())},I(gn,"Maps/IteratorBasedAbstractMap",2077),D(842,2077,t3),h.$b=function(){throw ue(new Qr)},h._b=function(t){return NZe(this.c,t)},h.kc=function(){return new wrt(this,this.c.b.c.gc())},h.lc=function(){return jae(this.c.b.c.gc(),16,new Cz(this))},h.xc=function(t){var n;return n=l(U_(this.c,t),17),n?this.vd(n.a):null},h.dc=function(){return this.c.b.c.dc()},h.ec=function(){return Kae(this.c)},h.zc=function(t,n){var r;if(r=l(U_(this.c,t),17),!r)throw ue(new Wn(this.ud()+" "+t+" not in "+Kae(this.c)));return this.wd(r.a,n)},h.Bc=function(t){throw ue(new Qr)},h.gc=function(){return this.c.b.c.gc()},I(gn,"ArrayTable/ArrayMap",842),D(2020,1,{},Cz),h.td=function(t){return Eat(this.a,t)},I(gn,"ArrayTable/ArrayMap/0methodref$getEntry$Type",2020),D(2018,358,Wle,aet),h.ld=function(){return ffn(this.a,this.b)},h.md=function(){return this.a.vd(this.b)},h.nd=function(t){return this.a.wd(this.b,t)},h.b=0,I(gn,"ArrayTable/ArrayMap/1",2018),D(2019,399,rE,wrt),h.Xb=function(t){return Eat(this.a,t)},I(gn,"ArrayTable/ArrayMap/2",2019),D(2017,842,t3,hat),h.ud=function(){return"Column"},h.vd=function(t){return cx(this.b,this.a,t)},h.wd=function(t,n){return N0t(this.b,this.a,t,n)},h.a=0,I(gn,"ArrayTable/Row",2017),D(843,842,t3,Vye),h.vd=function(t){return new hat(this.a,t)},h.zc=function(t,n){return l(n,85),Oun()},h.wd=function(t,n){return l(n,85),Nun()},h.ud=function(){return"Row"},I(gn,"ArrayTable/RowMap",843),D(1157,1,Ph,oet),h.Ad=function(t){return(this.a.yd()&-262&t)!=0},h.yd=function(){return this.a.yd()&-262},h.zd=function(){return this.a.zd()},h.Nb=function(t){this.a.Nb(new uet(t,this.b))},h.Bd=function(t){return this.a.Bd(new cet(t,this.b))},I(gn,"CollectSpliterators/1",1157),D(1158,1,hr,cet),h.Cd=function(t){this.a.Cd(this.b.Kb(t))},I(gn,"CollectSpliterators/1/lambda$0$Type",1158),D(1159,1,hr,uet),h.Cd=function(t){this.a.Cd(this.b.Kb(t))},I(gn,"CollectSpliterators/1/lambda$1$Type",1159),D(1154,1,Ph,Nit),h.Ad=function(t){return((16464|this.b)&t)!=0},h.yd=function(){return 16464|this.b},h.zd=function(){return this.a.zd()},h.Nb=function(t){this.a.Qe(new fet(t,this.c))},h.Bd=function(t){return this.a.Re(new het(t,this.c))},h.b=0,I(gn,"CollectSpliterators/1WithCharacteristics",1154),D(1155,1,MP,het),h.Dd=function(t){this.a.Cd(this.b.td(t))},I(gn,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1155),D(1156,1,MP,fet),h.Dd=function(t){this.a.Cd(this.b.td(t))},I(gn,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1156),D(1150,1,Ph),h.Ad=function(t){return(this.a&t)!=0},h.yd=function(){return this.a},h.zd=function(){return this.e&&(this.b=Oye(this.b,this.e.zd())),Oye(this.b,0)},h.Nb=function(t){this.e&&(this.e.Nb(t),this.e=null),this.c.Nb(new det(this,t)),this.b=0},h.Bd=function(t){for(;;){if(this.e&&this.e.Bd(t))return O_(this.b,DP)&&(this.b=Df(this.b,1)),!0;if(this.e=null,!this.c.Bd(new Nie(this)))return!1}},h.a=0,h.b=0,I(gn,"CollectSpliterators/FlatMapSpliterator",1150),D(1152,1,hr,Nie),h.Cd=function(t){l0n(this.a,t)},I(gn,"CollectSpliterators/FlatMapSpliterator/lambda$0$Type",1152),D(1153,1,hr,det),h.Cd=function(t){Ppn(this.a,this.b,t)},I(gn,"CollectSpliterators/FlatMapSpliterator/lambda$1$Type",1153),D(1151,1150,Ph,eut),I(gn,"CollectSpliterators/FlatMapSpliteratorOfObject",1151),D(253,1,Yle),h.Fd=function(t){return this.Ed(l(t,253))},h.Ed=function(t){var n;return t==(ase(),N0e)?1:t==(sse(),O0e)?-1:(n=(oH(),SN(this.a,t.a)),n!=0?n:De(this,526)==De(t,526)?0:De(this,526)?1:-1)},h.Id=function(){return this.a},h.Fb=function(t){return xxe(this,t)},I(gn,"Cut",253),D(1823,253,Yle,XJe),h.Ed=function(t){return t==this?0:1},h.Gd=function(t){throw ue(new Uwe)},h.Hd=function(t){t.a+="+∞)"},h.Id=function(){throw ue(new ic(o3t))},h.Hb=function(){return Wg(),axe(this)},h.Jd=function(t){return!1},h.Ib=function(){return"+∞"};var O0e;I(gn,"Cut/AboveAll",1823),D(526,253,{253:1,526:1,3:1,34:1},Crt),h.Gd=function(t){mu((t.a+="(",t),this.a)},h.Hd=function(t){yb(mu(t,this.a),93)},h.Hb=function(){return~ts(this.a)},h.Jd=function(t){return oH(),SN(this.a,t)<0},h.Ib=function(){return"/"+this.a+"\\"},I(gn,"Cut/AboveValue",526),D(1822,253,Yle,YJe),h.Ed=function(t){return t==this?0:-1},h.Gd=function(t){t.a+="(-∞"},h.Hd=function(t){throw ue(new Uwe)},h.Id=function(){throw ue(new ic(o3t))},h.Hb=function(){return Wg(),axe(this)},h.Jd=function(t){return!0},h.Ib=function(){return"-∞"};var N0e;I(gn,"Cut/BelowAll",1822),D(1824,253,Yle,Srt),h.Gd=function(t){mu((t.a+="[",t),this.a)},h.Hd=function(t){yb(mu(t,this.a),41)},h.Hb=function(){return ts(this.a)},h.Jd=function(t){return oH(),SN(this.a,t)<=0},h.Ib=function(){return"\\"+this.a+"/"},I(gn,"Cut/BelowValue",1824),D(547,1,gg),h.Jc=function(t){Za(this,t)},h.Ib=function(){return X4n(l(PH(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},I(gn,"FluentIterable",547),D(442,547,gg,B_),h.Kc=function(){return new lr(fr(this.a.Kc(),new j))},I(gn,"FluentIterable/2",442),D(1059,547,gg,Nnt),h.Kc=function(){return ag(this)},I(gn,"FluentIterable/3",1059),D(724,399,rE,Gye),h.Xb=function(t){return this.a[t].Kc()},I(gn,"FluentIterable/3/1",724),D(2070,1,{}),h.Ib=function(){return Tc(this.Kd().b)},I(gn,"ForwardingObject",2070),D(2071,2070,c3t),h.Kd=function(){return this.Ld()},h.Jc=function(t){Za(this,t)},h.Lc=function(){return this.Oc()},h.Nc=function(){return new kn(this,0)},h.Oc=function(){return new vn(null,this.Nc())},h.Fc=function(t){return this.Ld(),BZe()},h.Gc=function(t){return this.Ld(),FZe()},h.$b=function(){this.Ld(),RZe()},h.Hc=function(t){return this.Ld().Hc(t)},h.Ic=function(t){return this.Ld().Ic(t)},h.dc=function(){return this.Ld().b.dc()},h.Kc=function(){return this.Ld().Kc()},h.Mc=function(t){return this.Ld(),jZe()},h.gc=function(){return this.Ld().b.gc()},h.Pc=function(){return this.Ld().Pc()},h.Qc=function(t){return this.Ld().Qc(t)},I(gn,"ForwardingCollection",2071),D(2078,31,wTe),h.Kc=function(){return this.Od()},h.Fc=function(t){throw ue(new Qr)},h.Gc=function(t){throw ue(new Qr)},h.Md=function(){var t;return t=this.c,t||(this.c=this.Nd())},h.$b=function(){throw ue(new Qr)},h.Hc=function(t){return t!=null&&Fy(this,t,!1)},h.Nd=function(){switch(this.gc()){case 0:return Sw(),Sw(),P0e;case 1:return Sw(),new $ae(Xr(this.Od().Pb()));default:return new C5e(this,this.Pc())}},h.Mc=function(t){throw ue(new Qr)},I(gn,"ImmutableCollection",2078),D(727,2078,wTe,qwe),h.Kc=function(){return ux(this.a.Kc())},h.Hc=function(t){return t!=null&&this.a.Hc(t)},h.Ic=function(t){return this.a.Ic(t)},h.dc=function(){return this.a.dc()},h.Od=function(){return ux(this.a.Kc())},h.gc=function(){return this.a.gc()},h.Pc=function(){return this.a.Pc()},h.Qc=function(t){return this.a.Qc(t)},h.Ib=function(){return Tc(this.a)},I(gn,"ForwardingImmutableCollection",727),D(307,2078,iE),h.Kc=function(){return this.Od()},h.ed=function(){return this.Pd(0)},h.fd=function(t){return this.Pd(t)},h.jd=function(t){Wm(this,t)},h.Nc=function(){return new kn(this,16)},h.kd=function(t,n){return this.Qd(t,n)},h.bd=function(t,n){throw ue(new Qr)},h.cd=function(t,n){throw ue(new Qr)},h.Md=function(){return this},h.Fb=function(t){return hEn(this,t)},h.Hb=function(){return syn(this)},h.dd=function(t){return t==null?-1:A7n(this,t)},h.Od=function(){return this.Pd(0)},h.Pd=function(t){return vae(this,t)},h.gd=function(t){throw ue(new Qr)},h.hd=function(t,n){throw ue(new Qr)},h.Qd=function(t,n){var r;return GU((r=new Tet(this),new c2(r,t,n)))};var P0e;I(gn,"ImmutableList",307),D(2105,307,iE),h.Kc=function(){return ux(this.Rd().Kc())},h.kd=function(t,n){return GU(this.Rd().kd(t,n))},h.Hc=function(t){return t!=null&&this.Rd().Hc(t)},h.Ic=function(t){return this.Rd().Ic(t)},h.Fb=function(t){return Fi(this.Rd(),t)},h.Xb=function(t){return pb(this,t)},h.Hb=function(){return ts(this.Rd())},h.dd=function(t){return this.Rd().dd(t)},h.dc=function(){return this.Rd().dc()},h.Od=function(){return ux(this.Rd().Kc())},h.gc=function(){return this.Rd().gc()},h.Qd=function(t,n){return GU(this.Rd().kd(t,n))},h.Pc=function(){return this.Rd().Qc(We(ka,jn,1,this.Rd().gc(),5,1))},h.Qc=function(t){return this.Rd().Qc(t)},h.Ib=function(){return Tc(this.Rd())},I(gn,"ForwardingImmutableList",2105),D(729,1,sE),h.vc=function(){return Rm(this)},h.wc=function(t){vA(this,t)},h.ec=function(){return Kae(this)},h.yc=function(t,n,r){return nue(this,t,n,r)},h.Cc=function(){return this.Vd()},h.$b=function(){throw ue(new Qr)},h._b=function(t){return this.xc(t)!=null},h.uc=function(t){return this.Vd().Hc(t)},h.Td=function(){return new iJe(this)},h.Ud=function(){return new sJe(this)},h.Fb=function(t){return Qyn(this,t)},h.Hb=function(){return Rm(this).Hb()},h.dc=function(){return this.gc()==0},h.zc=function(t,n){return Iun()},h.Bc=function(t){throw ue(new Qr)},h.Ib=function(){return R9n(this)},h.Vd=function(){return this.e?this.e:this.e=this.Ud()},h.c=null,h.d=null,h.e=null;var O6t;I(gn,"ImmutableMap",729),D(730,729,sE),h._b=function(t){return NZe(this,t)},h.uc=function(t){return Met(this.b,t)},h.Sd=function(){return M1t(new Iie(this))},h.Td=function(){return M1t(Gat(this.b))},h.Ud=function(){return vd(),new qwe(Vat(this.b))},h.Fb=function(t){return Det(this.b,t)},h.xc=function(t){return U_(this,t)},h.Hb=function(){return ts(this.b.c)},h.dc=function(){return this.b.c.dc()},h.gc=function(){return this.b.c.gc()},h.Ib=function(){return Tc(this.b.c)},I(gn,"ForwardingImmutableMap",730),D(2072,2071,Xle),h.Kd=function(){return this.Wd()},h.Ld=function(){return this.Wd()},h.Nc=function(){return new kn(this,1)},h.Fb=function(t){return t===this||this.Wd().Fb(t)},h.Hb=function(){return this.Wd().Hb()},I(gn,"ForwardingSet",2072),D(1085,2072,Xle,Iie),h.Kd=function(){return Yk(this.a.b)},h.Ld=function(){return Yk(this.a.b)},h.Hc=function(t){if(De(t,44)&&l(t,44).ld()==null)return!1;try{return Let(Yk(this.a.b),t)}catch(n){if(n=ms(n),De(n,212))return!1;throw ue(n)}},h.Wd=function(){return Yk(this.a.b)},h.Qc=function(t){var n;return n=Mot(Yk(this.a.b),t),Yk(this.a.b).b.gc()=0?"+":"")+(r/60|0),n=$q(b.Math.abs(r)%60),(wpt(),J6t)[this.q.getDay()]+" "+Z6t[this.q.getMonth()]+" "+$q(this.q.getDate())+" "+$q(this.q.getHours())+":"+$q(this.q.getMinutes())+":"+$q(this.q.getSeconds())+" GMT"+t+n+" "+this.q.getFullYear()};var bK=I(_r,"Date",206);D(2015,206,m3t,qgt),h.a=!1,h.b=0,h.c=0,h.d=0,h.e=0,h.f=0,h.g=!1,h.i=0,h.j=0,h.k=0,h.n=0,h.o=0,h.p=0,I("com.google.gwt.i18n.shared.impl","DateRecord",2015),D(2064,1,{}),h.pe=function(){return null},h.qe=function(){return null},h.re=function(){return null},h.se=function(){return null},h.te=function(){return null},I(Lx,"JSONValue",2064),D(221,2064,{221:1},Yp,Nz),h.Fb=function(t){return De(t,221)?f6e(this.a,l(t,221).a):!1},h.oe=function(){return run},h.Hb=function(){return t6e(this.a)},h.pe=function(){return this},h.Ib=function(){var t,n,r;for(r=new Eh("["),n=0,t=this.a.length;n0&&(r.a+=","),mu(r,My(this,n));return r.a+="]",r.a},I(Lx,"JSONArray",221),D(493,2064,{493:1},zc),h.oe=function(){return iun},h.qe=function(){return this},h.Ib=function(){return Hn(),""+this.a},h.a=!1;var $6t,z6t;I(Lx,"JSONBoolean",493),D(997,63,gp,iZe),I(Lx,"JSONException",997),D(1036,2064,{},G),h.oe=function(){return sun},h.Ib=function(){return cl};var q6t;I(Lx,"JSONNull",1036),D(263,2064,{263:1},yk),h.Fb=function(t){return De(t,263)?this.a==l(t,263).a:!1},h.oe=function(){return tun},h.Hb=function(){return $8(this.a)},h.re=function(){return this},h.Ib=function(){return this.a+""},h.a=0,I(Lx,"JSONNumber",263),D(190,2064,{190:1},D8,xk),h.Fb=function(t){return De(t,190)?f6e(this.a,l(t,190).a):!1},h.oe=function(){return nun},h.Hb=function(){return t6e(this.a)},h.se=function(){return this},h.Ib=function(){var t,n,r,s,o,f,g;for(g=new Eh("{"),t=!0,f=yce(this,We($t,dt,2,0,6,1)),r=f,s=0,o=r.length;s=0?":"+this.c:"")+")"},h.c=0;var E_e=I(Gc,"StackTraceElement",319);I6t={3:1,484:1,34:1,2:1};var $t=I(Gc,yTe,2);D(111,427,{484:1},e2,f_,Af),I(Gc,"StringBuffer",111),D(104,427,{484:1},lb,A5,Eh),I(Gc,"StringBuilder",104),D(702,77,whe,v3e),I(Gc,"StringIndexOutOfBoundsException",702),D(2145,1,{});var G6t;D(48,63,{3:1,103:1,63:1,82:1,48:1},Qr,Jp),I(Gc,"UnsupportedOperationException",48),D(247,242,{3:1,34:1,242:1,247:1},qN,L3e),h.Fd=function(t){return fvt(this,l(t,247))},h.ue=function(){return qy($vt(this))},h.Fb=function(t){var n;return this===t?!0:De(t,247)?(n=l(t,247),this.e==n.e&&fvt(this,n)==0):!1},h.Hb=function(){var t;return this.b!=0?this.b:this.a<54?(t=tu(this.f),this.b=Yr(xa(t,-1)),this.b=33*this.b+Yr(xa(Tw(t,32),-1)),this.b=17*this.b+da(this.e),this.b):(this.b=17*C1t(this.c)+da(this.e),this.b)},h.Ib=function(){return $vt(this)},h.a=0,h.b=0,h.d=0,h.e=0,h.f=0;var K6t,vv,C_e,S_e,__e,A_e,L_e,M_e,H0e=I("java.math","BigDecimal",247);D(92,242,{3:1,34:1,242:1,92:1},tp,mct,$m,Sdt,bb),h.Fd=function(t){return kdt(this,l(t,92))},h.ue=function(){return qy(Vle(this,0))},h.Fb=function(t){return H8e(this,t)},h.Hb=function(){return C1t(this)},h.Ib=function(){return Vle(this,0)},h.b=-2,h.c=0,h.d=0,h.e=0;var W6t,mK,Y6t,U0e,vK,FL,M6=I("java.math","BigInteger",92),X6t,Q6t,zx,RL;D(498,2065,t3),h.$b=function(){Dl(this)},h._b=function(t){return Hu(this,t)},h.uc=function(t){return a1t(this,t,this.i)||a1t(this,t,this.f)},h.vc=function(){return new Cr(this)},h.xc=function(t){return or(this,t)},h.zc=function(t,n){return Ti(this,t,n)},h.Bc=function(t){return ox(this,t)},h.gc=function(){return g_(this)},h.g=0,I(_r,"AbstractHashMap",498),D(267,q1,Tl,Cr),h.$b=function(){this.a.$b()},h.Hc=function(t){return Kct(this,t)},h.Kc=function(){return new Xm(this.a)},h.Mc=function(t){var n;return Kct(this,t)?(n=l(t,44).ld(),this.a.Bc(n),!0):!1},h.gc=function(){return this.a.gc()},I(_r,"AbstractHashMap/EntrySet",267),D(268,1,Ia,Xm),h.Nb=function(t){Qa(this,t)},h.Pb=function(){return zw(this)},h.Ob=function(){return this.b},h.Qb=function(){kht(this)},h.b=!1,h.d=0,I(_r,"AbstractHashMap/EntrySetIterator",268),D(426,1,Ia,xr),h.Nb=function(t){Qa(this,t)},h.Ob=function(){return Ese(this)},h.Pb=function(){return X5e(this)},h.Qb=function(){fh(this)},h.b=0,h.c=-1,I(_r,"AbstractList/IteratorImpl",426),D(98,426,dg,Ua),h.Qb=function(){fh(this)},h.Rb=function(t){wy(this,t)},h.Sb=function(){return this.b>0},h.Tb=function(){return this.b},h.Ub=function(){return br(this.b>0),this.a.Xb(this.c=--this.b)},h.Vb=function(){return this.b-1},h.Wb=function(t){my(this.c!=-1),this.a.hd(this.c,t)},I(_r,"AbstractList/ListIteratorImpl",98),D(244,56,aE,c2),h.bd=function(t,n){Sy(t,this.b),this.c.bd(this.a+t,n),++this.b},h.Xb=function(t){return Sn(t,this.b),this.c.Xb(this.a+t)},h.gd=function(t){var n;return Sn(t,this.b),n=this.c.gd(this.a+t),--this.b,n},h.hd=function(t,n){return Sn(t,this.b),this.c.hd(this.a+t,n)},h.gc=function(){return this.b},h.a=0,h.b=0,I(_r,"AbstractList/SubList",244),D(266,q1,Tl,pr),h.$b=function(){this.a.$b()},h.Hc=function(t){return this.a._b(t)},h.Kc=function(){var t;return t=this.a.vc().Kc(),new Di(t)},h.Mc=function(t){return this.a._b(t)?(this.a.Bc(t),!0):!1},h.gc=function(){return this.a.gc()},I(_r,"AbstractMap/1",266),D(541,1,Ia,Di),h.Nb=function(t){Qa(this,t)},h.Ob=function(){return this.a.Ob()},h.Pb=function(){var t;return t=l(this.a.Pb(),44),t.ld()},h.Qb=function(){this.a.Qb()},I(_r,"AbstractMap/1/1",541),D(231,31,Qy,pi),h.$b=function(){this.a.$b()},h.Hc=function(t){return this.a.uc(t)},h.Kc=function(){var t;return t=this.a.vc().Kc(),new fs(t)},h.gc=function(){return this.a.gc()},I(_r,"AbstractMap/2",231),D(301,1,Ia,fs),h.Nb=function(t){Qa(this,t)},h.Ob=function(){return this.a.Ob()},h.Pb=function(){var t;return t=l(this.a.Pb(),44),t.md()},h.Qb=function(){this.a.Qb()},I(_r,"AbstractMap/2/1",301),D(494,1,{494:1,44:1}),h.Fb=function(t){var n;return De(t,44)?(n=l(t,44),eu(this.d,n.ld())&&eu(this.e,n.md())):!1},h.ld=function(){return this.d},h.md=function(){return this.e},h.Hb=function(){return $5(this.d)^$5(this.e)},h.nd=function(t){return m4e(this,t)},h.Ib=function(){return this.d+"="+this.e},I(_r,"AbstractMap/AbstractEntry",494),D(397,494,{494:1,397:1,44:1},bq),I(_r,"AbstractMap/SimpleEntry",397),D(2082,1,khe),h.Fb=function(t){var n;return De(t,44)?(n=l(t,44),eu(this.ld(),n.ld())&&eu(this.md(),n.md())):!1},h.Hb=function(){return $5(this.ld())^$5(this.md())},h.Ib=function(){return this.ld()+"="+this.md()},I(_r,s3t,2082),D(2090,2065,mTe),h.Xc=function(t){return mse(this.Ee(t))},h.tc=function(t){return Zut(this,t)},h._b=function(t){return v4e(this,t)},h.vc=function(){return new Rs(this)},h.Tc=function(){return dat(this.Ge())},h.Yc=function(t){return mse(this.He(t))},h.xc=function(t){var n;return n=t,dc(this.Fe(n))},h.$c=function(t){return mse(this.Ie(t))},h.ec=function(){return new Fs(this)},h.Vc=function(){return dat(this.Je())},h._c=function(t){return mse(this.Ke(t))},I(_r,"AbstractNavigableMap",2090),D(629,q1,Tl,Rs),h.Hc=function(t){return De(t,44)&&Zut(this.b,l(t,44))},h.Kc=function(){return this.b.De()},h.Mc=function(t){var n;return De(t,44)?(n=l(t,44),this.b.Le(n)):!1},h.gc=function(){return this.b.gc()},I(_r,"AbstractNavigableMap/EntrySet",629),D(1146,q1,vTe,Fs),h.Nc=function(){return new gq(this)},h.$b=function(){this.a.$b()},h.Hc=function(t){return v4e(this.a,t)},h.Kc=function(){var t;return t=this.a.vc().b.De(),new ks(t)},h.Mc=function(t){return v4e(this.a,t)?(this.a.Bc(t),!0):!1},h.gc=function(){return this.a.gc()},I(_r,"AbstractNavigableMap/NavigableKeySet",1146),D(1147,1,Ia,ks),h.Nb=function(t){Qa(this,t)},h.Ob=function(){return Ese(this.a.a)},h.Pb=function(){var t;return t=Brt(this.a),t.ld()},h.Qb=function(){qit(this.a)},I(_r,"AbstractNavigableMap/NavigableKeySet/1",1147),D(2103,31,Qy),h.Fc=function(t){return W8(qT(this,t),cE),!0},h.Gc=function(t){return tr(t),UO(t!=this,"Can't add a queue to itself"),Ga(this,t)},h.$b=function(){for(;oce(this)!=null;);},I(_r,"AbstractQueue",2103),D(310,31,{4:1,20:1,31:1,16:1},H5,qct),h.Fc=function(t){return k6e(this,t),!0},h.$b=function(){A6e(this)},h.Hc=function(t){return A0t(new rA(this),t)},h.dc=function(){return h_(this)},h.Kc=function(){return new rA(this)},h.Mc=function(t){return $2n(new rA(this),t)},h.gc=function(){return this.c-this.b&this.a.length-1},h.Nc=function(){return new kn(this,272)},h.Qc=function(t){var n;return n=this.c-this.b&this.a.length-1,t.lengthn&&Ss(t,n,null),t},h.b=0,h.c=0,I(_r,"ArrayDeque",310),D(459,1,Ia,rA),h.Nb=function(t){Qa(this,t)},h.Ob=function(){return this.a!=this.b},h.Pb=function(){return VU(this)},h.Qb=function(){Eft(this)},h.a=0,h.b=0,h.c=-1,I(_r,"ArrayDeque/IteratorImpl",459),D(13,56,y3t,mt,Pu,Ml),h.bd=function(t,n){kw(this,t,n)},h.Fc=function(t){return wt(this,t)},h.cd=function(t,n){return p8e(this,t,n)},h.Gc=function(t){return aa(this,t)},h.$b=function(){uy(this.c,0)},h.Hc=function(t){return bc(this,t,0)!=-1},h.Jc=function(t){Uu(this,t)},h.Xb=function(t){return Rt(this,t)},h.dd=function(t){return bc(this,t,0)},h.dc=function(){return this.c.length==0},h.Kc=function(){return new K(this)},h.gd=function(t){return l2(this,t)},h.Mc=function(t){return sl(this,t)},h.ce=function(t,n){hct(this,t,n)},h.hd=function(t,n){return nf(this,t,n)},h.gc=function(){return this.c.length},h.jd=function(t){Gs(this,t)},h.Pc=function(){return cH(this.c)},h.Qc=function(t){return j1(this,t)};var LOn=I(_r,"ArrayList",13);D(7,1,Ia,K),h.Nb=function(t){Qa(this,t)},h.Ob=function(){return Oc(this)},h.Pb=function(){return re(this)},h.Qb=function(){J_(this)},h.a=0,h.b=-1,I(_r,"ArrayList/1",7),D(2112,b.Function,{},Pe),h.Me=function(t,n){return Xi(t,n)},D(151,56,x3t,Ll),h.Hc=function(t){return Cft(this,t)!=-1},h.Jc=function(t){var n,r,s,o;for(tr(t),r=this.a,s=0,o=r.length;s0)throw ue(new Wn(ATe+t+" greater than "+this.e));return this.f.Te()?Not(this.c,this.b,this.a,t,n):fct(this.c,t,n)},h.zc=function(t,n){if(!Pue(this.c,this.f,t,this.b,this.a,this.e,this.d))throw ue(new Wn(t+" outside the range "+this.b+" to "+this.e));return V0t(this.c,t,n)},h.Bc=function(t){var n;return n=t,Pue(this.c,this.f,n,this.b,this.a,this.e,this.d)?Pot(this.c,n):null},h.Le=function(t){return AH(this,t.ld())&&K6e(this.c,t)},h.gc=function(){var t,n,r;if(this.f.Te()?this.a?n=PT(this.c,this.b,!0):n=PT(this.c,this.b,!1):n=r7e(this.c),!(n&&AH(this,n.d)&&n))return 0;for(t=0,r=new xce(this.c,this.f,this.b,this.a,this.e,this.d);Ese(r.a);r.b=l(X5e(r.a),44))++t;return t},h.ad=function(t,n){if(this.f.Te()&&this.c.a.Ne(t,this.b)<0)throw ue(new Wn(ATe+t+E3t+this.b));return this.f.Ue()?Not(this.c,t,n,this.e,this.d):dct(this.c,t,n)},h.a=!1,h.d=!1,I(_r,"TreeMap/SubMap",631),D(304,22,She,pq),h.Te=function(){return!1},h.Ue=function(){return!1};var K0e,W0e,Y0e,X0e,yK=Br(_r,"TreeMap/SubMapType",304,Hr,dmn,T0n);D(1143,304,She,$nt),h.Ue=function(){return!0},Br(_r,"TreeMap/SubMapType/1",1143,yK,null,null),D(1144,304,She,Ynt),h.Te=function(){return!0},h.Ue=function(){return!0},Br(_r,"TreeMap/SubMapType/2",1144,yK,null,null),D(1145,304,She,jnt),h.Te=function(){return!0},Br(_r,"TreeMap/SubMapType/3",1145,yK,null,null);var s7t;D(157,q1,{3:1,20:1,31:1,16:1,277:1,21:1,87:1,157:1},Kwe,n2,wa),h.Nc=function(){return new gq(this)},h.Fc=function(t){return KO(this,t)},h.$b=function(){this.a.$b()},h.Hc=function(t){return this.a._b(t)},h.Kc=function(){return this.a.ec().Kc()},h.Mc=function(t){return pae(this,t)},h.gc=function(){return this.a.gc()};var POn=I(_r,"TreeSet",157);D(1082,1,{},wo),h.Ve=function(t,n){return $fn(this.a,t,n)},I(_he,"BinaryOperator/lambda$0$Type",1082),D(1083,1,{},oh),h.Ve=function(t,n){return zfn(this.a,t,n)},I(_he,"BinaryOperator/lambda$1$Type",1083),D(952,1,{},Bt),h.Kb=function(t){return t},I(_he,"Function/lambda$0$Type",952),D(395,1,ei,Vl),h.Mb=function(t){return!this.a.Mb(t)},I(_he,"Predicate/lambda$2$Type",395),D(581,1,{581:1});var a7t=I(oL,"Handler",581);D(2107,1,AP),h.xe=function(){return"DUMMY"},h.Ib=function(){return this.xe()};var F_e;I(oL,"Level",2107),D(1706,2107,AP,Ze),h.xe=function(){return"INFO"},I(oL,"Level/LevelInfo",1706),D(1843,1,{},fJe);var Q0e;I(oL,"LogManager",1843),D(1896,1,AP,zit),h.b=null,I(oL,"LogRecord",1896),D(525,1,{525:1},$oe),h.e=!1;var o7t=!1,c7t=!1,G1=!1,u7t=!1,l7t=!1;I(oL,"Logger",525),D(835,581,{581:1},Dt),I(oL,"SimpleConsoleLogHandler",835),D(108,22,{3:1,34:1,22:1,108:1},_se);var R_e,Cc,o4,uc=Br(ca,"Collector/Characteristics",108,Hr,ebn,E0n),h7t;D(758,1,{},L5e),I(ca,"CollectorImpl",758),D(1074,1,{},kt),h.Ve=function(t,n){return N4n(l(t,213),l(n,213))},I(ca,"Collectors/10methodref$merge$Type",1074),D(1075,1,{},Nn),h.Kb=function(t){return Hct(l(t,213))},I(ca,"Collectors/11methodref$toString$Type",1075),D(1076,1,{},cb),h.Kb=function(t){return Hn(),!!Tye(t)},I(ca,"Collectors/12methodref$test$Type",1076),D(144,1,{},ht),h.Yd=function(t,n){l(t,16).Fc(n)},I(ca,"Collectors/20methodref$add$Type",144),D(146,1,{},qr),h.Xe=function(){return new mt},I(ca,"Collectors/21methodref$ctor$Type",146),D(359,1,{},xt),h.Xe=function(){return new Ys},I(ca,"Collectors/23methodref$ctor$Type",359),D(360,1,{},Ri),h.Yd=function(t,n){sa(l(t,49),n)},I(ca,"Collectors/24methodref$add$Type",360),D(1069,1,{},wi),h.Ve=function(t,n){return Net(l(t,15),l(n,16))},I(ca,"Collectors/4methodref$addAll$Type",1069),D(1073,1,{},ia),h.Yd=function(t,n){np(l(t,213),l(n,484))},I(ca,"Collectors/9methodref$add$Type",1073),D(1072,1,{},ist),h.Xe=function(){return new Qm(this.a,this.b,this.c)},I(ca,"Collectors/lambda$15$Type",1072),D(1077,1,{},Hs),h.Xe=function(){var t;return t=new u2,y2(t,(Hn(),!1),new mt),y2(t,!0,new mt),t},I(ca,"Collectors/lambda$22$Type",1077),D(1078,1,{},ub),h.Xe=function(){return he(le(ka,1),jn,1,5,[this.a])},I(ca,"Collectors/lambda$25$Type",1078),D(1079,1,{},V0),h.Yd=function(t,n){agn(this.a,Km(t))},I(ca,"Collectors/lambda$26$Type",1079),D(1080,1,{},Xp),h.Ve=function(t,n){return Ngn(this.a,Km(t),Km(n))},I(ca,"Collectors/lambda$27$Type",1080),D(1081,1,{},mo),h.Kb=function(t){return Km(t)[0]},I(ca,"Collectors/lambda$28$Type",1081),D(728,1,{},Tr),h.Ve=function(t,n){return u5e(t,n)},I(ca,"Collectors/lambda$4$Type",728),D(145,1,{},On),h.Ve=function(t,n){return pln(l(t,16),l(n,16))},I(ca,"Collectors/lambda$42$Type",145),D(361,1,{},Rn),h.Ve=function(t,n){return bln(l(t,49),l(n,49))},I(ca,"Collectors/lambda$50$Type",361),D(362,1,{},zn),h.Kb=function(t){return l(t,49)},I(ca,"Collectors/lambda$51$Type",362),D(1068,1,{},hd),h.Yd=function(t,n){$yn(this.a,l(t,85),n)},I(ca,"Collectors/lambda$7$Type",1068),D(1070,1,{},Ct),h.Ve=function(t,n){return byn(l(t,85),l(n,85),new wi)},I(ca,"Collectors/lambda$8$Type",1070),D(1071,1,{},tw),h.Kb=function(t){return d5n(this.a,l(t,85))},I(ca,"Collectors/lambda$9$Type",1071),D(550,1,{}),h.$e=function(){nA(this)},h.d=!1,I(ca,"TerminatableStream",550),D(827,550,LTe,c4e),h.$e=function(){nA(this)},I(ca,"DoubleStreamImpl",827),D(1847,736,Ph,sst),h.Re=function(t){return b7n(this,l(t,189))},h.a=null,I(ca,"DoubleStreamImpl/2",1847),D(1848,1,FP,cy),h.Pe=function(t){uhn(this.a,t)},I(ca,"DoubleStreamImpl/2/lambda$0$Type",1848),D(1845,1,FP,E8),h.Pe=function(t){chn(this.a,t)},I(ca,"DoubleStreamImpl/lambda$0$Type",1845),D(1846,1,FP,T5),h.Pe=function(t){sdt(this.a,t)},I(ca,"DoubleStreamImpl/lambda$2$Type",1846),D(1397,735,Ph,Wut),h.Re=function(t){return nmn(this,l(t,202))},h.a=0,h.b=0,h.c=0,I(ca,"IntStream/5",1397),D(806,550,LTe,u4e),h.$e=function(){nA(this)},h._e=function(){return xb(this),this.a},I(ca,"IntStreamImpl",806),D(807,550,LTe,N3e),h.$e=function(){nA(this)},h._e=function(){return xb(this),Uye(),i7t},I(ca,"IntStreamImpl/Empty",807),D(1687,1,MP,C8),h.Dd=function(t){p0t(this.a,t)},I(ca,"IntStreamImpl/lambda$4$Type",1687);var BOn=Ts(ca,"Stream");D(26,550,{533:1,687:1,848:1},vn),h.$e=function(){nA(this)};var qx;I(ca,"StreamImpl",26),D(1102,500,Ph,Oit),h.Bd=function(t){for(;swn(this);){if(this.a.Bd(t))return!0;nA(this.b),this.b=null,this.a=null}return!1},I(ca,"StreamImpl/1",1102),D(1103,1,hr,e_),h.Cd=function(t){Idn(this.a,l(t,848))},I(ca,"StreamImpl/1/lambda$0$Type",1103),D(1104,1,ei,E5),h.Mb=function(t){return sa(this.a,t)},I(ca,"StreamImpl/1methodref$add$Type",1104),D(1105,500,Ph,dot),h.Bd=function(t){var n;return this.a||(n=new mt,this.b.a.Nb(new eg(n)),Cn(),Gs(n,this.c),this.a=new kn(n,16)),Xht(this.a,t)},h.a=null,I(ca,"StreamImpl/5",1105),D(1106,1,hr,eg),h.Cd=function(t){wt(this.a,t)},I(ca,"StreamImpl/5/2methodref$add$Type",1106),D(737,500,Ph,i7e),h.Bd=function(t){for(this.b=!1;!this.b&&this.c.Bd(new Qet(this,t)););return this.b},h.b=!1,I(ca,"StreamImpl/FilterSpliterator",737),D(1096,1,hr,Qet),h.Cd=function(t){Agn(this.a,this.b,t)},I(ca,"StreamImpl/FilterSpliterator/lambda$0$Type",1096),D(1091,736,Ph,slt),h.Re=function(t){return c0n(this,l(t,189))},I(ca,"StreamImpl/MapToDoubleSpliterator",1091),D(1095,1,hr,Jet),h.Cd=function(t){Iln(this.a,this.b,t)},I(ca,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1095),D(1090,735,Ph,alt),h.Re=function(t){return u0n(this,l(t,202))},I(ca,"StreamImpl/MapToIntSpliterator",1090),D(1094,1,hr,Zet),h.Cd=function(t){Oln(this.a,this.b,t)},I(ca,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1094),D(734,500,Ph,H6e),h.Bd=function(t){return Mit(this,t)},I(ca,"StreamImpl/MapToObjSpliterator",734),D(1093,1,hr,ett),h.Cd=function(t){Nln(this.a,this.b,t)},I(ca,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1093),D(1092,500,Ph,Pft),h.Bd=function(t){for(;Cse(this.b,0);){if(!this.a.Bd(new gt))return!1;this.b=Df(this.b,1)}return this.a.Bd(t)},h.b=0,I(ca,"StreamImpl/SkipSpliterator",1092),D(1097,1,hr,gt),h.Cd=function(t){},I(ca,"StreamImpl/SkipSpliterator/lambda$0$Type",1097),D(626,1,hr,on),h.Cd=function(t){Fie(this,t)},I(ca,"StreamImpl/ValueConsumer",626),D(1098,1,hr,dn),h.Cd=function(t){Bm()},I(ca,"StreamImpl/lambda$0$Type",1098),D(1099,1,hr,Ln),h.Cd=function(t){Bm()},I(ca,"StreamImpl/lambda$1$Type",1099),D(1100,1,{},_1),h.Ve=function(t,n){return z0n(this.a,t,n)},I(ca,"StreamImpl/lambda$4$Type",1100),D(1101,1,hr,ttt),h.Cd=function(t){Kfn(this.b,this.a,t)},I(ca,"StreamImpl/lambda$5$Type",1101),D(1107,1,hr,tg),h.Cd=function(t){iyn(this.a,l(t,380))},I(ca,"TerminatableStream/lambda$0$Type",1107),D(2142,1,{}),D(2014,1,{},Io),I("javaemul.internal","ConsoleLogger",2014);var FOn=0;D(2134,1,{}),D(1830,1,hr,Oo),h.Cd=function(t){l(t,317)},I(uE,"BowyerWatsonTriangulation/lambda$0$Type",1830),D(1831,1,hr,Dm),h.Cd=function(t){Ga(this.a,l(t,317).e)},I(uE,"BowyerWatsonTriangulation/lambda$1$Type",1831),D(1832,1,hr,No),h.Cd=function(t){l(t,177)},I(uE,"BowyerWatsonTriangulation/lambda$2$Type",1832),D(1827,1,ii,Fz),h.Ne=function(t,n){return zmn(this.a,l(t,177),l(n,177))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(uE,"NaiveMinST/lambda$0$Type",1827),D(449,1,{},nw),I(uE,"NodeMicroLayout",449),D(177,1,{177:1},F8),h.Fb=function(t){var n;return De(t,177)?(n=l(t,177),eu(this.a,n.a)&&eu(this.b,n.b)||eu(this.a,n.b)&&eu(this.b,n.a)):!1},h.Hb=function(){return $5(this.a)+$5(this.b)};var ROn=I(uE,"TEdge",177);D(317,1,{317:1},Hke),h.Fb=function(t){var n;return De(t,317)?(n=l(t,317),hU(this,n.a)&&hU(this,n.b)&&hU(this,n.c)):!1},h.Hb=function(){return $5(this.a)+$5(this.b)+$5(this.c)},I(uE,"TTriangle",317),D(225,1,{225:1},qq),I(uE,"Tree",225),D(1218,1,{},Jot),I(_3t,"Scanline",1218);var f7t=Ts(_3t,A3t);D(1758,1,{},Kht),I(mg,"CGraph",1758),D(316,1,{316:1},tct),h.b=0,h.c=0,h.d=0,h.g=0,h.i=0,h.k=oa,I(mg,"CGroup",316),D(830,1,{},Xwe),I(mg,"CGroup/CGroupBuilder",830),D(60,1,{60:1},dit),h.Ib=function(){var t;return this.j?Zr(this.j.Kb(this)):(Xg(xK),xK.o+"@"+(t=ww(this)>>>0,t.toString(16)))},h.f=0,h.i=oa;var xK=I(mg,"CNode",60);D(829,1,{},Qwe),I(mg,"CNode/CNodeBuilder",829);var d7t;D(1590,1,{},Us),h.ff=function(t,n){return 0},h.gf=function(t,n){return 0},I(mg,M3t,1590),D(1853,1,{},uo),h.cf=function(t){var n,r,s,o,f,g,w,T,C,L,F,z,V,J,te;for(C=gs,s=new K(t.a.b);s.as.d.c||s.d.c==f.d.c&&s.d.b0?t+this.n.d+this.n.a:0},h.kf=function(){var t,n,r,s,o;if(o=0,this.e)this.b?o=this.b.a:this.a[1][1]&&(o=this.a[1][1].kf());else if(this.g)o=z8e(this,Fue(this,null,!0));else for(n=(e1(),he(le(c4,1),it,237,0,[Wc,ju,Yc])),r=0,s=n.length;r0?o+this.n.b+this.n.c:0},h.lf=function(){var t,n,r,s,o;if(this.g)for(t=Fue(this,null,!1),r=(e1(),he(le(c4,1),it,237,0,[Wc,ju,Yc])),s=0,o=r.length;s0&&(s[0]+=this.d,r-=s[0]),s[2]>0&&(s[2]+=this.d,r-=s[2]),this.c.a=b.Math.max(0,r),this.c.d=n.d+t.d+(this.c.a-r)/2,s[1]=b.Math.max(s[1],r),j6e(this,ju,n.d+t.d+s[0]-(s[1]-r)/2,s)},h.b=null,h.d=0,h.e=!1,h.f=!1,h.g=!1;var n1e=0,kK=0;I(cv,"GridContainerCell",1538),D(471,22,{3:1,34:1,22:1,471:1},Lse);var Vb,Bd,m0,T7t=Br(cv,"HorizontalLabelAlignment",471,Hr,nbn,L0n),E7t;D(314,217,{217:1,314:1},Rot,Yht,Dot),h.jf=function(){return vst(this)},h.kf=function(){return r5e(this)},h.a=0,h.c=!1;var jOn=I(cv,"LabelCell",314);D(252,336,{217:1,336:1,252:1},IA),h.jf=function(){return uP(this)},h.kf=function(){return lP(this)},h.lf=function(){Cle(this)},h.mf=function(){Sle(this)},h.b=0,h.c=0,h.d=!1,I(cv,"StripContainerCell",252),D(1691,1,ei,Ac),h.Mb=function(t){return Lun(l(t,217))},I(cv,"StripContainerCell/lambda$0$Type",1691),D(1692,1,{},Jc),h.Ye=function(t){return l(t,217).kf()},I(cv,"StripContainerCell/lambda$1$Type",1692),D(1693,1,ei,Ya),h.Mb=function(t){return Mun(l(t,217))},I(cv,"StripContainerCell/lambda$2$Type",1693),D(1694,1,{},Ba),h.Ye=function(t){return l(t,217).jf()},I(cv,"StripContainerCell/lambda$3$Type",1694),D(472,22,{3:1,34:1,22:1,472:1},Mse);var v0,Gb,s1,C7t=Br(cv,"VerticalLabelAlignment",472,Hr,tbn,M0n),S7t;D(800,1,{},sTe),h.c=0,h.d=0,h.k=0,h.s=0,h.t=0,h.v=!1,h.w=0,h.D=!1,I(uG,"NodeContext",800),D(1536,1,ii,ha),h.Ne=function(t,n){return Mnt(l(t,64),l(n,64))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(uG,"NodeContext/0methodref$comparePortSides$Type",1536),D(1537,1,ii,$o),h.Ne=function(t,n){return s9n(l(t,117),l(n,117))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(uG,"NodeContext/1methodref$comparePortContexts$Type",1537),D(164,22,{3:1,34:1,22:1,164:1},af);var _7t,A7t,L7t,M7t,D7t,I7t,O7t,N7t,P7t,B7t,F7t,R7t,j7t,$7t,z7t,q7t,H7t,U7t,V7t,G7t,K7t,r1e,W7t=Br(uG,"NodeLabelLocation",164,Hr,gue,D0n),Y7t;D(117,1,{117:1},F2t),h.a=!1,I(uG,"PortContext",117),D(1541,1,hr,Lc),h.Cd=function(t){KZe(l(t,314))},I(jP,H3t,1541),D(1542,1,ei,Fa),h.Mb=function(t){return!!l(t,117).c},I(jP,U3t,1542),D(1543,1,hr,Ra),h.Cd=function(t){KZe(l(t,117).c)},I(jP,"LabelPlacer/lambda$2$Type",1543);var aAe;D(1540,1,hr,ma),h.Cd=function(t){vy(),cun(l(t,117))},I(jP,"NodeLabelAndSizeUtilities/lambda$0$Type",1540),D(801,1,hr,B4e),h.Cd=function(t){kln(this.b,this.c,this.a,l(t,187))},h.a=!1,h.c=!1,I(jP,"NodeLabelCellCreator/lambda$0$Type",801),D(1539,1,hr,Vie),h.Cd=function(t){hun(this.a,l(t,187))},I(jP,"PortContextCreator/lambda$0$Type",1539);var TK;D(1902,1,{},Kh),I(hE,"GreedyRectangleStripOverlapRemover",1902),D(1903,1,ii,Po),h.Ne=function(t,n){return efn(l(t,226),l(n,226))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(hE,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1903),D(1849,1,{},bJe),h.a=5,h.e=0,I(hE,"RectangleStripOverlapRemover",1849),D(1850,1,ii,Hp),h.Ne=function(t,n){return tfn(l(t,226),l(n,226))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(hE,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1850),D(1852,1,ii,Ug),h.Ne=function(t,n){return Ugn(l(t,226),l(n,226))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(hE,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1852),D(417,22,{3:1,34:1,22:1,417:1},mq);var hB,i1e,s1e,fB,X7t=Br(hE,"RectangleStripOverlapRemover/OverlapRemovalDirection",417,Hr,bmn,I0n),Q7t;D(226,1,{226:1},Vae),I(hE,"RectangleStripOverlapRemover/RectangleNode",226),D(1851,1,hr,Gie),h.Cd=function(t){D7n(this.a,l(t,226))},I(hE,"RectangleStripOverlapRemover/lambda$1$Type",1851),D(1323,1,ii,ad),h.Ne=function(t,n){return QLn(l(t,176),l(n,176))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(Ld,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1323),D(1326,1,{},od),h.Kb=function(t){return l(t,334).a},I(Ld,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1326),D(1327,1,ei,w1),h.Mb=function(t){return l(t,332).a},I(Ld,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1327),D(1328,1,ei,kh),h.Mb=function(t){return l(t,332).a},I(Ld,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1328),D(1321,1,ii,Wd),h.Ne=function(t,n){return __n(l(t,176),l(n,176))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(Ld,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1321),D(1324,1,{},Yd),h.Kb=function(t){return l(t,334).a},I(Ld,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1324),D(781,1,ii,Xd),h.Ne=function(t,n){return uyn(l(t,176),l(n,176))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(Ld,"PolyominoCompactor/MinNumOfExtensionsComparator",781),D(1319,1,ii,Zf),h.Ne=function(t,n){return m3n(l(t,330),l(n,330))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(Ld,"PolyominoCompactor/MinPerimeterComparator",1319),D(1320,1,ii,Up),h.Ne=function(t,n){return t7n(l(t,330),l(n,330))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(Ld,"PolyominoCompactor/MinPerimeterComparatorWithShape",1320),D(1322,1,ii,u5),h.Ne=function(t,n){return W_n(l(t,176),l(n,176))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(Ld,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1322),D(1325,1,{},bs),h.Kb=function(t){return l(t,334).a},I(Ld,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1325),D(782,1,{},K3e),h.Ve=function(t,n){return cmn(this,l(t,42),l(n,176))},I(Ld,"SuccessorCombination",782),D(649,1,{},Vt),h.Ve=function(t,n){var r;return ETn((r=l(t,42),l(n,176),r))},I(Ld,"SuccessorJitter",649),D(648,1,{},jr),h.Ve=function(t,n){var r;return lSn((r=l(t,42),l(n,176),r))},I(Ld,"SuccessorLineByLine",648),D(573,1,{},Ji),h.Ve=function(t,n){var r;return EEn((r=l(t,42),l(n,176),r))},I(Ld,"SuccessorManhattan",573),D(1344,1,{},Qo),h.Ve=function(t,n){var r;return NCn((r=l(t,42),l(n,176),r))},I(Ld,"SuccessorMaxNormWindingInMathPosSense",1344),D(409,1,{},C5),h.Ve=function(t,n){return _5e(this,t,n)},h.c=!1,h.d=!1,h.e=!1,h.f=!1,I(Ld,"SuccessorQuadrantsGeneric",409),D(1345,1,{},Hi),h.Kb=function(t){return l(t,334).a},I(Ld,"SuccessorQuadrantsGeneric/lambda$0$Type",1345),D(332,22,{3:1,34:1,22:1,332:1},vq),h.a=!1;var dB,gB,pB,bB,J7t=Br(hG,$Te,332,Hr,gmn,O0n),Z7t;D(1317,1,{}),h.Ib=function(){var t,n,r,s,o,f;for(r=" ",t=bt(0),o=0;o=0?"b"+t+"["+joe(this.a)+"]":"b["+joe(this.a)+"]"):"b_"+ww(this)},I(zP,"FBendpoint",250),D(290,137,{3:1,290:1,96:1,137:1},git),h.Ib=function(){return joe(this)},I(zP,"FEdge",290),D(235,137,{3:1,235:1,96:1,137:1},tU);var zOn=I(zP,"FGraph",235);D(454,309,{3:1,454:1,309:1,96:1,137:1},but),h.Ib=function(){return this.b==null||this.b.length==0?"l["+joe(this.a)+"]":"l_"+this.b},I(zP,"FLabel",454),D(153,309,{3:1,153:1,309:1,96:1,137:1},Wnt),h.Ib=function(){return g6e(this)},h.a=0,I(zP,"FNode",153),D(2100,1,{}),h.vf=function(t){Rke(this,t)},h.wf=function(){mgt(this)},h.d=0,I(YTe,"AbstractForceModel",2100),D(641,2100,{641:1},g0t),h.uf=function(t,n){var r,s,o,f,g;return Uvt(this.f,t,n),o=ya(Xa(n.d),t.d),g=b.Math.sqrt(o.a*o.a+o.b*o.b),s=b.Math.max(0,g-tA(t.e)/2-tA(n.e)/2),r=S2t(this.e,t,n),r>0?f=-zgn(s,this.c)*r:f=bfn(s,this.b)*l(Q(t,(p0(),Hx)),17).a,bd(o,f/g),o},h.vf=function(t){Rke(this,t),this.a=l(Q(t,(p0(),LK)),17).a,this.c=ze(Ge(Q(t,MK))),this.b=ze(Ge(Q(t,f1e)))},h.xf=function(t){return t0&&(f-=Cun(s,this.a)*r),bd(o,f*this.b/g),o},h.vf=function(t){var n,r,s,o,f,g,w;for(Rke(this,t),this.b=ze(Ge(Q(t,(p0(),d1e)))),this.c=this.b/l(Q(t,LK),17).a,s=t.e.c.length,f=0,o=0,w=new K(t.e);w.a0},h.a=0,h.b=0,h.c=0,I(YTe,"FruchtermanReingoldModel",642),D(860,1,Pf,WS),h.hf=function(t){an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,gG),""),"Force Model"),"Determines the model for force calculation."),pAe),(T2(),ps)),bAe),hn((n1(),Bn))))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,XTe),""),"Iterations"),"The number of iterations on the force model."),bt(300)),Sc),to),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,QTe),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),bt(0)),Sc),to),hn($d)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,Vhe),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),Md),co),ra),hn(Bn)))),Zs(t,Vhe,gG,w8t),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,Ghe),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),co),ra),hn(Bn)))),Zs(t,Ghe,gG,b8t),Iwt((new YS,t))};var d8t,g8t,pAe,p8t,b8t,m8t,v8t,w8t;I(lL,"ForceMetaDataProvider",860),D(432,22,{3:1,34:1,22:1,432:1},Y3e);var h1e,AK,bAe=Br(lL,"ForceModelStrategy",432,Hr,c2n,B0n),y8t;D(C2,1,Pf,YS),h.hf=function(t){Iwt(t)};var x8t,k8t,mAe,LK,vAe,T8t,E8t,C8t,S8t,wAe,_8t,yAe,xAe,A8t,Hx,L8t,f1e,kAe,M8t,D8t,MK,d1e,I8t,O8t,N8t,TAe,P8t;I(lL,"ForceOptions",C2),D(1001,1,{},ud),h.sf=function(){var t;return t=new Ywe,t},h.tf=function(t){},I(lL,"ForceOptions/ForceFactory",1001);var wB,zL,Ux,DK;D(861,1,Pf,hz),h.hf=function(t){an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,ZTe),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(Hn(),!1)),(T2(),Ta)),Ps),hn((n1(),pa))))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,eEe),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),co),ra),is(Bn,he(le(Eg,1),it,170,0,[$d]))))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,tEe),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),EAe),ps),DAe),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,nEe),""),"Stress Epsilon"),"Termination criterion for the iterative process."),Md),co),ra),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,rEe),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),bt(Ni)),Sc),to),hn(Bn)))),awt((new fz,t))};var B8t,F8t,EAe,R8t,j8t,$8t;I(lL,"StressMetaDataProvider",861),D(1004,1,Pf,fz),h.hf=function(t){awt(t)};var IK,CAe,SAe,_Ae,AAe,LAe,z8t,q8t,H8t,U8t,MAe,V8t;I(lL,"StressOptions",1004),D(1005,1,{},y1),h.sf=function(){var t;return t=new pit,t},h.tf=function(t){},I(lL,"StressOptions/StressFactory",1005),D(1110,205,uv,pit),h.rf=function(t,n){var r,s,o,f,g;for(n.Ug(ryt,1),Ft(Pt(at(t,(JN(),AAe))))?Ft(Pt(at(t,MAe)))||tN((r=new nw((dw(),new sw(t))),r)):Tbt(new Ywe,t,n.eh(1)),o=R0t(t),s=pvt(this.a,o),g=s.Kc();g.Ob();)f=l(g.Pb(),235),!(f.e.c.length<=1)&&(WLn(this.b,f),wEn(this.b),Uu(f.d,new cd));o=Lwt(s),jwt(o),n.Vg()},I(mG,"StressLayoutProvider",1110),D(1111,1,hr,cd),h.Cd=function(t){Gke(l(t,454))},I(mG,"StressLayoutProvider/lambda$0$Type",1111),D(1002,1,{},hJe),h.c=0,h.e=0,h.g=0,I(mG,"StressMajorization",1002),D(391,22,{3:1,34:1,22:1,391:1},Dse);var g1e,p1e,b1e,DAe=Br(mG,"StressMajorization/Dimension",391,Hr,ibn,F0n),G8t;D(1003,1,ii,jz),h.Ne=function(t,n){return h0n(this.a,l(t,153),l(n,153))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(mG,"StressMajorization/lambda$0$Type",1003),D(1192,1,{},xct),I(Fx,"ElkLayered",1192),D(1193,1,hr,$z),h.Cd=function(t){Wkn(this.a,l(t,36))},I(Fx,"ElkLayered/lambda$0$Type",1193),D(1194,1,hr,Kie),h.Cd=function(t){f0n(this.a,l(t,36))},I(Fx,"ElkLayered/lambda$1$Type",1194),D(1281,1,{},irt);var K8t,W8t,Y8t;I(Fx,"GraphConfigurator",1281),D(770,1,hr,Qp),h.Cd=function(t){Mpt(this.a,l(t,10))},I(Fx,"GraphConfigurator/lambda$0$Type",770),D(771,1,{},h5),h.Kb=function(t){return Pxe(),new vn(null,new kn(l(t,30).a,16))},I(Fx,"GraphConfigurator/lambda$1$Type",771),D(772,1,hr,r_),h.Cd=function(t){Mpt(this.a,l(t,10))},I(Fx,"GraphConfigurator/lambda$2$Type",772),D(1109,205,uv,mJe),h.rf=function(t,n){var r;r=ALn(new wJe,t),qe(at(t,(Nt(),v4)))===qe((op(),F2))?a5n(this.a,r,n):pEn(this.a,r,n),n.$g()||kwt(new m8,r)},I(Fx,"LayeredLayoutProvider",1109),D(367,22,{3:1,34:1,22:1,367:1},pO);var w0,xg,pu,Cu,wc,IAe=Br(Fx,"LayeredPhases",367,Hr,cvn,R0n),X8t;D(1717,1,{},Ift),h.i=0;var Q8t;I(KP,"ComponentsToCGraphTransformer",1717);var J8t;D(1718,1,{},Cm),h.yf=function(t,n){return b.Math.min(t.a!=null?ze(t.a):t.c.i,n.a!=null?ze(n.a):n.c.i)},h.zf=function(t,n){return b.Math.min(t.a!=null?ze(t.a):t.c.i,n.a!=null?ze(n.a):n.c.i)},I(KP,"ComponentsToCGraphTransformer/1",1718),D(86,1,{86:1}),h.i=0,h.k=!0,h.o=oa;var m1e=I(gL,"CNode",86);D(470,86,{470:1,86:1},Zye,uxe),h.Ib=function(){return""},I(KP,"ComponentsToCGraphTransformer/CRectNode",470),D(1688,1,{},U9);var v1e,w1e;I(KP,"OneDimensionalComponentsCompaction",1688),D(1689,1,{},Qv),h.Kb=function(t){return Y2n(l(t,42))},h.Fb=function(t){return this===t},I(KP,"OneDimensionalComponentsCompaction/lambda$0$Type",1689),D(1690,1,{},X7),h.Kb=function(t){return c5n(l(t,42))},h.Fb=function(t){return this===t},I(KP,"OneDimensionalComponentsCompaction/lambda$1$Type",1690),D(1720,1,{},Aat),I(gL,"CGraph",1720),D(194,1,{194:1},hue),h.b=0,h.c=0,h.e=0,h.g=!0,h.i=oa,I(gL,"CGroup",194),D(1719,1,{},tb),h.yf=function(t,n){return b.Math.max(t.a!=null?ze(t.a):t.c.i,n.a!=null?ze(n.a):n.c.i)},h.zf=function(t,n){return b.Math.max(t.a!=null?ze(t.a):t.c.i,n.a!=null?ze(n.a):n.c.i)},I(gL,M3t,1719),D(1721,1,{},A2t),h.d=!1;var Z8t,y1e=I(gL,O3t,1721);D(1722,1,{},Q7),h.Kb=function(t){return B3e(),Hn(),l(l(t,42).a,86).d.e!=0},h.Fb=function(t){return this===t},I(gL,N3t,1722),D(833,1,{},l5e),h.a=!1,h.b=!1,h.c=!1,h.d=!1,I(gL,P3t,833),D(1898,1,{},Ust),I(vG,B3t,1898);var yB=Ts(hv,A3t);D(1899,1,{382:1},Eot),h.bf=function(t){TSn(this,l(t,476))},I(vG,F3t,1899),D(Rb,1,ii,f5),h.Ne=function(t,n){return Ipn(l(t,86),l(n,86))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(vG,R3t,Rb),D(476,1,{476:1},Q3e),h.a=!1,I(vG,j3t,476),D(1901,1,ii,Z3),h.Ne=function(t,n){return O8n(l(t,476),l(n,476))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(vG,$3t,1901),D(148,1,{148:1},Nk,K4e),h.Fb=function(t){var n;return t==null||qOn!=dh(t)?!1:(n=l(t,148),eu(this.c,n.c)&&eu(this.d,n.d))},h.Hb=function(){return RN(he(le(ka,1),jn,1,5,[this.c,this.d]))},h.Ib=function(){return"("+this.c+To+this.d+(this.a?"cx":"")+this.b+")"},h.a=!0,h.c=0,h.d=0;var qOn=I(hv,"Point",148);D(416,22,{3:1,34:1,22:1,416:1},yq);var f3,u4,I6,l4,ext=Br(hv,"Point/Quadrant",416,Hr,mmn,j0n),txt;D(1708,1,{},pJe),h.b=null,h.c=null,h.d=null,h.e=null,h.f=null;var nxt,rxt,ixt,sxt,axt;I(hv,"RectilinearConvexHull",1708),D(583,1,{382:1},lV),h.bf=function(t){own(this,l(t,148))},h.b=0;var OAe;I(hv,"RectilinearConvexHull/MaximalElementsEventHandler",583),D(1710,1,ii,Gp),h.Ne=function(t,n){return Opn(Ge(t),Ge(n))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(hv,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1710),D(1709,1,{382:1},Wht),h.bf=function(t){RCn(this,l(t,148))},h.a=0,h.b=null,h.c=null,h.d=null,h.e=null,I(hv,"RectilinearConvexHull/RectangleEventHandler",1709),D(1711,1,ii,lI),h.Ne=function(t,n){return zbn(l(t,148),l(n,148))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(hv,"RectilinearConvexHull/lambda$0$Type",1711),D(1712,1,ii,eZ),h.Ne=function(t,n){return qbn(l(t,148),l(n,148))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(hv,"RectilinearConvexHull/lambda$1$Type",1712),D(1713,1,ii,Sm),h.Ne=function(t,n){return $bn(l(t,148),l(n,148))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(hv,"RectilinearConvexHull/lambda$2$Type",1713),D(1714,1,ii,lu),h.Ne=function(t,n){return Hbn(l(t,148),l(n,148))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(hv,"RectilinearConvexHull/lambda$3$Type",1714),D(1715,1,ii,tZ),h.Ne=function(t,n){return y9n(l(t,148),l(n,148))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(hv,"RectilinearConvexHull/lambda$4$Type",1715),D(1716,1,{},Zot),I(hv,"Scanline",1716),D(2104,1,{}),I(U1,"AbstractGraphPlacer",2104),D(335,1,{335:1},$rt),h.Ff=function(t){return this.Gf(t)?(xn(this.b,l(Q(t,(ft(),wp)),21),t),!0):!1},h.Gf=function(t){var n,r,s,o;for(n=l(Q(t,(ft(),wp)),21),o=l($i(Qi,n),21),s=o.Kc();s.Ob();)if(r=l(s.Pb(),21),!l($i(this.b,r),15).dc())return!1;return!0};var Qi;I(U1,"ComponentGroup",335),D(779,2104,{},Jwe),h.Hf=function(t){var n,r;for(r=new K(this.a);r.ar&&(L=0,F+=w+s,w=0),T=f.c,YT(f,L+T.a,F+T.b),W0(T),o=b.Math.max(o,L+C.a),w=b.Math.max(w,C.b),L+=C.a+s;n.f.a=o,n.f.b=F+w},h.Jf=function(t,n){var r,s,o,f,g;if(qe(Q(n,(Nt(),m4)))===qe((tv(),h4))){for(s=t.Kc();s.Ob();){for(r=l(s.Pb(),36),g=0,f=new K(r.a);f.ar&&!l(Q(f,(ft(),wp)),21).Hc((_t(),Xn))||T&&l(Q(T,(ft(),wp)),21).Hc((_t(),sr))||l(Q(f,(ft(),wp)),21).Hc((_t(),Zn)))&&(z=F,V+=w+s,w=0),C=f.c,l(Q(f,(ft(),wp)),21).Hc((_t(),Xn))&&(z=o+s),YT(f,z+C.a,V+C.b),o=b.Math.max(o,z+L.a),l(Q(f,wp),21).Hc(Mr)&&(F=b.Math.max(F,z+L.a+s)),W0(C),w=b.Math.max(w,L.b),z+=L.a+s,T=f;n.f.a=o,n.f.b=V+w},h.Jf=function(t,n){},I(U1,"ModelOrderRowGraphPlacer",1313),D(1311,1,ii,bj),h.Ne=function(t,n){return ayn(l(t,36),l(n,36))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(U1,"SimpleRowGraphPlacer/1",1311);var cxt;D(1280,1,Ad,z0),h.Lb=function(t){var n;return n=l(Q(l(t,249).b,(Nt(),lc)),75),!!n&&n.b!=0},h.Fb=function(t){return this===t},h.Mb=function(t){var n;return n=l(Q(l(t,249).b,(Nt(),lc)),75),!!n&&n.b!=0},I(wG,"CompoundGraphPostprocessor/1",1280),D(1279,1,ns,yJe),h.Kf=function(t,n){Qdt(this,l(t,36),n)},I(wG,"CompoundGraphPreprocessor",1279),D(453,1,{453:1},z1t),h.c=!1,I(wG,"CompoundGraphPreprocessor/ExternalPort",453),D(249,1,{249:1},tH),h.Ib=function(){return yae(this.c)+":"+k2t(this.b)},I(wG,"CrossHierarchyEdge",249),D(777,1,ii,eO),h.Ne=function(t,n){return o8n(this,l(t,249),l(n,249))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(wG,"CrossHierarchyEdgeComparator",777),D(305,137,{3:1,305:1,96:1,137:1}),h.p=0,I(Tu,"LGraphElement",305),D(18,305,{3:1,18:1,305:1,96:1,137:1},Dw),h.Ib=function(){return k2t(this)};var T1e=I(Tu,"LEdge",18);D(36,305,{3:1,20:1,36:1,305:1,96:1,137:1},C7e),h.Jc=function(t){Za(this,t)},h.Kc=function(){return new K(this.b)},h.Ib=function(){return this.b.c.length==0?"G-unlayered"+Ob(this.a):this.a.c.length==0?"G-layered"+Ob(this.b):"G[layerless"+Ob(this.a)+", layers"+Ob(this.b)+"]"};var uxt=I(Tu,"LGraph",36),lxt;D(666,1,{}),h.Lf=function(){return this.e.n},h.of=function(t){return Q(this.e,t)},h.Mf=function(){return this.e.o},h.Nf=function(){return this.e.p},h.pf=function(t){return rs(this.e,t)},h.Of=function(t){this.e.n.a=t.a,this.e.n.b=t.b},h.Pf=function(t){this.e.o.a=t.a,this.e.o.b=t.b},h.Qf=function(t){this.e.p=t},I(Tu,"LGraphAdapters/AbstractLShapeAdapter",666),D(474,1,{853:1},Im),h.Rf=function(){var t,n;if(!this.b)for(this.b=rg(this.a.b.c.length),n=new K(this.a.b);n.a0&&v1t((Yn(n-1,t.length),t.charCodeAt(n-1)),uyt);)--n;if(f> ",t),yV(r)),li(mu((t.a+="[",t),r.i),"]")),t.a},h.c=!0,h.d=!1;var RAe,jAe,$Ae,zAe,qAe,HAe,fxt=I(Tu,"LPort",12);D(408,1,gg,S5),h.Jc=function(t){Za(this,t)},h.Kc=function(){var t;return t=new K(this.a.e),new gYe(t)},I(Tu,"LPort/1",408),D(1309,1,Ia,gYe),h.Nb=function(t){Qa(this,t)},h.Pb=function(){return l(re(this.a),18).c},h.Ob=function(){return Oc(this.a)},h.Qb=function(){J_(this.a)},I(Tu,"LPort/1/1",1309),D(369,1,gg,S8),h.Jc=function(t){Za(this,t)},h.Kc=function(){var t;return t=new K(this.a.g),new Bwe(t)},I(Tu,"LPort/2",369),D(776,1,Ia,Bwe),h.Nb=function(t){Qa(this,t)},h.Pb=function(){return l(re(this.a),18).d},h.Ob=function(){return Oc(this.a)},h.Qb=function(){J_(this.a)},I(Tu,"LPort/2/1",776),D(1302,1,gg,stt),h.Jc=function(t){Za(this,t)},h.Kc=function(){return new N1(this)},I(Tu,"LPort/CombineIter",1302),D(208,1,Ia,N1),h.Nb=function(t){Qa(this,t)},h.Qb=function(){PZe()},h.Ob=function(){return z_(this)},h.Pb=function(){return Oc(this.a)?re(this.a):re(this.b)},I(Tu,"LPort/CombineIter/1",208),D(1303,1,Ad,nb),h.Lb=function(t){return iat(t)},h.Fb=function(t){return this===t},h.Mb=function(t){return xl(),l(t,12).g.c.length!=0},I(Tu,"LPort/lambda$0$Type",1303),D(1304,1,Ad,ty),h.Lb=function(t){return sat(t)},h.Fb=function(t){return this===t},h.Mb=function(t){return xl(),l(t,12).e.c.length!=0},I(Tu,"LPort/lambda$1$Type",1304),D(1305,1,Ad,rZ),h.Lb=function(t){return xl(),l(t,12).j==(_t(),Xn)},h.Fb=function(t){return this===t},h.Mb=function(t){return xl(),l(t,12).j==(_t(),Xn)},I(Tu,"LPort/lambda$2$Type",1305),D(1306,1,Ad,_m),h.Lb=function(t){return xl(),l(t,12).j==(_t(),sr)},h.Fb=function(t){return this===t},h.Mb=function(t){return xl(),l(t,12).j==(_t(),sr)},I(Tu,"LPort/lambda$3$Type",1306),D(1307,1,Ad,iZ),h.Lb=function(t){return xl(),l(t,12).j==(_t(),Mr)},h.Fb=function(t){return this===t},h.Mb=function(t){return xl(),l(t,12).j==(_t(),Mr)},I(Tu,"LPort/lambda$4$Type",1307),D(1308,1,Ad,sZ),h.Lb=function(t){return xl(),l(t,12).j==(_t(),Zn)},h.Fb=function(t){return this===t},h.Mb=function(t){return xl(),l(t,12).j==(_t(),Zn)},I(Tu,"LPort/lambda$5$Type",1308),D(30,305,{3:1,20:1,305:1,30:1,96:1,137:1},vu),h.Jc=function(t){Za(this,t)},h.Kc=function(){return new K(this.a)},h.Ib=function(){return"L_"+bc(this.b.b,this,0)+Ob(this.a)},I(Tu,"Layer",30),D(1330,1,{},wJe),I(_2,dyt,1330),D(1334,1,{},J7),h.Kb=function(t){return vc(l(t,84))},I(_2,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1334),D(1337,1,{},lS),h.Kb=function(t){return vc(l(t,84))},I(_2,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1337),D(1331,1,hr,pYe),h.Cd=function(t){j2t(this.a,l(t,123))},I(_2,WTe,1331),D(1332,1,hr,bYe),h.Cd=function(t){j2t(this.a,l(t,123))},I(_2,gyt,1332),D(1333,1,{},vj),h.Kb=function(t){return new vn(null,new kn(G5e(l(t,74)),16))},I(_2,pyt,1333),D(1335,1,ei,mYe),h.Mb=function(t){return lhn(this.a,l(t,27))},I(_2,byt,1335),D(1336,1,{},V9),h.Kb=function(t){return new vn(null,new kn(_pn(l(t,74)),16))},I(_2,"ElkGraphImporter/lambda$5$Type",1336),D(1338,1,ei,vYe),h.Mb=function(t){return hhn(this.a,l(t,27))},I(_2,"ElkGraphImporter/lambda$7$Type",1338),D(1339,1,ei,aZ),h.Mb=function(t){return zpn(l(t,74))},I(_2,"ElkGraphImporter/lambda$8$Type",1339),D(1297,1,{},m8);var dxt;I(_2,"ElkGraphLayoutTransferrer",1297),D(1298,1,ei,wYe),h.Mb=function(t){return Zfn(this.a,l(t,18))},I(_2,"ElkGraphLayoutTransferrer/lambda$0$Type",1298),D(1299,1,hr,yYe),h.Cd=function(t){dO(),wt(this.a,l(t,18))},I(_2,"ElkGraphLayoutTransferrer/lambda$1$Type",1299),D(1300,1,ei,xYe),h.Mb=function(t){return Rfn(this.a,l(t,18))},I(_2,"ElkGraphLayoutTransferrer/lambda$2$Type",1300),D(1301,1,hr,kYe),h.Cd=function(t){dO(),wt(this.a,l(t,18))},I(_2,"ElkGraphLayoutTransferrer/lambda$3$Type",1301),D(819,1,{},k4e),I(nr,"BiLinkedHashMultiMap",819),D(1550,1,ns,G9),h.Kf=function(t,n){S3n(l(t,36),n)},I(nr,"CommentNodeMarginCalculator",1550),D(1551,1,{},oZ),h.Kb=function(t){return new vn(null,new kn(l(t,30).a,16))},I(nr,"CommentNodeMarginCalculator/lambda$0$Type",1551),D(1552,1,hr,cZ),h.Cd=function(t){SLn(l(t,10))},I(nr,"CommentNodeMarginCalculator/lambda$1$Type",1552),D(1553,1,ns,uZ),h.Kf=function(t,n){MSn(l(t,36),n)},I(nr,"CommentPostprocessor",1553),D(1554,1,ns,lZ),h.Kf=function(t,n){JDn(l(t,36),n)},I(nr,"CommentPreprocessor",1554),D(1555,1,ns,hZ),h.Kf=function(t,n){KCn(l(t,36),n)},I(nr,"ConstraintsPostprocessor",1555),D(1556,1,ns,fZ),h.Kf=function(t,n){eyn(l(t,36),n)},I(nr,"EdgeAndLayerConstraintEdgeReverser",1556),D(1557,1,ns,dZ),h.Kf=function(t,n){U5n(l(t,36),n)},I(nr,"EndLabelPostprocessor",1557),D(1558,1,{},gZ),h.Kb=function(t){return new vn(null,new kn(l(t,30).a,16))},I(nr,"EndLabelPostprocessor/lambda$0$Type",1558),D(1559,1,ei,pZ),h.Mb=function(t){return svn(l(t,10))},I(nr,"EndLabelPostprocessor/lambda$1$Type",1559),D(1560,1,hr,bZ),h.Cd=function(t){N8n(l(t,10))},I(nr,"EndLabelPostprocessor/lambda$2$Type",1560),D(1561,1,ns,mZ),h.Kf=function(t,n){kkn(l(t,36),n)},I(nr,"EndLabelPreprocessor",1561),D(1562,1,{},hI),h.Kb=function(t){return new vn(null,new kn(l(t,30).a,16))},I(nr,"EndLabelPreprocessor/lambda$0$Type",1562),D(1563,1,hr,Git),h.Cd=function(t){Tln(this.a,this.b,this.c,l(t,10))},h.a=0,h.b=0,h.c=!1,I(nr,"EndLabelPreprocessor/lambda$1$Type",1563),D(1564,1,ei,vZ),h.Mb=function(t){return qe(Q(l(t,72),(Nt(),Rd)))===qe((F1(),sC))},I(nr,"EndLabelPreprocessor/lambda$2$Type",1564),D(1565,1,hr,TYe),h.Cd=function(t){ci(this.a,l(t,72))},I(nr,"EndLabelPreprocessor/lambda$3$Type",1565),D(1566,1,ei,wZ),h.Mb=function(t){return qe(Q(l(t,72),(Nt(),Rd)))===qe((F1(),M4))},I(nr,"EndLabelPreprocessor/lambda$4$Type",1566),D(1567,1,hr,EYe),h.Cd=function(t){ci(this.a,l(t,72))},I(nr,"EndLabelPreprocessor/lambda$5$Type",1567),D(1615,1,ns,rie),h.Kf=function(t,n){H4n(l(t,36),n)};var gxt;I(nr,"EndLabelSorter",1615),D(1616,1,ii,hS),h.Ne=function(t,n){return k6n(l(t,466),l(n,466))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(nr,"EndLabelSorter/1",1616),D(466,1,{466:1},vot),I(nr,"EndLabelSorter/LabelGroup",466),D(1617,1,{},wj),h.Kb=function(t){return fO(),new vn(null,new kn(l(t,30).a,16))},I(nr,"EndLabelSorter/lambda$0$Type",1617),D(1618,1,ei,Z7),h.Mb=function(t){return fO(),l(t,10).k==(Jn(),Bs)},I(nr,"EndLabelSorter/lambda$1$Type",1618),D(1619,1,hr,yZ),h.Cd=function(t){B9n(l(t,10))},I(nr,"EndLabelSorter/lambda$2$Type",1619),D(1620,1,ei,xZ),h.Mb=function(t){return fO(),qe(Q(l(t,72),(Nt(),Rd)))===qe((F1(),M4))},I(nr,"EndLabelSorter/lambda$3$Type",1620),D(1621,1,ei,kZ),h.Mb=function(t){return fO(),qe(Q(l(t,72),(Nt(),Rd)))===qe((F1(),sC))},I(nr,"EndLabelSorter/lambda$4$Type",1621),D(1568,1,ns,TZ),h.Kf=function(t,n){zLn(this,l(t,36))},h.b=0,h.c=0,I(nr,"FinalSplineBendpointsCalculator",1568),D(1569,1,{},EZ),h.Kb=function(t){return new vn(null,new kn(l(t,30).a,16))},I(nr,"FinalSplineBendpointsCalculator/lambda$0$Type",1569),D(1570,1,{},fS),h.Kb=function(t){return new vn(null,new Cw(new lr(fr(qs(l(t,10)).a.Kc(),new j))))},I(nr,"FinalSplineBendpointsCalculator/lambda$1$Type",1570),D(1571,1,ei,fI),h.Mb=function(t){return!Ao(l(t,18))},I(nr,"FinalSplineBendpointsCalculator/lambda$2$Type",1571),D(1572,1,ei,yj),h.Mb=function(t){return rs(l(t,18),(ft(),yv))},I(nr,"FinalSplineBendpointsCalculator/lambda$3$Type",1572),D(1573,1,hr,CYe),h.Cd=function(t){X_n(this.a,l(t,131))},I(nr,"FinalSplineBendpointsCalculator/lambda$4$Type",1573),D(1574,1,hr,d5),h.Cd=function(t){aP(l(t,18).a)},I(nr,"FinalSplineBendpointsCalculator/lambda$5$Type",1574),D(803,1,ns,Fwe),h.Kf=function(t,n){NMn(this,l(t,36),n)},I(nr,"GraphTransformer",803),D(517,22,{3:1,34:1,22:1,517:1},X3e);var C1e,xB,pxt=Br(nr,"GraphTransformer/Mode",517,Hr,u2n,U1n),bxt;D(1575,1,ns,g5),h.Kf=function(t,n){nCn(l(t,36),n)},I(nr,"HierarchicalNodeResizingProcessor",1575),D(1576,1,ns,CZ),h.Kf=function(t,n){x3n(l(t,36),n)},I(nr,"HierarchicalPortConstraintProcessor",1576),D(1577,1,ii,e0),h.Ne=function(t,n){return H6n(l(t,10),l(n,10))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(nr,"HierarchicalPortConstraintProcessor/NodeComparator",1577),D(1578,1,ns,e8),h.Kf=function(t,n){UAn(l(t,36),n)},I(nr,"HierarchicalPortDummySizeProcessor",1578),D(1579,1,ns,SZ),h.Kf=function(t,n){e_n(this,l(t,36),n)},h.a=0,I(nr,"HierarchicalPortOrthogonalEdgeRouter",1579),D(1580,1,ii,K9),h.Ne=function(t,n){return nfn(l(t,10),l(n,10))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(nr,"HierarchicalPortOrthogonalEdgeRouter/1",1580),D(1581,1,ii,Qd),h.Ne=function(t,n){return cwn(l(t,10),l(n,10))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(nr,"HierarchicalPortOrthogonalEdgeRouter/2",1581),D(1582,1,ns,_Z),h.Kf=function(t,n){m9n(l(t,36),n)},I(nr,"HierarchicalPortPositionProcessor",1582),D(1583,1,ns,ew),h.Kf=function(t,n){OIn(this,l(t,36))},h.a=0,h.c=0;var OK,NK;I(nr,"HighDegreeNodeLayeringProcessor",1583),D(580,1,{580:1},AZ),h.b=-1,h.d=-1,I(nr,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",580),D(1584,1,{},LZ),h.Kb=function(t){return zO(),Ea(l(t,10))},h.Fb=function(t){return this===t},I(nr,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1584),D(1585,1,{},xj),h.Kb=function(t){return zO(),qs(l(t,10))},h.Fb=function(t){return this===t},I(nr,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1585),D(1591,1,ns,MZ),h.Kf=function(t,n){BAn(this,l(t,36),n)},I(nr,"HyperedgeDummyMerger",1591),D(804,1,{},F4e),h.a=!1,h.b=!1,h.c=!1,I(nr,"HyperedgeDummyMerger/MergeState",804),D(1592,1,{},dS),h.Kb=function(t){return new vn(null,new kn(l(t,30).a,16))},I(nr,"HyperedgeDummyMerger/lambda$0$Type",1592),D(1593,1,{},gS),h.Kb=function(t){return new vn(null,new kn(l(t,10).j,16))},I(nr,"HyperedgeDummyMerger/lambda$1$Type",1593),D(1594,1,hr,kj),h.Cd=function(t){l(t,12).p=-1},I(nr,"HyperedgeDummyMerger/lambda$2$Type",1594),D(1595,1,ns,dI),h.Kf=function(t,n){NAn(l(t,36),n)},I(nr,"HypernodesProcessor",1595),D(1596,1,ns,t8),h.Kf=function(t,n){HAn(l(t,36),n)},I(nr,"InLayerConstraintProcessor",1596),D(1597,1,ns,DZ),h.Kf=function(t,n){B3n(l(t,36),n)},I(nr,"InnermostNodeMarginCalculator",1597),D(1598,1,ns,Tj),h.Kf=function(t,n){WDn(this,l(t,36))},h.a=oa,h.b=oa,h.c=gs,h.d=gs;var HOn=I(nr,"InteractiveExternalPortPositioner",1598);D(1599,1,{},Ej),h.Kb=function(t){return l(t,18).d.i},h.Fb=function(t){return this===t},I(nr,"InteractiveExternalPortPositioner/lambda$0$Type",1599),D(1600,1,{},SYe),h.Kb=function(t){return rfn(this.a,Ge(t))},h.Fb=function(t){return this===t},I(nr,"InteractiveExternalPortPositioner/lambda$1$Type",1600),D(1601,1,{},IZ),h.Kb=function(t){return l(t,18).c.i},h.Fb=function(t){return this===t},I(nr,"InteractiveExternalPortPositioner/lambda$2$Type",1601),D(1602,1,{},_Ye),h.Kb=function(t){return ifn(this.a,Ge(t))},h.Fb=function(t){return this===t},I(nr,"InteractiveExternalPortPositioner/lambda$3$Type",1602),D(1603,1,{},AYe),h.Kb=function(t){return t0n(this.a,Ge(t))},h.Fb=function(t){return this===t},I(nr,"InteractiveExternalPortPositioner/lambda$4$Type",1603),D(1604,1,{},LYe),h.Kb=function(t){return n0n(this.a,Ge(t))},h.Fb=function(t){return this===t},I(nr,"InteractiveExternalPortPositioner/lambda$5$Type",1604),D(81,22,{3:1,34:1,22:1,81:1,196:1},Xs),h.dg=function(){switch(this.g){case 15:return new Zj;case 22:return new Vee;case 47:return new Wee;case 28:case 35:return new jZ;case 32:return new G9;case 42:return new uZ;case 1:return new lZ;case 41:return new hZ;case 56:return new Fwe((pT(),xB));case 0:return new Fwe((pT(),C1e));case 2:return new fZ;case 54:return new dZ;case 33:return new mZ;case 51:return new TZ;case 55:return new g5;case 13:return new CZ;case 38:return new e8;case 44:return new SZ;case 40:return new _Z;case 9:return new ew;case 49:return new Drt;case 37:return new MZ;case 43:return new dI;case 27:return new t8;case 30:return new DZ;case 3:return new Tj;case 18:return new NZ;case 29:return new PZ;case 5:return new gk;case 50:return new OZ;case 34:return new dz;case 36:return new p5;case 52:return new rie;case 11:return new W9;case 7:return new iie;case 39:return new gI;case 45:return new ny;case 16:return new Y9;case 10:return new Ttt;case 48:return new Cj;case 21:return new pI;case 23:return new cse((jw(),cM));case 8:return new bI;case 12:return new zZ;case 4:return new mI;case 19:return new bz;case 17:return new GZ;case 53:return new KZ;case 6:return new Ij;case 25:return new kJe;case 46:return new QZ;case 31:return new wit;case 14:return new see;case 26:return new Qee;case 20:return new Bj;case 24:return new cse((jw(),RW));default:throw ue(new Wn(Qhe+(this.f!=null?this.f:""+this.g)))}};var UAe,VAe,GAe,KAe,WAe,YAe,XAe,QAe,JAe,ZAe,O6,PK,BK,eLe,tLe,nLe,rLe,iLe,sLe,aLe,qL,oLe,cLe,uLe,lLe,hLe,S1e,FK,RK,fLe,jK,$K,zK,DE,f4,d4,dLe,qK,HK,gLe,UK,VK,pLe,bLe,mLe,vLe,GK,_1e,kB,KK,WK,YK,XK,wLe,yLe,xLe,kLe,UOn=Br(nr,Jhe,81,Hr,Ibt,H0n),mxt;D(1605,1,ns,NZ),h.Kf=function(t,n){GDn(l(t,36),n)},I(nr,"InvertedPortProcessor",1605),D(1606,1,ns,PZ),h.Kf=function(t,n){q_n(l(t,36),n)},I(nr,"LabelAndNodeSizeProcessor",1606),D(1607,1,ei,BZ),h.Mb=function(t){return l(t,10).k==(Jn(),Bs)},I(nr,"LabelAndNodeSizeProcessor/lambda$0$Type",1607),D(1608,1,ei,FZ),h.Mb=function(t){return l(t,10).k==(Jn(),Ks)},I(nr,"LabelAndNodeSizeProcessor/lambda$1$Type",1608),D(1609,1,hr,Kit),h.Cd=function(t){Eln(this.b,this.a,this.c,l(t,10))},h.a=!1,h.c=!1,I(nr,"LabelAndNodeSizeProcessor/lambda$2$Type",1609),D(1610,1,ns,gk),h.Kf=function(t,n){vDn(l(t,36),n)};var vxt;I(nr,"LabelDummyInserter",1610),D(1611,1,Ad,Jd),h.Lb=function(t){return qe(Q(l(t,72),(Nt(),Rd)))===qe((F1(),iC))},h.Fb=function(t){return this===t},h.Mb=function(t){return qe(Q(l(t,72),(Nt(),Rd)))===qe((F1(),iC))},I(nr,"LabelDummyInserter/1",1611),D(1612,1,ns,OZ),h.Kf=function(t,n){aDn(l(t,36),n)},I(nr,"LabelDummyRemover",1612),D(1613,1,ei,Jv),h.Mb=function(t){return Ft(Pt(Q(l(t,72),(Nt(),pde))))},I(nr,"LabelDummyRemover/lambda$0$Type",1613),D(1378,1,ns,dz),h.Kf=function(t,n){JMn(this,l(t,36),n)},h.a=null;var A1e;I(nr,"LabelDummySwitcher",1378),D(293,1,{293:1},Dmt),h.c=0,h.d=null,h.f=0,I(nr,"LabelDummySwitcher/LabelDummyInfo",293),D(1379,1,{},RZ),h.Kb=function(t){return hx(),new vn(null,new kn(l(t,30).a,16))},I(nr,"LabelDummySwitcher/lambda$0$Type",1379),D(1380,1,ei,pS),h.Mb=function(t){return hx(),l(t,10).k==(Jn(),uu)},I(nr,"LabelDummySwitcher/lambda$1$Type",1380),D(1381,1,{},MYe),h.Kb=function(t){return jfn(this.a,l(t,10))},I(nr,"LabelDummySwitcher/lambda$2$Type",1381),D(1382,1,hr,DYe),h.Cd=function(t){spn(this.a,l(t,293))},I(nr,"LabelDummySwitcher/lambda$3$Type",1382),D(1383,1,ii,bS),h.Ne=function(t,n){return Lgn(l(t,293),l(n,293))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(nr,"LabelDummySwitcher/lambda$4$Type",1383),D(802,1,ns,jZ),h.Kf=function(t,n){zvn(l(t,36),n)},I(nr,"LabelManagementProcessor",802),D(1614,1,ns,p5),h.Kf=function(t,n){vSn(l(t,36),n)},I(nr,"LabelSideSelector",1614),D(1622,1,ns,W9),h.Kf=function(t,n){sLn(l(t,36),n)},I(nr,"LayerConstraintPostprocessor",1622),D(1623,1,ns,iie),h.Kf=function(t,n){eEn(l(t,36),n)};var TLe;I(nr,"LayerConstraintPreprocessor",1623),D(371,22,{3:1,34:1,22:1,371:1},kq);var TB,QK,JK,L1e,wxt=Br(nr,"LayerConstraintPreprocessor/HiddenNodeConnections",371,Hr,wmn,U0n),yxt;D(1624,1,ns,gI),h.Kf=function(t,n){kMn(l(t,36),n)},I(nr,"LayerSizeAndGraphHeightCalculator",1624),D(1625,1,ns,ny),h.Kf=function(t,n){rCn(l(t,36),n)},I(nr,"LongEdgeJoiner",1625),D(1626,1,ns,Y9),h.Kf=function(t,n){JLn(l(t,36),n)},I(nr,"LongEdgeSplitter",1626),D(1627,1,ns,Ttt),h.Kf=function(t,n){ODn(this,l(t,36),n)},h.e=0,h.f=0,h.j=0,h.k=0,h.n=0,h.o=0;var xxt,kxt;I(nr,"NodePromotion",1627),D(1628,1,ii,$Z),h.Ne=function(t,n){return Gyn(l(t,10),l(n,10))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(nr,"NodePromotion/1",1628),D(1629,1,ii,mS),h.Ne=function(t,n){return Kyn(l(t,10),l(n,10))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(nr,"NodePromotion/2",1629),D(1630,1,{},ld),h.Kb=function(t){return l(t,42),rH(),Hn(),!0},h.Fb=function(t){return this===t},I(nr,"NodePromotion/lambda$0$Type",1630),D(1631,1,{},PYe),h.Kb=function(t){return q2n(this.a,l(t,42))},h.Fb=function(t){return this===t},h.a=0,I(nr,"NodePromotion/lambda$1$Type",1631),D(1632,1,{},BYe),h.Kb=function(t){return z2n(this.a,l(t,42))},h.Fb=function(t){return this===t},h.a=0,I(nr,"NodePromotion/lambda$2$Type",1632),D(1633,1,ns,Cj),h.Kf=function(t,n){_In(l(t,36),n)},I(nr,"NorthSouthPortPostprocessor",1633),D(1634,1,ns,pI),h.Kf=function(t,n){oIn(l(t,36),n)},I(nr,"NorthSouthPortPreprocessor",1634),D(1635,1,ii,X9),h.Ne=function(t,n){return oyn(l(t,12),l(n,12))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(nr,"NorthSouthPortPreprocessor/lambda$0$Type",1635),D(1636,1,ns,bI),h.Kf=function(t,n){TAn(l(t,36),n)},I(nr,"PartitionMidprocessor",1636),D(1637,1,ei,Sj),h.Mb=function(t){return rs(l(t,10),(Nt(),VE))},I(nr,"PartitionMidprocessor/lambda$0$Type",1637),D(1638,1,hr,FYe),h.Cd=function(t){qpn(this.a,l(t,10))},I(nr,"PartitionMidprocessor/lambda$1$Type",1638),D(1639,1,ns,zZ),h.Kf=function(t,n){ECn(l(t,36),n)},I(nr,"PartitionPostprocessor",1639),D(1640,1,ns,mI),h.Kf=function(t,n){RTn(l(t,36),n)},I(nr,"PartitionPreprocessor",1640),D(1641,1,ei,qZ),h.Mb=function(t){return rs(l(t,10),(Nt(),VE))},I(nr,"PartitionPreprocessor/lambda$0$Type",1641),D(1642,1,{},HZ),h.Kb=function(t){return new vn(null,new Cw(new lr(fr(qs(l(t,10)).a.Kc(),new j))))},I(nr,"PartitionPreprocessor/lambda$1$Type",1642),D(1643,1,ei,_j),h.Mb=function(t){return A6n(l(t,18))},I(nr,"PartitionPreprocessor/lambda$2$Type",1643),D(1644,1,hr,n8),h.Cd=function(t){Eyn(l(t,18))},I(nr,"PartitionPreprocessor/lambda$3$Type",1644),D(1645,1,ns,bz),h.Kf=function(t,n){rAn(l(t,36),n)};var ELe,Txt,Ext,Cxt,CLe,SLe;I(nr,"PortListSorter",1645),D(1648,1,ii,Aj),h.Ne=function(t,n){return kut(l(t,12),l(n,12))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(nr,"PortListSorter/lambda$0$Type",1648),D(1650,1,ii,r8),h.Ne=function(t,n){return tvt(l(t,12),l(n,12))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(nr,"PortListSorter/lambda$1$Type",1650),D(1646,1,{},UZ),h.Kb=function(t){return ST(),l(t,12).e},I(nr,"PortListSorter/lambda$2$Type",1646),D(1647,1,{},vI),h.Kb=function(t){return ST(),l(t,12).g},I(nr,"PortListSorter/lambda$3$Type",1647),D(1649,1,ii,VZ),h.Ne=function(t,n){return J7n(l(t,12),l(n,12))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(nr,"PortListSorter/lambda$4$Type",1649),D(1651,1,ns,GZ),h.Kf=function(t,n){dEn(l(t,36),n)},I(nr,"PortSideProcessor",1651),D(1652,1,ns,KZ),h.Kf=function(t,n){g_n(l(t,36),n)},I(nr,"ReversedEdgeRestorer",1652),D(1657,1,ns,kJe),h.Kf=function(t,n){N7n(this,l(t,36),n)},I(nr,"SelfLoopPortRestorer",1657),D(1658,1,{},WZ),h.Kb=function(t){return new vn(null,new kn(l(t,30).a,16))},I(nr,"SelfLoopPortRestorer/lambda$0$Type",1658),D(1659,1,ei,Lj),h.Mb=function(t){return l(t,10).k==(Jn(),Bs)},I(nr,"SelfLoopPortRestorer/lambda$1$Type",1659),D(1660,1,ei,YZ),h.Mb=function(t){return rs(l(t,10),(ft(),v3))},I(nr,"SelfLoopPortRestorer/lambda$2$Type",1660),D(1661,1,{},XZ),h.Kb=function(t){return l(Q(l(t,10),(ft(),v3)),337)},I(nr,"SelfLoopPortRestorer/lambda$3$Type",1661),D(1662,1,hr,OYe),h.Cd=function(t){Y9n(this.a,l(t,337))},I(nr,"SelfLoopPortRestorer/lambda$4$Type",1662),D(805,1,hr,Mj),h.Cd=function(t){ckn(l(t,105))},I(nr,"SelfLoopPortRestorer/lambda$5$Type",805),D(1663,1,ns,QZ),h.Kf=function(t,n){$6n(l(t,36),n)},I(nr,"SelfLoopPostProcessor",1663),D(1664,1,{},JZ),h.Kb=function(t){return new vn(null,new kn(l(t,30).a,16))},I(nr,"SelfLoopPostProcessor/lambda$0$Type",1664),D(1665,1,ei,ZZ),h.Mb=function(t){return l(t,10).k==(Jn(),Bs)},I(nr,"SelfLoopPostProcessor/lambda$1$Type",1665),D(1666,1,ei,eee),h.Mb=function(t){return rs(l(t,10),(ft(),v3))},I(nr,"SelfLoopPostProcessor/lambda$2$Type",1666),D(1667,1,hr,Dj),h.Cd=function(t){Q8n(l(t,10))},I(nr,"SelfLoopPostProcessor/lambda$3$Type",1667),D(1668,1,{},tee),h.Kb=function(t){return new vn(null,new kn(l(t,105).f,1))},I(nr,"SelfLoopPostProcessor/lambda$4$Type",1668),D(1669,1,hr,IYe),h.Cd=function(t){Tmn(this.a,l(t,340))},I(nr,"SelfLoopPostProcessor/lambda$5$Type",1669),D(1670,1,ei,nee),h.Mb=function(t){return!!l(t,105).i},I(nr,"SelfLoopPostProcessor/lambda$6$Type",1670),D(1671,1,hr,NYe),h.Cd=function(t){Tun(this.a,l(t,105))},I(nr,"SelfLoopPostProcessor/lambda$7$Type",1671),D(1653,1,ns,Ij),h.Kf=function(t,n){qEn(l(t,36),n)},I(nr,"SelfLoopPreProcessor",1653),D(1654,1,{},Oj),h.Kb=function(t){return new vn(null,new kn(l(t,105).f,1))},I(nr,"SelfLoopPreProcessor/lambda$0$Type",1654),D(1655,1,{},Nj),h.Kb=function(t){return l(t,340).a},I(nr,"SelfLoopPreProcessor/lambda$1$Type",1655),D(1656,1,hr,ree),h.Cd=function(t){Shn(l(t,18))},I(nr,"SelfLoopPreProcessor/lambda$2$Type",1656),D(1672,1,ns,wit),h.Kf=function(t,n){M9n(this,l(t,36),n)},I(nr,"SelfLoopRouter",1672),D(1673,1,{},iee),h.Kb=function(t){return new vn(null,new kn(l(t,30).a,16))},I(nr,"SelfLoopRouter/lambda$0$Type",1673),D(1674,1,ei,Q9),h.Mb=function(t){return l(t,10).k==(Jn(),Bs)},I(nr,"SelfLoopRouter/lambda$1$Type",1674),D(1675,1,ei,i8),h.Mb=function(t){return rs(l(t,10),(ft(),v3))},I(nr,"SelfLoopRouter/lambda$2$Type",1675),D(1676,1,{},vS),h.Kb=function(t){return l(Q(l(t,10),(ft(),v3)),337)},I(nr,"SelfLoopRouter/lambda$3$Type",1676),D(1677,1,hr,rtt),h.Cd=function(t){Bpn(this.a,this.b,l(t,337))},I(nr,"SelfLoopRouter/lambda$4$Type",1677),D(1678,1,ns,see),h.Kf=function(t,n){aSn(l(t,36),n)},I(nr,"SemiInteractiveCrossMinProcessor",1678),D(1679,1,ei,wI),h.Mb=function(t){return l(t,10).k==(Jn(),Bs)},I(nr,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1679),D(1680,1,ei,wS),h.Mb=function(t){return Bst(l(t,10))._b((Nt(),k4))},I(nr,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1680),D(1681,1,ii,yI),h.Ne=function(t,n){return T3n(l(t,10),l(n,10))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(nr,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1681),D(1682,1,{},Pj),h.Ve=function(t,n){return Hpn(l(t,10),l(n,10))},I(nr,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1682),D(1684,1,ns,Bj),h.Kf=function(t,n){MLn(l(t,36),n)},I(nr,"SortByInputModelProcessor",1684),D(1685,1,ei,aee),h.Mb=function(t){return l(t,12).g.c.length!=0},I(nr,"SortByInputModelProcessor/lambda$0$Type",1685),D(1686,1,hr,RYe),h.Cd=function(t){dkn(this.a,l(t,12))},I(nr,"SortByInputModelProcessor/lambda$1$Type",1686),D(1759,817,{},Gft),h.df=function(t){var n,r,s,o;switch(this.c=t,this.a.g){case 2:n=new mt,Os(ji(new vn(null,new kn(this.c.a.b,16)),new mee),new ftt(this,n)),oP(this,new cee),Uu(n,new Fj),n.c.length=0,Os(ji(new vn(null,new kn(this.c.a.b,16)),new Rj),new $Ye(n)),oP(this,new uee),Uu(n,new lee),n.c.length=0,r=Knt(Tce(Ey(new vn(null,new kn(this.c.a.b,16)),new zYe(this))),new hee),Os(new vn(null,new kn(this.c.a.a,16)),new att(r,n)),oP(this,new dee),Uu(n,new jj),n.c.length=0;break;case 3:s=new mt,oP(this,new oee),o=Knt(Tce(Ey(new vn(null,new kn(this.c.a.b,16)),new jYe(this))),new fee),Os(ji(new vn(null,new kn(this.c.a.b,16)),new gee),new ctt(o,s)),oP(this,new pee),Uu(s,new bee),s.c.length=0;break;default:throw ue(new uJe)}},h.b=0,I(ua,"EdgeAwareScanlineConstraintCalculation",1759),D(1760,1,Ad,oee),h.Lb=function(t){return De(l(t,60).g,154)},h.Fb=function(t){return this===t},h.Mb=function(t){return De(l(t,60).g,154)},I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1760),D(1761,1,{},jYe),h.Ye=function(t){return Xkn(this.a,l(t,60))},I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1761),D(1769,1,sG,itt),h.de=function(){RA(this.a,this.b,-1)},h.b=0,I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1769),D(1771,1,Ad,cee),h.Lb=function(t){return De(l(t,60).g,154)},h.Fb=function(t){return this===t},h.Mb=function(t){return De(l(t,60).g,154)},I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1771),D(1772,1,hr,Fj),h.Cd=function(t){l(t,380).de()},I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1772),D(1773,1,ei,Rj),h.Mb=function(t){return De(l(t,60).g,10)},I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1773),D(1775,1,hr,$Ye),h.Cd=function(t){b5n(this.a,l(t,60))},I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1775),D(1774,1,sG,utt),h.de=function(){RA(this.b,this.a,-1)},h.a=0,I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1774),D(1776,1,Ad,uee),h.Lb=function(t){return De(l(t,60).g,10)},h.Fb=function(t){return this===t},h.Mb=function(t){return De(l(t,60).g,10)},I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1776),D(1777,1,hr,lee),h.Cd=function(t){l(t,380).de()},I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1777),D(1778,1,{},zYe),h.Ye=function(t){return Qkn(this.a,l(t,60))},I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1778),D(1779,1,{},hee),h.We=function(){return 0},I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1779),D(1762,1,{},fee),h.We=function(){return 0},I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1762),D(1781,1,hr,att),h.Cd=function(t){xgn(this.a,this.b,l(t,316))},h.a=0,I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1781),D(1780,1,sG,ott),h.de=function(){obt(this.a,this.b,-1)},h.b=0,I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1780),D(1782,1,Ad,dee),h.Lb=function(t){return l(t,60),!0},h.Fb=function(t){return this===t},h.Mb=function(t){return l(t,60),!0},I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1782),D(1783,1,hr,jj),h.Cd=function(t){l(t,380).de()},I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1783),D(1763,1,ei,gee),h.Mb=function(t){return De(l(t,60).g,10)},I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1763),D(1765,1,hr,ctt),h.Cd=function(t){kgn(this.a,this.b,l(t,60))},h.a=0,I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1765),D(1764,1,sG,ltt),h.de=function(){RA(this.b,this.a,-1)},h.a=0,I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1764),D(1766,1,Ad,pee),h.Lb=function(t){return l(t,60),!0},h.Fb=function(t){return this===t},h.Mb=function(t){return l(t,60),!0},I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1766),D(1767,1,hr,bee),h.Cd=function(t){l(t,380).de()},I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1767),D(1768,1,ei,mee),h.Mb=function(t){return De(l(t,60).g,154)},I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1768),D(1770,1,hr,ftt),h.Cd=function(t){$wn(this.a,this.b,l(t,60))},I(ua,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1770),D(1586,1,ns,Drt),h.Kf=function(t,n){iMn(this,l(t,36),n)};var Sxt;I(ua,"HorizontalGraphCompactor",1586),D(1587,1,{},qYe),h.ff=function(t,n){var r,s,o;return a7e(t,n)||(r=W5(t),s=W5(n),r&&r.k==(Jn(),Ks)||s&&s.k==(Jn(),Ks))?0:(o=l(Q(this.a.a,(ft(),q6)),312),cfn(o,r?r.k:(Jn(),Aa),s?s.k:(Jn(),Aa)))},h.gf=function(t,n){var r,s,o;return a7e(t,n)?1:(r=W5(t),s=W5(n),o=l(Q(this.a.a,(ft(),q6)),312),Qye(o,r?r.k:(Jn(),Aa),s?s.k:(Jn(),Aa)))},I(ua,"HorizontalGraphCompactor/1",1587),D(1588,1,{},$j),h.ef=function(t,n){return b_(),t.a.i==0},I(ua,"HorizontalGraphCompactor/lambda$0$Type",1588),D(1589,1,{},HYe),h.ef=function(t,n){return Gpn(this.a,t,n)},I(ua,"HorizontalGraphCompactor/lambda$1$Type",1589),D(1730,1,{},xht);var _xt,Axt;I(ua,"LGraphToCGraphTransformer",1730),D(1738,1,ei,yS),h.Mb=function(t){return t!=null},I(ua,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1738),D(1731,1,{},vee),h.Kb=function(t){return c0(),Tc(Q(l(l(t,60).g,10),(ft(),zi)))},I(ua,"LGraphToCGraphTransformer/lambda$0$Type",1731),D(1732,1,{},wee),h.Kb=function(t){return c0(),I1t(l(l(t,60).g,154))},I(ua,"LGraphToCGraphTransformer/lambda$1$Type",1732),D(1741,1,ei,zj),h.Mb=function(t){return c0(),De(l(t,60).g,10)},I(ua,"LGraphToCGraphTransformer/lambda$10$Type",1741),D(1742,1,hr,yee),h.Cd=function(t){Qpn(l(t,60))},I(ua,"LGraphToCGraphTransformer/lambda$11$Type",1742),D(1743,1,ei,xee),h.Mb=function(t){return c0(),De(l(t,60).g,154)},I(ua,"LGraphToCGraphTransformer/lambda$12$Type",1743),D(1747,1,hr,kee),h.Cd=function(t){A4n(l(t,60))},I(ua,"LGraphToCGraphTransformer/lambda$13$Type",1747),D(1744,1,hr,UYe),h.Cd=function(t){thn(this.a,l(t,8))},h.a=0,I(ua,"LGraphToCGraphTransformer/lambda$14$Type",1744),D(1745,1,hr,VYe),h.Cd=function(t){rhn(this.a,l(t,116))},h.a=0,I(ua,"LGraphToCGraphTransformer/lambda$15$Type",1745),D(1746,1,hr,GYe),h.Cd=function(t){nhn(this.a,l(t,8))},h.a=0,I(ua,"LGraphToCGraphTransformer/lambda$16$Type",1746),D(1748,1,{},Tee),h.Kb=function(t){return c0(),new vn(null,new Cw(new lr(fr(qs(l(t,10)).a.Kc(),new j))))},I(ua,"LGraphToCGraphTransformer/lambda$17$Type",1748),D(1749,1,ei,Eee),h.Mb=function(t){return c0(),Ao(l(t,18))},I(ua,"LGraphToCGraphTransformer/lambda$18$Type",1749),D(1750,1,hr,KYe),h.Cd=function(t){vwn(this.a,l(t,18))},I(ua,"LGraphToCGraphTransformer/lambda$19$Type",1750),D(1734,1,hr,WYe),h.Cd=function(t){Vbn(this.a,l(t,154))},I(ua,"LGraphToCGraphTransformer/lambda$2$Type",1734),D(1751,1,{},Cee),h.Kb=function(t){return c0(),new vn(null,new kn(l(t,30).a,16))},I(ua,"LGraphToCGraphTransformer/lambda$20$Type",1751),D(1752,1,{},qj),h.Kb=function(t){return c0(),new vn(null,new Cw(new lr(fr(qs(l(t,10)).a.Kc(),new j))))},I(ua,"LGraphToCGraphTransformer/lambda$21$Type",1752),D(1753,1,{},See),h.Kb=function(t){return c0(),l(Q(l(t,18),(ft(),yv)),15)},I(ua,"LGraphToCGraphTransformer/lambda$22$Type",1753),D(1754,1,ei,Hj),h.Mb=function(t){return ufn(l(t,15))},I(ua,"LGraphToCGraphTransformer/lambda$23$Type",1754),D(1755,1,hr,YYe),h.Cd=function(t){jkn(this.a,l(t,15))},I(ua,"LGraphToCGraphTransformer/lambda$24$Type",1755),D(1733,1,hr,dtt),h.Cd=function(t){qmn(this.a,this.b,l(t,154))},I(ua,"LGraphToCGraphTransformer/lambda$3$Type",1733),D(1735,1,{},_ee),h.Kb=function(t){return c0(),new vn(null,new kn(l(t,30).a,16))},I(ua,"LGraphToCGraphTransformer/lambda$4$Type",1735),D(1736,1,{},Aee),h.Kb=function(t){return c0(),new vn(null,new Cw(new lr(fr(qs(l(t,10)).a.Kc(),new j))))},I(ua,"LGraphToCGraphTransformer/lambda$5$Type",1736),D(1737,1,{},Lee),h.Kb=function(t){return c0(),l(Q(l(t,18),(ft(),yv)),15)},I(ua,"LGraphToCGraphTransformer/lambda$6$Type",1737),D(1739,1,hr,XYe),h.Cd=function(t){Jkn(this.a,l(t,15))},I(ua,"LGraphToCGraphTransformer/lambda$8$Type",1739),D(1740,1,hr,gtt),h.Cd=function(t){_hn(this.a,this.b,l(t,154))},I(ua,"LGraphToCGraphTransformer/lambda$9$Type",1740),D(1729,1,{},xS),h.cf=function(t){var n,r,s,o,f;for(this.a=t,this.d=new Zie,this.c=We(sAe,jn,125,this.a.a.a.c.length,0,1),this.b=0,r=new K(this.a.a.a);r.a=te&&(wt(f,bt(L)),Me=b.Math.max(Me,$e[L-1]-F),w+=J,fe+=$e[L-1]-fe,F=$e[L-1],J=T[L]),J=b.Math.max(J,T[L]),++L;w+=J}V=b.Math.min(1/Me,1/n.b/w),V>s&&(s=V,r=f)}return r},h.pg=function(){return!1},I(Id,"MSDCutIndexHeuristic",816),D(1683,1,ns,Qee),h.Kf=function(t,n){oLn(l(t,36),n)},I(Id,"SingleEdgeGraphWrapper",1683),D(232,22,{3:1,34:1,22:1,232:1},E_);var P6,NE,PE,g4,HL,B6,BE=Br(cu,"CenterEdgeLabelPlacementStrategy",232,Hr,Gvn,W0n),$xt;D(431,22,{3:1,34:1,22:1,431:1},J3e);var ALe,$1e,LLe=Br(cu,"ConstraintCalculationStrategy",431,Hr,f2n,Y0n),zxt;D(322,22,{3:1,34:1,22:1,322:1,188:1,196:1},Ose),h.dg=function(){return p2t(this)},h.qg=function(){return p2t(this)};var CB,UL,MLe,DLe=Br(cu,"CrossingMinimizationStrategy",322,Hr,abn,X0n),qxt;D(351,22,{3:1,34:1,22:1,351:1},Nse);var ILe,z1e,rW,OLe=Br(cu,"CuttingStrategy",351,Hr,obn,Q0n),Hxt;D(348,22,{3:1,34:1,22:1,348:1,188:1,196:1},mO),h.dg=function(){return sbt(this)},h.qg=function(){return sbt(this)};var NLe,q1e,FE,H1e,RE,PLe=Br(cu,"CycleBreakingStrategy",348,Hr,lvn,J0n),Uxt;D(428,22,{3:1,34:1,22:1,428:1},Z3e);var iW,BLe,FLe=Br(cu,"DirectionCongruency",428,Hr,h2n,Z0n),Vxt;D(460,22,{3:1,34:1,22:1,460:1},Pse);var jE,U1e,F6,Gxt=Br(cu,"EdgeConstraint",460,Hr,cbn,a1n),Kxt;D(283,22,{3:1,34:1,22:1,283:1},C_);var V1e,G1e,K1e,W1e,sW,Y1e,RLe=Br(cu,"EdgeLabelSideSelection",283,Hr,Hvn,o1n),Wxt;D(488,22,{3:1,34:1,22:1,488:1},eye);var aW,jLe,$Le=Br(cu,"EdgeStraighteningStrategy",488,Hr,w2n,c1n),Yxt;D(281,22,{3:1,34:1,22:1,281:1},S_);var X1e,zLe,qLe,oW,HLe,ULe,VLe=Br(cu,"FixedAlignment",281,Hr,Uvn,s1n),Xxt;D(282,22,{3:1,34:1,22:1,282:1},__);var GLe,KLe,WLe,YLe,VL,XLe,QLe=Br(cu,"GraphCompactionStrategy",282,Hr,Vvn,e1n),Qxt;D(259,22,{3:1,34:1,22:1,259:1},fy);var $E,cW,zE,mf,GL,uW,qE,R6,lW,KL,Q1e=Br(cu,"GraphProperties",259,Hr,L3n,t1n),Jxt;D(299,22,{3:1,34:1,22:1,299:1},Bse);var SB,J1e,Z1e,ede=Br(cu,"GreedySwitchType",299,Hr,ubn,n1n),Zxt;D(311,22,{3:1,34:1,22:1,311:1},Fse);var Gx,_B,j6,e9t=Br(cu,"InLayerConstraint",311,Hr,lbn,r1n),t9t;D(429,22,{3:1,34:1,22:1,429:1},tye);var tde,JLe,ZLe=Br(cu,"InteractiveReferencePoint",429,Hr,l2n,i1n),n9t,eMe,Kx,p3,hW,tMe,nMe,fW,rMe,AB,dW,WL,Wx,wp,nde,gW,Xc,iMe,Wb,_u,rde,ide,LB,wv,b3,Yx,sMe,Xx,MB,p4,a1,$f,sde,$6,Yi,zi,aMe,oMe,cMe,uMe,lMe,ade,pW,Bl,m3,ode,Qx,YL,W1,z6,v3,q6,H6,HE,yv,hMe,cde,ude,Jx;D(171,22,{3:1,34:1,22:1,171:1},vO);var XL,Yb,QL,b4,DB,fMe=Br(cu,"LayerConstraint",171,Hr,fvn,u1n),r9t;D(859,1,Pf,uie),h.hf=function(t){an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,cEe),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),kMe),(T2(),ps)),FLe),hn((n1(),Bn))))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,uEe),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(Hn(),!1)),Ta),Ps),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,yG),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),AMe),ps),ZLe),hn(Bn)))),Zs(t,yG,tfe,Q9t),Zs(t,yG,bL,X9t),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,lEe),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),Ta),Ps),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,hEe),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),Ta),Ps),hn(Bn)))),an(t,new Qt(tln(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,fEe),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),Ta),Ps),hn(Av)),he(le($t,1),dt,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,dEe),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),BMe),ps),VDe),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,gEe),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),bt(7)),Sc),to),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,pEe),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),Ta),Ps),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,bEe),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),Ta),Ps),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,tfe),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),xMe),ps),PLe),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,XP),Cfe),"Node Layering Strategy"),"Strategy for node layering."),DMe),ps),ODe),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,mEe),Cfe),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),LMe),ps),fMe),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,vEe),Cfe),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),Sc),to),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,wEe),Cfe),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),bt(-1)),Sc),to),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,nfe),_yt),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),bt(4)),Sc),to),hn(Bn)))),Zs(t,nfe,XP,ikt),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,rfe),_yt),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),bt(2)),Sc),to),hn(Bn)))),Zs(t,rfe,XP,akt),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,ife),Ayt),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),MMe),ps),qDe),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,sfe),Ayt),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),bt(0)),Sc),to),hn(Bn)))),Zs(t,sfe,ife,null),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,afe),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),bt(Ni)),Sc),to),hn(Bn)))),Zs(t,afe,XP,Z9t),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,bL),bE),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),yMe),ps),DLe),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,yEe),bE),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),Ta),Ps),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,ofe),bE),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),co),ra),hn(Bn)))),Zs(t,ofe,OG,T9t),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,cfe),bE),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),Ta),Ps),hn(Bn)))),Zs(t,cfe,bL,L9t),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,xEe),bE),"In Layer Predecessor of"),"Allows to set a constraint which specifies of which node the current node is the predecessor. If set to 's' then the node is the predecessor of 's' and is in the same layer"),null),e7),$t),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,kEe),bE),"In Layer Successor of"),"Allows to set a constraint which specifies of which node the current node is the successor. If set to 's' then the node is the successor of 's' and is in the same layer"),null),e7),$t),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,TEe),bE),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),Sc),to),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,EEe),bE),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),bt(-1)),Sc),to),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,CEe),Lyt),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),bt(40)),Sc),to),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,ufe),Lyt),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),wMe),ps),ede),hn(Bn)))),Zs(t,ufe,bL,x9t),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,xG),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),vMe),ps),ede),hn(Bn)))),Zs(t,xG,bL,v9t),Zs(t,xG,OG,w9t),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,E6),Myt),"Node Placement Strategy"),"Strategy for node placement."),PMe),ps),FDe),hn(Bn)))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,kG),Myt),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),Ta),Ps),hn(Bn)))),Zs(t,kG,E6,mkt),Zs(t,kG,E6,vkt),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,lfe),Dyt),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),IMe),ps),$Le),hn(Bn)))),Zs(t,lfe,E6,dkt),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,hfe),Dyt),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),OMe),ps),VLe),hn(Bn)))),Zs(t,hfe,E6,pkt),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,ffe),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),co),ra),hn(Bn)))),Zs(t,ffe,E6,ykt),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,dfe),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),ps),Dde),hn(pa)))),Zs(t,dfe,E6,Ekt),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,gfe),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),NMe),ps),Dde),hn(Bn)))),Zs(t,gfe,E6,Tkt),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,SEe),Iyt),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),CMe),ps),WDe),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,_Ee),Iyt),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),SMe),ps),YDe),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,TG),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),_Me),ps),QDe),hn(Bn)))),Zs(t,TG,QP,$9t),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,EG),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),co),ra),hn(Bn)))),Zs(t,EG,QP,q9t),Zs(t,EG,TG,H9t),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,pfe),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),co),ra),hn(Bn)))),Zs(t,pfe,QP,B9t),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,AEe),V1),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),co),ra),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,LEe),V1),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),co),ra),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,MEe),V1),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),co),ra),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,DEe),V1),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),co),ra),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,IEe),qEe),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),bt(0)),Sc),to),hn($d)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,OEe),qEe),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),bt(0)),Sc),to),hn($d)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,NEe),qEe),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),bt(0)),Sc),to),hn($d)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,bfe),HEe),W3t),"Tries to further compact components (disconnected sub-graphs)."),!1),Ta),Ps),hn(Bn)))),Zs(t,bfe,hL,!0),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,PEe),Oyt),"Post Compaction Strategy"),Nyt),gMe),ps),QLe),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,BEe),Oyt),"Post Compaction Constraint Calculation"),Nyt),dMe),ps),LLe),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,CG),UEe),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),Ta),Ps),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,mfe),UEe),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),bt(16)),Sc),to),hn(Bn)))),Zs(t,mfe,CG,!0),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,vfe),UEe),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),bt(5)),Sc),to),hn(Bn)))),Zs(t,vfe,CG,!0),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,bp),VEe),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),jMe),ps),tIe),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,SG),VEe),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),co),ra),hn(Bn)))),Zs(t,SG,bp,Fkt),Zs(t,SG,bp,Rkt),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,_G),VEe),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),co),ra),hn(Bn)))),Zs(t,_G,bp,$kt),Zs(t,_G,bp,zkt),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,mL),Pyt),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),RMe),ps),OLe),hn(Bn)))),Zs(t,mL,bp,Kkt),Zs(t,mL,bp,Wkt),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,wfe),Pyt),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),X1),bf),hn(Bn)))),Zs(t,wfe,mL,Hkt),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,yfe),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),FMe),Sc),to),hn(Bn)))),Zs(t,yfe,mL,Vkt),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,AG),Byt),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),$Me),ps),eIe),hn(Bn)))),Zs(t,AG,bp,aTt),Zs(t,AG,bp,oTt),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,LG),Byt),"Valid Indices for Wrapping"),null),X1),bf),hn(Bn)))),Zs(t,LG,bp,rTt),Zs(t,LG,bp,iTt),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,MG),GEe),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),Ta),Ps),hn(Bn)))),Zs(t,MG,bp,Jkt),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,DG),GEe),"Distance Penalty When Improving Cuts"),null),2),co),ra),hn(Bn)))),Zs(t,DG,bp,Xkt),Zs(t,DG,MG,!0),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,xfe),GEe),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),Ta),Ps),hn(Bn)))),Zs(t,xfe,bp,eTt),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,FEe),Sfe),"Edge Label Side Selection"),"Method to decide on edge label sides."),EMe),ps),RLe),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,REe),Sfe),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),TMe),ps),BE),is(Bn,he(le(Eg,1),it,170,0,[P2]))))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,IG),vL),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),mMe),ps),UDe),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,jEe),vL),"Consider Port Order"),"If disabled the port order of output ports is derived from the edge order and input ports are ordered by their incoming connections. If enabled all ports are ordered by the port model order."),!1),Ta),Ps),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,$Ee),vL),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),Ta),Ps),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,kfe),vL),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),pMe),ps),PAe),hn(Bn)))),Zs(t,kfe,hL,null),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,zEe),vL),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),bMe),ps),PDe),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,Tfe),vL),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),co),ra),hn(Bn)))),Zs(t,Tfe,IG,null),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,Efe),vL),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),co),ra),hn(Bn)))),Zs(t,Efe,IG,null),Zwt((new lie,t))};var i9t,s9t,a9t,dMe,o9t,gMe,c9t,pMe,u9t,l9t,h9t,bMe,f9t,d9t,g9t,mMe,p9t,b9t,m9t,vMe,v9t,w9t,y9t,wMe,x9t,k9t,T9t,E9t,C9t,S9t,_9t,A9t,L9t,M9t,yMe,D9t,xMe,I9t,kMe,O9t,TMe,N9t,EMe,P9t,B9t,F9t,CMe,R9t,SMe,j9t,_Me,$9t,z9t,q9t,H9t,U9t,V9t,G9t,K9t,W9t,Y9t,AMe,X9t,Q9t,J9t,Z9t,ekt,tkt,LMe,nkt,rkt,ikt,skt,akt,okt,ckt,MMe,ukt,DMe,lkt,hkt,fkt,IMe,dkt,gkt,OMe,pkt,bkt,mkt,vkt,wkt,ykt,xkt,kkt,NMe,Tkt,Ekt,Ckt,PMe,Skt,BMe,_kt,Akt,Lkt,Mkt,Dkt,Ikt,Okt,Nkt,Pkt,Bkt,Fkt,Rkt,jkt,$kt,zkt,qkt,Hkt,Ukt,FMe,Vkt,Gkt,RMe,Kkt,Wkt,Ykt,Xkt,Qkt,Jkt,Zkt,eTt,tTt,jMe,nTt,rTt,iTt,sTt,$Me,aTt,oTt;I(cu,"LayeredMetaDataProvider",859),D(998,1,Pf,lie),h.hf=function(t){Zwt(t)};var Fd,lde,bW,JL,mW,zMe,vW,m4,wW,qMe,HMe,yW,hde,Tg,fde,w3,UMe,IB,dde,VMe,cTt,uTt,lTt,xW,gde,ZL,xv,hTt,Rh,GMe,KMe,kW,pde,Rd,TW,yp,WMe,YMe,XMe,bde,mde,QMe,M2,vde,JMe,v4,ZMe,eDe,tDe,EW,w4,kv,nDe,rDe,lc,iDe,fTt,Qu,CW,sDe,aDe,oDe,Xb,Tv,SW,cDe,uDe,_W,y3,lDe,wde,eM,hDe,x3,tM,AW,Ev,yde,UE,LW,Cv,fDe,dDe,gDe,VE,pDe,dTt,gTt,pTt,bTt,k3,y4,Ds,D2,mTt,x4,bDe,GE,mDe,k4,vTt,KE,vDe,Zx,wTt,yTt,OB,xde,wDe,NB,y0,U6,V6,T3,Sv,MW,T4,kde,WE,YE,E3,G6,Tde,PB,nM,rM,xTt,kTt,TTt,yDe,ETt,Ede,xDe,kDe,TDe,EDe,Cde,CDe,SDe,_De,ADe,Sde,DW;I(cu,"LayeredOptions",998),D(999,1,{},Jee),h.sf=function(){var t;return t=new mJe,t},h.tf=function(t){},I(cu,"LayeredOptions/LayeredFactory",999),D(1391,1,{}),h.a=0;var CTt;I(Kc,"ElkSpacings/AbstractSpacingsBuilder",1391),D(792,1391,{},Y8e);var IW,STt;I(cu,"LayeredSpacings/LayeredSpacingsBuilder",792),D(265,22,{3:1,34:1,22:1,265:1,188:1,196:1},I5),h.dg=function(){return gmt(this)},h.qg=function(){return gmt(this)};var XE,_de,QE,LDe,MDe,DDe,OW,Ade,IDe,ODe=Br(cu,"LayeringStrategy",265,Hr,s3n,l1n),_Tt;D(390,22,{3:1,34:1,22:1,390:1},Rse);var Lde,NDe,NW,PDe=Br(cu,"LongEdgeOrderingStrategy",390,Hr,hbn,h1n),ATt;D(203,22,{3:1,34:1,22:1,203:1},Eq);var K6,W6,PW,Mde,Dde=Br(cu,"NodeFlexibility",203,Hr,ymn,f1n),LTt;D(323,22,{3:1,34:1,22:1,323:1,188:1,196:1},wO),h.dg=function(){return ibt(this)},h.qg=function(){return ibt(this)};var iM,Ide,Ode,sM,BDe,FDe=Br(cu,"NodePlacementStrategy",323,Hr,hvn,d1n),MTt;D(243,22,{3:1,34:1,22:1,243:1},dy);var RDe,C3,E4,BB,jDe,$De,FB,zDe,BW,FW,qDe=Br(cu,"NodePromotionStrategy",243,Hr,M3n,g1n),DTt;D(284,22,{3:1,34:1,22:1,284:1},Cq);var HDe,I2,Nde,Pde,UDe=Br(cu,"OrderingStrategy",284,Hr,xmn,p1n),ITt;D(430,22,{3:1,34:1,22:1,430:1},nye);var Bde,Fde,VDe=Br(cu,"PortSortingStrategy",430,Hr,d2n,b1n),OTt;D(463,22,{3:1,34:1,22:1,463:1},jse);var Fl,$u,aM,NTt=Br(cu,"PortType",463,Hr,fbn,m1n),PTt;D(387,22,{3:1,34:1,22:1,387:1},$se);var GDe,Rde,KDe,WDe=Br(cu,"SelfLoopDistributionStrategy",387,Hr,dbn,v1n),BTt;D(349,22,{3:1,34:1,22:1,349:1},zse);var jde,RB,$de,YDe=Br(cu,"SelfLoopOrderingStrategy",349,Hr,gbn,w1n),FTt;D(312,1,{312:1},Xvt),I(cu,"Spacings",312),D(350,22,{3:1,34:1,22:1,350:1},qse);var zde,XDe,oM,QDe=Br(cu,"SplineRoutingMode",350,Hr,pbn,y1n),RTt;D(352,22,{3:1,34:1,22:1,352:1},Hse);var qde,JDe,ZDe,eIe=Br(cu,"ValidifyStrategy",352,Hr,bbn,x1n),jTt;D(388,22,{3:1,34:1,22:1,388:1},Use);var C4,Hde,JE,tIe=Br(cu,"WrappingStrategy",388,Hr,mbn,k1n),$Tt;D(1398,1,Vo,sie),h.rg=function(t){return l(t,36),zTt},h.Kf=function(t,n){tMn(this,l(t,36),n)};var zTt;I(FG,"DepthFirstCycleBreaker",1398),D(793,1,Vo,p5e),h.rg=function(t){return l(t,36),qTt},h.Kf=function(t,n){iOn(this,l(t,36),n)},h.sg=function(t){return l(Rt(t,gV(this.d,t.c.length)),10)};var qTt;I(FG,"GreedyCycleBreaker",793),D(1401,793,Vo,pnt),h.sg=function(t){var n,r,s,o;for(o=null,n=Ni,s=new K(t);s.a1&&(Ft(Pt(Q(Ja((Sn(0,t.c.length),l(t.c[0],10))),(Nt(),w3))))?mbt(t,this.d,l(this,669)):(Cn(),Gs(t,this.d)),v0t(this.e,t))},h.lg=function(t,n,r,s){var o,f,g,w,T,C,L;for(n!=Pst(r,t.length)&&(f=t[n-(r?1:-1)],U6e(this.f,f,r?(qo(),$u):(qo(),Fl))),o=t[n][0],L=!s||o.k==(Jn(),Ks),C=O1(t[n]),this.vg(C,L,!1,r),g=0,T=new K(C);T.a"),t0?Eoe(this.a,t[n-1],t[n]):!r&&n1&&(Ft(Pt(Q(Ja((Sn(0,t.c.length),l(t.c[0],10))),(Nt(),w3))))?mbt(t,this.d,this):(Cn(),Gs(t,this.d)),Ft(Pt(Q(Ja((Sn(0,t.c.length),l(t.c[0],10))),w3)))||v0t(this.e,t))},I(El,"ModelOrderBarycenterHeuristic",669),D(1866,1,ii,bXe),h.Ne=function(t,n){return ekn(this.a,l(t,10),l(n,10))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(El,"ModelOrderBarycenterHeuristic/lambda$0$Type",1866),D(1423,1,Vo,fie),h.rg=function(t){var n;return l(t,36),n=zq(iEt),hi(n,(so(),pu),(po(),GK)),n},h.Kf=function(t,n){Fpn((l(t,36),n))};var iEt;I(El,"NoCrossingMinimizer",1423),D(809,413,_Ce,C3e),h.tg=function(t,n,r){var s,o,f,g,w,T,C,L,F,z,V;switch(F=this.g,r.g){case 1:{for(o=0,f=0,L=new K(t.j);L.a1&&(o.j==(_t(),sr)?this.b[t]=!0:o.j==Zn&&t>0&&(this.b[t-1]=!0))},h.f=0,I(wg,"AllCrossingsCounter",1861),D(595,1,{},IU),h.b=0,h.d=0,I(wg,"BinaryIndexedTree",595),D(532,1,{},$O);var iIe,jW;I(wg,"CrossingsCounter",532),D(1950,1,ii,mXe),h.Ne=function(t,n){return ugn(this.a,l(t,12),l(n,12))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(wg,"CrossingsCounter/lambda$0$Type",1950),D(1951,1,ii,vXe),h.Ne=function(t,n){return lgn(this.a,l(t,12),l(n,12))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(wg,"CrossingsCounter/lambda$1$Type",1951),D(1952,1,ii,wXe),h.Ne=function(t,n){return hgn(this.a,l(t,12),l(n,12))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(wg,"CrossingsCounter/lambda$2$Type",1952),D(1953,1,ii,yXe),h.Ne=function(t,n){return fgn(this.a,l(t,12),l(n,12))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(wg,"CrossingsCounter/lambda$3$Type",1953),D(1954,1,hr,xXe),h.Cd=function(t){fwn(this.a,l(t,12))},I(wg,"CrossingsCounter/lambda$4$Type",1954),D(1955,1,ei,kXe),h.Mb=function(t){return Fln(this.a,l(t,12))},I(wg,"CrossingsCounter/lambda$5$Type",1955),D(1956,1,hr,TXe),h.Cd=function(t){ant(this,t)},I(wg,"CrossingsCounter/lambda$6$Type",1956),D(1957,1,hr,mtt),h.Cd=function(t){var n;zk(),Tb(this.b,(n=this.a,l(t,12),n))},I(wg,"CrossingsCounter/lambda$7$Type",1957),D(839,1,Ad,i$),h.Lb=function(t){return zk(),rs(l(t,12),(ft(),Bl))},h.Fb=function(t){return this===t},h.Mb=function(t){return zk(),rs(l(t,12),(ft(),Bl))},I(wg,"CrossingsCounter/lambda$8$Type",839),D(1949,1,{},EXe),I(wg,"HyperedgeCrossingsCounter",1949),D(478,1,{34:1,478:1},yit),h.Fd=function(t){return h6n(this,l(t,478))},h.b=0,h.c=0,h.e=0,h.f=0;var VOn=I(wg,"HyperedgeCrossingsCounter/Hyperedge",478);D(374,1,{34:1,374:1},OH),h.Fd=function(t){return CEn(this,l(t,374))},h.b=0,h.c=0;var sEt=I(wg,"HyperedgeCrossingsCounter/HyperedgeCorner",374);D(531,22,{3:1,34:1,22:1,531:1},rye);var uM,lM,aEt=Br(wg,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",531,Hr,g2n,E1n),oEt;D(1425,1,Vo,die),h.rg=function(t){return l(Q(l(t,36),(ft(),_u)),21).Hc((Ho(),mf))?cEt:null},h.Kf=function(t,n){B8n(this,l(t,36),n)};var cEt;I(Go,"InteractiveNodePlacer",1425),D(1426,1,Vo,gie),h.rg=function(t){return l(Q(l(t,36),(ft(),_u)),21).Hc((Ho(),mf))?uEt:null},h.Kf=function(t,n){y7n(this,l(t,36),n)};var uEt,$W,zW;I(Go,"LinearSegmentsNodePlacer",1426),D(261,1,{34:1,261:1},Zwe),h.Fd=function(t){return Yun(this,l(t,261))},h.Fb=function(t){var n;return De(t,261)?(n=l(t,261),this.b==n.b):!1},h.Hb=function(){return this.b},h.Ib=function(){return"ls"+Ob(this.e)},h.a=0,h.b=0,h.c=-1,h.d=-1,h.g=0;var lEt=I(Go,"LinearSegmentsNodePlacer/LinearSegment",261);D(1428,1,Vo,Vst),h.rg=function(t){return l(Q(l(t,36),(ft(),_u)),21).Hc((Ho(),mf))?hEt:null},h.Kf=function(t,n){YIn(this,l(t,36),n)},h.b=0,h.g=0;var hEt;I(Go,"NetworkSimplexPlacer",1428),D(1447,1,ii,ate),h.Ne=function(t,n){return iu(l(t,17).a,l(n,17).a)},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(Go,"NetworkSimplexPlacer/0methodref$compare$Type",1447),D(1449,1,ii,ote),h.Ne=function(t,n){return iu(l(t,17).a,l(n,17).a)},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(Go,"NetworkSimplexPlacer/1methodref$compare$Type",1449),D(655,1,{655:1},vtt);var GOn=I(Go,"NetworkSimplexPlacer/EdgeRep",655);D(412,1,{412:1},Y5e),h.b=!1;var KOn=I(Go,"NetworkSimplexPlacer/NodeRep",412);D(515,13,{3:1,4:1,20:1,31:1,56:1,13:1,16:1,15:1,59:1,515:1},SJe),I(Go,"NetworkSimplexPlacer/Path",515),D(1429,1,{},cte),h.Kb=function(t){return l(t,18).d.i.k},I(Go,"NetworkSimplexPlacer/Path/lambda$0$Type",1429),D(1430,1,ei,ute),h.Mb=function(t){return l(t,273)==(Jn(),Aa)},I(Go,"NetworkSimplexPlacer/Path/lambda$1$Type",1430),D(1431,1,{},lte),h.Kb=function(t){return l(t,18).d.i},I(Go,"NetworkSimplexPlacer/Path/lambda$2$Type",1431),D(1432,1,ei,CXe),h.Mb=function(t){return iit(odt(l(t,10)))},I(Go,"NetworkSimplexPlacer/Path/lambda$3$Type",1432),D(1433,1,ei,hte),h.Mb=function(t){return Kdn(l(t,12))},I(Go,"NetworkSimplexPlacer/lambda$0$Type",1433),D(1434,1,hr,wtt),h.Cd=function(t){Ahn(this.a,this.b,l(t,12))},I(Go,"NetworkSimplexPlacer/lambda$1$Type",1434),D(1443,1,hr,SXe),h.Cd=function(t){eTn(this.a,l(t,18))},I(Go,"NetworkSimplexPlacer/lambda$10$Type",1443),D(1444,1,{},fte),h.Kb=function(t){return Sh(),new vn(null,new kn(l(t,30).a,16))},I(Go,"NetworkSimplexPlacer/lambda$11$Type",1444),D(1445,1,hr,_Xe),h.Cd=function(t){WSn(this.a,l(t,10))},I(Go,"NetworkSimplexPlacer/lambda$12$Type",1445),D(1446,1,{},dte),h.Kb=function(t){return Sh(),bt(l(t,125).e)},I(Go,"NetworkSimplexPlacer/lambda$13$Type",1446),D(1448,1,{},gte),h.Kb=function(t){return Sh(),bt(l(t,125).e)},I(Go,"NetworkSimplexPlacer/lambda$15$Type",1448),D(1450,1,ei,pte),h.Mb=function(t){return Sh(),l(t,412).c.k==(Jn(),Bs)},I(Go,"NetworkSimplexPlacer/lambda$17$Type",1450),D(1451,1,ei,bte),h.Mb=function(t){return Sh(),l(t,412).c.j.c.length>1},I(Go,"NetworkSimplexPlacer/lambda$18$Type",1451),D(1452,1,hr,Zat),h.Cd=function(t){O5n(this.c,this.b,this.d,this.a,l(t,412))},h.c=0,h.d=0,I(Go,"NetworkSimplexPlacer/lambda$19$Type",1452),D(1435,1,{},mte),h.Kb=function(t){return Sh(),new vn(null,new kn(l(t,30).a,16))},I(Go,"NetworkSimplexPlacer/lambda$2$Type",1435),D(1453,1,hr,AXe),h.Cd=function(t){Mhn(this.a,l(t,12))},h.a=0,I(Go,"NetworkSimplexPlacer/lambda$20$Type",1453),D(1454,1,{},vte),h.Kb=function(t){return Sh(),new vn(null,new kn(l(t,30).a,16))},I(Go,"NetworkSimplexPlacer/lambda$21$Type",1454),D(1455,1,hr,LXe),h.Cd=function(t){qhn(this.a,l(t,10))},I(Go,"NetworkSimplexPlacer/lambda$22$Type",1455),D(1456,1,ei,wte),h.Mb=function(t){return iit(t)},I(Go,"NetworkSimplexPlacer/lambda$23$Type",1456),D(1457,1,{},yte),h.Kb=function(t){return Sh(),new vn(null,new kn(l(t,30).a,16))},I(Go,"NetworkSimplexPlacer/lambda$24$Type",1457),D(1458,1,ei,MXe),h.Mb=function(t){return Qln(this.a,l(t,10))},I(Go,"NetworkSimplexPlacer/lambda$25$Type",1458),D(1459,1,hr,ytt),h.Cd=function(t){ikn(this.a,this.b,l(t,10))},I(Go,"NetworkSimplexPlacer/lambda$26$Type",1459),D(1460,1,ei,a8),h.Mb=function(t){return Sh(),!Ao(l(t,18))},I(Go,"NetworkSimplexPlacer/lambda$27$Type",1460),D(1461,1,ei,s$),h.Mb=function(t){return Sh(),!Ao(l(t,18))},I(Go,"NetworkSimplexPlacer/lambda$28$Type",1461),D(1462,1,{},DXe),h.Ve=function(t,n){return Lhn(this.a,l(t,30),l(n,30))},I(Go,"NetworkSimplexPlacer/lambda$29$Type",1462),D(1436,1,{},xte),h.Kb=function(t){return Sh(),new vn(null,new Cw(new lr(fr(qs(l(t,10)).a.Kc(),new j))))},I(Go,"NetworkSimplexPlacer/lambda$3$Type",1436),D(1437,1,ei,kte),h.Mb=function(t){return Sh(),smn(l(t,18))},I(Go,"NetworkSimplexPlacer/lambda$4$Type",1437),D(1438,1,hr,IXe),h.Cd=function(t){rLn(this.a,l(t,18))},I(Go,"NetworkSimplexPlacer/lambda$5$Type",1438),D(1439,1,{},Tte),h.Kb=function(t){return Sh(),new vn(null,new kn(l(t,30).a,16))},I(Go,"NetworkSimplexPlacer/lambda$6$Type",1439),D(1440,1,ei,a$),h.Mb=function(t){return Sh(),l(t,10).k==(Jn(),Bs)},I(Go,"NetworkSimplexPlacer/lambda$7$Type",1440),D(1441,1,{},Ete),h.Kb=function(t){return Sh(),new vn(null,new Cw(new lr(fr(up(l(t,10)).a.Kc(),new j))))},I(Go,"NetworkSimplexPlacer/lambda$8$Type",1441),D(1442,1,ei,CS),h.Mb=function(t){return Sh(),Gdn(l(t,18))},I(Go,"NetworkSimplexPlacer/lambda$9$Type",1442),D(1424,1,Vo,pie),h.rg=function(t){return l(Q(l(t,36),(ft(),_u)),21).Hc((Ho(),mf))?fEt:null},h.Kf=function(t,n){FLn(l(t,36),n)};var fEt;I(Go,"SimpleNodePlacer",1424),D(185,1,{185:1},g6),h.Ib=function(){var t;return t="",this.c==(yd(),S3)?t+=Ix:this.c==O2&&(t+=Dx),this.o==(D1(),_v)?t+=Ohe:this.o==Y1?t+="UP":t+="BALANCED",t},I(zb,"BKAlignedLayout",185),D(523,22,{3:1,34:1,22:1,523:1},iye);var O2,S3,dEt=Br(zb,"BKAlignedLayout/HDirection",523,Hr,b2n,C1n),gEt;D(522,22,{3:1,34:1,22:1,522:1},sye);var _v,Y1,pEt=Br(zb,"BKAlignedLayout/VDirection",522,Hr,m2n,S1n),bEt;D(1699,1,{},xtt),I(zb,"BKAligner",1699),D(1702,1,{},Igt),I(zb,"BKCompactor",1702),D(663,1,{663:1},Cte),h.a=0,I(zb,"BKCompactor/ClassEdge",663),D(467,1,{467:1},TJe),h.a=null,h.b=0,I(zb,"BKCompactor/ClassNode",467),D(1427,1,Vo,Ctt),h.rg=function(t){return l(Q(l(t,36),(ft(),_u)),21).Hc((Ho(),mf))?mEt:null},h.Kf=function(t,n){dOn(this,l(t,36),n)},h.d=!1;var mEt;I(zb,"BKNodePlacer",1427),D(1700,1,{},Ste),h.d=0,I(zb,"NeighborhoodInformation",1700),D(1701,1,ii,OXe),h.Ne=function(t,n){return zwn(this,l(t,42),l(n,42))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(zb,"NeighborhoodInformation/NeighborComparator",1701),D(823,1,{}),I(zb,"ThresholdStrategy",823),D(1825,823,{},EJe),h.wg=function(t,n,r){return this.a.o==(D1(),Y1)?gs:oa},h.xg=function(){},I(zb,"ThresholdStrategy/NullThresholdStrategy",1825),D(587,1,{587:1},Stt),h.c=!1,h.d=!1,I(zb,"ThresholdStrategy/Postprocessable",587),D(1826,823,{},CJe),h.wg=function(t,n,r){var s,o,f;return o=n==r,s=this.a.a[r.p]==n,o||s?(f=t,this.a.c==(yd(),S3)?(o&&(f=Ile(this,n,!0)),!isNaN(f)&&!isFinite(f)&&s&&(f=Ile(this,r,!1))):(o&&(f=Ile(this,n,!0)),!isNaN(f)&&!isFinite(f)&&s&&(f=Ile(this,r,!1))),f):t},h.xg=function(){for(var t,n,r,s,o;this.d.b!=0;)o=l(I2n(this.d),587),s=ivt(this,o),s.a&&(t=s.a,r=Ft(this.a.f[this.a.g[o.b.p].p]),!(!r&&!Ao(t)&&t.c.i.c==t.d.i.c)&&(n=ubt(this,o),n||ehn(this.e,o)));for(;this.e.a.c.length!=0;)ubt(this,l(l1t(this.e),587))},I(zb,"ThresholdStrategy/SimpleThresholdStrategy",1826),D(645,1,{645:1,188:1,196:1},_te),h.dg=function(){return w0t(this)},h.qg=function(){return w0t(this)};var Ude;I(Dfe,"EdgeRouterFactory",645),D(1485,1,Vo,bie),h.rg=function(t){return ESn(l(t,36))},h.Kf=function(t,n){ULn(l(t,36),n)};var vEt,wEt,yEt,xEt,kEt,sIe,TEt,EEt;I(Dfe,"OrthogonalEdgeRouter",1485),D(1478,1,Vo,Ett),h.rg=function(t){return G8n(l(t,36))},h.Kf=function(t,n){dIn(this,l(t,36),n)};var CEt,SEt,_Et,AEt,$B,LEt;I(Dfe,"PolylineEdgeRouter",1478),D(1479,1,Ad,Lte),h.Lb=function(t){return G7e(l(t,10))},h.Fb=function(t){return this===t},h.Mb=function(t){return G7e(l(t,10))},I(Dfe,"PolylineEdgeRouter/1",1479),D(1872,1,ei,Mte),h.Mb=function(t){return l(t,132).c==(Q0(),Qb)},I(r1,"HyperEdgeCycleDetector/lambda$0$Type",1872),D(1873,1,{},Dte),h.Ze=function(t){return l(t,132).d},I(r1,"HyperEdgeCycleDetector/lambda$1$Type",1873),D(1874,1,ei,Ite),h.Mb=function(t){return l(t,132).c==(Q0(),Qb)},I(r1,"HyperEdgeCycleDetector/lambda$2$Type",1874),D(1875,1,{},Ote),h.Ze=function(t){return l(t,132).d},I(r1,"HyperEdgeCycleDetector/lambda$3$Type",1875),D(1876,1,{},Nte),h.Ze=function(t){return l(t,132).d},I(r1,"HyperEdgeCycleDetector/lambda$4$Type",1876),D(1877,1,{},Ate),h.Ze=function(t){return l(t,132).d},I(r1,"HyperEdgeCycleDetector/lambda$5$Type",1877),D(118,1,{34:1,118:1},LN),h.Fd=function(t){return Xun(this,l(t,118))},h.Fb=function(t){var n;return De(t,118)?(n=l(t,118),this.g==n.g):!1},h.Hb=function(){return this.g},h.Ib=function(){var t,n,r,s;for(t=new Eh("{"),s=new K(this.n);s.a"+this.b+" ("+pfn(this.c)+")"},h.d=0,I(r1,"HyperEdgeSegmentDependency",132),D(528,22,{3:1,34:1,22:1,528:1},aye);var Qb,S4,MEt=Br(r1,"HyperEdgeSegmentDependency/DependencyType",528,Hr,v2n,_1n),DEt;D(1878,1,{},NXe),I(r1,"HyperEdgeSegmentSplitter",1878),D(1879,1,{},SZe),h.a=0,h.b=0,I(r1,"HyperEdgeSegmentSplitter/AreaRating",1879),D(339,1,{339:1},Iae),h.a=0,h.b=0,h.c=0,I(r1,"HyperEdgeSegmentSplitter/FreeArea",339),D(1880,1,ii,o8),h.Ne=function(t,n){return p0n(l(t,118),l(n,118))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(r1,"HyperEdgeSegmentSplitter/lambda$0$Type",1880),D(1881,1,hr,eot),h.Cd=function(t){Hmn(this.a,this.d,this.c,this.b,l(t,118))},h.b=0,I(r1,"HyperEdgeSegmentSplitter/lambda$1$Type",1881),D(1882,1,{},Pte),h.Kb=function(t){return new vn(null,new kn(l(t,118).e,16))},I(r1,"HyperEdgeSegmentSplitter/lambda$2$Type",1882),D(1883,1,{},Bte),h.Kb=function(t){return new vn(null,new kn(l(t,118).j,16))},I(r1,"HyperEdgeSegmentSplitter/lambda$3$Type",1883),D(1884,1,{},Fte),h.Ye=function(t){return ze(Ge(t))},I(r1,"HyperEdgeSegmentSplitter/lambda$4$Type",1884),D(664,1,{},roe),h.a=0,h.b=0,h.c=0,I(r1,"OrthogonalRoutingGenerator",664),D(1703,1,{},Rte),h.Kb=function(t){return new vn(null,new kn(l(t,118).e,16))},I(r1,"OrthogonalRoutingGenerator/lambda$0$Type",1703),D(1704,1,{},jte),h.Kb=function(t){return new vn(null,new kn(l(t,118).j,16))},I(r1,"OrthogonalRoutingGenerator/lambda$1$Type",1704),D(670,1,{}),I(Ife,"BaseRoutingDirectionStrategy",670),D(1870,670,{},LJe),h.yg=function(t,n,r){var s,o,f,g,w,T,C,L,F,z,V,J,te;if(!(t.r&&!t.q))for(L=n+t.o*r,C=new K(t.n);C.aMd&&(f=L,o=t,s=new lt(F,f),ci(g.a,s),Qw(this,g,o,s,!1),z=t.r,z&&(V=ze(Ge(hf(z.e,0))),s=new lt(V,f),ci(g.a,s),Qw(this,g,o,s,!1),f=n+z.o*r,o=z,s=new lt(V,f),ci(g.a,s),Qw(this,g,o,s,!1)),s=new lt(te,f),ci(g.a,s),Qw(this,g,o,s,!1)))},h.zg=function(t){return t.i.n.a+t.n.a+t.a.a},h.Ag=function(){return _t(),Mr},h.Bg=function(){return _t(),Xn},I(Ife,"NorthToSouthRoutingStrategy",1870),D(1871,670,{},MJe),h.yg=function(t,n,r){var s,o,f,g,w,T,C,L,F,z,V,J,te;if(!(t.r&&!t.q))for(L=n-t.o*r,C=new K(t.n);C.aMd&&(f=L,o=t,s=new lt(F,f),ci(g.a,s),Qw(this,g,o,s,!1),z=t.r,z&&(V=ze(Ge(hf(z.e,0))),s=new lt(V,f),ci(g.a,s),Qw(this,g,o,s,!1),f=n-z.o*r,o=z,s=new lt(V,f),ci(g.a,s),Qw(this,g,o,s,!1)),s=new lt(te,f),ci(g.a,s),Qw(this,g,o,s,!1)))},h.zg=function(t){return t.i.n.a+t.n.a+t.a.a},h.Ag=function(){return _t(),Xn},h.Bg=function(){return _t(),Mr},I(Ife,"SouthToNorthRoutingStrategy",1871),D(1869,670,{},DJe),h.yg=function(t,n,r){var s,o,f,g,w,T,C,L,F,z,V,J,te;if(!(t.r&&!t.q))for(L=n+t.o*r,C=new K(t.n);C.aMd&&(f=L,o=t,s=new lt(f,F),ci(g.a,s),Qw(this,g,o,s,!0),z=t.r,z&&(V=ze(Ge(hf(z.e,0))),s=new lt(f,V),ci(g.a,s),Qw(this,g,o,s,!0),f=n+z.o*r,o=z,s=new lt(f,V),ci(g.a,s),Qw(this,g,o,s,!0)),s=new lt(f,te),ci(g.a,s),Qw(this,g,o,s,!0)))},h.zg=function(t){return t.i.n.b+t.n.b+t.a.b},h.Ag=function(){return _t(),sr},h.Bg=function(){return _t(),Zn},I(Ife,"WestToEastRoutingStrategy",1869),D(828,1,{},Uke),h.Ib=function(){return Ob(this.a)},h.b=0,h.c=!1,h.d=!1,h.f=0,I(n4,"NubSpline",828),D(418,1,{418:1},qbt,Iot),I(n4,"NubSpline/PolarCP",418),D(1480,1,Vo,Egt),h.rg=function(t){return Pxn(l(t,36))},h.Kf=function(t,n){IIn(this,l(t,36),n)};var IEt,OEt,NEt,PEt,BEt;I(n4,"SplineEdgeRouter",1480),D(274,1,{274:1},nU),h.Ib=function(){return this.a+" ->("+this.c+") "+this.b},h.c=0,I(n4,"SplineEdgeRouter/Dependency",274),D(465,22,{3:1,34:1,22:1,465:1},oye);var Jb,Y6,FEt=Br(n4,"SplineEdgeRouter/SideToProcess",465,Hr,E2n,A1n),REt;D(1481,1,ei,$te),h.Mb=function(t){return KA(),!l(t,131).o},I(n4,"SplineEdgeRouter/lambda$0$Type",1481),D(1482,1,{},zte),h.Ze=function(t){return KA(),l(t,131).v+1},I(n4,"SplineEdgeRouter/lambda$1$Type",1482),D(1483,1,hr,_tt),h.Cd=function(t){Xdn(this.a,this.b,l(t,42))},I(n4,"SplineEdgeRouter/lambda$2$Type",1483),D(1484,1,hr,Att),h.Cd=function(t){Qdn(this.a,this.b,l(t,42))},I(n4,"SplineEdgeRouter/lambda$3$Type",1484),D(131,1,{34:1,131:1},n2t,Xke),h.Fd=function(t){return Zun(this,l(t,131))},h.b=0,h.e=!1,h.f=0,h.g=0,h.j=!1,h.k=!1,h.n=0,h.o=!1,h.p=!1,h.q=!1,h.s=0,h.u=0,h.v=0,h.F=0,I(n4,"SplineSegment",131),D(468,1,{468:1},qte),h.a=0,h.b=!1,h.c=!1,h.d=!1,h.e=!1,h.f=0,I(n4,"SplineSegment/EdgeInformation",468),D(1198,1,{},SS),I(vp,KTe,1198),D(1199,1,ii,Hte),h.Ne=function(t,n){return mTn(l(t,121),l(n,121))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(vp,J3t,1199),D(1197,1,{},qZe),I(vp,"MrTree",1197),D(405,22,{3:1,34:1,22:1,405:1,188:1,196:1},Sq),h.dg=function(){return T2t(this)},h.qg=function(){return T2t(this)};var qW,hM,fM,dM,aIe=Br(vp,"TreeLayoutPhases",405,Hr,Smn,L1n),jEt;D(1112,205,uv,vit),h.rf=function(t,n){var r,s,o,f,g,w,T,C;for(Ft(Pt(at(t,(Vc(),DIe))))||tN((r=new nw((dw(),new sw(t))),r)),g=n.eh(Pfe),g.Ug("build tGraph",1),w=(T=new lN,mc(T,t),rt(T,(Zi(),pM),t),C=new Nr,lAn(t,T,C),LAn(t,T,C),T),g.Vg(),g=n.eh(Pfe),g.Ug("Split graph",1),f=bAn(this.a,w),g.Vg(),o=new K(f);o.a"+Um(this.c):"e_"+ts(this)},I(wL,"TEdge",65),D(121,137,{3:1,121:1,96:1,137:1},lN),h.Ib=function(){var t,n,r,s,o;for(o=null,s=Fr(this.b,0);s.b!=s.d.c;)r=l(Pr(s),40),o+=(r.c==null||r.c.length==0?"n_"+r.g:"n_"+r.c)+` -`;for(n=Fr(this.a,0);n.b!=n.d.c;)t=l(Pr(n),65),o+=(t.b&&t.c?Um(t.b)+"->"+Um(t.c):"e_"+ts(t))+` -`;return o};var WOn=I(wL,"TGraph",121);D(643,508,{3:1,508:1,643:1,96:1,137:1}),I(wL,"TShape",643),D(40,643,{3:1,508:1,40:1,643:1,96:1,137:1},Pce),h.Ib=function(){return Um(this)};var HW=I(wL,"TNode",40);D(236,1,gg,Kg),h.Jc=function(t){Za(this,t)},h.Kc=function(){var t;return t=Fr(this.a.d,0),new _5(t)},I(wL,"TNode/2",236),D(329,1,Ia,_5),h.Nb=function(t){Qa(this,t)},h.Pb=function(){return l(Pr(this.a),65).c},h.Ob=function(){return sO(this.a)},h.Qb=function(){uce(this.a)},I(wL,"TNode/2/1",329),D(1923,1,ns,Xte),h.Kf=function(t,n){cOn(this,l(t,121),n)},I(Eu,"CompactionProcessor",1923),D(1924,1,ii,jXe),h.Ne=function(t,n){return Y3n(this.a,l(t,40),l(n,40))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(Eu,"CompactionProcessor/lambda$0$Type",1924),D(1925,1,ei,Mtt),h.Mb=function(t){return t2n(this.b,this.a,l(t,42))},h.a=0,h.b=0,I(Eu,"CompactionProcessor/lambda$1$Type",1925),D(1934,1,ii,c8),h.Ne=function(t,n){return Ggn(l(t,40),l(n,40))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(Eu,"CompactionProcessor/lambda$10$Type",1934),D(1935,1,ii,o$),h.Ne=function(t,n){return afn(l(t,40),l(n,40))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(Eu,"CompactionProcessor/lambda$11$Type",1935),D(1936,1,ii,Qte),h.Ne=function(t,n){return Kgn(l(t,40),l(n,40))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(Eu,"CompactionProcessor/lambda$12$Type",1936),D(1926,1,ei,$Xe),h.Mb=function(t){return Hhn(this.a,l(t,42))},h.a=0,I(Eu,"CompactionProcessor/lambda$2$Type",1926),D(1927,1,ei,zXe),h.Mb=function(t){return Uhn(this.a,l(t,42))},h.a=0,I(Eu,"CompactionProcessor/lambda$3$Type",1927),D(1928,1,ei,TI),h.Mb=function(t){return l(t,40).c.indexOf(jG)==-1},I(Eu,"CompactionProcessor/lambda$4$Type",1928),D(1929,1,{},qXe),h.Kb=function(t){return rmn(this.a,l(t,40))},h.a=0,I(Eu,"CompactionProcessor/lambda$5$Type",1929),D(1930,1,{},HXe),h.Kb=function(t){return hwn(this.a,l(t,40))},h.a=0,I(Eu,"CompactionProcessor/lambda$6$Type",1930),D(1931,1,ii,UXe),h.Ne=function(t,n){return kvn(this.a,l(t,240),l(n,240))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(Eu,"CompactionProcessor/lambda$7$Type",1931),D(1932,1,ii,VXe),h.Ne=function(t,n){return Tvn(this.a,l(t,40),l(n,40))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(Eu,"CompactionProcessor/lambda$8$Type",1932),D(1933,1,ii,Jte),h.Ne=function(t,n){return ofn(l(t,40),l(n,40))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(Eu,"CompactionProcessor/lambda$9$Type",1933),D(1921,1,ns,Zte),h.Kf=function(t,n){i_n(l(t,121),n)},I(Eu,"DirectionProcessor",1921),D(1913,1,ns,mit),h.Kf=function(t,n){_An(this,l(t,121),n)},I(Eu,"FanProcessor",1913),D(1937,1,ns,ene),h.Kf=function(t,n){GSn(l(t,121),n)},I(Eu,"GraphBoundsProcessor",1937),D(1938,1,{},tne),h.Ye=function(t){return l(t,40).e.a},I(Eu,"GraphBoundsProcessor/lambda$0$Type",1938),D(1939,1,{},nne),h.Ye=function(t){return l(t,40).e.b},I(Eu,"GraphBoundsProcessor/lambda$1$Type",1939),D(1940,1,{},rne),h.Ye=function(t){return Sln(l(t,40))},I(Eu,"GraphBoundsProcessor/lambda$2$Type",1940),D(1941,1,{},ine),h.Ye=function(t){return Cln(l(t,40))},I(Eu,"GraphBoundsProcessor/lambda$3$Type",1941),D(262,22,{3:1,34:1,22:1,262:1,196:1},gw),h.dg=function(){switch(this.g){case 0:return new VJe;case 1:return new mit;case 2:return new UJe;case 3:return new l$;case 4:return new sne;case 8:return new c$;case 5:return new Zte;case 6:return new f$;case 7:return new Xte;case 9:return new ene;case 10:return new one;default:throw ue(new Wn(Qhe+(this.f!=null?this.f:""+this.g)))}};var oIe,cIe,uIe,lIe,hIe,fIe,dIe,gIe,pIe,bIe,Vde,YOn=Br(Eu,Jhe,262,Hr,h0t,M1n),$Et;D(1920,1,ns,c$),h.Kf=function(t,n){sIn(l(t,121),n)},I(Eu,"LevelCoordinatesProcessor",1920),D(1918,1,ns,sne),h.Kf=function(t,n){SCn(this,l(t,121),n)},h.a=0,I(Eu,"LevelHeightProcessor",1918),D(1919,1,gg,u$),h.Jc=function(t){Za(this,t)},h.Kc=function(){return Cn(),Ik(),ME},I(Eu,"LevelHeightProcessor/1",1919),D(1914,1,ns,UJe),h.Kf=function(t,n){$Sn(this,l(t,121),n)},I(Eu,"LevelProcessor",1914),D(1915,1,ei,ane),h.Mb=function(t){return Ft(Pt(Q(l(t,40),(Zi(),Zb))))},I(Eu,"LevelProcessor/lambda$0$Type",1915),D(1916,1,ns,l$),h.Kf=function(t,n){Tkn(this,l(t,121),n)},h.a=0,I(Eu,"NeighborsProcessor",1916),D(1917,1,gg,h$),h.Jc=function(t){Za(this,t)},h.Kc=function(){return Cn(),Ik(),ME},I(Eu,"NeighborsProcessor/1",1917),D(1922,1,ns,f$),h.Kf=function(t,n){SAn(this,l(t,121),n)},h.a=0,I(Eu,"NodePositionProcessor",1922),D(1912,1,ns,VJe),h.Kf=function(t,n){oMn(this,l(t,121),n)},I(Eu,"RootProcessor",1912),D(1942,1,ns,one),h.Kf=function(t,n){r7n(l(t,121),n)},I(Eu,"Untreeifyer",1942),D(392,22,{3:1,34:1,22:1,392:1},Kse);var zB,Gde,mIe,vIe=Br(ZP,"EdgeRoutingMode",392,Hr,wbn,D1n),zEt,qB,ZE,Kde,wIe,yIe,Wde,Yde,xIe,Xde,kIe,Qde,gM,Jde,UW,VW,x0,o1,eC,pM,bM,N2,TIe,qEt,Zde,Zb,HB,UB;D(862,1,Pf,mie),h.hf=function(t){an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,MCe),""),Uyt),"Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level"),(Hn(),!1)),(T2(),Ta)),Ps),hn((n1(),Bn))))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,DCe),""),"Edge End Texture Length"),"Should be set to the length of the texture at the end of an edge. This value can be used to improve the Edge Routing."),7),co),ra),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,ICe),""),"Tree Level"),"The index for the tree level the node is in"),bt(0)),Sc),to),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,OCe),""),Uyt),"When set to a positive number this option will force the algorithm to place the node to the specified position within the trees layer if weighting is set to constraint"),bt(-1)),Sc),to),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,NCe),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),SIe),ps),RIe),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,PCe),""),"Edge Routing Mode"),"Chooses an Edge Routing algorithm."),EIe),ps),vIe),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,BCe),""),"Search Order"),"Which search order to use when computing a spanning tree."),CIe),ps),$Ie),hn(Bn)))),Owt((new w8,t))};var HEt,UEt,VEt,EIe,GEt,KEt,CIe,WEt,YEt,SIe;I(ZP,"MrTreeMetaDataProvider",862),D(1006,1,Pf,w8),h.hf=function(t){Owt(t)};var XEt,_Ie,AIe,_3,LIe,MIe,ege,QEt,JEt,ZEt,eCt,tCt,nCt,rCt,DIe,IIe,OIe,iCt,X6,GW,NIe,sCt,PIe,tge,aCt,oCt,cCt,BIe,uCt,jd,FIe;I(ZP,"MrTreeOptions",1006),D(1007,1,{},cne),h.sf=function(){var t;return t=new vit,t},h.tf=function(t){},I(ZP,"MrTreeOptions/MrtreeFactory",1007),D(353,22,{3:1,34:1,22:1,353:1},_q);var nge,KW,rge,ige,RIe=Br(ZP,"OrderWeighting",353,Hr,_mn,I1n),lCt;D(433,22,{3:1,34:1,22:1,433:1},cye);var jIe,sge,$Ie=Br(ZP,"TreeifyingOrder",433,Hr,k2n,O1n),hCt;D(1486,1,Vo,yie),h.rg=function(t){return l(t,121),fCt},h.Kf=function(t,n){F3n(this,l(t,121),n)};var fCt;I("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1486),D(1487,1,Vo,pk),h.rg=function(t){return l(t,121),dCt},h.Kf=function(t,n){USn(this,l(t,121),n)};var dCt;I(mE,"NodeOrderer",1487),D(1494,1,{},Owe),h.td=function(t){return Est(t)},I(mE,"NodeOrderer/0methodref$lambda$6$Type",1494),D(1488,1,ei,yne),h.Mb=function(t){return lx(),Ft(Pt(Q(l(t,40),(Zi(),Zb))))},I(mE,"NodeOrderer/lambda$0$Type",1488),D(1489,1,ei,xne),h.Mb=function(t){return lx(),l(Q(l(t,40),(Vc(),X6)),17).a<0},I(mE,"NodeOrderer/lambda$1$Type",1489),D(1490,1,ei,KXe),h.Mb=function(t){return f3n(this.a,l(t,40))},I(mE,"NodeOrderer/lambda$2$Type",1490),D(1491,1,ei,GXe),h.Mb=function(t){return amn(this.a,l(t,40))},I(mE,"NodeOrderer/lambda$3$Type",1491),D(1492,1,ii,kne),h.Ne=function(t,n){return Pwn(l(t,40),l(n,40))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(mE,"NodeOrderer/lambda$4$Type",1492),D(1493,1,ei,Tne),h.Mb=function(t){return lx(),l(Q(l(t,40),(Zi(),Yde)),17).a!=0},I(mE,"NodeOrderer/lambda$5$Type",1493),D(1495,1,Vo,wie),h.rg=function(t){return l(t,121),gCt},h.Kf=function(t,n){Z_n(this,l(t,121),n)},h.b=0;var gCt;I("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1495),D(1496,1,Vo,vie),h.rg=function(t){return l(t,121),pCt},h.Kf=function(t,n){N_n(l(t,121),n)};var pCt,XOn=I(ph,"EdgeRouter",1496);D(1498,1,ii,wne),h.Ne=function(t,n){return iu(l(t,17).a,l(n,17).a)},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(ph,"EdgeRouter/0methodref$compare$Type",1498),D(1503,1,{},une),h.Ye=function(t){return ze(Ge(t))},I(ph,"EdgeRouter/1methodref$doubleValue$Type",1503),D(1505,1,ii,g$),h.Ne=function(t,n){return Xi(ze(Ge(t)),ze(Ge(n)))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(ph,"EdgeRouter/2methodref$compare$Type",1505),D(1507,1,ii,lne),h.Ne=function(t,n){return Xi(ze(Ge(t)),ze(Ge(n)))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(ph,"EdgeRouter/3methodref$compare$Type",1507),D(1509,1,{},d$),h.Ye=function(t){return ze(Ge(t))},I(ph,"EdgeRouter/4methodref$doubleValue$Type",1509),D(1511,1,ii,hne),h.Ne=function(t,n){return Xi(ze(Ge(t)),ze(Ge(n)))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(ph,"EdgeRouter/5methodref$compare$Type",1511),D(1513,1,ii,EI),h.Ne=function(t,n){return Xi(ze(Ge(t)),ze(Ge(n)))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(ph,"EdgeRouter/6methodref$compare$Type",1513),D(1497,1,{},fne),h.Kb=function(t){return sp(),l(Q(l(t,40),(Vc(),jd)),17)},I(ph,"EdgeRouter/lambda$0$Type",1497),D(1508,1,{},dne),h.Kb=function(t){return yfn(l(t,40))},I(ph,"EdgeRouter/lambda$11$Type",1508),D(1510,1,{},Dtt),h.Kb=function(t){return Wdn(this.b,this.a,l(t,40))},h.a=0,h.b=0,I(ph,"EdgeRouter/lambda$13$Type",1510),D(1512,1,{},Itt),h.Kb=function(t){return xfn(this.b,this.a,l(t,40))},h.a=0,h.b=0,I(ph,"EdgeRouter/lambda$15$Type",1512),D(1514,1,ii,gne),h.Ne=function(t,n){return O6n(l(t,65),l(n,65))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(ph,"EdgeRouter/lambda$17$Type",1514),D(1515,1,ii,pne),h.Ne=function(t,n){return N6n(l(t,65),l(n,65))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(ph,"EdgeRouter/lambda$18$Type",1515),D(1516,1,ii,bne),h.Ne=function(t,n){return B6n(l(t,65),l(n,65))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(ph,"EdgeRouter/lambda$19$Type",1516),D(1499,1,ei,WXe),h.Mb=function(t){return F2n(this.a,l(t,40))},h.a=0,I(ph,"EdgeRouter/lambda$2$Type",1499),D(1517,1,ii,p$),h.Ne=function(t,n){return P6n(l(t,65),l(n,65))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(ph,"EdgeRouter/lambda$20$Type",1517),D(1500,1,ii,mne),h.Ne=function(t,n){return Ndn(l(t,40),l(n,40))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(ph,"EdgeRouter/lambda$3$Type",1500),D(1501,1,ii,vne),h.Ne=function(t,n){return Pdn(l(t,40),l(n,40))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(ph,"EdgeRouter/lambda$4$Type",1501),D(1502,1,{},Ene),h.Kb=function(t){return kfn(l(t,40))},I(ph,"EdgeRouter/lambda$5$Type",1502),D(1504,1,{},Ott),h.Kb=function(t){return Ydn(this.b,this.a,l(t,40))},h.a=0,h.b=0,I(ph,"EdgeRouter/lambda$7$Type",1504),D(1506,1,{},Ntt),h.Kb=function(t){return Tfn(this.b,this.a,l(t,40))},h.a=0,h.b=0,I(ph,"EdgeRouter/lambda$9$Type",1506),D(675,1,{675:1},fgt),h.e=0,h.f=!1,h.g=!1,I(ph,"MultiLevelEdgeNodeNodeGap",675),D(1943,1,ii,Cne),h.Ne=function(t,n){return K2n(l(t,240),l(n,240))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(ph,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1943),D(1944,1,ii,Sne),h.Ne=function(t,n){return W2n(l(t,240),l(n,240))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(ph,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1944);var Q6;D(501,22,{3:1,34:1,22:1,501:1,188:1,196:1},uye),h.dg=function(){return J1t(this)},h.qg=function(){return J1t(this)};var WW,J6,zIe=Br(FCe,"RadialLayoutPhases",501,Hr,p2n,N1n),bCt;D(1113,205,uv,zZe),h.rf=function(t,n){var r,s,o,f,g,w;if(r=Fbt(this,t),n.Ug("Radial layout",r.c.length),Ft(Pt(at(t,(Pb(),JIe))))||tN((s=new nw((dw(),new sw(t))),s)),w=Rxn(t),Vi(t,(V5(),Q6),w),!w)throw ue(new Wn("The given graph is not a tree!"));for(o=ze(Ge(at(t,QW))),o==0&&(o=m2t(t)),Vi(t,QW,o),g=new K(Fbt(this,t));g.a=3)for(ot=l(Oe($e,0),27),At=l(Oe($e,1),27),f=0;f+2<$e.i;)if(Je=ot,ot=At,At=l(Oe($e,f+2),27),Je.f>=ot.f+At.f+L||At.f>=Je.f+ot.f+L){ln=!0;break}else++f;else ln=!0;if(!ln){for(z=$e.i,w=new ar($e);w.e!=w.i.gc();)g=l(dr(w),27),Vi(g,(bi(),iF),bt(z)),--z;dvt(t,new M8),n.Vg();return}for(r=(XO(this.a),Y0(this.a,(nV(),GB),l(at(t,_Oe),188)),Y0(this.a,JW,l(at(t,xOe),188)),Y0(this.a,mge,l(at(t,EOe),188)),_ye(this.a,(Fn=new Js,hi(Fn,GB,(dV(),yge)),hi(Fn,JW,wge),Ft(Pt(at(t,wOe)))&&hi(Fn,GB,vge),Fn)),EP(this.a,t)),C=1/r.c.length,J=new K(r);J.a0&&k1t((Yn(n-1,t.length),t.charCodeAt(n-1)),uyt);)--n;if(s>=n)throw ue(new Wn("The given string does not contain any numbers."));if(o=Yy((Va(s,n,t.length),t.substr(s,n-s)),`,|;|\r| -`),o.length!=2)throw ue(new Wn("Exactly two numbers are expected, "+o.length+" were found."));try{this.a=qy(Hy(o[0])),this.b=qy(Hy(o[1]))}catch(f){throw f=ms(f),De(f,130)?(r=f,ue(new Wn(lyt+r))):ue(f)}},h.Ib=function(){return"("+this.a+","+this.b+")"},h.a=0,h.b=0;var Ca=I(WP,"KVector",8);D(75,67,{3:1,4:1,20:1,31:1,56:1,16:1,67:1,15:1,75:1,423:1},pl,eq,zrt),h.Pc=function(){return e4n(this)},h.cg=function(t){var n,r,s,o,f,g;s=Yy(t,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | | -`),Ch(this);try{for(r=0,f=0,o=0,g=0;r0&&(f%2==0?o=qy(s[r]):g=qy(s[r]),f>0&&f%2!=0&&ci(this,new lt(o,g)),++f),++r}catch(w){throw w=ms(w),De(w,130)?(n=w,ue(new Wn("The given string does not match the expected format for vectors."+n))):ue(w)}},h.Ib=function(){var t,n,r;for(t=new Eh("("),n=Fr(this,0);n.b!=n.d.c;)r=l(Pr(n),8),li(t,r.a+","+r.b),n.b!=n.d.c&&(t.a+="; ");return(t.a+=")",t).a};var lNe=I(WP,"KVectorChain",75);D(255,22,{3:1,34:1,22:1,255:1},A_);var $ge,cY,uY,QB,JB,lY,hNe=Br(Zl,"Alignment",255,Hr,Qvn,idn),XSt;D(991,1,Pf,Sie),h.hf=function(t){Xmt(t)};var fNe,zge,QSt,dNe,gNe,JSt,pNe,ZSt,e_t,bNe,mNe,t_t;I(Zl,"BoxLayouterOptions",991),D(992,1,{},nk),h.sf=function(){var t;return t=new Zne,t},h.tf=function(t){},I(Zl,"BoxLayouterOptions/BoxFactory",992),D(298,22,{3:1,34:1,22:1,298:1},L_);var EM,qge,CM,SM,_M,Hge,Uge=Br(Zl,"ContentAlignment",298,Hr,Jvn,sdn),n_t;D(699,1,Pf,mz),h.hf=function(t){an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,h4t),""),"Layout Algorithm"),"Select a specific layout algorithm."),(T2(),e7)),$t),hn((n1(),Bn))))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,f4t),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),X1),ZOn),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,aCe),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),vNe),ps),hNe),hn(pa)))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,Nx),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),co),ra),hn(Bn)))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,wSe),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),X1),lNe),hn($d)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,NG),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),yNe),n9),Uge),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,JP),""),"Debug Mode"),"Whether additional debug information shall be generated."),(Hn(),!1)),Ta),Ps),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,Afe),""),$Te),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),xNe),ps),MM),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,QP),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),ENe),ps),ipe),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,mSe),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),Ta),Ps),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,OG),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),_Ne),ps),dPe),is(Bn,he(le(Eg,1),it,170,0,[pa]))))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,r3),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),BNe),X1),FAe),is(Bn,he(le(Eg,1),it,170,0,[pa]))))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,fL),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),Ta),Ps),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,BG),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),Ta),Ps),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,dL),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),Ta),Ps),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,Whe),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),zNe),ps),bPe),hn(pa)))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,PG),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),X1),Ca),is(pa,he(le(Eg,1),it,170,0,[Av,P2]))))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,qP),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),Sc),to),is(pa,he(le(Eg,1),it,170,0,[$d]))))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,pG),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),Sc),to),hn(Bn)))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,hL),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),Ta),Ps),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,mCe),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),ANe),X1),lNe),hn($d)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,yCe),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),Ta),Ps),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,xCe),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),Ta),Ps),hn(pa)))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,SOn),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),X1),iNn),is(Bn,he(le(Eg,1),it,170,0,[P2]))))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,TCe),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),LNe),X1),BAe),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,iCe),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),Ta),Ps),is(pa,he(le(Eg,1),it,170,0,[$d,Av,P2]))))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,d4t),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),co),ra),hn(pa)))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,g4t),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),co),ra),hn(Bn)))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,p4t),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),co),ra),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,HP),""),a4t),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),!1),Ta),Ps),hn(Bn)))),Zs(t,HP,i3,null),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,b4t),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),Ta),Ps),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,m4t),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),bt(100)),Sc),to),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,v4t),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),Ta),Ps),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,w4t),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),bt(4e3)),Sc),to),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,y4t),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),bt(400)),Sc),to),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,x4t),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),Ta),Ps),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,k4t),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),Ta),Ps),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,T4t),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),Ta),Ps),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,E4t),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),Ta),Ps),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,vSe),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),wNe),ps),SPe),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,KEe),V1),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),co),ra),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,WEe),V1),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),co),ra),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,zhe),V1),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),co),ra),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,YEe),V1),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),co),ra),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,Khe),V1),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),co),ra),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,_fe),V1),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),co),ra),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,XEe),V1),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),co),ra),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,ZEe),V1),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),co),ra),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,QEe),V1),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),co),ra),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,JEe),V1),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),co),ra),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,t4),V1),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),co),ra),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,eCe),V1),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),co),ra),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,tCe),V1),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),co),ra),is(Bn,he(le(Eg,1),it,170,0,[pa]))))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,nCe),V1),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),X1),H_t),is(pa,he(le(Eg,1),it,170,0,[$d,Av,P2]))))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,ECe),V1),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),JNe),X1),BAe),hn(Bn)))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,Mfe),_4t),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),Sc),to),is(Bn,he(le(Eg,1),it,170,0,[pa]))))),Zs(t,Mfe,Lfe,h_t),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,Lfe),_4t),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),FNe),Ta),Ps),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,uCe),A4t),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),DNe),X1),FAe),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,gE),A4t),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),INe),n9),Ko),is(pa,he(le(Eg,1),it,170,0,[P2]))))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,fCe),GG),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),jNe),ps),NM),hn(pa)))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,dCe),GG),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),ps),NM),hn(pa)))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,gCe),GG),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),ps),NM),hn(pa)))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,pCe),GG),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),ps),NM),hn(pa)))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,bCe),GG),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),ps),NM),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,T6),Jfe),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),ONe),n9),FM),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,Px),Jfe),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),PNe),n9),vPe),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,Bx),Jfe),"Node Size Minimum"),"The minimal size to which a node can be reduced."),NNe),X1),Ca),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,dE),Jfe),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),Ta),Ps),hn(Bn)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,vCe),Sfe),"Edge Label Placement"),"Gives a hint on where to put edge labels."),kNe),ps),tPe),hn(P2)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,bG),Sfe),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),Ta),Ps),hn(P2)))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,_On),"font"),"Font Name"),"Font name used for a label."),e7),$t),hn(P2)))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,C4t),"font"),"Font Size"),"Font size used for a label."),Sc),to),hn(P2)))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,kCe),Zfe),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),X1),Ca),hn(Av)))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,wCe),Zfe),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),Sc),to),hn(Av)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,sCe),Zfe),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),UNe),ps),Mo),hn(Av)))),an(t,new Qt(rn(nn(sn(Jt(tn(Zt(en(new Kt,rCe),Zfe),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),co),ra),hn(Av)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,pE),kSe),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),qNe),n9),bY),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,lCe),kSe),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),Ta),Ps),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,hCe),kSe),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),Ta),Ps),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,UP),tB),"Topdown Scale Factor"),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),co),ra),hn(Bn)))),Zs(t,UP,i3,w_t),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,ySe),tB),"Topdown Size Approximator"),"The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size."),null),ps),kY),hn(pa)))),Zs(t,ySe,i3,y_t),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,VP),tB),"Topdown Hierarchical Node Width"),"The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),150),co),ra),is(Bn,he(le(Eg,1),it,170,0,[pa]))))),Zs(t,VP,i3,null),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,GP),tB),"Topdown Hierarchical Node Aspect Ratio"),"The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),1.414),co),ra),is(Bn,he(le(Eg,1),it,170,0,[pa]))))),Zs(t,GP,i3,null),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,i3),tB),"Topdown Node Type"),"The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes."),null),ps),yPe),hn(pa)))),Zs(t,i3,dE,null),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,xSe),tB),"Topdown Scale Cap"),"Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes."),1),co),ra),hn(Bn)))),Zs(t,xSe,i3,v_t),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,oCe),L4t),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),Ta),Ps),hn(pa)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,cCe),L4t),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),Ta),Ps),hn($d)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,qhe),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),co),ra),hn($d)))),an(t,new Qt(rn(nn(sn(yn(Jt(tn(Zt(en(new Kt,S4t),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),SNe),ps),oPe),hn($d)))),v_(t,new rx(d_(_k(Sk(new sy,ir),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),v_(t,new rx(d_(_k(Sk(new sy,"org.eclipse.elk.orthogonal"),"Orthogonal"),`Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia '86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.`))),v_(t,new rx(d_(_k(Sk(new sy,Yu),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),v_(t,new rx(d_(_k(Sk(new sy,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),v_(t,new rx(d_(_k(Sk(new sy,Vyt),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),v_(t,new rx(d_(_k(Sk(new sy,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),v_(t,new rx(d_(_k(Sk(new sy,df),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),Pmt((new _ie,t)),Xmt((new Sie,t)),umt((new vz,t))};var nC,r_t,vNe,t7,i_t,s_t,wNe,n7,r7,a_t,ZB,yNe,eF,Lv,xNe,Vge,Gge,kNe,TNe,ENe,CNe,SNe,o_t,i7,_Ne,c_t,tF,Kge,nF,Wge,A3,ANe,rC,LNe,MNe,DNe,s7,INe,Mv,ONe,A4,a7,NNe,em,PNe,hY,rF,B2,BNe,u_t,FNe,l_t,h_t,RNe,jNe,Yge,Xge,Qge,Jge,$Ne,eh,AM,zNe,Zge,epe,L4,qNe,HNe,o7,UNe,r9,iF,tpe,c7,f_t,npe,d_t,g_t,VNe,p_t,GNe,KNe,i9,WNe,fY,YNe,XNe,Dv,b_t,QNe,JNe,ZNe,dY,sF,LM,s9,m_t,v_t,gY,w_t,ePe,y_t;I(Zl,"CoreOptions",699),D(88,22,{3:1,34:1,22:1,88:1},CO);var Q1,hc,yc,J1,vf,MM=Br(Zl,$Te,88,Hr,nvn,adn),x_t;D(278,22,{3:1,34:1,22:1,278:1},tae);var iC,M4,sC,tPe=Br(Zl,"EdgeLabelPlacement",278,Hr,Dbn,odn),k_t;D(223,22,{3:1,34:1,22:1,223:1},Lq);var aC,aF,a9,rpe,ipe=Br(Zl,"EdgeRouting",223,Hr,Dmn,cdn),T_t;D(321,22,{3:1,34:1,22:1,321:1},M_);var nPe,rPe,iPe,sPe,spe,aPe,oPe=Br(Zl,"EdgeType",321,Hr,Xvn,udn),E_t;D(989,1,Pf,_ie),h.hf=function(t){Pmt(t)};var cPe,uPe,lPe,hPe,C_t,fPe,DM;I(Zl,"FixedLayouterOptions",989),D(990,1,{},S$),h.sf=function(){var t;return t=new sre,t},h.tf=function(t){},I(Zl,"FixedLayouterOptions/FixedFactory",990),D(346,22,{3:1,34:1,22:1,346:1},nae);var F2,pY,IM,dPe=Br(Zl,"HierarchyHandling",346,Hr,Lbn,ldn),S_t;D(291,22,{3:1,34:1,22:1,291:1},Mq);var Cg,tm,oF,cF,__t=Br(Zl,"LabelSide",291,Hr,Mmn,hdn),A_t;D(95,22,{3:1,34:1,22:1,95:1},O5);var xp,k0,zf,T0,jh,E0,qf,Sg,C0,Ko=Br(Zl,"NodeLabelPlacement",95,Hr,Qwn,fdn),L_t;D(256,22,{3:1,34:1,22:1,256:1},SO);var gPe,OM,nm,pPe,uF,NM=Br(Zl,"PortAlignment",256,Hr,mvn,ddn),M_t;D(101,22,{3:1,34:1,22:1,101:1},D_);var Iv,Au,_g,oC,Z1,rm,bPe=Br(Zl,"PortConstraints",101,Hr,Yvn,gdn),D_t;D(279,22,{3:1,34:1,22:1,279:1},I_);var PM,BM,kp,lF,im,o9,bY=Br(Zl,"PortLabelPlacement",279,Hr,Wvn,pdn),I_t;D(64,22,{3:1,34:1,22:1,64:1},_O);var sr,Xn,wf,yf,ul,Ju,ed,S0,Rl,Sl,Lu,jl,ll,hl,_0,$h,zh,Hf,Mr,jc,Zn,Mo=Br(Zl,"PortSide",64,Hr,rvn,bdn),O_t;D(993,1,Pf,vz),h.hf=function(t){umt(t)};var N_t,P_t,mPe,B_t,F_t;I(Zl,"RandomLayouterOptions",993),D(994,1,{},_$),h.sf=function(){var t;return t=new nre,t},h.tf=function(t){},I(Zl,"RandomLayouterOptions/RandomFactory",994),D(386,22,{3:1,34:1,22:1,386:1},Dq);var D4,hF,fF,Ov,FM=Br(Zl,"SizeConstraint",386,Hr,Lmn,mdn),R_t;D(264,22,{3:1,34:1,22:1,264:1},N5);var dF,mY,cC,ape,gF,RM,vY,wY,yY,vPe=Br(Zl,"SizeOptions",264,Hr,u3n,vdn),j_t;D(280,22,{3:1,34:1,22:1,280:1},rae);var I4,wPe,xY,yPe=Br(Zl,"TopdownNodeTypes",280,Hr,Ibn,wdn),$_t;D(347,22,TSe);var xPe,kPe,kY=Br(Zl,"TopdownSizeApproximator",347,Hr,_2n,xdn);D(987,347,TSe,Tst),h.Tg=function(t){return Zdt(t)},Br(Zl,"TopdownSizeApproximator/1",987,kY,null,null),D(988,347,TSe,cat),h.Tg=function(t){var n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot,At,ln,cn,Fn;for(n=l(at(t,(bi(),c7)),143),At=(fb(),V=new o_,V),gP(At,t),ln=new Nr,f=new ar((!t.a&&(t.a=new nt(Li,t,10,11)),t.a));f.e!=f.i.gc();)s=l(dr(f),27),Me=(z=new o_,z),FV(Me,At),gP(Me,s),Fn=Zdt(s),j5(Me,b.Math.max(s.g,Fn.a),b.Math.max(s.f,Fn.b)),Ru(ln.f,s,Me);for(o=new ar((!t.a&&(t.a=new nt(Li,t,10,11)),t.a));o.e!=o.i.gc();)for(s=l(dr(o),27),L=new ar((!s.e&&(s.e=new An(js,s,7,4)),s.e));L.e!=L.i.gc();)C=l(dr(L),74),Je=l(dc(zo(ln.f,s)),27),ot=l(or(ln,Oe((!C.c&&(C.c=new An(Sr,C,5,8)),C.c),0)),27),$e=(F=new II,F),zr((!$e.b&&($e.b=new An(Sr,$e,4,7)),$e.b),Je),zr((!$e.c&&($e.c=new An(Sr,$e,5,8)),$e.c),ot),BV($e,ds(Je)),gP($e,C);te=l(eN(n.f),205);try{te.rf(At,new L$),jat(n.f,te)}catch($n){throw $n=ms($n),De($n,103)?(J=$n,ue(J)):ue($n)}return P1(At,r7)||P1(At,n7)||uTe(At),T=ze(Ge(at(At,r7))),w=ze(Ge(at(At,n7))),g=T/w,r=ze(Ge(at(At,sF)))*b.Math.sqrt((!At.a&&(At.a=new nt(Li,At,10,11)),At.a).i),cn=l(at(At,B2),107),Ee=cn.b+cn.c+1,fe=cn.d+cn.a+1,new lt(b.Math.max(Ee,r),b.Math.max(fe,r/g))},Br(Zl,"TopdownSizeApproximator/2",988,kY,null,null);var z_t;D(344,1,{871:1},M8),h.Ug=function(t,n){return fpt(this,t,n)},h.Vg=function(){Ppt(this)},h.Wg=function(){return this.q},h.Xg=function(){return this.f?voe(this.f):null},h.Yg=function(){return voe(this.a)},h.Zg=function(){return this.p},h.$g=function(){return!1},h._g=function(){return this.n},h.ah=function(){return this.p!=null&&!this.b},h.bh=function(t){var n;this.n&&(n=t,wt(this.f,n))},h.dh=function(t,n){var r,s;this.n&&t&&Kbn(this,(r=new yat,s=kle(r,t),ADn(r),s),(qU(),cpe))},h.eh=function(t){var n;return this.b?null:(n=Iwn(this,this.g),ci(this.a,n),n.i=this,this.d=t,n)},h.fh=function(t){t>0&&!this.b&&S7e(this,t)},h.b=!1,h.c=0,h.d=-1,h.e=null,h.f=null,h.g=-1,h.j=!1,h.k=!1,h.n=!1,h.o=0,h.q=0,h.r=0,I(Kc,"BasicProgressMonitor",344),D(717,205,uv,Zne),h.rf=function(t,n){dvt(t,n)},I(Kc,"BoxLayoutProvider",717),D(983,1,ii,aQe),h.Ne=function(t,n){return ACn(this,l(t,27),l(n,27))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},h.a=!1,I(Kc,"BoxLayoutProvider/1",983),D(163,1,{163:1},wU,Krt),h.Ib=function(){return this.c?Cke(this.c):Ob(this.b)},I(Kc,"BoxLayoutProvider/Group",163),D(320,22,{3:1,34:1,22:1,320:1},Iq);var TPe,EPe,CPe,ope,SPe=Br(Kc,"BoxLayoutProvider/PackingMode",320,Hr,Imn,kdn),q_t;D(984,1,ii,rk),h.Ne=function(t,n){return Kpn(l(t,163),l(n,163))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(Kc,"BoxLayoutProvider/lambda$0$Type",984),D(985,1,ii,ik),h.Ne=function(t,n){return jpn(l(t,163),l(n,163))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(Kc,"BoxLayoutProvider/lambda$1$Type",985),D(986,1,ii,A$),h.Ne=function(t,n){return $pn(l(t,163),l(n,163))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(Kc,"BoxLayoutProvider/lambda$2$Type",986),D(1384,1,{845:1},ere),h.Mg=function(t,n){return uq(),!De(n,167)||GZe((fx(),l(t,167)),n)},I(Kc,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1384),D(1385,1,hr,oQe),h.Cd=function(t){r4n(this.a,l(t,149))},I(Kc,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1385),D(1386,1,hr,rre),h.Cd=function(t){l(t,96),uq()},I(Kc,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1386),D(1390,1,hr,cQe),h.Cd=function(t){C3n(this.a,l(t,96))},I(Kc,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1390),D(1388,1,ei,Rtt),h.Mb=function(t){return Ryn(this.a,this.b,l(t,149))},I(Kc,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1388),D(1387,1,ei,jtt),h.Mb=function(t){return wfn(this.a,this.b,l(t,845))},I(Kc,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1387),D(1389,1,hr,$tt),h.Cd=function(t){Ign(this.a,this.b,l(t,149))},I(Kc,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1389),D(947,1,{},ire),h.Kb=function(t){return Pnt(t)},h.Fb=function(t){return this===t},I(Kc,"ElkUtil/lambda$0$Type",947),D(948,1,hr,ztt),h.Cd=function(t){DTn(this.a,this.b,l(t,74))},h.a=0,h.b=0,I(Kc,"ElkUtil/lambda$1$Type",948),D(949,1,hr,qtt),h.Cd=function(t){kun(this.a,this.b,l(t,166))},h.a=0,h.b=0,I(Kc,"ElkUtil/lambda$2$Type",949),D(950,1,hr,Htt),h.Cd=function(t){mhn(this.a,this.b,l(t,135))},h.a=0,h.b=0,I(Kc,"ElkUtil/lambda$3$Type",950),D(951,1,hr,uQe),h.Cd=function(t){Zdn(this.a,l(t,377))},I(Kc,"ElkUtil/lambda$4$Type",951),D(325,1,{34:1,325:1},Jcn),h.Fd=function(t){return Ghn(this,l(t,242))},h.Fb=function(t){var n;return De(t,325)?(n=l(t,325),this.a==n.a):!1},h.Hb=function(){return da(this.a)},h.Ib=function(){return this.a+" (exclusive)"},h.a=0,I(Kc,"ExclusiveBounds/ExclusiveLowerBound",325),D(1119,205,uv,sre),h.rf=function(t,n){var r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee,Me,$e,Je,ot,At,ln,cn;for(n.Ug("Fixed Layout",1),f=l(at(t,(bi(),TNe)),223),F=0,z=0,Me=new ar((!t.a&&(t.a=new nt(Li,t,10,11)),t.a));Me.e!=Me.i.gc();){for(fe=l(dr(Me),27),cn=l(at(fe,(HU(),DM)),8),cn&&(Xh(fe,cn.a,cn.b),l(at(fe,uPe),181).Hc((gh(),D4))&&(V=l(at(fe,hPe),8),V.a>0&&V.b>0&&Zw(fe,V.a,V.b,!0,!0))),F=b.Math.max(F,fe.i+fe.g),z=b.Math.max(z,fe.j+fe.f),C=new ar((!fe.n&&(fe.n=new nt(nc,fe,1,7)),fe.n));C.e!=C.i.gc();)w=l(dr(C),135),cn=l(at(w,DM),8),cn&&Xh(w,cn.a,cn.b),F=b.Math.max(F,fe.i+w.i+w.g),z=b.Math.max(z,fe.j+w.j+w.f);for(ot=new ar((!fe.c&&(fe.c=new nt($l,fe,9,9)),fe.c));ot.e!=ot.i.gc();)for(Je=l(dr(ot),123),cn=l(at(Je,DM),8),cn&&Xh(Je,cn.a,cn.b),At=fe.i+Je.i,ln=fe.j+Je.j,F=b.Math.max(F,At+Je.g),z=b.Math.max(z,ln+Je.f),T=new ar((!Je.n&&(Je.n=new nt(nc,Je,1,7)),Je.n));T.e!=T.i.gc();)w=l(dr(T),135),cn=l(at(w,DM),8),cn&&Xh(w,cn.a,cn.b),F=b.Math.max(F,At+w.i+w.g),z=b.Math.max(z,ln+w.j+w.f);for(o=new lr(fr(fp(fe).a.Kc(),new j));Rr(o);)r=l(yr(o),74),L=_wt(r),F=b.Math.max(F,L.a),z=b.Math.max(z,L.b);for(s=new lr(fr(dP(fe).a.Kc(),new j));Rr(s);)r=l(yr(s),74),ds(hg(r))!=t&&(L=_wt(r),F=b.Math.max(F,L.a),z=b.Math.max(z,L.b))}if(f==(cp(),aC))for(Ee=new ar((!t.a&&(t.a=new nt(Li,t,10,11)),t.a));Ee.e!=Ee.i.gc();)for(fe=l(dr(Ee),27),s=new lr(fr(fp(fe).a.Kc(),new j));Rr(s);)r=l(yr(s),74),g=OAn(r),g.b==0?Vi(r,A3,null):Vi(r,A3,g);Ft(Pt(at(t,(HU(),lPe))))||($e=l(at(t,C_t),107),te=F+$e.b+$e.c,J=z+$e.d+$e.a,Zw(t,te,J,!0,!0)),n.Vg()},I(Kc,"FixedLayoutProvider",1119),D(385,137,{3:1,423:1,385:1,96:1,137:1},DI,Cht),h.cg=function(t){var n,r,s,o,f,g,w,T,C;if(t)try{for(T=Yy(t,";,;"),f=T,g=0,w=f.length;g>16&ta|n^s<<16},h.Kc=function(){return new lQe(this)},h.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+Tc(this.b)+")":this.b==null?"pair("+Tc(this.a)+",null)":"pair("+Tc(this.a)+","+Tc(this.b)+")"},I(Kc,"Pair",42),D(995,1,Ia,lQe),h.Nb=function(t){Qa(this,t)},h.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},h.Pb=function(){if(!this.c&&!this.b&&this.a.a!=null)return this.b=!0,this.a.a;if(!this.c&&this.a.b!=null)return this.c=!0,this.a.b;throw ue(new Dc)},h.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),ue(new gl)},h.b=!1,h.c=!1,I(Kc,"Pair/1",995),D(455,1,{455:1},tot),h.Fb=function(t){return eu(this.a,l(t,455).a)&&eu(this.c,l(t,455).c)&&eu(this.d,l(t,455).d)&&eu(this.b,l(t,455).b)},h.Hb=function(){return RN(he(le(ka,1),jn,1,5,[this.a,this.c,this.d,this.b]))},h.Ib=function(){return"("+this.a+To+this.c+To+this.d+To+this.b+")"},I(Kc,"Quadruple",455),D(1108,205,uv,nre),h.rf=function(t,n){var r,s,o,f,g;if(n.Ug("Random Layout",1),(!t.a&&(t.a=new nt(Li,t,10,11)),t.a).i==0){n.Vg();return}f=l(at(t,(exe(),B_t)),17),f&&f.a!=0?o=new JH(f.a):o=new sue,r=iO(Ge(at(t,N_t))),g=iO(Ge(at(t,F_t))),s=l(at(t,P_t),107),QDn(t,o,r,g,s),n.Vg()},I(Kc,"RandomLayoutProvider",1108),D(240,1,{240:1},Oae),h.Fb=function(t){return eu(this.a,l(t,240).a)&&eu(this.b,l(t,240).b)&&eu(this.c,l(t,240).c)},h.Hb=function(){return RN(he(le(ka,1),jn,1,5,[this.a,this.b,this.c]))},h.Ib=function(){return"("+this.a+To+this.b+To+this.c+")"},I(Kc,"Triple",240);var G_t;D(562,1,{}),h.Lf=function(){return new lt(this.f.i,this.f.j)},h.of=function(t){return Lot(t,(bi(),eh))?at(this.f,K_t):at(this.f,t)},h.Mf=function(){return new lt(this.f.g,this.f.f)},h.Nf=function(){return this.g},h.pf=function(t){return P1(this.f,t)},h.Of=function(t){Vu(this.f,t.a),Gu(this.f,t.b)},h.Pf=function(t){Rw(this.f,t.a),Fw(this.f,t.b)},h.Qf=function(t){this.g=t},h.g=0;var K_t;I(kL,"ElkGraphAdapters/AbstractElkGraphElementAdapter",562),D(563,1,{853:1},zz),h.Rf=function(){var t,n;if(!this.b)for(this.b=WH(DH(this.a).i),n=new ar(DH(this.a));n.e!=n.i.gc();)t=l(dr(n),135),wt(this.b,new use(t));return this.b},h.b=null,I(kL,"ElkGraphAdapters/ElkEdgeAdapter",563),D(289,562,{},sw),h.Sf=function(){return xgt(this)},h.a=null,I(kL,"ElkGraphAdapters/ElkGraphAdapter",289),D(640,562,{187:1},use),I(kL,"ElkGraphAdapters/ElkLabelAdapter",640),D(639,562,{695:1},mae),h.Rf=function(){return R7n(this)},h.Vf=function(){var t;return t=l(at(this.f,(bi(),rC)),140),!t&&(t=new a_),t},h.Xf=function(){return j7n(this)},h.Zf=function(t){var n;n=new Pae(t),Vi(this.f,(bi(),rC),n)},h.$f=function(t){Vi(this.f,(bi(),B2),new U4e(t))},h.Tf=function(){return this.d},h.Uf=function(){var t,n;if(!this.a)for(this.a=new mt,n=new lr(fr(dP(l(this.f,27)).a.Kc(),new j));Rr(n);)t=l(yr(n),74),wt(this.a,new zz(t));return this.a},h.Wf=function(){var t,n;if(!this.c)for(this.c=new mt,n=new lr(fr(fp(l(this.f,27)).a.Kc(),new j));Rr(n);)t=l(yr(n),74),wt(this.c,new zz(t));return this.c},h.Yf=function(){return BH(l(this.f,27)).i!=0||Ft(Pt(l(this.f,27).of((bi(),tF))))},h._f=function(){mwn(this,(dw(),G_t))},h.a=null,h.b=null,h.c=null,h.d=null,h.e=null,I(kL,"ElkGraphAdapters/ElkNodeAdapter",639),D(1284,562,{852:1},hQe),h.Rf=function(){return K7n(this)},h.Uf=function(){var t,n;if(!this.a)for(this.a=rg(l(this.f,123).hh().i),n=new ar(l(this.f,123).hh());n.e!=n.i.gc();)t=l(dr(n),74),wt(this.a,new zz(t));return this.a},h.Wf=function(){var t,n;if(!this.c)for(this.c=rg(l(this.f,123).ih().i),n=new ar(l(this.f,123).ih());n.e!=n.i.gc();)t=l(dr(n),74),wt(this.c,new zz(t));return this.c},h.ag=function(){return l(l(this.f,123).of((bi(),o7)),64)},h.bg=function(){var t,n,r,s,o,f,g,w;for(s=M1(l(this.f,123)),r=new ar(l(this.f,123).ih());r.e!=r.i.gc();)for(t=l(dr(r),74),w=new ar((!t.c&&(t.c=new An(Sr,t,5,8)),t.c));w.e!=w.i.gc();){if(g=l(dr(w),84),Iy(vc(g),s))return!0;if(vc(g)==s&&Ft(Pt(at(t,(bi(),Kge)))))return!0}for(n=new ar(l(this.f,123).hh());n.e!=n.i.gc();)for(t=l(dr(n),74),f=new ar((!t.b&&(t.b=new An(Sr,t,4,7)),t.b));f.e!=f.i.gc();)if(o=l(dr(f),84),Iy(vc(o),s))return!0;return!1},h.a=null,h.b=null,h.c=null,I(kL,"ElkGraphAdapters/ElkPortAdapter",1284),D(1285,1,ii,tre),h.Ne=function(t,n){return C_n(l(t,123),l(n,123))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I(kL,"ElkGraphAdapters/PortComparator",1285);var sm=Ts(gf,"EObject"),uC=Ts(S6,I4t),qh=Ts(S6,O4t),pF=Ts(S6,N4t),bF=Ts(S6,"ElkShape"),Sr=Ts(S6,P4t),js=Ts(S6,ESe),cs=Ts(S6,B4t),mF=Ts(gf,F4t),jM=Ts(gf,"EFactory"),W_t,upe=Ts(gf,R4t),c1=Ts(gf,"EPackage"),La,Y_t,X_t,MPe,TY,Q_t,DPe,IPe,OPe,Ag,J_t,Z_t,nc=Ts(S6,CSe),Li=Ts(S6,SSe),$l=Ts(S6,_Se);D(93,1,j4t),h.th=function(){return this.uh(),null},h.uh=function(){return null},h.vh=function(){return this.uh(),!1},h.wh=function(){return!1},h.xh=function(t){Bi(this,t)},I(jx,"BasicNotifierImpl",93),D(99,93,H4t),h.Yh=function(){return ch(this)},h.yh=function(t,n){return t},h.zh=function(){throw ue(new Qr)},h.Ah=function(t){var n;return n=jo(l(Mn(this.Dh(),this.Fh()),19)),this.Ph().Th(this,n.n,n.f,t)},h.Bh=function(t,n){throw ue(new Qr)},h.Ch=function(t,n,r){return Nh(this,t,n,r)},h.Dh=function(){var t;return this.zh()&&(t=this.zh().Nk(),t)?t:this.ii()},h.Eh=function(){return sle(this)},h.Fh=function(){throw ue(new Qr)},h.Gh=function(){var t,n;return n=this.$h().Ok(),!n&&this.zh().Tk(n=(y_(),t=r6e(Cd(this.Dh())),t==null?mpe:new IO(this,t))),n},h.Hh=function(t,n){return t},h.Ih=function(t){var n;return n=t.pk(),n?t.Lj():vs(this.Dh(),t)},h.Jh=function(){var t;return t=this.zh(),t?t.Qk():null},h.Kh=function(){return this.zh()?this.zh().Nk():null},h.Lh=function(t,n,r){return hV(this,t,n,r)},h.Mh=function(t){return rT(this,t)},h.Nh=function(t,n){return Uoe(this,t,n)},h.Oh=function(){var t;return t=this.zh(),!!t&&t.Rk()},h.Ph=function(){throw ue(new Qr)},h.Qh=function(){return iV(this)},h.Rh=function(t,n,r,s){return vx(this,t,n,s)},h.Sh=function(t,n,r){var s;return s=l(Mn(this.Dh(),n),69),s.wk().zk(this,this.hi(),n-this.ji(),t,r)},h.Th=function(t,n,r,s){return $H(this,t,n,s)},h.Uh=function(t,n,r){var s;return s=l(Mn(this.Dh(),n),69),s.wk().Ak(this,this.hi(),n-this.ji(),t,r)},h.Vh=function(){return!!this.zh()&&!!this.zh().Pk()},h.Wh=function(t){return bue(this,t)},h.Xh=function(t){return Hot(this,t)},h.Zh=function(t){return hwt(this,t)},h.$h=function(){throw ue(new Qr)},h._h=function(){return this.zh()?this.zh().Pk():null},h.ai=function(){return iV(this)},h.bi=function(t,n){ele(this,t,n)},h.ci=function(t){this.$h().Sk(t)},h.di=function(t){this.$h().Vk(t)},h.ei=function(t){this.$h().Uk(t)},h.fi=function(t,n){var r,s,o,f;return f=this.Jh(),f&&t&&(n=ko(f.El(),this,n),f.Il(this)),s=this.Ph(),s&&(wle(this,this.Ph(),this.Fh()).Bb&Lo?(o=s.Qh(),o&&(t?!f&&o.Il(this):o.Hl(this))):(n=(r=this.Fh(),r>=0?this.Ah(n):this.Ph().Th(this,-1-r,null,n)),n=this.Ch(null,-1,n))),this.di(t),n},h.gi=function(t){var n,r,s,o,f,g,w,T;if(r=this.Dh(),f=vs(r,t),n=this.ji(),f>=n)return l(t,69).wk().Dk(this,this.hi(),f-n);if(f<=-1)if(g=b6((kl(),no),r,t),g){if(Ro(),l(g,69).xk()||(g=ix(ac(no,g))),o=(s=this.Ih(g),l(s>=0?this.Lh(s,!0,!0):Xw(this,g,!0),160)),T=g.Ik(),T>1||T==-1)return l(l(o,220).Sl(t,!1),79)}else throw ue(new Wn(qb+t.xe()+e0e));else if(t.Jk())return s=this.Ih(t),l(s>=0?this.Lh(s,!1,!0):Xw(this,t,!1),79);return w=new ont(this,t),w},h.hi=function(){return c7e(this)},h.ii=function(){return(wb(),Un).S},h.ji=function(){return wr(this.ii())},h.ki=function(t){Que(this,t)},h.Ib=function(){return d0(this)},I(Vn,"BasicEObjectImpl",99);var eAt;D(119,99,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1}),h.li=function(t){var n;return n=o7e(this),n[t]},h.mi=function(t,n){var r;r=o7e(this),Ss(r,t,n)},h.ni=function(t){var n;n=o7e(this),Ss(n,t,null)},h.th=function(){return l(Gn(this,4),129)},h.uh=function(){throw ue(new Qr)},h.vh=function(){return(this.Db&4)!=0},h.zh=function(){throw ue(new Qr)},h.oi=function(t){bx(this,2,t)},h.Bh=function(t,n){this.Db=n<<16|this.Db&255,this.oi(t)},h.Dh=function(){return il(this)},h.Fh=function(){return this.Db>>16},h.Gh=function(){var t,n;return y_(),n=r6e(Cd((t=l(Gn(this,16),29),t||this.ii()))),n==null?mpe:new IO(this,n)},h.wh=function(){return(this.Db&1)==0},h.Jh=function(){return l(Gn(this,128),2034)},h.Kh=function(){return l(Gn(this,16),29)},h.Oh=function(){return(this.Db&32)!=0},h.Ph=function(){return l(Gn(this,2),54)},h.Vh=function(){return(this.Db&64)!=0},h.$h=function(){throw ue(new Qr)},h._h=function(){return l(Gn(this,64),288)},h.ci=function(t){bx(this,16,t)},h.di=function(t){bx(this,128,t)},h.ei=function(t){bx(this,64,t)},h.hi=function(){return Ku(this)},h.Db=0,I(Vn,"MinimalEObjectImpl",119),D(120,119,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),h.oi=function(t){this.Cb=t},h.Ph=function(){return this.Cb},I(Vn,"MinimalEObjectImpl/Container",120),D(2083,120,{110:1,342:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),h.Lh=function(t,n,r){return Txe(this,t,n,r)},h.Uh=function(t,n,r){return f9e(this,t,n,r)},h.Wh=function(t){return m6e(this,t)},h.bi=function(t,n){c8e(this,t,n)},h.ii=function(){return au(),Z_t},h.ki=function(t){Q7e(this,t)},h.nf=function(){return zdt(this)},h.gh=function(){return!this.o&&(this.o=new yl((au(),Ag),R2,this,0)),this.o},h.of=function(t){return at(this,t)},h.pf=function(t){return P1(this,t)},h.qf=function(t,n){return Vi(this,t,n)},I(dv,"EMapPropertyHolderImpl",2083),D(572,120,{110:1,377:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},LS),h.Lh=function(t,n,r){switch(t){case 0:return this.a;case 1:return this.b}return hV(this,t,n,r)},h.Wh=function(t){switch(t){case 0:return this.a!=0;case 1:return this.b!=0}return bue(this,t)},h.bi=function(t,n){switch(t){case 0:xU(this,ze(Ge(n)));return;case 1:yU(this,ze(Ge(n)));return}ele(this,t,n)},h.ii=function(){return au(),Y_t},h.ki=function(t){switch(t){case 0:xU(this,0);return;case 1:yU(this,0);return}Que(this,t)},h.Ib=function(){var t;return this.Db&64?d0(this):(t=new Af(d0(this)),t.a+=" (x: ",L5(t,this.a),t.a+=", y: ",L5(t,this.b),t.a+=")",t.a)},h.a=0,h.b=0,I(dv,"ElkBendPointImpl",572),D(739,2083,{110:1,342:1,167:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),h.Lh=function(t,n,r){return D8e(this,t,n,r)},h.Sh=function(t,n,r){return Uue(this,t,n,r)},h.Uh=function(t,n,r){return _ce(this,t,n,r)},h.Wh=function(t){return V7e(this,t)},h.bi=function(t,n){qxe(this,t,n)},h.ii=function(){return au(),Q_t},h.ki=function(t){k8e(this,t)},h.jh=function(){return this.k},h.kh=function(){return DH(this)},h.Ib=function(){return Zce(this)},h.k=null,I(dv,"ElkGraphElementImpl",739),D(740,739,{110:1,342:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),h.Lh=function(t,n,r){return j8e(this,t,n,r)},h.Wh=function(t){return V8e(this,t)},h.bi=function(t,n){Hxe(this,t,n)},h.ii=function(){return au(),J_t},h.ki=function(t){J8e(this,t)},h.lh=function(){return this.f},h.mh=function(){return this.g},h.nh=function(){return this.i},h.oh=function(){return this.j},h.ph=function(t,n){j5(this,t,n)},h.qh=function(t,n){Xh(this,t,n)},h.rh=function(t){Vu(this,t)},h.sh=function(t){Gu(this,t)},h.Ib=function(){return Yue(this)},h.f=0,h.g=0,h.i=0,h.j=0,I(dv,"ElkShapeImpl",740),D(741,740,{110:1,342:1,84:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),h.Lh=function(t,n,r){return bxe(this,t,n,r)},h.Sh=function(t,n,r){return Bxe(this,t,n,r)},h.Uh=function(t,n,r){return Fxe(this,t,n,r)},h.Wh=function(t){return o8e(this,t)},h.bi=function(t,n){X9e(this,t,n)},h.ii=function(){return au(),X_t},h.ki=function(t){hxe(this,t)},h.hh=function(){return!this.d&&(this.d=new An(js,this,8,5)),this.d},h.ih=function(){return!this.e&&(this.e=new An(js,this,7,4)),this.e},I(dv,"ElkConnectableShapeImpl",741),D(326,739,{110:1,342:1,74:1,167:1,326:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},II),h.Ah=function(t){return Ixe(this,t)},h.Lh=function(t,n,r){switch(t){case 3:return nN(this);case 4:return!this.b&&(this.b=new An(Sr,this,4,7)),this.b;case 5:return!this.c&&(this.c=new An(Sr,this,5,8)),this.c;case 6:return!this.a&&(this.a=new nt(cs,this,6,6)),this.a;case 7:return Hn(),!this.b&&(this.b=new An(Sr,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new An(Sr,this,5,8)),this.c.i<=1));case 8:return Hn(),!!HA(this);case 9:return Hn(),!!Yw(this);case 10:return Hn(),!this.b&&(this.b=new An(Sr,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new An(Sr,this,5,8)),this.c.i!=0)}return D8e(this,t,n,r)},h.Sh=function(t,n,r){var s;switch(n){case 3:return this.Cb&&(r=(s=this.Db>>16,s>=0?Ixe(this,r):this.Cb.Th(this,-1-s,null,r))),d4e(this,l(t,27),r);case 4:return!this.b&&(this.b=new An(Sr,this,4,7)),Fu(this.b,t,r);case 5:return!this.c&&(this.c=new An(Sr,this,5,8)),Fu(this.c,t,r);case 6:return!this.a&&(this.a=new nt(cs,this,6,6)),Fu(this.a,t,r)}return Uue(this,t,n,r)},h.Uh=function(t,n,r){switch(n){case 3:return d4e(this,null,r);case 4:return!this.b&&(this.b=new An(Sr,this,4,7)),ko(this.b,t,r);case 5:return!this.c&&(this.c=new An(Sr,this,5,8)),ko(this.c,t,r);case 6:return!this.a&&(this.a=new nt(cs,this,6,6)),ko(this.a,t,r)}return _ce(this,t,n,r)},h.Wh=function(t){switch(t){case 3:return!!nN(this);case 4:return!!this.b&&this.b.i!=0;case 5:return!!this.c&&this.c.i!=0;case 6:return!!this.a&&this.a.i!=0;case 7:return!this.b&&(this.b=new An(Sr,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new An(Sr,this,5,8)),this.c.i<=1));case 8:return HA(this);case 9:return Yw(this);case 10:return!this.b&&(this.b=new An(Sr,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new An(Sr,this,5,8)),this.c.i!=0)}return V7e(this,t)},h.bi=function(t,n){switch(t){case 3:BV(this,l(n,27));return;case 4:!this.b&&(this.b=new An(Sr,this,4,7)),$r(this.b),!this.b&&(this.b=new An(Sr,this,4,7)),Ls(this.b,l(n,16));return;case 5:!this.c&&(this.c=new An(Sr,this,5,8)),$r(this.c),!this.c&&(this.c=new An(Sr,this,5,8)),Ls(this.c,l(n,16));return;case 6:!this.a&&(this.a=new nt(cs,this,6,6)),$r(this.a),!this.a&&(this.a=new nt(cs,this,6,6)),Ls(this.a,l(n,16));return}qxe(this,t,n)},h.ii=function(){return au(),MPe},h.ki=function(t){switch(t){case 3:BV(this,null);return;case 4:!this.b&&(this.b=new An(Sr,this,4,7)),$r(this.b);return;case 5:!this.c&&(this.c=new An(Sr,this,5,8)),$r(this.c);return;case 6:!this.a&&(this.a=new nt(cs,this,6,6)),$r(this.a);return}k8e(this,t)},h.Ib=function(){return Lvt(this)},I(dv,"ElkEdgeImpl",326),D(452,2083,{110:1,342:1,166:1,452:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},sk),h.Ah=function(t){return Axe(this,t)},h.Lh=function(t,n,r){switch(t){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new Qs(qh,this,5)),this.a;case 6:return jot(this);case 7:return n?xue(this):this.i;case 8:return n?yue(this):this.f;case 9:return!this.g&&(this.g=new An(cs,this,9,10)),this.g;case 10:return!this.e&&(this.e=new An(cs,this,10,9)),this.e;case 11:return this.d}return Txe(this,t,n,r)},h.Sh=function(t,n,r){var s,o,f;switch(n){case 6:return this.Cb&&(r=(o=this.Db>>16,o>=0?Axe(this,r):this.Cb.Th(this,-1-o,null,r))),f4e(this,l(t,74),r);case 9:return!this.g&&(this.g=new An(cs,this,9,10)),Fu(this.g,t,r);case 10:return!this.e&&(this.e=new An(cs,this,10,9)),Fu(this.e,t,r)}return f=l(Mn((s=l(Gn(this,16),29),s||(au(),TY)),n),69),f.wk().zk(this,Ku(this),n-wr((au(),TY)),t,r)},h.Uh=function(t,n,r){switch(n){case 5:return!this.a&&(this.a=new Qs(qh,this,5)),ko(this.a,t,r);case 6:return f4e(this,null,r);case 9:return!this.g&&(this.g=new An(cs,this,9,10)),ko(this.g,t,r);case 10:return!this.e&&(this.e=new An(cs,this,10,9)),ko(this.e,t,r)}return f9e(this,t,n,r)},h.Wh=function(t){switch(t){case 1:return this.j!=0;case 2:return this.k!=0;case 3:return this.b!=0;case 4:return this.c!=0;case 5:return!!this.a&&this.a.i!=0;case 6:return!!jot(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&this.g.i!=0;case 10:return!!this.e&&this.e.i!=0;case 11:return this.d!=null}return m6e(this,t)},h.bi=function(t,n){switch(t){case 1:uT(this,ze(Ge(n)));return;case 2:hT(this,ze(Ge(n)));return;case 3:cT(this,ze(Ge(n)));return;case 4:lT(this,ze(Ge(n)));return;case 5:!this.a&&(this.a=new Qs(qh,this,5)),$r(this.a),!this.a&&(this.a=new Qs(qh,this,5)),Ls(this.a,l(n,16));return;case 6:Abt(this,l(n,74));return;case 7:AU(this,l(n,84));return;case 8:_U(this,l(n,84));return;case 9:!this.g&&(this.g=new An(cs,this,9,10)),$r(this.g),!this.g&&(this.g=new An(cs,this,9,10)),Ls(this.g,l(n,16));return;case 10:!this.e&&(this.e=new An(cs,this,10,9)),$r(this.e),!this.e&&(this.e=new An(cs,this,10,9)),Ls(this.e,l(n,16));return;case 11:O7e(this,Zr(n));return}c8e(this,t,n)},h.ii=function(){return au(),TY},h.ki=function(t){switch(t){case 1:uT(this,0);return;case 2:hT(this,0);return;case 3:cT(this,0);return;case 4:lT(this,0);return;case 5:!this.a&&(this.a=new Qs(qh,this,5)),$r(this.a);return;case 6:Abt(this,null);return;case 7:AU(this,null);return;case 8:_U(this,null);return;case 9:!this.g&&(this.g=new An(cs,this,9,10)),$r(this.g);return;case 10:!this.e&&(this.e=new An(cs,this,10,9)),$r(this.e);return;case 11:O7e(this,null);return}Q7e(this,t)},h.Ib=function(){return q2t(this)},h.b=0,h.c=0,h.d=null,h.j=0,h.k=0,I(dv,"ElkEdgeSectionImpl",452),D(158,120,{110:1,94:1,93:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),h.Lh=function(t,n,r){var s;return t==0?(!this.Ab&&(this.Ab=new nt(vi,this,0,3)),this.Ab):rf(this,t-wr(this.ii()),Mn((s=l(Gn(this,16),29),s||this.ii()),t),n,r)},h.Sh=function(t,n,r){var s,o;return n==0?(!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Fu(this.Ab,t,r)):(o=l(Mn((s=l(Gn(this,16),29),s||this.ii()),n),69),o.wk().zk(this,Ku(this),n-wr(this.ii()),t,r))},h.Uh=function(t,n,r){var s,o;return n==0?(!this.Ab&&(this.Ab=new nt(vi,this,0,3)),ko(this.Ab,t,r)):(o=l(Mn((s=l(Gn(this,16),29),s||this.ii()),n),69),o.wk().Ak(this,Ku(this),n-wr(this.ii()),t,r))},h.Wh=function(t){var n;return t==0?!!this.Ab&&this.Ab.i!=0:tf(this,t-wr(this.ii()),Mn((n=l(Gn(this,16),29),n||this.ii()),t))},h.Zh=function(t){return oTe(this,t)},h.bi=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab),!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Ls(this.Ab,l(n,16));return}cf(this,t-wr(this.ii()),Mn((r=l(Gn(this,16),29),r||this.ii()),t),n)},h.di=function(t){bx(this,128,t)},h.ii=function(){return En(),vAt},h.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab);return}of(this,t-wr(this.ii()),Mn((n=l(Gn(this,16),29),n||this.ii()),t))},h.pi=function(){this.Bb|=1},h.qi=function(t){return XA(this,t)},h.Bb=0,I(Vn,"EModelElementImpl",158),D(720,158,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},yz),h.ri=function(t,n){return iwt(this,t,n)},h.si=function(t){var n,r,s,o,f;if(this.a!=Ah(t)||t.Bb&256)throw ue(new Wn(n0e+t.zb+c3));for(s=pc(t);fu(s.a).i!=0;){if(r=l(CP(s,0,(n=l(Oe(fu(s.a),0),89),f=n.c,De(f,90)?l(f,29):(En(),Kf))),29),Ww(r))return o=Ah(r).wi().si(r),l(o,54).ci(t),o;s=pc(r)}return(t.D!=null?t.D:t.B)=="java.util.Map$Entry"?new xst(t):new t5e(t)},h.ti=function(t,n){return e3(this,t,n)},h.Lh=function(t,n,r){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),this.Ab;case 1:return this.a}return rf(this,t-wr((En(),um)),Mn((s=l(Gn(this,16),29),s||um),t),n,r)},h.Sh=function(t,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Fu(this.Ab,t,r);case 1:return this.a&&(r=l(this.a,54).Th(this,4,c1,r)),x8e(this,l(t,241),r)}return o=l(Mn((s=l(Gn(this,16),29),s||(En(),um)),n),69),o.wk().zk(this,Ku(this),n-wr((En(),um)),t,r)},h.Uh=function(t,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),ko(this.Ab,t,r);case 1:return x8e(this,null,r)}return o=l(Mn((s=l(Gn(this,16),29),s||(En(),um)),n),69),o.wk().Ak(this,Ku(this),n-wr((En(),um)),t,r)},h.Wh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return tf(this,t-wr((En(),um)),Mn((n=l(Gn(this,16),29),n||um),t))},h.bi=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab),!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Ls(this.Ab,l(n,16));return;case 1:Cpt(this,l(n,241));return}cf(this,t-wr((En(),um)),Mn((r=l(Gn(this,16),29),r||um),t),n)},h.ii=function(){return En(),um},h.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab);return;case 1:Cpt(this,null);return}of(this,t-wr((En(),um)),Mn((n=l(Gn(this,16),29),n||um),t))};var $M,NPe,tAt;I(Vn,"EFactoryImpl",720),D(1037,720,{110:1,2113:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},ak),h.ri=function(t,n){switch(t.hk()){case 12:return l(n,149).Pg();case 13:return Tc(n);default:throw ue(new Wn(kE+t.xe()+c3))}},h.si=function(t){var n,r,s,o,f,g,w,T;switch(t.G==-1&&(t.G=(n=Ah(t),n?x2(n.vi(),t):-1)),t.G){case 4:return f=new ok,f;case 6:return g=new o_,g;case 7:return w=new r3e,w;case 8:return s=new II,s;case 9:return r=new LS,r;case 10:return o=new sk,o;case 11:return T=new M$,T;default:throw ue(new Wn(n0e+t.zb+c3))}},h.ti=function(t,n){switch(t.hk()){case 13:case 12:return null;default:throw ue(new Wn(kE+t.xe()+c3))}},I(dv,"ElkGraphFactoryImpl",1037),D(448,158,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),h.Gh=function(){var t,n;return n=(t=l(Gn(this,16),29),r6e(Cd(t||this.ii()))),n==null?(y_(),y_(),mpe):new Urt(this,n)},h.Lh=function(t,n,r){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),this.Ab;case 1:return this.xe()}return rf(this,t-wr(this.ii()),Mn((s=l(Gn(this,16),29),s||this.ii()),t),n,r)},h.Wh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return tf(this,t-wr(this.ii()),Mn((n=l(Gn(this,16),29),n||this.ii()),t))},h.bi=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab),!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Ls(this.Ab,l(n,16));return;case 1:this.ui(Zr(n));return}cf(this,t-wr(this.ii()),Mn((r=l(Gn(this,16),29),r||this.ii()),t),n)},h.ii=function(){return En(),wAt},h.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab);return;case 1:this.ui(null);return}of(this,t-wr(this.ii()),Mn((n=l(Gn(this,16),29),n||this.ii()),t))},h.xe=function(){return this.zb},h.ui=function(t){Bu(this,t)},h.Ib=function(){return SA(this)},h.zb=null,I(Vn,"ENamedElementImpl",448),D(184,448,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},mot),h.Ah=function(t){return Bgt(this,t)},h.Lh=function(t,n,r){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new ky(this,u1,this)),this.rb;case 6:return!this.vb&&(this.vb=new V8(c1,this,6,7)),this.vb;case 7:return n?this.Db>>16==7?l(this.Cb,241):null:Got(this)}return rf(this,t-wr((En(),q2)),Mn((s=l(Gn(this,16),29),s||q2),t),n,r)},h.Sh=function(t,n,r){var s,o,f;switch(n){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Fu(this.Ab,t,r);case 4:return this.sb&&(r=l(this.sb,54).Th(this,1,jM,r)),E8e(this,l(t,480),r);case 5:return!this.rb&&(this.rb=new ky(this,u1,this)),Fu(this.rb,t,r);case 6:return!this.vb&&(this.vb=new V8(c1,this,6,7)),Fu(this.vb,t,r);case 7:return this.Cb&&(r=(o=this.Db>>16,o>=0?Bgt(this,r):this.Cb.Th(this,-1-o,null,r))),Nh(this,t,7,r)}return f=l(Mn((s=l(Gn(this,16),29),s||(En(),q2)),n),69),f.wk().zk(this,Ku(this),n-wr((En(),q2)),t,r)},h.Uh=function(t,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),ko(this.Ab,t,r);case 4:return E8e(this,null,r);case 5:return!this.rb&&(this.rb=new ky(this,u1,this)),ko(this.rb,t,r);case 6:return!this.vb&&(this.vb=new V8(c1,this,6,7)),ko(this.vb,t,r);case 7:return Nh(this,null,7,r)}return o=l(Mn((s=l(Gn(this,16),29),s||(En(),q2)),n),69),o.wk().Ak(this,Ku(this),n-wr((En(),q2)),t,r)},h.Wh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.yb!=null;case 3:return this.xb!=null;case 4:return!!this.sb;case 5:return!!this.rb&&this.rb.i!=0;case 6:return!!this.vb&&this.vb.i!=0;case 7:return!!Got(this)}return tf(this,t-wr((En(),q2)),Mn((n=l(Gn(this,16),29),n||q2),t))},h.Zh=function(t){var n;return n=$Cn(this,t),n||oTe(this,t)},h.bi=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab),!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Ls(this.Ab,l(n,16));return;case 1:Bu(this,Zr(n));return;case 2:NU(this,Zr(n));return;case 3:OU(this,Zr(n));return;case 4:Wue(this,l(n,480));return;case 5:!this.rb&&(this.rb=new ky(this,u1,this)),$r(this.rb),!this.rb&&(this.rb=new ky(this,u1,this)),Ls(this.rb,l(n,16));return;case 6:!this.vb&&(this.vb=new V8(c1,this,6,7)),$r(this.vb),!this.vb&&(this.vb=new V8(c1,this,6,7)),Ls(this.vb,l(n,16));return}cf(this,t-wr((En(),q2)),Mn((r=l(Gn(this,16),29),r||q2),t),n)},h.ei=function(t){var n,r;if(t&&this.rb)for(r=new ar(this.rb);r.e!=r.i.gc();)n=dr(r),De(n,364)&&(l(n,364).w=null);bx(this,64,t)},h.ii=function(){return En(),q2},h.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab);return;case 1:Bu(this,null);return;case 2:NU(this,null);return;case 3:OU(this,null);return;case 4:Wue(this,null);return;case 5:!this.rb&&(this.rb=new ky(this,u1,this)),$r(this.rb);return;case 6:!this.vb&&(this.vb=new V8(c1,this,6,7)),$r(this.vb);return}of(this,t-wr((En(),q2)),Mn((n=l(Gn(this,16),29),n||q2),t))},h.pi=function(){Nue(this)},h.vi=function(){return!this.rb&&(this.rb=new ky(this,u1,this)),this.rb},h.wi=function(){return this.sb},h.xi=function(){return this.ub},h.yi=function(){return this.xb},h.zi=function(){return this.yb},h.Ai=function(t){this.ub=t},h.Ib=function(){var t;return this.Db&64?SA(this):(t=new Af(SA(this)),t.a+=" (nsURI: ",Jo(t,this.yb),t.a+=", nsPrefix: ",Jo(t,this.xb),t.a+=")",t.a)},h.xb=null,h.yb=null,I(Vn,"EPackageImpl",184),D(569,184,{110:1,2115:1,569:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},Q2t),h.q=!1,h.r=!1;var nAt=!1;I(dv,"ElkGraphPackageImpl",569),D(366,740,{110:1,342:1,167:1,135:1,422:1,366:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},ok),h.Ah=function(t){return Lxe(this,t)},h.Lh=function(t,n,r){switch(t){case 7:return Kot(this);case 8:return this.a}return j8e(this,t,n,r)},h.Sh=function(t,n,r){var s;switch(n){case 7:return this.Cb&&(r=(s=this.Db>>16,s>=0?Lxe(this,r):this.Cb.Th(this,-1-s,null,r))),b5e(this,l(t,167),r)}return Uue(this,t,n,r)},h.Uh=function(t,n,r){return n==7?b5e(this,null,r):_ce(this,t,n,r)},h.Wh=function(t){switch(t){case 7:return!!Kot(this);case 8:return!wn("",this.a)}return V8e(this,t)},h.bi=function(t,n){switch(t){case 7:uke(this,l(n,167));return;case 8:A7e(this,Zr(n));return}Hxe(this,t,n)},h.ii=function(){return au(),DPe},h.ki=function(t){switch(t){case 7:uke(this,null);return;case 8:A7e(this,"");return}J8e(this,t)},h.Ib=function(){return jpt(this)},h.a="",I(dv,"ElkLabelImpl",366),D(207,741,{110:1,342:1,84:1,167:1,27:1,422:1,207:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},o_),h.Ah=function(t){return Oxe(this,t)},h.Lh=function(t,n,r){switch(t){case 9:return!this.c&&(this.c=new nt($l,this,9,9)),this.c;case 10:return!this.a&&(this.a=new nt(Li,this,10,11)),this.a;case 11:return ds(this);case 12:return!this.b&&(this.b=new nt(js,this,12,3)),this.b;case 13:return Hn(),!this.a&&(this.a=new nt(Li,this,10,11)),this.a.i>0}return bxe(this,t,n,r)},h.Sh=function(t,n,r){var s;switch(n){case 9:return!this.c&&(this.c=new nt($l,this,9,9)),Fu(this.c,t,r);case 10:return!this.a&&(this.a=new nt(Li,this,10,11)),Fu(this.a,t,r);case 11:return this.Cb&&(r=(s=this.Db>>16,s>=0?Oxe(this,r):this.Cb.Th(this,-1-s,null,r))),T4e(this,l(t,27),r);case 12:return!this.b&&(this.b=new nt(js,this,12,3)),Fu(this.b,t,r)}return Bxe(this,t,n,r)},h.Uh=function(t,n,r){switch(n){case 9:return!this.c&&(this.c=new nt($l,this,9,9)),ko(this.c,t,r);case 10:return!this.a&&(this.a=new nt(Li,this,10,11)),ko(this.a,t,r);case 11:return T4e(this,null,r);case 12:return!this.b&&(this.b=new nt(js,this,12,3)),ko(this.b,t,r)}return Fxe(this,t,n,r)},h.Wh=function(t){switch(t){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!ds(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new nt(Li,this,10,11)),this.a.i>0}return o8e(this,t)},h.bi=function(t,n){switch(t){case 9:!this.c&&(this.c=new nt($l,this,9,9)),$r(this.c),!this.c&&(this.c=new nt($l,this,9,9)),Ls(this.c,l(n,16));return;case 10:!this.a&&(this.a=new nt(Li,this,10,11)),$r(this.a),!this.a&&(this.a=new nt(Li,this,10,11)),Ls(this.a,l(n,16));return;case 11:FV(this,l(n,27));return;case 12:!this.b&&(this.b=new nt(js,this,12,3)),$r(this.b),!this.b&&(this.b=new nt(js,this,12,3)),Ls(this.b,l(n,16));return}X9e(this,t,n)},h.ii=function(){return au(),IPe},h.ki=function(t){switch(t){case 9:!this.c&&(this.c=new nt($l,this,9,9)),$r(this.c);return;case 10:!this.a&&(this.a=new nt(Li,this,10,11)),$r(this.a);return;case 11:FV(this,null);return;case 12:!this.b&&(this.b=new nt(js,this,12,3)),$r(this.b);return}hxe(this,t)},h.Ib=function(){return Cke(this)},I(dv,"ElkNodeImpl",207),D(193,741,{110:1,342:1,84:1,167:1,123:1,422:1,193:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},r3e),h.Ah=function(t){return Mxe(this,t)},h.Lh=function(t,n,r){return t==9?M1(this):bxe(this,t,n,r)},h.Sh=function(t,n,r){var s;switch(n){case 9:return this.Cb&&(r=(s=this.Db>>16,s>=0?Mxe(this,r):this.Cb.Th(this,-1-s,null,r))),g4e(this,l(t,27),r)}return Bxe(this,t,n,r)},h.Uh=function(t,n,r){return n==9?g4e(this,null,r):Fxe(this,t,n,r)},h.Wh=function(t){return t==9?!!M1(this):o8e(this,t)},h.bi=function(t,n){switch(t){case 9:ske(this,l(n,27));return}X9e(this,t,n)},h.ii=function(){return au(),OPe},h.ki=function(t){switch(t){case 9:ske(this,null);return}hxe(this,t)},h.Ib=function(){return _mt(this)},I(dv,"ElkPortImpl",193);var rAt=Ts(Eo,"BasicEMap/Entry");D(1122,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,119:1,120:1},M$),h.Fb=function(t){return this===t},h.ld=function(){return this.b},h.Hb=function(){return ww(this)},h.Di=function(t){L7e(this,l(t,149))},h.Lh=function(t,n,r){switch(t){case 0:return this.b;case 1:return this.c}return hV(this,t,n,r)},h.Wh=function(t){switch(t){case 0:return!!this.b;case 1:return this.c!=null}return bue(this,t)},h.bi=function(t,n){switch(t){case 0:L7e(this,l(n,149));return;case 1:_7e(this,n);return}ele(this,t,n)},h.ii=function(){return au(),Ag},h.ki=function(t){switch(t){case 0:L7e(this,null);return;case 1:_7e(this,null);return}Que(this,t)},h.Bi=function(){var t;return this.a==-1&&(t=this.b,this.a=t?ts(t):0),this.a},h.md=function(){return this.c},h.Ci=function(t){this.a=t},h.nd=function(t){var n;return n=this.c,_7e(this,t),n},h.Ib=function(){var t;return this.Db&64?d0(this):(t=new lb,li(li(li(t,this.b?this.b.Pg():cl),Yhe),$_(this.c)),t.a)},h.a=-1,h.c=null;var R2=I(dv,"ElkPropertyToValueMapEntryImpl",1122);D(996,1,{},I$),I(eo,"JsonAdapter",996),D(216,63,gp,fd),I(eo,"JsonImportException",216),D(868,1,{},Fgt),I(eo,"JsonImporter",868),D(903,1,{},Utt),I(eo,"JsonImporter/lambda$0$Type",903),D(904,1,{},Vtt),I(eo,"JsonImporter/lambda$1$Type",904),D(912,1,{},fQe),I(eo,"JsonImporter/lambda$10$Type",912),D(914,1,{},Gtt),I(eo,"JsonImporter/lambda$11$Type",914),D(915,1,{},Ktt),I(eo,"JsonImporter/lambda$12$Type",915),D(921,1,{},sot),I(eo,"JsonImporter/lambda$13$Type",921),D(920,1,{},aot),I(eo,"JsonImporter/lambda$14$Type",920),D(916,1,{},Wtt),I(eo,"JsonImporter/lambda$15$Type",916),D(917,1,{},Ytt),I(eo,"JsonImporter/lambda$16$Type",917),D(918,1,{},Xtt),I(eo,"JsonImporter/lambda$17$Type",918),D(919,1,{},Qtt),I(eo,"JsonImporter/lambda$18$Type",919),D(924,1,{},dQe),I(eo,"JsonImporter/lambda$19$Type",924),D(905,1,{},gQe),I(eo,"JsonImporter/lambda$2$Type",905),D(922,1,{},pQe),I(eo,"JsonImporter/lambda$20$Type",922),D(923,1,{},bQe),I(eo,"JsonImporter/lambda$21$Type",923),D(927,1,{},mQe),I(eo,"JsonImporter/lambda$22$Type",927),D(925,1,{},vQe),I(eo,"JsonImporter/lambda$23$Type",925),D(926,1,{},wQe),I(eo,"JsonImporter/lambda$24$Type",926),D(929,1,{},yQe),I(eo,"JsonImporter/lambda$25$Type",929),D(928,1,{},xQe),I(eo,"JsonImporter/lambda$26$Type",928),D(930,1,hr,Jtt),h.Cd=function(t){ewn(this.b,this.a,Zr(t))},I(eo,"JsonImporter/lambda$27$Type",930),D(931,1,hr,Ztt),h.Cd=function(t){twn(this.b,this.a,Zr(t))},I(eo,"JsonImporter/lambda$28$Type",931),D(932,1,{},ent),I(eo,"JsonImporter/lambda$29$Type",932),D(908,1,{},kQe),I(eo,"JsonImporter/lambda$3$Type",908),D(933,1,{},tnt),I(eo,"JsonImporter/lambda$30$Type",933),D(934,1,{},TQe),I(eo,"JsonImporter/lambda$31$Type",934),D(935,1,{},EQe),I(eo,"JsonImporter/lambda$32$Type",935),D(936,1,{},CQe),I(eo,"JsonImporter/lambda$33$Type",936),D(937,1,{},SQe),I(eo,"JsonImporter/lambda$34$Type",937),D(870,1,{},_Qe),I(eo,"JsonImporter/lambda$35$Type",870),D(941,1,{},Yit),I(eo,"JsonImporter/lambda$36$Type",941),D(938,1,hr,AQe),h.Cd=function(t){avn(this.a,l(t,377))},I(eo,"JsonImporter/lambda$37$Type",938),D(939,1,hr,nnt),h.Cd=function(t){zln(this.a,this.b,l(t,166))},I(eo,"JsonImporter/lambda$38$Type",939),D(940,1,hr,rnt),h.Cd=function(t){qln(this.a,this.b,l(t,166))},I(eo,"JsonImporter/lambda$39$Type",940),D(906,1,{},LQe),I(eo,"JsonImporter/lambda$4$Type",906),D(942,1,hr,MQe),h.Cd=function(t){ovn(this.a,l(t,8))},I(eo,"JsonImporter/lambda$40$Type",942),D(907,1,{},DQe),I(eo,"JsonImporter/lambda$5$Type",907),D(911,1,{},IQe),I(eo,"JsonImporter/lambda$6$Type",911),D(909,1,{},OQe),I(eo,"JsonImporter/lambda$7$Type",909),D(910,1,{},NQe),I(eo,"JsonImporter/lambda$8$Type",910),D(913,1,{},PQe),I(eo,"JsonImporter/lambda$9$Type",913),D(961,1,hr,BQe),h.Cd=function(t){Z8(this.a,new Ty(Zr(t)))},I(eo,"JsonMetaDataConverter/lambda$0$Type",961),D(962,1,hr,FQe),h.Cd=function(t){Jgn(this.a,l(t,245))},I(eo,"JsonMetaDataConverter/lambda$1$Type",962),D(963,1,hr,RQe),h.Cd=function(t){Q2n(this.a,l(t,143))},I(eo,"JsonMetaDataConverter/lambda$2$Type",963),D(964,1,hr,jQe),h.Cd=function(t){Zgn(this.a,l(t,170))},I(eo,"JsonMetaDataConverter/lambda$3$Type",964),D(245,22,{3:1,34:1,22:1,245:1},j8);var EY,CY,lpe,SY,_Y,AY,hpe,fpe,LY=Br($P,"GraphFeature",245,Hr,Bwn,Cdn),iAt;D(11,1,{34:1,149:1},Ki,ws,mn,qa),h.Fd=function(t){return Khn(this,l(t,149))},h.Fb=function(t){return Lot(this,t)},h.Sg=function(){return It(this)},h.Pg=function(){return this.b},h.Hb=function(){return g2(this.b)},h.Ib=function(){return this.b},I($P,"Property",11),D(671,1,ii,Wie),h.Ne=function(t,n){return r5n(this,l(t,96),l(n,96))},h.Fb=function(t){return this===t},h.Oe=function(){return new Ut(this)},I($P,"PropertyHolderComparator",671),D(709,1,Ia,Rwe),h.Nb=function(t){Qa(this,t)},h.Pb=function(){return iwn(this)},h.Qb=function(){PZe()},h.Ob=function(){return!!this.a},I(XG,"ElkGraphUtil/AncestorIterator",709);var PPe=Ts(Eo,"EList");D(70,56,{20:1,31:1,56:1,16:1,15:1,70:1,61:1}),h.bd=function(t,n){AA(this,t,n)},h.Fc=function(t){return zr(this,t)},h.cd=function(t,n){return J7e(this,t,n)},h.Gc=function(t){return Ls(this,t)},h.Ii=function(){return new U8(this)},h.Ji=function(){return new OO(this)},h.Ki=function(t){return CN(this,t)},h.Li=function(){return!0},h.Mi=function(t,n){},h.Ni=function(){},h.Oi=function(t,n){Woe(this,t,n)},h.Pi=function(t,n,r){},h.Qi=function(t,n){},h.Ri=function(t,n,r){},h.Fb=function(t){return hmt(this,t)},h.Hb=function(){return W7e(this)},h.Si=function(){return!1},h.Kc=function(){return new ar(this)},h.ed=function(){return new H8(this)},h.fd=function(t){var n;if(n=this.gc(),t<0||t>n)throw ue(new yy(t,n));return new Zae(this,t)},h.Ui=function(t,n){this.Ti(t,this.dd(n))},h.Mc=function(t){return dU(this,t)},h.Wi=function(t,n){return n},h.hd=function(t,n){return i6(this,t,n)},h.Ib=function(){return q8e(this)},h.Yi=function(){return!0},h.Zi=function(t,n){return CT(this,n)},I(Eo,"AbstractEList",70),D(66,70,Pd,sb,Bw,q7e),h.Ei=function(t,n){return Vue(this,t,n)},h.Fi=function(t){return cgt(this,t)},h.Gi=function(t,n){$N(this,t,n)},h.Hi=function(t){uN(this,t)},h.$i=function(t){return n7e(this,t)},h.$b=function(){lA(this)},h.Hc=function(t){return zT(this,t)},h.Xb=function(t){return Oe(this,t)},h._i=function(t){var n,r,s;++this.j,r=this.g==null?0:this.g.length,t>r&&(s=this.g,n=r+(r/2|0)+4,n=0?(this.gd(n),!0):!1},h.Xi=function(t,n){return this.Dj(t,this.Zi(t,n))},h.gc=function(){return this.Ej()},h.Pc=function(){return this.Fj()},h.Qc=function(t){return this.Gj(t)},h.Ib=function(){return this.Hj()},I(Eo,"DelegatingEList",2093),D(2094,2093,_5t),h.Ei=function(t,n){return Fke(this,t,n)},h.Fi=function(t){return this.Ei(this.Ej(),t)},h.Gi=function(t,n){J2t(this,t,n)},h.Hi=function(t){$2t(this,t)},h.Li=function(){return!this.Mj()},h.$b=function(){nL(this)},h.Ij=function(t,n,r,s,o){return new Aot(this,t,n,r,s,o)},h.Jj=function(t){Bi(this.jj(),t)},h.Kj=function(){return null},h.Lj=function(){return-1},h.jj=function(){return null},h.Mj=function(){return!1},h.Nj=function(t,n){return n},h.Oj=function(t,n){return n},h.Pj=function(){return!1},h.Qj=function(){return!this.Aj()},h.Ti=function(t,n){var r,s;return this.Pj()?(s=this.Qj(),r=u9e(this,t,n),this.Jj(this.Ij(7,bt(n),r,t,s)),r):u9e(this,t,n)},h.gd=function(t){var n,r,s,o;return this.Pj()?(r=null,s=this.Qj(),n=this.Ij(4,o=hH(this,t),null,t,s),this.Mj()&&o?(r=this.Oj(o,r),r?(r.nj(n),r.oj()):this.Jj(n)):r?(r.nj(n),r.oj()):this.Jj(n),o):(o=hH(this,t),this.Mj()&&o&&(r=this.Oj(o,null),r&&r.oj()),o)},h.Xi=function(t,n){return svt(this,t,n)},I(jx,"DelegatingNotifyingListImpl",2094),D(152,1,rB),h.nj=function(t){return Wxe(this,t)},h.oj=function(){nce(this)},h.gj=function(){return this.d},h.Kj=function(){return null},h.Rj=function(){return null},h.hj=function(t){return-1},h.ij=function(){return Gbt(this)},h.jj=function(){return null},h.kj=function(){return gke(this)},h.lj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},h.Sj=function(){return!1},h.mj=function(t){var n,r,s,o,f,g,w,T,C,L,F;switch(this.d){case 1:case 2:switch(o=t.gj(),o){case 1:case 2:if(f=t.jj(),qe(f)===qe(this.jj())&&this.hj(null)==t.hj(null))return this.g=t.ij(),t.gj()==1&&(this.d=1),!0}case 4:{switch(o=t.gj(),o){case 4:{if(f=t.jj(),qe(f)===qe(this.jj())&&this.hj(null)==t.hj(null))return C=eTe(this),T=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,g=t.lj(),this.d=6,F=new Bw(2),T<=g?(zr(F,this.n),zr(F,t.kj()),this.g=he(le(Ur,1),fi,28,15,[this.o=T,g+1])):(zr(F,t.kj()),zr(F,this.n),this.g=he(le(Ur,1),fi,28,15,[this.o=g,T])),this.n=F,C||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(o=t.gj(),o){case 4:{if(f=t.jj(),qe(f)===qe(this.jj())&&this.hj(null)==t.hj(null)){for(C=eTe(this),g=t.lj(),L=l(this.g,53),s=We(Ur,fi,28,L.length+1,15,1),n=0;n>>0,n.toString(16))),s.a+=" (eventType: ",this.d){case 1:{s.a+="SET";break}case 2:{s.a+="UNSET";break}case 3:{s.a+="ADD";break}case 5:{s.a+="ADD_MANY";break}case 4:{s.a+="REMOVE";break}case 6:{s.a+="REMOVE_MANY";break}case 7:{s.a+="MOVE";break}case 8:{s.a+="REMOVING_ADAPTER";break}case 9:{s.a+="RESOLVE";break}default:{vse(s,this.d);break}}if(Omt(this)&&(s.a+=", touch: true"),s.a+=", position: ",vse(s,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),s.a+=", notifier: ",N_(s,this.jj()),s.a+=", feature: ",N_(s,this.Kj()),s.a+=", oldValue: ",N_(s,gke(this)),s.a+=", newValue: ",this.d==6&&De(this.g,53)){for(r=l(this.g,53),s.a+="[",t=0;t10?((!this.b||this.c.j!=this.a)&&(this.b=new G_(this),this.a=this.j),K0(this.b,t)):zT(this,t)},h.Yi=function(){return!0},h.a=0,I(Eo,"AbstractEList/1",966),D(302,77,whe,yy),I(Eo,"AbstractEList/BasicIndexOutOfBoundsException",302),D(37,1,Ia,ar),h.Nb=function(t){Qa(this,t)},h.Xj=function(){if(this.i.j!=this.f)throw ue(new Yh)},h.Yj=function(){return dr(this)},h.Ob=function(){return this.e!=this.i.gc()},h.Pb=function(){return this.Yj()},h.Qb=function(){$A(this)},h.e=0,h.f=0,h.g=-1,I(Eo,"AbstractEList/EIterator",37),D(286,37,dg,H8,Zae),h.Qb=function(){$A(this)},h.Rb=function(t){adt(this,t)},h.Zj=function(){var t;try{return t=this.d.Xb(--this.e),this.Xj(),this.g=this.e,t}catch(n){throw n=ms(n),De(n,77)?(this.Xj(),ue(new Dc)):ue(n)}},h.$j=function(t){hgt(this,t)},h.Sb=function(){return this.e!=0},h.Tb=function(){return this.e},h.Ub=function(){return this.Zj()},h.Vb=function(){return this.e-1},h.Wb=function(t){this.$j(t)},I(Eo,"AbstractEList/EListIterator",286),D(355,37,Ia,U8),h.Yj=function(){return mue(this)},h.Qb=function(){throw ue(new Qr)},I(Eo,"AbstractEList/NonResolvingEIterator",355),D(398,286,dg,OO,M4e),h.Rb=function(t){throw ue(new Qr)},h.Yj=function(){var t;try{return t=this.c.Vi(this.e),this.Xj(),this.g=this.e++,t}catch(n){throw n=ms(n),De(n,77)?(this.Xj(),ue(new Dc)):ue(n)}},h.Zj=function(){var t;try{return t=this.c.Vi(--this.e),this.Xj(),this.g=this.e,t}catch(n){throw n=ms(n),De(n,77)?(this.Xj(),ue(new Dc)):ue(n)}},h.Qb=function(){throw ue(new Qr)},h.Wb=function(t){throw ue(new Qr)},I(Eo,"AbstractEList/NonResolvingEListIterator",398),D(2080,70,A5t),h.Ei=function(t,n){var r,s,o,f,g,w,T,C,L,F,z;if(o=n.gc(),o!=0){for(C=l(Gn(this.a,4),129),L=C==null?0:C.length,z=L+o,s=$ce(this,z),F=L-t,F>0&&gu(C,t,s,t+o,F),T=n.Kc(),g=0;gr)throw ue(new yy(t,r));return new Xat(this,t)},h.$b=function(){var t,n;++this.j,t=l(Gn(this.a,4),129),n=t==null?0:t.length,FT(this,null),Woe(this,n,t)},h.Hc=function(t){var n,r,s,o,f;if(n=l(Gn(this.a,4),129),n!=null){if(t!=null){for(s=n,o=0,f=s.length;o=r)throw ue(new yy(t,r));return n[t]},h.dd=function(t){var n,r,s;if(n=l(Gn(this.a,4),129),n!=null){if(t!=null){for(r=0,s=n.length;rr)throw ue(new yy(t,r));return new Yat(this,t)},h.Ti=function(t,n){var r,s,o;if(r=bdt(this),o=r==null?0:r.length,t>=o)throw ue(new rc(h0e+t+gv+o));if(n>=o)throw ue(new rc(f0e+n+gv+o));return s=r[n],t!=n&&(t0&&gu(t,0,n,0,r),n},h.Qc=function(t){var n,r,s;return n=l(Gn(this.a,4),129),s=n==null?0:n.length,s>0&&(t.lengths&&Ss(t,s,null),t};var sAt;I(Eo,"ArrayDelegatingEList",2080),D(1051,37,Ia,Qut),h.Xj=function(){if(this.b.j!=this.f||qe(l(Gn(this.b.a,4),129))!==qe(this.a))throw ue(new Yh)},h.Qb=function(){$A(this),this.a=l(Gn(this.b.a,4),129)},I(Eo,"ArrayDelegatingEList/EIterator",1051),D(722,286,dg,uat,Yat),h.Xj=function(){if(this.b.j!=this.f||qe(l(Gn(this.b.a,4),129))!==qe(this.a))throw ue(new Yh)},h.$j=function(t){hgt(this,t),this.a=l(Gn(this.b.a,4),129)},h.Qb=function(){$A(this),this.a=l(Gn(this.b.a,4),129)},I(Eo,"ArrayDelegatingEList/EListIterator",722),D(1052,355,Ia,Jut),h.Xj=function(){if(this.b.j!=this.f||qe(l(Gn(this.b.a,4),129))!==qe(this.a))throw ue(new Yh)},I(Eo,"ArrayDelegatingEList/NonResolvingEIterator",1052),D(723,398,dg,lat,Xat),h.Xj=function(){if(this.b.j!=this.f||qe(l(Gn(this.b.a,4),129))!==qe(this.a))throw ue(new Yh)},I(Eo,"ArrayDelegatingEList/NonResolvingEListIterator",723),D(615,302,whe,iae),I(Eo,"BasicEList/BasicIndexOutOfBoundsException",615),D(710,66,Pd,vye),h.bd=function(t,n){throw ue(new Qr)},h.Fc=function(t){throw ue(new Qr)},h.cd=function(t,n){throw ue(new Qr)},h.Gc=function(t){throw ue(new Qr)},h.$b=function(){throw ue(new Qr)},h._i=function(t){throw ue(new Qr)},h.Kc=function(){return this.Ii()},h.ed=function(){return this.Ji()},h.fd=function(t){return this.Ki(t)},h.Ti=function(t,n){throw ue(new Qr)},h.Ui=function(t,n){throw ue(new Qr)},h.gd=function(t){throw ue(new Qr)},h.Mc=function(t){throw ue(new Qr)},h.hd=function(t,n){throw ue(new Qr)},I(Eo,"BasicEList/UnmodifiableEList",710),D(721,1,{3:1,20:1,16:1,15:1,61:1,597:1}),h.bd=function(t,n){Phn(this,t,l(n,44))},h.Fc=function(t){return Afn(this,l(t,44))},h.Jc=function(t){Za(this,t)},h.Xb=function(t){return l(Oe(this.c,t),136)},h.Ti=function(t,n){return l(this.c.Ti(t,n),44)},h.Ui=function(t,n){Bhn(this,t,l(n,44))},h.Lc=function(){return new vn(null,new kn(this,16))},h.gd=function(t){return l(this.c.gd(t),44)},h.hd=function(t,n){return Qgn(this,t,l(n,44))},h.jd=function(t){Wm(this,t)},h.Nc=function(){return new kn(this,16)},h.Oc=function(){return new vn(null,new kn(this,16))},h.cd=function(t,n){return this.c.cd(t,n)},h.Gc=function(t){return this.c.Gc(t)},h.$b=function(){this.c.$b()},h.Hc=function(t){return this.c.Hc(t)},h.Ic=function(t){return DN(this.c,t)},h._j=function(){var t,n,r;if(this.d==null){for(this.d=We(BPe,VSe,66,2*this.f+1,0,1),r=this.e,this.f=0,n=this.c.Kc();n.e!=n.i.gc();)t=l(n.Yj(),136),pV(this,t);this.e=r}},h.Fb=function(t){return Fit(this,t)},h.Hb=function(){return W7e(this.c)},h.dd=function(t){return this.c.dd(t)},h.ak=function(){this.c=new $Qe(this)},h.dc=function(){return this.f==0},h.Kc=function(){return this.c.Kc()},h.ed=function(){return this.c.ed()},h.fd=function(t){return this.c.fd(t)},h.bk=function(){return fN(this)},h.ck=function(t,n,r){return new Xit(t,n,r)},h.dk=function(){return new N$},h.Mc=function(t){return Tft(this,t)},h.gc=function(){return this.f},h.kd=function(t,n){return new c2(this.c,t,n)},h.Pc=function(){return this.c.Pc()},h.Qc=function(t){return this.c.Qc(t)},h.Ib=function(){return q8e(this.c)},h.e=0,h.f=0,I(Eo,"BasicEMap",721),D(1046,66,Pd,$Qe),h.Mi=function(t,n){dun(this,l(n,136))},h.Pi=function(t,n,r){var s;++(s=this,l(n,136),s).a.e},h.Qi=function(t,n){gun(this,l(n,136))},h.Ri=function(t,n,r){dfn(this,l(n,136),l(r,136))},h.Oi=function(t,n){b0t(this.a)},I(Eo,"BasicEMap/1",1046),D(1047,66,Pd,N$),h.aj=function(t){return We(tNn,L5t,621,t,0,1)},I(Eo,"BasicEMap/2",1047),D(1048,q1,Tl,zQe),h.$b=function(){this.a.c.$b()},h.Hc=function(t){return oue(this.a,t)},h.Kc=function(){return this.a.f==0?(jk(),yF.a):new TZe(this.a)},h.Mc=function(t){var n;return n=this.a.f,rV(this.a,t),this.a.f!=n},h.gc=function(){return this.a.f},I(Eo,"BasicEMap/3",1048),D(1049,31,Qy,qQe),h.$b=function(){this.a.c.$b()},h.Hc=function(t){return fmt(this.a,t)},h.Kc=function(){return this.a.f==0?(jk(),yF.a):new EZe(this.a)},h.gc=function(){return this.a.f},I(Eo,"BasicEMap/4",1049),D(1050,q1,Tl,HQe),h.$b=function(){this.a.c.$b()},h.Hc=function(t){var n,r,s,o,f,g,w,T,C;if(this.a.f>0&&De(t,44)&&(this.a._j(),T=l(t,44),w=T.ld(),o=w==null?0:ts(w),f=p4e(this.a,o),n=this.a.d[f],n)){for(r=l(n.g,379),C=n.i,g=0;g"+this.c},h.a=0;var tNn=I(Eo,"BasicEMap/EntryImpl",621);D(546,1,{},DS),I(Eo,"BasicEMap/View",546);var yF;D(783,1,{}),h.Fb=function(t){return Q9e((Cn(),Co),t)},h.Hb=function(){return a8e((Cn(),Co))},h.Ib=function(){return Ob((Cn(),Co))},I(Eo,"ECollections/BasicEmptyUnmodifiableEList",783),D(1348,1,dg,hre),h.Nb=function(t){Qa(this,t)},h.Rb=function(t){throw ue(new Qr)},h.Ob=function(){return!1},h.Sb=function(){return!1},h.Pb=function(){throw ue(new Dc)},h.Tb=function(){return 0},h.Ub=function(){throw ue(new Dc)},h.Vb=function(){return-1},h.Qb=function(){throw ue(new Qr)},h.Wb=function(t){throw ue(new Qr)},I(Eo,"ECollections/BasicEmptyUnmodifiableEList/1",1348),D(1346,783,{20:1,16:1,15:1,61:1},OJe),h.bd=function(t,n){WZe()},h.Fc=function(t){return YZe()},h.cd=function(t,n){return XZe()},h.Gc=function(t){return QZe()},h.$b=function(){JZe()},h.Hc=function(t){return!1},h.Ic=function(t){return!1},h.Jc=function(t){Za(this,t)},h.Xb=function(t){return xye((Cn(),t)),null},h.dd=function(t){return-1},h.dc=function(){return!0},h.Kc=function(){return this.a},h.ed=function(){return this.a},h.fd=function(t){return this.a},h.Ti=function(t,n){return ZZe()},h.Ui=function(t,n){eet()},h.Lc=function(){return new vn(null,new kn(this,16))},h.gd=function(t){return tet()},h.Mc=function(t){return net()},h.hd=function(t,n){return ret()},h.gc=function(){return 0},h.jd=function(t){Wm(this,t)},h.Nc=function(){return new kn(this,16)},h.Oc=function(){return new vn(null,new kn(this,16))},h.kd=function(t,n){return Cn(),new c2(Co,t,n)},h.Pc=function(){return v5e((Cn(),Co))},h.Qc=function(t){return Cn(),BA(Co,t)},I(Eo,"ECollections/EmptyUnmodifiableEList",1346),D(1347,783,{20:1,16:1,15:1,61:1,597:1},NJe),h.bd=function(t,n){WZe()},h.Fc=function(t){return YZe()},h.cd=function(t,n){return XZe()},h.Gc=function(t){return QZe()},h.$b=function(){JZe()},h.Hc=function(t){return!1},h.Ic=function(t){return!1},h.Jc=function(t){Za(this,t)},h.Xb=function(t){return xye((Cn(),t)),null},h.dd=function(t){return-1},h.dc=function(){return!0},h.Kc=function(){return this.a},h.ed=function(){return this.a},h.fd=function(t){return this.a},h.Ti=function(t,n){return ZZe()},h.Ui=function(t,n){eet()},h.Lc=function(){return new vn(null,new kn(this,16))},h.gd=function(t){return tet()},h.Mc=function(t){return net()},h.hd=function(t,n){return ret()},h.gc=function(){return 0},h.jd=function(t){Wm(this,t)},h.Nc=function(){return new kn(this,16)},h.Oc=function(){return new vn(null,new kn(this,16))},h.kd=function(t,n){return Cn(),new c2(Co,t,n)},h.Pc=function(){return v5e((Cn(),Co))},h.Qc=function(t){return Cn(),BA(Co,t)},h.bk=function(){return Cn(),Cn(),yg},I(Eo,"ECollections/EmptyUnmodifiableEMap",1347);var RPe=Ts(Eo,"Enumerator"),MY;D(288,1,{288:1},gle),h.Fb=function(t){var n;return this===t?!0:De(t,288)?(n=l(t,288),this.f==n.f&&dgn(this.i,n.i)&&zae(this.a,this.f&256?n.f&256?n.a:null:n.f&256?null:n.a)&&zae(this.d,n.d)&&zae(this.g,n.g)&&zae(this.e,n.e)&&F6n(this,n)):!1},h.Hb=function(){return this.f},h.Ib=function(){return Vmt(this)},h.f=0;var aAt=0,oAt=0,cAt=0,uAt=0,jPe=0,$Pe=0,zPe=0,qPe=0,HPe=0,lAt,zM=0,qM=0,hAt=0,fAt=0,DY,UPe;I(Eo,"URI",288),D(1121,45,w6,PJe),h.zc=function(t,n){return l(sc(this,Zr(t),l(n,288)),288)},I(Eo,"URI/URICache",1121),D(506,66,Pd,D$,mH),h.Si=function(){return!0},I(Eo,"UniqueEList",506),D(590,63,gp,lU),I(Eo,"WrappedException",590);var vi=Ts(gf,I5t),O4=Ts(gf,O5t),fl=Ts(gf,N5t),N4=Ts(gf,P5t),u1=Ts(gf,B5t),Uf=Ts(gf,"EClass"),ppe=Ts(gf,"EDataType"),dAt;D(1233,45,w6,BJe),h.xc=function(t){return Da(t)?wu(this,t):dc(zo(this.f,t))},I(gf,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1233);var IY=Ts(gf,"EEnum"),Tp=Ts(gf,F5t),Wo=Ts(gf,R5t),Vf=Ts(gf,j5t),Gf,L3=Ts(gf,$5t),P4=Ts(gf,z5t);D(1042,1,{},ure),h.Ib=function(){return"NIL"},I(gf,"EStructuralFeature/Internal/DynamicValueHolder/1",1042);var gAt;D(1041,45,w6,FJe),h.xc=function(t){return Da(t)?wu(this,t):dc(zo(this.f,t))},I(gf,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1041);var Zu=Ts(gf,q5t),c9=Ts(gf,"EValidator/PatternMatcher"),VPe,GPe,Un,j2,B4,om,pAt,bAt,mAt,cm,$2,um,M3,td,vAt,wAt,Kf,z2,yAt,q2,F4,u7,Do,xAt,kAt,D3,OY=Ts(us,"FeatureMap/Entry");D(545,1,{76:1},Nq),h.Lk=function(){return this.a},h.md=function(){return this.b},I(Vn,"BasicEObjectImpl/1",545),D(1040,1,v0e,ont),h.Fk=function(t){return Uoe(this.a,this.b,t)},h.Qj=function(){return Hot(this.a,this.b)},h.Wb=function(t){a6e(this.a,this.b,t)},h.Gk=function(){lpn(this.a,this.b)},I(Vn,"BasicEObjectImpl/4",1040),D(2081,1,{114:1}),h.Mk=function(t){this.e=t==0?TAt:We(ka,jn,1,t,5,1)},h.li=function(t){return this.e[t]},h.mi=function(t,n){this.e[t]=n},h.ni=function(t){this.e[t]=null},h.Nk=function(){return this.c},h.Ok=function(){throw ue(new Qr)},h.Pk=function(){throw ue(new Qr)},h.Qk=function(){return this.d},h.Rk=function(){return this.e!=null},h.Sk=function(t){this.c=t},h.Tk=function(t){throw ue(new Qr)},h.Uk=function(t){throw ue(new Qr)},h.Vk=function(t){this.d=t};var TAt;I(Vn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2081),D(192,2081,{114:1},Sf),h.Ok=function(){return this.a},h.Pk=function(){return this.b},h.Tk=function(t){this.a=t},h.Uk=function(t){this.b=t},I(Vn,"BasicEObjectImpl/EPropertiesHolderImpl",192),D(516,99,H4t,w5),h.uh=function(){return this.f},h.zh=function(){return this.k},h.Bh=function(t,n){this.g=t,this.i=n},h.Dh=function(){return this.j&2?this.$h().Nk():this.ii()},h.Fh=function(){return this.i},h.wh=function(){return(this.j&1)!=0},h.Ph=function(){return this.g},h.Vh=function(){return(this.j&4)!=0},h.$h=function(){return!this.k&&(this.k=new Sf),this.k},h.ci=function(t){this.$h().Sk(t),t?this.j|=2:this.j&=-3},h.ei=function(t){this.$h().Uk(t),t?this.j|=4:this.j&=-5},h.ii=function(){return(wb(),Un).S},h.i=0,h.j=1,I(Vn,"EObjectImpl",516),D(798,516,{110:1,94:1,93:1,58:1,114:1,54:1,99:1},t5e),h.li=function(t){return this.e[t]},h.mi=function(t,n){this.e[t]=n},h.ni=function(t){this.e[t]=null},h.Dh=function(){return this.d},h.Ih=function(t){return vs(this.d,t)},h.Kh=function(){return this.d},h.Oh=function(){return this.e!=null},h.$h=function(){return!this.k&&(this.k=new P$),this.k},h.ci=function(t){this.d=t},h.hi=function(){var t;return this.e==null&&(t=wr(this.d),this.e=t==0?EAt:We(ka,jn,1,t,5,1)),this},h.ji=function(){return 0};var EAt;I(Vn,"DynamicEObjectImpl",798),D(1522,798,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1},xst),h.Fb=function(t){return this===t},h.Hb=function(){return ww(this)},h.ci=function(t){this.d=t,this.b=pP(t,"key"),this.c=pP(t,CL)},h.Bi=function(){var t;return this.a==-1&&(t=rce(this,this.b),this.a=t==null?0:ts(t)),this.a},h.ld=function(){return rce(this,this.b)},h.md=function(){return rce(this,this.c)},h.Ci=function(t){this.a=t},h.Di=function(t){a6e(this,this.b,t)},h.nd=function(t){var n;return n=rce(this,this.c),a6e(this,this.c,t),n},h.a=0,I(Vn,"DynamicEObjectImpl/BasicEMapEntry",1522),D(1523,1,{114:1},P$),h.Mk=function(t){throw ue(new Qr)},h.li=function(t){throw ue(new Qr)},h.mi=function(t,n){throw ue(new Qr)},h.ni=function(t){throw ue(new Qr)},h.Nk=function(){throw ue(new Qr)},h.Ok=function(){return this.a},h.Pk=function(){return this.b},h.Qk=function(){return this.c},h.Rk=function(){throw ue(new Qr)},h.Sk=function(t){throw ue(new Qr)},h.Tk=function(t){this.a=t},h.Uk=function(t){this.b=t},h.Vk=function(t){this.c=t},I(Vn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1523),D(519,158,{110:1,94:1,93:1,598:1,155:1,58:1,114:1,54:1,99:1,519:1,158:1,119:1,120:1},OI),h.Ah=function(t){return Dxe(this,t)},h.Lh=function(t,n,r){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),this.Ab;case 1:return this.d;case 2:return r?(!this.b&&(this.b=new lh((En(),Do),Qc,this)),this.b):(!this.b&&(this.b=new lh((En(),Do),Qc,this)),fN(this.b));case 3:return Wot(this);case 4:return!this.a&&(this.a=new Qs(sm,this,4)),this.a;case 5:return!this.c&&(this.c=new q5(sm,this,5)),this.c}return rf(this,t-wr((En(),j2)),Mn((s=l(Gn(this,16),29),s||j2),t),n,r)},h.Sh=function(t,n,r){var s,o,f;switch(n){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Fu(this.Ab,t,r);case 3:return this.Cb&&(r=(o=this.Db>>16,o>=0?Dxe(this,r):this.Cb.Th(this,-1-o,null,r))),m5e(this,l(t,155),r)}return f=l(Mn((s=l(Gn(this,16),29),s||(En(),j2)),n),69),f.wk().zk(this,Ku(this),n-wr((En(),j2)),t,r)},h.Uh=function(t,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),ko(this.Ab,t,r);case 2:return!this.b&&(this.b=new lh((En(),Do),Qc,this)),Zq(this.b,t,r);case 3:return m5e(this,null,r);case 4:return!this.a&&(this.a=new Qs(sm,this,4)),ko(this.a,t,r)}return o=l(Mn((s=l(Gn(this,16),29),s||(En(),j2)),n),69),o.wk().Ak(this,Ku(this),n-wr((En(),j2)),t,r)},h.Wh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.d!=null;case 2:return!!this.b&&this.b.f!=0;case 3:return!!Wot(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return tf(this,t-wr((En(),j2)),Mn((n=l(Gn(this,16),29),n||j2),t))},h.bi=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab),!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Ls(this.Ab,l(n,16));return;case 1:egn(this,Zr(n));return;case 2:!this.b&&(this.b=new lh((En(),Do),Qc,this)),PU(this.b,n);return;case 3:Obt(this,l(n,155));return;case 4:!this.a&&(this.a=new Qs(sm,this,4)),$r(this.a),!this.a&&(this.a=new Qs(sm,this,4)),Ls(this.a,l(n,16));return;case 5:!this.c&&(this.c=new q5(sm,this,5)),$r(this.c),!this.c&&(this.c=new q5(sm,this,5)),Ls(this.c,l(n,16));return}cf(this,t-wr((En(),j2)),Mn((r=l(Gn(this,16),29),r||j2),t),n)},h.ii=function(){return En(),j2},h.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab);return;case 1:I7e(this,null);return;case 2:!this.b&&(this.b=new lh((En(),Do),Qc,this)),this.b.c.$b();return;case 3:Obt(this,null);return;case 4:!this.a&&(this.a=new Qs(sm,this,4)),$r(this.a);return;case 5:!this.c&&(this.c=new q5(sm,this,5)),$r(this.c);return}of(this,t-wr((En(),j2)),Mn((n=l(Gn(this,16),29),n||j2),t))},h.Ib=function(){return F1t(this)},h.d=null,I(Vn,"EAnnotationImpl",519),D(141,721,GSe,yl),h.Gi=function(t,n){vhn(this,t,l(n,44))},h.Wk=function(t,n){return y0n(this,l(t,44),n)},h.$i=function(t){return l(l(this.c,71).$i(t),136)},h.Ii=function(){return l(this.c,71).Ii()},h.Ji=function(){return l(this.c,71).Ji()},h.Ki=function(t){return l(this.c,71).Ki(t)},h.Xk=function(t,n){return Zq(this,t,n)},h.Fk=function(t){return l(this.c,79).Fk(t)},h.ak=function(){},h.Qj=function(){return l(this.c,79).Qj()},h.ck=function(t,n,r){var s;return s=l(Ah(this.b).wi().si(this.b),136),s.Ci(t),s.Di(n),s.nd(r),s},h.dk=function(){return new $we(this)},h.Wb=function(t){PU(this,t)},h.Gk=function(){l(this.c,79).Gk()},I(us,"EcoreEMap",141),D(165,141,GSe,lh),h._j=function(){var t,n,r,s,o,f;if(this.d==null){for(f=We(BPe,VSe,66,2*this.f+1,0,1),r=this.c.Kc();r.e!=r.i.gc();)n=l(r.Yj(),136),s=n.Bi(),o=(s&Ni)%f.length,t=f[o],!t&&(t=f[o]=new $we(this)),t.Fc(n);this.d=f}},I(Vn,"EAnnotationImpl/1",165),D(292,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,481:1,54:1,99:1,158:1,292:1,119:1,120:1}),h.Lh=function(t,n,r){var s,o;switch(t){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hn(),!!(this.Bb&256);case 3:return Hn(),!!(this.Bb&512);case 4:return bt(this.s);case 5:return bt(this.t);case 6:return Hn(),!!this.Jk();case 7:return Hn(),o=this.s,o>=1;case 8:return n?Of(this):this.r;case 9:return this.q}return rf(this,t-wr(this.ii()),Mn((s=l(Gn(this,16),29),s||this.ii()),t),n,r)},h.Uh=function(t,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),ko(this.Ab,t,r);case 9:return noe(this,r)}return o=l(Mn((s=l(Gn(this,16),29),s||this.ii()),n),69),o.wk().Ak(this,Ku(this),n-wr(this.ii()),t,r)},h.Wh=function(t){var n,r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Jk();case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&_w(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&_w(this.q).i==0)}return tf(this,t-wr(this.ii()),Mn((n=l(Gn(this,16),29),n||this.ii()),t))},h.bi=function(t,n){var r,s;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab),!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Ls(this.Ab,l(n,16));return;case 1:this.ui(Zr(n));return;case 2:m2(this,Ft(Pt(n)));return;case 3:v2(this,Ft(Pt(n)));return;case 4:d2(this,l(n,17).a);return;case 5:this.Zk(l(n,17).a);return;case 8:ev(this,l(n,142));return;case 9:s=$1(this,l(n,89),null),s&&s.oj();return}cf(this,t-wr(this.ii()),Mn((r=l(Gn(this,16),29),r||this.ii()),t),n)},h.ii=function(){return En(),kAt},h.ki=function(t){var n,r;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab);return;case 1:this.ui(null);return;case 2:m2(this,!0);return;case 3:v2(this,!0);return;case 4:d2(this,0);return;case 5:this.Zk(1);return;case 8:ev(this,null);return;case 9:r=$1(this,null,null),r&&r.oj();return}of(this,t-wr(this.ii()),Mn((n=l(Gn(this,16),29),n||this.ii()),t))},h.pi=function(){Of(this),this.Bb|=1},h.Hk=function(){return Of(this)},h.Ik=function(){return this.t},h.Jk=function(){var t;return t=this.t,t>1||t==-1},h.Si=function(){return(this.Bb&512)!=0},h.Yk=function(t,n){return C8e(this,t,n)},h.Zk=function(t){Oy(this,t)},h.Ib=function(){return q9e(this)},h.s=0,h.t=1,I(Vn,"ETypedElementImpl",292),D(462,292,{110:1,94:1,93:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,462:1,292:1,119:1,120:1,692:1}),h.Ah=function(t){return Sgt(this,t)},h.Lh=function(t,n,r){var s,o;switch(t){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hn(),!!(this.Bb&256);case 3:return Hn(),!!(this.Bb&512);case 4:return bt(this.s);case 5:return bt(this.t);case 6:return Hn(),!!this.Jk();case 7:return Hn(),o=this.s,o>=1;case 8:return n?Of(this):this.r;case 9:return this.q;case 10:return Hn(),!!(this.Bb&b0);case 11:return Hn(),!!(this.Bb&a4);case 12:return Hn(),!!(this.Bb&Zy);case 13:return this.j;case 14:return KT(this);case 15:return Hn(),!!(this.Bb&Cl);case 16:return Hn(),!!(this.Bb&Sd);case 17:return Cy(this)}return rf(this,t-wr(this.ii()),Mn((s=l(Gn(this,16),29),s||this.ii()),t),n,r)},h.Sh=function(t,n,r){var s,o,f;switch(n){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Fu(this.Ab,t,r);case 17:return this.Cb&&(r=(o=this.Db>>16,o>=0?Sgt(this,r):this.Cb.Th(this,-1-o,null,r))),Nh(this,t,17,r)}return f=l(Mn((s=l(Gn(this,16),29),s||this.ii()),n),69),f.wk().zk(this,Ku(this),n-wr(this.ii()),t,r)},h.Uh=function(t,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),ko(this.Ab,t,r);case 9:return noe(this,r);case 17:return Nh(this,null,17,r)}return o=l(Mn((s=l(Gn(this,16),29),s||this.ii()),n),69),o.wk().Ak(this,Ku(this),n-wr(this.ii()),t,r)},h.Wh=function(t){var n,r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Jk();case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&_w(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&_w(this.q).i==0);case 10:return(this.Bb&b0)==0;case 11:return(this.Bb&a4)!=0;case 12:return(this.Bb&Zy)!=0;case 13:return this.j!=null;case 14:return KT(this)!=null;case 15:return(this.Bb&Cl)!=0;case 16:return(this.Bb&Sd)!=0;case 17:return!!Cy(this)}return tf(this,t-wr(this.ii()),Mn((n=l(Gn(this,16),29),n||this.ii()),t))},h.bi=function(t,n){var r,s;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab),!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Ls(this.Ab,l(n,16));return;case 1:Loe(this,Zr(n));return;case 2:m2(this,Ft(Pt(n)));return;case 3:v2(this,Ft(Pt(n)));return;case 4:d2(this,l(n,17).a);return;case 5:this.Zk(l(n,17).a);return;case 8:ev(this,l(n,142));return;case 9:s=$1(this,l(n,89),null),s&&s.oj();return;case 10:MT(this,Ft(Pt(n)));return;case 11:OT(this,Ft(Pt(n)));return;case 12:DT(this,Ft(Pt(n)));return;case 13:mye(this,Zr(n));return;case 15:IT(this,Ft(Pt(n)));return;case 16:NT(this,Ft(Pt(n)));return}cf(this,t-wr(this.ii()),Mn((r=l(Gn(this,16),29),r||this.ii()),t),n)},h.ii=function(){return En(),xAt},h.ki=function(t){var n,r;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab);return;case 1:De(this.Cb,90)&&Uy(Gl(l(this.Cb,90)),4),Bu(this,null);return;case 2:m2(this,!0);return;case 3:v2(this,!0);return;case 4:d2(this,0);return;case 5:this.Zk(1);return;case 8:ev(this,null);return;case 9:r=$1(this,null,null),r&&r.oj();return;case 10:MT(this,!0);return;case 11:OT(this,!1);return;case 12:DT(this,!1);return;case 13:this.i=null,LU(this,null);return;case 15:IT(this,!1);return;case 16:NT(this,!1);return}of(this,t-wr(this.ii()),Mn((n=l(Gn(this,16),29),n||this.ii()),t))},h.pi=function(){Xk(ac((kl(),no),this)),Of(this),this.Bb|=1},h.pk=function(){return this.f},h.ik=function(){return KT(this)},h.qk=function(){return Cy(this)},h.uk=function(){return null},h.$k=function(){return this.k},h.Lj=function(){return this.n},h.vk=function(){return TV(this)},h.wk=function(){var t,n,r,s,o,f,g,w,T;return this.p||(r=Cy(this),(r.i==null&&Cd(r),r.i).length,s=this.uk(),s&&wr(Cy(s)),o=Of(this),g=o.kk(),t=g?g.i&1?g==th?Ps:g==Ur?to:g==j4?LE:g==Oa?ra:g==hm?l3:g==d7?h3:g==_l?$x:BL:g:null,n=KT(this),w=o.ik(),g5n(this),this.Bb&Sd&&((f=Rxe((kl(),no),r))&&f!=this||(f=ix(ac(no,this))))?this.p=new unt(this,f):this.Jk()?this.al()?s?this.Bb&Cl?t?this.bl()?this.p=new zm(47,t,this,s):this.p=new zm(5,t,this,s):this.bl()?this.p=new Gm(46,this,s):this.p=new Gm(4,this,s):t?this.bl()?this.p=new zm(49,t,this,s):this.p=new zm(7,t,this,s):this.bl()?this.p=new Gm(48,this,s):this.p=new Gm(6,this,s):this.Bb&Cl?t?t==mv?this.p=new s2(50,rAt,this):this.bl()?this.p=new s2(43,t,this):this.p=new s2(1,t,this):this.bl()?this.p=new o2(42,this):this.p=new o2(0,this):t?t==mv?this.p=new s2(41,rAt,this):this.bl()?this.p=new s2(45,t,this):this.p=new s2(3,t,this):this.bl()?this.p=new o2(44,this):this.p=new o2(2,this):De(o,156)?t==OY?this.p=new o2(40,this):this.Bb&512?this.Bb&Cl?t?this.p=new s2(9,t,this):this.p=new o2(8,this):t?this.p=new s2(11,t,this):this.p=new o2(10,this):this.Bb&Cl?t?this.p=new s2(13,t,this):this.p=new o2(12,this):t?this.p=new s2(15,t,this):this.p=new o2(14,this):s?(T=s.t,T>1||T==-1?this.bl()?this.Bb&Cl?t?this.p=new zm(25,t,this,s):this.p=new Gm(24,this,s):t?this.p=new zm(27,t,this,s):this.p=new Gm(26,this,s):this.Bb&Cl?t?this.p=new zm(29,t,this,s):this.p=new Gm(28,this,s):t?this.p=new zm(31,t,this,s):this.p=new Gm(30,this,s):this.bl()?this.Bb&Cl?t?this.p=new zm(33,t,this,s):this.p=new Gm(32,this,s):t?this.p=new zm(35,t,this,s):this.p=new Gm(34,this,s):this.Bb&Cl?t?this.p=new zm(37,t,this,s):this.p=new Gm(36,this,s):t?this.p=new zm(39,t,this,s):this.p=new Gm(38,this,s)):this.bl()?this.Bb&Cl?t?this.p=new s2(17,t,this):this.p=new o2(16,this):t?this.p=new s2(19,t,this):this.p=new o2(18,this):this.Bb&Cl?t?this.p=new s2(21,t,this):this.p=new o2(20,this):t?this.p=new s2(23,t,this):this.p=new o2(22,this):this._k()?this.bl()?this.p=new Qit(l(o,29),this,s):this.p=new i6e(l(o,29),this,s):De(o,156)?t==OY?this.p=new o2(40,this):this.Bb&Cl?t?this.p=new Xst(n,w,this,(cue(),g==Ur?ZPe:g==th?WPe:g==hm?eBe:g==j4?JPe:g==Oa?QPe:g==d7?tBe:g==_l?YPe:g==xf?XPe:vpe)):this.p=new uot(l(o,156),n,w,this):t?this.p=new Yst(n,w,this,(cue(),g==Ur?ZPe:g==th?WPe:g==hm?eBe:g==j4?JPe:g==Oa?QPe:g==d7?tBe:g==_l?YPe:g==xf?XPe:vpe)):this.p=new cot(l(o,156),n,w,this):this.al()?s?this.Bb&Cl?this.bl()?this.p=new Zit(l(o,29),this,s):this.p=new H4e(l(o,29),this,s):this.bl()?this.p=new Jit(l(o,29),this,s):this.p=new Nae(l(o,29),this,s):this.Bb&Cl?this.bl()?this.p=new Yrt(l(o,29),this):this.p=new r4e(l(o,29),this):this.bl()?this.p=new Wrt(l(o,29),this):this.p=new xae(l(o,29),this):this.bl()?s?this.Bb&Cl?this.p=new est(l(o,29),this,s):this.p=new z4e(l(o,29),this,s):this.Bb&Cl?this.p=new Xrt(l(o,29),this):this.p=new i4e(l(o,29),this):s?this.Bb&Cl?this.p=new tst(l(o,29),this,s):this.p=new q4e(l(o,29),this,s):this.Bb&Cl?this.p=new Qrt(l(o,29),this):this.p=new bH(l(o,29),this)),this.p},h.rk=function(){return(this.Bb&b0)!=0},h._k=function(){return!1},h.al=function(){return!1},h.sk=function(){return(this.Bb&Sd)!=0},h.xk=function(){return ice(this)},h.bl=function(){return!1},h.tk=function(){return(this.Bb&Cl)!=0},h.cl=function(t){this.k=t},h.ui=function(t){Loe(this,t)},h.Ib=function(){return UV(this)},h.e=!1,h.n=0,I(Vn,"EStructuralFeatureImpl",462),D(331,462,{110:1,94:1,93:1,35:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,331:1,158:1,462:1,292:1,119:1,120:1,692:1},tse),h.Lh=function(t,n,r){var s,o;switch(t){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hn(),!!(this.Bb&256);case 3:return Hn(),!!(this.Bb&512);case 4:return bt(this.s);case 5:return bt(this.t);case 6:return Hn(),!!B9e(this);case 7:return Hn(),o=this.s,o>=1;case 8:return n?Of(this):this.r;case 9:return this.q;case 10:return Hn(),!!(this.Bb&b0);case 11:return Hn(),!!(this.Bb&a4);case 12:return Hn(),!!(this.Bb&Zy);case 13:return this.j;case 14:return KT(this);case 15:return Hn(),!!(this.Bb&Cl);case 16:return Hn(),!!(this.Bb&Sd);case 17:return Cy(this);case 18:return Hn(),!!(this.Bb&nu);case 19:return n?Ace(this):flt(this)}return rf(this,t-wr((En(),B4)),Mn((s=l(Gn(this,16),29),s||B4),t),n,r)},h.Wh=function(t){var n,r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return B9e(this);case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&_w(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&_w(this.q).i==0);case 10:return(this.Bb&b0)==0;case 11:return(this.Bb&a4)!=0;case 12:return(this.Bb&Zy)!=0;case 13:return this.j!=null;case 14:return KT(this)!=null;case 15:return(this.Bb&Cl)!=0;case 16:return(this.Bb&Sd)!=0;case 17:return!!Cy(this);case 18:return(this.Bb&nu)!=0;case 19:return!!flt(this)}return tf(this,t-wr((En(),B4)),Mn((n=l(Gn(this,16),29),n||B4),t))},h.bi=function(t,n){var r,s;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab),!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Ls(this.Ab,l(n,16));return;case 1:Loe(this,Zr(n));return;case 2:m2(this,Ft(Pt(n)));return;case 3:v2(this,Ft(Pt(n)));return;case 4:d2(this,l(n,17).a);return;case 5:_Ze(this,l(n,17).a);return;case 8:ev(this,l(n,142));return;case 9:s=$1(this,l(n,89),null),s&&s.oj();return;case 10:MT(this,Ft(Pt(n)));return;case 11:OT(this,Ft(Pt(n)));return;case 12:DT(this,Ft(Pt(n)));return;case 13:mye(this,Zr(n));return;case 15:IT(this,Ft(Pt(n)));return;case 16:NT(this,Ft(Pt(n)));return;case 18:eue(this,Ft(Pt(n)));return}cf(this,t-wr((En(),B4)),Mn((r=l(Gn(this,16),29),r||B4),t),n)},h.ii=function(){return En(),B4},h.ki=function(t){var n,r;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab);return;case 1:De(this.Cb,90)&&Uy(Gl(l(this.Cb,90)),4),Bu(this,null);return;case 2:m2(this,!0);return;case 3:v2(this,!0);return;case 4:d2(this,0);return;case 5:this.b=0,Oy(this,1);return;case 8:ev(this,null);return;case 9:r=$1(this,null,null),r&&r.oj();return;case 10:MT(this,!0);return;case 11:OT(this,!1);return;case 12:DT(this,!1);return;case 13:this.i=null,LU(this,null);return;case 15:IT(this,!1);return;case 16:NT(this,!1);return;case 18:eue(this,!1);return}of(this,t-wr((En(),B4)),Mn((n=l(Gn(this,16),29),n||B4),t))},h.pi=function(){Ace(this),Xk(ac((kl(),no),this)),Of(this),this.Bb|=1},h.Jk=function(){return B9e(this)},h.Yk=function(t,n){return this.b=0,this.a=null,C8e(this,t,n)},h.Zk=function(t){_Ze(this,t)},h.Ib=function(){var t;return this.Db&64?UV(this):(t=new Af(UV(this)),t.a+=" (iD: ",t2(t,(this.Bb&nu)!=0),t.a+=")",t.a)},h.b=0,I(Vn,"EAttributeImpl",331),D(364,448,{110:1,94:1,93:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,364:1,158:1,119:1,120:1,691:1}),h.dl=function(t){return t.Dh()==this},h.Ah=function(t){return Oue(this,t)},h.Bh=function(t,n){this.w=null,this.Db=n<<16|this.Db&255,this.Cb=t},h.Lh=function(t,n,r){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Ww(this);case 4:return this.ik();case 5:return this.F;case 6:return n?Ah(this):Zk(this);case 7:return!this.A&&(this.A=new bl(Zu,this,7)),this.A}return rf(this,t-wr(this.ii()),Mn((s=l(Gn(this,16),29),s||this.ii()),t),n,r)},h.Sh=function(t,n,r){var s,o,f;switch(n){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Fu(this.Ab,t,r);case 6:return this.Cb&&(r=(o=this.Db>>16,o>=0?Oue(this,r):this.Cb.Th(this,-1-o,null,r))),Nh(this,t,6,r)}return f=l(Mn((s=l(Gn(this,16),29),s||this.ii()),n),69),f.wk().zk(this,Ku(this),n-wr(this.ii()),t,r)},h.Uh=function(t,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),ko(this.Ab,t,r);case 6:return Nh(this,null,6,r);case 7:return!this.A&&(this.A=new bl(Zu,this,7)),ko(this.A,t,r)}return o=l(Mn((s=l(Gn(this,16),29),s||this.ii()),n),69),o.wk().Ak(this,Ku(this),n-wr(this.ii()),t,r)},h.Wh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Ww(this);case 4:return this.ik()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Zk(this);case 7:return!!this.A&&this.A.i!=0}return tf(this,t-wr(this.ii()),Mn((n=l(Gn(this,16),29),n||this.ii()),t))},h.bi=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab),!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Ls(this.Ab,l(n,16));return;case 1:VH(this,Zr(n));return;case 2:oae(this,Zr(n));return;case 5:eE(this,Zr(n));return;case 7:!this.A&&(this.A=new bl(Zu,this,7)),$r(this.A),!this.A&&(this.A=new bl(Zu,this,7)),Ls(this.A,l(n,16));return}cf(this,t-wr(this.ii()),Mn((r=l(Gn(this,16),29),r||this.ii()),t),n)},h.ii=function(){return En(),pAt},h.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab);return;case 1:De(this.Cb,184)&&(l(this.Cb,184).tb=null),Bu(this,null);return;case 2:_T(this,null),fT(this,this.D);return;case 5:eE(this,null);return;case 7:!this.A&&(this.A=new bl(Zu,this,7)),$r(this.A);return}of(this,t-wr(this.ii()),Mn((n=l(Gn(this,16),29),n||this.ii()),t))},h.hk=function(){var t;return this.G==-1&&(this.G=(t=Ah(this),t?x2(t.vi(),this):-1)),this.G},h.ik=function(){return null},h.jk=function(){return Ah(this)},h.el=function(){return this.v},h.kk=function(){return Ww(this)},h.lk=function(){return this.D!=null?this.D:this.B},h.mk=function(){return this.F},h.fk=function(t){return Tle(this,t)},h.fl=function(t){this.v=t},h.gl=function(t){Xft(this,t)},h.hl=function(t){this.C=t},h.ui=function(t){VH(this,t)},h.Ib=function(){return ZU(this)},h.C=null,h.D=null,h.G=-1,I(Vn,"EClassifierImpl",364),D(90,364,{110:1,94:1,93:1,29:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,90:1,364:1,158:1,482:1,119:1,120:1,691:1},wz),h.dl=function(t){return r0n(this,t.Dh())},h.Lh=function(t,n,r){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Ww(this);case 4:return null;case 5:return this.F;case 6:return n?Ah(this):Zk(this);case 7:return!this.A&&(this.A=new bl(Zu,this,7)),this.A;case 8:return Hn(),!!(this.Bb&256);case 9:return Hn(),!!(this.Bb&512);case 10:return pc(this);case 11:return!this.q&&(this.q=new nt(Vf,this,11,10)),this.q;case 12:return p6(this);case 13:return ZA(this);case 14:return ZA(this),this.r;case 15:return p6(this),this.k;case 16:return C9e(this);case 17:return _le(this);case 18:return Cd(this);case 19:return PV(this);case 20:return p6(this),this.o;case 21:return!this.s&&(this.s=new nt(fl,this,21,17)),this.s;case 22:return fu(this);case 23:return dle(this)}return rf(this,t-wr((En(),om)),Mn((s=l(Gn(this,16),29),s||om),t),n,r)},h.Sh=function(t,n,r){var s,o,f;switch(n){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Fu(this.Ab,t,r);case 6:return this.Cb&&(r=(o=this.Db>>16,o>=0?Oue(this,r):this.Cb.Th(this,-1-o,null,r))),Nh(this,t,6,r);case 11:return!this.q&&(this.q=new nt(Vf,this,11,10)),Fu(this.q,t,r);case 21:return!this.s&&(this.s=new nt(fl,this,21,17)),Fu(this.s,t,r)}return f=l(Mn((s=l(Gn(this,16),29),s||(En(),om)),n),69),f.wk().zk(this,Ku(this),n-wr((En(),om)),t,r)},h.Uh=function(t,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),ko(this.Ab,t,r);case 6:return Nh(this,null,6,r);case 7:return!this.A&&(this.A=new bl(Zu,this,7)),ko(this.A,t,r);case 11:return!this.q&&(this.q=new nt(Vf,this,11,10)),ko(this.q,t,r);case 21:return!this.s&&(this.s=new nt(fl,this,21,17)),ko(this.s,t,r);case 22:return ko(fu(this),t,r)}return o=l(Mn((s=l(Gn(this,16),29),s||(En(),om)),n),69),o.wk().Ak(this,Ku(this),n-wr((En(),om)),t,r)},h.Wh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Ww(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Zk(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)!=0;case 9:return(this.Bb&512)!=0;case 10:return!!this.u&&fu(this.u.a).i!=0&&!(this.n&&kue(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return p6(this).i!=0;case 13:return ZA(this).i!=0;case 14:return ZA(this),this.r.i!=0;case 15:return p6(this),this.k.i!=0;case 16:return C9e(this).i!=0;case 17:return _le(this).i!=0;case 18:return Cd(this).i!=0;case 19:return PV(this).i!=0;case 20:return p6(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&kue(this.n);case 23:return dle(this).i!=0}return tf(this,t-wr((En(),om)),Mn((n=l(Gn(this,16),29),n||om),t))},h.Zh=function(t){var n;return n=this.i==null||this.q&&this.q.i!=0?null:pP(this,t),n||oTe(this,t)},h.bi=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab),!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Ls(this.Ab,l(n,16));return;case 1:VH(this,Zr(n));return;case 2:oae(this,Zr(n));return;case 5:eE(this,Zr(n));return;case 7:!this.A&&(this.A=new bl(Zu,this,7)),$r(this.A),!this.A&&(this.A=new bl(Zu,this,7)),Ls(this.A,l(n,16));return;case 8:S8e(this,Ft(Pt(n)));return;case 9:_8e(this,Ft(Pt(n)));return;case 10:nL(pc(this)),Ls(pc(this),l(n,16));return;case 11:!this.q&&(this.q=new nt(Vf,this,11,10)),$r(this.q),!this.q&&(this.q=new nt(Vf,this,11,10)),Ls(this.q,l(n,16));return;case 21:!this.s&&(this.s=new nt(fl,this,21,17)),$r(this.s),!this.s&&(this.s=new nt(fl,this,21,17)),Ls(this.s,l(n,16));return;case 22:$r(fu(this)),Ls(fu(this),l(n,16));return}cf(this,t-wr((En(),om)),Mn((r=l(Gn(this,16),29),r||om),t),n)},h.ii=function(){return En(),om},h.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab);return;case 1:De(this.Cb,184)&&(l(this.Cb,184).tb=null),Bu(this,null);return;case 2:_T(this,null),fT(this,this.D);return;case 5:eE(this,null);return;case 7:!this.A&&(this.A=new bl(Zu,this,7)),$r(this.A);return;case 8:S8e(this,!1);return;case 9:_8e(this,!1);return;case 10:this.u&&nL(this.u);return;case 11:!this.q&&(this.q=new nt(Vf,this,11,10)),$r(this.q);return;case 21:!this.s&&(this.s=new nt(fl,this,21,17)),$r(this.s);return;case 22:this.n&&$r(this.n);return}of(this,t-wr((En(),om)),Mn((n=l(Gn(this,16),29),n||om),t))},h.pi=function(){var t,n;if(p6(this),ZA(this),C9e(this),_le(this),Cd(this),PV(this),dle(this),lA(Ldn(Gl(this))),this.s)for(t=0,n=this.s.i;t=0;--n)Oe(this,n);return Q8e(this,t)},h.Gk=function(){$r(this)},h.Zi=function(t,n){return vft(this,t,n)},I(us,"EcoreEList",632),D(505,632,Ec,VO),h.Li=function(){return!1},h.Lj=function(){return this.c},h.Mj=function(){return!1},h.ol=function(){return!0},h.Si=function(){return!0},h.Wi=function(t,n){return n},h.Yi=function(){return!1},h.c=0,I(us,"EObjectEList",505),D(83,505,Ec,Qs),h.Mj=function(){return!0},h.ml=function(){return!1},h.al=function(){return!0},I(us,"EObjectContainmentEList",83),D(555,83,Ec,Uq),h.Ni=function(){this.b=!0},h.Qj=function(){return this.b},h.Gk=function(){var t;$r(this),ch(this.e)?(t=this.b,this.b=!1,Bi(this.e,new l0(this.e,2,this.c,t,!1))):this.b=!1},h.b=!1,I(us,"EObjectContainmentEList/Unsettable",555),D(1161,555,Ec,Kst),h.Ti=function(t,n){var r,s;return r=l(LA(this,t,n),89),ch(this.e)&&Tk(this,new dN(this.a,7,(En(),bAt),bt(n),(s=r.c,De(s,90)?l(s,29):Kf),t)),r},h.Uj=function(t,n){return X5n(this,l(t,89),n)},h.Vj=function(t,n){return Y5n(this,l(t,89),n)},h.Wj=function(t,n,r){return Z8n(this,l(t,89),l(n,89),r)},h.Ij=function(t,n,r,s,o){switch(t){case 3:return iA(this,t,n,r,s,this.i>1);case 5:return iA(this,t,n,r,s,this.i-l(r,15).gc()>0);default:return new rp(this.e,t,this.c,n,r,s,!0)}},h.Tj=function(){return!0},h.Qj=function(){return kue(this)},h.Gk=function(){$r(this)},I(Vn,"EClassImpl/1",1161),D(1175,1174,USe),h.dj=function(t){var n,r,s,o,f,g,w;if(r=t.gj(),r!=8){if(s=D6n(t),s==0)switch(r){case 1:case 9:{w=t.kj(),w!=null&&(n=Gl(l(w,482)),!n.c&&(n.c=new Zd),dU(n.c,t.jj())),g=t.ij(),g!=null&&(o=l(g,482),o.Bb&1||(n=Gl(o),!n.c&&(n.c=new Zd),zr(n.c,l(t.jj(),29))));break}case 3:{g=t.ij(),g!=null&&(o=l(g,482),o.Bb&1||(n=Gl(o),!n.c&&(n.c=new Zd),zr(n.c,l(t.jj(),29))));break}case 5:{if(g=t.ij(),g!=null)for(f=l(g,16).Kc();f.Ob();)o=l(f.Pb(),482),o.Bb&1||(n=Gl(o),!n.c&&(n.c=new Zd),zr(n.c,l(t.jj(),29)));break}case 4:{w=t.kj(),w!=null&&(o=l(w,482),o.Bb&1||(n=Gl(o),!n.c&&(n.c=new Zd),dU(n.c,t.jj())));break}case 6:{if(w=t.kj(),w!=null)for(f=l(w,16).Kc();f.Ob();)o=l(f.Pb(),482),o.Bb&1||(n=Gl(o),!n.c&&(n.c=new Zd),dU(n.c,t.jj()));break}}this.ql(s)}},h.ql=function(t){wmt(this,t)},h.b=63,I(Vn,"ESuperAdapter",1175),D(1176,1175,USe,VQe),h.ql=function(t){Uy(this,t)},I(Vn,"EClassImpl/10",1176),D(1165,710,Ec),h.Ei=function(t,n){return Vue(this,t,n)},h.Fi=function(t){return cgt(this,t)},h.Gi=function(t,n){$N(this,t,n)},h.Hi=function(t){uN(this,t)},h.$i=function(t){return n7e(this,t)},h.Xi=function(t,n){return sce(this,t,n)},h.Wk=function(t,n){throw ue(new Qr)},h.Ii=function(){return new U8(this)},h.Ji=function(){return new OO(this)},h.Ki=function(t){return CN(this,t)},h.Xk=function(t,n){throw ue(new Qr)},h.Fk=function(t){return this},h.Qj=function(){return this.i!=0},h.Wb=function(t){throw ue(new Qr)},h.Gk=function(){throw ue(new Qr)},I(us,"EcoreEList/UnmodifiableEList",1165),D(328,1165,Ec,B5),h.Yi=function(){return!1},I(us,"EcoreEList/UnmodifiableEList/FastCompare",328),D(1168,328,Ec,H0t),h.dd=function(t){var n,r,s;if(De(t,179)&&(n=l(t,179),r=n.Lj(),r!=-1)){for(s=this.i;r4)if(this.fk(t)){if(this.al()){if(s=l(t,54),r=s.Eh(),w=r==this.b&&(this.ml()?s.yh(s.Fh(),l(Mn(il(this.b),this.Lj()).Hk(),29).kk())==jo(l(Mn(il(this.b),this.Lj()),19)).n:-1-s.Fh()==this.Lj()),this.nl()&&!w&&!r&&s.Jh()){for(o=0;o1||s==-1)):!1},h.ml=function(){var t,n,r;return n=Mn(il(this.b),this.Lj()),De(n,102)?(t=l(n,19),r=jo(t),!!r):!1},h.nl=function(){var t,n;return n=Mn(il(this.b),this.Lj()),De(n,102)?(t=l(n,19),(t.Bb&Lo)!=0):!1},h.dd=function(t){var n,r,s,o;if(s=this.zj(t),s>=0)return s;if(this.ol()){for(r=0,o=this.Ej();r=0;--t)CP(this,t,this.xj(t));return this.Fj()},h.Qc=function(t){var n;if(this.nl())for(n=this.Ej()-1;n>=0;--n)CP(this,n,this.xj(n));return this.Gj(t)},h.Gk=function(){nL(this)},h.Zi=function(t,n){return Ylt(this,t,n)},I(us,"DelegatingEcoreEList",756),D(1171,756,WSe,uit),h.qj=function(t,n){_fn(this,t,l(n,29))},h.rj=function(t){phn(this,l(t,29))},h.xj=function(t){var n,r;return n=l(Oe(fu(this.a),t),89),r=n.c,De(r,90)?l(r,29):(En(),Kf)},h.Cj=function(t){var n,r;return n=l(Ky(fu(this.a),t),89),r=n.c,De(r,90)?l(r,29):(En(),Kf)},h.Dj=function(t,n){return E7n(this,t,l(n,29))},h.Li=function(){return!1},h.Ij=function(t,n,r,s,o){return null},h.sj=function(){return new WQe(this)},h.tj=function(){$r(fu(this.a))},h.uj=function(t){return j1t(this,t)},h.vj=function(t){var n,r;for(r=t.Kc();r.Ob();)if(n=r.Pb(),!j1t(this,n))return!1;return!0},h.wj=function(t){var n,r,s;if(De(t,15)&&(s=l(t,15),s.gc()==fu(this.a).i)){for(n=s.Kc(),r=new ar(this);n.Ob();)if(qe(n.Pb())!==qe(dr(r)))return!1;return!0}return!1},h.yj=function(){var t,n,r,s,o;for(r=1,n=new ar(fu(this.a));n.e!=n.i.gc();)t=l(dr(n),89),s=(o=t.c,De(o,90)?l(o,29):(En(),Kf)),r=31*r+(s?ww(s):0);return r},h.zj=function(t){var n,r,s,o;for(s=0,r=new ar(fu(this.a));r.e!=r.i.gc();){if(n=l(dr(r),89),qe(t)===qe((o=n.c,De(o,90)?l(o,29):(En(),Kf))))return s;++s}return-1},h.Aj=function(){return fu(this.a).i==0},h.Bj=function(){return null},h.Ej=function(){return fu(this.a).i},h.Fj=function(){var t,n,r,s,o,f;for(f=fu(this.a).i,o=We(ka,jn,1,f,5,1),r=0,n=new ar(fu(this.a));n.e!=n.i.gc();)t=l(dr(n),89),o[r++]=(s=t.c,De(s,90)?l(s,29):(En(),Kf));return o},h.Gj=function(t){var n,r,s,o,f,g,w;for(w=fu(this.a).i,t.lengthw&&Ss(t,w,null),s=0,r=new ar(fu(this.a));r.e!=r.i.gc();)n=l(dr(r),89),f=(g=n.c,De(g,90)?l(g,29):(En(),Kf)),Ss(t,s++,f);return t},h.Hj=function(){var t,n,r,s,o;for(o=new e2,o.a+="[",t=fu(this.a),n=0,s=fu(this.a).i;n>16,o>=0?Oue(this,r):this.Cb.Th(this,-1-o,null,r))),Nh(this,t,6,r);case 9:return!this.a&&(this.a=new nt(Tp,this,9,5)),Fu(this.a,t,r)}return f=l(Mn((s=l(Gn(this,16),29),s||(En(),cm)),n),69),f.wk().zk(this,Ku(this),n-wr((En(),cm)),t,r)},h.Uh=function(t,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),ko(this.Ab,t,r);case 6:return Nh(this,null,6,r);case 7:return!this.A&&(this.A=new bl(Zu,this,7)),ko(this.A,t,r);case 9:return!this.a&&(this.a=new nt(Tp,this,9,5)),ko(this.a,t,r)}return o=l(Mn((s=l(Gn(this,16),29),s||(En(),cm)),n),69),o.wk().Ak(this,Ku(this),n-wr((En(),cm)),t,r)},h.Wh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Ww(this);case 4:return!!g8e(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Zk(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0;case 9:return!!this.a&&this.a.i!=0}return tf(this,t-wr((En(),cm)),Mn((n=l(Gn(this,16),29),n||cm),t))},h.bi=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab),!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Ls(this.Ab,l(n,16));return;case 1:VH(this,Zr(n));return;case 2:oae(this,Zr(n));return;case 5:eE(this,Zr(n));return;case 7:!this.A&&(this.A=new bl(Zu,this,7)),$r(this.A),!this.A&&(this.A=new bl(Zu,this,7)),Ls(this.A,l(n,16));return;case 8:KU(this,Ft(Pt(n)));return;case 9:!this.a&&(this.a=new nt(Tp,this,9,5)),$r(this.a),!this.a&&(this.a=new nt(Tp,this,9,5)),Ls(this.a,l(n,16));return}cf(this,t-wr((En(),cm)),Mn((r=l(Gn(this,16),29),r||cm),t),n)},h.ii=function(){return En(),cm},h.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab);return;case 1:De(this.Cb,184)&&(l(this.Cb,184).tb=null),Bu(this,null);return;case 2:_T(this,null),fT(this,this.D);return;case 5:eE(this,null);return;case 7:!this.A&&(this.A=new bl(Zu,this,7)),$r(this.A);return;case 8:KU(this,!0);return;case 9:!this.a&&(this.a=new nt(Tp,this,9,5)),$r(this.a);return}of(this,t-wr((En(),cm)),Mn((n=l(Gn(this,16),29),n||cm),t))},h.pi=function(){var t,n;if(this.a)for(t=0,n=this.a.i;t>16==5?l(this.Cb,685):null}return rf(this,t-wr((En(),$2)),Mn((s=l(Gn(this,16),29),s||$2),t),n,r)},h.Sh=function(t,n,r){var s,o,f;switch(n){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Fu(this.Ab,t,r);case 5:return this.Cb&&(r=(o=this.Db>>16,o>=0?Pgt(this,r):this.Cb.Th(this,-1-o,null,r))),Nh(this,t,5,r)}return f=l(Mn((s=l(Gn(this,16),29),s||(En(),$2)),n),69),f.wk().zk(this,Ku(this),n-wr((En(),$2)),t,r)},h.Uh=function(t,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),ko(this.Ab,t,r);case 5:return Nh(this,null,5,r)}return o=l(Mn((s=l(Gn(this,16),29),s||(En(),$2)),n),69),o.wk().Ak(this,Ku(this),n-wr((En(),$2)),t,r)},h.Wh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.d!=0;case 3:return!!this.b;case 4:return this.c!=null;case 5:return!!(this.Db>>16==5&&l(this.Cb,685))}return tf(this,t-wr((En(),$2)),Mn((n=l(Gn(this,16),29),n||$2),t))},h.bi=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab),!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Ls(this.Ab,l(n,16));return;case 1:Bu(this,Zr(n));return;case 2:hce(this,l(n,17).a);return;case 3:I2t(this,l(n,2039));return;case 4:dce(this,Zr(n));return}cf(this,t-wr((En(),$2)),Mn((r=l(Gn(this,16),29),r||$2),t),n)},h.ii=function(){return En(),$2},h.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab);return;case 1:Bu(this,null);return;case 2:hce(this,0);return;case 3:I2t(this,null);return;case 4:dce(this,null);return}of(this,t-wr((En(),$2)),Mn((n=l(Gn(this,16),29),n||$2),t))},h.Ib=function(){var t;return t=this.c,t??this.zb},h.b=null,h.c=null,h.d=0,I(Vn,"EEnumLiteralImpl",582);var nNn=Ts(Vn,"EFactoryImpl/InternalEDateTimeFormat");D(499,1,{2114:1},tO),I(Vn,"EFactoryImpl/1ClientInternalEDateTimeFormat",499),D(248,120,{110:1,94:1,93:1,89:1,58:1,114:1,54:1,99:1,248:1,119:1,120:1},iw),h.Ch=function(t,n,r){var s;return r=Nh(this,t,n,r),this.e&&De(t,179)&&(s=NV(this,this.e),s!=this.c&&(r=tE(this,s,r))),r},h.Lh=function(t,n,r){var s;switch(t){case 0:return this.f;case 1:return!this.d&&(this.d=new Qs(Wo,this,1)),this.d;case 2:return n?KV(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return n?Cue(this):this.a}return rf(this,t-wr((En(),M3)),Mn((s=l(Gn(this,16),29),s||M3),t),n,r)},h.Uh=function(t,n,r){var s,o;switch(n){case 0:return S1t(this,null,r);case 1:return!this.d&&(this.d=new Qs(Wo,this,1)),ko(this.d,t,r);case 3:return _1t(this,null,r)}return o=l(Mn((s=l(Gn(this,16),29),s||(En(),M3)),n),69),o.wk().Ak(this,Ku(this),n-wr((En(),M3)),t,r)},h.Wh=function(t){var n;switch(t){case 0:return!!this.f;case 1:return!!this.d&&this.d.i!=0;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return tf(this,t-wr((En(),M3)),Mn((n=l(Gn(this,16),29),n||M3),t))},h.bi=function(t,n){var r;switch(t){case 0:ept(this,l(n,89));return;case 1:!this.d&&(this.d=new Qs(Wo,this,1)),$r(this.d),!this.d&&(this.d=new Qs(Wo,this,1)),Ls(this.d,l(n,16));return;case 3:Gxe(this,l(n,89));return;case 4:h9e(this,l(n,850));return;case 5:oT(this,l(n,142));return}cf(this,t-wr((En(),M3)),Mn((r=l(Gn(this,16),29),r||M3),t),n)},h.ii=function(){return En(),M3},h.ki=function(t){var n;switch(t){case 0:ept(this,null);return;case 1:!this.d&&(this.d=new Qs(Wo,this,1)),$r(this.d);return;case 3:Gxe(this,null);return;case 4:h9e(this,null);return;case 5:oT(this,null);return}of(this,t-wr((En(),M3)),Mn((n=l(Gn(this,16),29),n||M3),t))},h.Ib=function(){var t;return t=new Eh(d0(this)),t.a+=" (expression: ",Ole(this,t),t.a+=")",t.a};var KPe;I(Vn,"EGenericTypeImpl",248),D(2067,2062,tK),h.Gi=function(t,n){ait(this,t,n)},h.Wk=function(t,n){return ait(this,this.gc(),t),n},h.$i=function(t){return hf(this.pj(),t)},h.Ii=function(){return this.Ji()},h.pj=function(){return new JQe(this)},h.Ji=function(){return this.Ki(0)},h.Ki=function(t){return this.pj().fd(t)},h.Xk=function(t,n){return Fy(this,t,!0),n},h.Ti=function(t,n){var r,s;return s=Bue(this,n),r=this.fd(t),r.Rb(s),s},h.Ui=function(t,n){var r;Fy(this,n,!0),r=this.fd(t),r.Rb(n)},I(us,"AbstractSequentialInternalEList",2067),D(496,2067,tK,IO),h.$i=function(t){return hf(this.pj(),t)},h.Ii=function(){return this.b==null?(r2(),r2(),xF):this.sl()},h.pj=function(){return new Cnt(this.a,this.b)},h.Ji=function(){return this.b==null?(r2(),r2(),xF):this.sl()},h.Ki=function(t){var n,r;if(this.b==null){if(t<0||t>1)throw ue(new rc(SL+t+", size=0"));return r2(),r2(),xF}for(r=this.sl(),n=0;n0;)if(n=this.c[--this.d],(!this.e||n.pk()!=uC||n.Lj()!=0)&&(!this.vl()||this.b.Xh(n))){if(f=this.b.Nh(n,this.ul()),this.f=(Ro(),l(n,69).xk()),this.f||n.Jk()){if(this.ul()?(s=l(f,15),this.k=s):(s=l(f,71),this.k=this.j=s),De(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ki(this.k.gc()):this.k.fd(this.k.gc()),this.p?Wpt(this,this.p):s2t(this))return o=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(t=l(o,76),t.Lk(),r=t.md(),this.i=r):(r=o,this.i=r),this.g=-3,!0}else if(f!=null)return this.k=null,this.p=null,r=f,this.i=r,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return o=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(t=l(o,76),t.Lk(),r=t.md(),this.i=r):(r=o,this.i=r),this.g=-3,!0}},h.Pb=function(){return RU(this)},h.Tb=function(){return this.a},h.Ub=function(){var t;if(this.g<-1||this.Sb())return--this.a,this.g=0,t=this.i,this.Sb(),t;throw ue(new Dc)},h.Vb=function(){return this.a-1},h.Qb=function(){throw ue(new Qr)},h.ul=function(){return!1},h.Wb=function(t){throw ue(new Qr)},h.vl=function(){return!0},h.a=0,h.d=0,h.f=!1,h.g=0,h.n=0,h.o=0;var xF;I(us,"EContentsEList/FeatureIteratorImpl",287),D(711,287,nK,n4e),h.ul=function(){return!0},I(us,"EContentsEList/ResolvingFeatureIteratorImpl",711),D(1178,711,nK,Vrt),h.vl=function(){return!1},I(Vn,"ENamedElementImpl/1/1",1178),D(1179,287,nK,Grt),h.vl=function(){return!1},I(Vn,"ENamedElementImpl/1/2",1179),D(39,152,rB,Ay,Boe,_a,Qoe,rp,l0,p7e,Cct,b7e,Sct,O6e,_ct,w7e,Act,N6e,Lct,m7e,Mct,Q_,dN,moe,v7e,Dct,P6e,Ict),h.Kj=function(){return J6e(this)},h.Rj=function(){var t;return t=J6e(this),t?t.ik():null},h.hj=function(t){return this.b==-1&&this.a&&(this.b=this.c.Hh(this.a.Lj(),this.a.pk())),this.c.yh(this.b,t)},h.jj=function(){return this.c},h.Sj=function(){var t;return t=J6e(this),t?t.tk():!1},h.b=-1,I(Vn,"ENotificationImpl",39),D(411,292,{110:1,94:1,93:1,155:1,197:1,58:1,62:1,114:1,481:1,54:1,99:1,158:1,411:1,292:1,119:1,120:1},nse),h.Ah=function(t){return Rgt(this,t)},h.Lh=function(t,n,r){var s,o,f;switch(t){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hn(),!!(this.Bb&256);case 3:return Hn(),!!(this.Bb&512);case 4:return bt(this.s);case 5:return bt(this.t);case 6:return Hn(),f=this.t,f>1||f==-1;case 7:return Hn(),o=this.s,o>=1;case 8:return n?Of(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?l(this.Cb,29):null;case 11:return!this.d&&(this.d=new bl(Zu,this,11)),this.d;case 12:return!this.c&&(this.c=new nt(L3,this,12,10)),this.c;case 13:return!this.a&&(this.a=new FO(this,this)),this.a;case 14:return Kl(this)}return rf(this,t-wr((En(),z2)),Mn((s=l(Gn(this,16),29),s||z2),t),n,r)},h.Sh=function(t,n,r){var s,o,f;switch(n){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Fu(this.Ab,t,r);case 10:return this.Cb&&(r=(o=this.Db>>16,o>=0?Rgt(this,r):this.Cb.Th(this,-1-o,null,r))),Nh(this,t,10,r);case 12:return!this.c&&(this.c=new nt(L3,this,12,10)),Fu(this.c,t,r)}return f=l(Mn((s=l(Gn(this,16),29),s||(En(),z2)),n),69),f.wk().zk(this,Ku(this),n-wr((En(),z2)),t,r)},h.Uh=function(t,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),ko(this.Ab,t,r);case 9:return noe(this,r);case 10:return Nh(this,null,10,r);case 11:return!this.d&&(this.d=new bl(Zu,this,11)),ko(this.d,t,r);case 12:return!this.c&&(this.c=new nt(L3,this,12,10)),ko(this.c,t,r);case 14:return ko(Kl(this),t,r)}return o=l(Mn((s=l(Gn(this,16),29),s||(En(),z2)),n),69),o.wk().Ak(this,Ku(this),n-wr((En(),z2)),t,r)},h.Wh=function(t){var n,r,s;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return s=this.t,s>1||s==-1;case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&_w(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&_w(this.q).i==0);case 10:return!!(this.Db>>16==10&&l(this.Cb,29));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&Kl(this.a.a).i!=0&&!(this.b&&Tue(this.b));case 14:return!!this.b&&Tue(this.b)}return tf(this,t-wr((En(),z2)),Mn((n=l(Gn(this,16),29),n||z2),t))},h.bi=function(t,n){var r,s;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab),!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Ls(this.Ab,l(n,16));return;case 1:Bu(this,Zr(n));return;case 2:m2(this,Ft(Pt(n)));return;case 3:v2(this,Ft(Pt(n)));return;case 4:d2(this,l(n,17).a);return;case 5:Oy(this,l(n,17).a);return;case 8:ev(this,l(n,142));return;case 9:s=$1(this,l(n,89),null),s&&s.oj();return;case 11:!this.d&&(this.d=new bl(Zu,this,11)),$r(this.d),!this.d&&(this.d=new bl(Zu,this,11)),Ls(this.d,l(n,16));return;case 12:!this.c&&(this.c=new nt(L3,this,12,10)),$r(this.c),!this.c&&(this.c=new nt(L3,this,12,10)),Ls(this.c,l(n,16));return;case 13:!this.a&&(this.a=new FO(this,this)),nL(this.a),!this.a&&(this.a=new FO(this,this)),Ls(this.a,l(n,16));return;case 14:$r(Kl(this)),Ls(Kl(this),l(n,16));return}cf(this,t-wr((En(),z2)),Mn((r=l(Gn(this,16),29),r||z2),t),n)},h.ii=function(){return En(),z2},h.ki=function(t){var n,r;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab);return;case 1:Bu(this,null);return;case 2:m2(this,!0);return;case 3:v2(this,!0);return;case 4:d2(this,0);return;case 5:Oy(this,1);return;case 8:ev(this,null);return;case 9:r=$1(this,null,null),r&&r.oj();return;case 11:!this.d&&(this.d=new bl(Zu,this,11)),$r(this.d);return;case 12:!this.c&&(this.c=new nt(L3,this,12,10)),$r(this.c);return;case 13:this.a&&nL(this.a);return;case 14:this.b&&$r(this.b);return}of(this,t-wr((En(),z2)),Mn((n=l(Gn(this,16),29),n||z2),t))},h.pi=function(){var t,n;if(this.c)for(t=0,n=this.c.i;tw&&Ss(t,w,null),s=0,r=new ar(Kl(this.a));r.e!=r.i.gc();)n=l(dr(r),89),f=(g=n.c,g||(En(),td)),Ss(t,s++,f);return t},h.Hj=function(){var t,n,r,s,o;for(o=new e2,o.a+="[",t=Kl(this.a),n=0,s=Kl(this.a).i;n1);case 5:return iA(this,t,n,r,s,this.i-l(r,15).gc()>0);default:return new rp(this.e,t,this.c,n,r,s,!0)}},h.Tj=function(){return!0},h.Qj=function(){return Tue(this)},h.Gk=function(){$r(this)},I(Vn,"EOperationImpl/2",1377),D(507,1,{2037:1,507:1},cnt),I(Vn,"EPackageImpl/1",507),D(14,83,Ec,nt),h.il=function(){return this.d},h.jl=function(){return this.b},h.ml=function(){return!0},h.b=0,I(us,"EObjectContainmentWithInverseEList",14),D(365,14,Ec,V8),h.nl=function(){return!0},h.Wi=function(t,n){return Ex(this,t,l(n,58))},I(us,"EObjectContainmentWithInverseEList/Resolving",365),D(308,365,Ec,ky),h.Ni=function(){this.a.tb=null},I(Vn,"EPackageImpl/2",308),D(1278,1,{},gre),I(Vn,"EPackageImpl/3",1278),D(733,45,w6,i3e),h._b=function(t){return Da(t)?woe(this,t):!!zo(this.f,t)},I(Vn,"EPackageRegistryImpl",733),D(518,292,{110:1,94:1,93:1,155:1,197:1,58:1,2116:1,114:1,481:1,54:1,99:1,158:1,518:1,292:1,119:1,120:1},rse),h.Ah=function(t){return jgt(this,t)},h.Lh=function(t,n,r){var s,o,f;switch(t){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hn(),!!(this.Bb&256);case 3:return Hn(),!!(this.Bb&512);case 4:return bt(this.s);case 5:return bt(this.t);case 6:return Hn(),f=this.t,f>1||f==-1;case 7:return Hn(),o=this.s,o>=1;case 8:return n?Of(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?l(this.Cb,62):null}return rf(this,t-wr((En(),F4)),Mn((s=l(Gn(this,16),29),s||F4),t),n,r)},h.Sh=function(t,n,r){var s,o,f;switch(n){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Fu(this.Ab,t,r);case 10:return this.Cb&&(r=(o=this.Db>>16,o>=0?jgt(this,r):this.Cb.Th(this,-1-o,null,r))),Nh(this,t,10,r)}return f=l(Mn((s=l(Gn(this,16),29),s||(En(),F4)),n),69),f.wk().zk(this,Ku(this),n-wr((En(),F4)),t,r)},h.Uh=function(t,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),ko(this.Ab,t,r);case 9:return noe(this,r);case 10:return Nh(this,null,10,r)}return o=l(Mn((s=l(Gn(this,16),29),s||(En(),F4)),n),69),o.wk().Ak(this,Ku(this),n-wr((En(),F4)),t,r)},h.Wh=function(t){var n,r,s;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return s=this.t,s>1||s==-1;case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&_w(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&_w(this.q).i==0);case 10:return!!(this.Db>>16==10&&l(this.Cb,62))}return tf(this,t-wr((En(),F4)),Mn((n=l(Gn(this,16),29),n||F4),t))},h.ii=function(){return En(),F4},I(Vn,"EParameterImpl",518),D(102,462,{110:1,94:1,93:1,155:1,197:1,58:1,19:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,102:1,462:1,292:1,119:1,120:1,692:1},o4e),h.Lh=function(t,n,r){var s,o,f,g;switch(t){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hn(),!!(this.Bb&256);case 3:return Hn(),!!(this.Bb&512);case 4:return bt(this.s);case 5:return bt(this.t);case 6:return Hn(),g=this.t,g>1||g==-1;case 7:return Hn(),o=this.s,o>=1;case 8:return n?Of(this):this.r;case 9:return this.q;case 10:return Hn(),!!(this.Bb&b0);case 11:return Hn(),!!(this.Bb&a4);case 12:return Hn(),!!(this.Bb&Zy);case 13:return this.j;case 14:return KT(this);case 15:return Hn(),!!(this.Bb&Cl);case 16:return Hn(),!!(this.Bb&Sd);case 17:return Cy(this);case 18:return Hn(),!!(this.Bb&nu);case 19:return Hn(),f=jo(this),!!(f&&f.Bb&nu);case 20:return Hn(),!!(this.Bb&Lo);case 21:return n?jo(this):this.b;case 22:return n?i8e(this):nlt(this);case 23:return!this.a&&(this.a=new q5(N4,this,23)),this.a}return rf(this,t-wr((En(),u7)),Mn((s=l(Gn(this,16),29),s||u7),t),n,r)},h.Wh=function(t){var n,r,s,o;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return o=this.t,o>1||o==-1;case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&_w(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&_w(this.q).i==0);case 10:return(this.Bb&b0)==0;case 11:return(this.Bb&a4)!=0;case 12:return(this.Bb&Zy)!=0;case 13:return this.j!=null;case 14:return KT(this)!=null;case 15:return(this.Bb&Cl)!=0;case 16:return(this.Bb&Sd)!=0;case 17:return!!Cy(this);case 18:return(this.Bb&nu)!=0;case 19:return s=jo(this),!!s&&(s.Bb&nu)!=0;case 20:return(this.Bb&Lo)==0;case 21:return!!this.b;case 22:return!!nlt(this);case 23:return!!this.a&&this.a.i!=0}return tf(this,t-wr((En(),u7)),Mn((n=l(Gn(this,16),29),n||u7),t))},h.bi=function(t,n){var r,s;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab),!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Ls(this.Ab,l(n,16));return;case 1:Loe(this,Zr(n));return;case 2:m2(this,Ft(Pt(n)));return;case 3:v2(this,Ft(Pt(n)));return;case 4:d2(this,l(n,17).a);return;case 5:Oy(this,l(n,17).a);return;case 8:ev(this,l(n,142));return;case 9:s=$1(this,l(n,89),null),s&&s.oj();return;case 10:MT(this,Ft(Pt(n)));return;case 11:OT(this,Ft(Pt(n)));return;case 12:DT(this,Ft(Pt(n)));return;case 13:mye(this,Zr(n));return;case 15:IT(this,Ft(Pt(n)));return;case 16:NT(this,Ft(Pt(n)));return;case 18:X2n(this,Ft(Pt(n)));return;case 20:B8e(this,Ft(Pt(n)));return;case 21:N7e(this,l(n,19));return;case 23:!this.a&&(this.a=new q5(N4,this,23)),$r(this.a),!this.a&&(this.a=new q5(N4,this,23)),Ls(this.a,l(n,16));return}cf(this,t-wr((En(),u7)),Mn((r=l(Gn(this,16),29),r||u7),t),n)},h.ii=function(){return En(),u7},h.ki=function(t){var n,r;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab);return;case 1:De(this.Cb,90)&&Uy(Gl(l(this.Cb,90)),4),Bu(this,null);return;case 2:m2(this,!0);return;case 3:v2(this,!0);return;case 4:d2(this,0);return;case 5:Oy(this,1);return;case 8:ev(this,null);return;case 9:r=$1(this,null,null),r&&r.oj();return;case 10:MT(this,!0);return;case 11:OT(this,!1);return;case 12:DT(this,!1);return;case 13:this.i=null,LU(this,null);return;case 15:IT(this,!1);return;case 16:NT(this,!1);return;case 18:P8e(this,!1),De(this.Cb,90)&&Uy(Gl(l(this.Cb,90)),2);return;case 20:B8e(this,!0);return;case 21:N7e(this,null);return;case 23:!this.a&&(this.a=new q5(N4,this,23)),$r(this.a);return}of(this,t-wr((En(),u7)),Mn((n=l(Gn(this,16),29),n||u7),t))},h.pi=function(){i8e(this),Xk(ac((kl(),no),this)),Of(this),this.Bb|=1},h.uk=function(){return jo(this)},h._k=function(){var t;return t=jo(this),!!t&&(t.Bb&nu)!=0},h.al=function(){return(this.Bb&nu)!=0},h.bl=function(){return(this.Bb&Lo)!=0},h.Yk=function(t,n){return this.c=null,C8e(this,t,n)},h.Ib=function(){var t;return this.Db&64?UV(this):(t=new Af(UV(this)),t.a+=" (containment: ",t2(t,(this.Bb&nu)!=0),t.a+=", resolveProxies: ",t2(t,(this.Bb&Lo)!=0),t.a+=")",t.a)},I(Vn,"EReferenceImpl",102),D(561,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,561:1,119:1,120:1},NS),h.Fb=function(t){return this===t},h.ld=function(){return this.b},h.md=function(){return this.c},h.Hb=function(){return ww(this)},h.Di=function(t){tgn(this,Zr(t))},h.nd=function(t){return $dn(this,Zr(t))},h.Lh=function(t,n,r){var s;switch(t){case 0:return this.b;case 1:return this.c}return rf(this,t-wr((En(),Do)),Mn((s=l(Gn(this,16),29),s||Do),t),n,r)},h.Wh=function(t){var n;switch(t){case 0:return this.b!=null;case 1:return this.c!=null}return tf(this,t-wr((En(),Do)),Mn((n=l(Gn(this,16),29),n||Do),t))},h.bi=function(t,n){var r;switch(t){case 0:ngn(this,Zr(n));return;case 1:D7e(this,Zr(n));return}cf(this,t-wr((En(),Do)),Mn((r=l(Gn(this,16),29),r||Do),t),n)},h.ii=function(){return En(),Do},h.ki=function(t){var n;switch(t){case 0:M7e(this,null);return;case 1:D7e(this,null);return}of(this,t-wr((En(),Do)),Mn((n=l(Gn(this,16),29),n||Do),t))},h.Bi=function(){var t;return this.a==-1&&(t=this.b,this.a=t==null?0:g2(t)),this.a},h.Ci=function(t){this.a=t},h.Ib=function(){var t;return this.Db&64?d0(this):(t=new Af(d0(this)),t.a+=" (key: ",Jo(t,this.b),t.a+=", value: ",Jo(t,this.c),t.a+=")",t.a)},h.a=-1,h.b=null,h.c=null;var Qc=I(Vn,"EStringToStringMapEntryImpl",561),SAt=Ts(us,"FeatureMap/Entry/Internal");D(576,1,rK),h.xl=function(t){return this.yl(l(t,54))},h.yl=function(t){return this.xl(t)},h.Fb=function(t){var n,r;return this===t?!0:De(t,76)?(n=l(t,76),n.Lk()==this.c?(r=this.md(),r==null?n.md()==null:Fi(r,n.md())):!1):!1},h.Lk=function(){return this.c},h.Hb=function(){var t;return t=this.md(),ts(this.c)^(t==null?0:ts(t))},h.Ib=function(){var t,n;return t=this.c,n=Ah(t.qk()).yi(),t.xe(),(n!=null&&n.length!=0?n+":"+t.xe():t.xe())+"="+this.md()},I(Vn,"EStructuralFeatureImpl/BasicFeatureMapEntry",576),D(791,576,rK,b4e),h.yl=function(t){return new b4e(this.c,t)},h.md=function(){return this.a},h.zl=function(t,n,r){return j3n(this,t,this.a,n,r)},h.Al=function(t,n,r){return $3n(this,t,this.a,n,r)},I(Vn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",791),D(1350,1,{},unt),h.yk=function(t,n,r,s,o){var f;return f=l(rT(t,this.b),220),f.Yl(this.a).Fk(s)},h.zk=function(t,n,r,s,o){var f;return f=l(rT(t,this.b),220),f.Pl(this.a,s,o)},h.Ak=function(t,n,r,s,o){var f;return f=l(rT(t,this.b),220),f.Ql(this.a,s,o)},h.Bk=function(t,n,r){var s;return s=l(rT(t,this.b),220),s.Yl(this.a).Qj()},h.Ck=function(t,n,r,s){var o;o=l(rT(t,this.b),220),o.Yl(this.a).Wb(s)},h.Dk=function(t,n,r){return l(rT(t,this.b),220).Yl(this.a)},h.Ek=function(t,n,r){var s;s=l(rT(t,this.b),220),s.Yl(this.a).Gk()},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1350),D(91,1,{},s2,zm,o2,Gm),h.yk=function(t,n,r,s,o){var f;if(f=n.li(r),f==null&&n.mi(r,f=nG(this,t)),!o)switch(this.e){case 50:case 41:return l(f,597).bk();case 40:return l(f,220).Vl()}return f},h.zk=function(t,n,r,s,o){var f,g;return g=n.li(r),g==null&&n.mi(r,g=nG(this,t)),f=l(g,71).Wk(s,o),f},h.Ak=function(t,n,r,s,o){var f;return f=n.li(r),f!=null&&(o=l(f,71).Xk(s,o)),o},h.Bk=function(t,n,r){var s;return s=n.li(r),s!=null&&l(s,79).Qj()},h.Ck=function(t,n,r,s){var o;o=l(n.li(r),79),!o&&n.mi(r,o=nG(this,t)),o.Wb(s)},h.Dk=function(t,n,r){var s,o;return o=n.li(r),o==null&&n.mi(r,o=nG(this,t)),De(o,79)?l(o,79):(s=l(n.li(r),15),new XQe(s))},h.Ek=function(t,n,r){var s;s=l(n.li(r),79),!s&&n.mi(r,s=nG(this,t)),s.Gk()},h.b=0,h.e=0,I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateMany",91),D(512,1,{}),h.zk=function(t,n,r,s,o){throw ue(new Qr)},h.Ak=function(t,n,r,s,o){throw ue(new Qr)},h.Dk=function(t,n,r){return new oot(this,t,n,r)};var Lg;I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",512),D(1367,1,v0e,oot),h.Fk=function(t){return this.a.yk(this.c,this.d,this.b,t,!0)},h.Qj=function(){return this.a.Bk(this.c,this.d,this.b)},h.Wb=function(t){this.a.Ck(this.c,this.d,this.b,t)},h.Gk=function(){this.a.Ek(this.c,this.d,this.b)},h.b=0,I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1367),D(784,512,{},i6e),h.yk=function(t,n,r,s,o){return wle(t,t.Ph(),t.Fh())==this.b?this.bl()&&s?sle(t):t.Ph():null},h.zk=function(t,n,r,s,o){var f,g;return t.Ph()&&(o=(f=t.Fh(),f>=0?t.Ah(o):t.Ph().Th(t,-1-f,null,o))),g=vs(t.Dh(),this.e),t.Ch(s,g,o)},h.Ak=function(t,n,r,s,o){var f;return f=vs(t.Dh(),this.e),t.Ch(null,f,o)},h.Bk=function(t,n,r){var s;return s=vs(t.Dh(),this.e),!!t.Ph()&&t.Fh()==s},h.Ck=function(t,n,r,s){var o,f,g,w,T;if(s!=null&&!Tle(this.a,s))throw ue(new Ek(iK+(De(s,58)?Vxe(l(s,58).Dh()):h7e(dh(s)))+sK+this.a+"'"));if(o=t.Ph(),g=vs(t.Dh(),this.e),qe(s)!==qe(o)||t.Fh()!=g&&s!=null){if(jT(t,l(s,58)))throw ue(new Wn(EL+t.Ib()));T=null,o&&(T=(f=t.Fh(),f>=0?t.Ah(T):t.Ph().Th(t,-1-f,null,T))),w=l(s,54),w&&(T=w.Rh(t,vs(w.Dh(),this.b),null,T)),T=t.Ch(w,g,T),T&&T.oj()}else t.vh()&&t.wh()&&Bi(t,new _a(t,1,g,s,s))},h.Ek=function(t,n,r){var s,o,f,g;s=t.Ph(),s?(g=(o=t.Fh(),o>=0?t.Ah(null):t.Ph().Th(t,-1-o,null,null)),f=vs(t.Dh(),this.e),g=t.Ch(null,f,g),g&&g.oj()):t.vh()&&t.wh()&&Bi(t,new Q_(t,1,this.e,null,null))},h.bl=function(){return!1},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",784),D(1351,784,{},Qit),h.bl=function(){return!0},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1351),D(574,512,{}),h.yk=function(t,n,r,s,o){var f;return f=n.li(r),f==null?this.b:qe(f)===qe(Lg)?null:f},h.Bk=function(t,n,r){var s;return s=n.li(r),s!=null&&(qe(s)===qe(Lg)||!Fi(s,this.b))},h.Ck=function(t,n,r,s){var o,f;t.vh()&&t.wh()?(o=(f=n.li(r),f==null?this.b:qe(f)===qe(Lg)?null:f),s==null?this.c!=null?(n.mi(r,null),s=this.b):this.b!=null?n.mi(r,Lg):n.mi(r,null):(this.Bl(s),n.mi(r,s)),Bi(t,this.d.Cl(t,1,this.e,o,s))):s==null?this.c!=null?n.mi(r,null):this.b!=null?n.mi(r,Lg):n.mi(r,null):(this.Bl(s),n.mi(r,s))},h.Ek=function(t,n,r){var s,o;t.vh()&&t.wh()?(s=(o=n.li(r),o==null?this.b:qe(o)===qe(Lg)?null:o),n.ni(r),Bi(t,this.d.Cl(t,1,this.e,s,this.b))):n.ni(r)},h.Bl=function(t){throw ue(new oJe)},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",574),D(L6,1,{},PS),h.Cl=function(t,n,r,s,o){return new Q_(t,n,r,s,o)},h.Dl=function(t,n,r,s,o,f){return new moe(t,n,r,s,o,f)};var WPe,YPe,XPe,QPe,JPe,ZPe,eBe,vpe,tBe;I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",L6),D(1368,L6,{},q0),h.Cl=function(t,n,r,s,o){return new P6e(t,n,r,Ft(Pt(s)),Ft(Pt(o)))},h.Dl=function(t,n,r,s,o,f){return new Ict(t,n,r,Ft(Pt(s)),Ft(Pt(o)),f)},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1368),D(1369,L6,{},BI),h.Cl=function(t,n,r,s,o){return new p7e(t,n,r,l(s,222).a,l(o,222).a)},h.Dl=function(t,n,r,s,o,f){return new Cct(t,n,r,l(s,222).a,l(o,222).a,f)},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1369),D(1370,L6,{},FI),h.Cl=function(t,n,r,s,o){return new b7e(t,n,r,l(s,180).a,l(o,180).a)},h.Dl=function(t,n,r,s,o,f){return new Sct(t,n,r,l(s,180).a,l(o,180).a,f)},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1370),D(1371,L6,{},d8),h.Cl=function(t,n,r,s,o){return new O6e(t,n,r,ze(Ge(s)),ze(Ge(o)))},h.Dl=function(t,n,r,s,o,f){return new _ct(t,n,r,ze(Ge(s)),ze(Ge(o)),f)},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1371),D(1372,L6,{},pre),h.Cl=function(t,n,r,s,o){return new w7e(t,n,r,l(s,161).a,l(o,161).a)},h.Dl=function(t,n,r,s,o,f){return new Act(t,n,r,l(s,161).a,l(o,161).a,f)},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1372),D(1373,L6,{},bre),h.Cl=function(t,n,r,s,o){return new N6e(t,n,r,l(s,17).a,l(o,17).a)},h.Dl=function(t,n,r,s,o,f){return new Lct(t,n,r,l(s,17).a,l(o,17).a,f)},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1373),D(1374,L6,{},mre),h.Cl=function(t,n,r,s,o){return new m7e(t,n,r,l(s,168).a,l(o,168).a)},h.Dl=function(t,n,r,s,o,f){return new Mct(t,n,r,l(s,168).a,l(o,168).a,f)},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1374),D(1375,L6,{},vre),h.Cl=function(t,n,r,s,o){return new v7e(t,n,r,l(s,191).a,l(o,191).a)},h.Dl=function(t,n,r,s,o,f){return new Dct(t,n,r,l(s,191).a,l(o,191).a,f)},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1375),D(1353,574,{},cot),h.Bl=function(t){if(!this.a.fk(t))throw ue(new Ek(iK+dh(t)+sK+this.a+"'"))},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1353),D(1354,574,{},Yst),h.Bl=function(t){},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1354),D(785,574,{}),h.Bk=function(t,n,r){var s;return s=n.li(r),s!=null},h.Ck=function(t,n,r,s){var o,f;t.vh()&&t.wh()?(o=!0,f=n.li(r),f==null?(o=!1,f=this.b):qe(f)===qe(Lg)&&(f=null),s==null?this.c!=null?(n.mi(r,null),s=this.b):n.mi(r,Lg):(this.Bl(s),n.mi(r,s)),Bi(t,this.d.Dl(t,1,this.e,f,s,!o))):s==null?this.c!=null?n.mi(r,null):n.mi(r,Lg):(this.Bl(s),n.mi(r,s))},h.Ek=function(t,n,r){var s,o;t.vh()&&t.wh()?(s=!0,o=n.li(r),o==null?(s=!1,o=this.b):qe(o)===qe(Lg)&&(o=null),n.ni(r),Bi(t,this.d.Dl(t,2,this.e,o,this.b,s))):n.ni(r)},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",785),D(1355,785,{},uot),h.Bl=function(t){if(!this.a.fk(t))throw ue(new Ek(iK+dh(t)+sK+this.a+"'"))},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1355),D(1356,785,{},Xst),h.Bl=function(t){},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1356),D(410,512,{},bH),h.yk=function(t,n,r,s,o){var f,g,w,T,C;if(C=n.li(r),this.tk()&&qe(C)===qe(Lg))return null;if(this.bl()&&s&&C!=null){if(w=l(C,54),w.Vh()&&(T=Lb(t,w),w!=T)){if(!Tle(this.a,T))throw ue(new Ek(iK+dh(T)+sK+this.a+"'"));n.mi(r,C=T),this.al()&&(f=l(T,54),g=w.Th(t,this.b?vs(w.Dh(),this.b):-1-vs(t.Dh(),this.e),null,null),!f.Ph()&&(g=f.Rh(t,this.b?vs(f.Dh(),this.b):-1-vs(t.Dh(),this.e),null,g)),g&&g.oj()),t.vh()&&t.wh()&&Bi(t,new Q_(t,9,this.e,w,T))}return C}else return C},h.zk=function(t,n,r,s,o){var f,g;return g=n.li(r),qe(g)===qe(Lg)&&(g=null),n.mi(r,s),this.Mj()?qe(g)!==qe(s)&&g!=null&&(f=l(g,54),o=f.Th(t,vs(f.Dh(),this.b),null,o)):this.al()&&g!=null&&(o=l(g,54).Th(t,-1-vs(t.Dh(),this.e),null,o)),t.vh()&&t.wh()&&(!o&&(o=new hb(4)),o.nj(new Q_(t,1,this.e,g,s))),o},h.Ak=function(t,n,r,s,o){var f;return f=n.li(r),qe(f)===qe(Lg)&&(f=null),n.ni(r),t.vh()&&t.wh()&&(!o&&(o=new hb(4)),this.tk()?o.nj(new Q_(t,2,this.e,f,null)):o.nj(new Q_(t,1,this.e,f,null))),o},h.Bk=function(t,n,r){var s;return s=n.li(r),s!=null},h.Ck=function(t,n,r,s){var o,f,g,w,T;if(s!=null&&!Tle(this.a,s))throw ue(new Ek(iK+(De(s,58)?Vxe(l(s,58).Dh()):h7e(dh(s)))+sK+this.a+"'"));T=n.li(r),w=T!=null,this.tk()&&qe(T)===qe(Lg)&&(T=null),g=null,this.Mj()?qe(T)!==qe(s)&&(T!=null&&(o=l(T,54),g=o.Th(t,vs(o.Dh(),this.b),null,g)),s!=null&&(o=l(s,54),g=o.Rh(t,vs(o.Dh(),this.b),null,g))):this.al()&&qe(T)!==qe(s)&&(T!=null&&(g=l(T,54).Th(t,-1-vs(t.Dh(),this.e),null,g)),s!=null&&(g=l(s,54).Rh(t,-1-vs(t.Dh(),this.e),null,g))),s==null&&this.tk()?n.mi(r,Lg):n.mi(r,s),t.vh()&&t.wh()?(f=new moe(t,1,this.e,T,s,this.tk()&&!w),g?(g.nj(f),g.oj()):Bi(t,f)):g&&g.oj()},h.Ek=function(t,n,r){var s,o,f,g,w;w=n.li(r),g=w!=null,this.tk()&&qe(w)===qe(Lg)&&(w=null),f=null,w!=null&&(this.Mj()?(s=l(w,54),f=s.Th(t,vs(s.Dh(),this.b),null,f)):this.al()&&(f=l(w,54).Th(t,-1-vs(t.Dh(),this.e),null,f))),n.ni(r),t.vh()&&t.wh()?(o=new moe(t,this.tk()?2:1,this.e,w,null,g),f?(f.nj(o),f.oj()):Bi(t,o)):f&&f.oj()},h.Mj=function(){return!1},h.al=function(){return!1},h.bl=function(){return!1},h.tk=function(){return!1},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",410),D(575,410,{},xae),h.al=function(){return!0},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",575),D(1359,575,{},Wrt),h.bl=function(){return!0},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1359),D(787,575,{},r4e),h.tk=function(){return!0},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",787),D(1361,787,{},Yrt),h.bl=function(){return!0},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1361),D(650,575,{},Nae),h.Mj=function(){return!0},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",650),D(1360,650,{},Jit),h.bl=function(){return!0},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1360),D(788,650,{},H4e),h.tk=function(){return!0},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",788),D(1362,788,{},Zit),h.bl=function(){return!0},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1362),D(651,410,{},i4e),h.bl=function(){return!0},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",651),D(1363,651,{},Xrt),h.tk=function(){return!0},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1363),D(789,651,{},z4e),h.Mj=function(){return!0},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",789),D(1364,789,{},est),h.tk=function(){return!0},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1364),D(1357,410,{},Qrt),h.tk=function(){return!0},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1357),D(786,410,{},q4e),h.Mj=function(){return!0},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",786),D(1358,786,{},tst),h.tk=function(){return!0},I(Vn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1358),D(790,576,rK,j5e),h.yl=function(t){return new j5e(this.a,this.c,t)},h.md=function(){return this.b},h.zl=function(t,n,r){return Fvn(this,t,this.b,r)},h.Al=function(t,n,r){return Rvn(this,t,this.b,r)},I(Vn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",790),D(1365,1,v0e,XQe),h.Fk=function(t){return this.a},h.Qj=function(){return De(this.a,97)?l(this.a,97).Qj():!this.a.dc()},h.Wb=function(t){this.a.$b(),this.a.Gc(l(t,15))},h.Gk=function(){De(this.a,97)?l(this.a,97).Gk():this.a.$b()},I(Vn,"EStructuralFeatureImpl/SettingMany",1365),D(1366,576,rK,Tut),h.xl=function(t){return new Eae((Wi(),GM),this.b.ri(this.a,t))},h.md=function(){return null},h.zl=function(t,n,r){return r},h.Al=function(t,n,r){return r},I(Vn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1366),D(652,576,rK,Eae),h.xl=function(t){return new Eae(this.c,t)},h.md=function(){return this.a},h.zl=function(t,n,r){return r},h.Al=function(t,n,r){return r},I(Vn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",652),D(403,506,Pd,Zd),h.aj=function(t){return We(Uf,jn,29,t,0,1)},h.Yi=function(){return!1},I(Vn,"ESuperAdapter/1",403),D(457,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,850:1,54:1,99:1,158:1,457:1,119:1,120:1},BS),h.Lh=function(t,n,r){var s;switch(t){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new K_(this,Wo,this)),this.a}return rf(this,t-wr((En(),D3)),Mn((s=l(Gn(this,16),29),s||D3),t),n,r)},h.Uh=function(t,n,r){var s,o;switch(n){case 0:return!this.Ab&&(this.Ab=new nt(vi,this,0,3)),ko(this.Ab,t,r);case 2:return!this.a&&(this.a=new K_(this,Wo,this)),ko(this.a,t,r)}return o=l(Mn((s=l(Gn(this,16),29),s||(En(),D3)),n),69),o.wk().Ak(this,Ku(this),n-wr((En(),D3)),t,r)},h.Wh=function(t){var n;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!!this.a&&this.a.i!=0}return tf(this,t-wr((En(),D3)),Mn((n=l(Gn(this,16),29),n||D3),t))},h.bi=function(t,n){var r;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab),!this.Ab&&(this.Ab=new nt(vi,this,0,3)),Ls(this.Ab,l(n,16));return;case 1:Bu(this,Zr(n));return;case 2:!this.a&&(this.a=new K_(this,Wo,this)),$r(this.a),!this.a&&(this.a=new K_(this,Wo,this)),Ls(this.a,l(n,16));return}cf(this,t-wr((En(),D3)),Mn((r=l(Gn(this,16),29),r||D3),t),n)},h.ii=function(){return En(),D3},h.ki=function(t){var n;switch(t){case 0:!this.Ab&&(this.Ab=new nt(vi,this,0,3)),$r(this.Ab);return;case 1:Bu(this,null);return;case 2:!this.a&&(this.a=new K_(this,Wo,this)),$r(this.a);return}of(this,t-wr((En(),D3)),Mn((n=l(Gn(this,16),29),n||D3),t))},I(Vn,"ETypeParameterImpl",457),D(458,83,Ec,K_),h.Nj=function(t,n){return Jxn(this,l(t,89),n)},h.Oj=function(t,n){return Zxn(this,l(t,89),n)},I(Vn,"ETypeParameterImpl/1",458),D(647,45,w6,ise),h.ec=function(){return new Hz(this)},I(Vn,"ETypeParameterImpl/2",647),D(570,q1,Tl,Hz),h.Fc=function(t){return Tit(this,l(t,89))},h.Gc=function(t){var n,r,s;for(s=!1,r=t.Kc();r.Ob();)n=l(r.Pb(),89),Ti(this.a,n,"")==null&&(s=!0);return s},h.$b=function(){Dl(this.a)},h.Hc=function(t){return Hu(this.a,t)},h.Kc=function(){var t;return t=new Xm(new Cr(this.a).a),new Uz(t)},h.Mc=function(t){return dlt(this,t)},h.gc=function(){return g_(this.a)},I(Vn,"ETypeParameterImpl/2/1",570),D(571,1,Ia,Uz),h.Nb=function(t){Qa(this,t)},h.Pb=function(){return l(zw(this.a).ld(),89)},h.Ob=function(){return this.a.b},h.Qb=function(){kht(this.a)},I(Vn,"ETypeParameterImpl/2/1/1",571),D(1329,45,w6,$Je),h._b=function(t){return Da(t)?woe(this,t):!!zo(this.f,t)},h.xc=function(t){var n,r;return n=Da(t)?wu(this,t):dc(zo(this.f,t)),De(n,851)?(r=l(n,851),n=r.Kk(),Ti(this,l(t,241),n),n):n??(t==null?(Tse(),AAt):null)},I(Vn,"EValidatorRegistryImpl",1329),D(1349,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,2040:1,54:1,99:1,158:1,119:1,120:1},g8),h.ri=function(t,n){switch(t.hk()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return n==null?null:Tc(n);case 25:return Ywn(n);case 27:return uwn(n);case 28:return lwn(n);case 29:return n==null?null:ert($M[0],l(n,206));case 41:return n==null?"":Pm(l(n,297));case 42:return Tc(n);case 50:return Zr(n);default:throw ue(new Wn(kE+t.xe()+c3))}},h.si=function(t){var n,r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe;switch(t.G==-1&&(t.G=(z=Ah(t),z?x2(z.vi(),t):-1)),t.G){case 0:return r=new tse,r;case 1:return n=new OI,n;case 2:return s=new wz,s;case 4:return o=new Vz,o;case 5:return f=new jJe,f;case 6:return g=new lJe,g;case 7:return w=new yz,w;case 10:return C=new w5,C;case 11:return L=new nse,L;case 12:return F=new mot,F;case 13:return V=new rse,V;case 14:return J=new o4e,J;case 17:return te=new NS,te;case 18:return T=new iw,T;case 19:return fe=new BS,fe;default:throw ue(new Wn(n0e+t.zb+c3))}},h.ti=function(t,n){switch(t.hk()){case 20:return n==null?null:new L3e(n);case 21:return n==null?null:new bb(n);case 23:case 22:return n==null?null:c6n(n);case 26:case 24:return n==null?null:yN(Oh(n,-128,127)<<24>>24);case 25:return _En(n);case 27:return Y7n(n);case 28:return X7n(n);case 29:return w9n(n);case 32:case 31:return n==null?null:qy(n);case 38:case 37:return n==null?null:new Gwe(n);case 40:case 39:return n==null?null:bt(Oh(n,ao,Ni));case 41:return null;case 42:return n==null,null;case 44:case 43:return n==null?null:lp(tG(n));case 49:case 48:return n==null?null:LT(Oh(n,aK,32767)<<16>>16);case 50:return n;default:throw ue(new Wn(kE+t.xe()+c3))}},I(Vn,"EcoreFactoryImpl",1349),D(560,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,2038:1,54:1,99:1,158:1,184:1,560:1,119:1,120:1,690:1},zat),h.gb=!1,h.hb=!1;var nBe,_At=!1;I(Vn,"EcorePackageImpl",560),D(1234,1,{851:1},k1),h.Kk=function(){return drt(),LAt},I(Vn,"EcorePackageImpl/1",1234),D(1243,1,xi,B$),h.fk=function(t){return De(t,155)},h.gk=function(t){return We(mF,jn,155,t,0,1)},I(Vn,"EcorePackageImpl/10",1243),D(1244,1,xi,F$),h.fk=function(t){return De(t,197)},h.gk=function(t){return We(upe,jn,197,t,0,1)},I(Vn,"EcorePackageImpl/11",1244),D(1245,1,xi,R$),h.fk=function(t){return De(t,58)},h.gk=function(t){return We(sm,jn,58,t,0,1)},I(Vn,"EcorePackageImpl/12",1245),D(1246,1,xi,j$),h.fk=function(t){return De(t,411)},h.gk=function(t){return We(Vf,KSe,62,t,0,1)},I(Vn,"EcorePackageImpl/13",1246),D(1247,1,xi,$$),h.fk=function(t){return De(t,241)},h.gk=function(t){return We(c1,jn,241,t,0,1)},I(Vn,"EcorePackageImpl/14",1247),D(1248,1,xi,z$),h.fk=function(t){return De(t,518)},h.gk=function(t){return We(L3,jn,2116,t,0,1)},I(Vn,"EcorePackageImpl/15",1248),D(1249,1,xi,H0),h.fk=function(t){return De(t,102)},h.gk=function(t){return We(P4,A6,19,t,0,1)},I(Vn,"EcorePackageImpl/16",1249),D(1250,1,xi,tl),h.fk=function(t){return De(t,179)},h.gk=function(t){return We(fl,A6,179,t,0,1)},I(Vn,"EcorePackageImpl/17",1250),D(1251,1,xi,wre),h.fk=function(t){return De(t,481)},h.gk=function(t){return We(O4,jn,481,t,0,1)},I(Vn,"EcorePackageImpl/18",1251),D(1252,1,xi,yre),h.fk=function(t){return De(t,561)},h.gk=function(t){return We(Qc,L5t,561,t,0,1)},I(Vn,"EcorePackageImpl/19",1252),D(1235,1,xi,xre),h.fk=function(t){return De(t,331)},h.gk=function(t){return We(N4,A6,35,t,0,1)},I(Vn,"EcorePackageImpl/2",1235),D(1253,1,xi,nl),h.fk=function(t){return De(t,248)},h.gk=function(t){return We(Wo,G5t,89,t,0,1)},I(Vn,"EcorePackageImpl/20",1253),D(1254,1,xi,FS),h.fk=function(t){return De(t,457)},h.gk=function(t){return We(Zu,jn,850,t,0,1)},I(Vn,"EcorePackageImpl/21",1254),D(1255,1,xi,q$),h.fk=function(t){return gy(t)},h.gk=function(t){return We(Ps,dt,485,t,8,1)},I(Vn,"EcorePackageImpl/22",1255),D(1256,1,xi,H$),h.fk=function(t){return De(t,195)},h.gk=function(t){return We(_l,dt,195,t,0,2)},I(Vn,"EcorePackageImpl/23",1256),D(1257,1,xi,p8),h.fk=function(t){return De(t,222)},h.gk=function(t){return We($x,dt,222,t,0,1)},I(Vn,"EcorePackageImpl/24",1257),D(1258,1,xi,kre),h.fk=function(t){return De(t,180)},h.gk=function(t){return We(BL,dt,180,t,0,1)},I(Vn,"EcorePackageImpl/25",1258),D(1259,1,xi,ck),h.fk=function(t){return De(t,206)},h.gk=function(t){return We(bK,dt,206,t,0,1)},I(Vn,"EcorePackageImpl/26",1259),D(1260,1,xi,Tre),h.fk=function(t){return!1},h.gk=function(t){return We(yBe,jn,2215,t,0,1)},I(Vn,"EcorePackageImpl/27",1260),D(1261,1,xi,U$),h.fk=function(t){return py(t)},h.gk=function(t){return We(ra,dt,345,t,7,1)},I(Vn,"EcorePackageImpl/28",1261),D(1262,1,xi,Ere),h.fk=function(t){return De(t,61)},h.gk=function(t){return We(PPe,e4,61,t,0,1)},I(Vn,"EcorePackageImpl/29",1262),D(1236,1,xi,Cre),h.fk=function(t){return De(t,519)},h.gk=function(t){return We(vi,{3:1,4:1,5:1,2033:1},598,t,0,1)},I(Vn,"EcorePackageImpl/3",1236),D(1263,1,xi,RS),h.fk=function(t){return De(t,582)},h.gk=function(t){return We(RPe,jn,2039,t,0,1)},I(Vn,"EcorePackageImpl/30",1263),D(1264,1,xi,V$),h.fk=function(t){return De(t,160)},h.gk=function(t){return We(oBe,e4,160,t,0,1)},I(Vn,"EcorePackageImpl/31",1264),D(1265,1,xi,RI),h.fk=function(t){return De(t,76)},h.gk=function(t){return We(OY,t6t,76,t,0,1)},I(Vn,"EcorePackageImpl/32",1265),D(1266,1,xi,jS),h.fk=function(t){return De(t,161)},h.gk=function(t){return We(LE,dt,161,t,0,1)},I(Vn,"EcorePackageImpl/33",1266),D(1267,1,xi,Sre),h.fk=function(t){return De(t,17)},h.gk=function(t){return We(to,dt,17,t,0,1)},I(Vn,"EcorePackageImpl/34",1267),D(1268,1,xi,_re),h.fk=function(t){return De(t,297)},h.gk=function(t){return We(a_e,jn,297,t,0,1)},I(Vn,"EcorePackageImpl/35",1268),D(1269,1,xi,jI),h.fk=function(t){return De(t,168)},h.gk=function(t){return We(l3,dt,168,t,0,1)},I(Vn,"EcorePackageImpl/36",1269),D(1270,1,xi,$S),h.fk=function(t){return De(t,85)},h.gk=function(t){return We(o_e,jn,85,t,0,1)},I(Vn,"EcorePackageImpl/37",1270),D(1271,1,xi,T1),h.fk=function(t){return De(t,599)},h.gk=function(t){return We(rBe,jn,599,t,0,1)},I(Vn,"EcorePackageImpl/38",1271),D(1272,1,xi,uk),h.fk=function(t){return!1},h.gk=function(t){return We(xBe,jn,2216,t,0,1)},I(Vn,"EcorePackageImpl/39",1272),D(1237,1,xi,Are),h.fk=function(t){return De(t,90)},h.gk=function(t){return We(Uf,jn,29,t,0,1)},I(Vn,"EcorePackageImpl/4",1237),D(1273,1,xi,lk),h.fk=function(t){return De(t,191)},h.gk=function(t){return We(h3,dt,191,t,0,1)},I(Vn,"EcorePackageImpl/40",1273),D(1274,1,xi,$I),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(Vn,"EcorePackageImpl/41",1274),D(1275,1,xi,Lm),h.fk=function(t){return De(t,596)},h.gk=function(t){return We(FPe,jn,596,t,0,1)},I(Vn,"EcorePackageImpl/42",1275),D(1276,1,xi,zS),h.fk=function(t){return!1},h.gk=function(t){return We(kBe,dt,2217,t,0,1)},I(Vn,"EcorePackageImpl/43",1276),D(1277,1,xi,zI),h.fk=function(t){return De(t,44)},h.gk=function(t){return We(mv,iG,44,t,0,1)},I(Vn,"EcorePackageImpl/44",1277),D(1238,1,xi,U0),h.fk=function(t){return De(t,142)},h.gk=function(t){return We(u1,jn,142,t,0,1)},I(Vn,"EcorePackageImpl/5",1238),D(1239,1,xi,qS),h.fk=function(t){return De(t,156)},h.gk=function(t){return We(ppe,jn,156,t,0,1)},I(Vn,"EcorePackageImpl/6",1239),D(1240,1,xi,E1),h.fk=function(t){return De(t,469)},h.gk=function(t){return We(IY,jn,685,t,0,1)},I(Vn,"EcorePackageImpl/7",1240),D(1241,1,xi,C1),h.fk=function(t){return De(t,582)},h.gk=function(t){return We(Tp,jn,694,t,0,1)},I(Vn,"EcorePackageImpl/8",1241),D(1242,1,xi,Lre),h.fk=function(t){return De(t,480)},h.gk=function(t){return We(jM,jn,480,t,0,1)},I(Vn,"EcorePackageImpl/9",1242),D(1038,2080,A5t,oZe),h.Mi=function(t,n){F4n(this,l(n,424))},h.Qi=function(t,n){r2t(this,t,l(n,424))},I(Vn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1038),D(1039,152,rB,Dat),h.jj=function(){return this.a.a},I(Vn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1039),D(1067,1066,{},Vnt),I("org.eclipse.emf.ecore.plugin","EcorePlugin",1067);var rBe=Ts(n6t,"Resource");D(799,1524,r6t),h.Hl=function(t){},h.Il=function(t){},h.El=function(){return!this.a&&(this.a=new Yie(this)),this.a},h.Fl=function(t){var n,r,s,o,f;if(s=t.length,s>0)if(Yn(0,t.length),t.charCodeAt(0)==47){for(f=new Pu(4),o=1,n=1;n0&&(t=(Va(0,r,t.length),t.substr(0,r))));return fTn(this,t)},h.Gl=function(){return this.c},h.Ib=function(){var t;return Pm(this.Rm)+"@"+(t=ts(this)>>>0,t.toString(16))+" uri='"+this.d+"'"},h.b=!1,I(w0e,"ResourceImpl",799),D(1525,799,r6t,QQe),I(w0e,"BinaryResourceImpl",1525),D(1190,708,d0e),h.bj=function(t){return De(t,58)?r2n(this,l(t,58)):De(t,599)?new ar(l(t,599).El()):qe(t)===qe(this.f)?l(t,16).Kc():(jk(),yF.a)},h.Ob=function(){return j9e(this)},h.a=!1,I(us,"EcoreUtil/ContentTreeIterator",1190),D(1526,1190,d0e,oat),h.bj=function(t){return qe(t)===qe(this.f)?l(t,15).Kc():new iut(l(t,58))},I(w0e,"ResourceImpl/5",1526),D(658,2092,V5t,Yie),h.Hc=function(t){return this.i<=4?zT(this,t):De(t,54)&&l(t,54).Jh()==this.a},h.Mi=function(t,n){t==this.i-1&&(this.a.b||(this.a.b=!0))},h.Oi=function(t,n){t==0?this.a.b||(this.a.b=!0):Woe(this,t,n)},h.Qi=function(t,n){},h.Ri=function(t,n,r){},h.Lj=function(){return 2},h.jj=function(){return this.a},h.Mj=function(){return!0},h.Nj=function(t,n){var r;return r=l(t,54),n=r.fi(this.a,n),n},h.Oj=function(t,n){var r;return r=l(t,54),r.fi(null,n)},h.Pj=function(){return!1},h.Si=function(){return!0},h.aj=function(t){return We(sm,jn,58,t,0,1)},h.Yi=function(){return!1},I(w0e,"ResourceImpl/ContentsEList",658),D(970,2062,aE,JQe),h.fd=function(t){return this.a.Ki(t)},h.gc=function(){return this.a.gc()},I(us,"AbstractSequentialInternalEList/1",970);var iBe,sBe,no,aBe;D(634,1,{},ust);var NY,PY;I(us,"BasicExtendedMetaData",634),D(1181,1,{},hnt),h.Jl=function(){return null},h.Kl=function(){return this.a==-2&&Ye(this,f9n(this.d,this.b)),this.a},h.Ll=function(){return null},h.Ml=function(){return Cn(),Cn(),Co},h.xe=function(){return this.c==CE&&vt(this,_dt(this.d,this.b)),this.c},h.Nl=function(){return 0},h.a=-2,h.c=CE,I(us,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1181),D(1182,1,{},Nct),h.Jl=function(){return this.a==(nT(),NY)&&Mt(this,h_n(this.f,this.b)),this.a},h.Kl=function(){return 0},h.Ll=function(){return this.c==(nT(),NY)&&Qe(this,f_n(this.f,this.b)),this.c},h.Ml=function(){return!this.d&&Yt(this,XAn(this.f,this.b)),this.d},h.xe=function(){return this.e==CE&&_n(this,_dt(this.f,this.b)),this.e},h.Nl=function(){return this.g==-2&&Xt(this,Dxn(this.f,this.b)),this.g},h.e=CE,h.g=-2,I(us,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1182),D(1180,1,{},fnt),h.b=!1,h.c=!1,I(us,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1180),D(1183,1,{},Pct),h.c=-2,h.e=CE,h.f=CE,I(us,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1183),D(593,632,Ec,aH),h.Lj=function(){return this.c},h.ol=function(){return!1},h.Wi=function(t,n){return n},h.c=0,I(us,"EDataTypeEList",593);var oBe=Ts(us,"FeatureMap");D(78,593,{3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},Ms),h.bd=function(t,n){MCn(this,t,l(n,76))},h.Fc=function(t){return WEn(this,l(t,76))},h.Hi=function(t){epn(this,l(t,76))},h.Nj=function(t,n){return x0n(this,l(t,76),n)},h.Oj=function(t,n){return D4e(this,l(t,76),n)},h.Ti=function(t,n){return nAn(this,t,n)},h.Wi=function(t,n){return qMn(this,t,l(n,76))},h.hd=function(t,n){return mSn(this,t,l(n,76))},h.Uj=function(t,n){return k0n(this,l(t,76),n)},h.Vj=function(t,n){return Rit(this,l(t,76),n)},h.Wj=function(t,n,r){return vxn(this,l(t,76),l(n,76),r)},h.Zi=function(t,n){return que(this,t,l(n,76))},h.Ol=function(t,n){return Mke(this,t,n)},h.cd=function(t,n){var r,s,o,f,g,w,T,C,L;for(C=new Bw(n.gc()),o=n.Kc();o.Ob();)if(s=l(o.Pb(),76),f=s.Lk(),dp(this.e,f))(!f.Si()||!XH(this,f,s.md())&&!zT(C,s))&&zr(C,s);else{for(L=Wu(this.e.Dh(),f),r=l(this.g,124),g=!0,w=0;w=0;)if(n=t[this.c],this.k.am(n.Lk()))return this.j=this.f?n:n.md(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},I(us,"BasicFeatureMap/FeatureEIterator",420),D(676,420,dg,sae),h.ul=function(){return!0},I(us,"BasicFeatureMap/ResolvingFeatureEIterator",676),D(968,496,tK,trt),h.pj=function(){return this},I(us,"EContentsEList/1",968),D(969,496,tK,Cnt),h.ul=function(){return!1},I(us,"EContentsEList/2",969),D(967,287,nK,nrt),h.wl=function(t){},h.Ob=function(){return!1},h.Sb=function(){return!1},I(us,"EContentsEList/FeatureIteratorImpl/1",967),D(840,593,Ec,Rye),h.Ni=function(){this.a=!0},h.Qj=function(){return this.a},h.Gk=function(){var t;$r(this),ch(this.e)?(t=this.a,this.a=!1,Bi(this.e,new l0(this.e,2,this.c,t,!1))):this.a=!1},h.a=!1,I(us,"EDataTypeEList/Unsettable",840),D(1958,593,Ec,urt),h.Si=function(){return!0},I(us,"EDataTypeUniqueEList",1958),D(1959,840,Ec,lrt),h.Si=function(){return!0},I(us,"EDataTypeUniqueEList/Unsettable",1959),D(147,83,Ec,bl),h.nl=function(){return!0},h.Wi=function(t,n){return Ex(this,t,l(n,58))},I(us,"EObjectContainmentEList/Resolving",147),D(1184,555,Ec,hrt),h.nl=function(){return!0},h.Wi=function(t,n){return Ex(this,t,l(n,58))},I(us,"EObjectContainmentEList/Unsettable/Resolving",1184),D(766,14,Ec,E4e),h.Ni=function(){this.a=!0},h.Qj=function(){return this.a},h.Gk=function(){var t;$r(this),ch(this.e)?(t=this.a,this.a=!1,Bi(this.e,new l0(this.e,2,this.c,t,!1))):this.a=!1},h.a=!1,I(us,"EObjectContainmentWithInverseEList/Unsettable",766),D(1222,766,Ec,Eit),h.nl=function(){return!0},h.Wi=function(t,n){return Ex(this,t,l(n,58))},I(us,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1222),D(757,505,Ec,jye),h.Ni=function(){this.a=!0},h.Qj=function(){return this.a},h.Gk=function(){var t;$r(this),ch(this.e)?(t=this.a,this.a=!1,Bi(this.e,new l0(this.e,2,this.c,t,!1))):this.a=!1},h.a=!1,I(us,"EObjectEList/Unsettable",757),D(338,505,Ec,q5),h.nl=function(){return!0},h.Wi=function(t,n){return Ex(this,t,l(n,58))},I(us,"EObjectResolvingEList",338),D(1844,757,Ec,frt),h.nl=function(){return!0},h.Wi=function(t,n){return Ex(this,t,l(n,58))},I(us,"EObjectResolvingEList/Unsettable",1844),D(1527,1,{},Mre);var AAt;I(us,"EObjectValidator",1527),D(559,505,Ec,TH),h.il=function(){return this.d},h.jl=function(){return this.b},h.Mj=function(){return!0},h.ml=function(){return!0},h.b=0,I(us,"EObjectWithInverseEList",559),D(1225,559,Ec,Cit),h.ll=function(){return!0},I(us,"EObjectWithInverseEList/ManyInverse",1225),D(635,559,Ec,Sae),h.Ni=function(){this.a=!0},h.Qj=function(){return this.a},h.Gk=function(){var t;$r(this),ch(this.e)?(t=this.a,this.a=!1,Bi(this.e,new l0(this.e,2,this.c,t,!1))):this.a=!1},h.a=!1,I(us,"EObjectWithInverseEList/Unsettable",635),D(1224,635,Ec,Sit),h.ll=function(){return!0},I(us,"EObjectWithInverseEList/Unsettable/ManyInverse",1224),D(767,559,Ec,C4e),h.nl=function(){return!0},h.Wi=function(t,n){return Ex(this,t,l(n,58))},I(us,"EObjectWithInverseResolvingEList",767),D(32,767,Ec,An),h.ll=function(){return!0},I(us,"EObjectWithInverseResolvingEList/ManyInverse",32),D(768,635,Ec,S4e),h.nl=function(){return!0},h.Wi=function(t,n){return Ex(this,t,l(n,58))},I(us,"EObjectWithInverseResolvingEList/Unsettable",768),D(1223,768,Ec,_it),h.ll=function(){return!0},I(us,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1223),D(1185,632,Ec),h.Li=function(){return(this.b&1792)==0},h.Ni=function(){this.b|=1},h.kl=function(){return(this.b&4)!=0},h.Mj=function(){return(this.b&40)!=0},h.ll=function(){return(this.b&16)!=0},h.ml=function(){return(this.b&8)!=0},h.nl=function(){return(this.b&a4)!=0},h.al=function(){return(this.b&32)!=0},h.ol=function(){return(this.b&b0)!=0},h.fk=function(t){return this.d?dut(this.d,t):this.Lk().Hk().fk(t)},h.Qj=function(){return this.b&2?(this.b&1)!=0:this.i!=0},h.Si=function(){return(this.b&128)!=0},h.Gk=function(){var t;$r(this),this.b&2&&(ch(this.e)?(t=(this.b&1)!=0,this.b&=-2,Tk(this,new l0(this.e,2,vs(this.e.Dh(),this.Lk()),t,!1))):this.b&=-2)},h.Yi=function(){return(this.b&1536)==0},h.b=0,I(us,"EcoreEList/Generic",1185),D(1186,1185,Ec,wot),h.Lk=function(){return this.a},I(us,"EcoreEList/Dynamic",1186),D(765,66,Pd,$we),h.aj=function(t){return EN(this.a.a,t)},I(us,"EcoreEMap/1",765),D(764,83,Ec,E5e),h.Mi=function(t,n){pV(this.b,l(n,136))},h.Oi=function(t,n){b0t(this.b)},h.Pi=function(t,n,r){var s;++(s=this.b,l(n,136),s).e},h.Qi=function(t,n){Qce(this.b,l(n,136))},h.Ri=function(t,n,r){Qce(this.b,l(r,136)),qe(r)===qe(n)&&l(r,136).Ci(whn(l(n,136).ld())),pV(this.b,l(n,136))},I(us,"EcoreEMap/DelegateEObjectContainmentEList",764),D(1220,141,GSe,Oft),I(us,"EcoreEMap/Unsettable",1220),D(1221,764,Ec,Ait),h.Ni=function(){this.a=!0},h.Qj=function(){return this.a},h.Gk=function(){var t;$r(this),ch(this.e)?(t=this.a,this.a=!1,Bi(this.e,new l0(this.e,2,this.c,t,!1))):this.a=!1},h.a=!1,I(us,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1221),D(1189,215,w6,yat),h.a=!1,h.b=!1,I(us,"EcoreUtil/Copier",1189),D(759,1,Ia,iut),h.Nb=function(t){Qa(this,t)},h.Ob=function(){return fdt(this)},h.Pb=function(){var t;return fdt(this),t=this.b,this.b=null,t},h.Qb=function(){this.a.Qb()},I(us,"EcoreUtil/ProperContentIterator",759),D(1528,1527,{},xz);var LAt;I(us,"EcoreValidator",1528);var MAt;Ts(us,"FeatureMapUtil/Validator"),D(1295,1,{2041:1},y5),h.am=function(t){return!0},I(us,"FeatureMapUtil/1",1295),D(773,1,{2041:1},aTe),h.am=function(t){var n;return this.c==t?!0:(n=Pt(or(this.a,t)),n==null?v_n(this,t)?(ilt(this.a,t,(Hn(),AE)),!0):(ilt(this.a,t,(Hn(),Ub)),!1):n==(Hn(),AE))},h.e=!1;var wpe;I(us,"FeatureMapUtil/BasicValidator",773),D(774,45,w6,Bye),I(us,"FeatureMapUtil/BasicValidator/Cache",774),D(509,56,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,71:1,97:1},AO),h.bd=function(t,n){Kbt(this.c,this.b,t,n)},h.Fc=function(t){return Mke(this.c,this.b,t)},h.cd=function(t,n){return jLn(this.c,this.b,t,n)},h.Gc=function(t){return R_(this,t)},h.Gi=function(t,n){Nwn(this.c,this.b,t,n)},h.Wk=function(t,n){return kke(this.c,this.b,t,n)},h.$i=function(t){return XV(this.c,this.b,t,!1)},h.Ii=function(){return Fnt(this.c,this.b)},h.Ji=function(){return ahn(this.c,this.b)},h.Ki=function(t){return jvn(this.c,this.b,t)},h.Xk=function(t,n){return oit(this,t,n)},h.$b=function(){A8(this)},h.Hc=function(t){return XH(this.c,this.b,t)},h.Ic=function(t){return R3n(this.c,this.b,t)},h.Xb=function(t){return XV(this.c,this.b,t,!0)},h.Fk=function(t){return this},h.dd=function(t){return Gmn(this.c,this.b,t)},h.dc=function(){return Pq(this)},h.Qj=function(){return!VN(this.c,this.b)},h.Kc=function(){return Ewn(this.c,this.b)},h.ed=function(){return Cwn(this.c,this.b)},h.fd=function(t){return n5n(this.c,this.b,t)},h.Ti=function(t,n){return cvt(this.c,this.b,t,n)},h.Ui=function(t,n){qvn(this.c,this.b,t,n)},h.gd=function(t){return $pt(this.c,this.b,t)},h.Mc=function(t){return z_n(this.c,this.b,t)},h.hd=function(t,n){return mvt(this.c,this.b,t,n)},h.Wb=function(t){DV(this.c,this.b),R_(this,l(t,15))},h.gc=function(){return t5n(this.c,this.b)},h.Pc=function(){return Wbn(this.c,this.b)},h.Qc=function(t){return Kmn(this.c,this.b,t)},h.Ib=function(){var t,n;for(n=new e2,n.a+="[",t=Fnt(this.c,this.b);zce(t);)Jo(n,$_(fV(t))),zce(t)&&(n.a+=To);return n.a+="]",n.a},h.Gk=function(){DV(this.c,this.b)},I(us,"FeatureMapUtil/FeatureEList",509),D(644,39,rB,Foe),h.hj=function(t){return _A(this,t)},h.mj=function(t){var n,r,s,o,f,g,w;switch(this.d){case 1:case 2:{if(f=t.jj(),qe(f)===qe(this.c)&&_A(this,null)==t.hj(null))return this.g=t.ij(),t.gj()==1&&(this.d=1),!0;break}case 3:{switch(o=t.gj(),o){case 3:{if(f=t.jj(),qe(f)===qe(this.c)&&_A(this,null)==t.hj(null))return this.d=5,n=new Bw(2),zr(n,this.g),zr(n,t.ij()),this.g=n,!0;break}}break}case 5:{switch(o=t.gj(),o){case 3:{if(f=t.jj(),qe(f)===qe(this.c)&&_A(this,null)==t.hj(null))return r=l(this.g,16),r.Fc(t.ij()),!0;break}}break}case 4:{switch(o=t.gj(),o){case 3:{if(f=t.jj(),qe(f)===qe(this.c)&&_A(this,null)==t.hj(null))return this.d=1,this.g=t.ij(),!0;break}case 4:{if(f=t.jj(),qe(f)===qe(this.c)&&_A(this,null)==t.hj(null))return this.d=6,w=new Bw(2),zr(w,this.n),zr(w,t.kj()),this.n=w,g=he(le(Ur,1),fi,28,15,[this.o,t.lj()]),this.g=g,!0;break}}break}case 6:{switch(o=t.gj(),o){case 4:{if(f=t.jj(),qe(f)===qe(this.c)&&_A(this,null)==t.hj(null))return r=l(this.n,16),r.Fc(t.kj()),g=l(this.g,53),s=We(Ur,fi,28,g.length+1,15,1),gu(g,0,s,0,g.length),s[g.length]=t.lj(),this.g=s,!0;break}}break}}return!1},I(us,"FeatureMapUtil/FeatureENotificationImpl",644),D(564,509,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},lH),h.Ol=function(t,n){return Mke(this.c,t,n)},h.Pl=function(t,n,r){return kke(this.c,t,n,r)},h.Ql=function(t,n,r){return Wke(this.c,t,n,r)},h.Rl=function(){return this},h.Sl=function(t,n){return TP(this.c,t,n)},h.Tl=function(t){return l(XV(this.c,this.b,t,!1),76).Lk()},h.Ul=function(t){return l(XV(this.c,this.b,t,!1),76).md()},h.Vl=function(){return this.a},h.Wl=function(t){return!VN(this.c,t)},h.Xl=function(t,n){QV(this.c,t,n)},h.Yl=function(t){return Bft(this.c,t)},h.Zl=function(t){ggt(this.c,t)},I(us,"FeatureMapUtil/FeatureFeatureMap",564),D(1294,1,v0e,lnt),h.Fk=function(t){return XV(this.b,this.a,-1,t)},h.Qj=function(){return!VN(this.b,this.a)},h.Wb=function(t){QV(this.b,this.a,t)},h.Gk=function(){DV(this.b,this.a)},I(us,"FeatureMapUtil/FeatureValue",1294);var u9,ype,xpe,l9,DAt,kF=Ts(lK,"AnyType");D(680,63,gp,fse),I(lK,"InvalidDatatypeValueException",680);var BY=Ts(lK,s6t),TF=Ts(lK,a6t),cBe=Ts(lK,o6t),IAt,ru,uBe,Nv,OAt,NAt,PAt,BAt,FAt,RAt,jAt,$At,zAt,qAt,HAt,l7,UAt,h7,UM,VAt,I3,EF,CF,GAt,VM,GM;D(844,516,{110:1,94:1,93:1,58:1,54:1,99:1,857:1},s3e),h.Lh=function(t,n,r){switch(t){case 0:return r?(!this.c&&(this.c=new Ms(this,0)),this.c):(!this.c&&(this.c=new Ms(this,0)),this.c.b);case 1:return r?(!this.c&&(this.c=new Ms(this,0)),l(yu(this.c,(Wi(),Nv)),160)):(!this.c&&(this.c=new Ms(this,0)),l(l(yu(this.c,(Wi(),Nv)),160),220)).Vl();case 2:return r?(!this.b&&(this.b=new Ms(this,2)),this.b):(!this.b&&(this.b=new Ms(this,2)),this.b.b)}return rf(this,t-wr(this.ii()),Mn(this.j&2?(!this.k&&(this.k=new Sf),this.k).Nk():this.ii(),t),n,r)},h.Uh=function(t,n,r){var s;switch(n){case 0:return!this.c&&(this.c=new Ms(this,0)),wP(this.c,t,r);case 1:return(!this.c&&(this.c=new Ms(this,0)),l(l(yu(this.c,(Wi(),Nv)),160),71)).Xk(t,r);case 2:return!this.b&&(this.b=new Ms(this,2)),wP(this.b,t,r)}return s=l(Mn(this.j&2?(!this.k&&(this.k=new Sf),this.k).Nk():this.ii(),n),69),s.wk().Ak(this,c7e(this),n-wr(this.ii()),t,r)},h.Wh=function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new Ms(this,0)),l(yu(this.c,(Wi(),Nv)),160)).dc();case 2:return!!this.b&&this.b.i!=0}return tf(this,t-wr(this.ii()),Mn(this.j&2?(!this.k&&(this.k=new Sf),this.k).Nk():this.ii(),t))},h.bi=function(t,n){switch(t){case 0:!this.c&&(this.c=new Ms(this,0)),WO(this.c,n);return;case 1:(!this.c&&(this.c=new Ms(this,0)),l(l(yu(this.c,(Wi(),Nv)),160),220)).Wb(n);return;case 2:!this.b&&(this.b=new Ms(this,2)),WO(this.b,n);return}cf(this,t-wr(this.ii()),Mn(this.j&2?(!this.k&&(this.k=new Sf),this.k).Nk():this.ii(),t),n)},h.ii=function(){return Wi(),uBe},h.ki=function(t){switch(t){case 0:!this.c&&(this.c=new Ms(this,0)),$r(this.c);return;case 1:(!this.c&&(this.c=new Ms(this,0)),l(yu(this.c,(Wi(),Nv)),160)).$b();return;case 2:!this.b&&(this.b=new Ms(this,2)),$r(this.b);return}of(this,t-wr(this.ii()),Mn(this.j&2?(!this.k&&(this.k=new Sf),this.k).Nk():this.ii(),t))},h.Ib=function(){var t;return this.j&4?d0(this):(t=new Af(d0(this)),t.a+=" (mixed: ",N_(t,this.c),t.a+=", anyAttribute: ",N_(t,this.b),t.a+=")",t.a)},I(na,"AnyTypeImpl",844),D(681,516,{110:1,94:1,93:1,58:1,54:1,99:1,2119:1,681:1},Nre),h.Lh=function(t,n,r){switch(t){case 0:return this.a;case 1:return this.b}return rf(this,t-wr((Wi(),l7)),Mn(this.j&2?(!this.k&&(this.k=new Sf),this.k).Nk():l7,t),n,r)},h.Wh=function(t){switch(t){case 0:return this.a!=null;case 1:return this.b!=null}return tf(this,t-wr((Wi(),l7)),Mn(this.j&2?(!this.k&&(this.k=new Sf),this.k).Nk():l7,t))},h.bi=function(t,n){switch(t){case 0:mr(this,Zr(n));return;case 1:gr(this,Zr(n));return}cf(this,t-wr((Wi(),l7)),Mn(this.j&2?(!this.k&&(this.k=new Sf),this.k).Nk():l7,t),n)},h.ii=function(){return Wi(),l7},h.ki=function(t){switch(t){case 0:this.a=null;return;case 1:this.b=null;return}of(this,t-wr((Wi(),l7)),Mn(this.j&2?(!this.k&&(this.k=new Sf),this.k).Nk():l7,t))},h.Ib=function(){var t;return this.j&4?d0(this):(t=new Af(d0(this)),t.a+=" (data: ",Jo(t,this.a),t.a+=", target: ",Jo(t,this.b),t.a+=")",t.a)},h.a=null,h.b=null,I(na,"ProcessingInstructionImpl",681),D(682,844,{110:1,94:1,93:1,58:1,54:1,99:1,857:1,2120:1,682:1},zJe),h.Lh=function(t,n,r){switch(t){case 0:return r?(!this.c&&(this.c=new Ms(this,0)),this.c):(!this.c&&(this.c=new Ms(this,0)),this.c.b);case 1:return r?(!this.c&&(this.c=new Ms(this,0)),l(yu(this.c,(Wi(),Nv)),160)):(!this.c&&(this.c=new Ms(this,0)),l(l(yu(this.c,(Wi(),Nv)),160),220)).Vl();case 2:return r?(!this.b&&(this.b=new Ms(this,2)),this.b):(!this.b&&(this.b=new Ms(this,2)),this.b.b);case 3:return!this.c&&(this.c=new Ms(this,0)),Zr(TP(this.c,(Wi(),UM),!0));case 4:return A4e(this.a,(!this.c&&(this.c=new Ms(this,0)),Zr(TP(this.c,(Wi(),UM),!0))));case 5:return this.a}return rf(this,t-wr((Wi(),h7)),Mn(this.j&2?(!this.k&&(this.k=new Sf),this.k).Nk():h7,t),n,r)},h.Wh=function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new Ms(this,0)),l(yu(this.c,(Wi(),Nv)),160)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new Ms(this,0)),Zr(TP(this.c,(Wi(),UM),!0))!=null;case 4:return A4e(this.a,(!this.c&&(this.c=new Ms(this,0)),Zr(TP(this.c,(Wi(),UM),!0))))!=null;case 5:return!!this.a}return tf(this,t-wr((Wi(),h7)),Mn(this.j&2?(!this.k&&(this.k=new Sf),this.k).Nk():h7,t))},h.bi=function(t,n){switch(t){case 0:!this.c&&(this.c=new Ms(this,0)),WO(this.c,n);return;case 1:(!this.c&&(this.c=new Ms(this,0)),l(l(yu(this.c,(Wi(),Nv)),160),220)).Wb(n);return;case 2:!this.b&&(this.b=new Ms(this,2)),WO(this.b,n);return;case 3:b6e(this,Zr(n));return;case 4:b6e(this,_4e(this.a,n));return;case 5:Pn(this,l(n,156));return}cf(this,t-wr((Wi(),h7)),Mn(this.j&2?(!this.k&&(this.k=new Sf),this.k).Nk():h7,t),n)},h.ii=function(){return Wi(),h7},h.ki=function(t){switch(t){case 0:!this.c&&(this.c=new Ms(this,0)),$r(this.c);return;case 1:(!this.c&&(this.c=new Ms(this,0)),l(yu(this.c,(Wi(),Nv)),160)).$b();return;case 2:!this.b&&(this.b=new Ms(this,2)),$r(this.b);return;case 3:!this.c&&(this.c=new Ms(this,0)),QV(this.c,(Wi(),UM),null);return;case 4:b6e(this,_4e(this.a,null));return;case 5:this.a=null;return}of(this,t-wr((Wi(),h7)),Mn(this.j&2?(!this.k&&(this.k=new Sf),this.k).Nk():h7,t))},I(na,"SimpleAnyTypeImpl",682),D(683,516,{110:1,94:1,93:1,58:1,54:1,99:1,2121:1,683:1},qJe),h.Lh=function(t,n,r){switch(t){case 0:return r?(!this.a&&(this.a=new Ms(this,0)),this.a):(!this.a&&(this.a=new Ms(this,0)),this.a.b);case 1:return r?(!this.b&&(this.b=new yl((En(),Do),Qc,this,1)),this.b):(!this.b&&(this.b=new yl((En(),Do),Qc,this,1)),fN(this.b));case 2:return r?(!this.c&&(this.c=new yl((En(),Do),Qc,this,2)),this.c):(!this.c&&(this.c=new yl((En(),Do),Qc,this,2)),fN(this.c));case 3:return!this.a&&(this.a=new Ms(this,0)),yu(this.a,(Wi(),EF));case 4:return!this.a&&(this.a=new Ms(this,0)),yu(this.a,(Wi(),CF));case 5:return!this.a&&(this.a=new Ms(this,0)),yu(this.a,(Wi(),VM));case 6:return!this.a&&(this.a=new Ms(this,0)),yu(this.a,(Wi(),GM))}return rf(this,t-wr((Wi(),I3)),Mn(this.j&2?(!this.k&&(this.k=new Sf),this.k).Nk():I3,t),n,r)},h.Uh=function(t,n,r){var s;switch(n){case 0:return!this.a&&(this.a=new Ms(this,0)),wP(this.a,t,r);case 1:return!this.b&&(this.b=new yl((En(),Do),Qc,this,1)),Zq(this.b,t,r);case 2:return!this.c&&(this.c=new yl((En(),Do),Qc,this,2)),Zq(this.c,t,r);case 5:return!this.a&&(this.a=new Ms(this,0)),oit(yu(this.a,(Wi(),VM)),t,r)}return s=l(Mn(this.j&2?(!this.k&&(this.k=new Sf),this.k).Nk():(Wi(),I3),n),69),s.wk().Ak(this,c7e(this),n-wr((Wi(),I3)),t,r)},h.Wh=function(t){switch(t){case 0:return!!this.a&&this.a.i!=0;case 1:return!!this.b&&this.b.f!=0;case 2:return!!this.c&&this.c.f!=0;case 3:return!this.a&&(this.a=new Ms(this,0)),!Pq(yu(this.a,(Wi(),EF)));case 4:return!this.a&&(this.a=new Ms(this,0)),!Pq(yu(this.a,(Wi(),CF)));case 5:return!this.a&&(this.a=new Ms(this,0)),!Pq(yu(this.a,(Wi(),VM)));case 6:return!this.a&&(this.a=new Ms(this,0)),!Pq(yu(this.a,(Wi(),GM)))}return tf(this,t-wr((Wi(),I3)),Mn(this.j&2?(!this.k&&(this.k=new Sf),this.k).Nk():I3,t))},h.bi=function(t,n){switch(t){case 0:!this.a&&(this.a=new Ms(this,0)),WO(this.a,n);return;case 1:!this.b&&(this.b=new yl((En(),Do),Qc,this,1)),PU(this.b,n);return;case 2:!this.c&&(this.c=new yl((En(),Do),Qc,this,2)),PU(this.c,n);return;case 3:!this.a&&(this.a=new Ms(this,0)),A8(yu(this.a,(Wi(),EF))),!this.a&&(this.a=new Ms(this,0)),R_(yu(this.a,EF),l(n,16));return;case 4:!this.a&&(this.a=new Ms(this,0)),A8(yu(this.a,(Wi(),CF))),!this.a&&(this.a=new Ms(this,0)),R_(yu(this.a,CF),l(n,16));return;case 5:!this.a&&(this.a=new Ms(this,0)),A8(yu(this.a,(Wi(),VM))),!this.a&&(this.a=new Ms(this,0)),R_(yu(this.a,VM),l(n,16));return;case 6:!this.a&&(this.a=new Ms(this,0)),A8(yu(this.a,(Wi(),GM))),!this.a&&(this.a=new Ms(this,0)),R_(yu(this.a,GM),l(n,16));return}cf(this,t-wr((Wi(),I3)),Mn(this.j&2?(!this.k&&(this.k=new Sf),this.k).Nk():I3,t),n)},h.ii=function(){return Wi(),I3},h.ki=function(t){switch(t){case 0:!this.a&&(this.a=new Ms(this,0)),$r(this.a);return;case 1:!this.b&&(this.b=new yl((En(),Do),Qc,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new yl((En(),Do),Qc,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new Ms(this,0)),A8(yu(this.a,(Wi(),EF)));return;case 4:!this.a&&(this.a=new Ms(this,0)),A8(yu(this.a,(Wi(),CF)));return;case 5:!this.a&&(this.a=new Ms(this,0)),A8(yu(this.a,(Wi(),VM)));return;case 6:!this.a&&(this.a=new Ms(this,0)),A8(yu(this.a,(Wi(),GM)));return}of(this,t-wr((Wi(),I3)),Mn(this.j&2?(!this.k&&(this.k=new Sf),this.k).Nk():I3,t))},h.Ib=function(){var t;return this.j&4?d0(this):(t=new Af(d0(this)),t.a+=" (mixed: ",N_(t,this.a),t.a+=")",t.a)},I(na,"XMLTypeDocumentRootImpl",683),D(2028,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1,2122:1},hk),h.ri=function(t,n){switch(t.hk()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return n==null?null:Tc(n);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return Zr(n);case 6:return Ifn(l(n,195));case 12:case 47:case 49:case 11:return iwt(this,t,n);case 13:return n==null?null:HLn(l(n,247));case 15:case 14:return n==null?null:Wgn(ze(Ge(n)));case 17:return tpt((Wi(),n));case 18:return tpt(n);case 21:case 20:return n==null?null:Ygn(l(n,161).a);case 27:return Ofn(l(n,195));case 30:return pgt((Wi(),l(n,15)));case 31:return pgt(l(n,15));case 40:return Pfn((Wi(),n));case 42:return npt((Wi(),n));case 43:return npt(n);case 59:case 48:return Nfn((Wi(),n));default:throw ue(new Wn(kE+t.xe()+c3))}},h.si=function(t){var n,r,s,o,f;switch(t.G==-1&&(t.G=(r=Ah(t),r?x2(r.vi(),t):-1)),t.G){case 0:return n=new s3e,n;case 1:return s=new Nre,s;case 2:return o=new zJe,o;case 3:return f=new qJe,f;default:throw ue(new Wn(n0e+t.zb+c3))}},h.ti=function(t,n){var r,s,o,f,g,w,T,C,L,F,z,V,J,te,fe,Ee;switch(t.hk()){case 5:case 52:case 4:return n;case 6:return z6n(n);case 8:case 7:return n==null?null:_xn(n);case 9:return n==null?null:yN(Oh((s=ku(n,!0),s.length>0&&(Yn(0,s.length),s.charCodeAt(0)==43)?(Yn(1,s.length+1),s.substr(1)):s),-128,127)<<24>>24);case 10:return n==null?null:yN(Oh((o=ku(n,!0),o.length>0&&(Yn(0,o.length),o.charCodeAt(0)==43)?(Yn(1,o.length+1),o.substr(1)):o),-128,127)<<24>>24);case 11:return Zr(e3(this,(Wi(),PAt),n));case 12:return Zr(e3(this,(Wi(),BAt),n));case 13:return n==null?null:new L3e(ku(n,!0));case 15:case 14:return XEn(n);case 16:return Zr(e3(this,(Wi(),FAt),n));case 17:return mdt((Wi(),n));case 18:return mdt(n);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return ku(n,!0);case 21:case 20:return aCn(n);case 22:return Zr(e3(this,(Wi(),RAt),n));case 23:return Zr(e3(this,(Wi(),jAt),n));case 24:return Zr(e3(this,(Wi(),$At),n));case 25:return Zr(e3(this,(Wi(),zAt),n));case 26:return Zr(e3(this,(Wi(),qAt),n));case 27:return L6n(n);case 30:return vdt((Wi(),n));case 31:return vdt(n);case 32:return n==null?null:bt(Oh((L=ku(n,!0),L.length>0&&(Yn(0,L.length),L.charCodeAt(0)==43)?(Yn(1,L.length+1),L.substr(1)):L),ao,Ni));case 33:return n==null?null:new bb((F=ku(n,!0),F.length>0&&(Yn(0,F.length),F.charCodeAt(0)==43)?(Yn(1,F.length+1),F.substr(1)):F));case 34:return n==null?null:bt(Oh((z=ku(n,!0),z.length>0&&(Yn(0,z.length),z.charCodeAt(0)==43)?(Yn(1,z.length+1),z.substr(1)):z),ao,Ni));case 36:return n==null?null:lp(tG((V=ku(n,!0),V.length>0&&(Yn(0,V.length),V.charCodeAt(0)==43)?(Yn(1,V.length+1),V.substr(1)):V)));case 37:return n==null?null:lp(tG((J=ku(n,!0),J.length>0&&(Yn(0,J.length),J.charCodeAt(0)==43)?(Yn(1,J.length+1),J.substr(1)):J)));case 40:return S7n((Wi(),n));case 42:return wdt((Wi(),n));case 43:return wdt(n);case 44:return n==null?null:new bb((te=ku(n,!0),te.length>0&&(Yn(0,te.length),te.charCodeAt(0)==43)?(Yn(1,te.length+1),te.substr(1)):te));case 45:return n==null?null:new bb((fe=ku(n,!0),fe.length>0&&(Yn(0,fe.length),fe.charCodeAt(0)==43)?(Yn(1,fe.length+1),fe.substr(1)):fe));case 46:return ku(n,!1);case 47:return Zr(e3(this,(Wi(),HAt),n));case 59:case 48:return C7n((Wi(),n));case 49:return Zr(e3(this,(Wi(),UAt),n));case 50:return n==null?null:LT(Oh((Ee=ku(n,!0),Ee.length>0&&(Yn(0,Ee.length),Ee.charCodeAt(0)==43)?(Yn(1,Ee.length+1),Ee.substr(1)):Ee),aK,32767)<<16>>16);case 51:return n==null?null:LT(Oh((f=ku(n,!0),f.length>0&&(Yn(0,f.length),f.charCodeAt(0)==43)?(Yn(1,f.length+1),f.substr(1)):f),aK,32767)<<16>>16);case 53:return Zr(e3(this,(Wi(),VAt),n));case 55:return n==null?null:LT(Oh((g=ku(n,!0),g.length>0&&(Yn(0,g.length),g.charCodeAt(0)==43)?(Yn(1,g.length+1),g.substr(1)):g),aK,32767)<<16>>16);case 56:return n==null?null:LT(Oh((w=ku(n,!0),w.length>0&&(Yn(0,w.length),w.charCodeAt(0)==43)?(Yn(1,w.length+1),w.substr(1)):w),aK,32767)<<16>>16);case 57:return n==null?null:lp(tG((T=ku(n,!0),T.length>0&&(Yn(0,T.length),T.charCodeAt(0)==43)?(Yn(1,T.length+1),T.substr(1)):T)));case 58:return n==null?null:lp(tG((C=ku(n,!0),C.length>0&&(Yn(0,C.length),C.charCodeAt(0)==43)?(Yn(1,C.length+1),C.substr(1)):C)));case 60:return n==null?null:bt(Oh((r=ku(n,!0),r.length>0&&(Yn(0,r.length),r.charCodeAt(0)==43)?(Yn(1,r.length+1),r.substr(1)):r),ao,Ni));case 61:return n==null?null:bt(Oh(ku(n,!0),ao,Ni));default:throw ue(new Wn(kE+t.xe()+c3))}};var KAt,lBe,WAt,hBe;I(na,"XMLTypeFactoryImpl",2028),D(594,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1,2044:1,594:1},qat),h.N=!1,h.O=!1;var YAt=!1;I(na,"XMLTypePackageImpl",594),D(1961,1,{851:1},fk),h.Kk=function(){return jke(),iLt},I(na,"XMLTypePackageImpl/1",1961),D(1970,1,xi,HS),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/10",1970),D(1971,1,xi,Dre),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/11",1971),D(1972,1,xi,Ire),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/12",1972),D(1973,1,xi,b8),h.fk=function(t){return py(t)},h.gk=function(t){return We(ra,dt,345,t,7,1)},I(na,"XMLTypePackageImpl/13",1973),D(1974,1,xi,G$),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/14",1974),D(1975,1,xi,K$),h.fk=function(t){return De(t,15)},h.gk=function(t){return We(bf,e4,15,t,0,1)},I(na,"XMLTypePackageImpl/15",1975),D(1976,1,xi,Ore),h.fk=function(t){return De(t,15)},h.gk=function(t){return We(bf,e4,15,t,0,1)},I(na,"XMLTypePackageImpl/16",1976),D(1977,1,xi,W$),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/17",1977),D(1978,1,xi,Y$),h.fk=function(t){return De(t,161)},h.gk=function(t){return We(LE,dt,161,t,0,1)},I(na,"XMLTypePackageImpl/18",1978),D(1979,1,xi,qI),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/19",1979),D(1962,1,xi,Pre),h.fk=function(t){return De(t,857)},h.gk=function(t){return We(kF,jn,857,t,0,1)},I(na,"XMLTypePackageImpl/2",1962),D(1980,1,xi,US),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/20",1980),D(1981,1,xi,Bre),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/21",1981),D(1982,1,xi,Fre),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/22",1982),D(1983,1,xi,Rre),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/23",1983),D(1984,1,xi,jre),h.fk=function(t){return De(t,195)},h.gk=function(t){return We(_l,dt,195,t,0,2)},I(na,"XMLTypePackageImpl/24",1984),D(1985,1,xi,$re),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/25",1985),D(1986,1,xi,X$),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/26",1986),D(1987,1,xi,zre),h.fk=function(t){return De(t,15)},h.gk=function(t){return We(bf,e4,15,t,0,1)},I(na,"XMLTypePackageImpl/27",1987),D(1988,1,xi,qre),h.fk=function(t){return De(t,15)},h.gk=function(t){return We(bf,e4,15,t,0,1)},I(na,"XMLTypePackageImpl/28",1988),D(1989,1,xi,Hre),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/29",1989),D(1963,1,xi,Q$),h.fk=function(t){return De(t,681)},h.gk=function(t){return We(BY,jn,2119,t,0,1)},I(na,"XMLTypePackageImpl/3",1963),D(1990,1,xi,Ure),h.fk=function(t){return De(t,17)},h.gk=function(t){return We(to,dt,17,t,0,1)},I(na,"XMLTypePackageImpl/30",1990),D(1991,1,xi,Vre),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/31",1991),D(1992,1,xi,VS),h.fk=function(t){return De(t,168)},h.gk=function(t){return We(l3,dt,168,t,0,1)},I(na,"XMLTypePackageImpl/32",1992),D(1993,1,xi,Gre),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/33",1993),D(1994,1,xi,Kre),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/34",1994),D(1995,1,xi,Wre),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/35",1995),D(1996,1,xi,Yre),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/36",1996),D(1997,1,xi,Xre),h.fk=function(t){return De(t,15)},h.gk=function(t){return We(bf,e4,15,t,0,1)},I(na,"XMLTypePackageImpl/37",1997),D(1998,1,xi,Qre),h.fk=function(t){return De(t,15)},h.gk=function(t){return We(bf,e4,15,t,0,1)},I(na,"XMLTypePackageImpl/38",1998),D(1999,1,xi,J$),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/39",1999),D(1964,1,xi,Jre),h.fk=function(t){return De(t,682)},h.gk=function(t){return We(TF,jn,2120,t,0,1)},I(na,"XMLTypePackageImpl/4",1964),D(2e3,1,xi,Z$),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/40",2e3),D(2001,1,xi,Zre),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/41",2001),D(2002,1,xi,HI),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/42",2002),D(2003,1,xi,eie),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/43",2003),D(2004,1,xi,ez),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/44",2004),D(2005,1,xi,tie),h.fk=function(t){return De(t,191)},h.gk=function(t){return We(h3,dt,191,t,0,1)},I(na,"XMLTypePackageImpl/45",2005),D(2006,1,xi,tz),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/46",2006),D(2007,1,xi,nie),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/47",2007),D(2008,1,xi,nz),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/48",2008),D(2009,1,xi,rz),h.fk=function(t){return De(t,191)},h.gk=function(t){return We(h3,dt,191,t,0,1)},I(na,"XMLTypePackageImpl/49",2009),D(1965,1,xi,iz),h.fk=function(t){return De(t,683)},h.gk=function(t){return We(cBe,jn,2121,t,0,1)},I(na,"XMLTypePackageImpl/5",1965),D(2010,1,xi,UI),h.fk=function(t){return De(t,168)},h.gk=function(t){return We(l3,dt,168,t,0,1)},I(na,"XMLTypePackageImpl/50",2010),D(2011,1,xi,x5),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/51",2011),D(2012,1,xi,GS),h.fk=function(t){return De(t,17)},h.gk=function(t){return We(to,dt,17,t,0,1)},I(na,"XMLTypePackageImpl/52",2012),D(1966,1,xi,S1),h.fk=function(t){return Da(t)},h.gk=function(t){return We($t,dt,2,t,6,1)},I(na,"XMLTypePackageImpl/6",1966),D(1967,1,xi,sz),h.fk=function(t){return De(t,195)},h.gk=function(t){return We(_l,dt,195,t,0,2)},I(na,"XMLTypePackageImpl/7",1967),D(1968,1,xi,dk),h.fk=function(t){return gy(t)},h.gk=function(t){return We(Ps,dt,485,t,8,1)},I(na,"XMLTypePackageImpl/8",1968),D(1969,1,xi,VI),h.fk=function(t){return De(t,222)},h.gk=function(t){return We($x,dt,222,t,0,1)},I(na,"XMLTypePackageImpl/9",1969);var nd,H2,KM,FY,ye;D(55,63,gp,ri),I(L2,"RegEx/ParseException",55),D(836,1,{},az),h.bm=function(t){return tr*16)throw ue(new ri(si((Jr(),v5t))));r=r*16+o}while(!0);if(this.a!=125)throw ue(new ri(si((Jr(),w5t))));if(r>SE)throw ue(new ri(si((Jr(),y5t))));t=r}else{if(o=0,this.c!=0||(o=nv(this.a))<0)throw ue(new ri(si((Jr(),A2))));if(r=o,Mi(this),this.c!=0||(o=nv(this.a))<0)throw ue(new ri(si((Jr(),A2))));r=r*16+o,t=r}break;case 117:if(s=0,Mi(this),this.c!=0||(s=nv(this.a))<0)throw ue(new ri(si((Jr(),A2))));if(n=s,Mi(this),this.c!=0||(s=nv(this.a))<0)throw ue(new ri(si((Jr(),A2))));if(n=n*16+s,Mi(this),this.c!=0||(s=nv(this.a))<0)throw ue(new ri(si((Jr(),A2))));if(n=n*16+s,Mi(this),this.c!=0||(s=nv(this.a))<0)throw ue(new ri(si((Jr(),A2))));n=n*16+s,t=n;break;case 118:if(Mi(this),this.c!=0||(s=nv(this.a))<0)throw ue(new ri(si((Jr(),A2))));if(n=s,Mi(this),this.c!=0||(s=nv(this.a))<0)throw ue(new ri(si((Jr(),A2))));if(n=n*16+s,Mi(this),this.c!=0||(s=nv(this.a))<0)throw ue(new ri(si((Jr(),A2))));if(n=n*16+s,Mi(this),this.c!=0||(s=nv(this.a))<0)throw ue(new ri(si((Jr(),A2))));if(n=n*16+s,Mi(this),this.c!=0||(s=nv(this.a))<0)throw ue(new ri(si((Jr(),A2))));if(n=n*16+s,Mi(this),this.c!=0||(s=nv(this.a))<0)throw ue(new ri(si((Jr(),A2))));if(n=n*16+s,n>SE)throw ue(new ri(si((Jr(),"parser.descappe.4"))));t=n;break;case 65:case 90:case 122:throw ue(new ri(si((Jr(),x5t))))}return t},h.dm=function(t){var n,r;switch(t){case 100:r=(this.e&32)==32?Bb("Nd",!0):(Ii(),RY);break;case 68:r=(this.e&32)==32?Bb("Nd",!1):(Ii(),mBe);break;case 119:r=(this.e&32)==32?Bb("IsWord",!0):(Ii(),fC);break;case 87:r=(this.e&32)==32?Bb("IsWord",!1):(Ii(),wBe);break;case 115:r=(this.e&32)==32?Bb("IsSpace",!0):(Ii(),h9);break;case 83:r=(this.e&32)==32?Bb("IsSpace",!1):(Ii(),vBe);break;default:throw ue(new Ic((n=t,x6t+n.toString(16))))}return r},h.em=function(t){var n,r,s,o,f,g,w,T,C,L,F,z;for(this.b=1,Mi(this),n=null,this.c==0&&this.a==94?(Mi(this),t?L=(Ii(),Ii(),new _h(5)):(n=(Ii(),Ii(),new _h(4)),xu(n,0,SE),L=new _h(4))):L=(Ii(),Ii(),new _h(4)),o=!0;(z=this.c)!=1&&!(z==0&&this.a==93&&!o);){if(o=!1,r=this.a,s=!1,z==10)switch(r){case 100:case 68:case 119:case 87:case 115:case 83:Xy(L,this.dm(r)),s=!0;break;case 105:case 73:case 99:case 67:r=this.um(L,r),r<0&&(s=!0);break;case 112:case 80:if(F=F9e(this,r),!F)throw ue(new ri(si((Jr(),p0e))));Xy(L,F),s=!0;break;default:r=this.cm()}else if(z==20){if(g=Bk(this.i,58,this.d),g<0)throw ue(new ri(si((Jr(),$Se))));if(w=!0,io(this.i,this.d)==94&&(++this.d,w=!1),f=ef(this.i,this.d,g),T=Klt(f,w,(this.e&512)==512),!T)throw ue(new ri(si((Jr(),d5t))));if(Xy(L,T),s=!0,g+1>=this.j||io(this.i,g+1)!=93)throw ue(new ri(si((Jr(),$Se))));this.d=g+2}if(Mi(this),!s)if(this.c!=0||this.a!=45)xu(L,r,r);else{if(Mi(this),(z=this.c)==1)throw ue(new ri(si((Jr(),ZG))));z==0&&this.a==93?(xu(L,r,r),xu(L,45,45)):(C=this.a,z==10&&(C=this.cm()),Mi(this),xu(L,r,C))}(this.e&b0)==b0&&this.c==0&&this.a==44&&Mi(this)}if(this.c==1)throw ue(new ri(si((Jr(),ZG))));return n&&(rL(n,L),L=n),l6(L),tL(L),this.b=0,Mi(this),L},h.fm=function(){var t,n,r,s;for(r=this.em(!1);(s=this.c)!=7;)if(t=this.a,s==0&&(t==45||t==38)||s==4){if(Mi(this),this.c!=9)throw ue(new ri(si((Jr(),p5t))));if(n=this.em(!1),s==4)Xy(r,n);else if(t==45)rL(r,n);else if(t==38)ewt(r,n);else throw ue(new Ic("ASSERT"))}else throw ue(new ri(si((Jr(),b5t))));return Mi(this),r},h.gm=function(){var t,n;return t=this.a-48,n=(Ii(),Ii(),new koe(12,null,t)),!this.g&&(this.g=new Kz),Gz(this.g,new zwe(t)),Mi(this),n},h.hm=function(){return Mi(this),Ii(),JAt},h.im=function(){return Mi(this),Ii(),QAt},h.jm=function(){throw ue(new ri(si((Jr(),pf))))},h.km=function(){throw ue(new ri(si((Jr(),pf))))},h.lm=function(){return Mi(this),Uyn()},h.mm=function(){return Mi(this),Ii(),eLt},h.nm=function(){return Mi(this),Ii(),nLt},h.om=function(){var t;if(this.d>=this.j||((t=io(this.i,this.d++))&65504)!=64)throw ue(new ri(si((Jr(),l5t))));return Mi(this),Ii(),Ii(),new sg(0,t-64)},h.pm=function(){return Mi(this),KAn()},h.qm=function(){return Mi(this),Ii(),rLt},h.rm=function(){var t;return t=(Ii(),Ii(),new sg(0,105)),Mi(this),t},h.sm=function(){return Mi(this),Ii(),tLt},h.tm=function(){return Mi(this),Ii(),ZAt},h.um=function(t,n){return this.cm()},h.vm=function(){return Mi(this),Ii(),pBe},h.wm=function(){var t,n,r,s,o;if(this.d+1>=this.j)throw ue(new ri(si((Jr(),o5t))));if(s=-1,n=null,t=io(this.i,this.d),49<=t&&t<=57){if(s=t-48,!this.g&&(this.g=new Kz),Gz(this.g,new zwe(s)),++this.d,io(this.i,this.d)!=41)throw ue(new ri(si((Jr(),pv))));++this.d}else switch(t==63&&--this.d,Mi(this),n=lTe(this),n.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw ue(new ri(si((Jr(),pv))));break;default:throw ue(new ri(si((Jr(),c5t))))}if(Mi(this),o=Gw(this),r=null,o.e==2){if(o.Pm()!=2)throw ue(new ri(si((Jr(),u5t))));r=o.Lm(1),o=o.Lm(0)}if(this.c!=7)throw ue(new ri(si((Jr(),pv))));return Mi(this),Ii(),Ii(),new Aht(s,n,o,r)},h.xm=function(){return Mi(this),Ii(),bBe},h.ym=function(){var t;if(Mi(this),t=EH(24,Gw(this)),this.c!=7)throw ue(new ri(si((Jr(),pv))));return Mi(this),t},h.zm=function(){var t;if(Mi(this),t=EH(20,Gw(this)),this.c!=7)throw ue(new ri(si((Jr(),pv))));return Mi(this),t},h.Am=function(){var t;if(Mi(this),t=EH(22,Gw(this)),this.c!=7)throw ue(new ri(si((Jr(),pv))));return Mi(this),t},h.Bm=function(){var t,n,r,s,o;for(t=0,r=0,n=-1;this.d=this.j)throw ue(new ri(si((Jr(),RSe))));if(n==45){for(++this.d;this.d=this.j)throw ue(new ri(si((Jr(),RSe))))}if(n==58){if(++this.d,Mi(this),s=Tat(Gw(this),t,r),this.c!=7)throw ue(new ri(si((Jr(),pv))));Mi(this)}else if(n==41)++this.d,Mi(this),s=Tat(Gw(this),t,r);else throw ue(new ri(si((Jr(),a5t))));return s},h.Cm=function(){var t;if(Mi(this),t=EH(21,Gw(this)),this.c!=7)throw ue(new ri(si((Jr(),pv))));return Mi(this),t},h.Dm=function(){var t;if(Mi(this),t=EH(23,Gw(this)),this.c!=7)throw ue(new ri(si((Jr(),pv))));return Mi(this),t},h.Em=function(){var t,n;if(Mi(this),t=this.f++,n=Xae(Gw(this),t),this.c!=7)throw ue(new ri(si((Jr(),pv))));return Mi(this),n},h.Fm=function(){var t;if(Mi(this),t=Xae(Gw(this),0),this.c!=7)throw ue(new ri(si((Jr(),pv))));return Mi(this),t},h.Gm=function(t){return Mi(this),this.c==5?(Mi(this),pH(t,(Ii(),Ii(),new _y(9,t)))):pH(t,(Ii(),Ii(),new _y(3,t)))},h.Hm=function(t){var n;return Mi(this),n=(Ii(),Ii(),new F_(2)),this.c==5?(Mi(this),sv(n,YM),sv(n,t)):(sv(n,t),sv(n,YM)),n},h.Im=function(t){return Mi(this),this.c==5?(Mi(this),Ii(),Ii(),new _y(9,t)):(Ii(),Ii(),new _y(3,t))},h.a=0,h.b=0,h.c=0,h.d=0,h.e=0,h.f=1,h.g=null,h.j=0,I(L2,"RegEx/RegexParser",836),D(1947,836,{},HJe),h.bm=function(t){return!1},h.cm=function(){return vke(this)},h.dm=function(t){return QT(t)},h.em=function(t){return Ywt(this)},h.fm=function(){throw ue(new ri(si((Jr(),pf))))},h.gm=function(){throw ue(new ri(si((Jr(),pf))))},h.hm=function(){throw ue(new ri(si((Jr(),pf))))},h.im=function(){throw ue(new ri(si((Jr(),pf))))},h.jm=function(){return Mi(this),QT(67)},h.km=function(){return Mi(this),QT(73)},h.lm=function(){throw ue(new ri(si((Jr(),pf))))},h.mm=function(){throw ue(new ri(si((Jr(),pf))))},h.nm=function(){throw ue(new ri(si((Jr(),pf))))},h.om=function(){return Mi(this),QT(99)},h.pm=function(){throw ue(new ri(si((Jr(),pf))))},h.qm=function(){throw ue(new ri(si((Jr(),pf))))},h.rm=function(){return Mi(this),QT(105)},h.sm=function(){throw ue(new ri(si((Jr(),pf))))},h.tm=function(){throw ue(new ri(si((Jr(),pf))))},h.um=function(t,n){return Xy(t,QT(n)),-1},h.vm=function(){return Mi(this),Ii(),Ii(),new sg(0,94)},h.wm=function(){throw ue(new ri(si((Jr(),pf))))},h.xm=function(){return Mi(this),Ii(),Ii(),new sg(0,36)},h.ym=function(){throw ue(new ri(si((Jr(),pf))))},h.zm=function(){throw ue(new ri(si((Jr(),pf))))},h.Am=function(){throw ue(new ri(si((Jr(),pf))))},h.Bm=function(){throw ue(new ri(si((Jr(),pf))))},h.Cm=function(){throw ue(new ri(si((Jr(),pf))))},h.Dm=function(){throw ue(new ri(si((Jr(),pf))))},h.Em=function(){var t;if(Mi(this),t=Xae(Gw(this),0),this.c!=7)throw ue(new ri(si((Jr(),pv))));return Mi(this),t},h.Fm=function(){throw ue(new ri(si((Jr(),pf))))},h.Gm=function(t){return Mi(this),pH(t,(Ii(),Ii(),new _y(3,t)))},h.Hm=function(t){var n;return Mi(this),n=(Ii(),Ii(),new F_(2)),sv(n,t),sv(n,YM),n},h.Im=function(t){return Mi(this),Ii(),Ii(),new _y(3,t)};var f7=null,lC=null;I(L2,"RegEx/ParserForXMLSchema",1947),D(122,1,_E,rw),h.Jm=function(t){throw ue(new Ic("Not supported."))},h.Km=function(){return-1},h.Lm=function(t){return null},h.Mm=function(){return null},h.Nm=function(t){},h.Om=function(t){},h.Pm=function(){return 0},h.Ib=function(){return this.Qm(0)},h.Qm=function(t){return this.e==11?".":""},h.e=0;var fBe,hC,WM,XAt,dBe,R4=null,RY,kpe=null,gBe,YM,Tpe=null,pBe,bBe,mBe,vBe,wBe,QAt,h9,JAt,ZAt,eLt,tLt,fC,nLt,rLt,rNn=I(L2,"RegEx/Token",122);D(138,122,{3:1,138:1,122:1},_h),h.Qm=function(t){var n,r,s;if(this.e==4)if(this==gBe)r=".";else if(this==RY)r="\\d";else if(this==fC)r="\\w";else if(this==h9)r="\\s";else{for(s=new e2,s.a+="[",n=0;n0&&(s.a+=","),this.b[n]===this.b[n+1]?Jo(s,kP(this.b[n])):(Jo(s,kP(this.b[n])),s.a+="-",Jo(s,kP(this.b[n+1])));s.a+="]",r=s.a}else if(this==mBe)r="\\D";else if(this==wBe)r="\\W";else if(this==vBe)r="\\S";else{for(s=new e2,s.a+="[^",n=0;n0&&(s.a+=","),this.b[n]===this.b[n+1]?Jo(s,kP(this.b[n])):(Jo(s,kP(this.b[n])),s.a+="-",Jo(s,kP(this.b[n+1])));s.a+="]",r=s.a}return r},h.a=!1,h.c=!1,I(L2,"RegEx/RangeToken",138),D(592,1,{592:1},zwe),h.a=0,I(L2,"RegEx/RegexParser/ReferencePosition",592),D(591,1,{3:1,591:1},iet),h.Fb=function(t){var n;return t==null||!De(t,591)?!1:(n=l(t,591),wn(this.b,n.b)&&this.a==n.a)},h.Hb=function(){return g2(this.b+"/"+hke(this.a))},h.Ib=function(){return this.c.Qm(this.a)},h.a=0,I(L2,"RegEx/RegularExpression",591),D(228,122,_E,sg),h.Km=function(){return this.a},h.Qm=function(t){var n,r,s;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:s="\\"+Cae(this.a&ta);break;case 12:s="\\f";break;case 10:s="\\n";break;case 13:s="\\r";break;case 9:s="\\t";break;case 27:s="\\e";break;default:this.a>=Lo?(r=(n=this.a>>>0,"0"+n.toString(16)),s="\\v"+ef(r,r.length-6,r.length)):s=""+Cae(this.a&ta)}break;case 8:this==pBe||this==bBe?s=""+Cae(this.a&ta):s="\\"+Cae(this.a&ta);break;default:s=null}return s},h.a=0,I(L2,"RegEx/Token/CharToken",228),D(318,122,_E,_y),h.Lm=function(t){return this.a},h.Nm=function(t){this.b=t},h.Om=function(t){this.c=t},h.Pm=function(){return 1},h.Qm=function(t){var n;if(this.e==3)if(this.c<0&&this.b<0)n=this.a.Qm(t)+"*";else if(this.c==this.b)n=this.a.Qm(t)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)n=this.a.Qm(t)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)n=this.a.Qm(t)+"{"+this.c+",}";else throw ue(new Ic("Token#toString(): CLOSURE "+this.c+To+this.b));else if(this.c<0&&this.b<0)n=this.a.Qm(t)+"*?";else if(this.c==this.b)n=this.a.Qm(t)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)n=this.a.Qm(t)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)n=this.a.Qm(t)+"{"+this.c+",}?";else throw ue(new Ic("Token#toString(): NONGREEDYCLOSURE "+this.c+To+this.b));return n},h.b=0,h.c=0,I(L2,"RegEx/Token/ClosureToken",318),D(837,122,_E,M5e),h.Lm=function(t){return t==0?this.a:this.b},h.Pm=function(){return 2},h.Qm=function(t){var n;return this.b.e==3&&this.b.Lm(0)==this.a?n=this.a.Qm(t)+"+":this.b.e==9&&this.b.Lm(0)==this.a?n=this.a.Qm(t)+"+?":n=this.a.Qm(t)+(""+this.b.Qm(t)),n},I(L2,"RegEx/Token/ConcatToken",837),D(1945,122,_E,Aht),h.Lm=function(t){if(t==0)return this.d;if(t==1)return this.b;throw ue(new Ic("Internal Error: "+t))},h.Pm=function(){return this.b?2:1},h.Qm=function(t){var n;return this.c>0?n="(?("+this.c+")":this.a.e==8?n="(?("+this.a+")":n="(?"+this.a,this.b?n+=this.d+"|"+this.b+")":n+=this.d+")",n},h.c=0,I(L2,"RegEx/Token/ConditionToken",1945),D(1946,122,_E,vct),h.Lm=function(t){return this.b},h.Pm=function(){return 1},h.Qm=function(t){return"(?"+(this.a==0?"":hke(this.a))+(this.c==0?"":hke(this.c))+":"+this.b.Qm(t)+")"},h.a=0,h.c=0,I(L2,"RegEx/Token/ModifierToken",1946),D(838,122,_E,$5e),h.Lm=function(t){return this.a},h.Pm=function(){return 1},h.Qm=function(t){var n;switch(n=null,this.e){case 6:this.b==0?n="(?:"+this.a.Qm(t)+")":n="("+this.a.Qm(t)+")";break;case 20:n="(?="+this.a.Qm(t)+")";break;case 21:n="(?!"+this.a.Qm(t)+")";break;case 22:n="(?<="+this.a.Qm(t)+")";break;case 23:n="(?"+this.a.Qm(t)+")"}return n},h.b=0,I(L2,"RegEx/Token/ParenToken",838),D(530,122,{3:1,122:1,530:1},koe),h.Mm=function(){return this.b},h.Qm=function(t){return this.e==12?"\\"+this.a:jEn(this.b)},h.a=0,I(L2,"RegEx/Token/StringToken",530),D(477,122,_E,F_),h.Jm=function(t){sv(this,t)},h.Lm=function(t){return l(Aw(this.a,t),122)},h.Pm=function(){return this.a?this.a.a.c.length:0},h.Qm=function(t){var n,r,s,o,f;if(this.e==1){if(this.a.a.c.length==2)n=l(Aw(this.a,0),122),r=l(Aw(this.a,1),122),r.e==3&&r.Lm(0)==n?o=n.Qm(t)+"+":r.e==9&&r.Lm(0)==n?o=n.Qm(t)+"+?":o=n.Qm(t)+(""+r.Qm(t));else{for(f=new e2,s=0;s=this.c.b:this.a<=this.c.b},h.Sb=function(){return this.b>0},h.Tb=function(){return this.b},h.Vb=function(){return this.b-1},h.Qb=function(){throw ue(new Jp(A6t))},h.a=0,h.b=0,I(s_e,"ExclusiveRange/RangeIterator",258);var xf=Wk(eK,"C"),Ur=Wk(ML,"I"),th=Wk(Sx,"Z"),hm=Wk(DL,"J"),_l=Wk(_L,"B"),Oa=Wk(AL,"D"),j4=Wk(LL,"F"),d7=Wk(IL,"S"),iNn=Ts("org.eclipse.elk.core.labels","ILabelManager"),yBe=Ts(Eo,"DiagnosticChain"),xBe=Ts(n6t,"ResourceSet"),kBe=I(Eo,"InvocationTargetException",null),sLt=(Qz(),vvn),aLt=aLt=uxn;h3n(oun),o3n("permProps",[[["locale","default"],[L6t,"gecko1_8"]],[["locale","default"],[L6t,"safari"]]]),aLt(null,"elk",null)}).call(this)}).call(this,typeof Dg<"u"?Dg:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(u,d,p){function v(A,P){if(!(A instanceof P))throw new TypeError("Cannot call a class as a function")}function b(A,P){if(!A)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P&&(typeof P=="object"||typeof P=="function")?P:A}function y(A,P){if(typeof P!="function"&&P!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof P);A.prototype=Object.create(P&&P.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}),P&&(Object.setPrototypeOf?Object.setPrototypeOf(A,P):A.__proto__=P)}var E=u("./elk-api.js").default,_=function(A){y(P,A);function P(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};v(this,P);var B=Object.assign({},R),j=!1;try{u.resolve("web-worker"),j=!0}catch{}if(R.workerUrl)if(j){var W=u("web-worker");B.workerFactory=function(oe){return new W(oe)}}else console.warn(`Web worker requested but 'web-worker' package not installed. -Consider installing the package or pass your own 'workerFactory' to ELK's constructor. -... Falling back to non-web worker version.`);if(!B.workerFactory){var ee=u("./elk-worker.min.js"),ie=ee.Worker;B.workerFactory=function(oe){return new ie(oe)}}return b(this,(P.__proto__||Object.getPrototypeOf(P)).call(this,B))}return P}(E);Object.defineProperty(d.exports,"__esModule",{value:!0}),d.exports=_,_.default=_},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(u,d,p){d.exports=Worker},{}]},{},[3])(3)})})(vWe);var Gan=vWe.exports;const Kan=dC(Gan),wWe=new Kan;let Xv={};const Wan={};let Y7={};const Yan=async function(i,a,u,d,p,v,b){const E=u.select(`[id="${a}"]`).insert("g").attr("class","nodes"),_=Object.keys(i);return await Promise.all(_.map(async function(A){const P=i[A];let R="default";P.classes.length>0&&(R=P.classes.join(" ")),R=R+" flowchart-label";const B=gm(P.styles);let j=P.text!==void 0?P.text:P.id;const W={width:0,height:0},ee=[{id:P.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:P.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:P.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:P.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let ie=0,oe="",be={};switch(P.type){case"round":ie=5,oe="rect";break;case"square":oe="rect";break;case"diamond":oe="question",be={portConstraints:"FIXED_SIDE"};break;case"hexagon":oe="hexagon";break;case"odd":oe="rect_left_inv_arrow";break;case"lean_right":oe="lean_right";break;case"lean_left":oe="lean_left";break;case"trapezoid":oe="trapezoid";break;case"inv_trapezoid":oe="inv_trapezoid";break;case"odd_right":oe="rect_left_inv_arrow";break;case"circle":oe="circle";break;case"ellipse":oe="ellipse";break;case"stadium":oe="stadium";break;case"subroutine":oe="subroutine";break;case"cylinder":oe="cylinder";break;case"group":oe="rect";break;case"doublecircle":oe="doublecircle";break;default:oe="rect"}const ge={labelStyle:B.labelStyle,shape:oe,labelText:j,labelType:P.labelType,rx:ie,ry:ie,class:R,style:B.style,id:P.id,link:P.link,linkTarget:P.linkTarget,tooltip:p.db.getTooltip(P.id)||"",domId:p.db.lookUpDomId(P.id),haveCallback:P.haveCallback,width:P.type==="group"?500:void 0,dir:P.dir,type:P.type,props:P.props,padding:mh().flowchart.padding};let ae,ne;if(ge.type!=="group")ne=await pJ(E,ge,P.dir),ae=ne.node().getBBox();else{d.createElementNS("http://www.w3.org/2000/svg","text");const{shapeSvg:de,bbox:X}=await g1(E,ge,void 0,!0);W.width=X.width,W.wrappingWidth=mh().flowchart.wrappingWidth,W.height=X.height,W.labelNode=de.node(),ge.labelData=W}const se={id:P.id,ports:P.type==="diamond"?ee:[],layoutOptions:be,labelText:j,labelData:W,domId:p.db.lookUpDomId(P.id),width:ae==null?void 0:ae.width,height:ae==null?void 0:ae.height,type:P.type,el:ne,parent:v.parentById[P.id]};Y7[ge.id]=se})),b},yWe=(i,a,u)=>{const d={TB:{in:{north:"north"},out:{south:"west",west:"east",east:"south"}},LR:{in:{west:"west"},out:{east:"south",south:"north",north:"east"}},RL:{in:{east:"east"},out:{west:"north",north:"south",south:"west"}},BT:{in:{south:"south"},out:{north:"east",east:"west",west:"north"}}};return d.TD=d.TB,d[u][a][i]},xWe=(i,a,u)=>{if(Xe.info("getNextPort",{node:i,edgeDirection:a,graphDirection:u}),!Xv[i])switch(u){case"TB":case"TD":Xv[i]={inPosition:"north",outPosition:"south"};break;case"BT":Xv[i]={inPosition:"south",outPosition:"north"};break;case"RL":Xv[i]={inPosition:"east",outPosition:"west"};break;case"LR":Xv[i]={inPosition:"west",outPosition:"east"};break}const d=a==="in"?Xv[i].inPosition:Xv[i].outPosition;return a==="in"?Xv[i].inPosition=yWe(Xv[i].inPosition,a,u):Xv[i].outPosition=yWe(Xv[i].outPosition,a,u),d},Xan=(i,a)=>{let u=i.start,d=i.end;const p=u,v=d,b=Y7[u],y=Y7[d];return!b||!y?{source:u,target:d}:(b.type==="diamond"&&(u=`${u}-${xWe(u,"out",a)}`),y.type==="diamond"&&(d=`${d}-${xWe(d,"in",a)}`),{source:u,target:d,sourceId:p,targetId:v})},Qan=function(i,a,u,d){Xe.info("abc78 edges = ",i);const p=d.insert("g").attr("class","edgeLabels");let v={},b=a.db.getDirection(),y,E;if(i.defaultStyle!==void 0){const _=gm(i.defaultStyle);y=_.style,E=_.labelStyle}return i.forEach(function(_){const A="L-"+_.start+"-"+_.end;v[A]===void 0?(v[A]=0,Xe.info("abc78 new entry",A,v[A])):(v[A]++,Xe.info("abc78 new entry",A,v[A]));let P=A+"-"+v[A];Xe.info("abc78 new link id to be used is",A,P,v[A]);const R="LS-"+_.start,B="LE-"+_.end,j={style:"",labelStyle:""};switch(j.minlen=_.length||1,_.type==="arrow_open"?j.arrowhead="none":j.arrowhead="normal",j.arrowTypeStart="arrow_open",j.arrowTypeEnd="arrow_open",_.type){case"double_arrow_cross":j.arrowTypeStart="arrow_cross";case"arrow_cross":j.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":j.arrowTypeStart="arrow_point";case"arrow_point":j.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":j.arrowTypeStart="arrow_circle";case"arrow_circle":j.arrowTypeEnd="arrow_circle";break}let W="",ee="";switch(_.stroke){case"normal":W="fill:none;",y!==void 0&&(W=y),E!==void 0&&(ee=E),j.thickness="normal",j.pattern="solid";break;case"dotted":j.thickness="normal",j.pattern="dotted",j.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":j.thickness="thick",j.pattern="solid",j.style="stroke-width: 3.5px;fill:none;";break}if(_.style!==void 0){const ne=gm(_.style);W=ne.style,ee=ne.labelStyle}j.style=j.style+=W,j.labelStyle=j.labelStyle+=ee,_.interpolate!==void 0?j.curve=qv(_.interpolate,Sp):i.defaultInterpolate!==void 0?j.curve=qv(i.defaultInterpolate,Sp):j.curve=qv(Wan.curve,Sp),_.text===void 0?_.style!==void 0&&(j.arrowheadStyle="fill: #333"):(j.arrowheadStyle="fill: #333",j.labelpos="c"),j.labelType=_.labelType,j.label=_.text.replace(oi.lineBreakRegex,` -`),_.style===void 0&&(j.style=j.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),j.labelStyle=j.labelStyle.replace("color:","fill:"),j.id=P,j.classes="flowchart-link "+R+" "+B;const ie=sve(p,j),{source:oe,target:be,sourceId:ge,targetId:ae}=Xan(_,b);Xe.debug("abc78 source and target",oe,be),u.edges.push({id:"e"+_.start+_.end,sources:[oe],targets:[be],sourceId:ge,targetId:ae,labelEl:ie,labels:[{width:j.width,height:j.height,orgWidth:j.width,orgHeight:j.height,text:j.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:j})}),u},Jan=function(i,a,u,d,p){let v="";d&&(v=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,v=v.replace(/\(/g,"\\("),v=v.replace(/\)/g,"\\)")),rGe(i,a,v,p,u)},Zan=function(i,a){return Xe.info("Extracting classes"),a.db.getClasses()},eon=function(i){const a={parentById:{},childrenById:{}},u=i.getSubGraphs();return Xe.info("Subgraphs - ",u),u.forEach(function(d){d.nodes.forEach(function(p){a.parentById[p]=d.id,a.childrenById[d.id]===void 0&&(a.childrenById[d.id]=[]),a.childrenById[d.id].push(p)})}),u.forEach(function(d){d.id,a.parentById[d.id]!==void 0&&a.parentById[d.id]}),a},ton=function(i,a,u){const d=Van(i,a,u);if(d===void 0||d==="root")return{x:0,y:0};const p=Y7[d].offset;return{x:p.posX,y:p.posY}},non=function(i,a,u,d,p,v){const b=ton(a.sourceId,a.targetId,p),y=a.sections[0].startPoint,E=a.sections[0].endPoint,A=(a.sections[0].bendPoints?a.sections[0].bendPoints:[]).map(be=>[be.x+b.x,be.y+b.y]),P=[[y.x+b.x,y.y+b.y],...A,[E.x+b.x,E.y+b.y]],{x:R,y:B}=nGe(a.edgeData),j=E7().x(R).y(B).curve(Sp),W=i.insert("path").attr("d",j(P)).attr("class","path "+u.classes).attr("fill","none"),ee=i.insert("g").attr("class","edgeLabel"),ie=Dr(ee.node().appendChild(a.labelEl)),oe=ie.node().firstChild.getBoundingClientRect();ie.attr("width",oe.width),ie.attr("height",oe.height),ee.attr("transform",`translate(${a.labels[0].x+b.x}, ${a.labels[0].y+b.y})`),Jan(W,u,d.type,d.arrowMarkerAbsolute,v)},kWe=(i,a)=>{i.forEach(u=>{u.children||(u.children=[]);const d=a.childrenById[u.id];d&&d.forEach(p=>{u.children.push(Y7[p])}),kWe(u.children,a)})},ron=async function(i,a,u,d){var se;d.db.clear(),Y7={},Xv={},d.db.setGen("gen-2"),d.parser.parse(i);const p=Dr("body").append("div").attr("style","height:400px").attr("id","cy");let v={id:"root",layoutOptions:{"elk.hierarchyHandling":"INCLUDE_CHILDREN","org.eclipse.elk.padding":"[top=100, left=100, bottom=110, right=110]","elk.layered.spacing.edgeNodeBetweenLayers":"30","elk.direction":"DOWN"},children:[],edges:[]};switch(Xe.info("Drawing flowchart using v3 renderer",wWe),d.db.getDirection()){case"BT":v.layoutOptions["elk.direction"]="UP";break;case"TB":v.layoutOptions["elk.direction"]="DOWN";break;case"LR":v.layoutOptions["elk.direction"]="RIGHT";break;case"RL":v.layoutOptions["elk.direction"]="LEFT";break}const{securityLevel:y,flowchart:E}=mh();let _;y==="sandbox"&&(_=Dr("#i"+a));const A=Dr(y==="sandbox"?_.nodes()[0].contentDocument.body:"body"),P=y==="sandbox"?_.nodes()[0].contentDocument:document,R=A.select(`[id="${a}"]`);Ume(R,["point","circle","cross"],d.type,a);const j=d.db.getVertices();let W;const ee=d.db.getSubGraphs();Xe.info("Subgraphs - ",ee);for(let de=ee.length-1;de>=0;de--)W=ee[de],d.db.addVertex(W.id,{text:W.title,type:W.labelType},"group",void 0,W.classes,W.dir);const ie=R.insert("g").attr("class","subgraphs"),oe=eon(d.db);v=await Yan(j,a,A,P,d,oe,v);const be=R.insert("g").attr("class","edges edgePath"),ge=d.db.getEdges();v=Qan(ge,d,v,R),Object.keys(Y7).forEach(de=>{const X=Y7[de];X.parent||v.children.push(X),oe.childrenById[de]!==void 0&&(X.labels=[{text:X.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:X.labelData.width,height:X.labelData.height}],delete X.x,delete X.y,delete X.width,delete X.height)}),kWe(v.children,oe),Xe.info("after layout",JSON.stringify(v,null,2));const ne=await wWe.layout(v);TWe(0,0,ne.children,R,ie,d,0),Xe.info("after layout",ne),(se=ne.edges)==null||se.map(de=>{non(be,de,de.edgeData,d,oe,a)}),x9({},R,E.diagramPadding,E.useMaxWidth),p.remove()},TWe=(i,a,u,d,p,v,b)=>{u.forEach(function(y){if(y)if(Y7[y.id].offset={posX:y.x+i,posY:y.y+a,x:i,y:a,depth:b,width:y.width,height:y.height},y.type==="group"){const E=p.insert("g").attr("class","subgraph");E.insert("rect").attr("class","subgraph subgraph-lvl-"+b%5+" node").attr("x",y.x+i).attr("y",y.y+a).attr("width",y.width).attr("height",y.height);const _=E.insert("g").attr("class","label"),A=mh().flowchart.htmlLabels?y.labelData.width/2:0;_.attr("transform",`translate(${y.labels[0].x+i+y.x+A}, ${y.labels[0].y+a+y.y+3})`),_.node().appendChild(y.labelData.labelNode),Xe.info("Id (UGH)= ",y.type,y.labels)}else Xe.info("Id (UGH)= ",y.id),y.el.attr("transform",`translate(${y.x+i+y.width/2}, ${y.y+a+y.height/2})`)}),u.forEach(function(y){y&&y.type==="group"&&TWe(i+y.x,a+y.y,y.children,d,p,v,b+1)})},ion={getClasses:Zan,draw:ron},son=i=>{let a="";for(let u=0;u<5;u++)a+=` - .subgraph-lvl-${u} { - fill: ${i[`surface${u}`]}; - stroke: ${i[`surfacePeer${u}`]}; - } - `;return a},aon=Object.freeze(Object.defineProperty({__proto__:null,diagram:{db:WVt,renderer:ion,parser:lme,styles:i=>`.label { - font-family: ${i.fontFamily}; - color: ${i.nodeTextColor||i.textColor}; - } - .cluster-label text { - fill: ${i.titleColor}; - } - .cluster-label span { - color: ${i.titleColor}; - } + ${t.actor5?`fill: ${t.actor5}`:""}; + } + ${uk()} +`,"getStyles"),_$r=Ghi});var Hct,jhi,I$r,N$r,zhi,Uhi,Vct,Vhi,Hhi,O$r,qhi,tH,P$r=ie(()=>{"use strict";Yo();sA();Hct=i(function(t,r){return WN(t,r)},"drawRect"),jhi=i(function(t,r){let o=t.append("circle").attr("cx",r.cx).attr("cy",r.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),l=t.append("g");l.append("circle").attr("cx",r.cx-15/3).attr("cy",r.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),l.append("circle").attr("cx",r.cx+15/3).attr("cy",r.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function h(m){let b=f4().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);m.append("path").attr("class","mouth").attr("d",b).attr("transform","translate("+r.cx+","+(r.cy+2)+")")}i(h,"smile");function f(m){let b=f4().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);m.append("path").attr("class","mouth").attr("d",b).attr("transform","translate("+r.cx+","+(r.cy+7)+")")}i(f,"sad");function p(m){m.append("line").attr("class","mouth").attr("stroke",2).attr("x1",r.cx-5).attr("y1",r.cy+7).attr("x2",r.cx+5).attr("y2",r.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return i(p,"ambivalent"),r.score>3?h(l):r.score<3?f(l):p(l),o},"drawFace"),I$r=i(function(t,r){let a=t.append("circle");return a.attr("cx",r.cx),a.attr("cy",r.cy),a.attr("class","actor-"+r.pos),a.attr("fill",r.fill),a.attr("stroke",r.stroke),a.attr("r",r.r),a.class!==void 0&&a.attr("class",a.class),r.title!==void 0&&a.append("title").text(r.title),a},"drawCircle"),N$r=i(function(t,r){return Bdr(t,r)},"drawText"),zhi=i(function(t,r){function a(l,h,f,p,m){return l+","+h+" "+(l+f)+","+h+" "+(l+f)+","+(h+p-m)+" "+(l+f-m*1.2)+","+(h+p)+" "+l+","+(h+p)}i(a,"genPoints");let o=t.append("polygon");o.attr("points",a(r.x,r.y,50,20,7)),o.attr("class","labelBox"),r.y=r.y+r.labelMargin,r.x=r.x+.5*r.labelMargin,N$r(t,r)},"drawLabel"),Uhi=i(function(t,r,a){let o=t.append("g"),l=xb();l.x=r.x,l.y=r.y,l.fill=r.fill,l.width=a.width*r.taskCount+a.diagramMarginX*(r.taskCount-1),l.height=a.height,l.class="journey-section section-type-"+r.num,l.rx=3,l.ry=3,Hct(o,l),O$r(a)(r.text,o,l.x,l.y,l.width,l.height,{class:"journey-section section-type-"+r.num},a,r.colour)},"drawSection"),Vct=-1,Vhi=i(function(t,r,a,o){let l=r.x+a.width/2,h=t.append("g");Vct++,h.append("line").attr("id",o+"-task"+Vct).attr("x1",l).attr("y1",r.y).attr("x2",l).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),jhi(h,{cx:l,cy:300+(5-r.score)*30,score:r.score});let p=xb();p.x=r.x,p.y=r.y,p.fill=r.fill,p.width=a.width,p.height=a.height,p.class="task task-type-"+r.num,p.rx=3,p.ry=3,Hct(h,p);let m=r.x+14;r.people.forEach(b=>{let v=r.actors[b].color,T={cx:m,cy:r.y,r:7,fill:v,stroke:"#000",title:b,pos:r.actors[b].position};I$r(h,T),m+=10}),O$r(a)(r.task,h,p.x,p.y,p.width,p.height,{class:"task"},a,r.colour)},"drawTask"),Hhi=i(function(t,r){Mve(t,r)},"drawBackgroundRect"),O$r=(function(){function t(l,h,f,p,m,b,v,T){let C=h.append("text").attr("x",f+m/2).attr("y",p+b/2+5).style("font-color",T).style("text-anchor","middle").text(l);o(C,v)}i(t,"byText");function r(l,h,f,p,m,b,v,T,C){let{taskFontSize:E,taskFontFamily:S}=T,R=l.split(//gi);for(let L=0;L{let h=WA[l].color,f={cx:20,cy:o,r:7,fill:h,stroke:"#000",pos:WA[l].position};tH.drawCircle(t,f);let p=t.append("text").attr("visibility","hidden").text(l),m=p.node().getBoundingClientRect().width;p.remove();let b=[];if(m<=a)b=[l];else{let v=l.split(" "),T="";p=t.append("text").attr("visibility","hidden"),v.forEach(C=>{let E=T?`${T} ${C}`:C;if(p.text(E),p.node().getBoundingClientRect().width>a){if(T&&b.push(T),T=C,p.text(C),p.node().getBoundingClientRect().width>a){let R="";for(let L of C)R+=L,p.text(R+"-"),p.node().getBoundingClientRect().width>a&&(b.push(R.slice(0,-1)+"-"),R=L);T=R}}else T=E}),T&&b.push(T),p.remove()}b.forEach((v,T)=>{let C={x:40,y:o+7+T*20,fill:"#666",text:v,textMargin:r.boxTextMargin??5},S=tH.drawText(t,C).node().getBoundingClientRect().width;S>F4e&&S>r.leftMargin-S&&(F4e=S)}),o+=Math.max(20,b.length*20)})}var Whi,WA,F4e,P4,a_,Khi,pk,qct,B$r,Xhi,Wct,F$r=ie(()=>{"use strict";Yo();P$r();ma();Gh();Whi=i(function(t){Object.keys(t).forEach(function(a){P4[a]=t[a]})},"setConf"),WA={},F4e=0;i(Yhi,"drawActorLegend");P4=Zt().journey,a_=0,Khi=i(function(t,r,a,o){let l=Zt(),h=l.journey.titleColor,f=l.journey.titleFontSize,p=l.journey.titleFontFamily,m=l.securityLevel,b;m==="sandbox"&&(b=dn("#i"+r));let v=m==="sandbox"?dn(b.nodes()[0].contentDocument.body):dn("body");pk.init();let T=v.select("#"+r);tH.initGraphics(T,r);let C=o.db.getTasks(),E=o.db.getDiagramTitle(),S=o.db.getActors();for(let F in WA)delete WA[F];let R=0;S.forEach(F=>{WA[F]={color:P4.actorColours[R%P4.actorColours.length],position:R},R++}),Yhi(T),a_=P4.leftMargin+F4e,pk.insert(0,0,a_,Object.keys(WA).length*50),Xhi(T,C,0,r);let L=pk.getBounds();E&&T.append("text").text(E).attr("x",a_).attr("font-size",f).attr("font-weight","bold").attr("y",25).attr("fill",h).attr("font-family",p);let _=L.stopy-L.starty+2*P4.diagramMarginY,M=a_+L.stopx+2*P4.diagramMarginX;vl(T,_,M,P4.useMaxWidth),T.append("line").attr("x1",a_).attr("y1",P4.height*4).attr("x2",M-a_-4).attr("y2",P4.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#"+r+"-arrowhead)");let I=E?70:0;T.attr("viewBox",`${L.startx} -25 ${M} ${_+I}`),T.attr("preserveAspectRatio","xMinYMin meet"),T.attr("height",_+I+25)},"draw"),pk={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:i(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},"init"),updateVal:i(function(t,r,a,o){t[r]===void 0?t[r]=a:t[r]=o(a,t[r])},"updateVal"),updateBounds:i(function(t,r,a,o){let l=Zt().journey,h=this,f=0;function p(m){return i(function(v){f++;let T=h.sequenceItems.length-f+1;h.updateVal(v,"starty",r-T*l.boxMargin,Math.min),h.updateVal(v,"stopy",o+T*l.boxMargin,Math.max),h.updateVal(pk.data,"startx",t-T*l.boxMargin,Math.min),h.updateVal(pk.data,"stopx",a+T*l.boxMargin,Math.max),m!=="activation"&&(h.updateVal(v,"startx",t-T*l.boxMargin,Math.min),h.updateVal(v,"stopx",a+T*l.boxMargin,Math.max),h.updateVal(pk.data,"starty",r-T*l.boxMargin,Math.min),h.updateVal(pk.data,"stopy",o+T*l.boxMargin,Math.max))},"updateItemBounds")}i(p,"updateFn"),this.sequenceItems.forEach(p())},"updateBounds"),insert:i(function(t,r,a,o){let l=Math.min(t,a),h=Math.max(t,a),f=Math.min(r,o),p=Math.max(r,o);this.updateVal(pk.data,"startx",l,Math.min),this.updateVal(pk.data,"starty",f,Math.min),this.updateVal(pk.data,"stopx",h,Math.max),this.updateVal(pk.data,"stopy",p,Math.max),this.updateBounds(l,f,h,p)},"insert"),bumpVerticalPos:i(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:i(function(){return this.verticalPos},"getVerticalPos"),getBounds:i(function(){return this.data},"getBounds")},qct=P4.sectionFills,B$r=P4.sectionColours,Xhi=i(function(t,r,a,o){let l=Zt().journey,h="",f=l.height*2+l.diagramMarginY,p=a+f,m=0,b="#CCC",v="black",T=0;for(let[C,E]of r.entries()){if(h!==E.section){b=qct[m%qct.length],T=m%qct.length,v=B$r[m%B$r.length];let R=0,L=E.section;for(let M=C;M(WA[L]&&(R[L]=WA[L]),R),{});E.x=C*l.taskMargin+C*l.width+a_,E.y=p,E.width=l.diagramMarginX,E.height=l.diagramMarginY,E.colour=v,E.fill=b,E.num=T,E.actors=S,tH.drawTask(t,E,l,o),pk.insert(E.x,E.y,E.x+E.width+l.taskMargin,450)}},"drawTasks"),Wct={setConf:Whi,draw:Khi}});var $$r={};cs($$r,{diagram:()=>Qhi});var Qhi,G$r=ie(()=>{"use strict";R$r();D$r();M$r();F$r();Qhi={parser:A$r,db:Uct,renderer:Wct,styles:_$r,init:i(t=>{Wct.setConf(t.journey),Uct.clear()},"init")}});var Xct,W$r,Y$r=ie(()=>{"use strict";Xct=(function(){var t=i(function(C,E,S,R){for(S=S||{},R=C.length;R--;S[C[R]]=E);return S},"o"),r=[6,11,13,14,15,17,19,20,23,24],a=[1,12],o=[1,13],l=[1,14],h=[1,15],f=[1,16],p=[1,19],m=[1,20],b={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:"error",6:"EOF",7:"timeline",8:"timeline_lr",9:"timeline_td",11:"SPACE",13:"NEWLINE",14:"title",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",23:"period",24:"event"},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:i(function(E,S,R,L,_,M,I){var F=M.length-1;switch(_){case 1:return M[F-1];case 3:L.setDirection("LR");break;case 4:L.setDirection("TD");break;case 5:this.$=[];break;case 6:M[F-1].push(M[F]),this.$=M[F-1];break;case 7:case 8:this.$=M[F];break;case 9:case 10:this.$=[];break;case 11:L.getCommonDb().setDiagramTitle(M[F].substr(6)),this.$=M[F].substr(6);break;case 12:this.$=M[F].trim(),L.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=M[F].trim(),L.getCommonDb().setAccDescription(this.$);break;case 15:L.addSection(M[F].substr(8)),this.$=M[F].substr(8);break;case 18:L.addTask(M[F],0,""),this.$=M[F];break;case 19:L.addEvent(M[F].substr(2)),this.$=M[F];break}},"anonymous"),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},t(r,[2,5],{5:6}),t(r,[2,2]),t(r,[2,3]),t(r,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:a,15:o,17:l,19:h,20:f,21:17,22:18,23:p,24:m},t(r,[2,10],{1:[2,1]}),t(r,[2,6]),{12:21,14:a,15:o,17:l,19:h,20:f,21:17,22:18,23:p,24:m},t(r,[2,8]),t(r,[2,9]),t(r,[2,11]),{16:[1,22]},{18:[1,23]},t(r,[2,14]),t(r,[2,15]),t(r,[2,16]),t(r,[2,17]),t(r,[2,18]),t(r,[2,19]),t(r,[2,7]),t(r,[2,12]),t(r,[2,13])],defaultActions:{},parseError:i(function(E,S){if(S.recoverable)this.trace(E);else{var R=new Error(E);throw R.hash=S,R}},"parseError"),parse:i(function(E){var S=this,R=[0],L=[],_=[null],M=[],I=this.table,F="",O=0,P=0,G=0,V=2,Y=1,K=M.slice.call(arguments,1),J=Object.create(this.lexer),H={yy:{}};for(var q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,q)&&(H.yy[q]=this.yy[q]);J.setInput(E,H.yy),H.yy.lexer=J,H.yy.parser=this,typeof J.yylloc>"u"&&(J.yylloc={});var Z=J.yylloc;M.push(Z);var Q=J.options&&J.options.ranges;typeof H.yy.parseError=="function"?this.parseError=H.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function W(qe){R.length=R.length-2*qe,_.length=_.length-qe,M.length=M.length-qe}i(W,"popStack");function te(){var qe;return qe=L.pop()||J.lex()||Y,typeof qe!="number"&&(qe instanceof Array&&(L=qe,qe=L.pop()),qe=S.symbols_[qe]||qe),qe}i(te,"lex");for(var z,re,ae,ce,le,de,ve={},Se,_e,Ce,Ve;;){if(ae=R[R.length-1],this.defaultActions[ae]?ce=this.defaultActions[ae]:((z===null||typeof z>"u")&&(z=te()),ce=I[ae]&&I[ae][z]),typeof ce>"u"||!ce.length||!ce[0]){var De="";Ve=[];for(Se in I[ae])this.terminals_[Se]&&Se>V&&Ve.push("'"+this.terminals_[Se]+"'");J.showPosition?De="Parse error on line "+(O+1)+`: +`+J.showPosition()+` +Expecting `+Ve.join(", ")+", got '"+(this.terminals_[z]||z)+"'":De="Parse error on line "+(O+1)+": Unexpected "+(z==Y?"end of input":"'"+(this.terminals_[z]||z)+"'"),this.parseError(De,{text:J.match,token:this.terminals_[z]||z,line:J.yylineno,loc:Z,expected:Ve})}if(ce[0]instanceof Array&&ce.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ae+", token: "+z);switch(ce[0]){case 1:R.push(z),_.push(J.yytext),M.push(J.yylloc),R.push(ce[1]),z=null,re?(z=re,re=null):(P=J.yyleng,F=J.yytext,O=J.yylineno,Z=J.yylloc,G>0&&G--);break;case 2:if(_e=this.productions_[ce[1]][1],ve.$=_[_.length-_e],ve._$={first_line:M[M.length-(_e||1)].first_line,last_line:M[M.length-1].last_line,first_column:M[M.length-(_e||1)].first_column,last_column:M[M.length-1].last_column},Q&&(ve._$.range=[M[M.length-(_e||1)].range[0],M[M.length-1].range[1]]),de=this.performAction.apply(ve,[F,P,O,H.yy,ce[1],_,M].concat(K)),typeof de<"u")return de;_e&&(R=R.slice(0,-1*_e*2),_=_.slice(0,-1*_e),M=M.slice(0,-1*_e)),R.push(this.productions_[ce[1]][0]),_.push(ve.$),M.push(ve._$),Ce=I[R[R.length-2]][R[R.length-1]],R.push(Ce);break;case 3:return!0}}return!0},"parse")},v=(function(){var C={EOF:1,parseError:i(function(S,R){if(this.yy.parser)this.yy.parser.parseError(S,R);else throw new Error(S)},"parseError"),setInput:i(function(E,S){return this.yy=S||this.yy||{},this._input=E,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var E=this._input[0];this.yytext+=E,this.yyleng++,this.offset++,this.match+=E,this.matched+=E;var S=E.match(/(?:\r\n?|\n).*/g);return S?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),E},"input"),unput:i(function(E){var S=E.length,R=E.split(/(?:\r\n?|\n)/g);this._input=E+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-S),this.offset-=S;var L=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),R.length-1&&(this.yylineno-=R.length-1);var _=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:R?(R.length===L.length?this.yylloc.first_column:0)+L[L.length-R.length].length-R[0].length:this.yylloc.first_column-S},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-S]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(E){this.unput(this.match.slice(E))},"less"),pastInput:i(function(){var E=this.matched.substr(0,this.matched.length-this.match.length);return(E.length>20?"...":"")+E.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var E=this.match;return E.length<20&&(E+=this._input.substr(0,20-E.length)),(E.substr(0,20)+(E.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var E=this.pastInput(),S=new Array(E.length+1).join("-");return E+this.upcomingInput()+` +`+S+"^"},"showPosition"),test_match:i(function(E,S){var R,L,_;if(this.options.backtrack_lexer&&(_={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(_.yylloc.range=this.yylloc.range.slice(0))),L=E[0].match(/(?:\r\n?|\n).*/g),L&&(this.yylineno+=L.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:L?L[L.length-1].length-L[L.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+E[0].length},this.yytext+=E[0],this.match+=E[0],this.matches=E,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(E[0].length),this.matched+=E[0],R=this.performAction.call(this,this.yy,this,S,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),R)return R;if(this._backtrack){for(var M in _)this[M]=_[M];return!1}return!1},"test_match"),next:i(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var E,S,R,L;this._more||(this.yytext="",this.match="");for(var _=this._currentRules(),M=0;M<_.length;M++)if(R=this._input.match(this.rules[_[M]]),R&&(!S||R[0].length>S[0].length)){if(S=R,L=M,this.options.backtrack_lexer){if(E=this.test_match(R,_[M]),E!==!1)return E;if(this._backtrack){S=!1;continue}else return!1}else if(!this.options.flex)break}return S?(E=this.test_match(S,_[L]),E!==!1?E:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:i(function(){var S=this.next();return S||this.lex()},"lex"),begin:i(function(S){this.conditionStack.push(S)},"begin"),popState:i(function(){var S=this.conditionStack.length-1;return S>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:i(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:i(function(S){return S=this.conditionStack.length-1-Math.abs(S||0),S>=0?this.conditionStack[S]:"INITIAL"},"topState"),pushState:i(function(S){this.begin(S)},"pushState"),stateStackSize:i(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:i(function(S,R,L,_){var M=_;switch(L){case 0:break;case 1:break;case 2:return 13;case 3:break;case 4:break;case 5:return 8;case 6:return 9;case 7:return 7;case 8:return 14;case 9:return this.begin("acc_title"),15;break;case 10:return this.popState(),"acc_title_value";break;case 11:return this.begin("acc_descr"),17;break;case 12:return this.popState(),"acc_descr_value";break;case 13:this.begin("acc_descr_multiline");break;case 14:this.popState();break;case 15:return"acc_descr_multiline_value";case 16:return 20;case 17:return 24;case 18:return 23;case 19:return 6;case 20:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline[ \t]+LR\b)/i,/^(?:timeline[ \t]+TD\b)/i,/^(?:timeline\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^:\n]+)/i,/^(?::\s(?:[^:\n]|:(?!\s))+)/i,/^(?:[^#:\n]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[14,15],inclusive:!1},acc_descr:{rules:[12],inclusive:!1},acc_title:{rules:[10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,13,16,17,18,19,20],inclusive:!0}}};return C})();b.lexer=v;function T(){this.yy={}}return i(T,"Parser"),T.prototype=b,b.Parser=T,new T})();Xct.parser=Xct;W$r=Xct});var Zct={};cs(Zct,{addEvent:()=>aGr,addSection:()=>tGr,addTask:()=>iGr,addTaskOrg:()=>sGr,clear:()=>J$r,default:()=>lfi,getCommonDb:()=>Q$r,getDirection:()=>eGr,getSections:()=>rGr,getTasks:()=>nGr,setDirection:()=>Z$r});var rH,X$r,Qct,Jct,G4e,nH,Q$r,J$r,Z$r,eGr,tGr,rGr,nGr,iGr,aGr,sGr,K$r,lfi,oGr=ie(()=>{"use strict";xu();rH="",X$r=0,Qct="LR",Jct=[],G4e=[],nH=[],Q$r=i(()=>Dee,"getCommonDb"),J$r=i(function(){Jct.length=0,G4e.length=0,rH="",nH.length=0,Qct="LR",Is()},"clear"),Z$r=i(function(t){Qct=t},"setDirection"),eGr=i(function(){return Qct},"getDirection"),tGr=i(function(t){rH=t,Jct.push(t)},"addSection"),rGr=i(function(){return Jct},"getSections"),nGr=i(function(){let t=K$r(),r=100,a=0;for(;!t&&aa.id===X$r-1).events.push(t)},"addEvent"),sGr=i(function(t){let r={section:rH,type:rH,description:t,task:t,classes:[]};G4e.push(r)},"addTaskOrg"),K$r=i(function(){let t=i(function(a){return nH[a].processed},"compileTask"),r=!0;for(let[a,o]of nH.entries())t(a),r=r&&o.processed;return r},"compileTasks"),lfi={clear:J$r,getCommonDb:Q$r,getDirection:eGr,setDirection:Z$r,addSection:tGr,getSections:rGr,getTasks:nGr,addTask:iGr,addTaskOrg:sGr,addEvent:aGr}});function hGr(t,r){t.each(function(){var a=dn(this),o=a.text().split(/(\s+|
    )/).reverse(),l,h=[],f=1.1,p=a.attr("y"),m=parseFloat(a.attr("dy")),b=a.text(null).append("tspan").attr("x",0).attr("y",p).attr("dy",m+"em");for(let v=0;vr||l==="
    ")&&(h.pop(),b.text(h.join(" ").trim()),l==="
    "?h=[""]:h=[l],b=a.append("tspan").attr("x",0).attr("y",p).attr("dy",f+"em").text(l))})}var lGr,j4e,cfi,ufi,cGr,hfi,ffi,eut,dfi,pfi,gfi,tut,uGr,mfi,yfi,bfi,vfi,my,rut=ie(()=>{"use strict";Yo();lGr=0,j4e=i(function(t,r){let a=t.append("rect");return a.attr("x",r.x),a.attr("y",r.y),a.attr("fill",r.fill),a.attr("stroke",r.stroke),a.attr("width",r.width),a.attr("height",r.height),a.attr("rx",r.rx),a.attr("ry",r.ry),r.class!==void 0&&a.attr("class",r.class),a},"drawRect"),cfi=i(function(t,r){let o=t.append("circle").attr("cx",r.cx).attr("cy",r.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),l=t.append("g");l.append("circle").attr("cx",r.cx-15/3).attr("cy",r.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),l.append("circle").attr("cx",r.cx+15/3).attr("cy",r.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function h(m){let b=f4().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);m.append("path").attr("class","mouth").attr("d",b).attr("transform","translate("+r.cx+","+(r.cy+2)+")")}i(h,"smile");function f(m){let b=f4().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);m.append("path").attr("class","mouth").attr("d",b).attr("transform","translate("+r.cx+","+(r.cy+7)+")")}i(f,"sad");function p(m){m.append("line").attr("class","mouth").attr("stroke",2).attr("x1",r.cx-5).attr("y1",r.cy+7).attr("x2",r.cx+5).attr("y2",r.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return i(p,"ambivalent"),r.score>3?h(l):r.score<3?f(l):p(l),o},"drawFace"),ufi=i(function(t,r){let a=t.append("circle");return a.attr("cx",r.cx),a.attr("cy",r.cy),a.attr("class","actor-"+r.pos),a.attr("fill",r.fill),a.attr("stroke",r.stroke),a.attr("r",r.r),a.class!==void 0&&a.attr("class",a.class),r.title!==void 0&&a.append("title").text(r.title),a},"drawCircle"),cGr=i(function(t,r){let a=r.text.replace(//gi," "),o=t.append("text");o.attr("x",r.x),o.attr("y",r.y),o.attr("class","legend"),o.style("text-anchor",r.anchor),r.class!==void 0&&o.attr("class",r.class);let l=o.append("tspan");return l.attr("x",r.x+r.textMargin*2),l.text(a),o},"drawText"),hfi=i(function(t,r){function a(l,h,f,p,m){return l+","+h+" "+(l+f)+","+h+" "+(l+f)+","+(h+p-m)+" "+(l+f-m*1.2)+","+(h+p)+" "+l+","+(h+p)}i(a,"genPoints");let o=t.append("polygon");o.attr("points",a(r.x,r.y,50,20,7)),o.attr("class","labelBox"),r.y=r.y+r.labelMargin,r.x=r.x+.5*r.labelMargin,cGr(t,r)},"drawLabel"),ffi=i(function(t,r,a){let o=t.append("g"),l=tut();l.x=r.x,l.y=r.y,l.fill=r.fill,l.width=a.width,l.height=a.height,l.class="journey-section section-type-"+r.num,l.rx=3,l.ry=3,j4e(o,l),uGr(a)(r.text,o,l.x,l.y,l.width,l.height,{class:"journey-section section-type-"+r.num},a,r.colour)},"drawSection"),eut=-1,dfi=i(function(t,r,a,o){let l=r.x+a.width/2,h=t.append("g");eut++,h.append("line").attr("id",o+"-task"+eut).attr("x1",l).attr("y1",r.y).attr("x2",l).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),cfi(h,{cx:l,cy:300+(5-r.score)*30,score:r.score});let p=tut();p.x=r.x,p.y=r.y,p.fill=r.fill,p.width=a.width,p.height=a.height,p.class="task task-type-"+r.num,p.rx=3,p.ry=3,j4e(h,p),uGr(a)(r.task,h,p.x,p.y,p.width,p.height,{class:"task"},a,r.colour)},"drawTask"),pfi=i(function(t,r){j4e(t,{x:r.startx,y:r.starty,width:r.stopx-r.startx,height:r.stopy-r.starty,fill:r.fill,class:"rect"}).lower()},"drawBackgroundRect"),gfi=i(function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},"getTextObj"),tut=i(function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),uGr=(function(){function t(l,h,f,p,m,b,v,T){let C=h.append("text").attr("x",f+m/2).attr("y",p+b/2+5).style("font-color",T).style("text-anchor","middle").text(l);o(C,v)}i(t,"byText");function r(l,h,f,p,m,b,v,T,C){let{taskFontSize:E,taskFontFamily:S}=T,R=l.split(//gi);for(let L=0;L0?`M0 ${r.height-p} v${-r.height+2*p} q0,-${f},${f},-${f} h${r.width-2*p} q${f},0,${f},${f} v${r.height-p} H0 Z`:`M0 ${r.height-p} v${-(r.height-p)} h${r.width} v${r.height} H0 Z`;t.append("path").attr("id",o+"-node-"+lGr++).attr("class","node-bkg node-"+r.type).attr("d",m),h?.includes("redux")||t.append("line").attr("class","node-line-"+a).attr("x1",0).attr("y1",r.height).attr("x2",r.width).attr("y2",r.height)},"defaultBkg"),my={drawRect:j4e,drawCircle:ufi,drawSection:ffi,drawText:cGr,drawLabel:hfi,drawTask:dfi,drawBackgroundRect:pfi,getTextObj:gfi,getNoteRect:tut,initGraphics:mfi,drawNode:yfi,getVirtualNodeHeight:bfi}});var wfi,fGr,xfi,dGr,pGr=ie(()=>{"use strict";Yo();rut();Xn();ma();Gh();wfi=i(function(t,r,a,o){let l=Zt(),{look:h,theme:f,themeVariables:p}=l,{useGradient:m,gradientStart:b,gradientStop:v}=p,T=l.timeline?.leftMargin??50;Pe.debug("timeline",o.db);let C=l.securityLevel,E;C==="sandbox"&&(E=dn("#i"+r));let R=(C==="sandbox"?dn(E.nodes()[0].contentDocument.body):dn("body")).select("#"+r);R.append("g");let L=o.db.getTasks(),_=o.db.getCommonDb().getDiagramTitle();Pe.debug("task",L),my.initGraphics(R,r);let M=o.db.getSections();Pe.debug("sections",M);let I=0,F=0,O=0,P=0,G=50+T,V=50;P=50;let Y=0,K=!0;M.forEach(function(Q){let W={number:Y,descr:Q,section:Y,width:150,padding:20,maxHeight:I},te=my.getVirtualNodeHeight(R,W,l);Pe.debug("sectionHeight before draw",te),I=Math.max(I,te+20)});let J=0,H=0;Pe.debug("tasks.length",L.length);for(let[Q,W]of L.entries()){let te={number:Q,descr:W,section:W.section,width:150,padding:20,maxHeight:F},z=my.getVirtualNodeHeight(R,te,l);Pe.debug("taskHeight before draw",z),F=Math.max(F,z+20),J=Math.max(J,W.events.length);let re=0;for(let ae of W.events){let ce={descr:ae,section:W.section,number:W.section,width:150,padding:20,maxHeight:50};re+=my.getVirtualNodeHeight(R,ce,l)}W.events.length>0&&(re+=(W.events.length-1)*10),H=Math.max(H,re)}Pe.debug("maxSectionHeight before draw",I),Pe.debug("maxTaskHeight before draw",F),M&&M.length>0?M.forEach(Q=>{let W=L.filter(ae=>ae.section===Q),te={number:Y,descr:Q,section:Y,width:200*Math.max(W.length,1)-50,padding:20,maxHeight:I};Pe.debug("sectionNode",te);let z=R.append("g"),re=my.drawNode(z,te,Y,l,r);Pe.debug("sectionNode output",re),z.attr("transform",`translate(${G}, ${P})`),V+=I+50,W.length>0&&fGr(R,W,Y,G,V,F,l,J,H,I,!1,r),G+=200*Math.max(W.length,1),V=P,Y++}):(K=!1,fGr(R,L,Y,G,V,F,l,J,H,I,!0,r));let q=R.node().getBBox();if(Pe.debug("bounds",q),_&&R.append("text").text(_).attr("x",h==="neo"?q.x*2+T:q.width/2-T).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),O=K?I+F+150:F+100,R.append("g").attr("class","lineWrapper").append("line").attr("x1",T).attr("y1",O).attr("x2",q.width+3*T).attr("y2",O).attr("stroke-width",4).attr("stroke","black").attr("marker-end",`url(#${r}-arrowhead)`),h==="neo"&&m&&f!=="neutral"){let Q=R.select("defs"),te=(Q.empty()?R.append("defs"):Q).append("linearGradient").attr("id",R.attr("id")+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");te.append("stop").attr("offset","0%").attr("stop-color",b).attr("stop-opacity",1),te.append("stop").attr("offset","100%").attr("stop-color",v).attr("stop-opacity",1)}UT(void 0,R,l.timeline?.padding??50,l.timeline?.useMaxWidth??!1)},"draw"),fGr=i(function(t,r,a,o,l,h,f,p,m,b,v,T){for(let C of r){let E={descr:C.task,section:a,number:a,width:150,padding:20,maxHeight:h};Pe.debug("taskNode",E);let S=t.append("g").attr("class","taskWrapper"),L=my.drawNode(S,E,a,f,T).height;if(Pe.debug("taskHeight after draw",L),S.attr("transform",`translate(${o}, ${l})`),h=Math.max(h,L),C.events){let _=t.append("g").attr("class","lineWrapper"),M=h;l+=100,M=M+xfi(t,C.events,a,o,l,f,T),l-=100,_.append("line").attr("x1",o+190/2).attr("y1",l+h).attr("x2",o+190/2).attr("y2",l+h+100+m+100).attr("stroke-width",2).attr("stroke","black").attr("marker-end",`url(#${T}-arrowhead)`).attr("stroke-dasharray","5,5")}o=o+200,v&&!f.timeline?.disableMulticolor&&a++}l=l-10},"drawTasks"),xfi=i(function(t,r,a,o,l,h,f){let p=0,m=l;l=l+100;for(let b of r){let v={descr:b,section:a,number:a,width:150,padding:20,maxHeight:50};Pe.debug("eventNode",v);let T=t.append("g").attr("class","eventWrapper"),E=my.drawNode(T,v,a,h,f,!0).height;p=p+E,T.attr("transform",`translate(${o}, ${l})`),l=l+10+E}return l=m,p},"drawEvents"),dGr={setConf:i(()=>{},"setConf"),draw:wfi}});var z4e,YA,Tfi,nut,kfi,bGr,Cfi,gGr,vGr,mGr,wGr,Efi,yGr,Sfi,xGr,TGr=ie(()=>{"use strict";rut();Xn();ma();Gh();y1();Ia();z4e=200,YA=5,Tfi=z4e+YA*2,nut=z4e+100,kfi=nut+YA*2,bGr=10,Cfi=0,gGr=20,vGr=20,mGr=30,wGr=50,Efi=i(function(t,r,a,o){let l=Zt(),h=l.timeline?.leftMargin??50;Pe.debug("timeline",o.db);let f=fu(r);f.append("g");let p=o.db.getTasks(),m=o.db.getCommonDb().getDiagramTitle();Pe.debug("task",p),my.initGraphics(f);let b=o.db.getSections();Pe.debug("sections",b);let v=0,T=0,C=50+h,E=50,S=E,R=C,L=Tfi+vGr,_=kfi+wGr,M=R+L,I=0,F=b&&b.length>0,O=F?M:C+L,P=Math.max(50,L+_-YA*2);b.forEach(function(Q){let W={number:I,descr:Q,section:I,width:P,padding:YA,maxHeight:v},te=my.getVirtualNodeHeight(f,W,l);Pe.debug("sectionHeight before draw",te),v=Math.max(v,te)});let G=0;Pe.debug("tasks.length",p.length);for(let[Q,W]of p.entries()){let te={number:Q,descr:W,section:W.section,width:z4e,padding:YA,maxHeight:T},z=my.getVirtualNodeHeight(f,te,l);Pe.debug("taskHeight before draw",z),T=Math.max(T,z);let re=0;for(let ae of W.events){let ce={descr:ae,section:W.section,number:W.section,width:nut,padding:YA,maxHeight:50};re+=my.getVirtualNodeHeight(f,ce,l)}W.events.length>0&&(re+=(W.events.length-1)*bGr),G=Math.max(G,re)+Cfi}Pe.debug("maxSectionHeight before draw",v),Pe.debug("maxTaskHeight before draw",T);let Y=Math.max(T,G)+mGr;F?b.forEach(Q=>{let W=p.filter(ve=>ve.section===Q),te={number:I,descr:Q,section:I,width:P,padding:YA,maxHeight:v};Pe.debug("sectionNode",te);let z=f.append("g"),re=my.drawNode(z,te,I,l);Pe.debug("sectionNode output",re);let ae=O-L;z.attr("transform",`translate(${ae}, ${E})`);let ce=E+re.height+gGr;W.length>0&&yGr(f,W,I,O,ce,T,l,Y,!1);let le=W.length,de=re.height+gGr+Y*Math.max(le,1)-(le>0?mGr*2:0);E+=de,I++}):yGr(f,p,I,O,E,T,l,Y,!0);let K=f.node()?.getBBox();if(!K)throw new Error("bbox not found");if(Pe.debug("bounds",K),m){if(f.append("text").text(m).attr("x",K.width/2-h).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),K=f.node()?.getBBox(),!K)throw new Error("bbox not found");Pe.debug("bounds after title",K)}let[J]=Tb(l.fontSize),H=(J??16)*2,q=(J??16)*.5+20,Z=f.append("g").attr("class","lineWrapper");Z.append("line").attr("x1",O).attr("y1",S-H).attr("x2",O).attr("y2",K.y+K.height+q).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),Z.lower(),UT(void 0,f,l.timeline?.padding??50,l.timeline?.useMaxWidth??!1)},"draw"),yGr=i(function(t,r,a,o,l,h,f,p,m){for(let b of r){let v={descr:b.task,section:a,number:a,width:z4e,padding:YA,maxHeight:h};Pe.debug("taskNode",v);let T=t.append("g").attr("class","taskWrapper"),C=my.drawNode(T,v,a,f),E=C.height;Pe.debug("taskHeight after draw",E);let S=o-vGr-C.width;if(T.attr("transform",`translate(${S}, ${l})`),h=Math.max(h,E),b.events&&b.events.length>0){let R=l,L=o+wGr;Sfi(t,b.events,a,o,L,R,f)}l=l+p,m&&!f.timeline?.disableMulticolor&&a++}},"drawTasks"),Sfi=i(function(t,r,a,o,l,h,f){let p=h;for(let m of r){let b={descr:m,section:a,number:a,width:nut,padding:YA,maxHeight:0};Pe.debug("eventNode",b);let v=t.append("g").attr("class","eventWrapper"),C=my.drawNode(v,b,a,f).height;v.attr("transform",`translate(${l}, ${p})`);let E=t.append("g").attr("class","lineWrapper"),S=p+C/2;E.append("line").attr("x1",o).attr("y1",S).attr("x2",l).attr("y2",S).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5"),p=p+C+bGr}return p-h},"drawEvents"),xGr={setConf:i(()=>{},"setConf"),draw:Efi}});var Afi,Rfi,Lfi,kGr,CGr=ie(()=>{"use strict";Zp();Qs();b0();Afi=i(t=>{let{theme:r}=ii(),a=r?.includes("dark"),o=y0(r,t.borderColorArray),l=t.svgId?.replace(/^#/,"")??"",h=l?`url(#${l}-drop-shadow)`:t.dropShadow??"none",f="";for(let p=0;p{let r="",a=XT(t.THEME_COLOR_LIMIT);for(let o=0;o{let{theme:r}=ii(),a=r?.includes("redux"),o=r==="neutral",l=t.svgId?.replace(/^#/,"")??"",h="";if(t.useGradient&&l&&t.THEME_COLOR_LIMIT&&!o){let f=XT(t.THEME_COLOR_LIMIT);for(let p=0;p"u"&&(pe.yylloc={});var U=pe.yylloc;oe.push(U);var Be=pe.options&&pe.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Pe(){var Et;return Et=ee.pop()||pe.lex()||de,typeof Et!="number"&&(Et instanceof Array&&(ee=Et,Et=ee.pop()),Et=j.symbols_[Et]||Et),Et}for(var je,Ie,Se,Ce,ke={},Ke,zt,Ne,pn;;){if(Ie=W[W.length-1],this.defaultActions[Ie]?Se=this.defaultActions[Ie]:((je===null||typeof je>"u")&&(je=Pe()),Se=be[Ie]&&be[Ie][je]),typeof Se>"u"||!Se.length||!Se[0]){var Tt="";pn=[];for(Ke in be[Ie])this.terminals_[Ke]&&Ke>se&&pn.push("'"+this.terminals_[Ke]+"'");pe.showPosition?Tt="Parse error on line "+(ae+1)+`: -`+pe.showPosition()+` -Expecting `+pn.join(", ")+", got '"+(this.terminals_[je]||je)+"'":Tt="Parse error on line "+(ae+1)+": Unexpected "+(je==de?"end of input":"'"+(this.terminals_[je]||je)+"'"),this.parseError(Tt,{text:pe.match,token:this.terminals_[je]||je,line:pe.yylineno,loc:U,expected:pn})}if(Se[0]instanceof Array&&Se.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ie+", token: "+je);switch(Se[0]){case 1:W.push(je),ie.push(pe.yytext),oe.push(pe.yylloc),W.push(Se[1]),je=null,ne=pe.yyleng,ge=pe.yytext,ae=pe.yylineno,U=pe.yylloc;break;case 2:if(zt=this.productions_[Se[1]][1],ke.$=ie[ie.length-zt],ke._$={first_line:oe[oe.length-(zt||1)].first_line,last_line:oe[oe.length-1].last_line,first_column:oe[oe.length-(zt||1)].first_column,last_column:oe[oe.length-1].last_column},Be&&(ke._$.range=[oe[oe.length-(zt||1)].range[0],oe[oe.length-1].range[1]]),Ce=this.performAction.apply(ke,[ge,ne,ae,G.yy,Se[1],ie,oe].concat(X)),typeof Ce<"u")return Ce;zt&&(W=W.slice(0,-1*zt*2),ie=ie.slice(0,-1*zt),oe=oe.slice(0,-1*zt)),W.push(this.productions_[Se[1]][0]),ie.push(ke.$),oe.push(ke._$),Ne=be[W[W.length-2]][W[W.length-1]],W.push(Ne);break;case 3:return!0}}return!0}},A=function(){var R={EOF:1,parseError:function(j,W){if(this.yy.parser)this.yy.parser.parseError(j,W);else throw new Error(j)},setInput:function(B,j){return this.yy=j||this.yy||{},this._input=B,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var B=this._input[0];this.yytext+=B,this.yyleng++,this.offset++,this.match+=B,this.matched+=B;var j=B.match(/(?:\r\n?|\n).*/g);return j?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),B},unput:function(B){var j=B.length,W=B.split(/(?:\r\n?|\n)/g);this._input=B+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-j),this.offset-=j;var ee=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),W.length-1&&(this.yylineno-=W.length-1);var ie=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:W?(W.length===ee.length?this.yylloc.first_column:0)+ee[ee.length-W.length].length-W[0].length:this.yylloc.first_column-j},this.options.ranges&&(this.yylloc.range=[ie[0],ie[0]+this.yyleng-j]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(B){this.unput(this.match.slice(B))},pastInput:function(){var B=this.matched.substr(0,this.matched.length-this.match.length);return(B.length>20?"...":"")+B.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var B=this.match;return B.length<20&&(B+=this._input.substr(0,20-B.length)),(B.substr(0,20)+(B.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var B=this.pastInput(),j=new Array(B.length+1).join("-");return B+this.upcomingInput()+` -`+j+"^"},test_match:function(B,j){var W,ee,ie;if(this.options.backtrack_lexer&&(ie={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(ie.yylloc.range=this.yylloc.range.slice(0))),ee=B[0].match(/(?:\r\n?|\n).*/g),ee&&(this.yylineno+=ee.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:ee?ee[ee.length-1].length-ee[ee.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+B[0].length},this.yytext+=B[0],this.match+=B[0],this.matches=B,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(B[0].length),this.matched+=B[0],W=this.performAction.call(this,this.yy,this,j,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),W)return W;if(this._backtrack){for(var oe in ie)this[oe]=ie[oe];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var B,j,W,ee;this._more||(this.yytext="",this.match="");for(var ie=this._currentRules(),oe=0;oej[0].length)){if(j=W,ee=oe,this.options.backtrack_lexer){if(B=this.test_match(W,ie[oe]),B!==!1)return B;if(this._backtrack){j=!1;continue}else return!1}else if(!this.options.flex)break}return j?(B=this.test_match(j,ie[ee]),B!==!1?B:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var j=this.next();return j||this.lex()},begin:function(j){this.conditionStack.push(j)},popState:function(){var j=this.conditionStack.length-1;return j>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(j){return j=this.conditionStack.length-1-Math.abs(j||0),j>=0?this.conditionStack[j]:"INITIAL"},pushState:function(j){this.begin(j)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(j,W,ee,ie){switch(ee){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?::\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}};return R}();_.lexer=A;function P(){this.yy={}}return P.prototype=_,_.Parser=P,new P}();pwe.parser=pwe;const oon=pwe;let oI="",EWe=0;const bwe=[],GJ=[],cI=[],CWe=()=>k$e,SWe=function(){bwe.length=0,GJ.length=0,oI="",cI.length=0,Rg()},_We=function(i){oI=i,bwe.push(i)},AWe=function(){return bwe},LWe=function(){let i=OWe();const a=100;let u=0;for(;!i&&uu.id===EWe-1).events.push(i)},IWe=function(i){const a={section:oI,type:oI,description:i,task:i,classes:[]};GJ.push(a)},OWe=function(){const i=function(u){return cI[u].processed};let a=!0;for(const[u,d]of cI.entries())i(u),a=a&&d.processed;return a},con=Object.freeze(Object.defineProperty({__proto__:null,addEvent:DWe,addSection:_We,addTask:MWe,addTaskOrg:IWe,clear:SWe,default:{clear:SWe,getCommonDb:CWe,addSection:_We,getSections:AWe,getTasks:LWe,addTask:MWe,addTaskOrg:IWe,addEvent:DWe},getCommonDb:CWe,getSections:AWe,getTasks:LWe},Symbol.toStringTag,{value:"Module"})),uon=12,KJ=function(i,a){const u=i.append("rect");return u.attr("x",a.x),u.attr("y",a.y),u.attr("fill",a.fill),u.attr("stroke",a.stroke),u.attr("width",a.width),u.attr("height",a.height),u.attr("rx",a.rx),u.attr("ry",a.ry),a.class!==void 0&&u.attr("class",a.class),u},lon=function(i,a){const d=i.append("circle").attr("cx",a.cx).attr("cy",a.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),p=i.append("g");p.append("circle").attr("cx",a.cx-15/3).attr("cy",a.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),p.append("circle").attr("cx",a.cx+15/3).attr("cy",a.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function v(E){const _=hD().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);E.append("path").attr("class","mouth").attr("d",_).attr("transform","translate("+a.cx+","+(a.cy+2)+")")}function b(E){const _=hD().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);E.append("path").attr("class","mouth").attr("d",_).attr("transform","translate("+a.cx+","+(a.cy+7)+")")}function y(E){E.append("line").attr("class","mouth").attr("stroke",2).attr("x1",a.cx-5).attr("y1",a.cy+7).attr("x2",a.cx+5).attr("y2",a.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return a.score>3?v(p):a.score<3?b(p):y(p),d},hon=function(i,a){const u=i.append("circle");return u.attr("cx",a.cx),u.attr("cy",a.cy),u.attr("class","actor-"+a.pos),u.attr("fill",a.fill),u.attr("stroke",a.stroke),u.attr("r",a.r),u.class!==void 0&&u.attr("class",u.class),a.title!==void 0&&u.append("title").text(a.title),u},NWe=function(i,a){const u=a.text.replace(//gi," "),d=i.append("text");d.attr("x",a.x),d.attr("y",a.y),d.attr("class","legend"),d.style("text-anchor",a.anchor),a.class!==void 0&&d.attr("class",a.class);const p=d.append("tspan");return p.attr("x",a.x+a.textMargin*2),p.text(u),d},fon=function(i,a){function u(p,v,b,y,E){return p+","+v+" "+(p+b)+","+v+" "+(p+b)+","+(v+y-E)+" "+(p+b-E*1.2)+","+(v+y)+" "+p+","+(v+y)}const d=i.append("polygon");d.attr("points",u(a.x,a.y,50,20,7)),d.attr("class","labelBox"),a.y=a.y+a.labelMargin,a.x=a.x+.5*a.labelMargin,NWe(i,a)},don=function(i,a,u){const d=i.append("g"),p=mwe();p.x=a.x,p.y=a.y,p.fill=a.fill,p.width=u.width,p.height=u.height,p.class="journey-section section-type-"+a.num,p.rx=3,p.ry=3,KJ(d,p),BWe(u)(a.text,d,p.x,p.y,p.width,p.height,{class:"journey-section section-type-"+a.num},u,a.colour)};let PWe=-1;const gon=function(i,a,u){const d=a.x+u.width/2,p=i.append("g");PWe++;const v=300+5*30;p.append("line").attr("id","task"+PWe).attr("x1",d).attr("y1",a.y).attr("x2",d).attr("y2",v).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),lon(p,{cx:d,cy:300+(5-a.score)*30,score:a.score});const b=mwe();b.x=a.x,b.y=a.y,b.fill=a.fill,b.width=u.width,b.height=u.height,b.class="task task-type-"+a.num,b.rx=3,b.ry=3,KJ(p,b),a.x+14,BWe(u)(a.task,p,b.x,b.y,b.width,b.height,{class:"task"},u,a.colour)},pon=function(i,a){KJ(i,{x:a.startx,y:a.starty,width:a.stopx-a.startx,height:a.stopy-a.starty,fill:a.fill,class:"rect"}).lower()},bon=function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},mwe=function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},BWe=function(){function i(p,v,b,y,E,_,A,P){const R=v.append("text").attr("x",b+E/2).attr("y",y+_/2+5).style("font-color",P).style("text-anchor","middle").text(p);d(R,A)}function a(p,v,b,y,E,_,A,P,R){const{taskFontSize:B,taskFontFamily:j}=P,W=p.split(//gi);for(let ee=0;ee)/).reverse(),p,v=[],b=1.1,y=u.attr("y"),E=parseFloat(u.attr("dy")),_=u.text(null).append("tspan").attr("x",0).attr("y",y).attr("dy",E+"em");for(let A=0;Aa||p==="
    ")&&(v.pop(),_.text(v.join(" ").trim()),p==="
    "?v=[""]:v=[p],_=u.append("tspan").attr("x",0).attr("y",y).attr("dy",b+"em").text(p))})}const von=function(i,a,u,d){const p=u%uon-1,v=i.append("g");a.section=p,v.attr("class",(a.class?a.class+" ":"")+"timeline-node "+("section-"+p));const b=v.append("g"),y=v.append("g"),_=y.append("text").text(a.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(FWe,a.width).node().getBBox(),A=d.fontSize&&d.fontSize.replace?d.fontSize.replace("px",""):d.fontSize;return a.height=_.height+A*1.1*.5+a.padding,a.height=Math.max(a.height,a.maxHeight),a.width=a.width+2*a.padding,y.attr("transform","translate("+a.width/2+", "+a.padding/2+")"),yon(b,a,p),a},won=function(i,a,u){const d=i.append("g"),v=d.append("text").text(a.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(FWe,a.width).node().getBBox(),b=u.fontSize&&u.fontSize.replace?u.fontSize.replace("px",""):u.fontSize;return d.remove(),v.height+b*1.1*.5+a.padding},yon=function(i,a,u){i.append("path").attr("id","node-"+a.id).attr("class","node-bkg node-"+a.type).attr("d",`M0 ${a.height-5} v${-a.height+2*5} q0,-5 5,-5 h${a.width-2*5} q5,0 5,5 v${a.height-5} H0 Z`),i.append("line").attr("class","node-line-"+u).attr("x1",0).attr("y1",a.height).attr("x2",a.width).attr("y2",a.height)},aS={drawRect:KJ,drawCircle:hon,drawSection:don,drawText:NWe,drawLabel:fon,drawTask:gon,drawBackgroundRect:pon,getTextObj:bon,getNoteRect:mwe,initGraphics:mon,drawNode:von,getVirtualNodeHeight:won},xon=function(i,a,u,d){var X,pe;const p=qt(),v=p.leftMargin??50;Xe.debug("timeline",d.db);const b=p.securityLevel;let y;b==="sandbox"&&(y=Dr("#i"+a));const _=Dr(b==="sandbox"?y.nodes()[0].contentDocument.body:"body").select("#"+a);_.append("g");const A=d.db.getTasks(),P=d.db.getCommonDb().getDiagramTitle();Xe.debug("task",A),aS.initGraphics(_);const R=d.db.getSections();Xe.debug("sections",R);let B=0,j=0,W=0,ee=0,ie=50+v,oe=50;ee=50;let be=0,ge=!0;R.forEach(function(G){const xe={number:be,descr:G,section:be,width:150,padding:20,maxHeight:B},U=aS.getVirtualNodeHeight(_,xe,p);Xe.debug("sectionHeight before draw",U),B=Math.max(B,U+20)});let ae=0,ne=0;Xe.debug("tasks.length",A.length);for(const[G,xe]of A.entries()){const U={number:G,descr:xe,section:xe.section,width:150,padding:20,maxHeight:j},Be=aS.getVirtualNodeHeight(_,U,p);Xe.debug("taskHeight before draw",Be),j=Math.max(j,Be+20),ae=Math.max(ae,xe.events.length);let Pe=0;for(let je=0;je0?R.forEach(G=>{const xe=A.filter(je=>je.section===G),U={number:be,descr:G,section:be,width:200*Math.max(xe.length,1)-50,padding:20,maxHeight:B};Xe.debug("sectionNode",U);const Be=_.append("g"),Pe=aS.drawNode(Be,U,be,p);Xe.debug("sectionNode output",Pe),Be.attr("transform",`translate(${ie}, ${ee})`),oe+=B+50,xe.length>0&&RWe(_,xe,be,ie,oe,j,p,ae,ne,B,!1),ie+=200*Math.max(xe.length,1),oe=ee,be++}):(ge=!1,RWe(_,A,be,ie,oe,j,p,ae,ne,B,!0));const se=_.node().getBBox();Xe.debug("bounds",se),P&&_.append("text").text(P).attr("x",se.width/2-v).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),W=ge?B+j+150:j+100,_.append("g").attr("class","lineWrapper").append("line").attr("x1",v).attr("y1",W).attr("x2",se.width+3*v).attr("y2",W).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),x9(void 0,_,((X=p.timeline)==null?void 0:X.padding)??50,((pe=p.timeline)==null?void 0:pe.useMaxWidth)??!1)},RWe=function(i,a,u,d,p,v,b,y,E,_,A){var P;for(const R of a){const B={descr:R.task,section:u,number:u,width:150,padding:20,maxHeight:v};Xe.debug("taskNode",B);const j=i.append("g").attr("class","taskWrapper"),ee=aS.drawNode(j,B,u,b).height;if(Xe.debug("taskHeight after draw",ee),j.attr("transform",`translate(${d}, ${p})`),v=Math.max(v,ee),R.events){const ie=i.append("g").attr("class","lineWrapper");let oe=v;p+=100,oe=oe+kon(i,R.events,u,d,p,b),p-=100,ie.append("line").attr("x1",d+190/2).attr("y1",p+v).attr("x2",d+190/2).attr("y2",p+v+(A?v:_)+E+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}d=d+200,A&&!((P=b.timeline)!=null&&P.disableMulticolor)&&u++}p=p-10},kon=function(i,a,u,d,p,v){let b=0;const y=p;p=p+100;for(const E of a){const _={descr:E,section:u,number:u,width:150,padding:20,maxHeight:50};Xe.debug("eventNode",_);const A=i.append("g").attr("class","eventWrapper"),R=aS.drawNode(A,_,u,v).height;b=b+R,A.attr("transform",`translate(${d}, ${p})`),p=p+10+R}return p=y,b},Ton={setConf:()=>{},draw:xon},Eon=i=>{let a="";for(let u=0;u_fi});var Dfi,_fi,SGr=ie(()=>{"use strict";Y$r();oGr();pGr();TGr();CGr();Dfi={setConf:i(()=>{},"setConf"),draw:i((t,r,a,o)=>(o?.db?.getDirection?.()??"LR")==="TD"?xGr.draw(t,r,a,o):dGr.draw(t,r,a,o),"draw")},_fi={db:Zct,renderer:Dfi,parser:W$r,styles:kGr}});var iut,LGr,DGr=ie(()=>{"use strict";iut=(function(){var t=i(function(F,O,P,G){for(P=P||{},G=F.length;G--;P[F[G]]=O);return P},"o"),r=[1,4],a=[1,13],o=[1,12],l=[1,15],h=[1,16],f=[1,20],p=[1,19],m=[6,7,8],b=[1,26],v=[1,24],T=[1,25],C=[6,7,11],E=[1,6,13,15,16,19,22],S=[1,33],R=[1,34],L=[1,6,7,11,13,15,16,19,22],_={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:i(function(O,P,G,V,Y,K,J){var H=K.length-1;switch(Y){case 6:case 7:return V;case 8:V.getLogger().trace("Stop NL ");break;case 9:V.getLogger().trace("Stop EOF ");break;case 11:V.getLogger().trace("Stop NL2 ");break;case 12:V.getLogger().trace("Stop EOF2 ");break;case 15:V.getLogger().info("Node: ",K[H].id),V.addNode(K[H-1].length,K[H].id,K[H].descr,K[H].type);break;case 16:V.getLogger().trace("Icon: ",K[H]),V.decorateNode({icon:K[H]});break;case 17:case 21:V.decorateNode({class:K[H]});break;case 18:V.getLogger().trace("SPACELIST");break;case 19:V.getLogger().trace("Node: ",K[H].id),V.addNode(0,K[H].id,K[H].descr,K[H].type);break;case 20:V.decorateNode({icon:K[H]});break;case 25:V.getLogger().trace("node found ..",K[H-2]),this.$={id:K[H-1],descr:K[H-1],type:V.getType(K[H-2],K[H])};break;case 26:this.$={id:K[H],descr:K[H],type:V.nodeType.DEFAULT};break;case 27:V.getLogger().trace("node found ..",K[H-3]),this.$={id:K[H-3],descr:K[H-1],type:V.getType(K[H-2],K[H])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:r},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:r},{6:a,7:[1,10],9:9,12:11,13:o,14:14,15:l,16:h,17:17,18:18,19:f,22:p},t(m,[2,3]),{1:[2,2]},t(m,[2,4]),t(m,[2,5]),{1:[2,6],6:a,12:21,13:o,14:14,15:l,16:h,17:17,18:18,19:f,22:p},{6:a,9:22,12:11,13:o,14:14,15:l,16:h,17:17,18:18,19:f,22:p},{6:b,7:v,10:23,11:T},t(C,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:f,22:p}),t(C,[2,18]),t(C,[2,19]),t(C,[2,20]),t(C,[2,21]),t(C,[2,23]),t(C,[2,24]),t(C,[2,26],{19:[1,30]}),{20:[1,31]},{6:b,7:v,10:32,11:T},{1:[2,7],6:a,12:21,13:o,14:14,15:l,16:h,17:17,18:18,19:f,22:p},t(E,[2,14],{7:S,11:R}),t(L,[2,8]),t(L,[2,9]),t(L,[2,10]),t(C,[2,15]),t(C,[2,16]),t(C,[2,17]),{20:[1,35]},{21:[1,36]},t(E,[2,13],{7:S,11:R}),t(L,[2,11]),t(L,[2,12]),{21:[1,37]},t(C,[2,25]),t(C,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:i(function(O,P){if(P.recoverable)this.trace(O);else{var G=new Error(O);throw G.hash=P,G}},"parseError"),parse:i(function(O){var P=this,G=[0],V=[],Y=[null],K=[],J=this.table,H="",q=0,Z=0,Q=0,W=2,te=1,z=K.slice.call(arguments,1),re=Object.create(this.lexer),ae={yy:{}};for(var ce in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ce)&&(ae.yy[ce]=this.yy[ce]);re.setInput(O,ae.yy),ae.yy.lexer=re,ae.yy.parser=this,typeof re.yylloc>"u"&&(re.yylloc={});var le=re.yylloc;K.push(le);var de=re.options&&re.options.ranges;typeof ae.yy.parseError=="function"?this.parseError=ae.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ve(Xe){G.length=G.length-2*Xe,Y.length=Y.length-Xe,K.length=K.length-Xe}i(ve,"popStack");function Se(){var Xe;return Xe=V.pop()||re.lex()||te,typeof Xe!="number"&&(Xe instanceof Array&&(V=Xe,Xe=V.pop()),Xe=P.symbols_[Xe]||Xe),Xe}i(Se,"lex");for(var _e,Ce,Ve,De,qe,Ue,We={},mt,ct,Ot,yr;;){if(Ve=G[G.length-1],this.defaultActions[Ve]?De=this.defaultActions[Ve]:((_e===null||typeof _e>"u")&&(_e=Se()),De=J[Ve]&&J[Ve][_e]),typeof De>"u"||!De.length||!De[0]){var tr="";yr=[];for(mt in J[Ve])this.terminals_[mt]&&mt>W&&yr.push("'"+this.terminals_[mt]+"'");re.showPosition?tr="Parse error on line "+(q+1)+`: +`+re.showPosition()+` +Expecting `+yr.join(", ")+", got '"+(this.terminals_[_e]||_e)+"'":tr="Parse error on line "+(q+1)+": Unexpected "+(_e==te?"end of input":"'"+(this.terminals_[_e]||_e)+"'"),this.parseError(tr,{text:re.match,token:this.terminals_[_e]||_e,line:re.yylineno,loc:le,expected:yr})}if(De[0]instanceof Array&&De.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ve+", token: "+_e);switch(De[0]){case 1:G.push(_e),Y.push(re.yytext),K.push(re.yylloc),G.push(De[1]),_e=null,Ce?(_e=Ce,Ce=null):(Z=re.yyleng,H=re.yytext,q=re.yylineno,le=re.yylloc,Q>0&&Q--);break;case 2:if(ct=this.productions_[De[1]][1],We.$=Y[Y.length-ct],We._$={first_line:K[K.length-(ct||1)].first_line,last_line:K[K.length-1].last_line,first_column:K[K.length-(ct||1)].first_column,last_column:K[K.length-1].last_column},de&&(We._$.range=[K[K.length-(ct||1)].range[0],K[K.length-1].range[1]]),Ue=this.performAction.apply(We,[H,Z,q,ae.yy,De[1],Y,K].concat(z)),typeof Ue<"u")return Ue;ct&&(G=G.slice(0,-1*ct*2),Y=Y.slice(0,-1*ct),K=K.slice(0,-1*ct)),G.push(this.productions_[De[1]][0]),Y.push(We.$),K.push(We._$),Ot=J[G[G.length-2]][G[G.length-1]],G.push(Ot);break;case 3:return!0}}return!0},"parse")},M=(function(){var F={EOF:1,parseError:i(function(P,G){if(this.yy.parser)this.yy.parser.parseError(P,G);else throw new Error(P)},"parseError"),setInput:i(function(O,P){return this.yy=P||this.yy||{},this._input=O,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var O=this._input[0];this.yytext+=O,this.yyleng++,this.offset++,this.match+=O,this.matched+=O;var P=O.match(/(?:\r\n?|\n).*/g);return P?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),O},"input"),unput:i(function(O){var P=O.length,G=O.split(/(?:\r\n?|\n)/g);this._input=O+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-P),this.offset-=P;var V=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),G.length-1&&(this.yylineno-=G.length-1);var Y=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:G?(G.length===V.length?this.yylloc.first_column:0)+V[V.length-G.length].length-G[0].length:this.yylloc.first_column-P},this.options.ranges&&(this.yylloc.range=[Y[0],Y[0]+this.yyleng-P]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(O){this.unput(this.match.slice(O))},"less"),pastInput:i(function(){var O=this.matched.substr(0,this.matched.length-this.match.length);return(O.length>20?"...":"")+O.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var O=this.match;return O.length<20&&(O+=this._input.substr(0,20-O.length)),(O.substr(0,20)+(O.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var O=this.pastInput(),P=new Array(O.length+1).join("-");return O+this.upcomingInput()+` +`+P+"^"},"showPosition"),test_match:i(function(O,P){var G,V,Y;if(this.options.backtrack_lexer&&(Y={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Y.yylloc.range=this.yylloc.range.slice(0))),V=O[0].match(/(?:\r\n?|\n).*/g),V&&(this.yylineno+=V.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:V?V[V.length-1].length-V[V.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+O[0].length},this.yytext+=O[0],this.match+=O[0],this.matches=O,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(O[0].length),this.matched+=O[0],G=this.performAction.call(this,this.yy,this,P,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),G)return G;if(this._backtrack){for(var K in Y)this[K]=Y[K];return!1}return!1},"test_match"),next:i(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var O,P,G,V;this._more||(this.yytext="",this.match="");for(var Y=this._currentRules(),K=0;KP[0].length)){if(P=G,V=K,this.options.backtrack_lexer){if(O=this.test_match(G,Y[K]),O!==!1)return O;if(this._backtrack){P=!1;continue}else return!1}else if(!this.options.flex)break}return P?(O=this.test_match(P,Y[V]),O!==!1?O:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:i(function(){var P=this.next();return P||this.lex()},"lex"),begin:i(function(P){this.conditionStack.push(P)},"begin"),popState:i(function(){var P=this.conditionStack.length-1;return P>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:i(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:i(function(P){return P=this.conditionStack.length-1-Math.abs(P||0),P>=0?this.conditionStack[P]:"INITIAL"},"topState"),pushState:i(function(P){this.begin(P)},"pushState"),stateStackSize:i(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:i(function(P,G,V,Y){var K=Y;switch(V){case 0:return P.getLogger().trace("Found comment",G.yytext),6;break;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;break;case 4:this.popState();break;case 5:P.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return P.getLogger().trace("SPACELINE"),6;break;case 7:return 7;case 8:return 15;case 9:P.getLogger().trace("end icon"),this.popState();break;case 10:return P.getLogger().trace("Exploding node"),this.begin("NODE"),19;break;case 11:return P.getLogger().trace("Cloud"),this.begin("NODE"),19;break;case 12:return P.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;break;case 13:return P.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;break;case 14:return this.begin("NODE"),19;break;case 15:return this.begin("NODE"),19;break;case 16:return this.begin("NODE"),19;break;case 17:return this.begin("NODE"),19;break;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 23:this.popState();break;case 24:P.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return P.getLogger().trace("description:",G.yytext),"NODE_DESCR";break;case 26:this.popState();break;case 27:return this.popState(),P.getLogger().trace("node end ))"),"NODE_DEND";break;case 28:return this.popState(),P.getLogger().trace("node end )"),"NODE_DEND";break;case 29:return this.popState(),P.getLogger().trace("node end ...",G.yytext),"NODE_DEND";break;case 30:return this.popState(),P.getLogger().trace("node end (("),"NODE_DEND";break;case 31:return this.popState(),P.getLogger().trace("node end (-"),"NODE_DEND";break;case 32:return this.popState(),P.getLogger().trace("node end (-"),"NODE_DEND";break;case 33:return this.popState(),P.getLogger().trace("node end (("),"NODE_DEND";break;case 34:return this.popState(),P.getLogger().trace("node end (("),"NODE_DEND";break;case 35:return P.getLogger().trace("Long description:",G.yytext),20;break;case 36:return P.getLogger().trace("Long description:",G.yytext),20;break}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};return F})();_.lexer=M;function I(){this.yy={}}return i(I,"Parser"),I.prototype=_,_.Parser=I,new I})();iut.parser=iut;LGr=iut});function _Gr(t,r=0){return(v1[t[r+0]]+v1[t[r+1]]+v1[t[r+2]]+v1[t[r+3]]+"-"+v1[t[r+4]]+v1[t[r+5]]+"-"+v1[t[r+6]]+v1[t[r+7]]+"-"+v1[t[r+8]]+v1[t[r+9]]+"-"+v1[t[r+10]]+v1[t[r+11]]+v1[t[r+12]]+v1[t[r+13]]+v1[t[r+14]]+v1[t[r+15]]).toLowerCase()}var v1,MGr=ie(()=>{"use strict";v1=[];for(let t=0;t<256;++t)v1.push((t+256).toString(16).slice(1));i(_Gr,"unsafeStringify")});function aut(){return crypto.getRandomValues(Ofi)}var Ofi,IGr=ie(()=>{"use strict";Ofi=new Uint8Array(16);i(aut,"rng")});function Pfi(t,r,a){return!r&&!t&&crypto.randomUUID?crypto.randomUUID():Bfi(t,r,a)}function Bfi(t,r,a){t=t||{};let o=t.random??t.rng?.()??aut();if(o.length<16)throw new Error("Random bytes length must be >= 16");if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,r){if(a=a||0,a<0||a+16>r.length)throw new RangeError(`UUID byte range ${a}:${a+15} is out of buffer bounds`);for(let l=0;l<16;++l)r[a+l]=o[l];return r}return _Gr(o)}var sut,NGr=ie(()=>{"use strict";IGr();MGr();i(Pfi,"v4");i(Bfi,"_v4");sut=Pfi});var OGr=ie(()=>{"use strict";NGr()});var out,PGr=ie(()=>{"use strict";jw();Ia();out=12});var KA,U4e,BGr=ie(()=>{"use strict";ma();OGr();rl();Xn();up();Qs();PGr();KA={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},U4e=class{constructor(){this.nodes=[];this.count=0;this.elements={};this.getLogger=this.getLogger.bind(this),this.nodeType=KA,this.clear(),this.getType=this.getType.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}static{i(this,"MindmapDB")}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(r){for(let a=this.nodes.length-1;a>=0;a--)if(this.nodes[a].level0?this.nodes[0]:null}addNode(r,a,o,l){Pe.info("addNode",r,a,o,l);let h=!1;this.nodes.length===0?(this.baseLevel=r,r=0,h=!0):this.baseLevel!==void 0&&(r=r-this.baseLevel,h=!1);let f=Zt(),p=f.mindmap?.padding??hs.mindmap.padding;switch(l){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:p*=2;break}let m={id:this.count++,nodeId:Ns(a,f),level:r,descr:Ns(o,f),type:l,children:[],width:f.mindmap?.maxNodeWidth??hs.mindmap.maxNodeWidth,padding:p,isRoot:h},b=this.getParent(r);if(b)b.children.push(m),this.nodes.push(m);else if(h)this.nodes.push(m);else throw new Error(`There can be only one root. No parent could be found for ("${m.descr}")`)}getType(r,a){switch(Pe.debug("In get type",r,a),r){case"[":return this.nodeType.RECT;case"(":return a===")"?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case"((":return this.nodeType.CIRCLE;case")":return this.nodeType.CLOUD;case"))":return this.nodeType.BANG;case"{{":return this.nodeType.HEXAGON;default:return this.nodeType.DEFAULT}}setElementForId(r,a){this.elements[r]=a}getElementById(r){return this.elements[r]}decorateNode(r){if(!r)return;let a=Zt(),o=this.nodes[this.nodes.length-1];r.icon&&(o.icon=Ns(r.icon,a)),r.class&&(o.class=Ns(r.class,a))}type2Str(r){switch(r){case this.nodeType.DEFAULT:return"no-border";case this.nodeType.RECT:return"rect";case this.nodeType.ROUNDED_RECT:return"rounded-rect";case this.nodeType.CIRCLE:return"circle";case this.nodeType.CLOUD:return"cloud";case this.nodeType.BANG:return"bang";case this.nodeType.HEXAGON:return"hexgon";default:return"no-border"}}assignSections(r,a,o=0,l=!1){if(r.level===0?r.section=void 0:r.section=l?(o-1)%(out-1):a,r.children)for(let[h,f]of r.children.entries()){let p=r.level===0?h%(out-1):a;this.assignSections(f,p,o+1,l)}}flattenNodes(r,a){let o=Zt(),l=["mindmap-node"];r.isRoot===!0?l.push("section-root","section--1"):r.section!==void 0&&l.push(`section-${r.section}`),r.class&&l.push(r.class);let h=l.join(" "),f=i(m=>{let v=(o.theme?.toLowerCase()??"").includes("redux");switch(m){case KA.CIRCLE:return"mindmapCircle";case KA.RECT:return"rect";case KA.ROUNDED_RECT:return"rounded";case KA.CLOUD:return"cloud";case KA.BANG:return"bang";case KA.HEXAGON:return"hexagon";case KA.DEFAULT:return v?"rounded":"defaultMindmapNode";case KA.NO_BORDER:default:return"rect"}},"getShapeFromType"),p={id:r.id.toString(),domId:"node_"+r.id.toString(),label:r.descr,labelType:"markdown",isGroup:!1,shape:f(r.type),width:r.width,height:r.height??0,padding:r.padding,cssClasses:h,cssStyles:[],centerLabel:!0,look:o.look,icon:r.icon,x:r.x,y:r.y,level:r.level,nodeId:r.nodeId,type:r.type,section:r.section};if(a.push(p),r.children)for(let m of r.children)this.flattenNodes(m,a)}generateEdges(r,a){if(!r.children)return;let o=Zt();for(let l of r.children){let h="edge";l.section!==void 0&&(h+=` section-edge-${l.section}`);let f=r.level+1;h+=` edge-depth-${f}`;let p={id:`edge_${r.id}_${l.id}`,start:r.id.toString(),end:l.id.toString(),type:"normal",curve:"basis",thickness:"normal",look:o.look,classes:h,depth:r.level,section:l.section};a.push(p),this.generateEdges(l,a)}}getData(){let r=this.getMindmap(),a=Zt(),l=usr().layout!==void 0,h=a;if(l||(h.layout="cose-bilkent"),!r)return{nodes:[],edges:[],config:h};Pe.debug("getData: mindmapRoot",r,a),this.assignSections(r,void 0,0,a.mindmap?.colorBy==="depth");let f=[],p=[];this.flattenNodes(r,f),this.generateEdges(r,p),Pe.debug(`getData: processed ${f.length} nodes and ${p.length} edges`);let m=new Map;for(let b of f)m.set(b.id,{shape:b.shape,width:b.width,height:b.height,padding:b.padding});return{nodes:f,edges:p,config:h,rootNode:r,markers:["point"],direction:"TB",nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(m),type:"mindmap",diagramId:"mindmap-"+sut()}}getLogger(){return Pe}}});var Ffi,FGr,$Gr=ie(()=>{"use strict";Xn();hA();xS();TS();up();Qs();Ffi=i(async(t,r,a,o)=>{Pe.debug(`Rendering mindmap diagram +`+t);let l=o.db,h=l.getData(),f=ay(r,h.config.securityLevel);if(h.type=o.type,h.layoutAlgorithm=dy(h.config.layout,{fallback:"cose-bilkent"}),h.diagramId=r,!l.getMindmap())return;h.nodes.forEach(C=>{C.shape==="rounded"?(C.radius=15,C.taper=15,C.stroke="none",C.width=0,C.padding=15):C.shape==="circle"?C.padding=10:C.shape==="rect"?(C.width=0,C.padding=10):C.shape==="hexagon"&&(C.width=0,C.height=0)}),await fy(h,f);let{themeVariables:m}=ii(),{useGradient:b,gradientStart:v,gradientStop:T}=m;if(b&&v&&T){let C=f.attr("id"),E=f.append("defs").append("linearGradient").attr("id",`${C}-gradient`).attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");E.append("stop").attr("offset","0%").attr("stop-color",v).attr("stop-opacity",1),E.append("stop").attr("offset","100%").attr("stop-color",T).attr("stop-opacity",1)}Cm(f,h.config.mindmap?.padding??hs.mindmap.padding,"mindmapDiagram",h.config.mindmap?.useMaxWidth??hs.mindmap.useMaxWidth)},"draw"),FGr={draw:Ffi}});var $fi,Gfi,jfi,GGr,jGr=ie(()=>{"use strict";Zp();$fi=i(t=>{let{theme:r,look:a}=t,o="";for(let l=0;l` + [data-look="neo"].mindmap-node.section-${l-1} rect, [data-look="neo"].mindmap-node.section-${l-1} path, [data-look="neo"].mindmap-node.section-${l-1} circle, [data-look="neo"].mindmap-node.section-${l-1} polygon { + fill: ${r==="redux"||r==="redux-dark"||r==="neutral"?t.mainBkg:t["cScale"+l]}; + stroke: ${r==="redux"||r==="redux-dark"?t.nodeBorder:t["cScale"+l]}; + stroke-width: ${t.strokeWidth??2}px; + } + [data-look="neo"].section-edge-${l-1}{ + stroke: ${r?.includes("redux")||r==="neo-dark"?t.nodeBorder:t["cScale"+l]}; + } + [data-look="neo"].mindmap-node.section-${l-1} text, [data-look="neo"].mindmap-node.section-${l-1} span { + fill: ${f}; + color: ${f}; + } + `}return o},"genSections"),Gfi=i((t,r,a)=>{let o="";for(let l=0;l{let{theme:r}=t,a=t.svgId,o=r?.includes("redux")?t.nodeBorder:t["cScaleLabel"+(r==="neutral"?1:0)],l=t.dropShadow?t.dropShadow.replace("url(#drop-shadow)",`url(${a}-drop-shadow)`):"none";return` .edge { stroke-width: 3; } - ${Eon(i)} - .section-root rect, .section-root path, .section-root circle { - fill: ${i.git0}; + ${$fi(t)} + .section-root rect, .section-root path, .section-root circle, .section-root polygon { + fill: ${t.git0}; } .section-root text { - fill: ${i.gitBranchLabel0}; + fill: ${t.gitBranchLabel0}; + } + .section-root span { + color: ${r?.includes("redux")?t.nodeBorder:t.gitBranchLabel0}; } .icon-container { height:100%; @@ -1786,81 +3149,55 @@ Expecting `+pn.join(", ")+", got '"+(this.terminals_[je]||je)+"'":Tt="Parse erro .edge { fill: none; } - .eventWrapper { - filter: brightness(120%); + .mindmap-node-label { + dy: 1em; + alignment-baseline: middle; + text-anchor: middle; + dominant-baseline: middle; + text-align: center; } -`}},Symbol.toStringTag,{value:"Module"}));var vwe=function(){var i=function(ge,ae,ne,se){for(ne=ne||{},se=ge.length;se--;ne[ge[se]]=ae);return ne},a=[1,4],u=[1,13],d=[1,12],p=[1,15],v=[1,16],b=[1,20],y=[1,19],E=[6,7,8],_=[1,26],A=[1,24],P=[1,25],R=[6,7,11],B=[1,6,13,15,16,19,22],j=[1,33],W=[1,34],ee=[1,6,7,11,13,15,16,19,22],ie={trace:function(){},yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:function(ae,ne,se,de,X,pe,G){var xe=pe.length-1;switch(X){case 6:case 7:return de;case 8:de.getLogger().trace("Stop NL ");break;case 9:de.getLogger().trace("Stop EOF ");break;case 11:de.getLogger().trace("Stop NL2 ");break;case 12:de.getLogger().trace("Stop EOF2 ");break;case 15:de.getLogger().info("Node: ",pe[xe].id),de.addNode(pe[xe-1].length,pe[xe].id,pe[xe].descr,pe[xe].type);break;case 16:de.getLogger().trace("Icon: ",pe[xe]),de.decorateNode({icon:pe[xe]});break;case 17:case 21:de.decorateNode({class:pe[xe]});break;case 18:de.getLogger().trace("SPACELIST");break;case 19:de.getLogger().trace("Node: ",pe[xe].id),de.addNode(0,pe[xe].id,pe[xe].descr,pe[xe].type);break;case 20:de.decorateNode({icon:pe[xe]});break;case 25:de.getLogger().trace("node found ..",pe[xe-2]),this.$={id:pe[xe-1],descr:pe[xe-1],type:de.getType(pe[xe-2],pe[xe])};break;case 26:this.$={id:pe[xe],descr:pe[xe],type:de.nodeType.DEFAULT};break;case 27:de.getLogger().trace("node found ..",pe[xe-3]),this.$={id:pe[xe-3],descr:pe[xe-1],type:de.getType(pe[xe-2],pe[xe])};break}},table:[{3:1,4:2,5:3,6:[1,5],8:a},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:a},{6:u,7:[1,10],9:9,12:11,13:d,14:14,15:p,16:v,17:17,18:18,19:b,22:y},i(E,[2,3]),{1:[2,2]},i(E,[2,4]),i(E,[2,5]),{1:[2,6],6:u,12:21,13:d,14:14,15:p,16:v,17:17,18:18,19:b,22:y},{6:u,9:22,12:11,13:d,14:14,15:p,16:v,17:17,18:18,19:b,22:y},{6:_,7:A,10:23,11:P},i(R,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:b,22:y}),i(R,[2,18]),i(R,[2,19]),i(R,[2,20]),i(R,[2,21]),i(R,[2,23]),i(R,[2,24]),i(R,[2,26],{19:[1,30]}),{20:[1,31]},{6:_,7:A,10:32,11:P},{1:[2,7],6:u,12:21,13:d,14:14,15:p,16:v,17:17,18:18,19:b,22:y},i(B,[2,14],{7:j,11:W}),i(ee,[2,8]),i(ee,[2,9]),i(ee,[2,10]),i(R,[2,15]),i(R,[2,16]),i(R,[2,17]),{20:[1,35]},{21:[1,36]},i(B,[2,13],{7:j,11:W}),i(ee,[2,11]),i(ee,[2,12]),{21:[1,37]},i(R,[2,25]),i(R,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:function(ae,ne){if(ne.recoverable)this.trace(ae);else{var se=new Error(ae);throw se.hash=ne,se}},parse:function(ae){var ne=this,se=[0],de=[],X=[null],pe=[],G=this.table,xe="",U=0,Be=0,Pe=2,je=1,Ie=pe.slice.call(arguments,1),Se=Object.create(this.lexer),Ce={yy:{}};for(var ke in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ke)&&(Ce.yy[ke]=this.yy[ke]);Se.setInput(ae,Ce.yy),Ce.yy.lexer=Se,Ce.yy.parser=this,typeof Se.yylloc>"u"&&(Se.yylloc={});var Ke=Se.yylloc;pe.push(Ke);var zt=Se.options&&Se.options.ranges;typeof Ce.yy.parseError=="function"?this.parseError=Ce.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ne(){var Nn;return Nn=de.pop()||Se.lex()||je,typeof Nn!="number"&&(Nn instanceof Array&&(de=Nn,Nn=de.pop()),Nn=ne.symbols_[Nn]||Nn),Nn}for(var pn,Tt,Et,Wt,un={},yt,Bt,Ze,Dt;;){if(Tt=se[se.length-1],this.defaultActions[Tt]?Et=this.defaultActions[Tt]:((pn===null||typeof pn>"u")&&(pn=Ne()),Et=G[Tt]&&G[Tt][pn]),typeof Et>"u"||!Et.length||!Et[0]){var kt="";Dt=[];for(yt in G[Tt])this.terminals_[yt]&&yt>Pe&&Dt.push("'"+this.terminals_[yt]+"'");Se.showPosition?kt="Parse error on line "+(U+1)+`: -`+Se.showPosition()+` -Expecting `+Dt.join(", ")+", got '"+(this.terminals_[pn]||pn)+"'":kt="Parse error on line "+(U+1)+": Unexpected "+(pn==je?"end of input":"'"+(this.terminals_[pn]||pn)+"'"),this.parseError(kt,{text:Se.match,token:this.terminals_[pn]||pn,line:Se.yylineno,loc:Ke,expected:Dt})}if(Et[0]instanceof Array&&Et.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Tt+", token: "+pn);switch(Et[0]){case 1:se.push(pn),X.push(Se.yytext),pe.push(Se.yylloc),se.push(Et[1]),pn=null,Be=Se.yyleng,xe=Se.yytext,U=Se.yylineno,Ke=Se.yylloc;break;case 2:if(Bt=this.productions_[Et[1]][1],un.$=X[X.length-Bt],un._$={first_line:pe[pe.length-(Bt||1)].first_line,last_line:pe[pe.length-1].last_line,first_column:pe[pe.length-(Bt||1)].first_column,last_column:pe[pe.length-1].last_column},zt&&(un._$.range=[pe[pe.length-(Bt||1)].range[0],pe[pe.length-1].range[1]]),Wt=this.performAction.apply(un,[xe,Be,U,Ce.yy,Et[1],X,pe].concat(Ie)),typeof Wt<"u")return Wt;Bt&&(se=se.slice(0,-1*Bt*2),X=X.slice(0,-1*Bt),pe=pe.slice(0,-1*Bt)),se.push(this.productions_[Et[1]][0]),X.push(un.$),pe.push(un._$),Ze=G[se[se.length-2]][se[se.length-1]],se.push(Ze);break;case 3:return!0}}return!0}},oe=function(){var ge={EOF:1,parseError:function(ne,se){if(this.yy.parser)this.yy.parser.parseError(ne,se);else throw new Error(ne)},setInput:function(ae,ne){return this.yy=ne||this.yy||{},this._input=ae,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var ae=this._input[0];this.yytext+=ae,this.yyleng++,this.offset++,this.match+=ae,this.matched+=ae;var ne=ae.match(/(?:\r\n?|\n).*/g);return ne?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),ae},unput:function(ae){var ne=ae.length,se=ae.split(/(?:\r\n?|\n)/g);this._input=ae+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ne),this.offset-=ne;var de=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),se.length-1&&(this.yylineno-=se.length-1);var X=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:se?(se.length===de.length?this.yylloc.first_column:0)+de[de.length-se.length].length-se[0].length:this.yylloc.first_column-ne},this.options.ranges&&(this.yylloc.range=[X[0],X[0]+this.yyleng-ne]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(ae){this.unput(this.match.slice(ae))},pastInput:function(){var ae=this.matched.substr(0,this.matched.length-this.match.length);return(ae.length>20?"...":"")+ae.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var ae=this.match;return ae.length<20&&(ae+=this._input.substr(0,20-ae.length)),(ae.substr(0,20)+(ae.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var ae=this.pastInput(),ne=new Array(ae.length+1).join("-");return ae+this.upcomingInput()+` -`+ne+"^"},test_match:function(ae,ne){var se,de,X;if(this.options.backtrack_lexer&&(X={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(X.yylloc.range=this.yylloc.range.slice(0))),de=ae[0].match(/(?:\r\n?|\n).*/g),de&&(this.yylineno+=de.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:de?de[de.length-1].length-de[de.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+ae[0].length},this.yytext+=ae[0],this.match+=ae[0],this.matches=ae,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(ae[0].length),this.matched+=ae[0],se=this.performAction.call(this,this.yy,this,ne,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),se)return se;if(this._backtrack){for(var pe in X)this[pe]=X[pe];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var ae,ne,se,de;this._more||(this.yytext="",this.match="");for(var X=this._currentRules(),pe=0;pene[0].length)){if(ne=se,de=pe,this.options.backtrack_lexer){if(ae=this.test_match(se,X[pe]),ae!==!1)return ae;if(this._backtrack){ne=!1;continue}else return!1}else if(!this.options.flex)break}return ne?(ae=this.test_match(ne,X[de]),ae!==!1?ae:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var ne=this.next();return ne||this.lex()},begin:function(ne){this.conditionStack.push(ne)},popState:function(){var ne=this.conditionStack.length-1;return ne>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(ne){return ne=this.conditionStack.length-1-Math.abs(ne||0),ne>=0?this.conditionStack[ne]:"INITIAL"},pushState:function(ne){this.begin(ne)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(ne,se,de,X){switch(de){case 0:return ne.getLogger().trace("Found comment",se.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:this.popState();break;case 5:ne.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return ne.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:ne.getLogger().trace("end icon"),this.popState();break;case 10:return ne.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return ne.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return ne.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return ne.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:return this.begin("NODE"),19;case 15:return this.begin("NODE"),19;case 16:return this.begin("NODE"),19;case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 23:this.popState();break;case 24:ne.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return ne.getLogger().trace("description:",se.yytext),"NODE_DESCR";case 26:this.popState();break;case 27:return this.popState(),ne.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),ne.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),ne.getLogger().trace("node end ...",se.yytext),"NODE_DEND";case 30:return this.popState(),ne.getLogger().trace("node end (("),"NODE_DEND";case 31:return this.popState(),ne.getLogger().trace("node end (-"),"NODE_DEND";case 32:return this.popState(),ne.getLogger().trace("node end (-"),"NODE_DEND";case 33:return this.popState(),ne.getLogger().trace("node end (("),"NODE_DEND";case 34:return this.popState(),ne.getLogger().trace("node end (("),"NODE_DEND";case 35:return ne.getLogger().trace("Long description:",se.yytext),20;case 36:return ne.getLogger().trace("Long description:",se.yytext),20}},rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};return ge}();ie.lexer=oe;function be(){this.yy={}}return be.prototype=ie,ie.Parser=be,new be}();vwe.parser=vwe;const Son=vwe;let Q3=[],jWe=0,wwe={};const _on=()=>{Q3=[],jWe=0,wwe={}},Aon=function(i){for(let a=Q3.length-1;a>=0;a--)if(Q3[a].levelQ3.length>0?Q3[0]:null,Mon=(i,a,u,d)=>{var E,_;Xe.info("addNode",i,a,u,d);const p=qt();let v=((E=p.mindmap)==null?void 0:E.padding)??nh.mindmap.padding;switch(d){case v1.ROUNDED_RECT:case v1.RECT:case v1.HEXAGON:v*=2}const b={id:jWe++,nodeId:bh(a,p),level:i,descr:bh(u,p),type:d,children:[],width:((_=p.mindmap)==null?void 0:_.maxNodeWidth)??nh.mindmap.maxNodeWidth,padding:v},y=Aon(i);if(y)y.children.push(b),Q3.push(b);else if(Q3.length===0)Q3.push(b);else throw new Error('There can be only one root. No parent could be found for ("'+b.descr+'")')},v1={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},Don={clear:_on,addNode:Mon,getMindmap:Lon,nodeType:v1,getType:(i,a)=>{switch(Xe.debug("In get type",i,a),i){case"[":return v1.RECT;case"(":return a===")"?v1.ROUNDED_RECT:v1.CLOUD;case"((":return v1.CIRCLE;case")":return v1.CLOUD;case"))":return v1.BANG;case"{{":return v1.HEXAGON;default:return v1.DEFAULT}},setElementForId:(i,a)=>{wwe[i]=a},decorateNode:i=>{if(!i)return;const a=qt(),u=Q3[Q3.length-1];i.icon&&(u.icon=bh(i.icon,a)),i.class&&(u.class=bh(i.class,a))},type2Str:i=>{switch(i){case v1.DEFAULT:return"no-border";case v1.RECT:return"rect";case v1.ROUNDED_RECT:return"rounded-rect";case v1.CIRCLE:return"circle";case v1.CLOUD:return"cloud";case v1.BANG:return"bang";case v1.HEXAGON:return"hexgon";default:return"no-border"}},getLogger:()=>Xe,getElementById:i=>wwe[i]};var $We={exports:{}};(function(i,a){(function(u,d){i.exports=d()})(Dg,function(){function u(x){"@babel/helpers - typeof";return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},u(x)}function d(x,m){if(!(x instanceof m))throw new TypeError("Cannot call a class as a function")}function p(x,m){for(var k=0;kx.length)&&(m=x.length);for(var k=0,S=new Array(m);k"u"?null:window,j=B?B.navigator:null;B&&B.document;var W=u(""),ee=u({}),ie=u(function(){}),oe=typeof HTMLElement>"u"?"undefined":u(HTMLElement),be=function(m){return m&&m.instanceString&&ae(m.instanceString)?m.instanceString():null},ge=function(m){return m!=null&&u(m)==W},ae=function(m){return m!=null&&u(m)===ie},ne=function(m){return!xe(m)&&(Array.isArray?Array.isArray(m):m!=null&&m instanceof Array)},se=function(m){return m!=null&&u(m)===ee&&!ne(m)&&m.constructor===Object},de=function(m){return m!=null&&u(m)===ee},X=function(m){return m!=null&&u(m)===u(1)&&!isNaN(m)},pe=function(m){return X(m)&&Math.floor(m)===m},G=function(m){if(oe!=="undefined")return m!=null&&m instanceof HTMLElement},xe=function(m){return U(m)||Be(m)},U=function(m){return be(m)==="collection"&&m._private.single},Be=function(m){return be(m)==="collection"&&!m._private.single},Pe=function(m){return be(m)==="core"},je=function(m){return be(m)==="stylesheet"},Ie=function(m){return be(m)==="event"},Se=function(m){return m==null?!0:!!(m===""||m.match(/^\s+$/))},Ce=function(m){return typeof HTMLElement>"u"?!1:m instanceof HTMLElement},ke=function(m){return se(m)&&X(m.x1)&&X(m.x2)&&X(m.y1)&&X(m.y2)},Ke=function(m){return de(m)&&ae(m.then)},zt=function(){return j&&j.userAgent.match(/msie|trident|edge/i)},Ne=function(m,k){k||(k=function(){if(arguments.length===1)return arguments[0];if(arguments.length===0)return"undefined";for(var O=[],N=0;Nk?1:0},qr=function(m,k){return-1*ht(m,k)},xt=Object.assign!=null?Object.assign.bind(Object):function(x){for(var m=arguments,k=1;k1&&(_e-=1),_e<1/6?me+(Le-me)*6*_e:_e<1/2?Le:_e<2/3?me+(Le-me)*(2/3-_e)*6:me}var Z=new RegExp("^"+Ze+"$").exec(m);if(Z){if(S=parseInt(Z[1]),S<0?S=(360- -1*S%360)%360:S>360&&(S=S%360),S/=360,M=parseFloat(Z[2]),M<0||M>100||(M=M/100,O=parseFloat(Z[3]),O<0||O>100)||(O=O/100,N=Z[4],N!==void 0&&(N=parseFloat(N),N<0||N>1)))return;if(M===0)$=H=q=Math.round(O*255);else{var ce=O<.5?O*(1+M):O+M-O*M,ve=2*O-ce;$=Math.round(255*Y(ve,ce,S+1/3)),H=Math.round(255*Y(ve,ce,S)),q=Math.round(255*Y(ve,ce,S-1/3))}k=[$,H,q,N]}return k},ia=function(m){var k,S=new RegExp("^"+yt+"$").exec(m);if(S){k=[];for(var M=[],O=1;O<=3;O++){var N=S[O];if(N[N.length-1]==="%"&&(M[O]=!0),N=parseFloat(N),M[O]&&(N=N/100*255),N<0||N>255)return;k.push(Math.floor(N))}var $=M[1]||M[2]||M[3],H=M[1]&&M[2]&&M[3];if($&&!H)return;var q=S[4];if(q!==void 0){if(q=parseFloat(q),q<0||q>1)return;k.push(q)}}return k},Hs=function(m){return Tr[m.toLowerCase()]},mo=function(m){return(ne(m)?m:null)||Hs(m)||Ri(m)||ia(m)||wi(m)},Tr={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},On=function(m){for(var k=m.map,S=m.keys,M=S.length,O=0;O=m||Ye<0||Z&&vt>=O}function Te(){var st=uo();if(_e(st))return Fe(st);$=setTimeout(Te,Le(st))}function Fe(st){return $=void 0,ce&&S?ve(st):(S=M=void 0,N)}function Re(){$!==void 0&&clearTimeout($),q=0,S=H=M=$=void 0}function Ve(){return $===void 0?N:Fe(uo())}function ct(){var st=uo(),Ye=_e(st);if(S=arguments,M=this,H=st,Ye){if($===void 0)return me(H);if(Z)return clearTimeout($),$=setTimeout(Te,m),ve(H)}return $===void 0&&($=setTimeout(Te,m)),N}return ct.cancel=Re,ct.flush=Ve,ct}var Bo=gi,Ot=B?B.performance:null,zu=Ot&&Ot.now?function(){return Ot.now()}:function(){return Date.now()},Gt=function(){if(B){if(B.requestAnimationFrame)return function(x){B.requestAnimationFrame(x)};if(B.mozRequestAnimationFrame)return function(x){B.mozRequestAnimationFrame(x)};if(B.webkitRequestAnimationFrame)return function(x){B.webkitRequestAnimationFrame(x)};if(B.msRequestAnimationFrame)return function(x){B.msRequestAnimationFrame(x)}}return function(x){x&&setTimeout(function(){x(zu())},1e3/60)}}(),Wh=function(m){return Gt(m)},Vp=zu,J3=9261,q9=65599,l5=5381,Th=function(m){for(var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:J3,S=k,M;M=m.next(),!M.done;)S=S*q9+M.value|0;return S},Vg=function(m){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:J3;return k*q9+m|0},Em=function(m){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l5;return(k<<5)+k+m|0},H9=function(m,k){return m*2097152+k},Cm=function(m){return m[0]*2097152+m[1]},h5=function(m,k){return[Vg(m[0],k[0]),Em(m[1],k[1])]},y1=function(m,k){var S={value:0,done:!1},M=0,O=m.length,N={next:function(){return M=0&&!(m[M]===k&&(m.splice(M,1),S));M--);},uS=function(m){m.splice(0,m.length)},mj=function(m,k){for(var S=0;S"u"?"undefined":u(Set))!==iZ?Set:sZ,lS=function(m,k){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(m===void 0||k===void 0||!Pe(m)){sh("An element must have a core reference and parameters set");return}var M=k.group;if(M==null&&(k.data&&k.data.source!=null&&k.data.target!=null?M="edges":M="nodes"),M!=="nodes"&&M!=="edges"){sh("An element must be of type `nodes` or `edges`; you specified `"+M+"`");return}this.length=1,this[0]=this;var O=this._private={cy:m,single:!0,data:k.data||{},position:k.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:M,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!k.selected,selectable:k.selectable===void 0?!0:!!k.selectable,locked:!!k.locked,grabbed:!1,grabbable:k.grabbable===void 0?!0:!!k.grabbable,pannable:k.pannable===void 0?M==="edges":!!k.pannable,active:!1,classes:new J7,animation:{current:[],queue:[]},rscratch:{},scratch:k.scratch||{},edges:[],children:[],parent:k.parent&&k.parent.isNode()?k.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(O.position.x==null&&(O.position.x=0),O.position.y==null&&(O.position.y=0),k.renderedPosition){var N=k.renderedPosition,$=m.pan(),H=m.zoom();O.position={x:(N.x-$.x)/H,y:(N.y-$.y)/H}}var q=[];ne(k.classes)?q=k.classes:ge(k.classes)&&(q=k.classes.split(/\s+/));for(var Y=0,Z=q.length;YFe?1:0},Y=function(Te,Fe,Re,Ve,ct){var st;if(Re==null&&(Re=0),ct==null&&(ct=S),Re<0)throw new Error("lo must be non-negative");for(Ve==null&&(Ve=Te.length);ReLt;0<=Lt?Qe++:Qe--)vt.push(Qe);return vt}).apply(this).reverse(),Ye=[],Ve=0,ct=st.length;VeMt;0<=Mt?++vt:--vt)ut.push(N(Te,Re));return ut},Le=function(Te,Fe,Re,Ve){var ct,st,Ye;for(Ve==null&&(Ve=S),ct=Te[Re];Re>Fe;){if(Ye=Re-1>>1,st=Te[Ye],Ve(ct,st)<0){Te[Re]=st,Re=Ye;continue}break}return Te[Re]=ct},_e=function(Te,Fe,Re){var Ve,ct,st,Ye,vt;for(Re==null&&(Re=S),ct=Te.length,vt=Fe,st=Te[Fe],Ve=2*Fe+1;Ve0;){var st=Fe.pop(),Ye=_e(st),vt=st.id();if(ce[vt]=Ye,Ye!==1/0)for(var Qe=st.neighborhood().intersect(me),Lt=0;Lt0)for(Dn.unshift(Xt);Z[mr];){var Pn=Z[mr];Dn.unshift(Pn.edge),Dn.unshift(Pn.node),rr=Pn.node,mr=rr.id()}return $.spawn(Dn)}}}},uZ={kruskal:function(m){m=m||function(Re){return 1};for(var k=this.byGroup(),S=k.nodes,M=k.edges,O=S.length,N=new Array(O),$=S,H=function(Ve){for(var ct=0;ct0;){if(ct(),Ye++,Ve===Y){for(var vt=[],Qe=O,Lt=Y,Mt=Te[Lt];vt.unshift(Qe),Mt!=null&&vt.unshift(Mt),Qe=_e[Lt],Qe!=null;)Lt=Qe.id(),Mt=Te[Lt];return{found:!0,distance:Z[Ve],path:this.spawn(vt),steps:Ye}}ve[Ve]=!0;for(var ut=Re._private.edges,Yt=0;YtMt&&(me[Lt]=Mt,Fe[Lt]=Qe,Re[Lt]=ct),!O){var ut=Qe*Y+vt;!O&&me[ut]>Mt&&(me[ut]=Mt,Fe[ut]=vt,Re[ut]=ct)}}}for(var Yt=0;Yt1&&arguments[1]!==void 0?arguments[1]:N,vo=Re(ks),ja=[],Ma=vo;;){if(Ma==null)return k.spawn();var Fo=Fe(Ma),er=Fo.edge,K=Fo.pred;if(ja.unshift(Ma[0]),Ma.same(Rs)&&ja.length>0)break;er!=null&&ja.unshift(er),Ma=K}return H.spawn(ja)},st=0;st=0;Y--){var Z=q[Y],ce=Z[1],ve=Z[2];(k[ce]===$&&k[ve]===H||k[ce]===H&&k[ve]===$)&&q.splice(Y,1)}for(var me=0;meM;){var O=Math.floor(Math.random()*k.length);k=mZ(O,m,k),S--}return k},vZ={kargerStein:function(){var m=this,k=this.byGroup(),S=k.nodes,M=k.edges;M.unmergeBy(function(Dn){return Dn.isLoop()});var O=S.length,N=M.length,$=Math.ceil(Math.pow(Math.log(O)/Math.LN2,2)),H=Math.floor(O/bZ);if(O<2){sh("At least 2 nodes are required for Karger-Stein algorithm");return}for(var q=[],Y=0;Y1&&arguments[1]!==void 0?arguments[1]:0,S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:m.length,M=1/0,O=k;O1&&arguments[1]!==void 0?arguments[1]:0,S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:m.length,M=-1/0,O=k;O1&&arguments[1]!==void 0?arguments[1]:0,S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:m.length,M=0,O=0,N=k;N1&&arguments[1]!==void 0?arguments[1]:0,S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:m.length,M=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,O=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,N=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;M?m=m.slice(k,S):(S0&&m.splice(0,k));for(var $=0,H=m.length-1;H>=0;H--){var q=m[H];N?isFinite(q)||(m[H]=-1/0,$++):m.splice(H,1)}O&&m.sort(function(ce,ve){return ce-ve});var Y=m.length,Z=Math.floor(Y/2);return Y%2!==0?m[Z+1+$]:(m[Z-1+$]+m[Z+$])/2},EZ=function(m){return Math.PI*m/180},fS=function(m,k){return Math.atan2(k,m)-Math.PI/2},fI=Math.log2||function(x){return Math.log(x)/Math.log(2)},yj=function(m){return m>0?1:m<0?-1:0},d5=function(m,k){return Math.sqrt(g5(m,k))},g5=function(m,k){var S=k.x-m.x,M=k.y-m.y;return S*S+M*M},CZ=function(m){for(var k=m.length,S=0,M=0;M=m.x1&&m.y2>=m.y1)return{x1:m.x1,y1:m.y1,x2:m.x2,y2:m.y2,w:m.x2-m.x1,h:m.y2-m.y1};if(m.w!=null&&m.h!=null&&m.w>=0&&m.h>=0)return{x1:m.x1,y1:m.y1,x2:m.x1+m.w,y2:m.y1+m.h,w:m.w,h:m.h}}},_Z=function(m){return{x1:m.x1,x2:m.x2,w:m.w,y1:m.y1,y2:m.y2,h:m.h}},AZ=function(m){m.x1=1/0,m.y1=1/0,m.x2=-1/0,m.y2=-1/0,m.w=0,m.h=0},LZ=function(m,k,S){return{x1:m.x1+k,x2:m.x2+k,y1:m.y1+S,y2:m.y2+S,w:m.w,h:m.h}},xj=function(m,k){m.x1=Math.min(m.x1,k.x1),m.x2=Math.max(m.x2,k.x2),m.w=m.x2-m.x1,m.y1=Math.min(m.y1,k.y1),m.y2=Math.max(m.y2,k.y2),m.h=m.y2-m.y1},MZ=function(m,k,S){m.x1=Math.min(m.x1,k),m.x2=Math.max(m.x2,k),m.w=m.x2-m.x1,m.y1=Math.min(m.y1,S),m.y2=Math.max(m.y2,S),m.h=m.y2-m.y1},dS=function(m){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return m.x1-=k,m.x2+=k,m.y1-=k,m.y2+=k,m.w=m.x2-m.x1,m.h=m.y2-m.y1,m},gS=function(m){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0],S,M,O,N;if(k.length===1)S=M=O=N=k[0];else if(k.length===2)S=O=k[0],N=M=k[1];else if(k.length===4){var $=y(k,4);S=$[0],M=$[1],O=$[2],N=$[3]}return m.x1-=N,m.x2+=M,m.y1-=S,m.y2+=O,m.w=m.x2-m.x1,m.h=m.y2-m.y1,m},kj=function(m,k){m.x1=k.x1,m.y1=k.y1,m.x2=k.x2,m.y2=k.y2,m.w=m.x2-m.x1,m.h=m.y2-m.y1},dI=function(m,k){return!(m.x1>k.x2||k.x1>m.x2||m.x2k.y2||k.y1>m.y2)},t8=function(m,k,S){return m.x1<=k&&k<=m.x2&&m.y1<=S&&S<=m.y2},DZ=function(m,k){return t8(m,k.x,k.y)},Tj=function(m,k){return t8(m,k.x1,k.y1)&&t8(m,k.x2,k.y2)},Ej=function(m,k,S,M,O,N,$){var H=X9(O,N),q=O/2,Y=N/2,Z;{var ce=S-q+H-$,ve=M-Y-$,me=S+q-H+$,Le=ve;if(Z=ny(m,k,S,M,ce,ve,me,Le,!1),Z.length>0)return Z}{var _e=S+q+$,Te=M-Y+H-$,Fe=_e,Re=M+Y-H+$;if(Z=ny(m,k,S,M,_e,Te,Fe,Re,!1),Z.length>0)return Z}{var Ve=S-q+H-$,ct=M+Y+$,st=S+q-H+$,Ye=ct;if(Z=ny(m,k,S,M,Ve,ct,st,Ye,!1),Z.length>0)return Z}{var vt=S-q-$,Qe=M-Y+H-$,Lt=vt,Mt=M+Y-H+$;if(Z=ny(m,k,S,M,vt,Qe,Lt,Mt,!1),Z.length>0)return Z}var ut;{var Yt=S-q+H,St=M-Y+H;if(ut=W9(m,k,S,M,Yt,St,H+$),ut.length>0&&ut[0]<=Yt&&ut[1]<=St)return[ut[0],ut[1]]}{var _n=S+q-H,fn=M-Y+H;if(ut=W9(m,k,S,M,_n,fn,H+$),ut.length>0&&ut[0]>=_n&&ut[1]<=fn)return[ut[0],ut[1]]}{var Xt=S+q-H,Dn=M+Y-H;if(ut=W9(m,k,S,M,Xt,Dn,H+$),ut.length>0&&ut[0]>=Xt&&ut[1]>=Dn)return[ut[0],ut[1]]}{var rr=S-q+H,mr=M+Y-H;if(ut=W9(m,k,S,M,rr,mr,H+$),ut.length>0&&ut[0]<=rr&&ut[1]>=mr)return[ut[0],ut[1]]}return[]},IZ=function(m,k,S,M,O,N,$){var H=$,q=Math.min(S,O),Y=Math.max(S,O),Z=Math.min(M,N),ce=Math.max(M,N);return q-H<=m&&m<=Y+H&&Z-H<=k&&k<=ce+H},OZ=function(m,k,S,M,O,N,$,H,q){var Y={x1:Math.min(S,$,O)-q,x2:Math.max(S,$,O)+q,y1:Math.min(M,H,N)-q,y2:Math.max(M,H,N)+q};return!(mY.x2||kY.y2)},NZ=function(m,k,S,M){S-=M;var O=k*k-4*m*S;if(O<0)return[];var N=Math.sqrt(O),$=2*m,H=(-k+N)/$,q=(-k-N)/$;return[H,q]},PZ=function(m,k,S,M,O){var N=1e-5;m===0&&(m=N),k/=m,S/=m,M/=m;var $,H,q,Y,Z,ce,ve,me;if(H=(3*S-k*k)/9,q=-(27*M)+k*(9*S-2*(k*k)),q/=54,$=H*H*H+q*q,O[1]=0,ve=k/3,$>0){Z=q+Math.sqrt($),Z=Z<0?-Math.pow(-Z,1/3):Math.pow(Z,1/3),ce=q-Math.sqrt($),ce=ce<0?-Math.pow(-ce,1/3):Math.pow(ce,1/3),O[0]=-ve+Z+ce,ve+=(Z+ce)/2,O[4]=O[2]=-ve,ve=Math.sqrt(3)*(-ce+Z)/2,O[3]=ve,O[5]=-ve;return}if(O[5]=O[3]=0,$===0){me=q<0?-Math.pow(-q,1/3):Math.pow(q,1/3),O[0]=-ve+2*me,O[4]=O[2]=-(me+ve);return}H=-H,Y=H*H*H,Y=Math.acos(q/Math.sqrt(Y)),me=2*Math.sqrt(H),O[0]=-ve+me*Math.cos(Y/3),O[2]=-ve+me*Math.cos((Y+2*Math.PI)/3),O[4]=-ve+me*Math.cos((Y+4*Math.PI)/3)},BZ=function(m,k,S,M,O,N,$,H){var q=1*S*S-4*S*O+2*S*$+4*O*O-4*O*$+$*$+M*M-4*M*N+2*M*H+4*N*N-4*N*H+H*H,Y=1*9*S*O-3*S*S-3*S*$-6*O*O+3*O*$+9*M*N-3*M*M-3*M*H-6*N*N+3*N*H,Z=1*3*S*S-6*S*O+S*$-S*m+2*O*O+2*O*m-$*m+3*M*M-6*M*N+M*H-M*k+2*N*N+2*N*k-H*k,ce=1*S*O-S*S+S*m-O*m+M*N-M*M+M*k-N*k,ve=[];PZ(q,Y,Z,ce,ve);for(var me=1e-7,Le=[],_e=0;_e<6;_e+=2)Math.abs(ve[_e+1])=0&&ve[_e]<=1&&Le.push(ve[_e]);Le.push(1),Le.push(0);for(var Te=-1,Fe,Re,Ve,ct=0;ct=0?Veq?(m-O)*(m-O)+(k-N)*(k-N):Y-ce},Jd=function(m,k,S){for(var M,O,N,$,H,q=0,Y=0;Y=m&&m>=N||M<=m&&m<=N)H=(m-M)/(N-M)*($-O)+O,H>k&&q++;else continue;return q%2!==0},Jv=function(m,k,S,M,O,N,$,H,q){var Y=new Array(S.length),Z;H[0]!=null?(Z=Math.atan(H[1]/H[0]),H[0]<0?Z=Z+Math.PI/2:Z=-Z-Math.PI/2):Z=H;for(var ce=Math.cos(-Z),ve=Math.sin(-Z),me=0;me0){var _e=bS(Y,-q);Le=pS(_e)}else Le=Y;return Jd(m,k,Le)},RZ=function(m,k,S,M,O,N,$){for(var H=new Array(S.length),q=N/2,Y=$/2,Z=bI(N,$),ce=Z*Z,ve=0;ve=0&&_e<=1&&Fe.push(_e),Te>=0&&Te<=1&&Fe.push(Te),Fe.length===0)return[];var Re=Fe[0]*H[0]+m,Ve=Fe[0]*H[1]+k;if(Fe.length>1){if(Fe[0]==Fe[1])return[Re,Ve];var ct=Fe[1]*H[0]+m,st=Fe[1]*H[1]+k;return[Re,Ve,ct,st]}else return[Re,Ve]},gI=function(m,k,S){return k<=m&&m<=S||S<=m&&m<=k?m:m<=k&&k<=S||S<=k&&k<=m?k:S},ny=function(m,k,S,M,O,N,$,H,q){var Y=m-O,Z=S-m,ce=$-O,ve=k-N,me=M-k,Le=H-N,_e=ce*ve-Le*Y,Te=Z*ve-me*Y,Fe=Le*Z-ce*me;if(Fe!==0){var Re=_e/Fe,Ve=Te/Fe,ct=.001,st=0-ct,Ye=1+ct;return st<=Re&&Re<=Ye&&st<=Ve&&Ve<=Ye?[m+Re*Z,k+Re*me]:q?[m+Re*Z,k+Re*me]:[]}else return _e===0||Te===0?gI(m,S,$)===$?[$,H]:gI(m,S,O)===O?[O,N]:gI(O,$,S)===S?[S,M]:[]:[]},Y9=function(m,k,S,M,O,N,$,H){var q=[],Y,Z=new Array(S.length),ce=!0;N==null&&(ce=!1);var ve;if(ce){for(var me=0;me0){var Le=bS(Z,-H);ve=pS(Le)}else ve=Z}else ve=S;for(var _e,Te,Fe,Re,Ve=0;Ve2){for(var fn=[q[0],q[1]],Xt=Math.pow(fn[0]-m,2)+Math.pow(fn[1]-k,2),Dn=1;DnY&&(Y=Ve)},get:function(Re){return q[Re]}},ce=0;ce<$.length;ce++){var ve=$[ce],me=ve.id();S?H[me]=ve.outgoers().nodes():H[me]=ve.openNeighborhood().nodes(),Z.set(me,0)}for(var Le=function(Re){for(var Ve=$[Re].id(),ct=[],st={},Ye={},vt={},Qe=new G9(function(Er,Ir){return vt[Er]-vt[Ir]}),Lt=0;Lt<$.length;Lt++){var Mt=$[Lt].id();st[Mt]=[],Ye[Mt]=0,vt[Mt]=1/0}for(Ye[Ve]=1,vt[Ve]=0,Qe.push(Ve);!Qe.empty();){var ut=Qe.pop();if(ct.push(ut),O)for(var Yt=0;Yt0?fn=_n.edgesTo(St)[0]:fn=St.edgesTo(_n)[0];var Xt=M(fn);St=St.id(),vt[St]>vt[ut]+Xt&&(vt[St]=vt[ut]+Xt,Qe.nodes.indexOf(St)<0?Qe.push(St):Qe.updateItem(St),Ye[St]=0,st[St]=[]),vt[St]==vt[ut]+Xt&&(Ye[St]=Ye[St]+Ye[ut],st[St].push(ut))}else for(var Dn=0;Dn0;){for(var gr=ct.pop(),kr=0;kr0&&$.push(S[H]);$.length!==0&&O.push(M.collection($))}return O},ZZ=function(m,k){for(var S=0;S5&&arguments[5]!==void 0?arguments[5]:nee,$=M,H,q,Y=0;Y=2?Q9(m,k,S,0,Nj,ree):Q9(m,k,S,0,Oj)},squaredEuclidean:function(m,k,S){return Q9(m,k,S,0,Nj)},manhattan:function(m,k,S){return Q9(m,k,S,0,Oj)},max:function(m,k,S){return Q9(m,k,S,-1/0,iee)}};i8["squared-euclidean"]=i8.squaredEuclidean,i8.squaredeuclidean=i8.squaredEuclidean;function vS(x,m,k,S,M,O){var N;return ae(x)?N=x:N=i8[x]||i8.euclidean,m===0&&ae(x)?N(M,O):N(m,k,S,M,O)}var see=z0({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),wI=function(m){return see(m)},wS=function(m,k,S,M,O){var N=O!=="kMedoids",$=N?function(Z){return S[Z]}:function(Z){return M[Z](S)},H=function(ce){return M[ce](k)},q=S,Y=k;return vS(m,M.length,$,H,q,Y)},yI=function(m,k,S){for(var M=S.length,O=new Array(M),N=new Array(M),$=new Array(k),H=null,q=0;qS)return!1}return!0},cee=function(m,k,S){for(var M=0;M$&&($=k[q][Y],H=Y);O[H].push(m[q])}for(var Z=0;Z=O.threshold||O.mode==="dendrogram"&&m.length===1)return!1;var me=k[N],Le=k[M[N]],_e;O.mode==="dendrogram"?_e={left:me,right:Le,key:me.key}:_e={value:me.value.concat(Le.value),key:me.key},m[me.index]=_e,m.splice(Le.index,1),k[me.key]=_e;for(var Te=0;TeS[Le.key][Fe.key]&&(H=S[Le.key][Fe.key])):O.linkage==="max"?(H=S[me.key][Fe.key],S[me.key][Fe.key]0&&M.push(O);return M},qj=function(m,k,S){for(var M=[],O=0;O$&&(N=q,$=k[O*m+q])}N>0&&M.push(N)}for(var Y=0;Yq&&(H=Y,q=Z)}S[O]=N[H]}return M=qj(m,k,S),M},Hj=function(m){for(var k=this.cy(),S=this.nodes(),M=kee(m),O={},N=0;N=Mt?(ut=Mt,Mt=St,Yt=_n):St>ut&&(ut=St);for(var fn=0;fn<$;fn++)Z[Lt*$+fn]=(1-M.damping)*(q[Lt*$+fn]-Mt)+M.damping*Re[fn];Z[Lt*$+Yt]=(1-M.damping)*(q[Lt*$+Yt]-ut)+M.damping*Re[Yt]}for(var Xt=0;Xt<$;Xt++){for(var Dn=0,rr=0;rr<$;rr++)Re[rr]=ce[rr*$+Xt],Ve[rr]=Math.max(0,Z[rr*$+Xt]),Dn+=Ve[rr];Dn-=Ve[Xt],Ve[Xt]=Z[Xt*$+Xt],Dn+=Ve[Xt];for(var mr=0;mr<$;mr++)ce[mr*$+Xt]=(1-M.damping)*Math.min(0,Dn-Ve[mr])+M.damping*Re[mr];ce[Xt*$+Xt]=(1-M.damping)*(Dn-Ve[Xt])+M.damping*Re[Xt]}for(var Pn=0,gr=0;gr<$;gr++){var kr=ce[gr*$+gr]+Z[gr*$+gr]>0?1:0;Ye[Qe%M.minIterations*$+gr]=kr,Pn+=kr}if(Pn>0&&(Qe>=M.minIterations-1||Qe==M.maxIterations-1)){for(var Lr=0,Er=0;Er<$;Er++){ct[Er]=0;for(var Ir=0;Ir1||st>1)&&($=!0),Z[Re]=[],Fe.outgoers().forEach(function(vt){vt.isEdge()&&Z[Re].push(vt.id())})}else ce[Re]=[void 0,Fe.target().id()]}):N.forEach(function(Fe){var Re=Fe.id();if(Fe.isNode()){var Ve=Fe.degree(!0);Ve%2&&(H?q?$=!0:q=Re:H=Re),Z[Re]=[],Fe.connectedEdges().forEach(function(ct){return Z[Re].push(ct.id())})}else ce[Re]=[Fe.source().id(),Fe.target().id()]});var ve={found:!1,trail:void 0};if($)return ve;if(q&&H)if(O){if(Y&&q!=Y)return ve;Y=q}else{if(Y&&q!=Y&&H!=Y)return ve;Y||(Y=q)}else Y||(Y=N[0].id());var me=function(Re){for(var Ve=Re,ct=[Re],st,Ye,vt;Z[Ve].length;)st=Z[Ve].shift(),Ye=ce[st][0],vt=ce[st][1],Ve!=vt?(Z[vt]=Z[vt].filter(function(Qe){return Qe!=st}),Ve=vt):!O&&Ve!=Ye&&(Z[Ye]=Z[Ye].filter(function(Qe){return Qe!=st}),Ve=Ye),ct.unshift(st),ct.unshift(Ve);return ct},Le=[],_e=[];for(_e=me(Y);_e.length!=1;)Z[_e[0]].length==0?(Le.unshift(N.getElementById(_e.shift())),Le.unshift(N.getElementById(_e.shift()))):_e=me(_e.shift()).concat(_e);Le.unshift(N.getElementById(_e.shift()));for(var Te in Z)if(Z[Te].length)return ve;return ve.found=!0,ve.trail=this.spawn(Le,!0),ve}},xS=function(){var m=this,k={},S=0,M=0,O=[],N=[],$={},H=function(ce,ve){for(var me=N.length-1,Le=[],_e=m.spawn();N[me].x!=ce||N[me].y!=ve;)Le.push(N.pop().edge),me--;Le.push(N.pop().edge),Le.forEach(function(Te){var Fe=Te.connectedNodes().intersection(m);_e.merge(Te),Fe.forEach(function(Re){var Ve=Re.id(),ct=Re.connectedEdges().intersection(m);_e.merge(Re),k[Ve].cutVertex?_e.merge(ct.filter(function(st){return st.isLoop()})):_e.merge(ct)})}),O.push(_e)},q=function Z(ce,ve,me){ce===me&&(M+=1),k[ve]={id:S,low:S++,cutVertex:!1};var Le=m.getElementById(ve).connectedEdges().intersection(m);if(Le.size()===0)O.push(m.spawn(m.getElementById(ve)));else{var _e,Te,Fe,Re;Le.forEach(function(Ve){_e=Ve.source().id(),Te=Ve.target().id(),Fe=_e===ve?Te:_e,Fe!==me&&(Re=Ve.id(),$[Re]||($[Re]=!0,N.push({x:ve,y:Fe,edge:Ve})),Fe in k?k[ve].low=Math.min(k[ve].low,k[Fe].id):(Z(ce,Fe,ve),k[ve].low=Math.min(k[ve].low,k[Fe].low),k[ve].id<=k[Fe].low&&(k[ve].cutVertex=!0,H(ve,Fe))))})}};m.forEach(function(Z){if(Z.isNode()){var ce=Z.id();ce in k||(M=0,q(ce,ce),k[ce].cutVertex=M>1)}});var Y=Object.keys(k).filter(function(Z){return k[Z].cutVertex}).map(function(Z){return m.getElementById(Z)});return{cut:m.spawn(Y),components:O}},Mee={hopcroftTarjanBiconnected:xS,htbc:xS,htb:xS,hopcroftTarjanBiconnectedComponents:xS},kS=function(){var m=this,k={},S=0,M=[],O=[],N=m.spawn(m),$=function H(q){O.push(q),k[q]={index:S,low:S++,explored:!1};var Y=m.getElementById(q).connectedEdges().intersection(m);if(Y.forEach(function(Le){var _e=Le.target().id();_e!==q&&(_e in k||H(_e),k[_e].explored||(k[q].low=Math.min(k[q].low,k[_e].low)))}),k[q].index===k[q].low){for(var Z=m.spawn();;){var ce=O.pop();if(Z.merge(m.getElementById(ce)),k[ce].low=k[q].index,k[ce].explored=!0,ce===q)break}var ve=Z.edgesWith(Z),me=Z.merge(ve);M.push(me),N=N.difference(me)}};return m.forEach(function(H){if(H.isNode()){var q=H.id();q in k||$(q)}}),{cut:N,components:M}},Dee={tarjanStronglyConnected:kS,tsc:kS,tscc:kS,tarjanStronglyConnectedComponents:kS},Uj={};[V9,cZ,uZ,hZ,dZ,pZ,vZ,HZ,n8,r8,vI,tee,gee,yee,_ee,Lee,Mee,Dee].forEach(function(x){xt(Uj,x)});/*! -Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable -Copyright (c) 2013-2014 Ralf S. Engelschall (http://engelschall.com) -Licensed under The MIT License (http://opensource.org/licenses/MIT) -*/var Vj=0,Gj=1,Kj=2,Zv=function x(m){if(!(this instanceof x))return new x(m);this.id="Thenable/1.0.7",this.state=Vj,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},typeof m=="function"&&m.call(this,this.fulfill.bind(this),this.reject.bind(this))};Zv.prototype={fulfill:function(m){return Wj(this,Gj,"fulfillValue",m)},reject:function(m){return Wj(this,Kj,"rejectReason",m)},then:function(m,k){var S=this,M=new Zv;return S.onFulfilled.push(Qj(m,M,"fulfill")),S.onRejected.push(Qj(k,M,"reject")),Yj(S),M.proxy}};var Wj=function(m,k,S,M){return m.state===Vj&&(m.state=k,m[S]=M,Yj(m)),m},Yj=function(m){m.state===Gj?Xj(m,"onFulfilled",m.fulfillValue):m.state===Kj&&Xj(m,"onRejected",m.rejectReason)},Xj=function(m,k,S){if(m[k].length!==0){var M=m[k];m[k]=[];var O=function(){for(var $=0;$0}},clearQueue:function(){return function(){var k=this,S=k.length!==void 0,M=S?k:[k],O=this._private.cy||this;if(!O.styleEnabled())return this;for(var N=0;N-1}var Ite=Dte;function Ote(x,m){var k=this.__data__,S=CS(k,x);return S<0?(++this.size,k.push([x,m])):k[S][1]=m,this}var Nte=Ote;function o8(x){var m=-1,k=x==null?0:x.length;for(this.clear();++m-1&&x%1==0&&x0&&this.spawn(M).updateStyle().emit("class"),k},addClass:function(m){return this.toggleClass(m,!0)},hasClass:function(m){var k=this[0];return k!=null&&k._private.classes.has(m)},toggleClass:function(m,k){ne(m)||(m=m.match(/\S+/g)||[]);for(var S=this,M=k===void 0,O=[],N=0,$=S.length;N<$;N++)for(var H=S[N],q=H._private.classes,Y=!1,Z=0;Z0&&this.spawn(O).updateStyle().emit("class"),S},removeClass:function(m){return this.toggleClass(m,!1)},flashClass:function(m,k){var S=this;if(k==null)k=250;else if(k===0)return S;return S.addClass(m),setTimeout(function(){S.removeClass(m)},k),S}};_S.className=_S.classNames=_S.classes;var $c={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:`"(?:\\\\"|[^"])*"|'(?:\\\\'|[^'])*'`,number:un,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};$c.variable="(?:[\\w-.]|(?:\\\\"+$c.metaChar+"))+",$c.className="(?:[\\w-]|(?:\\\\"+$c.metaChar+"))+",$c.value=$c.string+"|"+$c.number,$c.id=$c.variable,function(){var x,m,k;for(x=$c.comparatorOp.split("|"),k=0;k=0)&&m!=="="&&($c.comparatorOp+="|\\!"+m)}();var Nu=function(){return{checks:[]}},hs={GROUP:0,COLLECTION:1,FILTER:2,DATA_COMPARE:3,DATA_EXIST:4,DATA_BOOL:5,META_COMPARE:6,STATE:7,ID:8,CLASS:9,UNDIRECTED_EDGE:10,DIRECTED_EDGE:11,NODE_SOURCE:12,NODE_TARGET:13,NODE_NEIGHBOR:14,CHILD:15,DESCENDANT:16,PARENT:17,ANCESTOR:18,COMPOUND_SPLIT:19,TRUE:20},CI=[{selector:":selected",matches:function(m){return m.selected()}},{selector:":unselected",matches:function(m){return!m.selected()}},{selector:":selectable",matches:function(m){return m.selectable()}},{selector:":unselectable",matches:function(m){return!m.selectable()}},{selector:":locked",matches:function(m){return m.locked()}},{selector:":unlocked",matches:function(m){return!m.locked()}},{selector:":visible",matches:function(m){return m.visible()}},{selector:":hidden",matches:function(m){return!m.visible()}},{selector:":transparent",matches:function(m){return m.transparent()}},{selector:":grabbed",matches:function(m){return m.grabbed()}},{selector:":free",matches:function(m){return!m.grabbed()}},{selector:":removed",matches:function(m){return m.removed()}},{selector:":inside",matches:function(m){return!m.removed()}},{selector:":grabbable",matches:function(m){return m.grabbable()}},{selector:":ungrabbable",matches:function(m){return!m.grabbable()}},{selector:":animated",matches:function(m){return m.animated()}},{selector:":unanimated",matches:function(m){return!m.animated()}},{selector:":parent",matches:function(m){return m.isParent()}},{selector:":childless",matches:function(m){return m.isChildless()}},{selector:":child",matches:function(m){return m.isChild()}},{selector:":orphan",matches:function(m){return m.isOrphan()}},{selector:":nonorphan",matches:function(m){return m.isChild()}},{selector:":compound",matches:function(m){return m.isNode()?m.isParent():m.source().isParent()||m.target().isParent()}},{selector:":loop",matches:function(m){return m.isLoop()}},{selector:":simple",matches:function(m){return m.isSimple()}},{selector:":active",matches:function(m){return m.active()}},{selector:":inactive",matches:function(m){return!m.active()}},{selector:":backgrounding",matches:function(m){return m.backgrounding()}},{selector:":nonbackgrounding",matches:function(m){return!m.backgrounding()}}].sort(function(x,m){return qr(x.selector,m.selector)}),Fne=function(){for(var x={},m,k=0;k0&&Y.edgeCount>0)return lu("The selector `"+m+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(Y.edgeCount>1)return lu("The selector `"+m+"` is invalid because it uses multiple edge selectors"),!1;Y.edgeCount===1&&lu("The selector `"+m+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},qne=function(){if(this.toStringCache!=null)return this.toStringCache;for(var m=function(Y){return Y??""},k=function(Y){return ge(Y)?'"'+Y+'"':m(Y)},S=function(Y){return" "+Y+" "},M=function(Y,Z){var ce=Y.type,ve=Y.value;switch(ce){case hs.GROUP:{var me=m(ve);return me.substring(0,me.length-1)}case hs.DATA_COMPARE:{var Le=Y.field,_e=Y.operator;return"["+Le+S(m(_e))+k(ve)+"]"}case hs.DATA_BOOL:{var Te=Y.operator,Fe=Y.field;return"["+m(Te)+Fe+"]"}case hs.DATA_EXIST:{var Re=Y.field;return"["+Re+"]"}case hs.META_COMPARE:{var Ve=Y.operator,ct=Y.field;return"[["+ct+S(m(Ve))+k(ve)+"]]"}case hs.STATE:return ve;case hs.ID:return"#"+ve;case hs.CLASS:return"."+ve;case hs.PARENT:case hs.CHILD:return O(Y.parent,Z)+S(">")+O(Y.child,Z);case hs.ANCESTOR:case hs.DESCENDANT:return O(Y.ancestor,Z)+" "+O(Y.descendant,Z);case hs.COMPOUND_SPLIT:{var st=O(Y.left,Z),Ye=O(Y.subject,Z),vt=O(Y.right,Z);return st+(st.length>0?" ":"")+Ye+vt}case hs.TRUE:return""}},O=function(Y,Z){return Y.checks.reduce(function(ce,ve,me){return ce+(Z===Y&&me===0?"$":"")+M(ve,Z)},"")},N="",$=0;$1&&$=0&&(k=k.replace("!",""),Z=!0),k.indexOf("@")>=0&&(k=k.replace("@",""),Y=!0),(O||$||Y)&&(H=!O&&!N?"":""+m,q=""+S),Y&&(m=H=H.toLowerCase(),S=q=q.toLowerCase()),k){case"*=":M=H.indexOf(q)>=0;break;case"$=":M=H.indexOf(q,H.length-q.length)>=0;break;case"^=":M=H.indexOf(q)===0;break;case"=":M=m===S;break;case">":ce=!0,M=m>S;break;case">=":ce=!0,M=m>=S;break;case"<":ce=!0,M=m0;){var Y=M.shift();m(Y),O.add(Y.id()),$&&S(M,O,Y)}return x}function v$(x,m,k){if(k.isParent())for(var S=k._private.children,M=0;M1&&arguments[1]!==void 0?arguments[1]:!0;return AI(this,x,m,v$)};function w$(x,m,k){if(k.isChild()){var S=k._private.parent;m.has(S.id())||x.push(S)}}l8.forEachUp=function(x){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return AI(this,x,m,w$)};function Yne(x,m,k){w$(x,m,k),v$(x,m,k)}l8.forEachUpAndDown=function(x){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return AI(this,x,m,Yne)},l8.ancestors=l8.parents;var x1,y$;x1=y$={data:hu.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:hu.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:hu.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:hu.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:hu.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:hu.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var m=this[0];if(m)return m._private.data.id}},x1.attr=x1.data,x1.removeAttr=x1.removeData;var sy=y$,ek={};function LI(x){return function(m){var k=this;if(m===void 0&&(m=!0),k.length!==0)if(k.isNode()&&!k.removed()){for(var S=0,M=k[0],O=M._private.edges,N=0;Nm}),minIndegree:h8("indegree",function(x,m){return xm}),minOutdegree:h8("outdegree",function(x,m){return xm})}),xt(ek,{totalDegree:function(m){for(var k=0,S=this.nodes(),M=0;M0,ce=Z;Z&&(Y=Y[0]);var ve=ce?Y.position():{x:0,y:0};k!==void 0?q.position(m,k+ve[m]):O!==void 0&&q.position({x:O.x+ve.x,y:O.y+ve.y})}else{var me=S.position(),Le=$?S.parent():null,_e=Le&&Le.length>0,Te=_e;_e&&(Le=Le[0]);var Fe=Te?Le.position():{x:0,y:0};return O={x:me.x-Fe.x,y:me.y-Fe.y},m===void 0?O:O[m]}else if(!N)return;return this}},rb.modelPosition=rb.point=rb.position,rb.modelPositions=rb.points=rb.positions,rb.renderedPoint=rb.renderedPosition,rb.relativePoint=rb.relativePosition;var Xne=x$,f8,ay;f8=ay={},ay.renderedBoundingBox=function(x){var m=this.boundingBox(x),k=this.cy(),S=k.zoom(),M=k.pan(),O=m.x1*S+M.x,N=m.x2*S+M.x,$=m.y1*S+M.y,H=m.y2*S+M.y;return{x1:O,x2:N,y1:$,y2:H,w:N-O,h:H-$}},ay.dirtyCompoundBoundsCache=function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,m=this.cy();return!m.styleEnabled()||!m.hasCompoundNodes()?this:(this.forEachUp(function(k){if(k.isParent()){var S=k._private;S.compoundBoundsClean=!1,S.bbCache=null,x||k.emitAndNotify("bounds")}}),this)},ay.updateCompoundBounds=function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,m=this.cy();if(!m.styleEnabled()||!m.hasCompoundNodes())return this;if(!x&&m.batching())return this;function k(N){if(!N.isParent())return;var $=N._private,H=N.children(),q=N.pstyle("compound-sizing-wrt-labels").value==="include",Y={width:{val:N.pstyle("min-width").pfValue,left:N.pstyle("min-width-bias-left"),right:N.pstyle("min-width-bias-right")},height:{val:N.pstyle("min-height").pfValue,top:N.pstyle("min-height-bias-top"),bottom:N.pstyle("min-height-bias-bottom")}},Z=H.boundingBox({includeLabels:q,includeOverlays:!1,useCache:!1}),ce=$.position;(Z.w===0||Z.h===0)&&(Z={w:N.pstyle("width").pfValue,h:N.pstyle("height").pfValue},Z.x1=ce.x-Z.w/2,Z.x2=ce.x+Z.w/2,Z.y1=ce.y-Z.h/2,Z.y2=ce.y+Z.h/2);function ve(Qe,Lt,Mt){var ut=0,Yt=0,St=Lt+Mt;return Qe>0&&St>0&&(ut=Lt/St*Qe,Yt=Mt/St*Qe),{biasDiff:ut,biasComplementDiff:Yt}}function me(Qe,Lt,Mt,ut){if(Mt.units==="%")switch(ut){case"width":return Qe>0?Mt.pfValue*Qe:0;case"height":return Lt>0?Mt.pfValue*Lt:0;case"average":return Qe>0&&Lt>0?Mt.pfValue*(Qe+Lt)/2:0;case"min":return Qe>0&&Lt>0?Qe>Lt?Mt.pfValue*Lt:Mt.pfValue*Qe:0;case"max":return Qe>0&&Lt>0?Qe>Lt?Mt.pfValue*Qe:Mt.pfValue*Lt:0;default:return 0}else return Mt.units==="px"?Mt.pfValue:0}var Le=Y.width.left.value;Y.width.left.units==="px"&&Y.width.val>0&&(Le=Le*100/Y.width.val);var _e=Y.width.right.value;Y.width.right.units==="px"&&Y.width.val>0&&(_e=_e*100/Y.width.val);var Te=Y.height.top.value;Y.height.top.units==="px"&&Y.height.val>0&&(Te=Te*100/Y.height.val);var Fe=Y.height.bottom.value;Y.height.bottom.units==="px"&&Y.height.val>0&&(Fe=Fe*100/Y.height.val);var Re=ve(Y.width.val-Z.w,Le,_e),Ve=Re.biasDiff,ct=Re.biasComplementDiff,st=ve(Y.height.val-Z.h,Te,Fe),Ye=st.biasDiff,vt=st.biasComplementDiff;$.autoPadding=me(Z.w,Z.h,N.pstyle("padding"),N.pstyle("padding-relative-to").value),$.autoWidth=Math.max(Z.w,Y.width.val),ce.x=(-Ve+Z.x1+Z.x2+ct)/2,$.autoHeight=Math.max(Z.h,Y.height.val),ce.y=(-Ye+Z.y1+Z.y2+vt)/2}for(var S=0;Sm.x2?M:m.x2,m.y1=Sm.y2?O:m.y2,m.w=m.x2-m.x1,m.h=m.y2-m.y1)},v5=function(m,k){return k==null?m:ib(m,k.x1,k.y1,k.x2,k.y2)},tk=function(m,k,S){return nb(m,k,S)},AS=function(m,k,S){if(!k.cy().headless()){var M=k._private,O=M.rstyle,N=O.arrowWidth/2,$=k.pstyle(S+"-arrow-shape").value,H,q;if($!=="none"){S==="source"?(H=O.srcX,q=O.srcY):S==="target"?(H=O.tgtX,q=O.tgtY):(H=O.midX,q=O.midY);var Y=M.arrowBounds=M.arrowBounds||{},Z=Y[S]=Y[S]||{};Z.x1=H-N,Z.y1=q-N,Z.x2=H+N,Z.y2=q+N,Z.w=Z.x2-Z.x1,Z.h=Z.y2-Z.y1,dS(Z,1),ib(m,Z.x1,Z.y1,Z.x2,Z.y2)}}},MI=function(m,k,S){if(!k.cy().headless()){var M;S?M=S+"-":M="";var O=k._private,N=O.rstyle,$=k.pstyle(M+"label").strValue;if($){var H=k.pstyle("text-halign"),q=k.pstyle("text-valign"),Y=tk(N,"labelWidth",S),Z=tk(N,"labelHeight",S),ce=tk(N,"labelX",S),ve=tk(N,"labelY",S),me=k.pstyle(M+"text-margin-x").pfValue,Le=k.pstyle(M+"text-margin-y").pfValue,_e=k.isEdge(),Te=k.pstyle(M+"text-rotation"),Fe=k.pstyle("text-outline-width").pfValue,Re=k.pstyle("text-border-width").pfValue,Ve=Re/2,ct=k.pstyle("text-background-padding").pfValue,st=2,Ye=Z,vt=Y,Qe=vt/2,Lt=Ye/2,Mt,ut,Yt,St;if(_e)Mt=ce-Qe,ut=ce+Qe,Yt=ve-Lt,St=ve+Lt;else{switch(H.value){case"left":Mt=ce-vt,ut=ce;break;case"center":Mt=ce-Qe,ut=ce+Qe;break;case"right":Mt=ce,ut=ce+vt;break}switch(q.value){case"top":Yt=ve-Ye,St=ve;break;case"center":Yt=ve-Lt,St=ve+Lt;break;case"bottom":Yt=ve,St=ve+Ye;break}}Mt+=me-Math.max(Fe,Ve)-ct-st,ut+=me+Math.max(Fe,Ve)+ct+st,Yt+=Le-Math.max(Fe,Ve)-ct-st,St+=Le+Math.max(Fe,Ve)+ct+st;var _n=S||"main",fn=O.labelBounds,Xt=fn[_n]=fn[_n]||{};Xt.x1=Mt,Xt.y1=Yt,Xt.x2=ut,Xt.y2=St,Xt.w=ut-Mt,Xt.h=St-Yt;var Dn=_e&&Te.strValue==="autorotate",rr=Te.pfValue!=null&&Te.pfValue!==0;if(Dn||rr){var mr=Dn?tk(O.rstyle,"labelAngle",S):Te.pfValue,Pn=Math.cos(mr),gr=Math.sin(mr),kr=(Mt+ut)/2,Lr=(Yt+St)/2;if(!_e){switch(H.value){case"left":kr=ut;break;case"right":kr=Mt;break}switch(q.value){case"top":Lr=St;break;case"bottom":Lr=Yt;break}}var Er=function(va,Di){return va=va-kr,Di=Di-Lr,{x:va*Pn-Di*gr+kr,y:va*gr+Di*Pn+Lr}},Ir=Er(Mt,Yt),Kn=Er(Mt,St),pr=Er(ut,Yt),Cr=Er(ut,St);Mt=Math.min(Ir.x,Kn.x,pr.x,Cr.x),ut=Math.max(Ir.x,Kn.x,pr.x,Cr.x),Yt=Math.min(Ir.y,Kn.y,pr.y,Cr.y),St=Math.max(Ir.y,Kn.y,pr.y,Cr.y)}var Or=_n+"Rot",_i=fn[Or]=fn[Or]||{};_i.x1=Mt,_i.y1=Yt,_i.x2=ut,_i.y2=St,_i.w=ut-Mt,_i.h=St-Yt,ib(m,Mt,Yt,ut,St),ib(O.labelBounds.all,Mt,Yt,ut,St)}return m}},Qne=function(m,k){if(!k.cy().headless()){var S=k.pstyle("outline-opacity").value,M=k.pstyle("outline-width").value;if(S>0&&M>0){var O=k.pstyle("outline-offset").value,N=k.pstyle("shape").value,$=M+O,H=(m.w+$*2)/m.w,q=(m.h+$*2)/m.h,Y=0,Z=0;["diamond","pentagon","round-triangle"].includes(N)?(H=(m.w+$*2.4)/m.w,Z=-$/3.6):["concave-hexagon","rhomboid","right-rhomboid"].includes(N)?H=(m.w+$*2.4)/m.w:N==="star"?(H=(m.w+$*2.8)/m.w,q=(m.h+$*2.6)/m.h,Z=-$/3.8):N==="triangle"?(H=(m.w+$*2.8)/m.w,q=(m.h+$*2.4)/m.h,Z=-$/1.4):N==="vee"&&(H=(m.w+$*4.4)/m.w,q=(m.h+$*3.8)/m.h,Z=-$*.5);var ce=m.h*q-m.h,ve=m.w*H-m.w;if(gS(m,[Math.ceil(ce/2),Math.ceil(ve/2)]),Y!=0||Z!==0){var me=LZ(m,Y,Z);xj(m,me)}}}},Jne=function(m,k){var S=m._private.cy,M=S.styleEnabled(),O=S.headless(),N=Qd(),$=m._private,H=m.isNode(),q=m.isEdge(),Y,Z,ce,ve,me,Le,_e=$.rstyle,Te=H&&M?m.pstyle("bounds-expansion").pfValue:[0],Fe=function(fs){return fs.pstyle("display").value!=="none"},Re=!M||Fe(m)&&(!q||Fe(m.source())&&Fe(m.target()));if(Re){var Ve=0,ct=0;M&&k.includeOverlays&&(Ve=m.pstyle("overlay-opacity").value,Ve!==0&&(ct=m.pstyle("overlay-padding").value));var st=0,Ye=0;M&&k.includeUnderlays&&(st=m.pstyle("underlay-opacity").value,st!==0&&(Ye=m.pstyle("underlay-padding").value));var vt=Math.max(ct,Ye),Qe=0,Lt=0;if(M&&(Qe=m.pstyle("width").pfValue,Lt=Qe/2),H&&k.includeNodes){var Mt=m.position();me=Mt.x,Le=Mt.y;var ut=m.outerWidth(),Yt=ut/2,St=m.outerHeight(),_n=St/2;Y=me-Yt,Z=me+Yt,ce=Le-_n,ve=Le+_n,ib(N,Y,ce,Z,ve),M&&k.includeOutlines&&Qne(N,m)}else if(q&&k.includeEdges)if(M&&!O){var fn=m.pstyle("curve-style").strValue;if(Y=Math.min(_e.srcX,_e.midX,_e.tgtX),Z=Math.max(_e.srcX,_e.midX,_e.tgtX),ce=Math.min(_e.srcY,_e.midY,_e.tgtY),ve=Math.max(_e.srcY,_e.midY,_e.tgtY),Y-=Lt,Z+=Lt,ce-=Lt,ve+=Lt,ib(N,Y,ce,Z,ve),fn==="haystack"){var Xt=_e.haystackPts;if(Xt&&Xt.length===2){if(Y=Xt[0].x,ce=Xt[0].y,Z=Xt[1].x,ve=Xt[1].y,Y>Z){var Dn=Y;Y=Z,Z=Dn}if(ce>ve){var rr=ce;ce=ve,ve=rr}ib(N,Y-Lt,ce-Lt,Z+Lt,ve+Lt)}}else if(fn==="bezier"||fn==="unbundled-bezier"||fn==="segments"||fn==="taxi"){var mr;switch(fn){case"bezier":case"unbundled-bezier":mr=_e.bezierPts;break;case"segments":case"taxi":mr=_e.linePts;break}if(mr!=null)for(var Pn=0;PnZ){var Kn=Y;Y=Z,Z=Kn}if(ce>ve){var pr=ce;ce=ve,ve=pr}Y-=Lt,Z+=Lt,ce-=Lt,ve+=Lt,ib(N,Y,ce,Z,ve)}if(M&&k.includeEdges&&q&&(AS(N,m,"mid-source"),AS(N,m,"mid-target"),AS(N,m,"source"),AS(N,m,"target")),M){var Cr=m.pstyle("ghost").value==="yes";if(Cr){var Or=m.pstyle("ghost-offset-x").pfValue,_i=m.pstyle("ghost-offset-y").pfValue;ib(N,N.x1+Or,N.y1+_i,N.x2+Or,N.y2+_i)}}var xs=$.bodyBounds=$.bodyBounds||{};kj(xs,N),gS(xs,Te),dS(xs,1),M&&(Y=N.x1,Z=N.x2,ce=N.y1,ve=N.y2,ib(N,Y-vt,ce-vt,Z+vt,ve+vt));var va=$.overlayBounds=$.overlayBounds||{};kj(va,N),gS(va,Te),dS(va,1);var Di=$.labelBounds=$.labelBounds||{};Di.all!=null?AZ(Di.all):Di.all=Qd(),M&&k.includeLabels&&(k.includeMainLabels&&MI(N,m,null),q&&(k.includeSourceLabels&&MI(N,m,"source"),k.includeTargetLabels&&MI(N,m,"target")))}return N.x1=Wp(N.x1),N.y1=Wp(N.y1),N.x2=Wp(N.x2),N.y2=Wp(N.y2),N.w=Wp(N.x2-N.x1),N.h=Wp(N.y2-N.y1),N.w>0&&N.h>0&&Re&&(gS(N,Te),dS(N,1)),N},E$=function(m){var k=0,S=function(N){return(N?1:0)<0&&arguments[0]!==void 0?arguments[0]:lre,m=arguments.length>1?arguments[1]:void 0,k=0;k=0;$--)N($);return this},sb.removeAllListeners=function(){return this.removeListener("*")},sb.emit=sb.trigger=function(x,m,k){var S=this.listeners,M=S.length;return this.emitting++,ne(m)||(m=[m]),DS(this,function(O,N){k!=null&&(S=[{event:N.event,type:N.type,namespace:N.namespace,callback:k}],M=S.length);for(var $=function(Y){var Z=S[Y];if(Z.type===N.type&&(!Z.namespace||Z.namespace===N.namespace||Z.namespace===ure)&&O.eventMatches(O.context,Z,N)){var ce=[N];m!=null&&mj(ce,m),O.beforeEmit(O.context,Z,N),Z.conf&&Z.conf.one&&(O.listeners=O.listeners.filter(function(Le){return Le!==Z}));var ve=O.callbackContext(O.context,Z,N),me=Z.callback.apply(ve,ce);O.afterEmit(O.context,Z,N),me===!1&&(N.stopPropagation(),N.preventDefault())}},H=0;H1&&!N){var $=this.length-1,H=this[$],q=H._private.data.id;this[$]=void 0,this[m]=H,O.set(q,{ele:H,index:m})}return this.length--,this},unmergeOne:function(m){m=m[0];var k=this._private,S=m._private.data.id,M=k.map,O=M.get(S);if(!O)return this;var N=O.index;return this.unmergeAt(N),this},unmerge:function(m){var k=this._private.cy;if(!m)return this;if(m&&ge(m)){var S=m;m=k.mutableElements().filter(S)}for(var M=0;M=0;k--){var S=this[k];m(S)&&this.unmergeAt(k)}return this},map:function(m,k){for(var S=[],M=this,O=0;OS&&(S=H,M=$)}return{value:S,ele:M}},min:function(m,k){for(var S=1/0,M,O=this,N=0;N=0&&O"u"?"undefined":u(Symbol))!=m&&u(Symbol.iterator)!=m;k&&(IS[Symbol.iterator]=function(){var S=this,M={value:void 0,done:!1},O=0,N=this.length;return b({next:function(){return O1&&arguments[1]!==void 0?arguments[1]:!0,S=this[0],M=S.cy();if(M.styleEnabled()&&S){this.cleanStyle();var O=S._private.style[m];return O??(k?M.style().getDefaultProperty(m):null)}},numericStyle:function(m){var k=this[0];if(k.cy().styleEnabled()&&k){var S=k.pstyle(m);return S.pfValue!==void 0?S.pfValue:S.value}},numericStyleUnits:function(m){var k=this[0];if(k.cy().styleEnabled()&&k)return k.pstyle(m).units},renderedStyle:function(m){var k=this.cy();if(!k.styleEnabled())return this;var S=this[0];if(S)return k.style().getRenderedStyle(S,m)},style:function(m,k){var S=this.cy();if(!S.styleEnabled())return this;var M=!1,O=S.style();if(se(m)){var N=m;O.applyBypass(this,N,M),this.emitAndNotify("style")}else if(ge(m))if(k===void 0){var $=this[0];return $?O.getStylePropertyValue($,m):void 0}else O.applyBypass(this,m,k,M),this.emitAndNotify("style");else if(m===void 0){var H=this[0];return H?O.getRawStyle(H):void 0}return this},removeStyle:function(m){var k=this.cy();if(!k.styleEnabled())return this;var S=!1,M=k.style(),O=this;if(m===void 0)for(var N=0;N0&&m.push(Y[0]),m.push($[0])}return this.spawn(m,!0).filter(x)},"neighborhood"),closedNeighborhood:function(m){return this.neighborhood().add(this).filter(m)},openNeighborhood:function(m){return this.neighborhood(m)}}),k1.neighbourhood=k1.neighborhood,k1.closedNeighbourhood=k1.closedNeighborhood,k1.openNeighbourhood=k1.openNeighborhood,xt(k1,{source:Kp(function(m){var k=this[0],S;return k&&(S=k._private.source||k.cy().collection()),S&&m?S.filter(m):S},"source"),target:Kp(function(m){var k=this[0],S;return k&&(S=k._private.target||k.cy().collection()),S&&m?S.filter(m):S},"target"),sources:j$({attr:"source"}),targets:j$({attr:"target"})});function j$(x){return function(k){for(var S=[],M=0;M0);return N},component:function(){var m=this[0];return m.cy().mutableElements().components(m)[0]}}),k1.componentsOf=k1.components;var H0=function(m,k){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,M=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(m===void 0){sh("A collection must have a reference to the core");return}var O=new _m,N=!1;if(!k)k=[];else if(k.length>0&&se(k[0])&&!U(k[0])){N=!0;for(var $=[],H=new J7,q=0,Y=k.length;q0&&arguments[0]!==void 0?arguments[0]:!0,m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,k=this,S=k.cy(),M=S._private,O=[],N=[],$,H=0,q=k.length;H0){for(var rr=$.length===k.length?k:new H0(S,$),mr=0;mr0&&arguments[0]!==void 0?arguments[0]:!0,m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,k=this,S=[],M={},O=k._private.cy;function N(St){for(var _n=St._private.edges,fn=0;fn<_n.length;fn++)H(_n[fn])}function $(St){for(var _n=St._private.children,fn=0;fn<_n.length;fn++)H(_n[fn])}function H(St){var _n=M[St.id()];m&&St.removed()||_n||(M[St.id()]=!0,St.isNode()?(S.push(St),N(St),$(St)):S.unshift(St))}for(var q=0,Y=k.length;q0&&(x?Mt.emitAndNotify("remove"):m&&Mt.emit("remove"));for(var ut=0;ut0?ut=St:Mt=St;while(Math.abs(Yt)>N&&++_n<$);return St}function ct(Lt){for(var Mt=0,ut=1,Yt=H-1;ut!==Yt&&ce[ut]<=Lt;++ut)Mt+=q;--ut;var St=(Lt-ce[ut])/(ce[ut+1]-ce[ut]),_n=Mt+St*q,fn=Te(_n,x,k);return fn>=O?Fe(Lt,_n):fn===0?_n:Ve(Lt,Mt,Mt+q)}var st=!1;function Ye(){st=!0,(x!==m||k!==S)&&Re()}var vt=function(Mt){return st||Ye(),x===m&&k===S?Mt:Mt===0?0:Mt===1?1:_e(ct(Mt),m,S)};vt.getControlPoints=function(){return[{x,y:m},{x:k,y:S}]};var Qe="generateBezier("+[x,m,k,S]+")";return vt.toString=function(){return Qe},vt}/*! Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */var xre=function(){function x(S){return-S.tension*S.x-S.friction*S.v}function m(S,M,O){var N={x:S.x+O.dx*M,v:S.v+O.dv*M,tension:S.tension,friction:S.friction};return{dx:N.v,dv:x(N)}}function k(S,M){var O={dx:S.v,dv:x(S)},N=m(S,M*.5,O),$=m(S,M*.5,N),H=m(S,M,$),q=1/6*(O.dx+2*(N.dx+$.dx)+H.dx),Y=1/6*(O.dv+2*(N.dv+$.dv)+H.dv);return S.x=S.x+q*M,S.v=S.v+Y*M,S}return function S(M,O,N){var $={x:-1,v:0,tension:null,friction:null},H=[0],q=0,Y=1/1e4,Z=16/1e3,ce,ve,me;for(M=parseFloat(M)||500,O=parseFloat(O)||20,N=N||null,$.tension=M,$.friction=O,ce=N!==null,ce?(q=S(M,O),ve=q/N*Z):ve=Z;me=k(me||$,ve),H.push(1+me.x),q+=16,Math.abs(me.x)>Y&&Math.abs(me.v)>Y;);return ce?function(Le){return H[Le*(H.length-1)|0]}:q}}(),nl=function(m,k,S,M){var O=yre(m,k,S,M);return function(N,$,H){return N+($-N)*O(H)}},FS={linear:function(m,k,S){return m+(k-m)*S},ease:nl(.25,.1,.25,1),"ease-in":nl(.42,0,1,1),"ease-out":nl(0,0,.58,1),"ease-in-out":nl(.42,0,.58,1),"ease-in-sine":nl(.47,0,.745,.715),"ease-out-sine":nl(.39,.575,.565,1),"ease-in-out-sine":nl(.445,.05,.55,.95),"ease-in-quad":nl(.55,.085,.68,.53),"ease-out-quad":nl(.25,.46,.45,.94),"ease-in-out-quad":nl(.455,.03,.515,.955),"ease-in-cubic":nl(.55,.055,.675,.19),"ease-out-cubic":nl(.215,.61,.355,1),"ease-in-out-cubic":nl(.645,.045,.355,1),"ease-in-quart":nl(.895,.03,.685,.22),"ease-out-quart":nl(.165,.84,.44,1),"ease-in-out-quart":nl(.77,0,.175,1),"ease-in-quint":nl(.755,.05,.855,.06),"ease-out-quint":nl(.23,1,.32,1),"ease-in-out-quint":nl(.86,0,.07,1),"ease-in-expo":nl(.95,.05,.795,.035),"ease-out-expo":nl(.19,1,.22,1),"ease-in-out-expo":nl(1,0,0,1),"ease-in-circ":nl(.6,.04,.98,.335),"ease-out-circ":nl(.075,.82,.165,1),"ease-in-out-circ":nl(.785,.135,.15,.86),spring:function(m,k,S){if(S===0)return FS.linear;var M=xre(m,k,S);return function(O,N,$){return O+(N-O)*M($)}},"cubic-bezier":nl};function q$(x,m,k,S,M){if(S===1||m===k)return k;var O=M(m,k,S);return x==null||((x.roundValue||x.color)&&(O=Math.round(O)),x.min!==void 0&&(O=Math.max(O,x.min)),x.max!==void 0&&(O=Math.min(O,x.max))),O}function H$(x,m){return x.pfValue!=null||x.value!=null?x.pfValue!=null&&(m==null||m.type.units!=="%")?x.pfValue:x.value:x}function p8(x,m,k,S,M){var O=M!=null?M.type:null;k<0?k=0:k>1&&(k=1);var N=H$(x,M),$=H$(m,M);if(X(N)&&X($))return q$(O,N,$,k,S);if(ne(N)&&ne($)){for(var H=[],q=0;q<$.length;q++){var Y=N[q],Z=$[q];if(Y!=null&&Z!=null){var ce=q$(O,Y,Z,k,S);H.push(ce)}else H.push(Z)}return H}}function kre(x,m,k,S){var M=!S,O=x._private,N=m._private,$=N.easing,H=N.startTime,q=S?x:x.cy(),Y=q.style();if(!N.easingImpl)if($==null)N.easingImpl=FS.linear;else{var Z;if(ge($)){var ce=Y.parse("transition-timing-function",$);Z=ce.value}else Z=$;var ve,me;ge(Z)?(ve=Z,me=[]):(ve=Z[1],me=Z.slice(2).map(function(rr){return+rr})),me.length>0?(ve==="spring"&&me.push(N.duration),N.easingImpl=FS[ve].apply(null,me)):N.easingImpl=FS[ve]}var Le=N.easingImpl,_e;if(N.duration===0?_e=1:_e=(k-H)/N.duration,N.applying&&(_e=N.progress),_e<0?_e=0:_e>1&&(_e=1),N.delay==null){var Te=N.startPosition,Fe=N.position;if(Fe&&M&&!x.locked()){var Re={};ck(Te.x,Fe.x)&&(Re.x=p8(Te.x,Fe.x,_e,Le)),ck(Te.y,Fe.y)&&(Re.y=p8(Te.y,Fe.y,_e,Le)),x.position(Re)}var Ve=N.startPan,ct=N.pan,st=O.pan,Ye=ct!=null&&S;Ye&&(ck(Ve.x,ct.x)&&(st.x=p8(Ve.x,ct.x,_e,Le)),ck(Ve.y,ct.y)&&(st.y=p8(Ve.y,ct.y,_e,Le)),x.emit("pan"));var vt=N.startZoom,Qe=N.zoom,Lt=Qe!=null&&S;Lt&&(ck(vt,Qe)&&(O.zoom=K9(O.minZoom,p8(vt,Qe,_e,Le),O.maxZoom)),x.emit("zoom")),(Ye||Lt)&&x.emit("viewport");var Mt=N.style;if(Mt&&Mt.length>0&&M){for(var ut=0;ut=0;Ye--){var vt=st[Ye];vt()}st.splice(0,st.length)},Fe=ve.length-1;Fe>=0;Fe--){var Re=ve[Fe],Ve=Re._private;if(Ve.stopped){ve.splice(Fe,1),Ve.hooked=!1,Ve.playing=!1,Ve.started=!1,Te(Ve.frames);continue}!Ve.playing&&!Ve.applying||(Ve.playing&&Ve.applying&&(Ve.applying=!1),Ve.started||Tre(Y,Re,x),kre(Y,Re,x,Z),Ve.applying&&(Ve.applying=!1),Te(Ve.frames),Ve.step!=null&&Ve.step(x),Re.completed()&&(ve.splice(Fe,1),Ve.hooked=!1,Ve.playing=!1,Ve.started=!1,Te(Ve.completes)),Le=!0)}return!Z&&ve.length===0&&me.length===0&&S.push(Y),Le}for(var O=!1,N=0;N0?m.notify("draw",k):m.notify("draw")),k.unmerge(S),m.emit("step")}var Ere={animate:hu.animate(),animation:hu.animation(),animated:hu.animated(),clearQueue:hu.clearQueue(),delay:hu.delay(),delayAnimation:hu.delayAnimation(),stop:hu.stop(),addToAnimationPool:function(m){var k=this;k.styleEnabled()&&k._private.aniEles.merge(m)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var m=this;if(m._private.animationsRunning=!0,!m.styleEnabled())return;function k(){m._private.animationsRunning&&Wh(function(O){U$(O,m),k()})}var S=m.renderer();S&&S.beforeRender?S.beforeRender(function(O,N){U$(N,m)},S.beforeRenderPriorities.animations):k()}},Cre={qualifierCompare:function(m,k){return m==null||k==null?m==null&&k==null:m.sameText(k)},eventMatches:function(m,k,S){var M=k.qualifier;return M!=null?m!==S.target&&U(S.target)&&M.matches(S.target):!0},addEventFields:function(m,k){k.cy=m,k.target=m},callbackContext:function(m,k,S){return k.qualifier!=null?S.target:m}},RS=function(m){return ge(m)?new ry(m):m},V$={createEmitter:function(){var m=this._private;return m.emitter||(m.emitter=new MS(Cre,this)),this},emitter:function(){return this._private.emitter},on:function(m,k,S){return this.emitter().on(m,RS(k),S),this},removeListener:function(m,k,S){return this.emitter().removeListener(m,RS(k),S),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(m,k,S){return this.emitter().one(m,RS(k),S),this},once:function(m,k,S){return this.emitter().one(m,RS(k),S),this},emit:function(m,k){return this.emitter().emit(m,k),this},emitAndNotify:function(m,k){return this.emit(m),this.notify(m,k),this}};hu.eventAliasesOn(V$);var RI={png:function(m){var k=this._private.renderer;return m=m||{},k.png(m)},jpg:function(m){var k=this._private.renderer;return m=m||{},m.bg=m.bg||"#fff",k.jpg(m)}};RI.jpeg=RI.jpg;var jS={layout:function(m){var k=this;if(m==null){sh("Layout options must be specified to make a layout");return}if(m.name==null){sh("A `name` must be specified to make a layout");return}var S=m.name,M=k.extension("layout",S);if(M==null){sh("No such layout `"+S+"` found. Did you forget to import it and `cytoscape.use()` it?");return}var O;ge(m.eles)?O=k.$(m.eles):O=m.eles!=null?m.eles:k.$();var N=new M(xt({},m,{cy:k,eles:O}));return N}};jS.createLayout=jS.makeLayout=jS.layout;var Sre={notify:function(m,k){var S=this._private;if(this.batching()){S.batchNotifications=S.batchNotifications||{};var M=S.batchNotifications[m]=S.batchNotifications[m]||this.collection();k!=null&&M.merge(k);return}if(S.notificationsEnabled){var O=this.renderer();this.destroyed()||!O||O.notify(m,k)}},notifications:function(m){var k=this._private;return m===void 0?k.notificationsEnabled:(k.notificationsEnabled=!!m,this)},noNotifications:function(m){this.notifications(!1),m(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var m=this._private;return m.batchCount==null&&(m.batchCount=0),m.batchCount===0&&(m.batchStyleEles=this.collection(),m.batchNotifications={}),m.batchCount++,this},endBatch:function(){var m=this._private;if(m.batchCount===0)return this;if(m.batchCount--,m.batchCount===0){m.batchStyleEles.updateStyle();var k=this.renderer();Object.keys(m.batchNotifications).forEach(function(S){var M=m.batchNotifications[S];M.empty()?k.notify(S):k.notify(S,M)})}return this},batch:function(m){return this.startBatch(),m(),this.endBatch(),this},batchData:function(m){var k=this;return this.batch(function(){for(var S=Object.keys(m),M=0;M0;)k.removeChild(k.childNodes[0]);m._private.renderer=null,m.mutableElements().forEach(function(S){var M=S._private;M.rscratch={},M.rstyle={},M.animation.current=[],M.animation.queue=[]})},onRender:function(m){return this.on("render",m)},offRender:function(m){return this.off("render",m)}};jI.invalidateDimensions=jI.resize;var $S={collection:function(m,k){return ge(m)?this.$(m):xe(m)?m.collection():ne(m)?(k||(k={}),new H0(this,m,k.unique,k.removed)):new H0(this)},nodes:function(m){var k=this.$(function(S){return S.isNode()});return m?k.filter(m):k},edges:function(m){var k=this.$(function(S){return S.isEdge()});return m?k.filter(m):k},$:function(m){var k=this._private.elements;return m?k.filter(m):k.spawnSelf()},mutableElements:function(){return this._private.elements}};$S.elements=$S.filter=$S.$;var T1={},uk="t",Are="f";T1.apply=function(x){for(var m=this,k=m._private,S=k.cy,M=S.collection(),O=0;O0;if(ce||Z&&ve){var me=void 0;ce&&ve||ce?me=q.properties:ve&&(me=q.mappedProperties);for(var Le=0;Le1&&(Ve=1),$.color){var st=S.valueMin[0],Ye=S.valueMax[0],vt=S.valueMin[1],Qe=S.valueMax[1],Lt=S.valueMin[2],Mt=S.valueMax[2],ut=S.valueMin[3]==null?1:S.valueMin[3],Yt=S.valueMax[3]==null?1:S.valueMax[3],St=[Math.round(st+(Ye-st)*Ve),Math.round(vt+(Qe-vt)*Ve),Math.round(Lt+(Mt-Lt)*Ve),Math.round(ut+(Yt-ut)*Ve)];O={bypass:S.bypass,name:S.name,value:St,strValue:"rgb("+St[0]+", "+St[1]+", "+St[2]+")"}}else if($.number){var _n=S.valueMin+(S.valueMax-S.valueMin)*Ve;O=this.parse(S.name,_n,S.bypass,ce)}else return!1;if(!O)return Le(),!1;O.mapping=S,S=O;break}case N.data:{for(var fn=S.field.split("."),Xt=Z.data,Dn=0;Dn0&&O>0){for(var $={},H=!1,q=0;q0?x.delayAnimation(N).play().promise().then(Re):Re()}).then(function(){return x.animation({style:$,duration:O,easing:x.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){k.removeBypasses(x,M),x.emitAndNotify("style"),S.transitioning=!1})}else S.transitioning&&(this.removeBypasses(x,M),x.emitAndNotify("style"),S.transitioning=!1)},T1.checkTrigger=function(x,m,k,S,M,O){var N=this.properties[m],$=M(N);$!=null&&$(k,S)&&O(N)},T1.checkZOrderTrigger=function(x,m,k,S){var M=this;this.checkTrigger(x,m,k,S,function(O){return O.triggersZOrder},function(){M._private.cy.notify("zorder",x)})},T1.checkBoundsTrigger=function(x,m,k,S){this.checkTrigger(x,m,k,S,function(M){return M.triggersBounds},function(M){x.dirtyCompoundBoundsCache(),x.dirtyBoundingBoxCache(),M.triggersBoundsOfParallelBeziers&&m==="curve-style"&&(k==="bezier"||S==="bezier")&&x.parallelEdges().forEach(function(O){O.isBundledBezier()&&O.dirtyBoundingBoxCache()}),M.triggersBoundsOfConnectedEdges&&m==="display"&&(k==="none"||S==="none")&&x.connectedEdges().forEach(function(O){O.dirtyBoundingBoxCache()})})},T1.checkTriggers=function(x,m,k,S){x.dirtyStyleCache(),this.checkZOrderTrigger(x,m,k,S),this.checkBoundsTrigger(x,m,k,S)};var lk={};lk.applyBypass=function(x,m,k,S){var M=this,O=[],N=!0;if(m==="*"||m==="**"){if(k!==void 0)for(var $=0;$M.length?S=S.substr(M.length):S=""}function H(){O.length>N.length?O=O.substr(N.length):O=""}for(;;){var q=S.match(/^\s*$/);if(q)break;var Y=S.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!Y){lu("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+S);break}M=Y[0];var Z=Y[1];if(Z!=="core"){var ce=new ry(Z);if(ce.invalid){lu("Skipping parsing of block: Invalid selector found in string stylesheet: "+Z),$();continue}}var ve=Y[2],me=!1;O=ve;for(var Le=[];;){var _e=O.match(/^\s*$/);if(_e)break;var Te=O.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!Te){lu("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+ve),me=!0;break}N=Te[0];var Fe=Te[1],Re=Te[2],Ve=m.properties[Fe];if(!Ve){lu("Skipping property: Invalid property name in: "+N),H();continue}var ct=k.parse(Fe,Re);if(!ct){lu("Skipping property: Invalid property definition in: "+N),H();continue}Le.push({name:Fe,val:Re}),H()}if(me){$();break}k.selector(Z);for(var st=0;st=7&&m[0]==="d"&&(Y=new RegExp($.data.regex).exec(m))){if(k)return!1;var ce=$.data;return{name:x,value:Y,strValue:""+m,mapped:ce,field:Y[1],bypass:k}}else if(m.length>=10&&m[0]==="m"&&(Z=new RegExp($.mapData.regex).exec(m))){if(k||q.multiple)return!1;var ve=$.mapData;if(!(q.color||q.number))return!1;var me=this.parse(x,Z[4]);if(!me||me.mapped)return!1;var Le=this.parse(x,Z[5]);if(!Le||Le.mapped)return!1;if(me.pfValue===Le.pfValue||me.strValue===Le.strValue)return lu("`"+x+": "+m+"` is not a valid mapper because the output range is zero; converting to `"+x+": "+me.strValue+"`"),this.parse(x,me.strValue);if(q.color){var _e=me.value,Te=Le.value,Fe=_e[0]===Te[0]&&_e[1]===Te[1]&&_e[2]===Te[2]&&(_e[3]===Te[3]||(_e[3]==null||_e[3]===1)&&(Te[3]==null||Te[3]===1));if(Fe)return!1}return{name:x,value:Z,strValue:""+m,mapped:ve,field:Z[1],fieldMin:parseFloat(Z[2]),fieldMax:parseFloat(Z[3]),valueMin:me.value,valueMax:Le.value,bypass:k}}}if(q.multiple&&S!=="multiple"){var Re;if(H?Re=m.split(/\s+/):ne(m)?Re=m:Re=[m],q.evenMultiple&&Re.length%2!==0)return null;for(var Ve=[],ct=[],st=[],Ye="",vt=!1,Qe=0;Qe0?" ":"")+Lt.strValue}return q.validate&&!q.validate(Ve,ct)?null:q.singleEnum&&vt?Ve.length===1&&ge(Ve[0])?{name:x,value:Ve[0],strValue:Ve[0],bypass:k}:null:{name:x,value:Ve,pfValue:st,strValue:Ye,bypass:k,units:ct}}var Mt=function(){for(var Cr=0;Crq.max||q.strictMax&&m===q.max))return null;var fn={name:x,value:m,strValue:""+m+(ut||""),units:ut,bypass:k};return q.unitless||ut!=="px"&&ut!=="em"?fn.pfValue=m:fn.pfValue=ut==="px"||!ut?m:this.getEmSizeInPixels()*m,(ut==="ms"||ut==="s")&&(fn.pfValue=ut==="ms"?m:1e3*m),(ut==="deg"||ut==="rad")&&(fn.pfValue=ut==="rad"?m:EZ(m)),ut==="%"&&(fn.pfValue=m/100),fn}else if(q.propList){var Xt=[],Dn=""+m;if(Dn!=="none"){for(var rr=Dn.split(/\s*,\s*|\s+/),mr=0;mr0&&$>0&&!isNaN(S.w)&&!isNaN(S.h)&&S.w>0&&S.h>0){H=Math.min((N-2*k)/S.w,($-2*k)/S.h),H=H>this._private.maxZoom?this._private.maxZoom:H,H=H=S.minZoom&&(S.maxZoom=k),this},minZoom:function(m){return m===void 0?this._private.minZoom:this.zoomRange({min:m})},maxZoom:function(m){return m===void 0?this._private.maxZoom:this.zoomRange({max:m})},getZoomedViewport:function(m){var k=this._private,S=k.pan,M=k.zoom,O,N,$=!1;if(k.zoomingEnabled||($=!0),X(m)?N=m:se(m)&&(N=m.level,m.position!=null?O=hS(m.position,M,S):m.renderedPosition!=null&&(O=m.renderedPosition),O!=null&&!k.panningEnabled&&($=!0)),N=N>k.maxZoom?k.maxZoom:N,N=Nk.maxZoom||!k.zoomingEnabled?N=!0:(k.zoom=H,O.push("zoom"))}if(M&&(!N||!m.cancelOnFailedZoom)&&k.panningEnabled){var q=m.pan;X(q.x)&&(k.pan.x=q.x,$=!1),X(q.y)&&(k.pan.y=q.y,$=!1),$||O.push("pan")}return O.length>0&&(O.push("viewport"),this.emit(O.join(" ")),this.notify("viewport")),this},center:function(m){var k=this.getCenterPan(m);return k&&(this._private.pan=k,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(m,k){if(this._private.panningEnabled){if(ge(m)){var S=m;m=this.mutableElements().filter(S)}else xe(m)||(m=this.mutableElements());if(m.length!==0){var M=m.boundingBox(),O=this.width(),N=this.height();k=k===void 0?this._private.zoom:k;var $={x:(O-k*(M.x1+M.x2))/2,y:(N-k*(M.y1+M.y2))/2};return $}}},reset:function(){return!this._private.panningEnabled||!this._private.zoomingEnabled?this:(this.viewport({pan:{x:0,y:0},zoom:1}),this)},invalidateSize:function(){this._private.sizeCache=null},size:function(){var m=this._private,k=m.container,S=this;return m.sizeCache=m.sizeCache||(k?function(){var M=S.window().getComputedStyle(k),O=function($){return parseFloat(M.getPropertyValue($))};return{width:k.clientWidth-O("padding-left")-O("padding-right"),height:k.clientHeight-O("padding-top")-O("padding-bottom")}}():{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var m=this._private.pan,k=this._private.zoom,S=this.renderedExtent(),M={x1:(S.x1-m.x)/k,x2:(S.x2-m.x)/k,y1:(S.y1-m.y)/k,y2:(S.y2-m.y)/k};return M.w=M.x2-M.x1,M.h=M.y2-M.y1,M},renderedExtent:function(){var m=this.width(),k=this.height();return{x1:0,y1:0,x2:m,y2:k,w:m,h:k}},multiClickDebounceTime:function(m){if(m)this._private.multiClickDebounceTime=m;else return this._private.multiClickDebounceTime;return this}};y5.centre=y5.center,y5.autolockNodes=y5.autolock,y5.autoungrabifyNodes=y5.autoungrabify;var hk={data:hu.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:hu.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:hu.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:hu.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};hk.attr=hk.data,hk.removeAttr=hk.removeData;var fk=function(m){var k=this;m=xt({},m);var S=m.container;S&&!G(S)&&G(S[0])&&(S=S[0]);var M=S?S._cyreg:null;M=M||{},M&&M.cy&&(M.cy.destroy(),M={});var O=M.readies=M.readies||[];S&&(S._cyreg=M),M.cy=k;var N=B!==void 0&&S!==void 0&&!m.headless,$=m;$.layout=xt({name:N?"grid":"null"},$.layout),$.renderer=xt({name:N?"canvas":"null"},$.renderer);var H=function(me,Le,_e){return Le!==void 0?Le:_e!==void 0?_e:me},q=this._private={container:S,ready:!1,options:$,elements:new H0(this),listeners:[],aniEles:new H0(this),data:$.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:H(!0,$.zoomingEnabled),userZoomingEnabled:H(!0,$.userZoomingEnabled),panningEnabled:H(!0,$.panningEnabled),userPanningEnabled:H(!0,$.userPanningEnabled),boxSelectionEnabled:H(!0,$.boxSelectionEnabled),autolock:H(!1,$.autolock,$.autolockNodes),autoungrabify:H(!1,$.autoungrabify,$.autoungrabifyNodes),autounselectify:H(!1,$.autounselectify),styleEnabled:$.styleEnabled===void 0?N:$.styleEnabled,zoom:X($.zoom)?$.zoom:1,pan:{x:se($.pan)&&X($.pan.x)?$.pan.x:0,y:se($.pan)&&X($.pan.y)?$.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:H(250,$.multiClickDebounceTime)};this.createEmitter(),this.selectionType($.selectionType),this.zoomRange({min:$.minZoom,max:$.maxZoom});var Y=function(me,Le){var _e=me.some(Ke);if(_e)return s8.all(me).then(Le);Le(me)};q.styleEnabled&&k.setStyle([]);var Z=xt({},$,$.renderer);k.initRenderer(Z);var ce=function(me,Le,_e){k.notifications(!1);var Te=k.mutableElements();Te.length>0&&Te.remove(),me!=null&&(se(me)||ne(me))&&k.add(me),k.one("layoutready",function(Re){k.notifications(!0),k.emit(Re),k.one("load",Le),k.emitAndNotify("load")}).one("layoutstop",function(){k.one("done",_e),k.emit("done")});var Fe=xt({},k._private.options.layout);Fe.eles=k.elements(),k.layout(Fe).run()};Y([$.style,$.elements],function(ve){var me=ve[0],Le=ve[1];q.styleEnabled&&k.style().append(me),ce(Le,function(){k.startAnimationLoop(),q.ready=!0,ae($.ready)&&k.on("ready",$.ready);for(var _e=0;_e0,H=Qd(m.boundingBox?m.boundingBox:{x1:0,y1:0,w:k.width(),h:k.height()}),q;if(xe(m.roots))q=m.roots;else if(ne(m.roots)){for(var Y=[],Z=0;Z0;){var _n=St(),fn=Lt(_n,ut);if(fn)_n.outgoers().filter(function(Di){return Di.isNode()&&S.has(Di)}).forEach(Yt);else if(fn===null){lu("Detected double maximal shift for node `"+_n.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}Qe();var Xt=0;if(m.avoidOverlap)for(var Dn=0;Dn0&&Te[0].length<=3?Ma/2:0),K=2*Math.PI/Te[Fs].length*ks;return Fs===0&&Te[0].length===1&&(er=1),{x:_i.x+er*Math.cos(K),y:_i.y+er*Math.sin(K)}}else{var Fo={x:_i.x+(ks+1-(Rs+1)/2)*vo,y:(Fs+1)*ja};return Fo}};return S.nodes().layoutPositions(this,m,va),this};var Ore={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:3/2*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(m,k){return!0},ready:void 0,stop:void 0,transform:function(m,k){return k}};function W$(x){this.options=xt({},Ore,x)}W$.prototype.run=function(){var x=this.options,m=x,k=x.cy,S=m.eles,M=m.counterclockwise!==void 0?!m.counterclockwise:m.clockwise,O=S.nodes().not(":parent");m.sort&&(O=O.sort(m.sort));for(var N=Qd(m.boundingBox?m.boundingBox:{x1:0,y1:0,w:k.width(),h:k.height()}),$={x:N.x1+N.w/2,y:N.y1+N.h/2},H=m.sweep===void 0?2*Math.PI-2*Math.PI/O.length:m.sweep,q=H/Math.max(1,O.length-1),Y,Z=0,ce=0;ce1&&m.avoidOverlap){Z*=1.75;var Te=Math.cos(q)-Math.cos(0),Fe=Math.sin(q)-Math.sin(0),Re=Math.sqrt(Z*Z/(Te*Te+Fe*Fe));Y=Math.max(Re,Y)}var Ve=function(st,Ye){var vt=m.startAngle+Ye*q*(M?1:-1),Qe=Y*Math.cos(vt),Lt=Y*Math.sin(vt),Mt={x:$.x+Qe,y:$.y+Lt};return Mt};return S.nodes().layoutPositions(this,m,Ve),this};var Nre={fit:!0,padding:30,startAngle:3/2*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(m){return m.degree()},levelWidth:function(m){return m.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(m,k){return!0},ready:void 0,stop:void 0,transform:function(m,k){return k}};function Y$(x){this.options=xt({},Nre,x)}Y$.prototype.run=function(){for(var x=this.options,m=x,k=m.counterclockwise!==void 0?!m.counterclockwise:m.clockwise,S=x.cy,M=m.eles,O=M.nodes().not(":parent"),N=Qd(m.boundingBox?m.boundingBox:{x1:0,y1:0,w:S.width(),h:S.height()}),$={x:N.x1+N.w/2,y:N.y1+N.h/2},H=[],q=0,Y=0;Y0){var ct=Math.abs(Fe[0].value-Ve.value);ct>=_e&&(Fe=[],Te.push(Fe))}Fe.push(Ve)}var st=q+m.minNodeSpacing;if(!m.avoidOverlap){var Ye=Te.length>0&&Te[0].length>1,vt=Math.min(N.w,N.h)/2-st,Qe=vt/(Te.length+Ye?1:0);st=Math.min(st,Qe)}for(var Lt=0,Mt=0;Mt1&&m.avoidOverlap){var _n=Math.cos(St)-Math.cos(0),fn=Math.sin(St)-Math.sin(0),Xt=Math.sqrt(st*st/(_n*_n+fn*fn));Lt=Math.max(Xt,Lt)}ut.r=Lt,Lt+=st}if(m.equidistant){for(var Dn=0,rr=0,mr=0;mr=x.numIter||(qre(S,x),S.temperature=S.temperature*x.coolingFactor,S.temperature=x.animationThreshold&&O(),Wh(Z)}};Y()}else{for(;q;)q=N(H),H++;J$(S,x),$()}return this},US.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},US.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var Bre=function(m,k,S){for(var M=S.eles.edges(),O=S.eles.nodes(),N=Qd(S.boundingBox?S.boundingBox:{x1:0,y1:0,w:m.width(),h:m.height()}),$={isCompound:m.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:O.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:M.size(),temperature:S.initialTemp,clientWidth:N.w,clientHeight:N.h,boundingBox:N},H=S.eles.components(),q={},Y=0;Y0){$.graphSet.push(vt);for(var Y=0;YM.count?0:M.graph},Rre=function x(m,k,S,M){var O=M.graphSet[S];if(-10)var Z=M.nodeOverlap*Y,ce=Math.sqrt($*$+H*H),ve=Z*$/ce,me=Z*H/ce;else var Le=VS(m,$,H),_e=VS(k,-1*$,-1*H),Te=_e.x-Le.x,Fe=_e.y-Le.y,Re=Te*Te+Fe*Fe,ce=Math.sqrt(Re),Z=(m.nodeRepulsion+k.nodeRepulsion)/Re,ve=Z*Te/ce,me=Z*Fe/ce;m.isLocked||(m.offsetX-=ve,m.offsetY-=me),k.isLocked||(k.offsetX+=ve,k.offsetY+=me)}},Vre=function(m,k,S,M){if(S>0)var O=m.maxX-k.minX;else var O=k.maxX-m.minX;if(M>0)var N=m.maxY-k.minY;else var N=k.maxY-m.minY;return O>=0&&N>=0?Math.sqrt(O*O+N*N):0},VS=function(m,k,S){var M=m.positionX,O=m.positionY,N=m.height||1,$=m.width||1,H=S/k,q=N/$,Y={};return k===0&&0S?(Y.x=M,Y.y=O+N/2,Y):0k&&-1*q<=H&&H<=q?(Y.x=M-$/2,Y.y=O-$*S/2/k,Y):0=q)?(Y.x=M+N*k/2/S,Y.y=O+N/2,Y):(0>S&&(H<=-1*q||H>=q)&&(Y.x=M-N*k/2/S,Y.y=O-N/2),Y)},Gre=function(m,k){for(var S=0;SS){var _e=k.gravity*ve/Le,Te=k.gravity*me/Le;ce.offsetX+=_e,ce.offsetY+=Te}}}}},Wre=function(m,k){var S=[],M=0,O=-1;for(S.push.apply(S,m.graphSet[0]),O+=m.graphSet[0].length;M<=O;){var N=S[M++],$=m.idToIndex[N],H=m.layoutNodes[$],q=H.children;if(0S)var O={x:S*m/M,y:S*k/M};else var O={x:m,y:k};return O},Qre=function x(m,k){var S=m.parentId;if(S!=null){var M=k.layoutNodes[k.idToIndex[S]],O=!1;if((M.maxX==null||m.maxX+M.padRight>M.maxX)&&(M.maxX=m.maxX+M.padRight,O=!0),(M.minX==null||m.minX-M.padLeftM.maxY)&&(M.maxY=m.maxY+M.padBottom,O=!0),(M.minY==null||m.minY-M.padTopTe&&(me+=_e+k.componentSpacing,ve=0,Le=0,_e=0)}}},Jre={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(m){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(m,k){return!0},ready:void 0,stop:void 0,transform:function(m,k){return k}};function Z$(x){this.options=xt({},Jre,x)}Z$.prototype.run=function(){var x=this.options,m=x,k=x.cy,S=m.eles,M=S.nodes().not(":parent");m.sort&&(M=M.sort(m.sort));var O=Qd(m.boundingBox?m.boundingBox:{x1:0,y1:0,w:k.width(),h:k.height()});if(O.h===0||O.w===0)S.nodes().layoutPositions(this,m,function(kr){return{x:O.x1,y:O.y1}});else{var N=M.size(),$=Math.sqrt(N*O.h/O.w),H=Math.round($),q=Math.round(O.w/O.h*$),Y=function(Lr){if(Lr==null)return Math.min(H,q);var Er=Math.min(H,q);Er==H?H=Lr:q=Lr},Z=function(Lr){if(Lr==null)return Math.max(H,q);var Er=Math.max(H,q);Er==H?H=Lr:q=Lr},ce=m.rows,ve=m.cols!=null?m.cols:m.columns;if(ce!=null&&ve!=null)H=ce,q=ve;else if(ce!=null&&ve==null)H=ce,q=Math.ceil(N/H);else if(ce==null&&ve!=null)q=ve,H=Math.ceil(N/q);else if(q*H>N){var me=Y(),Le=Z();(me-1)*Le>=N?Y(me-1):(Le-1)*me>=N&&Z(Le-1)}else for(;q*H=N?Z(Te+1):Y(_e+1)}var Fe=O.w/q,Re=O.h/H;if(m.condense&&(Fe=0,Re=0),m.avoidOverlap)for(var Ve=0;Ve=q&&(_n=0,St++)},Xt={},Dn=0;Dn(_n=FZ(x,m,fn[Xt],fn[Xt+1],fn[Xt+2],fn[Xt+3])))return _e(Ye,_n),!0}else if(Qe.edgeType==="bezier"||Qe.edgeType==="multibezier"||Qe.edgeType==="self"||Qe.edgeType==="compound"){for(var fn=Qe.allpts,Xt=0;Xt+5(_n=BZ(x,m,fn[Xt],fn[Xt+1],fn[Xt+2],fn[Xt+3],fn[Xt+4],fn[Xt+5])))return _e(Ye,_n),!0}for(var Dn=Dn||vt.source,rr=rr||vt.target,mr=M.getArrowWidth(Lt,Mt),Pn=[{name:"source",x:Qe.arrowStartX,y:Qe.arrowStartY,angle:Qe.srcArrowAngle},{name:"target",x:Qe.arrowEndX,y:Qe.arrowEndY,angle:Qe.tgtArrowAngle},{name:"mid-source",x:Qe.midX,y:Qe.midY,angle:Qe.midsrcArrowAngle},{name:"mid-target",x:Qe.midX,y:Qe.midY,angle:Qe.midtgtArrowAngle}],Xt=0;Xt0&&(Te(Dn),Te(rr))}function Re(Ye,vt,Qe){return nb(Ye,vt,Qe)}function Ve(Ye,vt){var Qe=Ye._private,Lt=ce,Mt;vt?Mt=vt+"-":Mt="",Ye.boundingBox();var ut=Qe.labelBounds[vt||"main"],Yt=Ye.pstyle(Mt+"label").value,St=Ye.pstyle("text-events").strValue==="yes";if(!(!St||!Yt)){var _n=Re(Qe.rscratch,"labelX",vt),fn=Re(Qe.rscratch,"labelY",vt),Xt=Re(Qe.rscratch,"labelAngle",vt),Dn=Ye.pstyle(Mt+"text-margin-x").pfValue,rr=Ye.pstyle(Mt+"text-margin-y").pfValue,mr=ut.x1-Lt-Dn,Pn=ut.x2+Lt-Dn,gr=ut.y1-Lt-rr,kr=ut.y2+Lt-rr;if(Xt){var Lr=Math.cos(Xt),Er=Math.sin(Xt),Ir=function(va,Di){return va=va-_n,Di=Di-fn,{x:va*Lr-Di*Er+_n,y:va*Er+Di*Lr+fn}},Kn=Ir(mr,gr),pr=Ir(mr,kr),Cr=Ir(Pn,gr),Or=Ir(Pn,kr),_i=[Kn.x+Dn,Kn.y+rr,Cr.x+Dn,Cr.y+rr,Or.x+Dn,Or.y+rr,pr.x+Dn,pr.y+rr];if(Jd(x,m,_i))return _e(Ye),!0}else if(t8(ut,x,m))return _e(Ye),!0}}for(var ct=N.length-1;ct>=0;ct--){var st=N[ct];st.isNode()?Te(st)||Ve(st):Fe(st)||Ve(st)||Ve(st,"source")||Ve(st,"target")}return $},x5.getAllInBox=function(x,m,k,S){var M=this.getCachedZSortedEles().interactive,O=[],N=Math.min(x,k),$=Math.max(x,k),H=Math.min(m,S),q=Math.max(m,S);x=N,k=$,m=H,S=q;for(var Y=Qd({x1:x,y1:m,x2:k,y2:S}),Z=0;Z0?Math.max(vr-Cs,0):Math.min(vr+Cs,0)},Yt=ut(Lt,vt),St=ut(Mt,Qe),_n=!1;Fe===q?Te=Math.abs(Yt)>Math.abs(St)?M:S:Fe===H||Fe===$?(Te=S,_n=!0):(Fe===O||Fe===N)&&(Te=M,_n=!0);var fn=Te===S,Xt=fn?St:Yt,Dn=fn?Mt:Lt,rr=yj(Dn),mr=!1;!(_n&&(Ve||st))&&(Fe===$&&Dn<0||Fe===H&&Dn>0||Fe===O&&Dn>0||Fe===N&&Dn<0)&&(rr*=-1,Xt=rr*Math.abs(Xt),mr=!0);var Pn;if(Ve){var gr=ct<0?1+ct:ct;Pn=gr*Xt}else{var kr=ct<0?Xt:0;Pn=kr+ct*rr}var Lr=function(vr){return Math.abs(vr)=Math.abs(Xt)},Er=Lr(Pn),Ir=Lr(Math.abs(Xt)-Math.abs(Pn)),Kn=Er||Ir;if(Kn&&!mr)if(fn){var pr=Math.abs(Dn)<=ce/2,Cr=Math.abs(Lt)<=ve/2;if(pr){var Or=(Y.x1+Y.x2)/2,_i=Y.y1,xs=Y.y2;k.segpts=[Or,_i,Or,xs]}else if(Cr){var va=(Y.y1+Y.y2)/2,Di=Y.x1,pi=Y.x2;k.segpts=[Di,va,pi,va]}else k.segpts=[Y.x1,Y.y2]}else{var fs=Math.abs(Dn)<=Z/2,Fs=Math.abs(Mt)<=me/2;if(fs){var ks=(Y.y1+Y.y2)/2,Rs=Y.x1,vo=Y.x2;k.segpts=[Rs,ks,vo,ks]}else if(Fs){var ja=(Y.x1+Y.x2)/2,Ma=Y.y1,Fo=Y.y2;k.segpts=[ja,Ma,ja,Fo]}else k.segpts=[Y.x2,Y.y1]}else if(fn){var er=Y.y1+Pn+(_e?ce/2*rr:0),K=Y.x1,Qn=Y.x2;k.segpts=[K,er,Qn,er]}else{var xr=Y.x1+Pn+(_e?Z/2*rr:0),ur=Y.y1,Ut=Y.y2;k.segpts=[xr,ur,xr,Ut]}},S1.tryToCorrectInvalidPoints=function(x,m){var k=x._private.rscratch;if(k.edgeType==="bezier"){var S=m.srcPos,M=m.tgtPos,O=m.srcW,N=m.srcH,$=m.tgtW,H=m.tgtH,q=m.srcShape,Y=m.tgtShape,Z=!X(k.startX)||!X(k.startY),ce=!X(k.arrowStartX)||!X(k.arrowStartY),ve=!X(k.endX)||!X(k.endY),me=!X(k.arrowEndX)||!X(k.arrowEndY),Le=3,_e=this.getArrowWidth(x.pstyle("width").pfValue,x.pstyle("arrow-scale").value)*this.arrowShapeWidth,Te=Le*_e,Fe=d5({x:k.ctrlpts[0],y:k.ctrlpts[1]},{x:k.startX,y:k.startY}),Re=FeSt.poolIndex()){var _n=Yt;Yt=St,St=_n}var fn=Qe.srcPos=Yt.position(),Xt=Qe.tgtPos=St.position(),Dn=Qe.srcW=Yt.outerWidth(),rr=Qe.srcH=Yt.outerHeight(),mr=Qe.tgtW=St.outerWidth(),Pn=Qe.tgtH=St.outerHeight(),gr=Qe.srcShape=k.nodeShapes[m.getNodeShape(Yt)],kr=Qe.tgtShape=k.nodeShapes[m.getNodeShape(St)];Qe.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var Lr=0;Lr0){var pr=O,Cr=g5(pr,Z7(k)),Or=g5(pr,Z7(Kn)),_i=Cr;if(Or2){var xs=g5(pr,{x:Kn[2],y:Kn[3]});xs<_i&&(k=[Kn[2],Kn[3]])}}}var va=mS(k,Lt,m.arrowShapes[$].spacing(x)+q),Di=mS(k,Lt,m.arrowShapes[$].gap(x)+q);if(ce.endX=Di[0],ce.endY=Di[1],ce.arrowEndX=va[0],ce.arrowEndY=va[1],Ye==="inside-to-node")k=[O.x,O.y];else if(st.units)k=this.manualEndptToPx(S,st);else if(Ye==="outside-to-line")k=ce.srcIntn;else if(Ye==="outside-to-node"||Ye==="outside-to-node-or-label"?Yt=Mt:(Ye==="outside-to-line"||Ye==="outside-to-line-or-label")&&(Yt=[N.x,N.y]),k=m.nodeShapes[this.getNodeShape(S)].intersectLine(O.x,O.y,S.outerWidth(),S.outerHeight(),Yt[0],Yt[1],0),Ye==="outside-to-node-or-label"||Ye==="outside-to-line-or-label"){var pi=S._private.rscratch,fs=pi.labelWidth,Fs=pi.labelHeight,ks=pi.labelX,Rs=pi.labelY,vo=fs/2,ja=Fs/2,Ma=S.pstyle("text-valign").value;Ma==="top"?Rs-=ja:Ma==="bottom"&&(Rs+=ja);var Fo=S.pstyle("text-halign").value;Fo==="left"?ks-=vo:Fo==="right"&&(ks+=vo);var er=Y9(Yt[0],Yt[1],[ks-vo,Rs-ja,ks+vo,Rs-ja,ks+vo,Rs+ja,ks-vo,Rs+ja],O.x,O.y);if(er.length>0){var K=N,Qn=g5(K,Z7(k)),xr=g5(K,Z7(er)),ur=Qn;if(xr2){var Ut=g5(K,{x:er[2],y:er[3]});Ut=me||Ye){_e={cp:Ve,segment:st};break}}if(_e)break}var vt=_e.cp,Qe=_e.segment,Lt=(me-Te)/Qe.length,Mt=Qe.t1-Qe.t0,ut=ve?Qe.t0+Mt*Lt:Qe.t1-Mt*Lt;ut=K9(0,ut,1),m=e8(vt.p0,vt.p1,vt.p2,ut),ce=rie(vt.p0,vt.p1,vt.p2,ut);break}case"straight":case"segments":case"haystack":{for(var Yt=0,St,_n,fn,Xt,Dn=S.allpts.length,rr=0;rr+3=me));rr+=2);var mr=me-_n,Pn=mr/St;Pn=K9(0,Pn,1),m=SZ(fn,Xt,Pn),ce=KS(fn,Xt);break}}N("labelX",Z,m.x),N("labelY",Z,m.y),N("labelAutoAngle",Z,ce)}};q("source"),q("target"),this.applyLabelDimensions(x)}},Mm.applyLabelDimensions=function(x){this.applyPrefixedLabelDimensions(x),x.isEdge()&&(this.applyPrefixedLabelDimensions(x,"source"),this.applyPrefixedLabelDimensions(x,"target"))},Mm.applyPrefixedLabelDimensions=function(x,m){var k=x._private,S=this.getLabelText(x,m),M=this.calculateLabelDimensions(x,S),O=x.pstyle("line-height").pfValue,N=x.pstyle("text-wrap").strValue,$=nb(k.rscratch,"labelWrapCachedLines",m)||[],H=N!=="wrap"?1:Math.max($.length,1),q=M.height/H,Y=q*O,Z=M.width,ce=M.height+(H-1)*(O-1)*q;ty(k.rstyle,"labelWidth",m,Z),ty(k.rscratch,"labelWidth",m,Z),ty(k.rstyle,"labelHeight",m,ce),ty(k.rscratch,"labelHeight",m,ce),ty(k.rscratch,"labelLineHeight",m,Y)},Mm.getLabelText=function(x,m){var k=x._private,S=m?m+"-":"",M=x.pstyle(S+"label").strValue,O=x.pstyle("text-transform").value,N=function(mr,Pn){return Pn?(ty(k.rscratch,mr,m,Pn),Pn):nb(k.rscratch,mr,m)};if(!M)return"";O=="none"||(O=="uppercase"?M=M.toUpperCase():O=="lowercase"&&(M=M.toLowerCase()));var $=x.pstyle("text-wrap").value;if($==="wrap"){var H=N("labelKey");if(H!=null&&N("labelWrapKey")===H)return N("labelWrapCachedText");for(var q="​",Y=M.split(` -`),Z=x.pstyle("text-max-width").pfValue,ce=x.pstyle("text-overflow-wrap").value,ve=ce==="anywhere",me=[],Le=/[\s\u200b]+/,_e=ve?"":" ",Te=0;TeZ){for(var st=Fe.split(Le),Ye="",vt=0;vtYt)break;St+=M[Xt],Xt===M.length-1&&(fn=!0)}return fn||(St+=_n),St}return M},Mm.getLabelJustification=function(x){var m=x.pstyle("text-justification").strValue,k=x.pstyle("text-halign").strValue;if(m==="auto")if(x.isNode())switch(k){case"left":return"right";case"right":return"left";default:return"center"}else return"center";else return m},Mm.calculateLabelDimensions=function(x,m){var k=this,S=cd(m,x._private.labelDimsKey),M=k.labelDimCache||(k.labelDimCache=[]),O=M[S];if(O!=null)return O;var N=0,$=x.pstyle("font-style").strValue,H=x.pstyle("font-size").pfValue,q=x.pstyle("font-family").strValue,Y=x.pstyle("font-weight").strValue,Z=this.labelCalcCanvas,ce=this.labelCalcCanvasContext;if(!Z){Z=this.labelCalcCanvas=document.createElement("canvas"),ce=this.labelCalcCanvasContext=Z.getContext("2d");var ve=Z.style;ve.position="absolute",ve.left="-9999px",ve.top="-9999px",ve.zIndex="-1",ve.visibility="hidden",ve.pointerEvents="none"}ce.font="".concat($," ").concat(Y," ").concat(H,"px ").concat(q);for(var me=0,Le=0,_e=m.split(` -`),Te=0;Te<_e.length;Te++){var Fe=_e[Te],Re=ce.measureText(Fe),Ve=Math.ceil(Re.width),ct=H;me=Math.max(Ve,me),Le+=ct}return me+=N,Le+=N,M[S]={width:me,height:Le}},Mm.calculateLabelAngle=function(x,m){var k=x._private,S=k.rscratch,M=x.isEdge(),O=m?m+"-":"",N=x.pstyle(O+"text-rotation"),$=N.strValue;return $==="none"?0:M&&$==="autorotate"?S.labelAutoAngle:$==="autorotate"?0:N.pfValue},Mm.calculateLabelAngles=function(x){var m=this,k=x.isEdge(),S=x._private,M=S.rscratch;M.labelAngle=m.calculateLabelAngle(x),k&&(M.sourceLabelAngle=m.calculateLabelAngle(x,"source"),M.targetLabelAngle=m.calculateLabelAngle(x,"target"))};var cz={},uz=28,lz=!1;cz.getNodeShape=function(x){var m=this,k=x.pstyle("shape").value;if(k==="cutrectangle"&&(x.width()1&&arguments[1]!==void 0?arguments[1]:!0;if(m.merge(N),$)for(var H=0;H=x.desktopTapThreshold2}var tw=M(K);Vl&&(x.hoverData.tapholdCancelled=!0);var cy=function(){var Dm=x.hoverData.dragDelta=x.hoverData.dragDelta||[];Dm.length===0?(Dm.push(wo[0]),Dm.push(wo[1])):(Dm[0]+=wo[0],Dm[1]+=wo[1])};xr=!0,S($a,["mousemove","vmousemove","tapdrag"],K,{x:vr[0],y:vr[1]});var E8=function(){x.data.bgActivePosistion=void 0,x.hoverData.selecting||ur.emit({originalEvent:K,type:"boxstart",position:{x:vr[0],y:vr[1]}}),qc[4]=1,x.hoverData.selecting=!0,x.redrawHint("select",!0),x.redraw()};if(x.hoverData.which===3){if(Vl){var T5={originalEvent:K,type:"cxtdrag",position:{x:vr[0],y:vr[1]}};wa?wa.emit(T5):ur.emit(T5),x.hoverData.cxtDragged=!0,(!x.hoverData.cxtOver||$a!==x.hoverData.cxtOver)&&(x.hoverData.cxtOver&&x.hoverData.cxtOver.emit({originalEvent:K,type:"cxtdragout",position:{x:vr[0],y:vr[1]}}),x.hoverData.cxtOver=$a,$a&&$a.emit({originalEvent:K,type:"cxtdragover",position:{x:vr[0],y:vr[1]}}))}}else if(x.hoverData.dragging){if(xr=!0,ur.panningEnabled()&&ur.userPanningEnabled()){var C8;if(x.hoverData.justStartedPan){var e_=x.hoverData.mdownPos;C8={x:(vr[0]-e_[0])*Ut,y:(vr[1]-e_[1])*Ut},x.hoverData.justStartedPan=!1}else C8={x:wo[0]*Ut,y:wo[1]*Ut};ur.panBy(C8),ur.emit("dragpan"),x.hoverData.dragged=!0}vr=x.projectIntoViewport(K.clientX,K.clientY)}else if(qc[4]==1&&(wa==null||wa.pannable())){if(Vl){if(!x.hoverData.dragging&&ur.boxSelectionEnabled()&&(tw||!ur.panningEnabled()||!ur.userPanningEnabled()))E8();else if(!x.hoverData.selecting&&ur.panningEnabled()&&ur.userPanningEnabled()){var E5=O(wa,x.hoverData.downs);E5&&(x.hoverData.dragging=!0,x.hoverData.justStartedPan=!0,qc[4]=0,x.data.bgActivePosistion=Z7(Cs),x.redrawHint("select",!0),x.redraw())}wa&&wa.pannable()&&wa.active()&&wa.unactivate()}}else{if(wa&&wa.pannable()&&wa.active()&&wa.unactivate(),(!wa||!wa.grabbed())&&$a!=Mc&&(Mc&&S(Mc,["mouseout","tapdragout"],K,{x:vr[0],y:vr[1]}),$a&&S($a,["mouseover","tapdragover"],K,{x:vr[0],y:vr[1]}),x.hoverData.last=$a),wa)if(Vl){if(ur.boxSelectionEnabled()&&tw)wa&&wa.grabbed()&&(_e(oh),wa.emit("freeon"),oh.emit("free"),x.dragData.didDrag&&(wa.emit("dragfreeon"),oh.emit("dragfree"))),E8();else if(wa&&wa.grabbed()&&x.nodeIsDraggable(wa)){var eg=!x.dragData.didDrag;eg&&x.redrawHint("eles",!0),x.dragData.didDrag=!0,x.hoverData.draggingEles||me(oh,{inDragLayer:!0});var _1={x:0,y:0};if(X(wo[0])&&X(wo[1])&&(_1.x+=wo[0],_1.y+=wo[1],eg)){var tg=x.hoverData.dragDelta;tg&&X(tg[0])&&X(tg[1])&&(_1.x+=tg[0],_1.y+=tg[1])}x.hoverData.draggingEles=!0,oh.silentShift(_1).emit("position drag"),x.redrawHint("drag",!0),x.redraw()}}else cy();xr=!0}if(qc[2]=vr[0],qc[3]=vr[1],xr)return K.stopPropagation&&K.stopPropagation(),K.preventDefault&&K.preventDefault(),!1}},!1);var Lt,Mt,ut;x.registerBinding(m,"mouseup",function(K){var Qn=x.hoverData.capture;if(Qn){x.hoverData.capture=!1;var xr=x.cy,ur=x.projectIntoViewport(K.clientX,K.clientY),Ut=x.selection,Vs=x.findNearestElement(ur[0],ur[1],!0,!1),vr=x.dragData.possibleDragElements,Cs=x.hoverData.down,lo=M(K);if(x.data.bgActivePosistion&&(x.redrawHint("select",!0),x.redraw()),x.hoverData.tapholdCancelled=!0,x.data.bgActivePosistion=void 0,Cs&&Cs.unactivate(),x.hoverData.which===3){var qc={originalEvent:K,type:"cxttapend",position:{x:ur[0],y:ur[1]}};if(Cs?Cs.emit(qc):xr.emit(qc),!x.hoverData.cxtDragged){var $a={originalEvent:K,type:"cxttap",position:{x:ur[0],y:ur[1]}};Cs?Cs.emit($a):xr.emit($a)}x.hoverData.cxtDragged=!1,x.hoverData.which=null}else if(x.hoverData.which===1){if(S(Vs,["mouseup","tapend","vmouseup"],K,{x:ur[0],y:ur[1]}),!x.dragData.didDrag&&!x.hoverData.dragged&&!x.hoverData.selecting&&!x.hoverData.isOverThresholdDrag&&(S(Cs,["click","tap","vclick"],K,{x:ur[0],y:ur[1]}),Mt=!1,K.timeStamp-ut<=xr.multiClickDebounceTime()?(Lt&&clearTimeout(Lt),Mt=!0,ut=null,S(Cs,["dblclick","dbltap","vdblclick"],K,{x:ur[0],y:ur[1]})):(Lt=setTimeout(function(){Mt||S(Cs,["oneclick","onetap","voneclick"],K,{x:ur[0],y:ur[1]})},xr.multiClickDebounceTime()),ut=K.timeStamp)),Cs==null&&!x.dragData.didDrag&&!x.hoverData.selecting&&!x.hoverData.dragged&&!M(K)&&(xr.$(k).unselect(["tapunselect"]),vr.length>0&&x.redrawHint("eles",!0),x.dragData.possibleDragElements=vr=xr.collection()),Vs==Cs&&!x.dragData.didDrag&&!x.hoverData.selecting&&Vs!=null&&Vs._private.selectable&&(x.hoverData.dragging||(xr.selectionType()==="additive"||lo?Vs.selected()?Vs.unselect(["tapunselect"]):Vs.select(["tapselect"]):lo||(xr.$(k).unmerge(Vs).unselect(["tapunselect"]),Vs.select(["tapselect"]))),x.redrawHint("eles",!0)),x.hoverData.selecting){var Mc=xr.collection(x.getAllInBox(Ut[0],Ut[1],Ut[2],Ut[3]));x.redrawHint("select",!0),Mc.length>0&&x.redrawHint("eles",!0),xr.emit({type:"boxend",originalEvent:K,position:{x:ur[0],y:ur[1]}});var wa=function(Vl){return Vl.selectable()&&!Vl.selected()};xr.selectionType()==="additive"||lo||xr.$(k).unmerge(Mc).unselect(),Mc.emit("box").stdFilter(wa).select().emit("boxselect"),x.redraw()}if(x.hoverData.dragging&&(x.hoverData.dragging=!1,x.redrawHint("select",!0),x.redrawHint("eles",!0),x.redraw()),!Ut[4]){x.redrawHint("drag",!0),x.redrawHint("eles",!0);var wo=Cs&&Cs.grabbed();_e(vr),wo&&(Cs.emit("freeon"),vr.emit("free"),x.dragData.didDrag&&(Cs.emit("dragfreeon"),vr.emit("dragfree")))}}Ut[4]=0,x.hoverData.down=null,x.hoverData.cxtStarted=!1,x.hoverData.draggingEles=!1,x.hoverData.selecting=!1,x.hoverData.isOverThresholdDrag=!1,x.dragData.didDrag=!1,x.hoverData.dragged=!1,x.hoverData.dragDelta=[],x.hoverData.mdownPos=null,x.hoverData.mdownGPos=null}},!1);var Yt=function(K){if(!x.scrollingPage){var Qn=x.cy,xr=Qn.zoom(),ur=Qn.pan(),Ut=x.projectIntoViewport(K.clientX,K.clientY),Vs=[Ut[0]*xr+ur.x,Ut[1]*xr+ur.y];if(x.hoverData.draggingEles||x.hoverData.dragging||x.hoverData.cxtStarted||vt()){K.preventDefault();return}if(Qn.panningEnabled()&&Qn.userPanningEnabled()&&Qn.zoomingEnabled()&&Qn.userZoomingEnabled()){K.preventDefault(),x.data.wheelZooming=!0,clearTimeout(x.data.wheelTimeout),x.data.wheelTimeout=setTimeout(function(){x.data.wheelZooming=!1,x.redrawHint("eles",!0),x.redraw()},150);var vr;K.deltaY!=null?vr=K.deltaY/-250:K.wheelDeltaY!=null?vr=K.wheelDeltaY/1e3:vr=K.wheelDelta/1e3,vr=vr*x.wheelSensitivity;var Cs=K.deltaMode===1;Cs&&(vr*=33);var lo=Qn.zoom()*Math.pow(10,vr);K.type==="gesturechange"&&(lo=x.gestureStartZoom*K.scale),Qn.zoom({level:lo,renderedPosition:{x:Vs[0],y:Vs[1]}}),Qn.emit(K.type==="gesturechange"?"pinchzoom":"scrollzoom")}}};x.registerBinding(x.container,"wheel",Yt,!0),x.registerBinding(m,"scroll",function(K){x.scrollingPage=!0,clearTimeout(x.scrollingPageTimeout),x.scrollingPageTimeout=setTimeout(function(){x.scrollingPage=!1},250)},!0),x.registerBinding(x.container,"gesturestart",function(K){x.gestureStartZoom=x.cy.zoom(),x.hasTouchStarted||K.preventDefault()},!0),x.registerBinding(x.container,"gesturechange",function(er){x.hasTouchStarted||Yt(er)},!0),x.registerBinding(x.container,"mouseout",function(K){var Qn=x.projectIntoViewport(K.clientX,K.clientY);x.cy.emit({originalEvent:K,type:"mouseout",position:{x:Qn[0],y:Qn[1]}})},!1),x.registerBinding(x.container,"mouseover",function(K){var Qn=x.projectIntoViewport(K.clientX,K.clientY);x.cy.emit({originalEvent:K,type:"mouseover",position:{x:Qn[0],y:Qn[1]}})},!1);var St,_n,fn,Xt,Dn,rr,mr,Pn,gr,kr,Lr,Er,Ir,Kn=function(K,Qn,xr,ur){return Math.sqrt((xr-K)*(xr-K)+(ur-Qn)*(ur-Qn))},pr=function(K,Qn,xr,ur){return(xr-K)*(xr-K)+(ur-Qn)*(ur-Qn)},Cr;x.registerBinding(x.container,"touchstart",Cr=function(K){if(x.hasTouchStarted=!0,!!Qe(K)){Fe(),x.touchData.capture=!0,x.data.bgActivePosistion=void 0;var Qn=x.cy,xr=x.touchData.now,ur=x.touchData.earlier;if(K.touches[0]){var Ut=x.projectIntoViewport(K.touches[0].clientX,K.touches[0].clientY);xr[0]=Ut[0],xr[1]=Ut[1]}if(K.touches[1]){var Ut=x.projectIntoViewport(K.touches[1].clientX,K.touches[1].clientY);xr[2]=Ut[0],xr[3]=Ut[1]}if(K.touches[2]){var Ut=x.projectIntoViewport(K.touches[2].clientX,K.touches[2].clientY);xr[4]=Ut[0],xr[5]=Ut[1]}if(K.touches[1]){x.touchData.singleTouchMoved=!0,_e(x.dragData.touchDragEles);var Vs=x.findContainerClientCoords();gr=Vs[0],kr=Vs[1],Lr=Vs[2],Er=Vs[3],St=K.touches[0].clientX-gr,_n=K.touches[0].clientY-kr,fn=K.touches[1].clientX-gr,Xt=K.touches[1].clientY-kr,Ir=0<=St&&St<=Lr&&0<=fn&&fn<=Lr&&0<=_n&&_n<=Er&&0<=Xt&&Xt<=Er;var vr=Qn.pan(),Cs=Qn.zoom();Dn=Kn(St,_n,fn,Xt),rr=pr(St,_n,fn,Xt),mr=[(St+fn)/2,(_n+Xt)/2],Pn=[(mr[0]-vr.x)/Cs,(mr[1]-vr.y)/Cs];var lo=200,qc=lo*lo;if(rr=1){for(var ub=x.touchData.startPosition=[null,null,null,null,null,null],V0=0;V0=x.touchTapThreshold2}if(Qn&&x.touchData.cxt){K.preventDefault();var ub=K.touches[0].clientX-gr,V0=K.touches[0].clientY-kr,Xp=K.touches[1].clientX-gr,hd=K.touches[1].clientY-kr,tw=pr(ub,V0,Xp,hd),cy=tw/rr,E8=150,T5=E8*E8,C8=1.5,e_=C8*C8;if(cy>=e_||tw>=T5){x.touchData.cxt=!1,x.data.bgActivePosistion=void 0,x.redrawHint("select",!0);var E5={originalEvent:K,type:"cxttapend",position:{x:Ut[0],y:Ut[1]}};x.touchData.start?(x.touchData.start.unactivate().emit(E5),x.touchData.start=null):ur.emit(E5)}}if(Qn&&x.touchData.cxt){var E5={originalEvent:K,type:"cxtdrag",position:{x:Ut[0],y:Ut[1]}};x.data.bgActivePosistion=void 0,x.redrawHint("select",!0),x.touchData.start?x.touchData.start.emit(E5):ur.emit(E5),x.touchData.start&&(x.touchData.start._private.grabbed=!1),x.touchData.cxtDragged=!0;var eg=x.findNearestElement(Ut[0],Ut[1],!0,!0);(!x.touchData.cxtOver||eg!==x.touchData.cxtOver)&&(x.touchData.cxtOver&&x.touchData.cxtOver.emit({originalEvent:K,type:"cxtdragout",position:{x:Ut[0],y:Ut[1]}}),x.touchData.cxtOver=eg,eg&&eg.emit({originalEvent:K,type:"cxtdragover",position:{x:Ut[0],y:Ut[1]}}))}else if(Qn&&K.touches[2]&&ur.boxSelectionEnabled())K.preventDefault(),x.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,x.touchData.selecting||ur.emit({originalEvent:K,type:"boxstart",position:{x:Ut[0],y:Ut[1]}}),x.touchData.selecting=!0,x.touchData.didSelect=!0,xr[4]=1,!xr||xr.length===0||xr[0]===void 0?(xr[0]=(Ut[0]+Ut[2]+Ut[4])/3,xr[1]=(Ut[1]+Ut[3]+Ut[5])/3,xr[2]=(Ut[0]+Ut[2]+Ut[4])/3+1,xr[3]=(Ut[1]+Ut[3]+Ut[5])/3+1):(xr[2]=(Ut[0]+Ut[2]+Ut[4])/3,xr[3]=(Ut[1]+Ut[3]+Ut[5])/3),x.redrawHint("select",!0),x.redraw();else if(Qn&&K.touches[1]&&!x.touchData.didSelect&&ur.zoomingEnabled()&&ur.panningEnabled()&&ur.userZoomingEnabled()&&ur.userPanningEnabled()){K.preventDefault(),x.data.bgActivePosistion=void 0,x.redrawHint("select",!0);var _1=x.dragData.touchDragEles;if(_1){x.redrawHint("drag",!0);for(var tg=0;tg<_1.length;tg++){var nw=_1[tg]._private;nw.grabbed=!1,nw.rscratch.inDragLayer=!1}}var Dm=x.touchData.start,ub=K.touches[0].clientX-gr,V0=K.touches[0].clientY-kr,Xp=K.touches[1].clientX-gr,hd=K.touches[1].clientY-kr,Fz=Kn(ub,V0,Xp,hd),Hie=Fz/Dn;if(Ir){var Uie=ub-St,t_=V0-_n,Vie=Xp-fn,Gie=hd-Xt,C5=(Uie+Vie)/2,Rz=(t_+Gie)/2,kk=ur.zoom(),ZI=kk*Hie,n_=ur.pan(),jz=Pn[0]*kk+n_.x,$z=Pn[1]*kk+n_.y,Kie={x:-ZI/kk*(jz-n_.x-C5)+jz,y:-ZI/kk*($z-n_.y-Rz)+$z};if(Dm&&Dm.active()){var _1=x.dragData.touchDragEles;_e(_1),x.redrawHint("drag",!0),x.redrawHint("eles",!0),Dm.unactivate().emit("freeon"),_1.emit("free"),x.dragData.didDrag&&(Dm.emit("dragfreeon"),_1.emit("dragfree"))}ur.viewport({zoom:ZI,pan:Kie,cancelOnFailedZoom:!0}),ur.emit("pinchzoom"),Dn=Fz,St=ub,_n=V0,fn=Xp,Xt=hd,x.pinching=!0}if(K.touches[0]){var Cs=x.projectIntoViewport(K.touches[0].clientX,K.touches[0].clientY);Ut[0]=Cs[0],Ut[1]=Cs[1]}if(K.touches[1]){var Cs=x.projectIntoViewport(K.touches[1].clientX,K.touches[1].clientY);Ut[2]=Cs[0],Ut[3]=Cs[1]}if(K.touches[2]){var Cs=x.projectIntoViewport(K.touches[2].clientX,K.touches[2].clientY);Ut[4]=Cs[0],Ut[5]=Cs[1]}}else if(K.touches[0]&&!x.touchData.didSelect){var Qp=x.touchData.start,r_=x.touchData.last,eg;if(!x.hoverData.draggingEles&&!x.swipePanning&&(eg=x.findNearestElement(Ut[0],Ut[1],!0,!0)),Qn&&Qp!=null&&K.preventDefault(),Qn&&Qp!=null&&x.nodeIsDraggable(Qp))if(qc){var _1=x.dragData.touchDragEles,eO=!x.dragData.didDrag;eO&&me(_1,{inDragLayer:!0}),x.dragData.didDrag=!0;var Im={x:0,y:0};if(X($a[0])&&X($a[1])&&(Im.x+=$a[0],Im.y+=$a[1],eO)){x.redrawHint("eles",!0);var ng=x.touchData.dragDelta;ng&&X(ng[0])&&X(ng[1])&&(Im.x+=ng[0],Im.y+=ng[1])}x.hoverData.draggingEles=!0,_1.silentShift(Im).emit("position drag"),x.redrawHint("drag",!0),x.touchData.startPosition[0]==Vs[0]&&x.touchData.startPosition[1]==Vs[1]&&x.redrawHint("eles",!0),x.redraw()}else{var ng=x.touchData.dragDelta=x.touchData.dragDelta||[];ng.length===0?(ng.push($a[0]),ng.push($a[1])):(ng[0]+=$a[0],ng[1]+=$a[1])}if(S(Qp||eg,["touchmove","tapdrag","vmousemove"],K,{x:Ut[0],y:Ut[1]}),(!Qp||!Qp.grabbed())&&eg!=r_&&(r_&&r_.emit({originalEvent:K,type:"tapdragout",position:{x:Ut[0],y:Ut[1]}}),eg&&eg.emit({originalEvent:K,type:"tapdragover",position:{x:Ut[0],y:Ut[1]}})),x.touchData.last=eg,Qn)for(var tg=0;tg0&&!x.hoverData.draggingEles&&!x.swipePanning&&x.data.bgActivePosistion!=null&&(x.data.bgActivePosistion=void 0,x.redrawHint("select",!0),x.redraw())}},!1);var _i;x.registerBinding(m,"touchcancel",_i=function(K){var Qn=x.touchData.start;x.touchData.capture=!1,Qn&&Qn.unactivate()});var xs,va,Di,pi;if(x.registerBinding(m,"touchend",xs=function(K){var Qn=x.touchData.start,xr=x.touchData.capture;if(xr)K.touches.length===0&&(x.touchData.capture=!1),K.preventDefault();else return;var ur=x.selection;x.swipePanning=!1,x.hoverData.draggingEles=!1;var Ut=x.cy,Vs=Ut.zoom(),vr=x.touchData.now,Cs=x.touchData.earlier;if(K.touches[0]){var lo=x.projectIntoViewport(K.touches[0].clientX,K.touches[0].clientY);vr[0]=lo[0],vr[1]=lo[1]}if(K.touches[1]){var lo=x.projectIntoViewport(K.touches[1].clientX,K.touches[1].clientY);vr[2]=lo[0],vr[3]=lo[1]}if(K.touches[2]){var lo=x.projectIntoViewport(K.touches[2].clientX,K.touches[2].clientY);vr[4]=lo[0],vr[5]=lo[1]}Qn&&Qn.unactivate();var qc;if(x.touchData.cxt){if(qc={originalEvent:K,type:"cxttapend",position:{x:vr[0],y:vr[1]}},Qn?Qn.emit(qc):Ut.emit(qc),!x.touchData.cxtDragged){var $a={originalEvent:K,type:"cxttap",position:{x:vr[0],y:vr[1]}};Qn?Qn.emit($a):Ut.emit($a)}x.touchData.start&&(x.touchData.start._private.grabbed=!1),x.touchData.cxt=!1,x.touchData.start=null,x.redraw();return}if(!K.touches[2]&&Ut.boxSelectionEnabled()&&x.touchData.selecting){x.touchData.selecting=!1;var Mc=Ut.collection(x.getAllInBox(ur[0],ur[1],ur[2],ur[3]));ur[0]=void 0,ur[1]=void 0,ur[2]=void 0,ur[3]=void 0,ur[4]=0,x.redrawHint("select",!0),Ut.emit({type:"boxend",originalEvent:K,position:{x:vr[0],y:vr[1]}});var wa=function(T5){return T5.selectable()&&!T5.selected()};Mc.emit("box").stdFilter(wa).select().emit("boxselect"),Mc.nonempty()&&x.redrawHint("eles",!0),x.redraw()}if(Qn!=null&&Qn.unactivate(),K.touches[2])x.data.bgActivePosistion=void 0,x.redrawHint("select",!0);else if(!K.touches[1]){if(!K.touches[0]){if(!K.touches[0]){x.data.bgActivePosistion=void 0,x.redrawHint("select",!0);var wo=x.dragData.touchDragEles;if(Qn!=null){var oh=Qn._private.grabbed;_e(wo),x.redrawHint("drag",!0),x.redrawHint("eles",!0),oh&&(Qn.emit("freeon"),wo.emit("free"),x.dragData.didDrag&&(Qn.emit("dragfreeon"),wo.emit("dragfree"))),S(Qn,["touchend","tapend","vmouseup","tapdragout"],K,{x:vr[0],y:vr[1]}),Qn.unactivate(),x.touchData.start=null}else{var Vl=x.findNearestElement(vr[0],vr[1],!0,!0);S(Vl,["touchend","tapend","vmouseup","tapdragout"],K,{x:vr[0],y:vr[1]})}var cb=x.touchData.startPosition[0]-vr[0],ub=cb*cb,V0=x.touchData.startPosition[1]-vr[1],Xp=V0*V0,hd=ub+Xp,tw=hd*Vs*Vs;x.touchData.singleTouchMoved||(Qn||Ut.$(":selected").unselect(["tapunselect"]),S(Qn,["tap","vclick"],K,{x:vr[0],y:vr[1]}),va=!1,K.timeStamp-pi<=Ut.multiClickDebounceTime()?(Di&&clearTimeout(Di),va=!0,pi=null,S(Qn,["dbltap","vdblclick"],K,{x:vr[0],y:vr[1]})):(Di=setTimeout(function(){va||S(Qn,["onetap","voneclick"],K,{x:vr[0],y:vr[1]})},Ut.multiClickDebounceTime()),pi=K.timeStamp)),Qn!=null&&!x.dragData.didDrag&&Qn._private.selectable&&tw"u"){var fs=[],Fs=function(K){return{clientX:K.clientX,clientY:K.clientY,force:1,identifier:K.pointerId,pageX:K.pageX,pageY:K.pageY,radiusX:K.width/2,radiusY:K.height/2,screenX:K.screenX,screenY:K.screenY,target:K.target}},ks=function(K){return{event:K,touch:Fs(K)}},Rs=function(K){fs.push(ks(K))},vo=function(K){for(var Qn=0;Qn0)return Pn[0]}return null},ve=Object.keys(Z),me=0;me0?ce:Ej(O,N,m,k,S,M,$)},checkPoint:function(m,k,S,M,O,N,$){var H=X9(M,O),q=2*H;if(Jv(m,k,this.points,N,$,M,O-q,[0,-1],S)||Jv(m,k,this.points,N,$,M-q,O,[0,-1],S))return!0;var Y=M/2+2*S,Z=O/2+2*S,ce=[N-Y,$-Z,N-Y,$,N+Y,$,N+Y,$-Z];return!!(Jd(m,k,ce)||p5(m,k,q,q,N+M/2-H,$+O/2-H,S)||p5(m,k,q,q,N-M/2+H,$+O/2-H,S))}}},ew.registerNodeShapes=function(){var x=this.nodeShapes={},m=this;this.generateEllipse(),this.generatePolygon("triangle",ld(3,0)),this.generateRoundPolygon("round-triangle",ld(3,0)),this.generatePolygon("rectangle",ld(4,0)),x.square=x.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();{var k=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",k),this.generateRoundPolygon("round-diamond",k)}this.generatePolygon("pentagon",ld(5,0)),this.generateRoundPolygon("round-pentagon",ld(5,0)),this.generatePolygon("hexagon",ld(6,0)),this.generateRoundPolygon("round-hexagon",ld(6,0)),this.generatePolygon("heptagon",ld(7,0)),this.generateRoundPolygon("round-heptagon",ld(7,0)),this.generatePolygon("octagon",ld(8,0)),this.generateRoundPolygon("round-octagon",ld(8,0));var S=new Array(20);{var M=pI(5,0),O=pI(5,Math.PI/5),N=.5*(3-Math.sqrt(5));N*=1.57;for(var $=0;$=m.deqFastCost*Ve)break}else if(q){if(Fe>=m.deqCost*ve||Fe>=m.deqAvgCost*ce)break}else if(Re>=m.deqNoDrawCost*GI)break;var ct=m.deq(S,_e,Le);if(ct.length>0)for(var st=0;st0&&(m.onDeqd(S,me),!q&&m.shouldRedraw(S,me,_e,Le)&&O())},$=m.priority||lI;M.beforeRender(N,$(S))}}}},sie=function(){function x(m){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Z3;d(this,x),this.idsByKey=new _m,this.keyForId=new _m,this.cachesByLvl=new _m,this.lvls=[],this.getKey=m,this.doesEleInvalidateKey=k}return v(x,[{key:"getIdsFor",value:function(k){k==null&&sh("Can not get id list for null key");var S=this.idsByKey,M=this.idsByKey.get(k);return M||(M=new J7,S.set(k,M)),M}},{key:"addIdForKey",value:function(k,S){k!=null&&this.getIdsFor(k).add(S)}},{key:"deleteIdForKey",value:function(k,S){k!=null&&this.getIdsFor(k).delete(S)}},{key:"getNumberOfIdsForKey",value:function(k){return k==null?0:this.getIdsFor(k).size}},{key:"updateKeyMappingFor",value:function(k){var S=k.id(),M=this.keyForId.get(S),O=this.getKey(k);this.deleteIdForKey(M,S),this.addIdForKey(O,S),this.keyForId.set(S,O)}},{key:"deleteKeyMappingFor",value:function(k){var S=k.id(),M=this.keyForId.get(S);this.deleteIdForKey(M,S),this.keyForId.delete(S)}},{key:"keyHasChangedFor",value:function(k){var S=k.id(),M=this.keyForId.get(S),O=this.getKey(k);return M!==O}},{key:"isInvalid",value:function(k){return this.keyHasChangedFor(k)||this.doesEleInvalidateKey(k)}},{key:"getCachesAt",value:function(k){var S=this.cachesByLvl,M=this.lvls,O=S.get(k);return O||(O=new _m,S.set(k,O),M.push(k)),O}},{key:"getCache",value:function(k,S){return this.getCachesAt(S).get(k)}},{key:"get",value:function(k,S){var M=this.getKey(k),O=this.getCache(M,S);return O!=null&&this.updateKeyMappingFor(k),O}},{key:"getForCachedKey",value:function(k,S){var M=this.keyForId.get(k.id()),O=this.getCache(M,S);return O}},{key:"hasCache",value:function(k,S){return this.getCachesAt(S).has(k)}},{key:"has",value:function(k,S){var M=this.getKey(k);return this.hasCache(M,S)}},{key:"setCache",value:function(k,S,M){M.key=k,this.getCachesAt(S).set(k,M)}},{key:"set",value:function(k,S,M){var O=this.getKey(k);this.setCache(O,S,M),this.updateKeyMappingFor(k)}},{key:"deleteCache",value:function(k,S){this.getCachesAt(S).delete(k)}},{key:"delete",value:function(k,S){var M=this.getKey(k);this.deleteCache(M,S)}},{key:"invalidateKey",value:function(k){var S=this;this.lvls.forEach(function(M){return S.deleteCache(k,M)})}},{key:"invalidate",value:function(k){var S=k.id(),M=this.keyForId.get(S);this.deleteKeyMappingFor(k);var O=this.doesEleInvalidateKey(k);return O&&this.invalidateKey(M),O||this.getNumberOfIdsForKey(M)===0}}]),x}(),bz=25,XS=50,QS=-4,KI=3,aie=7.99,oie=8,cie=1024,uie=1024,lie=1024,hie=.2,fie=.8,die=10,gie=.15,pie=.1,bie=.9,mie=.9,vie=100,wie=1,w8={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},yie=z0({getKey:null,doesEleInvalidateKey:Z3,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:f5,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),pk=function(m,k){var S=this;S.renderer=m,S.onDequeues=[];var M=yie(k);xt(S,M),S.lookup=new sie(M.getKey,M.doesEleInvalidateKey),S.setupDequeueing()},Cf=pk.prototype;Cf.reasons=w8,Cf.getTextureQueue=function(x){var m=this;return m.eleImgCaches=m.eleImgCaches||{},m.eleImgCaches[x]=m.eleImgCaches[x]||[]},Cf.getRetiredTextureQueue=function(x){var m=this,k=m.eleImgCaches.retired=m.eleImgCaches.retired||{},S=k[x]=k[x]||[];return S},Cf.getElementQueue=function(){var x=this,m=x.eleCacheQueue=x.eleCacheQueue||new G9(function(k,S){return S.reqs-k.reqs});return m},Cf.getElementKeyToQueue=function(){var x=this,m=x.eleKeyToCacheQueue=x.eleKeyToCacheQueue||{};return m},Cf.getElement=function(x,m,k,S,M){var O=this,N=this.renderer,$=N.cy.zoom(),H=this.lookup;if(!m||m.w===0||m.h===0||isNaN(m.w)||isNaN(m.h)||!x.visible()||x.removed()||!O.allowEdgeTxrCaching&&x.isEdge()||!O.allowParentTxrCaching&&x.isParent())return null;if(S==null&&(S=Math.ceil(fI($*k))),S=aie||S>KI)return null;var q=Math.pow(2,S),Y=m.h*q,Z=m.w*q,ce=N.eleTextBiggerThanMin(x,q);if(!this.isVisible(x,ce))return null;var ve=H.get(x,S);if(ve&&ve.invalidated&&(ve.invalidated=!1,ve.texture.invalidatedWidth-=ve.width),ve)return ve;var me;if(Y<=bz?me=bz:Y<=XS?me=XS:me=Math.ceil(Y/XS)*XS,Y>lie||Z>uie)return null;var Le=O.getTextureQueue(me),_e=Le[Le.length-2],Te=function(){return O.recycleTexture(me,Z)||O.addTexture(me,Z)};_e||(_e=Le[Le.length-1]),_e||(_e=Te()),_e.width-_e.usedWidthS;Mt--)Qe=O.getElement(x,m,k,Mt,w8.downscale);Lt()}else return O.queueElement(x,st.level-1),st;else{var ut;if(!Re&&!Ve&&!ct)for(var Yt=S-1;Yt>=QS;Yt--){var St=H.get(x,Yt);if(St){ut=St;break}}if(Fe(ut))return O.queueElement(x,S),ut;_e.context.translate(_e.usedWidth,0),_e.context.scale(q,q),this.drawElement(_e.context,x,m,ce,!1),_e.context.scale(1/q,1/q),_e.context.translate(-_e.usedWidth,0)}return ve={x:_e.usedWidth,texture:_e,level:S,scale:q,width:Z,height:Y,scaledLabelShown:ce},_e.usedWidth+=Math.ceil(Z+oie),_e.eleCaches.push(ve),H.set(x,S,ve),O.checkTextureFullness(_e),ve},Cf.invalidateElements=function(x){for(var m=0;m=hie*x.width&&this.retireTexture(x)},Cf.checkTextureFullness=function(x){var m=this,k=m.getTextureQueue(x.height);x.usedWidth/x.width>fie&&x.fullnessChecks>=die?ey(k,x):x.fullnessChecks++},Cf.retireTexture=function(x){var m=this,k=x.height,S=m.getTextureQueue(k),M=this.lookup;ey(S,x),x.retired=!0;for(var O=x.eleCaches,N=0;N=m)return N.retired=!1,N.usedWidth=0,N.invalidatedWidth=0,N.fullnessChecks=0,uS(N.eleCaches),N.context.setTransform(1,0,0,1,0,0),N.context.clearRect(0,0,N.width,N.height),ey(M,N),S.push(N),N}},Cf.queueElement=function(x,m){var k=this,S=k.getElementQueue(),M=k.getElementKeyToQueue(),O=this.getKey(x),N=M[O];if(N)N.level=Math.max(N.level,m),N.eles.merge(x),N.reqs++,S.updateItem(N);else{var $={eles:x.spawn().merge(x),level:m,reqs:1,key:O};S.push($),M[O]=$}},Cf.dequeue=function(x){for(var m=this,k=m.getElementQueue(),S=m.getElementKeyToQueue(),M=[],O=m.lookup,N=0;N0;N++){var $=k.pop(),H=$.key,q=$.eles[0],Y=O.hasCache(q,$.level);if(S[H]=null,Y)continue;M.push($);var Z=m.getBoundingBox(q);m.getElement(q,Z,x,$.level,w8.dequeue)}return M},Cf.removeFromQueue=function(x){var m=this,k=m.getElementQueue(),S=m.getElementKeyToQueue(),M=this.getKey(x),O=S[M];O!=null&&(O.eles.length===1?(O.reqs=Q7,k.updateItem(O),k.pop(),S[M]=null):O.eles.unmerge(x))},Cf.onDequeue=function(x){this.onDequeues.push(x)},Cf.offDequeue=function(x){ey(this.onDequeues,x)},Cf.setupDequeueing=pz.setupDequeueing({deqRedrawThreshold:vie,deqCost:gie,deqAvgCost:pie,deqNoDrawCost:bie,deqFastCost:mie,deq:function(m,k,S){return m.dequeue(k,S)},onDeqd:function(m,k){for(var S=0;S=kie||k>JS)return null}S.validateLayersElesOrdering(k,x);var H=S.layersByLevel,q=Math.pow(2,k),Y=H[k]=H[k]||[],Z,ce=S.levelIsComplete(k,x),ve,me=function(){var Lt=function(_n){if(S.validateLayersElesOrdering(_n,x),S.levelIsComplete(_n,x))return ve=H[_n],!0},Mt=function(_n){if(!ve)for(var fn=k+_n;bk<=fn&&fn<=JS&&!Lt(fn);fn+=_n);};Mt(1),Mt(-1);for(var ut=Y.length-1;ut>=0;ut--){var Yt=Y[ut];Yt.invalid&&ey(Y,Yt)}};if(!ce)me();else return Y;var Le=function(){if(!Z){Z=Qd();for(var Lt=0;Ltwz)return null;var Yt=S.makeLayer(Z,k);if(Mt!=null){var St=Y.indexOf(Mt)+1;Y.splice(St,0,Yt)}else(Lt.insert===void 0||Lt.insert)&&Y.unshift(Yt);return Yt};if(S.skipping&&!$)return null;for(var Te=null,Fe=x.length/xie,Re=!$,Ve=0;Ve=Fe||!Tj(Te.bb,ct.boundingBox()))&&(Te=_e({insert:!0,after:Te}),!Te))return null;ve||Re?S.queueLayer(Te,ct):S.drawEleInLayer(Te,ct,k,m),Te.eles.push(ct),Ye[k]=Te}return ve||(Re?null:Y)},t0.getEleLevelForLayerLevel=function(x,m){return x},t0.drawEleInLayer=function(x,m,k,S){var M=this,O=this.renderer,N=x.context,$=m.boundingBox();$.w===0||$.h===0||!m.visible()||(k=M.getEleLevelForLayerLevel(k,S),O.setImgSmoothing(N,!1),O.drawCachedElement(N,m,null,null,k,yz),O.setImgSmoothing(N,!0))},t0.levelIsComplete=function(x,m){var k=this,S=k.layersByLevel[x];if(!S||S.length===0)return!1;for(var M=0,O=0;O0||N.invalid)return!1;M+=N.eles.length}return M===m.length},t0.validateLayersElesOrdering=function(x,m){var k=this.layersByLevel[x];if(k)for(var S=0;S0){m=!0;break}}return m},t0.invalidateElements=function(x){var m=this;x.length!==0&&(m.lastInvalidationTime=Vp(),!(x.length===0||!m.haveLayers())&&m.updateElementsInLayers(x,function(S,M,O){m.invalidateLayer(S)}))},t0.invalidateLayer=function(x){if(this.lastInvalidationTime=Vp(),!x.invalid){var m=x.level,k=x.eles,S=this.layersByLevel[m];ey(S,x),x.elesQueue=[],x.invalid=!0,x.replacement&&(x.replacement.invalid=!0);for(var M=0;M3&&arguments[3]!==void 0?arguments[3]:!0,M=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,O=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,N=this,$=m._private.rscratch;if(!(O&&!m.visible())&&!($.badLine||$.allpts==null||isNaN($.allpts[0]))){var H;k&&(H=k,x.translate(-H.x1,-H.y1));var q=O?m.pstyle("opacity").value:1,Y=O?m.pstyle("line-opacity").value:1,Z=m.pstyle("curve-style").value,ce=m.pstyle("line-style").value,ve=m.pstyle("width").pfValue,me=m.pstyle("line-cap").value,Le=q*Y,_e=q*Y,Te=function(){var ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Le;Z==="straight-triangle"?(N.eleStrokeStyle(x,m,ut),N.drawEdgeTrianglePath(m,x,$.allpts)):(x.lineWidth=ve,x.lineCap=me,N.eleStrokeStyle(x,m,ut),N.drawEdgePath(m,x,$.allpts,ce),x.lineCap="butt")},Fe=function(){M&&N.drawEdgeOverlay(x,m)},Re=function(){M&&N.drawEdgeUnderlay(x,m)},Ve=function(){var ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_e;N.drawArrowheads(x,m,ut)},ct=function(){N.drawElementText(x,m,null,S)};x.lineJoin="round";var st=m.pstyle("ghost").value==="yes";if(st){var Ye=m.pstyle("ghost-offset-x").pfValue,vt=m.pstyle("ghost-offset-y").pfValue,Qe=m.pstyle("ghost-opacity").value,Lt=Le*Qe;x.translate(Ye,vt),Te(Lt),Ve(Lt),x.translate(-Ye,-vt)}Re(),Te(),Ve(),Fe(),ct(),k&&x.translate(H.x1,H.y1)}};var _z=function(m){if(!["overlay","underlay"].includes(m))throw new Error("Invalid state");return function(k,S){if(S.visible()){var M=S.pstyle("".concat(m,"-opacity")).value;if(M!==0){var O=this,N=O.usePaths(),$=S._private.rscratch,H=S.pstyle("".concat(m,"-padding")).pfValue,q=2*H,Y=S.pstyle("".concat(m,"-color")).value;k.lineWidth=q,$.edgeType==="self"&&!N?k.lineCap="butt":k.lineCap="round",O.colorStrokeStyle(k,Y[0],Y[1],Y[2],M),O.drawEdgePath(S,k,$.allpts,"solid")}}}};ob.drawEdgeOverlay=_z("overlay"),ob.drawEdgeUnderlay=_z("underlay"),ob.drawEdgePath=function(x,m,k,S){var M=x._private.rscratch,O=m,N,$=!1,H=this.usePaths(),q=x.pstyle("line-dash-pattern").pfValue,Y=x.pstyle("line-dash-offset").pfValue;if(H){var Z=k.join("$"),ce=M.pathCacheKey&&M.pathCacheKey===Z;ce?(N=m=M.pathCache,$=!0):(N=m=new Path2D,M.pathCacheKey=Z,M.pathCache=N)}if(O.setLineDash)switch(S){case"dotted":O.setLineDash([1,1]);break;case"dashed":O.setLineDash(q),O.lineDashOffset=Y;break;case"solid":O.setLineDash([]);break}if(!$&&!M.badLine)switch(m.beginPath&&m.beginPath(),m.moveTo(k[0],k[1]),M.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var ve=2;ve+35&&arguments[5]!==void 0?arguments[5]:!0,N=this;if(S==null){if(O&&!N.eleTextBiggerThanMin(m))return}else if(S===!1)return;if(m.isNode()){var $=m.pstyle("label");if(!$||!$.value)return;var H=N.getLabelJustification(m);x.textAlign=H,x.textBaseline="bottom"}else{var q=m.element()._private.rscratch.badLine,Y=m.pstyle("label"),Z=m.pstyle("source-label"),ce=m.pstyle("target-label");if(q||(!Y||!Y.value)&&(!Z||!Z.value)&&(!ce||!ce.value))return;x.textAlign="center",x.textBaseline="bottom"}var ve=!k,me;k&&(me=k,x.translate(-me.x1,-me.y1)),M==null?(N.drawText(x,m,null,ve,O),m.isEdge()&&(N.drawText(x,m,"source",ve,O),N.drawText(x,m,"target",ve,O))):N.drawText(x,m,M,ve,O),k&&x.translate(me.x1,me.y1)},k5.getFontCache=function(x){var m;this.fontCaches=this.fontCaches||[];for(var k=0;k2&&arguments[2]!==void 0?arguments[2]:!0,S=m.pstyle("font-style").strValue,M=m.pstyle("font-size").pfValue+"px",O=m.pstyle("font-family").strValue,N=m.pstyle("font-weight").strValue,$=k?m.effectiveOpacity()*m.pstyle("text-opacity").value:1,H=m.pstyle("text-outline-opacity").value*$,q=m.pstyle("color").value,Y=m.pstyle("text-outline-color").value;x.font=S+" "+N+" "+M+" "+O,x.lineJoin="round",this.colorFillStyle(x,q[0],q[1],q[2],$),this.colorStrokeStyle(x,Y[0],Y[1],Y[2],H)};function YI(x,m,k,S,M){var O=arguments.length>5&&arguments[5]!==void 0?arguments[5]:5,N=arguments.length>6?arguments[6]:void 0;x.beginPath(),x.moveTo(m+O,k),x.lineTo(m+S-O,k),x.quadraticCurveTo(m+S,k,m+S,k+O),x.lineTo(m+S,k+M-O),x.quadraticCurveTo(m+S,k+M,m+S-O,k+M),x.lineTo(m+O,k+M),x.quadraticCurveTo(m,k+M,m,k+M-O),x.lineTo(m,k+O),x.quadraticCurveTo(m,k,m+O,k),x.closePath(),N?x.stroke():x.fill()}k5.getTextAngle=function(x,m){var k,S=x._private,M=S.rscratch,O=m?m+"-":"",N=x.pstyle(O+"text-rotation"),$=nb(M,"labelAngle",m);return N.strValue==="autorotate"?k=x.isEdge()?$:0:N.strValue==="none"?k=0:k=N.pfValue,k},k5.drawText=function(x,m,k){var S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,M=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,O=m._private,N=O.rscratch,$=M?m.effectiveOpacity():1;if(!(M&&($===0||m.pstyle("text-opacity").value===0))){k==="main"&&(k=null);var H=nb(N,"labelX",k),q=nb(N,"labelY",k),Y,Z,ce=this.getLabelText(m,k);if(ce!=null&&ce!==""&&!isNaN(H)&&!isNaN(q)){this.setupTextStyle(x,m,M);var ve=k?k+"-":"",me=nb(N,"labelWidth",k),Le=nb(N,"labelHeight",k),_e=m.pstyle(ve+"text-margin-x").pfValue,Te=m.pstyle(ve+"text-margin-y").pfValue,Fe=m.isEdge(),Re=m.pstyle("text-halign").value,Ve=m.pstyle("text-valign").value;Fe&&(Re="center",Ve="center"),H+=_e,q+=Te;var ct;switch(S?ct=this.getTextAngle(m,k):ct=0,ct!==0&&(Y=H,Z=q,x.translate(Y,Z),x.rotate(ct),H=0,q=0),Ve){case"top":break;case"center":q+=Le/2;break;case"bottom":q+=Le;break}var st=m.pstyle("text-background-opacity").value,Ye=m.pstyle("text-border-opacity").value,vt=m.pstyle("text-border-width").pfValue,Qe=m.pstyle("text-background-padding").pfValue,Lt=m.pstyle("text-background-shape").strValue,Mt=Lt.indexOf("round")===0,ut=2;if(st>0||vt>0&&Ye>0){var Yt=H-Qe;switch(Re){case"left":Yt-=me;break;case"center":Yt-=me/2;break}var St=q-Le-Qe,_n=me+2*Qe,fn=Le+2*Qe;if(st>0){var Xt=x.fillStyle,Dn=m.pstyle("text-background-color").value;x.fillStyle="rgba("+Dn[0]+","+Dn[1]+","+Dn[2]+","+st*$+")",Mt?YI(x,Yt,St,_n,fn,ut):x.fillRect(Yt,St,_n,fn),x.fillStyle=Xt}if(vt>0&&Ye>0){var rr=x.strokeStyle,mr=x.lineWidth,Pn=m.pstyle("text-border-color").value,gr=m.pstyle("text-border-style").value;if(x.strokeStyle="rgba("+Pn[0]+","+Pn[1]+","+Pn[2]+","+Ye*$+")",x.lineWidth=vt,x.setLineDash)switch(gr){case"dotted":x.setLineDash([1,1]);break;case"dashed":x.setLineDash([4,2]);break;case"double":x.lineWidth=vt/4,x.setLineDash([]);break;case"solid":x.setLineDash([]);break}if(Mt?YI(x,Yt,St,_n,fn,ut,"stroke"):x.strokeRect(Yt,St,_n,fn),gr==="double"){var kr=vt/2;Mt?YI(x,Yt+kr,St+kr,_n-kr*2,fn-kr*2,ut,"stroke"):x.strokeRect(Yt+kr,St+kr,_n-kr*2,fn-kr*2)}x.setLineDash&&x.setLineDash([]),x.lineWidth=mr,x.strokeStyle=rr}}var Lr=2*m.pstyle("text-outline-width").pfValue;if(Lr>0&&(x.lineWidth=Lr),m.pstyle("text-wrap").value==="wrap"){var Er=nb(N,"labelWrapCachedLines",k),Ir=nb(N,"labelLineHeight",k),Kn=me/2,pr=this.getLabelJustification(m);switch(pr==="auto"||(Re==="left"?pr==="left"?H+=-me:pr==="center"&&(H+=-Kn):Re==="center"?pr==="left"?H+=-Kn:pr==="right"&&(H+=Kn):Re==="right"&&(pr==="center"?H+=Kn:pr==="right"&&(H+=me))),Ve){case"top":q-=(Er.length-1)*Ir;break;case"center":case"bottom":q-=(Er.length-1)*Ir;break}for(var Cr=0;Cr0&&x.strokeText(Er[Cr],H,q),x.fillText(Er[Cr],H,q),q+=Ir}else Lr>0&&x.strokeText(ce,H,q),x.fillText(ce,H,q);ct!==0&&(x.rotate(-ct),x.translate(-Y,-Z))}}};var y8={};y8.drawNode=function(x,m,k){var S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,M=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,O=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,N=this,$,H,q=m._private,Y=q.rscratch,Z=m.position();if(!(!X(Z.x)||!X(Z.y))&&!(O&&!m.visible())){var ce=O?m.effectiveOpacity():1,ve=N.usePaths(),me,Le=!1,_e=m.padding();$=m.width()+2*_e,H=m.height()+2*_e;var Te;k&&(Te=k,x.translate(-Te.x1,-Te.y1));for(var Fe=m.pstyle("background-image"),Re=Fe.value,Ve=new Array(Re.length),ct=new Array(Re.length),st=0,Ye=0;Ye0&&arguments[0]!==void 0?arguments[0]:Yt;N.eleFillStyle(x,m,er)},kr=function(){var er=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fn;N.colorStrokeStyle(x,St[0],St[1],St[2],er)},Lr=function(){var er=arguments.length>0&&arguments[0]!==void 0?arguments[0]:mr;N.colorStrokeStyle(x,Dn[0],Dn[1],Dn[2],er)},Er=function(er,K,Qn,xr){var ur=N.nodePathCache=N.nodePathCache||[],Ut=ud(Qn==="polygon"?Qn+","+xr.join(","):Qn,""+K,""+er),Vs=ur[Ut],vr,Cs=!1;return Vs!=null?(vr=Vs,Cs=!0,Y.pathCache=vr):(vr=new Path2D,ur[Ut]=Y.pathCache=vr),{path:vr,cacheHit:Cs}},Ir=m.pstyle("shape").strValue,Kn=m.pstyle("shape-polygon-points").pfValue;if(ve){x.translate(Z.x,Z.y);var pr=Er($,H,Ir,Kn);me=pr.path,Le=pr.cacheHit}var Cr=function(){if(!Le){var er=Z;ve&&(er={x:0,y:0}),N.nodeShapes[N.getNodeShape(m)].draw(me||x,er.x,er.y,$,H)}ve?x.fill(me):x.fill()},Or=function(){for(var er=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ce,K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Qn=q.backgrounding,xr=0,ur=0;ur0&&arguments[0]!==void 0?arguments[0]:!1,K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ce;N.hasPie(m)&&(N.drawPie(x,m,K),er&&(ve||N.nodeShapes[N.getNodeShape(m)].draw(x,Z.x,Z.y,$,H)))},xs=function(){var er=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ce,K=(Mt>0?Mt:-Mt)*er,Qn=Mt>0?0:255;Mt!==0&&(N.colorFillStyle(x,Qn,Qn,Qn,K),ve?x.fill(me):x.fill())},va=function(){if(ut>0){if(x.lineWidth=ut,x.lineCap="butt",x.setLineDash)switch(_n){case"dotted":x.setLineDash([1,1]);break;case"dashed":x.setLineDash([4,2]);break;case"solid":case"double":x.setLineDash([]);break}if(ve?x.stroke(me):x.stroke(),_n==="double"){x.lineWidth=ut/3;var er=x.globalCompositeOperation;x.globalCompositeOperation="destination-out",ve?x.stroke(me):x.stroke(),x.globalCompositeOperation=er}x.setLineDash&&x.setLineDash([])}},Di=function(){if(Xt>0){if(x.lineWidth=Xt,x.lineCap="butt",x.setLineDash)switch(rr){case"dotted":x.setLineDash([1,1]);break;case"dashed":x.setLineDash([4,2]);break;case"solid":case"double":x.setLineDash([]);break}var er=Z;ve&&(er={x:0,y:0});var K=N.getNodeShape(m),Qn=($+ut+(Xt+Pn))/$,xr=(H+ut+(Xt+Pn))/H,ur=$*Qn,Ut=H*xr,Vs=N.nodeShapes[K].points,vr;if(ve){var Cs=Er(ur,Ut,K,Vs);vr=Cs.path}if(K==="ellipse")N.drawEllipsePath(vr||x,er.x,er.y,ur,Ut);else if(["round-diamond","round-heptagon","round-hexagon","round-octagon","round-pentagon","round-polygon","round-triangle","round-tag"].includes(K)){var lo=0,qc=0,$a=0;K==="round-diamond"?lo=(ut+Pn+Xt)*1.4:K==="round-heptagon"?(lo=(ut+Pn+Xt)*1.075,$a=-(ut/2+Pn+Xt)/35):K==="round-hexagon"?lo=(ut+Pn+Xt)*1.12:K==="round-pentagon"?(lo=(ut+Pn+Xt)*1.13,$a=-(ut/2+Pn+Xt)/15):K==="round-tag"?(lo=(ut+Pn+Xt)*1.12,qc=(ut/2+Xt+Pn)*.07):K==="round-triangle"&&(lo=(ut+Pn+Xt)*(Math.PI/2),$a=-(ut+Pn/2+Xt)/Math.PI),lo!==0&&(Qn=($+lo)/$,xr=(H+lo)/H),N.drawRoundPolygonPath(vr||x,er.x+qc,er.y+$a,$*Qn,H*xr,Vs)}else if(["roundrectangle","round-rectangle"].includes(K))N.drawRoundRectanglePath(vr||x,er.x,er.y,ur,Ut);else if(["cutrectangle","cut-rectangle"].includes(K))N.drawCutRectanglePath(vr||x,er.x,er.y,ur,Ut);else if(["bottomroundrectangle","bottom-round-rectangle"].includes(K))N.drawBottomRoundRectanglePath(vr||x,er.x,er.y,ur,Ut);else if(K==="barrel")N.drawBarrelPath(vr||x,er.x,er.y,ur,Ut);else if(K.startsWith("polygon")||["rhomboid","right-rhomboid","round-tag","tag","vee"].includes(K)){var Mc=(ut+Xt+Pn)/$;Vs=pS(bS(Vs,Mc)),N.drawPolygonPath(vr||x,er.x,er.y,$,H,Vs)}else{var wa=(ut+Xt+Pn)/$;Vs=pS(bS(Vs,-wa)),N.drawPolygonPath(vr||x,er.x,er.y,$,H,Vs)}if(ve?x.stroke(vr):x.stroke(),rr==="double"){x.lineWidth=ut/3;var wo=x.globalCompositeOperation;x.globalCompositeOperation="destination-out",ve?x.stroke(vr):x.stroke(),x.globalCompositeOperation=wo}x.setLineDash&&x.setLineDash([])}},pi=function(){M&&N.drawNodeOverlay(x,m,Z,$,H)},fs=function(){M&&N.drawNodeUnderlay(x,m,Z,$,H)},Fs=function(){N.drawElementText(x,m,null,S)},ks=m.pstyle("ghost").value==="yes";if(ks){var Rs=m.pstyle("ghost-offset-x").pfValue,vo=m.pstyle("ghost-offset-y").pfValue,ja=m.pstyle("ghost-opacity").value,Ma=ja*ce;x.translate(Rs,vo),Lr(),Di(),gr(ja*Yt),Cr(),Or(Ma,!0),kr(ja*fn),va(),_i(Mt!==0||ut!==0),Or(Ma,!1),xs(Ma),x.translate(-Rs,-vo)}ve&&x.translate(-Z.x,-Z.y),fs(),ve&&x.translate(Z.x,Z.y),Lr(),Di(),gr(),Cr(),Or(ce,!0),kr(),va(),_i(Mt!==0||ut!==0),Or(ce,!1),xs(),ve&&x.translate(-Z.x,-Z.y),Fs(),pi(),k&&x.translate(Te.x1,Te.y1)}};var XI=function(m){if(!["overlay","underlay"].includes(m))throw new Error("Invalid state");return function(k,S,M,O,N){var $=this;if(S.visible()){var H=S.pstyle("".concat(m,"-padding")).pfValue,q=S.pstyle("".concat(m,"-opacity")).value,Y=S.pstyle("".concat(m,"-color")).value,Z=S.pstyle("".concat(m,"-shape")).value;if(q>0){if(M=M||S.position(),O==null||N==null){var ce=S.padding();O=S.width()+2*ce,N=S.height()+2*ce}$.colorFillStyle(k,Y[0],Y[1],Y[2],q),$.nodeShapes[Z].draw(k,M.x,M.y,O+H*2,N+H*2),k.fill()}}}};y8.drawNodeOverlay=XI("overlay"),y8.drawNodeUnderlay=XI("underlay"),y8.hasPie=function(x){return x=x[0],x._private.hasPie},y8.drawPie=function(x,m,k,S){m=m[0],S=S||m.position();var M=m.cy().style(),O=m.pstyle("pie-size"),N=S.x,$=S.y,H=m.width(),q=m.height(),Y=Math.min(H,q)/2,Z=0,ce=this.usePaths();ce&&(N=0,$=0),O.units==="%"?Y=Y*O.pfValue:O.pfValue!==void 0&&(Y=O.pfValue/2);for(var ve=1;ve<=M.pieBackgroundN;ve++){var me=m.pstyle("pie-"+ve+"-background-size").value,Le=m.pstyle("pie-"+ve+"-background-color").value,_e=m.pstyle("pie-"+ve+"-background-opacity").value*k,Te=me/100;Te+Z>1&&(Te=1-Z);var Fe=1.5*Math.PI+2*Math.PI*Z,Re=2*Math.PI*Te,Ve=Fe+Re;me===0||Z>=1||Z+Te>1||(x.beginPath(),x.moveTo(N,$),x.arc(N,$,Y,Fe,Ve),x.closePath(),this.colorFillStyle(x,Le[0],Le[1],Le[2],_e),x.fill(),Z+=Te)}};var Gg={},Pie=100;Gg.getPixelRatio=function(){var x=this.data.contexts[0];if(this.forcedPixelRatio!=null)return this.forcedPixelRatio;var m=x.backingStorePixelRatio||x.webkitBackingStorePixelRatio||x.mozBackingStorePixelRatio||x.msBackingStorePixelRatio||x.oBackingStorePixelRatio||x.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/m},Gg.paintCache=function(x){for(var m=this.paintCaches=this.paintCaches||[],k=!0,S,M=0;MN.minMbLowQualFrames&&(N.motionBlurPxRatio=N.mbPxRBlurry)),N.clearingMotionBlur&&(N.motionBlurPxRatio=1),N.textureDrawLastFrame&&!Z&&(Y[N.NODE]=!0,Y[N.SELECT_BOX]=!0);var Fe=H.style(),Re=H.zoom(),Ve=M!==void 0?M:Re,ct=H.pan(),st={x:ct.x,y:ct.y},Ye={zoom:Re,pan:{x:ct.x,y:ct.y}},vt=N.prevViewport,Qe=vt===void 0||Ye.zoom!==vt.zoom||Ye.pan.x!==vt.pan.x||Ye.pan.y!==vt.pan.y;!Qe&&!(Le&&!me)&&(N.motionBlurPxRatio=1),O&&(st=O),Ve*=$,st.x*=$,st.y*=$;var Lt=N.getCachedZSortedEles();function Mt(Di,pi,fs,Fs,ks){var Rs=Di.globalCompositeOperation;Di.globalCompositeOperation="destination-out",N.colorFillStyle(Di,255,255,255,N.motionBlurTransparency),Di.fillRect(pi,fs,Fs,ks),Di.globalCompositeOperation=Rs}function ut(Di,pi){var fs,Fs,ks,Rs;!N.clearingMotionBlur&&(Di===q.bufferContexts[N.MOTIONBLUR_BUFFER_NODE]||Di===q.bufferContexts[N.MOTIONBLUR_BUFFER_DRAG])?(fs={x:ct.x*ve,y:ct.y*ve},Fs=Re*ve,ks=N.canvasWidth*ve,Rs=N.canvasHeight*ve):(fs=st,Fs=Ve,ks=N.canvasWidth,Rs=N.canvasHeight),Di.setTransform(1,0,0,1,0,0),pi==="motionBlur"?Mt(Di,0,0,ks,Rs):!m&&(pi===void 0||pi)&&Di.clearRect(0,0,ks,Rs),k||(Di.translate(fs.x,fs.y),Di.scale(Fs,Fs)),O&&Di.translate(O.x,O.y),M&&Di.scale(M,M)}if(Z||(N.textureDrawLastFrame=!1),Z){if(N.textureDrawLastFrame=!0,!N.textureCache){N.textureCache={},N.textureCache.bb=H.mutableElements().boundingBox(),N.textureCache.texture=N.data.bufferCanvases[N.TEXTURE_BUFFER];var Yt=N.data.bufferContexts[N.TEXTURE_BUFFER];Yt.setTransform(1,0,0,1,0,0),Yt.clearRect(0,0,N.canvasWidth*N.textureMult,N.canvasHeight*N.textureMult),N.render({forcedContext:Yt,drawOnlyNodeLayer:!0,forcedPxRatio:$*N.textureMult});var Ye=N.textureCache.viewport={zoom:H.zoom(),pan:H.pan(),width:N.canvasWidth,height:N.canvasHeight};Ye.mpan={x:(0-Ye.pan.x)/Ye.zoom,y:(0-Ye.pan.y)/Ye.zoom}}Y[N.DRAG]=!1,Y[N.NODE]=!1;var St=q.contexts[N.NODE],_n=N.textureCache.texture,Ye=N.textureCache.viewport;St.setTransform(1,0,0,1,0,0),ce?Mt(St,0,0,Ye.width,Ye.height):St.clearRect(0,0,Ye.width,Ye.height);var fn=Fe.core("outside-texture-bg-color").value,Xt=Fe.core("outside-texture-bg-opacity").value;N.colorFillStyle(St,fn[0],fn[1],fn[2],Xt),St.fillRect(0,0,Ye.width,Ye.height);var Re=H.zoom();ut(St,!1),St.clearRect(Ye.mpan.x,Ye.mpan.y,Ye.width/Ye.zoom/$,Ye.height/Ye.zoom/$),St.drawImage(_n,Ye.mpan.x,Ye.mpan.y,Ye.width/Ye.zoom/$,Ye.height/Ye.zoom/$)}else N.textureOnViewport&&!m&&(N.textureCache=null);var Dn=H.extent(),rr=N.pinching||N.hoverData.dragging||N.swipePanning||N.data.wheelZooming||N.hoverData.draggingEles||N.cy.animated(),mr=N.hideEdgesOnViewport&&rr,Pn=[];if(Pn[N.NODE]=!Y[N.NODE]&&ce&&!N.clearedForMotionBlur[N.NODE]||N.clearingMotionBlur,Pn[N.NODE]&&(N.clearedForMotionBlur[N.NODE]=!0),Pn[N.DRAG]=!Y[N.DRAG]&&ce&&!N.clearedForMotionBlur[N.DRAG]||N.clearingMotionBlur,Pn[N.DRAG]&&(N.clearedForMotionBlur[N.DRAG]=!0),Y[N.NODE]||k||S||Pn[N.NODE]){var gr=ce&&!Pn[N.NODE]&&ve!==1,St=m||(gr?N.data.bufferContexts[N.MOTIONBLUR_BUFFER_NODE]:q.contexts[N.NODE]),kr=ce&&!gr?"motionBlur":void 0;ut(St,kr),mr?N.drawCachedNodes(St,Lt.nondrag,$,Dn):N.drawLayeredElements(St,Lt.nondrag,$,Dn),N.debug&&N.drawDebugPoints(St,Lt.nondrag),!k&&!ce&&(Y[N.NODE]=!1)}if(!S&&(Y[N.DRAG]||k||Pn[N.DRAG])){var gr=ce&&!Pn[N.DRAG]&&ve!==1,St=m||(gr?N.data.bufferContexts[N.MOTIONBLUR_BUFFER_DRAG]:q.contexts[N.DRAG]);ut(St,ce&&!gr?"motionBlur":void 0),mr?N.drawCachedNodes(St,Lt.drag,$,Dn):N.drawCachedElements(St,Lt.drag,$,Dn),N.debug&&N.drawDebugPoints(St,Lt.drag),!k&&!ce&&(Y[N.DRAG]=!1)}if(N.showFps||!S&&Y[N.SELECT_BOX]&&!k){var St=m||q.contexts[N.SELECT_BOX];if(ut(St),N.selection[4]==1&&(N.hoverData.selecting||N.touchData.selecting)){var Re=N.cy.zoom(),Lr=Fe.core("selection-box-border-width").value/Re;St.lineWidth=Lr,St.fillStyle="rgba("+Fe.core("selection-box-color").value[0]+","+Fe.core("selection-box-color").value[1]+","+Fe.core("selection-box-color").value[2]+","+Fe.core("selection-box-opacity").value+")",St.fillRect(N.selection[0],N.selection[1],N.selection[2]-N.selection[0],N.selection[3]-N.selection[1]),Lr>0&&(St.strokeStyle="rgba("+Fe.core("selection-box-border-color").value[0]+","+Fe.core("selection-box-border-color").value[1]+","+Fe.core("selection-box-border-color").value[2]+","+Fe.core("selection-box-opacity").value+")",St.strokeRect(N.selection[0],N.selection[1],N.selection[2]-N.selection[0],N.selection[3]-N.selection[1]))}if(q.bgActivePosistion&&!N.hoverData.selecting){var Re=N.cy.zoom(),Er=q.bgActivePosistion;St.fillStyle="rgba("+Fe.core("active-bg-color").value[0]+","+Fe.core("active-bg-color").value[1]+","+Fe.core("active-bg-color").value[2]+","+Fe.core("active-bg-opacity").value+")",St.beginPath(),St.arc(Er.x,Er.y,Fe.core("active-bg-size").pfValue/Re,0,2*Math.PI),St.fill()}var Ir=N.lastRedrawTime;if(N.showFps&&Ir){Ir=Math.round(Ir);var Kn=Math.round(1e3/Ir);St.setTransform(1,0,0,1,0,0),St.fillStyle="rgba(255, 0, 0, 0.75)",St.strokeStyle="rgba(255, 0, 0, 0.75)",St.lineWidth=1,St.fillText("1 frame = "+Ir+" ms = "+Kn+" fps",0,20);var pr=60;St.strokeRect(0,30,250,20),St.fillRect(0,30,250*Math.min(Kn/pr,1),20)}k||(Y[N.SELECT_BOX]=!1)}if(ce&&ve!==1){var Cr=q.contexts[N.NODE],Or=N.data.bufferCanvases[N.MOTIONBLUR_BUFFER_NODE],_i=q.contexts[N.DRAG],xs=N.data.bufferCanvases[N.MOTIONBLUR_BUFFER_DRAG],va=function(pi,fs,Fs){pi.setTransform(1,0,0,1,0,0),Fs||!Te?pi.clearRect(0,0,N.canvasWidth,N.canvasHeight):Mt(pi,0,0,N.canvasWidth,N.canvasHeight);var ks=ve;pi.drawImage(fs,0,0,N.canvasWidth*ks,N.canvasHeight*ks,0,0,N.canvasWidth,N.canvasHeight)};(Y[N.NODE]||Pn[N.NODE])&&(va(Cr,Or,Pn[N.NODE]),Y[N.NODE]=!1),(Y[N.DRAG]||Pn[N.DRAG])&&(va(_i,xs,Pn[N.DRAG]),Y[N.DRAG]=!1)}N.prevViewport=Ye,N.clearingMotionBlur&&(N.clearingMotionBlur=!1,N.motionBlurCleared=!0,N.motionBlur=!0),ce&&(N.motionBlurTimeout=setTimeout(function(){N.motionBlurTimeout=null,N.clearedForMotionBlur[N.NODE]=!1,N.clearedForMotionBlur[N.DRAG]=!1,N.motionBlur=!1,N.clearingMotionBlur=!Z,N.mbFrames=0,Y[N.NODE]=!0,Y[N.DRAG]=!0,N.redraw()},Pie)),m||H.emit("render")};var oy={};oy.drawPolygonPath=function(x,m,k,S,M,O){var N=S/2,$=M/2;x.beginPath&&x.beginPath(),x.moveTo(m+N*O[0],k+$*O[1]);for(var H=1;H0&&N>0){ve.clearRect(0,0,O,N),ve.globalCompositeOperation="source-over";var me=this.getCachedZSortedEles();if(x.full)ve.translate(-S.x1*q,-S.y1*q),ve.scale(q,q),this.drawElements(ve,me),ve.scale(1/q,1/q),ve.translate(S.x1*q,S.y1*q);else{var Le=m.pan(),_e={x:Le.x*q,y:Le.y*q};q*=m.zoom(),ve.translate(_e.x,_e.y),ve.scale(q,q),this.drawElements(ve,me),ve.scale(1/q,1/q),ve.translate(-_e.x,-_e.y)}x.bg&&(ve.globalCompositeOperation="destination-over",ve.fillStyle=x.bg,ve.rect(0,0,O,N),ve.fill())}return ce};function Bie(x,m){for(var k=atob(x),S=new ArrayBuffer(k.length),M=new Uint8Array(S),O=0;O"u"?"undefined":u(OffscreenCanvas))!=="undefined"?k=new OffscreenCanvas(x,m):(k=document.createElement("canvas"),k.width=x,k.height=m),k},[Tz,ab,ob,vk,k5,y8,Gg,oy,wk,Oz].forEach(function(x){xt(zc,x)});var Yp=[{name:"null",impl:nz},{name:"base",impl:gz},{name:"canvas",impl:Nz}],Fie=[{type:"layout",extensions:nie},{type:"renderer",extensions:Yp}],Rie={},jie={};function $ie(x,m,k){var S=k,M=function(vt){lu("Can not register `"+m+"` for `"+x+"` since `"+vt+"` already exists in the prototype and can not be overridden")};if(x==="core"){if(fk.prototype[m])return M(m);fk.prototype[m]=k}else if(x==="collection"){if(H0.prototype[m])return M(m);H0.prototype[m]=k}else if(x==="layout"){for(var O=function(vt){this.options=vt,k.call(this,vt),se(this._private)||(this._private={}),this._private.cy=vt.cy,this._private.listeners=[],this.createEmitter()},N=O.prototype=Object.create(k.prototype),$=[],H=0;H<$.length;H++){var q=$[H];N[q]=N[q]||function(){return this}}N.start&&!N.run?N.run=function(){return this.start(),this}:!N.start&&N.run&&(N.start=function(){return this.run(),this});var Y=k.prototype.stop;N.stop=function(){var Ye=this.options;if(Ye&&Ye.animate){var vt=this.animations;if(vt)for(var Qe=0;Qej&&(this.rect.x-=(this.labelWidth-j)/2,this.setWidth(this.labelWidth)),this.labelHeight>W&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-W)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-W),this.setHeight(this.labelHeight))}}},P.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==b.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},P.prototype.transform=function(B){var j=this.rect.x;j>E.WORLD_BOUNDARY?j=E.WORLD_BOUNDARY:j<-E.WORLD_BOUNDARY&&(j=-E.WORLD_BOUNDARY);var W=this.rect.y;W>E.WORLD_BOUNDARY?W=E.WORLD_BOUNDARY:W<-E.WORLD_BOUNDARY&&(W=-E.WORLD_BOUNDARY);var ee=new A(j,W),ie=B.inverseTransformPoint(ee);this.setLocation(ie.x,ie.y)},P.prototype.getLeft=function(){return this.rect.x},P.prototype.getRight=function(){return this.rect.x+this.rect.width},P.prototype.getTop=function(){return this.rect.y},P.prototype.getBottom=function(){return this.rect.y+this.rect.height},P.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},u.exports=P},function(u,d,p){function v(b,y){b==null&&y==null?(this.x=0,this.y=0):(this.x=b,this.y=y)}v.prototype.getX=function(){return this.x},v.prototype.getY=function(){return this.y},v.prototype.setX=function(b){this.x=b},v.prototype.setY=function(b){this.y=b},v.prototype.getDifference=function(b){return new DimensionD(this.x-b.x,this.y-b.y)},v.prototype.getCopy=function(){return new v(this.x,this.y)},v.prototype.translate=function(b){return this.x+=b.width,this.y+=b.height,this},u.exports=v},function(u,d,p){var v=p(2),b=p(10),y=p(0),E=p(6),_=p(3),A=p(1),P=p(13),R=p(12),B=p(11);function j(ee,ie,oe){v.call(this,oe),this.estimatedSize=b.MIN_VALUE,this.margin=y.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=ee,ie!=null&&ie instanceof E?this.graphManager=ie:ie!=null&&ie instanceof Layout&&(this.graphManager=ie.graphManager)}j.prototype=Object.create(v.prototype);for(var W in v)j[W]=v[W];j.prototype.getNodes=function(){return this.nodes},j.prototype.getEdges=function(){return this.edges},j.prototype.getGraphManager=function(){return this.graphManager},j.prototype.getParent=function(){return this.parent},j.prototype.getLeft=function(){return this.left},j.prototype.getRight=function(){return this.right},j.prototype.getTop=function(){return this.top},j.prototype.getBottom=function(){return this.bottom},j.prototype.isConnected=function(){return this.isConnected},j.prototype.add=function(ee,ie,oe){if(ie==null&&oe==null){var be=ee;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(be)>-1)throw"Node already in graph!";return be.owner=this,this.getNodes().push(be),be}else{var ge=ee;if(!(this.getNodes().indexOf(ie)>-1&&this.getNodes().indexOf(oe)>-1))throw"Source or target not in graph!";if(!(ie.owner==oe.owner&&ie.owner==this))throw"Both owners must be this graph!";return ie.owner!=oe.owner?null:(ge.source=ie,ge.target=oe,ge.isInterGraph=!1,this.getEdges().push(ge),ie.edges.push(ge),oe!=ie&&oe.edges.push(ge),ge)}},j.prototype.remove=function(ee){var ie=ee;if(ee instanceof _){if(ie==null)throw"Node is null!";if(!(ie.owner!=null&&ie.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var oe=ie.edges.slice(),be,ge=oe.length,ae=0;ae-1&&de>-1))throw"Source and/or target doesn't know this edge!";be.source.edges.splice(se,1),be.target!=be.source&&be.target.edges.splice(de,1);var ne=be.source.owner.getEdges().indexOf(be);if(ne==-1)throw"Not in owner's edge list!";be.source.owner.getEdges().splice(ne,1)}},j.prototype.updateLeftTop=function(){for(var ee=b.MAX_VALUE,ie=b.MAX_VALUE,oe,be,ge,ae=this.getNodes(),ne=ae.length,se=0;seoe&&(ee=oe),ie>be&&(ie=be)}return ee==b.MAX_VALUE?null:(ae[0].getParent().paddingLeft!=null?ge=ae[0].getParent().paddingLeft:ge=this.margin,this.left=ie-ge,this.top=ee-ge,new R(this.left,this.top))},j.prototype.updateBounds=function(ee){for(var ie=b.MAX_VALUE,oe=-b.MAX_VALUE,be=b.MAX_VALUE,ge=-b.MAX_VALUE,ae,ne,se,de,X,pe=this.nodes,G=pe.length,xe=0;xeae&&(ie=ae),oese&&(be=se),geae&&(ie=ae),oese&&(be=se),ge=this.nodes.length){var G=0;oe.forEach(function(xe){xe.owner==ee&&G++}),G==this.nodes.length&&(this.isConnected=!0)}},u.exports=j},function(u,d,p){var v,b=p(1);function y(E){v=p(5),this.layout=E,this.graphs=[],this.edges=[]}y.prototype.addRoot=function(){var E=this.layout.newGraph(),_=this.layout.newNode(null),A=this.add(E,_);return this.setRootGraph(A),this.rootGraph},y.prototype.add=function(E,_,A,P,R){if(A==null&&P==null&&R==null){if(E==null)throw"Graph is null!";if(_==null)throw"Parent node is null!";if(this.graphs.indexOf(E)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(E),E.parent!=null)throw"Already has a parent!";if(_.child!=null)throw"Already has a child!";return E.parent=_,_.child=E,E}else{R=A,P=_,A=E;var B=P.getOwner(),j=R.getOwner();if(!(B!=null&&B.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(j!=null&&j.getGraphManager()==this))throw"Target not in this graph mgr!";if(B==j)return A.isInterGraph=!1,B.add(A,P,R);if(A.isInterGraph=!0,A.source=P,A.target=R,this.edges.indexOf(A)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(A),!(A.source!=null&&A.target!=null))throw"Edge source and/or target is null!";if(!(A.source.edges.indexOf(A)==-1&&A.target.edges.indexOf(A)==-1))throw"Edge already in source and/or target incidency list!";return A.source.edges.push(A),A.target.edges.push(A),A}},y.prototype.remove=function(E){if(E instanceof v){var _=E;if(_.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(_==this.rootGraph||_.parent!=null&&_.parent.graphManager==this))throw"Invalid parent node!";var A=[];A=A.concat(_.getEdges());for(var P,R=A.length,B=0;B=E.getRight()?_[0]+=Math.min(E.getX()-y.getX(),y.getRight()-E.getRight()):E.getX()<=y.getX()&&E.getRight()>=y.getRight()&&(_[0]+=Math.min(y.getX()-E.getX(),E.getRight()-y.getRight())),y.getY()<=E.getY()&&y.getBottom()>=E.getBottom()?_[1]+=Math.min(E.getY()-y.getY(),y.getBottom()-E.getBottom()):E.getY()<=y.getY()&&E.getBottom()>=y.getBottom()&&(_[1]+=Math.min(y.getY()-E.getY(),E.getBottom()-y.getBottom()));var R=Math.abs((E.getCenterY()-y.getCenterY())/(E.getCenterX()-y.getCenterX()));E.getCenterY()===y.getCenterY()&&E.getCenterX()===y.getCenterX()&&(R=1);var B=R*_[0],j=_[1]/R;_[0]B)return _[0]=A,_[1]=W,_[2]=R,_[3]=pe,!1;if(PR)return _[0]=j,_[1]=P,_[2]=de,_[3]=B,!1;if(AR?(_[0]=ie,_[1]=oe,Be=!0):(_[0]=ee,_[1]=W,Be=!0):je===Se&&(A>R?(_[0]=j,_[1]=W,Be=!0):(_[0]=be,_[1]=oe,Be=!0)),-Ie===Se?R>A?(_[2]=X,_[3]=pe,Pe=!0):(_[2]=de,_[3]=se,Pe=!0):Ie===Se&&(R>A?(_[2]=ne,_[3]=se,Pe=!0):(_[2]=G,_[3]=pe,Pe=!0)),Be&&Pe)return!1;if(A>R?P>B?(Ce=this.getCardinalDirection(je,Se,4),ke=this.getCardinalDirection(Ie,Se,2)):(Ce=this.getCardinalDirection(-je,Se,3),ke=this.getCardinalDirection(-Ie,Se,1)):P>B?(Ce=this.getCardinalDirection(-je,Se,1),ke=this.getCardinalDirection(-Ie,Se,3)):(Ce=this.getCardinalDirection(je,Se,2),ke=this.getCardinalDirection(Ie,Se,4)),!Be)switch(Ce){case 1:zt=W,Ke=A+-ae/Se,_[0]=Ke,_[1]=zt;break;case 2:Ke=be,zt=P+ge*Se,_[0]=Ke,_[1]=zt;break;case 3:zt=oe,Ke=A+ae/Se,_[0]=Ke,_[1]=zt;break;case 4:Ke=ie,zt=P+-ge*Se,_[0]=Ke,_[1]=zt;break}if(!Pe)switch(ke){case 1:pn=se,Ne=R+-U/Se,_[2]=Ne,_[3]=pn;break;case 2:Ne=G,pn=B+xe*Se,_[2]=Ne,_[3]=pn;break;case 3:pn=pe,Ne=R+U/Se,_[2]=Ne,_[3]=pn;break;case 4:Ne=X,pn=B+-xe*Se,_[2]=Ne,_[3]=pn;break}}return!1},b.getCardinalDirection=function(y,E,_){return y>E?_:1+_%4},b.getIntersection=function(y,E,_,A){if(A==null)return this.getIntersection2(y,E,_);var P=y.x,R=y.y,B=E.x,j=E.y,W=_.x,ee=_.y,ie=A.x,oe=A.y,be=void 0,ge=void 0,ae=void 0,ne=void 0,se=void 0,de=void 0,X=void 0,pe=void 0,G=void 0;return ae=j-R,se=P-B,X=B*R-P*j,ne=oe-ee,de=W-ie,pe=ie*ee-W*oe,G=ae*de-ne*se,G===0?null:(be=(se*pe-de*X)/G,ge=(ne*X-ae*pe)/G,new v(be,ge))},b.angleOfVector=function(y,E,_,A){var P=void 0;return y!==_?(P=Math.atan((A-E)/(_-y)),_0?1:b<0?-1:0},v.floor=function(b){return b<0?Math.ceil(b):Math.floor(b)},v.ceil=function(b){return b<0?Math.floor(b):Math.ceil(b)},u.exports=v},function(u,d,p){function v(){}v.MAX_VALUE=2147483647,v.MIN_VALUE=-2147483648,u.exports=v},function(u,d,p){var v=function(){function P(R,B){for(var j=0;j"u"?"undefined":v(y);return y==null||E!="object"&&E!="function"},u.exports=b},function(u,d,p){function v(W){if(Array.isArray(W)){for(var ee=0,ie=Array(W.length);ee0&ⅇ){for(ae.push(se[0]);ae.length>0&ⅇ){var de=ae[0];ae.splice(0,1),ge.add(de);for(var X=de.getEdges(),be=0;be-1&&se.splice(U,1)}ge=new Set,ne=new Map}}return W},j.prototype.createDummyNodesForBendpoints=function(W){for(var ee=[],ie=W.source,oe=this.graphManager.calcLowestCommonAncestor(W.source,W.target),be=0;be0){for(var oe=this.edgeToDummyNodes.get(ie),be=0;be=0&&ee.splice(pe,1);var G=ne.getNeighborsList();G.forEach(function(Be){if(ie.indexOf(Be)<0){var Pe=oe.get(Be),je=Pe-1;je==1&&de.push(Be),oe.set(Be,je)}})}ie=ie.concat(de),(ee.length==1||ee.length==2)&&(be=!0,ge=ee[0])}return ge},j.prototype.setGraphManager=function(W){this.graphManager=W},u.exports=j},function(u,d,p){function v(){}v.seed=1,v.x=0,v.nextDouble=function(){return v.x=Math.sin(v.seed++)*1e4,v.x-Math.floor(v.x)},u.exports=v},function(u,d,p){var v=p(4);function b(y,E){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}b.prototype.getWorldOrgX=function(){return this.lworldOrgX},b.prototype.setWorldOrgX=function(y){this.lworldOrgX=y},b.prototype.getWorldOrgY=function(){return this.lworldOrgY},b.prototype.setWorldOrgY=function(y){this.lworldOrgY=y},b.prototype.getWorldExtX=function(){return this.lworldExtX},b.prototype.setWorldExtX=function(y){this.lworldExtX=y},b.prototype.getWorldExtY=function(){return this.lworldExtY},b.prototype.setWorldExtY=function(y){this.lworldExtY=y},b.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},b.prototype.setDeviceOrgX=function(y){this.ldeviceOrgX=y},b.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},b.prototype.setDeviceOrgY=function(y){this.ldeviceOrgY=y},b.prototype.getDeviceExtX=function(){return this.ldeviceExtX},b.prototype.setDeviceExtX=function(y){this.ldeviceExtX=y},b.prototype.getDeviceExtY=function(){return this.ldeviceExtY},b.prototype.setDeviceExtY=function(y){this.ldeviceExtY=y},b.prototype.transformX=function(y){var E=0,_=this.lworldExtX;return _!=0&&(E=this.ldeviceOrgX+(y-this.lworldOrgX)*this.ldeviceExtX/_),E},b.prototype.transformY=function(y){var E=0,_=this.lworldExtY;return _!=0&&(E=this.ldeviceOrgY+(y-this.lworldOrgY)*this.ldeviceExtY/_),E},b.prototype.inverseTransformX=function(y){var E=0,_=this.ldeviceExtX;return _!=0&&(E=this.lworldOrgX+(y-this.ldeviceOrgX)*this.lworldExtX/_),E},b.prototype.inverseTransformY=function(y){var E=0,_=this.ldeviceExtY;return _!=0&&(E=this.lworldOrgY+(y-this.ldeviceOrgY)*this.lworldExtY/_),E},b.prototype.inverseTransformPoint=function(y){var E=new v(this.inverseTransformX(y.x),this.inverseTransformY(y.y));return E},u.exports=b},function(u,d,p){function v(B){if(Array.isArray(B)){for(var j=0,W=Array(B.length);jy.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*y.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(B-y.ADAPTATION_LOWER_NODE_LIMIT)/(y.ADAPTATION_UPPER_NODE_LIMIT-y.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-y.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=y.MAX_NODE_DISPLACEMENT_INCREMENTAL):(B>y.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(y.COOLING_ADAPTATION_FACTOR,1-(B-y.ADAPTATION_LOWER_NODE_LIMIT)/(y.ADAPTATION_UPPER_NODE_LIMIT-y.ADAPTATION_LOWER_NODE_LIMIT)*(1-y.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=y.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},P.prototype.calcSpringForces=function(){for(var B=this.getAllEdges(),j,W=0;W0&&arguments[0]!==void 0?arguments[0]:!0,j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,W,ee,ie,oe,be=this.getAllNodes(),ge;if(this.useFRGridVariant)for(this.totalIterations%y.GRID_CALCULATION_CHECK_PERIOD==1&&B&&this.updateGrid(),ge=new Set,W=0;Wae||ge>ae)&&(B.gravitationForceX=-this.gravityConstant*ie,B.gravitationForceY=-this.gravityConstant*oe)):(ae=j.getEstimatedSize()*this.compoundGravityRangeFactor,(be>ae||ge>ae)&&(B.gravitationForceX=-this.gravityConstant*ie*this.compoundGravityConstant,B.gravitationForceY=-this.gravityConstant*oe*this.compoundGravityConstant))},P.prototype.isConverged=function(){var B,j=!1;return this.totalIterations>this.maxIterations/3&&(j=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),B=this.totalDisplacement=be.length||ae>=be[0].length)){for(var ne=0;neP}}]),_}();u.exports=E},function(u,d,p){var v=function(){function E(_,A){for(var P=0;P2&&arguments[2]!==void 0?arguments[2]:1,R=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,B=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;b(this,E),this.sequence1=_,this.sequence2=A,this.match_score=P,this.mismatch_penalty=R,this.gap_penalty=B,this.iMax=_.length+1,this.jMax=A.length+1,this.grid=new Array(this.iMax);for(var j=0;j=0;_--){var A=this.listeners[_];A.event===y&&A.callback===E&&this.listeners.splice(_,1)}},b.emit=function(y,E){for(var _=0;_A.coolingFactor*A.maxNodeDisplacement&&(this.displacementX=A.coolingFactor*A.maxNodeDisplacement*y.sign(this.displacementX)),Math.abs(this.displacementY)>A.coolingFactor*A.maxNodeDisplacement&&(this.displacementY=A.coolingFactor*A.maxNodeDisplacement*y.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),A.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},E.prototype.propogateDisplacementToChildren=function(A,P){for(var R=this.getChild().getNodes(),B,j=0;j0)this.positionNodesRadially(se);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var de=new Set(this.getAllNodes()),X=this.nodesWithGravity.filter(function(pe){return de.has(pe)});this.graphManager.setAllNodesToApplyGravitation(X),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},ae.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%R.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var se=new Set(this.getAllNodes()),de=this.nodesWithGravity.filter(function(G){return se.has(G)});this.graphManager.setAllNodesToApplyGravitation(de),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=R.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=R.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var X=!this.isTreeGrowing&&!this.isGrowthFinished,pe=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(X,pe),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},ae.prototype.getPositionsData=function(){for(var se=this.graphManager.getAllNodes(),de={},X=0;X1){var Be;for(Be=0;Bepe&&(pe=Math.floor(U.y)),xe=Math.floor(U.x+P.DEFAULT_COMPONENT_SEPERATION)}this.transform(new W(B.WORLD_CENTER_X-U.x/2,B.WORLD_CENTER_Y-U.y/2))},ae.radialLayout=function(se,de,X){var pe=Math.max(this.maxDiagonalInTree(se),P.DEFAULT_RADIAL_SEPARATION);ae.branchRadialLayout(de,null,0,359,0,pe);var G=be.calculateBounds(se),xe=new ge;xe.setDeviceOrgX(G.getMinX()),xe.setDeviceOrgY(G.getMinY()),xe.setWorldOrgX(X.x),xe.setWorldOrgY(X.y);for(var U=0;U1;){var pn=Ne[0];Ne.splice(0,1);var Tt=Se.indexOf(pn);Tt>=0&&Se.splice(Tt,1),Ke--,Ce--}de!=null?zt=(Se.indexOf(Ne[0])+1)%Ke:zt=0;for(var Et=Math.abs(pe-X)/Ce,Wt=zt;ke!=Ce;Wt=++Wt%Ke){var un=Se[Wt].getOtherEnd(se);if(un!=de){var yt=(X+ke*Et)%360,Bt=(yt+Et)%360;ae.branchRadialLayout(un,se,yt,Bt,G+xe,xe),ke++}}},ae.maxDiagonalInTree=function(se){for(var de=ie.MIN_VALUE,X=0;Xde&&(de=G)}return de},ae.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},ae.prototype.groupZeroDegreeMembers=function(){var se=this,de={};this.memberGroups={},this.idToDummyNode={};for(var X=[],pe=this.graphManager.getAllNodes(),G=0;G"u"&&(de[Be]=[]),de[Be]=de[Be].concat(xe)}Object.keys(de).forEach(function(Pe){if(de[Pe].length>1){var je="DummyCompound_"+Pe;se.memberGroups[je]=de[Pe];var Ie=de[Pe][0].getParent(),Se=new _(se.graphManager);Se.id=je,Se.paddingLeft=Ie.paddingLeft||0,Se.paddingRight=Ie.paddingRight||0,Se.paddingBottom=Ie.paddingBottom||0,Se.paddingTop=Ie.paddingTop||0,se.idToDummyNode[je]=Se;var Ce=se.getGraphManager().add(se.newGraph(),Se),ke=Ie.getChild();ke.add(Se);for(var Ke=0;Ke=0;se--){var de=this.compoundOrder[se],X=de.id,pe=de.paddingLeft,G=de.paddingTop;this.adjustLocations(this.tiledMemberPack[X],de.rect.x,de.rect.y,pe,G)}},ae.prototype.repopulateZeroDegreeMembers=function(){var se=this,de=this.tiledZeroDegreePack;Object.keys(de).forEach(function(X){var pe=se.idToDummyNode[X],G=pe.paddingLeft,xe=pe.paddingTop;se.adjustLocations(de[X],pe.rect.x,pe.rect.y,G,xe)})},ae.prototype.getToBeTiled=function(se){var de=se.id;if(this.toBeTiled[de]!=null)return this.toBeTiled[de];var X=se.getChild();if(X==null)return this.toBeTiled[de]=!1,!1;for(var pe=X.getNodes(),G=0;G0)return this.toBeTiled[de]=!1,!1;if(xe.getChild()==null){this.toBeTiled[xe.id]=!1;continue}if(!this.getToBeTiled(xe))return this.toBeTiled[de]=!1,!1}return this.toBeTiled[de]=!0,!0},ae.prototype.getNodeDegree=function(se){se.id;for(var de=se.getEdges(),X=0,pe=0;pePe&&(Pe=Ie.rect.height)}X+=Pe+se.verticalPadding}},ae.prototype.tileCompoundMembers=function(se,de){var X=this;this.tiledMemberPack=[],Object.keys(se).forEach(function(pe){var G=de[pe];X.tiledMemberPack[pe]=X.tileNodes(se[pe],G.paddingLeft+G.paddingRight),G.rect.width=X.tiledMemberPack[pe].width,G.rect.height=X.tiledMemberPack[pe].height})},ae.prototype.tileNodes=function(se,de){var X=P.TILING_PADDING_VERTICAL,pe=P.TILING_PADDING_HORIZONTAL,G={rows:[],rowWidth:[],rowHeight:[],width:0,height:de,verticalPadding:X,horizontalPadding:pe};se.sort(function(Be,Pe){return Be.rect.width*Be.rect.height>Pe.rect.width*Pe.rect.height?-1:Be.rect.width*Be.rect.height0&&(U+=se.horizontalPadding),se.rowWidth[X]=U,se.width0&&(Be+=se.verticalPadding);var Pe=0;Be>se.rowHeight[X]&&(Pe=se.rowHeight[X],se.rowHeight[X]=Be,Pe=se.rowHeight[X]-Pe),se.height+=Pe,se.rows[X].push(de)},ae.prototype.getShortestRowIndex=function(se){for(var de=-1,X=Number.MAX_VALUE,pe=0;peX&&(de=pe,X=se.rowWidth[pe]);return de},ae.prototype.canAddHorizontal=function(se,de,X){var pe=this.getShortestRowIndex(se);if(pe<0)return!0;var G=se.rowWidth[pe];if(G+se.horizontalPadding+de<=se.width)return!0;var xe=0;se.rowHeight[pe]0&&(xe=X+se.verticalPadding-se.rowHeight[pe]);var U;se.width-G>=de+se.horizontalPadding?U=(se.height+xe)/(G+de+se.horizontalPadding):U=(se.height+xe)/se.width,xe=X+se.verticalPadding;var Be;return se.widthxe&&de!=X){pe.splice(-1,1),se.rows[X].push(G),se.rowWidth[de]=se.rowWidth[de]-xe,se.rowWidth[X]=se.rowWidth[X]+xe,se.width=se.rowWidth[instance.getLongestRowIndex(se)];for(var U=Number.MIN_VALUE,Be=0;BeU&&(U=pe[Be].height);de>0&&(U+=se.verticalPadding);var Pe=se.rowHeight[de]+se.rowHeight[X];se.rowHeight[de]=U,se.rowHeight[X]0)for(var ke=G;ke<=xe;ke++)Ce[0]+=this.grid[ke][U-1].length+this.grid[ke][U].length-1;if(xe0)for(var ke=U;ke<=Be;ke++)Ce[3]+=this.grid[G-1][ke].length+this.grid[G][ke].length-1;for(var Ke=ie.MAX_VALUE,zt,Ne,pn=0;pn0){var Be;Be=ge.getGraphManager().add(ge.newGraph(),X),this.processChildrenList(Be,de,ge)}}},W.prototype.stop=function(){return this.stopped=!0,this};var ie=function(be){be("layout","cose-bilkent",W)};typeof cytoscape<"u"&&ie(cytoscape),d.exports=ie}])})})(qWe);var Pon=qWe.exports;const Bon=dC(Pon),Fon=12,Ron=function(i,a,u,d){a.append("path").attr("id","node-"+u.id).attr("class","node-bkg node-"+i.type2Str(u.type)).attr("d",`M0 ${u.height-5} v${-u.height+2*5} q0,-5 5,-5 h${u.width-2*5} q5,0 5,5 v${u.height-5} H0 Z`),a.append("line").attr("class","node-line-"+d).attr("x1",0).attr("y1",u.height).attr("x2",u.width).attr("y2",u.height)},jon=function(i,a,u){a.append("rect").attr("id","node-"+u.id).attr("class","node-bkg node-"+i.type2Str(u.type)).attr("height",u.height).attr("width",u.width)},$on=function(i,a,u){const d=u.width,p=u.height,v=.15*d,b=.25*d,y=.35*d,E=.2*d;a.append("path").attr("id","node-"+u.id).attr("class","node-bkg node-"+i.type2Str(u.type)).attr("d",`M0 0 a${v},${v} 0 0,1 ${d*.25},${-1*d*.1} - a${y},${y} 1 0,1 ${d*.4},${-1*d*.1} - a${b},${b} 1 0,1 ${d*.35},${1*d*.2} - - a${v},${v} 1 0,1 ${d*.15},${1*p*.35} - a${E},${E} 1 0,1 ${-1*d*.15},${1*p*.65} - - a${b},${v} 1 0,1 ${-1*d*.25},${d*.15} - a${y},${y} 1 0,1 ${-1*d*.5},0 - a${v},${v} 1 0,1 ${-1*d*.25},${-1*d*.15} - - a${v},${v} 1 0,1 ${-1*d*.1},${-1*p*.35} - a${E},${E} 1 0,1 ${d*.1},${-1*p*.65} - - H0 V0 Z`)},zon=function(i,a,u){const d=u.width,p=u.height,v=.15*d;a.append("path").attr("id","node-"+u.id).attr("class","node-bkg node-"+i.type2Str(u.type)).attr("d",`M0 0 a${v},${v} 1 0,0 ${d*.25},${-1*p*.1} - a${v},${v} 1 0,0 ${d*.25},0 - a${v},${v} 1 0,0 ${d*.25},0 - a${v},${v} 1 0,0 ${d*.25},${1*p*.1} - - a${v},${v} 1 0,0 ${d*.15},${1*p*.33} - a${v*.8},${v*.8} 1 0,0 0,${1*p*.34} - a${v},${v} 1 0,0 ${-1*d*.15},${1*p*.33} - - a${v},${v} 1 0,0 ${-1*d*.25},${p*.15} - a${v},${v} 1 0,0 ${-1*d*.25},0 - a${v},${v} 1 0,0 ${-1*d*.25},0 - a${v},${v} 1 0,0 ${-1*d*.25},${-1*p*.15} - - a${v},${v} 1 0,0 ${-1*d*.1},${-1*p*.33} - a${v*.8},${v*.8} 1 0,0 0,${-1*p*.34} - a${v},${v} 1 0,0 ${d*.1},${-1*p*.33} - - H0 V0 Z`)},qon=function(i,a,u){a.append("circle").attr("id","node-"+u.id).attr("class","node-bkg node-"+i.type2Str(u.type)).attr("r",u.width/2)};function Hon(i,a,u,d,p){return i.insert("polygon",":first-child").attr("points",d.map(function(v){return v.x+","+v.y}).join(" ")).attr("transform","translate("+(p.width-a)/2+", "+u+")")}const Uon=function(i,a,u){const d=u.height,v=d/4,b=u.width-u.padding+2*v,y=[{x:v,y:0},{x:b-v,y:0},{x:b,y:-d/2},{x:b-v,y:-d},{x:v,y:-d},{x:0,y:-d/2}];Hon(a,b,d,y,u)},Von=function(i,a,u){a.append("rect").attr("id","node-"+u.id).attr("class","node-bkg node-"+i.type2Str(u.type)).attr("height",u.height).attr("rx",u.padding).attr("ry",u.padding).attr("width",u.width)},Gon=function(i,a,u,d,p){const v=p.htmlLabels,b=d%(Fon-1),y=a.append("g");u.section=b;let E="section-"+b;b<0&&(E+=" section-root"),y.attr("class",(u.class?u.class+" ":"")+"mindmap-node "+E);const _=y.append("g"),A=y.append("g"),P=u.descr.replace(/()/g,` -`);fJ(A,P,{useHtmlLabels:v,width:u.width,classes:"mindmap-node-label"}),v||A.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");const R=A.node().getBBox(),[B]=PC(p.fontSize);if(u.height=R.height+B*1.1*.5+u.padding,u.width=R.width+2*u.padding,u.icon)if(u.type===i.nodeType.CIRCLE)u.height+=50,u.width+=50,y.append("foreignObject").attr("height","50px").attr("width",u.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+b+" "+u.icon),A.attr("transform","translate("+u.width/2+", "+(u.height/2-1.5*u.padding)+")");else{u.width+=50;const j=u.height;u.height=Math.max(j,60);const W=Math.abs(u.height-j);y.append("foreignObject").attr("width","60px").attr("height",u.height).attr("style","text-align: center;margin-top:"+W/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+b+" "+u.icon),A.attr("transform","translate("+(25+u.width/2)+", "+(W/2+u.padding/2)+")")}else if(v){const j=(u.width-R.width)/2,W=(u.height-R.height)/2;A.attr("transform","translate("+j+", "+W+")")}else{const j=u.width/2,W=u.padding/2;A.attr("transform","translate("+j+", "+W+")")}switch(u.type){case i.nodeType.DEFAULT:Ron(i,_,u,b);break;case i.nodeType.ROUNDED_RECT:Von(i,_,u);break;case i.nodeType.RECT:jon(i,_,u);break;case i.nodeType.CIRCLE:_.attr("transform","translate("+u.width/2+", "+ +u.height/2+")"),qon(i,_,u);break;case i.nodeType.CLOUD:$on(i,_,u);break;case i.nodeType.BANG:zon(i,_,u);break;case i.nodeType.HEXAGON:Uon(i,_,u);break}return i.setElementForId(u.id,y),u.height},Kon=function(i,a){const u=i.getElementById(a.id),d=a.x||0,p=a.y||0;u.attr("transform","translate("+d+","+p+")")};zWe.use(Bon);function VWe(i,a,u,d,p){Gon(i,a,u,d,p),u.children&&u.children.forEach((v,b)=>{VWe(i,a,v,d<0?b:d,p)})}function Won(i,a){a.edges().map((u,d)=>{const p=u.data();if(u[0]._private.bodyBounds){const v=u[0]._private.rscratch;Xe.trace("Edge: ",d,p),i.insert("path").attr("d",`M ${v.startX},${v.startY} L ${v.midX},${v.midY} L${v.endX},${v.endY} `).attr("class","edge section-edge-"+p.section+" edge-depth-"+p.depth)}})}function GWe(i,a,u,d){a.add({group:"nodes",data:{id:i.id.toString(),labelText:i.descr,height:i.height,width:i.width,level:d,nodeId:i.id,padding:i.padding,type:i.type},position:{x:i.x,y:i.y}}),i.children&&i.children.forEach(p=>{GWe(p,a,u,d+1),a.add({group:"edges",data:{id:`${i.id}_${p.id}`,source:i.id,target:p.id,depth:d,section:p.section}})})}function Yon(i,a){return new Promise(u=>{const d=Dr("body").append("div").attr("id","cy").attr("style","display:none"),p=zWe({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});d.remove(),GWe(i,p,a,0),p.nodes().forEach(function(v){v.layoutDimensions=()=>{const b=v.data();return{w:b.width,h:b.height}}}),p.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),p.ready(v=>{Xe.info("Ready",v),u(p)})})}function Xon(i,a){a.nodes().map((u,d)=>{const p=u.data();p.x=u.position().x,p.y=u.position().y,Kon(i,p);const v=i.getElementById(p.nodeId);Xe.info("Id:",d,"Position: (",u.position().x,", ",u.position().y,")",p),v.attr("transform",`translate(${u.position().x-p.width/2}, ${u.position().y-p.height/2})`),v.attr("attr",`apa-${d})`)})}const Qon={draw:async(i,a,u,d)=>{var P,R;Xe.debug(`Rendering mindmap diagram -`+i);const p=d.db,v=p.getMindmap();if(!v)return;const b=qt();b.htmlLabels=!1;const y=gR(a),E=y.append("g");E.attr("class","mindmap-edges");const _=y.append("g");_.attr("class","mindmap-nodes"),VWe(p,_,v,-1,b);const A=await Yon(v,b);Won(E,A),Xon(p,A),x9(void 0,y,((P=b.mindmap)==null?void 0:P.padding)??nh.mindmap.padding,((R=b.mindmap)==null?void 0:R.useMaxWidth)??nh.mindmap.useMaxWidth)}},Jon=i=>{let a="";for(let u=0;uzfi});var zfi,UGr=ie(()=>{"use strict";DGr();BGr();$Gr();jGr();zfi={get db(){return new U4e},renderer:FGr,parser:LGr,styles:GGr}});var lut,qGr,WGr=ie(()=>{"use strict";lut=(function(){var t=i(function(G,V,Y,K){for(Y=Y||{},K=G.length;K--;Y[G[K]]=V);return Y},"o"),r=[1,4],a=[1,13],o=[1,12],l=[1,15],h=[1,16],f=[1,20],p=[1,19],m=[6,7,8],b=[1,26],v=[1,24],T=[1,25],C=[6,7,11],E=[1,31],S=[6,7,11,24],R=[1,6,13,16,17,20,23],L=[1,35],_=[1,36],M=[1,6,7,11,13,16,17,20,23],I=[1,38],F={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:i(function(V,Y,K,J,H,q,Z){var Q=q.length-1;switch(H){case 6:case 7:return J;case 8:J.getLogger().trace("Stop NL ");break;case 9:J.getLogger().trace("Stop EOF ");break;case 11:J.getLogger().trace("Stop NL2 ");break;case 12:J.getLogger().trace("Stop EOF2 ");break;case 15:J.getLogger().info("Node: ",q[Q-1].id),J.addNode(q[Q-2].length,q[Q-1].id,q[Q-1].descr,q[Q-1].type,q[Q]);break;case 16:J.getLogger().info("Node: ",q[Q].id),J.addNode(q[Q-1].length,q[Q].id,q[Q].descr,q[Q].type);break;case 17:J.getLogger().trace("Icon: ",q[Q]),J.decorateNode({icon:q[Q]});break;case 18:case 23:J.decorateNode({class:q[Q]});break;case 19:J.getLogger().trace("SPACELIST");break;case 20:J.getLogger().trace("Node: ",q[Q-1].id),J.addNode(0,q[Q-1].id,q[Q-1].descr,q[Q-1].type,q[Q]);break;case 21:J.getLogger().trace("Node: ",q[Q].id),J.addNode(0,q[Q].id,q[Q].descr,q[Q].type);break;case 22:J.decorateNode({icon:q[Q]});break;case 27:J.getLogger().trace("node found ..",q[Q-2]),this.$={id:q[Q-1],descr:q[Q-1],type:J.getType(q[Q-2],q[Q])};break;case 28:this.$={id:q[Q],descr:q[Q],type:0};break;case 29:J.getLogger().trace("node found ..",q[Q-3]),this.$={id:q[Q-3],descr:q[Q-1],type:J.getType(q[Q-2],q[Q])};break;case 30:this.$=q[Q-1]+q[Q];break;case 31:this.$=q[Q];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:r},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:r},{6:a,7:[1,10],9:9,12:11,13:o,14:14,16:l,17:h,18:17,19:18,20:f,23:p},t(m,[2,3]),{1:[2,2]},t(m,[2,4]),t(m,[2,5]),{1:[2,6],6:a,12:21,13:o,14:14,16:l,17:h,18:17,19:18,20:f,23:p},{6:a,9:22,12:11,13:o,14:14,16:l,17:h,18:17,19:18,20:f,23:p},{6:b,7:v,10:23,11:T},t(C,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:f,23:p}),t(C,[2,19]),t(C,[2,21],{15:30,24:E}),t(C,[2,22]),t(C,[2,23]),t(S,[2,25]),t(S,[2,26]),t(S,[2,28],{20:[1,32]}),{21:[1,33]},{6:b,7:v,10:34,11:T},{1:[2,7],6:a,12:21,13:o,14:14,16:l,17:h,18:17,19:18,20:f,23:p},t(R,[2,14],{7:L,11:_}),t(M,[2,8]),t(M,[2,9]),t(M,[2,10]),t(C,[2,16],{15:37,24:E}),t(C,[2,17]),t(C,[2,18]),t(C,[2,20],{24:I}),t(S,[2,31]),{21:[1,39]},{22:[1,40]},t(R,[2,13],{7:L,11:_}),t(M,[2,11]),t(M,[2,12]),t(C,[2,15],{24:I}),t(S,[2,30]),{22:[1,41]},t(S,[2,27]),t(S,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:i(function(V,Y){if(Y.recoverable)this.trace(V);else{var K=new Error(V);throw K.hash=Y,K}},"parseError"),parse:i(function(V){var Y=this,K=[0],J=[],H=[null],q=[],Z=this.table,Q="",W=0,te=0,z=0,re=2,ae=1,ce=q.slice.call(arguments,1),le=Object.create(this.lexer),de={yy:{}};for(var ve in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ve)&&(de.yy[ve]=this.yy[ve]);le.setInput(V,de.yy),de.yy.lexer=le,de.yy.parser=this,typeof le.yylloc>"u"&&(le.yylloc={});var Se=le.yylloc;q.push(Se);var _e=le.options&&le.options.ranges;typeof de.yy.parseError=="function"?this.parseError=de.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ce(bt){K.length=K.length-2*bt,H.length=H.length-bt,q.length=q.length-bt}i(Ce,"popStack");function Ve(){var bt;return bt=J.pop()||le.lex()||ae,typeof bt!="number"&&(bt instanceof Array&&(J=bt,bt=J.pop()),bt=Y.symbols_[bt]||bt),bt}i(Ve,"lex");for(var De,qe,Ue,We,mt,ct,Ot={},yr,tr,Xe,Rt;;){if(Ue=K[K.length-1],this.defaultActions[Ue]?We=this.defaultActions[Ue]:((De===null||typeof De>"u")&&(De=Ve()),We=Z[Ue]&&Z[Ue][De]),typeof We>"u"||!We.length||!We[0]){var ft="";Rt=[];for(yr in Z[Ue])this.terminals_[yr]&&yr>re&&Rt.push("'"+this.terminals_[yr]+"'");le.showPosition?ft="Parse error on line "+(W+1)+`: +`+le.showPosition()+` +Expecting `+Rt.join(", ")+", got '"+(this.terminals_[De]||De)+"'":ft="Parse error on line "+(W+1)+": Unexpected "+(De==ae?"end of input":"'"+(this.terminals_[De]||De)+"'"),this.parseError(ft,{text:le.match,token:this.terminals_[De]||De,line:le.yylineno,loc:Se,expected:Rt})}if(We[0]instanceof Array&&We.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ue+", token: "+De);switch(We[0]){case 1:K.push(De),H.push(le.yytext),q.push(le.yylloc),K.push(We[1]),De=null,qe?(De=qe,qe=null):(te=le.yyleng,Q=le.yytext,W=le.yylineno,Se=le.yylloc,z>0&&z--);break;case 2:if(tr=this.productions_[We[1]][1],Ot.$=H[H.length-tr],Ot._$={first_line:q[q.length-(tr||1)].first_line,last_line:q[q.length-1].last_line,first_column:q[q.length-(tr||1)].first_column,last_column:q[q.length-1].last_column},_e&&(Ot._$.range=[q[q.length-(tr||1)].range[0],q[q.length-1].range[1]]),ct=this.performAction.apply(Ot,[Q,te,W,de.yy,We[1],H,q].concat(ce)),typeof ct<"u")return ct;tr&&(K=K.slice(0,-1*tr*2),H=H.slice(0,-1*tr),q=q.slice(0,-1*tr)),K.push(this.productions_[We[1]][0]),H.push(Ot.$),q.push(Ot._$),Xe=Z[K[K.length-2]][K[K.length-1]],K.push(Xe);break;case 3:return!0}}return!0},"parse")},O=(function(){var G={EOF:1,parseError:i(function(Y,K){if(this.yy.parser)this.yy.parser.parseError(Y,K);else throw new Error(Y)},"parseError"),setInput:i(function(V,Y){return this.yy=Y||this.yy||{},this._input=V,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var V=this._input[0];this.yytext+=V,this.yyleng++,this.offset++,this.match+=V,this.matched+=V;var Y=V.match(/(?:\r\n?|\n).*/g);return Y?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),V},"input"),unput:i(function(V){var Y=V.length,K=V.split(/(?:\r\n?|\n)/g);this._input=V+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Y),this.offset-=Y;var J=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),K.length-1&&(this.yylineno-=K.length-1);var H=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:K?(K.length===J.length?this.yylloc.first_column:0)+J[J.length-K.length].length-K[0].length:this.yylloc.first_column-Y},this.options.ranges&&(this.yylloc.range=[H[0],H[0]+this.yyleng-Y]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(V){this.unput(this.match.slice(V))},"less"),pastInput:i(function(){var V=this.matched.substr(0,this.matched.length-this.match.length);return(V.length>20?"...":"")+V.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var V=this.match;return V.length<20&&(V+=this._input.substr(0,20-V.length)),(V.substr(0,20)+(V.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var V=this.pastInput(),Y=new Array(V.length+1).join("-");return V+this.upcomingInput()+` +`+Y+"^"},"showPosition"),test_match:i(function(V,Y){var K,J,H;if(this.options.backtrack_lexer&&(H={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(H.yylloc.range=this.yylloc.range.slice(0))),J=V[0].match(/(?:\r\n?|\n).*/g),J&&(this.yylineno+=J.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:J?J[J.length-1].length-J[J.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+V[0].length},this.yytext+=V[0],this.match+=V[0],this.matches=V,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(V[0].length),this.matched+=V[0],K=this.performAction.call(this,this.yy,this,Y,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),K)return K;if(this._backtrack){for(var q in H)this[q]=H[q];return!1}return!1},"test_match"),next:i(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var V,Y,K,J;this._more||(this.yytext="",this.match="");for(var H=this._currentRules(),q=0;qY[0].length)){if(Y=K,J=q,this.options.backtrack_lexer){if(V=this.test_match(K,H[q]),V!==!1)return V;if(this._backtrack){Y=!1;continue}else return!1}else if(!this.options.flex)break}return Y?(V=this.test_match(Y,H[J]),V!==!1?V:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:i(function(){var Y=this.next();return Y||this.lex()},"lex"),begin:i(function(Y){this.conditionStack.push(Y)},"begin"),popState:i(function(){var Y=this.conditionStack.length-1;return Y>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:i(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:i(function(Y){return Y=this.conditionStack.length-1-Math.abs(Y||0),Y>=0?this.conditionStack[Y]:"INITIAL"},"topState"),pushState:i(function(Y){this.begin(Y)},"pushState"),stateStackSize:i(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:i(function(Y,K,J,H){var q=H;switch(J){case 0:return this.pushState("shapeData"),K.yytext="",24;break;case 1:return this.pushState("shapeDataStr"),24;break;case 2:return this.popState(),24;break;case 3:let Z=/\n\s*/g;return K.yytext=K.yytext.replace(Z,"
    "),24;break;case 4:return 24;case 5:this.popState();break;case 6:return Y.getLogger().trace("Found comment",K.yytext),6;break;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;break;case 10:this.popState();break;case 11:Y.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return Y.getLogger().trace("SPACELINE"),6;break;case 13:return 7;case 14:return 16;case 15:Y.getLogger().trace("end icon"),this.popState();break;case 16:return Y.getLogger().trace("Exploding node"),this.begin("NODE"),20;break;case 17:return Y.getLogger().trace("Cloud"),this.begin("NODE"),20;break;case 18:return Y.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;break;case 19:return Y.getLogger().trace("Cloud Bang"),this.begin("NODE"),20;break;case 20:return this.begin("NODE"),20;break;case 21:return this.begin("NODE"),20;break;case 22:return this.begin("NODE"),20;break;case 23:return this.begin("NODE"),20;break;case 24:return 13;case 25:return 23;case 26:return 11;case 27:this.begin("NSTR2");break;case 28:return"NODE_DESCR";case 29:this.popState();break;case 30:Y.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return Y.getLogger().trace("description:",K.yytext),"NODE_DESCR";break;case 32:this.popState();break;case 33:return this.popState(),Y.getLogger().trace("node end ))"),"NODE_DEND";break;case 34:return this.popState(),Y.getLogger().trace("node end )"),"NODE_DEND";break;case 35:return this.popState(),Y.getLogger().trace("node end ...",K.yytext),"NODE_DEND";break;case 36:return this.popState(),Y.getLogger().trace("node end (("),"NODE_DEND";break;case 37:return this.popState(),Y.getLogger().trace("node end (-"),"NODE_DEND";break;case 38:return this.popState(),Y.getLogger().trace("node end (-"),"NODE_DEND";break;case 39:return this.popState(),Y.getLogger().trace("node end (("),"NODE_DEND";break;case 40:return this.popState(),Y.getLogger().trace("node end (("),"NODE_DEND";break;case 41:return Y.getLogger().trace("Long description:",K.yytext),21;break;case 42:return Y.getLogger().trace("Long description:",K.yytext),21;break}},"anonymous"),rules:[/^(?:@\{)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^\"]+)/i,/^(?:[^}^"]+)/i,/^(?:\})/i,/^(?:\s*%%.*)/i,/^(?:kanban\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}@]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{shapeDataEndBracket:{rules:[],inclusive:!1},shapeDataStr:{rules:[2,3],inclusive:!1},shapeData:{rules:[1,4,5],inclusive:!1},CLASS:{rules:[9,10],inclusive:!1},ICON:{rules:[14,15],inclusive:!1},NSTR2:{rules:[28,29],inclusive:!1},NSTR:{rules:[31,32],inclusive:!1},NODE:{rules:[27,30,33,34,35,36,37,38,39,40,41,42],inclusive:!1},INITIAL:{rules:[0,6,7,8,11,12,13,16,17,18,19,20,21,22,23,24,25,26],inclusive:!0}}};return G})();F.lexer=O;function P(){this.yy={}}return i(P,"Parser"),P.prototype=F,F.Parser=P,new P})();lut.parser=lut;qGr=lut});var gk,uut,cut,hut,qfi,Wfi,YGr,Yfi,Kfi,S0,Xfi,Qfi,Jfi,Zfi,edi,tdi,rdi,KGr,XGr=ie(()=>{"use strict";ma();rl();Xn();up();Nz();gk=[],uut=[],cut=0,hut={},qfi=i(()=>{gk=[],uut=[],cut=0,hut={}},"clear"),Wfi=i(t=>{if(gk.length===0)return null;let r=gk[0].level,a=null;for(let o=gk.length-1;o>=0;o--)if(gk[o].level===r&&!a&&(a=gk[o]),gk[o].levelp.parentId===l.id);for(let p of f){let m={id:p.id,parentId:l.id,label:Ns(p.label??"",o),labelType:"markdown",isGroup:!1,ticket:p?.ticket,priority:p?.priority,assigned:p?.assigned,icon:p?.icon,shape:"kanbanItem",level:p.level,rx:5,ry:5,cssStyles:["text-align: left"]};r.push(m)}}return{nodes:r,edges:t,other:{},config:Zt()}},"getData"),Kfi=i((t,r,a,o,l)=>{let h=Zt(),f=h.mindmap?.padding??hs.mindmap.padding;switch(o){case S0.ROUNDED_RECT:case S0.RECT:case S0.HEXAGON:f*=2}let p={id:Ns(r,h)||"kbn"+cut++,level:t,label:Ns(a,h),width:h.mindmap?.maxNodeWidth??hs.mindmap.maxNodeWidth,padding:f,isGroup:!1};if(l!==void 0){let b;l.includes(` +`)?b=l+` +`:b=`{ +`+l+` +}`;let v=y4(b,{schema:m4});if(v.shape&&(v.shape!==v.shape.toLowerCase()||v.shape.includes("_")))throw new Error(`No such shape: ${v.shape}. Shape names should be lowercase.`);v?.shape&&v.shape==="kanbanItem"&&(p.shape=v?.shape),v?.label&&(p.label=v?.label),v?.icon&&(p.icon=v?.icon.toString()),v?.assigned&&(p.assigned=v?.assigned.toString()),v?.ticket&&(p.ticket=v?.ticket.toString()),v?.priority&&(p.priority=v?.priority)}let m=Wfi(t);m?p.parentId=m.id||"kbn"+cut++:uut.push(p),gk.push(p)},"addNode"),S0={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},Xfi=i((t,r)=>{switch(Pe.debug("In get type",t,r),t){case"[":return S0.RECT;case"(":return r===")"?S0.ROUNDED_RECT:S0.CLOUD;case"((":return S0.CIRCLE;case")":return S0.CLOUD;case"))":return S0.BANG;case"{{":return S0.HEXAGON;default:return S0.DEFAULT}},"getType"),Qfi=i((t,r)=>{hut[t]=r},"setElementForId"),Jfi=i(t=>{if(!t)return;let r=Zt(),a=gk[gk.length-1];t.icon&&(a.icon=Ns(t.icon,r)),t.class&&(a.cssClasses=Ns(t.class,r))},"decorateNode"),Zfi=i(t=>{switch(t){case S0.DEFAULT:return"no-border";case S0.RECT:return"rect";case S0.ROUNDED_RECT:return"rounded-rect";case S0.CIRCLE:return"circle";case S0.CLOUD:return"cloud";case S0.BANG:return"bang";case S0.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),edi=i(()=>Pe,"getLogger"),tdi=i(t=>hut[t],"getElementById"),rdi={clear:qfi,addNode:Kfi,getSections:YGr,getData:Yfi,nodeType:S0,getType:Xfi,setElementForId:Qfi,decorateNode:Jfi,type2Str:Zfi,getLogger:edi,getElementById:tdi},KGr=rdi});var ndi,QGr,JGr=ie(()=>{"use strict";ma();Xn();y1();Gh();up();Oz();oO();ndi=i(async(t,r,a,o)=>{Pe.debug(`Rendering kanban diagram +`+t);let h=o.db.getData(),f=Zt();f.htmlLabels=!1;let p=fu(r);for(let L of h.nodes)L.domId=`${r}-${L.id}`;let m=p.append("g");m.attr("class","sections");let b=p.append("g");b.attr("class","items");let v=h.nodes.filter(L=>L.isGroup),T=0,C=10,E=[],S=25;for(let L of v){let _=f?.kanban?.sectionWidth||200;T=T+1,L.x=_*T+(T-1)*C/2,L.width=_,L.y=0,L.height=_*3,L.rx=5,L.ry=5,L.cssClasses=L.cssClasses+" section-"+T;let M=await FL(m,L);S=Math.max(S,M?.labelBBox?.height),E.push(M)}let R=0;for(let L of v){let _=E[R];R=R+1;let M=f?.kanban?.sectionWidth||200,I=-M*3/2+S,F=I,O=h.nodes.filter(V=>V.parentId===L.id);for(let V of O){if(V.isGroup)throw new Error("Groups within groups are not allowed in Kanban diagrams");V.x=L.x,V.width=M-1.5*C;let K=(await fA(b,V,{config:f})).node().getBBox();V.y=F+K.height/2,await ZE(V),F=V.y+K.height/2+C/2}let P=_.cluster.select("rect"),G=Math.max(F-I+3*C,50)+(S-25);P.attr("height",G)}UT(void 0,p,f.mindmap?.padding??hs.kanban.padding,f.mindmap?.useMaxWidth??hs.kanban.useMaxWidth)},"draw"),QGr={draw:ndi}});var idi,adi,ZGr,ejr=ie(()=>{"use strict";Zp();UO();idi=i(t=>{let r="";for(let o=0;ot.darkMode?Fr(o,l):Pr(o,l),"adjuster");for(let o=0;o` + + .node rect, + .node circle, + .node ellipse, + .node polygon, + .node path { + fill: ${t.background}; + stroke: ${t.nodeBorder}; + stroke-width: 1px; + } + + .kanban-ticket-link { + fill: ${t.background}; + stroke: ${t.nodeBorder}; + text-decoration: underline; + } + `}return r},"genSections"),adi=i(t=>` .edge { stroke-width: 3; } - ${Jon(i)} + ${idi(t)} .section-root rect, .section-root path, .section-root circle, .section-root polygon { - fill: ${i.git0}; + fill: ${t.git0}; } .section-root text { - fill: ${i.gitBranchLabel0}; + fill: ${t.gitBranchLabel0}; } .icon-container { height:100%; @@ -1890,41 +3243,148 @@ Licensed under The MIT License (http://opensource.org/licenses/MIT) .edge { fill: none; } - .mindmap-node-label { + .cluster-label, .label { + color: ${t.textColor}; + fill: ${t.textColor}; + } + .kanban-label { dy: 1em; alignment-baseline: middle; text-anchor: middle; dominant-baseline: middle; text-align: center; } -`}},Symbol.toStringTag,{value:"Module"}));var kwe=function(){var i=function(y,E,_,A){for(_=_||{},A=y.length;A--;_[y[A]]=E);return _},a=[1,9],u=[1,10],d=[1,5,10,12],p={trace:function(){},yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:function(E,_,A,P,R,B,j){var W=B.length-1;switch(R){case 7:const ee=P.findOrCreateNode(B[W-4].trim().replaceAll('""','"')),ie=P.findOrCreateNode(B[W-2].trim().replaceAll('""','"')),oe=parseFloat(B[W].trim());P.addLink(ee,ie,oe);break;case 8:case 9:case 11:this.$=B[W];break;case 10:this.$=B[W-1];break}},table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:a,20:u},{1:[2,6],7:11,10:[1,12]},i(u,[2,4],{9:13,5:[1,14]}),{12:[1,15]},i(d,[2,8]),i(d,[2,9]),{19:[1,16]},i(d,[2,11]),{1:[2,1]},{1:[2,5]},i(u,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:a,20:u},{15:18,16:7,17:8,18:a,20:u},{18:[1,19]},i(u,[2,3]),{12:[1,20]},i(d,[2,10]),{15:21,16:7,17:8,18:a,20:u},i([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:function(E,_){if(_.recoverable)this.trace(E);else{var A=new Error(E);throw A.hash=_,A}},parse:function(E){var _=this,A=[0],P=[],R=[null],B=[],j=this.table,W="",ee=0,ie=0,oe=2,be=1,ge=B.slice.call(arguments,1),ae=Object.create(this.lexer),ne={yy:{}};for(var se in this.yy)Object.prototype.hasOwnProperty.call(this.yy,se)&&(ne.yy[se]=this.yy[se]);ae.setInput(E,ne.yy),ne.yy.lexer=ae,ne.yy.parser=this,typeof ae.yylloc>"u"&&(ae.yylloc={});var de=ae.yylloc;B.push(de);var X=ae.options&&ae.options.ranges;typeof ne.yy.parseError=="function"?this.parseError=ne.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(){var Ke;return Ke=P.pop()||ae.lex()||be,typeof Ke!="number"&&(Ke instanceof Array&&(P=Ke,Ke=P.pop()),Ke=_.symbols_[Ke]||Ke),Ke}for(var G,xe,U,Be,Pe={},je,Ie,Se,Ce;;){if(xe=A[A.length-1],this.defaultActions[xe]?U=this.defaultActions[xe]:((G===null||typeof G>"u")&&(G=pe()),U=j[xe]&&j[xe][G]),typeof U>"u"||!U.length||!U[0]){var ke="";Ce=[];for(je in j[xe])this.terminals_[je]&&je>oe&&Ce.push("'"+this.terminals_[je]+"'");ae.showPosition?ke="Parse error on line "+(ee+1)+`: -`+ae.showPosition()+` -Expecting `+Ce.join(", ")+", got '"+(this.terminals_[G]||G)+"'":ke="Parse error on line "+(ee+1)+": Unexpected "+(G==be?"end of input":"'"+(this.terminals_[G]||G)+"'"),this.parseError(ke,{text:ae.match,token:this.terminals_[G]||G,line:ae.yylineno,loc:de,expected:Ce})}if(U[0]instanceof Array&&U.length>1)throw new Error("Parse Error: multiple actions possible at state: "+xe+", token: "+G);switch(U[0]){case 1:A.push(G),R.push(ae.yytext),B.push(ae.yylloc),A.push(U[1]),G=null,ie=ae.yyleng,W=ae.yytext,ee=ae.yylineno,de=ae.yylloc;break;case 2:if(Ie=this.productions_[U[1]][1],Pe.$=R[R.length-Ie],Pe._$={first_line:B[B.length-(Ie||1)].first_line,last_line:B[B.length-1].last_line,first_column:B[B.length-(Ie||1)].first_column,last_column:B[B.length-1].last_column},X&&(Pe._$.range=[B[B.length-(Ie||1)].range[0],B[B.length-1].range[1]]),Be=this.performAction.apply(Pe,[W,ie,ee,ne.yy,U[1],R,B].concat(ge)),typeof Be<"u")return Be;Ie&&(A=A.slice(0,-1*Ie*2),R=R.slice(0,-1*Ie),B=B.slice(0,-1*Ie)),A.push(this.productions_[U[1]][0]),R.push(Pe.$),B.push(Pe._$),Se=j[A[A.length-2]][A[A.length-1]],A.push(Se);break;case 3:return!0}}return!0}},v=function(){var y={EOF:1,parseError:function(_,A){if(this.yy.parser)this.yy.parser.parseError(_,A);else throw new Error(_)},setInput:function(E,_){return this.yy=_||this.yy||{},this._input=E,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var E=this._input[0];this.yytext+=E,this.yyleng++,this.offset++,this.match+=E,this.matched+=E;var _=E.match(/(?:\r\n?|\n).*/g);return _?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),E},unput:function(E){var _=E.length,A=E.split(/(?:\r\n?|\n)/g);this._input=E+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-_),this.offset-=_;var P=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),A.length-1&&(this.yylineno-=A.length-1);var R=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:A?(A.length===P.length?this.yylloc.first_column:0)+P[P.length-A.length].length-A[0].length:this.yylloc.first_column-_},this.options.ranges&&(this.yylloc.range=[R[0],R[0]+this.yyleng-_]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(E){this.unput(this.match.slice(E))},pastInput:function(){var E=this.matched.substr(0,this.matched.length-this.match.length);return(E.length>20?"...":"")+E.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var E=this.match;return E.length<20&&(E+=this._input.substr(0,20-E.length)),(E.substr(0,20)+(E.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var E=this.pastInput(),_=new Array(E.length+1).join("-");return E+this.upcomingInput()+` -`+_+"^"},test_match:function(E,_){var A,P,R;if(this.options.backtrack_lexer&&(R={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(R.yylloc.range=this.yylloc.range.slice(0))),P=E[0].match(/(?:\r\n?|\n).*/g),P&&(this.yylineno+=P.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:P?P[P.length-1].length-P[P.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+E[0].length},this.yytext+=E[0],this.match+=E[0],this.matches=E,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(E[0].length),this.matched+=E[0],A=this.performAction.call(this,this.yy,this,_,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),A)return A;if(this._backtrack){for(var B in R)this[B]=R[B];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var E,_,A,P;this._more||(this.yytext="",this.match="");for(var R=this._currentRules(),B=0;B_[0].length)){if(_=A,P=B,this.options.backtrack_lexer){if(E=this.test_match(A,R[B]),E!==!1)return E;if(this._backtrack){_=!1;continue}else return!1}else if(!this.options.flex)break}return _?(E=this.test_match(_,R[P]),E!==!1?E:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var _=this.next();return _||this.lex()},begin:function(_){this.conditionStack.push(_)},popState:function(){var _=this.conditionStack.length-1;return _>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(_){return _=this.conditionStack.length-1-Math.abs(_||0),_>=0?this.conditionStack[_]:"INITIAL"},pushState:function(_){this.begin(_)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(_,A,P,R){switch(P){case 0:return this.pushState("csv"),4;case 1:return 10;case 2:return 5;case 3:return 12;case 4:return this.pushState("escaped_text"),18;case 5:return 20;case 6:return this.popState("escaped_text"),18;case 7:return 19}},rules:[/^(?:sankey-beta\b)/i,/^(?:$)/i,/^(?:((\u000D\u000A)|(\u000A)))/i,/^(?:(\u002C))/i,/^(?:(\u0022))/i,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i,/^(?:(\u0022)(?!(\u0022)))/i,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i],conditions:{csv:{rules:[1,2,3,4,5,6,7],inclusive:!1},escaped_text:{rules:[6,7],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}};return y}();p.lexer=v;function b(){this.yy={}}return b.prototype=p,p.Parser=b,new b}();kwe.parser=kwe;const WJ=kwe;let YJ=[],XJ=[],uI={};const ecn=()=>{YJ=[],XJ=[],uI={},Rg()};class tcn{constructor(a,u,d=0){this.source=a,this.target=u,this.value=d}}const ncn=(i,a,u)=>{YJ.push(new tcn(i,a,u))};class rcn{constructor(a){this.ID=a}}const icn={nodesMap:uI,getConfig:()=>qt().sankey,getNodes:()=>XJ,getLinks:()=>YJ,getGraph:()=>({nodes:XJ.map(i=>({id:i.ID})),links:YJ.map(i=>({source:i.source.ID,target:i.target.ID,value:i.value}))}),addLink:ncn,findOrCreateNode:i=>(i=oi.sanitizeText(i,qt()),uI[i]||(uI[i]=new rcn(i),XJ.push(uI[i])),uI[i]),getAccTitle:Mp,setAccTitle:jg,getAccDescription:Ip,setAccDescription:Dp,getDiagramTitle:Op,setDiagramTitle:pm,clear:ecn};function KWe(i,a){let u;if(a===void 0)for(const d of i)d!=null&&(u=d)&&(u=d);else{let d=-1;for(let p of i)(p=a(p,++d,i))!=null&&(u=p)&&(u=p)}return u}function WWe(i,a){let u;if(a===void 0)for(const d of i)d!=null&&(u>d||u===void 0&&d>=d)&&(u=d);else{let d=-1;for(let p of i)(p=a(p,++d,i))!=null&&(u>p||u===void 0&&p>=p)&&(u=p)}return u}function Twe(i,a){let u=0;if(a===void 0)for(let d of i)(d=+d)&&(u+=d);else{let d=-1;for(let p of i)(p=+a(p,++d,i))&&(u+=p)}return u}function scn(i){return i.target.depth}function acn(i){return i.depth}function ocn(i,a){return a-1-i.height}function YWe(i,a){return i.sourceLinks.length?i.depth:a-1}function ccn(i){return i.targetLinks.length?i.depth:i.sourceLinks.length?WWe(i.sourceLinks,scn)-1:0}function QJ(i){return function(){return i}}function XWe(i,a){return JJ(i.source,a.source)||i.index-a.index}function QWe(i,a){return JJ(i.target,a.target)||i.index-a.index}function JJ(i,a){return i.y0-a.y0}function Ewe(i){return i.value}function ucn(i){return i.index}function lcn(i){return i.nodes}function hcn(i){return i.links}function JWe(i,a){const u=i.get(a);if(!u)throw new Error("missing: "+a);return u}function ZWe({nodes:i}){for(const a of i){let u=a.y0,d=u;for(const p of a.sourceLinks)p.y0=u+p.width/2,u+=p.width;for(const p of a.targetLinks)p.y1=d+p.width/2,d+=p.width}}function fcn(){let i=0,a=0,u=1,d=1,p=24,v=8,b,y=ucn,E=YWe,_,A,P=lcn,R=hcn,B=6;function j(){const Pe={nodes:P.apply(null,arguments),links:R.apply(null,arguments)};return W(Pe),ee(Pe),ie(Pe),oe(Pe),ae(Pe),ZWe(Pe),Pe}j.update=function(Pe){return ZWe(Pe),Pe},j.nodeId=function(Pe){return arguments.length?(y=typeof Pe=="function"?Pe:QJ(Pe),j):y},j.nodeAlign=function(Pe){return arguments.length?(E=typeof Pe=="function"?Pe:QJ(Pe),j):E},j.nodeSort=function(Pe){return arguments.length?(_=Pe,j):_},j.nodeWidth=function(Pe){return arguments.length?(p=+Pe,j):p},j.nodePadding=function(Pe){return arguments.length?(v=b=+Pe,j):v},j.nodes=function(Pe){return arguments.length?(P=typeof Pe=="function"?Pe:QJ(Pe),j):P},j.links=function(Pe){return arguments.length?(R=typeof Pe=="function"?Pe:QJ(Pe),j):R},j.linkSort=function(Pe){return arguments.length?(A=Pe,j):A},j.size=function(Pe){return arguments.length?(i=a=0,u=+Pe[0],d=+Pe[1],j):[u-i,d-a]},j.extent=function(Pe){return arguments.length?(i=+Pe[0][0],u=+Pe[1][0],a=+Pe[0][1],d=+Pe[1][1],j):[[i,a],[u,d]]},j.iterations=function(Pe){return arguments.length?(B=+Pe,j):B};function W({nodes:Pe,links:je}){for(const[Se,Ce]of Pe.entries())Ce.index=Se,Ce.sourceLinks=[],Ce.targetLinks=[];const Ie=new Map(Pe.map((Se,Ce)=>[y(Se,Ce,Pe),Se]));for(const[Se,Ce]of je.entries()){Ce.index=Se;let{source:ke,target:Ke}=Ce;typeof ke!="object"&&(ke=Ce.source=JWe(Ie,ke)),typeof Ke!="object"&&(Ke=Ce.target=JWe(Ie,Ke)),ke.sourceLinks.push(Ce),Ke.targetLinks.push(Ce)}if(A!=null)for(const{sourceLinks:Se,targetLinks:Ce}of Pe)Se.sort(A),Ce.sort(A)}function ee({nodes:Pe}){for(const je of Pe)je.value=je.fixedValue===void 0?Math.max(Twe(je.sourceLinks,Ewe),Twe(je.targetLinks,Ewe)):je.fixedValue}function ie({nodes:Pe}){const je=Pe.length;let Ie=new Set(Pe),Se=new Set,Ce=0;for(;Ie.size;){for(const ke of Ie){ke.depth=Ce;for(const{target:Ke}of ke.sourceLinks)Se.add(Ke)}if(++Ce>je)throw new Error("circular link");Ie=Se,Se=new Set}}function oe({nodes:Pe}){const je=Pe.length;let Ie=new Set(Pe),Se=new Set,Ce=0;for(;Ie.size;){for(const ke of Ie){ke.height=Ce;for(const{source:Ke}of ke.targetLinks)Se.add(Ke)}if(++Ce>je)throw new Error("circular link");Ie=Se,Se=new Set}}function be({nodes:Pe}){const je=KWe(Pe,Ce=>Ce.depth)+1,Ie=(u-i-p)/(je-1),Se=new Array(je);for(const Ce of Pe){const ke=Math.max(0,Math.min(je-1,Math.floor(E.call(null,Ce,je))));Ce.layer=ke,Ce.x0=i+ke*Ie,Ce.x1=Ce.x0+p,Se[ke]?Se[ke].push(Ce):Se[ke]=[Ce]}if(_)for(const Ce of Se)Ce.sort(_);return Se}function ge(Pe){const je=WWe(Pe,Ie=>(d-a-(Ie.length-1)*b)/Twe(Ie,Ewe));for(const Ie of Pe){let Se=a;for(const Ce of Ie){Ce.y0=Se,Ce.y1=Se+Ce.value*je,Se=Ce.y1+b;for(const ke of Ce.sourceLinks)ke.width=ke.value*je}Se=(d-Se+b)/(Ie.length+1);for(let Ce=0;CeIe.length)-1)),ge(je);for(let Ie=0;Ie0))continue;let pn=(zt/Ne-Ke.y0)*je;Ke.y0+=pn,Ke.y1+=pn,G(Ke)}_===void 0&&ke.sort(JJ),de(ke,Ie)}}function se(Pe,je,Ie){for(let Se=Pe.length,Ce=Se-2;Ce>=0;--Ce){const ke=Pe[Ce];for(const Ke of ke){let zt=0,Ne=0;for(const{target:Tt,value:Et}of Ke.sourceLinks){let Wt=Et*(Tt.layer-Ke.layer);zt+=Be(Ke,Tt)*Wt,Ne+=Wt}if(!(Ne>0))continue;let pn=(zt/Ne-Ke.y0)*je;Ke.y0+=pn,Ke.y1+=pn,G(Ke)}_===void 0&&ke.sort(JJ),de(ke,Ie)}}function de(Pe,je){const Ie=Pe.length>>1,Se=Pe[Ie];pe(Pe,Se.y0-b,Ie-1,je),X(Pe,Se.y1+b,Ie+1,je),pe(Pe,d,Pe.length-1,je),X(Pe,a,0,je)}function X(Pe,je,Ie,Se){for(;Ie1e-6&&(Ce.y0+=ke,Ce.y1+=ke),je=Ce.y1+b}}function pe(Pe,je,Ie,Se){for(;Ie>=0;--Ie){const Ce=Pe[Ie],ke=(Ce.y1-je)*Se;ke>1e-6&&(Ce.y0-=ke,Ce.y1-=ke),je=Ce.y0-b}}function G({sourceLinks:Pe,targetLinks:je}){if(A===void 0){for(const{source:{sourceLinks:Ie}}of je)Ie.sort(QWe);for(const{target:{targetLinks:Ie}}of Pe)Ie.sort(XWe)}}function xe(Pe){if(A===void 0)for(const{sourceLinks:je,targetLinks:Ie}of Pe)je.sort(QWe),Ie.sort(XWe)}function U(Pe,je){let Ie=Pe.y0-(Pe.sourceLinks.length-1)*b/2;for(const{target:Se,width:Ce}of Pe.sourceLinks){if(Se===je)break;Ie+=Ce+b}for(const{source:Se,width:Ce}of je.targetLinks){if(Se===Pe)break;Ie-=Ce}return Ie}function Be(Pe,je){let Ie=je.y0-(je.targetLinks.length-1)*b/2;for(const{source:Se,width:Ce}of je.targetLinks){if(Se===Pe)break;Ie+=Ce+b}for(const{target:Se,width:Ce}of Pe.sourceLinks){if(Se===je)break;Ie-=Ce}return Ie}return j}var Cwe=Math.PI,Swe=2*Cwe,oS=1e-6,dcn=Swe-oS;function _we(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function eYe(){return new _we}_we.prototype=eYe.prototype={constructor:_we,moveTo:function(i,a){this._+="M"+(this._x0=this._x1=+i)+","+(this._y0=this._y1=+a)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(i,a){this._+="L"+(this._x1=+i)+","+(this._y1=+a)},quadraticCurveTo:function(i,a,u,d){this._+="Q"+ +i+","+ +a+","+(this._x1=+u)+","+(this._y1=+d)},bezierCurveTo:function(i,a,u,d,p,v){this._+="C"+ +i+","+ +a+","+ +u+","+ +d+","+(this._x1=+p)+","+(this._y1=+v)},arcTo:function(i,a,u,d,p){i=+i,a=+a,u=+u,d=+d,p=+p;var v=this._x1,b=this._y1,y=u-i,E=d-a,_=v-i,A=b-a,P=_*_+A*A;if(p<0)throw new Error("negative radius: "+p);if(this._x1===null)this._+="M"+(this._x1=i)+","+(this._y1=a);else if(P>oS)if(!(Math.abs(A*y-E*_)>oS)||!p)this._+="L"+(this._x1=i)+","+(this._y1=a);else{var R=u-v,B=d-b,j=y*y+E*E,W=R*R+B*B,ee=Math.sqrt(j),ie=Math.sqrt(P),oe=p*Math.tan((Cwe-Math.acos((j+P-W)/(2*ee*ie)))/2),be=oe/ie,ge=oe/ee;Math.abs(be-1)>oS&&(this._+="L"+(i+be*_)+","+(a+be*A)),this._+="A"+p+","+p+",0,0,"+ +(A*R>_*B)+","+(this._x1=i+ge*y)+","+(this._y1=a+ge*E)}},arc:function(i,a,u,d,p,v){i=+i,a=+a,u=+u,v=!!v;var b=u*Math.cos(d),y=u*Math.sin(d),E=i+b,_=a+y,A=1^v,P=v?d-p:p-d;if(u<0)throw new Error("negative radius: "+u);this._x1===null?this._+="M"+E+","+_:(Math.abs(this._x1-E)>oS||Math.abs(this._y1-_)>oS)&&(this._+="L"+E+","+_),u&&(P<0&&(P=P%Swe+Swe),P>dcn?this._+="A"+u+","+u+",0,1,"+A+","+(i-b)+","+(a-y)+"A"+u+","+u+",0,1,"+A+","+(this._x1=E)+","+(this._y1=_):P>oS&&(this._+="A"+u+","+u+",0,"+ +(P>=Cwe)+","+A+","+(this._x1=i+u*Math.cos(p))+","+(this._y1=a+u*Math.sin(p))))},rect:function(i,a,u,d){this._+="M"+(this._x0=this._x1=+i)+","+(this._y0=this._y1=+a)+"h"+ +u+"v"+ +d+"h"+-u+"Z"},toString:function(){return this._}};function tYe(i){return function(){return i}}function gcn(i){return i[0]}function pcn(i){return i[1]}var bcn=Array.prototype.slice;function mcn(i){return i.source}function vcn(i){return i.target}function wcn(i){var a=mcn,u=vcn,d=gcn,p=pcn,v=null;function b(){var y,E=bcn.call(arguments),_=a.apply(this,E),A=u.apply(this,E);if(v||(v=y=eYe()),i(v,+d.apply(this,(E[0]=_,E)),+p.apply(this,E),+d.apply(this,(E[0]=A,E)),+p.apply(this,E)),y)return v=null,y+""||null}return b.source=function(y){return arguments.length?(a=y,b):a},b.target=function(y){return arguments.length?(u=y,b):u},b.x=function(y){return arguments.length?(d=typeof y=="function"?y:tYe(+y),b):d},b.y=function(y){return arguments.length?(p=typeof y=="function"?y:tYe(+y),b):p},b.context=function(y){return arguments.length?(v=y??null,b):v},b}function ycn(i,a,u,d,p){i.moveTo(a,u),i.bezierCurveTo(a=(a+d)/2,u,a,p,d,p)}function xcn(){return wcn(ycn)}function kcn(i){return[i.source.x1,i.y0]}function Tcn(i){return[i.target.x0,i.y1]}function Ecn(){return xcn().source(kcn).target(Tcn)}const nYe=class EBe{static next(a){return new EBe(a+ ++EBe.count)}constructor(a){this.id=a,this.href=`#${a}`}toString(){return"url("+this.href+")"}};nYe.count=0;let rYe=nYe;const Ccn={left:acn,right:ocn,center:ccn,justify:YWe},Scn={draw:function(i,a,u,d){const{securityLevel:p,sankey:v}=qt(),b=T$e.sankey;let y;p==="sandbox"&&(y=Dr("#i"+a));const E=Dr(p==="sandbox"?y.nodes()[0].contentDocument.body:"body"),_=p==="sandbox"?E.select(`[id="${a}"]`):Dr(`[id="${a}"]`),A=(v==null?void 0:v.width)??b.width,P=(v==null?void 0:v.height)??b.width,R=(v==null?void 0:v.useMaxWidth)??b.useMaxWidth,B=(v==null?void 0:v.nodeAlignment)??b.nodeAlignment,j=(v==null?void 0:v.prefix)??b.prefix,W=(v==null?void 0:v.suffix)??b.suffix,ee=(v==null?void 0:v.showValues)??b.showValues,ie=d.db.getGraph(),oe=Ccn[B],be=10;fcn().nodeId(pe=>pe.id).nodeWidth(be).nodePadding(10+(ee?15:0)).nodeAlign(oe).extent([[0,0],[A,P]])(ie);const ae=PF(sRe);_.append("g").attr("class","nodes").selectAll(".node").data(ie.nodes).join("g").attr("class","node").attr("id",pe=>(pe.uid=rYe.next("node-")).id).attr("transform",function(pe){return"translate("+pe.x0+","+pe.y0+")"}).attr("x",pe=>pe.x0).attr("y",pe=>pe.y0).append("rect").attr("height",pe=>pe.y1-pe.y0).attr("width",pe=>pe.x1-pe.x0).attr("fill",pe=>ae(pe.id));const ne=({id:pe,value:G})=>ee?`${pe} -${j}${Math.round(G*100)/100}${W}`:pe;_.append("g").attr("class","node-labels").attr("font-family","sans-serif").attr("font-size",14).selectAll("text").data(ie.nodes).join("text").attr("x",pe=>pe.x0
    (pe.y1+pe.y0)/2).attr("dy",`${ee?"0":"0.35"}em`).attr("text-anchor",pe=>pe.x0(G.uid=rYe.next("linearGradient-")).id).attr("gradientUnits","userSpaceOnUse").attr("x1",G=>G.source.x1).attr("x2",G=>G.target.x0);pe.append("stop").attr("offset","0%").attr("stop-color",G=>ae(G.source.id)),pe.append("stop").attr("offset","100%").attr("stop-color",G=>ae(G.target.id))}let X;switch(de){case"gradient":X=pe=>pe.uid;break;case"source":X=pe=>ae(pe.source.id);break;case"target":X=pe=>ae(pe.target.id);break;default:X=de}se.append("path").attr("d",Ecn()).attr("stroke",X).attr("stroke-width",pe=>Math.max(1,pe.width)),x9(void 0,_,0,R)}},_cn=i=>i.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,` -`).trim(),Acn=WJ.parse.bind(WJ);WJ.parse=i=>Acn(_cn(i));const Lcn=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:WJ,db:icn,renderer:Scn}},Symbol.toStringTag,{value:"Module"}));var Awe=function(){var i=function(be,ge,ae,ne){for(ae=ae||{},ne=be.length;ne--;ae[be[ne]]=ge);return ae},a=[1,7],u=[1,13],d=[1,14],p=[1,15],v=[1,19],b=[1,16],y=[1,17],E=[1,18],_=[8,30],A=[8,21,28,29,30,31,32,40,44,47],P=[1,23],R=[1,24],B=[8,15,16,21,28,29,30,31,32,40,44,47],j=[8,15,16,21,27,28,29,30,31,32,40,44,47],W=[1,49],ee={trace:function(){},yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:function(ge,ae,ne,se,de,X,pe){var G=X.length-1;switch(de){case 4:se.getLogger().debug("Rule: separator (NL) ");break;case 5:se.getLogger().debug("Rule: separator (Space) ");break;case 6:se.getLogger().debug("Rule: separator (EOF) ");break;case 7:se.getLogger().debug("Rule: hierarchy: ",X[G-1]),se.setHierarchy(X[G-1]);break;case 8:se.getLogger().debug("Stop NL ");break;case 9:se.getLogger().debug("Stop EOF ");break;case 10:se.getLogger().debug("Stop NL2 ");break;case 11:se.getLogger().debug("Stop EOF2 ");break;case 12:se.getLogger().debug("Rule: statement: ",X[G]),typeof X[G].length=="number"?this.$=X[G]:this.$=[X[G]];break;case 13:se.getLogger().debug("Rule: statement #2: ",X[G-1]),this.$=[X[G-1]].concat(X[G]);break;case 14:se.getLogger().debug("Rule: link: ",X[G],ge),this.$={edgeTypeStr:X[G],label:""};break;case 15:se.getLogger().debug("Rule: LABEL link: ",X[G-3],X[G-1],X[G]),this.$={edgeTypeStr:X[G],label:X[G-1]};break;case 18:const xe=parseInt(X[G]),U=se.generateId();this.$={id:U,type:"space",label:"",width:xe,children:[]};break;case 23:se.getLogger().debug("Rule: (nodeStatement link node) ",X[G-2],X[G-1],X[G]," typestr: ",X[G-1].edgeTypeStr);const Be=se.edgeStrToEdgeData(X[G-1].edgeTypeStr);this.$=[{id:X[G-2].id,label:X[G-2].label,type:X[G-2].type,directions:X[G-2].directions},{id:X[G-2].id+"-"+X[G].id,start:X[G-2].id,end:X[G].id,label:X[G-1].label,type:"edge",directions:X[G].directions,arrowTypeEnd:Be,arrowTypeStart:"arrow_open"},{id:X[G].id,label:X[G].label,type:se.typeStr2Type(X[G].typeStr),directions:X[G].directions}];break;case 24:se.getLogger().debug("Rule: nodeStatement (abc88 node size) ",X[G-1],X[G]),this.$={id:X[G-1].id,label:X[G-1].label,type:se.typeStr2Type(X[G-1].typeStr),directions:X[G-1].directions,widthInColumns:parseInt(X[G],10)};break;case 25:se.getLogger().debug("Rule: nodeStatement (node) ",X[G]),this.$={id:X[G].id,label:X[G].label,type:se.typeStr2Type(X[G].typeStr),directions:X[G].directions,widthInColumns:1};break;case 26:se.getLogger().debug("APA123",this?this:"na"),se.getLogger().debug("COLUMNS: ",X[G]),this.$={type:"column-setting",columns:X[G]==="auto"?-1:parseInt(X[G])};break;case 27:se.getLogger().debug("Rule: id-block statement : ",X[G-2],X[G-1]),se.generateId(),this.$={...X[G-2],type:"composite",children:X[G-1]};break;case 28:se.getLogger().debug("Rule: blockStatement : ",X[G-2],X[G-1],X[G]);const Pe=se.generateId();this.$={id:Pe,type:"composite",label:"",children:X[G-1]};break;case 29:se.getLogger().debug("Rule: node (NODE_ID separator): ",X[G]),this.$={id:X[G]};break;case 30:se.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",X[G-1],X[G]),this.$={id:X[G-1],label:X[G].label,typeStr:X[G].typeStr,directions:X[G].directions};break;case 31:se.getLogger().debug("Rule: dirList: ",X[G]),this.$=[X[G]];break;case 32:se.getLogger().debug("Rule: dirList: ",X[G-1],X[G]),this.$=[X[G-1]].concat(X[G]);break;case 33:se.getLogger().debug("Rule: nodeShapeNLabel: ",X[G-2],X[G-1],X[G]),this.$={typeStr:X[G-2]+X[G],label:X[G-1]};break;case 34:se.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",X[G-3],X[G-2]," #3:",X[G-1],X[G]),this.$={typeStr:X[G-3]+X[G],label:X[G-2],directions:X[G-1]};break;case 35:case 36:this.$={type:"classDef",id:X[G-1].trim(),css:X[G].trim()};break;case 37:this.$={type:"applyClass",id:X[G-1].trim(),styleClass:X[G].trim()};break;case 38:this.$={type:"applyStyles",id:X[G-1].trim(),stylesStr:X[G].trim()};break}},table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:u,29:d,31:p,32:v,40:b,44:y,47:E},{8:[1,20]},i(_,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:a,28:u,29:d,31:p,32:v,40:b,44:y,47:E}),i(A,[2,16],{14:22,15:P,16:R}),i(A,[2,17]),i(A,[2,18]),i(A,[2,19]),i(A,[2,20]),i(A,[2,21]),i(A,[2,22]),i(B,[2,25],{27:[1,25]}),i(A,[2,26]),{19:26,26:12,32:v},{11:27,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:u,29:d,31:p,32:v,40:b,44:y,47:E},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},i(j,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},i(_,[2,13]),{26:35,32:v},{32:[2,14]},{17:[1,36]},i(B,[2,24]),{11:37,13:4,14:22,15:P,16:R,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:u,29:d,31:p,32:v,40:b,44:y,47:E},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},i(j,[2,30]),{18:[1,43]},{18:[1,44]},i(B,[2,23]),{18:[1,45]},{30:[1,46]},i(A,[2,28]),i(A,[2,35]),i(A,[2,36]),i(A,[2,37]),i(A,[2,38]),{37:[1,47]},{34:48,35:W},{15:[1,50]},i(A,[2,27]),i(j,[2,33]),{39:[1,51]},{34:52,35:W,39:[2,31]},{32:[2,15]},i(j,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:function(ge,ae){if(ae.recoverable)this.trace(ge);else{var ne=new Error(ge);throw ne.hash=ae,ne}},parse:function(ge){var ae=this,ne=[0],se=[],de=[null],X=[],pe=this.table,G="",xe=0,U=0,Be=2,Pe=1,je=X.slice.call(arguments,1),Ie=Object.create(this.lexer),Se={yy:{}};for(var Ce in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ce)&&(Se.yy[Ce]=this.yy[Ce]);Ie.setInput(ge,Se.yy),Se.yy.lexer=Ie,Se.yy.parser=this,typeof Ie.yylloc>"u"&&(Ie.yylloc={});var ke=Ie.yylloc;X.push(ke);var Ke=Ie.options&&Ie.options.ranges;typeof Se.yy.parseError=="function"?this.parseError=Se.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function zt(){var kt;return kt=se.pop()||Ie.lex()||Pe,typeof kt!="number"&&(kt instanceof Array&&(se=kt,kt=se.pop()),kt=ae.symbols_[kt]||kt),kt}for(var Ne,pn,Tt,Et,Wt={},un,yt,Bt,Ze;;){if(pn=ne[ne.length-1],this.defaultActions[pn]?Tt=this.defaultActions[pn]:((Ne===null||typeof Ne>"u")&&(Ne=zt()),Tt=pe[pn]&&pe[pn][Ne]),typeof Tt>"u"||!Tt.length||!Tt[0]){var Dt="";Ze=[];for(un in pe[pn])this.terminals_[un]&&un>Be&&Ze.push("'"+this.terminals_[un]+"'");Ie.showPosition?Dt="Parse error on line "+(xe+1)+`: -`+Ie.showPosition()+` -Expecting `+Ze.join(", ")+", got '"+(this.terminals_[Ne]||Ne)+"'":Dt="Parse error on line "+(xe+1)+": Unexpected "+(Ne==Pe?"end of input":"'"+(this.terminals_[Ne]||Ne)+"'"),this.parseError(Dt,{text:Ie.match,token:this.terminals_[Ne]||Ne,line:Ie.yylineno,loc:ke,expected:Ze})}if(Tt[0]instanceof Array&&Tt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+pn+", token: "+Ne);switch(Tt[0]){case 1:ne.push(Ne),de.push(Ie.yytext),X.push(Ie.yylloc),ne.push(Tt[1]),Ne=null,U=Ie.yyleng,G=Ie.yytext,xe=Ie.yylineno,ke=Ie.yylloc;break;case 2:if(yt=this.productions_[Tt[1]][1],Wt.$=de[de.length-yt],Wt._$={first_line:X[X.length-(yt||1)].first_line,last_line:X[X.length-1].last_line,first_column:X[X.length-(yt||1)].first_column,last_column:X[X.length-1].last_column},Ke&&(Wt._$.range=[X[X.length-(yt||1)].range[0],X[X.length-1].range[1]]),Et=this.performAction.apply(Wt,[G,U,xe,Se.yy,Tt[1],de,X].concat(je)),typeof Et<"u")return Et;yt&&(ne=ne.slice(0,-1*yt*2),de=de.slice(0,-1*yt),X=X.slice(0,-1*yt)),ne.push(this.productions_[Tt[1]][0]),de.push(Wt.$),X.push(Wt._$),Bt=pe[ne[ne.length-2]][ne[ne.length-1]],ne.push(Bt);break;case 3:return!0}}return!0}},ie=function(){var be={EOF:1,parseError:function(ae,ne){if(this.yy.parser)this.yy.parser.parseError(ae,ne);else throw new Error(ae)},setInput:function(ge,ae){return this.yy=ae||this.yy||{},this._input=ge,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var ge=this._input[0];this.yytext+=ge,this.yyleng++,this.offset++,this.match+=ge,this.matched+=ge;var ae=ge.match(/(?:\r\n?|\n).*/g);return ae?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),ge},unput:function(ge){var ae=ge.length,ne=ge.split(/(?:\r\n?|\n)/g);this._input=ge+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ae),this.offset-=ae;var se=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),ne.length-1&&(this.yylineno-=ne.length-1);var de=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:ne?(ne.length===se.length?this.yylloc.first_column:0)+se[se.length-ne.length].length-ne[0].length:this.yylloc.first_column-ae},this.options.ranges&&(this.yylloc.range=[de[0],de[0]+this.yyleng-ae]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(ge){this.unput(this.match.slice(ge))},pastInput:function(){var ge=this.matched.substr(0,this.matched.length-this.match.length);return(ge.length>20?"...":"")+ge.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var ge=this.match;return ge.length<20&&(ge+=this._input.substr(0,20-ge.length)),(ge.substr(0,20)+(ge.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var ge=this.pastInput(),ae=new Array(ge.length+1).join("-");return ge+this.upcomingInput()+` -`+ae+"^"},test_match:function(ge,ae){var ne,se,de;if(this.options.backtrack_lexer&&(de={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(de.yylloc.range=this.yylloc.range.slice(0))),se=ge[0].match(/(?:\r\n?|\n).*/g),se&&(this.yylineno+=se.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:se?se[se.length-1].length-se[se.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+ge[0].length},this.yytext+=ge[0],this.match+=ge[0],this.matches=ge,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(ge[0].length),this.matched+=ge[0],ne=this.performAction.call(this,this.yy,this,ae,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ne)return ne;if(this._backtrack){for(var X in de)this[X]=de[X];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var ge,ae,ne,se;this._more||(this.yytext="",this.match="");for(var de=this._currentRules(),X=0;Xae[0].length)){if(ae=ne,se=X,this.options.backtrack_lexer){if(ge=this.test_match(ne,de[X]),ge!==!1)return ge;if(this._backtrack){ae=!1;continue}else return!1}else if(!this.options.flex)break}return ae?(ge=this.test_match(ae,de[se]),ge!==!1?ge:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var ae=this.next();return ae||this.lex()},begin:function(ae){this.conditionStack.push(ae)},popState:function(){var ae=this.conditionStack.length-1;return ae>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(ae){return ae=this.conditionStack.length-1-Math.abs(ae||0),ae>=0?this.conditionStack[ae]:"INITIAL"},pushState:function(ae){this.begin(ae)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(ae,ne,se,de){switch(se){case 0:return 10;case 1:return ae.getLogger().debug("Found space-block"),31;case 2:return ae.getLogger().debug("Found nl-block"),31;case 3:return ae.getLogger().debug("Found space-block"),29;case 4:ae.getLogger().debug(".",ne.yytext);break;case 5:ae.getLogger().debug("_",ne.yytext);break;case 6:return 5;case 7:return ne.yytext=-1,28;case 8:return ne.yytext=ne.yytext.replace(/columns\s+/,""),ae.getLogger().debug("COLUMNS (LEX)",ne.yytext),28;case 9:this.pushState("md_string");break;case 10:return"MD_STR";case 11:this.popState();break;case 12:this.pushState("string");break;case 13:ae.getLogger().debug("LEX: POPPING STR:",ne.yytext),this.popState();break;case 14:return ae.getLogger().debug("LEX: STR end:",ne.yytext),"STR";case 15:return ne.yytext=ne.yytext.replace(/space\:/,""),ae.getLogger().debug("SPACE NUM (LEX)",ne.yytext),21;case 16:return ne.yytext="1",ae.getLogger().debug("COLUMNS (LEX)",ne.yytext),21;case 17:return 43;case 18:return"LINKSTYLE";case 19:return"INTERPOLATE";case 20:return this.pushState("CLASSDEF"),40;case 21:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 22:return this.popState(),this.pushState("CLASSDEFID"),41;case 23:return this.popState(),42;case 24:return this.pushState("CLASS"),44;case 25:return this.popState(),this.pushState("CLASS_STYLE"),45;case 26:return this.popState(),46;case 27:return this.pushState("STYLE_STMNT"),47;case 28:return this.popState(),this.pushState("STYLE_DEFINITION"),48;case 29:return this.popState(),49;case 30:return this.pushState("acc_title"),"acc_title";case 31:return this.popState(),"acc_title_value";case 32:return this.pushState("acc_descr"),"acc_descr";case 33:return this.popState(),"acc_descr_value";case 34:this.pushState("acc_descr_multiline");break;case 35:this.popState();break;case 36:return"acc_descr_multiline_value";case 37:return 30;case 38:return this.popState(),ae.getLogger().debug("Lex: (("),"NODE_DEND";case 39:return this.popState(),ae.getLogger().debug("Lex: (("),"NODE_DEND";case 40:return this.popState(),ae.getLogger().debug("Lex: ))"),"NODE_DEND";case 41:return this.popState(),ae.getLogger().debug("Lex: (("),"NODE_DEND";case 42:return this.popState(),ae.getLogger().debug("Lex: (("),"NODE_DEND";case 43:return this.popState(),ae.getLogger().debug("Lex: (-"),"NODE_DEND";case 44:return this.popState(),ae.getLogger().debug("Lex: -)"),"NODE_DEND";case 45:return this.popState(),ae.getLogger().debug("Lex: (("),"NODE_DEND";case 46:return this.popState(),ae.getLogger().debug("Lex: ]]"),"NODE_DEND";case 47:return this.popState(),ae.getLogger().debug("Lex: ("),"NODE_DEND";case 48:return this.popState(),ae.getLogger().debug("Lex: ])"),"NODE_DEND";case 49:return this.popState(),ae.getLogger().debug("Lex: /]"),"NODE_DEND";case 50:return this.popState(),ae.getLogger().debug("Lex: /]"),"NODE_DEND";case 51:return this.popState(),ae.getLogger().debug("Lex: )]"),"NODE_DEND";case 52:return this.popState(),ae.getLogger().debug("Lex: )"),"NODE_DEND";case 53:return this.popState(),ae.getLogger().debug("Lex: ]>"),"NODE_DEND";case 54:return this.popState(),ae.getLogger().debug("Lex: ]"),"NODE_DEND";case 55:return ae.getLogger().debug("Lexa: -)"),this.pushState("NODE"),36;case 56:return ae.getLogger().debug("Lexa: (-"),this.pushState("NODE"),36;case 57:return ae.getLogger().debug("Lexa: ))"),this.pushState("NODE"),36;case 58:return ae.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 59:return ae.getLogger().debug("Lex: ((("),this.pushState("NODE"),36;case 60:return ae.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 61:return ae.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 62:return ae.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 63:return ae.getLogger().debug("Lexc: >"),this.pushState("NODE"),36;case 64:return ae.getLogger().debug("Lexa: (["),this.pushState("NODE"),36;case 65:return ae.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 66:return this.pushState("NODE"),36;case 67:return this.pushState("NODE"),36;case 68:return this.pushState("NODE"),36;case 69:return this.pushState("NODE"),36;case 70:return this.pushState("NODE"),36;case 71:return this.pushState("NODE"),36;case 72:return this.pushState("NODE"),36;case 73:return ae.getLogger().debug("Lexa: ["),this.pushState("NODE"),36;case 74:return this.pushState("BLOCK_ARROW"),ae.getLogger().debug("LEX ARR START"),38;case 75:return ae.getLogger().debug("Lex: NODE_ID",ne.yytext),32;case 76:return ae.getLogger().debug("Lex: EOF",ne.yytext),8;case 77:this.pushState("md_string");break;case 78:this.pushState("md_string");break;case 79:return"NODE_DESCR";case 80:this.popState();break;case 81:ae.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 82:ae.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 83:return ae.getLogger().debug("LEX: NODE_DESCR:",ne.yytext),"NODE_DESCR";case 84:ae.getLogger().debug("LEX POPPING"),this.popState();break;case 85:ae.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 86:return ne.yytext=ne.yytext.replace(/^,\s*/,""),ae.getLogger().debug("Lex (right): dir:",ne.yytext),"DIR";case 87:return ne.yytext=ne.yytext.replace(/^,\s*/,""),ae.getLogger().debug("Lex (left):",ne.yytext),"DIR";case 88:return ne.yytext=ne.yytext.replace(/^,\s*/,""),ae.getLogger().debug("Lex (x):",ne.yytext),"DIR";case 89:return ne.yytext=ne.yytext.replace(/^,\s*/,""),ae.getLogger().debug("Lex (y):",ne.yytext),"DIR";case 90:return ne.yytext=ne.yytext.replace(/^,\s*/,""),ae.getLogger().debug("Lex (up):",ne.yytext),"DIR";case 91:return ne.yytext=ne.yytext.replace(/^,\s*/,""),ae.getLogger().debug("Lex (down):",ne.yytext),"DIR";case 92:return ne.yytext="]>",ae.getLogger().debug("Lex (ARROW_DIR end):",ne.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";case 93:return ae.getLogger().debug("Lex: LINK","#"+ne.yytext+"#"),15;case 94:return ae.getLogger().debug("Lex: LINK",ne.yytext),15;case 95:return ae.getLogger().debug("Lex: LINK",ne.yytext),15;case 96:return ae.getLogger().debug("Lex: LINK",ne.yytext),15;case 97:return ae.getLogger().debug("Lex: START_LINK",ne.yytext),this.pushState("LLABEL"),16;case 98:return ae.getLogger().debug("Lex: START_LINK",ne.yytext),this.pushState("LLABEL"),16;case 99:return ae.getLogger().debug("Lex: START_LINK",ne.yytext),this.pushState("LLABEL"),16;case 100:this.pushState("md_string");break;case 101:return ae.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";case 102:return this.popState(),ae.getLogger().debug("Lex: LINK","#"+ne.yytext+"#"),15;case 103:return this.popState(),ae.getLogger().debug("Lex: LINK",ne.yytext),15;case 104:return this.popState(),ae.getLogger().debug("Lex: LINK",ne.yytext),15;case 105:return ae.getLogger().debug("Lex: COLON",ne.yytext),ne.yytext=ne.yytext.slice(1),27}},rules:[/^(?:block-beta\b)/,/^(?:block\s+)/,/^(?:block\n+)/,/^(?:block:)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[29],inclusive:!1},STYLE_STMNT:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[23],inclusive:!1},CLASSDEF:{rules:[21,22],inclusive:!1},CLASS_STYLE:{rules:[26],inclusive:!1},CLASS:{rules:[25],inclusive:!1},LLABEL:{rules:[100,101,102,103,104],inclusive:!1},ARROW_DIR:{rules:[86,87,88,89,90,91,92],inclusive:!1},BLOCK_ARROW:{rules:[77,82,85],inclusive:!1},NODE:{rules:[38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,78,81],inclusive:!1},md_string:{rules:[10,11,79,80],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[13,14,83,84],inclusive:!1},acc_descr_multiline:{rules:[35,36],inclusive:!1},acc_descr:{rules:[33],inclusive:!1},acc_title:{rules:[31],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,12,15,16,17,18,19,20,24,27,30,32,34,37,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,93,94,95,96,97,98,99,105],inclusive:!0}}};return be}();ee.lexer=ie;function oe(){this.yy={}}return oe.prototype=ee,ee.Parser=oe,new oe}();Awe.parser=Awe;const Mcn=Awe;let eb={},Lwe=[],fj={};const iYe="color",sYe="fill",Dcn="bgFill",aYe=",",Icn=qt();let dj={};const Ocn=i=>oi.sanitizeText(i,Icn),Ncn=function(i,a=""){dj[i]===void 0&&(dj[i]={id:i,styles:[],textStyles:[]});const u=dj[i];a!=null&&a.split(aYe).forEach(d=>{const p=d.replace(/([^;]*);/,"$1").trim();if(d.match(iYe)){const b=p.replace(sYe,Dcn).replace(iYe,sYe);u.textStyles.push(b)}u.styles.push(p)})},Pcn=function(i,a=""){const u=eb[i];a!=null&&(u.styles=a.split(aYe))},Bcn=function(i,a){i.split(",").forEach(function(u){let d=eb[u];if(d===void 0){const p=u.trim();eb[p]={id:p,type:"na",children:[]},d=eb[p]}d.classes||(d.classes=[]),d.classes.push(a)})},oYe=(i,a)=>{const u=i.flat(),d=[];for(const p of u){if(p.label&&(p.label=Ocn(p.label)),p.type==="classDef"){Ncn(p.id,p.css);continue}if(p.type==="applyClass"){Bcn(p.id,(p==null?void 0:p.styleClass)||"");continue}if(p.type==="applyStyles"){p!=null&&p.stylesStr&&Pcn(p.id,p==null?void 0:p.stylesStr);continue}if(p.type==="column-setting")a.columns=p.columns||-1;else if(p.type==="edge")fj[p.id]?fj[p.id]++:fj[p.id]=1,p.id=fj[p.id]+"-"+p.id,Lwe.push(p);else{p.label||(p.type==="composite"?p.label="":p.label=p.id);const v=!eb[p.id];if(v?eb[p.id]=p:(p.type!=="na"&&(eb[p.id].type=p.type),p.label!==p.id&&(eb[p.id].label=p.label)),p.children&&oYe(p.children,p),p.type==="space"){const b=p.width||1;for(let y=0;y{Xe.debug("Clear called"),Rg(),gj={id:"root",type:"composite",children:[],columns:-1},eb={root:gj},Mwe=[],dj={},Lwe=[],fj={}};function Rcn(i){switch(Xe.debug("typeStr2Type",i),i){case"[]":return"square";case"()":return Xe.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}function jcn(i){switch(Xe.debug("typeStr2Type",i),i){case"==":return"thick";default:return"normal"}}function $cn(i){switch(i.trim()){case"--x":return"arrow_cross";case"--o":return"arrow_circle";default:return"arrow_point"}}let cYe=0;const zcn={getConfig:()=>mh().block,typeStr2Type:Rcn,edgeTypeStr2Type:jcn,edgeStrToEdgeData:$cn,getLogger:()=>console,getBlocksFlat:()=>[...Object.values(eb)],getBlocks:()=>Mwe||[],getEdges:()=>Lwe,setHierarchy:i=>{gj.children=i,oYe(i,gj),Mwe=gj.children},getBlock:i=>eb[i],setBlock:i=>{eb[i.id]=i},getColumns:i=>{const a=eb[i];return a?a.columns?a.columns:a.children?a.children.length:-1:-1},getClasses:function(){return dj},clear:Fcn,generateId:()=>(cYe++,"id-"+Math.random().toString(36).substr(2,12)+"-"+cYe)},ZJ=(i,a)=>{const u=XRe,d=u(i,"r"),p=u(i,"g"),v=u(i,"b");return _C(d,p,v,a)},qcn=i=>`.label { - font-family: ${i.fontFamily}; - color: ${i.nodeTextColor||i.textColor}; + ${uk()} +`,"getStyles"),ZGr=adi});var tjr={};cs(tjr,{diagram:()=>sdi});var sdi,rjr=ie(()=>{"use strict";WGr();XGr();JGr();ejr();sdi={db:KGr,renderer:QGr,parser:qGr,styles:ZGr}});var fut,mae,ajr=ie(()=>{"use strict";fut=(function(){var t=i(function(p,m,b,v){for(b=b||{},v=p.length;v--;b[p[v]]=m);return b},"o"),r=[1,9],a=[1,10],o=[1,5,10,12],l={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:i(function(m,b,v,T,C,E,S){var R=E.length-1;switch(C){case 7:let L=T.findOrCreateNode(E[R-4].trim().replaceAll('""','"')),_=T.findOrCreateNode(E[R-2].trim().replaceAll('""','"')),M=parseFloat(E[R].trim());T.addLink(L,_,M);break;case 8:case 9:case 11:this.$=E[R];break;case 10:this.$=E[R-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:r,20:a},{1:[2,6],7:11,10:[1,12]},t(a,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(o,[2,8]),t(o,[2,9]),{19:[1,16]},t(o,[2,11]),{1:[2,1]},{1:[2,5]},t(a,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:r,20:a},{15:18,16:7,17:8,18:r,20:a},{18:[1,19]},t(a,[2,3]),{12:[1,20]},t(o,[2,10]),{15:21,16:7,17:8,18:r,20:a},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:i(function(m,b){if(b.recoverable)this.trace(m);else{var v=new Error(m);throw v.hash=b,v}},"parseError"),parse:i(function(m){var b=this,v=[0],T=[],C=[null],E=[],S=this.table,R="",L=0,_=0,M=0,I=2,F=1,O=E.slice.call(arguments,1),P=Object.create(this.lexer),G={yy:{}};for(var V in this.yy)Object.prototype.hasOwnProperty.call(this.yy,V)&&(G.yy[V]=this.yy[V]);P.setInput(m,G.yy),G.yy.lexer=P,G.yy.parser=this,typeof P.yylloc>"u"&&(P.yylloc={});var Y=P.yylloc;E.push(Y);var K=P.options&&P.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function J(Se){v.length=v.length-2*Se,C.length=C.length-Se,E.length=E.length-Se}i(J,"popStack");function H(){var Se;return Se=T.pop()||P.lex()||F,typeof Se!="number"&&(Se instanceof Array&&(T=Se,Se=T.pop()),Se=b.symbols_[Se]||Se),Se}i(H,"lex");for(var q,Z,Q,W,te,z,re={},ae,ce,le,de;;){if(Q=v[v.length-1],this.defaultActions[Q]?W=this.defaultActions[Q]:((q===null||typeof q>"u")&&(q=H()),W=S[Q]&&S[Q][q]),typeof W>"u"||!W.length||!W[0]){var ve="";de=[];for(ae in S[Q])this.terminals_[ae]&&ae>I&&de.push("'"+this.terminals_[ae]+"'");P.showPosition?ve="Parse error on line "+(L+1)+`: +`+P.showPosition()+` +Expecting `+de.join(", ")+", got '"+(this.terminals_[q]||q)+"'":ve="Parse error on line "+(L+1)+": Unexpected "+(q==F?"end of input":"'"+(this.terminals_[q]||q)+"'"),this.parseError(ve,{text:P.match,token:this.terminals_[q]||q,line:P.yylineno,loc:Y,expected:de})}if(W[0]instanceof Array&&W.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Q+", token: "+q);switch(W[0]){case 1:v.push(q),C.push(P.yytext),E.push(P.yylloc),v.push(W[1]),q=null,Z?(q=Z,Z=null):(_=P.yyleng,R=P.yytext,L=P.yylineno,Y=P.yylloc,M>0&&M--);break;case 2:if(ce=this.productions_[W[1]][1],re.$=C[C.length-ce],re._$={first_line:E[E.length-(ce||1)].first_line,last_line:E[E.length-1].last_line,first_column:E[E.length-(ce||1)].first_column,last_column:E[E.length-1].last_column},K&&(re._$.range=[E[E.length-(ce||1)].range[0],E[E.length-1].range[1]]),z=this.performAction.apply(re,[R,_,L,G.yy,W[1],C,E].concat(O)),typeof z<"u")return z;ce&&(v=v.slice(0,-1*ce*2),C=C.slice(0,-1*ce),E=E.slice(0,-1*ce)),v.push(this.productions_[W[1]][0]),C.push(re.$),E.push(re._$),le=S[v[v.length-2]][v[v.length-1]],v.push(le);break;case 3:return!0}}return!0},"parse")},h=(function(){var p={EOF:1,parseError:i(function(b,v){if(this.yy.parser)this.yy.parser.parseError(b,v);else throw new Error(b)},"parseError"),setInput:i(function(m,b){return this.yy=b||this.yy||{},this._input=m,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var m=this._input[0];this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m;var b=m.match(/(?:\r\n?|\n).*/g);return b?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),m},"input"),unput:i(function(m){var b=m.length,v=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b),this.offset-=b;var T=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),v.length-1&&(this.yylineno-=v.length-1);var C=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:v?(v.length===T.length?this.yylloc.first_column:0)+T[T.length-v.length].length-v[0].length:this.yylloc.first_column-b},this.options.ranges&&(this.yylloc.range=[C[0],C[0]+this.yyleng-b]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(m){this.unput(this.match.slice(m))},"less"),pastInput:i(function(){var m=this.matched.substr(0,this.matched.length-this.match.length);return(m.length>20?"...":"")+m.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var m=this.match;return m.length<20&&(m+=this._input.substr(0,20-m.length)),(m.substr(0,20)+(m.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var m=this.pastInput(),b=new Array(m.length+1).join("-");return m+this.upcomingInput()+` +`+b+"^"},"showPosition"),test_match:i(function(m,b){var v,T,C;if(this.options.backtrack_lexer&&(C={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(C.yylloc.range=this.yylloc.range.slice(0))),T=m[0].match(/(?:\r\n?|\n).*/g),T&&(this.yylineno+=T.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:T?T[T.length-1].length-T[T.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+m[0].length},this.yytext+=m[0],this.match+=m[0],this.matches=m,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(m[0].length),this.matched+=m[0],v=this.performAction.call(this,this.yy,this,b,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),v)return v;if(this._backtrack){for(var E in C)this[E]=C[E];return!1}return!1},"test_match"),next:i(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var m,b,v,T;this._more||(this.yytext="",this.match="");for(var C=this._currentRules(),E=0;Eb[0].length)){if(b=v,T=E,this.options.backtrack_lexer){if(m=this.test_match(v,C[E]),m!==!1)return m;if(this._backtrack){b=!1;continue}else return!1}else if(!this.options.flex)break}return b?(m=this.test_match(b,C[T]),m!==!1?m:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:i(function(){var b=this.next();return b||this.lex()},"lex"),begin:i(function(b){this.conditionStack.push(b)},"begin"),popState:i(function(){var b=this.conditionStack.length-1;return b>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:i(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:i(function(b){return b=this.conditionStack.length-1-Math.abs(b||0),b>=0?this.conditionStack[b]:"INITIAL"},"topState"),pushState:i(function(b){this.begin(b)},"pushState"),stateStackSize:i(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:i(function(b,v,T,C){var E=C;switch(T){case 0:return this.pushState("csv"),4;break;case 1:return this.pushState("csv"),4;break;case 2:return 10;case 3:return 5;case 4:return 12;case 5:return this.pushState("escaped_text"),18;break;case 6:return 20;case 7:return this.popState("escaped_text"),18;break;case 8:return 19}},"anonymous"),rules:[/^(?:sankey-beta\b)/i,/^(?:sankey\b)/i,/^(?:$)/i,/^(?:((\u000D\u000A)|(\u000A)))/i,/^(?:(\u002C))/i,/^(?:(\u0022))/i,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i,/^(?:(\u0022)(?!(\u0022)))/i,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i],conditions:{csv:{rules:[2,3,4,5,6,7,8],inclusive:!1},escaped_text:{rules:[7,8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8],inclusive:!0}}};return p})();l.lexer=h;function f(){this.yy={}}return i(f,"Parser"),f.prototype=l,l.Parser=f,new f})();fut.parser=fut;mae=fut});var H4e,q4e,V4e,udi,dut,hdi,put,fdi,ddi,pdi,gdi,sjr,ojr=ie(()=>{"use strict";ma();rl();xu();H4e=[],q4e=[],V4e=new Map,udi=i(()=>{H4e=[],q4e=[],V4e=new Map,Is()},"clear"),dut=class{constructor(r,a,o=0){this.source=r;this.target=a;this.value=o}static{i(this,"SankeyLink")}},hdi=i((t,r,a)=>{H4e.push(new dut(t,r,a))},"addLink"),put=class{constructor(r){this.ID=r}static{i(this,"SankeyNode")}},fdi=i(t=>{t=Wn.sanitizeText(t,Zt());let r=V4e.get(t);return r===void 0&&(r=new put(t),V4e.set(t,r),q4e.push(r)),r},"findOrCreateNode"),ddi=i(()=>q4e,"getNodes"),pdi=i(()=>H4e,"getLinks"),gdi=i(()=>({nodes:q4e.map(t=>({id:t.ID})),links:H4e.map(t=>({source:t.source.ID,target:t.target.ID,value:t.value}))}),"getGraph"),sjr={nodesMap:V4e,getConfig:i(()=>Zt().sankey,"getConfig"),getNodes:ddi,getLinks:pdi,getGraph:gdi,addLink:hdi,findOrCreateNode:fdi,getAccTitle:Ws,setAccTitle:Os,getAccDescription:Ys,setAccDescription:js,getDiagramTitle:Js,setDiagramTitle:ao,clear:udi}});function yae(t,r){let a;if(r===void 0)for(let o of t)o!=null&&(a=o)&&(a=o);else{let o=-1;for(let l of t)(l=r(l,++o,t))!=null&&(a=l)&&(a=l)}return a}var ljr=ie(()=>{"use strict";i(yae,"max")});function iH(t,r){let a;if(r===void 0)for(let o of t)o!=null&&(a>o||a===void 0&&o>=o)&&(a=o);else{let o=-1;for(let l of t)(l=r(l,++o,t))!=null&&(a>l||a===void 0&&l>=l)&&(a=l)}return a}var cjr=ie(()=>{"use strict";i(iH,"min")});function aH(t,r){let a=0;if(r===void 0)for(let o of t)(o=+o)&&(a+=o);else{let o=-1;for(let l of t)(l=+r(l,++o,t))&&(a+=l)}return a}var ujr=ie(()=>{"use strict";i(aH,"sum")});var gut=ie(()=>{"use strict";ljr();cjr();ujr()});function mdi(t){return t.target.depth}function mut(t){return t.depth}function yut(t,r){return r-1-t.height}function bae(t,r){return t.sourceLinks.length?t.depth:r-1}function but(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?iH(t.sourceLinks,mdi)-1:0}var vut=ie(()=>{"use strict";gut();i(mdi,"targetDepth");i(mut,"left");i(yut,"right");i(bae,"justify");i(but,"center")});function sH(t){return function(){return t}}var hjr=ie(()=>{"use strict";i(sH,"constant")});function fjr(t,r){return W4e(t.source,r.source)||t.index-r.index}function djr(t,r){return W4e(t.target,r.target)||t.index-r.index}function W4e(t,r){return t.y0-r.y0}function wut(t){return t.value}function ydi(t){return t.index}function bdi(t){return t.nodes}function vdi(t){return t.links}function pjr(t,r){let a=t.get(r);if(!a)throw new Error("missing: "+r);return a}function gjr({nodes:t}){for(let r of t){let a=r.y0,o=a;for(let l of r.sourceLinks)l.y0=a+l.width/2,a+=l.width;for(let l of r.targetLinks)l.y1=o+l.width/2,o+=l.width}}function Y4e(){let t=0,r=0,a=1,o=1,l=24,h=8,f,p=ydi,m=bae,b,v,T=bdi,C=vdi,E=6;function S(){let Q={nodes:T.apply(null,arguments),links:C.apply(null,arguments)};return R(Q),L(Q),_(Q),M(Q),O(Q),gjr(Q),Q}i(S,"sankey"),S.update=function(Q){return gjr(Q),Q},S.nodeId=function(Q){return arguments.length?(p=typeof Q=="function"?Q:sH(Q),S):p},S.nodeAlign=function(Q){return arguments.length?(m=typeof Q=="function"?Q:sH(Q),S):m},S.nodeSort=function(Q){return arguments.length?(b=Q,S):b},S.nodeWidth=function(Q){return arguments.length?(l=+Q,S):l},S.nodePadding=function(Q){return arguments.length?(h=f=+Q,S):h},S.nodes=function(Q){return arguments.length?(T=typeof Q=="function"?Q:sH(Q),S):T},S.links=function(Q){return arguments.length?(C=typeof Q=="function"?Q:sH(Q),S):C},S.linkSort=function(Q){return arguments.length?(v=Q,S):v},S.size=function(Q){return arguments.length?(t=r=0,a=+Q[0],o=+Q[1],S):[a-t,o-r]},S.extent=function(Q){return arguments.length?(t=+Q[0][0],a=+Q[1][0],r=+Q[0][1],o=+Q[1][1],S):[[t,r],[a,o]]},S.iterations=function(Q){return arguments.length?(E=+Q,S):E};function R({nodes:Q,links:W}){for(let[z,re]of Q.entries())re.index=z,re.sourceLinks=[],re.targetLinks=[];let te=new Map(Q.map((z,re)=>[p(z,re,Q),z]));for(let[z,re]of W.entries()){re.index=z;let{source:ae,target:ce}=re;typeof ae!="object"&&(ae=re.source=pjr(te,ae)),typeof ce!="object"&&(ce=re.target=pjr(te,ce)),ae.sourceLinks.push(re),ce.targetLinks.push(re)}if(v!=null)for(let{sourceLinks:z,targetLinks:re}of Q)z.sort(v),re.sort(v)}i(R,"computeNodeLinks");function L({nodes:Q}){for(let W of Q)W.value=W.fixedValue===void 0?Math.max(aH(W.sourceLinks,wut),aH(W.targetLinks,wut)):W.fixedValue}i(L,"computeNodeValues");function _({nodes:Q}){let W=Q.length,te=new Set(Q),z=new Set,re=0;for(;te.size;){for(let ae of te){ae.depth=re;for(let{target:ce}of ae.sourceLinks)z.add(ce)}if(++re>W)throw new Error("circular link");te=z,z=new Set}}i(_,"computeNodeDepths");function M({nodes:Q}){let W=Q.length,te=new Set(Q),z=new Set,re=0;for(;te.size;){for(let ae of te){ae.height=re;for(let{source:ce}of ae.targetLinks)z.add(ce)}if(++re>W)throw new Error("circular link");te=z,z=new Set}}i(M,"computeNodeHeights");function I({nodes:Q}){let W=yae(Q,re=>re.depth)+1,te=(a-t-l)/(W-1),z=new Array(W);for(let re of Q){let ae=Math.max(0,Math.min(W-1,Math.floor(m.call(null,re,W))));re.layer=ae,re.x0=t+ae*te,re.x1=re.x0+l,z[ae]?z[ae].push(re):z[ae]=[re]}if(b)for(let re of z)re.sort(b);return z}i(I,"computeNodeLayers");function F(Q){let W=iH(Q,te=>(o-r-(te.length-1)*f)/aH(te,wut));for(let te of Q){let z=r;for(let re of te){re.y0=z,re.y1=z+re.value*W,z=re.y1+f;for(let ae of re.sourceLinks)ae.width=ae.value*W}z=(o-z+f)/(te.length+1);for(let re=0;rete.length)-1)),F(W);for(let te=0;te0))continue;let ve=(le/de-ce.y0)*W;ce.y0+=ve,ce.y1+=ve,J(ce)}b===void 0&&ae.sort(W4e),V(ae,te)}}i(P,"relaxLeftToRight");function G(Q,W,te){for(let z=Q.length,re=z-2;re>=0;--re){let ae=Q[re];for(let ce of ae){let le=0,de=0;for(let{target:Se,value:_e}of ce.sourceLinks){let Ce=_e*(Se.layer-ce.layer);le+=Z(ce,Se)*Ce,de+=Ce}if(!(de>0))continue;let ve=(le/de-ce.y0)*W;ce.y0+=ve,ce.y1+=ve,J(ce)}b===void 0&&ae.sort(W4e),V(ae,te)}}i(G,"relaxRightToLeft");function V(Q,W){let te=Q.length>>1,z=Q[te];K(Q,z.y0-f,te-1,W),Y(Q,z.y1+f,te+1,W),K(Q,o,Q.length-1,W),Y(Q,r,0,W)}i(V,"resolveCollisions");function Y(Q,W,te,z){for(;te1e-6&&(re.y0+=ae,re.y1+=ae),W=re.y1+f}}i(Y,"resolveCollisionsTopToBottom");function K(Q,W,te,z){for(;te>=0;--te){let re=Q[te],ae=(re.y1-W)*z;ae>1e-6&&(re.y0-=ae,re.y1-=ae),W=re.y0-f}}i(K,"resolveCollisionsBottomToTop");function J({sourceLinks:Q,targetLinks:W}){if(v===void 0){for(let{source:{sourceLinks:te}}of W)te.sort(djr);for(let{target:{targetLinks:te}}of Q)te.sort(fjr)}}i(J,"reorderNodeLinks");function H(Q){if(v===void 0)for(let{sourceLinks:W,targetLinks:te}of Q)W.sort(djr),te.sort(fjr)}i(H,"reorderLinks");function q(Q,W){let te=Q.y0-(Q.sourceLinks.length-1)*f/2;for(let{target:z,width:re}of Q.sourceLinks){if(z===W)break;te+=re+f}for(let{source:z,width:re}of W.targetLinks){if(z===Q)break;te-=re}return te}i(q,"targetTop");function Z(Q,W){let te=W.y0-(W.targetLinks.length-1)*f/2;for(let{source:z,width:re}of W.targetLinks){if(z===Q)break;te+=re+f}for(let{target:z,width:re}of Q.sourceLinks){if(z===W)break;te-=re}return te}return i(Z,"sourceTop"),S}var mjr=ie(()=>{"use strict";gut();vut();hjr();i(fjr,"ascendingSourceBreadth");i(djr,"ascendingTargetBreadth");i(W4e,"ascendingBreadth");i(wut,"value");i(ydi,"defaultId");i(bdi,"defaultNodes");i(vdi,"defaultLinks");i(pjr,"find");i(gjr,"computeLinkBreadths");i(Y4e,"Sankey")});function kut(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function yjr(){return new kut}var xut,Tut,$P,wdi,Cut,bjr=ie(()=>{"use strict";xut=Math.PI,Tut=2*xut,$P=1e-6,wdi=Tut-$P;i(kut,"Path");i(yjr,"path");kut.prototype=yjr.prototype={constructor:kut,moveTo:i(function(t,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+r)},"moveTo"),closePath:i(function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},"closePath"),lineTo:i(function(t,r){this._+="L"+(this._x1=+t)+","+(this._y1=+r)},"lineTo"),quadraticCurveTo:i(function(t,r,a,o){this._+="Q"+ +t+","+ +r+","+(this._x1=+a)+","+(this._y1=+o)},"quadraticCurveTo"),bezierCurveTo:i(function(t,r,a,o,l,h){this._+="C"+ +t+","+ +r+","+ +a+","+ +o+","+(this._x1=+l)+","+(this._y1=+h)},"bezierCurveTo"),arcTo:i(function(t,r,a,o,l){t=+t,r=+r,a=+a,o=+o,l=+l;var h=this._x1,f=this._y1,p=a-t,m=o-r,b=h-t,v=f-r,T=b*b+v*v;if(l<0)throw new Error("negative radius: "+l);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=r);else if(T>$P)if(!(Math.abs(v*p-m*b)>$P)||!l)this._+="L"+(this._x1=t)+","+(this._y1=r);else{var C=a-h,E=o-f,S=p*p+m*m,R=C*C+E*E,L=Math.sqrt(S),_=Math.sqrt(T),M=l*Math.tan((xut-Math.acos((S+T-R)/(2*L*_)))/2),I=M/_,F=M/L;Math.abs(I-1)>$P&&(this._+="L"+(t+I*b)+","+(r+I*v)),this._+="A"+l+","+l+",0,0,"+ +(v*C>b*E)+","+(this._x1=t+F*p)+","+(this._y1=r+F*m)}},"arcTo"),arc:i(function(t,r,a,o,l,h){t=+t,r=+r,a=+a,h=!!h;var f=a*Math.cos(o),p=a*Math.sin(o),m=t+f,b=r+p,v=1^h,T=h?o-l:l-o;if(a<0)throw new Error("negative radius: "+a);this._x1===null?this._+="M"+m+","+b:(Math.abs(this._x1-m)>$P||Math.abs(this._y1-b)>$P)&&(this._+="L"+m+","+b),a&&(T<0&&(T=T%Tut+Tut),T>wdi?this._+="A"+a+","+a+",0,1,"+v+","+(t-f)+","+(r-p)+"A"+a+","+a+",0,1,"+v+","+(this._x1=m)+","+(this._y1=b):T>$P&&(this._+="A"+a+","+a+",0,"+ +(T>=xut)+","+v+","+(this._x1=t+a*Math.cos(l))+","+(this._y1=r+a*Math.sin(l))))},"arc"),rect:i(function(t,r,a,o){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+r)+"h"+ +a+"v"+ +o+"h"+-a+"Z"},"rect"),toString:i(function(){return this._},"toString")};Cut=yjr});var vjr=ie(()=>{"use strict";bjr()});function K4e(t){return i(function(){return t},"constant")}var wjr=ie(()=>{"use strict";i(K4e,"default")});function xjr(t){return t[0]}function Tjr(t){return t[1]}var kjr=ie(()=>{"use strict";i(xjr,"x");i(Tjr,"y")});var Cjr,Ejr=ie(()=>{"use strict";Cjr=Array.prototype.slice});function xdi(t){return t.source}function Tdi(t){return t.target}function kdi(t){var r=xdi,a=Tdi,o=xjr,l=Tjr,h=null;function f(){var p,m=Cjr.call(arguments),b=r.apply(this,m),v=a.apply(this,m);if(h||(h=p=Cut()),t(h,+o.apply(this,(m[0]=b,m)),+l.apply(this,m),+o.apply(this,(m[0]=v,m)),+l.apply(this,m)),p)return h=null,p+""||null}return i(f,"link"),f.source=function(p){return arguments.length?(r=p,f):r},f.target=function(p){return arguments.length?(a=p,f):a},f.x=function(p){return arguments.length?(o=typeof p=="function"?p:K4e(+p),f):o},f.y=function(p){return arguments.length?(l=typeof p=="function"?p:K4e(+p),f):l},f.context=function(p){return arguments.length?(h=p??null,f):h},f}function Cdi(t,r,a,o,l){t.moveTo(r,a),t.bezierCurveTo(r=(r+o)/2,a,r,l,o,l)}function Eut(){return kdi(Cdi)}var Sjr=ie(()=>{"use strict";vjr();Ejr();wjr();kjr();i(xdi,"linkSource");i(Tdi,"linkTarget");i(kdi,"link");i(Cdi,"curveHorizontal");i(Eut,"linkHorizontal")});var Ajr=ie(()=>{"use strict";Sjr()});function Edi(t){return[t.source.x1,t.y0]}function Sdi(t){return[t.target.x0,t.y1]}function X4e(){return Eut().source(Edi).target(Sdi)}var Rjr=ie(()=>{"use strict";Ajr();i(Edi,"horizontalSource");i(Sdi,"horizontalTarget");i(X4e,"default")});var Ljr=ie(()=>{"use strict";mjr();vut();Rjr()});var vae,Djr=ie(()=>{"use strict";vae=class t{static{i(this,"Uid")}static{this.count=0}static next(r){return new t(r+ ++t.count)}constructor(r){this.id=r,this.href=`#${r}`}toString(){return"url("+this.href+")"}}});var Adi,Rdi,Ldi,_jr,Mjr=ie(()=>{"use strict";ma();Yo();Ljr();Gh();Djr();Adi={left:mut,right:yut,center:but,justify:bae},Rdi=i(t=>{let r=0,a=0;for(let o of t){let l=o.value??0;l>r&&(r=l,a=o.layer??0)}return a},"findCentralNodeLayer"),Ldi=i(function(t,r,a,o){let{securityLevel:l,sankey:h}=Zt(),f=Zj.sankey,p;l==="sandbox"&&(p=dn("#i"+r));let m=l==="sandbox"?dn(p.nodes()[0].contentDocument.body):dn("body"),b=l==="sandbox"?m.select(`[id="${r}"]`):dn(`[id="${r}"]`),v=h?.width??f.width,T=h?.height??f.width,C=h?.useMaxWidth??f.useMaxWidth,E=h?.nodeAlignment??f.nodeAlignment,S=h?.prefix??f.prefix,R=h?.suffix??f.suffix,L=h?.showValues??f.showValues,_=h?.nodeWidth??f.nodeWidth??10,M=h?.nodePadding??f.nodePadding??12,I=h?.labelStyle??f.labelStyle??"legacy",F=h?.nodeColors??{},O=o.db.getGraph(),P=Adi[E];Y4e().nodeId(z=>z.id).nodeWidth(_).nodePadding(M+(L?15:0)).nodeAlign(P).extent([[0,0],[v,T]])(O);let V=Rdi(O.nodes),Y=Bw(lXe),K=i(z=>F[z]??Y(z),"getNodeColor");b.append("g").attr("class","nodes").selectAll(".node").data(O.nodes).join("g").attr("class","node").attr("id",z=>(z.uid=vae.next("node-")).id).attr("transform",function(z){return"translate("+z.x0+","+z.y0+")"}).attr("x",z=>z.x0).attr("y",z=>z.y0).append("rect").attr("height",z=>z.y1-z.y0).attr("width",z=>z.x1-z.x0).attr("fill",z=>K(z.id));let J=i(({id:z,value:re})=>L?`${z} +${S}${Math.round(re*100)/100}${R}`:z,"getText"),H=i(z=>I==="outlined"?(z.layer??0)q.selectAll(z?`.${z}`:"text").data(O.nodes).join("text").attr("class",z??null).attr("x",re=>H(re).x).attr("y",re=>(re.y1+re.y0)/2).attr("dy",`${L?"0":"0.35"}em`).attr("text-anchor",re=>H(re).anchor).text(J),"appendLabel");I==="outlined"?(Z("sankey-label-bg"),Z("sankey-label-fg")):Z();let Q=b.append("g").attr("class","links").attr("fill","none").attr("stroke-opacity",.5).selectAll(".link").data(O.links).join("g").attr("class","link").style("mix-blend-mode","multiply"),W=h?.linkColor??"gradient";if(W==="gradient"){let z=Q.append("linearGradient").attr("id",re=>(re.uid=vae.next("linearGradient-")).id).attr("gradientUnits","userSpaceOnUse").attr("x1",re=>re.source.x1).attr("x2",re=>re.target.x0);z.append("stop").attr("offset","0%").attr("stop-color",re=>K(re.source.id)),z.append("stop").attr("offset","100%").attr("stop-color",re=>K(re.target.id))}let te;switch(W){case"gradient":te=i(z=>z.uid,"coloring");break;case"source":te=i(z=>K(z.source.id),"coloring");break;case"target":te=i(z=>K(z.target.id),"coloring");break;default:te=W}Q.append("path").attr("d",X4e()).attr("stroke",te).attr("stroke-width",z=>Math.max(1,z.width)),UT(void 0,b,0,C)},"draw"),_jr={draw:Ldi}});var Ijr,Njr=ie(()=>{"use strict";Ijr=i(t=>t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,` +`).trim(),"prepareTextForParsing")});var Ddi,Ojr,Pjr=ie(()=>{"use strict";Ddi=i(t=>`.label { + font-family: ${t.fontFamily}; + } + + .node-labels { + font-family: ${t.fontFamily}; + } + + /* Outlined label style - background stroke for better readability */ + .sankey-label-bg { + stroke: ${t.mainBkg||t.background||"#fff"}; + stroke-width: 4px; + stroke-linejoin: round; + paint-order: stroke; + } + + /* Foreground label text */ + .sankey-label-fg { + fill: ${t.textColor}; + } + + /* Node styling */ + .node rect { + shape-rendering: crispEdges; + } + + /* Link styling */ + .link { + fill: none; + stroke-opacity: 0.5; + mix-blend-mode: multiply; + } +`,"getStyles"),Ojr=Ddi});var Bjr={};cs(Bjr,{diagram:()=>Mdi});var _di,Mdi,Fjr=ie(()=>{"use strict";ajr();ojr();Mjr();Njr();Pjr();_di=mae.parse.bind(mae);mae.parse=t=>_di(Ijr(t));Mdi={styles:Ojr,parser:mae,db:sjr,renderer:_jr}});var Pdi,oH,Sut=ie(()=>{"use strict";Qs();up();Ia();xu();Pdi=hs.packet,oH=class{constructor(){this.packet=[];this.setAccTitle=Os;this.getAccTitle=Ws;this.setDiagramTitle=ao;this.getDiagramTitle=Js;this.getAccDescription=Ys;this.setAccDescription=js}static{i(this,"PacketDB")}getConfig(){let r=nl({...Pdi,...ii().packet});return r.showBits&&(r.paddingY+=10),r}getPacket(){return this.packet}pushWord(r){r.length>0&&this.packet.push(r)}clear(){Is(),this.packet=[]}}});var Bdi,Fdi,$di,Aut,jjr=ie(()=>{"use strict";m1();Xn();Nb();Sut();Bdi=1e4,Fdi=i((t,r)=>{Th(t,r);let a=-1,o=[],l=1,{bitsPerRow:h}=r.getConfig();for(let{start:f,end:p,bits:m,label:b}of t.blocks){if(f!==void 0&&p!==void 0&&p{if(t.start===void 0)throw new Error("start should have been set during first phase");if(t.end===void 0)throw new Error("end should have been set during first phase");if(t.start>t.end)throw new Error(`Block start ${t.start} is greater than block end ${t.end}.`);if(t.end+1<=r*a)return[t,void 0];let o=r*a-1,l=r*a;return[{start:t.start,end:o,label:t.label,bits:o-t.start},{start:l,end:t.end,label:t.label,bits:t.end-l}]},"getNextFittingBlock"),Aut={parser:{yy:void 0},parse:i(async t=>{let r=await Fd("packet",t),a=Aut.parser?.yy;if(!(a instanceof oH))throw new Error("parser.parser?.yy was not a PacketDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Pe.debug(r),Fdi(r,a)},"parse")}});var Gdi,jdi,zjr,Ujr=ie(()=>{"use strict";y1();Gh();Gdi=i((t,r,a,o)=>{let l=o.db,h=l.getConfig(),{rowHeight:f,paddingY:p,bitWidth:m,bitsPerRow:b}=h,v=l.getPacket(),T=l.getDiagramTitle(),C=f+p,E=C*(v.length+1)-(T?0:f),S=m*b+2,R=fu(r);R.attr("viewBox",`0 0 ${S} ${E}`),vl(R,E,S,h.useMaxWidth);for(let[L,_]of v.entries())jdi(R,_,L,h);R.append("text").text(T).attr("x",S/2).attr("y",E-C/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),jdi=i((t,r,a,{rowHeight:o,paddingX:l,paddingY:h,bitWidth:f,bitsPerRow:p,showBits:m,bitOrder:b})=>{let v=t.append("g"),T=a*(o+h)+h,C=b==="descending";for(let E of r){let S=E.end-E.start+1,R=E.start%p,_=(C?p-R-S:R)*f+1,M=S*f-l;if(v.append("rect").attr("x",_).attr("y",T).attr("width",M).attr("height",o).attr("class","packetBlock"),v.append("text").attr("x",_+M/2).attr("y",T+o/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(E.label),!m)continue;let[I,F]=C?[E.end,E.start]:[E.start,E.end],O=S===1,P=T-2;v.append("text").attr("x",_+(O?M/2:0)).attr("y",P).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",O?"middle":"start").text(I),O||v.append("text").attr("x",_+M).attr("y",P).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(F)}},"drawWord"),zjr={draw:Gdi}});var zdi,Vjr,Hjr=ie(()=>{"use strict";Ia();zdi={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},Vjr=i(({packet:t}={})=>{let r=nl(zdi,t);return` + .packetByte { + font-size: ${r.byteFontSize}; + } + .packetByte.start { + fill: ${r.startByteColor}; + } + .packetByte.end { + fill: ${r.endByteColor}; + } + .packetLabel { + fill: ${r.labelColor}; + font-size: ${r.labelFontSize}; + } + .packetTitle { + fill: ${r.titleColor}; + font-size: ${r.titleFontSize}; + } + .packetBlock { + stroke: ${r.blockStrokeColor}; + stroke-width: ${r.blockStrokeWidth}; + fill: ${r.blockFillColor}; + } + `},"styles")});var qjr={};cs(qjr,{diagram:()=>Udi});var Udi,Wjr=ie(()=>{"use strict";Sut();jjr();Ujr();Hjr();Udi={parser:Aut,get db(){return new oH},renderer:zjr,styles:Vjr}});var lH,Q4e,Xjr,FS,qdi,Wdi,Qjr,Ydi,Kdi,Xdi,Qdi,Jdi,Zdi,epi,GP,Rut=ie(()=>{"use strict";Qs();up();Ia();xu();Xn();lH={showLegend:!0,ticks:5,max:null,min:0,graticule:"circle"},Q4e=32,Xjr={axes:[],curves:[],options:lH},FS=structuredClone(Xjr),qdi=hs.radar,Wdi=i(()=>nl({...qdi,...ii().radar}),"getConfig"),Qjr=i(()=>FS.axes,"getAxes"),Ydi=i(()=>FS.curves,"getCurves"),Kdi=i(()=>FS.options,"getOptions"),Xdi=i(t=>{FS.axes=t.map(r=>({name:r.name,label:r.label??r.name}))},"setAxes"),Qdi=i(t=>{FS.curves=t.map(r=>({name:r.name,label:r.label??r.name,entries:Jdi(r.entries)}))},"setCurves"),Jdi=i(t=>{if(t[0].axis==null)return t.map(a=>a.value);let r=Qjr();if(r.length===0)throw new Error("Axes must be populated before curves for reference entries");return r.map(a=>{let o=t.find(l=>l.axis?.$refText===a.name);if(o===void 0)throw new Error("Missing entry for axis "+a.label);return o.value})},"computeCurveEntries"),Zdi=i(t=>{let r=t.reduce((a,o)=>(a[o.name]=o,a),{});FS.options={showLegend:r.showLegend?.value??lH.showLegend,ticks:r.ticks?.value??lH.ticks,max:r.max?.value??lH.max,min:r.min?.value??lH.min,graticule:r.graticule?.value??lH.graticule},FS.options.ticks>Q4e&&(Pe.warn(`Radar diagram ticks (${FS.options.ticks}) exceeds maximum allowed (${Q4e}). Using ${Q4e} instead.`),FS.options.ticks=Q4e)},"setOptions"),epi=i(()=>{Is(),FS=structuredClone(Xjr)},"clear"),GP={getAxes:Qjr,getCurves:Ydi,getOptions:Kdi,setAxes:Xdi,setCurves:Qdi,setOptions:Zdi,getConfig:Wdi,clear:epi,setAccTitle:Os,getAccTitle:Ws,setDiagramTitle:ao,getDiagramTitle:Js,getAccDescription:Ys,setAccDescription:js}});var tpi,Jjr,Zjr=ie(()=>{"use strict";m1();Xn();Nb();Rut();tpi=i(t=>{Th(t,GP);let{axes:r,curves:a,options:o}=t;GP.setAxes(r),GP.setCurves(a),GP.setOptions(o)},"populate"),Jjr={parse:i(async t=>{let r=await Fd("radar",t);Pe.debug(r),tpi(r)},"parse")}});function spi(t,r,a,o,l,h,f){let p=r.length,m=Math.min(f.width,f.height)/2;a.forEach((b,v)=>{if(b.entries.length!==p)return;let T=b.entries.map((C,E)=>{let S=2*Math.PI*E/p-Math.PI/2,R=opi(C,o,l,m),L=R*Math.cos(S),_=R*Math.sin(S);return{x:L,y:_}});h==="circle"?t.append("path").attr("d",lpi(T,f.curveTension)).attr("class",`radarCurve-${v}`):h==="polygon"&&t.append("polygon").attr("points",T.map(C=>`${C.x},${C.y}`).join(" ")).attr("class",`radarCurve-${v}`)})}function opi(t,r,a,o){let l=Math.min(Math.max(t,r),a);return o*(l-r)/(a-r)}function lpi(t,r){let a=t.length,o=`M${t[0].x},${t[0].y}`;for(let l=0;l{let b=t.append("g").attr("transform",`translate(${l}, ${h+m*f})`);b.append("rect").attr("width",12).attr("height",12).attr("class",`radarLegendBox-${m}`),b.append("text").attr("x",16).attr("y",0).attr("class","radarLegendText").text(p.label)})}var rpi,npi,ipi,api,ezr,tzr=ie(()=>{"use strict";y1();Gh();rpi=i((t,r,a,o)=>{let l=o.db,h=l.getAxes(),f=l.getCurves(),p=l.getOptions(),m=l.getConfig(),b=l.getDiagramTitle(),v=fu(r),T=npi(v,m),C=p.max??Math.max(...f.map(R=>Math.max(...R.entries))),E=p.min,S=Math.min(m.width,m.height)/2;ipi(T,h,S,p.ticks,p.graticule),api(T,h,S,m),spi(T,h,f,E,C,p.graticule,m),cpi(T,f,p.showLegend,m),T.append("text").attr("class","radarTitle").text(b).attr("x",0).attr("y",-m.height/2-m.marginTop)},"draw"),npi=i((t,r)=>{let a=r.width+r.marginLeft+r.marginRight,o=r.height+r.marginTop+r.marginBottom,l={x:r.marginLeft+r.width/2,y:r.marginTop+r.height/2};return vl(t,o,a,r.useMaxWidth??!0),t.attr("viewBox",`0 0 ${a} ${o}`).attr("overflow","visible"),t.append("g").attr("transform",`translate(${l.x}, ${l.y})`)},"drawFrame"),ipi=i((t,r,a,o,l)=>{if(l==="circle")for(let h=0;h{let T=2*v*Math.PI/h-Math.PI/2,C=p*Math.cos(T),E=p*Math.sin(T);return`${C},${E}`}).join(" ");t.append("polygon").attr("points",m).attr("class","radarGraticule")}}},"drawGraticule"),api=i((t,r,a,o)=>{let l=r.length;for(let h=0;h.01?"start":m<-.01?"end":"middle",T=b>.01?"hanging":b<-.01?"auto":"central",C=4;t.append("text").text(f).attr("x",a*o.axisLabelFactor*m+C*m).attr("y",a*o.axisLabelFactor*b+C*b).attr("text-anchor",v).attr("dominant-baseline",T).attr("class","radarAxisLabel")}},"drawAxes");i(spi,"drawCurves");i(opi,"relativeRadius");i(lpi,"closedRoundCurve");i(cpi,"drawLegend");ezr={draw:rpi}});var upi,hpi,rzr,nzr=ie(()=>{"use strict";Ia();LE();Qs();upi=i((t,r)=>{let a="";for(let o=0;o{let r=om(),a=ii(),o=nl(r,a.themeVariables),l=nl(o.radar,t);return{themeVariables:o,radarOptions:l}},"buildRadarStyleOptions"),rzr=i(({radar:t}={})=>{let{themeVariables:r,radarOptions:a}=hpi(t);return` + .radarTitle { + font-size: ${r.fontSize}; + color: ${r.titleColor}; + dominant-baseline: hanging; + text-anchor: middle; + } + .radarAxisLine { + stroke: ${a.axisColor}; + stroke-width: ${a.axisStrokeWidth}; + } + .radarAxisLabel { + font-size: ${a.axisLabelFontSize}px; + color: ${a.axisColor}; + } + .radarGraticule { + fill: ${a.graticuleColor}; + fill-opacity: ${a.graticuleOpacity}; + stroke: ${a.graticuleColor}; + stroke-width: ${a.graticuleStrokeWidth}; + } + .radarLegendText { + text-anchor: start; + font-size: ${a.legendFontSize}px; + dominant-baseline: hanging; + } + ${upi(r,a)} + `},"styles")});var izr={};cs(izr,{diagram:()=>fpi});var fpi,azr=ie(()=>{"use strict";Rut();Zjr();tzr();nzr();fpi={parser:Jjr,db:GP,renderer:ezr,styles:rzr}});var Lut,lzr,czr=ie(()=>{"use strict";Lut=(function(){var t=i(function(I,F,O,P){for(O=O||{},P=I.length;P--;O[I[P]]=F);return O},"o"),r=[1,15],a=[1,7],o=[1,13],l=[1,14],h=[1,19],f=[1,16],p=[1,17],m=[1,18],b=[8,30],v=[8,10,21,28,29,30,31,39,43,46],T=[1,23],C=[1,24],E=[8,10,15,16,21,28,29,30,31,39,43,46],S=[8,10,15,16,21,27,28,29,30,31,39,43,46],R=[1,49],L={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:i(function(F,O,P,G,V,Y,K){var J=Y.length-1;switch(V){case 4:G.getLogger().debug("Rule: separator (NL) ");break;case 5:G.getLogger().debug("Rule: separator (Space) ");break;case 6:G.getLogger().debug("Rule: separator (EOF) ");break;case 7:G.getLogger().debug("Rule: hierarchy: ",Y[J-1]),G.setHierarchy(Y[J-1]);break;case 8:G.getLogger().debug("Stop NL ");break;case 9:G.getLogger().debug("Stop EOF ");break;case 10:G.getLogger().debug("Stop NL2 ");break;case 11:G.getLogger().debug("Stop EOF2 ");break;case 12:G.getLogger().debug("Rule: statement: ",Y[J]),typeof Y[J].length=="number"?this.$=Y[J]:this.$=[Y[J]];break;case 13:G.getLogger().debug("Rule: statement #2: ",Y[J-1]),this.$=[Y[J-1]].concat(Y[J]);break;case 14:G.getLogger().debug("Rule: link: ",Y[J],F),this.$={edgeTypeStr:Y[J],label:""};break;case 15:G.getLogger().debug("Rule: LABEL link: ",Y[J-3],Y[J-1],Y[J]),this.$={edgeTypeStr:Y[J],label:Y[J-1]};break;case 18:let H=parseInt(Y[J]),q=G.generateId();this.$={id:q,type:"space",label:"",width:H,children:[]};break;case 23:G.getLogger().debug("Rule: (nodeStatement link node) ",Y[J-2],Y[J-1],Y[J]," typestr: ",Y[J-1].edgeTypeStr);let Z=G.edgeStrToEdgeData(Y[J-1].edgeTypeStr),Q=G.edgeStrToEdgeStartData(Y[J-1].edgeTypeStr),W=G.edgeStrToThickness(Y[J-1].edgeTypeStr),te=G.edgeStrToPattern(Y[J-1].edgeTypeStr);this.$=[{id:Y[J-2].id,label:Y[J-2].label,type:Y[J-2].type,directions:Y[J-2].directions},{id:Y[J-2].id+"-"+Y[J].id,start:Y[J-2].id,end:Y[J].id,label:Y[J-1].label,type:"edge",thickness:W,pattern:te,directions:Y[J].directions,arrowTypeEnd:Z,arrowTypeStart:Q},{id:Y[J].id,label:Y[J].label,type:G.typeStr2Type(Y[J].typeStr),directions:Y[J].directions}];break;case 24:G.getLogger().debug("Rule: nodeStatement (abc88 node size) ",Y[J-1],Y[J]),this.$={id:Y[J-1].id,label:Y[J-1].label,type:G.typeStr2Type(Y[J-1].typeStr),directions:Y[J-1].directions,widthInColumns:parseInt(Y[J],10)};break;case 25:G.getLogger().debug("Rule: nodeStatement (node) ",Y[J]),this.$={id:Y[J].id,label:Y[J].label,type:G.typeStr2Type(Y[J].typeStr),directions:Y[J].directions,widthInColumns:1};break;case 26:G.getLogger().debug("APA123",this?this:"na"),G.getLogger().debug("COLUMNS: ",Y[J]),this.$={type:"column-setting",columns:Y[J]==="auto"?-1:parseInt(Y[J])};break;case 27:G.getLogger().debug("Rule: id-block statement : ",Y[J-2],Y[J-1]);let z=G.generateId();this.$={...Y[J-2],type:"composite",children:Y[J-1]};break;case 28:G.getLogger().debug("Rule: blockStatement : ",Y[J-2],Y[J-1],Y[J]);let re=G.generateId();this.$={id:re,type:"composite",label:"",children:Y[J-1]};break;case 29:G.getLogger().debug("Rule: node (NODE_ID separator): ",Y[J]),this.$={id:Y[J]};break;case 30:G.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",Y[J-1],Y[J]),this.$={id:Y[J-1],label:Y[J].label,typeStr:Y[J].typeStr,directions:Y[J].directions};break;case 31:G.getLogger().debug("Rule: dirList: ",Y[J]),this.$=[Y[J]];break;case 32:G.getLogger().debug("Rule: dirList: ",Y[J-1],Y[J]),this.$=[Y[J-1]].concat(Y[J]);break;case 33:G.getLogger().debug("Rule: nodeShapeNLabel: ",Y[J-2],Y[J-1],Y[J]),this.$={typeStr:Y[J-2]+Y[J],label:Y[J-1]};break;case 34:G.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",Y[J-3],Y[J-2]," #3:",Y[J-1],Y[J]),this.$={typeStr:Y[J-3]+Y[J],label:Y[J-2],directions:Y[J-1]};break;case 35:case 36:this.$={type:"classDef",id:Y[J-1].trim(),css:Y[J].trim()};break;case 37:this.$={type:"applyClass",id:Y[J-1].trim(),styleClass:Y[J].trim()};break;case 38:this.$={type:"applyStyles",id:Y[J-1].trim(),stylesStr:Y[J].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:r,11:3,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:o,29:l,31:h,39:f,43:p,46:m},{8:[1,20]},t(b,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:r,21:a,28:o,29:l,31:h,39:f,43:p,46:m}),t(v,[2,16],{14:22,15:T,16:C}),t(v,[2,17]),t(v,[2,18]),t(v,[2,19]),t(v,[2,20]),t(v,[2,21]),t(v,[2,22]),t(E,[2,25],{27:[1,25]}),t(v,[2,26]),{19:26,26:12,31:h},{10:r,11:27,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:o,29:l,31:h,39:f,43:p,46:m},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},t(S,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},t(b,[2,13]),{26:35,31:h},{31:[2,14]},{17:[1,36]},t(E,[2,24]),{10:r,11:37,13:4,14:22,15:T,16:C,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:o,29:l,31:h,39:f,43:p,46:m},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},t(S,[2,30]),{18:[1,43]},{18:[1,44]},t(E,[2,23]),{18:[1,45]},{30:[1,46]},t(v,[2,28]),t(v,[2,35]),t(v,[2,36]),t(v,[2,37]),t(v,[2,38]),{36:[1,47]},{33:48,34:R},{15:[1,50]},t(v,[2,27]),t(S,[2,33]),{38:[1,51]},{33:52,34:R,38:[2,31]},{31:[2,15]},t(S,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:i(function(F,O){if(O.recoverable)this.trace(F);else{var P=new Error(F);throw P.hash=O,P}},"parseError"),parse:i(function(F){var O=this,P=[0],G=[],V=[null],Y=[],K=this.table,J="",H=0,q=0,Z=0,Q=2,W=1,te=Y.slice.call(arguments,1),z=Object.create(this.lexer),re={yy:{}};for(var ae in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ae)&&(re.yy[ae]=this.yy[ae]);z.setInput(F,re.yy),re.yy.lexer=z,re.yy.parser=this,typeof z.yylloc>"u"&&(z.yylloc={});var ce=z.yylloc;Y.push(ce);var le=z.options&&z.options.ranges;typeof re.yy.parseError=="function"?this.parseError=re.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function de(tr){P.length=P.length-2*tr,V.length=V.length-tr,Y.length=Y.length-tr}i(de,"popStack");function ve(){var tr;return tr=G.pop()||z.lex()||W,typeof tr!="number"&&(tr instanceof Array&&(G=tr,tr=G.pop()),tr=O.symbols_[tr]||tr),tr}i(ve,"lex");for(var Se,_e,Ce,Ve,De,qe,Ue={},We,mt,ct,Ot;;){if(Ce=P[P.length-1],this.defaultActions[Ce]?Ve=this.defaultActions[Ce]:((Se===null||typeof Se>"u")&&(Se=ve()),Ve=K[Ce]&&K[Ce][Se]),typeof Ve>"u"||!Ve.length||!Ve[0]){var yr="";Ot=[];for(We in K[Ce])this.terminals_[We]&&We>Q&&Ot.push("'"+this.terminals_[We]+"'");z.showPosition?yr="Parse error on line "+(H+1)+`: +`+z.showPosition()+` +Expecting `+Ot.join(", ")+", got '"+(this.terminals_[Se]||Se)+"'":yr="Parse error on line "+(H+1)+": Unexpected "+(Se==W?"end of input":"'"+(this.terminals_[Se]||Se)+"'"),this.parseError(yr,{text:z.match,token:this.terminals_[Se]||Se,line:z.yylineno,loc:ce,expected:Ot})}if(Ve[0]instanceof Array&&Ve.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ce+", token: "+Se);switch(Ve[0]){case 1:P.push(Se),V.push(z.yytext),Y.push(z.yylloc),P.push(Ve[1]),Se=null,_e?(Se=_e,_e=null):(q=z.yyleng,J=z.yytext,H=z.yylineno,ce=z.yylloc,Z>0&&Z--);break;case 2:if(mt=this.productions_[Ve[1]][1],Ue.$=V[V.length-mt],Ue._$={first_line:Y[Y.length-(mt||1)].first_line,last_line:Y[Y.length-1].last_line,first_column:Y[Y.length-(mt||1)].first_column,last_column:Y[Y.length-1].last_column},le&&(Ue._$.range=[Y[Y.length-(mt||1)].range[0],Y[Y.length-1].range[1]]),qe=this.performAction.apply(Ue,[J,q,H,re.yy,Ve[1],V,Y].concat(te)),typeof qe<"u")return qe;mt&&(P=P.slice(0,-1*mt*2),V=V.slice(0,-1*mt),Y=Y.slice(0,-1*mt)),P.push(this.productions_[Ve[1]][0]),V.push(Ue.$),Y.push(Ue._$),ct=K[P[P.length-2]][P[P.length-1]],P.push(ct);break;case 3:return!0}}return!0},"parse")},_=(function(){var I={EOF:1,parseError:i(function(O,P){if(this.yy.parser)this.yy.parser.parseError(O,P);else throw new Error(O)},"parseError"),setInput:i(function(F,O){return this.yy=O||this.yy||{},this._input=F,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var F=this._input[0];this.yytext+=F,this.yyleng++,this.offset++,this.match+=F,this.matched+=F;var O=F.match(/(?:\r\n?|\n).*/g);return O?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),F},"input"),unput:i(function(F){var O=F.length,P=F.split(/(?:\r\n?|\n)/g);this._input=F+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-O),this.offset-=O;var G=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),P.length-1&&(this.yylineno-=P.length-1);var V=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:P?(P.length===G.length?this.yylloc.first_column:0)+G[G.length-P.length].length-P[0].length:this.yylloc.first_column-O},this.options.ranges&&(this.yylloc.range=[V[0],V[0]+this.yyleng-O]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(F){this.unput(this.match.slice(F))},"less"),pastInput:i(function(){var F=this.matched.substr(0,this.matched.length-this.match.length);return(F.length>20?"...":"")+F.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var F=this.match;return F.length<20&&(F+=this._input.substr(0,20-F.length)),(F.substr(0,20)+(F.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var F=this.pastInput(),O=new Array(F.length+1).join("-");return F+this.upcomingInput()+` +`+O+"^"},"showPosition"),test_match:i(function(F,O){var P,G,V;if(this.options.backtrack_lexer&&(V={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(V.yylloc.range=this.yylloc.range.slice(0))),G=F[0].match(/(?:\r\n?|\n).*/g),G&&(this.yylineno+=G.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:G?G[G.length-1].length-G[G.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+F[0].length},this.yytext+=F[0],this.match+=F[0],this.matches=F,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(F[0].length),this.matched+=F[0],P=this.performAction.call(this,this.yy,this,O,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),P)return P;if(this._backtrack){for(var Y in V)this[Y]=V[Y];return!1}return!1},"test_match"),next:i(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var F,O,P,G;this._more||(this.yytext="",this.match="");for(var V=this._currentRules(),Y=0;YO[0].length)){if(O=P,G=Y,this.options.backtrack_lexer){if(F=this.test_match(P,V[Y]),F!==!1)return F;if(this._backtrack){O=!1;continue}else return!1}else if(!this.options.flex)break}return O?(F=this.test_match(O,V[G]),F!==!1?F:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:i(function(){var O=this.next();return O||this.lex()},"lex"),begin:i(function(O){this.conditionStack.push(O)},"begin"),popState:i(function(){var O=this.conditionStack.length-1;return O>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:i(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:i(function(O){return O=this.conditionStack.length-1-Math.abs(O||0),O>=0?this.conditionStack[O]:"INITIAL"},"topState"),pushState:i(function(O){this.begin(O)},"pushState"),stateStackSize:i(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:i(function(O,P,G,V){var Y=V;switch(G){case 0:return O.getLogger().debug("Found block-beta"),10;break;case 1:return O.getLogger().debug("Found id-block"),29;break;case 2:return O.getLogger().debug("Found block"),10;break;case 3:O.getLogger().debug(".",P.yytext);break;case 4:O.getLogger().debug("_",P.yytext);break;case 5:return 5;case 6:return P.yytext=-1,28;break;case 7:return P.yytext=P.yytext.replace(/columns\s+/,""),O.getLogger().debug("COLUMNS (LEX)",P.yytext),28;break;case 8:this.pushState("md_string");break;case 9:return"MD_STR";case 10:this.popState();break;case 11:this.pushState("string");break;case 12:O.getLogger().debug("LEX: POPPING STR:",P.yytext),this.popState();break;case 13:return O.getLogger().debug("LEX: STR end:",P.yytext),"STR";break;case 14:return P.yytext=P.yytext.replace(/space\:/,""),O.getLogger().debug("SPACE NUM (LEX)",P.yytext),21;break;case 15:return P.yytext="1",O.getLogger().debug("COLUMNS (LEX)",P.yytext),21;break;case 16:return 42;case 17:return"LINKSTYLE";case 18:return"INTERPOLATE";case 19:return this.pushState("CLASSDEF"),39;break;case 20:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 21:return this.popState(),this.pushState("CLASSDEFID"),40;break;case 22:return this.popState(),41;break;case 23:return this.pushState("CLASS"),43;break;case 24:return this.popState(),this.pushState("CLASS_STYLE"),44;break;case 25:return this.popState(),45;break;case 26:return this.pushState("STYLE_STMNT"),46;break;case 27:return this.popState(),this.pushState("STYLE_DEFINITION"),47;break;case 28:return this.popState(),48;break;case 29:return this.pushState("acc_title"),"acc_title";break;case 30:return this.popState(),"acc_title_value";break;case 31:return this.pushState("acc_descr"),"acc_descr";break;case 32:return this.popState(),"acc_descr_value";break;case 33:this.pushState("acc_descr_multiline");break;case 34:this.popState();break;case 35:return"acc_descr_multiline_value";case 36:return 30;case 37:return this.popState(),O.getLogger().debug("Lex: (("),"NODE_DEND";break;case 38:return this.popState(),O.getLogger().debug("Lex: (("),"NODE_DEND";break;case 39:return this.popState(),O.getLogger().debug("Lex: ))"),"NODE_DEND";break;case 40:return this.popState(),O.getLogger().debug("Lex: (("),"NODE_DEND";break;case 41:return this.popState(),O.getLogger().debug("Lex: (("),"NODE_DEND";break;case 42:return this.popState(),O.getLogger().debug("Lex: (-"),"NODE_DEND";break;case 43:return this.popState(),O.getLogger().debug("Lex: -)"),"NODE_DEND";break;case 44:return this.popState(),O.getLogger().debug("Lex: (("),"NODE_DEND";break;case 45:return this.popState(),O.getLogger().debug("Lex: ]]"),"NODE_DEND";break;case 46:return this.popState(),O.getLogger().debug("Lex: ("),"NODE_DEND";break;case 47:return this.popState(),O.getLogger().debug("Lex: ])"),"NODE_DEND";break;case 48:return this.popState(),O.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 49:return this.popState(),O.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 50:return this.popState(),O.getLogger().debug("Lex: )]"),"NODE_DEND";break;case 51:return this.popState(),O.getLogger().debug("Lex: )"),"NODE_DEND";break;case 52:return this.popState(),O.getLogger().debug("Lex: ]>"),"NODE_DEND";break;case 53:return this.popState(),O.getLogger().debug("Lex: ]"),"NODE_DEND";break;case 54:return O.getLogger().debug("Lexa: -)"),this.pushState("NODE"),35;break;case 55:return O.getLogger().debug("Lexa: (-"),this.pushState("NODE"),35;break;case 56:return O.getLogger().debug("Lexa: ))"),this.pushState("NODE"),35;break;case 57:return O.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 58:return O.getLogger().debug("Lex: ((("),this.pushState("NODE"),35;break;case 59:return O.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 60:return O.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 61:return O.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 62:return O.getLogger().debug("Lexc: >"),this.pushState("NODE"),35;break;case 63:return O.getLogger().debug("Lexa: (["),this.pushState("NODE"),35;break;case 64:return O.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 65:return this.pushState("NODE"),35;break;case 66:return this.pushState("NODE"),35;break;case 67:return this.pushState("NODE"),35;break;case 68:return this.pushState("NODE"),35;break;case 69:return this.pushState("NODE"),35;break;case 70:return this.pushState("NODE"),35;break;case 71:return this.pushState("NODE"),35;break;case 72:return O.getLogger().debug("Lexa: ["),this.pushState("NODE"),35;break;case 73:return this.pushState("BLOCK_ARROW"),O.getLogger().debug("LEX ARR START"),37;break;case 74:return O.getLogger().debug("Lex: NODE_ID",P.yytext),31;break;case 75:return O.getLogger().debug("Lex: EOF",P.yytext),8;break;case 76:this.pushState("md_string");break;case 77:this.pushState("md_string");break;case 78:return"NODE_DESCR";case 79:this.popState();break;case 80:O.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 81:O.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 82:return O.getLogger().debug("LEX: NODE_DESCR:",P.yytext),"NODE_DESCR";break;case 83:O.getLogger().debug("LEX POPPING"),this.popState();break;case 84:O.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 85:return P.yytext=P.yytext.replace(/^,\s*/,""),O.getLogger().debug("Lex (right): dir:",P.yytext),"DIR";break;case 86:return P.yytext=P.yytext.replace(/^,\s*/,""),O.getLogger().debug("Lex (left):",P.yytext),"DIR";break;case 87:return P.yytext=P.yytext.replace(/^,\s*/,""),O.getLogger().debug("Lex (x):",P.yytext),"DIR";break;case 88:return P.yytext=P.yytext.replace(/^,\s*/,""),O.getLogger().debug("Lex (y):",P.yytext),"DIR";break;case 89:return P.yytext=P.yytext.replace(/^,\s*/,""),O.getLogger().debug("Lex (up):",P.yytext),"DIR";break;case 90:return P.yytext=P.yytext.replace(/^,\s*/,""),O.getLogger().debug("Lex (down):",P.yytext),"DIR";break;case 91:return P.yytext="]>",O.getLogger().debug("Lex (ARROW_DIR end):",P.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";break;case 92:return O.getLogger().debug("Lex: LINK","#"+P.yytext+"#"),15;break;case 93:return O.getLogger().debug("Lex: LINK",P.yytext),15;break;case 94:return O.getLogger().debug("Lex: LINK",P.yytext),15;break;case 95:return O.getLogger().debug("Lex: LINK",P.yytext),15;break;case 96:return O.getLogger().debug("Lex: START_LINK",P.yytext),this.pushState("LLABEL"),16;break;case 97:return O.getLogger().debug("Lex: START_LINK",P.yytext),this.pushState("LLABEL"),16;break;case 98:return O.getLogger().debug("Lex: START_LINK",P.yytext),this.pushState("LLABEL"),16;break;case 99:this.pushState("md_string");break;case 100:return O.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";break;case 101:return this.popState(),O.getLogger().debug("Lex: LINK","#"+P.yytext+"#"),15;break;case 102:return this.popState(),O.getLogger().debug("Lex: LINK",P.yytext),15;break;case 103:return this.popState(),O.getLogger().debug("Lex: LINK",P.yytext),15;break;case 104:return O.getLogger().debug("Lex: COLON",P.yytext),P.yytext=P.yytext.slice(1),27;break}},"anonymous"),rules:[/^(?:block-beta\b)/,/^(?:block:)/,/^(?:block\b)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:=]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[28],inclusive:!1},STYLE_STMNT:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[22],inclusive:!1},CLASSDEF:{rules:[20,21],inclusive:!1},CLASS_STYLE:{rules:[25],inclusive:!1},CLASS:{rules:[24],inclusive:!1},LLABEL:{rules:[99,100,101,102,103],inclusive:!1},ARROW_DIR:{rules:[85,86,87,88,89,90,91],inclusive:!1},BLOCK_ARROW:{rules:[76,81,84],inclusive:!1},NODE:{rules:[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,77,80],inclusive:!1},md_string:{rules:[9,10,78,79],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[12,13,82,83],inclusive:!1},acc_descr_multiline:{rules:[34,35],inclusive:!1},acc_descr:{rules:[32],inclusive:!1},acc_title:{rules:[30],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,11,14,15,16,17,18,19,23,26,29,31,33,36,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,92,93,94,95,96,97,98,104],inclusive:!0}}};return I})();L.lexer=_;function M(){this.yy={}}return i(M,"Parser"),M.prototype=L,L.Parser=M,new M})();Lut.parser=Lut;lzr=Lut});function xpi(t){switch(Pe.debug("typeStr2Type",t),t){case"[]":return"square";case"()":return Pe.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}function Tpi(t){switch(Pe.debug("typeStr2Type",t),t){case"==":return"thick";default:return"normal"}}function kpi(t){switch(t.trim().slice(-1)){case"x":return"arrow_cross";case"o":return"arrow_circle";case">":return"arrow_point";default:return""}}function Cpi(t){switch(t.trim().charAt(0)){case"x":return"arrow_cross";case"o":return"arrow_circle";case"<":return"arrow_point";default:return"arrow_open"}}function Epi(t){return t.includes("==")?"thick":"normal"}function Spi(t){return t.includes(".-")?"dotted":"solid"}var B4,_ut,Dut,uzr,hzr,gpi,dzr,J4e,Mut,mpi,ypi,bpi,vpi,pzr,gzr,Iut,wae,wpi,fzr,Api,Rpi,Lpi,Dpi,_pi,Mpi,Ipi,Npi,Opi,Ppi,Bpi,Fpi,$pi,mzr,yzr=ie(()=>{"use strict";e2e();Qs();ma();Xn();rl();xu();B4=new Map,_ut=[],Dut=new Map,uzr="color",hzr="fill",gpi="bgFill",dzr=",",J4e=new Map,Mut="",mpi=i(t=>Wn.sanitizeText(t,Zt()),"sanitizeText"),ypi=i(function(t,r=""){let a=J4e.get(t);a||(a={id:t,styles:[],textStyles:[]},J4e.set(t,a)),r?.split(dzr).forEach(o=>{let l=o.replace(/([^;]*);/,"$1").trim();if(RegExp(uzr).exec(o)){let f=l.replace(hzr,gpi).replace(uzr,hzr);a.textStyles.push(f)}a.styles.push(l)})},"addStyleClass"),bpi=i(function(t,r=""){let a=B4.get(t);r!=null&&(a.styles=r.split(dzr))},"addStyle2Node"),vpi=i(function(t,r){t.split(",").forEach(function(a){let o=B4.get(a);if(o===void 0){let l=a.trim();o={id:l,type:"na",children:[]},B4.set(l,o)}o.classes||(o.classes=[]),o.classes.push(r)})},"setCssClass"),pzr=0,gzr=i((t,r)=>{let a=t.flat(),o=[],h=a.find(f=>f?.type==="column-setting")?.columns??-1;for(let f of a){if(typeof h=="number"&&h>0&&f.type!=="column-setting"&&typeof f.widthInColumns=="number"&&f.widthInColumns>h&&Pe.warn(`Block ${f.id} width ${f.widthInColumns} exceeds configured column width ${h}`),f.label&&(f.label=mpi(f.label)),f.type==="classDef"){ypi(f.id,f.css);continue}if(f.type==="applyClass"){vpi(f.id,f?.styleClass??"");continue}if(f.type==="applyStyles"){f?.stylesStr&&bpi(f.id,f?.stylesStr);continue}if(f.type==="column-setting")r.columns=f.columns??-1;else if(f.type==="edge"){let p=(Dut.get(f.id)??0)+1;Dut.set(f.id,p),f.id=p+"-"+f.id,_ut.push(f)}else{f.label||(f.type==="composite"?f.label="":f.label=f.id);let p=B4.get(f.id);if(p===void 0?(f.type==="composite"&&(f.colorIndex=pzr++),B4.set(f.id,f)):(f.type!=="na"&&(p.type=f.type),f.label!==f.id&&(p.label=f.label)),f.children&&gzr(f.children,f),f.type==="space"){let m=f.width??1;for(let b=0;b{Pe.debug("Clear called"),Is(),wae={id:"root",type:"composite",children:[],columns:-1},B4=new Map([["root",wae]]),Iut=[],J4e=new Map,_ut=[],Dut=new Map,Mut="",pzr=0},"clear");i(xpi,"typeStr2Type");i(Tpi,"edgeTypeStr2Type");i(kpi,"edgeStrToEdgeData");i(Cpi,"edgeStrToEdgeStartData");i(Epi,"edgeStrToThickness");i(Spi,"edgeStrToPattern");fzr=0,Api=i(()=>(fzr++,"id-"+Math.random().toString(36).substr(2,12)+"-"+fzr),"generateId"),Rpi=i(t=>{wae.children=t,gzr(t,wae),Iut=wae.children},"setHierarchy"),Lpi=i(t=>{let r=B4.get(t);return r?r.columns?r.columns:r.children?r.children.length:-1:-1},"getColumns"),Dpi=i(()=>[...B4.values()],"getBlocksFlat"),_pi=i(()=>Iut||[],"getBlocks"),Mpi=i(()=>_ut,"getEdges"),Ipi=i(t=>B4.get(t),"getBlock"),Npi=i(t=>{B4.set(t.id,t)},"setBlock"),Opi=i(t=>{Mut=t},"setDiagramId"),Ppi=i(()=>Mut,"getDiagramId"),Bpi=i(()=>Pe,"getLogger"),Fpi=i(function(){return J4e},"getClasses"),$pi={getConfig:i(()=>ii().block,"getConfig"),typeStr2Type:xpi,edgeTypeStr2Type:Tpi,edgeStrToEdgeData:kpi,edgeStrToEdgeStartData:Cpi,edgeStrToThickness:Epi,edgeStrToPattern:Spi,getLogger:Bpi,getBlocksFlat:Dpi,getBlocks:_pi,getEdges:Mpi,setHierarchy:Rpi,getBlock:Ipi,setBlock:Npi,getColumns:Lpi,getClasses:Fpi,clear:wpi,generateId:Api,setDiagramId:Opi,getDiagramId:Ppi},mzr=$pi});var Gpi,Nut,jpi,bzr,vzr=ie(()=>{"use strict";Zp();UO();b0();Gpi=i(t=>{let{theme:r,bkgColorArray:a,borderColorArray:o}=t;if(!y0(r,o))return"";let l=Lg(t.look),h=m0(a),f="";for(let p=0;p{let a=j6,o=a(t,"r"),l=a(t,"g"),h=a(t,"b");return Rd(o,l,h,r)},"fade"),jpi=i(t=>`${Gpi(t)} + .label { + font-family: ${t.fontFamily}; + color: ${t.nodeTextColor||t.textColor}; } .cluster-label text { - fill: ${i.titleColor}; + fill: ${t.titleColor}; } - .cluster-label span,p { - color: ${i.titleColor}; + .cluster-label span { + color: ${t.titleColor}; } - .label text,span,p { - fill: ${i.nodeTextColor||i.textColor}; - color: ${i.nodeTextColor||i.textColor}; + .label text,span { + fill: ${t.nodeTextColor||t.textColor}; + color: ${t.nodeTextColor||t.textColor}; } .node rect, @@ -1932,9 +3392,13 @@ Expecting `+Ze.join(", ")+", got '"+(this.terminals_[Ne]||Ne)+"'":Dt="Parse erro .node ellipse, .node polygon, .node path { - fill: ${i.mainBkg}; - stroke: ${i.nodeBorder}; - stroke-width: 1px; + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder}; + /* From the theme, as every other diagram does. Pinned at 1px here, so block drew a + thinner border than an identical flowchart node under any theme asking for more -- + the neo theme asks for 2. Nothing downstream corrected it: the neo rules set stroke + and filter, never stroke-width. */ + stroke-width: ${t.strokeWidth??1}px; } .flowchart-label text { text-anchor: middle; @@ -1954,52 +3418,62 @@ Expecting `+Ze.join(", ")+", got '"+(this.terminals_[Ne]||Ne)+"'":Dt="Parse erro } .arrowheadPath { - fill: ${i.arrowheadColor}; + fill: ${t.arrowheadColor}; } - .edgePath .path { - stroke: ${i.lineColor}; + .edgePaths .path { + stroke: ${t.lineColor}; stroke-width: 2.0px; } .flowchart-link { - stroke: ${i.lineColor}; + stroke: ${t.lineColor}; fill: none; } .edgeLabel { - background-color: ${i.edgeLabelBackground}; + background-color: ${t.edgeLabelBackground}; + /* + * This is for backward compatibility with existing code that didn't + * add a \`

    \` around edge labels. + * + * TODO: We should probably remove this in a future release. + */ + p { + margin: 0; + padding: 0; + display: inline; + } rect { opacity: 0.5; - background-color: ${i.edgeLabelBackground}; - fill: ${i.edgeLabelBackground}; + background-color: ${t.edgeLabelBackground}; + fill: ${t.edgeLabelBackground}; } text-align: center; } /* For html labels only */ .labelBkg { - background-color: ${ZJ(i.edgeLabelBackground,.5)}; - // background-color: + background-color: ${t.edgeLabelBackground}; } .node .cluster { - // fill: ${ZJ(i.mainBkg,.5)}; - fill: ${ZJ(i.clusterBkg,.5)}; - stroke: ${ZJ(i.clusterBorder,.2)}; + // fill: ${Nut(t.mainBkg,.5)}; + fill: ${Nut(t.clusterBkg,.5)}; + stroke: ${Nut(t.clusterBorder,.2)}; box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px; stroke-width: 1px; } .cluster text { - fill: ${i.titleColor}; + fill: ${t.titleColor}; } - .cluster span,p { - color: ${i.titleColor}; + .cluster span { + color: ${t.titleColor}; } /* .cluster div { - color: ${i.titleColor}; + color: ${t.titleColor}; } */ div.mermaidTooltip { @@ -2007,10 +3481,10 @@ Expecting `+Ze.join(", ")+", got '"+(this.terminals_[Ne]||Ne)+"'":Dt="Parse erro text-align: center; max-width: 200px; padding: 2px; - font-family: ${i.fontFamily}; + font-family: ${t.fontFamily}; font-size: 12px; - background: ${i.tertiaryColor}; - border: 1px solid ${i.border2}; + background: ${t.tertiaryColor}; + border: 1px solid ${t.border2}; border-radius: 2px; pointer-events: none; z-index: 100; @@ -2019,6 +3493,1282 @@ Expecting `+Ze.join(", ")+", got '"+(this.terminals_[Ne]||Ne)+"'":Dt="Parse erro .flowchartTitleText { text-anchor: middle; font-size: 18px; - fill: ${i.textColor}; + fill: ${t.textColor}; + } + ${uk()} +`,"getStyles"),bzr=jpi});function wzr(t,r){if(t===0||!Number.isInteger(t))throw new Error("Columns must be an integer !== 0.");if(r<0||!Number.isInteger(r))throw new Error("Position must be a non-negative integer."+r);if(t<0)return{px:r,py:0};if(t===1)return{px:0,py:r};let a=r%t,o=Math.floor(r/t);return{px:a,py:o}}function Out(t,r,a=0,o=0,l=8){Pe.debug("setBlockSizes abc95 (start)",t.id,t?.size?.x,"block width =",t?.size,"siblingWidth",a),t?.size?.width||(t.size={width:a,height:o,x:0,y:0});let h=0,f=0;if(t.children?.length>0){for(let S of t.children)Out(S,r,0,0,l);let p=zpi(t);h=p.width,f=p.height,Pe.debug("setBlockSizes abc95 maxWidth of",t.id,":s children is ",h,f);for(let S of t.children)S.size&&(Pe.debug(`abc95 Setting size of children of ${t.id} id=${S.id} ${h} ${f} ${JSON.stringify(S.size)}`),S.size.width=h*(S.widthInColumns??1)+l*((S.widthInColumns??1)-1),S.size.height=f,S.size.x=0,S.size.y=0,Pe.debug(`abc95 updating size of ${t.id} children child:${S.id} maxWidth:${h} maxHeight:${f}`));for(let S of t.children)Out(S,r,h,f,l);let m=t.columns??-1,b=0;for(let S of t.children)b+=S.widthInColumns??1;let v=t.children.length;m>0&&m0?Math.min(t.children.length,m):t.children.length;if(S>0){let R=(C-S*l-l)/S;Pe.debug("abc95 (growing to fit) width",t.id,C,t.size?.width,R);for(let L of t.children)L.size&&(L.size.width=R)}}t.size={width:C,height:E,x:0,y:0}}Pe.debug("setBlockSizes abc94 (done)",t.id,t?.size?.x,t?.size?.width,t?.size?.y,t?.size?.height)}function xzr(t,r,a=8){Pe.debug(`abc85 layout blocks (=>layoutBlocks) ${t.id} x: ${t?.size?.x} y: ${t?.size?.y} width: ${t?.size?.width}`);let o=t.columns??-1;if(Pe.debug("layoutBlocks columns abc95",t.id,"=>",o,t),t.children&&t.children.length>0){let l=t?.children[0]?.size?.width??0,h=t.children.length*l+(t.children.length-1)*a;Pe.debug("widthOfChildren 88",h,"posX");let f=new Map;{let T=0;for(let C of t.children){if(!C.size)continue;let{py:E}=wzr(o,T),S=f.get(E)??0;C.size.height>S&&f.set(E,C.size.height);let R=C?.widthInColumns??1;o>0&&(R=Math.min(R,o-T%o)),T+=R}}let p=new Map;{let T=0,C=[...f.keys()].sort((E,S)=>E-S);for(let E of C)p.set(E,T),T+=(f.get(E)??0)+a}let m=0;Pe.debug("abc91 block?.size?.x",t.id,t?.size?.x);let b=t?.size?.x?t?.size?.x+(-t?.size?.width/2||0):-a,v=0;for(let T of t.children){let C=t;if(!T.size)continue;let{width:E,height:S}=T.size,{px:R,py:L}=wzr(o,m);if(L!=v&&(v=L,b=t?.size?.x?t?.size?.x+(-t?.size?.width/2||0):-a,Pe.debug("New row in layout for block",t.id," and child ",T.id,v)),Pe.debug(`abc89 layout blocks (child) id: ${T.id} Pos: ${m} (px, py) ${R},${L} (${C?.size?.x},${C?.size?.y}) parent: ${C.id} width: ${E}${a}`),C.size){let M=E/2;T.size.x=b+a+M,Pe.debug(`abc91 layout blocks (calc) px, pyid:${T.id} startingPos=X${b} new startingPosX${T.size.x} ${M} padding=${a} width=${E} halfWidth=${M} => x:${T.size.x} y:${T.size.y} ${T.widthInColumns} (width * (child?.w || 1)) / 2 ${E*(T?.widthInColumns??1)/2}`),b=T.size.x+M;let I=p.get(L)??0,F=f.get(L)??S;T.size.y=C.size.y-C.size.height/2+I+F/2+a,Pe.debug(`abc88 layout blocks (calc) px, pyid:${T.id}startingPosX${b}${a}${M}=>x:${T.size.x}y:${T.size.y}${T.widthInColumns}(width * (child?.w || 1)) / 2${E*(T?.widthInColumns??1)/2}`)}T.children&&xzr(T,r,a);let _=T?.widthInColumns??1;o>0&&(_=Math.min(_,o-m%o)),m+=_,Pe.debug("abc88 columnsPos",T,m)}}Pe.debug(`layout blocks (<==layoutBlocks) ${t.id} x: ${t?.size?.x} y: ${t?.size?.y} width: ${t?.size?.width}`)}function Tzr(t,{minX:r,minY:a,maxX:o,maxY:l}={minX:0,minY:0,maxX:0,maxY:0}){if(t.size&&t.id!=="root"){let{x:h,y:f,width:p,height:m}=t.size;h-p/2o&&(o=h+p/2),f+m/2>l&&(l=f+m/2)}if(t.children)for(let h of t.children)({minX:r,minY:a,maxX:o,maxY:l}=Tzr(h,{minX:r,minY:a,maxX:o,maxY:l}));return{minX:r,minY:a,maxX:o,maxY:l}}function kzr(t){let r=t.getBlock("root");if(!r)return;let a=Zt()?.block?.padding??8;Out(r,t,0,0,a),xzr(r,t,a),Pe.debug("getBlocks",JSON.stringify(r,null,2));let{minX:o,minY:l,maxX:h,maxY:f}=Tzr(r),p=f-l,m=h-o;return{x:o,y:l,width:m,height:p}}var zpi,Czr=ie(()=>{"use strict";Xn();ma();i(wzr,"calculateBlockPosition");zpi=i(t=>{let r=0,a=0;for(let o of t.children){let{width:l,height:h,x:f,y:p}=o.size??{width:0,height:0,x:0,y:0};if(Pe.debug("getMaxChildSize abc95 child:",o.id,"width:",l,"height:",h,"x:",f,"y:",p,o.type),o.type==="space")continue;let m=l/(o.widthInColumns??1);m>r&&(r=m),h>a&&(a=h)}return{width:r,height:a}},"getMaxChildSize");i(Out,"setBlockSizes");i(xzr,"layoutBlocks");i(Tzr,"findBounds");i(kzr,"layout")});function Ezr(t,r,a=!1){let o=t,l="default";(o?.classes?.length||0)>0&&(l=(o?.classes??[]).join(" ")),l=l+" flowchart-label";let h=(o?.classes??[]).flatMap(S=>r.getClasses().get(S)?.styles??[]),f=0,p="rect",m;switch(o.type){case"round":f=5,p="rect";break;case"composite":f=0,p="composite",m=0;break;case"square":p="rect";break;case"diamond":p="question";break;case"hexagon":p="hexagon";break;case"block_arrow":p="block_arrow";break;case"odd":p="rect_left_inv_arrow";break;case"lean_right":p="lean_right";break;case"lean_left":p="lean_left";break;case"trapezoid":p="trapezoid";break;case"inv_trapezoid":p="inv_trapezoid";break;case"rect_left_inv_arrow":p="rect_left_inv_arrow";break;case"circle":p="circle";break;case"ellipse":p="ellipse";break;case"stadium":p="stadium";break;case"subroutine":p="subroutine";break;case"cylinder":p="cylinder";break;case"group":p="rect";break;case"doublecircle":p="doublecircle";break;default:p="rect"}let b=GXe(o?.styles??[]),v=o.label,T=o.size??{width:0,height:0,x:0,y:0},C=r.getDiagramId();return{labelStyle:b.labelStyle,shape:p,label:v,labelText:v,rx:f,ry:f,class:l,cssClasses:l,cssStyles:o?.styles??[],cssCompiledStyles:h,style:b.style,id:o.id,domId:C?`${C}-${o.id}`:o.id,isGroup:!1,directions:o.directions,width:T.width||void 0,height:T.height||void 0,wrappingWidth:T.width||Number.POSITIVE_INFINITY,x:T.x,y:T.y,positioned:a,intersect:void 0,padding:m??ii()?.block?.padding??0,widthInColumns:o.widthInColumns??1,colorIndex:o.colorIndex,look:ii().look}}async function Upi(t,r,a){let o=Ezr(r,a,!1);if(r.type==="group")return;let l=ii(),h=await fA(t,o,{config:l}),f=h.node()?.getBBox()??{width:0,height:0},p=a.getBlock(o.id);p.size={width:f.width,height:f.height,x:0,y:0,node:h},a.setBlock(p),h.remove()}async function Vpi(t,r,a){let o=Ezr(r,a,!0);if(a.getBlock(o.id).type!=="space"){let h=ii(),f=await fA(t,o,{config:h});o.colorIndex!==void 0&&dp(f,o.colorIndex,h.theme,h.themeVariables?.borderColorArray),r.intersect=o?.intersect,ZE(o)}}async function Put(t,r,a,o){for(let l of r)await o(t,l,a),l.children&&await Put(t,l.children,a,o)}async function Szr(t,r,a){await Put(t,r,a,Upi)}async function Azr(t,r,a){await Put(t,r,a,Vpi)}async function Rzr(t,r,a,o,l){let h=new nh({multigraph:!0,compound:!0});h.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8});for(let f of a)f.size&&h.setNode(f.id,{width:f.size.width,height:f.size.height,intersect:f.intersect});for(let f of r)if(f.start&&f.end){let p=o.getBlock(f.start),m=o.getBlock(f.end);if(p?.size&&m?.size){let b=p.size,v=m.size,T=[{x:b.x,y:b.y},{x:b.x+(v.x-b.x)/2,y:b.y+(v.y-b.y)/2},{x:v.x,y:v.y}],C=l?`${l}-${f.id}`:f.id,E=f.thickness==="thick"?"edge-thickness-thick":"edge-thickness-normal",S=f.pattern==="dotted"?"edge-pattern-dotted":"edge-pattern-solid",R=`${E} ${S} flowchart-link LS-a1 LE-b1`;$L(t,{...f,id:C,arrowTypeEnd:f.arrowTypeEnd,arrowTypeStart:f.arrowTypeStart,points:T,classes:R},{},"block",h.node(f.start),h.node(f.end),l),f.label&&(await v4(t,{...f,label:f.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:f.arrowTypeEnd,arrowTypeStart:f.arrowTypeStart,points:T,classes:R}),Bz({...f,x:T[1].x,y:T[1].y},{originalPath:T}))}}}var Lzr=ie(()=>{"use strict";nk();Qs();Fz();oO();b0();Ia();i(Ezr,"getNodeFromBlock");i(Upi,"calculateBlockSize");i(Vpi,"insertBlockPositioned");i(Put,"performOperations");i(Szr,"calculateBlockSizes");i(Azr,"insertBlocks");i(Rzr,"insertEdges")});var Hpi,qpi,Dzr,_zr=ie(()=>{"use strict";Yo();Qs();Xn();B2e();mJe();Gh();Czr();Lzr();Hpi=i(function(t,r){return r.db.getClasses()},"getClasses"),qpi=i(async function(t,r,a,o){let{securityLevel:l,block:h}=ii(),f=o.db;f.setDiagramId(r);let p;l==="sandbox"&&(p=dn("#i"+r));let m=l==="sandbox"?dn(p.nodes()[0].contentDocument.body):dn("body"),b=l==="sandbox"?m.select(`[id="${r}"]`):dn(`[id="${r}"]`);$2e(b,ii()),$z(b,["point","circle","cross"],o.type,r);let T=f.getBlocks(),C=f.getBlocksFlat(),E=f.getEdges(),S=b.insert("g").attr("class","block");await Szr(S,T,f);let R=kzr(f);await Azr(S,T,f),await Rzr(S,E,C,f,r);let L=S.node()?.getBBox(),_=L&&Number.isFinite(L.width)&&Number.isFinite(L.height)?L:R;if(_){let M=Math.max(1,Math.round(.125*(_.width/_.height))),I=_.height+M+10,F=_.width+10,{useMaxWidth:O}=h;vl(b,I,F,!!O),Pe.debug("Here Bounds",R,_),b.attr("viewBox",`${_.x-5} ${_.y-5} ${_.width+10} ${_.height+10}`)}},"draw"),Dzr={draw:qpi,getClasses:Hpi}});var Mzr={};cs(Mzr,{diagram:()=>Wpi});var Wpi,Izr=ie(()=>{"use strict";czr();yzr();vzr();_zr();Wpi={parser:lzr,db:mzr,renderer:Dzr,styles:bzr}});function Zpi(t){return t.some(r=>$zr.test(r))}function egi(t){for(let r of t){let a=Gzr.exec(r);if(a?.index&&a.index>0)return a.index}return 4}function jzr(t,r){return t.replace(/\bline\s+(\d+)\b/gi,(a,o)=>{let l=parseInt(o,10),h=r.get(l);return h?`line ${h}`:a})}function zzr(t){let r=t.split(` +`),a=new Map,o=-1;for(let[m,b]of r.entries())if(b.trim()==="treeView-beta"){o=m;break}if(o===-1)return{text:t,lineMap:a};let l=[];for(let m=o+1;m{"use strict";$zr=/[─━│┃└┗├┣]/,Gzr=/[└┗├┣]/,Qpi=/[─━]/,Pzr=/^[\s│┃]+$/,Bzr=/^\s*(title[\t ]|accTitle[\t ]*:|accDescr[\t ]*[:{])/,Fzr=/^\s*%%/,Jpi=" ";i(Zpi,"isBoxDrawingFormat");i(egi,"inferSegmentWidth");i(jzr,"remapErrorLines");i(zzr,"preprocessBoxDrawing")});var $S,tgi,rgi,ngi,igi,agi,sgi,ogi,xae,But=ie(()=>{"use strict";Qs();up();Ia();e4e();xu();$S=new KD(()=>({cnt:1,stack:[{id:0,level:-1,name:"/",nodeType:"directory",children:[]}]})),tgi=i(()=>{$S.reset(),Is()},"clear"),rgi=i(()=>$S.records.stack[0],"getRoot"),ngi=i(()=>$S.records.cnt,"getCount"),igi=hs.treeView,agi=i(()=>nl(igi,ii().treeView),"getConfig"),sgi=i((t,r,a,o,l,h)=>{for(;t<=$S.records.stack[$S.records.stack.length-1].level;)$S.records.stack.pop();let f={id:$S.records.cnt++,level:t,name:r,nodeType:a,icon:l,cssClass:o,description:h,children:[]};$S.records.stack[$S.records.stack.length-1].children.push(f),$S.records.stack.push(f)},"addNode"),ogi={clear:tgi,addNode:sgi,getRoot:rgi,getCount:ngi,getConfig:agi,getAccTitle:Ws,getAccDescription:Ys,getDiagramTitle:Js,setAccDescription:js,setAccTitle:Os,setDiagramTitle:ao},xae=ogi});var lgi,Vzr,Hzr=ie(()=>{"use strict";m1();Qs();Xn();rl();Nb();Uzr();But();lgi=i(t=>{Th(t,xae);for(let r of t.nodes){let a=typeof r.indent=="number"?r.indent:0,o=r.name,l=o.endsWith("/");l&&(o=o.slice(0,-1));let h=l?"directory":"file",f=r.classAnnotation||void 0,p=r.iconAnnotation,m=p!==void 0?p||"none":void 0,b=r.descAnnotation||void 0,v=b?Ns(b,ii()):void 0;xae.addNode(a,o,h,f,m,v)}},"populate"),Vzr={parse:i(async t=>{let{text:r,lineMap:a}=zzr(t);try{let o=await Fd("treeView",r);Pe.debug(o),lgi(o)}catch(o){throw a.size>0&&o instanceof Error&&(o.message=jzr(o.message,a)),o}},"parse")}});function cgi(t,r){let a=r?.filenameIcons?.[t];if(a)return a;let o=t.lastIndexOf(".");if(o>0){let l=t.substring(o).toLowerCase(),h=r?.extensionIcons;return h?.[l]??h?.[l.slice(1)]}}function qzr(t,r){return t.includes(":")?t:t in cH.icons||!r?`${cH.prefix}:${t}`:`${r}:${t}`}function Fut(t,r){if(t.icon!=="none"){if(t.icon)return qzr(t.icon,r.defaultIconPack);if(r.showIcons){if(t.nodeType==="file"){let a=cgi(t.name,r);if(a==="none")return;if(a)return qzr(a,r.defaultIconPack)}return`${cH.prefix}:${t.nodeType==="directory"?"folder":"file"}`}}}var cH,Wzr=ie(()=>{"use strict";cH={prefix:"mermaid-treeview",height:24,width:24,icons:{folder:{body:''},file:{body:''}}};i(cgi,"detectIcon");i(qzr,"qualifyIcon");i(Fut,"getNodeIcon")});var $ut,ugi,hgi,fgi,dgi,Yzr,pgi,ggi,mgi,Kzr,Xzr=ie(()=>{"use strict";Xn();zT();y1();Gh();Wzr();Qj([{name:cH.prefix,icons:cH}]);$ut=14,ugi=4,hgi=16,fgi=i(async(t,r)=>{let a=[],o=i(h=>{let f=Fut(h,r);f&&a.push({icon:f,node:h}),h.children.forEach(o)},"collect");o(t);let l=await Promise.all(a.map(async({icon:h,node:f})=>({id:f.id,svg:await hm(h,{height:$ut,width:$ut})})));return new Map(l.map(({id:h,svg:f})=>[h,f]))},"resolveNodeIcons"),dgi=i((t,r,a,o,l,h)=>{let f=o.append("g"),p="treeView-node-label";a.nodeType==="directory"&&(p+=" treeView-node-dir"),a.cssClass&&(p+=` ${a.cssClass}`);let m=$ut+ugi,b=Fut(a,l),v=b!==void 0;b&&f.append("g").attr("class","treeView-node-icon").attr("transform",`translate(${t+l.paddingX}, ${r+l.paddingY})`).html(h.get(a.id)??"");let T=f.append("text").text(a.name).attr("dominant-baseline","middle").attr("class",p),{height:C,width:E}=T.node().getBBox(),S=C+l.paddingY*2,R=t+l.paddingX+(v?m:0);T.attr("x",R),T.attr("y",r+S/2);let L=R+E,_=E+l.paddingX*2+(v?m:0);return a.BBox={x:t,y:r,width:_,height:S},a.cssClass?.split(/\s+/).includes("highlight")&&f.insert("rect",":first-child").attr("x",t).attr("y",r+1).attr("width",0).attr("height",S-2).attr("rx",3).attr("class","treeView-highlight-bg"),{node:a,nodeGroup:f,labelRightEdge:L,centerY:r+S/2}},"positionLabel"),Yzr=i((t,r,a,o,l,h)=>t.append("line").attr("x1",r).attr("y1",a).attr("x2",o).attr("y2",l).attr("stroke-width",h).attr("class","treeView-node-line"),"positionLine"),pgi=i((t,r,a,o)=>{let l=0,h=0,f=[],p=i((v,T,C,E)=>{let S=E*(C.rowIndent+C.paddingX),R=dgi(S,l,T,v,C,o);f.push(R);let{height:L,width:_}=T.BBox;Yzr(v,S-C.rowIndent,l+L/2,S,l+L/2,C.lineThickness),h=Math.max(h,S+_),l+=L},"drawNode"),m=i((v,T=0)=>{p(t,v,a,T),v.children.forEach(R=>{m(R,T+1)});let{x:C,y:E,height:S}=v.BBox;if(v.children.length){let{y:R,height:L}=v.children[v.children.length-1].BBox;Yzr(t,C+a.paddingX,E+S,C+a.paddingX,R+L/2+a.lineThickness/2,a.lineThickness)}},"processNode");m(r);let b=f.filter(v=>v.node.description);if(b.length>0){let T=Math.max(...f.map(C=>C.labelRightEdge))+hgi;for(let C of b){let S=C.nodeGroup.append("text").text(C.node.description).attr("dominant-baseline","middle").attr("class","treeView-node-description").attr("x",T).attr("y",C.centerY).node().getBBox();h=Math.max(h,T+S.width+a.paddingX)}}for(let v of f)if(v.node.cssClass?.split(/\s+/).includes("highlight")){let T=v.nodeGroup.select(".treeView-highlight-bg");if(!T.empty()){let C=h-v.node.BBox.x+8;T.attr("width",C),h=Math.max(h,v.node.BBox.x+C+2)}}return{totalHeight:l,totalWidth:h}},"drawTree"),ggi=i(async(t,r,a,o)=>{Pe.debug(`Rendering treeView diagram +`+t);let l=o.db,h=l.getRoot(),f=l.getConfig(),p=fu(r),m=p.append("g");m.attr("class","tree-view");let b=await fgi(h,f),{totalHeight:v,totalWidth:T}=pgi(m,h,f,b);p.attr("viewBox",`-${f.lineThickness/2} 0 ${T} ${v}`),vl(p,v,T,f.useMaxWidth)},"draw"),mgi={draw:ggi},Kzr=mgi});var ygi,bgi,Qzr,Jzr=ie(()=>{"use strict";Ia();ygi={labelFontSize:"16px",labelColor:"black",lineColor:"black",iconColor:"#546e7a",descriptionColor:"#6a9955",highlightBg:"rgba(255, 193, 7, 0.15)",highlightStroke:"#ffc107"},bgi=i(({treeView:t})=>{let{labelFontSize:r,labelColor:a,lineColor:o,iconColor:l,descriptionColor:h,highlightBg:f,highlightStroke:p}=nl(ygi,t);return` + .treeView-node-label { + font-size: ${r}; + fill: ${a}; + white-space: pre; + } + .treeView-node-dir { + font-weight: bold; + } + .treeView-node-line { + stroke: ${o}; + } + .treeView-node-icon { + color: ${l}; + } + .treeView-node-description { + font-size: ${r}; + fill: ${h}; + font-style: italic; + white-space: pre; + } + .treeView-highlight-bg { + fill: ${f}; + stroke: ${p}; + stroke-width: 1; + } + `},"styles"),Qzr=bgi});var Zzr={};cs(Zzr,{diagram:()=>vgi});var vgi,eUr=ie(()=>{"use strict";Hzr();But();Xzr();Jzr();vgi={db:xae,renderer:Kzr,parser:Vzr,styles:Qzr}});var Gut,jut,Tae,nUr,zut,yy,GS,kae,iUr,kgi,Cae,aUr,sUr,oUr,lUr,cUr,Z4e,eCe,s_,tCe=ie(()=>{"use strict";Gut={L:"left",R:"right",T:"top",B:"bottom"},jut={L:i(t=>`${t},${t/2} 0,${t} 0,0`,"L"),R:i(t=>`0,${t/2} ${t},0 ${t},${t}`,"R"),T:i(t=>`0,0 ${t},0 ${t/2},${t}`,"T"),B:i(t=>`${t/2},0 ${t},${t} 0,${t}`,"B")},Tae={L:i((t,r)=>t-r+2,"L"),R:i((t,r)=>t-2,"R"),T:i((t,r)=>t-r+2,"T"),B:i((t,r)=>t-2,"B")},nUr=i(function(t){return yy(t)?t==="L"?"R":"L":t==="T"?"B":"T"},"getOppositeArchitectureDirection"),zut=i(function(t){let r=t;return r==="L"||r==="R"||r==="T"||r==="B"},"isArchitectureDirection"),yy=i(function(t){let r=t;return r==="L"||r==="R"},"isArchitectureDirectionX"),GS=i(function(t){let r=t;return r==="T"||r==="B"},"isArchitectureDirectionY"),kae=i(function(t,r){let a=yy(t)&&GS(r),o=GS(t)&&yy(r);return a||o},"isArchitectureDirectionXY"),iUr=i(function(t){let r=t[0],a=t[1],o=yy(r)&&GS(a),l=GS(r)&&yy(a);return o||l},"isArchitecturePairXY"),kgi=i(function(t){return t!=="LL"&&t!=="RR"&&t!=="TT"&&t!=="BB"},"isValidArchitectureDirectionPair"),Cae=i(function(t,r){let a=`${t}${r}`;return kgi(a)?a:void 0},"getArchitectureDirectionPair"),aUr=i(function([t,r],a){let o=a[0],l=a[1];return yy(o)?GS(l)?[t+(o==="L"?-1:1),r+(l==="T"?1:-1)]:[t+(o==="L"?-1:1),r]:yy(l)?[t+(l==="L"?1:-1),r+(o==="T"?1:-1)]:[t,r+(o==="T"?1:-1)]},"shiftPositionByArchitectureDirectionPair"),sUr=i(function(t){return t==="LT"||t==="TL"?[1,1]:t==="BL"||t==="LB"?[1,-1]:t==="BR"||t==="RB"?[-1,-1]:[-1,1]},"getArchitectureDirectionXYFactors"),oUr=i(function(t,r){return kae(t,r)?"bend":yy(t)?"horizontal":"vertical"},"getArchitectureDirectionAlignment"),lUr=i(function(t){return t.type==="service"},"isArchitectureService"),cUr=i(function(t){return t.type==="junction"},"isArchitectureJunction"),Z4e=i((t,r)=>{let[a,o]=[t,r].sort();return`${JSON.stringify(a)}-${JSON.stringify(o)}`},"architectureGroupAlignmentKey"),eCe=i(t=>t.data(),"edgeData"),s_=i(t=>t.data(),"nodeData")});var Cgi,uH,Uut=ie(()=>{"use strict";Qs();up();Ia();xu();tCe();Cgi=hs.architecture,uH=class{constructor(){this.nodes=new Map;this.groups=new Map;this.edges=[];this.layoutHints=[];this.registeredIds=new Map;this.elements=new Map;this.diagramId="";this.setAccTitle=Os;this.getAccTitle=Ws;this.setDiagramTitle=ao;this.getDiagramTitle=Js;this.getAccDescription=Ys;this.setAccDescription=js;this.clear()}static{i(this,"ArchitectureDB")}setDiagramId(r){this.diagramId=r}getDiagramId(){return this.diagramId}clear(){this.nodes=new Map,this.groups=new Map,this.edges=[],this.layoutHints=[],this.registeredIds=new Map,this.dataStructures=void 0,this.elements=new Map,this.diagramId="",Is()}addService({id:r,icon:a,in:o,title:l,iconText:h}){if(this.registeredIds.has(r))throw new Error(`The service id [${r}] is already in use by another ${this.registeredIds.get(r)}`);if(o!==void 0){if(r===o)throw new Error(`The service [${r}] cannot be placed within itself`);if(!this.registeredIds.has(o))throw new Error(`The service [${r}]'s parent does not exist. Please make sure the parent is created before this service`);if(this.registeredIds.get(o)==="node")throw new Error(`The service [${r}]'s parent is not a group`)}this.registeredIds.set(r,"node"),this.nodes.set(r,{id:r,type:"service",icon:a,iconText:h,title:l,edges:[],in:o})}getServices(){return[...this.nodes.values()].filter(lUr)}addJunction({id:r,in:a}){if(this.registeredIds.has(r))throw new Error(`The junction id [${r}] is already in use by another ${this.registeredIds.get(r)}`);if(a!==void 0){if(r===a)throw new Error(`The junction [${r}] cannot be placed within itself`);if(!this.registeredIds.has(a))throw new Error(`The junction [${r}]'s parent does not exist. Please make sure the parent is created before this junction`);if(this.registeredIds.get(a)==="node")throw new Error(`The junction [${r}]'s parent is not a group`)}this.registeredIds.set(r,"node"),this.nodes.set(r,{id:r,type:"junction",edges:[],in:a})}getJunctions(){return[...this.nodes.values()].filter(cUr)}getNodes(){return[...this.nodes.values()]}getNode(r){return this.nodes.get(r)??null}addGroup({id:r,icon:a,in:o,title:l}){if(this.registeredIds.has(r))throw new Error(`The group id [${r}] is already in use by another ${this.registeredIds.get(r)}`);if(o!==void 0){if(r===o)throw new Error(`The group [${r}] cannot be placed within itself`);if(!this.registeredIds.has(o))throw new Error(`The group [${r}]'s parent does not exist. Please make sure the parent is created before this group`);if(this.registeredIds.get(o)==="node")throw new Error(`The group [${r}]'s parent is not a group`)}this.registeredIds.set(r,"group"),this.groups.set(r,{id:r,icon:a,title:l,in:o})}getGroups(){return[...this.groups.values()]}addEdge({lhsId:r,rhsId:a,lhsDir:o,rhsDir:l,lhsInto:h,rhsInto:f,lhsGroup:p,rhsGroup:m,title:b}){if(!zut(o))throw new Error(`Invalid direction given for left hand side of edge ${r}--${a}. Expected (L,R,T,B) got ${String(o)}`);if(!zut(l))throw new Error(`Invalid direction given for right hand side of edge ${r}--${a}. Expected (L,R,T,B) got ${String(l)}`);if(!this.nodes.has(r)&&!this.groups.has(r))throw new Error(`The left-hand id [${r}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(!this.nodes.has(a)&&!this.groups.has(a))throw new Error(`The right-hand id [${a}] does not yet exist. Please create the service/group before declaring an edge to it.`);let v=this.nodes.get(r).in,T=this.nodes.get(a).in;if(p&&v&&T&&v==T)throw new Error(`The left-hand id [${r}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(m&&v&&T&&v==T)throw new Error(`The right-hand id [${a}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);let C={lhsId:r,lhsDir:o,lhsInto:h,lhsGroup:p,rhsId:a,rhsDir:l,rhsInto:f,rhsGroup:m,title:b};this.edges.push(C);let E=this.nodes.get(r),S=this.nodes.get(a);E&&S&&(E.edges.push(this.edges[this.edges.length-1]),S.edges.push(this.edges[this.edges.length-1]))}getEdges(){return this.edges}addLayoutHint(r){if(r.members.length<2)throw new Error(`An align directive requires at least two members; got ${r.members.length}`);let a=new Set;r.members.forEach(o=>{if(this.registeredIds.get(o)!=="node")throw new Error(`align ${r.direction} references [${o}], which is not a service or junction`);if(a.has(o))throw new Error(`align ${r.direction} lists [${o}] more than once`);a.add(o)}),this.layoutHints.push(r)}getLayoutHints(){return this.layoutHints}getDataStructures(){if(this.dataStructures===void 0){let r=new Map,a=new Map;for(let[p,m]of this.nodes.entries()){let b=new Map;for(let v of m.edges){let T=this.getNode(v.lhsId)?.in,C=this.getNode(v.rhsId)?.in;if(T&&C&&T!==C){let E=oUr(v.lhsDir,v.rhsDir);E!=="bend"&&r.set(Z4e(T,C),E)}if(v.lhsId===p){let E=Cae(v.lhsDir,v.rhsDir);E&&b.set(E,v.rhsId)}else{let E=Cae(v.rhsDir,v.lhsDir);E&&b.set(E,v.lhsId)}}a.set(p,b)}let o=new Set,l=new Set(a.keys()),h=i(p=>{let m=new Map([[p,[0,0]]]),b=[p];for(;b.length>0;){let v=b.shift();if(v){o.add(v),l.delete(v);let T=a.get(v);if(!T)throw new Error(`BFS error: adjacency list for id ${v} not found. Please report this as a bug.`);let C=m.get(v);if(!C)throw new Error(`BFS error: position for id ${v} not found in spatial map. Please report this as a bug.`);let[E,S]=C;T.forEach((R,L)=>{o.has(R)||(m.set(R,aUr([E,S],L)),b.push(R))})}}return m},"BFS"),f=[];for(;l.size>0;){let p=l.values().next().value;f.push(h(p))}this.dataStructures={adjList:a,spatialMaps:f,groupAlignments:r}}return this.dataStructures}setElementForId(r,a){this.elements.set(r,a)}getElementById(r){return this.elements.get(r)}getConfig(){return nl({...Cgi,...ii().architecture})}getConfigField(r){return this.getConfig()[r]}}});var Egi,Vut,uUr=ie(()=>{"use strict";m1();Xn();Nb();Uut();Egi=i((t,r)=>{Th(t,r),t.groups.map(a=>r.addGroup(a)),t.services.map(a=>r.addService({...a,type:"service"})),t.junctions.map(a=>r.addJunction({...a,type:"junction"})),t.edges.map(a=>r.addEdge(a)),t.alignments?.map(a=>r.addLayoutHint({direction:a.direction,members:[...a.members]}))},"populateDb"),Vut={parser:{yy:void 0},parse:i(async t=>{let r=await Fd("architecture",t);Pe.debug(r);let a=Vut.parser?.yy;if(!(a instanceof uH))throw new Error("parser.parser?.yy was not a ArchitectureDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Egi(r,a)},"parse")}});var Sgi,hUr,fUr=ie(()=>{"use strict";Sgi=i(t=>` + .edge { + stroke-width: ${t.archEdgeWidth}; + stroke: ${t.archEdgeColor}; + fill: none; + } + + .arrow { + fill: ${t.archEdgeArrowColor}; + } + + .node-bkg { + fill: none; + stroke: ${t.archGroupBorderColor}; + stroke-width: ${t.archGroupBorderWidth}; + stroke-dasharray: 8; + } + .node-icon-text { + display: flex; + align-items: center; + } + + .node-icon-text > div { + color: #fff; + margin: 1px; + height: fit-content; + text-align: center; + overflow: hidden; + display: -webkit-box; + -webkit-box-orient: vertical; + } +`,"getStyles"),hUr=Sgi});var qut=Hv((Eae,Hut)=>{"use strict";i((function(r,a){typeof Eae=="object"&&typeof Hut=="object"?Hut.exports=a():typeof define=="function"&&define.amd?define([],a):typeof Eae=="object"?Eae.layoutBase=a():r.layoutBase=a()}),"webpackUniversalModuleDefinition")(Eae,function(){return(function(t){var r={};function a(o){if(r[o])return r[o].exports;var l=r[o]={i:o,l:!1,exports:{}};return t[o].call(l.exports,l,l.exports,a),l.l=!0,l.exports}return i(a,"__webpack_require__"),a.m=t,a.c=r,a.i=function(o){return o},a.d=function(o,l,h){a.o(o,l)||Object.defineProperty(o,l,{configurable:!1,enumerable:!0,get:h})},a.n=function(o){var l=o&&o.__esModule?i(function(){return o.default},"getDefault"):i(function(){return o},"getModuleExports");return a.d(l,"a",l),l},a.o=function(o,l){return Object.prototype.hasOwnProperty.call(o,l)},a.p="",a(a.s=28)})([(function(t,r,a){"use strict";function o(){}i(o,"LayoutConstants"),o.QUALITY=1,o.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,o.DEFAULT_INCREMENTAL=!1,o.DEFAULT_ANIMATION_ON_LAYOUT=!0,o.DEFAULT_ANIMATION_DURING_LAYOUT=!1,o.DEFAULT_ANIMATION_PERIOD=50,o.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,o.DEFAULT_GRAPH_MARGIN=15,o.NODE_DIMENSIONS_INCLUDE_LABELS=!1,o.SIMPLE_NODE_SIZE=40,o.SIMPLE_NODE_HALF_SIZE=o.SIMPLE_NODE_SIZE/2,o.EMPTY_COMPOUND_NODE_SIZE=40,o.MIN_EDGE_LENGTH=1,o.WORLD_BOUNDARY=1e6,o.INITIAL_WORLD_BOUNDARY=o.WORLD_BOUNDARY/1e3,o.WORLD_CENTER_X=1200,o.WORLD_CENTER_Y=900,t.exports=o}),(function(t,r,a){"use strict";var o=a(2),l=a(8),h=a(9);function f(m,b,v){o.call(this,v),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=v,this.bendpoints=[],this.source=m,this.target=b}i(f,"LEdge"),f.prototype=Object.create(o.prototype);for(var p in o)f[p]=o[p];f.prototype.getSource=function(){return this.source},f.prototype.getTarget=function(){return this.target},f.prototype.isInterGraph=function(){return this.isInterGraph},f.prototype.getLength=function(){return this.length},f.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},f.prototype.getBendpoints=function(){return this.bendpoints},f.prototype.getLca=function(){return this.lca},f.prototype.getSourceInLca=function(){return this.sourceInLca},f.prototype.getTargetInLca=function(){return this.targetInLca},f.prototype.getOtherEnd=function(m){if(this.source===m)return this.target;if(this.target===m)return this.source;throw"Node is not incident with this edge"},f.prototype.getOtherEndInGraph=function(m,b){for(var v=this.getOtherEnd(m),T=b.getGraphManager().getRoot();;){if(v.getOwner()==b)return v;if(v.getOwner()==T)break;v=v.getOwner().getParent()}return null},f.prototype.updateLength=function(){var m=new Array(4);this.isOverlapingSourceAndTarget=l.getIntersection(this.target.getRect(),this.source.getRect(),m),this.isOverlapingSourceAndTarget||(this.lengthX=m[0]-m[2],this.lengthY=m[1]-m[3],Math.abs(this.lengthX)<1&&(this.lengthX=h.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=h.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},f.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=h.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=h.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=f}),(function(t,r,a){"use strict";function o(l){this.vGraphObject=l}i(o,"LGraphObject"),t.exports=o}),(function(t,r,a){"use strict";var o=a(2),l=a(10),h=a(13),f=a(0),p=a(16),m=a(5);function b(T,C,E,S){E==null&&S==null&&(S=C),o.call(this,S),T.graphManager!=null&&(T=T.graphManager),this.estimatedSize=l.MIN_VALUE,this.inclusionTreeDepth=l.MAX_VALUE,this.vGraphObject=S,this.edges=[],this.graphManager=T,E!=null&&C!=null?this.rect=new h(C.x,C.y,E.width,E.height):this.rect=new h}i(b,"LNode"),b.prototype=Object.create(o.prototype);for(var v in o)b[v]=o[v];b.prototype.getEdges=function(){return this.edges},b.prototype.getChild=function(){return this.child},b.prototype.getOwner=function(){return this.owner},b.prototype.getWidth=function(){return this.rect.width},b.prototype.setWidth=function(T){this.rect.width=T},b.prototype.getHeight=function(){return this.rect.height},b.prototype.setHeight=function(T){this.rect.height=T},b.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},b.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},b.prototype.getCenter=function(){return new m(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},b.prototype.getLocation=function(){return new m(this.rect.x,this.rect.y)},b.prototype.getRect=function(){return this.rect},b.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},b.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},b.prototype.setRect=function(T,C){this.rect.x=T.x,this.rect.y=T.y,this.rect.width=C.width,this.rect.height=C.height},b.prototype.setCenter=function(T,C){this.rect.x=T-this.rect.width/2,this.rect.y=C-this.rect.height/2},b.prototype.setLocation=function(T,C){this.rect.x=T,this.rect.y=C},b.prototype.moveBy=function(T,C){this.rect.x+=T,this.rect.y+=C},b.prototype.getEdgeListToNode=function(T){var C=[],E,S=this;return S.edges.forEach(function(R){if(R.target==T){if(R.source!=S)throw"Incorrect edge source!";C.push(R)}}),C},b.prototype.getEdgesBetween=function(T){var C=[],E,S=this;return S.edges.forEach(function(R){if(!(R.source==S||R.target==S))throw"Incorrect edge source and/or target";(R.target==T||R.source==T)&&C.push(R)}),C},b.prototype.getNeighborsList=function(){var T=new Set,C=this;return C.edges.forEach(function(E){if(E.source==C)T.add(E.target);else{if(E.target!=C)throw"Incorrect incidency!";T.add(E.source)}}),T},b.prototype.withChildren=function(){var T=new Set,C,E;if(T.add(this),this.child!=null)for(var S=this.child.getNodes(),R=0;RC?(this.rect.x-=(this.labelWidth-C)/2,this.setWidth(this.labelWidth)):this.labelPosHorizontal=="right"&&this.setWidth(C+this.labelWidth)),this.labelHeight&&(this.labelPosVertical=="top"?(this.rect.y-=this.labelHeight,this.setHeight(E+this.labelHeight)):this.labelPosVertical=="center"&&this.labelHeight>E?(this.rect.y-=(this.labelHeight-E)/2,this.setHeight(this.labelHeight)):this.labelPosVertical=="bottom"&&this.setHeight(E+this.labelHeight))}}},b.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==l.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},b.prototype.transform=function(T){var C=this.rect.x;C>f.WORLD_BOUNDARY?C=f.WORLD_BOUNDARY:C<-f.WORLD_BOUNDARY&&(C=-f.WORLD_BOUNDARY);var E=this.rect.y;E>f.WORLD_BOUNDARY?E=f.WORLD_BOUNDARY:E<-f.WORLD_BOUNDARY&&(E=-f.WORLD_BOUNDARY);var S=new m(C,E),R=T.inverseTransformPoint(S);this.setLocation(R.x,R.y)},b.prototype.getLeft=function(){return this.rect.x},b.prototype.getRight=function(){return this.rect.x+this.rect.width},b.prototype.getTop=function(){return this.rect.y},b.prototype.getBottom=function(){return this.rect.y+this.rect.height},b.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},t.exports=b}),(function(t,r,a){"use strict";var o=a(0);function l(){}i(l,"FDLayoutConstants");for(var h in o)l[h]=o[h];l.MAX_ITERATIONS=2500,l.DEFAULT_EDGE_LENGTH=50,l.DEFAULT_SPRING_STRENGTH=.45,l.DEFAULT_REPULSION_STRENGTH=4500,l.DEFAULT_GRAVITY_STRENGTH=.4,l.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,l.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,l.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,l.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,l.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,l.COOLING_ADAPTATION_FACTOR=.33,l.ADAPTATION_LOWER_NODE_LIMIT=1e3,l.ADAPTATION_UPPER_NODE_LIMIT=5e3,l.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,l.MAX_NODE_DISPLACEMENT=l.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,l.MIN_REPULSION_DIST=l.DEFAULT_EDGE_LENGTH/10,l.CONVERGENCE_CHECK_PERIOD=100,l.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,l.MIN_EDGE_LENGTH=1,l.GRID_CALCULATION_CHECK_PERIOD=10,t.exports=l}),(function(t,r,a){"use strict";function o(l,h){l==null&&h==null?(this.x=0,this.y=0):(this.x=l,this.y=h)}i(o,"PointD"),o.prototype.getX=function(){return this.x},o.prototype.getY=function(){return this.y},o.prototype.setX=function(l){this.x=l},o.prototype.setY=function(l){this.y=l},o.prototype.getDifference=function(l){return new DimensionD(this.x-l.x,this.y-l.y)},o.prototype.getCopy=function(){return new o(this.x,this.y)},o.prototype.translate=function(l){return this.x+=l.width,this.y+=l.height,this},t.exports=o}),(function(t,r,a){"use strict";var o=a(2),l=a(10),h=a(0),f=a(7),p=a(3),m=a(1),b=a(13),v=a(12),T=a(11);function C(S,R,L){o.call(this,L),this.estimatedSize=l.MIN_VALUE,this.margin=h.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=S,R!=null&&R instanceof f?this.graphManager=R:R!=null&&R instanceof Layout&&(this.graphManager=R.graphManager)}i(C,"LGraph"),C.prototype=Object.create(o.prototype);for(var E in o)C[E]=o[E];C.prototype.getNodes=function(){return this.nodes},C.prototype.getEdges=function(){return this.edges},C.prototype.getGraphManager=function(){return this.graphManager},C.prototype.getParent=function(){return this.parent},C.prototype.getLeft=function(){return this.left},C.prototype.getRight=function(){return this.right},C.prototype.getTop=function(){return this.top},C.prototype.getBottom=function(){return this.bottom},C.prototype.isConnected=function(){return this.isConnected},C.prototype.add=function(S,R,L){if(R==null&&L==null){var _=S;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(_)>-1)throw"Node already in graph!";return _.owner=this,this.getNodes().push(_),_}else{var M=S;if(!(this.getNodes().indexOf(R)>-1&&this.getNodes().indexOf(L)>-1))throw"Source or target not in graph!";if(!(R.owner==L.owner&&R.owner==this))throw"Both owners must be this graph!";return R.owner!=L.owner?null:(M.source=R,M.target=L,M.isInterGraph=!1,this.getEdges().push(M),R.edges.push(M),L!=R&&L.edges.push(M),M)}},C.prototype.remove=function(S){var R=S;if(S instanceof p){if(R==null)throw"Node is null!";if(!(R.owner!=null&&R.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var L=R.edges.slice(),_,M=L.length,I=0;I-1&&P>-1))throw"Source and/or target doesn't know this edge!";_.source.edges.splice(O,1),_.target!=_.source&&_.target.edges.splice(P,1);var F=_.source.owner.getEdges().indexOf(_);if(F==-1)throw"Not in owner's edge list!";_.source.owner.getEdges().splice(F,1)}},C.prototype.updateLeftTop=function(){for(var S=l.MAX_VALUE,R=l.MAX_VALUE,L,_,M,I=this.getNodes(),F=I.length,O=0;OL&&(S=L),R>_&&(R=_)}return S==l.MAX_VALUE?null:(I[0].getParent().paddingLeft!=null?M=I[0].getParent().paddingLeft:M=this.margin,this.left=R-M,this.top=S-M,new v(this.left,this.top))},C.prototype.updateBounds=function(S){for(var R=l.MAX_VALUE,L=-l.MAX_VALUE,_=l.MAX_VALUE,M=-l.MAX_VALUE,I,F,O,P,G,V=this.nodes,Y=V.length,K=0;KI&&(R=I),LO&&(_=O),MI&&(R=I),LO&&(_=O),M=this.nodes.length){var Y=0;L.forEach(function(K){K.owner==S&&Y++}),Y==this.nodes.length&&(this.isConnected=!0)}},t.exports=C}),(function(t,r,a){"use strict";var o,l=a(1);function h(f){o=a(6),this.layout=f,this.graphs=[],this.edges=[]}i(h,"LGraphManager"),h.prototype.addRoot=function(){var f=this.layout.newGraph(),p=this.layout.newNode(null),m=this.add(f,p);return this.setRootGraph(m),this.rootGraph},h.prototype.add=function(f,p,m,b,v){if(m==null&&b==null&&v==null){if(f==null)throw"Graph is null!";if(p==null)throw"Parent node is null!";if(this.graphs.indexOf(f)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(f),f.parent!=null)throw"Already has a parent!";if(p.child!=null)throw"Already has a child!";return f.parent=p,p.child=f,f}else{v=m,b=p,m=f;var T=b.getOwner(),C=v.getOwner();if(!(T!=null&&T.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(C!=null&&C.getGraphManager()==this))throw"Target not in this graph mgr!";if(T==C)return m.isInterGraph=!1,T.add(m,b,v);if(m.isInterGraph=!0,m.source=b,m.target=v,this.edges.indexOf(m)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(m),!(m.source!=null&&m.target!=null))throw"Edge source and/or target is null!";if(!(m.source.edges.indexOf(m)==-1&&m.target.edges.indexOf(m)==-1))throw"Edge already in source and/or target incidency list!";return m.source.edges.push(m),m.target.edges.push(m),m}},h.prototype.remove=function(f){if(f instanceof o){var p=f;if(p.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(p==this.rootGraph||p.parent!=null&&p.parent.graphManager==this))throw"Invalid parent node!";var m=[];m=m.concat(p.getEdges());for(var b,v=m.length,T=0;T=f.getRight()?p[0]+=Math.min(f.getX()-h.getX(),h.getRight()-f.getRight()):f.getX()<=h.getX()&&f.getRight()>=h.getRight()&&(p[0]+=Math.min(h.getX()-f.getX(),f.getRight()-h.getRight())),h.getY()<=f.getY()&&h.getBottom()>=f.getBottom()?p[1]+=Math.min(f.getY()-h.getY(),h.getBottom()-f.getBottom()):f.getY()<=h.getY()&&f.getBottom()>=h.getBottom()&&(p[1]+=Math.min(h.getY()-f.getY(),f.getBottom()-h.getBottom()));var v=Math.abs((f.getCenterY()-h.getCenterY())/(f.getCenterX()-h.getCenterX()));f.getCenterY()===h.getCenterY()&&f.getCenterX()===h.getCenterX()&&(v=1);var T=v*p[0],C=p[1]/v;p[0]T)return p[0]=m,p[1]=E,p[2]=v,p[3]=V,!1;if(bv)return p[0]=C,p[1]=b,p[2]=P,p[3]=T,!1;if(mv?(p[0]=R,p[1]=L,H=!0):(p[0]=S,p[1]=E,H=!0):Z===W&&(m>v?(p[0]=C,p[1]=E,H=!0):(p[0]=_,p[1]=L,H=!0)),-Q===W?v>m?(p[2]=G,p[3]=V,q=!0):(p[2]=P,p[3]=O,q=!0):Q===W&&(v>m?(p[2]=F,p[3]=O,q=!0):(p[2]=Y,p[3]=V,q=!0)),H&&q)return!1;if(m>v?b>T?(te=this.getCardinalDirection(Z,W,4),z=this.getCardinalDirection(Q,W,2)):(te=this.getCardinalDirection(-Z,W,3),z=this.getCardinalDirection(-Q,W,1)):b>T?(te=this.getCardinalDirection(-Z,W,1),z=this.getCardinalDirection(-Q,W,3)):(te=this.getCardinalDirection(Z,W,2),z=this.getCardinalDirection(Q,W,4)),!H)switch(te){case 1:ae=E,re=m+-I/W,p[0]=re,p[1]=ae;break;case 2:re=_,ae=b+M*W,p[0]=re,p[1]=ae;break;case 3:ae=L,re=m+I/W,p[0]=re,p[1]=ae;break;case 4:re=R,ae=b+-M*W,p[0]=re,p[1]=ae;break}if(!q)switch(z){case 1:le=O,ce=v+-J/W,p[2]=ce,p[3]=le;break;case 2:ce=Y,le=T+K*W,p[2]=ce,p[3]=le;break;case 3:le=V,ce=v+J/W,p[2]=ce,p[3]=le;break;case 4:ce=G,le=T+-K*W,p[2]=ce,p[3]=le;break}}return!1},l.getCardinalDirection=function(h,f,p){return h>f?p:1+p%4},l.getIntersection=function(h,f,p,m){if(m==null)return this.getIntersection2(h,f,p);var b=h.x,v=h.y,T=f.x,C=f.y,E=p.x,S=p.y,R=m.x,L=m.y,_=void 0,M=void 0,I=void 0,F=void 0,O=void 0,P=void 0,G=void 0,V=void 0,Y=void 0;return I=C-v,O=b-T,G=T*v-b*C,F=L-S,P=E-R,V=R*S-E*L,Y=I*P-F*O,Y===0?null:(_=(O*V-P*G)/Y,M=(F*G-I*V)/Y,new o(_,M))},l.angleOfVector=function(h,f,p,m){var b=void 0;return h!==p?(b=Math.atan((m-f)/(p-h)),p=0){var L=(-E+Math.sqrt(E*E-4*C*S))/(2*C),_=(-E-Math.sqrt(E*E-4*C*S))/(2*C),M=null;return L>=0&&L<=1?[L]:_>=0&&_<=1?[_]:M}else return null},l.HALF_PI=.5*Math.PI,l.ONE_AND_HALF_PI=1.5*Math.PI,l.TWO_PI=2*Math.PI,l.THREE_PI=3*Math.PI,t.exports=l}),(function(t,r,a){"use strict";function o(){}i(o,"IMath"),o.sign=function(l){return l>0?1:l<0?-1:0},o.floor=function(l){return l<0?Math.ceil(l):Math.floor(l)},o.ceil=function(l){return l<0?Math.floor(l):Math.ceil(l)},t.exports=o}),(function(t,r,a){"use strict";function o(){}i(o,"Integer"),o.MAX_VALUE=2147483647,o.MIN_VALUE=-2147483648,t.exports=o}),(function(t,r,a){"use strict";var o=(function(){function b(v,T){for(var C=0;C"u"?"undefined":o(h);return h==null||f!="object"&&f!="function"},t.exports=l}),(function(t,r,a){"use strict";function o(E){if(Array.isArray(E)){for(var S=0,R=Array(E.length);S0&&S;){for(I.push(O[0]);I.length>0&&S;){var P=I[0];I.splice(0,1),M.add(P);for(var G=P.getEdges(),_=0;_-1&&O.splice(J,1)}M=new Set,F=new Map}}return E},C.prototype.createDummyNodesForBendpoints=function(E){for(var S=[],R=E.source,L=this.graphManager.calcLowestCommonAncestor(E.source,E.target),_=0;_0){for(var L=this.edgeToDummyNodes.get(R),_=0;_=0&&S.splice(V,1);var Y=F.getNeighborsList();Y.forEach(function(H){if(R.indexOf(H)<0){var q=L.get(H),Z=q-1;Z==1&&P.push(H),L.set(H,Z)}})}R=R.concat(P),(S.length==1||S.length==2)&&(_=!0,M=S[0])}return M},C.prototype.setGraphManager=function(E){this.graphManager=E},t.exports=C}),(function(t,r,a){"use strict";function o(){}i(o,"RandomSeed"),o.seed=1,o.x=0,o.nextDouble=function(){return o.x=Math.sin(o.seed++)*1e4,o.x-Math.floor(o.x)},t.exports=o}),(function(t,r,a){"use strict";var o=a(5);function l(h,f){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}i(l,"Transform"),l.prototype.getWorldOrgX=function(){return this.lworldOrgX},l.prototype.setWorldOrgX=function(h){this.lworldOrgX=h},l.prototype.getWorldOrgY=function(){return this.lworldOrgY},l.prototype.setWorldOrgY=function(h){this.lworldOrgY=h},l.prototype.getWorldExtX=function(){return this.lworldExtX},l.prototype.setWorldExtX=function(h){this.lworldExtX=h},l.prototype.getWorldExtY=function(){return this.lworldExtY},l.prototype.setWorldExtY=function(h){this.lworldExtY=h},l.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},l.prototype.setDeviceOrgX=function(h){this.ldeviceOrgX=h},l.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},l.prototype.setDeviceOrgY=function(h){this.ldeviceOrgY=h},l.prototype.getDeviceExtX=function(){return this.ldeviceExtX},l.prototype.setDeviceExtX=function(h){this.ldeviceExtX=h},l.prototype.getDeviceExtY=function(){return this.ldeviceExtY},l.prototype.setDeviceExtY=function(h){this.ldeviceExtY=h},l.prototype.transformX=function(h){var f=0,p=this.lworldExtX;return p!=0&&(f=this.ldeviceOrgX+(h-this.lworldOrgX)*this.ldeviceExtX/p),f},l.prototype.transformY=function(h){var f=0,p=this.lworldExtY;return p!=0&&(f=this.ldeviceOrgY+(h-this.lworldOrgY)*this.ldeviceExtY/p),f},l.prototype.inverseTransformX=function(h){var f=0,p=this.ldeviceExtX;return p!=0&&(f=this.lworldOrgX+(h-this.ldeviceOrgX)*this.lworldExtX/p),f},l.prototype.inverseTransformY=function(h){var f=0,p=this.ldeviceExtY;return p!=0&&(f=this.lworldOrgY+(h-this.ldeviceOrgY)*this.lworldExtY/p),f},l.prototype.inverseTransformPoint=function(h){var f=new o(this.inverseTransformX(h.x),this.inverseTransformY(h.y));return f},t.exports=l}),(function(t,r,a){"use strict";function o(T){if(Array.isArray(T)){for(var C=0,E=Array(T.length);Ch.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*h.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(T-h.ADAPTATION_LOWER_NODE_LIMIT)/(h.ADAPTATION_UPPER_NODE_LIMIT-h.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-h.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=h.MAX_NODE_DISPLACEMENT_INCREMENTAL):(T>h.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(h.COOLING_ADAPTATION_FACTOR,1-(T-h.ADAPTATION_LOWER_NODE_LIMIT)/(h.ADAPTATION_UPPER_NODE_LIMIT-h.ADAPTATION_LOWER_NODE_LIMIT)*(1-h.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=h.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.displacementThresholdPerNode=3*h.DEFAULT_EDGE_LENGTH/100,this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},b.prototype.calcSpringForces=function(){for(var T=this.getAllEdges(),C,E=0;E0&&arguments[0]!==void 0?arguments[0]:!0,C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,E,S,R,L,_=this.getAllNodes(),M;if(this.useFRGridVariant)for(this.totalIterations%h.GRID_CALCULATION_CHECK_PERIOD==1&&T&&this.updateGrid(),M=new Set,E=0;E<_.length;E++)R=_[E],this.calculateRepulsionForceOfANode(R,M,T,C),M.add(R);else for(E=0;E<_.length;E++)for(R=_[E],S=E+1;S<_.length;S++)L=_[S],R.getOwner()==L.getOwner()&&this.calcRepulsionForce(R,L)},b.prototype.calcGravitationalForces=function(){for(var T,C=this.getAllNodesToApplyGravitation(),E=0;EI||M>I)&&(T.gravitationForceX=-this.gravityConstant*R,T.gravitationForceY=-this.gravityConstant*L)):(I=C.getEstimatedSize()*this.compoundGravityRangeFactor,(_>I||M>I)&&(T.gravitationForceX=-this.gravityConstant*R*this.compoundGravityConstant,T.gravitationForceY=-this.gravityConstant*L*this.compoundGravityConstant))},b.prototype.isConverged=function(){var T,C=!1;return this.totalIterations>this.maxIterations/3&&(C=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),T=this.totalDisplacement=_.length||I>=_[0].length)){for(var F=0;F<_[M][I].length;F++)if(L=_[M][I][F],!(T.getOwner()!=L.getOwner()||T==L)&&!C.has(L)&&!R.has(L)){var O=Math.abs(T.getCenterX()-L.getCenterX())-(T.getWidth()/2+L.getWidth()/2),P=Math.abs(T.getCenterY()-L.getCenterY())-(T.getHeight()/2+L.getHeight()/2);O<=this.repulsionRange&&P<=this.repulsionRange&&R.add(L)}}T.surrounding=[].concat(o(R))}for(M=0;Mb},"_defaultCompareFunction")}]),p})();t.exports=f}),(function(t,r,a){"use strict";function o(){}i(o,"SVD"),o.svd=function(l){this.U=null,this.V=null,this.s=null,this.m=0,this.n=0,this.m=l.length,this.n=l[0].length;var h=Math.min(this.m,this.n);this.s=(function(Qn){for(var En=[];Qn-- >0;)En.push(0);return En})(Math.min(this.m+1,this.n)),this.U=(function(Qn){var En=i(function di(Bn){if(Bn.length==0)return 0;for(var mi=[],Qr=0;Qr0;)En.push(0);return En})(this.n),p=(function(Qn){for(var En=[];Qn-- >0;)En.push(0);return En})(this.m),m=!0,b=!0,v=Math.min(this.m-1,this.n),T=Math.max(0,Math.min(this.n-2,this.m)),C=0;C=0;W--)if(this.s[W]!==0){for(var te=W+1;te=0;ve--){if((function(Qn,En){return Qn&&En})(ve0;){var ct=void 0,Ot=void 0;for(ct=q-2;ct>=-1&&ct!==-1;ct--)if(Math.abs(f[ct])<=mt+We*(Math.abs(this.s[ct])+Math.abs(this.s[ct+1]))){f[ct]=0;break}if(ct===q-2)Ot=4;else{var yr=void 0;for(yr=q-1;yr>=ct&&yr!==ct;yr--){var tr=(yr!==q?Math.abs(f[yr]):0)+(yr!==ct+1?Math.abs(f[yr-1]):0);if(Math.abs(this.s[yr])<=mt+We*tr){this.s[yr]=0;break}}yr===ct?Ot=3:yr===q-1?Ot=1:(Ot=2,ct=yr)}switch(ct++,Ot){case 1:{var Xe=f[q-2];f[q-2]=0;for(var Rt=q-2;Rt>=ct;Rt--){var ft=o.hypot(this.s[Rt],Xe),bt=this.s[Rt]/ft,Me=Xe/ft;if(this.s[Rt]=ft,Rt!==ct&&(Xe=-Me*f[Rt-1],f[Rt-1]=bt*f[Rt-1]),b)for(var Fe=0;Fe=this.s[ct+1]);){var pt=this.s[ct];if(this.s[ct]=this.s[ct+1],this.s[ct+1]=pt,b&&ctMath.abs(h)?(f=h/l,f=Math.abs(l)*Math.sqrt(1+f*f)):h!=0?(f=l/h,f=Math.abs(h)*Math.sqrt(1+f*f)):f=0,f},t.exports=o}),(function(t,r,a){"use strict";var o=(function(){function f(p,m){for(var b=0;b2&&arguments[2]!==void 0?arguments[2]:1,v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,T=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;l(this,f),this.sequence1=p,this.sequence2=m,this.match_score=b,this.mismatch_penalty=v,this.gap_penalty=T,this.iMax=p.length+1,this.jMax=m.length+1,this.grid=new Array(this.iMax);for(var C=0;C=0;p--){var m=this.listeners[p];m.event===h&&m.callback===f&&this.listeners.splice(p,1)}},l.emit=function(h,f){for(var p=0;p{"use strict";i((function(r,a){typeof Sae=="object"&&typeof Wut=="object"?Wut.exports=a(qut()):typeof define=="function"&&define.amd?define(["layout-base"],a):typeof Sae=="object"?Sae.coseBase=a(qut()):r.coseBase=a(r.layoutBase)}),"webpackUniversalModuleDefinition")(Sae,function(t){return(()=>{"use strict";var r={45:((h,f,p)=>{var m={};m.layoutBase=p(551),m.CoSEConstants=p(806),m.CoSEEdge=p(767),m.CoSEGraph=p(880),m.CoSEGraphManager=p(578),m.CoSELayout=p(765),m.CoSENode=p(991),m.ConstraintHandler=p(902),h.exports=m}),806:((h,f,p)=>{var m=p(551).FDLayoutConstants;function b(){}i(b,"CoSEConstants");for(var v in m)b[v]=m[v];b.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,b.DEFAULT_RADIAL_SEPARATION=m.DEFAULT_EDGE_LENGTH,b.DEFAULT_COMPONENT_SEPERATION=60,b.TILE=!0,b.TILING_PADDING_VERTICAL=10,b.TILING_PADDING_HORIZONTAL=10,b.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,b.ENFORCE_CONSTRAINTS=!0,b.APPLY_LAYOUT=!0,b.RELAX_MOVEMENT_ON_CONSTRAINTS=!0,b.TREE_REDUCTION_ON_INCREMENTAL=!0,b.PURE_INCREMENTAL=b.DEFAULT_INCREMENTAL,h.exports=b}),767:((h,f,p)=>{var m=p(551).FDLayoutEdge;function b(T,C,E){m.call(this,T,C,E)}i(b,"CoSEEdge"),b.prototype=Object.create(m.prototype);for(var v in m)b[v]=m[v];h.exports=b}),880:((h,f,p)=>{var m=p(551).LGraph;function b(T,C,E){m.call(this,T,C,E)}i(b,"CoSEGraph"),b.prototype=Object.create(m.prototype);for(var v in m)b[v]=m[v];h.exports=b}),578:((h,f,p)=>{var m=p(551).LGraphManager;function b(T){m.call(this,T)}i(b,"CoSEGraphManager"),b.prototype=Object.create(m.prototype);for(var v in m)b[v]=m[v];h.exports=b}),765:((h,f,p)=>{var m=p(551).FDLayout,b=p(578),v=p(880),T=p(991),C=p(767),E=p(806),S=p(902),R=p(551).FDLayoutConstants,L=p(551).LayoutConstants,_=p(551).Point,M=p(551).PointD,I=p(551).DimensionD,F=p(551).Layout,O=p(551).Integer,P=p(551).IGeometry,G=p(551).LGraph,V=p(551).Transform,Y=p(551).LinkedList;function K(){m.call(this),this.toBeTiled={},this.constraints={}}i(K,"CoSELayout"),K.prototype=Object.create(m.prototype);for(var J in m)K[J]=m[J];K.prototype.newGraphManager=function(){var H=new b(this);return this.graphManager=H,H},K.prototype.newGraph=function(H){return new v(null,this.graphManager,H)},K.prototype.newNode=function(H){return new T(this.graphManager,H)},K.prototype.newEdge=function(H){return new C(null,null,H)},K.prototype.initParameters=function(){m.prototype.initParameters.call(this,arguments),this.isSubLayout||(E.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=E.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=E.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=R.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=R.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=R.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=R.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1)},K.prototype.initSpringEmbedder=function(){m.prototype.initSpringEmbedder.call(this),this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/R.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=.04,this.coolingAdjuster=1},K.prototype.layout=function(){var H=L.DEFAULT_CREATE_BENDS_AS_NEEDED;return H&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},K.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(E.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var q=new Set(this.getAllNodes()),Z=this.nodesWithGravity.filter(function(te){return q.has(te)});this.graphManager.setAllNodesToApplyGravitation(Z)}}else{var H=this.getFlatForest();if(H.length>0)this.positionNodesRadially(H);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var q=new Set(this.getAllNodes()),Z=this.nodesWithGravity.filter(function(Q){return q.has(Q)});this.graphManager.setAllNodesToApplyGravitation(Z),this.positionNodesRandomly()}}return Object.keys(this.constraints).length>0&&(S.handleConstraints(this),this.initConstraintVariables()),this.initSpringEmbedder(),E.APPLY_LAYOUT&&this.runSpringEmbedder(),!0},K.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%R.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var H=new Set(this.getAllNodes()),q=this.nodesWithGravity.filter(function(W){return H.has(W)});this.graphManager.setAllNodesToApplyGravitation(q),this.graphManager.updateBounds(),this.updateGrid(),E.PURE_INCREMENTAL?this.coolingFactor=R.DEFAULT_COOLING_FACTOR_INCREMENTAL/2:this.coolingFactor=R.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),E.PURE_INCREMENTAL?this.coolingFactor=R.DEFAULT_COOLING_FACTOR_INCREMENTAL/2*((100-this.afterGrowthIterations)/100):this.coolingFactor=R.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var Z=!this.isTreeGrowing&&!this.isGrowthFinished,Q=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(Z,Q),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},K.prototype.getPositionsData=function(){for(var H=this.graphManager.getAllNodes(),q={},Z=0;Z0&&this.updateDisplacements();for(var Z=0;Z0&&(Q.fixedNodeWeight=te)}}if(this.constraints.relativePlacementConstraint){var z=new Map,re=new Map;if(this.dummyToNodeForVerticalAlignment=new Map,this.dummyToNodeForHorizontalAlignment=new Map,this.fixedNodesOnHorizontal=new Set,this.fixedNodesOnVertical=new Set,this.fixedNodeSet.forEach(function(Ce){H.fixedNodesOnHorizontal.add(Ce),H.fixedNodesOnVertical.add(Ce)}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var ae=this.constraints.alignmentConstraint.vertical,Z=0;Z=2*Ce.length/3;qe--)Ve=Math.floor(Math.random()*(qe+1)),De=Ce[qe],Ce[qe]=Ce[Ve],Ce[Ve]=De;return Ce},this.nodesInRelativeHorizontal=[],this.nodesInRelativeVertical=[],this.nodeToRelativeConstraintMapHorizontal=new Map,this.nodeToRelativeConstraintMapVertical=new Map,this.nodeToTempPositionMapHorizontal=new Map,this.nodeToTempPositionMapVertical=new Map,this.constraints.relativePlacementConstraint.forEach(function(Ce){if(Ce.left){var Ve=z.has(Ce.left)?z.get(Ce.left):Ce.left,De=z.has(Ce.right)?z.get(Ce.right):Ce.right;H.nodesInRelativeHorizontal.includes(Ve)||(H.nodesInRelativeHorizontal.push(Ve),H.nodeToRelativeConstraintMapHorizontal.set(Ve,[]),H.dummyToNodeForVerticalAlignment.has(Ve)?H.nodeToTempPositionMapHorizontal.set(Ve,H.idToNodeMap.get(H.dummyToNodeForVerticalAlignment.get(Ve)[0]).getCenterX()):H.nodeToTempPositionMapHorizontal.set(Ve,H.idToNodeMap.get(Ve).getCenterX())),H.nodesInRelativeHorizontal.includes(De)||(H.nodesInRelativeHorizontal.push(De),H.nodeToRelativeConstraintMapHorizontal.set(De,[]),H.dummyToNodeForVerticalAlignment.has(De)?H.nodeToTempPositionMapHorizontal.set(De,H.idToNodeMap.get(H.dummyToNodeForVerticalAlignment.get(De)[0]).getCenterX()):H.nodeToTempPositionMapHorizontal.set(De,H.idToNodeMap.get(De).getCenterX())),H.nodeToRelativeConstraintMapHorizontal.get(Ve).push({right:De,gap:Ce.gap}),H.nodeToRelativeConstraintMapHorizontal.get(De).push({left:Ve,gap:Ce.gap})}else{var qe=re.has(Ce.top)?re.get(Ce.top):Ce.top,Ue=re.has(Ce.bottom)?re.get(Ce.bottom):Ce.bottom;H.nodesInRelativeVertical.includes(qe)||(H.nodesInRelativeVertical.push(qe),H.nodeToRelativeConstraintMapVertical.set(qe,[]),H.dummyToNodeForHorizontalAlignment.has(qe)?H.nodeToTempPositionMapVertical.set(qe,H.idToNodeMap.get(H.dummyToNodeForHorizontalAlignment.get(qe)[0]).getCenterY()):H.nodeToTempPositionMapVertical.set(qe,H.idToNodeMap.get(qe).getCenterY())),H.nodesInRelativeVertical.includes(Ue)||(H.nodesInRelativeVertical.push(Ue),H.nodeToRelativeConstraintMapVertical.set(Ue,[]),H.dummyToNodeForHorizontalAlignment.has(Ue)?H.nodeToTempPositionMapVertical.set(Ue,H.idToNodeMap.get(H.dummyToNodeForHorizontalAlignment.get(Ue)[0]).getCenterY()):H.nodeToTempPositionMapVertical.set(Ue,H.idToNodeMap.get(Ue).getCenterY())),H.nodeToRelativeConstraintMapVertical.get(qe).push({bottom:Ue,gap:Ce.gap}),H.nodeToRelativeConstraintMapVertical.get(Ue).push({top:qe,gap:Ce.gap})}});else{var le=new Map,de=new Map;this.constraints.relativePlacementConstraint.forEach(function(Ce){if(Ce.left){var Ve=z.has(Ce.left)?z.get(Ce.left):Ce.left,De=z.has(Ce.right)?z.get(Ce.right):Ce.right;le.has(Ve)?le.get(Ve).push(De):le.set(Ve,[De]),le.has(De)?le.get(De).push(Ve):le.set(De,[Ve])}else{var qe=re.has(Ce.top)?re.get(Ce.top):Ce.top,Ue=re.has(Ce.bottom)?re.get(Ce.bottom):Ce.bottom;de.has(qe)?de.get(qe).push(Ue):de.set(qe,[Ue]),de.has(Ue)?de.get(Ue).push(qe):de.set(Ue,[qe])}});var ve=i(function(Ve,De){var qe=[],Ue=[],We=new Y,mt=new Set,ct=0;return Ve.forEach(function(Ot,yr){if(!mt.has(yr)){qe[ct]=[],Ue[ct]=!1;var tr=yr;for(We.push(tr),mt.add(tr),qe[ct].push(tr);We.length!=0;){tr=We.shift(),De.has(tr)&&(Ue[ct]=!0);var Xe=Ve.get(tr);Xe.forEach(function(Rt){mt.has(Rt)||(We.push(Rt),mt.add(Rt),qe[ct].push(Rt))})}ct++}}),{components:qe,isFixed:Ue}},"constructComponents"),Se=ve(le,H.fixedNodesOnHorizontal);this.componentsOnHorizontal=Se.components,this.fixedComponentsOnHorizontal=Se.isFixed;var _e=ve(de,H.fixedNodesOnVertical);this.componentsOnVertical=_e.components,this.fixedComponentsOnVertical=_e.isFixed}}},K.prototype.updateDisplacements=function(){var H=this;if(this.constraints.fixedNodeConstraint&&this.constraints.fixedNodeConstraint.forEach(function(_e){var Ce=H.idToNodeMap.get(_e.nodeId);Ce.displacementX=0,Ce.displacementY=0}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var q=this.constraints.alignmentConstraint.vertical,Z=0;Z1){var re;for(re=0;reQ&&(Q=Math.floor(z.y)),te=Math.floor(z.x+E.DEFAULT_COMPONENT_SEPERATION)}this.transform(new M(L.WORLD_CENTER_X-z.x/2,L.WORLD_CENTER_Y-z.y/2))},K.radialLayout=function(H,q,Z){var Q=Math.max(this.maxDiagonalInTree(H),E.DEFAULT_RADIAL_SEPARATION);K.branchRadialLayout(q,null,0,359,0,Q);var W=G.calculateBounds(H),te=new V;te.setDeviceOrgX(W.getMinX()),te.setDeviceOrgY(W.getMinY()),te.setWorldOrgX(Z.x),te.setWorldOrgY(Z.y);for(var z=0;z1;){var qe=De[0];De.splice(0,1);var Ue=ve.indexOf(qe);Ue>=0&&ve.splice(Ue,1),Ce--,Se--}q!=null?Ve=(ve.indexOf(De[0])+1)%Ce:Ve=0;for(var We=Math.abs(Q-Z)/Se,mt=Ve;_e!=Se;mt=++mt%Ce){var ct=ve[mt].getOtherEnd(H);if(ct!=q){var Ot=(Z+_e*We)%360,yr=(Ot+We)%360;K.branchRadialLayout(ct,H,Ot,yr,W+te,te),_e++}}},K.maxDiagonalInTree=function(H){for(var q=O.MIN_VALUE,Z=0;Zq&&(q=W)}return q},K.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},K.prototype.groupZeroDegreeMembers=function(){var H=this,q={};this.memberGroups={},this.idToDummyNode={};for(var Z=[],Q=this.graphManager.getAllNodes(),W=0;W"u"&&(q[re]=[]),q[re]=q[re].concat(te)}Object.keys(q).forEach(function(ae){if(q[ae].length>1){var ce="DummyCompound_"+ae;H.memberGroups[ce]=q[ae];var le=q[ae][0].getParent(),de=new T(H.graphManager);de.id=ce,de.paddingLeft=le.paddingLeft||0,de.paddingRight=le.paddingRight||0,de.paddingBottom=le.paddingBottom||0,de.paddingTop=le.paddingTop||0,H.idToDummyNode[ce]=de;var ve=H.getGraphManager().add(H.newGraph(),de),Se=le.getChild();Se.add(de);for(var _e=0;_eW?(Q.rect.x-=(Q.labelWidth-W)/2,Q.setWidth(Q.labelWidth),Q.labelMarginLeft=(Q.labelWidth-W)/2):Q.labelPosHorizontal=="right"&&Q.setWidth(W+Q.labelWidth)),Q.labelHeight&&(Q.labelPosVertical=="top"?(Q.rect.y-=Q.labelHeight,Q.setHeight(te+Q.labelHeight),Q.labelMarginTop=Q.labelHeight):Q.labelPosVertical=="center"&&Q.labelHeight>te?(Q.rect.y-=(Q.labelHeight-te)/2,Q.setHeight(Q.labelHeight),Q.labelMarginTop=(Q.labelHeight-te)/2):Q.labelPosVertical=="bottom"&&Q.setHeight(te+Q.labelHeight))}})},K.prototype.repopulateCompounds=function(){for(var H=this.compoundOrder.length-1;H>=0;H--){var q=this.compoundOrder[H],Z=q.id,Q=q.paddingLeft,W=q.paddingTop,te=q.labelMarginLeft,z=q.labelMarginTop;this.adjustLocations(this.tiledMemberPack[Z],q.rect.x,q.rect.y,Q,W,te,z)}},K.prototype.repopulateZeroDegreeMembers=function(){var H=this,q=this.tiledZeroDegreePack;Object.keys(q).forEach(function(Z){var Q=H.idToDummyNode[Z],W=Q.paddingLeft,te=Q.paddingTop,z=Q.labelMarginLeft,re=Q.labelMarginTop;H.adjustLocations(q[Z],Q.rect.x,Q.rect.y,W,te,z,re)})},K.prototype.getToBeTiled=function(H){var q=H.id;if(this.toBeTiled[q]!=null)return this.toBeTiled[q];var Z=H.getChild();if(Z==null)return this.toBeTiled[q]=!1,!1;for(var Q=Z.getNodes(),W=0;W0)return this.toBeTiled[q]=!1,!1;if(te.getChild()==null){this.toBeTiled[te.id]=!1;continue}if(!this.getToBeTiled(te))return this.toBeTiled[q]=!1,!1}return this.toBeTiled[q]=!0,!0},K.prototype.getNodeDegree=function(H){for(var q=H.id,Z=H.getEdges(),Q=0,W=0;Wle&&(le=ve.rect.height)}Z+=le+H.verticalPadding}},K.prototype.tileCompoundMembers=function(H,q){var Z=this;this.tiledMemberPack=[],Object.keys(H).forEach(function(Q){var W=q[Q];if(Z.tiledMemberPack[Q]=Z.tileNodes(H[Q],W.paddingLeft+W.paddingRight),W.rect.width=Z.tiledMemberPack[Q].width,W.rect.height=Z.tiledMemberPack[Q].height,W.setCenter(Z.tiledMemberPack[Q].centerX,Z.tiledMemberPack[Q].centerY),W.labelMarginLeft=0,W.labelMarginTop=0,E.NODE_DIMENSIONS_INCLUDE_LABELS){var te=W.rect.width,z=W.rect.height;W.labelWidth&&(W.labelPosHorizontal=="left"?(W.rect.x-=W.labelWidth,W.setWidth(te+W.labelWidth),W.labelMarginLeft=W.labelWidth):W.labelPosHorizontal=="center"&&W.labelWidth>te?(W.rect.x-=(W.labelWidth-te)/2,W.setWidth(W.labelWidth),W.labelMarginLeft=(W.labelWidth-te)/2):W.labelPosHorizontal=="right"&&W.setWidth(te+W.labelWidth)),W.labelHeight&&(W.labelPosVertical=="top"?(W.rect.y-=W.labelHeight,W.setHeight(z+W.labelHeight),W.labelMarginTop=W.labelHeight):W.labelPosVertical=="center"&&W.labelHeight>z?(W.rect.y-=(W.labelHeight-z)/2,W.setHeight(W.labelHeight),W.labelMarginTop=(W.labelHeight-z)/2):W.labelPosVertical=="bottom"&&W.setHeight(z+W.labelHeight))}})},K.prototype.tileNodes=function(H,q){var Z=this.tileNodesByFavoringDim(H,q,!0),Q=this.tileNodesByFavoringDim(H,q,!1),W=this.getOrgRatio(Z),te=this.getOrgRatio(Q),z;return tere&&(re=_e.getWidth())});var ae=te/W,ce=z/W,le=Math.pow(Z-Q,2)+4*(ae+Q)*(ce+Z)*W,de=(Q-Z+Math.sqrt(le))/(2*(ae+Q)),ve;q?(ve=Math.ceil(de),ve==de&&ve++):ve=Math.floor(de);var Se=ve*(ae+Q)-Q;return re>Se&&(Se=re),Se+=Q*2,Se},K.prototype.tileNodesByFavoringDim=function(H,q,Z){var Q=E.TILING_PADDING_VERTICAL,W=E.TILING_PADDING_HORIZONTAL,te=E.TILING_COMPARE_BY,z={rows:[],rowWidth:[],rowHeight:[],width:0,height:q,verticalPadding:Q,horizontalPadding:W,centerX:0,centerY:0};te&&(z.idealRowWidth=this.calcIdealRowWidth(H,Z));var re=i(function(Ce){return Ce.rect.width*Ce.rect.height},"getNodeArea"),ae=i(function(Ce,Ve){return re(Ve)-re(Ce)},"areaCompareFcn");H.sort(function(_e,Ce){var Ve=ae;return z.idealRowWidth?(Ve=te,Ve(_e.id,Ce.id)):Ve(_e,Ce)});for(var ce=0,le=0,de=0;de0&&(z+=H.horizontalPadding),H.rowWidth[Z]=z,H.width0&&(re+=H.verticalPadding);var ae=0;re>H.rowHeight[Z]&&(ae=H.rowHeight[Z],H.rowHeight[Z]=re,ae=H.rowHeight[Z]-ae),H.height+=ae,H.rows[Z].push(q)},K.prototype.getShortestRowIndex=function(H){for(var q=-1,Z=Number.MAX_VALUE,Q=0;QZ&&(q=Q,Z=H.rowWidth[Q]);return q},K.prototype.canAddHorizontal=function(H,q,Z){if(H.idealRowWidth){var Q=H.rows.length-1,W=H.rowWidth[Q];return W+q+H.horizontalPadding<=H.idealRowWidth}var te=this.getShortestRowIndex(H);if(te<0)return!0;var z=H.rowWidth[te];if(z+H.horizontalPadding+q<=H.width)return!0;var re=0;H.rowHeight[te]0&&(re=Z+H.verticalPadding-H.rowHeight[te]);var ae;H.width-z>=q+H.horizontalPadding?ae=(H.height+re)/(z+q+H.horizontalPadding):ae=(H.height+re)/H.width,re=Z+H.verticalPadding;var ce;return H.widthte&&q!=Z){Q.splice(-1,1),H.rows[Z].push(W),H.rowWidth[q]=H.rowWidth[q]-te,H.rowWidth[Z]=H.rowWidth[Z]+te,H.width=H.rowWidth[instance.getLongestRowIndex(H)];for(var z=Number.MIN_VALUE,re=0;rez&&(z=Q[re].height);q>0&&(z+=H.verticalPadding);var ae=H.rowHeight[q]+H.rowHeight[Z];H.rowHeight[q]=z,H.rowHeight[Z]0)for(var Se=W;Se<=te;Se++)ve[0]+=this.grid[Se][z-1].length+this.grid[Se][z].length-1;if(te0)for(var Se=z;Se<=re;Se++)ve[3]+=this.grid[W-1][Se].length+this.grid[W][Se].length-1;for(var _e=O.MAX_VALUE,Ce,Ve,De=0;De{var m=p(551).FDLayoutNode,b=p(551).IMath;function v(C,E,S,R){m.call(this,C,E,S,R)}i(v,"CoSENode"),v.prototype=Object.create(m.prototype);for(var T in m)v[T]=m[T];v.prototype.calculateDisplacement=function(){var C=this.graphManager.getLayout();this.getChild()!=null&&this.fixedNodeWeight?(this.displacementX+=C.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.fixedNodeWeight,this.displacementY+=C.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.fixedNodeWeight):(this.displacementX+=C.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY+=C.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren),Math.abs(this.displacementX)>C.coolingFactor*C.maxNodeDisplacement&&(this.displacementX=C.coolingFactor*C.maxNodeDisplacement*b.sign(this.displacementX)),Math.abs(this.displacementY)>C.coolingFactor*C.maxNodeDisplacement&&(this.displacementY=C.coolingFactor*C.maxNodeDisplacement*b.sign(this.displacementY)),this.child&&this.child.getNodes().length>0&&this.propogateDisplacementToChildren(this.displacementX,this.displacementY)},v.prototype.propogateDisplacementToChildren=function(C,E){for(var S=this.getChild().getNodes(),R,L=0;L{function m(S){if(Array.isArray(S)){for(var R=0,L=Array(S.length);R0){var Ut=0;Wt.forEach(function(pt){Ne=="horizontal"?(it.set(pt,_.has(pt)?M[_.get(pt)]:ye.get(pt)),Ut+=it.get(pt)):(it.set(pt,_.has(pt)?I[_.get(pt)]:ye.get(pt)),Ut+=it.get(pt))}),Ut=Ut/Wt.length,qt.forEach(function(pt){Ee.has(pt)||it.set(pt,Ut)})}else{var rn=0;qt.forEach(function(pt){Ne=="horizontal"?rn+=_.has(pt)?M[_.get(pt)]:ye.get(pt):rn+=_.has(pt)?I[_.get(pt)]:ye.get(pt)}),rn=rn/qt.length,qt.forEach(function(pt){it.set(pt,rn)})}});for(var $t=i(function(){var Wt=Vt.shift(),Ut=he.get(Wt);Ut.forEach(function(rn){if(it.get(rn.id)pt&&(pt=mi),Qr$n&&($n=Qr)}}catch(Yr){Rn=!0,Qn=Yr}finally{try{!Gt&&En.return&&En.return()}finally{if(Rn)throw Qn}}var Pi=(Ut+pt)/2-(rn+$n)/2,qa=!0,Ke=!1,Tn=void 0;try{for(var Ln=qt[Symbol.iterator](),dt;!(qa=(dt=Ln.next()).done);qa=!0){var rr=dt.value;it.set(rr,it.get(rr)+Pi)}}catch(Yr){Ke=!0,Tn=Yr}finally{try{!qa&&Ln.return&&Ln.return()}finally{if(Ke)throw Tn}}})}return it},"findAppropriatePositionForRelativePlacement"),J=i(function(he){var Ne=0,Ee=0,ye=0,be=0;if(he.forEach(function(lt){lt.left?M[_.get(lt.left)]-M[_.get(lt.right)]>=0?Ne++:Ee++:I[_.get(lt.top)]-I[_.get(lt.bottom)]>=0?ye++:be++}),Ne>Ee&&ye>be)for(var ht=0;ht<_.size;ht++)M[ht]=-1*M[ht],I[ht]=-1*I[ht];else if(Ne>Ee)for(var Je=0;Je<_.size;Je++)M[Je]=-1*M[Je];else if(ye>be)for(var it=0;it<_.size;it++)I[it]=-1*I[it]},"applyReflectionForRelativePlacement"),H=i(function(he){var Ne=[],Ee=new v,ye=new Set,be=0;return he.forEach(function(ht,Je){if(!ye.has(Je)){Ne[be]=[];var it=Je;for(Ee.push(it),ye.add(it),Ne[be].push(it);Ee.length!=0;){it=Ee.shift();var lt=he.get(it);lt.forEach(function(Vt){ye.has(Vt.id)||(Ee.push(Vt.id),ye.add(Vt.id),Ne[be].push(Vt.id))})}be++}}),Ne},"findComponents"),q=i(function(he){var Ne=new Map;return he.forEach(function(Ee,ye){Ne.set(ye,[])}),he.forEach(function(Ee,ye){Ee.forEach(function(be){Ne.get(ye).push(be),Ne.get(be.id).push({id:ye,gap:be.gap,direction:be.direction})})}),Ne},"dagToUndirected"),Z=i(function(he){var Ne=new Map;return he.forEach(function(Ee,ye){Ne.set(ye,[])}),he.forEach(function(Ee,ye){Ee.forEach(function(be){Ne.get(be.id).push({id:ye,gap:be.gap,direction:be.direction})})}),Ne},"dagToReversed"),Q=[],W=[],te=!1,z=!1,re=new Set,ae=new Map,ce=new Map,le=[];if(R.fixedNodeConstraint&&R.fixedNodeConstraint.forEach(function(Le){re.add(Le.nodeId)}),R.relativePlacementConstraint&&(R.relativePlacementConstraint.forEach(function(Le){Le.left?(ae.has(Le.left)?ae.get(Le.left).push({id:Le.right,gap:Le.gap,direction:"horizontal"}):ae.set(Le.left,[{id:Le.right,gap:Le.gap,direction:"horizontal"}]),ae.has(Le.right)||ae.set(Le.right,[])):(ae.has(Le.top)?ae.get(Le.top).push({id:Le.bottom,gap:Le.gap,direction:"vertical"}):ae.set(Le.top,[{id:Le.bottom,gap:Le.gap,direction:"vertical"}]),ae.has(Le.bottom)||ae.set(Le.bottom,[]))}),ce=q(ae),le=H(ce)),b.TRANSFORM_ON_CONSTRAINT_HANDLING){if(R.fixedNodeConstraint&&R.fixedNodeConstraint.length>1)R.fixedNodeConstraint.forEach(function(Le,he){Q[he]=[Le.position.x,Le.position.y],W[he]=[M[_.get(Le.nodeId)],I[_.get(Le.nodeId)]]}),te=!0;else if(R.alignmentConstraint)(function(){var Le=0;if(R.alignmentConstraint.vertical){for(var he=R.alignmentConstraint.vertical,Ne=i(function(it){var lt=new Set;he[it].forEach(function(gr){lt.add(gr)});var Vt=new Set([].concat(m(lt)).filter(function(gr){return re.has(gr)})),$t=void 0;Vt.size>0?$t=M[_.get(Vt.values().next().value)]:$t=Y(lt).x,he[it].forEach(function(gr){Q[Le]=[$t,I[_.get(gr)]],W[Le]=[M[_.get(gr)],I[_.get(gr)]],Le++})},"_loop2"),Ee=0;Ee0?$t=M[_.get(Vt.values().next().value)]:$t=Y(lt).y,ye[it].forEach(function(gr){Q[Le]=[M[_.get(gr)],$t],W[Le]=[M[_.get(gr)],I[_.get(gr)]],Le++})},"_loop3"),ht=0;htde&&(de=le[Se].length,ve=Se);if(de0){var bt={x:0,y:0};R.fixedNodeConstraint.forEach(function(Le,he){var Ne={x:M[_.get(Le.nodeId)],y:I[_.get(Le.nodeId)]},Ee=Le.position,ye=V(Ee,Ne);bt.x+=ye.x,bt.y+=ye.y}),bt.x/=R.fixedNodeConstraint.length,bt.y/=R.fixedNodeConstraint.length,M.forEach(function(Le,he){M[he]+=bt.x}),I.forEach(function(Le,he){I[he]+=bt.y}),R.fixedNodeConstraint.forEach(function(Le){M[_.get(Le.nodeId)]=Le.position.x,I[_.get(Le.nodeId)]=Le.position.y})}if(R.alignmentConstraint){if(R.alignmentConstraint.vertical)for(var Me=R.alignmentConstraint.vertical,Fe=i(function(he){var Ne=new Set;Me[he].forEach(function(be){Ne.add(be)});var Ee=new Set([].concat(m(Ne)).filter(function(be){return re.has(be)})),ye=void 0;Ee.size>0?ye=M[_.get(Ee.values().next().value)]:ye=Y(Ne).x,Ne.forEach(function(be){re.has(be)||(M[_.get(be)]=ye)})},"_loop4"),je=0;je0?ye=I[_.get(Ee.values().next().value)]:ye=Y(Ne).y,Ne.forEach(function(be){re.has(be)||(I[_.get(be)]=ye)})},"_loop5"),ze=0;ze{h.exports=t})},a={};function o(h){var f=a[h];if(f!==void 0)return f.exports;var p=a[h]={exports:{}};return r[h](p,p.exports,o),p.exports}i(o,"__webpack_require__");var l=o(45);return l})()})});var dUr=Hv((Aae,Kut)=>{"use strict";i((function(r,a){typeof Aae=="object"&&typeof Kut=="object"?Kut.exports=a(Yut()):typeof define=="function"&&define.amd?define(["cose-base"],a):typeof Aae=="object"?Aae.cytoscapeFcose=a(Yut()):r.cytoscapeFcose=a(r.coseBase)}),"webpackUniversalModuleDefinition")(Aae,function(t){return(()=>{"use strict";var r={658:(h=>{h.exports=Object.assign!=null?Object.assign.bind(Object):function(f){for(var p=arguments.length,m=Array(p>1?p-1:0),b=1;b{var m=(function(){function T(C,E){var S=[],R=!0,L=!1,_=void 0;try{for(var M=C[Symbol.iterator](),I;!(R=(I=M.next()).done)&&(S.push(I.value),!(E&&S.length===E));R=!0);}catch(F){L=!0,_=F}finally{try{!R&&M.return&&M.return()}finally{if(L)throw _}}return S}return i(T,"sliceIterator"),function(C,E){if(Array.isArray(C))return C;if(Symbol.iterator in Object(C))return T(C,E);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),b=p(140).layoutBase.LinkedList,v={};v.getTopMostNodes=function(T){for(var C={},E=0;E0&&te.merge(ce)});for(var z=0;z1){I=_[0],F=I.connectedEdges().length,_.forEach(function(W){W.connectedEdges().length0&&S.set("dummy"+(S.size+1),G),V},v.relocateComponent=function(T,C,E){if(!E.fixedNodeConstraint){var S=Number.POSITIVE_INFINITY,R=Number.NEGATIVE_INFINITY,L=Number.POSITIVE_INFINITY,_=Number.NEGATIVE_INFINITY;if(E.quality=="draft"){var M=!0,I=!1,F=void 0;try{for(var O=C.nodeIndexes[Symbol.iterator](),P;!(M=(P=O.next()).done);M=!0){var G=P.value,V=m(G,2),Y=V[0],K=V[1],J=E.cy.getElementById(Y);if(J){var H=J.boundingBox(),q=C.xCoords[K]-H.w/2,Z=C.xCoords[K]+H.w/2,Q=C.yCoords[K]-H.h/2,W=C.yCoords[K]+H.h/2;qR&&(R=Z),Q_&&(_=W)}}}catch(ce){I=!0,F=ce}finally{try{!M&&O.return&&O.return()}finally{if(I)throw F}}var te=T.x-(R+S)/2,z=T.y-(_+L)/2;C.xCoords=C.xCoords.map(function(ce){return ce+te}),C.yCoords=C.yCoords.map(function(ce){return ce+z})}else{Object.keys(C).forEach(function(ce){var le=C[ce],de=le.getRect().x,ve=le.getRect().x+le.getRect().width,Se=le.getRect().y,_e=le.getRect().y+le.getRect().height;deR&&(R=ve),Se_&&(_=_e)});var re=T.x-(R+S)/2,ae=T.y-(_+L)/2;Object.keys(C).forEach(function(ce){var le=C[ce];le.setCenter(le.getCenterX()+re,le.getCenterY()+ae)})}}},v.calcBoundingBox=function(T,C,E,S){for(var R=Number.MAX_SAFE_INTEGER,L=Number.MIN_SAFE_INTEGER,_=Number.MAX_SAFE_INTEGER,M=Number.MIN_SAFE_INTEGER,I=void 0,F=void 0,O=void 0,P=void 0,G=T.descendants().not(":parent"),V=G.length,Y=0;YI&&(R=I),LO&&(_=O),M{var m=p(548),b=p(140).CoSELayout,v=p(140).CoSENode,T=p(140).layoutBase.PointD,C=p(140).layoutBase.DimensionD,E=p(140).layoutBase.LayoutConstants,S=p(140).layoutBase.FDLayoutConstants,R=p(140).CoSEConstants,L=i(function(M,I){var F=M.cy,O=M.eles,P=O.nodes(),G=O.edges(),V=void 0,Y=void 0,K=void 0,J={};M.randomize&&(V=I.nodeIndexes,Y=I.xCoords,K=I.yCoords);var H=i(function(ce){return typeof ce=="function"},"isFn"),q=i(function(ce,le){return H(ce)?ce(le):ce},"optFn"),Z=m.calcParentsWithoutChildren(F,O),Q=i(function ae(ce,le,de,ve){for(var Se=le.length,_e=0;_e0){var We=void 0;We=de.getGraphManager().add(de.newGraph(),De),ae(We,Ve,de,ve)}}},"processChildrenList"),W=i(function(ce,le,de){for(var ve=0,Se=0,_e=0;_e0?R.DEFAULT_EDGE_LENGTH=S.DEFAULT_EDGE_LENGTH=ve/Se:H(M.idealEdgeLength)?R.DEFAULT_EDGE_LENGTH=S.DEFAULT_EDGE_LENGTH=50:R.DEFAULT_EDGE_LENGTH=S.DEFAULT_EDGE_LENGTH=M.idealEdgeLength,R.MIN_REPULSION_DIST=S.MIN_REPULSION_DIST=S.DEFAULT_EDGE_LENGTH/10,R.DEFAULT_RADIAL_SEPARATION=S.DEFAULT_EDGE_LENGTH)},"processEdges"),te=i(function(ce,le){le.fixedNodeConstraint&&(ce.constraints.fixedNodeConstraint=le.fixedNodeConstraint),le.alignmentConstraint&&(ce.constraints.alignmentConstraint=le.alignmentConstraint),le.relativePlacementConstraint&&(ce.constraints.relativePlacementConstraint=le.relativePlacementConstraint)},"processConstraints");M.nestingFactor!=null&&(R.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=S.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=M.nestingFactor),M.gravity!=null&&(R.DEFAULT_GRAVITY_STRENGTH=S.DEFAULT_GRAVITY_STRENGTH=M.gravity),M.numIter!=null&&(R.MAX_ITERATIONS=S.MAX_ITERATIONS=M.numIter),M.gravityRange!=null&&(R.DEFAULT_GRAVITY_RANGE_FACTOR=S.DEFAULT_GRAVITY_RANGE_FACTOR=M.gravityRange),M.gravityCompound!=null&&(R.DEFAULT_COMPOUND_GRAVITY_STRENGTH=S.DEFAULT_COMPOUND_GRAVITY_STRENGTH=M.gravityCompound),M.gravityRangeCompound!=null&&(R.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=S.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=M.gravityRangeCompound),M.initialEnergyOnIncremental!=null&&(R.DEFAULT_COOLING_FACTOR_INCREMENTAL=S.DEFAULT_COOLING_FACTOR_INCREMENTAL=M.initialEnergyOnIncremental),M.tilingCompareBy!=null&&(R.TILING_COMPARE_BY=M.tilingCompareBy),M.quality=="proof"?E.QUALITY=2:E.QUALITY=0,R.NODE_DIMENSIONS_INCLUDE_LABELS=S.NODE_DIMENSIONS_INCLUDE_LABELS=E.NODE_DIMENSIONS_INCLUDE_LABELS=M.nodeDimensionsIncludeLabels,R.DEFAULT_INCREMENTAL=S.DEFAULT_INCREMENTAL=E.DEFAULT_INCREMENTAL=!M.randomize,R.ANIMATE=S.ANIMATE=E.ANIMATE=M.animate,R.TILE=M.tile,R.TILING_PADDING_VERTICAL=typeof M.tilingPaddingVertical=="function"?M.tilingPaddingVertical.call():M.tilingPaddingVertical,R.TILING_PADDING_HORIZONTAL=typeof M.tilingPaddingHorizontal=="function"?M.tilingPaddingHorizontal.call():M.tilingPaddingHorizontal,R.DEFAULT_INCREMENTAL=S.DEFAULT_INCREMENTAL=E.DEFAULT_INCREMENTAL=!0,R.PURE_INCREMENTAL=!M.randomize,E.DEFAULT_UNIFORM_LEAF_NODE_SIZES=M.uniformNodeDimensions,M.step=="transformed"&&(R.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,R.ENFORCE_CONSTRAINTS=!1,R.APPLY_LAYOUT=!1),M.step=="enforced"&&(R.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,R.ENFORCE_CONSTRAINTS=!0,R.APPLY_LAYOUT=!1),M.step=="cose"&&(R.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,R.ENFORCE_CONSTRAINTS=!1,R.APPLY_LAYOUT=!0),M.step=="all"&&(M.randomize?R.TRANSFORM_ON_CONSTRAINT_HANDLING=!0:R.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,R.ENFORCE_CONSTRAINTS=!0,R.APPLY_LAYOUT=!0),M.fixedNodeConstraint||M.alignmentConstraint||M.relativePlacementConstraint?R.TREE_REDUCTION_ON_INCREMENTAL=!1:R.TREE_REDUCTION_ON_INCREMENTAL=!0;var z=new b,re=z.newGraphManager();return Q(re.addRoot(),m.getTopMostNodes(P),z,M),W(z,re,G),te(z,M),z.runLayout(),J},"coseLayout");h.exports={coseLayout:L}}),212:((h,f,p)=>{var m=(function(){function M(I,F){for(var O=0;O0)if(W){var re=T.getTopMostNodes(O.eles.nodes());if(H=T.connectComponents(P,O.eles,re),H.forEach(function(tr){var Xe=tr.boundingBox();q.push({x:Xe.x1+Xe.w/2,y:Xe.y1+Xe.h/2})}),O.randomize&&H.forEach(function(tr){O.eles=tr,V.push(E(O))}),O.quality=="default"||O.quality=="proof"){var ae=P.collection();if(O.tile){var ce=new Map,le=[],de=[],ve=0,Se={nodeIndexes:ce,xCoords:le,yCoords:de},_e=[];if(H.forEach(function(tr,Xe){tr.edges().length==0&&(tr.nodes().forEach(function(Rt,ft){ae.merge(tr.nodes()[ft]),Rt.isParent()||(Se.nodeIndexes.set(tr.nodes()[ft].id(),ve++),Se.xCoords.push(tr.nodes()[0].position().x),Se.yCoords.push(tr.nodes()[0].position().y))}),_e.push(Xe))}),ae.length>1){var Ce=ae.boundingBox();q.push({x:Ce.x1+Ce.w/2,y:Ce.y1+Ce.h/2}),H.push(ae),V.push(Se);for(var Ve=_e.length-1;Ve>=0;Ve--)H.splice(_e[Ve],1),V.splice(_e[Ve],1),q.splice(_e[Ve],1)}}H.forEach(function(tr,Xe){O.eles=tr,J.push(R(O,V[Xe])),T.relocateComponent(q[Xe],J[Xe],O)})}else H.forEach(function(tr,Xe){T.relocateComponent(q[Xe],V[Xe],O)});var De=new Set;if(H.length>1){var qe=[],Ue=G.filter(function(tr){return tr.css("display")=="none"});H.forEach(function(tr,Xe){var Rt=void 0;if(O.quality=="draft"&&(Rt=V[Xe].nodeIndexes),tr.nodes().not(Ue).length>0){var ft={};ft.edges=[],ft.nodes=[];var bt=void 0;tr.nodes().not(Ue).forEach(function(Me){if(O.quality=="draft")if(!Me.isParent())bt=Rt.get(Me.id()),ft.nodes.push({x:V[Xe].xCoords[bt]-Me.boundingbox().w/2,y:V[Xe].yCoords[bt]-Me.boundingbox().h/2,width:Me.boundingbox().w,height:Me.boundingbox().h});else{var Fe=T.calcBoundingBox(Me,V[Xe].xCoords,V[Xe].yCoords,Rt);ft.nodes.push({x:Fe.topLeftX,y:Fe.topLeftY,width:Fe.width,height:Fe.height})}else J[Xe][Me.id()]&&ft.nodes.push({x:J[Xe][Me.id()].getLeft(),y:J[Xe][Me.id()].getTop(),width:J[Xe][Me.id()].getWidth(),height:J[Xe][Me.id()].getHeight()})}),tr.edges().forEach(function(Me){var Fe=Me.source(),je=Me.target();if(Fe.css("display")!="none"&&je.css("display")!="none")if(O.quality=="draft"){var He=Rt.get(Fe.id()),nt=Rt.get(je.id()),ze=[],se=[];if(Fe.isParent()){var ke=T.calcBoundingBox(Fe,V[Xe].xCoords,V[Xe].yCoords,Rt);ze.push(ke.topLeftX+ke.width/2),ze.push(ke.topLeftY+ke.height/2)}else ze.push(V[Xe].xCoords[He]),ze.push(V[Xe].yCoords[He]);if(je.isParent()){var Le=T.calcBoundingBox(je,V[Xe].xCoords,V[Xe].yCoords,Rt);se.push(Le.topLeftX+Le.width/2),se.push(Le.topLeftY+Le.height/2)}else se.push(V[Xe].xCoords[nt]),se.push(V[Xe].yCoords[nt]);ft.edges.push({startX:ze[0],startY:ze[1],endX:se[0],endY:se[1]})}else J[Xe][Fe.id()]&&J[Xe][je.id()]&&ft.edges.push({startX:J[Xe][Fe.id()].getCenterX(),startY:J[Xe][Fe.id()].getCenterY(),endX:J[Xe][je.id()].getCenterX(),endY:J[Xe][je.id()].getCenterY()})}),ft.nodes.length>0&&(qe.push(ft),De.add(Xe))}});var We=Q.packComponents(qe,O.randomize).shifts;if(O.quality=="draft")V.forEach(function(tr,Xe){var Rt=tr.xCoords.map(function(bt){return bt+We[Xe].dx}),ft=tr.yCoords.map(function(bt){return bt+We[Xe].dy});tr.xCoords=Rt,tr.yCoords=ft});else{var mt=0;De.forEach(function(tr){Object.keys(J[tr]).forEach(function(Xe){var Rt=J[tr][Xe];Rt.setCenter(Rt.getCenterX()+We[mt].dx,Rt.getCenterY()+We[mt].dy)}),mt++})}}}else{var te=O.eles.boundingBox();if(q.push({x:te.x1+te.w/2,y:te.y1+te.h/2}),O.randomize){var z=E(O);V.push(z)}O.quality=="default"||O.quality=="proof"?(J.push(R(O,V[0])),T.relocateComponent(q[0],J[0],O)):T.relocateComponent(q[0],V[0],O)}var ct=i(function(Xe,Rt){if(O.quality=="default"||O.quality=="proof"){typeof Xe=="number"&&(Xe=Rt);var ft=void 0,bt=void 0,Me=Xe.data("id");return J.forEach(function(je){Me in je&&(ft={x:je[Me].getRect().getCenterX(),y:je[Me].getRect().getCenterY()},bt=je[Me])}),O.nodeDimensionsIncludeLabels&&(bt.labelWidth&&(bt.labelPosHorizontal=="left"?ft.x+=bt.labelWidth/2:bt.labelPosHorizontal=="right"&&(ft.x-=bt.labelWidth/2)),bt.labelHeight&&(bt.labelPosVertical=="top"?ft.y+=bt.labelHeight/2:bt.labelPosVertical=="bottom"&&(ft.y-=bt.labelHeight/2))),ft==null&&(ft={x:Xe.position("x"),y:Xe.position("y")}),{x:ft.x,y:ft.y}}else{var Fe=void 0;return V.forEach(function(je){var He=je.nodeIndexes.get(Xe.id());He!=null&&(Fe={x:je.xCoords[He],y:je.yCoords[He]})}),Fe==null&&(Fe={x:Xe.position("x"),y:Xe.position("y")}),{x:Fe.x,y:Fe.y}}},"getPositions");if(O.quality=="default"||O.quality=="proof"||O.randomize){var Ot=T.calcParentsWithoutChildren(P,G),yr=G.filter(function(tr){return tr.css("display")=="none"});O.eles=G.not(yr),G.nodes().not(":parent").not(yr).layoutPositions(F,O,ct),Ot.length>0&&Ot.forEach(function(tr){tr.position(ct(tr))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")},"run")}]),M})();h.exports=_}),657:((h,f,p)=>{var m=p(548),b=p(140).layoutBase.Matrix,v=p(140).layoutBase.SVD,T=i(function(E){var S=E.cy,R=E.eles,L=R.nodes(),_=R.nodes(":parent"),M=new Map,I=new Map,F=new Map,O=[],P=[],G=[],V=[],Y=[],K=[],J=[],H=[],q=void 0,Z=void 0,Q=1e8,W=1e-9,te=E.piTol,z=E.samplingType,re=E.nodeSeparation,ae=void 0,ce=i(function(){for(var Ne=0,Ee=0,ye=!1;Ee=ht;){it=be[ht++];for(var qt=O[it],Wt=0;Wt$t&&($t=Y[rn],gr=rn)}return gr},"BFS"),de=i(function(Ne){var Ee=void 0;if(Ne){Ee=Math.floor(Math.random()*Z),q=Ee;for(var be=0;be=1)break;$t=Vt}for(var qt=0;qt=1)break;$t=Vt}for(var Ut=0;Ut0&&(Ee.isParent()?O[Ne].push(F.get(Ee.id())):O[Ne].push(Ee.id()))})});var Ot=i(function(Ne){var Ee=I.get(Ne),ye=void 0;M.get(Ne).forEach(function(be){S.getElementById(be).isParent()?ye=F.get(be):ye=be,O[Ee].push(ye),O[I.get(ye)].push(Ne)})},"_loop"),yr=!0,tr=!1,Xe=void 0;try{for(var Rt=M.keys()[Symbol.iterator](),ft;!(yr=(ft=Rt.next()).done);yr=!0){var bt=ft.value;Ot(bt)}}catch(he){tr=!0,Xe=he}finally{try{!yr&&Rt.return&&Rt.return()}finally{if(tr)throw Xe}}Z=I.size;var Me=void 0;if(Z>2){ae=Z{var m=p(212),b=i(function(T){T&&T("layout","fcose",m)},"register");typeof cytoscape<"u"&&b(cytoscape),h.exports=b}),140:(h=>{h.exports=t})},a={};function o(h){var f=a[h];if(f!==void 0)return f.exports;var p=a[h]={exports:{}};return r[h](p,p.exports,o),p.exports}i(o,"__webpack_require__");var l=o(579);return l})()})});function Xut(t,r){if(t===0)return r();let a=Math.random,o=t>>>0;Math.random=function(){o=o+1831565813>>>0;let l=o;return l=Math.imul(l^l>>>15,l|1),l^=l+Math.imul(l^l>>>7,l|61),((l^l>>>14)>>>0)/4294967296};try{return r()}finally{Math.random=a}}var pUr=ie(()=>{"use strict";i(Xut,"withSeededRandom")});var hH,jP,Qut=ie(()=>{"use strict";zT();hH=i(t=>`${t}`,"wrapIcon"),jP={prefix:"mermaid-architecture",height:80,width:80,icons:{database:{body:hH('')},server:{body:hH('')},disk:{body:hH('')},internet:{body:hH('')},cloud:{body:hH('')},unknown:Gqe,blank:{body:hH("")}}}});var gUr,mUr,yUr,bUr,vUr=ie(()=>{"use strict";ma();jw();zT();rl();Qut();tCe();Ia();gUr=i(async function(t,r,a,o){let l=a.getConfigField("padding"),h=a.getConfigField("iconSize"),f=h/2,p=h/6,m=p/2;await Promise.all(r.edges().map(async b=>{let{source:v,sourceDir:T,sourceArrow:C,sourceGroup:E,target:S,targetDir:R,targetArrow:L,targetGroup:_,label:M}=eCe(b),{x:I,y:F}=b[0].sourceEndpoint(),{x:O,y:P}=b[0].midpoint(),{x:G,y:V}=b[0].targetEndpoint(),Y=l+4;if(E&&(yy(T)?I+=T==="L"?-Y:Y:F+=T==="T"?-Y:Y+18),_&&(yy(R)?G+=R==="L"?-Y:Y:V+=R==="T"?-Y:Y+18),!E&&a.getNode(v)?.type==="junction"&&(yy(T)?I+=T==="L"?f:-f:F+=T==="T"?f:-f),!_&&a.getNode(S)?.type==="junction"&&(yy(R)?G+=R==="L"?f:-f:V+=R==="T"?f:-f),b[0]._private.rscratch){let K=t.insert("g");if(K.insert("path").attr("d",`M ${I},${F} L ${O},${P} L${G},${V} `).attr("class","edge").attr("id",`${o}-${Qv(v,S,{prefix:"L"})}`),C){let J=yy(T)?Tae[T](I,p):I-m,H=GS(T)?Tae[T](F,p):F-m;K.insert("polygon").attr("points",jut[T](p)).attr("transform",`translate(${J},${H})`).attr("class","arrow")}if(L){let J=yy(R)?Tae[R](G,p):G-m,H=GS(R)?Tae[R](V,p):V-m;K.insert("polygon").attr("points",jut[R](p)).attr("transform",`translate(${J},${H})`).attr("class","arrow")}if(M){let J=kae(T,R)?"XY":yy(T)?"X":"Y",H=0;J==="X"?H=Math.abs(I-G):J==="Y"?H=Math.abs(F-V)/1.5:H=Math.abs(I-G)/2;let q=K.append("g");if(await zh(q,M,{useHtmlLabels:!1,width:H,classes:"architecture-service-label"},Zt()),q.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),J==="X")q.attr("transform","translate("+O+", "+P+")");else if(J==="Y")q.attr("transform","translate("+O+", "+P+") rotate(-90)");else if(J==="XY"){let Z=Cae(T,R);if(Z&&iUr(Z)){let Q=q.node().getBoundingClientRect(),[W,te]=sUr(Z);q.attr("dominant-baseline","auto").attr("transform",`rotate(${-1*W*te*45})`);let z=q.node().getBoundingClientRect();q.attr("transform",` + translate(${O}, ${P-Q.height/2}) + translate(${W*z.width/2}, ${te*z.height/2}) + rotate(${-1*W*te*45}, 0, ${Q.height/2}) + `)}}}}}))},"drawEdges"),mUr=i(async function(t,r,a,o){let h=a.getConfigField("padding")*.75,f=a.getConfigField("fontSize"),m=a.getConfigField("iconSize")/2;await Promise.all(r.nodes().map(async b=>{let v=s_(b);if(v.type==="group"){let{h:T,w:C,x1:E,y1:S}=b.boundingBox(),R=t.append("rect");R.attr("id",`${o}-group-${v.id}`).attr("x",E+m).attr("y",S+m).attr("width",C).attr("height",T).attr("class","node-bkg");let L=t.append("g"),_=E,M=S;if(v.icon){let I=L.append("g");I.html(`${await hm(v.icon,{height:h,width:h,fallbackPrefix:jP.prefix})}`),I.attr("transform","translate("+(_+m+1)+", "+(M+m+1)+")"),_+=h,M+=f/2-1-2}if(v.label){let I=L.append("g");await zh(I,v.label,{useHtmlLabels:!1,width:C,classes:"architecture-service-label"},Zt()),I.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","start").attr("text-anchor","start"),I.attr("transform","translate("+(_+m+4)+", "+(M+m+2)+")")}a.setElementForId(v.id,R)}}))},"drawGroups"),yUr=i(async function(t,r,a,o){let l=Zt();for(let h of a){let f=r.append("g"),p=t.getConfigField("iconSize");if(h.title){let T=f.append("g");await zh(T,h.title,{useHtmlLabels:!1,width:p*1.5,classes:"architecture-service-label"},l),T.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),T.attr("transform","translate("+p/2+", "+p+")")}let m=f.append("g");if(h.icon)m.html(`${await hm(h.icon,{height:p,width:p,fallbackPrefix:jP.prefix})}`);else if(h.iconText){m.html(`${await hm("blank",{height:p,width:p,fallbackPrefix:jP.prefix})}`);let E=m.append("g").append("foreignObject").attr("width",p).attr("height",p).append("div").attr("class","node-icon-text").attr("style",`height: ${p}px;`).append("div").html(Ns(h.iconText,l)),S=parseInt(window.getComputedStyle(E.node(),null).getPropertyValue("font-size").replace(/\D/g,""))??16;E.attr("style",`-webkit-line-clamp: ${Math.floor((p-2)/S)};`)}else m.append("path").attr("class","node-bkg").attr("id",`${o}-node-${h.id}`).attr("d",`M0,${p} V5 Q0,0 5,0 H${p-5} Q${p},0 ${p},5 V${p} Z`);f.attr("id",`${o}-service-${h.id}`).attr("class","architecture-service");let{width:b,height:v}=f.node().getBBox();h.width=b,h.height=v,t.setElementForId(h.id,f)}return 0},"drawServices"),bUr=i(function(t,r,a,o){a.forEach(l=>{let h=r.append("g"),f=t.getConfigField("iconSize");h.append("g").append("rect").attr("id",`${o}-node-${l.id}`).attr("fill-opacity","0").attr("width",f).attr("height",f),h.attr("class","architecture-junction");let{width:m,height:b}=h._groups[0][0].getBBox();h.width=m,h.height=b,t.setElementForId(l.id,h)})},"drawJunctions")});function Agi(t,r,a){t.forEach(o=>{r.add({group:"nodes",data:{type:"service",id:o.id,icon:o.icon,label:o.title,parent:o.in,width:a.getConfigField("iconSize"),height:a.getConfigField("iconSize")},classes:"node-service"})})}function Rgi(t,r,a){t.forEach(o=>{r.add({group:"nodes",data:{type:"junction",id:o.id,parent:o.in,width:a.getConfigField("iconSize"),height:a.getConfigField("iconSize")},classes:"node-junction"})})}function Lgi(t,r){r.nodes().map(a=>{let o=s_(a);if(o.type==="group")return;o.x=a.position().x,o.y=a.position().y,t.getElementById(o.id).attr("transform","translate("+(o.x||0)+","+(o.y||0)+")")})}function Dgi(t,r){t.forEach(a=>{r.add({group:"nodes",data:{type:"group",id:a.id,icon:a.icon,label:a.title,parent:a.in},classes:"node-group"})})}function _gi(t,r){t.forEach(a=>{let{lhsId:o,rhsId:l,lhsInto:h,lhsGroup:f,rhsInto:p,lhsDir:m,rhsDir:b,rhsGroup:v,title:T}=a,C=kae(a.lhsDir,a.rhsDir)?"segments":"straight",E={id:`${o}-${l}`,label:T,source:o,sourceDir:m,sourceArrow:h,sourceGroup:f,sourceEndpoint:m==="L"?"0 50%":m==="R"?"100% 50%":m==="T"?"50% 0":"50% 100%",target:l,targetDir:b,targetArrow:p,targetGroup:v,targetEndpoint:b==="L"?"0 50%":b==="R"?"100% 50%":b==="T"?"50% 0":"50% 100%"};r.add({group:"edges",data:E,classes:C})})}function Mgi(t,r,a,o=[]){let l=i((C,E)=>{let S=new Map;for(let[R,L]of C.entries()){let _=`${R}`,M=0,I=[...L.entries()];if(I.length===1){S.set(_,I[0][1]);continue}for(let F=0;F{let E=new Map,S=new Map;return C.forEach(([R,L],_)=>{let M=t.getNode(_)?.in??"default",I=E.get(L)??new Map;E.has(L)||E.set(L,I);let F=S.get(R)??new Map;S.has(R)||S.set(R,F);for(let O of[I,F]){let P=O.get(M)??[];O.has(M)||O.set(M,P),P.push(_)}}),{horiz:[...l(E,"horizontal").values()].filter(R=>R.length>1),vert:[...l(S,"vertical").values()].filter(R=>R.length>1)}}),[f,p]=h.reduce(([C,E],{horiz:S,vert:R})=>[[...C,...S],[...E,...R]],[[],[]]),m=new Set;o.forEach(C=>C.members.forEach(E=>m.add(E)));let b=i(C=>C.filter(E=>!E.some(S=>m.has(S))),"dropOverlapping"),v=b(f),T=b(p);return o.forEach(C=>{C.members.length<2||(C.direction==="row"?v.push([...C.members]):T.push([...C.members]))}),{horizontal:v,vertical:T}}function Igi(t,r,a=[]){let o=[],l=r.getConfigField("iconSize"),h=r.getConfigField("idealEdgeLengthMultiplier"),f=h*l,p=new Set;a.forEach(v=>{for(let T=0;T`${v[0]},${v[1]}`,"posToStr"),b=i(v=>v.split(",").map(T=>parseInt(T)),"strToPos");return t.forEach(v=>{let T=new Map([...v.entries()].map(([R,L])=>[m(L),R])),C=[m([0,0])],E={},S={L:[-1,0],R:[1,0],T:[0,1],B:[0,-1]};for(;C.length>0;){let R=C.shift();if(R){E[R]=1;let L=T.get(R);if(L){let _=b(R);Object.entries(S).forEach(([M,I])=>{let F=m([_[0]+I[0],_[1]+I[1]]),O=T.get(F);if(O&&!E[F]){if(C.push(F),p.has(`${L}|${O}`))return;o.push({[Gut[M]]:O,[Gut[nUr(M)]]:L,gap:h*l})}})}}}}),o}function Ngi(t,r,a,o,l,{spatialMaps:h,groupAlignments:f}){return new Promise(p=>{let m=dn("body").append("div").attr("id","cy").attr("style","display:none"),b=ck({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"straight","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"edge[label]",style:{label:"data(label)"}},{selector:"edge.segments",style:{"curve-style":"segments","segment-weights":"0","segment-distances":[.5],"edge-distances":"endpoints","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"node",style:{"compound-sizing-wrt-labels":"include"}},{selector:"node[label]",style:{"text-valign":"bottom","text-halign":"center","font-size":`${l.getConfigField("fontSize")}px`}},{selector:".node-service",style:{label:"data(label)",width:"data(width)",height:"data(height)"}},{selector:".node-junction",style:{width:"data(width)",height:"data(height)"}},{selector:".node-group",style:{padding:`${l.getConfigField("padding")}px`}}],layout:{name:"grid",boundingBox:{x1:0,x2:100,y1:0,y2:100}}});m.remove(),Dgi(a,b),Agi(t,b,l),Rgi(r,b,l),_gi(o,b);let v=l.getLayoutHints(),T=Mgi(l,h,f,v),C=Igi(h,l,v),E=l.getConfigField("iconSize"),S=l.getConfigField("idealEdgeLengthMultiplier")*E,R=.5*E,L=l.getConfigField("edgeElasticity"),_=l.getConfigField("seed"),M=b.layout({name:"fcose",quality:"proof",randomize:l.getConfigField("randomize"),nodeSeparation:l.getConfigField("nodeSeparation"),numIter:l.getConfigField("numIter"),styleEnabled:!1,animate:!1,nodeDimensionsIncludeLabels:!1,idealEdgeLength(I){let[F,O]=I.connectedNodes(),{parent:P}=s_(F),{parent:G}=s_(O);return P===G?S:R},edgeElasticity(I){let[F,O]=I.connectedNodes(),{parent:P}=s_(F),{parent:G}=s_(O);return P===G?L:.001},alignmentConstraint:T,relativePlacementConstraint:C});M.one("layoutstop",()=>{function I(F,O,P,G){let V,Y,{x:K,y:J}=F,{x:H,y:q}=O;Y=(G-J+(K-P)*(J-q)/(K-H))/Math.sqrt(1+Math.pow((J-q)/(K-H),2)),V=Math.sqrt(Math.pow(G-J,2)+Math.pow(P-K,2)-Math.pow(Y,2));let Z=Math.sqrt(Math.pow(H-K,2)+Math.pow(q-J,2));V=V/Z;let Q=(H-K)*(G-J)-(q-J)*(P-K);switch(!0){case Q>=0:Q=1;break;case Q<0:Q=-1;break}let W=(H-K)*(P-K)+(q-J)*(G-J);switch(!0){case W>=0:W=1;break;case W<0:W=-1;break}return Y=Math.abs(Y)*Q,V=V*W,{distances:Y,weights:V}}i(I,"getSegmentWeights"),b.startBatch();for(let F of Object.values(b.edges()))if(F.data?.()){let{x:O,y:P}=F.source().position(),{x:G,y:V}=F.target().position();if(O!==G&&P!==V){let Y=F.sourceEndpoint(),K=F.targetEndpoint(),{sourceDir:J}=eCe(F),[H,q]=GS(J)?[Y.x,K.y]:[K.x,Y.y],{weights:Z,distances:Q}=I(Y,K,H,q);F.style("segment-distances",Q),F.style("segment-weights",Z)}}b.endBatch(),Xut(_,()=>M.run())});try{Xut(_,()=>M.run())}catch(I){throw I instanceof RangeError&&I.message.includes("Invalid array length")?new Error("Architecture layout failed: a declared `align row|column` directive likely contradicts the edge directions, or two declared alignments overlap on a shared node. Check that the order of members in each `align` chain is consistent with the edges between them, and that no node appears in two `align` directives along the same axis."):I}b.ready(I=>{Pe.info("Ready",I),p(b)})})}var wUr,Ogi,xUr,TUr=ie(()=>{"use strict";rnt();wUr=qv(dUr(),1);pUr();Yo();Xn();zT();y1();Gh();Qut();tCe();vUr();Qj([{name:jP.prefix,icons:jP}]);ck.use(wUr.default);i(Agi,"addServices");i(Rgi,"addJunctions");i(Lgi,"positionNodes");i(Dgi,"addGroups");i(_gi,"addEdges");i(Mgi,"getAlignments");i(Igi,"getRelativeConstraints");i(Ngi,"layoutArchitecture");Ogi=i(async(t,r,a,o)=>{let l=o.db;l.setDiagramId(r);let h=l.getServices(),f=l.getJunctions(),p=l.getGroups(),m=l.getEdges(),b=l.getDataStructures(),v=fu(r),T=v.append("g");T.attr("class","architecture-edges");let C=v.append("g");C.attr("class","architecture-services");let E=v.append("g");E.attr("class","architecture-groups"),await yUr(l,C,h,r),bUr(l,C,f,r);let S=await Ngi(h,f,p,m,l,b);await gUr(T,S,l,r),await mUr(E,S,l,r),Lgi(l,S),UT(void 0,v,l.getConfigField("padding"),l.getConfigField("useMaxWidth"))},"draw"),xUr={draw:Ogi}});var kUr={};cs(kUr,{diagram:()=>Pgi});var Pgi,CUr=ie(()=>{"use strict";uUr();Uut();fUr();TUr();Pgi={parser:Vut,get db(){return new uH},renderer:xUr,styles:hUr}});var Jut,Zut,rCe,eht,AUr=ie(()=>{"use strict";Jut="position frame",Zut="frame positioned",rCe="position relation",eht="relation positioned"});function Ugi(){nCe={}}function qgi(){let t=Ygi,{ast:r}=nCe,a=LUr();if(!r)throw new Error("No data for EventModel");return r.frames.forEach((o,l)=>{let h=e0i(o,r.dataEntities,a);t=rht(t,{$kind:Jut,index:l,frame:o,textProps:h});let f;s0i(o)?(Pe.debug("source frame",o.sourceFrames),f=r.frames.filter(p=>o.sourceFrames.some(m=>m.$refText===p.name)),f.forEach(p=>{t=rht(t,{$kind:rCe,index:l,frame:o,sourceFrame:p})})):t=rht(t,{$kind:rCe,index:l,frame:o})}),t={...t,sortedSwimlanesArray:DUr(t.swimlanes)},t}function Wgi(t){nCe.ast=void 0;let r=new Set;for(let a of t.frames){if(r.has(a.name)){let o=a.$cstNode?.range.start.line,l=o===void 0?"":` on line ${o+1}`;throw new Error(`Duplicate event modeling frame ID "${a.name}"${l}`)}r.add(a.name)}nCe.ast=t}function LUr(){return du}function Kgi(t){let r=t.split(".");if(r.length===2)return r[0]}function Xgi(t){let r=t.split(".");return r.length===2?r[1]:t}function Qgi(t,r){if(!(!r||r.length===0))return Object.values(t).find(a=>a.namespace===r)}function tht(t,r,a){return Math.max(r,...Object.keys(t).filter(o=>{let l=Number.parseInt(o);return l>r&&lNumber.parseInt(o)))+1}function Jgi(t,r){let a=Kgi(t.entityIdentifier),o=Qgi(r,a);switch(t.modelEntityType){case"ui":case"pcr":case"processor":return o?{index:o.index,label:o.namespace||du.labelUiAutomation}:a?{index:tht(r,0,100),label:du.labelUiAutomationPrefix+a}:{index:0,label:du.labelUiAutomation};case"rmo":case"readmodel":case"cmd":case"command":return o?{index:o.index,label:o.namespace||du.labelCommandReadModel}:a?{index:tht(r,100,200),label:du.labelCommandReadModelPrefix+a}:{index:100,label:du.labelCommandReadModel};case"evt":case"event":default:return o?{index:o.index,label:o.namespace||du.labelEvents}:a?{index:tht(r,200,300),label:du.labelEventsPrefix+a}:{index:200,label:du.labelEvents}}}function Zgi(t){let{themeVariables:r}=ii();switch(t.modelEntityType){case"ui":return{fill:r.emUiFill??"white",stroke:r.emUiStroke??"#dbdada"};case"pcr":case"processor":return{fill:r.emProcessorFill??"#edb3f6",stroke:r.emProcessorStroke??"#b88cbf"};case"rmo":case"readmodel":return{fill:r.emReadModelFill??"#d3f1a2",stroke:r.emReadModelStroke??"#a3b732"};case"cmd":case"command":return{fill:r.emCommandFill??"#bcd6fe",stroke:r.emCommandStroke??"#679ac3"};case"evt":case"event":return{fill:r.emEventFill??"#ffb778",stroke:r.emEventStroke??"#c19a0f"};default:return{fill:"red",stroke:"black"}}}function e0i(t,r,a){let o=ii(),l=Ns(Xgi(t.entityIdentifier)??"",o),h,f={fontSize:16,fontWeight:700,fontFamily:'"trebuchet ms", verdana, arial, sans-serif',joinWith:"
    "},m=`${JN(l,a.textMaxWidth,f)}`;if(t.dataInlineValue&&(h=t.dataInlineValue,h=h.substring(h.indexOf("{")+1),h=h.substring(0,h.lastIndexOf("}")-1),h=Ns(h,o),h=JN(h,a.textMaxWidth,f),h=h.replaceAll(" "," ")),t.dataReference){let S=r.find(R=>R.name===t.dataReference?.$refText);S&&(h=S.dataBlockValue,h=h.substring(h.indexOf(`{ +`)+2),h=h.substring(0,h.lastIndexOf("}")-1),h=Ns(h,o),h=JN(h,a.textMaxWidth,f),h=h.replaceAll(" "," "),h+="
    ")}let b=h!==void 0;b&&(m+=`

    ${h}`);let v={fontSize:f.fontSize,fontWeight:f.fontWeight,fontFamily:f.fontFamily},T=Ute(m,v),C=b?T.width/3:T.width,E={content:m,width:C,height:T.height};return Pe.debug(`[${t.name}] ${t.entityIdentifier} text`,E),E}function t0i(t,r){let a=r,o=Zgi(a.frame),l={width:a.textProps.width+2*du.boxTextPadding,height:a.textProps.height+2*du.boxTextPadding};return[{$kind:Zut,frame:a.frame,index:a.index,visual:o,dimension:l,textProps:a.textProps}]}function r0i(t,r,a){return r===void 0?du.contentStartX:r.index===t.index&&t.r?t.r+du.boxPadding:a===void 0?du.contentStartX:a.r-du.boxOverlap+du.boxPadding}function n0i(t,r){let a=[...t.map(o=>o.r),r];return Math.max(...a)}function DUr(t){return Object.values(t).sort((r,a)=>r.index-a.index)}function i0i(t,r){let a=r,o=Jgi(a.frame,t.swimlanes),l;o.index in t.swimlanes?l=t.swimlanes[o.index]:l={index:o.index,label:o.label,r:0,y:o.index*du.swimlaneMinHeight+du.swimlaneGap,height:du.swimlaneMinHeight,maxHeight:du.swimlaneMinHeight};let h=t.boxes.length>0?t.boxes[t.boxes.length-1]:void 0,f=t.previousSwimlaneNumber!==void 0?t.swimlanes[t.previousSwimlaneNumber]:void 0,p={width:Math.max(du.boxMinWidth,Math.min(du.boxMaxWidth,a.dimension.width))+2*du.boxPadding,height:Math.max(du.boxMinHeight,Math.min(du.boxMaxHeight,a.dimension.height))+2*du.boxPadding},m=r0i(l,f,h),b=m+p.width+du.boxPadding,v=n0i(Object.values(t.swimlanes),b);l.r=m+p.width,l.maxHeight=Math.max(l.maxHeight,p.height),l.height=Math.max(du.swimlaneMinHeight,l.maxHeight)+2*du.swimlanePadding;let T={x:m,y:du.swimlanePadding+l.y,r:b,dimension:p,leftSibling:!1,swimlane:l,visual:a.visual,text:a.textProps.content,frame:a.frame,index:a.index},C={...t,boxes:[...t.boxes,T],swimlanes:{...t.swimlanes,[`${l.index}`]:l},previousSwimlaneNumber:o.index,previousFrame:a.frame,maxR:v},E=DUr(C.swimlanes);E.length>0&&(E[0].y=0);for(let S=1;S0}function RUr(t,r){if(r!=null)return t.find(a=>a.frame.name===r.name)}function o0i(t,r,a){if(!(a<0))for(let o=a;o>=0;o--){let l=t[o];if(l.swimlane.index!==r)return l}}function l0i(t,r){let a=r;if(a0i(a.index,a.frame))return[];let o=RUr(t.boxes,a.frame);if(o===void 0)throw new Error(`Target box not found for frame ${a.frame.name}`);let l;if(a.sourceFrame)l=RUr(t.boxes,a.sourceFrame);else{if(E3e(a.frame))return[];l=o0i(t.boxes,o.swimlane.index,a.index-1)}return l===void 0?[]:[{$kind:eht,frame:a.frame,index:a.index,sourceBox:l,targetBox:o}]}function c0i(t,r){let a=r,o={visual:{fill:"none",stroke:"#000"},source:{x:a.sourceBox.x,y:a.sourceBox.y},target:{x:a.targetBox.x,y:a.targetBox.y},sourceBox:a.sourceBox,targetBox:a.targetBox};return{...t,relations:[...t.relations,o]}}function f0i(t,r){let a=u0i[r.$kind];if(a==null)return[];let o=a(t,r);return Pe.debug("decided events",o),o}function d0i(t,r){let a=r.reduce((o,l)=>{let h=h0i[l.$kind];return h==null?o:h(o,l)},t);return Pe.debug("evolve events",{state:t,newState:a,events:r}),a}function rht(t,r){let a=f0i(t,r);return d0i(t,a)}var Ggi,jgi,zgi,Vgi,Hgi,nCe,du,Ygi,u0i,h0i,Rae,nht=ie(()=>{"use strict";Xn();Ia();Ia();Qs();xu();rl();up();m1();AUr();Ggi=i(function(t){Pe.debug("options str",t)},"setOptions"),jgi=i(function(){return{}},"getOptions"),zgi=i(function(){Ugi(),Is()},"clear");i(Ugi,"reset");Vgi=hs.eventmodeling,Hgi=i(()=>nl({...Vgi,...ii().eventmodeling}),"getConfig"),nCe={};i(qgi,"getState");i(Wgi,"setAst");du={swimlaneMinHeight:70,swimlanePadding:15,swimlaneGap:10,boxPadding:10,boxOverlap:90,boxDefaultY:0,boxMinWidth:80,boxMaxWidth:450,boxMinHeight:80,boxMaxHeight:750,contentStartX:250,textMaxWidth:430,boxTextFontWeight:"bold",boxTextPadding:10,swimlaneTextFontWeight:"bold",labelUiAutomation:"UI/Automation",labelUiAutomationPrefix:"UI/A: ",labelCommandReadModel:"Command/Read Model",labelCommandReadModelPrefix:"C/RM: ",labelEvents:"Events",labelEventsPrefix:"Stream: "};i(LUr,"getDiagramProps");Ygi={boxes:[],swimlanes:{},relations:[],maxR:0,sortedSwimlanesArray:[]};i(Kgi,"extractNamespace");i(Xgi,"extractName");i(Qgi,"findSwimlaneByNamespace");i(tht,"findNextAvailableIndex");i(Jgi,"calculateSwimlaneProps");i(Zgi,"calculateEntityVisualProps");i(e0i,"calculateTextProps");i(t0i,"decidePositionFrame");i(r0i,"calculateX");i(n0i,"calculateMaxRight");i(DUr,"sortedSwimlanesArray");i(i0i,"evolveFramePositioned");i(a0i,"isFirstFrame");i(s0i,"hasSourceFrame");i(RUr,"findBoxByFrame");i(o0i,"findBoxByLineIndex");i(l0i,"decidePositionRelation");i(c0i,"evolveRelationPositioned");u0i={[Jut]:t0i,[rCe]:l0i},h0i={[Zut]:i0i,[eht]:c0i};i(f0i,"decide");i(d0i,"evolve");i(rht,"dispatch");Rae={getConfig:Hgi,preserveCommentsWhenParsing:!0,setOptions:Ggi,getOptions:jgi,clear:zgi,setAccTitle:Os,getAccTitle:Ws,getAccDescription:Ys,setAccDescription:js,setDiagramTitle:ao,getDiagramTitle:Js,setAst:Wgi,getDiagramProps:LUr,getState:qgi}});var _Ur,MUr=ie(()=>{"use strict";m1();Xn();Nb();nht();_Ur={parse:i(async t=>{let r=await Fd("eventmodeling",t);Pe.debug(r),Rae.setAst(r),Th(r,Rae)},"parse")}});function m0i(t,r){return a=>{let o=a.swimlane.y+r.swimlanePadding,l=t.append("g").attr("class","em-box");l.append("rect").attr("x",a.x).attr("y",o).attr("rx","3").attr("width",a.dimension.width).attr("height",a.dimension.height).attr("stroke",a.visual.stroke).attr("fill",a.visual.fill),l.append("foreignObject").attr("x",a.x+r.boxPadding).attr("y",o+10).attr("width",a.dimension.width-2*r.boxPadding).attr("height",a.dimension.height-2*r.boxPadding).append("xhtml:div").style("display","table").style("height","100%").style("width","100%").append("span").style("display","table-cell").style("text-align","center").style("vertical-align","middle").html(a.text)}}function y0i(t,r){return t>r}function b0i(t,r,a,o){return l=>{let h=l.sourceBox.swimlane.y+r.swimlanePadding,f=l.targetBox.swimlane.y+r.swimlanePadding,p=y0i(h,f),m=l.sourceBox.x+l.sourceBox.dimension.width*2/3,b=l.targetBox.x+l.targetBox.dimension.width/3,v,T;Pe.debug(`rendering relation up=${p} for `,{sourceBox:l.sourceBox,targetBox:l.targetBox}),p?(v=h,T=f+l.targetBox.dimension.height):(v=h+l.sourceBox.dimension.height,T=f);let C=o.emRelationStroke??l.visual.stroke;t.append("path").attr("class","em-relation").attr("fill",l.visual.fill).attr("stroke",C).attr("stroke-width","1").attr("marker-end",`url(#${a})`).attr("d",`M${m} ${v} L${b} ${T}`)}}function v0i(t,r,a,o){return l=>{let h=t.append("g").attr("class","em-swimlane"),f=o.emSwimlaneBackgroundOdd??"rgb(250,250,250)",p=o.emSwimlaneBackgroundStroke??"rgb(240,240,240)";h.append("rect").attr("x",0).attr("y",l.y).attr("rx","3").attr("width",r+a.swimlanePadding).attr("height",l.height).attr("fill",f).attr("stroke",p),h.append("text").attr("font-weight",a.swimlaneTextFontWeight).attr("x",30).attr("y",l.y+30).text(l.label)}}var p0i,g0i,w0i,IUr,NUr=ie(()=>{"use strict";Yo();ma();Xn();p0i=Zt(),g0i=p0i?.eventmodeling;i(m0i,"renderD3Box");i(y0i,"dirUpwards");i(b0i,"renderD3Relation");i(v0i,"renderD3Swimlane");w0i=i(function(t,r,a,o){if(Pe.debug("in eventmodeling renderer",t+` +`,"id:",r,a),!g0i)throw new Error("EventModeling config not found");let l=o.db,{themeVariables:h,eventmodeling:f}=Zt(),p=dn(`[id="${r}"]`),m=l.getDiagramProps(),b=l.getState(),v=`em-arrowhead-${r}`,T=h.emArrowhead??"#000000";b.sortedSwimlanesArray.forEach(v0i(p,b.maxR,m,h)),b.boxes.forEach(m0i(p,m)),b.relations.forEach(b0i(p,m,v,h)),p.append("defs").append("marker").attr("id",v).attr("markerWidth","10").attr("markerHeight","7").attr("refX","10").attr("refY","3.5").attr("orient","auto").append("polygon").attr("points","0 0, 10 3.5, 0 7").attr("fill",T),Mee(void 0,p,f?.padding??30,f?.useMaxWidth)},"draw"),IUr={draw:w0i}});var x0i,OUr,PUr=ie(()=>{"use strict";x0i=i(t=>"","getStyles"),OUr=x0i});var BUr={};cs(BUr,{diagram:()=>T0i});var T0i,FUr=ie(()=>{"use strict";MUr();nht();NUr();PUr();T0i={parser:_Ur,db:Rae,renderer:IUr,styles:OUr}});var iht,jUr,zUr=ie(()=>{"use strict";iht=(function(){var t=i(function(_,M,I,F){for(I=I||{},F=_.length;F--;I[_[F]]=M);return I},"o"),r=[1,4],a=[1,14],o=[1,12],l=[1,13],h=[6,7,8],f=[1,20],p=[1,18],m=[1,19],b=[6,7,11],v=[1,6,13,14],T=[1,23],C=[1,24],E=[1,6,7,11,13,14],S={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:i(function(M,I,F,O,P,G,V){var Y=G.length-1;switch(P){case 6:case 7:return O;case 15:O.addNode(G[Y-1].length,G[Y].trim());break;case 16:O.addNode(0,G[Y].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:r},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:r},{6:a,7:[1,10],9:9,12:11,13:o,14:l},t(h,[2,3]),{1:[2,2]},t(h,[2,4]),t(h,[2,5]),{1:[2,6],6:a,12:15,13:o,14:l},{6:a,9:16,12:11,13:o,14:l},{6:f,7:p,10:17,11:m},t(b,[2,18],{14:[1,21]}),t(b,[2,16]),t(b,[2,17]),{6:f,7:p,10:22,11:m},{1:[2,7],6:a,12:15,13:o,14:l},t(v,[2,14],{7:T,11:C}),t(E,[2,8]),t(E,[2,9]),t(E,[2,10]),t(b,[2,15]),t(v,[2,13],{7:T,11:C}),t(E,[2,11]),t(E,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:i(function(M,I){if(I.recoverable)this.trace(M);else{var F=new Error(M);throw F.hash=I,F}},"parseError"),parse:i(function(M){var I=this,F=[0],O=[],P=[null],G=[],V=this.table,Y="",K=0,J=0,H=0,q=2,Z=1,Q=G.slice.call(arguments,1),W=Object.create(this.lexer),te={yy:{}};for(var z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,z)&&(te.yy[z]=this.yy[z]);W.setInput(M,te.yy),te.yy.lexer=W,te.yy.parser=this,typeof W.yylloc>"u"&&(W.yylloc={});var re=W.yylloc;G.push(re);var ae=W.options&&W.options.ranges;typeof te.yy.parseError=="function"?this.parseError=te.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ce(Ot){F.length=F.length-2*Ot,P.length=P.length-Ot,G.length=G.length-Ot}i(ce,"popStack");function le(){var Ot;return Ot=O.pop()||W.lex()||Z,typeof Ot!="number"&&(Ot instanceof Array&&(O=Ot,Ot=O.pop()),Ot=I.symbols_[Ot]||Ot),Ot}i(le,"lex");for(var de,ve,Se,_e,Ce,Ve,De={},qe,Ue,We,mt;;){if(Se=F[F.length-1],this.defaultActions[Se]?_e=this.defaultActions[Se]:((de===null||typeof de>"u")&&(de=le()),_e=V[Se]&&V[Se][de]),typeof _e>"u"||!_e.length||!_e[0]){var ct="";mt=[];for(qe in V[Se])this.terminals_[qe]&&qe>q&&mt.push("'"+this.terminals_[qe]+"'");W.showPosition?ct="Parse error on line "+(K+1)+`: +`+W.showPosition()+` +Expecting `+mt.join(", ")+", got '"+(this.terminals_[de]||de)+"'":ct="Parse error on line "+(K+1)+": Unexpected "+(de==Z?"end of input":"'"+(this.terminals_[de]||de)+"'"),this.parseError(ct,{text:W.match,token:this.terminals_[de]||de,line:W.yylineno,loc:re,expected:mt})}if(_e[0]instanceof Array&&_e.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Se+", token: "+de);switch(_e[0]){case 1:F.push(de),P.push(W.yytext),G.push(W.yylloc),F.push(_e[1]),de=null,ve?(de=ve,ve=null):(J=W.yyleng,Y=W.yytext,K=W.yylineno,re=W.yylloc,H>0&&H--);break;case 2:if(Ue=this.productions_[_e[1]][1],De.$=P[P.length-Ue],De._$={first_line:G[G.length-(Ue||1)].first_line,last_line:G[G.length-1].last_line,first_column:G[G.length-(Ue||1)].first_column,last_column:G[G.length-1].last_column},ae&&(De._$.range=[G[G.length-(Ue||1)].range[0],G[G.length-1].range[1]]),Ve=this.performAction.apply(De,[Y,J,K,te.yy,_e[1],P,G].concat(Q)),typeof Ve<"u")return Ve;Ue&&(F=F.slice(0,-1*Ue*2),P=P.slice(0,-1*Ue),G=G.slice(0,-1*Ue)),F.push(this.productions_[_e[1]][0]),P.push(De.$),G.push(De._$),We=V[F[F.length-2]][F[F.length-1]],F.push(We);break;case 3:return!0}}return!0},"parse")},R=(function(){var _={EOF:1,parseError:i(function(I,F){if(this.yy.parser)this.yy.parser.parseError(I,F);else throw new Error(I)},"parseError"),setInput:i(function(M,I){return this.yy=I||this.yy||{},this._input=M,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var M=this._input[0];this.yytext+=M,this.yyleng++,this.offset++,this.match+=M,this.matched+=M;var I=M.match(/(?:\r\n?|\n).*/g);return I?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),M},"input"),unput:i(function(M){var I=M.length,F=M.split(/(?:\r\n?|\n)/g);this._input=M+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-I),this.offset-=I;var O=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),F.length-1&&(this.yylineno-=F.length-1);var P=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:F?(F.length===O.length?this.yylloc.first_column:0)+O[O.length-F.length].length-F[0].length:this.yylloc.first_column-I},this.options.ranges&&(this.yylloc.range=[P[0],P[0]+this.yyleng-I]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(M){this.unput(this.match.slice(M))},"less"),pastInput:i(function(){var M=this.matched.substr(0,this.matched.length-this.match.length);return(M.length>20?"...":"")+M.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var M=this.match;return M.length<20&&(M+=this._input.substr(0,20-M.length)),(M.substr(0,20)+(M.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var M=this.pastInput(),I=new Array(M.length+1).join("-");return M+this.upcomingInput()+` +`+I+"^"},"showPosition"),test_match:i(function(M,I){var F,O,P;if(this.options.backtrack_lexer&&(P={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(P.yylloc.range=this.yylloc.range.slice(0))),O=M[0].match(/(?:\r\n?|\n).*/g),O&&(this.yylineno+=O.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:O?O[O.length-1].length-O[O.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+M[0].length},this.yytext+=M[0],this.match+=M[0],this.matches=M,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(M[0].length),this.matched+=M[0],F=this.performAction.call(this,this.yy,this,I,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),F)return F;if(this._backtrack){for(var G in P)this[G]=P[G];return!1}return!1},"test_match"),next:i(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var M,I,F,O;this._more||(this.yytext="",this.match="");for(var P=this._currentRules(),G=0;GI[0].length)){if(I=F,O=G,this.options.backtrack_lexer){if(M=this.test_match(F,P[G]),M!==!1)return M;if(this._backtrack){I=!1;continue}else return!1}else if(!this.options.flex)break}return I?(M=this.test_match(I,P[O]),M!==!1?M:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:i(function(){var I=this.next();return I||this.lex()},"lex"),begin:i(function(I){this.conditionStack.push(I)},"begin"),popState:i(function(){var I=this.conditionStack.length-1;return I>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:i(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:i(function(I){return I=this.conditionStack.length-1-Math.abs(I||0),I>=0?this.conditionStack[I]:"INITIAL"},"topState"),pushState:i(function(I){this.begin(I)},"pushState"),stateStackSize:i(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:i(function(I,F,O,P){var G=P;switch(O){case 0:return 6;case 1:return 8;case 2:return 8;case 3:return 6;case 4:return 7;case 5:return 13;case 6:return 14;case 7:return 11}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:ishikawa-beta\b)/i,/^(?:ishikawa\b)/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:[^\n]+)/i,/^(?:$)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}};return _})();S.lexer=R;function L(){this.yy={}}return i(L,"Parser"),L.prototype=S,S.Parser=L,new L})();iht.parser=iht;jUr=iht});var iCe,UUr=ie(()=>{"use strict";ma();rl();xu();iCe=class{constructor(){this.stack=[];this.clear=this.clear.bind(this),this.addNode=this.addNode.bind(this),this.getRoot=this.getRoot.bind(this)}static{i(this,"IshikawaDB")}clear(){this.root=void 0,this.stack=[],this.baseLevel=void 0,Is()}getRoot(){return this.root}addNode(r,a){let o=Wn.sanitizeText(a,Zt());if(!this.root){this.root={text:o,children:[]},this.stack=[{level:0,node:this.root}],ao(o);return}this.baseLevel??=r;let l=r-this.baseLevel+1;for(l<=0&&(l=1);this.stack.length>1&&this.stack[this.stack.length-1].level>=l;)this.stack.pop();let h=this.stack[this.stack.length-1].node,f={text:o,children:[]};h.children.push(f),this.stack.push({level:l,node:f})}getAccTitle(){return Ws()}setAccTitle(r){Os(r)}getAccDescription(){return Ys()}setAccDescription(r){js(r)}getDiagramTitle(){return Js()}setDiagramTitle(r){ao(r)}}});var S0i,fH,A0i,R0i,L0i,KUr,VUr,HUr,qUr,D0i,WUr,_0i,M0i,I0i,aht,N0i,O0i,XUr,aCe,YUr,dH,QUr,JUr=ie(()=>{"use strict";ma();y1();Gh();Ia();ba();S0i=14,fH=250,A0i=30,R0i=60,L0i=5,KUr=82*Math.PI/180,VUr=Math.cos(KUr),HUr=Math.sin(KUr),qUr=i((t,r,a)=>{let o=t.node().getBBox(),l=o.width+r*2,h=o.height+r*2;vl(t,h,l,a),t.attr("viewBox",`${o.x-r} ${o.y-r} ${l} ${h}`)},"applyPaddedViewBox"),D0i=i((t,r,a,o)=>{let h=o.db.getRoot();if(!h)return;let f=Zt(),{look:p,handDrawnSeed:m,themeVariables:b}=f,v=Tb(f.fontSize)[0]??S0i,T=p==="handDrawn",C=h.children??[],E=f.ishikawa?.diagramPadding??20,S=f.ishikawa?.useMaxWidth??!1,R=fu(r),L=R.append("g").attr("class","ishikawa"),_=T?Kr.svg(R.node()):void 0,M=_?{roughSvg:_,seed:m??0,lineColor:b?.lineColor??"#333",fillColor:b?.mainBkg??"#fff"}:void 0,I=`ishikawa-arrow-${r}`;T||L.append("defs").append("marker").attr("id",I).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 Z").attr("class","ishikawa-arrow");let F=0,O=fH,P=T?void 0:dH(L,F,O,F,O,"ishikawa-spine");if(_0i(L,F,O,h.text,v,M),!C.length){T&&dH(L,F,O,F,O,"ishikawa-spine",M),qUr(R,E,S);return}F-=20;let G=C.filter((W,te)=>te%2===0),V=C.filter((W,te)=>te%2===1),Y=WUr(G),K=WUr(V),J=Y.total+K.total,H=fH,q=fH;if(J>0){let W=fH*2,te=fH*.3;H=Math.max(te,W*(Y.total/J)),q=Math.max(te,W*(K.total/J))}let Z=v*2;H=Math.max(H,Y.max*Z),q=Math.max(q,K.max*Z),O=Math.max(H,fH),P&&P.attr("y1",O).attr("y2",O),L.select(".ishikawa-head-group").attr("transform",`translate(0,${O})`);let Q=Math.ceil(C.length/2);for(let W=0;WMath.min(z,re.getBBox().x),1/0)}if(T)dH(L,F,O,0,O,"ishikawa-spine",M);else{P.attr("x1",F);let W=`url(#${I})`;L.selectAll("line.ishikawa-branch, line.ishikawa-sub-branch").attr("marker-start",W)}qUr(R,E,S)},"draw"),WUr=i(t=>{let r=i(a=>a.children.reduce((o,l)=>o+1+r(l),0),"countDescendants");return t.reduce((a,o)=>{let l=r(o);return a.total+=l,a.max=Math.max(a.max,l),a},{total:0,max:0})},"sideStats"),_0i=i((t,r,a,o,l,h)=>{let f=Math.max(6,Math.floor(110/(l*.6))),p=t.append("g").attr("class","ishikawa-head-group").attr("transform",`translate(${r},${a})`),m=aCe(p,XUr(o,f),0,0,"ishikawa-head-label","start",l),b=m.node().getBBox(),v=Math.max(60,b.width+6),T=Math.max(40,b.height*2+40),C=`M 0 ${-T/2} L 0 ${T/2} Q ${v*2.4} 0 0 ${-T/2} Z`;if(h){let E=h.roughSvg.path(C,{roughness:1.5,seed:h.seed,fill:h.fillColor,fillStyle:"hachure",fillWeight:2.5,hachureGap:5,stroke:h.lineColor,strokeWidth:2});p.insert(()=>E,":first-child").attr("class","ishikawa-head")}else p.insert("path",":first-child").attr("class","ishikawa-head").attr("d",C);m.attr("transform",`translate(${(v-b.width)/2-b.x+3},${-b.y-b.height/2})`)},"drawHead"),M0i=i((t,r)=>{let a=[],o=[],l=i((h,f,p)=>{let m=r===-1?[...h].reverse():h;for(let b of m){let v=a.length,T=b.children??[];a.push({depth:p,text:XUr(b.text,15),parentIndex:f,childCount:T.length}),p%2===0?(o.push(v),T.length&&l(T,v,p+1)):(T.length&&l(T,v,p+1),o.push(v))}},"walk");return l(t,-1,2),{entries:a,yOrder:o}},"flattenTree"),I0i=i((t,r,a,o,l,h,f)=>{let p=t.append("g").attr("class","ishikawa-label-group"),b=aCe(p,r,a,o+11*l,"ishikawa-label cause","middle",h).node().getBBox();if(f){let v=f.roughSvg.rectangle(b.x-20,b.y-2,b.width+40,b.height+4,{roughness:1.5,seed:f.seed,fill:f.fillColor,fillStyle:"hachure",fillWeight:2.5,hachureGap:5,stroke:f.lineColor,strokeWidth:2});p.insert(()=>v,":first-child").attr("class","ishikawa-label-box")}else p.insert("rect",":first-child").attr("class","ishikawa-label-box").attr("x",b.x-20).attr("y",b.y-2).attr("width",b.width+40).attr("height",b.height+4)},"drawCauseLabel"),aht=i((t,r,a,o,l,h)=>{let f=Math.sqrt(o*o+l*l);if(f===0)return;let p=o/f,m=l/f,b=6,v=-m*b,T=p*b,C=r,E=a,S=`M ${C} ${E} L ${C-p*b*2+v} ${E-m*b*2+T} L ${C-p*b*2-v} ${E-m*b*2-T} Z`,R=h.roughSvg.path(S,{roughness:1,seed:h.seed,fill:h.lineColor,fillStyle:"solid",stroke:h.lineColor,strokeWidth:1});t.append(()=>R)},"drawArrowMarker"),N0i=i((t,r,a,o,l,h,f,p)=>{let m=r.children??[],b=h*(m.length?1:.2),v=-VUr*b,T=HUr*b*l,C=a+v,E=o+T;if(dH(t,a,o,C,E,"ishikawa-branch",p),p&&aht(t,a,o,a-C,o-E,p),I0i(t,r.text,C,E,l,f,p),!m.length)return;let{entries:S,yOrder:R}=M0i(m,l),L=S.length,_=new Array(L);for(let[P,G]of R.entries())_[G]=o+T*((P+1)/(L+1));let M=new Map;M.set(-1,{x0:a,y0:o,x1:C,y1:E,childCount:m.length,childrenDrawn:0});let I=-VUr,F=HUr*l,O=l<0?"ishikawa-label up":"ishikawa-label down";for(let[P,G]of S.entries()){let V=_[P],Y=M.get(G.parentIndex),K=t.append("g").attr("class","ishikawa-sub-group"),J=0,H=0,q=0;if(G.depth%2===0){let Z=Y.y1-Y.y0;J=YUr(Y.x0,Y.x1,Z?(V-Y.y0)/Z:.5),H=V,q=J-(G.childCount>0?R0i+G.childCount*L0i:A0i),dH(K,J,V,q,V,"ishikawa-sub-branch",p),p&&aht(K,J,V,1,0,p),aCe(K,G.text,q,V,"ishikawa-label align","end",f)}else{let Z=Y.childrenDrawn++;J=YUr(Y.x0,Y.x1,(Y.childCount-Z)/(Y.childCount+1)),H=Y.y0,q=J+I*((V-H)/F),dH(K,J,H,q,V,"ishikawa-sub-branch",p),p&&aht(K,J,H,J-q,H-V,p),aCe(K,G.text,q,V,O,"end",f)}G.childCount>0&&M.set(P,{x0:J,y0:H,x1:q,y1:V,childCount:G.childCount,childrenDrawn:0})}},"drawBranch"),O0i=i(t=>t.split(/|\n/),"splitLines"),XUr=i((t,r)=>{if(t.length<=r)return t;let a=[];for(let o of t.split(/\s+/)){let l=a.length-1;l>=0&&a[l].length+1+o.length<=r?a[l]+=" "+o:a.push(o)}return a.join(` +`)},"wrapText"),aCe=i((t,r,a,o,l,h,f)=>{let p=O0i(r),m=f*1.05,b=t.append("text").attr("class",l).attr("text-anchor",h).attr("x",a).attr("y",o-(p.length-1)*m/2);for(let[v,T]of p.entries())b.append("tspan").attr("x",a).attr("dy",v===0?0:m).text(T);return b},"drawMultilineText"),YUr=i((t,r,a)=>t+(r-t)*a,"lerp"),dH=i((t,r,a,o,l,h,f)=>{if(f){let p=f.roughSvg.line(r,a,o,l,{roughness:1.5,seed:f.seed,stroke:f.lineColor,strokeWidth:2});t.append(()=>p).attr("class",h);return}return t.append("line").attr("class",h).attr("x1",r).attr("y1",a).attr("x2",o).attr("y2",l)},"drawLine"),QUr={draw:D0i}});var P0i,ZUr,eVr=ie(()=>{"use strict";P0i=i(t=>` +.ishikawa .ishikawa-spine, +.ishikawa .ishikawa-branch, +.ishikawa .ishikawa-sub-branch { + stroke: ${t.lineColor}; + stroke-width: 2; + fill: none; +} + +.ishikawa .ishikawa-sub-branch { + stroke-width: 1; +} + +.ishikawa .ishikawa-arrow { + fill: ${t.lineColor}; +} + +.ishikawa .ishikawa-head { + fill: ${t.mainBkg}; + stroke: ${t.lineColor}; + stroke-width: 2; +} + +.ishikawa .ishikawa-label-box { + fill: ${t.mainBkg}; + stroke: ${t.lineColor}; + stroke-width: 2; +} + +.ishikawa text { + font-family: ${t.fontFamily}; + font-size: ${t.fontSize}; + fill: ${t.textColor}; +} + +.ishikawa .ishikawa-head-label { + font-weight: 600; + text-anchor: middle; + dominant-baseline: middle; + font-size: 14px; +} + +.ishikawa .ishikawa-label { + text-anchor: end; +} + +.ishikawa .ishikawa-label.cause { + text-anchor: middle; + dominant-baseline: middle; +} + +.ishikawa .ishikawa-label.align { + text-anchor: end; + dominant-baseline: middle; +} + +.ishikawa .ishikawa-label.up { + dominant-baseline: baseline; +} + +.ishikawa .ishikawa-label.down { + dominant-baseline: hanging; +} +`,"getStyles"),ZUr=P0i});var tVr={};cs(tVr,{diagram:()=>B0i});var B0i,rVr=ie(()=>{"use strict";zUr();UUr();JUr();eVr();B0i={parser:jUr,get db(){return new iCe},renderer:QUr,styles:ZUr}});var sht,aVr,sVr=ie(()=>{"use strict";sht=(function(){var t=i(function(M,I,F,O){for(F=F||{},O=M.length;O--;F[M[O]]=I);return F},"o"),r=[5,8],a=[7,8,11,12,17,19,22,24],o=[1,17],l=[1,18],h=[7,8,11,12,14,15,16,17,19,20,21,22,24,27],f=[1,31],p=[1,39],m=[7,8,11,12,17,19,22,24,27],b=[1,57],v=[1,56],T=[1,58],C=[1,59],E=[1,60],S=[7,8,11,12,16,17,19,20,22,24,27,31,32,33],R={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,optNewlines:4,VENN:5,document:6,EOF:7,NEWLINE:8,line:9,statement:10,TITLE:11,SET:12,identifier:13,BRACKET_LABEL:14,COLON:15,NUMERIC:16,UNION:17,identifierList:18,TEXT:19,IDENTIFIER:20,STRING:21,INDENT_TEXT:22,indentedTextTail:23,STYLE:24,stylesOpt:25,styleField:26,COMMA:27,styleValue:28,valueTokens:29,valueToken:30,HEXCOLOR:31,RGBCOLOR:32,RGBACOLOR:33,$accept:0,$end:1},terminals_:{2:"error",5:"VENN",7:"EOF",8:"NEWLINE",11:"TITLE",12:"SET",14:"BRACKET_LABEL",15:"COLON",16:"NUMERIC",17:"UNION",19:"TEXT",20:"IDENTIFIER",21:"STRING",22:"INDENT_TEXT",24:"STYLE",27:"COMMA",31:"HEXCOLOR",32:"RGBCOLOR",33:"RGBACOLOR"},productions_:[0,[3,4],[4,0],[4,2],[6,0],[6,2],[9,1],[9,1],[10,1],[10,2],[10,3],[10,4],[10,5],[10,2],[10,3],[10,4],[10,5],[10,3],[10,3],[10,3],[10,4],[10,4],[10,2],[10,3],[23,1],[23,1],[23,1],[23,2],[23,2],[25,1],[25,3],[26,3],[28,1],[28,1],[29,1],[29,2],[30,1],[30,1],[30,1],[30,1],[30,1],[18,1],[18,3],[13,1],[13,1]],performAction:i(function(I,F,O,P,G,V,Y){var K=V.length-1;switch(G){case 1:return V[K-1];case 2:case 3:case 4:this.$=[];break;case 5:V[K-1].push(V[K]),this.$=V[K-1];break;case 6:this.$=[];break;case 7:case 22:case 32:case 36:case 37:case 38:case 39:case 40:this.$=V[K];break;case 8:P.setDiagramTitle(V[K].substr(6)),this.$=V[K].substr(6);break;case 9:P.addSubsetData([V[K]],void 0,void 0),P.setIndentMode&&P.setIndentMode(!0);break;case 10:P.addSubsetData([V[K-1]],V[K],void 0),P.setIndentMode&&P.setIndentMode(!0);break;case 11:P.addSubsetData([V[K-2]],void 0,parseFloat(V[K])),P.setIndentMode&&P.setIndentMode(!0);break;case 12:P.addSubsetData([V[K-3]],V[K-2],parseFloat(V[K])),P.setIndentMode&&P.setIndentMode(!0);break;case 13:if(V[K].length<2)throw new Error("union requires multiple identifiers");P.validateUnionIdentifiers&&P.validateUnionIdentifiers(V[K]),P.addSubsetData(V[K],void 0,void 0),P.setIndentMode&&P.setIndentMode(!0);break;case 14:if(V[K-1].length<2)throw new Error("union requires multiple identifiers");P.validateUnionIdentifiers&&P.validateUnionIdentifiers(V[K-1]),P.addSubsetData(V[K-1],V[K],void 0),P.setIndentMode&&P.setIndentMode(!0);break;case 15:if(V[K-2].length<2)throw new Error("union requires multiple identifiers");P.validateUnionIdentifiers&&P.validateUnionIdentifiers(V[K-2]),P.addSubsetData(V[K-2],void 0,parseFloat(V[K])),P.setIndentMode&&P.setIndentMode(!0);break;case 16:if(V[K-3].length<2)throw new Error("union requires multiple identifiers");P.validateUnionIdentifiers&&P.validateUnionIdentifiers(V[K-3]),P.addSubsetData(V[K-3],V[K-2],parseFloat(V[K])),P.setIndentMode&&P.setIndentMode(!0);break;case 17:case 18:case 19:P.addTextData(V[K-1],V[K],void 0);break;case 20:case 21:P.addTextData(V[K-2],V[K-1],V[K]);break;case 23:P.addStyleData(V[K-1],V[K]);break;case 24:case 25:case 26:var J=P.getCurrentSets();if(!J)throw new Error("text requires set");P.addTextData(J,V[K],void 0);break;case 27:case 28:var J=P.getCurrentSets();if(!J)throw new Error("text requires set");P.addTextData(J,V[K-1],V[K]);break;case 29:case 41:this.$=[V[K]];break;case 30:case 42:this.$=[...V[K-2],V[K]];break;case 31:this.$=[V[K-2],V[K]];break;case 33:this.$=V[K].join(" ");break;case 34:this.$=[V[K]];break;case 35:V[K-1].push(V[K]),this.$=V[K-1];break;case 43:case 44:this.$=V[K];break}},"anonymous"),table:[t(r,[2,2],{3:1,4:2}),{1:[3]},{5:[1,3],8:[1,4]},t(a,[2,4],{6:5}),t(r,[2,3]),{7:[1,6],8:[1,8],9:7,10:9,11:[1,10],12:[1,11],17:[1,12],19:[1,13],22:[1,14],24:[1,15]},{1:[2,1]},t(a,[2,5]),t(a,[2,6]),t(a,[2,7]),t(a,[2,8]),{13:16,20:o,21:l},{13:20,18:19,20:o,21:l},{13:20,18:21,20:o,21:l},{16:[1,25],20:[1,23],21:[1,24],23:22},{13:20,18:26,20:o,21:l},t(a,[2,9],{14:[1,27],15:[1,28]}),t(h,[2,43]),t(h,[2,44]),t(a,[2,13],{14:[1,29],15:[1,30],27:f}),t(h,[2,41]),{16:[1,34],20:[1,32],21:[1,33],27:f},t(a,[2,22]),t(a,[2,24],{14:[1,35]}),t(a,[2,25],{14:[1,36]}),t(a,[2,26]),{20:p,25:37,26:38,27:f},t(a,[2,10],{15:[1,40]}),{16:[1,41]},t(a,[2,14],{15:[1,42]}),{16:[1,43]},{13:44,20:o,21:l},t(a,[2,17],{14:[1,45]}),t(a,[2,18],{14:[1,46]}),t(a,[2,19]),t(a,[2,27]),t(a,[2,28]),t(a,[2,23],{27:[1,47]}),t(m,[2,29]),{15:[1,48]},{16:[1,49]},t(a,[2,11]),{16:[1,50]},t(a,[2,15]),t(h,[2,42]),t(a,[2,20]),t(a,[2,21]),{20:p,26:51},{16:b,20:v,21:[1,53],28:52,29:54,30:55,31:T,32:C,33:E},t(a,[2,12]),t(a,[2,16]),t(m,[2,30]),t(m,[2,31]),t(m,[2,32]),t(m,[2,33],{30:61,16:b,20:v,31:T,32:C,33:E}),t(S,[2,34]),t(S,[2,36]),t(S,[2,37]),t(S,[2,38]),t(S,[2,39]),t(S,[2,40]),t(S,[2,35])],defaultActions:{6:[2,1]},parseError:i(function(I,F){if(F.recoverable)this.trace(I);else{var O=new Error(I);throw O.hash=F,O}},"parseError"),parse:i(function(I){var F=this,O=[0],P=[],G=[null],V=[],Y=this.table,K="",J=0,H=0,q=0,Z=2,Q=1,W=V.slice.call(arguments,1),te=Object.create(this.lexer),z={yy:{}};for(var re in this.yy)Object.prototype.hasOwnProperty.call(this.yy,re)&&(z.yy[re]=this.yy[re]);te.setInput(I,z.yy),z.yy.lexer=te,z.yy.parser=this,typeof te.yylloc>"u"&&(te.yylloc={});var ae=te.yylloc;V.push(ae);var ce=te.options&&te.options.ranges;typeof z.yy.parseError=="function"?this.parseError=z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function le(yr){O.length=O.length-2*yr,G.length=G.length-yr,V.length=V.length-yr}i(le,"popStack");function de(){var yr;return yr=P.pop()||te.lex()||Q,typeof yr!="number"&&(yr instanceof Array&&(P=yr,yr=P.pop()),yr=F.symbols_[yr]||yr),yr}i(de,"lex");for(var ve,Se,_e,Ce,Ve,De,qe={},Ue,We,mt,ct;;){if(_e=O[O.length-1],this.defaultActions[_e]?Ce=this.defaultActions[_e]:((ve===null||typeof ve>"u")&&(ve=de()),Ce=Y[_e]&&Y[_e][ve]),typeof Ce>"u"||!Ce.length||!Ce[0]){var Ot="";ct=[];for(Ue in Y[_e])this.terminals_[Ue]&&Ue>Z&&ct.push("'"+this.terminals_[Ue]+"'");te.showPosition?Ot="Parse error on line "+(J+1)+`: +`+te.showPosition()+` +Expecting `+ct.join(", ")+", got '"+(this.terminals_[ve]||ve)+"'":Ot="Parse error on line "+(J+1)+": Unexpected "+(ve==Q?"end of input":"'"+(this.terminals_[ve]||ve)+"'"),this.parseError(Ot,{text:te.match,token:this.terminals_[ve]||ve,line:te.yylineno,loc:ae,expected:ct})}if(Ce[0]instanceof Array&&Ce.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_e+", token: "+ve);switch(Ce[0]){case 1:O.push(ve),G.push(te.yytext),V.push(te.yylloc),O.push(Ce[1]),ve=null,Se?(ve=Se,Se=null):(H=te.yyleng,K=te.yytext,J=te.yylineno,ae=te.yylloc,q>0&&q--);break;case 2:if(We=this.productions_[Ce[1]][1],qe.$=G[G.length-We],qe._$={first_line:V[V.length-(We||1)].first_line,last_line:V[V.length-1].last_line,first_column:V[V.length-(We||1)].first_column,last_column:V[V.length-1].last_column},ce&&(qe._$.range=[V[V.length-(We||1)].range[0],V[V.length-1].range[1]]),De=this.performAction.apply(qe,[K,H,J,z.yy,Ce[1],G,V].concat(W)),typeof De<"u")return De;We&&(O=O.slice(0,-1*We*2),G=G.slice(0,-1*We),V=V.slice(0,-1*We)),O.push(this.productions_[Ce[1]][0]),G.push(qe.$),V.push(qe._$),mt=Y[O[O.length-2]][O[O.length-1]],O.push(mt);break;case 3:return!0}}return!0},"parse")},L=(function(){var M={EOF:1,parseError:i(function(F,O){if(this.yy.parser)this.yy.parser.parseError(F,O);else throw new Error(F)},"parseError"),setInput:i(function(I,F){return this.yy=F||this.yy||{},this._input=I,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var I=this._input[0];this.yytext+=I,this.yyleng++,this.offset++,this.match+=I,this.matched+=I;var F=I.match(/(?:\r\n?|\n).*/g);return F?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),I},"input"),unput:i(function(I){var F=I.length,O=I.split(/(?:\r\n?|\n)/g);this._input=I+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-F),this.offset-=F;var P=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),O.length-1&&(this.yylineno-=O.length-1);var G=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:O?(O.length===P.length?this.yylloc.first_column:0)+P[P.length-O.length].length-O[0].length:this.yylloc.first_column-F},this.options.ranges&&(this.yylloc.range=[G[0],G[0]+this.yyleng-F]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(I){this.unput(this.match.slice(I))},"less"),pastInput:i(function(){var I=this.matched.substr(0,this.matched.length-this.match.length);return(I.length>20?"...":"")+I.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var I=this.match;return I.length<20&&(I+=this._input.substr(0,20-I.length)),(I.substr(0,20)+(I.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var I=this.pastInput(),F=new Array(I.length+1).join("-");return I+this.upcomingInput()+` +`+F+"^"},"showPosition"),test_match:i(function(I,F){var O,P,G;if(this.options.backtrack_lexer&&(G={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(G.yylloc.range=this.yylloc.range.slice(0))),P=I[0].match(/(?:\r\n?|\n).*/g),P&&(this.yylineno+=P.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:P?P[P.length-1].length-P[P.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+I[0].length},this.yytext+=I[0],this.match+=I[0],this.matches=I,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(I[0].length),this.matched+=I[0],O=this.performAction.call(this,this.yy,this,F,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),O)return O;if(this._backtrack){for(var V in G)this[V]=G[V];return!1}return!1},"test_match"),next:i(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var I,F,O,P;this._more||(this.yytext="",this.match="");for(var G=this._currentRules(),V=0;VF[0].length)){if(F=O,P=V,this.options.backtrack_lexer){if(I=this.test_match(O,G[V]),I!==!1)return I;if(this._backtrack){F=!1;continue}else return!1}else if(!this.options.flex)break}return F?(I=this.test_match(F,G[P]),I!==!1?I:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:i(function(){var F=this.next();return F||this.lex()},"lex"),begin:i(function(F){this.conditionStack.push(F)},"begin"),popState:i(function(){var F=this.conditionStack.length-1;return F>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:i(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:i(function(F){return F=this.conditionStack.length-1-Math.abs(F||0),F>=0?this.conditionStack[F]:"INITIAL"},"topState"),pushState:i(function(F){this.begin(F)},"pushState"),stateStackSize:i(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:i(function(F,O,P,G){var V=G;switch(P){case 0:break;case 1:break;case 2:break;case 3:if(F.getIndentMode&&F.getIndentMode())return F.consumeIndentText=!0,this.begin("INITIAL"),22;break;case 4:break;case 5:F.setIndentMode&&F.setIndentMode(!1),this.begin("INITIAL"),this.unput(O.yytext);break;case 6:return this.begin("bol"),8;break;case 7:break;case 8:break;case 9:return 7;case 10:return 11;case 11:return 5;case 12:return 12;case 13:return 17;case 14:if(F.consumeIndentText)F.consumeIndentText=!1;else return 19;break;case 15:return 24;case 16:return O.yytext=O.yytext.slice(2,-2),14;break;case 17:return O.yytext=O.yytext.slice(1,-1).trim(),14;break;case 18:return 16;case 19:return 31;case 20:return 33;case 21:return 32;case 22:return 20;case 23:return 21;case 24:return 27;case 25:return 15}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[ \t]+(?=[\n\r]))/i,/^(?:[ \t]+(?=text\b))/i,/^(?:[ \t]+)/i,/^(?:[^ \t\n\r])/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[ \t]+)/i,/^(?:$)/i,/^(?:title\s[^#\n;]+)/i,/^(?:venn-beta\b)/i,/^(?:set\b)/i,/^(?:union\b)/i,/^(?:text\b)/i,/^(?:style\b)/i,/^(?:\["[^\"]*"\])/i,/^(?:\[[^\]\"]+\])/i,/^(?:[+-]?(\d+(\.\d+)?|\.\d+))/i,/^(?:#[0-9a-fA-F]{3,8})/i,/^(?:rgba\(\s*[0-9.]+\s*[,]\s*[0-9.]+\s*[,]\s*[0-9.]+\s*[,]\s*[0-9.]+\s*\))/i,/^(?:rgb\(\s*[0-9.]+\s*[,]\s*[0-9.]+\s*[,]\s*[0-9.]+\s*\))/i,/^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i,/^(?:"[^\"]*")/i,/^(?:,)/i,/^(?::)/i],conditions:{bol:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],inclusive:!0},INITIAL:{rules:[0,1,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],inclusive:!0}}};return M})();R.lexer=L;function _(){this.yy={}}return i(_,"Parser"),_.prototype=R,R.Parser=_,new _})();sht.parser=sht;aVr=sht});function J0i(){return nl(Q0i,ii().venn)}var oht,lht,cht,uht,hht,fht,G0i,j0i,Lae,z0i,U0i,V0i,H0i,sCe,q0i,W0i,Y0i,K0i,X0i,Q0i,Z0i,oVr,lVr=ie(()=>{"use strict";Ia();Qs();xu();up();oht=[],lht=[],cht=[],uht=new Set,fht=!1,G0i=i((t,r,a)=>{let o=sCe(t).sort(),l=a??10/Math.pow(t.length,2);hht=o,o.length===1&&uht.add(o[0]),oht.push({sets:o,size:l,label:r?Lae(r):void 0})},"addSubsetData"),j0i=i(()=>oht,"getSubsetData"),Lae=i(t=>{let r=t.trim();return r.length>=2&&r.startsWith('"')&&r.endsWith('"')?r.slice(1,-1):r},"normalizeText"),z0i=i(t=>t&&Lae(t),"normalizeStyleValue"),U0i=i((t,r,a)=>{let o=Lae(r);lht.push({sets:sCe(t).sort(),id:o,label:a?Lae(a):void 0})},"addTextData"),V0i=i((t,r)=>{let a=sCe(t).sort(),o={};for(let[l,h]of r)o[l]=z0i(h)??h;cht.push({targets:a,styles:o})},"addStyleData"),H0i=i(()=>cht,"getStyleData"),sCe=i(t=>t.map(r=>Lae(r)),"normalizeIdentifierList"),q0i=i(t=>{let a=sCe(t).filter(o=>!uht.has(o));if(a.length>0)throw new Error(`unknown set identifier: ${a.join(", ")}`)},"validateUnionIdentifiers"),W0i=i(()=>lht,"getTextData"),Y0i=i(()=>hht,"getCurrentSets"),K0i=i(()=>fht,"getIndentMode"),X0i=i(t=>{fht=t},"setIndentMode"),Q0i=hs.venn;i(J0i,"getConfig");Z0i=i(()=>{Is(),oht.length=0,lht.length=0,cht.length=0,uht.clear(),hht=void 0,fht=!1},"customClear"),oVr={getConfig:J0i,clear:Z0i,setAccTitle:Os,getAccTitle:Ws,setDiagramTitle:ao,getDiagramTitle:Js,getAccDescription:Ys,setAccDescription:js,addSubsetData:G0i,getSubsetData:j0i,addTextData:U0i,addStyleData:V0i,validateUnionIdentifiers:q0i,getTextData:W0i,getStyleData:H0i,getCurrentSets:Y0i,getIndentMode:K0i,setIndentMode:X0i}});var emi,cVr,uVr=ie(()=>{"use strict";emi=i(t=>` + .venn-title { + font-size: 32px; + fill: ${t.vennTitleTextColor}; + font-family: ${t.fontFamily}; + } + + .venn-circle text { + font-size: 48px; + font-family: ${t.fontFamily}; + } + + .venn-intersection text { + font-size: 48px; + fill: ${t.vennSetTextColor}; + font-family: ${t.fontFamily}; + } + + .venn-text-node { + font-family: ${t.fontFamily}; + color: ${t.vennSetTextColor}; + } +`,"getStyles"),cVr=emi});function oCe(t,r){let a=rmi(t),o=a.filter(p=>tmi(p,t)),l=0,h=0,f=[];if(o.length>1){let p=pVr(o);for(let b=0;bv.angle-b.angle);let m=o[o.length-1];for(let b=0;bS.radius*2&&(I=S.radius*2),(C==null||C.width>I)&&(C={circle:S,width:I,p1:v,p2:m,large:I>S.radius,sweep:!0})}C!=null&&(f.push(C),l+=ght(C.circle.radius,C.width),m=v)}}else{let p=t[0];for(let b=1;bMath.abs(p.radius-t[b].radius)){m=!0;break}m?l=h=0:(l=p.radius*p.radius*Math.PI,f.push({circle:p,p1:{x:p.x,y:p.y+p.radius},p2:{x:p.x-1e-10,y:p.y+p.radius},width:p.radius*2,large:!0,sweep:!0}))}return h/=2,r&&(r.area=l+h,r.arcArea=l,r.polygonArea=h,r.arcs=f,r.innerPoints=o,r.intersectionPoints=a),l+h}function tmi(t,r){return r.every(a=>y2(t,a)=t+r)return 0;if(a<=Math.abs(t-r))return Math.PI*Math.min(t,r)*Math.min(t,r);let o=t-(a*a-r*r+t*t)/(2*a),l=r-(a*a-t*t+r*r)/(2*a);return ght(t,o)+ght(r,l)}function dVr(t,r){let a=y2(t,r),o=t.radius,l=r.radius;if(a>=o+l||a<=Math.abs(o-l))return[];let h=(o*o-l*l+a*a)/(2*a),f=Math.sqrt(o*o-h*h),p=t.x+h*(r.x-t.x)/a,m=t.y+h*(r.y-t.y)/a,b=-(r.y-t.y)*(f/a),v=-(r.x-t.x)*(f/a);return[{x:p+b,y:m-v},{x:p-b,y:m+v}]}function pVr(t){let r={x:0,y:0};for(let a of t)r.x+=a.x,r.y+=a.y;return r.x/=t.length,r.y/=t.length,r}function nmi(t,r,a,o){o=o||{};let l=o.maxIterations||100,h=o.tolerance||1e-10,f=t(r),p=t(a),m=a-r;if(f*p>0)throw"Initial bisect points must have opposite signs";if(f===0)return r;if(p===0)return a;for(let b=0;b=0&&(r=v),Math.abs(m)mht(r))}function pH(t,r){let a=0;for(let o=0;oO.fx-P.fx,"sortOrder"),_=r.slice(),M=r.slice(),I=r.slice(),F=r.slice();for(let O=0;O{let Y=V.slice();return Y.fx=V.fx,Y.id=V.id,Y});G.sort((V,Y)=>V.id-Y.id),a.history.push({x:S[0].slice(),fx:S[0].fx,simplex:G})}C=0;for(let G=0;G=S[E-1].fx){let G=!1;if(M.fx>P.fx?(XA(I,1+v,_,-v,P),I.fx=t(I),I.fx=1)break;for(let V=1;Vp+h*l*m||b>=L)R=l;else{if(Math.abs(T)<=-f*m)return l;T*(R-S)>=0&&(R=S),S=l,L=b}return 0}i(E,"zoom");for(let S=0;S<10;++S){if(XA(o.x,1,a.x,l,r),b=o.fx=t(o.x,o.fxprime),T=pH(o.fxprime,r),b>p+h*l*m||S&&b>=v)return E(C,l,v);if(Math.abs(T)<=-f*m)return l;if(T>=0)return E(l,C,b);v=b,C=l,l*=2}return l}function ami(t,r,a){let o={x:r.slice(),fx:0,fxprime:r.slice()},l={x:r.slice(),fx:0,fxprime:r.slice()},h=r.slice(),f,p,m=1,b;a=a||{},b=a.maxIterations||r.length*20,o.fx=t(o.x,o.fxprime),f=o.fxprime.slice(),bht(f,o.fxprime,-1);for(let v=0;v{let T={};for(let C=0;Cxht(t,r,o)-a,0,t+r)}function smi(t,r={}){let a=r.distinct,o=t.map(p=>Object.assign({},p));function l(p){return p.join(";")}if(i(l,"toKey"),a){let p=new Map;for(let m of o)for(let b=0;bp===m?0:ph.sets.length===2).forEach(h=>{let f=a[h.sets[0]],p=a[h.sets[1]],m=Math.sqrt(r[f].size/Math.PI),b=Math.sqrt(r[p].size/Math.PI),v=vht(m,b,h.size);o[f][p]=o[p][f]=v;let T=0;h.size+1e-10>=Math.min(r[f].size,r[p].size)?T=1:h.size<=1e-10&&(T=-1),l[f][p]=l[p][f]=T}),{distances:o,constraints:l}}function lmi(t,r,a,o){for(let h=0;h0&&S<=T||C<0&&S>=T||(l+=2*R*R,r[2*h]+=4*R*(f-b),r[2*h+1]+=4*R*(p-v),r[2*m]+=4*R*(b-f),r[2*m+1]+=4*R*(v-p))}}return l}function cmi(t,r={}){let a=hmi(t,r),o=r.lossFunction||gH;if(t.length>=8){let l=umi(t,r),h=o(l,t),f=o(a,t);h+1e-8C.map(E=>E/p));let m=i((C,E)=>lmi(C,E,h,f),"obj"),b=null;for(let C=0;CT.sets.length===2);for(let T of t){let C=T.weight!=null?T.weight:1,E=T.sets[0],S=T.sets[1];T.size+yVr>=Math.min(o[E].size,o[S].size)&&(C=0),l[E].push({set:S,size:T.size,weight:C}),l[S].push({set:E,size:T.size,weight:C})}let h=[];Object.keys(l).forEach(T=>{let C=0;for(let E=0;Et[f]));let h=o.weight!=null?o.weight:1;a+=h*(l-o.size)*(l-o.size)}return a}function bVr(t,r){let a=0;for(let o of r){if(o.sets.length===1)continue;let l;if(o.sets.length===2){let p=t[o.sets[0]],m=t[o.sets[1]];l=xht(p.radius,m.radius,y2(p,m))}else l=oCe(o.sets.map(p=>t[p]));let h=o.weight!=null?o.weight:1,f=Math.log((l+1)/(o.size+1));a+=h*f*f}return a}function fmi(t,r,a){if(a==null?t.sort((l,h)=>h.radius-l.radius):t.sort(a),t.length>0){let l=t[0].x,h=t[0].y;for(let f of t)f.x-=l,f.y-=h}if(t.length===2&&y2(t[0],t[1])1){let l=Math.atan2(t[1].x,t[1].y)-r,h=Math.cos(l),f=Math.sin(l);for(let p of t){let m=p.x,b=p.y;p.x=h*m-f*b,p.y=f*m+h*b}}if(t.length>2){let l=Math.atan2(t[2].x,t[2].y)-r;for(;l<0;)l+=2*Math.PI;for(;l>2*Math.PI;)l-=2*Math.PI;if(l>Math.PI){let h=t[1].y/(1e-10+t[1].x);for(let f of t){var o=(f.x+h*f.y)/(1+h*h);f.x=2*o-f.x,f.y=2*o*h-f.y}}}}function dmi(t){t.forEach(l=>{l.parent=l});function r(l){return l.parent!==l&&(l.parent=r(l.parent)),l.parent}i(r,"find");function a(l,h){let f=r(l),p=r(h);f.parent=p}i(a,"union");for(let l=0;l{delete l.parent}),Array.from(o.values())}function wht(t){let r=i(a=>{let o=t.reduce((h,f)=>Math.max(h,f[a]+f.radius),Number.NEGATIVE_INFINITY),l=t.reduce((h,f)=>Math.min(h,f[a]-f.radius),Number.POSITIVE_INFINITY);return{max:o,min:l}},"minMax");return{xRange:r("x"),yRange:r("y")}}function vVr(t,r,a){r==null&&(r=Math.PI/2);let o=TVr(t).map(b=>Object.assign({},b)),l=dmi(o);for(let b of l){fmi(b,r,a);let v=wht(b);b.size=(v.xRange.max-v.xRange.min)*(v.yRange.max-v.yRange.min),b.bounds=v}l.sort((b,v)=>v.size-b.size),o=l[0];let h=o.bounds,f=(h.xRange.max-h.xRange.min)/50;function p(b,v,T){if(!b)return;let C=b.bounds,E,S;if(v)E=h.xRange.max-C.xRange.min+f;else{E=h.xRange.max-C.xRange.max;let R=(C.xRange.max-C.xRange.min)/2-(h.xRange.max-h.xRange.min)/2;R<0&&(E+=R)}if(T)S=h.yRange.max-C.yRange.min+f;else{S=h.yRange.max-C.yRange.max;let R=(C.yRange.max-C.yRange.min)/2-(h.yRange.max-h.yRange.min)/2;R<0&&(S+=R)}for(let R of b)R.x+=E,R.y+=S,o.push(R)}i(p,"addCluster");let m=1;for(;m({radius:v*E.radius,x:o+T+(E.x-f.min)*v,y:o+C+(E.y-p.min)*v,setid:E.setid})))}function xVr(t){let r={};for(let a of t)r[a.setid]=a;return r}function TVr(t){return Object.keys(t).map(a=>Object.assign(t[a],{setid:a}))}function kVr(t={}){let r=!1,a=600,o=350,l=15,h=1e3,f=Math.PI/2,p=!0,m=null,b=!0,v=!0,T=null,C=null,E=!1,S=null,R=t&&t.symmetricalTextCentre?t.symmetricalTextCentre:!1,L={},_=t&&t.colourScheme?t.colourScheme:t&&t.colorScheme?t.colorScheme:["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],M=0,I=i(function(G){if(G in L)return L[G];var V=L[G]=_[M];return M+=1,M>=_.length&&(M=0),V},"colours"),F=mVr,O=gH;function P(G){let V=G.datum(),Y=new Set;V.forEach(Ce=>{Ce.size==0&&Ce.sets.length==1&&Y.add(Ce.sets[0])}),V=V.filter(Ce=>!Ce.sets.some(Ve=>Y.has(Ve)));let K={},J={};if(V.length>0){let Ce=F(V,{lossFunction:O,distinct:E});p&&(Ce=vVr(Ce,f,C)),K=wVr(Ce,a,o,l,m),J=EVr(K,V,R)}let H={};V.forEach(Ce=>{Ce.label&&(H[Ce.sets]=Ce.label)});function q(Ce){if(Ce.sets in H)return H[Ce.sets];if(Ce.sets.length==1)return""+Ce.sets[0]}i(q,"label"),G.selectAll("svg").data([K]).enter().append("svg");let Z=G.select("svg");r?Z.attr("viewBox",`0 0 ${a} ${o}`):Z.attr("width",a).attr("height",o);let Q={},W=!1;Z.selectAll(".venn-area path").each(function(Ce){let Ve=this.getAttribute("d");Ce.sets.length==1&&Ve&&!E&&(W=!0,Q[Ce.sets[0]]=mmi(Ve))});function te(Ce){return Ve=>{let De=Ce.sets.map(qe=>{let Ue=Q[qe],We=K[qe];return Ue||(Ue={x:a/2,y:o/2,radius:1}),We||(We={x:a/2,y:o/2,radius:1}),{x:Ue.x*(1-Ve)+We.x*Ve,y:Ue.y*(1-Ve)+We.y*Ve,radius:Ue.radius*(1-Ve)+We.radius*Ve}});return fVr(De,S)}}i(te,"pathTween");let z=Z.selectAll(".venn-area").data(V,Ce=>Ce.sets),re=z.enter().append("g").attr("class",Ce=>`venn-area venn-${Ce.sets.length==1?"circle":"intersection"}${Ce.colour||Ce.color?" venn-coloured":""}`).attr("data-venn-sets",Ce=>Ce.sets.join("_")),ae=re.append("path"),ce=re.append("text").attr("class","label").text(Ce=>q(Ce)).attr("text-anchor","middle").attr("dy",".35em").attr("x",a/2).attr("y",o/2);v&&(ae.style("fill-opacity","0").filter(Ce=>Ce.sets.length==1).style("fill",Ce=>Ce.colour?Ce.colour:Ce.color?Ce.color:I(Ce.sets)).style("fill-opacity",".25"),ce.style("fill",Ce=>Ce.colour||Ce.color?"#FFF":t.textFill?t.textFill:Ce.sets.length==1?I(Ce.sets):"#444"));function le(Ce){return typeof Ce.transition=="function"?Ce.transition("venn").duration(h):Ce}i(le,"asTransition");let de=G;W&&typeof de.transition=="function"?(de=le(G),de.selectAll("path").attrTween("d",te)):de.selectAll("path").attr("d",Ce=>fVr(Ce.sets.map(Ve=>K[Ve])),S);let ve=de.selectAll("text").filter(Ce=>Ce.sets in J).text(Ce=>q(Ce)).attr("x",Ce=>Math.floor(J[Ce.sets].x)).attr("y",Ce=>Math.floor(J[Ce.sets].y));b&&(W?"on"in ve?ve.on("end",dht(K,q)):ve.each("end",dht(K,q)):ve.each(dht(K,q)));let Se=le(z.exit()).remove();typeof z.transition=="function"&&Se.selectAll("path").attrTween("d",te);let _e=Se.selectAll("text").attr("x",a/2).attr("y",o/2);return T!==null&&(ce.style("font-size","0px"),ve.style("font-size",T),_e.style("font-size","0px")),{circles:K,textCentres:J,nodes:z,enter:re,update:de,exit:Se}}return i(P,"chart"),P.wrap=function(G){return arguments.length?(b=G,P):b},P.useViewBox=function(){return r=!0,P},P.width=function(G){return arguments.length?(a=G,P):a},P.height=function(G){return arguments.length?(o=G,P):o},P.padding=function(G){return arguments.length?(l=G,P):l},P.distinct=function(G){return arguments.length?(E=G,P):E},P.colours=function(G){return arguments.length?(I=G,P):I},P.colors=function(G){return arguments.length?(I=G,P):I},P.fontSize=function(G){return arguments.length?(T=G,P):T},P.round=function(G){return arguments.length?(S=G,P):S},P.duration=function(G){return arguments.length?(h=G,P):h},P.layoutFunction=function(G){return arguments.length?(F=G,P):F},P.normalize=function(G){return arguments.length?(p=G,P):p},P.scaleToFit=function(G){return arguments.length?(m=G,P):m},P.styled=function(G){return arguments.length?(v=G,P):v},P.orientation=function(G){return arguments.length?(f=G,P):f},P.orientationOrder=function(G){return arguments.length?(C=G,P):C},P.lossFunction=function(G){return arguments.length?(O=G==="default"?gH:G==="logRatio"?bVr:G,P):O},P}function dht(t,r){return function(a){let o=this,l=t[a.sets[0]].radius||50,h=r(a)||"",f=h.split(/\s+/).reverse(),m=(h.length+f.length)/3,b=f.pop(),v=[b],T=0,C=1.1;o.textContent=null;let E=[];function S(I){let F=o.ownerDocument.createElementNS(o.namespaceURI,"tspan");return F.textContent=I,E.push(F),o.append(F),F}i(S,"append");let R=S(b);for(;b=f.pop(),!!b;){v.push(b);let I=v.join(" ");R.textContent=I,I.length>m&&R.getComputedTextLength()>l&&(v.pop(),R.textContent=v.join(" "),v=[b],R=S(b),T++)}let L=.35-T*C/2,_=o.getAttribute("x"),M=o.getAttribute("y");E.forEach((I,F)=>{I.setAttribute("x",_),I.setAttribute("y",M),I.setAttribute("dy",`${L+F*C}em`)})}}function pht(t,r,a){let o=r[0].radius-y2(r[0],t);for(let l=1;l=h&&(l=o[v],h=T)}let f=gVr(v=>-1*pht({x:v[0],y:v[1]},t,r),[l.x,l.y],{maxIterations:500,minErrorDelta:1e-10}).x,p={x:a?0:f[0],y:f[1]},m=!0;for(let v of t)if(y2(p,v)>v.radius){m=!1;break}for(let v of r)if(y2(p,v)v.p1))}function pmi(t){let r={},a=Object.keys(t);for(let o of a)r[o]=[];for(let o=0;o0&&console.log("WARNING: area "+f+" not represented on screen")}return o}function gmi(t,r,a){let o=[];return o.push(` +M`,t,r),o.push(` +m`,-a,0),o.push(` +a`,a,a,0,1,0,a*2,0),o.push(` +a`,a,a,0,1,0,-a*2,0),o.join(" ")}function mmi(t){let r=t.split(" ");return{x:Number.parseFloat(r[1]),y:Number.parseFloat(r[2]),radius:-Number.parseFloat(r[4])}}function SVr(t){if(t.length===0)return[];let r={};return oCe(t,r),r.arcs}function AVr(t,r){if(t.length===0)return"M 0 0";let a=Math.pow(10,r||0),o=r!=null?h=>Math.round(h*a)/a:h=>h;if(t.length==1){let h=t[0].circle;return gmi(o(h.x),o(h.y),o(h.radius))}let l=[` +M`,o(t[0].p2.x),o(t[0].p2.y)];for(let h of t){let f=o(h.circle.radius);l.push(` +A`,f,f,0,h.large?1:0,h.sweep?1:0,o(h.p1.x),o(h.p1.y))}return l.join(" ")}function fVr(t,r){return AVr(SVr(t),r)}function RVr(t,r={}){let{lossFunction:a,layoutFunction:o=mVr,normalize:l=!0,orientation:h=Math.PI/2,orientationOrder:f,width:p=600,height:m=350,padding:b=15,scaleToFit:v=!1,symmetricalTextCentre:T=!1,distinct:C,round:E=2}=r,S=o(t,{lossFunction:a==="default"||!a?gH:a==="logRatio"?bVr:a,distinct:C});l&&(S=vVr(S,h,f));let R=wVr(S,p,m,b,v),L=EVr(R,t,T),_=new Map(Object.keys(R).map(F=>[F,{set:F,x:R[F].x,y:R[F].y,radius:R[F].radius}])),M=t.map(F=>{let O=F.sets.map(V=>_.get(V)),P=SVr(O),G=AVr(P,E);return{circles:O,arcs:P,path:G,area:F,has:new Set(F.sets)}});function I(F){let O="";for(let P of M)P.has.size>F.length&&F.every(G=>P.has.has(G))&&(O+=" "+P.path);return O}return i(I,"genDistinctPath"),M.map(({circles:F,arcs:O,path:P,area:G})=>({data:G,text:L[G.sets],circles:F,arcs:O,path:P,distinctPath:P+I(G.sets)}))}var yVr,LVr=ie(()=>{"use strict";i(oCe,"intersectionArea");i(tmi,"containedInCircles");i(rmi,"getIntersectionPoints");i(ght,"circleArea");i(y2,"distance");i(xht,"circleOverlap");i(dVr,"circleCircleIntersection");i(pVr,"getCenter");i(nmi,"bisect");i(mht,"zeros");i(hVr,"zerosM");i(pH,"dot");i(yht,"norm2");i(bht,"scale");i(XA,"weightedSum");i(gVr,"nelderMead");i(imi,"wolfeLineSearch");i(ami,"conjugateGradient");i(mVr,"venn");yVr=1e-10;i(vht,"distanceFromIntersectArea");i(smi,"addMissingAreas");i(omi,"getDistanceMatrices");i(lmi,"constrainedMDSGradient");i(cmi,"bestInitialLayout");i(umi,"constrainedMDSLayout");i(hmi,"greedyLayout");i(gH,"lossFunction");i(bVr,"logRatioLossFunction");i(fmi,"orientateCircles");i(dmi,"disjointCluster");i(wht,"getBoundingBox");i(vVr,"normalizeSolution");i(wVr,"scaleSolution");i(xVr,"toObjectNotation");i(TVr,"fromObjectNotation");i(kVr,"VennDiagram");i(dht,"wrapText");i(pht,"circleMargin");i(CVr,"computeTextCentre");i(pmi,"getOverlappingCircles");i(EVr,"computeTextCentres");i(gmi,"circlePath");i(mmi,"circleFromPath");i(SVr,"intersectionAreaArcs");i(AVr,"arcsToPath");i(fVr,"intersectionAreaPath");i(RVr,"layout")});function bmi(t){let r=new Map;for(let a of t){let o=a.targets.join("|"),l=r.get(o);l?Object.assign(l,a.styles):r.set(o,{...a.styles})}return r}function zP(t){return t.join("|")}function wmi(t,r,a,o,l,h){let f=t?.useDebugLayout??!1,m=a.select("svg").append("g").attr("class","venn-text-nodes"),b=new Map;for(let v of o){let T=zP(v.sets),C=b.get(T);C?C.push(v):b.set(T,[v])}for(let[v,T]of b.entries()){let C=r.get(v);if(!C?.text)continue;let E=C.text.x,S=C.text.y,R=Math.min(...C.circles.map(Z=>Z.radius)),L=Math.min(...C.circles.map(Z=>Z.radius-Math.hypot(E-Z.x,S-Z.y))),_=Number.isFinite(L)?Math.max(0,L):0;_===0&&Number.isFinite(R)&&(_=R*.6);let M=m.append("g").attr("class","venn-text-area").attr("font-size",`${40*l}px`);f&&M.append("circle").attr("class","venn-text-debug-circle").attr("cx",E).attr("cy",S).attr("r",_).attr("fill","none").attr("stroke","purple").attr("stroke-width",1.5*l).attr("stroke-dasharray",`${6*l} ${4*l}`);let I=Math.max(80*l,_*2*.95),F=Math.max(60*l,_*2*.95),G=(C.data.label&&C.data.label.length>0?Math.min(32*l,_*.25):0)+(T.length<=2?30*l:0),V=E-I/2,Y=S-F/2+G,K=Math.max(1,Math.ceil(Math.sqrt(T.length))),J=Math.max(1,Math.ceil(T.length/K)),H=I/K,q=F/J;for(let[Z,Q]of T.entries()){let W=Z%K,te=Math.floor(Z/K),z=V+H*(W+.5),re=Y+q*(te+.5);f&&M.append("rect").attr("class","venn-text-debug-cell").attr("x",V+H*W).attr("y",Y+q*te).attr("width",H).attr("height",q).attr("fill","none").attr("stroke","teal").attr("stroke-width",1*l).attr("stroke-dasharray",`${4*l} ${3*l}`);let ae=H*.9,ce=q*.9,le=M.append("foreignObject").attr("class","venn-text-node-fo").attr("width",ae).attr("height",ce).attr("x",z-ae/2).attr("y",re-ce/2).attr("overflow","visible"),de=h.get(Q.id)?.color,ve=le.append("xhtml:span").attr("class","venn-text-node").style("display","flex").style("width","100%").style("height","100%").style("white-space","normal").style("align-items","center").style("justify-content","center").style("text-align","center").style("overflow-wrap","normal").style("word-break","normal").text(Q.label??Q.id);de&&ve.style("color",de)}}}function xmi(t){let r=new Set(t.map(l=>[...l.sets].sort().join("|"))),a=new Map(t.filter(l=>l.sets.length===1&&l.size!==void 0).map(l=>[l.sets[0],l.size])),o=[];for(let l of t){if(l.sets.length<3)continue;let h=[...l.sets].sort();for(let f=0;f0?[...t,...o]:t}var vmi,DVr,_Vr=ie(()=>{"use strict";Yo();Zp();Qs();y1();LVr();Gh();ba();i(bmi,"buildStyleByKey");vmi=i((t,r,a,o)=>{let l=o.db,h=l.getConfig?.(),{themeVariables:f,look:p,handDrawnSeed:m}=ii(),b=p==="handDrawn",v=[f.venn1,f.venn2,f.venn3,f.venn4,f.venn5,f.venn6,f.venn7,f.venn8].filter(Boolean),T=l.getDiagramTitle?.(),C=l.getSubsetData(),E=l.getTextData(),S=bmi(l.getStyleData()),R=xmi(C),L=h?.width??800,_=h?.height??450,I=L/1600,F=T?48*I:0,O=f.primaryTextColor??f.textColor,P=fu(r);P.attr("viewBox",`0 0 ${L} ${_}`),T&&P.append("text").text(T).attr("class","venn-title").attr("font-size",`${32*I}px`).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("x","50%").attr("y",32*I).style("fill",f.vennTitleTextColor||f.titleColor);let G=dn(document.createElement("div")),V=kVr().width(L).height(_-F);G.datum(R).call(V);let Y=b?Kr.svg(G.select("svg").node()):void 0,K=RVr(R,{width:L,height:_-F,padding:h?.padding??15}),J=new Map;for(let Q of K){let W=zP([...Q.data.sets].sort());J.set(W,Q)}E.length>0&&wmi(h,J,G,E,I,S);let H=Oc(f.background||"#f4f4f4");G.selectAll(".venn-circle").each(function(Q,W){let te=dn(this),re=zP([...Q.sets].sort()),ae=S.get(re),ce=v.length>0?v[W%v.length]:void 0,le=ae?.fill||ce||f.primaryColor;te.classed(`venn-set-${W%8}`,!0);let de=ae?.["fill-opacity"]??.1,ve=ae?.stroke||le,Se=ae?.["stroke-width"]||`${5*I}`;if(b&&Y){let Ce=J.get(re);if(Ce&&Ce.circles.length>0){let Ve=Ce.circles[0],De=Y.circle(Ve.x,Ve.y,Ve.radius*2,{roughness:.7,seed:m,fill:Tye(le,.7),fillStyle:"hachure",fillWeight:2,hachureGap:8,hachureAngle:-41+W*60,stroke:ve,strokeWidth:parseFloat(String(Se))});te.select("path").remove(),te.node()?.insertBefore(De,te.select("text").node())}}else te.select("path").style("fill",le).style("fill-opacity",de).style("stroke",ve).style("stroke-width",Se).style("stroke-opacity",.95);let _e=ae?.color||(H?Pr(le,30):Fr(le,30));te.select("text").style("font-size",`${48*I}px`).style("fill",_e)}),b&&Y?G.selectAll(".venn-intersection").each(function(Q){let W=dn(this),z=zP([...Q.sets].sort()),re=S.get(z),ae=re?.fill;if(ae){let ce=W.select("path"),le=ce.attr("d");if(le){let de=Y.path(le,{roughness:.7,seed:m,fill:Tye(ae,.3),fillStyle:"cross-hatch",fillWeight:2,hachureGap:6,hachureAngle:60,stroke:"none"}),ve=ce.node();ve?.parentNode?.insertBefore(de,ve),ce.remove()}}else W.select("path").style("fill-opacity",0);W.select("text").style("font-size",`${48*I}px`).style("fill",re?.color??f.vennSetTextColor??O)}):(G.selectAll(".venn-intersection text").style("font-size",`${48*I}px`).style("fill",Q=>{let te=zP([...Q.sets].sort());return S.get(te)?.color??f.vennSetTextColor??O}),G.selectAll(".venn-intersection path").style("fill-opacity",Q=>{let te=zP([...Q.sets].sort());return S.get(te)?.fill?1:0}).style("fill",Q=>{let te=zP([...Q.sets].sort());return S.get(te)?.fill??"transparent"}));let q=P.append("g").attr("transform",`translate(0, ${F})`),Z=G.select("svg").node();if(Z&&"childNodes"in Z)for(let Q of[...Z.childNodes])q.node()?.appendChild(Q);vl(P,_,L,h?.useMaxWidth??!0)},"draw");i(zP,"stableSetsKey");i(wmi,"renderTextNodes");i(xmi,"ensurePairwiseSubsets");DVr={draw:vmi}});var MVr={};cs(MVr,{diagram:()=>Tmi});var Tmi,IVr=ie(()=>{"use strict";sVr();lVr();uVr();_Vr();Tmi={parser:aVr,db:oVr,renderer:DVr,styles:cVr}});var mH,Tht=ie(()=>{"use strict";up();Qs();Ia();da();xu();mH=class{constructor(){this.nodes=[];this.levels=new Map;this.outerNodes=[];this.classes=new Map;this.setAccTitle=Os;this.getAccTitle=Ws;this.setDiagramTitle=ao;this.getDiagramTitle=Js;this.getAccDescription=Ys;this.setAccDescription=js}static{i(this,"TreeMapDB")}getNodes(){return this.nodes}getConfig(){let r=hs,a=ii();return nl({...r.treemap,...a.treemap??{}})}addNode(r,a){this.nodes.push(r),this.levels.set(r,a),a===0&&(this.outerNodes.push(r),this.root??=r)}getRoot(){return{name:"",children:this.outerNodes}}addClass(r,a){let o=this.classes.get(r)??{id:r,styles:[],textStyles:[]},l=a.replace(/\\,/g,"\xA7\xA7\xA7").replace(/,/g,";").replace(/§§§/g,",").split(";");l&&l.forEach(h=>{Kte(h)&&(o?.textStyles?o.textStyles.push(h):o.textStyles=[h]),o?.styles?o.styles.push(h):o.styles=[h]}),this.classes.set(r,o)}getClasses(){return this.classes}getStylesForClass(r){return this.classes.get(r)?.styles??[]}clear(){Is(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}}});function PVr(t){if(!t.length)return[];let r=[],a=[];return t.forEach(o=>{let l={name:o.name,children:o.type==="Leaf"?void 0:[]};for(l.classSelector=o?.classSelector,o?.cssCompiledStyles&&(l.cssCompiledStyles=o.cssCompiledStyles),o.type==="Leaf"&&o.value!==void 0&&(l.value=o.value);a.length>0&&a[a.length-1].level>=o.level;)a.pop();if(a.length===0)r.push(l);else{let h=a[a.length-1].node;h.children?h.children.push(l):h.children=[l]}o.type!=="Leaf"&&a.push({node:l,level:o.level})}),r}var BVr=ie(()=>{"use strict";i(PVr,"buildHierarchy")});var Smi,Ami,kht,FVr=ie(()=>{"use strict";m1();Xn();Nb();BVr();Tht();Smi=i((t,r)=>{Th(t,r);let a=[];for(let h of t.TreemapRows??[])h.$type==="ClassDefStatement"&&r.addClass(h.className??"",h.styleText??"");for(let h of t.TreemapRows??[]){let f=h.item;if(!f)continue;let p=h.indent?parseInt(h.indent):0,m=Ami(f),b=f.classSelector?r.getStylesForClass(f.classSelector):[],v=b.length>0?b:void 0,T={level:p,name:m,type:f.$type,value:f.value,classSelector:f.classSelector,cssCompiledStyles:v};a.push(T)}let o=PVr(a),l=i((h,f)=>{for(let p of h)r.addNode(p,f),p.children&&p.children.length>0&&l(p.children,f+1)},"addNodesRecursively");l(o,0)},"populate"),Ami=i(t=>t.name?String(t.name):"","getItemName"),kht={parser:{yy:void 0},parse:i(async t=>{try{let a=await Fd("treemap",t);Pe.debug("Treemap AST:",a);let o=kht.parser?.yy;if(!(o instanceof mH))throw new Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Smi(a,o)}catch(r){throw Pe.error("Error parsing treemap:",r),r}},"parse")}});var Rmi,yH,Dae,Lmi,Dmi,$Vr,GVr=ie(()=>{"use strict";y1();TS();Gh();Yo();da();Qs();Xn();Rmi=10,yH=10,Dae=25,Lmi=i((t,r,a,o)=>{let l=o.db,h=l.getConfig(),f=h.padding??Rmi,p=l.getDiagramTitle(),m=l.getRoot(),{themeVariables:b}=ii();if(!m)return;let v=p?30:0,T=fu(r),C=h.nodeWidth?h.nodeWidth*yH:960,E=h.nodeHeight?h.nodeHeight*yH:500,S=C,R=E+v;T.attr("viewBox",`0 0 ${S} ${R}`),vl(T,R,S,h.useMaxWidth);let L;try{let le=h.valueFormat||",";if(le==="$0,0")L=i(de=>"$"+VE(",")(de),"valueFormat");else if(le.startsWith("$")&&le.includes(",")){let de=/\.\d+/.exec(le),ve=de?de[0]:"";L=i(Se=>"$"+VE(","+ve)(Se),"valueFormat")}else if(le.startsWith("$")){let de=le.substring(1);L=i(ve=>"$"+VE(de||"")(ve),"valueFormat")}else L=VE(le)}catch(le){Pe.error("Error creating format function:",le),L=VE(",")}let _=Bw().range(["transparent",b.cScale0,b.cScale1,b.cScale2,b.cScale3,b.cScale4,b.cScale5,b.cScale6,b.cScale7,b.cScale8,b.cScale9,b.cScale10,b.cScale11]),M=Bw().range(["transparent",b.cScalePeer0,b.cScalePeer1,b.cScalePeer2,b.cScalePeer3,b.cScalePeer4,b.cScalePeer5,b.cScalePeer6,b.cScalePeer7,b.cScalePeer8,b.cScalePeer9,b.cScalePeer10,b.cScalePeer11]),I=Bw().range([b.cScaleLabel0,b.cScaleLabel1,b.cScaleLabel2,b.cScaleLabel3,b.cScaleLabel4,b.cScaleLabel5,b.cScaleLabel6,b.cScaleLabel7,b.cScaleLabel8,b.cScaleLabel9,b.cScaleLabel10,b.cScaleLabel11]);p&&T.append("text").attr("x",S/2).attr("y",v/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(p);let F=T.append("g").attr("transform",`translate(0, ${v})`).attr("class","treemapContainer"),O=pz(m).sum(le=>le.value??0).sort((le,de)=>(de.value??0)-(le.value??0)),G=ive().size([C,E]).paddingTop(le=>le.children&&le.children.length>0?Dae+yH:0).paddingInner(f).paddingLeft(le=>le.children&&le.children.length>0?yH:0).paddingRight(le=>le.children&&le.children.length>0?yH:0).paddingBottom(le=>le.children&&le.children.length>0?yH:0).round(!0)(O),V=G.descendants().filter(le=>le.children&&le.children.length>0),Y=F.selectAll(".treemapSection").data(V).enter().append("g").attr("class","treemapSection").attr("transform",le=>`translate(${le.x0},${le.y0})`);Y.append("rect").attr("width",le=>le.x1-le.x0).attr("height",Dae).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",.6).attr("stroke-width",.6).attr("style",le=>le.depth===0?"display: none;":""),Y.append("clipPath").attr("id",(le,de)=>`clip-section-${r}-${de}`).append("rect").attr("width",le=>Math.max(0,le.x1-le.x0-12)).attr("height",Dae),Y.append("rect").attr("width",le=>le.x1-le.x0).attr("height",le=>le.y1-le.y0).attr("class",(le,de)=>`treemapSection section${de}`).attr("fill",le=>_(le.data.name)).attr("fill-opacity",.6).attr("stroke",le=>M(le.data.name)).attr("stroke-width",2).attr("stroke-opacity",.4).attr("style",le=>{if(le.depth===0)return"display: none;";let de=tn({cssCompiledStyles:le.data.cssCompiledStyles});return de.nodeStyles+";"+de.borderStyles.join(";")}),Y.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",Dae/2).attr("dominant-baseline","middle").text(le=>le.depth===0?"":le.data.name).attr("font-weight","bold").attr("clip-path",(le,de)=>`url(#clip-section-${r}-${de})`).attr("style",le=>{if(le.depth===0)return"display: none;";let de="dominant-baseline: middle; font-size: 12px; fill:"+I(le.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",ve=tn({cssCompiledStyles:le.data.cssCompiledStyles});return de+ve.labelStyles.replace("color:","fill:")}).each(function(le){if(le.depth===0)return;let de=dn(this),ve=le.data.name;de.text(ve);let Se=le.x1-le.x0,_e=6,Ce;h.showValues!==!1&&le.value?Ce=Se-10-30-10-_e:Ce=Se-_e-6;let De=Math.max(15,Ce),qe=de.node();if(qe.getComputedTextLength()>De){let mt=ve;for(;mt.length>0;){if(mt=ve.substring(0,mt.length-1),mt.length===0){de.text("..."),qe.getComputedTextLength()>De&&de.text("");break}if(de.text(mt+"..."),qe.getComputedTextLength()<=De)break}}}),h.showValues!==!1&&Y.append("text").attr("class","treemapSectionValue").attr("x",le=>le.x1-le.x0-10).attr("y",Dae/2).attr("text-anchor","end").attr("dominant-baseline","middle").text(le=>le.value?L(le.value):"").attr("font-style","italic").attr("style",le=>{if(le.depth===0)return"display: none;";let de="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+I(le.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",ve=tn({cssCompiledStyles:le.data.cssCompiledStyles});return de+ve.labelStyles.replace("color:","fill:")});let K=G.leaves(),J=K.length>20,H=J?16:38,q=J?14:28,Z=J?4:8,Q=J?4:6,W=J?2:4,te=J?8:10,z=J?1:2,re=F.selectAll(".treemapLeafGroup").data(K).enter().append("g").attr("class",(le,de)=>`treemapNode treemapLeafGroup leaf${de}${le.data.classSelector?` ${le.data.classSelector}`:""}x`).attr("transform",le=>`translate(${le.x0},${le.y0})`);re.append("rect").attr("width",le=>le.x1-le.x0).attr("height",le=>le.y1-le.y0).attr("class","treemapLeaf").attr("fill",le=>le.parent?_(le.parent.data.name):_(le.data.name)).attr("style",le=>tn({cssCompiledStyles:le.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",.3).attr("stroke",le=>le.parent?_(le.parent.data.name):_(le.data.name)).attr("stroke-width",3),re.append("clipPath").attr("id",(le,de)=>`clip-${r}-${de}`).append("rect").attr("width",le=>Math.max(0,le.x1-le.x0-4)).attr("height",le=>Math.max(0,le.y1-le.y0-4)),re.append("text").attr("class","treemapLabel").attr("x",le=>(le.x1-le.x0)/2).attr("y",le=>(le.y1-le.y0)/2).attr("style",le=>{let de=`text-anchor: middle; dominant-baseline: middle; font-size: ${H}px;fill:`+I(le.data.name)+";",ve=tn({cssCompiledStyles:le.data.cssCompiledStyles});return de+ve.labelStyles.replace("color:","fill:")}).attr("clip-path",(le,de)=>`url(#clip-${r}-${de})`).text(le=>le.data.name).each(function(le){let de=dn(this),ve=le.x1-le.x0,Se=le.y1-le.y0,_e=de.node(),Ce=ve-2*W,Ve=Se-2*W;if(CeCe&&De>Z;)De--,de.style("font-size",`${De}px`);let Ue=Math.max(Q,Math.min(q,Math.round(De*qe))),We=De+z+Ue;for(;We>Ve&&De>Z&&(De--,Ue=Math.max(Q,Math.min(q,Math.round(De*qe))),!(UeVe;de.style("font-size",`${De}px`),J?(DeCe||De(de.x1-de.x0)/2).attr("y",function(de){return(de.y1-de.y0)/2}).attr("style",de=>{let ve=`text-anchor: middle; dominant-baseline: hanging; font-size: ${q}px;fill:`+I(de.data.name)+";",Se=tn({cssCompiledStyles:de.data.cssCompiledStyles});return ve+Se.labelStyles.replace("color:","fill:")}).attr("clip-path",(de,ve)=>`url(#clip-${r}-${ve})`).text(de=>de.value?L(de.value):"").each(function(de){let ve=dn(this),Se=this.parentNode;if(!Se){ve.style("display","none");return}let _e=dn(Se).select(".treemapLabel");if(_e.empty()||_e.style("display")==="none"){ve.style("display","none");return}let Ce=parseFloat(_e.style("font-size")),De=Math.max(Q,Math.min(q,Math.round(Ce*.6)));ve.style("font-size",`${De}px`);let Ue=(de.y1-de.y0)/2+Ce/2+z;ve.attr("y",Ue);let We=de.x1-de.x0,Ot=de.y1-de.y0-4,yr=We-2*W;ve.node().getComputedTextLength()>yr||Ue+De>Ot||De{"use strict";Ia();LE();Qs();_mi={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelFontSize:"12px",valueFontSize:"10px",titleFontSize:"14px"},Mmi=i(({treemap:t}={})=>{let r=om(),a=ii(),o=nl(r,a.themeVariables),l=nl(_mi,t),h=l.titleColor??o.titleColor,f=l.labelColor??o.textColor,p=l.valueColor??o.textColor;return` + .treemapNode.section { + stroke: ${l.sectionStrokeColor}; + stroke-width: ${l.sectionStrokeWidth}; + fill: ${l.sectionFillColor}; + } + .treemapNode.leaf { + stroke: ${l.leafStrokeColor}; + stroke-width: ${l.leafStrokeWidth}; + fill: ${l.leafFillColor}; + } + .treemapLabel { + fill: ${f}; + font-size: ${l.labelFontSize}; + } + .treemapValue { + fill: ${p}; + font-size: ${l.valueFontSize}; + } + .treemapTitle { + fill: ${h}; + font-size: ${l.titleFontSize}; + } + `},"getStyles"),jVr=Mmi});var UVr={};cs(UVr,{diagram:()=>Imi});var Imi,VVr=ie(()=>{"use strict";Tht();FVr();GVr();zVr();Imi={parser:kht,get db(){return new mH},renderer:$Vr,styles:jVr}});function WVr(t,r){let a=t.lexer.tokenize(r);if(a.errors.length>0){let l=a.errors[0],h=UP(l.offset)?l.offset:r.length,f=h+(UP(l.length)?l.length:0);throw new Error(`Error lexing ${t.diagramType} diagram: ${l.message} at line ${l.line??1}, column ${l.column??1} [${h},${f})`)}t.parser.input=a.tokens;let o=t.entry();if(t.parser.errors.length>0)throw new Error(`Error parsing ${t.diagramType} diagram: ${t.parser.errors[0].message}`);t.visit(o)}var UP,YVr=ie(()=>{"use strict";UP=i(t=>t!==void 0&&t>=0,"isKnownLocation");i(WVr,"runChevrotainParse")});var of,KVr,lCe=ie(()=>{"use strict";of={SOLID_ARROW:0,BACK_ARROW:1,LINE_SOLID:2,CIRCLE_ARROW:3,CROSS_ARROW:4,CIRCLE_ARROW_REVERSED:5,CROSS_ARROW_REVERSED:6},KVr="LR"});var Pmi,Cht,Bmi,Bc,Fmi,$mi,Gmi,jmi,zmi,Umi,Vmi,Hmi,qmi,Wmi,Ymi,Kmi,Xmi,Qmi,Jmi,Zmi,e1i,QVr,VP,t1i,XVr,r1i,n1i,i1i,a1i,s1i,o1i,_ae,l1i,HP,cCe=ie(()=>{"use strict";xu();lCe();up();ma();rl();Pmi=hs.usecase,Cht=i(()=>({actors:new Map,useCases:new Map,systemBoundaries:new Map,relationships:[],notes:new Map,jsonNodes:new Map,classDefs:new Map,symbols:new Map,direction:KVr,relationshipCounter:0,noteCounter:0,accTitle:"",accDescription:"",ast:void 0,config:structuredClone(Pmi)}),"createModel"),Bmi=i(t=>{if(!(t.actors instanceof Map)||!(t.useCases instanceof Map)||!(t.systemBoundaries instanceof Map)||!Array.isArray(t.relationships)||!(t.notes instanceof Map)||!(t.jsonNodes instanceof Map)||!(t.classDefs instanceof Map)||!(t.symbols instanceof Map)||!["TB","TD","BT","RL","LR"].includes(t.direction)||!Number.isSafeInteger(t.relationshipCounter)||t.relationshipCounter<0||!Number.isSafeInteger(t.noteCounter)||t.noteCounter<0||typeof t.accTitle!="string"||typeof t.accDescription!="string"||!t.config)throw new Error("Cannot commit an incomplete usecase model")},"assertCompleteModel"),Bc=Cht(),Fmi=i(()=>structuredClone(Bc.config),"getConfig"),$mi=i(()=>Bc.ast,"getAST"),Gmi=i(t=>{let r=structuredClone(t);Bmi(r);let a=Ws(),o=Ys();try{Os(r.accTitle),js(r.accDescription),Bc=r}catch(l){throw Os(a),js(o),l}},"commit"),jmi=i(()=>{Bc=Cht(),Is()},"clear"),zmi=i(()=>Bc.actors,"getActors"),Umi=i(t=>Bc.actors.get(t),"getActor"),Vmi=i(()=>Bc.useCases,"getUseCases"),Hmi=i(t=>Bc.useCases.get(t),"getUseCase"),qmi=i(()=>Bc.systemBoundaries,"getSystemBoundaries"),Wmi=i(t=>Bc.systemBoundaries.get(t),"getSystemBoundary"),Ymi=i(()=>Bc.relationships,"getRelationships"),Kmi=i(()=>Bc.notes,"getNotes"),Xmi=i(t=>Bc.notes.get(t),"getNote"),Qmi=i(()=>Bc.jsonNodes,"getJsonNodes"),Jmi=i(t=>Bc.jsonNodes.get(t),"getJsonNode"),Zmi=i(()=>Bc.classDefs,"getClassDefs"),e1i=i(t=>Bc.classDefs.get(t),"getClassDef"),QVr=i(()=>Bc.direction,"getDirection"),VP=i(t=>{let r=new Map;for(let a of["default",...t]){let o=Bc.classDefs.get(a);if(o)for(let l of o.styles){let h=l.trim(),f=h.indexOf(":"),p=(f===-1?h:h.slice(0,f)).trim();p&&r.set(p,h)}}return[...r.values()]},"getCompiledStyles"),t1i=i(t=>t.replaceAll("~","~0").replaceAll("/","~1"),"escapeJsonPointerPart"),XVr=i(t=>typeof t=="string"?t:t===null?"null":String(t),"displayJsonScalar"),r1i=i((t,r,a=o=>o)=>{let o=[],l=i((f,p,m)=>{o.push({key:a(f),accessibleKey:a(p),value:a(m)})},"append"),h=i((f,p,m)=>{if(Array.isArray(f)){if(f.length===0){l(p,p,"[]");return}if(f.every(v=>v===null||["string","number","boolean"].includes(typeof v))){for(let[v,T]of f.entries())l(v===0?p:"",p,XVr(T));return}for(let[v,T]of f.entries())h(T,`${p}[${v}]`,`${m}/${v}`);return}if(f!==null&&typeof f=="object"){let b=f,v=r[m]??Object.keys(b);if(v.length===0){l(p,p,"{}");return}for(let T of v){let C=p?`${p}.${T}`:T;h(b[T],C,`${m}/${t1i(T)}`)}return}l(p,p,XVr(f))},"visit");return h(t,"",""),o},"flattenJsonRows"),n1i=i(t=>{switch(t.type){case"hollow":return"usecaseActorHollow";case"awesome":return"usecaseActorAwesome";case"icon":return"usecaseActorIcon";case"normal":return"usecaseActor"}},"actorShape"),i1i=i(t=>t.shape==="ellipse"?t.business?"usecaseBusiness":"usecaseEllipse":t.shape,"useCaseShape"),a1i=i(t=>{switch(t){case of.SOLID_ARROW:return{arrowTypeStart:"none",arrowTypeEnd:"arrow_point"};case of.BACK_ARROW:return{arrowTypeStart:"arrow_point",arrowTypeEnd:"none"};case of.CIRCLE_ARROW:return{arrowTypeStart:"none",arrowTypeEnd:"arrow_circle"};case of.CROSS_ARROW:return{arrowTypeStart:"none",arrowTypeEnd:"arrow_cross"};case of.CIRCLE_ARROW_REVERSED:return{arrowTypeStart:"arrow_circle",arrowTypeEnd:"none"};case of.CROSS_ARROW_REVERSED:return{arrowTypeStart:"arrow_cross",arrowTypeEnd:"none"};case of.LINE_SOLID:return{arrowTypeStart:"none",arrowTypeEnd:"none"}}},"associationMarkers"),s1i=i(t=>{switch(t.type){case"include":case"extend":return{arrowTypeStart:"none",arrowTypeEnd:"arrow_point",pattern:"dotted",label:t.type,labelType:"text"};case"generalization":return{arrowTypeStart:"none",arrowTypeEnd:"extension",pattern:"solid"};case"association":return{...a1i(t.arrowType),pattern:"solid",...t.label?{label:t.label}:{},...t.labelType?{labelType:t.labelType}:{}}}},"relationshipVisuals"),o1i=i(t=>t.animate||t.animation?[`edge-animation-${t.animation??"fast"}`]:[],"animationClasses"),_ae=i((...t)=>t.filter(r=>!!r).join(" "),"classNames"),l1i=i(()=>{let t=Zt(),r={...Bc.config,...t.usecase},a=i(m=>Ns(m,t),"sanitize"),o=i(m=>a(Bc.actors.get(m)?.label??Bc.useCases.get(m)?.label??Bc.jsonNodes.get(m)?.id??Bc.notes.get(m)?.label??m),"endpointLabel"),l=[],h=[],f=0,p=0;for(let m of Bc.actors.values())l.push({id:m.id,label:a(m.label),labelType:m.labelType,shape:n1i(m),isGroup:!1,padding:10,look:t.look,colorIndex:f++,cssClasses:_ae("default","usecase-actor",`usecase-actor-${m.type}`,m.business&&"usecase-business",...m.classes),cssStyles:[...m.styles],cssCompiledStyles:VP(m.classes),actorType:m.type,business:m.business,...m.icon?{icon:m.icon}:{},...m.stereotype?{stereotype:a(m.stereotype)}:{},...m.parentId?{parentId:m.parentId}:{}});for(let m of Bc.useCases.values())l.push({id:m.id,label:a(m.label),labelType:m.labelType,shape:i1i(m),isGroup:!1,padding:m.shape==="ellipse"?20:10,look:t.look,colorIndex:f++,cssClasses:_ae("default","usecase-element",`usecase-${m.shape}`,m.business&&"usecase-business",...m.classes),cssStyles:[...m.styles],cssCompiledStyles:VP(m.classes),business:m.business,...m.stereotype?{stereotype:a(m.stereotype)}:{},...m.parentId?{parentId:m.parentId}:{}});for(let m of Bc.notes.values())l.push({id:m.id,label:a(m.label),labelType:m.labelType,shape:"note",isGroup:!1,padding:10,look:t.look,cssClasses:"default usecase-note",cssStyles:[],cssCompiledStyles:VP([]),noteTarget:m.target,noteTargetLabel:a(Bc.actors.get(m.target)?.label??Bc.useCases.get(m.target)?.label??Bc.jsonNodes.get(m.target)?.id??m.target)});for(let m of Bc.jsonNodes.values())l.push({id:m.id,label:a(m.id),labelType:"text",shape:"usecaseJsonTable",isGroup:!1,padding:10,look:t.look,cssClasses:_ae("default","usecase-json-table",...m.classes),cssStyles:[...m.styles],cssCompiledStyles:VP(m.classes),jsonRows:r1i(m.value,m.propertyOrder,a)});for(let m of Bc.systemBoundaries.values())l.push({id:m.id,label:a(m.label),labelType:m.labelType,shape:"usecaseSystemBoundary",isGroup:!0,padding:20,look:t.look,colorIndex:p++,cssClasses:_ae("default","system-boundary",`system-boundary-${m.type}`,...m.classes),cssStyles:[...m.styles],cssCompiledStyles:VP(m.classes),boundaryType:m.type});for(let m of Bc.relationships){let{label:b,...v}=s1i(m);h.push({id:m.id,start:m.source,end:m.target,source:m.source,target:m.target,sourceLabel:o(m.source),targetLabel:o(m.target),type:"edge",relationshipType:m.type,internal:!1,...v,...b!==void 0?{label:a(b)}:{},labelpos:"c",classes:_ae("default","relationship",`relationship-${m.type}`,...m.classes,...o1i(m)),style:[...m.styles],cssCompiledStyles:VP(m.classes),animate:m.animate,...m.animation?{animation:m.animation}:{},look:t.look,thickness:"normal",minlen:m.minlen,isUserDefinedId:m.explicitId})}for(let m of Bc.notes.values())h.push({id:`${m.id}-edge`,start:m.id,end:m.target,source:m.id,target:m.target,type:"edge",relationshipType:"note",sourceLabel:o(m.id),targetLabel:o(m.target),internal:!0,pattern:"dotted",arrowTypeStart:"none",arrowTypeEnd:"none",labelpos:"c",classes:"default relationship relationship-note",style:[],cssCompiledStyles:VP([]),animate:!1,look:t.look,thickness:"normal",minlen:1,isUserDefinedId:!1});for(let m of l)m.wrappingWidth??=r.wrappingWidth,!m.isGroup&&!m.shape.startsWith("usecaseActor")&&(m.minWidth??=r.minNodeWidth),(m.shape==="usecaseEllipse"||m.shape==="usecaseBusiness")&&(m.spreadPorts=!0);return{nodes:l,edges:h,config:t,type:"usecase",layoutAlgorithm:"dagre",direction:QVr(),nodeSpacing:r.nodeSpacing,rankSpacing:r.rankSpacing,actorFontSize:r.actorFontSize,actorFontFamily:r.actorFontFamily,actorFontWeight:r.actorFontWeight,usecaseFontSize:r.usecaseFontSize,usecaseFontFamily:r.usecaseFontFamily,usecaseFontWeight:r.usecaseFontWeight,diagramPadding:r.diagramPadding,useMaxWidth:r.useMaxWidth,markers:["point","circle","cross","extension"]}},"getData"),HP={getConfig:Fmi,createModel:Cht,commit:Gmi,getAST:$mi,clear:jmi,setDiagramTitle:ao,getDiagramTitle:Js,setAccTitle:Os,getAccTitle:Ws,setAccDescription:js,getAccDescription:Ys,getActors:zmi,getActor:Umi,getUseCases:Vmi,getUseCase:Hmi,getSystemBoundaries:qmi,getSystemBoundary:Wmi,getRelationships:Ymi,getNotes:Kmi,getNote:Xmi,getJsonNodes:Qmi,getJsonNode:Jmi,getClassDefs:Zmi,getClassDef:e1i,getDirection:QVr,getData:l1i}});var Eht=ie(()=>{"use strict"});function bH(t){console&&console.error&&console.error(`Error: ${t}`)}function Mae(t){console&&console.warn&&console.warn(`Warning: ${t}`)}var JVr=ie(()=>{"use strict";i(bH,"PRINT_ERROR");i(Mae,"PRINT_WARNING")});function Iae(t){let r=new Date().getTime(),a=t();return{time:new Date().getTime()-r,value:a}}var ZVr=ie(()=>{"use strict";i(Iae,"timer")});function Nae(t){function r(){}i(r,"FakeConstructor"),r.prototype=t;let a=new r;function o(){return typeof a.bar}return i(o,"fakeAccess"),o(),o(),t;(0,eval)(t)}var eHr=ie(()=>{"use strict";i(Nae,"toFastProperties")});var vH=ie(()=>{"use strict";JVr();ZVr();eHr()});function c1i(t){return u1i(t)?t.LABEL:t.name}function u1i(t){return typeof t.LABEL=="string"&&t.LABEL!==""}function uCe(t){return t.map(wH)}function wH(t){function r(a){return a.map(wH)}if(i(r,"convertDefinition"),t instanceof lf){let a={type:"NonTerminal",name:t.nonTerminalName,idx:t.idx};return typeof t.label=="string"&&(a.label=t.label),a}else{if(t instanceof cf)return{type:"Alternative",definition:r(t.definition)};if(t instanceof Cf)return{type:"Option",idx:t.idx,definition:r(t.definition)};if(t instanceof ng)return{type:"RepetitionMandatory",idx:t.idx,definition:r(t.definition)};if(t instanceof ig)return{type:"RepetitionMandatoryWithSeparator",idx:t.idx,separator:wH(new Rc({terminalType:t.separator})),definition:r(t.definition)};if(t instanceof kp)return{type:"RepetitionWithSeparator",idx:t.idx,separator:wH(new Rc({terminalType:t.separator})),definition:r(t.definition)};if(t instanceof Uu)return{type:"Repetition",idx:t.idx,definition:r(t.definition)};if(t instanceof Cp)return{type:"Alternation",idx:t.idx,definition:r(t.definition)};if(t instanceof Rc){let a={type:"Terminal",name:t.terminalType.name,label:c1i(t.terminalType),idx:t.idx};typeof t.label=="string"&&(a.terminalLabel=t.label);let o=t.terminalType.PATTERN;return t.terminalType.PATTERN&&(a.pattern=o instanceof RegExp?o.source:o),a}else{if(t instanceof Bb)return{type:"Rule",name:t.name,orgText:t.orgText,definition:r(t.definition)};throw Error("non exhaustive match")}}}function jS(t){return Object.fromEntries(Object.entries(t).filter(([,r])=>r!==void 0))}var tx,lf,Bb,cf,Cf,ng,ig,Uu,kp,Cp,Rc,hCe=ie(()=>{"use strict";i(c1i,"tokenLabel");i(u1i,"hasTokenLabel");tx=class{static{i(this,"AbstractProduction")}get definition(){return this._definition}set definition(r){this._definition=r}constructor(r){this._definition=r}accept(r){r.visit(this),this.definition.forEach(a=>{a.accept(r)})}},lf=class extends tx{static{i(this,"NonTerminal")}constructor(r){super([]),this.idx=1,Object.assign(this,jS(r))}set definition(r){}get definition(){return this.referencedRule!==void 0?this.referencedRule.definition:[]}accept(r){r.visit(this)}},Bb=class extends tx{static{i(this,"Rule")}constructor(r){super(r.definition),this.orgText="",Object.assign(this,jS(r))}},cf=class extends tx{static{i(this,"Alternative")}constructor(r){super(r.definition),this.ignoreAmbiguities=!1,Object.assign(this,jS(r))}},Cf=class extends tx{static{i(this,"Option")}constructor(r){super(r.definition),this.idx=1,Object.assign(this,jS(r))}},ng=class extends tx{static{i(this,"RepetitionMandatory")}constructor(r){super(r.definition),this.idx=1,Object.assign(this,jS(r))}},ig=class extends tx{static{i(this,"RepetitionMandatoryWithSeparator")}constructor(r){super(r.definition),this.idx=1,Object.assign(this,jS(r))}},Uu=class extends tx{static{i(this,"Repetition")}constructor(r){super(r.definition),this.idx=1,Object.assign(this,jS(r))}},kp=class extends tx{static{i(this,"RepetitionWithSeparator")}constructor(r){super(r.definition),this.idx=1,Object.assign(this,jS(r))}},Cp=class extends tx{static{i(this,"Alternation")}get definition(){return this._definition}set definition(r){this._definition=r}constructor(r){super(r.definition),this.idx=1,this.ignoreAmbiguities=!1,this.hasPredicates=!1,Object.assign(this,jS(r))}},Rc=class{static{i(this,"Terminal")}constructor(r){this.idx=1,Object.assign(this,jS(r))}accept(r){r.visit(this)}};i(uCe,"serializeGrammar");i(wH,"serializeProduction");i(jS,"pickOnlyDefined")});var Fb,tHr=ie(()=>{"use strict";hCe();Fb=class{static{i(this,"GAstVisitor")}visit(r){let a=r;switch(a.constructor){case lf:return this.visitNonTerminal(a);case cf:return this.visitAlternative(a);case Cf:return this.visitOption(a);case ng:return this.visitRepetitionMandatory(a);case ig:return this.visitRepetitionMandatoryWithSeparator(a);case kp:return this.visitRepetitionWithSeparator(a);case Uu:return this.visitRepetition(a);case Cp:return this.visitAlternation(a);case Rc:return this.visitTerminal(a);case Bb:return this.visitRule(a);default:throw Error("non exhaustive match")}}visitNonTerminal(r){}visitAlternative(r){}visitOption(r){}visitRepetition(r){}visitRepetitionMandatory(r){}visitRepetitionMandatoryWithSeparator(r){}visitRepetitionWithSeparator(r){}visitAlternation(r){}visitTerminal(r){}visitRule(r){}}});function Sht(t){return t instanceof cf||t instanceof Cf||t instanceof Uu||t instanceof ng||t instanceof ig||t instanceof kp||t instanceof Rc||t instanceof Bb}function qP(t,r=[]){return t instanceof Cf||t instanceof Uu||t instanceof kp?!0:t instanceof Cp?t.definition.some(o=>qP(o,r)):t instanceof lf&&r.includes(t)?!1:t instanceof tx?(t instanceof lf&&r.push(t),t.definition.every(o=>qP(o,r))):!1}function Aht(t){return t instanceof Cp}function b2(t){if(t instanceof lf)return"SUBRULE";if(t instanceof Cf)return"OPTION";if(t instanceof Cp)return"OR";if(t instanceof ng)return"AT_LEAST_ONE";if(t instanceof ig)return"AT_LEAST_ONE_SEP";if(t instanceof kp)return"MANY_SEP";if(t instanceof Uu)return"MANY";if(t instanceof Rc)return"CONSUME";throw Error("non exhaustive match")}var rHr=ie(()=>{"use strict";hCe();i(Sht,"isSequenceProd");i(qP,"isOptionalProd");i(Aht,"isBranchingProd");i(b2,"getProductionDslName")});var $b=ie(()=>{"use strict";hCe();tHr();rHr()});function nHr(t,r,a){return[new Cf({definition:[new Rc({terminalType:t.separator})].concat(t.definition)})].concat(r,a)}var QA,fCe=ie(()=>{"use strict";$b();QA=class{static{i(this,"RestWalker")}walk(r,a=[]){r.definition.forEach((o,l)=>{let h=r.definition.slice(l+1);if(o instanceof lf)this.walkProdRef(o,h,a);else if(o instanceof Rc)this.walkTerminal(o,h,a);else if(o instanceof cf)this.walkFlat(o,h,a);else if(o instanceof Cf)this.walkOption(o,h,a);else if(o instanceof ng)this.walkAtLeastOne(o,h,a);else if(o instanceof ig)this.walkAtLeastOneSep(o,h,a);else if(o instanceof kp)this.walkManySep(o,h,a);else if(o instanceof Uu)this.walkMany(o,h,a);else if(o instanceof Cp)this.walkOr(o,h,a);else throw Error("non exhaustive match")})}walkTerminal(r,a,o){}walkProdRef(r,a,o){}walkFlat(r,a,o){let l=a.concat(o);this.walk(r,l)}walkOption(r,a,o){let l=a.concat(o);this.walk(r,l)}walkAtLeastOne(r,a,o){let l=[new Cf({definition:r.definition})].concat(a,o);this.walk(r,l)}walkAtLeastOneSep(r,a,o){let l=nHr(r,a,o);this.walk(r,l)}walkMany(r,a,o){let l=[new Cf({definition:r.definition})].concat(a,o);this.walk(r,l)}walkManySep(r,a,o){let l=nHr(r,a,o);this.walk(r,l)}walkOr(r,a,o){let l=a.concat(o);r.definition.forEach(h=>{let f=new cf({definition:[h]});this.walk(f,l)})}};i(nHr,"restForRepetitionWithSeparator")});function WP(t){if(t instanceof lf)return WP(t.referencedRule);if(t instanceof Rc)return d1i(t);if(Sht(t))return h1i(t);if(Aht(t))return f1i(t);throw Error("non exhaustive match")}function h1i(t){let r=[],a=t.definition,o=0,l=a.length>o,h,f=!0;for(;l&&f;)h=a[o],f=qP(h),r=r.concat(WP(h)),o=o+1,l=a.length>o;return[...new Set(r)]}function f1i(t){let r=t.definition.map(a=>WP(a));return[...new Set(r.flat())]}function d1i(t){return[t.terminalType]}var Rht=ie(()=>{"use strict";$b();i(WP,"first");i(h1i,"firstForSequence");i(f1i,"firstForBranching");i(d1i,"firstForTerminal")});var dCe,Lht=ie(()=>{"use strict";dCe="_~IN~_"});function iHr(t){let r={};return t.forEach(a=>{let o=new Dht(a).startWalking();Object.assign(r,o)}),r}function p1i(t,r){return t.name+r+dCe}var Dht,aHr=ie(()=>{"use strict";fCe();Rht();Lht();$b();Dht=class extends QA{static{i(this,"ResyncFollowsWalker")}constructor(r){super(),this.topProd=r,this.follows={}}startWalking(){return this.walk(this.topProd),this.follows}walkTerminal(r,a,o){}walkProdRef(r,a,o){let l=p1i(r.referencedRule,r.idx)+this.topProd.name,h=a.concat(o),f=new cf({definition:h}),p=WP(f);this.follows[l]=p}};i(iHr,"computeAllProdsFollows");i(p1i,"buildBetweenProdsFollowPrefix")});function go(t){return t.charCodeAt(0)}function pCe(t,r){Array.isArray(t)?t.forEach(function(a){r.push(a)}):r.push(t)}function xH(t,r){if(t[r]===!0)throw"duplicate flag "+r;let a=t[r];t[r]=!0}function YP(t){if(t===void 0)throw Error("Internal Error - Should never get here!");return!0}function Oae(){throw Error("Internal Error - Should never get here!")}function _ht(t){return t.type==="Character"}var Mht=ie(()=>{"use strict";i(go,"cc");i(pCe,"insertToSet");i(xH,"addFlag");i(YP,"ASSERT_EXISTS");i(Oae,"ASSERT_NEVER_REACH_HERE");i(_ht,"isCharacter")});var Pae,Bae,Iht,sHr=ie(()=>{"use strict";Mht();Pae=[];for(let t=go("0");t<=go("9");t++)Pae.push(t);Bae=[go("_")].concat(Pae);for(let t=go("a");t<=go("z");t++)Bae.push(t);for(let t=go("A");t<=go("Z");t++)Bae.push(t);Iht=[go(" "),go("\f"),go(` +`),go("\r"),go(" "),go("\v"),go(" "),go("\xA0"),go("\u1680"),go("\u2000"),go("\u2001"),go("\u2002"),go("\u2003"),go("\u2004"),go("\u2005"),go("\u2006"),go("\u2007"),go("\u2008"),go("\u2009"),go("\u200A"),go("\u2028"),go("\u2029"),go("\u202F"),go("\u205F"),go("\u3000"),go("\uFEFF")]});var g1i,gCe,m1i,Fae,oHr=ie(()=>{"use strict";Mht();sHr();g1i=/[0-9a-fA-F]/,gCe=/[0-9]/,m1i=/[1-9]/,Fae=class{static{i(this,"RegExpParser")}constructor(){this.idx=0,this.input="",this.groupIdx=0}saveState(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}}restoreState(r){this.idx=r.idx,this.input=r.input,this.groupIdx=r.groupIdx}pattern(r){this.idx=0,this.input=r,this.groupIdx=0,this.consumeChar("/");let a=this.disjunction();this.consumeChar("/");let o={type:"Flags",loc:{begin:this.idx,end:r.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};for(;this.isRegExpFlag();)switch(this.popChar()){case"g":xH(o,"global");break;case"i":xH(o,"ignoreCase");break;case"m":xH(o,"multiLine");break;case"u":xH(o,"unicode");break;case"y":xH(o,"sticky");break}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:o,value:a,loc:this.loc(0)}}disjunction(){let r=[],a=this.idx;for(r.push(this.alternative());this.peekChar()==="|";)this.consumeChar("|"),r.push(this.alternative());return{type:"Disjunction",value:r,loc:this.loc(a)}}alternative(){let r=[],a=this.idx;for(;this.isTerm();)r.push(this.term());return{type:"Alternative",value:r,loc:this.loc(a)}}term(){return this.isAssertion()?this.assertion():this.atom()}assertion(){let r=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(r)};case"$":return{type:"EndAnchor",loc:this.loc(r)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(r)};case"B":return{type:"NonWordBoundary",loc:this.loc(r)}}throw Error("Invalid Assertion Escape");case"(":this.consumeChar("?");let a;switch(this.popChar()){case"=":a="Lookahead";break;case"!":a="NegativeLookahead";break;case"<":{switch(this.popChar()){case"=":a="Lookbehind";break;case"!":a="NegativeLookbehind"}break}}YP(a);let o=this.disjunction();return this.consumeChar(")"),{type:a,value:o,loc:this.loc(r)}}return Oae()}quantifier(r=!1){let a,o=this.idx;switch(this.popChar()){case"*":a={atLeast:0,atMost:1/0};break;case"+":a={atLeast:1,atMost:1/0};break;case"?":a={atLeast:0,atMost:1};break;case"{":let l=this.integerIncludingZero();switch(this.popChar()){case"}":a={atLeast:l,atMost:l};break;case",":let h;this.isDigit()?(h=this.integerIncludingZero(),a={atLeast:l,atMost:h}):a={atLeast:l,atMost:1/0},this.consumeChar("}");break}if(r===!0&&a===void 0)return;YP(a);break}if(!(r===!0&&a===void 0)&&YP(a))return this.peekChar(0)==="?"?(this.consumeChar("?"),a.greedy=!1):a.greedy=!0,a.type="Quantifier",a.loc=this.loc(o),a}atom(){let r,a=this.idx;switch(this.peekChar()){case".":r=this.dotAll();break;case"\\":r=this.atomEscape();break;case"[":r=this.characterClass();break;case"(":r=this.group();break}return r===void 0&&this.isPatternCharacter()&&(r=this.patternCharacter()),YP(r)?(r.loc=this.loc(a),this.isQuantifier()&&(r.quantifier=this.quantifier()),r):Oae()}dotAll(){return this.consumeChar("."),{type:"Set",complement:!0,value:[go(` +`),go("\r"),go("\u2028"),go("\u2029")]}}atomEscape(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}}decimalEscapeAtom(){return{type:"GroupBackReference",value:this.positiveInteger()}}characterClassEscape(){let r,a=!1;switch(this.popChar()){case"d":r=Pae;break;case"D":r=Pae,a=!0;break;case"s":r=Iht;break;case"S":r=Iht,a=!0;break;case"w":r=Bae;break;case"W":r=Bae,a=!0;break}return YP(r)?{type:"Set",value:r,complement:a}:Oae()}controlEscapeAtom(){let r;switch(this.popChar()){case"f":r=go("\f");break;case"n":r=go(` +`);break;case"r":r=go("\r");break;case"t":r=go(" ");break;case"v":r=go("\v");break}return YP(r)?{type:"Character",value:r}:Oae()}controlLetterEscapeAtom(){this.consumeChar("c");let r=this.popChar();if(/[a-zA-Z]/.test(r)===!1)throw Error("Invalid ");return{type:"Character",value:r.toUpperCase().charCodeAt(0)-64}}nulCharacterAtom(){return this.consumeChar("0"),{type:"Character",value:go("\0")}}hexEscapeSequenceAtom(){return this.consumeChar("x"),this.parseHexDigits(2)}regExpUnicodeEscapeSequenceAtom(){return this.consumeChar("u"),this.parseHexDigits(4)}identityEscapeAtom(){let r=this.popChar();return{type:"Character",value:go(r)}}classPatternCharacterAtom(){switch(this.peekChar()){case` +`:case"\r":case"\u2028":case"\u2029":case"\\":case"]":throw Error("TBD");default:let r=this.popChar();return{type:"Character",value:go(r)}}}characterClass(){let r=[],a=!1;for(this.consumeChar("["),this.peekChar(0)==="^"&&(this.consumeChar("^"),a=!0);this.isClassAtom();){let o=this.classAtom(),l=o.type==="Character";if(_ht(o)&&this.isRangeDash()){this.consumeChar("-");let h=this.classAtom(),f=h.type==="Character";if(_ht(h)){if(h.value=this.input.length)throw Error("Unexpected end of input");this.idx++}loc(r){return{begin:r,end:this.idx}}}});var o_,lHr=ie(()=>{"use strict";o_=class{static{i(this,"BaseRegExpVisitor")}visitChildren(r){for(let a in r){let o=r[a];r.hasOwnProperty(a)&&(o.type!==void 0?this.visit(o):Array.isArray(o)&&o.forEach(l=>{this.visit(l)},this))}}visit(r){switch(r.type){case"Pattern":this.visitPattern(r);break;case"Flags":this.visitFlags(r);break;case"Disjunction":this.visitDisjunction(r);break;case"Alternative":this.visitAlternative(r);break;case"StartAnchor":this.visitStartAnchor(r);break;case"EndAnchor":this.visitEndAnchor(r);break;case"WordBoundary":this.visitWordBoundary(r);break;case"NonWordBoundary":this.visitNonWordBoundary(r);break;case"Lookahead":this.visitLookahead(r);break;case"NegativeLookahead":this.visitNegativeLookahead(r);break;case"Lookbehind":this.visitLookbehind(r);break;case"NegativeLookbehind":this.visitNegativeLookbehind(r);break;case"Character":this.visitCharacter(r);break;case"Set":this.visitSet(r);break;case"Group":this.visitGroup(r);break;case"GroupBackReference":this.visitGroupBackReference(r);break;case"Quantifier":this.visitQuantifier(r);break}this.visitChildren(r)}visitPattern(r){}visitFlags(r){}visitDisjunction(r){}visitAlternative(r){}visitStartAnchor(r){}visitEndAnchor(r){}visitWordBoundary(r){}visitNonWordBoundary(r){}visitLookahead(r){}visitNegativeLookahead(r){}visitLookbehind(r){}visitNegativeLookbehind(r){}visitCharacter(r){}visitSet(r){}visitGroup(r){}visitGroupBackReference(r){}visitQuantifier(r){}}});var mCe=ie(()=>{"use strict";oHr();lHr()});function KP(t){let r=t.toString();if(yCe.hasOwnProperty(r))return yCe[r];{let a=y1i.pattern(r);return yCe[r]=a,a}}function cHr(){yCe={}}var yCe,y1i,bCe=ie(()=>{"use strict";mCe();yCe={},y1i=new Fae;i(KP,"getRegExpAst");i(cHr,"clearRegExpParserCache")});function fHr(t,r=!1){try{let a=KP(t);return Nht(a.value,{},a.flags.ignoreCase)}catch(a){if(a.message===hHr)r&&Mae(`${$ae} Unable to optimize: < ${t.toString()} > + Complement Sets cannot be automatically optimized. + This will disable the lexer's first char optimizations. + See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#COMPLEMENT for details.`);else{let o="";r&&(o=` + This will disable the lexer's first char optimizations. + See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#REGEXP_PARSING for details.`),bH(`${$ae} + Failed parsing: < ${t.toString()} > + Using the @chevrotain/regexp-to-ast library + Please open an issue at: https://github.com/chevrotain/chevrotain/issues`+o)}}return[]}function Nht(t,r,a){switch(t.type){case"Disjunction":for(let l=0;l{if(typeof m=="number")vCe(m,r,a);else{let b=m;if(a===!0)for(let v=b.from;v<=b.to;v++)vCe(v,r,a);else{for(let v=b.from;v<=b.to&&v=TH){let v=b.from>=TH?b.from:TH,T=b.to,C=zS(v),E=zS(T);for(let S=C;S<=E;S++)r[S]=S}}}});break;case"Group":Nht(f.value,r,a);break;default:throw Error("Non Exhaustive Match")}let p=f.quantifier!==void 0&&f.quantifier.atLeast===0;if(f.type==="Group"&&Oht(f)===!1||f.type!=="Group"&&p===!1)break}break;default:throw Error("non exhaustive match!")}return Object.values(r)}function vCe(t,r,a){let o=zS(t);r[o]=o,a===!0&&b1i(t,r)}function b1i(t,r){let a=String.fromCharCode(t),o=a.toUpperCase();if(o!==a){let l=zS(o.charCodeAt(0));r[l]=l}else{let l=a.toLowerCase();if(l!==a){let h=zS(l.charCodeAt(0));r[h]=h}}}function uHr(t,r){return t.value.find(a=>{if(typeof a=="number")return r.includes(a);{let o=a;return r.find(l=>o.from<=l&&l<=o.to)!==void 0}})}function Oht(t){let r=t.quantifier;return r&&r.atLeast===0?!0:t.value?Array.isArray(t.value)?t.value.every(Oht):Oht(t.value):!1}function wCe(t,r){if(r instanceof RegExp){let a=KP(r),o=new Pht(t);return o.visit(a),o.found}else{for(let a of r){let o=a.charCodeAt(0);if(t.includes(o))return!0}return!1}}var hHr,$ae,Pht,dHr=ie(()=>{"use strict";mCe();vH();bCe();Bht();hHr="Complement Sets are not supported for first char optimization",$ae=`Unable to use "first char" lexer optimizations: +`;i(fHr,"getOptimizedStartCodesIndices");i(Nht,"firstCharOptimizedIndices");i(vCe,"addOptimizedIdxToResult");i(b1i,"handleIgnoreCase");i(uHr,"findCode");i(Oht,"isWholeOptional");Pht=class extends o_{static{i(this,"CharCodeFinder")}constructor(r){super(),this.targetCharCodes=r,this.found=!1}visitChildren(r){if(this.found!==!0){switch(r.type){case"Lookahead":this.visitLookahead(r);return;case"NegativeLookahead":this.visitNegativeLookahead(r);return;case"Lookbehind":this.visitLookbehind(r);return;case"NegativeLookbehind":this.visitNegativeLookbehind(r);return}super.visitChildren(r)}}visitCharacter(r){this.targetCharCodes.includes(r.value)&&(this.found=!0)}visitSet(r){r.complement?uHr(r,this.targetCharCodes)===void 0&&(this.found=!0):uHr(r,this.targetCharCodes)!==void 0&&(this.found=!0)}};i(wCe,"canMatchCharCode")});function gHr(t,r){r=Object.assign({safeMode:!1,positionTracking:"full",lineTerminatorCharacters:["\r",` +`],tracer:i((M,I)=>I(),"tracer")},r);let a=r.tracer;a("initCharCodeToOptimizedIndexMap",()=>{F1i()});let o;a("Reject Lexer.NA",()=>{o=t.filter(M=>M[XP]!==Zf.NA)});let l=!1,h;a("Transform Patterns",()=>{l=!1,h=o.map(M=>{let I=M[XP];if(I instanceof RegExp){let F=I.source;return F.length===1&&F!=="^"&&F!=="$"&&F!=="."&&!I.ignoreCase?F:F.length===2&&F[0]==="\\"&&!["d","D","s","S","t","r","n","t","0","c","b","B","f","v","w","W"].includes(F[1])?F[1]:pHr(I)}else{if(typeof I=="function")return l=!0,{exec:I};if(typeof I=="object")return l=!0,I;if(typeof I=="string"){if(I.length===1)return I;{let F=I.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"),O=new RegExp(F);return pHr(O)}}else throw Error("non exhaustive match")}})});let f,p,m,b,v;a("misc mapping",()=>{f=o.map(M=>M.tokenTypeIdx),p=o.map(M=>{let I=M.GROUP;if(I!==Zf.SKIPPED){if(typeof I=="string")return I;if(I===void 0)return!1;throw Error("non exhaustive match")}}),m=o.map(M=>{let I=M.LONGER_ALT;if(I)return Array.isArray(I)?I.map(O=>o.indexOf(O)):[o.indexOf(I)]}),b=o.map(M=>M.PUSH_MODE),v=o.map(M=>Object.hasOwn(M,"POP_MODE"))});let T;a("Line Terminator Handling",()=>{let M=THr(r.lineTerminatorCharacters);T=o.map(I=>!1),r.positionTracking!=="onlyOffset"&&(T=o.map(I=>Object.hasOwn(I,"LINE_BREAKS")?!!I.LINE_BREAKS:xHr(I,M)===!1&&wCe(M,I.PATTERN)))});let C,E,S,R;a("Misc Mapping #2",()=>{C=o.map(vHr),E=h.map(P1i),S=o.reduce((M,I)=>{let F=I.GROUP;return typeof F=="string"&&F!==Zf.SKIPPED&&(M[F]=[]),M},{}),R=h.map((M,I)=>{let F=p[I]===void 0&&m[I]===void 0?v1i(o[I].PATTERN):void 0;return{pattern:h[I],asciiClass:F,longerAlt:m[I],canLineTerminator:T[I],matchType:F!==void 0?ECe:E[I]!==!1?kCe:C[I]?Gae:CCe,short:E[I],group:p[I],push:b[I],pop:v[I],tokenTypeIdx:f[I],tokenType:o[I]}})});let L=!0,_=[];return r.safeMode||a("First Char Optimization",()=>{_=o.reduce((M,I,F)=>{if(typeof I.PATTERN=="string"){let O=I.PATTERN.charCodeAt(0),P=zS(O);Fht(M,P,R[F])}else if(Array.isArray(I.START_CHARS_HINT)){let O;I.START_CHARS_HINT.forEach(P=>{let G=typeof P=="string"?P.charCodeAt(0):P,V=zS(G);O!==V&&(O=V,Fht(M,V,R[F]))})}else if(I.PATTERN instanceof RegExp)if(I.PATTERN.unicode)L=!1,r.ensureOptimizations&&bH(`${$ae} Unable to analyze < ${I.PATTERN.toString()} > pattern. + The regexp unicode flag is not currently supported by the regexp-to-ast library. + This will disable the lexer's first char optimizations. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`);else{let O=fHr(I.PATTERN,r.ensureOptimizations);O.length===0&&(L=!1),O.forEach(P=>{Fht(M,P,R[F])})}else r.ensureOptimizations&&bH(`${$ae} TokenType: <${I.name}> is using a custom token pattern without providing parameter. + This will disable the lexer's first char optimizations. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`),L=!1;return M},[])}),{emptyGroups:S,patternIdxToConfig:R,charCodeToPatternIdxToConfig:_,hasCustom:l,canBeOptimized:L}}function v1i(t){var r,a;if(!(t instanceof RegExp)||t.flags!=="")return;let o;try{o=KP(t)}catch{return}if(o.value.value.length!==1||o.value.value[0].value.length!==1)return;let l=o.value.value[0].value[0],h;for(;l.type==="Group";){if(l.capturing||l.quantifier!==void 0&&h!==void 0||l.value.value.length!==1||l.value.value[0].value.length!==1)return;h=(r=l.quantifier)!==null&&r!==void 0?r:h,l=l.value.value[0].value[0]}if(l.type!=="Set"||l.complement||l.quantifier!==void 0&&h!==void 0||(h=(a=l.quantifier)!==null&&a!==void 0?a:h,h?.atLeast!==1||h.atMost!==1/0||!h.greedy))return;let f=new Uint8Array(128);for(let p of l.value){let m=typeof p=="number"?p:p.from,b=typeof p=="number"?p:p.to;if(m<0||b>=f.length)return;f.fill(1,m,b+1)}return f}function mHr(t,r){let a=[],o=x1i(t);a=a.concat(o.errors);let l=T1i(o.valid),h=l.valid;return a=a.concat(l.errors),a=a.concat(w1i(h)),a=a.concat(D1i(h)),a=a.concat(_1i(h,r)),a=a.concat(M1i(h)),a}function w1i(t){let r=[],a=t.filter(o=>o[XP]instanceof RegExp);return r=r.concat(C1i(a)),r=r.concat(A1i(a)),r=r.concat(R1i(a)),r=r.concat(L1i(a)),r=r.concat(E1i(a)),r}function x1i(t){let r=t.filter(l=>!Object.hasOwn(l,XP)),a=r.map(l=>({message:"Token Type: ->"+l.name+"<- missing static 'PATTERN' property",type:Jf.MISSING_PATTERN,tokenTypes:[l]})),o=t.filter(l=>!r.includes(l));return{errors:a,valid:o}}function T1i(t){let r=t.filter(l=>{let h=l[XP];return!(h instanceof RegExp)&&typeof h!="function"&&!Object.hasOwn(h,"exec")&&typeof h!="string"}),a=r.map(l=>({message:"Token Type: ->"+l.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:Jf.INVALID_PATTERN,tokenTypes:[l]})),o=t.filter(l=>!r.includes(l));return{errors:a,valid:o}}function C1i(t){class r extends o_{static{i(this,"EndAnchorFinder")}constructor(){super(...arguments),this.found=!1}visitEndAnchor(h){this.found=!0}}return t.filter(l=>{let h=l.PATTERN;try{let f=KP(h),p=new r;return p.visit(f),p.found}catch{return k1i.test(h.source)}}).map(l=>({message:`Unexpected RegExp Anchor Error: + Token Type: ->`+l.name+`<- static 'PATTERN' cannot contain end of input anchor '$' + See chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:Jf.EOI_ANCHOR_FOUND,tokenTypes:[l]}))}function E1i(t){return t.filter(o=>o.PATTERN.test("")).map(o=>({message:"Token Type: ->"+o.name+"<- static 'PATTERN' must not match an empty string",type:Jf.EMPTY_MATCH_PATTERN,tokenTypes:[o]}))}function A1i(t){class r extends o_{static{i(this,"StartAnchorFinder")}constructor(){super(...arguments),this.found=!1}visitStartAnchor(h){this.found=!0}}return t.filter(l=>{let h=l.PATTERN;try{let f=KP(h),p=new r;return p.visit(f),p.found}catch{return S1i.test(h.source)}}).map(l=>({message:`Unexpected RegExp Anchor Error: + Token Type: ->`+l.name+`<- static 'PATTERN' cannot contain start of input anchor '^' + See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:Jf.SOI_ANCHOR_FOUND,tokenTypes:[l]}))}function R1i(t){return t.filter(o=>{let l=o[XP];return l instanceof RegExp&&(l.multiline||l.global)}).map(o=>({message:"Token Type: ->"+o.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:Jf.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[o]}))}function L1i(t){let r=[],a=t.map(h=>t.reduce((f,p)=>(h.PATTERN.source===p.PATTERN.source&&!r.includes(p)&&p.PATTERN!==Zf.NA&&(r.push(p),f.push(p)),f),[]));return a=a.filter(Boolean),a.filter(h=>h.length>1).map(h=>{let f=h.map(m=>m.name);return{message:`The same RegExp pattern ->${h[0].PATTERN}<-has been used in all of the following Token Types: ${f.join(", ")} <-`,type:Jf.DUPLICATE_PATTERNS_FOUND,tokenTypes:h}})}function D1i(t){return t.filter(o=>{if(!Object.hasOwn(o,"GROUP"))return!1;let l=o.GROUP;return l!==Zf.SKIPPED&&l!==Zf.NA&&typeof l!="string"}).map(o=>({message:"Token Type: ->"+o.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:Jf.INVALID_GROUP_TYPE_FOUND,tokenTypes:[o]}))}function _1i(t,r){return t.filter(l=>l.PUSH_MODE!==void 0&&!r.includes(l.PUSH_MODE)).map(l=>({message:`Token Type: ->${l.name}<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->${l.PUSH_MODE}<-which does not exist`,type:Jf.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[l]}))}function M1i(t){let r=[],a=t.reduce((o,l,h)=>{let f=l.PATTERN;return f===Zf.NA||(typeof f=="string"?o.push({str:f,idx:h,tokenType:l}):f instanceof RegExp&&N1i(f)&&o.push({str:f.source,idx:h,tokenType:l})),o},[]);return t.forEach((o,l)=>{a.forEach(({str:h,idx:f,tokenType:p})=>{if(l${p.name}<- can never be matched. +Because it appears AFTER the Token Type ->${o.name}<-in the lexer's definition. +See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;r.push({message:m,type:Jf.UNREACHABLE_PATTERN,tokenTypes:[o,p]})}})}),r}function I1i(t,r){if(r instanceof RegExp){if(O1i(r))return!1;let a=r.exec(t);return a!==null&&a.index===0}else{if(typeof r=="function")return r(t,0,[],{});if(Object.hasOwn(r,"exec"))return r.exec(t,0,[],{});if(typeof r=="string")return r===t;throw Error("non exhaustive match")}}function N1i(t){return[".","\\","[","]","|","^","$","(",")","?","*","+","{"].find(a=>t.source.indexOf(a)!==-1)===void 0}function O1i(t){return/(\(\?=)|(\(\?!)|(\(\?<=)|(\(\? property in its definition +`,type:Jf.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),Object.hasOwn(t,xCe)||o.push({message:"A MultiMode Lexer cannot be initialized without a <"+xCe+`> property in its definition +`,type:Jf.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),Object.hasOwn(t,xCe)&&Object.hasOwn(t,kH)&&!Object.hasOwn(t.modes,t.defaultMode)&&o.push({message:`A MultiMode Lexer cannot be initialized with a ${kH}: <${t.defaultMode}>which does not exist +`,type:Jf.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),Object.hasOwn(t,xCe)&&Object.keys(t.modes).forEach(l=>{let h=t.modes[l];h.forEach((f,p)=>{f===void 0?o.push({message:`A Lexer cannot be initialized using an undefined Token Type. Mode:<${l}> at index: <${p}> +`,type:Jf.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED}):Object.hasOwn(f,"LONGER_ALT")&&(Array.isArray(f.LONGER_ALT)?f.LONGER_ALT:[f.LONGER_ALT]).forEach(b=>{b!==void 0&&!h.includes(b)&&o.push({message:`A MultiMode Lexer cannot be initialized with a longer_alt <${b.name}> on token <${f.name}> outside of mode <${l}> +`,type:Jf.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE})})})}),o}function bHr(t,r,a){let o=[],l=!1,f=Object.values(t.modes||{}).flat().filter(Boolean).filter(m=>m[XP]!==Zf.NA),p=THr(a);return r&&f.forEach(m=>{let b=xHr(m,p);if(b!==!1){let T={message:B1i(m,b),type:b.issue,tokenType:m};o.push(T)}else Object.hasOwn(m,"LINE_BREAKS")?m.LINE_BREAKS===!0&&(l=!0):wCe(p,m.PATTERN)&&(l=!0)}),r&&!l&&o.push({message:`Warning: No LINE_BREAKS Found. + This Lexer has been defined to track line and column information, + But none of the Token Types can be identified as matching a line terminator. + See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#LINE_BREAKS + for details.`,type:Jf.NO_LINE_BREAKS_FLAGS}),o}function vHr(t){let r=t.PATTERN;if(r instanceof RegExp)return!1;if(typeof r=="function")return!0;if(Object.hasOwn(r,"exec"))return!0;if(typeof r=="string")return!1;throw Error("non exhaustive match")}function P1i(t){return typeof t=="string"&&t.length===1?t.charCodeAt(0):!1}function xHr(t,r){if(Object.hasOwn(t,"LINE_BREAKS"))return!1;if(t.PATTERN instanceof RegExp){try{wCe(r,t.PATTERN)}catch(a){return{issue:Jf.IDENTIFY_TERMINATOR,errMsg:a.message}}return!1}else{if(typeof t.PATTERN=="string")return!1;if(vHr(t))return{issue:Jf.CUSTOM_LINE_BREAK};throw Error("non exhaustive match")}}function B1i(t,r){if(r.issue===Jf.IDENTIFY_TERMINATOR)return`Warning: unable to identify line terminator usage in pattern. + The problem is in the <${t.name}> Token Type + Root cause: ${r.errMsg}. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR`;if(r.issue===Jf.CUSTOM_LINE_BREAK)return`Warning: A Custom Token Pattern should specify the option. + The problem is in the <${t.name}> Token Type + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK`;throw Error("non exhaustive match")}function THr(t){return t.map(a=>typeof a=="string"?a.charCodeAt(0):a)}function Fht(t,r,a){t[r]===void 0?t[r]=[a]:t[r].push(a)}function zS(t){return t255?255+~~(t/255):t}}var XP,kH,xCe,kCe,Gae,CCe,ECe,k1i,S1i,wHr,TH,TCe,Bht=ie(()=>{"use strict";mCe();jae();vH();dHr();bCe();XP="PATTERN",kH="defaultMode",xCe="modes",kCe=0,Gae=1,CCe=2,ECe=3;i(gHr,"analyzeTokenTypes");i(v1i,"getAsciiClass");i(mHr,"validatePatterns");i(w1i,"validateRegExpPattern");i(x1i,"findMissingPatterns");i(T1i,"findInvalidPatterns");k1i=/[^\\][$]/;i(C1i,"findEndOfInputAnchor");i(E1i,"findEmptyMatchRegExps");S1i=/[^\\[][\^]|^\^/;i(A1i,"findStartOfInputAnchor");i(R1i,"findUnsupportedFlags");i(L1i,"findDuplicatePatterns");i(D1i,"findInvalidGroupType");i(_1i,"findModesThatDoNotExist");i(M1i,"findUnreachablePatterns");i(I1i,"tryToMatchStrToPattern");i(N1i,"noMetaChar");i(O1i,"usesLookAheadOrBehind");i(pHr,"addStickyFlag");i(yHr,"performRuntimeChecks");i(bHr,"performWarningRuntimeChecks");i(vHr,"isCustomPattern");i(P1i,"isShortPattern");wHr={test:i(function(t){let r=t.length;for(let a=this.lastIndex;a{a.isParent=a.categoryMatches.length>0})}function $1i(t){let r=[...t],a=t,o=!0;for(;o;){a=a.map(h=>h.CATEGORIES).flat().filter(Boolean);let l=a.filter(h=>!r.includes(h));r=r.concat(l),l.length===0?o=!1:a=l}return r}function G1i(t){t.forEach(r=>{$ht(r)||(EHr[kHr]=r,r.tokenTypeIdx=kHr++),CHr(r)&&!Array.isArray(r.CATEGORIES)&&(r.CATEGORIES=[r.CATEGORIES]),CHr(r)||(r.CATEGORIES=[]),U1i(r)||(r.categoryMatches=[]),V1i(r)||(r.categoryMatchesMap={})})}function j1i(t){t.forEach(r=>{r.categoryMatches=[],Object.keys(r.categoryMatchesMap).forEach(a=>{r.categoryMatches.push(EHr[a].tokenTypeIdx)})})}function z1i(t){t.forEach(r=>{SHr([],r)})}function SHr(t,r){t.forEach(a=>{r.categoryMatchesMap[a.tokenTypeIdx]=!0}),r.CATEGORIES.forEach(a=>{let o=t.concat(r);o.includes(a)||SHr(o,a)})}function $ht(t){return Object.hasOwn(t??{},"tokenTypeIdx")}function CHr(t){return Object.hasOwn(t??{},"CATEGORIES")}function U1i(t){return Object.hasOwn(t??{},"categoryMatches")}function V1i(t){return Object.hasOwn(t??{},"categoryMatchesMap")}function AHr(t){return Object.hasOwn(t??{},"tokenTypeIdx")}var kHr,EHr,QP=ie(()=>{"use strict";i(JA,"tokenStructuredMatcher");i(CH,"tokenStructuredMatcherNoCategories");kHr=1,EHr={};i(ZA,"augmentTokenTypes");i($1i,"expandCategories");i(G1i,"assignTokenDefaultProps");i(j1i,"assignCategoriesTokensProp");i(z1i,"assignCategoriesMapProp");i(SHr,"singleAssignCategoriesToksMap");i($ht,"hasShortKeyProperty");i(CHr,"hasCategoriesProperty");i(U1i,"hasExtendingTokensTypesProperty");i(V1i,"hasExtendingTokensTypesMapProperty");i(AHr,"isTokenType")});var Ght,jht=ie(()=>{"use strict";Ght={buildUnableToPopLexerModeMessage(t){return`Unable to pop Lexer Mode after encountering Token ->${t.image}<- The Mode Stack is empty`},buildUnexpectedCharactersMessage(t,r,a,o,l,h){return`unexpected character: ->${t.charAt(r)}<- at offset: ${r}, skipped ${a} characters.`}}});var Jf,zae,Zf,jae=ie(()=>{"use strict";Bht();vH();QP();jht();bCe();(function(t){t[t.MISSING_PATTERN=0]="MISSING_PATTERN",t[t.INVALID_PATTERN=1]="INVALID_PATTERN",t[t.EOI_ANCHOR_FOUND=2]="EOI_ANCHOR_FOUND",t[t.UNSUPPORTED_FLAGS_FOUND=3]="UNSUPPORTED_FLAGS_FOUND",t[t.DUPLICATE_PATTERNS_FOUND=4]="DUPLICATE_PATTERNS_FOUND",t[t.INVALID_GROUP_TYPE_FOUND=5]="INVALID_GROUP_TYPE_FOUND",t[t.PUSH_MODE_DOES_NOT_EXIST=6]="PUSH_MODE_DOES_NOT_EXIST",t[t.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE=7]="MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE",t[t.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY=8]="MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY",t[t.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST=9]="MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST",t[t.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED=10]="LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED",t[t.SOI_ANCHOR_FOUND=11]="SOI_ANCHOR_FOUND",t[t.EMPTY_MATCH_PATTERN=12]="EMPTY_MATCH_PATTERN",t[t.NO_LINE_BREAKS_FLAGS=13]="NO_LINE_BREAKS_FLAGS",t[t.UNREACHABLE_PATTERN=14]="UNREACHABLE_PATTERN",t[t.IDENTIFY_TERMINATOR=15]="IDENTIFY_TERMINATOR",t[t.CUSTOM_LINE_BREAK=16]="CUSTOM_LINE_BREAK",t[t.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE=17]="MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE"})(Jf||(Jf={}));zae={deferDefinitionErrorsHandling:!1,positionTracking:"full",lineTerminatorsPattern:/\n|\r\n?/g,lineTerminatorCharacters:[` +`,"\r"],ensureOptimizations:!1,safeMode:!1,errorMessageProvider:Ght,traceInitPerf:!1,skipValidations:!1,recoveryEnabled:!0};Object.freeze(zae);Zf=class{static{i(this,"Lexer")}constructor(r,a=zae){if(this.lexerDefinition=r,this.lexerDefinitionErrors=[],this.lexerDefinitionWarning=[],this.patternIdxToConfig={},this.charCodeToPatternIdxToConfig={},this.modes=[],this.emptyGroups={},this.cachedGroupKeys=[],this.trackStartLines=!0,this.trackEndLines=!0,this.hasCustom=!1,this.canModeBeOptimized={},this.TRACE_INIT=(l,h)=>{if(this.traceInitPerf===!0){this.traceInitIndent++;let f=new Array(this.traceInitIndent+1).join(" ");this.traceInitIndent <${l}>`);let{time:p,value:m}=Iae(h),b=p>10?console.warn:console.log;return this.traceInitIndent time: ${p}ms`),this.traceInitIndent--,m}else return h()},typeof a=="boolean")throw Error(`The second argument to the Lexer constructor is now an ILexerConfig Object. +a boolean 2nd argument is no longer supported`);this.config=Object.assign({},zae,a);let o=this.config.traceInitPerf;o===!0?(this.traceInitMaxIdent=1/0,this.traceInitPerf=!0):typeof o=="number"&&(this.traceInitMaxIdent=o,this.traceInitPerf=!0),this.traceInitIndent=-1,this.TRACE_INIT("Lexer Constructor",()=>{let l,h=!0;this.TRACE_INIT("Lexer Config handling",()=>{if(this.config.lineTerminatorsPattern===zae.lineTerminatorsPattern)this.config.lineTerminatorsPattern=wHr;else if(this.config.lineTerminatorCharacters===zae.lineTerminatorCharacters)throw Error(`Error: Missing property on the Lexer config. + For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS`);if(a.safeMode&&a.ensureOptimizations)throw Error('"safeMode" and "ensureOptimizations" flags are mutually exclusive.');this.trackStartLines=/full|onlyStart/i.test(this.config.positionTracking),this.trackEndLines=/full/i.test(this.config.positionTracking),Array.isArray(r)?l={modes:{defaultMode:[...r]},defaultMode:kH}:(h=!1,l=Object.assign({},r))}),this.config.skipValidations===!1&&(this.TRACE_INIT("performRuntimeChecks",()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(yHr(l,this.trackStartLines,this.config.lineTerminatorCharacters))}),this.TRACE_INIT("performWarningRuntimeChecks",()=>{this.lexerDefinitionWarning=this.lexerDefinitionWarning.concat(bHr(l,this.trackStartLines,this.config.lineTerminatorCharacters))})),l.modes=l.modes?l.modes:{},Object.entries(l.modes).forEach(([p,m])=>{l.modes[p]=m.filter(b=>b!==void 0)});let f=Object.keys(l.modes);if(Object.entries(l.modes).forEach(([p,m])=>{this.TRACE_INIT(`Mode: <${p}> processing`,()=>{if(this.modes.push(p),this.config.skipValidations===!1&&this.TRACE_INIT("validatePatterns",()=>{this.lexerDefinitionErrors=this.lexerDefinitionErrors.concat(mHr(m,f))}),this.lexerDefinitionErrors.length===0){ZA(m);let b;this.TRACE_INIT("analyzeTokenTypes",()=>{b=gHr(m,{lineTerminatorCharacters:this.config.lineTerminatorCharacters,positionTracking:a.positionTracking,ensureOptimizations:a.ensureOptimizations,safeMode:a.safeMode,tracer:this.TRACE_INIT})}),this.patternIdxToConfig[p]=b.patternIdxToConfig,this.charCodeToPatternIdxToConfig[p]=b.charCodeToPatternIdxToConfig,this.emptyGroups=Object.assign({},this.emptyGroups,b.emptyGroups),this.hasCustom=b.hasCustom||this.hasCustom,this.canModeBeOptimized[p]=b.canBeOptimized}})}),this.defaultMode=l.defaultMode,this.cachedGroupKeys=Object.keys(this.emptyGroups),this.lexerDefinitionErrors.length>0&&!this.config.deferDefinitionErrorsHandling){let m=this.lexerDefinitionErrors.map(b=>b.message).join(`----------------------- +`);throw new Error(`Errors detected in definition of Lexer: +`+m)}this.lexerDefinitionWarning.forEach(p=>{Mae(p.message)}),this.TRACE_INIT("Choosing sub-methods implementations",()=>{if(h&&(this.handleModes=()=>{}),this.trackStartLines===!1&&(this.computeNewColumn=p=>p),this.trackEndLines===!1&&(this.updateTokenEndLineColumnLocation=()=>{}),/full/i.test(this.config.positionTracking))this.createTokenInstance=this.createFullToken;else if(/onlyStart/i.test(this.config.positionTracking))this.createTokenInstance=this.createStartOnlyToken;else if(/onlyOffset/i.test(this.config.positionTracking))this.createTokenInstance=this.createOffsetOnlyToken;else throw Error(`Invalid config option: "${this.config.positionTracking}"`);this.hasCustom?(this.addToken=this.addTokenUsingPush,this.handlePayload=this.handlePayloadWithCustom):(this.addToken=this.addTokenUsingMemberAccess,this.handlePayload=this.handlePayloadNoCustom)}),this.TRACE_INIT("Failed Optimization Warnings",()=>{let p=Object.entries(this.canModeBeOptimized).reduce((m,[b,v])=>(v===!1&&m.push(b),m),[]);if(a.ensureOptimizations&&p.length>0)throw Error(`Lexer Modes: < ${p.join(", ")} > cannot be optimized. + Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode. + Or inspect the console log for details on how to resolve these issues.`)}),this.TRACE_INIT("clearRegExpParserCache",()=>{cHr()}),this.TRACE_INIT("toFastProperties",()=>{Nae(this)})})}tokenize(r,a=this.defaultMode){if(this.lexerDefinitionErrors.length>0){let l=this.lexerDefinitionErrors.map(h=>h.message).join(`----------------------- +`);throw new Error(`Unable to Tokenize because Errors detected in definition of Lexer: +`+l)}return this.tokenizeInternal(r,a)}tokenizeInternal(r,a){let o,l,h,f,p,m,b,v,T,C,E,S,R,L,_,M=r,I=M.length,F=0,O=0,P=this.hasCustom?0:Math.floor(r.length/10),G=new Array(P),V=[],Y=this.trackStartLines?1:void 0,K=this.trackStartLines?1:void 0,J={};for(let ve=0;ve{if(te.length===1&&ve.tokenType.PUSH_MODE===void 0){let Se=this.config.errorMessageProvider.buildUnableToPopLexerModeMessage(ve);V.push({offset:ve.startOffset,line:ve.startLine,column:ve.startColumn,length:ve.image.length,message:Se})}else{te.pop();let Se=te.at(-1);Q=this.patternIdxToConfig[Se],W=this.charCodeToPatternIdxToConfig[Se],Z=Q.length;let _e=this.canModeBeOptimized[Se]&&this.config.safeMode===!1;W&&_e?re=!0:re=!1}},"pop_mode");function ce(ve){te.push(ve),W=this.charCodeToPatternIdxToConfig[ve],Q=this.patternIdxToConfig[ve],Z=Q.length;let Se=this.canModeBeOptimized[ve]&&this.config.safeMode===!1;W&&Se?re=!0:re=!1}i(ce,"push_mode"),ce.call(this,a);let le,de=this.config.recoveryEnabled;for(;Fm.length){m=f,T=f.length,b=v,le=De;break}}}break}}if(T!==-1){if(C=le.group,C!==void 0&&(m=m!==null?m:r.substring(F,F+T),E=le.tokenTypeIdx,S=this.createTokenInstance(m,F,E,le.tokenType,Y,K,T),this.handlePayload(S,b),C===!1?O=this.addToken(G,O,S):J[C].push(S)),H===!0&&le.canLineTerminator===!0){let Ce=0,Ve,De;q.lastIndex=0;do m=m!==null?m:r.substring(F,F+T),Ve=q.test(m),Ve===!0&&(De=q.lastIndex-1,Ce++);while(Ve===!0);Ce!==0?(Y=Y+Ce,K=T-De,this.updateTokenEndLineColumnLocation(S,C,De,Ce,Y,K,T)):K=this.computeNewColumn(K,T)}else K=this.computeNewColumn(K,T);F=F+T,this.handleModes(le,ae,ce,S)}else{let Ce=F,Ve=Y,De=K,qe=de===!1;for(;qe===!1&&F{"use strict";jae();QP();i(JP,"tokenLabel");i(zht,"hasTokenLabel");H1i="parent",RHr="categories",LHr="label",DHr="group",_Hr="push_mode",MHr="pop_mode",IHr="longer_alt",NHr="line_breaks",OHr="start_chars_hint";i(zs,"createToken");i(q1i,"createTokenInternal");v2=zs({name:"EOF",pattern:Zf.NA});ZA([v2]);i(ZP,"createTokenInstance");i(Uae,"tokenMatcher")});var SCe,PHr,F4,EH=ie(()=>{"use strict";eB();$b();SCe={buildMismatchTokenMessage({expected:t,actual:r,previous:a,ruleName:o}){return`Expecting ${zht(t)?`--> ${JP(t)} <--`:`token of type --> ${t.name} <--`} but found --> '${r.image}' <--`},buildNotAllInputParsedMessage({firstRedundant:t,ruleName:r}){return"Redundant input, expecting EOF but found: "+t.image},buildNoViableAltMessage({expectedPathsPerAlt:t,actual:r,previous:a,customUserDescription:o,ruleName:l}){let h="Expecting: ",p=` +but found: '`+r[0].image+"'";if(o)return h+o+p;{let T=`one of these possible Token sequences: +${t.reduce((C,E)=>C.concat(E),[]).map(C=>`[${C.map(E=>JP(E)).join(", ")}]`).map((C,E)=>` ${E+1}. ${C}`).join(` +`)}`;return h+T+p}},buildEarlyExitMessage({expectedIterationPaths:t,actual:r,customUserDescription:a,ruleName:o}){let l="Expecting: ",f=` +but found: '`+r[0].image+"'";if(a)return l+a+f;{let m=`expecting at least one iteration which starts with one of these possible Token sequences:: + <${t.map(b=>`[${b.map(v=>JP(v)).join(",")}]`).join(" ,")}>`;return l+m+f}}};Object.freeze(SCe);PHr={buildRuleNotFoundError(t,r){return"Invalid grammar, reference to a rule which is not defined: ->"+r.nonTerminalName+`<- +inside top level rule: ->`+t.name+"<-"}},F4={buildDuplicateFoundError(t,r){function a(v){return v instanceof Rc?v.terminalType.name:v instanceof lf?v.nonTerminalName:""}i(a,"getExtraProductionArgument");let o=t.name,l=r[0],h=l.idx,f=b2(l),p=a(l),m=h>0,b=`->${f}${m?h:""}<- ${p?`with argument: ->${p}<-`:""} + appears more than once (${r.length} times) in the top level rule: ->${o}<-. + For further details see: https://chevrotain.io/docs/FAQ.html#NUMERICAL_SUFFIXES + `;return b=b.replace(/[ \t]+/g," "),b=b.replace(/\s\s+/g,` +`),b},buildNamespaceConflictError(t){return`Namespace conflict found in grammar. +The grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <${t.name}>. +To resolve this make sure each Terminal and Non-Terminal names are unique +This is easy to accomplish by using the convention that Terminal names start with an uppercase letter +and Non-Terminal names start with a lower case letter.`},buildAlternationPrefixAmbiguityError(t){let r=t.prefixPath.map(l=>JP(l)).join(", "),a=t.alternation.idx===0?"":t.alternation.idx;return`Ambiguous alternatives: <${t.ambiguityIndices.join(" ,")}> due to common lookahead prefix +in inside <${t.topLevelRule.name}> Rule, +<${r}> may appears as a prefix path in all these alternatives. +See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#COMMON_PREFIX +For Further details.`},buildAlternationAmbiguityError(t){let r=t.alternation.idx===0?"":t.alternation.idx,a=t.prefixPath.length===0,o=`Ambiguous Alternatives Detected: <${t.ambiguityIndices.join(" ,")}> in inside <${t.topLevelRule.name}> Rule, +`;if(a)o+=`These alternatives are all empty (match no tokens), making them indistinguishable. +Only the last alternative may be empty. +`;else{let l=t.prefixPath.map(h=>JP(h)).join(", ");o+=`<${l}> may appears as a prefix path in all these alternatives. +`}return o+=`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES +For Further details.`,o},buildEmptyRepetitionError(t){let r=b2(t.repetition);return t.repetition.idx!==0&&(r+=t.repetition.idx),`The repetition <${r}> within Rule <${t.topLevelRule.name}> can never consume any tokens. +This could lead to an infinite loop.`},buildTokenNameError(t){return"deprecated"},buildEmptyAlternationError(t){return`Ambiguous empty alternative: <${t.emptyChoiceIdx+1}> in inside <${t.topLevelRule.name}> Rule. +Only the last alternative may be an empty alternative.`},buildTooManyAlternativesError(t){return`An Alternation cannot have more than 256 alternatives: + inside <${t.topLevelRule.name}> Rule. + has ${t.alternation.definition.length+1} alternatives.`},buildLeftRecursionError(t){let r=t.topLevelRule.name,a=t.leftRecursionPath.map(h=>h.name),o=`${r} --> ${a.concat([r]).join(" --> ")}`;return`Left Recursion found in grammar. +rule: <${r}> can be invoked from itself (directly or indirectly) +without consuming any Tokens. The grammar path that causes this is: + ${o} + To fix this refactor your grammar to remove the left recursion. +see: https://en.wikipedia.org/wiki/LL_parser#Left_factoring.`},buildInvalidRuleNameError(t){return"deprecated"},buildDuplicateRuleNameError(t){let r;return t.topLevelRule instanceof Bb?r=t.topLevelRule.name:r=t.topLevelRule,`Duplicate definition, rule: ->${r}<- is already defined in the grammar: ->${t.grammarName}<-`}}});function BHr(t,r){let a=new Uht(t,r);return a.resolveRefs(),a.errors}var Uht,FHr=ie(()=>{"use strict";w2();$b();i(BHr,"resolveGrammar");Uht=class extends Fb{static{i(this,"GastRefResolverVisitor")}constructor(r,a){super(),this.nameToTopRule=r,this.errMsgProvider=a,this.errors=[]}resolveRefs(){Object.values(this.nameToTopRule).forEach(r=>{this.currTopLevel=r,r.accept(this)})}visitNonTerminal(r){let a=this.nameToTopRule[r.nonTerminalName];if(a)r.referencedRule=a;else{let o=this.errMsgProvider.buildRuleNotFoundError(this.currTopLevel,r);this.errors.push({message:o,type:A0.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:r.nonTerminalName})}}}});function DCe(t,r,a=[]){a=[...a];let o=[],l=0;function h(p){return p.concat(t.slice(l+1))}i(h,"remainingPathWith");function f(p){let m=DCe(h(p),r,a);return o.concat(m)}for(i(f,"getAlternativesForProd");a.length{m.definition.length!==0&&(o=f(m.definition))}),o;if(p instanceof Rc)a.push(p.terminalType);else throw Error("non exhaustive match")}l++}return o.push({partialPath:a,suffixDef:t.slice(l)}),o}function $Hr(t,r,a,o){let l="EXIT_NONE_TERMINAL",h=[l],f="EXIT_ALTERNATIVE",p=!1,m=r.length,b=m-o-1,v=[],T=[];for(T.push({idx:-1,def:t,ruleStack:[],occurrenceStack:[]});T.length!==0;){let C=T.pop();if(C===f){p&&T.at(-1).idx<=b&&T.pop();continue}let E=C.def,S=C.idx,R=C.ruleStack,L=C.occurrenceStack;if(E.length===0)continue;let _=E[0];if(_===l){let M={idx:S,def:E.slice(1),ruleStack:R.slice(0,-1),occurrenceStack:L.slice(0,-1)};T.push(M)}else if(_ instanceof Rc)if(S=0;M--){let I=_.definition[M],F={idx:S,def:I.definition.concat(E.slice(1)),ruleStack:R,occurrenceStack:L};T.push(F),T.push(f)}else if(_ instanceof cf)T.push({idx:S,def:_.definition.concat(E.slice(1)),ruleStack:R,occurrenceStack:L});else if(_ instanceof Bb)T.push(W1i(_,S,R,L));else throw Error("non exhaustive match")}return v}function W1i(t,r,a,o){let l=[...a];l.push(t.name);let h=[...o];return h.push(1),{idx:r,def:t.definition,ruleStack:l,occurrenceStack:h}}var Vht,ACe,SH,RCe,Vae,LCe,Hae,qae=ie(()=>{"use strict";Rht();fCe();$b();Vht=class extends QA{static{i(this,"AbstractNextPossibleTokensWalker")}constructor(r,a){super(),this.topProd=r,this.path=a,this.possibleTokTypes=[],this.nextProductionName="",this.nextProductionOccurrence=0,this.found=!1,this.isAtEndOfPath=!1}startWalking(){if(this.found=!1,this.path.ruleStack[0]!==this.topProd.name)throw Error("The path does not start with the walker's top Rule!");return this.ruleStack=[...this.path.ruleStack].reverse(),this.occurrenceStack=[...this.path.occurrenceStack].reverse(),this.ruleStack.pop(),this.occurrenceStack.pop(),this.updateExpectedNext(),this.walk(this.topProd),this.possibleTokTypes}walk(r,a=[]){this.found||super.walk(r,a)}walkProdRef(r,a,o){if(r.referencedRule.name===this.nextProductionName&&r.idx===this.nextProductionOccurrence){let l=a.concat(o);this.updateExpectedNext(),this.walk(r.referencedRule,l)}}updateExpectedNext(){this.ruleStack.length===0?(this.nextProductionName="",this.nextProductionOccurrence=0,this.isAtEndOfPath=!0):(this.nextProductionName=this.ruleStack.pop(),this.nextProductionOccurrence=this.occurrenceStack.pop())}},ACe=class extends Vht{static{i(this,"NextAfterTokenWalker")}constructor(r,a){super(r,a),this.path=a,this.nextTerminalName="",this.nextTerminalOccurrence=0,this.nextTerminalName=this.path.lastTok.name,this.nextTerminalOccurrence=this.path.lastTokOccurrence}walkTerminal(r,a,o){if(this.isAtEndOfPath&&r.terminalType.name===this.nextTerminalName&&r.idx===this.nextTerminalOccurrence&&!this.found){let l=a.concat(o),h=new cf({definition:l});this.possibleTokTypes=WP(h),this.found=!0}}},SH=class extends QA{static{i(this,"AbstractNextTerminalAfterProductionWalker")}constructor(r,a){super(),this.topRule=r,this.occurrence=a,this.result={token:void 0,occurrence:void 0,isEndOfRule:void 0}}startWalking(){return this.walk(this.topRule),this.result}},RCe=class extends SH{static{i(this,"NextTerminalAfterManyWalker")}walkMany(r,a,o){if(r.idx===this.occurrence){let l=a.concat(o)[0];this.result.isEndOfRule=l===void 0,l instanceof Rc&&(this.result.token=l.terminalType,this.result.occurrence=l.idx)}else super.walkMany(r,a,o)}},Vae=class extends SH{static{i(this,"NextTerminalAfterManySepWalker")}walkManySep(r,a,o){if(r.idx===this.occurrence){let l=a.concat(o)[0];this.result.isEndOfRule=l===void 0,l instanceof Rc&&(this.result.token=l.terminalType,this.result.occurrence=l.idx)}else super.walkManySep(r,a,o)}},LCe=class extends SH{static{i(this,"NextTerminalAfterAtLeastOneWalker")}walkAtLeastOne(r,a,o){if(r.idx===this.occurrence){let l=a.concat(o)[0];this.result.isEndOfRule=l===void 0,l instanceof Rc&&(this.result.token=l.terminalType,this.result.occurrence=l.idx)}else super.walkAtLeastOne(r,a,o)}},Hae=class extends SH{static{i(this,"NextTerminalAfterAtLeastOneSepWalker")}walkAtLeastOneSep(r,a,o){if(r.idx===this.occurrence){let l=a.concat(o)[0];this.result.isEndOfRule=l===void 0,l instanceof Rc&&(this.result.token=l.terminalType,this.result.occurrence=l.idx)}else super.walkAtLeastOneSep(r,a,o)}};i(DCe,"possiblePathsFrom");i($Hr,"nextPossibleTokensAfter");i(W1i,"expandTopLevelRule")});function MCe(t){if(t instanceof Cf||t==="Option")return $d.OPTION;if(t instanceof Uu||t==="Repetition")return $d.REPETITION;if(t instanceof ng||t==="RepetitionMandatory")return $d.REPETITION_MANDATORY;if(t instanceof ig||t==="RepetitionMandatoryWithSeparator")return $d.REPETITION_MANDATORY_WITH_SEPARATOR;if(t instanceof kp||t==="RepetitionWithSeparator")return $d.REPETITION_WITH_SEPARATOR;if(t instanceof Cp||t==="Alternation")return $d.ALTERNATION;throw Error("non exhaustive match")}function jHr(t,r,a,o,l,h){let f=Wae(t,r,a),p=WHr(f)?CH:JA;return h(f,o,p,l)}function zHr(t,r,a,o,l,h){let f=Yae(t,r,l,a),p=WHr(f)?CH:JA;return h(f[0],p,o)}function UHr(t,r,a,o){let l=t.length,h=t.every(f=>f.every(p=>p.length===1));if(r)return function(f){let p=f.map(m=>m.GATE);for(let m=0;mm.flat()).reduce((m,b,v)=>(b.forEach(T=>{T.tokenTypeIdx in m||(m[T.tokenTypeIdx]=v),T.categoryMatches.forEach(C=>{Object.hasOwn(m,C)||(m[C]=v)})}),m),{});return function(){let m=this.LA_FAST(1);return p[m.tokenTypeIdx]}}else return function(){for(let f=0;fh.length===1),l=t.length;if(o&&!a){let h=t.flat();if(h.length===1&&h[0].categoryMatches.length===0){let p=h[0].tokenTypeIdx;return function(){return this.LA_FAST(1).tokenTypeIdx===p}}else{let f=h.reduce((p,m,b)=>(p[m.tokenTypeIdx]=!0,m.categoryMatches.forEach(v=>{p[v]=!0}),p),[]);return function(){let p=this.LA_FAST(1);return f[p.tokenTypeIdx]===!0}}}else return function(){e:for(let h=0;hDCe([f],1)),o=GHr(a.length),l=a.map(f=>{let p={};return f.forEach(m=>{Hht(m.partialPath).forEach(v=>{p[v]=!0})}),p}),h=a;for(let f=1;f<=r;f++){let p=h;h=GHr(p.length);for(let m=0;m{Hht(L.partialPath).forEach(M=>{l[m][M]=!0})})}}}}return o}function Wae(t,r,a,o){let l=new _Ce(t,$d.ALTERNATION,o);return r.accept(l),HHr(l.result,a)}function Yae(t,r,a,o){let l=new _Ce(t,a);r.accept(l);let h=l.result,p=new qht(r,t,a).startWalking(),m=new cf({definition:h}),b=new cf({definition:p});return HHr([m,b],o)}function ICe(t,r){e:for(let a=0;a{let l=r[o];return a===l||l.categoryMatchesMap[a.tokenTypeIdx]})}function WHr(t){return t.every(r=>r.every(a=>a.every(o=>o.categoryMatches.length===0)))}var $d,qht,_Ce,AH=ie(()=>{"use strict";qae();fCe();QP();$b();(function(t){t[t.OPTION=0]="OPTION",t[t.REPETITION=1]="REPETITION",t[t.REPETITION_MANDATORY=2]="REPETITION_MANDATORY",t[t.REPETITION_MANDATORY_WITH_SEPARATOR=3]="REPETITION_MANDATORY_WITH_SEPARATOR",t[t.REPETITION_WITH_SEPARATOR=4]="REPETITION_WITH_SEPARATOR",t[t.ALTERNATION=5]="ALTERNATION"})($d||($d={}));i(MCe,"getProdType");i(jHr,"buildLookaheadFuncForOr");i(zHr,"buildLookaheadFuncForOptionalProd");i(UHr,"buildAlternativesLookAheadFunc");i(VHr,"buildSingleAlternativeLookaheadFunction");qht=class extends QA{static{i(this,"RestDefinitionFinderWalker")}constructor(r,a,o){super(),this.topProd=r,this.targetOccurrence=a,this.targetProdType=o}startWalking(){return this.walk(this.topProd),this.restDef}checkIsTarget(r,a,o,l){return r.idx===this.targetOccurrence&&this.targetProdType===a?(this.restDef=o.concat(l),!0):!1}walkOption(r,a,o){this.checkIsTarget(r,$d.OPTION,a,o)||super.walkOption(r,a,o)}walkAtLeastOne(r,a,o){this.checkIsTarget(r,$d.REPETITION_MANDATORY,a,o)||super.walkOption(r,a,o)}walkAtLeastOneSep(r,a,o){this.checkIsTarget(r,$d.REPETITION_MANDATORY_WITH_SEPARATOR,a,o)||super.walkOption(r,a,o)}walkMany(r,a,o){this.checkIsTarget(r,$d.REPETITION,a,o)||super.walkOption(r,a,o)}walkManySep(r,a,o){this.checkIsTarget(r,$d.REPETITION_WITH_SEPARATOR,a,o)||super.walkOption(r,a,o)}},_Ce=class extends Fb{static{i(this,"InsideDefinitionFinderVisitor")}constructor(r,a,o){super(),this.targetOccurrence=r,this.targetProdType=a,this.targetRef=o,this.result=[]}checkIsTarget(r,a){r.idx===this.targetOccurrence&&this.targetProdType===a&&(this.targetRef===void 0||r===this.targetRef)&&(this.result=r.definition)}visitOption(r){this.checkIsTarget(r,$d.OPTION)}visitRepetition(r){this.checkIsTarget(r,$d.REPETITION)}visitRepetitionMandatory(r){this.checkIsTarget(r,$d.REPETITION_MANDATORY)}visitRepetitionMandatoryWithSeparator(r){this.checkIsTarget(r,$d.REPETITION_MANDATORY_WITH_SEPARATOR)}visitRepetitionWithSeparator(r){this.checkIsTarget(r,$d.REPETITION_WITH_SEPARATOR)}visitAlternation(r){this.checkIsTarget(r,$d.ALTERNATION)}};i(GHr,"initializeArrayOfArrays");i(Hht,"pathToHashKeys");i(Y1i,"isUniquePrefixHash");i(HHr,"lookAheadSequenceFromAlternatives");i(Wae,"getLookaheadPathsForOr");i(Yae,"getLookaheadPathsForOptionalProd");i(ICe,"containsPath");i(qHr,"isStrictPrefixOfPath");i(WHr,"areTokenCategoriesNotUsed")});function YHr(t){return t.lookaheadStrategy.validate({rules:t.rules,tokenTypes:t.tokenTypes,grammarName:t.grammarName}).map(a=>Object.assign({type:A0.CUSTOM_LOOKAHEAD_VALIDATION},a))}function KHr(t,r,a,o){let l=t.flatMap(m=>K1i(m,a)),h=tyi(t,r,a),f=t.flatMap(m=>J1i(m,a)),p=t.flatMap(m=>Q1i(m,t,o,a));return l.concat(h,f,p)}function K1i(t,r){let a=new Wht;t.accept(a);let o=a.allProductions,l=Object.groupBy(o,X1i),h=Object.fromEntries(Object.entries(l).filter(([p,m])=>m.length>1));return Object.values(h).map(p=>{let m=p[0],b=r.buildDuplicateFoundError(t,p),v=b2(m),T={message:b,type:A0.DUPLICATE_PRODUCTIONS,ruleName:t.name,dslName:v,occurrence:m.idx},C=XHr(m);return C&&(T.parameter=C),T})}function X1i(t){return`${b2(t)}_#_${t.idx}_#_${XHr(t)}`}function XHr(t){return t instanceof Rc?t.terminalType.name:t instanceof lf?t.nonTerminalName:""}function Q1i(t,r,a,o){let l=[];if(r.reduce((f,p)=>p.name===t.name?f+1:f,0)>1){let f=o.buildDuplicateRuleNameError({topLevelRule:t,grammarName:a});l.push({message:f,type:A0.DUPLICATE_RULE_NAME,ruleName:t.name})}return l}function QHr(t,r,a){let o=[],l;return r.includes(t)||(l=`Invalid rule override, rule: ->${t}<- cannot be overridden in the grammar: ->${a}<-as it is not defined in any of the super grammars `,o.push({message:l,type:A0.INVALID_RULE_OVERRIDE,ruleName:t})),o}function Kht(t,r,a,o=[]){let l=[],h=NCe(r.definition);if(h.length===0)return[];{let f=t.name;h.includes(t)&&l.push({message:a.buildLeftRecursionError({topLevelRule:t,leftRecursionPath:o}),type:A0.LEFT_RECURSION,ruleName:f});let m=o.concat([t]),v=h.filter(T=>!m.includes(T)).flatMap(T=>{let C=[...o];return C.push(T),Kht(t,T,a,C)});return l.concat(v)}}function NCe(t){let r=[];if(t.length===0)return r;let a=t[0];if(a instanceof lf)r.push(a.referencedRule);else if(a instanceof cf||a instanceof Cf||a instanceof ng||a instanceof ig||a instanceof kp||a instanceof Uu)r=r.concat(NCe(a.definition));else if(a instanceof Cp)r=a.definition.map(h=>NCe(h.definition)).flat();else if(!(a instanceof Rc))throw Error("non exhaustive match");let o=qP(a),l=t.length>1;if(o&&l){let h=t.slice(1);return r.concat(NCe(h))}else return r}function JHr(t,r){let a=new Kae;return t.accept(a),a.alternations.flatMap(h=>h.definition.slice(0,-1).flatMap((p,m)=>$Hr([p],[],JA,1).length===0?[{message:r.buildEmptyAlternationError({topLevelRule:t,alternation:h,emptyChoiceIdx:m}),type:A0.NONE_LAST_EMPTY_ALT,ruleName:t.name,occurrence:h.idx,alternative:m+1}]:[]))}function ZHr(t,r,a){let o=new Kae;t.accept(o);let l=o.alternations;return l=l.filter(f=>f.ignoreAmbiguities!==!0),l.flatMap(f=>{let p=f.idx,m=f.maxLookahead||r,b=Wae(p,t,m,f),v=Z1i(b,f,t,a),T=eyi(b,f,t,a);return v.concat(T)})}function J1i(t,r){let a=new Kae;return t.accept(a),a.alternations.flatMap(h=>h.definition.length>255?[{message:r.buildTooManyAlternativesError({topLevelRule:t,alternation:h}),type:A0.TOO_MANY_ALTS,ruleName:t.name,occurrence:h.idx}]:[])}function eqr(t,r,a){let o=[];return t.forEach(l=>{let h=new Yht;l.accept(h),h.allProductions.forEach(p=>{let m=MCe(p),b=p.maxLookahead||r,v=p.idx;if(Yae(v,l,m,b)[0].flat().length===0){let E=a.buildEmptyRepetitionError({topLevelRule:l,repetition:p});o.push({message:E,type:A0.NO_NON_EMPTY_LOOKAHEAD,ruleName:l.name})}})}),o}function Z1i(t,r,a,o){let l=[];return t.reduce((p,m,b)=>(r.definition[b].ignoreAmbiguities===!0||m.forEach(v=>{let T=[b];t.forEach((C,E)=>{b!==E&&ICe(C,v)&&r.definition[E].ignoreAmbiguities!==!0&&T.push(E)}),T.length>1&&!ICe(l,v)&&(l.push(v),p.push({alts:T,path:v}))}),p),[]).map(p=>{let m=p.alts.map(v=>v+1);return{message:o.buildAlternationAmbiguityError({topLevelRule:a,alternation:r,ambiguityIndices:m,prefixPath:p.path}),type:A0.AMBIGUOUS_ALTS,ruleName:a.name,occurrence:r.idx,alternatives:p.alts}})}function eyi(t,r,a,o){let l=t.reduce((f,p,m)=>{let b=p.map(v=>({idx:m,path:v}));return f.concat(b)},[]);return l.flatMap(f=>{if(r.definition[f.idx].ignoreAmbiguities===!0)return[];let m=f.idx,b=f.path;return l.filter(C=>r.definition[C.idx].ignoreAmbiguities!==!0&&C.idx{let E=[C.idx+1,m+1],S=r.idx===0?"":r.idx;return{message:o.buildAlternationPrefixAmbiguityError({topLevelRule:a,alternation:r,ambiguityIndices:E,prefixPath:C.path}),type:A0.AMBIGUOUS_PREFIX_ALTS,ruleName:a.name,occurrence:S,alternatives:E}})})}function tyi(t,r,a){let o=[],l=r.map(h=>h.name);return t.forEach(h=>{let f=h.name;if(l.includes(f)){let p=a.buildNamespaceConflictError(h);o.push({message:p,type:A0.CONFLICT_TOKENS_RULES_NAMESPACE,ruleName:f})}}),o}var Wht,Kae,Yht,Xae=ie(()=>{"use strict";w2();$b();AH();qae();QP();i(YHr,"validateLookahead");i(KHr,"validateGrammar");i(K1i,"validateDuplicateProductions");i(X1i,"identifyProductionForDuplicates");i(XHr,"getExtraProductionArgument");Wht=class extends Fb{static{i(this,"OccurrenceValidationCollector")}constructor(){super(...arguments),this.allProductions=[]}visitNonTerminal(r){this.allProductions.push(r)}visitOption(r){this.allProductions.push(r)}visitRepetitionWithSeparator(r){this.allProductions.push(r)}visitRepetitionMandatory(r){this.allProductions.push(r)}visitRepetitionMandatoryWithSeparator(r){this.allProductions.push(r)}visitRepetition(r){this.allProductions.push(r)}visitAlternation(r){this.allProductions.push(r)}visitTerminal(r){this.allProductions.push(r)}};i(Q1i,"validateRuleDoesNotAlreadyExist");i(QHr,"validateRuleIsOverridden");i(Kht,"validateNoLeftRecursion");i(NCe,"getFirstNoneTerminal");Kae=class extends Fb{static{i(this,"OrCollector")}constructor(){super(...arguments),this.alternations=[]}visitAlternation(r){this.alternations.push(r)}};i(JHr,"validateEmptyOrAlternative");i(ZHr,"validateAmbiguousAlternationAlternatives");Yht=class extends Fb{static{i(this,"RepetitionCollector")}constructor(){super(...arguments),this.allProductions=[]}visitRepetitionWithSeparator(r){this.allProductions.push(r)}visitRepetitionMandatory(r){this.allProductions.push(r)}visitRepetitionMandatoryWithSeparator(r){this.allProductions.push(r)}visitRepetition(r){this.allProductions.push(r)}};i(J1i,"validateTooManyAlts");i(eqr,"validateSomeNonEmptyLookaheadPath");i(Z1i,"checkAlternativesAmbiguities");i(eyi,"checkPrefixAlternativesAmbiguities");i(tyi,"checkTerminalAndNoneTerminalsNameSpace")});function tqr(t){let r=Object.assign({errMsgProvider:PHr},t),a={};return t.rules.forEach(o=>{a[o.name]=o}),BHr(a,r.errMsgProvider)}function rqr(t){var r;let a=(r=t.errMsgProvider)!==null&&r!==void 0?r:F4;return KHr(t.rules,t.tokenTypes,a,t.grammarName)}var nqr=ie(()=>{"use strict";FHr();Xae();EH();i(tqr,"resolveGrammar");i(rqr,"validateGrammar")});function l_(t){return lqr.includes(t.name)}var iqr,aqr,sqr,oqr,lqr,RH,tB,Qae,Jae,Zae,LH=ie(()=>{"use strict";iqr="MismatchedTokenException",aqr="NoViableAltException",sqr="EarlyExitException",oqr="NotAllInputParsedException",lqr=[iqr,aqr,sqr,oqr];Object.freeze(lqr);i(l_,"isRecognitionException");RH=class extends Error{static{i(this,"RecognitionException")}constructor(r,a){super(r),this.token=a,this.resyncedTokens=[],Object.setPrototypeOf(this,new.target.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},tB=class extends RH{static{i(this,"MismatchedTokenException")}constructor(r,a,o){super(r,a),this.previousToken=o,this.name=iqr}},Qae=class extends RH{static{i(this,"NoViableAltException")}constructor(r,a,o){super(r,a),this.previousToken=o,this.name=aqr}},Jae=class extends RH{static{i(this,"NotAllInputParsedException")}constructor(r,a){super(r,a),this.name=oqr}},Zae=class extends RH{static{i(this,"EarlyExitException")}constructor(r,a,o){super(r,a),this.previousToken=o,this.name=sqr}}});function ryi(t,r,a,o,l,h,f){var p,m,b;let v=o|l,T=(p=(m=this.firstAfterRepMap)[b=this.currRuleShortName])!==null&&p!==void 0?p:m[b]=[],C=T[v];if(C===void 0){let L=this.getCurrRuleFullName(),_=this.getGAstProductions()[L];C=new h(_,l).startWalking(),T[v]=C}let E=C.token,S=C.occurrence,R=C.isEndOfRule;this.RULE_STACK_IDX===0&&R&&E===void 0&&(E=v2,S=1),!(E===void 0||S===void 0)&&this.shouldInRepetitionRecoveryBeTried(E,S,f)&&this.tryInRepetitionRecovery(t,r,a,E)}var Xht,Jht,Qht,OCe,Zht=ie(()=>{"use strict";eB();qae();LH();Lht();w2();Xht={},Jht="InRuleRecoveryException",Qht=class extends Error{static{i(this,"InRuleRecoveryException")}constructor(r){super(r),this.name=Jht}},OCe=class{static{i(this,"Recoverable")}initRecoverable(r){this.firstAfterRepMap=[],this.resyncFollows={},this.recoveryEnabled=Object.hasOwn(r,"recoveryEnabled")?r.recoveryEnabled:Gb.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=ryi)}getTokenToInsert(r){let a=ZP(r,"",-1,-1,-1,-1,-1,-1);return a.isInsertedInRecovery=!0,a}canTokenTypeBeInsertedInRecovery(r){return!0}canTokenTypeBeDeletedInRecovery(r){return!0}tryInRepetitionRecovery(r,a,o,l){let h=this.findReSyncTokenType(),f=this.exportLexerState(),p=[],m=!1,b=this.LA_FAST(1),v=this.LA_FAST(1),T=i(()=>{let C=this.LA(0),E=this.errorMessageProvider.buildMismatchTokenMessage({expected:l,actual:b,previous:C,ruleName:this.getCurrRuleFullName()}),S=new tB(E,b,this.LA(0));S.resyncedTokens=p.slice(0,-1),this.SAVE_ERROR(S)},"generateErrorMessage");for(;!m;)if(this.tokenMatcher(v,l)){T();return}else if(o.call(this)){T(),r.apply(this,a);return}else this.tokenMatcher(v,h)?m=!0:(v=this.SKIP_TOKEN(),this.addToResyncTokens(v,p));this.importLexerState(f)}shouldInRepetitionRecoveryBeTried(r,a,o){return!(o===!1||this.tokenMatcher(this.LA_FAST(1),r)||this.isBackTracking()||this.canPerformInRuleRecovery(r,this.getFollowsForInRuleRecovery(r,a)))}getNextPossibleTokenTypes(r){let a=r.ruleStack[0],l=this.getGAstProductions()[a];return new ACe(l,r).startWalking()}getFollowsForInRuleRecovery(r,a){let o=this.getCurrentGrammarPath(r,a);return this.getNextPossibleTokenTypes(o)}tryInRuleRecovery(r,a){if(this.canRecoverWithSingleTokenInsertion(r,a))return this.getTokenToInsert(r);if(this.canRecoverWithSingleTokenDeletion(r)){let o=this.SKIP_TOKEN();return this.consumeToken(),o}throw new Qht("sad sad panda")}canPerformInRuleRecovery(r,a){return this.canRecoverWithSingleTokenInsertion(r,a)||this.canRecoverWithSingleTokenDeletion(r)}canRecoverWithSingleTokenInsertion(r,a){if(!this.canTokenTypeBeInsertedInRecovery(r)||a.length===0)return!1;let o=this.LA_FAST(1);return a.find(h=>this.tokenMatcher(o,h))!==void 0}canRecoverWithSingleTokenDeletion(r){return this.canTokenTypeBeDeletedInRecovery(r)?this.tokenMatcher(this.LA(2),r):!1}isInCurrentRuleReSyncSet(r){let a=this.getCurrFollowKey();return this.getFollowSetFromFollowKey(a).includes(r)}findReSyncTokenType(){let r=this.flattenFollowSet(),a=this.LA_FAST(1),o=2;for(;;){let l=r.find(h=>Uae(a,h));if(l!==void 0)return l;a=this.LA(o),o++}}getCurrFollowKey(){if(this.RULE_STACK_IDX===0)return Xht;let r=this.currRuleShortName,a=this.getLastExplicitRuleOccurrenceIndex(),o=this.getPreviousExplicitRuleShortName();return{ruleName:this.shortRuleNameToFullName(r),idxInCallingRule:a,inRule:this.shortRuleNameToFullName(o)}}buildFullFollowKeyStack(){let r=this.RULE_STACK,a=this.RULE_OCCURRENCE_STACK,o=this.RULE_STACK_IDX+1,l=new Array(o);for(let h=0;hthis.getFollowSetFromFollowKey(a)).flat()}getFollowSetFromFollowKey(r){if(r===Xht)return[v2];let a=r.ruleName+r.idxInCallingRule+dCe+r.inRule;return this.resyncFollows[a]}addToResyncTokens(r,a){return this.tokenMatcher(r,v2)||a.push(r),a}reSyncTo(r){let a=[],o=this.LA_FAST(1);for(;this.tokenMatcher(o,r)===!1;)o=this.SKIP_TOKEN(),this.addToResyncTokens(o,a);return a.slice(0,-1)}attemptInRepetitionRecovery(r,a,o,l,h,f,p){}getCurrentGrammarPath(r,a){let o=this.getHumanReadableRuleStack(),l=this.RULE_OCCURRENCE_STACK.slice(0,this.RULE_OCCURRENCE_STACK_IDX+1);return{ruleStack:o,occurrenceStack:l,lastTok:r,lastTokOccurrence:a}}getHumanReadableRuleStack(){let r=this.RULE_STACK_IDX+1,a=new Array(r);for(let o=0;o{"use strict"});var ese,tft=ie(()=>{"use strict";EH();w2();Xae();AH();ese=class{static{i(this,"LLkLookaheadStrategy")}constructor(r){var a;this.maxLookahead=(a=r?.maxLookahead)!==null&&a!==void 0?a:Gb.maxLookahead}validate(r){let a=this.validateNoLeftRecursion(r.rules);if(a.length===0){let o=this.validateEmptyOrAlternatives(r.rules),l=this.validateAmbiguousAlternationAlternatives(r.rules,this.maxLookahead),h=this.validateSomeNonEmptyLookaheadPath(r.rules,this.maxLookahead);return[...a,...o,...l,...h]}return a}validateNoLeftRecursion(r){return r.flatMap(a=>Kht(a,a,F4))}validateEmptyOrAlternatives(r){return r.flatMap(a=>JHr(a,F4))}validateAmbiguousAlternationAlternatives(r,a){return r.flatMap(o=>ZHr(o,a,F4))}validateSomeNonEmptyLookaheadPath(r,a){return eqr(r,a,F4)}buildLookaheadForAlternation(r){return jHr(r.prodOccurrence,r.rule,r.maxLookahead,r.hasPredicates,r.dynamicTokensEnabled,UHr)}buildLookaheadForOptional(r){return zHr(r.prodOccurrence,r.rule,r.maxLookahead,r.dynamicTokensEnabled,MCe(r.prodType),VHr)}}});function nyi(t){PCe.reset(),t.accept(PCe);let r=PCe.dslMethods;return PCe.reset(),r}var BCe,rft,PCe,cqr=ie(()=>{"use strict";w2();eft();$b();tft();BCe=class{static{i(this,"LooksAhead")}initLooksAhead(r){this.dynamicTokensEnabled=Object.hasOwn(r,"dynamicTokensEnabled")?r.dynamicTokensEnabled:Gb.dynamicTokensEnabled,this.maxLookahead=Object.hasOwn(r,"maxLookahead")?r.maxLookahead:Gb.maxLookahead,this.lookaheadStrategy=Object.hasOwn(r,"lookaheadStrategy")?r.lookaheadStrategy:new ese({maxLookahead:this.maxLookahead}),this.lookAheadFuncsCache=[],this.currRuleLookaheadFuncs=[]}preComputeLookaheadFunctions(r){r.forEach(a=>{this.TRACE_INIT(`${a.name} Rule Lookahead`,()=>{let{alternation:o,repetition:l,option:h,repetitionMandatory:f,repetitionMandatoryWithSeparator:p,repetitionWithSeparator:m}=nyi(a);o.forEach(b=>{let v=b.idx===0?"":b.idx;this.TRACE_INIT(`${b2(b)}${v}`,()=>{let T=this.lookaheadStrategy.buildLookaheadForAlternation({prodOccurrence:b.idx,rule:a,maxLookahead:b.maxLookahead||this.maxLookahead,hasPredicates:b.hasPredicates,dynamicTokensEnabled:this.dynamicTokensEnabled});this.setLaFuncCache(this.fullRuleNameToShort[a.name],256|b.idx,T)})}),l.forEach(b=>{this.computeLookaheadFunc(a,b.idx,768,"Repetition",b.maxLookahead,b2(b))}),h.forEach(b=>{this.computeLookaheadFunc(a,b.idx,512,"Option",b.maxLookahead,b2(b))}),f.forEach(b=>{this.computeLookaheadFunc(a,b.idx,1024,"RepetitionMandatory",b.maxLookahead,b2(b))}),p.forEach(b=>{this.computeLookaheadFunc(a,b.idx,1536,"RepetitionMandatoryWithSeparator",b.maxLookahead,b2(b))}),m.forEach(b=>{this.computeLookaheadFunc(a,b.idx,1280,"RepetitionWithSeparator",b.maxLookahead,b2(b))})})})}computeLookaheadFunc(r,a,o,l,h,f){this.TRACE_INIT(`${f}${a===0?"":a}`,()=>{let p=this.lookaheadStrategy.buildLookaheadForOptional({prodOccurrence:a,rule:r,maxLookahead:h||this.maxLookahead,dynamicTokensEnabled:this.dynamicTokensEnabled,prodType:l});this.setLaFuncCache(this.fullRuleNameToShort[r.name],o|a,p)})}setLaFuncCache(r,a,o){let l=this.lookAheadFuncsCache[r];l===void 0&&(l=[],this.lookAheadFuncsCache[r]=l),l[a]=o}},rft=class extends Fb{static{i(this,"DslMethodsCollectorVisitor")}constructor(){super(...arguments),this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}reset(){this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}}visitOption(r){this.dslMethods.option.push(r)}visitRepetitionWithSeparator(r){this.dslMethods.repetitionWithSeparator.push(r)}visitRepetitionMandatory(r){this.dslMethods.repetitionMandatory.push(r)}visitRepetitionMandatoryWithSeparator(r){this.dslMethods.repetitionMandatoryWithSeparator.push(r)}visitRepetition(r){this.dslMethods.repetition.push(r)}visitAlternation(r){this.dslMethods.alternation.push(r)}},PCe=new rft;i(nyi,"collectMethods")});function aft(t,r){t.startOffset===-1?(t.startOffset=r.startOffset,t.endOffset=r.endOffset):t.endOffset{"use strict";i(aft,"setNodeLocationOnlyOffset");i(sft,"setNodeLocationFull");i(uqr,"addTerminalToCst");i(hqr,"addNoneTerminalToCst")});function oft(t,r){Object.defineProperty(t,iyi,{enumerable:!1,configurable:!0,writable:!1,value:r})}var iyi,dqr=ie(()=>{"use strict";iyi="name";i(oft,"defineNameProp")});function ayi(t,r){let a=Object.keys(t),o=a.length;for(let l=0;lf.msg);throw Error(`Errors Detected in CST Visitor <${this.constructor.name}>: + ${h.join(` + +`).replace(/\n/g,` + `)}`)}},"validateVisitor")};return a.prototype=o,a.prototype.constructor=a,a._RULE_NAMES=r,a}function gqr(t,r,a){let o=i(function(){},"derivedConstructor");oft(o,t+"BaseSemanticsWithDefaults");let l=Object.create(a.prototype);return r.forEach(h=>{l[h]=ayi}),o.prototype=l,o.prototype.constructor=o,o}function syi(t,r){return oyi(t,r)}function oyi(t,r){return r.filter(l=>typeof t[l]!="function").map(l=>({msg:`Missing visitor method: <${l}> on ${t.constructor.name} CST Visitor.`,type:lft.MISSING_METHOD,methodName:l})).filter(Boolean)}var lft,mqr=ie(()=>{"use strict";dqr();i(ayi,"defaultVisit");i(pqr,"createBaseSemanticVisitorConstructor");i(gqr,"createBaseVisitorConstructorWithDefaults");(function(t){t[t.REDUNDANT_METHOD=0]="REDUNDANT_METHOD",t[t.MISSING_METHOD=1]="MISSING_METHOD"})(lft||(lft={}));i(syi,"validateVisitor");i(oyi,"validateMissingCstMethods")});var jCe,yqr=ie(()=>{"use strict";fqr();mqr();w2();jCe=class{static{i(this,"TreeBuilder")}initTreeBuilder(r){if(this.CST_STACK=[],this.outputCst=r.outputCst,this.nodeLocationTracking=Object.hasOwn(r,"nodeLocationTracking")?r.nodeLocationTracking:Gb.nodeLocationTracking,!this.outputCst)this.cstInvocationStateUpdate=()=>{},this.cstFinallyStateUpdate=()=>{},this.cstPostTerminal=()=>{},this.cstPostNonTerminal=()=>{},this.cstPostRule=()=>{};else if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=sft,this.setNodeLocationFromNode=sft,this.cstPostRule=()=>{},this.setInitialNodeLocation=this.setInitialNodeLocationFullRecovery):(this.setNodeLocationFromToken=()=>{},this.setNodeLocationFromNode=()=>{},this.cstPostRule=this.cstPostRuleFull,this.setInitialNodeLocation=this.setInitialNodeLocationFullRegular);else if(/onlyOffset/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=aft,this.setNodeLocationFromNode=aft,this.cstPostRule=()=>{},this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRecovery):(this.setNodeLocationFromToken=()=>{},this.setNodeLocationFromNode=()=>{},this.cstPostRule=this.cstPostRuleOnlyOffset,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRegular);else if(/none/i.test(this.nodeLocationTracking))this.setNodeLocationFromToken=()=>{},this.setNodeLocationFromNode=()=>{},this.cstPostRule=()=>{},this.setInitialNodeLocation=()=>{};else throw Error(`Invalid config option: "${r.nodeLocationTracking}"`)}setInitialNodeLocationOnlyOffsetRecovery(r){r.location={startOffset:-1,endOffset:-1}}setInitialNodeLocationOnlyOffsetRegular(r){r.location={startOffset:this.LA_FAST(1).startOffset,endOffset:-1}}setInitialNodeLocationFullRecovery(r){r.location={startOffset:-1,startLine:-1,startColumn:-1,endOffset:-1,endLine:-1,endColumn:-1}}setInitialNodeLocationFullRegular(r){let a=this.LA_FAST(1);r.location={startOffset:a.startOffset,startLine:a.startLine,startColumn:a.startColumn,endOffset:-1,endLine:-1,endColumn:-1}}cstInvocationStateUpdate(r){let a={name:r,children:Object.create(null)};this.setInitialNodeLocation(a),this.CST_STACK.push(a)}cstFinallyStateUpdate(){this.CST_STACK.pop()}cstPostRuleFull(r){let a=this.LA(0),o=r.location;o.startOffset!==-1&&o.startOffset<=a.startOffset?(o.endOffset=a.endOffset,o.endLine=a.endLine,o.endColumn=a.endColumn):(o.startOffset=-1,o.startLine=-1,o.startColumn=-1)}cstPostRuleOnlyOffset(r){let a=this.LA(0),o=r.location;o.startOffset!==-1&&o.startOffset<=a.startOffset?o.endOffset=a.endOffset:o.startOffset=-1}cstPostTerminal(r,a){let o=this.CST_STACK[this.CST_STACK.length-1];uqr(o,a,r),this.setNodeLocationFromToken(o.location,a)}cstPostNonTerminal(r,a){let o=this.CST_STACK[this.CST_STACK.length-1];hqr(o,a,r),this.setNodeLocationFromNode(o.location,r.location)}get currCSTNode(){let r=this;return r.CST_STACK[r.CST_STACK.length-1]}getBaseCstVisitorConstructor(){if(this.baseCstVisitorConstructor===void 0){let r=pqr(this.className,Object.keys(this.gastProductionsCache));return this.baseCstVisitorConstructor=r,r}return this.baseCstVisitorConstructor}getBaseCstVisitorConstructorWithDefaults(){if(this.baseCstVisitorWithDefaultsConstructor===void 0){let r=gqr(this.className,Object.keys(this.gastProductionsCache),this.getBaseCstVisitorConstructor());return this.baseCstVisitorWithDefaultsConstructor=r,r}return this.baseCstVisitorWithDefaultsConstructor}getPreviousExplicitRuleShortName(){return this.RULE_STACK[this.RULE_STACK_IDX-1]}getLastExplicitRuleOccurrenceIndex(){return this.RULE_OCCURRENCE_STACK[this.RULE_OCCURRENCE_STACK_IDX]}}});var zCe,bqr=ie(()=>{"use strict";w2();zCe=class{static{i(this,"LexerAdapter")}initLexerAdapter(){this.tokVector=[],this.tokVectorLength=0,this.currIdx=-1}set input(r){if(this.selfAnalysisDone!==!0)throw Error("Missing invocation at the end of the Parser's constructor.");this.reset(),this.tokVector=r,this.tokVectorLength=r.length}get input(){return this.tokVector}SKIP_TOKEN(){return this.currIdx<=this.tokVectorLength-2?(this.consumeToken(),this.LA_FAST(1)):e8}LA_FAST(r){let a=this.currIdx+r;return this.tokVector[a]}LA(r){let a=this.currIdx+r;return a<0||this.tokVectorLength<=a?e8:this.tokVector[a]}consumeToken(){this.currIdx++}exportLexerState(){return this.currIdx}importLexerState(r){this.currIdx=r}resetLexerState(){this.currIdx=-1}moveToTerminatedState(){this.currIdx=this.tokVectorLength-1}getLexerPosition(){return this.exportLexerState()}}});var UCe,vqr=ie(()=>{"use strict";LH();w2();EH();Xae();$b();UCe=class{static{i(this,"RecognizerApi")}ACTION(r){return r.call(this)}consume(r,a,o){return this.consumeInternal(a,r,o)}subrule(r,a,o){return this.subruleInternal(a,r,o)}option(r,a){return this.optionInternal(a,r)}or(r,a){return this.orInternal(a,r)}many(r,a){return this.manyInternal(r,a)}atLeastOne(r,a){return this.atLeastOneInternal(r,a)}CONSUME(r,a){return this.consumeInternal(r,0,a)}CONSUME1(r,a){return this.consumeInternal(r,1,a)}CONSUME2(r,a){return this.consumeInternal(r,2,a)}CONSUME3(r,a){return this.consumeInternal(r,3,a)}CONSUME4(r,a){return this.consumeInternal(r,4,a)}CONSUME5(r,a){return this.consumeInternal(r,5,a)}CONSUME6(r,a){return this.consumeInternal(r,6,a)}CONSUME7(r,a){return this.consumeInternal(r,7,a)}CONSUME8(r,a){return this.consumeInternal(r,8,a)}CONSUME9(r,a){return this.consumeInternal(r,9,a)}SUBRULE(r,a){return this.subruleInternal(r,0,a)}SUBRULE1(r,a){return this.subruleInternal(r,1,a)}SUBRULE2(r,a){return this.subruleInternal(r,2,a)}SUBRULE3(r,a){return this.subruleInternal(r,3,a)}SUBRULE4(r,a){return this.subruleInternal(r,4,a)}SUBRULE5(r,a){return this.subruleInternal(r,5,a)}SUBRULE6(r,a){return this.subruleInternal(r,6,a)}SUBRULE7(r,a){return this.subruleInternal(r,7,a)}SUBRULE8(r,a){return this.subruleInternal(r,8,a)}SUBRULE9(r,a){return this.subruleInternal(r,9,a)}OPTION(r){return this.optionInternal(r,0)}OPTION1(r){return this.optionInternal(r,1)}OPTION2(r){return this.optionInternal(r,2)}OPTION3(r){return this.optionInternal(r,3)}OPTION4(r){return this.optionInternal(r,4)}OPTION5(r){return this.optionInternal(r,5)}OPTION6(r){return this.optionInternal(r,6)}OPTION7(r){return this.optionInternal(r,7)}OPTION8(r){return this.optionInternal(r,8)}OPTION9(r){return this.optionInternal(r,9)}OR(r){return this.orInternal(r,0)}OR1(r){return this.orInternal(r,1)}OR2(r){return this.orInternal(r,2)}OR3(r){return this.orInternal(r,3)}OR4(r){return this.orInternal(r,4)}OR5(r){return this.orInternal(r,5)}OR6(r){return this.orInternal(r,6)}OR7(r){return this.orInternal(r,7)}OR8(r){return this.orInternal(r,8)}OR9(r){return this.orInternal(r,9)}MANY(r){this.manyInternal(0,r)}MANY1(r){this.manyInternal(1,r)}MANY2(r){this.manyInternal(2,r)}MANY3(r){this.manyInternal(3,r)}MANY4(r){this.manyInternal(4,r)}MANY5(r){this.manyInternal(5,r)}MANY6(r){this.manyInternal(6,r)}MANY7(r){this.manyInternal(7,r)}MANY8(r){this.manyInternal(8,r)}MANY9(r){this.manyInternal(9,r)}MANY_SEP(r){this.manySepFirstInternal(0,r)}MANY_SEP1(r){this.manySepFirstInternal(1,r)}MANY_SEP2(r){this.manySepFirstInternal(2,r)}MANY_SEP3(r){this.manySepFirstInternal(3,r)}MANY_SEP4(r){this.manySepFirstInternal(4,r)}MANY_SEP5(r){this.manySepFirstInternal(5,r)}MANY_SEP6(r){this.manySepFirstInternal(6,r)}MANY_SEP7(r){this.manySepFirstInternal(7,r)}MANY_SEP8(r){this.manySepFirstInternal(8,r)}MANY_SEP9(r){this.manySepFirstInternal(9,r)}AT_LEAST_ONE(r){this.atLeastOneInternal(0,r)}AT_LEAST_ONE1(r){return this.atLeastOneInternal(1,r)}AT_LEAST_ONE2(r){this.atLeastOneInternal(2,r)}AT_LEAST_ONE3(r){this.atLeastOneInternal(3,r)}AT_LEAST_ONE4(r){this.atLeastOneInternal(4,r)}AT_LEAST_ONE5(r){this.atLeastOneInternal(5,r)}AT_LEAST_ONE6(r){this.atLeastOneInternal(6,r)}AT_LEAST_ONE7(r){this.atLeastOneInternal(7,r)}AT_LEAST_ONE8(r){this.atLeastOneInternal(8,r)}AT_LEAST_ONE9(r){this.atLeastOneInternal(9,r)}AT_LEAST_ONE_SEP(r){this.atLeastOneSepFirstInternal(0,r)}AT_LEAST_ONE_SEP1(r){this.atLeastOneSepFirstInternal(1,r)}AT_LEAST_ONE_SEP2(r){this.atLeastOneSepFirstInternal(2,r)}AT_LEAST_ONE_SEP3(r){this.atLeastOneSepFirstInternal(3,r)}AT_LEAST_ONE_SEP4(r){this.atLeastOneSepFirstInternal(4,r)}AT_LEAST_ONE_SEP5(r){this.atLeastOneSepFirstInternal(5,r)}AT_LEAST_ONE_SEP6(r){this.atLeastOneSepFirstInternal(6,r)}AT_LEAST_ONE_SEP7(r){this.atLeastOneSepFirstInternal(7,r)}AT_LEAST_ONE_SEP8(r){this.atLeastOneSepFirstInternal(8,r)}AT_LEAST_ONE_SEP9(r){this.atLeastOneSepFirstInternal(9,r)}RULE(r,a,o=DH){if(this.definedRulesNames.includes(r)){let f={message:F4.buildDuplicateRuleNameError({topLevelRule:r,grammarName:this.className}),type:A0.DUPLICATE_RULE_NAME,ruleName:r};this.definitionErrors.push(f)}this.definedRulesNames.push(r);let l=this.defineRule(r,a,o);return this[r]=l,l}OVERRIDE_RULE(r,a,o=DH){let l=QHr(r,this.definedRulesNames,this.className);this.definitionErrors=this.definitionErrors.concat(l);let h=this.defineRule(r,a,o);return this[r]=h,h}BACKTRACK(r,a){var o;let l=(o=r.coreRule)!==null&&o!==void 0?o:r;return function(){this.isBackTrackingStack.push(1);let h=this.saveRecogState();try{return l.apply(this,a),!0}catch(f){if(l_(f))return!1;throw f}finally{this.reloadRecogState(h),this.isBackTrackingStack.pop()}}}getGAstProductions(){return this.gastProductionsCache}getSerializedGastProductions(){return uCe(Object.values(this.gastProductionsCache))}}});var VCe,wqr=ie(()=>{"use strict";eft();LH();AH();qae();w2();Zht();eB();QP();VCe=class{static{i(this,"RecognizerEngine")}initRecognizerEngine(r,a){if(this.className=this.constructor.name,this.shortRuleNameToFull=[],this.fullRuleNameToShort={},this.ruleShortNameIdx=0,this.tokenMatcher=CH,this.subruleIdx=0,this.currRuleShortName=-1,this.definedRulesNames=[],this.tokensMap={},this.isBackTrackingStack=[],this.RULE_STACK=[],this.RULE_STACK_IDX=-1,this.RULE_OCCURRENCE_STACK=[],this.RULE_OCCURRENCE_STACK_IDX=-1,this.gastProductionsCache={},Object.hasOwn(a,"serializedGrammar"))throw Error(`The Parser's configuration can no longer contain a property. + See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0 + For Further details.`);if(Array.isArray(r)){if(r.length===0)throw Error(`A Token Vocabulary cannot be empty. + Note that the first argument for the parser constructor + is no longer a Token vector (since v4.0).`);if(typeof r[0].startOffset=="number")throw Error(`The Parser constructor no longer accepts a token vector as the first argument. + See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0 + For Further details.`)}if(Array.isArray(r))this.tokensMap=r.reduce((h,f)=>(h[f.name]=f,h),{});else if(Object.hasOwn(r,"modes")&&Object.values(r.modes).flat().every(AHr)){let h=Object.values(r.modes).flat(),f=[...new Set(h)];this.tokensMap=f.reduce((p,m)=>(p[m.name]=m,p),{})}else if(typeof r=="object"&&r!==null)this.tokensMap=Object.assign({},r);else throw new Error(" argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap.EOF=v2;let l=(Object.hasOwn(r,"modes")?Object.values(r.modes).flat():Object.values(r)).every(h=>{var f;return((f=h.categoryMatches)===null||f===void 0?void 0:f.length)==0});this.tokenMatcher=l?CH:JA,ZA(Object.values(this.tokensMap))}defineRule(r,a,o){if(this.selfAnalysisDone)throw Error(`Grammar rule <${r}> may not be defined after the 'performSelfAnalysis' method has been called' +Make sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.`);let l=Object.hasOwn(o,"resyncEnabled")?o.resyncEnabled:DH.resyncEnabled,h=Object.hasOwn(o,"recoveryValueFunc")?o.recoveryValueFunc:DH.recoveryValueFunc,f=this.ruleShortNameIdx++;this.shortRuleNameToFull[f]=r,this.fullRuleNameToShort[r]=f;let p;return this.outputCst===!0?p=i(function(...T){try{this.ruleInvocationStateUpdate(f,r,this.subruleIdx),a.apply(this,T);let C=this.CST_STACK[this.CST_STACK.length-1];return this.cstPostRule(C),C}catch(C){return this.invokeRuleCatch(C,l,h)}finally{this.ruleFinallyStateUpdate()}},"invokeRuleWithTry"):p=i(function(...T){try{return this.ruleInvocationStateUpdate(f,r,this.subruleIdx),a.apply(this,T)}catch(C){return this.invokeRuleCatch(C,l,h)}finally{this.ruleFinallyStateUpdate()}},"invokeRuleWithTryCst"),Object.assign(i(function(...T){this.onBeforeParse(r);try{return p.apply(this,T)}finally{this.onAfterParse(r)}},"rootRule"),{ruleName:r,originalGrammarAction:a,coreRule:p})}invokeRuleCatch(r,a,o){let l=this.RULE_STACK_IDX===0,h=a&&!this.isBackTracking()&&this.recoveryEnabled;if(l_(r)){let f=r;if(h){let p=this.findReSyncTokenType();if(this.isInCurrentRuleReSyncSet(p))if(f.resyncedTokens=this.reSyncTo(p),this.outputCst){let m=this.CST_STACK[this.CST_STACK.length-1];return m.recoveredNode=!0,m}else return o(r);else{if(this.outputCst){let m=this.CST_STACK[this.CST_STACK.length-1];m.recoveredNode=!0,f.partialCstResult=m}throw f}}else{if(l)return this.moveToTerminatedState(),o(r);throw f}}else throw r}optionInternal(r,a){let o=512|a;return this.optionInternalLogic(r,a,o)}optionInternalLogic(r,a,o){let l=this.currRuleLookaheadFuncs[o],h;if(typeof r!="function"){h=r.DEF;let f=r.GATE;if(f!==void 0){let p=l;l=i(()=>f.call(this)&&p.call(this),"lookAheadFunc")}}else h=r;if(l.call(this)===!0)return h.call(this)}atLeastOneInternal(r,a){let o=1024|r;return this.atLeastOneInternalLogic(r,a,o)}atLeastOneInternalLogic(r,a,o){let l=this.currRuleLookaheadFuncs[o],h;if(typeof a!="function"){h=a.DEF;let f=a.GATE;if(f!==void 0){let p=l;l=i(()=>f.call(this)&&p.call(this),"lookAheadFunc")}}else h=a;if(l.call(this)===!0){let f=this.doSingleRepetition(h);for(;l.call(this)===!0&&f===!0;)f=this.doSingleRepetition(h)}else throw this.raiseEarlyExitException(r,$d.REPETITION_MANDATORY,a.ERR_MSG);this.attemptInRepetitionRecovery(this.atLeastOneInternal,[r,a],l,1024,r,LCe)}atLeastOneSepFirstInternal(r,a){let o=1536|r;this.atLeastOneSepFirstInternalLogic(r,a,o)}atLeastOneSepFirstInternalLogic(r,a,o){let l=a.DEF,h=a.SEP;if(this.currRuleLookaheadFuncs[o].call(this)===!0){l.call(this);let p=i(()=>this.tokenMatcher(this.LA_FAST(1),h),"separatorLookAheadFunc");for(;this.tokenMatcher(this.LA_FAST(1),h)===!0;)this.CONSUME(h),l.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[r,h,p,l,Hae],p,1536,r,Hae)}else throw this.raiseEarlyExitException(r,$d.REPETITION_MANDATORY_WITH_SEPARATOR,a.ERR_MSG)}manyInternal(r,a){let o=768|r;return this.manyInternalLogic(r,a,o)}manyInternalLogic(r,a,o){let l=this.currRuleLookaheadFuncs[o],h;if(typeof a!="function"){h=a.DEF;let p=a.GATE;if(p!==void 0){let m=l;l=i(()=>p.call(this)&&m.call(this),"lookaheadFunction")}}else h=a;let f=!0;for(;l.call(this)===!0&&f===!0;)f=this.doSingleRepetition(h);this.attemptInRepetitionRecovery(this.manyInternal,[r,a],l,768,r,RCe,f)}manySepFirstInternal(r,a){let o=1280|r;this.manySepFirstInternalLogic(r,a,o)}manySepFirstInternalLogic(r,a,o){let l=a.DEF,h=a.SEP;if(this.currRuleLookaheadFuncs[o].call(this)===!0){l.call(this);let p=i(()=>this.tokenMatcher(this.LA_FAST(1),h),"separatorLookAheadFunc");for(;this.tokenMatcher(this.LA_FAST(1),h)===!0;)this.CONSUME(h),l.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[r,h,p,l,Vae],p,1280,r,Vae)}}repetitionSepSecondInternal(r,a,o,l,h){for(;o();)this.CONSUME(a),l.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[r,a,o,l,h],o,1536,r,h)}doSingleRepetition(r){let a=this.getLexerPosition();return r.call(this),this.getLexerPosition()>a}orInternal(r,a){let o=256|a,l=Array.isArray(r)?r:r.DEF,f=this.currRuleLookaheadFuncs[o].call(this,l);if(f!==void 0)return l[f].ALT.call(this);this.raiseNoAltException(a,r.ERR_MSG)}ruleFinallyStateUpdate(){this.RULE_STACK_IDX--,this.RULE_OCCURRENCE_STACK_IDX--,this.RULE_STACK_IDX>=0&&(this.currRuleShortName=this.RULE_STACK[this.RULE_STACK_IDX],this.currRuleLookaheadFuncs=this.lookAheadFuncsCache[this.currRuleShortName]),this.cstFinallyStateUpdate()}subruleInternal(r,a,o){let l;try{let h=o!==void 0?o.ARGS:void 0;return this.subruleIdx=a,l=r.coreRule.apply(this,h),this.cstPostNonTerminal(l,o!==void 0&&o.LABEL!==void 0?o.LABEL:r.ruleName),l}catch(h){throw this.subruleInternalError(h,o,r.ruleName)}}subruleInternalError(r,a,o){throw l_(r)&&r.partialCstResult!==void 0&&(this.cstPostNonTerminal(r.partialCstResult,a!==void 0&&a.LABEL!==void 0?a.LABEL:o),delete r.partialCstResult),r}consumeInternal(r,a,o){let l;try{let h=this.LA_FAST(1);this.tokenMatcher(h,r)===!0?(this.consumeToken(),l=h):this.consumeInternalError(r,h,o)}catch(h){l=this.consumeInternalRecovery(r,a,h)}return this.cstPostTerminal(o!==void 0&&o.LABEL!==void 0?o.LABEL:r.name,l),l}consumeInternalError(r,a,o){let l,h=this.LA(0);throw o!==void 0&&o.ERR_MSG?l=o.ERR_MSG:l=this.errorMessageProvider.buildMismatchTokenMessage({expected:r,actual:a,previous:h,ruleName:this.getCurrRuleFullName()}),this.SAVE_ERROR(new tB(l,a,h))}consumeInternalRecovery(r,a,o){if(this.recoveryEnabled&&o.name==="MismatchedTokenException"&&!this.isBackTracking()){let l=this.getFollowsForInRuleRecovery(r,a);try{return this.tryInRuleRecovery(r,l)}catch(h){throw h.name===Jht?o:h}}else throw o}saveRecogState(){let r=this.errors,a=this.RULE_STACK.slice(0,this.RULE_STACK_IDX+1);return{errors:r,lexerState:this.exportLexerState(),RULE_STACK:a,CST_STACK:this.CST_STACK}}reloadRecogState(r){this.errors=r.errors,this.importLexerState(r.lexerState);let a=r.RULE_STACK;for(let o=0;o=0&&(this.currRuleShortName=this.RULE_STACK[this.RULE_STACK_IDX],this.currRuleLookaheadFuncs=this.lookAheadFuncsCache[this.currRuleShortName])}ruleInvocationStateUpdate(r,a,o){this.RULE_OCCURRENCE_STACK[++this.RULE_OCCURRENCE_STACK_IDX]=o,this.RULE_STACK[++this.RULE_STACK_IDX]=r,this.currRuleShortName=r,this.currRuleLookaheadFuncs=this.lookAheadFuncsCache[r],this.cstInvocationStateUpdate(a)}isBackTracking(){return this.isBackTrackingStack.length!==0}getCurrRuleFullName(){let r=this.currRuleShortName;return this.shortRuleNameToFull[r]}shortRuleNameToFullName(r){return this.shortRuleNameToFull[r]}isAtEndOfInput(){return this.tokenMatcher(this.LA(1),v2)}reset(){this.resetLexerState(),this.subruleIdx=0,this.currRuleShortName=-1,this.currRuleLookaheadFuncs=[],this.isBackTrackingStack=[],this.errors=[],this.RULE_STACK_IDX=-1,this.RULE_OCCURRENCE_STACK_IDX=-1,this.CST_STACK=[]}onBeforeParse(r){for(let a=0;a{"use strict";LH();AH();w2();HCe=class{static{i(this,"ErrorHandler")}initErrorHandler(r){this._errors=[],this.errorMessageProvider=Object.hasOwn(r,"errorMessageProvider")?r.errorMessageProvider:Gb.errorMessageProvider}SAVE_ERROR(r){if(l_(r))return r.context={ruleStack:this.getHumanReadableRuleStack(),ruleOccurrenceStack:this.RULE_OCCURRENCE_STACK.slice(0,this.RULE_OCCURRENCE_STACK_IDX+1)},this._errors.push(r),r;throw Error("Trying to save an Error which is not a RecognitionException")}get errors(){return[...this._errors]}set errors(r){this._errors=r}raiseEarlyExitException(r,a,o){let l=this.getCurrRuleFullName(),h=this.getGAstProductions()[l],p=Yae(r,h,a,this.maxLookahead)[0],m=[];for(let v=1;v<=this.maxLookahead;v++)m.push(this.LA(v));let b=this.errorMessageProvider.buildEarlyExitMessage({expectedIterationPaths:p,actual:m,previous:this.LA(0),customUserDescription:o,ruleName:l});throw this.SAVE_ERROR(new Zae(b,this.LA(1),this.LA(0)))}raiseNoAltException(r,a){let o=this.getCurrRuleFullName(),l=this.getGAstProductions()[o],h=Wae(r,l,this.maxLookahead),f=[];for(let b=1;b<=this.maxLookahead;b++)f.push(this.LA(b));let p=this.LA(0),m=this.errorMessageProvider.buildNoViableAltMessage({expectedPathsPerAlt:h,actual:f,previous:p,customUserDescription:a,ruleName:this.getCurrRuleFullName()});throw this.SAVE_ERROR(new Qae(m,this.LA(1),p))}}});function rse(t,r,a,o=!1){WCe(a);let l=this.recordingProdStack.at(-1),h=typeof r=="function"?r:r.DEF,f=new t({definition:[],idx:a});return o&&(f.separator=r.SEP),Object.hasOwn(r,"MAX_LOOKAHEAD")&&(f.maxLookahead=r.MAX_LOOKAHEAD),this.recordingProdStack.push(f),h.call(this),l.definition.push(f),this.recordingProdStack.pop(),YCe}function cyi(t,r){WCe(r);let a=this.recordingProdStack.at(-1),o=Array.isArray(t)===!1,l=o===!1?t:t.DEF,h=new Cp({definition:[],idx:r,ignoreAmbiguities:o&&t.IGNORE_AMBIGUITIES===!0});Object.hasOwn(t,"MAX_LOOKAHEAD")&&(h.maxLookahead=t.MAX_LOOKAHEAD);let f=l.some(p=>typeof p.GATE=="function");return h.hasPredicates=f,a.definition.push(h),l.forEach(p=>{let m=new cf({definition:[]});h.definition.push(m),Object.hasOwn(p,"IGNORE_AMBIGUITIES")?m.ignoreAmbiguities=p.IGNORE_AMBIGUITIES:Object.hasOwn(p,"GATE")&&(m.ignoreAmbiguities=!0),this.recordingProdStack.push(m),p.ALT.call(this),this.recordingProdStack.pop()}),YCe}function Cqr(t){return t===0?"":`${t}`}function WCe(t){if(t<0||t>kqr){let r=new Error(`Invalid DSL Method idx value: <${t}> + Idx value must be a none negative value smaller than ${kqr+1}`);throw r.KNOWN_RECORDER_ERROR=!0,r}}var YCe,Tqr,kqr,Eqr,Sqr,lyi,qCe,Aqr=ie(()=>{"use strict";$b();jae();QP();eB();w2();YCe={description:"This Object indicates the Parser is during Recording Phase"};Object.freeze(YCe);Tqr=!0,kqr=255,Eqr=zs({name:"RECORDING_PHASE_TOKEN",pattern:Zf.NA});ZA([Eqr]);Sqr=ZP(Eqr,`This IToken indicates the Parser is in Recording Phase + See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,-1,-1,-1,-1,-1,-1);Object.freeze(Sqr);lyi={name:`This CSTNode indicates the Parser is in Recording Phase + See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,children:{}},qCe=class{static{i(this,"GastRecorder")}initGastRecorder(r){this.recordingProdStack=[],this.RECORDING_PHASE=!1}enableRecording(){this.RECORDING_PHASE=!0,this.TRACE_INIT("Enable Recording",()=>{for(let r=0;r<10;r++){let a=r>0?r:"";this[`CONSUME${a}`]=function(o,l){return this.consumeInternalRecord(o,r,l)},this[`SUBRULE${a}`]=function(o,l){return this.subruleInternalRecord(o,r,l)},this[`OPTION${a}`]=function(o){return this.optionInternalRecord(o,r)},this[`OR${a}`]=function(o){return this.orInternalRecord(o,r)},this[`MANY${a}`]=function(o){this.manyInternalRecord(r,o)},this[`MANY_SEP${a}`]=function(o){this.manySepFirstInternalRecord(r,o)},this[`AT_LEAST_ONE${a}`]=function(o){this.atLeastOneInternalRecord(r,o)},this[`AT_LEAST_ONE_SEP${a}`]=function(o){this.atLeastOneSepFirstInternalRecord(r,o)}}this.consume=function(r,a,o){return this.consumeInternalRecord(a,r,o)},this.subrule=function(r,a,o){return this.subruleInternalRecord(a,r,o)},this.option=function(r,a){return this.optionInternalRecord(a,r)},this.or=function(r,a){return this.orInternalRecord(a,r)},this.many=function(r,a){this.manyInternalRecord(r,a)},this.atLeastOne=function(r,a){this.atLeastOneInternalRecord(r,a)},this.ACTION=this.ACTION_RECORD,this.BACKTRACK=this.BACKTRACK_RECORD,this.LA=this.LA_RECORD})}disableRecording(){this.RECORDING_PHASE=!1,this.TRACE_INIT("Deleting Recording methods",()=>{let r=this;for(let a=0;a<10;a++){let o=a>0?a:"";delete r[`CONSUME${o}`],delete r[`SUBRULE${o}`],delete r[`OPTION${o}`],delete r[`OR${o}`],delete r[`MANY${o}`],delete r[`MANY_SEP${o}`],delete r[`AT_LEAST_ONE${o}`],delete r[`AT_LEAST_ONE_SEP${o}`]}delete r.consume,delete r.subrule,delete r.option,delete r.or,delete r.many,delete r.atLeastOne,delete r.ACTION,delete r.BACKTRACK,delete r.LA})}ACTION_RECORD(r){}BACKTRACK_RECORD(r,a){return()=>!0}LA_RECORD(r){return e8}topLevelRuleRecord(r,a){try{let o=new Bb({definition:[],name:r});return o.name=r,this.recordingProdStack.push(o),a.call(this),this.recordingProdStack.pop(),o}catch(o){if(o.KNOWN_RECORDER_ERROR!==!0)try{o.message=o.message+` + This error was thrown during the "grammar recording phase" For more info see: + https://chevrotain.io/docs/guide/internals.html#grammar-recording`}catch{throw o}throw o}}optionInternalRecord(r,a){return rse.call(this,Cf,r,a)}atLeastOneInternalRecord(r,a){rse.call(this,ng,a,r)}atLeastOneSepFirstInternalRecord(r,a){rse.call(this,ig,a,r,Tqr)}manyInternalRecord(r,a){rse.call(this,Uu,a,r)}manySepFirstInternalRecord(r,a){rse.call(this,kp,a,r,Tqr)}orInternalRecord(r,a){return cyi.call(this,r,a)}subruleInternalRecord(r,a,o){if(WCe(a),!r||!Object.hasOwn(r,"ruleName")){let p=new Error(` argument is invalid expecting a Parser method reference but got: <${JSON.stringify(r)}> + inside top level rule: <${this.recordingProdStack[0].name}>`);throw p.KNOWN_RECORDER_ERROR=!0,p}let l=this.recordingProdStack.at(-1),h=r.ruleName,f=new lf({idx:a,nonTerminalName:h,label:o?.LABEL,referencedRule:void 0});return l.definition.push(f),this.outputCst?lyi:YCe}consumeInternalRecord(r,a,o){if(WCe(a),!$ht(r)){let f=new Error(` argument is invalid expecting a TokenType reference but got: <${JSON.stringify(r)}> + inside top level rule: <${this.recordingProdStack[0].name}>`);throw f.KNOWN_RECORDER_ERROR=!0,f}let l=this.recordingProdStack.at(-1),h=new Rc({idx:a,terminalType:r,label:o?.LABEL});return l.definition.push(h),Sqr}};i(rse,"recordProd");i(cyi,"recordOrProd");i(Cqr,"getIdxSuffix");i(WCe,"assertMethodIdxIsValid")});var KCe,Rqr=ie(()=>{"use strict";vH();w2();KCe=class{static{i(this,"PerformanceTracer")}initPerformanceTracer(r){if(Object.hasOwn(r,"traceInitPerf")){let a=r.traceInitPerf,o=typeof a=="number";this.traceInitMaxIdent=o?a:1/0,this.traceInitPerf=o?a>0:a}else this.traceInitMaxIdent=0,this.traceInitPerf=Gb.traceInitPerf;this.traceInitIndent=-1}TRACE_INIT(r,a){if(this.traceInitPerf===!0){this.traceInitIndent++;let o=new Array(this.traceInitIndent+1).join(" ");this.traceInitIndent <${r}>`);let{time:l,value:h}=Iae(a),f=l>10?console.warn:console.log;return this.traceInitIndent time: ${l}ms`),this.traceInitIndent--,h}else return a()}}});function Lqr(t,r){r.forEach(a=>{let o=a.prototype;Object.getOwnPropertyNames(o).forEach(l=>{if(l==="constructor")return;let h=Object.getOwnPropertyDescriptor(o,l);h&&(h.get||h.set)?Object.defineProperty(t.prototype,l,h):t.prototype[l]=a.prototype[l]})})}var Dqr=ie(()=>{"use strict";i(Lqr,"applyMixins")});var e8,Gb,DH,A0,nse,ise,w2=ie(()=>{"use strict";vH();aHr();eB();EH();nqr();Zht();cqr();yqr();bqr();vqr();wqr();xqr();Aqr();Rqr();Dqr();Xae();e8=ZP(v2,"",-1,-1,-1,-1,-1,-1);Object.freeze(e8);Gb=Object.freeze({recoveryEnabled:!1,maxLookahead:3,dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:SCe,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1}),DH=Object.freeze({recoveryValueFunc:i(()=>{},"recoveryValueFunc"),resyncEnabled:!0});(function(t){t[t.INVALID_RULE_NAME=0]="INVALID_RULE_NAME",t[t.DUPLICATE_RULE_NAME=1]="DUPLICATE_RULE_NAME",t[t.INVALID_RULE_OVERRIDE=2]="INVALID_RULE_OVERRIDE",t[t.DUPLICATE_PRODUCTIONS=3]="DUPLICATE_PRODUCTIONS",t[t.UNRESOLVED_SUBRULE_REF=4]="UNRESOLVED_SUBRULE_REF",t[t.LEFT_RECURSION=5]="LEFT_RECURSION",t[t.NONE_LAST_EMPTY_ALT=6]="NONE_LAST_EMPTY_ALT",t[t.AMBIGUOUS_ALTS=7]="AMBIGUOUS_ALTS",t[t.CONFLICT_TOKENS_RULES_NAMESPACE=8]="CONFLICT_TOKENS_RULES_NAMESPACE",t[t.INVALID_TOKEN_NAME=9]="INVALID_TOKEN_NAME",t[t.NO_NON_EMPTY_LOOKAHEAD=10]="NO_NON_EMPTY_LOOKAHEAD",t[t.AMBIGUOUS_PREFIX_ALTS=11]="AMBIGUOUS_PREFIX_ALTS",t[t.TOO_MANY_ALTS=12]="TOO_MANY_ALTS",t[t.CUSTOM_LOOKAHEAD_VALIDATION=13]="CUSTOM_LOOKAHEAD_VALIDATION"})(A0||(A0={}));nse=class t{static{i(this,"Parser")}static performSelfAnalysis(r){throw Error("The **static** `performSelfAnalysis` method has been deprecated. \nUse the **instance** method with the same name instead.")}performSelfAnalysis(){this.TRACE_INIT("performSelfAnalysis",()=>{let r;this.selfAnalysisDone=!0;let a=this.className;this.TRACE_INIT("toFastProps",()=>{Nae(this)}),this.TRACE_INIT("Grammar Recording",()=>{try{this.enableRecording(),this.definedRulesNames.forEach(l=>{let f=this[l].originalGrammarAction,p;this.TRACE_INIT(`${l} Rule`,()=>{p=this.topLevelRuleRecord(l,f)}),this.gastProductionsCache[l]=p})}finally{this.disableRecording()}});let o=[];if(this.TRACE_INIT("Grammar Resolving",()=>{o=tqr({rules:Object.values(this.gastProductionsCache)}),this.definitionErrors=this.definitionErrors.concat(o)}),this.TRACE_INIT("Grammar Validations",()=>{if(o.length===0&&this.skipValidations===!1){let l=rqr({rules:Object.values(this.gastProductionsCache),tokenTypes:Object.values(this.tokensMap),errMsgProvider:F4,grammarName:a}),h=YHr({lookaheadStrategy:this.lookaheadStrategy,rules:Object.values(this.gastProductionsCache),tokenTypes:Object.values(this.tokensMap),grammarName:a});this.definitionErrors=this.definitionErrors.concat(l,h)}}),this.definitionErrors.length===0&&(this.recoveryEnabled&&this.TRACE_INIT("computeAllProdsFollows",()=>{let l=iHr(Object.values(this.gastProductionsCache));this.resyncFollows=l}),this.TRACE_INIT("ComputeLookaheadFunctions",()=>{var l,h;(h=(l=this.lookaheadStrategy).initialize)===null||h===void 0||h.call(l,{rules:Object.values(this.gastProductionsCache)}),this.preComputeLookaheadFunctions(Object.values(this.gastProductionsCache))})),!t.DEFER_DEFINITION_ERRORS_HANDLING&&this.definitionErrors.length!==0)throw r=this.definitionErrors.map(l=>l.message),new Error(`Parser Definition Errors detected: + ${r.join(` +------------------------------- +`)}`)})}constructor(r,a){this.definitionErrors=[],this.selfAnalysisDone=!1;let o=this;if(o.initErrorHandler(a),o.initLexerAdapter(),o.initLooksAhead(a),o.initRecognizerEngine(r,a),o.initRecoverable(a),o.initTreeBuilder(a),o.initGastRecorder(a),o.initPerformanceTracer(a),Object.hasOwn(a,"ignoredIssues"))throw new Error(`The IParserConfig property has been deprecated. + Please use the flag on the relevant DSL method instead. + See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#IGNORING_AMBIGUITIES + For further details.`);this.skipValidations=Object.hasOwn(a,"skipValidations")?a.skipValidations:Gb.skipValidations}};nse.DEFER_DEFINITION_ERRORS_HANDLING=!1;Lqr(nse,[OCe,BCe,jCe,zCe,VCe,UCe,HCe,qCe,KCe]);ise=class extends nse{static{i(this,"CstParser")}constructor(r,a=Gb){let o=Object.assign({},a);o.outputCst=!0,super(r,o)}}});var _qr=ie(()=>{"use strict";$b()});var Mqr=ie(()=>{"use strict"});var Iqr=ie(()=>{"use strict";_qr();Mqr()});var Nqr=ie(()=>{"use strict";Eht()});var XCe=ie(()=>{"use strict";Eht();w2();jae();eB();AH();tft();EH();LH();jht();$b();$b();Iqr();Nqr()});function _H(t,r,a){let o=[a];return o.index=r,o.input=t,o}var hyi,fyi,Oqr,Pqr,dyi,pyi,gyi,R0,rB,QCe,Gd,myi,US,yyi,JCe,VS,cft,byi,vyi,uft,hft,fft,ZCe,Bqr,Ng,dft,eEe,pft,gft,mft,yft,bft,vft,wft,xft,Tft,kft,wyi,Cft,Eft,Sft,Aft,Rft,Lft,Dft,_ft,Mft,Ift,tEe,rEe,Fqr,Nft,ase,Oft,sse,Pft,ose,Bft,rx,nEe,lse,Fft,iEe,cse,use,MH,IH,mk,NH,$ft,nx,aEe,Gft,jft,zft,Uft,Vft,xyi,Tyi,$qr,Gqr,jqr,Hft=ie(()=>{"use strict";XCe();i(_H,"customMatch");hyi=i((t,r)=>{if(t[r]!=='"'||t[r+1]!=="`")return null;for(let a=r+2;a{if(t[r]!=="%"||t[r+1]!=="%")return null;for(let o=r-1;o>=0;o--){let l=t[o];if(l===` +`||l==="\r")break;if(l!==" "&&l!==" ")return null}let a=r+2;for(;a{for(let a=r-1;a>=0;a--){let o=t[a];if(o===` +`||o==="\r")return!0;if(o!==" "&&o!==" ")return!1}return!0},"isIndentedLineStart"),Pqr=i((t,r,a)=>{if(!Oqr(t,r))return null;let o=a.exec(t.slice(r));return o?_H(t,r,o[0]):null},"matchAccessibilityLine"),dyi=i((t,r)=>{if(!Oqr(t,r))return null;let a=/^accDescr[\t ]*{/.exec(t.slice(r));if(!a)return null;let o=t.indexOf("}",r+a[0].length);return o===-1?null:_H(t,r,t.slice(r,o+1))},"matchAccDescrBlock"),pyi=i((t,r)=>{if(t[r]!=="{")return null;let a=0,o=!1,l=!1;for(let h=r;h{let a=t.indexOf(">>",r);if(a===-1||/[\n\r]/.test(t.slice(r,a)))return null;let o=t.slice(r,a);return o.trim()?_H(t,r,o):null},"matchStereotypeText"),R0=zs({name:"LABEL_TEXT",pattern:Zf.NA}),rB=zs({name:"WORD",pattern:Zf.NA,categories:R0}),QCe=zs({name:"NUMBER",pattern:/(?:\d+\.\d+|\d+|\.\d+)(?:[A-Za-z]+)?/,categories:R0}),Gd=zs({name:"IDENTIFIER",pattern:/\w+/,longer_alt:QCe,categories:rB}),myi=zs({name:"HWS",pattern:/[\t ]+/,group:Zf.SKIPPED}),US=zs({name:"MARKDOWN_STRING",pattern:hyi,start_chars_hint:['"'],line_breaks:!0}),yyi=zs({name:"UNCLOSED_MARKDOWN_STRING",pattern:/"`[^]*/,line_breaks:!0}),JCe=zs({name:"COMMENT",pattern:fyi,start_chars_hint:["%"],line_breaks:!1}),VS=zs({name:"NEWLINE",pattern:/\r\n|\n|\r/,line_breaks:!0}),cft=zs({name:"ACC_DESCR_BLOCK",pattern:dyi,start_chars_hint:["a"],line_breaks:!0}),byi=/^accTitle[\t ]*:[^\n\r]*/,vyi=/^accDescr[\t ]*:[^\n\r]*/,uft=zs({name:"ACC_TITLE_LINE",pattern:i((t,r)=>Pqr(t,r,byi),"pattern"),start_chars_hint:["a"],line_breaks:!1}),hft=zs({name:"ACC_DESCR_LINE",pattern:i((t,r)=>Pqr(t,r,vyi),"pattern"),start_chars_hint:["a"],line_breaks:!1}),fft=zs({name:"JSON_DECLARATION_START",pattern:/json[\t ]+\w+[\t ]*@[\t ]*(?={)/,push_mode:"jsonBody"}),ZCe=zs({name:"JSON_OBJECT_LITERAL",pattern:pyi,start_chars_hint:["{"],line_breaks:!0,pop_mode:!0}),Bqr=zs({name:"UNCLOSED_JSON_OBJECT_LITERAL",pattern:/{[^]*/,line_breaks:!0,pop_mode:!0}),Ng=i((t,r)=>zs({name:t,pattern:r,longer_alt:Gd,categories:rB}),"keyword"),dft=Ng("USECASE",/usecase-beta/),eEe=Ng("ACTOR",/actor/),pft=Ng("SYSTEM_BOUNDARY",/systemBoundary/),gft=Ng("END",/end/),mft=Ng("DIRECTION",/direction/),yft=Ng("TD",/TD/),bft=Ng("TB",/TB/),vft=Ng("BT",/BT/),wft=Ng("LR",/LR/),xft=Ng("RL",/RL/),Tft=Ng("NOTE",/note/),kft=Ng("FOR",/for/),wyi=Ng("JSON",/json/),Cft=Ng("CLASS_DEF",/classDef/),Eft=Ng("CLASS",/class/),Sft=Ng("STYLE",/style/),Aft=Ng("INCLUDE",/include/i),Rft=Ng("EXTEND",/extend/i),Lft=Ng("TRUE",/true/),Dft=Ng("FALSE",/false/),_ft=zs({name:"GENERALIZATION",pattern:/--\|>/}),Mft=zs({name:"DEPENDENCY_ARROW",pattern:/\.\.>/}),Ift=zs({name:"STEREOTYPE_START",pattern:/<>/,pop_mode:!0}),rEe=zs({name:"STEREOTYPE_TEXT",pattern:gyi,line_breaks:!1}),Fqr=zs({name:"UNCLOSED_STEREOTYPE_TEXT",pattern:/[^\n\r]+/,line_breaks:!1,pop_mode:!0}),Nft=zs({name:"CLASS_SEPARATOR",pattern:/:::/}),ase=zs({name:"FORWARD_SOLID",pattern:/--+>/}),Oft=zs({name:"BACKWARD_SOLID",pattern:/<--+/}),sse=zs({name:"FORWARD_CIRCLE",pattern:/--o/}),Pft=zs({name:"BACKWARD_CIRCLE",pattern:/o--/}),ose=zs({name:"FORWARD_CROSS",pattern:/--x/}),Bft=zs({name:"BACKWARD_CROSS",pattern:/x--/}),rx=zs({name:"MARKERLESS_SOLID",pattern:/--+/}),nEe=zs({name:"METADATA_START",pattern:/@{/}),lse=zs({name:"AT",pattern:/@/,categories:R0}),Fft=zs({name:"LBRACE",pattern:/{/}),iEe=zs({name:"RBRACE",pattern:/}/}),cse=zs({name:"LBRACKET",pattern:/\[/}),use=zs({name:"RBRACKET",pattern:/]/}),MH=zs({name:"LPAREN",pattern:/\(/}),IH=zs({name:"RPAREN",pattern:/\)/}),mk=zs({name:"COMMA",pattern:/,/,categories:R0}),NH=zs({name:"COLON",pattern:/:/,categories:R0}),$ft=zs({name:"HASH_COLOR",pattern:/#[\dA-Fa-f]+/,categories:R0}),nx=zs({name:"PLAIN_STRING",pattern:/"[^\n\r"]*"|'[^\n\r']*'/}),aEe=zs({name:"CSS_IDENTIFIER",pattern:/--[A-Z_a-z][\w-]*|[A-Z_a-z]\w*(?:-\w+)+/,categories:R0}),Gft=zs({name:"CSS_ESCAPED_COMMA",pattern:/\\,/,categories:R0}),jft=zs({name:"DASH",pattern:/-/,categories:R0}),zft=zs({name:"DOT",pattern:/\./,categories:R0}),Uft=zs({name:"PERCENT",pattern:/%/,categories:R0}),Vft=zs({name:"CSS_PUNCTUATION",pattern:/[!#$&*+/=?^_|~]/,categories:R0}),xyi=zs({name:"LABEL_PUNCTUATION",pattern:/[;<>\\`]/,categories:R0}),Tyi=zs({name:"LABEL_SYMBOL",pattern:/[^\t\n\r !-~]+/,categories:R0}),$qr=[R0,rB,myi,US,yyi,JCe,VS,cft,uft,hft,fft,dft,eEe,pft,gft,mft,yft,bft,vft,wft,xft,Tft,kft,wyi,Cft,Eft,Sft,Aft,Rft,Lft,Dft,_ft,Mft,Ift,Nft,ase,Oft,sse,Pft,ose,Bft,rx,nEe,lse,Fft,iEe,cse,use,MH,IH,mk,NH,$ft,nx,aEe,Gd,QCe,Gft,jft,zft,Uft,Vft,xyi,Tyi],Gqr={defaultMode:"defaultMode",modes:{defaultMode:[...$qr],jsonBody:[ZCe,Bqr],stereotype:[tEe,rEe,Fqr]}},jqr=[...$qr,ZCe,Bqr,tEe,rEe,Fqr]});var zqr,Uqr=ie(()=>{"use strict";XCe();Hft();zqr=new Zf(Gqr)});var Vqr,kyi,qft,nB,Wft=ie(()=>{"use strict";XCe();Hft();Vqr=i(t=>Uae(t,R0)||t.tokenType===nx||t.tokenType===US,"isLabelToken"),kyi={allowmixing:!0,newpage:!0,package:!0,rectangle:!0,skinparam:!0},qft=class extends ise{static{i(this,"UsecaseParser")}constructor(){super(jqr,{nodeLocationTracking:"full"}),this.RULE("start",()=>{this.CONSUME(dft),this.SUBRULE(this.lineEnd),this.MANY(()=>this.SUBRULE(this.line))}),this.RULE("line",()=>{this.OR([{ALT:i(()=>this.SUBRULE(this.blankLine),"ALT")},{ALT:i(()=>this.SUBRULE(this.commentLine),"ALT")},{GATE:i(()=>this.isStatementStart(),"GATE"),ALT:i(()=>this.SUBRULE(this.statement),"ALT")}])}),this.RULE("statement",()=>{this.OR([{ALT:i(()=>this.SUBRULE(this.accTitleStatement),"ALT")},{ALT:i(()=>this.SUBRULE(this.accDescrStatement),"ALT")},{ALT:i(()=>this.SUBRULE(this.directionStatement),"ALT")},{ALT:i(()=>this.SUBRULE(this.actorStatement),"ALT")},{ALT:i(()=>this.SUBRULE(this.systemBoundaryStatement),"ALT")},{ALT:i(()=>this.SUBRULE(this.noteStatement),"ALT")},{ALT:i(()=>this.SUBRULE(this.jsonStatement),"ALT")},{ALT:i(()=>this.SUBRULE(this.classDefStatement),"ALT")},{ALT:i(()=>this.SUBRULE(this.classStatement),"ALT")},{ALT:i(()=>this.SUBRULE(this.styleStatement),"ALT")},{GATE:i(()=>this.isMetadataAssignment(),"GATE"),ALT:i(()=>this.SUBRULE(this.metadataAssignmentStatement),"ALT")},{GATE:i(()=>!this.isForbiddenPlantUmlStatement(),"GATE"),ALT:i(()=>this.SUBRULE(this.entityStatement),"ALT")}])}),this.RULE("lineEnd",()=>{this.OR([{ALT:i(()=>this.CONSUME(VS),"ALT")},{ALT:i(()=>this.CONSUME(v2),"ALT")}])}),this.RULE("blankLine",()=>{this.CONSUME(VS)}),this.RULE("commentLine",()=>{this.CONSUME(JCe),this.SUBRULE(this.lineEnd)}),this.RULE("accTitleStatement",()=>{this.CONSUME(uft),this.SUBRULE(this.lineEnd)}),this.RULE("accDescrStatement",()=>{this.OR([{ALT:i(()=>this.CONSUME(hft),"ALT")},{ALT:i(()=>this.CONSUME(cft),"ALT")}]),this.SUBRULE(this.lineEnd)}),this.RULE("actorStatement",()=>{this.CONSUME(eEe),this.SUBRULE(this.actorItem),this.OPTION(()=>{this.OR([{ALT:i(()=>this.AT_LEAST_ONE(()=>{this.CONSUME(mk),this.SUBRULE2(this.actorItem)}),"ALT")},{ALT:i(()=>this.SUBRULE(this.relationTail),"ALT")}])}),this.SUBRULE(this.lineEnd)}),this.RULE("actorItem",()=>{this.SUBRULE(this.actorName),this.OPTION(()=>this.SUBRULE(this.metadata)),this.OPTION2(()=>this.SUBRULE(this.stereotype)),this.OPTION3(()=>this.SUBRULE(this.classSuffix))}),this.RULE("actorName",()=>{this.OR([{ALT:i(()=>{this.CONSUME(Gd),this.OPTION(()=>{this.CONSUME(MH),this.SUBRULE(this.nodeLabel),this.CONSUME(IH)})},"ALT")},{ALT:i(()=>this.CONSUME(nx),"ALT")},{ALT:i(()=>this.CONSUME(US),"ALT")}])}),this.RULE("actorDeclarationOnly",()=>{this.CONSUME(eEe),this.SUBRULE(this.actorItem),this.MANY(()=>{this.CONSUME(mk),this.SUBRULE2(this.actorItem)}),this.SUBRULE(this.lineEnd)}),this.RULE("entityStatement",()=>{this.SUBRULE(this.entityName),this.OPTION(()=>this.SUBRULE(this.relationTail)),this.SUBRULE(this.lineEnd)}),this.RULE("entityName",()=>{this.OR([{ALT:i(()=>{this.CONSUME(Gd),this.OPTION(()=>{this.OR2([{ALT:i(()=>{this.CONSUME(MH),this.SUBRULE(this.nodeLabel),this.CONSUME(IH)},"ALT")},{ALT:i(()=>{this.CONSUME(cse),this.SUBRULE2(this.nodeLabel),this.CONSUME(use)},"ALT")}])})},"ALT")},{ALT:i(()=>this.CONSUME(nx),"ALT")},{ALT:i(()=>this.CONSUME(US),"ALT")}]),this.OPTION2(()=>this.SUBRULE(this.useCaseMetadata)),this.OPTION3(()=>this.SUBRULE(this.stereotype)),this.OPTION4(()=>this.SUBRULE(this.classSuffix))}),this.RULE("nodeLabel",()=>{this.OR([{ALT:i(()=>this.CONSUME(nx),"ALT")},{ALT:i(()=>this.CONSUME(US),"ALT")},{ALT:i(()=>this.AT_LEAST_ONE(()=>this.CONSUME(R0)),"ALT")}])}),this.RULE("useCaseMetadata",()=>{this.SUBRULE(this.metadata)}),this.RULE("relationTail",()=>{this.OPTION({GATE:i(()=>this.LA(1).tokenType===Gd&&this.LA(2).tokenType===lse,"GATE"),DEF:i(()=>{this.CONSUME(Gd),this.CONSUME(lse)},"DEF")}),this.SUBRULE(this.arrow),this.SUBRULE(this.entityName)}),this.RULE("arrow",()=>{this.OR([{ALT:i(()=>this.SUBRULE(this.semanticRelation),"ALT")},{ALT:i(()=>this.SUBRULE(this.forwardSolidOperator),"ALT")},{ALT:i(()=>this.SUBRULE(this.backwardSolidOperator),"ALT")},{ALT:i(()=>this.SUBRULE(this.markerlessSolidOperator),"ALT")},{ALT:i(()=>this.SUBRULE(this.forwardCircleOperator),"ALT")},{ALT:i(()=>this.SUBRULE(this.backwardCircleOperator),"ALT")},{ALT:i(()=>this.SUBRULE(this.forwardCrossOperator),"ALT")},{ALT:i(()=>this.SUBRULE(this.backwardCrossOperator),"ALT")}])}),this.RULE("forwardSolidOperator",()=>{this.CONSUME(ase)}),this.RULE("backwardSolidOperator",()=>{this.CONSUME(Oft),this.OPTION({GATE:i(()=>this.LA(0).image==="<--"&&this.hasLabeledRight([rx]),"GATE"),DEF:i(()=>{this.SUBRULE(this.edgeLabel),this.CONSUME(rx)},"DEF")})}),this.RULE("markerlessSolidOperator",()=>{this.CONSUME(rx),this.OPTION({GATE:i(()=>this.LA(0).image==="--"&&this.hasLabeledRight([ase,rx,sse,ose]),"GATE"),DEF:i(()=>{this.SUBRULE(this.edgeLabel),this.OR([{ALT:i(()=>this.CONSUME(ase),"ALT")},{ALT:i(()=>this.CONSUME2(rx),"ALT")},{ALT:i(()=>this.CONSUME(sse),"ALT")},{ALT:i(()=>this.CONSUME(ose),"ALT")}])},"DEF")})}),this.RULE("forwardCircleOperator",()=>{this.CONSUME(sse)}),this.RULE("backwardCircleOperator",()=>{this.CONSUME(Pft),this.OPTION({GATE:i(()=>this.hasLabeledRight([rx]),"GATE"),DEF:i(()=>{this.SUBRULE(this.edgeLabel),this.CONSUME(rx)},"DEF")})}),this.RULE("forwardCrossOperator",()=>{this.CONSUME(ose)}),this.RULE("backwardCrossOperator",()=>{this.CONSUME(Bft),this.OPTION({GATE:i(()=>this.hasLabeledRight([rx]),"GATE"),DEF:i(()=>{this.SUBRULE(this.edgeLabel),this.CONSUME(rx)},"DEF")})}),this.RULE("edgeLabel",()=>{this.OR([{ALT:i(()=>this.CONSUME(nx),"ALT")},{ALT:i(()=>this.CONSUME(US),"ALT")},{ALT:i(()=>this.AT_LEAST_ONE(()=>this.CONSUME(R0)),"ALT")}])}),this.RULE("semanticRelation",()=>{this.OR([{ALT:i(()=>{this.CONSUME(Mft),this.CONSUME(NH),this.OR2([{ALT:i(()=>this.CONSUME(Aft),"ALT")},{ALT:i(()=>this.CONSUME(Rft),"ALT")}])},"ALT")},{ALT:i(()=>this.CONSUME(_ft),"ALT")}])}),this.RULE("metadata",()=>{this.CONSUME(nEe),this.MANY(()=>this.CONSUME(VS)),this.OPTION(()=>{this.SUBRULE(this.metadataProperty),this.MANY2(()=>{this.SUBRULE(this.metadataSeparator),this.SUBRULE2(this.metadataProperty)}),this.OPTION2(()=>this.CONSUME(mk)),this.MANY3(()=>this.CONSUME2(VS))}),this.CONSUME(iEe)}),this.RULE("metadataProperty",()=>{this.OR([{ALT:i(()=>this.CONSUME(Gd),"ALT")},{ALT:i(()=>this.CONSUME(nx),"ALT")}]),this.CONSUME(NH),this.OR2([{ALT:i(()=>this.CONSUME2(Gd),"ALT")},{ALT:i(()=>this.CONSUME2(nx),"ALT")},{ALT:i(()=>this.CONSUME(Lft),"ALT")},{ALT:i(()=>this.CONSUME(Dft),"ALT")}])}),this.RULE("metadataSeparator",()=>{this.OR([{ALT:i(()=>{this.CONSUME(mk),this.MANY(()=>this.CONSUME(VS))},"ALT")},{ALT:i(()=>{this.AT_LEAST_ONE(()=>this.CONSUME2(VS)),this.OPTION(()=>this.CONSUME2(mk)),this.MANY2(()=>this.CONSUME3(VS))},"ALT")}])}),this.RULE("systemBoundaryStatement",()=>{this.CONSUME(pft),this.SUBRULE(this.systemBoundaryName),this.OPTION(()=>this.SUBRULE(this.metadata)),this.OPTION2(()=>this.SUBRULE(this.classSuffix)),this.SUBRULE(this.lineEnd),this.SUBRULE(this.systemBoundaryContent),this.CONSUME(gft),this.SUBRULE2(this.lineEnd)}),this.RULE("systemBoundaryName",()=>{this.OR([{ALT:i(()=>{this.CONSUME(Gd),this.OPTION(()=>{this.OR2([{ALT:i(()=>{this.CONSUME(MH),this.SUBRULE(this.nodeLabel),this.CONSUME(IH)},"ALT")},{ALT:i(()=>{this.CONSUME(cse),this.SUBRULE2(this.nodeLabel),this.CONSUME(use)},"ALT")}])})},"ALT")},{ALT:i(()=>this.CONSUME(nx),"ALT")},{ALT:i(()=>this.CONSUME(US),"ALT")}])}),this.RULE("systemBoundaryContent",()=>{this.MANY(()=>{this.OR([{ALT:i(()=>this.SUBRULE(this.blankLine),"ALT")},{ALT:i(()=>this.SUBRULE(this.commentLine),"ALT")},{ALT:i(()=>this.SUBRULE(this.boundaryElement),"ALT")}])})}),this.RULE("boundaryElement",()=>{this.OR([{ALT:i(()=>this.SUBRULE(this.actorDeclarationOnly),"ALT")},{ALT:i(()=>{this.SUBRULE(this.entityName),this.SUBRULE(this.lineEnd)},"ALT")}])}),this.RULE("metadataAssignmentStatement",()=>{this.SUBRULE(this.metadataAssignmentTarget),this.SUBRULE(this.metadata),this.SUBRULE(this.lineEnd)}),this.RULE("metadataAssignmentTarget",()=>{this.OR([{ALT:i(()=>this.CONSUME(Gd),"ALT")},{ALT:i(()=>this.CONSUME(nx),"ALT")},{ALT:i(()=>this.CONSUME(US),"ALT")}])}),this.RULE("noteStatement",()=>{this.CONSUME(Tft),this.CONSUME(kft),this.CONSUME(Gd),this.SUBRULE(this.nodeLabel),this.SUBRULE(this.lineEnd)}),this.RULE("stereotype",()=>{this.CONSUME(Ift),this.CONSUME(rEe),this.CONSUME(tEe)}),this.RULE("classSuffix",()=>{this.CONSUME(Nft),this.CONSUME(Gd),this.MANY(()=>{this.CONSUME(mk),this.CONSUME2(Gd)})}),this.RULE("jsonStatement",()=>{this.CONSUME(fft),this.CONSUME(ZCe),this.OPTION(()=>this.SUBRULE(this.classSuffix)),this.SUBRULE(this.lineEnd)}),this.RULE("directionStatement",()=>{this.CONSUME(mft),this.OR([{ALT:i(()=>this.CONSUME(yft),"ALT")},{ALT:i(()=>this.CONSUME(bft),"ALT")},{ALT:i(()=>this.CONSUME(vft),"ALT")},{ALT:i(()=>this.CONSUME(wft),"ALT")},{ALT:i(()=>this.CONSUME(xft),"ALT")}]),this.SUBRULE(this.lineEnd)}),this.RULE("classDefStatement",()=>{this.CONSUME(Cft),this.CONSUME(Gd),this.MANY(()=>{this.CONSUME(mk),this.CONSUME2(Gd)}),this.SUBRULE(this.styles),this.SUBRULE(this.lineEnd)}),this.RULE("classStatement",()=>{this.CONSUME(Eft),this.CONSUME(Gd),this.MANY(()=>{this.CONSUME(mk),this.CONSUME2(Gd)}),this.CONSUME3(Gd),this.MANY2(()=>{this.CONSUME2(mk),this.CONSUME4(Gd)}),this.SUBRULE(this.lineEnd)}),this.RULE("styleStatement",()=>{this.CONSUME(Sft),this.CONSUME(Gd),this.SUBRULE(this.styles),this.SUBRULE(this.lineEnd)}),this.RULE("styles",()=>{this.SUBRULE(this.styleValue),this.MANY(()=>{this.CONSUME(mk),this.SUBRULE2(this.styleValue)})}),this.RULE("styleValue",()=>{this.OR([{ALT:i(()=>this.CONSUME(rB),"ALT")},{ALT:i(()=>this.CONSUME(aEe),"ALT")},{ALT:i(()=>{this.CONSUME(rx),this.CONSUME2(rB)},"ALT")}]),this.CONSUME(NH),this.AT_LEAST_ONE(()=>this.SUBRULE(this.styleComponent))}),this.RULE("styleComponent",()=>{this.OR([{ALT:i(()=>this.CONSUME(rB),"ALT")},{ALT:i(()=>this.CONSUME(nx),"ALT")},{ALT:i(()=>this.CONSUME(QCe),"ALT")},{ALT:i(()=>this.CONSUME($ft),"ALT")},{ALT:i(()=>this.CONSUME(aEe),"ALT")},{ALT:i(()=>this.CONSUME(Gft),"ALT")},{ALT:i(()=>this.CONSUME(jft),"ALT")},{ALT:i(()=>this.CONSUME(zft),"ALT")},{ALT:i(()=>this.CONSUME(Uft),"ALT")},{ALT:i(()=>this.CONSUME(Vft),"ALT")},{ALT:i(()=>this.CONSUME(NH),"ALT")},{ALT:i(()=>this.CONSUME(MH),"ALT")},{ALT:i(()=>this.CONSUME(IH),"ALT")},{ALT:i(()=>this.CONSUME(cse),"ALT")},{ALT:i(()=>this.CONSUME(use),"ALT")},{ALT:i(()=>this.CONSUME(Fft),"ALT")},{ALT:i(()=>this.CONSUME(iEe),"ALT")},{ALT:i(()=>this.CONSUME(lse),"ALT")},{ALT:i(()=>this.CONSUME(rx),"ALT")}])}),this.performSelfAnalysis()}isMetadataAssignment(){let r=this.LA(1).tokenType;return(r===Gd||r===nx||r===US)&&this.LA(2).tokenType===nEe}isStatementStart(){let r=this.LA(1).tokenType;return r!==v2&&r!==VS&&r!==JCe}isForbiddenPlantUmlStatement(){return this.LA(1).tokenType===Gd&&kyi[this.LA(1).image.toLowerCase()]===!0}hasLabeledRight(r){if(!Vqr(this.LA(1)))return!1;for(let a=2;;a++){let o=this.LA(a);if(r.includes(o.tokenType))return!0;if(!Vqr(o))return!1}}},nB=new qft});function Hqr(t,r,a){let o;try{o=JSON.parse(t)}catch(l){let h=l instanceof Error?l.message:String(l),f=Cyi(h,t,r,a);if(!f){let p=0;try{new oEe(t).collect()}catch(m){m instanceof L0&&(p=m.offset)}f=Yft(t,p,r,a)}throw new sEe(`Invalid JSON: ${h}`,f.line,f.column)}if(typeof o!="object"||o===null||Array.isArray(o))throw new sEe("JSON value must have an object root",r,a);return{value:o,propertyOrder:new oEe(t).collect()}}var sEe,Yft,Cyi,L0,oEe,qqr=ie(()=>{"use strict";sEe=class extends Error{constructor(a,o,l){super(`${a} (line ${o}, column ${l})`);this.line=o;this.column=l;this.name="UsecaseJsonError"}static{i(this,"UsecaseJsonError")}},Yft=i((t,r,a,o)=>{let l=a,h=o,f=Math.min(Math.max(r,0),t.length);for(let p=0;p{let l=/\bposition (\d+)\b/u.exec(t);if(l)return Yft(r,Number.parseInt(l[1],10),a,o);let h=/\bline (\d+) column (\d+)\b/u.exec(t);if(h){let f=Number.parseInt(h[1],10),p=Number.parseInt(h[2],10);return{line:a+f-1,column:f===1?o+p-1:p}}if(/unexpected end|end of json input/iu.test(t))return Yft(r,r.length,a,o)},"locationFromErrorMessage"),L0=class extends Error{constructor(a){super("Invalid JSON token");this.offset=a}static{i(this,"JsonWalkError")}},oEe=class{constructor(r){this.text=r;this.offset=0;this.propertyOrder={}}static{i(this,"PropertyOrderCollector")}collect(){if(this.skipWhitespace(),this.collectValue(""),this.skipWhitespace(),this.offset!==this.text.length)throw new L0(this.offset);return this.propertyOrder}collectValue(r){this.skipWhitespace();let a=this.text[this.offset];if(a==="{")this.collectObject(r);else if(a==="[")this.collectArray(r);else if(a==='"')this.readString(!1);else if(a==="t")this.consumeLiteral("true");else if(a==="f")this.consumeLiteral("false");else if(a==="n")this.consumeLiteral("null");else if(a==="-"||a>="0"&&a<="9")this.consumeNumber();else throw new L0(this.offset)}collectObject(r){this.offset++;let a=[],o=new Set;if(this.propertyOrder[r]=a,this.skipWhitespace(),this.text[this.offset]==="}"){this.offset++;return}for(;this.offset="1"&&this.text[this.offset]<="9")for(;this.text[this.offset]>="0"&&this.text[this.offset]<="9";)this.offset++;else throw new L0(this.offset);if(this.text[this.offset]==="."){if(this.offset++,this.text[this.offset]<"0"||this.text[this.offset]>"9")throw new L0(this.offset);for(;this.text[this.offset]>="0"&&this.text[this.offset]<="9";)this.offset++}if(this.text[this.offset]==="e"||this.text[this.offset]==="E"){if(this.offset++,(this.text[this.offset]==="+"||this.text[this.offset]==="-")&&this.offset++,this.text[this.offset]<"0"||this.text[this.offset]>"9")throw new L0(this.offset);for(;this.text[this.offset]>="0"&&this.text[this.offset]<="9";)this.offset++}}skipWhitespace(){for(;this.offset{"use strict";lCe();Eyi=i(t=>({shape:t.type==="normal"?"actor":t.type==="hollow"?"actor-hollow":t.type==="awesome"?"actor-awesome":"actor-icon",...t.label===t.id?{}:{label:t.label},...t.classes.length?{classes:[...t.classes]}:{},...t.styles.length?{styles:[...t.styles]}:{},attrs:{kind:"actor",actorType:t.type,business:t.business,labelType:t.labelType,...t.icon?{icon:t.icon}:{},...t.stereotype?{stereotype:t.stereotype}:{},...t.parentId?{parentId:t.parentId}:{}}}),"actorNode"),Syi=i(t=>({shape:t.shape,...t.label===t.id?{}:{label:t.label},...t.classes.length?{classes:[...t.classes]}:{},...t.styles.length?{styles:[...t.styles]}:{},attrs:{kind:"usecase",useCaseShape:t.shape,business:t.business,labelType:t.labelType,...t.stereotype?{stereotype:t.stereotype}:{},...t.parentId?{parentId:t.parentId}:{}}}),"useCaseNode"),Ayi=i(t=>({label:t.label,shape:"note",attrs:{kind:"note",target:t.target,labelType:t.labelType}}),"noteNode"),Ryi=i(t=>({label:t.id,shape:"json-table",...t.classes.length?{classes:[...t.classes]}:{},...t.styles.length?{styles:[...t.styles]}:{},attrs:{kind:"json",value:t.value,propertyOrder:t.propertyOrder,labelType:"text"}}),"jsonNode"),Lyi=i(t=>({id:t.id,source:t.source,target:t.target,...t.label?{label:t.label}:{},...t.classes.length?{classes:[...t.classes]}:{},...t.styles.length?{styles:[...t.styles]}:{},attrs:{relationshipType:t.type,arrowType:t.arrowType,minlen:t.minlen,explicitId:t.explicitId,animate:t.animate,...t.animation?{animation:t.animation}:{},...t.labelType?{labelType:t.labelType}:{}}}),"relationshipEdge"),Dyi=i(t=>({id:`${t.id}-edge`,source:t.id,target:t.target,attrs:{relationshipType:"note",arrowType:of.LINE_SOLID,pattern:"dotted",minlen:1,explicitId:!1,animate:!1,internal:!0}}),"noteEdge"),Wqr=i((t,r,a,o)=>{let l={};for(let m of t.getActors().values())l[m.id]=Eyi(m);for(let m of t.getUseCases().values())l[m.id]=Syi(m);for(let m of t.getNotes().values())l[m.id]=Ayi(m);for(let m of t.getJsonNodes().values())l[m.id]=Ryi(m);let h={};for(let m of t.getSystemBoundaries().values())h[m.id]={...m.label===m.id?{}:{title:m.label},nodes:[...m.members],...m.classes.length?{classes:[...m.classes]}:{},...m.styles.length?{styles:[...m.styles]}:{},attrs:{kind:"systemBoundary",boundaryType:m.type,labelType:m.labelType}};let f={};for(let m of t.getClassDefs().values())f[m.id]={styles:[...m.styles]};let p=t.getDirection();return{version:1,diagramType:"usecase",source:r,header:{keyword:"usecase",direction:p==="TD"?"TB":p,span:a},...t.getAccTitle()?{accTitle:t.getAccTitle()}:{},...t.getAccDescription()?{accDescr:t.getAccDescription()}:{},nodes:l,edges:[...t.getRelationships().map(Lyi),...[...t.getNotes().values()].map(Dyi)],groups:h,classDefs:f,statements:o}},"buildUsecaseGraphAST")});var by,Kqr,iB,Kft,lEe,Xqr=ie(()=>{"use strict";Yqr();by=i(t=>`line ${t.line}, column ${t.column} [${t.span[0]},${t.span[1]})`,"locationText"),Kqr=i(t=>t===void 0?"":` (label "${t}")`,"labelSuffix"),iB=i(t=>t.generated?t.label:void 0,"generatedFrom"),Kft=i((t,r)=>{for(let a of r)t.includes(a)||t.push(a)},"pushUnique"),lEe=class{constructor(r){this.db=r;this.source="";this.statements=[];this.elements=[];this.boundaries=[];this.jsonDrafts=[];this.relationshipDrafts=[];this.noteDrafts=[];this.metadataAssignments=[];this.classAssignments=[];this.styleAssignments=[];this.classDefinitions=[];this.directions=[];this.model=r.createModel()}static{i(this,"UsecaseModelBuilder")}reset(r){this.model=this.db.createModel(),this.source=r,this.statements=[],this.elements.length=0,this.boundaries.length=0,this.jsonDrafts.length=0,this.relationshipDrafts.length=0,this.noteDrafts.length=0,this.metadataAssignments.length=0,this.classAssignments.length=0,this.styleAssignments.length=0,this.classDefinitions.length=0,this.directions.length=0}addElement(r){this.elements.push(r)}addBoundary(r){this.boundaries.push(r)}addJson(r){this.jsonDrafts.push(r)}addRelationship(r){this.relationshipDrafts.push(r)}addNote(r){this.noteDrafts.push(r)}addMetadataAssignment(r,a,o,l){this.metadataAssignments.push({target:r,targetLocation:a,metadata:o,statement:l})}addClassDef(r,a){this.classDefinitions.push({ids:r,styles:a})}addClassAssignment(r,a){this.classAssignments.push({targets:r,classes:a})}addStyleAssignment(r,a,o){this.styleAssignments.push({target:r,location:a,styles:o})}setDirection(r){this.directions.push(r==="TD"?"TB":r)}setAccTitle(r){this.model.accTitle=r}setAccDescription(r){this.model.accDescription=r}setStatements(r){this.statements=r}getActors(){return this.model.actors}getUseCases(){return this.model.useCases}getSystemBoundaries(){return this.model.systemBoundaries}getRelationships(){return this.model.relationships}getNotes(){return this.model.notes}getJsonNodes(){return this.model.jsonNodes}getClassDefs(){return this.model.classDefs}getDirection(){return this.model.direction}getAccTitle(){return this.model.accTitle}getAccDescription(){return this.model.accDescription}finalize(r){let a=new Map,o=new Map,l=new Map,h=new Map;for(let b of this.relationshipDrafts)this.recordFirst(h,b.source.id,b.source.location.span[0]),this.recordFirst(h,b.target.id,b.target.location.span[0]);for(let b of this.elements)this.recordFirst(h,b.id,b.location.span[0]);for(let b of this.boundaries)this.recordFirst(h,b.id,b.location.span[0]);for(let b of this.jsonDrafts)this.recordFirst(h,b.id,b.location.span[0]);let f=[...this.elements.map(b=>({offset:b.location.span[0],type:"element",value:b})),...this.boundaries.map(b=>({offset:b.location.span[0],type:"boundary",value:b})),...this.jsonDrafts.map(b=>({offset:b.location.span[0],type:"json",value:b})),...this.relationshipDrafts.filter(b=>b.explicitId).map(b=>({offset:b.explicitIdLocation.span[0],type:"edge",value:b}))].sort((b,v)=>b.offset-v.offset);for(let b of f)b.type==="element"?this.collectElement(b.value,a,o):b.type==="boundary"?this.collectBoundary(b.value,a,l):b.type==="json"?this.registerUnique(a,b.value.id,"json",b.value.location,!1):this.registerUnique(a,b.value.explicitId,"edge",b.value.explicitIdLocation,!1);this.materializeElements(o,h),this.materializeBoundaries(l,h),this.materializeJson(h);let p=this.materializeRelationships(a,o,h);this.reorderElements(o,h),this.applyMetadataAssignments(a,o,l,p),this.validateAndRefreshElements(o),this.refreshBoundaries(l,o),this.materializeNotes(a),this.applyClassDefinitions(),this.applyClassesAndStyles(a,p),this.model.direction=this.directions.at(-1)??this.model.direction,this.model.symbols=new Map([...a].map(([b,v])=>[b,v.kind]));let m=Wqr(this,this.source,r,this.statements);return this.model.ast=m,this.db.commit(this.model),m}collectElement(r,a,o){let l=a.get(r.id),h=iB({generated:r.generated,label:r.label.text});l&&l.kind!==r.kind&&this.conflict(`ID '${r.id}' is declared as both ${l.kind} and ${r.kind}`,r.location,l.location,h,iB(l)),l&&(l.generated||r.generated)&&this.conflict(`Generated ID '${r.id}' collides with another declaration`,r.location,l.location,h,iB(l));let f=o.get(r.id);if(!f){let p={kind:r.kind,id:r.id,label:r.label,location:r.location,generated:r.generated,classes:[...r.classes],...r.parentId?{parentId:r.parentId,parentLocation:r.parentLocation}:{},...r.shape?{shape:r.shape}:{},...r.stereotype?{stereotype:r.stereotype,stereotypeLocation:r.location}:{}};this.applyDeclarationMetadata(p,r.metadata),o.set(r.id,p),a.set(r.id,{kind:r.kind,location:r.location,generated:r.generated,label:r.label.text});return}(f.label.text!==r.label.text||f.label.type!==r.label.type)&&this.conflict(`ID '${r.id}' has conflicting labels`,r.location,f.location),r.shape&&f.shape&&r.shape!==f.shape&&this.conflict(`Use case '${r.id}' has conflicting shapes`,r.location,f.location),r.parentId&&f.parentId&&r.parentId!==f.parentId&&this.conflict(`Element '${r.id}' belongs to more than one system boundary`,r.parentLocation??r.location,f.parentLocation??f.location),r.stereotype&&f.stereotype&&r.stereotype!==f.stereotype&&this.conflict(`Element '${r.id}' has conflicting stereotypes`,r.location,f.stereotypeLocation??f.location),f.shape??=r.shape,f.parentId??=r.parentId,f.parentLocation??=r.parentLocation,f.stereotype??=r.stereotype,f.stereotypeLocation??=r.stereotype?r.location:void 0,Kft(f.classes,r.classes),this.applyDeclarationMetadata(f,r.metadata)}collectBoundary(r,a,o){let l=a.get(r.id),h=iB({generated:r.generated,label:r.label.text});l&&l.kind!=="boundary"&&this.conflict(`ID '${r.id}' is declared as both ${l.kind} and boundary`,r.location,l.location,h,iB(l)),l&&(l.generated||r.generated)&&this.conflict(`Generated ID '${r.id}' collides with another declaration`,r.location,l.location,h,iB(l));let f=o.get(r.id);if(f){(f.label.text!==r.label.text||f.label.type!==r.label.type)&&this.conflict(`Boundary '${r.id}' has conflicting titles`,r.location,f.location),Kft(f.classes,r.classes);return}o.set(r.id,{id:r.id,label:r.label,location:r.location,generated:r.generated,classes:[...r.classes],styles:[],members:[]}),a.set(r.id,{kind:"boundary",location:r.location,generated:r.generated,label:r.label.text})}materializeElements(r,a){for(let o of[...r.values()].sort((l,h)=>(a.get(l.id)??0)-(a.get(h.id)??0)))this.setElementModel(o)}materializeBoundaries(r,a){for(let o of[...r.values()].sort((l,h)=>(a.get(l.id)??0)-(a.get(h.id)??0)))this.model.systemBoundaries.set(o.id,{id:o.id,label:o.label.text,labelType:o.label.type,type:o.type??"rect",members:[],classes:[...o.classes],styles:[...o.styles]})}materializeJson(r){for(let a of[...this.jsonDrafts].sort((o,l)=>(r.get(o.id)??0)-(r.get(l.id)??0)))this.model.jsonNodes.set(a.id,{id:a.id,value:a.value,propertyOrder:a.propertyOrder,classes:[...a.classes],styles:[]})}materializeRelationships(r,a,o){let l=new Map,h=0;for(let f of this.relationshipDrafts){let p=this.resolveEndpoint(f.source,r,a,o),m=this.resolveEndpoint(f.target,r,a,o);this.validateRelationship(f,p,m,r);let b=f.explicitId??`edge-${h++}`,v={id:b,explicitId:!!f.explicitId,source:f.source.id,target:f.target.id,type:f.type,arrowType:f.arrowType,...f.label?{label:f.label.text,labelType:f.label.type}:{},minlen:f.minlen,classes:[],styles:[],animate:!1};this.model.relationships.push(v),l.set(b,{draft:f,relationship:v})}return this.model.relationshipCounter=h,l}resolveEndpoint(r,a,o,l){if(r.classesOnReference&&!r.declaration)throw new Error(`Relationship endpoint '${r.id}' uses ::: without declaring the node at ${by(r.location)}`);let h=a.get(r.id);return h?h.kind:(o.set(r.id,{kind:"usecase",id:r.id,label:r.label,location:r.location,generated:r.generated,shape:"ellipse",classes:[]}),a.set(r.id,{kind:"usecase",location:r.location,generated:r.generated,label:r.label.text}),this.recordFirst(l,r.id,r.location.span[0]),"usecase")}reorderElements(r,a){let o=new Map(this.model.actors),l=new Map(this.model.useCases);this.model.actors.clear(),this.model.useCases.clear();for(let h of[...r.values()].sort((f,p)=>(a.get(f.id)??0)-(a.get(p.id)??0))){!o.has(h.id)&&!l.has(h.id)&&this.setElementModel(h);let f=o.get(h.id)??this.model.actors.get(h.id),p=l.get(h.id)??this.model.useCases.get(h.id);f?this.model.actors.set(h.id,f):p&&this.model.useCases.set(h.id,p)}}applyMetadataAssignments(r,a,o,l){for(let h of this.metadataAssignments){let f=r.get(h.target);if(!f){let p=this.inferMetadataKind(h.metadata);throw new Error(`Metadata target '${h.target}' is unresolved${p?` (metadata implies ${p})`:""} at ${by(h.targetLocation)}`)}if(f.kind==="actor"||f.kind==="usecase")this.applyStandaloneElementMetadata(a.get(h.target),h.metadata);else if(f.kind==="boundary"){let p=o.get(h.target);for(let m of h.metadata.properties)(m.key!=="type"||m.value!=="rect"&&m.value!=="package")&&this.invalidMetadata(h.target,f.kind,m),p.type=m.value}else if(f.kind==="edge"){let p=l.get(h.target);if(!p)throw new Error(`Metadata target '${h.target}' is not an explicit edge at ${by(h.targetLocation)}`);h.statement.kind="edgeMetadata",h.statement.edges=[{id:h.target,span:h.statement.span,idSpan:h.targetLocation.span,...h.statement.metadata?{metadata:h.statement.metadata}:{}}],delete h.statement.nodes;for(let m of h.metadata.properties)m.key==="animate"&&typeof m.value=="boolean"?p.relationship.animate=m.value:m.key==="animation"&&(m.value==="fast"||m.value==="slow")?(p.relationship.animation=m.value,p.relationship.animate=!0):this.invalidMetadata(h.target,f.kind,m)}else for(let p of h.metadata.properties)this.invalidMetadata(h.target,f.kind,p)}for(let{relationship:h}of l.values())h.animation&&(h.animate=!0)}applyStandaloneElementMetadata(r,a){for(let o of a.properties)r.kind==="actor"?this.applyActorProperty(r,o,!0):o.key==="business"&&typeof o.value=="boolean"?r.business=o.value:this.invalidMetadata(r.id,r.kind,o)}applyDeclarationMetadata(r,a){if(a)for(let o of a.properties)r.kind==="actor"?this.applyActorProperty(r,o,!1):o.key==="business"&&typeof o.value=="boolean"?(r.business!==void 0&&r.business!==o.value&&this.conflict(`Use case '${r.id}' has conflicting business metadata`,o.location,r.location),r.business=o.value):this.invalidMetadata(r.id,r.kind,o)}applyActorProperty(r,a,o){a.key==="type"&&(a.value==="normal"||a.value==="hollow"||a.value==="awesome")?(!o&&r.actorType!==void 0&&r.actorType!==a.value&&this.conflict(`Actor '${r.id}' has conflicting type metadata`,a.location,r.location),r.actorType=a.value):a.key==="icon"&&typeof a.value=="string"?(!o&&r.icon!==void 0&&r.icon!==a.value&&this.conflict(`Actor '${r.id}' has conflicting icon metadata`,a.location,r.location),r.icon=a.value):a.key==="business"&&typeof a.value=="boolean"?(!o&&r.business!==void 0&&r.business!==a.value&&this.conflict(`Actor '${r.id}' has conflicting business metadata`,a.location,r.location),r.business=a.value):this.invalidMetadata(r.id,r.kind,a)}validateAndRefreshElements(r){for(let a of r.values()){let o=a.icon?"icon":a.actorType??"normal";if(a.kind==="actor"){if(a.icon&&a.actorType&&a.actorType!=="normal")throw new Error(`Actor '${a.id}' cannot combine icon with type '${a.actorType}' at ${by(a.location)}`);if(a.business&&(o==="icon"||o==="awesome"))throw new Error(`Business actor '${a.id}' must use normal or hollow geometry at ${by(a.location)}`)}else if((a.shape??"ellipse")==="rect"&&a.business)throw new Error(`Rectangular use case '${a.id}' cannot be a business use case at ${by(a.location)}`);this.setElementModel(a)}}refreshBoundaries(r,a){for(let o of r.values())o.members.length=0;for(let o of[...this.elements].sort((l,h)=>l.location.span[0]-h.location.span[0])){if(!o.parentId)continue;let l=r.get(o.parentId);if(!l)throw new Error(`Parent boundary '${o.parentId}' for '${o.id}' is unresolved at ${by(o.parentLocation??o.location)}`);l.members.includes(o.id)||l.members.push(o.id)}for(let o of a.values())if(o.parentId&&!r.has(o.parentId))throw new Error(`Parent boundary '${o.parentId}' for '${o.id}' is unresolved at ${by(o.parentLocation??o.location)}`);for(let o of r.values()){let l=this.model.systemBoundaries.get(o.id);l.type=o.type??"rect",l.members=[...o.members],l.classes=[...o.classes],l.styles=[...o.styles]}}materializeNotes(r){let a=0;for(let o of this.noteDrafts){let l=r.get(o.target);if(!l)throw new Error(`Note target '${o.target}' is unresolved at ${by(o.targetLocation)}`);l.kind!=="actor"&&l.kind!=="usecase"&&this.conflict(`Note target '${o.target}' must be an actor or use case, not ${l.kind}`,o.targetLocation,l.location);let h=`note-${a++}`;this.model.notes.set(h,{id:h,target:o.target,label:o.label.text,labelType:o.label.type})}this.model.noteCounter=a}applyClassDefinitions(){for(let r of this.classDefinitions)for(let a of r.ids)this.model.classDefs.set(a,{id:a,styles:[...r.styles]})}applyClassesAndStyles(r,a){for(let o of this.classAssignments)for(let l of o.targets)Kft(this.getStylable(l.id,r,a,l.location).classes,o.classes);for(let o of this.styleAssignments)this.getStylable(o.target,r,a,o.location).styles.push(...o.styles)}getStylable(r,a,o,l){let h=a.get(r)?.kind,f=h==="actor"?this.model.actors.get(r):h==="usecase"?this.model.useCases.get(r):h==="boundary"?this.model.systemBoundaries.get(r):h==="json"?this.model.jsonNodes.get(r):h==="edge"?o.get(r)?.relationship:void 0;if(!f)throw new Error(`Class/style target '${r}' is unresolved or anonymous at ${by(l)}`);return f}validateRelationship(r,a,o,l){let h=i(f=>f==="actor"||f==="usecase"||f==="json","allowed");if(h(a)||this.conflict(`Relationship source '${r.source.id}' cannot be ${a}`,r.source.location,l.get(r.source.id).location),h(o)||this.conflict(`Relationship target '${r.target.id}' cannot be ${o}`,r.target.location,l.get(r.target.id).location),(r.type==="include"||r.type==="extend")&&(a!=="usecase"||o!=="usecase"))throw new Error(`${r.type} relationship requires use-case endpoints at ${by(r.location)}`);if(r.type==="generalization"&&(a!=="actor"&&a!=="usecase"||a!==o))throw new Error(`Generalization requires actor-to-actor or use-case-to-use-case endpoints at ${by(r.location)}`);if(r.type==="association"&&(a==="json"||o==="json")&&![0,1,2].includes(r.arrowType))throw new Error(`JSON relationship '${r.source.id}' to '${r.target.id}' permits only point, reversed-point, or markerless solid association at ${by(r.location)}`)}setElementModel(r){if(r.kind==="actor"){let a=r.icon?"icon":r.actorType??"normal";this.model.useCases.delete(r.id),this.model.actors.set(r.id,{id:r.id,label:r.label.text,labelType:r.label.type,type:a,...r.icon?{icon:r.icon}:{},business:r.business??!1,...r.stereotype?{stereotype:r.stereotype}:{},...r.parentId?{parentId:r.parentId}:{},classes:[...r.classes],styles:this.model.actors.get(r.id)?.styles??[]})}else this.model.actors.delete(r.id),this.model.useCases.set(r.id,{id:r.id,label:r.label.text,labelType:r.label.type,shape:r.shape??"ellipse",business:r.business??!1,...r.stereotype?{stereotype:r.stereotype}:{},...r.parentId?{parentId:r.parentId}:{},classes:[...r.classes],styles:this.model.useCases.get(r.id)?.styles??[]})}inferMetadataKind(r){let a=new Set(["actor","usecase","boundary","edge"]);for(let o of r.properties)if(o.key==="icon")a.clear(),a.add("actor");else if(o.key==="animate"||o.key==="animation")a.clear(),a.add("edge");else if(o.key==="type")a.clear(),o.value==="rect"||o.value==="package"?a.add("boundary"):(o.value==="normal"||o.value==="hollow"||o.value==="awesome")&&a.add("actor");else if(o.key==="business")a.delete("boundary"),a.delete("edge");else return;return a.size===1?[...a][0]:void 0}invalidMetadata(r,a,o){throw new Error(`Metadata property '${o.key}' is invalid for ${a} '${r}' at ${by(o.location)}`)}registerUnique(r,a,o,l,h){let f=r.get(a);f&&this.conflict(`ID '${a}' is declared more than once (${f.kind} and ${o})`,l,f.location,void 0,iB(f)),r.set(a,{kind:o,location:l,generated:h})}recordFirst(r,a,o){let l=r.get(a);(l===void 0||o{"use strict";cCe();lCe();qqr();Xqr();Wft();_yi=nB.getBaseCstVisitorConstructor(),Xft=class extends _yi{constructor(){super();this.builder=new lEe(HP);this.source="";this.anonymousEdge=0;this.anonymousNote=0;this.validateVisitor()}static{i(this,"UsecaseVisitor")}build(a,o){this.source=o,this.parentBoundary=void 0,this.anonymousEdge=0,this.anonymousNote=0,this.builder.reset(o),this.visit(a)}start(a){let o=this.tokens(a,"USECASE")[0],l=[];for(let h of this.nodes(a,"line"))l.push(this.visit(h));this.builder.setStatements(l),this.builder.finalize(this.tokenSpan(o))}line(a){let o=this.firstNode(a,"blankLine","commentLine","statement");return this.wrap(o,this.visit(o))}statement(a){return this.visit(this.firstNode(a,"accTitleStatement","accDescrStatement","directionStatement","actorStatement","systemBoundaryStatement","noteStatement","jsonStatement","classDefStatement","classStatement","styleStatement","metadataAssignmentStatement","entityStatement"))}lineEnd(a){}blankLine(a){return{kind:"blank",span:this.tokenSpan(this.tokens(a,"NEWLINE")[0])}}commentLine(a){return{kind:"comment",span:this.tokenSpan(this.tokens(a,"COMMENT")[0])}}accTitleStatement(a){let o=this.tokens(a,"ACC_TITLE_LINE")[0].image;return this.builder.setAccTitle(o.slice(o.indexOf(":")+1).trim()),{kind:"accTitle",span:[0,0]}}accDescrStatement(a){let o=this.tokens(a,"ACC_DESCR_LINE")[0],l=this.tokens(a,"ACC_DESCR_BLOCK")[0],h=o?o.image.slice(o.image.indexOf(":")+1).trim():l.image.slice(l.image.indexOf("{")+1,l.image.lastIndexOf("}")).trim();return this.builder.setAccDescription(h),{kind:"accDescr",span:[0,0]}}actorStatement(a){let o=this.nodes(a,"actorItem"),l=o.map(v=>this.visit(v)),h=this.nodes(a,"relationTail")[0],f=l.map((v,T)=>this.actorOccurrence(o[T],v,!0));for(let v of l)this.builder.addElement(this.actorDraft(v));if(!h)return{kind:"node",span:[0,0],nodes:f};let p=this.visit(h);p.target.explicitDeclaration&&this.builder.addElement(this.entityDraft(p.target));let m=this.relationshipDraft(l[0],p,this.nodeLocation(h));this.builder.addRelationship(m);let b=m.explicitId??`edge-${this.anonymousEdge++}`;return f.push(this.entityOccurrence(this.nodes(h.children,"entityName")[0],p.target,p.target.explicitDeclaration)),{kind:"edge",span:[0,0],nodes:f,edges:[{id:b,span:[0,0],...m.explicitIdLocation?{idSpan:m.explicitIdLocation.span}:{},...m.label?{labelSpan:m.label.span}:{}}]}}actorItem(a){let o=this.visit(this.nodes(a,"actorName")[0]),l=this.nodes(a,"metadata")[0],h=this.nodes(a,"stereotype")[0],f=this.nodes(a,"classSuffix")[0],p=f?this.visit(f):{classes:[],spans:[]};return{...o,...l?{metadata:this.visit(l)}:{},...h?{stereotype:this.visit(h)}:{},classes:p.classes,classSpans:p.spans}}actorName(a){let o=this.tokens(a,"IDENTIFIER")[0],l=this.tokens(a,"PLAIN_STRING")[0]??this.tokens(a,"MARKDOWN_STRING")[0];if(o){let f=this.nodes(a,"nodeLabel")[0],p=f?this.visit(f):this.tokenLabel(o);return{id:o.image,label:p,location:this.tokenLocation(o),generated:!1,classes:[],classSpans:[]}}let h=this.tokenLabel(l);return{id:this.generateId(h.text),label:h,location:this.tokenLocation(l),generated:!0,classes:[],classSpans:[]}}actorDeclarationOnly(a){let o=this.nodes(a,"actorItem"),l=o.map(h=>this.visit(h));for(let h of l)this.builder.addElement(this.actorDraft(h));return{kind:"node",span:[0,0],nodes:l.map((h,f)=>this.actorOccurrence(o[f],h,!0))}}entityStatement(a){let o=this.nodes(a,"entityName"),l=this.visit(o[0]),h=this.nodes(a,"relationTail")[0];if(!h)return l.explicitDeclaration=!0,l.shape??="ellipse",this.builder.addElement(this.entityDraft(l)),{kind:"node",span:[0,0],nodes:[this.entityOccurrence(o[0],l,!0)]};l.explicitDeclaration&&this.builder.addElement(this.entityDraft(l));let f=this.visit(h);f.target.explicitDeclaration&&this.builder.addElement(this.entityDraft(f.target));let p={source:this.endpoint(l),target:this.endpoint(f.target),location:this.nodeLocation(h),...f.explicitId?{explicitId:f.explicitId,explicitIdLocation:f.explicitIdLocation}:{},...f.arrow};this.builder.addRelationship(p);let m=p.explicitId??`edge-${this.anonymousEdge++}`;return{kind:"edge",span:[0,0],nodes:[this.entityOccurrence(o[0],l,l.explicitDeclaration),this.entityOccurrence(this.nodes(h.children,"entityName")[0],f.target,f.target.explicitDeclaration)],edges:[{id:m,span:[0,0],...p.explicitIdLocation?{idSpan:p.explicitIdLocation.span}:{},...p.label?{labelSpan:p.label.span}:{}}]}}entityName(a){let o=this.tokens(a,"IDENTIFIER")[0],l=this.tokens(a,"PLAIN_STRING")[0]??this.tokens(a,"MARKDOWN_STRING")[0],h=this.nodes(a,"nodeLabel")[0],f=this.nodes(a,"useCaseMetadata")[0],p=this.nodes(a,"stereotype")[0],m=this.nodes(a,"classSuffix")[0],b=m?this.visit(m):{classes:[],spans:[]};if(o){let T=h?this.visit(h):this.tokenLabel(o),C=h?this.tokens(a,"LBRACKET").length?"rect":"ellipse":void 0;return{id:o.image,label:T,location:this.tokenLocation(o),generated:!1,...C?{shape:C}:{},...f?{metadata:this.visit(f)}:{},...p?{stereotype:this.visit(p)}:{},classes:b.classes,classSpans:b.spans,explicitDeclaration:!!(C||f||p)}}let v=this.tokenLabel(l);return{id:this.generateId(v.text),label:v,location:this.tokenLocation(l),generated:!0,...f?{metadata:this.visit(f)}:{},...p?{stereotype:this.visit(p)}:{},classes:b.classes,classSpans:b.spans,explicitDeclaration:!!(f||p)}}nodeLabel(a){let o=this.allTokens(a);if(o.length===1&&(o[0].tokenType.name==="PLAIN_STRING"||o[0].tokenType.name==="MARKDOWN_STRING"))return this.tokenLabel(o[0]);let l=[o[0].startOffset,(o.at(-1).endOffset??o.at(-1).startOffset)+1];return{text:this.source.slice(l[0],l[1]),type:"text",span:l}}useCaseMetadata(a){return this.visit(this.nodes(a,"metadata")[0])}relationTail(a){let o=this.tokens(a,"IDENTIFIER")[0];return{...o?{explicitId:o.image,explicitIdLocation:this.tokenLocation(o)}:{},arrow:this.visit(this.nodes(a,"arrow")[0]),target:this.visit(this.nodes(a,"entityName")[0])}}arrow(a){return this.visit(this.firstNode(a,"semanticRelation","forwardSolidOperator","backwardSolidOperator","markerlessSolidOperator","forwardCircleOperator","backwardCircleOperator","forwardCrossOperator","backwardCrossOperator"))}edgeLabel(a){return this.nodeLabel(a)}semanticRelation(a){if(this.tokens(a,"GENERALIZATION").length)return{type:"generalization",arrowType:of.SOLID_ARROW,minlen:1};let o=this.tokens(a,"INCLUDE").length?"include":"extend",l=this.tokens(a,o==="include"?"INCLUDE":"EXTEND")[0];return{type:o,arrowType:of.SOLID_ARROW,label:{text:o,type:"text",span:this.tokenSpan(l)},minlen:1}}metadata(a){return{properties:this.nodes(a,"metadataProperty").map(o=>this.visit(o)),location:this.ctxLocation(a)}}metadataProperty(a){let o=this.allTokens(a).filter(m=>m.tokenType.name!=="COLON"),l=o[0],h=o[1],f=h.tokenType.name==="TRUE"?!0:h.tokenType.name==="FALSE"?!1:this.decodePlain(h),p=[l.startOffset,(h.endOffset??h.startOffset)+1];return{key:this.decodePlain(l),value:f,span:p,keySpan:this.contentSpan(l),valueSpan:this.contentSpan(h),location:this.tokenLocation(l)}}metadataSeparator(a){}systemBoundaryStatement(a){let o=this.visit(this.nodes(a,"systemBoundaryName")[0]),l=this.nodes(a,"classSuffix")[0],h=l?this.visit(l):{classes:[],spans:[]};o.classes=h.classes,this.builder.addBoundary(o);let f=this.parentBoundary;this.parentBoundary={id:o.id,location:o.location};let p=this.nodes(a,"systemBoundaryContent")[0],m=p?this.visit(p):[];this.parentBoundary=f;let b=this.tokens(a,"END")[0],v=this.nodes(a,"metadata")[0],T=v?this.visit(v):void 0,C={kind:"group",span:[0,0],group:o.id,idSpan:o.location.span,titleSpan:o.label.span,endSpan:this.tokenSpan(b),classSpans:h.spans,...T?{metadata:T.properties.map(({key:E,span:S,keySpan:R,valueSpan:L})=>({key:E,span:S,keySpan:R,valueSpan:L}))}:{},...m.length?{children:m}:{}};return T&&this.builder.addMetadataAssignment(o.id,o.location,T,C),C}systemBoundaryName(a){let o=this.tokens(a,"IDENTIFIER")[0];if(o){let f=this.nodes(a,"nodeLabel")[0];return{id:o.image,label:f?this.visit(f):this.tokenLabel(o),location:this.tokenLocation(o),generated:!1,classes:[]}}let l=this.tokens(a,"PLAIN_STRING")[0]??this.tokens(a,"MARKDOWN_STRING")[0],h=this.tokenLabel(l);return{id:this.generateId(h.text),label:h,location:this.tokenLocation(l),generated:!0,classes:[]}}systemBoundaryContent(a){return[...this.nodes(a,"blankLine"),...this.nodes(a,"commentLine"),...this.nodes(a,"boundaryElement")].sort((l,h)=>(l.location?.startOffset??0)-(h.location?.startOffset??0)).map(l=>this.wrap(l,this.visit(l)))}boundaryElement(a){let o=this.nodes(a,"actorDeclarationOnly")[0];if(o)return this.visit(o);let l=this.nodes(a,"entityName")[0],h=this.visit(l);return h.explicitDeclaration=!0,h.shape??="ellipse",this.builder.addElement(this.entityDraft(h)),{kind:"node",span:[0,0],nodes:[this.entityOccurrence(l,h,!0)]}}metadataAssignmentStatement(a){let o=this.visit(this.nodes(a,"metadataAssignmentTarget")[0]),l=this.visit(this.nodes(a,"metadata")[0]),h={kind:"metadata",span:[0,0],nodes:[{id:o.id,span:o.location.span,idSpan:o.location.span}],metadata:l.properties.map(({key:f,span:p,keySpan:m,valueSpan:b})=>({key:f,span:p,keySpan:m,valueSpan:b}))};return this.builder.addMetadataAssignment(o.id,o.location,l,h),h}metadataAssignmentTarget(a){let o=this.allTokens(a)[0],l=this.tokenLabel(o);return{id:o.tokenType.name==="IDENTIFIER"?o.image:this.generateId(l.text),location:this.tokenLocation(o)}}noteStatement(a){let o=this.tokens(a,"IDENTIFIER")[0],l=this.visit(this.nodes(a,"nodeLabel")[0]);return this.builder.addNote({target:o.image,targetLocation:this.tokenLocation(o),label:l,location:this.ctxLocation(a)}),{kind:"note",span:[0,0],ref:`note-${this.anonymousNote++}`,refSpan:l.span,nodes:[{id:o.image,span:this.tokenSpan(o),idSpan:this.tokenSpan(o)}]}}stereotype(a){let o=this.tokens(a,"STEREOTYPE_TEXT")[0];return{value:o.image.trim(),span:this.tokenSpan(o)}}classSuffix(a){let o=this.tokens(a,"IDENTIFIER");return{classes:o.map(l=>l.image),spans:o.map(l=>this.tokenSpan(l))}}jsonStatement(a){let o=this.tokens(a,"JSON_DECLARATION_START")[0],l=this.tokens(a,"JSON_OBJECT_LITERAL")[0],h=/^json[\t ]+(\w+)/.exec(o.image),f=h[1],p=h[0].length-f.length,m={span:[o.startOffset+p,o.startOffset+p+f.length],line:o.startLine??1,column:(o.startColumn??1)+p},b=Hqr(l.image,l.startLine??1,l.startColumn??1),v=this.nodes(a,"classSuffix")[0],T=v?this.visit(v):{classes:[],spans:[]},C={id:f,value:b.value,propertyOrder:b.propertyOrder,location:m,classes:T.classes};return this.builder.addJson(C),{kind:"json",span:[0,0],nodes:[{id:f,span:m.span,idSpan:m.span,defines:!0,classSpans:T.spans}],classSpans:T.spans}}directionStatement(a){let o=this.allTokens(a).find(l=>["TD","TB","BT","RL","LR"].includes(l.tokenType.name));return this.builder.setDirection(o.image),{kind:"direction",span:[0,0]}}classDefStatement(a){let o=this.tokens(a,"IDENTIFIER"),l=this.visit(this.nodes(a,"styles")[0]);return this.builder.addClassDef(o.map(h=>h.image),l),{kind:"classDef",span:[0,0],ref:o[0].image,refSpan:this.tokenSpan(o[0])}}classStatement(a){let o=this.tokens(a,"IDENTIFIER"),l=1;for(;l({id:p.image,location:this.tokenLocation(p)})),f=o.slice(l).map(p=>p.image);return this.builder.addClassAssignment(h,f),{kind:"classAssign",span:[0,0],ref:f[0],refSpan:this.tokenSpan(o[l]),nodes:h.map(({id:p,location:m})=>({id:p,span:m.span,idSpan:m.span}))}}styleStatement(a){let o=this.tokens(a,"IDENTIFIER")[0],l=this.visit(this.nodes(a,"styles")[0]);return this.builder.addStyleAssignment(o.image,this.tokenLocation(o),l),{kind:"style",span:[0,0],nodes:[{id:o.image,span:this.tokenSpan(o),idSpan:this.tokenSpan(o)}]}}styles(a){return this.nodes(a,"styleValue").map(o=>this.visit(o))}styleValue(a){let o=this.allTokens(a),l=[o[0].startOffset,(o.at(-1).endOffset??o.at(-1).startOffset)+1];return this.source.slice(l[0],l[1]).replaceAll("\\,",",")}styleComponent(a){return this.allTokens(a).map(o=>o.image).join("")}forwardSolidOperator(a){let o=this.tokens(a,"FORWARD_SOLID")[0];return{type:"association",arrowType:of.SOLID_ARROW,minlen:this.solidMinlen(o)}}backwardSolidOperator(a){let o=this.tokens(a,"BACKWARD_SOLID")[0],l=this.nodes(a,"edgeLabel")[0],h=l?this.tokens(a,"MARKERLESS_SOLID").at(-1):o;return{type:"association",arrowType:of.BACK_ARROW,minlen:this.solidMinlen(h),...l?{label:this.visit(l)}:{}}}markerlessSolidOperator(a){let o=this.nodes(a,"edgeLabel")[0],l=this.allTokens(a);if(!o)return{type:"association",arrowType:of.LINE_SOLID,minlen:this.solidMinlen(this.tokens(a,"MARKERLESS_SOLID")[0])};let h=l.at(-1),f=h.tokenType.name==="FORWARD_SOLID"?of.SOLID_ARROW:h.tokenType.name==="FORWARD_CIRCLE"?of.CIRCLE_ARROW:h.tokenType.name==="FORWARD_CROSS"?of.CROSS_ARROW:of.LINE_SOLID;return{type:"association",arrowType:f,label:this.visit(o),minlen:f===of.SOLID_ARROW||f===of.LINE_SOLID?this.solidMinlen(h):1}}forwardCircleOperator(a){return{type:"association",arrowType:of.CIRCLE_ARROW,minlen:1}}backwardCircleOperator(a){let o=this.nodes(a,"edgeLabel")[0];return{type:"association",arrowType:of.CIRCLE_ARROW_REVERSED,minlen:1,...o?{label:this.visit(o)}:{}}}forwardCrossOperator(a){return{type:"association",arrowType:of.CROSS_ARROW,minlen:1}}backwardCrossOperator(a){let o=this.nodes(a,"edgeLabel")[0];return{type:"association",arrowType:of.CROSS_ARROW_REVERSED,minlen:1,...o?{label:this.visit(o)}:{}}}actorDraft(a){return{id:a.id,kind:"actor",label:a.label,location:a.location,generated:a.generated,...this.parentBoundary?{parentId:this.parentBoundary.id,parentLocation:this.parentBoundary.location}:{},...a.metadata?{metadata:a.metadata}:{},...a.stereotype?{stereotype:a.stereotype.value,stereotypeSpan:a.stereotype.span}:{},classes:a.classes}}entityDraft(a){return{id:a.id,kind:"usecase",label:a.label,location:a.location,generated:a.generated,...this.parentBoundary?{parentId:this.parentBoundary.id,parentLocation:this.parentBoundary.location}:{},...a.shape?{shape:a.shape}:{},...a.metadata?{metadata:a.metadata}:{},...a.stereotype?{stereotype:a.stereotype.value,stereotypeSpan:a.stereotype.span}:{},classes:a.classes}}endpoint(a,o=a.explicitDeclaration??!0){return{id:a.id,label:a.label,location:a.location,generated:a.generated,declaration:o,classesOnReference:a.classes.length>0}}relationshipDraft(a,o,l){return{source:this.endpoint(a,!0),target:this.endpoint(o.target),location:l,...o.explicitId?{explicitId:o.explicitId,explicitIdLocation:o.explicitIdLocation}:{},...o.arrow}}actorOccurrence(a,o,l){return{id:o.id,span:this.nodeSpan(a),idSpan:o.location.span,labelSpan:o.label.span,...l?{defines:!0}:{},...o.stereotype?{stereotypeSpan:o.stereotype.span}:{},...o.metadata?{metadata:o.metadata.properties.map(({key:h,span:f,keySpan:p,valueSpan:m})=>({key:h,span:f,keySpan:p,valueSpan:m}))}:{},...o.classSpans.length?{classSpans:o.classSpans}:{}}}entityOccurrence(a,o,l){return this.actorOccurrence(a,o,l)}wrap(a,o){if(o.kind==="blank"||o.kind==="comment")return o;o.span=this.nodeSpan(a);for(let l of o.edges??[])l.span=o.span;return o}tokenLabel(a){let o=a.tokenType.name==="MARKDOWN_STRING"?"markdown":"text",l=o==="markdown"?2:a.tokenType.name==="PLAIN_STRING"?1:0,h=this.tokenSpan(a,l);return{text:this.source.slice(h[0],h[1]),type:o,span:h}}decodePlain(a){return a.tokenType.name==="PLAIN_STRING"?a.image.slice(1,-1):a.image}contentSpan(a){return this.tokenSpan(a,a.tokenType.name==="PLAIN_STRING"?1:a.tokenType.name==="MARKDOWN_STRING"?2:0)}generateId(a){return a.replace(/\W/g,"_")}solidMinlen(a){return Math.max(1,(a.image.match(/-/g)?.length??2)-1)}nodeLocation(a){let o=this.allTokens(a.children)[0];return{span:this.nodeSpan(a),line:o.startLine??1,column:o.startColumn??1}}ctxLocation(a){let o=this.allTokens(a).filter(f=>f.tokenType.name!=="NEWLINE"&&f.tokenType.name!=="EOF"),l=o[0],h=o.at(-1);return{span:[l.startOffset,Math.min(this.source.length,(h.endOffset??h.startOffset+h.image.length-1)+1)],line:l.startLine??1,column:l.startColumn??1}}tokenLocation(a){let o=a.tokenType.name==="PLAIN_STRING"?1:a.tokenType.name==="MARKDOWN_STRING"?2:0;return{span:this.tokenSpan(a,o),line:a.startLine??1,column:(a.startColumn??1)+o}}nodeSpan(a){let o=this.allTokens(a.children).filter(f=>f.tokenType.name!=="NEWLINE"&&f.tokenType.name!=="EOF"),l=o[0],h=o.at(-1);if(!l||!h)throw new Error("Usecase CST node has no source token");return[l.startOffset,Math.min(this.source.length,(h.endOffset??h.startOffset+h.image.length-1)+1)]}tokenSpan(a,o=0){return[a.startOffset+o,Math.min(this.source.length,(a.endOffset??a.startOffset+a.image.length-1)+1-o)]}nodes(a,o){return(a[o]??[]).filter(l=>"children"in l)}tokens(a,o){return(a[o]??[]).filter(l=>"tokenTypeIdx"in l)}firstNode(a,...o){for(let l of o){let h=this.nodes(a,l)[0];if(h)return h}throw new Error(`Usecase CST is missing one of: ${o.join(", ")}`)}allTokens(a){let o=[];for(let l of Object.values(a))for(let h of l)"tokenTypeIdx"in h?o.push(h):o.push(...this.allTokens(h.children));return o.sort((l,h)=>l.startOffset-h.startOffset)}},Qqr=new Xft});var Zqr,eWr=ie(()=>{"use strict";YVr();cCe();Uqr();Wft();Jqr();Zqr={parse:i(async t=>{HP.clear(),nB.input=[];try{WVr({diagramType:"usecase",lexer:zqr,parser:nB,entry:i(()=>nB.start(),"entry"),visit:i(r=>Qqr.build(r,t),"visit")},t)}catch(r){HP.clear();let a=nB.errors[0];if(a){let{token:o}=a,l=UP(o.startOffset)?o.startOffset:t.length,h=UP(o.endOffset)?o.endOffset+1:l,f=UP(o.startLine)?o.startLine:t.slice(0,l).split(/\r\n|\r|\n/).length,p=Math.max(t.lastIndexOf(` +`,l-1),t.lastIndexOf("\r",l-1)),m=UP(o.startColumn)?o.startColumn:l-p,b=r instanceof Error?r.message:String(r);throw new Error(`${b} at line ${f}, column ${m} [${l},${h})`)}throw r}},"parse")}});var Myi,iWr,tWr,Iyi,cEe,Nyi,Oyi,Pyi,OH,rWr,Byi,Fyi,nWr,$yi,aWr,sWr=ie(()=>{"use strict";Yo();ma();Xn();hA();xS();rQe();TS();Ia();Myi=["point","circle","cross","extension"],iWr={usecaseActor:!0,usecaseActorHollow:!0,usecaseActorAwesome:!0,usecaseActorIcon:!0},tWr=i((t,r)=>{let[a,o]=[t,r].map(l=>l.replace(/[^\w-]+/g,"_").replace(/^_+|_+$/g,"")||"element");return`usecase-${a}-${o}`},"usecaseDomId"),Iyi=i(t=>`usecase-${t.replace(/[^\w-]+/g,"_").replace(/^_+|_+$/g,"")||"element"}`,"usecaseNodeDomId"),cEe=i((t,r)=>r!=="markdown"?t:c2e(t).map(a=>a.map(o=>o.content).join(" ")).join(` +`),"getAccessibleLabel"),Nyi=i(t=>{let r=cEe(t.label??t.id,t.labelType);if(iWr[t.shape]){let o=t.actorType&&t.actorType!=="normal"?`${t.actorType} `:"",l=t.business?"business ":"",h=t.stereotype?`, stereotype ${t.stereotype}`:"";return`${l}${o}actor ${r}${h}`}if(t.shape==="note")return`Note for ${t.noteTargetLabel??t.noteTarget??""}: ${r}`;if(t.shape==="usecaseJsonTable"){let o=(t.jsonRows??[]).map(l=>`${l.accessibleKey}: ${l.value}`).join("; ");return o?`${r}: ${o}`:r}let a=t.stereotype?`, stereotype ${t.stereotype}`:"";return`${t.business?"business ":""}use case ${r}${a}`},"getUsecaseNodeAccessibleName"),Oyi=i(t=>`${t.boundaryType} system boundary ${cEe(t.label??t.id,t.labelType)}`,"getUsecaseBoundaryAccessibleName"),Pyi=i(t=>t.relationshipType==="note"?"":`${t.relationshipType==="association"&&t.label?`association ${cEe(t.label,t.labelType)}`:t.relationshipType} from ${t.sourceLabel} to ${t.targetLabel}`,"getUsecaseEdgeAccessibleName"),OH=i(t=>t.replace(/&/g,"&").replace(//g,">"),"escapePlainLabel"),rWr=i(t=>t.replace(/([*[\\\]_`])/g,"\\$1"),"escapeMarkdownMarkers"),Byi=i((t,r)=>{t.diagramId=r,t.markers=[...Myi];for(let a of t.nodes){let o=a;if(o.domId=Iyi(a.id),a.label!==void 0&&a.labelType==="text"&&(a.label=OH(a.label)),a.stereotype&&(a.stereotype=OH(a.stereotype)),!a.isGroup&&a.shape==="usecaseJsonTable"&&(a.jsonRows=a.jsonRows?.map(l=>({...l,key:OH(l.key),value:OH(l.value)}))),!a.isGroup&&(a.shape==="usecaseEllipse"||a.shape==="rect")&&a.stereotype){let l=a.label??OH(a.id);a.label=`\xAB${rWr(a.stereotype)}\xBB
    ${a.labelType==="text"?rWr(l):l}`,a.labelType="markdown",o.hasFoldedStereotype=!0,delete a.stereotype}}for(let a of t.edges)a.label!==void 0&&a.labelType==="text"&&(a.label=OH(a.label));return t},"prepareUsecaseLayoutData"),Fyi=i((t,r,a)=>{for(let l of r.nodes){let h=typeof l.domId=="string"?l.domId:tWr(r.diagramId,l.id),f=t.select(`#${h}`),p=l.isGroup?"boundary":iWr[l.shape]?"actor":l.shape==="note"?"note":l.shape==="usecaseJsonTable"?"json":"usecase",m=a.nodes.get(l.id)??l.id;if(f.attr("data-usecase-id",l.id).attr("data-usecase-kind",p).attr("role","img").attr("aria-label",m),!l.isGroup&&(l.shape==="usecaseEllipse"||l.shape==="rect")&&"hasFoldedStereotype"in l&&l.hasFoldedStereotype===!0){let b=f.node(),v=b?.querySelector(".nodeLabel"),T=v?.querySelector("p")??v,C=T?.firstChild;if(T&&C?.nodeType===3){let E=T.ownerDocument.createElement("span");E.className="usecase-stereotype",T.insertBefore(E,C),E.appendChild(C)}else b?.querySelector(".label tspan tspan, .label tspan")?.classList.add("usecase-stereotype")}}let o=new Map(r.edges.map(l=>[l.id,l]));t.selectAll('path[data-et="edge"]').each(function(){let l=o.get(this.getAttribute("data-id")??"");if(!l)return;let h=dn(this);h.attr("id",tWr(r.diagramId,l.id)).attr("data-usecase-id",l.id).attr("data-usecase-kind",l.internal?"note-connector":"relationship"),l.internal?h.attr("aria-hidden","true"):h.attr("role","img").attr("aria-label",a.edges.get(l.id)??l.id)})},"annotateUsecaseElements"),nWr=i((t,r)=>{t.style("--mermaid-usecase-actor-font-size",`${r.actorFontSize}px`).style("--mermaid-usecase-actor-font-family",r.actorFontFamily).style("--mermaid-usecase-actor-font-weight",r.actorFontWeight).style("--mermaid-usecase-font-size",`${r.usecaseFontSize}px`).style("--mermaid-usecase-font-family",r.usecaseFontFamily).style("--mermaid-usecase-font-weight",r.usecaseFontWeight)},"applyUsecaseFonts"),$yi=i(async(t,r,a,o)=>{Pe.info("Drawing usecase diagram (unified)",r);let{layout:l}=Zt(),h=o.db,f=h.getData(),p=new Map(f.nodes.map(T=>[T.id,cEe(T.label??T.id,T.labelType)])),m={nodes:new Map(f.nodes.map(T=>[T.id,T.isGroup?Oyi(T):Nyi(T.shape==="note"?{...T,noteTargetLabel:p.get(T.noteTarget??"")}:T)])),edges:new Map(f.edges.map(T=>[T.id,Pyi({...T,sourceLabel:p.get(T.source)??T.sourceLabel,targetLabel:p.get(T.target)??T.targetLabel})]))},b=ay(r,f.config.securityLevel);f.layoutAlgorithm=dy(l),Byi(f,r),nWr(b,f),await fy(f,b),Fyi(b,f,m);let v=f.diagramPadding;Ya.insertTitle(b,"usecaseDiagramTitleText",0,h.getDiagramTitle?.()??""),Cm(b,v,"usecaseDiagram",f.useMaxWidth),nWr(b,f)},"draw"),aWr={draw:$yi}});var Gyi,jyi,zyi,oWr,lWr=ie(()=>{"use strict";Qs();b0();Gyi=i(t=>({actorBkg:t.usecaseActorBkg??t.actorBkg??t.mainBkg,actorBorder:t.usecaseActorBorder??t.actorBorder??t.primaryColor,bkg:t.usecaseBkg??t.mainBkg,border:t.usecaseBorder??t.nodeBorder??t.primaryColor,boundaryBkg:t.usecaseBoundaryBkg??t.clusterBkg,boundaryBorder:t.usecaseBoundaryBorder??t.clusterBorder,includeLine:t.usecaseIncludeLine??t.lineColor,extendLine:t.usecaseExtendLine??t.lineColor}),"roleColors"),jyi=i(t=>{let{theme:r,bkgColorArray:a,borderColorArray:o}=t;if(!y0(r,o))return"";let l=ii().usecase?.colorScheme==="rotate",h=Lg(t.look),f=h==="handDrawn",p=m0(a),m="";for(let b=0;b{let r=Gyi(t),a=Lg(t.look)==="handDrawn";return` + ${jyi(t)} + & .usecase-actor { + color: ${t.actorTextColor??t.primaryTextColor}; + } + + & .usecase-actor-shape, + & .usecase-actor-hollow, + & .usecase-actor-awesome, + & .usecase-actor-icon { + fill: ${r.actorBkg}; + stroke: ${r.actorBorder}; + stroke-width: 2px; + } +${a?"":` + /* The rule above colours the glyph group and lets its children inherit, which the neo + look breaks: it ships a \`[data-look="neo"].node path { stroke }\` rule that lands on + the glyph's own paths, and a value set directly on a child always beats one inherited + from its parent, whatever the parent rule's specificity. Since neo is the default look, + without this every actor renders in the node border colour rather than the actor + colour the rule above asks for. + + \`.node\` is in the selector to outrank that neo rule rather than tie with it: both + would otherwise be one attribute plus one class plus one element, leaving the winner to + depend on which stylesheet is concatenated last. + + Stroke only: the hollow variant's own \`fill="none"\` has to keep winning. */ + & .node.usecase-actor .usecase-actor-glyph path, + & .node.usecase-actor .usecase-actor-glyph circle { + stroke: ${r.actorBorder}; + } +`} + & .usecase-actor .nodeLabel, + & .actor-label { + color: ${t.actorTextColor??t.primaryTextColor}; + fill: ${t.actorTextColor??t.primaryTextColor}; + font-family: var(--mermaid-usecase-actor-font-family, ${t.fontFamily}); + font-size: var(--mermaid-usecase-actor-font-size, 14px); + font-weight: var(--mermaid-usecase-actor-font-weight, normal); + } + + & .usecase-element ellipse, + & .usecase-element rect, + & .usecase-business ellipse, + & .usecase-business rect { + fill: ${r.bkg}; + stroke: ${r.border}; + stroke-width: 2px; + } +${a?"":` + /* The same interception the actor glyph hits, one element down: neo ships + \`[data-look="neo"].node rect { stroke: nodeBorder }\`, which outranks the plain + \`.usecase-element rect\` above, so a use case written in the \`[Rect]\` form kept the node + border colour while its ellipse siblings took the role colour. An \`\` has no + equivalent neo rule and is already correct; restating it here costs nothing and means + the two forms cannot drift apart again. + + Qualified with \`[data-look]\` *and* \`.node\` to land strictly above that rule rather than + tie with it -- on a tie the later stylesheet would win, which is how neo took this in + the first place. Skipped under handDrawn, where roughjs draws paths and neither element + exists. */ + & [data-look="${Lg(t.look)}"].node.usecase-element ellipse, + & [data-look="${Lg(t.look)}"].node.usecase-element rect { + fill: ${r.bkg}; + stroke: ${r.border}; + } + + /* The business marker is a \`\`, so it loses to \`[data-look="neo"].node path\` the same + way. No \`fill\`: the marker is drawn with \`fill="none"\` and has to stay that way. */ + & [data-look="${Lg(t.look)}"].node.usecase-element .usecase-business-marker { + stroke: ${r.border}; + } +`} + & .usecase-element .nodeLabel, + & .usecase-label { + color: ${t.primaryTextColor}; + fill: ${t.primaryTextColor}; + font-family: var(--mermaid-usecase-font-family, ${t.fontFamily}); + font-size: var(--mermaid-usecase-font-size, 12px); + font-weight: var(--mermaid-usecase-font-weight, normal); + } + + & .usecase-stereotype, + & .usecase-business-marker { + color: ${t.primaryTextColor}; + fill: ${t.primaryTextColor}; + stroke: ${r.border}; + } + + & .system-boundary rect.boundary-body, + & .system-boundary rect.boundary-tab, + & .system-boundary-package-tab { + fill: ${r.boundaryBkg}; + stroke: ${r.boundaryBorder}; + stroke-width: 1px; + } + + & .system-boundary-title text { + fill: ${t.titleColor??t.primaryTextColor}; + } + + /* Only the span, never the

    inside it: the renderer puts a user-supplied + 'color' on the span, and that has to stay inheritable by its children. */ + & .system-boundary-title span { + color: ${t.titleColor??t.primaryTextColor}; + } + + & .usecase-note { + fill: ${t.noteBkgColor}; + stroke: ${t.noteBorderColor}; + color: ${t.noteTextColor}; + } + + & .usecase-note .nodeLabel { + color: ${t.noteTextColor}; + fill: ${t.noteTextColor}; + } + + & .usecase-json-table, + & .usecase-json-table rect, + & .usecase-json-cell { + fill: ${t.mainBkg}; + stroke: ${t.nodeBorder??t.primaryColor}; + } + + & .usecase-json-title, + & .usecase-json-key, + & .usecase-json-value { + color: ${t.primaryTextColor}; + fill: ${t.primaryTextColor}; + } + + & .relationship { + fill: none; + stroke: ${t.lineColor}; + } + + & .relationship-include, + & .relationship-extend, + & .relationship-note { + stroke-dasharray: 3; + } + + /* Include and extend are both dashed, which is a weak distinction at small sizes. The + tokens default to \`lineColor\`, so a theme that does not set them is unchanged. */ + & .relationship-include { + stroke: ${r.includeLine}; + } + + & .relationship-extend { + stroke: ${r.extendLine}; + } + + & .relationship.edge-animation-fast, + & .relationship.edge-animation-slow { + stroke-linecap: round; } -`;function uYe(i,a,u=!1){var R,B,j;const d=i;let p="default";(((R=d==null?void 0:d.classes)==null?void 0:R.length)||0)>0&&(p=((d==null?void 0:d.classes)||[]).join(" ")),p=p+" flowchart-label";let v=0,b="",y;switch(d.type){case"round":v=5,b="rect";break;case"composite":v=0,b="composite",y=0;break;case"square":b="rect";break;case"diamond":b="question";break;case"hexagon":b="hexagon";break;case"block_arrow":b="block_arrow";break;case"odd":b="rect_left_inv_arrow";break;case"lean_right":b="lean_right";break;case"lean_left":b="lean_left";break;case"trapezoid":b="trapezoid";break;case"inv_trapezoid":b="inv_trapezoid";break;case"rect_left_inv_arrow":b="rect_left_inv_arrow";break;case"circle":b="circle";break;case"ellipse":b="ellipse";break;case"stadium":b="stadium";break;case"subroutine":b="subroutine";break;case"cylinder":b="cylinder";break;case"group":b="rect";break;case"doublecircle":b="doublecircle";break;default:b="rect"}const E=gm((d==null?void 0:d.styles)||[]),_=d.label,A=d.size||{width:0,height:0,x:0,y:0};return{labelStyle:E.labelStyle,shape:b,labelText:_,rx:v,ry:v,class:p,style:E.style,id:d.id,directions:d.directions,width:A.width,height:A.height,x:A.x,y:A.y,positioned:u,intersect:void 0,type:d.type,padding:y??(((j=(B=mh())==null?void 0:B.block)==null?void 0:j.padding)||0)}}async function Hcn(i,a,u){const d=uYe(a,u,!1);if(d.type==="group")return;const p=await pJ(i,d),v=p.node().getBBox(),b=u.getBlock(d.id);b.size={width:v.width,height:v.height,x:0,y:0,node:p},u.setBlock(b),p.remove()}async function Ucn(i,a,u){const d=uYe(a,u,!0);u.getBlock(d.id).type!=="space"&&(await pJ(i,d),a.intersect=d==null?void 0:d.intersect,ive(d))}async function Dwe(i,a,u,d){for(const p of a)await d(i,p,u),p.children&&await Dwe(i,p.children,u,d)}async function Vcn(i,a,u){await Dwe(i,a,u,Hcn)}async function Gcn(i,a,u){await Dwe(i,a,u,Ucn)}async function Kcn(i,a,u,d,p){const v=new R0({multigraph:!0,compound:!0});v.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8});for(const b of u)b.size&&v.setNode(b.id,{width:b.size.width,height:b.size.height,intersect:b.intersect});for(const b of a)if(b.start&&b.end){const y=d.getBlock(b.start),E=d.getBlock(b.end);if(y!=null&&y.size&&(E!=null&&E.size)){const _=y.size,A=E.size,P=[{x:_.x,y:_.y},{x:_.x+(A.x-_.x)/2,y:_.y+(A.y-_.y)/2},{x:A.x,y:A.y}];await oGe(i,{v:b.start,w:b.end,name:b.id},{...b,arrowTypeEnd:b.arrowTypeEnd,arrowTypeStart:b.arrowTypeStart,points:P,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"},void 0,"block",v,p),b.label&&(await sve(i,{...b,label:b.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:b.arrowTypeEnd,arrowTypeStart:b.arrowTypeStart,points:P,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"}),await sGe({...b,x:P[1].x,y:P[1].y},{originalPath:P}))}}}const Jf=((dYe=(fYe=qt())==null?void 0:fYe.block)==null?void 0:dYe.padding)||8;function Wcn(i,a){if(i===0||!Number.isInteger(i))throw new Error("Columns must be an integer !== 0.");if(a<0||!Number.isInteger(a))throw new Error("Position must be a non-negative integer."+a);if(i<0)return{px:a,py:0};if(i===1)return{px:0,py:a};const u=a%i,d=Math.floor(a/i);return{px:u,py:d}}const Ycn=i=>{let a=0,u=0;for(const d of i.children){const{width:p,height:v,x:b,y}=d.size||{width:0,height:0,x:0,y:0};Xe.debug("getMaxChildSize abc95 child:",d.id,"width:",p,"height:",v,"x:",b,"y:",y,d.type),d.type!=="space"&&(p>a&&(a=p/(i.widthInColumns||1)),v>u&&(u=v))}return{width:a,height:u}};function Iwe(i,a,u=0,d=0){var b,y,E,_,A,P,R,B,j,W,ee;Xe.debug("setBlockSizes abc95 (start)",i.id,(b=i==null?void 0:i.size)==null?void 0:b.x,"block width =",i==null?void 0:i.size,"sieblingWidth",u),(y=i==null?void 0:i.size)!=null&&y.width||(i.size={width:u,height:d,x:0,y:0});let p=0,v=0;if(((E=i.children)==null?void 0:E.length)>0){for(const de of i.children)Iwe(de,a);const ie=Ycn(i);p=ie.width,v=ie.height,Xe.debug("setBlockSizes abc95 maxWidth of",i.id,":s children is ",p,v);for(const de of i.children)de.size&&(Xe.debug(`abc95 Setting size of children of ${i.id} id=${de.id} ${p} ${v} ${de.size}`),de.size.width=p*(de.widthInColumns||1)+Jf*((de.widthInColumns||1)-1),de.size.height=v,de.size.x=0,de.size.y=0,Xe.debug(`abc95 updating size of ${i.id} children child:${de.id} maxWidth:${p} maxHeight:${v}`));for(const de of i.children)Iwe(de,a,p,v);const oe=i.columns||-1;let be=0;for(const de of i.children)be+=de.widthInColumns||1;let ge=i.children.length;oe>0&&oe0?Math.min(i.children.length,oe):i.children.length;if(de>0){const X=(ne-de*Jf-Jf)/de;Xe.debug("abc95 (growing to fit) width",i.id,ne,(R=i.size)==null?void 0:R.width,X);for(const pe of i.children)pe.size&&(pe.size.width=X)}}i.size={width:ne,height:se,x:0,y:0}}Xe.debug("setBlockSizes abc94 (done)",i.id,(B=i==null?void 0:i.size)==null?void 0:B.x,(j=i==null?void 0:i.size)==null?void 0:j.width,(W=i==null?void 0:i.size)==null?void 0:W.y,(ee=i==null?void 0:i.size)==null?void 0:ee.height)}function lYe(i,a){var d,p,v,b,y,E,_,A,P,R,B,j,W,ee,ie,oe,be;Xe.debug(`abc85 layout blocks (=>layoutBlocks) ${i.id} x: ${(d=i==null?void 0:i.size)==null?void 0:d.x} y: ${(p=i==null?void 0:i.size)==null?void 0:p.y} width: ${(v=i==null?void 0:i.size)==null?void 0:v.width}`);const u=i.columns||-1;if(Xe.debug("layoutBlocks columns abc95",i.id,"=>",u,i),i.children&&i.children.length>0){const ge=((y=(b=i==null?void 0:i.children[0])==null?void 0:b.size)==null?void 0:y.width)||0,ae=i.children.length*ge+(i.children.length-1)*Jf;Xe.debug("widthOfChildren 88",ae,"posX");let ne=0;Xe.debug("abc91 block?.size?.x",i.id,(E=i==null?void 0:i.size)==null?void 0:E.x);let se=(_=i==null?void 0:i.size)!=null&&_.x?((A=i==null?void 0:i.size)==null?void 0:A.x)+(-((P=i==null?void 0:i.size)==null?void 0:P.width)/2||0):-Jf,de=0;for(const X of i.children){const pe=i;if(!X.size)continue;const{width:G,height:xe}=X.size,{px:U,py:Be}=Wcn(u,ne);if(Be!=de&&(de=Be,se=(R=i==null?void 0:i.size)!=null&&R.x?((B=i==null?void 0:i.size)==null?void 0:B.x)+(-((j=i==null?void 0:i.size)==null?void 0:j.width)/2||0):-Jf,Xe.debug("New row in layout for block",i.id," and child ",X.id,de)),Xe.debug(`abc89 layout blocks (child) id: ${X.id} Pos: ${ne} (px, py) ${U},${Be} (${(W=pe==null?void 0:pe.size)==null?void 0:W.x},${(ee=pe==null?void 0:pe.size)==null?void 0:ee.y}) parent: ${pe.id} width: ${G}${Jf}`),pe.size){const Pe=G/2;X.size.x=se+Jf+Pe,Xe.debug(`abc91 layout blocks (calc) px, pyid:${X.id} startingPos=X${se} new startingPosX${X.size.x} ${Pe} padding=${Jf} width=${G} halfWidth=${Pe} => x:${X.size.x} y:${X.size.y} ${X.widthInColumns} (width * (child?.w || 1)) / 2 ${G*((X==null?void 0:X.widthInColumns)||1)/2}`),se=X.size.x+Pe,X.size.y=pe.size.y-pe.size.height/2+Be*(xe+Jf)+xe/2+Jf,Xe.debug(`abc88 layout blocks (calc) px, pyid:${X.id}startingPosX${se}${Jf}${Pe}=>x:${X.size.x}y:${X.size.y}${X.widthInColumns}(width * (child?.w || 1)) / 2${G*((X==null?void 0:X.widthInColumns)||1)/2}`)}X.children&&lYe(X),ne+=(X==null?void 0:X.widthInColumns)||1,Xe.debug("abc88 columnsPos",X,ne)}}Xe.debug(`layout blocks (<==layoutBlocks) ${i.id} x: ${(ie=i==null?void 0:i.size)==null?void 0:ie.x} y: ${(oe=i==null?void 0:i.size)==null?void 0:oe.y} width: ${(be=i==null?void 0:i.size)==null?void 0:be.width}`)}function hYe(i,{minX:a,minY:u,maxX:d,maxY:p}={minX:0,minY:0,maxX:0,maxY:0}){if(i.size&&i.id!=="root"){const{x:v,y:b,width:y,height:E}=i.size;v-y/2d&&(d=v+y/2),b+E/2>p&&(p=b+E/2)}if(i.children)for(const v of i.children)({minX:a,minY:u,maxX:d,maxY:p}=hYe(v,{minX:a,minY:u,maxX:d,maxY:p}));return{minX:a,minY:u,maxX:d,maxY:p}}function Xcn(i){const a=i.getBlock("root");if(!a)return;Iwe(a,i,0,0),lYe(a),Xe.debug("getBlocks",JSON.stringify(a,null,2));const{minX:u,minY:d,maxX:p,maxY:v}=hYe(a),b=v-d,y=p-u;return{x:u,y:d,width:y,height:b}}const Qcn=Object.freeze(Object.defineProperty({__proto__:null,diagram:{parser:Mcn,db:zcn,renderer:{draw:async function(i,a,u,d){const{securityLevel:p,block:v}=mh(),b=d.db;let y;p==="sandbox"&&(y=Dr("#i"+a));const E=Dr(p==="sandbox"?y.nodes()[0].contentDocument.body:"body"),_=p==="sandbox"?E.select(`[id="${a}"]`):Dr(`[id="${a}"]`);Ume(_,["point","circle","cross"],d.type,a);const P=b.getBlocks(),R=b.getBlocksFlat(),B=b.getEdges(),j=_.insert("g").attr("class","block");await Vcn(j,P,b);const W=Xcn(b);if(await Gcn(j,P,b),await Kcn(j,B,R,b,a),W){const ee=W,ie=Math.max(1,Math.round(.125*(ee.width/ee.height))),oe=ee.height+ie+10,be=ee.width+10,{useMaxWidth:ge}=v;Fg(_,oe,be,!!ge),Xe.debug("Here Bounds",W,ee),_.attr("viewBox",`${ee.x-5} ${ee.y-5} ${ee.width+10} ${ee.height+10}`)}PF(sRe)},getClasses:function(i,a){return a.db.getClasses()}},styles:qcn}},Symbol.toStringTag,{value:"Module"}));return bm}); + + & .edgeLabel, + & .edgeLabel p { + background-color: ${t.edgeLabelBackground}; + } + + & .labelBkg { + background-color: ${t.edgeLabelBackground}; + padding: 0 2px; + } + + & .edgeLabel .label rect { + fill: ${t.edgeLabelBackground}; + } + + & .relationship-label, + & .edgeLabel { + color: ${t.primaryTextColor}; + fill: ${t.primaryTextColor}; + font-family: ${t.fontFamily}; + font-size: 10px; + font-weight: normal; + } + + & .marker, + & .marker.point, + & .marker.circle, + & .marker.cross { + fill: ${t.lineColor}; + stroke: ${t.lineColor}; + } + + & .marker.extension { + fill: ${t.mainBkg}; + stroke: ${t.lineColor}; + } +`},"getStyles"),oWr=zyi});var cWr={};cs(cWr,{diagram:()=>Uyi});var Uyi,uWr=ie(()=>{"use strict";eWr();cCe();sWr();lWr();Uyi={parser:Zqr,db:HP,renderer:aWr,styles:oWr}});var uEe,aB,dWr,qyi,Wyi,Qft,pWr=ie(()=>{"use strict";m1();Xn();Nb();uEe=i((t,r)=>{let a=t<=1?t*100:t;if(a<0||a>100)throw new Error(`${r} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${t}`);return a},"toPercent"),aB=i((t,r,a)=>({x:uEe(r,`${a} evolution`),y:uEe(t,`${a} visibility`)}),"toCoordinates"),dWr=i(t=>{if(t){if(t==="+<>")return"bidirectional";if(t==="+<")return"backward";if(t==="+>")return"forward"}},"getFlowFromPort"),qyi=i(t=>{if(!t?.startsWith("+"))return{};let a=/^\+'([^']*)'/.exec(t)?.[1];return t.includes("<>")?{flow:"bidirectional",label:a}:t.includes("<")?{flow:"backward",label:a}:t.includes(">")?{flow:"forward",label:a}:{label:a}},"extractFlowFromArrow"),Wyi=i((t,r)=>{if(Th(t,r),t.size&&r.setSize(t.size.width,t.size.height),t.evolution){let a=t.evolution.stages.map(l=>l.secondName?`${l.name.trim()} / ${l.secondName.trim()}`:l.name.trim()),o=t.evolution.stages.filter(l=>l.boundary!==void 0).map(l=>l.boundary);r.updateAxes({stages:a,stageBoundaries:o})}if(t.anchors.forEach(a=>{let o=aB(a.visibility,a.evolution,`Anchor "${a.name}"`);r.addNode(a.name,a.name,o.x,o.y,"anchor")}),t.components.forEach(a=>{let o=aB(a.visibility,a.evolution,`Component "${a.name}"`),l=a.label?(a.label.negX?-1:1)*a.label.offsetX:void 0,h=a.label?(a.label.negY?-1:1)*a.label.offsetY:void 0,f=a.decorator?.strategy;r.addNode(a.name,a.name,o.x,o.y,"component",l,h,a.inertia,f)}),t.notes.forEach(a=>{let o=aB(a.visibility,a.evolution,`Note "${a.text}"`);r.addNote(a.text,o.x,o.y)}),t.pipelines.forEach(a=>{let o=r.getNode(a.parent);if(!o||typeof o.y!="number")throw new Error(`Pipeline "${a.parent}" must reference an existing component with coordinates.`);let l=o.y;r.startPipeline(a.parent),a.components.forEach(h=>{let f=`${a.parent}_${h.name}`,p=h.label?(h.label.negX?-1:1)*h.label.offsetX:void 0,m=h.label?(h.label.negY?-1:1)*h.label.offsetY:void 0,b=uEe(h.evolution,`Pipeline component "${h.name}" evolution`);r.addNode(f,h.name,b,l,"pipeline-component",p,m),r.addPipelineComponent(a.parent,f)})}),t.links.forEach(a=>{let o=!!a.arrow&&(a.arrow.includes("-.->")||a.arrow.includes(".-.")),l=dWr(a.fromPort)??dWr(a.toPort),{flow:h,label:f}=qyi(a.arrow);!l&&h&&(l=h);let p=a.linkLabel,m=f??p;r.addLink(r.resolveNodeId(a.from),r.resolveNodeId(a.to),o,m,l)}),t.evolves.forEach(a=>{let o=r.getNode(a.component);if(o?.y!==void 0){let l=uEe(a.target,`Evolve target for "${a.component}"`);r.addTrend(a.component,l,o.y)}}),t.annotations.length>0){let a=t.annotations[0],o=aB(a.x,a.y,"Annotations box");r.setAnnotationsBox(o.x,o.y)}t.annotation.forEach(a=>{let o=aB(a.x,a.y,`Annotation ${a.number}`);r.addAnnotation(a.number,[{x:o.x,y:o.y}],a.text)}),t.accelerators.forEach(a=>{let o=aB(a.x,a.y,`Accelerator "${a.name}"`);r.addAccelerator(a.name,o.x,o.y)}),t.deaccelerators.forEach(a=>{let o=aB(a.x,a.y,`Deaccelerator "${a.name}"`);r.addDeaccelerator(a.name,o.x,o.y)})},"populateDb"),Qft={parser:{yy:void 0},parse:i(async t=>{let r=await Fd("wardley",t);Pe.debug(r);let a=Qft.parser?.yy;if(!a||typeof a.addNode!="function")throw new Error("parser.parser?.yy was not a WardleyDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Wyi(r,a)},"parse")}});var hEe,gWr=ie(()=>{"use strict";hEe=class{constructor(){this.nodes=new Map;this.links=[];this.trends=new Map;this.pipelines=new Map;this.annotations=[];this.notes=[];this.accelerators=[];this.deaccelerators=[];this.axes={}}static{i(this,"WardleyBuilder")}addNode(r){let a=this.nodes.get(r.id)??{id:r.id,label:r.label},o={...a,...r,className:r.className??a.className,labelOffsetX:r.labelOffsetX??a.labelOffsetX,labelOffsetY:r.labelOffsetY??a.labelOffsetY};this.nodes.set(r.id,o)}addLink(r){this.links.push(r)}addTrend(r){this.trends.set(r.nodeId,r)}startPipeline(r){this.pipelines.set(r,{nodeId:r,componentIds:[]});let a=this.nodes.get(r);a&&(a.isPipelineParent=!0)}addPipelineComponent(r,a){let o=this.pipelines.get(r);o&&o.componentIds.push(a);let l=this.nodes.get(a);l&&(l.inPipeline=!0)}addAnnotation(r){this.annotations.push(r)}addNote(r){this.notes.push(r)}addAccelerator(r){this.accelerators.push(r)}addDeaccelerator(r){this.deaccelerators.push(r)}setAnnotationsBox(r,a){this.annotationsBox={x:r,y:a}}setAxes(r){this.axes={...this.axes,...r}}setSize(r,a){this.size={width:r,height:a}}getNode(r){return this.nodes.get(r)}resolveNodeId(r){if(this.nodes.has(r))return r;for(let[a,o]of this.nodes)if(o.label===r)return a;return r}build(){let r=[];for(let a of this.nodes.values()){if(typeof a.x!="number"||typeof a.y!="number")throw new Error(`Node "${a.label}" is missing coordinates`);r.push(a)}return{nodes:r,links:[...this.links],trends:[...this.trends.values()],pipelines:[...this.pipelines.values()],annotations:[...this.annotations],notes:[...this.notes],accelerators:[...this.accelerators],deaccelerators:[...this.deaccelerators],annotationsBox:this.annotationsBox,axes:{...this.axes},size:this.size}}clear(){this.nodes.clear(),this.links=[],this.trends.clear(),this.pipelines.clear(),this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.annotationsBox=void 0,this.axes={},this.size=void 0}}});function Yyi(){return Zt()["wardley-beta"]}function Kyi(t,r,a,o,l,h,f,p,m){vy.addNode({id:t,label:r,x:a,y:o,className:l,labelOffsetX:h,labelOffsetY:f,inertia:p,sourceStrategy:m})}function Xyi(t,r,a=!1,o,l){vy.addLink({source:t,target:r,dashed:a,label:o,flow:l})}function Qyi(t,r,a){vy.addTrend({nodeId:t,targetX:r,targetY:a})}function Jyi(t,r,a){vy.addAnnotation({number:t,coordinates:r,text:a})}function Zyi(t,r,a){vy.addNote({text:t,x:r,y:a})}function ebi(t,r,a){vy.addAccelerator({name:t,x:r,y:a})}function tbi(t,r,a){vy.addDeaccelerator({name:t,x:r,y:a})}function rbi(t,r){vy.setAnnotationsBox(t,r)}function nbi(t,r){vy.setSize(t,r)}function ibi(t){vy.startPipeline(t)}function abi(t,r){vy.addPipelineComponent(t,r)}function sbi(t){vy.setAxes(t)}function obi(t){return vy.getNode(t)}function lbi(t){return vy.resolveNodeId(t)}function cbi(){return vy.build()}function ubi(){vy.clear(),Is()}var vy,mWr,yWr=ie(()=>{"use strict";ma();xu();gWr();vy=new hEe;i(Yyi,"getConfig");i(Kyi,"addNode");i(Xyi,"addLink");i(Qyi,"addTrend");i(Jyi,"addAnnotation");i(Zyi,"addNote");i(ebi,"addAccelerator");i(tbi,"addDeaccelerator");i(rbi,"setAnnotationsBox");i(nbi,"setSize");i(ibi,"startPipeline");i(abi,"addPipelineComponent");i(sbi,"updateAxes");i(obi,"getNode");i(lbi,"resolveNodeId");i(cbi,"getWardleyData");i(ubi,"clear");mWr={getConfig:Yyi,addNode:Kyi,addLink:Xyi,addTrend:Qyi,addAnnotation:Jyi,addNote:Zyi,addAccelerator:ebi,addDeaccelerator:tbi,setAnnotationsBox:rbi,setSize:nbi,startPipeline:ibi,addPipelineComponent:abi,updateAxes:sbi,getNode:obi,resolveNodeId:lbi,getWardleyData:cbi,clear:ubi,setAccTitle:Os,getAccTitle:Ws,setDiagramTitle:ao,getDiagramTitle:Js,getAccDescription:Ys,setAccDescription:js}});var hbi,fbi,dbi,pbi,bWr,vWr=ie(()=>{"use strict";ma();Xn();y1();Gh();hbi=["Genesis","Custom Built","Product","Commodity"],fbi=i(()=>{let{themeVariables:t}=Zt();return{backgroundColor:t.wardley?.backgroundColor??t.background??"#fff",axisColor:t.wardley?.axisColor??"#000",axisTextColor:t.wardley?.axisTextColor??t.primaryTextColor??"#222",gridColor:t.wardley?.gridColor??"rgba(100, 100, 100, 0.2)",componentFill:t.wardley?.componentFill??"#fff",componentStroke:t.wardley?.componentStroke??"#000",componentLabelColor:t.wardley?.componentLabelColor??t.primaryTextColor??"#222",linkStroke:t.wardley?.linkStroke??"#000",evolutionStroke:t.wardley?.evolutionStroke??"#dc3545",annotationStroke:t.wardley?.annotationStroke??"#000",annotationTextColor:t.wardley?.annotationTextColor??t.primaryTextColor??"#222",annotationFill:t.wardley?.annotationFill??t.background??"#fff"}},"getTheme"),dbi=i(()=>{let t=Zt()["wardley-beta"];return{width:t?.width??900,height:t?.height??600,padding:t?.padding??48,nodeRadius:t?.nodeRadius??6,nodeLabelOffset:t?.nodeLabelOffset??8,axisFontSize:t?.axisFontSize??12,labelFontSize:t?.labelFontSize??10,showGrid:t?.showGrid??!1,useMaxWidth:t?.useMaxWidth??!0}},"getConfigValues"),pbi=i((t,r,a,o)=>{Pe.debug(`Rendering Wardley map +`+t);let l=dbi(),h=fbi(),f=l.nodeRadius*1.6,p=o.db,m=p.getWardleyData(),b=p.getDiagramTitle(),v=m.size?.width??l.width,T=m.size?.height??l.height,C=fu(r);C.selectAll("*").remove(),vl(C,T,v,l.useMaxWidth),C.attr("viewBox",`0 0 ${v} ${T}`);let E=C.append("g").attr("class","wardley-map"),S=C.append("defs");S.append("marker").attr("id",`arrow-${r}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",h.evolutionStroke).attr("stroke","none"),S.append("marker").attr("id",`link-arrow-end-${r}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",h.linkStroke).attr("stroke","none"),S.append("marker").attr("id",`link-arrow-start-${r}`).attr("viewBox","0 0 10 10").attr("refX",1).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z").attr("fill",h.linkStroke).attr("stroke","none"),E.append("rect").attr("class","wardley-background").attr("width",v).attr("height",T).attr("fill",h.backgroundColor);let R=v-l.padding*2,L=T-l.padding*2;b&&E.append("text").attr("class","wardley-title").attr("x",v/2).attr("y",l.padding/2).attr("fill",h.axisTextColor).attr("font-size",l.axisFontSize*1.05).attr("font-weight","bold").attr("text-anchor","middle").attr("dominant-baseline","middle").text(b);let _=i(z=>l.padding+z/100*R,"projectX"),M=i(z=>T-l.padding-z/100*L,"projectY"),I=E.append("g").attr("class","wardley-axes");I.append("line").attr("x1",l.padding).attr("x2",v-l.padding).attr("y1",T-l.padding).attr("y2",T-l.padding).attr("stroke",h.axisColor).attr("stroke-width",1),I.append("line").attr("x1",l.padding).attr("x2",l.padding).attr("y1",l.padding).attr("y2",T-l.padding).attr("stroke",h.axisColor).attr("stroke-width",1);let F=m.axes.xLabel??"Evolution",O=m.axes.yLabel??"Visibility";I.append("text").attr("class","wardley-axis-label wardley-axis-label-x").attr("x",l.padding+R/2).attr("y",T-l.padding/4).attr("fill",h.axisTextColor).attr("font-size",l.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").text(F),I.append("text").attr("class","wardley-axis-label wardley-axis-label-y").attr("x",l.padding/3).attr("y",l.padding+L/2).attr("fill",h.axisTextColor).attr("font-size",l.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").attr("transform",`rotate(-90 ${l.padding/3} ${l.padding+L/2})`).text(O);let P=m.axes.stages&&m.axes.stages.length>0?m.axes.stages:hbi;if(P.length>0){let z=E.append("g").attr("class","wardley-stages"),re=m.axes.stageBoundaries,ae=[];if(re&&re.length===P.length){let ce=0;re.forEach(le=>{ae.push({start:ce,end:le}),ce=le})}else{let ce=1/P.length;P.forEach((le,de)=>{ae.push({start:de*ce,end:(de+1)*ce})})}P.forEach((ce,le)=>{let de=ae[le],ve=l.padding+de.start*R,Se=l.padding+de.end*R,_e=(ve+Se)/2;le>0&&z.append("line").attr("x1",ve).attr("x2",ve).attr("y1",l.padding).attr("y2",T-l.padding).attr("stroke","#000").attr("stroke-width",1).attr("stroke-dasharray","5 5").attr("opacity",.8),z.append("text").attr("class","wardley-stage-label").attr("x",_e).attr("y",T-l.padding/1.5).attr("fill",h.axisTextColor).attr("font-size",l.axisFontSize-2).attr("text-anchor","middle").text(ce)})}if(l.showGrid){let z=E.append("g").attr("class","wardley-grid");for(let re=1;re<4;re++){let ae=re/4,ce=l.padding+R*ae;z.append("line").attr("x1",ce).attr("x2",ce).attr("y1",l.padding).attr("y2",T-l.padding).attr("stroke",h.gridColor).attr("stroke-dasharray","2 6"),z.append("line").attr("x1",l.padding).attr("x2",v-l.padding).attr("y1",T-l.padding-L*ae).attr("y2",T-l.padding-L*ae).attr("stroke",h.gridColor).attr("stroke-dasharray","2 6")}}let G=new Map;if(m.nodes.forEach(z=>{G.set(z.id,{x:_(z.x),y:M(z.y),node:z})}),m.pipelines.length>0){let z=E.append("g").attr("class","wardley-pipelines"),re=E.append("g").attr("class","wardley-pipeline-links");m.pipelines.forEach(ae=>{if(ae.componentIds.length===0)return;let ce=ae.componentIds.map(Se=>({id:Se,pos:G.get(Se),node:m.nodes.find(_e=>_e.id===Se)})).filter(Se=>Se.pos&&Se.node).sort((Se,_e)=>Se.node.x-_e.node.x);for(let Se=0;Se{let _e=G.get(Se);_e&&(le=Math.min(le,_e.x),de=Math.max(de,_e.x),ve=_e.y)}),le!==1/0&&de!==-1/0){let _e=l.nodeRadius*4,Ce=ve-_e/2,Ve=G.get(ae.nodeId);if(Ve){let De=(le+de)/2;Ve.x=De,Ve.y=Ce-f/6}z.append("rect").attr("class","wardley-pipeline-box").attr("x",le-15).attr("y",Ce).attr("width",de-le+30).attr("height",_e).attr("fill","none").attr("stroke",h.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}})}let V=E.append("g").attr("class","wardley-links"),Y=new Map;m.pipelines.forEach(z=>{Y.set(z.nodeId,new Set(z.componentIds))});let K=m.links.filter(z=>!(!G.has(z.source)||!G.has(z.target)||Y.get(z.target)?.has(z.source)));V.selectAll("line").data(K).enter().append("line").attr("class",z=>`wardley-link${z.dashed?" wardley-link--dashed":""}`).attr("x1",z=>{let re=G.get(z.source),ae=G.get(z.target),le=m.nodes.find(_e=>_e.id===z.source).isPipelineParent?f/Math.sqrt(2):l.nodeRadius,de=ae.x-re.x,ve=ae.y-re.y,Se=Math.sqrt(de*de+ve*ve);return re.x+de/Se*le}).attr("y1",z=>{let re=G.get(z.source),ae=G.get(z.target),le=m.nodes.find(_e=>_e.id===z.source).isPipelineParent?f/Math.sqrt(2):l.nodeRadius,de=ae.x-re.x,ve=ae.y-re.y,Se=Math.sqrt(de*de+ve*ve);return re.y+ve/Se*le}).attr("x2",z=>{let re=G.get(z.source),ae=G.get(z.target),le=m.nodes.find(_e=>_e.id===z.target).isPipelineParent?f/Math.sqrt(2):l.nodeRadius,de=re.x-ae.x,ve=re.y-ae.y,Se=Math.sqrt(de*de+ve*ve);return ae.x+de/Se*le}).attr("y2",z=>{let re=G.get(z.source),ae=G.get(z.target),le=m.nodes.find(_e=>_e.id===z.target).isPipelineParent?f/Math.sqrt(2):l.nodeRadius,de=re.x-ae.x,ve=re.y-ae.y,Se=Math.sqrt(de*de+ve*ve);return ae.y+ve/Se*le}).attr("stroke",h.linkStroke).attr("stroke-width",1).attr("stroke-dasharray",z=>z.dashed?"6 6":null).attr("marker-end",z=>z.flow==="forward"||z.flow==="bidirectional"?`url(#link-arrow-end-${r})`:null).attr("marker-start",z=>z.flow==="backward"||z.flow==="bidirectional"?`url(#link-arrow-start-${r})`:null),V.selectAll("text").data(K.filter(z=>z.label)).enter().append("text").attr("class","wardley-link-label").attr("x",z=>{let re=G.get(z.source),ae=G.get(z.target),ce=(re.x+ae.x)/2,le=ae.y-re.y,de=ae.x-re.x,ve=Math.sqrt(de*de+le*le),Se=8,_e=le/ve;return ce+_e*Se}).attr("y",z=>{let re=G.get(z.source),ae=G.get(z.target),ce=(re.y+ae.y)/2,le=ae.x-re.x,de=ae.y-re.y,ve=Math.sqrt(le*le+de*de),Se=8,_e=-le/ve;return ce+_e*Se}).attr("fill",h.axisTextColor).attr("font-size",l.labelFontSize).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("transform",z=>{let re=G.get(z.source),ae=G.get(z.target),ce=(re.x+ae.x)/2,le=(re.y+ae.y)/2,de=ae.x-re.x,ve=ae.y-re.y,Se=Math.sqrt(de*de+ve*ve),_e=8,Ce=ve/Se,Ve=-de/Se,De=ce+Ce*_e,qe=le+Ve*_e,Ue=Math.atan2(ve,de)*180/Math.PI;return(Ue>90||Ue<-90)&&(Ue+=180),`rotate(${Ue} ${De} ${qe})`}).text(z=>z.label);let J=E.append("g").attr("class","wardley-trends"),H=m.trends.map(z=>{let re=G.get(z.nodeId);if(!re)return null;let ae=_(z.targetX),ce=M(z.targetY),le=ae-re.x,de=ce-re.y,ve=Math.sqrt(le*le+de*de),Se=l.nodeRadius+2,_e=ve>Se?ae-le/ve*Se:ae,Ce=ve>Se?ce-de/ve*Se:ce;return{origin:re,targetX:ae,targetY:ce,adjustedX2:_e,adjustedY2:Ce}}).filter(z=>z!==null);J.selectAll("line").data(H).enter().append("line").attr("class","wardley-trend").attr("x1",z=>z.origin.x).attr("y1",z=>z.origin.y).attr("x2",z=>z.adjustedX2).attr("y2",z=>z.adjustedY2).attr("stroke",h.evolutionStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4").attr("marker-end",`url(#arrow-${r})`);let Z=E.append("g").attr("class","wardley-nodes").selectAll("g").data(m.nodes).enter().append("g").attr("class",z=>["wardley-node",z.className?`wardley-node--${z.className}`:""].filter(Boolean).join(" "));Z.filter(z=>z.sourceStrategy==="outsource").append("circle").attr("class","wardley-outsource-overlay").attr("cx",z=>G.get(z.id).x).attr("cy",z=>G.get(z.id).y).attr("r",l.nodeRadius*2).attr("fill","#666").attr("stroke",h.componentStroke).attr("stroke-width",1),Z.filter(z=>z.sourceStrategy==="buy").append("circle").attr("class","wardley-buy-overlay").attr("cx",z=>G.get(z.id).x).attr("cy",z=>G.get(z.id).y).attr("r",l.nodeRadius*2).attr("fill","#ccc").attr("stroke",h.componentStroke).attr("stroke-width",1),Z.filter(z=>z.sourceStrategy==="build").append("circle").attr("class","wardley-build-overlay").attr("cx",z=>G.get(z.id).x).attr("cy",z=>G.get(z.id).y).attr("r",l.nodeRadius*2).attr("fill","#eee").attr("stroke","#000").attr("stroke-width",1);let Q=Z.filter(z=>z.sourceStrategy==="market");Q.append("circle").attr("class","wardley-market-overlay").attr("cx",z=>G.get(z.id).x).attr("cy",z=>G.get(z.id).y).attr("r",l.nodeRadius*2).attr("fill","white").attr("stroke",h.componentStroke).attr("stroke-width",1),Z.filter(z=>!z.isPipelineParent&&z.sourceStrategy!=="market"&&z.className!=="anchor").append("circle").attr("cx",z=>G.get(z.id).x).attr("cy",z=>G.get(z.id).y).attr("r",l.nodeRadius).attr("fill",h.componentFill).attr("stroke",h.componentStroke).attr("stroke-width",1);let W=l.nodeRadius*.7,te=l.nodeRadius*1.2;if(Q.append("line").attr("class","wardley-market-line").attr("x1",z=>G.get(z.id).x).attr("y1",z=>G.get(z.id).y-te).attr("x2",z=>G.get(z.id).x-te*Math.cos(Math.PI/6)).attr("y2",z=>G.get(z.id).y+te*Math.sin(Math.PI/6)).attr("stroke",h.componentStroke).attr("stroke-width",1),Q.append("line").attr("class","wardley-market-line").attr("x1",z=>G.get(z.id).x-te*Math.cos(Math.PI/6)).attr("y1",z=>G.get(z.id).y+te*Math.sin(Math.PI/6)).attr("x2",z=>G.get(z.id).x+te*Math.cos(Math.PI/6)).attr("y2",z=>G.get(z.id).y+te*Math.sin(Math.PI/6)).attr("stroke",h.componentStroke).attr("stroke-width",1),Q.append("line").attr("class","wardley-market-line").attr("x1",z=>G.get(z.id).x+te*Math.cos(Math.PI/6)).attr("y1",z=>G.get(z.id).y+te*Math.sin(Math.PI/6)).attr("x2",z=>G.get(z.id).x).attr("y2",z=>G.get(z.id).y-te).attr("stroke",h.componentStroke).attr("stroke-width",1),Q.append("circle").attr("class","wardley-market-dot").attr("cx",z=>G.get(z.id).x).attr("cy",z=>G.get(z.id).y-te).attr("r",W).attr("fill","white").attr("stroke",h.componentStroke).attr("stroke-width",2),Q.append("circle").attr("class","wardley-market-dot").attr("cx",z=>G.get(z.id).x-te*Math.cos(Math.PI/6)).attr("cy",z=>G.get(z.id).y+te*Math.sin(Math.PI/6)).attr("r",W).attr("fill","white").attr("stroke",h.componentStroke).attr("stroke-width",2),Q.append("circle").attr("class","wardley-market-dot").attr("cx",z=>G.get(z.id).x+te*Math.cos(Math.PI/6)).attr("cy",z=>G.get(z.id).y+te*Math.sin(Math.PI/6)).attr("r",W).attr("fill","white").attr("stroke",h.componentStroke).attr("stroke-width",2),Z.filter(z=>z.isPipelineParent===!0).append("rect").attr("x",z=>G.get(z.id).x-f/2).attr("y",z=>G.get(z.id).y-f/2).attr("width",f).attr("height",f).attr("fill",h.componentFill).attr("stroke",h.componentStroke).attr("stroke-width",1),Z.filter(z=>z.inertia===!0).append("line").attr("class","wardley-inertia").attr("x1",z=>{let re=G.get(z.id),ae=z.isPipelineParent?f/2+15:l.nodeRadius+15;return z.sourceStrategy&&(ae+=l.nodeRadius+10),re.x+ae}).attr("y1",z=>{let re=G.get(z.id),ae=z.isPipelineParent?f:l.nodeRadius*2;return re.y-ae/2}).attr("x2",z=>{let re=G.get(z.id),ae=z.isPipelineParent?f/2+15:l.nodeRadius+15;return z.sourceStrategy&&(ae+=l.nodeRadius+10),re.x+ae}).attr("y2",z=>{let re=G.get(z.id),ae=z.isPipelineParent?f:l.nodeRadius*2;return re.y+ae/2}).attr("stroke",h.componentStroke).attr("stroke-width",6),Z.append("text").attr("x",z=>{let re=G.get(z.id);if(z.className==="anchor")return z.labelOffsetX!==void 0?re.x+z.labelOffsetX:re.x;let ae=l.nodeLabelOffset;z.sourceStrategy&&z.labelOffsetX===void 0&&(ae+=10);let ce=z.labelOffsetX??ae;return re.x+ce}).attr("y",z=>{let re=G.get(z.id);if(z.className==="anchor")return z.labelOffsetY!==void 0?re.y+z.labelOffsetY:re.y-3;let ae=-l.nodeLabelOffset;z.sourceStrategy&&z.labelOffsetY===void 0&&(ae-=10);let ce=z.labelOffsetY??ae;return re.y+ce}).attr("class","wardley-node-label").attr("fill",z=>z.className==="evolved"?h.evolutionStroke:z.className==="anchor"?"#000":h.componentLabelColor).attr("font-size",l.labelFontSize).attr("font-weight",z=>z.className==="anchor"?"bold":"normal").attr("text-anchor",z=>z.className==="anchor"?"middle":"start").attr("dominant-baseline",z=>z.className==="anchor"?"middle":"auto").text(z=>z.label),m.annotations.length>0){let z=E.append("g").attr("class","wardley-annotations");if(m.annotations.forEach(re=>{let ae=re.coordinates.map(ce=>({x:_(ce.x),y:M(ce.y)}));if(ae.length>1)for(let ce=0;ce{let le=z.append("g").attr("class","wardley-annotation");le.append("circle").attr("cx",ce.x).attr("cy",ce.y).attr("r",10).attr("fill","white").attr("stroke",h.axisColor).attr("stroke-width",1.5),le.append("text").attr("x",ce.x).attr("y",ce.y).attr("text-anchor","middle").attr("dominant-baseline","central").attr("font-size",10).attr("fill",h.axisTextColor).attr("font-weight","bold").text(re.number)})}),m.annotationsBox){let re=_(m.annotationsBox.x),ae=M(m.annotationsBox.y),ce=10,le=16,de=11,ve=z.append("g").attr("class","wardley-annotations-box"),Se=[...m.annotations].filter(Ce=>Ce.text).sort((Ce,Ve)=>Ce.number-Ve.number),_e=[];if(Se.forEach((Ce,Ve)=>{let De=ve.append("text").attr("x",re+ce).attr("y",ae+ce+(Ve+1)*le).attr("font-size",de).attr("fill",h.axisTextColor).attr("text-anchor","start").attr("dominant-baseline","middle").text(`${Ce.number}. ${Ce.text}`);_e.push(De)}),_e.length>0){let Ce=0,Ve=0;_e.forEach(Ot=>{let yr=Ot.node(),tr=yr.getComputedTextLength();Ce=Math.max(Ce,tr);let Xe=yr.getBBox();Ve=Math.max(Ve,Xe.height)});let De=Ce+ce*2+105,qe=Se.length*le+ce*2+Ve/2,Ue=l.padding,We=v-l.padding-De,mt=l.padding,ct=T-l.padding-qe;re=Math.max(Ue,Math.min(re,We)),ae=Math.max(mt,Math.min(ae,ct)),_e.forEach((Ot,yr)=>{Ot.attr("x",re+ce).attr("y",ae+ce+(yr+1)*le)}),ve.insert("rect","text").attr("x",re).attr("y",ae).attr("width",De).attr("height",qe).attr("fill","white").attr("stroke",h.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}}}if(m.notes.length>0){let z=E.append("g").attr("class","wardley-notes");m.notes.forEach(re=>{let ae=_(re.x),ce=M(re.y);z.append("text").attr("x",ae).attr("y",ce).attr("text-anchor","start").attr("font-size",11).attr("fill",h.axisTextColor).attr("font-weight","bold").text(re.text)})}if(m.accelerators.length>0){let z=E.append("g").attr("class","wardley-accelerators");m.accelerators.forEach(re=>{let ae=_(re.x),ce=M(re.y),le=60,de=30,ve=20,Se=` + M ${ae} ${ce-de/2} + L ${ae+le-ve} ${ce-de/2} + L ${ae+le-ve} ${ce-de/2-8} + L ${ae+le} ${ce} + L ${ae+le-ve} ${ce+de/2+8} + L ${ae+le-ve} ${ce+de/2} + L ${ae} ${ce+de/2} + Z + `;z.append("path").attr("d",Se).attr("fill","white").attr("stroke",h.componentStroke).attr("stroke-width",1),z.append("text").attr("x",ae+le/2).attr("y",ce+de/2+15).attr("text-anchor","middle").attr("font-size",10).attr("fill",h.axisTextColor).attr("font-weight","bold").text(re.name)})}if(m.deaccelerators.length>0){let z=E.append("g").attr("class","wardley-deaccelerators");m.deaccelerators.forEach(re=>{let ae=_(re.x),ce=M(re.y),le=60,de=30,ve=20,Se=` + M ${ae+le} ${ce-de/2} + L ${ae+ve} ${ce-de/2} + L ${ae+ve} ${ce-de/2-8} + L ${ae} ${ce} + L ${ae+ve} ${ce+de/2+8} + L ${ae+ve} ${ce+de/2} + L ${ae+le} ${ce+de/2} + Z + `;z.append("path").attr("d",Se).attr("fill","white").attr("stroke",h.componentStroke).attr("stroke-width",1),z.append("text").attr("x",ae+le/2).attr("y",ce+de/2+15).attr("text-anchor","middle").attr("font-size",10).attr("fill",h.axisTextColor).attr("font-weight","bold").text(re.name)})}},"draw"),bWr={draw:pbi}});var wWr,xWr=ie(()=>{"use strict";Ia();LE();Qs();wWr=i(({wardley:t}={})=>{let r=om(),a=ii(),o=nl(r,a.themeVariables),l=nl(o.wardley,t);return` + .wardley-background { + fill: ${l.backgroundColor}; + } + .wardley-axes line, .wardley-axes path { + stroke: ${l.axisColor}; + } + .wardley-axis-label { + fill: ${l.axisTextColor}; + } + .wardley-stage-label { + fill: ${l.axisTextColor}; + } + .wardley-grid line { + stroke: ${l.gridColor}; + } + .wardley-node circle { + fill: ${l.componentFill}; + stroke: ${l.componentStroke}; + } + .wardley-node-label { + fill: ${l.componentLabelColor}; + } + .wardley-link { + stroke: ${l.linkStroke}; + } + .wardley-link--dashed { + stroke-dasharray: 4 4; + } + .wardley-link-label { + fill: ${l.axisTextColor}; + } + .wardley-trend line { + stroke: ${l.evolutionStroke}; + } + .wardley-annotation-line { + stroke: ${l.annotationStroke}; + } + .wardley-annotation circle { + fill: ${l.annotationFill}; + stroke: ${l.annotationStroke}; + } + .wardley-annotation text { + fill: ${l.annotationTextColor}; + } + .wardley-annotations-box rect { + fill: ${l.annotationFill}; + stroke: ${l.annotationStroke}; + } + .wardley-annotations-box text { + fill: ${l.annotationTextColor}; + } + .wardley-pipeline-box { + stroke: ${l.componentStroke}; + } + .wardley-notes text { + fill: ${l.axisTextColor}; + } + `},"styles")});var TWr={};cs(TWr,{diagram:()=>gbi});var gbi,kWr=ie(()=>{"use strict";pWr();yWr();vWr();xWr();gbi={parser:Qft,db:mWr,renderer:bWr,styles:wWr}});var SWr,hse,vbi,wbi,xbi,Tbi,kbi,Cbi,PH,Jft=ie(()=>{"use strict";Qs();up();Xn();Ia();xu();SWr=i(()=>({domains:new Map,transitions:[]}),"createDefaultData"),hse=SWr(),vbi=i(()=>hse.domains,"getDomains"),wbi=i(()=>hse.transitions,"getTransitions"),xbi=i(t=>{if(t)for(let r of t){let a=r.domain,o=(r.items??[]).map(l=>({label:l.label}));hse.domains.set(a,{name:a,items:o})}},"setDomains"),Tbi=i(t=>{t&&(hse.transitions=t.filter(r=>r.from===r.to?(Pe.warn(`Cynefin: self-loop transition on domain "${r.from}" is not meaningful and will be skipped.`),!1):!0).map(r=>({from:r.from,to:r.to,label:r.label||void 0})))},"setTransitions"),kbi=i(()=>nl({...hs.cynefin,...ii().cynefin}),"getConfig"),Cbi=i(()=>{Is(),hse=SWr()},"clear"),PH={getDomains:vbi,getTransitions:wbi,setDomains:xbi,setTransitions:Tbi,getConfig:kbi,clear:Cbi,setAccTitle:Os,getAccTitle:Ws,setDiagramTitle:ao,getDiagramTitle:Js,getAccDescription:Ys,setAccDescription:js}});var Ebi,AWr,RWr=ie(()=>{"use strict";m1();Xn();Nb();Jft();Ebi=i(t=>{Th(t,PH),PH.setDomains(t.domains),PH.setTransitions(t.transitions)},"populate"),AWr={parse:i(async t=>{let r=await Fd("cynefin",t);Pe.debug(r),Ebi(r)},"parse")}});function fEe(t){let r=t+1831565813|0;return r=Math.imul(r^r>>>15,r|1),r^=r+Math.imul(r^r>>>7,r|61),((r^r>>>14)>>>0)/4294967296}function Sbi(t){let r=0;for(let a=0;a{"use strict";i(fEe,"seededRandom");i(Sbi,"hashString");i(LWr,"resolveSeed");i(DWr,"generateFoldPath");i(_Wr,"generateHorizontalBoundary");i(MWr,"generateCliffPath");i(IWr,"generateConfusionPath")});var OWr,Abi,Rbi,Zft,Lbi,PWr,BWr=ie(()=>{"use strict";y1();Gh();Xn();Qs();LE();Ia();NWr();OWr={complex:{model:"Probe \u2192 Sense \u2192 Respond",practice:"Emergent Practices"},complicated:{model:"Sense \u2192 Analyse \u2192 Respond",practice:"Good Practices"},clear:{model:"Sense \u2192 Categorise \u2192 Respond",practice:"Best Practices"},chaotic:{model:"Act \u2192 Sense \u2192 Respond",practice:"Novel Practices"},confusion:{model:"",practice:"Disorder"}},Abi=i((t,r)=>{let a=t/2,o=r/2;return{complex:{cx:a/2,cy:o/2,x:0,y:0,w:a,h:o},complicated:{cx:a+a/2,cy:o/2,x:a,y:0,w:a,h:o},chaotic:{cx:a/2,cy:o+o/2,x:0,y:o,w:a,h:o},clear:{cx:a+a/2,cy:o+o/2,x:a,y:o,w:a,h:o},confusion:{cx:a,cy:o,x:a*.7,y:o*.7,w:a*.6,h:o*.6}}},"getDomainLayouts"),Rbi=i(()=>{let t=om(),r=ii();return nl(t,r.themeVariables).cynefin},"getCynefinDomainColors"),Zft=3,Lbi=i((t,r,a,o)=>{let l=o.db,h=l.getDomains(),f=l.getTransitions(),p=l.getDiagramTitle(),m=l.getAccTitle(),b=l.getAccDescription(),v=l.getConfig(),T=Rbi();Pe.debug("Rendering Cynefin diagram");let C=v.width,E=v.height,S=v.padding,R=v.showDomainDescriptions,L=v.boundaryAmplitude,_=C+S*2,M=E+S*2,I={complex:T.complexBg,complicated:T.complicatedBg,clear:T.clearBg,chaotic:T.chaoticBg,confusion:T.confusionBg},F=fu(r);vl(F,M,_,v.useMaxWidth??!0),F.attr("viewBox",`0 0 ${_} ${M}`),m&&F.append("title").text(m),b&&F.append("desc").text(b);let O=F.append("g").attr("transform",`translate(${S}, ${S})`),P=Abi(C,E),G=LWr(v.seed,r),V=O.append("g").attr("class","cynefin-backgrounds"),Y=["complex","complicated","chaotic","clear"];for(let z of Y){let re=P[z];V.append("rect").attr("class","cynefinDomain").attr("x",re.x).attr("y",re.y).attr("width",re.w).attr("height",re.h).attr("fill",I[z]).attr("fill-opacity",.4).attr("stroke","none")}let K=O.append("g").attr("class","cynefin-boundaries");K.append("path").attr("class","cynefinBoundary").attr("d",DWr(C,E,G,L)).attr("fill","none"),K.append("path").attr("class","cynefinBoundary").attr("d",_Wr(C,E,G+100,L)).attr("fill","none"),K.append("path").attr("class","cynefinCliff").attr("d",MWr(C,E)).attr("fill","none");let J=C*.15,H=E*.15;O.append("path").attr("class","cynefinConfusion").attr("d",IWr(C/2,E/2,J,H)).attr("fill",I.confusion).attr("fill-opacity",.5);let q=O.append("g").attr("class","cynefin-labels");for(let z of Y){let re=P[z];q.append("text").attr("class","cynefinDomainLabel").attr("x",re.cx).attr("y",R?re.cy-30:re.cy).attr("text-anchor","middle").attr("dominant-baseline","middle").text(z.charAt(0).toUpperCase()+z.slice(1))}if(q.append("text").attr("class","cynefinDomainLabel").attr("x",C/2).attr("y",R?E/2-10:E/2).attr("text-anchor","middle").attr("dominant-baseline","middle").text("Confusion"),R){let z=O.append("g").attr("class","cynefin-subtitles");for(let re of Y){let ae=P[re],ce=OWr[re];z.append("text").attr("class","cynefinSubtitle").attr("x",ae.cx).attr("y",ae.cy-10).attr("text-anchor","middle").attr("dominant-baseline","middle").text(ce.model),z.append("text").attr("class","cynefinSubtitle").attr("x",ae.cx).attr("y",ae.cy+5).attr("text-anchor","middle").attr("dominant-baseline","middle").text(ce.practice)}z.append("text").attr("class","cynefinSubtitle").attr("x",C/2).attr("y",E/2+8).attr("text-anchor","middle").attr("dominant-baseline","middle").text(OWr.confusion.practice)}let Z=O.append("g").attr("class","cynefin-items"),Q=26,W=10,te=["complex","complicated","chaotic","clear","confusion"];for(let z of te){let re=h.get(z);if(!re||re.items.length===0)continue;let ae=P[z],ce=z==="confusion",le=re.items,de=0;ce&&re.items.length>Zft&&(de=re.items.length-Zft,le=re.items.slice(0,Zft));let ve;if(ce){let Se=R?22:14;ve=ae.cy+Se}else ve=ae.cy+(R?25:15);if([...le].forEach((Se,_e)=>{let Ce=ve+_e*(Q+4),Ve=Z.append("g"),De=Ve.append("text").attr("class","cynefinItemText").attr("x",0).attr("y",Q/2).attr("text-anchor","middle").attr("dominant-baseline","central").text(Se.label),qe=Se.label.length*7,Ue=De.node();if(Ue&&typeof Ue.getBBox=="function"){let ct=Ue.getBBox();ct.width>0&&(qe=ct.width)}let We=qe+W*2,mt=ae.cx-We/2;Ve.attr("transform",`translate(${mt}, ${Ce})`),Ve.insert("rect","text").attr("class","cynefinItem").attr("x",0).attr("y",0).attr("width",We).attr("height",Q).attr("rx",4).attr("ry",4).attr("fill",I[z]).attr("fill-opacity",.95),De.attr("x",We/2).attr("y",Q/2)}),de>0){let Se=ve+le.length*(Q+4),_e=`+${de} more`,Ce=Z.append("g"),Ve=Ce.append("text").attr("class","cynefinItemText").attr("x",0).attr("y",Q/2).attr("text-anchor","middle").attr("dominant-baseline","central").text(_e),De=_e.length*7,qe=Ve.node();if(qe&&typeof qe.getBBox=="function"){let mt=qe.getBBox();mt.width>0&&(De=mt.width)}let Ue=De+W*2,We=ae.cx-Ue/2;Ce.attr("transform",`translate(${We}, ${Se})`),Ce.insert("rect","text").attr("class","cynefinItemOverflow").attr("x",0).attr("y",0).attr("width",Ue).attr("height",Q).attr("rx",4).attr("ry",4).attr("fill",I[z]).attr("fill-opacity",.6),Ve.attr("x",Ue/2).attr("y",Q/2)}}if(f.length>0){let z=F.select("defs").empty()?F.append("defs"):F.select("defs"),re=`cynefin-arrow-${r}`;z.append("marker").attr("id",re).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","cynefinArrowHead");let ae=O.append("g").attr("class","cynefin-arrows");f.forEach(ce=>{let le=P[ce.from],de=P[ce.to];if(!le||!de)return;if(ce.from===ce.to){Pe.warn(`Cynefin renderer: skipping self-loop on domain "${ce.from}"`);return}let ve=le.cx,Se=le.cy,_e=de.cx,Ce=de.cy,Ve=(ve+_e)/2,De=(Se+Ce)/2,qe=_e-ve,Ue=Ce-Se,We=Math.sqrt(qe*qe+Ue*Ue),mt=We*.15,ct=-Ue/We,Ot=qe/We,yr=Ve+ct*mt,tr=De+Ot*mt;ae.append("path").attr("class","cynefinArrowLine").attr("d",`M${ve},${Se} Q${yr},${tr} ${_e},${Ce}`).attr("fill","none").attr("marker-end",`url(#${re})`),ce.label&&ae.append("text").attr("class","cynefinArrowLabel").attr("x",yr).attr("y",tr-6).attr("text-anchor","middle").attr("dominant-baseline","auto").text(ce.label)})}p&&O.append("text").attr("class","cynefinTitle").attr("x",C/2).attr("y",-S/2).attr("text-anchor","middle").attr("dominant-baseline","middle").text(p)},"draw"),PWr={draw:Lbi}});var Dbi,_bi,FWr,$Wr=ie(()=>{"use strict";Ia();LE();Qs();Dbi=i(()=>{let t=om(),r=ii();return nl(t,r.themeVariables).cynefin},"getCynefinTheme"),_bi=i(()=>{let t=Dbi();return` + .cynefinDomain { + stroke: none; + } + .cynefinDomainLabel { + font-size: ${t.domainFontSize}px; + font-weight: bold; + fill: ${t.labelColor}; + } + .cynefinSubtitle { + font-size: ${t.itemFontSize-1}px; + fill: ${t.textColor}; + font-style: italic; + } + .cynefinItem { + fill-opacity: 0.95; + stroke: ${t.boundaryColor}; + stroke-width: 1; + } + .cynefinItemText { + font-size: ${t.itemFontSize}px; + fill: ${t.textColor}; + } + .cynefinItemOverflow { + fill-opacity: 0.6; + stroke: ${t.boundaryColor}; + stroke-width: 1; + stroke-dasharray: 3 2; + } + .cynefinBoundary { + stroke: ${t.boundaryColor}; + stroke-width: ${t.boundaryWidth}; + stroke-dasharray: 6 3; + } + .cynefinCliff { + stroke: ${t.cliffColor}; + stroke-width: ${t.cliffWidth}; + } + .cynefinConfusion { + stroke: ${t.boundaryColor}; + stroke-width: 1.5; + stroke-dasharray: 4 2; + } + .cynefinArrowLine { + stroke: ${t.arrowColor}; + stroke-width: ${t.arrowWidth}; + fill: none; + } + .cynefinArrowHead { + fill: ${t.arrowColor}; + stroke: none; + } + .cynefinArrowLabel { + font-size: ${t.itemFontSize-1}px; + fill: ${t.textColor}; + } + .cynefinTitle { + font-size: ${t.domainFontSize+2}px; + font-weight: bold; + fill: ${t.labelColor}; + } + `},"styles"),FWr=_bi});var GWr={};cs(GWr,{diagram:()=>Mbi});var Mbi,jWr=ie(()=>{"use strict";RWr();Jft();BWr();$Wr();Mbi={parser:AWr,db:PH,renderer:PWr,styles:FWr}});var edt,tdt,rdt,ndt,dEe,c_,BH,Obi,VWr,HWr,Pbi,Bbi,Fbi,$bi,Gbi,jbi,zbi,Ubi,Vbi,Fc,HS=ie(()=>{"use strict";ma();Xn();xu();rl();edt="",tdt="",rdt="",ndt=[],dEe=new Map,c_=i(t=>Ns(t,Zt()),"sanitizeText"),BH=i(t=>{switch(t.type){case"terminal":return{...t,value:c_(t.value)};case"nonterminal":return{...t,name:c_(t.name)};case"sequence":return{...t,elements:t.elements.map(BH)};case"choice":return{...t,alternatives:t.alternatives.map(BH)};case"optional":return{...t,element:BH(t.element)};case"repetition":return{...t,element:BH(t.element),separator:t.separator?BH(t.separator):void 0};case"special":return{...t,text:c_(t.text)}}},"sanitizeAstNode"),Obi=i(()=>{edt="",tdt="",rdt="",ndt.length=0,dEe.clear(),Is(),Pe.debug("[Railroad] Database cleared")},"clear"),VWr=i(t=>{edt=c_(t),Pe.debug("[Railroad] Title set:",t)},"setTitle"),HWr=i(()=>edt,"getTitle"),Pbi=i(t=>{let r={...t,name:c_(t.name),definition:BH(t.definition),comment:t.comment?c_(t.comment):void 0};Pe.debug("[Railroad] Adding rule:",r.name),dEe.has(r.name)&&Pe.warn(`[Railroad] Rule '${r.name}' is already defined. Overwriting.`),ndt.push(r),dEe.set(r.name,r)},"addRule"),Bbi=i(()=>ndt,"getRules"),Fbi=i(t=>dEe.get(t),"getRule"),$bi=i(t=>{tdt=c_(t).replace(/^\s+/g,""),Pe.debug("[Railroad] Accessibility title set:",t)},"setAccTitle"),Gbi=i(()=>tdt,"getAccTitle"),jbi=i(t=>{rdt=c_(t).replace(/\n\s+/g,` +`),Pe.debug("[Railroad] Accessibility description set:",t)},"setAccDescription"),zbi=i(()=>rdt,"getAccDescription"),Ubi=VWr,Vbi=HWr,Fc={clear:Obi,setTitle:VWr,getTitle:HWr,addRule:Pbi,getRules:Bbi,getRule:Fbi,setAccTitle:$bi,getAccTitle:Gbi,setAccDescription:jbi,getAccDescription:zbi,setDiagramTitle:Ubi,getDiagramTitle:Vbi}});var Hbi,FH,qbi,Wbi,qWr,WWr=ie(()=>{"use strict";m1();Xn();Nb();HS();Hbi=FV().Railroad.parser.LangiumParser,FH=i(t=>{switch(t.$type){case"RailroadTerminalExpr":return{type:"terminal",value:t.value};case"RailroadNonTerminalExpr":return{type:"nonterminal",name:t.name};case"RailroadSpecialExpr":return{type:"special",text:t.text};case"RailroadSequenceExpr":{let r=t.elements.map(FH);return r.length===1?r[0]:{type:"sequence",elements:r}}case"RailroadChoiceExpr":{let r=t.alternatives.map(FH);return r.length===1?r[0]:{type:"choice",alternatives:r}}case"RailroadOptionalExpr":return{type:"optional",element:FH(t.element)};case"RailroadOneOrMoreExpr":return{type:"repetition",element:FH(t.element),min:1,max:1/0};case"RailroadZeroOrMoreExpr":return{type:"repetition",element:FH(t.element),min:0,max:1/0};default:throw new Error(`Unsupported railroad expression: ${t.$type}`)}},"transformExpression"),qbi=i(t=>({name:t.name,definition:FH(t.definition)}),"transformRule"),Wbi=i(t=>{Th(t,Fc),t.title&&Fc.setTitle(t.title),t.rules.map(r=>Fc.addRule(qbi(r)))},"populateDb"),qWr={parse:i(t=>{Fc.clear(),Pe.debug("[Railroad Parser] Starting Langium parse");let r=Hbi.parse(t);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new GA(r);let a=r.value;Pe.debug("[Railroad Parser] Parsed rules:",a.rules.length),Wbi(a),Pe.debug("[Railroad Parser] Parse complete")},"parse"),parser:{yy:Fc}}});var Rm,YWr=ie(()=>{"use strict";Rm={compactMode:!1,padding:10,verticalSeparation:8,horizontalSeparation:10,arcRadius:10,fontSize:14,fontFamily:"monospace",terminalFill:"#FFFFC0",terminalStroke:"#000000",terminalTextColor:"#000000",nonTerminalFill:"#FFFFFF",nonTerminalStroke:"#000000",nonTerminalTextColor:"#000000",lineColor:"#000000",strokeWidth:2,markerFill:"#000000",commentFill:"#E8E8E8",commentStroke:"#888888",commentTextColor:"#666666",specialFill:"#F0E0FF",specialStroke:"#8800CC",ruleNameColor:"#000066",showMarkers:!0,markerRadius:5}});var Ybi,Kbi,Xbi,KWr,Qbi,Jbi,kh,XWr,sB,Zbi,evi,pEe,u_,$H=ie(()=>{"use strict";Qs();LE();YWr();Ybi=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$|^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch)\([\d\s%+,./-]+\)$|^[a-z]+$/i,Kbi=/^[\w "',.-]+$/,Xbi=new Set(["compactMode","padding","verticalSeparation","horizontalSeparation","arcRadius","fontSize","fontFamily","terminalFill","terminalStroke","terminalTextColor","nonTerminalFill","nonTerminalStroke","nonTerminalTextColor","lineColor","strokeWidth","markerFill","commentFill","commentStroke","commentTextColor","specialFill","specialStroke","ruleNameColor","showMarkers","markerRadius"]),KWr=i(t=>t?Object.keys(t).every(r=>r==="railroad"||Xbi.has(r)):!1,"isRailroadStyleOptions"),Qbi=i(t=>t?"railroad"in t&&t.railroad?t.railroad:KWr(t)?t:{}:{},"extractRailroadOverrides"),Jbi=i(t=>{if(!t||KWr(t))return{};let{railroad:r,svgId:a,theme:o,look:l,...h}=t;return h},"extractThemeOverrides"),kh=i((t,r)=>{if(typeof t!="string")return r;let a=t.trim();return Ybi.test(a)?a:r},"sanitizeColorValue"),XWr=i((t,r)=>{if(typeof t!="string")return r;let a=t.trim();return Kbi.test(a)?a:r},"sanitizeFontFamilyValue"),sB=i((t,r)=>{let a=typeof t=="number"?t:typeof t=="string"?Number.parseFloat(t):Number.NaN;return Number.isFinite(a)&&a>=0?a:r},"sanitizeNumberValue"),Zbi=i(t=>{let r=typeof t=="number"?t:typeof t=="string"?Number.parseFloat(t):Number.NaN;return Number.isFinite(r)&&r>0?r:void 0},"parseThemeFontSize"),evi=i(t=>{let r=XWr(t.fontFamily,Rm.fontFamily),a=Zbi(t.fontSize)??Rm.fontSize;return{...Rm,fontFamily:r,fontSize:a,terminalFill:kh(t.secondBkg??t.secondaryColor,Rm.terminalFill),terminalStroke:kh(t.secondaryBorderColor??t.lineColor,Rm.terminalStroke),terminalTextColor:kh(t.secondaryTextColor??t.textColor,Rm.terminalTextColor),nonTerminalFill:kh(t.mainBkg??t.background,Rm.nonTerminalFill),nonTerminalStroke:kh(t.primaryBorderColor??t.lineColor,Rm.nonTerminalStroke),nonTerminalTextColor:kh(t.primaryTextColor??t.textColor,Rm.nonTerminalTextColor),lineColor:kh(t.lineColor,Rm.lineColor),markerFill:kh(t.lineColor,Rm.markerFill),commentFill:kh(t.labelBackground??t.tertiaryColor,Rm.commentFill),commentStroke:kh(t.tertiaryBorderColor??t.lineColor,Rm.commentStroke),commentTextColor:kh(t.tertiaryTextColor??t.textColor,Rm.commentTextColor),specialFill:kh(t.tertiaryColor??t.secondaryColor,Rm.specialFill),specialStroke:kh(t.tertiaryBorderColor??t.secondaryBorderColor,Rm.specialStroke),ruleNameColor:kh(t.titleColor??t.textColor,Rm.ruleNameColor)}},"buildThemeDefaults"),pEe=i(t=>{let r=ii(),a={...om(),...r.themeVariables??{},...Jbi(t)},o=evi(a),l={...r.railroad??{},...Qbi(t)};return{compactMode:l.compactMode??o.compactMode,padding:sB(l.padding,o.padding),verticalSeparation:sB(l.verticalSeparation,o.verticalSeparation),horizontalSeparation:sB(l.horizontalSeparation,o.horizontalSeparation),arcRadius:sB(l.arcRadius,o.arcRadius),fontSize:sB(l.fontSize,o.fontSize),fontFamily:XWr(l.fontFamily,o.fontFamily),terminalFill:kh(l.terminalFill,o.terminalFill),terminalStroke:kh(l.terminalStroke,o.terminalStroke),terminalTextColor:kh(l.terminalTextColor,o.terminalTextColor),nonTerminalFill:kh(l.nonTerminalFill,o.nonTerminalFill),nonTerminalStroke:kh(l.nonTerminalStroke,o.nonTerminalStroke),nonTerminalTextColor:kh(l.nonTerminalTextColor,o.nonTerminalTextColor),lineColor:kh(l.lineColor,o.lineColor),strokeWidth:sB(l.strokeWidth,o.strokeWidth),markerFill:kh(l.markerFill,o.markerFill),commentFill:kh(l.commentFill,o.commentFill),commentStroke:kh(l.commentStroke,o.commentStroke),commentTextColor:kh(l.commentTextColor,o.commentTextColor),specialFill:kh(l.specialFill,o.specialFill),specialStroke:kh(l.specialStroke,o.specialStroke),ruleNameColor:kh(l.ruleNameColor,o.ruleNameColor),showMarkers:l.showMarkers??o.showMarkers,markerRadius:sB(l.markerRadius,o.markerRadius)}},"buildRailroadStyleOptions"),u_=i(t=>{let{fontFamily:r,fontSize:a,terminalFill:o,terminalStroke:l,terminalTextColor:h,nonTerminalFill:f,nonTerminalStroke:p,nonTerminalTextColor:m,lineColor:b,strokeWidth:v,markerFill:T,commentFill:C,commentStroke:E,commentTextColor:S,specialFill:R,specialStroke:L,ruleNameColor:_}=pEe(t);return` + .railroad-diagram { + font-family: ${r}; + font-size: ${a}px; + } + + .railroad-terminal rect { + fill: ${o}; + stroke: ${l}; + stroke-width: ${v}px; + } + + .railroad-terminal text { + fill: ${h}; + font-family: ${r}; + font-size: ${a}px; + text-anchor: middle; + dominant-baseline: middle; + } + + .railroad-nonterminal rect { + fill: ${f}; + stroke: ${p}; + stroke-width: ${v}px; + } + + .railroad-nonterminal text { + fill: ${m}; + font-family: ${r}; + font-size: ${a}px; + text-anchor: middle; + dominant-baseline: middle; + } + + .railroad-line { + stroke: ${b}; + stroke-width: ${v}px; + fill: none; + } + + .railroad-start circle, + .railroad-end circle { + fill: ${T}; + } + + .railroad-comment ellipse { + fill: ${C}; + stroke: ${E}; + stroke-width: ${v}px; + } + + .railroad-comment text { + fill: ${S}; + font-style: italic; + font-family: ${r}; + font-size: ${a}px; + text-anchor: middle; + dominant-baseline: middle; + } + + .railroad-special rect { + fill: ${R}; + stroke: ${L}; + stroke-width: ${v}px; + stroke-dasharray: 5,3; + } + + .railroad-special text { + fill: ${m}; + font-family: ${r}; + font-size: ${a}px; + text-anchor: middle; + dominant-baseline: middle; + } + + .railroad-rule-name { + font-weight: bold; + fill: ${_}; + font-family: ${r}; + font-size: ${a}px; + } + + .railroad-group { + /* Grouping container, no specific styles */ + } +`},"getStyles")});var x2,idt,QWr,tvi,h_,fse=ie(()=>{"use strict";Xn();Qs();y1();Gh();HS();$H();x2=class{constructor(){this.d=""}static{i(this,"PathBuilder")}moveTo(r,a){return this.d+=`M ${r} ${a} `,this}lineTo(r,a){return this.d+=`L ${r} ${a} `,this}horizontalTo(r){return this.d+=`H ${r} `,this}verticalTo(r){return this.d+=`V ${r} `,this}arcTo(r,a,o,l,h,f,p){return this.d+=`A ${r} ${a} ${o} ${l?1:0} ${h?1:0} ${f} ${p} `,this}build(){return this.d.trim()}},idt=class{constructor(r,a=pEe()){this.textCache=new Map;this.svg=r,this.config=a}static{i(this,"RailroadRenderer")}measureText(r){if(this.textCache.has(r))return this.textCache.get(r);let a=this.svg.append("text").attr("font-family",this.config.fontFamily).attr("font-size",this.config.fontSize).text(r),o=a.node().getBBox(),l={width:o.width,height:o.height};return a.remove(),this.textCache.set(r,l),l}renderTerminal(r,a){let o=this.measureText(a),l=o.width+this.config.padding*2,h=o.height+this.config.padding*2,f=r.append("g").attr("class","railroad-terminal");return f.append("rect").attr("x",0).attr("y",0).attr("width",l).attr("height",h).attr("rx",10).attr("ry",10),f.append("text").attr("x",l/2).attr("y",h/2).text(a),{element:f.node(),dimensions:{width:l,height:h,up:h/2,down:h/2}}}renderNonTerminal(r,a){let o=this.measureText(a),l=o.width+this.config.padding*2,h=o.height+this.config.padding*2,f=r.append("g").attr("class","railroad-nonterminal");return f.append("rect").attr("x",0).attr("y",0).attr("width",l).attr("height",h),f.append("text").attr("x",l/2).attr("y",h/2).text(a),{element:f.node(),dimensions:{width:l,height:h,up:h/2,down:h/2}}}renderSequence(r,a){let o=a.map(b=>this.renderExpression(r,b)),l=0,h=0,f=0;for(let b of o)l+=b.dimensions.width,h=Math.max(h,b.dimensions.up),f=Math.max(f,b.dimensions.down);l+=(o.length-1)*this.config.horizontalSeparation;let p=r.append("g").attr("class","railroad-sequence"),m=0;for(let b=0;bthis.renderExpression(r,C)),l=0,h=0;for(let C of o)l=Math.max(l,C.dimensions.width),h+=C.dimensions.height;h+=(o.length-1)*this.config.verticalSeparation;let f=this.config.arcRadius,p=f*4,m=l+p,b=r.append("g").attr("class","railroad-choice"),v=0,T=h/2;for(let C of o){let E=v,S=E+C.dimensions.up,R=f*2+(l-C.dimensions.width)/2;b.node().appendChild(C.element).setAttribute("transform",`translate(${R}, ${E})`);let _=new x2,M=S>T;S===T?_.moveTo(0,T).lineTo(R,S):_.moveTo(0,T).arcTo(f,f,0,!1,M,f,T+(M?f:-f)).lineTo(f,S-(M?f:-f)).arcTo(f,f,0,!1,!M,f*2,S).lineTo(R,S),b.append("path").attr("class","railroad-line").attr("d",_.build());let I=new x2,F=R+C.dimensions.width,O=m-f*2;S===T?I.moveTo(F,S).lineTo(m,T):I.moveTo(F,S).lineTo(O,S).arcTo(f,f,0,!1,!M,m-f,S+(M?-f:f)).lineTo(m-f,T+(M?f:-f)).arcTo(f,f,0,!1,M,m,T),b.append("path").attr("class","railroad-line").attr("d",I.build()),v+=C.dimensions.height+this.config.verticalSeparation}return{element:b.node(),dimensions:{width:m,height:h,up:T,down:h-T}}}renderOptional(r,a){let o=this.renderExpression(r,a),l=this.config.arcRadius,h=l*2,f=o.dimensions.width+l*4,p=o.dimensions.height+h,m=r.append("g").attr("class","railroad-optional"),b=l*2,v=h;m.node().appendChild(o.element).setAttribute("transform",`translate(${b}, ${v})`);let C=v+o.dimensions.up,E=new x2().moveTo(0,C).lineTo(l*2,C);m.append("path").attr("class","railroad-line").attr("d",E.build());let S=new x2().moveTo(b+o.dimensions.width,C).lineTo(f,C);m.append("path").attr("class","railroad-line").attr("d",S.build());let R=new x2().moveTo(0,C).arcTo(l,l,0,!1,!1,l,C-l).lineTo(l,l).arcTo(l,l,0,!1,!0,l*2,0).lineTo(f-l*2,0).arcTo(l,l,0,!1,!0,f-l,l).lineTo(f-l,C-l).arcTo(l,l,0,!1,!1,f,C);return m.append("path").attr("class","railroad-line").attr("d",R.build()),{element:m.node(),dimensions:{width:f,height:p,up:C,down:p-C}}}renderRepetition(r,a,o){let l=this.renderExpression(r,a),h=this.config.arcRadius,f=h*2,p=l.dimensions.width+h*4,m=o===0,b=l.dimensions.height+f+(m?f:0),v=r.append("g").attr("class","railroad-repetition"),T=h*2,C=m?f:0;v.node().appendChild(l.element).setAttribute("transform",`translate(${T}, ${C})`);let S=C+l.dimensions.up;v.append("path").attr("class","railroad-line").attr("d",new x2().moveTo(0,S).lineTo(h*2,S).build()),v.append("path").attr("class","railroad-line").attr("d",new x2().moveTo(T+l.dimensions.width,S).lineTo(p,S).build());let R=C+l.dimensions.height+h,L=new x2().moveTo(T+l.dimensions.width,S).arcTo(h,h,0,!1,!0,T+l.dimensions.width+h,S+h).lineTo(T+l.dimensions.width+h,R).arcTo(h,h,0,!1,!0,T+l.dimensions.width,R+h).lineTo(h*2,R+h).arcTo(h,h,0,!1,!0,h,R).lineTo(h,S+h).arcTo(h,h,0,!1,!0,h*2,S);if(v.append("path").attr("class","railroad-line").attr("d",L.build()),m){let _=new x2().moveTo(0,S).arcTo(h,h,0,!1,!1,h,S-h).lineTo(h,h).arcTo(h,h,0,!1,!0,h*2,0).lineTo(p-h*2,0).arcTo(h,h,0,!1,!0,p-h,h).lineTo(p-h,S-h).arcTo(h,h,0,!1,!1,p,S);v.append("path").attr("class","railroad-line").attr("d",_.build())}return{element:v.node(),dimensions:{width:p,height:b,up:S,down:b-S}}}renderSpecial(r,a){let o=this.measureText("? "+a+" ?"),l=o.width+this.config.padding*2,h=o.height+this.config.padding*2,f=r.append("g").attr("class","railroad-special");return f.append("rect").attr("x",0).attr("y",0).attr("width",l).attr("height",h),f.append("text").attr("x",l/2).attr("y",h/2).text("? "+a+" ?"),{element:f.node(),dimensions:{width:l,height:h,up:h/2,down:h/2}}}renderExpression(r,a){switch(a.type){case"terminal":return this.renderTerminal(r,a.value);case"nonterminal":return this.renderNonTerminal(r,a.name);case"sequence":return this.renderSequence(r,a.elements);case"choice":return this.renderChoice(r,a.alternatives);case"optional":return this.renderOptional(r,a.element);case"repetition":return this.renderRepetition(r,a.element,a.min);case"special":return this.renderSpecial(r,a.text);default:throw new Error(`Unknown node type: ${a.type}`)}}renderRule(r,a){let o=this.svg.append("g").attr("class","railroad-rule").attr("transform",`translate(0, ${a})`),l=r.name+" =",h=this.measureText(l).width+20,f=h+20,p=o.append("g"),m=this.renderExpression(p,r.definition),b=Math.max(20,m.dimensions.up),v=b-m.dimensions.up;return p.attr("transform",`translate(${f}, ${v})`),o.append("g").attr("class","railroad-rule-name-group").append("text").attr("class","railroad-rule-name").attr("x",0).attr("y",b).text(l),o.append("g").attr("class","railroad-start").append("circle").attr("cx",h).attr("cy",b).attr("r",this.config.markerRadius),o.append("g").attr("class","railroad-end").append("circle").attr("cx",f+m.dimensions.width+10).attr("cy",b).attr("r",this.config.markerRadius),o.append("path").attr("class","railroad-line").attr("d",new x2().moveTo(h+this.config.markerRadius,b).lineTo(f,b).build()),o.append("path").attr("class","railroad-line").attr("d",new x2().moveTo(f+m.dimensions.width,b).lineTo(f+m.dimensions.width+10-this.config.markerRadius,b).build()),{height:Math.max(40,v+m.dimensions.height+this.config.padding*2),width:f+m.dimensions.width+10+this.config.markerRadius}}renderDiagram(r){let a=this.config.padding,o=0;for(let l of r){let h=this.renderRule(l,a);a+=h.height+this.config.verticalSeparation,o=Math.max(o,h.width)}return{width:o+this.config.padding*2,height:a+this.config.padding}}},QWr=i((t,r,a)=>{vl(t,r.height,r.width,a),t.attr("viewBox",`0 0 ${r.width} ${r.height}`)},"configureRailroadSvgSize"),tvi=i((t,r,a)=>{Pe.debug(`[Railroad] Rendering diagram +`+t);try{let o=fu(r);o.attr("class","railroad-diagram");let h=ii().railroad?.useMaxWidth??!0,f=Fc.getRules();if(Pe.debug(`[Railroad] Rendering ${f.length} rules`),f.length===0){Pe.warn("[Railroad] No rules to render"),QWr(o,{height:100,width:200},h);return}let m=new idt(o,pEe()).renderDiagram(f);QWr(o,m,h),Pe.debug("[Railroad] Render complete")}catch(o){throw Pe.error("[Railroad] Render error:",o),o}},"draw"),h_={draw:tvi}});var ZWr={};cs(ZWr,{default:()=>rvi,diagram:()=>JWr});var JWr,rvi,eYr=ie(()=>{"use strict";WWr();HS();fse();$H();JWr={parser:qWr,db:Fc,renderer:h_,styles:u_},rvi=JWr});var avi,gEe,svi,nYr,ovi,lvi,cvi,uvi,iYr,aYr=ie(()=>{"use strict";m1();Xn();Nb();HS();avi=$V().RailroadEbnf.parser.LangiumParser,gEe=i(t=>{let r=t.alternatives.map(svi);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformChoice"),svi=i(t=>{let r=t.elements.map(lvi);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformSequence"),nYr=i(t=>{switch(t.$type){case"EbnfTerminal":return{type:"terminal",value:t.value};case"EbnfNonTerminal":return{type:"nonterminal",name:t.name};case"EbnfSpecial":return{type:"special",text:t.text};case"EbnfGroup":return gEe(t.element);case"EbnfOptional":return{type:"optional",element:gEe(t.element)};case"EbnfRepetition":return{type:"repetition",element:gEe(t.element),min:0,max:1/0};default:throw new Error(`Unsupported EBNF primary node: ${t.$type}`)}},"transformPrimary"),ovi=i((t,r)=>{switch(r.$type){case"EbnfOptionalPostfix":return{type:"optional",element:t};case"EbnfZeroOrMorePostfix":return{type:"repetition",element:t,min:0,max:1/0};case"EbnfOneOrMorePostfix":return{type:"repetition",element:t,min:1,max:1/0};case"EbnfExceptionPostfix":return{type:"sequence",elements:[t,{type:"terminal",value:"-"},nYr(r.except)]};default:throw new Error(`Unsupported EBNF postfix node: ${r.$type}`)}},"transformPostfix"),lvi=i(t=>t.postfixes.reduce((r,a)=>ovi(r,a),nYr(t.base)),"transformTerm"),cvi=i(t=>({name:t.name,definition:gEe(t.definition)}),"transformRule"),uvi=i(t=>{Th(t,Fc),t.title&&Fc.setTitle(t.title),t.rules.map(r=>Fc.addRule(cvi(r)))},"populateDb"),iYr={parse:i(t=>{Fc.clear(),Pe.debug("[EBNF Parser] Starting Langium parse");let r=avi.parse(t);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new GA(r);let a=r.value;Pe.debug("[EBNF Parser] Parsed rules:",a.rules.length),uvi(a),Pe.debug("[EBNF Parser] Parse complete")},"parse"),parser:{yy:Fc}}});var sYr={};cs(sYr,{diagram:()=>hvi});var hvi,oYr=ie(()=>{"use strict";aYr();HS();fse();$H();hvi={parser:iYr,db:Fc,renderer:h_,styles:u_}});var pvi,adt,gvi,mvi,yvi,bvi,vvi,wvi,uYr,hYr=ie(()=>{"use strict";m1();Xn();Nb();HS();pvi=GV().RailroadAbnf.parser.LangiumParser,adt=i(t=>{let r=t.alternatives.map(gvi);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformAlternation"),gvi=i(t=>{let r=t.elements.map(yvi);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformConcatenation"),mvi=i(t=>{if(t.includes("*")){let[a,o]=t.split("*"),l=a?parseInt(a,10):0,h=o?parseInt(o,10):1/0;return{min:l,max:h}}let r=parseInt(t,10);return{min:r,max:r}},"parseRepeat"),yvi=i(t=>{let r=bvi(t.primary);if(!t.repeat)return r;let{min:a,max:o}=mvi(t.repeat);return a===0&&o===1?{type:"optional",element:r}:{type:"repetition",element:r,min:a,max:o}},"transformElement"),bvi=i(t=>{switch(t.$type){case"AbnfStringLiteral":return{type:"terminal",value:t.value};case"AbnfNumVal":return{type:"terminal",value:t.value};case"AbnfRuleName":return{type:"nonterminal",name:t.name};case"AbnfGroup":return adt(t.element);case"AbnfOptionalGroup":return{type:"optional",element:adt(t.element)};default:throw new Error(`Unsupported ABNF primary node: ${t.$type}`)}},"transformPrimary"),vvi=i(t=>({name:t.name,definition:adt(t.definition)}),"transformRule"),wvi=i(t=>{Th(t,Fc),t.title&&Fc.setTitle(t.title),t.rules.map(r=>Fc.addRule(vvi(r)))},"populateDb"),uYr={parse:i(t=>{Fc.clear(),Pe.debug("[ABNF Parser] Starting Langium parse");let r=pvi.parse(t);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new GA(r);let a=r.value;Pe.debug("[ABNF Parser] Parsed rules:",a.rules.length),wvi(a),Pe.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:Fc}}});var fYr={};cs(fYr,{diagram:()=>xvi});var xvi,dYr=ie(()=>{"use strict";hYr();HS();fse();$H();xvi={parser:uYr,db:Fc,renderer:h_,styles:u_}});var Cvi,yYr,Evi,Svi,mYr,Avi,Rvi,Lvi,Dvi,bYr,vYr=ie(()=>{"use strict";m1();Xn();Nb();HS();Cvi=jV().RailroadPeg.parser.LangiumParser,yYr=i(t=>{let r=t.alternatives.map(Evi);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformOrderedChoice"),Evi=i(t=>{let r=t.elements.map(Svi);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformSequence"),Svi=i(t=>{let r=Avi(t.suffix);return t.operator?{type:"special",text:t.operator==="&"?`&${mYr(r)}`:`!${mYr(r)}`}:r},"transformPrefix"),mYr=i(t=>{switch(t.type){case"terminal":return`"${t.value}"`;case"nonterminal":return t.name;case"special":return t.text;default:return"(...)"}},"nodeToLabel"),Avi=i(t=>{let r=Rvi(t.primary);if(!t.operator)return r;switch(t.operator){case"?":return{type:"optional",element:r};case"*":return{type:"repetition",element:r,min:0,max:1/0};case"+":return{type:"repetition",element:r,min:1,max:1/0};default:throw new Error(`Unsupported PEG suffix operator: ${t.operator}`)}},"transformSuffix"),Rvi=i(t=>{switch(t.$type){case"PegLiteral":return{type:"terminal",value:t.value};case"PegIdentifier":return{type:"nonterminal",name:t.name};case"PegGroup":return yYr(t.element);case"PegAny":return{type:"special",text:t.dot};default:throw new Error(`Unsupported PEG primary node: ${t.$type}`)}},"transformPrimary"),Lvi=i(t=>({name:t.name,definition:yYr(t.definition)}),"transformRule"),Dvi=i(t=>{Th(t,Fc),t.title&&Fc.setTitle(t.title),t.rules.map(r=>Fc.addRule(Lvi(r)))},"populateDb"),bYr={parse:i(t=>{Fc.clear(),Pe.debug("[PEG Parser] Starting Langium parse");let r=Cvi.parse(t);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new GA(r);let a=r.value;Pe.debug("[PEG Parser] Parsed rules:",a.rules.length),Dvi(a),Pe.debug("[PEG Parser] Parse complete")},"parse"),parser:{yy:Fc}}});var wYr={};cs(wYr,{diagram:()=>_vi});var _vi,xYr=ie(()=>{"use strict";vYr();HS();fse();$H();_vi={parser:bYr,db:Fc,renderer:h_,styles:u_}});var x2i={};cs(x2i,{default:()=>w2i});zT();jqe();gL();var C9n=i(t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),"detector"),E9n=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(ayr(),iyr));return{id:"c4",diagram:t}},"loader"),S9n={id:"c4",detector:C9n,loader:E9n},syr=S9n;var M8r="flowchart-v2",$Jn=i(t=>/^\s*(graph|flowchart)/.test(t),"detector"),GJn=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(wTe(),dnt));return{id:M8r,diagram:t}},"loader"),jJn={id:M8r,detector:$Jn,loader:GJn},I8r=jJn;var J8r="agentflow",tZn=i(t=>/^\s*agentflow-beta\b/.test(t),"detector"),rZn=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(Q8r(),X8r));return{id:J8r,diagram:t}},"loader"),nZn={id:J8r,detector:tZn,loader:rZn},Z8r=nZn;var i7r="swimlane",sZn=i(t=>/^\s*swimlane-beta\b/.test(t),"detector"),oZn=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(n7r(),r7r));return{id:i7r,diagram:t}},"loader"),lZn={id:i7r,detector:sZn,loader:oZn},a7r=lZn;var dZn=i(t=>/^\s*erDiagram/.test(t),"detector"),pZn=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(p7r(),d7r));return{id:"er",diagram:t}},"loader"),gZn={id:"er",detector:dZn,loader:pZn},g7r=gZn;var oPr="gitGraph",Zoi=i(t=>/^\s*gitGraph/.test(t),"detector"),eli=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(sPr(),aPr));return{id:oPr,diagram:t}},"loader"),tli={id:oPr,detector:Zoi,loader:eli},lPr=tli;var zPr="gantt",Uli=i(t=>/^\s*gantt/.test(t),"detector"),Vli=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(jPr(),GPr));return{id:zPr,diagram:t}},"loader"),Hli={id:zPr,detector:Uli,loader:Vli},UPr=Hli;var JPr="info",Xli=i(t=>/^\s*info/.test(t),"detector"),Qli=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(QPr(),XPr));return{id:JPr,diagram:t}},"loader"),ZPr={id:JPr,detector:Xli,loader:Qli};var uci=i(t=>/^\s*pie/.test(t),"detector"),hci=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(lBr(),oBr));return{id:"pie",diagram:t}},"loader"),cBr={id:"pie",detector:uci,loader:hci};var TBr="quadrantChart",Rci=i(t=>/^\s*quadrantChart/.test(t),"detector"),Lci=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(xBr(),wBr));return{id:TBr,diagram:t}},"loader"),Dci={id:TBr,detector:Rci,loader:Lci},kBr=Dci;var ZBr="xychart",Xci=i(t=>/^\s*xychart(-beta)?/.test(t),"detector"),Qci=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(JBr(),QBr));return{id:ZBr,diagram:t}},"loader"),Jci={id:ZBr,detector:Xci,loader:Qci},eFr=Jci;var cFr="requirement",nui=i(t=>/^\s*requirement(Diagram)?/.test(t),"detector"),iui=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(lFr(),oFr));return{id:cFr,diagram:t}},"loader"),aui={id:cFr,detector:nui,loader:iui},uFr=aui;var IFr="sequence",rhi=i(t=>/^\s*sequenceDiagram/.test(t),"detector"),nhi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(MFr(),_Fr));return{id:IFr,diagram:t}},"loader"),ihi={id:IFr,detector:rhi,loader:nhi},NFr=ihi;var WFr="classDiagram",hhi=i(t=>/^\s*classDiagram/.test(t),"detector"),fhi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(qFr(),HFr));return{id:WFr,diagram:t}},"loader"),dhi={id:WFr,detector:hhi,loader:fhi},YFr=dhi;var E$r="stateDiagram",Lhi=i(t=>/^\s*stateDiagram/.test(t),"detector"),Dhi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(C$r(),k$r));return{id:E$r,diagram:t}},"loader"),_hi={id:E$r,detector:Lhi,loader:Dhi},S$r=_hi;var j$r="journey",Jhi=i(t=>/^\s*journey/.test(t),"detector"),Zhi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(G$r(),$$r));return{id:j$r,diagram:t}},"loader"),efi={id:j$r,detector:Jhi,loader:Zhi},z$r=efi;Xn();y1();Gh();var $4e=4,gae=75,tfi=i(t=>{let r=[];for(let l of t.split(/\s+/)){let h=[...l];for(;h.length>gae;)r.push(h.slice(0,gae).join("")),h=h.slice(gae);h.length>0&&r.push(h.join(""))}let a=[],o="";for(let l of r){let h=o?`${o} ${l}`:l;[...h].length>gae?(a.push(o),o=l):o=h}if(o&&a.push(o),a.length>$4e){a.length=$4e;let l=a[$4e-1]??"";a[$4e-1]=`${[...l].slice(0,gae-3).join("")}...`}return a},"wrapErrorMessage"),rfi=i((t,r,a,o)=>{Pe.debug(`rendering svg for syntax error +`);let l=fu(r),h=l.append("g"),f=tfi(o?.db.getErrorMessage?.()??""),p=f.length>0?500+f.length*56:512;l.attr("viewBox",`0 0 2412 ${p}`),vl(l,100,p,!0),h.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"),h.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"),h.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"),h.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),h.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"),h.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"),h.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"),h.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${a}`),f.forEach((m,b)=>{h.append("text").attr("class","error-text").attr("x",1440).attr("y",510+b*56).attr("font-size","42px").style("text-anchor","middle").text(m)})},"draw"),Yct={draw:rfi},U$r=Yct;var Kct,nfi={clear(){Kct=void 0},setErrorMessage(t){Kct=t},getErrorMessage(){return Kct}},ifi={db:nfi,renderer:Yct,parser:{parse:i(()=>{},"parse")}},V$r=ifi;var H$r="flowchart-elk",afi=i((t,r={})=>/^\s*flowchart-elk/.test(t)?(r.layout="elk",!0):!1,"detector"),sfi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(wTe(),dnt));return{id:H$r,diagram:t}},"loader"),ofi={id:H$r,detector:afi,loader:sfi},q$r=ofi;var AGr="timeline",Mfi=i(t=>/^\s*timeline/.test(t),"detector"),Ifi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(SGr(),EGr));return{id:AGr,diagram:t}},"loader"),Nfi={id:AGr,detector:Mfi,loader:Ifi},RGr=Nfi;var VGr="mindmap",Ufi=i(t=>/^\s*mindmap/.test(t),"detector"),Vfi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(UGr(),zGr));return{id:VGr,diagram:t}},"loader"),Hfi={id:VGr,detector:Ufi,loader:Vfi},HGr=Hfi;var njr="kanban",odi=i(t=>/^\s*kanban/.test(t),"detector"),ldi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(rjr(),tjr));return{id:njr,diagram:t}},"loader"),cdi={id:njr,detector:odi,loader:ldi},ijr=cdi;var $jr="sankey",Idi=i(t=>/^\s*sankey(-beta)?/.test(t),"detector"),Ndi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(Fjr(),Bjr));return{id:$jr,diagram:t}},"loader"),Odi={id:$jr,detector:Idi,loader:Ndi},Gjr=Odi;var Yjr="packet",Vdi=i(t=>/^\s*packet(-beta)?/.test(t),"detector"),Hdi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(Wjr(),qjr));return{id:Yjr,diagram:t}},"loader"),Kjr={id:Yjr,detector:Vdi,loader:Hdi};var szr="radar",dpi=i(t=>/^\s*radar-beta/.test(t),"detector"),ppi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(azr(),izr));return{id:szr,diagram:t}},"loader"),ozr={id:szr,detector:dpi,loader:ppi};var Nzr="block",Ypi=i(t=>/^\s*block(-beta)?/.test(t),"detector"),Kpi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(Izr(),Mzr));return{id:Nzr,diagram:t}},"loader"),Xpi={id:Nzr,detector:Ypi,loader:Kpi},Ozr=Xpi;var tUr="treeView",wgi=i(t=>/^\s*treeView-beta/.test(t),"detector"),xgi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(eUr(),Zzr));return{id:tUr,diagram:t}},"loader"),Tgi={id:tUr,detector:wgi,loader:xgi},rUr=Tgi;var EUr="architecture",Bgi=i(t=>/^\s*architecture/.test(t),"detector"),Fgi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(CUr(),kUr));return{id:EUr,diagram:t}},"loader"),$gi={id:EUr,detector:Bgi,loader:Fgi},SUr=$gi;var $Ur="eventmodeling",k0i=i(t=>/^\s*eventmodeling/.test(t),"detector"),C0i=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(FUr(),BUr));return{id:$Ur,diagram:t}},"loader"),E0i={id:$Ur,detector:k0i,loader:C0i},GUr=E0i;var nVr="ishikawa",F0i=i(t=>/^\s*ishikawa(-beta)?\b/i.test(t),"detector"),$0i=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(rVr(),tVr));return{id:nVr,diagram:t}},"loader"),iVr={id:nVr,detector:F0i,loader:$0i};var NVr="venn",kmi=i(t=>/^\s*venn-beta/.test(t),"detector"),Cmi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(IVr(),MVr));return{id:NVr,diagram:t}},"loader"),Emi={id:NVr,detector:kmi,loader:Cmi},OVr=Emi;gL();ma();var HVr="treemap",Nmi=i(t=>/^\s*treemap/.test(t),"detector"),Omi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(VVr(),UVr));return{id:HVr,diagram:t}},"loader"),qVr={id:HVr,detector:Nmi,loader:Omi};var hWr="usecase",Vyi=i(t=>/^\s*usecase-beta(?:\s|$)/.test(t),"detector"),Hyi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(uWr(),cWr));return{id:hWr,diagram:t}},"loader"),fWr={id:hWr,detector:Vyi,loader:Hyi};var CWr="wardley",mbi=i(t=>/^\s*wardley-beta/i.test(t),"detector"),ybi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(kWr(),TWr));return{id:CWr,diagram:t}},"loader"),bbi={id:CWr,detector:mbi,loader:ybi},EWr=bbi;var zWr="cynefin",Ibi=i(t=>/^\s*cynefin-beta(?:[\s:]|$)/.test(t),"detector"),Nbi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(jWr(),GWr));return{id:zWr,diagram:t}},"loader"),UWr={id:zWr,detector:Ibi,loader:Nbi};var tYr="railroad",nvi=i(t=>/^\s*railroad-beta/i.test(t),"detector"),ivi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(eYr(),ZWr));return{id:tYr,diagram:t}},"loader"),rYr={id:tYr,detector:nvi,loader:ivi};var lYr="railroadEbnf",fvi=i(t=>/^\s*railroad-ebnf-beta/i.test(t),"detector"),dvi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(oYr(),sYr));return{id:lYr,diagram:t}},"loader"),cYr={id:lYr,detector:fvi,loader:dvi};var pYr="railroadAbnf",Tvi=i(t=>/^\s*railroad-abnf-beta/i.test(t),"detector"),kvi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(dYr(),fYr));return{id:pYr,diagram:t}},"loader"),gYr={id:pYr,detector:Tvi,loader:kvi};var TYr="railroadPeg",Mvi=i(t=>/^\s*railroad-peg-beta/i.test(t),"detector"),Ivi=i(async()=>{let{diagram:t}=await Promise.resolve().then(()=>(xYr(),wYr));return{id:TYr,diagram:t}},"loader"),kYr={id:TYr,detector:Mvi,loader:Ivi};var CYr=!1,GH=i(()=>{CYr||(CYr=!0,EN("error",V$r,t=>t.toLowerCase().trim()==="error"),EN("---",{db:{clear:i(()=>{},"clear")},styles:{},renderer:{draw:i(()=>{},"draw")},parser:{parse:i(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:i(()=>null,"init")},t=>t.toLowerCase().trimStart().startsWith("---")),Ree(q$r,HGr,SUr),Ree(Z8r,syr,ijr,YFr,g7r,UPr,ZPr,cBr,uFr,NFr,a7r,I8r,RGr,lPr,S$r,z$r,kBr,Gjr,Kjr,eFr,Ozr,GUr,rUr,ozr,iVr,qVr,rYr,cYr,gYr,kYr,OVr,EWr,UWr,fWr))},"addDiagrams");Xn();gL();ma();var EYr=i(async()=>{Pe.debug("Loading registered diagrams");let r=(await Promise.allSettled(Object.entries(K6).map(async([a,{detector:o,loader:l}])=>{if(l)try{Iee(a)}catch{try{let{diagram:h,id:f}=await l();EN(f,h,o)}catch(h){throw Pe.error(`Failed to load external diagram with key ${a}. Removing from detectors.`),delete K6[a],h}}}))).filter(a=>a.status==="rejected");if(r.length>0){Pe.error(`Failed to load ${r.length} external diagrams`);for(let a of r)Pe.error(a);throw new Error(`Failed to load ${r.length} external diagrams`)}},"loadRegisteredDiagrams");Xn();Yo();var jH="comm",mEe="rule",yEe="decl";var SYr="@media",AYr="@import";var RYr="@supports";var LYr="@namespace",dse="@keyframes";var bEe="@layer",DYr="@scope";var sdt=Math.abs,pse=String.fromCharCode;function vEe(t){return t.trim()}i(vEe,"trim");function zH(t,r,a){return t.replace(r,a)}i(zH,"replace");function _Yr(t,r,a){return t.indexOf(r,a)}i(_Yr,"indexof");function t8(t,r){return t.charCodeAt(r)|0}i(t8,"charat");function r8(t,r,a){return t.slice(r,a)}i(r8,"substr");function T2(t){return t.length}i(T2,"strlen");function wEe(t){return t.length}i(wEe,"sizeof");function UH(t,r){return r.push(t),t}i(UH,"append");var xEe=1,VH=1,MYr=0,yk=0,Og=0,qH="";function TEe(t,r,a,o,l,h,f,p){return{value:t,root:r,parent:a,type:o,props:l,children:h,line:xEe,column:VH,length:f,return:"",siblings:p}}i(TEe,"node");function IYr(){return Og}i(IYr,"char");function NYr(){return Og=yk>0?t8(qH,--yk):0,VH--,Og===10&&(VH=1,xEe--),Og}i(NYr,"prev");function bk(){return Og=yk2||HH(Og)>3?"":" "}i(BYr,"whitespace");function FYr(t,r){for(;--r&&bk()&&!(Og<48||Og>102||Og>57&&Og<65||Og>70&&Og<97););return kEe(t,gse()+(r<6&&n8()==32&&bk()==32))}i(FYr,"escaping");function odt(t){for(;bk();)switch(Og){case t:return yk;case 34:case 39:t!==34&&t!==39&&odt(Og);break;case 40:t===41&&odt(t);break;case 92:bk();break}return yk}i(odt,"delimiter");function $Yr(t,r){for(;bk()&&t+Og!==57;)if(t+Og===84&&n8()===47)break;return"/*"+kEe(r,yk-1)+"*"+pse(t===47?t:bk())}i($Yr,"commenter");function GYr(t){for(;!HH(n8());)bk();return kEe(t,yk)}i(GYr,"identifier");function UYr(t){return PYr(EEe("",null,null,null,[""],t=OYr(t),0,[0],t))}i(UYr,"compile");function EEe(t,r,a,o,l,h,f,p,m){for(var b=0,v=0,T=f,C=0,E=0,S=0,R=1,L=1,_=1,M=0,I="",F=l,O=h,P=o,G=I;L;)switch(S=M,M=bk()){case 40:if(S!=108&&t8(G,T-1)==58){_Yr(G+=zH(CEe(M),"&","&\f"),"&\f",sdt(b?p[b-1]:0))!=-1&&(_=-1);break}case 34:case 39:case 91:G+=CEe(M);break;case 9:case 10:case 13:case 32:G+=BYr(S);break;case 92:G+=FYr(gse()-1,7);continue;case 47:switch(n8()){case 42:case 47:UH(Ovi($Yr(bk(),gse()),r,a,m),m),(HH(S||1)==5||HH(n8()||1)==5)&&T2(G)&&r8(G,-1,void 0)!==" "&&(G+=" ");break;default:G+="/"}break;case 123*R:p[b++]=T2(G)*_;case 125*R:case 59:case 0:switch(M){case 0:case 125:L=0;case 59+v:_==-1&&(G=zH(G,/\f/g,"")),E>0&&(T2(G)-T||R===0&&S===47)&&UH(E>32?zYr(G+";",o,a,T-1,m):zYr(zH(G," ","")+";",o,a,T-2,m),m);break;case 59:G+=";";default:if(UH(P=jYr(G,r,a,b,v,l,p,I,F=[],O=[],T,h),h),M===123)if(v===0)EEe(G,r,P,P,F,h,T,p,O);else{switch(C){case 99:if(t8(G,3)===110)break;case 108:if(t8(G,2)===97)break;default:v=0;case 100:case 109:case 115:}v?EEe(t,P,P,o&&UH(jYr(t,P,P,0,0,l,p,I,l,F=[],T,O),O),l,O,T,p,o?F:O):EEe(G,P,P,P,[""],O,0,p,O)}}b=v=E=0,R=_=1,I=G="",T=f;break;case 58:T=1+T2(G),E=S;default:if(R<1){if(M==123)--R;else if(M==125&&R++==0&&NYr()==125)continue}switch(G+=pse(M),M*R){case 38:_=v>0?1:(G+="\f",-1);break;case 44:p[b++]=(T2(G)-1)*_,_=1;break;case 64:n8()===45&&(G+=CEe(bk())),C=n8(),v=T=T2(I=G+=GYr(gse())),M++;break;case 45:S===45&&T2(G)==2&&(R=0)}}return h}i(EEe,"parse");function jYr(t,r,a,o,l,h,f,p,m,b,v,T){for(var C=l-1,E=l===0?h:[""],S=wEe(E),R=0,L=0,_=0;R0?E[M]+" "+I:zH(I,/&\f/g,E[M])))&&(m[_++]=F);return TEe(t,r,a,l===0?mEe:p,m,b,v,T)}i(jYr,"ruleset");function Ovi(t,r,a,o){return TEe(t,r,a,jH,pse(IYr()),r8(t,2,-2),0,o)}i(Ovi,"comment");function zYr(t,r,a,o,l){return TEe(t,r,a,yEe,r8(t,0,o),r8(t,o+1,-1),o,l)}i(zYr,"declaration");function SEe(t,r){for(var a="",o=0;oC?Pe.warn(`Comment-preserving source exceeds maxTextSize (${o.withComments.length} > ${C}); parsing the comment-stripped text instead. Reported source positions will not account for comment lines.`):v=o.withComments}let T=vpr(v)+` +`;return o.frontmatterLineOffset&&f.setFrontmatterLineOffset?.(o.frontmatterLineOffset),await p.parse(T),new t(h,T,f,p,m)}async render(r,a){await this.renderer.draw(this.text,r,a,this)}getParser(){return this.parser}getType(){return this.type}};rl();var YYr=[];var KYr=i(()=>{YYr.forEach(t=>{t()}),YYr=[]},"attachFunctions");Xn();Lz();var XYr=i(t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");hbe();Nz();function QYr(t){let r=ube(t);if(!r)return{text:t,metadata:{}};let a=r.indent,o=a?r.body.split(` +`).map(f=>f.startsWith(a)?f.slice(a.length):f).join(` +`):r.body,l=y4(o,{schema:m4})??{};l=typeof l=="object"&&!Array.isArray(l)?l:{};let h={};return l.displayMode&&(h.displayMode=l.displayMode.toString()),l.title&&(h.title=l.title.toString()),l.config&&(h.config=l.config),{text:t.slice(r.length),metadata:h}}i(QYr,"extractFrontMatter");Ia();var Bvi=i(t=>t.replace(/\r\n?/g,` +`).replace(/<(\w+)([^>]*)>/g,(r,a,o)=>"<"+a+o.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),Fvi=i(t=>{let{text:r,metadata:a}=QYr(t),{displayMode:o,title:l,config:h={}}=a;return o&&(h.gantt||(h.gantt={}),h.gantt.displayMode=o),{title:l,config:h,text:r}},"processFrontmatter"),$vi=i(t=>{let r=Ya.detectInit(t)??{},a=Ya.detectDirective(t,"wrap");return Array.isArray(a)?r.wrap=a.some(({type:o})=>o==="wrap"):a?.type==="wrap"&&(r.wrap=!0),{text:mpr(t),directive:r}},"processDirectives");function ldt(t){let r=t,a=Bvi(t),o=Fvi(a),l=$vi(o.text),h=nl(o.config,l.directive),f=l.text,p=XYr(f),m=a.length>o.text.length?(a.substring(0,a.length-o.text.length).match(/\n/g)??[]).length:0;return{code:{raw:r,cleaned:p,withComments:f,frontmatterLineOffset:m},title:o.title,config:h}}i(ldt,"preprocessDiagram");qqe();Cye();Ia();function JYr(t){let r=new TextEncoder().encode(t),a=Array.from(r,o=>String.fromCodePoint(o)).join("");return btoa(a)}i(JYr,"toBase64");Eye();var Gvi=5e4,jvi="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",zvi="sandbox",Uvi="loose",Vvi="http://www.w3.org/2000/svg",Hvi="http://www.w3.org/1999/xlink",qvi="http://www.w3.org/1999/xhtml",Wvi="100%",Yvi="100%",Kvi="border:0;margin:0;",Xvi="margin:0",Qvi="allow-top-navigation-by-user-activation allow-popups",Jvi='The "iframe" tag is not supported by your browser.',Zvi=["foreignobject"],e2i=["dominant-baseline"];function rKr(t){let r=ldt(t);fee();let a;try{a=pL(r.code.cleaned,ii())}catch{a=void 0}return Rye(a),lsr(r.config??{}),r}i(rKr,"processAndSetConfigs");async function t2i(t,r){GH();try{let{code:a,config:o}=rKr(t);return{diagramType:(await oB.fromText(a)).type,config:o}}catch(a){if(r?.suppressErrors)return!1;throw a}finally{Rye(void 0)}}i(t2i,"parse");var ZYr=i((t,r,a=[])=>{let o=IHe(`{ ${a.join(" !important; ")} !important; }`);return`.${t} ${r} ${o}`},"cssImportantStyles"),r2i=i((t,r=new Map)=>{let a=new CSSStyleSheet;if(t.fontFamily!==void 0&&a.insertRule(`:root { --mermaid-font-family: ${t.fontFamily}}`,a.cssRules.length),t.altFontFamily!==void 0&&a.insertRule(`:root { --mermaid-alt-font-family: ${t.altFontFamily}}`,a.cssRules.length),r instanceof Map){let p=$h(t)?["> *","span"]:["rect","polygon","ellipse","circle","path"];r.forEach(m=>{Zve(m.styles)||p.forEach(b=>{a.insertRule(ZYr(m.id,b,m.styles),a.cssRules.length)}),Zve(m.textStyles)||a.insertRule(ZYr(m.id,"tspan",(m?.textStyles||[]).map(b=>b.replace("color","fill"))),a.cssRules.length)})}let o="";if(t.themeCSS!==void 0)if(typeof a.replaceSync=="function"){let l=new CSSStyleSheet;l.replaceSync(t.themeCSS),o=Hqe(l)+` +`}else o+=`${t.themeCSS} +`;return o+Hqe(a)},"createCssStyles"),n2i=i((t,r)=>SEe(UYr(`${t}{${r}}`),HYr([i(function(o,l,h,f){if(o.type==="rule"&&Array.isArray(o.props)){if(o.parent&&o.parent.type===dse)return;o.props=o.props.map(p=>p===t&&Array.isArray(o.children)&&o.children.every(b=>b.type!=="decl"?!1:new Set(["font-family","font-size","fill"]).has(b.props))||(p.startsWith(`${t} `)||p.startsWith(`${t}>`))&&!p.startsWith(`${t} ||`)?p:`${t} ${p}`)}else o.type.startsWith("@")&&([...[SYr,RYr,bEe,DYr,"@container","@starting-style"],dse].includes(o.type)||(Pe.warn(`Removing unsupported at-rule ${o.type} from CSS`),o.type=jH))},"addNamespace"),VYr])),"compileCSS"),i2i=i((t,r,a,o)=>{let l=r2i(t,a),h=xlr(r,l,{...t.themeVariables,theme:t.theme,look:t.look},o);return n2i(o,h)},"createUserStyles"),a2i=i((t="",r,a)=>{let o=t;return!a&&!r&&(o=o.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),o=Xv(o),o=o.replace(/
    /g,"
    "),o},"cleanUpSvgCode"),s2i=i((t="",r)=>{let a=r?.viewBox?.baseVal?.height?r.viewBox.baseVal.height+"px":Yvi,o=JYr(`${t}`);return``},"putIntoIFrame"),eKr=i((t,r,a,o,l)=>{let h=t.append("div");h.attr("id",a),o&&h.attr("style",o);let f=h.append("svg").attr("id",r).attr("width","100%").attr("xmlns",Vvi);return l&&f.attr("xmlns:xlink",l),f.append("g"),t},"appendDivSvgG");function tKr(t,r){return t.append("iframe").attr("id",r).attr("style","width: 100%; height: 100%;").attr("sandbox","")}i(tKr,"sandboxedIframe");var o2i=i((t,r,a,o)=>{t.getElementById(r)?.remove(),t.getElementById(a)?.remove(),t.getElementById(o)?.remove()},"removeExistingElements"),l2i=i(async function(t,r,a){GH();let o=rKr(r),l=o.code;r=l.cleaned;let h=ii();Pe.debug(h),r.length>(h?.maxTextSize??Gvi)&&(r=jvi,l={raw:r,cleaned:r});let f=`#${t}`,p="i"+t,m="#"+p,b="d"+t,v="#"+b,T=i(()=>{let Q=dn(E?m:v).node();Q&&"remove"in Q&&Q.remove()},"removeTempElements"),C=dn(document.body),E=h.securityLevel===zvi,S=h.securityLevel===Uvi,R=h.fontFamily;if(a!==void 0){if(a&&(a.innerHTML=""),E){let Z=tKr(dn(a),p);C=dn(Z.nodes()[0].contentDocument.body),C.node().style.margin="0"}else C=dn(a);eKr(C,t,b,`font-family: ${R}`,Hvi)}else{if(o2i(document,t,b,p),E){let Z=tKr(dn(document.body),p);C=dn(Z.nodes()[0].contentDocument.body),C.node().style.margin="0"}else C=dn("body");eKr(C,t,b)}let L,_;try{L=await oB.fromText(l,{title:o.title})}catch(Z){if(h.suppressErrorRendering)throw T(),Z;L=await oB.fromText("error"),_=Z,L.db.setErrorMessage?.(bpr(Z))}let M=C.select(v).node(),I=L.type,F=M.firstChild,O=F.firstChild,P=L.renderer.getClasses?.(r,L),G=i2i(h,I,P,f),V=document.createElement("style");V.innerHTML=G,F.insertBefore(V,O);try{await L.renderer.draw(r,t,"12.2.0",L)}catch(Z){throw h.suppressErrorRendering?T():U$r.draw(r,t,"12.2.0"),Z}let Y=C.select(`${v} svg`),K=L.db.getAccTitle?.(),J=L.db.getAccDescription?.();f2i(I,Y,K,J);let q=i(()=>{C.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns",qvi);let Z=C.select(v).node().innerHTML;if(Pe.debug("config.arrowMarkerAbsolute",h.arrowMarkerAbsolute),Z=a2i(Z,E,lm(h.arrowMarkerAbsolute)),E){let Q=C.select(v+" svg").node();Z=s2i(Z,Q)}else S||(Z=Z1.sanitize(Z,{ADD_TAGS:Zvi,ADD_ATTR:e2i,HTML_INTEGRATION_POINTS:{foreignobject:!0}}));return KYr(),Z},"serializeSvg")();if(_)throw _;return T(),{diagramType:I,svg:q,bindFunctions:L.db.bindFunctions}},"renderDiagram"),c2i=i(async function(t,r,a){try{return await l2i(t,r,a)}finally{Rye(void 0)}},"render");function u2i(t={}){let r=Fh({},t);r?.fontFamily&&!r.themeVariables?.fontFamily&&(r.themeVariables||(r.themeVariables={}),r.themeVariables.fontFamily=r.fontFamily),asr(r);let a=DE.theme;r?.theme&&Object.hasOwn($T,r.theme)?r.themeVariables=$T[r.theme].getThemeVariables(r.themeVariables):r&&(r.theme!=null&&r.theme!=="null"&&(r.theme=a),r.themeVariables=$T[a].getThemeVariables(r.themeVariables));let o=typeof r=="object"?NHe(r):OHe();aee(o.logLevel),GH()}i(u2i,"initialize");var h2i=i((t,r={})=>{let{code:a}=ldt(t);return oB.fromText(a,r)},"getDiagramFromText");function f2i(t,r,a,o){qYr(r,t),WYr(r,a,o,r.attr("id"))}i(f2i,"addA11yInfo");var f_=Object.freeze({render:c2i,parse:t2i,getDiagramFromText:h2i,initialize:u2i,getConfig:ii,setConfig:Lye,getSiteConfig:OHe,updateSiteConfig:ssr,reset:i(()=>{fee()},"reset"),globalReset:i(()=>{fee(DE)},"globalReset"),defaultConfig:DE});aee(ii().logLevel);fee(ii());xS();Ia();var d2i=i((t,r,a)=>{Pe.warn(t),UXe(t)?(a&&a(t.str,t.hash),r.push({...t,message:t.str,error:t})):(a&&a(t),t instanceof Error&&r.push({str:t.message,message:t.message,hash:t.name,error:t}))},"handleError"),nKr=i(async function(t={querySelector:".mermaid"}){try{await p2i(t)}catch(r){if(UXe(r)&&Pe.error(r.str),i8.parseError&&i8.parseError(r),!t.suppressErrors)throw Pe.error("Use the suppressErrors option to suppress these errors"),r}},"run"),p2i=i(async function({postRenderCallback:t,querySelector:r,nodes:a}={querySelector:".mermaid"}){let o=f_.getConfig();Pe.debug(`${t?"":"No "}Callback function found`);let l;if(a)l=a;else if(r)l=document.querySelectorAll(r);else throw new Error("Nodes and querySelector are both undefined");Pe.debug(`Found ${l.length} diagrams`),o?.startOnLoad!==void 0&&(Pe.debug("Start On Load: "+o?.startOnLoad),f_.updateSiteConfig({startOnLoad:o?.startOnLoad}));let h=new Ya.InitIDGenerator(o.deterministicIds,o.deterministicIDSeed),f,p=[];for(let m of Array.from(l)){Pe.info("Rendering diagram: "+m.id);if(m.getAttribute("data-processed"))continue;m.setAttribute("data-processed","true");let b=`mermaid-${h.next()}`;f=m.innerHTML,f=obe(Ya.entityDecode(f)).trim().replace(//gi,"
    ");let v=Ya.detectInit(f);v&&Pe.debug("Detected early reinit: ",v);try{let{svg:T,bindFunctions:C}=await oKr(b,f,m);m.innerHTML=T,t&&await t(b),C&&C(m)}catch(T){d2i(T,p,i8.parseError)}}if(p.length>0)throw p[0]},"runThrowsErrors"),iKr=i(function(t){f_.initialize(t)},"initialize"),g2i=i(async function(t,r,a){Pe.warn("mermaid.init is deprecated. Please use run instead."),t&&iKr(t);let o={postRenderCallback:a,querySelector:".mermaid"};typeof r=="string"?o.querySelector=r:r&&(r instanceof HTMLElement?o.nodes=[r]:o.nodes=r),await nKr(o)},"init"),m2i=i(async(t,{lazyLoad:r=!0}={})=>{GH(),Ree(...t),r===!1&&await EYr()},"registerExternalDiagrams"),aKr=i(function(){if(i8.startOnLoad){let{startOnLoad:t}=f_.getConfig();t&&i8.run().catch(r=>Pe.error("Mermaid failed to initialize",r))}},"contentLoaded");if(typeof document<"u"){window.addEventListener("load",aKr,!1)}var y2i=i(function(t){i8.parseError=t},"setParseErrorHandler"),AEe=[],cdt=!1,sKr=i(async()=>{if(!cdt){for(cdt=!0;AEe.length>0;){let t=AEe.shift();if(t)try{await t()}catch(r){Pe.error("Error executing queue",r)}}cdt=!1}},"executeQueue"),b2i=i(async(t,r)=>new Promise((a,o)=>{let l=i(()=>new Promise((h,f)=>{f_.parse(t,r).then(p=>{h(p),a(p)},p=>{Pe.error("Error parsing",p),i8.parseError?.(p),f(p),o(p)})}),"performCall");AEe.push(l),sKr().catch(o)}),"parse"),oKr=i((t,r,a)=>new Promise((o,l)=>{let h=i(()=>new Promise((f,p)=>{f_.render(t,r,a).then(m=>{f(m),o(m)},m=>{Pe.error("Error parsing",m),i8.parseError?.(m),p(m),l(m)})}),"performCall");AEe.push(h),sKr().catch(l)}),"render"),v2i=i(()=>Object.keys(K6).map(t=>({id:t})),"getRegisteredDiagramsMetadata"),i8={startOnLoad:!0,mermaidAPI:f_,parse:b2i,render:oKr,init:g2i,run:nKr,registerExternalDiagrams:m2i,registerLayoutLoaders:cnt,initialize:iKr,parseError:void 0,contentLoaded:aKr,setParseErrorHandler:y2i,detectType:pL,registerIconPacks:Qj,getRegisteredDiagramsMetadata:v2i},w2i=i8;return iSn(x2i);})(); +/*! Check if previously processed */ +/*! + * Wait for document loaded before starting the execution + */ +/*! Bundled license information: + +dompurify/dist/purify.es.mjs: + (*! @license DOMPurify 3.4.12 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.12/LICENSE *) + +lodash-es/lodash.js: + (** + * @license + * Lodash (Custom Build) + * Build: `lodash modularize exports="es" --repo lodash/lodash#4.18.1 -o ./` + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + *) + +cytoscape/dist/cytoscape.esm.mjs: + (*! + Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable + Copyright (c) 2013-2014 Ralf S. Engelschall (http://engelschall.com) + Licensed under The MIT License (http://opensource.org/licenses/MIT) + *) + (*! + Event object based on jQuery events, MIT license + + https://jquery.org/license/ + https://tldrlegal.com/license/mit-license + https://github.com/jquery/jquery/blob/master/src/event.js + *) + (*! Bezier curve function generator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_License *) + (*! Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License *) +*/ +globalThis["mermaid"] = globalThis.__esbuild_esm_mermaid_nm["mermaid"].default; + +(()=>{var icn=Object.defineProperty;var $S=(s=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(s,{get:(o,f)=>(typeof require<"u"?require:o)[f]}):s)(function(s){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+s+'" is not supported')});var ylt=(s,o)=>()=>(s&&(o=s(s=0)),o);var vte=(s,o)=>{for(var f in o)icn(s,f,{get:o[f],enumerable:!0})};var acn,kte,ocn,scn,ccn,lcn,n,VH,XH,hcn,vlt,YH=ylt(()=>{acn=Object.create,kte=Object.defineProperty,ocn=Object.getOwnPropertyDescriptor,scn=Object.getOwnPropertyNames,ccn=Object.getPrototypeOf,lcn=Object.prototype.hasOwnProperty,n=(s,o)=>kte(s,"name",{value:o,configurable:!0}),VH=(s=>typeof $S<"u"?$S:typeof Proxy<"u"?new Proxy(s,{get:(o,f)=>(typeof $S<"u"?$S:o)[f]}):s)(function(s){if(typeof $S<"u")return $S.apply(this,arguments);throw Error('Dynamic require of "'+s+'" is not supported')}),XH=(s,o)=>()=>(o||s((o={exports:{}}).exports,o),o.exports),hcn=(s,o,f,g)=>{if(o&&typeof o=="object"||typeof o=="function")for(let p of scn(o))!lcn.call(s,p)&&p!==f&&kte(s,p,{get:()=>o[p],enumerable:!(g=ocn(o,p))||g.enumerable});return s},vlt=(s,o,f)=>(f=s!=null?acn(ccn(s)):{},hcn(o||!s||!s.__esModule?kte(f,"default",{value:s,enumerable:!0}):f,s))});var TVe={};vte(TVe,{ParseError:()=>Yn,SETTINGS_SCHEMA:()=>Flt,__defineFunction:()=>xr,__defineMacro:()=>ft,__defineSymbol:()=>W,__domTree:()=>CVe,__parse:()=>yVe,__renderToDomTree:()=>Qlt,__renderToHTMLTree:()=>kVe,__setFontMetrics:()=>see,default:()=>Kln,render:()=>kee,renderToString:()=>mVe,version:()=>xVe});function dGe(s){if(typeof s!="string")return s.enum[0];switch(s){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{};default:throw new Error("Unexpected schema type; settings must declare an explicit default.")}}function fGe(s){if(s.default!==void 0)return s.default;var o=Array.isArray(s.type)?s.type[0]:s.type;return dGe(o)}function bGe(s,o,f,g){var p=f[o];s[o]=p!==void 0?g.processor?g.processor(p):p:fGe(g)}function gGe(s){for(var o=0;o=p[0]&&s<=p[1])return f.name}return null}function aee(s){for(var o=0;o=Llt[o]&&s<=Llt[o+1])return!0;return!1}function pGe(s){return"toText"in s}function kGe(s){if(s instanceof dp)return s;throw new Error("Expected symbolNode but got "+String(s)+".")}function xGe(s){if(s instanceof lO)return s;throw new Error("Expected span but got "+String(s)+".")}function see(s,o){X4[s]=o}function Rlt(s,o,f){if(!X4[o])throw new Error("Font metrics not found for font: "+o+".");var g=s.charCodeAt(0),p=X4[o][g];if(!p&&s[0]in DWe&&(g=DWe[s[0]].charCodeAt(0),p=X4[o][g]),!p&&f==="text"&&aee(g)&&(p=X4[o][77]),p)return{depth:p[0],height:p[1],italic:p[2],skew:p[3],width:p[4]}}function CGe(s){var o;if(s>=5?o=0:s>=3?o=1:o=2,!xte[o]){var f=xte[o]={cssEmPerMu:klt.quad[o]/18};for(var g in klt)klt.hasOwnProperty(g)&&(f[g]=klt[g][o])}return xte[o]}function W(s,o,f,g,p,y){_l[s][p]={font:o,group:f,replace:g},y&&g&&(_l[s][g]=_l[s][p])}function xr(s){for(var{type:o,names:f,props:g,handler:p,htmlBuilder:y,mathmlBuilder:k}=s,T={type:o,numArgs:g.numArgs,argTypes:g.argTypes,allowedInArgument:!!g.allowedInArgument,allowedInText:!!g.allowedInText,allowedInMath:g.allowedInMath===void 0?!0:g.allowedInMath,numOptionalArgs:g.numOptionalArgs||0,infix:!!g.infix,primitive:!!g.primitive,handler:p},B=0;B0&&(y.push(ZH(k,o)),k=[]),y.push(g[T]));k.length>0&&y.push(ZH(k,o));var v;f?(v=ZH(o1(f,o,!0),o),v.classes=["tag"],y.push(v)):p&&y.push(p);var M=zn(["katex-html"],y);if(M.setAttribute("aria-hidden","true"),v){var L=v.children[0];L.style.height=rr(M.height+M.depth),M.depth&&(L.style.verticalAlign=rr(-M.depth))}return M}function hee(s){return new cO(s)}function _lt(s){if(!s)return!1;if(s.type==="mi"&&s.children.length===1){var o=s.children[0];return o instanceof Bu&&o.text==="."}else if(s.type==="mo"&&s.children.length===1&&s.getAttribute("separator")==="true"&&s.getAttribute("lspace")==="0em"&&s.getAttribute("rspace")==="0em"){var f=s.children[0];return f instanceof Bu&&f.text===","}else return!1}function Vte(s,o,f,g,p){var y=bp(s,f),k;y.length===1&&y[0]instanceof Xn&&Jcn.has(y[0].type)?k=y[0]:k=new Xn("mrow",y);var T=new Xn("annotation",[new Bu(o)]);T.setAttribute("encoding","application/x-tex");var B=new Xn("semantics",[k,T]),v=new Xn("math",[B]);v.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),g&&v.setAttribute("display","block");var M=p?"katex":"katex-mathml";return zn([M],[v])}function jGe(s){return s in sln}function Ka(s,o){if(!s||s.type!==o)throw new Error("Expected node of type "+o+", but got "+(s?"node of type "+s.type:String(s)));return s}function aK(s){var o=oK(s);if(!o)throw new Error("Expected node of symbol group type, but got "+(s?"node of type "+s.type:String(s)));return o}function oK(s){return s&&(s.type==="atom"||cln.hasOwnProperty(s.type))?s:null}function bee(s,o){var f=o1(s.body,o,!0);return zn([s.mclass],f,o)}function gee(s,o){var f,g=bp(s.body,o);return s.mclass==="minner"?f=new Xn("mpadded",g):s.mclass==="mord"?s.isCharacterBox?(f=g[0],f.type="mi"):f=new Xn("mi",g):(s.isCharacterBox?(f=g[0],f.type="mo"):f=new Xn("mo",g),s.mclass==="mbin"?(f.attributes.lspace="0.22em",f.attributes.rspace="0.22em"):s.mclass==="mpunct"?(f.attributes.lspace="0em",f.attributes.rspace="0.17em"):s.mclass==="mopen"||s.mclass==="mclose"?(f.attributes.lspace="0em",f.attributes.rspace="0em"):s.mclass==="minner"&&(f.attributes.lspace="0.0556em",f.attributes.width="+0.1111em")),f}function $Ge(s,o,f){var g=hln[s];switch(g){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return f.callFunction(g,[o[0]],[o[1]]);case"\\uparrow":case"\\downarrow":{var p=f.callFunction("\\\\cdleft",[o[0]],[]),y={type:"atom",text:g,mode:"math",family:"rel"},k=f.callFunction("\\Big",[y],[]),T=f.callFunction("\\\\cdright",[o[1]],[]),B={type:"ordgroup",mode:"math",body:[p,k,T]};return f.callFunction("\\\\cdparent",[B],[])}case"\\\\cdlongequal":return f.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var v={type:"textord",text:"\\Vert",mode:"math"};return f.callFunction("\\Big",[v],[])}default:return{type:"textord",text:" ",mode:"math"}}}function NGe(s){var o=[];for(s.gullet.beginGroup(),s.gullet.macros.set("\\cr","\\\\\\relax"),s.gullet.beginGroup();;){o.push(s.parseExpression(!1,"\\\\")),s.gullet.endGroup(),s.gullet.beginGroup();var f=s.fetch().text;if(f==="&"||f==="\\\\")s.consume();else if(f==="\\end"){o[o.length-1].length===0&&o.pop();break}else throw new Yn("Expected \\\\ or \\cr or \\end",s.nextToken)}for(var g=[],p=[g],y=0;yAV".includes(v))for(var L=0;L<2;L++){for(var F=!0,j=B+1;jAV=|." after @',k[B]);var $=$Ge(v,M,s),z={type:"styling",body:[$],mode:"math",style:"display",resetFont:!0};g.push(z),T=WWe()}y%2===0?g.push(T):g.shift(),g=[],p.push(g)}s.gullet.endGroup(),s.gullet.endGroup();var U=new Array(p[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:p,arraystretch:1,addJot:!0,rowGaps:[null],cols:U,colSeparationType:"CD",hLinesBeforeRow:new Array(p.length+1).fill([])}}function Jte(s){return"isMiddle"in s}function sK(s,o){var f=oK(s);if(f&&xln.has(f.text))return f;throw f?new Yn("Invalid delimiter '"+f.text+"' after '"+o.funcName+"'",s):new Yn("Invalid delimiter type '"+s.type+"'",s)}function Zte(s){if(!s.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}function Nm(s){for(var{type:o,names:f,props:g,handler:p,htmlBuilder:y,mathmlBuilder:k}=s,T={type:o,numArgs:g.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:p},B=0;B1||!M)&&z.pop(),V.length{YH();Yn=class uGe extends Error{static{n(this,"ParseError")}constructor(o,f){var g="KaTeX parse error: "+o,p,y,k=f&&f.loc;if(k&&k.start<=k.end){var T=k.lexer.input;p=k.start,y=k.end,p===T.length?g+=" at end of input: ":g+=" at position "+(p+1)+": ";var B=T.slice(p,y).replace(/[^]/g,"$&\u0332"),v;p>15?v="\u2026"+T.slice(p-15,p):v=T.slice(0,p);var M;y+15s.replace(ucn,"-$1").toLowerCase(),"hyphenate"),fcn={"&":"&",">":">","<":"<",'"':""","'":"'"},bcn=/[&><"']/g,gd=n(s=>String(s).replace(bcn,o=>fcn[o]),"escape"),jte=n(s=>s.type==="ordgroup"||s.type==="color"?s.body.length===1?jte(s.body[0]):s:s.type==="font"?jte(s.body):s,"getBaseElem"),gcn=new Set(["mathord","textord","atom"]),Jv=n(s=>gcn.has(jte(s).type),"isCharacterBox"),pcn=n(s=>{var o=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(s);return o?o[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(o[1])?null:o[1].toLowerCase():"_relative"},"protocolFromUrl"),Flt={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:n(s=>"#"+s,"cliProcessor")},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:n((s,o)=>(o.push(s),o),"cliProcessor")},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:n(s=>Math.max(0,s),"processor"),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:n(s=>Math.max(0,s),"processor"),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:n(s=>Math.max(0,s),"processor"),cli:"-e, --max-expand ",cliProcessor:n(s=>s==="Infinity"?1/0:parseInt(s),"cliProcessor")},globalGroup:{type:"boolean",cli:!1}};n(dGe,"getImplicitDefault");n(fGe,"getDefaultValue");n(bGe,"applySetting");ree=class{static{n(this,"Settings")}constructor(s){s===void 0&&(s={}),this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,s=s||{};for(var o of Object.keys(Flt)){var f=Flt[o];f&&bGe(this,o,s,f)}}reportNonstrict(s,o,f){var g=this.strict;if(typeof g=="function"&&(g=g(s,o,f)),!(!g||g==="ignore")){if(g===!0||g==="error")throw new Yn("LaTeX-incompatible input and strict mode is set to 'error': "+(o+" ["+s+"]"),f);g==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(o+" ["+s+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+g+"': "+o+" ["+s+"]"))}}useStrictBehavior(s,o,f){var g=this.strict;if(typeof g=="function")try{g=g(s,o,f)}catch{g="error"}return!g||g==="ignore"?!1:g===!0||g==="error"?!0:g==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(o+" ["+s+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+g+"': "+o+" ["+s+"]")),!1)}isTrusted(s){if("url"in s&&s.url&&!s.protocol){var o=pcn(s.url);if(o==null)return!1;s.protocol=o}var f=typeof this.trust=="function"?this.trust(s):this.trust;return!!f}},zk=class{static{n(this,"Style")}constructor(s,o,f){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=s,this.size=o,this.cramped=f}sup(){return V4[wcn[this.id]]}sub(){return V4[mcn[this.id]]}fracNum(){return V4[ycn[this.id]]}fracDen(){return V4[vcn[this.id]]}cramp(){return V4[kcn[this.id]]}text(){return V4[xcn[this.id]]}isTight(){return this.size>=2}},iee=0,Olt=1,iO=2,Yv=3,nK=4,G2=5,aO=6,pf=7,V4=[new zk(iee,0,!1),new zk(Olt,0,!0),new zk(iO,1,!1),new zk(Yv,1,!0),new zk(nK,2,!1),new zk(G2,2,!0),new zk(aO,3,!1),new zk(pf,3,!0)],wcn=[nK,G2,nK,G2,aO,pf,aO,pf],mcn=[G2,G2,G2,G2,pf,pf,pf,pf],ycn=[iO,Yv,nK,G2,aO,pf,aO,pf],vcn=[Yv,Yv,G2,G2,pf,pf,pf,pf],kcn=[Olt,Olt,Yv,Yv,G2,G2,pf,pf],xcn=[iee,Olt,iO,Yv,iO,Yv,iO,Yv],Ca={DISPLAY:V4[iee],TEXT:V4[iO],SCRIPT:V4[nK],SCRIPTSCRIPT:V4[aO]},Ite=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];n(gGe,"scriptFromCodepoint");Llt=[];Ite.forEach(s=>s.blocks.forEach(o=>Llt.push(...o)));n(aee,"supportedCodepoint");a1=n(s=>s+" "+s,"doubleBrushStroke"),rO=80,Ccn=n(function(s,o){return"M95,"+(622+s+o)+` +c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 +c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 +c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 +s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 +c69,-144,104.5,-217.7,106.5,-221 +l`+s/2.075+" -"+s+` +c5.3,-9.3,12,-14,20,-14 +H400000v`+(40+s)+`H845.2724 +s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 +c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z +M`+(834+s)+" "+o+"h400000v"+(40+s)+"h-400000z"},"sqrtMain"),Tcn=n(function(s,o){return"M263,"+(601+s+o)+`c0.7,0,18,39.7,52,119 +c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 +c340,-704.7,510.7,-1060.3,512,-1067 +l`+s/2.084+" -"+s+` +c4.7,-7.3,11,-11,19,-11 +H40000v`+(40+s)+`H1012.3 +s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 +c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 +s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 +c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z +M`+(1001+s)+" "+o+"h400000v"+(40+s)+"h-400000z"},"sqrtSize1"),Scn=n(function(s,o){return"M983 "+(10+s+o)+` +l`+s/3.13+" -"+s+` +c4,-6.7,10,-10,18,-10 H400000v`+(40+s)+` +H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 +s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 +c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 +c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 +c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 +c53.7,-170.3,84.5,-266.8,92.5,-289.5z +M`+(1001+s)+" "+o+"h400000v"+(40+s)+"h-400000z"},"sqrtSize2"),Ecn=n(function(s,o){return"M424,"+(2398+s+o)+` +c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 +c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 +s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 +s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 +l`+s/4.223+" -"+s+`c4,-6.7,10,-10,18,-10 H400000 +v`+(40+s)+`H1014.6 +s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 +c-2,6,-10,9,-24,9 +c-8,0,-12,-0.7,-12,-2z M`+(1001+s)+" "+o+` +h400000v`+(40+s)+"h-400000z"},"sqrtSize3"),Bcn=n(function(s,o){return"M473,"+(2713+s+o)+` +c339.3,-1799.3,509.3,-2700,510,-2702 l`+s/5.298+" -"+s+` +c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+s)+`H1017.7 +s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 +c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 +c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 +s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, +606zM`+(1001+s)+" "+o+"h400000v"+(40+s)+"H1017.7z"},"sqrtSize4"),Mcn=n(function(s){var o=s/2;return"M400000 "+s+" H0 L"+o+" 0 l65 45 L145 "+(s-80)+" H400000z"},"phasePath"),Acn=n(function(s,o,f){var g=f-54-o-s;return"M702 "+(s+o)+"H400000"+(40+s)+` +H742v`+g+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 +h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 +c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 +219 661 l218 661zM702 `+o+"H400000v"+(40+s)+"H742z"},"sqrtTall"),Lcn=n(function(s,o,f){o=1e3*o;var g="";switch(s){case"sqrtMain":g=Ccn(o,rO);break;case"sqrtSize1":g=Tcn(o,rO);break;case"sqrtSize2":g=Scn(o,rO);break;case"sqrtSize3":g=Ecn(o,rO);break;case"sqrtSize4":g=Bcn(o,rO);break;case"sqrtTall":g=Acn(o,rO,f)}return g},"sqrtPath"),_cn=n(function(s,o){switch(s){case"\u239C":return a1("M291 0 H417 V"+o+" H291z");case"\u2223":return a1("M145 0 H188 V"+o+" H145z");case"\u2225":return a1("M145 0 H188 V"+o+" H145z")+a1("M367 0 H410 V"+o+" H367z");case"\u239F":return a1("M457 0 H583 V"+o+" H457z");case"\u23A2":return a1("M319 0 H403 V"+o+" H319z");case"\u23A5":return a1("M263 0 H347 V"+o+" H263z");case"\u23AA":return a1("M384 0 H504 V"+o+" H384z");case"\u23D0":return a1("M312 0 H355 V"+o+" H312z");case"\u2016":return a1("M257 0 H300 V"+o+" H257z")+a1("M478 0 H521 V"+o+" H478z");default:return""}},"innerPath"),OWe={doubleleftarrow:`M262 157 +l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 + 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 + 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 +c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5 + 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87 +-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7 +-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z +m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l +-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5 + 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88 +-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68 +-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18 +-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782 +c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3 +-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120 + 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8 +-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247 +c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208 + 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3 + 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202 + l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117 +-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7 + 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13 + 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688 + 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7 +-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80 +H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0 + 435 0h399565z`,leftgroupunder:`M400000 262 +H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219 + 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3 +-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5 +-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7 +-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5 + 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3 +-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7 +-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z +m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333 + 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5 + 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667 +-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12 + 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7 +-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0 +v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 +-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3 +-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21 + 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:a1("M40 281 V428 H0 V94 H40 V241 H400000 v40z"),leftbracketunder:a1("M0 0 h120 V290 H399995 v120 H0z"),leftbracketover:a1("M0 440 h120 V150 H399995 v-120 H0z"),leftmapsto:a1("M40 281 V448H0V74H40V241H400000v40z"),leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23 +-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8 +c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3 + 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:a1("M0 50 h400000 v40H0z m0 194h40000v40H0z"),midbrace:`M200428 334 +c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14 +-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 + 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11 + 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214 +c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14 + 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3 + 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0 +-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6 +-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z +m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8 +60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8 +-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z +m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2 +c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6 +-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z +m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0 +85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8 +-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z +m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1 +c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128 +-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 + 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 + 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85 +-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 +-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 + 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l +-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5 +s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1 +c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3 + 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237 +-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0 + 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18 + 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3 +-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2 +-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 + 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11 +-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7 + 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z +m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 + 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5 +-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95 +-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8 + 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 + 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3 +-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z +m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3 + 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0 +-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21 + 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:a1("M399960 241 V94 h40 V428 h-40 V281 H0 v-40z"),rightbracketunder:a1("M399995 0 h-120 V290 H0 v120 H400000z"),rightbracketover:a1("M399995 440 h-120 V150 H0 v-120 H399995z"),rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23 + 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 +-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142 +-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 + 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69 +-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3 +-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19 +-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101 + 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167 +c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 + 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42 + 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333 +-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70 + 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7 +-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0 + 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0 + 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128 +-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418 +-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9 + 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114 +c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751 + 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457 +-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0 + 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697 + 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696 + -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345 +-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409 + 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9 + 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409 + -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5 +3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11 +10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63 +-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1 +-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59 +H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359 +c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22 +c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10 +-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10 +-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10 +-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1, +-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, +-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, +-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, +-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202 +c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5 +c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130 +s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47 +121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6 +s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11 +c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z +M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32 +-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 +13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39 +-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5 +-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 +-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 +151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 +c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17 +c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21 +c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40 +c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z +M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0 +c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, +-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 +c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z +M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 +c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9, +1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7, +-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z +M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0 +c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, +-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 +c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z +M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Fcn=n(function(s,o){switch(s){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+o+` v1759 v84 h347 v-84 +H403z M403 1759 V0 H319 V1759 v`+o+" v1759 v84 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+o+` v1759 H0 v84 H347z +M347 1759 V0 H263 V1759 v`+o+" v1759 h84z";case"vert":return"M145 15 v585 v"+o+` v585 c2.667,10,9.667,15,21,15 +c10,0,16.667,-5,20,-15 v-585 v`+-o+` v-585 c-2.667,-10,-9.667,-15,-21,-15 +c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+o+" v585 h43z";case"doublevert":return"M145 15 v585 v"+o+` v585 c2.667,10,9.667,15,21,15 +c10,0,16.667,-5,20,-15 v-585 v`+-o+` v-585 c-2.667,-10,-9.667,-15,-21,-15 +c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+o+` v585 h43z +M367 15 v585 v`+o+` v585 c2.667,10,9.667,15,21,15 +c10,0,16.667,-5,20,-15 v-585 v`+-o+` v-585 c-2.667,-10,-9.667,-15,-21,-15 +c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+o+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+o+` v1715 h263 v84 H319z +MM319 602 V0 H403 V602 v`+o+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+o+` v1799 H0 v-84 H319z +MM319 602 V0 H403 V602 v`+o+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+o+` v602 h84z +M403 1759 V0 H319 V1759 v`+o+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+o+` v602 h84z +M347 1759 V0 h-84 V1759 v`+o+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1 +c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349, +-36,557 l0,`+(o+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210, +949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9 +c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5, +-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189 +l0,-`+(o+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3, +-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3, +63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5 +c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(o+9)+` +c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664 +c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11 +c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 +c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 +l0,-`+(o+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, +-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},"tallDelim");n(pGe,"isMathDomNode");cO=class{static{n(this,"DocumentFragment")}constructor(s){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=s,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(s){return this.classes.includes(s)}toNode(){for(var s=document.createDocumentFragment(),o=0;o{if(pGe(s))return s.toText();throw new Error("Expected MathDomNode with toText, got "+s.constructor.name)}).join("")}},Pte={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Ocn={ex:!0,em:!0,mu:!0},wGe=n(function(s){return typeof s!="string"&&(s=s.unit),s in Pte||s in Ocn||s==="ex"},"validUnit"),Zl=n(function(s,o){var f;if(s.unit in Pte)f=Pte[s.unit]/o.fontMetrics().ptPerEm/o.sizeMultiplier;else if(s.unit==="mu")f=o.fontMetrics().cssEmPerMu;else{var g;if(o.style.isTight()?g=o.havingStyle(o.style.text()):g=o,s.unit==="ex")f=g.fontMetrics().xHeight;else if(s.unit==="em")f=g.fontMetrics().quad;else throw new Yn("Invalid unit: '"+s.unit+"'");g!==o&&(f*=g.sizeMultiplier/o.sizeMultiplier)}return Math.min(s.number*f,o.maxSize)},"calculateSize"),rr=n(function(s){return+s.toFixed(4)+"em"},"makeEm"),Kk=n(function(s){return s.filter(o=>o).join(" ")},"createClass"),oee=n(function(s){var o="";for(var f of Object.keys(s)){var g=s[f];g!==void 0&&(o+=dcn(f)+":"+g+";")}return o},"cssStyleToString"),mGe=n(function(s,o,f){if(this.classes=s||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=f||{},o){o.style.isTight()&&this.classes.push("mtight");var g=o.getColor();g&&(this.style.color=g)}},"initNode"),yGe=n(function(s){var o=document.createElement(s);o.className=Kk(this.classes),Object.assign(o.style,this.style);for(var f of Object.keys(this.attributes))o.setAttribute(f,this.attributes[f]);for(var g=0;g/=\x00-\x1f]/,vGe=n(function(s){var o="<"+s;this.classes.length&&(o+=' class="'+gd(Kk(this.classes))+'"');var f=oee(this.style);f&&(o+=' style="'+gd(f)+'"');for(var g of Object.keys(this.attributes)){if(Dcn.test(g))throw new Yn("Invalid attribute name '"+g+"'");o+=" "+g+'="'+gd(this.attributes[g])+'"'}o+=">";for(var p=0;p",o},"toMarkup"),lO=class{static{n(this,"Span")}constructor(s,o,f,g){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,this.italic=void 0,mGe.call(this,s,f,g),this.children=o||[]}setAttribute(s,o){this.attributes[s]=o}hasClass(s){return this.classes.includes(s)}toNode(){return yGe.call(this,"span")}toMarkup(){return vGe.call(this,"span")}},Nlt=class{static{n(this,"Anchor")}constructor(s,o,f,g){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,mGe.call(this,o,g),this.children=f||[],this.setAttribute("href",s)}setAttribute(s,o){this.attributes[s]=o}hasClass(s){return this.classes.includes(s)}toNode(){return yGe.call(this,"a")}toMarkup(){return vGe.call(this,"a")}},jcn=class{static{n(this,"Img")}constructor(s,o,f){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=o,this.src=s,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=f}hasClass(s){return this.classes.includes(s)}toNode(){var s=document.createElement("img");return s.src=this.src,s.alt=this.alt,s.className="mord",Object.assign(s.style,this.style),s}toMarkup(){var s=''+gd(this.alt)+'0&&(o=document.createElement("span"),o.style.marginRight=rr(this.italic)),this.classes.length>0&&(o=o||document.createElement("span"),o.className=Kk(this.classes)),Object.keys(this.style).length>0&&(o=o||document.createElement("span"),Object.assign(o.style,this.style)),o?(o.appendChild(s),o):s}toMarkup(){var s=!1,o="0&&(f+="margin-right:"+rr(this.italic)+";"),f+=oee(this.style),f&&(s=!0,o+=' style="'+gd(f)+'"');var g=gd(this.text);return s?(o+=">",o+=g,o+="",o):g}},Qv=class{static{n(this,"SvgNode")}constructor(s,o){this.children=void 0,this.attributes=void 0,this.children=s||[],this.attributes=o||{}}toNode(){var s="http://www.w3.org/2000/svg",o=document.createElementNS(s,"svg");for(var f of Object.keys(this.attributes))o.setAttribute(f,this.attributes[f]);for(var g=0;g':''}},$te=class{static{n(this,"LineNode")}constructor(s){this.attributes=void 0,this.attributes=s||{}}toNode(){var s="http://www.w3.org/2000/svg",o=document.createElementNS(s,"line");for(var f of Object.keys(this.attributes))o.setAttribute(f,this.attributes[f]);return o}toMarkup(){var s="s instanceof lO||s instanceof Nlt||s instanceof cO,"hasHtmlDomChildren"),X4={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},klt={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},DWe={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};n(see,"setFontMetrics");n(Rlt,"getCharacterMetrics");xte={};n(CGe,"getGlobalMetrics");_l={math:{},text:{}};n(W,"defineSymbol");Q="math",An="text",ct="main",Pt="ams",Fl="accent-token",$r="bin",wf="close",hO="inner",Ii="mathord",Mu="op-token",fp="open",iK="punct",Rt="rel",Zv="spacing",re="textord";W(Q,ct,Rt,"\u2261","\\equiv",!0);W(Q,ct,Rt,"\u227A","\\prec",!0);W(Q,ct,Rt,"\u227B","\\succ",!0);W(Q,ct,Rt,"\u223C","\\sim",!0);W(Q,ct,Rt,"\u22A5","\\perp");W(Q,ct,Rt,"\u2AAF","\\preceq",!0);W(Q,ct,Rt,"\u2AB0","\\succeq",!0);W(Q,ct,Rt,"\u2243","\\simeq",!0);W(Q,ct,Rt,"\u2223","\\mid",!0);W(Q,ct,Rt,"\u226A","\\ll",!0);W(Q,ct,Rt,"\u226B","\\gg",!0);W(Q,ct,Rt,"\u224D","\\asymp",!0);W(Q,ct,Rt,"\u2225","\\parallel");W(Q,ct,Rt,"\u22C8","\\bowtie",!0);W(Q,ct,Rt,"\u2323","\\smile",!0);W(Q,ct,Rt,"\u2291","\\sqsubseteq",!0);W(Q,ct,Rt,"\u2292","\\sqsupseteq",!0);W(Q,ct,Rt,"\u2250","\\doteq",!0);W(Q,ct,Rt,"\u2322","\\frown",!0);W(Q,ct,Rt,"\u220B","\\ni",!0);W(Q,ct,Rt,"\u221D","\\propto",!0);W(Q,ct,Rt,"\u22A2","\\vdash",!0);W(Q,ct,Rt,"\u22A3","\\dashv",!0);W(Q,ct,Rt,"\u220B","\\owns");W(Q,ct,iK,".","\\ldotp");W(Q,ct,iK,"\u22C5","\\cdotp");W(Q,ct,iK,"\u22C5","\xB7");W(An,ct,re,"\u22C5","\xB7");W(Q,ct,re,"#","\\#");W(An,ct,re,"#","\\#");W(Q,ct,re,"&","\\&");W(An,ct,re,"&","\\&");W(Q,ct,re,"\u2135","\\aleph",!0);W(Q,ct,re,"\u2200","\\forall",!0);W(Q,ct,re,"\u210F","\\hbar",!0);W(Q,ct,re,"\u2203","\\exists",!0);W(Q,ct,re,"\u2207","\\nabla",!0);W(Q,ct,re,"\u266D","\\flat",!0);W(Q,ct,re,"\u2113","\\ell",!0);W(Q,ct,re,"\u266E","\\natural",!0);W(Q,ct,re,"\u2663","\\clubsuit",!0);W(Q,ct,re,"\u2118","\\wp",!0);W(Q,ct,re,"\u266F","\\sharp",!0);W(Q,ct,re,"\u2662","\\diamondsuit",!0);W(Q,ct,re,"\u211C","\\Re",!0);W(Q,ct,re,"\u2661","\\heartsuit",!0);W(Q,ct,re,"\u2111","\\Im",!0);W(Q,ct,re,"\u2660","\\spadesuit",!0);W(Q,ct,re,"\xA7","\\S",!0);W(An,ct,re,"\xA7","\\S");W(Q,ct,re,"\xB6","\\P",!0);W(An,ct,re,"\xB6","\\P");W(Q,ct,re,"\u2020","\\dag");W(An,ct,re,"\u2020","\\dag");W(An,ct,re,"\u2020","\\textdagger");W(Q,ct,re,"\u2021","\\ddag");W(An,ct,re,"\u2021","\\ddag");W(An,ct,re,"\u2021","\\textdaggerdbl");W(Q,ct,wf,"\u23B1","\\rmoustache",!0);W(Q,ct,fp,"\u23B0","\\lmoustache",!0);W(Q,ct,wf,"\u27EF","\\rgroup",!0);W(Q,ct,fp,"\u27EE","\\lgroup",!0);W(Q,ct,$r,"\u2213","\\mp",!0);W(Q,ct,$r,"\u2296","\\ominus",!0);W(Q,ct,$r,"\u228E","\\uplus",!0);W(Q,ct,$r,"\u2293","\\sqcap",!0);W(Q,ct,$r,"\u2217","\\ast");W(Q,ct,$r,"\u2294","\\sqcup",!0);W(Q,ct,$r,"\u25EF","\\bigcirc",!0);W(Q,ct,$r,"\u2219","\\bullet",!0);W(Q,ct,$r,"\u2021","\\ddagger");W(Q,ct,$r,"\u2240","\\wr",!0);W(Q,ct,$r,"\u2A3F","\\amalg");W(Q,ct,$r,"&","\\And");W(Q,ct,Rt,"\u27F5","\\longleftarrow",!0);W(Q,ct,Rt,"\u21D0","\\Leftarrow",!0);W(Q,ct,Rt,"\u27F8","\\Longleftarrow",!0);W(Q,ct,Rt,"\u27F6","\\longrightarrow",!0);W(Q,ct,Rt,"\u21D2","\\Rightarrow",!0);W(Q,ct,Rt,"\u27F9","\\Longrightarrow",!0);W(Q,ct,Rt,"\u2194","\\leftrightarrow",!0);W(Q,ct,Rt,"\u27F7","\\longleftrightarrow",!0);W(Q,ct,Rt,"\u21D4","\\Leftrightarrow",!0);W(Q,ct,Rt,"\u27FA","\\Longleftrightarrow",!0);W(Q,ct,Rt,"\u21A6","\\mapsto",!0);W(Q,ct,Rt,"\u27FC","\\longmapsto",!0);W(Q,ct,Rt,"\u2197","\\nearrow",!0);W(Q,ct,Rt,"\u21A9","\\hookleftarrow",!0);W(Q,ct,Rt,"\u21AA","\\hookrightarrow",!0);W(Q,ct,Rt,"\u2198","\\searrow",!0);W(Q,ct,Rt,"\u21BC","\\leftharpoonup",!0);W(Q,ct,Rt,"\u21C0","\\rightharpoonup",!0);W(Q,ct,Rt,"\u2199","\\swarrow",!0);W(Q,ct,Rt,"\u21BD","\\leftharpoondown",!0);W(Q,ct,Rt,"\u21C1","\\rightharpoondown",!0);W(Q,ct,Rt,"\u2196","\\nwarrow",!0);W(Q,ct,Rt,"\u21CC","\\rightleftharpoons",!0);W(Q,Pt,Rt,"\u226E","\\nless",!0);W(Q,Pt,Rt,"\uE010","\\@nleqslant");W(Q,Pt,Rt,"\uE011","\\@nleqq");W(Q,Pt,Rt,"\u2A87","\\lneq",!0);W(Q,Pt,Rt,"\u2268","\\lneqq",!0);W(Q,Pt,Rt,"\uE00C","\\@lvertneqq");W(Q,Pt,Rt,"\u22E6","\\lnsim",!0);W(Q,Pt,Rt,"\u2A89","\\lnapprox",!0);W(Q,Pt,Rt,"\u2280","\\nprec",!0);W(Q,Pt,Rt,"\u22E0","\\npreceq",!0);W(Q,Pt,Rt,"\u22E8","\\precnsim",!0);W(Q,Pt,Rt,"\u2AB9","\\precnapprox",!0);W(Q,Pt,Rt,"\u2241","\\nsim",!0);W(Q,Pt,Rt,"\uE006","\\@nshortmid");W(Q,Pt,Rt,"\u2224","\\nmid",!0);W(Q,Pt,Rt,"\u22AC","\\nvdash",!0);W(Q,Pt,Rt,"\u22AD","\\nvDash",!0);W(Q,Pt,Rt,"\u22EA","\\ntriangleleft");W(Q,Pt,Rt,"\u22EC","\\ntrianglelefteq",!0);W(Q,Pt,Rt,"\u228A","\\subsetneq",!0);W(Q,Pt,Rt,"\uE01A","\\@varsubsetneq");W(Q,Pt,Rt,"\u2ACB","\\subsetneqq",!0);W(Q,Pt,Rt,"\uE017","\\@varsubsetneqq");W(Q,Pt,Rt,"\u226F","\\ngtr",!0);W(Q,Pt,Rt,"\uE00F","\\@ngeqslant");W(Q,Pt,Rt,"\uE00E","\\@ngeqq");W(Q,Pt,Rt,"\u2A88","\\gneq",!0);W(Q,Pt,Rt,"\u2269","\\gneqq",!0);W(Q,Pt,Rt,"\uE00D","\\@gvertneqq");W(Q,Pt,Rt,"\u22E7","\\gnsim",!0);W(Q,Pt,Rt,"\u2A8A","\\gnapprox",!0);W(Q,Pt,Rt,"\u2281","\\nsucc",!0);W(Q,Pt,Rt,"\u22E1","\\nsucceq",!0);W(Q,Pt,Rt,"\u22E9","\\succnsim",!0);W(Q,Pt,Rt,"\u2ABA","\\succnapprox",!0);W(Q,Pt,Rt,"\u2246","\\ncong",!0);W(Q,Pt,Rt,"\uE007","\\@nshortparallel");W(Q,Pt,Rt,"\u2226","\\nparallel",!0);W(Q,Pt,Rt,"\u22AF","\\nVDash",!0);W(Q,Pt,Rt,"\u22EB","\\ntriangleright");W(Q,Pt,Rt,"\u22ED","\\ntrianglerighteq",!0);W(Q,Pt,Rt,"\uE018","\\@nsupseteqq");W(Q,Pt,Rt,"\u228B","\\supsetneq",!0);W(Q,Pt,Rt,"\uE01B","\\@varsupsetneq");W(Q,Pt,Rt,"\u2ACC","\\supsetneqq",!0);W(Q,Pt,Rt,"\uE019","\\@varsupsetneqq");W(Q,Pt,Rt,"\u22AE","\\nVdash",!0);W(Q,Pt,Rt,"\u2AB5","\\precneqq",!0);W(Q,Pt,Rt,"\u2AB6","\\succneqq",!0);W(Q,Pt,Rt,"\uE016","\\@nsubseteqq");W(Q,Pt,$r,"\u22B4","\\unlhd");W(Q,Pt,$r,"\u22B5","\\unrhd");W(Q,Pt,Rt,"\u219A","\\nleftarrow",!0);W(Q,Pt,Rt,"\u219B","\\nrightarrow",!0);W(Q,Pt,Rt,"\u21CD","\\nLeftarrow",!0);W(Q,Pt,Rt,"\u21CF","\\nRightarrow",!0);W(Q,Pt,Rt,"\u21AE","\\nleftrightarrow",!0);W(Q,Pt,Rt,"\u21CE","\\nLeftrightarrow",!0);W(Q,Pt,Rt,"\u25B3","\\vartriangle");W(Q,Pt,re,"\u210F","\\hslash");W(Q,Pt,re,"\u25BD","\\triangledown");W(Q,Pt,re,"\u25CA","\\lozenge");W(Q,Pt,re,"\u24C8","\\circledS");W(Q,Pt,re,"\xAE","\\circledR");W(An,Pt,re,"\xAE","\\circledR");W(Q,Pt,re,"\u2221","\\measuredangle",!0);W(Q,Pt,re,"\u2204","\\nexists");W(Q,Pt,re,"\u2127","\\mho");W(Q,Pt,re,"\u2132","\\Finv",!0);W(Q,Pt,re,"\u2141","\\Game",!0);W(Q,Pt,re,"\u2035","\\backprime");W(Q,Pt,re,"\u25B2","\\blacktriangle");W(Q,Pt,re,"\u25BC","\\blacktriangledown");W(Q,Pt,re,"\u25A0","\\blacksquare");W(Q,Pt,re,"\u29EB","\\blacklozenge");W(Q,Pt,re,"\u2605","\\bigstar");W(Q,Pt,re,"\u2222","\\sphericalangle",!0);W(Q,Pt,re,"\u2201","\\complement",!0);W(Q,Pt,re,"\xF0","\\eth",!0);W(An,ct,re,"\xF0","\xF0");W(Q,Pt,re,"\u2571","\\diagup");W(Q,Pt,re,"\u2572","\\diagdown");W(Q,Pt,re,"\u25A1","\\square");W(Q,Pt,re,"\u25A1","\\Box");W(Q,Pt,re,"\u25CA","\\Diamond");W(Q,Pt,re,"\xA5","\\yen",!0);W(An,Pt,re,"\xA5","\\yen",!0);W(Q,Pt,re,"\u2713","\\checkmark",!0);W(An,Pt,re,"\u2713","\\checkmark");W(Q,Pt,re,"\u2136","\\beth",!0);W(Q,Pt,re,"\u2138","\\daleth",!0);W(Q,Pt,re,"\u2137","\\gimel",!0);W(Q,Pt,re,"\u03DD","\\digamma",!0);W(Q,Pt,re,"\u03F0","\\varkappa");W(Q,Pt,fp,"\u250C","\\@ulcorner",!0);W(Q,Pt,wf,"\u2510","\\@urcorner",!0);W(Q,Pt,fp,"\u2514","\\@llcorner",!0);W(Q,Pt,wf,"\u2518","\\@lrcorner",!0);W(Q,Pt,Rt,"\u2266","\\leqq",!0);W(Q,Pt,Rt,"\u2A7D","\\leqslant",!0);W(Q,Pt,Rt,"\u2A95","\\eqslantless",!0);W(Q,Pt,Rt,"\u2272","\\lesssim",!0);W(Q,Pt,Rt,"\u2A85","\\lessapprox",!0);W(Q,Pt,Rt,"\u224A","\\approxeq",!0);W(Q,Pt,$r,"\u22D6","\\lessdot");W(Q,Pt,Rt,"\u22D8","\\lll",!0);W(Q,Pt,Rt,"\u2276","\\lessgtr",!0);W(Q,Pt,Rt,"\u22DA","\\lesseqgtr",!0);W(Q,Pt,Rt,"\u2A8B","\\lesseqqgtr",!0);W(Q,Pt,Rt,"\u2251","\\doteqdot");W(Q,Pt,Rt,"\u2253","\\risingdotseq",!0);W(Q,Pt,Rt,"\u2252","\\fallingdotseq",!0);W(Q,Pt,Rt,"\u223D","\\backsim",!0);W(Q,Pt,Rt,"\u22CD","\\backsimeq",!0);W(Q,Pt,Rt,"\u2AC5","\\subseteqq",!0);W(Q,Pt,Rt,"\u22D0","\\Subset",!0);W(Q,Pt,Rt,"\u228F","\\sqsubset",!0);W(Q,Pt,Rt,"\u227C","\\preccurlyeq",!0);W(Q,Pt,Rt,"\u22DE","\\curlyeqprec",!0);W(Q,Pt,Rt,"\u227E","\\precsim",!0);W(Q,Pt,Rt,"\u2AB7","\\precapprox",!0);W(Q,Pt,Rt,"\u22B2","\\vartriangleleft");W(Q,Pt,Rt,"\u22B4","\\trianglelefteq");W(Q,Pt,Rt,"\u22A8","\\vDash",!0);W(Q,Pt,Rt,"\u22AA","\\Vvdash",!0);W(Q,Pt,Rt,"\u2323","\\smallsmile");W(Q,Pt,Rt,"\u2322","\\smallfrown");W(Q,Pt,Rt,"\u224F","\\bumpeq",!0);W(Q,Pt,Rt,"\u224E","\\Bumpeq",!0);W(Q,Pt,Rt,"\u2267","\\geqq",!0);W(Q,Pt,Rt,"\u2A7E","\\geqslant",!0);W(Q,Pt,Rt,"\u2A96","\\eqslantgtr",!0);W(Q,Pt,Rt,"\u2273","\\gtrsim",!0);W(Q,Pt,Rt,"\u2A86","\\gtrapprox",!0);W(Q,Pt,$r,"\u22D7","\\gtrdot");W(Q,Pt,Rt,"\u22D9","\\ggg",!0);W(Q,Pt,Rt,"\u2277","\\gtrless",!0);W(Q,Pt,Rt,"\u22DB","\\gtreqless",!0);W(Q,Pt,Rt,"\u2A8C","\\gtreqqless",!0);W(Q,Pt,Rt,"\u2256","\\eqcirc",!0);W(Q,Pt,Rt,"\u2257","\\circeq",!0);W(Q,Pt,Rt,"\u225C","\\triangleq",!0);W(Q,Pt,Rt,"\u223C","\\thicksim");W(Q,Pt,Rt,"\u2248","\\thickapprox");W(Q,Pt,Rt,"\u2AC6","\\supseteqq",!0);W(Q,Pt,Rt,"\u22D1","\\Supset",!0);W(Q,Pt,Rt,"\u2290","\\sqsupset",!0);W(Q,Pt,Rt,"\u227D","\\succcurlyeq",!0);W(Q,Pt,Rt,"\u22DF","\\curlyeqsucc",!0);W(Q,Pt,Rt,"\u227F","\\succsim",!0);W(Q,Pt,Rt,"\u2AB8","\\succapprox",!0);W(Q,Pt,Rt,"\u22B3","\\vartriangleright");W(Q,Pt,Rt,"\u22B5","\\trianglerighteq");W(Q,Pt,Rt,"\u22A9","\\Vdash",!0);W(Q,Pt,Rt,"\u2223","\\shortmid");W(Q,Pt,Rt,"\u2225","\\shortparallel");W(Q,Pt,Rt,"\u226C","\\between",!0);W(Q,Pt,Rt,"\u22D4","\\pitchfork",!0);W(Q,Pt,Rt,"\u221D","\\varpropto");W(Q,Pt,Rt,"\u25C0","\\blacktriangleleft");W(Q,Pt,Rt,"\u2234","\\therefore",!0);W(Q,Pt,Rt,"\u220D","\\backepsilon");W(Q,Pt,Rt,"\u25B6","\\blacktriangleright");W(Q,Pt,Rt,"\u2235","\\because",!0);W(Q,Pt,Rt,"\u22D8","\\llless");W(Q,Pt,Rt,"\u22D9","\\gggtr");W(Q,Pt,$r,"\u22B2","\\lhd");W(Q,Pt,$r,"\u22B3","\\rhd");W(Q,Pt,Rt,"\u2242","\\eqsim",!0);W(Q,ct,Rt,"\u22C8","\\Join");W(Q,Pt,Rt,"\u2251","\\Doteq",!0);W(Q,Pt,$r,"\u2214","\\dotplus",!0);W(Q,Pt,$r,"\u2216","\\smallsetminus");W(Q,Pt,$r,"\u22D2","\\Cap",!0);W(Q,Pt,$r,"\u22D3","\\Cup",!0);W(Q,Pt,$r,"\u2A5E","\\doublebarwedge",!0);W(Q,Pt,$r,"\u229F","\\boxminus",!0);W(Q,Pt,$r,"\u229E","\\boxplus",!0);W(Q,Pt,$r,"\u22C7","\\divideontimes",!0);W(Q,Pt,$r,"\u22C9","\\ltimes",!0);W(Q,Pt,$r,"\u22CA","\\rtimes",!0);W(Q,Pt,$r,"\u22CB","\\leftthreetimes",!0);W(Q,Pt,$r,"\u22CC","\\rightthreetimes",!0);W(Q,Pt,$r,"\u22CF","\\curlywedge",!0);W(Q,Pt,$r,"\u22CE","\\curlyvee",!0);W(Q,Pt,$r,"\u229D","\\circleddash",!0);W(Q,Pt,$r,"\u229B","\\circledast",!0);W(Q,Pt,$r,"\u22C5","\\centerdot");W(Q,Pt,$r,"\u22BA","\\intercal",!0);W(Q,Pt,$r,"\u22D2","\\doublecap");W(Q,Pt,$r,"\u22D3","\\doublecup");W(Q,Pt,$r,"\u22A0","\\boxtimes",!0);W(Q,Pt,Rt,"\u21E2","\\dashrightarrow",!0);W(Q,Pt,Rt,"\u21E0","\\dashleftarrow",!0);W(Q,Pt,Rt,"\u21C7","\\leftleftarrows",!0);W(Q,Pt,Rt,"\u21C6","\\leftrightarrows",!0);W(Q,Pt,Rt,"\u21DA","\\Lleftarrow",!0);W(Q,Pt,Rt,"\u219E","\\twoheadleftarrow",!0);W(Q,Pt,Rt,"\u21A2","\\leftarrowtail",!0);W(Q,Pt,Rt,"\u21AB","\\looparrowleft",!0);W(Q,Pt,Rt,"\u21CB","\\leftrightharpoons",!0);W(Q,Pt,Rt,"\u21B6","\\curvearrowleft",!0);W(Q,Pt,Rt,"\u21BA","\\circlearrowleft",!0);W(Q,Pt,Rt,"\u21B0","\\Lsh",!0);W(Q,Pt,Rt,"\u21C8","\\upuparrows",!0);W(Q,Pt,Rt,"\u21BF","\\upharpoonleft",!0);W(Q,Pt,Rt,"\u21C3","\\downharpoonleft",!0);W(Q,ct,Rt,"\u22B6","\\origof",!0);W(Q,ct,Rt,"\u22B7","\\imageof",!0);W(Q,Pt,Rt,"\u22B8","\\multimap",!0);W(Q,Pt,Rt,"\u21AD","\\leftrightsquigarrow",!0);W(Q,Pt,Rt,"\u21C9","\\rightrightarrows",!0);W(Q,Pt,Rt,"\u21C4","\\rightleftarrows",!0);W(Q,Pt,Rt,"\u21A0","\\twoheadrightarrow",!0);W(Q,Pt,Rt,"\u21A3","\\rightarrowtail",!0);W(Q,Pt,Rt,"\u21AC","\\looparrowright",!0);W(Q,Pt,Rt,"\u21B7","\\curvearrowright",!0);W(Q,Pt,Rt,"\u21BB","\\circlearrowright",!0);W(Q,Pt,Rt,"\u21B1","\\Rsh",!0);W(Q,Pt,Rt,"\u21CA","\\downdownarrows",!0);W(Q,Pt,Rt,"\u21BE","\\upharpoonright",!0);W(Q,Pt,Rt,"\u21C2","\\downharpoonright",!0);W(Q,Pt,Rt,"\u21DD","\\rightsquigarrow",!0);W(Q,Pt,Rt,"\u21DD","\\leadsto");W(Q,Pt,Rt,"\u21DB","\\Rrightarrow",!0);W(Q,Pt,Rt,"\u21BE","\\restriction");W(Q,ct,re,"\u2018","`");W(Q,ct,re,"$","\\$");W(An,ct,re,"$","\\$");W(An,ct,re,"$","\\textdollar");W(Q,ct,re,"%","\\%");W(An,ct,re,"%","\\%");W(Q,ct,re,"_","\\_");W(An,ct,re,"_","\\_");W(An,ct,re,"_","\\textunderscore");W(Q,ct,re,"\u2220","\\angle",!0);W(Q,ct,re,"\u221E","\\infty",!0);W(Q,ct,re,"\u2032","\\prime");W(Q,ct,re,"\u25B3","\\triangle");W(Q,ct,re,"\u0393","\\Gamma",!0);W(Q,ct,re,"\u0394","\\Delta",!0);W(Q,ct,re,"\u0398","\\Theta",!0);W(Q,ct,re,"\u039B","\\Lambda",!0);W(Q,ct,re,"\u039E","\\Xi",!0);W(Q,ct,re,"\u03A0","\\Pi",!0);W(Q,ct,re,"\u03A3","\\Sigma",!0);W(Q,ct,re,"\u03A5","\\Upsilon",!0);W(Q,ct,re,"\u03A6","\\Phi",!0);W(Q,ct,re,"\u03A8","\\Psi",!0);W(Q,ct,re,"\u03A9","\\Omega",!0);W(Q,ct,re,"A","\u0391");W(Q,ct,re,"B","\u0392");W(Q,ct,re,"E","\u0395");W(Q,ct,re,"Z","\u0396");W(Q,ct,re,"H","\u0397");W(Q,ct,re,"I","\u0399");W(Q,ct,re,"K","\u039A");W(Q,ct,re,"M","\u039C");W(Q,ct,re,"N","\u039D");W(Q,ct,re,"O","\u039F");W(Q,ct,re,"P","\u03A1");W(Q,ct,re,"T","\u03A4");W(Q,ct,re,"X","\u03A7");W(Q,ct,re,"\xAC","\\neg",!0);W(Q,ct,re,"\xAC","\\lnot");W(Q,ct,re,"\u22A4","\\top");W(Q,ct,re,"\u22A5","\\bot");W(Q,ct,re,"\u2205","\\emptyset");W(Q,Pt,re,"\u2205","\\varnothing");W(Q,ct,Ii,"\u03B1","\\alpha",!0);W(Q,ct,Ii,"\u03B2","\\beta",!0);W(Q,ct,Ii,"\u03B3","\\gamma",!0);W(Q,ct,Ii,"\u03B4","\\delta",!0);W(Q,ct,Ii,"\u03F5","\\epsilon",!0);W(Q,ct,Ii,"\u03B6","\\zeta",!0);W(Q,ct,Ii,"\u03B7","\\eta",!0);W(Q,ct,Ii,"\u03B8","\\theta",!0);W(Q,ct,Ii,"\u03B9","\\iota",!0);W(Q,ct,Ii,"\u03BA","\\kappa",!0);W(Q,ct,Ii,"\u03BB","\\lambda",!0);W(Q,ct,Ii,"\u03BC","\\mu",!0);W(Q,ct,Ii,"\u03BD","\\nu",!0);W(Q,ct,Ii,"\u03BE","\\xi",!0);W(Q,ct,Ii,"\u03BF","\\omicron",!0);W(Q,ct,Ii,"\u03C0","\\pi",!0);W(Q,ct,Ii,"\u03C1","\\rho",!0);W(Q,ct,Ii,"\u03C3","\\sigma",!0);W(Q,ct,Ii,"\u03C4","\\tau",!0);W(Q,ct,Ii,"\u03C5","\\upsilon",!0);W(Q,ct,Ii,"\u03D5","\\phi",!0);W(Q,ct,Ii,"\u03C7","\\chi",!0);W(Q,ct,Ii,"\u03C8","\\psi",!0);W(Q,ct,Ii,"\u03C9","\\omega",!0);W(Q,ct,Ii,"\u03B5","\\varepsilon",!0);W(Q,ct,Ii,"\u03D1","\\vartheta",!0);W(Q,ct,Ii,"\u03D6","\\varpi",!0);W(Q,ct,Ii,"\u03F1","\\varrho",!0);W(Q,ct,Ii,"\u03C2","\\varsigma",!0);W(Q,ct,Ii,"\u03C6","\\varphi",!0);W(Q,ct,$r,"\u2217","*",!0);W(Q,ct,$r,"+","+");W(Q,ct,$r,"\u2212","-",!0);W(Q,ct,$r,"\u22C5","\\cdot",!0);W(Q,ct,$r,"\u2218","\\circ",!0);W(Q,ct,$r,"\xF7","\\div",!0);W(Q,ct,$r,"\xB1","\\pm",!0);W(Q,ct,$r,"\xD7","\\times",!0);W(Q,ct,$r,"\u2229","\\cap",!0);W(Q,ct,$r,"\u222A","\\cup",!0);W(Q,ct,$r,"\u2216","\\setminus",!0);W(Q,ct,$r,"\u2227","\\land");W(Q,ct,$r,"\u2228","\\lor");W(Q,ct,$r,"\u2227","\\wedge",!0);W(Q,ct,$r,"\u2228","\\vee",!0);W(Q,ct,re,"\u221A","\\surd");W(Q,ct,fp,"\u27E8","\\langle",!0);W(Q,ct,fp,"\u2223","\\lvert");W(Q,ct,fp,"\u2225","\\lVert");W(Q,ct,wf,"?","?");W(Q,ct,wf,"!","!");W(Q,ct,wf,"\u27E9","\\rangle",!0);W(Q,ct,wf,"\u2223","\\rvert");W(Q,ct,wf,"\u2225","\\rVert");W(Q,ct,Rt,"=","=");W(Q,ct,Rt,":",":");W(Q,ct,Rt,"\u2248","\\approx",!0);W(Q,ct,Rt,"\u2245","\\cong",!0);W(Q,ct,Rt,"\u2265","\\ge");W(Q,ct,Rt,"\u2265","\\geq",!0);W(Q,ct,Rt,"\u2190","\\gets");W(Q,ct,Rt,">","\\gt",!0);W(Q,ct,Rt,"\u2208","\\in",!0);W(Q,ct,Rt,"\uE020","\\@not");W(Q,ct,Rt,"\u2282","\\subset",!0);W(Q,ct,Rt,"\u2283","\\supset",!0);W(Q,ct,Rt,"\u2286","\\subseteq",!0);W(Q,ct,Rt,"\u2287","\\supseteq",!0);W(Q,Pt,Rt,"\u2288","\\nsubseteq",!0);W(Q,Pt,Rt,"\u2289","\\nsupseteq",!0);W(Q,ct,Rt,"\u22A8","\\models");W(Q,ct,Rt,"\u2190","\\leftarrow",!0);W(Q,ct,Rt,"\u2264","\\le");W(Q,ct,Rt,"\u2264","\\leq",!0);W(Q,ct,Rt,"<","\\lt",!0);W(Q,ct,Rt,"\u2192","\\rightarrow",!0);W(Q,ct,Rt,"\u2192","\\to");W(Q,Pt,Rt,"\u2271","\\ngeq",!0);W(Q,Pt,Rt,"\u2270","\\nleq",!0);W(Q,ct,Zv,"\xA0","\\ ");W(Q,ct,Zv,"\xA0","\\space");W(Q,ct,Zv,"\xA0","\\nobreakspace");W(An,ct,Zv,"\xA0","\\ ");W(An,ct,Zv,"\xA0"," ");W(An,ct,Zv,"\xA0","\\space");W(An,ct,Zv,"\xA0","\\nobreakspace");W(Q,ct,Zv,"","\\nobreak");W(Q,ct,Zv,"","\\allowbreak");W(Q,ct,iK,",",",");W(Q,ct,iK,";",";");W(Q,Pt,$r,"\u22BC","\\barwedge",!0);W(Q,Pt,$r,"\u22BB","\\veebar",!0);W(Q,ct,$r,"\u2299","\\odot",!0);W(Q,ct,$r,"\u2295","\\oplus",!0);W(Q,ct,$r,"\u2297","\\otimes",!0);W(Q,ct,re,"\u2202","\\partial",!0);W(Q,ct,$r,"\u2298","\\oslash",!0);W(Q,Pt,$r,"\u229A","\\circledcirc",!0);W(Q,Pt,$r,"\u22A1","\\boxdot",!0);W(Q,ct,$r,"\u25B3","\\bigtriangleup");W(Q,ct,$r,"\u25BD","\\bigtriangledown");W(Q,ct,$r,"\u2020","\\dagger");W(Q,ct,$r,"\u22C4","\\diamond");W(Q,ct,$r,"\u22C6","\\star");W(Q,ct,$r,"\u25C3","\\triangleleft");W(Q,ct,$r,"\u25B9","\\triangleright");W(Q,ct,fp,"{","\\{");W(An,ct,re,"{","\\{");W(An,ct,re,"{","\\textbraceleft");W(Q,ct,wf,"}","\\}");W(An,ct,re,"}","\\}");W(An,ct,re,"}","\\textbraceright");W(Q,ct,fp,"{","\\lbrace");W(Q,ct,wf,"}","\\rbrace");W(Q,ct,fp,"[","\\lbrack",!0);W(An,ct,re,"[","\\lbrack",!0);W(Q,ct,wf,"]","\\rbrack",!0);W(An,ct,re,"]","\\rbrack",!0);W(Q,ct,fp,"(","\\lparen",!0);W(Q,ct,wf,")","\\rparen",!0);W(An,ct,re,"<","\\textless",!0);W(An,ct,re,">","\\textgreater",!0);W(Q,ct,fp,"\u230A","\\lfloor",!0);W(Q,ct,wf,"\u230B","\\rfloor",!0);W(Q,ct,fp,"\u2308","\\lceil",!0);W(Q,ct,wf,"\u2309","\\rceil",!0);W(Q,ct,re,"\\","\\backslash");W(Q,ct,re,"\u2223","|");W(Q,ct,re,"\u2223","\\vert");W(An,ct,re,"|","\\textbar",!0);W(Q,ct,re,"\u2225","\\|");W(Q,ct,re,"\u2225","\\Vert");W(An,ct,re,"\u2225","\\textbardbl");W(An,ct,re,"~","\\textasciitilde");W(An,ct,re,"\\","\\textbackslash");W(An,ct,re,"^","\\textasciicircum");W(Q,ct,Rt,"\u2191","\\uparrow",!0);W(Q,ct,Rt,"\u21D1","\\Uparrow",!0);W(Q,ct,Rt,"\u2193","\\downarrow",!0);W(Q,ct,Rt,"\u21D3","\\Downarrow",!0);W(Q,ct,Rt,"\u2195","\\updownarrow",!0);W(Q,ct,Rt,"\u21D5","\\Updownarrow",!0);W(Q,ct,Mu,"\u2210","\\coprod");W(Q,ct,Mu,"\u22C1","\\bigvee");W(Q,ct,Mu,"\u22C0","\\bigwedge");W(Q,ct,Mu,"\u2A04","\\biguplus");W(Q,ct,Mu,"\u22C2","\\bigcap");W(Q,ct,Mu,"\u22C3","\\bigcup");W(Q,ct,Mu,"\u222B","\\int");W(Q,ct,Mu,"\u222B","\\intop");W(Q,ct,Mu,"\u222C","\\iint");W(Q,ct,Mu,"\u222D","\\iiint");W(Q,ct,Mu,"\u220F","\\prod");W(Q,ct,Mu,"\u2211","\\sum");W(Q,ct,Mu,"\u2A02","\\bigotimes");W(Q,ct,Mu,"\u2A01","\\bigoplus");W(Q,ct,Mu,"\u2A00","\\bigodot");W(Q,ct,Mu,"\u222E","\\oint");W(Q,ct,Mu,"\u222F","\\oiint");W(Q,ct,Mu,"\u2230","\\oiiint");W(Q,ct,Mu,"\u2A06","\\bigsqcup");W(Q,ct,Mu,"\u222B","\\smallint");W(An,ct,hO,"\u2026","\\textellipsis");W(Q,ct,hO,"\u2026","\\mathellipsis");W(An,ct,hO,"\u2026","\\ldots",!0);W(Q,ct,hO,"\u2026","\\ldots",!0);W(Q,ct,hO,"\u22EF","\\@cdots",!0);W(Q,ct,hO,"\u22F1","\\ddots",!0);W(Q,ct,re,"\u22EE","\\varvdots");W(An,ct,re,"\u22EE","\\varvdots");W(Q,ct,Fl,"\u02CA","\\acute");W(Q,ct,Fl,"\u02CB","\\grave");W(Q,ct,Fl,"\xA8","\\ddot");W(Q,ct,Fl,"~","\\tilde");W(Q,ct,Fl,"\u02C9","\\bar");W(Q,ct,Fl,"\u02D8","\\breve");W(Q,ct,Fl,"\u02C7","\\check");W(Q,ct,Fl,"^","\\hat");W(Q,ct,Fl,"\u20D7","\\vec");W(Q,ct,Fl,"\u02D9","\\dot");W(Q,ct,Fl,"\u02DA","\\mathring");W(Q,ct,Ii,"\uE131","\\@imath");W(Q,ct,Ii,"\uE237","\\@jmath");W(Q,ct,re,"\u0131","\u0131");W(Q,ct,re,"\u0237","\u0237");W(An,ct,re,"\u0131","\\i",!0);W(An,ct,re,"\u0237","\\j",!0);W(An,ct,re,"\xDF","\\ss",!0);W(An,ct,re,"\xE6","\\ae",!0);W(An,ct,re,"\u0153","\\oe",!0);W(An,ct,re,"\xF8","\\o",!0);W(An,ct,re,"\xC6","\\AE",!0);W(An,ct,re,"\u0152","\\OE",!0);W(An,ct,re,"\xD8","\\O",!0);W(An,ct,Fl,"\u02CA","\\'");W(An,ct,Fl,"\u02CB","\\`");W(An,ct,Fl,"\u02C6","\\^");W(An,ct,Fl,"\u02DC","\\~");W(An,ct,Fl,"\u02C9","\\=");W(An,ct,Fl,"\u02D8","\\u");W(An,ct,Fl,"\u02D9","\\.");W(An,ct,Fl,"\xB8","\\c");W(An,ct,Fl,"\u02DA","\\r");W(An,ct,Fl,"\u02C7","\\v");W(An,ct,Fl,"\xA8",'\\"');W(An,ct,Fl,"\u02DD","\\H");W(An,ct,Fl,"\u25EF","\\textcircled");TGe={"--":!0,"---":!0,"``":!0,"''":!0};W(An,ct,re,"\u2013","--",!0);W(An,ct,re,"\u2013","\\textendash");W(An,ct,re,"\u2014","---",!0);W(An,ct,re,"\u2014","\\textemdash");W(An,ct,re,"\u2018","`",!0);W(An,ct,re,"\u2018","\\textquoteleft");W(An,ct,re,"\u2019","'",!0);W(An,ct,re,"\u2019","\\textquoteright");W(An,ct,re,"\u201C","``",!0);W(An,ct,re,"\u201C","\\textquotedblleft");W(An,ct,re,"\u201D","''",!0);W(An,ct,re,"\u201D","\\textquotedblright");W(Q,ct,re,"\xB0","\\degree",!0);W(An,ct,re,"\xB0","\\degree");W(An,ct,re,"\xB0","\\textdegree",!0);W(Q,ct,re,"\xA3","\\pounds");W(Q,ct,re,"\xA3","\\mathsterling",!0);W(An,ct,re,"\xA3","\\pounds");W(An,ct,re,"\xA3","\\textsterling",!0);W(Q,Pt,re,"\u2720","\\maltese");W(An,Pt,re,"\u2720","\\maltese");jWe='0123456789/@."';for(xlt=0;xlt{var o=s.charCodeAt(0),f=s.charCodeAt(1),g=(o-55296)*1024+(f-56320)+65536;if(119808<=g&&g<120484){var p=Math.floor((g-119808)/26);return HWe[p]}else if(120782<=g&&g<=120831){var y=Math.floor((g-120782)/10);return Ncn[y]}else{if(g===120485||g===120486)return HWe[0];if(120486{if(Kk(s.classes)!==Kk(o.classes)||s.skew!==o.skew||s.maxFontSize!==o.maxFontSize||s.italic!==0&&s.hasClass("mathnormal"))return!1;if(s.classes.length===1){var f=s.classes[0];if(f==="mbin"||f==="mord")return!1}for(var g of Object.keys(s.style))if(s.style[g]!==o.style[g])return!1;for(var p of Object.keys(o.style))if(s.style[p]!==o.style[p])return!1;return!0},"canCombine"),SGe=n(s=>{for(var o=0;oo&&(o=y.height),y.depth>f&&(f=y.depth),y.maxFontSize>g&&(g=y.maxFontSize)}s.height=o,s.depth=f,s.maxFontSize=g},"sizeElementFromChildren"),zn=n(function(s,o,f,g){var p=new lO(s,o,f,g);return lee(p),p},"makeSpan"),Wk=n((s,o,f,g)=>new lO(s,o,f,g),"makeSvgSpan"),oO=n(function(s,o,f){var g=zn([s],[],o);return g.height=Math.max(f||o.fontMetrics().defaultRuleThickness,o.minRuleThickness),g.style.borderBottomWidth=rr(g.height),g.maxFontSize=1,g},"makeLineSpan"),Hcn=n(function(s,o,f,g){var p=new Nlt(s,o,f,g);return lee(p),p},"makeAnchor"),t6=n(function(s){var o=new cO(s);return lee(o),o},"makeFragment"),sO=n(function(s,o){return s instanceof cO?zn([],[s],o):s},"wrapFragment"),Kcn=n(function(s){if(s.positionType==="individualShift"){for(var o=s.children,f=[o[0]],g=-o[0].shift-o[0].elem.depth,p=g,y=1;y{var f=zn(["mspace"],[],o),g=Zl(s,o);return f.style.marginRight=rr(g),f},"makeGlue"),Elt=n((s,o,f)=>{var g,p;switch(s){case"amsrm":g="AMS";break;case"textrm":g="Main";break;case"textsf":g="SansSerif";break;case"texttt":g="Typewriter";break;default:g=s}return o==="textbf"&&f==="textit"?p="BoldItalic":o==="textbf"?p="Bold":f==="textit"?p="Italic":p="Regular",g+"-"+p},"retrieveTextFontName"),Kte={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},BGe={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},MGe=n(function(s,o){var[f,g,p]=BGe[s],y=new Uk(f),k=new Qv([y],{width:rr(g),height:rr(p),style:"width:"+rr(g),viewBox:"0 0 "+1e3*g+" "+1e3*p,preserveAspectRatio:"xMinYMin"}),T=Wk(["overlay"],[k],o);return T.height=p,T.style.height=rr(p),T.style.width=rr(g),T},"staticSvg"),Jl={number:3,unit:"mu"},NS={number:4,unit:"mu"},Xv={number:5,unit:"mu"},Ucn={mord:{mop:Jl,mbin:NS,mrel:Xv,minner:Jl},mop:{mord:Jl,mop:Jl,mrel:Xv,minner:Jl},mbin:{mord:NS,mop:NS,mopen:NS,minner:NS},mrel:{mord:Xv,mop:Xv,mopen:Xv,minner:Xv},mopen:{},mclose:{mop:Jl,mbin:NS,mrel:Xv,minner:Jl},mpunct:{mord:Jl,mop:Jl,mrel:Xv,mopen:Jl,mclose:Jl,mpunct:Jl,minner:Jl},minner:{mord:Jl,mop:Jl,mbin:NS,mrel:Xv,mopen:Jl,mpunct:Jl,minner:Jl}},Wcn={mord:{mop:Jl},mop:{mord:Jl,mop:Jl},mbin:{},mrel:{},mopen:{},mclose:{mop:Jl},mpunct:{},minner:{mop:Jl}},AGe={},jlt={},Ilt={};n(xr,"defineFunction");n(Vk,"defineFunctionBuilders");Plt=n(function(s){return s.type==="ordgroup"&&s.body.length===1?s.body[0]:s},"normalizeArgument"),Eu=n(function(s){return s.type==="ordgroup"?s.body:[s]},"ordargument"),Gcn=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),Vcn=new Set(["rightmost","mrel","mclose","mpunct"]),Xcn={display:Ca.DISPLAY,text:Ca.TEXT,script:Ca.SCRIPT,scriptscript:Ca.SCRIPTSCRIPT},Ycn={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},o1=n(function(s,o,f,g){g===void 0&&(g=[null,null]);for(var p=[],y=0;y{var z=$.classes[0],U=j.classes[0];z==="mbin"&&Vcn.has(U)?$.classes[0]="mord":U==="mbin"&&Gcn.has(z)&&(j.classes[0]="mord")},{node:M},L,F),Ute(p,(j,$)=>{var z,U,V=Gte($),nt=Gte(j),at=V&&nt?j.hasClass("mtight")?(z=Wcn[V])==null?void 0:z[nt]:(U=Ucn[V])==null?void 0:U[nt]:null;if(at)return EGe(at,B)},{node:M},L,F),p},"buildExpression"),Ute=n(function(s,o,f,g,p){g&&s.push(g);for(var y=0;yL=>{s.splice(M+1,0,L),y++})(y)}g&&s.pop()},"traverseNonSpaceNodes"),LGe=n(function(s){return s instanceof cO||s instanceof Nlt||s instanceof lO&&s.hasClass("enclosing")?s:null},"checkPartialGroup"),Wte=n(function(s,o){var f=LGe(s);if(f){var g=f.children;if(g.length){if(o==="right")return Wte(g[g.length-1],"right");if(o==="left")return Wte(g[0],"left")}}return s},"getOutermostNode"),Gte=n(function(s,o){if(!s)return null;o&&(s=Wte(s,o));var f=s.classes[0];return Ycn[f]||null},"getTypeOfDomTree"),rK=n(function(s,o){var f=["nulldelimiter"].concat(s.baseSizingClasses());return zn(o.concat(f))},"makeNullDelimiter"),Fs=n(function(s,o,f){if(!s)return zn();if(jlt[s.type]){var g=jlt[s.type](s,o);if(f&&o.size!==f.size){g=zn(o.sizingClasses(f),[g],o);var p=o.sizeMultiplier/f.sizeMultiplier;g.height*=p,g.depth*=p}return g}else throw new Yn("Got group of unknown type: '"+s.type+"'")},"buildGroup");n(ZH,"buildHTMLUnbreakable");n($lt,"buildHTML");n(hee,"newDocumentFragment");Xn=class{static{n(this,"MathNode")}constructor(s,o,f){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=s,this.attributes={},this.children=o||[],this.classes=f||[]}setAttribute(s,o){this.attributes[s]=o}getAttribute(s){return this.attributes[s]}toNode(){var s=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var o in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,o)&&s.setAttribute(o,this.attributes[o]);this.classes.length>0&&(s.className=Kk(this.classes));for(var f=0;f0&&(s+=' class ="'+gd(Kk(this.classes))+'"'),s+=">";for(var f=0;f",s}toText(){return this.children.map(s=>s.toText()).join("")}},Bu=class{static{n(this,"TextNode")}constructor(s){this.text=void 0,this.text=s}toNode(){return document.createTextNode(this.text)}toMarkup(){return gd(this.toText())}toText(){return this.text}},_Ge=class{static{n(this,"SpaceNode")}constructor(s){this.width=void 0,this.character=void 0,this.width=s,s>=.05555&&s<=.05556?this.character="\u200A":s>=.1666&&s<=.1667?this.character="\u2009":s>=.2222&&s<=.2223?this.character="\u2005":s>=.2777&&s<=.2778?this.character="\u2005\u200A":s>=-.05556&&s<=-.05555?this.character="\u200A\u2063":s>=-.1667&&s<=-.1666?this.character="\u2009\u2063":s>=-.2223&&s<=-.2222?this.character="\u205F\u2063":s>=-.2778&&s<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var s=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return s.setAttribute("width",rr(this.width)),s}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},Qcn=new Set(["\\imath","\\jmath"]),Jcn=new Set(["mrow","mtable"]),V2=n(function(s,o,f){return _l[o][s]&&_l[o][s].replace&&s.charCodeAt(0)!==55349&&!(TGe.hasOwnProperty(s)&&f&&(f.fontFamily&&f.fontFamily.slice(4,6)==="tt"||f.font&&f.font.slice(4,6)==="tt"))&&(s=_l[o][s].replace),new Bu(s)},"makeText"),uee=n(function(s){return s.length===1?s[0]:new Xn("mrow",s)},"makeRow"),Zcn={mathit:"italic",boldsymbol:n(s=>s.type==="textord"?"bold":"bold-italic","boldsymbol"),mathbf:"bold",mathbb:"double-struck",mathsfit:"sans-serif-italic",mathfrak:"fraktur",mathscr:"script",mathcal:"script",mathsf:"sans-serif",mathtt:"monospace"},dee=n((s,o)=>{if(s.mode==="text"){if(o.fontFamily==="texttt")return"monospace";if(o.fontFamily==="textsf")return o.fontShape==="textit"&&o.fontWeight==="textbf"?"sans-serif-bold-italic":o.fontShape==="textit"?"sans-serif-italic":o.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(o.fontShape==="textit"&&o.fontWeight==="textbf")return"bold-italic";if(o.fontShape==="textit")return"italic";if(o.fontWeight==="textbf")return"bold"}var f=o.font;if(!f||f==="mathnormal")return null;var g=s.mode,p=Zcn[f];if(p)return typeof p=="function"?p(s):p;var y=s.text;if(Qcn.has(y))return null;if(_l[g][y]){var k=_l[g][y].replace;k&&(y=k)}var T=Kte[f].fontName;return Rlt(y,T,g)?Kte[f].variant:null},"getVariant");n(_lt,"isNumberPunctuation");bp=n(function(s,o,f){if(s.length===1){var g=Oc(s[0],o);return f&&g instanceof Xn&&g.type==="mo"&&(g.setAttribute("lspace","0em"),g.setAttribute("rspace","0em")),[g]}for(var p=[],y,k=0;k=1&&(y.type==="mn"||_lt(y))){var B=T.children[0];B instanceof Xn&&B.type==="mn"&&(B.children=[...y.children,...B.children],p.pop())}else if(y.type==="mi"&&y.children.length===1){var v=y.children[0];if(v instanceof Bu&&v.text==="\u0338"&&(T.type==="mo"||T.type==="mi"||T.type==="mn")){var M=T.children[0];M instanceof Bu&&M.text.length>0&&(M.text=M.text.slice(0,1)+"\u0338"+M.text.slice(1),p.pop())}}}p.push(T),y=T}return p},"buildExpression"),Gk=n(function(s,o,f){return uee(bp(s,o,f))},"buildExpressionRow"),Oc=n(function(s,o){if(!s)return new Xn("mrow");if(Ilt[s.type])return Ilt[s.type](s,o);throw new Yn("Got group of unknown type: '"+s.type+"'")},"buildGroup");n(Vte,"buildMathML");tln=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],KWe=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],UWe=n(function(s,o){return o.size<2?s:tln[s-1][o.size-1]},"sizeAtStyle"),FGe=class RS{static{n(this,"Options")}constructor(o){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=o.style,this.color=o.color,this.size=o.size||RS.BASESIZE,this.textSize=o.textSize||this.size,this.phantom=!!o.phantom,this.font=o.font||"",this.fontFamily=o.fontFamily||"",this.fontWeight=o.fontWeight||"",this.fontShape=o.fontShape||"",this.sizeMultiplier=KWe[this.size-1],this.maxSize=o.maxSize,this.minRuleThickness=o.minRuleThickness,this._fontMetrics=void 0}extend(o){var f={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};return Object.assign(f,o),new RS(f)}havingStyle(o){return this.style===o?this:this.extend({style:o,size:UWe(this.textSize,o)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(o){return this.size===o&&this.textSize===o?this:this.extend({style:this.style.text(),size:o,textSize:o,sizeMultiplier:KWe[o-1]})}havingBaseStyle(o){o=o||this.style.text();var f=UWe(RS.BASESIZE,o);return this.size===f&&this.textSize===RS.BASESIZE&&this.style===o?this:this.extend({style:o,size:f})}havingBaseSizing(){var o;switch(this.style.id){case 4:case 5:o=3;break;case 6:case 7:o=1;break;default:o=6}return this.extend({style:this.style.text(),size:o})}withColor(o){return this.extend({color:o})}withPhantom(){return this.extend({phantom:!0})}withFont(o){return this.extend({font:o})}withTextFontFamily(o){return this.extend({fontFamily:o,font:""})}withTextFontWeight(o){return this.extend({fontWeight:o,font:""})}withTextFontShape(o){return this.extend({fontShape:o,font:""})}sizingClasses(o){return o.size!==this.size?["sizing","reset-size"+o.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==RS.BASESIZE?["sizing","reset-size"+this.size,"size"+RS.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=CGe(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};FGe.BASESIZE=6;OGe=n(function(s){return new FGe({style:s.displayMode?Ca.DISPLAY:Ca.TEXT,maxSize:s.maxSize,minRuleThickness:s.minRuleThickness})},"optionsFromSettings"),DGe=n(function(s,o){if(o.displayMode){var f=["katex-display"];o.leqno&&f.push("leqno"),o.fleqn&&f.push("fleqn"),s=zn(f,[s])}return s},"displayWrap"),eln=n(function(s,o,f){var g=OGe(f),p;if(f.output==="mathml")return Vte(s,o,g,f.displayMode,!0);if(f.output==="html"){var y=$lt(s,g);p=zn(["katex"],[y])}else{var k=Vte(s,o,g,f.displayMode,!1),T=$lt(s,g);p=zn(["katex"],[k,T])}return DGe(p,f)},"buildTree"),nln=n(function(s,o,f){var g=OGe(f),p=$lt(s,g),y=zn(["katex"],[p]);return DGe(y,f)},"buildHTMLTree"),rln={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",underbracket:"\u23B5",overbracket:"\u23B4",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},Hlt=n(function(s){var o=new Xn("mo",[new Bu(rln[s.replace(/^\\/,"")])]);return o.setAttribute("stretchy","true"),o},"stretchyMathML"),iln={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},aln=new Set(["widehat","widecheck","widetilde","utilde"]),Klt=n(function(s,o){function f(){var k=4e5,T=s.label.slice(1);if(aln.has(T)&&"base"in s){var B=s.base.type==="ordgroup"?s.base.body.length:1,v,M,L;if(B>5)T==="widehat"||T==="widecheck"?(v=420,k=2364,L=.42,M=T+"4"):(v=312,k=2340,L=.34,M="tilde4");else{var F=[1,1,2,2,3,3][B];T==="widehat"||T==="widecheck"?(k=[0,1062,2364,2364,2364][F],v=[0,239,300,360,420][F],L=[0,.24,.3,.3,.36,.42][F],M=T+F):(k=[0,600,1033,2339,2340][F],v=[0,260,286,306,312][F],L=[0,.26,.286,.3,.306,.34][F],M="tilde"+F)}var j=new Uk(M),$=new Qv([j],{width:"100%",height:rr(L),viewBox:"0 0 "+k+" "+v,preserveAspectRatio:"none"});return{span:Wk([],[$],o),minWidth:0,height:L}}else{var z=[],U=iln[T];if(!U)throw new Error('No SVG data for "'+T+'".');var[V,nt,at]=U,dt=at/1e3,et=V.length,Ft,Nt;if(et===1){if(U.length!==4)throw new Error('Expected 4-tuple for single-path SVG data "'+T+'".');Ft=["hide-tail"],Nt=[U[3]]}else if(et===2)Ft=["halfarrow-left","halfarrow-right"],Nt=["xMinYMin","xMaxYMin"];else if(et===3)Ft=["brace-left","brace-center","brace-right"],Nt=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+et+" children.");for(var se=0;se0&&(g.style.minWidth=rr(p)),g},"stretchySvg"),oln=n(function(s,o,f,g,p){var y,k=s.height+s.depth+f+g;if(/fbox|color|angl/.test(o)){if(y=zn(["stretchy",o],[],p),o==="fbox"){var T=p.color&&p.getColor();T&&(y.style.borderColor=T)}}else{var B=[];/^[bx]cancel$/.test(o)&&B.push(new $te({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(o)&&B.push(new $te({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var v=new Qv(B,{width:"100%",height:rr(k)});y=Wk([],[v],p)}return y.height=k,y.style.height=rr(k),y},"stretchyEnclose"),sln={bin:1,close:1,inner:1,open:1,punct:1,rel:1},cln={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1};n(jGe,"isAtom");n(Ka,"assertNodeType");n(aK,"assertSymbolNodeType");n(oK,"checkSymbolNodeType");IGe=n(s=>{if(s instanceof dp)return s;if(Pcn(s)&&s.children.length===1)return IGe(s.children[0])},"getBaseSymbol"),fee=n((s,o)=>{var f,g,p;s&&s.type==="supsub"?(g=Ka(s.base,"accent"),f=g.base,s.base=f,p=xGe(Fs(s,o)),s.base=g):(g=Ka(s,"accent"),f=g.base);var y=Fs(f,o.havingCrampedStyle()),k=g.isShifty&&Jv(f),T=0;if(k){var B,v;T=(B=(v=IGe(y))==null?void 0:v.skew)!=null?B:0}var M=g.label==="\\c",L=M?y.height+y.depth:Math.min(y.height,o.fontMetrics().xHeight),F;if(g.isStretchy)F=Klt(g,o),F=_s({positionType:"firstBaseline",children:[{type:"elem",elem:y},{type:"elem",elem:F,wrapperClasses:["svg-align"],wrapperStyle:T>0?{width:"calc(100% - "+rr(2*T)+")",marginLeft:rr(2*T)}:void 0}]});else{var j,$;g.label==="\\vec"?(j=MGe("vec",o),$=BGe.vec[1]):(j=qlt({type:"textord",mode:g.mode,text:g.label},o,"textord"),j=kGe(j),j.italic=0,$=j.width,M&&(L+=j.depth)),F=zn(["accent-body"],[j]);var z=g.label==="\\textcircled";z&&(F.classes.push("accent-full"),L=y.height);var U=T;z||(U-=$/2),F.style.left=rr(U),g.label==="\\textcircled"&&(F.style.top=".2em"),F=_s({positionType:"firstBaseline",children:[{type:"elem",elem:y},{type:"kern",size:-L},{type:"elem",elem:F}]})}var V=zn(["mord","accent"],[F],o);return p?(p.children[0]=V,p.height=Math.max(V.height,p.height),p.classes[0]="mord",p):V},"htmlBuilder$a"),PGe=n((s,o)=>{var f=s.isStretchy?Hlt(s.label):new Xn("mo",[V2(s.label,s.mode)]),g=new Xn("mover",[Oc(s.base,o),f]);return g.setAttribute("accent","true"),g},"mathmlBuilder$9"),lln=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(s=>"\\"+s).join("|"));xr({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:n((s,o)=>{var f=Plt(o[0]),g=!lln.test(s.funcName),p=!g||s.funcName==="\\widehat"||s.funcName==="\\widetilde"||s.funcName==="\\widecheck";return{type:"accent",mode:s.parser.mode,label:s.funcName,isStretchy:g,isShifty:p,base:f}},"handler"),htmlBuilder:fee,mathmlBuilder:PGe});xr({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:n((s,o)=>{var f=o[0],g=s.parser.mode;return g==="math"&&(s.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+s.funcName+" works only in text mode"),g="text"),{type:"accent",mode:g,label:s.funcName,isStretchy:!1,isShifty:!0,base:f}},"handler"),htmlBuilder:fee,mathmlBuilder:PGe});xr({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:n((s,o)=>{var{parser:f,funcName:g}=s,p=o[0];return{type:"accentUnder",mode:f.mode,label:g,base:p}},"handler"),htmlBuilder:n((s,o)=>{var f=Fs(s.base,o),g=Klt(s,o),p=s.label==="\\utilde"?.12:0,y=_s({positionType:"top",positionData:f.height,children:[{type:"elem",elem:g,wrapperClasses:["svg-align"]},{type:"kern",size:p},{type:"elem",elem:f}]});return zn(["mord","accentunder"],[y],o)},"htmlBuilder"),mathmlBuilder:n((s,o)=>{var f=Hlt(s.label),g=new Xn("munder",[Oc(s.base,o),f]);return g.setAttribute("accentunder","true"),g},"mathmlBuilder")});Blt=n(s=>{var o=new Xn("mpadded",s?[s]:[]);return o.setAttribute("width","+0.6em"),o.setAttribute("lspace","0.3em"),o},"paddedNode");xr({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(s,o,f){var{parser:g,funcName:p}=s;return{type:"xArrow",mode:g.mode,label:p,body:o[0],below:f[0]}},htmlBuilder(s,o){var f=o.style,g=o.havingStyle(f.sup()),p=sO(Fs(s.body,g,o),o),y=s.label.slice(0,2)==="\\x"?"x":"cd";p.classes.push(y+"-arrow-pad");var k;s.below&&(g=o.havingStyle(f.sub()),k=sO(Fs(s.below,g,o),o),k.classes.push(y+"-arrow-pad"));var T=Klt(s,o),B=-o.fontMetrics().axisHeight+.5*T.height,v=-o.fontMetrics().axisHeight-.5*T.height-.111;(p.depth>.25||s.label==="\\xleftequilibrium")&&(v-=p.depth);var M;if(k){var L=-o.fontMetrics().axisHeight+k.height+.5*T.height+.111;M=_s({positionType:"individualShift",children:[{type:"elem",elem:p,shift:v},{type:"elem",elem:T,shift:B,wrapperClasses:["svg-align"]},{type:"elem",elem:k,shift:L}]})}else M=_s({positionType:"individualShift",children:[{type:"elem",elem:p,shift:v},{type:"elem",elem:T,shift:B,wrapperClasses:["svg-align"]}]});return zn(["mrel","x-arrow"],[M],o)},mathmlBuilder(s,o){var f=Hlt(s.label);f.setAttribute("minsize",s.label.charAt(0)==="x"?"1.75em":"3.0em");var g;if(s.body){var p=Blt(Oc(s.body,o));if(s.below){var y=Blt(Oc(s.below,o));g=new Xn("munderover",[f,y,p])}else g=new Xn("mover",[f,p])}else if(s.below){var k=Blt(Oc(s.below,o));g=new Xn("munder",[f,k])}else g=Blt(),g=new Xn("mover",[f,g]);return g}});n(bee,"htmlBuilder$9");n(gee,"mathmlBuilder$8");xr({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(s,o){var{parser:f,funcName:g}=s,p=o[0];return{type:"mclass",mode:f.mode,mclass:"m"+g.slice(5),body:Eu(p),isCharacterBox:Jv(p)}},htmlBuilder:bee,mathmlBuilder:gee});Ult=n(s=>{var o=s.type==="ordgroup"&&s.body.length?s.body[0]:s;return o.type==="atom"&&(o.family==="bin"||o.family==="rel")?"m"+o.family:"mord"},"binrelClass");xr({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(s,o){var{parser:f}=s;return{type:"mclass",mode:f.mode,mclass:Ult(o[0]),body:Eu(o[1]),isCharacterBox:Jv(o[1])}}});xr({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(s,o){var{parser:f,funcName:g}=s,p=o[1],y=o[0],k;g!=="\\stackrel"?k=Ult(p):k="mrel";var T={type:"op",mode:p.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:g!=="\\stackrel",body:Eu(p)},B={type:"supsub",mode:y.mode,base:T,sup:g==="\\underset"?null:y,sub:g==="\\underset"?y:null};return{type:"mclass",mode:f.mode,mclass:k,body:[B],isCharacterBox:Jv(B)}},htmlBuilder:bee,mathmlBuilder:gee});xr({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(s,o){var{parser:f}=s;return{type:"pmb",mode:f.mode,mclass:Ult(o[0]),body:Eu(o[0])}},htmlBuilder(s,o){var f=o1(s.body,o,!0),g=zn([s.mclass],f,o);return g.style.textShadow="0.02em 0.01em 0.04px",g},mathmlBuilder(s,o){var f=bp(s.body,o),g=new Xn("mstyle",f);return g.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),g}});hln={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},WWe=n(()=>({type:"styling",body:[],mode:"math",style:"display",resetFont:!0}),"newCell"),GWe=n(s=>s.type==="textord"&&s.text==="@","isStartOfArrow"),uln=n((s,o)=>(s.type==="mathord"||s.type==="atom")&&s.text===o,"isLabelEnd");n($Ge,"cdArrow");n(NGe,"parseCD");xr({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(s,o){var{parser:f,funcName:g}=s;return{type:"cdlabel",mode:f.mode,side:g.slice(4),label:o[0]}},htmlBuilder(s,o){var f=o.havingStyle(o.style.sup()),g=sO(Fs(s.label,f,o),o);return g.classes.push("cd-label-"+s.side),g.style.bottom=rr(.8-g.depth),g.height=0,g.depth=0,g},mathmlBuilder(s,o){var f=new Xn("mrow",[Oc(s.label,o)]);return f=new Xn("mpadded",[f]),f.setAttribute("width","0"),s.side==="left"&&f.setAttribute("lspace","-1width"),f.setAttribute("voffset","0.7em"),f=new Xn("mstyle",[f]),f.setAttribute("displaystyle","false"),f.setAttribute("scriptlevel","1"),f}});xr({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(s,o){var{parser:f}=s;return{type:"cdlabelparent",mode:f.mode,fragment:o[0]}},htmlBuilder(s,o){var f=sO(Fs(s.fragment,o),o);return f.classes.push("cd-vert-arrow"),f},mathmlBuilder(s,o){return new Xn("mrow",[Oc(s.fragment,o)])}});xr({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(s,o){for(var{parser:f}=s,g=Ka(o[0],"ordgroup"),p=g.body,y="",k=0;k=1114111)throw new Yn("\\@char with invalid code point "+y);return B<=65535?v=String.fromCharCode(B):(B-=65536,v=String.fromCharCode((B>>10)+55296,(B&1023)+56320)),{type:"textord",mode:f.mode,text:v}}});RGe=n((s,o)=>{var f=o1(s.body,o.withColor(s.color),!1);return t6(f)},"htmlBuilder$8"),zGe=n((s,o)=>{var f=bp(s.body,o.withColor(s.color)),g=new Xn("mstyle",f);return g.setAttribute("mathcolor",s.color),g},"mathmlBuilder$7");xr({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(s,o){var{parser:f}=s,g=Ka(o[0],"color-token").color,p=o[1];return{type:"color",mode:f.mode,color:g,body:Eu(p)}},htmlBuilder:RGe,mathmlBuilder:zGe});xr({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(s,o){var{parser:f,breakOnTokenText:g}=s,p=Ka(o[0],"color-token").color;f.gullet.macros.set("\\current@color",p);var y=f.parseExpression(!0,g);return{type:"color",mode:f.mode,color:p,body:y}},htmlBuilder:RGe,mathmlBuilder:zGe});xr({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(s,o,f){var{parser:g}=s,p=g.gullet.future().text==="["?g.parseSizeGroup(!0):null,y=!g.settings.displayMode||!g.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:g.mode,newLine:y,size:p&&Ka(p,"size").value}},htmlBuilder(s,o){var f=zn(["mspace"],[],o);return s.newLine&&(f.classes.push("newline"),s.size&&(f.style.marginTop=rr(Zl(s.size,o)))),f},mathmlBuilder(s,o){var f=new Xn("mspace");return s.newLine&&(f.setAttribute("linebreak","newline"),s.size&&f.setAttribute("height",rr(Zl(s.size,o)))),f}});Xte={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},qGe=n(s=>{var o=s.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(o))throw new Yn("Expected a control sequence",s);return o},"checkControlSequence"),dln=n(s=>{var o=s.gullet.popToken();return o.text==="="&&(o=s.gullet.popToken(),o.text===" "&&(o=s.gullet.popToken())),o},"getRHS"),HGe=n((s,o,f,g)=>{var p=s.gullet.macros.get(f.text);p==null&&(f.noexpand=!0,p={tokens:[f],numArgs:0,unexpandable:!s.gullet.isExpandable(f.text)}),s.gullet.macros.set(o,p,g)},"letCommand");xr({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(s){var{parser:o,funcName:f}=s;o.consumeSpaces();var g=o.fetch();if(Xte[g.text])return(f==="\\global"||f==="\\\\globallong")&&(g.text=Xte[g.text]),Ka(o.parseFunction(),"internal");throw new Yn("Invalid token after macro prefix",g)}});xr({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(s){var{parser:o,funcName:f}=s,g=o.gullet.popToken(),p=g.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(p))throw new Yn("Expected a control sequence",g);for(var y=0,k,T=[[]];o.gullet.future().text!=="{";)if(g=o.gullet.popToken(),g.text==="#"){if(o.gullet.future().text==="{"){k=o.gullet.future(),T[y].push("{");break}if(g=o.gullet.popToken(),!/^[1-9]$/.test(g.text))throw new Yn('Invalid argument number "'+g.text+'"');if(parseInt(g.text)!==y+1)throw new Yn('Argument number "'+g.text+'" out of order');y++,T.push([])}else{if(g.text==="EOF")throw new Yn("Expected a macro definition");T[y].push(g.text)}var{tokens:B}=o.gullet.consumeArg();return k&&B.unshift(k),(f==="\\edef"||f==="\\xdef")&&(B=o.gullet.expandTokens(B),B.reverse()),o.gullet.macros.set(p,{tokens:B,numArgs:y,delimiters:T},f===Xte[f]),{type:"internal",mode:o.mode}}});xr({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(s){var{parser:o,funcName:f}=s,g=qGe(o.gullet.popToken());o.gullet.consumeSpaces();var p=dln(o);return HGe(o,g,p,f==="\\\\globallet"),{type:"internal",mode:o.mode}}});xr({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(s){var{parser:o,funcName:f}=s,g=qGe(o.gullet.popToken()),p=o.gullet.popToken(),y=o.gullet.popToken();return HGe(o,g,y,f==="\\\\globalfuture"),o.gullet.pushToken(y),o.gullet.pushToken(p),{type:"internal",mode:o.mode}}});tK=n(function(s,o,f){var g=_l.math[s]&&_l.math[s].replace,p=Rlt(g||s,o,f);if(!p)throw new Error("Unsupported symbol "+s+" and font size "+o+".");return p},"getMetrics"),pee=n(function(s,o,f,g){var p=f.havingBaseStyle(o),y=zn(g.concat(p.sizingClasses(f)),[s],f),k=p.sizeMultiplier/f.sizeMultiplier;return y.height*=k,y.depth*=k,y.maxFontSize=p.sizeMultiplier,y},"styleWrap"),KGe=n(function(s,o,f){var g=o.havingBaseStyle(f),p=(1-o.sizeMultiplier/g.sizeMultiplier)*o.fontMetrics().axisHeight;s.classes.push("delimcenter"),s.style.top=rr(p),s.height-=p,s.depth+=p},"centerSpan"),fln=n(function(s,o,f,g,p,y){var k=gf(s,"Main-Regular",p,g),T=pee(k,o,g,y);return f&&KGe(T,g,o),T},"makeSmallDelim"),bln=n(function(s,o,f,g){return gf(s,"Size"+o+"-Regular",f,g)},"mathrmSize"),UGe=n(function(s,o,f,g,p,y){var k=bln(s,o,p,g),T=pee(zn(["delimsizing","size"+o],[k],g),Ca.TEXT,g,y);return f&&KGe(T,g,Ca.TEXT),T},"makeLargeDelim"),Ste=n(function(s,o,f){var g;o==="Size1-Regular"?g="delim-size1":g="delim-size4";var p=zn(["delimsizinginner",g],[zn([],[gf(s,o,f)])]);return{type:"elem",elem:p}},"makeGlyphSpan"),Ete=n(function(s,o,f){var g=X4["Size4-Regular"][s.charCodeAt(0)]?X4["Size4-Regular"][s.charCodeAt(0)][4]:X4["Size1-Regular"][s.charCodeAt(0)][4],p=new Uk("inner",_cn(s,Math.round(1e3*o))),y=new Qv([p],{width:rr(g),height:rr(o),style:"width:"+rr(g),viewBox:"0 0 "+1e3*g+" "+Math.round(1e3*o),preserveAspectRatio:"xMinYMin"}),k=Wk([],[y],f);return k.height=o,k.style.height=rr(o),k.style.width=rr(g),{type:"elem",elem:k}},"makeInner"),Yte=.008,Mlt={type:"kern",size:-1*Yte},gln=new Set(["|","\\lvert","\\rvert","\\vert"]),pln=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),WGe=n(function(s,o,f,g,p,y){var k,T,B,v,M="",L=0;k=B=v=s,T=null;var F="Size1-Regular";s==="\\uparrow"?B=v="\u23D0":s==="\\Uparrow"?B=v="\u2016":s==="\\downarrow"?k=B="\u23D0":s==="\\Downarrow"?k=B="\u2016":s==="\\updownarrow"?(k="\\uparrow",B="\u23D0",v="\\downarrow"):s==="\\Updownarrow"?(k="\\Uparrow",B="\u2016",v="\\Downarrow"):gln.has(s)?(B="\u2223",M="vert",L=333):pln.has(s)?(B="\u2225",M="doublevert",L=556):s==="["||s==="\\lbrack"?(k="\u23A1",B="\u23A2",v="\u23A3",F="Size4-Regular",M="lbrack",L=667):s==="]"||s==="\\rbrack"?(k="\u23A4",B="\u23A5",v="\u23A6",F="Size4-Regular",M="rbrack",L=667):s==="\\lfloor"||s==="\u230A"?(B=k="\u23A2",v="\u23A3",F="Size4-Regular",M="lfloor",L=667):s==="\\lceil"||s==="\u2308"?(k="\u23A1",B=v="\u23A2",F="Size4-Regular",M="lceil",L=667):s==="\\rfloor"||s==="\u230B"?(B=k="\u23A5",v="\u23A6",F="Size4-Regular",M="rfloor",L=667):s==="\\rceil"||s==="\u2309"?(k="\u23A4",B=v="\u23A5",F="Size4-Regular",M="rceil",L=667):s==="("||s==="\\lparen"?(k="\u239B",B="\u239C",v="\u239D",F="Size4-Regular",M="lparen",L=875):s===")"||s==="\\rparen"?(k="\u239E",B="\u239F",v="\u23A0",F="Size4-Regular",M="rparen",L=875):s==="\\{"||s==="\\lbrace"?(k="\u23A7",T="\u23A8",v="\u23A9",B="\u23AA",F="Size4-Regular"):s==="\\}"||s==="\\rbrace"?(k="\u23AB",T="\u23AC",v="\u23AD",B="\u23AA",F="Size4-Regular"):s==="\\lgroup"||s==="\u27EE"?(k="\u23A7",v="\u23A9",B="\u23AA",F="Size4-Regular"):s==="\\rgroup"||s==="\u27EF"?(k="\u23AB",v="\u23AD",B="\u23AA",F="Size4-Regular"):s==="\\lmoustache"||s==="\u23B0"?(k="\u23A7",v="\u23AD",B="\u23AA",F="Size4-Regular"):(s==="\\rmoustache"||s==="\u23B1")&&(k="\u23AB",v="\u23A9",B="\u23AA",F="Size4-Regular");var j=tK(k,F,p),$=j.height+j.depth,z=tK(B,F,p),U=z.height+z.depth,V=tK(v,F,p),nt=V.height+V.depth,at=0,dt=1;if(T!==null){var et=tK(T,F,p);at=et.height+et.depth,dt=2}var Ft=$+nt+at,Nt=Math.max(0,Math.ceil((o-Ft)/(dt*U))),se=Ft+Nt*dt*U,Ge=g.fontMetrics().axisHeight;f&&(Ge*=g.sizeMultiplier);var Ue=se/2-Ge,me=[];if(M.length>0){var fn=se-$-nt,Ce=Math.round(se*1e3),ge=Fcn(M,Math.round(fn*1e3)),be=new Uk(M,ge),le=rr(L/1e3),Oe=rr(Ce/1e3),ke=new Qv([be],{width:le,height:Oe,viewBox:"0 0 "+L+" "+Ce}),nn=Wk([],[ke],g);nn.height=Ce/1e3,nn.style.width=le,nn.style.height=Oe,me.push({type:"elem",elem:nn})}else{if(me.push(Ste(v,F,p)),me.push(Mlt),T===null){var tt=se-$-nt+2*Yte;me.push(Ete(B,tt,g))}else{var sr=(se-$-nt-at)/2+2*Yte;me.push(Ete(B,sr,g)),me.push(Mlt),me.push(Ste(T,F,p)),me.push(Mlt),me.push(Ete(B,sr,g))}me.push(Mlt),me.push(Ste(k,F,p))}var Xr=g.havingBaseStyle(Ca.TEXT),$i=_s({positionType:"bottom",positionData:Ue,children:me});return pee(zn(["delimsizing","mult"],[$i],Xr),Ca.TEXT,g,y)},"makeStackedDelim"),Bte=80,Mte=.08,Ate=n(function(s,o,f,g,p){var y=Lcn(s,g,f),k=new Uk(s,y),T=new Qv([k],{width:"400em",height:rr(o),viewBox:"0 0 400000 "+f,preserveAspectRatio:"xMinYMin slice"});return Wk(["hide-tail"],[T],p)},"sqrtSvg"),wln=n(function(s,o){var f=o.havingBaseSizing(),g=QGe("\\surd",s*f.sizeMultiplier,YGe,f),p=f.sizeMultiplier,y=Math.max(0,o.minRuleThickness-o.fontMetrics().sqrtRuleThickness),k,T,B,v,M;return g.type==="small"?(v=1e3+1e3*y+Bte,s<1?p=1:s<1.4&&(p=.7),T=(1+y+Mte)/p,B=(1+y)/p,k=Ate("sqrtMain",T,v,y,o),k.style.minWidth="0.853em",M=.833/p):g.type==="large"?(v=(1e3+Bte)*eK[g.size],B=(eK[g.size]+y)/p,T=(eK[g.size]+y+Mte)/p,k=Ate("sqrtSize"+g.size,T,v,y,o),k.style.minWidth="1.02em",M=1/p):(T=s+y+Mte,B=s+y,v=Math.floor(1e3*s+y)+Bte,k=Ate("sqrtTall",T,v,y,o),k.style.minWidth="0.742em",M=1.056),k.height=B,k.style.height=rr(T),{span:k,advanceWidth:M,ruleWidth:(o.fontMetrics().sqrtRuleThickness+y)*p}},"makeSqrtImage"),GGe=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"]),mln=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"]),VGe=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),eK=[0,1.2,1.8,2.4,3],XGe=n(function(s,o,f,g,p){if(s==="<"||s==="\\lt"||s==="\u27E8"?s="\\langle":(s===">"||s==="\\gt"||s==="\u27E9")&&(s="\\rangle"),GGe.has(s)||VGe.has(s))return UGe(s,o,!1,f,g,p);if(mln.has(s))return WGe(s,eK[o],!1,f,g,p);throw new Yn("Illegal delimiter: '"+s+"'")},"makeSizedDelim"),yln=[{type:"small",style:Ca.SCRIPTSCRIPT},{type:"small",style:Ca.SCRIPT},{type:"small",style:Ca.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],vln=[{type:"small",style:Ca.SCRIPTSCRIPT},{type:"small",style:Ca.SCRIPT},{type:"small",style:Ca.TEXT},{type:"stack"}],YGe=[{type:"small",style:Ca.SCRIPTSCRIPT},{type:"small",style:Ca.SCRIPT},{type:"small",style:Ca.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],kln=n(function(s){if(s.type==="small")return"Main-Regular";if(s.type==="large")return"Size"+s.size+"-Regular";if(s.type==="stack")return"Size4-Regular";var o=s.type;throw new Error("Add support for delim type '"+o+"' here.")},"delimTypeToFont"),QGe=n(function(s,o,f,g){for(var p=Math.min(2,3-g.style.size),y=p;yo)return k}return f[f.length-1]},"traverseSequence"),Qte=n(function(s,o,f,g,p,y){s==="<"||s==="\\lt"||s==="\u27E8"?s="\\langle":(s===">"||s==="\\gt"||s==="\u27E9")&&(s="\\rangle");var k;VGe.has(s)?k=yln:GGe.has(s)?k=YGe:k=vln;var T=QGe(s,o,k,g);return T.type==="small"?fln(s,T.style,f,g,p,y):T.type==="large"?UGe(s,T.size,f,g,p,y):WGe(s,o,f,g,p,y)},"makeCustomSizedDelim"),Lte=n(function(s,o,f,g,p,y){var k=g.fontMetrics().axisHeight*g.sizeMultiplier,T=901,B=5/g.fontMetrics().ptPerEm,v=Math.max(o-k,f+k),M=Math.max(v/500*T,2*v-B);return Qte(s,M,!0,g,p,y)},"makeLeftRightDelim"),VWe={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},xln=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]);n(Jte,"isMiddleDelimNode");n(sK,"checkDelimiter");xr({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:n((s,o)=>{var f=sK(o[0],s);return{type:"delimsizing",mode:s.parser.mode,size:VWe[s.funcName].size,mclass:VWe[s.funcName].mclass,delim:f.text}},"handler"),htmlBuilder:n((s,o)=>s.delim==="."?zn([s.mclass]):XGe(s.delim,s.size,o,s.mode,[s.mclass]),"htmlBuilder"),mathmlBuilder:n(s=>{var o=[];s.delim!=="."&&o.push(V2(s.delim,s.mode));var f=new Xn("mo",o);s.mclass==="mopen"||s.mclass==="mclose"?f.setAttribute("fence","true"):f.setAttribute("fence","false"),f.setAttribute("stretchy","true");var g=rr(eK[s.size]);return f.setAttribute("minsize",g),f.setAttribute("maxsize",g),f},"mathmlBuilder")});n(Zte,"assertParsed");xr({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:n((s,o)=>{var f=s.parser.gullet.macros.get("\\current@color");if(f&&typeof f!="string")throw new Yn("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:s.parser.mode,delim:sK(o[0],s).text,color:f}},"handler")});xr({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:n((s,o)=>{var f=sK(o[0],s),g=s.parser;++g.leftrightDepth;var p=g.parseExpression(!1);--g.leftrightDepth,g.expect("\\right",!1);var y=Ka(g.parseFunction(),"leftright-right");return{type:"leftright",mode:g.mode,body:p,left:f.text,right:y.delim,rightColor:y.color}},"handler"),htmlBuilder:n((s,o)=>{Zte(s);for(var f=o1(s.body,o,!0,["mopen","mclose"]),g=0,p=0,y=!1,k=0;k{Zte(s);var f=bp(s.body,o);if(s.left!=="."){var g=new Xn("mo",[V2(s.left,s.mode)]);g.setAttribute("fence","true"),f.unshift(g)}if(s.right!=="."){var p=new Xn("mo",[V2(s.right,s.mode)]);p.setAttribute("fence","true"),s.rightColor&&p.setAttribute("mathcolor",s.rightColor),f.push(p)}return uee(f)},"mathmlBuilder")});xr({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:n((s,o)=>{var f=sK(o[0],s);if(!s.parser.leftrightDepth)throw new Yn("\\middle without preceding \\left",f);return{type:"middle",mode:s.parser.mode,delim:f.text}},"handler"),htmlBuilder:n((s,o)=>{var f;return s.delim==="."?f=rK(o,[]):(f=XGe(s.delim,1,o,s.mode,[]),f.isMiddle={delim:s.delim,options:o}),f},"htmlBuilder"),mathmlBuilder:n((s,o)=>{var f=s.delim==="\\vert"||s.delim==="|"?V2("|","text"):V2(s.delim,s.mode),g=new Xn("mo",[f]);return g.setAttribute("fence","true"),g.setAttribute("lspace","0.05em"),g.setAttribute("rspace","0.05em"),g},"mathmlBuilder")});Wlt=n((s,o)=>{var f=sO(Fs(s.body,o),o),g=s.label.slice(1),p=o.sizeMultiplier,y,k,T=Jv(s.body);if(g==="sout")y=zn(["stretchy","sout"]),y.height=o.fontMetrics().defaultRuleThickness/p,k=-.5*o.fontMetrics().xHeight;else if(g==="phase"){var B=Zl({number:.6,unit:"pt"},o),v=Zl({number:.35,unit:"ex"},o),M=o.havingBaseSizing();p=p/M.sizeMultiplier;var L=f.height+f.depth+B+v;f.style.paddingLeft=rr(L/2+B);var F=Math.floor(1e3*L*p),j=Mcn(F),$=new Qv([new Uk("phase",j)],{width:"400em",height:rr(F/1e3),viewBox:"0 0 400000 "+F,preserveAspectRatio:"xMinYMin slice"});y=Wk(["hide-tail"],[$],o),y.style.height=rr(L),k=f.depth+B+v}else{/cancel/.test(g)?T||f.classes.push("cancel-pad"):g==="angl"?f.classes.push("anglpad"):f.classes.push("boxpad");var z,U,V=0;/box/.test(g)?(V=Math.max(o.fontMetrics().fboxrule,o.minRuleThickness),z=o.fontMetrics().fboxsep+(g==="colorbox"?0:V),U=z):g==="angl"?(V=Math.max(o.fontMetrics().defaultRuleThickness,o.minRuleThickness),z=4*V,U=Math.max(0,.25-f.depth)):(z=T?.2:0,U=z),y=oln(f,g,z,U,o),/fbox|boxed|fcolorbox/.test(g)?(y.style.borderStyle="solid",y.style.borderWidth=rr(V)):g==="angl"&&V!==.049&&(y.style.borderTopWidth=rr(V),y.style.borderRightWidth=rr(V)),k=f.depth+U,s.backgroundColor&&(y.style.backgroundColor=s.backgroundColor,s.borderColor&&(y.style.borderColor=s.borderColor))}var nt;if(s.backgroundColor)nt=_s({positionType:"individualShift",children:[{type:"elem",elem:y,shift:k},{type:"elem",elem:f,shift:0}]});else{var at=/cancel|phase/.test(g)?["svg-align"]:[];nt=_s({positionType:"individualShift",children:[{type:"elem",elem:f,shift:0},{type:"elem",elem:y,shift:k,wrapperClasses:at}]})}return/cancel/.test(g)&&(nt.height=f.height,nt.depth=f.depth),/cancel/.test(g)&&!T?zn(["mord","cancel-lap"],[nt],o):zn(["mord"],[nt],o)},"htmlBuilder$7"),Glt=n((s,o)=>{var f,g=new Xn(s.label.includes("colorbox")?"mpadded":"menclose",[Oc(s.body,o)]);switch(s.label){case"\\cancel":g.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":g.setAttribute("notation","downdiagonalstrike");break;case"\\phase":g.setAttribute("notation","phasorangle");break;case"\\sout":g.setAttribute("notation","horizontalstrike");break;case"\\fbox":g.setAttribute("notation","box");break;case"\\angl":g.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(f=o.fontMetrics().fboxsep*o.fontMetrics().ptPerEm,g.setAttribute("width","+"+2*f+"pt"),g.setAttribute("height","+"+2*f+"pt"),g.setAttribute("lspace",f+"pt"),g.setAttribute("voffset",f+"pt"),s.label==="\\fcolorbox"){var p=Math.max(o.fontMetrics().fboxrule,o.minRuleThickness);g.setAttribute("style","border: "+rr(p)+" solid "+s.borderColor)}break;case"\\xcancel":g.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return s.backgroundColor&&g.setAttribute("mathbackground",s.backgroundColor),g},"mathmlBuilder$6");xr({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","hbox"]},handler(s,o,f){var{parser:g,funcName:p}=s,y=Ka(o[0],"color-token").color,k=o[1];return{type:"enclose",mode:g.mode,label:p,backgroundColor:y,body:k}},htmlBuilder:Wlt,mathmlBuilder:Glt});xr({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","hbox"]},handler(s,o,f){var{parser:g,funcName:p}=s,y=Ka(o[0],"color-token").color,k=Ka(o[1],"color-token").color,T=o[2];return{type:"enclose",mode:g.mode,label:p,backgroundColor:k,borderColor:y,body:T}},htmlBuilder:Wlt,mathmlBuilder:Glt});xr({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(s,o){var{parser:f}=s;return{type:"enclose",mode:f.mode,label:"\\fbox",body:o[0]}}});xr({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],props:{numArgs:1},handler(s,o){var{parser:f,funcName:g}=s,p=o[0];return{type:"enclose",mode:f.mode,label:g,body:p}},htmlBuilder:Wlt,mathmlBuilder:Glt});xr({type:"enclose",names:["\\sout"],props:{numArgs:1,allowedInText:!0},handler(s,o){var{parser:f,funcName:g}=s;f.mode==="math"&&f.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var p=o[0];return{type:"enclose",mode:f.mode,label:g,body:p}},htmlBuilder:Wlt,mathmlBuilder:Glt});xr({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(s,o){var{parser:f}=s;return{type:"enclose",mode:f.mode,label:"\\angl",body:o[0]}}});JGe={};n(Nm,"defineEnvironment");ZGe={};n(ft,"defineMacro");W2=class tVe{static{n(this,"SourceLocation")}constructor(o,f,g){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=o,this.start=f,this.end=g}static range(o,f){return f?!o||!o.loc||!f.loc||o.loc.lexer!==f.loc.lexer?null:new tVe(o.loc.lexer,o.loc.start,f.loc.end):o&&o.loc}},$m=class eVe{static{n(this,"Token")}constructor(o,f){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=o,this.loc=f}range(o,f){return new eVe(f,W2.range(this,o))}};n(tee,"getHLines");Vlt=n(s=>{var o=s.parser.settings;if(!o.displayMode)throw new Yn("{"+s.envName+"} can be used only in display mode.")},"validateAmsEnvironmentContext"),Cln=new Set(["gather","gather*"]);n(Xlt,"getAutoTag");n(e6,"parseArray");n(Ylt,"dCellStyle");Y4=n(function(s,o){var f,g,p=s.body.length,y=s.hLinesBeforeRow,k=0,T=new Array(p),B=[],v=Math.max(o.fontMetrics().arrayRuleWidth,o.minRuleThickness),M=1/o.fontMetrics().ptPerEm,L=5*M;if(s.colSeparationType&&s.colSeparationType==="small"){var F=o.havingStyle(Ca.SCRIPT).sizeMultiplier;L=.2778*(F/o.sizeMultiplier)}var j=s.colSeparationType==="CD"?Zl({number:3,unit:"ex"},o):12*M,$=3*M,z=s.arraystretch*j,U=.7*z,V=.3*z,nt=0;function at(vp){for(var kp=0;kp0&&(nt+=.25),B.push({pos:nt,isDashed:vp[kp]})}for(n(at,"setHLinePos"),at(y[0]),f=0;f0&&(Ue+=V,Ftvp))for(f=0;f=k)){var wo=void 0;if(g>0||s.hskipBeforeAndAfter){var Ws,js;wo=(Ws=(js=Xr)==null?void 0:js.pregap)!=null?Ws:L,wo!==0&&(ge=zn(["arraycolsep"],[]),ge.style.width=rr(wo),Ce.push(ge))}var sa=[];for(f=0;f0){for(var h5=oO("hline",o,v),p6=oO("hdashline",o,v),Oo=[{type:"elem",elem:yp,shift:0}];B.length>0;){var Ua=B.pop(),eh=Ua.pos-me;Ua.isDashed?Oo.push({type:"elem",elem:p6,shift:eh}):Oo.push({type:"elem",elem:h5,shift:eh})}yp=_s({positionType:"individualShift",children:Oo})}if(le.length===0)return zn(["mord"],[yp],o);var iu=_s({positionType:"individualShift",children:le}),u5=zn(["tag"],[iu],o);return t6([yp,u5])},"htmlBuilder"),Tln={c:"center ",l:"left ",r:"right "},Q4=n(function(s,o){for(var f=[],g=new Xn("mtd",[],["mtr-glue"]),p=new Xn("mtd",[],["mml-eqn-num"]),y=0;y0){var j=s.cols,$="",z=!1,U=0,V=j.length;j[0].type==="separator"&&(L+="top ",U=1),j[j.length-1].type==="separator"&&(L+="bottom ",V-=1);for(var nt=U;nt0?"left ":"",L+=se[se.length-1].length>0?"right ":"";for(var Ge=1;Ge0&&F&&(z=1),f[j]={type:"align",align:$,pregap:z,postgap:0}}return y.colSeparationType=F?"align":"alignat",y},"alignedHandler");Nm({type:"array",names:["array","darray"],props:{numArgs:1},handler(s,o){var f=oK(o[0]),g=f?[o[0]]:Ka(o[0],"ordgroup").body,p=g.map(function(k){var T=aK(k),B=T.text;if("lcr".includes(B))return{type:"align",align:B};if(B==="|")return{type:"separator",separator:"|"};if(B===":")return{type:"separator",separator:":"};throw new Yn("Unknown column alignment: "+B,k)}),y={cols:p,hskipBeforeAndAfter:!0,maxNumCols:p.length};return e6(s.parser,y,Ylt(s.envName))},htmlBuilder:Y4,mathmlBuilder:Q4});Nm({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(s){var o={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[s.envName.replace("*","")],f="c",g={hskipBeforeAndAfter:!1,cols:[{type:"align",align:f}]};if(s.envName.charAt(s.envName.length-1)==="*"){var p=s.parser;if(p.consumeSpaces(),p.fetch().text==="["){if(p.consume(),p.consumeSpaces(),f=p.fetch().text,!"lcr".includes(f))throw new Yn("Expected l or c or r",p.nextToken);p.consume(),p.consumeSpaces(),p.expect("]"),p.consume(),g.cols=[{type:"align",align:f}]}}var y=e6(s.parser,g,Ylt(s.envName)),k=Math.max(0,...y.body.map(T=>T.length));return y.cols=new Array(k).fill({type:"align",align:f}),o?{type:"leftright",mode:s.mode,body:[y],left:o[0],right:o[1],rightColor:void 0}:y},htmlBuilder:Y4,mathmlBuilder:Q4});Nm({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(s){var o={arraystretch:.5},f=e6(s.parser,o,"script");return f.colSeparationType="small",f},htmlBuilder:Y4,mathmlBuilder:Q4});Nm({type:"array",names:["subarray"],props:{numArgs:1},handler(s,o){var f=oK(o[0]),g=f?[o[0]]:Ka(o[0],"ordgroup").body,p=g.map(function(T){var B=aK(T),v=B.text;if("lc".includes(v))return{type:"align",align:v};throw new Yn("Unknown column alignment: "+v,T)});if(p.length>1)throw new Yn("{subarray} can contain only one column");var y={cols:p,hskipBeforeAndAfter:!1,arraystretch:.5},k=e6(s.parser,y,"script");if(k.body.length>0&&k.body[0].length>1)throw new Yn("{subarray} can contain only one column");return k},htmlBuilder:Y4,mathmlBuilder:Q4});Nm({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(s){var o={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},f=e6(s.parser,o,Ylt(s.envName));return{type:"leftright",mode:s.mode,body:[f],left:s.envName.includes("r")?".":"\\{",right:s.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:Y4,mathmlBuilder:Q4});Nm({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:nVe,htmlBuilder:Y4,mathmlBuilder:Q4});Nm({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(s){Cln.has(s.envName)&&Vlt(s);var o={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Xlt(s.envName),emptySingleRow:!0,leqno:s.parser.settings.leqno};return e6(s.parser,o,"display")},htmlBuilder:Y4,mathmlBuilder:Q4});Nm({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:nVe,htmlBuilder:Y4,mathmlBuilder:Q4});Nm({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(s){Vlt(s);var o={autoTag:Xlt(s.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:s.parser.settings.leqno};return e6(s.parser,o,"display")},htmlBuilder:Y4,mathmlBuilder:Q4});Nm({type:"array",names:["CD"],props:{numArgs:0},handler(s){return Vlt(s),NGe(s.parser)},htmlBuilder:Y4,mathmlBuilder:Q4});ft("\\nonumber","\\gdef\\@eqnsw{0}");ft("\\notag","\\nonumber");xr({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(s,o){throw new Yn(s.funcName+" valid only within array environment")}});XWe=JGe;xr({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(s,o){var{parser:f,funcName:g}=s,p=o[0];if(p.type!=="ordgroup")throw new Yn("Invalid environment name",p);for(var y="",k=0;k{var f=s.font,g=o.withFont(f);return Fs(s.body,g)},"htmlBuilder$5"),iVe=n((s,o)=>{var f=s.font,g=o.withFont(f);return Oc(s.body,g)},"mathmlBuilder$4"),YWe={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak"};xr({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:n((s,o)=>{var{parser:f,funcName:g}=s,p=Plt(o[0]),y=g;return y in YWe&&(y=YWe[y]),{type:"font",mode:f.mode,font:y.slice(1),body:p}},"handler"),htmlBuilder:rVe,mathmlBuilder:iVe});xr({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:n((s,o)=>{var{parser:f}=s,g=o[0];return{type:"mclass",mode:f.mode,mclass:Ult(g),body:[{type:"font",mode:f.mode,font:"boldsymbol",body:g}],isCharacterBox:Jv(g)}},"handler")});xr({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:n((s,o)=>{var{parser:f,funcName:g,breakOnTokenText:p}=s,{mode:y}=f,k=f.parseExpression(!0,p);return{type:"font",mode:y,font:"math"+g.slice(1),body:{type:"ordgroup",mode:f.mode,body:k}}},"handler"),htmlBuilder:rVe,mathmlBuilder:iVe});Sln=n((s,o)=>{var f=o.style,g=f.fracNum(),p=f.fracDen(),y;y=o.havingStyle(g);var k=Fs(s.numer,y,o);if(s.continued){var T=8.5/o.fontMetrics().ptPerEm,B=3.5/o.fontMetrics().ptPerEm;k.height=k.height0?$=3*F:$=7*F,z=o.fontMetrics().denom1):(L>0?(j=o.fontMetrics().num2,$=F):(j=o.fontMetrics().num3,$=3*F),z=o.fontMetrics().denom2);var U;if(M){var V=o.fontMetrics().axisHeight;j-k.depth-(V+.5*L)<$&&(j+=$-(j-k.depth-(V+.5*L))),V-.5*L-(v.height-z)<$&&(z+=$-(V-.5*L-(v.height-z)));var nt=-(V-.5*L);U=_s({positionType:"individualShift",children:[{type:"elem",elem:v,shift:z},{type:"elem",elem:M,shift:nt},{type:"elem",elem:k,shift:-j}]})}else{var at=j-k.depth-(v.height-z);at<$&&(j+=.5*($-at),z+=.5*($-at)),U=_s({positionType:"individualShift",children:[{type:"elem",elem:v,shift:z},{type:"elem",elem:k,shift:-j}]})}y=o.havingStyle(f),U.height*=y.sizeMultiplier/o.sizeMultiplier,U.depth*=y.sizeMultiplier/o.sizeMultiplier;var dt;f.size===Ca.DISPLAY.size?dt=o.fontMetrics().delim1:f.size===Ca.SCRIPTSCRIPT.size?dt=o.havingStyle(Ca.SCRIPT).fontMetrics().delim2:dt=o.fontMetrics().delim2;var et,Ft;return s.leftDelim==null?et=rK(o,["mopen"]):et=Qte(s.leftDelim,dt,!0,o.havingStyle(f),s.mode,["mopen"]),s.continued?Ft=zn([]):s.rightDelim==null?Ft=rK(o,["mclose"]):Ft=Qte(s.rightDelim,dt,!0,o.havingStyle(f),s.mode,["mclose"]),zn(["mord"].concat(y.sizingClasses(o)),[et,zn(["mfrac"],[U]),Ft],o)},"htmlBuilder$4"),Eln=n((s,o)=>{var f=new Xn("mfrac",[Oc(s.numer,o),Oc(s.denom,o)]);if(!s.hasBarLine)f.setAttribute("linethickness","0px");else if(s.barSize){var g=Zl(s.barSize,o);f.setAttribute("linethickness",rr(g))}if(s.leftDelim!=null||s.rightDelim!=null){var p=[];if(s.leftDelim!=null){var y=new Xn("mo",[new Bu(s.leftDelim.replace("\\",""))]);y.setAttribute("fence","true"),p.push(y)}if(p.push(f),s.rightDelim!=null){var k=new Xn("mo",[new Bu(s.rightDelim.replace("\\",""))]);k.setAttribute("fence","true"),p.push(k)}return uee(p)}return f},"mathmlBuilder$3"),aVe=n((s,o)=>{if(!o)return s;var f={type:"styling",mode:s.mode,style:o,body:[s]};return f},"wrapWithStyle");xr({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:n((s,o)=>{var{parser:f,funcName:g}=s,p=o[0],y=o[1],k,T=null,B=null;switch(g){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":k=!0;break;case"\\\\atopfrac":k=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":k=!1,T="(",B=")";break;case"\\\\bracefrac":k=!1,T="\\{",B="\\}";break;case"\\\\brackfrac":k=!1,T="[",B="]";break;default:throw new Error("Unrecognized genfrac command")}var v=g==="\\cfrac",M=null;return v||g.startsWith("\\d")?M="display":g.startsWith("\\t")&&(M="text"),aVe({type:"genfrac",mode:f.mode,numer:p,denom:y,continued:v,hasBarLine:k,leftDelim:T,rightDelim:B,barSize:null},M)},"handler"),htmlBuilder:Sln,mathmlBuilder:Eln});xr({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(s){var{parser:o,funcName:f,token:g}=s,p;switch(f){case"\\over":p="\\frac";break;case"\\choose":p="\\binom";break;case"\\atop":p="\\\\atopfrac";break;case"\\brace":p="\\\\bracefrac";break;case"\\brack":p="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:o.mode,replaceWith:p,token:g}}});QWe=["display","text","script","scriptscript"],JWe=n(function(s){var o=null;return s.length>0&&(o=s,o=o==="."?null:o),o},"delimFromValue");xr({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(s,o){var{parser:f}=s,g=o[4],p=o[5],y=Plt(o[0]),k=y.type==="atom"&&y.family==="open"?JWe(y.text):null,T=Plt(o[1]),B=T.type==="atom"&&T.family==="close"?JWe(T.text):null,v=Ka(o[2],"size"),M,L=null;v.isBlank?M=!0:(L=v.value,M=L.number>0);var F=null,j=o[3];if(j.type==="ordgroup"){if(j.body.length>0){var $=Ka(j.body[0],"textord");F=QWe[Number($.text)]}}else j=Ka(j,"textord"),F=QWe[Number(j.text)];return aVe({type:"genfrac",mode:f.mode,numer:g,denom:p,continued:!1,hasBarLine:M,barSize:L,leftDelim:k,rightDelim:B},F)}});xr({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(s,o){var{parser:f,funcName:g,token:p}=s;return{type:"infix",mode:f.mode,replaceWith:"\\\\abovefrac",size:Ka(o[0],"size").value,token:p}}});xr({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:n((s,o)=>{var{parser:f,funcName:g}=s,p=o[0],y=Ka(o[1],"infix").size;if(!y)throw new Error("\\\\abovefrac expected size, but got "+String(y));var k=o[2],T=y.number>0;return{type:"genfrac",mode:f.mode,numer:p,denom:k,continued:!1,hasBarLine:T,barSize:y,leftDelim:null,rightDelim:null}},"handler")});oVe=n((s,o)=>{var f=o.style,g,p;s.type==="supsub"?(g=s.sup?Fs(s.sup,o.havingStyle(f.sup()),o):Fs(s.sub,o.havingStyle(f.sub()),o),p=Ka(s.base,"horizBrace")):p=Ka(s,"horizBrace");var y=Fs(p.base,o.havingBaseStyle(Ca.DISPLAY)),k=Klt(p,o),T;if(p.isOver?T=_s({positionType:"firstBaseline",children:[{type:"elem",elem:y},{type:"kern",size:.1},{type:"elem",elem:k,wrapperClasses:["svg-align"]}]}):T=_s({positionType:"bottom",positionData:y.depth+.1+k.height,children:[{type:"elem",elem:k,wrapperClasses:["svg-align"]},{type:"kern",size:.1},{type:"elem",elem:y}]}),g){var B=zn(["minner",p.isOver?"mover":"munder"],[T],o);p.isOver?T=_s({positionType:"firstBaseline",children:[{type:"elem",elem:B},{type:"kern",size:.2},{type:"elem",elem:g}]}):T=_s({positionType:"bottom",positionData:B.depth+.2+g.height+g.depth,children:[{type:"elem",elem:g},{type:"kern",size:.2},{type:"elem",elem:B}]})}return zn(["minner",p.isOver?"mover":"munder"],[T],o)},"htmlBuilder$3"),Bln=n((s,o)=>{var f=Hlt(s.label);return new Xn(s.isOver?"mover":"munder",[Oc(s.base,o),f])},"mathmlBuilder$2");xr({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],props:{numArgs:1},handler(s,o){var{parser:f,funcName:g}=s;return{type:"horizBrace",mode:f.mode,label:g,isOver:g.includes("\\over"),base:o[0]}},htmlBuilder:oVe,mathmlBuilder:Bln});xr({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:n((s,o)=>{var{parser:f}=s,g=o[1],p=Ka(o[0],"url").url;return f.settings.isTrusted({command:"\\href",url:p})?{type:"href",mode:f.mode,href:p,body:Eu(g)}:f.formatUnsupportedCmd("\\href")},"handler"),htmlBuilder:n((s,o)=>{var f=o1(s.body,o,!1);return Hcn(s.href,[],f,o)},"htmlBuilder"),mathmlBuilder:n((s,o)=>{var f=Gk(s.body,o);return f instanceof Xn||(f=new Xn("mrow",[f])),f.setAttribute("href",s.href),f},"mathmlBuilder")});xr({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:n((s,o)=>{var{parser:f}=s,g=Ka(o[0],"url").url;if(!f.settings.isTrusted({command:"\\url",url:g}))return f.formatUnsupportedCmd("\\url");for(var p=[],y=0;y{var{parser:f,funcName:g,token:p}=s,y=Ka(o[0],"raw").string,k=o[1];f.settings.strict&&f.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var T,B={};switch(g){case"\\htmlClass":B.class=y,T={command:"\\htmlClass",class:y};break;case"\\htmlId":B.id=y,T={command:"\\htmlId",id:y};break;case"\\htmlStyle":B.style=y,T={command:"\\htmlStyle",style:y};break;case"\\htmlData":{for(var v=y.split(","),M=0;M{var f=o1(s.body,o,!1),g=["enclosing"];s.attributes.class&&g.push(...s.attributes.class.trim().split(/\s+/));var p=zn(g,f,o);for(var y in s.attributes)y!=="class"&&s.attributes.hasOwnProperty(y)&&p.setAttribute(y,s.attributes[y]);return p},"htmlBuilder"),mathmlBuilder:n((s,o)=>Gk(s.body,o),"mathmlBuilder")});xr({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:n((s,o)=>{var{parser:f}=s;return{type:"htmlmathml",mode:f.mode,html:Eu(o[0]),mathml:Eu(o[1])}},"handler"),htmlBuilder:n((s,o)=>{var f=o1(s.html,o,!1);return t6(f)},"htmlBuilder"),mathmlBuilder:n((s,o)=>Gk(s.mathml,o),"mathmlBuilder")});_te=n(function(s){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(s))return{number:+s,unit:"bp"};var o=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(s);if(!o)throw new Yn("Invalid size: '"+s+"' in \\includegraphics");var f={number:+(o[1]+o[2]),unit:o[3]};if(!wGe(f))throw new Yn("Invalid unit: '"+f.unit+"' in \\includegraphics.");return f},"sizeData");xr({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:n((s,o,f)=>{var{parser:g}=s,p={number:0,unit:"em"},y={number:.9,unit:"em"},k={number:0,unit:"em"},T="";if(f[0])for(var B=Ka(f[0],"raw").string,v=B.split(","),M=0;M{var f=Zl(s.height,o),g=0;s.totalheight.number>0&&(g=Zl(s.totalheight,o)-f);var p=0;s.width.number>0&&(p=Zl(s.width,o));var y={height:rr(f+g)};p>0&&(y.width=rr(p)),g>0&&(y.verticalAlign=rr(-g));var k=new jcn(s.src,s.alt,y);return k.height=f,k.depth=g,k},"htmlBuilder"),mathmlBuilder:n((s,o)=>{var f=new Xn("mglyph",[]);f.setAttribute("alt",s.alt);var g=Zl(s.height,o),p=0;if(s.totalheight.number>0&&(p=Zl(s.totalheight,o)-g,f.setAttribute("valign",rr(-p))),f.setAttribute("height",rr(g+p)),s.width.number>0){var y=Zl(s.width,o);f.setAttribute("width",rr(y))}return f.setAttribute("src",s.src),f},"mathmlBuilder")});xr({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(s,o){var{parser:f,funcName:g}=s,p=Ka(o[0],"size");if(f.settings.strict){var y=g[1]==="m",k=p.value.unit==="mu";y?(k||f.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" supports only mu units, "+("not "+p.value.unit+" units")),f.mode!=="math"&&f.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" works only in math mode")):k&&f.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" doesn't support mu units")}return{type:"kern",mode:f.mode,dimension:p.value}},htmlBuilder(s,o){return EGe(s.dimension,o)},mathmlBuilder(s,o){var f=Zl(s.dimension,o);return new _Ge(f)}});xr({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:n((s,o)=>{var{parser:f,funcName:g}=s,p=o[0];return{type:"lap",mode:f.mode,alignment:g.slice(5),body:p}},"handler"),htmlBuilder:n((s,o)=>{var f;s.alignment==="clap"?(f=zn([],[Fs(s.body,o)]),f=zn(["inner"],[f],o)):f=zn(["inner"],[Fs(s.body,o)]);var g=zn(["fix"],[]),p=zn([s.alignment],[f,g],o),y=zn(["strut"]);return y.style.height=rr(p.height+p.depth),p.depth&&(y.style.verticalAlign=rr(-p.depth)),p.children.unshift(y),p=zn(["thinbox"],[p],o),zn(["mord","vbox"],[p],o)},"htmlBuilder"),mathmlBuilder:n((s,o)=>{var f=new Xn("mpadded",[Oc(s.body,o)]);if(s.alignment!=="rlap"){var g=s.alignment==="llap"?"-1":"-0.5";f.setAttribute("lspace",g+"width")}return f.setAttribute("width","0px"),f},"mathmlBuilder")});xr({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(s,o){var{funcName:f,parser:g}=s,p=g.mode;g.switchMode("math");var y=f==="\\("?"\\)":"$",k=g.parseExpression(!1,y);return g.expect(y),g.switchMode(p),{type:"styling",mode:g.mode,style:"text",resetFont:!0,body:k}}});xr({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(s,o){throw new Yn("Mismatched "+s.funcName)}});ZWe=n((s,o)=>{switch(o.style.size){case Ca.DISPLAY.size:return s.display;case Ca.TEXT.size:return s.text;case Ca.SCRIPT.size:return s.script;case Ca.SCRIPTSCRIPT.size:return s.scriptscript;default:return s.text}},"chooseMathStyle");xr({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:n((s,o)=>{var{parser:f}=s;return{type:"mathchoice",mode:f.mode,display:Eu(o[0]),text:Eu(o[1]),script:Eu(o[2]),scriptscript:Eu(o[3])}},"handler"),htmlBuilder:n((s,o)=>{var f=ZWe(s,o),g=o1(f,o,!1);return t6(g)},"htmlBuilder"),mathmlBuilder:n((s,o)=>{var f=ZWe(s,o);return Gk(f,o)},"mathmlBuilder")});sVe=n((s,o,f,g,p,y,k)=>{s=zn([],[s]);var T=f&&Jv(f),B,v;if(o){var M=Fs(o,g.havingStyle(p.sup()),g);v={elem:M,kern:Math.max(g.fontMetrics().bigOpSpacing1,g.fontMetrics().bigOpSpacing3-M.depth)}}if(f){var L=Fs(f,g.havingStyle(p.sub()),g);B={elem:L,kern:Math.max(g.fontMetrics().bigOpSpacing2,g.fontMetrics().bigOpSpacing4-L.height)}}var F;if(v&&B){var j=g.fontMetrics().bigOpSpacing5+B.elem.height+B.elem.depth+B.kern+s.depth+k;F=_s({positionType:"bottom",positionData:j,children:[{type:"kern",size:g.fontMetrics().bigOpSpacing5},{type:"elem",elem:B.elem,marginLeft:rr(-y)},{type:"kern",size:B.kern},{type:"elem",elem:s},{type:"kern",size:v.kern},{type:"elem",elem:v.elem,marginLeft:rr(y)},{type:"kern",size:g.fontMetrics().bigOpSpacing5}]})}else if(B){var $=s.height-k;F=_s({positionType:"top",positionData:$,children:[{type:"kern",size:g.fontMetrics().bigOpSpacing5},{type:"elem",elem:B.elem,marginLeft:rr(-y)},{type:"kern",size:B.kern},{type:"elem",elem:s}]})}else if(v){var z=s.depth+k;F=_s({positionType:"bottom",positionData:z,children:[{type:"elem",elem:s},{type:"kern",size:v.kern},{type:"elem",elem:v.elem,marginLeft:rr(y)},{type:"kern",size:g.fontMetrics().bigOpSpacing5}]})}else return s;var U=[F];if(B&&y!==0&&!T){var V=zn(["mspace"],[],g);V.style.marginRight=rr(y),U.unshift(V)}return zn(["mop","op-limits"],U,g)},"assembleSupSub"),cVe=new Set(["\\smallint"]),uO=n((s,o)=>{var f,g,p=!1,y;s.type==="supsub"?(f=s.sup,g=s.sub,y=Ka(s.base,"op"),p=!0):y=Ka(s,"op");var k=o.style,T=!1;k.size===Ca.DISPLAY.size&&y.symbol&&!cVe.has(y.name)&&(T=!0);var B,v;if(y.symbol){var M=T?"Size2-Regular":"Size1-Regular",L="";if((y.name==="\\oiint"||y.name==="\\oiiint")&&(L=y.name.slice(1),y.name=L==="oiint"?"\\iint":"\\iiint"),B=gf(y.name,M,"math",o,["mop","op-symbol",T?"large-op":"small-op"]),v=B.italic,L.length>0){var F=MGe(L+"Size"+(T?"2":"1"),o);B=_s({positionType:"individualShift",children:[{type:"elem",elem:B,shift:0},{type:"elem",elem:F,shift:T?.08:0}]}),y.name="\\"+L,B.classes.unshift("mop"),B.italic=v}}else if(y.body){var j=o1(y.body,o,!0);j.length===1&&j[0]instanceof dp?(B=j[0],B.classes[0]="mop"):B=zn(["mop"],j,o)}else{for(var $=[],z=1;z{var f;if(s.symbol)f=new Xn("mo",[V2(s.name,s.mode)]),cVe.has(s.name)&&f.setAttribute("largeop","false");else if(s.body)f=new Xn("mo",bp(s.body,o));else{f=new Xn("mi",[new Bu(s.name.slice(1))]);var g=new Xn("mo",[V2("\u2061","text")]);s.parentIsSupSub?f=new Xn("mrow",[f,g]):f=hee([f,g])}return f},"mathmlBuilder$1"),Mln={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};xr({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:n((s,o)=>{var{parser:f,funcName:g}=s,p=g;return p.length===1&&(p=Mln[p]),{type:"op",mode:f.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:p}},"handler"),htmlBuilder:uO,mathmlBuilder:cK});xr({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:n((s,o)=>{var{parser:f}=s,g=o[0];return{type:"op",mode:f.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Eu(g)}},"handler"),htmlBuilder:uO,mathmlBuilder:cK});Aln={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};xr({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(s){var{parser:o,funcName:f}=s;return{type:"op",mode:o.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:f}},htmlBuilder:uO,mathmlBuilder:cK});xr({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(s){var{parser:o,funcName:f}=s;return{type:"op",mode:o.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:f}},htmlBuilder:uO,mathmlBuilder:cK});xr({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0,allowedInArgument:!0},handler(s){var{parser:o,funcName:f}=s,g=f;return g.length===1&&(g=Aln[g]),{type:"op",mode:o.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:g}},htmlBuilder:uO,mathmlBuilder:cK});lVe=n((s,o)=>{var f,g,p=!1,y;s.type==="supsub"?(f=s.sup,g=s.sub,y=Ka(s.base,"operatorname"),p=!0):y=Ka(s,"operatorname");var k;if(y.body.length>0){for(var T=y.body.map(L=>{var F="text"in L?L.text:void 0;return typeof F=="string"?{type:"textord",mode:L.mode,text:F}:L}),B=o1(T,o.withFont("mathrm"),!0),v=0;v{for(var f=bp(s.body,o.withFont("mathrm")),g=!0,p=0;pM.toText()).join("");f=[new Bu(T)]}var B=new Xn("mi",f);B.setAttribute("mathvariant","normal");var v=new Xn("mo",[V2("\u2061","text")]);return s.parentIsSupSub?new Xn("mrow",[B,v]):hee([B,v])},"mathmlBuilder");xr({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:n((s,o)=>{var{parser:f,funcName:g}=s,p=o[0];return{type:"operatorname",mode:f.mode,body:Eu(p),alwaysHandleSupSub:g==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},"handler"),htmlBuilder:lVe,mathmlBuilder:Lln});ft("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Vk({type:"ordgroup",htmlBuilder(s,o){return s.semisimple?t6(o1(s.body,o,!1)):zn(["mord"],o1(s.body,o,!0),o)},mathmlBuilder(s,o){return Gk(s.body,o,!0)}});xr({type:"overline",names:["\\overline"],props:{numArgs:1},handler(s,o){var{parser:f}=s,g=o[0];return{type:"overline",mode:f.mode,body:g}},htmlBuilder(s,o){var f=Fs(s.body,o.havingCrampedStyle()),g=oO("overline-line",o),p=o.fontMetrics().defaultRuleThickness,y=_s({positionType:"firstBaseline",children:[{type:"elem",elem:f},{type:"kern",size:3*p},{type:"elem",elem:g},{type:"kern",size:p}]});return zn(["mord","overline"],[y],o)},mathmlBuilder(s,o){var f=new Xn("mo",[new Bu("\u203E")]);f.setAttribute("stretchy","true");var g=new Xn("mover",[Oc(s.body,o),f]);return g.setAttribute("accent","true"),g}});xr({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:n((s,o)=>{var{parser:f}=s,g=o[0];return{type:"phantom",mode:f.mode,body:Eu(g)}},"handler"),htmlBuilder:n((s,o)=>{var f=o1(s.body,o.withPhantom(),!1);return t6(f)},"htmlBuilder"),mathmlBuilder:n((s,o)=>{var f=bp(s.body,o);return new Xn("mphantom",f)},"mathmlBuilder")});ft("\\hphantom","\\smash{\\phantom{#1}}");xr({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:n((s,o)=>{var{parser:f}=s,g=o[0];return{type:"vphantom",mode:f.mode,body:g}},"handler"),htmlBuilder:n((s,o)=>{var f=zn(["inner"],[Fs(s.body,o.withPhantom())]),g=zn(["fix"],[]);return zn(["mord","rlap"],[f,g],o)},"htmlBuilder"),mathmlBuilder:n((s,o)=>{var f=bp(Eu(s.body),o),g=new Xn("mphantom",f),p=new Xn("mpadded",[g]);return p.setAttribute("width","0px"),p},"mathmlBuilder")});xr({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(s,o){var{parser:f}=s,g=Ka(o[0],"size").value,p=o[1];return{type:"raisebox",mode:f.mode,dy:g,body:p}},htmlBuilder(s,o){var f=Fs(s.body,o),g=Zl(s.dy,o);return _s({positionType:"shift",positionData:-g,children:[{type:"elem",elem:f}]})},mathmlBuilder(s,o){var f=new Xn("mpadded",[Oc(s.body,o)]),g=s.dy.number+s.dy.unit;return f.setAttribute("voffset",g),f}});xr({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(s){var{parser:o}=s;return{type:"internal",mode:o.mode}}});xr({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(s,o,f){var{parser:g}=s,p=f[0],y=Ka(o[0],"size"),k=Ka(o[1],"size");return{type:"rule",mode:g.mode,shift:p&&Ka(p,"size").value,width:y.value,height:k.value}},htmlBuilder(s,o){var f=zn(["mord","rule"],[],o),g=Zl(s.width,o),p=Zl(s.height,o),y=s.shift?Zl(s.shift,o):0;return f.style.borderRightWidth=rr(g),f.style.borderTopWidth=rr(p),f.style.bottom=rr(y),f.width=g,f.height=p+y,f.depth=-y,f.maxFontSize=p*1.125*o.sizeMultiplier,f},mathmlBuilder(s,o){var f=Zl(s.width,o),g=Zl(s.height,o),p=s.shift?Zl(s.shift,o):0,y=o.color&&o.getColor()||"black",k=new Xn("mspace");k.setAttribute("mathbackground",y),k.setAttribute("width",rr(f)),k.setAttribute("height",rr(g));var T=new Xn("mpadded",[k]);return p>=0?T.setAttribute("height",rr(p)):(T.setAttribute("height",rr(p)),T.setAttribute("depth",rr(-p))),T.setAttribute("voffset",rr(p)),T}});n(wee,"sizingGroup");tGe=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],_ln=n((s,o)=>{var f=o.havingSize(s.size);return wee(s.body,f,o)},"htmlBuilder");xr({type:"sizing",names:tGe,props:{numArgs:0,allowedInText:!0},handler:n((s,o)=>{var{breakOnTokenText:f,funcName:g,parser:p}=s,y=p.parseExpression(!1,f);return{type:"sizing",mode:p.mode,size:tGe.indexOf(g)+1,body:y}},"handler"),htmlBuilder:_ln,mathmlBuilder:n((s,o)=>{var f=o.havingSize(s.size),g=bp(s.body,f),p=new Xn("mstyle",g);return p.setAttribute("mathsize",rr(f.sizeMultiplier)),p},"mathmlBuilder")});xr({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:n((s,o,f)=>{var{parser:g}=s,p=!1,y=!1,k=f[0]&&Ka(f[0],"ordgroup");if(k)for(var T,B=0;B{var f=zn([],[Fs(s.body,o)]);if(!s.smashHeight&&!s.smashDepth)return f;if(s.smashHeight&&(f.height=0),s.smashDepth&&(f.depth=0),s.smashHeight&&s.smashDepth)return zn(["mord","smash"],[f],o);if(f.children)for(var g=0;g{var f=new Xn("mpadded",[Oc(s.body,o)]);return s.smashHeight&&f.setAttribute("height","0px"),s.smashDepth&&f.setAttribute("depth","0px"),f},"mathmlBuilder")});xr({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(s,o,f){var{parser:g}=s,p=f[0],y=o[0];return{type:"sqrt",mode:g.mode,body:y,index:p}},htmlBuilder(s,o){var f=Fs(s.body,o.havingCrampedStyle());f.height===0&&(f.height=o.fontMetrics().xHeight),f=sO(f,o);var g=o.fontMetrics(),p=g.defaultRuleThickness,y=p;o.style.idf.height+f.depth+k&&(k=(k+L-f.height-f.depth)/2);var F=B.height-f.height-k-v;f.style.paddingLeft=rr(M);var j=_s({positionType:"firstBaseline",children:[{type:"elem",elem:f,wrapperClasses:["svg-align"]},{type:"kern",size:-(f.height+F)},{type:"elem",elem:B},{type:"kern",size:v}]});if(s.index){var $=o.havingStyle(Ca.SCRIPTSCRIPT),z=Fs(s.index,$,o),U=.6*(j.height-j.depth),V=_s({positionType:"shift",positionData:-U,children:[{type:"elem",elem:z}]}),nt=zn(["root"],[V]);return zn(["mord","sqrt"],[nt,j],o)}else return zn(["mord","sqrt"],[j],o)},mathmlBuilder(s,o){var{body:f,index:g}=s;return g?new Xn("mroot",[Oc(f,o),Oc(g,o)]):new Xn("msqrt",[Oc(f,o)])}});eee={display:Ca.DISPLAY,text:Ca.TEXT,script:Ca.SCRIPT,scriptscript:Ca.SCRIPTSCRIPT};n(hVe,"isStyleStr");xr({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(s,o){var{breakOnTokenText:f,funcName:g,parser:p}=s,y=p.parseExpression(!0,f),k=g.slice(1,g.length-5);if(!hVe(k))throw new Error("Unknown style: "+k);return{type:"styling",mode:p.mode,style:k,body:y}},htmlBuilder(s,o){var f=eee[s.style],g=o.havingStyle(f);return s.resetFont&&(g=g.withFont("")),wee(s.body,g,o)},mathmlBuilder(s,o){var f=eee[s.style],g=o.havingStyle(f);s.resetFont&&(g=g.withFont(""));var p=bp(s.body,g),y=new Xn("mstyle",p),k={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},T=k[s.style];return y.setAttribute("scriptlevel",T[0]),y.setAttribute("displaystyle",T[1]),y}});Fln=n(function(s,o){var f=s.base;if(f)if(f.type==="op"){var g=f.limits&&(o.style.size===Ca.DISPLAY.size||f.alwaysHandleSupSub);return g?uO:null}else if(f.type==="operatorname"){var p=f.alwaysHandleSupSub&&(o.style.size===Ca.DISPLAY.size||f.limits);return p?lVe:null}else{if(f.type==="accent")return Jv(f.base)?fee:null;if(f.type==="horizBrace"){var y=!s.sub;return y===f.isOver?oVe:null}else return null}else return null},"htmlBuilderDelegate");Vk({type:"supsub",htmlBuilder(s,o){var f=Fln(s,o);if(f)return f(s,o);var{base:g,sup:p,sub:y}=s,k=Fs(g,o),T,B,v=o.fontMetrics(),M=0,L=0,F=g&&Jv(g);if(p){var j=o.havingStyle(o.style.sup());T=Fs(p,j,o),F||(M=k.height-j.fontMetrics().supDrop*j.sizeMultiplier/o.sizeMultiplier)}if(y){var $=o.havingStyle(o.style.sub());B=Fs(y,$,o),F||(L=k.depth+$.fontMetrics().subDrop*$.sizeMultiplier/o.sizeMultiplier)}var z;o.style===Ca.DISPLAY?z=v.sup1:o.style.cramped?z=v.sup3:z=v.sup2;var U=o.sizeMultiplier,V=rr(.5/v.ptPerEm/U),nt=null;if(B){var at=s.base&&s.base.type==="op"&&s.base.name&&(s.base.name==="\\oiint"||s.base.name==="\\oiiint");if(k instanceof dp||at){var dt;nt=rr(-((dt=k.italic)!=null?dt:0))}}var et;if(T&&B){M=Math.max(M,z,T.depth+.25*v.xHeight),L=Math.max(L,v.sub2);var Ft=v.defaultRuleThickness,Nt=4*Ft;if(M-T.depth-(B.height-L)0&&(M+=se,L-=se)}var Ge=[{type:"elem",elem:B,shift:L,marginRight:V,marginLeft:nt},{type:"elem",elem:T,shift:-M,marginRight:V}];et=_s({positionType:"individualShift",children:Ge})}else if(B){L=Math.max(L,v.sub1,B.height-.8*v.xHeight);var Ue=[{type:"elem",elem:B,marginLeft:nt,marginRight:V}];et=_s({positionType:"shift",positionData:L,children:Ue})}else if(T)M=Math.max(M,z,T.depth+.25*v.xHeight),et=_s({positionType:"shift",positionData:-M,children:[{type:"elem",elem:T,marginRight:V}]});else throw new Error("supsub must have either sup or sub.");var me=Gte(k,"right")||"mord";return zn([me],[k,zn(["msupsub"],[et])],o)},mathmlBuilder(s,o){var f=!1,g,p;s.base&&s.base.type==="horizBrace"&&(p=!!s.sup,p===s.base.isOver&&(f=!0,g=s.base.isOver)),s.base&&(s.base.type==="op"||s.base.type==="operatorname")&&(s.base.parentIsSupSub=!0);var y=[Oc(s.base,o)];s.sub&&y.push(Oc(s.sub,o)),s.sup&&y.push(Oc(s.sup,o));var k;if(f)k=g?"mover":"munder";else if(s.sub)if(s.sup){var T=s.base;T&&T.type==="op"&&T.limits&&o.style===Ca.DISPLAY||T&&T.type==="operatorname"&&T.alwaysHandleSupSub&&(o.style===Ca.DISPLAY||T.limits)?k="munderover":k="msubsup"}else{var B=s.base;B&&B.type==="op"&&B.limits&&(o.style===Ca.DISPLAY||B.alwaysHandleSupSub)||B&&B.type==="operatorname"&&B.alwaysHandleSupSub&&(B.limits||o.style===Ca.DISPLAY)?k="munder":k="msub"}else{var v=s.base;v&&v.type==="op"&&v.limits&&(o.style===Ca.DISPLAY||v.alwaysHandleSupSub)||v&&v.type==="operatorname"&&v.alwaysHandleSupSub&&(v.limits||o.style===Ca.DISPLAY)?k="mover":k="msup"}return new Xn(k,y)}});Vk({type:"atom",htmlBuilder(s,o){return cee(s.text,s.mode,o,["m"+s.family])},mathmlBuilder(s,o){var f=new Xn("mo",[V2(s.text,s.mode)]);if(s.family==="bin"){var g=dee(s,o);g==="bold-italic"&&f.setAttribute("mathvariant",g)}else s.family==="punct"?f.setAttribute("separator","true"):(s.family==="open"||s.family==="close")&&f.setAttribute("stretchy","false");return f}});uVe={mi:"italic",mn:"normal",mtext:"normal"};Vk({type:"mathord",htmlBuilder(s,o){return qlt(s,o,"mathord")},mathmlBuilder(s,o){var f=new Xn("mi",[V2(s.text,s.mode,o)]),g=dee(s,o)||"italic";return g!==uVe[f.type]&&f.setAttribute("mathvariant",g),f}});Vk({type:"textord",htmlBuilder(s,o){return qlt(s,o,"textord")},mathmlBuilder(s,o){var f=V2(s.text,s.mode,o),g=dee(s,o)||"normal",p;return s.mode==="text"?p=new Xn("mtext",[f]):/[0-9]/.test(s.text)?p=new Xn("mn",[f]):s.text==="\\prime"?p=new Xn("mo",[f]):p=new Xn("mi",[f]),g!==uVe[p.type]&&p.setAttribute("mathvariant",g),p}});Fte={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Ote={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Vk({type:"spacing",htmlBuilder(s,o){if(Ote.hasOwnProperty(s.text)){var f=Ote[s.text].className||"";if(s.mode==="text"){var g=qlt(s,o,"textord");return g.classes.push(f),g}else return zn(["mspace",f],[cee(s.text,s.mode,o)],o)}else{if(Fte.hasOwnProperty(s.text))return zn(["mspace",Fte[s.text]],[],o);throw new Yn('Unknown type of space "'+s.text+'"')}},mathmlBuilder(s,o){var f;if(Ote.hasOwnProperty(s.text))f=new Xn("mtext",[new Bu("\xA0")]);else{if(Fte.hasOwnProperty(s.text))return new Xn("mspace");throw new Yn('Unknown type of space "'+s.text+'"')}return f}});eGe=n(()=>{var s=new Xn("mtd",[]);return s.setAttribute("width","50%"),s},"pad");Vk({type:"tag",mathmlBuilder(s,o){var f=new Xn("mtable",[new Xn("mtr",[eGe(),new Xn("mtd",[Gk(s.body,o)]),eGe(),new Xn("mtd",[Gk(s.tag,o)])])]);return f.setAttribute("width","100%"),f}});nGe={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},rGe={"\\textbf":"textbf","\\textmd":"textmd"},Oln={"\\textit":"textit","\\textup":"textup"},iGe=n((s,o)=>{var f=s.font;if(f){if(nGe[f])return o.withTextFontFamily(nGe[f]);if(rGe[f])return o.withTextFontWeight(rGe[f]);if(f==="\\emph")return o.fontShape==="textit"?o.withTextFontShape("textup"):o.withTextFontShape("textit")}else return o;return o.withTextFontShape(Oln[f])},"optionsWithFont");xr({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(s,o){var{parser:f,funcName:g}=s,p=o[0];return{type:"text",mode:f.mode,body:Eu(p),font:g}},htmlBuilder(s,o){var f=iGe(s,o),g=o1(s.body,f,!0);return zn(["mord","text"],g,f)},mathmlBuilder(s,o){var f=iGe(s,o);return Gk(s.body,f)}});xr({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(s,o){var{parser:f}=s;return{type:"underline",mode:f.mode,body:o[0]}},htmlBuilder(s,o){var f=Fs(s.body,o),g=oO("underline-line",o),p=o.fontMetrics().defaultRuleThickness,y=_s({positionType:"top",positionData:f.height,children:[{type:"kern",size:p},{type:"elem",elem:g},{type:"kern",size:3*p},{type:"elem",elem:f}]});return zn(["mord","underline"],[y],o)},mathmlBuilder(s,o){var f=new Xn("mo",[new Bu("\u203E")]);f.setAttribute("stretchy","true");var g=new Xn("munder",[Oc(s.body,o),f]);return g.setAttribute("accentunder","true"),g}});xr({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(s,o){var{parser:f}=s;return{type:"vcenter",mode:f.mode,body:o[0]}},htmlBuilder(s,o){var f=Fs(s.body,o),g=o.fontMetrics().axisHeight,p=.5*(f.height-g-(f.depth+g));return _s({positionType:"shift",positionData:p,children:[{type:"elem",elem:f}]})},mathmlBuilder(s,o){var f=new Xn("mpadded",[Oc(s.body,o)],["vcenter"]);return new Xn("mrow",[f])}});xr({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(s,o,f){throw new Yn("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(s,o){for(var f=aGe(s),g=[],p=o.havingStyle(o.style.text()),y=0;ys.body.replace(/ /g,s.star?"\u2423":"\xA0"),"makeVerb"),Hk=AGe,dVe=`[ \r + ]`,Dln="\\\\[a-zA-Z@]+",jln="\\\\[^\uD800-\uDFFF]",Iln="("+Dln+")"+dVe+"*",Pln=`\\\\( +|[ \r ]+ +?)[ \r ]*`,nee="[\u0300-\u036F]",$ln=new RegExp(nee+"+$"),Nln="("+dVe+"+)|"+(Pln+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(nee+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(nee+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Iln)+("|"+jln+")"),oGe=class{static{n(this,"Lexer")}constructor(s,o){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=s,this.settings=o,this.tokenRegex=new RegExp(Nln,"g"),this.catcodes={"%":14,"~":13}}setCatcode(s,o){this.catcodes[s]=o}lex(){var s=this.input,o=this.tokenRegex.lastIndex;if(o===s.length)return new $m("EOF",new W2(this,o,o));var f=this.tokenRegex.exec(s);if(f===null||f.index!==o)throw new Yn("Unexpected character: '"+s[o]+"'",new $m(s[o],new W2(this,o,o+1)));var g=f[6]||f[3]||(f[2]?"\\ ":" ");if(this.catcodes[g]===14){var p=s.indexOf(` +`,this.tokenRegex.lastIndex);return p===-1?(this.tokenRegex.lastIndex=s.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=p+1,this.lex()}return new $m(g,new W2(this,o,this.tokenRegex.lastIndex))}},Rln=class{static{n(this,"Namespace")}constructor(s,o){s===void 0&&(s={}),o===void 0&&(o={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=o,this.builtins=s,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Yn("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var s=this.undefStack.pop();for(var o in s)s.hasOwnProperty(o)&&(s[o]==null?delete this.current[o]:this.current[o]=s[o])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(s){return this.current.hasOwnProperty(s)||this.builtins.hasOwnProperty(s)}get(s){return this.current.hasOwnProperty(s)?this.current[s]:this.builtins[s]}set(s,o,f){if(f===void 0&&(f=!1),f){for(var g=0;g0&&(this.undefStack[this.undefStack.length-1][s]=o)}else{var p=this.undefStack[this.undefStack.length-1];p&&!p.hasOwnProperty(s)&&(p[s]=this.current[s])}o==null?delete this.current[s]:this.current[s]=o}},zln=ZGe;ft("\\noexpand",function(s){var o=s.popToken();return s.isExpandable(o.text)&&(o.noexpand=!0,o.treatAsRelax=!0),{tokens:[o],numArgs:0}});ft("\\expandafter",function(s){var o=s.popToken();return s.expandOnce(!0),{tokens:[o],numArgs:0}});ft("\\@firstoftwo",function(s){var o=s.consumeArgs(2);return{tokens:o[0],numArgs:0}});ft("\\@secondoftwo",function(s){var o=s.consumeArgs(2);return{tokens:o[1],numArgs:0}});ft("\\@ifnextchar",function(s){var o=s.consumeArgs(3);s.consumeSpaces();var f=s.future();return o[0].length===1&&o[0][0].text===f.text?{tokens:o[1],numArgs:0}:{tokens:o[2],numArgs:0}});ft("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");ft("\\TextOrMath",function(s){var o=s.consumeArgs(2);return s.mode==="text"?{tokens:o[0],numArgs:0}:{tokens:o[1],numArgs:0}});sGe={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};ft("\\char",function(s){var o=s.popToken(),f,g=0;if(o.text==="'")f=8,o=s.popToken();else if(o.text==='"')f=16,o=s.popToken();else if(o.text==="`")if(o=s.popToken(),o.text[0]==="\\")g=o.text.charCodeAt(1);else{if(o.text==="EOF")throw new Yn("\\char` missing argument");g=o.text.charCodeAt(0)}else f=10;if(f){if(g=sGe[o.text],g==null||g>=f)throw new Yn("Invalid base-"+f+" digit "+o.text);for(var p;(p=sGe[s.future().text])!=null&&p{var p=s.consumeArg().tokens;if(p.length!==1)throw new Yn("\\newcommand's first argument must be a macro name");var y=p[0].text,k=s.isDefined(y);if(k&&!o)throw new Yn("\\newcommand{"+y+"} attempting to redefine "+(y+"; use \\renewcommand"));if(!k&&!f)throw new Yn("\\renewcommand{"+y+"} when command "+y+" does not yet exist; use \\newcommand");var T=0;if(p=s.consumeArg().tokens,p.length===1&&p[0].text==="["){for(var B="",v=s.expandNextToken();v.text!=="]"&&v.text!=="EOF";)B+=v.text,v=s.expandNextToken();if(!B.match(/^\s*[0-9]+\s*$/))throw new Yn("Invalid number of arguments: "+B);T=parseInt(B),p=s.consumeArg().tokens}return k&&g||s.macros.set(y,{tokens:p,numArgs:T}),""},"newcommand");ft("\\newcommand",s=>mee(s,!1,!0,!1));ft("\\renewcommand",s=>mee(s,!0,!1,!1));ft("\\providecommand",s=>mee(s,!0,!0,!0));ft("\\message",s=>{var o=s.consumeArgs(1)[0];return console.log(o.reverse().map(f=>f.text).join("")),""});ft("\\errmessage",s=>{var o=s.consumeArgs(1)[0];return console.error(o.reverse().map(f=>f.text).join("")),""});ft("\\show",s=>{var o=s.popToken(),f=o.text;return console.log(o,s.macros.get(f),Hk[f],_l.math[f],_l.text[f]),""});ft("\\bgroup","{");ft("\\egroup","}");ft("~","\\nobreakspace");ft("\\lq","`");ft("\\rq","'");ft("\\aa","\\r a");ft("\\AA","\\r A");ft("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");ft("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");ft("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");ft("\u212C","\\mathscr{B}");ft("\u2130","\\mathscr{E}");ft("\u2131","\\mathscr{F}");ft("\u210B","\\mathscr{H}");ft("\u2110","\\mathscr{I}");ft("\u2112","\\mathscr{L}");ft("\u2133","\\mathscr{M}");ft("\u211B","\\mathscr{R}");ft("\u212D","\\mathfrak{C}");ft("\u210C","\\mathfrak{H}");ft("\u2128","\\mathfrak{Z}");ft("\\Bbbk","\\Bbb{k}");ft("\\llap","\\mathllap{\\textrm{#1}}");ft("\\rlap","\\mathrlap{\\textrm{#1}}");ft("\\clap","\\mathclap{\\textrm{#1}}");ft("\\mathstrut","\\vphantom{(}");ft("\\underbar","\\underline{\\text{#1}}");ft("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}');ft("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");ft("\\ne","\\neq");ft("\u2260","\\neq");ft("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");ft("\u2209","\\notin");ft("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");ft("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");ft("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");ft("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");ft("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");ft("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");ft("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");ft("\u27C2","\\perp");ft("\u203C","\\mathclose{!\\mkern-0.8mu!}");ft("\u220C","\\notni");ft("\u231C","\\ulcorner");ft("\u231D","\\urcorner");ft("\u231E","\\llcorner");ft("\u231F","\\lrcorner");ft("\xA9","\\copyright");ft("\xAE","\\textregistered");ft("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');ft("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');ft("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');ft("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');ft("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");ft("\u22EE","\\vdots");ft("\\varGamma","\\mathit{\\Gamma}");ft("\\varDelta","\\mathit{\\Delta}");ft("\\varTheta","\\mathit{\\Theta}");ft("\\varLambda","\\mathit{\\Lambda}");ft("\\varXi","\\mathit{\\Xi}");ft("\\varPi","\\mathit{\\Pi}");ft("\\varSigma","\\mathit{\\Sigma}");ft("\\varUpsilon","\\mathit{\\Upsilon}");ft("\\varPhi","\\mathit{\\Phi}");ft("\\varPsi","\\mathit{\\Psi}");ft("\\varOmega","\\mathit{\\Omega}");ft("\\substack","\\begin{subarray}{c}#1\\end{subarray}");ft("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");ft("\\boxed","\\fbox{$\\displaystyle{#1}$}");ft("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");ft("\\implies","\\DOTSB\\;\\Longrightarrow\\;");ft("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");ft("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");ft("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");cGe={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"},qln=new Set(["bin","rel"]);ft("\\dots",function(s){var o="\\dotso",f=s.expandAfterFuture().text;return f in cGe?o=cGe[f]:(f.slice(0,4)==="\\not"||f in _l.math&&qln.has(_l.math[f].group))&&(o="\\dotsb"),o});yee={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};ft("\\dotso",function(s){var o=s.future().text;return o in yee?"\\ldots\\,":"\\ldots"});ft("\\dotsc",function(s){var o=s.future().text;return o in yee&&o!==","?"\\ldots\\,":"\\ldots"});ft("\\cdots",function(s){var o=s.future().text;return o in yee?"\\@cdots\\,":"\\@cdots"});ft("\\dotsb","\\cdots");ft("\\dotsm","\\cdots");ft("\\dotsi","\\!\\cdots");ft("\\dotsx","\\ldots\\,");ft("\\DOTSI","\\relax");ft("\\DOTSB","\\relax");ft("\\DOTSX","\\relax");ft("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");ft("\\,","\\tmspace+{3mu}{.1667em}");ft("\\thinspace","\\,");ft("\\>","\\mskip{4mu}");ft("\\:","\\tmspace+{4mu}{.2222em}");ft("\\medspace","\\:");ft("\\;","\\tmspace+{5mu}{.2777em}");ft("\\thickspace","\\;");ft("\\!","\\tmspace-{3mu}{.1667em}");ft("\\negthinspace","\\!");ft("\\negmedspace","\\tmspace-{4mu}{.2222em}");ft("\\negthickspace","\\tmspace-{5mu}{.277em}");ft("\\enspace","\\kern.5em ");ft("\\enskip","\\hskip.5em\\relax");ft("\\quad","\\hskip1em\\relax");ft("\\qquad","\\hskip2em\\relax");ft("\\tag","\\@ifstar\\tag@literal\\tag@paren");ft("\\tag@paren","\\tag@literal{({#1})}");ft("\\tag@literal",s=>{if(s.macros.get("\\df@tag"))throw new Yn("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});ft("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");ft("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");ft("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");ft("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");ft("\\newline","\\\\\\relax");ft("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");fVe=rr(X4["Main-Regular"][84][1]-.7*X4["Main-Regular"][65][1]);ft("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+fVe+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");ft("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+fVe+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");ft("\\hspace","\\@ifstar\\@hspacer\\@hspace");ft("\\@hspace","\\hskip #1\\relax");ft("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");ft("\\ordinarycolon",":");ft("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");ft("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');ft("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');ft("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');ft("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');ft("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');ft("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');ft("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');ft("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');ft("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');ft("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');ft("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');ft("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');ft("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');ft("\u2237","\\dblcolon");ft("\u2239","\\eqcolon");ft("\u2254","\\coloneqq");ft("\u2255","\\eqqcolon");ft("\u2A74","\\Coloneqq");ft("\\ratio","\\vcentcolon");ft("\\coloncolon","\\dblcolon");ft("\\colonequals","\\coloneqq");ft("\\coloncolonequals","\\Coloneqq");ft("\\equalscolon","\\eqqcolon");ft("\\equalscoloncolon","\\Eqqcolon");ft("\\colonminus","\\coloneq");ft("\\coloncolonminus","\\Coloneq");ft("\\minuscolon","\\eqcolon");ft("\\minuscoloncolon","\\Eqcolon");ft("\\coloncolonapprox","\\Colonapprox");ft("\\coloncolonsim","\\Colonsim");ft("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");ft("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");ft("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");ft("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");ft("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");ft("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");ft("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");ft("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");ft("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");ft("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");ft("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");ft("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");ft("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");ft("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");ft("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");ft("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");ft("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");ft("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");ft("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");ft("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");ft("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");ft("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");ft("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");ft("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");ft("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");ft("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");ft("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");ft("\\imath","\\html@mathml{\\@imath}{\u0131}");ft("\\jmath","\\html@mathml{\\@jmath}{\u0237}");ft("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");ft("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");ft("\u27E6","\\llbracket");ft("\u27E7","\\rrbracket");ft("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");ft("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");ft("\u2983","\\lBrace");ft("\u2984","\\rBrace");ft("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");ft("\u29B5","\\minuso");ft("\\darr","\\downarrow");ft("\\dArr","\\Downarrow");ft("\\Darr","\\Downarrow");ft("\\lang","\\langle");ft("\\rang","\\rangle");ft("\\uarr","\\uparrow");ft("\\uArr","\\Uparrow");ft("\\Uarr","\\Uparrow");ft("\\N","\\mathbb{N}");ft("\\R","\\mathbb{R}");ft("\\Z","\\mathbb{Z}");ft("\\alef","\\aleph");ft("\\alefsym","\\aleph");ft("\\Alpha","\\mathrm{A}");ft("\\Beta","\\mathrm{B}");ft("\\bull","\\bullet");ft("\\Chi","\\mathrm{X}");ft("\\clubs","\\clubsuit");ft("\\cnums","\\mathbb{C}");ft("\\Complex","\\mathbb{C}");ft("\\Dagger","\\ddagger");ft("\\diamonds","\\diamondsuit");ft("\\empty","\\emptyset");ft("\\Epsilon","\\mathrm{E}");ft("\\Eta","\\mathrm{H}");ft("\\exist","\\exists");ft("\\harr","\\leftrightarrow");ft("\\hArr","\\Leftrightarrow");ft("\\Harr","\\Leftrightarrow");ft("\\hearts","\\heartsuit");ft("\\image","\\Im");ft("\\infin","\\infty");ft("\\Iota","\\mathrm{I}");ft("\\isin","\\in");ft("\\Kappa","\\mathrm{K}");ft("\\larr","\\leftarrow");ft("\\lArr","\\Leftarrow");ft("\\Larr","\\Leftarrow");ft("\\lrarr","\\leftrightarrow");ft("\\lrArr","\\Leftrightarrow");ft("\\Lrarr","\\Leftrightarrow");ft("\\Mu","\\mathrm{M}");ft("\\natnums","\\mathbb{N}");ft("\\Nu","\\mathrm{N}");ft("\\Omicron","\\mathrm{O}");ft("\\plusmn","\\pm");ft("\\rarr","\\rightarrow");ft("\\rArr","\\Rightarrow");ft("\\Rarr","\\Rightarrow");ft("\\real","\\Re");ft("\\reals","\\mathbb{R}");ft("\\Reals","\\mathbb{R}");ft("\\Rho","\\mathrm{P}");ft("\\sdot","\\cdot");ft("\\sect","\\S");ft("\\spades","\\spadesuit");ft("\\sub","\\subset");ft("\\sube","\\subseteq");ft("\\supe","\\supseteq");ft("\\Tau","\\mathrm{T}");ft("\\thetasym","\\vartheta");ft("\\weierp","\\wp");ft("\\Zeta","\\mathrm{Z}");ft("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");ft("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");ft("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");ft("\\bra","\\mathinner{\\langle{#1}|}");ft("\\ket","\\mathinner{|{#1}\\rangle}");ft("\\braket","\\mathinner{\\langle{#1}\\rangle}");ft("\\Bra","\\left\\langle#1\\right|");ft("\\Ket","\\left|#1\\right\\rangle");bVe=n(s=>o=>{var f=o.consumeArg().tokens,g=o.consumeArg().tokens,p=o.consumeArg().tokens,y=o.consumeArg().tokens,k=o.macros.get("|"),T=o.macros.get("\\|");o.macros.beginGroup();var B=n(L=>F=>{s&&(F.macros.set("|",k),p.length&&F.macros.set("\\|",T));var j=L;if(!L&&p.length){var $=F.future();$.text==="|"&&(F.popToken(),j=!0)}return{tokens:j?p:g,numArgs:0}},"midMacro");o.macros.set("|",B(!1)),p.length&&o.macros.set("\\|",B(!0));var v=o.consumeArg().tokens,M=o.expandTokens([...y,...v,...f]);return o.macros.endGroup(),{tokens:M.reverse(),numArgs:0}},"braketHelper");ft("\\bra@ket",bVe(!1));ft("\\bra@set",bVe(!0));ft("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");ft("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");ft("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");ft("\\angln","{\\angl n}");ft("\\blue","\\textcolor{##6495ed}{#1}");ft("\\orange","\\textcolor{##ffa500}{#1}");ft("\\pink","\\textcolor{##ff00af}{#1}");ft("\\red","\\textcolor{##df0030}{#1}");ft("\\green","\\textcolor{##28ae7b}{#1}");ft("\\gray","\\textcolor{gray}{#1}");ft("\\purple","\\textcolor{##9d38bd}{#1}");ft("\\blueA","\\textcolor{##ccfaff}{#1}");ft("\\blueB","\\textcolor{##80f6ff}{#1}");ft("\\blueC","\\textcolor{##63d9ea}{#1}");ft("\\blueD","\\textcolor{##11accd}{#1}");ft("\\blueE","\\textcolor{##0c7f99}{#1}");ft("\\tealA","\\textcolor{##94fff5}{#1}");ft("\\tealB","\\textcolor{##26edd5}{#1}");ft("\\tealC","\\textcolor{##01d1c1}{#1}");ft("\\tealD","\\textcolor{##01a995}{#1}");ft("\\tealE","\\textcolor{##208170}{#1}");ft("\\greenA","\\textcolor{##b6ffb0}{#1}");ft("\\greenB","\\textcolor{##8af281}{#1}");ft("\\greenC","\\textcolor{##74cf70}{#1}");ft("\\greenD","\\textcolor{##1fab54}{#1}");ft("\\greenE","\\textcolor{##0d923f}{#1}");ft("\\goldA","\\textcolor{##ffd0a9}{#1}");ft("\\goldB","\\textcolor{##ffbb71}{#1}");ft("\\goldC","\\textcolor{##ff9c39}{#1}");ft("\\goldD","\\textcolor{##e07d10}{#1}");ft("\\goldE","\\textcolor{##a75a05}{#1}");ft("\\redA","\\textcolor{##fca9a9}{#1}");ft("\\redB","\\textcolor{##ff8482}{#1}");ft("\\redC","\\textcolor{##f9685d}{#1}");ft("\\redD","\\textcolor{##e84d39}{#1}");ft("\\redE","\\textcolor{##bc2612}{#1}");ft("\\maroonA","\\textcolor{##ffbde0}{#1}");ft("\\maroonB","\\textcolor{##ff92c6}{#1}");ft("\\maroonC","\\textcolor{##ed5fa6}{#1}");ft("\\maroonD","\\textcolor{##ca337c}{#1}");ft("\\maroonE","\\textcolor{##9e034e}{#1}");ft("\\purpleA","\\textcolor{##ddd7ff}{#1}");ft("\\purpleB","\\textcolor{##c6b9fc}{#1}");ft("\\purpleC","\\textcolor{##aa87ff}{#1}");ft("\\purpleD","\\textcolor{##7854ab}{#1}");ft("\\purpleE","\\textcolor{##543b78}{#1}");ft("\\mintA","\\textcolor{##f5f9e8}{#1}");ft("\\mintB","\\textcolor{##edf2df}{#1}");ft("\\mintC","\\textcolor{##e0e5cc}{#1}");ft("\\grayA","\\textcolor{##f6f7f7}{#1}");ft("\\grayB","\\textcolor{##f0f1f2}{#1}");ft("\\grayC","\\textcolor{##e3e5e6}{#1}");ft("\\grayD","\\textcolor{##d6d8da}{#1}");ft("\\grayE","\\textcolor{##babec2}{#1}");ft("\\grayF","\\textcolor{##888d93}{#1}");ft("\\grayG","\\textcolor{##626569}{#1}");ft("\\grayH","\\textcolor{##3b3e40}{#1}");ft("\\grayI","\\textcolor{##21242c}{#1}");ft("\\kaBlue","\\textcolor{##314453}{#1}");ft("\\kaGreen","\\textcolor{##71B307}{#1}");gVe={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Hln=class{static{n(this,"MacroExpander")}constructor(s,o,f){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=o,this.expansionCount=0,this.feed(s),this.macros=new Rln(zln,o.macros),this.mode=f,this.stack=[]}feed(s){this.lexer=new oGe(s,this.settings)}switchMode(s){this.mode=s}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(s){this.stack.push(s)}pushTokens(s){this.stack.push(...s)}scanArgument(s){var o,f,g;if(s){if(this.consumeSpaces(),this.future().text!=="[")return null;o=this.popToken(),{tokens:g,end:f}=this.consumeArg(["]"])}else({tokens:g,start:o,end:f}=this.consumeArg());return this.pushToken(new $m("EOF",f.loc)),this.pushTokens(g),new $m("",W2.range(o,f))}consumeSpaces(){for(;;){var s=this.future();if(s.text===" ")this.stack.pop();else break}}consumeArg(s){var o=[],f=s&&s.length>0;f||this.consumeSpaces();var g=this.future(),p,y=0,k=0;do{if(p=this.popToken(),o.push(p),p.text==="{")++y;else if(p.text==="}"){if(--y,y===-1)throw new Yn("Extra }",p)}else if(p.text==="EOF")throw new Yn("Unexpected end of input in a macro argument, expected '"+(s&&f?s[k]:"}")+"'",p);if(s&&f)if((y===0||y===1&&s[k]==="{")&&p.text===s[k]){if(++k,k===s.length){o.splice(-k,k);break}}else k=0}while(y!==0||f);return g.text==="{"&&o[o.length-1].text==="}"&&(o.pop(),o.shift()),o.reverse(),{tokens:o,start:g,end:p}}consumeArgs(s,o){if(o){if(o.length!==s+1)throw new Yn("The length of delimiters doesn't match the number of args!");for(var f=o[0],g=0;gthis.settings.maxExpand)throw new Yn("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(s){var o=this.popToken(),f=o.text,g=o.noexpand?null:this._getExpansion(f);if(g==null||s&&g.unexpandable){if(s&&g==null&&f[0]==="\\"&&!this.isDefined(f))throw new Yn("Undefined control sequence: "+f);return this.pushToken(o),!1}this.countExpansion(1);var p=g.tokens,y=this.consumeArgs(g.numArgs,g.delimiters);if(g.numArgs){p=p.slice();for(var k=p.length-1;k>=0;--k){var T=p[k];if(T.text==="#"){if(k===0)throw new Yn("Incomplete placeholder at end of macro body",T);if(T=p[--k],T.text==="#")p.splice(k+1,1);else if(/^[1-9]$/.test(T.text))p.splice(k,2,...y[+T.text-1]);else throw new Yn("Not a valid argument number",T)}}}return this.pushTokens(p),p.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var s=this.stack.pop();return s.treatAsRelax&&(s.text="\\relax"),s}}expandMacro(s){return this.macros.has(s)?this.expandTokens([new $m(s)]):void 0}expandTokens(s){var o=[],f=this.stack.length;for(this.pushTokens(s);this.stack.length>f;)if(this.expandOnce(!0)===!1){var g=this.stack.pop();g.treatAsRelax&&(g.noexpand=!1,g.treatAsRelax=!1),o.push(g)}return this.countExpansion(o.length),o}expandMacroAsText(s){var o=this.expandMacro(s);return o&&o.map(f=>f.text).join("")}_getExpansion(s){var o=this.macros.get(s);if(o==null)return o;if(s.length===1){var f=this.lexer.catcodes[s];if(f!=null&&f!==13)return}var g=typeof o=="function"?o(this):o;if(typeof g=="string"){var p=0;if(g.includes("#"))for(var y=g.replace(/##/g,"");y.includes("#"+(p+1));)++p;for(var k=new oGe(g,this.settings),T=[],B=k.lex();B.text!=="EOF";)T.push(B),B=k.lex();T.reverse();var v={tokens:T,numArgs:p};return v}return g}isDefined(s){return this.macros.has(s)||Hk.hasOwnProperty(s)||_l.math.hasOwnProperty(s)||_l.text.hasOwnProperty(s)||gVe.hasOwnProperty(s)}isExpandable(s){var o=this.macros.get(s);return o!=null?typeof o=="string"||typeof o=="function"||!o.unexpandable:Hk.hasOwnProperty(s)&&!Hk[s].primitive}},lGe=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Alt=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),Dte={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},hGe={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},pVe=class wVe{static{n(this,"Parser")}constructor(o,f){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Hln(o,f,this.mode),this.settings=f,this.leftrightDepth=0,this.nextToken=null}expect(o,f){if(f===void 0&&(f=!0),this.fetch().text!==o)throw new Yn("Expected '"+o+"', got '"+this.fetch().text+"'",this.fetch());f&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(o){this.mode=o,this.gullet.switchMode(o)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var o=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),o}finally{this.gullet.endGroups()}}subparse(o){var f=this.nextToken;this.consume(),this.gullet.pushToken(new $m("}")),this.gullet.pushTokens(o);var g=this.parseExpression(!1);return this.expect("}"),this.nextToken=f,g}parseExpression(o,f){for(var g=[];;){this.mode==="math"&&this.consumeSpaces();var p=this.fetch();if(wVe.endOfExpression.has(p.text)||f&&p.text===f||o&&Hk[p.text]&&Hk[p.text].infix)break;var y=this.parseAtom(f);if(y){if(y.type==="internal")continue}else break;g.push(y)}return this.mode==="text"&&this.formLigatures(g),this.handleInfixNodes(g)}handleInfixNodes(o){for(var f=-1,g,p=0;p=128)this.settings.strict&&(aee(f.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+f[0]+'" used in math mode',o):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+f[0]+'"'+(" ("+f.charCodeAt(0)+")"),o)),k={type:"textord",mode:"text",loc:W2.range(o),text:f};else return null;if(this.consume(),y)for(var M=0;MAVe,shouldCaptureSizes:()=>EVe});function xee(){if(!(typeof globalThis>"u"))return globalThis}function EVe(){return!!xee()?.mermaidCaptureSizes}function BVe(){return typeof location>"u"?"browser-dev":`${location.pathname}${location.search}`}function MVe(s,o){let f=xee();if(!f)return;let g=o.node(),p=((g&&"ownerSVGElement"in g?g.ownerSVGElement:null)??g)?.id??"(unknown)";f.mermaidCapturedSizes??=[];let y={svgId:p,sizes:s};f.mermaidCapturedSizes.push(y),f.mermaidLastCapturedSizes=y}function AVe(s,o){let f=[];for(let g of o.nodes)g.isGroup||f.push({id:g.id,width:g.width??0,height:g.height??0});f.length!==0&&MVe({metadata:{captureVersion:1,capturedAt:new Date().toISOString(),capturedFrom:BVe()},nodes:f},s)}var _Ve=ylt(()=>{YH();n(xee,"getCaptureGlobal");n(EVe,"shouldCaptureSizes");n(BVe,"capturedFromLocation");n(MVe,"emitCapturedSizes");n(AVe,"captureNodeSizes")});var ysn={};vte(ysn,{render:()=>Uwn});function wre(){for(var s=0,o=arguments.length,f={},g;s=0&&(g=f.slice(p+1),f=f.slice(0,p)),f&&!o.hasOwnProperty(f))throw new Error("unknown type: "+f);return{type:f,name:g}})}function SYe(s,o){for(var f=0,g=s.length,p;f=0&&(o=s.slice(0,f))!=="xmlns"&&(s=s.slice(f+1)),jVe.hasOwnProperty(o)?{space:jVe[o],local:s}:s}function EYe(s){return function(){var o=this.ownerDocument,f=this.namespaceURI;return f===Xee&&o.documentElement.namespaceURI===Xee?o.createElement(s):o.createElementNS(f,s)}}function BYe(s){return function(){return this.ownerDocument.createElementNS(s.space,s.local)}}function mre(s){var o=sU(s);return(o.local?BYe:EYe)(o)}function MYe(){}function rut(s){return s==null?MYe:function(){return this.querySelector(s)}}function AYe(s){typeof s!="function"&&(s=rut(s));for(var o=this._groups,f=o.length,g=new Array(f),p=0;p=at&&(at=nt+1);!(et=U[at])&&++at<$;);dt._next=et||null}}return k=new Ob(k,g),k._enter=T,k._exit=B,k}function GYe(s){return typeof s=="object"&&"length"in s?s:Array.from(s)}function VYe(){return new Ob(this._exit||this._groups.map(xre),this._parents)}function XYe(s,o,f){var g=this.enter(),p=this,y=this.exit();return typeof s=="function"?(g=s(g),g&&(g=g.selection())):g=g.append(s+""),o!=null&&(p=o(p),p&&(p=p.selection())),f==null?y.remove():f(y),g&&p?g.merge(p).order():p}function YYe(s){for(var o=s.selection?s.selection():s,f=this._groups,g=o._groups,p=f.length,y=g.length,k=Math.min(p,y),T=new Array(p),B=0;B=0;)(k=g[p])&&(y&&k.compareDocumentPosition(y)^4&&y.parentNode.insertBefore(k,y),y=k);return this}function JYe(s){s||(s=ZYe);function o(L,F){return L&&F?s(L.__data__,F.__data__):!L-!F}n(o,"compareNode");for(var f=this._groups,g=f.length,p=new Array(g),y=0;yo?1:s>=o?0:NaN}function tQe(){var s=arguments[0];return arguments[0]=this,s.apply(null,arguments),this}function eQe(){return Array.from(this)}function nQe(){for(var s=this._groups,o=0,f=s.length;o1?this.each((o==null?fQe:typeof o=="function"?gQe:bQe)(s,o,f??"")):eE(this.node(),s)}function eE(s,o){return s.style.getPropertyValue(o)||Cre(s).getComputedStyle(s,null).getPropertyValue(o)}function wQe(s){return function(){delete this[s]}}function mQe(s,o){return function(){this[s]=o}}function yQe(s,o){return function(){var f=o.apply(this,arguments);f==null?delete this[s]:this[s]=f}}function vQe(s,o){return arguments.length>1?this.each((o==null?wQe:typeof o=="function"?yQe:mQe)(s,o)):this.node()[s]}function Tre(s){return s.trim().split(/^|\s+/)}function iut(s){return s.classList||new Sre(s)}function Sre(s){this._node=s,this._names=Tre(s.getAttribute("class")||"")}function Ere(s,o){for(var f=iut(s),g=-1,p=o.length;++g=0&&(f=o.slice(g+1),o=o.slice(0,g)),{type:o,name:f}})}function VQe(s){return function(){var o=this.__on;if(o){for(var f=0,g=-1,p=o.length,y;f>8&15|o>>4&240,o>>4&15|o&240,(o&15)<<4|o&15,1):f===8?mK(o>>24&255,o>>16&255,o>>8&255,(o&255)/255):f===4?mK(o>>12&15|o>>8&240,o>>8&15|o>>4&240,o>>4&15|o&240,((o&15)<<4|o&15)/255):null):(o=dun.exec(s))?new mf(o[1],o[2],o[3],1):(o=fun.exec(s))?new mf(o[1]*255/100,o[2]*255/100,o[3]*255/100,1):(o=bun.exec(s))?mK(o[1],o[2],o[3],o[4]):(o=gun.exec(s))?mK(o[1]*255/100,o[2]*255/100,o[3]*255/100,o[4]):(o=pun.exec(s))?ene(o[1],o[2]/100,o[3]/100,1):(o=wun.exec(s))?ene(o[1],o[2]/100,o[3]/100,o[4]):IVe.hasOwnProperty(s)?Jee(IVe[s]):s==="transparent"?new mf(NaN,NaN,NaN,0):null}function Jee(s){return new mf(s>>16&255,s>>8&255,s&255,1)}function mK(s,o,f,g){return g<=0&&(s=o=f=NaN),new mf(s,o,f,g)}function aJe(s){return s instanceof LO||(s=MO(s)),s?(s=s.rgb(),new mf(s.r,s.g,s.b,s.opacity)):new mf}function KK(s,o,f,g){return arguments.length===1?aJe(s):new mf(s,o,f,g??1)}function mf(s,o,f,g){this.r=+s,this.g=+o,this.b=+f,this.opacity=+g}function Zee(){return`#${Zk(this.r)}${Zk(this.g)}${Zk(this.b)}`}function oJe(){return`#${Zk(this.r)}${Zk(this.g)}${Zk(this.b)}${Zk((isNaN(this.opacity)?1:this.opacity)*255)}`}function tne(){let s=UK(this.opacity);return`${s===1?"rgb(":"rgba("}${e9(this.r)}, ${e9(this.g)}, ${e9(this.b)}${s===1?")":`, ${s})`}`}function UK(s){return isNaN(s)?1:Math.max(0,Math.min(1,s))}function e9(s){return Math.max(0,Math.min(255,Math.round(s)||0))}function Zk(s){return s=e9(s),(s<16?"0":"")+s.toString(16)}function ene(s,o,f,g){return g<=0?s=o=f=NaN:f<=0||f>=1?s=o=NaN:o<=0&&(s=NaN),new Y2(s,o,f,g)}function _re(s){if(s instanceof Y2)return new Y2(s.h,s.s,s.l,s.opacity);if(s instanceof LO||(s=MO(s)),!s)return new Y2;if(s instanceof Y2)return s;s=s.rgb();var o=s.r/255,f=s.g/255,g=s.b/255,p=Math.min(o,f,g),y=Math.max(o,f,g),k=NaN,T=y-p,B=(y+p)/2;return T?(o===y?k=(f-g)/T+(f0&&B<1?0:k,new Y2(k,T,B,s.opacity)}function sJe(s,o,f,g){return arguments.length===1?_re(s):new Y2(s,o,f,g??1)}function Y2(s,o,f,g){this.h=+s,this.s=+o,this.l=+f,this.opacity=+g}function nne(s){return s=(s||0)%360,s<0?s+360:s}function yK(s){return Math.max(0,Math.min(1,s||0))}function bht(s,o,f){return(s<60?o+(f-o)*s/60:s<180?f:s<240?o+(f-o)*(240-s)/60:o)*255}function Fre(s,o,f,g,p){var y=s*s,k=y*s;return((1-3*s+3*y-k)*o+(4-6*y+3*k)*f+(1+3*s+3*y-3*k)*g+k*p)/6}function cJe(s){var o=s.length-1;return function(f){var g=f<=0?f=0:f>=1?(f=1,o-1):Math.floor(f*o),p=s[g],y=s[g+1],k=g>0?s[g-1]:2*p-y,T=gf&&(y=o.slice(f,y),T[k]?T[k]+=y:T[++k]=y),(g=g[0])===(p=p[0])?T[k]?T[k]+=p:T[++k]=p:(T[++k]=null,B.push({i:k,x:a6(g,p)})),f=Tee.lastIndex;return f180?M+=360:M-v>180&&(v+=360),F.push({i:L.push(p(L)+"rotate(",null,g)-2,x:a6(v,M)})):M&&L.push(p(L)+"rotate("+M+g)}n(k,"rotate");function T(v,M,L,F){v!==M?F.push({i:L.push(p(L)+"skewX(",null,g)-2,x:a6(v,M)}):M&&L.push(p(L)+"skewX("+M+g)}n(T,"skewX");function B(v,M,L,F,j,$){if(v!==L||M!==F){var z=j.push(p(j)+"scale(",null,",",null,")");$.push({i:z-4,x:a6(v,L)},{i:z-2,x:a6(M,F)})}else(L!==1||F!==1)&&j.push(p(j)+"scale("+L+","+F+")")}return n(B,"scale"),function(v,M){var L=[],F=[];return v=s(v),M=s(M),y(v.translateX,v.translateY,M.translateX,M.translateY,L,F),k(v.rotate,M.rotate,L,F),T(v.skewX,M.skewX,L,F),B(v.scaleX,v.scaleY,M.scaleX,M.scaleY,L,F),v=M=null,function(j){for(var $=-1,z=F.length,U;++$=0&&s._call.call(void 0,o),s=s._next;--AO}function ane(){nE=(Fht=WK.now())+out,AO=vK=0;try{xJe()}finally{AO=0,TJe(),nE=0}}function CJe(){var s=WK.now(),o=s-Fht;o>yJe&&(out-=o,Fht=s)}function TJe(){for(var s,o=_ht,f,g=1/0;o;)o._call?(g>o._time&&(g=o._time),s=o,o=o._next):(f=o._next,o._next=null,o=s?s._next=f:_ht=f);kK=s,Oht(g)}function Oht(s){if(!AO){vK&&(vK=clearTimeout(vK));var o=s-nE;o>24?(s<1/0&&(vK=setTimeout(ane,s-WK.now()-out)),lK&&(lK=clearInterval(lK))):(lK||(Fht=WK.now(),lK=setInterval(CJe,yJe)),AO=1,vJe(ane))}}function one(s,o,f){var g=new GK;return o=o==null?0:+o,g.restart(p=>{g.stop(),s(p+o)},o,f),g}function lU(s,o,f,g,p,y){var k=s.__transition;if(!k)s.__transition={};else if(f in k)return;EJe(s,f,{name:o,index:g,group:p,on:vun,tween:kun,time:y.time,delay:y.delay,duration:y.duration,ease:y.ease,timer:null,state:SJe})}function cut(s,o){var f=Q2(s,o);if(f.state>SJe)throw new Error("too late; already scheduled");return f}function Um(s,o){var f=Q2(s,o);if(f.state>ght)throw new Error("too late; already running");return f}function Q2(s,o){var f=s.__transition;if(!f||!(f=f[o]))throw new Error("transition not found");return f}function EJe(s,o,f){var g=s.__transition,p;g[o]=f,f.timer=Pre(y,0,f.time);function y(v){f.state=NVe,f.timer.restart(k,f.delay,f.time),f.delay<=v&&k(v-f.delay)}n(y,"schedule");function k(v){var M,L,F,j;if(f.state!==NVe)return B();for(M in g)if(j=g[M],j.name===f.name){if(j.state===ght)return one(k);j.state===RVe?(j.state=pht,j.timer.stop(),j.on.call("interrupt",s,s.__data__,j.index,j.group),delete g[M]):+Msne&&g.state=0&&(o=o.slice(0,f)),!o||o==="start"})}function rZe(s,o,f){var g,p,y=nZe(o)?cut:Um;return function(){var k=y(this,s),T=k.on;T!==g&&(p=(g=T).copy()).on(o,f),k.on=p}}function iZe(s,o){var f=this._id;return arguments.length<2?Q2(this.node(),f).on.on(s):this.each(rZe(f,s,o))}function aZe(s){return function(){var o=this.parentNode;for(var f in this.__transition)if(+f!==s)return;o&&o.removeChild(this)}}function oZe(){return this.on("end.remove",aZe(this._id))}function sZe(s){var o=this._name,f=this._id;typeof s!="function"&&(s=rut(s));for(var g=this._groups,p=g.length,y=new Array(p),k=0;k=0))throw new Error(`invalid digits: ${s}`);if(o>15)return zre;let f=10**o;return function(g){this._+=g[0];for(let p=1,y=g.length;p=0))throw new RangeError(`invalid digits: ${f}`);o=g}return s},()=>new qre(o)}function jZe(s){return typeof s=="object"&&"length"in s?s:Array.from(s)}function Hre(s){this._context=s}function ZS(s){return new Hre(s)}function IZe(s){return s[0]}function PZe(s){return s[1]}function $Ze(s,o){var f=GS(!0),g=null,p=ZS,y=null,k=DZe(T);s=typeof s=="function"?s:s===void 0?IZe:GS(s),o=typeof o=="function"?o:o===void 0?PZe:GS(o);function T(B){var v,M=(B=jZe(B)).length,L,F=!1,j;for(g==null&&(y=p(j=k())),v=0;v<=M;++v)!(vzVe){var T=2*s._l01_2a+3*s._l01_a*s._l12_a+s._l12_2a,B=3*s._l01_a*(s._l01_a+s._l12_a);g=(g*T-s._x0*s._l12_2a+s._x2*s._l01_2a)/B,p=(p*T-s._y0*s._l12_2a+s._y2*s._l01_2a)/B}if(s._l23_a>zVe){var v=2*s._l23_2a+3*s._l23_a*s._l12_a+s._l12_2a,M=3*s._l23_a*(s._l23_a+s._l12_a);y=(y*v+s._x1*s._l23_2a-o*s._l12_2a)/M,k=(k*v+s._y1*s._l23_2a-f*s._l12_2a)/M}s._context.bezierCurveTo(g,p,y,k,s._x2,s._y2)}function Xre(s,o){this._context=s,this._alpha=o}function Yre(s,o){this._context=s,this._alpha=o}function Qre(s,o){this._context=s,this._alpha=o}function Jre(s){this._context=s}function KZe(s){return new Jre(s)}function dne(s){return s<0?-1:1}function fne(s,o,f){var g=s._x1-s._x0,p=o-s._x1,y=(s._y1-s._y0)/(g||p<0&&-0),k=(f-s._y1)/(p||g<0&&-0),T=(y*p+k*g)/(g+p);return(dne(y)+dne(k))*Math.min(Math.abs(y),Math.abs(k),.5*Math.abs(T))||0}function bne(s,o){var f=s._x1-s._x0;return f?(3*(s._y1-s._y0)/f-o)/2:o}function wht(s,o,f){var g=s._x0,p=s._y0,y=s._x1,k=s._y1,T=(y-g)/3;s._context.bezierCurveTo(g+T,p+T*o,y-T,k-T*f,y,k)}function YK(s){this._context=s}function Zre(s){this._context=new tie(s)}function tie(s){this._context=s}function eie(s){return new YK(s)}function nie(s){return new Zre(s)}function rie(s){this._context=s}function gne(s){var o,f=s.length-1,g,p=new Array(f),y=new Array(f),k=new Array(f);for(p[0]=0,y[0]=2,k[0]=s[0]+2*s[1],o=1;o=0;--o)p[o]=(k[o]-p[o+1])/y[o];for(y[f-1]=(s[f]+p[f-1])/2,o=0;os.length)&&(o=s.length);for(var f=0,g=Array(o);f1?f-1:0),p=1;p2&&arguments[2]!==void 0?arguments[2]:xK;if(qVe&&qVe(s,null),!Jk(o))return s;let g=o.length;for(;g--;){let p=o[g];if(typeof p=="string"){let y=f(p);y!==p&&(Fun(o)||(o[g]=y),p=y)}s[p]=!0}return s}function ttn(s){for(let o=0;o0&&arguments[0]!==void 0?arguments[0]:Zun(),o=n(kt=>cie(kt),"DOMPurify");if(o.version="3.4.12",o.removed=[],!s||!s.document||s.document.nodeType!==gp.document||!s.Element)return o.isSupported=!1,o;let f=s.document,g=f,p=g.currentScript;s.DocumentFragment;let y=s.HTMLTemplateElement,k=s.Node,T=s.Element,B=s.NodeFilter;s.NamedNodeMap===void 0&&(s.NamedNodeMap||s.MozNamedAttrMap),s.HTMLFormElement;let M=s.DOMParser,L=s.trustedTypes,F=T.prototype,j=Rm(F,"cloneNode"),$=Rm(F,"remove"),z=Rm(F,"nextSibling"),U=Rm(F,"childNodes"),V=Rm(F,"parentNode"),nt=Rm(F,"shadowRoot"),at=Rm(F,"attributes"),dt=k&&k.prototype?Rm(k.prototype,"nodeType"):null,et=k&&k.prototype?Rm(k.prototype,"nodeName"):null;if(typeof y=="function"){let kt=f.createElement("template");kt.content&&kt.content.ownerDocument&&(f=kt.content.ownerDocument)}let Ft,Nt="",se,Ge=!1,Ue=0,me=n(function(){if(Ue>0)throw qS('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},"_assertNotInTrustedTypesPolicy"),fn=n(function(kt){me(),Ue++;try{return Ft.createHTML(kt)}finally{Ue--}},"_createTrustedHTML"),Ce=n(function(kt){me(),Ue++;try{return Ft.createScriptURL(kt)}finally{Ue--}},"_createTrustedScriptURL"),ge=n(function(){return Ge||(se=t1n(L,p),Ge=!0),se},"_getDefaultTrustedTypesPolicy"),be=f,le=be.implementation,Oe=be.createNodeIterator,ke=be.createDocumentFragment,nn=be.getElementsByTagName,tt=g.importNode,sr=eXe();o.isSupported=typeof QZe=="function"&&typeof V=="function"&&le&&le.createHTMLDocument!==void 0;let Xr=qun,$i=Hun,Bi=Kun,ja=Uun,Or=Wun,ta=Gun,wo=Vun,Ws=Yun,js=JVe,sa=null,th=Vo({},[...VVe,...Eee,...Bee,...Mee,...XVe]),to=null,g6=Vo({},[...YVe,...Aee,...QVe,...eht]),oc=Object.seal(pO(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}})),jb=null,l5=null,md=Object.seal(pO(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),yp=!0,h5=!0,p6=!1,Oo=!0,Ua=!1,eh=!0,iu=!1,u5=!1,vp=null,kp=null,a9=!1,Z2=!1,Yo=!1,yd=!1,Ib=!0,bE=!1,gE="user-content-",d5=!0,o9=!1,Wm={},vf=null,s9=Vo({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),pE=null,wE=Vo({},["audio","video","img","source","image","track"]),c9=null,mE=Vo({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),w6="http://www.w3.org/1998/Math/MathML",m6="http://www.w3.org/2000/svg",kf="http://www.w3.org/1999/xhtml",Gm=kf,l9=!1,h9=null,IO=Vo({},[w6,m6,kf],See),yE=E0(["mi","mo","mn","ms","mtext"]),u9=Vo({},yE),vE=E0(["annotation-xml"]),d9=Vo({},vE),PO=Vo({},["title","style","font","a","script"]),f5=null,$O=["application/xhtml+xml","text/html"],NO="text/html",vc=null,Vm=null,RO=f.createElement("form"),kE=n(function(kt){return kt instanceof RegExp||kt instanceof Function},"isRegexOrFunction"),f9=n(function(){let kt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Vm&&Vm===kt)return;(!kt||typeof kt!="object")&&(kt={}),kt=wd(kt),f5=$O.indexOf(kt.PARSER_MEDIA_TYPE)===-1?NO:kt.PARSER_MEDIA_TYPE,vc=f5==="application/xhtml+xml"?See:xK,sa=Xk(kt,"ALLOWED_TAGS",th,{transform:vc}),to=Xk(kt,"ALLOWED_ATTR",g6,{transform:vc}),h9=Xk(kt,"ALLOWED_NAMESPACES",IO,{transform:See}),c9=Xk(kt,"ADD_URI_SAFE_ATTR",mE,{transform:vc,base:mE}),pE=Xk(kt,"ADD_DATA_URI_TAGS",wE,{transform:vc,base:wE}),vf=Xk(kt,"FORBID_CONTENTS",s9,{transform:vc}),jb=Xk(kt,"FORBID_TAGS",wd({}),{transform:vc}),l5=Xk(kt,"FORBID_ATTR",wd({}),{transform:vc}),Wm=P1(kt,"USE_PROFILES")?kt.USE_PROFILES&&typeof kt.USE_PROFILES=="object"?wd(kt.USE_PROFILES):kt.USE_PROFILES:!1,yp=kt.ALLOW_ARIA_ATTR!==!1,h5=kt.ALLOW_DATA_ATTR!==!1,p6=kt.ALLOW_UNKNOWN_PROTOCOLS||!1,Oo=kt.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ua=kt.SAFE_FOR_TEMPLATES||!1,eh=kt.SAFE_FOR_XML!==!1,iu=kt.WHOLE_DOCUMENT||!1,Z2=kt.RETURN_DOM||!1,Yo=kt.RETURN_DOM_FRAGMENT||!1,yd=kt.RETURN_TRUSTED_TYPE||!1,a9=kt.FORCE_BODY||!1,Ib=kt.SANITIZE_DOM!==!1,bE=kt.SANITIZE_NAMED_PROPS||!1,d5=kt.KEEP_CONTENT!==!1,o9=kt.IN_PLACE||!1,js=ntn(kt.ALLOWED_URI_REGEXP)?kt.ALLOWED_URI_REGEXP:JVe,Gm=typeof kt.NAMESPACE=="string"?kt.NAMESPACE:kf,u9=P1(kt,"MATHML_TEXT_INTEGRATION_POINTS")&&kt.MATHML_TEXT_INTEGRATION_POINTS&&typeof kt.MATHML_TEXT_INTEGRATION_POINTS=="object"?wd(kt.MATHML_TEXT_INTEGRATION_POINTS):Vo({},yE),d9=P1(kt,"HTML_INTEGRATION_POINTS")&&kt.HTML_INTEGRATION_POINTS&&typeof kt.HTML_INTEGRATION_POINTS=="object"?wd(kt.HTML_INTEGRATION_POINTS):Vo({},vE);let Qe=P1(kt,"CUSTOM_ELEMENT_HANDLING")&&kt.CUSTOM_ELEMENT_HANDLING&&typeof kt.CUSTOM_ELEMENT_HANDLING=="object"?wd(kt.CUSTOM_ELEMENT_HANDLING):pO(null);if(oc=pO(null),P1(Qe,"tagNameCheck")&&kE(Qe.tagNameCheck)&&(oc.tagNameCheck=Qe.tagNameCheck),P1(Qe,"attributeNameCheck")&&kE(Qe.attributeNameCheck)&&(oc.attributeNameCheck=Qe.attributeNameCheck),P1(Qe,"allowCustomizedBuiltInElements")&&typeof Qe.allowCustomizedBuiltInElements=="boolean"&&(oc.allowCustomizedBuiltInElements=Qe.allowCustomizedBuiltInElements),A0(oc),Ua&&(h5=!1),Yo&&(Z2=!0),Wm&&(sa=Vo({},XVe),to=pO(null),Wm.html===!0&&(Vo(sa,VVe),Vo(to,YVe)),Wm.svg===!0&&(Vo(sa,Eee),Vo(to,Aee),Vo(to,eht)),Wm.svgFilters===!0&&(Vo(sa,Bee),Vo(to,Aee),Vo(to,eht)),Wm.mathMl===!0&&(Vo(sa,Mee),Vo(to,QVe),Vo(to,eht))),md.tagCheck=null,md.attributeCheck=null,P1(kt,"ADD_TAGS")&&(typeof kt.ADD_TAGS=="function"?md.tagCheck=kt.ADD_TAGS:Jk(kt.ADD_TAGS)&&(sa===th&&(sa=wd(sa)),Vo(sa,kt.ADD_TAGS,vc))),P1(kt,"ADD_ATTR")&&(typeof kt.ADD_ATTR=="function"?md.attributeCheck=kt.ADD_ATTR:Jk(kt.ADD_ATTR)&&(to===g6&&(to=wd(to)),Vo(to,kt.ADD_ATTR,vc))),P1(kt,"ADD_URI_SAFE_ATTR")&&Jk(kt.ADD_URI_SAFE_ATTR)&&Vo(c9,kt.ADD_URI_SAFE_ATTR,vc),P1(kt,"FORBID_CONTENTS")&&Jk(kt.FORBID_CONTENTS)&&(vf===s9&&(vf=wd(vf)),Vo(vf,kt.FORBID_CONTENTS,vc)),P1(kt,"ADD_FORBID_CONTENTS")&&Jk(kt.ADD_FORBID_CONTENTS)&&(vf===s9&&(vf=wd(vf)),Vo(vf,kt.ADD_FORBID_CONTENTS,vc)),d5&&(sa["#text"]=!0),iu&&Vo(sa,["html","head","body"]),sa.table&&(Vo(sa,["tbody"]),delete jb.tbody),kt.TRUSTED_TYPES_POLICY){if(typeof kt.TRUSTED_TYPES_POLICY.createHTML!="function")throw qS('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof kt.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw qS('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let an=Ft;Ft=kt.TRUSTED_TYPES_POLICY;try{Nt=fn("")}catch(hr){throw Ft=an,hr}}else kt.TRUSTED_TYPES_POLICY===null?(Ft=void 0,Nt=""):(Ft===void 0&&(Ft=ge()),Ft&&typeof Nt=="string"&&(Nt=fn("")));E0&&E0(kt),Vm=kt},"_parseConfig"),xE=Vo({},[...Eee,...Bee,...Run]),CE=Vo({},[...Mee,...zun]),zO=n(function(kt,Qe,an){return Qe.namespaceURI===kf?kt==="svg":Qe.namespaceURI===w6?kt==="svg"&&(an==="annotation-xml"||u9[an]):!!xE[kt]},"_checkSvgNamespace"),qO=n(function(kt,Qe,an){return Qe.namespaceURI===kf?kt==="math":Qe.namespaceURI===m6?kt==="math"&&d9[an]:!!CE[kt]},"_checkMathMlNamespace"),HO=n(function(kt,Qe,an){return Qe.namespaceURI===m6&&!d9[an]||Qe.namespaceURI===w6&&!u9[an]?!1:!CE[kt]&&(PO[kt]||!xE[kt])},"_checkHtmlNamespace"),TE=n(function(kt){let Qe=V(kt);(!Qe||!Qe.tagName)&&(Qe={namespaceURI:Gm,tagName:"template"});let an=xK(kt.tagName),hr=xK(Qe.tagName);return h9[kt.namespaceURI]?kt.namespaceURI===m6?zO(an,Qe,hr):kt.namespaceURI===w6?qO(an,Qe,hr):kt.namespaceURI===kf?HO(an,Qe,hr):!!(f5==="application/xhtml+xml"&&h9[kt.namespaceURI]):!1},"_checkValidNamespace"),tw=n(function(kt){fO(o.removed,{element:kt});try{V(kt).removeChild(kt)}catch{if($(kt),!V(kt))throw qS("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},"_forceRemove"),y6=n(function(kt){b5(kt);let Qe=U(kt);if(Qe){let hr=[];dO(Qe,ya=>{fO(hr,ya)}),dO(hr,ya=>{try{$(ya)}catch{}})}let an=at(kt);if(an)for(let hr=an.length-1;hr>=0;--hr){let ya=an[hr],La=ya&&ya.name;if(typeof La=="string")try{kt.removeAttribute(La)}catch{}}},"_neutralizeRoot"),ew=n(function(kt,Qe){try{fO(o.removed,{attribute:Qe.getAttributeNode(kt),from:Qe})}catch{fO(o.removed,{attribute:null,from:Qe})}if(Qe.removeAttribute(kt),kt==="is")if(Z2||Yo)try{tw(Qe)}catch{}else try{Qe.setAttribute(kt,"")}catch{}},"_removeAttribute"),KO=n(function(kt){let Qe=at(kt);if(Qe)for(let an=Qe.length-1;an>=0;--an){let hr=Qe[an],ya=hr&&hr.name;if(!(typeof ya!="string"||to[vc(ya)]))try{kt.removeAttribute(ya)}catch{}}},"_stripDisallowedAttributes"),b5=n(function(kt){let Qe=[kt];for(;Qe.length>0;){let an=Qe.pop();(dt?dt(an):an.nodeType)===gp.element&&KO(an);let hr=U(an);if(hr)for(let ya=hr.length-1;ya>=0;--ya)Qe.push(hr[ya])}},"_neutralizeSubtree"),b9=n(function(kt){if(!eh)return;let Qe=[kt];for(;Qe.length>0;){let an=Qe.pop(),hr=dt?dt(an):an.nodeType;if(hr===gp.processingInstruction||hr===gp.comment&&I1(tXe,an.data)){try{$(an)}catch{}continue}if(hr===gp.element){let La=an,Qo=vc(et?et(an):an.nodeName);try{La.hasAttribute&&La.hasAttribute("patchsrc")&&La.removeAttribute("patchsrc"),La.hasAttribute&&La.hasAttribute("for")&&Qo!=="label"&&Qo!=="output"&&La.removeAttribute("for")}catch{}}let ya=U(an);if(ya)for(let La=ya.length-1;La>=0;--La)Qe.push(ya[La])}},"_neutralizePatchLinkage"),g5=n(function(kt){let Qe=null,an=null;if(a9)kt=""+kt;else{let La=KVe(kt,/^[\r\n\t ]+/);an=La&&La[0]}f5==="application/xhtml+xml"&&Gm===kf&&(kt=''+kt+"");let hr=Ft?fn(kt):kt;if(Gm===kf)try{Qe=new M().parseFromString(hr,f5)}catch{}if(!Qe||!Qe.documentElement){Qe=le.createDocument(Gm,"template",null);try{Qe.documentElement.innerHTML=l9?Nt:hr}catch{}}let ya=Qe.body||Qe.documentElement;return kt&&an&&ya.insertBefore(f.createTextNode(an),ya.childNodes[0]||null),Gm===kf?nn.call(Qe,iu?"html":"body")[0]:iu?Qe.documentElement:ya},"_initDocument"),SE=n(function(kt){return Oe.call(kt.ownerDocument||kt,kt,B.SHOW_ELEMENT|B.SHOW_COMMENT|B.SHOW_TEXT|B.SHOW_PROCESSING_INSTRUCTION|B.SHOW_CDATA_SECTION,null)},"_createNodeIterator"),v6=n(function(kt){return kt=hK(kt,Xr," "),kt=hK(kt,$i," "),kt=hK(kt,Bi," "),kt},"_stripTemplateExpressions"),p5=n(function(kt){var Qe;kt.normalize();let an=Oe.call(kt.ownerDocument||kt,kt,B.SHOW_TEXT|B.SHOW_COMMENT|B.SHOW_CDATA_SECTION|B.SHOW_PROCESSING_INSTRUCTION,null),hr=an.nextNode();for(;hr;)hr.data=v6(hr.data),hr=an.nextNode();let ya=(Qe=kt.querySelectorAll)===null||Qe===void 0?void 0:Qe.call(kt,"template");ya&&dO(ya,La=>{Xm(La.content)&&p5(La.content)})},"_scrubTemplateExpressions"),k6=n(function(kt){let Qe=et?et(kt):null;return typeof Qe!="string"||vc(Qe)!=="form"?!1:typeof kt.nodeName!="string"||typeof kt.textContent!="string"||typeof kt.removeChild!="function"||kt.attributes!==at(kt)||typeof kt.removeAttribute!="function"||typeof kt.setAttribute!="function"||typeof kt.namespaceURI!="string"||typeof kt.insertBefore!="function"||typeof kt.hasChildNodes!="function"||kt.nodeType!==dt(kt)||kt.childNodes!==U(kt)},"_isClobbered"),Xm=n(function(kt){if(!dt||typeof kt!="object"||kt===null)return!1;try{return dt(kt)===gp.documentFragment}catch{return!1}},"_isDocumentFragment"),w5=n(function(kt){if(!dt||typeof kt!="object"||kt===null)return!1;try{return typeof dt(kt)=="number"}catch{return!1}},"_isNode");function c1(kt,Qe,an){kt.length!==0&&dO(kt,hr=>{hr.call(o,Qe,an,Vm)})}n(c1,"_executeHooks");let UO=n(function(kt,Qe){return!!(eh&&kt.hasChildNodes()&&!w5(kt.firstElementChild)&&I1(ZVe,kt.textContent)&&I1(ZVe,kt.innerHTML)||eh&&kt.namespaceURI===kf&&Qe==="style"&&w5(kt.firstElementChild)||kt.nodeType===gp.processingInstruction||eh&&kt.nodeType===gp.comment&&I1(tXe,kt.data))},"_isUnsafeNode"),WO=n(function(kt,Qe){if(!jb[Qe]&&ME(Qe)&&(oc.tagNameCheck instanceof RegExp&&I1(oc.tagNameCheck,Qe)||oc.tagNameCheck instanceof Function&&oc.tagNameCheck(Qe)))return!1;if(d5&&!vf[Qe]){let an=V(kt),hr=U(kt);if(hr&&an){let ya=hr.length;for(let La=ya-1;La>=0;--La){let Qo=o9?hr[La]:j(hr[La],!0);an.insertBefore(Qo,z(kt))}}}return tw(kt),!0},"_sanitizeDisallowedNode"),EE=n(function(kt,Qe){if(c1(sr.beforeSanitizeElements,kt,null),kt!==Qe&&V(kt)===null)return!0;if(k6(kt))return tw(kt),!0;let an=vc(et?et(kt):kt.nodeName);if(c1(sr.uponSanitizeElement,kt,{tagName:an,allowedTags:sa}),kt!==Qe&&V(kt)===null)return!0;if(UO(kt,an))return tw(kt),!0;if(jb[an]||!(md.tagCheck instanceof Function&&md.tagCheck(an))&&!sa[an]){let hr=WO(kt,an);return hr===!1&&c1(sr.afterSanitizeElements,kt,null),hr}if((dt?dt(kt):kt.nodeType)===gp.element&&!TE(kt)||(an==="noscript"||an==="noembed"||an==="noframes")&&I1(Qun,kt.innerHTML))return tw(kt),!0;if(Ua&&kt.nodeType===gp.text){let hr=v6(kt.textContent);kt.textContent!==hr&&(fO(o.removed,{element:kt.cloneNode()}),kt.textContent=hr)}return c1(sr.afterSanitizeElements,kt,null),!1},"_sanitizeElements"),BE=n(function(kt,Qe,an){if(l5[Qe]||eh&&Qe==="patchsrc"||eh&&Qe==="for"&&kt!=="label"&&kt!=="output"||Ib&&(Qe==="id"||Qe==="name")&&(an in f||an in RO))return!1;let hr=to[Qe]||md.attributeCheck instanceof Function&&md.attributeCheck(Qe,kt);if(!(h5&&I1(ja,Qe))&&!(yp&&I1(Or,Qe))){if(hr){if(!c9[Qe]&&!I1(js,hK(an,wo,""))&&!((Qe==="src"||Qe==="xlink:href"||Qe==="href")&&kt!=="script"&&UVe(an,"data:")===0&&pE[kt])&&!(p6&&!I1(ta,hK(an,wo,"")))&&an)return!1}else if(!(ME(kt)&&(oc.tagNameCheck instanceof RegExp&&I1(oc.tagNameCheck,kt)||oc.tagNameCheck instanceof Function&&oc.tagNameCheck(kt))&&(oc.attributeNameCheck instanceof RegExp&&I1(oc.attributeNameCheck,Qe)||oc.attributeNameCheck instanceof Function&&oc.attributeNameCheck(Qe,kt))||Qe==="is"&&oc.allowCustomizedBuiltInElements&&(oc.tagNameCheck instanceof RegExp&&I1(oc.tagNameCheck,an)||oc.tagNameCheck instanceof Function&&oc.tagNameCheck(an))))return!1}return!0},"_isValidAttribute"),GO=Vo({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),ME=n(function(kt){return!GO[xK(kt)]&&I1(Ws,kt)},"_isBasicCustomElement"),VO=n(function(kt,Qe,an,hr){if(Ft&&typeof L=="object"&&typeof L.getAttributeType=="function"&&!an)switch(L.getAttributeType(kt,Qe)){case"TrustedHTML":return fn(hr);case"TrustedScriptURL":return Ce(hr)}return hr},"_applyTrustedTypesToAttribute"),XO=n(function(kt,Qe,an,hr){try{an?kt.setAttributeNS(an,Qe,hr):kt.setAttribute(Qe,hr),k6(kt)?tw(kt):HVe(o.removed)}catch{ew(Qe,kt)}},"_setAttributeValue"),AE=n(function(kt){c1(sr.beforeSanitizeAttributes,kt,null);let Qe=kt.attributes;if(!Qe||k6(kt))return;let an={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:to,forceKeepAttr:void 0},hr=Qe.length,ya=vc(kt.nodeName);for(;hr--;){let La=Qe[hr],Qo=La.name,xp=La.namespaceURI,p9=La.value,$1=vc(Qo),vd=p9,kc=Qo==="value"?vd:Pun(vd);if(an.attrName=$1,an.attrValue=kc,an.keepAttr=!0,an.forceKeepAttr=void 0,c1(sr.uponSanitizeAttribute,kt,an),kc=an.attrValue,bE&&($1==="id"||$1==="name")&&UVe(kc,gE)!==0&&(ew(Qo,kt),kc=gE+kc),eh&&I1(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,kc)){ew(Qo,kt);continue}if($1==="attributename"&&KVe(kc,"href")){ew(Qo,kt);continue}if(!an.forceKeepAttr){if(!an.keepAttr){ew(Qo,kt);continue}if(!Oo&&I1(Jun,kc)){ew(Qo,kt);continue}if(Ua&&(kc=v6(kc)),!BE(ya,$1,kc)){ew(Qo,kt);continue}kc=VO(ya,$1,xp,kc),kc!==vd&&XO(kt,Qo,xp,kc)}}c1(sr.afterSanitizeAttributes,kt,null)},"_sanitizeAttributes"),m5=n(function(kt){let Qe=null,an=SE(kt);for(c1(sr.beforeSanitizeShadowDOM,kt,null);Qe=an.nextNode();)if(c1(sr.uponSanitizeShadowNode,Qe,null),EE(Qe,kt),AE(Qe),Xm(Qe.content)&&m5(Qe.content),(dt?dt(Qe):Qe.nodeType)===gp.element){let hr=nt(Qe);Xm(hr)&&(g9(hr),m5(hr))}c1(sr.afterSanitizeShadowDOM,kt,null)},"_sanitizeShadowDOM"),g9=n(function(kt){let Qe=[{node:kt,shadow:null}];for(;Qe.length>0;){let an=Qe.pop();if(an.shadow){m5(an.shadow);continue}let hr=an.node,ya=(dt?dt(hr):hr.nodeType)===gp.element,La=U(hr);if(La)for(let Qo=La.length-1;Qo>=0;--Qo)Qe.push({node:La[Qo],shadow:null});if(ya){let Qo=et?et(hr):null;if(typeof Qo=="string"&&vc(Qo)==="template"){let xp=hr.content;Xm(xp)&&Qe.push({node:xp,shadow:null})}}if(ya){let Qo=nt(hr);Xm(Qo)&&Qe.push({node:null,shadow:Qo},{node:Qo,shadow:null})}}},"_sanitizeAttachedShadowRoots");return o.sanitize=function(kt){let Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},an=null,hr=null,ya=null,La=null;if(l9=!kt,l9&&(kt=""),typeof kt!="string"&&!w5(kt)&&(kt=etn(kt),typeof kt!="string"))throw qS("dirty is not a string, aborting");if(!o.isSupported)return kt;u5?(sa=vp,to=kp):f9(Qe),(sr.uponSanitizeElement.length>0||sr.uponSanitizeAttribute.length>0)&&(sa=wd(sa)),sr.uponSanitizeAttribute.length>0&&(to=wd(to)),o.removed=[];let Qo=o9&&typeof kt!="string"&&w5(kt);if(Qo){b9(kt);let vd=et?et(kt):kt.nodeName;if(typeof vd=="string"){let kc=vc(vd);if(!sa[kc]||jb[kc])throw y6(kt),qS("root node is forbidden and cannot be sanitized in-place")}if(k6(kt))throw y6(kt),qS("root node is clobbered and cannot be sanitized in-place");try{g9(kt)}catch(kc){throw y6(kt),kc}}else if(w5(kt))an=g5(""),hr=an.ownerDocument.importNode(kt,!0),hr.nodeType===gp.element&&hr.nodeName==="BODY"||hr.nodeName==="HTML"?an=hr:an.appendChild(hr),g9(hr);else{if(!Z2&&!Ua&&!iu&&kt.indexOf("<")===-1)return Ft&&yd?fn(kt):kt;if(an=g5(kt),!an)return Z2?null:yd?Nt:""}an&&a9&&tw(an.firstChild);let xp=Qo?kt:an,p9=SE(xp);try{for(;ya=p9.nextNode();)EE(ya,xp),AE(ya),Xm(ya.content)&&m5(ya.content)}catch(vd){throw Qo&&(y6(kt),dO(o.removed,kc=>{kc.element&&b5(kc.element)})),vd}if(Qo)return dO(o.removed,vd=>{vd.element&&b5(vd.element)}),Ua&&p5(kt),kt;if(Z2){if(Ua&&p5(an),Yo)for(La=ke.call(an.ownerDocument);an.firstChild;)La.appendChild(an.firstChild);else La=an;return(to.shadowroot||to.shadowrootmode)&&(La=tt.call(g,La,!0)),La}let $1=iu?an.outerHTML:an.innerHTML;return iu&&sa["!doctype"]&&an.ownerDocument&&an.ownerDocument.doctype&&an.ownerDocument.doctype.name&&I1(Xun,an.ownerDocument.doctype.name)&&($1=" +`+$1),Ua&&($1=v6($1)),Ft&&yd?fn($1):$1},o.setConfig=function(){let kt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};f9(kt),u5=!0,vp=sa,kp=to},o.clearConfig=function(){Vm=null,u5=!1,vp=null,kp=null,Ft=se,Nt=""},o.isValidAttribute=function(kt,Qe,an){Vm||f9({});let hr=vc(kt),ya=vc(Qe);return BE(hr,ya,an)},o.addHook=function(kt,Qe){typeof Qe=="function"&&P1(sr,kt)&&fO(sr[kt],Qe)},o.removeHook=function(kt,Qe){if(P1(sr,kt)){if(Qe!==void 0){let an=jun(sr[kt],Qe);return an===-1?void 0:Iun(sr[kt],an,1)[0]}return HVe(sr[kt])}},o.removeHooks=function(kt){P1(sr,kt)&&(sr[kt]=[])},o.removeAllHooks=function(){sr=eXe()},o}function rtn(){let s="data-temp-href-target";QK.addHook("beforeSanitizeAttributes",o=>{o.tagName==="A"&&o.hasAttribute("target")&&o.setAttribute(s,o.getAttribute("target")??"")}),QK.addHook("afterSanitizeAttributes",o=>{o.tagName==="A"&&o.hasAttribute(s)&&(o.setAttribute("target",o.getAttribute(s)??""),o.removeAttribute(s),o.getAttribute("target")==="_blank"&&o.setAttribute("rel","noopener"))})}function otn(s){return Number.isSafeInteger(s)&&s>=0}function stn(s){return s!=null&&typeof s!="function"&&otn(s.length)}function ctn(s){return s==="__proto__"}function put(s){return s==null||typeof s!="object"&&typeof s!="function"}function lie(s){return Object.getOwnPropertySymbols(s).filter(o=>Object.prototype.propertyIsEnumerable.call(s,o))}function wut(s){return s==null?s===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(s)}function mut(s){return ArrayBuffer.isView(s)&&!(s instanceof DataView)}function btn(s,o){return QS(s,void 0,s,new Map,o)}function QS(s,o,f,g=new Map,p=void 0){let y=p?.(s,o,f,g);if(y!==void 0)return y;if(put(s))return s;if(g.has(s))return g.get(s);if(Array.isArray(s)){let k=new Array(s.length);g.set(s,k);for(let T=0;T{let k=o?.(f,g,p,y);if(k!==void 0)return k;if(typeof s=="object"){if(wut(s)===ftn&&typeof s.constructor!="function"){let T={};return y.set(s,T),X2(T,s,p,y),T}switch(Object.prototype.toString.call(s)){case htn:case ltn:case utn:{let T=new s.constructor(s?.valueOf());return X2(T,s),T}case dtn:{let T={};return X2(T,s),T.length=s.length,T[Symbol.iterator]=s[Symbol.iterator],T}default:return}}})}function vne(s){return ptn(s)}function kne(s){return s!==null&&typeof s=="object"&&wut(s)==="[object Arguments]"}function Iht(s){return typeof s=="object"&&s!==null}function wtn(s){return Iht(s)&&stn(s)}function _O(s,o){if(typeof s!="function"||o!=null&&typeof o!="function")throw new TypeError("Expected a function");let f=n(function(...p){let y=o?o.apply(this,p):p[0],k=f.cache;if(k.has(y))return k.get(y);let T=s.apply(this,p);return f.cache=k.set(y,T)||k,T},"memoized"),g=_O.Cache||Map;return f.cache=new g,f}function mtn(){}function kht(s){return mut(s)}function xht(s){if(typeof s!="object"||s==null)return!1;if(Object.getPrototypeOf(s)===null)return!0;if(Object.prototype.toString.call(s)!=="[object Object]"){let f=s[Symbol.toStringTag];return f==null||!Object.getOwnPropertyDescriptor(s,Symbol.toStringTag)?.writable?!1:s.toString()===`[object ${f}]`}let o=s;for(;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(s)===o}function ytn(s){if(put(s))return s;if(Array.isArray(s)||mut(s)||s instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&s instanceof SharedArrayBuffer)return s.slice(0);let o=Object.getPrototypeOf(s);if(o==null)return Object.assign(Object.create(o),s);let f=o.constructor;if(s instanceof Date||s instanceof Map||s instanceof Set)return new f(s);if(s instanceof RegExp){let g=new f(s);return g.lastIndex=s.lastIndex,g}if(s instanceof DataView)return new f(s.buffer.slice(0));if(s instanceof Error){let g;return s instanceof AggregateError?g=new f(s.errors,s.message,{cause:s.cause}):g=new f(s.message,{cause:s.cause}),g.stack=s.stack,Object.assign(g,s),g}if(typeof File<"u"&&s instanceof File)return new f([s],s.name,{type:s.type,lastModified:s.lastModified});if(typeof s=="object"){let g=Object.create(o);return Object.assign(g,s)}return s}function vtn(s,...o){let f=o.slice(0,-1),g=o[o.length-1],p=s;for(let y=0;y{f+=hie(p,o),o=p});let g=f/2;return uie(s,g)}function Etn(s){return s.length===1?s[0]:Stn(s)}function Btn(s,o,f){let g=structuredClone(f);qr.info("our points",g),o!=="start_left"&&o!=="start_right"&&g.reverse();let p=25+s,y=uie(g,p),k=10+s*.5,T=Math.atan2(g[0].y-y.y,g[0].x-y.x),B={x:0,y:0};return o==="start_left"?(B.x=Math.sin(T+Math.PI)*k+(g[0].x+y.x)/2,B.y=-Math.cos(T+Math.PI)*k+(g[0].y+y.y)/2):o==="end_right"?(B.x=Math.sin(T-Math.PI)*k+(g[0].x+y.x)/2,B.y=-Math.cos(T-Math.PI)*k+(g[0].y+y.y)/2):(B.x=Math.sin(T)*k+(g[0].x+y.x)/2,B.y=-Math.cos(T)*k+(g[0].y+y.y)/2),B}function Mtn(s){let o="",f="";for(let g of s)g!==void 0&&(g.startsWith("color:")||g.startsWith("text-align:")?f=f+g+";":o=o+g+";");return{style:o,labelStyle:f}}function Atn(s){let o="",f="0123456789abcdef",g=f.length;for(let p=0;pMath.round(parseFloat(y)).toString());return p.includes(f.toString())||p.includes(g.toString())}function jtn(s){var o=i0n.call(s,dK),f=s[dK];try{s[dK]=void 0;var g=!0}catch{}var p=a0n.call(s);return g&&(o?s[dK]=f:delete s[dK]),p}function Itn(s){return c0n.call(s)}function Ptn(s){return s==null?s===void 0?u0n:h0n:sXe&&sXe in Object(s)?o0n(s):l0n(s)}function $tn(s){return s!=null&&typeof s=="object"}function Ntn(s){return typeof s=="symbol"||iE(s)&&FO(s)==d0n}function Rtn(s,o){for(var f=-1,g=s==null?0:s.length,p=Array(g);++f0){if(++o>=I0n)return arguments[0]}else o=0;return s.apply(void 0,arguments)}}function Ztn(s){return function(){return s}}function ten(s,o){for(var f=-1,g=s==null?0:s.length;++f-1}function oen(s,o){var f=typeof s;return o=o??Q0n,!!o&&(f=="number"||f!="symbol"&&J0n.test(s))&&s>-1&&s%1==0&&s-1&&s%1==0&&s<=edn}function fen(s){return s!=null&&pie(s.length)&&!Nht(s)}function ben(s){var o=s&&s.constructor,f=typeof o=="function"&&o.prototype||ndn;return s===f}function pen(s,o){for(var f=-1,g=Array(s);++f-1}function Ren(s,o){var f=this.__data__,g=Cut(f,s);return g<0?(++this.size,f.push([s,o])):f[g][1]=o,this}function hE(s){var o=-1,f=s==null?0:s.length;for(this.clear();++o0&&f(T)?o>1?yie(T,o-1,f,g,p):rnn(p,T):g||(p[p.length]=T)}return p}function ann(s,o,f,g){var p=-1,y=s==null?0:s.length;for(g&&y&&(f=s[++p]);++pT))return!1;var v=y.get(s),M=y.get(o);if(v&&M)return v==o&&M==s;var L=-1,F=!0,j=f&hbn?new mnn:void 0;for(y.set(s,o),y.set(o,s);++L=fgn){var v=o?null:dgn(s);if(v)return vie(v);k=!1,p=knn,B=new mnn}else B=o?[]:T;t:for(;++gy){var k=p;p=y,y=k}return p+OXe+y+OXe+(wO(g)?wgn:g)}function crn(s,o,f,g){var p=""+o,y=""+f;if(!s&&p>y){var k=p;p=y,y=k}var T={v:p,w:y};return g&&(T.name=g),T}function Tht(s,o){return CO(s,o.v,o.w,o.name)}function Aut(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}function Tie(s){fE=s}function Ds(s,o=""){let f=typeof s=="string"?s:s.source,g={replace:n((p,y)=>{let k=typeof y=="string"?y:y.source;return k=k.replace(yf.caret,"$1"),f=f.replace(p,k),g},"replace"),getRegex:n(()=>new RegExp(f,o),"getRegex")};return g}function zm(s,o){if(o){if(yf.escapeTest.test(s))return s.replace(yf.escapeReplace,jXe)}else if(yf.escapeTestNoEncode.test(s))return s.replace(yf.escapeReplaceNoEncode,jXe);return s}function Ane(s){try{s=encodeURI(s).replace(yf.percentDecode,"%")}catch{return null}return s}function Lne(s,o){let f=s.replace(yf.findPipe,(y,k,T)=>{let B=!1,v=k;for(;--v>=0&&T[v]==="\\";)B=!B;return B?"|":" |"}),g=f.split(yf.splitPipe),p=0;if(g[0].trim()||g.shift(),g.length>0&&!g.at(-1)?.trim()&&g.pop(),o)if(g.length>o)g.splice(o);else for(;g.length0?-2:-1}function _ne(s,o,f,g,p){let y=o.href,k=o.title||null,T=s[1].replace(p.other.outputLinkReplace,"$1");g.state.inLink=!0;let B={type:s[0].charAt(0)==="!"?"image":"link",raw:f,href:y,title:k,text:T,tokens:g.inlineTokens(T)};return g.state.inLink=!1,B}function krn(s,o,f){let g=s.match(f.other.indentCodeCompensation);if(g===null)return o;let p=g[1];return o.split(` +`).map(y=>{let k=y.match(f.other.beginningSpace);if(k===null)return y;let[T]=k;return T.length>=p.length?y.slice(p.length):y}).join(` +`)}function Os(s,o){return aE.parse(s,o)}function xrn(s){for(var o=[],f=1;f/g,` +`).replace(/\n{2,}/g,` +`);return xrn(f)}function Trn(s){return s.split(/\\n|\n|/gi).map(o=>o.trim().match(/<[^>]+>|[^\s<>]+/g)?.map(f=>({content:f,type:"normal"}))??[])}function Srn(s,o={}){let f=Crn(s,o),g=Os.lexer(f),p=[[]],y=0;function k(T,B="normal"){T.type==="text"?T.text.split(` +`).forEach((v,M)=>{M!==0&&(y++,p.push([])),v.split(" ").forEach(L=>{L=L.replace(/'/g,"'"),L&&p[y].push({content:L,type:B})})}):T.type==="strong"||T.type==="em"?T.tokens.forEach(v=>{k(v,T.type)}):T.type==="html"&&p[y].push({content:T.text,type:"normal"})}return n(k,"processNode"),g.forEach(T=>{T.type==="paragraph"?T.tokens?.forEach(B=>{k(B)}):T.type==="html"?p[y].push({content:T.text,type:"normal"}):p[y].push({content:T.raw,type:"normal"})}),p}function Ern(s){return s?`

    ${s.replace(/\\n|\n/g,"
    ")}

    `:""}function Brn(s,{markdownAutoWrap:o}={}){let f=Os.lexer(s);function g(p){return p.type==="text"?o===!1?p.text.replace(/\n */g,"
    ").replace(/ /g," "):p.text.replace(/\n */g,"
    "):p.type==="strong"?`${p.tokens?.map(g).join("")}`:p.type==="em"?`${p.tokens?.map(g).join("")}`:p.type==="paragraph"?`

    ${p.tokens?.map(g).join("")}

    `:p.type==="space"?"":p.type==="html"?`${p.text}`:p.type==="escape"?p.text:(qr.warn(`Unsupported markdown: ${p.type}`),p.raw)}return n(g,"output"),f.map(g).join("")}function Dne(s,o,f,g){var p=s._tasks,y=s.fastdom,k,T=new Promise(function(B,v){k=y[o](function(){p.delete(T);try{B(g?f.call(g):f())}catch(M){v(M)}},g)});return p.set(T,k),T}function Lrn(s,o){let f={};!s.hFlip!=!o.hFlip&&(f.hFlip=!0),!s.vFlip!=!o.vFlip&&(f.vFlip=!0);let g=((s.rotate||0)+(o.rotate||0))%4;return g&&(f.rotate=g),f}function jne(s,o){let f=Lrn(s,o);for(let g in rpn)g in Kht?g in s&&!(g in f)&&(f[g]=Kht[g]):g in o?f[g]=o[g]:g in s&&(f[g]=s[g]);return f}function _rn(s,o){let f=s.icons,g=s.aliases||Object.create(null),p=Object.create(null);function y(k){if(f[k])return p[k]=[];if(!(k in p)){p[k]=null;let T=g[k]&&g[k].parent,B=T&&y(T);B&&(p[k]=[T].concat(B))}return p[k]}return n(y,"resolve"),(o||Object.keys(f).concat(Object.keys(g))).forEach(y),p}function Ine(s,o,f){let g=s.icons,p=s.aliases||Object.create(null),y={};function k(T){y=jne(g[T]||p[T],y)}return n(k,"parse"),k(o),f.forEach(k),jne(s,y)}function Frn(s,o){if(s.icons[o])return Ine(s,o,[]);let f=_rn(s,[o])[o];return f?Ine(s,o,f):null}function Pne(s,o,f){if(o===1)return s;if(f=f||100,typeof s=="number")return Math.ceil(s*o*f)/f;if(typeof s!="string")return s;let g=s.split(spn);if(g===null||!g.length)return s;let p=[],y=g.shift(),k=cpn.test(y);for(;;){if(k){let T=parseFloat(y);isNaN(T)?p.push(y):p.push(Math.ceil(T*o*f)/f)}else p.push(y);if(y=g.shift(),y===void 0)return p.join("");k=!k}}function Orn(s,o="defs"){let f="",g=s.indexOf("<"+o);for(;g>=0;){let p=s.indexOf(">",g),y=s.indexOf("",y);if(k===-1)break;f+=s.slice(p+1,y).trim(),s=s.slice(0,g).trim()+s.slice(k+1)}return{defs:f,content:s}}function Drn(s,o){return s?""+s+""+o:o}function jrn(s,o,f){let g=Orn(s);return Drn(g.defs,o+g.content+f)}function Irn(s,o){let f={...Arn,...s},g={...apn,...o},p={left:f.left,top:f.top,width:f.width,height:f.height},y=f.body;[f,g].forEach(z=>{let U=[],V=z.hFlip,nt=z.vFlip,at=z.rotate;V?nt?at+=2:(U.push("translate("+(p.width+p.left).toString()+" "+(0-p.top).toString()+")"),U.push("scale(-1 1)"),p.top=p.left=0):nt&&(U.push("translate("+(0-p.left).toString()+" "+(p.height+p.top).toString()+")"),U.push("scale(1 -1)"),p.top=p.left=0);let dt;switch(at<0&&(at-=Math.floor(at/4)*4),at=at%4,at){case 1:dt=p.height/2+p.top,U.unshift("rotate(90 "+dt.toString()+" "+dt.toString()+")");break;case 2:U.unshift("rotate(180 "+(p.width/2+p.left).toString()+" "+(p.height/2+p.top).toString()+")");break;case 3:dt=p.width/2+p.left,U.unshift("rotate(-90 "+dt.toString()+" "+dt.toString()+")");break}at%2===1&&(p.left!==p.top&&(dt=p.left,p.left=p.top,p.top=dt),p.width!==p.height&&(dt=p.width,p.width=p.height,p.height=dt)),U.length&&(y=jrn(y,'',""))});let k=g.width,T=g.height,B=p.width,v=p.height,M,L;k===null?(L=T===null?"1em":T==="auto"?v:T,M=Pne(L,B/v)):(M=k==="auto"?B:k,L=T===null?Pne(M,v/B):T==="auto"?v:T);let F={},j=n((z,U)=>{lpn(U)||(F[z]=U.toString())},"setAttr");j("width",M),j("height",L);let $=[p.left,p.top,B,v];return F.viewBox=$.join(" "),{attributes:F,viewBox:$,body:y}}function Prn(s,o=upn){let f=[],g;for(;g=hpn.exec(s);)f.push(g[1]);if(!f.length)return s;let p="suffix"+(Math.random()*16777216|Date.now()).toString(16);return f.forEach(y=>{let k=typeof o=="function"?o(y):o+(dpn++).toString(),T=y.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");s=s.replace(new RegExp('([#;"])('+T+')([")]|\\.[a-z])',"g"),"$1"+k+p+"$3")}),s=s.replace(new RegExp(p,"g"),""),s}function $rn(s,o){let f=s.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let g in o)f+=" "+g+'="'+o[g]+'"';return'"+s+""}function zrn(s){return Intl.Segmenter?[...new Intl.Segmenter().segment(s)].map(o=>o.segment):[...s]}function qrn(s,o){let f=zrn(o.content);return Oie(s,[],f,o.type)}function Oie(s,o,f,g){if(f.length===0)return[{content:o.join(""),type:g},{content:"",type:g}];let[p,...y]=f,k=[...o,p];return s([{content:k.join(""),type:g}])?Oie(s,k,y,g):(o.length===0&&p&&(o.push(p),f.shift()),[{content:o.join(""),type:g},{content:f.join(""),type:g}])}function Hrn(s,o){if(s.some(({content:f})=>f.includes(` +`)))throw new Error("splitLineToFitWidth does not support newlines in the line");return Uht(s,o)}function Uht(s,o,f=[],g=[]){if(s.length===0)return g.length>0&&f.push(g),f.length>0?f:[];let p="";s[0].content===" "&&(p=" ",s.shift());let y=s.shift()??{content:" ",type:"normal"},k=[...g];if(p!==""&&k.push({content:p,type:"normal"}),k.push(y),o(k))return Uht(s,o,f,k);if(g.length>0)f.push(g),s.unshift(y);else if(y.content){let[T,B]=qrn(o,y);f.push([T]),B.content&&s.unshift(B)}return Uht(s,o,f)}function $ne(s,o){o&&s.attr("style",o)}async function Krn(s,o,f,g,p=!1,y=B0(),k=0){let T=s.append("foreignObject");T.attr("width",`${Math.min(10*f,PXe)}px`),T.attr("height",`${Math.min(10*f,PXe)}px`);let B=T.append("xhtml:div"),v=JK(o.label)?await b1n(o.label.replace(gut.lineBreakRegex,` +`),y):Hm(o.label,y),M=o.isNode?"nodeLabel":"edgeLabel",L=B.append("span");L.html(v),$ne(L,o.labelStyle),L.attr("class",`${M} ${g}`),$ne(B,o.labelStyle),B.style("display","table-cell"),B.style("white-space","nowrap"),B.style("line-height","1.5"),f!==Number.POSITIVE_INFINITY&&(B.style("max-width",f+"px"),B.style("text-align","center")),B.attr("xmlns","http://www.w3.org/1999/xhtml"),p&&B.attr("class","labelBkg");let F=await oE.measure(()=>B.node().getBoundingClientRect());return F.width===f?(B.style("display","table"),B.style("white-space","break-spaces"),B.style("width",f+"px")):F.widthUrn(y,1.1,F)<=s,"checkWidth"),L=M(v)?[v]:Hrn(v,M);for(let F of L){let j=Die(T,B,1.1,p);jie(j,F),B++}}if(g){let v=T.node().getBBox(),M=2;return k.attr("x",v.x-M).attr("y",v.y-M).attr("width",v.width+2*M).attr("height",v.height+2*M),y.node()}else return T.node()}function Nne(s){let o=/&(amp|lt|gt);/g;return s.replace(o,(f,g)=>{switch(g){case"amp":return"&";case"lt":return"<";case"gt":return">";default:return f}})}function jie(s,o){s.text(""),o.forEach((f,g)=>{let p=s.append("tspan").attr("font-style",f.type==="em"?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight",f.type==="strong"?"bold":"normal");g===0?p.text(Nne(f.content)):p.text(" "+Nne(f.content))})}async function Grn(s,o={}){let f=[];s.replace(/(fa[bklrs]?):fa-([\w-]+)/g,(p,y,k)=>(f.push((async()=>{let T=`${y}:${k}`;return await Rrn(T)?await OO(T,void 0,{class:"label-icon"}):``})()),p));let g=await Promise.all(f);return s.replace(/(fa[bklrs]?):fa-([\w-]+)/g,()=>g.shift()??"")}function SK(s,o){if(s===void 0||o===void 0)return{angle:0,deltaX:0,deltaY:0};s=Ol(s),o=Ol(o);let[f,g]=[s.x,s.y],[p,y]=[o.x,o.y],k=p-f,T=y-g;return{angle:Math.atan(T/k),deltaX:k,deltaY:T}}function Sht(s,o,f){if(s&&s.length){let[g,p]=o,y=Math.PI/180*f,k=Math.cos(y),T=Math.sin(y);for(let B of s){let[v,M]=B;B[0]=(v-g)*k-(M-p)*T+g,B[1]=(v-g)*T+(M-p)*k+p}}}function Vrn(s,o){return s[0]===o[0]&&s[1]===o[1]}function Xrn(s,o,f,g=1){let p=f,y=Math.max(o,.1),k=s[0]&&s[0][0]&&typeof s[0][0]=="number"?[s]:s,T=[0,0];if(p)for(let v of k)Sht(v,T,p);let B=(function(v,M,L){let F=[];for(let nt of v){let at=[...nt];Vrn(at[0],at[at.length-1])||at.push([at[0][0],at[0][1]]),at.length>2&&F.push(at)}let j=[];M=Math.max(M,.1);let $=[];for(let nt of F)for(let at=0;atnt.yminat.ymin?1:nt.xat.x?1:nt.ymax===at.ymax?0:(nt.ymax-at.ymax)/Math.abs(nt.ymax-at.ymax))),!$.length)return j;let z=[],U=$[0].ymin,V=0;for(;z.length||$.length;){if($.length){let nt=-1;for(let at=0;at<$.length&&!($[at].ymin>U);at++)nt=at;$.splice(0,nt+1).forEach((at=>{z.push({s:U,edge:at})}))}if(z=z.filter((nt=>!(nt.edge.ymax<=U))),z.sort(((nt,at)=>nt.edge.x===at.edge.x?0:(nt.edge.x-at.edge.x)/Math.abs(nt.edge.x-at.edge.x))),(L!==1||V%M==0)&&z.length>1)for(let nt=0;nt=z.length)break;let dt=z[nt].edge,et=z[at].edge;j.push([[Math.round(dt.x),U],[Math.round(et.x),U]])}U+=L,z.forEach((nt=>{nt.edge.x=nt.edge.x+L*nt.edge.islope})),V++}return j})(k,y,g);if(p){for(let v of k)Sht(v,T,-p);(function(v,M,L){let F=[];v.forEach((j=>F.push(...j))),Sht(F,M,L)})(B,T,-p)}return B}function DO(s,o){var f;let g=o.hachureAngle+90,p=o.hachureGap;p<0&&(p=4*o.strokeWidth),p=Math.round(Math.max(p,.1));let y=1;return o.roughness>=1&&(((f=o.randomizer)===null||f===void 0?void 0:f.next())||Math.random())>.7&&(y=p),Xrn(s,p,g,y||1)}function gU(s){let o=s[0],f=s[1];return Math.sqrt(Math.pow(o[0]-f[0],2)+Math.pow(o[1]-f[1],2))}function Eht(s,o){return s.type===o}function Fut(s){let o=[],f=(function(k){let T=new Array;for(;k!=="";)if(k.match(/^([ \t\r\n,]+)/))k=k.substr(RegExp.$1.length);else if(k.match(/^([aAcChHlLmMqQsStTvVzZ])/))T[T.length]={type:xpn,text:RegExp.$1},k=k.substr(RegExp.$1.length);else{if(!k.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];T[T.length]={type:jee,text:`${parseFloat(RegExp.$1)}`},k=k.substr(RegExp.$1.length)}return T[T.length]={type:$Xe,text:""},T})(s),g="BOD",p=0,y=f[p];for(;!Eht(y,$Xe);){let k=0,T=[];if(g==="BOD"){if(y.text!=="M"&&y.text!=="m")return Fut("M0,0"+s);p++,k=oht[y.text],g=y.text}else Eht(y,jee)?k=oht[g]:(p++,k=oht[y.text],g=y.text);if(!(p+kM%2?v+f:v+o));y.push({key:"C",data:B}),o=B[4],f=B[5];break}case"Q":y.push({key:"Q",data:[...T]}),o=T[2],f=T[3];break;case"q":{let B=T.map(((v,M)=>M%2?v+f:v+o));y.push({key:"Q",data:B}),o=B[2],f=B[3];break}case"A":y.push({key:"A",data:[...T]}),o=T[5],f=T[6];break;case"a":o+=T[5],f+=T[6],y.push({key:"A",data:[T[0],T[1],T[2],T[3],T[4],o,f]});break;case"H":y.push({key:"H",data:[...T]}),o=T[0];break;case"h":o+=T[0],y.push({key:"H",data:[o]});break;case"V":y.push({key:"V",data:[...T]}),f=T[0];break;case"v":f+=T[0],y.push({key:"V",data:[f]});break;case"S":y.push({key:"S",data:[...T]}),o=T[2],f=T[3];break;case"s":{let B=T.map(((v,M)=>M%2?v+f:v+o));y.push({key:"S",data:B}),o=B[2],f=B[3];break}case"T":y.push({key:"T",data:[...T]}),o=T[0],f=T[1];break;case"t":o+=T[0],f+=T[1],y.push({key:"T",data:[o,f]});break;case"Z":case"z":y.push({key:"Z",data:[]}),o=g,f=p}return y}function $ie(s){let o=[],f="",g=0,p=0,y=0,k=0,T=0,B=0;for(let{key:v,data:M}of s){switch(v){case"M":o.push({key:"M",data:[...M]}),[g,p]=M,[y,k]=M;break;case"C":o.push({key:"C",data:[...M]}),g=M[4],p=M[5],T=M[2],B=M[3];break;case"L":o.push({key:"L",data:[...M]}),[g,p]=M;break;case"H":g=M[0],o.push({key:"L",data:[g,p]});break;case"V":p=M[0],o.push({key:"L",data:[g,p]});break;case"S":{let L=0,F=0;f==="C"||f==="S"?(L=g+(g-T),F=p+(p-B)):(L=g,F=p),o.push({key:"C",data:[L,F,...M]}),T=M[0],B=M[1],g=M[2],p=M[3];break}case"T":{let[L,F]=M,j=0,$=0;f==="Q"||f==="T"?(j=g+(g-T),$=p+(p-B)):(j=g,$=p);let z=g+2*(j-g)/3,U=p+2*($-p)/3,V=L+2*(j-L)/3,nt=F+2*($-F)/3;o.push({key:"C",data:[z,U,V,nt,L,F]}),T=j,B=$,g=L,p=F;break}case"Q":{let[L,F,j,$]=M,z=g+2*(L-g)/3,U=p+2*(F-p)/3,V=j+2*(L-j)/3,nt=$+2*(F-$)/3;o.push({key:"C",data:[z,U,V,nt,j,$]}),T=L,B=F,g=j,p=$;break}case"A":{let L=Math.abs(M[0]),F=Math.abs(M[1]),j=M[2],$=M[3],z=M[4],U=M[5],V=M[6];L===0||F===0?(o.push({key:"C",data:[g,p,U,V,U,V]}),g=U,p=V):(g!==U||p!==V)&&(Nie(g,p,U,V,L,F,j,$,z).forEach((function(nt){o.push({key:"C",data:nt})})),g=U,p=V);break}case"Z":o.push({key:"Z",data:[]}),g=y,p=k}f=v}return o}function yO(s,o,f){return[s*Math.cos(f)-o*Math.sin(f),s*Math.sin(f)+o*Math.cos(f)]}function Nie(s,o,f,g,p,y,k,T,B,v){let M=(L=k,Math.PI*L/180);var L;let F=[],j=0,$=0,z=0,U=0;if(v)[j,$,z,U]=v;else{[s,o]=yO(s,o,-M),[f,g]=yO(f,g,-M);let Ce=(s-f)/2,ge=(o-g)/2,be=Ce*Ce/(p*p)+ge*ge/(y*y);be>1&&(be=Math.sqrt(be),p*=be,y*=be);let le=p*p,Oe=y*y,ke=le*Oe-le*ge*ge-Oe*Ce*Ce,nn=le*ge*ge+Oe*Ce*Ce,tt=(T===B?-1:1)*Math.sqrt(Math.abs(ke/nn));z=tt*p*ge/y+(s+f)/2,U=tt*-y*Ce/p+(o+g)/2,j=Math.asin(parseFloat(((o-U)/y).toFixed(9))),$=Math.asin(parseFloat(((g-U)/y).toFixed(9))),s$&&(j-=2*Math.PI),!B&&$>j&&($-=2*Math.PI)}let V=$-j;if(Math.abs(V)>120*Math.PI/180){let Ce=$,ge=f,be=g;$=B&&$>j?j+120*Math.PI/180*1:j+120*Math.PI/180*-1,F=Nie(f=z+p*Math.cos($),g=U+y*Math.sin($),ge,be,p,y,k,0,B,[$,Ce,z,U])}V=$-j;let nt=Math.cos(j),at=Math.sin(j),dt=Math.cos($),et=Math.sin($),Ft=Math.tan(V/4),Nt=4/3*p*Ft,se=4/3*y*Ft,Ge=[s,o],Ue=[s+Nt*at,o-se*nt],me=[f+Nt*et,g-se*dt],fn=[f,g];if(Ue[0]=2*Ge[0]-Ue[0],Ue[1]=2*Ge[1]-Ue[1],v)return[Ue,me,fn].concat(F);{F=[Ue,me,fn].concat(F);let Ce=[];for(let ge=0;ge2){let p=[];for(let y=0;y2*Math.PI&&(j=0,$=2*Math.PI);let z=2*Math.PI/B.curveStepCount,U=Math.min(z/2,($-j)/2),V=Wne(U,v,M,L,F,j,$,1,B);if(!B.disableMultiStroke){let nt=Wne(U,v,M,L,F,j,$,1.5,B);V.push(...nt)}return k&&(T?V.push(...u6(v,M,v+L*Math.cos(j),M+F*Math.sin(j),B),...u6(v,M,v+L*Math.cos($),M+F*Math.sin($),B)):V.push({op:"lineTo",data:[v,M]},{op:"lineTo",data:[v+L*Math.cos(j),M+F*Math.sin(j)]})),{type:"path",ops:V}}function Hne(s,o){let f=$ie(Pie(Fut(s))),g=[],p=[0,0],y=[0,0];for(let{key:k,data:T}of f)switch(k){case"M":y=[T[0],T[1]],p=[T[0],T[1]];break;case"L":g.push(...u6(y[0],y[1],T[0],T[1],o)),y=[T[0],T[1]];break;case"C":{let[B,v,M,L,F,j]=T;g.push(...Qrn(B,v,M,L,F,j,y,o)),y=[F,j];break}case"Z":g.push(...u6(y[0],y[1],p[0],p[1],o)),y=[p[0],p[1]]}return{type:"path",ops:g}}function Bht(s,o){let f=[];for(let g of s)if(g.length){let p=o.maxRandomnessOffset||0,y=g.length;if(y>2){f.push({op:"move",data:[g[0][0]+Pi(p,o),g[0][1]+Pi(p,o)]});for(let k=1;k500?.4:-.0016668*B+1.233334;let M=p.maxRandomnessOffset||0;M*M*100>T&&(M=B/10);let L=M/2,F=.2+.2*qie(p),j=p.bowing*p.maxRandomnessOffset*(g-o)/200,$=p.bowing*p.maxRandomnessOffset*(s-f)/200;j=Pi(j,p,v),$=Pi($,p,v);let z=[],U=n(()=>Pi(L,p,v),"M"),V=n(()=>Pi(M,p,v),"k"),nt=p.preserveVertices;return y&&(k?z.push({op:"move",data:[s+(nt?0:U()),o+(nt?0:U())]}):z.push({op:"move",data:[s+(nt?0:Pi(M,p,v)),o+(nt?0:Pi(M,p,v))]})),k?z.push({op:"bcurveTo",data:[j+s+(f-s)*F+U(),$+o+(g-o)*F+U(),j+s+2*(f-s)*F+U(),$+o+2*(g-o)*F+U(),f+(nt?0:U()),g+(nt?0:U())]}):z.push({op:"bcurveTo",data:[j+s+(f-s)*F+V(),$+o+(g-o)*F+V(),j+s+2*(f-s)*F+V(),$+o+2*(g-o)*F+V(),f+(nt?0:V()),g+(nt?0:V())]}),z}function EK(s,o,f){if(!s.length)return[];let g=[];g.push([s[0][0]+Pi(o,f),s[0][1]+Pi(o,f)]),g.push([s[0][0]+Pi(o,f),s[0][1]+Pi(o,f)]);for(let p=1;p3){let y=[],k=1-f.curveTightness;p.push({op:"move",data:[s[1][0],s[1][1]]});for(let T=1;T+21&&p.push(T)):p.push(T),p.push(s[o+3])}else{let T=s[o+0],B=s[o+1],v=s[o+2],M=s[o+3],L=Qk(T,B,.5),F=Qk(B,v,.5),j=Qk(v,M,.5),$=Qk(L,F,.5),z=Qk(F,j,.5),U=Qk($,z,.5);Vht([T,L,$,U],0,f,p),Vht([U,z,j,M],0,f,p)}var y,k;return p}function Zrn(s,o){return iU(s,0,s.length,o)}function iU(s,o,f,g,p){let y=p||[],k=s[o],T=s[f-1],B=0,v=1;for(let M=o+1;MB&&(B=L,v=M)}return Math.sqrt(B)>g?(iU(s,o,v+1,g,y),iU(s,v,f,g,y)):(y.length||y.push(k),y.push(T)),y}function Mht(s,o=.15,f){let g=[],p=(s.length-1)/3;for(let y=0;y0?iU(g,0,g.length,f):g}function BK(s,o,f){s.terminalLabelSizes??={},s.terminalLabelSizes[o]={width:f.width,height:f.height}}function MK(s,o,f){M0(Da())&&s&&(s.style.width=Math.max(o.length*9,f.width)+"px",s.style.height=f.height+"px")}function rin(s){let o=[],f=[];for(let g=1;g5&&Math.abs(y.y-p.y)>5||p.y===y.y&&y.x===k.x&&Math.abs(y.x-p.x)>5&&Math.abs(y.y-k.y)>5)&&(o.push(y),f.push(g))}return{cornerPoints:o,cornerPointPositions:f}}function iin(s,o){if(s.length<2)return"";let f="",g=s.length,p=1e-5;for(let y=0;y({...p}));if(s.length>=2&&s1[o.arrowTypeStart]){let p=s1[o.arrowTypeStart],y=s[0],k=s[1],{angle:T}=Vne(y,k),B=p*Math.cos(T),v=p*Math.sin(T);f[0].x=y.x+B,f[0].y=y.y+v}let g=s.length;if(g>=2&&s1[o.arrowTypeEnd]){let p=s1[o.arrowTypeEnd],y=s[g-1],k=s[g-2],{angle:T}=Vne(k,y),B=p*Math.cos(T),v=p*Math.sin(T);f[g-1].x=y.x-B,f[g-1].y=y.y-v}return f}async function Hie(s){let o=s.getElementsByTagName("img");if(!o||o.length===0)return;let f=!Kie(s);await Promise.all([...o].map(g=>new Promise(p=>{function y(){if(g.style.display="flex",g.style.flexDirection="column",f){let k=Da().fontSize?Da().fontSize:window.getComputedStyle(document.body).fontSize,T=5,[B=kYe.fontSize]=yut(k),v=B*T+"px";g.style.minWidth=v,g.style.maxWidth=v}else g.style.width="100%";p(g)}n(y,"setupImage"),setTimeout(()=>{g.complete&&y()}),g.addEventListener("error",y),g.addEventListener("load",y)})))}function Kie(s){return s.nodeType===Kpn?s.textContent?.trim()!=="":s.nodeType!==Hpn||s.tagName.toLowerCase()==="img"?!1:[...s.childNodes].some(Kie)}function Xo(s){let o=s.map((f,g)=>`${g===0?"M":"L"}${f.x},${f.y}`);return o.push("Z"),o.join(" ")}function r9(s,o,f,g,p,y){let k=[],T=f-s,B=g-o,v=T/y,M=2*Math.PI/v,L=o+B/2;for(let F=0;F<=50;F++){let j=F/50,$=s+j*T,z=L+p*Math.sin(M*($-s));k.push({x:$,y:z})}return k}function e5(s,o,f,g,p,y){let k=[],T=p*Math.PI/180,B=(y*Math.PI/180-T)/(g-1);for(let v=0;vB.tagName==="path"),f=document.createElementNS("http://www.w3.org/2000/svg","path"),g=o.map(B=>B.getAttribute("d")).filter(B=>B!==null).join(" ");f.setAttribute("d",g);let p=o.find(B=>B.getAttribute("fill")!=="none"),y=o.find(B=>B.getAttribute("stroke")!=="none"),k=n((B,v)=>B?.getAttribute(v)??void 0,"getAttr");if(p){let B={fill:k(p,"fill"),"fill-opacity":k(p,"fill-opacity")??"1"};Object.entries(B).forEach(([v,M])=>{M&&f.setAttribute(v,M)})}if(y){let B={stroke:k(y,"stroke"),"stroke-width":k(y,"stroke-width")??"1","stroke-opacity":k(y,"stroke-opacity")??"1"};Object.entries(B).forEach(([v,M])=>{M&&f.setAttribute(v,M)})}let T=document.createElementNS("http://www.w3.org/2000/svg","g");return T.appendChild(f),T}function oin(s,o){return s.intersect(o)}function sin(s,o,f,g){var p=s.x,y=s.y,k=p-g.x,T=y-g.y,B=Math.sqrt(o*o*T*T+f*f*k*k),v=Math.abs(o*f*k/B);g.x0}function uin(s,o,f){let g=s.x,p=s.y,y=[],k=Number.POSITIVE_INFINITY,T=Number.POSITIVE_INFINITY;typeof o.forEach=="function"?o.forEach(function(M){k=Math.min(k,M.x),T=Math.min(T,M.y)}):(k=Math.min(k,o.x),T=Math.min(T,o.y));let B=g-s.width/2-k,v=p-s.height/2-T;for(let M=0;M1&&y.sort(function(M,L){let F=M.x-f.x,j=M.y-f.y,$=Math.sqrt(F*F+j*j),z=L.x-f.x,U=L.y-f.y,V=Math.sqrt(z*z+U*U);return $M,":first-child");return L.attr("class","anchor").attr("style",Au(T)),Cr(o,L),o.intersect=function(F){return qr.info("Circle intersect",o,k,F),ar.circle(o,k,F)},y}function Qne(s,o,f,g,p,y,k){let T=(s+f)/2,B=(o+g)/2,v=Math.atan2(g-o,f-s),M=(f-s)/2,L=(g-o)/2,F=M/p,j=L/y,$=Math.sqrt(F**2+j**2);if($>1)throw new Error("The given radii are too small to create an arc between the points.");let z=Math.sqrt(1-$**2),U=T+z*y*Math.sin(v)*(k?-1:1),V=B-z*p*Math.cos(v)*(k?-1:1),nt=Math.atan2((o-V)/y,(s-U)/p),at=Math.atan2((g-V)/y,(f-U)/p)-nt;k&&at<0&&(at+=2*Math.PI),!k&&at>0&&(at-=2*Math.PI);let dt=[];for(let et=0;et<20;et++){let Ft=et/19,Nt=nt+Ft*at,se=U+p*Math.cos(Nt),Ge=V+y*Math.sin(Nt);dt.push({x:se,y:Ge})}return dt}function fin(s,o,f){let[g,p]=[o,f].sort((y,k)=>k-y);return p*(1-Math.sqrt(1-(s/g/2)**2))}async function bin(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.padding??0,y=o.look==="neo"?16:p,k=o.look==="neo"?12:p,T=n(se=>se+k,"calcTotalHeight"),B=n(se=>{let Ge=se/2;return[Ge/(2.5+se/50),Ge]},"calcEllipseRadius"),{shapeSvg:v,bbox:M}=await ni(s,o,Zr(o)),L=T(o?.height?o?.height:M.height),[F,j]=B(L),$=fin(L,F,j),z=(o?.width?o?.width:M.width)+y*2+$-$,U=L,{cssStyles:V}=o,nt=[{x:z/2,y:-U/2},{x:-z/2,y:-U/2},...Qne(-z/2,-U/2,-z/2,U/2,F,j,!1),{x:z/2,y:U/2},...Qne(z/2,U/2,z/2,-U/2,F,j,!0)],at=br.svg(v),dt=dr(o,{});o.look!=="handDrawn"&&(dt.roughness=0,dt.fillStyle="solid");let et=Xo(nt),Ft=at.path(et,dt),Nt=v.insert(()=>Ft,":first-child");return Nt.attr("class","basic label-container outer-path"),V&&o.look!=="handDrawn"&&Nt.selectAll("path").attr("style",V),g&&o.look!=="handDrawn"&&Nt.selectAll("path").attr("style",g),Nt.attr("transform",`translate(${F/2}, 0)`),Cr(o,Nt),o.intersect=function(se){return ar.polygon(o,nt,se)},v}async function gin(s,o,{config:{themeVariables:f}}){let{labelStyles:g,nodeStyles:p}=vr(o);o.labelStyle=g;let{shapeSvg:y,bbox:k,label:T}=await ni(s,o,Zr(o)),B=f?.nodeBorder??f?.lineColor??"currentColor",v=o.padding??12,M=Math.max(k.width+v*2,o.width??0,80),L=Math.max(Math.min(M*.08,12),5),F=Math.max(k.height+v*2+L,o.height??0),j=-F/2+L,$=F/2,z=M*.72,U=[`M${-M/2},${j}`,`L${-z/2},${$}`,`A${z/2},${L} 0 0 0 ${z/2},${$}`,`L${M/2},${j}`,`A${M/2},${L} 0 0 0 ${-M/2},${j}`,"Z"].join(" "),{cssStyles:V}=o,nt=y.insert("g",":first-child").attr("class","basic label-container");if(o.look==="handDrawn"){let Nt=br.svg(y).path(U,dr(o,{}));nt.node()?.appendChild(Nt),V&&nt.attr("style",V)}else nt.append("path").attr("d",U).attr("style",p);nt.append("ellipse").attr("cx",0).attr("cy",j).attr("rx",M/2).attr("ry",L).attr("style",`fill:none;stroke:${B};stroke-width:1px`),Cr(o,nt);let at=j+($-j)/2;T.attr("transform",`translate(${-(k.width/2)-(k.x-(k.left??0))}, ${at-k.height/2-(k.y-(k.top??0))})`);let dt=12,et=n((Nt,se,Ge)=>Array.from({length:dt+1},(Ue,me)=>{let fn=Math.PI-me*Math.PI/dt;return{x:Nt*Math.cos(fn),y:se+Ge*L*Math.sin(fn)}}),"arc"),Ft=[...et(M/2,j,-1),...et(z/2,$,1).reverse()];return o.intersect=function(Nt){return ar.polygon(o,Ft,Nt)},y}function win(s){let{themeVariables:o}=Da(),f=o.clusterBkg,g=o.clusterBorder;return s==="flow"?{rx:10,fill:"none",stroke:o.flowContainerStroke||o.secondaryBorderColor,strokeWidth:.75,cssClass:"flow-collapsed"}:{rx:n2n,fill:f,stroke:g,cssClass:"collapsed-group"}}async function min(s,o){let f=win(o.metadata?.containerType),{fill:g,stroke:p}=f,{nodeStyles:y}=vr(o),{shapeSvg:k,bbox:T}=await ni(s,o,Zr(o)),{theme:B,themeVariables:v}=Da();J2(k,o.colorIndex,B,v.borderColorArray);let M=o.padding??8,L=T.height,F=Math.max(T.width+M*2,e2n,o?.width??0),j=Math.max(L+Pee+Iee+M*2,o?.height??0),$=-F/2,z=-j/2,U=-(Pee+Iee)/2,V=k.select(".label");V&&(o.useHtmlLabels??M0(Da())?V.attr("transform",`translate(${-T.width/2}, ${-T.height/2+U})`):V.attr("transform",`translate(0, ${-T.height/2+U})`));let nt;if(o.look==="handDrawn"){let Nt=br.svg(k),se=dr(o,{fill:g,stroke:p,...f.strokeWidth===void 0?{}:{strokeWidth:f.strokeWidth},...g==="none"?{fillWeight:0}:{fillStyle:"solid"}}),Ge=Nt.path(mp($,z,F,j,f.rx),se);nt=k.insert(()=>Ge,":first-child"),nt.attr("class","basic label-container "+f.cssClass).attr("style",Au(o.cssStyles))}else nt=k.insert("rect",":first-child"),nt.attr("class","basic label-container "+f.cssClass).attr("style",y).attr("rx",f.rx).attr("ry",f.rx).attr("x",$).attr("y",z).attr("width",F).attr("height",j).attr("fill",g).attr("stroke",p),f.strokeWidth!==void 0&&nt.attr("stroke-width",f.strokeWidth+"px");let at=z+M+L+Pee;k.append("line").attr("class","collapsed-separator").attr("x1",$+8).attr("y1",at).attr("x2",$+F-8).attr("y2",at).attr("stroke",p).attr("stroke-dasharray","3, 3");let dt=at+Iee/2,et=2.5,Ft=10;for(let Nt=-1;Nt<=1;Nt++)k.append("circle").attr("class","collapsed-indicator").attr("cx",Nt*Ft).attr("cy",dt).attr("r",et).attr("fill",p);return Cr(o,nt),o.calcIntersect=function(Nt,se){return ar.rect(Nt,se)},o.intersect=function(Nt){return ar.rect(o,Nt)},k}function c5(s,o,f,g){return s.insert("polygon",":first-child").attr("points",g.map(function(p){return p.x+","+p.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-o/2+","+f/2+")")}async function yin(s,o){let f=o,{shapeSvg:g,bbox:p}=await ni(s,f,Zr(f)),y=f.padding??0,k=p.height+2*y,T=k/2,B=p.width+2*T+y,v=f.width??0,M=f.positioned&&(f.widthInColumns??1)>1&&v>B?v:B,L=o2n(f.directions??[],p,f,M),F=c5(g,M,k,L);return F.attr("style",f.style??null),Cr(f,F),f.intersect=function(j){return ar.polygon(f,L,j)},g}async function vin(s,o,{config:{themeVariables:f}}){let{labelStyles:g,nodeStyles:p}=vr(o);o.labelStyle=g;let{shapeSvg:y,bbox:k,label:T}=await ni(s,o,Zr(o)),B=f?.nodeBorder??f?.lineColor??"currentColor",v=o.padding??12,M=18,L=12,F=Math.max(k.width+v*2,o.width??0,90),j=Math.max(k.height+v*2+M,o.height??0),$=-j/2,{cssStyles:z}=o,U=y.insert("g",":first-child").attr("class","basic label-container");if(o.look==="handDrawn"){let nt=br.svg(y).path(mp(-F/2,$,F,j,L),dr(o,{}));U.node()?.appendChild(nt),z&&U.attr("style",z)}else U.append("rect").attr("x",-F/2).attr("y",$).attr("width",F).attr("height",j).attr("rx",L).attr("ry",L).attr("style",p);U.append("line").attr("x1",-F/2).attr("y1",$+M).attr("x2",F/2).attr("y2",$+M).attr("style",`stroke:${B};stroke-width:1px`);for(let nt=0;nt<3;nt++)U.append("circle").attr("cx",-F/2+12+nt*9).attr("cy",$+M/2).attr("r",2.5).attr("style",`fill:${B};stroke:none`);U.append("rect").attr("class","browser-address-bar").attr("x",-F/2+44).attr("y",$+4).attr("width",Math.max(F-56,10)).attr("height",M-8).attr("rx",3).attr("ry",3).attr("style",`fill:none;stroke:${B};stroke-width:1px;opacity:0.6`),Cr(o,U);let V=$+M+(j-M)/2;return T.attr("transform",`translate(${-(k.width/2)-(k.x-(k.left??0))}, ${V-k.height/2-(k.y-(k.top??0))})`),o.intersect=function(nt){return ar.rect(o,nt)},y}async function kin(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.padding??0,y=o.look==="neo"?28:p,k=o.look==="neo"?24:p,{shapeSvg:T,bbox:B}=await ni(s,o,Zr(o)),v=(o?.width??B.width)+(o.look==="neo"?y*2:y+cht),M=(o?.height??B.height)+(o.look==="neo"?k*2:k),L=0,F=v,j=-M,$=0,z=[{x:L+cht,y:j},{x:F,y:j},{x:F,y:$},{x:L,y:$},{x:L,y:j+cht},{x:L+cht,y:j}],U,{cssStyles:V}=o;if(o.look==="handDrawn"){let nt=br.svg(T),at=dr(o,{}),dt=Xo(z),et=nt.path(dt,at);U=T.insert(()=>et,":first-child").attr("transform",`translate(${-v/2}, ${M/2})`),V&&U.attr("style",V)}else U=c5(T,v,M,z);return g&&U.attr("style",g),Cr(o,U),o.intersect=function(nt){return ar.polygon(o,z,nt)},T}function xin(s,o){let{nodeStyles:f}=vr(o);o.label="";let g=s.insert("g").attr("class",Zr(o)).attr("id",o.domId??o.id),{cssStyles:p}=o,y=Math.max(28,o.width??0),k=[{x:0,y:y/2},{x:y/2,y:0},{x:0,y:-y/2},{x:-y/2,y:0}],T=br.svg(g),B=dr(o,{});o.look!=="handDrawn"&&(B.roughness=0,B.fillStyle="solid");let v=Xo(k),M=T.path(v,B),L=g.insert(()=>M,":first-child");return p&&o.look!=="handDrawn"&&L.selectAll("path").attr("style",p),f&&o.look!=="handDrawn"&&L.selectAll("path").attr("style",f),o.width=28,o.height=28,o.intersect=function(F){return ar.polygon(o,k,F)},g}async function Wie(s,o,f){let{labelStyles:g,nodeStyles:p}=vr(o);o.labelStyle=g;let{shapeSvg:y,bbox:k,halfPadding:T}=await ni(s,o,Zr(o)),B=16,v=f?.padding??T,M=Math.sqrt(k.width**2+k.height**2)/2,L=o.look==="neo"?M+B*2:M+v,F,{cssStyles:j}=o;if(o.look==="handDrawn"){let $=br.svg(y),z=dr(o,{}),U=$.circle(0,0,L*2,z);F=y.insert(()=>U,":first-child"),F.attr("class","basic label-container").attr("style",Au(j))}else F=y.insert("circle",":first-child").attr("class","basic label-container").attr("style",p).attr("r",L).attr("cx",0).attr("cy",0);return Cr(o,F),o.calcIntersect=function($,z){let U=$.width/2;return ar.circle($,U,z)},o.intersect=function($){return qr.info("Circle intersect",o,L,$),ar.circle(o,L,$)},y}async function Cin(s,o){let f=o,g=["node",f.cssClasses,f.class].filter(Boolean).join(" "),{shapeSvg:p,bbox:y,halfPadding:k}=await ni(s,f,g),T=p.insert("rect",":first-child"),B=f.padding??0,v=f.positioned?f.width??0:y.width+B,M=f.positioned?f.height??0:y.height+B,L=f.positioned?-v/2:-y.width/2-k,F=f.positioned?-M/2:-y.height/2-k;return T.attr("class","basic cluster composite label-container").attr("style",f.style??null).attr("rx",f.rx??null).attr("ry",f.ry??null).attr("x",L).attr("y",F).attr("width",v).attr("height",M),Cr(f,T),f.intersect=function(j){return ar.rect(f,j)},p}async function Tin(s,o,{config:{themeVariables:f}}){let{labelStyles:g,nodeStyles:p}=vr(o);o.labelStyle=g;let{shapeSvg:y,bbox:k,label:T}=await ni(s,o,Zr(o)),B=f?.nodeBorder??f?.lineColor??"currentColor",v=o.padding??12,M=20,L=12,F=Math.max(k.width+v*2,o.width??0,90),j=Math.max(k.height+v*2+M,o.height??0),$=-j/2,{cssStyles:z}=o,U=y.insert("g",":first-child").attr("class","basic label-container");if(o.look==="handDrawn"){let nt=br.svg(y).path(mp(-F/2,$,F,j,L),dr(o,{}));U.node()?.appendChild(nt),z&&U.attr("style",z)}else U.append("rect").attr("x",-F/2).attr("y",$).attr("width",F).attr("height",j).attr("rx",L).attr("ry",L).attr("style",p);U.append("text").attr("x",-F/2+12).attr("y",$+16).attr("class","console-glyph").attr("style",`font-family:monospace;font-weight:bold;font-size:14px;fill:${B}`).text(">_"),Cr(o,U);let V=$+M+(j-M)/2;return T.attr("transform",`translate(${-(k.width/2)-(k.x-(k.left??0))}, ${V-k.height/2-(k.y-(k.top??0))})`),o.intersect=function(nt){return ar.rect(o,nt)},y}function Sin(s){let o=Math.cos(Math.PI/4),f=Math.sin(Math.PI/4),g=s*2,p={x:g/2*o,y:g/2*f},y={x:-(g/2)*o,y:g/2*f},k={x:-(g/2)*o,y:-(g/2)*f},T={x:g/2*o,y:-(g/2)*f};return`M ${y.x},${y.y} L ${T.x},${T.y} + M ${p.x},${p.y} L ${k.x},${k.y}`}function Ein(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f,o.label="";let p=s.insert("g").attr("class",Zr(o)).attr("id",o.domId??o.id),y=Math.max(30,o?.width??0),{cssStyles:k}=o,T=br.svg(p),B=dr(o,{});o.look!=="handDrawn"&&(B.roughness=0,B.fillStyle="solid");let v=T.circle(0,0,y*2,B),M=Sin(y),L=T.path(M,B),F=p.insert(()=>v,":first-child");return F.insert(()=>L),F.attr("class","outer-path"),k&&o.look!=="handDrawn"&&F.selectAll("path").attr("style",k),g&&o.look!=="handDrawn"&&F.selectAll("path").attr("style",g),Cr(o,F),o.intersect=function(j){return qr.info("crossedCircle intersect",o,{radius:y,point:j}),ar.circle(o,y,j)},p}function r6(s,o,f,g=100,p=0,y=180){let k=[],T=p*Math.PI/180,B=(y*Math.PI/180-T)/(g-1);for(let v=0;vdt,":first-child").attr("stroke-opacity",0),et.insert(()=>nt,":first-child"),et.attr("class","text"),F&&o.look!=="handDrawn"&&et.selectAll("path").attr("style",F),g&&o.look!=="handDrawn"&&et.selectAll("path").attr("style",g),et.attr("transform",`translate(${L}, 0)`),k.attr("transform",`translate(${-v/2+L-(y.x-(y.left??0))},${-M/2+(o.padding??0)/2-(y.y-(y.top??0))})`),Cr(o,et),o.intersect=function(Ft){return ar.polygon(o,$,Ft)},p}function i6(s,o,f,g=100,p=0,y=180){let k=[],T=p*Math.PI/180,B=(y*Math.PI/180-T)/(g-1);for(let v=0;vdt,":first-child").attr("stroke-opacity",0),et.insert(()=>nt,":first-child"),et.attr("class","text"),F&&o.look!=="handDrawn"&&et.selectAll("path").attr("style",F),g&&o.look!=="handDrawn"&&et.selectAll("path").attr("style",g),et.attr("transform",`translate(${-L}, 0)`),k.attr("transform",`translate(${-v/2+(o.padding??0)/2-(y.x-(y.left??0))},${-M/2+(o.padding??0)/2-(y.y-(y.top??0))})`),Cr(o,et),o.intersect=function(Ft){return ar.polygon(o,$,Ft)},p}function S0(s,o,f,g=100,p=0,y=180){let k=[],T=p*Math.PI/180,B=(y*Math.PI/180-T)/(g-1);for(let v=0;vNt,":first-child").attr("stroke-opacity",0),se.insert(()=>at,":first-child"),se.insert(()=>et,":first-child"),se.attr("class","text"),F&&o.look!=="handDrawn"&&se.selectAll("path").attr("style",F),g&&o.look!=="handDrawn"&&se.selectAll("path").attr("style",g),se.attr("transform",`translate(${L-L/4}, 0)`),k.attr("transform",`translate(${-v/2+(o.padding??0)/2-(y.x-(y.left??0))},${-M/2+(o.padding??0)/2-(y.y-(y.top??0))})`),Cr(o,se),o.intersect=function(Ge){return ar.polygon(o,z,Ge)},p}async function Lin(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.padding??0,y=o.look==="neo"?16:p,k=o.look==="neo"?12:p,T=20,B=5,{shapeSvg:v,bbox:M}=await ni(s,o,Zr(o)),L=Math.max(B,M.height+k*2,o?.height??0),F=L/2,j=F-Math.sqrt(Math.max(0,F**2-(M.height/2)**2)),$=Math.max(L/4,j),z=Math.max(T,M.width+y*2+$*2,(M.width+y*2)*1.25,o?.width??0),{cssStyles:U}=o,V=br.svg(v),nt=dr(o,{});o.look!=="handDrawn"&&(nt.roughness=0,nt.fillStyle="solid");let at=z,dt=L,et=at-F,Ft=dt/4,Nt=[{x:et,y:0},{x:Ft,y:0},{x:0,y:dt/2},{x:Ft,y:dt},{x:et,y:dt},...e5(-et,-dt/2,F,50,270,90)],se=Xo(Nt),Ge=V.path(se,nt),Ue=v.insert(()=>Ge,":first-child");return Ue.attr("class","basic label-container outer-path"),U&&o.look!=="handDrawn"&&Ue.selectChildren("path").attr("style",U),g&&o.look!=="handDrawn"&&Ue.selectChildren("path").attr("style",g),Ue.attr("transform",`translate(${-z/2}, ${-L/2})`),Cr(o,Ue),o.intersect=function(me){return ar.polygon(o,Nt,me)},v}async function _in(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let{shapeSvg:p,bbox:y,label:k}=await ni(s,o,Zr(o)),T=o.padding??20,B=Math.max(y.width+T*2,o.width??0,100),v=Math.min(Math.max(B*.23,16),56),M=v*.27,L=Math.max(y.height+T*2,o.height?o.height-(2*v-M):0),F=Math.min(B*.177,L*.45),j=L+2*v-M,$=-j/2,z=$+2*v-M,U=p.insert("g",":first-child").attr("class","basic label-container"),{cssStyles:V}=o;if(o.look==="handDrawn"){let Ft=br.svg(p),Nt=dr(o,{}),se=Ft.path(mp(-B/2,z,B,L,F),Nt),Ge=Ft.circle(0,$+v,v*2,Nt);U.insert(()=>Ge,":first-child"),U.insert(()=>se,":first-child"),V&&U.attr("style",V)}else U.append("rect").attr("x",-B/2).attr("y",z).attr("width",B).attr("height",L).attr("rx",F).attr("ry",F).attr("style",g),U.append("circle").attr("cx",0).attr("cy",$+v).attr("r",v).attr("style",g);Cr(o,U);let nt=z+L/2;k.attr("transform",`translate(${-(y.width/2)-(y.x-(y.left??0))}, ${nt-y.height/2-(y.y-(y.top??0))})`);let at=$+v,dt=Math.asin(Math.min(1,(z-at)/v))*180/Math.PI,et=[...e5(0,-at,v,24,180+dt,-dt),...e5(-(-B/2+F),-(z+F),F,12,90,0),...e5(-(-B/2+F),-(j/2-F),F,12,360,270),...e5(-(B/2-F),-(j/2-F),F,12,270,180),...e5(-(B/2-F),-(z+F),F,12,180,90)];return o.intersect=function(Ft){return ar.polygon(o,et,Ft)},p}async function Fin(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.padding??0,y=o.look==="neo"?24:p,k=o.look==="neo"?24:p,T=o.width??0;if(o.width&&(o.width=o.width-k,o.widthFt,":first-child"),z=B.insert(()=>et,":first-child"),z.attr("class","basic label-container"),U&&z.attr("style",U)}else{let V=s2n(0,0,L,$,F,j);z=B.insert("path",":first-child").attr("d",V).attr("class","basic label-container outer-path").attr("style",Au(U)).attr("style",g)}return z.attr("label-offset-y",j),z.attr("transform",`translate(${-L/2}, ${-($/2+j)})`),Cr(o,z),M.attr("transform",`translate(${-(v.width/2)-(v.x-(v.left??0))}, ${-(v.height/2)+(o.padding??0)/1.5-(v.y-(v.top??0))})`),o.intersect=function(V){let nt=ar.rect(o,V),at=nt.x-(o.x??0);if(F!=0&&(Math.abs(at)<(o.width??0)/2||Math.abs(at)==(o.width??0)/2&&Math.abs(nt.y-(o.y??0))>(o.height??0)/2-j)){let dt=j*j*(1-at*at/(F*F));dt>0&&(dt=Math.sqrt(dt)),dt=j-dt,V.y-(o.y??0)>0&&(dt=-dt),nt.y+=dt}return nt},B}async function jO(s,o,f){let{labelStyles:g,nodeStyles:p}=vr(o);o.labelStyle=g;let{shapeSvg:y,bbox:k}=await ni(s,o,Zr(o)),T=Math.max(k.width+f.labelPaddingX*2,o?.width||0),B=Math.max(k.height+f.labelPaddingY*2,o?.height||0),v=-T/2,M=-B/2,L,{rx:F,ry:j}=o,{cssStyles:$}=o;if(f?.rx&&f.ry&&(F=f.rx,j=f.ry),o.look==="handDrawn"){let z=br.svg(y),U=dr(o,{}),V=F||j?z.path(mp(v,M,T,B,F||0),U):z.rectangle(v,M,T,B,U);L=y.insert(()=>V,":first-child"),L.attr("class","basic label-container").attr("style",Au($))}else L=y.insert("rect",":first-child"),L.attr("class","basic label-container").attr("style",p).attr("rx",Au(F)).attr("ry",Au(j)).attr("x",v).attr("y",M).attr("width",T).attr("height",B);return Cr(o,L,o.look==="handDrawn"?void 0:{width:T,height:B}),o.calcIntersect=function(z,U){return ar.rect(z,U)},o.intersect=function(z){return ar.rect(o,z)},y}async function Oin(s,o){let{cssClasses:f,labelPaddingX:g,labelPaddingY:p,padding:y,width:k,height:T}=o,B={rx:0,ry:0,classes:f??"",labelPaddingX:g??(y??0)*2,labelPaddingY:p??y??0},v=await jO(s,o,B);if(o.look==="handDrawn"){let j=br.svg(v),$=dr(o,{}),z=v.select(".basic.label-container > path:nth-child(2)"),U=z.node();if(!U)return v;let V=null;if(U instanceof SVGGraphicsElement)V=U.getBBox();else return v;return v.insert(()=>j.line(V.x,V.y,V.x+V.width,V.y,$),".basic.label-container g.label"),v.insert(()=>j.line(V.x,V.y+V.height,V.x+V.width,V.y+V.height,$),".basic.label-container g.label"),z.remove(),v}let M=v.select(".basic.label-container"),L=(Number(M.attr("width"))||k)??0,F=(Number(M.attr("height"))||T)??0;return L>0&&F>0&&M.attr("stroke-dasharray",`${L} ${F}`),v}async function Din(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.look==="neo"?16:o.padding??0,y=o.look==="neo"?16:o.padding??0,{shapeSvg:k,bbox:T,label:B}=await ni(s,o,Zr(o)),v=T.width+p,M=T.height+y,L=M*.2,F=-v/2,j=-M/2-L/2,{cssStyles:$}=o,z=br.svg(k),U=dr(o,{});o.look!=="handDrawn"&&(U.roughness=0,U.fillStyle="solid");let V=[{x:F,y:j+L},{x:-F,y:j+L},{x:-F,y:-j},{x:F,y:-j},{x:F,y:j},{x:-F,y:j},{x:-F,y:j+L}],nt=z.polygon(V.map(dt=>[dt.x,dt.y]),U),at=k.insert(()=>nt,":first-child");return at.attr("class","basic label-container outer-path"),$&&o.look!=="handDrawn"&&at.selectAll("path").attr("style",$),g&&o.look!=="handDrawn"&&at.selectAll("path").attr("style",g),B.attr("transform",`translate(${F+(o.padding??0)/2-(T.x-(T.left??0))}, ${j+L+(o.padding??0)/2-(T.y-(T.top??0))})`),Cr(o,at),o.intersect=function(dt){return ar.rect(o,dt)},k}async function jin(s,o){let{labelStyles:f,nodeStyles:g}=vr(o),p=o.look==="neo"?12:5;o.labelStyle=f;let y=o.padding??0,k=o.look==="neo"?16:y,{shapeSvg:T,bbox:B}=await ni(s,o,Zr(o)),v=Math.sqrt(B.width**2+B.height**2)/2,M=(o?.width?o?.width/2:v)+(k??0),L=M+p,F,{cssStyles:j}=o;if(o.look==="handDrawn"){let $=br.svg(T),z=dr(o,{roughness:.2,strokeWidth:2.5}),U=dr(o,{roughness:.2,strokeWidth:1.5}),V=$.circle(0,0,L*2,z),nt=$.circle(0,0,M*2,U);F=T.insert("g",":first-child"),F.attr("class",Au(o.cssClasses)).attr("style",Au(j)),F.node()?.appendChild(V),F.node()?.appendChild(nt)}else{F=T.insert("g",":first-child");let $=F.insert("circle",":first-child"),z=F.insert("circle");F.attr("class","basic label-container").attr("style",g),$.attr("class","outer-circle").attr("style",g).attr("r",L).attr("cx",0).attr("cy",0),z.attr("class","inner-circle").attr("style",g).attr("r",M).attr("cx",0).attr("cy",0)}return Cr(o,F),o.intersect=function($){return qr.info("DoubleCircle intersect",o,L,$),ar.circle(o,L,$)},T}async function Iin(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let{shapeSvg:p,bbox:y,halfPadding:k}=await ni(s,o,Zr(o)),{theme:T,themeVariables:B}=Da();J2(p,o.colorIndex,T,B.borderColorArray);let v=k??10,M=y.width/2+v*2,L=y.height/2+v*2,F,{cssStyles:j}=o;if(o.look==="handDrawn"){let $=br.svg(p),z=dr(o,{}),U=$.ellipse(0,0,M*2,L*2,z);F=p.insert(()=>U,":first-child"),F.attr("class","basic label-container"),j&&F.attr("style",j)}else F=p.insert("ellipse",":first-child").attr("class","basic label-container").attr("style",g).attr("rx",M).attr("ry",L).attr("cx",0).attr("cy",0);return o.width=M*2,o.height=L*2,Cr(o,F),o.calcIntersect=function($,z){let U=$.width/2,V=$.height/2;return ar.ellipse($,U,V,z)},o.intersect=function($){return ar.ellipse(o,M,L,$)},p}function Pin(s,o,{config:{themeVariables:f}}){let{labelStyles:g,nodeStyles:p}=vr(o);o.label="",o.labelStyle=g;let y=s.insert("g").attr("class",Zr(o)).attr("id",o.domId??o.id),k=7,{cssStyles:T}=o,B=br.svg(y),{nodeBorder:v}=f,M=dr(o,{fillStyle:"solid"});o.look!=="handDrawn"&&(M.roughness=0);let L=B.circle(0,0,k*2,M),F=y.insert(()=>L,":first-child");return F.selectAll("path").attr("style",`fill: ${v} !important;`),T&&T.length>0&&o.look!=="handDrawn"&&F.selectAll("path").attr("style",T),p&&o.look!=="handDrawn"&&F.selectAll("path").attr("style",p),Cr(o,F),o.intersect=function(j){return qr.info("filledCircle intersect",o,{radius:k,point:j}),ar.circle(o,k,j)},y}async function $in(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.padding??0,y=o.look==="neo"?p*2:p;(o.width||o.height)&&(o.height=o?.height??0,o.heightV,":first-child").attr("transform",`translate(${-M/2}, ${M/2})`).attr("class","outer-path");return j&&o.look!=="handDrawn"&&nt.selectChildren("path").attr("style",j),g&&o.look!=="handDrawn"&&nt.selectChildren("path").attr("style",g),o.width=v,o.height=M,Cr(o,nt),B.attr("transform",`translate(${-T.width/2-(T.x-(T.left??0))}, ${-M/2+(o.padding??0)/2+(T.y-(T.top??0))})`),o.intersect=function(at){return qr.info("Triangle intersect",o,F,at),ar.polygon(o,F,at)},k}async function Nin(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let{shapeSvg:p,bbox:y,label:k}=await ni(s,o,Zr(o)),T=o.padding??12,B=Math.max(y.width+T*2,o.width??0,90),v=y.height+T*2,M=Math.max(Math.min(v*.16,14),8),L=Math.max(v+M,o.height??0),F=L-M,j=Math.max(B*.38,28),$=-L/2,z=[{x:-B/2,y:$},{x:-B/2+j,y:$},{x:-B/2+j,y:$+M},{x:B/2,y:$+M},{x:B/2,y:L/2},{x:-B/2,y:L/2}],U=[`M${z[0].x},${z[0].y}`,...z.slice(1).map(dt=>`L${dt.x},${dt.y}`),"Z"].join(" "),{cssStyles:V}=o,nt;if(o.look==="handDrawn"){let dt=br.svg(p).path(U,dr(o,{}));nt=p.insert(()=>dt,":first-child").attr("class","basic label-container"),V&&nt.attr("style",V)}else nt=p.insert("path",":first-child").attr("d",U).attr("class","basic label-container").attr("style",g);o.look==="handDrawn"?Cr(o,nt):Cr(o,nt,{width:B,height:L});let at=$+M+F/2;return k.attr("transform",`translate(${-(y.width/2)-(y.x-(y.left??0))}, ${at-y.height/2-(y.y-(y.top??0))})`),o.intersect=function(dt){return ar.polygon(o,z,dt)},p}function Rin(s,o,{dir:f,config:{state:g,themeVariables:p}}){let{nodeStyles:y}=vr(o);o.label="";let k=s.insert("g").attr("class",Zr(o)).attr("id",o.domId??o.id),{cssStyles:T}=o,B=Math.max(70,o?.width??0),v=Math.max(10,o?.height??0);(f==="LR"||f==="RL")&&(B=Math.max(10,o?.width??0),v=Math.max(70,o?.height??0));let M=-1*B/2,L=-1*v/2,F=br.svg(k),j=dr(o,{stroke:p.lineColor,fill:p.lineColor});o.look!=="handDrawn"&&(j.roughness=0,j.fillStyle="solid");let $=F.rectangle(M,L,B,v,j),z=k.insert(()=>$,":first-child");T&&o.look!=="handDrawn"&&z.selectAll("path").attr("style",T),y&&o.look!=="handDrawn"&&z.selectAll("path").attr("style",y),Cr(o,z);let U=g?.padding??0;return o.width&&o.height&&(o.width+=U/2||0,o.height+=U/2||0),o.intersect=function(V){return ar.rect(o,V)},k}async function zin(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=15,y=10,k=o.look==="neo"?16:o.padding??0,T=o.look==="neo"?12:o.padding??0;(o.width||o.height)&&(o.height=(o?.height??0)-T*2,o.heightat,":first-child");return dt.attr("class","basic label-container outer-path"),$&&o.look!=="handDrawn"&&dt.selectChildren("path").attr("style",$),g&&o.look!=="handDrawn"&&dt.selectChildren("path").attr("style",g),Cr(o,dt),o.intersect=function(et){return qr.info("Pill intersect",o,{radius:L,point:et}),ar.polygon(o,V,et)},B}async function qin(s,o){let{labelStyles:f,nodeStyles:g}=vr(o),p=o.look==="neo"?3.5:4;o.labelStyle=f;let y=o.padding??0,k=70,T=32,B=o.look==="neo"?k:y,v=o.look==="neo"?T:y;if(o.width||o.height){let nt=(o.height??0)/p;o.width=(o?.width??0)-2*nt-v,o.height=(o.height??0)-B}let{shapeSvg:M,bbox:L}=await ni(s,o,Zr(o)),F=(o?.height?o?.height:L.height)+B,j=F/p,$=(o?.width?o?.width:L.width)+2*j+v,z=[{x:j,y:0},{x:$-j,y:0},{x:$,y:-F/2},{x:$-j,y:-F},{x:j,y:-F},{x:0,y:-F/2}],U,{cssStyles:V}=o;if(o.look==="handDrawn"){let nt=br.svg(M),at=dr(o,{}),dt=h2n(0,0,$,F,j),et=nt.path(dt,at);U=M.insert(()=>et,":first-child").attr("transform",`translate(${-$/2}, ${F/2})`),V&&U.attr("style",V)}else U=c5(M,$,F,z);return g&&U.attr("style",g),o.width=$,o.height=F,Cr(o,U),o.intersect=function(nt){return ar.polygon(o,z,nt)},M}async function Hin(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.label="",o.labelStyle=f;let{shapeSvg:p}=await ni(s,o,Zr(o)),y=Math.max(30,o?.width??0),k=Math.max(30,o?.height??0),{cssStyles:T}=o,B=br.svg(p),v=dr(o,{});o.look!=="handDrawn"&&(v.roughness=0,v.fillStyle="solid");let M=[{x:0,y:0},{x:y,y:0},{x:0,y:k},{x:y,y:k}],L=Xo(M),F=B.path(L,v),j=p.insert(()=>F,":first-child");return j.attr("class","basic label-container outer-path"),T&&o.look!=="handDrawn"&&j.selectChildren("path").attr("style",T),g&&o.look!=="handDrawn"&&j.selectChildren("path").attr("style",g),j.attr("transform",`translate(${-y/2}, ${-k/2})`),Cr(o,j),o.intersect=function($){return qr.info("Pill intersect",o,{points:M}),ar.polygon(o,M,$)},p}async function Kin(s,o,{config:{themeVariables:f,flowchart:g}}){let{labelStyles:p}=vr(o);o.labelStyle=p;let y=o.assetHeight??48,k=o.assetWidth??48,T=Math.max(y,k),B=g?.wrappingWidth;o.width=Math.max(T,B??0);let{shapeSvg:v,bbox:M,label:L}=await ni(s,o,"icon-shape default"),F=o.pos==="t",j=T,$=T,{nodeBorder:z}=f,{stylesMap:U}=i9(o),V=-$/2,nt=-j/2,at=o.label?8:0,dt=br.svg(v),et=dr(o,{stroke:"none",fill:"none"});o.look!=="handDrawn"&&(et.roughness=0,et.fillStyle="solid");let Ft=dt.rectangle(V,nt,$,j,et),Nt=Math.max($,M.width),se=j+M.height+at,Ge=dt.rectangle(-Nt/2,-se/2,Nt,se,{...et,fill:"transparent",stroke:"none"}),Ue=v.insert(()=>Ft,":first-child"),me=v.insert(()=>Ge);if(o.icon){let fn=v.append("g");fn.html(`${await OO(o.icon,{height:T,width:T,fallbackPrefix:""})}`);let Ce=fn.node().getBBox(),ge=Ce.width,be=Ce.height,le=Ce.x,Oe=Ce.y;fn.attr("transform",`translate(${-ge/2-le},${F?M.height/2+at/2-be/2-Oe:-M.height/2-at/2-be/2-Oe})`),fn.attr("style",`color: ${U.get("stroke")??z};`)}return L.attr("transform",`translate(${-M.width/2-(M.x-(M.left??0))},${F?-se/2:se/2-M.height})`),Ue.attr("transform",`translate(0,${F?M.height/2+at/2:-M.height/2-at/2})`),Cr(o,me),o.intersect=function(fn){if(qr.info("iconSquare intersect",o,fn),!o.label)return ar.rect(o,fn);let Ce=o.x??0,ge=o.y??0,be=o.height??0,le=[];return F?le=[{x:Ce-M.width/2,y:ge-be/2},{x:Ce+M.width/2,y:ge-be/2},{x:Ce+M.width/2,y:ge-be/2+M.height+at},{x:Ce+$/2,y:ge-be/2+M.height+at},{x:Ce+$/2,y:ge+be/2},{x:Ce-$/2,y:ge+be/2},{x:Ce-$/2,y:ge-be/2+M.height+at},{x:Ce-M.width/2,y:ge-be/2+M.height+at}]:le=[{x:Ce-$/2,y:ge-be/2},{x:Ce+$/2,y:ge-be/2},{x:Ce+$/2,y:ge-be/2+j},{x:Ce+M.width/2,y:ge-be/2+j},{x:Ce+M.width/2/2,y:ge+be/2},{x:Ce-M.width/2,y:ge+be/2},{x:Ce-M.width/2,y:ge-be/2+j},{x:Ce-$/2,y:ge-be/2+j}],ar.polygon(o,le,fn)},v}async function Uin(s,o,{config:{themeVariables:f,flowchart:g}}){let{labelStyles:p}=vr(o);o.labelStyle=p;let y=o.assetHeight??48,k=o.assetWidth??48,T=Math.max(y,k),B=g?.wrappingWidth;o.width=Math.max(T,B??0);let{shapeSvg:v,bbox:M,label:L}=await ni(s,o,"icon-shape default"),F=20,j=o.label?8:0,$=o.pos==="t",{nodeBorder:z,mainBkg:U}=f,{stylesMap:V}=i9(o),nt=br.svg(v),at=dr(o,{});o.look!=="handDrawn"&&(at.roughness=0,at.fillStyle="solid");let dt=V.get("fill");at.stroke=dt??U;let et=v.append("g");o.icon&&et.html(`${await OO(o.icon,{height:T,width:T,fallbackPrefix:""})}`);let Ft=et.node().getBBox(),Nt=Ft.width,se=Ft.height,Ge=Ft.x,Ue=Ft.y,me=Math.max(Nt,se)*Math.SQRT2+F*2,fn=nt.circle(0,0,me,at),Ce=Math.max(me,M.width),ge=me+M.height+j,be=nt.rectangle(-Ce/2,-ge/2,Ce,ge,{...at,fill:"transparent",stroke:"none"}),le=v.insert(()=>fn,":first-child"),Oe=v.insert(()=>be);return et.attr("transform",`translate(${-Nt/2-Ge},${$?M.height/2+j/2-se/2-Ue:-M.height/2-j/2-se/2-Ue})`),et.attr("style",`color: ${V.get("stroke")??z};`),L.attr("transform",`translate(${-M.width/2-(M.x-(M.left??0))},${$?-ge/2:ge/2-M.height})`),le.attr("transform",`translate(0,${$?M.height/2+j/2:-M.height/2-j/2})`),Cr(o,Oe),o.intersect=function(ke){return qr.info("iconSquare intersect",o,ke),ar.rect(o,ke)},v}async function Win(s,o,{config:{themeVariables:f,flowchart:g}}){let{labelStyles:p}=vr(o);o.labelStyle=p;let y=o.assetHeight??48,k=o.assetWidth??48,T=Math.max(y,k),B=g?.wrappingWidth;o.width=Math.max(T,B??0);let{shapeSvg:v,bbox:M,halfPadding:L,label:F}=await ni(s,o,"icon-shape default"),j=o.pos==="t",$=T+L*2,z=T+L*2,{nodeBorder:U,mainBkg:V}=f,{stylesMap:nt}=i9(o),at=-z/2,dt=-$/2,et=o.label?8:0,Ft=br.svg(v),Nt=dr(o,{});o.look!=="handDrawn"&&(Nt.roughness=0,Nt.fillStyle="solid");let se=nt.get("fill");Nt.stroke=se??V;let Ge=Ft.path(mp(at,dt,z,$,5),Nt),Ue=Math.max(z,M.width),me=$+M.height+et,fn=Ft.rectangle(-Ue/2,-me/2,Ue,me,{...Nt,fill:"transparent",stroke:"none"}),Ce=v.insert(()=>Ge,":first-child").attr("class","icon-shape2"),ge=v.insert(()=>fn);if(o.icon){let be=v.append("g");be.html(`${await OO(o.icon,{height:T,width:T,fallbackPrefix:""})}`);let le=be.node().getBBox(),Oe=le.width,ke=le.height,nn=le.x,tt=le.y;be.attr("transform",`translate(${-Oe/2-nn},${j?M.height/2+et/2-ke/2-tt:-M.height/2-et/2-ke/2-tt})`),be.attr("style",`color: ${nt.get("stroke")??U};`)}return F.attr("transform",`translate(${-M.width/2-(M.x-(M.left??0))},${j?-me/2:me/2-M.height})`),Ce.attr("transform",`translate(0,${j?M.height/2+et/2:-M.height/2-et/2})`),Cr(o,ge),o.intersect=function(be){if(qr.info("iconSquare intersect",o,be),!o.label)return ar.rect(o,be);let le=o.x??0,Oe=o.y??0,ke=o.height??0,nn=[];return j?nn=[{x:le-M.width/2,y:Oe-ke/2},{x:le+M.width/2,y:Oe-ke/2},{x:le+M.width/2,y:Oe-ke/2+M.height+et},{x:le+z/2,y:Oe-ke/2+M.height+et},{x:le+z/2,y:Oe+ke/2},{x:le-z/2,y:Oe+ke/2},{x:le-z/2,y:Oe-ke/2+M.height+et},{x:le-M.width/2,y:Oe-ke/2+M.height+et}]:nn=[{x:le-z/2,y:Oe-ke/2},{x:le+z/2,y:Oe-ke/2},{x:le+z/2,y:Oe-ke/2+$},{x:le+M.width/2,y:Oe-ke/2+$},{x:le+M.width/2/2,y:Oe+ke/2},{x:le-M.width/2,y:Oe+ke/2},{x:le-M.width/2,y:Oe-ke/2+$},{x:le-z/2,y:Oe-ke/2+$}],ar.polygon(o,nn,be)},v}async function Gin(s,o,{config:{themeVariables:f,flowchart:g}}){let{labelStyles:p}=vr(o);o.labelStyle=p;let y=o.assetHeight??48,k=o.assetWidth??48,T=Math.max(y,k),B=g?.wrappingWidth;o.width=Math.max(T,B??0);let{shapeSvg:v,bbox:M,halfPadding:L,label:F}=await ni(s,o,"icon-shape default"),j=o.pos==="t",$=T+L*2,z=T+L*2,{nodeBorder:U,mainBkg:V}=f,{stylesMap:nt}=i9(o),at=-z/2,dt=-$/2,et=o.label?8:0,Ft=br.svg(v),Nt=dr(o,{});o.look!=="handDrawn"&&(Nt.roughness=0,Nt.fillStyle="solid");let se=nt.get("fill");Nt.stroke=se??V;let Ge=Ft.path(mp(at,dt,z,$,.1),Nt),Ue=Math.max(z,M.width),me=$+M.height+et,fn=Ft.rectangle(-Ue/2,-me/2,Ue,me,{...Nt,fill:"transparent",stroke:"none"}),Ce=v.insert(()=>Ge,":first-child"),ge=v.insert(()=>fn);if(o.icon){let be=v.append("g");be.html(`${await OO(o.icon,{height:T,width:T,fallbackPrefix:""})}`);let le=be.node().getBBox(),Oe=le.width,ke=le.height,nn=le.x,tt=le.y;be.attr("transform",`translate(${-Oe/2-nn},${j?M.height/2+et/2-ke/2-tt:-M.height/2-et/2-ke/2-tt})`),be.attr("style",`color: ${nt.get("stroke")??U};`)}return F.attr("transform",`translate(${-M.width/2-(M.x-(M.left??0))},${j?-me/2:me/2-M.height})`),Ce.attr("transform",`translate(0,${j?M.height/2+et/2:-M.height/2-et/2})`),Cr(o,ge),o.intersect=function(be){if(qr.info("iconSquare intersect",o,be),!o.label)return ar.rect(o,be);let le=o.x??0,Oe=o.y??0,ke=o.height??0,nn=[];return j?nn=[{x:le-M.width/2,y:Oe-ke/2},{x:le+M.width/2,y:Oe-ke/2},{x:le+M.width/2,y:Oe-ke/2+M.height+et},{x:le+z/2,y:Oe-ke/2+M.height+et},{x:le+z/2,y:Oe+ke/2},{x:le-z/2,y:Oe+ke/2},{x:le-z/2,y:Oe-ke/2+M.height+et},{x:le-M.width/2,y:Oe-ke/2+M.height+et}]:nn=[{x:le-z/2,y:Oe-ke/2},{x:le+z/2,y:Oe-ke/2},{x:le+z/2,y:Oe-ke/2+$},{x:le+M.width/2,y:Oe-ke/2+$},{x:le+M.width/2/2,y:Oe+ke/2},{x:le-M.width/2,y:Oe+ke/2},{x:le-M.width/2,y:Oe-ke/2+$},{x:le-z/2,y:Oe-ke/2+$}],ar.polygon(o,nn,be)},v}async function Vin(s,o,{config:{flowchart:f}}){let g=new Image;g.src=o?.img??"",await g.decode();let p=Number(g.naturalWidth.toString().replace("px","")),y=Number(g.naturalHeight.toString().replace("px",""));o.imageAspectRatio=p/y;let{labelStyles:k}=vr(o);o.labelStyle=k;let T=f?.wrappingWidth;o.defaultWidth=f?.wrappingWidth;let B=Math.max(o.label?T??0:0,o?.assetWidth??p),v=o.constraint==="on"&&o?.assetHeight?o.assetHeight*o.imageAspectRatio:B,M=o.constraint==="on"?v/o.imageAspectRatio:o?.assetHeight??y;o.width=Math.max(v,T??0);let{shapeSvg:L,bbox:F,label:j}=await ni(s,o,"image-shape default"),$=o.pos==="t",z=-v/2,U=-M/2,V=o.label?8:0,nt=br.svg(L),at=dr(o,{});o.look!=="handDrawn"&&(at.roughness=0,at.fillStyle="solid");let dt=nt.rectangle(z,U,v,M,at),et=Math.max(v,F.width),Ft=M+F.height+V,Nt=nt.rectangle(-et/2,-Ft/2,et,Ft,{...at,fill:"none",stroke:"none"}),se=L.insert(()=>dt,":first-child"),Ge=L.insert(()=>Nt);if(o.img){let Ue=L.append("image");Ue.attr("href",o.img),Ue.attr("width",v),Ue.attr("height",M),Ue.attr("preserveAspectRatio","none"),Ue.attr("transform",`translate(${-v/2},${$?Ft/2-M:-Ft/2})`)}return j.attr("transform",`translate(${-F.width/2-(F.x-(F.left??0))},${$?-M/2-F.height/2-V/2:M/2-F.height/2+V/2})`),se.attr("transform",`translate(0,${$?F.height/2+V/2:-F.height/2-V/2})`),Cr(o,Ge),o.intersect=function(Ue){if(qr.info("iconSquare intersect",o,Ue),!o.label)return ar.rect(o,Ue);let me=o.x??0,fn=o.y??0,Ce=o.height??0,ge=[];return $?ge=[{x:me-F.width/2,y:fn-Ce/2},{x:me+F.width/2,y:fn-Ce/2},{x:me+F.width/2,y:fn-Ce/2+F.height+V},{x:me+v/2,y:fn-Ce/2+F.height+V},{x:me+v/2,y:fn+Ce/2},{x:me-v/2,y:fn+Ce/2},{x:me-v/2,y:fn-Ce/2+F.height+V},{x:me-F.width/2,y:fn-Ce/2+F.height+V}]:ge=[{x:me-v/2,y:fn-Ce/2},{x:me+v/2,y:fn-Ce/2},{x:me+v/2,y:fn-Ce/2+M},{x:me+F.width/2,y:fn-Ce/2+M},{x:me+F.width/2/2,y:fn+Ce/2},{x:me-F.width/2,y:fn+Ce/2},{x:me-F.width/2,y:fn-Ce/2+M},{x:me-v/2,y:fn-Ce/2+M}],ar.polygon(o,ge,Ue)},L}async function Xin(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.padding??0,y=p,k=o.look==="neo"?p*2:p,{shapeSvg:T,bbox:B}=await ni(s,o,Zr(o)),v=Math.max(B.height+y*2,o.height??0),M=Math.max(B.width+k*2,(o.width??0)-v),L=[{x:0,y:0},{x:M,y:0},{x:M+3*v/6,y:-v},{x:-3*v/6,y:-v}],F,{cssStyles:j}=o;if(o.look==="handDrawn"){let $=br.svg(T),z=dr(o,{}),U=Xo(L),V=$.path(U,z);F=T.insert(()=>V,":first-child").attr("transform",`translate(${-M/2}, ${v/2})`),j&&F.attr("style",j)}else F=c5(T,M,v,L);return g&&F.attr("style",g),o.width=M,o.height=v,Cr(o,F),o.intersect=function($){return ar.polygon(o,L,$)},T}async function Yin(s,o){let{shapeSvg:f,bbox:g,label:p}=await ni(s,o,"label"),y=f.insert("rect",":first-child");return y.attr("width",.1).attr("height",.1),f.attr("class","label edgeLabel"),p.attr("transform",`translate(${-(g.width/2)-(g.x-(g.left??0))}, ${-(g.height/2)-(g.y-(g.top??0))})`),Cr(o,y),o.intersect=function(k){return ar.rect(o,k)},f}async function Qin(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.padding??0,y=p,k=o.look==="neo"?p*2:p,{shapeSvg:T,bbox:B}=await ni(s,o,Zr(o)),v=Math.max(B.height+y,o.height??0),M=Math.max(B.width+k,(o.width??0)-v),L=[{x:0,y:0},{x:M+3*v/6,y:0},{x:M,y:-v},{x:-(3*v)/6,y:-v}],F,{cssStyles:j}=o;if(o.look==="handDrawn"){let $=br.svg(T),z=dr(o,{}),U=Xo(L),V=$.path(U,z);F=T.insert(()=>V,":first-child").attr("transform",`translate(${-M/2}, ${v/2})`),j&&F.attr("style",j)}else F=c5(T,M,v,L);return g&&F.attr("style",g),o.width=M,o.height=v,Cr(o,F),o.intersect=function($){return ar.polygon(o,L,$)},T}async function Jin(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.padding??0,y=p,k=o.look==="neo"?p*2:p,{shapeSvg:T,bbox:B}=await ni(s,o,Zr(o)),v=Math.max(B.height+y,o.height??0),M=Math.max(B.width+k,(o.width??0)-v),L=[{x:-3*v/6,y:0},{x:M,y:0},{x:M+3*v/6,y:-v},{x:0,y:-v}],F,{cssStyles:j}=o;if(o.look==="handDrawn"){let $=br.svg(T),z=dr(o,{}),U=Xo(L),V=$.path(U,z);F=T.insert(()=>V,":first-child").attr("transform",`translate(${-M/2}, ${v/2})`),j&&F.attr("style",j)}else F=c5(T,M,v,L);return g&&F.attr("style",g),o.width=M,o.height=v,Cr(o,F),o.intersect=function($){return ar.polygon(o,L,$)},T}function Zin(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.label="",o.labelStyle=f;let p=s.insert("g").attr("class",Zr(o)).attr("id",o.domId??o.id),{cssStyles:y}=o,k=Math.max(35,o?.width??0),T=Math.max(35,o?.height??0),B=7,v=[{x:k,y:0},{x:0,y:T+B/2},{x:k-2*B,y:T+B/2},{x:0,y:2*T},{x:k,y:T-B/2},{x:2*B,y:T-B/2}],M=br.svg(p),L=dr(o,{});o.look!=="handDrawn"&&(L.roughness=0,L.fillStyle="solid");let F=Xo(v),j=M.path(F,L),$=p.insert(()=>j,":first-child");return $.attr("class","outer-path"),y&&o.look!=="handDrawn"&&$.selectAll("path").attr("style",y),g&&o.look!=="handDrawn"&&$.selectAll("path").attr("style",g),$.attr("transform",`translate(-${k/2},${-T})`),Cr(o,$),o.intersect=function(z){return qr.info("lightningBolt intersect",o,z),ar.polygon(o,v,z)},p}async function tan(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.padding??0,y=o.look==="neo"?16:p,k=o.look==="neo"?24:p;if(o.width||o.height){let V=o.width??0;o.width=(o.width??0)-y,o.widthFt,":first-child").attr("class","line"),z=T.insert(()=>et,":first-child"),z.attr("class","basic label-container"),U&&z.attr("style",U)}else{let V=u2n(0,0,M,j,L,F,$);z=T.insert("path",":first-child").attr("d",V).attr("class","basic label-container outer-path").attr("style",Au(U)).attr("style",g)}return z.attr("label-offset-y",F),z.attr("transform",`translate(${-M/2}, ${-(j/2+F)})`),Cr(o,z),v.attr("transform",`translate(${-(B.width/2)-(B.x-(B.left??0))}, ${-(B.height/2)+F-(B.y-(B.top??0))})`),o.intersect=function(V){let nt=ar.rect(o,V),at=nt.x-(o.x??0);if(L!=0&&(Math.abs(at)<(o.width??0)/2||Math.abs(at)==(o.width??0)/2&&Math.abs(nt.y-(o.y??0))>(o.height??0)/2-F)){let dt=F*F*(1-at*at/(L*L));dt>0&&(dt=Math.sqrt(dt)),dt=F-dt,V.y-(o.y??0)>0&&(dt=-dt),nt.y+=dt}return nt},T}async function ean(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.padding??0,y=o.look==="neo"?16:p,k=o.look==="neo"?12:p;if(o.width||o.height){let dt=o.width;o.width=(dt??0)*10/11-y*2,o.width<10&&(o.width=10),o.height=(o?.height??0)-k*2,o.height<10&&(o.height=10)}let{shapeSvg:T,bbox:B,label:v}=await ni(s,o,Zr(o)),M=(o?.width?o?.width:B.width)+(y??0)*2,L=(o?.height?o?.height:B.height)+(k??0)*2,F=o.look==="neo"?L/4:L/8,j=L+F,{cssStyles:$}=o,z=br.svg(T),U=dr(o,{});o.look!=="handDrawn"&&(U.roughness=0,U.fillStyle="solid");let V=[{x:-M/2-M/2*.1,y:-j/2},{x:-M/2-M/2*.1,y:j/2},...r9(-M/2-M/2*.1,j/2,M/2+M/2*.1,j/2,F,.8),{x:M/2+M/2*.1,y:-j/2},{x:-M/2-M/2*.1,y:-j/2},{x:-M/2,y:-j/2},{x:-M/2,y:j/2*1.1},{x:-M/2,y:-j/2}],nt=z.polygon(V.map(dt=>[dt.x,dt.y]),U),at=T.insert(()=>nt,":first-child");return at.attr("class","basic label-container outer-path"),$&&o.look!=="handDrawn"&&at.selectAll("path").attr("style",$),g&&o.look!=="handDrawn"&&at.selectAll("path").attr("style",g),at.attr("transform",`translate(0,${-F/2})`),v.attr("transform",`translate(${-M/2+(o.padding??0)+M/2*.1/2-(B.x-(B.left??0))},${-L/2+(o.padding??0)-F-(B.y-(B.top??0))})`),Cr(o,at),o.intersect=function(dt){return ar.polygon(o,V,dt)},T}async function pU(s,o,f,g){let{labelStyles:p,nodeStyles:y}=vr(o);o.labelStyle=p;let k=f==="icon"||o.stereotype!==void 0?{...o,icon:f==="icon"?void 0:o.icon,stereotype:void 0}:o,{shapeSvg:T,bbox:B,label:v}=await ni(s,k,Zr(o,`usecase-actor-variant usecase-actor-${f}`)),M=o.accessibleName??o.label;M&&T.attr("role","img").attr("aria-label",M),v.attr("class","label actor-label usecase-actor-label");let{theme:L,themeVariables:F}=Da();J2(T,o.colorIndex,L,F.borderColorArray);let j,$;if(o.stereotype){let se=await tE(T,`\xAB${o.stereotype}\xBB`,{labelStyle:p,useHtmlLabels:o.useHtmlLabels,padding:0,centerLabel:!0,width:o.wrappingWidth});j=se.label.attr("class","label usecase-stereotype"),$=se.bbox}let z=T.append("g").attr("class",`usecase-actor-glyph ${p2n[f]}`).attr("style",y||null);await g(z,o),y2n(z,o,f);let U=o.padding??g2n,V=$?.height??0,nt=$ee+QXe+B.height+($?V+JXe:0),at=Math.max(b2n,B.width,$?.width??0)+U*2,dt=nt+U*2,et=-nt/2;z.attr("transform",`translate(0,${et+$ee/2})`);let Ft=et+$ee+QXe;j&&$&&(Ft+=V/2,eYe(j,$,Ft),Ft+=V/2+JXe),eYe(v,B,Ft+B.height/2);let Nt=T.insert("rect",":first-child").attr("class","usecase-actor-outline").attr("x",-at/2).attr("y",-dt/2).attr("width",at).attr("height",dt).attr("opacity",0).attr("aria-hidden","true");return Cr(o,Nt),o.intersect=se=>ar.rect(o,se),T}async function nan(s,o){return pU(s,o,"normal",(f,g)=>{Gie(f,g,v2n,"usecase-actor-stick")})}async function ran(s,o){return pU(s,o,"awesome",(f,g)=>{Gie(f,g,k2n,"usecase-actor-awesome-silhouette")})}async function ian(s,o){return pU(s,o,"hollow",(f,g)=>{m2n(f,g,0,-23,9,"usecase-actor-hollow-head",!0),Gie(f,g,x2n,"usecase-actor-hollow-body",!0)})}async function aan(s,o){return pU(s,o,"icon",C2n)}async function oan(s,o){let f=o,{labelStyles:g,nodeStyles:p}=vr(o);o.labelStyle=g;let y=f.stereotype?{...o,stereotype:void 0}:o,{shapeSvg:k,bbox:T,halfPadding:B,label:v}=await ni(s,y,Zr(o,"usecase-business-shape"));v.attr("class","label usecase-label");let{theme:M,themeVariables:L}=Da();J2(k,o.colorIndex,M,L.borderColorArray);let F,j;if(f.stereotype){let Ce=await tE(k,`\xAB${f.stereotype}\xBB`,{labelStyle:g,useHtmlLabels:o.useHtmlLabels,padding:0,centerLabel:!0,width:o.wrappingWidth});F=Ce.label.attr("class","label usecase-stereotype"),j=Ce.bbox}let $=j?2:0,z=T.height+(j?.height??0)+$,U=Math.max(T.width,j?.width??0),V=B??10,nt=U/2+V*2,at=z/2+V*2,dt=Math.min(Math.max(V/5,1),V/2),et=U/2+dt,Ft=nt-dt,Nt=et/nt,se=Ft/nt,Ge=at*Math.sqrt(Math.max(0,1-Nt*Nt)),Ue=-at*Math.sqrt(Math.max(0,1-se*se));F&&j&&iYe(F,j,-z/2+j.height/2),iYe(v,T,z/2-T.height/2);let me;if(o.look==="handDrawn"){let Ce=br.svg(k).ellipse(0,0,nt*2,at*2,dr(o,{}));me=k.insert(()=>Ce,":first-child").attr("class","basic label-container usecase-business-ellipse")}else me=k.insert("ellipse",":first-child").attr("class","basic label-container usecase-business-ellipse").attr("style",p).attr("rx",nt).attr("ry",at).attr("cx",0).attr("cy",0);k.append("path").attr("class","usecase-business-marker").attr("d",`M ${et} ${Ge} L ${Ft} ${Ue}`).attr("fill","none").attr("style",p||null);let fn=f.accessibleName??f.label;return fn&&k.attr("role","img").attr("aria-label",fn),Cr(o,me),o.calcIntersect=(Ce,ge)=>ar.ellipse(Ce,Ce.width/2,Ce.height/2,ge),o.intersect=Ce=>ar.ellipse(o,nt,at,Ce),k}async function san(s,o){let f=o,{labelStyles:g,nodeStyles:p}=vr(o),{stylesMap:y}=i9(o);o.labelStyle=g;let{shapeSvg:k,bbox:T,label:B}=await ni(s,o,Zr(o,"usecase-json-table"));k.attr("role","img"),f.accessibleName&&k.attr("aria-label",f.accessibleName),B.attr("class","label usecase-json-title");let v=k.append("g").attr("class","usecase-json-table-grid"),M=[];for(let Ce of f.jsonRows??[]){let ge=await tE(v,Ce.key,{labelStyle:g,useHtmlLabels:o.useHtmlLabels,padding:0,centerLabel:!0}),be=await tE(v,Ce.value,{labelStyle:g,useHtmlLabels:o.useHtmlLabels,padding:0,centerLabel:!0});M.push({key:{label:ge.label.attr("class","label usecase-json-key"),bbox:ge.bbox},value:{label:be.label.attr("class","label usecase-json-value"),bbox:be.bbox}})}let L=Math.max(0,...M.map(({key:Ce})=>Ce.bbox.width))+Ree*2,F=Math.max(0,...M.map(({value:Ce})=>Ce.bbox.width))+Ree*2,j=T.width+Ree*2,$=Math.max(j,L+F),z=F+Math.max(0,$-L-F),U=T.height+aYe*2,V=M.map(({key:Ce,value:ge})=>Math.max(Ce.bbox.height,ge.bbox.height)+aYe*2),nt=U+V.reduce((Ce,ge)=>Ce+ge,0),at=S2n(y.get("stroke-width")),dt=$+at*2,et=nt+at*2,Ft=-$/2,Nt=-nt/2,se=o.look==="handDrawn"?br.svg(k):void 0,Ge=se?dr(o,{}):void 0,Ue=n((Ce,ge,be,le,Oe,ke)=>{if(se&&Ge){let nn=se.rectangle(be,le,Oe,ke,Ge);return Ce.insert(()=>nn,":first-child").attr("class",ge)}return Ce.insert("rect",":first-child").attr("class",ge).attr("x",be).attr("y",le).attr("width",Oe).attr("height",ke).attr("style",p)},"insertCell"),me=Ue(k,"label-container usecase-json-border",-dt/2,-et/2,dt,et);Ue(v,"usecase-json-cell usecase-json-title-cell",Ft,Nt,$,U),v.node()?.append(B.node()),zee(B,T,0,Nt+U/2);let fn=Nt+U;return M.forEach(({key:Ce,value:ge},be)=>{let le=V[be],Oe=v.append("g").attr("class","usecase-json-row").attr("data-row-index",be).attr("transform",`translate(0,${fn})`);Ue(Oe,"usecase-json-cell usecase-json-key-cell",Ft,0,L,le),Ue(Oe,"usecase-json-cell usecase-json-value-cell",Ft+L,0,z,le),Oe.node()?.append(Ce.label.node(),ge.label.node()),zee(Ce.label,Ce.bbox,Ft+L/2,le/2),zee(ge.label,ge.bbox,Ft+L+z/2,le/2),fn+=le}),Cr(o,me),o.intersect=Ce=>ar.rect(o,Ce),k}async function can(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.padding??0,y=o.look==="neo"?16:p,k=o.look==="neo"?12:p,T=o.look==="neo"?10:5;(o.width||o.height)&&(o.width=Math.max((o?.width??0)-y*2-2*T,10),o.height=Math.max((o?.height??0)-k*2-2*T,10));let{shapeSvg:B,bbox:v,label:M}=await ni(s,o,Zr(o)),L=(o?.width?o?.width:v.width)+y*2+2*T,F=(o?.height?o?.height:v.height)+k*2+2*T,j=L-2*T,$=F-2*T,z=-j/2,U=-$/2,{cssStyles:V}=o,nt=br.svg(B),at=dr(o,{}),dt=[{x:z-T,y:U+T},{x:z-T,y:U+$+T},{x:z+j-T,y:U+$+T},{x:z+j-T,y:U+$},{x:z+j,y:U+$},{x:z+j,y:U+$-T},{x:z+j+T,y:U+$-T},{x:z+j+T,y:U-T},{x:z+T,y:U-T},{x:z+T,y:U},{x:z,y:U},{x:z,y:U+T}],et=[{x:z,y:U+T},{x:z+j-T,y:U+T},{x:z+j-T,y:U+$},{x:z+j,y:U+$},{x:z+j,y:U},{x:z,y:U}];o.look!=="handDrawn"&&(at.roughness=0,at.fillStyle="solid");let Ft=Xo(dt),Nt=nt.path(Ft,at),se=Xo(et),Ge=nt.path(se,at);o.look!=="handDrawn"&&(Nt=Xne(Nt),Ge=Xne(Ge));let Ue=B.insert("g",":first-child");return Ue.insert(()=>Nt),Ue.insert(()=>Ge),Ue.attr("class","basic label-container outer-path"),V&&o.look!=="handDrawn"&&Ue.selectAll("path").attr("style",V),g&&o.look!=="handDrawn"&&Ue.selectAll("path").attr("style",g),M.attr("transform",`translate(${-(v.width/2)-T-(v.x-(v.left??0))}, ${-(v.height/2)+T-(v.y-(v.top??0))})`),Cr(o,Ue),o.intersect=function(me){return ar.polygon(o,dt,me)},B}async function lan(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let{shapeSvg:p,bbox:y,label:k}=await ni(s,o,Zr(o)),T=o.padding??0,B=o.look==="neo"?16:T,v=o.look==="neo"?12:T,M=!0;(o.width||o.height)&&(M=!1,o.width=(o?.width??0)-B*2,o.height=(o?.height??0)-v*3);let L=Math.max(y.width,o?.width??0)+B*2,F=Math.max(y.height,o?.height??0)+v*3,j=o.look==="neo"?F/4:F/8,$=F+(M?j/2:-j/2),z=-L/2,U=-$/2,V=10,{cssStyles:nt}=o,at=r9(z-V,U+$+V,z+L-V,U+$+V,j,.8),dt=at?.[at.length-1],et=[{x:z-V,y:U+V},{x:z-V,y:U+$+V},...at,{x:z+L-V,y:dt.y-V},{x:z+L,y:dt.y-V},{x:z+L,y:dt.y-2*V},{x:z+L+V,y:dt.y-2*V},{x:z+L+V,y:U-V},{x:z+V,y:U-V},{x:z+V,y:U},{x:z,y:U},{x:z,y:U+V}],Ft=[{x:z,y:U+V},{x:z+L-V,y:U+V},{x:z+L-V,y:dt.y-V},{x:z+L,y:dt.y-V},{x:z+L,y:U},{x:z,y:U}],Nt=br.svg(p),se=dr(o,{});o.look!=="handDrawn"&&(se.roughness=0,se.fillStyle="solid");let Ge=Xo(et),Ue=Nt.path(Ge,se),me=Xo(Ft),fn=Nt.path(me,se),Ce=p.insert(()=>Ue,":first-child");return Ce.insert(()=>fn),Ce.attr("class","basic label-container outer-path"),nt&&o.look!=="handDrawn"&&Ce.selectAll("path").attr("style",nt),g&&o.look!=="handDrawn"&&Ce.selectAll("path").attr("style",g),Ce.attr("transform",`translate(0,${-j/2})`),k.attr("transform",`translate(${-(y.width/2)-V-(y.x-(y.left??0))}, ${-(y.height/2)+V-j-(y.y-(y.top??0))})`),Cr(o,Ce),o.intersect=function(ge){return ar.polygon(o,et,ge)},p}async function han(s,o,{config:{themeVariables:f}}){let{labelStyles:g,nodeStyles:p}=vr(o);o.labelStyle=g,o.useHtmlLabels||M0(B0())||(o.centerLabel=!0);let{shapeSvg:y,bbox:k,label:T}=await ni(s,o,Zr(o)),B=Math.max(k.width+(o.padding??0)*2,o?.width??0),v=Math.max(k.height+(o.padding??0)*2,o?.height??0),M=-B/2,L=-v/2,{cssStyles:F}=o,j=br.svg(y),$=dr(o,{fill:f.noteBkgColor,stroke:f.noteBorderColor});o.look!=="handDrawn"&&($.roughness=0,$.fillStyle="solid");let z=j.rectangle(M,L,B,v,$),U=y.insert(()=>z,":first-child");return U.attr("class","basic label-container outer-path"),T.attr("class","label noteLabel"),F&&o.look!=="handDrawn"&&U.selectAll("path").attr("style",F),p&&o.look!=="handDrawn"&&U.selectAll("path").attr("style",p),T.attr("transform",`translate(${-k.width/2-(k.x-(k.left??0))}, ${-(k.height/2)-(k.y-(k.top??0))})`),Cr(o,U),o.intersect=function(V){return ar.rect(o,V)},y}async function uan(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let{shapeSvg:p,bbox:y}=await ni(s,o,Zr(o)),k=y.width+(o.padding??0),T=y.height+(o.padding??0),B=k+T,v=.5,M=[{x:B/2,y:0},{x:B,y:-B/2},{x:B/2,y:-B},{x:0,y:-B/2}],L,{cssStyles:F}=o;if(o.look==="handDrawn"){let j=br.svg(p),$=dr(o,{}),z=E2n(0,0,B),U=j.path(z,$);L=p.insert(()=>U,":first-child").attr("transform",`translate(${-B/2+v}, ${B/2})`),F&&L.attr("style",F)}else L=c5(p,B,B,M),L.attr("transform",`translate(${-B/2+v}, ${B/2})`);return g&&L.attr("style",g),Cr(o,L),o.calcIntersect=function(j,$){let z=j.width,U=[{x:z/2,y:0},{x:z,y:-z/2},{x:z/2,y:-z},{x:0,y:-z/2}];return ar.polygon(j,U,$)},o.intersect=function(j){return this.calcIntersect(o,j)},p}async function dan(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.padding??0,y=o.look==="neo"?21:p??0,k=o.look==="neo"?12:p??0,{shapeSvg:T,bbox:B,label:v}=await ni(s,o,Zr(o)),M=B.width+(o.look==="neo"?y*2:y),L=Math.max(B.height+(o.look==="neo"?k*2:k),o.height??0),F=L/4,j=-Math.max(M,(o.width??0)-F)/2,$=-L/2,z=$/2,U=[{x:j+z,y:$},{x:j,y:0},{x:j+z,y:-$},{x:-j,y:-$},{x:-j,y:$}],{cssStyles:V}=o,nt=br.svg(T),at=dr(o,{});o.look!=="handDrawn"&&(at.roughness=0,at.fillStyle="solid");let dt=Xo(U),et=nt.path(dt,at),Ft=T.insert(()=>et,":first-child");return Ft.attr("class","basic label-container outer-path"),V&&o.look!=="handDrawn"&&Ft.selectAll("path").attr("style",V),g&&o.look!=="handDrawn"&&Ft.selectAll("path").attr("style",g),Ft.attr("transform",`translate(${-z/2},0)`),v.attr("transform",`translate(${-z/2-B.width/2-(B.x-(B.left??0))}, ${-(B.height/2)-(B.y-(B.top??0))})`),Cr(o,Ft),o.intersect=function(Nt){return ar.polygon(o,U,Nt)},T}async function fan(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p;o.cssClasses?p="node "+o.cssClasses:p="node default";let y=s.insert("g").attr("class",p).attr("id",o.domId||o.id),k=y.insert("g"),T=y.insert("g").attr("class","label").attr("style",g),B=o.description,v=o.label,M=await c6(T,v,o.labelStyle,!0,!0),L={width:0,height:0};if(M0(Da())){let se=M.children[0],Ge=qo(M);L=se.getBoundingClientRect(),Ge.attr("width",L.width),Ge.attr("height",L.height)}qr.info("Text 2",B);let F=B||[],j=M.getBBox(),$=await c6(T,Array.isArray(F)?F.join("
    "):F,o.labelStyle,!0,!0),z=$.children[0],U=qo($);L=z.getBoundingClientRect(),U.attr("width",L.width),U.attr("height",L.height);let V=(o.padding||0)/2;qo($).attr("transform","translate( "+(L.width>j.width?0:(j.width-L.width)/2)+", "+(j.height+V+5)+")"),qo(M).attr("transform","translate( "+(L.width(qr.debug("Rough node insert CXC",Ue),me),":first-child"),Ft=y.insert(()=>(qr.debug("Rough node insert CXC",Ue),Ue),":first-child")}else Ft=k.insert("rect",":first-child"),Nt=k.insert("line"),Ft.attr("class","outer title-state").attr("style",g).attr("x",-L.width/2-V).attr("y",-L.height/2-V).attr("width",L.width+(o.padding||0)).attr("height",L.height+(o.padding||0)),Nt.attr("class","divider").attr("x1",-L.width/2-V).attr("x2",L.width/2+V).attr("y1",-L.height/2-V+j.height+V).attr("y2",-L.height/2-V+j.height+V);return Cr(o,Ft),o.intersect=function(se){return ar.rect(o,se)},y}async function ban(s,o,{config:{themeVariables:f}}){let g=f?.radius??5,p={rx:g,ry:g,classes:"",labelPaddingX:(o?.padding??0)*1,labelPaddingY:(o?.padding??0)*1};return jO(s,o,p)}async function gan(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.look==="neo"?16:o.padding??0,y=o.look==="neo"?12:o.padding??0,{shapeSvg:k,bbox:T,label:B}=await ni(s,o,Zr(o)),v=(o?.width??T.width)+p*2+(o.look==="neo"?US:US*2),M=(o?.height??T.height)+y*2,L=v-US,F=M,j=US-v/2,$=-M/2,{cssStyles:z}=o,U=br.svg(k),V=dr(o,{});o.look!=="handDrawn"&&(V.roughness=0,V.fillStyle="solid");let nt=[{x:j,y:$},{x:j+L,y:$},{x:j+L,y:$+F},{x:j-US,y:$+F},{x:j-US,y:$},{x:j,y:$},{x:j,y:$+F}],at=U.polygon(nt.map(et=>[et.x,et.y]),V),dt=k.insert(()=>at,":first-child");return dt.attr("class","basic label-container outer-path").attr("style",Au(z)),g&&o.look!=="handDrawn"&&dt.selectAll("path").attr("style",g),z&&o.look!=="handDrawn"&&dt.selectAll("path").attr("style",g),B.attr("transform",`translate(${US/2-T.width/2-(T.x-(T.left??0))}, ${-(T.height/2)-(T.y-(T.top??0))})`),Cr(o,dt),o.intersect=function(et){return ar.rect(o,et)},k}async function pan(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.padding??0,y=o.look==="neo"?16:p,k=o.look==="neo"?12:p;(o.width||o.height)&&(o.width=Math.max((o?.width??0)-y*2,10),o.height=Math.max((o?.height??0)/1.5-k*2,10));let{shapeSvg:T,bbox:B,label:v}=await ni(s,o,Zr(o)),M=(o?.width?o?.width:B.width)+y*2,L=((o?.height?o?.height:B.height)+k*2)*1.5,F=M,j=L/1.5,$=-F/2,z=-j/2,{cssStyles:U}=o,V=br.svg(T),nt=dr(o,{});o.look!=="handDrawn"&&(nt.roughness=0,nt.fillStyle="solid");let at=[{x:$,y:z},{x:$,y:z+j},{x:$+F,y:z+j},{x:$+F,y:z-j/2}],dt=Xo(at),et=V.path(dt,nt),Ft=T.insert(()=>et,":first-child");return Ft.attr("class","basic label-container outer-path"),U&&o.look!=="handDrawn"&&Ft.selectChildren("path").attr("style",U),g&&o.look!=="handDrawn"&&Ft.selectChildren("path").attr("style",g),Ft.attr("transform",`translate(0, ${j/4})`),v.attr("transform",`translate(${-F/2+(o.padding??0)-(B.x-(B.left??0))}, ${-j/4+(o.padding??0)-(B.y-(B.top??0))})`),Cr(o,Ft),o.intersect=function(Nt){return ar.polygon(o,at,Nt)},T}async function wan(s,o){let f=o.padding??0,g=o.look==="neo"?16:f*2,p=o.look==="neo"?12:f,y={rx:0,ry:0,classes:"",labelPaddingX:o.labelPaddingX??g,labelPaddingY:p},k=await jO(s,o,y);if(o.colorIndex!==void 0){let{theme:T,themeVariables:B}=Da();J2(k,o.colorIndex,T,B.borderColorArray)}return k}async function man(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.padding??0,y=o.look==="neo"?40:p,k=o.look==="neo"?24:p,{shapeSvg:T,bbox:B}=await ni(s,o,Zr(o)),{w:v,h:M}=B2n(B,y,k),L=M/2,{cssStyles:F}=o,j=br.svg(T),$=dr(o,{});o.look!=="handDrawn"&&($.roughness=0,$.fillStyle="solid");let z=[{x:-v/2+L,y:-M/2},{x:v/2-L,y:-M/2},...e5(-v/2+L,0,L,Jne,90,270),{x:v/2-L,y:M/2},...e5(v/2-L,0,L,Jne,270,450)],U=Xo(z),V=j.path(U,$),nt=T.insert(()=>V,":first-child");return nt.attr("class","basic label-container outer-path"),F&&o.look!=="handDrawn"&&nt.selectChildren("path").attr("style",F),g&&o.look!=="handDrawn"&&nt.selectChildren("path").attr("style",g),Cr(o,nt),o.intersect=function(at){return ar.polygon(o,z,at)},T}async function yan(s,o){let f={rx:o.look==="neo"?3:5,ry:o.look==="neo"?3:5,classes:"flowchart-node"};return jO(s,o,f)}function van(s,o,{config:{themeVariables:f}}){let{labelStyles:g,nodeStyles:p}=vr(o);o.labelStyle=g;let{cssStyles:y}=o,{lineColor:k,stateBorder:T,nodeBorder:B,nodeShadow:v}=f;(o.width||o.height)&&((o.width??0)<14&&(o.width=14),(o.height??0)<14&&(o.height=14)),o.width||(o.width=14),o.height||(o.height=14);let M=s.insert("g").attr("class","node default").attr("id",o.domId??o.id),L=br.svg(M),F=dr(o,{});o.look!=="handDrawn"&&(F.roughness=0,F.fillStyle="solid");let j=L.circle(0,0,o.width,{...F,stroke:k,strokeWidth:2}),$=T??B,z=(o.width??0)*5/14,U=L.circle(0,0,z,{...F,fill:$,stroke:$,strokeWidth:2,fillStyle:"solid"}),V=M.insert(()=>j,":first-child");if(V.insert(()=>U),o.look!=="handDrawn"&&V.attr("class","outer-path"),y&&V.selectAll("path").attr("style",y),p&&V.selectAll("path").attr("style",p),o.width<25&&v&&o.look!=="handDrawn"){let nt=s.node()?.ownerSVGElement?.id??"",at=nt?`${nt}-drop-shadow-small`:"drop-shadow-small";V.attr("style",`filter:url(#${at})`)}return Cr(o,V),o.intersect=function(nt){return ar.circle(o,(o.width??0)/2,nt)},M}function kan(s,o,{config:{themeVariables:f}}){let{lineColor:g,nodeShadow:p}=f;(o.width||o.height)&&((o.width??0)<14&&(o.width=14),(o.height??0)<14&&(o.height=14)),o.width||(o.width=14),o.height||(o.height=14);let y=s.insert("g").attr("class","node default").attr("id",o.domId||o.id),k;if(o.look==="handDrawn"){let T=br.svg(y).circle(0,0,o.width,Lpn(g));k=y.insert(()=>T),k.attr("class","state-start").attr("r",(o.width??7)/2).attr("width",o.width??14).attr("height",o.height??14)}else k=y.insert("circle",":first-child"),k.attr("class","state-start").attr("r",(o.width??7)/2).attr("width",o.width??14).attr("height",o.height??14);if(o.width<25&&p&&o.look!=="handDrawn"){let T=s.node()?.ownerSVGElement?.id??"",B=T?`${T}-drop-shadow-small`:"drop-shadow-small";k.attr("style",`filter:url(#${B})`)}return Cr(o,k),o.intersect=function(T){return ar.circle(o,(o.width??7)/2,T)},y}async function xan(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o?.padding??8,y=o.look==="neo"?28:p,k=o.look==="neo"?12:p,{shapeSvg:T,bbox:B}=await ni(s,o,Zr(o)),v=Math.max(B.width+2*gO+y,o.width??0),M=Math.max(B.height+k,o.height??0),L=v-2*gO,F=M,j=-v/2,$=-M/2,z=[{x:0,y:0},{x:L,y:0},{x:L,y:-F},{x:0,y:-F},{x:0,y:0},{x:-8,y:0},{x:L+8,y:0},{x:L+8,y:-F},{x:-8,y:-F},{x:-8,y:0}];if(o.look==="handDrawn"){let U=br.svg(T),V=dr(o,{}),nt=U.rectangle(j,$,L+16,F,V),at=U.line(j+gO,$,j+gO,$+F,V),dt=U.line(j+gO+L,$,j+gO+L,$+F,V);T.insert(()=>at,":first-child"),T.insert(()=>dt,":first-child");let et=T.insert(()=>nt,":first-child"),{cssStyles:Ft}=o;et.attr("class","basic label-container").attr("style",Au(Ft)),Cr(o,et)}else{let U=c5(T,L,F,z);g&&U.attr("style",g),Cr(o,U)}return o.intersect=function(U){return ar.polygon(o,z,U)},T}async function Can(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.padding??0,y=o.look==="neo"?16:p,k=o.look==="neo"?12:p;(o.width||o.height)&&(o.height=Math.max((o?.height??0)-k*2,10),o.width=Math.max((o?.width??0)-y*2-qee*(o.height+k*2),10));let{shapeSvg:T,bbox:B}=await ni(s,o,Zr(o)),v=(o?.height?o?.height:B.height)+k*2,M=qee*v,L=qee*v,F=(o?.width?o?.width:B.width)+y*2+M-M,j=v,$=-F/2,z=-j/2,{cssStyles:U}=o,V=br.svg(T),nt=dr(o,{}),at=[{x:$-M/2,y:z},{x:$+F+M/2,y:z},{x:$+F+M/2,y:z+j},{x:$-M/2,y:z+j}],dt=[{x:$+F-M/2,y:z+j},{x:$+F+M/2,y:z+j},{x:$+F+M/2,y:z+j-L}];o.look!=="handDrawn"&&(nt.roughness=0,nt.fillStyle="solid");let et=Xo(at),Ft=V.path(et,nt),Nt=Xo(dt),se=V.path(Nt,{...nt,fillStyle:"solid"}),Ge=T.insert(()=>se,":first-child");return Ge.insert(()=>Ft,":first-child"),Ge.attr("class","basic label-container outer-path"),U&&o.look!=="handDrawn"&&Ge.selectAll("path").attr("style",U),g&&o.look!=="handDrawn"&&Ge.selectAll("path").attr("style",g),Cr(o,Ge),o.intersect=function(Ue){return ar.polygon(o,at,Ue)},T}async function Tan(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let{shapeSvg:p,bbox:y,label:k}=await ni(s,o,Zr(o)),T=Math.max(y.width+(o.padding??0)*2,o?.width??0),B=Math.max(y.height+(o.padding??0)*2,o?.height??0),v=B/8,M=.2*T,L=.2*B,F=B+v,{cssStyles:j}=o,$=br.svg(p),z=dr(o,{});o.look!=="handDrawn"&&(z.roughness=0,z.fillStyle="solid");let U=[{x:-T/2-T/2*.1,y:F/2},...r9(-T/2-T/2*.1,F/2,T/2+T/2*.1,F/2,v,.8),{x:T/2+T/2*.1,y:-F/2},{x:-T/2-T/2*.1,y:-F/2}],V=-T/2+T/2*.1,nt=-F/2-L*.4,at=[{x:V+T-M,y:(nt+B)*1.3},{x:V+T,y:nt+B-L},{x:V+T,y:(nt+B)*.9},...r9(V+T,(nt+B)*1.25,V+T-M,(nt+B)*1.3,-B*.02,.5)],dt=Xo(U),et=$.path(dt,z),Ft=Xo(at),Nt=$.path(Ft,{...z,fillStyle:"solid"}),se=p.insert(()=>Nt,":first-child");return se.insert(()=>et,":first-child"),se.attr("class","basic label-container outer-path"),j&&o.look!=="handDrawn"&&se.selectAll("path").attr("style",j),g&&o.look!=="handDrawn"&&se.selectAll("path").attr("style",g),se.attr("transform",`translate(0,${-v/2})`),k.attr("transform",`translate(${-T/2+(o.padding??0)-(y.x-(y.left??0))},${-B/2+(o.padding??0)-v/2-(y.y-(y.top??0))})`),Cr(o,se),o.intersect=function(Ge){return ar.polygon(o,U,Ge)},p}async function San(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let{shapeSvg:p,bbox:y}=await ni(s,o,Zr(o)),k=Math.max(y.width+(o.padding??0),o?.width||0),T=Math.max(y.height+(o.padding??0),o?.height||0),B=-k/2,v=-T/2,M=p.insert("rect",":first-child");return M.attr("class","text").attr("style",g).attr("rx",0).attr("ry",0).attr("x",B).attr("y",v).attr("width",k).attr("height",T),Cr(o,M),o.intersect=function(L){return ar.rect(o,L)},p}async function Ean(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.padding??0,y=o.look==="neo"?12:p/2,k=o.height??0;if(o.height&&(o.height=o.height-y,o.heightdt,":first-child"),z=T.insert(()=>at,":first-child"),z.attr("class","basic label-container"),$&&z.attr("style",$)}else{let U=M2n(0,0,j,M,F,L);z=T.insert("path",":first-child").attr("d",U).attr("class","basic label-container").attr("style",Au($)).attr("style",g),z.attr("class","basic label-container outer-path"),$&&z.selectAll("path").attr("style",$),g&&z.selectAll("path").attr("style",g)}return z.attr("label-offset-x",F),z.attr("transform",`translate(${-j/2}, ${M/2} )`),v.attr("transform",`translate(${-(B.width/2)-F-(B.x-(B.left??0))}, ${-(B.height/2)-(B.y-(B.top??0))})`),Cr(o,z),o.intersect=function(U){let V=ar.rect(o,U),nt=V.y-(o.y??0);if(L!=0&&(Math.abs(nt)<(o.height??0)/2||Math.abs(nt)==(o.height??0)/2&&Math.abs(V.x-(o.x??0))>(o.width??0)/2-F)){let at=F*F*(1-nt*nt/(L*L));at!=0&&(at=Math.sqrt(Math.abs(at))),at=F-at,U.x-(o.x??0)>0&&(at=-at),V.x+=at}return V},T}async function Ban(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.padding??0,y=(o.look,p),k=o.look==="neo"?p*2:p,{shapeSvg:T,bbox:B}=await ni(s,o,Zr(o)),v=Math.max(B.height+y,o.height??0),M=Math.max(B.width+k,(o.width??0)-v),L=[{x:-3*v/6,y:0},{x:M+3*v/6,y:0},{x:M,y:-v},{x:0,y:-v}],F,{cssStyles:j}=o;if(o.look==="handDrawn"){let $=br.svg(T),z=dr(o,{}),U=Xo(L),V=$.path(U,z);F=T.insert(()=>V,":first-child").attr("transform",`translate(${-M/2}, ${v/2})`),j&&F.attr("style",j)}else F=c5(T,M,v,L);return g&&F.attr("style",g),o.width=M,o.height=v,Cr(o,F),o.intersect=function($){return ar.polygon(o,L,$)},T}async function Man(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.padding??0,y=o.look==="neo"?16:p,k=o.look==="neo"?12:p,T=15,B=5;(o.width||o.height)&&(o.height=(o.height??0)-k*2,o.heightnt,":first-child");return at.attr("class","basic label-container outer-path"),j&&o.look!=="handDrawn"&&at.selectChildren("path").attr("style",j),g&&o.look!=="handDrawn"&&at.selectChildren("path").attr("style",g),Cr(o,at),o.intersect=function(dt){return ar.polygon(o,U,dt)},v}async function Aan(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.padding??0,y=o.look==="neo"?p*2:p;(o.width||o.height)&&(o.width=((o?.width??0)-y)/2,o.widthnt,":first-child").attr("transform",`translate(${-L/2}, ${L/2})`).attr("class","outer-path");return $&&o.look!=="handDrawn"&&at.selectChildren("path").attr("style",$),g&&o.look!=="handDrawn"&&at.selectChildren("path").attr("style",g),o.width=M,o.height=L,Cr(o,at),B.attr("transform",`translate(${-T.width/2-(T.x-(T.left??0))}, ${L/2-(T.height+(o.padding??0)/(v?2:1)-(T.y-(T.top??0)))})`),o.intersect=function(dt){return qr.info("Triangle intersect",o,j,dt),ar.polygon(o,j,dt)},k}async function Lan(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.padding??0,y=o.look==="neo"?16:p,k=o.look==="neo"?12:p,T=!0;(o.width||o.height)&&(T=!1,o.width=(o?.width??0)-y*2,o.width<10&&(o.width=10),o.height=(o?.height??0)-k*2,o.height<10&&(o.height=10));let{shapeSvg:B,bbox:v,label:M}=await ni(s,o,Zr(o)),L=(o?.width?o?.width:v.width)+(y??0)*2,F=(o?.height?o?.height:v.height)+(k??0)*2,j=o.look==="neo"?F/4:F/8,$=F+(T?j:-j),{cssStyles:z}=o,U=14-L,V=U>0?U/2:0,nt=br.svg(B),at=dr(o,{});o.look!=="handDrawn"&&(at.roughness=0,at.fillStyle="solid");let dt=[{x:-L/2-V,y:$/2},...r9(-L/2-V,$/2,L/2+V,$/2,j,.8),{x:L/2+V,y:-$/2},{x:-L/2-V,y:-$/2}],et=Xo(dt),Ft=nt.path(et,at),Nt=B.insert(()=>Ft,":first-child");return Nt.attr("class","basic label-container outer-path"),z&&o.look!=="handDrawn"&&Nt.selectAll("path").attr("style",z),g&&o.look!=="handDrawn"&&Nt.selectAll("path").attr("style",g),Nt.attr("transform",`translate(0,${-j/2})`),M.attr("transform",`translate(${-L/2+(o.padding??0)-(v.x-(v.left??0))},${-F/2+(o.padding??0)-j-(v.y-(v.top??0))})`),Cr(o,Nt),o.intersect=function(se){return ar.polygon(o,dt,se)},B}async function _an(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.padding??0,y=o.look==="neo"?16:p,k=o.look==="neo"?20:p;if(o.width||o.height){o.width=o?.width??0,o.width<20&&(o.width=20),o.height=o?.height??0,o.height<10&&(o.height=10);let dt=Math.min(o.height*.2,o.height/4);o.height=Math.ceil(o.height-k-dt*(20/9)),o.width=o.width-y*2}let{shapeSvg:T,bbox:B}=await ni(s,o,Zr(o)),v=(o?.width?o?.width:B.width)+y*2,M=(o?.height?o?.height:B.height)+k,L=M/8,F=M+L*2,{cssStyles:j}=o,$=br.svg(T),z=dr(o,{});o.look!=="handDrawn"&&(z.roughness=0,z.fillStyle="solid");let U=[{x:-v/2,y:F/2},...r9(-v/2,F/2,v/2,F/2,L,1),{x:v/2,y:-F/2},...r9(v/2,-F/2,-v/2,-F/2,L,-1)],V=Xo(U),nt=$.path(V,z),at=T.insert(()=>nt,":first-child");return at.attr("class","basic label-container"),j&&o.look!=="handDrawn"&&at.selectAll("path").attr("style",j),g&&o.look!=="handDrawn"&&at.selectAll("path").attr("style",g),Cr(o,at),o.intersect=function(dt){return ar.polygon(o,U,dt)},T}async function Fan(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o.look==="neo"?16:o.padding??0,y=o.look==="neo"?12:o.padding??0;(o.width||o.height)&&(o.width=Math.max((o?.width??0)-p*2-Ah,10),o.height=Math.max((o?.height??0)-y*2-Ah,10));let{shapeSvg:k,bbox:T,label:B}=await ni(s,o,Zr(o)),v=(o?.width?o?.width:T.width)+p*2+Ah,M=(o?.height?o?.height:T.height)+y*2+Ah,L=v-Ah,F=M-Ah,j=-L/2,$=-F/2,{cssStyles:z}=o,U=br.svg(k),V=dr(o,{}),nt=[{x:j-Ah,y:$-Ah},{x:j-Ah,y:$+F},{x:j+L,y:$+F},{x:j+L,y:$-Ah}],at=`M${j-Ah},${$-Ah} L${j+L},${$-Ah} L${j+L},${$+F} L${j-Ah},${$+F} L${j-Ah},${$-Ah} + M${j-Ah},${$} L${j+L},${$} + M${j},${$-Ah} L${j},${$+F}`;o.look!=="handDrawn"&&(V.roughness=0,V.fillStyle="solid");let dt=U.path(at,V),et=k.insert(()=>dt,":first-child");return et.attr("transform",`translate(${Ah/2}, ${Ah/2})`),et.attr("class","basic label-container outer-path"),z&&o.look!=="handDrawn"&&et.selectAll("path").attr("style",z),g&&o.look!=="handDrawn"&&et.selectAll("path").attr("style",g),B.attr("transform",`translate(${-(T.width/2)+Ah/2-(T.x-(T.left??0))}, ${-(T.height/2)+Ah/2-(T.y-(T.top??0))})`),Cr(o,et),o.intersect=function(Ft){return ar.polygon(o,nt,Ft)},k}async function Vie(s,o){let f=o;f.alias&&(o.label=f.alias);let{theme:g,themeVariables:p}=B0(),{rowEven:y,rowOdd:k,nodeBorder:T,borderColorArray:B}=p;if(o.look==="handDrawn"){let{themeVariables:Or}=B0(),{background:ta}=Or,wo={...o,id:o.id+"-background",domId:(o.domId||o.id)+"-background",look:"default",cssStyles:["stroke: none",`fill: ${ta}`]};await Vie(s,wo)}let v=B0();o.useHtmlLabels=v.htmlLabels;let M=v.er?.diagramPadding??10,L=v.er?.entityPadding??6,{cssStyles:F}=o,{labelStyles:j,nodeStyles:$}=vr(o);if(f.attributes.length===0&&o.label){let Or={rx:0,ry:0,labelPaddingX:M,labelPaddingY:M*1.5,classes:""};h6(o.label,v)+Or.labelPaddingX*20){let Or=V.width+M*2-(et+Ft+Nt+se);et+=Or/me,Ft+=Or/me,Nt>0&&(Nt+=Or/me),se>0&&(se+=Or/me)}let Ce=et+Ft+Nt+se,ge=br.svg(U),be=dr(o,{});o.look!=="handDrawn"&&(be.roughness=0,be.fillStyle="solid");let le=0;dt.length>0&&(le=dt.reduce((Or,ta)=>Or+(ta?.rowHeight??0),0));let Oe=Math.max(fn.width+M*2,o?.width||0,Ce),ke=Math.max((le??0)+V.height,o?.height||0),nn=-Oe/2,tt=-ke/2;if(U.selectAll("g:not(:first-child)").each((Or,ta,wo)=>{let Ws=qo(wo[ta]),js=Ws.attr("transform"),sa=0,th=0;if(js){let to=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(js);to&&(sa=parseFloat(to[1]),th=parseFloat(to[2]),Ws.attr("class").includes("attribute-name")?sa+=et:Ws.attr("class").includes("attribute-keys")?sa+=et+Ft:Ws.attr("class").includes("attribute-comment")&&(sa+=et+Ft+Nt))}Ws.attr("transform",`translate(${nn+M/2+sa}, ${th+tt+V.height+L/2})`)}),U.select(".name").attr("transform","translate("+-V.width/2+", "+(tt+L/2)+")"),g!=null&&hYe.has(g)){let Or=f.colorIndex??0;U.attr("data-color-id",`color-${Or%B.length}`)}let sr=ge.rectangle(nn,tt,Oe,ke,be),Xr=U.insert(()=>sr,":first-child").attr("class","outer-path").attr("style",F.join(""));at.push(0);for(let[Or,ta]of dt.entries()){let wo=(Or+1)%2===0&&ta.yOffset!==0,Ws=ge.rectangle(nn,V.height+tt+ta?.yOffset,Oe,ta?.rowHeight,{...be,fill:wo?y:k,stroke:T});U.insert(()=>Ws,"g.label").attr("style",F.join("")).attr("class",`row-rect-${wo?"even":"odd"}`)}let $i=1e-4,Bi=xO(nn,V.height+tt,Oe+nn,V.height+tt,$i),ja=ge.polygon(Bi.map(Or=>[Or.x,Or.y]),be);if(U.insert(()=>ja).attr("class","divider"),Bi=xO(et+nn,V.height+tt,et+nn,ke+tt,$i),ja=ge.polygon(Bi.map(Or=>[Or.x,Or.y]),be),U.insert(()=>ja).attr("class","divider"),Ge){let Or=et+Ft+nn;Bi=xO(Or,V.height+tt,Or,ke+tt,$i),ja=ge.polygon(Bi.map(ta=>[ta.x,ta.y]),be),U.insert(()=>ja).attr("class","divider")}if(Ue){let Or=et+Ft+Nt+nn;Bi=xO(Or,V.height+tt,Or,ke+tt,$i),ja=ge.polygon(Bi.map(ta=>[ta.x,ta.y]),be),U.insert(()=>ja).attr("class","divider")}for(let Or of at){let ta=V.height+tt+Or;Bi=xO(nn,ta,Oe+nn,ta,$i),ja=ge.polygon(Bi.map(wo=>[wo.x,wo.y]),be),U.insert(()=>ja).attr("class","divider")}if(Cr(o,Xr),$&&o.look!=="handDrawn")if(g!=null&&_2n.has(g))U.selectAll("path").attr("style",$);else{let Or=$.split(";")?.filter(ta=>ta.includes("stroke"))?.map(ta=>`${ta}`).join("; ");U.selectAll("path").attr("style",Or??""),U.selectAll(".row-rect-even path").attr("style",$)}return o.intersect=function(Or){return ar.rect(o,Or)},U}async function kO(s,o,f,g=0,p=0,y=[],k=""){let T=s.insert("g").attr("class",`label ${y.join(" ")}`).attr("transform",`translate(${g}, ${p})`).attr("style",k);o!==rXe(o)&&(o=rXe(o),o=o.replaceAll("<","<").replaceAll(">",">"));let B=T.node().appendChild(await wp(T,o,{width:h6(o,f)+100,style:k,useHtmlLabels:f.htmlLabels},f));if(o.includes("<")||o.includes(">")){let M=B.children[0];for(M.textContent=M.textContent.replaceAll("<","<").replaceAll(">",">");M.childNodes[0];)M=M.childNodes[0],M.textContent=M.textContent.replaceAll("<","<").replaceAll(">",">")}let v=B.getBBox();if(d6(f.htmlLabels)){let M=B.children[0];M.style.textAlign="start";let L=qo(B);v=M.getBoundingClientRect(),L.attr("width",v.width),L.attr("height",v.height)}return v}function xO(s,o,f,g,p){return s===f?[{x:s-p/2,y:o},{x:s+p/2,y:o},{x:f+p/2,y:g},{x:f-p/2,y:g}]:[{x:s,y:o-p/2},{x:s,y:o+p/2},{x:f,y:g+p/2},{x:f,y:g-p/2}]}async function Oan(s,o,f,g,p=f.class.padding??12){let y=g?0:3,k=s.insert("g").attr("class",Zr(o)).attr("id",o.domId||o.id),T=null,B=null,v=null,M=null,L=0,F=0,j=0;if(T=k.insert("g").attr("class","annotation-group text"),o.annotations.length>0){let nt=o.annotations[0];await AK(T,{text:`\xAB${nt}\xBB`},0),L=T.node().getBBox().height}B=k.insert("g").attr("class","label-group text"),await AK(B,o,0,["font-weight: bolder"]);let $=B.node().getBBox();F=$.height,v=k.insert("g").attr("class","members-group text");let z=0;for(let nt of o.members){let at=await AK(v,nt,z,[nt.parseClassifier()]);z+=at+y}j=v.node().getBBox().height,j<=0&&(j=p/2),M=k.insert("g").attr("class","methods-group text");let U=0;for(let nt of o.methods){let at=await AK(M,nt,U,[nt.parseClassifier()]);U+=at+y}let V=k.node().getBBox();if(T!==null){let nt=T.node().getBBox();T.attr("transform",`translate(${-nt.width/2})`)}return B.attr("transform",`translate(${-$.width/2}, ${L})`),V=k.node().getBBox(),v.attr("transform",`translate(0, ${L+F+p*2})`),V=k.node().getBBox(),M.attr("transform",`translate(0, ${L+F+(j?j+p*4:p*2)})`),V=k.node().getBBox(),{shapeSvg:k,bbox:V}}async function AK(s,o,f,g=[]){let p=s.insert("g").attr("class","label").attr("style",g.join("; ")),y=B0(),k="useHtmlLabels"in o?o.useHtmlLabels:d6(y.htmlLabels)??!0,T="";"text"in o?T=o.text:T=o.label,!k&&T.startsWith("\\")&&(T=T.substring(1)),JK(T)&&(k=!0);let B=await wp(p,lrn(rE(T)),{width:h6(T,y)+50,classes:"markdown-node-label",useHtmlLabels:k},y),v,M=1;if(k){let L=B.children[0],F=qo(B);M=L.innerHTML.split("
    ").length,L.innerHTML.includes("")&&(M+=L.innerHTML.split("").length-1),await Hie(L),v=L.getBoundingClientRect(),F.attr("width",v.width),F.attr("height",v.height)}else{g.includes("font-weight: bolder")&&qo(B).selectAll("tspan").attr("font-weight",""),M=B.children.length;let L=B.children[0];(B.textContent===""||B.textContent.includes(">"))&&(L.textContent=T[0]+T.substring(1).replaceAll(">",">").replaceAll("<","<").trim(),T[1]===" "&&(L.textContent=L.textContent[0]+" "+L.textContent.substring(1))),L.textContent==="undefined"&&(L.textContent=""),v=B.getBBox()}return p.attr("transform","translate(0,"+(-v.height/(2*M)+f)+")"),v.height}async function Dan(s,o){let f=Da(),{theme:g,themeVariables:p}=f,{useGradient:y,borderColorArray:k}=p,T=f.class.padding??12,B=T,v=o.useHtmlLabels??d6(f.htmlLabels)??!0,M=o;M.annotations=M.annotations??[],M.members=M.members??[],M.methods=M.methods??[];let{shapeSvg:L,bbox:F}=await Oan(s,o,f,v,B);J2(L,o.colorIndex,g,k);let{labelStyles:j,nodeStyles:$}=vr(o);o.labelStyle=j,o.cssStyles=M.styles||"";let z=M.styles?.join(";")||$||"";o.cssStyles||(o.cssStyles=z.replaceAll("!important","").split(";"));let U=M.members.length===0&&M.methods.length===0&&!f.class?.hideEmptyMembersBox,V=br.svg(L),nt=dr(o,{});o.look!=="handDrawn"&&(nt.roughness=0,nt.fillStyle="solid");let at=Math.max(o.width??0,F.width),dt=Math.max(o.height??0,F.height),et=(o.height??0)>F.height;M.members.length===0&&M.methods.length===0?dt+=B:M.members.length>0&&M.methods.length===0&&(dt+=B*2);let Ft=-at/2,Nt=-dt/2,se=U?T*2:M.members.length===0&&M.methods.length===0?-T:0;et&&(se=T*2);let Ge=V.rectangle(Ft-T,Nt-T-(U?T:M.members.length===0&&M.methods.length===0?-T/2:0),at+2*T,dt+2*T+se,nt),Ue=L.insert(()=>Ge,":first-child");Ue.attr("class","basic label-container outer-path");let me=Ue.node().getBBox(),fn=L.select(".annotation-group").node().getBBox().height-(U?T/2:0)||0,Ce=L.select(".label-group").node().getBBox().height-(U?T/2:0)||0,ge=L.select(".members-group").node().getBBox().height-(U?T/2:0)||0,be=(fn+Ce+Nt+T-(Nt-T-(U?T:M.members.length===0&&M.methods.length===0?-T/2:0)))/2;if(L.selectAll(".text").each((le,Oe,ke)=>{let nn=qo(ke[Oe]),tt=nn.attr("transform"),sr=0;if(tt){let Bi=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(tt);Bi&&(sr=parseFloat(Bi[2]))}let Xr=sr+Nt+T-(U?T:M.members.length===0&&M.methods.length===0?-T/2:0);if(nn.attr("class").includes("methods-group")){let Bi=Math.max(ge,B/2);et?Xr=Math.max(be,fn+Ce+Bi+Nt+B*2+T)+B*2:Xr=fn+Ce+Bi+Nt+B*4+T}M.members.length===0&&M.methods.length===0&&f.class?.hideEmptyMembersBox&&(M.annotations.length>0?Xr=sr-B:Xr=sr),v||(Xr-=4);let $i=Ft;(nn.attr("class").includes("label-group")||nn.attr("class").includes("annotation-group"))&&($i=-nn.node()?.getBBox().width/2||0,L.selectAll("text").each(function(Bi,ja,Or){window.getComputedStyle(Or[ja]).textAnchor==="middle"&&($i=0)})),nn.attr("transform",`translate(${$i}, ${Xr})`)}),M.members.length>0||M.methods.length>0||U){let le=fn+Ce+Nt+T,Oe=V.line(me.x,le,me.x+me.width,le+.001,nt);L.insert(()=>Oe).attr("class",`divider${o.look==="neo"&&!y?" neo-line":""}`).attr("style",z)}if(U||M.members.length>0||M.methods.length>0){let le=fn+Ce+ge+Nt+B*2+T,Oe=V.line(me.x,et?Math.max(be,le):le,me.x+me.width,(et?Math.max(be,le):le)+.001,nt);L.insert(()=>Oe).attr("class",`divider${o.look==="neo"&&!y?" neo-line":""}`).attr("style",z)}if(M.look!=="handDrawn"&&L.selectAll("path").attr("style",z),Ue.select(":nth-child(2)").attr("style",z),L.selectAll(".divider").select("path").attr("style",z),o.labelStyle?L.selectAll("span").attr("style",o.labelStyle):L.selectAll("span").attr("style",z),!v){let le=RegExp(/color\s*:\s*([^;]*)/),Oe=le.exec(z);if(Oe){let ke=Oe[0].replace("color","fill");L.selectAll("tspan").attr("style",ke)}else if(j){let ke=le.exec(j);if(ke){let nn=ke[0].replace("color","fill");L.selectAll("tspan").attr("style",nn)}}}return Cr(o,Ue),o.intersect=function(le){return ar.rect(o,le)},L}async function jan(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let p=o,y=o,k=20,T=20,B="verifyMethod"in o,v=Zr(o),M=Da(),{themeVariables:L}=M,{borderColorArray:F,requirementEdgeLabelBackground:j}=L,$=M.layout==="elk"?"start":"center",z=s.insert("g").attr("class",v).attr("id",o.domId??o.id),U;B?U=await J4(z,`<<${p.type}>>`,0,o.labelStyle):U=await J4(z,"<<Element>>",0,o.labelStyle);let V=U,nt=await J4(z,p.name,V,o.labelStyle+"; font-weight: bold;");if(V+=nt+T,B){let me=await J4(z,`${p.requirementId?`ID: ${p.requirementId}`:""}`,V,o.labelStyle,$);V+=me;let fn=await J4(z,`${p.text?`Text: ${p.text}`:""}`,V,o.labelStyle,$);V+=fn;let Ce=await J4(z,`${p.risk?`Risk: ${p.risk}`:""}`,V,o.labelStyle,$);V+=Ce,await J4(z,`${p.verifyMethod?`Verification: ${p.verifyMethod}`:""}`,V,o.labelStyle,$)}else{let me=await J4(z,`${y.type?`Type: ${y.type}`:""}`,V,o.labelStyle,$);V+=me,await J4(z,`${y.docRef?`Doc Ref: ${y.docRef}`:""}`,V,o.labelStyle,$)}let at=(z.node()?.getBBox().width??200)+k,dt=(z.node()?.getBBox().height??200)+k,et=-at/2,Ft=-dt/2,Nt=br.svg(z),se=dr(o,{});o.look!=="handDrawn"&&(se.roughness=0,se.fillStyle="solid");let Ge=Nt.rectangle(et,Ft,at,dt,se),Ue=z.insert(()=>Ge,":first-child");if(Ue.attr("class","basic label-container outer-path").attr("style",g),F?.length){let me=o.colorIndex??0;z.attr("data-color-id",`color-${me%F.length}`)}if(z.selectAll(".label").each((me,fn,Ce)=>{let ge=qo(Ce[fn]),be=ge.attr("transform"),le=0,Oe=0;if(be){let tt=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(be);tt&&(le=parseFloat(tt[1]),Oe=parseFloat(tt[2]))}let ke=Oe-dt/2,nn=et+k/2;(fn===0||fn===1)&&(nn=le),ge.attr("transform",`translate(${nn}, ${ke+k})`)}),V>U+nt+T){let me=Ft+U+nt+T,fn;if(o.look==="neo"){let Ce=[[et,me],[et+at,me],[et+at,me+.001],[et,me+.001]];fn=Nt.polygon(Ce,se)}else fn=Nt.line(et,me,et+at,me,se);z.insert(()=>fn).attr("class","divider")}return Cr(o,Ue),o.intersect=function(me){return ar.rect(o,me)},g&&o.look!=="handDrawn"&&(j||F?.length)&&z.selectAll("path").attr("style",g),z}async function J4(s,o,f,g="",p="center"){if(o==="")return 0;let y=s.insert("g").attr("class","label").attr("style",g),k=Da(),T=k.htmlLabels??!0,B=await wp(y,lrn(rE(o)),{width:h6(o,k)+50,classes:"markdown-node-label",useHtmlLabels:T,style:g},k),v;if(T){let M=B.children[0],L=qo(B);p==="start"&&qo(M).style("text-align","left"),v=M.getBoundingClientRect(),L.attr("width",v.width),L.attr("height",v.height)}else{let M=B.children[0];for(let L of M.children)g&&L.setAttribute("style",g);if(p==="start"){M.setAttribute("text-anchor","start");for(let L of M.children)L.setAttribute("text-anchor","start")}v=B.getBBox(),v.height+=6}return y.attr("transform",`translate(${-v.width/2},${-v.height/2+f})`),v.height}async function Ian(s,o,{config:f}){let{labelStyles:g,nodeStyles:p}=vr(o);o.labelStyle=g||"";let y=10,k=o.width;o.width=(o.width??200)-10;let{shapeSvg:T,bbox:B,label:v}=await ni(s,o,Zr(o)),M=o.padding||10,L="",F;"ticket"in o&&o.ticket&&f?.kanban?.ticketBaseUrl&&(L=f?.kanban?.ticketBaseUrl.replace("#TICKET#",o.ticket),F=T.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",L).attr("target","_blank"));let j={useHtmlLabels:o.useHtmlLabels,labelStyle:o.labelStyle||"",width:o.width,img:o.img,padding:o.padding||8,centerLabel:!1},$,z;F?{label:$,bbox:z}=await tE(F,"ticket"in o&&o.ticket||"",j):{label:$,bbox:z}=await tE(T,"ticket"in o&&o.ticket||"",j);let{label:U,bbox:V}=await tE(T,"assigned"in o&&o.assigned||"",j);o.width=k;let nt=10,at=o?.width||0,dt=Math.max(z.height,V.height)/2,et=Math.max(B.height+nt*2,o?.height||0)+dt,Ft=-at/2,Nt=-et/2;v.attr("transform","translate("+(M-at/2)+", "+(-dt-B.height/2)+")"),$.attr("transform","translate("+(M-at/2)+", "+(-dt+B.height/2)+")"),U.attr("transform","translate("+(M+at/2-V.width-2*y)+", "+(-dt+B.height/2)+")");let se,{rx:Ge,ry:Ue}=o,{cssStyles:me}=o;if(o.look==="handDrawn"){let fn=br.svg(T),Ce=dr(o,{}),ge=Ge||Ue?fn.path(mp(Ft,Nt,at,et,Ge||0),Ce):fn.rectangle(Ft,Nt,at,et,Ce);se=T.insert(()=>ge,":first-child"),se.attr("class","basic label-container").attr("style",me||null)}else{se=T.insert("rect",":first-child"),se.attr("class","basic label-container __APA__").attr("style",p).attr("rx",Ge??5).attr("ry",Ue??5).attr("x",Ft).attr("y",Nt).attr("width",at).attr("height",et);let fn="priority"in o&&o.priority;if(fn){let Ce=T.append("line"),ge=Ft+2,be=Nt+Math.floor((Ge??0)/2),le=Nt+et-Math.floor((Ge??0)/2);Ce.attr("x1",ge).attr("y1",be).attr("x2",ge).attr("y2",le).attr("stroke-width","4").attr("stroke",F2n(fn))}}return Cr(o,se),o.height=et,o.intersect=function(fn){return ar.rect(o,fn)},T}async function Pan(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let{shapeSvg:p,bbox:y,halfPadding:k,label:T}=await ni(s,o,Zr(o)),B=y.width+10*k,v=y.height+8*k,M=.15*B,{cssStyles:L}=o,F=y.width+20,j=y.height+20,$=Math.max(B,F),z=Math.max(v,j);T.attr("transform",`translate(${-y.width/2}, ${-y.height/2})`);let U,V=`M0 0 + a${M},${M} 1 0,0 ${$*.25},${-1*z*.1} + a${M},${M} 1 0,0 ${$*.25},0 + a${M},${M} 1 0,0 ${$*.25},0 + a${M},${M} 1 0,0 ${$*.25},${z*.1} + + a${M},${M} 1 0,0 ${$*.15},${z*.33} + a${M*.8},${M*.8} 1 0,0 0,${z*.34} + a${M},${M} 1 0,0 ${-1*$*.15},${z*.33} + + a${M},${M} 1 0,0 ${-1*$*.25},${z*.15} + a${M},${M} 1 0,0 ${-1*$*.25},0 + a${M},${M} 1 0,0 ${-1*$*.25},0 + a${M},${M} 1 0,0 ${-1*$*.25},${-1*z*.15} + + a${M},${M} 1 0,0 ${-1*$*.1},${-1*z*.33} + a${M*.8},${M*.8} 1 0,0 0,${-1*z*.34} + a${M},${M} 1 0,0 ${$*.1},${-1*z*.33} + H0 V0 Z`;if(o.look==="handDrawn"){let nt=br.svg(p),at=dr(o,{}),dt=nt.path(V,at);U=p.insert(()=>dt,":first-child"),U.attr("class","basic label-container").attr("style",Au(L))}else U=p.insert("path",":first-child").attr("class","basic label-container").attr("style",g).attr("d",V);return U.attr("transform",`translate(${-$/2}, ${-z/2})`),Cr(o,U),o.calcIntersect=function(nt,at){return ar.rect(nt,at)},o.intersect=function(nt){return qr.info("Bang intersect",o,nt),ar.rect(o,nt)},p}async function $an(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let{shapeSvg:p,bbox:y,halfPadding:k,label:T}=await ni(s,o,Zr(o)),B=y.width+2*k,v=y.height+2*k,M=.15*B,L=.25*B,F=.35*B,j=.2*B,{cssStyles:$}=o,z,U=`M0 0 + a${M},${M} 0 0,1 ${B*.25},${-1*B*.1} + a${F},${F} 1 0,1 ${B*.4},${-1*B*.1} + a${L},${L} 1 0,1 ${B*.35},${B*.2} + + a${M},${M} 1 0,1 ${B*.15},${v*.35} + a${j},${j} 1 0,1 ${-1*B*.15},${v*.65} + + a${L},${M} 1 0,1 ${-1*B*.25},${B*.15} + a${F},${F} 1 0,1 ${-1*B*.5},0 + a${M},${M} 1 0,1 ${-1*B*.25},${-1*B*.15} + + a${M},${M} 1 0,1 ${-1*B*.1},${-1*v*.35} + a${j},${j} 1 0,1 ${B*.1},${-1*v*.65} + H0 V0 Z`;if(o.look==="handDrawn"){let V=br.svg(p),nt=dr(o,{}),at=V.path(U,nt);z=p.insert(()=>at,":first-child"),z.attr("class","basic label-container").attr("style",Au($))}else z=p.insert("path",":first-child").attr("class","basic label-container").attr("style",g).attr("d",U);return T.attr("transform",`translate(${-y.width/2}, ${-y.height/2})`),z.attr("transform",`translate(${-B/2}, ${-v/2})`),Cr(o,z),o.calcIntersect=function(V,nt){return ar.rect(V,nt)},o.intersect=function(V){return qr.info("Cloud intersect",o,V),ar.rect(o,V)},p}async function Nan(s,o){let{labelStyles:f,nodeStyles:g}=vr(o);o.labelStyle=f;let{shapeSvg:p,bbox:y,halfPadding:k,label:T}=await ni(s,o,Zr(o)),B=y.width+8*k,v=y.height+2*k,M=5,L=o.look==="neo"?` + M${-B/2} ${v/2-M} + v${-v+2*M} + q0,-${M} ${M},-${M} + h${B-2*M} + q${M},0 ${M},${M} + v${v-M} + H${-B/2} + Z + `:` + M${-B/2} ${v/2-M} + v${-v+2*M} + q0,-${M} ${M},-${M} + h${B-2*M} + q${M},0 ${M},${M} + v${v-2*M} + q0,${M} ${-M},${M} + h${-(B-2*M)} + q${-M},0 ${-M},${-M} + Z + `;if(!o.domId)throw new Error(`defaultMindmapNode: node "${o.id}" is missing a domId \u2014 was render.ts domId prefixing skipped?`);let F=p.append("path").attr("id",o.domId).attr("class","node-bkg node-"+o.type).attr("style",g).attr("d",L);return p.append("line").attr("class","node-line-").attr("x1",-B/2).attr("y1",v/2).attr("x2",B/2).attr("y2",v/2),T.attr("transform",`translate(${-y.width/2}, ${-y.height/2})`),p.append(()=>T.node()),Cr(o,F),o.calcIntersect=function(j,$){return ar.rect(j,$)},o.intersect=function(j){return ar.rect(o,j)},p}async function Ran(s,o){let f={padding:o.padding??0};return Wie(s,o,f)}async function zan(s,o,f){let g,p;o.shape==="rect"&&(o.rx&&o.ry?o.shape="roundedRect":o.shape="squareRect");let y=o.shape?j2n[o.shape]:void 0;if(!y)throw new Error(`No such shape: ${o.shape}. Please check your syntax.`);if(o.link){let k;f.config.securityLevel==="sandbox"?k="_top":o.linkTarget&&(k=o.linkTarget||"_blank"),g=s.insert("svg:a").attr("xlink:href",o.link).attr("target",k??null),p=await y(g,o,f)}else p=await y(s,o,f),g=p;return g.attr("data-look",Au(o.look)),o.tooltip&&p.attr("title",o.tooltip),Xie.set(o.id,g),o.haveCallback&&g.attr("class",g.attr("class")+" clickable"),g}function qan(s,{edgePathsClass:o="edges edgePaths"}={}){let f=s.insert("g").attr("class","root"),g=f.insert("g").attr("class","clusters"),p=f.insert("g").attr("class",o),y=f.insert("g").attr("class","edgeLabels"),k=f.insert("g").attr("class","nodes");return{clusters:g,edgePaths:p,edgeLabels:y,nodes:k,rootGroups:f}}async function Han(s,o,f){if(o.label){let{shapeSvg:g,bbox:p}=await ni(s,f===void 0?o:{...o,width:f});o.labelBBox={width:p.width,height:p.height},g.remove()}else o.labelBBox={width:0,height:0}}async function Kan(s,o,f){let g=await zan(s,o,f),p=g.node()?.getBBox()??{width:0,height:0};return o.width=p.width,o.height=p.height,g}function Uan(s,o,f){let g=s,p=new Set;for(;g;){if(g.dir)return g.dir;if(!g.parentId||p.has(g.parentId))break;p.add(g.parentId),g=o.get(g.parentId)}return f}async function Wan(s,o,f={}){let g=new Cie({multigraph:!0,compound:!0}),p=[...o.edges],y=Da(),k=qan(s),{edgeLabels:T,nodes:B}=k,v=new Map,M=new Map(o.nodes.map(j=>[j.id,j])),L=o.direction,F=s.node()!=null;await Promise.all(o.nodes.map(async j=>{if(j.isGroup){if(F){let $=f.unwrapGroupLabels&&j.labelType!=="markdown";await Han(B,j,$?Number.POSITIVE_INFINITY:void 0)}g.setNode(j.id,{...j})}else{if(F){let $=await Kan(B,j,{config:y,dir:Uan(j,M,L)});v.set(j.id,$)}g.setNode(j.id,{...j})}}));for(let j of p)F&&ein(j)&&await nin(T,j),g.setEdge(j.start,j.end,{...j},j.id),o.edges.some($=>$.id===j.id)||o.edges.push(j);if(globalThis.mermaidCaptureSizes){let{captureNodeSizes:j}=await Promise.resolve().then(()=>(_Ve(),LVe));j(s,o)}return{graph:g,groups:k,nodeElements:v}}function Yan({prepareLayout:s,measureLayout:o,runLayoutCore:f,paintLayout:g,afterPaint:p,paintOptions:y}){let k=o??Yie;return n(async function(T,B,v,M){let L=B.select("g");(v?.insertMarkers??xwn)(L,T.markers,T.type,T.diagramId),Qan();let F={element:L,helpers:v,options:M};F.preparedLayout=await s?.(T,F);let j=await k(T,F),$=await f(T,F),z={...F,measure:j};g?await g(T,z,$):await Jan(T,z,y),await p?.(T,z,$)},"render")}function Qan(){I2n(),jpn(),Y2n(),Ewn()}async function Yie(s,{element:o},f){return await Wan(o,s,f)}async function Jan(s,o,f={}){let{measure:g}=o,{groups:p}=g;for(let k of f.getNodes?.(s,o)??s.nodes)f.skipNode?.(k,o)||await Zan(p,k,o,f);let y=eon(s.nodes);for(let k of s.edges)non(k,f)||await ron(p,k,y,s,f,o)}async function Zan(s,o,f,g){o.clusterNode?uYe(o):ton(o,f,g)?await X2n(s.clusters,o):uYe(o)}function ton(s,o,f){return s.isGroup===!0&&(f.isCluster?.(s,o)??!0)}function eon(s){let o=new Map;for(let f of s)f?.id&&o.set(f.id,f);return o}function non(s,o){return s.isLayoutOnly||!!o.skipEdge?.(s)}async function ron(s,o,f,g,p,y){let k=qpn(s.edgePaths,{...o},p.clusterDb??new Map,g.type,Zne(o.start,o,f,y,p),Zne(o.end,o,f,y,p),g.diagramId,ion(o,p));ein(o)&&(Out.has(o.id)||await nin(s.edgeLabels,o),aon(o,k))}function Zne(s,o,f,g,p){return p.getEdgeNode?.(s,o,g)??(s?f.get(s)??{}:{})}function ion(s,o){return typeof o.skipIntersect=="function"?o.skipIntersect(s):o.skipIntersect??!1}function aon(s,o){let f=o?.updatedPath??o?.originalPath,g=B0(),{subGraphTitleTotalMargin:p}=fU({flowchart:g.flowchart??{}});if(s.label){let y=Out.get(s.id),{x:k,y:T}=Ipn(s,o);y.attr("transform",`translate(${k}, ${T+p/2})`)}for(let[y,k]of[["startLeft",s.startLabelLeft],["startRight",s.startLabelRight],["endLeft",s.endLabelLeft],["endRight",s.endLabelRight]])if(k){let{x:T,y:B}=oon(s,y,f);_b.get(s.id)[y].attr("transform",`translate(${T}, ${B})`)}}function oon(s,o,f){let g=s.terminalLabelCenters?.[o];if(g)return{...g};if(!f)return{x:s.x,y:s.y};let p=o.startsWith("start")?s.arrowTypeStart:s.arrowTypeEnd;return $ht.calcTerminalLabelPosition(p?10:0,Bwn[o],f)}function tre(s,o,{parentById:f}){let g=s;for(;(f[g]??Awn)!==o;)g=f[g];return g}function son(s,o){let f=s.map(()=>!1),g=new Map;s.forEach(({source:p,target:y},k)=>{if(p===y)return;let T=Qie(p,y,o);if(T===p||T===y)return;let B=tre(p,T,o),v=tre(y,T,o),M=g.get(T)??[];M.push({index:k,from:B,to:v,collapsed:B!==p||v!==y}),g.set(T,M)});for(let p of g.values()){let y=new Map,k=[],T=new Map;for(let F of p){for(let j of[F.from,F.to])y.has(j)||(y.set(j,[]),k.push(j),T.set(j,0));y.get(F.from).push(F),T.set(F.to,T.get(F.to)+1)}let B=1,v=2,M=new Map,L=[...k.filter(F=>T.get(F)===0),...k];for(let F of L){if(M.has(F))continue;M.set(F,B);let j=[{node:F,next:0}];for(;j.length>0;){let $=j[j.length-1],z=y.get($.node);if($.next>=z.length){M.set($.node,v),j.pop();continue}let U=z[$.next++],V=M.get(U.to);V===B?f[U.index]=U.collapsed:V===void 0&&(M.set(U.to,B),j.push({node:U.to,next:0}))}}}return f}function Qht(s){let o=[];for(let f=0;f=1-hht||F<=hht||F>=1-hht?null:{point:{x:s.x+L*p,y:s.y+L*y},tA:L,tB:F}}function ere(s){return Math.abs(s.b.x-s.a.x)>=Math.abs(s.b.y-s.a.y)}function nre(s,o,f){if(s.curve!=="rounded")return!1;let g=s.points,p=g[o],y=g[o+1];if(!p||!y)return!1;let k=Math.hypot(y.x-p.x,y.y-p.y),T=f*k,B=o>0?aU(g[o-1],p,y,Yht):null;if(B&&T=Math.abs(f)?o>=0?1:0:f>=0?1:0}function uon(s,o){if(s.length<2)return s.map(y=>({...y}));let f=s.map(y=>({...y})),g=o.arrowTypeStart&&s1[o.arrowTypeStart];if(g){let y=s[0],k=s[1],T=Math.atan2(k.y-y.y,k.x-y.x);f[0].x=y.x+g*Math.cos(T),f[0].y=y.y+g*Math.sin(T)}let p=o.arrowTypeEnd&&s1[o.arrowTypeEnd];if(p){let y=s.length,k=s[y-2],T=s[y-1],B=Math.atan2(T.y-k.y,T.x-k.x);f[y-1].x=T.x-p*Math.cos(B),f[y-1].y=T.y-p*Math.sin(B)}return f}function don(s,o,f,g,p){let y=s.point.x,k=s.point.y,T={x:y-o*s.r,y:k-f*s.r},B={x:y+o*s.r,y:k+f*s.r},v=[`L${EO(T)}`];return p==="arc"?v.push(`A${qm(s.r)},${qm(s.r)} 0 0 ${g} ${EO(B)}`):v.push(`M${EO(B)}`),v}function aU(s,o,f,g){let p=o.x-s.x,y=o.y-s.y,k=f.x-o.x,T=f.y-o.y,B=Math.hypot(p,y),v=Math.hypot(k,T);if(B0){let dt=aU(p[v-1],p[v],p[v+1]??p[v],Yht);dt&&(z=dt.cutLen)}let U=L,V=null;y&&vdt.t-et.t).filter(dt=>{let et=Math.min(dt.d-z,U-dt.d)-Lwn;return dt.r=Math.min(dt.r,et),dt.r>=nt});for(let dt=0;dtet){let Ft=et/2;at[dt].r=Math.min(at[dt].r,Ft),at[dt+1].r=Math.min(at[dt+1].r,Ft)}}for(let dt of at)dt.r=2?g:null}catch{return null}}function won(s,o,f){if(!f.enabled)return;let g=s.node();if(!g)return;let p=new Map;for(let v of o)p.set(v.id,v);let y=new Map;for(let v of g.querySelectorAll("path[data-id]")){let M=v.getAttribute("data-id");M!==null&&!y.has(M)&&y.set(M,v)}let k=[];for(let v of o){let M=y.get(v.id);if(!M)continue;let L=pon(M.getAttribute("data-points"))??v.points;k.push({...v,points:L})}let T=lon(k);if(T.length===0)return;let B=new Map;for(let v of T){let M=B.get(v.jumpEdgeId)??[];M.push(v),B.set(v.jumpEdgeId,M)}for(let v of k){let M=B.get(v.id);if(!M||M.length===0)continue;let L=p.get(v.id)?.curve;if(L!==void 0&&!gon(L))continue;let F=y.get(v.id);if(!F)continue;if(L===void 0){let nt=F.getAttribute("d")??"";if(!bon(nt))continue}let j=F.getAttribute("style")??"",$=/stroke-dasharray\s*:\s*0\s+([\d.]+)\s+[\d.]+\s+([\d.]+)/.exec(j),z=$?Number.parseFloat($[1]):null,U=$?Number.parseFloat($[2]):null,V=fon(v,M,f);if(F.setAttribute("d",V),z!==null&&U!==null&&typeof F.getTotalLength=="function"){let nt=F.getTotalLength(),at=Math.max(0,nt-z-U),dt=`0 ${z} ${at} ${U}`,et=j.replace(/stroke-dasharray\s*:[^;]*;?/g,`stroke-dasharray: ${dt};`).replace(/;\s*;+/g,";");F.setAttribute("style",et)}}}function mon(s,{measure:o}){let f=s.config?.elk?.lineHops;if(f===!1)return;let g=s.edges.filter(p=>Array.isArray(p.points)&&p.points.length>=2).map(p=>({id:p.id,points:p.points,curve:p.curve,arrowTypeStart:p.arrowTypeStart,arrowTypeEnd:p.arrowTypeEnd}));won(o.groups.edgePaths,g,{enabled:!0,jumpRadius:Fwn,jumpStyle:f==="gap"?"gap":"arc"})}function Ton(s){for(let o of Kwn)delete s[o];s["spacing.baseValue"]=xon,s["spacing.nodeNode"]=Con}function Zie(s,o){if(typeof s=="string"){if(!bYe.has(s)){o?.warn(`Unknown container layout algorithm "${s}". Supported values: ${[...bYe].join(", ")}. Falling back to the diagram's layout algorithm.`);return}return s}}function tae(s){switch(s){case"LR":return"RIGHT";case"RL":return"LEFT";case"TB":case"TD":return"DOWN";case"BT":return"UP";default:return"DOWN"}}function Dut(s){return Van(s.shape)?(s.labelData?.width??s.labels?.[0]?.width??0)+(s.padding??0):0}function eae(s){return Van(s.shape)?{"nodeSize.constraints":"[MINIMUM_SIZE, NODE_LABELS]","nodeSize.minimum":`(${Dut(s)}, 0)`}:{}}function Son(s,o,f,g){let p=s.labelData?.width??0,y=s.padding??0,k=p+2*y,T=s.labelData?.height??0,B=rae(o?.preset),v={...eae(s),"spacing.baseValue":xon,"elk.layered.spacing.edgeNodeBetweenLayers":30,"elk.spacing.edgeEdge":20,"spacing.nodeNode":Con,"elk.padding":`[top=${JS},left=${JS},bottom=${JS},right=${JS}]`,"nodeLabels.placement":"[H_CENTER V_TOP, INSIDE]","elk.layered.mergeEdges":o?.mergeEdges,"elk.layered.nodePlacement.bk.fixedAlignment":o?.nodePlacementAlignment??B.alignment,"elk.layered.nodePlacement.strategy":o?.nodePlacementStrategy??B.containerPlacement,"elk.layered.cycleBreaking.strategy":o?.cycleBreakingStrategy??B.cycleBreaking,"elk.layered.nodePlacement.networkSimplex.nodeFlexibility":"PORT_POSITION","elk.spacing.portsSurrounding":kon},M=Zie(s.metadata?.algorithm,g);if(M){let L=T+pK;if(v["nodeSize.constraints"]="[MINIMUM_SIZE, NODE_LABELS]",v["nodeSize.minimum"]=`(${k}, ${L+pK})`,v["elk.algorithm"]=M,v["elk.hierarchyHandling"]="SEPARATE_CHILDREN",v["elk.aspectRatio"]="2.0",v["elk.contentAlignment"]="H_CENTER V_TOP",v["elk.expandNodes"]="true",v["elk.padding"]=`[top=${L},left=${pK},bottom=${pK},right=${pK}]`,M==="elk.rectpacking"){let F=T+wK;Object.assign(v,Jie,{"elk.padding":`[top=${F},left=${wK},bottom=${wK},right=${wK}]`,"nodeSize.minimum":`(${k}, ${F+wK})`})}}else s.dir&&(v["elk.algorithm"]=f,v["elk.direction"]=tae(s.dir),v["elk.hierarchyHandling"]="SEPARATE_CHILDREN");return Object.assign(v,Iwn),v}function Eon(s,o){let f=new Set,g=new Map;for(let{id:p,parentId:y}of s){let k=g.get(y);k?k.push(p):g.set(y,[p])}for(let p of g.values()){let y=new Set(p),k=new Map(p.map(U=>[U,0])),T=new Map(p.map(U=>[U,[]])),B=[];for(let U of o){let V=U.source==null?void 0:String(U.source),nt=U.target==null?void 0:String(U.target);!V||!nt||V===nt||!y.has(V)||!y.has(nt)||(k.set(nt,(k.get(nt)??0)+1),T.get(V).push(nt),T.get(nt).push(V),B.push([V,nt]))}let v=new Map,M=0;for(let U of p){if(v.has(U))continue;let V=[U];for(v.set(U,M);V.length>0;){let nt=V.pop();for(let at of T.get(nt))v.has(at)||(v.set(at,M),V.push(at))}M++}let L=new Array(M).fill(!1);for(let U of p)(k.get(U)??0)===0&&(L[v.get(U)]=!0);if(!L.includes(!1))continue;let F=new Map(p.map(U=>[U,[]])),j=new Map(p.map(U=>[U,0])),$=n((U,V)=>{let nt=new Set([U]),at=[U];for(;at.length>0;){let dt=at.pop();if(dt===V)return!0;for(let et of F.get(dt))nt.has(et)||(nt.add(et),at.push(et))}return!1},"reaches");for(let[U,V]of B)$(V,U)||(F.get(U).push(V),j.set(V,(j.get(V)??0)+1));let z=new Array(M).fill(!1);for(let U of p){let V=v.get(U);!L[V]&&!z[V]&&j.get(U)===0&&(f.add(U),z[V]=!0)}}return f}function Bon(s,o){if(!s.config.elk?.keepEntryNodeOnTop)return;let f=Eon(s.nodes,s.edges.map(g=>({source:g.start,target:g.end})));for(let g of f){let p=o[g];p&&(p.layoutOptions={...p.layoutOptions,"elk.layered.layering.layerConstraint":"FIRST"})}}function Mon(s,o){let f=nae(o);return Fon(f),hsn(s,f),{algorithm:f.algorithm}}async function Aon(s,o){let f=nae(o),g=Lon(s,f),p=new Mwn.default;f.log.info("Drawing flowchart using v4 renderer",p);let y=await Kon(p,g.elkGraph,f.log);return Uon(s,y,g,f.log),Oon(s.nodes),y}function Lon(s,o){let f={},g=Don(s,o.algorithm,o.rootLayoutOptions),p=s.direction??"DOWN";g.layoutOptions["elk.direction"]=tae(p);let y=jon(s.nodes,o.log);return iae(s.nodes,g,f,o),Non(s,g,f,o),qon(s,f,y,o),Hon(g,f,y,o.log),s.config.elk?.orientFeedbackEdges!==!1&&_on(g,y),Bon(s,f),{elkGraph:g,nodeDb:f,parentLookupDb:y}}function _on(s,o){let f=son(s.edges.map(g=>({source:g.sources[0],target:g.targets[0]})),o);s.edges.forEach((g,p)=>{f[p]&&([g.sources,g.targets]=[g.targets,g.sources],g.layoutReversed=!0)})}function Fon(s){mgn(s.getConfig())}function Oon(s){let o=new Map(s.map(f=>[f.id,f]));s.sort((f,g)=>f.isGroup!==g.isGroup?f.isGroup?-1:1:f.isGroup&&g.isGroup?rre(f,o)-rre(g,o):0)}function rre(s,o){let f=0,g=new Set,p=s.parentId;for(;p&&!g.has(p);){g.add(p);let y=o.get(p);if(!y?.isGroup)break;f++,p=y.parentId}return f}function nae(s){let o=s.helpers;if(!o)throw new Error("ELK layout requires Mermaid internal helpers");return{algorithm:s.preparedLayout?.algorithm??s.options?.algorithm,rootLayoutOptions:s.options?.rootLayoutOptions,common:o.common,getConfig:o.getConfig,interpolateToCurve:o.interpolateToCurve,log:o.log}}function rae(s){return s!==void 0&&Object.hasOwn(Kee,s)?Kee[s]:Kee.default}function Don(s,o,f){let g=rae(s.config.elk?.preset),p={id:"root",layoutOptions:{"elk.hierarchyHandling":"INCLUDE_CHILDREN","elk.algorithm":o,"elk.layered.nodePlacement.strategy":s.config.elk?.nodePlacementStrategy??g.placement,"elk.layered.nodePlacement.bk.fixedAlignment":s.config.elk?.nodePlacementAlignment??g.alignment,"elk.layered.mergeEdges":s.config.elk?.mergeEdges,"elk.direction":"DOWN","spacing.baseValue":40,"elk.layered.crossingMinimization.forceNodeModelOrder":s.config.elk?.forceNodeModelOrder,"elk.layered.considerModelOrder.strategy":s.config.elk?.considerModelOrder,"elk.layered.unnecessaryBendpoints":!0,"elk.layered.cycleBreaking.strategy":s.config.elk?.cycleBreakingStrategy??g.cycleBreaking,"elk.layered.layering.strategy":s.config.elk?.layeringStrategy??g.layering,"elk.layered.layering.coffmanGraham.layerBound":s.config.elk?.layeringLayerBound,"elk.layered.wrapping.multiEdge.improveCuts":!0,"elk.layered.wrapping.multiEdge.improveWrappedEdges":!0,"elk.layered.edgeRouting.selfLoopDistribution":"EQUALLY","elk.layered.mergeHierarchyEdges":!0,"elk.spacing.portsSurrounding":kon},children:[],edges:[]};return o==="elk.rectpacking"&&Object.assign(p.layoutOptions,Jie,{"elk.contentAlignment":"H_CENTER V_TOP","elk.padding":"[top=15,left=15,bottom=15,right=15]"}),f&&Object.assign(p.layoutOptions,f),Object.assign(p.layoutOptions,Own,Dwn,jwn),p}function jon(s,o){let f={parentById:{},childrenById:{}},g=s.filter(p=>p.isGroup);return o.info("Subgraphs - ",g),g.forEach(p=>{s.filter(y=>y.parentId===p.id).forEach(y=>{f.parentById[y.id]=p.id,f.childrenById[p.id]??=[],f.childrenById[p.id].push(y.id)})}),f}function iae(s,o,f,g,p){let y=s.filter(k=>k?.parentId===p);return g.log.info("addVertices APA12",y,p),y.forEach(k=>{Ion(o,s,k,f,g)}),o}function Ion(s,o,f,g,p){let y=Pon(f);s.children.push(y),g[f.id]=y,f.isGroup&&(y.children=[],iae(o,y,g,p,f.id),y.labelData=$on(f,p.getConfig()))}function Pon(s){let o={...s};return delete o.domId,s.isGroup?o.children=[]:(o.width=s.width??0,o.height=s.height??0,s.spreadPorts&&(o.layoutOptions={...o.layoutOptions,"elk.portAlignment.default":"CENTER"})),o}function $on(s,o){return s.labelData||(s.labelBBox?{width:s.labelBBox.width,height:Math.max(0,s.labelBBox.height-2),wrappingWidth:s.wrappingWidth??o.flowchart?.wrappingWidth}:{width:0,height:0,wrappingWidth:s.wrappingWidth??o.flowchart?.wrappingWidth})}function Non(s,o,f,g){g.log.info("abc78 DAGA edges = ",s);let p={};return s.edges.forEach(y=>{let k=y.id;p[k]=(p[k]??-1)+1;let T=k;y.id=T,g.log.info("abc78 new link id to be used is",k,T,p[k]);let{source:B,target:v,sourceId:M,targetId:L}=zon(y,f);g.log.debug("abc78 source and target",B,v),o.edges.push({...y,sources:[B],targets:[v],sourceId:M,targetId:L,labels:[{width:y.width??0,height:y.height??0,orgWidth:y.width??0,orgHeight:y.height??0,text:y.label??"",layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}},...(g.rootLayoutOptions?.["elk.algorithm"]??g.algorithm??"elk.layered")==="elk.layered"?Ron(y):[]]})}),o}function Ron(s){let o={startLeft:s.startLabelLeft,startRight:s.startLabelRight,endLeft:s.endLabelLeft,endRight:s.endLabelRight};return Object.entries(s.terminalLabelSizes??{}).map(([f,g])=>{let p=f.startsWith("start"),y=p?s.arrowTypeStart:s.arrowTypeEnd,k=y&&y!=="none"?Wwn:0;return{terminal:f,text:o[f],width:g.width+2*k,height:g.height+2*k,layoutOptions:{"edgeLabels.placement":p?"TAIL":"HEAD"}}})}function zon(s,o){let f=s.start,g=s.end,p=f,y=g,k=f?o[f]:void 0,T=g?o[g]:void 0;return!k||!T?{source:p,target:y}:{source:p,target:y,sourceId:f,targetId:g}}function qon(s,o,f,g){s.nodes.forEach(p=>{let y=o[p.id];!y||f.childrenById[y.id]===void 0||(y.labels=[{text:y.label,width:y?.labelData?.width??50,height:y?.labelData?.height??50}],g.log.debug("UIO node label",y?.labelData?.width,y.padding),y.layoutOptions=Son(y,s.config.elk,g.algorithm,g.log),delete y.x,delete y.y,delete y.width,delete y.height)})}function Hon(s,o,f,g){g.debug("APA01 processing edges, count:",s.edges.length),s.edges.forEach((p,y)=>{g.debug("APA01 processing edge",y,":",p);let k=p.sources[0],T=p.targets[0];if(g.debug("APA01 source:",k,"target:",T),g.debug("APA01 nodeDb[source]:",o[k]),g.debug("APA01 nodeDb[target]:",o[T]),o[k]&&o[T]&&o[k].parentId!==o[T].parentId){let B=Qie(k,T,f);tut(o,k,B,g),tut(o,T,B,g)}})}function tut(s,o,f,g){let p=s[o];p&&(p.layoutOptions??={},p.layoutOptions["elk.hierarchyHandling"]==="SEPARATE_CHILDREN"&&Zie(p.metadata?.algorithm)&&(g.debug("Dropping explicit algorithm for node",p.id,"due to cross-boundary edges"),Ton(p.layoutOptions),Object.assign(p.layoutOptions,eae(p))),p.layoutOptions["elk.hierarchyHandling"]="INCLUDE_CHILDREN",p.id!==f&&p.parentId&&tut(s,p.parentId,f,g))}async function Kon(s,o,f){let g=globalThis.__mermaidProfiler;try{g?.begin("layoutCore");let p;try{p=await s.layout(o)}finally{g?.end()}return f.debug("APA01 after - success"),f.debug("APA01 layout result:",p),p}catch(p){throw f.error("ELK layout error:",p),p}}function Uon(s,o,f,g){let p=new Map(s.nodes.map(y=>[y.id,y]));sae(o.children??[],f,p,0,0,0,g),oae(o.children??[],f,p,o),Jon(s,o,f,g)}function aae(s,o=new Set){for(let f of s.children??[])o.add(f.id),aae(f,o);return o}function Won(s,o,f,g){let p=[];for(let y of s.edges??[]){let k=y.sources?.[0]??y.start,T=y.targets?.[0]??y.end,B=o.has(k)&&o.has(T),v=k===g,M=T===g;if(!B&&!v&&!M)continue;let L=eut(k,T,f.parentLookupDb,f.nodeDb);for(let F of y.sections??[]){let j=B?[F.startPoint,...F.bendPoints??[],F.endPoint]:[v?F.startPoint:null,M?F.endPoint:null];for(let $ of j)$&&p.push({x:$.x+L.x,y:$.y+L.y})}}return p}function oae(s,o,f,g={}){for(let p of s){if(!p?.isGroup)continue;let y=p.children??[];oae(y,o,f,g);let k=o.nodeDb[p.id],T=y.map(et=>o.nodeDb[et.id]).filter(et=>et?.offset&&et.width&&et.height);if(!k?.offset||T.length===0)continue;let B=Won(g,aae(p),o,p.id),v=[...T.map(et=>et.offset.posX),...T.map(et=>et.offset.posX+et.width),...B.map(et=>et.x)],M=[...T.map(et=>et.offset.posY),...T.map(et=>et.offset.posY+et.height),...B.map(et=>et.y)],L=k.offset,F=Math.max(L.posX,Math.min(...v)-JS),j=Math.min(L.posX+k.width,Math.max(...v)+JS),$=Math.min(L.posY+k.height,Math.max(...M)+JS),z=L.posY,U=Dut(p),V=F,nt=j-F;if(nt{if(!T)return;let B=o.nodeDb[T.id]??T,v=Math.max(T.width,T.labels&&T.labels[0]?.width||0),M={posX:T.x+g,posY:T.y+p,x:g,y:p,depth:y,width:v,height:T.height};B.offset=M,B.x=M.posX+T.width/2,B.y=M.posY+T.height/2,B.width=T.width,B.height=T.height;let L=f.get(T.id);if(L){L.x=B.x,L.y=B.y,L.width=T.isGroup?Math.max(T.width,T.labelData?.width??0):T.width,L.height=T.height;let F=L;F.labelData=T.labelData,F.labels=T.labels}T.isGroup?(k.debug("Id abc88 subgraph = ",T.id,T.x,T.y,T.labelData),sae(T.children??[],o,f,M.posX,M.posY,y+1,k)):k.info("Id NODE = ",T.id,T.x,T.y,g,p,`translate(${B.x}, ${B.y})`)})}function FK(s,o){let f=Math.abs(o.x-s.x),g=Math.abs(o.y-s.y);if(f>_K&&g<=_K)return"h";if(g>_K&&f<=_K)return"v"}function Gon(s){let o=[],f=s,g=ire(f);g&&(f=g.points,o.push(g.run));let p=[...f].reverse(),y=ire(p);return y&&(f=y.points.reverse(),o.push(y.run)),{points:f,runs:o}}function ire(s){if(s.length<5)return null;let[o,f,g,p]=s,y=FK(o,f);if(!y||FK(g,p)!==y||FK(f,g)!==(y==="h"?"v":"h")||Math.hypot(f.x-o.x,f.y-o.y)>Vwn)return null;let k=Math.abs(y==="h"?g.y-f.y:g.x-f.x);if(k<_K||k>Gwn||!(y==="h"?Math.sign(f.x-o.x)===Math.sign(p.x-g.x):Math.sign(f.y-o.y)===Math.sign(p.y-g.y)))return null;let T=3;for(;T+1(M.x-v.x)*(L.y-v.y)-(M.y-v.y)*(L.x-v.x),"side"),y=p(f,g,s),k=p(f,g,o),T=p(s,o,f),B=p(s,o,g);return(y>0&&k<0||y<0&&k>0)&&(T>0&&B<0||T<0&&B>0)}function are(s,o){let f=0;for(let g=0;gg.points??[]),f=[];for(let[g,p]of s.entries()){let y=o[g];if(y.length<5)continue;let{points:k,runs:T}=Gon(y);if(k===y)continue;let B=0,v=0;for(let[M,L]of o.entries())M===g||L.length<2||(B+=are(y,L),v+=are(k,L));v>B||(p.points=k,o[g]=k,f.push({edge:p,runs:T}))}return f}function Jon(s,o,f,g){let p=new Map(s.edges.map(v=>[v.id,v])),y=s.config.elk?.straightenEdges!==!1,k=new Map;for(let v of s.edges)delete v.terminalLabelCenters;let T=new Map(s.nodes.map(v=>[v.id,v])),B=new Set;if(o.edges?.forEach(v=>{if(!v.sections?.length)return;let M=f.nodeDb[v.sources?.[0]??v.start],L=f.nodeDb[v.targets?.[0]??v.end];if(!M||!L)return;let F=v.start??v.sourceId??v.sources?.[0],j=v.end??v.targetId??v.targets?.[0],$=eut(F,j,f.parentLookupDb,f.nodeDb),z=v.sections[0];M.shape!=="rect33"&&cre(M,{x:z.startPoint.x+$.x,y:z.startPoint.y+$.y},T,B),L.shape!=="rect33"&&cre(L,{x:z.endPoint.x+$.x,y:z.endPoint.y+$.y},T,B)}),o.edges?.forEach(v=>{let M=p.get(v.id);if(!M)return;let L=v.layoutReversed===!0,F=v.sources?.[0]??v.start,j=v.targets?.[0]??v.end;L&&([F,j]=[j,F]);let $=f.nodeDb[F],z=f.nodeDb[j];if(!$||!z)return;if(!v.sections?.length){let se=n(ge=>({x:(ge.offset?.posX??ge.x??0)+(ge.width??0)/2,y:(ge.offset?.posY??ge.y??0)+(ge.height??0)/2}),"centre"),Ge=se($),Ue=se(z);$.x=Ge.x,$.y=Ge.y,z.x=Ue.x,z.y=Ue.y;let me=lre([Ge,Ue],$,z,g);M.points=me,M.curve="linear";let fn=me[0],Ce=me[me.length-1];M.x=(fn.x+Ce.x)/2,M.y=(fn.y+Ce.y)/2,g.debug("APA18 no edge sections, using a straight line",v.id,M.points);return}let U=v.start??v.sourceId??F,V=v.end??v.targetId??j,nt=eut(U,V,f.parentLookupDb,f.nodeDb);g.debug("APA18 offset",nt,U," ==> ",V,"edge:",v,$);let at=v.sections[0],dt=rsn(at,nt);L&&dt.reverse();let et={start:dt[0],end:dt[dt.length-1]};$.x=$.offset.posX+$.width/2,$.y=$.offset.posY+$.height/2,z.x=z.offset.posX+z.width/2,z.y=z.offset.posY+z.height/2,$.shape!=="rect33"&&dt.unshift({x:$.x,y:$.y}),z.shape!=="rect33"&&dt.push({x:z.x,y:z.y});let Ft=lre(dt,$,z,g);M.points=csn(lsn(Ft,n9(z),osn(M),g),n9($),ssn(M),g),M.curve="rounded";let Nt=v.labels?.[0];Nt&&(M.x=Nt.x+nt.x+Nt.width/2,M.y=Nt.y+nt.y+Nt.height/2);for(let se of v.labels??[])!se.terminal||!se.x&&!se.y||(M.terminalLabelCenters??={},M.terminalLabelCenters[se.terminal]={x:se.x+nt.x+se.width/2,y:se.y+nt.y+se.height/2});M.terminalLabelCenters&&k.set(M,et)}),y){let v=Qon(s.edges);for(let{edge:M,runs:L}of v){if(M.x==null||M.y==null)continue;let F=Yon({x:M.x,y:M.y},L);F&&(M.x=F.x,M.y=F.y)}}for(let[v,M]of k)nsn(v,M);tsn(s.edges,s.nodes),esn(s.edges,s.nodes),Zon(s.edges)}function Zon(s){let o=new Map;for(let f of s){if(f.x==null||f.y==null||!f.label||!f.width)continue;let g=[f.start??"",f.end??""].sort().join("\0"),p=o.get(g);p?p.push(f):o.set(g,[f])}for(let f of o.values()){if(f.length!==2)continue;let[g,p]=f;if(Math.abs(g.y-p.y)>Math.max(g.height??0,p.height??0))continue;let y=g.width/2+p.width/2+Xwn,k=p.x-g.x,T=y-Math.abs(k);if(T<=0)continue;let B=Math.sign(k)||1;g.x=g.x-B*T/2,p.x=p.x+B*T/2}}function sre(s,o,f){let g=0,p=1,y=o.x-s.x,k=o.y-s.y;for(let[T,B]of[[-y,s.x-f.x1],[y,f.x2-s.x],[-k,s.y-f.y1],[k,f.y2-s.y]])if(T===0){if(B<0)return!1}else T<0?g=Math.max(g,B/T):p=Math.min(p,B/T);return gB.x!==void 0&&B.y!==void 0),g=n(B=>BO({x:B.x,y:B.y},{width:B.width??0,height:B.height??0}),"boxOf"),p=f.filter(B=>!B.isGroup).map(g),y=f.filter(B=>B.isGroup).map(g).flatMap(({x1:B,y1:v,x2:M,y2:L})=>[[{x:B,y:v},{x:M,y:v}],[{x:M,y:v},{x:M,y:L}],[{x:M,y:L},{x:B,y:L}],[{x:B,y:L},{x:B,y:v}]]),k=s.filter(B=>B.label&&B.width&&B.height&&B.x!==void 0).map(B=>BO({x:B.x,y:B.y},{width:B.width,height:B.height})),T=n((B,v=0)=>{let M={x1:B.x1-v,y1:B.y1-v,x2:B.x2+v,y2:B.y2+v};return y.some(([L,F])=>sre(L,F,M))},"hitsFrame");return{hitsFrame:T,blocked:n((B,v,M,L,F=0)=>p.some(j=>Uee(B,j))||k.some(j=>Uee(B,j))||T(B,F)||s.some(j=>(j.points??[]).some(($,z,U)=>zObject.entries(j.terminalLabelCenters??{}).some(([$,z])=>{let U=j.terminalLabelSizes?.[$];return!(j===v&&$===M)&&U!==void 0&&Uee(B,BO(z,U))})),"blocked")}}function*lae(s){for(let o of s){let f=o.points;if(!(!f||f.length<2||!o.terminalLabelCenters||!o.terminalLabelSizes))for(let[g,p]of Object.entries(o.terminalLabelCenters)){let y=o.terminalLabelSizes[g],k=g.startsWith("start"),T=k?0:f.length-2,[B,v]=[f[T],f[T+1]],M=Math.hypot(v.x-B.x,v.y-B.y);!y||M===0||(yield{edge:o,key:g,center:p,size:y,atStart:k,segment:T,from:B,to:v,length:M})}}}function tsn(s,o){let{hitsFrame:f,blocked:g}=cae(s,o);for(let{edge:p,key:y,center:k,size:T,atStart:B,segment:v,from:M,to:L,length:F}of lae(s)){if(!f(BO(k,T)))continue;let[j,$]=B?[L,M]:[M,L],z={x:($.x-j.x)/F,y:($.y-j.y)/F},U=(Math.abs(z.x)*T.width+Math.abs(z.y)*T.height)/2,V=n(at=>(at.x-$.x)*z.x+(at.y-$.y)*z.y,"along"),nt=n(at=>V(at)+U<=0&&V(at)-U>=-F,"onSegment");for(let at=1;at<=F;at++){let dt=[at,-at].map(et=>({x:k.x+et*z.x,y:k.y+et*z.y})).find(et=>nt(et)&&!g(BO(et,T),p,y,v,Ywn));if(dt){p.terminalLabelCenters[y]=dt;break}}}}function esn(s,o){let{blocked:f}=cae(s,o);for(let{edge:g,key:p,center:y,size:k,segment:T,from:B,to:v,length:M}of lae(s)){let L={x:-(v.y-B.y)/M,y:(v.x-B.x)/M},F=(y.x-B.x)*L.x+(y.y-B.y)*L.y;if(F===0||F>0===p.endsWith("Right"))continue;let j={x:y.x-2*F*L.x,y:y.y-2*F*L.y};f(BO(j,k),g,p,T)||(g.terminalLabelCenters[p]=j)}}function nsn(s,o){let f=s.points;if(!f?.length||!s.terminalLabelCenters)return;let g={start:{x:f[0].x-o.start.x,y:f[0].y-o.start.y},end:{x:f[f.length-1].x-o.end.x,y:f[f.length-1].y-o.end.y}};for(let[p,y]of Object.entries(s.terminalLabelCenters)){let k=p.startsWith("start")?g.start:g.end;s.terminalLabelCenters[p]={x:y.x+k.x,y:y.y+k.y}}}function cre(s,o,f,g){let p=s.width??0,y=s.height??0,k=s.offset.posY,T=k+y,B=.5,v=Math.abs(o.y-k)<=B||Math.abs(o.y-T)<=B;if((v?p:y)>=2*LK||g.has(s.id))return;g.add(s.id);let M=v?o.x-(s.offset.posX+p/2):o.y-(s.offset.posY+y/2);if(Math.abs(M)<.01)return;v?(s.offset.posX+=M,s.x=s.offset.posX+p/2):(s.offset.posY+=M,s.y=s.offset.posY+y/2);let L=f.get(s.id);L&&(L.x=s.offset.posX+p/2,L.y=s.offset.posY+y/2)}function rsn(s,o){let f=s.startPoint,g=s.endPoint,p=(s.bendPoints?s.bendPoints:[]).map(y=>({x:y.x+o.x,y:y.y+o.y}));return[{x:f.x+o.x,y:f.y+o.y},...p,{x:g.x+o.x,y:g.y+o.y}]}function eut(s,o,f,g){let p=Qie(s,o,f);if(p===void 0||p==="root")return{x:0,y:0};let y=g[p],k=y?.elkOrigin??y?.offset;return{x:k?.posX??0,y:k?.posY??0}}function lre(s,o,f,g){let p=Array.isArray(s)?[...s]:[],y=n9(f);g.debug("PPP cutter2: Points before cutter2:",JSON.stringify(s),"endBounds:",y,RK(y,s[s.length-1]));let k;{let T=n9(o),B=n9(f),v=!!o?.isGroup,M=!!f?.isGroup,{candidate:L,centerApprox:F}=dre(p,o,"start"),{candidate:j,centerApprox:$}=dre(p,f,"end"),z=v&&RK(T,L),U=M&&RK(B,j);fre(p,"start",z&&F),fre(p,"end",U&&$),v&&!z&&(z=bre(p,T,"start")),M&&!U&&(U=bre(p,B,"end")),z||U?(z||psn(p,o,T,g),U||wsn(p,f,B,g),g.debug("PPP cutter2: skipping cutter2 due to on-border group endpoint(s)",{skipStart:z,skipEnd:U,startCenterApprox:F,endCenterApprox:$,startCandidate:L,endCandidate:j}),k=p):k=msn(o,f,p,g)}if(g.debug("PPP cutter2: Points after cutter2:",JSON.stringify(k)),!Array.isArray(k)||k.length<2||isn(k)){g.warn("POI cutter2: Invalid points from cutter2, falling back to prevPoints",k);let T=p.filter(B=>Number.isFinite(B?.x)&&Number.isFinite(B?.y));k=T.length>=2?T:p}return g.debug("UIO cutter2: Points after cutter2 (sanitized):",k),asn(k,g)}function isn(s){return s?.some(o=>!Number.isFinite(o?.x)||!Number.isFinite(o?.y))}function asn(s,o){let f=s.filter((g,p,y)=>{if(p===0)return!0;let k=y[p-1];return Math.abs(g.x-k.x)>1e-6||Math.abs(g.y-k.y)>1e-6});return f.length!==s.length&&o.debug("UIO cutter2: removed consecutive duplicate points",{before:s,after:f}),f}function osn(s){return von(s.arrowTypeEnd)}function ssn(s){return von(s.arrowTypeStart)}function csn(s,o,f,g){if(f<=0||s.length<3)return s;let p=s[0],y=s[1],k=Math.hypot(y.x-p.x,y.y-p.y);if(k>=Math.max(yon,f*2)||!RK(o,y,1))return s;let T=[p,...s.slice(2)];return g.debug("UIO cutter2: removed short start marker segment",{before:s,after:T,markerOffset:f,segmentLength:k}),T}function lsn(s,o,f,g){if(f<=0||s.length<3)return s;let p=s[s.length-1],y=s[s.length-2],k=Math.hypot(p.x-y.x,p.y-y.y);if(k>=Math.max(yon,f*2)||!RK(o,y,1))return s;let T=[...s.slice(0,-2),p];return g.debug("UIO cutter2: removed short end marker segment",{before:s,after:T,markerOffset:f,segmentLength:k}),T}function hsn(s,o){let f=s.edges.defaultInterpolate,g=s.edges.defaultStyle,p=o.getConfig();s.edges.forEach(y=>{let k=bsn(y,{defaultStyle:g,defaultInterpolate:f,confCurve:p.curve},o);Object.assign(y,k)})}function usn(s){if(s.classes!==void 0)return s.classes;if(s.start&&s.end)return`flowchart-link LS_${s.start} LE_${s.end}`}function dsn(s,o,f){let g="normal",p="solid",y=[],k=[];return s==="dotted"?(p="dotted",y=["fill:none","stroke-width:2px","stroke-dasharray:3"]):s==="thick"?(g="thick",y=["stroke-width: 3.5px","fill:none"]):(y=o??["fill:none"],f!==void 0&&(k=f)),{thickness:g,pattern:p,style:y,labelStyle:k}}function fsn(s,o,f){return s!==void 0?s:o!==void 0?o:f}function bsn(s,o,f){let g={};g.minlen=s.minlen??s.length??1,g.text=s.text??s.label,g.arrowhead=s.arrowhead??(s.type==="arrow_open"?"none":"normal");let p=fYe[s.type??"arrow_open"]??fYe.arrow_open;g.arrowTypeStart=s.arrowTypeStart??p[0],g.arrowTypeEnd=s.arrowTypeEnd??p[1],g.startLabelRight=s.startLabelRight,g.endLabelLeft=s.endLabelLeft;let y=dsn(s.stroke,o.defaultStyle,o.defaultLabelStyle);g.thickness=s.thickness??y.thickness,g.pattern=s.pattern??y.pattern,g.style=s.style??y.style,g.labelStyle=s.labelStyle??y.labelStyle,g.classes=usn(s),g.curve=f.interpolateToCurve(fsn(s.curve??s.interpolate,o.defaultInterpolate,o.confCurve),ZS);let k=(g.text??"")!=="";return s.arrowheadStyle!==void 0?g.arrowheadStyle=s.arrowheadStyle:(k||s.style!==void 0)&&(g.arrowheadStyle="fill: #333"),g.labelpos=s.labelpos??(k?"c":void 0),g.labelType=s.labelType,g.label=(s.label??g.text??"").replace(f.common.lineBreakRegex,` +`),g}function gsn(s){return Math.max(s.width??0,Dut(s))}function n9(s){let o=s?.isGroup?gsn(s):s.width;return{x:s.offset.posX+s.width/2,y:s.offset.posY+s.height/2,width:o??0,height:s.height??0,padding:s.padding}}function hre(s,o,f=1e-6){return Math.abs(s-o)1?s[1]:g,centerApprox:p}}else{let g=s[s.length-1],p=ure(g,o);return{candidate:p&&s.length>1?s[s.length-2]:g,centerApprox:p}}}function fre(s,o,f){f&&(o==="start"?s.length>0&&s.shift():s.length>0&&s.pop())}function bre(s,o,f){let g=f==="start"?1:-1,p=f==="start"?0:s.length-1,y=p;for(;p>=0&&p=s.length)return!1;let k=s[p],T=s[p-g],B=k.x-T.x,v=k.y-T.y,M=B===0?1/0:(o.x+Math.sign(B)*o.width/2-T.x)/B,L=v===0?1/0:(o.y+Math.sign(v)*o.height/2-T.y)/v,F=Math.min(M,L),j={x:T.x+F*B,y:T.y+F*v};return f==="start"?s.splice(0,p,j):s.splice(p+1,s.length-p-1,j),!0}function psn(s,o,f,g){let p=-1;for(let[y,k]of s.entries())if(oU(f,k)){p=y;break}if(p!==-1){let y=s[p],k=s[0],T=Jht(o,f,y,k);Zht(s,"start",T),g.debug("UIO cutter2: start-only intersection applied",{startIntersection:T})}}function wsn(s,o,f,g){let p=-1;for(let y=s.length-1;y>=0;y--)if(oU(f,s[y])){p=y;break}if(p!==-1){let y=s[p],k=s[s.length-1],T=Jht(o,f,y,k);Zht(s,"end",T),g.debug("UIO cutter2: end-only intersection applied",{endIntersection:T})}}function gre(s,o,f,g,p){if(s?.isGroup)return null;let y=f[g],k=f[g+p];return!y||!k?null:Hwn(s,o,y,k)}function msn(s,o,f,g){let p=n9(s),y=n9(o);if(f.length===0)return[];let k=[...f],T=k[0],B=k[k.length-1];g.debug("PPP cutter2: bounds",{startBounds:p,endBounds:y}),g.debug("PPP cutter2: original points",f);let v=-1;for(let[F,j]of k.entries())v===-1&&oU(p,j)&&(v=F);if(v!==-1){let F=k[v],j=gre(s,p,k,v,1)??Jht(s,p,F,T);g.debug("UIO cutter2: start intersection",j),Zht(k,"start",j)}let M=null,L=-1;for(let F=k.length-1;F>=0;F--)if(oU(y,k[F])){M=k[F],L=F;break}if(!M&&k.length>1&&(M=k[k.length-2],L=k.length-2),M){let F=gre(o,y,k,L,-1)??Jht(o,y,M,B);g.debug("UIO cutter2: end intersection",{endIntersection:F,outsideIndexForEnd:L}),Zht(k,"end",F)}if(k.length>1){let F=k[k.length-1],j=k[k.length-2],$=Math.sqrt((F.x-j.x)**2+(F.y-j.y)**2);$<2&&(g.debug("UIO cutter2: trimming tail point (too close)",{distance:$,lastPoint:F,secondLastPoint:j}),k.pop())}return g.debug("UIO cutter2: final points",k),k}var Uln,Wln,Gln,Vln,rKn,Wee,t5,iKn,qr,uht,Xln,Yln,Qln,Jln,Zln,thn,ga,Yk,pd,ehn,nhn,rhn,ihn,ahn,nut,gYe,OK,dht,Jlt,fht,FVe,pYe,Zlt,ohn,r5,shn,wYe,chn,t9,lhn,hhn,uhn,dhn,fhn,Fb,bhn,mYe,ghn,$e,phn,Re,whn,ut,mhn,yhn,vhn,fe,o5,s5,Zi,OVe,Km,khn,xhn,Chn,Thn,Shn,Ehn,Bhn,Mhn,Ahn,Lhn,_hn,Fhn,Ohn,Dhn,jhn,Ihn,Phn,$hn,Nhn,Rhn,zhn,qhn,Aht,nu,yYe,vYe,Hhn,kYe,Khn,Uhn,Gee,Whn,pre,Ghn,Vhn,Xhn,Yhn,d6,Qhn,Jhn,Zhn,tun,DK,Cee,eun,nun,run,B0,xYe,iun,DVe,CYe,aun,M0,oun,sun,cun,Xee,jVe,lun,hun,eJe,cU,qK,Lht,TO,HK,n5,uun,dun,fun,bun,gun,pun,wun,IVe,hJe,PVe,aKn,oKn,rne,Tee,$Ve,ine,tht,mun,yun,AO,vK,lK,yJe,_ht,kK,Fht,nE,out,WK,vJe,vun,kun,SJe,NVe,sne,ght,RVe,cne,pht,xun,Cun,n6,Tun,sKn,cKn,lKn,hKn,uKn,dKn,hne,une,WS,Sun,qre,zVe,OZe,fKn,bKn,gKn,NZe,Eun,qZe,Bun,Mun,HZe,Aun,Lun,_un,QZe,qVe,Fun,Oun,Dun,E0,A0,pO,JZe,wne,mne,dO,jun,HVe,fO,Iun,Jk,xK,See,KVe,hK,UVe,Pun,$un,Nun,WVe,GVe,P1,uK,I1,qS,VVe,Eee,Bee,Run,Mee,zun,XVe,YVe,Aee,QVe,eht,qun,Hun,Kun,Uun,Wun,JVe,Gun,Vun,Xun,Yun,ZVe,tXe,Qun,Jun,gp,Zun,t1n,eXe,Xk,QK,dU,e1n,n1n,r1n,itn,nXe,Hm,i1n,a1n,o1n,s1n,atn,c1n,l1n,h1n,rXe,yne,u1n,d1n,iXe,mht,JK,f1n,b1n,gut,yht,jht,g1n,vht,p1n,w1n,m1n,y1n,v1n,k1n,ltn,htn,utn,dtn,x1n,C1n,T1n,S1n,E1n,B1n,ftn,M1n,A1n,L1n,_1n,F1n,O1n,D1n,j1n,I1n,P1n,$1n,N1n,R1n,z1n,xtn,q1n,H1n,aXe,uie,K1n,oXe,U1n,W1n,G1n,V1n,X1n,Y1n,die,Q1n,nht,J1n,Z1n,yut,$ht,rE,fU,t0n,Otn,e0n,n0n,f6,r0n,a5,Dtn,i0n,a0n,dK,o0n,s0n,c0n,l0n,h0n,u0n,sXe,FO,iE,d0n,fie,ztn,f0n,Db,b0n,cXe,lXe,g0n,gie,vut,p0n,w0n,m0n,y0n,Nht,v0n,Lee,hXe,k0n,x0n,C0n,sE,T0n,S0n,E0n,B0n,M0n,A0n,L0n,_0n,F0n,cE,O0n,xne,D0n,j0n,I0n,P0n,$0n,N0n,CK,R0n,uXe,z0n,q0n,H0n,K0n,U0n,W0n,G0n,V0n,X0n,Y0n,Q0n,J0n,sen,len,dXe,Z0n,tdn,edn,pie,kut,ndn,gen,rdn,idn,fXe,men,adn,odn,sdn,xut,cdn,ven,bXe,ldn,gXe,hdn,udn,Rht,ddn,fdn,bdn,gdn,pdn,wdn,mdn,ydn,vdn,kdn,xdn,Cdn,Tdn,Sdn,Edn,Bdn,Mdn,Adn,Ldn,_dn,Fdn,Odn,Ddn,jdn,il,Idn,Pdn,Cen,IK,$dn,_ee,Ndn,pXe,wXe,Rdn,wie,zdn,qdn,Hdn,Kdn,Udn,Wdn,Gdn,Vdn,Ben,Z4,Xdn,Ydn,mie,Qdn,ZK,Jdn,Zdn,tfn,efn,nfn,rfn,ifn,afn,ofn,sfn,cfn,mXe,lfn,Cut,hfn,ufn,dfn,ffn,bfn,gfn,Tut,pfn,tU,wfn,mfn,Sut,yfn,vfn,kfn,xfn,Eut,Cfn,Tfn,Sfn,Efn,Bfn,Mfn,Afn,Lfn,_fn,Qen,Ffn,Mut,tnn,Ofn,rnn,yXe,Dfn,jfn,Ifn,Pfn,$fn,Nfn,Rfn,zfn,qfn,Cht,dnn,Hfn,Kfn,Ufn,vXe,Wfn,Gfn,Vfn,kXe,Xfn,Cne,Yfn,Tne,Qfn,SO,xXe,Jfn,CXe,TXe,SXe,EXe,Zfn,tbn,ebn,nbn,rbn,VS,Sne,ibn,BXe,abn,obn,sbn,mnn,cbn,knn,lbn,hbn,Cnn,ubn,vie,dbn,fbn,bbn,gbn,pbn,wbn,mbn,ybn,vbn,kbn,xbn,Cbn,Tbn,MXe,Fee,Sbn,Ebn,Bbn,Mbn,Abn,Lbn,AXe,LXe,rht,_bn,_Xe,Fbn,Ann,Obn,Dbn,jbn,Fnn,Ibn,jnn,Pbn,$bn,Nbn,Rbn,zbn,qbn,Hbn,Kbn,Ubn,Wbn,Unn,Gbn,Vbn,Xbn,Ybn,Qbn,Jbn,xie,Zbn,tgn,egn,HS,ngn,iht,rgn,Oee,ign,agn,ogn,sgn,FXe,wO,cgn,lgn,hgn,ugn,dgn,fgn,bgn,ggn,pgn,wgn,KS,OXe,Cie,Da,mgn,lrn,fE,PK,yf,ygn,vgn,kgn,bU,xgn,Sie,hrn,urn,Cgn,Eie,Tgn,Bie,Sgn,Egn,Lut,Mie,Bgn,drn,Mgn,Aie,DXe,Agn,Lgn,_gn,Fgn,frn,Ogn,_ut,Lie,brn,Dgn,grn,jgn,Ign,Pgn,prn,$gn,Ngn,wrn,Rgn,zgn,qgn,Hgn,Kgn,Ugn,Wgn,zht,Ggn,mrn,yrn,Vgn,_ie,Xgn,Mne,Ygn,aht,fK,Qgn,jXe,qht,o6,Hht,Fie,s6,TK,Jgn,aE,pKn,wKn,mKn,yKn,vKn,kKn,xKn,Zgn,Mrn,CKn,TKn,SKn,EKn,tpn,epn,oE,npn,Kht,Arn,rpn,ipn,apn,opn,Dee,spn,cpn,lpn,hpn,upn,dpn,fpn,IXe,bpn,Nrn,Rrn,OO,PXe,wp,bK,s1,Rne,Ol,gpn,Iie,ppn,wpn,mpn,ypn,vpn,Lb,kpn,xpn,jee,$Xe,oht,Cpn,pp,Xht,Tpn,sht,Spn,br,Epn,c6,Bpn,Mpn,Apn,NXe,Lpn,_pn,i9,Fpn,tin,vr,dr,Opn,Dpn,Out,_b,jpn,ein,gK,nin,Ipn,Ppn,$pn,Npn,RXe,zXe,Rpn,zpn,qpn,Hpn,Kpn,qXe,Upn,Wpn,HXe,ni,tE,Cr,Zr,Gpn,cin,Vpn,Xpn,Ypn,Qpn,b6,ar,mp,Jpn,pin,Zpn,t2n,J2,Iee,Pee,e2n,n2n,r2n,Uie,i2n,a2n,KXe,o2n,cht,s2n,c2n,l2n,UXe,WXe,GXe,VXe,h2n,u2n,d2n,f2n,XXe,YXe,b2n,$ee,QXe,JXe,g2n,p2n,ZXe,tYe,Nee,w2n,eYe,Gie,m2n,y2n,v2n,k2n,x2n,bO,nYe,rYe,C2n,iYe,Ree,aYe,T2n,zee,S2n,E2n,US,Jne,B2n,gO,qee,M2n,A2n,L2n,oYe,sYe,cYe,lYe,Ah,hYe,_2n,F2n,O2n,D2n,j2n,Xie,I2n,uYe,P2n,Gan,$2n,N2n,R2n,z2n,q2n,H2n,K2n,U2n,W2n,G2n,V2n,Van,Xan,X2n,Y2n,Q2n,J2n,Z2n,twn,ewn,nwn,rwn,iwn,awn,own,swn,cwn,lwn,hwn,uwn,dwn,fwn,bwn,gwn,pwn,wwn,mwn,ywn,vwn,kwn,xwn,Cwn,Twn,Swn,Ewn,Bwn,Mwn,Qie,Awn,Yht,lht,Lwn,_wn,hht,Fwn,Own,Dwn,jwn,Iwn,RK,Pwn,oU,$wn,Nwn,Rwn,zwn,qwn,dYe,Hee,Hwn,Jht,Zht,yon,von,fYe,LK,kon,JS,xon,Con,pK,wK,Jie,Kwn,bYe,Uwn,Kee,Wwn,Gwn,Vwn,_K,Xwn,Uee,BO,Ywn,vsn=ylt(()=>{YH();Uln=XH((s,o)=>{"use strict";(function(f,g){typeof s=="object"&&typeof o<"u"?o.exports=g():typeof define=="function"&&define.amd?define(g):(f=typeof globalThis<"u"?globalThis:f||self).dayjs=g()})(s,(function(){"use strict";var f=1e3,g=6e4,p=36e5,y="millisecond",k="second",T="minute",B="hour",v="day",M="week",L="month",F="quarter",j="year",$="date",z="Invalid Date",U=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,V=/\[([^\]]+)]|YYYY|YY|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,nt={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:n(function(ge){var be=["th","st","nd","rd"],le=ge%100;return"["+ge+(be[(le-20)%10]||be[le]||be[0])+"]"},"ordinal")},at=n(function(ge,be,le){var Oe=String(ge);return!Oe||Oe.length>=be?ge:""+Array(be+1-Oe.length).join(le)+ge},"m"),dt={s:at,z:n(function(ge){var be=-ge.utcOffset(),le=Math.abs(be),Oe=Math.floor(le/60),ke=le%60;return(be<=0?"+":"-")+at(Oe,2,"0")+":"+at(ke,2,"0")},"z"),m:n(function ge(be,le){if(be.date()1)return ge(tt[0])}else{var sr=be.name;Ft[sr]=be,ke=sr}return!Oe&&ke&&(et=ke),ke||!Oe&&et},"t"),Ue=n(function(ge,be){if(se(ge))return ge.clone();var le=typeof be=="object"?be:{};return le.date=ge,le.args=arguments,new fn(le)},"O"),me=dt;me.l=Ge,me.i=se,me.w=function(ge,be){return Ue(ge,{locale:be.$L,utc:be.$u,x:be.$x,$offset:be.$offset})};var fn=(function(){function ge(le){this.$L=Ge(le.locale,null,!0),this.parse(le),this.$x=this.$x||le.x||{},this[Nt]=!0}n(ge,"M");var be=ge.prototype;return be.parse=function(le){this.$d=(function(Oe){var ke=Oe.date,nn=Oe.utc;if(ke===null)return new Date(NaN);if(me.u(ke))return new Date;if(ke instanceof Date)return new Date(ke);if(typeof ke=="string"&&!/Z$/i.test(ke)){var tt=ke.match(U);if(tt){var sr=tt[2]-1||0,Xr=(tt[7]||"0").substring(0,3);return nn?new Date(Date.UTC(tt[1],sr,tt[3]||1,tt[4]||0,tt[5]||0,tt[6]||0,Xr)):new Date(tt[1],sr,tt[3]||1,tt[4]||0,tt[5]||0,tt[6]||0,Xr)}}return new Date(ke)})(le),this.init()},be.init=function(){var le=this.$d;this.$y=le.getFullYear(),this.$M=le.getMonth(),this.$D=le.getDate(),this.$W=le.getDay(),this.$H=le.getHours(),this.$m=le.getMinutes(),this.$s=le.getSeconds(),this.$ms=le.getMilliseconds()},be.$utils=function(){return me},be.isValid=function(){return this.$d.toString()!==z},be.isSame=function(le,Oe){var ke=Ue(le);return this.startOf(Oe)<=ke&&ke<=this.endOf(Oe)},be.isAfter=function(le,Oe){return Ue(le){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.BLANK_URL=s.relativeFirstCharacters=s.whitespaceEscapeCharsRegex=s.urlSchemeRegex=s.ctrlCharactersRegex=s.htmlCtrlEntityRegex=s.htmlEntitiesRegex=s.invalidProtocolRegex=void 0,s.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,s.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,s.htmlCtrlEntityRegex=/&(newline|tab);/gi,s.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,s.urlSchemeRegex=/^.+(:|:)/gim,s.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,s.relativeFirstCharacters=[".","/"],s.BLANK_URL="about:blank"}),Gln=XH(s=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.sanitizeUrl=k;var o=Wln();function f(T){return o.relativeFirstCharacters.indexOf(T[0])>-1}n(f,"isRelativeUrlWithoutProtocol");function g(T){var B=T.replace(o.ctrlCharactersRegex,"");return B.replace(o.htmlEntitiesRegex,function(v,M){return String.fromCharCode(M)})}n(g,"decodeHtmlCharacters");function p(T){return URL.canParse(T)}n(p,"isValidUrl");function y(T){try{return decodeURIComponent(T)}catch{return T}}n(y,"decodeURI");function k(T){if(!T)return o.BLANK_URL;var B,v=y(T.trim());do v=g(v).replace(o.htmlCtrlEntityRegex,"").replace(o.ctrlCharactersRegex,"").replace(o.whitespaceEscapeCharsRegex,"").trim(),v=y(v),B=v.match(o.ctrlCharactersRegex)||v.match(o.htmlEntitiesRegex)||v.match(o.htmlCtrlEntityRegex)||v.match(o.whitespaceEscapeCharsRegex);while(B&&B.length>0);var M=v;if(!M)return o.BLANK_URL;if(f(M))return M;var L=M.trimStart(),F=L.match(o.urlSchemeRegex);if(!F)return M;var j=F[0].toLowerCase().trim();if(o.invalidProtocolRegex.test(j))return o.BLANK_URL;var $=L.replace(/\\/g,"/");if(j==="mailto:"||j.includes("://"))return $;if(j==="http:"||j==="https:"){if(!p($))return o.BLANK_URL;var z=new URL($);return z.protocol=z.protocol.toLowerCase(),z.hostname=z.hostname.toLowerCase(),z.toString()}return $}n(k,"sanitizeUrl")}),Vln=XH((s,o)=>{"use strict";(function(f){if(typeof s=="object"&&typeof o<"u")o.exports=f();else if(typeof define=="function"&&define.amd)define([],f);else{var g;typeof window<"u"?g=window:typeof global<"u"?g=global:typeof self<"u"?g=self:g=this,g.ELK=f()}})(function(){var f,g,p;return(function(){function y(k,T,B){function v(F,j){if(!T[F]){if(!k[F]){var $=typeof VH=="function"&&VH;if(!j&&$)return $(F,!0);if(M)return M(F,!0);var z=new Error("Cannot find module '"+F+"'");throw z.code="MODULE_NOT_FOUND",z}var U=T[F]={exports:{}};k[F][0].call(U.exports,function(V){var nt=k[F][1][V];return v(nt||V)},U,U.exports,y,k,T,B)}return T[F].exports}n(v,"o");for(var M=typeof VH=="function"&&VH,L=0;L0&&arguments[0]!==void 0?arguments[0]:{},z=$.defaultLayoutOptions,U=z===void 0?{}:z,V=$.algorithms,nt=V===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:V,at=$.workerFactory,dt=$.workerUrl;if(v(this,F),this.defaultLayoutOptions=U,this.initialized=!1,typeof dt>"u"&&typeof at>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var et=at;typeof dt<"u"&&typeof at>"u"&&(et=n(function(Nt){return new Worker(Nt)},"factory"));var Ft=et(dt);if(typeof Ft.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new L(Ft),this.worker.postMessage({cmd:"register",algorithms:nt}).then(function(Nt){return j.initialized=!0}).catch(console.err)}return n(F,"ELK"),B(F,[{key:"layout",value:n(function(j){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},z=$.layoutOptions,U=z===void 0?this.defaultLayoutOptions:z,V=$.logging,nt=V===void 0?!1:V,at=$.measureExecutionTime,dt=at===void 0?!1:at;return j?this.worker.postMessage({cmd:"layout",graph:j,layoutOptions:U,options:{logging:nt,measureExecutionTime:dt}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))},"layout")},{key:"knownLayoutAlgorithms",value:n(function(){return this.worker.postMessage({cmd:"algorithms"})},"knownLayoutAlgorithms")},{key:"knownLayoutOptions",value:n(function(){return this.worker.postMessage({cmd:"options"})},"knownLayoutOptions")},{key:"knownLayoutCategories",value:n(function(){return this.worker.postMessage({cmd:"categories"})},"knownLayoutCategories")},{key:"terminateWorker",value:n(function(){this.worker&&this.worker.terminate()},"terminateWorker")}]),F})();T.default=M;var L=(function(){function F(j){var $=this;if(v(this,F),j===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=j,this.worker.onmessage=function(z){setTimeout(function(){$.receive($,z)},0)}}return n(F,"PromisedWorker"),B(F,[{key:"postMessage",value:n(function(j){var $=this.id||0;this.id=$+1,j.id=$;var z=this;return new Promise(function(U,V){z.resolvers[$]=function(nt,at){nt?(z.convertGwtStyleError(nt),V(nt)):U(at)},z.worker.postMessage(j)})},"postMessage")},{key:"receive",value:n(function(j,$){var z=$.data,U=j.resolvers[z.id];U&&(delete j.resolvers[z.id],z.error?U(z.error):U(null,z.data))},"receive")},{key:"terminate",value:n(function(){this.worker&&this.worker.terminate()},"terminate")},{key:"convertGwtStyleError",value:n(function(j){if(j){var $=j.__java$exception;$&&($.cause&&$.cause.backingJsObject&&(j.cause=$.cause.backingJsObject,this.convertGwtStyleError(j.cause)),delete j.__java$exception)}},"convertGwtStyleError")}]),F})()},{}],2:[function(y,k,T){(function(B){(function(){"use strict";var v;typeof window<"u"?v=window:typeof B<"u"?v=B:typeof self<"u"&&(v=self);var M,L,F,j,$;function z(){}n(z,"nb");function U(){}n(U,"xb");function V(){}n(V,"Fd");function nt(){}n(nt,"hh");function at(){}n(at,"lq");function dt(){}n(dt,"Nq");function et(){}n(et,"ir");function Ft(){}n(Ft,"Ws");function Nt(){}n(Nt,"Zw");function se(){}n(se,"jx");function Ge(){}n(Ge,"rx");function Ue(){}n(Ue,"sx");function me(){}n(me,"My");function fn(){}n(fn,"bA");function Ce(){}n(Ce,"mA");function ge(){}n(ge,"tA");function be(){}n(be,"aB");function le(){}n(le,"dB");function Oe(){}n(Oe,"jB");function ke(){}n(ke,"dC");function nn(){}n(nn,"keb");function tt(){}n(tt,"geb");function sr(){}n(sr,"oeb");function Xr(){}n(Xr,"iob");function $i(){}n($i,"Job");function Bi(){}n(Bi,"Rob");function ja(){}n(ja,"apb");function Or(){}n(Or,"ipb");function ta(){}n(ta,"nrb");function wo(){}n(wo,"wrb");function Ws(){}n(Ws,"Brb");function js(){}n(js,"Prb");function sa(){}n(sa,"ltb");function th(){}n(th,"svb");function to(){}n(to,"xvb");function g6(){}n(g6,"zvb");function oc(){}n(oc,"$xb");function jb(){}n(jb,"Gzb");function l5(){}n(l5,"NAb");function md(){}n(md,"VAb");function yp(){}n(yp,"rBb");function h5(){}n(h5,"RBb");function p6(){}n(p6,"TBb");function Oo(){}n(Oo,"XBb");function Ua(){}n(Ua,"ZBb");function eh(){}n(eh,"_Bb");function iu(){}n(iu,"bCb");function u5(){}n(u5,"dCb");function vp(){}n(vp,"fCb");function kp(){}n(kp,"jCb");function a9(){}n(a9,"rCb");function Z2(){}n(Z2,"uCb");function Yo(){}n(Yo,"wCb");function yd(){}n(yd,"yCb");function Ib(){}n(Ib,"ACb");function bE(){}n(bE,"ECb");function gE(){}n(gE,"FEb");function d5(){}n(d5,"IEb");function o9(){}n(o9,"KEb");function Wm(){}n(Wm,"MEb");function vf(){}n(vf,"gFb");function s9(){}n(s9,"FFb");function pE(){}n(pE,"JFb");function wE(){}n(wE,"xGb");function c9(){}n(c9,"AGb");function mE(){}n(mE,"YGb");function w6(){}n(w6,"oHb");function m6(){}n(m6,"tHb");function kf(){}n(kf,"xHb");function Gm(){}n(Gm,"pIb");function l9(){}n(l9,"BJb");function h9(){}n(h9,"kLb");function IO(){}n(IO,"mLb");function yE(){}n(yE,"oLb");function u9(){}n(u9,"qLb");function vE(){}n(vE,"FLb");function d9(){}n(d9,"JLb");function PO(){}n(PO,"KMb");function f5(){}n(f5,"MMb");function $O(){}n($O,"OMb");function NO(){}n(NO,"YMb");function vc(){}n(vc,"MNb");function Vm(){}n(Vm,"ONb");function RO(){}n(RO,"aOb");function kE(){}n(kE,"eOb");function f9(){}n(f9,"xOb");function xE(){}n(xE,"BOb");function CE(){}n(CE,"DOb");function zO(){}n(zO,"FOb");function qO(){}n(qO,"IOb");function HO(){}n(HO,"MOb");function TE(){}n(TE,"POb");function tw(){}n(tw,"UOb");function y6(){}n(y6,"ZOb");function ew(){}n(ew,"cPb");function KO(){}n(KO,"gPb");function b5(){}n(b5,"nPb");function b9(){}n(b9,"qPb");function g5(){}n(g5,"tPb");function SE(){}n(SE,"wPb");function v6(){}n(v6,"CPb");function p5(){}n(p5,"qQb");function k6(){}n(k6,"GQb");function Xm(){}n(Xm,"bRb");function w5(){}n(w5,"gRb");function c1(){}n(c1,"kRb");function UO(){}n(UO,"pRb");function WO(){}n(WO,"wRb");function EE(){}n(EE,"xSb");function BE(){}n(BE,"TSb");function GO(){}n(GO,"VSb");function ME(){}n(ME,"XSb");function VO(){}n(VO,"ZSb");function XO(){}n(XO,"_Sb");function AE(){}n(AE,"tTb");function m5(){}n(m5,"DTb");function g9(){}n(g9,"FTb");function kt(){}n(kt,"FXb");function Qe(){}n(Qe,"hXb");function an(){}n(an,"hWb");function hr(){}n(hr,"mWb");function ya(){}n(ya,"CVb");function La(){}n(La,"XXb");function Qo(){}n(Qo,"$Xb");function xp(){}n(xp,"bYb");function p9(){}n(p9,"lYb");function $1(){}n($1,"FYb");function vd(){}n(vd,"XYb");function kc(){}n(kc,"aZb");function jut(){}n(jut,"SZb");function Iut(){}n(Iut,"ZZb");function Put(){}n(Put,"Z_b");function YO(){}n(YO,"j_b");function $ut(){}n($ut,"j$b");function Nut(){}n(Nut,"b$b");function Rut(){}n(Rut,"f$b");function zut(){}n(zut,"n$b");function qut(){}n(qut,"K_b");function Hut(){}n(Hut,"V_b");function Kut(){}n(Kut,"b0b");function Uut(){}n(Uut,"l0b");function Wut(){}n(Wut,"X1b");function wU(){}n(wU,"_1b");function mU(){}n(mU,"x3b");function Gut(){}n(Gut,"r4b");function Vut(){}n(Vut,"w4b");function Xut(){}n(Xut,"A4b");function Yut(){}n(Yut,"E4b");function Qut(){}n(Qut,"I4b");function Jut(){}n(Jut,"M4b");function Zut(){}n(Zut,"o5b");function t1t(){}n(t1t,"q5b");function e1t(){}n(e1t,"w5b");function n1t(){}n(n1t,"A5b");function r1t(){}n(r1t,"E5b");function i1t(){}n(i1t,"h6b");function a1t(){}n(a1t,"j6b");function o1t(){}n(o1t,"l6b");function s1t(){}n(s1t,"q6b");function c1t(){}n(c1t,"v6b");function l1t(){}n(l1t,"y6b");function h1t(){}n(h1t,"G6b");function u1t(){}n(u1t,"K6b");function d1t(){}n(d1t,"N6b");function f1t(){}n(f1t,"P6b");function b1t(){}n(b1t,"R6b");function g1t(){}n(g1t,"b7b");function p1t(){}n(p1t,"f7b");function w1t(){}n(w1t,"j7b");function m1t(){}n(m1t,"n7b");function y1t(){}n(y1t,"C7b");function v1t(){}n(v1t,"H7b");function k1t(){}n(k1t,"J7b");function x1t(){}n(x1t,"L7b");function C1t(){}n(C1t,"N7b");function T1t(){}n(T1t,"P7b");function S1t(){}n(S1t,"a8b");function E1t(){}n(E1t,"c8b");function B1t(){}n(B1t,"e8b");function M1t(){}n(M1t,"g8b");function A1t(){}n(A1t,"i8b");function L1t(){}n(L1t,"m8b");function _1t(){}n(_1t,"Z8b");function F1t(){}n(F1t,"f9b");function O1t(){}n(O1t,"i9b");function D1t(){}n(D1t,"o9b");function j1t(){}n(j1t,"C9b");function I1t(){}n(I1t,"F9b");function P1t(){}n(P1t,"K9b");function $1t(){}n($1t,"Q9b");function N1t(){}n(N1t,"aac");function R1t(){}n(R1t,"bac");function z1t(){}n(z1t,"eac");function q1t(){}n(q1t,"mac");function H1t(){}n(H1t,"pac");function K1t(){}n(K1t,"rac");function U1t(){}n(U1t,"tac");function W1t(){}n(W1t,"xac");function G1t(){}n(G1t,"Aac");function V1t(){}n(V1t,"Dac");function X1t(){}n(X1t,"Iac");function Y1t(){}n(Y1t,"Oac");function Q1t(){}n(Q1t,"Uac");function J1t(){}n(J1t,"Ucc");function Z1t(){}n(Z1t,"scc");function t0t(){}n(t0t,"ycc");function e0t(){}n(e0t,"Acc");function n0t(){}n(n0t,"Ccc");function r0t(){}n(r0t,"Ncc");function i0t(){}n(i0t,"Wcc");function a0t(){}n(a0t,"ydc");function o0t(){}n(o0t,"Adc");function s0t(){}n(s0t,"Gdc");function c0t(){}n(c0t,"Ldc");function l0t(){}n(l0t,"Zdc");function h0t(){}n(h0t,"fec");function u0t(){}n(u0t,"Dec");function d0t(){}n(d0t,"Gec");function f0t(){}n(f0t,"Kec");function b0t(){}n(b0t,"efc");function g0t(){}n(g0t,"jfc");function p0t(){}n(p0t,"nfc");function w0t(){}n(w0t,"Bfc");function m0t(){}n(m0t,"Ifc");function y0t(){}n(y0t,"Lfc");function v0t(){}n(v0t,"Rfc");function k0t(){}n(k0t,"Ufc");function x0t(){}n(x0t,"Zfc");function C0t(){}n(C0t,"cgc");function T0t(){}n(T0t,"egc");function S0t(){}n(S0t,"ggc");function E0t(){}n(E0t,"igc");function B0t(){}n(B0t,"kgc");function M0t(){}n(M0t,"Dgc");function A0t(){}n(A0t,"Hgc");function L0t(){}n(L0t,"Lgc");function _0t(){}n(_0t,"Ngc");function F0t(){}n(F0t,"Pgc");function O0t(){}n(O0t,"Vgc");function D0t(){}n(D0t,"Ygc");function j0t(){}n(j0t,"chc");function I0t(){}n(I0t,"ehc");function P0t(){}n(P0t,"ghc");function $0t(){}n($0t,"ihc");function yU(){}n(yU,"mhc");function N0t(){}n(N0t,"rhc");function R0t(){}n(R0t,"uhc");function z0t(){}n(z0t,"whc");function q0t(){}n(q0t,"yhc");function H0t(){}n(H0t,"Ahc");function K0t(){}n(K0t,"Chc");function U0t(){}n(U0t,"Ghc");function W0t(){}n(W0t,"Nhc");function G0t(){}n(G0t,"Phc");function V0t(){}n(V0t,"Rhc");function X0t(){}n(X0t,"Thc");function Y0t(){}n(Y0t,"$hc");function Q0t(){}n(Q0t,"aic");function J0t(){}n(J0t,"cic");function Z0t(){}n(Z0t,"eic");function tdt(){}n(tdt,"jic");function edt(){}n(edt,"nic");function ndt(){}n(ndt,"pic");function rdt(){}n(rdt,"ric");function idt(){}n(idt,"vic");function adt(){}n(adt,"yic");function odt(){}n(odt,"Dic");function sdt(){}n(sdt,"Ric");function cdt(){}n(cdt,"Zic");function ldt(){}n(ldt,"bjc");function hdt(){}n(hdt,"djc");function udt(){}n(udt,"jjc");function ddt(){}n(ddt,"njc");function fdt(){}n(fdt,"rjc");function bdt(){}n(bdt,"tjc");function gdt(){}n(gdt,"zjc");function pdt(){}n(pdt,"Djc");function wdt(){}n(wdt,"Fjc");function mdt(){}n(mdt,"Ljc");function ydt(){}n(ydt,"Pjc");function vdt(){}n(vdt,"Rjc");function kdt(){}n(kdt,"fkc");function xdt(){}n(xdt,"Kkc");function Cdt(){}n(Cdt,"Mkc");function Tdt(){}n(Tdt,"Okc");function Sdt(){}n(Sdt,"Qkc");function Edt(){}n(Edt,"Skc");function Bdt(){}n(Bdt,"Ukc");function Mdt(){}n(Mdt,"Wkc");function Adt(){}n(Adt,"clc");function Ldt(){}n(Ldt,"elc");function _dt(){}n(_dt,"klc");function Fdt(){}n(Fdt,"mlc");function Odt(){}n(Odt,"olc");function Ddt(){}n(Ddt,"qlc");function jdt(){}n(jdt,"wlc");function Idt(){}n(Idt,"ylc");function Pdt(){}n(Pdt,"Alc");function $dt(){}n($dt,"Jlc");function Ndt(){}n(Ndt,"Joc");function Rdt(){}n(Rdt,"poc");function zdt(){}n(zdt,"roc");function qdt(){}n(qdt,"toc");function Hdt(){}n(Hdt,"voc");function Kdt(){}n(Kdt,"Boc");function Udt(){}n(Udt,"Foc");function Wdt(){}n(Wdt,"Hoc");function Gdt(){}n(Gdt,"Loc");function Vdt(){}n(Vdt,"Noc");function Xdt(){}n(Xdt,"Poc");function Ydt(){}n(Ydt,"qnc");function Qdt(){}n(Qdt,"unc");function Jdt(){}n(Jdt,"upc");function Zdt(){}n(Zdt,"kpc");function tft(){}n(tft,"mpc");function eft(){}n(eft,"opc");function nft(){}n(nft,"qpc");function rft(){}n(rft,"ypc");function vU(){}n(vU,"Cpc");function ift(){}n(ift,"Mpc");function aft(){}n(aft,"Qpc");function oft(){}n(oft,"dqc");function sft(){}n(sft,"jqc");function cft(){}n(cft,"Aqc");function lft(){}n(lft,"Eqc");function hft(){}n(hft,"Gqc");function uft(){}n(uft,"Sqc");function dft(){}n(dft,"arc");function fft(){}n(fft,"lrc");function kU(){}n(kU,"zrc");function bft(){}n(bft,"Hrc");function gft(){}n(gft,"bsc");function pft(){}n(pft,"dsc");function wft(){}n(wft,"fsc");function mft(){}n(mft,"ksc");function yft(){}n(yft,"msc");function xU(){}n(xU,"Asc");function CU(){}n(CU,"Csc");function vft(){}n(vft,"Esc");function TU(){}n(TU,"Ksc");function SU(){}n(SU,"Nsc");function kft(){}n(kft,"Ssc");function xft(){}n(xft,"CCc");function Cft(){}n(Cft,"tGc");function Tft(){}n(Tft,"aHc");function Sft(){}n(Sft,"gHc");function Eft(){}n(Eft,"nIc");function Bft(){}n(Bft,"PJc");function Mft(){}n(Mft,"XKc");function Aft(){}n(Aft,"fLc");function Lft(){}n(Lft,"hLc");function _ft(){}n(_ft,"lLc");function EU(){}n(EU,"eNc");function Fft(){}n(Fft,"IOc");function Oft(){}n(Oft,"MOc");function Dft(){}n(Dft,"WOc");function jft(){}n(jft,"YOc");function Ift(){}n(Ift,"$Oc");function Pft(){}n(Pft,"cPc");function $ft(){}n($ft,"iPc");function Nft(){}n(Nft,"mPc");function Rft(){}n(Rft,"oPc");function zft(){}n(zft,"qPc");function qft(){}n(qft,"sPc");function Hft(){}n(Hft,"wPc");function Kft(){}n(Kft,"APc");function Uft(){}n(Uft,"FPc");function Wft(){}n(Wft,"HPc");function Gft(){}n(Gft,"NPc");function Vft(){}n(Vft,"PPc");function Xft(){}n(Xft,"TPc");function Yft(){}n(Yft,"VPc");function Qft(){}n(Qft,"ZPc");function Jft(){}n(Jft,"_Pc");function Zft(){}n(Zft,"bQc");function tbt(){}n(tbt,"dQc");function ebt(){}n(ebt,"SQc");function nbt(){}n(nbt,"hRc");function rbt(){}n(rbt,"HRc");function ibt(){}n(ibt,"HSc");function abt(){}n(abt,"pSc");function obt(){}n(obt,"xSc");function sbt(){}n(sbt,"zSc");function cbt(){}n(cbt,"BSc");function lbt(){}n(lbt,"DSc");function hbt(){}n(hbt,"FSc");function ubt(){}n(ubt,"CTc");function dbt(){}n(dbt,"ITc");function fbt(){}n(fbt,"KTc");function bbt(){}n(bbt,"MTc");function gbt(){}n(gbt,"XTc");function pbt(){}n(pbt,"ZTc");function wbt(){}n(wbt,"jVc");function mbt(){}n(mbt,"lVc");function ybt(){}n(ybt,"zVc");function vbt(){}n(vbt,"IVc");function kbt(){}n(kbt,"KVc");function xbt(){}n(xbt,"KWc");function Cbt(){}n(Cbt,"uWc");function Tbt(){}n(Tbt,"xWc");function Sbt(){}n(Sbt,"AWc");function Ebt(){}n(Ebt,"QWc");function Bbt(){}n(Bbt,"UWc");function Mbt(){}n(Mbt,"qXc");function Abt(){}n(Abt,"KXc");function Lbt(){}n(Lbt,"OXc");function _bt(){}n(_bt,"SXc");function Fbt(){}n(Fbt,"$Xc");function Obt(){}n(Obt,"mYc");function Dbt(){}n(Dbt,"rYc");function jbt(){}n(jbt,"zYc");function Ibt(){}n(Ibt,"DYc");function Pbt(){}n(Pbt,"FYc");function $bt(){}n($bt,"HYc");function Nbt(){}n(Nbt,"JYc");function Rbt(){}n(Rbt,"cZc");function zbt(){}n(zbt,"gZc");function qbt(){}n(qbt,"iZc");function Hbt(){}n(Hbt,"pZc");function Kbt(){}n(Kbt,"tZc");function Ubt(){}n(Ubt,"vZc");function Wbt(){}n(Wbt,"AZc");function Gbt(){}n(Gbt,"GZc");function Vbt(){}n(Vbt,"l_c");function Xbt(){}n(Xbt,"l1c");function Ybt(){}n(Ybt,"b1c");function Qbt(){}n(Qbt,"d1c");function Jbt(){}n(Jbt,"h1c");function Zbt(){}n(Zbt,"n1c");function tgt(){}n(tgt,"r1c");function egt(){}n(egt,"v1c");function ngt(){}n(ngt,"x1c");function rgt(){}n(rgt,"D1c");function igt(){}n(igt,"H1c");function agt(){}n(agt,"L1c");function ogt(){}n(ogt,"R1c");function sgt(){}n(sgt,"V1c");function cgt(){}n(cgt,"Z1c");function lgt(){}n(lgt,"Z0c");function hgt(){}n(hgt,"a0c");function ugt(){}n(ugt,"c0c");function dgt(){}n(dgt,"e0c");function fgt(){}n(fgt,"k0c");function bgt(){}n(bgt,"o0c");function ggt(){}n(ggt,"b2c");function pgt(){}n(pgt,"l2c");function wgt(){}n(wgt,"p2c");function mgt(){}n(mgt,"Y2c");function ygt(){}n(ygt,"_2c");function vgt(){}n(vgt,"A3c");function kgt(){}n(kgt,"F3c");function xgt(){}n(xgt,"I3c");function Cgt(){}n(Cgt,"K3c");function Tgt(){}n(Tgt,"M3c");function Sgt(){}n(Sgt,"Q3c");function Egt(){}n(Egt,"U3c");function Bgt(){}n(Bgt,"c5c");function Mgt(){}n(Mgt,"D5c");function Agt(){}n(Agt,"G5c");function Lgt(){}n(Lgt,"J5c");function _gt(){}n(_gt,"N5c");function Fgt(){}n(Fgt,"V5c");function Ogt(){}n(Ogt,"p6c");function Dgt(){}n(Dgt,"s6c");function jgt(){}n(jgt,"H6c");function Igt(){}n(Igt,"K6c");function Pgt(){}n(Pgt,"_7c");function QO(){}n(QO,"h8c");function JO(){}n(JO,"j8c");function $gt(){}n($gt,"o8c");function ZO(){}n(ZO,"r8c");function Ngt(){}n(Ngt,"u8c");function Rgt(){}n(Rgt,"R8c");function zgt(){}n(zgt,"X8c");function qgt(){}n(qgt,"o9c");function Hgt(){}n(Hgt,"s9c");function Kgt(){}n(Kgt,"x9c");function Ugt(){}n(Ugt,"Qad");function Wgt(){}n(Wgt,"rcd");function Ggt(){}n(Ggt,"Xcd");function Vgt(){}n(Vgt,"vdd");function BU(){}n(BU,"Tdd");function Xgt(){}n(Xgt,"_dd");function Ygt(){}n(Ygt,"qed");function Qgt(){}n(Qgt,"sed");function Jgt(){}n(Jgt,"ved");function Zgt(){}n(Zgt,"Hed");function tpt(){}n(tpt,"Zed");function ept(){}n(ept,"bfd");function npt(){}n(npt,"ifd");function rpt(){}n(rpt,"Gfd");function ipt(){}n(ipt,"Ifd");function apt(){}n(apt,"Igd");function xf(){}n(xf,"agd");function opt(){}n(opt,"dgd");function Ym(){}n(Ym,"pgd");function MU(){}n(MU,"Hgd");function spt(){}n(spt,"Kgd");function cpt(){}n(cpt,"Mgd");function lpt(){}n(lpt,"Ogd");function hpt(){}n(hpt,"Qgd");function upt(){}n(upt,"Sgd");function dpt(){}n(dpt,"Ugd");function fpt(){}n(fpt,"Wgd");function bpt(){}n(bpt,"Ygd");function gpt(){}n(gpt,"$gd");function ppt(){}n(ppt,"ahd");function wpt(){}n(wpt,"chd");function mpt(){}n(mpt,"ehd");function ypt(){}n(ypt,"ghd");function vpt(){}n(vpt,"ihd");function kpt(){}n(kpt,"khd");function xpt(){}n(xpt,"mhd");function Cpt(){}n(Cpt,"ohd");function Tpt(){}n(Tpt,"qhd");function Spt(){}n(Spt,"shd");function qt(){}n(qt,"Shd");function Ept(){}n(Ept,"lkd");function Bpt(){}n(Bpt,"znd");function Mpt(){}n(Mpt,"Jpd");function Apt(){}n(Apt,"jrd");function Lpt(){}n(Lpt,"Mrd");function _pt(){}n(_pt,"Qrd");function Fpt(){}n(Fpt,"Urd");function Opt(){}n(Opt,"Yrd");function Dpt(){}n(Dpt,"Yud");function jpt(){}n(jpt,"eud");function Ipt(){}n(Ipt,"asd");function Ppt(){}n(Ppt,"Lsd");function $pt(){}n($pt,"btd");function tD(){}n(tD,"dtd");function Npt(){}n(Npt,"jtd");function Rpt(){}n(Rpt,"otd");function zpt(){}n(zpt,"ztd");function LE(){}n(LE,"Xxd");function qpt(){}n(qpt,"$yd");function eD(){}n(eD,"rzd");function _E(){}n(_E,"Rzd");function Hpt(){}n(Hpt,"KAd");function AU(){}n(AU,"hCd");function Kpt(){}n(Kpt,"_Cd");function Upt(){}n(Upt,"_Sd");function Wpt(){}n(Wpt,"OSd");function Gpt(){}n(Gpt,"BDd");function Vpt(){}n(Vpt,"BId");function Xpt(){}n(Xpt,"JId");function FE(){}n(FE,"YHd");function Ypt(){}n(Ypt,"fLd");function Qpt(){}n(Qpt,"cPd");function OE(){}n(OE,"hQd");function Jpt(){}n(Jpt,"AQd");function DE(){}n(DE,"kUd");function Zpt(){}n(Zpt,"VUd");function LU(){}n(LU,"pVd");function t2t(){}n(t2t,"W$d");function nD(){}n(nD,"Z$d");function _U(){}n(_U,"a_d");function e2t(){}n(e2t,"i_d");function n2t(){}n(n2t,"v_d");function r2t(){}n(r2t,"y_d");function i2t(){}n(i2t,"f1d");function a2t(){}n(a2t,"L5d");function o2t(){}n(o2t,"v6d");function s2t(){}n(s2t,"b8d");function c2t(){}n(c2t,"e8d");function l2t(){}n(l2t,"h8d");function h2t(){}n(h2t,"k8d");function u2t(){}n(u2t,"n8d");function d2t(){}n(d2t,"q8d");function f2t(){}n(f2t,"t8d");function b2t(){}n(b2t,"w8d");function g2t(){}n(g2t,"z8d");function y5(){}n(y5,"X9d");function rD(){}n(rD,"_9d");function p2t(){}n(p2t,"Mae");function w2t(){}n(w2t,"cbe");function m2t(){}n(m2t,"ebe");function y2t(){}n(y2t,"hbe");function v2t(){}n(v2t,"kbe");function k2t(){}n(k2t,"nbe");function x2t(){}n(x2t,"qbe");function C2t(){}n(C2t,"tbe");function T2t(){}n(T2t,"wbe");function S2t(){}n(S2t,"zbe");function E2t(){}n(E2t,"Cbe");function B2t(){}n(B2t,"Fbe");function M2t(){}n(M2t,"Ibe");function A2t(){}n(A2t,"Lbe");function L2t(){}n(L2t,"Obe");function _2t(){}n(_2t,"Rbe");function F2t(){}n(F2t,"Ube");function O2t(){}n(O2t,"Xbe");function D2t(){}n(D2t,"$be");function j2t(){}n(j2t,"bce");function I2t(){}n(I2t,"ece");function P2t(){}n(P2t,"hce");function $2t(){}n($2t,"kce");function N2t(){}n(N2t,"nce");function R2t(){}n(R2t,"qce");function z2t(){}n(z2t,"tce");function q2t(){}n(q2t,"wce");function H2t(){}n(H2t,"zce");function K2t(){}n(K2t,"Cce");function U2t(){}n(U2t,"Fce");function W2t(){}n(W2t,"Ice");function G2t(){}n(G2t,"Lce");function V2t(){}n(V2t,"Oce");function X2t(){}n(X2t,"Rce");function Y2t(){}n(Y2t,"Uce");function Q2t(){}n(Q2t,"Xce");function J2t(){}n(J2t,"$ce");function Z2t(){}n(Z2t,"bde");function twt(){}n(twt,"ede");function ewt(){}n(ewt,"hde");function nwt(){}n(nwt,"kde");function rwt(){}n(rwt,"nde");function iwt(){}n(iwt,"qde");function awt(){}n(awt,"tde");function owt(){}n(owt,"wde");function swt(){}n(swt,"Hie");function cwt(){}n(cwt,"rke");function lwt(){}n(lwt,"rne");function hwt(){}n(hwt,"Ene");function uwt(){}n(uwt,"Gne");function dwt(){}n(dwt,"Jne");function fwt(){}n(fwt,"Mne");function bwt(){}n(bwt,"Pne");function gwt(){}n(gwt,"Sne");function pwt(){}n(pwt,"Vne");function wwt(){}n(wwt,"Yne");function mwt(){}n(mwt,"_ne");function ywt(){}n(ywt,"yme");function vwt(){}n(vwt,"coe");function kwt(){}n(kwt,"foe");function xwt(){}n(xwt,"ioe");function Cwt(){}n(Cwt,"loe");function Twt(){}n(Twt,"ooe");function Swt(){}n(Swt,"roe");function Ewt(){}n(Ewt,"uoe");function Bwt(){}n(Bwt,"xoe");function Mwt(){}n(Mwt,"Aoe");function Awt(){}n(Awt,"Doe");function Lwt(){}n(Lwt,"Goe");function _wt(){}n(_wt,"Joe");function Fwt(){}n(Fwt,"Moe");function Owt(){}n(Owt,"Poe");function Dwt(){}n(Dwt,"Soe");function jwt(){}n(jwt,"Voe");function Iwt(){}n(Iwt,"Yoe");function Pwt(){}n(Pwt,"_oe");function $wt(){}n($wt,"cpe");function Nwt(){}n(Nwt,"fpe");function Rwt(){}n(Rwt,"ipe");function zwt(){}n(zwt,"lpe");function qwt(){}n(qwt,"ope");function Hwt(){}n(Hwt,"rpe");function Kwt(){}n(Kwt,"upe");function Uwt(){}n(Uwt,"xpe");function Wwt(){}n(Wwt,"Ape");function Gwt(){}n(Gwt,"Dpe");function Vwt(){}n(Vwt,"Gpe");function Xwt(){}n(Xwt,"Jpe");function Ywt(){}n(Ywt,"Mpe");function Qwt(){}n(Qwt,"Ppe");function Jwt(){}n(Jwt,"Spe");function Zwt(){}n(Zwt,"Vpe");function tmt(){}n(tmt,"Ype");function emt(){}n(emt,"_pe");function nmt(){}n(nmt,"cqe");function rmt(){}n(rmt,"fqe");function imt(){}n(imt,"iqe");function amt(){}n(amt,"lqe");function omt(){}n(omt,"oqe");function smt(){}n(smt,"rqe");function cmt(){}n(cmt,"uqe");function FU(){}n(FU,"Tqe");function lmt(){}n(lmt,"sue");function hmt(){}n(hmt,"Cue");function Csn(t){}n(Csn,"A2b");function Tsn(t){}n(Tsn,"J3d");function iD(){L6()}n(iD,"zl");function umt(){_9()}n(umt,"z7b");function dmt(){kL()}n(dmt,"ZHb");function fmt(){h$()}n(fmt,"fSb");function bmt(){n8()}n(bmt,"vSb");function gmt(){Ntt()}n(gmt,"PUb");function pmt(){gh()}n(pmt,"AVb");function wmt(){XZ()}n(wmt,"RVb");function mmt(){wC()}n(mmt,"fWb");function ymt(){F9()}n(ymt,"N5b");function vmt(){ox()}n(vmt,"$9b");function kmt(){G7t()}n(kmt,"Lcc");function xmt(){I3()}n(xmt,"pdc");function Cmt(){xMt()}n(Cmt,"pec");function Tmt(){VQ()}n(Tmt,"pGc");function Smt(){hEt()}n(Smt,"jGc");function Emt(){XQ()}n(Emt,"YGc");function Bmt(){ZMt()}n(Bmt,"cGc");function Mmt(){lEt()}n(Mmt,"NFc");function Amt(){My()}n(Amt,"xgc");function Lmt(){ILt()}n(Lmt,"xHc");function _mt(){jLt()}n(_mt,"pHc");function Fmt(){aBt()}n(Fmt,"IHc");function Omt(){PLt()}n(Omt,"XHc");function Dmt(){Ud()}n(Dmt,"boc");function jmt(){cB()}n(jmt,"yqc");function Imt(){Nnt()}n(Imt,"Pzc");function Pmt(){Ot()}n(Pmt,"ACc");function $mt(){$Lt()}n($mt,"aKc");function Nmt(){u_t()}n(Nmt,"FLc");function Rmt(){uEt()}n(Rmt,"DNc");function zmt(){IDt()}n(zmt,"TNc");function qmt(){dEt()}n(qmt,"iQc");function Hmt(){Y$t()}n(Hmt,"WRc");function Kmt(){wet()}n(Kmt,"C$c");function Umt(){J1()}n(Umt,"J0c");function Wmt(){QFt()}n(Wmt,"x0c");function Gmt(){Lo()}n(Gmt,"j_c");function Vmt(){kEt()}n(Vmt,"N_c");function Xmt(){j3()}n(Xmt,"V_c");function Ymt(){tnt()}n(Ymt,"E4c");function Qmt(){Wd()}n(Qmt,"a5c");function Jmt(){ent()}n(Jmt,"v7c");function Zmt(){mu()}n(Zmt,"Z7c");function t3t(){xC()}n(t3t,"pcd");function e3t(){IN()}n(e3t,"Lcd");function n3t(){U$()}n(n3t,"Vcd");function Lh(){Qxt()}n(Lh,"fUd");function r3t(){sA()}n(r3t,"Bfd");function i3t(){BL()}n(i3t,"jkd");function OU(){$n()}n(OU,"vmd");function a3t(){HA()}n(a3t,"xnd");function o3t(){SZ()}n(o3t,"Hpd");function DU(){UP()}n(DU,"HYd");function jU(){XL()}n(jU,"yAd");function s3t(){unt()}n(s3t,"gke");function IU(t){Ie(t)}n(IU,"Yxb");function c3t(t){this.a=t}n(c3t,"Yb");function jE(t){this.a=t}n(jE,"cc");function l3t(t){this.a=t}n(l3t,"df");function h3t(t){this.a=t}n(h3t,"kf");function u3t(t){this.a=t}n(u3t,"kj");function d3t(t){this.a=t}n(d3t,"qj");function f3t(t){this.a=t}n(f3t,"Lj");function b3t(t){this.a=t}n(b3t,"jh");function PU(t){this.a=t}n(PU,"th");function $U(t){this.a=t}n($U,"Bh");function g3t(t){this.a=t}n(g3t,"Xh");function p3t(t){this.a=t}n(p3t,"Xn");function aD(t){this.a=t}n(aD,"Di");function w3t(t){this.a=t}n(w3t,"Ki");function m3t(t){this.a=t}n(m3t,"Ik");function oD(t){this.a=t}n(oD,"Qk");function sD(t){this.a=t}n(sD,"mp");function y3t(t){this.a=t}n(y3t,"Lp");function cD(t){this.a=t}n(cD,"iq");function v3t(t){this.a=t}n(v3t,"Eq");function k3t(t){this.a=t}n(k3t,"Vq");function x3t(t){this.a=t}n(x3t,"Or");function NU(t){this.b=t}n(NU,"$r");function C3t(t){this.c=t}n(C3t,"Aj");function T3t(t){this.a=t}n(T3t,"vu");function S3t(t){this.a=t}n(S3t,"vw");function E3t(t){this.a=t}n(E3t,"gw");function B3t(t){this.a=t}n(B3t,"lw");function M3t(t){this.a=t}n(M3t,"Iw");function A3t(t){this.a=t}n(A3t,"Nw");function L3t(t){this.a=t}n(L3t,"Sw");function _3t(t){this.a=t}n(_3t,"ex");function F3t(t){this.a=t}n(F3t,"fx");function O3t(t){this.a=t}n(O3t,"lx");function D3t(t){this.a=t}n(D3t,"my");function j3t(t){this.a=t}n(j3t,"qy");function I3t(t){this.a=t}n(I3t,"Oy");function RU(t){this.a=t}n(RU,"NB");function zU(t){this.a=t}n(zU,"XB");function IE(t){this.a=t}n(IE,"hC");function w9(t){this.a=t}n(w9,"vC");function Cf(){this.a=[]}n(Cf,"MB");function P3t(t,e){t.a=e}n(P3t,"HEb");function hae(t,e){t.a=e}n(hae,"E2b");function uae(t,e){t.b=e}n(uae,"F2b");function dae(t,e){t.b=e}n(dae,"PRb");function fae(t,e){t.b=e}n(fae,"RRb");function qU(t,e){t.j=e}n(qU,"QJb");function bae(t,e){t.g=e}n(bae,"hQb");function gae(t,e){t.i=e}n(gae,"iQb");function pae(t,e){t.c=e}n(pae,"_Tb");function wae(t,e){t.c=e}n(wae,"G2b");function mae(t,e){t.d=e}n(mae,"H2b");function yae(t,e){t.d=e}n(yae,"aUb");function Tf(t,e){t.k=e}n(Tf,"h3b");function vae(t,e){t.c=e}n(vae,"O3b");function HU(t,e){t.c=e}n(HU,"Tmc");function KU(t,e){t.a=e}n(KU,"Smc");function kae(t,e){t.a=e}n(kae,"DJc");function xae(t,e){t.f=e}n(xae,"EJc");function Cae(t,e){t.a=e}n(Cae,"NSc");function Tae(t,e){t.b=e}n(Tae,"OSc");function lD(t,e){t.d=e}n(lD,"PSc");function PE(t,e){t.i=e}n(PE,"QSc");function UU(t,e){t.o=e}n(UU,"RSc");function Sae(t,e){t.r=e}n(Sae,"SSc");function Eae(t,e){t.a=e}n(Eae,"yUc");function Bae(t,e){t.b=e}n(Bae,"zUc");function $3t(t,e){t.e=e}n($3t,"q3c");function Mae(t,e){t.f=e}n(Mae,"r3c");function WU(t,e){t.g=e}n(WU,"s3c");function Aae(t,e){t.e=e}n(Aae,"Y9c");function Lae(t,e){t.f=e}n(Lae,"Z9c");function _ae(t,e){t.f=e}n(_ae,"kad");function hD(t,e){t.a=e}n(hD,"Ntd");function uD(t,e){t.b=e}n(uD,"Otd");function Fae(t,e){t.n=e}n(Fae,"BWd");function Oae(t,e){t.a=e}n(Oae,"$ee");function Dae(t,e){t.c=e}n(Dae,"_ee");function jae(t,e){t.c=e}n(jae,"ife");function Iae(t,e){t.c=e}n(Iae,"Efe");function Pae(t,e){t.a=e}n(Pae,"hfe");function $ae(t,e){t.a=e}n($ae,"Dfe");function Nae(t,e){t.d=e}n(Nae,"jfe");function Rae(t,e){t.d=e}n(Rae,"Ffe");function zae(t,e){t.e=e}n(zae,"kfe");function qae(t,e){t.e=e}n(qae,"Gfe");function Hae(t,e){t.g=e}n(Hae,"lfe");function Kae(t,e){t.f=e}n(Kae,"Hfe");function Uae(t,e){t.j=e}n(Uae,"Ife");function Wae(t,e){t.a=e}n(Wae,"wme");function Gae(t,e){t.a=e}n(Gae,"Fme");function Vae(t,e){t.b=e}n(Vae,"xme");function N3t(t){t.b=t.a}n(N3t,"gmc");function R3t(t){t.c=t.d.d}n(R3t,"Lg");function GU(t){this.a=t}n(GU,"fgb");function VU(t){this.a=t}n(VU,"zgb");function XU(t){this.a=t}n(XU,"Xgb");function Sf(t){this.a=t}n(Sf,"Xkb");function Ef(t){this.a=t}n(Ef,"mkb");function m9(t){this.a=t}n(m9,"reb");function z3t(t){this.a=t}n(z3t,"Seb");function YU(t){this.a=t}n(YU,"bfb");function y9(t){this.a=t}n(y9,"Tfb");function $E(t){this.a=t}n($E,"blb");function N1(t){this.a=t}n(N1,"glb");function Cp(t){this.a=t}n(Cp,"llb");function q3t(t){this.a=t}n(q3t,"Ulb");function H3t(t){this.a=t}n(H3t,"_lb");function dD(t){this.b=t}n(dD,"Plb");function v5(t){this.b=t}n(v5,"Ppb");function k5(t){this.b=t}n(k5,"xpb");function fD(t){this.a=t}n(fD,"mpb");function K3t(t){this.a=t}n(K3t,"Yqb");function bD(t){this.c=t}n(bD,"uqb");function N(t){this.c=t}n(N,"Anb");function U3t(t){this.c=t}n(U3t,"zwb");function x6(t){this.d=t}n(x6,"Dkb");function QU(t){this.a=t}n(QU,"brb");function kn(t){this.a=t}n(kn,"Frb");function W3t(t){this.a=t}n(W3t,"hsb");function JU(t){this.a=t}n(JU,"ctb");function ZU(t){this.a=t}n(ZU,"cxb");function tW(t){this.a=t}n(tW,"axb");function eW(t){this.a=t}n(eW,"exb");function nW(t){this.a=t}n(nW,"gxb");function rW(t){this.a=t}n(rW,"wub");function x5(t){this.a=t}n(x5,"zAb");function G3t(t){this.a=t}n(G3t,"JAb");function V3t(t){this.a=t}n(V3t,"LAb");function C5(t){this.a=t}n(C5,"PAb");function X3t(t){this.a=t}n(X3t,"VBb");function Y3t(t){this.a=t}n(Y3t,"lCb");function Q3t(t){this.a=t}n(Q3t,"nCb");function J3t(t){this.a=t}n(J3t,"pCb");function Z3t(t){this.a=t}n(Z3t,"CCb");function t4t(t){this.a=t}n(t4t,"GCb");function e4t(t){this.a=t}n(e4t,"bDb");function n4t(t){this.a=t}n(n4t,"dDb");function r4t(t){this.a=t}n(r4t,"fDb");function i4t(t){this.a=t}n(i4t,"uDb");function a4t(t){this.a=t}n(a4t,"$Db");function o4t(t){this.a=t}n(o4t,"aEb");function s4t(t){this.a=t}n(s4t,"eEb");function c4t(t){this.a=t}n(c4t,"OEb");function l4t(t){this.a=t}n(l4t,"SEb");function C6(t){this.a=t}n(C6,"SFb");function h4t(t){this.a=t}n(h4t,"HFb");function u4t(t){this.a=t}n(u4t,"NFb");function d4t(t){this.a=t}n(d4t,"WGb");function f4t(t){this.a=t}n(f4t,"HJb");function NE(t){this.a=t}n(NE,"PJb");function b4t(t){this.a=t}n(b4t,"kNb");function g4t(t){this.a=t}n(g4t,"tOb");function T5(t){this.a=t}n(T5,"APb");function iW(t){this.a=t}n(iW,"IQb");function p4t(t){this.a=t}n(p4t,"bTb");function w4t(t){this.a=t}n(w4t,"dTb");function m4t(t){this.a=t}n(m4t,"wTb");function y4t(t){this.a=t}n(y4t,"GWb");function v4t(t){this.a=t}n(v4t,"UWb");function k4t(t){this.a=t}n(k4t,"WWb");function aW(t){this.a=t}n(aW,"fXb");function oW(t){this.a=t}n(oW,"jXb");function sW(t){this.a=t}n(sW,"M0b");function T6(t){this.a=t}n(T6,"r1b");function RE(t){this.e=t}n(RE,"D1b");function S5(t){this.a=t}n(S5,"T3b");function x4t(t){this.a=t}n(x4t,"W3b");function Qm(t){this.a=t}n(Qm,"_3b");function cW(t){this.a=t}n(cW,"c4b");function C4t(t){this.a=t}n(C4t,"s5b");function T4t(t){this.a=t}n(T4t,"u5b");function S4t(t){this.a=t}n(S4t,"y5b");function E4t(t){this.a=t}n(E4t,"C5b");function B4t(t){this.a=t}n(B4t,"Q5b");function M4t(t){this.a=t}n(M4t,"S5b");function A4t(t){this.a=t}n(A4t,"U5b");function L4t(t){this.a=t}n(L4t,"W5b");function _4t(t){this.a=t}n(_4t,"l7b");function F4t(t){this.a=t}n(F4t,"p7b");function O4t(t){this.a=t}n(O4t,"k8b");function lW(t){this.a=t}n(lW,"L8b");function D4t(t){this.a=t}n(D4t,"Rac");function j4t(t){this.a=t}n(j4t,"Xac");function I4t(t){this.a=t}n(I4t,"$ac");function P4t(t){this.a=t}n(P4t,"bbc");function $4t(t){this.a=t}n($4t,"Cdc");function N4t(t){this.a=t}n(N4t,"Edc");function R4t(t){this.a=t}n(R4t,"Ehc");function z4t(t){this.a=t}n(z4t,"khc");function q4t(t){this.a=t}n(q4t,"Ihc");function H4t(t){this.a=t}n(H4t,"qfc");function K4t(t){this.a=t}n(K4t,"tfc");function U4t(t){this.a=t}n(U4t,"Wfc");function W4t(t){this.a=t}n(W4t,"Fic");function G4t(t){this.a=t}n(G4t,"Vic");function V4t(t){this.a=t}n(V4t,"fjc");function X4t(t){this.a=t}n(X4t,"pjc");function Y4t(t){this.a=t}n(Y4t,"ckc");function Q4t(t){this.a=t}n(Q4t,"hkc");function J4t(t){this.a=t}n(J4t,"Ykc");function Z4t(t){this.a=t}n(Z4t,"$kc");function t5t(t){this.a=t}n(t5t,"alc");function e5t(t){this.a=t}n(e5t,"glc");function n5t(t){this.a=t}n(n5t,"ilc");function r5t(t){this.a=t}n(r5t,"slc");function i5t(t){this.a=t}n(i5t,"Clc");function a5t(t){this.a=t}n(a5t,"xoc");function o5t(t){this.a=t}n(o5t,"zoc");function s5t(t){this.a=t}n(s5t,"spc");function c5t(t){this.a=t}n(c5t,"Vqc");function l5t(t){this.a=t}n(l5t,"Xqc");function h5t(t){this.a=t}n(h5t,"Gsc");function u5t(t){this.a=t}n(u5t,"Isc");function d5t(t){this.a=t}n(d5t,"JGc");function f5t(t){this.a=t}n(f5t,"NGc");function b5t(t){this.a=t}n(b5t,"MHc");function g5t(t){this.a=t}n(g5t,"JIc");function p5t(t){this.a=t}n(p5t,"fJc");function w5t(t){this.a=t}n(w5t,"BJc");function m5t(t){this.c=t}n(m5t,"dJc");function y5t(t){this.b=t}n(y5t,"Trc");function v5t(t){this.a=t}n(v5t,"eKc");function k5t(t){this.a=t}n(k5t,"IKc");function x5t(t){this.a=t}n(x5t,"KKc");function C5t(t){this.a=t}n(C5t,"MKc");function T5t(t){this.a=t}n(T5t,"yLc");function S5t(t){this.a=t}n(S5t,"HMc");function E5t(t){this.a=t}n(E5t,"LMc");function B5t(t){this.a=t}n(B5t,"PMc");function M5t(t){this.a=t}n(M5t,"TMc");function A5t(t){this.a=t}n(A5t,"XMc");function L5t(t){this.a=t}n(L5t,"ZMc");function _5t(t){this.a=t}n(_5t,"aNc");function F5t(t){this.a=t}n(F5t,"jNc");function O5t(t){this.a=t}n(O5t,"aPc");function D5t(t){this.a=t}n(D5t,"gPc");function j5t(t){this.a=t}n(j5t,"kPc");function I5t(t){this.a=t}n(I5t,"yPc");function P5t(t){this.a=t}n(P5t,"CPc");function $5t(t){this.a=t}n($5t,"JPc");function N5t(t){this.a=t}n(N5t,"RPc");function R5t(t){this.a=t}n(R5t,"XPc");function z5t(t){this.a=t}n(z5t,"mRc");function q5t(t){this.a=t}n(q5t,"xTc");function H5t(t){this.a=t}n(H5t,"CWc");function K5t(t){this.a=t}n(K5t,"EWc");function U5t(t){this.a=t}n(U5t,"IWc");function W5t(t){this.a=t}n(W5t,"OWc");function R1(t){this.a=t}n(R1,"dXc");function nw(t){this.a=t}n(nw,"gXc");function G5t(t){this.a=t}n(G5t,"EXc");function V5t(t){this.a=t}n(V5t,"WXc");function X5t(t){this.a=t}n(X5t,"YXc");function Y5t(t){this.a=t}n(Y5t,"aYc");function Q5t(t){this.a=t}n(Q5t,"cYc");function J5t(t){this.a=t}n(J5t,"eYc");function Z5t(t){this.a=t}n(Z5t,"iYc");function tyt(t){this.a=t}n(tyt,"i0c");function eyt(t){this.a=t}n(eyt,"g0c");function nyt(t){this.a=t}n(nyt,"P1c");function ryt(t){this.a=t}n(ryt,"Sad");function iyt(t){this.a=t}n(iyt,"Uad");function ayt(t){this.a=t}n(ayt,"Wad");function oyt(t){this.a=t}n(oyt,"Yad");function syt(t){this.a=t}n(syt,"cbd");function cyt(t){this.a=t}n(cyt,"ydd");function lyt(t){this.a=t}n(lyt,"Kdd");function hyt(t){this.a=t}n(hyt,"Mdd");function uyt(t){this.a=t}n(uyt,"_ed");function dyt(t){this.a=t}n(dyt,"dfd");function fyt(t){this.a=t}n(fyt,"Kfd");function byt(t){this.a=t}n(byt,"prd");function gyt(t){this.a=t}n(gyt,"$rd");function pyt(t){this.a=t}n(pyt,"csd");function wyt(t){this.a=t}n(wyt,"Usd");function myt(t){this.a=t}n(myt,"Vtd");function zE(t){this.a=t}n(zE,"wud");function yyt(t){this.f=t}n(yyt,"Rud");function vyt(t){this.a=t}n(vyt,"LEd");function kyt(t){this.a=t}n(kyt,"UEd");function xyt(t){this.a=t}n(xyt,"VEd");function Cyt(t){this.a=t}n(Cyt,"WEd");function Tyt(t){this.a=t}n(Tyt,"XEd");function Syt(t){this.a=t}n(Syt,"YEd");function Eyt(t){this.a=t}n(Eyt,"ZEd");function Byt(t){this.a=t}n(Byt,"$Ed");function Myt(t){this.a=t}n(Myt,"_Ed");function Ayt(t){this.a=t}n(Ayt,"aFd");function Lyt(t){this.a=t}n(Lyt,"gFd");function _yt(t){this.a=t}n(_yt,"iFd");function Fyt(t){this.a=t}n(Fyt,"jFd");function Oyt(t){this.a=t}n(Oyt,"kFd");function Dyt(t){this.a=t}n(Dyt,"lFd");function jyt(t){this.a=t}n(jyt,"nFd");function Iyt(t){this.a=t}n(Iyt,"qFd");function Pyt(t){this.a=t}n(Pyt,"wFd");function $yt(t){this.a=t}n($yt,"xFd");function Nyt(t){this.a=t}n(Nyt,"zFd");function Ryt(t){this.a=t}n(Ryt,"AFd");function zyt(t){this.a=t}n(zyt,"BFd");function qyt(t){this.a=t}n(qyt,"CFd");function Hyt(t){this.a=t}n(Hyt,"DFd");function Kyt(t){this.a=t}n(Kyt,"MFd");function Uyt(t){this.a=t}n(Uyt,"OFd");function Wyt(t){this.a=t}n(Wyt,"QFd");function Gyt(t){this.a=t}n(Gyt,"SFd");function gD(t){this.a=t}n(gD,"uGd");function hW(t){this.a=t}n(hW,"QGd");function or(t){this.b=t}n(or,"jGd");function Vyt(t){this.a=t}n(Vyt,"YOd");function Xyt(t){this.a=t}n(Xyt,"ePd");function Yyt(t){this.a=t}n(Yyt,"kPd");function Qyt(t){this.a=t}n(Qyt,"qPd");function Jyt(t){this.a=t}n(Jyt,"IPd");function Zyt(t){this.a=t}n(Zyt,"w$d");function tvt(t){this.a=t}n(tvt,"e_d");function evt(t){this.b=t}n(evt,"Q_d");function nvt(t){this.a=t}n(nvt,"c1d");function v9(t){this.a=t}n(v9,"c2d");function rvt(t){this.a=t}n(rvt,"l5d");function ivt(t){this.a=t}n(ivt,"I9d");function uW(t){this.c=t}n(uW,"L6d");function qE(t){this.e=t}n(qE,"t7d");function HE(t){this.a=t}n(HE,"pae");function KE(t){this.a=t}n(KE,"xae");function pD(t){this.a=t}n(pD,"Zde");function avt(t){this.d=t}n(avt,"Sde");function ovt(t){this.a=t}n(ovt,"mee");function dW(t){this.a=t}n(dW,"uje");function fW(t){this.a=t}n(fW,"Bte");function Pb(t){this.e=t}n(Pb,"Wse");function S6(){this.a=0}n(S6,"Xsd");function sn(){lc(this)}n(sn,"Tsb");function Bt(){Lj(this)}n(Bt,"bnb");function wD(){KTt(this)}n(wD,"cHb");function svt(){}n(svt,"I2b");function $b(){this.c=qZt}n($b,"s2d");function cvt(t,e){t.b+=e}n(cvt,"Prc");function Xae(t,e){e.Wb(t)}n(Xae,"Uje");function Yae(t){return t.a}n(Yae,"UC");function Qae(t){return t.a}n(Qae,"nC");function Jae(t){return t.a}n(Jae,"BC");function Zae(t){return t.a}n(Zae,"TB");function toe(t){return t.a}n(toe,"_B");function R(t){return t.e}n(R,"Adb");function eoe(){return null}n(eoe,"gC");function noe(){return null}n(noe,"MC");function roe(){JW(),PAe()}n(roe,"leb");function ioe(t){t.b.Of(t.e)}n(ioe,"qMb");function lvt(t){t.b=new PD}n(lvt,"A$b");function E6(t,e){t.b=e-t.b}n(E6,"A8b");function B6(t,e){t.a=e-t.a}n(B6,"x8b");function Te(t,e){t.push(e)}n(Te,"ZEb");function hvt(t,e){t.sort(e)}n(hvt,"bFb");function uvt(t,e){e.jd(t.a)}n(uvt,"Q5c");function aoe(t,e){Ci(e,t)}n(aoe,"Voc");function ooe(t,e,r){t.Yd(r,e)}n(ooe,"tp");function k9(t,e){t.e=e,e.b=t}n(k9,"Ss");function bW(t){Iu(),this.a=t}n(bW,"im");function dvt(t){Iu(),this.a=t}n(dvt,"xq");function fvt(t){Iu(),this.a=t}n(fvt,"Gq");function mD(t){og(),this.a=t}n(mD,"Xq");function bvt(t){ty(),aUt.le(t)}n(bvt,"gA");function gW(){gW=tt,new sn}n(gW,"vA");function Bf(){O9t.call(this)}n(Bf,"xz");function pW(){O9t.call(this)}n(pW,"Ceb");function wW(){Bf.call(this)}n(wW,"ueb");function yD(){Bf.call(this)}n(yD,"yeb");function gvt(){Bf.call(this)}n(gvt,"Hfb");function x9(){Bf.call(this)}n(x9,"_fb");function Gs(){Bf.call(this)}n(Gs,"cgb");function Jm(){Bf.call(this)}n(Jm,"Ngb");function Tn(){Bf.call(this)}n(Tn,"jib");function al(){Bf.call(this)}n(al,"Jrb");function pvt(){Bf.call(this)}n(pvt,"Srb");function mo(){Bf.call(this)}n(mo,"Dvb");function wvt(){Bf.call(this)}n(wvt,"Ied");function mvt(){this.a=this}n(mvt,"R1d");function UE(){this.Bb|=256}n(UE,"k1d");function yvt(){this.b=new Ekt}n(yvt,"vWb");function Tp(t,e){t.length=e}n(Tp,"aFb");function WE(t,e){Mt(t.a,e)}n(WE,"dyb");function soe(t,e){ztt(t.c,e)}n(soe,"jNb");function coe(t,e){fi(t.b,e)}n(coe,"qRc");function loe(t,e){gL(t.a,e)}n(loe,"VOd");function hoe(t,e){m$(t.a,e)}n(hoe,"WOd");function E5(t,e){tr(t.e,e)}n(E5,"eZd");function Zm(t){_L(t.c,t.b)}n(Zm,"Cke");function uoe(t,e){t.kc().Nb(e)}n(uoe,"uj");function mW(t){this.a=r4e(t)}n(mW,"Ufb");function oi(){this.a=new sn}n(oi,"_sb");function vvt(){this.a=new sn}n(vvt,"$Ab");function yW(){this.a=new N7t}n(yW,"xAb");function GE(){this.a=new Bt}n(GE,"gyb");function vD(){this.a=new Bt}n(vD,"BIb");function vW(){this.a=new Bt}n(vW,"GIb");function Dl(){this.a=new Gm}n(Dl,"wIb");function Mf(){this.a=new pMt}n(Mf,"gJb");function kW(){this.a=new m5}n(kW,"TTb");function xW(){this.a=new cEt}n(xW,"jGb");function CW(){this.a=new vxt}n(CW,"qGb");function kvt(){this.a=new Bt}n(kvt,"q_b");function xvt(){this.a=new Bt}n(xvt,"E_b");function Cvt(){this.a=new Bt}n(Cvt,"EZb");function TW(){this.a=new Bt}n(TW,"J$b");function Tvt(){this.d=new Bt}n(Tvt,"YNb");function Svt(){this.a=new MEt}n(Svt,"lXb");function Evt(){this.a=new oi}n(Evt,"y_b");function Bvt(){this.a=new sn}n(Bvt,"k5b");function Mvt(){this.b=new sn}n(Mvt,"E0b");function Avt(){this.b=new Bt}n(Avt,"jHc");function SW(){this.e=new Bt}n(SW,"ZNc");function Lvt(){this.a=new Dmt}n(Lvt,"ahc");function _vt(){this.d=new Bt}n(_vt,"UQc");function Fvt(){OSt.call(this)}n(Fvt,"uRc");function Ovt(){OSt.call(this)}n(Ovt,"BRc");function Dvt(){Bt.call(this)}n(Dvt,"VOc");function EW(){wW.call(this)}n(EW,"web");function BW(){GE.call(this)}n(BW,"Fyb");function jvt(){JB.call(this)}n(jvt,"fKb");function Ivt(){TW.call(this)}n(Ivt,"N$b");function M6(){svt.call(this)}n(M6,"P2b");function kD(){M6.call(this)}n(kD,"T2b");function t3(){svt.call(this)}n(t3,"z3b");function MW(){t3.call(this)}n(MW,"C3b");function Pvt(){FW.call(this)}n(Pvt,"cUc");function $vt(){FW.call(this)}n($vt,"hUc");function Nvt(){FW.call(this)}n(Nvt,"mUc");function Rvt(){OW.call(this)}n(Rvt,"Hdd");function A6(){qpt.call(this)}n(A6,"ACd");function AW(){qpt.call(this)}n(AW,"PCd");function Vs(){Ar.call(this)}n(Vs,"Ejd");function zvt(){n6t.call(this)}n(zvt,"LQd");function qvt(){n6t.call(this)}n(qvt,"lRd");function Hvt(){sn.call(this)}n(Hvt,"MSd");function Kvt(){sn.call(this)}n(Kvt,"VSd");function Uvt(){sn.call(this)}n(Uvt,"eTd");function xD(){zLt.call(this)}n(xD,"mXd");function Wvt(){oi.call(this)}n(Wvt,"i1d");function Gvt(){UE.call(this)}n(Gvt,"A1d");function CD(){dV.call(this)}n(CD,"q4d");function LW(){sn.call(this)}n(LW,"O5d");function TD(){dV.call(this)}n(TD,"R5d");function SD(){sn.call(this)}n(SD,"lae");function Vvt(){sn.call(this)}n(Vvt,"Cae");function _W(){DE.call(this)}n(_W,"ome");function Xvt(){_W.call(this)}n(Xvt,"Hme");function Yvt(){DE.call(this)}n(Yvt,"Nme");function Qvt(){FU.call(this)}n(Qvt,"Gre");function FW(){this.a=new oi}n(FW,"aUc");function Jvt(){this.a=new sn}n(Jvt,"nZc");function Zvt(){this.a=new Bt}n(Zvt,"DZc");function OW(){this.a=new sn}n(OW,"Ddd");function e3(){this.a=new Ar}n(e3,"Oqd");function t6t(){this.j=new Bt}n(t6t,"Oed");function e6t(){this.a=new Z6t}n(e6t,"obd");function n6t(){this.a=new Jpt}n(n6t,"wQd");function DW(){this.a=new Fgt}n(DW,"R5c");function L6(){L6=tt,Bat=new U}n(L6,"wb");function ED(){ED=tt,Mat=new i6t}n(ED,"Wk");function BD(){BD=tt,Aat=new r6t}n(BD,"kl");function r6t(){oD.call(this,"")}n(r6t,"ll");function i6t(){oD.call(this,"")}n(i6t,"Xk");function a6t(t){hLt.call(this,t)}n(a6t,"Dd");function o6t(t){hLt.call(this,t)}n(o6t,"Hd");function jW(t){PU.call(this,t)}n(jW,"xh");function IW(t){M7t.call(this,t)}n(IW,"$h");function doe(t){M7t.call(this,t)}n(doe,"Qi");function foe(t){IW.call(this,t)}n(foe,"wi");function boe(t){IW.call(this,t)}n(boe,"Sp");function goe(t){IW.call(this,t)}n(goe,"Js");function s6t(t){aP.call(this,t)}n(s6t,"Jp");function c6t(t){aP.call(this,t)}n(c6t,"Qp");function l6t(t){qxt.call(this,t)}n(l6t,"dq");function h6t(t){aG.call(this,t)}n(h6t,"Fv");function _6(t){iB.call(this,t)}n(_6,"aw");function PW(t){iB.call(this,t)}n(PW,"cw");function u6t(t){iB.call(this,t)}n(u6t,"_w");function $W(t){P7e.call(this,t)}n($W,"Mx");function NW(t){$W.call(this,t)}n(NW,"Nx");function yo(t){lTt.call(this,t)}n(yo,"yz");function d6t(t){yo.call(this,t)}n(d6t,"aC");function n3(){w9.call(this,{})}n(n3,"uC");function f6t(){f6t=tt,uje=new ke}n(f6t,"cC");function VE(){VE=tt,Fat=new l9t}n(VE,"zs");function b6t(){b6t=tt,rUt=new z}n(b6t,"Az");function RW(){RW=tt,iUt=new fn}n(RW,"$z");function XE(){XE=tt,kT=new be}n(XE,"$A");function MD(t){P5(),this.a=t}n(MD,"Ovb");function AD(t){dJ(),this.a=t}n(AD,"FKc");function Nb(t){fI(),this.f=t}n(Nb,"zud");function LD(t){fI(),this.f=t}n(LD,"Bud");function g6t(t){Yxt(),this.a=t}n(g6t,"Cde");function p6t(t){t.b=null,t.c=0}n(p6t,"Lyb");function poe(t,e){t.e=e,YPt(t,e)}n(poe,"kz");function woe(t,e){t.a=e,T8e(t)}n(woe,"NYb");function _D(t,e,r){t.a[e.g]=r}n(_D,"cLb");function moe(t,e,r){Nve(r,t,e)}n(moe,"zsd");function yoe(t,e){bhe(e.i,t.n)}n(yoe,"shc");function w6t(t,e){$me(t).Cd(e)}n(w6t,"HCc");function voe(t,e){t.a.ec().Mc(e)}n(voe,"yw");function m6t(t,e){return t.g-e.g}n(m6t,"ns");function koe(t,e){return t*t/e}n(koe,"AUb");function jt(t){return Ie(t),t}n(jt,"Heb");function it(t){return Ie(t),t}n(it,"Kfb");function C9(t){return Ie(t),t}n(C9,"Mfb");function xoe(t){return new IE(t)}n(xoe,"JC");function Coe(t){return new $p(t)}n(Coe,"LC");function zW(t){return Ie(t),t}n(zW,"shb");function Toe(t){return Ie(t),t}n(Toe,"Chb");function YE(t){yo.call(this,t)}n(YE,"teb");function Wa(t){yo.call(this,t)}n(Wa,"veb");function y6t(t){yo.call(this,t)}n(y6t,"zeb");function FD(t){lTt.call(this,t)}n(FD,"Aeb");function B5(t){yo.call(this,t)}n(B5,"Ifb");function Le(t){yo.call(this,t)}n(Le,"agb");function Ga(t){yo.call(this,t)}n(Ga,"dgb");function v6t(t){yo.call(this,t)}n(v6t,"Mgb");function r3(t){yo.call(this,t)}n(r3,"Ogb");function L0(t){yo.call(this,t)}n(L0,"kib");function _0(t){yo.call(this,t)}n(_0,"Jed");function i3(t){yo.call(this,t)}n(i3,"Ked");function Lu(t){yo.call(this,t)}n(Lu,"CDd");function OD(t){yo.call(this,t)}n(OD,"Mle");function Bn(t){yo.call(this,t)}n(Bn,"Lqe");function sc(t){Ie(t),this.a=t}n(sc,"mob");function qW(t){return Gf(t),t}n(qW,"yYb");function F6(t){ZX(t,t.length)}n(F6,"Nnb");function O6(t){return t.b==t.c}n(O6,"nmb");function Sp(t){return!!t&&t.b}n(Sp,"Vyb");function Soe(t){return!!t&&t.k}n(Soe,"gLb");function Eoe(t){return!!t&&t.j}n(Eoe,"hLb");function Boe(t,e,r){t.c.Ef(e,r)}n(Boe,"F_b");function k6t(t,e){t.be(e),e.ae(t)}n(k6t,"Ts");function a3(t){Iu(),this.a=Cn(t)}n(a3,"Fy");function DD(){this.a=En(Cn(ka))}n(DD,"Gb");function x6t(){throw R(new Tn)}n(x6t,"jc");function Moe(){throw R(new Tn)}n(Moe,"jn");function HW(){throw R(new Tn)}n(HW,"Hh");function C6t(){throw R(new Tn)}n(C6t,"Xi");function Aoe(){throw R(new Tn)}n(Aoe,"Xj");function Loe(){throw R(new Tn)}n(Loe,"Yj");function QE(){QE=tt,ty()}n(QE,"Qz");function F0(){m9.call(this,"")}n(F0,"Qhb");function D6(){m9.call(this,"")}n(D6,"Rhb");function kd(){m9.call(this,"")}n(kd,"bib");function rw(){m9.call(this,"")}n(rw,"cib");function KW(t){Wa.call(this,t)}n(KW,"eib");function UW(t){Wa.call(this,t)}n(UW,"xeb");function _u(t){Le.call(this,t)}n(_u,"Vgb");function M5(t){k5.call(this,t)}n(M5,"Lqb");function T6t(t){M5.call(this,t)}n(T6t,"Sqb");function jD(t){GB.call(this,t)}n(jD,"irb");function ID(t){CV.call(this,t,0)}n(ID,"pc");function PD(){jY.call(this,12,3)}n(PD,"Ri");function q(t,e){return nEt(t,e)}n(q,"WC");function JE(t,e){return vP(t,e)}n(JE,"cFb");function _oe(t,e){return t.a-e.a}n(_oe,"Reb");function Foe(t,e){return t.a-e.a}n(Foe,"afb");function Ooe(t,e){return t.a-e.a}n(Ooe,"Wgb");function Doe(t,e){return e in t.a}n(Doe,"pC");function S6t(t){return t.a?t.b:0}n(S6t,"Vvb");function joe(t){return t.a?t.b:0}n(joe,"cwb");function Ioe(t,e,r){e.Cd(t.a[r])}n(Ioe,"Fxb");function Poe(t,e,r){e.Pe(t.a[r])}n(Poe,"Kxb");function $oe(t,e){t.b=new wa(e)}n($oe,"uKb");function Noe(t,e){return t.b=e,t}n(Noe,"QGb");function E6t(t,e){return t.c=e,t}n(E6t,"RGb");function B6t(t,e){return t.f=e,t}n(B6t,"SGb");function Roe(t,e){return t.g=e,t}n(Roe,"TGb");function WW(t,e){return t.a=e,t}n(WW,"yJb");function GW(t,e){return t.f=e,t}n(GW,"zJb");function zoe(t,e){return t.k=e,t}n(zoe,"AJb");function VW(t,e){return t.a=e,t}n(VW,"WNb");function qoe(t,e){return t.e=e,t}n(qoe,"XNb");function XW(t,e){return t.e=e,t}n(XW,"BYb");function Hoe(t,e){return t.f=e,t}n(Hoe,"CYb");function Koe(t,e){t.b=!0,t.d=e}n(Koe,"BRb");function Uoe(t,e){return t.b-e.b}n(Uoe,"WNc");function Woe(t,e){return t.g-e.g}n(Woe,"KSc");function Goe(t,e){return t?0:e-1}n(Goe,"pmc");function M6t(t,e){return t?0:e-1}n(M6t,"qKc");function Voe(t,e){return t?e-1:0}n(Voe,"pKc");function Xoe(t,e){return t.s-e.s}n(Xoe,"uVc");function Yoe(t,e){return e.rg(t)}n(Yoe,"Xed");function Rb(t,e){return t.b=e,t}n(Rb,"Xfd");function ZE(t,e){return t.a=e,t}n(ZE,"Wfd");function zb(t,e){return t.c=e,t}n(zb,"Yfd");function qb(t,e){return t.d=e,t}n(qb,"Zfd");function Hb(t,e){return t.e=e,t}n(Hb,"$fd");function YW(t,e){return t.f=e,t}n(YW,"_fd");function j6(t,e){return t.a=e,t}n(j6,"mgd");function A5(t,e){return t.b=e,t}n(A5,"ngd");function L5(t,e){return t.c=e,t}n(L5,"ogd");function Kt(t,e){return t.c=e,t}n(Kt,"Khd");function ae(t,e){return t.b=e,t}n(ae,"Jhd");function Ut(t,e){return t.d=e,t}n(Ut,"Lhd");function Wt(t,e){return t.e=e,t}n(Wt,"Mhd");function Qoe(t,e){return t.f=e,t}n(Qoe,"Nhd");function Gt(t,e){return t.g=e,t}n(Gt,"Ohd");function Vt(t,e){return t.a=e,t}n(Vt,"Phd");function Xt(t,e){return t.i=e,t}n(Xt,"Qhd");function Yt(t,e){return t.j=e,t}n(Yt,"Rhd");function Joe(t,e){Ud(),ko(e,t)}n(Joe,"coc");function Zoe(t,e,r){g0e(t.a,e,r)}n(Zoe,"bbd");function tB(t){Vj.call(this,t)}n(tB,"Fjd");function A6t(t){m4e.call(this,t)}n(A6t,"TRb");function L6t(t){hSt.call(this,t)}n(L6t,"pLc");function QW(t){hSt.call(this,t)}n(QW,"ILc");function xd(t){pg.call(this,t)}n(xd,"gLd");function _6t(t){PI.call(this,t)}n(_6t,"DPd");function F6t(t){PI.call(this,t)}n(F6t,"FPd");function O6t(){oV.call(this,"")}n(O6t,"x2b");function Hi(){this.a=0,this.b=0}n(Hi,"pjd");function D6t(){this.b=0,this.a=0}n(D6t,"ATc");function j6t(t,e){t.b=0,Vp(t,e)}n(j6t,"lXd");function I6t(t,e){return t.k=e,t}n(I6t,"Kqd");function tse(t,e){return t.j=e,t}n(tse,"Lqd");function ese(t,e){t.c=e,t.b=!0}n(ese,"vfe");function P6t(){P6t=tt,Tje=d6e()}n(P6t,"Etb");function Cd(){Cd=tt,wUe=Cve()}n(Cd,"bvd");function $6t(){$6t=tt,ji=j6e()}n($6t,"dvd");function JW(){JW=tt,Cb=gy()}n(JW,"MId");function _5(){_5=tt,zZt=Tve()}n(_5,"jTd");function N6t(){N6t=tt,nWe=Sve()}n(N6t,"Ole");function ZW(){ZW=tt,Go=k8e()}n(ZW,"Qle");function _h(t){return t.e&&t.e()}n(_h,"mfb");function R6t(t){return t.l|t.m<<22}n(R6t,"FD");function z6t(t,e){return t.c._b(e)}n(z6t,"Oc");function q6t(t,e){return RFt(t.b,e)}n(q6t,"En");function $D(t){return t?t.d:null}n($D,"Vd");function nse(t){return t?t.g:null}n(nse,"Vv");function rse(t){return t?t.i:null}n(rse,"$v");function Af(t){return H1(t),t.o}n(Af,"nfb");function iw(t,e){return t.a+=e,t}n(iw,"Khb");function ND(t,e){return t.a+=e,t}n(ND,"Lhb");function O0(t,e){return t.a+=e,t}n(O0,"Ohb");function Kb(t,e){return t.a+=e,t}n(Kb,"Uhb");function tG(t,e){for(;t.Bd(e););}n(tG,"_wb");function eB(t){this.a=new o3(t)}n(eB,"atb");function H6t(){throw R(new Tn)}n(H6t,"$tb");function K6t(){throw R(new Tn)}n(K6t,"qpb");function U6t(){throw R(new Tn)}n(U6t,"rpb");function W6t(){throw R(new Tn)}n(W6t,"spb");function G6t(){throw R(new Tn)}n(G6t,"vpb");function V6t(){throw R(new Tn)}n(V6t,"Opb");function D0(t){this.a=new pI(t)}n(D0,"yAb");function X6t(){this.a=new w8(IYt)}n(X6t,"H2c");function Y6t(){this.b=new w8(eYt)}n(Y6t,"TVc");function Q6t(){this.a=new w8(oQt)}n(Q6t,"l6c");function J6t(){this.b=new w8(Cct)}n(J6t,"$ad");function Z6t(){this.b=new w8(Cct)}n(Z6t,"nbd");function nB(t){this.a=0,this.b=t}n(nB,"T2c");function eG(t){MRt(),YAe(this,t)}n(eG,"Bib");function F5(t){return Fd(t),t.a}n(F5,"QDb");function T9(t){return t.b!=t.d.c}n(T9,"dvb");function nG(t,e){return t.d[e.p]}n(nG,"AMc");function t7t(t,e){return dCe(t,e)}n(t7t,"ued");function rG(t,e,r){t.splice(e,r)}n(rG,"$Eb");function aw(t,e){for(;t.Re(e););}n(aw,"ixb");function e7t(t){t.c?b$t(t):g$t(t)}n(e7t,"NKb");function n7t(){throw R(new Tn)}n(n7t,"mQd");function r7t(){throw R(new Tn)}n(r7t,"nQd");function i7t(){throw R(new Tn)}n(i7t,"oQd");function a7t(){throw R(new Tn)}n(a7t,"pQd");function o7t(){throw R(new Tn)}n(o7t,"qQd");function s7t(){throw R(new Tn)}n(s7t,"rQd");function c7t(){throw R(new Tn)}n(c7t,"sQd");function l7t(){throw R(new Tn)}n(l7t,"tQd");function h7t(){throw R(new Tn)}n(h7t,"uQd");function u7t(){throw R(new Tn)}n(u7t,"vQd");function ise(){throw R(new mo)}n(ise,"zue");function ase(){throw R(new mo)}n(ase,"Aue");function S9(t){this.a=new d7t(t)}n(S9,"oue");function d7t(t){lwe(this,t,z7e())}n(d7t,"Dte");function E9(t){return!t||HTt(t)}n(E9,"cve");function B9(t){return i1[t]!=-1}n(B9,"Cqe");function ose(){Cz!=0&&(Cz=0),Tz=-1}n(ose,"Yz");function f7t(){Eat==null&&(Eat=[])}n(f7t,"beb");function M9(t,e){yw.call(this,t,e)}n(M9,"eg");function O5(t,e){M9.call(this,t,e)}n(O5,"gg");function b7t(t,e){this.a=t,this.b=e}n(b7t,"Nj");function g7t(t,e){this.a=t,this.b=e}n(g7t,"hk");function p7t(t,e){this.a=t,this.b=e}n(p7t,"nk");function w7t(t,e){this.a=t,this.b=e}n(w7t,"pk");function m7t(t,e){this.a=t,this.b=e}n(m7t,"xk");function y7t(t,e){this.a=t,this.b=e}n(y7t,"zk");function v7t(t,e){this.a=t,this.b=e}n(v7t,"Kk");function D5(t,e){this.e=t,this.d=e}n(D5,"ne");function iG(t,e){this.b=t,this.c=e}n(iG,"Hf");function k7t(t,e){this.b=t,this.a=e}n(k7t,"cp");function x7t(t,e){this.b=t,this.a=e}n(x7t,"Cp");function C7t(t,e){this.b=t,this.a=e}n(C7t,"qr");function T7t(t,e){this.b=t,this.a=e}n(T7t,"Rr");function S7t(t,e){this.a=t,this.b=e}n(S7t,"vr");function RD(t,e){this.a=t,this.b=e}n(RD,"su");function E7t(t,e){this.a=t,this.f=e}n(E7t,"Hu");function Ub(t,e){this.g=t,this.i=e}n(Ub,"gp");function gn(t,e){this.f=t,this.g=e}n(gn,"qs");function B7t(t,e){this.b=t,this.c=e}n(B7t,"Gv");function M7t(t){bV(t.dc()),this.c=t}n(M7t,"Wc");function sse(t,e){this.a=t,this.b=e}n(sse,"Ex");function A7t(t,e){this.a=t,this.b=e}n(A7t,"ey");function L7t(t){this.a=l(Cn(t),15)}n(L7t,"pv");function aG(t){this.a=l(Cn(t),15)}n(aG,"uv");function _7t(t){this.a=l(Cn(t),85)}n(_7t,"nw");function rB(t){this.b=l(Cn(t),85)}n(rB,"rf");function iB(t){this.b=l(Cn(t),51)}n(iB,"Tr");function aB(){this.q=new v.Date}n(aB,"uB");function zD(t,e){this.a=t,this.b=e}n(zD,"CC");function F7t(t,e){return xs(t.b,e)}n(F7t,"Bt");function A9(t,e){return t.b.Hc(e)}n(A9,"tpb");function O7t(t,e){return t.b.Ic(e)}n(O7t,"upb");function D7t(t,e){return t.b.Qc(e)}n(D7t,"wpb");function j7t(t,e){return t.b.Hc(e)}n(j7t,"Pqb");function I7t(t,e){return t.c.uc(e)}n(I7t,"pqb");function P7t(t,e){return er(t.c,e)}n(P7t,"rqb");function Fh(t,e){return t.a._b(e)}n(Fh,"Zsb");function $7t(t,e){return t>e&&e0}n(WD,"Idb");function GD(t,e){return Ko(t,e)<0}n(GD,"Ldb");function t8t(t,e){return lI(t.a,e)}n(t8t,"Urb");function Ese(t,e){rEt.call(this,t,e)}n(Ese,"Beb");function dG(t){MI(),qxt.call(this,t)}n(dG,"Qx");function fG(t,e){YCt(t,t.length,e)}n(fG,"Lnb");function O9(t,e){TTt(t,t.length,e)}n(O9,"Mnb");function K6(t,e){return t.a.get(e)}n(K6,"Ktb");function e8t(t,e){return xs(t.e,e)}n(e8t,"bub");function bG(t){return Ie(t),!1}n(bG,"Zxb");function gG(t){this.a=l(Cn(t),229)}n(gG,"zw");function bB(t){ce.call(this,t,21)}n(bB,"$wb");function gB(t,e){gn.call(this,t,e)}n(gB,"dAb");function VD(t,e){gn.call(this,t,e)}n(VD,"yBb");function n8t(t,e){this.b=t,this.a=e}n(n8t,"ssb");function pB(t,e){this.d=t,this.e=e}n(pB,"xlb");function r8t(t,e){this.a=t,this.b=e}n(r8t,"jEb");function i8t(t,e){this.a=t,this.b=e}n(i8t,"pEb");function a8t(t,e){this.a=t,this.b=e}n(a8t,"vEb");function o8t(t,e){this.a=t,this.b=e}n(o8t,"BEb");function c3(t,e){this.a=t,this.b=e}n(c3,"TFb");function s8t(t,e){this.b=t,this.a=e}n(s8t,"QEb");function pG(t,e){this.b=t,this.a=e}n(pG,"sHb");function wG(t,e){gn.call(this,t,e)}n(wG,"EHb");function mG(t,e){gn.call(this,t,e)}n(mG,"MHb");function ow(t,e){gn.call(this,t,e)}n(ow,"jIb");function XD(t,e){gn.call(this,t,e)}n(XD,"$Jb");function YD(t,e){gn.call(this,t,e)}n(YD,"FKb");function QD(t,e){gn.call(this,t,e)}n(QD,"wLb");function wB(t,e){gn.call(this,t,e)}n(wB,"nOb");function yG(t,e){this.b=t,this.a=e}n(yG,"kPb");function mB(t,e){gn.call(this,t,e)}n(mB,"JPb");function vG(t,e){this.b=t,this.a=e}n(vG,"fRb");function yB(t,e){gn.call(this,t,e)}n(yB,"JRb");function c8t(t,e){this.b=t,this.a=e}n(c8t,"OTb");function kG(t,e){gn.call(this,t,e)}n(kG,"UUb");function JD(t,e){gn.call(this,t,e)}n(JD,"BWb");function D9(t,e){gn.call(this,t,e)}n(D9,"tXb");function U6(t,e,r){t.splice(e,0,r)}n(U6,"XEb");function Bse(t,e,r){t.Mb(r)&&e.Cd(r)}n(Bse,"pr");function Mse(t,e,r){e.Pe(t.a.Ye(r))}n(Mse,"lEb");function Ase(t,e,r){e.Dd(t.a.Ze(r))}n(Ase,"rEb");function Lse(t,e,r){e.Cd(t.a.Kb(r))}n(Lse,"xEb");function _se(t,e){return Ys(t.c,e)}n(_se,"eYb");function Fse(t,e){return Ys(t.e,e)}n(Fse,"cGb");function vB(t,e){gn.call(this,t,e)}n(vB,"qZb");function kB(t,e){gn.call(this,t,e)}n(kB,"V$b");function W6(t,e){gn.call(this,t,e)}n(W6,"s3b");function xG(t,e){gn.call(this,t,e)}n(xG,"Q8b");function si(t,e){gn.call(this,t,e)}n(si,"icc");function xB(t,e){gn.call(this,t,e)}n(xB,"xec");function l8t(t,e){this.a=t,this.b=e}n(l8t,"gic");function h8t(t,e){this.a=t,this.b=e}n(h8t,"Xic");function u8t(t,e){this.a=t,this.b=e}n(u8t,"h4b");function d8t(t,e){this.a=t,this.b=e}n(d8t,"vjc");function f8t(t,e){this.a=t,this.b=e}n(f8t,"xjc");function b8t(t,e){this.a=t,this.b=e}n(b8t,"Hjc");function g8t(t,e){this.b=t,this.a=e}n(g8t,"hjc");function p8t(t,e){this.b=t,this.a=e}n(p8t,"Jjc");function CG(t,e){this.b=t,this.a=e}n(CG,"_Yb");function I5(t,e){this.c=t,this.d=e}n(I5,"eZb");function w8t(t,e){this.e=t,this.d=e}n(w8t,"Q1b");function m8t(t,e){this.a=t,this.b=e}n(m8t,"Tjc");function y8t(t,e){this.a=t,this.b=e}n(y8t,"ulc");function v8t(t,e){this.a=t,this.b=e}n(v8t,"Elc");function k8t(t,e){this.b=t,this.a=e}n(k8t,"fqc");function x8t(t,e){this.b=e,this.c=t}n(x8t,"smc");function CB(t,e){gn.call(this,t,e)}n(CB,"fnc");function j9(t,e){gn.call(this,t,e)}n(j9,"Cnc");function ZD(t,e){gn.call(this,t,e)}n(ZD,"koc");function TG(t,e){gn.call(this,t,e)}n(TG,"ktc");function G6(t,e){gn.call(this,t,e)}n(G6,"ctc");function tj(t,e){gn.call(this,t,e)}n(tj,"utc");function ej(t,e){gn.call(this,t,e)}n(ej,"Ftc");function I9(t,e){gn.call(this,t,e)}n(I9,"Rtc");function SG(t,e){gn.call(this,t,e)}n(SG,"_tc");function nj(t,e){gn.call(this,t,e)}n(nj,"iuc");function V6(t,e){gn.call(this,t,e)}n(V6,"vuc");function EG(t,e){gn.call(this,t,e)}n(EG,"Duc");function X6(t,e){gn.call(this,t,e)}n(X6,"Puc");function Y6(t,e){gn.call(this,t,e)}n(Y6,"_uc");function Bp(t,e){gn.call(this,t,e)}n(Bp,"pvc");function rj(t,e){gn.call(this,t,e)}n(rj,"yvc");function ij(t,e){gn.call(this,t,e)}n(ij,"Hvc");function BG(t,e){gn.call(this,t,e)}n(BG,"Pvc");function P9(t,e){gn.call(this,t,e)}n(P9,"dxc");function sw(t,e){gn.call(this,t,e)}n(sw,"bDc");function aj(t,e){gn.call(this,t,e)}n(aj,"nDc");function TB(t,e){gn.call(this,t,e)}n(TB,"yDc");function $9(t,e){gn.call(this,t,e)}n($9,"LDc");function Mp(t,e){gn.call(this,t,e)}n(Mp,"bEc");function SB(t,e){gn.call(this,t,e)}n(SB,"lEc");function MG(t,e){gn.call(this,t,e)}n(MG,"tEc");function oj(t,e){gn.call(this,t,e)}n(oj,"CEc");function sj(t,e){gn.call(this,t,e)}n(sj,"LEc");function cj(t,e){gn.call(this,t,e)}n(cj,"UEc");function lj(t,e){gn.call(this,t,e)}n(lj,"mFc");function hj(t,e){gn.call(this,t,e)}n(hj,"vFc");function uj(t,e){gn.call(this,t,e)}n(uj,"EFc");function dj(t,e){gn.call(this,t,e)}n(dj,"SKc");function C8t(t,e){this.b=t,this.a=e}n(C8t,"cNc");function AG(t,e){gn.call(this,t,e)}n(AG,"tNc");function T8t(t,e){this.a=t,this.b=e}n(T8t,"QOc");function S8t(t,e){this.a=t,this.b=e}n(S8t,"ePc");function E8t(t,e){this.a=t,this.b=e}n(E8t,"LPc");function LG(t,e){gn.call(this,t,e)}n(LG,"xQc");function _G(t,e){gn.call(this,t,e)}n(_G,"FQc");function B8t(t,e){this.a=t,this.b=e}n(B8t,"MQc");function Ose(t,e){return H5(),e!=t}n(Ose,"FMc");function N9(t){return Je(t.a),t.b}n(N9,"Uvb");function fj(t){return Rke(t,t.c),t}n(fj,"qYb");function M8t(){return P6t(),new Tje}n(M8t,"Itb");function A8t(){rM(),this.a=new GV}n(A8t,"_ec");function L8t(){RL(),this.a=new oi}n(L8t,"lSc");function _8t(){GI(),this.b=new oi}n(_8t,"aRc");function F8t(t,e){this.b=t,this.d=e}n(F8t,"xRc");function O8t(t,e){this.a=t,this.b=e}n(O8t,"nVc");function D8t(t,e){this.a=t,this.b=e}n(D8t,"pVc");function j8t(t,e){this.a=t,this.b=e}n(j8t,"GWc");function I8t(t,e){this.b=t,this.a=e}n(I8t,"IXc");function FG(t,e){gn.call(this,t,e)}n(FG,"gTc");function OG(t,e){gn.call(this,t,e)}n(OG,"eVc");function EB(t,e){gn.call(this,t,e)}n(EB,"$Vc");function Vb(t,e){gn.call(this,t,e)}n(Vb,"XYc");function bj(t,e){gn.call(this,t,e)}n(bj,"MZc");function BB(t,e){gn.call(this,t,e)}n(BB,"t_c");function DG(t,e){gn.call(this,t,e)}n(DG,"B_c");function jG(t,e){gn.call(this,t,e)}n(jG,"z2c");function R9(t,e){gn.call(this,t,e)}n(R9,"h3c");function IG(t,e){gn.call(this,t,e)}n(IG,"$3c");function gj(t,e){gn.call(this,t,e)}n(gj,"i4c");function MB(t,e){gn.call(this,t,e)}n(MB,"l5c");function pj(t,e){gn.call(this,t,e)}n(pj,"v5c");function wj(t,e){gn.call(this,t,e)}n(wj,"g6c");function mj(t,e){gn.call(this,t,e)}n(mj,"A6c");function yj(t,e){gn.call(this,t,e)}n(yj,"a7c");function PG(t,e){gn.call(this,t,e)}n(PG,"B8c");function vj(t,e){gn.call(this,t,e)}n(vj,"d9c");function $G(t,e){gn.call(this,t,e)}n($G,"D9c");function z9(t,e){gn.call(this,t,e)}n(z9,"tad");function kj(t,e){gn.call(this,t,e)}n(kj,"hbd");function NG(t,e){gn.call(this,t,e)}n(NG,"Nbd");function q9(t,e){gn.call(this,t,e)}n(q9,"Ybd");function RG(t,e){gn.call(this,t,e)}n(RG,"ndd");function P8t(t,e){this.b=t,this.a=e}n(P8t,"z1c");function $8t(t,e){this.b=t,this.a=e}n($8t,"B1c");function N8t(t,e){this.b=t,this.a=e}n(N8t,"d2c");function R8t(t,e){this.b=t,this.a=e}n(R8t,"f2c");function zG(t,e){this.a=t,this.b=e}n(zG,"m9c");function z8t(t,e){this.a=t,this.b=e}n(z8t,"xed");function q8t(t,e){this.a=t,this.b=e}n(q8t,"ffd");function xt(t,e){this.a=t,this.b=e}n(xt,"rjd");function Q6(t,e){gn.call(this,t,e)}n(Q6,"Sjd");function H9(t,e){gn.call(this,t,e)}n(H9,"Zhd");function l3(t,e){gn.call(this,t,e)}n(l3,"lid");function J6(t,e){gn.call(this,t,e)}n(J6,"vkd");function K9(t,e){gn.call(this,t,e)}n(K9,"Gmd");function xj(t,e){gn.call(this,t,e)}n(xj,"Pmd");function AB(t,e){gn.call(this,t,e)}n(AB,"Zmd");function Z6(t,e){gn.call(this,t,e)}n(Z6,"jnd");function Cj(t,e){gn.call(this,t,e)}n(Cj,"Gnd");function LB(t,e){gn.call(this,t,e)}n(LB,"Rnd");function cw(t,e){gn.call(this,t,e)}n(cw,"eod");function U9(t,e){gn.call(this,t,e)}n(U9,"qod");function t7(t,e){gn.call(this,t,e)}n(t7,"Eod");function e7(t,e){gn.call(this,t,e)}n(e7,"Qod");function W9(t,e){gn.call(this,t,e)}n(W9,"upd");function _B(t,e){gn.call(this,t,e)}n(_B,"Rpd");function lw(t,e){gn.call(this,t,e)}n(lw,"eqd");function Tj(t,e){gn.call(this,t,e)}n(Tj,"nqd");function H8t(t,e){gn.call(this,t,e)}n(H8t,"vqd");function FB(t,e){gn.call(this,t,e)}n(FB,"Hrd");function K8t(t,e){this.a=t,this.b=e}n(K8t,"esd");function U8t(t,e){this.a=t,this.b=e}n(U8t,"gsd");function W8t(t,e){this.a=t,this.b=e}n(W8t,"isd");function G8t(t,e){this.a=t,this.b=e}n(G8t,"Osd");function V8t(t,e){this.a=t,this.b=e}n(V8t,"Qsd");function X8t(t,e){this.a=t,this.b=e}n(X8t,"Ssd");function ki(t,e){this.a=t,this.b=e}n(ki,"Ptd");function Y8t(t,e){this.a=t,this.b=e}n(Y8t,"JEd");function Q8t(t,e){this.a=t,this.b=e}n(Q8t,"KEd");function J8t(t,e){this.a=t,this.b=e}n(J8t,"MEd");function Z8t(t,e){this.a=t,this.b=e}n(Z8t,"NEd");function tkt(t,e){this.a=t,this.b=e}n(tkt,"QEd");function ekt(t,e){this.a=t,this.b=e}n(ekt,"REd");function nkt(t,e){this.b=t,this.a=e}n(nkt,"SEd");function rkt(t,e){this.b=t,this.a=e}n(rkt,"TEd");function ikt(t,e){this.b=t,this.a=e}n(ikt,"bFd");function akt(t,e){this.b=t,this.a=e}n(akt,"dFd");function okt(t,e){this.a=t,this.b=e}n(okt,"fFd");function skt(t,e){this.a=t,this.b=e}n(skt,"hFd");function OB(t,e){gn.call(this,t,e)}n(OB,"utd");function ckt(t,e){this.a=t,this.b=e}n(ckt,"sFd");function lkt(t,e){this.a=t,this.b=e}n(lkt,"uFd");function h3(t,e){gn.call(this,t,e)}n(h3,"bGd");function hkt(t,e){this.f=t,this.c=e}n(hkt,"uId");function qG(t,e){return Ys(t.g,e)}n(qG,"Ofd");function Dse(t,e){return Ys(e.b,t)}n(Dse,"Tqc");function ukt(t,e){return M$(t.a,e)}n(ukt,"HPd");function jse(t,e){return-t.b.af(e)}n(jse,"Idd");function Ise(t,e){t&&Hn(XF,t,e)}n(Ise,"IId");function HG(t,e){t.i=null,AA(t,e)}n(HG,"yWd");function Pse(t,e,r){rjt(e,vN(t,r))}n(Pse,"kEd");function $se(t,e,r){rjt(e,vN(t,r))}n($se,"lEd");function Nse(t,e){fxe(t.a,l(e,58))}n(Nse,"mFd");function dkt(t,e){l2e(t.a,l(e,12))}n(dkt,"_Mc");function DB(t,e){this.a=t,this.b=e}n(DB,"KTd");function fkt(t,e){this.a=t,this.b=e}n(fkt,"NTd");function bkt(t,e){this.a=t,this.b=e}n(bkt,"B5d");function gkt(t,e){this.a=t,this.b=e}n(gkt,"Z6d");function pkt(t,e){this.a=t,this.b=e}n(pkt,"Ble");function wkt(t,e){this.d=t,this.b=e}n(wkt,"afe");function mkt(t,e){this.e=t,this.a=e}n(mkt,"wfe");function G9(t,e){this.b=t,this.c=e}n(G9,"Eke");function KG(t,e){this.i=t,this.g=e}n(KG,"zNd");function UG(t,e){this.d=t,this.e=e}n(UG,"kZd");function Rse(t,e){T2e(new ze(t),e)}n(Rse,"ave");function jB(t){return hC(t.c,t.b)}n(jB,"Dke");function eo(t){return t?t.md():null}n(eo,"Wd");function ot(t){return t??null}n(ot,"dE");function Oi(t){return typeof t===znt}n(Oi,"bE");function Ap(t){return typeof t===iv}n(Ap,"$D");function Lp(t){return typeof t===czt}n(Lp,"_D");function Xb(t,e){return Ko(t,e)==0}n(Xb,"Gdb");function IB(t,e){return Ko(t,e)>=0}n(IB,"Jdb");function n7(t,e){return Ko(t,e)!=0}n(n7,"Pdb");function PB(t,e){return zwe(t.Kc(),e)}n(PB,"ar");function Ed(t,e){return t.Rd().Xb(e)}n(Ed,"Qm");function ykt(t){return Tc(t),t.d.gc()}n(ykt,"kg");function $B(t){return b7(t==null),t}n($B,"fE");function r7(t,e){return t.a+=""+e,t}n(r7,"Mhb");function Ia(t,e){return t.a+=""+e,t}n(Ia,"Nhb");function i7(t,e){return t.a+=""+e,t}n(i7,"Whb");function is(t,e){return t.a+=""+e,t}n(is,"Yhb");function jn(t,e){return t.a+=""+e,t}n(jn,"Zhb");function WG(t,e){return t.a+=""+e,t}n(WG,"Vhb");function zse(t){return""+(Ie(t),t)}n(zse,"Pfb");function vkt(t){lc(this),R7(this,t)}n(vkt,"Vsb");function kkt(){DY(),RX.call(this)}n(kkt,"YFc");function xkt(t,e){UX.call(this,t,e)}n(xkt,"pxb");function Ckt(t,e){UX.call(this,t,e)}n(Ckt,"txb");function NB(t,e){UX.call(this,t,e)}n(NB,"xxb");function pa(t,e){Kr(t,e,t.c.b,t.c)}n(pa,"Oub");function hw(t,e){Kr(t,e,t.a,t.a.a)}n(hw,"Nub");function GG(t){return ue(t,0),null}n(GG,"Iob");function Tkt(){this.b=0,this.a=!1}n(Tkt,"Xvb");function Skt(){this.b=0,this.a=!1}n(Skt,"dwb");function Ekt(){this.b=new o3(Wp(12))}n(Ekt,"Et");function Bkt(){Bkt=tt,mIe=wn(j$())}n(Bkt,"pMb");function Mkt(){Mkt=tt,RPe=wn(NPt())}n(Mkt,"ncc");function Akt(){Akt=tt,lqe=wn(m_t())}n(Akt,"aZc");function VG(){VG=tt,gW(),oUt=new sn}n(VG,"WA");function Oh(t){return t.a=0,t.b=0,t}n(Oh,"hjd");function Lkt(t,e){return t.a=e.g+1,t}n(Lkt,"qfd");function Sj(t,e){jp.call(this,t,e)}n(Sj,"yNd");function ee(t,e){Nr.call(this,t,e)}n(ee,"lGd");function uw(t,e){KG.call(this,t,e)}n(uw,"N$d");function _kt(t,e){Q9.call(this,t,e)}n(_kt,"Whe");function Ej(t,e){ky.call(this,t,e)}n(Ej,"She");function qn(t,e){dB(),Hn(NH,t,e)}n(qn,"RRd");function Fkt(t,e){t.q.setTime(Nf(e))}n(Fkt,"sB");function qse(t){v.clearTimeout(t)}n(qse,"Xz");function Hse(t){return Cn(t),new a7(t)}n(Hse,"cr");function Okt(t,e){return ot(t)===ot(e)}n(Okt,"mb");function Dkt(t,e){return t.a.a.a.cc(e)}n(Dkt,"Mw");function Bj(t,e){return hl(t.a,0,e)}n(Bj,"qeb");function XG(t){return W0e(l(t,74))}n(XG,"SSb");function u3(t){return xi((Ie(t),t))}n(u3,"Nfb");function Kse(t){return xi((Ie(t),t))}n(Kse,"Ofb");function jkt(t){return ks(t.l,t.m,t.h)}n(jkt,"gD");function YG(t,e){return Ho(t.a,e.a)}n(YG,"egb");function Use(t,e){return xTt(t.a,e.a)}n(Use,"ygb");function Wse(t,e){return pr(t.a,e.a)}n(Wse,"Sfb");function Fu(t,e){return t.indexOf(e)}n(Fu,"qhb");function Gse(t,e){return t.j[e.p]==2}n(Gse,"nOc");function Yb(t,e){return t==e?0:t?1:-1}n(Yb,"cz");function RB(t){return t<10?"0"+t:""+t}n(RB,"AB");function uo(t){return typeof t===czt}n(uo,"Kdb");function Vse(t){return t==C2||t==sm}n(Vse,"oZb");function Xse(t){return t==C2||t==om}n(Xse,"pZb");function Ikt(t,e){return Ho(t.g,e.g)}n(Ikt,"ELb");function QG(t){return io(t.b.b,t,0)}n(QG,"Q4b");function Pkt(){fM.call(this,0,0,0,0)}n(Pkt,"Q2b");function Ou(){JU.call(this,new z0)}n(Ou,"Iub");function JG(t,e){oy(t,0,t.length,e)}n(JG,"Znb");function Yse(t,e){return Mt(t.a,e),e}n(Yse,"Eyb");function Qse(t,e){return ch(),e.a+=t}n(Qse,"Fkc");function Jse(t,e){return ch(),e.a+=t}n(Jse,"Hkc");function Zse(t,e){return ch(),e.c+=t}n(Zse,"Gkc");function tce(t,e){return Mt(t.c,e),t}n(tce,"ied");function ZG(t,e){return Zc(t.a,e),t}n(ZG,"Ped");function $kt(t){this.a=M8t(),this.b=t}n($kt,"ttb");function Nkt(t){this.a=M8t(),this.b=t}n(Nkt,"Ntb");function wa(t){this.a=t.a,this.b=t.b}n(wa,"sjd");function a7(t){this.a=t,iD.call(this)}n(a7,"Dl");function Rkt(t){this.a=t,iD.call(this)}n(Rkt,"Gl");function d3(){ll.call(this,0,0,0,0)}n(d3,"Tid");function zB(t){return Zc(new li,t)}n(zB,"vfd");function zkt(t){return _M(l(t,123))}n(zkt,"Ksd");function Dc(t){return t.vh()&&t.wh()}n(Dc,"Mvd");function dw(t){return t!=e1&&t!=vb}n(dw,"Dod");function q1(t){return t==lo||t==po}n(q1,"Dmd");function fw(t){return t==Gl||t==Zu}n(fw,"Emd");function qkt(t){return t==E4||t==S4}n(qkt,"xDc");function ece(t,e){return Ho(t.g,e.g)}n(ece,"yrc");function Hkt(t,e){return new ky(e,t)}n(Hkt,"Yfe");function nce(t,e){return new ky(e,t)}n(nce,"Zfe");function tV(t){return C1e(t.b.Kc(),t.a)}n(tV,"lr");function Mj(t,e){Ay(t,e),by(t,t.D)}n(Mj,"IXd");function Aj(t,e,r){kA(t,e),vA(t,r)}n(Aj,"Uxd");function bw(t,e,r){mg(t,e),wg(t,r)}n(bw,"zyd");function ol(t,e,r){Ss(t,e),Es(t,r)}n(ol,"Byd");function V9(t,e,r){hy(t,e),dy(t,r)}n(V9,"Gzd");function X9(t,e,r){uy(t,e),fy(t,r)}n(X9,"Nzd");function Kkt(t,e,r){jV.call(this,t,e,r)}n(Kkt,"eh");function eV(t){hkt.call(this,t,!0)}n(eV,"zId");function Ukt(){gB.call(this,"Tail",3)}n(Ukt,"nAb");function Wkt(){gB.call(this,"Head",1)}n(Wkt,"iAb");function Bd(t){qu(),Pwe.call(this,t)}n(Bd,"ejb");function Qb(t){fM.call(this,t,t,t,t)}n(Qb,"A3b");function Lj(t){t.c=ht(Ai,xe,1,0,5,1)}n(Lj,"Pmb");function nV(t){return t.b&&XN(t),t.a}n(nV,"yRb");function rV(t){return t.b&&XN(t),t.c}n(rV,"zRb");function rce(t,e){Vu||(t.b=e)}n(rce,"mBb");function ice(t,e){return t[t.length]=e}n(ice,"YCb");function ace(t,e){return t[t.length]=e}n(ace,"_Cb");function oce(t,e){return Gp(e,su(t))}n(oce,"l5b");function sce(t,e){return Gp(e,su(t))}n(sce,"m5b");function cce(t,e){return EA(EI(t.d),e)}n(cce,"DDd");function lce(t,e){return EA(EI(t.g),e)}n(lce,"EDd");function hce(t,e){return EA(EI(t.j),e)}n(hce,"FDd");function Ki(t,e){Nr.call(this,t.b,e)}n(Ki,"mGd");function uce(t,e){bn(Jo(t.a),bEt(e))}n(uce,"s0d");function dce(t,e){bn(Cc(t.a),gEt(e))}n(dce,"B4d");function fce(t,e,r){ol(r,r.i+t,r.j+e)}n(fce,"Asd");function Gkt(t,e,r){Hr(t.c[e.g],e.g,r)}n(Gkt,"eFc");function bce(t,e,r){l(t.c,71).Gi(e,r)}n(bce,"zVd");function _j(t,e,r){return Hr(t,e,r),r}n(_j,"LMd");function Vkt(t){Ts(t.Sf(),new f4t(t))}n(Vkt,"DJb");function gw(t){return t!=null?kr(t):0}n(gw,"Gvb");function gce(t){return t==null?0:kr(t)}n(gce,"aOd");function o7(t){Jn(),Pb.call(this,t)}n(o7,"iue");function Xkt(t){this.a=t,pX.call(this,t)}n(Xkt,"Ug");function au(){au=tt,v.Math.log(2)}n(au,"Zy");function sl(){sl=tt,C0=(J7t(),CUe)}n(sl,"s7d");function Ykt(){Ykt=tt,$st=new Z7(Jct)}n(Ykt,"FRc");function Sn(){Sn=tt,new Qkt,new Bt}n(Sn,"Hde");function Qkt(){new sn,new sn,new sn}n(Qkt,"Ide");function pce(){throw R(new L0(XDe))}n(pce,"yue");function wce(){throw R(new L0(XDe))}n(wce,"Nue");function mce(){throw R(new L0(YDe))}n(mce,"Bue");function yce(){throw R(new L0(YDe))}n(yce,"Que");function Fj(t){this.a=t,rB.call(this,t)}n(Fj,"Gp");function Oj(t){this.a=t,rB.call(this,t)}n(Oj,"Np");function Jkt(t,e){og(),this.a=t,this.b=e}n(Jkt,"Sq");function vce(t,e){Cn(e),kw(t).Jc(new se)}n(vce,"Jh");function ai(t,e){hI(t.c,t.c.length,e)}n(ai,"_mb");function vo(t){return t.ae?1:0}n(Ho,"hgb");function aV(t,e){return Ko(t,e)>0?t:e}n(aV,"Kgb");function ks(t,e,r){return{l:t,m:e,h:r}}n(ks,"hD");function kce(t,e){t.a!=null&&dkt(e,t.a)}n(kce,"Mvb");function xce(t){ca(t,null),Ni(t,null)}n(xce,"Lhc");function Cce(t,e,r){return Hn(t.g,r,e)}n(Cce,"xkc");function pw(t,e,r){return BZ(e,r,t.c)}n(pw,"bFc");function Tce(t,e,r){return Hn(t.k,r,e)}n(Tce,"jOc");function Sce(t,e,r){return uMe(t,e,r),r}n(Sce,"pOc");function Ece(t,e){return Vc(),e.n.b+=t}n(Ece,"FOc");function t9t(t){BY.call(this),this.b=t}n(t9t,"lUb");function oV(t){WV.call(this),this.a=t}n(oV,"y2b");function e9t(){gB.call(this,"Range",2)}n(e9t,"kAb");function qB(t){this.b=t,this.a=new Bt}n(qB,"$Fb");function n9t(t){this.b=new w5,this.a=t}n(n9t,"WQb");function r9t(t){t.a=new th,t.c=new th}n(r9t,"Lub");function i9t(t){t.a=new sn,t.d=new sn}n(i9t,"nrc");function a9t(t){VI(t,null),XI(t,null)}n(a9t,"$Sc");function o9t(t,e){return fMe(t.a,e,null)}n(o9t,"a2d");function Bce(t,e){return Hn(t.a,e.a,e)}n(Bce,"Cdd");function Xi(t){return new xt(t.a,t.b)}n(Xi,"ajd");function sV(t){return new xt(t.c,t.d)}n(sV,"Pid");function Mce(t){return new xt(t.c,t.d)}n(Mce,"Qid");function s7(t,e){return SBe(t.c,t.b,e)}n(s7,"Ake");function J(t,e){return t!=null&&N$(t,e)}n(J,"ZD");function Dj(t,e){return wme(t.Kc(),e)!=-1}n(Dj,"br");function HB(t){return t.Ob()?t.Pb():null}n(HB,"Hr");function Ace(t){this.b=(de(),new bD(t))}n(Ace,"_p");function cV(t){this.a=t,sn.call(this)}n(cV,"zke");function s9t(){Q9.call(this,null,null)}n(s9t,"Uhe");function c9t(){YB.call(this,null,null)}n(c9t,"Yhe");function l9t(){gn.call(this,"INSTANCE",0)}n(l9t,"As");function h9t(){ott(),this.a=new w8(BWt)}n(h9t,"dXb");function u9t(t){return Nl(t,0,t.length)}n(u9t,"Hhb");function Lce(t,e){return new A9t(t.Kc(),e)}n(Lce,"Rv");function lV(t,e){return t.a.Bc(e)!=null}n(lV,"$sb");function d9t(t,e){dn(t),t.Gc(l(e,15))}n(d9t,"hZd");function _ce(t,e,r){t.c.bd(e,l(r,136))}n(_ce,"ONd");function Fce(t,e,r){t.c.Ui(e,l(r,136))}n(Fce,"eOd");function f9t(t,e){t.c&&(AX(e),RSt(e))}n(f9t,"eub");function Oce(t,e){t.q.setHours(e),x8(t,e)}n(Oce,"oB");function Dce(t,e){tg(e,t.a.a.a,t.a.a.b)}n(Dce,"vTb");function jce(t,e,r,i){Hr(t.a[e.g],r.g,i)}n(jce,"tKb");function jj(t,e,r){return t.a[e.g][r.g]}n(jj,"oKb");function Ice(t,e){return t.e[e.c.p][e.p]}n(Ice,"AIc");function Pce(t,e){return t.c[e.c.p][e.p]}n(Pce,"TIc");function ou(t,e){return t.a[e.c.p][e.p]}n(ou,"pJc");function $ce(t,e){return t.j[e.p]=X9e(e)}n($ce,"mOc");function Ij(t,e){return t.a.Bc(e)!=null}n(Ij,"wAb");function Nce(t,e){return it(lt(e.a))<=t}n(Nce,"wXc");function Rce(t,e){return it(lt(e.a))>=t}n(Rce,"xXc");function zce(t,e){return dQ(t.f,e.Pg())}n(zce,"vhd");function f3(t,e){return t.a*e.a+t.b*e.b}n(f3,"cjd");function qce(t,e){return t.a0?e/(t*t):e*100}n(dle,"yUb");function fle(t,e){return t>0?e*e/t:e*e*100}n(fle,"FUb");function _p(t,e){return l(fu(t.a,e),34)}n(_p,"$5b");function ble(t,e){return Ud(),oe(t,e.e,e)}n(ble,"doc");function gle(t,e,r){return lB(),r.Mg(t,e)}n(gle,"NCc");function ple(t){return J1(),t.e.a+t.f.a/2}n(ple,"L0c");function wle(t,e,r){return J1(),r.e.a-t*e}n(wle,"N0c");function mle(t){return J1(),t.e.b+t.f.b/2}n(mle,"V0c");function yle(t,e,r){return J1(),r.e.b-t*e}n(yle,"X0c");function K9t(t){t.d=new z9t(t),t.e=new sn}n(K9t,"_tb");function U9t(){this.a=new dg,this.b=new dg}n(U9t,"x3c");function W9t(t){this.c=t,this.a=1,this.b=1}n(W9t,"hmc");function G9t(t){uR(),lvt(this),this.Ff(t)}n(G9t,"C$b");function vle(t,e,r){sA(),t.pf(e)&&r.Cd(t)}n(vle,"Efd");function kle(t,e,r){return Mt(e,iOt(t,r))}n(kle,"Red");function tg(t,e,r){return t.a+=e,t.b+=r,t}n(tg,"Zid");function xle(t,e,r){return t.a*=e,t.b*=r,t}n(xle,"jjd");function EV(t,e){return t.a=e.a,t.b=e.b,t}n(EV,"mjd");function QB(t){return t.a=-t.a,t.b=-t.b,t}n(QB,"fjd");function u7(t,e,r){return t.a-=e,t.b-=r,t}n(u7,"njd");function V9t(t){Ar.call(this),I7(this,t)}n(V9t,"Gjd");function X9t(){gn.call(this,"GROW_TREE",0)}n(X9t,"Dbd");function Y9t(){gn.call(this,"POLYOMINO",0)}n(Y9t,"WRb");function Ic(t,e,r){Zs.call(this,t,e,r,2)}n(Ic,"SVd");function Cle(t,e,r){Q7(Jo(t.a),e,bEt(r))}n(Cle,"r0d");function Q9t(t,e){H6(),Q9.call(this,t,e)}n(Q9t,"e3d");function BV(t,e){j0(),YB.call(this,t,e)}n(BV,"D3d");function J9t(t,e){j0(),BV.call(this,t,e)}n(J9t,"F3d");function Z9t(t,e){j0(),YB.call(this,t,e)}n(Z9t,"H3d");function Tle(t,e){return t.c.Fc(l(e,136))}n(Tle,"PNd");function Sle(t,e,r){Q7(Cc(t.a),e,gEt(r))}n(Sle,"A4d");function txt(t){this.c=t,Ss(t,0),Es(t,0)}n(txt,"Ard");function qj(t,e){sl(),pM.call(this,t,e)}n(qj,"Z8d");function ext(t,e){sl(),qj.call(this,t,e)}n(ext,"_8d");function MV(t,e){sl(),qj.call(this,t,e)}n(MV,"b9d");function AV(t,e){sl(),pM.call(this,t,e)}n(AV,"n9d");function nxt(t,e){sl(),MV.call(this,t,e)}n(nxt,"d9d");function rxt(t,e){sl(),AV.call(this,t,e)}n(rxt,"p9d");function ixt(t,e){sl(),pM.call(this,t,e)}n(ixt,"v9d");function Ele(t,e,r){return e.zl(t.e,t.c,r)}n(Ele,"lge");function Ble(t,e,r){return e.Al(t.e,t.c,r)}n(Ble,"nge");function LV(t,e,r){return JL(Px(t,e),r)}n(LV,"Wee");function Hj(t,e){return Rd(t.e,l(e,54))}n(Hj,"Age");function Mle(t){return t==null?null:tAe(t)}n(Mle,"_me");function Ale(t){return t==null?null:W7e(t)}n(Ale,"dne");function Lle(t){return t==null?null:bo(t)}n(Lle,"gne");function _le(t){return t==null?null:bo(t)}n(_le,"hne");function Dt(t){return b7(t==null||Ap(t)),t}n(Dt,"TD");function lt(t){return b7(t==null||Lp(t)),t}n(lt,"UD");function En(t){return b7(t==null||Oi(t)),t}n(En,"WD");function H1(t){t.o==null&&T9e(t)}n(H1,"lfb");function _V(t){if(!t)throw R(new x9)}n(_V,"lFb");function Fle(t){if(!t)throw R(new yD)}n(Fle,"pFb");function Je(t){if(!t)throw R(new mo)}n(Je,"sFb");function Fp(t){if(!t)throw R(new Gs)}n(Fp,"yFb");function axt(t){if(!t)throw R(new al)}n(axt,"zmb");function z5(){z5=tt,QF=new zvt,new qvt}n(z5,"jQd");function vw(){vw=tt,A4=new or("root")}n(vw,"u2c");function FV(){zLt.call(this),this.Bb|=Ea}n(FV,"d6d");function Ole(t,e){this.d=t,R3t(this),this.b=e}n(Ole,"Pg");function OV(t,e){pP.call(this,t),this.a=e}n(OV,"WCb");function DV(t,e){pP.call(this,t),this.a=e}n(DV,"oDb");function jV(t,e,r){rA.call(this,t,e,r,null)}n(jV,"bh");function oxt(t,e,r){rA.call(this,t,e,r,null)}n(oxt,"fh");function tx(t,e){this.c=t,D5.call(this,t,e)}n(tx,"Mf");function d7(t,e){this.a=t,tx.call(this,t,e)}n(d7,"Uf");function IV(t){this.q=new v.Date(Nf(t))}n(IV,"wB");function sxt(t){return t>8?0:t+1}n(sxt,"OPb");function cxt(t,e){Vu||Mt(t.a,e)}n(cxt,"iBb");function Dle(t,e){return F9(),vy(e.d.i,t)}n(Dle,"P5b");function jle(t,e){return I3(),new $$t(e,t)}n(jle,"qdc");function Ile(t,e,r){return t.Ne(e,r)<=0?r:e}n(Ile,"HAb");function Ple(t,e,r){return t.Ne(e,r)<=0?e:r}n(Ple,"IAb");function $le(t,e){return l(fu(t.b,e),143)}n($le,"rgd");function Nle(t,e){return l(fu(t.c,e),233)}n(Nle,"tgd");function Kj(t){return l(It(t.a,t.b),294)}n(Kj,"amc");function lxt(t){return new xt(t.c,t.d+t.a)}n(lxt,"Mid");function hxt(t){return Ie(t),t?1231:1237}n(hxt,"Jeb");function uxt(t){return Vc(),qkt(l(t,203))}n(uxt,"EPc");function Op(){Op=tt,eWt=Jt((Rc(),cp))}n(Op,"RMb");function Rle(t,e){e.a?Kke(t,e):Ij(t.a,e.b)}n(Rle,"YQb");function ex(t,e,r){++t.j,t.tj(),gP(t,e,r)}n(ex,"aJd");function dxt(t,e,r){++t.j,t.qj(e,t.Zi(e,r))}n(dxt,"$Id");function fxt(t,e,r){var i;i=t.fd(e),i.Rb(r)}n(fxt,"B2d");function PV(t,e,r){return r=nl(t,e,6,r),r}n(PV,"Bzd");function $V(t,e,r){return r=nl(t,e,3,r),r}n($V,"izd");function NV(t,e,r){return r=nl(t,e,9,r),r}n(NV,"KCd");function ju(t,e){return mx(e,_zt),t.f=e,t}n(ju,"SKb");function RV(t,e){return(e&nr)%t.d.length}n(RV,"bOd");function bxt(t,e,r){return vnt(t.c,t.b,e,r)}n(bxt,"Bke");function gxt(t,e){this.c=t,pg.call(this,e)}n(gxt,"ZLd");function pxt(t,e){this.a=t,evt.call(this,e)}n(pxt,"w0d");function nx(t,e){this.a=t,evt.call(this,e)}n(nx,"F4d");function Nr(t,e){or.call(this,t),this.a=e}n(Nr,"kGd");function zV(t,e){uW.call(this,t),this.a=e}n(zV,"U6d");function Uj(t,e){uW.call(this,t),this.a=e}n(Uj,"S9d");function zle(t){kZ.call(this,0,0),this.f=t}n(zle,"jQb");function wxt(t,e,r){return t.a+=Nl(e,0,r),t}n(wxt,"_hb");function rx(t){return!t.a&&(t.a=new Oe),t.a}n(rx,"_A");function qV(t,e){var r;return r=t.e,t.e=e,r}n(qV,"qlb");function HV(t,e){var r;return r=e,!!t.Fe(r)}n(HV,"Clb");function qle(t,e){return Se(),t==e?0:t?1:-1}n(qle,"Keb");function Dp(t,e){t.a.bd(t.b,e),++t.b,t.c=-1}n(Dp,"Ikb");function ix(t){t.b?ix(t.b):t.f.c.zc(t.e,t.d)}n(ix,"hg");function mxt(t){lc(t.e),t.d.b=t.d,t.d.a=t.d}n(mxt,"aub");function Hle(t,e,r){Lf(),P3t(t,e.Ve(t.a,r))}n(Hle,"VDb");function KV(t,e,r){return C3(t,l(e,22),r)}n(KV,"Xrb");function sh(t,e){return JE(new Array(e),t)}n(sh,"WEb");function Kle(t){return xn(Ad(t,32))^xn(t)}n(Kle,"Fgb");function Wj(t){return String.fromCharCode(t)}n(Wj,"XD");function Ule(t){return t==null?null:t.message}n(Ule,"Dz");function Wle(t,e,r){return t.apply(e,r);var i}n(Wle,"Rz");function Gle(t,e){var r;r=t[yrt],r.call(t,e)}n(Gle,"Btb");function Vle(t,e){var r;r=t[yrt],r.call(t,e)}n(Vle,"Ctb");function Xle(t,e){return F9(),!vy(e.d.i,t)}n(Xle,"O5b");function UV(t,e,r,i){fM.call(this,t,e,r,i)}n(UV,"R2b");function yxt(){JB.call(this),this.a=new Hi}n(yxt,"TJb");function WV(){this.n=new Hi,this.o=new Hi}n(WV,"v2b");function vxt(){this.b=new Hi,this.c=new Bt}n(vxt,"kGb");function kxt(){this.a=new Bt,this.b=new Bt}n(kxt,"cUb");function xxt(){this.a=new m5,this.b=new yvt}n(xxt,"kWb");function GV(){this.b=new z0,this.a=new z0}n(GV,"e6b");function Cxt(){this.b=new oi,this.a=new oi}n(Cxt,"jIc");function Txt(){this.b=new sn,this.a=new sn}n(Txt,"vYc");function Sxt(){this.b=new Y6t,this.a=new vbt}n(Sxt,"fWc");function Ext(){this.a=new jmt,this.b=new uft}n(Ext,"Yhc");function Bxt(){this.a=new Bt,this.d=new Bt}n(Bxt,"lNc");function JB(){this.n=new t3,this.i=new d3}n(JB,"RJb");function Mxt(t){this.a=(Jc(t,Xw),new hs(t))}n(Mxt,"hq");function Axt(t){this.a=(Jc(t,Xw),new hs(t))}n(Axt,"oq");function Yle(t){return t<100?null:new xd(t)}n(Yle,"tLd");function Qle(t,e){return t.n.a=(Ie(e),e+10)}n(Qle,"Lac");function Jle(t,e){return t.n.a=(Ie(e),e+10)}n(Jle,"Mac");function Zle(t,e){return e==t||Hy(jL(e),t)}n(Zle,"DYd");function Lxt(t,e){return Hn(t.a,e,"")==null}n(Lxt,"nae");function the(t,e){var r;return r=e.qi(t.a),r}n(the,"Hee");function Zn(t,e){return t.a+=e.a,t.b+=e.b,t}n(Zn,"$id");function Ti(t,e){return t.a-=e.a,t.b-=e.b,t}n(Ti,"ojd");function ehe(t){return Tp(t.j.c,0),t.a=-1,t}n(ehe,"sfd");function VV(t,e,r){return r=nl(t,e,11,r),r}n(VV,"rCd");function nhe(t,e,r){r!=null&&BA(e,Y$(t,r))}n(nhe,"SDd");function rhe(t,e,r){r!=null&&MA(e,Y$(t,r))}n(rhe,"TDd");function p3(t,e,r,i){pt.call(this,t,e,r,i)}n(p3,"G5d");function XV(t,e,r,i){pt.call(this,t,e,r,i)}n(XV,"oie");function _xt(t,e,r,i){XV.call(this,t,e,r,i)}n(_xt,"sie");function Fxt(t,e,r,i){CM.call(this,t,e,r,i)}n(Fxt,"Nie");function Gj(t,e,r,i){CM.call(this,t,e,r,i)}n(Gj,"Pie");function YV(t,e,r,i){CM.call(this,t,e,r,i)}n(YV,"Vie");function Oxt(t,e,r,i){Gj.call(this,t,e,r,i)}n(Oxt,"Tie");function QV(t,e,r,i){Gj.call(this,t,e,r,i)}n(QV,"$ie");function pe(t,e,r,i){YV.call(this,t,e,r,i)}n(pe,"Yie");function Dxt(t,e,r,i){QV.call(this,t,e,r,i)}n(Dxt,"bje");function jxt(t,e,r,i){XX.call(this,t,e,r,i)}n(jxt,"Dje");function jp(t,e){Wa.call(this,dT+t+Hg+e)}n(jp,"aMd");function JV(t,e){return t.jk().wi().ri(t,e)}n(JV,"Hje");function ZV(t,e){return t.jk().wi().ti(t,e)}n(ZV,"Ije");function Ixt(t,e){return Ie(t),ot(t)===ot(e)}n(Ixt,"Lfb");function ie(t,e){return Ie(t),ot(t)===ot(e)}n(ie,"lhb");function ihe(t,e){return t.b.Bd(new i8t(t,e))}n(ihe,"mEb");function ahe(t,e){return t.b.Bd(new a8t(t,e))}n(ahe,"sEb");function Pxt(t,e){return t.b.Bd(new o8t(t,e))}n(Pxt,"yEb");function ohe(t,e){return t.e=l(t.d.Kb(e),159)}n(ohe,"Bk");function tX(t,e,r){return t.lastIndexOf(e,r)}n(tX,"uhb");function she(t,e,r){return pr(t[e.a],t[r.a])}n(she,"wWb");function che(t,e){return wt(e,(Ot(),lF),t)}n(che,"TWb");function lhe(t,e){return Ho(e.a.d.p,t.a.d.p)}n(lhe,"Lpc");function hhe(t,e){return Ho(t.a.d.p,e.a.d.p)}n(hhe,"Kpc");function uhe(t,e){return pr(t.c-t.s,e.c-e.s)}n(uhe,"zTc");function dhe(t,e){return pr(t.b.e.a,e.b.e.a)}n(dhe,"qWc");function fhe(t,e){return pr(t.c.e.a,e.c.e.a)}n(fhe,"sWc");function $xt(t){return t.c?io(t.c.a,t,0):-1}n($xt,"$2b");function w3(t){return t==sp||t==k0||t==ys}n(w3,"Cod");function eX(t,e){this.c=t,vI.call(this,t,e)}n(eX,"CMd");function Nxt(t,e,r){this.a=t,CV.call(this,e,r)}n(Nxt,"fq");function Rxt(t){this.c=t,NB.call(this,c_,0)}n(Rxt,"YDb");function zxt(t,e,r){this.c=e,this.b=r,this.a=t}n(zxt,"rk");function ax(t){H5(),this.d=t,this.a=new mw}n(ax,"DMc");function qxt(t){Iu(),this.a=(de(),new M5(t))}n(qxt,"ho");function bhe(t,e){q1(t.f)?p9e(t,e):G6e(t,e)}n(bhe,"Xmc");function Hxt(t,e){B1e.call(this,t,t.length,e)}n(Hxt,"Lxb");function ghe(t,e){Vu||e&&(t.d=e)}n(ghe,"nBb");function Kxt(t,e){return J(e,15)&&m$t(t.c,e)}n(Kxt,"ZNd");function phe(t,e,r){return l(t.c,71).Wk(e,r)}n(phe,"AVd");function ZB(t,e,r){return l(t.c,71).Xk(e,r)}n(ZB,"BVd");function whe(t,e,r){return Ele(t,l(e,343),r)}n(whe,"mge");function nX(t,e,r){return Ble(t,l(e,343),r)}n(nX,"oge");function mhe(t,e,r){return ujt(t,l(e,343),r)}n(mhe,"Ige");function Uxt(t,e,r){return o7e(t,l(e,343),r)}n(Uxt,"Kge");function f7(t,e){return e==null?null:Qp(t.b,e)}n(f7,"Fn");function rX(t){return Lp(t)?(Ie(t),t):t.ue()}n(rX,"Qeb");function tM(t){return!isNaN(t)&&!isFinite(t)}n(tM,"Rfb");function Vj(t){r9t(this),Gc(this),Vi(this,t)}n(Vj,"Zub");function cc(t){Lj(this),yX(this.c,0,t.Pc())}n(cc,"dnb");function cl(t,e,r){this.a=t,this.b=e,this.c=r}n(cl,"Fsb");function Wxt(t,e,r){this.a=t,this.b=e,this.c=r}n(Wxt,"Vtb");function Gxt(t,e,r){this.d=t,this.b=r,this.a=e}n(Gxt,"hvb");function Vxt(t){this.a=t,z1(),jo(Date.now())}n(Vxt,"aBb");function Xxt(t){$c(t.a),mQ(t.c,t.b),t.b=null}n(Xxt,"wzb");function Xj(){Xj=tt,MUt=new to,Sje=new g6}n(Xj,"wvb");function Yxt(){Yxt=tt,AUe=ht(Ai,xe,1,0,5,1)}n(Yxt,"KMd");function Qxt(){Qxt=tt,GUe=ht(Ai,xe,1,0,5,1)}n(Qxt,"TTd");function iX(){iX=tt,VUe=ht(Ai,xe,1,0,5,1)}n(iX,"yUd");function Iu(){Iu=tt,new bW((de(),de(),Ba))}n(Iu,"_l");function yhe(t){return sy(),pn((rAt(),Mje),t)}n(yhe,"gAb");function vhe(t){return dc(),pn((GMt(),Dje),t)}n(vhe,"zBb");function khe(t){return sL(),pn((FBt(),Rje),t)}n(khe,"FHb");function xhe(t){return bA(),pn((OBt(),zje),t)}n(xhe,"NHb");function Che(t){return HL(),pn((F_t(),qje),t)}n(Che,"kIb");function The(t){return Nh(),pn((UMt(),Uje),t)}n(The,"_Jb");function She(t){return uc(),pn((KMt(),Gje),t)}n(She,"GKb");function Ehe(t){return Ns(),pn((WMt(),Xje),t)}n(Ehe,"xLb");function Bhe(t){return r_(),pn((Bkt(),mIe),t)}n(Bhe,"mMb");function Mhe(t){return xg(),pn((aAt(),vIe),t)}n(Mhe,"oOb");function Ahe(t){return q3(),pn((sAt(),xIe),t)}n(Ahe,"KPb");function Lhe(t){return i8(),pn((oAt(),SIe),t)}n(Lhe,"KRb");function _he(t){return sB(),pn((iBt(),EIe),t)}n(_he,"XRb");function Fhe(t){return gA(),pn((DBt(),HIe),t)}n(Fhe,"VUb");function Ohe(t){return D7(),pn((VMt(),gPe),t)}n(Ohe,"CWb");function Dhe(t){return na(),pn((qAt(),yPe),t)}n(Dhe,"uXb");function jhe(t){return Cy(),pn((lAt(),TPe),t)}n(jhe,"tZb");function Ihe(t){return Xf(),pn((cAt(),LPe),t)}n(Ihe,"W$b");function aX(t,e){if(!t)throw R(new Le(e))}n(aX,"Mb");function q5(t){if(!t)throw R(new Ga(lzt))}n(q5,"Vb");function Yj(t,e){if(t!=e)throw R(new al)}n(Yj,"rFb");function Jxt(t,e,r){this.a=t,this.b=e,this.c=r}n(Jxt,"KQb");function oX(t,e,r){this.a=t,this.b=e,this.c=r}n(oX,"lRb");function Zxt(t,e,r){this.a=t,this.b=e,this.c=r}n(Zxt,"h7b");function eM(t,e,r){this.b=t,this.a=e,this.c=r}n(eM,"J0b");function sX(t,e,r){this.b=t,this.c=e,this.a=r}n(sX,"dNb");function cX(t,e,r){this.a=t,this.b=e,this.c=r}n(cX,"oac");function nM(t,e,r){this.e=e,this.b=t,this.d=r}n(nM,"F1b");function tCt(t,e,r){this.b=t,this.a=e,this.c=r}n(tCt,"Ecc");function Phe(t,e,r){return Lf(),t.a.Yd(e,r),e}n(Phe,"UDb");function Qj(t){var e;return e=new l9,e.e=t,e}n(Qj,"CJb");function lX(t){var e;return e=new Tvt,e.b=t,e}n(lX,"_Nb");function ox(){ox=tt,qz=new R1t,Hz=new z1t}n(ox,"U9b");function rM(){rM=tt,UPe=new b0t,KPe=new g0t}n(rM,"Rec");function ch(){ch=tt,YPe=new Cdt,QPe=new Tdt}n(ch,"lkc");function $he(t){return vg(),pn((SMt(),s$e),t)}n($he,"loc");function Nhe(t){return ua(),pn((Mkt(),RPe),t)}n(Nhe,"kcc");function Rhe(t){return RA(),pn((uAt(),HPe),t)}n(Rhe,"yec");function zhe(t){return gu(),pn((hAt(),t$e),t)}n(zhe,"gnc");function qhe(t){return n2(),pn((HAt(),n$e),t)}n(qhe,"Enc");function Hhe(t){return zL(),pn((w_t(),c$e),t)}n(Hhe,"gpc");function Khe(t){return W3(),pn((bLt(),l$e),t)}n(Khe,"dtc");function Uhe(t){return oA(),pn((zBt(),h$e),t)}n(Uhe,"ltc");function Whe(t){return P7(),pn((CMt(),u$e),t)}n(Whe,"xtc");function Ghe(t){return CA(),pn((TMt(),d$e),t)}n(Ghe,"Gtc");function Vhe(t){return Q0(),pn((KAt(),f$e),t)}n(Vhe,"Utc");function Xhe(t){return qx(),pn((PBt(),b$e),t)}n(Xhe,"auc");function Yhe(t){return Uy(),pn((wLt(),v$e),t)}n(Yhe,"avc");function Qhe(t){return Oa(),pn((V_t(),k$e),t)}n(Qhe,"qvc");function Jhe(t){return xy(),pn((BMt(),x$e),t)}n(Jhe,"zvc");function Zhe(t){return Q1(),pn((MMt(),T$e),t)}n(Zhe,"Ivc");function tue(t){return XM(),pn((IBt(),S$e),t)}n(tue,"Qvc");function eue(t){return kC(),pn((pLt(),y$e),t)}n(eue,"Quc");function nue(t){return Wf(),pn((EMt(),p$e),t)}n(nue,"juc");function rue(t){return ML(),pn((gLt(),w$e),t)}n(rue,"wuc");function iue(t){return jx(),pn(($Bt(),m$e),t)}n(iue,"Euc");function aue(t){return yl(),pn((WAt(),E$e),t)}n(aue,"exc");function oue(t){return nd(),pn((A_t(),YRe),t)}n(oue,"eDc");function sue(t){return G7(),pn((AMt(),QRe),t)}n(sue,"oDc");function cue(t){return t2(),pn((dAt(),JRe),t)}n(cue,"ADc");function lue(t){return r8(),pn((UAt(),ZRe),t)}n(lue,"ODc");function hue(t){return zl(),pn((X_t(),tze),t)}n(hue,"cEc");function uue(t){return Ru(),pn((fAt(),eze),t)}n(uue,"mEc");function due(t){return Rx(),pn((NBt(),nze),t)}n(due,"uEc");function fue(t){return Fa(),pn((FMt(),ize),t)}n(fue,"DEc");function bue(t){return PA(),pn((LMt(),aze),t)}n(bue,"MEc");function gue(t){return K7(),pn((_Mt(),oze),t)}n(gue,"VEc");function pue(t){return Ly(),pn((OMt(),sze),t)}n(pue,"nFc");function wue(t){return xA(),pn((DMt(),cze),t)}n(wue,"wFc");function mue(t){return zA(),pn((jMt(),lze),t)}n(mue,"FFc");function yue(t){return yg(),pn((HMt(),Sze),t)}n(yue,"TKc");function vue(t){return _7(),pn((RBt(),Lze),t)}n(vue,"uNc");function kue(t){return $u(),pn((KBt(),Pze),t)}n(kue,"yQc");function xue(t){return cu(),pn((UBt(),Nze),t)}n(xue,"GQc");function Cue(t){return Ih(),pn((WBt(),tqe),t)}n(Cue,"hTc");function Tue(t){return fg(),pn((GBt(),sqe),t)}n(Tue,"fVc");function Sue(t){return U3(),pn((vAt(),cqe),t)}n(Sue,"bWc");function Eue(t){return v8(),pn((Akt(),lqe),t)}n(Eue,"ZYc");function Bue(t){return U7(),pn((IMt(),hqe),t)}n(Bue,"NZc");function Mue(t){return W7(),pn((yAt(),Oqe),t)}n(Mue,"u_c");function Aue(t){return WM(),pn((qBt(),Dqe),t)}n(Aue,"C_c");function Lue(t){return LA(),pn((HBt(),Nqe),t)}n(Lue,"C2c");function _ue(t){return TL(),pn((GAt(),zqe),t)}n(_ue,"j3c");function Fue(t){return nC(),pn((PMt(),Hqe),t)}n(Fue,"j4c");function Oue(t){return cA(),pn((VBt(),qqe),t)}n(Oue,"_3c");function Due(t){return wL(),pn((mAt(),lHe),t)}n(Due,"m5c");function jue(t){return IA(),pn(($Mt(),hHe),t)}n(jue,"w5c");function Iue(t){return nL(),pn((NMt(),uHe),t)}n(Iue,"h6c");function Pue(t){return fL(),pn((RMt(),fHe),t)}n(Pue,"C6c");function $ue(t){return YA(),pn((zMt(),pHe),t)}n($ue,"b7c");function Nue(t){return tA(),pn((XBt(),PHe),t)}n(Nue,"E8c");function Rue(t){return wy(),pn((jBt(),NPe),t)}n(Rue,"R8b");function zue(t){return De(),pn((mLt(),DPe),t)}n(zue,"t3b");function que(t){return lA(),pn((qMt(),$He),t)}n(que,"g9c");function Hue(t){return GP(),pn((YBt(),NHe),t)}n(Hue,"G9c");function Kue(t){return p8(),pn((VAt(),zHe),t)}n(Kue,"uad");function Uue(t){return hB(),pn((dBt(),HHe),t)}n(Uue,"xbd");function Wue(t){return cC(),pn((YMt(),qHe),t)}n(Wue,"ibd");function Gue(t){return uB(),pn((fBt(),UHe),t)}n(Gue,"Gbd");function Vue(t){return Lx(),pn((QBt(),WHe),t)}n(Vue,"Obd");function Xue(t){return CC(),pn((XAt(),GHe),t)}n(Xue,"Zbd");function Yue(t){return R6(),pn((bBt(),lKe),t)}n(Yue,"fdd");function Que(t){return Jx(),pn((JBt(),hKe),t)}n(Que,"qdd");function Jue(t){return zh(),pn((QAt(),pKe),t)}n(Jue,"$hd");function Zue(t){return ed(),pn((g_t(),mKe),t)}n(Zue,"mid");function t1e(t){return p1(),pn((yLt(),yKe),t)}n(t1e,"Tjd");function e1e(t){return Qf(),pn((vLt(),SKe),t)}n(e1e,"wkd");function n1e(t){return ui(),pn((YAt(),KKe),t)}n(n1e,"Hmd");function r1e(t){return bu(),pn((QMt(),UKe),t)}n(r1e,"Qmd");function i1e(t){return e0(),pn((kAt(),WKe),t)}n(i1e,"$md");function a1e(t){return EL(),pn((kLt(),GKe),t)}n(a1e,"knd");function o1e(t){return t0(),pn((XMt(),XKe),t)}n(o1e,"Hnd");function s1e(t){return tl(),pn((xAt(),QKe),t)}n(s1e,"Snd");function c1e(t){return o2(),pn((__t(),JKe),t)}n(c1e,"god");function l1e(t){return Fw(),pn((JAt(),ZKe),t)}n(l1e,"rod");function h1e(t){return Ri(),pn((xLt(),tUe),t)}n(h1e,"Fod");function u1e(t){return fc(),pn((CLt(),eUe),t)}n(u1e,"Tod");function d1e(t){return At(),pn((ZAt(),nUe),t)}n(d1e,"wpd");function f1e(t){return Rc(),pn((CAt(),sUe),t)}n(f1e,"Spd");function b1e(t){return Ec(),pn((L_t(),cUe),t)}n(b1e,"fqd");function g1e(t){return N3(),pn((JMt(),lUe),t)}n(g1e,"oqd");function p1e(t,e){return Ie(t),t+(Ie(e),e)}n(p1e,"zsc");function w1e(t){return Jj(),pn((ZBt(),hUe),t)}n(w1e,"wqd");function m1e(t){return JA(),pn((TAt(),uUe),t)}n(m1e,"Ird");function y1e(t){return qA(),pn((SAt(),bUe),t)}n(y1e,"vtd");function H5(){H5=tt,ZXt=(At(),je),Vq=qe}n(H5,"dMc");function Jj(){Jj=tt,pZt=new LCt,wZt=new gTt}n(Jj,"uqd");function v1e(t){return!t.e&&(t.e=new Bt),t.e}n(v1e,"wJc");function Zj(t,e){this.c=t,this.a=e,this.b=e-t}n(Zj,"BTc");function eCt(t,e,r){this.a=t,this.b=e,this.c=r}n(eCt,"g8c");function tI(t,e,r){this.a=t,this.b=e,this.c=r}n(tI,"gud");function hX(t,e,r){this.a=t,this.b=e,this.c=r}n(hX,"Wdd");function uX(t,e,r){this.a=t,this.b=e,this.c=r}n(uX,"ced");function nCt(t,e,r){this.a=t,this.b=e,this.c=r}n(nCt,"pFd");function rCt(t,e,r){this.a=t,this.b=e,this.c=r}n(rCt,"ZPd");function P0(t,e,r){this.e=t,this.a=e,this.c=r}n(P0,"g7d");function iCt(t,e,r){sl(),AY.call(this,t,e,r)}n(iCt,"K7d");function eI(t,e,r){sl(),dY.call(this,t,e,r)}n(eI,"f9d");function dX(t,e,r){sl(),dY.call(this,t,e,r)}n(dX,"r9d");function fX(t,e,r){sl(),dY.call(this,t,e,r)}n(fX,"x9d");function aCt(t,e,r){sl(),eI.call(this,t,e,r)}n(aCt,"h9d");function bX(t,e,r){sl(),eI.call(this,t,e,r)}n(bX,"j9d");function oCt(t,e,r){sl(),bX.call(this,t,e,r)}n(oCt,"l9d");function sCt(t,e,r){sl(),dX.call(this,t,e,r)}n(sCt,"t9d");function cCt(t,e,r){sl(),fX.call(this,t,e,r)}n(cCt,"z9d");function nI(t){fM.call(this,t.d,t.c,t.a,t.b)}n(nI,"S2b");function gX(t){fM.call(this,t.d,t.c,t.a,t.b)}n(gX,"B3b");function pX(t){this.d=t,R3t(this),this.b=y0e(t.d)}n(pX,"Og");function k1e(t){return Gy(),pn((p_t(),MUe),t)}n(k1e,"cGd");function sx(t,e){return Cn(t),Cn(e),new g7t(t,e)}n(sx,"gk");function m3(t,e){return Cn(t),Cn(e),new kCt(t,e)}n(m3,"dr");function x1e(t,e){return Cn(t),Cn(e),new xCt(t,e)}n(x1e,"hr");function C1e(t,e){return Cn(t),Cn(e),new T7t(t,e)}n(C1e,"Dr");function rI(t){return Je(t.b!=0),bl(t,t.a.a)}n(rI,"Uub");function T1e(t){return Je(t.b!=0),bl(t,t.c.b)}n(T1e,"Vub");function S1e(t){return!t.c&&(t.c=new y5),t.c}n(S1e,"q$d");function K5(t){var e;return e=new Bt,BP(e,t),e}n(K5,"cv");function E1e(t){var e;return e=new oi,BP(e,t),e}n(E1e,"Vx");function lCt(t){var e;return e=new yW,RP(e,t),e}n(lCt,"Yx");function cx(t){var e;return e=new Ar,RP(e,t),e}n(cx,"gv");function l(t,e){return b7(t==null||N$(t,e)),t}n(l,"RD");function B1e(t,e,r){cTt.call(this,e,r),this.a=t}n(B1e,"Mxb");function hCt(t,e){this.c=t,this.b=e,this.a=!1}n(hCt,"kB");function uCt(){this.a=";,;",this.b="",this.c=""}n(uCt,"hCb");function dCt(t,e,r){this.b=t,xkt.call(this,e,r)}n(dCt,"$Cb");function wX(t,e,r){this.c=t,pB.call(this,e,r)}n(wX,"uub");function mX(t,e,r){I5.call(this,t,e),this.b=r}n(mX,"fZb");function yX(t,e,r){det(r,0,t,e,r.length,!1)}n(yX,"YEb");function h1(t,e,r,i,a){t.b=e,t.c=r,t.d=i,t.a=a}n(h1,"JYb");function vX(t,e,r,i,a){t.d=e,t.c=r,t.a=i,t.b=a}n(vX,"D2b");function M1e(t,e){e&&(t.b=e,t.a=(Fd(e),e.a))}n(M1e,"XDb");function lx(t,e){if(!t)throw R(new Le(e))}n(lx,"mFb");function y3(t,e){if(!t)throw R(new Ga(e))}n(y3,"zFb");function kX(t,e){if(!t)throw R(new y6t(e))}n(kX,"qFb");function A1e(t,e){return cB(),Ho(t.d.p,e.d.p)}n(A1e,"zqc");function L1e(t,e){return J1(),pr(t.e.b,e.e.b)}n(L1e,"T0c");function _1e(t,e){return J1(),pr(t.e.a,e.e.a)}n(_1e,"U0c");function F1e(t,e){return Ho(BCt(t.d),BCt(e.d))}n(F1e,"Xoc");function iM(t,e){return e&&MM(t,e.d)?e:null}n(iM,"Izb");function O1e(t,e){return e==(At(),je)?t.c:t.d}n(O1e,"$lc");function xX(t){return Pd(F0e(uo(t)?Pl(t):t))}n(xX,"Qdb");function D1e(t){return new xt(t.c+t.b,t.d+t.a)}n(D1e,"Nid");function fCt(t){return t!=null&&!T$(t,ES,BS)}n(fCt,"GSd");function j1e(t,e){return(UFt(t)<<4|UFt(e))&gi}n(j1e,"DSd");function bCt(t,e,r,i,a){t.c=e,t.d=r,t.b=i,t.a=a}n(bCt,"Rid");function CX(t){var e,r;e=t.b,r=t.c,t.b=r,t.c=e}n(CX,"y8b");function TX(t){var e,r;r=t.d,e=t.a,t.d=e,t.a=r}n(TX,"B8b");function I1e(t,e){var r;return r=t.c,nJ(t,e),r}n(I1e,"u6d");function SX(t,e){return e<0?t.g=-1:t.g=e,t}n(SX,"Nqd");function aM(t,e){return K2e(t),t.a*=e,t.b*=e,t}n(aM,"kjd");function gCt(t,e,r){lLt.call(this,e,r),this.d=t}n(gCt,"hrc");function hx(t,e,r){UG.call(this,t,e),this.c=r}n(hx,"PZd");function oM(t,e,r){UG.call(this,t,e),this.c=r}n(oM,"Kfe");function EX(t){iX(),DE.call(this),this.ci(t)}n(EX,"zUd");function pCt(){iy(),rde.call(this,(Td(),Bh))}n(pCt,"Yee");function wCt(t){return Jn(),++Vr,new u1(0,t)}n(wCt,"Yse");function mCt(){mCt=tt,flt=(de(),new fD(wat))}n(mCt,"uke");function sM(){sM=tt,new PZ((BD(),Aat),(ED(),Mat))}n(sM,"ux");function yCt(){yCt=tt,bUt=ht(ia,Tt,17,256,0,1)}n(yCt,"ugb");function vCt(){this.b=it(lt(Lt((gh(),sot))))}n(vCt,"zUb");function iI(t){this.b=t,this.a=Ff(this.b.a).Od()}n(iI,"Pq");function kCt(t,e){this.b=t,this.a=e,iD.call(this)}n(kCt,"mr");function xCt(t,e){this.a=t,this.b=e,iD.call(this)}n(xCt,"sr");function CCt(t,e,r){this.a=t,uw.call(this,e,r)}n(CCt,"s_d");function TCt(t,e,r){this.a=t,uw.call(this,e,r)}n(TCt,"n_d");function U5(t,e,r){var i;i=new $p(r),$h(t,e,i)}n(U5,"sDd");function BX(t,e,r){var i;return i=t[e],t[e]=r,i}n(BX,"_Eb");function cM(t){var e;return e=t.slice(),vP(e,t)}n(cM,"UEb");function lM(t){var e;return e=t.n,t.a.b+e.d+e.a}n(lM,"SJb");function SCt(t){var e;return e=t.n,t.e.b+e.d+e.a}n(SCt,"PKb");function MX(t){var e;return e=t.n,t.e.a+e.b+e.c}n(MX,"QKb");function AX(t){t.a.b=t.b,t.b.a=t.a,t.a=t.b=null}n(AX,"rub");function Fn(t,e){return Kr(t,e,t.c.b,t.c),!0}n(Fn,"Mub");function P1e(t){return t.a?t.a:FI(t)}n(P1e,"w2b");function $1e(t){return B3(),w1(t)==_r(Hd(t))}n($1e,"NSb");function N1e(t){return B3(),Hd(t)==_r(w1(t))}n(N1e,"OSb");function eg(t,e){return c8(t,new I5(e.a,e.b))}n(eg,"l_b");function R1e(t,e){return LM(),G$(t,e),new GTt(t,e)}n(R1e,"xn");function z1e(t,e){return t.c=e)throw R(new EW)}n(W5,"lyb");function Ip(t,e){return oC(t,(Ie(e),new G3t(e)))}n(Ip,"JDb");function k3(t,e){return oC(t,(Ie(e),new V3t(e)))}n(k3,"KDb");function hTt(t,e,r){return bLe(t,l(e,12),l(r,12))}n(hTt,"prc");function uTt(t){return tc(),l(t,12).g.c.length!=0}n(uTt,"q4b");function dTt(t){return tc(),l(t,12).e.c.length!=0}n(dTt,"v4b");function S0e(t,e){return I3(),pr(e.a.o.a,t.a.o.a)}n(S0e,"sdc");function E0e(t,e){(e.Bb&Wo)!=0&&!t.a.o&&(t.a.o=e)}n(E0e,"d_d");function B0e(t,e){e.Ug("General 'Rotator",1),qMe(t)}n(B0e,"T3c");function M0e(t,e,r){e.qf(r,it(lt(He(t.b,r)))*t.a)}n(M0e,"MCc");function fTt(t,e,r){return qw(),my(t,e)&&my(t,r)}n(fTt,"yid");function m7(t){return fc(),!t.Hc(ud)&&!t.Hc(kb)}n(m7,"Rod");function A0e(t){return t.e?pQ(t.e):null}n(A0e,"Nrc");function y7(t){return uo(t)?""+t:w$t(t)}n(y7,"Zdb");function VX(t){var e;for(e=t;e.f;)e=e.f;return e}n(VX,"XNc");function L0e(t,e,r){return Hr(e,0,DX(e[0],r[0])),e}n(L0e,"HBb");function $0(t,e,r,i){var a;a=t.i,a.i=e,a.a=r,a.b=i}n($0,"Gpc");function pt(t,e,r,i){ci.call(this,t,e,r),this.b=i}n(pt,"C5d");function _i(t,e,r,i,a){mP.call(this,t,e,r,i,a,-1)}n(_i,"N3d");function v7(t,e,r,i,a){Fx.call(this,t,e,r,i,a,-1)}n(v7,"b4d");function CM(t,e,r,i){hx.call(this,t,e,r),this.b=i}n(CM,"Iie");function bTt(t){hkt.call(this,t,!1),this.a=!1}n(bTt,"Xde");function gTt(){H8t.call(this,"LOOKAHEAD_LAYOUT",1)}n(gTt,"Bqd");function pTt(t){this.b=t,b3.call(this,t),v9t(this)}n(pTt,"nNd");function wTt(t){this.b=t,J9.call(this,t),k9t(this)}n(wTt,"vNd");function Pp(t,e,r){this.a=t,p3.call(this,e,r,5,6)}n(Pp,"J5d");function XX(t,e,r,i){this.b=t,ci.call(this,e,r,i)}n(XX,"wje");function mTt(t,e){this.b=t,C3t.call(this,t.b),this.a=e}n(mTt,"Tj");function yTt(t){this.a=nDt(t.a),this.b=new cc(t.b)}n(yTt,"NLc");function YX(t,e){og(),sse.call(this,t,WA(new sc(e)))}n(YX,"Fx");function TM(t,e){return Jn(),++Vr,new uY(t,e,0)}n(TM,"_se");function wI(t,e){return Jn(),++Vr,new uY(6,t,e)}n(wI,"bte");function Yi(t,e){for(Ie(e);t.Ob();)e.Cd(t.Pb())}n(Yi,"Ztb");function xs(t,e){return Oi(e)?RI(t,e):!!_a(t.f,e)}n(xs,"Ujb");function mI(t,e){return e.Vh()?Rd(t.b,l(e,54)):e}n(mI,"O_d");function _0e(t,e){return ie(t.substr(0,e.length),e)}n(_0e,"whb");function d1(t){return new We(new mV(t.a.length,t.a))}n(d1,"Fl");function SM(t){return new xt(t.c+t.b/2,t.d+t.a/2)}n(SM,"Oid");function F0e(t){return ks(~t.l&zc,~t.m&zc,~t.h&id)}n(F0e,"yD");function yI(t){return typeof t===i_||typeof t===qnt}n(yI,"cE");function lc(t){t.f=new $kt(t),t.i=new Nkt(t),++t.g}n(lc,"akb");function vTt(t){if(!t)throw R(new mo);return t.d}n(vTt,"Klb");function x3(t){var e;return e=H7(t),Je(e!=null),e}n(x3,"smb");function O0e(t){var e;return e=X3e(t),Je(e!=null),e}n(O0e,"tmb");function G5(t,e){var r;return r=t.a.gc(),uQ(e,r),r-e}n(G5,"tv");function fi(t,e){var r;return r=t.a.zc(e,t),r==null}n(fi,"Ysb");function dx(t,e){return t.a.zc(e,(Se(),sb))==null}n(dx,"rAb");function QX(t){return new ne(null,$0e(t,t.length))}n(QX,"_nb");function JX(t,e,r){return zNt(t,l(e,42),l(r,176))}n(JX,"yPb");function C3(t,e,r){return dh(t.a,e),BX(t.b,e.g,r)}n(C3,"Wrb");function D0e(t,e,r){W5(r,t.a.c.length),dl(t.a,r,e)}n(D0e,"fyb");function st(t,e,r,i){mFt(e,r,t.length),j0e(t,e,r,i)}n(st,"Knb");function j0e(t,e,r,i){var a;for(a=e;a0?v.Math.log(t/e):-100}n(P0e,"uUb");function xTt(t,e){return Ko(t,e)<0?-1:Ko(t,e)>0?1:0}n(xTt,"Agb");function fx(t,e){d9t(t,J(e,160)?e:l(e,2036).Rl())}n(fx,"Dge");function nY(t,e){if(t==null)throw R(new r3(e))}n(nY,"vFb");function $0e(t,e){return R2e(e,t.length),new ACt(t,e)}n($0e,"$nb");function rY(t,e){return e?Vi(t,e):!1}n(rY,"hsc");function N0e(){return VE(),H(q(ije,1),mt,549,0,[Fat])}n(N0e,"Gs");function x7(t){return t.e==0?t:new Df(-t.e,t.d,t.a)}n(x7,"Xib");function R0e(t,e){return pr(t.c.c+t.c.b,e.c.c+e.c.b)}n(R0e,"$Nb");function bx(t,e){Kr(t.d,e,t.b.b,t.b),++t.a,t.c=null}n(bx,"cvb");function CTt(t,e){return t.c?CTt(t.c,e):Mt(t.b,e),t}n(CTt,"JCb");function z0e(t,e,r){var i;return i=Up(t,e),nP(t,e,r),i}n(z0e,"KB");function TTt(t,e,r){var i;for(i=0;i=t.g}n(Z0e,"rWb");function Hr(t,e,r){return Fle(r==null||BSe(t,r)),t[e]=r}n(Hr,"bD");function cY(t,e){return _e(e,t.length+1),t.substr(e)}n(cY,"yhb");function AI(t,e){for(Ie(e);t.c=t?new oG:hwe(t-1)}n(ade,"hDb");function Qi(t){return!t.a&&t.c?t.c.b:t.a}n(Qi,"Y2b");function fY(t){return J(t,616)?t:new HSt(t)}n(fY,"Zx");function Fd(t){t.c?Fd(t.c):(zd(t),t.d=!0)}n(Fd,"LCb");function S7(t){t.c?t.c.$e():(t.d=!0,Mxe(t))}n(S7,"ICb");function KTt(t){t.b=!1,t.c=!1,t.d=!1,t.a=!1}n(KTt,"bHb");function UTt(t){var e,r;return e=t.c.i.c,r=t.d.i.c,e==r}n(UTt,"uMc");function ode(t,e){var r;r=t.Ih(e),r>=0?t.ki(r):net(t,e)}n(ode,"_vd");function WTt(t,e){t.c<0||t.b.b0;)t=t<<1|(t<0?1:0);return t}n(f1,"qgb");function tSt(t,e){var r;return r=new as(t),Te(e.c,r),r}n(tSt,"BGc");function eSt(t,e){t.u.Hc((fc(),ud))&&uke(t,e),Ape(t,e)}n(eSt,"FMb");function Do(t,e){return ot(t)===ot(e)||t!=null&&er(t,e)}n(Do,"Fvb");function Pa(t,e){return lI(t.a,e)?t.b[l(e,22).g]:null}n(Pa,"Vrb");function yde(){return sB(),H(q(iWt,1),mt,489,0,[tot])}n(yde,"YRb");function vde(){return hB(),H(q(FQt,1),mt,490,0,[Tct])}n(vde,"ybd");function kde(){return uB(),H(q(KHe,1),mt,558,0,[Sct])}n(kde,"Hbd");function xde(){return R6(),H(q(ZQt,1),mt,539,0,[BF])}n(xde,"gdd");function _M(t){return!t.n&&(t.n=new pt(Za,t,1,7)),t.n}n(_M,"iyd");function _I(t){return!t.c&&(t.c=new pt(_c,t,9,9)),t.c}n(_I,"wCd");function wY(t){return!t.c&&(t.c=new pe(en,t,5,8)),t.c}n(wY,"mzd");function Cde(t){return!t.b&&(t.b=new pe(en,t,4,7)),t.b}n(Cde,"lzd");function gx(t){return t.j.c.length=0,yY(t.c),ehe(t.a),t}n(gx,"Sed");function J5(t){return t.e==J8&&qae(t,w5e(t.g,t.b)),t.e}n(J5,"Afe");function px(t){return t.f==J8&&Kae(t,cve(t.g,t.b)),t.f}n(px,"Bfe");function Kn(t,e,r,i){return T_t(t,e,r,!1),GA(t,i),t}n(Kn,"xBd");function nSt(t,e){this.b=t,vI.call(this,t,e),v9t(this)}n(nSt,"oNd");function rSt(t,e){this.b=t,eX.call(this,t,e),k9t(this)}n(rSt,"wNd");function E7(t){this.d=t,this.a=this.d.b,this.b=this.d.c}n(E7,"Kmb");function mY(t,e){this.b=t,this.c=e,this.a=new s3(this.b)}n(mY,"oy");function ea(t,e){return _e(e,t.length),t.charCodeAt(e)}n(ea,"ihb");function Tde(t,e){aZ(t,it(Z1(e,"x")),it(Z1(e,"y")))}n(Tde,"NDd");function Sde(t,e){aZ(t,it(Z1(e,"x")),it(Z1(e,"y")))}n(Sde,"$Dd");function ir(t,e){return zd(t),new ne(t,new AQ(e,t.a))}n(ir,"CDb");function no(t,e){return zd(t),new ne(t,new bQ(e,t.a))}n(no,"GDb");function Np(t,e){return zd(t),new OV(t,new dMt(e,t.a))}n(Np,"HDb");function FM(t,e){return zd(t),new DV(t,new fMt(e,t.a))}n(FM,"IDb");function Ede(t,e){return new BSt(l(Cn(t),50),l(Cn(e),50))}n(Ede,"Ty");function Bde(t,e){return pr(t.d.c+t.d.b/2,e.d.c+e.d.b/2)}n(Bde,"nHb");function iSt(t,e,r){r.a?Es(t,e.b-t.f/2):Ss(t,e.a-t.g/2)}n(iSt,"gTb");function Mde(t,e){return pr(t.g.c+t.g.b/2,e.g.c+e.g.b/2)}n(Mde,"WYb");function Ade(t,e){return lG(),pr((Ie(t),t),(Ie(e),e))}n(Ade,"RZb");function Lde(t){return t!=null&&A9(RH,t.toLowerCase())}n(Lde,"wSd");function yY(t){var e;for(e=t.Kc();e.Ob();)e.Pb(),e.Qb()}n(yY,"Ae");function kw(t){var e;return e=t.b,!e&&(t.b=e=new g3t(t)),e}n(kw,"Ih");function FI(t){var e;return e=bwe(t),e||null}n(FI,"R0b");function aSt(t,e){var r,i;return r=t/e,i=xi(r),r>i&&++i,i}n(aSt,"BSb");function _de(t,e,r){var i;i=l(t.d.Kb(r),159),i&&i.Nb(e)}n(_de,"Ck");function Fde(t,e,r){jEe(t.a,r),ume(r),e9e(t.b,r),eBe(e,r)}n(Fde,"Vhc");function OM(t,e,r,i){this.a=t,this.c=e,this.b=r,this.d=i}n(OM,"oNc");function vY(t,e,r,i){this.c=t,this.b=e,this.a=r,this.d=i}n(vY,"ROc");function oSt(t,e,r,i){this.c=t,this.b=e,this.d=r,this.a=i}n(oSt,"uPc");function ll(t,e,r,i){this.c=t,this.d=e,this.b=r,this.a=i}n(ll,"Uid");function sSt(t,e,r,i){this.a=t,this.d=e,this.c=r,this.b=i}n(sSt,"GTc");function OI(t,e,r,i){this.a=t,this.e=e,this.d=r,this.c=i}n(OI,"t1b");function cSt(t,e,r,i){this.a=t,this.c=e,this.d=r,this.b=i}n(cSt,"$td");function DI(t,e,r){this.a=gzt,this.d=t,this.b=e,this.c=r}n(DI,"ehb");function S3(t,e,r,i){gn.call(this,t,e),this.a=r,this.b=i}n(S3,"fpc");function lSt(t,e){this.d=(Ie(t),t),this.a=16449,this.c=e}n(lSt,"Uwb");function hSt(t){this.a=new Bt,this.e=ht(yn,Tt,53,t,0,2)}n(hSt,"CIc");function Ode(t){t.Ug("No crossing minimization",1),t.Vg()}n(Ode,"ELc");function uSt(){yo.call(this,"There is no more element.")}n(uSt,"Evb");function dSt(t,e,r,i){this.a=t,this.b=e,this.c=r,this.d=i}n(dSt,"OEd");function fSt(t,e,r,i){this.a=t,this.b=e,this.c=r,this.d=i}n(fSt,"PEd");function jf(t,e,r,i){this.e=t,this.a=e,this.c=r,this.d=i}n(jf,"h7d");function bSt(t,e,r,i){this.a=t,this.c=e,this.d=r,this.b=i}n(bSt,"x7d");function gSt(t,e,r,i){sl(),bMt.call(this,e,r,i),this.a=t}n(gSt,"C8d");function pSt(t,e,r,i){sl(),bMt.call(this,e,r,i),this.a=t}n(pSt,"J8d");function jI(t,e,r){var i,a;return i=Dnt(t),a=e.ti(r,i),a}n(jI,"lwd");function K1(t){var e,r;return r=(e=new $b,e),ly(r,t),r}n(K1,"lBd");function II(t){var e,r;return r=(e=new $b,e),Itt(r,t),r}n(II,"mBd");function Dde(t,e){var r;return r=He(t.f,e),gJ(e,r),null}n(Dde,"HDd");function wSt(t){return!t.b&&(t.b=new pt(ii,t,12,3)),t.b}n(wSt,"uCd");function mSt(t){return b7(t==null||yI(t)&&t.Tm!==nn),t}n(mSt,"VD");function DM(t){return t.n&&(t.e!==DLe&&t.je(),t.j=null),t}n(DM,"gz");function Z5(t){if(Tc(t.d),t.d.d!=t.c)throw R(new al)}n(Z5,"Ng");function kY(t){return Je(t.b0&&YDt(this)}n(PI,"xPd");function ySt(t,e){this.a=t,Ole.call(this,t,l(t.d,15).fd(e))}n(ySt,"Vg");function jde(t,e){return pr(Qs(t)*Pc(t),Qs(e)*Pc(e))}n(jde,"lrd");function Ide(t,e){return pr(Qs(t)*Pc(t),Qs(e)*Pc(e))}n(Ide,"mrd");function Pde(t){return Ag(t)&&jt(Dt(yt(t,(Ot(),Qg))))}n(Pde,"n5b");function $de(t,e){return oe(t,l(O(e,(Ot(),mk)),17),e)}n($de,"Sfc");function Nde(t,e){return l(O(t,(Ct(),Bv)),15).Fc(e),e}n(Nde,"lic");function xY(t,e){return t.b=e.b,t.c=e.c,t.d=e.d,t.a=e.a,t}n(xY,"C2b");function vSt(t,e,r,i){this.b=t,this.c=i,NB.call(this,e,r)}n(vSt,"cEb");function Rde(t,e,r){t.i=0,t.e=0,e!=r&&rFt(t,e,r)}n(Rde,"Ulc");function zde(t,e,r){t.i=0,t.e=0,e!=r&&iFt(t,e,r)}n(zde,"Vlc");function qde(t,e,r){return N6(),g4e(l(He(t.e,e),529),r)}n(qde,"akc");function E3(t){var e;return e=t.f,e||(t.f=new D5(t,t.c))}n(E3,"nd");function kSt(t,e){return _w(t.j,e.s,e.c)+_w(e.e,t.s,t.c)}n(kSt,"nTc");function xSt(t,e){t.e&&!t.e.a&&(cvt(t.e,e),xSt(t.e,e))}n(xSt,"Rrc");function CSt(t,e){t.d&&!t.d.a&&(cvt(t.d,e),CSt(t.d,e))}n(CSt,"Qrc");function Hde(t,e){return-pr(Qs(t)*Pc(t),Qs(e)*Pc(e))}n(Hde,"krd");function Kde(t){return l(t.ld(),149).Pg()+":"+bo(t.md())}n(Kde,"gtd");function TSt(){gN(this,new jU),this.wb=(Ld(),Ee),_5()}n(TSt,"EBd");function SSt(t){this.b=new Bt,bi(this.b,this.b),this.a=t}n(SSt,"G7b");function CY(t,e){new Ar,this.a=new Vs,this.b=t,this.c=e}n(CY,"WWc");function hg(){hg=tt,EUt=new wo,Nat=new wo,BUt=new Ws}n(hg,"urb");function de(){de=tt,Ba=new $i,b0=new ja,Mz=new Or}n(de,"yob");function TY(){TY=tt,Pje=new c9,Nje=new NX,$je=new mE}n(TY,"FGb");function B3(){B3=tt,Iz=new Bt,iot=new sn,rot=new Bt}n(B3,"HSb");function jM(t,e){if(t==null)throw R(new r3(e));return t}n(jM,"Rb");function IM(t){return!t.a&&(t.a=new pt(Vn,t,10,11)),t.a}n(IM,"tCd");function ur(t){return!t.q&&(t.q=new pt(Eh,t,11,10)),t.q}n(ur,"uYd");function bt(t){return!t.s&&(t.s=new pt(ac,t,21,17)),t.s}n(bt,"xYd");function Ude(t){return Cn(t),dDt(new We(Ve(t.a.Kc(),new et)))}n(Ude,"er");function Wde(t,e){return Nc(t),Nc(e),m6t(l(t,22),l(e,22))}n(Wde,"hfd");function If(t,e,r){var i,a;i=rX(r),a=new IE(i),$h(t,e,a)}n(If,"qDd");function $I(t,e,r,i,a,c){Fx.call(this,t,e,r,i,a,c?-2:-1)}n($I,"d4d");function ESt(t,e,r,i){UG.call(this,e,r),this.b=t,this.a=i}n(ESt,"sje");function BSt(t,e){foe.call(this,new pI(t)),this.a=t,this.b=e}n(BSt,"Ry");function SY(t){this.b=t,this.c=t,t.e=null,t.c=null,this.a=1}n(SY,"Gu");function Gde(t){ch();var e;e=l(t.g,10),e.n.a=t.d.c+e.d.b}n(Gde,"Dkc");function ty(){ty=tt;var t,e;e=!t5e(),t=new ge,aUt=e?new Ce:t}n(ty,"fA");function NI(t){return de(),J(t,59)?new jD(t):new GB(t)}n(NI,"Hob");function PM(t){return J(t,16)?new g7(l(t,16)):E1e(t.Kc())}n(PM,"Ux");function Vde(t){return new C9t(t,t.e.Rd().gc()*t.c.Rd().gc())}n(Vde,"Vi");function Xde(t){return new T9t(t,t.e.Rd().gc()*t.c.Rd().gc())}n(Xde,"fj");function EY(t){return t&&t.hashCode?t.hashCode():Zb(t)}n(EY,"Iz");function RI(t,e){return e==null?!!_a(t.f,null):u0e(t.i,e)}n(RI,"Yjb");function Yde(t,e){var r;return r=lV(t.a,e),r&&(e.d=null),r}n(Yde,"hYb");function MSt(t,e,r){return t.f?t.f.ef(e,r):!1}n(MSt,"MGb");function wx(t,e,r,i){Hr(t.c[e.g],r.g,i),Hr(t.c[r.g],e.g,i)}n(wx,"cFc");function zI(t,e,r,i){Hr(t.c[e.g],e.g,r),Hr(t.b[e.g],e.g,i)}n(zI,"fFc");function Qde(t,e,r){return it(lt(r.a))<=t&&it(lt(r.b))>=e}n(Qde,"sXc");function ASt(t,e){this.g=t,this.d=H(q(p0,1),Xd,10,0,[e])}n(ASt,"yJc");function LSt(t){this.c=t,this.b=new D0(l(Cn(new w6),50))}n(LSt,"lHb");function _St(t){this.c=t,this.b=new D0(l(Cn(new vd),50))}n(_St,"UYb");function FSt(t){this.b=t,this.a=new D0(l(Cn(new Xm),50))}n(FSt,"$Qb");function OSt(){this.b=new oi,this.d=new Ar,this.e=new BW}n(OSt,"tRc");function BY(){this.c=new Hi,this.d=new Hi,this.e=new Hi}n(BY,"VTb");function ug(){this.a=new Vs,this.b=(Jc(3,Xw),new hs(3))}n(ug,"a1b");function N0(t,e){this.e=t,this.a=Ai,this.b=O$t(e),this.c=e}n(N0,"i7d");function $M(t){this.c=t.c,this.d=t.d,this.b=t.b,this.a=t.a}n($M,"Vid");function DSt(t,e,r,i,a,c){this.a=t,OP.call(this,e,r,i,a,c)}n(DSt,"VLd");function jSt(t,e,r,i,a,c){this.a=t,OP.call(this,e,r,i,a,c)}n(jSt,"aLd");function Od(t,e,r,i,a,c,u){return new iP(t.e,e,r,i,a,c,u)}n(Od,"fge");function Jde(t,e,r){return r>=0&&ie(t.substr(r,e.length),e)}n(Jde,"xhb");function ISt(t,e){return J(e,149)&&ie(t.b,l(e,149).Pg())}n(ISt,"hGd");function Zde(t,e){return t.a?e.Gh().Kc():l(e.Gh(),71).Ii()}n(Zde,"Tde");function PSt(t,e){var r;return r=t.b.Qc(e),_Bt(r,t.b.gc()),r}n(PSt,"Qqb");function mx(t,e){if(t==null)throw R(new r3(e));return t}n(mx,"Ivb");function ro(t){return t.u||(xc(t),t.u=new pxt(t,t)),t.u}n(ro,"zYd");function qI(t){this.a=(de(),J(t,59)?new jD(t):new GB(t))}n(qI,"Kx");function Ps(t){var e;return e=l(Ae(t,16),29),e||t.ii()}n(Ps,"Uwd");function NM(t,e){var r;return r=Af(t.Rm),e==null?r:r+": "+e}n(NM,"lz");function hl(t,e,r){return Gi(e,r,t.length),t.substr(e,r-e)}n(hl,"zhb");function $St(t,e){JB.call(this),$Q(this),this.a=t,this.c=e}n($St,"VKb");function tfe(t){t&&NM(t,t.ie())}n(tfe,"neb");function efe(t){QE(),v.setTimeout(function(){throw t},0)}n(efe,"Wz");function nfe(){return sL(),H(q(jUt,1),mt,436,0,[Gat,DUt])}n(nfe,"GHb");function rfe(){return bA(),H(q(PUt,1),mt,435,0,[IUt,Vat])}n(rfe,"OHb");function ife(){return gA(),H(q(uWt,1),mt,432,0,[aot,Pz])}n(ife,"WUb");function afe(){return wy(),H(q($Pe,1),mt,517,0,[J_,yot])}n(afe,"S8b");function ofe(){return XM(),H(q(VGt,1),mt,429,0,[Xot,GGt])}n(ofe,"Rvc");function sfe(){return qx(),H(q(FGt,1),mt,428,0,[fq,_Gt])}n(sfe,"buc");function cfe(){return oA(),H(q(TGt,1),mt,431,0,[CGt,Dot])}n(cfe,"mtc");function lfe(){return Rx(),H(q(RXt,1),mt,430,0,[Lst,_st])}n(lfe,"vEc");function hfe(){return _7(),H(q(Aze,1),mt,531,0,[YT,XT])}n(hfe,"vNc");function ufe(){return LA(),H(q(IYt,1),mt,501,0,[rH,L4])}n(ufe,"D2c");function dfe(){return $u(),H(q(Ize,1),mt,523,0,[P2,nf])}n(dfe,"zQc");function ffe(){return cu(),H(q($ze,1),mt,522,0,[np,Qu])}n(ffe,"HQc");function bfe(){return Ih(),H(q(Zze,1),mt,528,0,[Cm,bb])}n(bfe,"iTc");function gfe(){return jx(),H(q(jGt,1),mt,488,0,[DGt,gq])}n(gfe,"Fuc");function pfe(){return tA(),H(q(SQt,1),mt,491,0,[kct,TQt])}n(pfe,"F8c");function wfe(){return GP(),H(q(_Qt,1),mt,492,0,[AQt,LQt])}n(wfe,"H9c");function mfe(){return WM(),H(q(jYt,1),mt,433,0,[Zst,DYt])}n(mfe,"D_c");function yfe(){return cA(),H(q($Yt,1),mt,434,0,[PYt,act])}n(yfe,"a4c");function vfe(){return fg(),H(q(oqe,1),mt,465,0,[gb,B4])}n(vfe,"gVc");function kfe(){return Lx(),H(q(OQt,1),mt,438,0,[Ect,bH])}n(kfe,"Pbd");function xfe(){return Jx(),H(q(eJt,1),mt,437,0,[pH,tJt])}n(xfe,"rdd");function Cfe(){return Jj(),H(q(_H,1),mt,347,0,[pZt,wZt])}n(Cfe,"xqd");function RM(t,e,r,i){return r>=0?t.Uh(e,r,i):t.Ch(null,r,i)}n(RM,"Jvd");function yx(t){return t.b.b==0?t.a.sf():rI(t.b)}n(yx,"ltd");function Tfe(t){if(t.p!=5)throw R(new Gs);return xn(t.f)}n(Tfe,"vKd");function Sfe(t){if(t.p!=5)throw R(new Gs);return xn(t.k)}n(Sfe,"EKd");function MY(t){return ot(t.a)===ot((UP(),hlt))&&TBe(t),t.a}n(MY,"P$d");function Efe(t,e){t.b=e,t.c>0&&t.b>0&&(t.g=bM(t.c,t.b,t.a))}n(Efe,"iad");function Bfe(t,e){t.c=e,t.c>0&&t.b>0&&(t.g=bM(t.c,t.b,t.a))}n(Bfe,"jad");function NSt(t,e){Eae(this,new xt(t.a,t.b)),Bae(this,cx(e))}n(NSt,"BUc");function dg(){boe.call(this,new o3(Wp(12))),bV(!0),this.a=2}n(dg,"Tp");function HI(t,e,r){Jn(),Pb.call(this,t),this.b=e,this.a=r}n(HI,"eue");function AY(t,e,r){sl(),qE.call(this,e),this.a=t,this.b=r}n(AY,"C7d");function RSt(t){var e;e=t.c.d.b,t.b=e,t.a=t.c.d,e.a=t.c.d.b=t}n(RSt,"qub");function Mfe(t){return t.b==0?null:(Je(t.b!=0),bl(t,t.a.a))}n(Mfe,"Tub");function Cs(t,e){return e==null?eo(_a(t.f,null)):K6(t.i,e)}n(Cs,"Xjb");function zSt(t,e,r,i,a){return new wN(t,(sy(),Hat),e,r,i,a)}n(zSt,"bzb");function zM(t,e){return MBt(e),J2e(t,ht(yn,Pn,28,e,15,1),e)}n(zM,"Fnb");function qM(t,e){return jM(t,"set1"),jM(e,"set2"),new A7t(t,e)}n(qM,"Tx");function Afe(t,e){var r=Dat[t.charCodeAt(0)];return r??t}n(Afe,"Kz");function qSt(t,e){var r,i;return r=e,i=new jb,gRt(t,r,i),i.d}n(qSt,"Xyb");function KI(t,e,r,i){var a;a=new yxt,e.a[r.g]=a,C3(t.b,i,a)}n(KI,"EMb");function Lfe(t,e){var r;return r=X2e(t.f,e),Zn(QB(r),t.f.d)}n(Lfe,"SXb");function vx(t){var e;owe(t.a),Vkt(t.a),e=new NE(t.a),gZ(e)}n(vx,"RFb");function _fe(t,e){C$t(t,!0),Ts(t.e.Rf(),new sX(t,!0,e))}n(_fe,"_Mb");function Ffe(t,e){return B3(),t==_r(w1(e))||t==_r(Hd(e))}n(Ffe,"PSb");function Ofe(t,e){return J1(),l(O(e,(Lo(),F1)),17).a==t}n(Ofe,"R0c");function xi(t){return Math.max(Math.min(t,nr),-2147483648)|0}n(xi,"eE");function HSt(t){this.a=l(Cn(t),277),this.b=(de(),new kV(t))}n(HSt,"sy");function KSt(t,e,r){this.i=new Bt,this.b=t,this.g=e,this.a=r}n(KSt,"qbd");function LY(t,e,r){this.a=new Bt,this.e=t,this.f=e,this.c=r}n(LY,"had");function HM(t,e,r){this.c=new Bt,this.e=t,this.f=e,this.b=r}n(HM,"_9c");function USt(t){JB.call(this),$Q(this),this.a=t,this.c=!0}n(USt,"TKb");function Dfe(t){function e(){}return n(e,"b"),e.prototype=t||{},new e}n(Dfe,"ieb");function jfe(t){if(t.Ae())return null;var e=t.n;return xz[e]}n(jfe,"zfb");function kx(t){return t.Db>>16!=3?null:l(t.Cb,27)}n(kx,"kzd");function su(t){return t.Db>>16!=9?null:l(t.Cb,27)}n(su,"MCd");function WSt(t){return t.Db>>16!=6?null:l(t.Cb,74)}n(WSt,"Fzd");function fg(){fg=tt,gb=new OG(lv,0),B4=new OG(hv,1)}n(fg,"dVc");function $u(){$u=tt,P2=new LG(hv,0),nf=new LG(lv,1)}n($u,"wQc");function cu(){cu=tt,np=new _G(Mrt,0),Qu=new _G("UP",1)}n(cu,"EQc");function GSt(){GSt=tt,aje=wn((VE(),H(q(ije,1),mt,549,0,[Fat])))}n(GSt,"Is");function VSt(t){var e;return e=new eB(Wp(t.length)),MJ(e,t),e}n(VSt,"Wx");function XSt(t,e){return t.b+=e.b,t.c+=e.c,t.d+=e.d,t.a+=e.a,t}n(XSt,"B2b");function Ife(t,e){return j_t(t,e)?(_Lt(t),!0):!1}n(Ife,"qmb");function U1(t,e){if(e==null)throw R(new Jm);return n5e(t,e)}n(U1,"qC");function xx(t,e){var r;r=t.q.getHours(),t.q.setDate(e),x8(t,r)}n(xx,"nB");function _Y(t,e,r){var i;i=t.Ih(e),i>=0?t.bi(i,r):_et(t,e,r)}n(_Y,"Xvd");function YSt(t,e){var r;return r=t.Ih(e),r>=0?t.Wh(r):CN(t,e)}n(YSt,"Lvd");function QSt(t,e){var r;for(Cn(e),r=t.a;r;r=r.c)e.Yd(r.g,r.i)}n(QSt,"zo");function UI(t,e,r){var i;i=eFt(t,e,r),t.b=new FA(i.c.length)}n(UI,"pMc");function xw(t,e,r){KM(),t&&Hn(slt,t,e),t&&Hn(XF,t,r)}n(xw,"HId");function Pfe(t,e){return rM(),Se(),l(e.a,17).a0}n(Nfe,"xCd");function FY(t){var e;return e=t.d,e=t.bj(t.f),bn(t,e),e.Ob()}n(FY,"sId");function JSt(t,e){var r;return r=new IX(e),Cjt(r,t),new cc(r)}n(JSt,"bHd");function Rfe(t){if(t.p!=0)throw R(new Gs);return n7(t.f,0)}n(Rfe,"qKd");function zfe(t){if(t.p!=0)throw R(new Gs);return n7(t.k,0)}n(zfe,"zKd");function ZSt(t){return t.Db>>16!=7?null:l(t.Cb,241)}n(ZSt,"gBd");function ey(t){return t.Db>>16!=6?null:l(t.Cb,241)}n(ey,"xXd");function tEt(t){return t.Db>>16!=7?null:l(t.Cb,167)}n(tEt,"dCd");function _r(t){return t.Db>>16!=11?null:l(t.Cb,27)}n(_r,"vCd");function Rp(t){return t.Db>>16!=17?null:l(t.Cb,29)}n(Rp,"uWd");function eEt(t){return t.Db>>16!=3?null:l(t.Cb,155)}n(eEt,"kVd");function OY(t){var e;return zd(t),e=new oi,ir(t,new o4t(e))}n(OY,"BDb");function nEt(t,e){var r=t.a=t.a||[];return r[e]||(r[e]=t.ve(e))}n(nEt,"xfb");function qfe(t,e){var r;r=t.q.getHours(),t.q.setMonth(e),x8(t,r)}n(qfe,"qB");function rEt(t,e){UB(this),this.f=e,this.g=t,DM(this),this.je()}n(rEt,"oz");function iEt(t,e){this.a=t,this.c=Xi(this.a),this.b=new $M(e)}n(iEt,"TQb");function aEt(t,e,r){this.a=e,this.c=t,this.b=(Cn(r),new cc(r))}n(aEt,"aGb");function oEt(t,e,r){this.a=e,this.c=t,this.b=(Cn(r),new cc(r))}n(oEt,"s$b");function sEt(t){this.a=t,this.b=ht(Eze,Tt,2043,t.e.length,0,2)}n(sEt,"_Kc");function cEt(){this.a=new Ou,this.e=new oi,this.g=0,this.i=0}n(cEt,"fGb");function KM(){KM=tt,slt=new sn,XF=new sn,Ise(Cje,new Xpt)}n(KM,"EId");function lEt(){lEt=tt,hze=Js(new li,(na(),go),(ua(),Z_))}n(lEt,"KFc");function DY(){DY=tt,uze=Js(new li,(na(),go),(ua(),Z_))}n(DY,"RFc");function hEt(){hEt=tt,fze=Js(new li,(na(),go),(ua(),Z_))}n(hEt,"gGc");function uEt(){uEt=tt,_ze=In(new li,(na(),go),(ua(),MT))}n(uEt,"ANc");function Vc(){Vc=tt,Dze=In(new li,(na(),go),(ua(),MT))}n(Vc,"dOc");function dEt(){dEt=tt,jze=In(new li,(na(),go),(ua(),MT))}n(dEt,"gQc");function GI(){GI=tt,Rze=In(new li,(na(),go),(ua(),MT))}n(GI,"WQc");function B7(t,e,r,i,a,c){return new Y1(t.e,e,t.Lj(),r,i,a,c)}n(B7,"dZd");function Va(t,e,r){return e==null?fs(t.f,null,r):Cg(t.i,e,r)}n(Va,"$jb");function ca(t,e){t.c&&$s(t.c.g,t),t.c=e,t.c&&Mt(t.c.g,t)}n(ca,"Y0b");function Ui(t,e){t.c&&$s(t.c.a,t),t.c=e,t.c&&Mt(t.c.a,t)}n(Ui,"g3b");function ko(t,e){t.i&&$s(t.i.j,t),t.i=e,t.i&&Mt(t.i.j,t)}n(ko,"P3b");function Ni(t,e){t.d&&$s(t.d.e,t),t.d=e,t.d&&Mt(t.d.e,t)}n(Ni,"Z0b");function VI(t,e){t.a&&$s(t.a.k,t),t.a=e,t.a&&Mt(t.a.k,t)}n(VI,"_Sc");function XI(t,e){t.b&&$s(t.b.f,t),t.b=e,t.b&&Mt(t.b.f,t)}n(XI,"aTc");function fEt(t,e){tde(t,t.b,t.c),l(t.b.b,68),e&&l(e.b,68).b}n(fEt,"Odd");function Hfe(t,e){return pr(l(t.c,65).c.e.b,l(e.c,65).c.e.b)}n(Hfe,"j2c");function Kfe(t,e){return pr(l(t.c,65).c.e.a,l(e.c,65).c.e.a)}n(Kfe,"k2c");function Ufe(t){return u$(),Se(),l(t.a,86).d.e!=0}n(Ufe,"YXb");function UM(t,e){J(t.Cb,184)&&(l(t.Cb,184).tb=null),us(t,e)}n(UM,"LXd");function YI(t,e){J(t.Cb,90)&&a2(xc(l(t.Cb,90)),4),us(t,e)}n(YI,"CWd");function Wfe(t,e){oZ(t,e),J(t.Cb,90)&&a2(xc(l(t.Cb,90)),2)}n(Wfe,"_5d");function Gfe(t,e){var r,i;r=e.c,i=r!=null,i&&T3(t,new $p(e.c))}n(Gfe,"JFd");function bEt(t){var e,r;return r=(_5(),e=new $b,e),ly(r,t),r}n(bEt,"v0d");function gEt(t){var e,r;return r=(_5(),e=new $b,e),ly(r,t),r}n(gEt,"E4d");function pEt(t){for(var e;;)if(e=t.Pb(),!t.Ob())return e}n(pEt,"Fr");function Vfe(t,e,r){return Mt(t.a,(LM(),G$(e,r),new Ub(e,r))),t}n(Vfe,"nq");function os(t,e){return Ta(),SP(e)?new hM(e,t):new G9(e,t)}n(os,"rge");function Cx(t){return qu(),Ko(t,0)>=0?qd(t):x7(qd(K0(t)))}n(Cx,"ojb");function Xfe(t){var e;return e=l(cM(t.b),9),new cl(t.a,e,t.c)}n(Xfe,"Asb");function wEt(t,e){var r;return r=l(Qp(E3(t.a),e),16),r?r.gc():0}n(wEt,"Qw");function mEt(t,e,r){var i;HFt(e,r,t.c.length),i=r-e,rG(t.c,e,i)}n(mEt,"Zmb");function R0(t,e,r){HFt(e,r,t.gc()),this.c=t,this.a=e,this.b=r-e}n(R0,"Rkb");function M3(t){this.c=new Ar,this.b=t.b,this.d=t.c,this.a=t.a}n(M3,"fgd");function QI(t){this.a=v.Math.cos(t),this.b=v.Math.sin(t)}n(QI,"qjd");function Pf(t,e,r,i){this.c=t,this.d=i,VI(this,e),XI(this,r)}n(Pf,"bTc");function jY(t,e){doe.call(this,new o3(Wp(t))),Jc(e,MLe),this.a=e}n(jY,"Si");function yEt(t,e,r){return new wN(t,(sy(),qat),null,!1,e,r)}n(yEt,"Ryb");function vEt(t,e,r){return new wN(t,(sy(),Kat),e,r,null,!1)}n(vEt,"czb");function Yfe(){return dc(),H(q(so,1),mt,108,0,[OUt,Eo,im])}n(Yfe,"ABb");function Qfe(){return Ns(),H(q(Vje,1),mt,472,0,[ku,lb,Kh])}n(Qfe,"yLb");function Jfe(){return uc(),H(q(Wje,1),mt,471,0,[A1,cb,Hh])}n(Jfe,"HKb");function Zfe(){return Nh(),H(q(am,1),mt,237,0,[$o,As,No])}n(Zfe,"aKb");function tbe(){return D7(),H(q(EWt,1),mt,391,0,[lot,cot,hot])}n(tbe,"DWb");function ebe(){return vg(),H(q(Sot,1),mt,372,0,[S2,hb,T2])}n(ebe,"moc");function nbe(){return P7(),H(q(EGt,1),mt,322,0,[LT,nF,SGt])}n(nbe,"ytc");function rbe(){return CA(),H(q(MGt,1),mt,351,0,[BGt,dq,jot])}n(rbe,"Htc");function ibe(){return Wf(),H(q(g$e,1),mt,460,0,[$ot,dk,g4])}n(ibe,"kuc");function abe(){return xy(),H(q(Vot,1),mt,299,0,[Wot,Got,rF])}n(abe,"Avc");function obe(){return Q1(),H(q(C$e,1),mt,311,0,[iF,w4,Tv])}n(obe,"Jvc");function sbe(){return G7(),H(q(LXt,1),mt,390,0,[Cst,AXt,Hq])}n(sbe,"pDc");function cbe(){return Fa(),H(q(rze,1),mt,463,0,[WT,Mc,Ls])}n(cbe,"EEc");function lbe(){return PA(),H(q(HXt,1),mt,387,0,[zXt,Fst,qXt])}n(lbe,"NEc");function hbe(){return K7(),H(q(KXt,1),mt,349,0,[Dst,Ost,gF])}n(hbe,"WEc");function ube(){return Ly(),H(q(WXt,1),mt,350,0,[jst,UXt,GT])}n(ube,"oFc");function dbe(){return xA(),H(q(XXt,1),mt,352,0,[VXt,Ist,GXt])}n(dbe,"xFc");function fbe(){return zA(),H(q(YXt,1),mt,388,0,[Pst,Sk,xm])}n(fbe,"GFc");function bbe(){return yg(),H(q(Tze,1),mt,464,0,[pF,VT,Gq])}n(bbe,"UKc");function lu(t){return Co(H(q(Fi,1),Tt,8,0,[t.i.n,t.n,t.a]))}n(lu,"K3b");function gbe(){return U7(),H(q(fYt,1),mt,392,0,[dYt,Rst,mF])}n(gbe,"OZc");function kEt(){kEt=tt,jqe=Js(new li,(U3(),JT),(v8(),rYt))}n(kEt,"H_c");function WM(){WM=tt,Zst=new DG("DFS",0),DYt=new DG("BFS",1)}n(WM,"A_c");function xEt(t,e,r){var i;i=new ebt,i.b=e,i.a=r,++e.b,Mt(t.d,i)}n(xEt,"TQc");function pbe(t,e,r){var i;i=new wa(r.d),Zn(i,t),aZ(e,i.a,i.b)}n(pbe,"NTb");function wbe(t,e){b9t(t,xn(Si(rg(e,24),pR)),xn(Si(e,pR)))}n(wbe,"Nwb");function zp(t,e){if(t<0||t>e)throw R(new Wa(Tzt+t+Szt+e))}n(zp,"wFb");function ue(t,e){if(t<0||t>=e)throw R(new Wa(Tzt+t+Szt+e))}n(ue,"tFb");function _e(t,e){if(t<0||t>=e)throw R(new KW(Tzt+t+Szt+e))}n(_e,"BFb");function ce(t,e){this.b=(Ie(t),t),this.a=(e&Yw)==0?e|64|y1:e}n(ce,"Swb");function IY(t){var e;return zd(t),e=(hg(),hg(),Nat),mA(t,e)}n(IY,"ODb");function mbe(t,e,r){var i;return i=S8(t,e,!1),i.b<=e&&i.a<=r}n(mbe,"R9c");function ybe(){return lA(),H(q(MQt,1),mt,439,0,[xct,BQt,EQt])}n(ybe,"h9c");function vbe(){return YA(),H(q(lQt,1),mt,394,0,[cQt,wct,sQt])}n(vbe,"c7c");function kbe(){return nL(),H(q(oQt,1),mt,445,0,[CF,sH,uct])}n(kbe,"i6c");function xbe(){return fL(),H(q(dHe,1),mt,456,0,[dct,bct,fct])}n(xbe,"D6c");function Cbe(){return nC(),H(q(zYt,1),mt,393,0,[iH,NYt,RYt])}n(Cbe,"k4c");function Tbe(){return IA(),H(q(aQt,1),mt,300,0,[hct,iQt,rQt])}n(Tbe,"x5c");function Sbe(){return t0(),H(q(cZt,1),mt,346,0,[TH,sf,wS])}n(Sbe,"Ind");function Ebe(){return cC(),H(q(Cct,1),mt,444,0,[uH,dH,fH])}n(Ebe,"jbd");function Bbe(){return bu(),H(q(YJt,1),mt,278,0,[Fk,Bm,Ok])}n(Bbe,"Rmd");function Mbe(){return N3(),H(q(gZt,1),mt,280,0,[bZt,Am,LH])}n(Mbe,"pqd");function bg(t){return Cn(t),J(t,16)?new cc(l(t,16)):K5(t.Kc())}n(bg,"bv");function PY(t,e){return t&&t.equals?t.equals(e):ot(t)===ot(e)}n(PY,"Hz");function Si(t,e){return Pd(v0e(uo(t)?Pl(t):t,uo(e)?Pl(e):e))}n(Si,"Cdb");function jh(t,e){return Pd(k0e(uo(t)?Pl(t):t,uo(e)?Pl(e):e))}n(jh,"Rdb");function JI(t,e){return Pd(x0e(uo(t)?Pl(t):t,uo(e)?Pl(e):e))}n(JI,"$db");function Abe(t,e){var r;return r=(Ie(t),t).g,_V(!!r),Ie(e),r(e)}n(Abe,"xs");function CEt(t,e){var r,i;return i=G5(t,e),r=t.a.fd(i),new B7t(t,r)}n(CEt,"rv");function Lbe(t){return t.Db>>16!=6?null:l(EN(t),241)}n(Lbe,"CXd");function _be(t){if(t.p!=2)throw R(new Gs);return xn(t.f)&gi}n(_be,"sKd");function Fbe(t){if(t.p!=2)throw R(new Gs);return xn(t.k)&gi}n(Fbe,"BKd");function P(t){return Je(t.ai?1:0}n(qbe,"J_b");function BEt(t,e){var r,i;return r=kP(e),i=r,l(He(t.c,i),17).a}n(BEt,"Hmc");function ZI(t,e,r){var i;i=t.d[e.p],t.d[e.p]=t.d[r.p],t.d[r.p]=i}n(ZI,"CMc");function Hbe(t,e,r){var i;t.n&&e&&r&&(i=new Rpt,Mt(t.e,i))}n(Hbe,"Jqd");function tP(t,e){if(fi(t.a,e),e.d)throw R(new yo(QLe));e.d=t}n(tP,"gYb");function RY(t,e){this.a=new Bt,this.d=new Bt,this.f=t,this.c=e}n(RY,"Had");function MEt(){this.c=new h9t,this.a=new wMt,this.b=new Mvt,W7t()}n(MEt,"RWb");function AEt(){P3(),this.b=new sn,this.a=new sn,this.c=new Bt}n(AEt,"med");function LEt(t,e,r){this.d=t,this.j=e,this.e=r,this.o=-1,this.p=3}n(LEt,"KKd");function _Et(t,e,r){this.d=t,this.k=e,this.f=r,this.o=-1,this.p=5}n(_Et,"LKd");function FEt(t,e,r,i,a,c){RQ.call(this,t,e,r,i,a),c&&(this.o=-2)}n(FEt,"S3d");function OEt(t,e,r,i,a,c){zQ.call(this,t,e,r,i,a),c&&(this.o=-2)}n(OEt,"U3d");function DEt(t,e,r,i,a,c){iQ.call(this,t,e,r,i,a),c&&(this.o=-2)}n(DEt,"W3d");function jEt(t,e,r,i,a,c){KQ.call(this,t,e,r,i,a),c&&(this.o=-2)}n(jEt,"Y3d");function IEt(t,e,r,i,a,c){aQ.call(this,t,e,r,i,a),c&&(this.o=-2)}n(IEt,"$3d");function PEt(t,e,r,i,a,c){qQ.call(this,t,e,r,i,a),c&&(this.o=-2)}n(PEt,"a4d");function $Et(t,e,r,i,a,c){HQ.call(this,t,e,r,i,a),c&&(this.o=-2)}n($Et,"f4d");function NEt(t,e,r,i,a,c){oQ.call(this,t,e,r,i,a),c&&(this.o=-2)}n(NEt,"h4d");function REt(t,e,r,i){qE.call(this,r),this.b=t,this.c=e,this.d=i}n(REt,"N7d");function zEt(t,e){this.f=t,this.a=(iy(),HH),this.c=HH,this.b=e}n(zEt,"mfe");function qEt(t,e){this.g=t,this.d=(iy(),KH),this.a=KH,this.b=e}n(qEt,"Jfe");function zY(t,e){!t.c&&(t.c=new Gr(t,0)),QL(t.c,(gr(),AS),e)}n(zY,"Gme");function Kbe(t,e){return E9e(t,e,J(e,102)&&(l(e,19).Bb&Ea)!=0)}n(Kbe,"Oge");function Ube(t,e){return xTt(jo(t.q.getTime()),jo(e.q.getTime()))}n(Ube,"lB");function HEt(t){return oI(t.e.Rd().gc()*t.c.Rd().gc(),16,new d3t(t))}n(HEt,"gj");function Wbe(t){return!!t.u&&Jo(t.u.a).i!=0&&!(t.n&&H$(t.n))}n(Wbe,"CYd");function Gbe(t){return!!t.a&&Cc(t.a.a).i!=0&&!(t.b&&K$(t.b))}n(Gbe,"p4d");function qY(t,e){return e==0?!!t.o&&t.o.f!=0:P$(t,e)}n(qY,"Cxd");function Vbe(t,e,r){var i;return i=l(t.Zb().xc(e),16),!!i&&i.Hc(r)}n(Vbe,"Cc");function KEt(t,e,r){var i;return i=l(t.Zb().xc(e),16),!!i&&i.Mc(r)}n(KEt,"Gc");function UEt(t,e){var r;return r=1-e,t.a[r]=_A(t.a[r],r),_A(t,e)}n(UEt,"_yb");function WEt(t,e){var r,i;return i=Si(t,Na),r=lh(e,32),jh(r,i)}n(WEt,"DFb");function GEt(t,e,r){var i;i=(Cn(t),new cc(t)),Yye(new aEt(i,e,r))}n(GEt,"bGb");function Tx(t,e,r){var i;i=(Cn(t),new cc(t)),Qye(new oEt(i,e,r))}n(Tx,"t$b");function Mo(t,e,r,i,a,c){return T_t(t,e,r,c),QJ(t,i),JJ(t,a),t}n(Mo,"vBd");function VEt(t,e,r,i){return t.a+=""+hl(e==null?bc:bo(e),r,i),t}n(VEt,"Xhb");function Wi(t,e){this.a=t,x6.call(this,t),zp(e,t.gc()),this.b=e}n(Wi,"Jkb");function XEt(t){this.a=ht(Ai,xe,1,TJ(v.Math.max(8,t))<<1,5,1)}n(XEt,"xmb");function Sx(t){return l(pu(t,ht(p0,Xd,10,t.c.length,0,1)),199)}n(Sx,"t2b");function Nu(t){return l(pu(t,ht(wot,Urt,18,t.c.length,0,1)),483)}n(Nu,"s2b");function YEt(t){return t.a?t.e.length==0?t.a.a:t.a.a+(""+t.e):t.c}n(YEt,"Iyb");function M7(t){for(;t.d>0&&t.a[--t.d]==0;);t.a[t.d++]==0&&(t.e=0)}n(M7,"Rib");function QEt(t){return Je(t.b.b!=t.d.a),t.c=t.b=t.b.b,--t.a,t.c.c}n(QEt,"fvb");function Xbe(t,e,r){t.a=e,t.c=r,t.b.a.$b(),Gc(t.d),Tp(t.e.a.c,0)}n(Xbe,"sRc");function JEt(t,e){var r;t.e=new DW,r=s2(e),ai(r,t.c),d$t(t,r,0)}n(JEt,"Z5c");function hi(t,e,r,i){var a;a=new MU,a.a=e,a.b=r,a.c=i,Fn(t.a,a)}n(hi,"zgd");function St(t,e,r,i){var a;a=new MU,a.a=e,a.b=r,a.c=i,Fn(t.b,a)}n(St,"Agd");function ZEt(t,e,r){if(t<0||er)throw R(new Wa(c8e(t,e,r)))}n(ZEt,"Tb");function Ex(t,e){if(t<0||t>=e)throw R(new Wa(N8e(t,e)));return t}n(Ex,"Pb");function Ybe(t){if(!("stack"in t))try{throw t}catch{}return t}n(Ybe,"qz");function Cw(t){return N6(),J(t.g,10)?l(t.g,10):null}n(Cw,"Zjc");function Qbe(t){return kw(t).dc()?!1:(vce(t,new Ge),!0)}n(Qbe,"nx");function Nf(t){var e;return uo(t)?(e=t,e==-0?0:e):d2e(t)}n(Nf,"Xdb");function tBt(t,e){return J(e,44)?X$(t.a,l(e,44)):!1}n(tBt,"lkb");function eBt(t,e){return J(e,44)?X$(t.a,l(e,44)):!1}n(eBt,"gsb");function nBt(t,e){return J(e,44)?X$(t.a,l(e,44)):!1}n(nBt,"vub");function HY(t){var e;return Fd(t),e=new js,aw(t.a,new r4t(e)),e}n(HY,"RCb");function KY(){var t,e,r;return e=(r=(t=new $b,t),r),Mt(QZt,e),e}n(KY,"Vae");function GM(t){var e;return Fd(t),e=new sa,aw(t.a,new i4t(e)),e}n(GM,"mDb");function Jbe(t,e){return t.a<=t.b?(e.Dd(t.a++),!0):!1}n(Jbe,"jDb");function rBt(t){qP.call(this,t,(sy(),zat),null,!1,null,!1)}n(rBt,"xzb");function iBt(){iBt=tt,EIe=wn((sB(),H(q(iWt,1),mt,489,0,[tot])))}n(iBt,"$Rb");function aBt(){aBt=tt,JXt=QTt(Et(1),Et(4)),QXt=QTt(Et(1),Et(2))}n(aBt,"CHc");function Zbe(t,e){return new tI(e,u7(Xi(e.e),t,t),(Se(),!0))}n(Zbe,"yXc");function VM(t){return new hs((Jc(t,Wnt),pA(la(la(5,t),t/10|0))))}n(VM,"fv");function tge(t){return oI(t.e.Rd().gc()*t.c.Rd().gc(),273,new u3t(t))}n(tge,"Wi");function oBt(t){return l(pu(t,ht(jPe,M_e,12,t.c.length,0,1)),2042)}n(oBt,"u2b");function ege(t){return Vc(),!va(t)&&!(!va(t)&&t.c.i.c==t.d.i.c)}n(ege,"COc");function nge(t,e){return j3(),l(O(e,(Lo(),M4)),17).a>=t.gc()}n(nge,"Y_c");function A7(t,e){NAe(e,t),CX(t.d),CX(l(O(t,(Ot(),Iq)),214))}n(A7,"q8b");function eP(t,e){RAe(e,t),TX(t.d),TX(l(O(t,(Ot(),Iq)),214))}n(eP,"r8b");function rge(t,e,r){t.d&&$s(t.d.e,t),t.d=e,t.d&&ng(t.d.e,r,t)}n(rge,"$0b");function ige(t,e,r){return r.f.c.length>0?JX(t.a,e,r):JX(t.b,e,r)}n(ige,"jPb");function age(t,e,r){var i;i=x5e();try{return Wle(t,e,r)}finally{Qge(i)}}n(age,"Uz");function gg(t,e){var r,i;return r=U1(t,e),i=null,r&&(i=r.pe()),i}n(gg,"wDd");function L7(t,e){var r,i;return r=U1(t,e),i=null,r&&(i=r.se()),i}n(L7,"yDd");function ny(t,e){var r,i;return r=Up(t,e),i=null,r&&(i=r.se()),i}n(ny,"xDd");function W1(t,e){var r,i;return r=U1(t,e),i=null,r&&(i=Htt(r)),i}n(W1,"zDd");function oge(t,e,r){var i;return i=$y(r),WL(t.g,i,e),WL(t.i,e,r),e}n(oge,"rEd");function UY(t,e,r){this.d=new p5t(this),this.e=t,this.i=e,this.f=r}n(UY,"UIc");function sBt(t,e,r,i){this.e=null,this.c=t,this.d=e,this.a=r,this.b=i}n(sBt,"Mk");function cBt(t,e,r,i){i9t(this),this.c=t,this.e=e,this.f=r,this.b=i}n(cBt,"urc");function WY(t,e,r,i){this.d=t,this.n=e,this.g=r,this.o=i,this.p=-1}n(WY,"MKd");function lBt(t,e,r,i){return J(r,59)?new N9t(t,e,r,i):new WX(t,e,r,i)}n(lBt,"Vc");function ry(t){return J(t,16)?l(t,16).dc():!t.Kc().Ob()}n(ry,"gr");function hBt(t){if(t.e.g!=t.b)throw R(new al);return!!t.c&&t.d>0}n(hBt,"Wo");function cn(t){return Je(t.b!=t.d.c),t.c=t.b,t.b=t.b.a,++t.a,t.c.c}n(cn,"evb");function GY(t,e){Ie(e),Hr(t.a,t.c,e),t.c=t.c+1&t.a.length-1,FDt(t)}n(GY,"imb");function Dd(t,e){Ie(e),t.b=t.b-1&t.a.length-1,Hr(t.a,t.b,e),FDt(t)}n(Dd,"hmb");function uBt(t){var e;e=t.Gh(),this.a=J(e,71)?l(e,71).Ii():e.Kc()}n(uBt,"_je");function sge(t){return new ce(W2e(l(t.a.md(),16).gc(),t.a.ld()),16)}n(sge,"px");function dBt(){dBt=tt,HHe=wn((hB(),H(q(FQt,1),mt,490,0,[Tct])))}n(dBt,"Abd");function fBt(){fBt=tt,UHe=wn((uB(),H(q(KHe,1),mt,558,0,[Sct])))}n(fBt,"Jbd");function bBt(){bBt=tt,lKe=wn((R6(),H(q(ZQt,1),mt,539,0,[BF])))}n(bBt,"idd");function cge(){return Xf(),H(q(LWt,1),mt,389,0,[cm,AWt,got,pot])}n(cge,"X$b");function lge(){return sy(),H(q(Az,1),mt,304,0,[zat,qat,Hat,Kat])}n(lge,"hAb");function hge(){return q3(),H(q(kIe,1),mt,332,0,[U_,K_,W_,G_])}n(hge,"LPb");function uge(){return i8(),H(q(TIe,1),mt,406,0,[V_,Oz,Dz,X_])}n(uge,"LRb");function dge(){return xg(),H(q(yIe,1),mt,417,0,[H_,q_,Jat,Zat])}n(dge,"pOb");function fge(){return Cy(),H(q(CPe,1),mt,416,0,[C2,sm,om,h4])}n(fge,"uZb");function bge(){return gu(),H(q(ZPe,1),mt,421,0,[Cv,ak,ok,Tot])}n(bge,"hnc");function gge(){return RA(),H(q(qPe,1),mt,371,0,[Cot,oq,sq,tF])}n(gge,"zec");function pge(){return t2(),H(q(Sst,1),mt,203,0,[Kq,Tst,E4,S4])}n(pge,"BDc");function wge(){return Ru(),H(q(NXt,1),mt,284,0,[ef,$Xt,Mst,Ast])}n(wge,"nEc");function mge(t){var e;return t.j==(At(),on)&&(e=tPt(t),Ys(e,qe))}n(mge,"Unc");function yge(t,e){var r;r=e.a,ca(r,e.c.d),Ni(r,e.d.d),Xp(r.a,t.n)}n(yge,"qhc");function VY(t,e){var r;return r=l(fu(t.b,e),67),!r&&(r=new Ar),r}n(VY,"_5b");function L3(t){return N6(),J(t.g,154)?l(t.g,154):null}n(L3,"$jc");function vge(t){t.a=null,t.e=null,Tp(t.b.c,0),Tp(t.f.c,0),t.c=null}n(vge,"gRc");function XM(){XM=tt,Xot=new BG(P8,0),GGt=new BG("TOP_LEFT",1)}n(XM,"Ovc");function _7(){_7=tt,YT=new AG("UPPER",0),XT=new AG("LOWER",1)}n(_7,"sNc");function kge(t,e){return f3(new xt(e.e.a+e.f.a/2,e.e.b+e.f.b/2),t)}n(kge,"nWc");function gBt(t,e){return l(jc(Ip(l(cr(t.k,e),15).Oc(),d4)),113)}n(gBt,"wqc");function pBt(t,e){return l(jc(k3(l(cr(t.k,e),15).Oc(),d4)),113)}n(pBt,"xqc");function xge(){return U3(),H(q(eYt,1),mt,405,0,[Qq,QT,JT,ZT])}n(xge,"cWc");function Cge(){return W7(),H(q(OYt,1),mt,353,0,[Jst,nH,Qst,Yst])}n(Cge,"v_c");function Tge(){return wL(),H(q(nQt,1),mt,354,0,[lct,tQt,eQt,ZYt])}n(Tge,"n5c");function Sge(){return Rc(),H(q(xS,1),mt,386,0,[HF,cp,qF,Mm])}n(Sge,"Tpd");function Ege(){return tl(),H(q(YKe,1),mt,291,0,[NF,y0,mb,$F])}n(Ege,"Tnd");function Bge(){return e0(),H(q(Jct,1),mt,223,0,[Qct,PF,Dk,$v])}n(Bge,"_md");function Mge(){return JA(),H(q(kZt,1),mt,320,0,[elt,mZt,vZt,yZt])}n(Mge,"Jrd");function Age(){return qA(),H(q(fUe,1),mt,415,0,[nlt,CZt,xZt,TZt])}n(Age,"wtd");function Lge(t){return KM(),xs(slt,t)?l(He(slt,t),341).Qg():null}n(Lge,"GId");function ul(t,e,r){return e<0?CN(t,r):l(r,69).wk().Bk(t,t.hi(),e)}n(ul,"Avd");function _ge(t,e,r){var i;return i=$y(r),WL(t.j,i,e),Hn(t.k,e,r),e}n(_ge,"sEd");function Fge(t,e,r){var i;return i=$y(r),WL(t.d,i,e),Hn(t.e,e,r),e}n(Fge,"qEd");function wBt(t){var e,r;return e=(Cd(),r=new eD,r),t&&IL(e,t),e}n(wBt,"DGd");function XY(t){var e;return e=t.aj(t.i),t.i>0&&ts(t.g,0,e,0,t.i),e}n(XY,"WHd");function mBt(t,e){var r;for(r=t.j.c.length;r>24}n(Oge,"rKd");function Dge(t){if(t.p!=1)throw R(new Gs);return xn(t.k)<<24>>24}n(Dge,"AKd");function jge(t){if(t.p!=7)throw R(new Gs);return xn(t.k)<<16>>16}n(jge,"GKd");function Ige(t){if(t.p!=7)throw R(new Gs);return xn(t.f)<<16>>16}n(Ige,"xKd");function Tw(t,e){return e.e==0||t.e==0?CT:(Yy(),FN(t,e))}n(Tw,"Wib");function kBt(t,e){return ot(e)===ot(t)?"(this Map)":e==null?bc:bo(e)}n(kBt,"Nd");function Pge(t,e,r){return gI(lt(eo(_a(t.f,e))),lt(eo(_a(t.f,r))))}n(Pge,"MFb");function $ge(t,e,r){var i;i=l(He(t.g,r),60),Mt(t.a.c,new ki(e,i))}n($ge,"wkc");function xBt(t,e,r){t.i=0,t.e=0,e!=r&&(iFt(t,e,r),rFt(t,e,r))}n(xBt,"Slc");function Nge(t,e,r,i,a){var c;c=R9e(a,r,i),Mt(e,F8e(a,c)),C7e(t,a,e)}n(Nge,"rTc");function YY(t,e,r,i,a){this.i=t,this.a=e,this.e=r,this.j=i,this.f=a}n(YY,"Jrc");function CBt(t,e){BY.call(this),this.a=t,this.b=e,Mt(this.a.b,this)}n(CBt,"iUb");function TBt(t){this.b=new sn,this.c=new sn,this.d=new sn,this.a=t}n(TBt,"rTb");function SBt(t,e){var r;return r=new rw,t.Gd(r),r.a+="..",e.Hd(r),r.a}n(SBt,"Dx");function EBt(t,e){var r;for(r=e;r;)tg(t,r.i,r.j),r=_r(r);return t}n(EBt,"Fsd");function BBt(t,e,r){var i;return i=$y(r),Hn(t.b,i,e),Hn(t.c,e,r),e}n(BBt,"pEd");function G1(t){var e;for(e=0;t.Ob();)t.Pb(),e=la(e,1);return pA(e)}n(G1,"Kr");function b1(t,e){Ta();var r;return r=l(t,69).vk(),N7e(r,e),r.xl(e)}n(b1,"oke");function Rge(t,e,r){if(r){var i=r.oe();t.a[e]=i(r)}else delete t.a[e]}n(Rge,"tC");function QY(t,e){var r;r=t.q.getHours(),t.q.setFullYear(e+eb),x8(t,r)}n(QY,"tB");function zge(t,e){return l(e==null?eo(_a(t.f,null)):K6(t.i,e),288)}n(zge,"KSd");function JY(t,e){return t==(De(),ei)&&e==ei?4:t==ei||e==ei?8:32}n(JY,"hOc");function YM(t,e,r){return VL(t,e,r,J(e,102)&&(l(e,19).Bb&Ea)!=0)}n(YM,"cge");function qge(t,e,r){return tv(t,e,r,J(e,102)&&(l(e,19).Bb&Ea)!=0)}n(qge,"jge");function Hge(t,e,r){return O9e(t,e,r,J(e,102)&&(l(e,19).Bb&Ea)!=0)}n(Hge,"Qge");function ZY(t){t.b!=t.c&&(t.a=ht(Ai,xe,1,8,5,1),t.b=0,t.c=0)}n(ZY,"jmb");function F7(t){return Je(t.a=0&&t.a[r]===e[r];r--);return r<0}n(Xge,"Tib");function QM(t){var e;return t?new IX(t):(e=new Ou,RP(e,t),e)}n(QM,"Xx");function Yge(t,e){var r,i;i=!1;do r=G_t(t,e),i=i|r;while(r);return i}n(Yge,"nmc");function Qge(t){t&&C2e((RW(),iUt)),--Cz,t&&Tz!=-1&&(qse(Tz),Tz=-1)}n(Qge,"Vz");function JM(t){Btt(),b9t(this,xn(Si(rg(t,24),pR)),xn(Si(t,pR)))}n(JM,"Pwb");function FBt(){FBt=tt,Rje=wn((sL(),H(q(jUt,1),mt,436,0,[Gat,DUt])))}n(FBt,"IHb");function OBt(){OBt=tt,zje=wn((bA(),H(q(PUt,1),mt,435,0,[IUt,Vat])))}n(OBt,"QHb");function DBt(){DBt=tt,HIe=wn((gA(),H(q(uWt,1),mt,432,0,[aot,Pz])))}n(DBt,"YUb");function jBt(){jBt=tt,NPe=wn((wy(),H(q($Pe,1),mt,517,0,[J_,yot])))}n(jBt,"U8b");function IBt(){IBt=tt,S$e=wn((XM(),H(q(VGt,1),mt,429,0,[Xot,GGt])))}n(IBt,"Tvc");function PBt(){PBt=tt,b$e=wn((qx(),H(q(FGt,1),mt,428,0,[fq,_Gt])))}n(PBt,"duc");function $Bt(){$Bt=tt,m$e=wn((jx(),H(q(jGt,1),mt,488,0,[DGt,gq])))}n($Bt,"Huc");function NBt(){NBt=tt,nze=wn((Rx(),H(q(RXt,1),mt,430,0,[Lst,_st])))}n(NBt,"xEc");function RBt(){RBt=tt,Lze=wn((_7(),H(q(Aze,1),mt,531,0,[YT,XT])))}n(RBt,"xNc");function zBt(){zBt=tt,h$e=wn((oA(),H(q(TGt,1),mt,431,0,[CGt,Dot])))}n(zBt,"otc");function qBt(){qBt=tt,Dqe=wn((WM(),H(q(jYt,1),mt,433,0,[Zst,DYt])))}n(qBt,"F_c");function HBt(){HBt=tt,Nqe=wn((LA(),H(q(IYt,1),mt,501,0,[rH,L4])))}n(HBt,"F2c");function KBt(){KBt=tt,Pze=wn(($u(),H(q(Ize,1),mt,523,0,[P2,nf])))}n(KBt,"BQc");function UBt(){UBt=tt,Nze=wn((cu(),H(q($ze,1),mt,522,0,[np,Qu])))}n(UBt,"JQc");function WBt(){WBt=tt,tqe=wn((Ih(),H(q(Zze,1),mt,528,0,[Cm,bb])))}n(WBt,"kTc");function GBt(){GBt=tt,sqe=wn((fg(),H(q(oqe,1),mt,465,0,[gb,B4])))}n(GBt,"iVc");function VBt(){VBt=tt,qqe=wn((cA(),H(q($Yt,1),mt,434,0,[PYt,act])))}n(VBt,"c4c");function XBt(){XBt=tt,PHe=wn((tA(),H(q(SQt,1),mt,491,0,[kct,TQt])))}n(XBt,"H8c");function YBt(){YBt=tt,NHe=wn((GP(),H(q(_Qt,1),mt,492,0,[AQt,LQt])))}n(YBt,"J9c");function QBt(){QBt=tt,WHe=wn((Lx(),H(q(OQt,1),mt,438,0,[Ect,bH])))}n(QBt,"Rbd");function JBt(){JBt=tt,hKe=wn((Jx(),H(q(eJt,1),mt,437,0,[pH,tJt])))}n(JBt,"tdd");function ZBt(){ZBt=tt,hUe=wn((Jj(),H(q(_H,1),mt,347,0,[pZt,wZt])))}n(ZBt,"Eqd");function Jge(){return ui(),H(q(gS,1),mt,88,0,[t1,po,lo,Zu,Gl])}n(Jge,"Imd");function Zge(){return At(),H(q(Ma,1),es,64,0,[Fo,Fe,qe,on,je])}n(Zge,"xpd");function tpe(t,e,r){return l(e==null?fs(t.f,null,r):Cg(t.i,e,r),288)}n(tpe,"LSd");function epe(t){return(t.k==(De(),ei)||t.k==di)&&Tr(t,(Ct(),DT))}n(epe,"L6b");function oP(t){return t.c&&t.d?NY(t.c)+"->"+NY(t.d):"e_"+Zb(t)}n(oP,"bUb");function Ji(t,e){var r,i;for(Ie(e),i=t.Kc();i.Ob();)r=i.Pb(),e.Cd(r)}n(Ji,"xgb");function npe(t,e){var r;r=new n3,If(r,"x",e.a),If(r,"y",e.b),T3(t,r)}n(npe,"jEd");function rpe(t,e){var r;r=new n3,If(r,"x",e.a),If(r,"y",e.b),T3(t,r)}n(rpe,"mEd");function tMt(t,e){var r;for(r=e;r;)tg(t,-r.i,-r.j),r=_r(r);return t}n(tMt,"Gsd");function eQ(t,e){var r,i;for(r=e,i=0;r>0;)i+=t.a[r],r-=r&-r;return i}n(eQ,"ZLc");function dl(t,e,r){var i;return i=(ue(e,t.c.length),t.c[e]),t.c[e]=r,i}n(dl,"$mb");function nQ(t,e,r){t.a.c.length=0,ABe(t,e,r),t.a.c.length==0||eSe(t,e)}n(nQ,"uIc");function Bx(t){t.i=0,O9(t.b,null),O9(t.c,null),t.a=null,t.e=null,++t.g}n(Bx,"wo");function ZM(){ZM=tt,Vu=!0,Lje=!1,_je=!1,Oje=!1,Fje=!1}n(ZM,"gBb");function sP(t){ZM(),!Vu&&(this.c=t,this.e=!0,this.a=new Bt)}n(sP,"oBb");function eMt(t,e){this.c=0,this.b=e,Ckt.call(this,t,17493),this.a=this.c}n(eMt,"kDb");function nMt(t){izt(),lvt(this),this.a=new Ar,jJ(this,t),Fn(this.a,t)}n(nMt,"S_b");function rMt(){Lj(this),this.b=new xt(Ir,Ir),this.a=new xt(mi,mi)}n(rMt,"m_b");function tA(){tA=tt,kct=new PG(eqt,0),TQt=new PG("TARGET_WIDTH",1)}n(tA,"z8c");function Sw(t,e){return(zd(t),F5(new ne(t,new AQ(e,t.a)))).Bd(vv)}n(Sw,"yDb");function ipe(){return na(),H(q(BWt,1),mt,367,0,[Uh,g0,ls,ps,go])}n(ipe,"vXb");function ape(){return n2(),H(q(e$e,1),mt,375,0,[eF,hq,uq,lq,cq])}n(ape,"Fnc");function ope(){return Q0(),H(q(LGt,1),mt,348,0,[Iot,AGt,Pot,uk,hk])}n(ope,"Vtc");function spe(){return r8(),H(q(FXt,1),mt,323,0,[_Xt,Est,Bst,KT,UT])}n(spe,"PDc");function cpe(){return yl(),H(q(sVt,1),mt,171,0,[cF,IT,db,PT,fm])}n(cpe,"fxc");function lpe(){return TL(),H(q(Rqe,1),mt,368,0,[rct,tct,ict,ect,nct])}n(lpe,"k3c");function hpe(){return p8(),H(q(RHe,1),mt,373,0,[_4,Ov,cS,sS,EF])}n(hpe,"vad");function upe(){return CC(),H(q(PQt,1),mt,324,0,[DQt,Bct,IQt,Mct,jQt])}n(upe,"$bd");function dpe(){return zh(),H(q(m0,1),mt,170,0,[ve,Ei,O1,rp,af])}n(dpe,"_hd");function fpe(){return Fw(),H(q(yS,1),mt,256,0,[yb,RF,lZt,mS,hZt])}n(fpe,"sod");function bpe(t){return QE(),function(){return age(t,this,arguments);var e}}n(bpe,"Tz");function va(t){return!t.c||!t.d?!1:!!t.c.i&&t.c.i==t.d.i}n(va,"W0b");function rQ(t,e){return J(e,143)?ie(t.c,l(e,143).c):!1}n(rQ,"Nfd");function xc(t){return t.t||(t.t=new Zyt(t),Q7(new g6t(t),0,t.t)),t.t}n(xc,"yYd");function iMt(t){this.b=t,ze.call(this,t),this.a=l(Ae(this.b.a,4),129)}n(iMt,"jNd");function aMt(t){this.b=t,g3.call(this,t),this.a=l(Ae(this.b.a,4),129)}n(aMt,"sNd");function hh(t,e,r,i,a){gMt.call(this,e,i,a),this.c=t,this.b=r}n(hh,"Q3d");function iQ(t,e,r,i,a){LEt.call(this,e,i,a),this.c=t,this.a=r}n(iQ,"V3d");function aQ(t,e,r,i,a){_Et.call(this,e,i,a),this.c=t,this.a=r}n(aQ,"Z3d");function oQ(t,e,r,i,a){gMt.call(this,e,i,a),this.c=t,this.a=r}n(oQ,"g4d");function cP(t,e){var r;return r=l(fu(t.d,e),23),r||l(fu(t.e,e),23)}n(cP,"ugd");function oMt(t,e){var r,i;return r=e.ld(),i=t.Fe(r),!!i&&Do(i.e,e.md())}n(oMt,"Blb");function sMt(t,e){var r;return r=e.ld(),new Ub(r,t.e.pc(r,l(e.md(),16)))}n(sMt,"me");function gpe(t,e){var r;return r=t.a.get(e),r??ht(Ai,xe,1,0,5,1)}n(gpe,"ptb");function cMt(t){var e;return e=t.length,ie(Ne.substr(Ne.length-e,e),t)}n(cMt,"khb");function tn(t){if(un(t))return t.c=t.a,t.a.Pb();throw R(new mo)}n(tn,"hs");function sQ(t,e){return e==0||t.e==0?t:e>0?QPt(t,e):kOt(t,-e)}n(sQ,"$ib");function _3(t,e){return e==0||t.e==0?t:e>0?kOt(t,e):QPt(t,-e)}n(_3,"Zib");function cQ(t){Ese.call(this,t==null?bc:bo(t),J(t,82)?l(t,82):null)}n(cQ,"Deb");function lMt(t){var e;return t.c||(e=t.r,J(e,90)&&(t.c=l(e,29))),t.c}n(lMt,"Y5d");function lP(t){var e;return e=new ug,ao(e,t),wt(e,(Ot(),co),null),e}n(lP,"s0b");function hMt(t){var e,r;return e=t.c.i,r=t.d.i,e.k==(De(),di)&&r.k==di}n(hMt,"lec");function hP(t){var e,r,i;return e=t&zc,r=t>>22&zc,i=t<0?id:0,ks(e,r,i)}n(hP,"fD");function ppe(t){var e,r,i,a;for(r=t,i=0,a=r.length;i=0?t.Lh(i,r,!0):Lg(t,e,r)}n(uP,"Fvd");function mpe(t,e,r){return pr(f3(Ry(t),Xi(e.b)),f3(Ry(t),Xi(r.b)))}n(mpe,"AXc");function ype(t,e,r){return pr(f3(Ry(t),Xi(e.e)),f3(Ry(t),Xi(r.e)))}n(ype,"BXc");function vpe(t,e){return v.Math.min(jd(e.a,t.d.d.c),jd(e.b,t.d.d.c))}n(vpe,"Kad");function Mx(t,e){t._i(t.i+1),c7(t,t.i,t.Zi(t.i,e)),t.Mi(t.i++,e),t.Ni()}n(Mx,"LHd");function O7(t){var e,r;++t.j,e=t.g,r=t.i,t.g=null,t.i=0,t.Oi(r,e),t.Ni()}n(O7,"OHd");function uMt(t,e,r){var i;i=new cV(t.a),R7(i,t.a.a),fs(i.f,e,r),t.a.a=i}n(uMt,"yke");function lQ(t,e,r,i){var a;for(a=0;a<_z;a++)yM(t.a[a][e.g],r,i[e.g])}n(lQ,"mKb");function hQ(t,e,r,i){var a;for(a=0;ae)throw R(new Wa(Jtt(t,e,"index")));return t}n(uQ,"Sb");function q0(t,e){var r;return r=(ue(e,t.c.length),t.c[e]),rG(t.c,e,1),r}n(q0,"Xmb");function dQ(t,e){var r,i;return r=(Ie(t),t),i=(Ie(e),e),r==i?0:re.p?-1:0}n(Spe,"mIc");function yMt(t){var e;return t.a||(e=t.r,J(e,156)&&(t.a=l(e,156))),t.a}n(yMt,"hXd");function Epe(t,e,r){var i;return++t.e,--t.f,i=l(t.d[e].gd(r),136),i.md()}n(Epe,"iOd");function Bpe(t){var e,r;return e=t.ld(),r=l(t.md(),16),sx(r.Nc(),new b3t(e))}n(Bpe,"fd");function vMt(t,e){return xs(t.a,e)?(F3(t.a,e),!0):!1}n(vMt,"oae");function O3(t,e,r){return Ex(e,t.e.Rd().gc()),Ex(r,t.c.Rd().gc()),t.a[e][r]}n(O3,"Ui");function nA(t,e,r){this.a=t,this.b=e,this.c=r,Mt(t.t,this),Mt(e.i,this)}n(nA,"_Uc");function rA(t,e,r,i){this.f=t,this.e=e,this.d=r,this.b=i,this.c=i?i.d:null}n(rA,"lg");function Ax(){this.b=new Ar,this.a=new Ar,this.b=new Ar,this.a=new Ar}n(Ax,"YWc");function iy(){iy=tt;var t,e;HH=(_5(),e=new UE,e),KH=(t=new xD,t)}n(iy,"ree");function Mpe(t){var e;return zd(t),e=new dCt(t,t.a.e,t.a.d|4),new OV(t,e)}n(Mpe,"UCb");function kMt(t){var e;for(Fd(t),e=0;t.a.Bd(new Wm);)e=la(e,1);return e}n(kMt,"ADb");function iA(t,e){return Ie(e),t.c=0,"Initial capacity must not be negative")}n(hs,"cnb");function aA(){aA=tt,lS=new or("org.eclipse.elk.labels.labelManager")}n(aA,"rid");function xMt(){xMt=tt,mGt=new Nr("separateLayerConnections",(RA(),Cot))}n(xMt,"iec");function Ih(){Ih=tt,Cm=new FG("REGULAR",0),bb=new FG("CRITICAL",1)}n(Ih,"fTc");function Lx(){Lx=tt,Ect=new NG("FIXED",0),bH=new NG("CENTER_NODE",1)}n(Lx,"Mbd");function oA(){oA=tt,CGt=new TG("QUADRATIC",0),Dot=new TG("SCANLINE",1)}n(oA,"jtc");function CMt(){CMt=tt,u$e=wn((P7(),H(q(EGt,1),mt,322,0,[LT,nF,SGt])))}n(CMt,"Atc");function TMt(){TMt=tt,d$e=wn((CA(),H(q(MGt,1),mt,351,0,[BGt,dq,jot])))}n(TMt,"Jtc");function SMt(){SMt=tt,s$e=wn((vg(),H(q(Sot,1),mt,372,0,[S2,hb,T2])))}n(SMt,"ooc");function EMt(){EMt=tt,p$e=wn((Wf(),H(q(g$e,1),mt,460,0,[$ot,dk,g4])))}n(EMt,"muc");function BMt(){BMt=tt,x$e=wn((xy(),H(q(Vot,1),mt,299,0,[Wot,Got,rF])))}n(BMt,"Cvc");function MMt(){MMt=tt,T$e=wn((Q1(),H(q(C$e,1),mt,311,0,[iF,w4,Tv])))}n(MMt,"Lvc");function AMt(){AMt=tt,QRe=wn((G7(),H(q(LXt,1),mt,390,0,[Cst,AXt,Hq])))}n(AMt,"rDc");function LMt(){LMt=tt,aze=wn((PA(),H(q(HXt,1),mt,387,0,[zXt,Fst,qXt])))}n(LMt,"PEc");function _Mt(){_Mt=tt,oze=wn((K7(),H(q(KXt,1),mt,349,0,[Dst,Ost,gF])))}n(_Mt,"YEc");function FMt(){FMt=tt,ize=wn((Fa(),H(q(rze,1),mt,463,0,[WT,Mc,Ls])))}n(FMt,"GEc");function OMt(){OMt=tt,sze=wn((Ly(),H(q(WXt,1),mt,350,0,[jst,UXt,GT])))}n(OMt,"qFc");function DMt(){DMt=tt,cze=wn((xA(),H(q(XXt,1),mt,352,0,[VXt,Ist,GXt])))}n(DMt,"zFc");function jMt(){jMt=tt,lze=wn((zA(),H(q(YXt,1),mt,388,0,[Pst,Sk,xm])))}n(jMt,"IFc");function IMt(){IMt=tt,hqe=wn((U7(),H(q(fYt,1),mt,392,0,[dYt,Rst,mF])))}n(IMt,"QZc");function PMt(){PMt=tt,Hqe=wn((nC(),H(q(zYt,1),mt,393,0,[iH,NYt,RYt])))}n(PMt,"m4c");function $Mt(){$Mt=tt,hHe=wn((IA(),H(q(aQt,1),mt,300,0,[hct,iQt,rQt])))}n($Mt,"z5c");function NMt(){NMt=tt,uHe=wn((nL(),H(q(oQt,1),mt,445,0,[CF,sH,uct])))}n(NMt,"k6c");function RMt(){RMt=tt,fHe=wn((fL(),H(q(dHe,1),mt,456,0,[dct,bct,fct])))}n(RMt,"F6c");function zMt(){zMt=tt,pHe=wn((YA(),H(q(lQt,1),mt,394,0,[cQt,wct,sQt])))}n(zMt,"e7c");function qMt(){qMt=tt,$He=wn((lA(),H(q(MQt,1),mt,439,0,[xct,BQt,EQt])))}n(qMt,"j9c");function HMt(){HMt=tt,Sze=wn((yg(),H(q(Tze,1),mt,464,0,[pF,VT,Gq])))}n(HMt,"WKc");function KMt(){KMt=tt,Gje=wn((uc(),H(q(Wje,1),mt,471,0,[A1,cb,Hh])))}n(KMt,"JKb");function UMt(){UMt=tt,Uje=wn((Nh(),H(q(am,1),mt,237,0,[$o,As,No])))}n(UMt,"cKb");function WMt(){WMt=tt,Xje=wn((Ns(),H(q(Vje,1),mt,472,0,[ku,lb,Kh])))}n(WMt,"ALb");function GMt(){GMt=tt,Dje=wn((dc(),H(q(so,1),mt,108,0,[OUt,Eo,im])))}n(GMt,"CBb");function VMt(){VMt=tt,gPe=wn((D7(),H(q(EWt,1),mt,391,0,[lot,cot,hot])))}n(VMt,"FWb");function XMt(){XMt=tt,XKe=wn((t0(),H(q(cZt,1),mt,346,0,[TH,sf,wS])))}n(XMt,"Knd");function YMt(){YMt=tt,qHe=wn((cC(),H(q(Cct,1),mt,444,0,[uH,dH,fH])))}n(YMt,"lbd");function QMt(){QMt=tt,UKe=wn((bu(),H(q(YJt,1),mt,278,0,[Fk,Bm,Ok])))}n(QMt,"Tmd");function JMt(){JMt=tt,lUe=wn((N3(),H(q(gZt,1),mt,280,0,[bZt,Am,LH])))}n(JMt,"rqd");function du(t,e){return!t.o&&(t.o=new Zs((Uo(),x0),cf,t,0)),M$(t.o,e)}n(du,"Hxd");function Ape(t,e){var r;t.C&&(r=l(Pa(t.b,e),127).n,r.d=t.C.d,r.a=t.C.a)}n(Ape,"HMb");function wQ(t){var e,r,i,a;a=t.d,e=t.a,r=t.b,i=t.c,t.d=r,t.a=i,t.b=a,t.c=e}n(wQ,"F8b");function Lpe(t){return!t.g&&(t.g=new OE),!t.g.b&&(t.g.b=new Xyt(t)),t.g.b}n(Lpe,"cOd");function _x(t){return!t.g&&(t.g=new OE),!t.g.c&&(t.g.c=new Jyt(t)),t.g.c}n(_x,"dOd");function _pe(t){return!t.g&&(t.g=new OE),!t.g.d&&(t.g.d=new Yyt(t)),t.g.d}n(_pe,"lOd");function Fpe(t){return!t.g&&(t.g=new OE),!t.g.a&&(t.g.a=new Qyt(t)),t.g.a}n(Fpe,"YNd");function Ope(t,e,r,i){return r&&(i=r.Rh(e,jr(r.Dh(),t.c.uk()),null,i)),i}n(Ope,"B9d");function Dpe(t,e,r,i){return r&&(i=r.Th(e,jr(r.Dh(),t.c.uk()),null,i)),i}n(Dpe,"C9d");function bP(t,e,r,i){var a;return a=ht(yn,Pn,28,e+1,15,1),NSe(a,t,e,r,i),a}n(bP,"Cjb");function ht(t,e,r,i,a,c){var u;return u=CDt(a,i),a!=10&&H(q(t,c),e,r,a,u),u}n(ht,"$C");function jpe(t,e,r){var i,a;for(a=new ky(e,t),i=0;ir||e=0?t.Lh(r,!0,!0):Lg(t,e,!0)}n(ay,"Evd");function Jpe(t,e,r){var i;return i=eFt(t,e,r),t.b=new FA(i.c.length),qet(t,i)}n(Jpe,"gMc");function Zpe(t){if(t.b<=0)throw R(new mo);return--t.b,t.a-=t.c.c,Et(t.a)}n(Zpe,"Pue");function t2e(t){var e;if(!t.a)throw R(new uSt);return e=t.a,t.a=_r(t.a),e}n(t2e,"PGd");function e2e(t){for(;!t.a;)if(!Pxt(t.c,new a4t(t)))return!1;return!0}n(e2e,"WDb");function D3(t){var e;return Cn(t),J(t,204)?(e=l(t,204),e):new x3t(t)}n(D3,"Nr");function n2e(t){sA(),l(t.of(($n(),Em)),181).Fc((fc(),zF)),t.qf(Vct,null)}n(n2e,"Cfd");function sA(){sA=tt,fKe=new rpt,gKe=new ipt,bKe=Kme(($n(),Vct),fKe,wb,gKe)}n(sA,"Afd");function cA(){cA=tt,PYt=new IG("LEAF_NUMBER",0),act=new IG("NODE_SIZE",1)}n(cA,"Y3c");function yP(t){t.a=ht(yn,Pn,28,t.b+1,15,1),t.c=ht(yn,Pn,28,t.b,15,1),t.d=0}n(yP,"YLc");function r2e(t,e){t.a.Ne(e.d,t.b)>0&&(Mt(t.c,new mX(e.c,e.d,t.d)),t.b=e.d)}n(r2e,"OZb");function BQ(t,e){if(t.g==null||e>=t.i)throw R(new Sj(e,t.i));return t.g[e]}n(BQ,"NHd");function nAt(t,e,r){if(By(t,r),r!=null&&!t.fk(r))throw R(new yD);return r}n(nAt,"P_d");function vP(t,e){return zx(e)!=10&&H(Nc(e),e.Sm,e.__elementTypeId$,zx(e),t),t}n(vP,"dD");function oy(t,e,r,i){var a;i=(hg(),i||EUt),a=t.slice(e,r),Ztt(a,t,e,r,-e,i)}n(oy,"Wnb");function fl(t,e,r,i,a){return e<0?Lg(t,r,i):l(r,69).wk().yk(t,t.hi(),e,i,a)}n(fl,"zvd");function i2e(t,e){return pr(it(lt(O(t,(Ct(),M2)))),it(lt(O(e,M2))))}n(i2e,"J9b");function rAt(){rAt=tt,Mje=wn((sy(),H(q(Az,1),mt,304,0,[zat,qat,Hat,Kat])))}n(rAt,"qAb");function sy(){sy=tt,zat=new gB("All",0),qat=new Wkt,Hat=new e9t,Kat=new Ukt}n(sy,"cAb");function uc(){uc=tt,A1=new YD(lv,0),cb=new YD(P8,1),Hh=new YD(hv,2)}n(uc,"EKb");function iAt(){iAt=tt,XL(),ate=Ir,wWe=mi,ote=new y9(Ir),mWe=new y9(mi)}n(iAt,"Zme");function aAt(){aAt=tt,vIe=wn((xg(),H(q(yIe,1),mt,417,0,[H_,q_,Jat,Zat])))}n(aAt,"rOb");function oAt(){oAt=tt,SIe=wn((i8(),H(q(TIe,1),mt,406,0,[V_,Oz,Dz,X_])))}n(oAt,"NRb");function sAt(){sAt=tt,xIe=wn((q3(),H(q(kIe,1),mt,332,0,[U_,K_,W_,G_])))}n(sAt,"NPb");function cAt(){cAt=tt,LPe=wn((Xf(),H(q(LWt,1),mt,389,0,[cm,AWt,got,pot])))}n(cAt,"Z$b");function lAt(){lAt=tt,TPe=wn((Cy(),H(q(CPe,1),mt,416,0,[C2,sm,om,h4])))}n(lAt,"wZb");function hAt(){hAt=tt,t$e=wn((gu(),H(q(ZPe,1),mt,421,0,[Cv,ak,ok,Tot])))}n(hAt,"jnc");function uAt(){uAt=tt,HPe=wn((RA(),H(q(qPe,1),mt,371,0,[Cot,oq,sq,tF])))}n(uAt,"Bec");function dAt(){dAt=tt,JRe=wn((t2(),H(q(Sst,1),mt,203,0,[Kq,Tst,E4,S4])))}n(dAt,"DDc");function fAt(){fAt=tt,eze=wn((Ru(),H(q(NXt,1),mt,284,0,[ef,$Xt,Mst,Ast])))}n(fAt,"pEc");function jx(){jx=tt,DGt=new EG(T1,0),gq=new EG("IMPROVE_STRAIGHTNESS",1)}n(jx,"Cuc");function bAt(t,e){var r,i;return i=e/t.c.Rd().gc()|0,r=e%t.c.Rd().gc(),O3(t,i,r)}n(bAt,"_i");function gAt(t){var e;if(t.nl())for(e=t.i-1;e>=0;--e)Z(t,e);return XY(t)}n(gAt,"iZd");function MQ(t){var e,r;if(!t.b)return null;for(r=t.b;e=r.a[0];)r=e;return r}n(MQ,"Nyb");function pAt(t){var e,r;if(!t.b)return null;for(r=t.b;e=r.a[1];)r=e;return r}n(pAt,"Oyb");function a2e(t){return J(t,180)?""+l(t,180).a:t==null?null:bo(t)}n(a2e,"Hae");function o2e(t){return J(t,180)?""+l(t,180).a:t==null?null:bo(t)}n(o2e,"Iae");function wAt(t,e){if(e.a)throw R(new yo(QLe));fi(t.a,e),e.a=t,!t.j&&(t.j=e)}n(wAt,"eGb");function AQ(t,e){NB.call(this,e.zd(),e.yd()&-16449),Ie(t),this.a=t,this.c=e}n(AQ,"hEb");function s2e(t,e){return new tI(e,tg(Xi(e.e),e.f.a+t,e.f.b+t),(Se(),!1))}n(s2e,"zXc");function c2e(t,e){return H5(),Mt(t,new ki(e,Et(e.e.c.length+e.g.c.length)))}n(c2e,"EMc");function l2e(t,e){return H5(),Mt(t,new ki(e,Et(e.e.c.length+e.g.c.length)))}n(l2e,"GMc");function mAt(){mAt=tt,lHe=wn((wL(),H(q(nQt,1),mt,354,0,[lct,tQt,eQt,ZYt])))}n(mAt,"p5c");function yAt(){yAt=tt,Oqe=wn((W7(),H(q(OYt,1),mt,353,0,[Jst,nH,Qst,Yst])))}n(yAt,"x_c");function vAt(){vAt=tt,cqe=wn((U3(),H(q(eYt,1),mt,405,0,[Qq,QT,JT,ZT])))}n(vAt,"eWc");function kAt(){kAt=tt,WKe=wn((e0(),H(q(Jct,1),mt,223,0,[Qct,PF,Dk,$v])))}n(kAt,"bnd");function xAt(){xAt=tt,QKe=wn((tl(),H(q(YKe,1),mt,291,0,[NF,y0,mb,$F])))}n(xAt,"Vnd");function CAt(){CAt=tt,sUe=wn((Rc(),H(q(xS,1),mt,386,0,[HF,cp,qF,Mm])))}n(CAt,"Vpd");function TAt(){TAt=tt,uUe=wn((JA(),H(q(kZt,1),mt,320,0,[elt,mZt,vZt,yZt])))}n(TAt,"Lrd");function SAt(){SAt=tt,bUe=wn((qA(),H(q(fUe,1),mt,415,0,[nlt,CZt,xZt,TZt])))}n(SAt,"ytd");function lA(){lA=tt,xct=new vj(bFe,0),BQt=new vj(vHt,1),EQt=new vj(T1,2)}n(lA,"b9c");function Kp(t,e,r,i,a){return Ie(t),Ie(e),Ie(r),Ie(i),Ie(a),new tY(t,e,i)}n(Kp,"sBb");function EAt(t,e){var r;return r=l(F3(t.e,e),400),r?(AX(r),r.e):null}n(EAt,"fub");function $s(t,e){var r;return r=io(t,e,0),r==-1?!1:(q0(t,r),!0)}n($s,"Ymb");function BAt(t,e,r){var i;return Fd(t),i=new d5,i.a=e,t.a.Nb(new s8t(i,r)),i.a}n(BAt,"LDb");function h2e(t){var e;return Fd(t),e=ht(qi,Ja,28,0,15,1),aw(t.a,new n4t(e)),e}n(h2e,"VCb");function LQ(t){var e;if(!IP(t))throw R(new mo);return t.e=1,e=t.d,t.d=null,e}n(LQ,"yc");function K0(t){var e;return uo(t)&&(e=0-t,!isNaN(e))?e:Pd(Sy(t))}n(K0,"Odb");function io(t,e,r){for(;r=0?uL(t,r,!0,!0):Lg(t,e,!0)}n(TP,"Gvd");function FQ(t){var e;return e=zf(Ae(t,32)),e==null&&(Bs(t),e=zf(Ae(t,32))),e}n(FQ,"Vwd");function OQ(t){var e;return t.Oh()||(e=Ze(t.Dh())-t.ji(),t.$h().Mk(e)),t.zh()}n(OQ,"Yvd");function OAt(t,e){nWt=new c1,CIe=e,ST=t,l(ST.b,68),vQ(ST,nWt,null),VNt(ST)}n(OAt,"zQb");function D7(){D7=tt,lot=new JD("XY",0),cot=new JD("X",1),hot=new JD("Y",2)}n(D7,"AWb");function Ns(){Ns=tt,ku=new QD("TOP",0),lb=new QD(P8,1),Kh=new QD(Fzt,2)}n(Ns,"vLb");function Q1(){Q1=tt,iF=new ij(T1,0),w4=new ij("TOP",1),Tv=new ij(Fzt,2)}n(Q1,"Gvc");function Rx(){Rx=tt,Lst=new MG("INPUT_ORDER",0),_st=new MG("PORT_DEGREE",1)}n(Rx,"sEc");function cy(){cy=tt,sUt=ks(zc,zc,524287),dje=ks(0,0,u_),cUt=hP(1),hP(2),lUt=hP(0)}n(cy,"MD");function SP(t){var e;return t.d!=t.r&&(e=Rl(t),t.e=!!e&&e.lk()==dDe,t.d=e),t.e}n(SP,"wWd");function EP(t,e,r){var i;return i=t.g[e],c7(t,e,t.Zi(e,r)),t.Ri(e,r,i),t.Ni(),i}n(EP,"UHd");function fA(t,e){var r;return r=t.dd(e),r>=0?(t.gd(r),!0):!1}n(fA,"dHd");function BP(t,e){var r;for(Cn(t),Cn(e),r=!1;e.Ob();)r=r|t.Fc(e.Pb());return r}n(BP,"xr");function fu(t,e){var r;return r=l(He(t.e,e),400),r?(f9t(t,r),r.e):null}n(fu,"cub");function DAt(t){var e,r;return e=t/60|0,r=t%60,r==0?""+e:""+e+":"+(""+r)}n(DAt,"iB");function Up(t,e){var r=t.a[e],i=(ZP(),jat)[typeof r];return i?i(r):qJ(typeof r)}n(Up,"JB");function xo(t,e){var r,i;return zd(t),i=new bQ(e,t.a),r=new Rxt(i),new ne(t,r)}n(xo,"EDb");function MP(t){var e;return e=t.b.c.length==0?null:It(t.b,0),e!=null&&$P(t,0),e}n(MP,"mwb");function b2e(t,e){var r,i,a;a=e.c.i,r=l(He(t.f,a),60),i=r.d.c-r.e.c,uJ(e.a,i,0)}n(b2e,"ukc");function DQ(t,e){var r;for(++t.d,++t.c[e],r=e+1;r=0;)++e[0]}n(IAt,"KA");function g2e(t,e){Ss(t,e==null||tM((Ie(e),e))||isNaN((Ie(e),e))?0:(Ie(e),e))}n(g2e,"eEd");function p2e(t,e){Es(t,e==null||tM((Ie(e),e))||isNaN((Ie(e),e))?0:(Ie(e),e))}n(p2e,"fEd");function w2e(t,e){mg(t,e==null||tM((Ie(e),e))||isNaN((Ie(e),e))?0:(Ie(e),e))}n(w2e,"gEd");function m2e(t,e){wg(t,e==null||tM((Ie(e),e))||isNaN((Ie(e),e))?0:(Ie(e),e))}n(m2e,"hEd");function y2e(t,e,r){return f3(new xt(r.e.a+r.f.a/2,r.e.b+r.f.b/2),t)==(Ie(e),e)}n(y2e,"oWc");function v2e(t,e){return J(e,102)&&(l(e,19).Bb&Ea)!=0?new Ej(e,t):new ky(e,t)}n(v2e,"qge");function k2e(t,e){return J(e,102)&&(l(e,19).Bb&Ea)!=0?new Ej(e,t):new ky(e,t)}n(k2e,"sge");function zx(t){return t.__elementTypeCategory$==null?10:t.__elementTypeCategory$}n(zx,"XC");function PAt(t,e){return e==(Xj(),Xj(),Sje)?t.toLocaleLowerCase():t.toLowerCase()}n(PAt,"Bhb");function $At(t){if(!t.e)throw R(new mo);return t.c=t.a=t.e,t.e=t.e.e,--t.d,t.a.f}n($At,"Mu");function jQ(t){if(!t.c)throw R(new mo);return t.e=t.a=t.c,t.c=t.c.c,++t.d,t.a.f}n(jQ,"Lu");function NAt(t){var e;for(++t.a,e=t.c.a.length;t.at.a[i]&&(i=r);return i}n(E2e,"hdc");function RAt(t){var e;return e=l(O(t,(Ct(),E2)),313),e?e.a==t:!1}n(RAt,"Krc");function zAt(t){var e;return e=l(O(t,(Ct(),E2)),313),e?e.i==t:!1}n(zAt,"Lrc");function qAt(){qAt=tt,yPe=wn((na(),H(q(BWt,1),mt,367,0,[Uh,g0,ls,ps,go])))}n(qAt,"xXb");function HAt(){HAt=tt,n$e=wn((n2(),H(q(e$e,1),mt,375,0,[eF,hq,uq,lq,cq])))}n(HAt,"Hnc");function KAt(){KAt=tt,f$e=wn((Q0(),H(q(LGt,1),mt,348,0,[Iot,AGt,Pot,uk,hk])))}n(KAt,"Xtc");function UAt(){UAt=tt,ZRe=wn((r8(),H(q(FXt,1),mt,323,0,[_Xt,Est,Bst,KT,UT])))}n(UAt,"RDc");function WAt(){WAt=tt,E$e=wn((yl(),H(q(sVt,1),mt,171,0,[cF,IT,db,PT,fm])))}n(WAt,"hxc");function GAt(){GAt=tt,zqe=wn((TL(),H(q(Rqe,1),mt,368,0,[rct,tct,ict,ect,nct])))}n(GAt,"m3c");function VAt(){VAt=tt,zHe=wn((p8(),H(q(RHe,1),mt,373,0,[_4,Ov,cS,sS,EF])))}n(VAt,"xad");function XAt(){XAt=tt,GHe=wn((CC(),H(q(PQt,1),mt,324,0,[DQt,Bct,IQt,Mct,jQt])))}n(XAt,"acd");function YAt(){YAt=tt,KKe=wn((ui(),H(q(gS,1),mt,88,0,[t1,po,lo,Zu,Gl])))}n(YAt,"Kmd");function QAt(){QAt=tt,pKe=wn((zh(),H(q(m0,1),mt,170,0,[ve,Ei,O1,rp,af])))}n(QAt,"bid");function JAt(){JAt=tt,ZKe=wn((Fw(),H(q(yS,1),mt,256,0,[yb,RF,lZt,mS,hZt])))}n(JAt,"uod");function ZAt(){ZAt=tt,nUe=wn((At(),H(q(Ma,1),es,64,0,[Fo,Fe,qe,on,je])))}n(ZAt,"zpd");function bA(){bA=tt,IUt=new mG("BY_SIZE",0),Vat=new mG("BY_SIZE_AND_SHAPE",1)}n(bA,"LHb");function gA(){gA=tt,aot=new kG("EADES",0),Pz=new kG("FRUCHTERMAN_REINGOLD",1)}n(gA,"TUb");function qx(){qx=tt,fq=new SG("READING_DIRECTION",0),_Gt=new SG("ROTATION",1)}n(qx,"$tc");function j7(){j7=tt,BPe=new Iut,MPe=new Nut,SPe=new Rut,EPe=new $ut,APe=new zut}n(j7,"CZb");function tLt(t){this.b=new Bt,this.a=new Bt,this.c=new Bt,this.d=new Bt,this.e=t}n(tLt,"dGb");function eLt(t){this.g=t,this.f=new Bt,this.a=v.Math.min(this.g.c.c,this.g.d.c)}n(eLt,"XZb");function nLt(t,e,r){JB.call(this),$Q(this),this.a=t,this.c=r,this.b=e.d,this.f=e.e}n(nLt,"UKb");function B2e(t,e,r){var i,a;for(a=new N(r);a.a=0&&e0?e-1:e,I6t(tse(ELt(SX(new e3,r),t.n),t.j),t.k)}n(M2e,"Gqd");function Ya(t){var e,r;r=(e=new CD,e),bn((!t.q&&(t.q=new pt(Eh,t,11,10)),t.q),r)}n(Ya,"nBd");function IQ(t){return((t.i&2)!=0?"interface ":(t.i&1)!=0?"":"class ")+(H1(t),t.o)}n(IQ,"ofb");function pA(t){return Ko(t,nr)>0?nr:Ko(t,da)<0?da:xn(t)}n(pA,"dz");function Wp(t){return t<3?(Jc(t,FLe),t+1):t=-.01&&t.a<=Uu&&(t.a=0),t.b>=-.01&&t.b<=Uu&&(t.b=0),t}n(aLt,"iqc");function Ew(t){qw();var e,r;for(r=CHt,e=0;er&&(r=t[e]);return r}n(Ew,"Hid");function oLt(t,e){var r;if(r=FC(t.Dh(),e),!r)throw R(new Le(ab+e+Xit));return r}n(oLt,"Zvd");function Gp(t,e){var r;for(r=t;_r(r);)if(r=_r(r),r==e)return!0;return!1}n(Gp,"NGd");function $2e(t,e){var r,i,a;for(i=e.a.ld(),r=l(e.a.md(),16).gc(),a=0;at||t>e)throw R(new UW("fromIndex: 0, toIndex: "+t+vzt+e))}n(R2e,"jxb");function pg(t){if(t<0)throw R(new Le("Illegal Capacity: "+t));this.g=this.aj(t)}n(pg,"ZHd");function PQ(t,e){return au(),uh(tb),v.Math.abs(t-e)<=tb||t==e||isNaN(t)&&isNaN(e)}n(PQ,"_y");function _P(t,e){var r,i,a,c;for(i=t.d,a=0,c=i.length;a0&&(t.a/=e,t.b/=e),t}n(K2e,"gjd");function Yc(t){var e;return t.w?t.w:(e=Lbe(t),e&&!e.Vh()&&(t.w=e),e)}n(Yc,"BXd");function ly(t,e){var r,i;i=t.a,r=D3e(t,e,null),i!=e&&!t.e&&(r=rv(t,e,r)),r&&r.oj()}n(ly,"l2d");function uLt(t,e,r){var i,a;i=e;do a=it(t.p[i.p])+r,t.p[i.p]=a,i=t.a[i.p];while(i!=e)}n(uLt,"rQc");function dLt(t,e,r){var i=n(function(){return t.apply(i,arguments)},"d");return e.apply(i,r),i}n(dLt,"heb");function U2e(t){var e;return t==null?null:(e=l(t,195),r7e(e,e.length))}n(U2e,"Gae");function Z(t,e){if(t.g==null||e>=t.i)throw R(new Sj(e,t.i));return t.Wi(e,t.g[e])}n(Z,"QHd");function W2e(t,e){de();var r,i;for(i=new Bt,r=0;r=14&&e<=16))),t}n(zf,"SD");function pn(t,e){var r;return Ie(e),r=t[":"+e],lx(!!r,"Enum constant undefined: "+e),r}n(pn,"ws");function ln(t,e,r,i,a,c){var u;return u=BI(t,e),BLt(r,u),u.i=a?8:0,u.f=i,u.e=a,u.g=c,u}n(ln,"tfb");function RQ(t,e,r,i,a){this.d=e,this.k=i,this.f=a,this.o=-1,this.p=1,this.c=t,this.a=r}n(RQ,"R3d");function zQ(t,e,r,i,a){this.d=e,this.k=i,this.f=a,this.o=-1,this.p=2,this.c=t,this.a=r}n(zQ,"T3d");function qQ(t,e,r,i,a){this.d=e,this.k=i,this.f=a,this.o=-1,this.p=6,this.c=t,this.a=r}n(qQ,"_3d");function HQ(t,e,r,i,a){this.d=e,this.k=i,this.f=a,this.o=-1,this.p=7,this.c=t,this.a=r}n(HQ,"e4d");function KQ(t,e,r,i,a){this.d=e,this.j=i,this.e=a,this.o=-1,this.p=4,this.c=t,this.a=r}n(KQ,"X3d");function MLt(t,e){var r,i,a,c;for(i=e,a=0,c=i.length;a=0))throw R(new Le("tolerance ("+t+") must be >= 0"));return t}n(uh,"bz");function LLt(t,e){var r;return J(e,44)?t.c.Mc(e):(r=M$(t,e),rL(t,e),r)}n(LLt,"hOd");function $a(t,e,r){return Vf(t,e),us(t,r),U0(t,0),Vp(t,1),Y0(t,!0),X0(t,!0),t}n($a,"yBd");function Kx(t,e){var r;if(r=t.gc(),e<0||e>r)throw R(new jp(e,r));return new eX(t,e)}n(Kx,"ZGd");function TA(t,e){t.b=v.Math.max(t.b,e.d),t.e+=e.r+(t.a.c.length==0?0:t.c),Mt(t.a,e)}n(TA,"Cad");function _Lt(t){Fp(t.c>=0),o5e(t.d,t.c)<0&&(t.a=t.a-1&t.d.a.length-1,t.b=t.d.c),t.c=-1}n(_Lt,"Jmb");function SA(t){var e,r;for(r=t.c.Cc().Kc();r.Ob();)e=l(r.Pb(),16),e.$b();t.c.$b(),t.d=0}n(SA,"Nc");function nwe(t){var e,r,i,a;for(r=t.a,i=0,a=r.length;i=0}n(cwe,"X_c");function QQ(t,e){t.r>0&&t.c0&&t.g!=0&&QQ(t.i,e/t.r*t.i.d))}n(QQ,"Iqd");function JQ(t,e){var r;r=t.c,t.c=e,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,1,r,t.c))}n(JQ,"$Cd");function DP(t,e){var r;r=t.c,t.c=e,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,4,r,t.c))}n(DP,"P1d");function py(t,e){var r;r=t.k,t.k=e,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,2,r,t.k))}n(py,"jyd");function jP(t,e){var r;r=t.D,t.D=e,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,2,r,t.D))}n(jP,"JXd");function BA(t,e){var r;r=t.f,t.f=e,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,8,r,t.f))}n(BA,"Kzd");function MA(t,e){var r;r=t.i,t.i=e,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,7,r,t.i))}n(MA,"Lzd");function ZQ(t,e){var r;r=t.a,t.a=e,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,8,r,t.a))}n(ZQ,"fCd");function tJ(t,e){var r;r=t.b,t.b=e,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,0,r,t.b))}n(tJ,"ZCd");function eJ(t,e){var r;r=t.b,t.b=e,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,0,r,t.b))}n(eJ,"s6d");function nJ(t,e){var r;r=t.c,t.c=e,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,1,r,t.c))}n(nJ,"t6d");function rJ(t,e){var r;r=t.d,t.d=e,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,1,r,t.d))}n(rJ,"nVd");function lwe(t,e,r){var i;t.b=e,t.a=r,i=(t.a&512)==512?new Qvt:new FU,t.c=CCe(i,t.b,t.a)}n(lwe,"Cte");function HLt(t,e){return o0(t.e,e)?(Ta(),SP(e)?new hM(e,t):new G9(e,t)):new pkt(e,t)}n(HLt,"Gge");function hwe(t){var e,r;return 0>t?new oG:(e=t+1,r=new eMt(e,t),new DV(null,r))}n(hwe,"iDb");function uwe(t,e){de();var r;return r=new o3(1),Oi(t)?Va(r,t,e):fs(r.f,t,e),new bD(r)}n(uwe,"Gob");function dwe(t,e){var r,i;return r=t.c,i=e.e[t.p],i>0?l(It(r.a,i-1),10):null}n(dwe,"pQc");function fwe(t,e){var r,i;return r=t.o+t.p,i=e.o+e.p,re?(e<<=1,e>0?e:KC):e}n(KLt,"Wp");function IP(t){switch(gV(t.e!=3),t.e){case 2:return!1;case 0:return!0}return xpe(t)}n(IP,"xc");function ULt(t,e){var r;return J(e,8)?(r=l(e,8),t.a==r.a&&t.b==r.b):!1}n(ULt,"djd");function gwe(t,e){var r;r=new c1,l(e.b,68),l(e.b,68),l(e.b,68),Ts(e.a,new uX(t,r,e))}n(gwe,"Ydd");function WLt(t,e){var r,i;for(i=e.vc().Kc();i.Ob();)r=l(i.Pb(),44),yC(t,r.ld(),r.md())}n(WLt,"gOd");function iJ(t,e){var r;r=t.d,t.d=e,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,11,r,t.d))}n(iJ,"Jzd");function AA(t,e){var r;r=t.j,t.j=e,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,13,r,t.j))}n(AA,"zWd");function aJ(t,e){var r;r=t.b,t.b=e,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,21,r,t.b))}n(aJ,"b6d");function pwe(t,e){(ZM(),Vu?null:e.c).length==0&&cxt(e,new yp),Va(t.a,Vu?null:e.c,e)}n(pwe,"YAb");function wwe(t,e){e.Ug("Hierarchical port constraint processing",1),j5e(t),nLe(t),e.Vg()}n(wwe,"b9b");function vg(){vg=tt,S2=new ZD("START",0),hb=new ZD("MIDDLE",1),T2=new ZD("END",2)}n(vg,"joc");function LA(){LA=tt,rH=new jG("P1_NODE_PLACEMENT",0),L4=new jG("P2_EDGE_ROUTING",1)}n(LA,"x2c");function Id(){Id=tt,xv=new or(Uzt),Rz=new or(Wzt),BT=new or(x_e),Y_=new or(C_e)}n(Id,"JVb");function kg(t){var e;return Yj(t.f.g,t.d),Je(t.b),t.c=t.a,e=l(t.a.Pb(),44),t.b=mJ(t),e}n(kg,"tkb");function oJ(t){var e;return t.b==null?(j0(),j0(),JF):(e=t.ul()?t.tl():t.sl(),e)}n(oJ,"P2d");function GLt(t,e){var r;return r=e==null?-1:io(t.b,e,0),r<0?!1:($P(t,r),!0)}n(GLt,"nwb");function dh(t,e){var r;return Ie(e),r=e.g,t.b[r]?!1:(Hr(t.b,r,e),++t.c,!0)}n(dh,"zsb");function _A(t,e){var r,i;return r=1-e,i=t.a[r],t.a[r]=i.a[e],i.a[e]=t,t.b=!0,i.b=!1,i}n(_A,"azb");function mwe(t,e){var r,i;for(i=e.Kc();i.Ob();)r=l(i.Pb(),272),t.b=!0,fi(t.e,r),r.b=t}n(mwe,"xRb");function ywe(t,e){var r,i;return r=l(O(t,(Ot(),ym)),8),i=l(O(e,ym),8),pr(r.b,i.b)}n(ywe,"kic");function PP(t,e,r){var i,a,c;return c=e>>5,a=e&31,i=Si(Ad(t.n[r][c],xn(lh(a,1))),3),i}n(PP,"SPb");function VLt(t,e,r){var i,a,c;for(c=t.a.length-1,a=t.b,i=0;i0?1:0:(!t.c&&(t.c=Cx(jo(t.f))),t.c).e}n(lJ,"xib");function r_t(t,e){e?t.B==null&&(t.B=t.D,t.D=null):t.B!=null&&(t.D=t.B,t.B=null)}n(r_t,"GXd");function Cwe(t,e){return Cy(),t==C2&&e==sm||t==sm&&e==C2||t==h4&&e==om||t==om&&e==h4}n(Cwe,"rZb");function Twe(t,e){return Cy(),t==C2&&e==om||t==C2&&e==h4||t==sm&&e==h4||t==sm&&e==om}n(Twe,"sZb");function i_t(t,e){return au(),uh(Uu),v.Math.abs(0-e)<=Uu||e==0||isNaN(0)&&isNaN(e)?0:t/e}n(i_t,"zMb");function a_t(t,e){return it(lt(jc(oC(no(new ne(null,new ce(t.c.b,16)),new u5t(t)),e))))}n(a_t,"qsc");function hJ(t,e){return it(lt(jc(oC(no(new ne(null,new ce(t.c.b,16)),new h5t(t)),e))))}n(hJ,"tsc");function Swe(){return Oa(),H(q(Uot,1),mt,259,0,[wq,Wl,FT,mq,gk,p4,OT,fk,bk,yq])}n(Swe,"rvc");function Ewe(){return zl(),H(q(PXt,1),mt,243,0,[Uq,fF,bF,DXt,jXt,OXt,IXt,Wq,I2,km])}n(Ewe,"dEc");function Bwe(t,e){var r;e.Ug("General Compactor",1),r=F4e(l(yt(t,(Wd(),sct)),393)),r.Cg(t)}n(Bwe,"z3c");function Mwe(t,e){var r,i;return r=l(yt(t,(Wd(),aH)),17),i=l(yt(e,aH),17),Ho(r.a,i.a)}n(Mwe,"T5c");function uJ(t,e,r){var i,a;for(a=hn(t,0);a.b!=a.d.c;)i=l(cn(a),8),i.a+=e,i.b+=r;return t}n(uJ,"Bjd");function $7(t,e,r){var i;for(i=t.b[r&t.f];i;i=i.b)if(r==i.a&&Pu(e,i.g))return i;return null}n($7,"Go");function N7(t,e,r){var i;for(i=t.c[r&t.f];i;i=i.d)if(r==i.f&&Pu(e,i.i))return i;return null}n(N7,"Ho");function Awe(t,e,r){var i,a,c;for(i=0,a=0;a>>31;i!=0&&(t[r]=i)}n(Awe,"sjb");function qP(t,e,r,i,a,c){var u;this.c=t,u=new Bt,KZ(t,u,e,t.b,r,i,a,c),this.a=new Wi(u,0)}n(qP,"yzb");function o_t(){this.c=new nB(0),this.b=new nB(xHt),this.d=new nB(sFe),this.a=new nB($rt)}n(o_t,"_5c");function gl(t,e,r,i,a,c,u){gn.call(this,t,e),this.d=r,this.e=i,this.c=a,this.b=c,this.a=hu(u)}n(gl,"kMb");function Qr(t,e,r,i,a,c,u,d,b,w,m,x,E){return uIt(t,e,r,i,a,c,u,d,b,w,m,x,E),k$(t,!1),t}n(Qr,"tBd");function Lwe(t){return t.b.c.i.k==(De(),di)?l(O(t.b.c.i,(Ct(),lr)),12):t.b.c}n(Lwe,"H0b");function s_t(t){return t.b.d.i.k==(De(),di)?l(O(t.b.d.i,(Ct(),lr)),12):t.b.d}n(s_t,"I0b");function _we(t){var e;return e=GM(t),Xb(e.a,0)?(oB(),oB(),Eje):(oB(),new q9t(e.b))}n(_we,"nDb");function HP(t){var e;return e=HY(t),Xb(e.a,0)?(Ep(),Ep(),Rat):(Ep(),new Rj(e.b))}n(HP,"SCb");function KP(t){var e;return e=HY(t),Xb(e.a,0)?(Ep(),Ep(),Rat):(Ep(),new Rj(e.c))}n(KP,"TCb");function c_t(t){switch(t.g){case 2:return At(),je;case 4:return At(),qe;default:return t}}n(c_t,"o8b");function l_t(t){switch(t.g){case 1:return At(),on;case 3:return At(),Fe;default:return t}}n(l_t,"p8b");function h_t(t){switch(t.g){case 0:return new Hgt;case 1:return new Kgt;default:return null}}n(h_t,"C9c");function I3(){I3=tt,xot=new Nr("edgelabelcenterednessanalysis.includelabel",(Se(),sb))}n(I3,"Zcc");function dJ(){dJ=tt,Cze=zu(Lkt(In(In(new li,(na(),ls),(ua(),Jz)),ps,Gz),go),Qz)}n(dJ,"jKc");function u_t(){u_t=tt,Bze=zu(Lkt(In(In(new li,(na(),ls),(ua(),Jz)),ps,Gz),go),Qz)}n(u_t,"DLc");function UP(){UP=tt,MS=new Wvt,hlt=H(q(ac,1),o4,179,0,[]),XUe=H(q(Eh,1),zKt,62,0,[])}n(UP,"lYd");function wy(){wy=tt,J_=new xG("TO_INTERNAL_LTR",0),yot=new xG("TO_INPUT_DIRECTION",1)}n(wy,"P8b");function tc(){tc=tt,IWt=new Gut,DWt=new Vut,jWt=new Xut,OWt=new Yut,PWt=new Qut,$Wt=new Jut}n(tc,"J3b");function Fwe(t,e){e.Ug($_e,1),gZ(pse(new NE(($6(),new OI(t,!1,!1,new wU))))),e.Vg()}n(Fwe,"Cac");function Owe(t,e,r){r.Ug("DFS Treeifying phase",1),Y4e(t,e),Vxe(t,e),t.a=null,t.b=null,r.Vg()}n(Owe,"M_c");function Ux(t,e){return Se(),Oi(t)?dQ(t,En(e)):Lp(t)?gI(t,lt(e)):Ap(t)?C0e(t,Dt(e)):t.Fd(e)}n(Ux,"Leb");function R7(t,e){var r,i;for(Ie(e),i=e.vc().Kc();i.Ob();)r=l(i.Pb(),44),t.zc(r.ld(),r.md())}n(R7,"Ld");function Dwe(t,e,r){var i;for(i=r.Kc();i.Ob();)if(!YM(t,e,i.Pb()))return!1;return!0}n(Dwe,"ege");function jwe(t,e,r,i,a){var c;return r&&(c=jr(e.Dh(),t.c),a=r.Rh(e,-1-(c==-1?i:c),null,a)),a}n(jwe,"S6d");function Iwe(t,e,r,i,a){var c;return r&&(c=jr(e.Dh(),t.c),a=r.Th(e,-1-(c==-1?i:c),null,a)),a}n(Iwe,"T6d");function d_t(t){var e;if(t.b==-2){if(t.e==0)e=-1;else for(e=0;t.a[e]==0;e++);t.b=e}return t.b}n(d_t,"Uib");function Pwe(t){if(Ie(t),t.length==0)throw R(new _u("Zero length BigInteger"));qTe(this,t)}n(Pwe,"fjb");function fJ(t){this.i=t.gc(),this.i>0&&(this.g=this.aj(this.i+(this.i/8|0)+1),t.Qc(this.g))}n(fJ,"$Hd");function f_t(t,e,r){this.g=t,this.d=e,this.e=r,this.a=new Bt,X8e(this),de(),ai(this.a,null)}n(f_t,"dmc");function bJ(t,e){e.q=t,t.d=v.Math.max(t.d,e.r),t.b+=e.d+(t.a.c.length==0?0:t.c),Mt(t.a,e)}n(bJ,"aad");function my(t,e){var r,i,a,c;return a=t.c,r=t.c+t.b,c=t.d,i=t.d+t.a,e.a>a&&e.ac&&e.ba?r=a:_e(e,r+1),t.a=hl(t.a,0,e)+(""+i)+cY(t.a,r)}n(WP,"peb");function x_t(t,e){t.a=la(t.a,1),t.c=v.Math.min(t.c,e),t.b=v.Math.max(t.b,e),t.d=la(t.d,e)}n(x_t,"ktb");function Kwe(t,e){return e1||t.Ob())return++t.a,t.g=0,e=t.i,t.Ob(),e;throw R(new mo)}n($A,"k3d");function E_t(t){switch(t.a.g){case 1:return new L8t;case 3:return new _Dt;default:return new Hmt}}n(E_t,"GRc");function pJ(t,e){switch(e){case 1:return!!t.n&&t.n.i!=0;case 2:return t.k!=null}return qY(t,e)}n(pJ,"fyd");function jo(t){return d_>22),a=t.h+e.h+(i>>22),ks(r&zc,i&zc,a&id)}n(hme,"sD");function D_t(t,e){var r,i,a;return r=t.l-e.l,i=t.m-e.m+(r>>22),a=t.h-e.h+(i>>22),ks(r&zc,i&zc,a&id)}n(D_t,"DD");function ume(t){var e,r;for(aAe(t),r=new N(t.d);r.ai)throw R(new jp(e,i));return t.Si()&&(r=JSt(t,r)),t.Ei(e,r)}n(CJ,"XGd");function Ty(t,e,r,i,a){var c,u;for(u=r;u<=a;u++)for(c=e;c<=i;c++)Dw(t,c,u)||UL(t,c,u,!0,!1)}n(Ty,"eQb");function Sme(t){qw();var e,r,i;for(r=ht(Fi,Tt,8,2,0,1),i=0,e=0;e<2;e++)i+=.5,r[e]=mye(i,t);return r}n(Sme,"uid");function Sy(t){var e,r,i;return e=~t.l+1&zc,r=~t.m+(e==0?1:0)&zc,i=~t.h+(e==0&&r==0?1:0)&id,ks(e,r,i)}n(Sy,"xD");function TJ(t){var e;if(t<0)return da;if(t==0)return 0;for(e=KC;(e&t)==0;e>>=1);return e}n(TJ,"mgb");function JP(t,e,r){return t>=128?!1:t<64?n7(Si(lh(1,t),r),0):n7(Si(lh(1,t-64),e),0)}n(JP,"zSd");function tC(t,e,r){return r==null?(!t.q&&(t.q=new sn),F3(t.q,e)):(!t.q&&(t.q=new sn),Hn(t.q,e,r)),t}n(tC,"oQb");function wt(t,e,r){return r==null?(!t.q&&(t.q=new sn),F3(t.q,e)):(!t.q&&(t.q=new sn),Hn(t.q,e,r)),t}n(wt,"pQb");function U_t(t){var e,r;return r=new eA,ao(r,t),wt(r,(Id(),xv),t),e=new sn,eEe(t,r,e),AMe(t,r,e),r}n(U_t,"KTb");function W_t(t){var e,r;return e=t.t-t.k[t.o.p]*t.d+t.j[t.o.p]>t.f,r=t.u+t.e[t.o.p]*t.d>t.f*t.s*t.d,e||r}n(W_t,"cIc");function G_t(t,e){var r,i,a,c;for(r=!1,i=t.a[e].length,c=0;c=0,"Negative initial capacity"),lx(e>=0,"Non-positive load factor"),lc(this)}n(Q_t,"ckb");function Bme(t,e,r,i,a){var c,u;if(u=t.length,c=r.length,e<0||i<0||a<0||e+a>u||i+a>c)throw R(new wW)}n(Bme,"iib");function MJ(t,e){de();var r,i,a,c,u;for(u=!1,i=e,a=0,c=i.length;a1||e>=0&&t.b<3)}n(LJ,"DA");function e$(t){var e,r,i;e=~t.l+1&zc,r=~t.m+(e==0?1:0)&zc,i=~t.h+(e==0&&r==0?1:0)&id,t.l=e,t.m=r,t.h=i}n(e$,"nD");function _J(t){de();var e,r,i;for(i=1,r=t.Kc();r.Ob();)e=r.Pb(),i=31*i+(e!=null?kr(e):0),i=i|0;return i}n(_J,"Cob");function Fme(t,e,r,i,a){var c;return c=ket(t,e),r&&e$(c),a&&(t=Sye(t,e),i?ob=Sy(t):ob=ks(t.l,t.m,t.h)),c}n(Fme,"kD");function rFt(t,e,r){t.g=yN(t,e,(At(),qe),t.b),t.d=yN(t,r,qe,t.b),!(t.g.c==0||t.d.c==0)&&Djt(t)}n(rFt,"Qlc");function iFt(t,e,r){t.g=yN(t,e,(At(),je),t.j),t.d=yN(t,r,je,t.j),!(t.g.c==0||t.d.c==0)&&Djt(t)}n(iFt,"Rlc");function FJ(t,e){switch(e){case 7:return!!t.e&&t.e.i!=0;case 8:return!!t.d&&t.d.i!=0}return pZ(t,e)}n(FJ,"Xyd");function Ome(t,e){switch(e.g){case 0:J(t.b,641)||(t.b=new k_t);break;case 1:J(t.b,642)||(t.b=new vCt)}}n(Ome,"STb");function aFt(t){if(t.g===0)return new Xgt;throw R(new Le(tz+(t.f!=null?t.f:""+t.g)))}n(aFt,"tbd");function oFt(t){if(t.g===0)return new Vgt;throw R(new Le(tz+(t.f!=null?t.f:""+t.g)))}n(oFt,"bdd");function Dme(t,e,r){return!F5(ir(new ne(null,new ce(t.c,16)),new C5(new U8t(e,r)))).Bd((Lf(),vv))}n(Dme,"LCc");function sFt(t,e){return f3(Ry(l(O(e,(Lo(),$2)),88)),new xt(t.c.e.a-t.b.e.a,t.c.e.b-t.b.e.b))<=0}n(sFt,"mWc");function jme(t,e){for(;t.g==null&&!t.c?FY(t):t.g==null||t.i!=0&&l(t.g[t.i-1],51).Ob();)Nse(e,OL(t))}n(jme,"dve");function Gf(t){var e,r;for(r=new N(t.a.b);r.ai?1:0}n(Pme,"q6c");function $me(t){return Mt(t.c,(P3(),dKe)),PQ(t.a,it(lt(Lt((B$(),zq)))))?new Ipt:new pyt(t)}n($me,"ICc");function Nme(t){for(;!t.d||!t.d.Ob();)if(t.b&&!O6(t.b))t.d=l(x3(t.b),51);else return null;return t.d}n(Nme,"fs");function DJ(t){switch(t.g){case 1:return sFe;default:case 2:return 0;case 3:return $rt;case 4:return xHt}}n(DJ,"BVc");function Rme(){Jn();var t;return lte||(t=ole(Gd("M",!0)),t=gM(Gd("M",!1),t),lte=t,lte)}n(Rme,"fte");function qA(){qA=tt,nlt=new OB("ELK",0),CZt=new OB("JSON",1),xZt=new OB("DOT",2),TZt=new OB("SVG",3)}n(qA,"ttd");function K7(){K7=tt,Dst=new cj("STACKED",0),Ost=new cj("REVERSE_STACKED",1),gF=new cj("SEQUENCED",2)}n(K7,"TEc");function U7(){U7=tt,dYt=new bj(T1,0),Rst=new bj("MIDDLE_TO_MIDDLE",1),mF=new bj("AVOID_OVERLAP",2)}n(U7,"LZc");function My(){My=tt,vGt=new L0t,kGt=new _0t,VPe=new M0t,GPe=new F0t,WPe=new A0t,yGt=(Ie(WPe),new ta)}n(My,"sgc");function HA(){HA=tt,sZt=new Qb(15),VKe=new Ki(($n(),of),sZt),pS=jv,rZt=BKe,iZt=ap,oZt=$4,aZt=Sm}n(HA,"vnd");function Mw(t,e){var r,i,a,c,u;for(i=e,a=0,c=i.length;a=t.b.c.length||(IJ(t,2*e+1),r=2*e+2,r0&&(e.Cd(r),r.i&&q3e(r))}n(Ume,"sKc");function PJ(t,e,r){var i;for(i=r-1;i>=0&&t[i]===e[i];i--);return i<0?0:GD(Si(t[i],Na),Si(e[i],Na))?-1:1}n(PJ,"Ejb");function hFt(t,e,r){var i,a;this.g=t,this.c=e,this.a=this,this.d=this,a=KLt(r),i=ht(oje,l_,227,a,0,1),this.b=i}n(hFt,"it");function o$(t,e,r,i,a){var c,u;for(u=r;u<=a;u++)for(c=e;c<=i;c++)if(Dw(t,c,u))return!0;return!1}n(o$,"fQb");function Wme(t,e){var r,i;for(i=t.Zb().Cc().Kc();i.Ob();)if(r=l(i.Pb(),16),r.Hc(e))return!0;return!1}n(Wme,"Dc");function uFt(t,e,r){var i,a,c,u;for(Ie(r),u=!1,c=t.fd(e),a=r.Kc();a.Ob();)i=a.Pb(),c.Rb(i),u=!0;return u}n(uFt,"iu");function s$(t,e){var r,i;return i=l(Ae(t.a,4),129),r=ht(clt,dat,424,e,0,1),i!=null&&ts(i,0,r,0,i.length),r}n(s$,"NMd");function dFt(t,e){var r;return r=new jN((t.f&256)!=0,t.i,t.a,t.d,(t.f&16)!=0,t.j,t.g,e),t.e!=null||(r.c=t),r}n(dFt,"hSd");function Gme(t,e){var r;return t===e?!0:J(e,85)?(r=l(e,85),Rtt(Ff(t),r.vc())):!1}n(Gme,"Tv");function fFt(t,e,r){var i,a;for(a=r.Kc();a.Ob();)if(i=l(a.Pb(),44),t.Be(e,i.md()))return!0;return!1}n(fFt,"Vjb");function bFt(t,e,r){return t.d[e.p][r.p]||(Y5e(t,e,r),t.d[e.p][r.p]=!0,t.d[r.p][e.p]=!0),t.a[e.p][r.p]}n(bFt,"lmc");function Vme(t,e){var r;return!t||t==e||!Tr(e,(Ct(),B2))?!1:(r=l(O(e,(Ct(),B2)),10),r!=t)}n(Vme,"vMc");function c$(t){switch(t.i){case 2:return!0;case 1:return!1;case-1:++t.c;default:return t.$l()}}n(c$,"Bhe");function gFt(t){switch(t.i){case-2:return!0;case-1:return!1;case 1:--t.c;default:return t._l()}}n(gFt,"Che");function pFt(t){rEt.call(this,"The given string does not match the expected format for individual spacings.",t)}n(pFt,"bgb");function Xme(t,e){var r;e.Ug("Min Size Preprocessing",1),r=Xtt(t),fr(t,(m1(),iS),r.a),fr(t,cH,r.b),e.Vg()}n(Xme,"J6c");function Yme(t){var e,r,i;for(e=0,i=ht(Fi,Tt,8,t.b,0,1),r=hn(t,0);r.b!=r.d.c;)i[e++]=l(cn(r),8);return i}n(Yme,"Djd");function l$(t,e,r){var i,a,c;for(i=new Ar,c=hn(r,0);c.b!=c.d.c;)a=l(cn(c),8),Fn(i,new wa(a));uFt(t,e,i)}n(l$,"Ajd");function Qme(t,e){var r;return r=la(t,e),GD(JI(t,e),0)|IB(JI(t,r),0)?r:la(c_,JI(Ad(r,63),1))}n(Qme,"az");function Jme(t,e){var r,i;return r=l(t.d.Bc(e),16),r?(i=t.e.hc(),i.Gc(r),t.e.d-=r.gc(),r.$b(),i):null}n(Jme,"le");function wFt(t){var e;if(e=t.a.c.length,e>0)return W5(e-1,t.a.c.length),q0(t.a,e-1);throw R(new pvt)}n(wFt,"Dyb");function mFt(t,e,r){if(t>e)throw R(new Le(wR+t+VLe+e));if(t<0||e>r)throw R(new UW(wR+t+Czt+e+vzt+r))}n(mFt,"nFb");function Ay(t,e){t.D==null&&t.B!=null&&(t.D=t.B,t.B=null),jP(t,e==null?null:(Ie(e),e)),t.C&&t.hl(null)}n(Ay,"yXd");function Zme(t,e){var r;r=Lt((B$(),zq))!=null&&e.Sg()!=null?it(lt(e.Sg()))/it(lt(Lt(zq))):1,Hn(t.b,e,r)}n(Zme,"JCc");function $J(t,e){var r,i;if(i=t.c[e],i!=0)for(t.c[e]=0,t.d-=i,r=e+1;rGR?t-r>GR:r-t>GR}n(f$,"AVc");function AFt(t,e){var r;for(r=0;ra&&(ajt(e.q,a),i=r!=e.q.d)),i}n(HJ,"M8c");function LFt(t,e){var r,i,a,c,u,d,b,w;return b=e.i,w=e.j,i=t.f,a=i.i,c=i.j,u=b-a,d=w-c,r=v.Math.sqrt(u*u+d*d),r}n(LFt,"C3c");function KJ(t,e){var r,i;return i=iL(t),i||(!SUe&&(SUe=new a2t),r=(rR(),wPt(e)),i=new avt(r),bn(i.El(),t)),i}n(KJ,"pBd");function iC(t,e){var r,i;return r=l(t.c.Bc(e),16),r?(i=t.hc(),i.Gc(r),t.d-=r.gc(),r.$b(),t.mc(i)):t.jc()}n(iC,"Sc");function h3e(t,e){var r,i;for(i=Sc(t.d,1)!=0,r=!0;r;)r=!1,r=e.c.mg(e.e,i),r=r|OC(t,e,i,!1),i=!i;cJ(t)}n(h3e,"tKc");function _Ft(t,e,r,i){var a,c;t.a=e,c=i?0:1,t.f=(a=new Kjt(t.c,t.a,r,c),new x$t(r,t.a,a,t.e,t.b,t.c==(yg(),VT)))}n(_Ft,"omc");function UA(t){var e;return Je(t.a!=t.b),e=t.d.a[t.a],axt(t.b==t.d.c&&e!=null),t.c=t.a,t.a=t.a+1&t.d.a.length-1,e}n(UA,"Imb");function FFt(t){var e;if(t.c!=0)return t.c;for(e=0;e=t.c.b:t.a<=t.c.b))throw R(new mo);return e=t.a,t.a+=t.c.c,++t.b,Et(e)}n(u3e,"Oue");function b$(t){var e;return e=new oV(t.a),ao(e,t),wt(e,(Ct(),lr),t),e.o.a=t.g,e.o.b=t.f,e.n.a=t.i,e.n.b=t.j,e}n(b$,"h5b");function g$(t){return(At(),rc).Hc(t.j)?it(lt(O(t,(Ct(),pk)))):Co(H(q(Fi,1),Tt,8,0,[t.i.n,t.n,t.a])).b}n(g$,"tVc");function d3e(t){var e;return e=zB(xze),l(O(t,(Ct(),ms)),21).Hc((Oa(),gk))&&In(e,(na(),ls),(ua(),eq)),e}n(d3e,"ZJc");function f3e(t){var e,r,i,a;for(a=new oi,i=new N(t);i.a=0?e:-e;i>0;)i%2==0?(r*=r,i=i/2|0):(a*=r,i-=1);return e<0?1/a:a}n(UJ,"Iid");function m3e(t,e){var r,i,a;for(a=1,r=t,i=e>=0?e:-e;i>0;)i%2==0?(r*=r,i=i/2|0):(a*=r,i-=1);return e<0?1/a:a}n(m3e,"Jid");function Rd(t,e){var r,i,a,c;return c=(a=t?iL(t):null,fIt((i=e,a&&a.Gl(),i))),c==e&&(r=iL(t),r&&r.Gl()),c}n(Rd,"Vvd");function OFt(t,e,r){var i,a;return a=t.f,t.f=e,(t.Db&4)!=0&&(t.Db&1)==0&&(i=new _i(t,1,0,a,e),r?r.nj(i):r=i),r}n(OFt,"g2d");function DFt(t,e,r){var i,a;return a=t.b,t.b=e,(t.Db&4)!=0&&(t.Db&1)==0&&(i=new _i(t,1,3,a,e),r?r.nj(i):r=i),r}n(DFt,"e2d");function WJ(t,e,r){var i,a;return a=t.a,t.a=e,(t.Db&4)!=0&&(t.Db&1)==0&&(i=new _i(t,1,1,a,e),r?r.nj(i):r=i),r}n(WJ,"rAd");function jFt(t){var e,r,i,a;if(t!=null){for(r=0;r=i||e-129&&t<128?(yCt(),e=t+128,r=bUt[e],!r&&(r=bUt[e]=new GU(t)),r):new GU(t)}n(Et,"sgb");function _y(t){var e,r;return t>-129&&t<128?(ICt(),e=t+128,r=mUt[e],!r&&(r=mUt[e]=new XU(t)),r):new XU(t)}n(_y,"bhb");function $Ft(t,e){var r;t.a.c.length>0&&(r=l(It(t.a,t.a.c.length-1),579),jJ(r,e))||Mt(t.a,new nMt(e))}n($Ft,"M$b");function T3e(t){ch();var e,r;e=t.d.c-t.e.c,r=l(t.g,154),Ts(r.b,new J4t(e)),Ts(r.c,new Z4t(e)),Ji(r.i,new t5t(e))}n(T3e,"Ekc");function NFt(t){var e;return e=new kd,e.a+="VerticalSegment ",is(e,t.e),e.a+=" ",jn(e,fV(new DD,new N(t.k))),e.a}n(NFt,"Mlc");function p$(t,e){var r,i,a;for(r=0,a=To(t,e).Kc();a.Ob();)i=l(a.Pb(),12),r+=O(i,(Ct(),Bc))!=null?1:0;return r}n(p$,"Fmc");function _w(t,e,r){var i,a,c;for(i=0,c=hn(t,0);c.b!=c.d.c&&(a=it(lt(cn(c))),!(a>r));)a>=e&&++i;return i}n(_w,"VTc");function RFt(t,e){Cn(t);try{return t._b(e)}catch(r){if(r=Dr(r),J(r,212)||J(r,169))return!1;throw R(r)}}n(RFt,"Wv");function VJ(t,e){Cn(t);try{return t.Hc(e)}catch(r){if(r=Dr(r),J(r,212)||J(r,169))return!1;throw R(r)}}n(VJ,"Nk");function S3e(t,e){Cn(t);try{return t.Mc(e)}catch(r){if(r=Dr(r),J(r,212)||J(r,169))return!1;throw R(r)}}n(S3e,"Ok");function Qp(t,e){Cn(t);try{return t.xc(e)}catch(r){if(r=Dr(r),J(r,212)||J(r,169))return null;throw R(r)}}n(Qp,"Xv");function E3e(t,e){Cn(t);try{return t.Bc(e)}catch(r){if(r=Dr(r),J(r,212)||J(r,169))return null;throw R(r)}}n(E3e,"Yv");function V7(t,e){switch(e.g){case 2:case 1:return To(t,e);case 3:case 4:return ml(To(t,e))}return de(),de(),Ba}n(V7,"aMc");function X7(t){var e;return(t.Db&64)!=0?fh(t):(e=new jl(fh(t)),e.a+=" (name: ",Ia(e,t.zb),e.a+=")",e.a)}n(X7,"QAd");function B3e(t){var e;return e=l(fu(t.c.c,""),233),e||(e=new M3(L5(A5(new Ym,""),"Other")),J0(t.c.c,"",e)),e}n(B3e,"Fgd");function XJ(t,e,r){var i,a;return a=t.sb,t.sb=e,(t.Db&4)!=0&&(t.Db&1)==0&&(i=new _i(t,1,4,a,e),r?r.nj(i):r=i),r}n(XJ,"hBd");function YJ(t,e,r){var i,a;return a=t.r,t.r=e,(t.Db&4)!=0&&(t.Db&1)==0&&(i=new _i(t,1,8,a,t.r),r?r.nj(i):r=i),r}n(YJ,"ZVd");function M3e(t,e,r){var i,a;return i=new Y1(t.e,4,13,(a=e.c,a||(he(),r1)),null,Z0(t,e),!1),r?r.nj(i):r=i,r}n(M3e,"q5d");function A3e(t,e,r){var i,a;return i=new Y1(t.e,3,13,null,(a=e.c,a||(he(),r1)),Z0(t,e),!1),r?r.nj(i):r=i,r}n(A3e,"p5d");function V0(t,e){var r,i;return r=l(e,691),i=r.el(),!i&&r.fl(i=J(e,90)?new wkt(t,l(e,29)):new zEt(t,l(e,156))),i}n(V0,"Oee");function aC(t,e,r){var i;t._i(t.i+1),i=t.Zi(e,r),e!=t.i&&ts(t.g,e,t.g,e+1,t.i-e),Hr(t.g,e,i),++t.i,t.Mi(e,r),t.Ni()}n(aC,"KHd");function L3e(t,e){var r;return e.a&&(r=e.a.a.length,t.a?jn(t.a,t.b):t.a=new Wc(t.d),VEt(t.a,e.a,e.d.length,r)),t}n(L3e,"Hyb");function _3e(t,e){var r;t.c=e,t.a=I4e(e),t.a<54&&(t.f=(r=e.d>1?WEt(e.a[0],e.a[1]):WEt(e.a[0],0),Nf(e.e>0?r:K0(r))))}n(_3e,"wib");function oC(t,e){var r;return r=new d5,t.a.Bd(r)?(P5(),new MD(Ie(BAt(t,r.a,e)))):(Fd(t),P5(),P5(),AUt)}n(oC,"MDb");function zFt(t,e){var r;t.c.length!=0&&(r=l(pu(t,ht(p0,Xd,10,t.c.length,0,1)),199),JG(r,new I1t),DIt(r,e))}n(zFt,"t9b");function qFt(t,e){var r;t.c.length!=0&&(r=l(pu(t,ht(p0,Xd,10,t.c.length,0,1)),199),JG(r,new P1t),DIt(r,e))}n(qFt,"z9b");function er(t,e){return Oi(t)?ie(t,e):Lp(t)?Ixt(t,e):Ap(t)?(Ie(t),ot(t)===ot(e)):KX(t)?t.Fb(e):PX(t)?Okt(t,e):PY(t,e)}n(er,"pb");function pl(t,e,r){if(e<0)net(t,r);else{if(!r.rk())throw R(new Le(ab+r.xe()+lT));l(r,69).wk().Ek(t,t.hi(),e)}}n(pl,"Cvd");function HFt(t,e,r){if(t<0||e>r)throw R(new Wa(wR+t+Czt+e+", size: "+r));if(t>e)throw R(new Le(wR+t+VLe+e))}n(HFt,"xFb");function KFt(t){var e;return(t.Db&64)!=0?fh(t):(e=new jl(fh(t)),e.a+=" (source: ",Ia(e,t.d),e.a+=")",e.a)}n(KFt,"oVd");function UFt(t){return t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:t>=48&&t<=57?t-48:0}n(UFt,"JSd");function F3e(t){r_();var e,r,i,a;for(r=j$(),i=0,a=r.length;i=0?qd(t):x7(qd(K0(t))))}n(sC,"Aib");function VFt(t,e,r,i,a,c){this.e=new Bt,this.f=(Fa(),WT),Mt(this.e,t),this.d=e,this.a=r,this.b=i,this.f=a,this.c=c}n(VFt,"G0b");function j3e(t,e,r){t.n=_f(Mb,[Tt,grt],[376,28],14,[r,xi(v.Math.ceil(e/32))],2),t.o=e,t.p=r,t.j=e-1>>1,t.k=r-1>>1}n(j3e,"bQb");function XFt(t){return t-=t>>1&1431655765,t=(t>>2&858993459)+(t&858993459),t=(t>>4)+t&252645135,t+=t>>8,t+=t>>16,t&63}n(XFt,"ggb");function YFt(t,e){var r,i;for(i=new ze(t);i.e!=i.i.gc();)if(r=l(Xe(i),142),ot(e)===ot(r))return!0;return!1}n(YFt,"C4d");function I3e(t,e,r){var i,a,c;return c=(a=Vy(t.b,e),a),c&&(i=l(JL(Px(t,c),""),29),i)?Eet(t,i,e,r):null}n(I3e,"Iee");function w$(t,e,r){var i,a,c;return c=(a=Vy(t.b,e),a),c&&(i=l(JL(Px(t,c),""),29),i)?Bet(t,i,e,r):null}n(w$,"Lee");function P3e(t,e){var r;if(r=Bw(t.i,e),r==null)throw R(new Lu("Node did not exist in input."));return gJ(e,r),null}n(P3e,"IDd");function $3e(t,e){var r;if(r=FC(t,e),J(r,331))return l(r,35);throw R(new Le(ab+e+"' is not a valid attribute"))}n($3e,"wvd");function Q7(t,e,r){var i;if(i=t.gc(),e>i)throw R(new jp(e,i));if(t.Si()&&t.Hc(r))throw R(new Le(O_));t.Gi(e,r)}n(Q7,"VGd");function N3e(t,e){e.Ug("Sort end labels",1),Yr(ir(xo(new ne(null,new ce(t.b,16)),new v1t),new k1t),new x1t),e.Vg()}n(N3e,"w7b");function ui(){ui=tt,t1=new K9(XC,0),po=new K9(hv,1),lo=new K9(lv,2),Zu=new K9(Mrt,3),Gl=new K9("UP",4)}n(ui,"Cmd");function cC(){cC=tt,uH=new kj("P1_STRUCTURE",0),dH=new kj("P2_PROCESSING_ORDER",1),fH=new kj("P3_EXECUTION",2)}n(cC,"gbd");function QFt(){QFt=tt,Pqe=zu(zu(q6(zu(zu(q6(In(new li,(U3(),QT),(v8(),Nst)),JT),cYt),hYt),ZT),iYt),uYt)}n(QFt,"r0c");function R3e(t){switch(l(O(t,(Ct(),Vg)),311).g){case 1:wt(t,Vg,(Q1(),Tv));break;case 2:wt(t,Vg,(Q1(),w4))}}n(R3e,"s8b");function z3e(t){switch(t){case 0:return new Nvt;case 1:return new Pvt;case 2:return new $vt;default:throw R(new x9)}}n(z3e,"bUc");function JFt(t){switch(t.g){case 2:return po;case 1:return lo;case 4:return Zu;case 3:return Gl;default:return t1}}n(JFt,"Fmd");function tZ(t,e){switch(t.b.g){case 0:case 1:return e;case 2:case 3:return new ll(e.d,0,e.a,e.b);default:return null}}n(tZ,"UNb");function eZ(t){switch(t.g){case 1:return je;case 2:return Fe;case 3:return qe;case 4:return on;default:return Fo}}n(eZ,"rpd");function lC(t){switch(t.g){case 1:return on;case 2:return je;case 3:return Fe;case 4:return qe;default:return Fo}}n(lC,"spd");function VA(t){switch(t.g){case 1:return qe;case 2:return on;case 3:return je;case 4:return Fe;default:return Fo}}n(VA,"tpd");function nZ(t,e,r,i){switch(e){case 1:return!t.n&&(t.n=new pt(Za,t,1,7)),t.n;case 2:return t.k}return VZ(t,e,r,i)}n(nZ,"cyd");function J7(t,e,r){var i,a;return t.Pj()?(a=t.Qj(),i=TN(t,e,r),t.Jj(t.Ij(7,Et(r),i,e,a)),i):TN(t,e,r)}n(J7,"uLd");function m$(t,e){var r,i,a;t.d==null?(++t.e,--t.f):(a=e.ld(),r=e.Bi(),i=(r&nr)%t.d.length,Epe(t,i,kPt(t,i,r,a)))}n(m$,"VNd");function Fy(t,e){var r;r=(t.Bb&qh)!=0,e?t.Bb|=qh:t.Bb&=-1025,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new hh(t,1,10,r,e))}n(Fy,"xWd");function Oy(t,e){var r;r=(t.Bb&Yw)!=0,e?t.Bb|=Yw:t.Bb&=-4097,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new hh(t,1,12,r,e))}n(Oy,"DWd");function Dy(t,e){var r;r=(t.Bb&wc)!=0,e?t.Bb|=wc:t.Bb&=-8193,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new hh(t,1,15,r,e))}n(Dy,"EWd");function jy(t,e){var r;r=(t.Bb&rm)!=0,e?t.Bb|=rm:t.Bb&=-2049,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new hh(t,1,11,r,e))}n(jy,"FWd");function q3e(t){var e;t.g&&(e=t.c.kg()?t.f:t.a,Ret(e.a,t.o,!0),Ret(e.a,t.o,!1),wt(t.o,(Ot(),Jr),(Ri(),sp)))}n(q3e,"zKc");function H3e(t){var e;if(!t.a)throw R(new Ga("Cannot offset an unassigned cut."));e=t.c-t.b,t.b+=e,CSt(t,e),xSt(t,e)}n(H3e,"Orc");function K3e(t,e){var r;if(r=He(t.k,e),r==null)throw R(new Lu("Port did not exist in input."));return gJ(e,r),null}n(K3e,"JDd");function U3e(t){var e,r;for(r=mPt(Yc(t)).Kc();r.Ob();)if(e=En(r.Pb()),k8(t,e))return Wge((Z7t(),PUe),e);return null}n(U3e,"Jje");function ZFt(t){var e,r;for(r=t.p.a.ec().Kc();r.Ob();)if(e=l(r.Pb(),218),e.f&&t.b[e.c]<-1e-10)return e;return null}n(ZFt,"qJb");function W3e(t){var e,r;for(r=_d(new kd,91),e=!0;t.Ob();)e||(r.a+=ka),e=!1,is(r,t.Pb());return(r.a+="]",r).a}n(W3e,"Lr");function G3e(t){var e,r,i;for(e=new Bt,i=new N(t.b);i.ae?1:t==e?t==0?pr(1/t,1/e):0:isNaN(t)?isNaN(e)?0:1:-1}n(pr,"Qfb");function X3e(t){var e;return e=t.a[t.c-1&t.a.length-1],e==null?null:(t.c=t.c-1&t.a.length-1,Hr(t.a,t.c,null),e)}n(X3e,"pmb");function Y3e(t){var e,r,i;for(i=0,r=t.length,e=0;e=1?po:Zu):r}n(XA,"i2b");function t4e(t){switch(l(O(t,(Ot(),ld)),223).g){case 1:return new sft;case 3:return new dft;default:return new oft}}n(t4e,"Xhc");function zd(t){if(t.c)zd(t.c);else if(t.d)throw R(new Ga("Stream already terminated, can't be modified or used"))}n(zd,"MCb");function Cg(t,e,r){var i;return i=t.a.get(e),t.a.set(e,r===void 0?null:r),i===void 0?(++t.c,++t.b.g):++t.d,i}n(Cg,"Ltb");function e4e(t,e,r){var i,a;for(a=t.a.ec().Kc();a.Ob();)if(i=l(a.Pb(),10),Yx(r,l(It(e,i.p),16)))return i;return null}n(e4e,"HHc");function iZ(t,e,r){var i;return i=0,e&&(fw(t.a)?i+=e.f.a/2:i+=e.f.b/2),r&&(fw(t.a)?i+=r.f.a/2:i+=r.f.b/2),i}n(iZ,"u0c");function n4e(t,e,r){var i;i=r,!i&&(i=SX(new e3,0)),i.Ug(S_e,2),iDt(t.b,e,i.eh(1)),mBe(t,e,i.eh(1)),kAe(e,i.eh(1)),i.Vg()}n(n4e,"LWb");function aZ(t,e,r){var i,a;return i=(Cd(),a=new LE,a),kA(i,e),vA(i,r),t&&bn((!t.a&&(t.a=new ci(Al,t,5)),t.a),i),i}n(aZ,"CGd");function v$(t){var e;return(t.Db&64)!=0?fh(t):(e=new jl(fh(t)),e.a+=" (identifier: ",Ia(e,t.k),e.a+=")",e.a)}n(v$,"kyd");function k$(t,e){var r;r=(t.Bb&Wo)!=0,e?t.Bb|=Wo:t.Bb&=-32769,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new hh(t,1,18,r,e))}n(k$,"kXd");function oZ(t,e){var r;r=(t.Bb&Wo)!=0,e?t.Bb|=Wo:t.Bb&=-32769,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new hh(t,1,18,r,e))}n(oZ,"a6d");function Iy(t,e){var r;r=(t.Bb&y1)!=0,e?t.Bb|=y1:t.Bb&=-16385,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new hh(t,1,16,r,e))}n(Iy,"AWd");function sZ(t,e){var r;r=(t.Bb&Ea)!=0,e?t.Bb|=Ea:t.Bb&=-65537,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new hh(t,1,20,r,e))}n(sZ,"c6d");function cZ(t){var e;return e=ht(Yl,v1,28,2,15,1),t-=Ea,e[0]=(t>>10)+f_&gi,e[1]=(t&1023)+56320&gi,Nl(e,0,e.length)}n(cZ,"qse");function r4e(t){var e;return e=r2(t),e>34028234663852886e22?Ir:e<-34028234663852886e22?mi:e}n(r4e,"Zfb");function la(t,e){var r;return uo(t)&&uo(e)&&(r=t+e,d_"+$f(e.c):"e_"+kr(e),t.b&&t.c?$f(t.b)+"->"+$f(t.c):"e_"+kr(t))}n(a4e,"pWc");function o4e(t,e){return ie(e.b&&e.c?$f(e.b)+"->"+$f(e.c):"e_"+kr(e),t.b&&t.c?$f(t.b)+"->"+$f(t.c):"e_"+kr(t))}n(o4e,"rWc");function Tg(t,e){return au(),uh(tb),v.Math.abs(t-e)<=tb||t==e||isNaN(t)&&isNaN(e)?0:te?1:Yb(isNaN(t),isNaN(e))}n(Tg,"$y");function e0(){e0=tt,Qct=new AB(XC,0),PF=new AB("POLYLINE",1),Dk=new AB("ORTHOGONAL",2),$v=new AB("SPLINES",3)}n(e0,"Ymd");function YA(){YA=tt,cQt=new yj("ASPECT_RATIO_DRIVEN",0),wct=new yj("MAX_SCALE_DRIVEN",1),sQt=new yj("AREA_DRIVEN",2)}n(YA,"_6c");function s4e(t,e,r){var i;try{Lme(t,e,r)}catch(a){throw a=Dr(a),J(a,606)?(i=a,R(new cQ(i))):R(a)}return e}n(s4e,"Db");function c4e(t){var e,r,i;for(r=0,i=t.length;re&&i.Ne(t[c-1],t[c])>0;--c)u=t[c],Hr(t,c,t[c-1]),Hr(t,c-1,u)}n(u4e,"Unb");function Qt(t,e){var r,i,a,c,u;if(r=e.f,J0(t.c.d,r,e),e.g!=null)for(a=e.g,c=0,u=a.length;ce){QEt(r);break}}bx(r,e)}n(nOt,"YSc");function d4e(t,e){var r,i,a;i=Cw(e),a=it(lt(Zp(i,(Ot(),Wh)))),r=v.Math.max(0,a/2-.5),s8(e,r,1),Mt(t,new g8t(e,r))}n(d4e,"Kic");function f4e(t,e,r){var i;r.Ug("Straight Line Edge Routing",1),r.dh(e,FHt),i=l(yt(e,(vw(),A4)),27),NNt(t,i),r.dh(e,YR)}n(f4e,"L5c");function lZ(t,e){t.n.c.length==0&&Mt(t.n,new HM(t.s,t.t,t.i)),Mt(t.b,e),HZ(l(It(t.n,t.n.c.length-1),209),e),kNt(t,e)}n(lZ,"K9c");function Z7(t){var e;this.a=(e=l(t.e&&t.e(),9),new cl(e,l(sh(e,e.length),9),0)),this.b=ht(Ai,xe,1,this.a.a.length,5,1)}n(Z7,"Zrb");function bo(t){var e;return Array.isArray(t)&&t.Tm===nn?Af(Nc(t))+"@"+(e=kr(t)>>>0,e.toString(16)):t.toString()}n(bo,"jeb");function b4e(t,e){return t.h==u_&&t.m==0&&t.l==0?(e&&(ob=ks(0,0,0)),jkt((cy(),cUt))):(e&&(ob=ks(t.l,t.m,t.h)),ks(0,0,0))}n(b4e,"jD");function g4e(t,e){switch(e.g){case 2:return t.b;case 1:return t.c;case 4:return t.d;case 3:return t.a;default:return!1}}n(g4e,"_Gb");function rOt(t,e){switch(e.g){case 2:return t.b;case 1:return t.c;case 4:return t.d;case 3:return t.a;default:return!1}}n(rOt,"IYb");function hZ(t,e,r,i){switch(e){case 3:return t.f;case 4:return t.g;case 5:return t.i;case 6:return t.j}return nZ(t,e,r,i)}n(hZ,"vyd");function QA(t,e){if(e==t.d)return t.e;if(e==t.e)return t.d;throw R(new Le("Node "+e+" not part of edge "+t))}n(QA,"oIb");function p4e(t,e){var r;if(r=FC(t.Dh(),e),J(r,102))return l(r,19);throw R(new Le(ab+e+"' is not a valid reference"))}n(p4e,"Uvd");function wl(t,e,r,i){if(e<0)_et(t,r,i);else{if(!r.rk())throw R(new Le(ab+r.xe()+lT));l(r,69).wk().Ck(t,t.hi(),e,i)}}n(wl,"Bvd");function Tc(t){var e;if(t.b){if(Tc(t.b),t.b.d!=t.c)throw R(new al)}else t.d.dc()&&(e=l(t.f.c.xc(t.e),16),e&&(t.d=e))}n(Tc,"ig");function w4e(t){Op();var e,r,i,a;for(e=t.o.b,i=l(l(cr(t.r,(At(),on)),21),87).Kc();i.Ob();)r=l(i.Pb(),117),a=r.e,a.b+=e}n(w4e,"VMb");function m4e(t){var e,r,i;for(this.a=new Ou,i=new N(t);i.a=a)return e.c+r;return e.c+e.b.gc()}n(y4e,"fdc");function v4e(t,e){z5();var r,i,a,c;for(i=gAt(t),a=e,oy(i,0,i.length,a),r=0;r0&&(i+=a,++r);return r>1&&(i+=t.d*(r-1)),i}n(dZ,"vKb");function x4e(t){var e,r,i,a,c;return c=Mtt(t),r=E9(t.c),i=!r,i&&(a=new Cf,$h(c,"knownLayouters",a),e=new Wyt(a),Ji(t.c,e)),c}n(x4e,"FFd");function fZ(t){var e,r,i;for(i=new F0,i.a+="[",e=0,r=t.gc();e0&&(_e(e-1,t.length),t.charCodeAt(e-1)==58)&&!T$(t,ES,BS))}n(S4e,"FSd");function bZ(t,e){var r;return ot(t)===ot(e)?!0:J(e,92)?(r=l(e,92),t.e==r.e&&t.d==r.d&&Xge(t,r.a)):!1}n(bZ,"Sib");function R3(t){switch(At(),t.g){case 4:return Fe;case 1:return qe;case 3:return on;case 2:return je;default:return Fo}}n(R3,"vpd");function E4e(t){var e,r;if(t.b)return t.b;for(r=Vu?null:t.d;r;){if(e=Vu?null:r.b,e)return e;r=Vu?null:r.d}return P6(),FUt}n(E4e,"jBb");function gZ(t){var e,r,i;for(i=it(lt(t.a.of(($n(),kH)))),r=new N(t.a.Sf());r.a>5,e=t&31,i=ht(yn,Pn,28,r+1,15,1),i[r]=1<3;)a*=10,--c;t=(t+(a>>1))/a|0}return i.i=t,!0}n($4e,"OA");function jr(t,e){var r,i,a;if(r=(t.i==null&&Hu(t),t.i),i=e.Lj(),i!=-1){for(a=r.length;i=0;--i)for(e=r[i],a=0;a>1,this.k=e-1>>1}n(kZ,"gQb");function z4e(t){sA(),l(t.of(($n(),wb)),181).Hc((Ec(),MH))&&(l(t.of(Em),181).Fc((fc(),Nv)),l(t.of(wb),181).Mc(MH))}n(z4e,"Dfd");function hOt(t){var e,r;e=t.d==(W3(),sk),r=mtt(t),e&&!r||!e&&r?wt(t.a,(Ot(),L1),(p1(),AF)):wt(t.a,(Ot(),L1),(p1(),MF))}n(hOt,"ndc");function B$(){B$=tt,lB(),zq=(Ot(),j2),XRe=hu(H(q(Oct,1),yHt,149,0,[uF,Wh,C4,D2,vm,pst,kk,xk,wst,qT,x4,ep,T4]))}n(B$,"QCc");function q4e(t,e){var r;return r=l(fo(t,hc(new Ua,new Oo,new Yo,H(q(so,1),mt,108,0,[(dc(),Eo)]))),15),r.Qc(_Ct(r.gc()))}n(q4e,"RDb");function uOt(t,e){var r,i;if(i=new x5(t.a.ad(e,!0)),i.a.gc()<=1)throw R(new Jm);return r=i.a.ec().Kc(),r.Pb(),l(r.Pb(),40)}n(uOt,"nXc");function H4e(t,e,r){var i,a;return i=it(t.p[e.i.p])+it(t.d[e.i.p])+e.n.b+e.a.b,a=it(t.p[r.i.p])+it(t.d[r.i.p])+r.n.b+r.a.b,a-i}n(H4e,"lQc");function xZ(t,e){var r;return t.i>0&&(e.lengtht.i&&Hr(e,t.i,null),e}n(xZ,"XHd");function ZA(t){var e;return(t.Db&64)!=0?X7(t):(e=new jl(X7(t)),e.a+=" (instanceClassName: ",Ia(e,t.D),e.a+=")",e.a)}n(ZA,"MXd");function tL(t){var e,r,i,a;for(a=0,r=0,i=t.length;r0?(t._j(),i=e==null?0:kr(e),a=(i&nr)%t.d.length,r=kPt(t,a,i,e),r!=-1):!1}n(M$,"QNd");function dOt(t,e){var r,i;t.a=la(t.a,1),t.c=v.Math.min(t.c,e),t.b=v.Math.max(t.b,e),t.d+=e,r=e-t.f,i=t.e+r,t.f=i-t.e-r,t.e=i}n(dOt,"Nrb");function CZ(t,e){switch(e){case 3:wg(t,0);return;case 4:mg(t,0);return;case 5:Ss(t,0);return;case 6:Es(t,0);return}GJ(t,e)}n(CZ,"yyd");function Sg(t,e){switch(e.g){case 1:return m3(t.j,(tc(),DWt));case 2:return m3(t.j,(tc(),IWt));default:return de(),de(),Ba}}n(Sg,"c3b");function TZ(t){og();var e;switch(e=t.Pc(),e.length){case 0:return Lat;case 1:return new sI(Cn(e[0]));default:return new qI(c4e(e))}}n(TZ,"zm");function fOt(t,e){t.Xj();try{t.d.bd(t.e++,e),t.f=t.d.j,t.g=-1}catch(r){throw r=Dr(r),J(r,77)?R(new al):R(r)}}n(fOt,"kMd");function A$(){A$=tt,dlt=new s2t,HZt=new c2t,KZt=new l2t,UZt=new h2t,WZt=new u2t,GZt=new d2t,VZt=new f2t,XZt=new b2t,YZt=new g2t}n(A$,"a8d");function eL(t,e){VG();var r,i;return r=rx((XE(),XE(),kT)),i=null,e==r&&(i=l(Cs(oUt,t),624)),i||(i=new FTt(t),e==r&&Va(oUt,t,i)),i}n(eL,"YA");function bOt(t){t2();var e;return(t.q?t.q:(de(),de(),b0))._b((Ot(),F2))?e=l(O(t,F2),203):e=l(O(Qi(t),zT),203),e}n(bOt,"zDc");function Zp(t,e){var r,i;return i=null,Tr(t,(Ot(),Nq))&&(r=l(O(t,Nq),96),r.pf(e)&&(i=r.of(e))),i==null&&(i=O(Qi(t),e)),i}n(Zp,"hFc");function gOt(t,e){var r,i,a;return J(e,44)?(r=l(e,44),i=r.ld(),a=Qp(t.Rc(),i),Pu(a,r.md())&&(a!=null||t.Rc()._b(i))):!1}n(gOt,"Ze");function Rh(t,e){var r,i,a;return t.f>0&&(t._j(),i=e==null?0:kr(e),a=(i&nr)%t.d.length,r=het(t,a,i,e),r)?r.md():null}n(Rh,"$Nd");function ds(t,e,r){var i,a,c;return t.Pj()?(i=t.i,c=t.Qj(),aC(t,i,e),a=t.Ij(3,null,e,i,c),r?r.nj(a):r=a):aC(t,t.i,e),r}n(ds,"qLd");function U4e(t,e,r){var i,a;return i=new Y1(t.e,4,10,(a=e.c,J(a,90)?l(a,29):(he(),Mh)),null,Z0(t,e),!1),r?r.nj(i):r=i,r}n(U4e,"f$d");function W4e(t,e,r){var i,a;return i=new Y1(t.e,3,10,null,(a=e.c,J(a,90)?l(a,29):(he(),Mh)),Z0(t,e),!1),r?r.nj(i):r=i,r}n(W4e,"e$d");function pOt(t){Op();var e;return e=new wa(l(t.e.of(($n(),$4)),8)),t.B.Hc((Ec(),Ik))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e}n(pOt,"SMb");function qd(t){qu();var e,r;return r=xn(t),e=xn(Ad(t,32)),e!=0?new TEt(r,e):r>10||r<0?new V1(1,r):mje[r]}n(qd,"jjb");function uC(t,e){var r;return uo(t)&&uo(e)&&(r=t%e,d_=0?c=c.a[1]:(a=c,c=c.a[0])}return a}n(Py,"Pyb");function fC(t,e,r){var i,a,c;for(a=null,c=t.b;c;){if(i=t.a.Ne(e,c.d),r&&i==0)return c;i<=0?c=c.a[0]:(a=c,c=c.a[1])}return a}n(fC,"Qyb");function J4e(t,e,r,i){var a,c,u;return a=!1,nMe(t.f,r,i)&&(v5e(t.f,t.a[e][r],t.a[e][i]),c=t.a[e],u=c[i],c[i]=c[r],c[r]=u,a=!0),a}n(J4e,"rmc");function vOt(t,e,r){var i,a,c,u;for(a=l(He(t.b,r),183),i=0,u=new N(e.j);u.a>5,e&=31,a=t.d+r+(e==0?0:1),i=ht(yn,Pn,28,a,15,1),Y6e(i,t.a,r,e),c=new Df(t.e,a,i),M7(c),c}n(kOt,"qjb");function Z4e(t,e){var r,i,a;for(i=new We(Ve(ri(t).a.Kc(),new et));un(i);)if(r=l(tn(i),18),a=r.d.i,a.c==e)return!1;return!0}n(Z4e,"zGc");function BZ(t,e,r){var i,a,c,u,d;return u=t.k,d=e.k,i=r[u.g][d.g],a=lt(Zp(t,i)),c=lt(Zp(e,i)),v.Math.max((Ie(a),a),(Ie(c),c))}n(BZ,"_Ec");function t5e(){return Error.stackTraceLimit>0?(v.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}n(t5e,"lA");function e5e(t,e){return au(),au(),uh(tb),(v.Math.abs(t-e)<=tb||t==e||isNaN(t)&&isNaN(e)?0:te?1:Yb(isNaN(t),isNaN(e)))>0}n(e5e,"sGb");function MZ(t,e){return au(),au(),uh(tb),(v.Math.abs(t-e)<=tb||t==e||isNaN(t)&&isNaN(e)?0:te?1:Yb(isNaN(t),isNaN(e)))<0}n(MZ,"uGb");function xOt(t,e){return au(),au(),uh(tb),(v.Math.abs(t-e)<=tb||t==e||isNaN(t)&&isNaN(e)?0:te?1:Yb(isNaN(t),isNaN(e)))<=0}n(xOt,"tGb");function _$(t,e){for(var r=0;!e[r]||e[r]=="";)r++;for(var i=e[r++];r0&&this.b>0&&(this.g=bM(this.c,this.b,this.a))}n(LZ,"mad");function n5e(t,e){var r=t.a,i;e=String(e),r.hasOwnProperty(e)&&(i=r[e]);var a=(ZP(),jat)[typeof i],c=a?a(i):qJ(typeof i);return c}n(n5e,"rC");function $y(t){var e,r,i;if(i=null,e=B1 in t.a,r=!e,r)throw R(new Lu("Every element must have an id."));return i=G3(U1(t,B1)),i}n($y,"uDd");function Eg(t){var e,r;for(r=Vjt(t),e=null;t.c==2;)Qn(t),e||(e=(Jn(),Jn(),++Vr,new o7(2)),Zf(e,r),r=e),r.Jm(Vjt(t));return r}n(Eg,"Qqe");function rL(t,e){var r,i,a;return t._j(),i=e==null?0:kr(e),a=(i&nr)%t.d.length,r=het(t,a,i,e),r?(LLt(t,r),r.md()):null}n(rL,"jOd");function AOt(t,e){return t.e>e.e?1:t.ee.d?t.e:t.d=48&&t<48+v.Math.min(10,10)?t-48:t>=97&&t<97?t-97+10:t>=65&&t<65?t-65+10:-1}n(LOt,"dfb");function r5e(t,e){if(e.c==t)return e.d;if(e.d==t)return e.c;throw R(new Le("Input edge is not connected to the input port."))}n(r5e,"UHc");function i5e(t){if(aL(V8,t))return Se(),ek;if(aL(Wit,t))return Se(),sb;throw R(new Le("Expecting true or false"))}n(i5e,"Fae");function _Z(t){switch(typeof t){case znt:return W0(t);case czt:return u3(t);case iv:return hxt(t);default:return t==null?0:Zb(t)}}n(_Z,"jFb");function zu(t,e){if(t.a<0)throw R(new Ga("Did not call before(...) or after(...) before calling add(...)."));return SV(t,t.a,e),t}n(zu,"mfd");function FZ(t){return KM(),J(t,162)?l(He(XF,Cje),295).Rg(t):xs(XF,Nc(t))?l(He(XF,Nc(t)),295).Rg(t):null}n(FZ,"FId");function Bs(t){var e,r;return(t.Db&32)==0&&(r=(e=l(Ae(t,16),29),Ze(e||t.ii())-Ze(t.ii())),r!=0&&z3(t,32,ht(Ai,xe,1,r,5,1))),t}n(Bs,"Wwd");function z3(t,e,r){var i;(t.Db&e)!=0?r==null?zke(t,e):(i=J$(t,e),i==-1?t.Eb=r:Hr(zf(t.Eb),i,r)):r!=null&&hCe(t,e,r)}n(z3,"$wd");function a5e(t,e,r,i){var a,c;e.c.length!=0&&(a=txe(r,i),c=eke(e),Yr(mA(new ne(null,new ce(c,1)),new ubt),new sSt(t,r,a,i)))}n(a5e,"tTc");function o5e(t,e){var r,i,a,c;return i=t.a.length-1,r=e-t.b&i,c=t.c-e&i,a=t.c-t.b&i,axt(r=c?(i3e(t,e),-1):(r3e(t,e),1)}n(o5e,"rmb");function iL(t){var e,r,i;if(i=t.Jh(),!i)for(e=0,r=t.Ph();r;r=r.Ph()){if(++e>prt)return r.Qh();if(i=r.Jh(),i||r==t)break}return i}n(iL,"Hvd");function _Ot(t,e){var r;return ot(e)===ot(t)?!0:!J(e,21)||(r=l(e,21),r.gc()!=t.gc())?!1:t.Ic(r)}n(_Ot,"Ue");function s5e(t,e){return t.ee.e?1:t.fe.f?1:kr(t)-kr(e)}n(s5e,"kNc");function aL(t,e){return Ie(t),e==null?!1:ie(t,e)?!0:t.length==e.length&&ie(t.toLowerCase(),e.toLowerCase())}n(aL,"mhb");function r0(t){var e,r;return Ko(t,-129)>0&&Ko(t,128)<0?(jCt(),e=xn(t)+128,r=gUt[e],!r&&(r=gUt[e]=new VU(t)),r):new VU(t)}n(r0,"Hgb");function Xf(){Xf=tt,cm=new kB(T1,0),AWt=new kB("INSIDE_PORT_SIDE_GROUPS",1),got=new kB("GROUP_MODEL_ORDER",2),pot=new kB(Jzt,3)}n(Xf,"U$b");function c5e(t){var e;return t.b||ese(t,(e=the(t.e,t.a),!e||!ie(Wit,Rh((!e.b&&(e.b=new Ic((he(),Aa),zo,e)),e.b),"qualified")))),t.c}n(c5e,"ufe");function l5e(t,e){var r,i;for(r=(_e(e,t.length),t.charCodeAt(e)),i=e+1;i2e3&&(cje=t,Tz=v.setTimeout(ose,10))),Cz++==0?(x2e((RW(),iUt)),!0):!1}n(x5e,"Sz");function C5e(t,e,r){var i;(Lje?(E4e(t),!0):_je||Oje?(P6(),!0):Fje&&(P6(),!1))&&(i=new Vxt(e),i.b=r,_7e(t,i))}n(C5e,"lBb");function O$(t,e){var r;r=!t.A.Hc((Rc(),cp))||t.q==(Ri(),ys),t.u.Hc((fc(),ud))?r?fAe(t,e):ERt(t,e):t.u.Hc(kb)&&(r?OMe(t,e):zRt(t,e))}n(O$,"oNb");function POt(t){var e;ot(yt(t,($n(),I4)))===ot((t0(),TH))&&(_r(t)?(e=l(yt(_r(t),I4),346),fr(t,I4,e)):fr(t,I4,wS))}n(POt,"Bed");function T5e(t){var e,r;return Tr(t.d.i,(Ot(),mk))?(e=l(O(t.c.i,mk),17),r=l(O(t.d.i,mk),17),Ho(e.a,r.a)>0):!1}n(T5e,"_fc");function $Ot(t,e,r){return new ll(v.Math.min(t.a,e.a)-r/2,v.Math.min(t.b,e.b)-r/2,v.Math.abs(t.a-e.a)+r,v.Math.abs(t.b-e.b)+r)}n($Ot,"g_b");function NOt(t){var e;this.d=new Bt,this.j=new Hi,this.g=new Hi,e=t.g.b,this.f=l(O(Qi(e),(Ot(),Sl)),88),this.e=it(lt(lL(e,vm)))}n(NOt,"_mc");function ROt(t){this.d=new Bt,this.e=new z0,this.c=ht(yn,Pn,28,(At(),H(q(Ma,1),es,64,0,[Fo,Fe,qe,on,je])).length,15,1),this.b=t}n(ROt,"onc");function jZ(t,e,r){var i;switch(i=r[t.g][e],t.g){case 1:case 3:return new xt(0,i);case 2:case 4:return new xt(i,0);default:return null}}n(jZ,"$pc");function zOt(t,e,r){var i,a;a=l(yx(e.f),205);try{a.rf(t,r),WTt(e.f,a)}catch(c){throw c=Dr(c),J(c,103)?(i=c,R(i)):R(c)}}n(zOt,"Ced");function qOt(t,e,r){var i,a,c,u,d,b;return i=null,d=Bnt(gy(),e),c=null,d&&(a=null,b=Snt(d,r),u=null,b!=null&&(u=t.qf(d,b)),a=u,c=a),i=c,i}n(qOt,"tEd");function D$(t,e,r,i){var a;if(a=t.length,e>=a)return a;for(e=e>0?e:0;ei&&Hr(e,i,null),e}n(pu,"anb");function HOt(t,e){var r,i;for(i=t.a.length,e.lengthi&&Hr(e,i,null),e}n(HOt,"lob");function Ny(t,e){var r,i;if(++t.j,e!=null&&(r=(i=t.a.Cb,J(i,99)?l(i,99).th():null),Ake(e,r))){z3(t.a,4,r);return}z3(t.a,4,l(e,129))}n(Ny,"Bde");function S5e(t){var e;if(t==null)return null;if(e=L9e(cs(t,!0)),e==null)throw R(new OD("Invalid hexBinary value: '"+t+"'"));return e}n(S5e,"mne");function oL(t,e,r){var i;e.a.length>0&&(Mt(t.b,new hCt(e.a,r)),i=e.a.length,0i&&(e.a+=u9t(ht(Yl,v1,28,-i,15,1))))}n(oL,"wA");function KOt(t,e,r){var i,a,c;if(!r[e.d])for(r[e.d]=!0,a=new N(Lw(e));a.a=t.b>>1)for(i=t.c,r=t.b;r>e;--r)i=i.b;else for(i=t.a.a,r=0;r=0?t.Wh(a):CN(t,i)):r<0?CN(t,i):l(i,69).wk().Bk(t,t.hi(),r)}n(P$,"Kvd");function VOt(t){var e,r,i;for(i=(!t.o&&(t.o=new Zs((Uo(),x0),cf,t,0)),t.o),r=i.c.Kc();r.e!=r.i.gc();)e=l(r.Yj(),44),e.md();return _x(i)}n(VOt,"Fxd");function Lt(t){var e;if(J(t.a,4)){if(e=FZ(t.a),e==null)throw R(new Ga(LFe+t.b+"'. "+AFe+(H1(YF),YF.k)+hKt));return e}else return t.a}n(Lt,"iGd");function O5e(t,e){var r,i;if(t.j.length!=e.j.length)return!1;for(r=0,i=t.j.length;r=64&&e<128&&(a=jh(a,lh(1,e-64)));return a}n(cL,"vSd");function lL(t,e){var r,i;return i=null,Tr(t,($n(),Iv))&&(r=l(O(t,Iv),96),r.pf(e)&&(i=r.of(e))),i==null&&Qi(t)&&(i=O(Qi(t),e)),i}n(lL,"k2b");function D5e(t,e){var r;return r=l(O(t,(Ot(),co)),75),Dj(e,_Pe)?r?Gc(r):(r=new Vs,wt(t,co,r)):r&&wt(t,co,null),r}n(D5e,"i0b");function n8(){n8=tt,lWt=($n(),RJt),not=vJt,LIe=O4,cWt=of,DIe=(kL(),zUt),OIe=NUt,jIe=HUt,FIe=$Ut,_Ie=(h$(),aWt),eot=BIe,sWt=MIe,jz=AIe}n(n8,"tSb");function hL(t){switch(lG(),this.c=new Bt,this.d=t,t.g){case 0:case 2:this.a=pY(MWt),this.b=Ir;break;case 3:case 1:this.a=MWt,this.b=mi}}n(hL,"PZb");function j5e(t){var e;w3(l(O(t,(Ot(),Jr)),101))&&(e=t.b,IIt((ue(0,e.c.length),l(e.c[0],30))),IIt(l(It(e,e.c.length-1),30)))}n(j5e,"c9b");function I5e(t,e){e.Ug("Self-Loop post-processing",1),Yr(ir(ir(xo(new ne(null,new ce(t.b,16)),new R0t),new z0t),new q0t),new H0t),e.Vg()}n(I5e,"ohc");function XOt(t,e,r){var i,a;if(t.c)Ss(t.c,t.c.i+e),Es(t.c,t.c.j+r);else for(a=new N(t.b);a.a=0&&(r.d=t.t);break;case 3:t.t>=0&&(r.a=t.t)}t.C&&(r.b=t.C.b,r.c=t.C.c)}n(JOt,"GMb");function r8(){r8=tt,_Xt=new $9(vHt,0),Est=new $9(Xrt,1),Bst=new $9("LINEAR_SEGMENTS",2),KT=new $9("BRANDES_KOEPF",3),UT=new $9(iFe,4)}n(r8,"JDc");function i8(){i8=tt,V_=new yB(yR,0),Oz=new yB(Art,1),Dz=new yB(Lrt,2),X_=new yB(_rt,3),V_.a=!1,Oz.a=!0,Dz.a=!1,X_.a=!0}n(i8,"IRb");function q3(){q3=tt,U_=new mB(yR,0),K_=new mB(Art,1),W_=new mB(Lrt,2),G_=new mB(_rt,3),U_.a=!1,K_.a=!0,W_.a=!1,G_.a=!0}n(q3,"IPb");function H3(t,e,r,i){var a;return r>=0?t.Sh(e,r,i):(t.Ph()&&(i=(a=t.Fh(),a>=0?t.Ah(i):t.Ph().Th(t,-1-a,null,i))),t.Ch(e,r,i))}n(H3,"Ivd");function IZ(t,e){switch(e){case 7:!t.e&&(t.e=new pe(ii,t,7,4)),dn(t.e);return;case 8:!t.d&&(t.d=new pe(ii,t,8,5)),dn(t.d);return}CZ(t,e)}n(IZ,"Zyd");function fr(t,e,r){return r==null?(!t.o&&(t.o=new Zs((Uo(),x0),cf,t,0)),rL(t.o,e)):(!t.o&&(t.o=new Zs((Uo(),x0),cf,t,0)),yC(t.o,e,r)),t}n(fr,"Ixd");function ZOt(t,e){de();var r,i,a,c;for(r=t,c=e,J(t,21)&&!J(e,21)&&(r=e,c=t),a=r.Kc();a.Ob();)if(i=a.Pb(),c.Hc(i))return!1;return!0}n(ZOt,"Aob");function z5e(t,e,r,i){return e.ar.b)}n(z5e,"qTc");function N$(t,e){return Oi(t)?!!eje[e]:t.Sm?!!t.Sm[e]:Lp(t)?!!tje[e]:Ap(t)?!!ZDe[e]:!1}n(N$,"QD");function q5e(t){var e;e=t.a;do e=l(tn(new We(Ve(Mi(e).a.Kc(),new et))),18).c.i,e.k==(De(),Di)&&t.b.Fc(e);while(e.k==(De(),Di));t.b=ml(t.b)}n(q5e,"udc");function tDt(t,e){var r,i,a;for(a=t,i=new We(Ve(Mi(e).a.Kc(),new et));un(i);)r=l(tn(i),18),r.c.i.c&&(a=v.Math.max(a,r.c.i.c.p));return a}n(tDt,"UGc");function H5e(t,e){var r,i,a;for(a=0,i=l(l(cr(t.r,e),21),87).Kc();i.Ob();)r=l(i.Pb(),117),a+=r.d.d+r.b.Mf().b+r.d.a,i.Ob()&&(a+=t.w);return a}n(H5e,"INb");function K5e(t,e){var r,i,a;for(a=0,i=l(l(cr(t.r,e),21),87).Kc();i.Ob();)r=l(i.Pb(),117),a+=r.d.b+r.b.Mf().a+r.d.c,i.Ob()&&(a+=t.w);return a}n(K5e,"AMb");function eDt(t){var e,r,i,a;if(i=0,a=s2(t),a.c.length==0)return 1;for(r=new N(a);r.a=0?t.Lh(u,r,!0):Lg(t,c,r)):l(c,69).wk().yk(t,t.hi(),a,r,i)}n(uL,"Dvd");function V5e(t,e,r,i){var a,c;c=e.pf(($n(),P4))?l(e.of(P4),21):t.j,a=F3e(c),a!=(r_(),Qat)&&(r&&!AZ(a)||ztt(_9e(t,a,i),e))}n(V5e,"aNb");function X5e(t){switch(t.g){case 1:return xg(),H_;case 3:return xg(),q_;case 2:return xg(),Zat;case 4:return xg(),Jat;default:return null}}n(X5e,"Y6b");function Y5e(t,e,r){if(t.e)switch(t.b){case 1:Rde(t.c,e,r);break;case 0:zde(t.c,e,r)}else xBt(t.c,e,r);t.a[e.p][r.p]=t.c.i,t.a[r.p][e.p]=t.c.e}n(Y5e,"kmc");function nDt(t){var e,r;if(t==null)return null;for(r=ht(p0,Tt,199,t.length,0,2),e=0;e=0)return a;if(t.ol()){for(i=0;i=a)throw R(new jp(e,a));if(t.Si()&&(i=t.dd(r),i>=0&&i!=e))throw R(new Le(O_));return t.Xi(e,r)}n(Ow,"eHd");function PZ(t,e){if(this.a=l(Cn(t),253),this.b=l(Cn(e),253),t.Ed(e)>0||t==(ED(),Mat)||e==(BD(),Aat))throw R(new Le("Invalid range: "+SBt(t,e)))}n(PZ,"wx");function rDt(t){var e,r;for(this.b=new Bt,this.c=t,this.a=!1,r=new N(t.a);r.a0),(e&-e)==e)return xi(e*Sc(t,31)*4656612873077393e-25);do r=Sc(t,31),i=r%e;while(r-i+(e-1)<0);return xi(i)}n(bL,"Jwb");function nye(t,e,r){switch(r.g){case 1:t.a=e.a/2,t.b=0;break;case 2:t.a=e.a,t.b=e.b/2;break;case 3:t.a=e.a/2,t.b=e.b;break;case 4:t.a=0,t.b=e.b/2}}n(nye,"d2b");function bC(t,e,r,i){var a,c;for(a=e;a1&&(c=J5e(t,e)),c}n(rye,"AIb");function oDt(t){var e;return e=it(lt(yt(t,($n(),IF))))*v.Math.sqrt((!t.a&&(t.a=new pt(Vn,t,10,11)),t.a).i),new xt(e,e/it(lt(yt(t,xH))))}n(oDt,"yqd");function z$(t){var e;return t.f&&t.f.Vh()&&(e=l(t.f,54),t.f=l(Rd(t,e),84),t.f!=e&&(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,9,8,e,t.f))),t.f}n(z$,"Dzd");function q$(t){var e;return t.i&&t.i.Vh()&&(e=l(t.i,54),t.i=l(Rd(t,e),84),t.i!=e&&(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,9,7,e,t.i))),t.i}n(q$,"Ezd");function Sa(t){var e;return t.b&&(t.b.Db&64)!=0&&(e=t.b,t.b=l(Rd(t,e),19),t.b!=e&&(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,9,21,e,t.b))),t.b}n(Sa,"Z5d");function gL(t,e){var r,i,a;t.d==null?(++t.e,++t.f):(i=e.Bi(),Sxe(t,t.f+1),a=(i&nr)%t.d.length,r=t.d[a],!r&&(r=t.d[a]=t.dk()),r.Fc(e),++t.f)}n(gL,"UNd");function RZ(t,e,r){var i;return e.tk()?!1:e.Ik()!=-2?(i=e.ik(),i==null?r==null:er(i,r)):e.qk()==t.e.Dh()&&r==null}n(RZ,"Mge");function pL(){var t;Jc(16,FLe),t=KLt(16),this.b=ht(_at,l_,303,t,0,1),this.c=ht(_at,l_,303,t,0,1),this.a=null,this.e=null,this.i=0,this.f=t-1,this.g=0}n(pL,"Io");function i0(t){WV.call(this),this.k=(De(),ei),this.j=(Jc(6,Xw),new hs(6)),this.b=(Jc(2,Xw),new hs(2)),this.d=new kD,this.f=new MW,this.a=t}n(i0,"j3b");function iye(t){var e,r;t.c.length<=1||(e=h$t(t,(At(),on)),Qjt(t,l(e.a,17).a,l(e.b,17).a),r=h$t(t,je),Qjt(t,l(r.a,17).a,l(r.b,17).a))}n(iye,"wgc");function aye(t,e,r){var i,a;for(a=t.a.b,i=a.c.length;i102?-1:t<=57?t-48:t<65?-1:t<=70?t-65+10:t<97?-1:t-97+10}n(Yf,"Xqe");function G$(t,e){if(t==null)throw R(new r3("null key in entry: null="+e));if(e==null)throw R(new r3("null value in entry: "+t+"=null"))}n(G$,"ck");function cye(t,e){for(var r,i;t.Ob();)if(!e.Ob()||(r=t.Pb(),i=e.Pb(),!(ot(r)===ot(i)||r!=null&&er(r,i))))return!1;return!e.Ob()}n(cye,"Cr");function lDt(t,e){var r;return r=H(q(qi,1),Ja,28,15,[d$(t.a[0],e),d$(t.a[1],e),d$(t.a[2],e)]),t.d&&(r[0]=v.Math.max(r[0],r[2]),r[2]=r[0]),r}n(lDt,"aLb");function hDt(t,e){var r;return r=H(q(qi,1),Ja,28,15,[KA(t.a[0],e),KA(t.a[1],e),KA(t.a[2],e)]),t.d&&(r[0]=v.Math.max(r[0],r[2]),r[2]=r[0]),r}n(hDt,"bLb");function qZ(t,e,r){w3(l(O(e,(Ot(),Jr)),101))||(nQ(t,e,td(e,r)),nQ(t,e,td(e,(At(),on))),nQ(t,e,td(e,Fe)),de(),ai(e.j,new g5t(t)))}n(qZ,"vIc");function uDt(t){var e,r;for(t.c||MBe(t),r=new Vs,e=new N(t.a),P(e);e.a0&&(_e(0,e.length),e.charCodeAt(0)==43)?(_e(1,e.length+1),e.substr(1)):e))}n(kye,"pne");function xye(t){var e;return t==null?null:new Bd((e=cs(t,!0),e.length>0&&(_e(0,e.length),e.charCodeAt(0)==43)?(_e(1,e.length+1),e.substr(1)):e))}n(xye,"qne");function KZ(t,e,r,i,a,c,u,d){var b,w;i&&(b=i.a[0],b&&KZ(t,e,r,b,a,c,u,d),nN(t,r,i.d,a,c,u,d)&&e.Fc(i),w=i.a[1],w&&KZ(t,e,r,w,a,c,u,d))}n(KZ,"Syb");function Dw(t,e,r){try{return Xb(PP(t,e,r),1)}catch(i){throw i=Dr(i),J(i,333)?R(new Wa(Frt+t.o+"*"+t.p+Ort+e+ka+r+Drt)):R(i)}}n(Dw,"PPb");function pDt(t,e,r){try{return Xb(PP(t,e,r),0)}catch(i){throw i=Dr(i),J(i,333)?R(new Wa(Frt+t.o+"*"+t.p+Ort+e+ka+r+Drt)):R(i)}}n(pDt,"QPb");function wDt(t,e,r){try{return Xb(PP(t,e,r),2)}catch(i){throw i=Dr(i),J(i,333)?R(new Wa(Frt+t.o+"*"+t.p+Ort+e+ka+r+Drt)):R(i)}}n(wDt,"RPb");function mDt(t,e){if(t.g==-1)throw R(new Gs);t.Xj();try{t.d.hd(t.g,e),t.f=t.d.j}catch(r){throw r=Dr(r),J(r,77)?R(new al):R(r)}}n(mDt,"lMd");function Cye(t){var e,r,i,a,c;for(i=new N(t.b);i.ac&&Hr(e,c,null),e}n(a8,"Ee");function Tye(t,e){var r,i;if(i=t.gc(),e==null){for(r=0;r0&&(b+=a),w[m]=u,u+=d*(b+i)}n(Q$,"Ypc");function vDt(t){var e,r,i;for(i=t.f,t.n=ht(qi,Ja,28,i,15,1),t.d=ht(qi,Ja,28,i,15,1),e=0;e0?t.c:0),++a;t.b=i,t.d=c}n(mL,"gad");function SDt(t,e){var r;return r=H(q(qi,1),Ja,28,15,[NZ(t,(Nh(),$o),e),NZ(t,As,e),NZ(t,No,e)]),t.f&&(r[0]=v.Math.max(r[0],r[2]),r[2]=r[0]),r}n(SDt,"rKb");function Fye(t,e,r){var i;try{UL(t,e+t.j,r+t.k,!1,!0)}catch(a){throw a=Dr(a),J(a,77)?(i=a,R(new Wa(i.g+kR+e+ka+r+")."))):R(a)}}n(Fye,"cQb");function Oye(t,e,r){var i;try{UL(t,e+t.j,r+t.k,!0,!1)}catch(a){throw a=Dr(a),J(a,77)?(i=a,R(new Wa(i.g+kR+e+ka+r+")."))):R(a)}}n(Oye,"dQb");function EDt(t){var e;Tr(t,(Ot(),_2))&&(e=l(O(t,_2),21),e.Hc((o2(),Vh))?(e.Mc(Vh),e.Fc(Xh)):e.Hc(Xh)&&(e.Mc(Xh),e.Fc(Vh)))}n(EDt,"u8b");function BDt(t){var e;Tr(t,(Ot(),_2))&&(e=l(O(t,_2),21),e.Hc((o2(),Qh))?(e.Mc(Qh),e.Fc(Ch)):e.Hc(Ch)&&(e.Mc(Ch),e.Fc(Qh)))}n(BDt,"v8b");function Z$(t,e,r,i){var a,c,u,d;return t.a==null&&j7e(t,e),u=e.b.j.c.length,c=r.d.p,d=i.d.p,a=d-1,a<0&&(a=u-1),c<=a?t.a[a]-t.a[c]:t.a[u-1]-t.a[c]+t.a[a]}n(Z$,"oqc");function Dye(t){var e,r;if(!t.b)for(t.b=VM(l(t.f,27).kh().i),r=new ze(l(t.f,27).kh());r.e!=r.i.gc();)e=l(Xe(r),135),Mt(t.b,new LD(e));return t.b}n(Dye,"Cud");function jye(t){var e,r;if(!t.e)for(t.e=VM(_I(l(t.f,27)).i),r=new ze(_I(l(t.f,27)));r.e!=r.i.gc();)e=l(Xe(r),123),Mt(t.e,new yyt(e));return t.e}n(jye,"Dud");function MDt(t){var e,r;if(!t.a)for(t.a=VM(IM(l(t.f,27)).i),r=new ze(IM(l(t.f,27)));r.e!=r.i.gc();)e=l(Xe(r),27),Mt(t.a,new $j(t,e));return t.a}n(MDt,"yud");function Mg(t){var e;if(!t.C&&(t.D!=null||t.B!=null))if(e=CMe(t),e)t.hl(e);else try{t.hl(null)}catch(r){if(r=Dr(r),!J(r,63))throw R(r)}return t.C}n(Mg,"DXd");function Iye(t){switch(t.q.g){case 5:JDt(t,(At(),Fe)),JDt(t,on);break;case 4:tRt(t,(At(),Fe)),tRt(t,on);break;default:rIt(t,(At(),Fe)),rIt(t,on)}}n(Iye,"xMb");function Pye(t){switch(t.q.g){case 5:ZDt(t,(At(),qe)),ZDt(t,je);break;case 4:eRt(t,(At(),qe)),eRt(t,je);break;default:iIt(t,(At(),qe)),iIt(t,je)}}n(Pye,"GNb");function jw(t,e){var r,i,a;for(a=new Hi,i=t.Kc();i.Ob();)r=l(i.Pb(),36),Qy(r,a.a,0),a.a+=r.f.a+e,a.b=v.Math.max(a.b,r.f.b);return a.b>0&&(a.b+=e),a}n(jw,"G$b");function yL(t,e){var r,i,a;for(a=new Hi,i=t.Kc();i.Ob();)r=l(i.Pb(),36),Qy(r,0,a.b),a.b+=r.f.b+e,a.a=v.Math.max(a.a,r.f.a);return a.a>0&&(a.a+=e),a}n(yL,"I$b");function ADt(t){var e,r,i;for(i=nr,r=new N(t.a);r.a>16==6?t.Cb.Th(t,5,Tu,e):(i=Sa(l(we((r=l(Ae(t,16),29),r||t.ii()),t.Db>>16),19)),t.Cb.Th(t,i.n,i.f,e))}n(tN,"AXd");function $ye(t){ty();var e=t.e;if(e&&e.stack){var r=e.stack,i=e+` +`;return r.substring(0,i.length)==i&&(r=r.substring(i.length)),r.split(` +`)}return[]}n($ye,"kA");function Nye(t){var e;return e=(OLt(),fje),e[t>>>28]|e[t>>24&15]<<4|e[t>>20&15]<<8|e[t>>16&15]<<12|e[t>>12&15]<<16|e[t>>8&15]<<20|e[t>>4&15]<<24|e[t&15]<<28}n(Nye,"pgb");function FDt(t){var e,r,i;t.b==t.c&&(i=t.a.length,r=TJ(v.Math.max(8,i))<<1,t.b!=0?(e=sh(t.a,r),VLt(t,e,i),t.a=e,t.b=0):Tp(t.a,r),t.c=i)}n(FDt,"mmb");function Rye(t,e){var r;return r=t.b,r.pf(($n(),Kc))?r.ag()==(At(),je)?-r.Mf().a-it(lt(r.of(Kc))):e+it(lt(r.of(Kc))):r.ag()==(At(),je)?-r.Mf().a:e}n(Rye,"uNb");function pC(t){var e;return t.b.c.length!=0&&l(It(t.b,0),72).a?l(It(t.b,0),72).a:(e=FI(t),e??""+(t.c?io(t.c.a,t,0):-1))}n(pC,"X2b");function vL(t){var e;return t.f.c.length!=0&&l(It(t.f,0),72).a?l(It(t.f,0),72).a:(e=FI(t),e??""+(t.i?io(t.i.j,t,0):-1))}n(vL,"M3b");function zye(t,e){var r,i;if(e<0||e>=t.gc())return null;for(r=e;r0?t.c:0),a=v.Math.max(a,e.d),++i;t.e=c,t.b=a}n(GZ,"Ead");function Hye(t){var e,r;if(!t.b)for(t.b=VM(l(t.f,123).kh().i),r=new ze(l(t.f,123).kh());r.e!=r.i.gc();)e=l(Xe(r),135),Mt(t.b,new LD(e));return t.b}n(Hye,"Qud");function Kye(t,e){var r,i,a;if(e.dc())return z5(),z5(),QF;for(r=new gxt(t,e.gc()),a=new ze(t);a.e!=a.i.gc();)i=Xe(a),e.Hc(i)&&bn(r,i);return r}n(Kye,"aHd");function VZ(t,e,r,i){return e==0?i?(!t.o&&(t.o=new Zs((Uo(),x0),cf,t,0)),t.o):(!t.o&&(t.o=new Zs((Uo(),x0),cf,t,0)),_x(t.o)):uL(t,e,r,i)}n(VZ,"Axd");function eN(t){var e,r;if(t.rb)for(e=0,r=t.rb.i;e>22),a+=i>>22,a<0)?!1:(t.l=r&zc,t.m=i&zc,t.h=a&id,!0)}n(Gye,"rD");function nN(t,e,r,i,a,c,u){var d,b;return!(e.Te()&&(b=t.a.Ne(r,i),b<0||!a&&b==0)||e.Ue()&&(d=t.a.Ne(r,c),d>0||!u&&d==0))}n(nN,"Tyb");function Vye(t,e){My();var r;if(r=t.j.g-e.j.g,r!=0)return 0;switch(t.j.g){case 2:return x$(e,kGt)-x$(t,kGt);case 4:return x$(t,vGt)-x$(e,vGt)}return 0}n(Vye,"Agc");function Xye(t){switch(t.g){case 0:return Not;case 1:return Rot;case 2:return zot;case 3:return qot;case 4:return bq;case 5:return Hot;default:return null}}n(Xye,"uuc");function Qa(t,e,r){var i,a;return i=(a=new TD,Vf(a,e),us(a,r),bn((!t.c&&(t.c=new pt(R2,t,12,10)),t.c),a),a),U0(i,0),Vp(i,1),Y0(i,!0),X0(i,!0),i}n(Qa,"cBd");function K3(t,e){var r,i;if(e>=t.i)throw R(new Sj(e,t.i));return++t.j,r=t.g[e],i=t.i-e-1,i>0&&ts(t.g,e+1,t.g,e,i),Hr(t.g,--t.i,null),t.Qi(e,r),t.Ni(),r}n(K3,"THd");function ODt(t,e){var r,i;return t.Db>>16==17?t.Cb.Th(t,21,Sh,e):(i=Sa(l(we((r=l(Ae(t,16),29),r||t.ii()),t.Db>>16),19)),t.Cb.Th(t,i.n,i.f,e))}n(ODt,"sWd");function Yye(t){var e,r,i,a;for(de(),ai(t.c,t.a),a=new N(t.c);a.ar.a.c.length))throw R(new Le("index must be >= 0 and <= layer node count"));t.c&&$s(t.c.a,t),t.c=r,r&&ng(r.a,e,t)}n(e2,"f3b");function $Dt(t,e){var r,i,a;for(i=new We(Ve(n0(t).a.Kc(),new et));un(i);)return r=l(tn(i),18),a=l(e.Kb(r),10),new jE(Cn(a.n.b+a.o.b/2));return L6(),L6(),Bat}n($Dt,"Gac");function NDt(t,e){this.c=new sn,this.a=t,this.b=e,this.d=l(O(t,(Ct(),v4)),312),ot(O(t,(Ot(),aXt)))===ot((jx(),gq))?this.e=new Ovt:this.e=new Fvt}n(NDt,"RQc");function o8(t,e){var r,i;return i=null,t.pf(($n(),Iv))&&(r=l(t.of(Iv),96),r.pf(e)&&(i=r.of(e))),i==null&&t.Tf()&&(i=t.Tf().of(e)),i==null&&(i=Lt(e)),i}n(o8,"ftd");function rN(t,e){var r,i;r=t.fd(e);try{return i=r.Pb(),r.Qb(),i}catch(a){throw a=Dr(a),J(a,112)?R(new Wa("Can't remove element "+e)):R(a)}}n(rN,"ku");function ive(t,e){var r,i,a;if(i=new aB,a=new BJ(i.q.getFullYear()-eb,i.q.getMonth(),i.q.getDate()),r=pEe(t,e,a),r==0||r0?e:0),++r;return new xt(i,a)}n(zDt,"zad");function ZZ(t,e){var r,i;return t.Db>>16==6?t.Cb.Th(t,6,ii,e):(i=Sa(l(we((r=l(Ae(t,16),29),r||(Uo(),FH)),t.Db>>16),19)),t.Cb.Th(t,i.n,i.f,e))}n(ZZ,"Czd");function ttt(t,e){var r,i;return t.Db>>16==7?t.Cb.Th(t,1,WF,e):(i=Sa(l(we((r=l(Ae(t,16),29),r||(Uo(),EZt)),t.Db>>16),19)),t.Cb.Th(t,i.n,i.f,e))}n(ttt,"cCd");function ett(t,e){var r,i;return t.Db>>16==9?t.Cb.Th(t,9,Vn,e):(i=Sa(l(we((r=l(Ae(t,16),29),r||(Uo(),MZt)),t.Db>>16),19)),t.Cb.Th(t,i.n,i.f,e))}n(ett,"LCd");function qDt(t,e){var r,i;return t.Db>>16==5?t.Cb.Th(t,9,zH,e):(i=Sa(l(we((r=l(Ae(t,16),29),r||(he(),hf)),t.Db>>16),19)),t.Cb.Th(t,i.n,i.f,e))}n(qDt,"M1d");function HDt(t,e){var r,i;return t.Db>>16==7?t.Cb.Th(t,6,Tu,e):(i=Sa(l(we((r=l(Ae(t,16),29),r||(he(),df)),t.Db>>16),19)),t.Cb.Th(t,i.n,i.f,e))}n(HDt,"qBd");function ntt(t,e){var r,i;return t.Db>>16==3?t.Cb.Th(t,0,VF,e):(i=Sa(l(we((r=l(Ae(t,16),29),r||(he(),lf)),t.Db>>16),19)),t.Cb.Th(t,i.n,i.f,e))}n(ntt,"iVd");function KDt(){this.a=new Gpt,this.g=new pL,this.j=new pL,this.b=new sn,this.d=new pL,this.i=new pL,this.k=new sn,this.c=new sn,this.e=new sn,this.f=new sn}n(KDt,"IEd");function sve(t,e,r){var i,a,c;for(r<0&&(r=0),c=t.i,a=r;aprt)return zy(t,i);if(i==t)return!0}}return!1}n(zy,"Oje");function lve(t){switch(XB(),t.q.g){case 5:EIt(t,(At(),Fe)),EIt(t,on);break;case 4:BPt(t,(At(),Fe)),BPt(t,on);break;default:LRt(t,(At(),Fe)),LRt(t,on)}}n(lve,"yNb");function hve(t){switch(XB(),t.q.g){case 5:UIt(t,(At(),qe)),UIt(t,je);break;case 4:YOt(t,(At(),qe)),YOt(t,je);break;default:_Rt(t,(At(),qe)),_Rt(t,je)}}n(hve,"CNb");function uve(t){var e,r;e=l(O(t,(gh(),JIe)),17),e?(r=e.a,r==0?wt(t,(Id(),Rz),new E$):wt(t,(Id(),Rz),new JM(r))):wt(t,(Id(),Rz),new JM(1))}n(uve,"RTb");function dve(t,e){var r;switch(r=t.i,e.g){case 1:return-(t.n.b+t.o.b);case 2:return t.n.a-r.o.a;case 3:return t.n.b-r.o.b;case 4:return-(t.n.a+t.o.a)}return 0}n(dve,"b2b");function fve(t,e){switch(t.g){case 0:return e==(yl(),db)?oq:sq;case 1:return e==(yl(),db)?oq:tF;case 2:return e==(yl(),db)?tF:sq;default:return tF}}n(fve,"wec");function mC(t,e){var r,i,a;for($s(t.a,e),t.e-=e.r+(t.a.c.length==0?0:t.c),a=OHt,i=new N(t.a);i.a>16==3?t.Cb.Th(t,12,Vn,e):(i=Sa(l(we((r=l(Ae(t,16),29),r||(Uo(),SZt)),t.Db>>16),19)),t.Cb.Th(t,i.n,i.f,e))}n(rtt,"jzd");function itt(t,e){var r,i;return t.Db>>16==11?t.Cb.Th(t,10,Vn,e):(i=Sa(l(we((r=l(Ae(t,16),29),r||(Uo(),BZt)),t.Db>>16),19)),t.Cb.Th(t,i.n,i.f,e))}n(itt,"sCd");function UDt(t,e){var r,i;return t.Db>>16==10?t.Cb.Th(t,11,Sh,e):(i=Sa(l(we((r=l(Ae(t,16),29),r||(he(),uf)),t.Db>>16),19)),t.Cb.Th(t,i.n,i.f,e))}n(UDt,"n4d");function WDt(t,e){var r,i;return t.Db>>16==10?t.Cb.Th(t,12,Eh,e):(i=Sa(l(we((r=l(Ae(t,16),29),r||(he(),Dm)),t.Db>>16),19)),t.Cb.Th(t,i.n,i.f,e))}n(WDt,"Q5d");function Rl(t){var e;return(t.Bb&1)==0&&t.r&&t.r.Vh()&&(e=l(t.r,54),t.r=l(Rd(t,e),142),t.r!=e&&(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,9,8,e,t.r))),t.r}n(Rl,"WVd");function iN(t,e,r){var i;return i=H(q(qi,1),Ja,28,15,[Ltt(t,(Nh(),$o),e,r),Ltt(t,As,e,r),Ltt(t,No,e,r)]),t.f&&(i[0]=v.Math.max(i[0],i[2]),i[2]=i[0]),i}n(iN,"pKb");function bve(t,e){var r,i,a;if(a=$5e(t,e),a.c.length!=0)for(ai(a,new s0t),r=a.c.length,i=0;i>19,w=e.h>>19,b!=w?w-b:(a=t.h,d=e.h,a!=d?a-d:(i=t.m,u=e.m,i!=u?i-u:(r=t.l,c=e.l,r-c)))}n(att,"uD");function kL(){kL=tt,KUt=(HL(),Xat),HUt=new ee(Ezt,KUt),qUt=(bA(),Vat),zUt=new ee(Bzt,qUt),RUt=(sL(),Gat),NUt=new ee(Mzt,RUt),$Ut=new ee(Azt,(Se(),!0))}n(kL,"YHb");function s8(t,e,r){var i,a;i=e*r,J(t.g,154)?(a=L3(t),a.f.d?a.f.a||(t.d.a+=i+Uu):(t.d.d-=i+Uu,t.d.a+=i+Uu)):J(t.g,10)&&(t.d.d-=i,t.d.a+=2*i)}n(s8,"Iic");function GDt(t,e,r){var i,a,c,u,d;for(a=t[r.g],d=new N(e.d);d.a0?t.b:0),++r;e.b=i,e.e=a}n(vve,"k9c");function VDt(t){var e,r,i;if(i=t.b,$7t(t.i,i.length)){for(r=i.length*2,t.b=ht(_at,l_,303,r,0,1),t.c=ht(_at,l_,303,r,0,1),t.f=r-1,t.i=0,e=t.a;e;e=e.c)BC(t,e,e);++t.g}}n(VDt,"Fo");function kve(t,e,r,i){var a,c,u,d;for(a=0;au&&(d=u/i),a>c&&(b=c/a),Du(t,v.Math.min(d,b)),t}n(qy,"wid");function Cve(){XL();var t,e;try{if(e=l(gtt((Td(),Bh),Y8),2113),e)return e}catch(r){if(r=Dr(r),J(r,103))t=r,iY((Sn(),t));else throw R(r)}return new Hpt}n(Cve,"OAd");function Tve(){XL();var t,e;try{if(e=l(gtt((Td(),Bh),mh),2040),e)return e}catch(r){if(r=Dr(r),J(r,103))t=r,iY((Sn(),t));else throw R(r)}return new p2t}n(Tve,"Qae");function Sve(){iAt();var t,e;try{if(e=l(gtt((Td(),Bh),Ug),2122),e)return e}catch(r){if(r=Dr(r),J(r,103))t=r,iY((Sn(),t));else throw R(r)}return new lwt}n(Sve,"vne");function Eve(t,e,r){var i,a;return a=t.e,t.e=e,(t.Db&4)!=0&&(t.Db&1)==0&&(i=new _i(t,1,4,a,e),r?r.nj(i):r=i),a!=e&&(e?r=rv(t,DL(t,e),r):r=rv(t,t.a,r)),r}n(Eve,"f2d");function XDt(){aB.call(this),this.e=-1,this.a=!1,this.p=da,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=da}n(XDt,"DB");function Bve(t,e){var r,i,a;if(i=t.b.d.d,t.a||(i+=t.b.d.a),a=e.b.d.d,e.a||(a+=e.b.d.a),r=pr(i,a),r==0){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return r}n(Bve,"hHb");function Mve(t,e){var r,i,a;if(i=t.b.b.d,t.a||(i+=t.b.b.a),a=e.b.b.d,e.a||(a+=e.b.b.a),r=pr(i,a),r==0){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return r}n(Mve,"XQb");function Ave(t,e){var r,i,a;if(i=t.b.g.d,t.a||(i+=t.b.g.a),a=e.b.g.d,e.a||(a+=e.b.g.a),r=pr(i,a),r==0){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return r}n(Ave,"RYb");function ott(){ott=tt,pPe=Js(In(In(In(new li,(na(),ps),(ua(),oGt)),ps,sGt),go,cGt),go,XWt),mPe=In(In(new li,ps,qWt),ps,YWt),wPe=Js(new li,go,JWt)}n(ott,"_Wb");function Lve(t){var e,r,i,a,c;for(e=l(O(t,(Ct(),DT)),85),c=t.n,i=e.Cc().Kc();i.Ob();)r=l(i.Pb(),314),a=r.i,a.c+=c.a,a.d+=c.b,r.c?b$t(r):g$t(r);wt(t,DT,null)}n(Lve,"J6b");function _ve(t,e,r){var i,a;switch(a=t.b,i=a.d,e.g){case 1:return-i.d-r;case 2:return a.o.a+i.c+r;case 3:return a.o.b+i.a+r;case 4:return-i.b-r;default:return-1}}n(_ve,"Wpc");function Fve(t,e,r){var i,a;for(r.Ug("Interactive node placement",1),t.a=l(O(e,(Ct(),v4)),312),a=new N(e.b);a.a0&&(u=(c&nr)%t.d.length,a=het(t,u,c,e),a)?(d=a.nd(r),d):(i=t.ck(c,e,r),t.c.Fc(i),null)}n(yC,"fOd");function ltt(t,e){var r,i,a,c;switch(V0(t,e).Kl()){case 3:case 2:{for(r=Kw(e),a=0,c=r.i;a=0;i--)if(ie(t[i].d,e)||ie(t[i].d,r)){t.length>=i+1&&t.splice(0,i+1);break}return t}n(Uve,"hA");function vC(t,e){var r;return uo(t)&&uo(e)&&(r=t/e,d_0&&(t.b+=2,t.a+=i):(t.b+=1,t.a+=v.Math.min(i,a))}n(oN,"uTc");function njt(t){var e;e=l(O(l(vl(t.b,0),40),(Lo(),BYt)),107),wt(t,(yr(),Ek),new xt(0,0)),G$t(new Ax,t,e.b+e.c-it(lt(O(t,Kst))),e.d+e.a-it(lt(O(t,Ust))))}n(njt,"CVc");function rjt(t,e){var r,i;if(i=!1,Oi(e)&&(i=!0,T3(t,new $p(En(e)))),i||J(e,242)&&(i=!0,T3(t,(r=rX(l(e,242)),new IE(r)))),!i)throw R(new FD(AKt))}n(rjt,"pDd");function Xve(t,e,r,i){var a,c,u;return a=new Y1(t.e,1,10,(u=e.c,J(u,90)?l(u,29):(he(),Mh)),(c=r.c,J(c,90)?l(c,29):(he(),Mh)),Z0(t,e),!1),i?i.nj(a):i=a,i}n(Xve,"g$d");function dtt(t){var e,r;switch(l(O(Qi(t),(Ot(),JVt)),429).g){case 0:return e=t.n,r=t.o,new xt(e.a+r.a/2,e.b+r.b/2);case 1:return new wa(t.n);default:return null}}n(dtt,"_2b");function kC(){kC=tt,pq=new X6(T1,0),PGt=new X6("LEFTUP",1),NGt=new X6("RIGHTUP",2),IGt=new X6("LEFTDOWN",3),$Gt=new X6("RIGHTDOWN",4),Kot=new X6("BALANCED",5)}n(kC,"Ouc");function Yve(t,e,r){var i,a,c;if(i=pr(t.a[e.p],t.a[r.p]),i==0){if(a=l(O(e,(Ct(),Bv)),15),c=l(O(r,Bv),15),a.Hc(r))return-1;if(c.Hc(e))return 1}return i}n(Yve,"dKc");function Qve(t){switch(t.g){case 1:return new Cgt;case 2:return new Tgt;case 3:return new xgt;case 0:return null;default:throw R(new Le(Fit+(t.f!=null?t.f:""+t.g)))}}n(Qve,"k5c");function ftt(t,e,r){switch(e){case 1:!t.n&&(t.n=new pt(Za,t,1,7)),dn(t.n),!t.n&&(t.n=new pt(Za,t,1,7)),Wr(t.n,l(r,16));return;case 2:py(t,En(r));return}OJ(t,e,r)}n(ftt,"gyd");function btt(t,e,r){switch(e){case 3:wg(t,it(lt(r)));return;case 4:mg(t,it(lt(r)));return;case 5:Ss(t,it(lt(r)));return;case 6:Es(t,it(lt(r)));return}ftt(t,e,r)}n(btt,"xyd");function xL(t,e,r){var i,a,c;c=(i=new TD,i),a=wu(c,e,null),a&&a.oj(),us(c,r),bn((!t.c&&(t.c=new pt(R2,t,12,10)),t.c),c),U0(c,0),Vp(c,1),Y0(c,!0),X0(c,!0)}n(xL,"dBd");function gtt(t,e){var r,i,a;return r=K6(t.i,e),J(r,241)?(a=l(r,241),a.zi()==null,a.wi()):J(r,507)?(i=l(r,2037),a=i.b,a):null}n(gtt,"M5d");function Jve(t,e,r,i){var a,c;return Cn(e),Cn(r),c=l(f7(t.d,e),17),LAt(!!c,"Row %s not in %s",e,t.e),a=l(f7(t.b,r),17),LAt(!!a,"Column %s not in %s",r,t.c),z_t(t,c.a,a.a,i)}n(Jve,"aj");function ijt(t,e,r,i,a,c,u){var d,b,w,m,x;if(m=a[c],w=c==u-1,d=w?i:0,x=CDt(d,m),i!=10&&H(q(t,u-c),e[c],r[c],d,x),!w)for(++c,b=0;b1||d==-1?(c=l(b,15),a.Wb(j4e(t,c))):a.Wb(HN(t,l(b,58)))))}n(i6e,"Vje");function a6e(t,e,r,i){f7t();var a=Eat;M=e,L=r,Ssn=i;function c(){for(var u=0;u0)return!1;return!0}n(s6e,"b6b");function c6e(t){var e,r,i,a,c;for(i=new Kf(new Ef(t.b).a);i.b;)r=kg(i),e=l(r.ld(),10),c=l(l(r.md(),42).a,10),a=l(l(r.md(),42).b,8),Zn(Oh(e.n),Zn(Xi(c.n),a))}n(c6e,"okc");function l6e(t){switch(l(O(t.b,(Ot(),UVt)),387).g){case 1:Yr(no(xo(new ne(null,new ce(t.d,16)),new Zdt),new tft),new eft);break;case 2:iTe(t);break;case 0:I8e(t)}}n(l6e,"Roc");function h6e(t,e,r){var i,a,c;for(i=r,!i&&(i=new e3),i.Ug("Layout",t.a.c.length),c=new N(t.a);c.aMit)return r;a>-1e-6&&++r}return r}n(f6e,"tUc");function wtt(t,e){var r;e!=t.b?(r=null,t.b&&(r=RM(t.b,t,-4,r)),e&&(r=H3(e,t,-4,r)),r=DFt(t,e,r),r&&r.oj()):(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,3,e,e))}n(wtt,"n2d");function sjt(t,e){var r;e!=t.f?(r=null,t.f&&(r=RM(t.f,t,-1,r)),e&&(r=H3(e,t,-1,r)),r=OFt(t,e,r),r&&r.oj()):(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,0,e,e))}n(sjt,"q2d");function b6e(t,e,r,i){var a,c,u,d;return Dc(t.e)&&(a=e.Lk(),d=e.md(),c=r.md(),u=Od(t,1,a,d,c,a.Jk()?tv(t,a,c,J(a,102)&&(l(a,19).Bb&Ea)!=0):-1,!0),i?i.nj(u):i=u),i}n(b6e,"Lge");function cjt(t){var e,r,i;if(t==null)return null;if(r=l(t,15),r.dc())return"";for(i=new F0,e=r.Kc();e.Ob();)Ia(i,(gr(),En(e.Pb()))),i.a+=" ";return Bj(i,i.a.length-1)}n(cjt,"bne");function ljt(t){var e,r,i;if(t==null)return null;if(r=l(t,15),r.dc())return"";for(i=new F0,e=r.Kc();e.Ob();)Ia(i,(gr(),En(e.Pb()))),i.a+=" ";return Bj(i,i.a.length-1)}n(ljt,"fne");function g6e(t,e,r){var i,a;return i=t.c[e.c.p][e.p],a=t.c[r.c.p][r.p],i.a!=null&&a.a!=null?gI(i.a,a.a):i.a!=null?-1:a.a!=null?1:0}n(g6e,"QIc");function p6e(t,e,r){return r.Ug("Tree layout",1),gx(t.b),Dh(t.b,(U3(),Qq),Qq),Dh(t.b,QT,QT),Dh(t.b,JT,JT),Dh(t.b,ZT,ZT),t.a=zC(t.b,e),h6e(t,e,r.eh(1)),r.Vg(),e}n(p6e,"RVc");function w6e(t,e){var r,i,a,c,u,d;if(e)for(c=e.a.length,r=new Of(c),d=(r.b-r.a)*r.c<0?(Sd(),Bb):new Md(r);d.Ob();)u=l(d.Pb(),17),a=ny(e,u.a),i=new Ayt(t),Sde(i.a,a)}n(w6e,"ZDd");function m6e(t,e){var r,i,a,c,u,d;if(e)for(c=e.a.length,r=new Of(c),d=(r.b-r.a)*r.c<0?(Sd(),Bb):new Md(r);d.Ob();)u=l(d.Pb(),17),a=ny(e,u.a),i=new vyt(t),Tde(i.a,a)}n(m6e,"oEd");function y6e(t){var e;if(t!=null&&t.length>0&&ea(t,t.length-1)==33)try{return e=wPt(hl(t,0,t.length-1)),e.e==null}catch(r){if(r=Dr(r),!J(r,33))throw R(r)}return!1}n(y6e,"ESd");function v6e(t,e,r){var i,a,c;switch(i=Qi(e),a=XA(i),c=new Zo,ko(c,e),r.g){case 1:Ci(c,lC(R3(a)));break;case 2:Ci(c,R3(a))}return wt(c,(Ot(),wm),lt(O(t,wm))),c}n(v6e,"u0b");function mtt(t){var e,r;return e=l(tn(new We(Ve(Mi(t.a).a.Kc(),new et))),18),r=l(tn(new We(Ve(ri(t.a).a.Kc(),new et))),18),jt(Dt(O(e,(Ct(),Yu))))||jt(Dt(O(r,Yu)))}n(mtt,"jdc");function n2(){n2=tt,eF=new j9("ONE_SIDE",0),hq=new j9("TWO_SIDES_CORNER",1),uq=new j9("TWO_SIDES_OPPOSING",2),lq=new j9("THREE_SIDES",3),cq=new j9("FOUR_SIDES",4)}n(n2,"Bnc");function hjt(t,e){var r,i,a,c;for(c=new Bt,a=0,i=e.Kc();i.Ob();){for(r=Et(l(i.Pb(),17).a+a);r.a=t.f)break;Te(c.c,r)}return c}n(hjt,"Usc");function k6e(t,e){var r,i,a,c,u;for(c=new N(e.a);c.a0&&DDt(this,this.c-1,(At(),qe)),this.c0&&t[0].length>0&&(this.c=jt(Dt(O(Qi(t[0][0]),(Ct(),tVt))))),this.a=ht(vze,Tt,2117,t.length,0,2),this.b=ht(kze,Tt,2118,t.length,0,2),this.d=new MFt}n(Ttt,"qJc");function E6e(t){return t.c.length==0?!1:(ue(0,t.c.length),l(t.c[0],18)).c.i.k==(De(),Di)?!0:Sw(no(new ne(null,new ce(t,16)),new Dft),new jft)}n(E6e,"TOc");function fjt(t,e){var r,i,a,c,u,d,b;for(d=s2(e),c=e.f,b=e.g,u=v.Math.sqrt(c*c+b*b),a=0,i=new N(d);i.a=0?(r=vC(t,gR),i=uC(t,gR)):(e=Ad(t,1),r=vC(e,5e8),i=uC(e,5e8),i=la(lh(i,1),Si(t,1))),jh(lh(i,32),Si(r,Na))}n(P6e,"yjb");function pjt(t,e,r){var i,a;switch(i=(Je(e.b!=0),l(bl(e,e.a.a),8)),r.g){case 0:i.b=0;break;case 2:i.b=t.f;break;case 3:i.a=0;break;default:i.a=t.g}return a=hn(e,0),bx(a,i),e}n(pjt,"fTb");function wjt(t,e,r,i){var a,c,u,d,b;switch(b=t.b,c=e.d,u=c.j,d=jZ(u,b.d[u.g],r),a=Zn(Xi(c.n),c.a),c.j.g){case 1:case 3:d.a+=a.a;break;case 2:case 4:d.b+=a.b}Kr(i,d,i.c.b,i.c)}n(wjt,"Vpc");function $6e(t,e,r){var i,a,c,u;for(u=io(t.e,e,0),c=new SW,c.b=r,i=new Wi(t.e,u);i.b1;e>>=1)(e&1)!=0&&(i=Tw(i,r)),r.d==1?r=Tw(r,r):r=new OOt(Z$t(r.a,r.d,ht(yn,Pn,28,r.d<<1,15,1)));return i=Tw(i,r),i}n(H6e,"Rjb");function Btt(){Btt=tt;var t,e,r,i;for(LUt=ht(qi,Ja,28,25,15,1),_Ut=ht(qi,Ja,28,33,15,1),i=152587890625e-16,e=32;e>=0;e--)_Ut[e]=i,i*=.5;for(r=1,t=24;t>=0;t--)LUt[t]=r,r*=.5}n(Btt,"Hwb");function K6e(t){var e,r;if(jt(Dt(yt(t,(Ot(),pm))))){for(r=new We(Ve(a0(t).a.Kc(),new et));un(r);)if(e=l(tn(r),74),Ag(e)&&jt(Dt(yt(e,Qg))))return!0}return!1}n(K6e,"a5b");function mjt(t,e){var r,i,a;fi(t.f,e)&&(e.b=t,i=e.c,io(t.j,i,0)!=-1||Mt(t.j,i),a=e.d,io(t.j,a,0)!=-1||Mt(t.j,a),r=e.a.b,r.c.length!=0&&(!t.i&&(t.i=new NOt(t)),Xwe(t.i,r)))}n(mjt,"Qmc");function U6e(t){var e,r,i,a,c;return r=t.c.d,i=r.j,a=t.d.d,c=a.j,i==c?r.p=0&&ie(t.substr(e,3),"GMT")||e>=0&&ie(t.substr(e,3),"UTC"))&&(r[0]=e+3),sSe(t,r,i)}n(W6e,"SA");function G6e(t,e){var r,i,a,c,u;for(c=t.g.a,u=t.g.b,i=new N(t.d);i.ar;c--)t[c]|=e[c-r-1]>>>u,t[c-1]=e[c-r-1]<0&&ts(t.g,e,t.g,e+i,d),u=r.Kc(),t.i+=i,a=0;a>4&15,c=t[i]&15,u[a++]=AZt[r],u[a++]=AZt[c];return Nl(u,0,u.length)}n(r7e,"sAd");function Rs(t){var e,r;return t>=Ea?(e=f_+(t-Ea>>10&1023)&gi,r=56320+(t-Ea&1023)&gi,String.fromCharCode(e)+(""+String.fromCharCode(r))):String.fromCharCode(t&gi)}n(Rs,"Fhb");function i7e(t,e){Op();var r,i,a,c;return a=l(l(cr(t.r,e),21),87),a.gc()>=2?(i=l(a.Kc().Pb(),117),r=t.u.Hc((fc(),kS)),c=t.u.Hc(Nv),!i.a&&!r&&(a.gc()==2||c)):!1}n(i7e,"UMb");function kjt(t,e,r,i,a){var c,u,d;for(c=o$t(t,e,r,i,a),d=!1;!c;)FL(t,a,!0),d=!0,c=o$t(t,e,r,i,a);d&&FL(t,a,!1),u=QP(a),u.c.length!=0&&(t.d&&t.d.Gg(u),kjt(t,a,r,i,u))}n(kjt,"v3c");function EL(){EL=tt,Zct=new Z6(T1,0),ZJt=new Z6("DIRECTED",1),eZt=new Z6("UNDIRECTED",2),QJt=new Z6("ASSOCIATION",3),tZt=new Z6("GENERALIZATION",4),JJt=new Z6("DEPENDENCY",5)}n(EL,"ind");function a7e(t,e){var r;if(!su(t))throw R(new Ga(ZFe));switch(r=su(t),e.g){case 1:return-(t.j+t.f);case 2:return t.i-r.g;case 3:return t.j-r.f;case 4:return-(t.i+t.g)}return 0}n(a7e,"nsd");function o7e(t,e,r){var i,a,c;return i=e.Lk(),c=e.md(),a=i.Jk()?Od(t,4,i,c,null,tv(t,i,c,J(i,102)&&(l(i,19).Bb&Ea)!=0),!0):Od(t,i.tk()?2:1,i,c,i.ik(),-1,!0),r?r.nj(a):r=a,r}n(o7e,"Jge");function Ky(t,e){var r,i;for(Ie(e),i=t.b.c.length,Mt(t.b,e);i>0;){if(r=i,i=(i-1)/2|0,t.a.Ne(It(t.b,i),e)<=0)return dl(t.b,r,e),!0;dl(t.b,r,It(t.b,i))}return dl(t.b,i,e),!0}n(Ky,"lwb");function Ltt(t,e,r,i){var a,c;if(a=0,r)a=KA(t.a[r.g][e.g],i);else for(c=0;c<_z;c++)a=v.Math.max(a,KA(t.a[c][e.g],i));return e==(Nh(),As)&&t.b&&(a=v.Math.max(a,t.b.a)),a}n(Ltt,"sKb");function s7e(t,e){var r,i,a,c,u,d;return a=t.i,c=e.i,!a||!c||a.i!=c.i||a.i==(At(),qe)||a.i==(At(),je)?!1:(u=a.g.a,r=u+a.j.a,d=c.g.a,i=d+c.j.a,u<=i&&r>=d)}n(s7e,"Qqc");function xjt(t){switch(t.g){case 0:return new $gt;case 1:return new Ngt;default:throw R(new Le("No implementation is available for the width approximator "+(t.f!=null?t.f:""+t.g)))}}n(xjt,"A8c");function _tt(t,e,r,i){var a;if(a=!1,Oi(i)&&(a=!0,U5(e,r,En(i))),a||Ap(i)&&(a=!0,_tt(t,e,r,i)),a||J(i,242)&&(a=!0,If(e,r,l(i,242))),!a)throw R(new FD(AKt))}n(_tt,"rDd");function c7e(t,e){var r,i,a;if(r=e.qi(t.a),r&&(a=Rh((!r.b&&(r.b=new Ic((he(),Aa),zo,r)),r.b),wh),a!=null)){for(i=1;i<(ec(),ZZt).length;++i)if(ie(ZZt[i],a))return i}return 0}n(c7e,"uee");function l7e(t,e){var r,i,a;if(r=e.qi(t.a),r&&(a=Rh((!r.b&&(r.b=new Ic((he(),Aa),zo,r)),r.b),wh),a!=null)){for(i=1;i<(ec(),tte).length;++i)if(ie(tte[i],a))return i}return 0}n(l7e,"vee");function Cjt(t,e){var r,i,a,c;if(Ie(e),c=t.a.gc(),c0?1:0;c.a[a]!=r;)c=c.a[a],a=t.a.Ne(r.d,c.d)>0?1:0;c.a[a]=i,i.b=r.b,i.a[0]=r.a[0],i.a[1]=r.a[1],r.a[0]=null,r.a[1]=null}n(u7e,"$yb");function d7e(t){var e,r,i,a;for(e=new Bt,r=ht(Uc,d0,28,t.a.c.length,16,1),ZX(r,r.length),a=new N(t.a);a.a0&&X$t((ue(0,r.c.length),l(r.c[0],30)),t),r.c.length>1&&X$t(l(It(r,r.c.length-1),30),t),e.Vg()}n(f7e,"P9b");function b7e(t){fc();var e,r;return e=Sr(ud,H(q(SH,1),mt,279,0,[kb])),!(Gx(qM(e,t))>1||(r=Sr(kS,H(q(SH,1),mt,279,0,[vS,Nv])),Gx(qM(r,t))>1))}n(b7e,"Sod");function Ott(t,e){var r;r=Cs((Td(),Bh),t),J(r,507)?Va(Bh,t,new bkt(this,e)):Va(Bh,t,this),gN(this,e),e==(_5(),zZt)?(this.wb=l(this,2038),l(e,2040)):this.wb=(Ld(),Ee)}n(Ott,"FBd");function g7e(t){var e,r,i;if(t==null)return null;for(e=null,r=0;r=Vd?"error":i>=900?"warn":i>=800?"info":"log"),ITt(r,t.a),t.b&&Pet(e,r,t.b,"Exception: ",!0))}n(Bjt,"qBb");function O(t,e){var r,i;return i=(!t.q&&(t.q=new sn),He(t.q,e)),i??(r=e.Sg(),J(r,4)&&(r==null?(!t.q&&(t.q=new sn),F3(t.q,e)):(!t.q&&(t.q=new sn),Hn(t.q,e,r))),r)}n(O,"mQb");function na(){na=tt,Uh=new D9("P1_CYCLE_BREAKING",0),g0=new D9("P2_LAYERING",1),ls=new D9("P3_NODE_ORDERING",2),ps=new D9("P4_NODE_PLACEMENT",3),go=new D9("P5_EDGE_ROUTING",4)}n(na,"sXb");function p7e(t,e){j7();var r;if(t.c==e.c){if(t.b==e.b||Cwe(t.b,e.b)){if(r=Vse(t.b)?1:-1,t.a&&!e.a)return r;if(!t.a&&e.a)return-r}return Ho(t.b.g,e.b.g)}else return pr(t.c,e.c)}n(p7e,"KZb");function Mjt(t,e){var r,i,a;if(jtt(t,e))return!0;for(i=new N(e);i.a=a||e<0)throw R(new Wa(oat+e+Hg+a));if(r>=a||r<0)throw R(new Wa(sat+r+Hg+a));return e!=r?i=(c=t.Cj(r),t.qj(e,c),c):i=t.xj(r),i}n(Dtt,"bJd");function _jt(t){var e,r,i;if(i=t,t)for(e=0,r=t.Eh();r;r=r.Eh()){if(++e>prt)return _jt(r);if(i=r,r==t)throw R(new Ga("There is a cycle in the containment hierarchy of "+t))}return i}n(_jt,"Lje");function Kd(t){var e,r,i;for(i=new Uf(ka,"[","]"),r=t.Kc();r.Ob();)e=r.Pb(),X1(i,ot(e)===ot(t)?"(this Collection)":e==null?bc:bo(e));return i.a?i.e.length==0?i.a.a:i.a.a+(""+i.e):i.c}n(Kd,"Fe");function jtt(t,e){var r,i;if(i=!1,e.gc()<2)return!1;for(r=0;r1&&(t.j.b+=t.e)):(t.j.a+=r.a,t.j.b=v.Math.max(t.j.b,r.b),t.d.c.length>1&&(t.j.a+=t.e))}n(w7e,"$mc");function Ud(){Ud=tt,i$e=H(q(Ma,1),es,64,0,[(At(),Fe),qe,on]),r$e=H(q(Ma,1),es,64,0,[qe,on,je]),a$e=H(q(Ma,1),es,64,0,[on,je,Fe]),o$e=H(q(Ma,1),es,64,0,[je,Fe,qe])}n(Ud,"Mnc");function m7e(t,e,r,i){var a,c,u,d,b,w,m;if(u=t.c.d,d=t.d.d,u.j!=d.j)for(m=t.b,a=u.j,b=null;a!=d.j;)b=e==0?VA(a):eZ(a),c=jZ(a,m.d[a.g],r),w=jZ(b,m.d[b.g],r),Fn(i,Zn(c,w)),a=b}n(m7e,"Upc");function y7e(t,e,r,i){var a,c,u,d,b;return u=jDt(t.a,e,r),d=l(u.a,17).a,c=l(u.b,17).a,i&&(b=l(O(e,(Ct(),Bc)),10),a=l(O(r,Bc),10),b&&a&&(xBt(t.b,b,a),d+=t.b.i,c+=t.b.e)),d>c}n(y7e,"OJc");function Ojt(t){var e,r,i,a,c,u,d,b,w;for(this.a=nDt(t),this.b=new Bt,r=t,i=0,a=r.length;iKj(t.d).c?(t.i+=t.g.c,L$(t.d)):Kj(t.d).c>Kj(t.g).c?(t.e+=t.d.c,L$(t.g)):(t.i+=KCt(t.g),t.e+=KCt(t.d),L$(t.g),L$(t.d))}n(Djt,"Tlc");function C7e(t,e,r){var i,a,c,u;for(c=e.q,u=e.r,new Pf((Ih(),bb),e,c,1),new Pf(bb,c,u,1),a=new N(r);a.ad&&(b=d/i),a>c&&(w=c/a),u=v.Math.min(b,w),t.a+=u*(e.a-t.a),t.b+=u*(e.b-t.b)}n(Ijt,"tWc");function B7e(t,e,r,i,a){var c,u;for(u=!1,c=l(It(r.b,0),27);rEe(t,e,c,i,a)&&(u=!0,r6e(r,c),r.b.c.length!=0);)c=l(It(r.b,0),27);return r.b.c.length==0&&mC(r.j,r),u&&mL(e.q),u}n(B7e,"I8c");function M7e(t,e){qw();var r,i,a,c;if(e.b<2)return!1;for(c=hn(e,0),r=l(cn(c),8),i=r;c.b!=c.d.c;){if(a=l(cn(c),8),_N(t,i,a))return!0;i=a}return!!_N(t,i,r)}n(M7e,"Eid");function Ptt(t,e,r,i){var a,c;return r==0?(!t.o&&(t.o=new Zs((Uo(),x0),cf,t,0)),ZB(t.o,e,i)):(c=l(we((a=l(Ae(t,16),29),a||t.ii()),r),69),c.wk().Ak(t,Bs(t),r-Ze(t.ii()),e,i))}n(Ptt,"Bxd");function gN(t,e){var r;e!=t.sb?(r=null,t.sb&&(r=l(t.sb,54).Th(t,1,TS,r)),e&&(r=l(e,54).Rh(t,1,TS,r)),r=XJ(t,e,r),r&&r.oj()):(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,4,e,e))}n(gN,"BBd");function A7e(t,e){var r,i,a,c;if(e)a=Z1(e,"x"),r=new Eyt(t),hy(r.a,(Ie(a),a)),c=Z1(e,"y"),i=new Byt(t),dy(i.a,(Ie(c),c));else throw R(new Lu("All edge sections need an end point."))}n(A7e,"YDd");function L7e(t,e){var r,i,a,c;if(e)a=Z1(e,"x"),r=new Cyt(t),uy(r.a,(Ie(a),a)),c=Z1(e,"y"),i=new Tyt(t),fy(i.a,(Ie(c),c));else throw R(new Lu("All edge sections need a start point."))}n(L7e,"WDd");function _7e(t,e){var r,i,a,c,u,d,b;for(i=lFt(t),c=0,d=i.length;c>22-e,a=t.h<>22-e):e<44?(r=0,i=t.l<>44-e):(r=0,i=0,a=t.l<t)throw R(new Le("k must be smaller than n"));return e==0||e==t?1:t==0?0:htt(t)/(htt(e)*htt(t-e))}n(I7e,"vid");function $tt(t,e){var r,i,a,c;for(r=new eV(t);r.g==null&&!r.c?FY(r):r.g==null||r.i!=0&&l(r.g[r.i-1],51).Ob();)if(c=l(OL(r),58),J(c,167))for(i=l(c,167),a=0;a>4],e[r*2+1]=WH[c&15];return Nl(e,0,e.length)}n(W7e,"Iqe");function G7e(t){LM();var e,r,i;switch(i=t.c.length,i){case 0:return nje;case 1:return e=l(vIt(new N(t)),44),R1e(e.ld(),e.md());default:return r=l(pu(t,ht(Wg,fR,44,t.c.length,0,1)),173),new $W(r)}}n(G7e,"sn");function V7e(t){var e,r,i,a,c,u;for(e=new mw,r=new mw,Dd(e,t),Dd(r,t);r.b!=r.c;)for(a=l(x3(r),36),u=new N(a.a);u.a0&&jC(t,r,e),a):Ike(t,e,r)}n(Y7e,"tLc");function Wd(){Wd=tt,sHe=($n(),jv),cHe=op,rHe=ap,iHe=$4,aHe=wb,nHe=P4,GYt=DF,oHe=Em,oct=(tnt(),Uqe),sct=Wqe,XYt=Yqe,cct=Zqe,YYt=Qqe,QYt=Jqe,VYt=Gqe,aH=Vqe,oH=Xqe,xF=tHe,JYt=eHe,WYt=Kqe}n(Wd,"$4c");function zjt(t,e){var r,i,a,c,u;if(t.e<=e||mbe(t,t.g,e))return t.g;for(c=t.r,i=t.g,u=t.r,a=(c-i)/2+i;i+11&&(t.e.b+=t.a)):(t.e.a+=r.a,t.e.b=v.Math.max(t.e.b,r.b),t.d.c.length>1&&(t.e.a+=t.a))}n(ztt,"LKb");function Z7e(t){var e,r,i,a;switch(a=t.i,e=a.b,i=a.j,r=a.g,a.a.g){case 0:r.a=(t.g.b.o.a-i.a)/2;break;case 1:r.a=e.d.n.a+e.d.a.a;break;case 2:r.a=e.d.n.a+e.d.a.a-i.a;break;case 3:r.b=e.d.n.b+e.d.a.b}}n(Z7e,"Ipc");function t8e(t,e,r){var i,a,c;for(a=new We(Ve(n0(r).a.Kc(),new et));un(a);)i=l(tn(a),18),!va(i)&&!(!va(i)&&i.c.i.c==i.d.i.c)&&(c=_Pt(t,i,r,new Dvt),c.c.length>1&&Te(e.c,c))}n(t8e,"oOc");function Hjt(t,e,r,i,a){if(ii&&(t.a=i),t.ba&&(t.b=a),t}n(Hjt,"_id");function e8e(t){if(J(t,143))return Fxe(l(t,143));if(J(t,233))return x4e(l(t,233));if(J(t,23))return O7e(l(t,23));throw R(new Le(LKt+Kd(new sc(H(q(Ai,1),xe,1,5,[t])))))}n(e8e,"LFd");function n8e(t,e,r,i,a){var c,u,d;for(c=!0,u=0;u>>a|r[u+i+1]<>>a,++u}return c}n(n8e,"ujb");function qtt(t,e,r,i){var a,c,u;if(e.k==(De(),Di)){for(c=new We(Ve(Mi(e).a.Kc(),new et));un(c);)if(a=l(tn(c),18),u=a.c.i.k,u==Di&&t.c.a[a.c.i.c.p]==i&&t.c.a[e.c.p]==r)return!0}return!1}n(qtt,"ZQc");function r8e(t,e){var r,i,a,c;return e&=63,r=t.h&id,e<22?(c=r>>>e,a=t.m>>e|r<<22-e,i=t.l>>e|t.m<<22-e):e<44?(c=0,a=r>>>e-22,i=t.m>>e-22|t.h<<44-e):(c=0,a=0,i=r>>>e-44),ks(i&zc,a&zc,c&id)}n(r8e,"CD");function Kjt(t,e,r,i){var a;this.b=i,this.e=t==(yg(),VT),a=e[r],this.d=_f(Uc,[Tt,d0],[183,28],16,[a.length,a.length],2),this.a=_f(yn,[Tt,Pn],[53,28],15,[a.length,a.length],2),this.c=new Ctt(e,r)}n(Kjt,"mmc");function i8e(t){var e,r,i;for(t.k=new jY((At(),H(q(Ma,1),es,64,0,[Fo,Fe,qe,on,je])).length,t.j.c.length),i=new N(t.j);i.a=r)return Wy(t,e,i.p),!0;return!1}n(s8e,"adc");function $w(t,e,r,i){var a,c,u,d,b,w;for(u=r.length,c=0,a=-1,w=PAt((_e(e,t.length+1),t.substr(e)),(Xj(),MUt)),d=0;dc&&_0e(w,PAt(r[d],MUt))&&(a=d,c=b);return a>=0&&(i[0]=e+c),a}n($w,"EA");function Wjt(t){var e;return(t.Db&64)!=0?pN(t):(e=new Wc(yKt),!t.a||jn(jn((e.a+=' "',e),t.a),'"'),jn(Kb(jn(Kb(jn(Kb(jn(Kb((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}n(Wjt,"gCd");function Gjt(t,e,r){var i,a,c,u,d;for(d=Ms(t.e.Dh(),e),a=l(t.g,124),i=0,u=0;ur?Jtt(t,r,"start index"):e<0||e>r?Jtt(e,r,"end index"):y8("end index (%s) must not be less than start index (%s)",H(q(Ai,1),xe,1,5,[Et(e),Et(t)]))}n(c8e,"Kb");function Xjt(t,e){var r,i,a,c;for(i=0,a=t.length;i0&&Yjt(t,c,r));e.p=0}n(Yjt,"aGc");function Ht(t){var e;this.c=new Ar,this.f=t.e,this.e=t.d,this.i=t.g,this.d=t.c,this.b=t.b,this.k=t.j,this.a=t.a,t.i?this.j=t.i:this.j=(e=l(_h(m0),9),new cl(e,l(sh(e,e.length),9),0)),this.g=t.f}n(Ht,"Ahd");function h8e(t){var e,r,i,a;for(e=_d(jn(new Wc("Predicates."),"and"),40),r=!0,a=new x6(t);a.b0?d[u-1]:ht(p0,Xd,10,0,0,1),a=d[u],w=u=0?t.ki(a):net(t,i);else throw R(new Le(ab+i.xe()+lT));else throw R(new Le(hOe+e+uOe));else pl(t,r,i)}n(mN,"$vd");function Htt(t){var e,r;if(r=null,e=!1,J(t,211)&&(e=!0,r=l(t,211).a),e||J(t,263)&&(e=!0,r=""+l(t,263).a),e||J(t,493)&&(e=!0,r=""+l(t,493).a),!e)throw R(new FD(AKt));return r}n(Htt,"ADd");function Ktt(t,e,r){var i,a,c,u,d,b;for(b=Ms(t.e.Dh(),e),i=0,d=t.i,a=l(t.g,124),u=0;u=t.d.b.c.length&&(e=new as(t.d),e.p=i.p-1,Mt(t.d.b,e),r=new as(t.d),r.p=i.p,Mt(t.d.b,r)),Ui(i,l(It(t.d.b,i.p),30))}n(Wtt,"WGc");function Gtt(t,e,r){var i,a,c;if(!t.b[e.g]){for(t.b[e.g]=!0,i=r,!i&&(i=new Ax),Fn(i.b,e),c=t.a[e.g].Kc();c.Ob();)a=l(c.Pb(),65),a.b!=e&&Gtt(t,a.b,i),a.c!=e&&Gtt(t,a.c,i),Fn(i.a,a);return i}return null}n(Gtt,"DVc");function b8e(t){switch(t.g){case 0:case 1:case 2:return At(),Fe;case 3:case 4:case 5:return At(),on;case 6:case 7:case 8:return At(),je;case 9:case 10:case 11:return At(),qe;default:return At(),Fo}}n(b8e,"iMb");function g8e(t,e){var r;return t.c.length==0?!1:(r=bOt((ue(0,t.c.length),l(t.c[0],18)).c.i),Vc(),r==(t2(),E4)||r==S4?!0:Sw(no(new ne(null,new ce(t,16)),new Ift),new O5t(e)))}n(g8e,"SOc");function vN(t,e){if(J(e,207))return lce(t,l(e,27));if(J(e,193))return hce(t,l(e,123));if(J(e,452))return cce(t,l(e,166));throw R(new Le(LKt+Kd(new sc(H(q(Ai,1),xe,1,5,[e])))))}n(vN,"KDd");function nIt(t,e,r){var i,a;if(this.f=t,i=l(He(t.b,e),260),a=i?i.a:0,uQ(r,a),r>=(a/2|0))for(this.e=i?i.c:null,this.d=a;r++0;)jQ(this);this.b=e,this.a=null}n(nIt,"Ou");function p8e(t,e){var r,i;e.a?Yxe(t,e):(r=l(HD(t.b,e.b),60),r&&r==t.a[e.b.f]&&r.a&&r.a!=e.b.a&&r.c.Fc(e.b),i=l(qD(t.b,e.b),60),i&&t.a[i.f]==e.b&&i.a&&i.a!=e.b.a&&e.b.c.Fc(i),Ij(t.b,e.b))}n(p8e,"iHb");function rIt(t,e){var r,i;if(r=l(Pa(t.b,e),127),l(l(cr(t.r,e),21),87).dc()){r.n.b=0,r.n.c=0;return}r.n.b=t.C.b,r.n.c=t.C.c,t.A.Hc((Rc(),cp))&&A$t(t,e),i=K5e(t,e),ON(t,e)==(Fw(),yb)&&(i+=2*t.w),r.a.a=i}n(rIt,"wMb");function iIt(t,e){var r,i;if(r=l(Pa(t.b,e),127),l(l(cr(t.r,e),21),87).dc()){r.n.d=0,r.n.a=0;return}r.n.d=t.C.d,r.n.a=t.C.a,t.A.Hc((Rc(),cp))&&L$t(t,e),i=H5e(t,e),ON(t,e)==(Fw(),yb)&&(i+=2*t.w),r.a.b=i}n(iIt,"FNb");function w8e(t,e){var r,i,a,c;for(c=new Bt,i=new N(e);i.ai&&(_e(e-1,t.length),t.charCodeAt(e-1)<=32);)--e;return i>0||er.a&&(i.Hc((Qf(),hS))?a=(e.a-r.a)/2:i.Hc(uS)&&(a=e.a-r.a)),e.b>r.b&&(i.Hc((Qf(),fS))?c=(e.b-r.b)/2:i.Hc(dS)&&(c=e.b-r.b)),Ftt(t,a,c)}n(Qtt,"Jsd");function uIt(t,e,r,i,a,c,u,d,b,w,m,x,E){J(t.Cb,90)&&a2(xc(l(t.Cb,90)),4),us(t,r),t.f=u,Oy(t,d),jy(t,b),Fy(t,w),Dy(t,m),Y0(t,x),Iy(t,E),X0(t,!0),U0(t,a),t.Zk(c),Vf(t,e),i!=null&&(t.i=null,AA(t,i))}n(uIt,"ABd");function Jtt(t,e,r){if(t<0)return y8(CLe,H(q(Ai,1),xe,1,5,[r,Et(t)]));if(e<0)throw R(new Le(TLe+e));return y8("%s (%s) must not be greater than size (%s)",H(q(Ai,1),xe,1,5,[r,Et(t),Et(e)]))}n(Jtt,"Jb");function Ztt(t,e,r,i,a,c){var u,d,b,w;if(u=i-r,u<7){u4e(e,r,i,c);return}if(b=r+a,d=i+a,w=b+(d-b>>1),Ztt(e,t,b,w,-a,c),Ztt(e,t,w,d,-a,c),c.Ne(t[w-1],t[w])<=0){for(;r=0?t.bi(c,r):_et(t,a,r);else throw R(new Le(ab+a.xe()+lT));else throw R(new Le(hOe+e+uOe));else wl(t,i,a,r)}n(kN,"Wvd");function dIt(t){var e,r;if(t.f){for(;t.n>0;){if(e=l(t.k.Xb(t.n-1),76),r=e.Lk(),J(r,102)&&(l(r,19).Bb&Wo)!=0&&(!t.e||r.pk()!=Pk||r.Lj()!=0)&&e.md()!=null)return!0;--t.n}return!1}else return t.n>0}n(dIt,"n3d");function fIt(t){var e,r,i,a;if(r=l(t,54)._h(),r)try{if(i=null,e=Vy((Td(),Bh),J$t(C4e(r))),e&&(a=e.ai(),a&&(i=a.Fl(Toe(r.e)))),i&&i!=t)return fIt(i)}catch(c){if(c=Dr(c),!J(c,63))throw R(c)}return t}n(fIt,"Pje");function O8e(t,e,r){var i,a,c;r.Ug("Remove overlaps",1),r.dh(e,FHt),i=l(yt(e,(vw(),A4)),27),t.f=i,t.a=R$(l(yt(e,(Wd(),xF)),300)),a=lt(yt(e,($n(),op))),WU(t,(Ie(a),a)),c=s2(i),vRt(t,e,c,r),r.dh(e,YR)}n(O8e,"P3c");function D8e(t){var e,r,i;if(jt(Dt(yt(t,($n(),FF))))){for(i=new Bt,r=new We(Ve(a0(t).a.Kc(),new et));un(r);)e=l(tn(r),74),Ag(e)&&jt(Dt(yt(e,zct)))&&Te(i.c,e);return i}else return de(),de(),Ba}n(D8e,"Ded");function bIt(t){if(!t)return f6t(),uje;var e=t.valueOf?t.valueOf():t;if(e!==t){var r=jat[typeof e];return r?r(e):qJ(typeof e)}else return t instanceof Array||t instanceof v.Array?new RU(t):new w9(t)}n(bIt,"KC");function gIt(t,e,r){var i,a,c;switch(c=t.o,i=l(Pa(t.p,r),252),a=i.i,a.b=d8(i),a.a=u8(i),a.b=v.Math.max(a.b,c.a),a.b>c.a&&!e&&(a.b=c.a),a.c=-(a.b-c.a)/2,r.g){case 1:a.d=-a.a;break;case 3:a.d=c.b}WN(i),GN(i)}n(gIt,"IMb");function pIt(t,e,r){var i,a,c;switch(c=t.o,i=l(Pa(t.p,r),252),a=i.i,a.b=d8(i),a.a=u8(i),a.a=v.Math.max(a.a,c.b),a.a>c.b&&!e&&(a.a=c.b),a.d=-(a.a-c.b)/2,r.g){case 4:a.c=-a.b;break;case 2:a.c=c.a}WN(i),GN(i)}n(pIt,"JMb");function j8e(t,e){var r,i,a,c,u;if(!e.dc()){if(a=l(e.Xb(0),131),e.gc()==1){GPt(t,a,a,1,0,e);return}for(r=1;r0)try{a=el(e,da,nr)}catch(c){throw c=Dr(c),J(c,130)?(i=c,R(new hA(i))):R(c)}return r=(!t.a&&(t.a=new pD(t)),t.a),a=0?l(Z(r,a),58):null}n($8e,"Lde");function N8e(t,e){if(t<0)return y8(CLe,H(q(Ai,1),xe,1,5,["index",Et(t)]));if(e<0)throw R(new Le(TLe+e));return y8("%s (%s) must be less than size (%s)",H(q(Ai,1),xe,1,5,["index",Et(t),Et(e)]))}n(N8e,"Ib");function R8e(t){var e,r,i,a,c;if(t==null)return bc;for(c=new Uf(ka,"[","]"),r=t,i=0,a=r.length;i=0?t.Lh(r,!0,!0):Lg(t,a,!0),160)),l(i,220).Zl(e);else throw R(new Le(ab+e.xe()+lT))}n(net,"Tvd");function ret(t){var e,r;return t>-0x800000000000&&t<0x800000000000?t==0?0:(e=t<0,e&&(t=-t),r=xi(v.Math.floor(v.Math.log(t)/.6931471805599453)),(!e||t!=v.Math.pow(2,r))&&++r,r):O_t(jo(t))}n(ret,"Cib");function eke(t){var e,r,i,a,c,u,d;for(c=new Ou,r=new N(t);r.a2&&d.e.b+d.j.b<=2&&(a=d,i=u),c.a.zc(a,c),a.q=i);return c}n(eke,"oTc");function nke(t,e,r){r.Ug("Eades radial",1),r.dh(e,YR),t.d=l(yt(e,(vw(),A4)),27),t.c=it(lt(yt(e,(Wd(),oH)))),t.e=R$(l(yt(e,xF),300)),t.a=_4e(l(yt(e,JYt),434)),t.b=Qve(l(yt(e,VYt),354)),Ove(t),r.dh(e,YR)}n(nke,"B5c");function rke(t,e){if(e.Ug("Target Width Setter",1),du(t,(mu(),vct)))fr(t,(m1(),Tm),lt(yt(t,vct)));else throw R(new _0("A target width has to be set if the TargetWidthWidthApproximator should be used."));e.Vg()}n(rke,"t8c");function kIt(t,e){var r,i,a;return i=new i0(t),ao(i,e),wt(i,(Ct(),Cq),e),wt(i,(Ot(),Jr),(Ri(),ys)),wt(i,L1,(p1(),mH)),Tf(i,(De(),di)),r=new Zo,ko(r,i),Ci(r,(At(),je)),a=new Zo,ko(a,i),Ci(a,qe),i}n(kIt,"_8b");function xIt(t){switch(t.g){case 0:return new AD((yg(),pF));case 1:return new $mt;case 2:return new Nmt;default:throw R(new Le("No implementation is available for the crossing minimizer "+(t.f!=null?t.f:""+t.g)))}}n(xIt,"ttc");function CIt(t,e){var r,i,a,c,u;for(t.c[e.p]=!0,Mt(t.a,e),u=new N(e.j);u.a=c)u.$b();else for(a=u.Kc(),i=0;i0?HW():u<0&&BIt(t,e,-u),!0):!1}n(lke,"qx");function u8(t){var e,r,i,a,c,u,d;if(d=0,t.b==0){for(u=lDt(t,!0),e=0,i=u,a=0,c=i.length;a0&&(d+=r,++e);e>1&&(d+=t.c*(e-1))}else d=S6t(HP(Np(ir(QX(t.a),new yE),new u9)));return d>0?d+t.n.d+t.n.a:0}n(u8,"YKb");function d8(t){var e,r,i,a,c,u,d;if(d=0,t.b==0)d=S6t(HP(Np(ir(QX(t.a),new h9),new IO)));else{for(u=hDt(t,!0),e=0,i=u,a=0,c=i.length;a0&&(d+=r,++e);e>1&&(d+=t.c*(e-1))}return d>0?d+t.n.b+t.n.c:0}n(d8,"ZKb");function hke(t){var e,r;if(t.c.length!=2)throw R(new Ga("Order only allowed for two paths."));e=(ue(0,t.c.length),l(t.c[0],18)),r=(ue(1,t.c.length),l(t.c[1],18)),e.d.i!=r.c.i&&(t.c.length=0,Te(t.c,r),Te(t.c,e))}n(hke,"UOc");function MIt(t,e,r){var i;for(bw(r,e.g,e.f),ol(r,e.i,e.j),i=0;i<(!e.a&&(e.a=new pt(Vn,e,10,11)),e.a).i;i++)MIt(t,l(Z((!e.a&&(e.a=new pt(Vn,e,10,11)),e.a),i),27),l(Z((!r.a&&(r.a=new pt(Vn,r,10,11)),r.a),i),27))}n(MIt,"O8c");function uke(t,e){var r,i,a,c;for(c=l(Pa(t.b,e),127),r=c.a,a=l(l(cr(t.r,e),21),87).Kc();a.Ob();)i=l(a.Pb(),117),i.c&&(r.a=v.Math.max(r.a,MX(i.c)));if(r.a>0)switch(e.g){case 2:c.n.c=t.s;break;case 4:c.n.b=t.s}}n(uke,"DMb");function dke(t,e){var r,i,a;return r=l(O(e,(gh(),kv)),17).a-l(O(t,kv),17).a,r==0?(i=Ti(Xi(l(O(t,(Id(),Y_)),8)),l(O(t,BT),8)),a=Ti(Xi(l(O(e,Y_),8)),l(O(e,BT),8)),pr(i.a*i.b,a.a*a.b)):r}n(dke,"ETb");function fke(t,e){var r,i,a;return r=l(O(e,(Lo(),eH)),17).a-l(O(t,eH),17).a,r==0?(i=Ti(Xi(l(O(t,(yr(),yF)),8)),l(O(t,Ek),8)),a=Ti(Xi(l(O(e,yF),8)),l(O(e,Ek),8)),pr(i.a*i.b,a.a*a.b)):r}n(fke,"JVc");function AIt(t){var e,r;return r=new kd,r.a+="e_",e=ome(t),e!=null&&(r.a+=""+e),t.c&&t.d&&(jn((r.a+=" ",r),vL(t.c)),jn(is((r.a+="[",r),t.c.i),"]"),jn((r.a+=Krt,r),vL(t.d)),jn(is((r.a+="[",r),t.d.i),"]")),r.a}n(AIt,"_0b");function LIt(t){switch(t.g){case 0:return new Vmt;case 1:return new Xmt;case 2:return new Wmt;case 3:return new Umt;default:throw R(new Le("No implementation is available for the layout phase "+(t.f!=null?t.f:""+t.g)))}}n(LIt,"ZVc");function oet(t,e,r,i,a){var c;switch(c=0,a.g){case 1:c=v.Math.max(0,e.b+t.b-(r.b+i));break;case 3:c=v.Math.max(0,-t.b-i);break;case 2:c=v.Math.max(0,-t.a-i);break;case 4:c=v.Math.max(0,e.a+t.a-(r.a+i))}return c}n(oet,"qsd");function bke(t,e,r){var i,a,c,u,d;if(r)for(a=r.a.length,i=new Of(a),d=(i.b-i.a)*i.c<0?(Sd(),Bb):new Md(i);d.Ob();)u=l(d.Pb(),17),c=ny(r,u.a),CKt in c.a||iat in c.a?MTe(t,c,e):VAe(t,c,e),Wce(l(He(t.b,$y(c)),74))}n(bke,"MDd");function set(t){var e,r;switch(t.b){case-1:return!0;case 0:return r=t.t,r>1||r==-1?(t.b=-1,!0):(e=Rl(t),e&&(Ta(),e.lk()==dDe)?(t.b=-1,!0):(t.b=1,!1));default:case 1:return!1}}n(set,"jXd");function cet(t,e){var r,i,a,c;if(Qn(t),t.c!=0||t.a!=123)throw R(new Bn(Ln((Sn(),DOe))));if(c=e==112,i=t.d,r=$5(t.i,125,i),r<0)throw R(new Bn(Ln((Sn(),jOe))));return a=hl(t.i,i,r),t.d=r+1,tAt(a,c,(t.e&512)==512)}n(cet,"Sqe");function _It(t){var e,r,i,a,c,u,d;if(i=t.a.c.length,i>0)for(u=t.c.d,d=t.d.d,a=Du(Ti(new xt(d.a,d.b),u),1/(i+1)),c=new xt(u.a,u.b),r=new N(t.a);r.a=0&&i=0?t.Lh(r,!0,!0):Lg(t,a,!0),160)),l(i,220).Wl(e);throw R(new Le(ab+e.xe()+Xit))}n(CN,"Rvd");function mke(){uG();var t;return QUe?l(Vy((Td(),Bh),mh),2038):(qn(Wg,new ewt),bMe(),t=l(J(Cs((Td(),Bh),mh),560)?Cs(Bh,mh):new VTt,560),QUe=!0,gLe(t),xLe(t),Hn((hG(),RZt),t,new w2t),Va(Bh,mh,t),t)}n(mke,"_ae");function yke(t,e){var r,i,a,c;t.j=-1,Dc(t.e)?(r=t.i,c=t.i!=0,Mx(t,e),i=new Y1(t.e,3,t.c,null,e,r,c),a=e.zl(t.e,t.c,null),a=ujt(t,e,a),a?(a.nj(i),a.oj()):tr(t.e,i)):(Mx(t,e),a=e.zl(t.e,t.c,null),a&&a.oj())}n(yke,"Vfe");function LL(t,e){var r,i,a;if(a=0,i=e[0],i>=t.length)return-1;for(r=(_e(i,t.length),t.charCodeAt(i));r>=48&&r<=57&&(a=a*10+(r-48),++i,!(i>=t.length));)r=(_e(i,t.length),t.charCodeAt(i));return i>e[0]?e[0]=i:a=-1,a}n(LL,"HA");function vke(t){var e,r,i,a,c;return a=l(t.a,17).a,c=l(t.b,17).a,r=a,i=c,e=v.Math.max(v.Math.abs(a),v.Math.abs(c)),a<=0&&a==c?(r=0,i=c-1):a==-e&&c!=e?(r=c,i=a,c>=0&&++r):(r=-c,i=a),new ki(Et(r),Et(i))}n(vke,"mPb");function kke(t,e,r,i){var a,c,u,d,b,w;for(a=0;a=0&&w>=0&&b=t.i)throw R(new Wa(oat+e+Hg+t.i));if(r>=t.i)throw R(new Wa(sat+r+Hg+t.i));return i=t.g[r],e!=r&&(e>16),e=i>>16&16,r=16-e,t=t>>e,i=t-256,e=i>>16&8,r+=e,t<<=e,i=t-Yw,e=i>>16&4,r+=e,t<<=e,i=t-y1,e=i>>16&2,r+=e,t<<=e,i=t>>14,e=i&~(i>>1),r+2-e)}n(MC,"ngb");function Cke(t){B3();var e,r,i,a;for(Iz=new Bt,iot=new sn,rot=new Bt,e=(!t.a&&(t.a=new pt(Vn,t,10,11)),t.a),bAe(e),a=new ze(e);a.e!=a.i.gc();)i=l(Xe(a),27),io(Iz,i,0)==-1&&(r=new Bt,Mt(rot,r),jOt(i,r));return rot}n(Cke,"RSb");function Tke(t,e,r){var i,a,c,u;t.a=r.b.d,J(e,326)?(a=zw(l(e,74),!1,!1),c=TC(a),i=new m4t(t),Ji(c,i),$C(c,a),e.of(($n(),N2))!=null&&Ji(l(e.of(N2),75),i)):(u=l(e,422),u.rh(u.nh()+t.a.a),u.sh(u.oh()+t.a.b))}n(Tke,"sTb");function Ske(t,e){var r,i,a;for(a=new Bt,i=hn(e.a,0);i.b!=i.d.c;)r=l(cn(i),65),r.c.g==t.g&&ot(O(r.b,(Lo(),F1)))!==ot(O(r.c,F1))&&!Sw(new ne(null,new ce(a,16)),new U5t(r))&&Te(a.c,r);return ai(a,new xbt),a}n(Ske,"hWc");function OIt(t,e,r){var i,a,c,u;return J(e,153)&&J(r,153)?(c=l(e,153),u=l(r,153),t.a[c.a][u.a]+t.a[u.a][c.a]):J(e,250)&&J(r,250)&&(i=l(e,250),a=l(r,250),i.a==a.a)?l(O(a.a,(gh(),kv)),17).a:0}n(OIt,"fUb");function DIt(t,e){var r,i,a,c,u,d,b,w;for(w=it(lt(O(e,(Ot(),qT)))),b=t[0].n.a+t[0].o.a+t[0].d.c+w,d=1;d=0?r:(d=T7(Ti(new xt(u.c+u.b/2,u.d+u.a/2),new xt(c.c+c.b/2,c.d+c.a/2))),-(oNt(c,u)-1)*d)}n(Eke,"Nad");function Bke(t,e,r){var i;Yr(new ne(null,(!r.a&&(r.a=new pt(Lr,r,6,6)),new ce(r.a,16))),new V8t(t,e)),Yr(new ne(null,(!r.n&&(r.n=new pt(Za,r,1,7)),new ce(r.n,16))),new X8t(t,e)),i=l(yt(r,($n(),N2)),75),i&&uJ(i,t,e)}n(Bke,"ysd");function Lg(t,e,r){var i,a,c;if(c=Uw((ec(),aa),t.Dh(),e),c)return Ta(),l(c,69).xk()||(c=A3(Xa(aa,c))),a=(i=t.Ih(c),l(i>=0?t.Lh(i,!0,!0):Lg(t,c,!0),160)),l(a,220).Sl(e,r);throw R(new Le(ab+e.xe()+Xit))}n(Lg,"Qvd");function het(t,e,r,i){var a,c,u,d,b;if(a=t.d[e],a){if(c=a.g,b=a.i,i!=null){for(d=0;d=r&&(i=e,w=(b.c+b.a)/2,u=w-r,b.c<=w-r&&(a=new Zj(b.c,u),ng(t,i++,a)),d=w+r,d<=b.a&&(c=new Zj(d,b.a),zp(i,t.c.length),U6(t.c,i,c)))}n(_ke,"wTc");function PIt(t,e,r){var i,a,c,u,d,b;if(!e.dc()){for(a=new Ar,b=e.Kc();b.Ob();)for(d=l(b.Pb(),40),Hn(t.a,Et(d.g),Et(r)),u=(i=hn(new R1(d).a.d,0),new nw(i));T9(u.a);)c=l(cn(u.a),65).c,Kr(a,c,a.c.b,a.c);PIt(t,a,r+1)}}n(PIt,"mZc");function uet(t){var e;if(!t.c&&t.g==null)t.d=t.bj(t.f),bn(t,t.d),e=t.d;else{if(t.g==null)return!0;if(t.i==0)return!1;e=l(t.g[t.i-1],51)}return e==t.b&&null.Vm>=null.Um()?(OL(t),uet(t)):e.Ob()}n(uet,"Ude");function $It(t){if(this.a=t,t.c.i.k==(De(),di))this.c=t.c,this.d=l(O(t.c.i,(Ct(),Ro)),64);else if(t.d.i.k==di)this.c=t.d,this.d=l(O(t.d.i,(Ct(),Ro)),64);else throw R(new Le("Edge "+t+" is not an external edge."))}n($It,"t_b");function NIt(t,e){var r,i,a;a=t.b,t.b=e,(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,3,a,t.b)),e?e!=t&&(us(t,e.zb),FP(t,e.d),r=(i=e.c,i??e.zb),DP(t,r==null||ie(r,e.zb)?null:r)):(us(t,null),FP(t,0),DP(t,null))}n(NIt,"O1d");function RIt(t,e){var r;this.e=(og(),Cn(t),og(),TZ(t)),this.c=(Cn(e),TZ(e)),bV(this.e.Rd().dc()==this.c.Rd().dc()),this.d=eOt(this.e),this.b=eOt(this.c),r=_f(Ai,[Tt,xe],[5,1],5,[this.e.Rd().gc(),this.c.Rd().gc()],2),this.a=r,nwe(this)}n(RIt,"hj");function zIt(t){var e=(!Dat&&(Dat=EAe()),Dat),r=t.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,function(i){return Afe(i,e)});return'"'+r+'"'}n(zIt,"Lz");function det(t,e,r,i,a,c){var u,d,b,w,m;if(a!=0)for(ot(t)===ot(r)&&(t=t.slice(e,e+a),e=0),b=r,d=e,w=e+a;d=u)throw R(new jp(e,u));return a=r[e],u==1?i=null:(i=ht(clt,dat,424,u-1,0,1),ts(r,0,i,0,e),c=u-e-1,c>0&&ts(r,e+1,i,e,c)),Ny(t,i),hIt(t,e,a),a}n(Oke,"OMd");function HIt(t){var e,r;if(t.f){for(;t.n0?c=R3(r):c=lC(R3(r))),fr(e,yk,c)}n(WIt,"$4b");function Dke(t,e){var r;e.Ug("Partition preprocessing",1),r=l(fo(ir(xo(ir(new ne(null,new ce(t.a,16)),new T0t),new S0t),new E0t),hc(new Ua,new Oo,new Yo,H(q(so,1),mt,108,0,[(dc(),Eo)]))),15),Yr(r.Oc(),new B0t),e.Vg()}n(Dke,"agc");function jke(t,e){var r,i,a,c,u;for(u=t.j,e.a!=e.b&&ai(u,new rft),a=u.c.length/2|0,i=0;i0&&jC(t,r,e),c):i.a!=null?(jC(t,e,r),-1):a.a!=null?(jC(t,r,e),1):0}n(Ike,"rLc");function Pke(t,e){var r,i,a,c,u;for(a=e.b.b,t.a=ht(Ul,Qw,15,a,0,1),t.b=ht(Uc,d0,28,a,16,1),u=hn(e.b,0);u.b!=u.d.c;)c=l(cn(u),40),t.a[c.g]=new Ar;for(i=hn(e.a,0);i.b!=i.d.c;)r=l(cn(i),65),t.a[r.b.g].Fc(r),t.a[r.c.g].Fc(r)}n(Pke,"EVc");function GIt(t,e){var r,i,a,c;t.Pj()?(r=t.Ej(),c=t.Qj(),++t.j,t.qj(r,t.Zi(r,e)),i=t.Ij(3,null,e,r,c),t.Mj()?(a=t.Nj(e,null),a?(a.nj(i),a.oj()):t.Jj(i)):t.Jj(i)):(PTt(t,e),t.Mj()&&(a=t.Nj(e,null),a&&a.oj()))}n(GIt,"SJd");function fet(t,e,r){var i,a,c;t.Pj()?(c=t.Qj(),aC(t,e,r),i=t.Ij(3,null,r,e,c),t.Mj()?(a=t.Nj(r,null),t.Tj()&&(a=t.Uj(r,a)),a?(a.nj(i),a.oj()):t.Jj(i)):t.Jj(i)):(aC(t,e,r),t.Mj()&&(a=t.Nj(r,null),a&&a.oj()))}n(fet,"oLd");function _L(t,e){var r,i,a,c,u;for(u=Ms(t.e.Dh(),e),a=new FE,r=l(t.g,124),c=t.i;--c>=0;)i=r[c],u.am(i.Lk())&&bn(a,i);!qRt(t,a)&&Dc(t.e)&&E5(t,e.Jk()?Od(t,6,e,(de(),Ba),null,-1,!1):Od(t,e.tk()?2:1,e,null,null,-1,!1))}n(_L,"bge");function $ke(t,e){var r,i,a,c,u;return t.a==(Uy(),_T)?!0:(c=e.a.c,r=e.a.c+e.a.b,!(e.j&&(i=e.A,u=i.c.c.a-i.o.a/2,a=c-(i.n.a+i.o.a),a>u)||e.q&&(i=e.C,u=i.c.c.a-i.o.a/2,a=i.n.a-r,a>u)))}n($ke,"_7b");function VIt(t){GI();var e,r,i,a,c,u,d;for(r=new z0,a=new N(t.e.b);a.a1?t.e*=it(t.a):t.f/=it(t.a),o3e(t),d5e(t),lTe(t),wt(t.b,(n8(),jz),t.g)}n(Nke,"sRb");function JIt(t,e,r){var i,a,c,u,d,b;for(i=0,b=r,e||(i=r*(t.c.length-1),b*=-1),c=new N(t);c.a=0?t.Ah(null):t.Ph().Th(t,-1-e,null,null)),t.Bh(l(a,54),r),i&&i.oj(),t.vh()&&t.wh()&&r>-1&&tr(t,new _i(t,9,r,c,a)),a):c}n(EN,"yvd");function pet(t,e){var r,i,a,c,u;for(c=t.b.Ce(e),i=(r=t.a.get(c),r??ht(Ai,xe,1,0,5,1)),u=0;u>5,a>=t.d)return t.e<0;if(r=t.a[a],e=1<<(e&31),t.e<0){if(i=d_t(t),a>16)),15).dd(c),d0&&(!(q1(t.a.c)&&e.n.d)&&!(fw(t.a.c)&&e.n.b)&&(e.g.d+=v.Math.max(0,i/2-.5)),!(q1(t.a.c)&&e.n.a)&&!(fw(t.a.c)&&e.n.c)&&(e.g.a-=i-1))}n(Xke,"OYb");function sPt(t){var e,r,i,a,c;if(a=new Bt,c=nNt(t,a),e=l(O(t,(Ct(),Bc)),10),e)for(i=new N(e.j);i.a>e,c=t.m>>e|r<<22-e,a=t.l>>e|t.m<<22-e):e<44?(u=i?id:0,c=r>>e-22,a=t.m>>e-22|r<<44-e):(u=i?id:0,c=i?zc:0,a=r>>e-44),ks(a&zc,c&zc,u&id)}n(ket,"BD");function BN(t){var e,r,i,a,c,u;for(this.c=new Bt,this.d=t,i=Ir,a=Ir,e=mi,r=mi,u=hn(t,0);u.b!=u.d.c;)c=l(cn(u),8),i=v.Math.min(i,c.a),a=v.Math.min(a,c.b),e=v.Math.max(e,c.a),r=v.Math.max(r,c.b);this.a=new ll(i,a,e-i,r-a)}n(BN,"ORb");function lPt(t,e){var r,i,a,c,u,d;for(c=new N(t.b);c.a0&&J(e,44)&&(t.a._j(),w=l(e,44),b=w.ld(),c=b==null?0:kr(b),u=RV(t.a,c),r=t.a.d[u],r)){for(i=l(r.g,379),m=r.i,d=0;d=2)for(r=a.Kc(),e=lt(r.Pb());r.Ob();)c=e,e=lt(r.Pb()),i=v.Math.min(i,(Ie(e),e-(Ie(c),c)));return i}n(fPt,"RTc");function o9e(t,e){var r,i,a;for(a=new Bt,i=hn(e.a,0);i.b!=i.d.c;)r=l(cn(i),65),r.b.g==t.g&&!ie(r.b.c,VR)&&ot(O(r.b,(Lo(),F1)))!==ot(O(r.c,F1))&&!Sw(new ne(null,new ce(a,16)),new W5t(r))&&Te(a.c,r);return ai(a,new Ebt),a}n(o9e,"iWc");function s9e(t,e){var r,i,a;if(ot(e)===ot(Cn(t)))return!0;if(!J(e,15)||(i=l(e,15),a=t.gc(),a!=i.gc()))return!1;if(J(i,59)){for(r=0;r0&&(a=r),u=new N(t.f.e);u.a0?(e-=1,r-=1):i>=0&&a<0?(e+=1,r+=1):i>0&&a>=0?(e-=1,r+=1):(e+=1,r-=1),new ki(Et(e),Et(r))}n(v9e,"sPb");function k9e(t,e){return t.ce.c?1:t.be.b?1:t.a!=e.a?kr(t.a)-kr(e.a):t.d==(_7(),YT)&&e.d==XT?-1:t.d==XT&&e.d==YT?1:0}n(k9e,"nNc");function pPt(t,e){var r,i,a,c,u;return c=e.a,c.c.i==e.b?u=c.d:u=c.c,c.c.i==e.b?i=c.c:i=c.d,a=H4e(t.a,u,i),a>0&&a0):a<0&&-a0):!1}n(pPt,"ARc");function x9e(t,e,r,i){var a,c,u,d,b,w,m,x;for(a=(e-t.d)/t.c.c.length,c=0,t.a+=r,t.d=e,x=new N(t.c);x.a>24;return u}n(C9e,"vAd");function T9e(t){if(t.ze()){var e=t.c;e.Ae()?t.o="["+e.n:e.ze()?t.o="["+e.xe():t.o="[L"+e.xe()+";",t.b=e.we()+"[]",t.k=e.ye()+"[]";return}var r=t.j,i=t.d;i=i.split("/"),t.o=_$(".",[r,_$("$",i)]),t.b=_$(".",[r,_$(".",i)]),t.k=i[i.length-1]}n(T9e,"Bfb");function S9e(t,e){var r,i,a,c,u;for(u=null,c=new N(t.e.a);c.a=0;e-=2)for(r=0;r<=e;r+=2)(t.b[r]>t.b[r+2]||t.b[r]===t.b[r+2]&&t.b[r+1]>t.b[r+3])&&(i=t.b[r+2],t.b[r+2]=t.b[r],t.b[r]=i,i=t.b[r+3],t.b[r+3]=t.b[r+1],t.b[r+1]=i);t.c=!0}}n(Nw,"vte");function M9e(t,e){var r,i,a,c,u,d,b,w,m;for(w=-1,m=0,u=t,d=0,b=u.length;d0&&++m;++w}return m}n(M9e,"nKc");function fh(t){var e,r;return r=new Wc(Af(t.Rm)),r.a+="@",jn(r,(e=kr(t)>>>0,e.toString(16))),t.Vh()?(r.a+=" (eProxyURI: ",is(r,t._h()),t.Kh()&&(r.a+=" eClass: ",is(r,t.Kh())),r.a+=")"):t.Kh()&&(r.a+=" (eClass: ",is(r,t.Kh()),r.a+=")"),r.a}n(fh,"awd");function g8(t){var e,r,i,a;if(t.e)throw R(new Ga((H1(Wat),Trt+Wat.k+Srt)));for(t.d==(ui(),t1)&&ZL(t,lo),r=new N(t.a.a);r.a>24}return r}n(L9e,"Hqe");function _9e(t,e,r){var i,a,c;if(a=l(Pa(t.i,e),314),!a)if(a=new nLt(t.d,e,r),C3(t.i,e,a),AZ(e))jce(t.a,e.c,e.b,a);else switch(c=b8e(e),i=l(Pa(t.p,c),252),c.g){case 1:case 3:a.j=!0,_D(i,e.b,a);break;case 4:case 2:a.k=!0,_D(i,e.c,a)}return a}n(_9e,"cNb");function F9e(t,e){var r,i,a,c,u,d,b,w,m;for(b=l1(t.c-t.b&t.a.length-1),w=null,m=null,c=new E7(t);c.a!=c.b;)a=l(UA(c),10),r=(d=l(O(a,(Ct(),xu)),12),d?d.i:null),i=(u=l(O(a,kh),12),u?u.i:null),(w!=r||m!=i)&&(ZIt(b,e),w=r,m=i),Te(b.c,a);ZIt(b,e)}n(F9e,"Ndc");function O9e(t,e,r,i){var a,c,u,d,b,w;if(d=new FE,b=Ms(t.e.Dh(),e),a=l(t.g,124),Ta(),l(e,69).xk())for(u=0;u=0)return a;for(c=1,d=new N(e.j);d.a=0)return a;for(c=1,d=new N(e.j);d.a0&&e.Ne((ue(a-1,t.c.length),l(t.c[a-1],10)),c)>0;)dl(t,a,(ue(a-1,t.c.length),l(t.c[a-1],10))),--a;ue(a,t.c.length),t.c[a]=c}r.a=new sn,r.b=new sn}n(TPt,"wLc");function D9e(t,e,r){var i,a,c,u,d,b,w,m;for(m=(i=l(e.e&&e.e(),9),new cl(i,l(sh(i,i.length),9),0)),b=h2(r,"[\\[\\]\\s,]+"),c=b,u=0,d=c.length;u=0?(e||(e=new D6,i>0&&Ia(e,(Gi(0,i,t.length),t.substr(0,i)))),e.a+="\\",X5(e,r&gi)):e&&X5(e,r&gi);return e?e.a:t}n(j9e,"tse");function I9e(t){var e,r,i;for(r=new N(t.a.a.b);r.a0&&(!(q1(t.a.c)&&e.n.d)&&!(fw(t.a.c)&&e.n.b)&&(e.g.d-=v.Math.max(0,i/2-.5)),!(q1(t.a.c)&&e.n.a)&&!(fw(t.a.c)&&e.n.c)&&(e.g.a+=v.Math.max(0,i-1)))}n(I9e,"MYb");function SPt(t,e,r){var i,a;if((t.c-t.b&t.a.length-1)==2)e==(At(),Fe)||e==qe?(wA(l(H7(t),15),(tl(),y0)),wA(l(H7(t),15),mb)):(wA(l(H7(t),15),(tl(),mb)),wA(l(H7(t),15),y0));else for(a=new E7(t);a.a!=a.b;)i=l(UA(a),15),wA(i,r)}n(SPt,"Ydc");function P9e(t,e){var r,i,a,c,u,d,b;for(a=K5(new hW(t)),d=new Wi(a,a.c.length),c=K5(new hW(e)),b=new Wi(c,c.c.length),u=null;d.b>0&&b.b>0&&(r=(Je(d.b>0),l(d.a.Xb(d.c=--d.b),27)),i=(Je(b.b>0),l(b.a.Xb(b.c=--b.b),27)),r==i);)u=r;return u}n(P9e,"HGd");function EPt(t,e,r){var i,a,c,u;BEt(t,e)>BEt(t,r)?(i=To(r,(At(),qe)),t.d=i.dc()?0:aI(l(i.Xb(0),12)),u=To(e,je),t.b=u.dc()?0:aI(l(u.Xb(0),12))):(a=To(r,(At(),je)),t.d=a.dc()?0:aI(l(a.Xb(0),12)),c=To(e,qe),t.b=c.dc()?0:aI(l(c.Xb(0),12)))}n(EPt,"Dmc");function BPt(t,e){var r,i,a,c;for(r=t.o.a,c=l(l(cr(t.r,e),21),87).Kc();c.Ob();)a=l(c.Pb(),117),a.e.a=r*it(lt(a.b.of(Fz))),a.e.b=(i=a.b,i.pf(($n(),Kc))?i.ag()==(At(),Fe)?-i.Mf().b-it(lt(i.of(Kc))):it(lt(i.of(Kc))):i.ag()==(At(),Fe)?-i.Mf().b:0)}n(BPt,"wNb");function $9e(t,e){var r,i,a,c;for(e.Ug("Self-Loop pre-processing",1),i=new N(t.a);i.at.c));u++)a.a>=t.s&&(c<0&&(c=u),d=u);return b=(t.s+t.c)/2,c>=0&&(i=ETe(t,e,c,d),b=Tse((ue(i,e.c.length),l(e.c[i],339))),_ke(e,i,r)),b}n(R9e,"mTc");function vn(t,e,r){var i,a,c,u,d,b,w;for(u=(c=new LU,c),rJ(u,(Ie(e),e)),w=(!u.b&&(u.b=new Ic((he(),Aa),zo,u)),u.b),b=1;b0&&CBe(this,a)}n(MPt,"DSb");function Met(t,e,r,i,a,c){var u,d,b;if(!a[e.a]){for(a[e.a]=!0,u=i,!u&&(u=new eA),Mt(u.e,e),b=c[e.a].Kc();b.Ob();)d=l(b.Pb(),290),!(d.d==r||d.c==r)&&(d.c!=e&&Met(t,d.c,e,u,a,c),d.d!=e&&Met(t,d.d,e,u,a,c),Mt(u.c,d),bi(u.d,d.b));return u}return null}n(Met,"zTb");function z9e(t){var e,r,i,a,c,u,d;for(e=0,a=new N(t.e);a.a=2}n(z9e,"v7b");function q9e(t,e,r,i,a){var c,u,d,b,w,m;for(c=t.c.d.j,u=l(vl(r,0),8),m=1;m1||(e=Sr(Vh,H(q(qa,1),mt,95,0,[hd,Xh])),Gx(qM(e,t))>1)||(i=Sr(Qh,H(q(qa,1),mt,95,0,[v0,Ch])),Gx(qM(i,t))>1))}n(H9e,"fod");function Aet(t,e,r){var i,a,c;for(c=new N(t.t);c.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&Fn(e,i.b));for(a=new N(t.i);a.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&Fn(r,i.a))}n(Aet,"$Uc");function OL(t){var e,r,i,a,c;if(t.g==null&&(t.d=t.bj(t.f),bn(t,t.d),t.c))return c=t.f,c;if(e=l(t.g[t.i-1],51),a=e.Pb(),t.e=e,r=t.bj(a),r.Ob())t.d=r,bn(t,r);else for(t.d=null;!e.Ob()&&(Hr(t.g,--t.i,null),t.i!=0);)i=l(t.g[t.i-1],51),e=i;return a}n(OL,"tId");function K9e(t,e){var r,i,a,c,u,d;if(i=e,a=i.Lk(),o0(t.e,a)){if(a.Si()&&YM(t,a,i.md()))return!1}else for(d=Ms(t.e.Dh(),a),r=l(t.g,124),c=0;c1||r>1)return 2;return e+r==1?2:0}n(X9e,"AOc");function Sc(t,e){var r,i,a,c,u,d;return c=t.a*vrt+t.b*1502,d=t.b*vrt+11,r=v.Math.floor(d*g_),c+=r,d-=r*yzt,c%=yzt,t.a=c,t.b=d,e<=24?v.Math.floor(t.a*LUt[e]):(a=t.a*(1<=2147483648&&(i-=4294967296),i)}n(Sc,"Kwb");function FPt(t,e,r){var i,a,c,u,d,b,w;for(c=new Bt,w=new Ar,u=new Ar,fEe(t,w,u,e),UBe(t,w,u,e,r),b=new N(t);b.ai.b.g&&Te(c.c,i);return c}n(FPt,"uSc");function Y9e(t,e,r){var i,a,c,u,d,b;for(d=t.c,u=(r.q?r.q:(de(),de(),b0)).vc().Kc();u.Ob();)c=l(u.Pb(),44),i=!F5(ir(new ne(null,new ce(d,16)),new C5(new z8t(e,c)))).Bd((Lf(),vv)),i&&(b=c.md(),J(b,4)&&(a=FZ(b),a!=null&&(b=a)),e.qf(l(c.ld(),149),b))}n(Y9e,"jed");function Q9e(t,e,r){var i,a;if(gx(t.b),Dh(t.b,(cC(),uH),(R6(),BF)),Dh(t.b,dH,e.g),Dh(t.b,fH,e.a),t.a=zC(t.b,e),r.Ug("Compaction by shrinking a tree",t.a.c.length),e.i.c.length>1)for(a=new N(t.a);a.a=0?t.Lh(i,!0,!0):Lg(t,c,!0),160)),l(a,220).Xl(e,r)}else throw R(new Le(ab+e.xe()+lT))}n(_et,"Svd");function DL(t,e){var r,i,a,c,u;if(e){for(c=J(t.Cb,90)||J(t.Cb,102),u=!c&&J(t.Cb,331),i=new ze((!e.a&&(e.a=new p7(e,Ha,e)),e.a));i.e!=i.i.gc();)if(r=l(Xe(i),89),a=GL(r),c?J(a,90):u?J(a,156):a)return a;return c?(he(),Mh):(he(),r1)}else return null}n(DL,"k2d");function J9e(t,e){var r,i,a,c;for(e.Ug("Resize child graph to fit parent.",1),i=new N(t.b);i.a=2*e&&Mt(r,new Zj(u[i-1]+e,u[i]-e));return r}n(txe,"pTc");function exe(t,e,r){var i,a,c,u,d,b,w,m;if(r)for(c=r.a.length,i=new Of(c),d=(i.b-i.a)*i.c<0?(Sd(),Bb):new Md(i);d.Ob();)u=l(d.Pb(),17),a=ny(r,u.a),a&&(j=null,b=_ge(t,(w=(Cd(),m=new AW,m),e&&Fet(w,e),w),a),py(b,W1(a,B1)),SL(a,b),tet(a,b),t$(t,a,b))}n(exe,"dEd");function jL(t){var e,r,i,a,c,u;if(!t.j){if(u=new i2t,e=MS,c=e.a.zc(t,e),c==null){for(i=new ze(ro(t));i.e!=i.i.gc();)r=l(Xe(i),29),a=jL(r),Wr(u,a),bn(u,r);e.a.Bc(t)!=null}Yp(u),t.j=new uw((l(Z(bt((Ld(),Ee).o),11),19),u.i),u.g),xc(t).b&=-33}return t.j}n(jL,"sYd");function nxe(t){var e,r,i,a;if(t==null)return null;if(i=cs(t,!0),a=N_.length,ie(i.substr(i.length-a,a),N_)){if(r=i.length,r==4){if(e=(_e(0,i.length),i.charCodeAt(0)),e==43)return ote;if(e==45)return mWe}else if(r==3)return ote}return new mW(i)}n(nxe,"lne");function rxe(t){var e,r,i;return r=t.l,(r&r-1)!=0||(i=t.m,(i&i-1)!=0)||(e=t.h,(e&e-1)!=0)||e==0&&i==0&&r==0?-1:e==0&&i==0&&r!=0?GQ(r):e==0&&i!=0&&r==0?GQ(i)+22:e!=0&&i==0&&r==0?GQ(e)+44:-1}n(rxe,"pD");function Rw(t,e){var r,i,a,c,u;for(a=e.a&t.f,c=null,i=t.b[a];;i=i.b){if(i==e){c?c.b=e.b:t.b[a]=e.b;break}c=i}for(u=e.f&t.f,c=null,r=t.c[u];;r=r.d){if(r==e){c?c.d=e.d:t.c[u]=e.d;break}c=r}e.e?e.e.c=e.c:t.a=e.c,e.c?e.c.e=e.e:t.e=e.e,--t.i,++t.g}n(Rw,"yo");function ixe(t,e){var r;e.d?e.d.b=e.b:t.a=e.b,e.b?e.b.d=e.d:t.e=e.d,!e.e&&!e.c?(r=l(Il(l(F3(t.b,e.a),260)),260),r.a=0,++t.c):(r=l(Il(l(He(t.b,e.a),260)),260),--r.a,e.e?e.e.c=e.c:r.b=l(Il(e.c),511),e.c?e.c.e=e.e:r.c=l(Il(e.e),511)),--t.d}n(ixe,"Dt");function axe(t){var e,r,i,a,c,u,d,b,w,m;for(r=t.o,e=t.p,u=nr,a=da,d=nr,c=da,w=0;w0),c.a.Xb(c.c=--c.b),Dp(c,a),Je(c.b3&&g1(t,0,e-3))}n(oxe,"yA");function sxe(t){var e,r,i,a;return ot(O(t,(Ot(),gm)))===ot((t0(),sf))?!t.e&&ot(O(t,lF))!==ot((xy(),rF)):(i=l(O(t,sst),299),a=jt(Dt(O(t,cst)))||ot(O(t,NT))===ot((P7(),nF)),e=l(O(t,NVt),17).a,r=t.a.c.length,!a&&i!=(xy(),rF)&&(e==0||e>r))}n(sxe,"eXb");function cxe(t){var e,r;for(r=0;r0);r++);if(r>0&&r0);e++);return e>0&&r>16!=6&&e){if(zy(t,e))throw R(new Le(hT+XIt(t)));i=null,t.Cb&&(i=(r=t.Db>>16,r>=0?ZZ(t,i):t.Cb.Th(t,-1-r,null,i))),e&&(i=H3(e,t,6,i)),i=PV(t,e,i),i&&i.oj()}else(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,6,e,e))}n(jPt,"Mzd");function IL(t,e){var r,i;if(e!=t.Cb||t.Db>>16!=3&&e){if(zy(t,e))throw R(new Le(hT+INt(t)));i=null,t.Cb&&(i=(r=t.Db>>16,r>=0?rtt(t,i):t.Cb.Th(t,-1-r,null,i))),e&&(i=H3(e,t,12,i)),i=$V(t,e,i),i&&i.oj()}else(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,3,e,e))}n(IL,"pzd");function Fet(t,e){var r,i;if(e!=t.Cb||t.Db>>16!=9&&e){if(zy(t,e))throw R(new Le(hT+D$t(t)));i=null,t.Cb&&(i=(r=t.Db>>16,r>=0?ett(t,i):t.Cb.Th(t,-1-r,null,i))),e&&(i=H3(e,t,9,i)),i=NV(t,e,i),i&&i.oj()}else(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,9,e,e))}n(Fet,"NCd");function Xy(t){var e,r,i,a,c;if(i=Rl(t),c=t.j,c==null&&i)return t.Jk()?null:i.ik();if(J(i,156)){if(r=i.jk(),r&&(a=r.wi(),a!=t.i)){if(e=l(i,156),e.nk())try{t.g=a.ti(e,c)}catch(u){if(u=Dr(u),J(u,82))t.g=null;else throw R(u)}t.i=a}return t.g}return null}n(Xy,"tWd");function IPt(t){var e;return e=new Bt,Mt(e,new c3(new xt(t.c,t.d),new xt(t.c+t.b,t.d))),Mt(e,new c3(new xt(t.c,t.d),new xt(t.c,t.d+t.a))),Mt(e,new c3(new xt(t.c+t.b,t.d+t.a),new xt(t.c+t.b,t.d))),Mt(e,new c3(new xt(t.c+t.b,t.d+t.a),new xt(t.c,t.d+t.a))),e}n(IPt,"nRb");function lxe(t){var e,r,i;if(t==null)return bc;try{return bo(t)}catch(a){if(a=Dr(a),J(a,103))return e=a,i=Af(Nc(t))+"@"+(r=(z1(),_Z(t)>>>0),r.toString(16)),C5e(cme(),(P6(),"Exception during lenientFormat for "+i),e),"<"+i+" threw "+Af(e.Rm)+">";throw R(a)}}n(lxe,"ic");function hxe(t,e,r){var i,a,c;for(c=e.a.ec().Kc();c.Ob();)a=l(c.Pb(),74),i=l(He(t.b,a),272),!i&&(_r(w1(a))==_r(Hd(a))?Qxe(t,a,r):w1(a)==_r(Hd(a))?He(t.c,a)==null&&He(t.b,Hd(a))!=null&&bRt(t,a,r,!1):He(t.d,a)==null&&He(t.b,w1(a))!=null&&bRt(t,a,r,!0))}n(hxe,"mTb");function uxe(t,e){var r,i,a,c,u,d,b;for(a=t.Kc();a.Ob();)for(i=l(a.Pb(),10),d=new Zo,ko(d,i),Ci(d,(At(),qe)),wt(d,(Ct(),Tq),(Se(),!0)),u=e.Kc();u.Ob();)c=l(u.Pb(),10),b=new Zo,ko(b,c),Ci(b,je),wt(b,Tq,!0),r=new ug,wt(r,Tq,!0),ca(r,d),Ni(r,b)}n(uxe,"Pfc");function dxe(t,e,r,i){var a,c,u,d;a=vOt(t,e,r),c=vOt(t,r,e),u=l(He(t.c,e),118),d=l(He(t.c,r),118),a1)for(e=Jb((r=new Mf,++t.b,r),t.d),d=hn(c,0);d.b!=d.d.c;)u=l(cn(d),125),bh(ih(rh(ah(nh(new Dl,1),0),e),u))}n(bxe,"Glc");function gxe(t,e,r){var i,a,c,u,d;for(r.Ug("Breaking Point Removing",1),t.a=l(O(e,(Ot(),ld)),223),c=new N(e.b);c.a>16!=11&&e){if(zy(t,e))throw R(new Le(hT+Jet(t)));i=null,t.Cb&&(i=(r=t.Db>>16,r>=0?itt(t,i):t.Cb.Th(t,-1-r,null,i))),e&&(i=H3(e,t,10,i)),i=VV(t,e,i),i&&i.oj()}else(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,11,e,e))}n(PL,"yCd");function pxe(t){var e,r,i,a;for(i=new Kf(new Ef(t.b).a);i.b;)r=kg(i),a=l(r.ld(),12),e=l(r.md(),10),wt(e,(Ct(),lr),a),wt(a,Bc,e),wt(a,oF,(Se(),!0)),Ci(a,l(O(e,Ro),64)),O(e,Ro),wt(a.i,(Ot(),Jr),(Ri(),jk)),l(O(Qi(a.i),ms),21).Fc((Oa(),gk))}n(pxe,"C0b");function wxe(t,e,r){var i,a,c,u,d,b;if(c=0,u=0,t.c)for(b=new N(t.d.i.j);b.ac.a?-1:a.ab){for(m=t.d,t.d=ht(_Zt,NKt,66,2*b+4,0,1),c=0;c=9223372036854776e3?(cy(),sUt):(a=!1,t<0&&(a=!0,t=-t),i=0,t>=Ig&&(i=xi(t/Ig),t-=i*Ig),r=0,t>=cv&&(r=xi(t/cv),t-=r*cv),e=xi(t),c=ks(e,r,i),a&&e$(c),c)}n(Bxe,"vD");function Mxe(t){var e,r,i,a,c;if(c=new Bt,Ts(t.b,new l4t(c)),t.b.c.length=0,c.c.length!=0){for(e=(ue(0,c.c.length),l(c.c[0],82)),r=1,i=c.c.length;r=-e&&i==e?new ki(Et(r-1),Et(i)):new ki(Et(r),Et(i-1))}n(Lxe,"vPb");function NPt(){return ua(),H(q(Hsn,1),mt,81,0,[VWt,UWt,u4,vot,fGt,Vz,iq,hm,uGt,nGt,lGt,lm,dGt,ZWt,bGt,NWt,Jz,kot,Wz,eq,pGt,tq,RWt,hGt,wGt,nq,gGt,Gz,YWt,sGt,oGt,aq,HWt,Uz,Yz,qWt,ik,iGt,tGt,cGt,MT,WWt,KWt,aGt,eGt,Qz,rq,zWt,Zz,rGt,Xz,QWt,XWt,Z_,Kz,JWt,GWt])}n(NPt,"lcc");function _xe(t,e,r){t.d=0,t.b=0,e.k==(De(),ws)&&r.k==ws&&l(O(e,(Ct(),lr)),10)==l(O(r,lr),10)&&(kP(e).j==(At(),Fe)?EPt(t,e,r):EPt(t,r,e)),e.k==ws&&r.k==Di?kP(e).j==(At(),Fe)?t.d=1:t.b=1:r.k==ws&&e.k==Di&&(kP(r).j==(At(),Fe)?t.b=1:t.d=1),gye(t,e,r)}n(_xe,"Cmc");function Fxe(t){var e,r,i,a,c,u,d,b,w,m,x;return x=Mtt(t),e=t.a,b=e!=null,b&&U5(x,"category",t.a),a=E9(new Sf(t.d)),u=!a,u&&(w=new Cf,$h(x,"knownOptions",w),r=new Kyt(w),Ji(new Sf(t.d),r)),c=E9(t.g),d=!c,d&&(m=new Cf,$h(x,"supportedFeatures",m),i=new Uyt(m),Ji(t.g,i)),x}n(Fxe,"EFd");function Oxe(t){var e,r,i,a,c,u,d,b,w;for(i=!1,e=336,r=0,c=new Mxt(t.length),d=t,b=0,w=d.length;b>16!=7&&e){if(zy(t,e))throw R(new Le(hT+Wjt(t)));i=null,t.Cb&&(i=(r=t.Db>>16,r>=0?ttt(t,i):t.Cb.Th(t,-1-r,null,i))),e&&(i=l(e,54).Rh(t,1,WF,i)),i=zX(t,e,i),i&&i.oj()}else(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,7,e,e))}n(Iet,"eCd");function RPt(t,e){var r,i;if(e!=t.Cb||t.Db>>16!=3&&e){if(zy(t,e))throw R(new Le(hT+KFt(t)));i=null,t.Cb&&(i=(r=t.Db>>16,r>=0?ntt(t,i):t.Cb.Th(t,-1-r,null,i))),e&&(i=l(e,54).Rh(t,0,VF,i)),i=qX(t,e,i),i&&i.oj()}else(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,3,e,e))}n(RPt,"lVd");function FN(t,e){Yy();var r,i,a,c,u,d,b,w,m;return e.d>t.d&&(d=t,t=e,e=d),e.d<63?kCe(t,e):(u=(t.d&-2)<<4,w=sQ(t,u),m=sQ(e,u),i=JN(t,_3(w,u)),a=JN(e,_3(m,u)),b=FN(w,m),r=FN(i,a),c=FN(JN(w,i),JN(a,m)),c=aR(aR(c,b),r),c=_3(c,u),b=_3(b,u<<1),aR(aR(b,c),r))}n(FN,"Mjb");function nd(){nd=tt,xst=new sw(iFe,0),SXt=new sw("LONGEST_PATH",1),EXt=new sw("LONGEST_PATH_SOURCE",2),kst=new sw("COFFMAN_GRAHAM",3),TXt=new sw(Xrt,4),BXt=new sw("STRETCH_WIDTH",5),qq=new sw("MIN_WIDTH",6),Ck=new sw("BF_MODEL_ORDER",7),Tk=new sw("DF_MODEL_ORDER",8)}n(nd,"_Cc");function jxe(t,e,r){var i,a,c,u,d;for(u=V7(t,r),d=ht(p0,Xd,10,e.length,0,1),i=0,c=u.Kc();c.Ob();)a=l(c.Pb(),12),jt(Dt(O(a,(Ct(),oF))))&&(d[i++]=l(O(a,Bc),10));if(i=0;c+=r?1:-1)u=u|e.c.lg(b,c,r,i&&!jt(Dt(O(e.j,(Ct(),ub))))&&!jt(Dt(O(e.j,(Ct(),y4))))),u=u|e.q.ug(b,c,r),u=u|B$t(t,b[c],r,i);return fi(t.c,e),u}n(OC,"DKc");function NL(t,e,r){var i,a,c,u,d,b,w,m,x,E;for(m=oBt(t.j),x=0,E=m.length;x1&&(t.a=!0),b0e(l(r.b,68),Zn(Xi(l(e.b,68).c),Du(Ti(Xi(l(r.b,68).a),l(e.b,68).a),a))),fEt(t,e),zPt(t,r)}n(zPt,"Qdd");function qPt(t){var e,r,i,a,c,u,d;for(c=new N(t.a.a);c.a0&&c>0?u.p=e++:i>0?u.p=r++:c>0?u.p=a++:u.p=r++}de(),ai(t.j,new y0t)}n(Nxe,"Hfc");function Rxe(t){var e,r;r=null,e=l(It(t.g,0),18);do{if(r=e.d.i,Tr(r,(Ct(),kh)))return l(O(r,kh),12).i;if(r.k!=(De(),ei)&&un(new We(Ve(ri(r).a.Kc(),new et))))e=l(tn(new We(Ve(ri(r).a.Kc(),new et))),18);else if(r.k!=ei)return null}while(r&&r.k!=(De(),ei));return r}n(Rxe,"zic");function zxe(t,e){var r,i,a,c,u,d,b,w,m;for(d=e.j,u=e.g,b=l(It(d,d.c.length-1),113),m=(ue(0,d.c.length),l(d.c[0],113)),w=Z$(t,u,b,m),c=1;cw&&(b=r,m=a,w=i);e.a=m,e.c=b}n(zxe,"sqc");function qxe(t,e,r){var i,a,c,u,d,b,w;for(w=new D0(new M5t(t)),u=H(q(jPe,1),M_e,12,0,[e,r]),d=0,b=u.length;db-t.b&&db-t.a&&d0?c.a?(d=c.b.Mf().a,r>d&&(a=(r-d)/2,c.d.b=a,c.d.c=a)):c.d.c=t.s+r:m7(t.u)&&(i=Att(c.b),i.c<0&&(c.d.b=-i.c),i.c+i.b>c.b.Mf().a&&(c.d.c=i.c+i.b-c.b.Mf().a))}n(iCe,"yMb");function aCe(t,e){var r,i,a,c,u;u=new Bt,r=e;do c=l(He(t.b,r),131),c.B=r.c,c.D=r.d,Te(u.c,c),r=l(He(t.k,r),18);while(r);return i=(ue(0,u.c.length),l(u.c[0],131)),i.j=!0,i.A=l(i.d.a.ec().Kc().Pb(),18).c.i,a=l(It(u,u.c.length-1),131),a.q=!0,a.C=l(a.d.a.ec().Kc().Pb(),18).d.i,u}n(aCe,"RUc");function oCe(t){var e,r;if(e=l(t.a,17).a,r=l(t.b,17).a,e>=0){if(e==r)return new ki(Et(-e-1),Et(-e-1));if(e==-r)return new ki(Et(-e),Et(r+1))}return v.Math.abs(e)>v.Math.abs(r)?e<0?new ki(Et(-e),Et(r)):new ki(Et(-e),Et(r+1)):new ki(Et(e+1),Et(r))}n(oCe,"pPb");function sCe(t){var e,r;r=l(O(t,(Ot(),Hs)),171),e=l(O(t,(Ct(),Vg)),311),r==(yl(),db)?(wt(t,Hs,cF),wt(t,Vg,(Q1(),w4))):r==fm?(wt(t,Hs,cF),wt(t,Vg,(Q1(),Tv))):e==(Q1(),w4)?(wt(t,Hs,db),wt(t,Vg,iF)):e==Tv&&(wt(t,Hs,fm),wt(t,Vg,iF))}n(sCe,"H8b");function RL(){RL=tt,wF=new abt,Vze=In(new li,(na(),ls),(ua(),Wz)),Qze=Js(In(new li,ls,tq),go,Zz),Jze=zu(zu(q6(Js(In(new li,Uh,iq),go,rq),ps),nq),aq),Xze=Js(In(In(In(new li,g0,Vz),ps,Yz),ps,ik),go,Xz),Yze=Js(In(In(new li,ps,ik),ps,Uz),go,Kz)}n(RL,"dSc");function m8(){m8=tt,eqe=In(Js(new li,(na(),go),(ua(),QWt)),ls,Wz),aqe=zu(zu(q6(Js(In(new li,Uh,iq),go,rq),ps),nq),aq),nqe=Js(In(In(In(new li,g0,Vz),ps,Yz),ps,ik),go,Xz),iqe=In(In(new li,ls,tq),go,Zz),rqe=Js(In(In(new li,ps,ik),ps,Uz),go,Kz)}n(m8,"HUc");function cCe(t,e,r,i,a){var c,u;(!va(e)&&e.c.i.c==e.d.i.c||!ULt(Co(H(q(Fi,1),Tt,8,0,[a.i.n,a.n,a.a])),r))&&!va(e)&&(e.c==a?N5(e.a,0,new wa(r)):Fn(e.a,new wa(r)),i&&!Fh(t.a,r)&&(u=l(O(e,(Ot(),co)),75),u||(u=new Vs,wt(e,co,u)),c=new wa(r),Kr(u,c,u.c.b,u.c),fi(t.a,c)))}n(cCe,"eSc");function UPt(t,e){var r,i,a,c;for(c=xn(ha(l0,f1(xn(ha(e==null?0:kr(e),h0)),15))),r=c&t.b.length-1,a=null,i=t.b[r];i;a=i,i=i.a)if(i.d==c&&Pu(i.i,e))return a?a.a=i.a:t.b[r]=i.a,k6t(l(Il(i.c),604),l(Il(i.f),604)),k9(l(Il(i.b),227),l(Il(i.e),227)),--t.f,++t.e,!0;return!1}n(UPt,"ht");function lCe(t){var e,r;for(r=new We(Ve(Mi(t).a.Kc(),new et));un(r);)if(e=l(tn(r),18),e.c.i.k!=(De(),rs))throw R(new _0(Vrt+pC(t)+"' has its layer constraint set to FIRST, but has at least one incoming edge that does not come from a FIRST_SEPARATE node. That must not happen."))}n(lCe,"dec");function hCe(t,e,r){var i,a,c,u,d,b,w;if(a=XFt(t.Db&254),a==0)t.Eb=r;else{if(a==1)d=ht(Ai,xe,1,2,5,1),c=J$(t,e),c==0?(d[0]=r,d[1]=t.Eb):(d[0]=t.Eb,d[1]=r);else for(d=ht(Ai,xe,1,a+1,5,1),u=zf(t.Eb),i=2,b=0,w=0;i<=128;i<<=1)i==e?d[w++]=r:(t.Db&i)!=0&&(d[w++]=u[b++]);t.Eb=d}t.Db|=e}n(hCe,"Twd");function WPt(t,e,r){var i,a,c,u;for(this.b=new Bt,a=0,i=0,u=new N(t);u.a0&&(c=l(It(this.b,0),176),a+=c.o,i+=c.p),a*=2,i*=2,e>1?a=xi(v.Math.ceil(a*e)):i=xi(v.Math.ceil(i/e)),this.a=new kZ(a,i)}n(WPt,"vQb");function GPt(t,e,r,i,a,c){var u,d,b,w,m,x,E,A,_,D,I,K;for(m=i,e.j&&e.o?(A=l(He(t.f,e.A),60),D=A.d.c+A.d.b,--m):D=e.a.c+e.a.b,x=a,r.q&&r.o?(A=l(He(t.f,r.C),60),w=A.d.c,++x):w=r.a.c,I=w-D,b=v.Math.max(2,x-m),d=I/b,_=D+d,E=m;E=0;u+=a?1:-1){for(d=e[u],b=i==(At(),qe)?a?To(d,i):ml(To(d,i)):a?ml(To(d,i)):To(d,i),c&&(t.c[d.p]=b.gc()),x=b.Kc();x.Ob();)m=l(x.Pb(),12),t.d[m.p]=w++;bi(r,b)}}n(Net,"sMc");function XPt(t,e,r){var i,a,c,u,d,b,w,m;for(c=it(lt(t.b.Kc().Pb())),w=it(lt(sme(e.b))),i=Du(Xi(t.a),w-r),a=Du(Xi(e.a),r-c),m=Zn(i,a),Du(m,1/(w-c)),this.a=m,this.b=new Bt,d=!0,u=t.b.Kc(),u.Pb();u.Ob();)b=it(lt(u.Pb())),d&&b-r>Mit&&(this.b.Fc(r),d=!1),this.b.Fc(b);d&&this.b.Fc(r)}n(XPt,"AUc");function uCe(t){var e,r,i,a;if(ATe(t,t.n),t.d.c.length>0){for(F6(t.c);yet(t,l(P(new N(t.e.a)),125))>5,e&=31,i>=t.d)return t.e<0?(qu(),wje):(qu(),CT);if(c=t.d-i,a=ht(yn,Pn,28,c+1,15,1),n8e(a,c,t.a,i,e),t.e<0){for(r=0;r0&&t.a[r]<<32-e!=0){for(r=0;r=0?!1:(r=Uw((ec(),aa),a,e),r?(i=r.Ik(),(i>1||i==-1)&&lg(Xa(aa,r))!=3):!0)):!1}n(o0,"qke");function gCe(t,e,r,i){var a,c,u,d,b;return d=oo(l(Z((!e.b&&(e.b=new pe(en,e,4,7)),e.b),0),84)),b=oo(l(Z((!e.c&&(e.c=new pe(en,e,5,8)),e.c),0),84)),_r(d)==_r(b)||Gp(b,d)?null:(u=kx(e),u==r?i:(c=l(He(t.a,u),10),c&&(a=c.e,a)?a:null))}n(gCe,"_4b");function pCe(t,e,r){var i,a,c,u,d;for(r.Ug("Longest path to source layering",1),t.a=e,d=t.a.a,t.b=ht(yn,Pn,28,d.c.length,15,1),i=0,u=new N(d);u.a0&&(r[0]+=t.d,u-=r[0]),r[2]>0&&(r[2]+=t.d,u-=r[2]),c=v.Math.max(0,u),r[1]=v.Math.max(r[1],u),lQ(t,As,a.c+i.b+r[0]-(r[1]-u)/2,r),e==As&&(t.c.b=c,t.c.c=a.c+i.b+(c-u)/2)}n(i$t,"nKb");function a$t(){this.c=ht(qi,Ja,28,(At(),H(q(Ma,1),es,64,0,[Fo,Fe,qe,on,je])).length,15,1),this.b=ht(qi,Ja,28,H(q(Ma,1),es,64,0,[Fo,Fe,qe,on,je]).length,15,1),this.a=ht(qi,Ja,28,H(q(Ma,1),es,64,0,[Fo,Fe,qe,on,je]).length,15,1),fG(this.c,Ir),fG(this.b,mi),fG(this.a,mi)}n(a$t,"D_b");function ss(t,e,r){var i,a,c,u;if(e<=r?(a=e,c=r):(a=r,c=e),i=0,t.b==null)t.b=ht(yn,Pn,28,2,15,1),t.b[0]=a,t.b[1]=c,t.c=!0;else{if(i=t.b.length,t.b[i-1]+1==a){t.b[i-1]=c;return}u=ht(yn,Pn,28,i+2,15,1),ts(t.b,0,u,0,i),t.b=u,t.b[i-1]>=a&&(t.c=!1,t.a=!1),t.b[i++]=a,t.b[i]=c,t.c||Nw(t)}}n(ss,"rte");function xCe(t,e,r){var i,a,c,u,d,b,w;for(w=e.d,t.a=new hs(w.c.length),t.c=new sn,d=new N(w);d.a=0?t.Lh(w,!1,!0):Lg(t,r,!1),61));t:for(c=x.Kc();c.Ob();){for(a=l(c.Pb(),58),m=0;m1;)c2(a,a.i-1);return i}n(zw,"IGd");function s$t(t,e){var r,i,a,c,u,d,b;for(r=new mw,c=new N(t.b);c.at.d[u.p]&&(r+=eQ(t.b,c),Dd(t.a,Et(c)));for(;!O6(t.a);)DQ(t.b,l(x3(t.a),17).a)}return r}n(qet,"iMc");function MCe(t){var e,r,i,a,c,u,d,b,w;for(t.a=new GV,w=0,a=0,i=new N(t.i.b);i.ad.d&&(m=d.d+d.a+w));r.c.d=m,e.a.zc(r,e),b=v.Math.max(b,r.c.d+r.c.a)}return b}n(ACe,"LNb");function Oa(){Oa=tt,wq=new Bp("COMMENTS",0),Wl=new Bp("EXTERNAL_PORTS",1),FT=new Bp("HYPEREDGES",2),mq=new Bp("HYPERNODES",3),gk=new Bp("NON_FREE_PORTS",4),p4=new Bp("NORTH_SOUTH_PORTS",5),OT=new Bp(W_e,6),fk=new Bp("CENTER_LABELS",7),bk=new Bp("END_LABELS",8),yq=new Bp("PARTITIONS",9)}n(Oa,"ovc");function LCe(t,e,r,i,a){return i<0?(i=$w(t,a,H(q($t,1),Tt,2,6,[Xnt,Ynt,Qnt,Jnt,ov,Znt,trt,ert,nrt,rrt,irt,art]),e),i<0&&(i=$w(t,a,H(q($t,1),Tt,2,6,["Jan","Feb","Mar","Apr",ov,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),i<0?!1:(r.k=i,!0)):i>0?(r.k=i-1,!0):!1}n(LCe,"PA");function _Ce(t,e,r,i,a){return i<0?(i=$w(t,a,H(q($t,1),Tt,2,6,[Xnt,Ynt,Qnt,Jnt,ov,Znt,trt,ert,nrt,rrt,irt,art]),e),i<0&&(i=$w(t,a,H(q($t,1),Tt,2,6,["Jan","Feb","Mar","Apr",ov,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),i<0?!1:(r.k=i,!0)):i>0?(r.k=i-1,!0):!1}n(_Ce,"RA");function FCe(t,e,r,i,a,c){var u,d,b,w;if(d=32,i<0){if(e[0]>=t.length||(d=ea(t,e[0]),d!=43&&d!=45)||(++e[0],i=LL(t,e),i<0))return!1;d==45&&(i=-i)}return d==32&&e[0]-r==2&&a.b==2&&(b=new aB,w=b.q.getFullYear()-eb+eb-80,u=w%100,c.a=i==u,i+=(w/100|0)*100+(i=0?qd(t):x7(qd(K0(t)))),TT[e]=IB(lh(t,e),0)?qd(lh(t,e)):x7(qd(K0(lh(t,e)))),t=ha(t,5);for(;e=w&&(b=i);b&&(m=v.Math.max(m,b.a.o.a)),m>E&&(x=w,E=m)}return x}n(PCe,"gdc");function $Ce(t){var e,r,i,a,c,u,d;for(c=new D0(l(Cn(new kE),50)),d=mi,r=new N(t.d);r.amFe?ai(b,t.b):i<=mFe&&i>yFe?ai(b,t.d):i<=yFe&&i>vFe?ai(b,t.c):i<=vFe&&ai(b,t.a),c=d$t(t,b,c);return a}n(d$t,"$5c");function f$t(t,e,r,i){var a,c,u,d,b,w;for(a=(i.c+i.a)/2,Gc(e.j),Fn(e.j,a),Gc(r.e),Fn(r.e,a),w=new D6t,d=new N(t.f);d.a1,d&&(i=new xt(a,r.b),Fn(e.a,i)),I7(e.a,H(q(Fi,1),Tt,8,0,[E,x]))}n(zCe,"U7b");function Het(t,e,r){var i,a;for(e=48;r--)FS[r]=r-48<<24>>24;for(i=70;i>=65;i--)FS[i]=i-65+10<<24>>24;for(a=102;a>=97;a--)FS[a]=a-97+10<<24>>24;for(c=0;c<10;c++)WH[c]=48+c&gi;for(t=10;t<=15;t++)WH[t]=65+t-10&gi}n(Ket,"Gqe");function qCe(t,e){e.Ug("Process graph bounds",1),wt(t,(yr(),Kst),N9(KP(Np(new ne(null,new ce(t.b,16)),new Ibt)))),wt(t,Ust,N9(KP(Np(new ne(null,new ce(t.b,16)),new Pbt)))),wt(t,pYt,N9(HP(Np(new ne(null,new ce(t.b,16)),new $bt)))),wt(t,wYt,N9(HP(Np(new ne(null,new ce(t.b,16)),new Nbt)))),e.Vg()}n(qCe,"yYc");function HCe(t){var e,r,i,a,c;a=l(O(t,(Ot(),Zg)),21),c=l(O(t,$q),21),r=new xt(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),e=new wa(r),a.Hc((Rc(),Mm))&&(i=l(O(t,wk),8),c.Hc((Ec(),Ik))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),e.a=v.Math.max(r.a,i.a),e.b=v.Math.max(r.b,i.b)),jt(Dt(O(t,bst)))||vEe(t,r,e)}n(HCe,"PWb");function KCe(t,e){var r,i,a,c;for(c=To(e,(At(),on)).Kc();c.Ob();)i=l(c.Pb(),12),r=l(O(i,(Ct(),Bc)),10),r&&bh(ih(rh(ah(nh(new Dl,0),.1),t.i[e.p].d),t.i[r.p].a));for(a=To(e,Fe).Kc();a.Ob();)i=l(a.Pb(),12),r=l(O(i,(Ct(),Bc)),10),r&&bh(ih(rh(ah(nh(new Dl,0),.1),t.i[r.p].d),t.i[e.p].a))}n(KCe,"lOc");function DN(t){var e,r,i,a,c,u;if(!t.c){if(u=new t2t,e=MS,c=e.a.zc(t,e),c==null){for(i=new ze(Jo(t));i.e!=i.i.gc();)r=l(Xe(i),89),a=GL(r),J(a,90)&&Wr(u,DN(l(a,29))),bn(u,r);e.a.Bc(t)!=null,e.a.gc()==0}N4e(u),Yp(u),t.c=new uw((l(Z(bt((Ld(),Ee).o),15),19),u.i),u.g),xc(t).b&=-33}return t.c}n(DN,"oYd");function Uet(t){var e;if(t.c!=10)throw R(new Bn(Ln((Sn(),sz))));switch(e=t.a,e){case 110:e=10;break;case 114:e=13;break;case 116:e=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw R(new Bn(Ln((Sn(),Kl))))}return e}n(Uet,"Dre");function w$t(t){var e,r,i,a,c;if(t.l==0&&t.m==0&&t.h==0)return"0";if(t.h==u_&&t.m==0&&t.l==0)return"-9223372036854775808";if(t.h>>19!=0)return"-"+w$t(Sy(t));for(r=t,i="";!(r.l==0&&r.m==0&&r.h==0);){if(a=hP(gR),r=Tnt(r,a,!0),e=""+R6t(ob),!(r.l==0&&r.m==0&&r.h==0))for(c=9-e.length;c>0;c--)e="0"+e;i=e+i}return i}n(w$t,"GD");function UCe(t){var e,r,i,a,c,u,d;for(e=!1,r=0,a=new N(t.d.b);a.a=t.a||!Stt(e,r))return-1;if(ry(l(i.Kb(e),20)))return 1;for(a=0,u=l(i.Kb(e),20).Kc();u.Ob();)if(c=l(u.Pb(),18),b=c.c.i==e?c.d.i:c.c.i,d=Wet(t,b,r,i),d==-1||(a=v.Math.max(a,d),a>t.c-1))return-1;return a+1}n(Wet,"X9b");function m$t(t,e){var r,i,a,c,u,d;if(ot(e)===ot(t))return!0;if(!J(e,15)||(i=l(e,15),d=t.gc(),i.gc()!=d))return!1;if(u=i.Kc(),t.Yi()){for(r=0;r0){if(t._j(),e!=null){for(c=0;c>24;case 97:case 98:case 99:case 100:case 101:case 102:return t-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return t-65+10<<24>>24;default:throw R(new _u("Invalid hexadecimal"))}}n(Get,"JAd");function HL(){HL=tt,JUt=new ow("SPIRAL",0),VUt=new ow("LINE_BY_LINE",1),XUt=new ow("MANHATTAN",2),GUt=new ow("JITTER",3),Xat=new ow("QUADRANTS_LINE_BY_LINE",4),QUt=new ow("QUADRANTS_MANHATTAN",5),YUt=new ow("QUADRANTS_JITTER",6),WUt=new ow("COMBINE_LINE_BY_LINE_MANHATTAN",7),UUt=new ow("COMBINE_JITTER_MANHATTAN",8)}n(HL,"iIb");function v$t(t,e,r,i){var a,c,u,d,b,w;for(b=aN(t,r),w=aN(e,r),a=!1;b&&w&&(i||qye(b,w,r));)u=aN(b,r),d=aN(w,r),Ix(e),Ix(t),c=b.c,oR(b,!1),oR(w,!1),r?(e2(e,w.p,c),e.p=w.p,e2(t,b.p+1,c),t.p=b.p):(e2(t,b.p,c),t.p=b.p,e2(e,w.p+1,c),e.p=w.p),Ui(b,null),Ui(w,null),b=u,w=d,a=!0;return a}n(v$t,"Urc");function k$t(t){switch(t.g){case 0:return new Omt;case 1:return new _mt;case 3:return new V7t;case 4:return new Sft;case 5:return new Cxt;case 6:return new Fmt;case 2:return new Lmt;case 7:return new Tmt;case 8:return new Emt;default:throw R(new Le("No implementation is available for the layerer "+(t.f!=null?t.f:""+t.g)))}}n(k$t,"aDc");function QCe(t,e,r,i){var a,c,u,d,b;for(a=!1,c=!1,d=new N(i.j);d.a=e.length)throw R(new Wa("Greedy SwitchDecider: Free layer not in graph."));this.c=e[t],this.e=new ax(i),NP(this.e,this.c,(At(),je)),this.i=new ax(i),NP(this.i,this.c,qe),this.f=new RCt(this.c),this.a=!c&&a.i&&!a.s&&this.c[0].k==(De(),di),this.a&&u8e(this,t,e.length)}n(x$t,"Pmc");function C$t(t,e){var r,i,a,c,u,d;c=!t.B.Hc((Ec(),KF)),u=t.B.Hc(tlt),t.a=new lOt(u,c,t.c),t.n&&xY(t.a.n,t.n),_D(t.g,(Nh(),As),t.a),e||(i=new e8(1,c,t.c),i.n.a=t.k,C3(t.p,(At(),Fe),i),a=new e8(1,c,t.c),a.n.d=t.k,C3(t.p,on,a),d=new e8(0,c,t.c),d.n.c=t.k,C3(t.p,je,d),r=new e8(0,c,t.c),r.n.b=t.k,C3(t.p,qe,r))}n(C$t,"$Mb");function ZCe(t){var e,r,i;switch(e=l(O(t.d,(Ot(),ld)),223),e.g){case 2:r=qAe(t);break;case 3:r=(i=new Bt,Yr(ir(no(xo(xo(new ne(null,new ce(t.d.b,16)),new jdt),new Idt),new Pdt),new xdt),new i5t(i)),i);break;default:throw R(new Ga("Compaction not supported for "+e+" edges."))}hBe(t,r),Ji(new Sf(t.g),new n5t(t))}n(ZCe,"zkc");function tTe(t,e){var r,i,a,c,u,d,b;if(e.Ug("Process directions",1),r=l(O(t,(Lo(),$2)),88),r!=(ui(),Zu))for(a=hn(t.b,0);a.b!=a.d.c;){switch(i=l(cn(a),40),d=l(O(i,(yr(),vF)),17).a,b=l(O(i,kF),17).a,r.g){case 4:b*=-1;break;case 1:c=d,d=b,b=c;break;case 2:u=d,d=-b,b=u}wt(i,vF,Et(d)),wt(i,kF,Et(b))}e.Vg()}n(tTe,"qYc");function eTe(t,e){var r;return r=new p5,e&&ao(r,l(He(t.a,WF),96)),J(e,422)&&ao(r,l(He(t.a,GF),96)),J(e,366)?(ao(r,l(He(t.a,Za),96)),r):(J(e,84)&&ao(r,l(He(t.a,en),96)),J(e,207)?(ao(r,l(He(t.a,Vn),96)),r):J(e,193)?(ao(r,l(He(t.a,_c),96)),r):(J(e,326)&&ao(r,l(He(t.a,ii),96)),r))}n(eTe,"led");function nTe(t){var e,r,i,a,c,u,d,b;for(b=new rMt,d=new N(t.a);d.a0&&e=0)return!1;if(e.p=r.b,Mt(r.e,e),a==(De(),Di)||a==ws){for(u=new N(e.j);u.at.d[d.p]&&(r+=eQ(t.b,c),Dd(t.a,Et(c)))):++u;for(r+=t.b.d*u;!O6(t.a);)DQ(t.b,l(x3(t.a),17).a)}return r}n(Yet,"kMc");function O$t(t){var e,r,i,a,c,u;return c=0,e=Rl(t),e.kk()&&(c|=4),(t.Bb&wc)!=0&&(c|=2),J(t,102)?(r=l(t,19),a=Sa(r),(r.Bb&Wo)!=0&&(c|=32),a&&(Ze(Rp(a)),c|=8,u=a.t,(u>1||u==-1)&&(c|=16),(a.Bb&Wo)!=0&&(c|=64)),(r.Bb&Ea)!=0&&(c|=rm),c|=qh):J(e,469)?c|=512:(i=e.kk(),i&&(i.i&1)!=0&&(c|=256)),(t.Bb&512)!=0&&(c|=128),c}n(O$t,"pje");function bTe(t,e){var r;return t.f==flt?(r=lg(Xa((ec(),aa),e)),t.e?r==4&&e!=(V3(),qv)&&e!=(V3(),zv)&&e!=(V3(),blt)&&e!=(V3(),glt):r==2):t.d&&(t.d.Hc(e)||t.d.Hc(A3(Xa((ec(),aa),e)))||t.d.Hc(Uw((ec(),aa),t.b,e)))?!0:t.f&&Oet((ec(),t.f),px(Xa(aa,e)))?(r=lg(Xa(aa,e)),t.e?r==4:r==2):!1}n(bTe,"vke");function gTe(t){var e,r,i,a,c,u,d,b,w,m,x,E,A;for(E=-1,A=0,w=t,m=0,x=w.length;m0&&++A;++E}return A}n(gTe,"oKc");function pTe(t,e,r,i){var a,c,u,d,b,w,m,x;return u=l(yt(r,($n(),jv)),8),b=u.a,m=u.b+t,a=v.Math.atan2(m,b),a<0&&(a+=zg),a+=e,a>zg&&(a-=zg),d=l(yt(i,jv),8),w=d.a,x=d.b+t,c=v.Math.atan2(x,w),c<0&&(c+=zg),c+=e,c>zg&&(c-=zg),au(),uh(1e-10),v.Math.abs(a-c)<=1e-10||a==c||isNaN(a)&&isNaN(c)?0:ac?1:Yb(isNaN(a),isNaN(c))}n(pTe,"S2c");function PN(t){var e,r,i,a,c,u,d;for(d=new sn,i=new N(t.a.b);i.a=t.o)throw R(new EW);d=e>>5,u=e&31,c=lh(1,xn(lh(u,1))),a?t.n[r][d]=jh(t.n[r][d],c):t.n[r][d]=Si(t.n[r][d],xX(c)),c=lh(c,1),i?t.n[r][d]=jh(t.n[r][d],c):t.n[r][d]=Si(t.n[r][d],xX(c))}catch(b){throw b=Dr(b),J(b,333)?R(new Wa(Frt+t.o+"*"+t.p+Ort+e+ka+r+Drt)):R(b)}}n(UL,"TPb");function yTe(t,e,r,i){var a,c,u,d,b,w,m,x,E;for(E=new D0(new B5t(t)),d=H(q(p0,1),Xd,10,0,[e,r]),b=0,w=d.length;b0&&(i=(!t.n&&(t.n=new pt(Za,t,1,7)),l(Z(t.n,0),135)).a,!i||jn(jn((e.a+=' "',e),i),'"'))),jn(Kb(jn(Kb(jn(Kb(jn(Kb((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}n(Jet,"zCd");function D$t(t){var e,r,i;return(t.Db&64)!=0?pN(t):(e=new Wc(kKt),r=t.k,r?jn(jn((e.a+=' "',e),r),'"'):(!t.n&&(t.n=new pt(Za,t,1,7)),t.n.i>0&&(i=(!t.n&&(t.n=new pt(Za,t,1,7)),l(Z(t.n,0),135)).a,!i||jn(jn((e.a+=' "',e),i),'"'))),jn(Kb(jn(Kb(jn(Kb(jn(Kb((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}n(D$t,"OCd");function xTe(t,e){var r,i,a,c,u;for(e==(K7(),Ost)&&SC(l(cr(t.a,(n2(),eF)),15)),a=l(cr(t.a,(n2(),eF)),15).Kc();a.Ob();)switch(i=l(a.Pb(),105),r=l(It(i.j,0),113).d.j,c=new cc(i.j),ai(c,new Kdt),e.g){case 2:hN(t,c,r,(vg(),hb),1);break;case 1:case 0:u=cxe(c),hN(t,new R0(c,0,u),r,(vg(),hb),0),hN(t,new R0(c,u,c.c.length),r,hb,1)}}n(xTe,"Xnc");function NN(t,e){var r,i,a,c,u,d,b;if(e==null||e.length==0)return null;if(a=l(Cs(t.a,e),143),!a){for(i=(d=new N1(t.b).a.vc().Kc(),new Cp(d));i.a.Ob();)if(r=(c=l(i.a.Pb(),44),l(c.md(),143)),u=r.c,b=e.length,ie(u.substr(u.length-b,b),e)&&(e.length==u.length||ea(u,u.length-e.length-1)==46)){if(a)return null;a=r}a&&Va(t.a,e,a)}return a}n(NN,"sgd");function CTe(t,e){var r,i,a,c;return r=new HO,i=l(fo(no(new ne(null,new ce(t.f,16)),r),Kp(new eh,new iu,new yd,new Ib,H(q(so,1),mt,108,0,[(dc(),im),Eo]))),21),a=i.gc(),i=l(fo(no(new ne(null,new ce(e.f,16)),r),Kp(new eh,new iu,new yd,new Ib,H(q(so,1),mt,108,0,[im,Eo]))),21),c=i.gc(),aa.p?(Ci(c,on),c.d&&(d=c.o.b,e=c.a.b,c.a.b=d-e)):c.j==on&&a.p>t.p&&(Ci(c,Fe),c.d&&(d=c.o.b,e=c.a.b,c.a.b=-(d-e)));break}return a}n(TTe,"KLc");function DC(t,e,r,i,a){var c,u,d,b,w,m,x;if(!(J(e,207)||J(e,366)||J(e,193)))throw R(new Le("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return u=t.a/2,b=e.i+i-u,m=e.j+a-u,w=b+e.g+t.a,x=m+e.f+t.a,c=new Vs,Fn(c,new xt(b,m)),Fn(c,new xt(b,x)),Fn(c,new xt(w,x)),Fn(c,new xt(w,m)),d=new BN(c),ao(d,e),r&&Hn(t.b,e,d),d}n(DC,"nTb");function Qy(t,e,r){var i,a,c,u,d,b,w,m,x,E;for(c=new xt(e,r),m=new N(t.a);m.a1,d&&(i=new xt(a,r.b),Fn(e.a,i)),I7(e.a,H(q(Fi,1),Tt,8,0,[E,x]))}n(FTe,"V7b");function zl(){zl=tt,Uq=new Mp(T1,0),fF=new Mp("NIKOLOV",1),bF=new Mp("NIKOLOV_PIXEL",2),DXt=new Mp("NIKOLOV_IMPROVED",3),jXt=new Mp("NIKOLOV_IMPROVED_PIXEL",4),OXt=new Mp("DUMMYNODE_PERCENTAGE",5),IXt=new Mp("NODECOUNT_PERCENTAGE",6),Wq=new Mp("NO_BOUNDARY",7),I2=new Mp("MODEL_ORDER_LEFT_TO_RIGHT",8),km=new Mp("MODEL_ORDER_RIGHT_TO_LEFT",9)}n(zl,"aEc");function OTe(t){var e,r,i,a,c;for(i=t.length,e=new D6,c=0;c=40,u&&jSe(t),HEe(t),uCe(t),r=ZFt(t),i=0;r&&i0&&Fn(t.f,c)):(t.c[u]-=w+1,t.c[u]<=0&&t.a[u]>0&&Fn(t.e,c))))}n(ont,"TFc");function G$t(t,e,r,i){var a,c,u,d,b,w,m;for(b=new xt(r,i),Ti(b,l(O(e,(yr(),Ek)),8)),m=hn(e.b,0);m.b!=m.d.c;)w=l(cn(m),40),Zn(w.e,b),Fn(t.b,w);for(d=l(fo(OY(new ne(null,new ce(e.a,16))),hc(new Ua,new Oo,new Yo,H(q(so,1),mt,108,0,[(dc(),Eo)]))),15).Kc();d.Ob();){for(u=l(d.Pb(),65),c=hn(u.a,0);c.b!=c.d.c;)a=l(cn(c),8),a.a+=b.a,a.b+=b.b;Fn(t.a,u)}}n(G$t,"FVc");function snt(t,e){var r,i,a,c;if(0<(J(t,16)?l(t,16).gc():G1(t.Kc()))){if(a=e,1=0&&bc*2?(m=new yA(x),w=Qs(u)/Pc(u),b=hR(m,e,new t3,r,i,a,w),Zn(Oh(m.e),b),x.c.length=0,c=0,Te(x.c,m),Te(x.c,u),c=Qs(m)*Pc(m)+Qs(u)*Pc(u)):(Te(x.c,u),c+=Qs(u)*Pc(u));return x}n(YTe,"erd");function X$t(t,e){var r,i,a,c,u,d;if(d=l(O(e,(Ot(),Jr)),101),d==(Ri(),k0)||d==ys)for(a=new xt(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a).b,u=new N(t.a);u.ar?e:r;w<=x;++w)w==r?d=i++:(c=a[w],m=_.am(c.Lk()),w==e&&(b=w==x&&!m?i-1:i),m&&++i);return E=l(J7(t,e,r),76),d!=b&&E5(t,new Fx(t.e,7,u,Et(d),A.md(),b)),E}}else return l(TN(t,e,r),76);return l(J7(t,e,r),76)}n(QTe,"uge");function JTe(t,e){var r,i,a,c,u,d,b;for(e.Ug("Port order processing",1),b=l(O(t,(Ot(),dXt)),430),i=new N(t.b);i.a=0&&(d=Gye(t,u),!(d&&(w<22?b.l|=1<>>1,u.m=m>>>1|(x&1)<<21,u.l=E>>>1|(m&1)<<21,--w;return r&&e$(b),c&&(i?(ob=Sy(t),a&&(ob=D_t(ob,(cy(),cUt)))):ob=ks(t.l,t.m,t.h)),b}n(tSe,"lD");function eSe(t,e){var r,i,a,c,u,d,b,w,m,x;for(w=t.e[e.c.p][e.p]+1,b=e.c.a.c.length+1,d=new N(t.a);d.a0&&(_e(0,t.length),t.charCodeAt(0)==45||(_e(0,t.length),t.charCodeAt(0)==43))?1:0,i=u;ir)throw R(new _u(f2+t+'"'));return d}n(el,"Oeb");function nSe(t){var e,r,i,a,c,u,d;for(u=new Ar,c=new N(t.a);c.a1)&&e==1&&l(t.a[t.b],10).k==(De(),rs)?Y3(l(t.a[t.b],10),(tl(),y0)):i&&(!r||(t.c-t.b&t.a.length-1)>1)&&e==1&&l(t.a[t.c-1&t.a.length-1],10).k==(De(),rs)?Y3(l(t.a[t.c-1&t.a.length-1],10),(tl(),mb)):(t.c-t.b&t.a.length-1)==2?(Y3(l(H7(t),10),(tl(),y0)),Y3(l(H7(t),10),mb)):F9e(t,a),ZY(t)}n(Q$t,"Wdc");function aSe(t,e,r){var i,a,c,u,d;for(c=0,a=new ze((!t.a&&(t.a=new pt(Vn,t,10,11)),t.a));a.e!=a.i.gc();)i=l(Xe(a),27),u="",(!i.n&&(i.n=new pt(Za,i,1,7)),i.n).i==0||(u=l(Z((!i.n&&(i.n=new pt(Za,i,1,7)),i.n),0),135).a),d=new n$(c++,e,u),ao(d,i),wt(d,(yr(),eS),i),d.e.b=i.j+i.f/2,d.f.a=v.Math.max(i.g,1),d.e.a=i.i+i.g/2,d.f.b=v.Math.max(i.f,1),Fn(e.b,d),fs(r.f,i,d)}n(aSe,"QVc");function oSe(t){var e,r,i,a,c;i=l(O(t,(Ct(),lr)),27),c=l(yt(i,(Ot(),Zg)),181).Hc((Rc(),cp)),t.e||(a=l(O(t,ms),21),e=new xt(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),a.Hc((Oa(),Wl))?(fr(i,Jr,(Ri(),ys)),Og(i,e.a,e.b,!1,!0)):jt(Dt(yt(i,bst)))||Og(i,e.a,e.b,!0,!0)),c?fr(i,Zg,Jt(cp)):fr(i,Zg,(r=l(_h(xS),9),new cl(r,l(sh(r,r.length),9),0)))}n(oSe,"L5b");function sSe(t,e,r){var i,a,c,u;if(e[0]>=t.length)return r.o=0,!0;switch(ea(t,e[0])){case 43:a=1;break;case 45:a=-1;break;default:return r.o=0,!0}if(++e[0],c=e[0],u=LL(t,e),u==0&&e[0]==c)return!1;if(e[0]d&&(d=a,m.c.length=0),a==d&&Mt(m,new ki(r.c.i,r)));de(),ai(m,t.c),ng(t.b,b.p,m)}}n(hSe,"jRc");function uSe(t,e){var r,i,a,c,u,d,b,w,m;for(u=new N(e.b);u.ad&&(d=a,m.c.length=0),a==d&&Mt(m,new ki(r.d.i,r)));de(),ai(m,t.c),ng(t.f,b.p,m)}}n(uSe,"kRc");function dSe(t,e){var r,i,a,c,u,d,b,w;if(w=Dt(O(e,(Lo(),Mqe))),w==null||(Ie(w),w)){for(Pke(t,e),a=new Bt,b=hn(e.b,0);b.b!=b.d.c;)u=l(cn(b),40),r=Gtt(t,u,null),r&&(ao(r,e),Te(a.c,r));if(t.a=null,t.b=null,a.c.length>1)for(i=new N(a);i.a=0&&d!=r&&(c=new _i(t,1,d,u,null),i?i.nj(c):i=c),r>=0&&(c=new _i(t,1,r,d==r?u:null,e),i?i.nj(c):i=c)),i}n(nl,"xvd");function J$t(t){var e,r,i;if(t.b==null){if(i=new F0,t.i!=null&&(Ia(i,t.i),i.a+=":"),(t.f&256)!=0){for((t.f&256)!=0&&t.a!=null&&(Lde(t.i)||(i.a+="//"),Ia(i,t.a)),t.d!=null&&(i.a+="/",Ia(i,t.d)),(t.f&16)!=0&&(i.a+="/"),e=0,r=t.j.length;eE?!1:(x=(b=S8(i,E,!1),b.a),m+d+x<=e.b&&(Ox(r,c-r.s),r.c=!0,Ox(i,c-r.s),gC(i,r.s,r.t+r.d+d),i.k=!0,bJ(r.q,i),A=!0,a&&(TA(e,i),i.j=e,t.c.length>u&&(mC((ue(u,t.c.length),l(t.c[u],186)),i),(ue(u,t.c.length),l(t.c[u],186)).a.c.length==0&&q0(t,u)))),A)}n(mSe,"K8c");function ySe(t,e){var r,i,a,c,u,d;if(e.Ug("Partition midprocessing",1),a=new dg,Yr(ir(new ne(null,new ce(t.a,16)),new k0t),new U4t(a)),a.d!=0){for(d=l(fo(IY((c=a.i,new ne(null,(c||(a.i=new yw(a,a.c))).Nc()))),hc(new Ua,new Oo,new Yo,H(q(so,1),mt,108,0,[(dc(),Eo)]))),15),i=d.Kc(),r=l(i.Pb(),17);i.Ob();)u=l(i.Pb(),17),uxe(l(cr(a,r),21),l(cr(a,u),21)),r=u;e.Vg()}}n(ySe,"Qfc");function eNt(t,e,r){var i,a,c,u,d,b,w,m;if(e.p==0){for(e.p=1,u=r,u||(a=new Bt,c=(i=l(_h(Ma),9),new cl(i,l(sh(i,i.length),9),0)),u=new ki(a,c)),l(u.a,15).Fc(e),e.k==(De(),di)&&l(u.b,21).Fc(l(O(e,(Ct(),Ro)),64)),b=new N(e.j);b.a0){if(a=l(t.Ab.g,2033),e==null){for(c=0;cr.s&&du)return At(),qe;break;case 4:case 3:if(m<0)return At(),Fe;if(m+r>c)return At(),on}return b=(w+d/2)/u,i=(m+r/2)/c,b+i<=1&&b-i<=0?(At(),je):b+i>=1&&b-i>=0?(At(),qe):i<.5?(At(),Fe):(At(),on)}n(iNt,"c2b");function TSe(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_,D;for(r=!1,m=it(lt(O(e,(Ot(),j2)))),_=tb*m,a=new N(e.b);a.ab+_&&(D=x.g+E.g,E.a=(E.g*E.a+x.g*x.a)/D,E.g=D,x.f=E,r=!0)),c=d,x=E;return r}n(TSe,"PNc");function aNt(t,e,r,i,a,c,u){var d,b,w,m,x,E;for(E=new d3,w=e.Kc();w.Ob();)for(d=l(w.Pb(),853),x=new N(d.Rf());x.a0?d.a?(w=d.b.Mf().b,a>w&&(t.v||d.c.d.c.length==1?(u=(a-w)/2,d.d.d=u,d.d.a=u):(r=l(It(d.c.d,0),187).Mf().b,i=(r-w)/2,d.d.d=v.Math.max(0,i),d.d.a=a-i-w))):d.d.a=t.t+a:m7(t.u)&&(c=Att(d.b),c.d<0&&(d.d.d=-c.d),c.d+c.a>d.b.Mf().b&&(d.d.a=c.d+c.a-d.b.Mf().b))}n(ESe,"HNb");function gh(){gh=tt,kv=new Ki(($n(),jF),Et(1)),Nz=new Ki(op,80),tPe=new Ki(zJt,5),KIe=new Ki(O4,N8),JIe=new Ki(Xct,Et(1)),ZIe=new Ki(Yct,(Se(),!0)),gWt=new Qb(50),YIe=new Ki(of,gWt),dWt=OF,pWt=bS,UIe=new Ki(Nct,!1),bWt=DF,VIe=Sm,XIe=wb,GIe=ap,WIe=P4,QIe=Em,fWt=(Ntt(),PIe),sot=zIe,$z=IIe,oot=$Ie,wWt=RIe,rPe=_k,iPe=CH,nPe=IF,ePe=xH,mWt=(N3(),Am),new Ki(Pv,mWt)}n(gh,"yVb");function BSe(t,e){var r;switch(zx(t)){case 6:return Oi(e);case 7:return Lp(e);case 8:return Ap(e);case 3:return Array.isArray(e)&&(r=zx(e),!(r>=14&&r<=16));case 11:return e!=null&&typeof e===qnt;case 12:return e!=null&&(typeof e===i_||typeof e==qnt);case 0:return N$(e,t.__elementTypeId$);case 2:return yI(e)&&e.Tm!==nn;case 1:return yI(e)&&e.Tm!==nn||N$(e,t.__elementTypeId$);default:return!0}}n(BSe,"VC");function MSe(t){var e,r,i,a;i=t.o,Op(),t.A.dc()||er(t.A,eWt)?a=i.a:(t.D?a=v.Math.max(i.a,d8(t.f)):a=d8(t.f),t.A.Hc((Rc(),qF))&&!t.B.Hc((Ec(),CS))&&(a=v.Math.max(a,d8(l(Pa(t.p,(At(),Fe)),252))),a=v.Math.max(a,d8(l(Pa(t.p,on),252)))),e=v_t(t),e&&(a=v.Math.max(a,e.a))),jt(Dt(t.e.Tf().of(($n(),Sm))))?i.a=v.Math.max(i.a,a):i.a=a,r=t.f.i,r.c=0,r.b=a,WN(t.f)}n(MSe,"gNb");function oNt(t,e){var r,i,a,c;return i=v.Math.min(v.Math.abs(t.c-(e.c+e.b)),v.Math.abs(t.c+t.b-e.c)),c=v.Math.min(v.Math.abs(t.d-(e.d+e.a)),v.Math.abs(t.d+t.a-e.d)),r=v.Math.abs(t.c+t.b/2-(e.c+e.b/2)),r>t.b/2+e.b/2||(a=v.Math.abs(t.d+t.a/2-(e.d+e.a/2)),a>t.a/2+e.a/2)?1:r==0&&a==0?0:r==0?c/a+1:a==0?i/r+1:v.Math.min(i/r,c/a)+1}n(oNt,"oRb");function ASe(t,e){var r,i,a,c,u,d,b;for(c=0,d=0,b=0,a=new N(t.f.e);a.a0&&t.d!=(D7(),hot)&&(d+=u*(i.d.a+t.a[e.a][i.a]*(e.d.a-i.d.a)/r)),r>0&&t.d!=(D7(),cot)&&(b+=u*(i.d.b+t.a[e.a][i.a]*(e.d.b-i.d.b)/r)));switch(t.d.g){case 1:return new xt(d/c,e.d.b);case 2:return new xt(e.d.a,b/c);default:return new xt(d/c,b/c)}}n(ASe,"oWb");function sNt(t){var e,r,i,a,c,u;for(r=(!t.a&&(t.a=new ci(Al,t,5)),t.a).i+2,u=new hs(r),Mt(u,new xt(t.j,t.k)),Yr(new ne(null,(!t.a&&(t.a=new ci(Al,t,5)),new ce(t.a,16))),new wyt(u)),Mt(u,new xt(t.b,t.c)),e=1;e0&&(Zx(b,!1,(ui(),lo)),Zx(b,!0,po)),Ts(e.g,new v8t(t,r)),Hn(t.g,e,r)}n(lNt,"Bkc");function hNt(){hNt=tt;var t;for(pUt=H(q(yn,1),Pn,28,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),Iat=ht(yn,Pn,28,37,15,1),bje=H(q(yn,1),Pn,28,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),wUt=ht(Mb,grt,28,37,14,1),t=2;t<=36;t++)Iat[t]=xi(v.Math.pow(t,pUt[t])),wUt[t]=vC(c_,Iat[t])}n(hNt,"Ugb");function LSe(t){var e;if((!t.a&&(t.a=new pt(Lr,t,6,6)),t.a).i!=1)throw R(new Le(tOe+(!t.a&&(t.a=new pt(Lr,t,6,6)),t.a).i));return e=new Vs,Qx(l(Z((!t.b&&(t.b=new pe(en,t,4,7)),t.b),0),84))&&Vi(e,JRt(t,Qx(l(Z((!t.b&&(t.b=new pe(en,t,4,7)),t.b),0),84)),!1)),Qx(l(Z((!t.c&&(t.c=new pe(en,t,5,8)),t.c),0),84))&&Vi(e,JRt(t,Qx(l(Z((!t.c&&(t.c=new pe(en,t,5,8)),t.c),0),84)),!0)),e}n(LSe,"tsd");function uNt(t,e){var r,i,a,c,u;for(e.d?a=t.a.c==($u(),P2)?Mi(e.b):ri(e.b):a=t.a.c==($u(),nf)?Mi(e.b):ri(e.b),c=!1,i=new We(Ve(a.a.Kc(),new et));un(i);)if(r=l(tn(i),18),u=jt(t.a.f[t.a.g[e.b.p].p]),!(!u&&!va(r)&&r.c.i.c==r.d.i.c)&&!(jt(t.a.n[t.a.g[e.b.p].p])||jt(t.a.n[t.a.g[e.b.p].p]))&&(c=!0,Fh(t.b,t.a.g[Aye(r,e.b).p])))return e.c=!0,e.a=r,e;return e.c=c,e.a=null,e}n(uNt,"zRc");function lnt(t,e,r){var i,a,c,u,d,b,w;if(i=r.gc(),i==0)return!1;if(t.Pj())if(b=t.Qj(),wZ(t,e,r),u=i==1?t.Ij(3,null,r.Kc().Pb(),e,b):t.Ij(5,null,r,e,b),t.Mj()){for(d=i<100?null:new xd(i),c=e+i,a=e;a0){for(u=0;u>16==-15&&t.Cb.Yh()&&CP(new mP(t.Cb,9,13,r,t.c,Z0(Cc(l(t.Cb,62)),t))):J(t.Cb,90)&&t.Db>>16==-23&&t.Cb.Yh()&&(e=t.c,J(e,90)||(e=(he(),Mh)),J(r,90)||(r=(he(),Mh)),CP(new mP(t.Cb,9,10,r,e,Z0(Jo(l(t.Cb,29)),t)))))),t.c}n(GL,"i2d");function OSe(t,e,r){var i,a,c,u,d,b,w,m,x;for(r.Ug("Hyperedge merging",1),n9e(t,e),b=new Wi(e.b,0);b.b0,d=QA(e,c),P9t(r?d.b:d.g,e),Lw(d).c.length==1&&Kr(i,d,i.c.b,i.c),a=new ki(c,e),Dd(t.o,a),$s(t.e.a,c))}n(jSe,"wJb");function mNt(t,e){var r,i,a,c,u,d,b;return i=v.Math.abs(SM(t.b).a-SM(e.b).a),d=v.Math.abs(SM(t.b).b-SM(e.b).b),a=0,b=0,r=1,u=1,i>t.b.b/2+e.b.b/2&&(a=v.Math.min(v.Math.abs(t.b.c-(e.b.c+e.b.b)),v.Math.abs(t.b.c+t.b.b-e.b.c)),r=1-a/i),d>t.b.a/2+e.b.a/2&&(b=v.Math.min(v.Math.abs(t.b.d-(e.b.d+e.b.a)),v.Math.abs(t.b.d+t.b.a-e.b.d)),u=1-b/d),c=v.Math.min(r,u),(1-c)*v.Math.sqrt(i*i+d*d)}n(mNt,"SQb");function ISe(t){var e,r,i,a;for(lR(t,t.e,t.f,(fg(),gb),!0,t.c,t.i),lR(t,t.e,t.f,gb,!1,t.c,t.i),lR(t,t.e,t.f,B4,!0,t.c,t.i),lR(t,t.e,t.f,B4,!1,t.c,t.i),FSe(t,t.c,t.e,t.f,t.i),i=new Wi(t.i,0);i.b=65;r--)i1[r]=r-65<<24>>24;for(i=122;i>=97;i--)i1[i]=i-97+26<<24>>24;for(a=57;a>=48;a--)i1[a]=a-48+52<<24>>24;for(i1[43]=62,i1[47]=63,c=0;c<=25;c++)ff[c]=65+c&gi;for(u=26,b=0;u<=51;++u,b++)ff[u]=97+b&gi;for(t=52,d=0;t<=61;++t,d++)ff[t]=48+d&gi;ff[62]=43,ff[63]=47}n(dnt,"zqe");function yNt(t,e){var r,i,a,c,u,d;return a=lJ(t),d=lJ(e),a==d?t.e==e.e&&t.a<54&&e.a<54?t.fe.f?1:0:(i=t.e-e.e,r=(t.d>0?t.d:v.Math.floor((t.a-1)*zLe)+1)-(e.d>0?e.d:v.Math.floor((e.a-1)*zLe)+1),r>i+1?a:r0&&(u=Tw(u,LNt(i))),AOt(c,u))):aw&&(E=0,A+=b+e,b=0),Qy(u,E,A),r=v.Math.max(r,E+m.a),b=v.Math.max(b,m.b),E+=m.a+e;return new xt(r+e,A+b+e)}n($Se,"H$b");function fnt(t,e){var r,i,a,c,u,d,b;if(!su(t))throw R(new Ga(ZFe));if(i=su(t),c=i.g,a=i.f,c<=0&&a<=0)return At(),Fo;switch(d=t.i,b=t.j,e.g){case 2:case 1:if(d<0)return At(),je;if(d+t.g>c)return At(),qe;break;case 4:case 3:if(b<0)return At(),Fe;if(b+t.f>a)return At(),on}return u=(d+t.g/2)/c,r=(b+t.f/2)/a,u+r<=1&&u-r<=0?(At(),je):u+r>=1&&u-r>=0?(At(),qe):r<.5?(At(),Fe):(At(),on)}n(fnt,"osd");function NSe(t,e,r,i,a){var c,u;if(c=la(Si(e[0],Na),Si(i[0],Na)),t[0]=xn(c),c=rg(c,32),r>=a){for(u=1;u0&&(a.b[u++]=0,a.b[u++]=c.b[0]-1),e=1;e0&&(lD(b,b.d-a.d),a.c==(Ih(),bb)&&Cae(b,b.a-a.d),b.d<=0&&b.i>0&&Kr(e,b,e.c.b,e.c)));for(c=new N(t.f);c.a0&&(PE(d,d.i-a.d),a.c==(Ih(),bb)&&Tae(d,d.b-a.d),d.i<=0&&d.d>0&&Kr(r,d,r.c.b,r.c)))}n(bnt,"wSc");function qSe(t,e,r,i,a){var c,u,d,b,w,m,x,E,A;for(de(),ai(t,new Lpt),u=cx(t),A=new Bt,E=new Bt,d=null,b=0;u.b!=0;)c=l(u.b==0?null:(Je(u.b!=0),bl(u,u.a.a)),163),!d||Qs(d)*Pc(d)/21&&(b>Qs(d)*Pc(d)/2||u.b==0)&&(x=new yA(E),m=Qs(d)/Pc(d),w=hR(x,e,new t3,r,i,a,m),Zn(Oh(x.e),w),d=x,Te(A.c,x),b=0,E.c.length=0));return bi(A,E),A}n(qSe,"drd");function ts(t,e,r,i,a){z1();var c,u,d,b,w,m,x;if(nY(t,"src"),nY(r,"dest"),x=Nc(t),b=Nc(r),kX((x.i&4)!=0,"srcType is not an array"),kX((b.i&4)!=0,"destType is not an array"),m=x.c,u=b.c,kX((m.i&1)!=0?m==u:(u.i&1)==0,"Array types don't match"),Bme(t,e,r,i,a),(m.i&1)==0&&x!=b)if(w=zf(t),c=zf(r),ot(t)===ot(r)&&ei;)Hr(c,d,w[--e]);else for(d=i+a;i0),i.a.Xb(i.c=--i.b),x>E+b&&$c(i);for(u=new N(A);u.a0),i.a.Xb(i.c=--i.b)}}n(HSe,"uUc");function KSe(){Jn();var t,e,r,i,a,c;if(plt)return plt;for(t=(++Vr,new Xc(4)),u2(t,Gd(Tat,!0)),M8(t,Gd("M",!0)),M8(t,Gd("C",!0)),c=(++Vr,new Xc(4)),i=0;i<11;i++)ss(c,i,i);return e=(++Vr,new Xc(4)),u2(e,Gd("M",!0)),ss(e,4448,4607),ss(e,65438,65439),a=(++Vr,new o7(2)),Zf(a,t),Zf(a,DS),r=(++Vr,new o7(2)),r.Jm(gM(c,Gd("L",!0))),r.Jm(e),r=(++Vr,new qp(3,r)),r=(++Vr,new eY(a,r)),plt=r,plt}n(KSe,"gte");function h2(t,e){var r,i,a,c,u,d,b,w;for(r=new RegExp(e,"g"),b=ht($t,Tt,2,0,6,1),i=0,w=t,c=null;;)if(d=r.exec(w),d==null||w==""){b[i]=w;break}else u=d.index,b[i]=(Gi(0,u,w.length),w.substr(0,u)),w=hl(w,u+d[0].length,w.length),r.lastIndex=0,c==w&&(b[i]=(Gi(0,1,w.length),w.substr(0,1)),w=(_e(1,w.length+1),w.substr(1))),c=w,++i;if(t.length>0){for(a=b.length;a>0&&b[a-1]=="";)--a;a0&&(x-=i[0]+t.c,i[0]+=t.c),i[2]>0&&(x-=i[2]+t.c),i[1]=v.Math.max(i[1],x),yM(t.a[1],r.c+e.b+i[0]-(i[1]-x)/2,i[1]);for(c=t.a,d=0,w=c.length;d0?(t.n.c.length-1)*t.i:0,i=new N(t.n);i.a1)for(i=hn(a,0);i.b!=i.d.c;)for(r=l(cn(i),235),c=0,b=new N(r.e);b.a0&&(e[0]+=t.c,x-=e[0]),e[2]>0&&(x-=e[2]+t.c),e[1]=v.Math.max(e[1],x),vM(t.a[1],i.d+r.d+e[0]-(e[1]-x)/2,e[1]);else for(_=i.d+r.d,A=i.a-r.d-r.a,u=t.a,b=0,m=u.length;b0||Tg(a.b.d,t.b.d+t.b.a)==0&&i.b<0||Tg(a.b.d+a.b.a,t.b.d)==0&&i.b>0){d=0;break}}else d=v.Math.min(d,mIt(t,a,i));d=v.Math.min(d,CNt(t,c,d,i))}return d}n(CNt,"FQb");function $C(t,e){var r,i,a,c,u,d,b;if(t.b<2)throw R(new Le("The vector chain must contain at least a source and a target point."));for(a=(Je(t.b!=0),l(t.a.a.c,8)),X9(e,a.a,a.b),b=new b3((!e.a&&(e.a=new ci(Al,e,5)),e.a)),u=hn(t,1);u.a=0&&c!=r))throw R(new Le(O_));for(a=0,b=0;bit(ou(u.g,u.d[0]).a)?(Je(b.b>0),b.a.Xb(b.c=--b.b),Dp(b,u),a=!0):d.e&&d.e.gc()>0&&(c=(!d.e&&(d.e=new Bt),d.e).Mc(e),w=(!d.e&&(d.e=new Bt),d.e).Mc(r),(c||w)&&((!d.e&&(d.e=new Bt),d.e).Fc(u),++u.c));a||Te(i.c,u)}n(YSe,"lJc");function QSe(t,e,r){var i,a,c,u,d,b,w,m,x,E,A,_,D,I,K;return x=t.a.i+t.a.g/2,E=t.a.i+t.a.g/2,_=e.i+e.g/2,I=e.j+e.f/2,d=new xt(_,I),w=l(yt(e,($n(),jv)),8),w.a=w.a+x,w.b=w.b+E,c=(d.b-w.b)/(d.a-w.a),i=d.b-c*d.a,D=r.i+r.g/2,K=r.j+r.f/2,b=new xt(D,K),m=l(yt(r,jv),8),m.a=m.a+x,m.b=m.b+E,u=(b.b-m.b)/(b.a-m.a),a=b.b-u*b.a,A=(i-a)/(u-c),w.a>>0,"0"+e.toString(16)),i="\\x"+hl(r,r.length-2,r.length)):t>=Ea?(r=(e=t>>>0,"0"+e.toString(16)),i="\\v"+hl(r,r.length-6,r.length)):i=""+String.fromCharCode(t&gi)}return i}n(NC,"zte");function BNt(t){var e,r,i;if(dw(l(O(t,(Ot(),Jr)),101)))for(r=new N(t.j);r.a=e.o&&r.f<=e.f||e.a*.5<=r.f&&e.a*1.5>=r.f){if(u=l(It(e.n,e.n.c.length-1),209),u.e+u.d+r.g+a<=i&&(c=l(It(e.n,e.n.c.length-1),209),c.f-t.f+r.f<=t.b||t.a.c.length==1))return lZ(e,r),!0;if(e.s+r.g<=i&&(e.t+e.d+r.f+a<=t.b||t.a.c.length==1))return Mt(e.b,r),d=l(It(e.n,e.n.c.length-1),209),Mt(e.n,new HM(e.s,d.f+d.a+e.i,e.i)),HZ(l(It(e.n,e.n.c.length-1),209),r),kNt(e,r),!0}return!1}n(rEe,"V8c");function ANt(t,e,r){var i,a,c,u;return t.Pj()?(a=null,c=t.Qj(),i=t.Ij(1,u=EP(t,e,r),r,e,c),t.Mj()&&!(t.Yi()&&u!=null?er(u,r):ot(u)===ot(r))?(u!=null&&(a=t.Oj(u,a)),a=t.Nj(r,a),t.Tj()&&(a=t.Wj(u,r,a)),a?(a.nj(i),a.oj()):t.Jj(i)):(t.Tj()&&(a=t.Wj(u,r,a)),a?(a.nj(i),a.oj()):t.Jj(i)),u):(u=EP(t,e,r),t.Mj()&&!(t.Yi()&&u!=null?er(u,r):ot(u)===ot(r))&&(a=null,u!=null&&(a=t.Oj(u,null)),a=t.Nj(r,a),a&&a.oj()),u)}n(ANt,"xLd");function iEe(t,e){var r,i,a,c,u;if(e.Ug("Path-Like Graph Wrapping",1),t.b.c.length==0){e.Vg();return}if(a=new vet(t),u=(a.i==null&&(a.i=hJ(a,new xU)),it(a.i)*a.f),r=u/(a.i==null&&(a.i=hJ(a,new xU)),it(a.i)),a.b>r){e.Vg();return}switch(l(O(t,(Ot(),yst)),351).g){case 2:c=new TU;break;case 0:c=new kU;break;default:c=new SU}if(i=c.og(t,a),!c.pg())switch(l(O(t,Rq),352).g){case 2:i=yIt(a,i);break;case 1:i=hjt(a,i)}ZEe(t,a,i),e.Vg()}n(iEe,"Rsc");function x8(t,e){var r,i,a,c,u,d,b,w;e%=24,t.q.getHours()!=e&&(i=new v.Date(t.q.getTime()),i.setDate(i.getDate()+1),d=t.q.getTimezoneOffset()-i.getTimezoneOffset(),d>0&&(b=d/60|0,w=d%60,a=t.q.getDate(),r=t.q.getHours(),r+b>=24&&++a,c=new v.Date(t.q.getFullYear(),t.q.getMonth(),a,e+b,t.q.getMinutes()+w,t.q.getSeconds(),t.q.getMilliseconds()),t.q.setTime(c.getTime()))),u=t.q.getTime(),t.q.setTime(u+36e5),t.q.getHours()!=e&&t.q.setTime(u)}n(x8,"mB");function aEe(t,e){var r,i,a,c;if(wbe(t.d,t.e),t.c.a.$b(),it(lt(O(e.j,(Ot(),Mq))))!=0||it(lt(O(e.j,Mq)))!=0)for(r=t4,ot(O(e.j,w0))!==ot((Ru(),ef))&&wt(e.j,(Ct(),ub),(Se(),!0)),c=l(O(e.j,HT),17).a,a=0;aa&&++w,Mt(u,(ue(d+w,e.c.length),l(e.c[d+w],17))),b+=(ue(d+w,e.c.length),l(e.c[d+w],17)).a-i,++r;r=I&&t.e[b.p]>_*t.b||Y>=r*I)&&(Te(E.c,d),d=new Bt,Vi(u,c),c.a.$b(),w-=m,A=v.Math.max(A,w*t.b+D),w+=Y,X=Y,Y=0,m=0,D=0);return new ki(A,E)}n(cEe,"DHc");function VN(t){var e,r,i,a,c,u,d;if(!t.d){if(d=new n2t,e=MS,c=e.a.zc(t,e),c==null){for(i=new ze(ro(t));i.e!=i.i.gc();)r=l(Xe(i),29),Wr(d,VN(r));e.a.Bc(t)!=null,e.a.gc()==0}for(u=d.i,a=(!t.q&&(t.q=new pt(Eh,t,11,10)),new ze(t.q));a.e!=a.i.gc();++u)l(Xe(a),411);Wr(d,(!t.q&&(t.q=new pt(Eh,t,11,10)),t.q)),Yp(d),t.d=new uw((l(Z(bt((Ld(),Ee).o),9),19),d.i),d.g),t.e=l(d.g,688),t.e==null&&(t.e=XUe),xc(t).b&=-17}return t.d}n(VN,"pYd");function tv(t,e,r,i){var a,c,u,d,b,w;if(w=Ms(t.e.Dh(),e),b=0,a=l(t.g,124),Ta(),l(e,69).xk()){for(u=0;u1||_==-1)if(x=l(D,71),E=l(m,71),x.dc())E.$b();else for(u=!!Sa(e),c=0,d=t.a?x.Kc():x.Ii();d.Ob();)w=l(d.Pb(),58),a=l(fu(t,w),58),a?(u?(b=E.dd(a),b==-1?E.Gi(c,a):c!=b&&E.Ui(c,a)):E.Gi(c,a),++c):t.b&&!u&&(E.Gi(c,w),++c);else D==null?m.Wb(null):(a=fu(t,D),a==null?t.b&&!Sa(e)&&m.Wb(D):m.Wb(a))}n(lEe,"Xje");function hEe(t,e){var r,i,a,c,u,d,b,w;for(r=new N1t,a=new We(Ve(Mi(e).a.Kc(),new et));un(a);)if(i=l(tn(a),18),!va(i)&&(d=i.c.i,Stt(d,Hz))){if(w=Wet(t,d,Hz,qz),w==-1)continue;r.b=v.Math.max(r.b,w),!r.a&&(r.a=new Bt),Mt(r.a,d)}for(u=new We(Ve(ri(e).a.Kc(),new et));un(u);)if(c=l(tn(u),18),!va(c)&&(b=c.d.i,Stt(b,qz))){if(w=Wet(t,b,qz,Hz),w==-1)continue;r.d=v.Math.max(r.d,w),!r.c&&(r.c=new Bt),Mt(r.c,b)}return r}n(hEe,"V9b");function uEe(t,e,r,i){var a,c,u,d,b,w,m;if(r.d.i!=e.i){for(a=new i0(t),Tf(a,(De(),Di)),wt(a,(Ct(),lr),r),wt(a,(Ot(),Jr),(Ri(),ys)),Te(i.c,a),u=new Zo,ko(u,a),Ci(u,(At(),je)),d=new Zo,ko(d,a),Ci(d,qe),m=r.d,Ni(r,u),c=new ug,ao(c,r),wt(c,co,null),ca(c,d),Ni(c,m),w=new Wi(r.b,0);w.b1e6)throw R(new YE("power of ten too big"));if(t<=nr)return _3(AC(yv[1],e),e);for(i=AC(yv[1],nr),a=i,r=jo(t-nr),e=xi(t%nr);Ko(r,nr)>0;)a=Tw(a,i),r=$l(r,nr);for(a=Tw(a,AC(yv[1],e)),a=_3(a,nr),r=jo(t-nr);Ko(r,nr)>0;)a=_3(a,nr),r=$l(r,nr);return a=_3(a,e),a}n(LNt,"Sjb");function _Nt(t){var e,r,i,a,c,u,d,b,w,m;for(b=new N(t.a);b.aw&&i>w)m=d,w=it(e.p[d.p])+it(e.d[d.p])+d.o.b+d.d.a;else{a=!1,r._g()&&r.bh("bk node placement breaks on "+d+" which should have been after "+m);break}if(!a)break}return r._g()&&r.bh(e+" is feasible: "+a),a}n(FNt,"XQc");function wnt(t,e,r,i){var a,c,u,d,b,w,m,x,E;if(c=new i0(t),Tf(c,(De(),ws)),wt(c,(Ot(),Jr),(Ri(),ys)),a=0,e){for(u=new Zo,wt(u,(Ct(),lr),e),wt(c,lr,e.i),Ci(u,(At(),je)),ko(u,c),E=Nu(e.e),w=E,m=0,x=w.length;m0){if(a<0&&m.a&&(a=b,c=w[0],i=0),a>=0){if(d=m.b,b==a&&(d-=i++,d==0))return 0;if(!jRt(e,w,m,d,u)){b=a-1,w[0]=c;continue}}else if(a=-1,!jRt(e,w,m,0,u))return 0}else{if(a=-1,ea(m.c,0)==32){if(x=w[0],IAt(e,w),w[0]>x)continue}else if(Jde(e,m.c,w[0])){w[0]+=m.c.length;continue}return 0}return eAe(u,r)?w[0]:0}n(pEe,"FA");function wEe(t,e,r){var i,a,c,u,d,b,w,m,x,E;for(m=new xM(new y4t(r)),d=ht(Uc,d0,28,t.f.e.c.length,16,1),ZX(d,d.length),r[e.a]=0,w=new N(t.f.e);w.a=0&&!Dw(t,m,x);)--x;a[m]=x}for(A=0;A=0&&!Dw(t,d,_);)--d;c[_]=d}for(b=0;be[E]&&Ei[b]&&UL(t,b,E,!1,!0)}n(mEe,"iPb");function mnt(t){var e,r,i,a,c,u,d,b;r=jt(Dt(O(t,(gh(),UIe)))),c=t.a.c.d,d=t.a.d.d,r?(u=Du(Ti(new xt(d.a,d.b),c),.5),b=Du(Xi(t.e),.5),e=Ti(Zn(new xt(c.a,c.b),u),b),EV(t.d,e)):(a=it(lt(O(t.a,tPe))),i=t.d,c.a>=d.a?c.b>=d.b?(i.a=d.a+(c.a-d.a)/2+a,i.b=d.b+(c.b-d.b)/2-a-t.e.b):(i.a=d.a+(c.a-d.a)/2+a,i.b=c.b+(d.b-c.b)/2+a):c.b>=d.b?(i.a=c.a+(d.a-c.a)/2+a,i.b=d.b+(c.b-d.b)/2+a):(i.a=c.a+(d.a-c.a)/2+a,i.b=c.b+(d.b-c.b)/2-a-t.e.b))}n(mnt,"hUb");function T8(t){var e,r,i,a,c,u,d,b;if(!t.f){if(b=new _U,d=new _U,e=MS,u=e.a.zc(t,e),u==null){for(c=new ze(ro(t));c.e!=c.i.gc();)a=l(Xe(c),29),Wr(b,T8(a));e.a.Bc(t)!=null,e.a.gc()==0}for(i=(!t.s&&(t.s=new pt(ac,t,21,17)),new ze(t.s));i.e!=i.i.gc();)r=l(Xe(i),179),J(r,102)&&bn(d,l(r,19));Yp(d),t.r=new CCt(t,(l(Z(bt((Ld(),Ee).o),6),19),d.i),d.g),Wr(b,t.r),Yp(b),t.f=new uw((l(Z(bt(Ee.o),5),19),b.i),b.g),xc(t).b&=-3}return t.f}n(T8,"qYd");function ONt(t){Wb(t,new Jf(Hb(Rb(qb(zb(new xf,Ng),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new EE))),St(t,Ng,Irt,Lt(lWt)),St(t,Ng,Prt,Lt(not)),St(t,Ng,dv,Lt(LIe)),St(t,Ng,b2,Lt(cWt)),St(t,Ng,Bzt,Lt(DIe)),St(t,Ng,Mzt,Lt(OIe)),St(t,Ng,Ezt,Lt(jIe)),St(t,Ng,Azt,Lt(FIe)),St(t,Ng,Izt,Lt(_Ie)),St(t,Ng,Pzt,Lt(eot)),St(t,Ng,$zt,Lt(sWt)),St(t,Ng,Nzt,Lt(jz))}n(ONt,"uSb");function XL(){XL=tt,AZt=H(q(Yl,1),v1,28,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),TUe=new RegExp(`[ +\r\f]+`);try{SS=H(q(ecn,1),xe,2114,0,[new v9((VG(),eL("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",rx((XE(),XE(),kT))))),new v9(eL("yyyy-MM-dd'T'HH:mm:ss'.'SSS",rx(kT))),new v9(eL("yyyy-MM-dd'T'HH:mm:ss",rx(kT))),new v9(eL("yyyy-MM-dd'T'HH:mm",rx(kT))),new v9(eL("yyyy-MM-dd",rx(kT)))])}catch(t){if(t=Dr(t),!J(t,82))throw R(t)}}n(XL,"qAd");function yEe(t,e){var r,i,a,c;if(a=Sc(t.d,1)!=0,i=Zet(t,e),i==0&&jt(Dt(O(e.j,(Ct(),ub)))))return 0;!jt(Dt(O(e.j,(Ct(),ub))))&&!jt(Dt(O(e.j,y4)))||ot(O(e.j,(Ot(),w0)))===ot((Ru(),ef))?e.c.mg(e.e,a):a=jt(Dt(O(e.j,ub))),OC(t,e,a,!0),jt(Dt(O(e.j,y4)))&&wt(e.j,y4,(Se(),!1)),jt(Dt(O(e.j,ub)))&&(wt(e.j,ub,(Se(),!1)),wt(e.j,y4,!0)),r=Zet(t,e);do{if(cJ(t),r==0)return 0;a=!a,c=r,OC(t,e,a,!1),r=Zet(t,e)}while(c>r);return c}n(yEe,"uKc");function DNt(t,e){var r,i,a,c;if(a=Sc(t.d,1)!=0,i=AL(t,e),i==0&&jt(Dt(O(e.j,(Ct(),ub)))))return 0;!jt(Dt(O(e.j,(Ct(),ub))))&&!jt(Dt(O(e.j,y4)))||ot(O(e.j,(Ot(),w0)))===ot((Ru(),ef))?e.c.mg(e.e,a):a=jt(Dt(O(e.j,ub))),OC(t,e,a,!0),jt(Dt(O(e.j,y4)))&&wt(e.j,y4,(Se(),!1)),jt(Dt(O(e.j,ub)))&&(wt(e.j,ub,(Se(),!1)),wt(e.j,y4,!0)),r=AL(t,e);do{if(cJ(t),r==0)return 0;a=!a,c=r,OC(t,e,a,!1),r=AL(t,e)}while(c>r);return c}n(DNt,"vKc");function ynt(t,e,r,i){var a,c,u,d,b,w,m,x,E;return b=Ti(new xt(r.a,r.b),t),w=b.a*e.b-b.b*e.a,m=e.a*i.b-e.b*i.a,x=(b.a*i.b-b.b*i.a)/m,E=w/m,m==0?w==0?(a=Zn(new xt(r.a,r.b),Du(new xt(i.a,i.b),.5)),c=jd(t,a),u=jd(Zn(new xt(t.a,t.b),e),a),d=v.Math.sqrt(i.a*i.a+i.b*i.b)*.5,c=0&&x<=1&&E>=0&&E<=1?Zn(new xt(t.a,t.b),Du(new xt(e.a,e.b),x)):null}n(ynt,"Gid");function vEe(t,e,r){var i,a,c,u,d;if(i=l(O(t,(Ot(),ost)),21),r.a>e.a&&(i.Hc((Qf(),hS))?t.c.a+=(r.a-e.a)/2:i.Hc(uS)&&(t.c.a+=r.a-e.a)),r.b>e.b&&(i.Hc((Qf(),fS))?t.c.b+=(r.b-e.b)/2:i.Hc(dS)&&(t.c.b+=r.b-e.b)),l(O(t,(Ct(),ms)),21).Hc((Oa(),Wl))&&(r.a>e.a||r.b>e.b))for(d=new N(t.a);d.ae.a&&(i.Hc((Qf(),hS))?t.c.a+=(r.a-e.a)/2:i.Hc(uS)&&(t.c.a+=r.a-e.a)),r.b>e.b&&(i.Hc((Qf(),fS))?t.c.b+=(r.b-e.b)/2:i.Hc(dS)&&(t.c.b+=r.b-e.b)),l(O(t,(Ct(),ms)),21).Hc((Oa(),Wl))&&(r.a>e.a||r.b>e.b))for(u=new N(t.a);u.a0?t.i:0)>e&&b>0&&(c=0,u+=b+t.i,a=v.Math.max(a,E),i+=b+t.i,b=0,E=0,r&&(++x,Mt(t.n,new HM(t.s,u,t.i))),d=0),E+=w.g+(d>0?t.i:0),b=v.Math.max(b,w.f),r&&HZ(l(It(t.n,x),209),w),c+=w.g+(d>0?t.i:0),++d;return a=v.Math.max(a,E),i+=b,r&&(t.r=a,t.d=i,GZ(t.j)),new ll(t.s,t.t,a,i)}n(S8,"S9c");function XN(t){var e,r,i,a,c,u,d,b,w,m,x,E;for(t.b=!1,x=Ir,b=mi,E=Ir,w=mi,i=t.e.a.ec().Kc();i.Ob();)for(r=l(i.Pb(),272),a=r.a,x=v.Math.min(x,a.c),b=v.Math.max(b,a.c+a.b),E=v.Math.min(E,a.d),w=v.Math.max(w,a.d+a.a),u=new N(r.c);u.at.o.a&&(m=(b-t.o.a)/2,d.b=v.Math.max(d.b,m),d.c=v.Math.max(d.c,m))}}n(CEe,"g6b");function TEe(t){var e,r,i,a,c,u,d,b;for(c=new AEt,tce(c,(P3(),uKe)),i=(a=zP(t,ht($t,Tt,2,0,6,1)),new x6(new sc(new zD(t,a).b)));i.bd?1:-1:PJ(t.a,e.a,c),a==-1)x=-b,m=u==b?dP(e.a,d,t.a,c):bP(e.a,d,t.a,c);else if(x=u,u==b){if(a==0)return qu(),CT;m=dP(t.a,c,e.a,d)}else m=bP(t.a,c,e.a,d);return w=new Df(x,m.length,m),M7(w),w}n(JN,"Gjb");function SEe(t,e){var r,i,a,c;if(c=wNt(e),!e.c&&(e.c=new pt(_c,e,9,9)),Yr(new ne(null,(!e.c&&(e.c=new pt(_c,e,9,9)),new ce(e.c,16))),new C4t(c)),a=l(O(c,(Ct(),ms)),21),wMe(e,a),a.Hc((Oa(),Wl)))for(i=new ze((!e.c&&(e.c=new pt(_c,e,9,9)),e.c));i.e!=i.i.gc();)r=l(Xe(i),123),WMe(t,e,c,r);return l(yt(e,(Ot(),Zg)),181).gc()!=0&&l$t(e,c),jt(Dt(O(c,lXt)))&&a.Fc(yq),Tr(c,hF)&&w6t(new vZ(it(lt(O(c,hF)))),c),ot(yt(e,gm))===ot((t0(),sf))?pLe(t,e,c):tLe(t,e,c),c}n(SEe,"c5b");function EEe(t){var e,r,i,a,c,u,d,b;for(a=new N(t.b);a.a0?hl(r.a,0,c-1):""):(Gi(0,c-1,t.length),t.substr(0,c-1)):r?r.a:t}n(cs,"nue");function BEe(t,e){var r,i,a,c,u,d,b;for(e.Ug("Sort By Input Model "+O(t,(Ot(),w0)),1),a=0,i=new N(t.b);i.a=t.b.length?(c[a++]=u.b[i++],c[a++]=u.b[i++]):i>=u.b.length?(c[a++]=t.b[r++],c[a++]=t.b[r++]):u.b[i]0?t.i:0)),++e;for(rZ(t.n,b),t.d=r,t.r=i,t.g=0,t.f=0,t.e=0,t.o=Ir,t.p=Ir,c=new N(t.b);c.a0&&(a=(!t.n&&(t.n=new pt(Za,t,1,7)),l(Z(t.n,0),135)).a,!a||jn(jn((e.a+=' "',e),a),'"'))),r=(!t.b&&(t.b=new pe(en,t,4,7)),!(t.b.i<=1&&(!t.c&&(t.c=new pe(en,t,5,8)),t.c.i<=1))),r?e.a+=" [":e.a+=" ",jn(e,fV(new DD,new ze(t.b))),r&&(e.a+="]"),e.a+=Krt,r&&(e.a+="["),jn(e,fV(new DD,new ze(t.c))),r&&(e.a+="]"),e.a)}n(INt,"qzd");function AEe(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt,_t,zt,te,ye;for(vt=t.c,gt=e.c,r=io(vt.a,t,0),i=io(gt.a,e,0),Y=l(Sg(t,(Fa(),Mc)).Kc().Pb(),12),te=l(Sg(t,Ls).Kc().Pb(),12),rt=l(Sg(e,Mc).Kc().Pb(),12),ye=l(Sg(e,Ls).Kc().Pb(),12),K=Nu(Y.e),_t=Nu(te.g),X=Nu(rt.e),zt=Nu(ye.g),e2(t,i,gt),u=X,m=0,_=u.length;m<_;++m)a=u[m],Ni(a,Y);for(d=zt,x=0,D=d.length;xm?new Pf((Ih(),Cm),r,e,w-m):w>0&&m>0&&(new Pf((Ih(),Cm),e,r,0),new Pf(Cm,r,e,0))),u)}n(knt,"PTc");function FEe(t,e,r){var i,a,c;for(t.a=new Bt,c=hn(e.b,0);c.b!=c.d.c;){for(a=l(cn(c),40);l(O(a,(Lo(),F1)),17).a>t.a.c.length-1;)Mt(t.a,new ki(t4,CHt));i=l(O(a,F1),17).a,r==(ui(),lo)||r==po?(a.e.ait(lt(l(It(t.a,i),42).b))&&uD(l(It(t.a,i),42),a.e.a+a.f.a)):(a.e.bit(lt(l(It(t.a,i),42).b))&&uD(l(It(t.a,i),42),a.e.b+a.f.b))}}n(FEe,"pXc");function PNt(t,e,r,i){var a,c,u,d,b,w,m;if(c=XA(i),d=jt(Dt(O(i,(Ot(),rXt)))),(d||jt(Dt(O(t,Oq))))&&!dw(l(O(t,Jr),101)))a=R3(c),b=cnt(t,r,r==(Fa(),Ls)?a:lC(a));else switch(b=new Zo,ko(b,t),e?(m=b.n,m.a=e.a-t.n.a,m.b=e.b-t.n.b,Hjt(m,0,0,t.o.a,t.o.b),Ci(b,iNt(b,c))):(a=R3(c),Ci(b,r==(Fa(),Ls)?a:lC(a))),u=l(O(i,(Ct(),ms)),21),w=b.j,c.g){case 2:case 1:(w==(At(),Fe)||w==on)&&u.Fc((Oa(),p4));break;case 4:case 3:(w==(At(),qe)||w==je)&&u.Fc((Oa(),p4))}return b}n(PNt,"g2b");function $Nt(t,e){var r,i,a,c,u,d;for(u=new Kf(new Ef(t.f.b).a);u.b;){if(c=kg(u),a=l(c.ld(),602),e==1){if(a.Af()!=(ui(),Gl)&&a.Af()!=Zu)continue}else if(a.Af()!=(ui(),lo)&&a.Af()!=po)continue;switch(i=l(l(c.md(),42).b,86),d=l(l(c.md(),42).a,194),r=d.c,a.Af().g){case 2:i.g.c=t.e.a,i.g.b=v.Math.max(1,i.g.b+r);break;case 1:i.g.c=i.g.c+r,i.g.b=v.Math.max(1,i.g.b-r);break;case 4:i.g.d=t.e.b,i.g.a=v.Math.max(1,i.g.a+r);break;case 3:i.g.d=i.g.d+r,i.g.a=v.Math.max(1,i.g.a-r)}}}n($Nt,"VXb");function OEe(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_,D;for(d=ht(yn,Pn,28,e.b.c.length,15,1),w=ht(mot,mt,273,e.b.c.length,0,1),b=ht(p0,Xd,10,e.b.c.length,0,1),x=t.a,E=0,A=x.length;E0&&b[i]&&(_=pw(t.b,b[i],a)),D=v.Math.max(D,a.c.c.b+_);for(c=new N(m.e);c.a1)throw R(new Le($_));b||(c=b1(e,i.Kc().Pb()),u.Fc(c))}return CJ(t,Ktt(t,e,r),u)}n(IEe,"Sfe");function QL(t,e,r){var i,a,c,u,d,b,w,m;if(o0(t.e,e))b=(Ta(),l(e,69).xk()?new hM(e,t):new G9(e,t)),_L(b.c,b.b),s7(b,l(r,16));else{for(m=Ms(t.e.Dh(),e),i=l(t.g,124),u=0;u"}b!=null&&(e.a+=""+b)}else t.e?(d=t.e.zb,d!=null&&(e.a+=""+d)):(e.a+="?",t.b?(e.a+=" super ",tR(t.b,e)):t.f&&(e.a+=" extends ",tR(t.f,e)))}n(tR,"r2d");function $Ee(t){t.b=null,t.a=null,t.o=null,t.q=null,t.v=null,t.w=null,t.B=null,t.p=null,t.Q=null,t.R=null,t.S=null,t.T=null,t.U=null,t.V=null,t.W=null,t.bb=null,t.eb=null,t.ab=null,t.H=null,t.db=null,t.c=null,t.d=null,t.f=null,t.n=null,t.r=null,t.s=null,t.u=null,t.G=null,t.J=null,t.e=null,t.j=null,t.i=null,t.g=null,t.k=null,t.t=null,t.F=null,t.I=null,t.L=null,t.M=null,t.O=null,t.P=null,t.$=null,t.N=null,t.Z=null,t.cb=null,t.K=null,t.D=null,t.A=null,t.C=null,t._=null,t.fb=null,t.X=null,t.Y=null,t.gb=!1,t.hb=!1}n($Ee,"Uae");function NEe(t){var e,r,i,a;if(i=dR((!t.c&&(t.c=Cx(jo(t.f))),t.c),0),t.e==0||t.a==0&&t.f!=-1&&t.e<0)return i;if(e=lJ(t)<0?1:0,r=t.e,a=(i.length+1+v.Math.abs(xi(t.e)),new rw),e==1&&(a.a+="-"),t.e>0)if(r-=i.length-e,r>=0){for(a.a+="0.";r>Gg.length;r-=Gg.length)OCt(a,Gg);wxt(a,Gg,xi(r)),jn(a,(_e(e,i.length+1),i.substr(e)))}else r=e-r,jn(a,hl(i,e,xi(r))),a.a+=".",jn(a,cY(i,xi(r)));else{for(jn(a,(_e(e,i.length+1),i.substr(e)));r<-Gg.length;r+=Gg.length)OCt(a,Gg);wxt(a,Gg,xi(-r))}return a.a}n(NEe,"yib");function eR(t){var e,r,i,a,c,u,d,b,w;return!(t.k!=(De(),ei)||t.j.c.length<=1||(c=l(O(t,(Ot(),Jr)),101),c==(Ri(),ys))||(a=(t2(),(t.q?t.q:(de(),de(),b0))._b(F2)?i=l(O(t,F2),203):i=l(O(Qi(t),zT),203),i),a==Kq)||!(a==E4||a==S4)&&(u=it(lt(Zp(t,qT))),e=l(O(t,dF),140),!e&&(e=new UV(u,u,u,u)),w=To(t,(At(),je)),b=e.d+e.a+(w.gc()-1)*u,b>t.o.b||(r=To(t,qe),d=e.d+e.a+(r.gc()-1)*u,d>t.o.b)))}n(eR,"BOc");function REe(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_,D,I;e.Ug("Orthogonal edge routing",1),w=it(lt(O(t,(Ot(),T4)))),r=it(lt(O(t,x4))),i=it(lt(O(t,ep))),E=new TI(0,r),I=0,u=new Wi(t.b,0),d=null,m=null,b=null,x=null;do m=u.b0?(A=(_-1)*r,d&&(A+=i),m&&(A+=i),Ae||jt(Dt(yt(b,(mu(),SF)))))&&(a=0,c+=m.b+r,Te(x.c,m),m=new RY(c,r),i=new r$(0,m.f,m,r),TA(m,i),a=0),i.b.c.length==0||!jt(Dt(yt(_r(b),(mu(),yct))))&&(b.f>=i.o&&b.f<=i.f||i.a*.5<=b.f&&i.a*1.5>=b.f)?lZ(i,b):(u=new r$(i.s+i.r+r,m.f,m,r),TA(m,u),lZ(u,b)),a=b.i+b.g;return Te(x.c,m),x}n(UNt,"U8c");function E8(t){var e,r,i,a;if(!(t.b==null||t.b.length<=2)&&!t.a){for(e=0,a=0;a=t.b[a+1])a+=2;else if(r0)for(i=new cc(l(cr(t.a,c),21)),de(),ai(i,new sW(e)),a=new Wi(c.b,0);a.b0&&i>=-6?i>=0?Y9(c,r-xi(t.e),"."):(WP(c,e-1,e-1,"0."),Y9(c,e+1,Nl(Gg,0,-xi(i)-1))):(r-e>=1&&(Y9(c,e,"."),++r),Y9(c,r,"E"),i>0&&Y9(c,++r,"+"),Y9(c,++r,""+y7(jo(i)))),t.g=c.a,t.g))}n(GNt,"zib");function YEe(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt,_t;i=it(lt(O(e,(Ot(),oXt)))),vt=l(O(e,HT),17).a,E=4,a=3,gt=20/vt,A=!1,b=0,u=nr;do{for(c=b!=1,x=b!=0,_t=0,I=t.a,X=0,rt=I.length;Xvt)?(b=2,u=nr):b==0?(b=1,u=_t):(b=0,u=_t)):(A=_t>=u||u-_t0?1:Yb(isNaN(i),isNaN(0)))>=0^(uh(E1),(v.Math.abs(d)<=E1||d==0||isNaN(d)&&isNaN(0)?0:d<0?-1:d>0?1:Yb(isNaN(d),isNaN(0)))>=0)?v.Math.max(d,i):(uh(E1),(v.Math.abs(i)<=E1||i==0||isNaN(i)&&isNaN(0)?0:i<0?-1:i>0?1:Yb(isNaN(i),isNaN(0)))>0?v.Math.sqrt(d*d+i*i):-v.Math.sqrt(d*d+i*i))}n(JEe,"Kid");function Zf(t,e){var r,i,a,c,u,d;if(e){if(!t.a&&(t.a=new GE),t.e==2){WE(t.a,e);return}if(e.e==1){for(a=0;a=Ea?Ia(r,cZ(i)):X5(r,i&gi),u=(++Vr,new HI(10,null,0)),D0e(t.a,u,d-1)):(r=(u.Mm().length+c,new D6),Ia(r,u.Mm())),e.e==0?(i=e.Km(),i>=Ea?Ia(r,cZ(i)):X5(r,i&gi)):Ia(r,e.Mm()),l(u,530).b=r.a}}n(Zf,"hue");function ZEe(t,e,r){var i,a,c,u,d,b,w,m,x,E,A,_,D,I;if(!r.dc()){for(d=0,E=0,i=r.Kc(),_=l(i.Pb(),17).a;d1&&(b=w.Hg(b,t.a,d));return b.c.length==1?l(It(b,b.c.length-1),238):b.c.length==2?qEe((ue(0,b.c.length),l(b.c[0],238)),(ue(1,b.c.length),l(b.c[1],238)),u,c):null}n(rBe,"f8c");function iBe(t,e,r){var i,a,c,u,d,b,w;for(r.Ug("Find roots",1),t.a.c.length=0,a=hn(e.b,0);a.b!=a.d.c;)i=l(cn(a),40),i.b.b==0&&(wt(i,(yr(),pb),(Se(),!0)),Mt(t.a,i));switch(t.a.c.length){case 0:c=new n$(0,e,"DUMMY_ROOT"),wt(c,(yr(),pb),(Se(),!0)),wt(c,qst,!0),Fn(e.b,c);break;case 1:break;default:for(u=new n$(0,e,VR),b=new N(t.a);b.a=v.Math.abs(i.b)?(i.b=0,c.d+c.a>u.d&&c.du.c&&c.c0){if(e=new KG(t.i,t.g),r=t.i,c=r<100?null:new xd(r),t.Tj())for(i=0;i0){for(d=t.g,w=t.i,O7(t),c=w<100?null:new xd(w),i=0;i>13|(t.m&15)<<9,a=t.m>>4&8191,c=t.m>>17|(t.h&255)<<5,u=(t.h&1048320)>>8,d=e.l&8191,b=e.l>>13|(e.m&15)<<9,w=e.m>>4&8191,m=e.m>>17|(e.h&255)<<5,x=(e.h&1048320)>>8,zt=r*d,te=i*d,ye=a*d,Be=c*d,Ke=u*d,b!=0&&(te+=r*b,ye+=i*b,Be+=a*b,Ke+=c*b),w!=0&&(ye+=r*w,Be+=i*w,Ke+=a*w),m!=0&&(Be+=r*m,Ke+=i*m),x!=0&&(Ke+=r*x),A=zt&zc,_=(te&511)<<13,E=A+_,I=zt>>22,K=te>>9,X=(ye&262143)<<4,Y=(Be&31)<<17,D=I+K+X+Y,vt=ye>>18,gt=Be>>5,_t=(Ke&4095)<<8,rt=vt+gt+_t,D+=E>>22,E&=zc,rt+=D>>22,D&=zc,rt&=id,ks(E,D,rt)}n(oBe,"wD");function XNt(t){var e,r,i,a,c,u,d;if(d=l(It(t.j,0),12),d.g.c.length!=0&&d.e.c.length!=0)throw R(new Ga("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(d.g.c.length!=0){for(c=Ir,r=new N(d.g);r.a4)if(t.fk(e)){if(t.al()){if(a=l(e,54),i=a.Eh(),b=i==t.e&&(t.ml()?a.yh(a.Fh(),t.il())==t.jl():-1-a.Fh()==t.Lj()),t.nl()&&!b&&!i&&a.Jh()){for(c=0;c0&&Yjt(t,d,x);for(a=new N(x);a.at.d[u.p]&&(r+=eQ(t.b,c)*l(b.b,17).a,Dd(t.a,Et(c)));for(;!O6(t.a);)DQ(t.b,l(x3(t.a),17).a)}return r}n(cBe,"mMc");function lBe(t,e){var r,i,a,c,u,d,b,w,m,x;if(m=l(O(t,(Ct(),Ro)),64),i=l(It(t.j,0),12),m==(At(),Fe)?Ci(i,on):m==on&&Ci(i,Fe),l(O(e,(Ot(),Zg)),181).Hc((Rc(),cp))){if(b=it(lt(O(t,kk))),w=it(lt(O(t,xk))),u=it(lt(O(t,vm))),d=l(O(e,mm),21),d.Hc((fc(),ud)))for(r=w,x=t.o.a/2-i.n.a,c=new N(i.f);c.a0&&(w=t.n.a/c);break;case 2:case 4:a=t.i.o.b,a>0&&(w=t.n.b/a)}wt(t,(Ct(),M2),w)}if(b=t.o,u=t.a,i)u.a=i.a,u.b=i.b,t.d=!0;else if(e!=e1&&e!=vb&&d!=Fo)switch(d.g){case 1:u.a=b.a/2;break;case 2:u.a=b.a,u.b=b.b/2;break;case 3:u.a=b.a/2,u.b=b.b;break;case 4:u.b=b.b/2}else u.a=b.a/2,u.b=b.b/2}n(fBe,"m2b");function B8(t){var e,r,i,a,c,u,d,b,w,m;if(t.Pj())if(m=t.Ej(),b=t.Qj(),m>0)if(e=new fJ(t.pj()),r=m,c=r<100?null:new xd(r),ex(t,r,e.g),a=r==1?t.Ij(4,Z(e,0),null,0,b):t.Ij(6,e,null,-1,b),t.Mj()){for(i=new ze(e);i.e!=i.i.gc();)c=t.Oj(Xe(i),c);c?(c.nj(a),c.oj()):t.Jj(a)}else c?(c.nj(a),c.oj()):t.Jj(a);else ex(t,t.Ej(),t.Fj()),t.Jj(t.Ij(6,(de(),Ba),null,-1,b));else if(t.Mj())if(m=t.Ej(),m>0){for(d=t.Fj(),w=m,ex(t,m,d),c=w<100?null:new xd(w),i=0;i1&&Qs(u)*Pc(u)/2>d[0]){for(c=0;cd[c];)++c;_=new R0(D,0,c+1),x=new yA(_),m=Qs(u)/Pc(u),b=hR(x,e,new t3,r,i,a,m),Zn(Oh(x.e),b),y3(Ky(E,x),j8),A=new R0(D,c+1,D.c.length),QZ(E,A),D.c.length=0,w=0,YCt(d,d.length,0)}else I=E.b.c.length==0?null:It(E.b,0),I!=null&&$P(E,0),w>0&&(d[w]=d[w-1]),d[w]+=Qs(u)*Pc(u),++w,Te(D.c,u);return D}n(bBe,"frd");function gBe(t,e){var r,i,a,c;r=e.b,c=new cc(r.j),a=0,i=r.j,i.c.length=0,ig(l(Hf(t.b,(At(),Fe),(vg(),S2)),15),r),a=bC(c,a,new Wdt,i),ig(l(Hf(t.b,Fe,hb),15),r),a=bC(c,a,new Ndt,i),ig(l(Hf(t.b,Fe,T2),15),r),ig(l(Hf(t.b,qe,S2),15),r),ig(l(Hf(t.b,qe,hb),15),r),a=bC(c,a,new Gdt,i),ig(l(Hf(t.b,qe,T2),15),r),ig(l(Hf(t.b,on,S2),15),r),a=bC(c,a,new Vdt,i),ig(l(Hf(t.b,on,hb),15),r),a=bC(c,a,new Xdt,i),ig(l(Hf(t.b,on,T2),15),r),ig(l(Hf(t.b,je,S2),15),r),a=bC(c,a,new qdt,i),ig(l(Hf(t.b,je,hb),15),r),ig(l(Hf(t.b,je,T2),15),r)}n(gBe,"_nc");function pBe(t,e,r){var i,a,c,u,d,b,w,m,x,E,A;for(d=new N(e);d.a.5?K-=u*2*(_-.5):_<.5&&(K+=c*2*(.5-_)),a=d.d.b,KI.a-D-m&&(K=I.a-D-m),d.n.a=e+K}}n(Cnt,"p2b");function vBe(t){var e,r,i,a,c;if(i=l(O(t,(Ot(),Hs)),171),i==(yl(),db)){for(r=new We(Ve(Mi(t).a.Kc(),new et));un(r);)if(e=l(tn(r),18),!hMt(e))throw R(new _0(Vrt+pC(t)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(i==fm){for(c=new We(Ve(ri(t).a.Kc(),new et));un(c);)if(a=l(tn(c),18),!hMt(a))throw R(new _0(Vrt+pC(t)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}}n(vBe,"jec");function zC(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_;if(t.e&&t.c.c>19!=0&&(e=Sy(e),b=!b),u=rxe(e),c=!1,a=!1,i=!1,t.h==u_&&t.m==0&&t.l==0)if(a=!0,c=!0,u==-1)t=jkt((cy(),sUt)),i=!0,b=!b;else return d=ket(t,u),b&&e$(d),r&&(ob=ks(0,0,0)),d;else t.h>>19!=0&&(c=!0,t=Sy(t),i=!0,b=!b);return u!=-1?Fme(t,u,b,c,r):att(t,e)<0?(r&&(c?ob=Sy(t):ob=ks(t.l,t.m,t.h)),ks(0,0,0)):tSe(i?t:ks(t.l,t.m,t.h),e,b,c,a,r)}n(Tnt,"iD");function aR(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_;if(u=t.e,b=e.e,u==0)return e;if(b==0)return t;if(c=t.d,d=e.d,c+d==2)return r=Si(t.a[0],Na),i=Si(e.a[0],Na),u==b?(m=la(r,i),_=xn(m),A=xn(Ad(m,32)),A==0?new V1(u,_):new Df(u,2,H(q(yn,1),Pn,28,15,[_,A]))):(qu(),IB(u<0?$l(i,r):$l(r,i),0)?qd(u<0?$l(i,r):$l(r,i)):x7(qd(K0(u<0?$l(i,r):$l(r,i)))));if(u==b)E=u,x=c>=d?bP(t.a,c,e.a,d):bP(e.a,d,t.a,c);else{if(a=c!=d?c>d?1:-1:PJ(t.a,e.a,c),a==0)return qu(),CT;a==1?(E=u,x=dP(t.a,c,e.a,d)):(E=b,x=dP(e.a,d,t.a,c))}return w=new Df(E,x.length,x),M7(w),w}n(aR,"Bjb");function xBe(t,e){var r,i,a,c,u,d,b;if(!(t.g>e.f||e.g>t.f)){for(r=0,i=0,u=t.w.a.ec().Kc();u.Ob();)a=l(u.Pb(),12),f$(Co(H(q(Fi,1),Tt,8,0,[a.i.n,a.n,a.a])).b,e.g,e.f)&&++r;for(d=t.r.a.ec().Kc();d.Ob();)a=l(d.Pb(),12),f$(Co(H(q(Fi,1),Tt,8,0,[a.i.n,a.n,a.a])).b,e.g,e.f)&&--r;for(b=e.w.a.ec().Kc();b.Ob();)a=l(b.Pb(),12),f$(Co(H(q(Fi,1),Tt,8,0,[a.i.n,a.n,a.a])).b,t.g,t.f)&&++i;for(c=e.r.a.ec().Kc();c.Ob();)a=l(c.Pb(),12),f$(Co(H(q(Fi,1),Tt,8,0,[a.i.n,a.n,a.a])).b,t.g,t.f)&&--i;r=0)return r;switch(lg(Xa(t,r))){case 2:{if(ie("",V0(t,r.qk()).xe())){if(b=px(Xa(t,r)),d=J5(Xa(t,r)),m=Eet(t,e,b,d),m)return m;for(a=nnt(t,e),u=0,x=a.gc();u1)throw R(new Le($_));for(m=Ms(t.e.Dh(),e),i=l(t.g,124),u=0;u1,w=new uu(E.b);vo(w.a)||vo(w.b);)b=l(vo(w.a)?P(w.a):P(w.b),18),x=b.c==E?b.d:b.c,v.Math.abs(Co(H(q(Fi,1),Tt,8,0,[x.i.n,x.n,x.a])).b-u.b)>1&&cCe(t,b,u,c,E)}}n(BBe,"kSc");function MBe(t){var e,r,i,a,c,u;if(a=new Wi(t.e,0),i=new Wi(t.a,0),t.d)for(r=0;rMit;){for(c=e,u=0;v.Math.abs(e-c)0),a.a.Xb(a.c=--a.b),HSe(t,t.b-u,c,i,a),Je(a.b0),i.a.Xb(i.c=--i.b)}if(!t.d)for(r=0;r0?(t.f[m.p]=A/(m.e.c.length+m.g.c.length),t.c=v.Math.min(t.c,t.f[m.p]),t.b=v.Math.max(t.b,t.f[m.p])):d&&(t.f[m.p]=A)}}n(ABe,"yIc");function LBe(t){t.b=null,t.bb=null,t.fb=null,t.qb=null,t.a=null,t.c=null,t.d=null,t.e=null,t.f=null,t.n=null,t.M=null,t.L=null,t.Q=null,t.R=null,t.K=null,t.db=null,t.eb=null,t.g=null,t.i=null,t.j=null,t.k=null,t.gb=null,t.o=null,t.p=null,t.q=null,t.r=null,t.$=null,t.ib=null,t.S=null,t.T=null,t.t=null,t.s=null,t.u=null,t.v=null,t.w=null,t.B=null,t.A=null,t.C=null,t.D=null,t.F=null,t.G=null,t.H=null,t.I=null,t.J=null,t.P=null,t.Z=null,t.U=null,t.V=null,t.W=null,t.X=null,t.Y=null,t._=null,t.ab=null,t.cb=null,t.hb=null,t.nb=null,t.lb=null,t.mb=null,t.ob=null,t.pb=null,t.jb=null,t.kb=null,t.N=!1,t.O=!1}n(LBe,"xne");function _Be(t,e,r){var i,a,c,u;for(r.Ug("Graph transformation ("+t.a+")",1),u=bg(e.a),c=new N(e.b);c.a=d.b.c)&&(d.b=e),(!d.c||e.c<=d.c.c)&&(d.d=d.c,d.c=e),(!d.e||e.d>=d.e.d)&&(d.e=e),(!d.f||e.d<=d.f.d)&&(d.f=e);return i=new hL((Cy(),C2)),Tx(t,MPe,new sc(H(q(Q_,1),xe,382,0,[i]))),u=new hL(sm),Tx(t,BPe,new sc(H(q(Q_,1),xe,382,0,[u]))),a=new hL(om),Tx(t,EPe,new sc(H(q(Q_,1),xe,382,0,[a]))),c=new hL(h4),Tx(t,SPe,new sc(H(q(Q_,1),xe,382,0,[c]))),LN(i.c,C2),LN(a.c,om),LN(c.c,h4),LN(u.c,sm),d.a.c.length=0,bi(d.a,i.c),bi(d.a,ml(a.c)),bi(d.a,c.c),bi(d.a,ml(u.c)),d}n(OBe,"LZb");function DBe(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_;for(e.Ug(TFe,1),A=it(lt(yt(t,(m1(),Tm)))),u=it(lt(yt(t,(mu(),oS)))),d=l(yt(t,aS),107),sJ((!t.a&&(t.a=new pt(Vn,t,10,11)),t.a)),m=UNt((!t.a&&(t.a=new pt(Vn,t,10,11)),t.a),A,u),!t.a&&(t.a=new pt(Vn,t,10,11)),w=new N(m);w.a0&&(t.a=b+(A-1)*c,e.c.b+=t.a,e.f.b+=t.a)),_.a.gc()!=0&&(E=new TI(1,c),A=Mnt(E,e,_,D,e.f.b+b-e.c.b),A>0&&(e.f.b+=b+(A-1)*c))}n(jBe,"A9b");function JNt(t,e,r){var i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt;for(m=it(lt(O(t,(Ot(),D2)))),i=it(lt(O(t,pXt))),E=new tD,wt(E,D2,m+i),w=e,K=w.d,D=w.c.i,X=w.d.i,I=QG(D.c),Y=QG(X.c),a=new Bt,x=I;x<=Y;x++)d=new i0(t),Tf(d,(De(),Di)),wt(d,(Ct(),lr),w),wt(d,Jr,(Ri(),ys)),wt(d,Nq,E),A=l(It(t.b,x),30),x==I?e2(d,A.a.c.length-r,A):Ui(d,A),rt=it(lt(O(w,Zd))),rt<0&&(rt=0,wt(w,Zd,rt)),d.o.b=rt,_=v.Math.floor(rt/2),u=new Zo,Ci(u,(At(),je)),ko(u,d),u.n.b=_,b=new Zo,Ci(b,qe),ko(b,d),b.n.b=_,Ni(w,u),c=new ug,ao(c,w),wt(c,co,null),ca(c,b),Ni(c,K),xve(d,w,c),Te(a.c,c),w=c;return a}n(JNt,"osc");function oR(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y;for(b=l(td(t,(At(),je)).Kc().Pb(),12).e,A=l(td(t,qe).Kc().Pb(),12).g,d=b.c.length,Y=lu(l(It(t.j,0),12));d-- >0;){for(D=(ue(0,b.c.length),l(b.c[0],18)),a=(ue(0,A.c.length),l(A.c[0],18)),X=a.d.e,c=io(X,a,0),rge(D,a.d,c),ca(a,null),Ni(a,null),_=D.a,e&&Fn(_,new wa(Y)),i=hn(a.a,0);i.b!=i.d.c;)r=l(cn(i),8),Fn(_,new wa(r));for(K=D.b,E=new N(a.b);E.au)&&fi(t.b,l(I.b,18));++d}c=u}}}n(IBe,"$Qc");function Snt(t,e){var r;if(e==null||ie(e,bc)||e.length==0&&t.k!=(ed(),Dv))return null;switch(t.k.g){case 1:return aL(e,V8)?(Se(),ek):aL(e,Wit)?(Se(),sb):null;case 2:try{return Et(el(e,da,nr))}catch(i){if(i=Dr(i),J(i,130))return null;throw R(i)}case 4:try{return r2(e)}catch(i){if(i=Dr(i),J(i,130))return null;throw R(i)}case 3:return e;case 5:return yFt(t),FIt(t,e);case 6:return yFt(t),D9e(t,t.a,e);case 7:try{return r=Uke(t),r.cg(e),r}catch(i){if(i=Dr(i),J(i,33))return null;throw R(i)}default:throw R(new Ga("Invalid type set for this layout option."))}}n(Snt,"zhd");function Ent(t){var e;switch(t.d){case 1:{if(t.Sj())return t.o!=-2;break}case 2:{if(t.Sj())return t.o==-2;break}case 3:case 5:case 4:case 6:case 7:return t.o>-2;default:return!1}switch(e=t.Rj(),t.p){case 0:return e!=null&&jt(Dt(e))!=n7(t.k,0);case 1:return e!=null&&l(e,222).a!=xn(t.k)<<24>>24;case 2:return e!=null&&l(e,180).a!=(xn(t.k)&gi);case 6:return e!=null&&n7(l(e,168).a,t.k);case 5:return e!=null&&l(e,17).a!=xn(t.k);case 7:return e!=null&&l(e,191).a!=xn(t.k)<<16>>16;case 3:return e!=null&&it(lt(e))!=t.j;case 4:return e!=null&&l(e,161).a!=t.j;default:return e==null?t.n!=null:!er(e,t.n)}}n(Ent,"JKd");function qC(t,e,r){var i,a,c,u;return t.ol()&&t.nl()&&(u=mI(t,l(r,58)),ot(u)!==ot(r))?(t.xj(e),t.Dj(e,nAt(t,e,u)),t.al()&&(c=(a=l(r,54),t.ml()?t.kl()?a.Th(t.b,Sa(l(we(Ps(t.b),t.Lj()),19)).n,l(we(Ps(t.b),t.Lj()).Hk(),29).kk(),null):a.Th(t.b,jr(a.Dh(),Sa(l(we(Ps(t.b),t.Lj()),19))),null,null):a.Th(t.b,-1-t.Lj(),null,null)),!l(u,54).Ph()&&(c=(i=l(u,54),t.ml()?t.kl()?i.Rh(t.b,Sa(l(we(Ps(t.b),t.Lj()),19)).n,l(we(Ps(t.b),t.Lj()).Hk(),29).kk(),c):i.Rh(t.b,jr(i.Dh(),Sa(l(we(Ps(t.b),t.Lj()),19))),null,c):i.Rh(t.b,-1-t.Lj(),null,c))),c&&c.oj()),Dc(t.b)&&t.Jj(t.Ij(9,r,u,e,!1)),u):r}n(qC,"N_d");function ZNt(t){var e,r,i,a,c,u,d,b,w,m;for(i=new Bt,u=new N(t.e.a);u.a0&&(u=v.Math.max(u,i_t(t.C.b+i.d.b,a))),m=i,x=a,E=c;t.C&&t.C.c>0&&(A=E+t.C.c,w&&(A+=m.d.c),u=v.Math.max(u,(au(),uh(Uu),v.Math.abs(x-1)<=Uu||x==1||isNaN(x)&&isNaN(1)?0:A/(1-x)))),r.n.b=0,r.a.a=u}n(tRt,"vMb");function eRt(t,e){var r,i,a,c,u,d,b,w,m,x,E,A;if(r=l(Pa(t.b,e),127),b=l(l(cr(t.r,e),21),87),b.dc()){r.n.d=0,r.n.a=0;return}for(w=t.u.Hc((fc(),ud)),u=0,t.A.Hc((Rc(),cp))&&L$t(t,e),d=b.Kc(),m=null,E=0,x=0;d.Ob();)i=l(d.Pb(),117),c=it(lt(i.b.of((XB(),Fz)))),a=i.b.Mf().b,m?(A=x+m.d.a+t.w+i.d.d,u=v.Math.max(u,(au(),uh(Uu),v.Math.abs(E-c)<=Uu||E==c||isNaN(E)&&isNaN(c)?0:A/(c-E)))):t.C&&t.C.d>0&&(u=v.Math.max(u,i_t(t.C.d+i.d.d,c))),m=i,E=c,x=a;t.C&&t.C.a>0&&(A=x+t.C.a,w&&(A+=m.d.a),u=v.Math.max(u,(au(),uh(Uu),v.Math.abs(E-1)<=Uu||E==1||isNaN(E)&&isNaN(1)?0:A/(1-E)))),r.n.d=0,r.a.b=u}n(eRt,"ENb");function PBe(t,e,r,i,a,c,u,d){var b,w,m,x,E,A,_,D,I,K;if(_=!1,w=Det(r.q,e.f+e.b-r.q.f),A=i.f>e.b&&d,K=a-(r.q.e+w-u),x=(b=S8(i,K,!1),b.a),A&&x>i.f)return!1;if(A){for(E=0,I=new N(e.d);I.a=(ue(c,t.c.length),l(t.c[c],186)).e,!A&&x>e.b&&!m)?!1:((m||A||x<=e.b)&&(m&&x>e.b?(r.d=x,Ox(r,zjt(r,x))):(ajt(r.q,w),r.c=!0),Ox(i,a-(r.s+r.r)),gC(i,r.q.e+r.q.d,e.f),TA(e,i),t.c.length>c&&(mC((ue(c,t.c.length),l(t.c[c],186)),i),(ue(c,t.c.length),l(t.c[c],186)).a.c.length==0&&q0(t,c)),_=!0),_)}n(PBe,"L8c");function nRt(t,e,r){var i,a,c,u,d,b;for(this.g=t,d=e.d.length,b=r.d.length,this.d=ht(p0,Xd,10,d+b,0,1),u=0;u0?_P(this,this.f/this.a):ou(e.g,e.d[0]).a!=null&&ou(r.g,r.d[0]).a!=null?_P(this,(it(ou(e.g,e.d[0]).a)+it(ou(r.g,r.d[0]).a))/2):ou(e.g,e.d[0]).a!=null?_P(this,ou(e.g,e.d[0]).a):ou(r.g,r.d[0]).a!=null&&_P(this,ou(r.g,r.d[0]).a)}n(nRt,"zJc");function $Be(t,e){var r,i,a,c,u,d,b,w,m,x;for(t.a=new jTt(yme(gS)),i=new N(e.a);i.a=1&&(I-u>0&&x>=0?(b.n.a+=D,b.n.b+=c*u):I-u<0&&m>=0&&(b.n.a+=D*I,b.n.b+=c));t.o.a=e.a,t.o.b=e.b,wt(t,(Ot(),Zg),(Rc(),i=l(_h(xS),9),new cl(i,l(sh(i,i.length),9),0)))}n(iRt,"r2b");function zBe(t,e,r,i,a,c){var u;if(!(e==null||!T$(e,PZt,$Zt)))throw R(new Le("invalid scheme: "+e));if(!t&&!(r!=null&&Fu(r,Rs(35))==-1&&r.length>0&&(_e(0,r.length),r.charCodeAt(0)!=47)))throw R(new Le("invalid opaquePart: "+r));if(t&&!(e!=null&&A9(RH,e.toLowerCase()))&&!(r==null||!T$(r,ES,BS)))throw R(new Le(tDe+r));if(t&&e!=null&&A9(RH,e.toLowerCase())&&!y6e(r))throw R(new Le(tDe+r));if(!S4e(i))throw R(new Le("invalid device: "+i));if(!l3e(a))throw u=a==null?"invalid segments: null":"invalid segment: "+a3e(a),R(new Le(u));if(!(c==null||Fu(c,Rs(35))==-1))throw R(new Le("invalid query: "+c))}n(zBe,"ISd");function qBe(t,e,r){var i,a,c,u,d,b,w,m,x,E,A,_,D,I,K;if(r.Ug("Network simplex layering",1),t.b=e,K=l(O(e,(Ot(),HT)),17).a*4,I=t.b.a,I.c.length<1){r.Vg();return}for(c=$Te(t,I),D=null,a=hn(c,0);a.b!=a.d.c;){for(i=l(cn(a),15),d=K*xi(v.Math.sqrt(i.gc())),u=ZTe(i),qN(WW(zoe(GW(Qj(u),d),D),!0),r.eh(1)),E=t.b.b,_=new N(u.a);_.a<_.c.c.length;){for(A=l(P(_),125);E.c.length<=A.e;)ng(E,E.c.length,new as(t.b));m=l(A.f,10),Ui(m,l(It(E,A.e),30))}if(c.b>1)for(D=ht(yn,Pn,28,t.b.b.c.length,15,1),x=0,w=new N(t.b.b);w.a0){oL(t,r,0),r.a+=String.fromCharCode(i),a=l5e(e,c),oL(t,r,a),c+=a-1;continue}i==39?c+10&&_.a<=0){b.c.length=0,Te(b.c,_);break}A=_.i-_.d,A>=d&&(A>d&&(b.c.length=0,d=A),Te(b.c,_))}b.c.length!=0&&(u=l(It(b,bL(a,b.c.length)),118),Y.a.Bc(u)!=null,u.g=m++,bnt(u,e,r,i),b.c.length=0)}for(I=t.c.length+1,E=new N(t);E.ami||e.o==np&&m=d&&a<=b)d<=a&&c<=b?(r[m++]=a,r[m++]=c,i+=2):d<=a?(r[m++]=a,r[m++]=b,t.b[i]=b+1,u+=2):c<=b?(r[m++]=d,r[m++]=c,i+=2):(r[m++]=d,r[m++]=b,t.b[i]=b+1);else if(btb)&&d<10);XW(t.c,new xp),oRt(t),I0e(t.c),FBe(t.f)}n(YBe,"RXb");function QBe(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_,D;for(r=l(O(t,(Ot(),Jr)),101),u=t.f,c=t.d,d=u.a+c.b+c.c,b=0-c.d-t.c.b,m=u.b+c.d+c.a-t.c.b,w=new Bt,x=new Bt,a=new N(e);a.a=2){for(b=hn(r,0),u=l(cn(b),8),d=l(cn(b),8);d.a0&&Zx(w,!0,(ui(),po)),d.k==(De(),di)&&KTt(w),Hn(t.f,d,e)}}n(ZBe,"Akc");function tMe(t){var e,r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt;for(a=l(O(t,(yr(),eS)),27),w=nr,m=nr,d=da,b=da,Y=hn(t.b,0);Y.b!=Y.d.c;)K=l(cn(Y),40),A=K.e,_=K.f,w=v.Math.min(w,A.a-_.a/2),m=v.Math.min(m,A.b-_.b/2),d=v.Math.max(d,A.a+_.a/2),b=v.Math.max(b,A.b+_.b/2);for(E=l(yt(a,(Lo(),BYt)),107),X=hn(t.b,0);X.b!=X.d.c;)K=l(cn(X),40),x=O(K,eS),J(x,207)&&(c=l(x,27),ol(c,K.e.a,K.e.b),_C(c,K));for(I=hn(t.a,0);I.b!=I.d.c;)D=l(cn(I),65),i=l(O(D,eS),74),i&&(e=D.a,r=zw(i,!0,!0),$C(e,r));rt=d-w+(E.b+E.c),u=b-m+(E.d+E.a),jt(Dt(yt(a,($n(),Sm))))||Og(a,rt,u,!1,!1),fr(a,j4,rt-(E.b+E.c)),fr(a,D4,u-(E.d+E.a))}n(tMe,"OVc");function cRt(t,e){var r,i,a,c,u,d,b,w,m,x;for(b=!0,a=0,w=t.g[e.p],m=e.o.b+t.o,r=t.d[e.p][2],dl(t.b,w,Et(l(It(t.b,w),17).a-1+r)),dl(t.c,w,it(lt(It(t.c,w)))-m+r*t.f),++w,w>=t.j?(++t.j,Mt(t.b,Et(1)),Mt(t.c,m)):(i=t.d[e.p][1],dl(t.b,w,Et(l(It(t.b,w),17).a+1-i)),dl(t.c,w,it(lt(It(t.c,w)))+m-i*t.f)),(t.r==(zl(),fF)&&(l(It(t.b,w),17).a>t.k||l(It(t.b,w-1),17).a>t.k)||t.r==bF&&(it(lt(It(t.c,w)))>t.n||it(lt(It(t.c,w-1)))>t.n))&&(b=!1),u=new We(Ve(Mi(e).a.Kc(),new et));un(u);)c=l(tn(u),18),d=c.c.i,t.g[d.p]==w&&(x=cRt(t,d),a=a+l(x.a,17).a,b=b&&jt(Dt(x.b)));return t.g[e.p]=w,a=a+t.d[e.p][0],new ki(Et(a),(Se(),!!b))}n(cRt,"Wec");function lRt(t,e){var r,i,a,c,u;r=it(lt(O(e,(Ot(),Wh)))),r<2&&wt(e,Wh,2),i=l(O(e,Sl),88),i==(ui(),t1)&&wt(e,Sl,XA(e)),a=l(O(e,qRe),17),a.a==0?wt(e,(Ct(),Av),new E$):wt(e,(Ct(),Av),new JM(a.a)),c=Dt(O(e,RT)),c==null&&wt(e,RT,(Se(),ot(O(e,ld))===ot((e0(),Dk)))),Yr(new ne(null,new ce(e.a,16)),new aW(t)),Yr(xo(new ne(null,new ce(e.b,16)),new Qe),new oW(t)),u=new rRt(e),wt(e,(Ct(),v4),u),gx(t.a),Dh(t.a,(na(),Uh),l(O(e,Yg),188)),Dh(t.a,g0,l(O(e,Jg),188)),Dh(t.a,ls,l(O(e,NT),188)),Dh(t.a,ps,l(O(e,Pq),188)),Dh(t.a,go,Zwe(l(O(e,ld),223))),ZG(t.a,XAe(e)),wt(e,est,zC(t.a,e))}n(lRt,"cXb");function Mnt(t,e,r,i,a){var c,u,d,b,w,m,x,E,A,_,D,I,K;for(x=new sn,u=new Bt,cIt(t,r,t.d.Ag(),u,x),cIt(t,i,t.d.Bg(),u,x),t.b=.2*(D=fPt(xo(new ne(null,new ce(u,16)),new gbt)),I=fPt(xo(new ne(null,new ce(u,16)),new pbt)),v.Math.min(D,I)),c=0,d=0;d=2&&(K=FPt(u,!0,E),!t.e&&(t.e=new q5t(t)),a5e(t.e,K,u,t.b)),gjt(u,E),oMe(u),A=-1,m=new N(u);m.ad)}n(nMe,"Lmc");function hRt(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X;for(w=Ir,m=Ir,d=mi,b=mi,E=new N(e.i);E.a-1){for(a=hn(d,0);a.b!=a.d.c;)i=l(cn(a),131),i.v=u;for(;d.b!=0;)for(i=l(rN(d,0),131),r=new N(i.i);r.a-1){for(c=new N(d);c.a0)&&(UU(b,v.Math.min(b.o,a.o-1)),PE(b,b.i-1),b.i==0&&Te(d.c,b))}}n(oMe,"WTc");function dRt(t,e,r,i,a){var c,u,d,b;return b=Ir,u=!1,d=ynt(t,Ti(new xt(e.a,e.b),t),Zn(new xt(r.a,r.b),a),Ti(new xt(i.a,i.b),r)),c=!!d&&!(v.Math.abs(d.a-t.a)<=w2&&v.Math.abs(d.b-t.b)<=w2||v.Math.abs(d.a-e.a)<=w2&&v.Math.abs(d.b-e.b)<=w2),d=ynt(t,Ti(new xt(e.a,e.b),t),r,a),d&&((v.Math.abs(d.a-t.a)<=w2&&v.Math.abs(d.b-t.b)<=w2)==(v.Math.abs(d.a-e.a)<=w2&&v.Math.abs(d.b-e.b)<=w2)||c?b=v.Math.min(b,T7(Ti(d,r))):u=!0),d=ynt(t,Ti(new xt(e.a,e.b),t),i,a),d&&(u||(v.Math.abs(d.a-t.a)<=w2&&v.Math.abs(d.b-t.b)<=w2)==(v.Math.abs(d.a-e.a)<=w2&&v.Math.abs(d.b-e.b)<=w2)||c)&&(b=v.Math.min(b,T7(Ti(d,i)))),b}n(dRt,"Lid");function fRt(t){Wb(t,new Jf(ZE(Hb(Rb(qb(zb(new xf,nb),T_e),"Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths."),new an),zs))),St(t,nb,JC,Lt(CWt)),St(t,nb,SR,(Se(),!0)),St(t,nb,e4,Lt(uPe)),St(t,nb,bv,Lt(dPe)),St(t,nb,fv,Lt(fPe)),St(t,nb,z8,Lt(hPe)),St(t,nb,ZC,Lt(SWt)),St(t,nb,q8,Lt(bPe)),St(t,nb,Gzt,Lt(xWt)),St(t,nb,Xzt,Lt(vWt)),St(t,nb,Yzt,Lt(kWt)),St(t,nb,Qzt,Lt(TWt)),St(t,nb,Vzt,Lt(zz))}n(fRt,"eWb");function sMe(t){var e,r,i,a,c,u,d,b;for(e=null,i=new N(t);i.a0&&r.c==0&&(!e&&(e=new Bt),Te(e.c,r));if(e)for(;e.c.length!=0;){if(r=l(q0(e,0),239),r.b&&r.b.c.length>0){for(c=(!r.b&&(r.b=new Bt),new N(r.b));c.aio(t,r,0))return new ki(a,r)}else if(it(ou(a.g,a.d[0]).a)>it(ou(r.g,r.d[0]).a))return new ki(a,r)}for(d=(!r.e&&(r.e=new Bt),r.e).Kc();d.Ob();)u=l(d.Pb(),239),b=(!u.b&&(u.b=new Bt),u.b),zp(0,b.c.length),U6(b.c,0,r),u.c==b.c.length&&Te(e.c,u)}return null}n(sMe,"kJc");function cMe(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K;for(e.Ug("Interactive crossing minimization",1),u=0,c=new N(t.b);c.a0&&(r+=b.n.a+b.o.a/2,++x),_=new N(b.j);_.a<_.c.c.length;)A=l(P(_),12),A.p=D++;for(x>0&&(r/=x),K=ht(qi,Ja,28,i.a.c.length,15,1),d=0,w=new N(i.a);w.a=d&&a<=b)d<=a&&c<=b?i+=2:d<=a?(t.b[i]=b+1,u+=2):c<=b?(r[m++]=a,r[m++]=d-1,i+=2):(r[m++]=a,r[m++]=d-1,t.b[i]=b+1,u+=2);else if(b2?(m=new Bt,bi(m,new R0(K,1,K.b)),c=tzt(m,Y+t.a),X=new BN(c),ao(X,e),Te(r.c,X)):i?X=l(He(t.b,w1(e)),272):X=l(He(t.b,Hd(e)),272),b=w1(e),i&&(b=Hd(e)),u=o8e(I,b),w=Y+t.a,u.a?(w+=v.Math.abs(I.b-x.b),D=new xt(x.a,(x.b+I.b)/2)):(w+=v.Math.abs(I.a-x.a),D=new xt((x.a+I.a)/2,x.b)),i?Hn(t.d,e,new UZ(X,u,D,w)):Hn(t.c,e,new UZ(X,u,D,w)),Hn(t.b,e,X),_=(!e.n&&(e.n=new pt(Za,e,1,7)),e.n),A=new ze(_);A.e!=A.i.gc();)E=l(Xe(A),135),a=DC(t,E,!0,0,0),Te(r.c,a)}n(bRt,"oTb");function lMe(t){var e,r,i,a,c,u,d;if(!t.A.dc()){if(t.A.Hc((Rc(),HF))&&(l(Pa(t.b,(At(),Fe)),127).k=!0,l(Pa(t.b,on),127).k=!0,e=t.q!=(Ri(),k0)&&t.q!=ys,qU(l(Pa(t.b,qe),127),e),qU(l(Pa(t.b,je),127),e),qU(t.g,e),t.A.Hc(cp)&&(l(Pa(t.b,Fe),127).j=!0,l(Pa(t.b,on),127).j=!0,l(Pa(t.b,qe),127).k=!0,l(Pa(t.b,je),127).k=!0,t.g.k=!0)),t.A.Hc(qF))for(t.a.j=!0,t.a.k=!0,t.g.j=!0,t.g.k=!0,d=t.B.Hc((Ec(),CS)),a=j$(),c=0,u=a.length;c0),l(m.a.Xb(m.c=--m.b),18));c!=i&&m.b>0;)t.a[c.p]=!0,t.a[i.p]=!0,c=(Je(m.b>0),l(m.a.Xb(m.c=--m.b),18));m.b>0&&$c(m)}}n(uMe,"qOc");function gRt(t,e,r){var i,a,c,u,d,b,w,m,x,E,A;if(!t.b)return!1;for(u=null,E=null,b=new wP(null,null),a=1,b.a[1]=t.b,x=b;x.a[a];)w=a,d=E,E=x,x=x.a[a],i=t.a.Ne(e,x.d),a=i<0?0:1,i==0&&(!r.c||Do(x.e,r.d))&&(u=x),!(x&&x.b)&&!Sp(x.a[a])&&(Sp(x.a[1-a])?E=E.a[w]=_A(x,a):Sp(x.a[1-a])||(A=E.a[1-w],A&&(!Sp(A.a[1-w])&&!Sp(A.a[w])?(E.b=!1,A.b=!0,x.b=!0):(c=d.a[1]==E?1:0,Sp(A.a[w])?d.a[c]=UEt(E,w):Sp(A.a[1-w])&&(d.a[c]=_A(E,w)),x.b=d.a[c].b=!0,d.a[c].a[0].b=!1,d.a[c].a[1].b=!1))));return u&&(r.b=!0,r.d=u.e,x!=u&&(m=new wP(x.d,x.e),u7e(t,b,u,m),E==u&&(E=m)),E.a[E.a[1]==x?1:0]=x.a[x.a[0]?0:1],--t.c),t.b=b.a[1],t.b&&(t.b.b=!1),r.b}n(gRt,"Zyb");function dMe(t){var e,r,i,a,c,u,d,b,w,m,x,E;for(a=new N(t.a.a.b);a.a0?a-=864e5:a+=864e5,b=new IV(la(jo(e.q.getTime()),a))),m=new rw,w=t.a.length,c=0;c=97&&i<=122||i>=65&&i<=90){for(u=c+1;u=w)throw R(new Le("Missing trailing '"));u+1=14&&m<=16))?e.a._b(i)?(r.a?jn(r.a,r.b):r.a=new Wc(r.d),i7(r.a,"[...]")):(d=zf(i),w=new g7(e),X1(r,wRt(d,w))):J(i,183)?X1(r,H8e(l(i,183))):J(i,195)?X1(r,M6e(l(i,195))):J(i,201)?X1(r,$7e(l(i,201))):J(i,2111)?X1(r,A6e(l(i,2111))):J(i,53)?X1(r,q8e(l(i,53))):J(i,376)?X1(r,oke(l(i,376))):J(i,846)?X1(r,z8e(l(i,846))):J(i,109)&&X1(r,R8e(l(i,109))):X1(r,i==null?bc:bo(i));return r.a?r.e.length==0?r.a.a:r.a.a+(""+r.e):r.c}n(wRt,"Inb");function nv(t,e){var r,i,a,c;c=t.F,e==null?(t.F=null,Ay(t,null)):(t.F=(Ie(e),e),i=Fu(e,Rs(60)),i!=-1?(a=(Gi(0,i,e.length),e.substr(0,i)),Fu(e,Rs(46))==-1&&!ie(a,iv)&&!ie(a,fT)&&!ie(a,lz)&&!ie(a,bT)&&!ie(a,gT)&&!ie(a,pT)&&!ie(a,wT)&&!ie(a,mT)&&(a=fDe),r=WB(e,Rs(62)),r!=-1&&(a+=""+(_e(r+1,e.length+1),e.substr(r+1))),Ay(t,a)):(a=e,Fu(e,Rs(46))==-1&&(i=Fu(e,Rs(91)),i!=-1&&(a=(Gi(0,i,e.length),e.substr(0,i))),!ie(a,iv)&&!ie(a,fT)&&!ie(a,lz)&&!ie(a,bT)&&!ie(a,gT)&&!ie(a,pT)&&!ie(a,wT)&&!ie(a,mT)?(a=fDe,i!=-1&&(a+=""+(_e(i,e.length+1),e.substr(i)))):a=e),Ay(t,a),a==e&&(t.F=t.D))),(t.Db&4)!=0&&(t.Db&1)==0&&tr(t,new _i(t,1,5,c,e))}n(nv,"KXd");function mRt(t,e){var r,i,a,c,u,d,b,w,m,x;if(b=e.length-1,d=(_e(b,e.length),e.charCodeAt(b)),d==93){if(u=Fu(e,Rs(91)),u>=0)return a=p4e(t,(Gi(1,u,e.length),e.substr(1,u-1))),m=(Gi(u+1,b,e.length),e.substr(u+1,b-(u+1))),HAe(t,m,a)}else{if(r=-1,dUt==null&&(dUt=new RegExp("\\d")),dUt.test(String.fromCharCode(d))&&(r=tX(e,Rs(46),b-1),r>=0)){i=l(uP(t,oLt(t,(Gi(1,r,e.length),e.substr(1,r-1))),!1),61),w=0;try{w=el((_e(r+1,e.length+1),e.substr(r+1)),da,nr)}catch(E){throw E=Dr(E),J(E,130)?(c=E,R(new hA(c))):R(E)}if(w>16==-10?r=l(t.Cb,292).Yk(e,r):t.Db>>16==-15&&(!e&&(e=(he(),r1)),!w&&(w=(he(),r1)),t.Cb.Yh()&&(b=new Y1(t.Cb,1,13,w,e,Z0(Cc(l(t.Cb,62)),t),!1),r?r.nj(b):r=b));else if(J(t.Cb,90))t.Db>>16==-23&&(J(e,90)||(e=(he(),Mh)),J(w,90)||(w=(he(),Mh)),t.Cb.Yh()&&(b=new Y1(t.Cb,1,10,w,e,Z0(Jo(l(t.Cb,29)),t),!1),r?r.nj(b):r=b));else if(J(t.Cb,457))for(d=l(t.Cb,850),u=(!d.b&&(d.b=new HE(new SD)),d.b),c=(i=new Kf(new Ef(u.a).a),new KE(i));c.a.b;)a=l(kg(c.a).ld(),89),r=rv(a,DL(a,d),r)}return r}n(rv,"o2d");function wMe(t,e){var r,i,a,c,u,d,b,w,m,x,E;for(u=jt(Dt(yt(t,(Ot(),pm)))),E=l(yt(t,mm),21),b=!1,w=!1,x=new ze((!t.c&&(t.c=new pt(_c,t,9,9)),t.c));x.e!=x.i.gc()&&(!b||!w);){for(c=l(Xe(x),123),d=0,a=d1(Qc(H(q(Tl,1),xe,20,0,[(!c.d&&(c.d=new pe(ii,c,8,5)),c.d),(!c.e&&(c.e=new pe(ii,c,7,4)),c.e)])));un(a)&&(i=l(tn(a),74),m=u&&Ag(i)&&jt(Dt(yt(i,Qg))),r=YNt((!i.b&&(i.b=new pe(en,i,4,7)),i.b),c)?t==_r(oo(l(Z((!i.c&&(i.c=new pe(en,i,5,8)),i.c),0),84))):t==_r(oo(l(Z((!i.b&&(i.b=new pe(en,i,4,7)),i.b),0),84))),!((m||r)&&(++d,d>1))););(d>0||E.Hc((fc(),ud))&&(!c.n&&(c.n=new pt(Za,c,1,7)),c.n).i>0)&&(b=!0),d>1&&(w=!0)}b&&e.Fc((Oa(),Wl)),w&&e.Fc((Oa(),FT))}n(wMe,"Y4b");function yRt(t){var e,r,i,a,c,u,d,b,w,m,x,E;if(E=l(yt(t,($n(),ap)),21),E.dc())return null;if(d=0,u=0,E.Hc((Rc(),HF))){for(m=l(yt(t,bS),101),i=2,r=2,a=2,c=2,e=_r(t)?l(yt(_r(t),ip),88):l(yt(t,ip),88),w=new ze((!t.c&&(t.c=new pt(_c,t,9,9)),t.c));w.e!=w.i.gc();)if(b=l(Xe(w),123),x=l(yt(b,N4),64),x==(At(),Fo)&&(x=fnt(b,e),fr(b,N4,x)),m==(Ri(),ys))switch(x.g){case 1:i=v.Math.max(i,b.i+b.g);break;case 2:r=v.Math.max(r,b.j+b.f);break;case 3:a=v.Math.max(a,b.i+b.g);break;case 4:c=v.Math.max(c,b.j+b.f)}else switch(x.g){case 1:i+=b.g+2;break;case 2:r+=b.f+2;break;case 3:a+=b.g+2;break;case 4:c+=b.f+2}d=v.Math.max(i,a),u=v.Math.max(r,c)}return Og(t,d,u,!0,!0)}n(yRt,"Dsd");function sR(t,e,r,i,a){var c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt;for(X=l(fo(mA(ir(new ne(null,new ce(e.d,16)),new c5t(r)),new l5t(r)),hc(new Ua,new Oo,new Yo,H(q(so,1),mt,108,0,[(dc(),Eo)]))),15),x=nr,m=da,b=new N(e.b.j);b.a0,w?w&&(E=K.p,u?++E:--E,x=l(It(K.c.a,E),10),i=H_t(x),A=!(_N(i,gt,r[0])||fTt(i,gt,r[0]))):A=!0),_=!1,vt=e.D.i,vt&&vt.c&&d.e&&(m=u&&vt.p>0||!u&&vt.p=0){for(b=null,d=new Wi(m.a,w+1);d.bu?1:Yb(isNaN(0),isNaN(u)))<0&&(uh(E1),(v.Math.abs(u-1)<=E1||u==1||isNaN(u)&&isNaN(1)?0:u<1?-1:u>1?1:Yb(isNaN(u),isNaN(1)))<0)&&(uh(E1),(v.Math.abs(0-d)<=E1||d==0||isNaN(0)&&isNaN(d)?0:0d?1:Yb(isNaN(0),isNaN(d)))<0)&&(uh(E1),(v.Math.abs(d-1)<=E1||d==1||isNaN(d)&&isNaN(1)?0:d<1?-1:d>1?1:Yb(isNaN(d),isNaN(1)))<0)),c)}n(cR,"Fid");function CMe(t){var e,r,i,a;if(r=t.D!=null?t.D:t.B,e=Fu(r,Rs(91)),e!=-1){i=(Gi(0,e,r.length),r.substr(0,e)),a=new F0;do a.a+="[";while((e=$5(r,91,++e))!=-1);ie(i,iv)?a.a+="Z":ie(i,fT)?a.a+="B":ie(i,lz)?a.a+="C":ie(i,bT)?a.a+="D":ie(i,gT)?a.a+="F":ie(i,pT)?a.a+="I":ie(i,wT)?a.a+="J":ie(i,mT)?a.a+="S":(a.a+="L",a.a+=""+i,a.a+=";");try{return null}catch(c){if(c=Dr(c),!J(c,63))throw R(c)}}else if(Fu(r,Rs(46))==-1){if(ie(r,iv))return Uc;if(ie(r,fT))return yc;if(ie(r,lz))return Yl;if(ie(r,bT))return qi;if(ie(r,gT))return Im;if(ie(r,pT))return yn;if(ie(r,wT))return Mb;if(ie(r,mT))return U4}return null}n(CMe,"EXd");function TMe(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt,_t;for(t.e=e,d=Cke(e),gt=new Bt,i=new N(d);i.a=0&&D=w.c.c.length?m=JY((De(),ei),Di):m=JY((De(),Di),Di),m*=2,c=r.a.g,r.a.g=v.Math.max(c,c+(m-c)),u=r.b.g,r.b.g=v.Math.max(u,u+(m-u)),a=e}}n(BMe,"sOc");function MMe(t){var e,r,i,a;for(Yr(ir(new ne(null,new ce(t.a.b,16)),new Sdt),new Edt),c6e(t),Yr(ir(new ne(null,new ce(t.a.b,16)),new Bdt),new Mdt),t.c==(e0(),$v)&&(Yr(ir(xo(new ne(null,new ce(new Sf(t.f),1)),new Adt),new Ldt),new e5t(t)),Yr(ir(no(xo(xo(new ne(null,new ce(t.d.b,16)),new _dt),new Fdt),new Odt),new Ddt),new r5t(t))),a=new xt(Ir,Ir),e=new xt(mi,mi),i=new N(t.a.b);i.a0&&(e.a+=ka),t_(l(Xe(d),167),e);for(e.a+=Krt,b=new b3((!i.c&&(i.c=new pe(en,i,5,8)),i.c));b.e!=b.i.gc();)b.e>0&&(e.a+=ka),t_(l(Xe(b),167),e);e.a+=")"}}n(t_,"Csd");function AMe(t,e,r){var i,a,c,u,d,b,w,m;for(b=new ze((!t.a&&(t.a=new pt(Vn,t,10,11)),t.a));b.e!=b.i.gc();)for(d=l(Xe(b),27),a=new We(Ve(a0(d).a.Kc(),new et));un(a);){if(i=l(tn(a),74),!i.b&&(i.b=new pe(en,i,4,7)),!(i.b.i<=1&&(!i.c&&(i.c=new pe(en,i,5,8)),i.c.i<=1)))throw R(new i3("Graph must not contain hyperedges."));if(!b8(i)&&d!=oo(l(Z((!i.c&&(i.c=new pe(en,i,5,8)),i.c),0),84)))for(w=new kxt,ao(w,i),wt(w,(Id(),xv),i),pae(w,l(eo(_a(r.f,d)),153)),yae(w,l(He(r,oo(l(Z((!i.c&&(i.c=new pe(en,i,5,8)),i.c),0),84))),153)),Mt(e.c,w),u=new ze((!i.n&&(i.n=new pt(Za,i,1,7)),i.n));u.e!=u.i.gc();)c=l(Xe(u),135),m=new CBt(w,c.a),ao(m,c),wt(m,xv,c),m.e.a=v.Math.max(c.g,1),m.e.b=v.Math.max(c.f,1),mnt(m),Mt(e.d,m)}}n(AMe,"LTb");function LMe(t,e,r){var i,a,c,u,d,b,w,m,x,E;switch(r.Ug("Node promotion heuristic",1),t.i=e,t.r=l(O(e,(Ot(),fb)),243),t.r!=(zl(),I2)&&t.r!=km?rAe(t):MCe(t),m=l(O(t.i,nXt),17).a,c=new p0t,t.r.g){case 2:case 1:ev(t,c);break;case 3:for(t.r=Wq,ev(t,c),b=0,d=new N(t.b);d.at.k&&(t.r=fF,ev(t,c));break;case 4:for(t.r=Wq,ev(t,c),w=0,a=new N(t.c);a.at.n&&(t.r=bF,ev(t,c));break;case 6:E=xi(v.Math.ceil(t.g.length*m/100)),ev(t,new H4t(E));break;case 5:x=xi(v.Math.ceil(t.e*m/100)),ev(t,new K4t(x));break;case 8:rzt(t,!0);break;case 9:rzt(t,!1);break;default:ev(t,c)}t.r!=I2&&t.r!=km?Jxe(t,e):mTe(t,e),r.Vg()}n(LMe,"Vec");function _Me(t){var e,r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y;for(x=t.b,m=new Wi(x,0),Dp(m,new as(t)),X=!1,u=1;m.b0&&(E.d+=m.n.d,E.d+=m.d),E.a>0&&(E.a+=m.n.a,E.a+=m.d),E.b>0&&(E.b+=m.n.b,E.b+=m.d),E.c>0&&(E.c+=m.n.c,E.c+=m.d),E}n(FMe,"FJb");function kRt(t,e,r){var i,a,c,u,d,b,w,m,x,E,A,_;for(E=r.d,x=r.c,c=new xt(r.f.a+r.d.b+r.d.c,r.f.b+r.d.d+r.d.a),u=c.b,w=new N(t.a);w.a0&&(t.c[e.c.p][e.p].d+=Sc(t.i,24)*g_*.07000000029802322-.03500000014901161,t.c[e.c.p][e.p].a=t.c[e.c.p][e.p].d/t.c[e.c.p][e.p].b)}}n(Lnt,"NIc");function DMe(t){var e,r,i,a,c,u,d,b,w,m,x,E,A,_,D,I;for(_=new N(t);_.a<_.c.c.length;){for(A=l(P(_),10),I0(A.n),I0(A.o),wQ(A.f),j$t(A),JCe(A),I=new N(A.j);I.ai.d,i.d=v.Math.max(i.d,e),d&&r&&(i.d=v.Math.max(i.d,i.a),i.a=i.d+a);break;case 3:r=e>i.a,i.a=v.Math.max(i.a,e),d&&r&&(i.a=v.Math.max(i.a,i.d),i.d=i.a+a);break;case 2:r=e>i.c,i.c=v.Math.max(i.c,e),d&&r&&(i.c=v.Math.max(i.b,i.c),i.b=i.c+a);break;case 4:r=e>i.b,i.b=v.Math.max(i.b,e),d&&r&&(i.b=v.Math.max(i.b,i.c),i.c=i.b+a)}}}n(IMe,"XMb");function CRt(t,e){var r,i,a,c,u,d,b,w,m;return w="",e.length==0?t.ne(gzt,Gnt,-1,-1):(m=i2(e),ie(m.substr(0,3),"at ")&&(m=(_e(3,m.length+1),m.substr(3))),m=m.replace(/\[.*?\]/g,""),u=m.indexOf("("),u==-1?(u=m.indexOf("@"),u==-1?(w=m,m=""):(w=i2((_e(u+1,m.length+1),m.substr(u+1))),m=i2((Gi(0,u,m.length),m.substr(0,u))))):(r=m.indexOf(")",u),w=(Gi(u+1,r,m.length),m.substr(u+1,r-(u+1))),m=i2((Gi(0,u,m.length),m.substr(0,u)))),u=Fu(m,Rs(46)),u!=-1&&(m=(_e(u+1,m.length+1),m.substr(u+1))),(m.length==0||ie(m,"Anonymous function"))&&(m=Gnt),d=WB(w,Rs(58)),a=tX(w,Rs(58),d-1),b=-1,i=-1,c=gzt,d!=-1&&a!=-1&&(c=(Gi(0,a,w.length),w.substr(0,a)),b=R9t((Gi(a+1,d,w.length),w.substr(a+1,d-(a+1)))),i=R9t((_e(d+1,w.length+1),w.substr(d+1)))),t.ne(c,m,b,i))}n(CRt,"pA");function PMe(t){var e,r,i,a,c,u,d,b,w,m,x;for(w=new N(t);w.a0||m.j==je&&m.e.c.length-m.g.c.length<0)){e=!1;break}for(a=new N(m.g);a.a=w&&vt>=I&&(E+=_.n.b+D.n.b+D.a.b-rt,++d));if(r)for(u=new N(X.e);u.a=w&&vt>=I&&(E+=_.n.b+D.n.b+D.a.b-rt,++d))}d>0&&(gt+=E/d,++A)}A>0?(e.a=a*gt/A,e.g=A):(e.a=0,e.g=0)}n($Me,"LNc");function NMe(t){var e,r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt,_t;for(c=t.f.b,E=c.a,m=c.b,_=t.e.g,A=t.e.f,bw(t.e,c.a,c.b),gt=E/_,_t=m/A,w=new ze(_M(t.e));w.e!=w.i.gc();)b=l(Xe(w),135),Ss(b,b.i*gt),Es(b,b.j*_t);for(X=new ze(_I(t.e));X.e!=X.i.gc();)K=l(Xe(X),123),rt=K.i,vt=K.j,rt>0&&Ss(K,rt*gt),vt>0&&Es(K,vt*_t);for(z7(t.b,new AE),e=new Bt,d=new Kf(new Ef(t.c).a);d.b;)u=kg(d),i=l(u.ld(),74),r=l(u.md(),407).a,a=zw(i,!1,!1),x=pjt(w1(i),TC(a),r),$C(x,a),Y=Ajt(i),Y&&io(e,Y,0)==-1&&(Te(e.c,Y),iSt(Y,(Je(x.b!=0),l(x.a.a.c,8)),r));for(I=new Kf(new Ef(t.d).a);I.b;)D=kg(I),i=l(D.ld(),74),r=l(D.md(),407).a,a=zw(i,!1,!1),x=pjt(Hd(i),eC(TC(a)),r),x=eC(x),$C(x,a),Y=Ljt(i),Y&&io(e,Y,0)==-1&&(Te(e.c,Y),iSt(Y,(Je(x.b!=0),l(x.c.b.c,8)),r))}n(NMe,"hTb");function TRt(t,e,r,i){var a,c,u,d,b;return d=new Fnt(e),Axe(d,i),a=!0,t&&t.pf(($n(),ip))&&(c=l(t.of(($n(),ip)),88),a=c==(ui(),t1)||c==lo||c==po),C$t(d,!1),Ts(d.e.Rf(),new sX(d,!1,a)),KI(d,d.f,(Nh(),$o),(At(),Fe)),KI(d,d.f,No,on),KI(d,d.g,$o,je),KI(d,d.g,No,qe),JOt(d,Fe),JOt(d,on),eSt(d,qe),eSt(d,je),Op(),u=d.A.Hc((Rc(),Mm))&&d.B.Hc((Ec(),UF))?pOt(d):null,u&&$oe(d.a,u),IMe(d),Iye(d),Pye(d),lMe(d),MSe(d),lve(d),O$(d,Fe),O$(d,on),fTe(d),nBe(d),r&&(w4e(d),hve(d),O$(d,qe),O$(d,je),b=d.B.Hc((Ec(),CS)),gIt(d,b,Fe),gIt(d,b,on),pIt(d,b,qe),pIt(d,b,je),Yr(new ne(null,new ce(new N1(d.i),0)),new PO),Yr(ir(new ne(null,aY(d.r).a.oc()),new f5),new $O),T6e(d),d.e.Pf(d.o),Yr(new ne(null,aY(d.r).a.oc()),new NO)),d.o}n(TRt,"GJb");function RMe(t){var e,r,i,a,c,u,d,b,w,m,x,E,A,_,D;for(w=Ir,i=new N(t.a.b);i.a1)for(A=new xnt(_,Y,i),Ji(Y,new O8t(t,A)),Te(u.c,A),x=Y.a.ec().Kc();x.Ob();)m=l(x.Pb(),42),$s(c,m.b);if(d.a.gc()>1)for(A=new xnt(_,d,i),Ji(d,new D8t(t,A)),Te(u.c,A),x=d.a.ec().Kc();x.Ob();)m=l(x.Pb(),42),$s(c,m.b)}}n(lR,"NUc");function KMe(t,e,r){var i,a,c,u,d,b,w,m,x,E,A,_,D,I,K;if(D=t.n,I=t.o,E=t.d,x=it(lt(Zp(t,(Ot(),gst)))),e){for(m=x*(e.gc()-1),A=0,b=e.Kc();b.Ob();)u=l(b.Pb(),10),m+=u.o.a,A=v.Math.max(A,u.o.b);for(K=D.a-(m-I.a)/2,c=D.b-E.d+A,i=I.a/(e.gc()+1),a=i,d=e.Kc();d.Ob();)u=l(d.Pb(),10),u.n.a=K,u.n.b=c-u.o.b,K+=u.o.a+x,w=OPt(u),w.n.a=u.o.a/2-w.a.a,w.n.b=u.o.b,_=l(O(u,(Ct(),vq)),12),_.e.c.length+_.g.c.length==1&&(_.n.a=a-_.a.a,_.n.b=0,ko(_,t)),a+=i}if(r){for(m=x*(r.gc()-1),A=0,b=r.Kc();b.Ob();)u=l(b.Pb(),10),m+=u.o.a,A=v.Math.max(A,u.o.b);for(K=D.a-(m-I.a)/2,c=D.b+I.b+E.a-A,i=I.a/(r.gc()+1),a=i,d=r.Kc();d.Ob();)u=l(d.Pb(),10),u.n.a=K,u.n.b=c,K+=u.o.a+x,w=OPt(u),w.n.a=u.o.a/2-w.a.a,w.n.b=0,_=l(O(u,(Ct(),vq)),12),_.e.c.length+_.g.c.length==1&&(_.n.a=a-_.a.a,_.n.b=I.b,ko(_,t)),a+=i}}n(KMe,"p6b");function UMe(t,e){var r,i,a,c,u,d;if(l(O(e,(Ct(),ms)),21).Hc((Oa(),Wl))){for(d=new N(e.a);d.a=0&&u0&&(l(Pa(t.b,e),127).a.b=r)}n(ERt,"qNb");function YMe(t,e,r,i){var a,c,u,d,b,w,m,x,E,A,_,D;if(E=it(lt(O(t,(Ot(),kk)))),A=it(lt(O(t,xk))),x=it(lt(O(t,vm))),d=t.o,c=l(It(t.j,0),12),u=c.n,D=d8e(c,x),!!D){if(e.Hc((fc(),ud)))switch(l(O(t,(Ct(),Ro)),64).g){case 1:D.c=(d.a-D.b)/2-u.a,D.d=A;break;case 3:D.c=(d.a-D.b)/2-u.a,D.d=-A-D.a;break;case 2:r&&c.e.c.length==0&&c.g.c.length==0?(m=i?D.a:l(It(c.f,0),72).o.b,D.d=(d.b-m)/2-u.b):D.d=d.b+A-u.b,D.c=-E-D.b;break;case 4:r&&c.e.c.length==0&&c.g.c.length==0?(m=i?D.a:l(It(c.f,0),72).o.b,D.d=(d.b-m)/2-u.b):D.d=d.b+A-u.b,D.c=E}else if(e.Hc(kb))switch(l(O(t,(Ct(),Ro)),64).g){case 1:case 3:D.c=u.a+E;break;case 2:case 4:r&&!c.c?(m=i?D.a:l(It(c.f,0),72).o.b,D.d=(d.b-m)/2-u.b):D.d=u.b+A}for(a=D.d,w=new N(c.f);w.a=e.length)return{done:!0};var a=e[i++];return{value:[a,r.get(a)],done:!1}},"next")}},WCe()||(t.prototype.createObject=function(){return{}},t.prototype.get=function(e){return this.obj[":"+e]},t.prototype.set=function(e,r){this.obj[":"+e]=r},t.prototype[yrt]=function(e){delete this.obj[":"+e]},t.prototype.keys=function(){var e=[];for(var r in this.obj)r.charCodeAt(0)==58&&e.push(r.substring(1));return e}),t}n(ZMe,"Htb");function yr(){yr=tt,eS=new or(Uzt),new or(Wzt),new Nr("DEPTH",Et(0)),Hst=new Nr("FAN",Et(0)),gYt=new Nr(hFe,Et(0)),pb=new Nr("ROOT",(Se(),!1)),Wst=new Nr("LEFTNEIGHBOR",null),uqe=new Nr("RIGHTNEIGHBOR",null),Zq=new Nr("LEFTSIBLING",null),Gst=new Nr("RIGHTSIBLING",null),qst=new Nr("DUMMY",!1),new Nr("LEVEL",Et(0)),mYt=new Nr("REMOVABLE_EDGES",new Ar),vF=new Nr("XCOOR",Et(0)),kF=new Nr("YCOOR",Et(0)),tH=new Nr("LEVELHEIGHT",0),Cu=new Nr("LEVELMIN",0),Gh=new Nr("LEVELMAX",0),Kst=new Nr("GRAPH_XMIN",0),Ust=new Nr("GRAPH_YMIN",0),pYt=new Nr("GRAPH_XMAX",0),wYt=new Nr("GRAPH_YMAX",0),bYt=new Nr("COMPACT_LEVEL_ASCENSION",!1),zst=new Nr("COMPACT_CONSTRAINTS",new Bt),tS=new Nr("ID",""),nS=new Nr("POSITION",Et(0)),rf=new Nr("PRELIM",0),Bk=new Nr("MODIFIER",0),Ek=new or(x_e),yF=new or(C_e)}n(yr,"q$c");function tAe(t){dnt();var e,r,i,a,c,u,d,b,w,m,x,E,A,_,D,I;if(t==null)return null;if(x=t.length*8,x==0)return"";for(d=x%24,A=x/24|0,E=d!=0?A+1:A,c=null,c=ht(Yl,v1,28,E*4,15,1),w=0,m=0,e=0,r=0,i=0,u=0,a=0,b=0;b>24,w=(e&3)<<24>>24,_=(e&-128)==0?e>>2<<24>>24:(e>>2^192)<<24>>24,D=(r&-128)==0?r>>4<<24>>24:(r>>4^240)<<24>>24,I=(i&-128)==0?i>>6<<24>>24:(i>>6^252)<<24>>24,c[u++]=ff[_],c[u++]=ff[D|w<<4],c[u++]=ff[m<<2|I],c[u++]=ff[i&63];return d==8?(e=t[a],w=(e&3)<<24>>24,_=(e&-128)==0?e>>2<<24>>24:(e>>2^192)<<24>>24,c[u++]=ff[_],c[u++]=ff[w<<4],c[u++]=61,c[u++]=61):d==16&&(e=t[a],r=t[a+1],m=(r&15)<<24>>24,w=(e&3)<<24>>24,_=(e&-128)==0?e>>2<<24>>24:(e>>2^192)<<24>>24,D=(r&-128)==0?r>>4<<24>>24:(r>>4^240)<<24>>24,c[u++]=ff[_],c[u++]=ff[D|w<<4],c[u++]=ff[m<<2],c[u++]=61),Nl(c,0,c.length)}n(tAe,"Bqe");function eAe(t,e){var r,i,a,c,u,d,b;if(t.e==0&&t.p>0&&(t.p=-(t.p-1)),t.p>da&&QY(e,t.p-eb),u=e.q.getDate(),xx(e,1),t.k>=0&&qfe(e,t.k),t.c>=0?xx(e,t.c):t.k>=0?(b=new BJ(e.q.getFullYear()-eb,e.q.getMonth(),35),i=35-b.q.getDate(),xx(e,v.Math.min(i,u))):xx(e,u),t.f<0&&(t.f=e.q.getHours()),t.b>0&&t.f<12&&(t.f+=12),Oce(e,t.f==24&&t.g?0:t.f),t.j>=0&&Tpe(e,t.j),t.n>=0&&Ipe(e,t.n),t.i>=0&&Fkt(e,la(ha(vC(jo(e.q.getTime()),Vd),Vd),t.i)),t.a&&(a=new aB,QY(a,a.q.getFullYear()-eb-80),GD(jo(e.q.getTime()),jo(a.q.getTime()))&&QY(e,a.q.getFullYear()-eb+100)),t.d>=0){if(t.c==-1)r=(7+t.d-e.q.getDay())%7,r>3&&(r-=7),d=e.q.getMonth(),xx(e,e.q.getDate()+r),e.q.getMonth()!=d&&xx(e,e.q.getDate()+(r>0?-7:7));else if(e.q.getDay()!=t.d)return!1}return t.o>da&&(c=e.q.getTimezoneOffset(),Fkt(e,la(jo(e.q.getTime()),(t.o-c)*60*Vd))),!0}n(eAe,"CB");function ARt(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt;if(a=O(e,(Ct(),lr)),!!J(a,207)){for(_=l(a,27),D=e.e,E=new wa(e.c),c=e.d,E.a+=c.b,E.b+=c.d,rt=l(yt(_,(Ot(),$q)),181),Ys(rt,(Ec(),EH))&&(A=l(yt(_,sXt),107),hae(A,c.a),mae(A,c.d),uae(A,c.b),wae(A,c.c)),r=new Bt,m=new N(e.a);m.ai.c.length-1;)Mt(i,new ki(t4,CHt));r=l(O(a,F1),17).a,q1(l(O(t,$2),88))?(a.e.ait(lt((ue(r,i.c.length),l(i.c[r],42)).b))&&uD((ue(r,i.c.length),l(i.c[r],42)),a.e.a+a.f.a)):(a.e.bit(lt((ue(r,i.c.length),l(i.c[r],42)).b))&&uD((ue(r,i.c.length),l(i.c[r],42)),a.e.b+a.f.b))}for(c=hn(t.b,0);c.b!=c.d.c;)a=l(cn(c),40),r=l(O(a,(Lo(),F1)),17).a,wt(a,(yr(),Cu),lt((ue(r,i.c.length),l(i.c[r],42)).a)),wt(a,Gh,lt((ue(r,i.c.length),l(i.c[r],42)).b));e.Vg()}n(nAe,"bZc");function rAe(t){var e,r,i,a,c,u,d,b,w,m,x,E,A,_,D;for(t.o=it(lt(O(t.i,(Ot(),j2)))),t.f=it(lt(O(t.i,ep))),t.j=t.i.b.c.length,d=t.j-1,E=0,t.k=0,t.n=0,t.b=hu(ht(ia,Tt,17,t.j,0,1)),t.c=hu(ht(wi,Tt,345,t.j,7,1)),u=new N(t.i.b);u.a0&&Mt(t.q,m),Mt(t.p,m);e-=i,A=b+e,w+=e*t.f,dl(t.b,d,Et(A)),dl(t.c,d,w),t.k=v.Math.max(t.k,A),t.n=v.Math.max(t.n,w),t.e+=e,e+=D}}n(rAe,"Tec");function At(){At=tt;var t;Fo=new W9(XC,0),Fe=new W9(yR,1),qe=new W9(Art,2),on=new W9(Lrt,3),je=new W9(_rt,4),n1=(de(),new M5((t=l(_h(Ma),9),new cl(t,l(sh(t,t.length),9),0)))),Jh=G0(Sr(Fe,H(q(Ma,1),es,64,0,[]))),Vl=G0(Sr(qe,H(q(Ma,1),es,64,0,[]))),Bl=G0(Sr(on,H(q(Ma,1),es,64,0,[]))),Th=G0(Sr(je,H(q(Ma,1),es,64,0,[]))),rc=G0(Sr(Fe,H(q(Ma,1),es,64,0,[on]))),Ks=G0(Sr(qe,H(q(Ma,1),es,64,0,[je]))),Zh=G0(Sr(Fe,H(q(Ma,1),es,64,0,[je]))),Ac=G0(Sr(Fe,H(q(Ma,1),es,64,0,[qe]))),Ml=G0(Sr(on,H(q(Ma,1),es,64,0,[je]))),Xl=G0(Sr(qe,H(q(Ma,1),es,64,0,[on]))),Lc=G0(Sr(Fe,H(q(Ma,1),es,64,0,[qe,je]))),nc=G0(Sr(qe,H(q(Ma,1),es,64,0,[on,je]))),ic=G0(Sr(Fe,H(q(Ma,1),es,64,0,[on,je]))),mc=G0(Sr(Fe,H(q(Ma,1),es,64,0,[qe,on]))),vs=G0(Sr(Fe,H(q(Ma,1),es,64,0,[qe,on,je])))}n(At,"qpd");function iAe(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt,_t;for(e.Ug(H_e,1),D=new Bt,gt=new Bt,w=new N(t.b);w.a0&&(Y-=A),Cnt(u,Y),m=0,E=new N(u.a);E.a0),d.a.Xb(d.c=--d.b)),b=.4*i*m,!c&&d.b0&&(b=(_e(0,e.length),e.charCodeAt(0)),b!=64)){if(b==37&&(x=e.lastIndexOf("%"),w=!1,x!=0&&(x==E-1||(w=(_e(x+1,e.length),e.charCodeAt(x+1)==46))))){if(u=(Gi(1,x,e.length),e.substr(1,x-1)),Y=ie("%",u)?null:Dnt(u),i=0,w)try{i=el((_e(x+2,e.length+1),e.substr(x+2)),da,nr)}catch(rt){throw rt=Dr(rt),J(rt,130)?(d=rt,R(new hA(d))):R(rt)}for(I=oJ(t.Gh());I.Ob();)if(_=$A(I),J(_,519)&&(a=l(_,598),X=a.d,(Y==null?X==null:ie(Y,X))&&i--==0))return a;return null}if(m=e.lastIndexOf("."),A=m==-1?e:(Gi(0,m,e.length),e.substr(0,m)),r=0,m!=-1)try{r=el((_e(m+1,e.length+1),e.substr(m+1)),da,nr)}catch(rt){if(rt=Dr(rt),J(rt,130))A=e;else throw R(rt)}for(A=ie("%",A)?null:Dnt(A),D=oJ(t.Gh());D.Ob();)if(_=$A(D),J(_,197)&&(c=l(_,197),K=c.xe(),(A==null?K==null:ie(A,K))&&r--==0))return c;return null}return mRt(t,e)}n(Ont,"_zd");function dAe(t){var e,r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X;for(m=new sn,b=new dg,i=new N(t.a.a.b);i.ae.d.c){if(A=t.c[e.a.d],I=t.c[x.a.d],A==I)continue;bh(ih(rh(ah(nh(new Dl,1),100),A),I))}}}}}n(dAe,"Hlc");function fAe(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt;if(E=l(l(cr(t.r,e),21),87),e==(At(),qe)||e==je){ERt(t,e);return}for(c=e==Fe?(xg(),q_):(xg(),H_),rt=e==Fe?(Ns(),ku):(Ns(),Kh),r=l(Pa(t.b,e),127),i=r.i,a=i.c+Ew(H(q(qi,1),Ja,28,15,[r.n.b,t.C.b,t.k])),K=i.c+i.b-Ew(H(q(qi,1),Ja,28,15,[r.n.c,t.C.c,t.k])),u=VW(lX(c),t.t),X=e==Fe?mi:Ir,x=E.Kc();x.Ob();)w=l(x.Pb(),117),!(!w.c||w.c.d.c.length<=0)&&(I=w.b.Mf(),D=w.e,A=w.c,_=A.i,_.b=(b=A.n,A.e.a+b.b+b.c),_.a=(d=A.n,A.e.b+d.d+d.a),mx(rt,_zt),A.f=rt,Ph(A,(uc(),Hh)),_.c=D.a-(_.b-I.a)/2,vt=v.Math.min(a,D.a),gt=v.Math.max(K,D.a+I.a),_.cgt&&(_.c=gt-_.b),Mt(u.d,new dI(_,tZ(u,_))),X=e==Fe?v.Math.max(X,D.b+w.b.Mf().b):v.Math.min(X,D.b));for(X+=e==Fe?t.t:-t.t,Y=yZ((u.e=X,u)),Y>0&&(l(Pa(t.b,e),127).a.b=Y),m=E.Kc();m.Ob();)w=l(m.Pb(),117),!(!w.c||w.c.d.c.length<=0)&&(_=w.c.i,_.c-=w.e.a,_.d-=w.e.b)}n(fAe,"mNb");function bAe(t){var e,r,i,a,c,u,d,b,w,m,x,E,A;for(e=new sn,b=new ze(t);b.e!=b.i.gc();){for(d=l(Xe(b),27),r=new oi,Hn(iot,d,r),A=new BE,a=l(fo(new ne(null,new ag(new We(Ve(LC(d).a.Kc(),new et)))),XCt(A,hc(new Ua,new Oo,new Yo,H(q(so,1),mt,108,0,[(dc(),Eo)])))),85),ALt(r,l(a.xc((Se(),!0)),16),new GO),i=l(fo(ir(l(a.xc(!1),15).Lc(),new ME),hc(new Ua,new Oo,new Yo,H(q(so,1),mt,108,0,[Eo]))),15),u=i.Kc();u.Ob();)c=l(u.Pb(),74),E=Ajt(c),E&&(w=l(eo(_a(e.f,E)),21),w||(w=JPt(E),fs(e.f,E,w)),Vi(r,w));for(a=l(fo(new ne(null,new ag(new We(Ve(a0(d).a.Kc(),new et)))),XCt(A,hc(new Ua,new Oo,new Yo,H(q(so,1),mt,108,0,[Eo])))),85),ALt(r,l(a.xc(!0),16),new VO),i=l(fo(ir(l(a.xc(!1),15).Lc(),new XO),hc(new Ua,new Oo,new Yo,H(q(so,1),mt,108,0,[Eo]))),15),x=i.Kc();x.Ob();)m=l(x.Pb(),74),E=Ljt(m),E&&(w=l(eo(_a(e.f,E)),21),w||(w=JPt(E),fs(e.f,E,w)),Vi(r,w))}}n(bAe,"JSb");function gAe(t,e){QN();var r,i,a,c,u,d,b,w,m,x,E,A,_,D;if(b=Ko(t,0)<0,b&&(t=K0(t)),Ko(t,0)==0)switch(e){case 0:return"0";case 1:return D8;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return A=new kd,e<0?A.a+="0E+":A.a+="0E",A.a+=e==da?"2147483648":""+-e,A.a}m=18,x=ht(Yl,v1,28,m+1,15,1),r=m,D=t;do w=D,D=vC(D,10),x[--r]=xn(la(48,$l(w,ha(D,10))))&gi;while(Ko(D,0)!=0);if(a=$l($l($l(m,r),e),1),e==0)return b&&(x[--r]=45),Nl(x,r,m-r);if(e>0&&Ko(a,-6)>=0){if(Ko(a,0)>=0){for(c=r+xn(a),d=m-1;d>=c;d--)x[d+1]=x[d];return x[++c]=46,b&&(x[--r]=45),Nl(x,r,m-r+1)}for(u=2;GD(u,la(K0(a),1));u++)x[--r]=48;return x[--r]=46,x[--r]=48,b&&(x[--r]=45),Nl(x,r,m-r)}return _=r+1,i=m,E=new rw,b&&(E.a+="-"),i-_>=1?(_d(E,x[r]),E.a+=".",E.a+=Nl(x,r+1,m-r-1)):E.a+=Nl(x,r,m-r),E.a+="E",Ko(a,0)>0&&(E.a+="+"),E.a+=""+y7(a),E.a}n(gAe,"zjb");function Og(t,e,r,i,a){var c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt;if(I=new xt(t.g,t.f),D=Xtt(t),D.a=v.Math.max(D.a,e),D.b=v.Math.max(D.b,r),gt=D.a/I.a,m=D.b/I.b,rt=D.a-I.a,b=D.b-I.b,i)for(u=_r(t)?l(yt(_r(t),($n(),ip)),88):l(yt(t,($n(),ip)),88),d=ot(yt(t,($n(),bS)))===ot((Ri(),ys)),X=new ze((!t.c&&(t.c=new pt(_c,t,9,9)),t.c));X.e!=X.i.gc();)switch(K=l(Xe(X),123),Y=l(yt(K,N4),64),Y==(At(),Fo)&&(Y=fnt(K,u),fr(K,N4,Y)),Y.g){case 1:d||Ss(K,K.i*gt);break;case 2:Ss(K,K.i+rt),d||Es(K,K.j*m);break;case 3:d||Ss(K,K.i*gt),Es(K,K.j+b);break;case 4:d||Es(K,K.j*m)}if(bw(t,D.a,D.b),a)for(E=new ze((!t.n&&(t.n=new pt(Za,t,1,7)),t.n));E.e!=E.i.gc();)x=l(Xe(E),135),A=x.i+x.g/2,_=x.j+x.f/2,vt=A/I.a,w=_/I.b,vt+w>=1&&(vt-w>0&&_>=0?(Ss(x,x.i+rt),Es(x,x.j+b*w)):vt-w<0&&A>=0&&(Ss(x,x.i+rt*vt),Es(x,x.j+b)));return fr(t,($n(),ap),(Rc(),c=l(_h(xS),9),new cl(c,l(sh(c,c.length),9),0))),new xt(gt,m)}n(Og,"Esd");function ORt(t){Wb(t,new Jf(ZE(Hb(Rb(qb(zb(new xf,ql),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new Bgt),ql))),St(t,ql,KR,Lt(sHe)),St(t,ql,Jw,Lt(cHe)),St(t,ql,e4,Lt(rHe)),St(t,ql,bv,Lt(iHe)),St(t,ql,fv,Lt(aHe)),St(t,ql,z8,Lt(nHe)),St(t,ql,ZC,Lt(GYt)),St(t,ql,q8,Lt(oHe)),St(t,ql,Dit,Lt(oct)),St(t,ql,Oit,Lt(sct)),St(t,ql,QR,Lt(XYt)),St(t,ql,jit,Lt(cct)),St(t,ql,Iit,Lt(YYt)),St(t,ql,qHt,Lt(QYt)),St(t,ql,zHt,Lt(VYt)),St(t,ql,PHt,Lt(aH)),St(t,ql,$Ht,Lt(oH)),St(t,ql,NHt,Lt(xF)),St(t,ql,RHt,Lt(JYt)),St(t,ql,IHt,Lt(WYt))}n(ORt,"_4c");function e_(t){var e,r,i,a,c,u,d,b,w,m,x;if(t==null)throw R(new _u(bc));if(w=t,c=t.length,b=!1,c>0&&(e=(_e(0,t.length),t.charCodeAt(0)),(e==45||e==43)&&(t=(_e(1,t.length+1),t.substr(1)),--c,b=e==45)),c==0)throw R(new _u(f2+w+'"'));for(;t.length>0&&(_e(0,t.length),t.charCodeAt(0)==48);)t=(_e(1,t.length+1),t.substr(1)),--c;if(c>(hNt(),bje)[10])throw R(new _u(f2+w+'"'));for(a=0;a0&&(x=-parseInt((Gi(0,i,t.length),t.substr(0,i)),10),t=(_e(i,t.length+1),t.substr(i)),c-=i,r=!1);c>=u;){if(i=parseInt((Gi(0,u,t.length),t.substr(0,u)),10),t=(_e(u,t.length+1),t.substr(u)),c-=u,r)r=!1;else{if(Ko(x,d)<0)throw R(new _u(f2+w+'"'));x=ha(x,m)}x=$l(x,i)}if(Ko(x,0)>0)throw R(new _u(f2+w+'"'));if(!b&&(x=K0(x),Ko(x,0)<0))throw R(new _u(f2+w+'"'));return x}n(e_,"Peb");function Dnt(t){rR();var e,r,i,a,c,u,d,b;if(t==null)return null;if(a=Fu(t,Rs(37)),a<0)return t;for(b=new Wc((Gi(0,a,t.length),t.substr(0,a))),e=ht(yc,a4,28,4,15,1),d=0,i=0,u=t.length;aa+2&&JP((_e(a+1,t.length),t.charCodeAt(a+1)),jZt,IZt)&&JP((_e(a+2,t.length),t.charCodeAt(a+2)),jZt,IZt))if(r=j1e((_e(a+1,t.length),t.charCodeAt(a+1)),(_e(a+2,t.length),t.charCodeAt(a+2))),a+=2,i>0?(r&192)==128?e[d++]=r<<24>>24:i=0:r>=128&&((r&224)==192?(e[d++]=r<<24>>24,i=2):(r&240)==224?(e[d++]=r<<24>>24,i=3):(r&248)==240&&(e[d++]=r<<24>>24,i=4)),i>0){if(d==i){switch(d){case 2:{_d(b,((e[0]&31)<<6|e[1]&63)&gi);break}case 3:{_d(b,((e[0]&15)<<12|(e[1]&63)<<6|e[2]&63)&gi);break}}d=0,i=0}}else{for(c=0;c=2){if((!t.a&&(t.a=new pt(Lr,t,6,6)),t.a).i==0)r=(Cd(),a=new _E,a),bn((!t.a&&(t.a=new pt(Lr,t,6,6)),t.a),r);else if((!t.a&&(t.a=new pt(Lr,t,6,6)),t.a).i>1)for(E=new b3((!t.a&&(t.a=new pt(Lr,t,6,6)),t.a));E.e!=E.i.gc();)l8(E);$C(e,l(Z((!t.a&&(t.a=new pt(Lr,t,6,6)),t.a),0),166))}if(x)for(i=new ze((!t.a&&(t.a=new pt(Lr,t,6,6)),t.a));i.e!=i.i.gc();)for(r=l(Xe(i),166),w=new ze((!r.a&&(r.a=new ci(Al,r,5)),r.a));w.e!=w.i.gc();)b=l(Xe(w),377),d.a=v.Math.max(d.a,b.a),d.b=v.Math.max(d.b,b.b);for(u=new ze((!t.n&&(t.n=new pt(Za,t,1,7)),t.n));u.e!=u.i.gc();)c=l(Xe(u),135),m=l(yt(c,pS),8),m&&ol(c,m.a,m.b),x&&(d.a=v.Math.max(d.a,c.i+c.g),d.b=v.Math.max(d.b,c.j+c.f));return d}n(DRt,"atd");function jRt(t,e,r,i,a){var c,u,d;if(IAt(t,e),u=e[0],c=ea(r.c,0),d=-1,LJ(r))if(i>0){if(u+i>t.length)return!1;d=LL((Gi(0,u+i,t.length),t.substr(0,u+i)),e)}else d=LL(t,e);switch(c){case 71:return d=$w(t,u,H(q($t,1),Tt,2,6,[jLe,ILe]),e),a.e=d,!0;case 77:return LCe(t,e,a,d,u);case 76:return _Ce(t,e,a,d,u);case 69:return x8e(t,e,u,a);case 99:return C8e(t,e,u,a);case 97:return d=$w(t,u,H(q($t,1),Tt,2,6,["AM","PM"]),e),a.b=d,!0;case 121:return FCe(t,e,u,d,r,a);case 100:return d<=0?!1:(a.c=d,!0);case 83:return d<0?!1:$4e(d,u,e[0],a);case 104:d==12&&(d=0);case 75:case 72:return d<0?!1:(a.f=d,a.g=!1,!0);case 107:return d<0?!1:(a.f=d,a.g=!0,!0);case 109:return d<0?!1:(a.j=d,!0);case 115:return d<0?!1:(a.n=d,!0);case 90:if(uzt[b]&&(I=b),x=new N(t.a.b);x.a1;){if(a=Cxe(e),x=c.g,_=l(yt(e,aS),107),D=it(lt(yt(e,hH))),(!e.a&&(e.a=new pt(Vn,e,10,11)),e.a).i>1&&it(lt(yt(e,(m1(),pct))))!=Ir&&(c.c+(_.b+_.c))/(c.b+(_.d+_.a))1&&it(lt(yt(e,(m1(),gct))))!=Ir&&(c.c+(_.b+_.c))/(c.b+(_.d+_.a))>D&&fr(a,(m1(),Tm),v.Math.max(it(lt(yt(e,iS))),it(lt(yt(a,Tm)))-it(lt(yt(e,gct))))),A=new zG(i,m),b=ezt(A,a,E),w=b.g,w>=x&&w==w){for(u=0;u<(!a.a&&(a.a=new pt(Vn,a,10,11)),a.a).i;u++)MIt(t,l(Z((!a.a&&(a.a=new pt(Vn,a,10,11)),a.a),u),27),l(Z((!e.a&&(e.a=new pt(Vn,e,10,11)),e.a),u),27));cLt(e,A),Bfe(c,b.c),Efe(c,b.b)}--d}fr(e,(m1(),Mk),c.b),fr(e,Fv,c.c),r.Vg()}n(mAe,"Q8c");function yAe(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X;for(e.Ug("Interactive node layering",1),r=new Bt,E=new N(t.a);E.a=d){Je(X.b>0),X.a.Xb(X.c=--X.b);break}else I.a>b&&(i?(bi(i.b,I.b),i.a=v.Math.max(i.a,I.a),$c(X)):(Mt(I.b,m),I.c=v.Math.min(I.c,b),I.a=v.Math.max(I.a,d),i=I));i||(i=new Avt,i.c=b,i.a=d,Dp(X,i),Mt(i.b,m))}for(u=t.b,w=0,K=new N(r);K.aA&&(c&&(pa(gt,E),pa(zt,Et(w.b-1))),On=r.b,zr+=E+e,E=0,m=v.Math.max(m,r.b+r.c+Ke)),Ss(d,On),Es(d,zr),m=v.Math.max(m,On+Ke+r.c),E=v.Math.max(E,x),On+=Ke+e;if(m=v.Math.max(m,i),Be=zr+E+r.a,BeC1,te=v.Math.abs(E.b-_.b)>C1,(!r&&zt&&te||r&&(zt||te))&&Fn(I.a,rt)),Vi(I.a,i),i.b==0?E=rt:E=(Je(i.b!=0),l(i.c.b.c,8)),ime(A,x,D),s_t(a)==_t&&(Qi(_t.i)!=a.a&&(D=new Hi,Utt(D,Qi(_t.i),X)),wt(I,rst,D)),R7e(A,I,X),m.a.zc(A,m);ca(I,vt),Ni(I,_t)}for(w=m.a.ec().Kc();w.Ob();)b=l(w.Pb(),18),ca(b,null),Ni(b,null);e.Vg()}n(kAe,"h0b");function xAe(t,e){var r,i,a,c,u,d,b,w,m,x,E;for(a=l(O(t,(Lo(),$2)),88),m=a==(ui(),lo)||a==po?Zu:po,r=l(fo(ir(new ne(null,new ce(t.b,16)),new Fbt),hc(new Ua,new Oo,new Yo,H(q(so,1),mt,108,0,[(dc(),Eo)]))),15),b=l(fo(no(r.Oc(),new Y5t(e)),hc(new Ua,new Oo,new Yo,H(q(so,1),mt,108,0,[Eo]))),15),b.Gc(l(fo(no(r.Oc(),new Q5t(e)),hc(new Ua,new Oo,new Yo,H(q(so,1),mt,108,0,[Eo]))),16)),b.jd(new J5t(m)),E=new D0(new Z5t(a)),i=new sn,d=b.Kc();d.Ob();)u=l(d.Pb(),240),w=l(u.a,40),jt(Dt(u.c))?(E.a.zc(w,(Se(),sb))==null,new x5(E.a.Zc(w,!1)).a.gc()>0&&Hn(i,w,l(new x5(E.a.Zc(w,!1)).a.Vc(),40)),new x5(E.a.ad(w,!0)).a.gc()>1&&Hn(i,uOt(E,w),w)):(new x5(E.a.Zc(w,!1)).a.gc()>0&&(c=l(new x5(E.a.Zc(w,!1)).a.Vc(),40),ot(c)===ot(eo(_a(i.f,w)))&&l(O(w,(yr(),zst)),15).Fc(c)),new x5(E.a.ad(w,!0)).a.gc()>1&&(x=uOt(E,w),ot(eo(_a(i.f,x)))===ot(w)&&l(O(x,(yr(),zst)),15).Fc(w)),E.a.Bc(w)!=null)}n(xAe,"lXc");function IRt(t){var e,r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt;if(t.gc()==1)return l(t.Xb(0),235);if(t.gc()<=0)return new eA;for(a=t.Kc();a.Ob();){for(r=l(a.Pb(),235),_=0,m=nr,x=nr,b=da,w=da,A=new N(r.e);A.ad&&(Y=0,rt+=u+K,u=0),GTe(D,r,Y,rt),e=v.Math.max(e,Y+I.a),u=v.Math.max(u,I.b),Y+=I.a+K;return D}n(IRt,"BTb");function CAe(t){dnt();var e,r,i,a,c,u,d,b,w,m,x,E,A,_,D,I;if(t==null||(c=dA(t),_=Y3e(c),_%4!=0))return null;if(D=_/4|0,D==0)return ht(yc,a4,28,0,15,1);for(x=null,e=0,r=0,i=0,a=0,u=0,d=0,b=0,w=0,A=0,E=0,m=0,x=ht(yc,a4,28,D*3,15,1);A>4)<<24>>24,x[E++]=((r&15)<<4|i>>2&15)<<24>>24,x[E++]=(i<<6|a)<<24>>24}return!B9(u=c[m++])||!B9(d=c[m++])?null:(e=i1[u],r=i1[d],b=c[m++],w=c[m++],i1[b]==-1||i1[w]==-1?b==61&&w==61?(r&15)!=0?null:(I=ht(yc,a4,28,A*3+1,15,1),ts(x,0,I,0,A*3),I[E]=(e<<2|r>>4)<<24>>24,I):b!=61&&w==61?(i=i1[b],(i&3)!=0?null:(I=ht(yc,a4,28,A*3+2,15,1),ts(x,0,I,0,A*3),I[E++]=(e<<2|r>>4)<<24>>24,I[E]=((r&15)<<4|i>>2&15)<<24>>24,I)):null:(i=i1[b],a=i1[w],x[E++]=(e<<2|r>>4)<<24>>24,x[E++]=((r&15)<<4|i>>2&15)<<24>>24,x[E++]=(i<<6|a)<<24>>24,x))}n(CAe,"Aqe");function TAe(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt;for(e.Ug(H_e,1),_=l(O(t,(Ot(),ld)),223),a=new N(t.b);a.a=2){for(D=!0,E=new N(c.j),r=l(P(E),12),A=null;E.a0)if(i=x.gc(),w=xi(v.Math.floor((i+1)/2))-1,a=xi(v.Math.ceil((i+1)/2))-1,e.o==Qu)for(m=a;m>=w;m--)e.a[rt.p]==rt&&(D=l(x.Xb(m),42),_=l(D.a,10),!Fh(r,D.b)&&A>t.b.e[_.p]&&(e.a[_.p]=rt,e.g[rt.p]=e.g[_.p],e.a[rt.p]=e.g[rt.p],e.f[e.g[rt.p].p]=(Se(),!!(jt(e.f[e.g[rt.p].p])&rt.k==(De(),Di))),A=t.b.e[_.p]));else for(m=w;m<=a;m++)e.a[rt.p]==rt&&(K=l(x.Xb(m),42),I=l(K.a,10),!Fh(r,K.b)&&A0&&(a=l(It(I.c.a,gt-1),10),u=t.i[a.p],zt=v.Math.ceil(pw(t.n,a,I)),c=vt.a.e-I.d.d-(u.a.e+a.o.b+a.d.a)-zt),w=Ir,gt0&&_t.a.e.e-_t.a.a-(_t.b.e.e-_t.b.a)<0,_=Y.a.e.e-Y.a.a-(Y.b.e.e-Y.b.a)<0&&_t.a.e.e-_t.a.a-(_t.b.e.e-_t.b.a)>0,A=Y.a.e.e+Y.b.a<_t.b.e.e+_t.a.a,E=Y.a.e.e+Y.b.a>_t.b.e.e+_t.a.a,rt=0,!D&&!_&&(E?c+x>0?rt=x:w-i>0&&(rt=i):A&&(c+d>0?rt=d:w-X>0&&(rt=X))),vt.a.e+=rt,vt.b&&(vt.d.e+=rt),!1))}n(PRt,"iOc");function $Rt(t,e,r){var i,a,c,u,d,b,w,m,x,E;if(i=new ll(e.Lf().a,e.Lf().b,e.Mf().a,e.Mf().b),a=new d3,t.c)for(u=new N(e.Rf());u.aw&&(i.a+=u9t(ht(Yl,v1,28,-w,15,1))),i.a+="Is",Fu(b,Rs(32))>=0)for(a=0;a=i.o.b/2}else X=!x;X?(K=l(O(i,(Ct(),Lv)),15),K?E?c=K:(a=l(O(i,Sv),15),a?K.gc()<=a.gc()?c=K:c=a:(c=new Bt,wt(i,Sv,c))):(c=new Bt,wt(i,Lv,c))):(a=l(O(i,(Ct(),Sv)),15),a?x?c=a:(K=l(O(i,Lv),15),K?a.gc()<=K.gc()?c=a:c=K:(c=new Bt,wt(i,Lv,c))):(c=new Bt,wt(i,Sv,c))),c.Fc(t),wt(t,(Ct(),vq),r),e.d==r?(Ni(e,null),r.e.c.length+r.g.c.length==0&&ko(r,null),zme(r)):(ca(e,null),r.e.c.length+r.g.c.length==0&&ko(r,null)),Gc(e.a)}n(BAe,"t6b");function MAe(t,e,r){var i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt,_t,zt,te,ye,Be,Ke,On,zr;for(r.Ug("MinWidth layering",1),A=e.b,_t=e.a,zr=l(O(e,(Ot(),tXt)),17).a,d=l(O(e,eXt),17).a,t.b=it(lt(O(e,Wh))),t.d=Ir,rt=new N(_t);rt.a0?(w=0,I&&(w+=d),w+=(te-1)*u,Y&&(w+=d),zt&&Y&&(w=v.Math.max(w,Gxe(Y,u,X,_t))),w=t.a&&(i=hEe(t,X),m=v.Math.max(m,i.b),rt=v.Math.max(rt,i.d),Mt(d,new ki(X,i)));for(zt=new Bt,w=0;w0),I.a.Xb(I.c=--I.b),te=new as(t.b),Dp(I,te),Je(I.b0){for(E=m<100?null:new xd(m),w=new fJ(e),_=w.g,K=ht(yn,Pn,28,m,15,1),i=0,rt=new pg(m),a=0;a=0;)if(A!=null?er(A,_[b]):ot(A)===ot(_[b])){K.length<=i&&(I=K,K=ht(yn,Pn,28,2*K.length,15,1),ts(I,0,K,0,i)),K[i++]=a,bn(rt,_[b]);break t}if(A=A,ot(A)===ot(d))break}}if(w=rt,_=rt.g,m=i,i>K.length&&(I=K,K=ht(yn,Pn,28,i,15,1),ts(I,0,K,0,i)),i>0){for(Y=!0,c=0;c=0;)K3(t,K[u]);if(i!=m){for(a=m;--a>=i;)K3(w,a);I=K,K=ht(yn,Pn,28,i,15,1),ts(I,0,K,0,i)}e=w}}}else for(e=Kye(t,e),a=t.i;--a>=0;)e.Hc(t.g[a])&&(K3(t,a),Y=!0);if(Y){if(K!=null){for(r=e.gc(),x=r==1?B7(t,4,e.Kc().Pb(),null,K[0],D):B7(t,6,e,K,K[0],D),E=r<100?null:new xd(r),a=e.Kc();a.Ob();)A=a.Pb(),E=nX(t,l(A,76),E);E?(E.nj(x),E.oj()):tr(t.e,x)}else{for(E=Yle(e.gc()),a=e.Kc();a.Ob();)A=a.Pb(),E=nX(t,l(A,76),E);E&&E.oj()}return!0}else return!1}n(qRt,"wLd");function _Ae(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y;for(r=new rDt(e),r.a||iSe(e),w=nTe(e),b=new dg,I=new a$t,D=new N(e.a);D.a0||r.o==Qu&&a=r}n(FAe,"$Kc");function OAe(t,e,r){var i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt,_t,zt,te,ye,Be,Ke;for(Y=e,X=new dg,rt=new dg,m=gg(Y,TKt),i=new dSt(t,r,X,rt),J7e(i.a,i.b,i.c,i.d,m),b=(_t=X.i,_t||(X.i=new yw(X,X.c))),te=b.Kc();te.Ob();)for(zt=l(te.Pb(),166),a=l(cr(X,zt),21),D=a.Kc();D.Ob();)if(_=D.Pb(),vt=l(Bw(t.d,_),166),vt)d=(!zt.e&&(zt.e=new pe(Lr,zt,10,9)),zt.e),bn(d,vt);else throw u=W1(Y,B1),E=mOe+_+yOe+u,A=E+Q8,R(new Lu(A));for(w=(gt=rt.i,gt||(rt.i=new yw(rt,rt.c))),Be=w.Kc();Be.Ob();)for(ye=l(Be.Pb(),166),c=l(cr(rt,ye),21),K=c.Kc();K.Ob();)if(I=K.Pb(),vt=l(Bw(t.d,I),166),vt)x=(!ye.g&&(ye.g=new pe(Lr,ye,9,10)),ye.g),bn(x,vt);else throw u=W1(Y,B1),E=mOe+I+yOe+u,A=E+Q8,R(new Lu(A));!r.b&&(r.b=new pe(en,r,4,7)),r.b.i!=0&&(!r.c&&(r.c=new pe(en,r,5,8)),r.c.i!=0)&&(!r.b&&(r.b=new pe(en,r,4,7)),r.b.i<=1&&(!r.c&&(r.c=new pe(en,r,5,8)),r.c.i<=1))&&(!r.a&&(r.a=new pt(Lr,r,6,6)),r.a).i==1&&(Ke=l(Z((!r.a&&(r.a=new pt(Lr,r,6,6)),r.a),0),166),!z$(Ke)&&!q$(Ke)&&(BA(Ke,l(Z((!r.b&&(r.b=new pe(en,r,4,7)),r.b),0),84)),MA(Ke,l(Z((!r.c&&(r.c=new pe(en,r,5,8)),r.c),0),84))))}n(OAe,"zEd");function DAe(t){var e,r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt,_t,zt,te,ye;for(Y=t.a,rt=0,vt=Y.length;rt0?(x=l(It(E.c.a,u-1),10),zt=pw(t.b,E,x),I=E.n.b-E.d.d-(x.n.b+x.o.b+x.d.a+zt)):I=E.n.b-E.d.d,w=v.Math.min(I,w),u1&&(u=v.Math.min(u,v.Math.abs(l(vl(d.a,1),8).b-m.b)))));else for(D=new N(e.j);D.aa&&(c=E.a-a,u=nr,i.c.length=0,a=E.a),E.a>=a&&(Te(i.c,d),d.a.b>1&&(u=v.Math.min(u,v.Math.abs(l(vl(d.a,d.a.b-2),8).b-E.b)))));if(i.c.length!=0&&c>e.o.a/2&&u>e.o.b/2){for(A=new Zo,ko(A,e),Ci(A,(At(),Fe)),A.n.a=e.o.a/2,K=new Zo,ko(K,e),Ci(K,on),K.n.a=e.o.a/2,K.n.b=e.o.b,b=new N(i);b.a=w.b?ca(d,K):ca(d,A)):(w=l(T1e(d.a),8),I=d.a.b==0?lu(d.c):l(oh(d.a),8),I.b>=w.b?Ni(d,K):Ni(d,A)),x=l(O(d,(Ot(),co)),75),x&&Jp(x,w,!0);e.n.a=a-e.o.a/2}}n(jAe,"vac");function IAe(t,e,r){var i,a,c,u,d,b,w,m,x,E;for(d=hn(t.b,0);d.b!=d.d.c;)if(u=l(cn(d),40),!ie(u.c,VR))for(w=o9e(u,t),e==(ui(),lo)||e==po?ai(w,new rgt):ai(w,new igt),b=w.c.length,i=0;i=0?A=R3(d):A=lC(R3(d)),t.qf(yk,A)),w=new Hi,E=!1,t.pf(O2)?(EV(w,l(t.of(O2),8)),E=!0):Uce(w,u.a/2,u.b/2),A.g){case 4:wt(m,Hs,(yl(),db)),wt(m,xq,(Wf(),g4)),m.o.b=u.b,D<0&&(m.o.a=-D),Ci(x,(At(),qe)),E||(w.a=u.a),w.a-=u.a;break;case 2:wt(m,Hs,(yl(),fm)),wt(m,xq,(Wf(),dk)),m.o.b=u.b,D<0&&(m.o.a=-D),Ci(x,(At(),je)),E||(w.a=0);break;case 1:wt(m,Vg,(Q1(),w4)),m.o.a=u.a,D<0&&(m.o.b=-D),Ci(x,(At(),on)),E||(w.b=u.b),w.b-=u.b;break;case 3:wt(m,Vg,(Q1(),Tv)),m.o.a=u.a,D<0&&(m.o.b=-D),Ci(x,(At(),Fe)),E||(w.b=0)}if(EV(x.n,w),wt(m,O2,w),e==sp||e==k0||e==ys){if(_=0,e==sp&&t.pf(tf))switch(A.g){case 1:case 2:_=l(t.of(tf),17).a;break;case 3:case 4:_=-l(t.of(tf),17).a}else switch(A.g){case 4:case 2:_=c.b,e==k0&&(_/=a.b);break;case 1:case 3:_=c.a,e==k0&&(_/=a.a)}wt(m,M2,_)}return wt(m,Ro,A),m}n(HC,"f2b");function PAe(){JW();function t(i){var a=this;this.dispatch=function(c){var u=c.data;switch(u.cmd){case"algorithms":var d=mZ((de(),new k5(new N1(Cb.b))));i.postMessage({id:u.id,data:d});break;case"categories":var b=mZ((de(),new k5(new N1(Cb.c))));i.postMessage({id:u.id,data:b});break;case"options":var w=mZ((de(),new k5(new N1(Cb.d))));i.postMessage({id:u.id,data:w});break;case"register":RBe(u.algorithms),i.postMessage({id:u.id});break;case"layout":gEe(u.graph,u.layoutOptions||{},u.options||{}),i.postMessage({id:u.id,data:u.graph});break}},this.saveDispatch=function(c){try{a.dispatch(c)}catch(u){i.postMessage({id:c.data.id,error:u})}}}n(t,"h");function e(i){var a=this;this.dispatcher=new t({postMessage:n(function(c){a.onmessage({data:c})},"postMessage")}),this.postMessage=function(c){setTimeout(function(){a.dispatcher.saveDispatch({data:c})},0)}}if(n(e,"j"),typeof document===Crt&&typeof self!==Crt){var r=new t(self);self.onmessage=r.saveDispatch}else typeof k!==Crt&&k.exports&&(Object.defineProperty(T,"__esModule",{value:!0}),k.exports={default:e,Worker:e})}n(PAe,"OId");function KRt(t,e,r){var i,a,c,u,d,b,w,m,x,E;for(m=new i0(r),ao(m,e),wt(m,(Ct(),lr),e),m.o.a=e.g,m.o.b=e.f,m.n.a=e.i,m.n.b=e.j,Mt(r.a,m),Hn(t.a,e,m),((!e.a&&(e.a=new pt(Vn,e,10,11)),e.a).i!=0||jt(Dt(yt(e,(Ot(),pm)))))&&wt(m,YGt,(Se(),!0)),w=l(O(r,ms),21),x=l(O(m,(Ot(),Jr)),101),x==(Ri(),vb)?wt(m,Jr,e1):x!=e1&&w.Fc((Oa(),gk)),E=0,i=l(O(r,Sl),88),b=new ze((!e.c&&(e.c=new pt(_c,e,9,9)),e.c));b.e!=b.i.gc();)d=l(Xe(b),123),a=_r(e),(ot(yt(a,w0))!==ot((Ru(),ef))||ot(yt(a,Yg))===ot((Q0(),uk))||ot(yt(a,Yg))===ot((Q0(),hk))||jt(Dt(yt(a,L2)))||ot(yt(a,bm))!==ot((Xf(),cm))||ot(yt(a,fb))===ot((zl(),I2))||ot(yt(a,fb))===ot((zl(),km))||ot(yt(a,Jg))===ot((nd(),Ck))||ot(yt(a,Jg))===ot((nd(),Tk)))&&!jt(Dt(yt(e,Aq)))&&fr(d,wr,Et(E++)),jt(Dt(yt(d,tp)))||GMe(t,d,m,w,i,x);for(u=new ze((!e.n&&(e.n=new pt(Za,e,1,7)),e.n));u.e!=u.i.gc();)c=l(Xe(u),135),!jt(Dt(yt(c,tp)))&&c.a&&Mt(m.b,b$(c));return jt(Dt(O(m,$T)))&&w.Fc((Oa(),wq)),jt(Dt(O(m,Oq)))&&(w.Fc((Oa(),mq)),w.Fc(FT),wt(m,Jr,e1)),m}n(KRt,"i5b");function hR(t,e,r,i,a,c,u){var d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt,_t,zt,te,ye,Be,Ke,On,zr;for(D=0,ye=0,w=new N(t.b);w.aD&&(c&&(pa(gt,A),pa(zt,Et(m.b-1)),Mt(t.d,_),d.c.length=0),On=r.b,zr+=A+e,A=0,x=v.Math.max(x,r.b+r.c+Ke)),Te(d.c,b),XOt(b,On,zr),x=v.Math.max(x,On+Ke+r.c),A=v.Math.max(A,E),On+=Ke+e,_=b;if(bi(t.a,d),Mt(t.d,l(It(d,d.c.length-1),163)),x=v.Math.max(x,i),Be=zr+A+r.a,Bea.d.d+a.d.a?m.f.d=!0:(m.f.d=!0,m.f.a=!0))),i.b!=i.d.c&&(e=r);m&&(c=l(He(t.f,u.d.i),60),e.bc.d.d+c.d.a?m.f.d=!0:(m.f.d=!0,m.f.a=!0))}for(d=new We(Ve(Mi(A).a.Kc(),new et));un(d);)u=l(tn(d),18),u.a.b!=0&&(e=l(oh(u.a),8),u.d.j==(At(),Fe)&&(I=new C8(e,new xt(e.a,a.d.d),a,u),I.f.a=!0,I.a=u.d,Te(D.c,I)),u.d.j==on&&(I=new C8(e,new xt(e.a,a.d.d+a.d.a),a,u),I.f.d=!0,I.a=u.d,Te(D.c,I)))}return D}n(qAe,"rkc");function HAe(t,e,r){var i,a,c,u,d,b,w,m,x,E;for(b=new Bt,x=e.length,u=AJ(r),w=0;w=_&&(X>_&&(A.c.length=0,_=X),Te(A.c,u));A.c.length!=0&&(E=l(It(A,bL(e,A.c.length)),131),Be.a.Bc(E)!=null,E.s=D++,Aet(E,te,gt),A.c.length=0)}for(rt=t.c.length+1,d=new N(t);d.aye.s&&($c(r),$s(ye.i,i),i.c>0&&(i.a=ye,Mt(ye.t,i),i.b=_t,Mt(_t.i,i)))}n(UAe,"WUc");function URt(t,e,r,i,a){var c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt,_t,zt,te,ye,Be;for(D=new hs(e.b),rt=new hs(e.b),E=new hs(e.b),zt=new hs(e.b),I=new hs(e.b),_t=hn(e,0);_t.b!=_t.d.c;)for(vt=l(cn(_t),12),d=new N(vt.g);d.a0,K=vt.g.c.length>0,w&&K?Te(E.c,vt):w?Te(D.c,vt):K&&Te(rt.c,vt);for(_=new N(D);_.a<_.c.c.length;)A=l(P(_),12),Mt(a,wnt(t,A,null,r));for(Y=new N(rt);Y.aX.nh()-w.b&&(E=X.nh()-w.b),A>X.oh()-w.d&&(A=X.oh()-w.d),m0){for(Y=hn(t.f,0);Y.b!=Y.d.c;)X=l(cn(Y),10),X.p+=E-t.e;Wtt(t),Gc(t.f),Het(t,i,A)}else{for(Fn(t.f,A),A.p=i,t.e=v.Math.max(t.e,i),c=new We(Ve(Mi(A).a.Kc(),new et));un(c);)a=l(tn(c),18),!a.c.i.c&&a.c.i.k==(De(),rs)&&(Fn(t.f,a.c.i),a.c.i.p=i-1);t.c=i}else Wtt(t),Gc(t.f),i=0,un(new We(Ve(Mi(A).a.Kc(),new et)))?(E=0,E=tDt(E,A),i=E+2,Het(t,i,A)):(Fn(t.f,A),A.p=0,t.e=v.Math.max(t.e,0),t.b=l(It(t.d.b,0),30),t.c=0);for(t.f.b==0||Wtt(t),t.d.a.c.length=0,K=new Bt,w=new N(t.d.b);w.a=48&&e<=57){for(i=e-48;a=48&&e<=57;)if(i=i*10+e-48,i<0)throw R(new Bn(Ln((Sn(),PKt))))}else throw R(new Bn(Ln((Sn(),UOe))));if(r=i,e==44){if(a>=t.j)throw R(new Bn(Ln((Sn(),GOe))));if((e=ea(t.i,a++))>=48&&e<=57){for(r=e-48;a=48&&e<=57;)if(r=r*10+e-48,r<0)throw R(new Bn(Ln((Sn(),PKt))));if(i>r)throw R(new Bn(Ln((Sn(),VOe))))}else r=-1}if(e!=125)throw R(new Bn(Ln((Sn(),WOe))));t.bm(a)?(c=(Jn(),Jn(),++Vr,new qp(9,c)),t.d=a+1):(c=(Jn(),Jn(),++Vr,new qp(3,c)),t.d=a),c.Om(i),c.Nm(r),Qn(t)}}return c}n(Int,"Pqe");function XAe(t){var e,r,i,a,c;switch(r=l(O(t,(Ct(),ms)),21),e=zB(pPe),a=l(O(t,(Ot(),gm)),346),a==(t0(),sf)&&Zc(e,wPe),jt(Dt(O(t,dst)))?In(e,(na(),Uh),(ua(),kot)):In(e,(na(),ls),(ua(),kot)),O(t,(aA(),lS))!=null&&Zc(e,mPe),(jt(Dt(O(t,QVt)))||jt(Dt(O(t,GVt))))&&Js(e,(na(),go),(ua(),WWt)),l(O(t,Sl),88).g){case 2:case 3:case 4:Js(In(e,(na(),Uh),(ua(),VWt)),go,GWt)}switch(r.Hc((Oa(),wq))&&Js(In(In(e,(na(),Uh),(ua(),UWt)),ps,HWt),go,KWt),ot(O(t,fb))!==ot((zl(),Uq))&&In(e,(na(),ls),(ua(),lGt)),r.Hc(yq)&&(In(e,(na(),Uh),(ua(),fGt)),In(e,g0,uGt),In(e,ls,dGt)),ot(O(t,Bq))!==ot((Uy(),_T))&&ot(O(t,ld))!==ot((e0(),PF))&&Js(e,(na(),go),(ua(),rGt)),jt(Dt(O(t,XVt)))&&In(e,(na(),ls),(ua(),nGt)),jt(Dt(O(t,cst)))&&In(e,(na(),ls),(ua(),bGt)),sxe(t)&&(ot(O(t,gm))===ot(sf)?i=l(O(t,lF),299):i=l(O(t,sst),299),c=i==(xy(),Wot)?(ua(),hGt):(ua(),wGt),In(e,(na(),ps),c)),l(O(t,CXt),388).g){case 1:In(e,(na(),ps),(ua(),gGt));break;case 2:Js(In(In(e,(na(),ls),(ua(),NWt)),ps,RWt),go,zWt)}return ot(O(t,w0))!==ot((Ru(),ef))&&In(e,(na(),ls),(ua(),pGt)),e}n(XAe,"bXb");function XRt(t,e,r){var i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y;if(xs(t.a,e)){if(Fh(l(He(t.a,e),49),r))return 1}else Hn(t.a,e,new oi);if(xs(t.a,r)){if(Fh(l(He(t.a,r),49),e))return-1}else Hn(t.a,r,new oi);if(xs(t.e,e)){if(Fh(l(He(t.e,e),49),r))return-1}else Hn(t.e,e,new oi);if(xs(t.e,r)){if(Fh(l(He(t.a,r),49),e))return 1}else Hn(t.e,r,new oi);if(t.c==(Ru(),Mst)||!Tr(e,(Ct(),wr))||!Tr(r,(Ct(),wr))){for(x=null,w=new N(e.j);w.au?Jy(t,e,r):Jy(t,r,e),au?1:0}return i=l(O(e,(Ct(),wr)),17).a,c=l(O(r,wr),17).a,i>c?Jy(t,e,r):Jy(t,r,e),ic?1:0}n(XRt,"crc");function Dg(t,e,r){var i,a,c,u,d,b,w,m,x,E,A,_,D,I;if(r==null)return null;if(t.a!=e.jk())throw R(new Le(X8+e.xe()+y2));if(J(e,469)){if(I=NCe(l(e,685),r),!I)throw R(new Le(Yit+r+"' is not a valid enumerator of '"+e.xe()+"'"));return I}switch(V0((ec(),aa),e).Nl()){case 2:{r=cs(r,!1);break}case 3:{r=cs(r,!0);break}}if(i=V0(aa,e).Jl(),i)return i.jk().wi().ti(i,r);if(E=V0(aa,e).Ll(),E){for(I=new Bt,w=a$(r),m=0,x=w.length;m1)for(_=new b3((!t.a&&(t.a=new pt(Lr,t,6,6)),t.a));_.e!=_.i.gc();)l8(_);for(u=l(Z((!t.a&&(t.a=new pt(Lr,t,6,6)),t.a),0),166),I=On,On>vt+rt?I=vt+rt:Ongt+D?K=gt+D:zrvt-rt&&Igt-D&&KOn+Ke?zt=On+Ke:vtzr+_t?te=zr+_t:gtOn-Ke&&ztzr-_t&&ter&&(E=r-1),A=bf+Sc(e,24)*g_*x-x/2,A<0?A=1:A>i&&(A=i-1),a=(Cd(),b=new LE,b),kA(a,E),vA(a,A),bn((!u.a&&(u.a=new ci(Al,u,5)),u.a),a)}n(ZAe,"cud");function YRt(t){Wb(t,new Jf(Hb(Rb(qb(zb(new xf,qc),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new Pgt))),St(t,qc,dv,1.3),St(t,qc,R8,(Se(),!1)),St(t,qc,b2,wQt),St(t,qc,Jw,15),St(t,qc,HR,Lt(AHe)),St(t,qc,e4,Lt(FHe)),St(t,qc,bv,Lt(DHe)),St(t,qc,fv,Lt(jHe)),St(t,qc,z8,Lt(_He)),St(t,qc,ZC,Lt(mct)),St(t,qc,q8,Lt(IHe)),St(t,qc,QHt,Lt(kQt)),St(t,qc,JHt,Lt(vQt)),St(t,qc,YHt,Lt(vct)),St(t,qc,XHt,Lt(xQt)),St(t,qc,ZHt,Lt(pQt)),St(t,qc,tKt,Lt(yct)),St(t,qc,eKt,Lt(gQt)),St(t,qc,nKt,Lt(yQt)),St(t,qc,JC,Lt(bQt)),St(t,qc,UR,Lt(LHe)),St(t,qc,GHt,Lt(TF)),St(t,qc,WHt,Lt(fQt)),St(t,qc,VHt,Lt(SF)),St(t,qc,UHt,Lt(mQt))}n(YRt,"Y7c");function dR(t,e){QN();var r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt,_t,zt,te,ye,Be,Ke,On;if(zt=t.e,_=t.d,a=t.a,zt==0)switch(e){case 0:return"0";case 1:return D8;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return gt=new kd,e<0?gt.a+="0E+":gt.a+="0E",gt.a+=-e,gt.a}if(Y=_*10+1+7,rt=ht(Yl,v1,28,Y+1,15,1),r=Y,_==1)if(d=a[0],d<0){On=Si(d,Na);do D=On,On=vC(On,10),rt[--r]=48+xn($l(D,ha(On,10)))&gi;while(Ko(On,0)!=0)}else{On=d;do D=On,On=On/10|0,rt[--r]=48+(D-On*10)&gi;while(On!=0)}else{ye=ht(yn,Pn,28,_,15,1),Ke=_,ts(a,0,ye,0,Ke);t:for(;;){for(_t=0,w=Ke-1;w>=0;w--)Be=la(lh(_t,32),Si(ye[w],Na)),K=P6e(Be),ye[w]=xn(K),_t=xn(rg(K,32));X=xn(_t),I=r;do rt[--r]=48+X%10&gi;while((X=X/10|0)!=0&&r!=0);for(i=9-I+r,b=0;b0;b++)rt[--r]=48;for(x=Ke-1;ye[x]==0;x--)if(x==0)break t;Ke=x+1}for(;rt[r]==48;)++r}if(A=zt<0,u=Y-r-e-1,e==0)return A&&(rt[--r]=45),Nl(rt,r,Y-r);if(e>0&&u>=-6){if(u>=0){for(m=r+u,E=Y-1;E>=m;E--)rt[E+1]=rt[E];return rt[++m]=46,A&&(rt[--r]=45),Nl(rt,r,Y-r+1)}for(x=2;x<-u+1;x++)rt[--r]=48;return rt[--r]=46,rt[--r]=48,A&&(rt[--r]=45),Nl(rt,r,Y-r)}return te=r+1,c=Y,vt=new rw,A&&(vt.a+="-"),c-te>=1?(_d(vt,rt[r]),vt.a+=".",vt.a+=Nl(rt,r+1,Y-r-1)):vt.a+=Nl(rt,r,Y-r),vt.a+="E",u>0&&(vt.a+="+"),vt.a+=""+u,vt.a}n(dR,"Ajb");function QRt(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt;switch(t.c=e,t.g=new sn,r=(Gb(),new Nb(t.c)),i=new NE(r),gZ(i),Y=En(yt(t.c,(xC(),zQt))),b=l(yt(t.c,Lct),324),vt=l(yt(t.c,_ct),437),u=l(yt(t.c,$Qt),490),rt=l(yt(t.c,Act),438),t.j=it(lt(yt(t.c,YHe))),d=t.a,b.g){case 0:d=t.a;break;case 1:d=t.b;break;case 2:d=t.i;break;case 3:d=t.e;break;case 4:d=t.f;break;default:throw R(new Le(tz+(b.f!=null?b.f:""+b.g)))}if(t.d=new KSt(d,vt,u),wt(t.d,(yy(),ET),Dt(yt(t.c,VHe))),t.d.c=jt(Dt(yt(t.c,NQt))),IM(t.c).i==0)return t.d;for(x=new ze(IM(t.c));x.e!=x.i.gc();){for(m=l(Xe(x),27),A=m.g/2,E=m.f/2,gt=new xt(m.i+A,m.j+E);xs(t.g,gt);)tg(gt,(v.Math.random()-.5)*C1,(v.Math.random()-.5)*C1);D=l(yt(m,($n(),Lk)),140),I=new iEt(gt,new ll(gt.a-A-t.j/2-D.b,gt.b-E-t.j/2-D.d,m.g+t.j+(D.b+D.c),m.f+t.j+(D.d+D.a))),Mt(t.d.i,I),Hn(t.g,gt,new ki(I,m))}switch(rt.g){case 0:if(Y==null)t.d.d=l(It(t.d.i,0),68);else for(X=new N(t.d.i);X.a0?Ke+1:1);for(u=new N(gt.g);u.a0?Ke+1:1)}t.c[w]==0?Fn(t.e,D):t.a[w]==0&&Fn(t.f,D),++w}for(_=-1,A=1,x=new Bt,t.d=l(O(e,(Ct(),Av)),234);Ll>0;){for(;t.e.b!=0;)zr=l(rI(t.e),10),t.b[zr.p]=_--,ont(t,zr),--Ll;for(;t.f.b!=0;)Fc=l(rI(t.f),10),t.b[Fc.p]=A++,ont(t,Fc),--Ll;if(Ll>0){for(E=da,X=new N(Y);X.a=E&&(rt>E&&(x.c.length=0,E=rt),Te(x.c,D)));m=t.sg(x),t.b[m.p]=A++,ont(t,m),--Ll}}for(On=Y.c.length+1,w=0;wt.b[ho]&&(Fg(i,!0),wt(e,aF,(Se(),!0)));t.a=null,t.c=null,t.b=null,Gc(t.f),Gc(t.e),r.Vg()}n(eLe,"SFc");function JRt(t,e,r){var i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt;for(vt=l(Z((!t.a&&(t.a=new pt(Lr,t,6,6)),t.a),0),166),m=new Vs,rt=new sn,gt=sNt(vt),fs(rt.f,vt,gt),E=new sn,i=new Ar,_=d1(Qc(H(q(Tl,1),xe,20,0,[(!e.d&&(e.d=new pe(ii,e,8,5)),e.d),(!e.e&&(e.e=new pe(ii,e,7,4)),e.e)])));un(_);){if(A=l(tn(_),74),(!t.a&&(t.a=new pt(Lr,t,6,6)),t.a).i!=1)throw R(new Le(tOe+(!t.a&&(t.a=new pt(Lr,t,6,6)),t.a).i));A!=t&&(I=l(Z((!A.a&&(A.a=new pt(Lr,A,6,6)),A.a),0),166),Kr(i,I,i.c.b,i.c),D=l(eo(_a(rt.f,I)),13),D||(D=sNt(I),fs(rt.f,I,D)),x=r?Ti(new wa(l(It(gt,gt.c.length-1),8)),l(It(D,D.c.length-1),8)):Ti(new wa((ue(0,gt.c.length),l(gt.c[0],8))),(ue(0,D.c.length),l(D.c[0],8))),fs(E.f,I,x))}if(i.b!=0)for(K=l(It(gt,r?gt.c.length-1:0),8),w=1;w1&&Kr(m,K,m.c.b,m.c),LP(a)));K=X}return m}n(JRt,"usd");function ZRt(t,e,r){var i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt,_t,zt,te,ye;for(r.Ug(fFe,1),ye=l(fo(ir(new ne(null,new ce(e,16)),new dgt),hc(new Ua,new Oo,new Yo,H(q(so,1),mt,108,0,[(dc(),Eo)]))),15),m=l(fo(ir(new ne(null,new ce(e,16)),new eyt(e)),hc(new Ua,new Oo,new Yo,H(q(so,1),mt,108,0,[Eo]))),15),_=l(fo(ir(new ne(null,new ce(e,16)),new tyt(e)),hc(new Ua,new Oo,new Yo,H(q(so,1),mt,108,0,[Eo]))),15),D=ht(Jq,XR,40,e.gc(),0,1),u=0;u=0&&te=0&&!D[A]){D[A]=a,m.gd(d),--d;break}if(A=te-E,A=0&&!D[A]){D[A]=a,m.gd(d),--d;break}}for(_.jd(new fgt),b=D.length-1;b>=0;b--)!D[b]&&!_.dc()&&(D[b]=l(_.Xb(0),40),_.gd(0));for(w=0;w=0;b--)Fn(r,(ue(b,u.c.length),l(u.c[b],8)));return r}n(tzt,"jTb");function ezt(t,e,r){var i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt;for(Y=it(lt(yt(e,(m1(),Tm)))),A=it(lt(yt(e,iS))),E=it(lt(yt(e,cH))),sJ((!e.a&&(e.a=new pt(Vn,e,10,11)),e.a)),K=UNt((!e.a&&(e.a=new pt(Vn,e,10,11)),e.a),Y,t.b),I=0;IE&&mC((ue(E,e.c.length),l(e.c[E],186)),m),m=null;e.c.length>E&&(ue(E,e.c.length),l(e.c[E],186)).a.c.length==0;)$s(e,(ue(E,e.c.length),e.c[E]));if(!m){--u;continue}if(!jt(Dt(l(It(m.b,0),27).of((mu(),SF))))&&mSe(e,_,c,m,I,r,E,i)){D=!0;continue}if(I){if(A=_.b,x=m.f,!jt(Dt(l(It(m.b,0),27).of(SF)))&&PBe(e,_,c,m,r,E,i,a)){if(D=!0,A=t.j){t.a=-1,t.c=1;return}if(e=ea(t.i,t.d++),t.a=e,t.b==1){switch(e){case 92:if(i=10,t.d>=t.j)throw R(new Bn(Ln((Sn(),sz))));t.a=ea(t.i,t.d++);break;case 45:(t.e&512)==512&&t.d=t.j||ea(t.i,t.d)!=63)break;if(++t.d>=t.j)throw R(new Bn(Ln((Sn(),lat))));switch(e=ea(t.i,t.d++),e){case 58:i=13;break;case 61:i=14;break;case 33:i=15;break;case 91:i=19;break;case 62:i=18;break;case 60:if(t.d>=t.j)throw R(new Bn(Ln((Sn(),lat))));if(e=ea(t.i,t.d++),e==61)i=16;else if(e==33)i=17;else throw R(new Bn(Ln((Sn(),BOe))));break;case 35:for(;t.d=t.j)throw R(new Bn(Ln((Sn(),sz))));t.a=ea(t.i,t.d++);break;default:i=0}t.c=i}n(Qn,"Mqe");function aLe(t,e,r){var i,a,c,u,d,b,w,m,x,E,A,_,D,I;if(r.Ug("Process compaction",1),!!jt(Dt(O(e,(Lo(),xYt))))){for(a=l(O(e,$2),88),A=it(lt(O(e,Xst))),FEe(t,e,a),xAe(e,A/2/2),_=e.b,qf(_,new G5t(a)),w=hn(_,0);w.b!=w.d.c;)if(b=l(cn(w),40),!jt(Dt(O(b,(yr(),pb))))){if(i=rTe(b,a),D=ZSe(b,e),x=0,E=0,i)switch(I=i.e,a.g){case 2:x=I.a-A-b.f.a,D.e.a-A-b.f.ax&&(x=D.e.a+D.f.a+A),E=x+b.f.a;break;case 4:x=I.b-A-b.f.b,D.e.b-A-b.f.bx&&(x=D.e.b+D.f.b+A),E=x+b.f.b}else if(D)switch(a.g){case 2:x=D.e.a-A-b.f.a,E=x+b.f.a;break;case 1:x=D.e.a+D.f.a+A,E=x+b.f.a;break;case 4:x=D.e.b-A-b.f.b,E=x+b.f.b;break;case 3:x=D.e.b+D.f.b+A,E=x+b.f.b}ot(O(e,Vst))===ot((U7(),mF))?(c=x,u=E,d=Ey(ir(new ne(null,new ce(t.a,16)),new I8t(c,u))),d.a!=null?a==(ui(),lo)||a==po?b.e.a=x:b.e.b=x:(a==(ui(),lo)||a==Gl?d=Ey(ir(fLt(new ne(null,new ce(t.a,16))),new V5t(c))):d=Ey(ir(fLt(new ne(null,new ce(t.a,16))),new X5t(c))),d.a!=null&&(a==lo||a==po?b.e.a=it(lt((Je(d.a!=null),l(d.a,42)).a)):b.e.b=it(lt((Je(d.a!=null),l(d.a,42)).a)))),d.a!=null&&(m=io(t.a,(Je(d.a!=null),d.a),0),m>0&&m!=l(O(b,F1),17).a&&(wt(b,bYt,(Se(),!0)),wt(b,F1,Et(m))))):a==(ui(),lo)||a==po?b.e.a=x:b.e.b=x}r.Vg()}}n(aLe,"oXc");function nzt(t){var e,r,i,a,c,u,d,b,w;for(t.b=1,Qn(t),e=null,t.c==0&&t.a==94?(Qn(t),e=(Jn(),Jn(),++Vr,new Xc(4)),ss(e,0,Z8),d=(++Vr,new Xc(4))):d=(Jn(),Jn(),++Vr,new Xc(4)),a=!0;(w=t.c)!=1;){if(w==0&&t.a==93&&!a){e&&(M8(e,d),d=e);break}if(r=t.a,i=!1,w==10)switch(r){case 100:case 68:case 119:case 87:case 115:case 83:u2(d,Zy(r)),i=!0;break;case 105:case 73:case 99:case 67:r=(u2(d,Zy(r)),-1),r<0&&(i=!0);break;case 112:case 80:if(b=cet(t,r),!b)throw R(new Bn(Ln((Sn(),hat))));u2(d,b),i=!0;break;default:r=Uet(t)}else if(w==24&&!a){if(e&&(M8(e,d),d=e),c=nzt(t),M8(d,c),t.c!=0||t.a!=93)throw R(new Bn(Ln((Sn(),POe))));break}if(Qn(t),!i){if(w==0){if(r==91)throw R(new Bn(Ln((Sn(),jKt))));if(r==93)throw R(new Bn(Ln((Sn(),IKt))));if(r==45&&!a&&t.a!=93)throw R(new Bn(Ln((Sn(),uat))))}if(t.c!=0||t.a!=45||r==45&&a)ss(d,r,r);else{if(Qn(t),(w=t.c)==1)throw R(new Bn(Ln((Sn(),cz))));if(w==0&&t.a==93)ss(d,r,r),ss(d,45,45);else{if(w==0&&t.a==93||w==24)throw R(new Bn(Ln((Sn(),uat))));if(u=t.a,w==0){if(u==91)throw R(new Bn(Ln((Sn(),jKt))));if(u==93)throw R(new Bn(Ln((Sn(),IKt))));if(u==45)throw R(new Bn(Ln((Sn(),uat))))}else w==10&&(u=Uet(t));if(Qn(t),r>u)throw R(new Bn(Ln((Sn(),ROe))));ss(d,r,u)}}}a=!1}if(t.c==1)throw R(new Bn(Ln((Sn(),cz))));return Nw(d),E8(d),t.b=0,Qn(t),d}n(nzt,"Fre");function oLe(t,e,r){var i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt;if(r.Ug("Coffman-Graham Layering",1),e.a.c.length==0){r.Vg();return}for(vt=l(O(e,(Ot(),ZVt)),17).a,b=0,u=0,E=new N(e.a);E.a=vt||!Z4e(K,i))&&(i=tSt(e,m)),Ui(K,i),c=new We(Ve(Mi(K).a.Kc(),new et));un(c);)a=l(tn(c),18),!t.a[a.p]&&(D=a.c.i,--t.e[D.p],t.e[D.p]==0&&y3(Ky(A,D),j8));for(w=m.c.length-1;w>=0;--w)Mt(e.b,(ue(w,m.c.length),l(m.c[w],30)));e.a.c.length=0,r.Vg()}n(oLe,"EGc");function rzt(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt;rt=!1;do for(rt=!1,c=e?new Sf(t.a.b).a.gc()-2:1;e?c>=0:cl(O(I,wr),17).a)&&(Y=!1);if(Y){for(b=e?c+1:c-1,d=VY(t.a,Et(b)),u=!1,X=!0,i=!1,m=hn(d,0);m.b!=m.d.c;)w=l(cn(m),10),Tr(w,wr)?w.p!=x.p&&(u=u|(e?l(O(w,wr),17).al(O(x,wr),17).a),X=!1):!u&&X&&w.k==(De(),rs)&&(i=!0,e?E=l(tn(new We(Ve(Mi(w).a.Kc(),new et))),18).c.i:E=l(tn(new We(Ve(ri(w).a.Kc(),new et))),18).d.i,E==x&&(e?r=l(tn(new We(Ve(ri(w).a.Kc(),new et))),18).d.i:r=l(tn(new We(Ve(Mi(w).a.Kc(),new et))),18).c.i,(e?l(_p(t.a,r),17).a-l(_p(t.a,E),17).a:l(_p(t.a,E),17).a-l(_p(t.a,r),17).a)<=2&&(X=!1)));if(i&&X&&(e?r=l(tn(new We(Ve(ri(x).a.Kc(),new et))),18).d.i:r=l(tn(new We(Ve(Mi(x).a.Kc(),new et))),18).c.i,(e?l(_p(t.a,r),17).a-l(_p(t.a,x),17).a:l(_p(t.a,x),17).a-l(_p(t.a,r),17).a)<=2&&r.k==(De(),ei)&&(X=!1)),u||X){for(D=DPt(t,x,e);D.a.gc()!=0;)_=l(D.a.ec().Kc().Pb(),10),D.a.Bc(_)!=null,Vi(D,DPt(t,_,e));--A,rt=!0}}}while(rt)}n(rzt,"Sec");function sLe(t){vn(t.c,Dn,H(q($t,1),Tt,2,6,[fa,"http://www.w3.org/2001/XMLSchema#decimal"])),vn(t.d,Dn,H(q($t,1),Tt,2,6,[fa,"http://www.w3.org/2001/XMLSchema#integer"])),vn(t.e,Dn,H(q($t,1),Tt,2,6,[fa,"http://www.w3.org/2001/XMLSchema#boolean"])),vn(t.f,Dn,H(q($t,1),Tt,2,6,[fa,"EBoolean",Gn,"EBoolean:Object"])),vn(t.i,Dn,H(q($t,1),Tt,2,6,[fa,"http://www.w3.org/2001/XMLSchema#byte"])),vn(t.g,Dn,H(q($t,1),Tt,2,6,[fa,"http://www.w3.org/2001/XMLSchema#hexBinary"])),vn(t.j,Dn,H(q($t,1),Tt,2,6,[fa,"EByte",Gn,"EByte:Object"])),vn(t.n,Dn,H(q($t,1),Tt,2,6,[fa,"EChar",Gn,"EChar:Object"])),vn(t.t,Dn,H(q($t,1),Tt,2,6,[fa,"http://www.w3.org/2001/XMLSchema#double"])),vn(t.u,Dn,H(q($t,1),Tt,2,6,[fa,"EDouble",Gn,"EDouble:Object"])),vn(t.F,Dn,H(q($t,1),Tt,2,6,[fa,"http://www.w3.org/2001/XMLSchema#float"])),vn(t.G,Dn,H(q($t,1),Tt,2,6,[fa,"EFloat",Gn,"EFloat:Object"])),vn(t.I,Dn,H(q($t,1),Tt,2,6,[fa,"http://www.w3.org/2001/XMLSchema#int"])),vn(t.J,Dn,H(q($t,1),Tt,2,6,[fa,"EInt",Gn,"EInt:Object"])),vn(t.N,Dn,H(q($t,1),Tt,2,6,[fa,"http://www.w3.org/2001/XMLSchema#long"])),vn(t.O,Dn,H(q($t,1),Tt,2,6,[fa,"ELong",Gn,"ELong:Object"])),vn(t.Z,Dn,H(q($t,1),Tt,2,6,[fa,"http://www.w3.org/2001/XMLSchema#short"])),vn(t.$,Dn,H(q($t,1),Tt,2,6,[fa,"EShort",Gn,"EShort:Object"])),vn(t._,Dn,H(q($t,1),Tt,2,6,[fa,"http://www.w3.org/2001/XMLSchema#string"]))}n(sLe,"Xae");function cLe(t,e,r,i,a,c,u){var d,b,w,m,x,E,A,_;return E=l(i.a,17).a,A=l(i.b,17).a,x=t.b,_=t.c,d=0,m=0,e==(ui(),lo)||e==po?(m=N9(GFt(Np(no(new ne(null,new ce(r.b,16)),new ggt),new Ybt))),x.e.b+x.f.b/2>m?(w=++A,d=it(lt(jc(Ip(no(new ne(null,new ce(r.b,16)),new N8t(a,w)),new Qbt))))):(b=++E,d=it(lt(jc(k3(no(new ne(null,new ce(r.b,16)),new R8t(a,b)),new Jbt)))))):(m=N9(GFt(Np(no(new ne(null,new ce(r.b,16)),new ngt),new Xbt))),x.e.a+x.f.a/2>m?(w=++A,d=it(lt(jc(Ip(no(new ne(null,new ce(r.b,16)),new P8t(a,w)),new Zbt))))):(b=++E,d=it(lt(jc(k3(no(new ne(null,new ce(r.b,16)),new $8t(a,b)),new tgt)))))),e==lo?(pa(t.a,new xt(it(lt(O(x,(yr(),Cu))))-a,d)),pa(t.a,new xt(_.e.a+_.f.a+a+c,d)),pa(t.a,new xt(_.e.a+_.f.a+a+c,_.e.b+_.f.b/2)),pa(t.a,new xt(_.e.a+_.f.a,_.e.b+_.f.b/2))):e==po?(pa(t.a,new xt(it(lt(O(x,(yr(),Gh))))+a,x.e.b+x.f.b/2)),pa(t.a,new xt(x.e.a+x.f.a+a,d)),pa(t.a,new xt(_.e.a-a-c,d)),pa(t.a,new xt(_.e.a-a-c,_.e.b+_.f.b/2)),pa(t.a,new xt(_.e.a,_.e.b+_.f.b/2))):e==Gl?(pa(t.a,new xt(d,it(lt(O(x,(yr(),Cu))))-a)),pa(t.a,new xt(d,_.e.b+_.f.b+a+c)),pa(t.a,new xt(_.e.a+_.f.a/2,_.e.b+_.f.b+a+c)),pa(t.a,new xt(_.e.a+_.f.a/2,_.e.b+_.f.b+a))):(t.a.b==0||(l(oh(t.a),8).b=it(lt(O(x,(yr(),Gh))))+a*l(u.b,17).a),pa(t.a,new xt(d,it(lt(O(x,(yr(),Gh))))+a*l(u.b,17).a)),pa(t.a,new xt(d,_.e.b-a*l(u.a,17).a-c))),new ki(Et(E),Et(A))}n(cLe,"C0c");function lLe(t){var e,r,i,a,c,u,d,b,w,m,x,E,A;if(u=!0,x=null,i=null,a=null,e=!1,A=DUe,w=null,c=null,d=0,b=D$(t,d,PZt,$Zt),b=0&&ie(t.substr(d,2),"//")?(d+=2,b=D$(t,d,ES,BS),i=(Gi(d,b,t.length),t.substr(d,b-d)),d=b):x!=null&&(d==t.length||(_e(d,t.length),t.charCodeAt(d)!=47))&&(u=!1,b=yV(t,Rs(35),d),b==-1&&(b=t.length),i=(Gi(d,b,t.length),t.substr(d,b-d)),d=b);if(!r&&d0&&ea(m,m.length-1)==58&&(a=m,d=b)),dAN(c))&&(x=c);for(!x&&(x=(ue(0,I.c.length),l(I.c[0],185))),D=new N(e.b);D.ax&&(Be=0,Ke+=m+_t,m=0),G$t(vt,u,Be,Ke),e=v.Math.max(e,Be+gt.a),m=v.Math.max(m,gt.b),Be+=gt.a+_t;for(rt=new sn,r=new sn,te=new N(t);te.a=-1900?1:0,r>=4?jn(t,H(q($t,1),Tt,2,6,[jLe,ILe])[d]):jn(t,H(q($t,1),Tt,2,6,["BC","AD"])[d]);break;case 121:M5e(t,r,i);break;case 77:WTe(t,r,i);break;case 107:b=a.q.getHours(),b==0?g1(t,24,r):g1(t,b,r);break;case 83:oxe(t,r,a);break;case 69:m=i.q.getDay(),r==5?jn(t,H(q($t,1),Tt,2,6,["S","M","T","W","T","F","S"])[m]):r==4?jn(t,H(q($t,1),Tt,2,6,[ort,srt,crt,lrt,hrt,urt,drt])[m]):jn(t,H(q($t,1),Tt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[m]);break;case 97:a.q.getHours()>=12&&a.q.getHours()<24?jn(t,H(q($t,1),Tt,2,6,["AM","PM"])[1]):jn(t,H(q($t,1),Tt,2,6,["AM","PM"])[0]);break;case 104:x=a.q.getHours()%12,x==0?g1(t,12,r):g1(t,x,r);break;case 75:E=a.q.getHours()%12,g1(t,E,r);break;case 72:A=a.q.getHours(),g1(t,A,r);break;case 99:_=i.q.getDay(),r==5?jn(t,H(q($t,1),Tt,2,6,["S","M","T","W","T","F","S"])[_]):r==4?jn(t,H(q($t,1),Tt,2,6,[ort,srt,crt,lrt,hrt,urt,drt])[_]):r==3?jn(t,H(q($t,1),Tt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[_]):g1(t,_,1);break;case 76:D=i.q.getMonth(),r==5?jn(t,H(q($t,1),Tt,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[D]):r==4?jn(t,H(q($t,1),Tt,2,6,[Xnt,Ynt,Qnt,Jnt,ov,Znt,trt,ert,nrt,rrt,irt,art])[D]):r==3?jn(t,H(q($t,1),Tt,2,6,["Jan","Feb","Mar","Apr",ov,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[D]):g1(t,D+1,r);break;case 81:I=i.q.getMonth()/3|0,r<4?jn(t,H(q($t,1),Tt,2,6,["Q1","Q2","Q3","Q4"])[I]):jn(t,H(q($t,1),Tt,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[I]);break;case 100:K=i.q.getDate(),g1(t,K,r);break;case 109:w=a.q.getMinutes(),g1(t,w,r);break;case 115:u=a.q.getSeconds(),g1(t,u,r);break;case 122:r<4?jn(t,c.c[0]):jn(t,c.c[1]);break;case 118:jn(t,c.b);break;case 90:r<3?jn(t,Z8e(c)):r==3?jn(t,ike(c)):jn(t,ake(c.a));break;default:return!1}return!0}n(dLe,"LA");function $nt(t,e,r,i){var a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt,_t,zt,te,ye,Be,Ke,On;if(I$t(e),b=l(Z((!e.b&&(e.b=new pe(en,e,4,7)),e.b),0),84),m=l(Z((!e.c&&(e.c=new pe(en,e,5,8)),e.c),0),84),d=oo(b),w=oo(m),u=(!e.a&&(e.a=new pt(Lr,e,6,6)),e.a).i==0?null:l(Z((!e.a&&(e.a=new pt(Lr,e,6,6)),e.a),0),166),_t=l(He(t.a,d),10),Be=l(He(t.a,w),10),zt=null,Ke=null,J(b,193)&&(gt=l(He(t.a,b),305),J(gt,12)?zt=l(gt,12):J(gt,10)&&(_t=l(gt,10),zt=l(It(_t.j,0),12))),J(m,193)&&(ye=l(He(t.a,m),305),J(ye,12)?Ke=l(ye,12):J(ye,10)&&(Be=l(ye,10),Ke=l(It(Be.j,0),12))),!_t||!Be)throw R(new i3("The source or the target of edge "+e+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(D=new ug,ao(D,e),wt(D,(Ct(),lr),e),wt(D,(Ot(),co),null),A=l(O(i,ms),21),_t==Be&&A.Fc((Oa(),OT)),zt||(vt=(Fa(),Ls),te=null,u&&dw(l(O(_t,Jr),101))&&(te=new xt(u.j,u.k),EBt(te,kx(e)),tMt(te,r),Gp(w,d)&&(vt=Mc,Zn(te,_t.n))),zt=PNt(_t,te,vt,i)),Ke||(vt=(Fa(),Mc),On=null,u&&dw(l(O(Be,Jr),101))&&(On=new xt(u.b,u.c),EBt(On,kx(e)),tMt(On,r)),Ke=PNt(Be,On,vt,Qi(Be))),ca(D,zt),Ni(D,Ke),(zt.e.c.length>1||zt.g.c.length>1||Ke.e.c.length>1||Ke.g.c.length>1)&&A.Fc((Oa(),FT)),E=new ze((!e.n&&(e.n=new pt(Za,e,1,7)),e.n));E.e!=E.i.gc();)if(x=l(Xe(E),135),!jt(Dt(yt(x,tp)))&&x.a)switch(I=b$(x),Mt(D.b,I),l(O(I,_1),278).g){case 1:case 2:A.Fc((Oa(),bk));break;case 0:A.Fc((Oa(),fk)),wt(I,_1,(bu(),Fk))}if(c=l(O(i,NT),322),K=l(O(i,Pq),323),a=c==(P7(),nF)||K==(r8(),Est),u&&(!u.a&&(u.a=new ci(Al,u,5)),u.a).i!=0&&a){for(X=TC(u),_=new Vs,rt=hn(X,0);rt.b!=rt.d.c;)Y=l(cn(rt),8),Fn(_,new wa(Y));wt(D,eVt,_)}return D}n($nt,"f5b");function fLe(t,e,r,i){var a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt,_t,zt,te,ye,Be,Ke,On,zr;for(te=0,ye=0,_t=new sn,vt=l(jc(Ip(no(new ne(null,new ce(t.b,16)),new egt),new lgt)),17).a+1,zt=ht(yn,Pn,28,vt,15,1),I=ht(yn,Pn,28,vt,15,1),D=0;D1)for(d=Ke+1;dw.b.e.b*(1-K)+w.c.e.b*K));_++);if(gt.gc()>0&&(On=w.a.b==0?Xi(w.b.e):l(oh(w.a),8),Y=Zn(Xi(l(gt.Xb(gt.gc()-1),40).e),l(gt.Xb(gt.gc()-1),40).f),E=Zn(Xi(l(gt.Xb(0),40).e),l(gt.Xb(0),40).f),_>=gt.gc()-1&&On.b>Y.b&&w.c.e.b>Y.b||_<=0&&On.bw.b.e.a*(1-K)+w.c.e.a*K));_++);if(gt.gc()>0&&(On=w.a.b==0?Xi(w.b.e):l(oh(w.a),8),Y=Zn(Xi(l(gt.Xb(gt.gc()-1),40).e),l(gt.Xb(gt.gc()-1),40).f),E=Zn(Xi(l(gt.Xb(0),40).e),l(gt.Xb(0),40).f),_>=gt.gc()-1&&On.a>Y.a&&w.c.e.a>Y.a||_<=0&&On.a=it(lt(O(t,(yr(),wYt))))&&++ye):(A.f&&A.d.e.a<=it(lt(O(t,(yr(),Kst))))&&++te,A.g&&A.c.e.a+A.c.f.a>=it(lt(O(t,(yr(),pYt))))&&++ye)}else rt==0?aet(w):rt<0&&(++zt[Ke],++I[zr],Be=cLe(w,e,t,new ki(Et(te),Et(ye)),r,i,new ki(Et(I[zr]),Et(zt[Ke]))),te=l(Be.a,17).a,ye=l(Be.b,17).a)}n(fLe,"F0c");function bLe(t,e,r){var i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X;if(i=e,b=r,t.b&&i.j==(At(),je)&&b.j==(At(),je)&&(X=i,i=b,b=X),xs(t.a,i)){if(Fh(l(He(t.a,i),49),b))return 1}else Hn(t.a,i,new oi);if(xs(t.a,b)){if(Fh(l(He(t.a,b),49),i))return-1}else Hn(t.a,b,new oi);if(xs(t.d,i)){if(Fh(l(He(t.d,i),49),b))return-1}else Hn(t.d,i,new oi);if(xs(t.d,b)){if(Fh(l(He(t.a,b),49),i))return 1}else Hn(t.d,b,new oi);if(i.j!=b.j)return K=ece(i.j,b.j),K==-1?kl(t,b,i):kl(t,i,b),K;if(i.e.c.length!=0&&b.e.c.length!=0){if(t.b&&(K=kFt(i,b),K!=0))return K==-1?kl(t,b,i):K==1&&kl(t,i,b),K;if(c=l(It(i.e,0),18).c.i,m=l(It(b.e,0),18).c.i,c==m)return a=l(O(l(It(i.e,0),18),(Ct(),wr)),17).a,w=l(O(l(It(b.e,0),18),wr),17).a,a>w?kl(t,i,b):kl(t,b,i),aw?1:0;for(_=t.c,D=0,I=_.length;Dw?kl(t,i,b):kl(t,b,i),aw?1:0):t.b&&(K=kFt(i,b),K!=0)?(K==-1?kl(t,b,i):K==1&&kl(t,i,b),K):(u=0,x=0,Tr(l(It(i.g,0),18),wr)&&(u=l(O(l(It(i.g,0),18),wr),17).a),Tr(l(It(b.g,0),18),wr)&&(x=l(O(l(It(i.g,0),18),wr),17).a),d&&d==E?jt(Dt(O(l(It(i.g,0),18),Yu)))&&!jt(Dt(O(l(It(b.g,0),18),Yu)))?(kl(t,i,b),1):!jt(Dt(O(l(It(i.g,0),18),Yu)))&&jt(Dt(O(l(It(b.g,0),18),Yu)))?(kl(t,b,i),-1):(u>x?kl(t,i,b):kl(t,b,i),ux?1:0):(t.f&&(t.f._b(d)&&(u=l(t.f.xc(d),17).a),t.f._b(E)&&(x=l(t.f.xc(E),17).a)),u>x?kl(t,i,b):kl(t,b,i),ux?1:0))):i.e.c.length!=0&&b.g.c.length!=0?(kl(t,i,b),1):i.g.c.length!=0&&b.e.c.length!=0?(kl(t,b,i),-1):Tr(i,(Ct(),wr))&&Tr(b,wr)?(a=l(O(i,wr),17).a,w=l(O(b,wr),17).a,a>w?kl(t,i,b):kl(t,b,i),aw?1:0):(kl(t,b,i),-1)}n(bLe,"qrc");function gLe(t){t.gb||(t.gb=!0,t.b=Ao(t,0),Ur(t.b,18),Er(t.b,19),t.a=Ao(t,1),Ur(t.a,1),Er(t.a,2),Er(t.a,3),Er(t.a,4),Er(t.a,5),t.o=Ao(t,2),Ur(t.o,8),Ur(t.o,9),Er(t.o,10),Er(t.o,11),Er(t.o,12),Er(t.o,13),Er(t.o,14),Er(t.o,15),Er(t.o,16),Er(t.o,17),Er(t.o,18),Er(t.o,19),Er(t.o,20),Er(t.o,21),Er(t.o,22),Er(t.o,23),Ya(t.o),Ya(t.o),Ya(t.o),Ya(t.o),Ya(t.o),Ya(t.o),Ya(t.o),Ya(t.o),Ya(t.o),Ya(t.o),t.p=Ao(t,3),Ur(t.p,2),Ur(t.p,3),Ur(t.p,4),Ur(t.p,5),Er(t.p,6),Er(t.p,7),Ya(t.p),Ya(t.p),t.q=Ao(t,4),Ur(t.q,8),t.v=Ao(t,5),Er(t.v,9),Ya(t.v),Ya(t.v),Ya(t.v),t.w=Ao(t,6),Ur(t.w,2),Ur(t.w,3),Ur(t.w,4),Er(t.w,5),t.B=Ao(t,7),Er(t.B,1),Ya(t.B),Ya(t.B),Ya(t.B),t.Q=Ao(t,8),Er(t.Q,0),Ya(t.Q),t.R=Ao(t,9),Ur(t.R,1),t.S=Ao(t,10),Ya(t.S),Ya(t.S),Ya(t.S),Ya(t.S),Ya(t.S),Ya(t.S),Ya(t.S),Ya(t.S),Ya(t.S),Ya(t.S),Ya(t.S),Ya(t.S),Ya(t.S),Ya(t.S),Ya(t.S),t.T=Ao(t,11),Er(t.T,10),Er(t.T,11),Er(t.T,12),Er(t.T,13),Er(t.T,14),Ya(t.T),Ya(t.T),t.U=Ao(t,12),Ur(t.U,2),Ur(t.U,3),Er(t.U,4),Er(t.U,5),Er(t.U,6),Er(t.U,7),Ya(t.U),t.V=Ao(t,13),Er(t.V,10),t.W=Ao(t,14),Ur(t.W,18),Ur(t.W,19),Ur(t.W,20),Er(t.W,21),Er(t.W,22),Er(t.W,23),t.bb=Ao(t,15),Ur(t.bb,10),Ur(t.bb,11),Ur(t.bb,12),Ur(t.bb,13),Ur(t.bb,14),Ur(t.bb,15),Ur(t.bb,16),Er(t.bb,17),Ya(t.bb),Ya(t.bb),t.eb=Ao(t,16),Ur(t.eb,2),Ur(t.eb,3),Ur(t.eb,4),Ur(t.eb,5),Ur(t.eb,6),Ur(t.eb,7),Er(t.eb,8),Er(t.eb,9),t.ab=Ao(t,17),Ur(t.ab,0),Ur(t.ab,1),t.H=Ao(t,18),Er(t.H,0),Er(t.H,1),Er(t.H,2),Er(t.H,3),Er(t.H,4),Er(t.H,5),Ya(t.H),t.db=Ao(t,19),Er(t.db,2),t.c=Un(t,20),t.d=Un(t,21),t.e=Un(t,22),t.f=Un(t,23),t.i=Un(t,24),t.g=Un(t,25),t.j=Un(t,26),t.k=Un(t,27),t.n=Un(t,28),t.r=Un(t,29),t.s=Un(t,30),t.t=Un(t,31),t.u=Un(t,32),t.fb=Un(t,33),t.A=Un(t,34),t.C=Un(t,35),t.D=Un(t,36),t.F=Un(t,37),t.G=Un(t,38),t.I=Un(t,39),t.J=Un(t,40),t.L=Un(t,41),t.M=Un(t,42),t.N=Un(t,43),t.O=Un(t,44),t.P=Un(t,45),t.X=Un(t,46),t.Y=Un(t,47),t.Z=Un(t,48),t.$=Un(t,49),t._=Un(t,50),t.cb=Un(t,51),t.K=Un(t,52))}n(gLe,"Yae");function pLe(t,e,r){var i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt,_t,zt,te,ye,Be,Ke;for(u=new Ar,gt=l(O(r,(Ot(),Sl)),88),D=0,Vi(u,(!e.a&&(e.a=new pt(Vn,e,10,11)),e.a));u.b!=0;)m=l(u.b==0?null:(Je(u.b!=0),bl(u,u.a.a)),27),w=_r(m),(ot(yt(w,w0))!==ot((Ru(),ef))||ot(yt(w,Yg))===ot((Q0(),uk))||ot(yt(w,Yg))===ot((Q0(),hk))||jt(Dt(yt(w,L2)))||ot(yt(w,bm))!==ot((Xf(),cm))||ot(yt(w,fb))===ot((zl(),I2))||ot(yt(w,fb))===ot((zl(),km))||ot(yt(w,Jg))===ot((nd(),Ck))||ot(yt(w,Jg))===ot((nd(),Tk)))&&!jt(Dt(yt(m,Aq)))&&fr(m,(Ct(),wr),Et(D++)),K=!jt(Dt(yt(m,tp))),K&&(E=(!m.a&&(m.a=new pt(Vn,m,10,11)),m.a).i!=0,_=K6e(m),A=ot(yt(m,gm))===ot((t0(),sf)),Ke=!du(m,($n(),Ak))||cMt(En(yt(m,Ak))),rt=null,Ke&&A&&(E||_)&&(rt=wNt(m),wt(rt,Sl,gt),Tr(rt,hF)&&w6t(new vZ(it(lt(O(rt,hF)))),rt),l(yt(m,Zg),181).gc()!=0&&(x=rt,Yr(new ne(null,(!m.c&&(m.c=new pt(_c,m,9,9)),new ce(m.c,16))),new T4t(x)),l$t(m,rt))),_t=r,zt=l(He(t.a,_r(m)),10),zt&&(_t=zt.e),Y=KRt(t,m,_t),rt&&(Y.e=rt,rt.e=Y,Vi(u,(!m.a&&(m.a=new pt(Vn,m,10,11)),m.a))));for(D=0,Kr(u,e,u.c.b,u.c);u.b!=0;){for(c=l(u.b==0?null:(Je(u.b!=0),bl(u,u.a.a)),27),b=new ze((!c.b&&(c.b=new pt(ii,c,12,3)),c.b));b.e!=b.i.gc();)d=l(Xe(b),74),I$t(d),(ot(yt(e,w0))!==ot((Ru(),ef))||ot(yt(e,Yg))===ot((Q0(),uk))||ot(yt(e,Yg))===ot((Q0(),hk))||jt(Dt(yt(e,L2)))||ot(yt(e,bm))!==ot((Xf(),cm))||ot(yt(e,fb))===ot((zl(),I2))||ot(yt(e,fb))===ot((zl(),km))||ot(yt(e,Jg))===ot((nd(),Ck))||ot(yt(e,Jg))===ot((nd(),Tk)))&&fr(d,(Ct(),wr),Et(D++)),ye=oo(l(Z((!d.b&&(d.b=new pe(en,d,4,7)),d.b),0),84)),Be=oo(l(Z((!d.c&&(d.c=new pe(en,d,5,8)),d.c),0),84)),!(jt(Dt(yt(d,tp)))||jt(Dt(yt(ye,tp)))||jt(Dt(yt(Be,tp))))&&(I=Ag(d)&&jt(Dt(yt(ye,pm)))&&jt(Dt(yt(d,Qg))),vt=c,I||Gp(Be,ye)?vt=ye:Gp(ye,Be)&&(vt=Be),_t=r,zt=l(He(t.a,vt),10),zt&&(_t=zt.e),X=$nt(t,d,vt,_t),wt(X,(Ct(),QGt),gCe(t,d,e,r)));if(A=ot(yt(c,gm))===ot((t0(),sf)),A)for(a=new ze((!c.a&&(c.a=new pt(Vn,c,10,11)),c.a));a.e!=a.i.gc();)i=l(Xe(a),27),Ke=!du(i,($n(),Ak))||cMt(En(yt(i,Ak))),te=ot(yt(i,gm))===ot(sf),Ke&&te&&Kr(u,i,u.c.b,u.c)}}n(pLe,"d5b");function Ct(){Ct=tt;var t,e;lr=new or(Uzt),QGt=new or("coordinateOrigin"),est=new or("processors"),YGt=new Nr("compoundNode",(Se(),!1)),oF=new Nr("insideConnections",!1),eVt=new or("originalBendpoints"),nVt=new or("originalDummyNodePosition"),rVt=new or("originalLabelEdge"),jT=new or("representedLabels"),DT=new or("endLabels"),Ev=new or("endLabel.origin"),Mv=new Nr("labelSide",(tl(),NF)),m4=new Nr("maxEdgeThickness",0),Yu=new Nr("reversed",!1),Av=new or(Wzt),xu=new Nr("longEdgeSource",null),kh=new Nr("longEdgeTarget",null),dm=new Nr("longEdgeHasLabelDummies",!1),sF=new Nr("longEdgeBeforeLabelDummy",!1),xq=new Nr("edgeConstraint",(Wf(),$ot)),B2=new or("inLayerLayoutUnit"),Vg=new Nr("inLayerConstraint",(Q1(),iF)),Bv=new Nr("inLayerSuccessorConstraint",new Bt),tVt=new Nr("inLayerSuccessorConstraintBetweenNonDummies",!1),Bc=new or("portDummy"),kq=new Nr("crossingHint",Et(0)),ms=new Nr("graphProperties",(e=l(_h(Uot),9),new cl(e,l(sh(e,e.length),9),0))),Ro=new Nr("externalPortSide",(At(),Fo)),ZGt=new Nr("externalPortSize",new Hi),Yot=new or("externalPortReplacedDummies"),Cq=new or("externalPortReplacedDummy"),cd=new Nr("externalPortConnections",(t=l(_h(Ma),9),new cl(t,l(sh(t,t.length),9),0))),M2=new Nr(f_e,0),XGt=new or("barycenterAssociates"),Lv=new or("TopSideComments"),Sv=new or("BottomSideComments"),vq=new or("CommentConnectionPort"),Jot=new Nr("inputCollect",!1),tst=new Nr("outputCollect",!1),aF=new Nr("cyclic",!1),JGt=new or("crossHierarchyMap"),rst=new or("targetOffset"),new Nr("splineLabelSize",new Hi),v4=new or("spacings"),Tq=new Nr("partitionConstraint",!1),E2=new or("breakingPoint.info"),oVt=new or("splines.survivingEdge"),Xg=new or("splines.route.start"),k4=new or("splines.edgeChain"),aVt=new or("originalPortConstraints"),A2=new or("selfLoopHolder"),pk=new or("splines.nsPortY"),wr=new or("modelOrder"),Zot=new or("longEdgeTargetNode"),ub=new Nr(G_e,!1),y4=new Nr(G_e,!1),Qot=new or("layerConstraints.hiddenNodes"),iVt=new or("layerConstraints.opposidePort"),nst=new or("targetNode.modelOrder")}n(Ct,"Ywc");function wLe(t,e,r,i){var a,c,u,d,b,w,m,x,E,A,_;for(x=hn(t.b,0);x.b!=x.d.c;)if(m=l(cn(x),40),!ie(m.c,VR))for(c=l(fo(new ne(null,new ce(Ske(m,t),16)),hc(new Ua,new Oo,new Yo,H(q(so,1),mt,108,0,[(dc(),Eo)]))),15),e==(ui(),lo)||e==po?c.jd(new agt):c.jd(new ogt),_=c.gc(),a=0;a<_;a++)u=_==1?.5:(1+a)/(_+1),e==lo?(w=it(lt(O(m,(yr(),Gh)))),m.e.a+m.f.a+i0&&(d=l(oh(l(c.Xb(a),65).a),8).a,E=m.e.a+m.f.a/2,b=l(oh(l(c.Xb(a),65).a),8).b,A=m.e.b+m.f.b/2,i>0&&v.Math.abs(b-A)/(v.Math.abs(d-E)/40)>50&&(A>b?pa(l(c.Xb(a),65).a,new xt(m.e.a+m.f.a+i/5.3,m.e.b+m.f.b*u-i/2)):pa(l(c.Xb(a),65).a,new xt(m.e.a+m.f.a+i/5.3,m.e.b+m.f.b*u+i/2)))),pa(l(c.Xb(a),65).a,new xt(m.e.a+m.f.a,m.e.b+m.f.b*u))):e==po?(w=it(lt(O(m,(yr(),Cu)))),m.e.a-i>w?pa(l(c.Xb(a),65).a,new xt(w-r,m.e.b+m.f.b*u)):l(c.Xb(a),65).a.b>0&&(d=l(oh(l(c.Xb(a),65).a),8).a,E=m.e.a+m.f.a/2,b=l(oh(l(c.Xb(a),65).a),8).b,A=m.e.b+m.f.b/2,i>0&&v.Math.abs(b-A)/(v.Math.abs(d-E)/40)>50&&(A>b?pa(l(c.Xb(a),65).a,new xt(m.e.a-i/5.3,m.e.b+m.f.b*u-i/2)):pa(l(c.Xb(a),65).a,new xt(m.e.a-i/5.3,m.e.b+m.f.b*u+i/2)))),pa(l(c.Xb(a),65).a,new xt(m.e.a,m.e.b+m.f.b*u))):e==Gl?(w=it(lt(O(m,(yr(),Gh)))),m.e.b+m.f.b+i0&&(d=l(oh(l(c.Xb(a),65).a),8).a,E=m.e.a+m.f.a/2,b=l(oh(l(c.Xb(a),65).a),8).b,A=m.e.b+m.f.b/2,i>0&&v.Math.abs(d-E)/(v.Math.abs(b-A)/40)>50&&(E>d?pa(l(c.Xb(a),65).a,new xt(m.e.a+m.f.a*u-i/2,m.e.b+i/5.3+m.f.b)):pa(l(c.Xb(a),65).a,new xt(m.e.a+m.f.a*u+i/2,m.e.b+i/5.3+m.f.b)))),pa(l(c.Xb(a),65).a,new xt(m.e.a+m.f.a*u,m.e.b+m.f.b))):(w=it(lt(O(m,(yr(),Cu)))),sFt(l(c.Xb(a),65),t)?pa(l(c.Xb(a),65).a,new xt(m.e.a+m.f.a*u,l(oh(l(c.Xb(a),65).a),8).b)):m.e.b-i>w?pa(l(c.Xb(a),65).a,new xt(m.e.a+m.f.a*u,w-r)):l(c.Xb(a),65).a.b>0&&(d=l(oh(l(c.Xb(a),65).a),8).a,E=m.e.a+m.f.a/2,b=l(oh(l(c.Xb(a),65).a),8).b,A=m.e.b+m.f.b/2,i>0&&v.Math.abs(d-E)/(v.Math.abs(b-A)/40)>50&&(E>d?pa(l(c.Xb(a),65).a,new xt(m.e.a+m.f.a*u-i/2,m.e.b-i/5.3)):pa(l(c.Xb(a),65).a,new xt(m.e.a+m.f.a*u+i/2,m.e.b-i/5.3)))),pa(l(c.Xb(a),65).a,new xt(m.e.a+m.f.a*u,m.e.b)))}n(wLe,"D0c");function $n(){$n=tt;var t,e;Ak=new or(FFe),R4=new or(OFe),fJt=(p1(),Dct),EKe=new ee(tHt,fJt),new S6,O4=new ee(dv,null),BKe=new or(fKt),gJt=(Qf(),Sr(Pct,H(q($ct,1),mt,298,0,[Ict]))),LF=new ee(HR,gJt),_F=new ee(A_,(Se(),!1)),pJt=(ui(),t1),ip=new ee(Cit,pJt),yJt=(e0(),Qct),mJt=new ee(M_,yJt),LKe=new ee(uKt,!1),xJt=(t0(),TH),I4=new ee(qR,xJt),_Jt=new Qb(12),of=new ee(b2,_Jt),OF=new ee(JC,!1),qct=new ee(UR,!1),DF=new ee(ZC,!1),IJt=(Ri(),vb),bS=new ee(Hrt,IJt),jv=new or(KR),jF=new or(y_),Xct=new or(TR),Yct=new or(QC),CJt=new Vs,N2=new ee(uHt,CJt),AKe=new ee(bHt,!1),_Ke=new ee(gHt,!1),new or(DFe),TJt=new M6,Lk=new ee(wHt,TJt),vH=new ee(Jqt,!1),new S6,jKe=new ee(jFe,1),j4=new or(IFe),D4=new or(PFe),_k=new ee(v_,!1),new ee($Fe,!0),Et(0),new ee(NFe,Et(100)),new ee(RFe,!1),Et(0),new ee(zFe,Et(4e3)),Et(0),new ee(qFe,Et(400)),new ee(HFe,!1),new ee(KFe,!1),new ee(UFe,!0),new ee(WFe,!1),bJt=(JA(),elt),MKe=new ee(dKt,bJt),IKe=new ee(zqt,10),PKe=new ee(qqt,10),RJt=new ee(Irt,20),$Ke=new ee(Hqt,10),zJt=new ee(qrt,2),qJt=new ee(xit,10),HJt=new ee(Kqt,0),kH=new ee(Gqt,5),KJt=new ee(Uqt,1),UJt=new ee(Wqt,1),op=new ee(Jw,20),NKe=new ee(Vqt,10),VJt=new ee(Xqt,10),Iv=new or(Yqt),GJt=new Pkt,WJt=new ee(mHt,GJt),OKe=new or(Sit),FJt=!1,FKe=new ee(Tit,FJt),EJt=new Qb(5),SJt=new ee(rHt,EJt),BJt=(o2(),e=l(_h(qa),9),new cl(e,l(sh(e,e.length),9),0)),P4=new ee(z8,BJt),DJt=(Fw(),yb),OJt=new ee(oHt,DJt),Kct=new or(sHt),Uct=new or(cHt),Wct=new or(lHt),Hct=new or(hHt),MJt=(t=l(_h(xS),9),new cl(t,l(sh(t,t.length),9),0)),ap=new ee(e4,MJt),LJt=Jt((Ec(),Ik)),wb=new ee(fv,LJt),AJt=new xt(0,0),$4=new ee(bv,AJt),Sm=new ee(R8,!1),wJt=(bu(),Fk),Rct=new ee(dHt,wJt),Nct=new ee(SR,!1),new or(GFe),Et(1),new ee(VFe,null),jJt=new or(pHt),Gct=new or(fHt),NJt=(At(),Fo),N4=new ee(Zqt,NJt),Kc=new or(Qqt),PJt=(fc(),Jt(kb)),Em=new ee(q8,PJt),Vct=new ee(iHt,!1),$Jt=new ee(aHt,!0),new S6,CH=new ee(k_,1),XJt=new ee(bKt,null),IF=new ee(x_,150),xH=new ee(C_,1.414),Pv=new ee(g2,null),RKe=new ee(gKt,1),FF=new ee(eHt,!1),zct=new ee(nHt,!1),vJt=new ee(Prt,1),kJt=(EL(),Zct),new ee(XFe,kJt),DKe=!0,qKe=(N3(),Am),HKe=Am,zKe=Am}n($n,"umd");function ua(){ua=tt,VWt=new si("DIRECTION_PREPROCESSOR",0),UWt=new si("COMMENT_PREPROCESSOR",1),u4=new si("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),vot=new si("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),fGt=new si("PARTITION_PREPROCESSOR",4),Vz=new si("LABEL_DUMMY_INSERTER",5),iq=new si("SELF_LOOP_PREPROCESSOR",6),hm=new si("LAYER_CONSTRAINT_PREPROCESSOR",7),uGt=new si("PARTITION_MIDPROCESSOR",8),nGt=new si("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),lGt=new si("NODE_PROMOTION",10),lm=new si("LAYER_CONSTRAINT_POSTPROCESSOR",11),dGt=new si("PARTITION_POSTPROCESSOR",12),ZWt=new si("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),bGt=new si("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),NWt=new si("BREAKING_POINT_INSERTER",15),Jz=new si("LONG_EDGE_SPLITTER",16),kot=new si("PORT_SIDE_PROCESSOR",17),Wz=new si("INVERTED_PORT_PROCESSOR",18),eq=new si("PORT_LIST_SORTER",19),pGt=new si("SORT_BY_INPUT_ORDER_OF_MODEL",20),tq=new si("NORTH_SOUTH_PORT_PREPROCESSOR",21),RWt=new si("BREAKING_POINT_PROCESSOR",22),hGt=new si(N_e,23),wGt=new si(R_e,24),nq=new si("SELF_LOOP_PORT_RESTORER",25),gGt=new si("SINGLE_EDGE_GRAPH_WRAPPER",26),Gz=new si("IN_LAYER_CONSTRAINT_PROCESSOR",27),YWt=new si("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),sGt=new si("LABEL_AND_NODE_SIZE_PROCESSOR",29),oGt=new si("INNERMOST_NODE_MARGIN_CALCULATOR",30),aq=new si("SELF_LOOP_ROUTER",31),HWt=new si("COMMENT_NODE_MARGIN_CALCULATOR",32),Uz=new si("END_LABEL_PREPROCESSOR",33),Yz=new si("LABEL_DUMMY_SWITCHER",34),qWt=new si("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),ik=new si("LABEL_SIDE_SELECTOR",36),iGt=new si("HYPEREDGE_DUMMY_MERGER",37),tGt=new si("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),cGt=new si("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),MT=new si("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),WWt=new si("CONSTRAINTS_POSTPROCESSOR",41),KWt=new si("COMMENT_POSTPROCESSOR",42),aGt=new si("HYPERNODE_PROCESSOR",43),eGt=new si("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),Qz=new si("LONG_EDGE_JOINER",45),rq=new si("SELF_LOOP_POSTPROCESSOR",46),zWt=new si("BREAKING_POINT_REMOVER",47),Zz=new si("NORTH_SOUTH_PORT_POSTPROCESSOR",48),rGt=new si("HORIZONTAL_COMPACTOR",49),Xz=new si("LABEL_DUMMY_REMOVER",50),QWt=new si("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),XWt=new si("END_LABEL_SORTER",52),Z_=new si("REVERSED_EDGE_RESTORER",53),Kz=new si("END_LABEL_POSTPROCESSOR",54),JWt=new si("HIERARCHICAL_NODE_RESIZER",55),GWt=new si("DIRECTION_POSTPROCESSOR",56)}n(ua,"hcc");function Nnt(){Nnt=tt,wVt=(qx(),fq),eNe=new ee(nqt,wVt),fNe=new ee(rqt,(Se(),!1)),CVt=(XM(),Xot),mNe=new ee(AR,CVt),ONe=new ee(iqt,!1),DNe=new ee(aqt,!0),B$e=new ee(oqt,!1),_Vt=(Rx(),Lst),XNe=new ee(sqt,_Vt),Et(1),rRe=new ee(cqt,Et(7)),iRe=new ee(lqt,!1),bNe=new ee(hqt,!1),pVt=(Q0(),Iot),tNe=new ee(Yrt,pVt),EVt=(nd(),xst),FNe=new ee(B_,EVt),TVt=(yl(),cF),TNe=new ee(uqt,TVt),Et(-1),CNe=new ee(dqt,null),Et(-1),SNe=new ee(fqt,Et(-1)),Et(-1),ENe=new ee(Qrt,Et(4)),Et(-1),MNe=new ee(Jrt,Et(2)),SVt=(zl(),Uq),_Ne=new ee(Zrt,SVt),Et(0),LNe=new ee(tit,Et(0)),kNe=new ee(eit,Et(nr)),gVt=(P7(),LT),Z$e=new ee(nT,gVt),$$e=new ee(bqt,!1),U$e=new ee(nit,.1),Q$e=new ee(rit,!1),G$e=new ee(gqt,null),V$e=new ee(pqt,null),Et(-1),X$e=new ee(wqt,null),Et(-1),Y$e=new ee(mqt,Et(-1)),Et(0),N$e=new ee(yqt,Et(40)),bVt=(xy(),Got),H$e=new ee(iit,bVt),fVt=rF,R$e=new ee(LR,fVt),LVt=(r8(),KT),VNe=new ee(n4,LVt),NNe=new or(_R),BVt=(jx(),gq),jNe=new ee(ait,BVt),MVt=(kC(),pq),PNe=new ee(oit,MVt),new S6,qNe=new ee(sit,.3),KNe=new or(cit),AVt=(t2(),Kq),UNe=new ee(lit,AVt),vVt=(PA(),Fst),oNe=new ee(vqt,vVt),kVt=(K7(),Dst),sNe=new ee(kqt,kVt),xVt=(Ly(),GT),cNe=new ee(FR,xVt),hNe=new ee(OR,.2),iNe=new ee(hit,2),ZNe=new ee(xqt,null),eRe=new ee(Cqt,10),tRe=new ee(Tqt,10),nRe=new ee(Sqt,20),Et(0),YNe=new ee(Eqt,Et(0)),Et(0),QNe=new ee(Bqt,Et(0)),Et(0),JNe=new ee(Mqt,Et(0)),M$e=new ee(uit,!1),lVt=(Uy(),_T),L$e=new ee(Aqt,lVt),cVt=(oA(),Dot),A$e=new ee(Lqt,cVt),pNe=new ee(DR,!1),Et(0),gNe=new ee(dit,Et(16)),Et(0),wNe=new ee(fit,Et(5)),DVt=(zA(),Pst),TRe=new ee(ad,DVt),aRe=new ee(jR,10),cRe=new ee(IR,1),OVt=(CA(),dq),gRe=new ee(rT,OVt),uRe=new or(bit),FVt=Et(1),Et(0),fRe=new ee(git,FVt),jVt=(xA(),Ist),MRe=new ee(PR,jVt),SRe=new or($R),vRe=new ee(NR,!0),mRe=new ee(RR,2),xRe=new ee(pit,!0),yVt=(ML(),bq),rNe=new ee(_qt,yVt),mVt=(W3(),ck),nNe=new ee(Fqt,mVt),dVt=(Ru(),ef),P$e=new ee(zR,dVt),I$e=new ee(Oqt,!1),j$e=new ee(Dqt,!1),hVt=(Xf(),cm),_$e=new ee(wit,hVt),uVt=(G7(),Cst),D$e=new ee(jqt,uVt),F$e=new ee(mit,0),O$e=new ee(yit,0),vNe=Pot,yNe=nF,BNe=qq,ANe=qq,xNe=kst,W$e=(t0(),sf),J$e=LT,K$e=LT,z$e=LT,q$e=sf,RNe=UT,zNe=KT,INe=KT,$Ne=KT,HNe=Bst,GNe=UT,WNe=UT,lNe=(e0(),$v),uNe=$v,dNe=GT,aNe=PF,oRe=Sk,sRe=xm,lRe=Sk,hRe=xm,pRe=Sk,wRe=xm,dRe=jot,bRe=dq,ARe=Sk,LRe=xm,ERe=Sk,BRe=xm,kRe=xm,yRe=xm,CRe=xm}n(Nnt,"Ozc");function mLe(t,e,r){var i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt,_t,zt,te,ye,Be,Ke,On,zr,Fc,ho,Ll,W4,bf,tu,eu,hp,Kv,Ab,Uv,D1,T0,K2,Wv,G4,j1,up,fd,_We,yte,U2,jS,wlt,Gv,IS,Pm,PS,mlt,FWe;for(yte=0,On=e,ho=0,bf=On.length;ho0&&(t.a[D1.p]=yte++)}for(IS=0,zr=r,Ll=0,tu=zr.length;Ll0;){for(D1=(Je(G4.b>0),l(G4.a.Xb(G4.c=--G4.b),12)),Wv=0,d=new N(D1.e);d.a0&&(D1.j==(At(),Fe)?(t.a[D1.p]=IS,++IS):(t.a[D1.p]=IS+eu+Kv,++Kv))}IS+=Kv}for(K2=new sn,_=new Ou,Ke=e,Fc=0,W4=Ke.length;Fcw.b&&(w.b=j1)):D1.i.c==_We&&(j1w.c&&(w.c=j1));for(oy(D,0,D.length,null),Gv=ht(yn,Pn,28,D.length,15,1),i=ht(yn,Pn,28,IS+1,15,1),K=0;K0;)_t%2>0&&(a+=mlt[_t+1]),_t=(_t-1)/2|0,++mlt[_t];for(te=ht(Mze,xe,374,D.length*2,0,1),rt=0;rt0&&yx(Fc.f),yt(K,XJt)!=null&&(d=l(yt(K,XJt),347),K2=d.Tg(K),bw(K,v.Math.max(K.g,K2.a),v.Math.max(K.f,K2.b)));if(tu=l(yt(e,of),107),A=e.g-(tu.b+tu.c),E=e.f-(tu.d+tu.a),j1.bh("Available Child Area: ("+A+"|"+E+")"),fr(e,O4,A/E),zOt(e,a,i.eh(W4)),l(yt(e,Pv),280)==LH&&(jnt(e),bw(e,tu.b+it(lt(yt(e,j4)))+tu.c,tu.d+it(lt(yt(e,D4)))+tu.a)),j1.bh("Executed layout algorithm: "+En(yt(e,Ak))+" on node "+e.k),l(yt(e,Pv),280)==Am){if(A<0||E<0)throw R(new _0("The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. "+e.k));for(du(e,j4)||du(e,D4)||jnt(e),D=it(lt(yt(e,j4))),_=it(lt(yt(e,D4))),j1.bh("Desired Child Area: ("+D+"|"+_+")"),hp=A/D,Kv=E/_,eu=v.Math.min(hp,v.Math.min(Kv,it(lt(yt(e,RKe))))),fr(e,CH,eu),j1.bh(e.k+" -- Local Scale Factor (X|Y): ("+hp+"|"+Kv+")"),rt=l(yt(e,LF),21),c=0,u=0,eu'?":ie(BOe,t)?"'(?<' or '(? toIndex: ",Czt=", toIndex: ",Tzt="Index: ",Szt=", Size: ",I8="org.eclipse.elk.alg.common",_n={50:1},XLe="org.eclipse.elk.alg.common.compaction",YLe="Scanline/EventHandler",u0="org.eclipse.elk.alg.common.compaction.oned",QLe="CNode belongs to another CGroup.",JLe="ISpacingsHandler/1",Trt="The ",Srt=" instance has been finished already.",ZLe="The direction ",t_e=" is not supported by the CGraph instance.",e_e="OneDimensionalCompactor",n_e="OneDimensionalCompactor/lambda$0$Type",r_e="Quadruplet",i_e="ScanlineConstraintCalculator",a_e="ScanlineConstraintCalculator/ConstraintsScanlineHandler",o_e="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",s_e="ScanlineConstraintCalculator/Timestamp",c_e="ScanlineConstraintCalculator/lambda$0$Type",k1={178:1,46:1},Ert="org.eclipse.elk.alg.common.compaction.options",_o="org.eclipse.elk.core.data",Ezt="org.eclipse.elk.polyomino.traversalStrategy",Bzt="org.eclipse.elk.polyomino.lowLevelSort",Mzt="org.eclipse.elk.polyomino.highLevelSort",Azt="org.eclipse.elk.polyomino.fill",ph={134:1},Brt="polyomino",VC="org.eclipse.elk.alg.common.networksimplex",d0={183:1,3:1,4:1},l_e="org.eclipse.elk.alg.common.nodespacing",Pg="org.eclipse.elk.alg.common.nodespacing.cellsystem",P8="CENTER",h_e={217:1,336:1},Lzt={3:1,4:1,5:1,603:1},lv="LEFT",hv="RIGHT",_zt="Vertical alignment cannot be null",Fzt="BOTTOM",mR="org.eclipse.elk.alg.common.nodespacing.internal",XC="UNDEFINED",Uu=.01,p_="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",u_e="LabelPlacer/lambda$0$Type",d_e="LabelPlacer/lambda$1$Type",f_e="portRatioOrPosition",$8="org.eclipse.elk.alg.common.overlaps",Mrt="DOWN",x1="org.eclipse.elk.alg.common.polyomino",yR="NORTH",Art="EAST",Lrt="SOUTH",_rt="WEST",vR="org.eclipse.elk.alg.common.polyomino.structures",Ozt="Direction",Frt="Grid is only of size ",Ort=". Requested point (",Drt=") is out of bounds.",kR=" Given center based coordinates were (",w_="org.eclipse.elk.graph.properties",b_e="IPropertyHolder",Dzt={3:1,96:1,137:1},uv="org.eclipse.elk.alg.common.spore",g_e="org.eclipse.elk.alg.common.utils",$g={205:1},J3="org.eclipse.elk.core",p_e="Connected Components Compaction",w_e="org.eclipse.elk.alg.disco",xR="org.eclipse.elk.alg.disco.graph",jrt="org.eclipse.elk.alg.disco.options",jzt="CompactionStrategy",Izt="org.eclipse.elk.disco.componentCompaction.strategy",Pzt="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",$zt="org.eclipse.elk.disco.debug.discoGraph",Nzt="org.eclipse.elk.disco.debug.discoPolys",m_e="componentCompaction",Ng="org.eclipse.elk.disco",Irt="org.eclipse.elk.spacing.componentComponent",Prt="org.eclipse.elk.edge.thickness",dv="org.eclipse.elk.aspectRatio",b2="org.eclipse.elk.padding",Z3="org.eclipse.elk.alg.disco.transform",$rt=1.5707963267948966,t4=17976931348623157e292,Qw={3:1,4:1,5:1,198:1},y_e={3:1,6:1,4:1,5:1,100:1,115:1},Nrt="org.eclipse.elk.alg.force",Rzt="ComponentsProcessor",v_e="ComponentsProcessor/1",zzt="ElkGraphImporter/lambda$0$Type",m_="org.eclipse.elk.alg.force.graph",k_e="Component Layout",qzt="org.eclipse.elk.alg.force.model",CR="org.eclipse.elk.force.model",Hzt="org.eclipse.elk.force.iterations",Kzt="org.eclipse.elk.force.repulsivePower",Rrt="org.eclipse.elk.force.temperature",C1=.001,zrt="org.eclipse.elk.force.repulsion",YC="org.eclipse.elk.alg.force.options",N8=1.600000023841858,zs="org.eclipse.elk.force",y_="org.eclipse.elk.priority",Jw="org.eclipse.elk.spacing.nodeNode",qrt="org.eclipse.elk.spacing.edgeLabel",TR="org.eclipse.elk.randomSeed",QC="org.eclipse.elk.separateConnectedComponents",JC="org.eclipse.elk.interactive",Hrt="org.eclipse.elk.portConstraints",SR="org.eclipse.elk.edgeLabels.inline",ZC="org.eclipse.elk.omitNodeMicroLayout",R8="org.eclipse.elk.nodeSize.fixedGraphSize",fv="org.eclipse.elk.nodeSize.options",e4="org.eclipse.elk.nodeSize.constraints",z8="org.eclipse.elk.nodeLabels.placement",q8="org.eclipse.elk.portLabels.placement",v_="org.eclipse.elk.topdownLayout",k_="org.eclipse.elk.topdown.scaleFactor",x_="org.eclipse.elk.topdown.hierarchicalNodeWidth",C_="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",g2="org.eclipse.elk.topdown.nodeType",Uzt="origin",Wzt="random",x_e="boundingBox.upLeft",C_e="boundingBox.lowRight",Gzt="org.eclipse.elk.stress.fixed",Vzt="org.eclipse.elk.stress.desiredEdgeLength",Xzt="org.eclipse.elk.stress.dimension",Yzt="org.eclipse.elk.stress.epsilon",Qzt="org.eclipse.elk.stress.iterationLimit",nb="org.eclipse.elk.stress",T_e="ELK Stress",bv="org.eclipse.elk.nodeSize.minimum",ER="org.eclipse.elk.alg.force.stress",S_e="Layered layout",gv="org.eclipse.elk.alg.layered",T_="org.eclipse.elk.alg.layered.compaction.components",tT="org.eclipse.elk.alg.layered.compaction.oned",BR="org.eclipse.elk.alg.layered.compaction.oned.algs",Rg="org.eclipse.elk.alg.layered.compaction.recthull",Wu="org.eclipse.elk.alg.layered.components",T1="NONE",Jzt="MODEL_ORDER",es={3:1,6:1,4:1,9:1,5:1,126:1},E_e={3:1,6:1,4:1,5:1,150:1,100:1,115:1},MR="org.eclipse.elk.alg.layered.compound",Mr={47:1},bs="org.eclipse.elk.alg.layered.graph",Krt=" -> ",B_e="Not supported by LGraph",Zzt="Port side is undefined",Urt={3:1,6:1,4:1,5:1,483:1,150:1,100:1,115:1},Xd={3:1,6:1,4:1,5:1,150:1,199:1,210:1,100:1,115:1},M_e={3:1,6:1,4:1,5:1,150:1,2042:1,210:1,100:1,115:1},A_e=`([{"' \r +`,L_e=`)]}"' \r +`,__e="The given string contains parts that cannot be parsed as numbers.",S_="org.eclipse.elk.core.math",F_e={3:1,4:1,140:1,214:1,423:1},O_e={3:1,4:1,107:1,214:1,423:1},Yd="org.eclipse.elk.alg.layered.graph.transform",D_e="ElkGraphImporter",j_e="ElkGraphImporter/lambda$1$Type",I_e="ElkGraphImporter/lambda$2$Type",P_e="ElkGraphImporter/lambda$4$Type",Pe="org.eclipse.elk.alg.layered.intermediate",$_e="Node margin calculation",N_e="ONE_SIDED_GREEDY_SWITCH",R_e="TWO_SIDED_GREEDY_SWITCH",Wrt="No implementation is available for the layout processor ",Grt="IntermediateProcessorStrategy",Vrt="Node '",z_e="FIRST_SEPARATE",q_e="LAST_SEPARATE",H_e="Odd port side processing",vi="org.eclipse.elk.alg.layered.intermediate.compaction",eT="org.eclipse.elk.alg.layered.intermediate.greedyswitch",f0="org.eclipse.elk.alg.layered.p3order.counting",E_={230:1},pv="org.eclipse.elk.alg.layered.intermediate.loops",Cl="org.eclipse.elk.alg.layered.intermediate.loops.ordering",rb="org.eclipse.elk.alg.layered.intermediate.loops.routing",tqt="org.eclipse.elk.alg.layered.intermediate.preserveorder",S1="org.eclipse.elk.alg.layered.intermediate.wrapping",ns="org.eclipse.elk.alg.layered.options",Xrt="INTERACTIVE",eqt="GREEDY",K_e="DEPTH_FIRST",U_e="EDGE_LENGTH",W_e="SELF_LOOPS",G_e="firstTryWithInitialOrder",nqt="org.eclipse.elk.layered.directionCongruency",rqt="org.eclipse.elk.layered.feedbackEdges",AR="org.eclipse.elk.layered.interactiveReferencePoint",iqt="org.eclipse.elk.layered.mergeEdges",aqt="org.eclipse.elk.layered.mergeHierarchyEdges",oqt="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",sqt="org.eclipse.elk.layered.portSortingStrategy",cqt="org.eclipse.elk.layered.thoroughness",lqt="org.eclipse.elk.layered.unnecessaryBendpoints",hqt="org.eclipse.elk.layered.generatePositionAndLayerIds",Yrt="org.eclipse.elk.layered.cycleBreaking.strategy",B_="org.eclipse.elk.layered.layering.strategy",uqt="org.eclipse.elk.layered.layering.layerConstraint",dqt="org.eclipse.elk.layered.layering.layerChoiceConstraint",fqt="org.eclipse.elk.layered.layering.layerId",Qrt="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",Jrt="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",Zrt="org.eclipse.elk.layered.layering.nodePromotion.strategy",tit="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",eit="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",nT="org.eclipse.elk.layered.crossingMinimization.strategy",bqt="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",nit="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",rit="org.eclipse.elk.layered.crossingMinimization.semiInteractive",gqt="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",pqt="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",wqt="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",mqt="org.eclipse.elk.layered.crossingMinimization.positionId",yqt="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",iit="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",LR="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",n4="org.eclipse.elk.layered.nodePlacement.strategy",_R="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",ait="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",oit="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",sit="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",cit="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",lit="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",vqt="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",kqt="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",FR="org.eclipse.elk.layered.edgeRouting.splines.mode",OR="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",hit="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",xqt="org.eclipse.elk.layered.spacing.baseValue",Cqt="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",Tqt="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",Sqt="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",Eqt="org.eclipse.elk.layered.priority.direction",Bqt="org.eclipse.elk.layered.priority.shortness",Mqt="org.eclipse.elk.layered.priority.straightness",uit="org.eclipse.elk.layered.compaction.connectedComponents",Aqt="org.eclipse.elk.layered.compaction.postCompaction.strategy",Lqt="org.eclipse.elk.layered.compaction.postCompaction.constraints",DR="org.eclipse.elk.layered.highDegreeNodes.treatment",dit="org.eclipse.elk.layered.highDegreeNodes.threshold",fit="org.eclipse.elk.layered.highDegreeNodes.treeHeight",ad="org.eclipse.elk.layered.wrapping.strategy",jR="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",IR="org.eclipse.elk.layered.wrapping.correctionFactor",rT="org.eclipse.elk.layered.wrapping.cutting.strategy",bit="org.eclipse.elk.layered.wrapping.cutting.cuts",git="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",PR="org.eclipse.elk.layered.wrapping.validify.strategy",$R="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",NR="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",RR="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",pit="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",_qt="org.eclipse.elk.layered.edgeLabels.sideSelection",Fqt="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",zR="org.eclipse.elk.layered.considerModelOrder.strategy",Oqt="org.eclipse.elk.layered.considerModelOrder.portModelOrder",Dqt="org.eclipse.elk.layered.considerModelOrder.noModelOrder",wit="org.eclipse.elk.layered.considerModelOrder.components",jqt="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",mit="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",yit="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",vit="layering",V_e="layering.minWidth",X_e="layering.nodePromotion",H8="crossingMinimization",qR="org.eclipse.elk.hierarchyHandling",Y_e="crossingMinimization.greedySwitch",Q_e="nodePlacement",J_e="nodePlacement.bk",Z_e="edgeRouting",M_="org.eclipse.elk.edgeRouting",Gu="spacing",Iqt="priority",Pqt="compaction",tFe="compaction.postCompaction",eFe="Specifies whether and how post-process compaction is applied.",$qt="highDegreeNodes",Nqt="wrapping",nFe="wrapping.cutting",rFe="wrapping.validify",Rqt="wrapping.multiEdge",kit="edgeLabels",iT="considerModelOrder",zqt="org.eclipse.elk.spacing.commentComment",qqt="org.eclipse.elk.spacing.commentNode",Hqt="org.eclipse.elk.spacing.edgeEdge",xit="org.eclipse.elk.spacing.edgeNode",Kqt="org.eclipse.elk.spacing.labelLabel",Uqt="org.eclipse.elk.spacing.labelPortHorizontal",Wqt="org.eclipse.elk.spacing.labelPortVertical",Gqt="org.eclipse.elk.spacing.labelNode",Vqt="org.eclipse.elk.spacing.nodeSelfLoop",Xqt="org.eclipse.elk.spacing.portPort",Yqt="org.eclipse.elk.spacing.individual",Qqt="org.eclipse.elk.port.borderOffset",Jqt="org.eclipse.elk.noLayout",Zqt="org.eclipse.elk.port.side",A_="org.eclipse.elk.debugMode",tHt="org.eclipse.elk.alignment",eHt="org.eclipse.elk.insideSelfLoops.activate",nHt="org.eclipse.elk.insideSelfLoops.yo",Cit="org.eclipse.elk.direction",rHt="org.eclipse.elk.nodeLabels.padding",iHt="org.eclipse.elk.portLabels.nextToPortIfPossible",aHt="org.eclipse.elk.portLabels.treatAsGroup",oHt="org.eclipse.elk.portAlignment.default",sHt="org.eclipse.elk.portAlignment.north",cHt="org.eclipse.elk.portAlignment.south",lHt="org.eclipse.elk.portAlignment.west",hHt="org.eclipse.elk.portAlignment.east",HR="org.eclipse.elk.contentAlignment",uHt="org.eclipse.elk.junctionPoints",dHt="org.eclipse.elk.edgeLabels.placement",fHt="org.eclipse.elk.port.index",bHt="org.eclipse.elk.commentBox",gHt="org.eclipse.elk.hypernode",pHt="org.eclipse.elk.port.anchor",Tit="org.eclipse.elk.partitioning.activate",Sit="org.eclipse.elk.partitioning.partition",KR="org.eclipse.elk.position",wHt="org.eclipse.elk.margins",mHt="org.eclipse.elk.spacing.portsSurrounding",UR="org.eclipse.elk.interactiveLayout",Po="org.eclipse.elk.core.util",yHt={3:1,4:1,5:1,601:1},iFe="NETWORK_SIMPLEX",vHt="SIMPLE",Ra={106:1,47:1},WR="org.eclipse.elk.alg.layered.p1cycles",od="org.eclipse.elk.alg.layered.p2layers",kHt={413:1,230:1},aFe={846:1,3:1,4:1},pc="org.eclipse.elk.alg.layered.p3order",za="org.eclipse.elk.alg.layered.p4nodes",oFe={3:1,4:1,5:1,854:1},E1=1e-5,ib="org.eclipse.elk.alg.layered.p4nodes.bk",Eit="org.eclipse.elk.alg.layered.p5edges",yu="org.eclipse.elk.alg.layered.p5edges.orthogonal",Bit="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",Mit=1e-6,Zw="org.eclipse.elk.alg.layered.p5edges.splines",Ait=.09999999999999998,GR=1e-8,sFe=4.71238898038469,xHt=3.141592653589793,sd="org.eclipse.elk.alg.mrtree",Lit=.10000000149011612,VR="SUPER_ROOT",aT="org.eclipse.elk.alg.mrtree.graph",CHt=-17976931348623157e292,gs="org.eclipse.elk.alg.mrtree.intermediate",cFe="Processor compute fanout",XR={3:1,6:1,4:1,5:1,534:1,100:1,115:1},lFe="Set neighbors in level",L_="org.eclipse.elk.alg.mrtree.options",hFe="DESCENDANTS",THt="org.eclipse.elk.mrtree.compaction",SHt="org.eclipse.elk.mrtree.edgeEndTextureLength",EHt="org.eclipse.elk.mrtree.treeLevel",BHt="org.eclipse.elk.mrtree.positionConstraint",MHt="org.eclipse.elk.mrtree.weighting",AHt="org.eclipse.elk.mrtree.edgeRoutingMode",LHt="org.eclipse.elk.mrtree.searchOrder",uFe="Position Constraint",qs="org.eclipse.elk.mrtree",dFe="org.eclipse.elk.tree",fFe="Processor arrange level",K8="org.eclipse.elk.alg.mrtree.p2order",rl="org.eclipse.elk.alg.mrtree.p4route",_Ht="org.eclipse.elk.alg.radial",zg=6.283185307179586,FHt="Before",OHt=5e-324,YR="After",DHt="org.eclipse.elk.alg.radial.intermediate",bFe="COMPACTION",_it="org.eclipse.elk.alg.radial.intermediate.compaction",gFe={3:1,4:1,5:1,100:1},jHt="org.eclipse.elk.alg.radial.intermediate.optimization",Fit="No implementation is available for the layout option ",oT="org.eclipse.elk.alg.radial.options",IHt="org.eclipse.elk.radial.centerOnRoot",PHt="org.eclipse.elk.radial.orderId",$Ht="org.eclipse.elk.radial.radius",QR="org.eclipse.elk.radial.rotate",Oit="org.eclipse.elk.radial.compactor",Dit="org.eclipse.elk.radial.compactionStepSize",NHt="org.eclipse.elk.radial.sorter",RHt="org.eclipse.elk.radial.wedgeCriteria",zHt="org.eclipse.elk.radial.optimizationCriteria",jit="org.eclipse.elk.radial.rotation.targetAngle",Iit="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",qHt="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",pFe="Compaction",HHt="rotation",ql="org.eclipse.elk.radial",wFe="org.eclipse.elk.alg.radial.p1position.wedge",KHt="org.eclipse.elk.alg.radial.sorting",mFe=5.497787143782138,yFe=3.9269908169872414,vFe=2.356194490192345,kFe="org.eclipse.elk.alg.rectpacking",JR="org.eclipse.elk.alg.rectpacking.intermediate",Pit="org.eclipse.elk.alg.rectpacking.options",UHt="org.eclipse.elk.rectpacking.trybox",WHt="org.eclipse.elk.rectpacking.currentPosition",GHt="org.eclipse.elk.rectpacking.desiredPosition",VHt="org.eclipse.elk.rectpacking.inNewRow",XHt="org.eclipse.elk.rectpacking.widthApproximation.strategy",YHt="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",QHt="org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal",JHt="org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift",ZHt="org.eclipse.elk.rectpacking.packing.strategy",tKt="org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation",eKt="org.eclipse.elk.rectpacking.packing.compaction.iterations",nKt="org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy",$it="widthApproximation",xFe="Compaction Strategy",CFe="packing.compaction",qc="org.eclipse.elk.rectpacking",U8="org.eclipse.elk.alg.rectpacking.p1widthapproximation",ZR="org.eclipse.elk.alg.rectpacking.p2packing",TFe="No Compaction",rKt="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",__="org.eclipse.elk.alg.rectpacking.util",tz="No implementation available for ",tm="org.eclipse.elk.alg.spore",em="org.eclipse.elk.alg.spore.options",p2="org.eclipse.elk.sporeCompaction",Nit="org.eclipse.elk.underlyingLayoutAlgorithm",iKt="org.eclipse.elk.processingOrder.treeConstruction",aKt="org.eclipse.elk.processingOrder.spanningTreeCostFunction",Rit="org.eclipse.elk.processingOrder.preferredRoot",zit="org.eclipse.elk.processingOrder.rootSelection",qit="org.eclipse.elk.structure.structureExtractionStrategy",oKt="org.eclipse.elk.compaction.compactionStrategy",sKt="org.eclipse.elk.compaction.orthogonal",cKt="org.eclipse.elk.overlapRemoval.maxIterations",lKt="org.eclipse.elk.overlapRemoval.runScanline",Hit="processingOrder",SFe="overlapRemoval",W8="org.eclipse.elk.sporeOverlap",EFe="org.eclipse.elk.alg.spore.p1structure",Kit="org.eclipse.elk.alg.spore.p2processingorder",Uit="org.eclipse.elk.alg.spore.p3execution",BFe="Topdown Layout",MFe="Invalid index: ",G8="org.eclipse.elk.core.alg",r4={341:1},nm={295:1},AFe="Make sure its type is registered with the ",hKt=" utility class.",V8="true",Wit="false",LFe="Couldn't clone property '",w2=.05,Hc="org.eclipse.elk.core.options",_Fe=1.2999999523162842,m2="org.eclipse.elk.box",uKt="org.eclipse.elk.expandNodes",dKt="org.eclipse.elk.box.packingMode",FFe="org.eclipse.elk.algorithm",OFe="org.eclipse.elk.resolvedAlgorithm",fKt="org.eclipse.elk.bendPoints",DFe="org.eclipse.elk.labelManager",jFe="org.eclipse.elk.scaleFactor",IFe="org.eclipse.elk.childAreaWidth",PFe="org.eclipse.elk.childAreaHeight",$Fe="org.eclipse.elk.animate",NFe="org.eclipse.elk.animTimeFactor",RFe="org.eclipse.elk.layoutAncestors",zFe="org.eclipse.elk.maxAnimTime",qFe="org.eclipse.elk.minAnimTime",HFe="org.eclipse.elk.progressBar",KFe="org.eclipse.elk.validateGraph",UFe="org.eclipse.elk.validateOptions",WFe="org.eclipse.elk.zoomToFit",GFe="org.eclipse.elk.font.name",VFe="org.eclipse.elk.font.size",bKt="org.eclipse.elk.topdown.sizeApproximator",gKt="org.eclipse.elk.topdown.scaleCap",XFe="org.eclipse.elk.edge.type",YFe="partitioning",QFe="nodeLabels",ez="portAlignment",Git="nodeSize",Vit="port",pKt="portLabels",F_="topdown",JFe="insideSelfLoops",sT="org.eclipse.elk.fixed",nz="org.eclipse.elk.random",wKt={3:1,34:1,22:1,347:1},ZFe="port must have a parent node to calculate the port side",tOe="The edge needs to have exactly one edge section. Found: ",cT="org.eclipse.elk.core.util.adapters",Hl="org.eclipse.emf.ecore",i4="org.eclipse.elk.graph",eOe="EMapPropertyHolder",nOe="ElkBendPoint",rOe="ElkGraphElement",iOe="ElkConnectableShape",mKt="ElkEdge",aOe="ElkEdgeSection",oOe="EModelElement",sOe="ENamedElement",yKt="ElkLabel",vKt="ElkNode",kKt="ElkPort",cOe={94:1,93:1},wv="org.eclipse.emf.common.notify.impl",ab="The feature '",lT="' is not a valid changeable feature",lOe="Expecting null",Xit="' is not a valid feature",hOe="The feature ID",uOe=" is not a valid feature ID",Wo=32768,dOe={110:1,94:1,93:1,58:1,54:1,99:1},Me="org.eclipse.emf.ecore.impl",qg="org.eclipse.elk.graph.impl",hT="Recursive containment not allowed for ",X8="The datatype '",y2="' is not a valid classifier",Yit="The value '",a4={195:1,3:1,4:1},Qit="The class '",Y8="http://www.eclipse.org/elk/ElkGraph",xKt="property",uT="value",Jit="source",fOe="properties",bOe="identifier",Zit="height",tat="width",eat="parent",nat="text",rat="children",gOe="hierarchical",CKt="sources",iat="targets",TKt="sections",rz="bendPoints",SKt="outgoingShape",EKt="incomingShape",BKt="outgoingSections",MKt="incomingSections",xa="org.eclipse.emf.common.util",AKt="Severe implementation error in the Json to ElkGraph importer.",B1="id",ra="org.eclipse.elk.graph.json",LKt="Unhandled parameter types: ",pOe="startPoint",wOe="An edge must have at least one source and one target (edge id: '",Q8="').",mOe="Referenced edge section does not exist: ",yOe=" (edge id: '",_Kt="target",vOe="sourcePoint",kOe="targetPoint",iz="group",Gn="name",xOe="connectableShape cannot be null",COe="edge cannot be null",aat="Passed edge is not 'simple'.",az="org.eclipse.elk.graph.util",O_="The 'no duplicates' constraint is violated",oat="targetIndex=",Hg=", size=",sat="sourceIndex=",M1={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1},cat={3:1,4:1,20:1,31:1,56:1,16:1,51:1,15:1,59:1,70:1,66:1,61:1,596:1},oz="logging",TOe="measureExecutionTime",SOe="parser.parse.1",EOe="parser.parse.2",sz="parser.next.1",lat="parser.next.2",BOe="parser.next.3",MOe="parser.next.4",Kg="parser.factor.1",FKt="parser.factor.2",AOe="parser.factor.3",LOe="parser.factor.4",_Oe="parser.factor.5",FOe="parser.factor.6",OOe="parser.atom.1",DOe="parser.atom.2",jOe="parser.atom.3",OKt="parser.atom.4",hat="parser.atom.5",DKt="parser.cc.1",cz="parser.cc.2",IOe="parser.cc.3",POe="parser.cc.5",jKt="parser.cc.6",IKt="parser.cc.7",uat="parser.cc.8",$Oe="parser.ope.1",NOe="parser.ope.2",ROe="parser.ope.3",Qd="parser.descape.1",zOe="parser.descape.2",qOe="parser.descape.3",HOe="parser.descape.4",KOe="parser.descape.5",Kl="parser.process.1",UOe="parser.quantifier.1",WOe="parser.quantifier.2",GOe="parser.quantifier.3",VOe="parser.quantifier.4",PKt="parser.quantifier.5",XOe="org.eclipse.emf.common.notify",$Kt={424:1,686:1},YOe={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1},D_={378:1,152:1},dT="index=",dat={3:1,4:1,5:1,129:1},QOe={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,61:1},NKt={3:1,6:1,4:1,5:1,198:1},JOe={3:1,4:1,5:1,173:1,379:1},ZOe=";/?:@&=+$,",tDe="invalid authority: ",eDe="EAnnotation",nDe="ETypedElement",rDe="EStructuralFeature",iDe="EAttribute",aDe="EClassifier",oDe="EEnumLiteral",sDe="EGenericType",cDe="EOperation",lDe="EParameter",hDe="EReference",uDe="ETypeParameter",Fr="org.eclipse.emf.ecore.util",fat={79:1},RKt={3:1,20:1,16:1,15:1,61:1,597:1,79:1,71:1,97:1},dDe="org.eclipse.emf.ecore.util.FeatureMap$Entry",wc=8192,rm=2048,fT="byte",lz="char",bT="double",gT="float",pT="int",wT="long",mT="short",fDe="java.lang.Object",o4={3:1,4:1,5:1,254:1},zKt={3:1,4:1,5:1,688:1},bDe={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,71:1},So={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,71:1,97:1},j_="mixed",Dn="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",wh="kind",gDe={3:1,4:1,5:1,689:1},qKt={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1,79:1,71:1,97:1},hz={20:1,31:1,56:1,16:1,15:1,61:1,71:1},uz={51:1,128:1,287:1},dz={76:1,343:1},fz="The value of type '",bz="' must be of type '",s4=1352,mh="http://www.eclipse.org/emf/2002/Ecore",gz=-32768,v2="constraints",fa="baseType",pDe="getEStructuralFeature",wDe="getFeatureID",yT="feature",mDe="getOperationID",HKt="operation",yDe="defaultValue",vDe="eTypeParameters",kDe="isInstance",xDe="getEEnumLiteral",CDe="eContainingClass",Wn={57:1},TDe={3:1,4:1,5:1,124:1},SDe="org.eclipse.emf.ecore.resource",EDe={94:1,93:1,599:1,2034:1},bat="org.eclipse.emf.ecore.resource.impl",KKt="unspecified",I_="simple",pz="attribute",BDe="attributeWildcard",wz="element",gat="elementWildcard",vu="collapse",pat="itemType",mz="namespace",P_="##targetNamespace",yh="whiteSpace",UKt="wildcards",Ug="http://www.eclipse.org/emf/2003/XMLType",wat="##any",J8="uninitialized",$_="The multiplicity constraint is violated",yz="org.eclipse.emf.ecore.xml.type",MDe="ProcessingInstruction",ADe="SimpleAnyType",LDe="XMLTypeDocumentRoot",pi="org.eclipse.emf.ecore.xml.type.impl",N_="INF",_De="processing",FDe="ENTITIES_._base",WKt="minLength",GKt="ENTITY",vz="NCName",ODe="IDREFS_._base",VKt="integer",mat="token",yat="pattern",DDe="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",XKt="\\i\\c*",jDe="[\\i-[:]][\\c-[:]]*",IDe="nonPositiveInteger",R_="maxInclusive",YKt="NMTOKEN",PDe="NMTOKENS_._base",QKt="nonNegativeInteger",z_="minInclusive",$De="normalizedString",NDe="unsignedByte",RDe="unsignedInt",zDe="18446744073709551615",qDe="unsignedShort",HDe="processingInstruction",Jd="org.eclipse.emf.ecore.xml.type.internal",Z8=1114111,KDe="Internal Error: shorthands: \\u",vT="xml:isDigit",vat="xml:isWord",kat="xml:isSpace",xat="xml:isNameChar",Cat="xml:isInitialNameChar",UDe="09\u0660\u0669\u06F0\u06F9\u0966\u096F\u09E6\u09EF\u0A66\u0A6F\u0AE6\u0AEF\u0B66\u0B6F\u0BE7\u0BEF\u0C66\u0C6F\u0CE6\u0CEF\u0D66\u0D6F\u0E50\u0E59\u0ED0\u0ED9\u0F20\u0F29",WDe="AZaz\xC0\xD6\xD8\xF6\xF8\u0131\u0134\u013E\u0141\u0148\u014A\u017E\u0180\u01C3\u01CD\u01F0\u01F4\u01F5\u01FA\u0217\u0250\u02A8\u02BB\u02C1\u0386\u0386\u0388\u038A\u038C\u038C\u038E\u03A1\u03A3\u03CE\u03D0\u03D6\u03DA\u03DA\u03DC\u03DC\u03DE\u03DE\u03E0\u03E0\u03E2\u03F3\u0401\u040C\u040E\u044F\u0451\u045C\u045E\u0481\u0490\u04C4\u04C7\u04C8\u04CB\u04CC\u04D0\u04EB\u04EE\u04F5\u04F8\u04F9\u0531\u0556\u0559\u0559\u0561\u0586\u05D0\u05EA\u05F0\u05F2\u0621\u063A\u0641\u064A\u0671\u06B7\u06BA\u06BE\u06C0\u06CE\u06D0\u06D3\u06D5\u06D5\u06E5\u06E6\u0905\u0939\u093D\u093D\u0958\u0961\u0985\u098C\u098F\u0990\u0993\u09A8\u09AA\u09B0\u09B2\u09B2\u09B6\u09B9\u09DC\u09DD\u09DF\u09E1\u09F0\u09F1\u0A05\u0A0A\u0A0F\u0A10\u0A13\u0A28\u0A2A\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59\u0A5C\u0A5E\u0A5E\u0A72\u0A74\u0A85\u0A8B\u0A8D\u0A8D\u0A8F\u0A91\u0A93\u0AA8\u0AAA\u0AB0\u0AB2\u0AB3\u0AB5\u0AB9\u0ABD\u0ABD\u0AE0\u0AE0\u0B05\u0B0C\u0B0F\u0B10\u0B13\u0B28\u0B2A\u0B30\u0B32\u0B33\u0B36\u0B39\u0B3D\u0B3D\u0B5C\u0B5D\u0B5F\u0B61\u0B85\u0B8A\u0B8E\u0B90\u0B92\u0B95\u0B99\u0B9A\u0B9C\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8\u0BAA\u0BAE\u0BB5\u0BB7\u0BB9\u0C05\u0C0C\u0C0E\u0C10\u0C12\u0C28\u0C2A\u0C33\u0C35\u0C39\u0C60\u0C61\u0C85\u0C8C\u0C8E\u0C90\u0C92\u0CA8\u0CAA\u0CB3\u0CB5\u0CB9\u0CDE\u0CDE\u0CE0\u0CE1\u0D05\u0D0C\u0D0E\u0D10\u0D12\u0D28\u0D2A\u0D39\u0D60\u0D61\u0E01\u0E2E\u0E30\u0E30\u0E32\u0E33\u0E40\u0E45\u0E81\u0E82\u0E84\u0E84\u0E87\u0E88\u0E8A\u0E8A\u0E8D\u0E8D\u0E94\u0E97\u0E99\u0E9F\u0EA1\u0EA3\u0EA5\u0EA5\u0EA7\u0EA7\u0EAA\u0EAB\u0EAD\u0EAE\u0EB0\u0EB0\u0EB2\u0EB3\u0EBD\u0EBD\u0EC0\u0EC4\u0F40\u0F47\u0F49\u0F69\u10A0\u10C5\u10D0\u10F6\u1100\u1100\u1102\u1103\u1105\u1107\u1109\u1109\u110B\u110C\u110E\u1112\u113C\u113C\u113E\u113E\u1140\u1140\u114C\u114C\u114E\u114E\u1150\u1150\u1154\u1155\u1159\u1159\u115F\u1161\u1163\u1163\u1165\u1165\u1167\u1167\u1169\u1169\u116D\u116E\u1172\u1173\u1175\u1175\u119E\u119E\u11A8\u11A8\u11AB\u11AB\u11AE\u11AF\u11B7\u11B8\u11BA\u11BA\u11BC\u11C2\u11EB\u11EB\u11F0\u11F0\u11F9\u11F9\u1E00\u1E9B\u1EA0\u1EF9\u1F00\u1F15\u1F18\u1F1D\u1F20\u1F45\u1F48\u1F4D\u1F50\u1F57\u1F59\u1F59\u1F5B\u1F5B\u1F5D\u1F5D\u1F5F\u1F7D\u1F80\u1FB4\u1FB6\u1FBC\u1FBE\u1FBE\u1FC2\u1FC4\u1FC6\u1FCC\u1FD0\u1FD3\u1FD6\u1FDB\u1FE0\u1FEC\u1FF2\u1FF4\u1FF6\u1FFC\u2126\u2126\u212A\u212B\u212E\u212E\u2180\u2182\u3007\u3007\u3021\u3029\u3041\u3094\u30A1\u30FA\u3105\u312C\u4E00\u9FA5\uAC00\uD7A3",GDe="Private Use",Tat="ASSIGNED",Sat="\0\x7F\x80\xFF\u0100\u017F\u0180\u024F\u0250\u02AF\u02B0\u02FF\u0300\u036F\u0370\u03FF\u0400\u04FF\u0530\u058F\u0590\u05FF\u0600\u06FF\u0700\u074F\u0780\u07BF\u0900\u097F\u0980\u09FF\u0A00\u0A7F\u0A80\u0AFF\u0B00\u0B7F\u0B80\u0BFF\u0C00\u0C7F\u0C80\u0CFF\u0D00\u0D7F\u0D80\u0DFF\u0E00\u0E7F\u0E80\u0EFF\u0F00\u0FFF\u1000\u109F\u10A0\u10FF\u1100\u11FF\u1200\u137F\u13A0\u13FF\u1400\u167F\u1680\u169F\u16A0\u16FF\u1780\u17FF\u1800\u18AF\u1E00\u1EFF\u1F00\u1FFF\u2000\u206F\u2070\u209F\u20A0\u20CF\u20D0\u20FF\u2100\u214F\u2150\u218F\u2190\u21FF\u2200\u22FF\u2300\u23FF\u2400\u243F\u2440\u245F\u2460\u24FF\u2500\u257F\u2580\u259F\u25A0\u25FF\u2600\u26FF\u2700\u27BF\u2800\u28FF\u2E80\u2EFF\u2F00\u2FDF\u2FF0\u2FFF\u3000\u303F\u3040\u309F\u30A0\u30FF\u3100\u312F\u3130\u318F\u3190\u319F\u31A0\u31BF\u3200\u32FF\u3300\u33FF\u3400\u4DB5\u4E00\u9FFF\uA000\uA48F\uA490\uA4CF\uAC00\uD7A3\uE000\uF8FF\uF900\uFAFF\uFB00\uFB4F\uFB50\uFDFF\uFE20\uFE2F\uFE30\uFE4F\uFE50\uFE6F\uFE70\uFEFE\uFEFF\uFEFF\uFF00\uFFEF",JKt="UNASSIGNED",tk={3:1,122:1},VDe="org.eclipse.emf.ecore.xml.type.util",kz={3:1,4:1,5:1,381:1},ZKt="org.eclipse.xtext.xbase.lib",XDe="Cannot add elements to a Range",YDe="Cannot set elements in a Range",QDe="Cannot remove elements from a Range",JDe="user.agent",h,xz,Eat,Ssn=-1;v.goog=v.goog||{},v.goog.global=v.goog.global||v,xz={},C(1,null,{},z),h.Fb=n(function(t){return Okt(this,t)},"ob"),h.Gb=n(function(){return this.Rm},"qb"),h.Hb=n(function(){return Zb(this)},"sb"),h.Ib=n(function(){var t;return Af(Nc(this))+"@"+(t=kr(this)>>>0,t.toString(16))},"ub"),h.equals=function(t){return this.Fb(t)},h.hashCode=function(){return this.Hb()},h.toString=function(){return this.Ib()};var ZDe,tje,eje;C(297,1,{297:1,2124:1},SJ),h.ve=n(function(t){var e;return e=new SJ,e.i=4,t>1?e.c=nEt(this,t-1):e.c=this,e},"qfb"),h.we=n(function(){return H1(this),this.b},"wfb"),h.xe=n(function(){return Af(this)},"yfb"),h.ye=n(function(){return H1(this),this.k},"Afb"),h.ze=n(function(){return(this.i&4)!=0},"Cfb"),h.Ae=n(function(){return(this.i&1)!=0},"Dfb"),h.Ib=n(function(){return IQ(this)},"Gfb"),h.i=0;var Esn=1,Ai=S(Io,"Object",1),tUt=S(Io,"Class",297);C(2096,1,a_);var Zwn=S(o_,"Optional",2096);C(1191,2096,a_,U),h.Fb=n(function(t){return t===this},"yb"),h.Hb=n(function(){return 2040732332},"zb"),h.Ib=n(function(){return"Optional.absent()"},"Ab"),h.Jb=n(function(t){return Cn(t),L6(),Bat},"Bb");var Bat,tmn=S(o_,"Absent",1191);C(636,1,{},DD);var emn=S(o_,"Joiner",636),Bsn=Rr(o_,"Predicate");C(589,1,{178:1,589:1,3:1,46:1},c3t),h.Mb=n(function(t){return nFt(this,t)},"ac"),h.Lb=n(function(t){return nFt(this,t)},"Zb"),h.Fb=n(function(t){var e;return J(t,589)?(e=l(t,589),Cet(this.a,e.a)):!1},"$b"),h.Hb=n(function(){return _J(this.a)+306654252},"_b"),h.Ib=n(function(){return h8e(this.a)},"bc");var nmn=S(o_,"Predicates/AndPredicate",589);C(419,2096,{419:1,3:1},jE),h.Fb=n(function(t){var e;return J(t,419)?(e=l(t,419),er(this.a,e.a)):!1},"dc"),h.Hb=n(function(){return 1502476572+kr(this.a)},"ec"),h.Ib=n(function(){return SLe+this.a+")"},"fc"),h.Jb=n(function(t){return new jE(jM(t.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},"gc");var rmn=S(o_,"Present",419);C(204,1,A8),h.Nb=n(function(t){Yi(this,t)},"kc"),h.Qb=n(function(){x6t()},"lc");var imn=S(Zt,"UnmodifiableIterator",204);C(2076,204,L8),h.Qb=n(function(){x6t()},"nc"),h.Rb=n(function(t){throw R(new Tn)},"mc"),h.Wb=n(function(t){throw R(new Tn)},"oc");var amn=S(Zt,"UnmodifiableListIterator",2076);C(399,2076,L8),h.Ob=n(function(){return this.c0},"sc"),h.Pb=n(function(){if(this.c>=this.d)throw R(new mo);return this.Xb(this.c++)},"tc"),h.Tb=n(function(){return this.c},"uc"),h.Ub=n(function(){if(this.c<=0)throw R(new mo);return this.Xb(--this.c)},"vc"),h.Vb=n(function(){return this.c-1},"wc"),h.c=0,h.d=0;var omn=S(Zt,"AbstractIndexedListIterator",399);C(713,204,A8),h.Ob=n(function(){return IP(this)},"Ac"),h.Pb=n(function(){return LQ(this)},"Bc"),h.e=1;var smn=S(Zt,"AbstractIterator",713);C(2084,1,{229:1}),h.Zb=n(function(){var t;return t=this.f,t||(this.f=this.ac())},"Hc"),h.Fb=n(function(t){return i$(this,t)},"Ic"),h.Hb=n(function(){return kr(this.Zb())},"Jc"),h.dc=n(function(){return this.gc()==0},"Kc"),h.ec=n(function(){return v3(this)},"Lc"),h.Ib=n(function(){return bo(this.Zb())},"Mc");var cmn=S(Zt,"AbstractMultimap",2084);C(742,2084,jg),h.$b=n(function(){SA(this)},"Xc"),h._b=n(function(t){return z6t(this,t)},"Yc"),h.ac=n(function(){return new D5(this,this.c)},"Zc"),h.ic=n(function(t){return this.hc()},"$c"),h.bc=n(function(){return new yw(this,this.c)},"_c"),h.jc=n(function(){return this.mc(this.hc())},"ad"),h.kc=n(function(){return new o6t(this)},"bd"),h.lc=n(function(){return fN(this.c.vc().Nc(),new nt,64,this.d)},"cd"),h.cc=n(function(t){return cr(this,t)},"dd"),h.fc=n(function(t){return iC(this,t)},"gd"),h.gc=n(function(){return this.d},"hd"),h.mc=n(function(t){return de(),new k5(t)},"jd"),h.nc=n(function(){return new a6t(this)},"kd"),h.oc=n(function(){return fN(this.c.Cc().Nc(),new V,64,this.d)},"ld"),h.pc=n(function(t,e){return new rA(this,t,e,null)},"md"),h.d=0;var lmn=S(Zt,"AbstractMapBasedMultimap",742);C(1696,742,jg),h.hc=n(function(){return new hs(this.a)},"pd"),h.jc=n(function(){return de(),de(),Ba},"qd"),h.cc=n(function(t){return l(cr(this,t),15)},"sd"),h.fc=n(function(t){return l(iC(this,t),15)},"ud"),h.Zb=n(function(){return E3(this)},"od"),h.Fb=n(function(t){return i$(this,t)},"rd"),h.qc=n(function(t){return l(cr(this,t),15)},"td"),h.rc=n(function(t){return l(iC(this,t),15)},"vd"),h.mc=n(function(t){return NI(l(t,15))},"wd"),h.pc=n(function(t,e){return lBt(this,t,l(e,15),null)},"xd");var hmn=S(Zt,"AbstractListMultimap",1696);C(748,1,zi),h.Nb=n(function(t){Yi(this,t)},"zd"),h.Ob=n(function(){return this.c.Ob()||this.e.Ob()},"Ad"),h.Pb=n(function(){var t;return this.e.Ob()||(t=l(this.c.Pb(),44),this.b=t.ld(),this.a=l(t.md(),16),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},"Bd"),h.Qb=n(function(){this.e.Qb(),l(Il(this.a),16).dc()&&this.c.Qb(),--this.d.d},"Cd");var umn=S(Zt,"AbstractMapBasedMultimap/Itr",748);C(1129,748,zi,a6t),h.sc=n(function(t,e){return e},"Ed");var dmn=S(Zt,"AbstractMapBasedMultimap/1",1129);C(1130,1,{},V),h.Kb=n(function(t){return l(t,16).Nc()},"Gd");var fmn=S(Zt,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1130);C(1131,748,zi,o6t),h.sc=n(function(t,e){return new Ub(t,e)},"Id");var bmn=S(Zt,"AbstractMapBasedMultimap/2",1131),eUt=Rr(rn,"Map");C(2065,1,d2),h.wc=n(function(t){z7(this,t)},"Td"),h.yc=n(function(t,e,r){return C$(this,t,e,r)},"$d"),h.$b=n(function(){this.vc().$b()},"Od"),h.tc=n(function(t){return X$(this,t)},"Pd"),h._b=n(function(t){return!!vtt(this,t,!1)},"Qd"),h.uc=n(function(t){var e,r,i;for(r=this.vc().Kc();r.Ob();)if(e=l(r.Pb(),44),i=e.md(),ot(t)===ot(i)||t!=null&&er(t,i))return!0;return!1},"Rd"),h.Fb=n(function(t){var e,r,i;if(t===this)return!0;if(!J(t,85)||(i=l(t,85),this.gc()!=i.gc()))return!1;for(r=i.vc().Kc();r.Ob();)if(e=l(r.Pb(),44),!this.tc(e))return!1;return!0},"Sd"),h.xc=n(function(t){return eo(vtt(this,t,!1))},"Ud"),h.Hb=n(function(){return kJ(this.vc())},"Xd"),h.dc=n(function(){return this.gc()==0},"Yd"),h.ec=n(function(){return new Sf(this)},"Zd"),h.zc=n(function(t,e){throw R(new L0("Put not supported on this map"))},"_d"),h.Ac=n(function(t){R7(this,t)},"ae"),h.Bc=n(function(t){return eo(vtt(this,t,!0))},"be"),h.gc=n(function(){return this.vc().gc()},"ce"),h.Ib=n(function(){return bjt(this)},"de"),h.Cc=n(function(){return new N1(this)},"ee");var gmn=S(rn,"AbstractMap",2065);C(2085,2065,d2),h.bc=n(function(){return new rB(this)},"ge"),h.vc=n(function(){return aTt(this)},"he"),h.ec=n(function(){var t;return t=this.g,t||(this.g=this.bc())},"ie"),h.Cc=n(function(){var t;return t=this.i,t||(this.i=new _7t(this))},"je");var pmn=S(Zt,"Maps/ViewCachingAbstractMap",2085);C(402,2085,d2,D5),h.xc=n(function(t){return A2e(this,t)},"se"),h.Bc=n(function(t){return Jme(this,t)},"ve"),h.$b=n(function(){this.d==this.e.c?this.e.$b():dM(new OX(this))},"oe"),h._b=n(function(t){return RFt(this.d,t)},"pe"),h.Ec=n(function(){return new l3t(this)},"qe"),h.Dc=function(){return this.Ec()},h.Fb=n(function(t){return this===t||er(this.d,t)},"re"),h.Hb=n(function(){return kr(this.d)},"te"),h.ec=n(function(){return this.e.ec()},"ue"),h.gc=n(function(){return this.d.gc()},"we"),h.Ib=n(function(){return bo(this.d)},"xe");var wmn=S(Zt,"AbstractMapBasedMultimap/AsMap",402),Tl=Rr(Io,"Iterable");C(31,1,Vw),h.Jc=n(function(t){Ji(this,t)},"Le"),h.Lc=n(function(){return this.Oc()},"Ne"),h.Nc=n(function(){return new ce(this,0)},"Pe"),h.Oc=n(function(){return new ne(null,this.Nc())},"Qe"),h.Fc=n(function(t){throw R(new L0("Add not supported on this collection"))},"Ge"),h.Gc=n(function(t){return Vi(this,t)},"He"),h.$b=n(function(){yY(this)},"Ie"),h.Hc=n(function(t){return Jp(this,t,!1)},"Je"),h.Ic=n(function(t){return Yx(this,t)},"Ke"),h.dc=n(function(){return this.gc()==0},"Me"),h.Mc=n(function(t){return Jp(this,t,!0)},"Oe"),h.Pc=n(function(){return HX(this)},"Re"),h.Qc=n(function(t){return a8(this,t)},"Se"),h.Ib=n(function(){return Kd(this)},"Te");var mmn=S(rn,"AbstractCollection",31),vh=Rr(rn,"Set");C(Ku,31,gc),h.Nc=n(function(){return new ce(this,1)},"Ye"),h.Fb=n(function(t){return _Ot(this,t)},"We"),h.Hb=n(function(){return kJ(this)},"Xe");var ymn=S(rn,"AbstractSet",Ku);C(2068,Ku,gc);var vmn=S(Zt,"Sets/ImprovedAbstractSet",2068);C(2069,2068,gc),h.$b=n(function(){this.Rc().$b()},"$e"),h.Hc=n(function(t){return gOt(this,t)},"_e"),h.dc=n(function(){return this.Rc().dc()},"af"),h.Mc=n(function(t){var e;return this.Hc(t)&&J(t,44)?(e=l(t,44),this.Rc().ec().Mc(e.ld())):!1},"bf"),h.gc=n(function(){return this.Rc().gc()},"cf");var kmn=S(Zt,"Maps/EntrySet",2069);C(1127,2069,gc,l3t),h.Hc=n(function(t){return VJ(this.a.d.vc(),t)},"ef"),h.Kc=n(function(){return new OX(this.a)},"ff"),h.Rc=n(function(){return this.a},"gf"),h.Mc=n(function(t){var e;return VJ(this.a.d.vc(),t)?(e=l(Il(l(t,44)),44),wpe(this.a.e,e.ld()),!0):!1},"hf"),h.Nc=n(function(){return sx(this.a.d.vc().Nc(),new h3t(this.a))},"jf");var xmn=S(Zt,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1127);C(1128,1,{},h3t),h.Kb=n(function(t){return sMt(this.a,l(t,44))},"lf");var Cmn=S(Zt,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1128);C(746,1,zi,OX),h.Nb=n(function(t){Yi(this,t)},"nf"),h.Pb=n(function(){var t;return t=l(this.b.Pb(),44),this.a=l(t.md(),16),sMt(this.c,t)},"pf"),h.Ob=n(function(){return this.b.Ob()},"of"),h.Qb=n(function(){q5(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},"qf");var Tmn=S(Zt,"AbstractMapBasedMultimap/AsMap/AsMapIterator",746);C(542,2068,gc,rB),h.$b=n(function(){this.b.$b()},"sf"),h.Hc=n(function(t){return this.b._b(t)},"tf"),h.Jc=n(function(t){Cn(t),this.b.wc(new B3t(t))},"uf"),h.dc=n(function(){return this.b.dc()},"vf"),h.Kc=n(function(){return new _6(this.b.vc().Kc())},"wf"),h.Mc=n(function(t){return this.b._b(t)?(this.b.Bc(t),!0):!1},"xf"),h.gc=n(function(){return this.b.gc()},"yf");var Smn=S(Zt,"Maps/KeySet",542);C(327,542,gc,yw),h.$b=n(function(){var t;dM((t=this.b.vc().Kc(),new iG(this,t)))},"Af"),h.Ic=n(function(t){return this.b.ec().Ic(t)},"Bf"),h.Fb=n(function(t){return this===t||er(this.b.ec(),t)},"Cf"),h.Hb=n(function(){return kr(this.b.ec())},"Df"),h.Kc=n(function(){var t;return t=this.b.vc().Kc(),new iG(this,t)},"Ef"),h.Mc=n(function(t){var e,r;return r=0,e=l(this.b.Bc(t),16),e&&(r=e.gc(),e.$b(),this.a.d-=r),r>0},"Ff"),h.Nc=n(function(){return this.b.ec().Nc()},"Gf");var Emn=S(Zt,"AbstractMapBasedMultimap/KeySet",327);C(747,1,zi,iG),h.Nb=n(function(t){Yi(this,t)},"If"),h.Ob=n(function(){return this.c.Ob()},"Jf"),h.Pb=n(function(){return this.a=l(this.c.Pb(),44),this.a.ld()},"Kf"),h.Qb=n(function(){var t;q5(!!this.a),t=l(this.a.md(),16),this.c.Qb(),this.b.a.d-=t.gc(),t.$b(),this.a=null},"Lf");var Bmn=S(Zt,"AbstractMapBasedMultimap/KeySet/1",747);C(503,402,{85:1,133:1},tx),h.bc=n(function(){return this.Sc()},"Nf"),h.ec=n(function(){return this.Uc()},"Qf"),h.Sc=n(function(){return new M9(this.c,this.Wc())},"Of"),h.Tc=n(function(){return this.Wc().Tc()},"Pf"),h.Uc=n(function(){var t;return t=this.b,t||(this.b=this.Sc())},"Rf"),h.Vc=n(function(){return this.Wc().Vc()},"Sf"),h.Wc=n(function(){return l(this.d,133)},"Tf");var Mmn=S(Zt,"AbstractMapBasedMultimap/SortedAsMap",503);C(446,503,hzt,d7),h.bc=n(function(){return new O5(this.a,l(l(this.d,133),139))},"Wf"),h.Sc=n(function(){return new O5(this.a,l(l(this.d,133),139))},"Xf"),h.ec=n(function(){var t;return t=this.b,l(t||(this.b=new O5(this.a,l(l(this.d,133),139))),277)},"_f"),h.Uc=n(function(){var t;return t=this.b,l(t||(this.b=new O5(this.a,l(l(this.d,133),139))),277)},"ag"),h.Wc=n(function(){return l(l(this.d,133),139)},"cg"),h.Xc=n(function(t){return l(l(this.d,133),139).Xc(t)},"Vf"),h.Yc=n(function(t){return l(l(this.d,133),139).Yc(t)},"Yf"),h.Zc=n(function(t,e){return new d7(this.a,l(l(this.d,133),139).Zc(t,e))},"Zf"),h.$c=n(function(t){return l(l(this.d,133),139).$c(t)},"$f"),h._c=n(function(t){return l(l(this.d,133),139)._c(t)},"bg"),h.ad=n(function(t,e){return new d7(this.a,l(l(this.d,133),139).ad(t,e))},"dg");var Amn=S(Zt,"AbstractMapBasedMultimap/NavigableAsMap",446);C(502,327,ELe,M9),h.Nc=n(function(){return this.b.ec().Nc()},"fg");var Lmn=S(Zt,"AbstractMapBasedMultimap/SortedKeySet",502);C(401,502,uzt,O5);var _mn=S(Zt,"AbstractMapBasedMultimap/NavigableKeySet",401);C(551,31,Vw,rA),h.Fc=n(function(t){var e,r;return Tc(this),r=this.d.dc(),e=this.d.Fc(t),e&&(++this.f.d,r&&ix(this)),e},"mg"),h.Gc=n(function(t){var e,r,i;return t.dc()?!1:(i=(Tc(this),this.d.gc()),e=this.d.Gc(t),e&&(r=this.d.gc(),this.f.d+=r-i,i==0&&ix(this)),e)},"ng"),h.$b=n(function(){var t;t=(Tc(this),this.d.gc()),t!=0&&(this.d.$b(),this.f.d-=t,mM(this))},"og"),h.Hc=n(function(t){return Tc(this),this.d.Hc(t)},"pg"),h.Ic=n(function(t){return Tc(this),this.d.Ic(t)},"qg"),h.Fb=n(function(t){return t===this?!0:(Tc(this),er(this.d,t))},"rg"),h.Hb=n(function(){return Tc(this),kr(this.d)},"sg"),h.Kc=n(function(){return Tc(this),new pX(this)},"tg"),h.Mc=n(function(t){var e;return Tc(this),e=this.d.Mc(t),e&&(--this.f.d,mM(this)),e},"ug"),h.gc=n(function(){return ykt(this)},"vg"),h.Nc=n(function(){return Tc(this),this.d.Nc()},"wg"),h.Ib=n(function(){return Tc(this),bo(this.d)},"xg");var Fmn=S(Zt,"AbstractMapBasedMultimap/WrappedCollection",551),Ul=Rr(rn,"List");C(744,551,{20:1,31:1,16:1,15:1},WX),h.jd=n(function(t){qf(this,t)},"Hg"),h.Nc=n(function(){return Tc(this),this.d.Nc()},"Ig"),h.bd=n(function(t,e){var r;Tc(this),r=this.d.dc(),l(this.d,15).bd(t,e),++this.a.d,r&&ix(this)},"zg"),h.cd=n(function(t,e){var r,i,a;return e.dc()?!1:(a=(Tc(this),this.d.gc()),r=l(this.d,15).cd(t,e),r&&(i=this.d.gc(),this.a.d+=i-a,a==0&&ix(this)),r)},"Ag"),h.Xb=n(function(t){return Tc(this),l(this.d,15).Xb(t)},"Bg"),h.dd=n(function(t){return Tc(this),l(this.d,15).dd(t)},"Cg"),h.ed=n(function(){return Tc(this),new Xkt(this)},"Dg"),h.fd=n(function(t){return Tc(this),new ySt(this,t)},"Eg"),h.gd=n(function(t){var e;return Tc(this),e=l(this.d,15).gd(t),--this.a.d,mM(this),e},"Fg"),h.hd=n(function(t,e){return Tc(this),l(this.d,15).hd(t,e)},"Gg"),h.kd=n(function(t,e){return Tc(this),lBt(this.a,this.e,l(this.d,15).kd(t,e),this.b?this.b:this)},"Jg");var Omn=S(Zt,"AbstractMapBasedMultimap/WrappedList",744);C(1126,744,{20:1,31:1,16:1,15:1,59:1},N9t);var Dmn=S(Zt,"AbstractMapBasedMultimap/RandomAccessWrappedList",1126);C(628,1,zi,pX),h.Nb=n(function(t){Yi(this,t)},"Qg"),h.Ob=n(function(){return Z5(this),this.b.Ob()},"Rg"),h.Pb=n(function(){return Z5(this),this.b.Pb()},"Sg"),h.Qb=n(function(){x9t(this)},"Tg");var jmn=S(Zt,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",628);C(745,628,s0,Xkt,ySt),h.Qb=n(function(){x9t(this)},"_g"),h.Rb=n(function(t){var e;e=ykt(this.a)==0,(Z5(this),l(this.b,128)).Rb(t),++this.a.a.d,e&&ix(this.a)},"Wg"),h.Sb=n(function(){return(Z5(this),l(this.b,128)).Sb()},"Xg"),h.Tb=n(function(){return(Z5(this),l(this.b,128)).Tb()},"Yg"),h.Ub=n(function(){return(Z5(this),l(this.b,128)).Ub()},"Zg"),h.Vb=n(function(){return(Z5(this),l(this.b,128)).Vb()},"$g"),h.Wb=n(function(t){(Z5(this),l(this.b,128)).Wb(t)},"ah");var Imn=S(Zt,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",745);C(743,551,ELe,jV),h.Nc=n(function(){return Tc(this),this.d.Nc()},"dh");var Pmn=S(Zt,"AbstractMapBasedMultimap/WrappedSortedSet",743);C(1125,743,uzt,Kkt);var $mn=S(Zt,"AbstractMapBasedMultimap/WrappedNavigableSet",1125);C(1124,551,gc,oxt),h.Nc=n(function(){return Tc(this),this.d.Nc()},"gh");var Nmn=S(Zt,"AbstractMapBasedMultimap/WrappedSet",1124);C(1133,1,{},nt),h.Kb=n(function(t){return Bpe(l(t,44))},"ih");var Rmn=S(Zt,"AbstractMapBasedMultimap/lambda$1$Type",1133);C(1132,1,{},b3t),h.Kb=n(function(t){return new Ub(this.a,t)},"kh");var zmn=S(Zt,"AbstractMapBasedMultimap/lambda$2$Type",1132),Wg=Rr(rn,"Map/Entry");C(358,1,Hnt),h.Fb=n(function(t){var e;return J(t,44)?(e=l(t,44),Pu(this.ld(),e.ld())&&Pu(this.md(),e.md())):!1},"lh"),h.Hb=n(function(){var t,e;return t=this.ld(),e=this.md(),(t==null?0:kr(t))^(e==null?0:kr(e))},"mh"),h.nd=n(function(t){throw R(new Tn)},"nh"),h.Ib=n(function(){return this.ld()+"="+this.md()},"oh");var qmn=S(Zt,BLe,358);C(2086,31,Vw),h.$b=n(function(){this.od().$b()},"ph"),h.Hc=n(function(t){var e;return J(t,44)?(e=l(t,44),Vbe(this.od(),e.ld(),e.md())):!1},"qh"),h.Mc=n(function(t){var e;return J(t,44)?(e=l(t,44),KEt(this.od(),e.ld(),e.md())):!1},"rh"),h.gc=n(function(){return this.od().d},"sh");var Hmn=S(Zt,"Multimaps/Entries",2086);C(749,2086,Vw,PU),h.Kc=n(function(){return this.a.kc()},"uh"),h.od=n(function(){return this.a},"vh"),h.Nc=n(function(){return this.a.lc()},"wh");var Kmn=S(Zt,"AbstractMultimap/Entries",749);C(750,749,gc,jW),h.Nc=n(function(){return this.a.lc()},"Ah"),h.Fb=n(function(t){return Rtt(this,t)},"yh"),h.Hb=n(function(){return e_t(this)},"zh");var Umn=S(Zt,"AbstractMultimap/EntrySet",750);C(751,31,Vw,$U),h.$b=n(function(){this.a.$b()},"Ch"),h.Hc=n(function(t){return Wme(this.a,t)},"Dh"),h.Kc=n(function(){return this.a.nc()},"Eh"),h.gc=n(function(){return this.a.d},"Fh"),h.Nc=n(function(){return this.a.oc()},"Gh");var Wmn=S(Zt,"AbstractMultimap/Values",751);C(2087,31,{849:1,20:1,31:1,16:1}),h.Jc=n(function(t){Cn(t),kw(this).Jc(new O3t(t))},"Oh"),h.Nc=n(function(){var t;return t=kw(this).Nc(),fN(t,new Ue,64|t.yd()&1296,this.a.d)},"Sh"),h.Fc=n(function(t){return HW(),!0},"Kh"),h.Gc=n(function(t){return Cn(this),Cn(t),J(t,552)?Qbe(l(t,849)):!t.dc()&&BP(this,t.Kc())},"Lh"),h.Hc=n(function(t){var e;return e=l(Qp(E3(this.a),t),16),(e?e.gc():0)>0},"Mh"),h.Fb=n(function(t){return y9e(this,t)},"Nh"),h.Hb=n(function(){return kr(kw(this))},"Ph"),h.dc=n(function(){return kw(this).dc()},"Qh"),h.Mc=n(function(t){return BIt(this,t,1)>0},"Rh"),h.Ib=n(function(){return bo(kw(this))},"Th");var Gmn=S(Zt,"AbstractMultiset",2087);C(2089,2068,gc),h.$b=n(function(){SA(this.a.a)},"Uh"),h.Hc=n(function(t){var e,r;return J(t,504)?(r=l(t,425),l(r.a.md(),16).gc()<=0?!1:(e=wEt(this.a,r.a.ld()),e==l(r.a.md(),16).gc())):!1},"Vh"),h.Mc=n(function(t){var e,r,i,a;return J(t,504)&&(r=l(t,425),e=r.a.ld(),i=l(r.a.md(),16).gc(),i!=0)?(a=this.a,lke(a,e,i)):!1},"Wh");var Vmn=S(Zt,"Multisets/EntrySet",2089);C(1139,2089,gc,g3t),h.Kc=n(function(){return new u6t(aTt(E3(this.a.a)).Kc())},"Yh"),h.gc=n(function(){return E3(this.a.a).gc()},"Zh");var Xmn=S(Zt,"AbstractMultiset/EntrySet",1139);C(627,742,jg),h.hc=n(function(){return this.pd()},"ai"),h.jc=n(function(){return this.qd()},"bi"),h.cc=n(function(t){return this.rd(t)},"ei"),h.fc=n(function(t){return this.sd(t)},"gi"),h.Zb=n(function(){var t;return t=this.f,t||(this.f=this.ac())},"_h"),h.qd=n(function(){return de(),de(),Mz},"ci"),h.Fb=n(function(t){return i$(this,t)},"di"),h.rd=n(function(t){return l(cr(this,t),21)},"fi"),h.sd=n(function(t){return l(iC(this,t),21)},"hi"),h.mc=n(function(t){return de(),new M5(l(t,21))},"ii"),h.pc=n(function(t,e){return new oxt(this,t,l(e,21))},"ji");var Ymn=S(Zt,"AbstractSetMultimap",627);C(1723,627,jg),h.hc=n(function(){return new D0(this.b)},"mi"),h.pd=n(function(){return new D0(this.b)},"ni"),h.jc=n(function(){return fY(new D0(this.b))},"oi"),h.qd=n(function(){return fY(new D0(this.b))},"pi"),h.cc=n(function(t){return l(l(cr(this,t),21),87)},"qi"),h.rd=n(function(t){return l(l(cr(this,t),21),87)},"ri"),h.fc=n(function(t){return l(l(iC(this,t),21),87)},"si"),h.sd=n(function(t){return l(l(iC(this,t),21),87)},"ti"),h.mc=n(function(t){return J(t,277)?fY(l(t,277)):(de(),new kV(l(t,87)))},"ui"),h.Zb=n(function(){var t;return t=this.f,t||(this.f=J(this.c,139)?new d7(this,l(this.c,139)):J(this.c,133)?new tx(this,l(this.c,133)):new D5(this,this.c))},"li"),h.pc=n(function(t,e){return J(e,277)?new Kkt(this,t,l(e,277)):new jV(this,t,l(e,87))},"vi");var Qmn=S(Zt,"AbstractSortedSetMultimap",1723);C(1724,1723,jg),h.Zb=n(function(){var t;return t=this.f,l(l(t||(this.f=J(this.c,139)?new d7(this,l(this.c,139)):J(this.c,133)?new tx(this,l(this.c,133)):new D5(this,this.c)),133),139)},"xi"),h.ec=n(function(){var t;return t=this.i,l(l(t||(this.i=J(this.c,139)?new O5(this,l(this.c,139)):J(this.c,133)?new M9(this,l(this.c,133)):new yw(this,this.c)),87),277)},"zi"),h.bc=n(function(){return J(this.c,139)?new O5(this,l(this.c,139)):J(this.c,133)?new M9(this,l(this.c,133)):new yw(this,this.c)},"yi");var Jmn=S(Zt,"AbstractSortedKeySortedSetMultimap",1724);C(2109,1,{2046:1}),h.Fb=n(function(t){return Kve(this,t)},"Ai"),h.Hb=n(function(){var t;return kJ((t=this.g,t||(this.g=new aD(this))))},"Bi"),h.Ib=n(function(){var t;return bjt((t=this.f,t||(this.f=new wV(this))))},"Ci");var Zmn=S(Zt,"AbstractTable",2109);C(679,Ku,gc,aD),h.$b=n(function(){C6t()},"Ei"),h.Hc=n(function(t){var e,r;return J(t,479)?(e=l(t,697),r=l(Qp(ATt(this.a),Ed(e.c.e,e.b)),85),!!r&&VJ(r.vc(),new Ub(Ed(e.c.c,e.a),O3(e.c,e.b,e.a)))):!1},"Fi"),h.Kc=n(function(){return Vde(this.a)},"Gi"),h.Mc=n(function(t){var e,r;return J(t,479)?(e=l(t,697),r=l(Qp(ATt(this.a),Ed(e.c.e,e.b)),85),!!r&&S3e(r.vc(),new Ub(Ed(e.c.c,e.a),O3(e.c,e.b,e.a)))):!1},"Hi"),h.gc=n(function(){return FCt(this.a)},"Ii"),h.Nc=n(function(){return tge(this.a)},"Ji");var t3n=S(Zt,"AbstractTable/CellSet",679);C(2025,31,Vw,w3t),h.$b=n(function(){C6t()},"Li"),h.Hc=n(function(t){return I6e(this.a,t)},"Mi"),h.Kc=n(function(){return Xde(this.a)},"Ni"),h.gc=n(function(){return FCt(this.a)},"Oi"),h.Nc=n(function(){return HEt(this.a)},"Pi");var e3n=S(Zt,"AbstractTable/Values",2025);C(1697,1696,jg);var n3n=S(Zt,"ArrayListMultimapGwtSerializationDependencies",1697);C(520,1697,jg,PD,jY),h.hc=n(function(){return new hs(this.a)},"Ti"),h.a=0;var r3n=S(Zt,"ArrayListMultimap",520);C(678,2109,{678:1,2046:1,3:1},RIt);var i3n=S(Zt,"ArrayTable",678);C(2021,399,L8,C9t),h.Xb=n(function(t){return new EJ(this.a,t)},"jj");var a3n=S(Zt,"ArrayTable/1",2021);C(2022,1,{},u3t),h.td=n(function(t){return new EJ(this.a,t)},"lj");var o3n=S(Zt,"ArrayTable/1methodref$getCell$Type",2022);C(2110,1,{697:1}),h.Fb=n(function(t){var e;return t===this?!0:J(t,479)?(e=l(t,697),Pu(Ed(this.c.e,this.b),Ed(e.c.e,e.b))&&Pu(Ed(this.c.c,this.a),Ed(e.c.c,e.a))&&Pu(O3(this.c,this.b,this.a),O3(e.c,e.b,e.a))):!1},"mj"),h.Hb=n(function(){return rC(H(q(Ai,1),xe,1,5,[Ed(this.c.e,this.b),Ed(this.c.c,this.a),O3(this.c,this.b,this.a)]))},"nj"),h.Ib=n(function(){return"("+Ed(this.c.e,this.b)+","+Ed(this.c.c,this.a)+")="+O3(this.c,this.b,this.a)},"oj");var s3n=S(Zt,"Tables/AbstractCell",2110);C(479,2110,{479:1,697:1},EJ),h.a=0,h.b=0,h.d=0;var c3n=S(Zt,"ArrayTable/2",479);C(2024,1,{},d3t),h.td=n(function(t){return bAt(this.a,t)},"rj");var l3n=S(Zt,"ArrayTable/2methodref$getValue$Type",2024);C(2023,399,L8,T9t),h.Xb=n(function(t){return bAt(this.a,t)},"tj");var h3n=S(Zt,"ArrayTable/3",2023);C(2077,2065,d2),h.$b=n(function(){dM(this.kc())},"vj"),h.vc=n(function(){return new E3t(this)},"wj"),h.lc=n(function(){return new lSt(this.kc(),this.gc())},"xj");var u3n=S(Zt,"Maps/IteratorBasedAbstractMap",2077);C(842,2077,d2),h.$b=n(function(){throw R(new Tn)},"Bj"),h._b=n(function(t){return q6t(this.c,t)},"Cj"),h.kc=n(function(){return new S9t(this,this.c.b.c.gc())},"Dj"),h.lc=n(function(){return oI(this.c.b.c.gc(),16,new f3t(this))},"Ej"),h.xc=n(function(t){var e;return e=l(f7(this.c,t),17),e?this.vd(e.a):null},"Fj"),h.dc=n(function(){return this.c.b.c.dc()},"Gj"),h.ec=n(function(){return bI(this.c)},"Hj"),h.zc=n(function(t,e){var r;if(r=l(f7(this.c,t),17),!r)throw R(new Le(this.ud()+" "+t+" not in "+bI(this.c)));return this.wd(r.a,e)},"Ij"),h.Bc=n(function(t){throw R(new Tn)},"Jj"),h.gc=n(function(){return this.c.b.c.gc()},"Kj");var d3n=S(Zt,"ArrayTable/ArrayMap",842);C(2020,1,{},f3t),h.td=n(function(t){return _Tt(this.a,t)},"Mj");var f3n=S(Zt,"ArrayTable/ArrayMap/0methodref$getEntry$Type",2020);C(2018,358,Hnt,b7t),h.ld=n(function(){return cle(this.a,this.b)},"Oj"),h.md=n(function(){return this.a.vd(this.b)},"Pj"),h.nd=n(function(t){return this.a.wd(this.b,t)},"Qj"),h.b=0;var b3n=S(Zt,"ArrayTable/ArrayMap/1",2018);C(2019,399,L8,S9t),h.Xb=n(function(t){return _Tt(this.a,t)},"Sj");var g3n=S(Zt,"ArrayTable/ArrayMap/2",2019);C(2017,842,d2,mTt),h.ud=n(function(){return"Column"},"Uj"),h.vd=n(function(t){return O3(this.b,this.a,t)},"Vj"),h.wd=n(function(t,e){return z_t(this.b,this.a,t,e)},"Wj"),h.a=0;var p3n=S(Zt,"ArrayTable/Row",2017);C(843,842,d2,wV),h.vd=n(function(t){return new mTt(this.a,t)},"_j"),h.zc=n(function(t,e){return l(e,85),Aoe()},"ak"),h.wd=n(function(t,e){return l(e,85),Loe()},"bk"),h.ud=n(function(){return"Row"},"$j");var w3n=S(Zt,"ArrayTable/RowMap",843);C(1157,1,xl,g7t),h.Ad=n(function(t){return(this.a.yd()&-262&t)!=0},"lk"),h.yd=n(function(){return this.a.yd()&-262},"ik"),h.zd=n(function(){return this.a.zd()},"jk"),h.Nb=n(function(t){this.a.Nb(new w7t(t,this.b))},"kk"),h.Bd=n(function(t){return this.a.Bd(new p7t(t,this.b))},"mk");var m3n=S(Zt,"CollectSpliterators/1",1157);C(1158,1,Ye,p7t),h.Cd=n(function(t){this.a.Cd(this.b.Kb(t))},"ok");var y3n=S(Zt,"CollectSpliterators/1/lambda$0$Type",1158);C(1159,1,Ye,w7t),h.Cd=n(function(t){this.a.Cd(this.b.Kb(t))},"qk");var v3n=S(Zt,"CollectSpliterators/1/lambda$1$Type",1159);C(1154,1,xl,zxt),h.Ad=n(function(t){return((16464|this.b)&t)!=0},"vk"),h.yd=n(function(){return 16464|this.b},"sk"),h.zd=n(function(){return this.a.zd()},"tk"),h.Nb=n(function(t){this.a.Qe(new y7t(t,this.c))},"uk"),h.Bd=n(function(t){return this.a.Re(new m7t(t,this.c))},"wk"),h.b=0;var k3n=S(Zt,"CollectSpliterators/1WithCharacteristics",1154);C(1155,1,s_,m7t),h.Dd=n(function(t){this.a.Cd(this.b.td(t))},"yk");var x3n=S(Zt,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1155);C(1156,1,s_,y7t),h.Dd=n(function(t){this.a.Cd(this.b.td(t))},"Ak");var C3n=S(Zt,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1156);C(1150,1,xl),h.Ad=n(function(t){return(this.a&t)!=0},"Gk"),h.yd=n(function(){return this.a},"Dk"),h.zd=n(function(){return this.e&&(this.b=aV(this.b,this.e.zd())),aV(this.b,0)},"Ek"),h.Nb=n(function(t){this.e&&(this.e.Nb(t),this.e=null),this.c.Nb(new v7t(this,t)),this.b=0},"Fk"),h.Bd=n(function(t){for(;;){if(this.e&&this.e.Bd(t))return n7(this.b,c_)&&(this.b=$l(this.b,1)),!0;if(this.e=null,!this.c.Bd(new m3t(this)))return!1}},"Hk"),h.a=0,h.b=0;var T3n=S(Zt,"CollectSpliterators/FlatMapSpliterator",1150);C(1152,1,Ye,m3t),h.Cd=n(function(t){ohe(this.a,t)},"Jk");var S3n=S(Zt,"CollectSpliterators/FlatMapSpliterator/lambda$0$Type",1152);C(1153,1,Ye,v7t),h.Cd=n(function(t){_de(this.a,this.b,t)},"Lk");var E3n=S(Zt,"CollectSpliterators/FlatMapSpliterator/lambda$1$Type",1153);C(1151,1150,xl,sBt);var B3n=S(Zt,"CollectSpliterators/FlatMapSpliteratorOfObject",1151);C(253,1,Knt),h.Fd=n(function(t){return this.Ed(l(t,253))},"Sk"),h.Ed=n(function(t){var e;return t==(BD(),Aat)?1:t==(ED(),Mat)?-1:(e=(sM(),Ux(this.a,t.a)),e!=0?e:J(this,526)==J(t,526)?0:J(this,526)?1:-1)},"Rk"),h.Id=n(function(){return this.a},"Tk"),h.Fb=n(function(t){return WZ(this,t)},"Uk");var M3n=S(Zt,"Cut",253);C(1823,253,Knt,i6t),h.Ed=n(function(t){return t==this?0:1},"Yk"),h.Gd=n(function(t){throw R(new pW)},"Zk"),h.Hd=n(function(t){t.a+="+\u221E)"},"$k"),h.Id=n(function(){throw R(new Ga(ALe))},"_k"),h.Hb=n(function(){return z1(),_Z(this)},"al"),h.Jd=n(function(t){return!1},"bl"),h.Ib=n(function(){return"+\u221E"},"cl");var Mat,A3n=S(Zt,"Cut/AboveAll",1823);C(526,253,{253:1,526:1,3:1,34:1},_9t),h.Gd=n(function(t){is((t.a+="(",t),this.a)},"el"),h.Hd=n(function(t){_d(is(t,this.a),93)},"fl"),h.Hb=n(function(){return~kr(this.a)},"gl"),h.Jd=n(function(t){return sM(),Ux(this.a,t)<0},"hl"),h.Ib=n(function(){return"/"+this.a+"\\"},"il");var L3n=S(Zt,"Cut/AboveValue",526);C(1822,253,Knt,r6t),h.Ed=n(function(t){return t==this?0:-1},"ml"),h.Gd=n(function(t){t.a+="(-\u221E"},"nl"),h.Hd=n(function(t){throw R(new pW)},"ol"),h.Id=n(function(){throw R(new Ga(ALe))},"pl"),h.Hb=n(function(){return z1(),_Z(this)},"ql"),h.Jd=n(function(t){return!0},"rl"),h.Ib=n(function(){return"-\u221E"},"sl");var Aat,_3n=S(Zt,"Cut/BelowAll",1822);C(1824,253,Knt,F9t),h.Gd=n(function(t){is((t.a+="[",t),this.a)},"ul"),h.Hd=n(function(t){_d(is(t,this.a),41)},"vl"),h.Hb=n(function(){return kr(this.a)},"wl"),h.Jd=n(function(t){return sM(),Ux(this.a,t)<=0},"xl"),h.Ib=n(function(){return"\\"+this.a+"/"},"yl");var F3n=S(Zt,"Cut/BelowValue",1824);C(547,1,c0),h.Jc=n(function(t){Ji(this,t)},"Bl"),h.Ib=n(function(){return W3e(l(jM(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},"Cl");var O3n=S(Zt,"FluentIterable",547);C(442,547,c0,a7),h.Kc=n(function(){return new We(Ve(this.a.Kc(),new et))},"El");var D3n=S(Zt,"FluentIterable/2",442);C(1059,547,c0,Rkt),h.Kc=n(function(){return d1(this)},"Hl");var j3n=S(Zt,"FluentIterable/3",1059);C(724,399,L8,mV),h.Xb=n(function(t){return this.a[t].Kc()},"Jl");var I3n=S(Zt,"FluentIterable/3/1",724);C(2070,1,{}),h.Ib=n(function(){return bo(this.Kd().b)},"Kl");var P3n=S(Zt,"ForwardingObject",2070);C(2071,2070,LLe),h.Kd=n(function(){return this.Ld()},"Ql"),h.Jc=n(function(t){Ji(this,t)},"Rl"),h.Lc=n(function(){return this.Oc()},"Ul"),h.Nc=n(function(){return new ce(this,0)},"Xl"),h.Oc=n(function(){return new ne(null,this.Nc())},"Yl"),h.Fc=n(function(t){return this.Ld(),K6t()},"Ll"),h.Gc=n(function(t){return this.Ld(),U6t()},"Ml"),h.$b=n(function(){this.Ld(),W6t()},"Nl"),h.Hc=n(function(t){return this.Ld().Hc(t)},"Ol"),h.Ic=n(function(t){return this.Ld().Ic(t)},"Pl"),h.dc=n(function(){return this.Ld().b.dc()},"Sl"),h.Kc=n(function(){return this.Ld().Kc()},"Tl"),h.Mc=n(function(t){return this.Ld(),G6t()},"Vl"),h.gc=n(function(){return this.Ld().b.gc()},"Wl"),h.Pc=n(function(){return this.Ld().Pc()},"Zl"),h.Qc=n(function(t){return this.Ld().Qc(t)},"$l");var $3n=S(Zt,"ForwardingCollection",2071);C(2078,31,dzt),h.Kc=n(function(){return this.Od()},"gm"),h.Fc=n(function(t){throw R(new Tn)},"am"),h.Gc=n(function(t){throw R(new Tn)},"bm"),h.Md=n(function(){var t;return t=this.c,t||(this.c=this.Nd())},"cm"),h.$b=n(function(){throw R(new Tn)},"dm"),h.Hc=n(function(t){return t!=null&&Jp(this,t,!1)},"em"),h.Nd=n(function(){switch(this.gc()){case 0:return og(),og(),Lat;case 1:return og(),new sI(Cn(this.Od().Pb()));default:return new YX(this,this.Pc())}},"fm"),h.Mc=n(function(t){throw R(new Tn)},"hm");var N3n=S(Zt,"ImmutableCollection",2078);C(727,2078,dzt,bW),h.Kc=n(function(){return D3(this.a.Kc())},"nm"),h.Hc=n(function(t){return t!=null&&this.a.Hc(t)},"jm"),h.Ic=n(function(t){return this.a.Ic(t)},"km"),h.dc=n(function(){return this.a.dc()},"lm"),h.Od=n(function(){return D3(this.a.Kc())},"mm"),h.gc=n(function(){return this.a.gc()},"om"),h.Pc=n(function(){return this.a.Pc()},"pm"),h.Qc=n(function(t){return this.a.Qc(t)},"qm"),h.Ib=n(function(){return bo(this.a)},"rm");var R3n=S(Zt,"ForwardingImmutableCollection",727);C(307,2078,_8),h.Kc=n(function(){return this.Od()},"Em"),h.ed=n(function(){return this.Pd(0)},"Fm"),h.fd=n(function(t){return this.Pd(t)},"Hm"),h.jd=n(function(t){qf(this,t)},"Lm"),h.Nc=n(function(){return new ce(this,16)},"Mm"),h.kd=n(function(t,e){return this.Qd(t,e)},"Om"),h.bd=n(function(t,e){throw R(new Tn)},"wm"),h.cd=n(function(t,e){throw R(new Tn)},"xm"),h.Md=n(function(){return this},"ym"),h.Fb=n(function(t){return s9e(this,t)},"Am"),h.Hb=n(function(){return eme(this)},"Bm"),h.dd=n(function(t){return t==null?-1:Tye(this,t)},"Cm"),h.Od=n(function(){return this.Pd(0)},"Dm"),h.Pd=n(function(t){return Nj(this,t)},"Gm"),h.gd=n(function(t){throw R(new Tn)},"Jm"),h.hd=n(function(t,e){throw R(new Tn)},"Km"),h.Qd=n(function(t,e){var r;return WA((r=new L7t(this),new R0(r,t,e)))},"Nm");var Lat,z3n=S(Zt,"ImmutableList",307);C(2105,307,_8),h.Kc=n(function(){return D3(this.Rd().Kc())},"Zm"),h.kd=n(function(t,e){return WA(this.Rd().kd(t,e))},"an"),h.Hc=n(function(t){return t!=null&&this.Rd().Hc(t)},"Rm"),h.Ic=n(function(t){return this.Rd().Ic(t)},"Sm"),h.Fb=n(function(t){return er(this.Rd(),t)},"Tm"),h.Xb=n(function(t){return Ed(this,t)},"Um"),h.Hb=n(function(){return kr(this.Rd())},"Vm"),h.dd=n(function(t){return this.Rd().dd(t)},"Wm"),h.dc=n(function(){return this.Rd().dc()},"Xm"),h.Od=n(function(){return D3(this.Rd().Kc())},"Ym"),h.gc=n(function(){return this.Rd().gc()},"$m"),h.Qd=n(function(t,e){return WA(this.Rd().kd(t,e))},"_m"),h.Pc=n(function(){return this.Rd().Qc(ht(Ai,xe,1,this.Rd().gc(),5,1))},"bn"),h.Qc=n(function(t){return this.Rd().Qc(t)},"cn"),h.Ib=n(function(){return bo(this.Rd())},"dn");var q3n=S(Zt,"ForwardingImmutableList",2105);C(729,1,F8),h.vc=n(function(){return Ff(this)},"pn"),h.wc=n(function(t){z7(this,t)},"rn"),h.ec=n(function(){return bI(this)},"vn"),h.yc=n(function(t,e,r){return C$(this,t,e,r)},"wn"),h.Cc=n(function(){return this.Vd()},"Dn"),h.$b=n(function(){throw R(new Tn)},"kn"),h._b=n(function(t){return this.xc(t)!=null},"ln"),h.uc=n(function(t){return this.Vd().Hc(t)},"mn"),h.Td=n(function(){return new dvt(this)},"nn"),h.Ud=n(function(){return new fvt(this)},"on"),h.Fb=n(function(t){return Gme(this,t)},"qn"),h.Hb=n(function(){return Ff(this).Hb()},"tn"),h.dc=n(function(){return this.gc()==0},"un"),h.zc=n(function(t,e){return Moe()},"zn"),h.Bc=n(function(t){throw R(new Tn)},"An"),h.Ib=n(function(){return D7e(this)},"Bn"),h.Vd=n(function(){return this.e?this.e:this.e=this.Ud()},"Cn"),h.c=null,h.d=null,h.e=null;var nje,H3n=S(Zt,"ImmutableMap",729);C(730,729,F8),h._b=n(function(t){return q6t(this,t)},"Hn"),h.uc=n(function(t){return I7t(this.b,t)},"In"),h.Sd=n(function(){return PFt(new p3t(this))},"Jn"),h.Td=n(function(){return PFt(ZTt(this.b))},"Kn"),h.Ud=n(function(){return Iu(),new bW(JTt(this.b))},"Ln"),h.Fb=n(function(t){return P7t(this.b,t)},"Mn"),h.xc=n(function(t){return f7(this,t)},"Nn"),h.Hb=n(function(){return kr(this.b.c)},"On"),h.dc=n(function(){return this.b.c.dc()},"Pn"),h.gc=n(function(){return this.b.c.gc()},"Qn"),h.Ib=n(function(){return bo(this.b.c)},"Rn");var K3n=S(Zt,"ForwardingImmutableMap",730);C(2072,2071,Unt),h.Kd=n(function(){return this.Wd()},"Sn"),h.Ld=n(function(){return this.Wd()},"Tn"),h.Nc=n(function(){return new ce(this,1)},"Wn"),h.Fb=n(function(t){return t===this||this.Wd().Fb(t)},"Un"),h.Hb=n(function(){return this.Wd().Hb()},"Vn");var U3n=S(Zt,"ForwardingSet",2072);C(1085,2072,Unt,p3t),h.Kd=n(function(){return Q5(this.a.b)},"Zn"),h.Ld=n(function(){return Q5(this.a.b)},"$n"),h.Hc=n(function(t){if(J(t,44)&&l(t,44).ld()==null)return!1;try{return j7t(Q5(this.a.b),t)}catch(e){if(e=Dr(e),J(e,212))return!1;throw R(e)}},"Yn"),h.Wd=n(function(){return Q5(this.a.b)},"_n"),h.Qc=n(function(t){var e;return e=PSt(Q5(this.a.b),t),Q5(this.a.b).b.gc()=0?"+":"")+(r/60|0),e=RB(v.Math.abs(r)%60),(Ejt(),kje)[this.q.getDay()]+" "+xje[this.q.getMonth()]+" "+RB(this.q.getDate())+" "+RB(this.q.getHours())+":"+RB(this.q.getMinutes())+":"+RB(this.q.getSeconds())+" GMT"+t+e+" "+this.q.getFullYear()},"BB");var Sz=S(rn,"Date",206);C(2015,206,NLe,XDt),h.a=!1,h.b=0,h.c=0,h.d=0,h.e=0,h.f=0,h.g=!1,h.i=0,h.j=0,h.k=0,h.n=0,h.o=0,h.p=0;var dyn=S("com.google.gwt.i18n.shared.impl","DateRecord",2015);C(2064,1,{}),h.pe=n(function(){return null},"EB"),h.qe=n(function(){return null},"FB"),h.re=n(function(){return null},"GB"),h.se=n(function(){return null},"HB"),h.te=n(function(){return null},"IB");var fyn=S(sv,"JSONValue",2064);C(221,2064,{221:1},Cf,RU),h.Fb=n(function(t){return J(t,221)?PY(this.a,l(t,221).a):!1},"OB"),h.oe=n(function(){return Zae},"PB"),h.Hb=n(function(){return EY(this.a)},"QB"),h.pe=n(function(){return this},"RB"),h.Ib=n(function(){var t,e,r;for(r=new Wc("["),e=0,t=this.a.length;e0&&(r.a+=","),is(r,Up(this,e));return r.a+="]",r.a},"SB");var byn=S(sv,"JSONArray",221);C(493,2064,{493:1},zU),h.oe=n(function(){return toe},"YB"),h.qe=n(function(){return this},"ZB"),h.Ib=n(function(){return Se(),""+this.a},"$B"),h.a=!1;var lje,hje,gyn=S(sv,"JSONBoolean",493);C(997,63,rd,d6t);var pyn=S(sv,"JSONException",997);C(1036,2064,{},ke),h.oe=n(function(){return eoe},"eC"),h.Ib=n(function(){return bc},"fC");var uje,wyn=S(sv,"JSONNull",1036);C(263,2064,{263:1},IE),h.Fb=n(function(t){return J(t,263)?this.a==l(t,263).a:!1},"iC"),h.oe=n(function(){return Qae},"jC"),h.Hb=n(function(){return u3(this.a)},"kC"),h.re=n(function(){return this},"lC"),h.Ib=n(function(){return this.a+""},"mC"),h.a=0;var myn=S(sv,"JSONNumber",263);C(190,2064,{190:1},n3,w9),h.Fb=n(function(t){return J(t,190)?PY(this.a,l(t,190).a):!1},"wC"),h.oe=n(function(){return Jae},"xC"),h.Hb=n(function(){return EY(this.a)},"yC"),h.se=n(function(){return this},"zC"),h.Ib=n(function(){var t,e,r,i,a,c,u;for(u=new Wc("{"),t=!0,c=zP(this,ht($t,Tt,2,0,6,1)),r=c,i=0,a=r.length;i=0?":"+this.c:"")+")"},"hhb"),h.c=0;var yUt=S(Io,"StackTraceElement",319);eje={3:1,484:1,34:1,2:1};var $t=S(Io,fzt,2);C(111,427,{484:1},F0,D6,jl);var Nyn=S(Io,"StringBuffer",111);C(104,427,{484:1},kd,rw,Wc);var Ryn=S(Io,"StringBuilder",104);C(702,77,brt,KW);var zyn=S(Io,"StringIndexOutOfBoundsException",702);C(2145,1,{});var gje;C(48,63,{3:1,103:1,63:1,82:1,48:1},Tn,L0);var qyn=S(Io,"UnsupportedOperationException",48);C(247,242,{3:1,34:1,242:1,247:1},sC,eG),h.Fd=n(function(t){return yNt(this,l(t,247))},"Eib"),h.ue=n(function(){return r2(GNt(this))},"Fib"),h.Fb=n(function(t){var e;return this===t?!0:J(t,247)?(e=l(t,247),this.e==e.e&&yNt(this,e)==0):!1},"Gib"),h.Hb=n(function(){var t;return this.b!=0?this.b:this.a<54?(t=jo(this.f),this.b=xn(Si(t,-1)),this.b=33*this.b+xn(Si(rg(t,32),-1)),this.b=17*this.b+xi(this.e),this.b):(this.b=17*FFt(this.c)+xi(this.e),this.b)},"Hib"),h.Ib=n(function(){return GNt(this)},"Iib"),h.a=0,h.b=0,h.d=0,h.e=0,h.f=0;var pje,Gg,vUt,kUt,xUt,CUt,TUt,SUt,Pat=S("java.math","BigDecimal",247);C(92,242,{3:1,34:1,242:1,92:1},V1,TEt,Df,OOt,Bd),h.Fd=n(function(t){return AOt(this,l(t,92))},"gjb"),h.ue=n(function(){return r2(dR(this,0))},"hjb"),h.Fb=n(function(t){return bZ(this,t)},"ijb"),h.Hb=n(function(){return FFt(this)},"ljb"),h.Ib=n(function(){return dR(this,0)},"njb"),h.b=-2,h.c=0,h.d=0,h.e=0;var wje,Ez,mje,$at,Bz,CT,c4=S("java.math","BigInteger",92),yje,vje,yv,TT;C(498,2065,d2),h.$b=n(function(){lc(this)},"dkb"),h._b=n(function(t){return xs(this,t)},"ekb"),h.uc=n(function(t){return fFt(this,t,this.i)||fFt(this,t,this.f)},"fkb"),h.vc=n(function(){return new Ef(this)},"gkb"),h.xc=n(function(t){return He(this,t)},"hkb"),h.zc=n(function(t,e){return Hn(this,t,e)},"ikb"),h.Bc=n(function(t){return F3(this,t)},"jkb"),h.gc=n(function(){return I6(this)},"kkb"),h.g=0;var Hyn=S(rn,"AbstractHashMap",498);C(267,Ku,gc,Ef),h.$b=n(function(){this.a.$b()},"nkb"),h.Hc=n(function(t){return tBt(this,t)},"okb"),h.Kc=n(function(){return new Kf(this.a)},"pkb"),h.Mc=n(function(t){var e;return tBt(this,t)?(e=l(t,44).ld(),this.a.Bc(e),!0):!1},"qkb"),h.gc=n(function(){return this.a.gc()},"rkb");var Kyn=S(rn,"AbstractHashMap/EntrySet",267);C(268,1,zi,Kf),h.Nb=n(function(t){Yi(this,t)},"wkb"),h.Pb=n(function(){return kg(this)},"ykb"),h.Ob=n(function(){return this.b},"xkb"),h.Qb=n(function(){AAt(this)},"zkb"),h.b=!1,h.d=0;var Uyn=S(rn,"AbstractHashMap/EntrySetIterator",268);C(426,1,zi,x6),h.Nb=n(function(t){Yi(this,t)},"Ekb"),h.Ob=n(function(){return UD(this)},"Fkb"),h.Pb=n(function(){return kY(this)},"Gkb"),h.Qb=n(function(){$c(this)},"Hkb"),h.b=0,h.c=-1;var Wyn=S(rn,"AbstractList/IteratorImpl",426);C(98,426,s0,Wi),h.Qb=n(function(){$c(this)},"Pkb"),h.Rb=n(function(t){Dp(this,t)},"Kkb"),h.Sb=n(function(){return this.b>0},"Lkb"),h.Tb=n(function(){return this.b},"Mkb"),h.Ub=n(function(){return Je(this.b>0),this.a.Xb(this.c=--this.b)},"Nkb"),h.Vb=n(function(){return this.b-1},"Okb"),h.Wb=n(function(t){Fp(this.c!=-1),this.a.hd(this.c,t)},"Qkb");var Gyn=S(rn,"AbstractList/ListIteratorImpl",98);C(244,56,O8,R0),h.bd=n(function(t,e){zp(t,this.b),this.c.bd(this.a+t,e),++this.b},"Skb"),h.Xb=n(function(t){return ue(t,this.b),this.c.Xb(this.a+t)},"Tkb"),h.gd=n(function(t){var e;return ue(t,this.b),e=this.c.gd(this.a+t),--this.b,e},"Ukb"),h.hd=n(function(t,e){return ue(t,this.b),this.c.hd(this.a+t,e)},"Vkb"),h.gc=n(function(){return this.b},"Wkb"),h.a=0,h.b=0;var Vyn=S(rn,"AbstractList/SubList",244);C(266,Ku,gc,Sf),h.$b=n(function(){this.a.$b()},"Ykb"),h.Hc=n(function(t){return this.a._b(t)},"Zkb"),h.Kc=n(function(){var t;return t=this.a.vc().Kc(),new $E(t)},"$kb"),h.Mc=n(function(t){return this.a._b(t)?(this.a.Bc(t),!0):!1},"_kb"),h.gc=n(function(){return this.a.gc()},"alb");var Xyn=S(rn,"AbstractMap/1",266);C(541,1,zi,$E),h.Nb=n(function(t){Yi(this,t)},"clb"),h.Ob=n(function(){return this.a.Ob()},"dlb"),h.Pb=n(function(){var t;return t=l(this.a.Pb(),44),t.ld()},"elb"),h.Qb=n(function(){this.a.Qb()},"flb");var Yyn=S(rn,"AbstractMap/1/1",541);C(231,31,Vw,N1),h.$b=n(function(){this.a.$b()},"hlb"),h.Hc=n(function(t){return this.a.uc(t)},"ilb"),h.Kc=n(function(){var t;return t=this.a.vc().Kc(),new Cp(t)},"jlb"),h.gc=n(function(){return this.a.gc()},"klb");var Qyn=S(rn,"AbstractMap/2",231);C(301,1,zi,Cp),h.Nb=n(function(t){Yi(this,t)},"mlb"),h.Ob=n(function(){return this.a.Ob()},"nlb"),h.Pb=n(function(){var t;return t=l(this.a.Pb(),44),t.md()},"olb"),h.Qb=n(function(){this.a.Qb()},"plb");var Jyn=S(rn,"AbstractMap/2/1",301);C(494,1,{494:1,44:1}),h.Fb=n(function(t){var e;return J(t,44)?(e=l(t,44),Do(this.d,e.ld())&&Do(this.e,e.md())):!1},"rlb"),h.ld=n(function(){return this.d},"slb"),h.md=n(function(){return this.e},"tlb"),h.Hb=n(function(){return gw(this.d)^gw(this.e)},"ulb"),h.nd=n(function(t){return qV(this,t)},"vlb"),h.Ib=n(function(){return this.d+"="+this.e},"wlb");var Zyn=S(rn,"AbstractMap/AbstractEntry",494);C(397,494,{494:1,397:1,44:1},pB);var tvn=S(rn,"AbstractMap/SimpleEntry",397);C(2082,1,wrt),h.Fb=n(function(t){var e;return J(t,44)?(e=l(t,44),Do(this.ld(),e.ld())&&Do(this.md(),e.md())):!1},"ylb"),h.Hb=n(function(){return gw(this.ld())^gw(this.md())},"zlb"),h.Ib=n(function(){return this.ld()+"="+this.md()},"Alb");var evn=S(rn,BLe,2082);C(2090,2065,hzt),h.Xc=n(function(t){return $D(this.Ee(t))},"Dlb"),h.tc=n(function(t){return oMt(this,t)},"Elb"),h._b=n(function(t){return HV(this,t)},"Flb"),h.vc=n(function(){return new dD(this)},"Glb"),h.Tc=n(function(){return vTt(this.Ge())},"Hlb"),h.Yc=n(function(t){return $D(this.He(t))},"Ilb"),h.xc=n(function(t){var e;return e=t,eo(this.Fe(e))},"Jlb"),h.$c=n(function(t){return $D(this.Ie(t))},"Llb"),h.ec=n(function(){return new q3t(this)},"Mlb"),h.Vc=n(function(){return vTt(this.Je())},"Nlb"),h._c=n(function(t){return $D(this.Ke(t))},"Olb");var nvn=S(rn,"AbstractNavigableMap",2090);C(629,Ku,gc,dD),h.Hc=n(function(t){return J(t,44)&&oMt(this.b,l(t,44))},"Qlb"),h.Kc=n(function(){return this.b.De()},"Rlb"),h.Mc=n(function(t){var e;return J(t,44)?(e=l(t,44),this.b.Le(e)):!1},"Slb"),h.gc=n(function(){return this.b.gc()},"Tlb");var rvn=S(rn,"AbstractNavigableMap/EntrySet",629);C(1146,Ku,uzt,q3t),h.Nc=n(function(){return new bB(this)},"$lb"),h.$b=n(function(){this.a.$b()},"Vlb"),h.Hc=n(function(t){return HV(this.a,t)},"Wlb"),h.Kc=n(function(){var t;return t=this.a.vc().b.De(),new H3t(t)},"Xlb"),h.Mc=n(function(t){return HV(this.a,t)?(this.a.Bc(t),!0):!1},"Ylb"),h.gc=n(function(){return this.a.gc()},"Zlb");var ivn=S(rn,"AbstractNavigableMap/NavigableKeySet",1146);C(1147,1,zi,H3t),h.Nb=n(function(t){Yi(this,t)},"amb"),h.Ob=n(function(){return UD(this.a.a)},"bmb"),h.Pb=n(function(){var t;return t=H9t(this.a),t.ld()},"cmb"),h.Qb=n(function(){Xxt(this.a)},"dmb");var avn=S(rn,"AbstractNavigableMap/NavigableKeySet/1",1147);C(2103,31,Vw),h.Fc=n(function(t){return y3(Ky(this,t),j8),!0},"emb"),h.Gc=n(function(t){return Ie(t),lx(t!=this,"Can't add a queue to itself"),Vi(this,t)},"fmb"),h.$b=n(function(){for(;MP(this)!=null;);},"gmb");var ovn=S(rn,"AbstractQueue",2103);C(310,31,{4:1,20:1,31:1,16:1},mw,XEt),h.Fc=n(function(t){return GY(this,t),!0},"ymb"),h.$b=n(function(){ZY(this)},"Amb"),h.Hc=n(function(t){return j_t(new E7(this),t)},"Bmb"),h.dc=n(function(){return O6(this)},"Cmb"),h.Kc=n(function(){return new E7(this)},"Dmb"),h.Mc=n(function(t){return Ife(new E7(this),t)},"Emb"),h.gc=n(function(){return this.c-this.b&this.a.length-1},"Fmb"),h.Nc=n(function(){return new ce(this,272)},"Gmb"),h.Qc=n(function(t){var e;return e=this.c-this.b&this.a.length-1,t.lengthe&&Hr(t,e,null),t},"Hmb"),h.b=0,h.c=0;var svn=S(rn,"ArrayDeque",310);C(459,1,zi,E7),h.Nb=n(function(t){Yi(this,t)},"Lmb"),h.Ob=n(function(){return this.a!=this.b},"Mmb"),h.Pb=n(function(){return UA(this)},"Nmb"),h.Qb=n(function(){_Lt(this)},"Omb"),h.a=0,h.b=0,h.c=-1;var cvn=S(rn,"ArrayDeque/IteratorImpl",459);C(13,56,qLe,Bt,hs,cc),h.bd=n(function(t,e){ng(this,t,e)},"enb"),h.Fc=n(function(t){return Mt(this,t)},"fnb"),h.cd=n(function(t,e){return RJ(this,t,e)},"gnb"),h.Gc=n(function(t){return bi(this,t)},"hnb"),h.$b=n(function(){Tp(this.c,0)},"inb"),h.Hc=n(function(t){return io(this,t,0)!=-1},"jnb"),h.Jc=n(function(t){Ts(this,t)},"knb"),h.Xb=n(function(t){return It(this,t)},"lnb"),h.dd=n(function(t){return io(this,t,0)},"mnb"),h.dc=n(function(){return this.c.length==0},"nnb"),h.Kc=n(function(){return new N(this)},"onb"),h.gd=n(function(t){return q0(this,t)},"pnb"),h.Mc=n(function(t){return $s(this,t)},"qnb"),h.ce=n(function(t,e){mEt(this,t,e)},"rnb"),h.hd=n(function(t,e){return dl(this,t,e)},"snb"),h.gc=n(function(){return this.c.length},"tnb"),h.jd=n(function(t){ai(this,t)},"unb"),h.Pc=n(function(){return cM(this.c)},"vnb"),h.Qc=n(function(t){return pu(this,t)},"wnb");var Msn=S(rn,"ArrayList",13);C(7,1,zi,N),h.Nb=n(function(t){Yi(this,t)},"Bnb"),h.Ob=n(function(){return vo(this)},"Cnb"),h.Pb=n(function(){return P(this)},"Dnb"),h.Qb=n(function(){k7(this)},"Enb"),h.a=0,h.b=-1;var lvn=S(rn,"ArrayList/1",7);C(2112,v.Function,{},Xr),h.Me=n(function(t,e){return pr(t,e)},"job"),C(151,56,HLe,sc),h.Hc=n(function(t){return FLt(this,t)!=-1},"nob"),h.Jc=n(function(t){var e,r,i,a;for(Ie(t),r=this.a,i=0,a=r.length;i0)throw R(new Le(kzt+t+" greater than "+this.e));return this.f.Te()?zSt(this.c,this.b,this.a,t,e):yEt(this.c,t,e)},"Uzb"),h.zc=n(function(t,e){if(!nN(this.c,this.f,t,this.b,this.a,this.e,this.d))throw R(new Le(t+" outside the range "+this.b+" to "+this.e));return J_t(this.c,t,e)},"Vzb"),h.Bc=n(function(t){var e;return e=t,nN(this.c,this.f,e,this.b,this.a,this.e,this.d)?qSt(this.c,e):null},"Wzb"),h.Le=n(function(t){return MM(this,t.ld())&&mQ(this.c,t)},"Xzb"),h.gc=n(function(){var t,e,r;if(this.f.Te()?this.a?e=Py(this.c,this.b,!0):e=Py(this.c,this.b,!1):e=MQ(this.c),!(e&&MM(this,e.d)&&e))return 0;for(t=0,r=new qP(this.c,this.f,this.b,this.a,this.e,this.d);UD(r.a);r.b=l(kY(r.a),44))++t;return t},"Yzb"),h.ad=n(function(t,e){if(this.f.Te()&&this.c.a.Ne(t,this.b)<0)throw R(new Le(kzt+t+WLe+this.b));return this.f.Ue()?zSt(this.c,t,e,this.e,this.d):vEt(this.c,t,e)},"Zzb"),h.a=!1,h.d=!1;var _6n=S(rn,"TreeMap/SubMap",631);C(304,22,krt,gB),h.Te=n(function(){return!1},"eAb"),h.Ue=n(function(){return!1},"fAb");var zat,qat,Hat,Kat,Az=ln(rn,"TreeMap/SubMapType",304,mn,lge,yhe);C(1143,304,krt,Wkt),h.Ue=n(function(){return!0},"jAb");var F6n=ln(rn,"TreeMap/SubMapType/1",1143,Az,null,null);C(1144,304,krt,e9t),h.Te=n(function(){return!0},"lAb"),h.Ue=n(function(){return!0},"mAb");var O6n=ln(rn,"TreeMap/SubMapType/2",1144,Az,null,null);C(1145,304,krt,Ukt),h.Te=n(function(){return!0},"oAb");var D6n=ln(rn,"TreeMap/SubMapType/3",1145,Az,null,null),Mje;C(157,Ku,{3:1,20:1,31:1,16:1,277:1,21:1,87:1,157:1},yW,D0,x5),h.Nc=n(function(){return new bB(this)},"GAb"),h.Fc=n(function(t){return dx(this,t)},"AAb"),h.$b=n(function(){this.a.$b()},"BAb"),h.Hc=n(function(t){return this.a._b(t)},"CAb"),h.Kc=n(function(){return this.a.ec().Kc()},"DAb"),h.Mc=n(function(t){return Ij(this,t)},"EAb"),h.gc=n(function(){return this.a.gc()},"FAb");var Dsn=S(rn,"TreeSet",157);C(1082,1,{},G3t),h.Ve=n(function(t,e){return Ile(this.a,t,e)},"KAb");var j6n=S(xrt,"BinaryOperator/lambda$0$Type",1082);C(1083,1,{},V3t),h.Ve=n(function(t,e){return Ple(this.a,t,e)},"MAb");var I6n=S(xrt,"BinaryOperator/lambda$1$Type",1083);C(952,1,{},l5),h.Kb=n(function(t){return t},"OAb");var P6n=S(xrt,"Function/lambda$0$Type",952);C(395,1,Mn,C5),h.Mb=n(function(t){return!this.a.Mb(t)},"QAb");var $6n=S(xrt,"Predicate/lambda$2$Type",395);C(581,1,{581:1});var Aje=S(GC,"Handler",581);C(2107,1,a_),h.xe=n(function(){return"DUMMY"},"TAb"),h.Ib=n(function(){return this.xe()},"UAb");var FUt,N6n=S(GC,"Level",2107);C(1706,2107,a_,md),h.xe=n(function(){return"INFO"},"WAb");var R6n=S(GC,"Level/LevelInfo",1706);C(1843,1,{},vvt);var Uat,z6n=S(GC,"LogManager",1843);C(1896,1,a_,Vxt),h.b=null;var q6n=S(GC,"LogRecord",1896);C(525,1,{525:1},sP),h.e=!1;var Lje=!1,_je=!1,Vu=!1,Fje=!1,Oje=!1,H6n=S(GC,"Logger",525);C(835,581,{581:1},yp);var K6n=S(GC,"SimpleConsoleLogHandler",835);C(108,22,{3:1,34:1,22:1,108:1},VD);var OUt,Eo,im,so=ln(yi,"Collector/Characteristics",108,mn,Yfe,vhe),Dje;C(758,1,{},tY);var U6n=S(yi,"CollectorImpl",758);C(1074,1,{},h5),h.Ve=n(function(t,e){return L3e(l(t,213),l(e,213))},"SBb");var W6n=S(yi,"Collectors/10methodref$merge$Type",1074);C(1075,1,{},p6),h.Kb=n(function(t){return YEt(l(t,213))},"UBb");var G6n=S(yi,"Collectors/11methodref$toString$Type",1075);C(1076,1,{},X3t),h.Kb=n(function(t){return Se(),!!XG(t)},"WBb");var V6n=S(yi,"Collectors/12methodref$test$Type",1076);C(144,1,{},Oo),h.Yd=n(function(t,e){l(t,16).Fc(e)},"YBb");var X6n=S(yi,"Collectors/20methodref$add$Type",144);C(146,1,{},Ua),h.Xe=n(function(){return new Bt},"$Bb");var Y6n=S(yi,"Collectors/21methodref$ctor$Type",146);C(359,1,{},eh),h.Xe=n(function(){return new oi},"aCb");var Q6n=S(yi,"Collectors/23methodref$ctor$Type",359);C(360,1,{},iu),h.Yd=n(function(t,e){fi(l(t,49),e)},"cCb");var J6n=S(yi,"Collectors/24methodref$add$Type",360);C(1069,1,{},u5),h.Ve=n(function(t,e){return R7t(l(t,15),l(e,16))},"eCb");var Z6n=S(yi,"Collectors/4methodref$addAll$Type",1069);C(1073,1,{},vp),h.Yd=n(function(t,e){X1(l(t,213),l(e,484))},"gCb");var t7n=S(yi,"Collectors/9methodref$add$Type",1073);C(1072,1,{},uCt),h.Xe=n(function(){return new Uf(this.a,this.b,this.c)},"iCb");var e7n=S(yi,"Collectors/lambda$15$Type",1072);C(1077,1,{},kp),h.Xe=n(function(){var t;return t=new z0,J0(t,(Se(),!1),new Bt),J0(t,!0,new Bt),t},"kCb");var n7n=S(yi,"Collectors/lambda$22$Type",1077);C(1078,1,{},Y3t),h.Xe=n(function(){return H(q(Ai,1),xe,1,5,[this.a])},"mCb");var r7n=S(yi,"Collectors/lambda$25$Type",1078);C(1079,1,{},Q3t),h.Yd=n(function(t,e){n0e(this.a,zf(t))},"oCb");var i7n=S(yi,"Collectors/lambda$26$Type",1079);C(1080,1,{},J3t),h.Ve=n(function(t,e){return L0e(this.a,zf(t),zf(e))},"qCb");var a7n=S(yi,"Collectors/lambda$27$Type",1080);C(1081,1,{},a9),h.Kb=n(function(t){return zf(t)[0]},"sCb");var o7n=S(yi,"Collectors/lambda$28$Type",1081);C(728,1,{},Z2),h.Ve=n(function(t,e){return DX(t,e)},"vCb");var s7n=S(yi,"Collectors/lambda$4$Type",728);C(145,1,{},Yo),h.Ve=n(function(t,e){return use(l(t,16),l(e,16))},"xCb");var c7n=S(yi,"Collectors/lambda$42$Type",145);C(361,1,{},yd),h.Ve=n(function(t,e){return dse(l(t,49),l(e,49))},"zCb");var l7n=S(yi,"Collectors/lambda$50$Type",361);C(362,1,{},Ib),h.Kb=n(function(t){return l(t,49)},"BCb");var h7n=S(yi,"Collectors/lambda$51$Type",362);C(1068,1,{},Z3t),h.Yd=n(function(t,e){Ime(this.a,l(t,85),e)},"DCb");var u7n=S(yi,"Collectors/lambda$7$Type",1068);C(1070,1,{},bE),h.Ve=n(function(t,e){return dme(l(t,85),l(e,85),new u5)},"FCb");var d7n=S(yi,"Collectors/lambda$8$Type",1070);C(1071,1,{},t4t),h.Kb=n(function(t){return l4e(this.a,l(t,85))},"HCb");var f7n=S(yi,"Collectors/lambda$9$Type",1071);C(550,1,{}),h.$e=n(function(){S7(this)},"OCb"),h.d=!1;var b7n=S(yi,"TerminatableStream",550);C(827,550,xzt,OV),h.$e=n(function(){S7(this)},"XCb");var g7n=S(yi,"DoubleStreamImpl",827);C(1847,736,xl,dCt),h.Re=n(function(t){return dye(this,l(t,189))},"aDb"),h.a=null;var p7n=S(yi,"DoubleStreamImpl/2",1847);C(1848,1,b_,e4t),h.Pe=n(function(t){ace(this.a,t)},"cDb");var w7n=S(yi,"DoubleStreamImpl/2/lambda$0$Type",1848);C(1845,1,b_,n4t),h.Pe=n(function(t){ice(this.a,t)},"eDb");var m7n=S(yi,"DoubleStreamImpl/lambda$0$Type",1845);C(1846,1,b_,r4t),h.Pe=n(function(t){dOt(this.a,t)},"gDb");var y7n=S(yi,"DoubleStreamImpl/lambda$2$Type",1846);C(1397,735,xl,eMt),h.Re=n(function(t){return Jbe(this,l(t,202))},"lDb"),h.a=0,h.b=0,h.c=0;var v7n=S(yi,"IntStream/5",1397);C(806,550,xzt,DV),h.$e=n(function(){S7(this)},"pDb"),h._e=n(function(){return Fd(this),this.a},"qDb");var k7n=S(yi,"IntStreamImpl",806);C(807,550,xzt,oG),h.$e=n(function(){S7(this)},"sDb"),h._e=n(function(){return Fd(this),pV(),Bje},"tDb");var x7n=S(yi,"IntStreamImpl/Empty",807);C(1687,1,s_,i4t),h.Dd=n(function(t){x_t(this.a,t)},"vDb");var C7n=S(yi,"IntStreamImpl/lambda$4$Type",1687),jsn=Rr(yi,"Stream");C(26,550,{533:1,687:1,848:1},ne),h.$e=n(function(){S7(this)},"TDb");var vv,T7n=S(yi,"StreamImpl",26);C(1102,500,xl,Rxt),h.Bd=n(function(t){for(;e2e(this);){if(this.a.Bd(t))return!0;S7(this.b),this.b=null,this.a=null}return!1},"ZDb");var S7n=S(yi,"StreamImpl/1",1102);C(1103,1,Ye,a4t),h.Cd=n(function(t){M1e(this.a,l(t,848))},"_Db");var E7n=S(yi,"StreamImpl/1/lambda$0$Type",1103);C(1104,1,Mn,o4t),h.Mb=n(function(t){return fi(this.a,t)},"bEb");var B7n=S(yi,"StreamImpl/1methodref$add$Type",1104);C(1105,500,xl,vSt),h.Bd=n(function(t){var e;return this.a||(e=new Bt,this.b.a.Nb(new s4t(e)),de(),ai(e,this.c),this.a=new ce(e,16)),rLt(this.a,t)},"dEb"),h.a=null;var M7n=S(yi,"StreamImpl/5",1105);C(1106,1,Ye,s4t),h.Cd=n(function(t){Mt(this.a,t)},"fEb");var A7n=S(yi,"StreamImpl/5/2methodref$add$Type",1106);C(737,500,xl,AQ),h.Bd=n(function(t){for(this.b=!1;!this.b&&this.c.Bd(new r8t(this,t)););return this.b},"iEb"),h.b=!1;var L7n=S(yi,"StreamImpl/FilterSpliterator",737);C(1096,1,Ye,r8t),h.Cd=n(function(t){T0e(this.a,this.b,t)},"kEb");var _7n=S(yi,"StreamImpl/FilterSpliterator/lambda$0$Type",1096);C(1091,736,xl,dMt),h.Re=n(function(t){return ihe(this,l(t,189))},"oEb");var F7n=S(yi,"StreamImpl/MapToDoubleSpliterator",1091);C(1095,1,Ye,i8t),h.Cd=n(function(t){Mse(this.a,this.b,t)},"qEb");var O7n=S(yi,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1095);C(1090,735,xl,fMt),h.Re=n(function(t){return ahe(this,l(t,202))},"uEb");var D7n=S(yi,"StreamImpl/MapToIntSpliterator",1090);C(1094,1,Ye,a8t),h.Cd=n(function(t){Ase(this.a,this.b,t)},"wEb");var j7n=S(yi,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1094);C(734,500,xl,bQ),h.Bd=n(function(t){return Pxt(this,t)},"AEb");var I7n=S(yi,"StreamImpl/MapToObjSpliterator",734);C(1093,1,Ye,o8t),h.Cd=n(function(t){Lse(this.a,this.b,t)},"CEb");var P7n=S(yi,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1093);C(1092,500,xl,qLt),h.Bd=n(function(t){for(;WD(this.b,0);){if(!this.a.Bd(new gE))return!1;this.b=$l(this.b,1)}return this.a.Bd(t)},"EEb"),h.b=0;var $7n=S(yi,"StreamImpl/SkipSpliterator",1092);C(1097,1,Ye,gE),h.Cd=n(function(t){},"GEb");var N7n=S(yi,"StreamImpl/SkipSpliterator/lambda$0$Type",1097);C(626,1,Ye,d5),h.Cd=n(function(t){P3t(this,t)},"JEb");var R7n=S(yi,"StreamImpl/ValueConsumer",626);C(1098,1,Ye,o9),h.Cd=n(function(t){Lf()},"LEb");var z7n=S(yi,"StreamImpl/lambda$0$Type",1098);C(1099,1,Ye,Wm),h.Cd=n(function(t){Lf()},"NEb");var q7n=S(yi,"StreamImpl/lambda$1$Type",1099);C(1100,1,{},c4t),h.Ve=n(function(t,e){return Phe(this.a,t,e)},"PEb");var H7n=S(yi,"StreamImpl/lambda$4$Type",1100);C(1101,1,Ye,s8t),h.Cd=n(function(t){Hle(this.b,this.a,t)},"REb");var K7n=S(yi,"StreamImpl/lambda$5$Type",1101);C(1107,1,Ye,l4t),h.Cd=n(function(t){tme(this.a,l(t,380))},"TEb");var U7n=S(yi,"TerminatableStream/lambda$0$Type",1107);C(2142,1,{}),C(2014,1,{},vf);var W7n=S("javaemul.internal","ConsoleLogger",2014),Isn=0;C(2134,1,{}),C(1830,1,Ye,s9),h.Cd=n(function(t){l(t,317)},"GFb");var G7n=S(I8,"BowyerWatsonTriangulation/lambda$0$Type",1830);C(1831,1,Ye,h4t),h.Cd=n(function(t){Vi(this.a,l(t,317).e)},"IFb");var V7n=S(I8,"BowyerWatsonTriangulation/lambda$1$Type",1831);C(1832,1,Ye,pE),h.Cd=n(function(t){l(t,177)},"KFb");var X7n=S(I8,"BowyerWatsonTriangulation/lambda$2$Type",1832);C(1827,1,_n,u4t),h.Ne=n(function(t,e){return Pge(this.a,l(t,177),l(e,177))},"OFb"),h.Fb=n(function(t){return this===t},"PFb"),h.Oe=n(function(){return new kn(this)},"QFb");var Y7n=S(I8,"NaiveMinST/lambda$0$Type",1827);C(449,1,{},C6);var Q7n=S(I8,"NodeMicroLayout",449);C(177,1,{177:1},c3),h.Fb=n(function(t){var e;return J(t,177)?(e=l(t,177),Do(this.a,e.a)&&Do(this.b,e.b)||Do(this.a,e.b)&&Do(this.b,e.a)):!1},"UFb"),h.Hb=n(function(){return gw(this.a)+gw(this.b)},"VFb");var Psn=S(I8,"TEdge",177);C(317,1,{317:1},gnt),h.Fb=n(function(t){var e;return J(t,317)?(e=l(t,317),uA(this,e.a)&&uA(this,e.b)&&uA(this,e.c)):!1},"YFb"),h.Hb=n(function(){return gw(this.a)+gw(this.b)+gw(this.c)},"ZFb");var J7n=S(I8,"TTriangle",317);C(225,1,{225:1},qB);var Z7n=S(I8,"Tree",225);C(1218,1,{},aEt);var t8n=S(XLe,"Scanline",1218),jje=Rr(XLe,YLe);C(1758,1,{},tLt);var e8n=S(u0,"CGraph",1758);C(316,1,{316:1},cEt),h.b=0,h.c=0,h.d=0,h.g=0,h.i=0,h.k=mi;var n8n=S(u0,"CGroup",316);C(830,1,{},xW);var r8n=S(u0,"CGroup/CGroupBuilder",830);C(60,1,{60:1},vxt),h.Ib=n(function(){var t;return this.j?En(this.j.Kb(this)):(H1(Lz),Lz.o+"@"+(t=Zb(this)>>>0,t.toString(16)))},"lGb"),h.f=0,h.i=mi;var Lz=S(u0,"CNode",60);C(829,1,{},CW);var i8n=S(u0,"CNode/CNodeBuilder",829),Ije;C(1590,1,{},wE),h.ff=n(function(t,e){return 0},"yGb"),h.gf=n(function(t,e){return 0},"zGb");var a8n=S(u0,JLe,1590);C(1853,1,{},c9),h.cf=n(function(t){var e,r,i,a,c,u,d,b,w,m,x,E,A,_,D;for(w=Ir,i=new N(t.a.b);i.ai.d.c||i.d.c==c.d.c&&i.d.b0?t+this.n.d+this.n.a:0},"xKb"),h.kf=n(function(){var t,e,r,i,a;if(a=0,this.e)this.b?a=this.b.a:this.a[1][1]&&(a=this.a[1][1].kf());else if(this.g)a=dZ(this,iN(this,null,!0));else for(e=(Nh(),H(q(am,1),mt,237,0,[$o,As,No])),r=0,i=e.length;r0?a+this.n.b+this.n.c:0},"yKb"),h.lf=n(function(){var t,e,r,i,a;if(this.g)for(t=iN(this,null,!1),r=(Nh(),H(q(am,1),mt,237,0,[$o,As,No])),i=0,a=r.length;i0&&(i[0]+=this.d,r-=i[0]),i[2]>0&&(i[2]+=this.d,r-=i[2]),this.c.a=v.Math.max(0,r),this.c.d=e.d+t.d+(this.c.a-r)/2,i[1]=v.Math.max(i[1],r),hQ(this,As,e.d+t.d+i[0]-(i[1]-r)/2,i)},"AKb"),h.b=null,h.d=0,h.e=!1,h.f=!1,h.g=!1;var Yat=0,_z=0,E8n=S(Pg,"GridContainerCell",1538);C(471,22,{3:1,34:1,22:1,471:1},YD);var cb,A1,Hh,Wje=ln(Pg,"HorizontalLabelAlignment",471,mn,Jfe,She),Gje;C(314,217,{217:1,314:1},USt,nLt,$St),h.jf=n(function(){return SCt(this)},"WKb"),h.kf=n(function(){return MX(this)},"XKb"),h.a=0,h.c=!1;var $sn=S(Pg,"LabelCell",314);C(252,336,{217:1,336:1,252:1},e8),h.jf=n(function(){return u8(this)},"eLb"),h.kf=n(function(){return d8(this)},"fLb"),h.lf=n(function(){WN(this)},"iLb"),h.mf=n(function(){GN(this)},"jLb"),h.b=0,h.c=0,h.d=!1;var B8n=S(Pg,"StripContainerCell",252);C(1691,1,Mn,h9),h.Mb=n(function(t){return Soe(l(t,217))},"lLb");var M8n=S(Pg,"StripContainerCell/lambda$0$Type",1691);C(1692,1,{},IO),h.Ye=n(function(t){return l(t,217).kf()},"nLb");var A8n=S(Pg,"StripContainerCell/lambda$1$Type",1692);C(1693,1,Mn,yE),h.Mb=n(function(t){return Eoe(l(t,217))},"pLb");var L8n=S(Pg,"StripContainerCell/lambda$2$Type",1693);C(1694,1,{},u9),h.Ye=n(function(t){return l(t,217).jf()},"rLb");var _8n=S(Pg,"StripContainerCell/lambda$3$Type",1694);C(472,22,{3:1,34:1,22:1,472:1},QD);var Kh,lb,ku,Vje=ln(Pg,"VerticalLabelAlignment",472,mn,Qfe,Ehe),Xje;C(800,1,{},Fnt),h.c=0,h.d=0,h.k=0,h.s=0,h.t=0,h.v=!1,h.w=0,h.D=!1,h.F=!1;var F8n=S(mR,"NodeContext",800);C(1536,1,_n,vE),h.Ne=n(function(t,e){return Ikt(l(t,64),l(e,64))},"GLb"),h.Fb=n(function(t){return this===t},"HLb"),h.Oe=n(function(){return new kn(this)},"ILb");var O8n=S(mR,"NodeContext/0methodref$comparePortSides$Type",1536);C(1537,1,_n,d9),h.Ne=n(function(t,e){return e7e(l(t,117),l(e,117))},"KLb"),h.Fb=n(function(t){return this===t},"LLb"),h.Oe=n(function(){return new kn(this)},"MLb");var D8n=S(mR,"NodeContext/1methodref$comparePortContexts$Type",1537);C(164,22,{3:1,34:1,22:1,164:1},gl);var Yje,Qje,Jje,Zje,tIe,eIe,nIe,rIe,iIe,aIe,oIe,sIe,cIe,lIe,hIe,uIe,dIe,fIe,bIe,gIe,pIe,Qat,wIe=ln(mR,"NodeLabelLocation",164,mn,j$,Bhe),mIe;C(117,1,{117:1},KIt),h.a=!1;var j8n=S(mR,"PortContext",117);C(1541,1,Ye,PO),h.Cd=n(function(t){e7t(l(t,314))},"LMb");var I8n=S(p_,u_e,1541);C(1542,1,Mn,f5),h.Mb=n(function(t){return!!l(t,117).c},"NMb");var P8n=S(p_,d_e,1542);C(1543,1,Ye,$O),h.Cd=n(function(t){e7t(l(t,117).c)},"PMb");var $8n=S(p_,"LabelPlacer/lambda$2$Type",1543),eWt;C(1540,1,Ye,NO),h.Cd=n(function(t){Op(),ioe(l(t,117))},"ZMb");var N8n=S(p_,"NodeLabelAndSizeUtilities/lambda$0$Type",1540);C(801,1,Ye,sX),h.Cd=n(function(t){mse(this.b,this.c,this.a,l(t,187))},"eNb"),h.a=!1,h.c=!1;var R8n=S(p_,"NodeLabelCellCreator/lambda$0$Type",801);C(1539,1,Ye,b4t),h.Cd=n(function(t){soe(this.a,l(t,187))},"lNb");var z8n=S(p_,"PortContextCreator/lambda$0$Type",1539),Fz;C(1902,1,{},vc);var q8n=S($8,"GreedyRectangleStripOverlapRemover",1902);C(1903,1,_n,Vm),h.Ne=n(function(t,e){return Yce(l(t,226),l(e,226))},"PNb"),h.Fb=n(function(t){return this===t},"QNb"),h.Oe=n(function(){return new kn(this)},"RNb");var H8n=S($8,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1903);C(1849,1,{},Tvt),h.a=5,h.e=0;var K8n=S($8,"RectangleStripOverlapRemover",1849);C(1850,1,_n,RO),h.Ne=n(function(t,e){return Qce(l(t,226),l(e,226))},"bOb"),h.Fb=n(function(t){return this===t},"cOb"),h.Oe=n(function(){return new kn(this)},"dOb");var U8n=S($8,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1850);C(1852,1,_n,kE),h.Ne=n(function(t,e){return R0e(l(t,226),l(e,226))},"fOb"),h.Fb=n(function(t){return this===t},"gOb"),h.Oe=n(function(){return new kn(this)},"hOb");var W8n=S($8,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1852);C(417,22,{3:1,34:1,22:1,417:1},wB);var q_,Jat,Zat,H_,yIe=ln($8,"RectangleStripOverlapRemover/OverlapRemovalDirection",417,mn,dge,Mhe),vIe;C(226,1,{226:1},dI);var G8n=S($8,"RectangleStripOverlapRemover/RectangleNode",226);C(1851,1,Ye,g4t),h.Cd=n(function(t){Bye(this.a,l(t,226))},"uOb");var V8n=S($8,"RectangleStripOverlapRemover/lambda$1$Type",1851);C(1323,1,_n,f9),h.Ne=n(function(t,e){return GEe(l(t,176),l(e,176))},"yOb"),h.Fb=n(function(t){return this===t},"zOb"),h.Oe=n(function(){return new kn(this)},"AOb");var X8n=S(x1,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1323);C(1326,1,{},xE),h.Kb=n(function(t){return l(t,334).a},"COb");var Y8n=S(x1,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1326);C(1327,1,Mn,CE),h.Mb=n(function(t){return l(t,332).a},"EOb");var Q8n=S(x1,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1327);C(1328,1,Mn,zO),h.Mb=n(function(t){return l(t,332).a},"GOb");var J8n=S(x1,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1328);C(1321,1,_n,qO),h.Ne=n(function(t,e){return CTe(l(t,176),l(e,176))},"JOb"),h.Fb=n(function(t){return this===t},"KOb"),h.Oe=n(function(){return new kn(this)},"LOb");var Z8n=S(x1,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1321);C(1324,1,{},HO),h.Kb=n(function(t){return l(t,334).a},"NOb");var tkn=S(x1,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1324);C(781,1,_n,TE),h.Ne=n(function(t,e){return ame(l(t,176),l(e,176))},"QOb"),h.Fb=n(function(t){return this===t},"ROb"),h.Oe=n(function(){return new kn(this)},"SOb");var ekn=S(x1,"PolyominoCompactor/MinNumOfExtensionsComparator",781);C(1319,1,_n,tw),h.Ne=n(function(t,e){return fwe(l(t,330),l(e,330))},"VOb"),h.Fb=n(function(t){return this===t},"WOb"),h.Oe=n(function(){return new kn(this)},"XOb");var nkn=S(x1,"PolyominoCompactor/MinPerimeterComparator",1319);C(1320,1,_n,y6),h.Ne=n(function(t,e){return Q5e(l(t,330),l(e,330))},"$Ob"),h.Fb=n(function(t){return this===t},"_Ob"),h.Oe=n(function(){return new kn(this)},"aPb");var rkn=S(x1,"PolyominoCompactor/MinPerimeterComparatorWithShape",1320);C(1322,1,_n,ew),h.Ne=n(function(t,e){return HTe(l(t,176),l(e,176))},"dPb"),h.Fb=n(function(t){return this===t},"ePb"),h.Oe=n(function(){return new kn(this)},"fPb");var ikn=S(x1,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1322);C(1325,1,{},KO),h.Kb=n(function(t){return l(t,334).a},"hPb");var akn=S(x1,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1325);C(782,1,{},yG),h.Ve=n(function(t,e){return ige(this,l(t,42),l(e,176))},"lPb");var okn=S(x1,"SuccessorCombination",782);C(649,1,{},b5),h.Ve=n(function(t,e){var r;return vke((r=l(t,42),l(e,176),r))},"oPb");var skn=S(x1,"SuccessorJitter",649);C(648,1,{},b9),h.Ve=n(function(t,e){var r;return oCe((r=l(t,42),l(e,176),r))},"rPb");var ckn=S(x1,"SuccessorLineByLine",648);C(573,1,{},g5),h.Ve=n(function(t,e){var r;return v9e((r=l(t,42),l(e,176),r))},"uPb");var lkn=S(x1,"SuccessorManhattan",573);C(1344,1,{},SE),h.Ve=n(function(t,e){var r;return Lxe((r=l(t,42),l(e,176),r))},"xPb");var hkn=S(x1,"SuccessorMaxNormWindingInMathPosSense",1344);C(409,1,{},T5),h.Ve=n(function(t,e){return JX(this,t,e)},"BPb"),h.c=!1,h.d=!1,h.e=!1,h.f=!1;var ukn=S(x1,"SuccessorQuadrantsGeneric",409);C(1345,1,{},v6),h.Kb=n(function(t){return l(t,334).a},"DPb");var dkn=S(x1,"SuccessorQuadrantsGeneric/lambda$0$Type",1345);C(332,22,{3:1,34:1,22:1,332:1},mB),h.a=!1;var K_,U_,W_,G_,kIe=ln(vR,Ozt,332,mn,hge,Ahe),xIe;C(1317,1,{}),h.Ib=n(function(){var t,e,r,i,a,c;for(r=" ",t=Et(0),a=0;a=0?"b"+t+"["+oP(this.a)+"]":"b["+oP(this.a)+"]"):"b_"+Zb(this)},"XTb");var e9n=S(m_,"FBendpoint",250);C(290,137,{3:1,290:1,96:1,137:1},kxt),h.Ib=n(function(){return oP(this)},"dUb");var n9n=S(m_,"FEdge",290);C(235,137,{3:1,235:1,96:1,137:1},eA);var Rsn=S(m_,"FGraph",235);C(454,309,{3:1,454:1,309:1,96:1,137:1},CBt),h.Ib=n(function(){return this.b==null||this.b.length==0?"l["+oP(this.a)+"]":"l_"+this.b},"jUb");var r9n=S(m_,"FLabel",454);C(153,309,{3:1,153:1,309:1,96:1,137:1},t9t),h.Ib=n(function(){return NY(this)},"mUb"),h.a=0;var i9n=S(m_,"FNode",153);C(2100,1,{}),h.vf=n(function(t){hnt(this,t)},"rUb"),h.wf=n(function(){TDt(this)},"sUb"),h.d=0;var a9n=S(qzt,"AbstractForceModel",2100);C(641,2100,{641:1},k_t),h.uf=n(function(t,e){var r,i,a,c,u;return QNt(this.f,t,e),a=Ti(Xi(e.d),t.d),u=v.Math.sqrt(a.a*a.a+a.b*a.b),i=v.Math.max(0,u-T7(t.e)/2-T7(e.e)/2),r=OIt(this.e,t,e),r>0?c=-P0e(i,this.c)*r:c=dle(i,this.b)*l(O(t,(gh(),kv)),17).a,Du(a,c/u),a},"vUb"),h.vf=n(function(t){hnt(this,t),this.a=l(O(t,(gh(),$z)),17).a,this.c=it(lt(O(t,Nz))),this.b=it(lt(O(t,oot)))},"wUb"),h.xf=n(function(t){return t0&&(c-=koe(i,this.a)*r),Du(a,c*this.b/u),a},"BUb"),h.vf=n(function(t){var e,r,i,a,c,u,d;for(hnt(this,t),this.b=it(lt(O(t,(gh(),sot)))),this.c=this.b/l(O(t,$z),17).a,i=t.e.c.length,c=0,a=0,d=new N(t.e);d.a0},"EUb"),h.a=0,h.b=0,h.c=0;var s9n=S(qzt,"FruchtermanReingoldModel",642);C(860,1,ph,gmt),h.hf=n(function(t){Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,CR),""),"Force Model"),"Determines the model for force calculation."),hWt),(ed(),Pr)),uWt),Jt((zh(),ve))))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Hzt),""),"Iterations"),"The number of iterations on the force model."),Et(300)),Bo),ia),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Kzt),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),Et(0)),Bo),ia),Jt(O1)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Rrt),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),C1),ba),wi),Jt(ve)))),hi(t,Rrt,CR,qIe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,zrt),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),ba),wi),Jt(ve)))),hi(t,zrt,CR,NIe),NRt((new pmt,t))},"QUb");var IIe,PIe,hWt,$Ie,NIe,RIe,zIe,qIe,c9n=S(YC,"ForceMetaDataProvider",860);C(432,22,{3:1,34:1,22:1,432:1},kG);var aot,Pz,uWt=ln(YC,"ForceModelStrategy",432,mn,ife,Fhe),HIe;C(Vd,1,ph,pmt),h.hf=n(function(t){NRt(t)},"BVb");var KIe,UIe,dWt,$z,fWt,WIe,GIe,VIe,XIe,bWt,YIe,gWt,pWt,QIe,kv,JIe,oot,wWt,ZIe,tPe,Nz,sot,ePe,nPe,rPe,mWt,iPe,l9n=S(YC,"ForceOptions",Vd);C(1001,1,{},ya),h.sf=n(function(){var t;return t=new kW,t},"DVb"),h.tf=n(function(t){},"EVb");var h9n=S(YC,"ForceOptions/ForceFactory",1001),Y_,BT,xv,Rz;C(861,1,ph,wmt),h.hf=n(function(t){Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Gzt),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(Se(),!1)),(ed(),Li)),ti),Jt((zh(),Ei))))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Vzt),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),ba),wi),Sr(ve,H(q(m0,1),mt,170,0,[O1]))))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Xzt),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),yWt),Pr),EWt),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Yzt),""),"Stress Epsilon"),"Termination criterion for the iterative process."),C1),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Qzt),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),Et(nr)),Bo),ia),Jt(ve)))),fRt((new mmt,t))},"SVb");var aPe,oPe,yWt,sPe,cPe,lPe,u9n=S(YC,"StressMetaDataProvider",861);C(1004,1,ph,mmt),h.hf=n(function(t){fRt(t)},"gWb");var zz,vWt,kWt,xWt,CWt,TWt,hPe,uPe,dPe,fPe,SWt,bPe,d9n=S(YC,"StressOptions",1004);C(1005,1,{},an),h.sf=n(function(){var t;return t=new xxt,t},"iWb"),h.tf=n(function(t){},"jWb");var f9n=S(YC,"StressOptions/StressFactory",1005);C(1110,205,$g,xxt),h.rf=n(function(t,e){var r,i,a,c,u;for(e.Ug(T_e,1),jt(Dt(yt(t,(wC(),CWt))))?jt(Dt(yt(t,SWt)))||vx((r=new C6((Gb(),new Nb(t))),r)):LPt(new kW,t,e.eh(1)),a=U_t(t),i=xNt(this.a,a),u=i.Kc();u.Ob();)c=l(u.Pb(),235),!(c.e.c.length<=1)&&(KEe(this.b,c),g9e(this.b),Ts(c.d,new hr));a=IRt(i),WRt(a),e.Vg()},"lWb");var b9n=S(ER,"StressLayoutProvider",1110);C(1111,1,Ye,hr),h.Cd=n(function(t){mnt(l(t,454))},"nWb");var g9n=S(ER,"StressLayoutProvider/lambda$0$Type",1111);C(1002,1,{},yvt),h.c=0,h.e=0,h.g=0;var p9n=S(ER,"StressMajorization",1002);C(391,22,{3:1,34:1,22:1,391:1},JD);var cot,lot,hot,EWt=ln(ER,"StressMajorization/Dimension",391,mn,tbe,Ohe),gPe;C(1003,1,_n,y4t),h.Ne=n(function(t,e){return she(this.a,l(t,153),l(e,153))},"HWb"),h.Fb=n(function(t){return this===t},"IWb"),h.Oe=n(function(){return new kn(this)},"JWb");var w9n=S(ER,"StressMajorization/lambda$0$Type",1003);C(1192,1,{},MEt);var m9n=S(gv,"ElkLayered",1192);C(1193,1,Ye,v4t),h.Cd=n(function(t){K8e(this.a,l(t,36))},"VWb");var y9n=S(gv,"ElkLayered/lambda$0$Type",1193);C(1194,1,Ye,k4t),h.Cd=n(function(t){che(this.a,l(t,36))},"XWb");var v9n=S(gv,"ElkLayered/lambda$1$Type",1194);C(1281,1,{},h9t);var pPe,wPe,mPe,k9n=S(gv,"GraphConfigurator",1281);C(770,1,Ye,aW),h.Cd=n(function(t){Pjt(this.a,l(t,10))},"gXb");var x9n=S(gv,"GraphConfigurator/lambda$0$Type",770);C(771,1,{},Qe),h.Kb=n(function(t){return ott(),new ne(null,new ce(l(t,30).a,16))},"iXb");var C9n=S(gv,"GraphConfigurator/lambda$1$Type",771);C(772,1,Ye,oW),h.Cd=n(function(t){Pjt(this.a,l(t,10))},"kXb");var T9n=S(gv,"GraphConfigurator/lambda$2$Type",772);C(1109,205,$g,Svt),h.rf=n(function(t,e){var r;r=SEe(new Bvt,t),ot(yt(t,(Ot(),gm)))===ot((t0(),sf))?n4e(this.a,r,e):u9e(this.a,r,e),e.$g()||ARt(new ymt,r)},"mXb");var S9n=S(gv,"LayeredLayoutProvider",1109);C(367,22,{3:1,34:1,22:1,367:1},D9);var Uh,g0,ls,ps,go,BWt=ln(gv,"LayeredPhases",367,mn,ipe,Dhe),yPe;C(1717,1,{},NLt),h.i=0;var vPe,E9n=S(T_,"ComponentsToCGraphTransformer",1717),kPe;C(1718,1,{},kt),h.yf=n(function(t,e){return v.Math.min(t.a!=null?it(t.a):t.c.i,e.a!=null?it(e.a):e.c.i)},"GXb"),h.zf=n(function(t,e){return v.Math.min(t.a!=null?it(t.a):t.c.i,e.a!=null?it(e.a):e.c.i)},"HXb");var B9n=S(T_,"ComponentsToCGraphTransformer/1",1718);C(86,1,{86:1}),h.i=0,h.k=!0,h.o=mi;var uot=S(tT,"CNode",86);C(470,86,{470:1,86:1},TV,DZ),h.Ib=n(function(){return""},"KXb");var M9n=S(T_,"ComponentsToCGraphTransformer/CRectNode",470);C(1688,1,{},La);var dot,fot,A9n=S(T_,"OneDimensionalComponentsCompaction",1688);C(1689,1,{},Qo),h.Kb=n(function(t){return Ufe(l(t,42))},"_Xb"),h.Fb=n(function(t){return this===t},"aYb");var L9n=S(T_,"OneDimensionalComponentsCompaction/lambda$0$Type",1689);C(1690,1,{},xp),h.Kb=n(function(t){return i4e(l(t,42))},"cYb"),h.Fb=n(function(t){return this===t},"dYb");var _9n=S(T_,"OneDimensionalComponentsCompaction/lambda$1$Type",1690);C(1720,1,{},jTt);var F9n=S(tT,"CGraph",1720);C(194,1,{194:1},F$),h.b=0,h.c=0,h.e=0,h.g=!0,h.i=mi;var O9n=S(tT,"CGroup",194);C(1719,1,{},p9),h.yf=n(function(t,e){return v.Math.max(t.a!=null?it(t.a):t.c.i,e.a!=null?it(e.a):e.c.i)},"mYb"),h.zf=n(function(t,e){return v.Math.max(t.a!=null?it(t.a):t.c.i,e.a!=null?it(e.a):e.c.i)},"nYb");var D9n=S(tT,JLe,1719);C(1721,1,{},jIt),h.d=!1;var xPe,bot=S(tT,e_e,1721);C(1722,1,{},$1),h.Kb=n(function(t){return cG(),Se(),l(l(t,42).a,86).d.e!=0},"GYb"),h.Fb=n(function(t){return this===t},"HYb");var j9n=S(tT,n_e,1722);C(833,1,{},jX),h.a=!1,h.b=!1,h.c=!1,h.d=!1;var I9n=S(tT,r_e,833);C(1898,1,{},QCt);var P9n=S(BR,i_e,1898),Q_=Rr(Rg,YLe);C(1899,1,{382:1},_St),h.bf=n(function(t){yCe(this,l(t,476))},"VYb");var $9n=S(BR,a_e,1899);C(eb,1,_n,vd),h.Ne=n(function(t,e){return Mde(l(t,86),l(e,86))},"YYb"),h.Fb=n(function(t){return this===t},"ZYb"),h.Oe=n(function(){return new kn(this)},"$Yb");var N9n=S(BR,o_e,eb);C(476,1,{476:1},CG),h.a=!1;var R9n=S(BR,s_e,476);C(1901,1,_n,kc),h.Ne=n(function(t,e){return Ave(l(t,476),l(e,476))},"bZb"),h.Fb=n(function(t){return this===t},"cZb"),h.Oe=n(function(){return new kn(this)},"dZb");var z9n=S(BR,c_e,1901);C(148,1,{148:1},I5,mX),h.Fb=n(function(t){var e;return t==null||zsn!=Nc(t)?!1:(e=l(t,148),Do(this.c,e.c)&&Do(this.d,e.d))},"gZb"),h.Hb=n(function(){return rC(H(q(Ai,1),xe,1,5,[this.c,this.d]))},"hZb"),h.Ib=n(function(){return"("+this.c+ka+this.d+(this.a?"cx":"")+this.b+")"},"iZb"),h.a=!0,h.c=0,h.d=0;var zsn=S(Rg,"Point",148);C(416,22,{3:1,34:1,22:1,416:1},vB);var C2,om,h4,sm,CPe=ln(Rg,"Point/Quadrant",416,mn,fge,jhe),TPe;C(1708,1,{},Cvt),h.b=null,h.c=null,h.d=null,h.e=null,h.f=null;var SPe,EPe,BPe,MPe,APe,q9n=S(Rg,"RectilinearConvexHull",1708);C(583,1,{382:1},hL),h.bf=n(function(t){r2e(this,l(t,148))},"QZb"),h.b=0;var MWt,H9n=S(Rg,"RectilinearConvexHull/MaximalElementsEventHandler",583);C(1710,1,_n,jut),h.Ne=n(function(t,e){return Ade(lt(t),lt(e))},"TZb"),h.Fb=n(function(t){return this===t},"UZb"),h.Oe=n(function(){return new kn(this)},"VZb");var K9n=S(Rg,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1710);C(1709,1,{382:1},eLt),h.bf=n(function(t){Dxe(this,l(t,148))},"YZb"),h.a=0,h.b=null,h.c=null,h.d=null,h.e=null;var U9n=S(Rg,"RectilinearConvexHull/RectangleEventHandler",1709);C(1711,1,_n,Iut),h.Ne=n(function(t,e){return Pbe(l(t,148),l(e,148))},"$Zb"),h.Fb=n(function(t){return this===t},"_Zb"),h.Oe=n(function(){return new kn(this)},"a$b");var W9n=S(Rg,"RectilinearConvexHull/lambda$0$Type",1711);C(1712,1,_n,Nut),h.Ne=n(function(t,e){return $be(l(t,148),l(e,148))},"c$b"),h.Fb=n(function(t){return this===t},"d$b"),h.Oe=n(function(){return new kn(this)},"e$b");var G9n=S(Rg,"RectilinearConvexHull/lambda$1$Type",1712);C(1713,1,_n,Rut),h.Ne=n(function(t,e){return Ibe(l(t,148),l(e,148))},"g$b"),h.Fb=n(function(t){return this===t},"h$b"),h.Oe=n(function(){return new kn(this)},"i$b");var V9n=S(Rg,"RectilinearConvexHull/lambda$2$Type",1713);C(1714,1,_n,$ut),h.Ne=n(function(t,e){return Nbe(l(t,148),l(e,148))},"k$b"),h.Fb=n(function(t){return this===t},"l$b"),h.Oe=n(function(){return new kn(this)},"m$b");var X9n=S(Rg,"RectilinearConvexHull/lambda$3$Type",1714);C(1715,1,_n,zut),h.Ne=n(function(t,e){return p7e(l(t,148),l(e,148))},"o$b"),h.Fb=n(function(t){return this===t},"p$b"),h.Oe=n(function(){return new kn(this)},"q$b");var Y9n=S(Rg,"RectilinearConvexHull/lambda$4$Type",1715);C(1716,1,{},oEt);var Q9n=S(Rg,"Scanline",1716);C(2104,1,{});var J9n=S(Wu,"AbstractGraphPlacer",2104);C(335,1,{335:1},G9t),h.Ff=n(function(t){return this.Gf(t)?(oe(this.b,l(O(t,(Ct(),cd)),21),t),!0):!1},"D$b"),h.Gf=n(function(t){var e,r,i,a;for(e=l(O(t,(Ct(),cd)),21),a=l(cr(mr,e),21),i=a.Kc();i.Ob();)if(r=l(i.Pb(),21),!l(cr(this.b,r),15).dc())return!1;return!0},"E$b");var mr,Z9n=S(Wu,"ComponentGroup",335);C(779,2104,{},TW),h.Hf=n(function(t){var e,r;for(r=new N(this.a);r.ar&&(m=0,x+=d+i,d=0),b=c.c,Qy(c,m+b.a,x+b.b),Oh(b),a=v.Math.max(a,m+w.a),d=v.Math.max(d,w.b),m+=w.a+i;e.f.a=a,e.f.b=x+d},"X_b"),h.Jf=n(function(t,e){var r,i,a,c,u;if(ot(O(e,(Ot(),bm)))===ot((Xf(),cm))){for(i=t.Kc();i.Ob();){for(r=l(i.Pb(),36),u=0,c=new N(r.a);c.ar&&!l(O(c,(Ct(),cd)),21).Hc((At(),Fe))||b&&l(O(b,(Ct(),cd)),21).Hc((At(),qe))||l(O(c,(Ct(),cd)),21).Hc((At(),je)))&&(E=x,A+=d+i,d=0),w=c.c,l(O(c,(Ct(),cd)),21).Hc((At(),Fe))&&(E=a+i),Qy(c,E+w.a,A+w.b),a=v.Math.max(a,E+m.a),l(O(c,cd),21).Hc(on)&&(x=v.Math.max(x,E+m.a+i)),Oh(w),d=v.Math.max(d,m.b),E+=m.a+i,b=c;e.f.a=a,e.f.b=A+d},"$_b"),h.Jf=n(function(t,e){},"__b");var bxn=S(Wu,"ModelOrderRowGraphPlacer",1313);C(1311,1,_n,Kut),h.Ne=n(function(t,e){return nme(l(t,36),l(e,36))},"c0b"),h.Fb=n(function(t){return this===t},"d0b"),h.Oe=n(function(){return new kn(this)},"e0b");var gxn=S(Wu,"SimpleRowGraphPlacer/1",1311),_Pe;C(1280,1,k1,Uut),h.Lb=n(function(t){var e;return e=l(O(l(t,249).b,(Ot(),co)),75),!!e&&e.b!=0},"m0b"),h.Fb=n(function(t){return this===t},"n0b"),h.Mb=n(function(t){var e;return e=l(O(l(t,249).b,(Ot(),co)),75),!!e&&e.b!=0},"o0b");var pxn=S(MR,"CompoundGraphPostprocessor/1",1280);C(1279,1,Mr,Mvt),h.Kf=n(function(t,e){iDt(this,l(t,36),e)},"F0b");var wxn=S(MR,"CompoundGraphPreprocessor",1279);C(453,1,{453:1},VFt),h.c=!1;var mxn=S(MR,"CompoundGraphPreprocessor/ExternalPort",453);C(249,1,{249:1},eM),h.Ib=n(function(){return zj(this.c)+":"+AIt(this.b)},"K0b");var yxn=S(MR,"CrossHierarchyEdge",249);C(777,1,_n,sW),h.Ne=n(function(t,e){return rve(this,l(t,249),l(e,249))},"N0b"),h.Fb=n(function(t){return this===t},"O0b"),h.Oe=n(function(){return new kn(this)},"Q0b");var vxn=S(MR,"CrossHierarchyEdgeComparator",777);C(305,137,{3:1,305:1,96:1,137:1}),h.p=0;var kxn=S(bs,"LGraphElement",305);C(18,305,{3:1,18:1,305:1,96:1,137:1},ug),h.Ib=n(function(){return AIt(this)},"b1b");var wot=S(bs,"LEdge",18);C(36,305,{3:1,20:1,36:1,305:1,96:1,137:1},YQ),h.Jc=n(function(t){Ji(this,t)},"e1b"),h.Kc=n(function(){return new N(this.b)},"f1b"),h.Ib=n(function(){return this.b.c.length==0?"G-unlayered"+Kd(this.a):this.a.c.length==0?"G-layered"+Kd(this.b):"G[layerless"+Kd(this.a)+", layers"+Kd(this.b)+"]"},"g1b");var FPe=S(bs,"LGraph",36),OPe;C(666,1,{}),h.Lf=n(function(){return this.e.n},"j1b"),h.of=n(function(t){return O(this.e,t)},"k1b"),h.Mf=n(function(){return this.e.o},"l1b"),h.Nf=n(function(){return this.e.p},"m1b"),h.pf=n(function(t){return Tr(this.e,t)},"n1b"),h.Of=n(function(t){this.e.n.a=t.a,this.e.n.b=t.b},"o1b"),h.Pf=n(function(t){this.e.o.a=t.a,this.e.o.b=t.b},"p1b"),h.Qf=n(function(t){this.e.p=t},"q1b");var xxn=S(bs,"LGraphAdapters/AbstractLShapeAdapter",666);C(474,1,{853:1},T6),h.Rf=n(function(){var t,e;if(!this.b)for(this.b=l1(this.a.b.c.length),e=new N(this.a.b);e.a0&&SFt((_e(e-1,t.length),t.charCodeAt(e-1)),L_e);)--e;if(c> ",t),vL(r)),jn(is((t.a+="[",t),r.i),"]")),t.a},"S3b"),h.c=!0,h.d=!1;var OWt,DWt,jWt,IWt,PWt,$Wt,jPe=S(bs,"LPort",12);C(408,1,c0,S5),h.Jc=n(function(t){Ji(this,t)},"U3b"),h.Kc=n(function(){var t;return t=new N(this.a.e),new x4t(t)},"V3b");var Ixn=S(bs,"LPort/1",408);C(1309,1,zi,x4t),h.Nb=n(function(t){Yi(this,t)},"X3b"),h.Pb=n(function(){return l(P(this.a),18).c},"Z3b"),h.Ob=n(function(){return vo(this.a)},"Y3b"),h.Qb=n(function(){k7(this.a)},"$3b");var Pxn=S(bs,"LPort/1/1",1309);C(369,1,c0,Qm),h.Jc=n(function(t){Ji(this,t)},"a4b"),h.Kc=n(function(){var t;return t=new N(this.a.g),new cW(t)},"b4b");var $xn=S(bs,"LPort/2",369);C(776,1,zi,cW),h.Nb=n(function(t){Yi(this,t)},"d4b"),h.Pb=n(function(){return l(P(this.a),18).d},"f4b"),h.Ob=n(function(){return vo(this.a)},"e4b"),h.Qb=n(function(){k7(this.a)},"g4b");var Nxn=S(bs,"LPort/2/1",776);C(1302,1,c0,u8t),h.Jc=n(function(t){Ji(this,t)},"i4b"),h.Kc=n(function(){return new uu(this)},"j4b");var Rxn=S(bs,"LPort/CombineIter",1302);C(208,1,zi,uu),h.Nb=n(function(t){Yi(this,t)},"m4b"),h.Qb=n(function(){H6t()},"p4b"),h.Ob=n(function(){return h7(this)},"n4b"),h.Pb=n(function(){return vo(this.a)?P(this.a):P(this.b)},"o4b");var zxn=S(bs,"LPort/CombineIter/1",208);C(1303,1,k1,Gut),h.Lb=n(function(t){return uTt(t)},"s4b"),h.Fb=n(function(t){return this===t},"t4b"),h.Mb=n(function(t){return tc(),l(t,12).g.c.length!=0},"u4b");var qxn=S(bs,"LPort/lambda$0$Type",1303);C(1304,1,k1,Vut),h.Lb=n(function(t){return dTt(t)},"x4b"),h.Fb=n(function(t){return this===t},"y4b"),h.Mb=n(function(t){return tc(),l(t,12).e.c.length!=0},"z4b");var Hxn=S(bs,"LPort/lambda$1$Type",1304);C(1305,1,k1,Xut),h.Lb=n(function(t){return tc(),l(t,12).j==(At(),Fe)},"B4b"),h.Fb=n(function(t){return this===t},"C4b"),h.Mb=n(function(t){return tc(),l(t,12).j==(At(),Fe)},"D4b");var Kxn=S(bs,"LPort/lambda$2$Type",1305);C(1306,1,k1,Yut),h.Lb=n(function(t){return tc(),l(t,12).j==(At(),qe)},"F4b"),h.Fb=n(function(t){return this===t},"G4b"),h.Mb=n(function(t){return tc(),l(t,12).j==(At(),qe)},"H4b");var Uxn=S(bs,"LPort/lambda$3$Type",1306);C(1307,1,k1,Qut),h.Lb=n(function(t){return tc(),l(t,12).j==(At(),on)},"J4b"),h.Fb=n(function(t){return this===t},"K4b"),h.Mb=n(function(t){return tc(),l(t,12).j==(At(),on)},"L4b");var Wxn=S(bs,"LPort/lambda$4$Type",1307);C(1308,1,k1,Jut),h.Lb=n(function(t){return tc(),l(t,12).j==(At(),je)},"N4b"),h.Fb=n(function(t){return this===t},"O4b"),h.Mb=n(function(t){return tc(),l(t,12).j==(At(),je)},"P4b");var Gxn=S(bs,"LPort/lambda$5$Type",1308);C(30,305,{3:1,20:1,305:1,30:1,96:1,137:1},as),h.Jc=n(function(t){Ji(this,t)},"S4b"),h.Kc=n(function(){return new N(this.a)},"T4b"),h.Ib=n(function(){return"L_"+io(this.b.b,this,0)+Kd(this.a)},"U4b");var Vxn=S(bs,"Layer",30);C(1330,1,{},Bvt);var Xxn=S(Yd,D_e,1330);C(1334,1,{},Zut),h.Kb=n(function(t){return oo(l(t,84))},"p5b");var Yxn=S(Yd,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1334);C(1337,1,{},t1t),h.Kb=n(function(t){return oo(l(t,84))},"r5b");var Qxn=S(Yd,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1337);C(1331,1,Ye,C4t),h.Cd=n(function(t){WIt(this.a,l(t,123))},"t5b");var Jxn=S(Yd,zzt,1331);C(1332,1,Ye,T4t),h.Cd=n(function(t){WIt(this.a,l(t,123))},"v5b");var Zxn=S(Yd,j_e,1332);C(1333,1,{},e1t),h.Kb=n(function(t){return new ne(null,new ce(wY(l(t,74)),16))},"x5b");var tCn=S(Yd,I_e,1333);C(1335,1,Mn,S4t),h.Mb=n(function(t){return oce(this.a,l(t,27))},"z5b");var eCn=S(Yd,P_e,1335);C(1336,1,{},n1t),h.Kb=n(function(t){return new ne(null,new ce(Cde(l(t,74)),16))},"B5b");var nCn=S(Yd,"ElkGraphImporter/lambda$5$Type",1336);C(1338,1,Mn,E4t),h.Mb=n(function(t){return sce(this.a,l(t,27))},"D5b");var rCn=S(Yd,"ElkGraphImporter/lambda$7$Type",1338);C(1339,1,Mn,r1t),h.Mb=n(function(t){return Pde(l(t,74))},"F5b");var iCn=S(Yd,"ElkGraphImporter/lambda$8$Type",1339);C(1297,1,{},ymt);var IPe,aCn=S(Yd,"ElkGraphLayoutTransferrer",1297);C(1298,1,Mn,B4t),h.Mb=n(function(t){return Xle(this.a,l(t,18))},"R5b");var oCn=S(Yd,"ElkGraphLayoutTransferrer/lambda$0$Type",1298);C(1299,1,Ye,M4t),h.Cd=n(function(t){F9(),Mt(this.a,l(t,18))},"T5b");var sCn=S(Yd,"ElkGraphLayoutTransferrer/lambda$1$Type",1299);C(1300,1,Mn,A4t),h.Mb=n(function(t){return Dle(this.a,l(t,18))},"V5b");var cCn=S(Yd,"ElkGraphLayoutTransferrer/lambda$2$Type",1300);C(1301,1,Ye,L4t),h.Cd=n(function(t){F9(),Mt(this.a,l(t,18))},"X5b");var lCn=S(Yd,"ElkGraphLayoutTransferrer/lambda$3$Type",1301);C(819,1,{},GV);var hCn=S(Pe,"BiLinkedHashMultiMap",819);C(1550,1,Mr,i1t),h.Kf=n(function(t,e){xwe(l(t,36),e)},"i6b");var uCn=S(Pe,"CommentNodeMarginCalculator",1550);C(1551,1,{},a1t),h.Kb=n(function(t){return new ne(null,new ce(l(t,30).a,16))},"k6b");var dCn=S(Pe,"CommentNodeMarginCalculator/lambda$0$Type",1551);C(1552,1,Ye,o1t),h.Cd=n(function(t){CEe(l(t,10))},"m6b");var fCn=S(Pe,"CommentNodeMarginCalculator/lambda$1$Type",1552);C(1553,1,Mr,s1t),h.Kf=n(function(t,e){ECe(l(t,36),e)},"r6b");var bCn=S(Pe,"CommentPostprocessor",1553);C(1554,1,Mr,c1t),h.Kf=n(function(t,e){XMe(l(t,36),e)},"w6b");var gCn=S(Pe,"CommentPreprocessor",1554);C(1555,1,Mr,l1t),h.Kf=n(function(t,e){Hxe(l(t,36),e)},"z6b");var pCn=S(Pe,"ConstraintsPostprocessor",1555);C(1556,1,Mr,h1t),h.Kf=n(function(t,e){Ywe(l(t,36),e)},"H6b");var wCn=S(Pe,"EdgeAndLayerConstraintEdgeReverser",1556);C(1557,1,Mr,u1t),h.Kf=n(function(t,e){R4e(l(t,36),e)},"M6b");var mCn=S(Pe,"EndLabelPostprocessor",1557);C(1558,1,{},d1t),h.Kb=n(function(t){return new ne(null,new ce(l(t,30).a,16))},"O6b");var yCn=S(Pe,"EndLabelPostprocessor/lambda$0$Type",1558);C(1559,1,Mn,f1t),h.Mb=n(function(t){return epe(l(t,10))},"Q6b");var vCn=S(Pe,"EndLabelPostprocessor/lambda$1$Type",1559);C(1560,1,Ye,b1t),h.Cd=n(function(t){Lve(l(t,10))},"S6b");var kCn=S(Pe,"EndLabelPostprocessor/lambda$2$Type",1560);C(1561,1,Mr,g1t),h.Kf=n(function(t,e){m8e(l(t,36),e)},"e7b");var xCn=S(Pe,"EndLabelPreprocessor",1561);C(1562,1,{},p1t),h.Kb=n(function(t){return new ne(null,new ce(l(t,30).a,16))},"g7b");var CCn=S(Pe,"EndLabelPreprocessor/lambda$0$Type",1562);C(1563,1,Ye,Zxt),h.Cd=n(function(t){yse(this.a,this.b,this.c,l(t,10))},"i7b"),h.a=0,h.b=0,h.c=!1;var TCn=S(Pe,"EndLabelPreprocessor/lambda$1$Type",1563);C(1564,1,Mn,w1t),h.Mb=n(function(t){return ot(O(l(t,72),(Ot(),_1)))===ot((bu(),Ok))},"k7b");var SCn=S(Pe,"EndLabelPreprocessor/lambda$2$Type",1564);C(1565,1,Ye,_4t),h.Cd=n(function(t){Fn(this.a,l(t,72))},"m7b");var ECn=S(Pe,"EndLabelPreprocessor/lambda$3$Type",1565);C(1566,1,Mn,m1t),h.Mb=n(function(t){return ot(O(l(t,72),(Ot(),_1)))===ot((bu(),Bm))},"o7b");var BCn=S(Pe,"EndLabelPreprocessor/lambda$4$Type",1566);C(1567,1,Ye,F4t),h.Cd=n(function(t){Fn(this.a,l(t,72))},"q7b");var MCn=S(Pe,"EndLabelPreprocessor/lambda$5$Type",1567);C(1615,1,Mr,umt),h.Kf=n(function(t,e){N3e(l(t,36),e)},"A7b");var PPe,ACn=S(Pe,"EndLabelSorter",1615);C(1616,1,_n,y1t),h.Ne=n(function(t,e){return m5e(l(t,466),l(e,466))},"D7b"),h.Fb=n(function(t){return this===t},"E7b"),h.Oe=n(function(){return new kn(this)},"F7b");var LCn=S(Pe,"EndLabelSorter/1",1616);C(466,1,{466:1},SSt);var _Cn=S(Pe,"EndLabelSorter/LabelGroup",466);C(1617,1,{},v1t),h.Kb=n(function(t){return _9(),new ne(null,new ce(l(t,30).a,16))},"I7b");var FCn=S(Pe,"EndLabelSorter/lambda$0$Type",1617);C(1618,1,Mn,k1t),h.Mb=n(function(t){return _9(),l(t,10).k==(De(),ei)},"K7b");var OCn=S(Pe,"EndLabelSorter/lambda$1$Type",1618);C(1619,1,Ye,x1t),h.Cd=n(function(t){F7e(l(t,10))},"M7b");var DCn=S(Pe,"EndLabelSorter/lambda$2$Type",1619);C(1620,1,Mn,C1t),h.Mb=n(function(t){return _9(),ot(O(l(t,72),(Ot(),_1)))===ot((bu(),Bm))},"O7b");var jCn=S(Pe,"EndLabelSorter/lambda$3$Type",1620);C(1621,1,Mn,T1t),h.Mb=n(function(t){return _9(),ot(O(l(t,72),(Ot(),_1)))===ot((bu(),Ok))},"Q7b");var ICn=S(Pe,"EndLabelSorter/lambda$4$Type",1621);C(1568,1,Mr,S1t),h.Kf=n(function(t,e){PEe(this,l(t,36))},"b8b"),h.b=0,h.c=0;var PCn=S(Pe,"FinalSplineBendpointsCalculator",1568);C(1569,1,{},E1t),h.Kb=n(function(t){return new ne(null,new ce(l(t,30).a,16))},"d8b");var $Cn=S(Pe,"FinalSplineBendpointsCalculator/lambda$0$Type",1569);C(1570,1,{},B1t),h.Kb=n(function(t){return new ne(null,new ag(new We(Ve(ri(l(t,10)).a.Kc(),new et))))},"f8b");var NCn=S(Pe,"FinalSplineBendpointsCalculator/lambda$1$Type",1570);C(1571,1,Mn,M1t),h.Mb=n(function(t){return!va(l(t,18))},"h8b");var RCn=S(Pe,"FinalSplineBendpointsCalculator/lambda$2$Type",1571);C(1572,1,Mn,A1t),h.Mb=n(function(t){return Tr(l(t,18),(Ct(),Xg))},"j8b");var zCn=S(Pe,"FinalSplineBendpointsCalculator/lambda$3$Type",1572);C(1573,1,Ye,O4t),h.Cd=n(function(t){UTe(this.a,l(t,131))},"l8b");var qCn=S(Pe,"FinalSplineBendpointsCalculator/lambda$4$Type",1573);C(1574,1,Ye,L1t),h.Cd=n(function(t){SC(l(t,18).a)},"n8b");var HCn=S(Pe,"FinalSplineBendpointsCalculator/lambda$5$Type",1574);C(803,1,Mr,lW),h.Kf=n(function(t,e){_Be(this,l(t,36),e)},"M8b");var KCn=S(Pe,"GraphTransformer",803);C(517,22,{3:1,34:1,22:1,517:1},xG);var yot,J_,$Pe=ln(Pe,"GraphTransformer/Mode",517,mn,afe,Rue),NPe;C(1575,1,Mr,_1t),h.Kf=n(function(t,e){J9e(l(t,36),e)},"$8b");var UCn=S(Pe,"HierarchicalNodeResizingProcessor",1575);C(1576,1,Mr,F1t),h.Kf=n(function(t,e){wwe(l(t,36),e)},"g9b");var WCn=S(Pe,"HierarchicalPortConstraintProcessor",1576);C(1577,1,_n,O1t),h.Ne=n(function(t,e){return N5e(l(t,10),l(e,10))},"j9b"),h.Fb=n(function(t){return this===t},"k9b"),h.Oe=n(function(){return new kn(this)},"l9b");var GCn=S(Pe,"HierarchicalPortConstraintProcessor/NodeComparator",1577);C(1578,1,Mr,D1t),h.Kf=n(function(t,e){zSe(l(t,36),e)},"p9b");var VCn=S(Pe,"HierarchicalPortDummySizeProcessor",1578);C(1579,1,Mr,j1t),h.Kf=n(function(t,e){YCe(this,l(t,36),e)},"D9b"),h.a=0;var XCn=S(Pe,"HierarchicalPortOrthogonalEdgeRouter",1579);C(1580,1,_n,I1t),h.Ne=n(function(t,e){return Jce(l(t,10),l(e,10))},"G9b"),h.Fb=n(function(t){return this===t},"H9b"),h.Oe=n(function(){return new kn(this)},"I9b");var YCn=S(Pe,"HierarchicalPortOrthogonalEdgeRouter/1",1580);C(1581,1,_n,P1t),h.Ne=n(function(t,e){return i2e(l(t,10),l(e,10))},"L9b"),h.Fb=n(function(t){return this===t},"M9b"),h.Oe=n(function(){return new kn(this)},"N9b");var QCn=S(Pe,"HierarchicalPortOrthogonalEdgeRouter/2",1581);C(1582,1,Mr,$1t),h.Kf=n(function(t,e){f7e(l(t,36),e)},"R9b");var JCn=S(Pe,"HierarchicalPortPositionProcessor",1582);C(1583,1,Mr,vmt),h.Kf=n(function(t,e){LAe(this,l(t,36))},"_9b"),h.a=0,h.c=0;var qz,Hz,ZCn=S(Pe,"HighDegreeNodeLayeringProcessor",1583);C(580,1,{580:1},N1t),h.b=-1,h.d=-1;var tTn=S(Pe,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",580);C(1584,1,{},R1t),h.Kb=n(function(t){return ox(),Mi(l(t,10))},"cac"),h.Fb=n(function(t){return this===t},"dac");var eTn=S(Pe,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1584);C(1585,1,{},z1t),h.Kb=n(function(t){return ox(),ri(l(t,10))},"fac"),h.Fb=n(function(t){return this===t},"gac");var nTn=S(Pe,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1585);C(1591,1,Mr,q1t),h.Kf=n(function(t,e){OSe(this,l(t,36),e)},"nac");var rTn=S(Pe,"HyperedgeDummyMerger",1591);C(804,1,{},cX),h.a=!1,h.b=!1,h.c=!1;var iTn=S(Pe,"HyperedgeDummyMerger/MergeState",804);C(1592,1,{},H1t),h.Kb=n(function(t){return new ne(null,new ce(l(t,30).a,16))},"qac");var aTn=S(Pe,"HyperedgeDummyMerger/lambda$0$Type",1592);C(1593,1,{},K1t),h.Kb=n(function(t){return new ne(null,new ce(l(t,10).j,16))},"sac");var oTn=S(Pe,"HyperedgeDummyMerger/lambda$1$Type",1593);C(1594,1,Ye,U1t),h.Cd=n(function(t){l(t,12).p=-1},"uac");var sTn=S(Pe,"HyperedgeDummyMerger/lambda$2$Type",1594);C(1595,1,Mr,W1t),h.Kf=n(function(t,e){_Se(l(t,36),e)},"yac");var cTn=S(Pe,"HypernodesProcessor",1595);C(1596,1,Mr,G1t),h.Kf=n(function(t,e){RSe(l(t,36),e)},"Bac");var lTn=S(Pe,"InLayerConstraintProcessor",1596);C(1597,1,Mr,V1t),h.Kf=n(function(t,e){Fwe(l(t,36),e)},"Eac");var hTn=S(Pe,"InnermostNodeMarginCalculator",1597);C(1598,1,Mr,X1t),h.Kf=n(function(t,e){UMe(this,l(t,36))},"Nac"),h.a=mi,h.b=mi,h.c=Ir,h.d=Ir;var qsn=S(Pe,"InteractiveExternalPortPositioner",1598);C(1599,1,{},Y1t),h.Kb=n(function(t){return l(t,18).d.i},"Pac"),h.Fb=n(function(t){return this===t},"Qac");var uTn=S(Pe,"InteractiveExternalPortPositioner/lambda$0$Type",1599);C(1600,1,{},D4t),h.Kb=n(function(t){return Zce(this.a,lt(t))},"Sac"),h.Fb=n(function(t){return this===t},"Tac");var dTn=S(Pe,"InteractiveExternalPortPositioner/lambda$1$Type",1600);C(1601,1,{},Q1t),h.Kb=n(function(t){return l(t,18).c.i},"Vac"),h.Fb=n(function(t){return this===t},"Wac");var fTn=S(Pe,"InteractiveExternalPortPositioner/lambda$2$Type",1601);C(1602,1,{},j4t),h.Kb=n(function(t){return tle(this.a,lt(t))},"Yac"),h.Fb=n(function(t){return this===t},"Zac");var bTn=S(Pe,"InteractiveExternalPortPositioner/lambda$3$Type",1602);C(1603,1,{},I4t),h.Kb=n(function(t){return Qle(this.a,lt(t))},"_ac"),h.Fb=n(function(t){return this===t},"abc");var gTn=S(Pe,"InteractiveExternalPortPositioner/lambda$4$Type",1603);C(1604,1,{},P4t),h.Kb=n(function(t){return Jle(this.a,lt(t))},"cbc"),h.Fb=n(function(t){return this===t},"dbc");var pTn=S(Pe,"InteractiveExternalPortPositioner/lambda$5$Type",1604);C(81,22,{3:1,34:1,22:1,81:1,196:1},si),h.dg=n(function(){switch(this.g){case 15:return new bft;case 22:return new gft;case 47:return new mft;case 28:case 35:return new c0t;case 32:return new i1t;case 42:return new s1t;case 1:return new c1t;case 41:return new l1t;case 56:return new lW((wy(),J_));case 0:return new lW((wy(),yot));case 2:return new h1t;case 54:return new u1t;case 33:return new g1t;case 51:return new S1t;case 55:return new _1t;case 13:return new F1t;case 38:return new D1t;case 44:return new j1t;case 40:return new $1t;case 9:return new vmt;case 49:return new $9t;case 37:return new q1t;case 43:return new W1t;case 27:return new G1t;case 30:return new V1t;case 3:return new X1t;case 18:return new Z1t;case 29:return new t0t;case 5:return new kmt;case 50:return new J1t;case 34:return new xmt;case 36:return new l0t;case 52:return new umt;case 11:return new h0t;case 7:return new Cmt;case 39:return new u0t;case 45:return new d0t;case 16:return new f0t;case 10:return new A8t;case 48:return new w0t;case 21:return new m0t;case 23:return new AD((yg(),VT));case 8:return new v0t;case 12:return new x0t;case 4:return new C0t;case 19:return new Amt;case 17:return new O0t;case 53:return new D0t;case 6:return new W0t;case 25:return new Lvt;case 46:return new N0t;case 31:return new Ext;case 14:return new tdt;case 26:return new kft;case 20:return new adt;case 24:return new AD((yg(),Gq));default:throw R(new Le(Wrt+(this.f!=null?this.f:""+this.g)))}},"jcc");var NWt,RWt,zWt,qWt,HWt,KWt,UWt,WWt,GWt,VWt,u4,Kz,Uz,XWt,YWt,QWt,JWt,ZWt,tGt,eGt,MT,nGt,rGt,iGt,aGt,oGt,vot,Wz,Gz,sGt,Vz,Xz,Yz,ik,lm,hm,cGt,Qz,Jz,lGt,Zz,tq,hGt,uGt,dGt,fGt,eq,kot,Z_,nq,rq,iq,aq,bGt,gGt,pGt,wGt,Hsn=ln(Pe,Grt,81,mn,NPt,Nhe),RPe;C(1605,1,Mr,Z1t),h.Kf=n(function(t,e){HMe(l(t,36),e)},"tcc");var wTn=S(Pe,"InvertedPortProcessor",1605);C(1606,1,Mr,t0t),h.Kf=n(function(t,e){PTe(l(t,36),e)},"zcc");var mTn=S(Pe,"LabelAndNodeSizeProcessor",1606);C(1607,1,Mn,e0t),h.Mb=n(function(t){return l(t,10).k==(De(),ei)},"Bcc");var yTn=S(Pe,"LabelAndNodeSizeProcessor/lambda$0$Type",1607);C(1608,1,Mn,n0t),h.Mb=n(function(t){return l(t,10).k==(De(),di)},"Dcc");var vTn=S(Pe,"LabelAndNodeSizeProcessor/lambda$1$Type",1608);C(1609,1,Ye,tCt),h.Cd=n(function(t){vse(this.b,this.a,this.c,l(t,10))},"Fcc"),h.a=!1,h.c=!1;var kTn=S(Pe,"LabelAndNodeSizeProcessor/lambda$2$Type",1609);C(1610,1,Mr,kmt),h.Kf=n(function(t,e){gMe(l(t,36),e)},"Mcc");var zPe,xTn=S(Pe,"LabelDummyInserter",1610);C(1611,1,k1,r0t),h.Lb=n(function(t){return ot(O(l(t,72),(Ot(),_1)))===ot((bu(),Fk))},"Occ"),h.Fb=n(function(t){return this===t},"Pcc"),h.Mb=n(function(t){return ot(O(l(t,72),(Ot(),_1)))===ot((bu(),Fk))},"Qcc");var CTn=S(Pe,"LabelDummyInserter/1",1611);C(1612,1,Mr,J1t),h.Kf=n(function(t,e){rMe(l(t,36),e)},"Vcc");var TTn=S(Pe,"LabelDummyRemover",1612);C(1613,1,Mn,i0t),h.Mb=n(function(t){return jt(Dt(O(l(t,72),(Ot(),lst))))},"Xcc");var STn=S(Pe,"LabelDummyRemover/lambda$0$Type",1613);C(1378,1,Mr,xmt),h.Kf=n(function(t,e){XBe(this,l(t,36),e)},"tdc"),h.a=null;var xot,ETn=S(Pe,"LabelDummySwitcher",1378);C(293,1,{293:1},$$t),h.c=0,h.d=null,h.f=0;var BTn=S(Pe,"LabelDummySwitcher/LabelDummyInfo",293);C(1379,1,{},a0t),h.Kb=n(function(t){return I3(),new ne(null,new ce(l(t,30).a,16))},"zdc");var MTn=S(Pe,"LabelDummySwitcher/lambda$0$Type",1379);C(1380,1,Mn,o0t),h.Mb=n(function(t){return I3(),l(t,10).k==(De(),rs)},"Bdc");var ATn=S(Pe,"LabelDummySwitcher/lambda$1$Type",1380);C(1381,1,{},$4t),h.Kb=n(function(t){return jle(this.a,l(t,10))},"Ddc");var LTn=S(Pe,"LabelDummySwitcher/lambda$2$Type",1381);C(1382,1,Ye,N4t),h.Cd=n(function(t){ede(this.a,l(t,293))},"Fdc");var _Tn=S(Pe,"LabelDummySwitcher/lambda$3$Type",1382);C(1383,1,_n,s0t),h.Ne=n(function(t,e){return S0e(l(t,293),l(e,293))},"Hdc"),h.Fb=n(function(t){return this===t},"Idc"),h.Oe=n(function(){return new kn(this)},"Jdc");var FTn=S(Pe,"LabelDummySwitcher/lambda$4$Type",1383);C(802,1,Mr,c0t),h.Kf=n(function(t,e){Ppe(l(t,36),e)},"Mdc");var OTn=S(Pe,"LabelManagementProcessor",802);C(1614,1,Mr,l0t),h.Kf=n(function(t,e){bCe(l(t,36),e)},"$dc");var DTn=S(Pe,"LabelSideSelector",1614);C(1622,1,Mr,h0t),h.Kf=n(function(t,e){nEe(l(t,36),e)},"gec");var jTn=S(Pe,"LayerConstraintPostprocessor",1622);C(1623,1,Mr,Cmt),h.Kf=n(function(t,e){Yke(l(t,36),e)},"qec");var mGt,ITn=S(Pe,"LayerConstraintPreprocessor",1623);C(371,22,{3:1,34:1,22:1,371:1},xB);var tF,oq,sq,Cot,qPe=ln(Pe,"LayerConstraintPreprocessor/HiddenNodeConnections",371,mn,gge,Rhe),HPe;C(1624,1,Mr,u0t),h.Kf=n(function(t,e){yBe(l(t,36),e)},"Eec");var PTn=S(Pe,"LayerSizeAndGraphHeightCalculator",1624);C(1625,1,Mr,d0t),h.Kf=n(function(t,e){Z9e(l(t,36),e)},"Iec");var $Tn=S(Pe,"LongEdgeJoiner",1625);C(1626,1,Mr,f0t),h.Kf=n(function(t,e){VEe(l(t,36),e)},"Mec");var NTn=S(Pe,"LongEdgeSplitter",1626);C(1627,1,Mr,A8t),h.Kf=n(function(t,e){LMe(this,l(t,36),e)},"cfc"),h.e=0,h.f=0,h.j=0,h.k=0,h.n=0,h.o=0;var KPe,UPe,RTn=S(Pe,"NodePromotion",1627);C(1628,1,_n,b0t),h.Ne=n(function(t,e){return qme(l(t,10),l(e,10))},"ffc"),h.Fb=n(function(t){return this===t},"gfc"),h.Oe=n(function(){return new kn(this)},"hfc");var zTn=S(Pe,"NodePromotion/1",1628);C(1629,1,_n,g0t),h.Ne=n(function(t,e){return Hme(l(t,10),l(e,10))},"kfc"),h.Fb=n(function(t){return this===t},"lfc"),h.Oe=n(function(){return new kn(this)},"mfc");var qTn=S(Pe,"NodePromotion/2",1629);C(1630,1,{},p0t),h.Kb=n(function(t){return l(t,42),rM(),Se(),!0},"ofc"),h.Fb=n(function(t){return this===t},"pfc");var HTn=S(Pe,"NodePromotion/lambda$0$Type",1630);C(1631,1,{},H4t),h.Kb=n(function(t){return $fe(this.a,l(t,42))},"rfc"),h.Fb=n(function(t){return this===t},"sfc"),h.a=0;var KTn=S(Pe,"NodePromotion/lambda$1$Type",1631);C(1632,1,{},K4t),h.Kb=n(function(t){return Pfe(this.a,l(t,42))},"ufc"),h.Fb=n(function(t){return this===t},"vfc"),h.a=0;var UTn=S(Pe,"NodePromotion/lambda$2$Type",1632);C(1633,1,Mr,w0t),h.Kf=n(function(t,e){TAe(l(t,36),e)},"Cfc");var WTn=S(Pe,"NorthSouthPortPostprocessor",1633);C(1634,1,Mr,m0t),h.Kf=n(function(t,e){iAe(l(t,36),e)},"Kfc");var GTn=S(Pe,"NorthSouthPortPreprocessor",1634);C(1635,1,_n,y0t),h.Ne=n(function(t,e){return rme(l(t,12),l(e,12))},"Mfc"),h.Fb=n(function(t){return this===t},"Nfc"),h.Oe=n(function(){return new kn(this)},"Ofc");var VTn=S(Pe,"NorthSouthPortPreprocessor/lambda$0$Type",1635);C(1636,1,Mr,v0t),h.Kf=n(function(t,e){ySe(l(t,36),e)},"Tfc");var XTn=S(Pe,"PartitionMidprocessor",1636);C(1637,1,Mn,k0t),h.Mb=n(function(t){return Tr(l(t,10),(Ot(),mk))},"Vfc");var YTn=S(Pe,"PartitionMidprocessor/lambda$0$Type",1637);C(1638,1,Ye,U4t),h.Cd=n(function(t){$de(this.a,l(t,10))},"Xfc");var QTn=S(Pe,"PartitionMidprocessor/lambda$1$Type",1638);C(1639,1,Mr,x0t),h.Kf=n(function(t,e){vxe(l(t,36),e)},"$fc");var JTn=S(Pe,"PartitionPostprocessor",1639);C(1640,1,Mr,C0t),h.Kf=n(function(t,e){Dke(l(t,36),e)},"dgc");var ZTn=S(Pe,"PartitionPreprocessor",1640);C(1641,1,Mn,T0t),h.Mb=n(function(t){return Tr(l(t,10),(Ot(),mk))},"fgc");var tSn=S(Pe,"PartitionPreprocessor/lambda$0$Type",1641);C(1642,1,{},S0t),h.Kb=n(function(t){return new ne(null,new ag(new We(Ve(ri(l(t,10)).a.Kc(),new et))))},"hgc");var eSn=S(Pe,"PartitionPreprocessor/lambda$1$Type",1642);C(1643,1,Mn,E0t),h.Mb=n(function(t){return T5e(l(t,18))},"jgc");var nSn=S(Pe,"PartitionPreprocessor/lambda$2$Type",1643);C(1644,1,Ye,B0t),h.Cd=n(function(t){vme(l(t,18))},"lgc");var rSn=S(Pe,"PartitionPreprocessor/lambda$3$Type",1644);C(1645,1,Mr,Amt),h.Kf=n(function(t,e){JTe(l(t,36),e)},"Bgc");var yGt,WPe,GPe,VPe,vGt,kGt,iSn=S(Pe,"PortListSorter",1645);C(1648,1,_n,M0t),h.Ne=n(function(t,e){return ABt(l(t,12),l(e,12))},"Egc"),h.Fb=n(function(t){return this===t},"Fgc"),h.Oe=n(function(){return new kn(this)},"Ggc");var aSn=S(Pe,"PortListSorter/lambda$0$Type",1648);C(1650,1,_n,A0t),h.Ne=n(function(t,e){return cNt(l(t,12),l(e,12))},"Igc"),h.Fb=n(function(t){return this===t},"Jgc"),h.Oe=n(function(){return new kn(this)},"Kgc");var oSn=S(Pe,"PortListSorter/lambda$1$Type",1650);C(1646,1,{},L0t),h.Kb=n(function(t){return My(),l(t,12).e},"Mgc");var sSn=S(Pe,"PortListSorter/lambda$2$Type",1646);C(1647,1,{},_0t),h.Kb=n(function(t){return My(),l(t,12).g},"Ogc");var cSn=S(Pe,"PortListSorter/lambda$3$Type",1647);C(1649,1,_n,F0t),h.Ne=n(function(t,e){return Vye(l(t,12),l(e,12))},"Qgc"),h.Fb=n(function(t){return this===t},"Rgc"),h.Oe=n(function(){return new kn(this)},"Sgc");var lSn=S(Pe,"PortListSorter/lambda$4$Type",1649);C(1651,1,Mr,O0t),h.Kf=n(function(t,e){l9e(l(t,36),e)},"Wgc");var hSn=S(Pe,"PortSideProcessor",1651);C(1652,1,Mr,D0t),h.Kf=n(function(t,e){hTe(l(t,36),e)},"Zgc");var uSn=S(Pe,"ReversedEdgeRestorer",1652);C(1657,1,Mr,Lvt),h.Kf=n(function(t,e){Lye(this,l(t,36),e)},"bhc");var dSn=S(Pe,"SelfLoopPortRestorer",1657);C(1658,1,{},j0t),h.Kb=n(function(t){return new ne(null,new ce(l(t,30).a,16))},"dhc");var fSn=S(Pe,"SelfLoopPortRestorer/lambda$0$Type",1658);C(1659,1,Mn,I0t),h.Mb=n(function(t){return l(t,10).k==(De(),ei)},"fhc");var bSn=S(Pe,"SelfLoopPortRestorer/lambda$1$Type",1659);C(1660,1,Mn,P0t),h.Mb=n(function(t){return Tr(l(t,10),(Ct(),A2))},"hhc");var gSn=S(Pe,"SelfLoopPortRestorer/lambda$2$Type",1660);C(1661,1,{},$0t),h.Kb=n(function(t){return l(O(l(t,10),(Ct(),A2)),337)},"jhc");var pSn=S(Pe,"SelfLoopPortRestorer/lambda$3$Type",1661);C(1662,1,Ye,z4t),h.Cd=n(function(t){U7e(this.a,l(t,337))},"lhc");var wSn=S(Pe,"SelfLoopPortRestorer/lambda$4$Type",1662);C(805,1,Ye,yU),h.Cd=n(function(t){i8e(l(t,105))},"nhc");var mSn=S(Pe,"SelfLoopPortRestorer/lambda$5$Type",805);C(1663,1,Mr,N0t),h.Kf=n(function(t,e){I5e(l(t,36),e)},"thc");var ySn=S(Pe,"SelfLoopPostProcessor",1663);C(1664,1,{},R0t),h.Kb=n(function(t){return new ne(null,new ce(l(t,30).a,16))},"vhc");var vSn=S(Pe,"SelfLoopPostProcessor/lambda$0$Type",1664);C(1665,1,Mn,z0t),h.Mb=n(function(t){return l(t,10).k==(De(),ei)},"xhc");var kSn=S(Pe,"SelfLoopPostProcessor/lambda$1$Type",1665);C(1666,1,Mn,q0t),h.Mb=n(function(t){return Tr(l(t,10),(Ct(),A2))},"zhc");var xSn=S(Pe,"SelfLoopPostProcessor/lambda$2$Type",1666);C(1667,1,Ye,H0t),h.Cd=n(function(t){Gve(l(t,10))},"Bhc");var CSn=S(Pe,"SelfLoopPostProcessor/lambda$3$Type",1667);C(1668,1,{},K0t),h.Kb=n(function(t){return new ne(null,new ce(l(t,105).f,1))},"Dhc");var TSn=S(Pe,"SelfLoopPostProcessor/lambda$4$Type",1668);C(1669,1,Ye,R4t),h.Cd=n(function(t){yge(this.a,l(t,340))},"Fhc");var SSn=S(Pe,"SelfLoopPostProcessor/lambda$5$Type",1669);C(1670,1,Mn,U0t),h.Mb=n(function(t){return!!l(t,105).i},"Hhc");var ESn=S(Pe,"SelfLoopPostProcessor/lambda$6$Type",1670);C(1671,1,Ye,q4t),h.Cd=n(function(t){yoe(this.a,l(t,105))},"Jhc");var BSn=S(Pe,"SelfLoopPostProcessor/lambda$7$Type",1671);C(1653,1,Mr,W0t),h.Kf=n(function(t,e){$9e(l(t,36),e)},"Ohc");var MSn=S(Pe,"SelfLoopPreProcessor",1653);C(1654,1,{},G0t),h.Kb=n(function(t){return new ne(null,new ce(l(t,105).f,1))},"Qhc");var ASn=S(Pe,"SelfLoopPreProcessor/lambda$0$Type",1654);C(1655,1,{},V0t),h.Kb=n(function(t){return l(t,340).a},"Shc");var LSn=S(Pe,"SelfLoopPreProcessor/lambda$1$Type",1655);C(1656,1,Ye,X0t),h.Cd=n(function(t){xce(l(t,18))},"Uhc");var _Sn=S(Pe,"SelfLoopPreProcessor/lambda$2$Type",1656);C(1672,1,Mr,Ext),h.Kf=n(function(t,e){E7e(this,l(t,36),e)},"Zhc");var FSn=S(Pe,"SelfLoopRouter",1672);C(1673,1,{},Y0t),h.Kb=n(function(t){return new ne(null,new ce(l(t,30).a,16))},"_hc");var OSn=S(Pe,"SelfLoopRouter/lambda$0$Type",1673);C(1674,1,Mn,Q0t),h.Mb=n(function(t){return l(t,10).k==(De(),ei)},"bic");var DSn=S(Pe,"SelfLoopRouter/lambda$1$Type",1674);C(1675,1,Mn,J0t),h.Mb=n(function(t){return Tr(l(t,10),(Ct(),A2))},"dic");var jSn=S(Pe,"SelfLoopRouter/lambda$2$Type",1675);C(1676,1,{},Z0t),h.Kb=n(function(t){return l(O(l(t,10),(Ct(),A2)),337)},"fic");var ISn=S(Pe,"SelfLoopRouter/lambda$3$Type",1676);C(1677,1,Ye,l8t),h.Cd=n(function(t){Fde(this.a,this.b,l(t,337))},"hic");var PSn=S(Pe,"SelfLoopRouter/lambda$4$Type",1677);C(1678,1,Mr,tdt),h.Kf=n(function(t,e){nCe(l(t,36),e)},"mic");var $Sn=S(Pe,"SemiInteractiveCrossMinProcessor",1678);C(1679,1,Mn,edt),h.Mb=n(function(t){return l(t,10).k==(De(),ei)},"oic");var NSn=S(Pe,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1679);C(1680,1,Mn,ndt),h.Mb=n(function(t){return HCt(l(t,10))._b((Ot(),ym))},"qic");var RSn=S(Pe,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1680);C(1681,1,_n,rdt),h.Ne=n(function(t,e){return ywe(l(t,10),l(e,10))},"sic"),h.Fb=n(function(t){return this===t},"tic"),h.Oe=n(function(){return new kn(this)},"uic");var zSn=S(Pe,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1681);C(1682,1,{},idt),h.Ve=n(function(t,e){return Nde(l(t,10),l(e,10))},"wic");var qSn=S(Pe,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1682);C(1684,1,Mr,adt),h.Kf=n(function(t,e){BEe(l(t,36),e)},"Cic");var HSn=S(Pe,"SortByInputModelProcessor",1684);C(1685,1,Mn,odt),h.Mb=n(function(t){return l(t,12).g.c.length!=0},"Eic");var KSn=S(Pe,"SortByInputModelProcessor/lambda$0$Type",1685);C(1686,1,Ye,W4t),h.Cd=n(function(t){l8e(this.a,l(t,12))},"Gic");var USn=S(Pe,"SortByInputModelProcessor/lambda$1$Type",1686);C(1759,817,{},ZLt),h.df=n(function(t){var e,r,i,a;switch(this.c=t,this.a.g){case 2:e=new Bt,Yr(ir(new ne(null,new ce(this.c.a.b,16)),new vdt),new m8t(this,e)),EC(this,new cdt),Ts(e,new ldt),e.c.length=0,Yr(ir(new ne(null,new ce(this.c.a.b,16)),new hdt),new V4t(e)),EC(this,new udt),Ts(e,new ddt),e.c.length=0,r=Zkt(KP(Np(new ne(null,new ce(this.c.a.b,16)),new X4t(this))),new fdt),Yr(new ne(null,new ce(this.c.a.a,16)),new d8t(r,e)),EC(this,new gdt),Ts(e,new pdt),e.c.length=0;break;case 3:i=new Bt,EC(this,new sdt),a=Zkt(KP(Np(new ne(null,new ce(this.c.a.b,16)),new G4t(this))),new bdt),Yr(ir(new ne(null,new ce(this.c.a.b,16)),new wdt),new b8t(a,i)),EC(this,new mdt),Ts(i,new ydt),i.c.length=0;break;default:throw R(new wvt)}},"Qic"),h.b=0;var WSn=S(vi,"EdgeAwareScanlineConstraintCalculation",1759);C(1760,1,k1,sdt),h.Lb=n(function(t){return J(l(t,60).g,154)},"Sic"),h.Fb=n(function(t){return this===t},"Tic"),h.Mb=n(function(t){return J(l(t,60).g,154)},"Uic");var GSn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1760);C(1761,1,{},G4t),h.Ye=n(function(t){return W8e(this.a,l(t,60))},"Wic");var VSn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1761);C(1769,1,bR,h8t),h.de=n(function(){s8(this.a,this.b,-1)},"Yic"),h.b=0;var XSn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1769);C(1771,1,k1,cdt),h.Lb=n(function(t){return J(l(t,60).g,154)},"$ic"),h.Fb=n(function(t){return this===t},"_ic"),h.Mb=n(function(t){return J(l(t,60).g,154)},"ajc");var YSn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1771);C(1772,1,Ye,ldt),h.Cd=n(function(t){l(t,380).de()},"cjc");var QSn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1772);C(1773,1,Mn,hdt),h.Mb=n(function(t){return J(l(t,60).g,10)},"ejc");var JSn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1773);C(1775,1,Ye,V4t),h.Cd=n(function(t){d4e(this.a,l(t,60))},"gjc");var ZSn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1775);C(1774,1,bR,g8t),h.de=n(function(){s8(this.b,this.a,-1)},"ijc"),h.a=0;var tEn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1774);C(1776,1,k1,udt),h.Lb=n(function(t){return J(l(t,60).g,10)},"kjc"),h.Fb=n(function(t){return this===t},"ljc"),h.Mb=n(function(t){return J(l(t,60).g,10)},"mjc");var eEn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1776);C(1777,1,Ye,ddt),h.Cd=n(function(t){l(t,380).de()},"ojc");var nEn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1777);C(1778,1,{},X4t),h.Ye=n(function(t){return G8e(this.a,l(t,60))},"qjc");var rEn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1778);C(1779,1,{},fdt),h.We=n(function(){return 0},"sjc");var iEn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1779);C(1762,1,{},bdt),h.We=n(function(){return 0},"ujc");var aEn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1762);C(1781,1,Ye,d8t),h.Cd=n(function(t){w0e(this.a,this.b,l(t,316))},"wjc"),h.a=0;var oEn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1781);C(1780,1,bR,f8t),h.de=n(function(){bPt(this.a,this.b,-1)},"yjc"),h.b=0;var sEn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1780);C(1782,1,k1,gdt),h.Lb=n(function(t){return l(t,60),!0},"Ajc"),h.Fb=n(function(t){return this===t},"Bjc"),h.Mb=n(function(t){return l(t,60),!0},"Cjc");var cEn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1782);C(1783,1,Ye,pdt),h.Cd=n(function(t){l(t,380).de()},"Ejc");var lEn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1783);C(1763,1,Mn,wdt),h.Mb=n(function(t){return J(l(t,60).g,10)},"Gjc");var hEn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1763);C(1765,1,Ye,b8t),h.Cd=n(function(t){m0e(this.a,this.b,l(t,60))},"Ijc"),h.a=0;var uEn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1765);C(1764,1,bR,p8t),h.de=n(function(){s8(this.b,this.a,-1)},"Kjc"),h.a=0;var dEn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1764);C(1766,1,k1,mdt),h.Lb=n(function(t){return l(t,60),!0},"Mjc"),h.Fb=n(function(t){return this===t},"Njc"),h.Mb=n(function(t){return l(t,60),!0},"Ojc");var fEn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1766);C(1767,1,Ye,ydt),h.Cd=n(function(t){l(t,380).de()},"Qjc");var bEn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1767);C(1768,1,Mn,vdt),h.Mb=n(function(t){return J(l(t,60).g,154)},"Sjc");var gEn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1768);C(1770,1,Ye,m8t),h.Cd=n(function(t){I2e(this.a,this.b,l(t,60))},"Ujc");var pEn=S(vi,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1770);C(1586,1,Mr,$9t),h.Kf=n(function(t,e){tBe(this,l(t,36),e)},"bkc");var XPe,wEn=S(vi,"HorizontalGraphCompactor",1586);C(1587,1,{},Y4t),h.ff=n(function(t,e){var r,i,a;return _Q(t,e)||(r=Cw(t),i=Cw(e),r&&r.k==(De(),di)||i&&i.k==(De(),di))?0:(a=l(O(this.a.a,(Ct(),v4)),312),ile(a,r?r.k:(De(),Di),i?i.k:(De(),Di)))},"dkc"),h.gf=n(function(t,e){var r,i,a;return _Q(t,e)?1:(r=Cw(t),i=Cw(e),a=l(O(this.a.a,(Ct(),v4)),312),xV(a,r?r.k:(De(),Di),i?i.k:(De(),Di)))},"ekc");var mEn=S(vi,"HorizontalGraphCompactor/1",1587);C(1588,1,{},kdt),h.ef=n(function(t,e){return N6(),t.a.i==0},"gkc");var yEn=S(vi,"HorizontalGraphCompactor/lambda$0$Type",1588);C(1589,1,{},Q4t),h.ef=n(function(t,e){return qde(this.a,t,e)},"ikc");var vEn=S(vi,"HorizontalGraphCompactor/lambda$1$Type",1589);C(1730,1,{},MAt);var YPe,QPe,kEn=S(vi,"LGraphToCGraphTransformer",1730);C(1738,1,Mn,xdt),h.Mb=n(function(t){return t!=null},"Lkc");var xEn=S(vi,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1738);C(1731,1,{},Cdt),h.Kb=n(function(t){return ch(),bo(O(l(l(t,60).g,10),(Ct(),lr)))},"Nkc");var CEn=S(vi,"LGraphToCGraphTransformer/lambda$0$Type",1731);C(1732,1,{},Tdt),h.Kb=n(function(t){return ch(),NFt(l(l(t,60).g,154))},"Pkc");var TEn=S(vi,"LGraphToCGraphTransformer/lambda$1$Type",1732);C(1741,1,Mn,Sdt),h.Mb=n(function(t){return ch(),J(l(t,60).g,10)},"Rkc");var SEn=S(vi,"LGraphToCGraphTransformer/lambda$10$Type",1741);C(1742,1,Ye,Edt),h.Cd=n(function(t){Gde(l(t,60))},"Tkc");var EEn=S(vi,"LGraphToCGraphTransformer/lambda$11$Type",1742);C(1743,1,Mn,Bdt),h.Mb=n(function(t){return ch(),J(l(t,60).g,154)},"Vkc");var BEn=S(vi,"LGraphToCGraphTransformer/lambda$12$Type",1743);C(1747,1,Ye,Mdt),h.Cd=n(function(t){T3e(l(t,60))},"Xkc");var MEn=S(vi,"LGraphToCGraphTransformer/lambda$13$Type",1747);C(1744,1,Ye,J4t),h.Cd=n(function(t){Qse(this.a,l(t,8))},"Zkc"),h.a=0;var AEn=S(vi,"LGraphToCGraphTransformer/lambda$14$Type",1744);C(1745,1,Ye,Z4t),h.Cd=n(function(t){Zse(this.a,l(t,116))},"_kc"),h.a=0;var LEn=S(vi,"LGraphToCGraphTransformer/lambda$15$Type",1745);C(1746,1,Ye,t5t),h.Cd=n(function(t){Jse(this.a,l(t,8))},"blc"),h.a=0;var _En=S(vi,"LGraphToCGraphTransformer/lambda$16$Type",1746);C(1748,1,{},Adt),h.Kb=n(function(t){return ch(),new ne(null,new ag(new We(Ve(ri(l(t,10)).a.Kc(),new et))))},"dlc");var FEn=S(vi,"LGraphToCGraphTransformer/lambda$17$Type",1748);C(1749,1,Mn,Ldt),h.Mb=n(function(t){return ch(),va(l(t,18))},"flc");var OEn=S(vi,"LGraphToCGraphTransformer/lambda$18$Type",1749);C(1750,1,Ye,e5t),h.Cd=n(function(t){b2e(this.a,l(t,18))},"hlc");var DEn=S(vi,"LGraphToCGraphTransformer/lambda$19$Type",1750);C(1734,1,Ye,n5t),h.Cd=n(function(t){zbe(this.a,l(t,154))},"jlc");var jEn=S(vi,"LGraphToCGraphTransformer/lambda$2$Type",1734);C(1751,1,{},_dt),h.Kb=n(function(t){return ch(),new ne(null,new ce(l(t,30).a,16))},"llc");var IEn=S(vi,"LGraphToCGraphTransformer/lambda$20$Type",1751);C(1752,1,{},Fdt),h.Kb=n(function(t){return ch(),new ne(null,new ag(new We(Ve(ri(l(t,10)).a.Kc(),new et))))},"nlc");var PEn=S(vi,"LGraphToCGraphTransformer/lambda$21$Type",1752);C(1753,1,{},Odt),h.Kb=n(function(t){return ch(),l(O(l(t,18),(Ct(),Xg)),15)},"plc");var $En=S(vi,"LGraphToCGraphTransformer/lambda$22$Type",1753);C(1754,1,Mn,Ddt),h.Mb=n(function(t){return ale(l(t,15))},"rlc");var NEn=S(vi,"LGraphToCGraphTransformer/lambda$23$Type",1754);C(1755,1,Ye,r5t),h.Cd=n(function(t){j8e(this.a,l(t,15))},"tlc");var REn=S(vi,"LGraphToCGraphTransformer/lambda$24$Type",1755);C(1733,1,Ye,y8t),h.Cd=n(function(t){$ge(this.a,this.b,l(t,154))},"vlc");var zEn=S(vi,"LGraphToCGraphTransformer/lambda$3$Type",1733);C(1735,1,{},jdt),h.Kb=n(function(t){return ch(),new ne(null,new ce(l(t,30).a,16))},"xlc");var qEn=S(vi,"LGraphToCGraphTransformer/lambda$4$Type",1735);C(1736,1,{},Idt),h.Kb=n(function(t){return ch(),new ne(null,new ag(new We(Ve(ri(l(t,10)).a.Kc(),new et))))},"zlc");var HEn=S(vi,"LGraphToCGraphTransformer/lambda$5$Type",1736);C(1737,1,{},Pdt),h.Kb=n(function(t){return ch(),l(O(l(t,18),(Ct(),Xg)),15)},"Blc");var KEn=S(vi,"LGraphToCGraphTransformer/lambda$6$Type",1737);C(1739,1,Ye,i5t),h.Cd=n(function(t){V8e(this.a,l(t,15))},"Dlc");var UEn=S(vi,"LGraphToCGraphTransformer/lambda$8$Type",1739);C(1740,1,Ye,v8t),h.Cd=n(function(t){Cce(this.a,this.b,l(t,154))},"Flc");var WEn=S(vi,"LGraphToCGraphTransformer/lambda$9$Type",1740);C(1729,1,{},$dt),h.cf=n(function(t){var e,r,i,a,c;for(this.a=t,this.d=new vD,this.c=ht(tWt,xe,125,this.a.a.a.c.length,0,1),this.b=0,r=new N(this.a.a.a);r.a=D&&(Mt(c,Et(m)),X=v.Math.max(X,Y[m-1]-x),d+=_,I+=Y[m-1]-I,x=Y[m-1],_=b[m]),_=v.Math.max(_,b[m]),++m;d+=_}A=v.Math.min(1/X,1/e.b/d),A>i&&(i=A,r=c)}return r},"Osc"),h.pg=n(function(){return!1},"Psc");var hMn=S(S1,"MSDCutIndexHeuristic",816);C(1683,1,Mr,kft),h.Kf=n(function(t,e){iEe(l(t,36),e)},"Tsc");var uMn=S(S1,"SingleEdgeGraphWrapper",1683);C(232,22,{3:1,34:1,22:1,232:1},G6);var f4,sk,ck,um,AT,b4,lk=ln(ns,"CenterEdgeLabelPlacementStrategy",232,mn,qpe,Khe),l$e;C(431,22,{3:1,34:1,22:1,431:1},TG);var CGt,Dot,TGt=ln(ns,"ConstraintCalculationStrategy",431,mn,cfe,Uhe),h$e;C(322,22,{3:1,34:1,22:1,322:1,188:1,196:1},tj),h.dg=n(function(){return xIt(this)},"wtc"),h.qg=n(function(){return xIt(this)},"vtc");var nF,LT,SGt,EGt=ln(ns,"CrossingMinimizationStrategy",322,mn,nbe,Whe),u$e;C(351,22,{3:1,34:1,22:1,351:1},ej);var BGt,jot,dq,MGt=ln(ns,"CuttingStrategy",351,mn,rbe,Ghe),d$e;C(348,22,{3:1,34:1,22:1,348:1,188:1,196:1},I9),h.dg=n(function(){return dPt(this)},"Ttc"),h.qg=n(function(){return dPt(this)},"Stc");var AGt,Iot,hk,Pot,uk,LGt=ln(ns,"CycleBreakingStrategy",348,mn,ope,Vhe),f$e;C(428,22,{3:1,34:1,22:1,428:1},SG);var fq,_Gt,FGt=ln(ns,"DirectionCongruency",428,mn,sfe,Xhe),b$e;C(460,22,{3:1,34:1,22:1,460:1},nj);var dk,$ot,g4,g$e=ln(ns,"EdgeConstraint",460,mn,ibe,nue),p$e;C(283,22,{3:1,34:1,22:1,283:1},V6);var Not,Rot,zot,qot,bq,Hot,OGt=ln(ns,"EdgeLabelSideSelection",283,mn,Npe,rue),w$e;C(488,22,{3:1,34:1,22:1,488:1},EG);var gq,DGt,jGt=ln(ns,"EdgeStraighteningStrategy",488,mn,gfe,iue),m$e;C(281,22,{3:1,34:1,22:1,281:1},X6);var Kot,IGt,PGt,pq,$Gt,NGt,RGt=ln(ns,"FixedAlignment",281,mn,Rpe,eue),y$e;C(282,22,{3:1,34:1,22:1,282:1},Y6);var zGt,qGt,HGt,KGt,_T,UGt,WGt=ln(ns,"GraphCompactionStrategy",282,mn,zpe,Yhe),v$e;C(259,22,{3:1,34:1,22:1,259:1},Bp);var fk,wq,bk,Wl,FT,mq,gk,p4,yq,OT,Uot=ln(ns,"GraphProperties",259,mn,Swe,Qhe),k$e;C(299,22,{3:1,34:1,22:1,299:1},rj);var rF,Wot,Got,Vot=ln(ns,"GreedySwitchType",299,mn,abe,Jhe),x$e;C(311,22,{3:1,34:1,22:1,311:1},ij);var Tv,iF,w4,C$e=ln(ns,"InLayerConstraint",311,mn,obe,Zhe),T$e;C(429,22,{3:1,34:1,22:1,429:1},BG);var Xot,GGt,VGt=ln(ns,"InteractiveReferencePoint",429,mn,ofe,tue),S$e,XGt,Sv,E2,vq,YGt,QGt,kq,JGt,aF,xq,DT,Ev,cd,Yot,Cq,Ro,ZGt,ub,ms,Qot,Jot,oF,Vg,B2,Bv,tVt,Mv,sF,dm,xu,kh,Zot,m4,wr,lr,eVt,nVt,rVt,iVt,aVt,tst,Tq,Bc,M2,est,Av,jT,Yu,y4,A2,v4,k4,pk,Xg,oVt,nst,rst,Lv;C(171,22,{3:1,34:1,22:1,171:1},P9);var IT,db,PT,fm,cF,sVt=ln(ns,"LayerConstraint",171,mn,cpe,aue),E$e;C(859,1,ph,Imt),h.hf=n(function(t){Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,nqt),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),wVt),(ed(),Pr)),FGt),Jt((zh(),ve))))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,rqt),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(Se(),!1)),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,AR),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),CVt),Pr),VGt),Jt(ve)))),hi(t,AR,Yrt,vNe),hi(t,AR,nT,yNe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,iqt),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,aqt),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),Li),ti),Jt(ve)))),Qt(t,new Ht(Qoe(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,oqt),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),Li),ti),Jt(rp)),H(q($t,1),Tt,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,sqt),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),_Vt),Pr),RXt),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,cqt),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),Et(7)),Bo),ia),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,lqt),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,hqt),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Yrt),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),pVt),Pr),LGt),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,B_),vit),"Node Layering Strategy"),"Strategy for node layering."),EVt),Pr),MXt),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,uqt),vit),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),TVt),Pr),sVt),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,dqt),vit),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),Bo),ia),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,fqt),vit),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Et(-1)),Bo),ia),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Qrt),V_e),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),Et(4)),Bo),ia),Jt(ve)))),hi(t,Qrt,B_,BNe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Jrt),V_e),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),Et(2)),Bo),ia),Jt(ve)))),hi(t,Jrt,B_,ANe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Zrt),X_e),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),SVt),Pr),PXt),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,tit),X_e),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),Et(0)),Bo),ia),Jt(ve)))),hi(t,tit,Zrt,null),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,eit),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),Et(nr)),Bo),ia),Jt(ve)))),hi(t,eit,B_,xNe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,nT),H8),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),gVt),Pr),EGt),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,bqt),H8),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,nit),H8),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),ba),wi),Jt(ve)))),hi(t,nit,qR,W$e),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,rit),H8),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),Li),ti),Jt(ve)))),hi(t,rit,nT,J$e),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,gqt),H8),"In Layer Predecessor of"),"Allows to set a constraint which specifies of which node the current node is the predecessor. If set to 's' then the node is the predecessor of 's' and is in the same layer"),null),F4),$t),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,pqt),H8),"In Layer Successor of"),"Allows to set a constraint which specifies of which node the current node is the successor. If set to 's' then the node is the successor of 's' and is in the same layer"),null),F4),$t),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,wqt),H8),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),Bo),ia),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,mqt),H8),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Et(-1)),Bo),ia),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,yqt),Y_e),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),Et(40)),Bo),ia),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,iit),Y_e),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),bVt),Pr),Vot),Jt(ve)))),hi(t,iit,nT,K$e),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,LR),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),fVt),Pr),Vot),Jt(ve)))),hi(t,LR,nT,z$e),hi(t,LR,qR,q$e),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,n4),Q_e),"Node Placement Strategy"),"Strategy for node placement."),LVt),Pr),FXt),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,_R),Q_e),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),Li),ti),Jt(ve)))),hi(t,_R,n4,RNe),hi(t,_R,n4,zNe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,ait),J_e),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),BVt),Pr),jGt),Jt(ve)))),hi(t,ait,n4,INe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,oit),J_e),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),MVt),Pr),RGt),Jt(ve)))),hi(t,oit,n4,$Ne),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,sit),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),ba),wi),Jt(ve)))),hi(t,sit,n4,HNe),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,cit),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),Pr),Sst),Jt(Ei)))),hi(t,cit,n4,GNe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,lit),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),AVt),Pr),Sst),Jt(ve)))),hi(t,lit,n4,WNe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,vqt),Z_e),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),vVt),Pr),HXt),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,kqt),Z_e),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),kVt),Pr),KXt),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,FR),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),xVt),Pr),WXt),Jt(ve)))),hi(t,FR,M_,lNe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,OR),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),ba),wi),Jt(ve)))),hi(t,OR,M_,uNe),hi(t,OR,FR,dNe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,hit),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),ba),wi),Jt(ve)))),hi(t,hit,M_,aNe),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,xqt),Gu),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Cqt),Gu),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Tqt),Gu),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Sqt),Gu),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Eqt),Iqt),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),Et(0)),Bo),ia),Jt(O1)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Bqt),Iqt),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),Et(0)),Bo),ia),Jt(O1)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Mqt),Iqt),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),Et(0)),Bo),ia),Jt(O1)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,uit),Pqt),p_e),"Tries to further compact components (disconnected sub-graphs)."),!1),Li),ti),Jt(ve)))),hi(t,uit,QC,!0),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Aqt),tFe),"Post Compaction Strategy"),eFe),lVt),Pr),WGt),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Lqt),tFe),"Post Compaction Constraint Calculation"),eFe),cVt),Pr),TGt),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,DR),$qt),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,dit),$qt),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),Et(16)),Bo),ia),Jt(ve)))),hi(t,dit,DR,!0),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,fit),$qt),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),Et(5)),Bo),ia),Jt(ve)))),hi(t,fit,DR,!0),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,ad),Nqt),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),DVt),Pr),YXt),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,jR),Nqt),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),ba),wi),Jt(ve)))),hi(t,jR,ad,oRe),hi(t,jR,ad,sRe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,IR),Nqt),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),ba),wi),Jt(ve)))),hi(t,IR,ad,lRe),hi(t,IR,ad,hRe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,rT),nFe),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),OVt),Pr),MGt),Jt(ve)))),hi(t,rT,ad,pRe),hi(t,rT,ad,wRe),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,bit),nFe),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),Ju),Ul),Jt(ve)))),hi(t,bit,rT,dRe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,git),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),FVt),Bo),ia),Jt(ve)))),hi(t,git,rT,bRe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,PR),rFe),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),jVt),Pr),XXt),Jt(ve)))),hi(t,PR,ad,ARe),hi(t,PR,ad,LRe),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,$R),rFe),"Valid Indices for Wrapping"),null),Ju),Ul),Jt(ve)))),hi(t,$R,ad,ERe),hi(t,$R,ad,BRe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,NR),Rqt),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),Li),ti),Jt(ve)))),hi(t,NR,ad,kRe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,RR),Rqt),"Distance Penalty When Improving Cuts"),null),2),ba),wi),Jt(ve)))),hi(t,RR,ad,yRe),hi(t,RR,NR,!0),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,pit),Rqt),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),Li),ti),Jt(ve)))),hi(t,pit,ad,CRe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,_qt),kit),"Edge Label Side Selection"),"Method to decide on edge label sides."),yVt),Pr),OGt),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Fqt),kit),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),mVt),Pr),lk),Sr(ve,H(q(m0,1),mt,170,0,[af]))))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,zR),iT),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),dVt),Pr),NXt),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Oqt),iT),"Consider Port Order"),"If disabled the port order of output ports is derived from the edge order and input ports are ordered by their incoming connections. If enabled all ports are ordered by the port model order."),!1),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Dqt),iT),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),Li),ti),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,wit),iT),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),hVt),Pr),LWt),Jt(ve)))),hi(t,wit,QC,null),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,jqt),iT),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),uVt),Pr),LXt),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,mit),iT),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),ba),wi),Jt(ve)))),hi(t,mit,zR,null),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,yit),iT),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),ba),wi),Jt(ve)))),hi(t,yit,zR,null),ozt((new Pmt,t))},"Qzc");var B$e,M$e,A$e,cVt,L$e,lVt,_$e,hVt,F$e,O$e,D$e,uVt,j$e,I$e,P$e,dVt,$$e,N$e,R$e,fVt,z$e,q$e,H$e,bVt,K$e,U$e,W$e,G$e,V$e,X$e,Y$e,Q$e,J$e,Z$e,gVt,tNe,pVt,eNe,wVt,nNe,mVt,rNe,yVt,iNe,aNe,oNe,vVt,sNe,kVt,cNe,xVt,lNe,hNe,uNe,dNe,fNe,bNe,gNe,pNe,wNe,mNe,CVt,yNe,vNe,kNe,xNe,CNe,TNe,TVt,SNe,ENe,BNe,MNe,ANe,LNe,_Ne,SVt,FNe,EVt,ONe,DNe,jNe,BVt,INe,PNe,MVt,$Ne,NNe,RNe,zNe,qNe,HNe,KNe,UNe,AVt,WNe,GNe,VNe,LVt,XNe,_Vt,YNe,QNe,JNe,ZNe,tRe,eRe,nRe,rRe,iRe,aRe,oRe,sRe,cRe,lRe,hRe,uRe,dRe,fRe,FVt,bRe,gRe,OVt,pRe,wRe,mRe,yRe,vRe,kRe,xRe,CRe,TRe,DVt,SRe,ERe,BRe,MRe,jVt,ARe,LRe,dMn=S(ns,"LayeredMetaDataProvider",859);C(998,1,ph,Pmt),h.hf=n(function(t){ozt(t)},"BCc");var L1,ist,Sq,$T,Eq,IVt,Bq,bm,Mq,PVt,$Vt,Aq,ast,w0,ost,L2,NVt,lF,sst,RVt,_Re,FRe,ORe,Lq,cst,NT,Yg,DRe,Sl,zVt,qVt,_q,lst,_1,Fq,ld,HVt,KVt,UVt,hst,ust,WVt,Zd,dst,GVt,gm,VVt,XVt,YVt,Oq,pm,Qg,QVt,JVt,co,ZVt,jRe,Hs,Dq,tXt,eXt,nXt,fb,Jg,jq,rXt,iXt,Iq,_2,aXt,fst,RT,oXt,F2,zT,Pq,Zg,bst,wk,$q,tp,sXt,cXt,lXt,mk,hXt,IRe,PRe,$Re,NRe,O2,wm,Jr,tf,RRe,mm,uXt,yk,dXt,ym,zRe,vk,fXt,_v,qRe,HRe,hF,gst,bXt,uF,Wh,x4,C4,D2,ep,Nq,vm,pst,kk,xk,j2,T4,wst,dF,qT,HT,KRe,URe,WRe,gXt,GRe,mst,pXt,wXt,mXt,yXt,yst,vXt,kXt,xXt,CXt,vst,Rq,fMn=S(ns,"LayeredOptions",998);C(999,1,{},xft),h.sf=n(function(){var t;return t=new Svt,t},"DCc"),h.tf=n(function(t){},"ECc");var bMn=S(ns,"LayeredOptions/LayeredFactory",999);C(1391,1,{}),h.a=0;var VRe,gMn=S(Po,"ElkSpacings/AbstractSpacingsBuilder",1391);C(792,1391,{},vZ);var zq,XRe,pMn=S(ns,"LayeredSpacings/LayeredSpacingsBuilder",792);C(265,22,{3:1,34:1,22:1,265:1,188:1,196:1},sw),h.dg=n(function(){return k$t(this)},"dDc"),h.qg=n(function(){return k$t(this)},"cDc");var Ck,kst,Tk,TXt,SXt,EXt,qq,xst,BXt,MXt=ln(ns,"LayeringStrategy",265,mn,ewe,oue),YRe;C(390,22,{3:1,34:1,22:1,390:1},aj);var Cst,AXt,Hq,LXt=ln(ns,"LongEdgeOrderingStrategy",390,mn,sbe,sue),QRe;C(203,22,{3:1,34:1,22:1,203:1},TB);var S4,E4,Kq,Tst,Sst=ln(ns,"NodeFlexibility",203,mn,pge,cue),JRe;C(323,22,{3:1,34:1,22:1,323:1,188:1,196:1},$9),h.dg=n(function(){return uPt(this)},"NDc"),h.qg=n(function(){return uPt(this)},"MDc");var KT,Est,Bst,UT,_Xt,FXt=ln(ns,"NodePlacementStrategy",323,mn,spe,lue),ZRe;C(243,22,{3:1,34:1,22:1,243:1},Mp);var OXt,I2,km,fF,DXt,jXt,bF,IXt,Uq,Wq,PXt=ln(ns,"NodePromotionStrategy",243,mn,Ewe,hue),tze;C(284,22,{3:1,34:1,22:1,284:1},SB);var $Xt,ef,Mst,Ast,NXt=ln(ns,"OrderingStrategy",284,mn,wge,uue),eze;C(430,22,{3:1,34:1,22:1,430:1},MG);var Lst,_st,RXt=ln(ns,"PortSortingStrategy",430,mn,lfe,due),nze;C(463,22,{3:1,34:1,22:1,463:1},oj);var Mc,Ls,WT,rze=ln(ns,"PortType",463,mn,cbe,fue),ize;C(387,22,{3:1,34:1,22:1,387:1},sj);var zXt,Fst,qXt,HXt=ln(ns,"SelfLoopDistributionStrategy",387,mn,lbe,bue),aze;C(349,22,{3:1,34:1,22:1,349:1},cj);var Ost,gF,Dst,KXt=ln(ns,"SelfLoopOrderingStrategy",349,mn,hbe,gue),oze;C(312,1,{312:1},rRt);var wMn=S(ns,"Spacings",312);C(350,22,{3:1,34:1,22:1,350:1},lj);var jst,UXt,GT,WXt=ln(ns,"SplineRoutingMode",350,mn,ube,pue),sze;C(352,22,{3:1,34:1,22:1,352:1},hj);var Ist,GXt,VXt,XXt=ln(ns,"ValidifyStrategy",352,mn,dbe,wue),cze;C(388,22,{3:1,34:1,22:1,388:1},uj);var xm,Pst,Sk,YXt=ln(ns,"WrappingStrategy",388,mn,fbe,mue),lze;C(1398,1,Ra,Mmt),h.rg=n(function(t){return l(t,36),hze},"OFc"),h.Kf=n(function(t,e){QEe(this,l(t,36),e)},"PFc");var hze,mMn=S(WR,"DepthFirstCycleBreaker",1398);C(793,1,Ra,RX),h.rg=n(function(t){return l(t,36),uze},"WFc"),h.Kf=n(function(t,e){eLe(this,l(t,36),e)},"XFc"),h.sg=n(function(t){return l(It(t,bL(this.d,t.c.length)),10)},"VFc");var uze,yMn=S(WR,"GreedyCycleBreaker",793);C(1401,793,Ra,kkt),h.sg=n(function(t){var e,r,i,a;for(a=null,e=nr,i=new N(t);i.a1&&(jt(Dt(O(Qi((ue(0,t.c.length),l(t.c[0],10))),(Ot(),L2))))?TPt(t,this.d,l(this,669)):(de(),ai(t,this.d)),S_t(this.e,t))},"aJc"),h.lg=n(function(t,e,r,i){var a,c,u,d,b,w,m;for(e!=qCt(r,t.length)&&(c=t[e-(r?1:-1)],gQ(this.f,c,r?(Fa(),Ls):(Fa(),Mc))),a=t[e][0],m=!i||a.k==(De(),di),w=hu(t[e]),this.vg(w,m,!1,r),u=0,b=new N(w);b.a"),t0?UI(this.a,t[e-1],t[e]):!r&&e1&&(jt(Dt(O(Qi((ue(0,t.c.length),l(t.c[0],10))),(Ot(),L2))))?TPt(t,this.d,this):(de(),ai(t,this.d)),jt(Dt(O(Qi((ue(0,t.c.length),l(t.c[0],10))),L2)))||S_t(this.e,t))},"xLc");var iAn=S(pc,"ModelOrderBarycenterHeuristic",669);C(1866,1,_n,T5t),h.Ne=n(function(t,e){return Y7e(this.a,l(t,10),l(e,10))},"zLc"),h.Fb=n(function(t){return this===t},"ALc"),h.Oe=n(function(){return new kn(this)},"BLc");var aAn=S(pc,"ModelOrderBarycenterHeuristic/lambda$0$Type",1866);C(1423,1,Ra,Nmt),h.rg=n(function(t){var e;return l(t,36),e=zB(Bze),In(e,(na(),ls),(ua(),eq)),e},"GLc"),h.Kf=n(function(t,e){Ode((l(t,36),e))},"HLc");var Bze,oAn=S(pc,"NoCrossingMinimizer",1423);C(809,413,kHt,QW),h.tg=n(function(t,e,r){var i,a,c,u,d,b,w,m,x,E,A;switch(x=this.g,r.g){case 1:{for(a=0,c=0,m=new N(t.j);m.a1&&(a.j==(At(),qe)?this.b[t]=!0:a.j==je&&t>0&&(this.b[t-1]=!0))},"WLc"),h.f=0;var lAn=S(f0,"AllCrossingsCounter",1861);C(595,1,{},FA),h.b=0,h.d=0;var hAn=S(f0,"BinaryIndexedTree",595);C(532,1,{},ax);var ZXt,Vq,uAn=S(f0,"CrossingsCounter",532);C(1950,1,_n,S5t),h.Ne=n(function(t,e){return a0e(this.a,l(t,12),l(e,12))},"IMc"),h.Fb=n(function(t){return this===t},"JMc"),h.Oe=n(function(){return new kn(this)},"KMc");var dAn=S(f0,"CrossingsCounter/lambda$0$Type",1950);C(1951,1,_n,E5t),h.Ne=n(function(t,e){return o0e(this.a,l(t,12),l(e,12))},"MMc"),h.Fb=n(function(t){return this===t},"NMc"),h.Oe=n(function(){return new kn(this)},"OMc");var fAn=S(f0,"CrossingsCounter/lambda$1$Type",1951);C(1952,1,_n,B5t),h.Ne=n(function(t,e){return s0e(this.a,l(t,12),l(e,12))},"QMc"),h.Fb=n(function(t){return this===t},"RMc"),h.Oe=n(function(){return new kn(this)},"SMc");var bAn=S(f0,"CrossingsCounter/lambda$2$Type",1952);C(1953,1,_n,M5t),h.Ne=n(function(t,e){return c0e(this.a,l(t,12),l(e,12))},"UMc"),h.Fb=n(function(t){return this===t},"VMc"),h.Oe=n(function(){return new kn(this)},"WMc");var gAn=S(f0,"CrossingsCounter/lambda$3$Type",1953);C(1954,1,Ye,A5t),h.Cd=n(function(t){c2e(this.a,l(t,12))},"YMc");var pAn=S(f0,"CrossingsCounter/lambda$4$Type",1954);C(1955,1,Mn,L5t),h.Mb=n(function(t){return Ose(this.a,l(t,12))},"$Mc");var wAn=S(f0,"CrossingsCounter/lambda$5$Type",1955);C(1956,1,Ye,_5t),h.Cd=n(function(t){dkt(this,t)},"bNc");var mAn=S(f0,"CrossingsCounter/lambda$6$Type",1956);C(1957,1,Ye,C8t),h.Cd=n(function(t){var e;H5(),Dd(this.b,(e=this.a,l(t,12),e))},"dNc");var yAn=S(f0,"CrossingsCounter/lambda$7$Type",1957);C(839,1,k1,EU),h.Lb=n(function(t){return H5(),Tr(l(t,12),(Ct(),Bc))},"fNc"),h.Fb=n(function(t){return this===t},"gNc"),h.Mb=n(function(t){return H5(),Tr(l(t,12),(Ct(),Bc))},"hNc");var vAn=S(f0,"CrossingsCounter/lambda$8$Type",839);C(1949,1,{},F5t);var kAn=S(f0,"HyperedgeCrossingsCounter",1949);C(478,1,{34:1,478:1},Bxt),h.Fd=n(function(t){return s5e(this,l(t,478))},"mNc"),h.b=0,h.c=0,h.e=0,h.f=0;var Ksn=S(f0,"HyperedgeCrossingsCounter/Hyperedge",478);C(374,1,{34:1,374:1},OM),h.Fd=n(function(t){return k9e(this,l(t,374))},"pNc"),h.b=0,h.c=0;var Mze=S(f0,"HyperedgeCrossingsCounter/HyperedgeCorner",374);C(531,22,{3:1,34:1,22:1,531:1},AG);var XT,YT,Aze=ln(f0,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",531,mn,hfe,vue),Lze;C(1425,1,Ra,Rmt),h.rg=n(function(t){return l(O(l(t,36),(Ct(),ms)),21).Hc((Oa(),Wl))?_ze:null},"ENc"),h.Kf=n(function(t,e){Fve(this,l(t,36),e)},"FNc");var _ze,xAn=S(za,"InteractiveNodePlacer",1425);C(1426,1,Ra,zmt),h.rg=n(function(t){return l(O(l(t,36),(Ct(),ms)),21).Hc((Oa(),Wl))?Fze:null},"UNc"),h.Kf=n(function(t,e){pye(this,l(t,36),e)},"VNc");var Fze,Xq,Yq,CAn=S(za,"LinearSegmentsNodePlacer",1426);C(261,1,{34:1,261:1},SW),h.Fd=n(function(t){return Uoe(this,l(t,261))},"$Nc"),h.Fb=n(function(t){var e;return J(t,261)?(e=l(t,261),this.b==e.b):!1},"_Nc"),h.Hb=n(function(){return this.b},"aOc"),h.Ib=n(function(){return"ls"+Kd(this.e)},"bOc"),h.a=0,h.b=0,h.c=-1,h.d=-1,h.g=0;var Oze=S(za,"LinearSegmentsNodePlacer/LinearSegment",261);C(1428,1,Ra,JCt),h.rg=n(function(t){return l(O(l(t,36),(Ct(),ms)),21).Hc((Oa(),Wl))?Dze:null},"zOc"),h.Kf=n(function(t,e){WAe(this,l(t,36),e)},"HOc"),h.b=0,h.g=0;var Dze,TAn=S(za,"NetworkSimplexPlacer",1428);C(1447,1,_n,Fft),h.Ne=n(function(t,e){return Ho(l(t,17).a,l(e,17).a)},"JOc"),h.Fb=n(function(t){return this===t},"KOc"),h.Oe=n(function(){return new kn(this)},"LOc");var SAn=S(za,"NetworkSimplexPlacer/0methodref$compare$Type",1447);C(1449,1,_n,Oft),h.Ne=n(function(t,e){return Ho(l(t,17).a,l(e,17).a)},"NOc"),h.Fb=n(function(t){return this===t},"OOc"),h.Oe=n(function(){return new kn(this)},"POc");var EAn=S(za,"NetworkSimplexPlacer/1methodref$compare$Type",1449);C(655,1,{655:1},T8t);var Usn=S(za,"NetworkSimplexPlacer/EdgeRep",655);C(412,1,{412:1},vY),h.b=!1;var Wsn=S(za,"NetworkSimplexPlacer/NodeRep",412);C(515,13,{3:1,4:1,20:1,31:1,56:1,13:1,16:1,15:1,59:1,515:1},Dvt);var BAn=S(za,"NetworkSimplexPlacer/Path",515);C(1429,1,{},Dft),h.Kb=n(function(t){return l(t,18).d.i.k},"XOc");var MAn=S(za,"NetworkSimplexPlacer/Path/lambda$0$Type",1429);C(1430,1,Mn,jft),h.Mb=n(function(t){return l(t,273)==(De(),Di)},"ZOc");var AAn=S(za,"NetworkSimplexPlacer/Path/lambda$1$Type",1430);C(1431,1,{},Ift),h.Kb=n(function(t){return l(t,18).d.i},"_Oc");var LAn=S(za,"NetworkSimplexPlacer/Path/lambda$2$Type",1431);C(1432,1,Mn,O5t),h.Mb=n(function(t){return uxt(bOt(l(t,10)))},"bPc");var _An=S(za,"NetworkSimplexPlacer/Path/lambda$3$Type",1432);C(1433,1,Mn,Pft),h.Mb=n(function(t){return H1e(l(t,12))},"dPc");var FAn=S(za,"NetworkSimplexPlacer/lambda$0$Type",1433);C(1434,1,Ye,S8t),h.Cd=n(function(t){Tce(this.a,this.b,l(t,12))},"fPc");var OAn=S(za,"NetworkSimplexPlacer/lambda$1$Type",1434);C(1443,1,Ye,D5t),h.Cd=n(function(t){Y8e(this.a,l(t,18))},"hPc");var DAn=S(za,"NetworkSimplexPlacer/lambda$10$Type",1443);C(1444,1,{},$ft),h.Kb=n(function(t){return Vc(),new ne(null,new ce(l(t,30).a,16))},"jPc");var jAn=S(za,"NetworkSimplexPlacer/lambda$11$Type",1444);C(1445,1,Ye,j5t),h.Cd=n(function(t){KCe(this.a,l(t,10))},"lPc");var IAn=S(za,"NetworkSimplexPlacer/lambda$12$Type",1445);C(1446,1,{},Nft),h.Kb=n(function(t){return Vc(),Et(l(t,125).e)},"nPc");var PAn=S(za,"NetworkSimplexPlacer/lambda$13$Type",1446);C(1448,1,{},Rft),h.Kb=n(function(t){return Vc(),Et(l(t,125).e)},"pPc");var $An=S(za,"NetworkSimplexPlacer/lambda$15$Type",1448);C(1450,1,Mn,zft),h.Mb=n(function(t){return Vc(),l(t,412).c.k==(De(),ei)},"rPc");var NAn=S(za,"NetworkSimplexPlacer/lambda$17$Type",1450);C(1451,1,Mn,qft),h.Mb=n(function(t){return Vc(),l(t,412).c.j.c.length>1},"tPc");var RAn=S(za,"NetworkSimplexPlacer/lambda$18$Type",1451);C(1452,1,Ye,oSt),h.Cd=n(function(t){A4e(this.c,this.b,this.d,this.a,l(t,412))},"vPc"),h.c=0,h.d=0;var zAn=S(za,"NetworkSimplexPlacer/lambda$19$Type",1452);C(1435,1,{},Hft),h.Kb=n(function(t){return Vc(),new ne(null,new ce(l(t,30).a,16))},"xPc");var qAn=S(za,"NetworkSimplexPlacer/lambda$2$Type",1435);C(1453,1,Ye,I5t),h.Cd=n(function(t){Ece(this.a,l(t,12))},"zPc"),h.a=0;var HAn=S(za,"NetworkSimplexPlacer/lambda$20$Type",1453);C(1454,1,{},Kft),h.Kb=n(function(t){return Vc(),new ne(null,new ce(l(t,30).a,16))},"BPc");var KAn=S(za,"NetworkSimplexPlacer/lambda$21$Type",1454);C(1455,1,Ye,P5t),h.Cd=n(function(t){$ce(this.a,l(t,10))},"DPc");var UAn=S(za,"NetworkSimplexPlacer/lambda$22$Type",1455);C(1456,1,Mn,Uft),h.Mb=n(function(t){return uxt(t)},"GPc");var WAn=S(za,"NetworkSimplexPlacer/lambda$23$Type",1456);C(1457,1,{},Wft),h.Kb=n(function(t){return Vc(),new ne(null,new ce(l(t,30).a,16))},"IPc");var GAn=S(za,"NetworkSimplexPlacer/lambda$24$Type",1457);C(1458,1,Mn,$5t),h.Mb=n(function(t){return Gse(this.a,l(t,10))},"KPc");var VAn=S(za,"NetworkSimplexPlacer/lambda$25$Type",1458);C(1459,1,Ye,E8t),h.Cd=n(function(t){t8e(this.a,this.b,l(t,10))},"MPc");var XAn=S(za,"NetworkSimplexPlacer/lambda$26$Type",1459);C(1460,1,Mn,Gft),h.Mb=n(function(t){return Vc(),!va(l(t,18))},"OPc");var YAn=S(za,"NetworkSimplexPlacer/lambda$27$Type",1460);C(1461,1,Mn,Vft),h.Mb=n(function(t){return Vc(),!va(l(t,18))},"QPc");var QAn=S(za,"NetworkSimplexPlacer/lambda$28$Type",1461);C(1462,1,{},N5t),h.Ve=n(function(t,e){return Sce(this.a,l(t,30),l(e,30))},"SPc");var JAn=S(za,"NetworkSimplexPlacer/lambda$29$Type",1462);C(1436,1,{},Xft),h.Kb=n(function(t){return Vc(),new ne(null,new ag(new We(Ve(ri(l(t,10)).a.Kc(),new et))))},"UPc");var ZAn=S(za,"NetworkSimplexPlacer/lambda$3$Type",1436);C(1437,1,Mn,Yft),h.Mb=n(function(t){return Vc(),ege(l(t,18))},"WPc");var tLn=S(za,"NetworkSimplexPlacer/lambda$4$Type",1437);C(1438,1,Ye,R5t),h.Cd=n(function(t){tEe(this.a,l(t,18))},"YPc");var eLn=S(za,"NetworkSimplexPlacer/lambda$5$Type",1438);C(1439,1,{},Qft),h.Kb=n(function(t){return Vc(),new ne(null,new ce(l(t,30).a,16))},"$Pc");var nLn=S(za,"NetworkSimplexPlacer/lambda$6$Type",1439);C(1440,1,Mn,Jft),h.Mb=n(function(t){return Vc(),l(t,10).k==(De(),ei)},"aQc");var rLn=S(za,"NetworkSimplexPlacer/lambda$7$Type",1440);C(1441,1,{},Zft),h.Kb=n(function(t){return Vc(),new ne(null,new ag(new We(Ve(n0(l(t,10)).a.Kc(),new et))))},"cQc");var iLn=S(za,"NetworkSimplexPlacer/lambda$8$Type",1441);C(1442,1,Mn,tbt),h.Mb=n(function(t){return Vc(),q1e(l(t,18))},"eQc");var aLn=S(za,"NetworkSimplexPlacer/lambda$9$Type",1442);C(1424,1,Ra,qmt),h.rg=n(function(t){return l(O(l(t,36),(Ct(),ms)),21).Hc((Oa(),Wl))?jze:null},"jQc"),h.Kf=n(function(t,e){DEe(l(t,36),e)},"kQc");var jze,oLn=S(za,"SimpleNodePlacer",1424);C(185,1,{185:1},Hw),h.Ib=n(function(){var t;return t="",this.c==($u(),P2)?t+=hv:this.c==nf&&(t+=lv),this.o==(cu(),np)?t+=Mrt:this.o==Qu?t+="UP":t+="BALANCED",t},"tQc");var sLn=S(ib,"BKAlignedLayout",185);C(523,22,{3:1,34:1,22:1,523:1},LG);var nf,P2,Ize=ln(ib,"BKAlignedLayout/HDirection",523,mn,dfe,kue),Pze;C(522,22,{3:1,34:1,22:1,522:1},_G);var np,Qu,$ze=ln(ib,"BKAlignedLayout/VDirection",522,mn,ffe,xue),Nze;C(1699,1,{},B8t);var cLn=S(ib,"BKAligner",1699);C(1702,1,{},NDt);var lLn=S(ib,"BKCompactor",1702);C(663,1,{663:1},ebt),h.a=0;var hLn=S(ib,"BKCompactor/ClassEdge",663);C(467,1,{467:1},_vt),h.a=null,h.b=0;var uLn=S(ib,"BKCompactor/ClassNode",467);C(1427,1,Ra,_8t),h.rg=n(function(t){return l(O(l(t,36),(Ct(),ms)),21).Hc((Oa(),Wl))?Rze:null},"eRc"),h.Kf=n(function(t,e){hLe(this,l(t,36),e)},"fRc"),h.d=!1;var Rze,dLn=S(ib,"BKNodePlacer",1427);C(1700,1,{},nbt),h.d=0;var fLn=S(ib,"NeighborhoodInformation",1700);C(1701,1,_n,z5t),h.Ne=n(function(t,e){return P2e(this,l(t,42),l(e,42))},"nRc"),h.Fb=n(function(t){return this===t},"oRc"),h.Oe=n(function(){return new kn(this)},"pRc");var bLn=S(ib,"NeighborhoodInformation/NeighborComparator",1701);C(823,1,{});var gLn=S(ib,"ThresholdStrategy",823);C(1825,823,{},Fvt),h.wg=n(function(t,e,r){return this.a.o==(cu(),Qu)?Ir:mi},"vRc"),h.xg=n(function(){},"wRc");var pLn=S(ib,"ThresholdStrategy/NullThresholdStrategy",1825);C(587,1,{587:1},F8t),h.c=!1,h.d=!1;var wLn=S(ib,"ThresholdStrategy/Postprocessable",587);C(1826,823,{},Ovt),h.wg=n(function(t,e,r){var i,a,c;return a=e==r,i=this.a.a[r.p]==e,a||i?(c=t,this.a.c==($u(),P2)?(a&&(c=ZN(this,e,!0)),!isNaN(c)&&!isFinite(c)&&i&&(c=ZN(this,r,!1))):(a&&(c=ZN(this,e,!0)),!isNaN(c)&&!isFinite(c)&&i&&(c=ZN(this,r,!1))),c):t},"CRc"),h.xg=n(function(){for(var t,e,r,i,a;this.d.b!=0;)a=l(Mfe(this.d),587),i=uNt(this,a),i.a&&(t=i.a,r=jt(this.a.f[this.a.g[a.b.p].p]),!(!r&&!va(t)&&t.c.i.c==t.d.i.c)&&(e=pPt(this,a),e||Yse(this.e,a)));for(;this.e.a.c.length!=0;)pPt(this,l(wFt(this.e),587))},"DRc");var mLn=S(ib,"ThresholdStrategy/SimpleThresholdStrategy",1826);C(645,1,{645:1,188:1,196:1},rbt),h.dg=n(function(){return E_t(this)},"JRc"),h.qg=n(function(){return E_t(this)},"IRc");var $st,yLn=S(Eit,"EdgeRouterFactory",645);C(1485,1,Ra,Hmt),h.rg=n(function(t){return vCe(l(t,36))},"XRc"),h.Kf=n(function(t,e){REe(l(t,36),e)},"YRc");var zze,qze,Hze,Kze,Uze,tYt,Wze,Gze,vLn=S(Eit,"OrthogonalEdgeRouter",1485);C(1478,1,Ra,L8t),h.rg=n(function(t){return qve(l(t,36))},"mSc"),h.Kf=n(function(t,e){hAe(this,l(t,36),e)},"nSc");var Vze,Xze,Yze,Qze,wF,Jze,kLn=S(Eit,"PolylineEdgeRouter",1478);C(1479,1,k1,abt),h.Lb=n(function(t){return wJ(l(t,10))},"qSc"),h.Fb=n(function(t){return this===t},"rSc"),h.Mb=n(function(t){return wJ(l(t,10))},"sSc");var xLn=S(Eit,"PolylineEdgeRouter/1",1479);C(1872,1,Mn,obt),h.Mb=n(function(t){return l(t,132).c==(Ih(),bb)},"ySc");var CLn=S(yu,"HyperEdgeCycleDetector/lambda$0$Type",1872);C(1873,1,{},sbt),h.Ze=n(function(t){return l(t,132).d},"ASc");var TLn=S(yu,"HyperEdgeCycleDetector/lambda$1$Type",1873);C(1874,1,Mn,cbt),h.Mb=n(function(t){return l(t,132).c==(Ih(),bb)},"CSc");var SLn=S(yu,"HyperEdgeCycleDetector/lambda$2$Type",1874);C(1875,1,{},lbt),h.Ze=n(function(t){return l(t,132).d},"ESc");var ELn=S(yu,"HyperEdgeCycleDetector/lambda$3$Type",1875);C(1876,1,{},hbt),h.Ze=n(function(t){return l(t,132).d},"GSc");var BLn=S(yu,"HyperEdgeCycleDetector/lambda$4$Type",1876);C(1877,1,{},ibt),h.Ze=n(function(t){return l(t,132).d},"ISc");var MLn=S(yu,"HyperEdgeCycleDetector/lambda$5$Type",1877);C(118,1,{34:1,118:1},Vx),h.Fd=n(function(t){return Woe(this,l(t,118))},"VSc"),h.Fb=n(function(t){var e;return J(t,118)?(e=l(t,118),this.g==e.g):!1},"WSc"),h.Hb=n(function(){return this.g},"XSc"),h.Ib=n(function(){var t,e,r,i;for(t=new Wc("{"),i=new N(this.n);i.a"+this.b+" ("+ule(this.c)+")"},"cTc"),h.d=0;var LLn=S(yu,"HyperEdgeSegmentDependency",132);C(528,22,{3:1,34:1,22:1,528:1},FG);var bb,Cm,Zze=ln(yu,"HyperEdgeSegmentDependency/DependencyType",528,mn,bfe,Cue),tqe;C(1878,1,{},q5t);var _Ln=S(yu,"HyperEdgeSegmentSplitter",1878);C(1879,1,{},D6t),h.a=0,h.b=0;var FLn=S(yu,"HyperEdgeSegmentSplitter/AreaRating",1879);C(339,1,{339:1},Zj),h.a=0,h.b=0,h.c=0;var OLn=S(yu,"HyperEdgeSegmentSplitter/FreeArea",339);C(1880,1,_n,ubt),h.Ne=n(function(t,e){return uhe(l(t,118),l(e,118))},"DTc"),h.Fb=n(function(t){return this===t},"ETc"),h.Oe=n(function(){return new kn(this)},"FTc");var DLn=S(yu,"HyperEdgeSegmentSplitter/lambda$0$Type",1880);C(1881,1,Ye,sSt),h.Cd=n(function(t){Nge(this.a,this.d,this.c,this.b,l(t,118))},"HTc"),h.b=0;var jLn=S(yu,"HyperEdgeSegmentSplitter/lambda$1$Type",1881);C(1882,1,{},dbt),h.Kb=n(function(t){return new ne(null,new ce(l(t,118).e,16))},"JTc");var ILn=S(yu,"HyperEdgeSegmentSplitter/lambda$2$Type",1882);C(1883,1,{},fbt),h.Kb=n(function(t){return new ne(null,new ce(l(t,118).j,16))},"LTc");var PLn=S(yu,"HyperEdgeSegmentSplitter/lambda$3$Type",1883);C(1884,1,{},bbt),h.Ye=n(function(t){return it(lt(t))},"NTc");var $Ln=S(yu,"HyperEdgeSegmentSplitter/lambda$4$Type",1884);C(664,1,{},TI),h.a=0,h.b=0,h.c=0;var NLn=S(yu,"OrthogonalRoutingGenerator",664);C(1703,1,{},gbt),h.Kb=n(function(t){return new ne(null,new ce(l(t,118).e,16))},"YTc");var RLn=S(yu,"OrthogonalRoutingGenerator/lambda$0$Type",1703);C(1704,1,{},pbt),h.Kb=n(function(t){return new ne(null,new ce(l(t,118).j,16))},"$Tc");var zLn=S(yu,"OrthogonalRoutingGenerator/lambda$1$Type",1704);C(670,1,{});var qLn=S(Bit,"BaseRoutingDirectionStrategy",670);C(1870,670,{},Pvt),h.yg=n(function(t,e,r){var i,a,c,u,d,b,w,m,x,E,A,_,D;if(!(t.r&&!t.q))for(m=e+t.o*r,w=new N(t.n);w.aC1&&(c=m,a=t,i=new xt(x,c),Fn(u.a,i),_g(this,u,a,i,!1),E=t.r,E&&(A=it(lt(vl(E.e,0))),i=new xt(A,c),Fn(u.a,i),_g(this,u,a,i,!1),c=e+E.o*r,a=E,i=new xt(A,c),Fn(u.a,i),_g(this,u,a,i,!1)),i=new xt(D,c),Fn(u.a,i),_g(this,u,a,i,!1)))},"dUc"),h.zg=n(function(t){return t.i.n.a+t.n.a+t.a.a},"eUc"),h.Ag=n(function(){return At(),on},"fUc"),h.Bg=n(function(){return At(),Fe},"gUc");var HLn=S(Bit,"NorthToSouthRoutingStrategy",1870);C(1871,670,{},$vt),h.yg=n(function(t,e,r){var i,a,c,u,d,b,w,m,x,E,A,_,D;if(!(t.r&&!t.q))for(m=e-t.o*r,w=new N(t.n);w.aC1&&(c=m,a=t,i=new xt(x,c),Fn(u.a,i),_g(this,u,a,i,!1),E=t.r,E&&(A=it(lt(vl(E.e,0))),i=new xt(A,c),Fn(u.a,i),_g(this,u,a,i,!1),c=e-E.o*r,a=E,i=new xt(A,c),Fn(u.a,i),_g(this,u,a,i,!1)),i=new xt(D,c),Fn(u.a,i),_g(this,u,a,i,!1)))},"iUc"),h.zg=n(function(t){return t.i.n.a+t.n.a+t.a.a},"jUc"),h.Ag=n(function(){return At(),Fe},"kUc"),h.Bg=n(function(){return At(),on},"lUc");var KLn=S(Bit,"SouthToNorthRoutingStrategy",1871);C(1869,670,{},Nvt),h.yg=n(function(t,e,r){var i,a,c,u,d,b,w,m,x,E,A,_,D;if(!(t.r&&!t.q))for(m=e+t.o*r,w=new N(t.n);w.aC1&&(c=m,a=t,i=new xt(c,x),Fn(u.a,i),_g(this,u,a,i,!0),E=t.r,E&&(A=it(lt(vl(E.e,0))),i=new xt(c,A),Fn(u.a,i),_g(this,u,a,i,!0),c=e+E.o*r,a=E,i=new xt(c,A),Fn(u.a,i),_g(this,u,a,i,!0)),i=new xt(c,D),Fn(u.a,i),_g(this,u,a,i,!0)))},"nUc"),h.zg=n(function(t){return t.i.n.b+t.n.b+t.a.b},"oUc"),h.Ag=n(function(){return At(),qe},"pUc"),h.Bg=n(function(){return At(),je},"qUc");var ULn=S(Bit,"WestToEastRoutingStrategy",1869);C(828,1,{},pnt),h.Ib=n(function(){return Kd(this.a)},"xUc"),h.b=0,h.c=!1,h.d=!1,h.f=0;var WLn=S(Zw,"NubSpline",828);C(418,1,{418:1},XPt,NSt);var GLn=S(Zw,"NubSpline/PolarCP",418);C(1480,1,Ra,_Dt),h.rg=n(function(t){return _6e(l(t,36))},"XUc"),h.Kf=n(function(t,e){AAe(this,l(t,36),e)},"YUc");var eqe,nqe,rqe,iqe,aqe,VLn=S(Zw,"SplineEdgeRouter",1480);C(274,1,{274:1},nA),h.Ib=n(function(){return this.a+" ->("+this.c+") "+this.b},"aVc"),h.c=0;var XLn=S(Zw,"SplineEdgeRouter/Dependency",274);C(465,22,{3:1,34:1,22:1,465:1},OG);var gb,B4,oqe=ln(Zw,"SplineEdgeRouter/SideToProcess",465,mn,vfe,Tue),sqe;C(1481,1,Mn,wbt),h.Mb=n(function(t){return m8(),!l(t,131).o},"kVc");var YLn=S(Zw,"SplineEdgeRouter/lambda$0$Type",1481);C(1482,1,{},mbt),h.Ze=n(function(t){return m8(),l(t,131).v+1},"mVc");var QLn=S(Zw,"SplineEdgeRouter/lambda$1$Type",1482);C(1483,1,Ye,O8t),h.Cd=n(function(t){W1e(this.a,this.b,l(t,42))},"oVc");var JLn=S(Zw,"SplineEdgeRouter/lambda$2$Type",1483);C(1484,1,Ye,D8t),h.Cd=n(function(t){G1e(this.a,this.b,l(t,42))},"qVc");var ZLn=S(Zw,"SplineEdgeRouter/lambda$3$Type",1484);C(131,1,{34:1,131:1},lIt,xnt),h.Fd=n(function(t){return Xoe(this,l(t,131))},"yVc"),h.b=0,h.e=!1,h.f=0,h.g=0,h.j=!1,h.k=!1,h.n=0,h.o=!1,h.p=!1,h.q=!1,h.s=0,h.u=0,h.v=0,h.F=0;var t_n=S(Zw,"SplineSegment",131);C(468,1,{468:1},ybt),h.a=0,h.b=!1,h.c=!1,h.d=!1,h.e=!1,h.f=0;var e_n=S(Zw,"SplineSegment/EdgeInformation",468);C(1198,1,{},vbt);var n_n=S(sd,Rzt,1198);C(1199,1,_n,kbt),h.Ne=n(function(t,e){return fke(l(t,121),l(e,121))},"LVc"),h.Fb=n(function(t){return this===t},"MVc"),h.Oe=n(function(){return new kn(this)},"NVc");var r_n=S(sd,v_e,1199);C(1197,1,{},Y6t);var i_n=S(sd,"MrTree",1197);C(405,22,{3:1,34:1,22:1,405:1,188:1,196:1},EB),h.dg=n(function(){return LIt(this)},"aWc"),h.qg=n(function(){return LIt(this)},"_Vc");var Qq,QT,JT,ZT,eYt=ln(sd,"TreeLayoutPhases",405,mn,xge,Sue),cqe;C(1112,205,$g,Sxt),h.rf=n(function(t,e){var r,i,a,c,u,d,b,w;for(jt(Dt(yt(t,(Lo(),EYt))))||vx((r=new C6((Gb(),new Nb(t))),r)),u=e.eh(Lit),u.Ug("build tGraph",1),d=(b=new Ax,ao(b,t),wt(b,(yr(),eS),t),w=new sn,aSe(t,b,w),SSe(t,b,w),b),u.Vg(),u=e.eh(Lit),u.Ug("Split graph",1),c=dSe(this.a,d),u.Vg(),a=new N(c);a.a"+$f(this.c):"e_"+kr(this)},"XWc");var m_n=S(aT,"TEdge",65);C(121,137,{3:1,121:1,96:1,137:1},Ax),h.Ib=n(function(){var t,e,r,i,a;for(a=null,i=hn(this.b,0);i.b!=i.d.c;)r=l(cn(i),40),a+=(r.c==null||r.c.length==0?"n_"+r.g:"n_"+r.c)+` +`;for(e=hn(this.a,0);e.b!=e.d.c;)t=l(cn(e),65),a+=(t.b&&t.c?$f(t.b)+"->"+$f(t.c):"e_"+kr(t))+` +`;return a},"ZWc");var Gsn=S(aT,"TGraph",121);C(643,508,{3:1,508:1,643:1,96:1,137:1});var y_n=S(aT,"TShape",643);C(40,643,{3:1,508:1,40:1,643:1,96:1,137:1},n$),h.Ib=n(function(){return $f(this)},"cXc");var Jq=S(aT,"TNode",40);C(236,1,c0,R1),h.Jc=n(function(t){Ji(this,t)},"eXc"),h.Kc=n(function(){var t;return t=hn(this.a.d,0),new nw(t)},"fXc");var v_n=S(aT,"TNode/2",236);C(329,1,zi,nw),h.Nb=n(function(t){Yi(this,t)},"hXc"),h.Pb=n(function(){return l(cn(this.a),65).c},"jXc"),h.Ob=n(function(){return T9(this.a)},"iXc"),h.Qb=n(function(){LP(this.a)},"kXc");var k_n=S(aT,"TNode/2/1",329);C(1923,1,Mr,Mbt),h.Kf=n(function(t,e){aLe(this,l(t,121),e)},"DXc");var x_n=S(gs,"CompactionProcessor",1923);C(1924,1,_n,G5t),h.Ne=n(function(t,e){return Uwe(this.a,l(t,40),l(e,40))},"FXc"),h.Fb=n(function(t){return this===t},"GXc"),h.Oe=n(function(){return new kn(this)},"HXc");var C_n=S(gs,"CompactionProcessor/lambda$0$Type",1924);C(1925,1,Mn,I8t),h.Mb=n(function(t){return Qde(this.b,this.a,l(t,42))},"JXc"),h.a=0,h.b=0;var T_n=S(gs,"CompactionProcessor/lambda$1$Type",1925);C(1934,1,_n,Abt),h.Ne=n(function(t,e){return q0e(l(t,40),l(e,40))},"LXc"),h.Fb=n(function(t){return this===t},"MXc"),h.Oe=n(function(){return new kn(this)},"NXc");var S_n=S(gs,"CompactionProcessor/lambda$10$Type",1934);C(1935,1,_n,Lbt),h.Ne=n(function(t,e){return nle(l(t,40),l(e,40))},"PXc"),h.Fb=n(function(t){return this===t},"QXc"),h.Oe=n(function(){return new kn(this)},"RXc");var E_n=S(gs,"CompactionProcessor/lambda$11$Type",1935);C(1936,1,_n,_bt),h.Ne=n(function(t,e){return H0e(l(t,40),l(e,40))},"TXc"),h.Fb=n(function(t){return this===t},"UXc"),h.Oe=n(function(){return new kn(this)},"VXc");var B_n=S(gs,"CompactionProcessor/lambda$12$Type",1936);C(1926,1,Mn,V5t),h.Mb=n(function(t){return Nce(this.a,l(t,42))},"XXc"),h.a=0;var M_n=S(gs,"CompactionProcessor/lambda$2$Type",1926);C(1927,1,Mn,X5t),h.Mb=n(function(t){return Rce(this.a,l(t,42))},"ZXc"),h.a=0;var A_n=S(gs,"CompactionProcessor/lambda$3$Type",1927);C(1928,1,Mn,Fbt),h.Mb=n(function(t){return l(t,40).c.indexOf(VR)==-1},"_Xc");var L_n=S(gs,"CompactionProcessor/lambda$4$Type",1928);C(1929,1,{},Y5t),h.Kb=n(function(t){return Zbe(this.a,l(t,40))},"bYc"),h.a=0;var __n=S(gs,"CompactionProcessor/lambda$5$Type",1929);C(1930,1,{},Q5t),h.Kb=n(function(t){return s2e(this.a,l(t,40))},"dYc"),h.a=0;var F_n=S(gs,"CompactionProcessor/lambda$6$Type",1930);C(1931,1,_n,J5t),h.Ne=n(function(t,e){return mpe(this.a,l(t,240),l(e,240))},"fYc"),h.Fb=n(function(t){return this===t},"gYc"),h.Oe=n(function(){return new kn(this)},"hYc");var O_n=S(gs,"CompactionProcessor/lambda$7$Type",1931);C(1932,1,_n,Z5t),h.Ne=n(function(t,e){return ype(this.a,l(t,40),l(e,40))},"jYc"),h.Fb=n(function(t){return this===t},"kYc"),h.Oe=n(function(){return new kn(this)},"lYc");var D_n=S(gs,"CompactionProcessor/lambda$8$Type",1932);C(1933,1,_n,Obt),h.Ne=n(function(t,e){return rle(l(t,40),l(e,40))},"nYc"),h.Fb=n(function(t){return this===t},"oYc"),h.Oe=n(function(){return new kn(this)},"pYc");var j_n=S(gs,"CompactionProcessor/lambda$9$Type",1933);C(1921,1,Mr,Dbt),h.Kf=n(function(t,e){tTe(l(t,121),e)},"sYc");var I_n=S(gs,"DirectionProcessor",1921);C(1913,1,Mr,Txt),h.Kf=n(function(t,e){CSe(this,l(t,121),e)},"xYc");var P_n=S(gs,"FanProcessor",1913);C(1937,1,Mr,jbt),h.Kf=n(function(t,e){qCe(l(t,121),e)},"CYc");var $_n=S(gs,"GraphBoundsProcessor",1937);C(1938,1,{},Ibt),h.Ye=n(function(t){return l(t,40).e.a},"EYc");var N_n=S(gs,"GraphBoundsProcessor/lambda$0$Type",1938);C(1939,1,{},Pbt),h.Ye=n(function(t){return l(t,40).e.b},"GYc");var R_n=S(gs,"GraphBoundsProcessor/lambda$1$Type",1939);C(1940,1,{},$bt),h.Ye=n(function(t){return xse(l(t,40))},"IYc");var z_n=S(gs,"GraphBoundsProcessor/lambda$2$Type",1940);C(1941,1,{},Nbt),h.Ye=n(function(t){return kse(l(t,40))},"KYc");var q_n=S(gs,"GraphBoundsProcessor/lambda$3$Type",1941);C(262,22,{3:1,34:1,22:1,262:1,196:1},Vb),h.dg=n(function(){switch(this.g){case 0:return new Zvt;case 1:return new Txt;case 2:return new Jvt;case 3:return new Kbt;case 4:return new zbt;case 8:return new Rbt;case 5:return new Dbt;case 6:return new Wbt;case 7:return new Mbt;case 9:return new jbt;case 10:return new Gbt;default:throw R(new Le(Wrt+(this.f!=null?this.f:""+this.g)))}},"YYc");var nYt,rYt,iYt,aYt,oYt,sYt,cYt,lYt,hYt,uYt,Nst,Vsn=ln(gs,Grt,262,mn,m_t,Eue),lqe;C(1920,1,Mr,Rbt),h.Kf=n(function(t,e){nAe(l(t,121),e)},"dZc");var H_n=S(gs,"LevelCoordinatesProcessor",1920);C(1918,1,Mr,zbt),h.Kf=n(function(t,e){xxe(this,l(t,121),e)},"hZc"),h.a=0;var K_n=S(gs,"LevelHeightProcessor",1918);C(1919,1,c0,qbt),h.Jc=n(function(t){Ji(this,t)},"jZc"),h.Kc=n(function(){return de(),j5(),rk},"kZc");var U_n=S(gs,"LevelHeightProcessor/1",1919);C(1914,1,Mr,Jvt),h.Kf=n(function(t,e){ICe(this,l(t,121),e)},"oZc");var W_n=S(gs,"LevelProcessor",1914);C(1915,1,Mn,Hbt),h.Mb=n(function(t){return jt(Dt(O(l(t,40),(yr(),pb))))},"qZc");var G_n=S(gs,"LevelProcessor/lambda$0$Type",1915);C(1916,1,Mr,Kbt),h.Kf=n(function(t,e){y8e(this,l(t,121),e)},"uZc"),h.a=0;var V_n=S(gs,"NeighborsProcessor",1916);C(1917,1,c0,Ubt),h.Jc=n(function(t){Ji(this,t)},"wZc"),h.Kc=n(function(){return de(),j5(),rk},"xZc");var X_n=S(gs,"NeighborsProcessor/1",1917);C(1922,1,Mr,Wbt),h.Kf=n(function(t,e){xSe(this,l(t,121),e)},"BZc"),h.a=0;var Y_n=S(gs,"NodePositionProcessor",1922);C(1912,1,Mr,Zvt),h.Kf=n(function(t,e){iBe(this,l(t,121),e)},"EZc");var Q_n=S(gs,"RootProcessor",1912);C(1942,1,Mr,Gbt),h.Kf=n(function(t,e){Z5e(l(t,121),e)},"HZc");var J_n=S(gs,"Untreeifyer",1942);C(392,22,{3:1,34:1,22:1,392:1},bj);var mF,Rst,dYt,fYt=ln(L_,"EdgeRoutingMode",392,mn,gbe,Bue),hqe,yF,Ek,zst,bYt,gYt,qst,Hst,pYt,Kst,wYt,Ust,tS,Wst,Zq,tH,Gh,Cu,Bk,eS,nS,rf,mYt,uqe,Gst,pb,vF,kF;C(862,1,ph,Kmt),h.hf=n(function(t){Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,THt),""),uFe),"Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level"),(Se(),!1)),(ed(),Li)),ti),Jt((zh(),ve))))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,SHt),""),"Edge End Texture Length"),"Should be set to the length of the texture at the end of an edge. This value can be used to improve the Edge Routing."),7),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,EHt),""),"Tree Level"),"The index for the tree level the node is in"),Et(0)),Bo),ia),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,BHt),""),uFe),"When set to a positive number this option will force the algorithm to place the node to the specified position within the trees layer if weighting is set to constraint"),Et(-1)),Bo),ia),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,MHt),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),kYt),Pr),OYt),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,AHt),""),"Edge Routing Mode"),"Chooses an Edge Routing algorithm."),yYt),Pr),fYt),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,LHt),""),"Search Order"),"Which search order to use when computing a spanning tree."),vYt),Pr),jYt),Jt(ve)))),RRt((new Gmt,t))},"D$c");var dqe,fqe,bqe,yYt,gqe,pqe,vYt,wqe,mqe,kYt,Z_n=S(L_,"MrTreeMetaDataProvider",862);C(1006,1,ph,Gmt),h.hf=n(function(t){RRt(t)},"k_c");var yqe,xYt,CYt,$2,TYt,SYt,Vst,vqe,kqe,xqe,Cqe,Tqe,Sqe,Eqe,EYt,BYt,MYt,Bqe,M4,eH,AYt,Mqe,LYt,Xst,Aqe,Lqe,_qe,_Yt,Fqe,F1,FYt,tFn=S(L_,"MrTreeOptions",1006);C(1007,1,{},Vbt),h.sf=n(function(){var t;return t=new Sxt,t},"m_c"),h.tf=n(function(t){},"n_c");var eFn=S(L_,"MrTreeOptions/MrtreeFactory",1007);C(353,22,{3:1,34:1,22:1,353:1},BB);var Yst,nH,Qst,Jst,OYt=ln(L_,"OrderWeighting",353,mn,Cge,Mue),Oqe;C(433,22,{3:1,34:1,22:1,433:1},DG);var DYt,Zst,jYt=ln(L_,"TreeifyingOrder",433,mn,mfe,Aue),Dqe;C(1486,1,Ra,Vmt),h.rg=n(function(t){return l(t,121),jqe},"O_c"),h.Kf=n(function(t,e){Owe(this,l(t,121),e)},"P_c");var jqe,nFn=S("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1486);C(1487,1,Ra,Xmt),h.rg=n(function(t){return l(t,121),Iqe},"W_c"),h.Kf=n(function(t,e){RCe(this,l(t,121),e)},"$_c");var Iqe,rFn=S(K8,"NodeOrderer",1487);C(1494,1,{},hgt),h.td=n(function(t){return _Ct(t)},"b0c");var iFn=S(K8,"NodeOrderer/0methodref$lambda$6$Type",1494);C(1488,1,Mn,ugt),h.Mb=n(function(t){return j3(),jt(Dt(O(l(t,40),(yr(),pb))))},"d0c");var aFn=S(K8,"NodeOrderer/lambda$0$Type",1488);C(1489,1,Mn,dgt),h.Mb=n(function(t){return j3(),l(O(l(t,40),(Lo(),M4)),17).a<0},"f0c");var oFn=S(K8,"NodeOrderer/lambda$1$Type",1489);C(1490,1,Mn,eyt),h.Mb=n(function(t){return cwe(this.a,l(t,40))},"h0c");var sFn=S(K8,"NodeOrderer/lambda$2$Type",1490);C(1491,1,Mn,tyt),h.Mb=n(function(t){return nge(this.a,l(t,40))},"j0c");var cFn=S(K8,"NodeOrderer/lambda$3$Type",1491);C(1492,1,_n,fgt),h.Ne=n(function(t,e){return _2e(l(t,40),l(e,40))},"l0c"),h.Fb=n(function(t){return this===t},"m0c"),h.Oe=n(function(){return new kn(this)},"n0c");var lFn=S(K8,"NodeOrderer/lambda$4$Type",1492);C(1493,1,Mn,bgt),h.Mb=n(function(t){return j3(),l(O(l(t,40),(yr(),Hst)),17).a!=0},"p0c");var hFn=S(K8,"NodeOrderer/lambda$5$Type",1493);C(1495,1,Ra,Wmt),h.rg=n(function(t){return l(t,121),Pqe},"y0c"),h.Kf=n(function(t,e){VTe(this,l(t,121),e)},"z0c"),h.b=0;var Pqe,uFn=S("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1495);C(1496,1,Ra,Umt),h.rg=n(function(t){return l(t,121),$qe},"K0c"),h.Kf=n(function(t,e){LTe(l(t,121),e)},"Y0c");var $qe,dFn=S(rl,"EdgeRouter",1496);C(1498,1,_n,lgt),h.Ne=n(function(t,e){return Ho(l(t,17).a,l(e,17).a)},"$0c"),h.Fb=n(function(t){return this===t},"_0c"),h.Oe=n(function(){return new kn(this)},"a1c");var fFn=S(rl,"EdgeRouter/0methodref$compare$Type",1498);C(1503,1,{},Ybt),h.Ye=n(function(t){return it(lt(t))},"c1c");var bFn=S(rl,"EdgeRouter/1methodref$doubleValue$Type",1503);C(1505,1,_n,Qbt),h.Ne=n(function(t,e){return pr(it(lt(t)),it(lt(e)))},"e1c"),h.Fb=n(function(t){return this===t},"f1c"),h.Oe=n(function(){return new kn(this)},"g1c");var gFn=S(rl,"EdgeRouter/2methodref$compare$Type",1505);C(1507,1,_n,Jbt),h.Ne=n(function(t,e){return pr(it(lt(t)),it(lt(e)))},"i1c"),h.Fb=n(function(t){return this===t},"j1c"),h.Oe=n(function(){return new kn(this)},"k1c");var pFn=S(rl,"EdgeRouter/3methodref$compare$Type",1507);C(1509,1,{},Xbt),h.Ye=n(function(t){return it(lt(t))},"m1c");var wFn=S(rl,"EdgeRouter/4methodref$doubleValue$Type",1509);C(1511,1,_n,Zbt),h.Ne=n(function(t,e){return pr(it(lt(t)),it(lt(e)))},"o1c"),h.Fb=n(function(t){return this===t},"p1c"),h.Oe=n(function(){return new kn(this)},"q1c");var mFn=S(rl,"EdgeRouter/5methodref$compare$Type",1511);C(1513,1,_n,tgt),h.Ne=n(function(t,e){return pr(it(lt(t)),it(lt(e)))},"s1c"),h.Fb=n(function(t){return this===t},"t1c"),h.Oe=n(function(){return new kn(this)},"u1c");var yFn=S(rl,"EdgeRouter/6methodref$compare$Type",1513);C(1497,1,{},egt),h.Kb=n(function(t){return J1(),l(O(l(t,40),(Lo(),F1)),17)},"w1c");var vFn=S(rl,"EdgeRouter/lambda$0$Type",1497);C(1508,1,{},ngt),h.Kb=n(function(t){return ple(l(t,40))},"y1c");var kFn=S(rl,"EdgeRouter/lambda$11$Type",1508);C(1510,1,{},P8t),h.Kb=n(function(t){return K1e(this.b,this.a,l(t,40))},"A1c"),h.a=0,h.b=0;var xFn=S(rl,"EdgeRouter/lambda$13$Type",1510);C(1512,1,{},$8t),h.Kb=n(function(t){return wle(this.b,this.a,l(t,40))},"C1c"),h.a=0,h.b=0;var CFn=S(rl,"EdgeRouter/lambda$15$Type",1512);C(1514,1,_n,rgt),h.Ne=n(function(t,e){return A5e(l(t,65),l(e,65))},"E1c"),h.Fb=n(function(t){return this===t},"F1c"),h.Oe=n(function(){return new kn(this)},"G1c");var TFn=S(rl,"EdgeRouter/lambda$17$Type",1514);C(1515,1,_n,igt),h.Ne=n(function(t,e){return L5e(l(t,65),l(e,65))},"I1c"),h.Fb=n(function(t){return this===t},"J1c"),h.Oe=n(function(){return new kn(this)},"K1c");var SFn=S(rl,"EdgeRouter/lambda$18$Type",1515);C(1516,1,_n,agt),h.Ne=n(function(t,e){return F5e(l(t,65),l(e,65))},"M1c"),h.Fb=n(function(t){return this===t},"N1c"),h.Oe=n(function(){return new kn(this)},"O1c");var EFn=S(rl,"EdgeRouter/lambda$19$Type",1516);C(1499,1,Mn,nyt),h.Mb=n(function(t){return Ofe(this.a,l(t,40))},"Q1c"),h.a=0;var BFn=S(rl,"EdgeRouter/lambda$2$Type",1499);C(1517,1,_n,ogt),h.Ne=n(function(t,e){return _5e(l(t,65),l(e,65))},"S1c"),h.Fb=n(function(t){return this===t},"T1c"),h.Oe=n(function(){return new kn(this)},"U1c");var MFn=S(rl,"EdgeRouter/lambda$20$Type",1517);C(1500,1,_n,sgt),h.Ne=n(function(t,e){return L1e(l(t,40),l(e,40))},"W1c"),h.Fb=n(function(t){return this===t},"X1c"),h.Oe=n(function(){return new kn(this)},"Y1c");var AFn=S(rl,"EdgeRouter/lambda$3$Type",1500);C(1501,1,_n,cgt),h.Ne=n(function(t,e){return _1e(l(t,40),l(e,40))},"$1c"),h.Fb=n(function(t){return this===t},"_1c"),h.Oe=n(function(){return new kn(this)},"a2c");var LFn=S(rl,"EdgeRouter/lambda$4$Type",1501);C(1502,1,{},ggt),h.Kb=n(function(t){return mle(l(t,40))},"c2c");var _Fn=S(rl,"EdgeRouter/lambda$5$Type",1502);C(1504,1,{},N8t),h.Kb=n(function(t){return U1e(this.b,this.a,l(t,40))},"e2c"),h.a=0,h.b=0;var FFn=S(rl,"EdgeRouter/lambda$7$Type",1504);C(1506,1,{},R8t),h.Kb=n(function(t){return yle(this.b,this.a,l(t,40))},"g2c"),h.a=0,h.b=0;var OFn=S(rl,"EdgeRouter/lambda$9$Type",1506);C(675,1,{675:1},yDt),h.e=0,h.f=!1,h.g=!1;var DFn=S(rl,"MultiLevelEdgeNodeNodeGap",675);C(1943,1,_n,pgt),h.Ne=n(function(t,e){return Hfe(l(t,240),l(e,240))},"m2c"),h.Fb=n(function(t){return this===t},"n2c"),h.Oe=n(function(){return new kn(this)},"o2c");var jFn=S(rl,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1943);C(1944,1,_n,wgt),h.Ne=n(function(t,e){return Kfe(l(t,240),l(e,240))},"q2c"),h.Fb=n(function(t){return this===t},"r2c"),h.Oe=n(function(){return new kn(this)},"s2c");var IFn=S(rl,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1944),A4;C(501,22,{3:1,34:1,22:1,501:1,188:1,196:1},jG),h.dg=n(function(){return aOt(this)},"B2c"),h.qg=n(function(){return aOt(this)},"A2c");var rH,L4,IYt=ln(_Ht,"RadialLayoutPhases",501,mn,ufe,Lue),Nqe;C(1113,205,$g,X6t),h.rf=n(function(t,e){var r,i,a,c,u,d;if(r=KPt(this,t),e.Ug("Radial layout",r.c.length),jt(Dt(yt(t,(Wd(),GYt))))||vx((i=new C6((Gb(),new Nb(t))),i)),d=D6e(t),fr(t,(vw(),A4),d),!d)throw R(new Le("The given graph is not a tree!"));for(a=it(lt(yt(t,oH))),a==0&&(a=TIt(t)),fr(t,oH,a),u=new N(KPt(this,t));u.a=3)for(vt=l(Z(Y,0),27),gt=l(Z(Y,1),27),c=0;c+2=vt.f+gt.f+m||gt.f>=rt.f+vt.f+m){zt=!0;break}else++c;else zt=!0;if(!zt){for(E=Y.i,d=new ze(Y);d.e!=d.i.gc();)u=l(Xe(d),27),fr(u,($n(),jF),Et(E)),--E;vNt(t,new e3),e.Vg();return}for(r=(gx(this.a),Dh(this.a,(nL(),CF),l(yt(t,xQt),188)),Dh(this.a,sH,l(yt(t,pQt),188)),Dh(this.a,uct,l(yt(t,yQt),188)),ZG(this.a,(ye=new li,In(ye,CF,(fL(),bct)),In(ye,sH,fct),jt(Dt(yt(t,bQt)))&&In(ye,CF,dct),ye)),zC(this.a,t)),w=1/r.c.length,_t=0,_=new N(r);_.a<_.c.c.length;){if(A=l(P(_),47),e.$g())return;A.Kf(t,e.eh(w)),++_t}for(I=0,D=0,X=new ze(Y);X.e!=X.i.gc();)K=l(Xe(X),27),I=v.Math.max(I,K.i+K.g),D=v.Math.max(D,K.j+K.f);Qtt(t,new xt(it(lt(yt(t,(m1(),Fv)))),it(lt(yt(t,Mk)))),new xt(I,D)),Qwe(Y,x),b||Og(t,it(lt(yt(t,Fv)))+(x.b+x.c),it(lt(yt(t,Mk)))+(x.d+x.a),!1,!0),jt(Dt(yt(t,mct)))||vx((i=new C6((Gb(),new Nb(t))),i)),e.Vg()},"n6c");var oOn=S(kFe,"RectPackingLayoutProvider",1118);C(1518,1,Mr,Ogt),h.Kf=n(function(t,e){_Ee(l(t,27),e)},"r6c");var sOn=S(JR,"InteractiveNodeReorderer",1518);C(1519,1,_n,Dgt),h.Ne=n(function(t,e){return Pme(l(t,27),l(e,27))},"t6c"),h.Fb=n(function(t){return this===t},"u6c"),h.Oe=n(function(){return new kn(this)},"v6c");var cOn=S(JR,"InteractiveNodeReorderer/lambda$0$Type",1519);C(456,22,{3:1,34:1,22:1,456:1,196:1},mj),h.dg=n(function(){switch(this.g){case 0:return new Ogt;case 1:return new Igt;case 2:return new jgt}return null},"B6c");var dct,fct,bct,dHe=ln(JR,Grt,456,mn,xbe,Pue),fHe;C(1521,1,Mr,jgt),h.Kf=n(function(t,e){Q4e(l(t,27),e)},"I6c");var lOn=S(JR,"MinSizePostProcessor",1521);C(1520,1,Mr,Igt),h.Kf=n(function(t,e){Xme(l(t,27),e)},"L6c");var hOn=S(JR,"MinSizePreProcessor",1520),rS,Mk,Fv,bHe,gHe,cH,gct,pct,iS,lH,Tm;C(394,22,{3:1,34:1,22:1,394:1},yj);var sQt,cQt,wct,lQt=ln(Pit,"OptimizationGoal",394,mn,vbe,$ue),pHe;C(867,1,ph,Jmt),h.hf=n(function(t){Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,UHt),""),"Try box layout first"),"Whether one should check whether the regions are stackable to see whether box layout would do the job. For example, nodes with the same height are not stackable inside a row. Therefore, box layout will perform better and faster."),(Se(),!1)),(ed(),Li)),ti),Jt((zh(),ve))))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,WHt),""),"Current position of a node in the order of nodes"),"The rectangles are ordered. Normally according to their definition the the model. This option specifies the current position of a node."),Et(-1)),Bo),ia),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,GHt),""),"Desired index of node"),"The rectangles are ordered. Normally according to their definition the the model. This option allows to specify a desired position that has preference over the original position."),Et(-1)),Bo),ia),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,VHt),""),"In new Row"),"If set to true this node begins in a new row. Consequently this node cannot be moved in a previous layer during compaction. Width approximation does does not take this into account."),!1),Li),ti),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,XHt),$it),"Width Approximation Strategy"),"Strategy for finding an initial width of the drawing."),dQt),Pr),SQt),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,YHt),$it),"Target Width"),"Option to place the rectangles in the given target width instead of approximating the width using the desired aspect ratio. The padding is not included in this. Meaning a drawing will have width of targetwidth + horizontal padding."),-1),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,QHt),$it),"Optimization Goal"),"Optimization goal for approximation of the bounding box given by the first iteration. Determines whether layout is sorted by the maximum scaling, aspect ratio, or area. Depending on the strategy the aspect ratio might be nearly ignored."),uQt),Pr),lQt),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,JHt),$it),"Shift Last Placed."),"When placing a rectangle behind or below the last placed rectangle in the first iteration, it is sometimes possible to shift the rectangle further to the left or right, resulting in less whitespace. True (default) enables the shift and false disables it. Disabling the shift produces a greater approximated area by the first iteration and a layout, when using ONLY the first iteration (default not the case), where it is sometimes impossible to implement a size transformation of rectangles that will fill the bounding box and eliminate empty spaces."),!0),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,ZHt),"packing"),xFe),"Strategy for finding an initial placement on nodes."),hQt),Pr),MQt),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,tKt),CFe),"Row Height Reevaluation"),"During the compaction step the height of a row is normally not changed. If this options is set, the blocks of other rows might be added if they exceed the row height. If this is the case the whole row has to be packed again to be optimal regarding the new row height. This option should, therefore, be used with care since it might be computation heavy."),!1),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,eKt),CFe),"Compaction iterations"),"Defines the number of compaction iterations. E.g. if set to 2 the width is initially approximated, then the drawing is compacted and based on the resulting drawing the target width is decreased or increased and a second compaction step is executed and the result compared to the first one. The best run is used based on the scale measure."),Et(1)),Bo),ia),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,nKt),"whiteSpaceElimination"),"White Space Approximation Strategy"),"Strategy for expanding nodes such that whitespace in the parent is eliminated."),Pr),_Qt),Jt(ve)))),YRt((new Zmt,t))},"w7c");var wHe,mHe,yHe,vHe,kHe,xHe,hQt,CHe,THe,SHe,EHe,uQt,BHe,dQt,MHe,uOn=S(Pit,"RectPackingMetaDataProvider",867);C(1016,1,ph,Zmt),h.hf=n(function(t){YRt(t)},"$7c");var hH,AHe,fQt,TF,bQt,LHe,SF,_He,FHe,OHe,DHe,jHe,mct,gQt,yct,pQt,aS,wQt,IHe,oS,mQt,yQt,vQt,kQt,xQt,vct,dOn=S(Pit,"RectPackingOptions",1016);C(1017,1,{},Pgt),h.sf=n(function(){var t;return t=new Q6t,t},"a8c"),h.tf=n(function(t){},"b8c");var fOn=S(Pit,"RectPackingOptions/RectpackingFactory",1017);C(1705,1,{},eCt),h.a=0,h.c=!1;var bOn=S(U8,"AreaApproximation",1705),CQt=Rr(U8,"BestCandidateFilter");C(673,1,{535:1},QO),h.Hg=n(function(t,e,r){var i,a,c,u,d,b;for(b=new Bt,c=Ir,d=new N(t);d.a0&&AFt((_e(e-1,t.length),t.charCodeAt(e-1)),L_e);)--e;if(i>=e)throw R(new Le("The given string does not contain any numbers."));if(a=h2((Gi(i,e,t.length),t.substr(i,e-i)),`,|;|\r| +`),a.length!=2)throw R(new Le("Exactly two numbers are expected, "+a.length+" were found."));try{this.a=r2(i2(a[0])),this.b=r2(i2(a[1]))}catch(c){throw c=Dr(c),J(c,130)?(r=c,R(new Le(__e+r))):R(c)}},"wjd"),h.Ib=n(function(){return"("+this.a+","+this.b+")"},"yjd"),h.a=0,h.b=0;var Fi=S(S_,"KVector",8);C(75,67,{3:1,4:1,20:1,31:1,56:1,16:1,67:1,15:1,75:1,423:1},Vs,tB,V9t),h.Pc=n(function(){return Yme(this)},"Jjd"),h.cg=n(function(t){var e,r,i,a,c,u;i=h2(t,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | | +`),Gc(this);try{for(r=0,c=0,a=0,u=0;r0&&(c%2==0?a=r2(i[r]):u=r2(i[r]),c>0&&c%2!=0&&Fn(this,new xt(a,u)),++c),++r}catch(d){throw d=Dr(d),J(d,130)?(e=d,R(new Le("The given string does not match the expected format for vectors."+e))):R(d)}},"Hjd"),h.Ib=n(function(){var t,e,r;for(t=new Wc("("),e=hn(this,0);e.b!=e.d.c;)r=l(cn(e),8),jn(t,r.a+","+r.b),e.b!=e.d.c&&(t.a+="; ");return(t.a+=")",t).a},"Kjd");var aJt=S(S_,"KVectorChain",75);C(255,22,{3:1,34:1,22:1,255:1},Q6);var Dct,wH,mH,MF,AF,yH,oJt=ln(Hc,"Alignment",255,mn,Gpe,t1e),yKe;C(991,1,ph,i3t),h.hf=n(function(t){rNt(t)},"kkd");var sJt,jct,vKe,cJt,lJt,kKe,hJt,xKe,CKe,uJt,dJt,TKe,ZDn=S(Hc,"BoxLayouterOptions",991);C(992,1,{},Ept),h.sf=n(function(){var t;return t=new Apt,t},"mkd"),h.tf=n(function(t){},"nkd");var tjn=S(Hc,"BoxLayouterOptions/BoxFactory",992);C(298,22,{3:1,34:1,22:1,298:1},J6);var hS,Ict,uS,dS,fS,Pct,$ct=ln(Hc,"ContentAlignment",298,mn,Vpe,e1e),SKe;C(699,1,ph,OU),h.hf=n(function(t){Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,FFe),""),"Layout Algorithm"),"Select a specific layout algorithm."),(ed(),F4)),$t),Jt((zh(),ve))))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,OFe),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),Ju),Jsn),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,tHt),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),fJt),Pr),oJt),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,dv),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,fKt),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),Ju),aJt),Jt(O1)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,HR),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),gJt),Dv),$ct),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,A_),""),"Debug Mode"),"Whether additional debug information shall be generated."),(Se(),!1)),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Cit),""),Ozt),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),pJt),Pr),gS),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,M_),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),yJt),Pr),Jct),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,uKt),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,qR),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),xJt),Pr),cZt),Sr(ve,H(q(m0,1),mt,170,0,[Ei]))))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,b2),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),_Jt),Ju),FWt),Sr(ve,H(q(m0,1),mt,170,0,[Ei]))))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,JC),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,UR),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,ZC),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Hrt),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),IJt),Pr),uZt),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,KR),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),Ju),Fi),Sr(Ei,H(q(m0,1),mt,170,0,[rp,af]))))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,y_),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),Bo),ia),Sr(Ei,H(q(m0,1),mt,170,0,[O1]))))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,TR),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),Bo),ia),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,QC),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,uHt),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),CJt),Ju),aJt),Jt(O1)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,bHt),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),Li),ti),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,gHt),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),Li),ti),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,DFe),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),Ju),rcn),Sr(ve,H(q(m0,1),mt,170,0,[af]))))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,wHt),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),TJt),Ju),_Wt),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Jqt),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),Li),ti),Sr(Ei,H(q(m0,1),mt,170,0,[O1,rp,af]))))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,jFe),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),ba),wi),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,IFe),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,PFe),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,v_),""),BFe),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),!1),Li),ti),Jt(ve)))),hi(t,v_,g2,null),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,$Fe),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,NFe),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),Et(100)),Bo),ia),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,RFe),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,zFe),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),Et(4e3)),Bo),ia),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,qFe),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),Et(400)),Bo),ia),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,HFe),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,KFe),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,UFe),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,WFe),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,dKt),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),bJt),Pr),kZt),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,zqt),Gu),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,qqt),Gu),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Irt),Gu),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Hqt),Gu),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,qrt),Gu),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,xit),Gu),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Kqt),Gu),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Gqt),Gu),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Uqt),Gu),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Wqt),Gu),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Jw),Gu),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Vqt),Gu),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),ba),wi),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Xqt),Gu),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),ba),wi),Sr(ve,H(q(m0,1),mt,170,0,[Ei]))))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,Yqt),Gu),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),Ju),dUe),Sr(Ei,H(q(m0,1),mt,170,0,[O1,rp,af]))))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,mHt),Gu),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),GJt),Ju),_Wt),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,Sit),YFe),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),Bo),ia),Sr(ve,H(q(m0,1),mt,170,0,[Ei]))))),hi(t,Sit,Tit,DKe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Tit),YFe),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),FJt),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,rHt),QFe),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),EJt),Ju),FWt),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,z8),QFe),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),BJt),Dv),qa),Sr(Ei,H(q(m0,1),mt,170,0,[af]))))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,oHt),ez),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),DJt),Pr),yS),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,sHt),ez),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),Pr),yS),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,cHt),ez),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),Pr),yS),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,lHt),ez),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),Pr),yS),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,hHt),ez),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),Pr),yS),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,e4),Git),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),MJt),Dv),xS),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,fv),Git),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),LJt),Dv),fZt),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,bv),Git),"Node Size Minimum"),"The minimal size to which a node can be reduced."),AJt),Ju),Fi),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,R8),Git),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),Li),ti),Jt(ve)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,dHt),kit),"Edge Label Placement"),"Gives a hint on where to put edge labels."),wJt),Pr),YJt),Jt(af)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,SR),kit),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),Li),ti),Jt(af)))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,GFe),"font"),"Font Name"),"Font name used for a label."),F4),$t),Jt(af)))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,VFe),"font"),"Font Size"),"Font size used for a label."),Bo),ia),Jt(af)))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,pHt),Vit),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),Ju),Fi),Jt(rp)))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,fHt),Vit),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),Bo),ia),Jt(rp)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Zqt),Vit),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),NJt),Pr),Ma),Jt(rp)))),Qt(t,new Ht(Xt(Vt(Yt(Kt(Gt(Ut(Wt(new qt,Qqt),Vit),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),ba),wi),Jt(rp)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,q8),pKt),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),PJt),Dv),SH),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,iHt),pKt),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),Li),ti),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,aHt),pKt),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),Li),ti),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,k_),F_),"Topdown Scale Factor"),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),ba),wi),Jt(ve)))),hi(t,k_,g2,qKe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,bKt),F_),"Topdown Size Approximator"),"The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size."),null),Pr),_H),Jt(Ei)))),hi(t,bKt,g2,HKe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,x_),F_),"Topdown Hierarchical Node Width"),"The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),150),ba),wi),Sr(ve,H(q(m0,1),mt,170,0,[Ei]))))),hi(t,x_,g2,null),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,C_),F_),"Topdown Hierarchical Node Aspect Ratio"),"The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),1.414),ba),wi),Sr(ve,H(q(m0,1),mt,170,0,[Ei]))))),hi(t,C_,g2,null),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,g2),F_),"Topdown Node Type"),"The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes."),null),Pr),gZt),Jt(Ei)))),hi(t,g2,R8,null),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,gKt),F_),"Topdown Scale Cap"),"Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes."),1),ba),wi),Jt(ve)))),hi(t,gKt,g2,zKe),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,eHt),JFe),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),Li),ti),Jt(Ei)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,nHt),JFe),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),Li),ti),Jt(O1)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,Prt),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),ba),wi),Jt(O1)))),Qt(t,new Ht(Xt(Vt(Yt(ae(Kt(Gt(Ut(Wt(new qt,XFe),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),kJt),Pr),nZt),Jt(O1)))),z6(t,new M3(j6(L5(A5(new Ym,Ne),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),z6(t,new M3(j6(L5(A5(new Ym,"org.eclipse.elk.orthogonal"),"Orthogonal"),`Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia '86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.`))),z6(t,new M3(j6(L5(A5(new Ym,zs),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),z6(t,new M3(j6(L5(A5(new Ym,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),z6(t,new M3(j6(L5(A5(new Ym,dFe),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),z6(t,new M3(j6(L5(A5(new Ym,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),z6(t,new M3(j6(L5(A5(new Ym,ql),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),q$t((new a3t,t)),rNt((new i3t,t)),p$t((new o3t,t))},"wmd");var Ak,EKe,fJt,O4,BKe,MKe,bJt,D4,j4,AKe,LF,gJt,_F,ip,pJt,Nct,Rct,wJt,mJt,yJt,vJt,kJt,LKe,I4,xJt,_Ke,FF,zct,OF,qct,N2,CJt,Lk,TJt,SJt,EJt,P4,BJt,ap,MJt,Sm,$4,AJt,wb,LJt,vH,DF,of,_Jt,FKe,FJt,OKe,DKe,OJt,DJt,Hct,Kct,Uct,Wct,jJt,Kc,bS,IJt,Gct,Vct,Em,PJt,$Jt,N4,NJt,jv,jF,Xct,R4,jKe,Yct,IKe,PKe,RJt,$Ke,zJt,qJt,Iv,HJt,kH,KJt,UJt,op,NKe,WJt,GJt,VJt,xH,IF,_k,Pv,RKe,zKe,CH,qKe,XJt,HKe,ejn=S(Hc,"CoreOptions",699);C(88,22,{3:1,34:1,22:1,88:1},K9);var Zu,lo,po,t1,Gl,gS=ln(Hc,Ozt,88,mn,Jge,n1e),KKe;C(278,22,{3:1,34:1,22:1,278:1},xj);var Fk,Bm,Ok,YJt=ln(Hc,"EdgeLabelPlacement",278,mn,Bbe,r1e),UKe;C(223,22,{3:1,34:1,22:1,223:1},AB);var Dk,PF,$v,Qct,Jct=ln(Hc,"EdgeRouting",223,mn,Bge,i1e),WKe;C(321,22,{3:1,34:1,22:1,321:1},Z6);var QJt,JJt,ZJt,tZt,Zct,eZt,nZt=ln(Hc,"EdgeType",321,mn,Wpe,a1e),GKe;C(989,1,ph,a3t),h.hf=n(function(t){q$t(t)},"ynd");var rZt,iZt,aZt,oZt,VKe,sZt,pS,njn=S(Hc,"FixedLayouterOptions",989);C(990,1,{},Bpt),h.sf=n(function(){var t;return t=new $pt,t},"And"),h.tf=n(function(t){},"Bnd");var rjn=S(Hc,"FixedLayouterOptions/FixedFactory",990);C(346,22,{3:1,34:1,22:1,346:1},Cj);var sf,TH,wS,cZt=ln(Hc,"HierarchyHandling",346,mn,Sbe,o1e),XKe;C(291,22,{3:1,34:1,22:1,291:1},LB);var y0,mb,$F,NF,YKe=ln(Hc,"LabelSide",291,mn,Ege,s1e),QKe;C(95,22,{3:1,34:1,22:1,95:1},cw);var hd,Vh,xh,Xh,El,Yh,Ch,v0,Qh,qa=ln(Hc,"NodeLabelPlacement",95,mn,G2e,c1e),JKe;C(256,22,{3:1,34:1,22:1,256:1},U9);var lZt,mS,yb,hZt,RF,yS=ln(Hc,"PortAlignment",256,mn,fpe,l1e),ZKe;C(101,22,{3:1,34:1,22:1,101:1},t7);var sp,ys,k0,jk,e1,vb,uZt=ln(Hc,"PortConstraints",101,mn,Upe,h1e),tUe;C(279,22,{3:1,34:1,22:1,279:1},e7);var vS,kS,ud,zF,kb,Nv,SH=ln(Hc,"PortLabelPlacement",279,mn,Kpe,u1e),eUe;C(64,22,{3:1,34:1,22:1,64:1},W9);var qe,Fe,Vl,Xl,nc,Ks,n1,Jh,Ac,mc,vs,Lc,rc,ic,Zh,Bl,Ml,Th,on,Fo,je,Ma=ln(Hc,"PortSide",64,mn,Zge,d1e),nUe;C(993,1,ph,o3t),h.hf=n(function(t){p$t(t)},"Ipd");var rUe,iUe,dZt,aUe,oUe,ijn=S(Hc,"RandomLayouterOptions",993);C(994,1,{},Mpt),h.sf=n(function(){var t;return t=new jpt,t},"Kpd"),h.tf=n(function(t){},"Lpd");var ajn=S(Hc,"RandomLayouterOptions/RandomFactory",994);C(386,22,{3:1,34:1,22:1,386:1},_B);var Mm,qF,HF,cp,xS=ln(Hc,"SizeConstraint",386,mn,Sge,f1e),sUe;C(264,22,{3:1,34:1,22:1,264:1},lw);var KF,EH,Ik,tlt,UF,CS,BH,MH,AH,fZt=ln(Hc,"SizeOptions",264,mn,awe,b1e),cUe;C(280,22,{3:1,34:1,22:1,280:1},Tj);var Am,bZt,LH,gZt=ln(Hc,"TopdownNodeTypes",280,mn,Mbe,g1e),lUe;C(347,22,wKt);var pZt,wZt,_H=ln(Hc,"TopdownSizeApproximator",347,mn,Cfe,w1e);C(987,347,wKt,LCt),h.Tg=n(function(t){return oDt(t)},"Aqd");var ojn=ln(Hc,"TopdownSizeApproximator/1",987,_H,null,null);C(988,347,wKt,gTt),h.Tg=n(function(t){var e,r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt,_t,zt,te;for(e=l(yt(t,($n(),R4)),143),gt=(Cd(),A=new A6,A),_C(gt,t),_t=new sn,c=new ze((!t.a&&(t.a=new pt(Vn,t,10,11)),t.a));c.e!=c.i.gc();)i=l(Xe(c),27),X=(E=new A6,E),PL(X,gt),_C(X,i),te=oDt(i),bw(X,v.Math.max(i.g,te.a),v.Math.max(i.f,te.b)),fs(_t.f,i,X);for(a=new ze((!t.a&&(t.a=new pt(Vn,t,10,11)),t.a));a.e!=a.i.gc();)for(i=l(Xe(a),27),m=new ze((!i.e&&(i.e=new pe(ii,i,7,4)),i.e));m.e!=m.i.gc();)w=l(Xe(m),74),rt=l(eo(_a(_t.f,i)),27),vt=l(He(_t,Z((!w.c&&(w.c=new pe(en,w,5,8)),w.c),0)),27),Y=(x=new eD,x),bn((!Y.b&&(Y.b=new pe(en,Y,4,7)),Y.b),rt),bn((!Y.c&&(Y.c=new pe(en,Y,5,8)),Y.c),vt),IL(Y,_r(rt)),_C(Y,w);D=l(yx(e.f),205);try{D.rf(gt,new zpt),WTt(e.f,D)}catch(ye){throw ye=Dr(ye),J(ye,103)?(_=ye,R(_)):R(ye)}return du(gt,j4)||du(gt,D4)||jnt(gt),b=it(lt(yt(gt,j4))),d=it(lt(yt(gt,D4))),u=b/d,r=it(lt(yt(gt,IF)))*v.Math.sqrt((!gt.a&&(gt.a=new pt(Vn,gt,10,11)),gt.a).i),zt=l(yt(gt,of),107),K=zt.b+zt.c+1,I=zt.d+zt.a+1,new xt(v.Math.max(K,r),v.Math.max(I,r/u))},"Cqd");var sjn=ln(Hc,"TopdownSizeApproximator/2",988,_H,null,null),hUe;C(344,1,{871:1},e3),h.Ug=n(function(t,e){return yjt(this,t,e)},"Pqd"),h.Vg=n(function(){qjt(this)},"Qqd"),h.Wg=n(function(){return this.q},"Rqd"),h.Xg=n(function(){return this.f?NI(this.f):null},"Sqd"),h.Yg=n(function(){return NI(this.a)},"Tqd"),h.Zg=n(function(){return this.p},"Uqd"),h.$g=n(function(){return!1},"Vqd"),h._g=n(function(){return this.n},"Wqd"),h.ah=n(function(){return this.p!=null&&!this.b},"Xqd"),h.bh=n(function(t){var e;this.n&&(e=t,Mt(this.f,e))},"Yqd"),h.dh=n(function(t,e){var r,i;this.n&&t&&Hbe(this,(r=new BTt,i=HN(r,t),SMe(r),i),(qA(),nlt))},"Zqd"),h.eh=n(function(t){var e;return this.b?null:(e=M2e(this,this.g),Fn(this.a,e),e.i=this,this.d=t,e)},"$qd"),h.fh=n(function(t){t>0&&!this.b&&QQ(this,t)},"_qd"),h.b=!1,h.c=0,h.d=-1,h.e=null,h.f=null,h.g=-1,h.j=!1,h.k=!1,h.n=!1,h.o=0,h.q=0,h.r=0;var cjn=S(Po,"BasicProgressMonitor",344);C(717,205,$g,Apt),h.rf=n(function(t,e){vNt(t,e)},"nrd");var ljn=S(Po,"BoxLayoutProvider",717);C(983,1,_n,byt),h.Ne=n(function(t,e){return Txe(this,l(t,27),l(e,27))},"qrd"),h.Fb=n(function(t){return this===t},"rrd"),h.Oe=n(function(){return new kn(this)},"srd"),h.a=!1;var hjn=S(Po,"BoxLayoutProvider/1",983);C(163,1,{163:1},yA,txt),h.Ib=n(function(){return this.c?Jet(this.c):Kd(this.b)},"Brd");var ujn=S(Po,"BoxLayoutProvider/Group",163);C(320,22,{3:1,34:1,22:1,320:1},FB);var mZt,yZt,vZt,elt,kZt=ln(Po,"BoxLayoutProvider/PackingMode",320,mn,Mge,m1e),uUe;C(984,1,_n,Lpt),h.Ne=n(function(t,e){return Hde(l(t,163),l(e,163))},"Nrd"),h.Fb=n(function(t){return this===t},"Ord"),h.Oe=n(function(){return new kn(this)},"Prd");var djn=S(Po,"BoxLayoutProvider/lambda$0$Type",984);C(985,1,_n,_pt),h.Ne=n(function(t,e){return jde(l(t,163),l(e,163))},"Rrd"),h.Fb=n(function(t){return this===t},"Srd"),h.Oe=n(function(){return new kn(this)},"Trd");var fjn=S(Po,"BoxLayoutProvider/lambda$1$Type",985);C(986,1,_n,Fpt),h.Ne=n(function(t,e){return Ide(l(t,163),l(e,163))},"Vrd"),h.Fb=n(function(t){return this===t},"Wrd"),h.Oe=n(function(){return new kn(this)},"Xrd");var bjn=S(Po,"BoxLayoutProvider/lambda$2$Type",986);C(1384,1,{845:1},Opt),h.Mg=n(function(t,e){return lB(),!J(e,167)||t7t((P3(),l(t,167)),e)},"Zrd");var gjn=S(Po,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1384);C(1385,1,Ye,gyt),h.Cd=n(function(t){Zme(this.a,l(t,149))},"_rd");var pjn=S(Po,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1385);C(1386,1,Ye,Ipt),h.Cd=n(function(t){l(t,96),lB()},"bsd");var wjn=S(Po,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1386);C(1390,1,Ye,pyt),h.Cd=n(function(t){kwe(this.a,l(t,96))},"dsd");var mjn=S(Po,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1390);C(1388,1,Mn,K8t),h.Mb=n(function(t){return Dme(this.a,this.b,l(t,149))},"fsd");var yjn=S(Po,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1388);C(1387,1,Mn,U8t),h.Mb=n(function(t){return gle(this.a,this.b,l(t,845))},"hsd");var vjn=S(Po,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1387);C(1389,1,Ye,W8t),h.Cd=n(function(t){M0e(this.a,this.b,l(t,149))},"jsd");var kjn=S(Po,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1389);C(947,1,{},Ppt),h.Kb=n(function(t){return zkt(t)},"Msd"),h.Fb=n(function(t){return this===t},"Nsd");var xjn=S(Po,"ElkUtil/lambda$0$Type",947);C(948,1,Ye,G8t),h.Cd=n(function(t){Bke(this.a,this.b,l(t,74))},"Psd"),h.a=0,h.b=0;var Cjn=S(Po,"ElkUtil/lambda$1$Type",948);C(949,1,Ye,V8t),h.Cd=n(function(t){moe(this.a,this.b,l(t,166))},"Rsd"),h.a=0,h.b=0;var Tjn=S(Po,"ElkUtil/lambda$2$Type",949);C(950,1,Ye,X8t),h.Cd=n(function(t){fce(this.a,this.b,l(t,135))},"Tsd"),h.a=0,h.b=0;var Sjn=S(Po,"ElkUtil/lambda$3$Type",950);C(951,1,Ye,wyt),h.Cd=n(function(t){X1e(this.a,l(t,377))},"Vsd");var Ejn=S(Po,"ElkUtil/lambda$4$Type",951);C(325,1,{34:1,325:1},S6),h.Fd=n(function(t){return qce(this,l(t,242))},"Ysd"),h.Fb=n(function(t){var e;return J(t,325)?(e=l(t,325),this.a==e.a):!1},"Zsd"),h.Hb=n(function(){return xi(this.a)},"$sd"),h.Ib=n(function(){return this.a+" (exclusive)"},"_sd"),h.a=0;var Bjn=S(Po,"ExclusiveBounds/ExclusiveLowerBound",325);C(1119,205,$g,$pt),h.rf=n(function(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K,X,Y,rt,vt,gt,_t,zt;for(e.Ug("Fixed Layout",1),c=l(yt(t,($n(),mJt)),223),x=0,E=0,X=new ze((!t.a&&(t.a=new pt(Vn,t,10,11)),t.a));X.e!=X.i.gc();){for(I=l(Xe(X),27),zt=l(yt(I,(HA(),pS)),8),zt&&(ol(I,zt.a,zt.b),l(yt(I,iZt),181).Hc((Rc(),Mm))&&(A=l(yt(I,oZt),8),A.a>0&&A.b>0&&Og(I,A.a,A.b,!0,!0))),x=v.Math.max(x,I.i+I.g),E=v.Math.max(E,I.j+I.f),w=new ze((!I.n&&(I.n=new pt(Za,I,1,7)),I.n));w.e!=w.i.gc();)d=l(Xe(w),135),zt=l(yt(d,pS),8),zt&&ol(d,zt.a,zt.b),x=v.Math.max(x,I.i+d.i+d.g),E=v.Math.max(E,I.j+d.j+d.f);for(vt=new ze((!I.c&&(I.c=new pt(_c,I,9,9)),I.c));vt.e!=vt.i.gc();)for(rt=l(Xe(vt),123),zt=l(yt(rt,pS),8),zt&&ol(rt,zt.a,zt.b),gt=I.i+rt.i,_t=I.j+rt.j,x=v.Math.max(x,gt+rt.g),E=v.Math.max(E,_t+rt.f),b=new ze((!rt.n&&(rt.n=new pt(Za,rt,1,7)),rt.n));b.e!=b.i.gc();)d=l(Xe(b),135),zt=l(yt(d,pS),8),zt&&ol(d,zt.a,zt.b),x=v.Math.max(x,gt+d.i+d.g),E=v.Math.max(E,_t+d.j+d.f);for(a=new We(Ve(a0(I).a.Kc(),new et));un(a);)r=l(tn(a),74),m=DRt(r),x=v.Math.max(x,m.a),E=v.Math.max(E,m.b);for(i=new We(Ve(LC(I).a.Kc(),new et));un(i);)r=l(tn(i),74),_r(w1(r))!=t&&(m=DRt(r),x=v.Math.max(x,m.a),E=v.Math.max(E,m.b))}if(c==(e0(),Dk))for(K=new ze((!t.a&&(t.a=new pt(Vn,t,10,11)),t.a));K.e!=K.i.gc();)for(I=l(Xe(K),27),i=new We(Ve(a0(I).a.Kc(),new et));un(i);)r=l(tn(i),74),u=LSe(r),u.b==0?fr(r,N2,null):fr(r,N2,u);jt(Dt(yt(t,(HA(),aZt))))||(Y=l(yt(t,VKe),107),D=x+Y.b+Y.c,_=E+Y.d+Y.a,Og(t,D,_,!0,!0)),e.Vg()},"ctd");var Mjn=S(Po,"FixedLayoutProvider",1119);C(385,137,{3:1,423:1,385:1,96:1,137:1},tD,FAt),h.cg=n(function(t){var e,r,i,a,c,u,d,b,w;if(t)try{for(b=h2(t,";,;"),c=b,u=0,d=c.length;u>16&gi|e^i<<16},"Std"),h.Kc=n(function(){return new myt(this)},"Ttd"),h.Ib=n(function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+bo(this.b)+")":this.b==null?"pair("+bo(this.a)+",null)":"pair("+bo(this.a)+","+bo(this.b)+")"},"Utd");var Ojn=S(Po,"Pair",42);C(995,1,zi,myt),h.Nb=n(function(t){Yi(this,t)},"Wtd"),h.Ob=n(function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},"Xtd"),h.Pb=n(function(){if(!this.c&&!this.b&&this.a.a!=null)return this.b=!0,this.a.a;if(!this.c&&this.a.b!=null)return this.c=!0,this.a.b;throw R(new mo)},"Ytd"),h.Qb=n(function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),R(new Gs)},"Ztd"),h.b=!1,h.c=!1;var Djn=S(Po,"Pair/1",995);C(455,1,{455:1},cSt),h.Fb=n(function(t){return Do(this.a,l(t,455).a)&&Do(this.c,l(t,455).c)&&Do(this.d,l(t,455).d)&&Do(this.b,l(t,455).b)},"_td"),h.Hb=n(function(){return rC(H(q(Ai,1),xe,1,5,[this.a,this.c,this.d,this.b]))},"aud"),h.Ib=n(function(){return"("+this.a+ka+this.c+ka+this.d+ka+this.b+")"},"bud");var jjn=S(Po,"Quadruple",455);C(1108,205,$g,jpt),h.rf=n(function(t,e){var r,i,a,c,u;if(e.Ug("Random Layout",1),(!t.a&&(t.a=new pt(Vn,t,10,11)),t.a).i==0){e.Vg();return}c=l(yt(t,(SZ(),aUe)),17),c&&c.a!=0?a=new JM(c.a):a=new E$,r=C9(lt(yt(t,rUe))),u=C9(lt(yt(t,oUe))),i=l(yt(t,iUe),107),VMe(t,a,r,u,i),e.Vg()},"fud");var Ijn=S(Po,"RandomLayoutProvider",1108);C(240,1,{240:1},tI),h.Fb=n(function(t){return Do(this.a,l(t,240).a)&&Do(this.b,l(t,240).b)&&Do(this.c,l(t,240).c)},"hud"),h.Hb=n(function(){return rC(H(q(Ai,1),xe,1,5,[this.a,this.b,this.c]))},"iud"),h.Ib=n(function(){return"("+this.a+ka+this.b+ka+this.c+")"},"jud");var Pjn=S(Po,"Triple",240),gUe;C(562,1,{}),h.Lf=n(function(){return new xt(this.f.i,this.f.j)},"oud"),h.of=n(function(t){return ISt(t,($n(),Kc))?yt(this.f,pUe):yt(this.f,t)},"pud"),h.Mf=n(function(){return new xt(this.f.g,this.f.f)},"qud"),h.Nf=n(function(){return this.g},"rud"),h.pf=n(function(t){return du(this.f,t)},"sud"),h.Of=n(function(t){Ss(this.f,t.a),Es(this.f,t.b)},"tud"),h.Pf=n(function(t){mg(this.f,t.a),wg(this.f,t.b)},"uud"),h.Qf=n(function(t){this.g=t},"vud"),h.g=0;var pUe,$jn=S(cT,"ElkGraphAdapters/AbstractElkGraphElementAdapter",562);C(563,1,{853:1},zE),h.Rf=n(function(){var t,e;if(!this.b)for(this.b=VM(_M(this.a).i),e=new ze(_M(this.a));e.e!=e.i.gc();)t=l(Xe(e),135),Mt(this.b,new LD(t));return this.b},"xud"),h.b=null;var Njn=S(cT,"ElkGraphAdapters/ElkEdgeAdapter",563);C(289,562,{},Nb),h.Sf=n(function(){return MDt(this)},"Aud"),h.a=null;var Rjn=S(cT,"ElkGraphAdapters/ElkGraphAdapter",289);C(640,562,{187:1},LD);var zjn=S(cT,"ElkGraphAdapters/ElkLabelAdapter",640);C(639,562,{695:1},$j),h.Rf=n(function(){return Dye(this)},"Iud"),h.Vf=n(function(){var t;return t=l(yt(this.f,($n(),Lk)),140),!t&&(t=new M6),t},"Jud"),h.Xf=n(function(){return jye(this)},"Lud"),h.Zf=n(function(t){var e;e=new nI(t),fr(this.f,($n(),Lk),e)},"Nud"),h.$f=n(function(t){fr(this.f,($n(),of),new gX(t))},"Oud"),h.Tf=n(function(){return this.d},"Gud"),h.Uf=n(function(){var t,e;if(!this.a)for(this.a=new Bt,e=new We(Ve(LC(l(this.f,27)).a.Kc(),new et));un(e);)t=l(tn(e),74),Mt(this.a,new zE(t));return this.a},"Hud"),h.Wf=n(function(){var t,e;if(!this.c)for(this.c=new Bt,e=new We(Ve(a0(l(this.f,27)).a.Kc(),new et));un(e);)t=l(tn(e),74),Mt(this.c,new zE(t));return this.c},"Kud"),h.Yf=n(function(){return IM(l(this.f,27)).i!=0||jt(Dt(l(this.f,27).of(($n(),FF))))},"Mud"),h._f=n(function(){f2e(this,(Gb(),gUe))},"Pud"),h.a=null,h.b=null,h.c=null,h.d=null,h.e=null;var qjn=S(cT,"ElkGraphAdapters/ElkNodeAdapter",639);C(1284,562,{852:1},yyt),h.Rf=n(function(){return Hye(this)},"Tud"),h.Uf=n(function(){var t,e;if(!this.a)for(this.a=l1(l(this.f,123).hh().i),e=new ze(l(this.f,123).hh());e.e!=e.i.gc();)t=l(Xe(e),74),Mt(this.a,new zE(t));return this.a},"Sud"),h.Wf=n(function(){var t,e;if(!this.c)for(this.c=l1(l(this.f,123).ih().i),e=new ze(l(this.f,123).ih());e.e!=e.i.gc();)t=l(Xe(e),74),Mt(this.c,new zE(t));return this.c},"Uud"),h.ag=n(function(){return l(l(this.f,123).of(($n(),N4)),64)},"Vud"),h.bg=n(function(){var t,e,r,i,a,c,u,d;for(i=su(l(this.f,123)),r=new ze(l(this.f,123).ih());r.e!=r.i.gc();)for(t=l(Xe(r),74),d=new ze((!t.c&&(t.c=new pe(en,t,5,8)),t.c));d.e!=d.i.gc();)if(u=l(Xe(d),84),Gp(oo(u),i)||oo(u)==i&&jt(Dt(yt(t,($n(),zct)))))return!0;for(e=new ze(l(this.f,123).hh());e.e!=e.i.gc();)for(t=l(Xe(e),74),c=new ze((!t.b&&(t.b=new pe(en,t,4,7)),t.b));c.e!=c.i.gc();)if(a=l(Xe(c),84),Gp(oo(a),i))return!0;return!1},"Wud"),h.a=null,h.b=null,h.c=null;var Hjn=S(cT,"ElkGraphAdapters/ElkPortAdapter",1284);C(1285,1,_n,Dpt),h.Ne=n(function(t,e){return kTe(l(t,123),l(e,123))},"Zud"),h.Fb=n(function(t){return this===t},"$ud"),h.Oe=n(function(){return new kn(this)},"_ud");var Kjn=S(cT,"ElkGraphAdapters/PortComparator",1285),xb=Rr(Hl,"EObject"),Pk=Rr(i4,eOe),Al=Rr(i4,nOe),WF=Rr(i4,rOe),GF=Rr(i4,"ElkShape"),en=Rr(i4,iOe),ii=Rr(i4,mKt),Lr=Rr(i4,aOe),VF=Rr(Hl,oOe),TS=Rr(Hl,"EFactory"),wUe,rlt=Rr(Hl,sOe),Tu=Rr(Hl,"EPackage"),ji,mUe,yUe,SZt,FH,vUe,EZt,BZt,MZt,x0,kUe,xUe,Za=Rr(i4,yKt),Vn=Rr(i4,vKt),_c=Rr(i4,kKt);C(93,1,cOe),h.th=n(function(){return this.uh(),null},"rvd"),h.uh=n(function(){return null},"svd"),h.vh=n(function(){return this.uh(),!1},"tvd"),h.wh=n(function(){return!1},"uvd"),h.xh=n(function(t){tr(this,t)},"vvd");var Ujn=S(wv,"BasicNotifierImpl",93);C(99,93,dOe),h.Yh=n(function(){return Dc(this)},"Dwd"),h.yh=n(function(t,e){return t},"bwd"),h.zh=n(function(){throw R(new Tn)},"cwd"),h.Ah=n(function(t){var e;return e=Sa(l(we(this.Dh(),this.Fh()),19)),this.Ph().Th(this,e.n,e.f,t)},"dwd"),h.Bh=n(function(t,e){throw R(new Tn)},"ewd"),h.Ch=n(function(t,e,r){return nl(this,t,e,r)},"fwd"),h.Dh=n(function(){var t;return this.zh()&&(t=this.zh().Nk(),t)?t:this.ii()},"gwd"),h.Eh=n(function(){return EN(this)},"hwd"),h.Fh=n(function(){throw R(new Tn)},"iwd"),h.Gh=n(function(){var t,e;return e=this.$h().Ok(),!e&&this.zh().Tk(e=(H6(),t=MY(Hu(this.Dh())),t==null?ult:new Q9(this,t))),e},"kwd"),h.Hh=n(function(t,e){return t},"mwd"),h.Ih=n(function(t){var e;return e=t.pk(),e?t.Lj():jr(this.Dh(),t)},"nwd"),h.Jh=n(function(){var t;return t=this.zh(),t?t.Qk():null},"owd"),h.Kh=n(function(){return this.zh()?this.zh().Nk():null},"pwd"),h.Lh=n(function(t,e,r){return uL(this,t,e,r)},"qwd"),h.Mh=n(function(t){return ay(this,t)},"rwd"),h.Nh=n(function(t,e){return uP(this,t,e)},"swd"),h.Oh=n(function(){var t;return t=this.zh(),!!t&&t.Rk()},"twd"),h.Ph=n(function(){throw R(new Tn)},"uwd"),h.Qh=n(function(){return iL(this)},"vwd"),h.Rh=n(function(t,e,r,i){return H3(this,t,e,i)},"wwd"),h.Sh=n(function(t,e,r){var i;return i=l(we(this.Dh(),e),69),i.wk().zk(this,this.hi(),e-this.ji(),t,r)},"xwd"),h.Th=n(function(t,e,r,i){return RM(this,t,e,i)},"ywd"),h.Uh=n(function(t,e,r){var i;return i=l(we(this.Dh(),e),69),i.wk().Ak(this,this.hi(),e-this.ji(),t,r)},"zwd"),h.Vh=n(function(){return!!this.zh()&&!!this.zh().Pk()},"Awd"),h.Wh=n(function(t){return P$(this,t)},"Bwd"),h.Xh=n(function(t){return YSt(this,t)},"Cwd"),h.Zh=n(function(t){return mRt(this,t)},"Ewd"),h.$h=n(function(){throw R(new Tn)},"Fwd"),h._h=n(function(){return this.zh()?this.zh().Pk():null},"Gwd"),h.ai=n(function(){return iL(this)},"Hwd"),h.bi=n(function(t,e){kN(this,t,e)},"Iwd"),h.ci=n(function(t){this.$h().Sk(t)},"Jwd"),h.di=n(function(t){this.$h().Vk(t)},"Kwd"),h.ei=n(function(t){this.$h().Uk(t)},"Lwd"),h.fi=n(function(t,e){var r,i,a,c;return c=this.Jh(),c&&t&&(e=ma(c.El(),this,e),c.Il(this)),i=this.Ph(),i&&((RN(this,this.Ph(),this.Fh()).Bb&Ea)!=0?(a=i.Qh(),a&&(t?!c&&a.Il(this):a.Hl(this))):(e=(r=this.Fh(),r>=0?this.Ah(e):this.Ph().Th(this,-1-r,null,e)),e=this.Ch(null,-1,e))),this.di(t),e},"Mwd"),h.gi=n(function(t){var e,r,i,a,c,u,d,b;if(r=this.Dh(),c=jr(r,t),e=this.ji(),c>=e)return l(t,69).wk().Dk(this,this.hi(),c-e);if(c<=-1)if(u=Uw((ec(),aa),r,t),u){if(Ta(),l(u,69).xk()||(u=A3(Xa(aa,u))),a=(i=this.Ih(u),l(i>=0?this.Lh(i,!0,!0):Lg(this,u,!0),160)),b=u.Ik(),b>1||b==-1)return l(l(a,220).Sl(t,!1),79)}else throw R(new Le(ab+t.xe()+Xit));else if(t.Jk())return i=this.Ih(t),l(i>=0?this.Lh(i,!1,!0):Lg(this,t,!1),79);return d=new fkt(this,t),d},"Nwd"),h.hi=n(function(){return OQ(this)},"Owd"),h.ii=n(function(){return(Ld(),Ee).S},"Pwd"),h.ji=n(function(){return Ze(this.ii())},"Qwd"),h.ki=n(function(t){mN(this,t)},"Rwd"),h.Ib=n(function(){return fh(this)},"Swd");var Wjn=S(Me,"BasicEObjectImpl",99),CUe;C(119,99,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1}),h.li=n(function(t){var e;return e=FQ(this),e[t]},"_wd"),h.mi=n(function(t,e){var r;r=FQ(this),Hr(r,t,e)},"axd"),h.ni=n(function(t){var e;e=FQ(this),Hr(e,t,null)},"bxd"),h.th=n(function(){return l(Ae(this,4),129)},"cxd"),h.uh=n(function(){throw R(new Tn)},"dxd"),h.vh=n(function(){return(this.Db&4)!=0},"exd"),h.zh=n(function(){throw R(new Tn)},"fxd"),h.oi=n(function(t){z3(this,2,t)},"gxd"),h.Bh=n(function(t,e){this.Db=e<<16|this.Db&255,this.oi(t)},"hxd"),h.Dh=n(function(){return Ps(this)},"ixd"),h.Fh=n(function(){return this.Db>>16},"jxd"),h.Gh=n(function(){var t,e;return H6(),e=MY(Hu((t=l(Ae(this,16),29),t||this.ii()))),e==null?ult:new Q9(this,e)},"kxd"),h.wh=n(function(){return(this.Db&1)==0},"lxd"),h.Jh=n(function(){return l(Ae(this,128),2034)},"mxd"),h.Kh=n(function(){return l(Ae(this,16),29)},"nxd"),h.Oh=n(function(){return(this.Db&32)!=0},"oxd"),h.Ph=n(function(){return l(Ae(this,2),54)},"pxd"),h.Vh=n(function(){return(this.Db&64)!=0},"qxd"),h.$h=n(function(){throw R(new Tn)},"rxd"),h._h=n(function(){return l(Ae(this,64),288)},"sxd"),h.ci=n(function(t){z3(this,16,t)},"txd"),h.di=n(function(t){z3(this,128,t)},"uxd"),h.ei=n(function(t){z3(this,64,t)},"vxd"),h.hi=n(function(){return Bs(this)},"wxd"),h.Db=0;var Gjn=S(Me,"MinimalEObjectImpl",119);C(120,119,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),h.oi=n(function(t){this.Cb=t},"xxd"),h.Ph=n(function(){return this.Cb},"yxd");var Vjn=S(Me,"MinimalEObjectImpl/Container",120);C(2083,120,{110:1,342:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),h.Lh=n(function(t,e,r){return VZ(this,t,e,r)},"Jxd"),h.Uh=n(function(t,e,r){return Ptt(this,t,e,r)},"Kxd"),h.Wh=n(function(t){return qY(this,t)},"Lxd"),h.bi=n(function(t,e){OJ(this,t,e)},"Mxd"),h.ii=n(function(){return Uo(),xUe},"Nxd"),h.ki=n(function(t){xJ(this,t)},"Oxd"),h.nf=n(function(){return VOt(this)},"Pxd"),h.gh=n(function(){return!this.o&&(this.o=new Zs((Uo(),x0),cf,this,0)),this.o},"Qxd"),h.of=n(function(t){return yt(this,t)},"Rxd"),h.pf=n(function(t){return du(this,t)},"Sxd"),h.qf=n(function(t,e){return fr(this,t,e)},"Txd");var Xjn=S(qg,"EMapPropertyHolderImpl",2083);C(572,120,{110:1,377:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},LE),h.Lh=n(function(t,e,r){switch(t){case 0:return this.a;case 1:return this.b}return uL(this,t,e,r)},"Yxd"),h.Wh=n(function(t){switch(t){case 0:return this.a!=0;case 1:return this.b!=0}return P$(this,t)},"Zxd"),h.bi=n(function(t,e){switch(t){case 0:kA(this,it(lt(e)));return;case 1:vA(this,it(lt(e)));return}kN(this,t,e)},"$xd"),h.ii=n(function(){return Uo(),mUe},"_xd"),h.ki=n(function(t){switch(t){case 0:kA(this,0);return;case 1:vA(this,0);return}mN(this,t)},"ayd"),h.Ib=n(function(){var t;return(this.Db&64)!=0?fh(this):(t=new jl(fh(this)),t.a+=" (x: ",iw(t,this.a),t.a+=", y: ",iw(t,this.b),t.a+=")",t.a)},"byd"),h.a=0,h.b=0;var Yjn=S(qg,"ElkBendPointImpl",572);C(739,2083,{110:1,342:1,167:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),h.Lh=n(function(t,e,r){return nZ(this,t,e,r)},"lyd"),h.Sh=n(function(t,e,r){return uN(this,t,e,r)},"myd"),h.Uh=n(function(t,e,r){return VP(this,t,e,r)},"nyd"),h.Wh=n(function(t){return pJ(this,t)},"oyd"),h.bi=n(function(t,e){ftt(this,t,e)},"pyd"),h.ii=n(function(){return Uo(),vUe},"qyd"),h.ki=n(function(t){GJ(this,t)},"ryd"),h.jh=n(function(){return this.k},"syd"),h.kh=n(function(){return _M(this)},"tyd"),h.Ib=n(function(){return v$(this)},"uyd"),h.k=null;var Qjn=S(qg,"ElkGraphElementImpl",739);C(740,739,{110:1,342:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),h.Lh=n(function(t,e,r){return hZ(this,t,e,r)},"Gyd"),h.Wh=n(function(t){return pZ(this,t)},"Hyd"),h.bi=n(function(t,e){btt(this,t,e)},"Iyd"),h.ii=n(function(){return Uo(),kUe},"Jyd"),h.ki=n(function(t){CZ(this,t)},"Kyd"),h.lh=n(function(){return this.f},"Lyd"),h.mh=n(function(){return this.g},"Myd"),h.nh=n(function(){return this.i},"Nyd"),h.oh=n(function(){return this.j},"Oyd"),h.ph=n(function(t,e){bw(this,t,e)},"Pyd"),h.qh=n(function(t,e){ol(this,t,e)},"Qyd"),h.rh=n(function(t){Ss(this,t)},"Ryd"),h.sh=n(function(t){Es(this,t)},"Syd"),h.Ib=n(function(){return pN(this)},"Tyd"),h.f=0,h.g=0,h.i=0,h.j=0;var Jjn=S(qg,"ElkShapeImpl",740);C(741,740,{110:1,342:1,84:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),h.Lh=n(function(t,e,r){return zZ(this,t,e,r)},"_yd"),h.Sh=n(function(t,e,r){return stt(this,t,e,r)},"azd"),h.Uh=n(function(t,e,r){return ctt(this,t,e,r)},"bzd"),h.Wh=n(function(t){return FJ(this,t)},"czd"),h.bi=n(function(t,e){xet(this,t,e)},"dzd"),h.ii=n(function(){return Uo(),yUe},"ezd"),h.ki=n(function(t){IZ(this,t)},"fzd"),h.hh=n(function(){return!this.d&&(this.d=new pe(ii,this,8,5)),this.d},"gzd"),h.ih=n(function(){return!this.e&&(this.e=new pe(ii,this,7,4)),this.e},"hzd");var Zjn=S(qg,"ElkConnectableShapeImpl",741);C(326,739,{110:1,342:1,74:1,167:1,326:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},eD),h.Ah=n(function(t){return rtt(this,t)},"szd"),h.Lh=n(function(t,e,r){switch(t){case 3:return kx(this);case 4:return!this.b&&(this.b=new pe(en,this,4,7)),this.b;case 5:return!this.c&&(this.c=new pe(en,this,5,8)),this.c;case 6:return!this.a&&(this.a=new pt(Lr,this,6,6)),this.a;case 7:return Se(),!this.b&&(this.b=new pe(en,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new pe(en,this,5,8)),this.c.i<=1));case 8:return Se(),!!b8(this);case 9:return Se(),!!Ag(this);case 10:return Se(),!this.b&&(this.b=new pe(en,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new pe(en,this,5,8)),this.c.i!=0)}return nZ(this,t,e,r)},"tzd"),h.Sh=n(function(t,e,r){var i;switch(e){case 3:return this.Cb&&(r=(i=this.Db>>16,i>=0?rtt(this,r):this.Cb.Th(this,-1-i,null,r))),$V(this,l(t,27),r);case 4:return!this.b&&(this.b=new pe(en,this,4,7)),ds(this.b,t,r);case 5:return!this.c&&(this.c=new pe(en,this,5,8)),ds(this.c,t,r);case 6:return!this.a&&(this.a=new pt(Lr,this,6,6)),ds(this.a,t,r)}return uN(this,t,e,r)},"uzd"),h.Uh=n(function(t,e,r){switch(e){case 3:return $V(this,null,r);case 4:return!this.b&&(this.b=new pe(en,this,4,7)),ma(this.b,t,r);case 5:return!this.c&&(this.c=new pe(en,this,5,8)),ma(this.c,t,r);case 6:return!this.a&&(this.a=new pt(Lr,this,6,6)),ma(this.a,t,r)}return VP(this,t,e,r)},"vzd"),h.Wh=n(function(t){switch(t){case 3:return!!kx(this);case 4:return!!this.b&&this.b.i!=0;case 5:return!!this.c&&this.c.i!=0;case 6:return!!this.a&&this.a.i!=0;case 7:return!this.b&&(this.b=new pe(en,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new pe(en,this,5,8)),this.c.i<=1));case 8:return b8(this);case 9:return Ag(this);case 10:return!this.b&&(this.b=new pe(en,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new pe(en,this,5,8)),this.c.i!=0)}return pJ(this,t)},"wzd"),h.bi=n(function(t,e){switch(t){case 3:IL(this,l(e,27));return;case 4:!this.b&&(this.b=new pe(en,this,4,7)),dn(this.b),!this.b&&(this.b=new pe(en,this,4,7)),Wr(this.b,l(e,16));return;case 5:!this.c&&(this.c=new pe(en,this,5,8)),dn(this.c),!this.c&&(this.c=new pe(en,this,5,8)),Wr(this.c,l(e,16));return;case 6:!this.a&&(this.a=new pt(Lr,this,6,6)),dn(this.a),!this.a&&(this.a=new pt(Lr,this,6,6)),Wr(this.a,l(e,16));return}ftt(this,t,e)},"xzd"),h.ii=n(function(){return Uo(),SZt},"yzd"),h.ki=n(function(t){switch(t){case 3:IL(this,null);return;case 4:!this.b&&(this.b=new pe(en,this,4,7)),dn(this.b);return;case 5:!this.c&&(this.c=new pe(en,this,5,8)),dn(this.c);return;case 6:!this.a&&(this.a=new pt(Lr,this,6,6)),dn(this.a);return}GJ(this,t)},"zzd"),h.Ib=n(function(){return INt(this)},"Azd");var tIn=S(qg,"ElkEdgeImpl",326);C(452,2083,{110:1,342:1,166:1,452:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},_E),h.Ah=n(function(t){return ZZ(this,t)},"Szd"),h.Lh=n(function(t,e,r){switch(t){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new ci(Al,this,5)),this.a;case 6:return WSt(this);case 7:return e?q$(this):this.i;case 8:return e?z$(this):this.f;case 9:return!this.g&&(this.g=new pe(Lr,this,9,10)),this.g;case 10:return!this.e&&(this.e=new pe(Lr,this,10,9)),this.e;case 11:return this.d}return VZ(this,t,e,r)},"Tzd"),h.Sh=n(function(t,e,r){var i,a,c;switch(e){case 6:return this.Cb&&(r=(a=this.Db>>16,a>=0?ZZ(this,r):this.Cb.Th(this,-1-a,null,r))),PV(this,l(t,74),r);case 9:return!this.g&&(this.g=new pe(Lr,this,9,10)),ds(this.g,t,r);case 10:return!this.e&&(this.e=new pe(Lr,this,10,9)),ds(this.e,t,r)}return c=l(we((i=l(Ae(this,16),29),i||(Uo(),FH)),e),69),c.wk().zk(this,Bs(this),e-Ze((Uo(),FH)),t,r)},"Uzd"),h.Uh=n(function(t,e,r){switch(e){case 5:return!this.a&&(this.a=new ci(Al,this,5)),ma(this.a,t,r);case 6:return PV(this,null,r);case 9:return!this.g&&(this.g=new pe(Lr,this,9,10)),ma(this.g,t,r);case 10:return!this.e&&(this.e=new pe(Lr,this,10,9)),ma(this.e,t,r)}return Ptt(this,t,e,r)},"Vzd"),h.Wh=n(function(t){switch(t){case 1:return this.j!=0;case 2:return this.k!=0;case 3:return this.b!=0;case 4:return this.c!=0;case 5:return!!this.a&&this.a.i!=0;case 6:return!!WSt(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&this.g.i!=0;case 10:return!!this.e&&this.e.i!=0;case 11:return this.d!=null}return qY(this,t)},"Wzd"),h.bi=n(function(t,e){switch(t){case 1:uy(this,it(lt(e)));return;case 2:fy(this,it(lt(e)));return;case 3:hy(this,it(lt(e)));return;case 4:dy(this,it(lt(e)));return;case 5:!this.a&&(this.a=new ci(Al,this,5)),dn(this.a),!this.a&&(this.a=new ci(Al,this,5)),Wr(this.a,l(e,16));return;case 6:jPt(this,l(e,74));return;case 7:MA(this,l(e,84));return;case 8:BA(this,l(e,84));return;case 9:!this.g&&(this.g=new pe(Lr,this,9,10)),dn(this.g),!this.g&&(this.g=new pe(Lr,this,9,10)),Wr(this.g,l(e,16));return;case 10:!this.e&&(this.e=new pe(Lr,this,10,9)),dn(this.e),!this.e&&(this.e=new pe(Lr,this,10,9)),Wr(this.e,l(e,16));return;case 11:iJ(this,En(e));return}OJ(this,t,e)},"Xzd"),h.ii=n(function(){return Uo(),FH},"Yzd"),h.ki=n(function(t){switch(t){case 1:uy(this,0);return;case 2:fy(this,0);return;case 3:hy(this,0);return;case 4:dy(this,0);return;case 5:!this.a&&(this.a=new ci(Al,this,5)),dn(this.a);return;case 6:jPt(this,null);return;case 7:MA(this,null);return;case 8:BA(this,null);return;case 9:!this.g&&(this.g=new pe(Lr,this,9,10)),dn(this.g);return;case 10:!this.e&&(this.e=new pe(Lr,this,10,9)),dn(this.e);return;case 11:iJ(this,null);return}xJ(this,t)},"Zzd"),h.Ib=n(function(){return XIt(this)},"$zd"),h.b=0,h.c=0,h.d=null,h.j=0,h.k=0;var eIn=S(qg,"ElkEdgeSectionImpl",452);C(158,120,{110:1,94:1,93:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),h.Lh=n(function(t,e,r){var i;return t==0?(!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),this.Ab):fl(this,t-Ze(this.ii()),we((i=l(Ae(this,16),29),i||this.ii()),t),e,r)},"cAd"),h.Sh=n(function(t,e,r){var i,a;return e==0?(!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ds(this.Ab,t,r)):(a=l(we((i=l(Ae(this,16),29),i||this.ii()),e),69),a.wk().zk(this,Bs(this),e-Ze(this.ii()),t,r))},"dAd"),h.Uh=n(function(t,e,r){var i,a;return e==0?(!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ma(this.Ab,t,r)):(a=l(we((i=l(Ae(this,16),29),i||this.ii()),e),69),a.wk().Ak(this,Bs(this),e-Ze(this.ii()),t,r))},"eAd"),h.Wh=n(function(t){var e;return t==0?!!this.Ab&&this.Ab.i!=0:ul(this,t-Ze(this.ii()),we((e=l(Ae(this,16),29),e||this.ii()),t))},"fAd"),h.Zh=n(function(t){return Ont(this,t)},"gAd"),h.bi=n(function(t,e){var r;if(t===0){!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab),!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),Wr(this.Ab,l(e,16));return}wl(this,t-Ze(this.ii()),we((r=l(Ae(this,16),29),r||this.ii()),t),e)},"hAd"),h.di=n(function(t){z3(this,128,t)},"iAd"),h.ii=n(function(){return he(),qUe},"jAd"),h.ki=n(function(t){var e;if(t===0){!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab);return}pl(this,t-Ze(this.ii()),we((e=l(Ae(this,16),29),e||this.ii()),t))},"kAd"),h.pi=n(function(){this.Bb|=1},"lAd"),h.qi=n(function(t){return k8(this,t)},"mAd"),h.Bb=0;var nIn=S(Me,"EModelElementImpl",158);C(720,158,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},jU),h.ri=n(function(t,e){return uRt(this,t,e)},"zAd"),h.si=n(function(t){var e,r,i,a,c;if(this.a!=Yc(t)||(t.Bb&256)!=0)throw R(new Le(Qit+t.zb+y2));for(i=ro(t);Jo(i.a).i!=0;){if(r=l(qC(i,0,(e=l(Z(Jo(i.a),0),89),c=e.c,J(c,90)?l(c,29):(he(),Mh))),29),Mg(r))return a=Yc(r).wi().si(r),l(a,54).ci(t),a;i=ro(r)}return(t.D!=null?t.D:t.B)=="java.util.Map$Entry"?new MCt(t):new EX(t)},"AAd"),h.ti=n(function(t,e){return Dg(this,t,e)},"BAd"),h.Lh=n(function(t,e,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),this.Ab;case 1:return this.a}return fl(this,t-Ze((he(),Eb)),we((i=l(Ae(this,16),29),i||Eb),t),e,r)},"CAd"),h.Sh=n(function(t,e,r){var i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ds(this.Ab,t,r);case 1:return this.a&&(r=l(this.a,54).Th(this,4,Tu,r)),WJ(this,l(t,241),r)}return a=l(we((i=l(Ae(this,16),29),i||(he(),Eb)),e),69),a.wk().zk(this,Bs(this),e-Ze((he(),Eb)),t,r)},"DAd"),h.Uh=n(function(t,e,r){var i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ma(this.Ab,t,r);case 1:return WJ(this,null,r)}return a=l(we((i=l(Ae(this,16),29),i||(he(),Eb)),e),69),a.wk().Ak(this,Bs(this),e-Ze((he(),Eb)),t,r)},"EAd"),h.Wh=n(function(t){var e;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return ul(this,t-Ze((he(),Eb)),we((e=l(Ae(this,16),29),e||Eb),t))},"FAd"),h.bi=n(function(t,e){var r;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab),!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),Wr(this.Ab,l(e,16));return;case 1:Fjt(this,l(e,241));return}wl(this,t-Ze((he(),Eb)),we((r=l(Ae(this,16),29),r||Eb),t),e)},"GAd"),h.ii=n(function(){return he(),Eb},"HAd"),h.ki=n(function(t){var e;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab);return;case 1:Fjt(this,null);return}pl(this,t-Ze((he(),Eb)),we((e=l(Ae(this,16),29),e||Eb),t))},"IAd");var SS,AZt,TUe,rIn=S(Me,"EFactoryImpl",720);C(1037,720,{110:1,2113:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},Hpt),h.ri=n(function(t,e){switch(t.hk()){case 12:return l(e,149).Pg();case 13:return bo(e);default:throw R(new Le(X8+t.xe()+y2))}},"LAd"),h.si=n(function(t){var e,r,i,a,c,u,d,b;switch(t.G==-1&&(t.G=(e=Yc(t),e?Z0(e.vi(),t):-1)),t.G){case 4:return c=new AU,c;case 6:return u=new A6,u;case 7:return d=new AW,d;case 8:return i=new eD,i;case 9:return r=new LE,r;case 10:return a=new _E,a;case 11:return b=new Kpt,b;default:throw R(new Le(Qit+t.zb+y2))}},"MAd"),h.ti=n(function(t,e){switch(t.hk()){case 13:case 12:return null;default:throw R(new Le(X8+t.xe()+y2))}},"NAd");var iIn=S(qg,"ElkGraphFactoryImpl",1037);C(448,158,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),h.Gh=n(function(){var t,e;return e=(t=l(Ae(this,16),29),MY(Hu(t||this.ii()))),e==null?(H6(),H6(),ult):new Q9t(this,e)},"RAd"),h.Lh=n(function(t,e,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),this.Ab;case 1:return this.xe()}return fl(this,t-Ze(this.ii()),we((i=l(Ae(this,16),29),i||this.ii()),t),e,r)},"SAd"),h.Wh=n(function(t){var e;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return ul(this,t-Ze(this.ii()),we((e=l(Ae(this,16),29),e||this.ii()),t))},"TAd"),h.bi=n(function(t,e){var r;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab),!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),Wr(this.Ab,l(e,16));return;case 1:this.ui(En(e));return}wl(this,t-Ze(this.ii()),we((r=l(Ae(this,16),29),r||this.ii()),t),e)},"UAd"),h.ii=n(function(){return he(),HUe},"VAd"),h.ki=n(function(t){var e;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab);return;case 1:this.ui(null);return}pl(this,t-Ze(this.ii()),we((e=l(Ae(this,16),29),e||this.ii()),t))},"WAd"),h.xe=n(function(){return this.zb},"XAd"),h.ui=n(function(t){us(this,t)},"YAd"),h.Ib=n(function(){return X7(this)},"ZAd"),h.zb=null;var aIn=S(Me,"ENamedElementImpl",448);C(184,448,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},TSt),h.Ah=n(function(t){return HDt(this,t)},"GBd"),h.Lh=n(function(t,e,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new Pp(this,Su,this)),this.rb;case 6:return!this.vb&&(this.vb=new p3(Tu,this,6,7)),this.vb;case 7:return e?this.Db>>16==7?l(this.Cb,241):null:ZSt(this)}return fl(this,t-Ze((he(),df)),we((i=l(Ae(this,16),29),i||df),t),e,r)},"HBd"),h.Sh=n(function(t,e,r){var i,a,c;switch(e){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ds(this.Ab,t,r);case 4:return this.sb&&(r=l(this.sb,54).Th(this,1,TS,r)),XJ(this,l(t,480),r);case 5:return!this.rb&&(this.rb=new Pp(this,Su,this)),ds(this.rb,t,r);case 6:return!this.vb&&(this.vb=new p3(Tu,this,6,7)),ds(this.vb,t,r);case 7:return this.Cb&&(r=(a=this.Db>>16,a>=0?HDt(this,r):this.Cb.Th(this,-1-a,null,r))),nl(this,t,7,r)}return c=l(we((i=l(Ae(this,16),29),i||(he(),df)),e),69),c.wk().zk(this,Bs(this),e-Ze((he(),df)),t,r)},"IBd"),h.Uh=n(function(t,e,r){var i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ma(this.Ab,t,r);case 4:return XJ(this,null,r);case 5:return!this.rb&&(this.rb=new Pp(this,Su,this)),ma(this.rb,t,r);case 6:return!this.vb&&(this.vb=new p3(Tu,this,6,7)),ma(this.vb,t,r);case 7:return nl(this,null,7,r)}return a=l(we((i=l(Ae(this,16),29),i||(he(),df)),e),69),a.wk().Ak(this,Bs(this),e-Ze((he(),df)),t,r)},"JBd"),h.Wh=n(function(t){var e;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.yb!=null;case 3:return this.xb!=null;case 4:return!!this.sb;case 5:return!!this.rb&&this.rb.i!=0;case 6:return!!this.vb&&this.vb.i!=0;case 7:return!!ZSt(this)}return ul(this,t-Ze((he(),df)),we((e=l(Ae(this,16),29),e||df),t))},"KBd"),h.Zh=n(function(t){var e;return e=Ixe(this,t),e||Ont(this,t)},"LBd"),h.bi=n(function(t,e){var r;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab),!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),Wr(this.Ab,l(e,16));return;case 1:us(this,En(e));return;case 2:DA(this,En(e));return;case 3:OA(this,En(e));return;case 4:gN(this,l(e,480));return;case 5:!this.rb&&(this.rb=new Pp(this,Su,this)),dn(this.rb),!this.rb&&(this.rb=new Pp(this,Su,this)),Wr(this.rb,l(e,16));return;case 6:!this.vb&&(this.vb=new p3(Tu,this,6,7)),dn(this.vb),!this.vb&&(this.vb=new p3(Tu,this,6,7)),Wr(this.vb,l(e,16));return}wl(this,t-Ze((he(),df)),we((r=l(Ae(this,16),29),r||df),t),e)},"MBd"),h.ei=n(function(t){var e,r;if(t&&this.rb)for(r=new ze(this.rb);r.e!=r.i.gc();)e=Xe(r),J(e,364)&&(l(e,364).w=null);z3(this,64,t)},"NBd"),h.ii=n(function(){return he(),df},"OBd"),h.ki=n(function(t){var e;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab);return;case 1:us(this,null);return;case 2:DA(this,null);return;case 3:OA(this,null);return;case 4:gN(this,null);return;case 5:!this.rb&&(this.rb=new Pp(this,Su,this)),dn(this.rb);return;case 6:!this.vb&&(this.vb=new p3(Tu,this,6,7)),dn(this.vb);return}pl(this,t-Ze((he(),df)),we((e=l(Ae(this,16),29),e||df),t))},"PBd"),h.pi=n(function(){eN(this)},"QBd"),h.vi=n(function(){return!this.rb&&(this.rb=new Pp(this,Su,this)),this.rb},"RBd"),h.wi=n(function(){return this.sb},"SBd"),h.xi=n(function(){return this.ub},"TBd"),h.yi=n(function(){return this.xb},"UBd"),h.zi=n(function(){return this.yb},"VBd"),h.Ai=n(function(t){this.ub=t},"WBd"),h.Ib=n(function(){var t;return(this.Db&64)!=0?X7(this):(t=new jl(X7(this)),t.a+=" (nsURI: ",Ia(t,this.yb),t.a+=", nsPrefix: ",Ia(t,this.xb),t.a+=")",t.a)},"XBd"),h.xb=null,h.yb=null;var SUe,oIn=S(Me,"EPackageImpl",184);C(569,184,{110:1,2115:1,569:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},iPt),h.q=!1,h.r=!1;var EUe=!1,sIn=S(qg,"ElkGraphPackageImpl",569);C(366,740,{110:1,342:1,167:1,135:1,422:1,366:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},AU),h.Ah=n(function(t){return ttt(this,t)},"iCd"),h.Lh=n(function(t,e,r){switch(t){case 7:return tEt(this);case 8:return this.a}return hZ(this,t,e,r)},"jCd"),h.Sh=n(function(t,e,r){var i;return e===7?(this.Cb&&(r=(i=this.Db>>16,i>=0?ttt(this,r):this.Cb.Th(this,-1-i,null,r))),zX(this,l(t,167),r)):uN(this,t,e,r)},"kCd"),h.Uh=n(function(t,e,r){return e==7?zX(this,null,r):VP(this,t,e,r)},"lCd"),h.Wh=n(function(t){switch(t){case 7:return!!tEt(this);case 8:return!ie("",this.a)}return pZ(this,t)},"mCd"),h.bi=n(function(t,e){switch(t){case 7:Iet(this,l(e,167));return;case 8:ZQ(this,En(e));return}btt(this,t,e)},"nCd"),h.ii=n(function(){return Uo(),EZt},"oCd"),h.ki=n(function(t){switch(t){case 7:Iet(this,null);return;case 8:ZQ(this,"");return}CZ(this,t)},"pCd"),h.Ib=n(function(){return Wjt(this)},"qCd"),h.a="";var cIn=S(qg,"ElkLabelImpl",366);C(207,741,{110:1,342:1,84:1,167:1,27:1,422:1,207:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},A6),h.Ah=n(function(t){return itt(this,t)},"BCd"),h.Lh=n(function(t,e,r){switch(t){case 9:return!this.c&&(this.c=new pt(_c,this,9,9)),this.c;case 10:return!this.a&&(this.a=new pt(Vn,this,10,11)),this.a;case 11:return _r(this);case 12:return!this.b&&(this.b=new pt(ii,this,12,3)),this.b;case 13:return Se(),!this.a&&(this.a=new pt(Vn,this,10,11)),this.a.i>0}return zZ(this,t,e,r)},"CCd"),h.Sh=n(function(t,e,r){var i;switch(e){case 9:return!this.c&&(this.c=new pt(_c,this,9,9)),ds(this.c,t,r);case 10:return!this.a&&(this.a=new pt(Vn,this,10,11)),ds(this.a,t,r);case 11:return this.Cb&&(r=(i=this.Db>>16,i>=0?itt(this,r):this.Cb.Th(this,-1-i,null,r))),VV(this,l(t,27),r);case 12:return!this.b&&(this.b=new pt(ii,this,12,3)),ds(this.b,t,r)}return stt(this,t,e,r)},"DCd"),h.Uh=n(function(t,e,r){switch(e){case 9:return!this.c&&(this.c=new pt(_c,this,9,9)),ma(this.c,t,r);case 10:return!this.a&&(this.a=new pt(Vn,this,10,11)),ma(this.a,t,r);case 11:return VV(this,null,r);case 12:return!this.b&&(this.b=new pt(ii,this,12,3)),ma(this.b,t,r)}return ctt(this,t,e,r)},"ECd"),h.Wh=n(function(t){switch(t){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!_r(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new pt(Vn,this,10,11)),this.a.i>0}return FJ(this,t)},"FCd"),h.bi=n(function(t,e){switch(t){case 9:!this.c&&(this.c=new pt(_c,this,9,9)),dn(this.c),!this.c&&(this.c=new pt(_c,this,9,9)),Wr(this.c,l(e,16));return;case 10:!this.a&&(this.a=new pt(Vn,this,10,11)),dn(this.a),!this.a&&(this.a=new pt(Vn,this,10,11)),Wr(this.a,l(e,16));return;case 11:PL(this,l(e,27));return;case 12:!this.b&&(this.b=new pt(ii,this,12,3)),dn(this.b),!this.b&&(this.b=new pt(ii,this,12,3)),Wr(this.b,l(e,16));return}xet(this,t,e)},"GCd"),h.ii=n(function(){return Uo(),BZt},"HCd"),h.ki=n(function(t){switch(t){case 9:!this.c&&(this.c=new pt(_c,this,9,9)),dn(this.c);return;case 10:!this.a&&(this.a=new pt(Vn,this,10,11)),dn(this.a);return;case 11:PL(this,null);return;case 12:!this.b&&(this.b=new pt(ii,this,12,3)),dn(this.b);return}IZ(this,t)},"ICd"),h.Ib=n(function(){return Jet(this)},"JCd");var lIn=S(qg,"ElkNodeImpl",207);C(193,741,{110:1,342:1,84:1,167:1,123:1,422:1,193:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},AW),h.Ah=n(function(t){return ett(this,t)},"QCd"),h.Lh=n(function(t,e,r){return t==9?su(this):zZ(this,t,e,r)},"RCd"),h.Sh=n(function(t,e,r){var i;return e===9?(this.Cb&&(r=(i=this.Db>>16,i>=0?ett(this,r):this.Cb.Th(this,-1-i,null,r))),NV(this,l(t,27),r)):stt(this,t,e,r)},"SCd"),h.Uh=n(function(t,e,r){return e==9?NV(this,null,r):ctt(this,t,e,r)},"TCd"),h.Wh=n(function(t){return t==9?!!su(this):FJ(this,t)},"UCd"),h.bi=n(function(t,e){if(t===9){Fet(this,l(e,27));return}xet(this,t,e)},"VCd"),h.ii=n(function(){return Uo(),MZt},"WCd"),h.ki=n(function(t){if(t===9){Fet(this,null);return}IZ(this,t)},"XCd"),h.Ib=n(function(){return D$t(this)},"YCd");var hIn=S(qg,"ElkPortImpl",193),BUe=Rr(xa,"BasicEMap/Entry");C(1122,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,119:1,120:1},Kpt),h.Fb=n(function(t){return this===t},"fDd"),h.ld=n(function(){return this.b},"hDd"),h.Hb=n(function(){return Zb(this)},"jDd"),h.Di=n(function(t){tJ(this,l(t,149))},"lDd"),h.Lh=n(function(t,e,r){switch(t){case 0:return this.b;case 1:return this.c}return uL(this,t,e,r)},"aDd"),h.Wh=n(function(t){switch(t){case 0:return!!this.b;case 1:return this.c!=null}return P$(this,t)},"bDd"),h.bi=n(function(t,e){switch(t){case 0:tJ(this,l(e,149));return;case 1:JQ(this,e);return}kN(this,t,e)},"cDd"),h.ii=n(function(){return Uo(),x0},"dDd"),h.ki=n(function(t){switch(t){case 0:tJ(this,null);return;case 1:JQ(this,null);return}mN(this,t)},"eDd"),h.Bi=n(function(){var t;return this.a==-1&&(t=this.b,this.a=t?kr(t):0),this.a},"gDd"),h.md=n(function(){return this.c},"iDd"),h.Ci=n(function(t){this.a=t},"kDd"),h.nd=n(function(t){var e;return e=this.c,JQ(this,t),e},"mDd"),h.Ib=n(function(){var t;return(this.Db&64)!=0?fh(this):(t=new kd,jn(jn(jn(t,this.b?this.b.Pg():bc),Krt),l7(this.c)),t.a)},"nDd"),h.a=-1,h.c=null;var cf=S(qg,"ElkPropertyToValueMapEntryImpl",1122);C(996,1,{},Gpt);var uIn=S(ra,"JsonAdapter",996);C(216,63,rd,Lu);var dIn=S(ra,"JsonImportException",216);C(868,1,{},KDt);var fIn=S(ra,"JsonImporter",868);C(903,1,{},Y8t);var bIn=S(ra,"JsonImporter/lambda$0$Type",903);C(904,1,{},Q8t);var gIn=S(ra,"JsonImporter/lambda$1$Type",904);C(912,1,{},vyt);var pIn=S(ra,"JsonImporter/lambda$10$Type",912);C(914,1,{},J8t);var wIn=S(ra,"JsonImporter/lambda$11$Type",914);C(915,1,{},Z8t);var mIn=S(ra,"JsonImporter/lambda$12$Type",915);C(921,1,{},dSt);var yIn=S(ra,"JsonImporter/lambda$13$Type",921);C(920,1,{},fSt);var vIn=S(ra,"JsonImporter/lambda$14$Type",920);C(916,1,{},tkt);var kIn=S(ra,"JsonImporter/lambda$15$Type",916);C(917,1,{},ekt);var xIn=S(ra,"JsonImporter/lambda$16$Type",917);C(918,1,{},nkt);var CIn=S(ra,"JsonImporter/lambda$17$Type",918);C(919,1,{},rkt);var TIn=S(ra,"JsonImporter/lambda$18$Type",919);C(924,1,{},kyt);var SIn=S(ra,"JsonImporter/lambda$19$Type",924);C(905,1,{},xyt);var EIn=S(ra,"JsonImporter/lambda$2$Type",905);C(922,1,{},Cyt);var BIn=S(ra,"JsonImporter/lambda$20$Type",922);C(923,1,{},Tyt);var MIn=S(ra,"JsonImporter/lambda$21$Type",923);C(927,1,{},Syt);var AIn=S(ra,"JsonImporter/lambda$22$Type",927);C(925,1,{},Eyt);var LIn=S(ra,"JsonImporter/lambda$23$Type",925);C(926,1,{},Byt);var _In=S(ra,"JsonImporter/lambda$24$Type",926);C(929,1,{},Myt);var FIn=S(ra,"JsonImporter/lambda$25$Type",929);C(928,1,{},Ayt);var OIn=S(ra,"JsonImporter/lambda$26$Type",928);C(930,1,Ye,ikt),h.Cd=n(function(t){Ype(this.b,this.a,En(t))},"cFd");var DIn=S(ra,"JsonImporter/lambda$27$Type",930);C(931,1,Ye,akt),h.Cd=n(function(t){Qpe(this.b,this.a,En(t))},"eFd");var jIn=S(ra,"JsonImporter/lambda$28$Type",931);C(932,1,{},okt);var IIn=S(ra,"JsonImporter/lambda$29$Type",932);C(908,1,{},Lyt);var PIn=S(ra,"JsonImporter/lambda$3$Type",908);C(933,1,{},skt);var $In=S(ra,"JsonImporter/lambda$30$Type",933);C(934,1,{},_yt);var NIn=S(ra,"JsonImporter/lambda$31$Type",934);C(935,1,{},Fyt);var RIn=S(ra,"JsonImporter/lambda$32$Type",935);C(936,1,{},Oyt);var zIn=S(ra,"JsonImporter/lambda$33$Type",936);C(937,1,{},Dyt);var qIn=S(ra,"JsonImporter/lambda$34$Type",937);C(870,1,{},jyt);var HIn=S(ra,"JsonImporter/lambda$35$Type",870);C(941,1,{},nCt);var KIn=S(ra,"JsonImporter/lambda$36$Type",941);C(938,1,Ye,Iyt),h.Cd=n(function(t){npe(this.a,l(t,377))},"rFd");var UIn=S(ra,"JsonImporter/lambda$37$Type",938);C(939,1,Ye,ckt),h.Cd=n(function(t){Pse(this.a,this.b,l(t,166))},"tFd");var WIn=S(ra,"JsonImporter/lambda$38$Type",939);C(940,1,Ye,lkt),h.Cd=n(function(t){$se(this.a,this.b,l(t,166))},"vFd");var GIn=S(ra,"JsonImporter/lambda$39$Type",940);C(906,1,{},Pyt);var VIn=S(ra,"JsonImporter/lambda$4$Type",906);C(942,1,Ye,$yt),h.Cd=n(function(t){rpe(this.a,l(t,8))},"yFd");var XIn=S(ra,"JsonImporter/lambda$40$Type",942);C(907,1,{},Nyt);var YIn=S(ra,"JsonImporter/lambda$5$Type",907);C(911,1,{},Ryt);var QIn=S(ra,"JsonImporter/lambda$6$Type",911);C(909,1,{},zyt);var JIn=S(ra,"JsonImporter/lambda$7$Type",909);C(910,1,{},qyt);var ZIn=S(ra,"JsonImporter/lambda$8$Type",910);C(913,1,{},Hyt);var tPn=S(ra,"JsonImporter/lambda$9$Type",913);C(961,1,Ye,Kyt),h.Cd=n(function(t){T3(this.a,new $p(En(t)))},"NFd");var ePn=S(ra,"JsonMetaDataConverter/lambda$0$Type",961);C(962,1,Ye,Uyt),h.Cd=n(function(t){V0e(this.a,l(t,245))},"PFd");var nPn=S(ra,"JsonMetaDataConverter/lambda$1$Type",962);C(963,1,Ye,Wyt),h.Cd=n(function(t){Gfe(this.a,l(t,143))},"RFd");var rPn=S(ra,"JsonMetaDataConverter/lambda$2$Type",963);C(964,1,Ye,Gyt),h.Cd=n(function(t){X0e(this.a,l(t,170))},"TFd");var iPn=S(ra,"JsonMetaDataConverter/lambda$3$Type",964);C(245,22,{3:1,34:1,22:1,245:1},h3);var OH,DH,ilt,jH,IH,PH,alt,olt,$H=ln(w_,"GraphFeature",245,mn,F2e,k1e),MUe;C(11,1,{34:1,149:1},or,Nr,ee,Ki),h.Fd=n(function(t){return Hce(this,l(t,149))},"nGd"),h.Fb=n(function(t){return ISt(this,t)},"oGd"),h.Sg=n(function(){return Lt(this)},"pGd"),h.Pg=n(function(){return this.b},"qGd"),h.Hb=n(function(){return W0(this.b)},"rGd"),h.Ib=n(function(){return this.b},"sGd");var aPn=S(w_,"Property",11);C(671,1,_n,gD),h.Ne=n(function(t,e){return Z3e(this,l(t,96),l(e,96))},"vGd"),h.Fb=n(function(t){return this===t},"wGd"),h.Oe=n(function(){return new kn(this)},"xGd");var oPn=S(w_,"PropertyHolderComparator",671);C(709,1,zi,hW),h.Nb=n(function(t){Yi(this,t)},"RGd"),h.Pb=n(function(){return t2e(this)},"TGd"),h.Qb=n(function(){H6t()},"UGd"),h.Ob=n(function(){return!!this.a},"SGd");var sPn=S(az,"ElkGraphUtil/AncestorIterator",709),LZt=Rr(xa,"EList");C(70,56,{20:1,31:1,56:1,16:1,15:1,70:1,61:1}),h.bd=n(function(t,e){Q7(this,t,e)},"hHd"),h.Fc=n(function(t){return bn(this,t)},"iHd"),h.cd=n(function(t,e){return CJ(this,t,e)},"jHd"),h.Gc=n(function(t){return Wr(this,t)},"kHd"),h.Ii=n(function(){return new g3(this)},"lHd"),h.Ji=n(function(){return new J9(this)},"mHd"),h.Ki=n(function(t){return Kx(this,t)},"nHd"),h.Li=n(function(){return!0},"oHd"),h.Mi=n(function(t,e){},"pHd"),h.Ni=n(function(){},"qHd"),h.Oi=n(function(t,e){gP(this,t,e)},"rHd"),h.Pi=n(function(t,e,r){},"sHd"),h.Qi=n(function(t,e){},"tHd"),h.Ri=n(function(t,e,r){},"uHd"),h.Fb=n(function(t){return m$t(this,t)},"vHd"),h.Hb=n(function(){return yJ(this)},"wHd"),h.Si=n(function(){return!1},"xHd"),h.Kc=n(function(){return new ze(this)},"yHd"),h.ed=n(function(){return new b3(this)},"zHd"),h.fd=n(function(t){var e;if(e=this.gc(),t<0||t>e)throw R(new jp(t,e));return new vI(this,t)},"AHd"),h.Ui=n(function(t,e){this.Ti(t,this.dd(e))},"BHd"),h.Mc=n(function(t){return fA(this,t)},"CHd"),h.Wi=n(function(t,e){return e},"DHd"),h.hd=n(function(t,e){return Ow(this,t,e)},"EHd"),h.Ib=n(function(){return fZ(this)},"FHd"),h.Yi=n(function(){return!0},"GHd"),h.Zi=n(function(t,e){return By(this,e)},"HHd");var cPn=S(xa,"AbstractEList",70);C(66,70,M1,FE,pg,fJ),h.Ei=n(function(t,e){return dN(this,t,e)},"_Hd"),h.Fi=n(function(t){return gDt(this,t)},"aId"),h.Gi=n(function(t,e){aC(this,t,e)},"bId"),h.Hi=n(function(t){Mx(this,t)},"cId"),h.$i=n(function(t){return BQ(this,t)},"dId"),h.$b=n(function(){O7(this)},"eId"),h.Hc=n(function(t){return Hy(this,t)},"fId"),h.Xb=n(function(t){return Z(this,t)},"gId"),h._i=n(function(t){var e,r,i;++this.j,r=this.g==null?0:this.g.length,t>r&&(i=this.g,e=r+(r/2|0)+4,e=0?(this.gd(e),!0):!1},"KJd"),h.Xi=n(function(t,e){return this.Dj(t,this.Zi(t,e))},"LJd"),h.gc=n(function(){return this.Ej()},"MJd"),h.Pc=n(function(){return this.Fj()},"NJd"),h.Qc=n(function(t){return this.Gj(t)},"OJd"),h.Ib=n(function(){return this.Hj()},"PJd");var wPn=S(xa,"DelegatingEList",2093);C(2094,2093,YOe),h.Ei=n(function(t,e){return lnt(this,t,e)},"XJd"),h.Fi=n(function(t){return this.Ei(this.Ej(),t)},"YJd"),h.Gi=n(function(t,e){aPt(this,t,e)},"ZJd"),h.Hi=n(function(t){GIt(this,t)},"$Jd"),h.Li=n(function(){return!this.Mj()},"_Jd"),h.$b=n(function(){B8(this)},"aKd"),h.Ij=n(function(t,e,r,i,a){return new jSt(this,t,e,r,i,a)},"bKd"),h.Jj=n(function(t){tr(this.jj(),t)},"cKd"),h.Kj=n(function(){return null},"dKd"),h.Lj=n(function(){return-1},"eKd"),h.jj=n(function(){return null},"fKd"),h.Mj=n(function(){return!1},"gKd"),h.Nj=n(function(t,e){return e},"hKd"),h.Oj=n(function(t,e){return e},"iKd"),h.Pj=n(function(){return!1},"jKd"),h.Qj=n(function(){return!this.Aj()},"kKd"),h.Ti=n(function(t,e){var r,i;return this.Pj()?(i=this.Qj(),r=Dtt(this,t,e),this.Jj(this.Ij(7,Et(e),r,t,i)),r):Dtt(this,t,e)},"lKd"),h.gd=n(function(t){var e,r,i,a;return this.Pj()?(r=null,i=this.Qj(),e=this.Ij(4,a=uM(this,t),null,t,i),this.Mj()&&a?(r=this.Oj(a,r),r?(r.nj(e),r.oj()):this.Jj(e)):r?(r.nj(e),r.oj()):this.Jj(e),a):(a=uM(this,t),this.Mj()&&a&&(r=this.Oj(a,null),r&&r.oj()),a)},"mKd"),h.Xi=n(function(t,e){return dNt(this,t,e)},"nKd");var mPn=S(wv,"DelegatingNotifyingListImpl",2094);C(152,1,D_),h.nj=n(function(t){return ytt(this,t)},"PKd"),h.oj=n(function(){CP(this)},"QKd"),h.gj=n(function(){return this.d},"RKd"),h.Kj=n(function(){return null},"SKd"),h.Rj=n(function(){return null},"TKd"),h.hj=n(function(t){return-1},"UKd"),h.ij=n(function(){return ZPt(this)},"VKd"),h.jj=n(function(){return null},"WKd"),h.kj=n(function(){return zet(this)},"XKd"),h.lj=n(function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},"YKd"),h.Sj=n(function(){return!1},"ZKd"),h.mj=n(function(t){var e,r,i,a,c,u,d,b,w,m,x;switch(this.d){case 1:case 2:switch(a=t.gj(),a){case 1:case 2:if(c=t.jj(),ot(c)===ot(this.jj())&&this.hj(null)==t.hj(null))return this.g=t.ij(),t.gj()==1&&(this.d=1),!0}case 4:{switch(a=t.gj(),a){case 4:{if(c=t.jj(),ot(c)===ot(this.jj())&&this.hj(null)==t.hj(null))return w=Ent(this),b=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,u=t.lj(),this.d=6,x=new pg(2),b<=u?(bn(x,this.n),bn(x,t.kj()),this.g=H(q(yn,1),Pn,28,15,[this.o=b,u+1])):(bn(x,t.kj()),bn(x,this.n),this.g=H(q(yn,1),Pn,28,15,[this.o=u,b])),this.n=x,w||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(a=t.gj(),a){case 4:{if(c=t.jj(),ot(c)===ot(this.jj())&&this.hj(null)==t.hj(null)){for(w=Ent(this),u=t.lj(),m=l(this.g,53),i=ht(yn,Pn,28,m.length+1,15,1),e=0;e>>0,e.toString(16))),i.a+=" (eventType: ",this.d){case 1:{i.a+="SET";break}case 2:{i.a+="UNSET";break}case 3:{i.a+="ADD";break}case 5:{i.a+="ADD_MANY";break}case 4:{i.a+="REMOVE";break}case 6:{i.a+="REMOVE_MANY";break}case 7:{i.a+="MOVE";break}case 8:{i.a+="REMOVING_ADAPTER";break}case 9:{i.a+="RESOLVE";break}default:{ND(i,this.d);break}}if(R$t(this)&&(i.a+=", touch: true"),i.a+=", position: ",ND(i,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),i.a+=", notifier: ",r7(i,this.jj()),i.a+=", feature: ",r7(i,this.Kj()),i.a+=", oldValue: ",r7(i,zet(this)),i.a+=", newValue: ",this.d==6&&J(this.g,53)){for(r=l(this.g,53),i.a+="[",t=0;t10?((!this.b||this.c.j!=this.a)&&(this.b=new g7(this),this.a=this.j),Fh(this.b,t)):Hy(this,t)},"$Ld"),h.Yi=n(function(){return!0},"_Ld"),h.a=0;var SPn=S(xa,"AbstractEList/1",966);C(302,77,brt,jp);var EPn=S(xa,"AbstractEList/BasicIndexOutOfBoundsException",302);C(37,1,zi,ze),h.Nb=n(function(t){Yi(this,t)},"gMd"),h.Xj=n(function(){if(this.i.j!=this.f)throw R(new al)},"eMd"),h.Yj=n(function(){return Xe(this)},"fMd"),h.Ob=n(function(){return this.e!=this.i.gc()},"hMd"),h.Pb=n(function(){return this.Yj()},"iMd"),h.Qb=n(function(){l8(this)},"jMd"),h.e=0,h.f=0,h.g=-1;var BPn=S(xa,"AbstractEList/EIterator",37);C(286,37,s0,b3,vI),h.Qb=n(function(){l8(this)},"vMd"),h.Rb=n(function(t){fOt(this,t)},"oMd"),h.Zj=n(function(){var t;try{return t=this.d.Xb(--this.e),this.Xj(),this.g=this.e,t}catch(e){throw e=Dr(e),J(e,77)?(this.Xj(),R(new mo)):R(e)}},"pMd"),h.$j=n(function(t){mDt(this,t)},"qMd"),h.Sb=n(function(){return this.e!=0},"rMd"),h.Tb=n(function(){return this.e},"sMd"),h.Ub=n(function(){return this.Zj()},"tMd"),h.Vb=n(function(){return this.e-1},"uMd"),h.Wb=n(function(t){this.$j(t)},"wMd");var MPn=S(xa,"AbstractEList/EListIterator",286);C(355,37,zi,g3),h.Yj=n(function(){return $$(this)},"zMd"),h.Qb=n(function(){throw R(new Tn)},"AMd");var APn=S(xa,"AbstractEList/NonResolvingEIterator",355);C(398,286,s0,J9,eX),h.Rb=n(function(t){throw R(new Tn)},"DMd"),h.Yj=n(function(){var t;try{return t=this.c.Vi(this.e),this.Xj(),this.g=this.e++,t}catch(e){throw e=Dr(e),J(e,77)?(this.Xj(),R(new mo)):R(e)}},"EMd"),h.Zj=n(function(){var t;try{return t=this.c.Vi(--this.e),this.Xj(),this.g=this.e,t}catch(e){throw e=Dr(e),J(e,77)?(this.Xj(),R(new mo)):R(e)}},"FMd"),h.Qb=n(function(){throw R(new Tn)},"GMd"),h.Wb=n(function(t){throw R(new Tn)},"HMd");var LPn=S(xa,"AbstractEList/NonResolvingEListIterator",398);C(2080,70,QOe),h.Ei=n(function(t,e){var r,i,a,c,u,d,b,w,m,x,E;if(a=e.gc(),a!=0){for(w=l(Ae(this.a,4),129),m=w==null?0:w.length,E=m+a,i=s$(this,E),x=m-t,x>0&&ts(w,t,i,t+a,x),b=e.Kc(),u=0;ur)throw R(new jp(t,r));return new rSt(this,t)},"VMd"),h.$b=n(function(){var t,e;++this.j,t=l(Ae(this.a,4),129),e=t==null?0:t.length,Ny(this,null),gP(this,e,t)},"WMd"),h.Hc=n(function(t){var e,r,i,a,c;if(e=l(Ae(this.a,4),129),e!=null){if(t!=null){for(i=e,a=0,c=i.length;a=r)throw R(new jp(t,r));return e[t]},"YMd"),h.dd=n(function(t){var e,r,i;if(e=l(Ae(this.a,4),129),e!=null){if(t!=null){for(r=0,i=e.length;rr)throw R(new jp(t,r));return new nSt(this,t)},"bNd"),h.Ti=n(function(t,e){var r,i,a;if(r=COt(this),a=r==null?0:r.length,t>=a)throw R(new Wa(oat+t+Hg+a));if(e>=a)throw R(new Wa(sat+e+Hg+a));return i=r[e],t!=e&&(t0&&ts(t,0,e,0,r),e},"hNd"),h.Qc=n(function(t){var e,r,i;return e=l(Ae(this.a,4),129),i=e==null?0:e.length,i>0&&(t.lengthi&&Hr(t,i,null),t},"iNd");var AUe,_Pn=S(xa,"ArrayDelegatingEList",2080);C(1051,37,zi,iMt),h.Xj=n(function(){if(this.b.j!=this.f||ot(l(Ae(this.b.a,4),129))!==ot(this.a))throw R(new al)},"kNd"),h.Qb=n(function(){l8(this),this.a=l(Ae(this.b.a,4),129)},"lNd");var FPn=S(xa,"ArrayDelegatingEList/EIterator",1051);C(722,286,s0,pTt,nSt),h.Xj=n(function(){if(this.b.j!=this.f||ot(l(Ae(this.b.a,4),129))!==ot(this.a))throw R(new al)},"pNd"),h.$j=n(function(t){mDt(this,t),this.a=l(Ae(this.b.a,4),129)},"qNd"),h.Qb=n(function(){l8(this),this.a=l(Ae(this.b.a,4),129)},"rNd");var OPn=S(xa,"ArrayDelegatingEList/EListIterator",722);C(1052,355,zi,aMt),h.Xj=n(function(){if(this.b.j!=this.f||ot(l(Ae(this.b.a,4),129))!==ot(this.a))throw R(new al)},"tNd");var DPn=S(xa,"ArrayDelegatingEList/NonResolvingEIterator",1052);C(723,398,s0,wTt,rSt),h.Xj=n(function(){if(this.b.j!=this.f||ot(l(Ae(this.b.a,4),129))!==ot(this.a))throw R(new al)},"xNd");var jPn=S(xa,"ArrayDelegatingEList/NonResolvingEListIterator",723);C(615,302,brt,Sj);var IPn=S(xa,"BasicEList/BasicIndexOutOfBoundsException",615);C(710,66,M1,KG),h.bd=n(function(t,e){throw R(new Tn)},"ANd"),h.Fc=n(function(t){throw R(new Tn)},"BNd"),h.cd=n(function(t,e){throw R(new Tn)},"CNd"),h.Gc=n(function(t){throw R(new Tn)},"DNd"),h.$b=n(function(){throw R(new Tn)},"ENd"),h._i=n(function(t){throw R(new Tn)},"FNd"),h.Kc=n(function(){return this.Ii()},"GNd"),h.ed=n(function(){return this.Ji()},"HNd"),h.fd=n(function(t){return this.Ki(t)},"INd"),h.Ti=n(function(t,e){throw R(new Tn)},"JNd"),h.Ui=n(function(t,e){throw R(new Tn)},"KNd"),h.gd=n(function(t){throw R(new Tn)},"LNd"),h.Mc=n(function(t){throw R(new Tn)},"MNd"),h.hd=n(function(t,e){throw R(new Tn)},"NNd");var PPn=S(xa,"BasicEList/UnmodifiableEList",710);C(721,1,{3:1,20:1,16:1,15:1,61:1,597:1}),h.bd=n(function(t,e){_ce(this,t,l(e,44))},"mOd"),h.Fc=n(function(t){return Tle(this,l(t,44))},"nOd"),h.Jc=n(function(t){Ji(this,t)},"vOd"),h.Xb=n(function(t){return l(Z(this.c,t),136)},"wOd"),h.Ti=n(function(t,e){return l(this.c.Ti(t,e),44)},"FOd"),h.Ui=n(function(t,e){Fce(this,t,l(e,44))},"GOd"),h.Lc=n(function(){return new ne(null,new ce(this,16))},"JOd"),h.gd=n(function(t){return l(this.c.gd(t),44)},"KOd"),h.hd=n(function(t,e){return G0e(this,t,l(e,44))},"MOd"),h.jd=n(function(t){qf(this,t)},"OOd"),h.Nc=n(function(){return new ce(this,16)},"POd"),h.Oc=n(function(){return new ne(null,new ce(this,16))},"QOd"),h.cd=n(function(t,e){return this.c.cd(t,e)},"oOd"),h.Gc=n(function(t){return this.c.Gc(t)},"pOd"),h.$b=n(function(){this.c.$b()},"qOd"),h.Hc=n(function(t){return this.c.Hc(t)},"rOd"),h.Ic=n(function(t){return Yx(this.c,t)},"sOd"),h._j=n(function(){var t,e,r;if(this.d==null){for(this.d=ht(_Zt,NKt,66,2*this.f+1,0,1),r=this.e,this.f=0,e=this.c.Kc();e.e!=e.i.gc();)t=l(e.Yj(),136),gL(this,t);this.e=r}},"tOd"),h.Fb=n(function(t){return Kxt(this,t)},"uOd"),h.Hb=n(function(){return yJ(this.c)},"xOd"),h.dd=n(function(t){return this.c.dd(t)},"yOd"),h.ak=n(function(){this.c=new Vyt(this)},"zOd"),h.dc=n(function(){return this.f==0},"AOd"),h.Kc=n(function(){return this.c.Kc()},"BOd"),h.ed=n(function(){return this.c.ed()},"COd"),h.fd=n(function(t){return this.c.fd(t)},"DOd"),h.bk=n(function(){return _x(this)},"EOd"),h.ck=n(function(t,e,r){return new rCt(t,e,r)},"HOd"),h.dk=n(function(){return new Qpt},"IOd"),h.Mc=n(function(t){return LLt(this,t)},"LOd"),h.gc=n(function(){return this.f},"NOd"),h.kd=n(function(t,e){return new R0(this.c,t,e)},"ROd"),h.Pc=n(function(){return this.c.Pc()},"SOd"),h.Qc=n(function(t){return this.c.Qc(t)},"TOd"),h.Ib=n(function(){return fZ(this.c)},"UOd"),h.e=0,h.f=0;var $Pn=S(xa,"BasicEMap",721);C(1046,66,M1,Vyt),h.Mi=n(function(t,e){loe(this,l(e,136))},"ZOd"),h.Pi=n(function(t,e,r){var i;++(i=this,l(e,136),i).a.e},"_Od"),h.Qi=n(function(t,e){hoe(this,l(e,136))},"aPd"),h.Ri=n(function(t,e,r){lle(this,l(e,136),l(r,136))},"bPd"),h.Oi=n(function(t,e){C_t(this.a)},"$Od");var NPn=S(xa,"BasicEMap/1",1046);C(1047,66,M1,Qpt),h.aj=n(function(t){return ht(tcn,JOe,621,t,0,1)},"dPd");var RPn=S(xa,"BasicEMap/2",1047);C(1048,Ku,gc,Xyt),h.$b=n(function(){this.a.c.$b()},"fPd"),h.Hc=n(function(t){return M$(this.a,t)},"gPd"),h.Kc=n(function(){return this.a.f==0?(z5(),QF.a):new _6t(this.a)},"hPd"),h.Mc=n(function(t){var e;return e=this.a.f,rL(this.a,t),this.a.f!=e},"iPd"),h.gc=n(function(){return this.a.f},"jPd");var zPn=S(xa,"BasicEMap/3",1048);C(1049,31,Vw,Yyt),h.$b=n(function(){this.a.c.$b()},"lPd"),h.Hc=n(function(t){return y$t(this.a,t)},"mPd"),h.Kc=n(function(){return this.a.f==0?(z5(),QF.a):new F6t(this.a)},"nPd"),h.gc=n(function(){return this.a.f},"oPd");var qPn=S(xa,"BasicEMap/4",1049);C(1050,Ku,gc,Qyt),h.$b=n(function(){this.a.c.$b()},"rPd"),h.Hc=n(function(t){var e,r,i,a,c,u,d,b,w;if(this.a.f>0&&J(t,44)&&(this.a._j(),b=l(t,44),d=b.ld(),a=d==null?0:kr(d),c=RV(this.a,a),e=this.a.d[c],e)){for(r=l(e.g,379),w=e.i,u=0;u"+this.c},"gQd"),h.a=0;var tcn=S(xa,"BasicEMap/EntryImpl",621);C(546,1,{},OE);var VPn=S(xa,"BasicEMap/View",546),QF;C(783,1,{}),h.Fb=n(function(t){return Cet((de(),Ba),t)},"xQd"),h.Hb=n(function(){return _J((de(),Ba))},"yQd"),h.Ib=n(function(){return Kd((de(),Ba))},"zQd");var XPn=S(xa,"ECollections/BasicEmptyUnmodifiableEList",783);C(1348,1,s0,Jpt),h.Nb=n(function(t){Yi(this,t)},"CQd"),h.Rb=n(function(t){throw R(new Tn)},"BQd"),h.Ob=n(function(){return!1},"DQd"),h.Sb=n(function(){return!1},"EQd"),h.Pb=n(function(){throw R(new mo)},"FQd"),h.Tb=n(function(){return 0},"GQd"),h.Ub=n(function(){throw R(new mo)},"HQd"),h.Vb=n(function(){return-1},"IQd"),h.Qb=n(function(){throw R(new Tn)},"JQd"),h.Wb=n(function(t){throw R(new Tn)},"KQd");var YPn=S(xa,"ECollections/BasicEmptyUnmodifiableEList/1",1348);C(1346,783,{20:1,16:1,15:1,61:1},zvt),h.bd=n(function(t,e){n7t()},"MQd"),h.Fc=n(function(t){return r7t()},"NQd"),h.cd=n(function(t,e){return i7t()},"OQd"),h.Gc=n(function(t){return a7t()},"PQd"),h.$b=n(function(){o7t()},"QQd"),h.Hc=n(function(t){return!1},"RQd"),h.Ic=n(function(t){return!1},"SQd"),h.Jc=n(function(t){Ji(this,t)},"TQd"),h.Xb=n(function(t){return GG((de(),t)),null},"UQd"),h.dd=n(function(t){return-1},"VQd"),h.dc=n(function(){return!0},"WQd"),h.Kc=n(function(){return this.a},"XQd"),h.ed=n(function(){return this.a},"YQd"),h.fd=n(function(t){return this.a},"ZQd"),h.Ti=n(function(t,e){return s7t()},"$Qd"),h.Ui=n(function(t,e){c7t()},"_Qd"),h.Lc=n(function(){return new ne(null,new ce(this,16))},"aRd"),h.gd=n(function(t){return l7t()},"bRd"),h.Mc=n(function(t){return h7t()},"cRd"),h.hd=n(function(t,e){return u7t()},"dRd"),h.gc=n(function(){return 0},"eRd"),h.jd=n(function(t){qf(this,t)},"fRd"),h.Nc=n(function(){return new ce(this,16)},"gRd"),h.Oc=n(function(){return new ne(null,new ce(this,16))},"hRd"),h.kd=n(function(t,e){return de(),new R0(Ba,t,e)},"iRd"),h.Pc=n(function(){return HX((de(),Ba))},"jRd"),h.Qc=n(function(t){return de(),a8(Ba,t)},"kRd");var QPn=S(xa,"ECollections/EmptyUnmodifiableEList",1346);C(1347,783,{20:1,16:1,15:1,61:1,597:1},qvt),h.bd=n(function(t,e){n7t()},"mRd"),h.Fc=n(function(t){return r7t()},"nRd"),h.cd=n(function(t,e){return i7t()},"oRd"),h.Gc=n(function(t){return a7t()},"pRd"),h.$b=n(function(){o7t()},"qRd"),h.Hc=n(function(t){return!1},"rRd"),h.Ic=n(function(t){return!1},"sRd"),h.Jc=n(function(t){Ji(this,t)},"tRd"),h.Xb=n(function(t){return GG((de(),t)),null},"uRd"),h.dd=n(function(t){return-1},"vRd"),h.dc=n(function(){return!0},"wRd"),h.Kc=n(function(){return this.a},"xRd"),h.ed=n(function(){return this.a},"yRd"),h.fd=n(function(t){return this.a},"zRd"),h.Ti=n(function(t,e){return s7t()},"BRd"),h.Ui=n(function(t,e){c7t()},"CRd"),h.Lc=n(function(){return new ne(null,new ce(this,16))},"DRd"),h.gd=n(function(t){return l7t()},"ERd"),h.Mc=n(function(t){return h7t()},"FRd"),h.hd=n(function(t,e){return u7t()},"GRd"),h.gc=n(function(){return 0},"HRd"),h.jd=n(function(t){qf(this,t)},"IRd"),h.Nc=n(function(){return new ce(this,16)},"JRd"),h.Oc=n(function(){return new ne(null,new ce(this,16))},"KRd"),h.kd=n(function(t,e){return de(),new R0(Ba,t,e)},"LRd"),h.Pc=n(function(){return HX((de(),Ba))},"MRd"),h.Qc=n(function(t){return de(),a8(Ba,t)},"NRd"),h.bk=n(function(){return de(),de(),b0},"ARd");var JPn=S(xa,"ECollections/EmptyUnmodifiableEMap",1347),OZt=Rr(xa,"Enumerator"),NH;C(288,1,{288:1},jN),h.Fb=n(function(t){var e;return this===t?!0:J(t,288)?(e=l(t,288),this.f==e.f&&l0e(this.i,e.i)&&cI(this.a,(this.f&256)!=0?(e.f&256)!=0?e.a:null:(e.f&256)!=0?null:e.a)&&cI(this.d,e.d)&&cI(this.g,e.g)&&cI(this.e,e.e)&&O5e(this,e)):!1},"pSd"),h.Hb=n(function(){return this.f},"uSd"),h.Ib=n(function(){return J$t(this)},"CSd"),h.f=0;var LUe=0,_Ue=0,FUe=0,OUe=0,DZt=0,jZt=0,IZt=0,PZt=0,$Zt=0,DUe,ES=0,BS=0,jUe=0,IUe=0,RH,NZt,ZPn=S(xa,"URI",288);C(1121,45,Q3,Hvt),h.zc=n(function(t,e){return l(Va(this,En(t),l(e,288)),288)},"NSd");var t$n=S(xa,"URI/URICache",1121);C(506,66,M1,Wpt,wM),h.Si=n(function(){return!0},"QSd");var e$n=S(xa,"UniqueEList",506);C(590,63,rd,hA);var n$n=S(xa,"WrappedException",590),Rn=Rr(Hl,eDe),Lm=Rr(Hl,nDe),ac=Rr(Hl,rDe),_m=Rr(Hl,iDe),Su=Rr(Hl,aDe),Sh=Rr(Hl,"EClass"),llt=Rr(Hl,"EDataType"),PUe;C(1233,45,Q3,Kvt),h.xc=n(function(t){return Oi(t)?Cs(this,t):eo(_a(this.f,t))},"WSd");var r$n=S(Hl,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1233),zH=Rr(Hl,"EEnum"),dd=Rr(Hl,oDe),Ha=Rr(Hl,sDe),Eh=Rr(Hl,cDe),Bh,R2=Rr(Hl,lDe),Fm=Rr(Hl,hDe);C(1042,1,{},Upt),h.Ib=n(function(){return"NIL"},"aTd");var i$n=S(Hl,"EStructuralFeature/Internal/DynamicValueHolder/1",1042),$Ue;C(1041,45,Q3,Uvt),h.xc=n(function(t){return Oi(t)?Cs(this,t):eo(_a(this.f,t))},"fTd");var a$n=S(Hl,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1041),Us=Rr(Hl,uDe),Rv=Rr(Hl,"EValidator/PatternMatcher"),RZt,zZt,Ee,lf,Om,Tb,NUe,RUe,zUe,Sb,hf,Eb,z2,r1,qUe,HUe,Mh,uf,KUe,df,Dm,z4,Aa,UUe,WUe,q2,qH=Rr(Fr,"FeatureMap/Entry");C(545,1,{76:1},DB),h.Lk=n(function(){return this.a},"LTd"),h.md=n(function(){return this.b},"MTd");var o$n=S(Me,"BasicEObjectImpl/1",545);C(1040,1,fat,fkt),h.Fk=n(function(t){return uP(this.a,this.b,t)},"OTd"),h.Qj=n(function(){return YSt(this.a,this.b)},"PTd"),h.Wb=n(function(t){_Y(this.a,this.b,t)},"QTd"),h.Gk=n(function(){ode(this.a,this.b)},"RTd");var s$n=S(Me,"BasicEObjectImpl/4",1040);C(2081,1,{114:1}),h.Mk=n(function(t){this.e=t==0?GUe:ht(Ai,xe,1,t,5,1)},"UTd"),h.li=n(function(t){return this.e[t]},"VTd"),h.mi=n(function(t,e){this.e[t]=e},"WTd"),h.ni=n(function(t){this.e[t]=null},"XTd"),h.Nk=n(function(){return this.c},"YTd"),h.Ok=n(function(){throw R(new Tn)},"ZTd"),h.Pk=n(function(){throw R(new Tn)},"$Td"),h.Qk=n(function(){return this.d},"_Td"),h.Rk=n(function(){return this.e!=null},"aUd"),h.Sk=n(function(t){this.c=t},"bUd"),h.Tk=n(function(t){throw R(new Tn)},"cUd"),h.Uk=n(function(t){throw R(new Tn)},"dUd"),h.Vk=n(function(t){this.d=t},"eUd");var GUe,c$n=S(Me,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2081);C(192,2081,{114:1},Lh),h.Ok=n(function(){return this.a},"gUd"),h.Pk=n(function(){return this.b},"hUd"),h.Tk=n(function(t){this.a=t},"iUd"),h.Uk=n(function(t){this.b=t},"jUd");var l$n=S(Me,"BasicEObjectImpl/EPropertiesHolderImpl",192);C(516,99,dOe,DE),h.uh=n(function(){return this.f},"lUd"),h.zh=n(function(){return this.k},"mUd"),h.Bh=n(function(t,e){this.g=t,this.i=e},"nUd"),h.Dh=n(function(){return(this.j&2)==0?this.ii():this.$h().Nk()},"oUd"),h.Fh=n(function(){return this.i},"pUd"),h.wh=n(function(){return(this.j&1)!=0},"qUd"),h.Ph=n(function(){return this.g},"rUd"),h.Vh=n(function(){return(this.j&4)!=0},"sUd"),h.$h=n(function(){return!this.k&&(this.k=new Lh),this.k},"tUd"),h.ci=n(function(t){this.$h().Sk(t),t?this.j|=2:this.j&=-3},"uUd"),h.ei=n(function(t){this.$h().Uk(t),t?this.j|=4:this.j&=-5},"vUd"),h.ii=n(function(){return(Ld(),Ee).S},"wUd"),h.i=0,h.j=1;var h$n=S(Me,"EObjectImpl",516);C(798,516,{110:1,94:1,93:1,58:1,114:1,54:1,99:1},EX),h.li=n(function(t){return this.e[t]},"AUd"),h.mi=n(function(t,e){this.e[t]=e},"BUd"),h.ni=n(function(t){this.e[t]=null},"CUd"),h.Dh=n(function(){return this.d},"DUd"),h.Ih=n(function(t){return jr(this.d,t)},"EUd"),h.Kh=n(function(){return this.d},"FUd"),h.Oh=n(function(){return this.e!=null},"GUd"),h.$h=n(function(){return!this.k&&(this.k=new Zpt),this.k},"HUd"),h.ci=n(function(t){this.d=t},"IUd"),h.hi=n(function(){var t;return this.e==null&&(t=Ze(this.d),this.e=t==0?VUe:ht(Ai,xe,1,t,5,1)),this},"JUd"),h.ji=n(function(){return 0},"KUd");var VUe,u$n=S(Me,"DynamicEObjectImpl",798);C(1522,798,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1},MCt),h.Fb=n(function(t){return this===t},"NUd"),h.Hb=n(function(){return Zb(this)},"RUd"),h.ci=n(function(t){this.d=t,this.b=FC(t,"key"),this.c=FC(t,uT)},"MUd"),h.Bi=n(function(){var t;return this.a==-1&&(t=TP(this,this.b),this.a=t==null?0:kr(t)),this.a},"OUd"),h.ld=n(function(){return TP(this,this.b)},"PUd"),h.md=n(function(){return TP(this,this.c)},"QUd"),h.Ci=n(function(t){this.a=t},"SUd"),h.Di=n(function(t){_Y(this,this.b,t)},"TUd"),h.nd=n(function(t){var e;return e=TP(this,this.c),_Y(this,this.c,t),e},"UUd"),h.a=0;var d$n=S(Me,"DynamicEObjectImpl/BasicEMapEntry",1522);C(1523,1,{114:1},Zpt),h.Mk=n(function(t){throw R(new Tn)},"WUd"),h.li=n(function(t){throw R(new Tn)},"XUd"),h.mi=n(function(t,e){throw R(new Tn)},"YUd"),h.ni=n(function(t){throw R(new Tn)},"ZUd"),h.Nk=n(function(){throw R(new Tn)},"$Ud"),h.Ok=n(function(){return this.a},"_Ud"),h.Pk=n(function(){return this.b},"aVd"),h.Qk=n(function(){return this.c},"bVd"),h.Rk=n(function(){throw R(new Tn)},"cVd"),h.Sk=n(function(t){throw R(new Tn)},"dVd"),h.Tk=n(function(t){this.a=t},"eVd"),h.Uk=n(function(t){this.b=t},"fVd"),h.Vk=n(function(t){this.c=t},"gVd");var f$n=S(Me,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1523);C(519,158,{110:1,94:1,93:1,598:1,155:1,58:1,114:1,54:1,99:1,519:1,158:1,119:1,120:1},LU),h.Ah=n(function(t){return ntt(this,t)},"qVd"),h.Lh=n(function(t,e,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),this.Ab;case 1:return this.d;case 2:return r?(!this.b&&(this.b=new Ic((he(),Aa),zo,this)),this.b):(!this.b&&(this.b=new Ic((he(),Aa),zo,this)),_x(this.b));case 3:return eEt(this);case 4:return!this.a&&(this.a=new ci(xb,this,4)),this.a;case 5:return!this.c&&(this.c=new ww(xb,this,5)),this.c}return fl(this,t-Ze((he(),lf)),we((i=l(Ae(this,16),29),i||lf),t),e,r)},"rVd"),h.Sh=n(function(t,e,r){var i,a,c;switch(e){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ds(this.Ab,t,r);case 3:return this.Cb&&(r=(a=this.Db>>16,a>=0?ntt(this,r):this.Cb.Th(this,-1-a,null,r))),qX(this,l(t,155),r)}return c=l(we((i=l(Ae(this,16),29),i||(he(),lf)),e),69),c.wk().zk(this,Bs(this),e-Ze((he(),lf)),t,r)},"sVd"),h.Uh=n(function(t,e,r){var i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ma(this.Ab,t,r);case 2:return!this.b&&(this.b=new Ic((he(),Aa),zo,this)),ZB(this.b,t,r);case 3:return qX(this,null,r);case 4:return!this.a&&(this.a=new ci(xb,this,4)),ma(this.a,t,r)}return a=l(we((i=l(Ae(this,16),29),i||(he(),lf)),e),69),a.wk().Ak(this,Bs(this),e-Ze((he(),lf)),t,r)},"tVd"),h.Wh=n(function(t){var e;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.d!=null;case 2:return!!this.b&&this.b.f!=0;case 3:return!!eEt(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return ul(this,t-Ze((he(),lf)),we((e=l(Ae(this,16),29),e||lf),t))},"uVd"),h.bi=n(function(t,e){var r;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab),!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),Wr(this.Ab,l(e,16));return;case 1:Y1e(this,En(e));return;case 2:!this.b&&(this.b=new Ic((he(),Aa),zo,this)),jA(this.b,e);return;case 3:RPt(this,l(e,155));return;case 4:!this.a&&(this.a=new ci(xb,this,4)),dn(this.a),!this.a&&(this.a=new ci(xb,this,4)),Wr(this.a,l(e,16));return;case 5:!this.c&&(this.c=new ww(xb,this,5)),dn(this.c),!this.c&&(this.c=new ww(xb,this,5)),Wr(this.c,l(e,16));return}wl(this,t-Ze((he(),lf)),we((r=l(Ae(this,16),29),r||lf),t),e)},"vVd"),h.ii=n(function(){return he(),lf},"wVd"),h.ki=n(function(t){var e;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab);return;case 1:rJ(this,null);return;case 2:!this.b&&(this.b=new Ic((he(),Aa),zo,this)),this.b.c.$b();return;case 3:RPt(this,null);return;case 4:!this.a&&(this.a=new ci(xb,this,4)),dn(this.a);return;case 5:!this.c&&(this.c=new ww(xb,this,5)),dn(this.c);return}pl(this,t-Ze((he(),lf)),we((e=l(Ae(this,16),29),e||lf),t))},"xVd"),h.Ib=n(function(){return KFt(this)},"yVd"),h.d=null;var b$n=S(Me,"EAnnotationImpl",519);C(141,721,RKt,Zs),h.Gi=n(function(t,e){bce(this,t,l(e,44))},"EVd"),h.Wk=n(function(t,e){return phe(this,l(t,44),e)},"FVd"),h.$i=n(function(t){return l(l(this.c,71).$i(t),136)},"GVd"),h.Ii=n(function(){return l(this.c,71).Ii()},"HVd"),h.Ji=n(function(){return l(this.c,71).Ji()},"IVd"),h.Ki=n(function(t){return l(this.c,71).Ki(t)},"JVd"),h.Xk=n(function(t,e){return ZB(this,t,e)},"KVd"),h.Fk=n(function(t){return l(this.c,79).Fk(t)},"LVd"),h.ak=n(function(){},"MVd"),h.Qj=n(function(){return l(this.c,79).Qj()},"NVd"),h.ck=n(function(t,e,r){var i;return i=l(Yc(this.b).wi().si(this.b),136),i.Ci(t),i.Di(e),i.nd(r),i},"OVd"),h.dk=n(function(){return new dW(this)},"PVd"),h.Wb=n(function(t){jA(this,t)},"QVd"),h.Gk=n(function(){l(this.c,79).Gk()},"RVd");var g$n=S(Fr,"EcoreEMap",141);C(165,141,RKt,Ic),h._j=n(function(){var t,e,r,i,a,c;if(this.d==null){for(c=ht(_Zt,NKt,66,2*this.f+1,0,1),r=this.c.Kc();r.e!=r.i.gc();)e=l(r.Yj(),136),i=e.Bi(),a=(i&nr)%c.length,t=c[a],!t&&(t=c[a]=new dW(this)),t.Fc(e);this.d=c}},"TVd");var p$n=S(Me,"EAnnotationImpl/1",165);C(292,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,481:1,54:1,99:1,158:1,292:1,119:1,120:1}),h.Lh=n(function(t,e,r){var i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Se(),(this.Bb&256)!=0;case 3:return Se(),(this.Bb&512)!=0;case 4:return Et(this.s);case 5:return Et(this.t);case 6:return Se(),!!this.Jk();case 7:return Se(),a=this.s,a>=1;case 8:return e?Rl(this):this.r;case 9:return this.q}return fl(this,t-Ze(this.ii()),we((i=l(Ae(this,16),29),i||this.ii()),t),e,r)},"eWd"),h.Uh=n(function(t,e,r){var i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ma(this.Ab,t,r);case 9:return CI(this,r)}return a=l(we((i=l(Ae(this,16),29),i||this.ii()),e),69),a.wk().Ak(this,Bs(this),e-Ze(this.ii()),t,r)},"fWd"),h.Wh=n(function(t){var e,r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Jk();case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&sg(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&sg(this.q).i==0)}return ul(this,t-Ze(this.ii()),we((e=l(Ae(this,16),29),e||this.ii()),t))},"gWd"),h.bi=n(function(t,e){var r,i;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab),!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),Wr(this.Ab,l(e,16));return;case 1:this.ui(En(e));return;case 2:X0(this,jt(Dt(e)));return;case 3:Y0(this,jt(Dt(e)));return;case 4:U0(this,l(e,17).a);return;case 5:this.Zk(l(e,17).a);return;case 8:Vf(this,l(e,142));return;case 9:i=wu(this,l(e,89),null),i&&i.oj();return}wl(this,t-Ze(this.ii()),we((r=l(Ae(this,16),29),r||this.ii()),t),e)},"hWd"),h.ii=n(function(){return he(),WUe},"iWd"),h.ki=n(function(t){var e,r;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab);return;case 1:this.ui(null);return;case 2:X0(this,!0);return;case 3:Y0(this,!0);return;case 4:U0(this,0);return;case 5:this.Zk(1);return;case 8:Vf(this,null);return;case 9:r=wu(this,null,null),r&&r.oj();return}pl(this,t-Ze(this.ii()),we((e=l(Ae(this,16),29),e||this.ii()),t))},"jWd"),h.pi=n(function(){Rl(this),this.Bb|=1},"kWd"),h.Hk=n(function(){return Rl(this)},"lWd"),h.Ik=n(function(){return this.t},"mWd"),h.Jk=n(function(){var t;return t=this.t,t>1||t==-1},"nWd"),h.Si=n(function(){return(this.Bb&512)!=0},"oWd"),h.Yk=n(function(t,e){return YJ(this,t,e)},"pWd"),h.Zk=n(function(t){Vp(this,t)},"qWd"),h.Ib=n(function(){return bet(this)},"rWd"),h.s=0,h.t=1;var w$n=S(Me,"ETypedElementImpl",292);C(462,292,{110:1,94:1,93:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,462:1,292:1,119:1,120:1,692:1}),h.Ah=n(function(t){return ODt(this,t)},"IWd"),h.Lh=n(function(t,e,r){var i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Se(),(this.Bb&256)!=0;case 3:return Se(),(this.Bb&512)!=0;case 4:return Et(this.s);case 5:return Et(this.t);case 6:return Se(),!!this.Jk();case 7:return Se(),a=this.s,a>=1;case 8:return e?Rl(this):this.r;case 9:return this.q;case 10:return Se(),(this.Bb&qh)!=0;case 11:return Se(),(this.Bb&rm)!=0;case 12:return Se(),(this.Bb&Yw)!=0;case 13:return this.j;case 14:return Xy(this);case 15:return Se(),(this.Bb&wc)!=0;case 16:return Se(),(this.Bb&y1)!=0;case 17:return Rp(this)}return fl(this,t-Ze(this.ii()),we((i=l(Ae(this,16),29),i||this.ii()),t),e,r)},"JWd"),h.Sh=n(function(t,e,r){var i,a,c;switch(e){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ds(this.Ab,t,r);case 17:return this.Cb&&(r=(a=this.Db>>16,a>=0?ODt(this,r):this.Cb.Th(this,-1-a,null,r))),nl(this,t,17,r)}return c=l(we((i=l(Ae(this,16),29),i||this.ii()),e),69),c.wk().zk(this,Bs(this),e-Ze(this.ii()),t,r)},"KWd"),h.Uh=n(function(t,e,r){var i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ma(this.Ab,t,r);case 9:return CI(this,r);case 17:return nl(this,null,17,r)}return a=l(we((i=l(Ae(this,16),29),i||this.ii()),e),69),a.wk().Ak(this,Bs(this),e-Ze(this.ii()),t,r)},"LWd"),h.Wh=n(function(t){var e,r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Jk();case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&sg(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&sg(this.q).i==0);case 10:return(this.Bb&qh)==0;case 11:return(this.Bb&rm)!=0;case 12:return(this.Bb&Yw)!=0;case 13:return this.j!=null;case 14:return Xy(this)!=null;case 15:return(this.Bb&wc)!=0;case 16:return(this.Bb&y1)!=0;case 17:return!!Rp(this)}return ul(this,t-Ze(this.ii()),we((e=l(Ae(this,16),29),e||this.ii()),t))},"MWd"),h.bi=n(function(t,e){var r,i;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab),!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),Wr(this.Ab,l(e,16));return;case 1:YI(this,En(e));return;case 2:X0(this,jt(Dt(e)));return;case 3:Y0(this,jt(Dt(e)));return;case 4:U0(this,l(e,17).a);return;case 5:this.Zk(l(e,17).a);return;case 8:Vf(this,l(e,142));return;case 9:i=wu(this,l(e,89),null),i&&i.oj();return;case 10:Fy(this,jt(Dt(e)));return;case 11:jy(this,jt(Dt(e)));return;case 12:Oy(this,jt(Dt(e)));return;case 13:HG(this,En(e));return;case 15:Dy(this,jt(Dt(e)));return;case 16:Iy(this,jt(Dt(e)));return}wl(this,t-Ze(this.ii()),we((r=l(Ae(this,16),29),r||this.ii()),t),e)},"NWd"),h.ii=n(function(){return he(),UUe},"OWd"),h.ki=n(function(t){var e,r;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab);return;case 1:J(this.Cb,90)&&a2(xc(l(this.Cb,90)),4),us(this,null);return;case 2:X0(this,!0);return;case 3:Y0(this,!0);return;case 4:U0(this,0);return;case 5:this.Zk(1);return;case 8:Vf(this,null);return;case 9:r=wu(this,null,null),r&&r.oj();return;case 10:Fy(this,!0);return;case 11:jy(this,!1);return;case 12:Oy(this,!1);return;case 13:this.i=null,AA(this,null);return;case 15:Dy(this,!1);return;case 16:Iy(this,!1);return}pl(this,t-Ze(this.ii()),we((e=l(Ae(this,16),29),e||this.ii()),t))},"PWd"),h.pi=n(function(){J5(Xa((ec(),aa),this)),Rl(this),this.Bb|=1},"QWd"),h.pk=n(function(){return this.f},"RWd"),h.ik=n(function(){return Xy(this)},"SWd"),h.qk=n(function(){return Rp(this)},"TWd"),h.uk=n(function(){return null},"UWd"),h.$k=n(function(){return this.k},"VWd"),h.Lj=n(function(){return this.n},"WWd"),h.vk=n(function(){return CL(this)},"XWd"),h.wk=n(function(){var t,e,r,i,a,c,u,d,b;return this.p||(r=Rp(this),(r.i==null&&Hu(r),r.i).length,i=this.uk(),i&&Ze(Rp(i)),a=Rl(this),u=a.kk(),t=u?(u.i&1)!=0?u==Uc?ti:u==yn?ia:u==Im?nk:u==qi?wi:u==Mb?k2:u==U4?x2:u==yc?mv:xT:u:null,e=Xy(this),d=a.ik(),h4e(this),(this.Bb&y1)!=0&&((c=ltt((ec(),aa),r))&&c!=this||(c=A3(Xa(aa,this))))?this.p=new gkt(this,c):this.Jk()?this.al()?i?(this.Bb&wc)!=0?t?this.bl()?this.p=new jf(47,t,this,i):this.p=new jf(5,t,this,i):this.bl()?this.p=new Rf(46,this,i):this.p=new Rf(4,this,i):t?this.bl()?this.p=new jf(49,t,this,i):this.p=new jf(7,t,this,i):this.bl()?this.p=new Rf(48,this,i):this.p=new Rf(6,this,i):(this.Bb&wc)!=0?t?t==Wg?this.p=new P0(50,BUe,this):this.bl()?this.p=new P0(43,t,this):this.p=new P0(1,t,this):this.bl()?this.p=new N0(42,this):this.p=new N0(0,this):t?t==Wg?this.p=new P0(41,BUe,this):this.bl()?this.p=new P0(45,t,this):this.p=new P0(3,t,this):this.bl()?this.p=new N0(44,this):this.p=new N0(2,this):J(a,156)?t==qH?this.p=new N0(40,this):(this.Bb&512)!=0?(this.Bb&wc)!=0?t?this.p=new P0(9,t,this):this.p=new N0(8,this):t?this.p=new P0(11,t,this):this.p=new N0(10,this):(this.Bb&wc)!=0?t?this.p=new P0(13,t,this):this.p=new N0(12,this):t?this.p=new P0(15,t,this):this.p=new N0(14,this):i?(b=i.t,b>1||b==-1?this.bl()?(this.Bb&wc)!=0?t?this.p=new jf(25,t,this,i):this.p=new Rf(24,this,i):t?this.p=new jf(27,t,this,i):this.p=new Rf(26,this,i):(this.Bb&wc)!=0?t?this.p=new jf(29,t,this,i):this.p=new Rf(28,this,i):t?this.p=new jf(31,t,this,i):this.p=new Rf(30,this,i):this.bl()?(this.Bb&wc)!=0?t?this.p=new jf(33,t,this,i):this.p=new Rf(32,this,i):t?this.p=new jf(35,t,this,i):this.p=new Rf(34,this,i):(this.Bb&wc)!=0?t?this.p=new jf(37,t,this,i):this.p=new Rf(36,this,i):t?this.p=new jf(39,t,this,i):this.p=new Rf(38,this,i)):this.bl()?(this.Bb&wc)!=0?t?this.p=new P0(17,t,this):this.p=new N0(16,this):t?this.p=new P0(19,t,this):this.p=new N0(18,this):(this.Bb&wc)!=0?t?this.p=new P0(21,t,this):this.p=new N0(20,this):t?this.p=new P0(23,t,this):this.p=new N0(22,this):this._k()?this.bl()?this.p=new iCt(l(a,29),this,i):this.p=new AY(l(a,29),this,i):J(a,156)?t==qH?this.p=new N0(40,this):(this.Bb&wc)!=0?t?this.p=new rTt(e,d,this,(A$(),u==yn?VZt:u==Uc?HZt:u==Mb?XZt:u==Im?GZt:u==qi?WZt:u==U4?YZt:u==yc?KZt:u==Yl?UZt:dlt)):this.p=new pSt(l(a,156),e,d,this):t?this.p=new nTt(e,d,this,(A$(),u==yn?VZt:u==Uc?HZt:u==Mb?XZt:u==Im?GZt:u==qi?WZt:u==U4?YZt:u==yc?KZt:u==Yl?UZt:dlt)):this.p=new gSt(l(a,156),e,d,this):this.al()?i?(this.Bb&wc)!=0?this.bl()?this.p=new oCt(l(a,29),this,i):this.p=new bX(l(a,29),this,i):this.bl()?this.p=new aCt(l(a,29),this,i):this.p=new eI(l(a,29),this,i):(this.Bb&wc)!=0?this.bl()?this.p=new nxt(l(a,29),this):this.p=new MV(l(a,29),this):this.bl()?this.p=new ext(l(a,29),this):this.p=new qj(l(a,29),this):this.bl()?i?(this.Bb&wc)!=0?this.p=new sCt(l(a,29),this,i):this.p=new dX(l(a,29),this,i):(this.Bb&wc)!=0?this.p=new rxt(l(a,29),this):this.p=new AV(l(a,29),this):i?(this.Bb&wc)!=0?this.p=new cCt(l(a,29),this,i):this.p=new fX(l(a,29),this,i):(this.Bb&wc)!=0?this.p=new ixt(l(a,29),this):this.p=new pM(l(a,29),this)),this.p},"YWd"),h.rk=n(function(){return(this.Bb&qh)!=0},"ZWd"),h._k=n(function(){return!1},"$Wd"),h.al=n(function(){return!1},"_Wd"),h.sk=n(function(){return(this.Bb&y1)!=0},"aXd"),h.xk=n(function(){return SP(this)},"bXd"),h.bl=n(function(){return!1},"cXd"),h.tk=n(function(){return(this.Bb&wc)!=0},"dXd"),h.cl=n(function(t){this.k=t},"eXd"),h.ui=n(function(t){YI(this,t)},"fXd"),h.Ib=n(function(){return KL(this)},"gXd"),h.e=!1,h.n=0;var m$n=S(Me,"EStructuralFeatureImpl",462);C(331,462,{110:1,94:1,93:1,35:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,331:1,158:1,462:1,292:1,119:1,120:1,692:1},xD),h.Lh=n(function(t,e,r){var i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Se(),(this.Bb&256)!=0;case 3:return Se(),(this.Bb&512)!=0;case 4:return Et(this.s);case 5:return Et(this.t);case 6:return Se(),!!set(this);case 7:return Se(),a=this.s,a>=1;case 8:return e?Rl(this):this.r;case 9:return this.q;case 10:return Se(),(this.Bb&qh)!=0;case 11:return Se(),(this.Bb&rm)!=0;case 12:return Se(),(this.Bb&Yw)!=0;case 13:return this.j;case 14:return Xy(this);case 15:return Se(),(this.Bb&wc)!=0;case 16:return Se(),(this.Bb&y1)!=0;case 17:return Rp(this);case 18:return Se(),(this.Bb&Wo)!=0;case 19:return e?XP(this):yMt(this)}return fl(this,t-Ze((he(),Om)),we((i=l(Ae(this,16),29),i||Om),t),e,r)},"nXd"),h.Wh=n(function(t){var e,r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return set(this);case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&sg(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&sg(this.q).i==0);case 10:return(this.Bb&qh)==0;case 11:return(this.Bb&rm)!=0;case 12:return(this.Bb&Yw)!=0;case 13:return this.j!=null;case 14:return Xy(this)!=null;case 15:return(this.Bb&wc)!=0;case 16:return(this.Bb&y1)!=0;case 17:return!!Rp(this);case 18:return(this.Bb&Wo)!=0;case 19:return!!yMt(this)}return ul(this,t-Ze((he(),Om)),we((e=l(Ae(this,16),29),e||Om),t))},"oXd"),h.bi=n(function(t,e){var r,i;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab),!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),Wr(this.Ab,l(e,16));return;case 1:YI(this,En(e));return;case 2:X0(this,jt(Dt(e)));return;case 3:Y0(this,jt(Dt(e)));return;case 4:U0(this,l(e,17).a);return;case 5:j6t(this,l(e,17).a);return;case 8:Vf(this,l(e,142));return;case 9:i=wu(this,l(e,89),null),i&&i.oj();return;case 10:Fy(this,jt(Dt(e)));return;case 11:jy(this,jt(Dt(e)));return;case 12:Oy(this,jt(Dt(e)));return;case 13:HG(this,En(e));return;case 15:Dy(this,jt(Dt(e)));return;case 16:Iy(this,jt(Dt(e)));return;case 18:k$(this,jt(Dt(e)));return}wl(this,t-Ze((he(),Om)),we((r=l(Ae(this,16),29),r||Om),t),e)},"pXd"),h.ii=n(function(){return he(),Om},"qXd"),h.ki=n(function(t){var e,r;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab);return;case 1:J(this.Cb,90)&&a2(xc(l(this.Cb,90)),4),us(this,null);return;case 2:X0(this,!0);return;case 3:Y0(this,!0);return;case 4:U0(this,0);return;case 5:this.b=0,Vp(this,1);return;case 8:Vf(this,null);return;case 9:r=wu(this,null,null),r&&r.oj();return;case 10:Fy(this,!0);return;case 11:jy(this,!1);return;case 12:Oy(this,!1);return;case 13:this.i=null,AA(this,null);return;case 15:Dy(this,!1);return;case 16:Iy(this,!1);return;case 18:k$(this,!1);return}pl(this,t-Ze((he(),Om)),we((e=l(Ae(this,16),29),e||Om),t))},"rXd"),h.pi=n(function(){XP(this),J5(Xa((ec(),aa),this)),Rl(this),this.Bb|=1},"sXd"),h.Jk=n(function(){return set(this)},"tXd"),h.Yk=n(function(t,e){return this.b=0,this.a=null,YJ(this,t,e)},"uXd"),h.Zk=n(function(t){j6t(this,t)},"vXd"),h.Ib=n(function(){var t;return(this.Db&64)!=0?KL(this):(t=new jl(KL(this)),t.a+=" (iD: ",O0(t,(this.Bb&Wo)!=0),t.a+=")",t.a)},"wXd"),h.b=0;var y$n=S(Me,"EAttributeImpl",331);C(364,448,{110:1,94:1,93:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,364:1,158:1,119:1,120:1,691:1}),h.dl=n(function(t){return t.Dh()==this},"NXd"),h.Ah=n(function(t){return tN(this,t)},"OXd"),h.Bh=n(function(t,e){this.w=null,this.Db=e<<16|this.Db&255,this.Cb=t},"PXd"),h.Lh=n(function(t,e,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Mg(this);case 4:return this.ik();case 5:return this.F;case 6:return e?Yc(this):ey(this);case 7:return!this.A&&(this.A=new Xs(Us,this,7)),this.A}return fl(this,t-Ze(this.ii()),we((i=l(Ae(this,16),29),i||this.ii()),t),e,r)},"QXd"),h.Sh=n(function(t,e,r){var i,a,c;switch(e){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ds(this.Ab,t,r);case 6:return this.Cb&&(r=(a=this.Db>>16,a>=0?tN(this,r):this.Cb.Th(this,-1-a,null,r))),nl(this,t,6,r)}return c=l(we((i=l(Ae(this,16),29),i||this.ii()),e),69),c.wk().zk(this,Bs(this),e-Ze(this.ii()),t,r)},"RXd"),h.Uh=n(function(t,e,r){var i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ma(this.Ab,t,r);case 6:return nl(this,null,6,r);case 7:return!this.A&&(this.A=new Xs(Us,this,7)),ma(this.A,t,r)}return a=l(we((i=l(Ae(this,16),29),i||this.ii()),e),69),a.wk().Ak(this,Bs(this),e-Ze(this.ii()),t,r)},"SXd"),h.Wh=n(function(t){var e;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Mg(this);case 4:return this.ik()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!ey(this);case 7:return!!this.A&&this.A.i!=0}return ul(this,t-Ze(this.ii()),we((e=l(Ae(this,16),29),e||this.ii()),t))},"TXd"),h.bi=n(function(t,e){var r;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab),!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),Wr(this.Ab,l(e,16));return;case 1:UM(this,En(e));return;case 2:Mj(this,En(e));return;case 5:nv(this,En(e));return;case 7:!this.A&&(this.A=new Xs(Us,this,7)),dn(this.A),!this.A&&(this.A=new Xs(Us,this,7)),Wr(this.A,l(e,16));return}wl(this,t-Ze(this.ii()),we((r=l(Ae(this,16),29),r||this.ii()),t),e)},"UXd"),h.ii=n(function(){return he(),NUe},"VXd"),h.ki=n(function(t){var e;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab);return;case 1:J(this.Cb,184)&&(l(this.Cb,184).tb=null),us(this,null);return;case 2:Ay(this,null),by(this,this.D);return;case 5:nv(this,null);return;case 7:!this.A&&(this.A=new Xs(Us,this,7)),dn(this.A);return}pl(this,t-Ze(this.ii()),we((e=l(Ae(this,16),29),e||this.ii()),t))},"WXd"),h.hk=n(function(){var t;return this.G==-1&&(this.G=(t=Yc(this),t?Z0(t.vi(),this):-1)),this.G},"XXd"),h.ik=n(function(){return null},"YXd"),h.jk=n(function(){return Yc(this)},"ZXd"),h.el=n(function(){return this.v},"$Xd"),h.kk=n(function(){return Mg(this)},"_Xd"),h.lk=n(function(){return this.D!=null?this.D:this.B},"aYd"),h.mk=n(function(){return this.F},"bYd"),h.fk=n(function(t){return KN(this,t)},"cYd"),h.fl=n(function(t){this.v=t},"dYd"),h.gl=n(function(t){r_t(this,t)},"eYd"),h.hl=n(function(t){this.C=t},"fYd"),h.ui=n(function(t){UM(this,t)},"gYd"),h.Ib=n(function(){return ZA(this)},"hYd"),h.C=null,h.D=null,h.G=-1;var v$n=S(Me,"EClassifierImpl",364);C(90,364,{110:1,94:1,93:1,29:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,90:1,364:1,158:1,482:1,119:1,120:1,691:1},DU),h.dl=n(function(t){return Zle(this,t.Dh())},"IYd"),h.Lh=n(function(t,e,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Mg(this);case 4:return null;case 5:return this.F;case 6:return e?Yc(this):ey(this);case 7:return!this.A&&(this.A=new Xs(Us,this,7)),this.A;case 8:return Se(),(this.Bb&256)!=0;case 9:return Se(),(this.Bb&512)!=0;case 10:return ro(this);case 11:return!this.q&&(this.q=new pt(Eh,this,11,10)),this.q;case 12:return Kw(this);case 13:return T8(this);case 14:return T8(this),this.r;case 15:return Kw(this),this.k;case 16:return Ytt(this);case 17:return VN(this);case 18:return Hu(this);case 19:return jL(this);case 20:return Kw(this),this.o;case 21:return!this.s&&(this.s=new pt(ac,this,21,17)),this.s;case 22:return Jo(this);case 23:return DN(this)}return fl(this,t-Ze((he(),Tb)),we((i=l(Ae(this,16),29),i||Tb),t),e,r)},"JYd"),h.Sh=n(function(t,e,r){var i,a,c;switch(e){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ds(this.Ab,t,r);case 6:return this.Cb&&(r=(a=this.Db>>16,a>=0?tN(this,r):this.Cb.Th(this,-1-a,null,r))),nl(this,t,6,r);case 11:return!this.q&&(this.q=new pt(Eh,this,11,10)),ds(this.q,t,r);case 21:return!this.s&&(this.s=new pt(ac,this,21,17)),ds(this.s,t,r)}return c=l(we((i=l(Ae(this,16),29),i||(he(),Tb)),e),69),c.wk().zk(this,Bs(this),e-Ze((he(),Tb)),t,r)},"KYd"),h.Uh=n(function(t,e,r){var i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ma(this.Ab,t,r);case 6:return nl(this,null,6,r);case 7:return!this.A&&(this.A=new Xs(Us,this,7)),ma(this.A,t,r);case 11:return!this.q&&(this.q=new pt(Eh,this,11,10)),ma(this.q,t,r);case 21:return!this.s&&(this.s=new pt(ac,this,21,17)),ma(this.s,t,r);case 22:return ma(Jo(this),t,r)}return a=l(we((i=l(Ae(this,16),29),i||(he(),Tb)),e),69),a.wk().Ak(this,Bs(this),e-Ze((he(),Tb)),t,r)},"LYd"),h.Wh=n(function(t){var e;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Mg(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!ey(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)!=0;case 9:return(this.Bb&512)!=0;case 10:return!!this.u&&Jo(this.u.a).i!=0&&!(this.n&&H$(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return Kw(this).i!=0;case 13:return T8(this).i!=0;case 14:return T8(this),this.r.i!=0;case 15:return Kw(this),this.k.i!=0;case 16:return Ytt(this).i!=0;case 17:return VN(this).i!=0;case 18:return Hu(this).i!=0;case 19:return jL(this).i!=0;case 20:return Kw(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&H$(this.n);case 23:return DN(this).i!=0}return ul(this,t-Ze((he(),Tb)),we((e=l(Ae(this,16),29),e||Tb),t))},"MYd"),h.Zh=n(function(t){var e;return e=this.i==null||this.q&&this.q.i!=0?null:FC(this,t),e||Ont(this,t)},"NYd"),h.bi=n(function(t,e){var r;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab),!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),Wr(this.Ab,l(e,16));return;case 1:UM(this,En(e));return;case 2:Mj(this,En(e));return;case 5:nv(this,En(e));return;case 7:!this.A&&(this.A=new Xs(Us,this,7)),dn(this.A),!this.A&&(this.A=new Xs(Us,this,7)),Wr(this.A,l(e,16));return;case 8:QJ(this,jt(Dt(e)));return;case 9:JJ(this,jt(Dt(e)));return;case 10:B8(ro(this)),Wr(ro(this),l(e,16));return;case 11:!this.q&&(this.q=new pt(Eh,this,11,10)),dn(this.q),!this.q&&(this.q=new pt(Eh,this,11,10)),Wr(this.q,l(e,16));return;case 21:!this.s&&(this.s=new pt(ac,this,21,17)),dn(this.s),!this.s&&(this.s=new pt(ac,this,21,17)),Wr(this.s,l(e,16));return;case 22:dn(Jo(this)),Wr(Jo(this),l(e,16));return}wl(this,t-Ze((he(),Tb)),we((r=l(Ae(this,16),29),r||Tb),t),e)},"OYd"),h.ii=n(function(){return he(),Tb},"PYd"),h.ki=n(function(t){var e;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab);return;case 1:J(this.Cb,184)&&(l(this.Cb,184).tb=null),us(this,null);return;case 2:Ay(this,null),by(this,this.D);return;case 5:nv(this,null);return;case 7:!this.A&&(this.A=new Xs(Us,this,7)),dn(this.A);return;case 8:QJ(this,!1);return;case 9:JJ(this,!1);return;case 10:this.u&&B8(this.u);return;case 11:!this.q&&(this.q=new pt(Eh,this,11,10)),dn(this.q);return;case 21:!this.s&&(this.s=new pt(ac,this,21,17)),dn(this.s);return;case 22:this.n&&dn(this.n);return}pl(this,t-Ze((he(),Tb)),we((e=l(Ae(this,16),29),e||Tb),t))},"QYd"),h.pi=n(function(){var t,e;if(Kw(this),T8(this),Ytt(this),VN(this),Hu(this),jL(this),DN(this),O7(S1e(xc(this))),this.s)for(t=0,e=this.s.i;t=0;--e)Z(this,e);return xZ(this,t)},"MZd"),h.Gk=n(function(){dn(this)},"NZd"),h.Zi=n(function(t,e){return SLt(this,t,e)},"OZd");var C$n=S(Fr,"EcoreEList",632);C(505,632,So,hx),h.Li=n(function(){return!1},"QZd"),h.Lj=n(function(){return this.c},"RZd"),h.Mj=n(function(){return!1},"SZd"),h.ol=n(function(){return!0},"TZd"),h.Si=n(function(){return!0},"UZd"),h.Wi=n(function(t,e){return e},"VZd"),h.Yi=n(function(){return!1},"WZd"),h.c=0;var T$n=S(Fr,"EObjectEList",505);C(83,505,So,ci),h.Mj=n(function(){return!0},"YZd"),h.ml=n(function(){return!1},"ZZd"),h.al=n(function(){return!0},"$Zd");var S$n=S(Fr,"EObjectContainmentEList",83);C(555,83,So,KB),h.Ni=n(function(){this.b=!0},"a$d"),h.Qj=n(function(){return this.b},"b$d"),h.Gk=n(function(){var t;dn(this),Dc(this.e)?(t=this.b,this.b=!1,tr(this.e,new hh(this.e,2,this.c,t,!1))):this.b=!1},"c$d"),h.b=!1;var E$n=S(Fr,"EObjectContainmentEList/Unsettable",555);C(1161,555,So,tTt),h.Ti=n(function(t,e){var r,i;return r=l(J7(this,t,e),89),Dc(this.e)&&E5(this,new Fx(this.a,7,(he(),RUe),Et(e),(i=r.c,J(i,90)?l(i,29):Mh),t)),r},"l$d"),h.Uj=n(function(t,e){return W4e(this,l(t,89),e)},"m$d"),h.Vj=n(function(t,e){return U4e(this,l(t,89),e)},"n$d"),h.Wj=n(function(t,e,r){return Xve(this,l(t,89),l(e,89),r)},"o$d"),h.Ij=n(function(t,e,r,i,a){switch(t){case 3:return B7(this,t,e,r,i,this.i>1);case 5:return B7(this,t,e,r,i,this.i-l(r,15).gc()>0);default:return new Y1(this.e,t,this.c,e,r,i,!0)}},"i$d"),h.Tj=n(function(){return!0},"j$d"),h.Qj=n(function(){return H$(this)},"k$d"),h.Gk=n(function(){dn(this)},"p$d");var B$n=S(Me,"EClassImpl/1",1161);C(1175,1174,$Kt),h.dj=n(function(t){var e,r,i,a,c,u,d;if(r=t.gj(),r!=8){if(i=B5e(t),i==0)switch(r){case 1:case 9:{d=t.kj(),d!=null&&(e=xc(l(d,482)),!e.c&&(e.c=new y5),fA(e.c,t.jj())),u=t.ij(),u!=null&&(a=l(u,482),(a.Bb&1)==0&&(e=xc(a),!e.c&&(e.c=new y5),bn(e.c,l(t.jj(),29))));break}case 3:{u=t.ij(),u!=null&&(a=l(u,482),(a.Bb&1)==0&&(e=xc(a),!e.c&&(e.c=new y5),bn(e.c,l(t.jj(),29))));break}case 5:{if(u=t.ij(),u!=null)for(c=l(u,16).Kc();c.Ob();)a=l(c.Pb(),482),(a.Bb&1)==0&&(e=xc(a),!e.c&&(e.c=new y5),bn(e.c,l(t.jj(),29)));break}case 4:{d=t.kj(),d!=null&&(a=l(d,482),(a.Bb&1)==0&&(e=xc(a),!e.c&&(e.c=new y5),fA(e.c,t.jj())));break}case 6:{if(d=t.kj(),d!=null)for(c=l(d,16).Kc();c.Ob();)a=l(c.Pb(),482),(a.Bb&1)==0&&(e=xc(a),!e.c&&(e.c=new y5),fA(e.c,t.jj()));break}}this.ql(i)}},"t$d"),h.ql=n(function(t){E$t(this,t)},"u$d"),h.b=63;var M$n=S(Me,"ESuperAdapter",1175);C(1176,1175,$Kt,Zyt),h.ql=n(function(t){a2(this,t)},"x$d");var A$n=S(Me,"EClassImpl/10",1176);C(1165,710,So),h.Ei=n(function(t,e){return dN(this,t,e)},"y$d"),h.Fi=n(function(t){return gDt(this,t)},"z$d"),h.Gi=n(function(t,e){aC(this,t,e)},"A$d"),h.Hi=n(function(t){Mx(this,t)},"B$d"),h.$i=n(function(t){return BQ(this,t)},"D$d"),h.Xi=n(function(t,e){return EP(this,t,e)},"L$d"),h.Wk=n(function(t,e){throw R(new Tn)},"C$d"),h.Ii=n(function(){return new g3(this)},"E$d"),h.Ji=n(function(){return new J9(this)},"F$d"),h.Ki=n(function(t){return Kx(this,t)},"G$d"),h.Xk=n(function(t,e){throw R(new Tn)},"H$d"),h.Fk=n(function(t){return this},"I$d"),h.Qj=n(function(){return this.i!=0},"J$d"),h.Wb=n(function(t){throw R(new Tn)},"K$d"),h.Gk=n(function(){throw R(new Tn)},"M$d");var L$n=S(Fr,"EcoreEList/UnmodifiableEList",1165);C(328,1165,So,uw),h.Yi=n(function(){return!1},"O$d");var _$n=S(Fr,"EcoreEList/UnmodifiableEList/FastCompare",328);C(1168,328,So,Y_t),h.dd=n(function(t){var e,r,i;if(J(t,179)&&(e=l(t,179),r=e.Lj(),r!=-1)){for(i=this.i;r4)if(this.fk(t)){if(this.al()){if(i=l(t,54),r=i.Eh(),d=r==this.b&&(this.ml()?i.yh(i.Fh(),l(we(Ps(this.b),this.Lj()).Hk(),29).kk())==Sa(l(we(Ps(this.b),this.Lj()),19)).n:-1-i.Fh()==this.Lj()),this.nl()&&!d&&!r&&i.Jh()){for(a=0;a1||i==-1)):!1},"__d"),h.ml=n(function(){var t,e,r;return e=we(Ps(this.b),this.Lj()),J(e,102)?(t=l(e,19),r=Sa(t),!!r):!1},"a0d"),h.nl=n(function(){var t,e;return e=we(Ps(this.b),this.Lj()),J(e,102)?(t=l(e,19),(t.Bb&Ea)!=0):!1},"b0d"),h.dd=n(function(t){var e,r,i,a;if(i=this.zj(t),i>=0)return i;if(this.ol()){for(r=0,a=this.Ej();r=0;--t)qC(this,t,this.xj(t));return this.Fj()},"n0d"),h.Qc=n(function(t){var e;if(this.nl())for(e=this.Ej()-1;e>=0;--e)qC(this,e,this.xj(e));return this.Gj(t)},"o0d"),h.Gk=n(function(){B8(this)},"p0d"),h.Zi=n(function(t,e){return nAt(this,t,e)},"q0d");var H$n=S(Fr,"DelegatingEcoreEList",756);C(1171,756,qKt,pxt),h.qj=n(function(t,e){Cle(this,t,l(e,29))},"z0d"),h.rj=n(function(t){uce(this,l(t,29))},"A0d"),h.xj=n(function(t){var e,r;return e=l(Z(Jo(this.a),t),89),r=e.c,J(r,90)?l(r,29):(he(),Mh)},"G0d"),h.Cj=n(function(t){var e,r;return e=l(c2(Jo(this.a),t),89),r=e.c,J(r,90)?l(r,29):(he(),Mh)},"L0d"),h.Dj=n(function(t,e){return vye(this,t,l(e,29))},"M0d"),h.Li=n(function(){return!1},"x0d"),h.Ij=n(function(t,e,r,i,a){return null},"y0d"),h.sj=n(function(){return new nvt(this)},"B0d"),h.tj=n(function(){dn(Jo(this.a))},"C0d"),h.uj=n(function(t){return WFt(this,t)},"D0d"),h.vj=n(function(t){var e,r;for(r=t.Kc();r.Ob();)if(e=r.Pb(),!WFt(this,e))return!1;return!0},"E0d"),h.wj=n(function(t){var e,r,i;if(J(t,15)&&(i=l(t,15),i.gc()==Jo(this.a).i)){for(e=i.Kc(),r=new ze(this);e.Ob();)if(ot(e.Pb())!==ot(Xe(r)))return!1;return!0}return!1},"F0d"),h.yj=n(function(){var t,e,r,i,a;for(r=1,e=new ze(Jo(this.a));e.e!=e.i.gc();)t=l(Xe(e),89),i=(a=t.c,J(a,90)?l(a,29):(he(),Mh)),r=31*r+(i?Zb(i):0);return r},"H0d"),h.zj=n(function(t){var e,r,i,a;for(i=0,r=new ze(Jo(this.a));r.e!=r.i.gc();){if(e=l(Xe(r),89),ot(t)===ot((a=e.c,J(a,90)?l(a,29):(he(),Mh))))return i;++i}return-1},"I0d"),h.Aj=n(function(){return Jo(this.a).i==0},"J0d"),h.Bj=n(function(){return null},"K0d"),h.Ej=n(function(){return Jo(this.a).i},"N0d"),h.Fj=n(function(){var t,e,r,i,a,c;for(c=Jo(this.a).i,a=ht(Ai,xe,1,c,5,1),r=0,e=new ze(Jo(this.a));e.e!=e.i.gc();)t=l(Xe(e),89),a[r++]=(i=t.c,J(i,90)?l(i,29):(he(),Mh));return a},"O0d"),h.Gj=n(function(t){var e,r,i,a,c,u,d;for(d=Jo(this.a).i,t.lengthd&&Hr(t,d,null),i=0,r=new ze(Jo(this.a));r.e!=r.i.gc();)e=l(Xe(r),89),c=(u=e.c,J(u,90)?l(u,29):(he(),Mh)),Hr(t,i++,c);return t},"P0d"),h.Hj=n(function(){var t,e,r,i,a;for(a=new F0,a.a+="[",t=Jo(this.a),e=0,i=Jo(this.a).i;e>16,a>=0?tN(this,r):this.Cb.Th(this,-1-a,null,r))),nl(this,t,6,r);case 9:return!this.a&&(this.a=new pt(dd,this,9,5)),ds(this.a,t,r)}return c=l(we((i=l(Ae(this,16),29),i||(he(),Sb)),e),69),c.wk().zk(this,Bs(this),e-Ze((he(),Sb)),t,r)},"C1d"),h.Uh=n(function(t,e,r){var i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ma(this.Ab,t,r);case 6:return nl(this,null,6,r);case 7:return!this.A&&(this.A=new Xs(Us,this,7)),ma(this.A,t,r);case 9:return!this.a&&(this.a=new pt(dd,this,9,5)),ma(this.a,t,r)}return a=l(we((i=l(Ae(this,16),29),i||(he(),Sb)),e),69),a.wk().Ak(this,Bs(this),e-Ze((he(),Sb)),t,r)},"D1d"),h.Wh=n(function(t){var e;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Mg(this);case 4:return!!NJ(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!ey(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0;case 9:return!!this.a&&this.a.i!=0}return ul(this,t-Ze((he(),Sb)),we((e=l(Ae(this,16),29),e||Sb),t))},"E1d"),h.bi=n(function(t,e){var r;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab),!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),Wr(this.Ab,l(e,16));return;case 1:UM(this,En(e));return;case 2:Mj(this,En(e));return;case 5:nv(this,En(e));return;case 7:!this.A&&(this.A=new Xs(Us,this,7)),dn(this.A),!this.A&&(this.A=new Xs(Us,this,7)),Wr(this.A,l(e,16));return;case 8:GA(this,jt(Dt(e)));return;case 9:!this.a&&(this.a=new pt(dd,this,9,5)),dn(this.a),!this.a&&(this.a=new pt(dd,this,9,5)),Wr(this.a,l(e,16));return}wl(this,t-Ze((he(),Sb)),we((r=l(Ae(this,16),29),r||Sb),t),e)},"F1d"),h.ii=n(function(){return he(),Sb},"G1d"),h.ki=n(function(t){var e;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab);return;case 1:J(this.Cb,184)&&(l(this.Cb,184).tb=null),us(this,null);return;case 2:Ay(this,null),by(this,this.D);return;case 5:nv(this,null);return;case 7:!this.A&&(this.A=new Xs(Us,this,7)),dn(this.A);return;case 8:GA(this,!0);return;case 9:!this.a&&(this.a=new pt(dd,this,9,5)),dn(this.a);return}pl(this,t-Ze((he(),Sb)),we((e=l(Ae(this,16),29),e||Sb),t))},"H1d"),h.pi=n(function(){var t,e;if(this.a)for(t=0,e=this.a.i;t>16==5?l(this.Cb,685):null}return fl(this,t-Ze((he(),hf)),we((i=l(Ae(this,16),29),i||hf),t),e,r)},"T1d"),h.Sh=n(function(t,e,r){var i,a,c;switch(e){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ds(this.Ab,t,r);case 5:return this.Cb&&(r=(a=this.Db>>16,a>=0?qDt(this,r):this.Cb.Th(this,-1-a,null,r))),nl(this,t,5,r)}return c=l(we((i=l(Ae(this,16),29),i||(he(),hf)),e),69),c.wk().zk(this,Bs(this),e-Ze((he(),hf)),t,r)},"U1d"),h.Uh=n(function(t,e,r){var i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ma(this.Ab,t,r);case 5:return nl(this,null,5,r)}return a=l(we((i=l(Ae(this,16),29),i||(he(),hf)),e),69),a.wk().Ak(this,Bs(this),e-Ze((he(),hf)),t,r)},"V1d"),h.Wh=n(function(t){var e;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.d!=0;case 3:return!!this.b;case 4:return this.c!=null;case 5:return!!(this.Db>>16==5&&l(this.Cb,685))}return ul(this,t-Ze((he(),hf)),we((e=l(Ae(this,16),29),e||hf),t))},"W1d"),h.bi=n(function(t,e){var r;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab),!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),Wr(this.Ab,l(e,16));return;case 1:us(this,En(e));return;case 2:FP(this,l(e,17).a);return;case 3:NIt(this,l(e,2039));return;case 4:DP(this,En(e));return}wl(this,t-Ze((he(),hf)),we((r=l(Ae(this,16),29),r||hf),t),e)},"X1d"),h.ii=n(function(){return he(),hf},"Y1d"),h.ki=n(function(t){var e;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab);return;case 1:us(this,null);return;case 2:FP(this,0);return;case 3:NIt(this,null);return;case 4:DP(this,null);return}pl(this,t-Ze((he(),hf)),we((e=l(Ae(this,16),29),e||hf),t))},"Z1d"),h.Ib=n(function(){var t;return t=this.c,t??this.zb},"_1d"),h.b=null,h.c=null,h.d=0;var Y$n=S(Me,"EEnumLiteralImpl",582),ecn=Rr(Me,"EFactoryImpl/InternalEDateTimeFormat");C(499,1,{2114:1},v9);var Q$n=S(Me,"EFactoryImpl/1ClientInternalEDateTimeFormat",499);C(248,120,{110:1,94:1,93:1,89:1,58:1,114:1,54:1,99:1,248:1,119:1,120:1},$b),h.Ch=n(function(t,e,r){var i;return r=nl(this,t,e,r),this.e&&J(t,179)&&(i=DL(this,this.e),i!=this.c&&(r=rv(this,i,r))),r},"t2d"),h.Lh=n(function(t,e,r){var i;switch(t){case 0:return this.f;case 1:return!this.d&&(this.d=new ci(Ha,this,1)),this.d;case 2:return e?GL(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return e?W$(this):this.a}return fl(this,t-Ze((he(),z2)),we((i=l(Ae(this,16),29),i||z2),t),e,r)},"u2d"),h.Uh=n(function(t,e,r){var i,a;switch(e){case 0:return OFt(this,null,r);case 1:return!this.d&&(this.d=new ci(Ha,this,1)),ma(this.d,t,r);case 3:return DFt(this,null,r)}return a=l(we((i=l(Ae(this,16),29),i||(he(),z2)),e),69),a.wk().Ak(this,Bs(this),e-Ze((he(),z2)),t,r)},"v2d"),h.Wh=n(function(t){var e;switch(t){case 0:return!!this.f;case 1:return!!this.d&&this.d.i!=0;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return ul(this,t-Ze((he(),z2)),we((e=l(Ae(this,16),29),e||z2),t))},"w2d"),h.bi=n(function(t,e){var r;switch(t){case 0:sjt(this,l(e,89));return;case 1:!this.d&&(this.d=new ci(Ha,this,1)),dn(this.d),!this.d&&(this.d=new ci(Ha,this,1)),Wr(this.d,l(e,16));return;case 3:wtt(this,l(e,89));return;case 4:Itt(this,l(e,850));return;case 5:ly(this,l(e,142));return}wl(this,t-Ze((he(),z2)),we((r=l(Ae(this,16),29),r||z2),t),e)},"x2d"),h.ii=n(function(){return he(),z2},"y2d"),h.ki=n(function(t){var e;switch(t){case 0:sjt(this,null);return;case 1:!this.d&&(this.d=new ci(Ha,this,1)),dn(this.d);return;case 3:wtt(this,null);return;case 4:Itt(this,null);return;case 5:ly(this,null);return}pl(this,t-Ze((he(),z2)),we((e=l(Ae(this,16),29),e||z2),t))},"z2d"),h.Ib=n(function(){var t;return t=new Wc(fh(this)),t.a+=" (expression: ",tR(this,t),t.a+=")",t.a},"A2d");var qZt,J$n=S(Me,"EGenericTypeImpl",248);C(2067,2062,hz),h.Gi=n(function(t,e){fxt(this,t,e)},"C2d"),h.Wk=n(function(t,e){return fxt(this,this.gc(),t),e},"D2d"),h.$i=n(function(t){return vl(this.pj(),t)},"E2d"),h.Ii=n(function(){return this.Ji()},"F2d"),h.pj=n(function(){return new ovt(this)},"G2d"),h.Ji=n(function(){return this.Ki(0)},"H2d"),h.Ki=n(function(t){return this.pj().fd(t)},"I2d"),h.Xk=n(function(t,e){return Jp(this,t,!0),e},"J2d"),h.Ti=n(function(t,e){var r,i;return i=rN(this,e),r=this.fd(t),r.Rb(i),i},"K2d"),h.Ui=n(function(t,e){var r;Jp(this,e,!0),r=this.fd(t),r.Rb(e)},"L2d");var Z$n=S(Fr,"AbstractSequentialInternalEList",2067);C(496,2067,hz,Q9),h.$i=n(function(t){return vl(this.pj(),t)},"R2d"),h.Ii=n(function(){return this.b==null?(j0(),j0(),JF):this.sl()},"S2d"),h.pj=n(function(){return new _kt(this.a,this.b)},"T2d"),h.Ji=n(function(){return this.b==null?(j0(),j0(),JF):this.sl()},"U2d"),h.Ki=n(function(t){var e,r;if(this.b==null){if(t<0||t>1)throw R(new Wa(dT+t+", size=0"));return j0(),j0(),JF}for(r=this.sl(),e=0;e0;)if(e=this.c[--this.d],(!this.e||e.pk()!=Pk||e.Lj()!=0)&&(!this.vl()||this.b.Xh(e))){if(c=this.b.Nh(e,this.ul()),this.f=(Ta(),l(e,69).xk()),this.f||e.Jk()){if(this.ul()?(i=l(c,15),this.k=i):(i=l(c,71),this.k=this.j=i),J(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ki(this.k.gc()):this.k.fd(this.k.gc()),this.p?eIt(this,this.p):dIt(this))return a=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(t=l(a,76),t.Lk(),r=t.md(),this.i=r):(r=a,this.i=r),this.g=-3,!0}else if(c!=null)return this.k=null,this.p=null,r=c,this.i=r,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return a=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(t=l(a,76),t.Lk(),r=t.md(),this.i=r):(r=a,this.i=r),this.g=-3,!0}},"u3d"),h.Pb=n(function(){return $A(this)},"v3d"),h.Tb=n(function(){return this.a},"w3d"),h.Ub=n(function(){var t;if(this.g<-1||this.Sb())return--this.a,this.g=0,t=this.i,this.Sb(),t;throw R(new mo)},"x3d"),h.Vb=n(function(){return this.a-1},"y3d"),h.Qb=n(function(){throw R(new Tn)},"z3d"),h.ul=n(function(){return!1},"A3d"),h.Wb=n(function(t){throw R(new Tn)},"B3d"),h.vl=n(function(){return!0},"C3d"),h.a=0,h.d=0,h.f=!1,h.g=0,h.n=0,h.o=0;var JF,nNn=S(Fr,"EContentsEList/FeatureIteratorImpl",287);C(711,287,uz,BV),h.ul=n(function(){return!0},"E3d");var rNn=S(Fr,"EContentsEList/ResolvingFeatureIteratorImpl",711);C(1178,711,uz,J9t),h.vl=n(function(){return!1},"G3d");var iNn=S(Me,"ENamedElementImpl/1/1",1178);C(1179,287,uz,Z9t),h.vl=n(function(){return!1},"I3d");var aNn=S(Me,"ENamedElementImpl/1/2",1179);C(39,152,D_,Hp,rP,_i,mP,Y1,hh,RQ,FEt,zQ,OEt,iQ,DEt,KQ,jEt,aQ,IEt,qQ,PEt,v7,Fx,$I,HQ,$Et,oQ,NEt),h.Kj=n(function(){return CQ(this)},"i4d"),h.Rj=n(function(){var t;return t=CQ(this),t?t.ik():null},"j4d"),h.hj=n(function(t){return this.b==-1&&this.a&&(this.b=this.c.Hh(this.a.Lj(),this.a.pk())),this.c.yh(this.b,t)},"k4d"),h.jj=n(function(){return this.c},"l4d"),h.Sj=n(function(){var t;return t=CQ(this),t?t.tk():!1},"m4d"),h.b=-1;var oNn=S(Me,"ENotificationImpl",39);C(411,292,{110:1,94:1,93:1,155:1,197:1,58:1,62:1,114:1,481:1,54:1,99:1,158:1,411:1,292:1,119:1,120:1},CD),h.Ah=n(function(t){return UDt(this,t)},"r4d"),h.Lh=n(function(t,e,r){var i,a,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Se(),(this.Bb&256)!=0;case 3:return Se(),(this.Bb&512)!=0;case 4:return Et(this.s);case 5:return Et(this.t);case 6:return Se(),c=this.t,c>1||c==-1;case 7:return Se(),a=this.s,a>=1;case 8:return e?Rl(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?l(this.Cb,29):null;case 11:return!this.d&&(this.d=new Xs(Us,this,11)),this.d;case 12:return!this.c&&(this.c=new pt(R2,this,12,10)),this.c;case 13:return!this.a&&(this.a=new nx(this,this)),this.a;case 14:return Cc(this)}return fl(this,t-Ze((he(),uf)),we((i=l(Ae(this,16),29),i||uf),t),e,r)},"s4d"),h.Sh=n(function(t,e,r){var i,a,c;switch(e){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ds(this.Ab,t,r);case 10:return this.Cb&&(r=(a=this.Db>>16,a>=0?UDt(this,r):this.Cb.Th(this,-1-a,null,r))),nl(this,t,10,r);case 12:return!this.c&&(this.c=new pt(R2,this,12,10)),ds(this.c,t,r)}return c=l(we((i=l(Ae(this,16),29),i||(he(),uf)),e),69),c.wk().zk(this,Bs(this),e-Ze((he(),uf)),t,r)},"t4d"),h.Uh=n(function(t,e,r){var i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ma(this.Ab,t,r);case 9:return CI(this,r);case 10:return nl(this,null,10,r);case 11:return!this.d&&(this.d=new Xs(Us,this,11)),ma(this.d,t,r);case 12:return!this.c&&(this.c=new pt(R2,this,12,10)),ma(this.c,t,r);case 14:return ma(Cc(this),t,r)}return a=l(we((i=l(Ae(this,16),29),i||(he(),uf)),e),69),a.wk().Ak(this,Bs(this),e-Ze((he(),uf)),t,r)},"u4d"),h.Wh=n(function(t){var e,r,i;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return i=this.t,i>1||i==-1;case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&sg(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&sg(this.q).i==0);case 10:return!!(this.Db>>16==10&&l(this.Cb,29));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&Cc(this.a.a).i!=0&&!(this.b&&K$(this.b));case 14:return!!this.b&&K$(this.b)}return ul(this,t-Ze((he(),uf)),we((e=l(Ae(this,16),29),e||uf),t))},"v4d"),h.bi=n(function(t,e){var r,i;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab),!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),Wr(this.Ab,l(e,16));return;case 1:us(this,En(e));return;case 2:X0(this,jt(Dt(e)));return;case 3:Y0(this,jt(Dt(e)));return;case 4:U0(this,l(e,17).a);return;case 5:Vp(this,l(e,17).a);return;case 8:Vf(this,l(e,142));return;case 9:i=wu(this,l(e,89),null),i&&i.oj();return;case 11:!this.d&&(this.d=new Xs(Us,this,11)),dn(this.d),!this.d&&(this.d=new Xs(Us,this,11)),Wr(this.d,l(e,16));return;case 12:!this.c&&(this.c=new pt(R2,this,12,10)),dn(this.c),!this.c&&(this.c=new pt(R2,this,12,10)),Wr(this.c,l(e,16));return;case 13:!this.a&&(this.a=new nx(this,this)),B8(this.a),!this.a&&(this.a=new nx(this,this)),Wr(this.a,l(e,16));return;case 14:dn(Cc(this)),Wr(Cc(this),l(e,16));return}wl(this,t-Ze((he(),uf)),we((r=l(Ae(this,16),29),r||uf),t),e)},"w4d"),h.ii=n(function(){return he(),uf},"x4d"),h.ki=n(function(t){var e,r;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab);return;case 1:us(this,null);return;case 2:X0(this,!0);return;case 3:Y0(this,!0);return;case 4:U0(this,0);return;case 5:Vp(this,1);return;case 8:Vf(this,null);return;case 9:r=wu(this,null,null),r&&r.oj();return;case 11:!this.d&&(this.d=new Xs(Us,this,11)),dn(this.d);return;case 12:!this.c&&(this.c=new pt(R2,this,12,10)),dn(this.c);return;case 13:this.a&&B8(this.a);return;case 14:this.b&&dn(this.b);return}pl(this,t-Ze((he(),uf)),we((e=l(Ae(this,16),29),e||uf),t))},"y4d"),h.pi=n(function(){var t,e;if(this.c)for(t=0,e=this.c.i;td&&Hr(t,d,null),i=0,r=new ze(Cc(this.a));r.e!=r.i.gc();)e=l(Xe(r),89),c=(u=e.c,u||(he(),r1)),Hr(t,i++,c);return t},"Y4d"),h.Hj=n(function(){var t,e,r,i,a;for(a=new F0,a.a+="[",t=Cc(this.a),e=0,i=Cc(this.a).i;e1);case 5:return B7(this,t,e,r,i,this.i-l(r,15).gc()>0);default:return new Y1(this.e,t,this.c,e,r,i,!0)}},"t5d"),h.Tj=n(function(){return!0},"u5d"),h.Qj=n(function(){return K$(this)},"v5d"),h.Gk=n(function(){dn(this)},"A5d");var hNn=S(Me,"EOperationImpl/2",1377);C(507,1,{2037:1,507:1},bkt);var uNn=S(Me,"EPackageImpl/1",507);C(14,83,So,pt),h.il=n(function(){return this.d},"D5d"),h.jl=n(function(){return this.b},"E5d"),h.ml=n(function(){return!0},"F5d"),h.b=0;var dNn=S(Fr,"EObjectContainmentWithInverseEList",14);C(365,14,So,p3),h.nl=n(function(){return!0},"H5d"),h.Wi=n(function(t,e){return X3(this,t,l(e,58))},"I5d");var fNn=S(Fr,"EObjectContainmentWithInverseEList/Resolving",365);C(308,365,So,Pp),h.Ni=n(function(){this.a.tb=null},"K5d");var bNn=S(Me,"EPackageImpl/2",308);C(1278,1,{},a2t);var gNn=S(Me,"EPackageImpl/3",1278);C(733,45,Q3,LW),h._b=n(function(t){return Oi(t)?RI(this,t):!!_a(this.f,t)},"P5d");var pNn=S(Me,"EPackageRegistryImpl",733);C(518,292,{110:1,94:1,93:1,155:1,197:1,58:1,2116:1,114:1,481:1,54:1,99:1,158:1,518:1,292:1,119:1,120:1},TD),h.Ah=n(function(t){return WDt(this,t)},"S5d"),h.Lh=n(function(t,e,r){var i,a,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Se(),(this.Bb&256)!=0;case 3:return Se(),(this.Bb&512)!=0;case 4:return Et(this.s);case 5:return Et(this.t);case 6:return Se(),c=this.t,c>1||c==-1;case 7:return Se(),a=this.s,a>=1;case 8:return e?Rl(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?l(this.Cb,62):null}return fl(this,t-Ze((he(),Dm)),we((i=l(Ae(this,16),29),i||Dm),t),e,r)},"T5d"),h.Sh=n(function(t,e,r){var i,a,c;switch(e){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ds(this.Ab,t,r);case 10:return this.Cb&&(r=(a=this.Db>>16,a>=0?WDt(this,r):this.Cb.Th(this,-1-a,null,r))),nl(this,t,10,r)}return c=l(we((i=l(Ae(this,16),29),i||(he(),Dm)),e),69),c.wk().zk(this,Bs(this),e-Ze((he(),Dm)),t,r)},"U5d"),h.Uh=n(function(t,e,r){var i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ma(this.Ab,t,r);case 9:return CI(this,r);case 10:return nl(this,null,10,r)}return a=l(we((i=l(Ae(this,16),29),i||(he(),Dm)),e),69),a.wk().Ak(this,Bs(this),e-Ze((he(),Dm)),t,r)},"V5d"),h.Wh=n(function(t){var e,r,i;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return i=this.t,i>1||i==-1;case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&sg(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&sg(this.q).i==0);case 10:return!!(this.Db>>16==10&&l(this.Cb,62))}return ul(this,t-Ze((he(),Dm)),we((e=l(Ae(this,16),29),e||Dm),t))},"W5d"),h.ii=n(function(){return he(),Dm},"X5d");var wNn=S(Me,"EParameterImpl",518);C(102,462,{110:1,94:1,93:1,155:1,197:1,58:1,19:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,102:1,462:1,292:1,119:1,120:1,692:1},FV),h.Lh=n(function(t,e,r){var i,a,c,u;switch(t){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Se(),(this.Bb&256)!=0;case 3:return Se(),(this.Bb&512)!=0;case 4:return Et(this.s);case 5:return Et(this.t);case 6:return Se(),u=this.t,u>1||u==-1;case 7:return Se(),a=this.s,a>=1;case 8:return e?Rl(this):this.r;case 9:return this.q;case 10:return Se(),(this.Bb&qh)!=0;case 11:return Se(),(this.Bb&rm)!=0;case 12:return Se(),(this.Bb&Yw)!=0;case 13:return this.j;case 14:return Xy(this);case 15:return Se(),(this.Bb&wc)!=0;case 16:return Se(),(this.Bb&y1)!=0;case 17:return Rp(this);case 18:return Se(),(this.Bb&Wo)!=0;case 19:return Se(),c=Sa(this),!!(c&&(c.Bb&Wo)!=0);case 20:return Se(),(this.Bb&Ea)!=0;case 21:return e?Sa(this):this.b;case 22:return e?AJ(this):lMt(this);case 23:return!this.a&&(this.a=new ww(_m,this,23)),this.a}return fl(this,t-Ze((he(),z4)),we((i=l(Ae(this,16),29),i||z4),t),e,r)},"e6d"),h.Wh=n(function(t){var e,r,i,a;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return a=this.t,a>1||a==-1;case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&sg(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&sg(this.q).i==0);case 10:return(this.Bb&qh)==0;case 11:return(this.Bb&rm)!=0;case 12:return(this.Bb&Yw)!=0;case 13:return this.j!=null;case 14:return Xy(this)!=null;case 15:return(this.Bb&wc)!=0;case 16:return(this.Bb&y1)!=0;case 17:return!!Rp(this);case 18:return(this.Bb&Wo)!=0;case 19:return i=Sa(this),!!i&&(i.Bb&Wo)!=0;case 20:return(this.Bb&Ea)==0;case 21:return!!this.b;case 22:return!!lMt(this);case 23:return!!this.a&&this.a.i!=0}return ul(this,t-Ze((he(),z4)),we((e=l(Ae(this,16),29),e||z4),t))},"f6d"),h.bi=n(function(t,e){var r,i;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab),!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),Wr(this.Ab,l(e,16));return;case 1:YI(this,En(e));return;case 2:X0(this,jt(Dt(e)));return;case 3:Y0(this,jt(Dt(e)));return;case 4:U0(this,l(e,17).a);return;case 5:Vp(this,l(e,17).a);return;case 8:Vf(this,l(e,142));return;case 9:i=wu(this,l(e,89),null),i&&i.oj();return;case 10:Fy(this,jt(Dt(e)));return;case 11:jy(this,jt(Dt(e)));return;case 12:Oy(this,jt(Dt(e)));return;case 13:HG(this,En(e));return;case 15:Dy(this,jt(Dt(e)));return;case 16:Iy(this,jt(Dt(e)));return;case 18:Wfe(this,jt(Dt(e)));return;case 20:sZ(this,jt(Dt(e)));return;case 21:aJ(this,l(e,19));return;case 23:!this.a&&(this.a=new ww(_m,this,23)),dn(this.a),!this.a&&(this.a=new ww(_m,this,23)),Wr(this.a,l(e,16));return}wl(this,t-Ze((he(),z4)),we((r=l(Ae(this,16),29),r||z4),t),e)},"g6d"),h.ii=n(function(){return he(),z4},"h6d"),h.ki=n(function(t){var e,r;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab);return;case 1:J(this.Cb,90)&&a2(xc(l(this.Cb,90)),4),us(this,null);return;case 2:X0(this,!0);return;case 3:Y0(this,!0);return;case 4:U0(this,0);return;case 5:Vp(this,1);return;case 8:Vf(this,null);return;case 9:r=wu(this,null,null),r&&r.oj();return;case 10:Fy(this,!0);return;case 11:jy(this,!1);return;case 12:Oy(this,!1);return;case 13:this.i=null,AA(this,null);return;case 15:Dy(this,!1);return;case 16:Iy(this,!1);return;case 18:oZ(this,!1),J(this.Cb,90)&&a2(xc(l(this.Cb,90)),2);return;case 20:sZ(this,!0);return;case 21:aJ(this,null);return;case 23:!this.a&&(this.a=new ww(_m,this,23)),dn(this.a);return}pl(this,t-Ze((he(),z4)),we((e=l(Ae(this,16),29),e||z4),t))},"i6d"),h.pi=n(function(){AJ(this),J5(Xa((ec(),aa),this)),Rl(this),this.Bb|=1},"j6d"),h.uk=n(function(){return Sa(this)},"k6d"),h._k=n(function(){var t;return t=Sa(this),!!t&&(t.Bb&Wo)!=0},"l6d"),h.al=n(function(){return(this.Bb&Wo)!=0},"m6d"),h.bl=n(function(){return(this.Bb&Ea)!=0},"n6d"),h.Yk=n(function(t,e){return this.c=null,YJ(this,t,e)},"o6d"),h.Ib=n(function(){var t;return(this.Db&64)!=0?KL(this):(t=new jl(KL(this)),t.a+=" (containment: ",O0(t,(this.Bb&Wo)!=0),t.a+=", resolveProxies: ",O0(t,(this.Bb&Ea)!=0),t.a+=")",t.a)},"p6d");var mNn=S(Me,"EReferenceImpl",102);C(561,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,561:1,119:1,120:1},o2t),h.Fb=n(function(t){return this===t},"B6d"),h.ld=n(function(){return this.b},"D6d"),h.md=n(function(){return this.c},"E6d"),h.Hb=n(function(){return Zb(this)},"F6d"),h.Di=n(function(t){Q1e(this,En(t))},"H6d"),h.nd=n(function(t){return I1e(this,En(t))},"I6d"),h.Lh=n(function(t,e,r){var i;switch(t){case 0:return this.b;case 1:return this.c}return fl(this,t-Ze((he(),Aa)),we((i=l(Ae(this,16),29),i||Aa),t),e,r)},"w6d"),h.Wh=n(function(t){var e;switch(t){case 0:return this.b!=null;case 1:return this.c!=null}return ul(this,t-Ze((he(),Aa)),we((e=l(Ae(this,16),29),e||Aa),t))},"x6d"),h.bi=n(function(t,e){var r;switch(t){case 0:J1e(this,En(e));return;case 1:nJ(this,En(e));return}wl(this,t-Ze((he(),Aa)),we((r=l(Ae(this,16),29),r||Aa),t),e)},"y6d"),h.ii=n(function(){return he(),Aa},"z6d"),h.ki=n(function(t){var e;switch(t){case 0:eJ(this,null);return;case 1:nJ(this,null);return}pl(this,t-Ze((he(),Aa)),we((e=l(Ae(this,16),29),e||Aa),t))},"A6d"),h.Bi=n(function(){var t;return this.a==-1&&(t=this.b,this.a=t==null?0:W0(t)),this.a},"C6d"),h.Ci=n(function(t){this.a=t},"G6d"),h.Ib=n(function(){var t;return(this.Db&64)!=0?fh(this):(t=new jl(fh(this)),t.a+=" (key: ",Ia(t,this.b),t.a+=", value: ",Ia(t,this.c),t.a+=")",t.a)},"J6d"),h.a=-1,h.b=null,h.c=null;var zo=S(Me,"EStringToStringMapEntryImpl",561),YUe=Rr(Fr,"FeatureMap/Entry/Internal");C(576,1,dz),h.xl=n(function(t){return this.yl(l(t,54))},"M6d"),h.yl=n(function(t){return this.xl(t)},"N6d"),h.Fb=n(function(t){var e,r;return this===t?!0:J(t,76)?(e=l(t,76),e.Lk()==this.c?(r=this.md(),r==null?e.md()==null:er(r,e.md())):!1):!1},"O6d"),h.Lk=n(function(){return this.c},"P6d"),h.Hb=n(function(){var t;return t=this.md(),kr(this.c)^(t==null?0:kr(t))},"Q6d"),h.Ib=n(function(){var t,e;return t=this.c,e=Yc(t.qk()).yi(),t.xe(),(e!=null&&e.length!=0?e+":"+t.xe():t.xe())+"="+this.md()},"R6d");var yNn=S(Me,"EStructuralFeatureImpl/BasicFeatureMapEntry",576);C(791,576,dz,zV),h.yl=n(function(t){return new zV(this.c,t)},"V6d"),h.md=n(function(){return this.a},"W6d"),h.zl=n(function(t,e,r){return jwe(this,t,this.a,e,r)},"X6d"),h.Al=n(function(t,e,r){return Iwe(this,t,this.a,e,r)},"Y6d");var vNn=S(Me,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",791);C(1350,1,{},gkt),h.yk=n(function(t,e,r,i,a){var c;return c=l(ay(t,this.b),220),c.Yl(this.a).Fk(i)},"$6d"),h.zk=n(function(t,e,r,i,a){var c;return c=l(ay(t,this.b),220),c.Pl(this.a,i,a)},"_6d"),h.Ak=n(function(t,e,r,i,a){var c;return c=l(ay(t,this.b),220),c.Ql(this.a,i,a)},"a7d"),h.Bk=n(function(t,e,r){var i;return i=l(ay(t,this.b),220),i.Yl(this.a).Qj()},"b7d"),h.Ck=n(function(t,e,r,i){var a;a=l(ay(t,this.b),220),a.Yl(this.a).Wb(i)},"c7d"),h.Dk=n(function(t,e,r){return l(ay(t,this.b),220).Yl(this.a)},"d7d"),h.Ek=n(function(t,e,r){var i;i=l(ay(t,this.b),220),i.Yl(this.a).Gk()},"e7d");var kNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1350);C(91,1,{},P0,jf,N0,Rf),h.yk=n(function(t,e,r,i,a){var c;if(c=e.li(r),c==null&&e.mi(r,c=n_(this,t)),!a)switch(this.e){case 50:case 41:return l(c,597).bk();case 40:return l(c,220).Vl()}return c},"k7d"),h.zk=n(function(t,e,r,i,a){var c,u;return u=e.li(r),u==null&&e.mi(r,u=n_(this,t)),c=l(u,71).Wk(i,a),c},"l7d"),h.Ak=n(function(t,e,r,i,a){var c;return c=e.li(r),c!=null&&(a=l(c,71).Xk(i,a)),a},"m7d"),h.Bk=n(function(t,e,r){var i;return i=e.li(r),i!=null&&l(i,79).Qj()},"n7d"),h.Ck=n(function(t,e,r,i){var a;a=l(e.li(r),79),!a&&e.mi(r,a=n_(this,t)),a.Wb(i)},"o7d"),h.Dk=n(function(t,e,r){var i,a;return a=e.li(r),a==null&&e.mi(r,a=n_(this,t)),J(a,79)?l(a,79):(i=l(e.li(r),15),new ivt(i))},"p7d"),h.Ek=n(function(t,e,r){var i;i=l(e.li(r),79),!i&&e.mi(r,i=n_(this,t)),i.Gk()},"q7d"),h.b=0,h.e=0;var xNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateMany",91);C(512,1,{}),h.zk=n(function(t,e,r,i,a){throw R(new Tn)},"u7d"),h.Ak=n(function(t,e,r,i,a){throw R(new Tn)},"v7d"),h.Dk=n(function(t,e,r){return new bSt(this,t,e,r)},"w7d");var C0,CNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingle",512);C(1367,1,fat,bSt),h.Fk=n(function(t){return this.a.yk(this.c,this.d,this.b,t,!0)},"y7d"),h.Qj=n(function(){return this.a.Bk(this.c,this.d,this.b)},"z7d"),h.Wb=n(function(t){this.a.Ck(this.c,this.d,this.b,t)},"A7d"),h.Gk=n(function(){this.a.Ek(this.c,this.d,this.b)},"B7d"),h.b=0;var TNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1367);C(784,512,{},AY),h.yk=n(function(t,e,r,i,a){return RN(t,t.Ph(),t.Fh())==this.b?this.bl()&&i?EN(t):t.Ph():null},"D7d"),h.zk=n(function(t,e,r,i,a){var c,u;return t.Ph()&&(a=(c=t.Fh(),c>=0?t.Ah(a):t.Ph().Th(t,-1-c,null,a))),u=jr(t.Dh(),this.e),t.Ch(i,u,a)},"E7d"),h.Ak=n(function(t,e,r,i,a){var c;return c=jr(t.Dh(),this.e),t.Ch(null,c,a)},"F7d"),h.Bk=n(function(t,e,r){var i;return i=jr(t.Dh(),this.e),!!t.Ph()&&t.Fh()==i},"G7d"),h.Ck=n(function(t,e,r,i){var a,c,u,d,b;if(i!=null&&!KN(this.a,i))throw R(new B5(fz+(J(i,58)?ptt(l(i,58).Dh()):IQ(Nc(i)))+bz+this.a+"'"));if(a=t.Ph(),u=jr(t.Dh(),this.e),ot(i)!==ot(a)||t.Fh()!=u&&i!=null){if(zy(t,l(i,58)))throw R(new Le(hT+t.Ib()));b=null,a&&(b=(c=t.Fh(),c>=0?t.Ah(b):t.Ph().Th(t,-1-c,null,b))),d=l(i,54),d&&(b=d.Rh(t,jr(d.Dh(),this.b),null,b)),b=t.Ch(d,u,b),b&&b.oj()}else t.vh()&&t.wh()&&tr(t,new _i(t,1,u,i,i))},"H7d"),h.Ek=n(function(t,e,r){var i,a,c,u;i=t.Ph(),i?(u=(a=t.Fh(),a>=0?t.Ah(null):t.Ph().Th(t,-1-a,null,null)),c=jr(t.Dh(),this.e),u=t.Ch(null,c,u),u&&u.oj()):t.vh()&&t.wh()&&tr(t,new v7(t,1,this.e,null,null))},"I7d"),h.bl=n(function(){return!1},"J7d");var SNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",784);C(1351,784,{},iCt),h.bl=n(function(){return!0},"L7d");var ENn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1351);C(574,512,{}),h.yk=n(function(t,e,r,i,a){var c;return c=e.li(r),c==null?this.b:ot(c)===ot(C0)?null:c},"O7d"),h.Bk=n(function(t,e,r){var i;return i=e.li(r),i!=null&&(ot(i)===ot(C0)||!er(i,this.b))},"P7d"),h.Ck=n(function(t,e,r,i){var a,c;t.vh()&&t.wh()?(a=(c=e.li(r),c==null?this.b:ot(c)===ot(C0)?null:c),i==null?this.c!=null?(e.mi(r,null),i=this.b):this.b!=null?e.mi(r,C0):e.mi(r,null):(this.Bl(i),e.mi(r,i)),tr(t,this.d.Cl(t,1,this.e,a,i))):i==null?this.c!=null?e.mi(r,null):this.b!=null?e.mi(r,C0):e.mi(r,null):(this.Bl(i),e.mi(r,i))},"Q7d"),h.Ek=n(function(t,e,r){var i,a;t.vh()&&t.wh()?(i=(a=e.li(r),a==null?this.b:ot(a)===ot(C0)?null:a),e.ni(r),tr(t,this.d.Cl(t,1,this.e,i,this.b))):e.ni(r)},"R7d"),h.Bl=n(function(t){throw R(new gvt)},"S7d");var BNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",574);C(s4,1,{},s2t),h.Cl=n(function(t,e,r,i,a){return new v7(t,e,r,i,a)},"c8d"),h.Dl=n(function(t,e,r,i,a,c){return new $I(t,e,r,i,a,c)},"d8d");var HZt,KZt,UZt,WZt,GZt,VZt,XZt,dlt,YZt,MNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",s4);C(1368,s4,{},c2t),h.Cl=n(function(t,e,r,i,a){return new oQ(t,e,r,jt(Dt(i)),jt(Dt(a)))},"f8d"),h.Dl=n(function(t,e,r,i,a,c){return new NEt(t,e,r,jt(Dt(i)),jt(Dt(a)),c)},"g8d");var ANn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1368);C(1369,s4,{},l2t),h.Cl=n(function(t,e,r,i,a){return new RQ(t,e,r,l(i,222).a,l(a,222).a)},"i8d"),h.Dl=n(function(t,e,r,i,a,c){return new FEt(t,e,r,l(i,222).a,l(a,222).a,c)},"j8d");var LNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1369);C(1370,s4,{},h2t),h.Cl=n(function(t,e,r,i,a){return new zQ(t,e,r,l(i,180).a,l(a,180).a)},"l8d"),h.Dl=n(function(t,e,r,i,a,c){return new OEt(t,e,r,l(i,180).a,l(a,180).a,c)},"m8d");var _Nn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1370);C(1371,s4,{},u2t),h.Cl=n(function(t,e,r,i,a){return new iQ(t,e,r,it(lt(i)),it(lt(a)))},"o8d"),h.Dl=n(function(t,e,r,i,a,c){return new DEt(t,e,r,it(lt(i)),it(lt(a)),c)},"p8d");var FNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1371);C(1372,s4,{},d2t),h.Cl=n(function(t,e,r,i,a){return new KQ(t,e,r,l(i,161).a,l(a,161).a)},"r8d"),h.Dl=n(function(t,e,r,i,a,c){return new jEt(t,e,r,l(i,161).a,l(a,161).a,c)},"s8d");var ONn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1372);C(1373,s4,{},f2t),h.Cl=n(function(t,e,r,i,a){return new aQ(t,e,r,l(i,17).a,l(a,17).a)},"u8d"),h.Dl=n(function(t,e,r,i,a,c){return new IEt(t,e,r,l(i,17).a,l(a,17).a,c)},"v8d");var DNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1373);C(1374,s4,{},b2t),h.Cl=n(function(t,e,r,i,a){return new qQ(t,e,r,l(i,168).a,l(a,168).a)},"x8d"),h.Dl=n(function(t,e,r,i,a,c){return new PEt(t,e,r,l(i,168).a,l(a,168).a,c)},"y8d");var jNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1374);C(1375,s4,{},g2t),h.Cl=n(function(t,e,r,i,a){return new HQ(t,e,r,l(i,191).a,l(a,191).a)},"A8d"),h.Dl=n(function(t,e,r,i,a,c){return new $Et(t,e,r,l(i,191).a,l(a,191).a,c)},"B8d");var INn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1375);C(1353,574,{},gSt),h.Bl=n(function(t){if(!this.a.fk(t))throw R(new B5(fz+Nc(t)+bz+this.a+"'"))},"D8d");var PNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1353);C(1354,574,{},nTt),h.Bl=n(function(t){},"F8d");var $Nn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1354);C(785,574,{}),h.Bk=n(function(t,e,r){var i;return i=e.li(r),i!=null},"G8d"),h.Ck=n(function(t,e,r,i){var a,c;t.vh()&&t.wh()?(a=!0,c=e.li(r),c==null?(a=!1,c=this.b):ot(c)===ot(C0)&&(c=null),i==null?this.c!=null?(e.mi(r,null),i=this.b):e.mi(r,C0):(this.Bl(i),e.mi(r,i)),tr(t,this.d.Dl(t,1,this.e,c,i,!a))):i==null?this.c!=null?e.mi(r,null):e.mi(r,C0):(this.Bl(i),e.mi(r,i))},"H8d"),h.Ek=n(function(t,e,r){var i,a;t.vh()&&t.wh()?(i=!0,a=e.li(r),a==null?(i=!1,a=this.b):ot(a)===ot(C0)&&(a=null),e.ni(r),tr(t,this.d.Dl(t,2,this.e,a,this.b,i))):e.ni(r)},"I8d");var NNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",785);C(1355,785,{},pSt),h.Bl=n(function(t){if(!this.a.fk(t))throw R(new B5(fz+Nc(t)+bz+this.a+"'"))},"K8d");var RNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1355);C(1356,785,{},rTt),h.Bl=n(function(t){},"M8d");var zNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1356);C(410,512,{},pM),h.yk=n(function(t,e,r,i,a){var c,u,d,b,w;if(w=e.li(r),this.tk()&&ot(w)===ot(C0))return null;if(this.bl()&&i&&w!=null){if(d=l(w,54),d.Vh()&&(b=Rd(t,d),d!=b)){if(!KN(this.a,b))throw R(new B5(fz+Nc(b)+bz+this.a+"'"));e.mi(r,w=b),this.al()&&(c=l(b,54),u=d.Th(t,this.b?jr(d.Dh(),this.b):-1-jr(t.Dh(),this.e),null,null),!c.Ph()&&(u=c.Rh(t,this.b?jr(c.Dh(),this.b):-1-jr(t.Dh(),this.e),null,u)),u&&u.oj()),t.vh()&&t.wh()&&tr(t,new v7(t,9,this.e,d,b))}return w}else return w},"P8d"),h.zk=n(function(t,e,r,i,a){var c,u;return u=e.li(r),ot(u)===ot(C0)&&(u=null),e.mi(r,i),this.Mj()?ot(u)!==ot(i)&&u!=null&&(c=l(u,54),a=c.Th(t,jr(c.Dh(),this.b),null,a)):this.al()&&u!=null&&(a=l(u,54).Th(t,-1-jr(t.Dh(),this.e),null,a)),t.vh()&&t.wh()&&(!a&&(a=new xd(4)),a.nj(new v7(t,1,this.e,u,i))),a},"Q8d"),h.Ak=n(function(t,e,r,i,a){var c;return c=e.li(r),ot(c)===ot(C0)&&(c=null),e.ni(r),t.vh()&&t.wh()&&(!a&&(a=new xd(4)),this.tk()?a.nj(new v7(t,2,this.e,c,null)):a.nj(new v7(t,1,this.e,c,null))),a},"R8d"),h.Bk=n(function(t,e,r){var i;return i=e.li(r),i!=null},"S8d"),h.Ck=n(function(t,e,r,i){var a,c,u,d,b;if(i!=null&&!KN(this.a,i))throw R(new B5(fz+(J(i,58)?ptt(l(i,58).Dh()):IQ(Nc(i)))+bz+this.a+"'"));b=e.li(r),d=b!=null,this.tk()&&ot(b)===ot(C0)&&(b=null),u=null,this.Mj()?ot(b)!==ot(i)&&(b!=null&&(a=l(b,54),u=a.Th(t,jr(a.Dh(),this.b),null,u)),i!=null&&(a=l(i,54),u=a.Rh(t,jr(a.Dh(),this.b),null,u))):this.al()&&ot(b)!==ot(i)&&(b!=null&&(u=l(b,54).Th(t,-1-jr(t.Dh(),this.e),null,u)),i!=null&&(u=l(i,54).Rh(t,-1-jr(t.Dh(),this.e),null,u))),i==null&&this.tk()?e.mi(r,C0):e.mi(r,i),t.vh()&&t.wh()?(c=new $I(t,1,this.e,b,i,this.tk()&&!d),u?(u.nj(c),u.oj()):tr(t,c)):u&&u.oj()},"T8d"),h.Ek=n(function(t,e,r){var i,a,c,u,d;d=e.li(r),u=d!=null,this.tk()&&ot(d)===ot(C0)&&(d=null),c=null,d!=null&&(this.Mj()?(i=l(d,54),c=i.Th(t,jr(i.Dh(),this.b),null,c)):this.al()&&(c=l(d,54).Th(t,-1-jr(t.Dh(),this.e),null,c))),e.ni(r),t.vh()&&t.wh()?(a=new $I(t,this.tk()?2:1,this.e,d,null,u),c?(c.nj(a),c.oj()):tr(t,a)):c&&c.oj()},"U8d"),h.Mj=n(function(){return!1},"V8d"),h.al=n(function(){return!1},"W8d"),h.bl=n(function(){return!1},"X8d"),h.tk=n(function(){return!1},"Y8d");var qNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",410);C(575,410,{},qj),h.al=n(function(){return!0},"$8d");var HNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",575);C(1359,575,{},ext),h.bl=n(function(){return!0},"a9d");var KNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1359);C(787,575,{},MV),h.tk=n(function(){return!0},"c9d");var UNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",787);C(1361,787,{},nxt),h.bl=n(function(){return!0},"e9d");var WNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1361);C(650,575,{},eI),h.Mj=n(function(){return!0},"g9d");var GNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",650);C(1360,650,{},aCt),h.bl=n(function(){return!0},"i9d");var VNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1360);C(788,650,{},bX),h.tk=n(function(){return!0},"k9d");var XNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",788);C(1362,788,{},oCt),h.bl=n(function(){return!0},"m9d");var YNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1362);C(651,410,{},AV),h.bl=n(function(){return!0},"o9d");var QNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",651);C(1363,651,{},rxt),h.tk=n(function(){return!0},"q9d");var JNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1363);C(789,651,{},dX),h.Mj=n(function(){return!0},"s9d");var ZNn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",789);C(1364,789,{},sCt),h.tk=n(function(){return!0},"u9d");var tRn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1364);C(1357,410,{},ixt),h.tk=n(function(){return!0},"w9d");var eRn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1357);C(786,410,{},fX),h.Mj=n(function(){return!0},"y9d");var nRn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",786);C(1358,786,{},cCt),h.tk=n(function(){return!0},"A9d");var rRn=S(Me,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1358);C(790,576,dz,hY),h.yl=n(function(t){return new hY(this.a,this.c,t)},"E9d"),h.md=n(function(){return this.b},"F9d"),h.zl=n(function(t,e,r){return Ope(this,t,this.b,r)},"G9d"),h.Al=n(function(t,e,r){return Dpe(this,t,this.b,r)},"H9d");var iRn=S(Me,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",790);C(1365,1,fat,ivt),h.Fk=n(function(t){return this.a},"J9d"),h.Qj=n(function(){return J(this.a,97)?l(this.a,97).Qj():!this.a.dc()},"K9d"),h.Wb=n(function(t){this.a.$b(),this.a.Gc(l(t,15))},"L9d"),h.Gk=n(function(){J(this.a,97)?l(this.a,97).Gk():this.a.$b()},"M9d");var aRn=S(Me,"EStructuralFeatureImpl/SettingMany",1365);C(1366,576,dz,LBt),h.xl=n(function(t){return new Uj((gr(),_S),this.b.ri(this.a,t))},"O9d"),h.md=n(function(){return null},"P9d"),h.zl=n(function(t,e,r){return r},"Q9d"),h.Al=n(function(t,e,r){return r},"R9d");var oRn=S(Me,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1366);C(652,576,dz,Uj),h.xl=n(function(t){return new Uj(this.c,t)},"T9d"),h.md=n(function(){return this.a},"U9d"),h.zl=n(function(t,e,r){return r},"V9d"),h.Al=n(function(t,e,r){return r},"W9d");var sRn=S(Me,"EStructuralFeatureImpl/SimpleFeatureMapEntry",652);C(403,506,M1,y5),h.aj=n(function(t){return ht(Sh,xe,29,t,0,1)},"Y9d"),h.Yi=n(function(){return!1},"Z9d");var cRn=S(Me,"ESuperAdapter/1",403);C(457,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,850:1,54:1,99:1,158:1,457:1,119:1,120:1},rD),h.Lh=n(function(t,e,r){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new p7(this,Ha,this)),this.a}return fl(this,t-Ze((he(),q2)),we((i=l(Ae(this,16),29),i||q2),t),e,r)},"aae"),h.Uh=n(function(t,e,r){var i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),ma(this.Ab,t,r);case 2:return!this.a&&(this.a=new p7(this,Ha,this)),ma(this.a,t,r)}return a=l(we((i=l(Ae(this,16),29),i||(he(),q2)),e),69),a.wk().Ak(this,Bs(this),e-Ze((he(),q2)),t,r)},"bae"),h.Wh=n(function(t){var e;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!!this.a&&this.a.i!=0}return ul(this,t-Ze((he(),q2)),we((e=l(Ae(this,16),29),e||q2),t))},"cae"),h.bi=n(function(t,e){var r;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab),!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),Wr(this.Ab,l(e,16));return;case 1:us(this,En(e));return;case 2:!this.a&&(this.a=new p7(this,Ha,this)),dn(this.a),!this.a&&(this.a=new p7(this,Ha,this)),Wr(this.a,l(e,16));return}wl(this,t-Ze((he(),q2)),we((r=l(Ae(this,16),29),r||q2),t),e)},"dae"),h.ii=n(function(){return he(),q2},"eae"),h.ki=n(function(t){var e;switch(t){case 0:!this.Ab&&(this.Ab=new pt(Rn,this,0,3)),dn(this.Ab);return;case 1:us(this,null);return;case 2:!this.a&&(this.a=new p7(this,Ha,this)),dn(this.a);return}pl(this,t-Ze((he(),q2)),we((e=l(Ae(this,16),29),e||q2),t))},"fae");var lRn=S(Me,"ETypeParameterImpl",457);C(458,83,So,p7),h.Nj=n(function(t,e){return V6e(this,l(t,89),e)},"jae"),h.Oj=n(function(t,e){return X6e(this,l(t,89),e)},"kae");var hRn=S(Me,"ETypeParameterImpl/1",458);C(647,45,Q3,SD),h.ec=n(function(){return new HE(this)},"mae");var uRn=S(Me,"ETypeParameterImpl/2",647);C(570,Ku,gc,HE),h.Fc=n(function(t){return Lxt(this,l(t,89))},"qae"),h.Gc=n(function(t){var e,r,i;for(i=!1,r=t.Kc();r.Ob();)e=l(r.Pb(),89),Hn(this.a,e,"")==null&&(i=!0);return i},"rae"),h.$b=n(function(){lc(this.a)},"sae"),h.Hc=n(function(t){return xs(this.a,t)},"tae"),h.Kc=n(function(){var t;return t=new Kf(new Ef(this.a).a),new KE(t)},"uae"),h.Mc=n(function(t){return vMt(this,t)},"vae"),h.gc=n(function(){return I6(this.a)},"wae");var dRn=S(Me,"ETypeParameterImpl/2/1",570);C(571,1,zi,KE),h.Nb=n(function(t){Yi(this,t)},"yae"),h.Pb=n(function(){return l(kg(this.a).ld(),89)},"Aae"),h.Ob=n(function(){return this.a.b},"zae"),h.Qb=n(function(){AAt(this.a)},"Bae");var fRn=S(Me,"ETypeParameterImpl/2/1/1",571);C(1329,45,Q3,Vvt),h._b=n(function(t){return Oi(t)?RI(this,t):!!_a(this.f,t)},"Dae"),h.xc=n(function(t){var e,r;return e=Oi(t)?Cs(this,t):eo(_a(this.f,t)),J(e,851)?(r=l(e,851),e=r.Kk(),Hn(this,l(t,241),e),e):e??(t==null?(KD(),JUe):null)},"Eae");var bRn=S(Me,"EValidatorRegistryImpl",1329);C(1349,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,2040:1,54:1,99:1,158:1,119:1,120:1},p2t),h.ri=n(function(t,e){switch(t.hk()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return e==null?null:bo(e);case 25:return U2e(e);case 27:return a2e(e);case 28:return o2e(e);case 29:return e==null?null:o9t(SS[0],l(e,206));case 41:return e==null?"":Af(l(e,297));case 42:return bo(e);case 50:return En(e);default:throw R(new Le(X8+t.xe()+y2))}},"Nae"),h.si=n(function(t){var e,r,i,a,c,u,d,b,w,m,x,E,A,_,D,I;switch(t.G==-1&&(t.G=(E=Yc(t),E?Z0(E.vi(),t):-1)),t.G){case 0:return r=new xD,r;case 1:return e=new LU,e;case 2:return i=new DU,i;case 4:return a=new UE,a;case 5:return c=new Gvt,c;case 6:return u=new mvt,u;case 7:return d=new jU,d;case 10:return w=new DE,w;case 11:return m=new CD,m;case 12:return x=new TSt,x;case 13:return A=new TD,A;case 14:return _=new FV,_;case 17:return D=new o2t,D;case 18:return b=new $b,b;case 19:return I=new rD,I;default:throw R(new Le(Qit+t.zb+y2))}},"Oae"),h.ti=n(function(t,e){switch(t.hk()){case 20:return e==null?null:new eG(e);case 21:return e==null?null:new Bd(e);case 23:case 22:return e==null?null:i5e(e);case 26:case 24:return e==null?null:Nx(el(e,-128,127)<<24>>24);case 25:return C9e(e);case 27:return Uye(e);case 28:return Wye(e);case 29:return g7e(e);case 32:case 31:return e==null?null:r2(e);case 38:case 37:return e==null?null:new mW(e);case 40:case 39:return e==null?null:Et(el(e,da,nr));case 41:return null;case 42:return e==null,null;case 44:case 43:return e==null?null:r0(e_(e));case 49:case 48:return e==null?null:_y(el(e,gz,32767)<<16>>16);case 50:return e;default:throw R(new Le(X8+t.xe()+y2))}},"Pae");var gRn=S(Me,"EcoreFactoryImpl",1349);C(560,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,2038:1,54:1,99:1,158:1,184:1,560:1,119:1,120:1,690:1},VTt),h.gb=!1,h.hb=!1;var QZt,QUe=!1,pRn=S(Me,"EcorePackageImpl",560);C(1234,1,{851:1},w2t),h.Kk=n(function(){return y9t(),ZUe},"dbe");var wRn=S(Me,"EcorePackageImpl/1",1234);C(1243,1,Wn,m2t),h.fk=n(function(t){return J(t,155)},"fbe"),h.gk=n(function(t){return ht(VF,xe,155,t,0,1)},"gbe");var mRn=S(Me,"EcorePackageImpl/10",1243);C(1244,1,Wn,y2t),h.fk=n(function(t){return J(t,197)},"ibe"),h.gk=n(function(t){return ht(rlt,xe,197,t,0,1)},"jbe");var yRn=S(Me,"EcorePackageImpl/11",1244);C(1245,1,Wn,v2t),h.fk=n(function(t){return J(t,58)},"lbe"),h.gk=n(function(t){return ht(xb,xe,58,t,0,1)},"mbe");var vRn=S(Me,"EcorePackageImpl/12",1245);C(1246,1,Wn,k2t),h.fk=n(function(t){return J(t,411)},"obe"),h.gk=n(function(t){return ht(Eh,zKt,62,t,0,1)},"pbe");var kRn=S(Me,"EcorePackageImpl/13",1246);C(1247,1,Wn,x2t),h.fk=n(function(t){return J(t,241)},"rbe"),h.gk=n(function(t){return ht(Tu,xe,241,t,0,1)},"sbe");var xRn=S(Me,"EcorePackageImpl/14",1247);C(1248,1,Wn,C2t),h.fk=n(function(t){return J(t,518)},"ube"),h.gk=n(function(t){return ht(R2,xe,2116,t,0,1)},"vbe");var CRn=S(Me,"EcorePackageImpl/15",1248);C(1249,1,Wn,T2t),h.fk=n(function(t){return J(t,102)},"xbe"),h.gk=n(function(t){return ht(Fm,o4,19,t,0,1)},"ybe");var TRn=S(Me,"EcorePackageImpl/16",1249);C(1250,1,Wn,S2t),h.fk=n(function(t){return J(t,179)},"Abe"),h.gk=n(function(t){return ht(ac,o4,179,t,0,1)},"Bbe");var SRn=S(Me,"EcorePackageImpl/17",1250);C(1251,1,Wn,E2t),h.fk=n(function(t){return J(t,481)},"Dbe"),h.gk=n(function(t){return ht(Lm,xe,481,t,0,1)},"Ebe");var ERn=S(Me,"EcorePackageImpl/18",1251);C(1252,1,Wn,B2t),h.fk=n(function(t){return J(t,561)},"Gbe"),h.gk=n(function(t){return ht(zo,JOe,561,t,0,1)},"Hbe");var BRn=S(Me,"EcorePackageImpl/19",1252);C(1235,1,Wn,M2t),h.fk=n(function(t){return J(t,331)},"Jbe"),h.gk=n(function(t){return ht(_m,o4,35,t,0,1)},"Kbe");var MRn=S(Me,"EcorePackageImpl/2",1235);C(1253,1,Wn,A2t),h.fk=n(function(t){return J(t,248)},"Mbe"),h.gk=n(function(t){return ht(Ha,gDe,89,t,0,1)},"Nbe");var ARn=S(Me,"EcorePackageImpl/20",1253);C(1254,1,Wn,L2t),h.fk=n(function(t){return J(t,457)},"Pbe"),h.gk=n(function(t){return ht(Us,xe,850,t,0,1)},"Qbe");var LRn=S(Me,"EcorePackageImpl/21",1254);C(1255,1,Wn,_2t),h.fk=n(function(t){return Ap(t)},"Sbe"),h.gk=n(function(t){return ht(ti,Tt,485,t,8,1)},"Tbe");var _Rn=S(Me,"EcorePackageImpl/22",1255);C(1256,1,Wn,F2t),h.fk=n(function(t){return J(t,195)},"Vbe"),h.gk=n(function(t){return ht(yc,Tt,195,t,0,2)},"Wbe");var FRn=S(Me,"EcorePackageImpl/23",1256);C(1257,1,Wn,O2t),h.fk=n(function(t){return J(t,222)},"Ybe"),h.gk=n(function(t){return ht(mv,Tt,222,t,0,1)},"Zbe");var ORn=S(Me,"EcorePackageImpl/24",1257);C(1258,1,Wn,D2t),h.fk=n(function(t){return J(t,180)},"_be"),h.gk=n(function(t){return ht(xT,Tt,180,t,0,1)},"ace");var DRn=S(Me,"EcorePackageImpl/25",1258);C(1259,1,Wn,j2t),h.fk=n(function(t){return J(t,206)},"cce"),h.gk=n(function(t){return ht(Sz,Tt,206,t,0,1)},"dce");var jRn=S(Me,"EcorePackageImpl/26",1259);C(1260,1,Wn,I2t),h.fk=n(function(t){return!1},"fce"),h.gk=n(function(t){return ht(pte,xe,2215,t,0,1)},"gce");var IRn=S(Me,"EcorePackageImpl/27",1260);C(1261,1,Wn,P2t),h.fk=n(function(t){return Lp(t)},"ice"),h.gk=n(function(t){return ht(wi,Tt,345,t,7,1)},"jce");var PRn=S(Me,"EcorePackageImpl/28",1261);C(1262,1,Wn,$2t),h.fk=n(function(t){return J(t,61)},"lce"),h.gk=n(function(t){return ht(LZt,Qw,61,t,0,1)},"mce");var $Rn=S(Me,"EcorePackageImpl/29",1262);C(1236,1,Wn,N2t),h.fk=n(function(t){return J(t,519)},"oce"),h.gk=n(function(t){return ht(Rn,{3:1,4:1,5:1,2033:1},598,t,0,1)},"pce");var NRn=S(Me,"EcorePackageImpl/3",1236);C(1263,1,Wn,R2t),h.fk=n(function(t){return J(t,582)},"rce"),h.gk=n(function(t){return ht(OZt,xe,2039,t,0,1)},"sce");var RRn=S(Me,"EcorePackageImpl/30",1263);C(1264,1,Wn,z2t),h.fk=n(function(t){return J(t,160)},"uce"),h.gk=n(function(t){return ht(nte,Qw,160,t,0,1)},"vce");var zRn=S(Me,"EcorePackageImpl/31",1264);C(1265,1,Wn,q2t),h.fk=n(function(t){return J(t,76)},"xce"),h.gk=n(function(t){return ht(qH,TDe,76,t,0,1)},"yce");var qRn=S(Me,"EcorePackageImpl/32",1265);C(1266,1,Wn,H2t),h.fk=n(function(t){return J(t,161)},"Ace"),h.gk=n(function(t){return ht(nk,Tt,161,t,0,1)},"Bce");var HRn=S(Me,"EcorePackageImpl/33",1266);C(1267,1,Wn,K2t),h.fk=n(function(t){return J(t,17)},"Dce"),h.gk=n(function(t){return ht(ia,Tt,17,t,0,1)},"Ece");var KRn=S(Me,"EcorePackageImpl/34",1267);C(1268,1,Wn,U2t),h.fk=n(function(t){return J(t,297)},"Gce"),h.gk=n(function(t){return ht(tUt,xe,297,t,0,1)},"Hce");var URn=S(Me,"EcorePackageImpl/35",1268);C(1269,1,Wn,W2t),h.fk=n(function(t){return J(t,168)},"Jce"),h.gk=n(function(t){return ht(k2,Tt,168,t,0,1)},"Kce");var WRn=S(Me,"EcorePackageImpl/36",1269);C(1270,1,Wn,G2t),h.fk=n(function(t){return J(t,85)},"Mce"),h.gk=n(function(t){return ht(eUt,xe,85,t,0,1)},"Nce");var GRn=S(Me,"EcorePackageImpl/37",1270);C(1271,1,Wn,V2t),h.fk=n(function(t){return J(t,599)},"Pce"),h.gk=n(function(t){return ht(JZt,xe,599,t,0,1)},"Qce");var VRn=S(Me,"EcorePackageImpl/38",1271);C(1272,1,Wn,X2t),h.fk=n(function(t){return!1},"Sce"),h.gk=n(function(t){return ht(wte,xe,2216,t,0,1)},"Tce");var XRn=S(Me,"EcorePackageImpl/39",1272);C(1237,1,Wn,Y2t),h.fk=n(function(t){return J(t,90)},"Vce"),h.gk=n(function(t){return ht(Sh,xe,29,t,0,1)},"Wce");var YRn=S(Me,"EcorePackageImpl/4",1237);C(1273,1,Wn,Q2t),h.fk=n(function(t){return J(t,191)},"Yce"),h.gk=n(function(t){return ht(x2,Tt,191,t,0,1)},"Zce");var QRn=S(Me,"EcorePackageImpl/40",1273);C(1274,1,Wn,J2t),h.fk=n(function(t){return Oi(t)},"_ce"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"ade");var JRn=S(Me,"EcorePackageImpl/41",1274);C(1275,1,Wn,Z2t),h.fk=n(function(t){return J(t,596)},"cde"),h.gk=n(function(t){return ht(FZt,xe,596,t,0,1)},"dde");var ZRn=S(Me,"EcorePackageImpl/42",1275);C(1276,1,Wn,twt),h.fk=n(function(t){return!1},"fde"),h.gk=n(function(t){return ht(mte,Tt,2217,t,0,1)},"gde");var tzn=S(Me,"EcorePackageImpl/43",1276);C(1277,1,Wn,ewt),h.fk=n(function(t){return J(t,44)},"ide"),h.gk=n(function(t){return ht(Wg,fR,44,t,0,1)},"jde");var ezn=S(Me,"EcorePackageImpl/44",1277);C(1238,1,Wn,nwt),h.fk=n(function(t){return J(t,142)},"lde"),h.gk=n(function(t){return ht(Su,xe,142,t,0,1)},"mde");var nzn=S(Me,"EcorePackageImpl/5",1238);C(1239,1,Wn,rwt),h.fk=n(function(t){return J(t,156)},"ode"),h.gk=n(function(t){return ht(llt,xe,156,t,0,1)},"pde");var rzn=S(Me,"EcorePackageImpl/6",1239);C(1240,1,Wn,iwt),h.fk=n(function(t){return J(t,469)},"rde"),h.gk=n(function(t){return ht(zH,xe,685,t,0,1)},"sde");var izn=S(Me,"EcorePackageImpl/7",1240);C(1241,1,Wn,awt),h.fk=n(function(t){return J(t,582)},"ude"),h.gk=n(function(t){return ht(dd,xe,694,t,0,1)},"vde");var azn=S(Me,"EcorePackageImpl/8",1241);C(1242,1,Wn,owt),h.fk=n(function(t){return J(t,480)},"xde"),h.gk=n(function(t){return ht(TS,xe,480,t,0,1)},"yde");var ozn=S(Me,"EcorePackageImpl/9",1242);C(1038,2080,QOe,g6t),h.Mi=n(function(t,e){O3e(this,l(e,424))},"Dde"),h.Qi=n(function(t,e){hIt(this,t,l(e,424))},"Ede");var szn=S(Me,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1038);C(1039,152,D_,$Tt),h.jj=n(function(){return this.a.a},"Gde");var czn=S(Me,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1039);C(1067,1066,{},Qkt);var lzn=S("org.eclipse.emf.ecore.plugin","EcorePlugin",1067),JZt=Rr(SDe,"Resource");C(799,1524,EDe),h.Hl=n(function(t){},"Mde"),h.Il=n(function(t){},"Nde"),h.El=n(function(){return!this.a&&(this.a=new pD(this)),this.a},"Ode"),h.Fl=n(function(t){var e,r,i,a,c;if(i=t.length,i>0)if(_e(0,t.length),t.charCodeAt(0)==47){for(c=new hs(4),a=1,e=1;e0&&(t=(Gi(0,r,t.length),t.substr(0,r))));return cke(this,t)},"Pde"),h.Gl=n(function(){return this.c},"Qde"),h.Ib=n(function(){var t;return Af(this.Rm)+"@"+(t=kr(this)>>>0,t.toString(16))+" uri='"+this.d+"'"},"Rde"),h.b=!1;var hzn=S(bat,"ResourceImpl",799);C(1525,799,EDe,avt);var uzn=S(bat,"BinaryResourceImpl",1525);C(1190,708,cat),h.bj=n(function(t){return J(t,58)?Zde(this,l(t,58)):J(t,599)?new ze(l(t,599).El()):ot(t)===ot(this.f)?l(t,16).Kc():(z5(),QF.a)},"Vde"),h.Ob=n(function(){return uet(this)},"Wde"),h.a=!1;var dzn=S(Fr,"EcoreUtil/ContentTreeIterator",1190);C(1526,1190,cat,bTt),h.bj=n(function(t){return ot(t)===ot(this.f)?l(t,15).Kc():new uBt(l(t,58))},"Yde");var fzn=S(bat,"ResourceImpl/5",1526);C(658,2092,bDe,pD),h.Hc=n(function(t){return this.i<=4?Hy(this,t):J(t,54)&&l(t,54).Jh()==this.a},"$de"),h.Mi=n(function(t,e){t==this.i-1&&(this.a.b||(this.a.b=!0))},"_de"),h.Oi=n(function(t,e){t==0?this.a.b||(this.a.b=!0):gP(this,t,e)},"aee"),h.Qi=n(function(t,e){},"bee"),h.Ri=n(function(t,e,r){},"cee"),h.Lj=n(function(){return 2},"dee"),h.jj=n(function(){return this.a},"eee"),h.Mj=n(function(){return!0},"fee"),h.Nj=n(function(t,e){var r;return r=l(t,54),e=r.fi(this.a,e),e},"gee"),h.Oj=n(function(t,e){var r;return r=l(t,54),r.fi(null,e)},"hee"),h.Pj=n(function(){return!1},"iee"),h.Si=n(function(){return!0},"jee"),h.aj=n(function(t){return ht(xb,xe,58,t,0,1)},"kee"),h.Yi=n(function(){return!1},"lee");var bzn=S(bat,"ResourceImpl/ContentsEList",658);C(970,2062,O8,ovt),h.fd=n(function(t){return this.a.Ki(t)},"nee"),h.gc=n(function(){return this.a.gc()},"oee");var gzn=S(Fr,"AbstractSequentialInternalEList/1",970),ZZt,tte,aa,ete;C(634,1,{},pCt);var HH,KH,pzn=S(Fr,"BasicExtendedMetaData",634);C(1181,1,{},wkt),h.Jl=n(function(){return null},"bfe"),h.Kl=n(function(){return this.a==-2&&Oae(this,c7e(this.d,this.b)),this.a},"cfe"),h.Ll=n(function(){return null},"dfe"),h.Ml=n(function(){return de(),de(),Ba},"efe"),h.xe=n(function(){return this.c==J8&&Dae(this,DOt(this.d,this.b)),this.c},"ffe"),h.Nl=n(function(){return 0},"gfe"),h.a=-2,h.c=J8;var wzn=S(Fr,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1181);C(1182,1,{},zEt),h.Jl=n(function(){return this.a==(iy(),HH)&&Pae(this,sTe(this.f,this.b)),this.a},"nfe"),h.Kl=n(function(){return 0},"ofe"),h.Ll=n(function(){return this.c==(iy(),HH)&&jae(this,cTe(this.f,this.b)),this.c},"pfe"),h.Ml=n(function(){return!this.d&&Nae(this,GSe(this.f,this.b)),this.d},"qfe"),h.xe=n(function(){return this.e==J8&&zae(this,DOt(this.f,this.b)),this.e},"rfe"),h.Nl=n(function(){return this.g==-2&&Hae(this,B6e(this.f,this.b)),this.g},"sfe"),h.e=J8,h.g=-2;var mzn=S(Fr,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1182);C(1180,1,{},mkt),h.b=!1,h.c=!1;var yzn=S(Fr,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1180);C(1183,1,{},qEt),h.c=-2,h.e=J8,h.f=J8;var vzn=S(Fr,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1183);C(593,632,So,oM),h.Lj=n(function(){return this.c},"Lfe"),h.ol=n(function(){return!1},"Mfe"),h.Wi=n(function(t,e){return e},"Nfe"),h.c=0;var kzn=S(Fr,"EDataTypeEList",593),nte=Rr(Fr,"FeatureMap");C(78,593,{3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},Gr),h.bd=n(function(t,e){Exe(this,t,l(e,76))},"Vge"),h.Fc=n(function(t){return K9e(this,l(t,76))},"Wge"),h.Hi=n(function(t){Y0e(this,l(t,76))},"_ge"),h.Nj=n(function(t,e){return whe(this,l(t,76),e)},"khe"),h.Oj=n(function(t,e){return nX(this,l(t,76),e)},"lhe"),h.Ti=n(function(t,e){return QTe(this,t,e)},"nhe"),h.Wi=n(function(t,e){return NBe(this,t,l(e,76))},"phe"),h.hd=n(function(t,e){return fCe(this,t,l(e,76))},"rhe"),h.Uj=n(function(t,e){return mhe(this,l(t,76),e)},"vhe"),h.Vj=n(function(t,e){return Uxt(this,l(t,76),e)},"whe"),h.Wj=n(function(t,e,r){return b6e(this,l(t,76),l(e,76),r)},"xhe"),h.Zi=n(function(t,e){return lN(this,t,l(e,76))},"zhe"),h.Ol=n(function(t,e){return rnt(this,t,e)},"Xge"),h.cd=n(function(t,e){var r,i,a,c,u,d,b,w,m;for(w=new pg(e.gc()),a=e.Kc();a.Ob();)if(i=l(a.Pb(),76),c=i.Lk(),o0(this.e,c))(!c.Si()||!YM(this,c,i.md())&&!Hy(w,i))&&bn(w,i);else{for(m=Ms(this.e.Dh(),c),r=l(this.g,124),u=!0,d=0;d=0;)if(e=t[this.c],this.k.am(e.Lk()))return this.j=this.f?e:e.md(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},"Rhe");var Tzn=S(Fr,"BasicFeatureMap/FeatureEIterator",420);C(676,420,s0,Ej),h.ul=n(function(){return!0},"The");var Szn=S(Fr,"BasicFeatureMap/ResolvingFeatureEIterator",676);C(968,496,hz,s9t),h.pj=n(function(){return this},"Vhe");var Ezn=S(Fr,"EContentsEList/1",968);C(969,496,hz,_kt),h.ul=n(function(){return!1},"Xhe");var Bzn=S(Fr,"EContentsEList/2",969);C(967,287,uz,c9t),h.wl=n(function(t){},"Zhe"),h.Ob=n(function(){return!1},"$he"),h.Sb=n(function(){return!1},"_he");var Mzn=S(Fr,"EContentsEList/FeatureIteratorImpl/1",967);C(840,593,So,hV),h.Ni=n(function(){this.a=!0},"bie"),h.Qj=n(function(){return this.a},"cie"),h.Gk=n(function(){var t;dn(this),Dc(this.e)?(t=this.a,this.a=!1,tr(this.e,new hh(this.e,2,this.c,t,!1))):this.a=!1},"die"),h.a=!1;var Azn=S(Fr,"EDataTypeEList/Unsettable",840);C(1958,593,So,g9t),h.Si=n(function(){return!0},"fie");var Lzn=S(Fr,"EDataTypeUniqueEList",1958);C(1959,840,So,p9t),h.Si=n(function(){return!0},"hie");var _zn=S(Fr,"EDataTypeUniqueEList/Unsettable",1959);C(147,83,So,Xs),h.nl=n(function(){return!0},"jie"),h.Wi=n(function(t,e){return X3(this,t,l(e,58))},"kie");var Fzn=S(Fr,"EObjectContainmentEList/Resolving",147);C(1184,555,So,w9t),h.nl=n(function(){return!0},"mie"),h.Wi=n(function(t,e){return X3(this,t,l(e,58))},"nie");var Ozn=S(Fr,"EObjectContainmentEList/Unsettable/Resolving",1184);C(766,14,So,XV),h.Ni=n(function(){this.a=!0},"pie"),h.Qj=n(function(){return this.a},"qie"),h.Gk=n(function(){var t;dn(this),Dc(this.e)?(t=this.a,this.a=!1,tr(this.e,new hh(this.e,2,this.c,t,!1))):this.a=!1},"rie"),h.a=!1;var Dzn=S(Fr,"EObjectContainmentWithInverseEList/Unsettable",766);C(1222,766,So,_xt),h.nl=n(function(){return!0},"tie"),h.Wi=n(function(t,e){return X3(this,t,l(e,58))},"uie");var jzn=S(Fr,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1222);C(757,505,So,uV),h.Ni=n(function(){this.a=!0},"wie"),h.Qj=n(function(){return this.a},"xie"),h.Gk=n(function(){var t;dn(this),Dc(this.e)?(t=this.a,this.a=!1,tr(this.e,new hh(this.e,2,this.c,t,!1))):this.a=!1},"yie"),h.a=!1;var Izn=S(Fr,"EObjectEList/Unsettable",757);C(338,505,So,ww),h.nl=n(function(){return!0},"Aie"),h.Wi=n(function(t,e){return X3(this,t,l(e,58))},"Bie");var Pzn=S(Fr,"EObjectResolvingEList",338);C(1844,757,So,m9t),h.nl=n(function(){return!0},"Die"),h.Wi=n(function(t,e){return X3(this,t,l(e,58))},"Eie");var $zn=S(Fr,"EObjectResolvingEList/Unsettable",1844);C(1527,1,{},swt);var JUe,Nzn=S(Fr,"EObjectValidator",1527);C(559,505,So,CM),h.il=n(function(){return this.d},"Jie"),h.jl=n(function(){return this.b},"Kie"),h.Mj=n(function(){return!0},"Lie"),h.ml=n(function(){return!0},"Mie"),h.b=0;var Rzn=S(Fr,"EObjectWithInverseEList",559);C(1225,559,So,Fxt),h.ll=n(function(){return!0},"Oie");var zzn=S(Fr,"EObjectWithInverseEList/ManyInverse",1225);C(635,559,So,Gj),h.Ni=n(function(){this.a=!0},"Qie"),h.Qj=n(function(){return this.a},"Rie"),h.Gk=n(function(){var t;dn(this),Dc(this.e)?(t=this.a,this.a=!1,tr(this.e,new hh(this.e,2,this.c,t,!1))):this.a=!1},"Sie"),h.a=!1;var qzn=S(Fr,"EObjectWithInverseEList/Unsettable",635);C(1224,635,So,Oxt),h.ll=n(function(){return!0},"Uie");var Hzn=S(Fr,"EObjectWithInverseEList/Unsettable/ManyInverse",1224);C(767,559,So,YV),h.nl=n(function(){return!0},"Wie"),h.Wi=n(function(t,e){return X3(this,t,l(e,58))},"Xie");var Kzn=S(Fr,"EObjectWithInverseResolvingEList",767);C(32,767,So,pe),h.ll=n(function(){return!0},"Zie");var Uzn=S(Fr,"EObjectWithInverseResolvingEList/ManyInverse",32);C(768,635,So,QV),h.nl=n(function(){return!0},"_ie"),h.Wi=n(function(t,e){return X3(this,t,l(e,58))},"aje");var Wzn=S(Fr,"EObjectWithInverseResolvingEList/Unsettable",768);C(1223,768,So,Dxt),h.ll=n(function(){return!0},"cje");var Gzn=S(Fr,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1223);C(1185,632,So),h.Li=n(function(){return(this.b&1792)==0},"dje"),h.Ni=n(function(){this.b|=1},"eje"),h.kl=n(function(){return(this.b&4)!=0},"fje"),h.Mj=n(function(){return(this.b&40)!=0},"gje"),h.ll=n(function(){return(this.b&16)!=0},"hje"),h.ml=n(function(){return(this.b&8)!=0},"ije"),h.nl=n(function(){return(this.b&rm)!=0},"jje"),h.al=n(function(){return(this.b&32)!=0},"kje"),h.ol=n(function(){return(this.b&qh)!=0},"lje"),h.fk=n(function(t){return this.d?vBt(this.d,t):this.Lk().Hk().fk(t)},"mje"),h.Qj=n(function(){return(this.b&2)!=0?(this.b&1)!=0:this.i!=0},"nje"),h.Si=n(function(){return(this.b&128)!=0},"oje"),h.Gk=n(function(){var t;dn(this),(this.b&2)!=0&&(Dc(this.e)?(t=(this.b&1)!=0,this.b&=-2,E5(this,new hh(this.e,2,jr(this.e.Dh(),this.Lk()),t,!1))):this.b&=-2)},"qje"),h.Yi=n(function(){return(this.b&1536)==0},"rje"),h.b=0;var Vzn=S(Fr,"EcoreEList/Generic",1185);C(1186,1185,So,ESt),h.Lk=n(function(){return this.a},"tje");var Xzn=S(Fr,"EcoreEList/Dynamic",1186);C(765,66,M1,dW),h.aj=n(function(t){return Hx(this.a.a,t)},"vje");var Yzn=S(Fr,"EcoreEMap/1",765);C(764,83,So,XX),h.Mi=n(function(t,e){gL(this.b,l(e,136))},"xje"),h.Oi=n(function(t,e){C_t(this.b)},"yje"),h.Pi=n(function(t,e,r){var i;++(i=this.b,l(e,136),i).e},"zje"),h.Qi=n(function(t,e){m$(this.b,l(e,136))},"Aje"),h.Ri=n(function(t,e,r){m$(this.b,l(r,136)),ot(r)===ot(e)&&l(r,136).Ci(gce(l(e,136).ld())),gL(this.b,l(e,136))},"Bje");var Qzn=S(Fr,"EcoreEMap/DelegateEObjectContainmentEList",764);C(1220,141,RKt,RLt);var Jzn=S(Fr,"EcoreEMap/Unsettable",1220);C(1221,764,So,jxt),h.Ni=n(function(){this.a=!0},"Eje"),h.Qj=n(function(){return this.a},"Fje"),h.Gk=n(function(){var t;dn(this),Dc(this.e)?(t=this.a,this.a=!1,tr(this.e,new hh(this.e,2,this.c,t,!1))):this.a=!1},"Gje"),h.a=!1;var Zzn=S(Fr,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1221);C(1189,215,Q3,BTt),h.a=!1,h.b=!1;var tqn=S(Fr,"EcoreUtil/Copier",1189);C(759,1,zi,uBt),h.Nb=n(function(t){Yi(this,t)},"ake"),h.Ob=n(function(){return yOt(this)},"bke"),h.Pb=n(function(){var t;return yOt(this),t=this.b,this.b=null,t},"cke"),h.Qb=n(function(){this.a.Qb()},"dke");var eqn=S(Fr,"EcoreUtil/ProperContentIterator",759);C(1528,1527,{},s3t);var ZUe,nqn=S(Fr,"EcoreValidator",1528),tWe,rqn=Rr(Fr,"FeatureMapUtil/Validator");C(1295,1,{2041:1},cwt),h.am=n(function(t){return!0},"ske");var iqn=S(Fr,"FeatureMapUtil/1",1295);C(773,1,{2041:1},_nt),h.am=n(function(t){var e;return this.c==t?!0:(e=Dt(He(this.a,t)),e==null?bTe(this,t)?(uMt(this.a,t,(Se(),ek)),!0):(uMt(this.a,t,(Se(),sb)),!1):e==(Se(),ek))},"xke"),h.e=!1;var flt,aqn=S(Fr,"FeatureMapUtil/BasicValidator",773);C(774,45,Q3,cV);var oqn=S(Fr,"FeatureMapUtil/BasicValidator/Cache",774);C(509,56,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,71:1,97:1},G9),h.bd=n(function(t,e){t$t(this.c,this.b,t,e)},"Fke"),h.Fc=n(function(t){return rnt(this.c,this.b,t)},"Gke"),h.cd=n(function(t,e){return IEe(this.c,this.b,t,e)},"Hke"),h.Gc=n(function(t){return s7(this,t)},"Ike"),h.Gi=n(function(t,e){L2e(this.c,this.b,t,e)},"Jke"),h.Wk=n(function(t,e){return Xet(this.c,this.b,t,e)},"Kke"),h.$i=n(function(t){return YL(this.c,this.b,t,!1)},"Lke"),h.Ii=n(function(){return Hkt(this.c,this.b)},"Mke"),h.Ji=n(function(){return nce(this.c,this.b)},"Nke"),h.Ki=n(function(t){return jpe(this.c,this.b,t)},"Oke"),h.Xk=n(function(t,e){return bxt(this,t,e)},"Pke"),h.$b=n(function(){Zm(this)},"Qke"),h.Hc=n(function(t){return YM(this.c,this.b,t)},"Rke"),h.Ic=n(function(t){return Dwe(this.c,this.b,t)},"Ske"),h.Xb=n(function(t){return YL(this.c,this.b,t,!0)},"Tke"),h.Fk=n(function(t){return this},"Uke"),h.dd=n(function(t){return qge(this.c,this.b,t)},"Vke"),h.dc=n(function(){return jB(this)},"Wke"),h.Qj=n(function(){return!hC(this.c,this.b)},"Xke"),h.Kc=n(function(){return v2e(this.c,this.b)},"Yke"),h.ed=n(function(){return k2e(this.c,this.b)},"Zke"),h.fd=n(function(t){return J3e(this.c,this.b,t)},"$ke"),h.Ti=n(function(t,e){return gNt(this.c,this.b,t,e)},"_ke"),h.Ui=n(function(t,e){$pe(this.c,this.b,t,e)},"ale"),h.gd=n(function(t){return Gjt(this.c,this.b,t)},"ble"),h.Mc=n(function(t){return ITe(this.c,this.b,t)},"cle"),h.hd=n(function(t,e){return TNt(this.c,this.b,t,e)},"dle"),h.Wb=n(function(t){_L(this.c,this.b),s7(this,l(t,15))},"ele"),h.gc=n(function(){return Q3e(this.c,this.b)},"fle"),h.Pc=n(function(){return Kbe(this.c,this.b)},"gle"),h.Qc=n(function(t){return Hge(this.c,this.b,t)},"hle"),h.Ib=n(function(){var t,e;for(e=new F0,e.a+="[",t=Hkt(this.c,this.b);c$(t);)Ia(e,l7(dL(t))),c$(t)&&(e.a+=ka);return e.a+="]",e.a},"ile"),h.Gk=n(function(){_L(this.c,this.b)},"jle");var sqn=S(Fr,"FeatureMapUtil/FeatureEList",509);C(644,39,D_,iP),h.hj=n(function(t){return Y7(this,t)},"mle"),h.mj=n(function(t){var e,r,i,a,c,u,d;switch(this.d){case 1:case 2:{if(c=t.jj(),ot(c)===ot(this.c)&&Y7(this,null)==t.hj(null))return this.g=t.ij(),t.gj()==1&&(this.d=1),!0;break}case 3:{switch(a=t.gj(),a){case 3:{if(c=t.jj(),ot(c)===ot(this.c)&&Y7(this,null)==t.hj(null))return this.d=5,e=new pg(2),bn(e,this.g),bn(e,t.ij()),this.g=e,!0;break}}break}case 5:{switch(a=t.gj(),a){case 3:{if(c=t.jj(),ot(c)===ot(this.c)&&Y7(this,null)==t.hj(null))return r=l(this.g,16),r.Fc(t.ij()),!0;break}}break}case 4:{switch(a=t.gj(),a){case 3:{if(c=t.jj(),ot(c)===ot(this.c)&&Y7(this,null)==t.hj(null))return this.d=1,this.g=t.ij(),!0;break}case 4:{if(c=t.jj(),ot(c)===ot(this.c)&&Y7(this,null)==t.hj(null))return this.d=6,d=new pg(2),bn(d,this.n),bn(d,t.kj()),this.n=d,u=H(q(yn,1),Pn,28,15,[this.o,t.lj()]),this.g=u,!0;break}}break}case 6:{switch(a=t.gj(),a){case 4:{if(c=t.jj(),ot(c)===ot(this.c)&&Y7(this,null)==t.hj(null))return r=l(this.n,16),r.Fc(t.kj()),u=l(this.g,53),i=ht(yn,Pn,28,u.length+1,15,1),ts(u,0,i,0,u.length),i[u.length]=t.lj(),this.g=i,!0;break}}break}}return!1},"nle");var cqn=S(Fr,"FeatureMapUtil/FeatureENotificationImpl",644);C(564,509,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},hM),h.Ol=n(function(t,e){return rnt(this.c,t,e)},"ple"),h.Pl=n(function(t,e,r){return Xet(this.c,t,e,r)},"qle"),h.Ql=n(function(t,e,r){return vnt(this.c,t,e,r)},"rle"),h.Rl=n(function(){return this},"sle"),h.Sl=n(function(t,e){return RC(this.c,t,e)},"tle"),h.Tl=n(function(t){return l(YL(this.c,this.b,t,!1),76).Lk()},"ule"),h.Ul=n(function(t){return l(YL(this.c,this.b,t,!1),76).md()},"vle"),h.Vl=n(function(){return this.a},"wle"),h.Wl=n(function(t){return!hC(this.c,t)},"xle"),h.Xl=n(function(t,e){QL(this.c,t,e)},"yle"),h.Yl=n(function(t){return HLt(this.c,t)},"zle"),h.Zl=n(function(t){kDt(this.c,t)},"Ale");var lqn=S(Fr,"FeatureMapUtil/FeatureFeatureMap",564);C(1294,1,fat,pkt),h.Fk=n(function(t){return YL(this.b,this.a,-1,t)},"Cle"),h.Qj=n(function(){return!hC(this.b,this.a)},"Dle"),h.Wb=n(function(t){QL(this.b,this.a,t)},"Ele"),h.Gk=n(function(){_L(this.b,this.a)},"Fle");var hqn=S(Fr,"FeatureMapUtil/FeatureValue",1294),zv,blt,glt,qv,eWe,ZF=Rr(yz,"AnyType");C(680,63,rd,OD);var uqn=S(yz,"InvalidDatatypeValueException",680),UH=Rr(yz,MDe),tO=Rr(yz,ADe),rte=Rr(yz,LDe),nWe,Go,ite,lp,rWe,iWe,aWe,oWe,sWe,cWe,lWe,hWe,uWe,dWe,fWe,q4,bWe,H4,AS,gWe,H2,eO,nO,pWe,LS,_S;C(844,516,{110:1,94:1,93:1,58:1,54:1,99:1,857:1},_W),h.Lh=n(function(t,e,r){switch(t){case 0:return r?(!this.c&&(this.c=new Gr(this,0)),this.c):(!this.c&&(this.c=new Gr(this,0)),this.c.b);case 1:return r?(!this.c&&(this.c=new Gr(this,0)),l(os(this.c,(gr(),lp)),160)):(!this.c&&(this.c=new Gr(this,0)),l(l(os(this.c,(gr(),lp)),160),220)).Vl();case 2:return r?(!this.b&&(this.b=new Gr(this,2)),this.b):(!this.b&&(this.b=new Gr(this,2)),this.b.b)}return fl(this,t-Ze(this.ii()),we((this.j&2)==0?this.ii():(!this.k&&(this.k=new Lh),this.k).Nk(),t),e,r)},"pme"),h.Uh=n(function(t,e,r){var i;switch(e){case 0:return!this.c&&(this.c=new Gr(this,0)),IC(this.c,t,r);case 1:return(!this.c&&(this.c=new Gr(this,0)),l(l(os(this.c,(gr(),lp)),160),71)).Xk(t,r);case 2:return!this.b&&(this.b=new Gr(this,2)),IC(this.b,t,r)}return i=l(we((this.j&2)==0?this.ii():(!this.k&&(this.k=new Lh),this.k).Nk(),e),69),i.wk().Ak(this,OQ(this),e-Ze(this.ii()),t,r)},"qme"),h.Wh=n(function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new Gr(this,0)),l(os(this.c,(gr(),lp)),160)).dc();case 2:return!!this.b&&this.b.i!=0}return ul(this,t-Ze(this.ii()),we((this.j&2)==0?this.ii():(!this.k&&(this.k=new Lh),this.k).Nk(),t))},"rme"),h.bi=n(function(t,e){switch(t){case 0:!this.c&&(this.c=new Gr(this,0)),fx(this.c,e);return;case 1:(!this.c&&(this.c=new Gr(this,0)),l(l(os(this.c,(gr(),lp)),160),220)).Wb(e);return;case 2:!this.b&&(this.b=new Gr(this,2)),fx(this.b,e);return}wl(this,t-Ze(this.ii()),we((this.j&2)==0?this.ii():(!this.k&&(this.k=new Lh),this.k).Nk(),t),e)},"sme"),h.ii=n(function(){return gr(),ite},"tme"),h.ki=n(function(t){switch(t){case 0:!this.c&&(this.c=new Gr(this,0)),dn(this.c);return;case 1:(!this.c&&(this.c=new Gr(this,0)),l(os(this.c,(gr(),lp)),160)).$b();return;case 2:!this.b&&(this.b=new Gr(this,2)),dn(this.b);return}pl(this,t-Ze(this.ii()),we((this.j&2)==0?this.ii():(!this.k&&(this.k=new Lh),this.k).Nk(),t))},"ume"),h.Ib=n(function(){var t;return(this.j&4)!=0?fh(this):(t=new jl(fh(this)),t.a+=" (mixed: ",r7(t,this.c),t.a+=", anyAttribute: ",r7(t,this.b),t.a+=")",t.a)},"vme");var dqn=S(pi,"AnyTypeImpl",844);C(681,516,{110:1,94:1,93:1,58:1,54:1,99:1,2119:1,681:1},ywt),h.Lh=n(function(t,e,r){switch(t){case 0:return this.a;case 1:return this.b}return fl(this,t-Ze((gr(),q4)),we((this.j&2)==0?q4:(!this.k&&(this.k=new Lh),this.k).Nk(),t),e,r)},"zme"),h.Wh=n(function(t){switch(t){case 0:return this.a!=null;case 1:return this.b!=null}return ul(this,t-Ze((gr(),q4)),we((this.j&2)==0?q4:(!this.k&&(this.k=new Lh),this.k).Nk(),t))},"Ame"),h.bi=n(function(t,e){switch(t){case 0:Wae(this,En(e));return;case 1:Vae(this,En(e));return}wl(this,t-Ze((gr(),q4)),we((this.j&2)==0?q4:(!this.k&&(this.k=new Lh),this.k).Nk(),t),e)},"Bme"),h.ii=n(function(){return gr(),q4},"Cme"),h.ki=n(function(t){switch(t){case 0:this.a=null;return;case 1:this.b=null;return}pl(this,t-Ze((gr(),q4)),we((this.j&2)==0?q4:(!this.k&&(this.k=new Lh),this.k).Nk(),t))},"Dme"),h.Ib=n(function(){var t;return(this.j&4)!=0?fh(this):(t=new jl(fh(this)),t.a+=" (data: ",Ia(t,this.a),t.a+=", target: ",Ia(t,this.b),t.a+=")",t.a)},"Eme"),h.a=null,h.b=null;var fqn=S(pi,"ProcessingInstructionImpl",681);C(682,844,{110:1,94:1,93:1,58:1,54:1,99:1,857:1,2120:1,682:1},Xvt),h.Lh=n(function(t,e,r){switch(t){case 0:return r?(!this.c&&(this.c=new Gr(this,0)),this.c):(!this.c&&(this.c=new Gr(this,0)),this.c.b);case 1:return r?(!this.c&&(this.c=new Gr(this,0)),l(os(this.c,(gr(),lp)),160)):(!this.c&&(this.c=new Gr(this,0)),l(l(os(this.c,(gr(),lp)),160),220)).Vl();case 2:return r?(!this.b&&(this.b=new Gr(this,2)),this.b):(!this.b&&(this.b=new Gr(this,2)),this.b.b);case 3:return!this.c&&(this.c=new Gr(this,0)),En(RC(this.c,(gr(),AS),!0));case 4:return ZV(this.a,(!this.c&&(this.c=new Gr(this,0)),En(RC(this.c,(gr(),AS),!0))));case 5:return this.a}return fl(this,t-Ze((gr(),H4)),we((this.j&2)==0?H4:(!this.k&&(this.k=new Lh),this.k).Nk(),t),e,r)},"Ime"),h.Wh=n(function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new Gr(this,0)),l(os(this.c,(gr(),lp)),160)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new Gr(this,0)),En(RC(this.c,(gr(),AS),!0))!=null;case 4:return ZV(this.a,(!this.c&&(this.c=new Gr(this,0)),En(RC(this.c,(gr(),AS),!0))))!=null;case 5:return!!this.a}return ul(this,t-Ze((gr(),H4)),we((this.j&2)==0?H4:(!this.k&&(this.k=new Lh),this.k).Nk(),t))},"Jme"),h.bi=n(function(t,e){switch(t){case 0:!this.c&&(this.c=new Gr(this,0)),fx(this.c,e);return;case 1:(!this.c&&(this.c=new Gr(this,0)),l(l(os(this.c,(gr(),lp)),160),220)).Wb(e);return;case 2:!this.b&&(this.b=new Gr(this,2)),fx(this.b,e);return;case 3:zY(this,En(e));return;case 4:zY(this,JV(this.a,e));return;case 5:Gae(this,l(e,156));return}wl(this,t-Ze((gr(),H4)),we((this.j&2)==0?H4:(!this.k&&(this.k=new Lh),this.k).Nk(),t),e)},"Kme"),h.ii=n(function(){return gr(),H4},"Lme"),h.ki=n(function(t){switch(t){case 0:!this.c&&(this.c=new Gr(this,0)),dn(this.c);return;case 1:(!this.c&&(this.c=new Gr(this,0)),l(os(this.c,(gr(),lp)),160)).$b();return;case 2:!this.b&&(this.b=new Gr(this,2)),dn(this.b);return;case 3:!this.c&&(this.c=new Gr(this,0)),QL(this.c,(gr(),AS),null);return;case 4:zY(this,JV(this.a,null));return;case 5:this.a=null;return}pl(this,t-Ze((gr(),H4)),we((this.j&2)==0?H4:(!this.k&&(this.k=new Lh),this.k).Nk(),t))},"Mme");var bqn=S(pi,"SimpleAnyTypeImpl",682);C(683,516,{110:1,94:1,93:1,58:1,54:1,99:1,2121:1,683:1},Yvt),h.Lh=n(function(t,e,r){switch(t){case 0:return r?(!this.a&&(this.a=new Gr(this,0)),this.a):(!this.a&&(this.a=new Gr(this,0)),this.a.b);case 1:return r?(!this.b&&(this.b=new Zs((he(),Aa),zo,this,1)),this.b):(!this.b&&(this.b=new Zs((he(),Aa),zo,this,1)),_x(this.b));case 2:return r?(!this.c&&(this.c=new Zs((he(),Aa),zo,this,2)),this.c):(!this.c&&(this.c=new Zs((he(),Aa),zo,this,2)),_x(this.c));case 3:return!this.a&&(this.a=new Gr(this,0)),os(this.a,(gr(),eO));case 4:return!this.a&&(this.a=new Gr(this,0)),os(this.a,(gr(),nO));case 5:return!this.a&&(this.a=new Gr(this,0)),os(this.a,(gr(),LS));case 6:return!this.a&&(this.a=new Gr(this,0)),os(this.a,(gr(),_S))}return fl(this,t-Ze((gr(),H2)),we((this.j&2)==0?H2:(!this.k&&(this.k=new Lh),this.k).Nk(),t),e,r)},"Ome"),h.Uh=n(function(t,e,r){var i;switch(e){case 0:return!this.a&&(this.a=new Gr(this,0)),IC(this.a,t,r);case 1:return!this.b&&(this.b=new Zs((he(),Aa),zo,this,1)),ZB(this.b,t,r);case 2:return!this.c&&(this.c=new Zs((he(),Aa),zo,this,2)),ZB(this.c,t,r);case 5:return!this.a&&(this.a=new Gr(this,0)),bxt(os(this.a,(gr(),LS)),t,r)}return i=l(we((this.j&2)==0?(gr(),H2):(!this.k&&(this.k=new Lh),this.k).Nk(),e),69),i.wk().Ak(this,OQ(this),e-Ze((gr(),H2)),t,r)},"Pme"),h.Wh=n(function(t){switch(t){case 0:return!!this.a&&this.a.i!=0;case 1:return!!this.b&&this.b.f!=0;case 2:return!!this.c&&this.c.f!=0;case 3:return!this.a&&(this.a=new Gr(this,0)),!jB(os(this.a,(gr(),eO)));case 4:return!this.a&&(this.a=new Gr(this,0)),!jB(os(this.a,(gr(),nO)));case 5:return!this.a&&(this.a=new Gr(this,0)),!jB(os(this.a,(gr(),LS)));case 6:return!this.a&&(this.a=new Gr(this,0)),!jB(os(this.a,(gr(),_S)))}return ul(this,t-Ze((gr(),H2)),we((this.j&2)==0?H2:(!this.k&&(this.k=new Lh),this.k).Nk(),t))},"Qme"),h.bi=n(function(t,e){switch(t){case 0:!this.a&&(this.a=new Gr(this,0)),fx(this.a,e);return;case 1:!this.b&&(this.b=new Zs((he(),Aa),zo,this,1)),jA(this.b,e);return;case 2:!this.c&&(this.c=new Zs((he(),Aa),zo,this,2)),jA(this.c,e);return;case 3:!this.a&&(this.a=new Gr(this,0)),Zm(os(this.a,(gr(),eO))),!this.a&&(this.a=new Gr(this,0)),s7(os(this.a,eO),l(e,16));return;case 4:!this.a&&(this.a=new Gr(this,0)),Zm(os(this.a,(gr(),nO))),!this.a&&(this.a=new Gr(this,0)),s7(os(this.a,nO),l(e,16));return;case 5:!this.a&&(this.a=new Gr(this,0)),Zm(os(this.a,(gr(),LS))),!this.a&&(this.a=new Gr(this,0)),s7(os(this.a,LS),l(e,16));return;case 6:!this.a&&(this.a=new Gr(this,0)),Zm(os(this.a,(gr(),_S))),!this.a&&(this.a=new Gr(this,0)),s7(os(this.a,_S),l(e,16));return}wl(this,t-Ze((gr(),H2)),we((this.j&2)==0?H2:(!this.k&&(this.k=new Lh),this.k).Nk(),t),e)},"Rme"),h.ii=n(function(){return gr(),H2},"Sme"),h.ki=n(function(t){switch(t){case 0:!this.a&&(this.a=new Gr(this,0)),dn(this.a);return;case 1:!this.b&&(this.b=new Zs((he(),Aa),zo,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new Zs((he(),Aa),zo,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new Gr(this,0)),Zm(os(this.a,(gr(),eO)));return;case 4:!this.a&&(this.a=new Gr(this,0)),Zm(os(this.a,(gr(),nO)));return;case 5:!this.a&&(this.a=new Gr(this,0)),Zm(os(this.a,(gr(),LS)));return;case 6:!this.a&&(this.a=new Gr(this,0)),Zm(os(this.a,(gr(),_S)));return}pl(this,t-Ze((gr(),H2)),we((this.j&2)==0?H2:(!this.k&&(this.k=new Lh),this.k).Nk(),t))},"Tme"),h.Ib=n(function(){var t;return(this.j&4)!=0?fh(this):(t=new jl(fh(this)),t.a+=" (mixed: ",r7(t,this.a),t.a+=")",t.a)},"Ume");var gqn=S(pi,"XMLTypeDocumentRootImpl",683);C(2028,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1,2122:1},lwt),h.ri=n(function(t,e){switch(t.hk()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return e==null?null:bo(e);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return En(e);case 6:return Mle(l(e,195));case 12:case 47:case 49:case 11:return uRt(this,t,e);case 13:return e==null?null:NEe(l(e,247));case 15:case 14:return e==null?null:K0e(it(lt(e)));case 17:return cjt((gr(),e));case 18:return cjt(e);case 21:case 20:return e==null?null:U0e(l(e,161).a);case 27:return Ale(l(e,195));case 30:return xDt((gr(),l(e,15)));case 31:return xDt(l(e,15));case 40:return _le((gr(),e));case 42:return ljt((gr(),e));case 43:return ljt(e);case 59:case 48:return Lle((gr(),e));default:throw R(new Le(X8+t.xe()+y2))}},"sne"),h.si=n(function(t){var e,r,i,a,c;switch(t.G==-1&&(t.G=(r=Yc(t),r?Z0(r.vi(),t):-1)),t.G){case 0:return e=new _W,e;case 1:return i=new ywt,i;case 2:return a=new Xvt,a;case 3:return c=new Yvt,c;default:throw R(new Le(Qit+t.zb+y2))}},"tne"),h.ti=n(function(t,e){var r,i,a,c,u,d,b,w,m,x,E,A,_,D,I,K;switch(t.hk()){case 5:case 52:case 4:return e;case 6:return P5e(e);case 8:case 7:return e==null?null:C6e(e);case 9:return e==null?null:Nx(el((i=cs(e,!0),i.length>0&&(_e(0,i.length),i.charCodeAt(0)==43)?(_e(1,i.length+1),i.substr(1)):i),-128,127)<<24>>24);case 10:return e==null?null:Nx(el((a=cs(e,!0),a.length>0&&(_e(0,a.length),a.charCodeAt(0)==43)?(_e(1,a.length+1),a.substr(1)):a),-128,127)<<24>>24);case 11:return En(Dg(this,(gr(),aWe),e));case 12:return En(Dg(this,(gr(),oWe),e));case 13:return e==null?null:new eG(cs(e,!0));case 15:case 14:return W9e(e);case 16:return En(Dg(this,(gr(),sWe),e));case 17:return TOt((gr(),e));case 18:return TOt(e);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return cs(e,!0);case 21:case 20:return nxe(e);case 22:return En(Dg(this,(gr(),cWe),e));case 23:return En(Dg(this,(gr(),lWe),e));case 24:return En(Dg(this,(gr(),hWe),e));case 25:return En(Dg(this,(gr(),uWe),e));case 26:return En(Dg(this,(gr(),dWe),e));case 27:return S5e(e);case 30:return SOt((gr(),e));case 31:return SOt(e);case 32:return e==null?null:Et(el((m=cs(e,!0),m.length>0&&(_e(0,m.length),m.charCodeAt(0)==43)?(_e(1,m.length+1),m.substr(1)):m),da,nr));case 33:return e==null?null:new Bd((x=cs(e,!0),x.length>0&&(_e(0,x.length),x.charCodeAt(0)==43)?(_e(1,x.length+1),x.substr(1)):x));case 34:return e==null?null:Et(el((E=cs(e,!0),E.length>0&&(_e(0,E.length),E.charCodeAt(0)==43)?(_e(1,E.length+1),E.substr(1)):E),da,nr));case 36:return e==null?null:r0(e_((A=cs(e,!0),A.length>0&&(_e(0,A.length),A.charCodeAt(0)==43)?(_e(1,A.length+1),A.substr(1)):A)));case 37:return e==null?null:r0(e_((_=cs(e,!0),_.length>0&&(_e(0,_.length),_.charCodeAt(0)==43)?(_e(1,_.length+1),_.substr(1)):_)));case 40:return xye((gr(),e));case 42:return EOt((gr(),e));case 43:return EOt(e);case 44:return e==null?null:new Bd((D=cs(e,!0),D.length>0&&(_e(0,D.length),D.charCodeAt(0)==43)?(_e(1,D.length+1),D.substr(1)):D));case 45:return e==null?null:new Bd((I=cs(e,!0),I.length>0&&(_e(0,I.length),I.charCodeAt(0)==43)?(_e(1,I.length+1),I.substr(1)):I));case 46:return cs(e,!1);case 47:return En(Dg(this,(gr(),fWe),e));case 59:case 48:return kye((gr(),e));case 49:return En(Dg(this,(gr(),bWe),e));case 50:return e==null?null:_y(el((K=cs(e,!0),K.length>0&&(_e(0,K.length),K.charCodeAt(0)==43)?(_e(1,K.length+1),K.substr(1)):K),gz,32767)<<16>>16);case 51:return e==null?null:_y(el((c=cs(e,!0),c.length>0&&(_e(0,c.length),c.charCodeAt(0)==43)?(_e(1,c.length+1),c.substr(1)):c),gz,32767)<<16>>16);case 53:return En(Dg(this,(gr(),gWe),e));case 55:return e==null?null:_y(el((u=cs(e,!0),u.length>0&&(_e(0,u.length),u.charCodeAt(0)==43)?(_e(1,u.length+1),u.substr(1)):u),gz,32767)<<16>>16);case 56:return e==null?null:_y(el((d=cs(e,!0),d.length>0&&(_e(0,d.length),d.charCodeAt(0)==43)?(_e(1,d.length+1),d.substr(1)):d),gz,32767)<<16>>16);case 57:return e==null?null:r0(e_((b=cs(e,!0),b.length>0&&(_e(0,b.length),b.charCodeAt(0)==43)?(_e(1,b.length+1),b.substr(1)):b)));case 58:return e==null?null:r0(e_((w=cs(e,!0),w.length>0&&(_e(0,w.length),w.charCodeAt(0)==43)?(_e(1,w.length+1),w.substr(1)):w)));case 60:return e==null?null:Et(el((r=cs(e,!0),r.length>0&&(_e(0,r.length),r.charCodeAt(0)==43)?(_e(1,r.length+1),r.substr(1)):r),da,nr));case 61:return e==null?null:Et(el(cs(e,!0),da,nr));default:throw R(new Le(X8+t.xe()+y2))}},"une");var wWe,ate,mWe,ote,pqn=S(pi,"XMLTypeFactoryImpl",2028);C(594,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1,2044:1,594:1},XTt),h.N=!1,h.O=!1;var yWe=!1,wqn=S(pi,"XMLTypePackageImpl",594);C(1961,1,{851:1},hwt),h.Kk=n(function(){return unt(),MWe},"Fne");var mqn=S(pi,"XMLTypePackageImpl/1",1961);C(1970,1,Wn,uwt),h.fk=n(function(t){return Oi(t)},"Hne"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"Ine");var yqn=S(pi,"XMLTypePackageImpl/10",1970);C(1971,1,Wn,dwt),h.fk=n(function(t){return Oi(t)},"Kne"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"Lne");var vqn=S(pi,"XMLTypePackageImpl/11",1971);C(1972,1,Wn,fwt),h.fk=n(function(t){return Oi(t)},"Nne"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"One");var kqn=S(pi,"XMLTypePackageImpl/12",1972);C(1973,1,Wn,bwt),h.fk=n(function(t){return Lp(t)},"Qne"),h.gk=n(function(t){return ht(wi,Tt,345,t,7,1)},"Rne");var xqn=S(pi,"XMLTypePackageImpl/13",1973);C(1974,1,Wn,gwt),h.fk=n(function(t){return Oi(t)},"Tne"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"Une");var Cqn=S(pi,"XMLTypePackageImpl/14",1974);C(1975,1,Wn,pwt),h.fk=n(function(t){return J(t,15)},"Wne"),h.gk=n(function(t){return ht(Ul,Qw,15,t,0,1)},"Xne");var Tqn=S(pi,"XMLTypePackageImpl/15",1975);C(1976,1,Wn,wwt),h.fk=n(function(t){return J(t,15)},"Zne"),h.gk=n(function(t){return ht(Ul,Qw,15,t,0,1)},"$ne");var Sqn=S(pi,"XMLTypePackageImpl/16",1976);C(1977,1,Wn,mwt),h.fk=n(function(t){return Oi(t)},"aoe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"boe");var Eqn=S(pi,"XMLTypePackageImpl/17",1977);C(1978,1,Wn,vwt),h.fk=n(function(t){return J(t,161)},"doe"),h.gk=n(function(t){return ht(nk,Tt,161,t,0,1)},"eoe");var Bqn=S(pi,"XMLTypePackageImpl/18",1978);C(1979,1,Wn,kwt),h.fk=n(function(t){return Oi(t)},"goe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"hoe");var Mqn=S(pi,"XMLTypePackageImpl/19",1979);C(1962,1,Wn,xwt),h.fk=n(function(t){return J(t,857)},"joe"),h.gk=n(function(t){return ht(ZF,xe,857,t,0,1)},"koe");var Aqn=S(pi,"XMLTypePackageImpl/2",1962);C(1980,1,Wn,Cwt),h.fk=n(function(t){return Oi(t)},"moe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"noe");var Lqn=S(pi,"XMLTypePackageImpl/20",1980);C(1981,1,Wn,Twt),h.fk=n(function(t){return Oi(t)},"poe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"qoe");var _qn=S(pi,"XMLTypePackageImpl/21",1981);C(1982,1,Wn,Swt),h.fk=n(function(t){return Oi(t)},"soe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"toe");var Fqn=S(pi,"XMLTypePackageImpl/22",1982);C(1983,1,Wn,Ewt),h.fk=n(function(t){return Oi(t)},"voe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"woe");var Oqn=S(pi,"XMLTypePackageImpl/23",1983);C(1984,1,Wn,Bwt),h.fk=n(function(t){return J(t,195)},"yoe"),h.gk=n(function(t){return ht(yc,Tt,195,t,0,2)},"zoe");var Dqn=S(pi,"XMLTypePackageImpl/24",1984);C(1985,1,Wn,Mwt),h.fk=n(function(t){return Oi(t)},"Boe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"Coe");var jqn=S(pi,"XMLTypePackageImpl/25",1985);C(1986,1,Wn,Awt),h.fk=n(function(t){return Oi(t)},"Eoe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"Foe");var Iqn=S(pi,"XMLTypePackageImpl/26",1986);C(1987,1,Wn,Lwt),h.fk=n(function(t){return J(t,15)},"Hoe"),h.gk=n(function(t){return ht(Ul,Qw,15,t,0,1)},"Ioe");var Pqn=S(pi,"XMLTypePackageImpl/27",1987);C(1988,1,Wn,_wt),h.fk=n(function(t){return J(t,15)},"Koe"),h.gk=n(function(t){return ht(Ul,Qw,15,t,0,1)},"Loe");var $qn=S(pi,"XMLTypePackageImpl/28",1988);C(1989,1,Wn,Fwt),h.fk=n(function(t){return Oi(t)},"Noe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"Ooe");var Nqn=S(pi,"XMLTypePackageImpl/29",1989);C(1963,1,Wn,Owt),h.fk=n(function(t){return J(t,681)},"Qoe"),h.gk=n(function(t){return ht(UH,xe,2119,t,0,1)},"Roe");var Rqn=S(pi,"XMLTypePackageImpl/3",1963);C(1990,1,Wn,Dwt),h.fk=n(function(t){return J(t,17)},"Toe"),h.gk=n(function(t){return ht(ia,Tt,17,t,0,1)},"Uoe");var zqn=S(pi,"XMLTypePackageImpl/30",1990);C(1991,1,Wn,jwt),h.fk=n(function(t){return Oi(t)},"Woe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"Xoe");var qqn=S(pi,"XMLTypePackageImpl/31",1991);C(1992,1,Wn,Iwt),h.fk=n(function(t){return J(t,168)},"Zoe"),h.gk=n(function(t){return ht(k2,Tt,168,t,0,1)},"$oe");var Hqn=S(pi,"XMLTypePackageImpl/32",1992);C(1993,1,Wn,Pwt),h.fk=n(function(t){return Oi(t)},"ape"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"bpe");var Kqn=S(pi,"XMLTypePackageImpl/33",1993);C(1994,1,Wn,$wt),h.fk=n(function(t){return Oi(t)},"dpe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"epe");var Uqn=S(pi,"XMLTypePackageImpl/34",1994);C(1995,1,Wn,Nwt),h.fk=n(function(t){return Oi(t)},"gpe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"hpe");var Wqn=S(pi,"XMLTypePackageImpl/35",1995);C(1996,1,Wn,Rwt),h.fk=n(function(t){return Oi(t)},"jpe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"kpe");var Gqn=S(pi,"XMLTypePackageImpl/36",1996);C(1997,1,Wn,zwt),h.fk=n(function(t){return J(t,15)},"mpe"),h.gk=n(function(t){return ht(Ul,Qw,15,t,0,1)},"npe");var Vqn=S(pi,"XMLTypePackageImpl/37",1997);C(1998,1,Wn,qwt),h.fk=n(function(t){return J(t,15)},"ppe"),h.gk=n(function(t){return ht(Ul,Qw,15,t,0,1)},"qpe");var Xqn=S(pi,"XMLTypePackageImpl/38",1998);C(1999,1,Wn,Hwt),h.fk=n(function(t){return Oi(t)},"spe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"tpe");var Yqn=S(pi,"XMLTypePackageImpl/39",1999);C(1964,1,Wn,Kwt),h.fk=n(function(t){return J(t,682)},"vpe"),h.gk=n(function(t){return ht(tO,xe,2120,t,0,1)},"wpe");var Qqn=S(pi,"XMLTypePackageImpl/4",1964);C(2e3,1,Wn,Uwt),h.fk=n(function(t){return Oi(t)},"ype"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"zpe");var Jqn=S(pi,"XMLTypePackageImpl/40",2e3);C(2001,1,Wn,Wwt),h.fk=n(function(t){return Oi(t)},"Bpe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"Cpe");var Zqn=S(pi,"XMLTypePackageImpl/41",2001);C(2002,1,Wn,Gwt),h.fk=n(function(t){return Oi(t)},"Epe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"Fpe");var tHn=S(pi,"XMLTypePackageImpl/42",2002);C(2003,1,Wn,Vwt),h.fk=n(function(t){return Oi(t)},"Hpe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"Ipe");var eHn=S(pi,"XMLTypePackageImpl/43",2003);C(2004,1,Wn,Xwt),h.fk=n(function(t){return Oi(t)},"Kpe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"Lpe");var nHn=S(pi,"XMLTypePackageImpl/44",2004);C(2005,1,Wn,Ywt),h.fk=n(function(t){return J(t,191)},"Npe"),h.gk=n(function(t){return ht(x2,Tt,191,t,0,1)},"Ope");var rHn=S(pi,"XMLTypePackageImpl/45",2005);C(2006,1,Wn,Qwt),h.fk=n(function(t){return Oi(t)},"Qpe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"Rpe");var iHn=S(pi,"XMLTypePackageImpl/46",2006);C(2007,1,Wn,Jwt),h.fk=n(function(t){return Oi(t)},"Tpe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"Upe");var aHn=S(pi,"XMLTypePackageImpl/47",2007);C(2008,1,Wn,Zwt),h.fk=n(function(t){return Oi(t)},"Wpe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"Xpe");var oHn=S(pi,"XMLTypePackageImpl/48",2008);C(2009,1,Wn,tmt),h.fk=n(function(t){return J(t,191)},"Zpe"),h.gk=n(function(t){return ht(x2,Tt,191,t,0,1)},"$pe");var sHn=S(pi,"XMLTypePackageImpl/49",2009);C(1965,1,Wn,emt),h.fk=n(function(t){return J(t,683)},"aqe"),h.gk=n(function(t){return ht(rte,xe,2121,t,0,1)},"bqe");var cHn=S(pi,"XMLTypePackageImpl/5",1965);C(2010,1,Wn,nmt),h.fk=n(function(t){return J(t,168)},"dqe"),h.gk=n(function(t){return ht(k2,Tt,168,t,0,1)},"eqe");var lHn=S(pi,"XMLTypePackageImpl/50",2010);C(2011,1,Wn,rmt),h.fk=n(function(t){return Oi(t)},"gqe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"hqe");var hHn=S(pi,"XMLTypePackageImpl/51",2011);C(2012,1,Wn,imt),h.fk=n(function(t){return J(t,17)},"jqe"),h.gk=n(function(t){return ht(ia,Tt,17,t,0,1)},"kqe");var uHn=S(pi,"XMLTypePackageImpl/52",2012);C(1966,1,Wn,amt),h.fk=n(function(t){return Oi(t)},"mqe"),h.gk=n(function(t){return ht($t,Tt,2,t,6,1)},"nqe");var dHn=S(pi,"XMLTypePackageImpl/6",1966);C(1967,1,Wn,omt),h.fk=n(function(t){return J(t,195)},"pqe"),h.gk=n(function(t){return ht(yc,Tt,195,t,0,2)},"qqe");var fHn=S(pi,"XMLTypePackageImpl/7",1967);C(1968,1,Wn,smt),h.fk=n(function(t){return Ap(t)},"sqe"),h.gk=n(function(t){return ht(ti,Tt,485,t,8,1)},"tqe");var bHn=S(pi,"XMLTypePackageImpl/8",1968);C(1969,1,Wn,cmt),h.fk=n(function(t){return J(t,222)},"vqe"),h.gk=n(function(t){return ht(mv,Tt,222,t,0,1)},"wqe");var gHn=S(pi,"XMLTypePackageImpl/9",1969),i1,ff,FS,WH,G;C(55,63,rd,Bn);var pHn=S(Jd,"RegEx/ParseException",55);C(836,1,{},FU),h.bm=n(function(t){return tr*16)throw R(new Bn(Ln((Sn(),zOe))));r=r*16+a}while(!0);if(this.a!=125)throw R(new Bn(Ln((Sn(),qOe))));if(r>Z8)throw R(new Bn(Ln((Sn(),HOe))));t=r}else{if(a=0,this.c!=0||(a=Yf(this.a))<0)throw R(new Bn(Ln((Sn(),Qd))));if(r=a,Qn(this),this.c!=0||(a=Yf(this.a))<0)throw R(new Bn(Ln((Sn(),Qd))));r=r*16+a,t=r}break;case 117:if(i=0,Qn(this),this.c!=0||(i=Yf(this.a))<0)throw R(new Bn(Ln((Sn(),Qd))));if(e=i,Qn(this),this.c!=0||(i=Yf(this.a))<0)throw R(new Bn(Ln((Sn(),Qd))));if(e=e*16+i,Qn(this),this.c!=0||(i=Yf(this.a))<0)throw R(new Bn(Ln((Sn(),Qd))));if(e=e*16+i,Qn(this),this.c!=0||(i=Yf(this.a))<0)throw R(new Bn(Ln((Sn(),Qd))));e=e*16+i,t=e;break;case 118:if(Qn(this),this.c!=0||(i=Yf(this.a))<0)throw R(new Bn(Ln((Sn(),Qd))));if(e=i,Qn(this),this.c!=0||(i=Yf(this.a))<0)throw R(new Bn(Ln((Sn(),Qd))));if(e=e*16+i,Qn(this),this.c!=0||(i=Yf(this.a))<0)throw R(new Bn(Ln((Sn(),Qd))));if(e=e*16+i,Qn(this),this.c!=0||(i=Yf(this.a))<0)throw R(new Bn(Ln((Sn(),Qd))));if(e=e*16+i,Qn(this),this.c!=0||(i=Yf(this.a))<0)throw R(new Bn(Ln((Sn(),Qd))));if(e=e*16+i,Qn(this),this.c!=0||(i=Yf(this.a))<0)throw R(new Bn(Ln((Sn(),Qd))));if(e=e*16+i,e>Z8)throw R(new Bn(Ln((Sn(),"parser.descappe.4"))));t=e;break;case 65:case 90:case 122:throw R(new Bn(Ln((Sn(),KOe))))}return t},"Vqe"),h.dm=n(function(t){var e,r;switch(t){case 100:r=(this.e&32)==32?Gd("Nd",!0):(Jn(),GH);break;case 68:r=(this.e&32)==32?Gd("Nd",!1):(Jn(),fte);break;case 119:r=(this.e&32)==32?Gd("IsWord",!0):(Jn(),Rk);break;case 87:r=(this.e&32)==32?Gd("IsWord",!1):(Jn(),gte);break;case 115:r=(this.e&32)==32?Gd("IsSpace",!0):(Jn(),Hv);break;case 83:r=(this.e&32)==32?Gd("IsSpace",!1):(Jn(),bte);break;default:throw R(new yo((e=t,KDe+e.toString(16))))}return r},"Wqe"),h.em=n(function(t){var e,r,i,a,c,u,d,b,w,m,x,E;for(this.b=1,Qn(this),e=null,this.c==0&&this.a==94?(Qn(this),t?m=(Jn(),Jn(),++Vr,new Xc(5)):(e=(Jn(),Jn(),++Vr,new Xc(4)),ss(e,0,Z8),m=(++Vr,new Xc(4)))):m=(Jn(),Jn(),++Vr,new Xc(4)),a=!0;(E=this.c)!=1&&!(E==0&&this.a==93&&!a);){if(a=!1,r=this.a,i=!1,E==10)switch(r){case 100:case 68:case 119:case 87:case 115:case 83:u2(m,this.dm(r)),i=!0;break;case 105:case 73:case 99:case 67:r=this.um(m,r),r<0&&(i=!0);break;case 112:case 80:if(x=cet(this,r),!x)throw R(new Bn(Ln((Sn(),hat))));u2(m,x),i=!0;break;default:r=this.cm()}else if(E==20){if(u=$5(this.i,58,this.d),u<0)throw R(new Bn(Ln((Sn(),DKt))));if(d=!0,ea(this.i,this.d)==94&&(++this.d,d=!1),c=hl(this.i,this.d,u),b=tAt(c,d,(this.e&512)==512),!b)throw R(new Bn(Ln((Sn(),IOe))));if(u2(m,b),i=!0,u+1>=this.j||ea(this.i,u+1)!=93)throw R(new Bn(Ln((Sn(),DKt))));this.d=u+2}if(Qn(this),!i)if(this.c!=0||this.a!=45)ss(m,r,r);else{if(Qn(this),(E=this.c)==1)throw R(new Bn(Ln((Sn(),cz))));E==0&&this.a==93?(ss(m,r,r),ss(m,45,45)):(w=this.a,E==10&&(w=this.cm()),Qn(this),ss(m,r,w))}(this.e&qh)==qh&&this.c==0&&this.a==44&&Qn(this)}if(this.c==1)throw R(new Bn(Ln((Sn(),cz))));return e&&(M8(e,m),m=e),Nw(m),E8(m),this.b=0,Qn(this),m},"Yqe"),h.fm=n(function(){var t,e,r,i;for(r=this.em(!1);(i=this.c)!=7;)if(t=this.a,i==0&&(t==45||t==38)||i==4){if(Qn(this),this.c!=9)throw R(new Bn(Ln((Sn(),$Oe))));if(e=this.em(!1),i==4)u2(r,e);else if(t==45)M8(r,e);else if(t==38)sRt(r,e);else throw R(new yo("ASSERT"))}else throw R(new Bn(Ln((Sn(),NOe))));return Qn(this),r},"Zqe"),h.gm=n(function(){var t,e;return t=this.a-48,e=(Jn(),Jn(),++Vr,new HI(12,null,t)),!this.g&&(this.g=new GE),WE(this.g,new fW(t)),Qn(this),e},"$qe"),h.hm=n(function(){return Qn(this),Jn(),xWe},"_qe"),h.im=n(function(){return Qn(this),Jn(),kWe},"are"),h.jm=n(function(){throw R(new Bn(Ln((Sn(),Kl))))},"bre"),h.km=n(function(){throw R(new Bn(Ln((Sn(),Kl))))},"cre"),h.lm=n(function(){return Qn(this),Rme()},"dre"),h.mm=n(function(){return Qn(this),Jn(),TWe},"ere"),h.nm=n(function(){return Qn(this),Jn(),EWe},"fre"),h.om=n(function(){var t;if(this.d>=this.j||((t=ea(this.i,this.d++))&65504)!=64)throw R(new Bn(Ln((Sn(),OOe))));return Qn(this),Jn(),Jn(),++Vr,new u1(0,t-64)},"gre"),h.pm=n(function(){return Qn(this),KSe()},"hre"),h.qm=n(function(){return Qn(this),Jn(),BWe},"ire"),h.rm=n(function(){var t;return t=(Jn(),Jn(),++Vr,new u1(0,105)),Qn(this),t},"jre"),h.sm=n(function(){return Qn(this),Jn(),SWe},"kre"),h.tm=n(function(){return Qn(this),Jn(),CWe},"lre"),h.um=n(function(t,e){return this.cm()},"mre"),h.vm=n(function(){return Qn(this),Jn(),ute},"nre"),h.wm=n(function(){var t,e,r,i,a;if(this.d+1>=this.j)throw R(new Bn(Ln((Sn(),LOe))));if(i=-1,e=null,t=ea(this.i,this.d),49<=t&&t<=57){if(i=t-48,!this.g&&(this.g=new GE),WE(this.g,new fW(i)),++this.d,ea(this.i,this.d)!=41)throw R(new Bn(Ln((Sn(),Kg))));++this.d}else switch(t==63&&--this.d,Qn(this),e=Int(this),e.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw R(new Bn(Ln((Sn(),Kg))));break;default:throw R(new Bn(Ln((Sn(),_Oe))))}if(Qn(this),a=Eg(this),r=null,a.e==2){if(a.Pm()!=2)throw R(new Bn(Ln((Sn(),FOe))));r=a.Lm(1),a=a.Lm(0)}if(this.c!=7)throw R(new Bn(Ln((Sn(),Kg))));return Qn(this),Jn(),Jn(),++Vr,new jAt(i,e,a,r)},"ore"),h.xm=n(function(){return Qn(this),Jn(),dte},"pre"),h.ym=n(function(){var t;if(Qn(this),t=TM(24,Eg(this)),this.c!=7)throw R(new Bn(Ln((Sn(),Kg))));return Qn(this),t},"qre"),h.zm=n(function(){var t;if(Qn(this),t=TM(20,Eg(this)),this.c!=7)throw R(new Bn(Ln((Sn(),Kg))));return Qn(this),t},"rre"),h.Am=n(function(){var t;if(Qn(this),t=TM(22,Eg(this)),this.c!=7)throw R(new Bn(Ln((Sn(),Kg))));return Qn(this),t},"sre"),h.Bm=n(function(){var t,e,r,i,a;for(t=0,r=0,e=-1;this.d=this.j)throw R(new Bn(Ln((Sn(),FKt))));if(e==45){for(++this.d;this.d=this.j)throw R(new Bn(Ln((Sn(),FKt))))}if(e==58){if(++this.d,Qn(this),i=LTt(Eg(this),t,r),this.c!=7)throw R(new Bn(Ln((Sn(),Kg))));Qn(this)}else if(e==41)++this.d,Qn(this),i=LTt(Eg(this),t,r);else throw R(new Bn(Ln((Sn(),AOe))));return i},"tre"),h.Cm=n(function(){var t;if(Qn(this),t=TM(21,Eg(this)),this.c!=7)throw R(new Bn(Ln((Sn(),Kg))));return Qn(this),t},"ure"),h.Dm=n(function(){var t;if(Qn(this),t=TM(23,Eg(this)),this.c!=7)throw R(new Bn(Ln((Sn(),Kg))));return Qn(this),t},"vre"),h.Em=n(function(){var t,e;if(Qn(this),t=this.f++,e=wI(Eg(this),t),this.c!=7)throw R(new Bn(Ln((Sn(),Kg))));return Qn(this),e},"wre"),h.Fm=n(function(){var t;if(Qn(this),t=wI(Eg(this),0),this.c!=7)throw R(new Bn(Ln((Sn(),Kg))));return Qn(this),t},"xre"),h.Gm=n(function(t){return Qn(this),this.c==5?(Qn(this),gM(t,(Jn(),Jn(),++Vr,new qp(9,t)))):gM(t,(Jn(),Jn(),++Vr,new qp(3,t)))},"yre"),h.Hm=n(function(t){var e;return Qn(this),e=(Jn(),Jn(),++Vr,new o7(2)),this.c==5?(Qn(this),Zf(e,DS),Zf(e,t)):(Zf(e,t),Zf(e,DS)),e},"zre"),h.Im=n(function(t){return Qn(this),this.c==5?(Qn(this),Jn(),Jn(),++Vr,new qp(9,t)):(Jn(),Jn(),++Vr,new qp(3,t))},"Are"),h.a=0,h.b=0,h.c=0,h.d=0,h.e=0,h.f=1,h.g=null,h.j=0;var wHn=S(Jd,"RegEx/RegexParser",836);C(1947,836,{},Qvt),h.bm=n(function(t){return!1},"Hre"),h.cm=n(function(){return Uet(this)},"Ire"),h.dm=n(function(t){return Zy(t)},"Kre"),h.em=n(function(t){return nzt(this)},"Lre"),h.fm=n(function(){throw R(new Bn(Ln((Sn(),Kl))))},"Mre"),h.gm=n(function(){throw R(new Bn(Ln((Sn(),Kl))))},"Nre"),h.hm=n(function(){throw R(new Bn(Ln((Sn(),Kl))))},"Ore"),h.im=n(function(){throw R(new Bn(Ln((Sn(),Kl))))},"Pre"),h.jm=n(function(){return Qn(this),Zy(67)},"Qre"),h.km=n(function(){return Qn(this),Zy(73)},"Rre"),h.lm=n(function(){throw R(new Bn(Ln((Sn(),Kl))))},"Sre"),h.mm=n(function(){throw R(new Bn(Ln((Sn(),Kl))))},"Tre"),h.nm=n(function(){throw R(new Bn(Ln((Sn(),Kl))))},"Ure"),h.om=n(function(){return Qn(this),Zy(99)},"Vre"),h.pm=n(function(){throw R(new Bn(Ln((Sn(),Kl))))},"Wre"),h.qm=n(function(){throw R(new Bn(Ln((Sn(),Kl))))},"Xre"),h.rm=n(function(){return Qn(this),Zy(105)},"Yre"),h.sm=n(function(){throw R(new Bn(Ln((Sn(),Kl))))},"Zre"),h.tm=n(function(){throw R(new Bn(Ln((Sn(),Kl))))},"$re"),h.um=n(function(t,e){return u2(t,Zy(e)),-1},"_re"),h.vm=n(function(){return Qn(this),Jn(),Jn(),++Vr,new u1(0,94)},"ase"),h.wm=n(function(){throw R(new Bn(Ln((Sn(),Kl))))},"bse"),h.xm=n(function(){return Qn(this),Jn(),Jn(),++Vr,new u1(0,36)},"cse"),h.ym=n(function(){throw R(new Bn(Ln((Sn(),Kl))))},"dse"),h.zm=n(function(){throw R(new Bn(Ln((Sn(),Kl))))},"ese"),h.Am=n(function(){throw R(new Bn(Ln((Sn(),Kl))))},"fse"),h.Bm=n(function(){throw R(new Bn(Ln((Sn(),Kl))))},"gse"),h.Cm=n(function(){throw R(new Bn(Ln((Sn(),Kl))))},"hse"),h.Dm=n(function(){throw R(new Bn(Ln((Sn(),Kl))))},"ise"),h.Em=n(function(){var t;if(Qn(this),t=wI(Eg(this),0),this.c!=7)throw R(new Bn(Ln((Sn(),Kg))));return Qn(this),t},"jse"),h.Fm=n(function(){throw R(new Bn(Ln((Sn(),Kl))))},"kse"),h.Gm=n(function(t){return Qn(this),gM(t,(Jn(),Jn(),++Vr,new qp(3,t)))},"lse"),h.Hm=n(function(t){var e;return Qn(this),e=(Jn(),Jn(),++Vr,new o7(2)),Zf(e,t),Zf(e,DS),e},"mse"),h.Im=n(function(t){return Qn(this),Jn(),Jn(),++Vr,new qp(3,t)},"nse");var K4=null,$k=null,mHn=S(Jd,"RegEx/ParserForXMLSchema",1947);C(122,1,tk,Pb),h.Jm=n(function(t){throw R(new yo("Not supported."))},"Xse"),h.Km=n(function(){return-1},"dte"),h.Lm=n(function(t){return null},"ete"),h.Mm=n(function(){return null},"jte"),h.Nm=n(function(t){},"mte"),h.Om=n(function(t){},"nte"),h.Pm=n(function(){return 0},"ote"),h.Ib=n(function(){return this.Qm(0)},"pte"),h.Qm=n(function(t){return this.e==11?".":""},"qte"),h.e=0;var ste,Nk,OS,vWe,cte,jm=null,GH,lte=null,hte,DS,plt=null,ute,dte,fte,bte,gte,kWe,Hv,xWe,CWe,TWe,SWe,Rk,EWe,BWe,Vr=0,ncn=S(Jd,"RegEx/Token",122);C(138,122,{3:1,138:1,122:1},Xc),h.Qm=n(function(t){var e,r,i;if(this.e==4)if(this==hte)r=".";else if(this==GH)r="\\d";else if(this==Rk)r="\\w";else if(this==Hv)r="\\s";else{for(i=new F0,i.a+="[",e=0;e0&&(i.a+=","),this.b[e]===this.b[e+1]?Ia(i,NC(this.b[e])):(Ia(i,NC(this.b[e])),i.a+="-",Ia(i,NC(this.b[e+1])));i.a+="]",r=i.a}else if(this==fte)r="\\D";else if(this==gte)r="\\W";else if(this==bte)r="\\S";else{for(i=new F0,i.a+="[^",e=0;e0&&(i.a+=","),this.b[e]===this.b[e+1]?Ia(i,NC(this.b[e])):(Ia(i,NC(this.b[e])),i.a+="-",Ia(i,NC(this.b[e+1])));i.a+="]",r=i.a}return r},"Ate"),h.a=!1,h.c=!1;var yHn=S(Jd,"RegEx/RangeToken",138);C(592,1,{592:1},fW),h.a=0;var vHn=S(Jd,"RegEx/RegexParser/ReferencePosition",592);C(591,1,{3:1,591:1},d7t),h.Fb=n(function(t){var e;return t==null||!J(t,591)?!1:(e=l(t,591),ie(this.b,e.b)&&this.a==e.a)},"Ete"),h.Hb=n(function(){return W0(this.b+"/"+$et(this.a))},"Fte"),h.Ib=n(function(){return this.c.Qm(this.a)},"Gte"),h.a=0;var kHn=S(Jd,"RegEx/RegularExpression",591);C(228,122,tk,u1),h.Km=n(function(){return this.a},"Ite"),h.Qm=n(function(t){var e,r,i;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:i="\\"+Wj(this.a&gi);break;case 12:i="\\f";break;case 10:i="\\n";break;case 13:i="\\r";break;case 9:i="\\t";break;case 27:i="\\e";break;default:this.a>=Ea?(r=(e=this.a>>>0,"0"+e.toString(16)),i="\\v"+hl(r,r.length-6,r.length)):i=""+Wj(this.a&gi)}break;case 8:this==ute||this==dte?i=""+Wj(this.a&gi):i="\\"+Wj(this.a&gi);break;default:i=null}return i},"Jte"),h.a=0;var xHn=S(Jd,"RegEx/Token/CharToken",228);C(318,122,tk,qp),h.Lm=n(function(t){return this.a},"Lte"),h.Nm=n(function(t){this.b=t},"Mte"),h.Om=n(function(t){this.c=t},"Nte"),h.Pm=n(function(){return 1},"Ote"),h.Qm=n(function(t){var e;if(this.e==3)if(this.c<0&&this.b<0)e=this.a.Qm(t)+"*";else if(this.c==this.b)e=this.a.Qm(t)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)e=this.a.Qm(t)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)e=this.a.Qm(t)+"{"+this.c+",}";else throw R(new yo("Token#toString(): CLOSURE "+this.c+ka+this.b));else if(this.c<0&&this.b<0)e=this.a.Qm(t)+"*?";else if(this.c==this.b)e=this.a.Qm(t)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)e=this.a.Qm(t)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)e=this.a.Qm(t)+"{"+this.c+",}?";else throw R(new yo("Token#toString(): NONGREEDYCLOSURE "+this.c+ka+this.b));return e},"Pte"),h.b=0,h.c=0;var CHn=S(Jd,"RegEx/Token/ClosureToken",318);C(837,122,tk,eY),h.Lm=n(function(t){return t==0?this.a:this.b},"Rte"),h.Pm=n(function(){return 2},"Ste"),h.Qm=n(function(t){var e;return this.b.e==3&&this.b.Lm(0)==this.a?e=this.a.Qm(t)+"+":this.b.e==9&&this.b.Lm(0)==this.a?e=this.a.Qm(t)+"+?":e=this.a.Qm(t)+(""+this.b.Qm(t)),e},"Tte");var THn=S(Jd,"RegEx/Token/ConcatToken",837);C(1945,122,tk,jAt),h.Lm=n(function(t){if(t==0)return this.d;if(t==1)return this.b;throw R(new yo("Internal Error: "+t))},"Vte"),h.Pm=n(function(){return this.b?2:1},"Wte"),h.Qm=n(function(t){var e;return this.c>0?e="(?("+this.c+")":this.a.e==8?e="(?("+this.a+")":e="(?"+this.a,this.b?e+=this.d+"|"+this.b+")":e+=this.d+")",e},"Xte"),h.c=0;var SHn=S(Jd,"RegEx/Token/ConditionToken",1945);C(1946,122,tk,SEt),h.Lm=n(function(t){return this.b},"Zte"),h.Pm=n(function(){return 1},"$te"),h.Qm=n(function(t){return"(?"+(this.a==0?"":$et(this.a))+(this.c==0?"":$et(this.c))+":"+this.b.Qm(t)+")"},"_te"),h.a=0,h.c=0;var EHn=S(Jd,"RegEx/Token/ModifierToken",1946);C(838,122,tk,uY),h.Lm=n(function(t){return this.a},"bue"),h.Pm=n(function(){return 1},"cue"),h.Qm=n(function(t){var e;switch(e=null,this.e){case 6:this.b==0?e="(?:"+this.a.Qm(t)+")":e="("+this.a.Qm(t)+")";break;case 20:e="(?="+this.a.Qm(t)+")";break;case 21:e="(?!"+this.a.Qm(t)+")";break;case 22:e="(?<="+this.a.Qm(t)+")";break;case 23:e="(?"+this.a.Qm(t)+")"}return e},"due"),h.b=0;var BHn=S(Jd,"RegEx/Token/ParenToken",838);C(530,122,{3:1,122:1,530:1},HI),h.Mm=n(function(){return this.b},"fue"),h.Qm=n(function(t){return this.e==12?"\\"+this.a:j9e(this.b)},"gue"),h.a=0;var MHn=S(Jd,"RegEx/Token/StringToken",530);C(477,122,tk,o7),h.Jm=n(function(t){Zf(this,t)},"jue"),h.Lm=n(function(t){return l(cg(this.a,t),122)},"kue"),h.Pm=n(function(){return this.a?this.a.a.c.length:0},"lue"),h.Qm=n(function(t){var e,r,i,a,c;if(this.e==1){if(this.a.a.c.length==2)e=l(cg(this.a,0),122),r=l(cg(this.a,1),122),r.e==3&&r.Lm(0)==e?a=e.Qm(t)+"+":r.e==9&&r.Lm(0)==e?a=e.Qm(t)+"+?":a=e.Qm(t)+(""+r.Qm(t));else{for(c=new F0,i=0;i=this.c.b:this.a<=this.c.b},"Uue"),h.Sb=n(function(){return this.b>0},"Vue"),h.Tb=n(function(){return this.b},"Xue"),h.Vb=n(function(){return this.b-1},"Zue"),h.Qb=n(function(){throw R(new L0(QDe))},"$ue"),h.a=0,h.b=0;var DHn=S(ZKt,"ExclusiveRange/RangeIterator",258),Yl=Y5(lz,"C"),yn=Y5(pT,"I"),Uc=Y5(iv,"Z"),Mb=Y5(wT,"J"),yc=Y5(fT,"B"),qi=Y5(bT,"D"),Im=Y5(gT,"F"),U4=Y5(mT,"S"),rcn=Rr("org.eclipse.elk.core.labels","ILabelManager"),pte=Rr(xa,"DiagnosticChain"),wte=Rr(SDe,"ResourceSet"),mte=S(xa,"InvocationTargetException",null),AWe=(QE(),bpe),LWe=LWe=a6e;swe(roe),rwe("permProps",[[["locale","default"],[JDe,"gecko1_8"]],[["locale","default"],[JDe,"safari"]]]),LWe(null,"elk",null)}).call(this)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(y,k,T){"use strict";function B(j,$){if(!(j instanceof $))throw new TypeError("Cannot call a class as a function")}n(B,"_classCallCheck");function v(j,$){if(!j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return $&&(typeof $=="object"||typeof $=="function")?$:j}n(v,"_possibleConstructorReturn");function M(j,$){if(typeof $!="function"&&$!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof $);j.prototype=Object.create($&&$.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),$&&(Object.setPrototypeOf?Object.setPrototypeOf(j,$):j.__proto__=$)}n(M,"_inherits");var L=y("./elk-api.js").default,F=(function(j){M($,j);function $(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};B(this,$);var U=Object.assign({},z),V=!1;try{y.resolve("web-worker"),V=!0}catch{}if(z.workerUrl)if(V){var nt=y("web-worker");U.workerFactory=function(et){return new nt(et)}}else console.warn(`Web worker requested but 'web-worker' package not installed. +Consider installing the package or pass your own 'workerFactory' to ELK's constructor. +... Falling back to non-web worker version.`);if(!U.workerFactory){var at=y("./elk-worker.min.js"),dt=at.Worker;U.workerFactory=function(et){return new dt(et)}}return v(this,($.__proto__||Object.getPrototypeOf($)).call(this,U))}return n($,"ELKNode"),$})(L);Object.defineProperty(k.exports,"__esModule",{value:!0}),k.exports=F,F.default=F},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(y,k,T){k.exports=Worker},{}]},{},[3])(3)})}),rKn=typeof performance<"u"&&typeof performance.now=="function";globalThis.injected??={includeLargeFeatures:!0,profiling:!1,version:"0.0.0"};Wee=n((s,o,{depth:f=2}={})=>{let g={depth:f};if(Array.isArray(o)&&!Array.isArray(s))return o.forEach(p=>Wee(s,p,g)),s;if(Array.isArray(o)&&Array.isArray(s))return o.forEach(p=>{s.includes(p)||s.push(p)}),s;if(s==null||f<=0)return s!=null&&typeof s=="object"&&typeof o=="object"?Object.assign(s,o):o;if(o!=null&&typeof s=="object"&&typeof o=="object"){let p=s;Object.entries(o).forEach(([y,k])=>{if(typeof k=="object"){if(k===null)return;Object.hasOwn(s,y)||Object.defineProperty(s,y,{value:void 0,writable:!0,enumerable:!0,configurable:!0}),p[y]===void 0&&(p[y]=Array.isArray(k)?[]:{}),typeof p[y]=="object"&&(p[y]=Wee(p[y],k,{depth:f-1}))}else typeof p[y]!="object"&&(Object.hasOwn(s,y)?p[y]=k:Object.defineProperty(s,y,{value:k,writable:!0,enumerable:!0,configurable:!0}))})}return s},"assignWithDepth"),t5=Wee,iKn=vlt(Uln(),1),qr={trace:n((...s)=>{},"trace"),debug:n((...s)=>{},"debug"),info:n((...s)=>{},"info"),warn:n((...s)=>{},"warn"),error:n((...s)=>{},"error"),fatal:n((...s)=>{},"fatal")},uht={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:n(s=>s>=255?255:s<0?0:s,"r"),g:n(s=>s>=255?255:s<0?0:s,"g"),b:n(s=>s>=255?255:s<0?0:s,"b"),h:n(s=>s%360,"h"),s:n(s=>s>=100?100:s<0?0:s,"s"),l:n(s=>s>=100?100:s<0?0:s,"l"),a:n(s=>s>=1?1:s<0?0:s,"a")},toLinear:n(s=>{let o=s/255;return s>.03928?Math.pow((o+.055)/1.055,2.4):o/12.92},"toLinear"),hue2rgb:n((s,o,f)=>(f<0&&(f+=1),f>1&&(f-=1),f<.16666666666666666?s+(o-s)*6*f:f<.5?o:f<.6666666666666666?s+(o-s)*(.6666666666666666-f)*6:s),"hue2rgb"),hsl2rgb:n(({h:s,s:o,l:f},g)=>{if(!o)return f*2.55;s/=360,o/=100,f/=100;let p=f<.5?f*(1+o):f+o-f*o,y=2*f-p;switch(g){case"r":return uht.hue2rgb(y,p,s+.3333333333333333)*255;case"g":return uht.hue2rgb(y,p,s)*255;case"b":return uht.hue2rgb(y,p,s-.3333333333333333)*255}},"hsl2rgb"),rgb2hsl:n(({r:s,g:o,b:f},g)=>{s/=255,o/=255,f/=255;let p=Math.max(s,o,f),y=Math.min(s,o,f),k=(p+y)/2;if(g==="l")return k*100;if(p===y)return 0;let T=p-y,B=k>.5?T/(2-p-y):T/(p+y);if(g==="s")return B*100;switch(p){case s:return((o-f)/T+(oo>f?Math.min(o,Math.max(f,s)):Math.min(f,Math.max(o,s)),"clamp"),round:n(s=>Math.round(s*1e10)/1e10,"round")},Qln=Yln,Jln={dec2hex:n(s=>{let o=Math.round(s).toString(16);return o.length>1?o:`0${o}`},"dec2hex")},Zln=Jln,thn={channel:Xln,lang:Qln,unit:Zln},ga=thn,Yk={};for(let s=0;s<=255;s++)Yk[s]=ga.unit.dec2hex(s);pd={ALL:0,RGB:1,HSL:2},ehn=class{static{n(this,"Type")}constructor(){this.type=pd.ALL}get(){return this.type}set(s){if(this.type&&this.type!==s)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=s}reset(){this.type=pd.ALL}is(s){return this.type===s}},nhn=ehn,rhn=class{static{n(this,"Channels")}constructor(s,o){this.color=o,this.changed=!1,this.data=s,this.type=new nhn}set(s,o){return this.color=o,this.changed=!1,this.data=s,this.type.type=pd.ALL,this}_ensureHSL(){let s=this.data,{h:o,s:f,l:g}=s;o===void 0&&(s.h=ga.channel.rgb2hsl(s,"h")),f===void 0&&(s.s=ga.channel.rgb2hsl(s,"s")),g===void 0&&(s.l=ga.channel.rgb2hsl(s,"l"))}_ensureRGB(){let s=this.data,{r:o,g:f,b:g}=s;o===void 0&&(s.r=ga.channel.hsl2rgb(s,"r")),f===void 0&&(s.g=ga.channel.hsl2rgb(s,"g")),g===void 0&&(s.b=ga.channel.hsl2rgb(s,"b"))}get r(){let s=this.data,o=s.r;return!this.type.is(pd.HSL)&&o!==void 0?o:(this._ensureHSL(),ga.channel.hsl2rgb(s,"r"))}get g(){let s=this.data,o=s.g;return!this.type.is(pd.HSL)&&o!==void 0?o:(this._ensureHSL(),ga.channel.hsl2rgb(s,"g"))}get b(){let s=this.data,o=s.b;return!this.type.is(pd.HSL)&&o!==void 0?o:(this._ensureHSL(),ga.channel.hsl2rgb(s,"b"))}get h(){let s=this.data,o=s.h;return!this.type.is(pd.RGB)&&o!==void 0?o:(this._ensureRGB(),ga.channel.rgb2hsl(s,"h"))}get s(){let s=this.data,o=s.s;return!this.type.is(pd.RGB)&&o!==void 0?o:(this._ensureRGB(),ga.channel.rgb2hsl(s,"s"))}get l(){let s=this.data,o=s.l;return!this.type.is(pd.RGB)&&o!==void 0?o:(this._ensureRGB(),ga.channel.rgb2hsl(s,"l"))}get a(){return this.data.a}set r(s){this.type.set(pd.RGB),this.changed=!0,this.data.r=s}set g(s){this.type.set(pd.RGB),this.changed=!0,this.data.g=s}set b(s){this.type.set(pd.RGB),this.changed=!0,this.data.b=s}set h(s){this.type.set(pd.HSL),this.changed=!0,this.data.h=s}set s(s){this.type.set(pd.HSL),this.changed=!0,this.data.s=s}set l(s){this.type.set(pd.HSL),this.changed=!0,this.data.l=s}set a(s){this.changed=!0,this.data.a=s}},ihn=rhn,ahn=new ihn({r:0,g:0,b:0,a:0},"transparent"),nut=ahn,gYe={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:n(s=>{if(s.charCodeAt(0)!==35)return;let o=s.match(gYe.re);if(!o)return;let f=o[1],g=parseInt(f,16),p=f.length,y=p%4===0,k=p>4,T=k?1:17,B=k?8:4,v=y?0:-1,M=k?255:15;return nut.set({r:(g>>B*(v+3)&M)*T,g:(g>>B*(v+2)&M)*T,b:(g>>B*(v+1)&M)*T,a:y?(g&M)*T/255:1},s)},"parse"),stringify:n(s=>{let{r:o,g:f,b:g,a:p}=s;return p<1?`#${Yk[Math.round(o)]}${Yk[Math.round(f)]}${Yk[Math.round(g)]}${Yk[Math.round(p*255)]}`:`#${Yk[Math.round(o)]}${Yk[Math.round(f)]}${Yk[Math.round(g)]}`},"stringify")},OK=gYe,dht={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:n(s=>{let o=s.match(dht.hueRe);if(o){let[,f,g]=o;switch(g){case"grad":return ga.channel.clamp.h(parseFloat(f)*.9);case"rad":return ga.channel.clamp.h(parseFloat(f)*180/Math.PI);case"turn":return ga.channel.clamp.h(parseFloat(f)*360)}}return ga.channel.clamp.h(parseFloat(s))},"_hue2deg"),parse:n(s=>{let o=s.charCodeAt(0);if(o!==104&&o!==72)return;let f=s.match(dht.re);if(!f)return;let[,g,p,y,k,T]=f;return nut.set({h:dht._hue2deg(g),s:ga.channel.clamp.s(parseFloat(p)),l:ga.channel.clamp.l(parseFloat(y)),a:k?ga.channel.clamp.a(T?parseFloat(k)/100:parseFloat(k)):1},s)},"parse"),stringify:n(s=>{let{h:o,s:f,l:g,a:p}=s;return p<1?`hsla(${ga.lang.round(o)}, ${ga.lang.round(f)}%, ${ga.lang.round(g)}%, ${p})`:`hsl(${ga.lang.round(o)}, ${ga.lang.round(f)}%, ${ga.lang.round(g)}%)`},"stringify")},Jlt=dht,fht={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:n(s=>{s=s.toLowerCase();let o=fht.colors[s];if(o)return OK.parse(o)},"parse"),stringify:n(s=>{let o=OK.stringify(s);for(let f in fht.colors)if(fht.colors[f]===o)return f},"stringify")},FVe=fht,pYe={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:n(s=>{let o=s.charCodeAt(0);if(o!==114&&o!==82)return;let f=s.match(pYe.re);if(!f)return;let[,g,p,y,k,T,B,v,M]=f;return nut.set({r:ga.channel.clamp.r(p?parseFloat(g)*2.55:parseFloat(g)),g:ga.channel.clamp.g(k?parseFloat(y)*2.55:parseFloat(y)),b:ga.channel.clamp.b(B?parseFloat(T)*2.55:parseFloat(T)),a:v?ga.channel.clamp.a(M?parseFloat(v)/100:parseFloat(v)):1},s)},"parse"),stringify:n(s=>{let{r:o,g:f,b:g,a:p}=s;return p<1?`rgba(${ga.lang.round(o)}, ${ga.lang.round(f)}, ${ga.lang.round(g)}, ${ga.lang.round(p)})`:`rgb(${ga.lang.round(o)}, ${ga.lang.round(f)}, ${ga.lang.round(g)})`},"stringify")},Zlt=pYe,ohn={format:{keyword:FVe,hex:OK,rgb:Zlt,rgba:Zlt,hsl:Jlt,hsla:Jlt},parse:n(s=>{if(typeof s!="string")return s;let o=OK.parse(s)||Zlt.parse(s)||Jlt.parse(s)||FVe.parse(s);if(o)return o;throw new Error(`Unsupported color format: "${s}"`)},"parse"),stringify:n(s=>!s.changed&&s.color?s.color:s.type.is(pd.HSL)||s.data.r===void 0?Jlt.stringify(s):s.a<1||!Number.isInteger(s.r)||!Number.isInteger(s.g)||!Number.isInteger(s.b)?Zlt.stringify(s):OK.stringify(s),"stringify")},r5=ohn,shn=n((s,o)=>{let f=r5.parse(s);for(let g in o)f[g]=ga.channel.clamp[g](o[g]);return r5.stringify(f)},"change"),wYe=shn,chn=n((s,o,f=0,g=1)=>{if(typeof s!="number")return wYe(s,{a:o});let p=nut.set({r:ga.channel.clamp.r(s),g:ga.channel.clamp.g(o),b:ga.channel.clamp.b(f),a:ga.channel.clamp.a(g)});return r5.stringify(p)},"rgba"),t9=chn,lhn=n(s=>{let{r:o,g:f,b:g}=r5.parse(s),p=.2126*ga.channel.toLinear(o)+.7152*ga.channel.toLinear(f)+.0722*ga.channel.toLinear(g);return ga.lang.round(p)},"luminance"),hhn=lhn,uhn=n(s=>hhn(s)>=.5,"isLight"),dhn=uhn,fhn=n(s=>!dhn(s),"isDark"),Fb=fhn,bhn=n((s,o,f)=>{let g=r5.parse(s),p=g[o],y=ga.channel.clamp[o](p+f);return p!==y&&(g[o]=y),r5.stringify(g)},"adjustChannel"),mYe=bhn,ghn=n((s,o)=>mYe(s,"l",o),"lighten"),$e=ghn,phn=n((s,o)=>mYe(s,"l",-o),"darken"),Re=phn,whn=n((s,o)=>{let f=r5.parse(s),g={};for(let p in o)o[p]&&(g[p]=f[p]+o[p]);return wYe(s,g)},"adjust"),ut=whn,mhn=n((s,o,f=50)=>{let{r:g,g:p,b:y,a:k}=r5.parse(s),{r:T,g:B,b:v,a:M}=r5.parse(o),L=f/100,F=L*2-1,j=k-M,$=((F*j===-1?F:(F+j)/(1+F*j))+1)/2,z=1-$,U=g*$+T*z,V=p*$+B*z,nt=y*$+v*z,at=k*L+M*(1-L);return t9(U,V,nt,at)},"mix"),yhn=mhn,vhn=n((s,o=100)=>{let f=r5.parse(s);return f.r=255-f.r,f.g=255-f.g,f.b=255-f.b,yhn(f,s,o)},"invert"),fe=vhn,o5="#ffffff",s5="#f2f2f2",Zi=n((s,o)=>o?ut(s,{s:-40,l:10}):ut(s,{s:-40,l:-10}),"mkBorder"),OVe=n(s=>typeof s=="object"&&s!==null&&!Array.isArray(s),"isPlainObject"),Km=n((s,o)=>OVe(s)&&OVe(o)?{...s,...o}:o,"applyOverride"),khn=class{static{n(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.useGradient=!0,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,1))"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||ut(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ut(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||Zi(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||Zi(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||Zi(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||Zi(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||fe(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||fe(this.tertiaryColor),this.lineColor=this.lineColor||fe(this.background),this.arrowheadColor=this.arrowheadColor||fe(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Re(this.secondaryColor,30):this.secondaryColor),this.flowContainerStroke=this.flowContainerStroke||this.secondaryBorderColor,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||Re(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||fe(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,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||$e(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.noteFontWeight=this.noteFontWeight||"normal",this.fontWeight=this.fontWeight||"normal",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.darkMode?(this.rowOdd=this.rowOdd||Re(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||Re(this.mainBkg,10)):(this.rowOdd=this.rowOdd||$e(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||$e(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||ut(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ut(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ut(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ut(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ut(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ut(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||ut(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ut(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ut(this.primaryColor,{h:330}),this.darkMode)for(let o=0;o{this[f]=s[f]}),this.updateColors(),o.forEach(f=>{this[f]=Km(this[f],s[f])}),Object.hasOwn(s,"nodeBorder")&&!Object.hasOwn(s,"useGradient")&&(this.useGradient=!1)}},xhn=n(s=>{let o=new khn;return o.calculate(s),o},"getThemeVariables"),Chn=class{static{n(this,"Theme")}constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=$e(this.primaryColor,16),this.tertiaryColor=ut(this.primaryColor,{h:-160}),this.primaryBorderColor=fe(this.background),this.secondaryBorderColor=Zi(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Zi(this.tertiaryColor,this.darkMode),this.primaryTextColor=fe(this.primaryColor),this.secondaryTextColor=fe(this.secondaryColor),this.tertiaryTextColor=fe(this.tertiaryColor),this.lineColor=fe(this.background),this.textColor=fe(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=$e(fe("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=t9(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,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.clusterBkg="#302F3D",this.sectionBkgColor=Re("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=Re(this.sectionBkgColor,10),this.taskBorderColor=t9(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=t9(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||$e(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||Re(this.mainBkg,10),this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd",this.useGradient=!0,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,1))",this.noteFontWeight=this.noteFontWeight||"normal",this.fontWeight=this.fontWeight||"normal"}updateColors(){this.secondBkg=$e(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=$e(this.labelBackground,25),this.flowContainerStroke=this.flowContainerStroke||this.secondaryBorderColor,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.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.background,this.taskBkgColor=$e(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=fe(this.doneTaskBkgColor),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=ut(this.primaryColor,{h:64}),this.fillType3=ut(this.secondaryColor,{h:64}),this.fillType4=ut(this.primaryColor,{h:-64}),this.fillType5=ut(this.secondaryColor,{h:-64}),this.fillType6=ut(this.primaryColor,{h:128}),this.fillType7=ut(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||ut(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ut(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ut(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ut(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ut(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ut(this.primaryColor,{h:210}),this.cScale9=this.cScale9||ut(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ut(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ut(this.primaryColor,{h:330});for(let s=0;s{this[f]=s[f]}),this.updateColors(),o.forEach(f=>{this[f]=Km(this[f],s[f])})}},Thn=n(s=>{let o=new Chn;return o.calculate(s),o},"getThemeVariables"),Shn=class{static{n(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=ut(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=ut(this.primaryColor,{h:-160}),this.primaryBorderColor=Zi(this.primaryColor,this.darkMode),this.secondaryBorderColor=Zi(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Zi(this.tertiaryColor,this.darkMode),this.primaryTextColor=fe(this.primaryColor),this.secondaryTextColor=fe(this.secondaryColor),this.tertiaryTextColor=fe(this.tertiaryColor),this.lineColor=fe(this.background),this.textColor=fe(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.primaryBorderColor=Zi(this.primaryColor,this.darkMode),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.radius=5,this.strokeWidth=1,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.clusterBkg="#FBFBFF",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=t9(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.noteFontWeight=this.noteFontWeight||"normal",this.fontWeight=this.fontWeight||"normal",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.useGradient=!1,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow(1px 2px 2px rgba(185, 185, 185, 1))",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||ut(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ut(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ut(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ut(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ut(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ut(this.primaryColor,{h:210}),this.cScale9=this.cScale9||ut(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ut(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ut(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||Re(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||Re(this.tertiaryColor,40);for(let s=0;s{this[f]==="calculated"&&(this[f]=void 0)}),typeof s!="object"){this.updateColors();return}let o=Object.keys(s);o.forEach(f=>{this[f]=s[f]}),this.updateColors(),o.forEach(f=>{this[f]=Km(this[f],s[f])})}},Ehn=n(s=>{let o=new Shn;return o.calculate(s),o},"getThemeVariables"),Bhn=class{static{n(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=$e("#cde498",10),this.primaryBorderColor=Zi(this.primaryColor,this.darkMode),this.secondaryBorderColor=Zi(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Zi(this.tertiaryColor,this.darkMode),this.primaryTextColor=fe(this.primaryColor),this.secondaryTextColor=fe(this.secondaryColor),this.tertiaryTextColor=fe(this.primaryColor),this.lineColor=fe(this.background),this.textColor=fe(this.background),this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,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.noteFontWeight="normal",this.fontWeight="normal",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.useGradient=!0,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,0.5))"}updateColors(){this.actorBorder=Re(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.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||ut(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ut(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ut(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ut(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ut(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ut(this.primaryColor,{h:210}),this.cScale9=this.cScale9||ut(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ut(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ut(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||Re(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||Re(this.tertiaryColor,40);for(let s=0;s{this[f]=s[f]}),this.updateColors(),o.forEach(f=>{this[f]=Km(this[f],s[f])})}},Mhn=n(s=>{let o=new Bhn;return o.calculate(s),o},"getThemeVariables"),Ahn=class{static{n(this,"Theme")}constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=$e(this.contrast,55),this.background="#ffffff",this.tertiaryColor=ut(this.primaryColor,{h:-160}),this.primaryBorderColor=Zi(this.primaryColor,this.darkMode),this.secondaryBorderColor=Zi(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Zi(this.tertiaryColor,this.darkMode),this.primaryTextColor=fe(this.primaryColor),this.secondaryTextColor=fe(this.secondaryColor),this.tertiaryTextColor=fe(this.tertiaryColor),this.lineColor=fe(this.background),this.textColor=fe(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.radius=5,this.strokeWidth=1,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor=this.actorBorder,this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.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.noteFontWeight="normal",this.fontWeight="normal",this.rowOdd=this.rowOdd||$e(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||"#f4f4f4",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.useGradient=!0,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,1))"}updateColors(){this.secondBkg=$e(this.contrast,55),this.border2=this.contrast,this.actorBorder=$e(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,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 s=0;s{this[f]=s[f]}),this.updateColors(),o.forEach(f=>{this[f]=Km(this[f],s[f])})}},Lhn=n(s=>{let o=new Ahn;return o.calculate(s),o},"getThemeVariables"),_hn=class{static{n(this,"Theme")}constructor(){this.background="#ffffff",this.primaryColor="#cccccc",this.mainBkg="#ffffff",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.radius=3,this.strokeWidth=2,this.primaryBorderColor=Zi(this.primaryColor,this.darkMode),this.fontFamily="arial, sans-serif",this.fontSize="14px",this.nodeBorder="#000000",this.stateBorder="#000000",this.useGradient=!0,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="drop-shadow( 0px 1px 2px rgba(0, 0, 0, 0.25));",this.tertiaryColor="#ffffff",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal"}updateColors(){this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||ut(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ut(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||Zi(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||Zi(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||Zi(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||Zi(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||fe(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||fe(this.tertiaryColor),this.lineColor=this.lineColor||fe(this.background),this.arrowheadColor=this.arrowheadColor||fe(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Re(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.flowContainerStroke=this.flowContainerStroke||this.secondaryBorderColor,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||Re(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||fe(this.lineColor),this.rectBkgColor=this.rectBkgColor||(Fb(this.background)?$e(this.background,4):Re(this.background,4));let s="#ECECFE",o="#E9E9F1",f=ut(s,{h:180,l:5});if(this.sectionBkgColor=this.sectionBkgColor||f,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||o,this.sectionBkgColor2=this.sectionBkgColor2||s,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||s,this.activeTaskBorderColor=this.activeTaskBorderColor||s,this.activeTaskBkgColor=this.activeTaskBkgColor||$e(s,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",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||s,this.cScale1=this.cScale1||o,this.cScale2=this.cScale2||f,this.cScale3=this.cScale3||ut(s,{h:30}),this.cScale4=this.cScale4||ut(s,{h:60}),this.cScale5=this.cScale5||ut(s,{h:90}),this.cScale6=this.cScale6||ut(s,{h:120}),this.cScale7=this.cScale7||ut(s,{h:150}),this.cScale8=this.cScale8||ut(s,{h:210,l:150}),this.cScale9=this.cScale9||ut(s,{h:270}),this.cScale10=this.cScale10||ut(s,{h:300}),this.cScale11=this.cScale11||ut(s,{h:330}),this.darkMode)for(let p=0;p{this[f]=s[f]}),this.updateColors(),o.forEach(f=>{this[f]=Km(this[f],s[f])})}},Fhn=n(s=>{let o=new _hn;return o.calculate(s),o},"getThemeVariables"),Ohn=class{static{n(this,"Theme")}constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=$e(this.primaryColor,16),this.tertiaryColor=ut(this.primaryColor,{h:-160}),this.primaryBorderColor=fe(this.background),this.secondaryBorderColor=Zi(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Zi(this.tertiaryColor,this.darkMode),this.primaryTextColor=fe(this.primaryColor),this.secondaryTextColor=fe(this.secondaryColor),this.tertiaryTextColor=fe(this.tertiaryColor),this.mainBkg="#2a2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=$e(fe("#323D47"),10),this.border1="#ccc",this.border2=t9(255,255,255,.25),this.arrowheadColor=fe(this.background),this.fontFamily="arial, sans-serif",this.fontSize="14px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=3,this.strokeWidth=1,this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily="arial, sans-serif",this.fontSize="14px",this.useGradient=!0,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,0.2))",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||ut(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ut(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||Zi(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||Zi(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||Zi(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||Zi(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||fe(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||fe(this.tertiaryColor),this.lineColor=this.lineColor||fe(this.background),this.arrowheadColor=this.arrowheadColor||fe(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.secondBkg=this.secondBkg==="calculated"?$e(this.mainBkg,16):this.secondBkg,this.nodeBorder=this.nodeBorder||this.border1,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Re(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.flowContainerStroke=this.flowContainerStroke||this.secondaryBorderColor,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||Re(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||fe(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,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||$e(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||this.secondBkg,this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.vertLineColor=this.vertLineColor||this.primaryBorderColor,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.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",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||ut(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ut(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ut(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ut(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ut(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ut(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||ut(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ut(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ut(this.primaryColor,{h:330}),this.darkMode)for(let o=0;o{this[f]=s[f]}),this.updateColors(),o.forEach(f=>{this[f]=Km(this[f],s[f])})}},Dhn=n(s=>{let o=new Ohn;return o.calculate(s),o},"getThemeVariables"),jhn=class{static{n(this,"Theme")}constructor(){this.background="#ffffff",this.primaryColor="#cccccc",this.mainBkg="#ffffff",this.noteBkgColor="#fff5ad",this.noteTextColor="#28253D",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.primaryBorderColor=Zi("#28253D",this.darkMode),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#28253D",this.stateBorder="#28253D",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.tertiaryColor="#ffffff",this.clusterBkg="#F9F9FB",this.clusterBorder="#BDBCCC",this.noteBorderColor="#FACC15",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.actorBorder="#28253D",this.filterColor="#000000"}updateColors(){this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#28253D"),this.secondaryColor=this.secondaryColor||ut(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ut(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||Zi(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||Zi(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||Zi(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||Zi(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#FEF9C3",this.noteTextColor=this.noteTextColor||"#28253D",this.secondaryTextColor=this.secondaryTextColor||fe(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||fe(this.tertiaryColor),this.lineColor=this.lineColor||fe(this.background),this.arrowheadColor=this.arrowheadColor||fe(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Re(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.flowContainerStroke=this.flowContainerStroke||this.secondaryBorderColor,this.noteFontWeight=600,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||Re(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||fe(this.lineColor),this.rectBkgColor=this.rectBkgColor||(Fb(this.background)?$e(this.background,4):Re(this.background,4));let s="#ECECFE",o="#E9E9F1",f=ut(s,{h:180,l:5});this.sectionBkgColor=this.sectionBkgColor||f,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||o,this.sectionBkgColor2=this.sectionBkgColor2||s,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||s,this.activeTaskBorderColor=this.activeTaskBorderColor||s,this.activeTaskBkgColor=this.activeTaskBkgColor||$e(s,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,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.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.compositeTitleBackground="#F9F9FB",this.altBackground="#F9F9FB",this.stateEdgeLabelBackground="#FFFFFF",this.fontWeight=600,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.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor;for(let p=0;p{this[f]=s[f]}),this.updateColors(),o.forEach(f=>{this[f]=Km(this[f],s[f])})}},Ihn=n(s=>{let o=new jhn;return o.calculate(s),o},"getThemeVariables"),Phn=class{static{n(this,"Theme")}constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=$e(this.primaryColor,16),this.tertiaryColor=ut(this.primaryColor,{h:-160}),this.primaryBorderColor=fe(this.background),this.secondaryBorderColor=Zi(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Zi(this.tertiaryColor,this.darkMode),this.primaryTextColor=fe(this.primaryColor),this.secondaryTextColor=fe(this.secondaryColor),this.tertiaryTextColor=fe(this.tertiaryColor),this.mainBkg="#111113",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=$e(fe("#323D47"),10),this.border1="#ccc",this.border2=t9(255,255,255,.25),this.arrowheadColor=fe(this.background),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.labelBackground="#111113",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.noteBkgColor=this.noteBkgColor??"#FEF9C3",this.noteTextColor=this.noteTextColor??"#28253D",this.THEME_COLOR_LIMIT=12,this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#FFFFFF",this.stateBorder="#FFFFFF",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.clusterBkg="#1E1A2E",this.clusterBorder="#BDBCCC",this.noteBorderColor="#FACC15",this.noteFontWeight=600,this.filterColor="#FFFFFF"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#FFFFFF"),this.secondaryColor=this.secondaryColor||ut(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ut(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||Zi(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||Zi(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||Zi(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||Zi(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#FFFFFF",this.secondaryTextColor=this.secondaryTextColor||fe(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||fe(this.tertiaryColor),this.lineColor=this.lineColor||fe(this.background),this.arrowheadColor=this.arrowheadColor||fe(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.secondBkg=this.secondBkg==="calculated"?$e(this.mainBkg,16):this.secondBkg,this.nodeBorder=this.nodeBorder||this.border1,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Re(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.flowContainerStroke=this.flowContainerStroke||this.secondaryBorderColor,this.actorBorder="#FFFFFF",this.signalColor="#FFFFFF",this.labelBoxBorderColor="#BDBCCC",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||Re(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||fe(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,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||$e(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||this.secondBkg,this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.compositeBackground="#16141F",this.altBackground="#16141F",this.compositeTitleBackground="#16141F",this.stateEdgeLabelBackground="#16141F",this.fontWeight=600,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.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||ut(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ut(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ut(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ut(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ut(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ut(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||ut(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ut(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ut(this.primaryColor,{h:330}),this.darkMode)for(let o=0;o{this[f]=s[f]}),this.updateColors(),o.forEach(f=>{this[f]=Km(this[f],s[f])})}},$hn=n(s=>{let o=new Phn;return o.calculate(s),o},"getThemeVariables"),Nhn=class{static{n(this,"Theme")}constructor(){this.background="#ffffff",this.primaryColor="#cccccc",this.mainBkg="#ffffff",this.noteBkgColor="#fff5ad",this.noteTextColor="#28253D",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.primaryBorderColor=Zi("#28253D",this.darkMode),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#28253D",this.stateBorder="#28253D",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.tertiaryColor="#ffffff",this.clusterBkg="#F9F9FB",this.clusterBorder="#BDBCCC",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.actorBorder="#28253D",this.noteBorderColor="#FACC15",this.noteFontWeight=600,this.borderColorArray=["#E879F9","#2DD4BF","#FB923C","#22D3EE","#4ADE80","#A78BFA","#F87171","#FACC15","#818CF8","#A3E635 ","#38BDF8","#FB7185"],this.bkgColorArray=["#FDF4FF","#F0FDFA","#FFF7ED","#ECFEFF","#F0FDF4","#F5F3FF","#FEF2F2","#FEFCE8","#EEF2FF","#F7FEE7","#F0F9FF","#FFF1F2"],this.usecaseActorBorder="#A78BFA",this.usecaseActorBkg="#F5F3FF",this.usecaseBorder="#2DD4BF",this.usecaseBkg="#F0FDFA",this.usecaseBoundaryBorder="#BDBCCC",this.usecaseBoundaryBkg="#FAFAFC",this.usecaseIncludeLine="#38BDF8",this.usecaseExtendLine="#FB923C",this.filterColor="#000000"}updateColors(){this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#28253D"),this.secondaryColor=this.secondaryColor||ut(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ut(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||Zi(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||Zi(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||Zi(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||Zi(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#28253D",this.secondaryTextColor=this.secondaryTextColor||fe(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||fe(this.tertiaryColor),this.lineColor=this.lineColor||fe(this.background),this.arrowheadColor=this.arrowheadColor||fe(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Re(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.flowContainerStroke=this.flowContainerStroke||this.secondaryBorderColor,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||Re(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||fe(this.lineColor),this.rectBkgColor=this.rectBkgColor||(Fb(this.background)?$e(this.background,4):Re(this.background,4));let s="#ECECFE",o="#E9E9F1",f=ut(s,{h:180,l:5});this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||s,this.activeTaskBorderColor=this.activeTaskBorderColor||s,this.activeTaskBkgColor=this.activeTaskBkgColor||$e(s,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,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.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateEdgeLabelBackground=this.stateEdgeLabelBackground||"#FFFFFF",this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#F9F9FB",this.compositeTitleBackground=this.compositeTitleBackground||"#F9F9FB",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||"#f4a8ff",this.cScale1=this.cScale1||"#46ecd5",this.cScale2=this.cScale2||"#ffb86a",this.cScale3=this.cScale3||"#dab2ff",this.cScale4=this.cScale4||"#7bf1a8",this.cScale5=this.cScale5||"#c4b4ff",this.cScale6=this.cScale6||"#ffa2a2",this.cScale7=this.cScale7||"#ffdf20",this.cScale8=this.cScale8||"#a3b3ff",this.cScale9=this.cScale9||"#bbf451",this.cScale10=this.cScale10||"#74d4ff",this.cScale11=this.cScale11||"#ffa1ad",this.sectionBkgColor=this.sectionBkgColor||this.cScale0,this.sectionBkgColor2=this.sectionBkgColor2||this.cScale1,this.altSectionBkgColor=this.altSectionBkgColor||"white";for(let p=0;p{this[f]=s[f]}),this.updateColors(),o.forEach(f=>{this[f]=Km(this[f],s[f])})}},Rhn=n(s=>{let o=new Nhn;return o.calculate(s),o},"getThemeVariables"),zhn=class{static{n(this,"Theme")}constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=$e(this.primaryColor,16),this.tertiaryColor=ut(this.primaryColor,{h:-160}),this.primaryBorderColor=fe(this.background),this.secondaryBorderColor=Zi(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Zi(this.tertiaryColor,this.darkMode),this.primaryTextColor=fe(this.primaryColor),this.secondaryTextColor=fe(this.secondaryColor),this.tertiaryTextColor=fe(this.tertiaryColor),this.mainBkg="#111113",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=$e(fe("#323D47"),10),this.border1="#ccc",this.border2=t9(255,255,255,.25),this.arrowheadColor=fe(this.background),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.labelBackground="#111113",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.noteBkgColor=this.noteBkgColor??"#FEF9C3",this.noteTextColor=this.noteTextColor??"#28253D",this.THEME_COLOR_LIMIT=12,this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#FFFFFF",this.stateBorder="#FFFFFF",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.clusterBkg="#1E1A2E",this.clusterBorder="#BDBCCC",this.noteBorderColor="#FACC15",this.noteFontWeight=600,this.borderColorArray=["#E879F9","#2DD4BF","#FB923C","#22D3EE","#4ADE80","#A78BFA","#F87171","#FACC15","#818CF8","#A3E635 ","#38BDF8","#FB7185"],this.bkgColorArray=[],this.usecaseActorBorder="#A78BFA",this.usecaseBorder="#2DD4BF",this.usecaseBoundaryBorder="#BDBCCC",this.usecaseIncludeLine="#38BDF8",this.usecaseExtendLine="#FB923C",this.filterColor="#FFFFFF"}updateColors(){this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#FFFFFF"),this.secondaryColor=this.secondaryColor||ut(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ut(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||Zi(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||Zi(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||Zi(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||Zi(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#FFFFFF",this.secondaryTextColor=this.secondaryTextColor||fe(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||fe(this.tertiaryColor),this.lineColor=this.lineColor||fe(this.background),this.arrowheadColor=this.arrowheadColor||fe(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.secondBkg=this.secondBkg==="calculated"?$e(this.mainBkg,16):this.secondBkg,this.nodeBorder=this.nodeBorder||this.border1,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Re(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.flowContainerStroke=this.flowContainerStroke||this.secondaryBorderColor,this.actorBorder="#FFFFFF",this.signalColor="#FFFFFF",this.labelBoxBorderColor="#BDBCCC",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||Re(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||fe(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.rootLabelColor="#FFFFFF",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||$e(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||this.secondBkg,this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,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.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateEdgeLabelBackground=this.stateEdgeLabelBackground||"#16141F",this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||"#16141F",this.altBackground=this.altBackground||"#16141F",this.compositeTitleBackground=this.compositeTitleBackground||"#16141F",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||"#f4a8ff",this.cScale1=this.cScale1||"#46ecd5",this.cScale2=this.cScale2||"#ffb86a",this.cScale3=this.cScale3||"#dab2ff",this.cScale4=this.cScale4||"#7bf1a8",this.cScale5=this.cScale5||"#c4b4ff",this.cScale6=this.cScale6||"#ffa2a2",this.cScale7=this.cScale7||"#ffdf20",this.cScale8=this.cScale8||"#a3b3ff",this.cScale9=this.cScale9||"#bbf451",this.cScale10=this.cScale10||"#74d4ff",this.cScale11=this.cScale11||"#ffa1ad",this.sectionBkgColor=this.sectionBkgColor||this.cScale0,this.sectionBkgColor2=this.sectionBkgColor2||this.cScale1,this.altSectionBkgColor=this.altSectionBkgColor||this.background;for(let o=0;o{this["fillType"+f]=this["fillType"+f]||o});for(let o=0;o{this[f]=s[f]}),this.updateColors(),o.forEach(f=>{this[f]=Km(this[f],s[f])})}},qhn=n(s=>{let o=new zhn;return o.calculate(s),o},"getThemeVariables"),Aht={base:{getThemeVariables:xhn},dark:{getThemeVariables:Thn},default:{getThemeVariables:Ehn},forest:{getThemeVariables:Mhn},neutral:{getThemeVariables:Lhn},neo:{getThemeVariables:Fhn},"neo-dark":{getThemeVariables:Dhn},redux:{getThemeVariables:Ihn},"redux-dark":{getThemeVariables:$hn},"redux-color":{getThemeVariables:Rhn},"redux-dark-color":{getThemeVariables:qhn}},nu={flowchart:{useMaxWidth:!0,theme:"redux-color",look:"neo",titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:null,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,wrappingWidth:120,minNodeWidth:120,inheritDir:!1},swimlane:{useMaxWidth:!0,theme:"redux-color",look:"neo",layout:"swimlane",lineHops:"arc",ignoreCrossLaneEdges:!0,optimizeRanksByCrossings:!0,automaticLaneOrdering:!1},agentflow:{useMaxWidth:!0,theme:"redux-color",look:"neo",titleTopMargin:25,diagramPadding:8,nodeSpacing:50,rankSpacing:50,wrappingWidth:120,minNodeWidth:120},sequence:{useMaxWidth:!0,theme:"redux-color",look:"neo",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,theme:"redux-color",look:"neo",titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,htmlLabels:!1,hideEmptyMembersBox:!1,hierarchicalNamespaces:!0},state:{useMaxWidth:!0,theme:"redux-color",look:"neo",layout:"elk",wrappingWidth:120,minNodeWidth:120,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},er:{useMaxWidth:!0,theme:"redux-color",look:"neo",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,donutHole:0,legendPosition:"right",highlightSlice:""},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,showDataLabelOutsideBar:!1,showTitle:!0,showLegend:!0,legendFontSize:14,legendPadding:10,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,labelRotation:0},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,labelRotation:0},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,theme:"redux-color",look:"neo",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"},ishikawa:{useMaxWidth:!0,diagramPadding:20},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:"",nodeWidth:10,nodePadding:12,labelStyle:"legacy"},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,bitOrder:"ascending",paddingX:5,paddingY:5},treeView:{useMaxWidth:!0,rowIndent:10,paddingX:5,paddingY:5,lineThickness:1,showIcons:!1,defaultIconPack:"",filenameIcons:{},extensionIcons:{}},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16,randomize:!1,nodeSeparation:75,idealEdgeLengthMultiplier:1.5,edgeElasticity:.45,numIter:2500,seed:1},eventmodeling:{useMaxWidth:!0,padding:30,rowHeight:32},radar:{useMaxWidth:!0,width:600,height:600,marginTop:50,marginRight:50,marginBottom:50,marginLeft:50,axisScaleFactor:1,axisLabelFactor:1.05,curveTension:.17},usecase:{useMaxWidth:!0,theme:"redux-color",look:"neo",wrappingWidth:120,minNodeWidth:120,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:"normal",usecaseFontSize:12,usecaseFontFamily:'"Open Sans", sans-serif',usecaseFontWeight:"normal",nodeSpacing:50,rankSpacing:50,diagramPadding:20,colorScheme:"role"},venn:{useMaxWidth:!0,theme:"redux-color",look:"neo",width:800,height:450,padding:8,useDebugLayout:!1},cynefin:{useMaxWidth:!0,width:800,height:600,padding:40,showDomainDescriptions:!0,boundaryAmplitude:8,seed:0},theme:"default",look:"classic",handDrawnSeed:0,layout:"elk",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},yYe={...nu,deterministicIDSeed:void 0,elk:{mergeEdges:!1,straightenEdges:!0,lineHops:!0,preset:"default",nodePlacementStrategy:void 0,layeringStrategy:void 0,cycleBreakingStrategy:void 0,layeringLayerBound:4,nodePlacementAlignment:void 0,forceNodeModelOrder:!1,considerModelOrder:"NODES_AND_EDGES",keepEntryNodeOnTop:!1,orientFeedbackEdges:!0},themeCSS:void 0,themeVariables:Aht.default.getThemeVariables(),sequence:{...nu.sequence,messageFont:n(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:n(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:n(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{theme:nu.class?.theme,look:nu.class?.look,layout:nu.class?.layout,hideEmptyMembersBox:!1,hierarchicalNamespaces:!0},gantt:{...nu.gantt,tickInterval:void 0,useWidth:void 0},c4:{...nu.c4,useWidth:void 0,personFont:n(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),flowchart:{...nu.flowchart,inheritDir:!1},external_personFont:n(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:n(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:n(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:n(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:n(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:n(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:n(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:n(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:n(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:n(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:n(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:n(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:n(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:n(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:n(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:n(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:n(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:n(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:n(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:n(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:n(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...nu.pie,useWidth:984},xyChart:{...nu.xyChart,useWidth:void 0},requirement:{...nu.requirement,useWidth:void 0},packet:{...nu.packet},eventmodeling:{...nu.eventmodeling},treeView:{...nu.treeView,useWidth:void 0},radar:{...nu.radar},usecase:{...nu.usecase},railroad:{...nu.railroad,fontSize:void 0,fontFamily:void 0,terminalFill:void 0,terminalStroke:void 0,terminalTextColor:void 0,nonTerminalFill:void 0,nonTerminalStroke:void 0,nonTerminalTextColor:void 0,lineColor:void 0,markerFill:void 0,commentFill:void 0,commentStroke:void 0,commentTextColor:void 0,specialFill:void 0,specialStroke:void 0,ruleNameColor:void 0},ishikawa:{...nu.ishikawa},sankey:{...nu.sankey,nodeColors:void 0},treemap:{useMaxWidth:!0,padding:10,diagramPadding:8,showValues:!0,nodeWidth:100,nodeHeight:40,borderWidth:1,valueFontSize:12,labelFontSize:14,valueFormat:","},venn:{...nu.venn},cynefin:{...nu.cynefin}},vYe=n((s,o="")=>Object.keys(s).reduce((f,g)=>Array.isArray(s[g])?f:typeof s[g]=="object"&&s[g]!==null?[...f,o+g,...vYe(s[g],"")]:[...f,o+g],[]),"keyify"),Hhn=new Set(vYe(yYe,"")),kYe=yYe,Khn={nodeColors:/^#[\da-f]{3,8}$|^rgb\([\d\s%,.]+\)$|^hsl\([\d\s%,.]+\)$|^[a-z]+$/i,filenameIcons:/^[\w-]+(?::[\w-]+)?$/,extensionIcons:/^[\w-]+(?::[\w-]+)?$/},Uhn=n((s,o)=>{for(let f of Object.keys(s)){let g=s[f];(f.startsWith("__")||f.includes("proto")||f.includes("constr")||typeof g!="string"||!o.test(g))&&(qr.debug("sanitize deleting dictionary entry:",f,g),delete s[f])}},"sanitizeDictionaryConfig"),Gee=n(s=>{if(qr.debug("sanitizeDirective called with",s),!(typeof s!="object"||s==null)){if(Array.isArray(s)){s.forEach(o=>Gee(o));return}for(let o of Object.keys(s)){if(qr.debug("Checking key",o),o.startsWith("__")||o.includes("proto")||o.includes("constr")||!Hhn.has(o)||s[o]==null){qr.debug("sanitize deleting key: ",o),delete s[o];continue}if(typeof s[o]=="object"){let g=Khn[o];g?Uhn(s[o],g):(qr.debug("sanitizing object",o),Gee(s[o]));continue}let f=["themeCSS","fontFamily","altFontFamily"];for(let g of f)o.includes(g)&&(qr.debug("sanitizing css option",o),s[o]=Whn(s[o]))}if(s.themeVariables)for(let o of Object.keys(s.themeVariables)){let f=s.themeVariables[o];f?.match&&!f.match(/^[\d "#%(),.;A-Za-z]+$/)&&(s.themeVariables[o]="")}qr.debug("After sanitization",s)}},"sanitizeDirective"),Whn=n(s=>{let o=0,f=0;for(let g of s){if(os==="theme"?o==="null"||Object.hasOwn(Aht,o):s!=="look"||Vhn.has(o),"isUsableAppearance"),Yhn=n((s,o,f)=>s?[s[o]?.[f],s[f]].find(g=>g!==void 0&&Xhn(f,g)):void 0,"readAppearance"),d6=n(s=>!(s===!1||["false","null","0"].includes(String(s).trim().toLowerCase())),"evaluate"),Qhn=t5({},pre),Zhn={},tun=[],DK=t5({},pre),eun=n((s,o)=>{if(!Cee)return;let f=[o,...[...tun].reverse(),Zhn,pre],g=s[Cee];for(let p of Ghn)for(let y of f){let k=Yhn(y,Cee,p);if(k!==void 0){s[p]=k,g?.[p]!==void 0&&(g[p]=k);break}}},"resolveAppearance"),nun=n((s,o)=>{let f=t5({},s),g={};for(let p of o)xYe(p),g=t5(g,p);if(f=t5(f,g),eun(f,g),(!!g.theme||f.theme!==s.theme)&&f.theme&&Object.hasOwn(Aht,f.theme)){let p=t5({},Jhn),y=t5(p.themeVariables||{},g.themeVariables);f.themeVariables=Aht[f.theme].getThemeVariables(y)}return DK=f,aun(DK),DK},"updateCurrentConfig"),run=n(s=>(nun(DK,[s]),B0()),"setConfig"),B0=n(()=>t5({},DK),"getConfig"),xYe=n(s=>{s&&(["secure",...Qhn.secure??[]].forEach(o=>{Object.hasOwn(s,o)&&(qr.debug(`Denied attempt to modify a secure key ${o}`,s[o]),delete s[o])}),Object.keys(s).forEach(o=>{o.startsWith("__")&&delete s[o]}),Object.keys(s).forEach(o=>{typeof s[o]=="string"&&(s[o].includes("<")||s[o].includes(">")||s[o].includes("url(data:"))&&delete s[o],typeof s[o]=="object"&&xYe(s[o])}))},"sanitize"),iun={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",FLOWCHART_HTML_LABELS_DEPRECATED:"flowchart.htmlLabels is deprecated. Please use global htmlLabels instead."},DVe={},CYe=n(s=>{DVe[s]||(qr.warn(iun[s]),DVe[s]=!0)},"issueWarning"),aun=n(s=>{s&&(s.lazyLoadedDiagrams||s.loadExternalDiagramsAtStartup)&&CYe("LAZY_LOAD_DEPRECATED")},"checkConfig"),M0=n(s=>(s.flowchart?.htmlLabels!=null&&CYe("FLOWCHART_HTML_LABELS_DEPRECATED"),d6(s.htmlLabels??s.flowchart?.htmlLabels??!0)),"getEffectiveHtmlLabels"),oun=vlt(Gln(),1),sun={value:n(()=>{},"value")};n(wre,"dispatch");n(jK,"Dispatch");n(TYe,"parseTypenames");jK.prototype=wre.prototype={constructor:jK,on:n(function(s,o){var f=this._,g=TYe(s+"",f),p,y=-1,k=g.length;if(arguments.length<2){for(;++y0)for(var f=new Array(p),g=0,p,y;g=0&&(this._names.splice(o,1),this._node.setAttribute("class",this._names.join(" ")))},"remove"),contains:n(function(s){return this._names.indexOf(s)>=0},"contains")};n(Ere,"classedAdd");n(Bre,"classedRemove");n(kQe,"classedTrue");n(xQe,"classedFalse");n(CQe,"classedFunction");n(TQe,"default");n(SQe,"textRemove");n(EQe,"textConstant");n(BQe,"textFunction");n(MQe,"default");n(AQe,"htmlRemove");n(LQe,"htmlConstant");n(_Qe,"htmlFunction");n(FQe,"default");n(OQe,"raise");n(DQe,"default");n(jQe,"lower");n(IQe,"default");n(PQe,"default");n($Qe,"constantNull");n(NQe,"default");n(RQe,"remove");n(zQe,"default");n(qQe,"selection_cloneShallow");n(HQe,"selection_cloneDeep");n(KQe,"default");n(UQe,"default");n(WQe,"contextListener");n(GQe,"parseTypenames");n(VQe,"onRemove");n(XQe,"onAdd");n(YQe,"default");n(Mre,"dispatchEvent");n(QQe,"dispatchConstant");n(JQe,"dispatchFunction");n(ZQe,"default");n(tJe,"default");eJe=[null];n(Ob,"Selection");n(Are,"selection");n(nJe,"selection_selection");Ob.prototype=Are.prototype={constructor:Ob,select:AYe,selectAll:OYe,selectChild:IYe,selectChildren:NYe,filter:RYe,data:WYe,enter:zYe,exit:VYe,join:XYe,merge:YYe,selection:nJe,order:QYe,sort:JYe,call:tQe,nodes:eQe,node:nQe,size:rQe,empty:iQe,each:aQe,attr:dQe,style:pQe,property:vQe,classed:TQe,text:MQe,html:FQe,raise:DQe,lower:IQe,append:PQe,insert:NQe,remove:zQe,clone:KQe,datum:UQe,on:YQe,dispatch:ZQe,[Symbol.iterator]:tJe};cU=Are;n(qo,"default");n(aut,"default");n(Lre,"extend");n(LO,"Color");qK=.7,Lht=1/qK,TO="\\s*([+-]?\\d+)\\s*",HK="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",n5="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",uun=/^#([0-9a-f]{3,8})$/,dun=new RegExp(`^rgb\\(${TO},${TO},${TO}\\)$`),fun=new RegExp(`^rgb\\(${n5},${n5},${n5}\\)$`),bun=new RegExp(`^rgba\\(${TO},${TO},${TO},${HK}\\)$`),gun=new RegExp(`^rgba\\(${n5},${n5},${n5},${HK}\\)$`),pun=new RegExp(`^hsl\\(${HK},${n5},${n5}\\)$`),wun=new RegExp(`^hsla\\(${HK},${n5},${n5},${HK}\\)$`),IVe={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};aut(LO,MO,{copy(s){return Object.assign(new this.constructor,this,s)},displayable(){return this.rgb().displayable()},hex:Yee,formatHex:Yee,formatHex8:rJe,formatHsl:iJe,formatRgb:Qee,toString:Qee});n(Yee,"color_formatHex");n(rJe,"color_formatHex8");n(iJe,"color_formatHsl");n(Qee,"color_formatRgb");n(MO,"color");n(Jee,"rgbn");n(mK,"rgba");n(aJe,"rgbConvert");n(KK,"rgb");n(mf,"Rgb");aut(mf,KK,Lre(LO,{brighter(s){return s=s==null?Lht:Math.pow(Lht,s),new mf(this.r*s,this.g*s,this.b*s,this.opacity)},darker(s){return s=s==null?qK:Math.pow(qK,s),new mf(this.r*s,this.g*s,this.b*s,this.opacity)},rgb(){return this},clamp(){return new mf(e9(this.r),e9(this.g),e9(this.b),UK(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Zee,formatHex:Zee,formatHex8:oJe,formatRgb:tne,toString:tne}));n(Zee,"rgb_formatHex");n(oJe,"rgb_formatHex8");n(tne,"rgb_formatRgb");n(UK,"clampa");n(e9,"clampi");n(Zk,"hex");n(ene,"hsla");n(_re,"hslConvert");n(sJe,"hsl");n(Y2,"Hsl");aut(Y2,sJe,Lre(LO,{brighter(s){return s=s==null?Lht:Math.pow(Lht,s),new Y2(this.h,this.s,this.l*s,this.opacity)},darker(s){return s=s==null?qK:Math.pow(qK,s),new Y2(this.h,this.s,this.l*s,this.opacity)},rgb(){var s=this.h%360+(this.h<0)*360,o=isNaN(s)||isNaN(this.s)?0:this.s,f=this.l,g=f+(f<.5?f:1-f)*o,p=2*f-g;return new mf(bht(s>=240?s-240:s+120,p,g),bht(s,p,g),bht(s<120?s+240:s-120,p,g),this.opacity)},clamp(){return new Y2(nne(this.h),yK(this.s),yK(this.l),UK(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let s=UK(this.opacity);return`${s===1?"hsl(":"hsla("}${nne(this.h)}, ${yK(this.s)*100}%, ${yK(this.l)*100}%${s===1?")":`, ${s})`}`}}));n(nne,"clamph");n(yK,"clampt");n(bht,"hsl2rgb");n(Fre,"basis");n(cJe,"default");n(lJe,"default");hJe=n(s=>()=>s,"default");n(uJe,"linear");n(dJe,"exponential");n(fJe,"gamma");n(Ore,"nogamma");PVe=n((function s(o){var f=fJe(o);function g(p,y){var k=f((p=KK(p)).r,(y=KK(y)).r),T=f(p.g,y.g),B=f(p.b,y.b),v=Ore(p.opacity,y.opacity);return function(M){return p.r=k(M),p.g=T(M),p.b=B(M),p.opacity=v(M),p+""}}return n(g,"rgb"),g.gamma=s,g}),"rgbGamma")(1);n(Dre,"rgbSpline");aKn=Dre(cJe),oKn=Dre(lJe);n(a6,"default");rne=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Tee=new RegExp(rne.source,"g");n(bJe,"zero");n(gJe,"one");n(pJe,"default");$Ve=180/Math.PI,ine={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};n(jre,"default");n(wJe,"parseCss");n(mJe,"parseSvg");n(Ire,"interpolateTransform");mun=Ire(wJe,"px, ","px)","deg)"),yun=Ire(mJe,", ",")",")"),AO=0,vK=0,lK=0,yJe=1e3,Fht=0,nE=0,out=0,WK=typeof performance=="object"&&performance.now?performance:Date,vJe=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(s){setTimeout(s,17)};n(sut,"now");n(kJe,"clearNow");n(GK,"Timer");GK.prototype=Pre.prototype={constructor:GK,restart:n(function(s,o,f){if(typeof s!="function")throw new TypeError("callback is not a function");f=(f==null?sut():+f)+(o==null?0:+o),!this._next&&kK!==this&&(kK?kK._next=this:_ht=this,kK=this),this._call=s,this._time=f,Oht()},"restart"),stop:n(function(){this._call&&(this._call=null,this._time=1/0,Oht())},"stop")};n(Pre,"timer");n(xJe,"timerFlush");n(ane,"wake");n(CJe,"poke");n(TJe,"nap");n(Oht,"sleep");n(one,"default");vun=cun("start","end","cancel","interrupt"),kun=[],SJe=0,NVe=1,sne=2,ght=3,RVe=4,cne=5,pht=6;n(lU,"default");n(cut,"init");n(Um,"set");n(Q2,"get");n(EJe,"create");n(BJe,"default");n(MJe,"default");n(AJe,"tweenRemove");n(LJe,"tweenFunction");n(_Je,"default");n(lut,"tweenValue");n($re,"default");n(FJe,"attrRemove");n(OJe,"attrRemoveNS");n(DJe,"attrConstant");n(jJe,"attrConstantNS");n(IJe,"attrFunction");n(PJe,"attrFunctionNS");n($Je,"default");n(NJe,"attrInterpolate");n(RJe,"attrInterpolateNS");n(zJe,"attrTweenNS");n(qJe,"attrTween");n(HJe,"default");n(KJe,"delayFunction");n(UJe,"delayConstant");n(WJe,"default");n(GJe,"durationFunction");n(VJe,"durationConstant");n(XJe,"default");n(YJe,"easeConstant");n(QJe,"default");n(JJe,"easeVarying");n(ZJe,"default");n(tZe,"default");n(eZe,"default");n(nZe,"start");n(rZe,"onFunction");n(iZe,"default");n(aZe,"removeFunction");n(oZe,"default");n(sZe,"default");n(cZe,"default");xun=cU.prototype.constructor;n(lZe,"default");n(hZe,"styleNull");n(Nre,"styleRemove");n(uZe,"styleConstant");n(dZe,"styleFunction");n(fZe,"styleMaybeRemove");n(bZe,"default");n(gZe,"styleInterpolate");n(pZe,"styleTween");n(wZe,"default");n(mZe,"textConstant");n(yZe,"textFunction");n(vZe,"default");n(kZe,"textInterpolate");n(xZe,"textTween");n(CZe,"default");n(TZe,"default");n(SZe,"default");Cun=0;n(i5,"Transition");n(EZe,"transition");n(Rre,"newId");n6=cU.prototype;i5.prototype=EZe.prototype={constructor:i5,select:sZe,selectAll:cZe,selectChild:n6.selectChild,selectChildren:n6.selectChildren,filter:tZe,merge:eZe,selection:lZe,transition:TZe,call:n6.call,nodes:n6.nodes,node:n6.node,size:n6.size,empty:n6.empty,each:n6.each,on:iZe,attr:$Je,attrTween:HJe,style:bZe,styleTween:wZe,text:vZe,textTween:CZe,remove:oZe,tween:_Je,delay:WJe,duration:XJe,ease:QJe,easeVarying:ZJe,end:SZe,[Symbol.iterator]:n6[Symbol.iterator]};n(BZe,"cubicInOut");Tun={time:null,delay:0,duration:250,ease:BZe};n(MZe,"inherit");n(AZe,"default");cU.prototype.interrupt=MJe;cU.prototype.transition=AZe;({abs:sKn,max:cKn,min:lKn}=Math);n(lne,"number1");n(LZe,"number2");hKn={name:"x",handles:["w","e"].map(hut),input:n(function(s,o){return s==null?null:[[+s[0],o[0][1]],[+s[1],o[1][1]]]},"input"),output:n(function(s){return s&&[s[0][0],s[1][0]]},"output")},uKn={name:"y",handles:["n","s"].map(hut),input:n(function(s,o){return s==null?null:[[o[0][0],+s[0]],[o[1][0],+s[1]]]},"input"),output:n(function(s){return s&&[s[0][1],s[1][1]]},"output")},dKn={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(hut),input:n(function(s){return s==null?null:LZe(s)},"input"),output:n(function(s){return s},"output")};n(hut,"type");hne=Math.PI,une=2*hne,WS=1e-6,Sun=une-WS;n(zre,"append");n(_Ze,"appendRound");qre=class{static{n(this,"Path")}constructor(s){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=s==null?zre:_Ze(s)}moveTo(s,o){this._append`M${this._x0=this._x1=+s},${this._y0=this._y1=+o}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(s,o){this._append`L${this._x1=+s},${this._y1=+o}`}quadraticCurveTo(s,o,f,g){this._append`Q${+s},${+o},${this._x1=+f},${this._y1=+g}`}bezierCurveTo(s,o,f,g,p,y){this._append`C${+s},${+o},${+f},${+g},${this._x1=+p},${this._y1=+y}`}arcTo(s,o,f,g,p){if(s=+s,o=+o,f=+f,g=+g,p=+p,p<0)throw new Error(`negative radius: ${p}`);let y=this._x1,k=this._y1,T=f-s,B=g-o,v=y-s,M=k-o,L=v*v+M*M;if(this._x1===null)this._append`M${this._x1=s},${this._y1=o}`;else if(L>WS)if(!(Math.abs(M*T-B*v)>WS)||!p)this._append`L${this._x1=s},${this._y1=o}`;else{let F=f-y,j=g-k,$=T*T+B*B,z=F*F+j*j,U=Math.sqrt($),V=Math.sqrt(L),nt=p*Math.tan((hne-Math.acos(($+L-z)/(2*U*V)))/2),at=nt/V,dt=nt/U;Math.abs(at-1)>WS&&this._append`L${s+at*v},${o+at*M}`,this._append`A${p},${p},0,0,${+(M*F>v*j)},${this._x1=s+dt*T},${this._y1=o+dt*B}`}}arc(s,o,f,g,p,y){if(s=+s,o=+o,f=+f,y=!!y,f<0)throw new Error(`negative radius: ${f}`);let k=f*Math.cos(g),T=f*Math.sin(g),B=s+k,v=o+T,M=1^y,L=y?g-p:p-g;this._x1===null?this._append`M${B},${v}`:(Math.abs(this._x1-B)>WS||Math.abs(this._y1-v)>WS)&&this._append`L${B},${v}`,f&&(L<0&&(L=L%une+une),L>Sun?this._append`A${f},${f},0,1,${M},${s-k},${o-T}A${f},${f},0,1,${M},${this._x1=B},${this._y1=v}`:L>WS&&this._append`A${f},${f},0,${+(L>=hne)},${M},${this._x1=s+f*Math.cos(p)},${this._y1=o+f*Math.sin(p)}`)}rect(s,o,f,g){this._append`M${this._x0=this._x1=+s},${this._y0=this._y1=+o}h${f=+f}v${+g}h${-f}Z`}toString(){return this._}};n(FZe,"path");FZe.prototype=qre.prototype;n(GS,"default");zVe=1e-12,OZe=Math.PI,fKn=OZe/2,bKn=2*OZe;n(DZe,"withPath");gKn=Array.prototype.slice;n(jZe,"default");n(Hre,"Linear");Hre.prototype={areaStart:n(function(){this._line=0},"areaStart"),areaEnd:n(function(){this._line=NaN},"areaEnd"),lineStart:n(function(){this._point=0},"lineStart"),lineEnd:n(function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:n(function(s,o){switch(s=+s,o=+o,this._point){case 0:this._point=1,this._line?this._context.lineTo(s,o):this._context.moveTo(s,o);break;case 1:this._point=2;default:this._context.lineTo(s,o);break}},"point")};n(ZS,"default");n(IZe,"x");n(PZe,"y");n($Ze,"default");NZe=class{static{n(this,"Bump")}constructor(s,o){this._context=s,this._x=o}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(s,o){switch(s=+s,o=+o,this._point){case 0:{this._point=1,this._line?this._context.lineTo(s,o):this._context.moveTo(s,o);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+s)/2,this._y0,this._x0,o,s,o):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+o)/2,s,this._y0,s,o);break}}this._x0=s,this._y0=o}};n(Kre,"bumpX");n(Ure,"bumpY");n(l6,"default");n(VK,"point");n(hU,"Basis");hU.prototype={areaStart:n(function(){this._line=0},"areaStart"),areaEnd:n(function(){this._line=NaN},"areaEnd"),lineStart:n(function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},"lineStart"),lineEnd:n(function(){switch(this._point){case 3:VK(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:n(function(s,o){switch(s=+s,o=+o,this._point){case 0:this._point=1,this._line?this._context.lineTo(s,o):this._context.moveTo(s,o);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:VK(this,s,o);break}this._x0=this._x1,this._x1=s,this._y0=this._y1,this._y1=o},"point")};n(Dht,"default");n(Wre,"BasisClosed");Wre.prototype={areaStart:l6,areaEnd:l6,lineStart:n(function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},"lineStart"),lineEnd:n(function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},"lineEnd"),point:n(function(s,o){switch(s=+s,o=+o,this._point){case 0:this._point=1,this._x2=s,this._y2=o;break;case 1:this._point=2,this._x3=s,this._y3=o;break;case 2:this._point=3,this._x4=s,this._y4=o,this._context.moveTo((this._x0+4*this._x1+s)/6,(this._y0+4*this._y1+o)/6);break;default:VK(this,s,o);break}this._x0=this._x1,this._x1=s,this._y0=this._y1,this._y1=o},"point")};n(RZe,"default");n(Gre,"BasisOpen");Gre.prototype={areaStart:n(function(){this._line=0},"areaStart"),areaEnd:n(function(){this._line=NaN},"areaEnd"),lineStart:n(function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},"lineStart"),lineEnd:n(function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:n(function(s,o){switch(s=+s,o=+o,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var f=(this._x0+4*this._x1+s)/6,g=(this._y0+4*this._y1+o)/6;this._line?this._context.lineTo(f,g):this._context.moveTo(f,g);break;case 3:this._point=4;default:VK(this,s,o);break}this._x0=this._x1,this._x1=s,this._y0=this._y1,this._y1=o},"point")};n(zZe,"default");n(Vre,"Bundle");Vre.prototype={lineStart:n(function(){this._x=[],this._y=[],this._basis.lineStart()},"lineStart"),lineEnd:n(function(){var s=this._x,o=this._y,f=s.length-1;if(f>0)for(var g=s[0],p=o[0],y=s[f]-g,k=o[f]-p,T=-1,B;++T<=f;)B=T/f,this._basis.point(this._beta*s[T]+(1-this._beta)*(g+B*y),this._beta*o[T]+(1-this._beta)*(p+B*k));this._x=this._y=null,this._basis.lineEnd()},"lineEnd"),point:n(function(s,o){this._x.push(+s),this._y.push(+o)},"point")};Eun=n((function s(o){function f(g){return o===1?new hU(g):new Vre(g,o)}return n(f,"bundle"),f.beta=function(g){return s(+g)},f}),"custom")(.85);n(XK,"point");n(uut,"Cardinal");uut.prototype={areaStart:n(function(){this._line=0},"areaStart"),areaEnd:n(function(){this._line=NaN},"areaEnd"),lineStart:n(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},"lineStart"),lineEnd:n(function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:XK(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:n(function(s,o){switch(s=+s,o=+o,this._point){case 0:this._point=1,this._line?this._context.lineTo(s,o):this._context.moveTo(s,o);break;case 1:this._point=2,this._x1=s,this._y1=o;break;case 2:this._point=3;default:XK(this,s,o);break}this._x0=this._x1,this._x1=this._x2,this._x2=s,this._y0=this._y1,this._y1=this._y2,this._y2=o},"point")};qZe=n((function s(o){function f(g){return new uut(g,o)}return n(f,"cardinal"),f.tension=function(g){return s(+g)},f}),"custom")(0);n(dut,"CardinalClosed");dut.prototype={areaStart:l6,areaEnd:l6,lineStart:n(function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},"lineStart"),lineEnd:n(function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},"lineEnd"),point:n(function(s,o){switch(s=+s,o=+o,this._point){case 0:this._point=1,this._x3=s,this._y3=o;break;case 1:this._point=2,this._context.moveTo(this._x4=s,this._y4=o);break;case 2:this._point=3,this._x5=s,this._y5=o;break;default:XK(this,s,o);break}this._x0=this._x1,this._x1=this._x2,this._x2=s,this._y0=this._y1,this._y1=this._y2,this._y2=o},"point")};Bun=n((function s(o){function f(g){return new dut(g,o)}return n(f,"cardinal"),f.tension=function(g){return s(+g)},f}),"custom")(0);n(fut,"CardinalOpen");fut.prototype={areaStart:n(function(){this._line=0},"areaStart"),areaEnd:n(function(){this._line=NaN},"areaEnd"),lineStart:n(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},"lineStart"),lineEnd:n(function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:n(function(s,o){switch(s=+s,o=+o,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:XK(this,s,o);break}this._x0=this._x1,this._x1=this._x2,this._x2=s,this._y0=this._y1,this._y1=this._y2,this._y2=o},"point")};Mun=n((function s(o){function f(g){return new fut(g,o)}return n(f,"cardinal"),f.tension=function(g){return s(+g)},f}),"custom")(0);n(but,"point");n(Xre,"CatmullRom");Xre.prototype={areaStart:n(function(){this._line=0},"areaStart"),areaEnd:n(function(){this._line=NaN},"areaEnd"),lineStart:n(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},"lineStart"),lineEnd:n(function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:n(function(s,o){if(s=+s,o=+o,this._point){var f=this._x2-s,g=this._y2-o;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(f*f+g*g,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(s,o):this._context.moveTo(s,o);break;case 1:this._point=2;break;case 2:this._point=3;default:but(this,s,o);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=s,this._y0=this._y1,this._y1=this._y2,this._y2=o},"point")};HZe=n((function s(o){function f(g){return o?new Xre(g,o):new uut(g,0)}return n(f,"catmullRom"),f.alpha=function(g){return s(+g)},f}),"custom")(.5);n(Yre,"CatmullRomClosed");Yre.prototype={areaStart:l6,areaEnd:l6,lineStart:n(function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},"lineStart"),lineEnd:n(function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},"lineEnd"),point:n(function(s,o){if(s=+s,o=+o,this._point){var f=this._x2-s,g=this._y2-o;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(f*f+g*g,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=s,this._y3=o;break;case 1:this._point=2,this._context.moveTo(this._x4=s,this._y4=o);break;case 2:this._point=3,this._x5=s,this._y5=o;break;default:but(this,s,o);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=s,this._y0=this._y1,this._y1=this._y2,this._y2=o},"point")};Aun=n((function s(o){function f(g){return o?new Yre(g,o):new dut(g,0)}return n(f,"catmullRom"),f.alpha=function(g){return s(+g)},f}),"custom")(.5);n(Qre,"CatmullRomOpen");Qre.prototype={areaStart:n(function(){this._line=0},"areaStart"),areaEnd:n(function(){this._line=NaN},"areaEnd"),lineStart:n(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},"lineStart"),lineEnd:n(function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:n(function(s,o){if(s=+s,o=+o,this._point){var f=this._x2-s,g=this._y2-o;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(f*f+g*g,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:but(this,s,o);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=s,this._y0=this._y1,this._y1=this._y2,this._y2=o},"point")};Lun=n((function s(o){function f(g){return o?new Qre(g,o):new fut(g,0)}return n(f,"catmullRom"),f.alpha=function(g){return s(+g)},f}),"custom")(.5);n(Jre,"LinearClosed");Jre.prototype={areaStart:l6,areaEnd:l6,lineStart:n(function(){this._point=0},"lineStart"),lineEnd:n(function(){this._point&&this._context.closePath()},"lineEnd"),point:n(function(s,o){s=+s,o=+o,this._point?this._context.lineTo(s,o):(this._point=1,this._context.moveTo(s,o))},"point")};n(KZe,"default");n(dne,"sign");n(fne,"slope3");n(bne,"slope2");n(wht,"point");n(YK,"MonotoneX");YK.prototype={areaStart:n(function(){this._line=0},"areaStart"),areaEnd:n(function(){this._line=NaN},"areaEnd"),lineStart:n(function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},"lineStart"),lineEnd:n(function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:wht(this,this._t0,bne(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:n(function(s,o){var f=NaN;if(s=+s,o=+o,!(s===this._x1&&o===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(s,o):this._context.moveTo(s,o);break;case 1:this._point=2;break;case 2:this._point=3,wht(this,bne(this,f=fne(this,s,o)),f);break;default:wht(this,this._t0,f=fne(this,s,o));break}this._x0=this._x1,this._x1=s,this._y0=this._y1,this._y1=o,this._t0=f}},"point")};n(Zre,"MonotoneY");(Zre.prototype=Object.create(YK.prototype)).point=function(s,o){YK.prototype.point.call(this,o,s)};n(tie,"ReflectContext");tie.prototype={moveTo:n(function(s,o){this._context.moveTo(o,s)},"moveTo"),closePath:n(function(){this._context.closePath()},"closePath"),lineTo:n(function(s,o){this._context.lineTo(o,s)},"lineTo"),bezierCurveTo:n(function(s,o,f,g,p,y){this._context.bezierCurveTo(o,s,g,f,y,p)},"bezierCurveTo")};n(eie,"monotoneX");n(nie,"monotoneY");n(rie,"Natural");rie.prototype={areaStart:n(function(){this._line=0},"areaStart"),areaEnd:n(function(){this._line=NaN},"areaEnd"),lineStart:n(function(){this._x=[],this._y=[]},"lineStart"),lineEnd:n(function(){var s=this._x,o=this._y,f=s.length;if(f)if(this._line?this._context.lineTo(s[0],o[0]):this._context.moveTo(s[0],o[0]),f===2)this._context.lineTo(s[1],o[1]);else for(var g=gne(s),p=gne(o),y=0,k=1;k=0&&(this._t=1-this._t,this._line=1-this._line)},"lineEnd"),point:n(function(s,o){switch(s=+s,o=+o,this._point){case 0:this._point=1,this._line?this._context.lineTo(s,o):this._context.moveTo(s,o);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,o),this._context.lineTo(s,o);else{var f=this._x*(1-this._t)+s*this._t;this._context.lineTo(f,this._y),this._context.lineTo(f,o)}break}}this._x=s,this._y=o},"point")};n(aie,"default");n(oie,"stepBefore");n(sie,"stepAfter");n(YS,"Transform");YS.prototype={constructor:YS,scale:n(function(s){return s===1?this:new YS(this.k*s,this.x,this.y)},"scale"),translate:n(function(s,o){return s===0&o===0?this:new YS(this.k,this.x+this.k*s,this.y+this.k*o)},"translate"),apply:n(function(s){return[s[0]*this.k+this.x,s[1]*this.k+this.y]},"apply"),applyX:n(function(s){return s*this.k+this.x},"applyX"),applyY:n(function(s){return s*this.k+this.y},"applyY"),invert:n(function(s){return[(s[0]-this.x)/this.k,(s[1]-this.y)/this.k]},"invert"),invertX:n(function(s){return(s-this.x)/this.k},"invertX"),invertY:n(function(s){return(s-this.y)/this.k},"invertY"),rescaleX:n(function(s){return s.copy().domain(s.range().map(this.invertX,this).map(s.invert,s))},"rescaleX"),rescaleY:n(function(s){return s.copy().domain(s.range().map(this.invertY,this).map(s.invert,s))},"rescaleY"),toString:n(function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"},"toString")};_un=new YS(1,0,0);UZe.prototype=YS.prototype;n(UZe,"transform");n(pne,"_arrayLikeToArray");n(WZe,"_arrayWithHoles");n(GZe,"_iterableToArrayLimit");n(VZe,"_nonIterableRest");n(XZe,"_slicedToArray");n(YZe,"_unsupportedIterableToArray");QZe=Object.entries,qVe=Object.setPrototypeOf,Fun=Object.isFrozen,Oun=Object.getPrototypeOf,Dun=Object.getOwnPropertyDescriptor,E0=Object.freeze,A0=Object.seal,pO=Object.create,JZe=typeof Reflect<"u"&&Reflect,wne=JZe.apply,mne=JZe.construct;E0||(E0=n(function(s){return s},"freeze"));A0||(A0=n(function(s){return s},"seal"));wne||(wne=n(function(s,o){for(var f=arguments.length,g=new Array(f>2?f-2:0),p=2;p1?o-1:0),g=1;g"u"?null:ru(BigInt.prototype.toString),GVe=typeof Symbol>"u"?null:ru(Symbol.prototype.toString),P1=ru(Object.prototype.hasOwnProperty),uK=ru(Object.prototype.toString),I1=ru(RegExp.prototype.test),qS=ZZe(TypeError);n(ru,"unapply");n(ZZe,"unconstruct");n(Vo,"addToSet");n(ttn,"cleanArray");n(wd,"clone");n(etn,"stringifyValue");n(Rm,"lookupGetter");n(ntn,"isRegex");VVe=E0(["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"]),Eee=E0(["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"]),Bee=E0(["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"]),Run=E0(["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"]),Mee=E0(["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"]),zun=E0(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),XVe=E0(["#text"]),YVe=E0(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","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","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Aee=E0(["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","dominant-baseline","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-orientation","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"]),QVe=E0(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","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"]),eht=E0(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),qun=A0(/{{[\w\W]*|^[\w\W]*}}/g),Hun=A0(/<%[\w\W]*|^[\w\W]*%>/g),Kun=A0(/\${[\w\W]*/g),Uun=A0(/^data-[\-\w.\u00B7-\uFFFF]+$/),Wun=A0(/^aria-[\-\w]+$/),JVe=A0(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Gun=A0(/^(?:\w+script|data):/i),Vun=A0(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Xun=A0(/^html$/i),Yun=A0(/^[a-z][.\w]*(-[.\w]+)+$/i),ZVe=A0(/<[/\w!]/g),tXe=A0(/<[/\w]/g),Qun=A0(/<\/no(script|embed|frames)/i),Jun=A0(/\/>/i),gp={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Zun=n(function(){return typeof window>"u"?null:window},"getGlobal"),t1n=n(function(s,o){if(typeof s!="object"||typeof s.createPolicy!="function")return null;let f=null,g="data-tt-policy-suffix";o&&o.hasAttribute(g)&&(f=o.getAttribute(g));let p="dompurify"+(f?"#"+f:"");try{return s.createPolicy(p,{createHTML(y){return y},createScriptURL(y){return y}})}catch{return console.warn("TrustedTypes policy "+p+" could not be created."),null}},"_createTrustedTypesPolicy"),eXe=n(function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},"_createHooksMap"),Xk=n(function(s,o,f,g){return P1(s,o)&&Jk(s[o])?Vo(g.base?wd(g.base):{},s[o],g.transform):f},"_resolveSetOption");n(cie,"createDOMPurify");QK=cie(),dU=/<\/?br\s*\/?>/gi,e1n=new RegExp(dU.source,"i"),n1n=n(s=>s?atn(s).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),r1n=(()=>{let s=!1;return()=>{s||(rtn(),s=!0)}})();n(rtn,"setupDompurifyHooks");itn=n(s=>(r1n(),QK.sanitize(s)),"removeScript"),nXe=n((s,o)=>{if(M0(o)){let f=o.securityLevel;f==="antiscript"||f==="strict"||f==="sandbox"?s=itn(s):f!=="loose"&&(s=atn(s),s=s.replace(//g,">"),s=s.replace(/=/g,"="),s=s1n(s))}return s},"sanitizeMore"),Hm=n((s,o)=>s&&(o.dompurifyConfig?s=QK.sanitize(nXe(s,o),o.dompurifyConfig).toString():s=QK.sanitize(nXe(s,o),{FORBID_TAGS:["style"]}).toString(),s),"sanitizeText"),i1n=n((s,o)=>typeof s=="string"?Hm(s,o):s.flat().map(f=>Hm(f,o)),"sanitizeTextOrArray"),a1n=n(s=>e1n.test(s),"hasBreaks"),o1n=n(s=>s.split(dU),"splitBreaks"),s1n=n(s=>s.replace(/#br#/g,"
    "),"placeholderToBreak"),atn=n(s=>s.replace(dU,"#br#"),"breakToPlaceholder"),c1n=n(s=>{let o="";return s&&(o=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,o=CSS.escape(o)),o},"getUrl"),l1n=n(function(...s){let o=s.filter(f=>!isNaN(f));return Math.max(...o)},"getMax"),h1n=n(function(...s){let o=s.filter(f=>!isNaN(f));return Math.min(...o)},"getMin"),rXe=n(function(s){let o=s.split(/(,)/),f=[];for(let g=0;g0&&g+1Math.max(0,s.split(o).length-1),"countOccurrence"),u1n=n((s,o)=>{let f=yne(s,"~"),g=yne(o,"~");return f===1&&g===1},"shouldCombineSets"),d1n=n(s=>{let o=yne(s,"~"),f=!1;if(o<=1)return s;o%2!==0&&s.startsWith("~")&&(s=s.substring(1),f=!0);let g=[...s],p=g.indexOf("~"),y=g.lastIndexOf("~");for(;p!==-1&&y!==-1&&p!==y;)g[p]="<",g[y]=">",p=g.indexOf("~"),y=g.lastIndexOf("~");return f&&g.unshift("~"),g.join("")},"processSet"),iXe=n(()=>window.MathMLElement!==void 0,"isMathMLSupported"),mht=/\$\$(.*?)\$\$/g,JK=n(s=>(s.match(mht)?.length??0)>0,"hasKatex"),f1n=n(async(s,o)=>{if(!JK(s))return s;if(!(iXe()||o.legacyMathML||o.forceLegacyMathML))return s.replace(mht,"MathML is unsupported in this environment.");{let{default:f}=await Promise.resolve().then(()=>(SVe(),TVe)),g=o.forceLegacyMathML||!iXe()&&o.legacyMathML?"htmlAndMathml":"mathml";return s.split(dU).map(p=>JK(p)?`
    ${p}
    `:`
    ${p}
    `).join("").replace(mht,(p,y)=>f.renderToString(y,{throwOnError:!0,displayMode:!0,output:g}).replace(/\n/g," ").replace(//g,""))}return s.replace(mht,"Katex is not supported in @mermaid-js/tiny. Please use the full mermaid library.")},"renderKatexUnsanitized"),b1n=n(async(s,o)=>Hm(await f1n(s,o),o),"renderKatexSanitized"),gut={getRows:n1n,sanitizeText:Hm,sanitizeTextOrArray:i1n,hasBreaks:a1n,splitBreaks:o1n,lineBreakRegex:dU,removeScript:itn,getUrl:c1n,evaluate:d6,getMax:l1n,getMin:h1n},yht=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,jht=/\s/,g1n=n(s=>{let o="",f=0,g=0;for(;gf&&jht.test(s[k-1]);)k--;o+=s.slice(f,k)+` +`,f=y+1,g=f}return o+s.slice(f)},"stripAnyComments"),vht=n(s=>s===` +`||s==="\r","isLineBreak"),p1n=n((s,o)=>{let f=-1;for(let g=o;g{let o=0;for(;ovht(s[M])&&s.startsWith(p,M+1)?p1n(s,M+1+p.length):-1,"closingEnd"),k=g[0]+1,T=-1;for(let M=k;MT.args);Gee(k),g=t5(g,[...k])}else g=f.args;if(!g)return;let p=v1n(s,o),y="config";return g[y]!==void 0&&(p==="flowchart-v2"&&(p="flowchart"),g[p]=g[y],delete g[y]),g},"detectInit"),xtn=n(function(s,o=null){try{let f=new RegExp(`[%]{2}(?![{]${R1n.source})(?=[}][%]{2}).* +`,"ig");s=s.trim().replace(f,"").replace(/'/gm,'"'),qr.debug(`Detecting diagram directive${o!==null?" type:"+o:""} based on the text:${s}`);let g,p=[];for(;(g=yht.exec(s))!==null;)if(g.index===yht.lastIndex&&yht.lastIndex++,g&&!o||o&&g[1]?.match(o)||o&&g[2]?.match(o)){let y=g[1]?g[1]:g[2],k=g[3]?g[3].trim():g[4]?JSON.parse(g[4].trim()):null;p.push({type:y,args:k})}return p.length===0?{type:s,args:null}:p.length===1?p[0]:p}catch(f){return qr.error(`ERROR: ${f.message} - Unable to parse directive type: '${o}' based on the text: '${s}'`),{type:void 0,args:null}}},"detectDirective"),q1n=n(function(s,o){for(let[f,g]of o.entries())if(g.match(s))return f;return-1},"isSubstringInArray");n(Ctn,"interpolateToCurve");n(Ttn,"formatUrl");H1n=n((s,...o)=>{let f=s.split("."),g=f.length-1,p=f[g],y=window;for(let k=0;k{let f=Math.pow(10,o);return Math.round(s*f)/f},"roundNumber"),uie=n((s,o)=>{let f,g=o;for(let p of s){if(f){let y=hie(p,f);if(y===0)return f;if(y=1)return{x:p.x,y:p.y};if(k>0&&k<1)return{x:aXe((1-k)*f.x+k*p.x,5),y:aXe((1-k)*f.y+k*p.y,5)}}}f=p}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),K1n=n((s,o,f)=>{qr.info(`our points ${JSON.stringify(o)}`),o[0]!==f&&(o=o.reverse());let g=uie(o,25),p=s?10:5,y=Math.atan2(o[0].y-g.y,o[0].x-g.x),k={x:0,y:0};return k.x=Math.sin(y)*p+(o[0].x+g.x)/2,k.y=-Math.cos(y)*p+(o[0].y+g.y)/2,k},"calcCardinalityPosition");n(Btn,"calcTerminalLabelPosition");n(Mtn,"getStylesFromArray");oXe=0,U1n=n(()=>(oXe++,"id-"+Math.random().toString(36).substr(2,12)+"-"+oXe),"generateId");n(Atn,"makeRandomHex");W1n=n(s=>Atn(s.length),"random"),G1n=n(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"),V1n=n(function(s,o){let f=o.text.replace(gut.lineBreakRegex," "),[,g]=yut(o.fontSize),p=s.append("text");p.attr("x",o.x),p.attr("y",o.y),p.style("text-anchor",o.anchor),p.style("font-family",o.fontFamily),p.style("font-size",g),p.style("font-weight",o.fontWeight),p.attr("fill",o.fill),o.class!==void 0&&p.attr("class",o.class);let y=p.append("tspan");return y.attr("x",o.x+o.textMargin*2),y.attr("fill",o.fill),y.text(f),p},"drawSimpleText"),X1n=_O((s,o,f)=>{if(!s||(f=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
    "},f),gut.hasBreaks(s)))return s;let g=s.split(" ").filter(Boolean),p=[],y="";return g.forEach((k,T)=>{let B=h6(`${k} `,f),v=h6(y,f);if(B>o){let{hyphenatedStrings:M,remainingWord:L}=Y1n(k,o,"-",f);p.push(y,...M),y=L}else v+B>=o?(p.push(y),y=k):y=[y,k].filter(Boolean).join(" ");T+1===g.length&&p.push(y)}),p.filter(k=>k!=="").join(f.joinWith)},(s,o,f)=>`${s}${o}${f.fontSize}${f.fontWeight}${f.fontFamily}${f.joinWith}`),Y1n=_O((s,o,f="-",g)=>{g=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},g);let p=[...s],y=[],k="";return p.forEach((T,B)=>{let v=`${k}${T}`;if(h6(v,g)>=o){let M=B+1,L=p.length===M,F=`${v}${f}`;y.push(L?v:F),k=""}else k=v}),{hyphenatedStrings:y,remainingWord:k}},(s,o,f="-",g)=>`${s}${o}${f}${g.fontSize}${g.fontWeight}${g.fontFamily}`);n(Ltn,"calculateTextHeight");n(h6,"calculateTextWidth");die=_O((s,o)=>{let{fontSize:f=12,fontFamily:g="Arial",fontWeight:p=400}=o;if(!s)return{width:0,height:0};let[,y]=yut(f),k=["sans-serif",g],T=s.split(gut.lineBreakRegex),B=[],v=qo("body");if(!v.remove)return{width:0,height:0,lineHeight:0};let M=v.append("svg");for(let F of k){let j=0,$={width:0,height:0,lineHeight:0};for(let z of T){let U=G1n();U.text=z||$1n;let V=V1n(M,U).style("font-size",y).style("font-weight",p).style("font-family",F),nt=(V._groups||V)[0][0].getBBox();if(nt.width===0&&nt.height===0)throw new Error("svg element not in render tree");$.width=Math.round(Math.max($.width,nt.width)),j=Math.round(nt.height),$.height+=j,$.lineHeight=Math.round(Math.max($.lineHeight,j))}B.push($)}M.remove();let L=isNaN(B[1].height)||isNaN(B[1].width)||isNaN(B[1].lineHeight)||B[0].height>B[1].height&&B[0].width>B[1].width&&B[0].lineHeight>B[1].lineHeight?0:1;return B[L]},(s,o)=>`${s}${o.fontSize}${o.fontWeight}${o.fontFamily}`),Q1n=class{constructor(s=!1,o){this.count=0,this.count=o?o.length:0,this.next=s?()=>this.count++:()=>Date.now()}static{n(this,"InitIDGenerator")}},J1n=n(function(s){return nht=nht||document.createElement("div"),s=escape(s).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),nht.innerHTML=s,unescape(nht.textContent)},"entityDecode"),Z1n=n((s,o,f,g)=>{if(!g)return;let p=s.node()?.getBBox();p&&s.append("text").text(g).attr("text-anchor","middle").attr("x",p.x+p.width/2).attr("y",-f).attr("class",o)},"insertTitle"),yut=n(s=>{if(typeof s=="number")return[s,s+"px"];let o=parseInt(s??"",10);return Number.isNaN(o)?[void 0,void 0]:s===String(o)?[o,s+"px"]:[o,s]},"parseFontSize");n(_tn,"cleanAndMerge");$ht={assignWithDepth:t5,wrapLabel:X1n,calculateTextHeight:Ltn,calculateTextWidth:h6,calculateTextDimensions:die,cleanAndMerge:_tn,detectInit:z1n,detectDirective:xtn,isSubstringInArray:q1n,interpolateToCurve:Ctn,calcLabelPosition:Etn,calcCardinalityPosition:K1n,calcTerminalLabelPosition:Btn,formatUrl:Ttn,getStylesFromArray:Mtn,generateId:U1n,random:W1n,runFunc:H1n,entityDecode:J1n,insertTitle:Z1n,isLabelCoordinateInPath:Ftn,parseFontSize:yut,InitIDGenerator:Q1n},rE=n(function(s){return s.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities");n(Au,"handleUndefinedAttr");n(Ftn,"isLabelCoordinateInPath");fU=n(({flowchart:s})=>{let o=s?.subGraphTitleMargin?.top??0,f=s?.subGraphTitleMargin?.bottom??0,g=o+f;return{subGraphTitleTopMargin:o,subGraphTitleBottomMargin:f,subGraphTitleTotalMargin:g}},"getSubGraphTitleMargins"),t0n=typeof global=="object"&&global&&global.Object===Object&&global,Otn=t0n,e0n=typeof self=="object"&&self&&self.Object===Object&&self,n0n=Otn||e0n||Function("return this")(),f6=n0n,r0n=f6.Symbol,a5=r0n,Dtn=Object.prototype,i0n=Dtn.hasOwnProperty,a0n=Dtn.toString,dK=a5?a5.toStringTag:void 0;n(jtn,"getRawTag");o0n=jtn,s0n=Object.prototype,c0n=s0n.toString;n(Itn,"objectToString");l0n=Itn,h0n="[object Null]",u0n="[object Undefined]",sXe=a5?a5.toStringTag:void 0;n(Ptn,"baseGetTag");FO=Ptn;n($tn,"isObjectLike");iE=$tn,d0n="[object Symbol]";n(Ntn,"isSymbol");fie=Ntn;n(Rtn,"arrayMap");ztn=Rtn,f0n=Array.isArray,Db=f0n,b0n=1/0,cXe=a5?a5.prototype:void 0,lXe=cXe?cXe.toString:void 0;n(bie,"baseToString");g0n=bie;n(qtn,"isObject");gie=qtn;n(Htn,"identity");vut=Htn,p0n="[object AsyncFunction]",w0n="[object Function]",m0n="[object GeneratorFunction]",y0n="[object Proxy]";n(Ktn,"isFunction");Nht=Ktn,v0n=f6["__core-js_shared__"],Lee=v0n,hXe=(function(){var s=/[^.]+$/.exec(Lee&&Lee.keys&&Lee.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""})();n(Utn,"isMasked");k0n=Utn,x0n=Function.prototype,C0n=x0n.toString;n(Wtn,"toSource");sE=Wtn,T0n=/[\\^$.*+?()[\]{}|]/g,S0n=/^\[object .+?Constructor\]$/,E0n=Function.prototype,B0n=Object.prototype,M0n=E0n.toString,A0n=B0n.hasOwnProperty,L0n=RegExp("^"+M0n.call(A0n).replace(T0n,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");n(Gtn,"baseIsNative");_0n=Gtn;n(Vtn,"getValue");F0n=Vtn;n(Xtn,"getNative");cE=Xtn,O0n=cE(f6,"WeakMap"),xne=O0n;n(Ytn,"apply");D0n=Ytn;n(Qtn,"noop");j0n=Qtn,I0n=800,P0n=16,$0n=Date.now;n(Jtn,"shortOut");N0n=Jtn;n(Ztn,"constant");CK=Ztn,R0n=(function(){try{var s=cE(Object,"defineProperty");return s({},"",{}),s}catch{}})(),uXe=R0n,z0n=uXe?function(s,o){return uXe(s,"toString",{configurable:!0,enumerable:!1,value:CK(o),writable:!0})}:vut,q0n=z0n,H0n=N0n(q0n),K0n=H0n;n(ten,"arrayEach");U0n=ten;n(een,"baseFindIndex");W0n=een;n(nen,"baseIsNaN");G0n=nen;n(ren,"strictIndexOf");V0n=ren;n(ien,"baseIndexOf");X0n=ien;n(aen,"arrayIncludes");Y0n=aen,Q0n=9007199254740991,J0n=/^(?:0|[1-9]\d*)$/;n(oen,"isIndex");sen=oen;n(cen,"eq");len=cen,dXe=Math.max;n(hen,"overRest");Z0n=hen;n(uen,"baseRest");tdn=uen,edn=9007199254740991;n(den,"isLength");pie=den;n(fen,"isArrayLike");kut=fen,ndn=Object.prototype;n(ben,"isPrototype");gen=ben;n(pen,"baseTimes");rdn=pen,idn="[object Arguments]";n(wen,"baseIsArguments");fXe=wen,men=Object.prototype,adn=men.hasOwnProperty,odn=men.propertyIsEnumerable,sdn=fXe((function(){return arguments})())?fXe:function(s){return iE(s)&&adn.call(s,"callee")&&!odn.call(s,"callee")},xut=sdn;n(yen,"stubFalse");cdn=yen,ven=typeof exports=="object"&&exports&&!exports.nodeType&&exports,bXe=ven&&typeof module=="object"&&module&&!module.nodeType&&module,ldn=bXe&&bXe.exports===ven,gXe=ldn?f6.Buffer:void 0,hdn=gXe?gXe.isBuffer:void 0,udn=hdn||cdn,Rht=udn,ddn="[object Arguments]",fdn="[object Array]",bdn="[object Boolean]",gdn="[object Date]",pdn="[object Error]",wdn="[object Function]",mdn="[object Map]",ydn="[object Number]",vdn="[object Object]",kdn="[object RegExp]",xdn="[object Set]",Cdn="[object String]",Tdn="[object WeakMap]",Sdn="[object ArrayBuffer]",Edn="[object DataView]",Bdn="[object Float32Array]",Mdn="[object Float64Array]",Adn="[object Int8Array]",Ldn="[object Int16Array]",_dn="[object Int32Array]",Fdn="[object Uint8Array]",Odn="[object Uint8ClampedArray]",Ddn="[object Uint16Array]",jdn="[object Uint32Array]",il={};il[Bdn]=il[Mdn]=il[Adn]=il[Ldn]=il[_dn]=il[Fdn]=il[Odn]=il[Ddn]=il[jdn]=!0;il[ddn]=il[fdn]=il[Sdn]=il[bdn]=il[Edn]=il[gdn]=il[pdn]=il[wdn]=il[mdn]=il[ydn]=il[vdn]=il[kdn]=il[xdn]=il[Cdn]=il[Tdn]=!1;n(ken,"baseIsTypedArray");Idn=ken;n(xen,"baseUnary");Pdn=xen,Cen=typeof exports=="object"&&exports&&!exports.nodeType&&exports,IK=Cen&&typeof module=="object"&&module&&!module.nodeType&&module,$dn=IK&&IK.exports===Cen,_ee=$dn&&Otn.process,Ndn=(function(){try{var s=IK&&IK.require&&IK.require("util").types;return s||_ee&&_ee.binding&&_ee.binding("util")}catch{}})(),pXe=Ndn,wXe=pXe&&pXe.isTypedArray,Rdn=wXe?Pdn(wXe):Idn,wie=Rdn,zdn=Object.prototype,qdn=zdn.hasOwnProperty;n(Ten,"arrayLikeKeys");Hdn=Ten;n(Sen,"overArg");Kdn=Sen,Udn=Kdn(Object.keys,Object),Wdn=Udn,Gdn=Object.prototype,Vdn=Gdn.hasOwnProperty;n(Een,"baseKeys");Ben=Een;n(Men,"keys");Z4=Men,Xdn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ydn=/^\w*$/;n(Aen,"isKey");mie=Aen,Qdn=cE(Object,"create"),ZK=Qdn;n(Len,"hashClear");Jdn=Len;n(_en,"hashDelete");Zdn=_en,tfn="__lodash_hash_undefined__",efn=Object.prototype,nfn=efn.hasOwnProperty;n(Fen,"hashGet");rfn=Fen,ifn=Object.prototype,afn=ifn.hasOwnProperty;n(Oen,"hashHas");ofn=Oen,sfn="__lodash_hash_undefined__";n(Den,"hashSet");cfn=Den;n(lE,"Hash");lE.prototype.clear=Jdn;lE.prototype.delete=Zdn;lE.prototype.get=rfn;lE.prototype.has=ofn;lE.prototype.set=cfn;mXe=lE;n(jen,"listCacheClear");lfn=jen;n(Ien,"assocIndexOf");Cut=Ien,hfn=Array.prototype,ufn=hfn.splice;n(Pen,"listCacheDelete");dfn=Pen;n($en,"listCacheGet");ffn=$en;n(Nen,"listCacheHas");bfn=Nen;n(Ren,"listCacheSet");gfn=Ren;n(hE,"ListCache");hE.prototype.clear=lfn;hE.prototype.delete=dfn;hE.prototype.get=ffn;hE.prototype.has=bfn;hE.prototype.set=gfn;Tut=hE,pfn=cE(f6,"Map"),tU=pfn;n(zen,"mapCacheClear");wfn=zen;n(qen,"isKeyable");mfn=qen;n(Hen,"getMapData");Sut=Hen;n(Ken,"mapCacheDelete");yfn=Ken;n(Uen,"mapCacheGet");vfn=Uen;n(Wen,"mapCacheHas");kfn=Wen;n(Gen,"mapCacheSet");xfn=Gen;n(uE,"MapCache");uE.prototype.clear=wfn;uE.prototype.delete=yfn;uE.prototype.get=vfn;uE.prototype.has=kfn;uE.prototype.set=xfn;Eut=uE,Cfn="Expected a function";n(But,"memoize");But.Cache=Eut;Tfn=But,Sfn=500;n(Ven,"memoizeCapped");Efn=Ven,Bfn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Mfn=/\\(\\)?/g,Afn=Efn(function(s){var o=[];return s.charCodeAt(0)===46&&o.push(""),s.replace(Bfn,function(f,g,p,y){o.push(p?y.replace(Mfn,"$1"):g||f)}),o}),Lfn=Afn;n(Xen,"toString");_fn=Xen;n(Yen,"castPath");Qen=Yen,Ffn=1/0;n(Jen,"toKey");Mut=Jen;n(Zen,"baseGet");tnn=Zen;n(enn,"get");Ofn=enn;n(nnn,"arrayPush");rnn=nnn,yXe=a5?a5.isConcatSpreadable:void 0;n(inn,"isFlattenable");Dfn=inn;n(yie,"baseFlatten");jfn=yie;n(ann,"arrayReduce");Ifn=ann;n(onn,"stackClear");Pfn=onn;n(snn,"stackDelete");$fn=snn;n(cnn,"stackGet");Nfn=cnn;n(lnn,"stackHas");Rfn=lnn,zfn=200;n(hnn,"stackSet");qfn=hnn;n(dE,"Stack");dE.prototype.clear=Pfn;dE.prototype.delete=$fn;dE.prototype.get=Nfn;dE.prototype.has=Rfn;dE.prototype.set=qfn;Cht=dE;n(unn,"arrayFilter");dnn=unn;n(fnn,"stubArray");Hfn=fnn,Kfn=Object.prototype,Ufn=Kfn.propertyIsEnumerable,vXe=Object.getOwnPropertySymbols,Wfn=vXe?function(s){return s==null?[]:(s=Object(s),dnn(vXe(s),function(o){return Ufn.call(s,o)}))}:Hfn,Gfn=Wfn;n(bnn,"baseGetAllKeys");Vfn=bnn;n(gnn,"getAllKeys");kXe=gnn,Xfn=cE(f6,"DataView"),Cne=Xfn,Yfn=cE(f6,"Promise"),Tne=Yfn,Qfn=cE(f6,"Set"),SO=Qfn,xXe="[object Map]",Jfn="[object Object]",CXe="[object Promise]",TXe="[object Set]",SXe="[object WeakMap]",EXe="[object DataView]",Zfn=sE(Cne),tbn=sE(tU),ebn=sE(Tne),nbn=sE(SO),rbn=sE(xne),VS=FO;(Cne&&VS(new Cne(new ArrayBuffer(1)))!=EXe||tU&&VS(new tU)!=xXe||Tne&&VS(Tne.resolve())!=CXe||SO&&VS(new SO)!=TXe||xne&&VS(new xne)!=SXe)&&(VS=n(function(s){var o=FO(s),f=o==Jfn?s.constructor:void 0,g=f?sE(f):"";if(g)switch(g){case Zfn:return EXe;case tbn:return xXe;case ebn:return CXe;case nbn:return TXe;case rbn:return SXe}return o},"getTag"));Sne=VS,ibn=f6.Uint8Array,BXe=ibn,abn="__lodash_hash_undefined__";n(pnn,"setCacheAdd");obn=pnn;n(wnn,"setCacheHas");sbn=wnn;n(eU,"SetCache");eU.prototype.add=eU.prototype.push=obn;eU.prototype.has=sbn;mnn=eU;n(ynn,"arraySome");cbn=ynn;n(vnn,"cacheHas");knn=vnn,lbn=1,hbn=2;n(xnn,"equalArrays");Cnn=xnn;n(Tnn,"mapToArray");ubn=Tnn;n(Snn,"setToArray");vie=Snn,dbn=1,fbn=2,bbn="[object Boolean]",gbn="[object Date]",pbn="[object Error]",wbn="[object Map]",mbn="[object Number]",ybn="[object RegExp]",vbn="[object Set]",kbn="[object String]",xbn="[object Symbol]",Cbn="[object ArrayBuffer]",Tbn="[object DataView]",MXe=a5?a5.prototype:void 0,Fee=MXe?MXe.valueOf:void 0;n(Enn,"equalByTag");Sbn=Enn,Ebn=1,Bbn=Object.prototype,Mbn=Bbn.hasOwnProperty;n(Bnn,"equalObjects");Abn=Bnn,Lbn=1,AXe="[object Arguments]",LXe="[object Array]",rht="[object Object]",_bn=Object.prototype,_Xe=_bn.hasOwnProperty;n(Mnn,"baseIsEqualDeep");Fbn=Mnn;n(kie,"baseIsEqual");Ann=kie,Obn=1,Dbn=2;n(Lnn,"baseIsMatch");jbn=Lnn;n(_nn,"isStrictComparable");Fnn=_nn;n(Onn,"getMatchData");Ibn=Onn;n(Dnn,"matchesStrictComparable");jnn=Dnn;n(Inn,"baseMatches");Pbn=Inn;n(Pnn,"baseHasIn");$bn=Pnn;n($nn,"hasPath");Nbn=$nn;n(Nnn,"hasIn");Rbn=Nnn,zbn=1,qbn=2;n(Rnn,"baseMatchesProperty");Hbn=Rnn;n(znn,"baseProperty");Kbn=znn;n(qnn,"basePropertyDeep");Ubn=qnn;n(Hnn,"property");Wbn=Hnn;n(Knn,"baseIteratee");Unn=Knn;n(Wnn,"createBaseFor");Gbn=Wnn,Vbn=Gbn(),Xbn=Vbn;n(Gnn,"baseForOwn");Ybn=Gnn;n(Vnn,"createBaseEach");Qbn=Vnn,Jbn=Qbn(Ybn),xie=Jbn;n(Xnn,"isArrayLikeObject");Zbn=Xnn;n(Ynn,"arrayIncludesWith");tgn=Ynn;n(Qnn,"castFunction");egn=Qnn;n(Jnn,"forEach");HS=Jnn;n(Znn,"baseFilter");ngn=Znn;n(trn,"filter");iht=trn;n(ern,"baseValues");rgn=ern;n(nrn,"values");Oee=nrn,ign="[object Map]",agn="[object Set]",ogn=Object.prototype,sgn=ogn.hasOwnProperty;n(rrn,"isEmpty");FXe=rrn;n(irn,"isUndefined");wO=irn;n(arn,"baseReduce");cgn=arn;n(orn,"reduce");lgn=orn,hgn=1/0,ugn=SO&&1/vie(new SO([,-0]))[1]==hgn?function(s){return new SO(s)}:j0n,dgn=ugn,fgn=200;n(srn,"baseUniq");bgn=srn,ggn=tdn(function(s){return bgn(jfn(s,1,Zbn,!0))}),pgn=ggn,wgn="\0",KS="\0",OXe="",Cie=class{static{n(this,"Graph")}constructor(s={}){this._isDirected=Object.prototype.hasOwnProperty.call(s,"directed")?s.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(s,"multigraph")?s.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(s,"compound")?s.compound:!1,this._label=void 0,this._defaultNodeLabelFn=CK(void 0),this._defaultEdgeLabelFn=CK(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[KS]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(s){return this._label=s,this}graph(){return this._label}setDefaultNodeLabel(s){return Nht(s)||(s=CK(s)),this._defaultNodeLabelFn=s,this}nodeCount(){return this._nodeCount}nodes(){return Z4(this._nodes)}sources(){var s=this;return iht(this.nodes(),function(o){return FXe(s._in[o])})}sinks(){var s=this;return iht(this.nodes(),function(o){return FXe(s._out[o])})}setNodes(s,o){var f=arguments,g=this;return HS(s,function(p){f.length>1?g.setNode(p,o):g.setNode(p)}),this}setNode(s,o){return Object.prototype.hasOwnProperty.call(this._nodes,s)?(arguments.length>1&&(this._nodes[s]=o),this):(this._nodes[s]=arguments.length>1?o:this._defaultNodeLabelFn(s),this._isCompound&&(this._parent[s]=KS,this._children[s]={},this._children[KS][s]=!0),this._in[s]={},this._preds[s]={},this._out[s]={},this._sucs[s]={},++this._nodeCount,this)}node(s){return this._nodes[s]}hasNode(s){return Object.prototype.hasOwnProperty.call(this._nodes,s)}removeNode(s){if(Object.prototype.hasOwnProperty.call(this._nodes,s)){var o=n(f=>this.removeEdge(this._edgeObjs[f]),"removeEdge");delete this._nodes[s],this._isCompound&&(this._removeFromParentsChildList(s),delete this._parent[s],HS(this.children(s),f=>{this.setParent(f)}),delete this._children[s]),HS(Z4(this._in[s]),o),delete this._in[s],delete this._preds[s],HS(Z4(this._out[s]),o),delete this._out[s],delete this._sucs[s],--this._nodeCount}return this}setParent(s,o){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(wO(o))o=KS;else{o+="";for(var f=o;!wO(f);f=this.parent(f))if(f===s)throw new Error("Setting "+o+" as parent of "+s+" would create a cycle");this.setNode(o)}return this.setNode(s),this._removeFromParentsChildList(s),this._parent[s]=o,this._children[o][s]=!0,this}_removeFromParentsChildList(s){delete this._children[this._parent[s]][s]}parent(s){if(this._isCompound){var o=this._parent[s];if(o!==KS)return o}}children(s){if(wO(s)&&(s=KS),this._isCompound){var o=this._children[s];if(o)return Z4(o)}else{if(s===KS)return this.nodes();if(this.hasNode(s))return[]}}predecessors(s){var o=this._preds[s];if(o)return Z4(o)}successors(s){var o=this._sucs[s];if(o)return Z4(o)}neighbors(s){var o=this.predecessors(s);if(o)return pgn(o,this.successors(s))}isLeaf(s){var o;return this.isDirected()?o=this.successors(s):o=this.neighbors(s),o.length===0}filterNodes(s){var o=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});o.setGraph(this.graph());var f=this;HS(this._nodes,function(y,k){s(k)&&o.setNode(k,y)}),HS(this._edgeObjs,function(y){o.hasNode(y.v)&&o.hasNode(y.w)&&o.setEdge(y,f.edge(y))});var g={};function p(y){var k=f.parent(y);return k===void 0||o.hasNode(k)?(g[y]=k,k):k in g?g[k]:p(k)}return n(p,"findParent"),this._isCompound&&HS(o.nodes(),function(y){o.setParent(y,p(y))}),o}setDefaultEdgeLabel(s){return Nht(s)||(s=CK(s)),this._defaultEdgeLabelFn=s,this}edgeCount(){return this._edgeCount}edges(){return Oee(this._edgeObjs)}setPath(s,o){var f=this,g=arguments;return lgn(s,function(p,y){return g.length>1?f.setEdge(p,y,o):f.setEdge(p,y),y}),this}setEdge(){var s,o,f,g,p=!1,y=arguments[0];typeof y=="object"&&y!==null&&"v"in y?(s=y.v,o=y.w,f=y.name,arguments.length===2&&(g=arguments[1],p=!0)):(s=y,o=arguments[1],f=arguments[3],arguments.length>2&&(g=arguments[2],p=!0)),s=""+s,o=""+o,wO(f)||(f=""+f);var k=CO(this._isDirected,s,o,f);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,k))return p&&(this._edgeLabels[k]=g),this;if(!wO(f)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(s),this.setNode(o),this._edgeLabels[k]=p?g:this._defaultEdgeLabelFn(s,o,f);var T=crn(this._isDirected,s,o,f);return s=T.v,o=T.w,Object.freeze(T),this._edgeObjs[k]=T,Ene(this._preds[o],s),Ene(this._sucs[s],o),this._in[o][k]=T,this._out[s][k]=T,this._edgeCount++,this}edge(s,o,f){var g=arguments.length===1?Tht(this._isDirected,arguments[0]):CO(this._isDirected,s,o,f);return this._edgeLabels[g]}hasEdge(s,o,f){var g=arguments.length===1?Tht(this._isDirected,arguments[0]):CO(this._isDirected,s,o,f);return Object.prototype.hasOwnProperty.call(this._edgeLabels,g)}removeEdge(s,o,f){var g=arguments.length===1?Tht(this._isDirected,arguments[0]):CO(this._isDirected,s,o,f),p=this._edgeObjs[g];return p&&(s=p.v,o=p.w,delete this._edgeLabels[g],delete this._edgeObjs[g],Bne(this._preds[o],s),Bne(this._sucs[s],o),delete this._in[o][g],delete this._out[s][g],this._edgeCount--),this}inEdges(s,o){var f=this._in[s];if(f){var g=Oee(f);return o?iht(g,function(p){return p.v===o}):g}}outEdges(s,o){var f=this._out[s];if(f){var g=Oee(f);return o?iht(g,function(p){return p.w===o}):g}}nodeEdges(s,o){var f=this.inEdges(s,o);if(f)return f.concat(this.outEdges(s,o))}};Cie.prototype._nodeCount=0;Cie.prototype._edgeCount=0;n(Ene,"incrementOrInitEntry");n(Bne,"decrementOrRemoveEntry");n(CO,"edgeArgsToId");n(crn,"edgeArgsToObj");n(Tht,"edgeObjToId");Da=B0,mgn=run,lrn=n(s=>Hm(s,Da()),"sanitizeText");n(Aut,"L");fE=Aut();n(Tie,"G");PK={exec:n(()=>null,"exec")};n(Ds,"h");yf={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^
    /i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:n(s=>new RegExp(`^( {0,3}${s})((?:[ ][^\\n]*)?(?:\\n|$))`),"listItemRegex"),nextBulletRegex:n(s=>new RegExp(`^ {0,${Math.min(3,s-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),"nextBulletRegex"),hrRegex:n(s=>new RegExp(`^ {0,${Math.min(3,s-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),"hrRegex"),fencesBeginRegex:n(s=>new RegExp(`^ {0,${Math.min(3,s-1)}}(?:\`\`\`|~~~)`),"fencesBeginRegex"),headingBeginRegex:n(s=>new RegExp(`^ {0,${Math.min(3,s-1)}}#`),"headingBeginRegex"),htmlBeginRegex:n(s=>new RegExp(`^ {0,${Math.min(3,s-1)}}<(?:[a-z].*>|!--)`,"i"),"htmlBeginRegex")},ygn=/^(?:[ \t]*(?:\n|$))+/,vgn=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,kgn=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,bU=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,xgn=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Sie=/(?:[*+-]|\d{1,9}[.)])/,hrn=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,urn=Ds(hrn).replace(/bull/g,Sie).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Cgn=Ds(hrn).replace(/bull/g,Sie).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Eie=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Tgn=/^[^\n]+/,Bie=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Sgn=Ds(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Bie).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Egn=Ds(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Sie).getRegex(),Lut="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Mie=/|$))/,Bgn=Ds("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Mie).replace("tag",Lut).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),drn=Ds(Eie).replace("hr",bU).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Lut).getRegex(),Mgn=Ds(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",drn).getRegex(),Aie={blockquote:Mgn,code:vgn,def:Sgn,fences:kgn,heading:xgn,hr:bU,html:Bgn,lheading:urn,list:Egn,newline:ygn,paragraph:drn,table:PK,text:Tgn},DXe=Ds("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",bU).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Lut).getRegex(),Agn={...Aie,lheading:Cgn,table:DXe,paragraph:Ds(Eie).replace("hr",bU).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",DXe).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Lut).getRegex()},Lgn={...Aie,html:Ds(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Mie).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:PK,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Ds(Eie).replace("hr",bU).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",urn).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},_gn=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Fgn=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,frn=/^( {2,}|\\)\n(?!\s*$)/,Ogn=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,prn=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,$gn=Ds(prn,"u").replace(/punct/g,_ut).getRegex(),Ngn=Ds(prn,"u").replace(/punct/g,grn).getRegex(),wrn="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Rgn=Ds(wrn,"gu").replace(/notPunctSpace/g,brn).replace(/punctSpace/g,Lie).replace(/punct/g,_ut).getRegex(),zgn=Ds(wrn,"gu").replace(/notPunctSpace/g,Ign).replace(/punctSpace/g,jgn).replace(/punct/g,grn).getRegex(),qgn=Ds("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,brn).replace(/punctSpace/g,Lie).replace(/punct/g,_ut).getRegex(),Hgn=Ds(/\\(punct)/,"gu").replace(/punct/g,_ut).getRegex(),Kgn=Ds(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Ugn=Ds(Mie).replace("(?:-->|$)","-->").getRegex(),Wgn=Ds("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",Ugn).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),zht=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/,Ggn=Ds(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",zht).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),mrn=Ds(/^!?\[(label)\]\[(ref)\]/).replace("label",zht).replace("ref",Bie).getRegex(),yrn=Ds(/^!?\[(ref)\](?:\[\])?/).replace("ref",Bie).getRegex(),Vgn=Ds("reflink|nolink(?!\\()","g").replace("reflink",mrn).replace("nolink",yrn).getRegex(),_ie={_backpedal:PK,anyPunctuation:Hgn,autolink:Kgn,blockSkip:Pgn,br:frn,code:Fgn,del:PK,emStrongLDelim:$gn,emStrongRDelimAst:Rgn,emStrongRDelimUnd:qgn,escape:_gn,link:Ggn,nolink:yrn,punctuation:Dgn,reflink:mrn,reflinkSearch:Vgn,tag:Wgn,text:Ogn,url:PK},Xgn={..._ie,link:Ds(/^!?\[(label)\]\((.*?)\)/).replace("label",zht).getRegex(),reflink:Ds(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",zht).getRegex()},Mne={..._ie,emStrongRDelimAst:zgn,emStrongLDelim:Ngn,url:Ds(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},jXe=n(s=>Qgn[s],"ke");n(zm,"w");n(Ane,"J");n(Lne,"V");n(mO,"z");n(vrn,"ge");n(_ne,"fe");n(krn,"Je");qht=class{static{n(this,"y")}options;rules;lexer;constructor(s){this.options=s||fE}space(s){let o=this.rules.block.newline.exec(s);if(o&&o[0].length>0)return{type:"space",raw:o[0]}}code(s){let o=this.rules.block.code.exec(s);if(o){let f=o[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:o[0],codeBlockStyle:"indented",text:this.options.pedantic?f:mO(f,` +`)}}}fences(s){let o=this.rules.block.fences.exec(s);if(o){let f=o[0],g=krn(f,o[3]||"",this.rules);return{type:"code",raw:f,lang:o[2]?o[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):o[2],text:g}}}heading(s){let o=this.rules.block.heading.exec(s);if(o){let f=o[2].trim();if(this.rules.other.endingHash.test(f)){let g=mO(f,"#");(this.options.pedantic||!g||this.rules.other.endingSpaceChar.test(g))&&(f=g.trim())}return{type:"heading",raw:o[0],depth:o[1].length,text:f,tokens:this.lexer.inline(f)}}}hr(s){let o=this.rules.block.hr.exec(s);if(o)return{type:"hr",raw:mO(o[0],` +`)}}blockquote(s){let o=this.rules.block.blockquote.exec(s);if(o){let f=mO(o[0],` +`).split(` +`),g="",p="",y=[];for(;f.length>0;){let k=!1,T=[],B;for(B=0;B1,p={type:"list",raw:"",ordered:g,start:g?+f.slice(0,-1):"",loose:!1,items:[]};f=g?`\\d{1,9}\\${f.slice(-1)}`:`\\${f}`,this.options.pedantic&&(f=g?f:"[*+-]");let y=this.rules.other.listItemRegex(f),k=!1;for(;s;){let B=!1,v="",M="";if(!(o=y.exec(s))||this.rules.block.hr.test(s))break;v=o[0],s=s.substring(v.length);let L=o[2].split(` +`,1)[0].replace(this.rules.other.listReplaceTabs,V=>" ".repeat(3*V.length)),F=s.split(` +`,1)[0],j=!L.trim(),$=0;if(this.options.pedantic?($=2,M=L.trimStart()):j?$=o[1].length+1:($=o[2].search(this.rules.other.nonSpaceChar),$=$>4?1:$,M=L.slice($),$+=o[1].length),j&&this.rules.other.blankLine.test(F)&&(v+=F+` +`,s=s.substring(F.length+1),B=!0),!B){let V=this.rules.other.nextBulletRegex($),nt=this.rules.other.hrRegex($),at=this.rules.other.fencesBeginRegex($),dt=this.rules.other.headingBeginRegex($),et=this.rules.other.htmlBeginRegex($);for(;s;){let Ft=s.split(` +`,1)[0],Nt;if(F=Ft,this.options.pedantic?(F=F.replace(this.rules.other.listReplaceNesting," "),Nt=F):Nt=F.replace(this.rules.other.tabCharGlobal," "),at.test(F)||dt.test(F)||et.test(F)||V.test(F)||nt.test(F))break;if(Nt.search(this.rules.other.nonSpaceChar)>=$||!F.trim())M+=` +`+Nt.slice($);else{if(j||L.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||at.test(L)||dt.test(L)||nt.test(L))break;M+=` +`+F}!j&&!F.trim()&&(j=!0),v+=Ft+` +`,s=s.substring(Ft.length+1),L=Nt.slice($)}}p.loose||(k?p.loose=!0:this.rules.other.doubleBlankLine.test(v)&&(k=!0));let z=null,U;this.options.gfm&&(z=this.rules.other.listIsTask.exec(M),z&&(U=z[0]!=="[ ] ",M=M.replace(this.rules.other.listReplaceTask,""))),p.items.push({type:"list_item",raw:v,task:!!z,checked:U,loose:!1,text:M,tokens:[]}),p.raw+=v}let T=p.items.at(-1);if(T)T.raw=T.raw.trimEnd(),T.text=T.text.trimEnd();else return;p.raw=p.raw.trimEnd();for(let B=0;BL.type==="space"),M=v.length>0&&v.some(L=>this.rules.other.anyLine.test(L.raw));p.loose=M}if(p.loose)for(let B=0;B({text:T,tokens:this.lexer.inline(T),header:!1,align:y.align[B]})));return y}}lheading(s){let o=this.rules.block.lheading.exec(s);if(o)return{type:"heading",raw:o[0],depth:o[2].charAt(0)==="="?1:2,text:o[1],tokens:this.lexer.inline(o[1])}}paragraph(s){let o=this.rules.block.paragraph.exec(s);if(o){let f=o[1].charAt(o[1].length-1)===` +`?o[1].slice(0,-1):o[1];return{type:"paragraph",raw:o[0],text:f,tokens:this.lexer.inline(f)}}}text(s){let o=this.rules.block.text.exec(s);if(o)return{type:"text",raw:o[0],text:o[0],tokens:this.lexer.inline(o[0])}}escape(s){let o=this.rules.inline.escape.exec(s);if(o)return{type:"escape",raw:o[0],text:o[1]}}tag(s){let o=this.rules.inline.tag.exec(s);if(o)return!this.lexer.state.inLink&&this.rules.other.startATag.test(o[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(o[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(o[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(o[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:o[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:o[0]}}link(s){let o=this.rules.inline.link.exec(s);if(o){let f=o[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(f)){if(!this.rules.other.endAngleBracket.test(f))return;let y=mO(f.slice(0,-1),"\\");if((f.length-y.length)%2===0)return}else{let y=vrn(o[2],"()");if(y===-2)return;if(y>-1){let k=(o[0].indexOf("!")===0?5:4)+o[1].length+y;o[2]=o[2].substring(0,y),o[0]=o[0].substring(0,k).trim(),o[3]=""}}let g=o[2],p="";if(this.options.pedantic){let y=this.rules.other.pedanticHrefTitle.exec(g);y&&(g=y[1],p=y[3])}else p=o[3]?o[3].slice(1,-1):"";return g=g.trim(),this.rules.other.startAngleBracket.test(g)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(f)?g=g.slice(1):g=g.slice(1,-1)),_ne(o,{href:g&&g.replace(this.rules.inline.anyPunctuation,"$1"),title:p&&p.replace(this.rules.inline.anyPunctuation,"$1")},o[0],this.lexer,this.rules)}}reflink(s,o){let f;if((f=this.rules.inline.reflink.exec(s))||(f=this.rules.inline.nolink.exec(s))){let g=(f[2]||f[1]).replace(this.rules.other.multipleSpaceGlobal," "),p=o[g.toLowerCase()];if(!p){let y=f[0].charAt(0);return{type:"text",raw:y,text:y}}return _ne(f,p,f[0],this.lexer,this.rules)}}emStrong(s,o,f=""){let g=this.rules.inline.emStrongLDelim.exec(s);if(!(!g||g[3]&&f.match(this.rules.other.unicodeAlphaNumeric))&&(!(g[1]||g[2])||!f||this.rules.inline.punctuation.exec(f))){let p=[...g[0]].length-1,y,k,T=p,B=0,v=g[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(v.lastIndex=0,o=o.slice(-1*s.length+p);(g=v.exec(o))!=null;){if(y=g[1]||g[2]||g[3]||g[4]||g[5]||g[6],!y)continue;if(k=[...y].length,g[3]||g[4]){T+=k;continue}else if((g[5]||g[6])&&p%3&&!((p+k)%3)){B+=k;continue}if(T-=k,T>0)continue;k=Math.min(k,k+T+B);let M=[...g[0]][0].length,L=s.slice(0,p+g.index+M+k);if(Math.min(p,k)%2){let j=L.slice(1,-1);return{type:"em",raw:L,text:j,tokens:this.lexer.inlineTokens(j)}}let F=L.slice(2,-2);return{type:"strong",raw:L,text:F,tokens:this.lexer.inlineTokens(F)}}}}codespan(s){let o=this.rules.inline.code.exec(s);if(o){let f=o[2].replace(this.rules.other.newLineCharGlobal," "),g=this.rules.other.nonSpaceChar.test(f),p=this.rules.other.startingSpaceChar.test(f)&&this.rules.other.endingSpaceChar.test(f);return g&&p&&(f=f.substring(1,f.length-1)),{type:"codespan",raw:o[0],text:f}}}br(s){let o=this.rules.inline.br.exec(s);if(o)return{type:"br",raw:o[0]}}del(s){let o=this.rules.inline.del.exec(s);if(o)return{type:"del",raw:o[0],text:o[2],tokens:this.lexer.inlineTokens(o[2])}}autolink(s){let o=this.rules.inline.autolink.exec(s);if(o){let f,g;return o[2]==="@"?(f=o[1],g="mailto:"+f):(f=o[1],g=f),{type:"link",raw:o[0],text:f,href:g,tokens:[{type:"text",raw:f,text:f}]}}}url(s){let o;if(o=this.rules.inline.url.exec(s)){let f,g;if(o[2]==="@")f=o[0],g="mailto:"+f;else{let p;do p=o[0],o[0]=this.rules.inline._backpedal.exec(o[0])?.[0]??"";while(p!==o[0]);f=o[0],o[1]==="www."?g="http://"+o[0]:g=o[0]}return{type:"link",raw:o[0],text:f,href:g,tokens:[{type:"text",raw:f,text:f}]}}}inlineText(s){let o=this.rules.inline.text.exec(s);if(o){let f=this.lexer.state.inRawBlock;return{type:"text",raw:o[0],text:o[0],escaped:f}}}},o6=class Fne{static{n(this,"l")}tokens;options;state;tokenizer;inlineQueue;constructor(o){this.tokens=[],this.tokens.links=Object.create(null),this.options=o||fE,this.options.tokenizer=this.options.tokenizer||new qht,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let f={other:yf,block:aht.normal,inline:fK.normal};this.options.pedantic?(f.block=aht.pedantic,f.inline=fK.pedantic):this.options.gfm&&(f.block=aht.gfm,this.options.breaks?f.inline=fK.breaks:f.inline=fK.gfm),this.tokenizer.rules=f}static get rules(){return{block:aht,inline:fK}}static lex(o,f){return new Fne(f).lex(o)}static lexInline(o,f){return new Fne(f).inlineTokens(o)}lex(o){o=o.replace(yf.carriageReturn,` +`),this.blockTokens(o,this.tokens);for(let f=0;f(p=k.call({lexer:this},o,f))?(o=o.substring(p.raw.length),f.push(p),!0):!1))continue;if(p=this.tokenizer.space(o)){o=o.substring(p.raw.length);let k=f.at(-1);p.raw.length===1&&k!==void 0?k.raw+=` +`:f.push(p);continue}if(p=this.tokenizer.code(o)){o=o.substring(p.raw.length);let k=f.at(-1);k?.type==="paragraph"||k?.type==="text"?(k.raw+=(k.raw.endsWith(` +`)?"":` +`)+p.raw,k.text+=` +`+p.text,this.inlineQueue.at(-1).src=k.text):f.push(p);continue}if(p=this.tokenizer.fences(o)){o=o.substring(p.raw.length),f.push(p);continue}if(p=this.tokenizer.heading(o)){o=o.substring(p.raw.length),f.push(p);continue}if(p=this.tokenizer.hr(o)){o=o.substring(p.raw.length),f.push(p);continue}if(p=this.tokenizer.blockquote(o)){o=o.substring(p.raw.length),f.push(p);continue}if(p=this.tokenizer.list(o)){o=o.substring(p.raw.length),f.push(p);continue}if(p=this.tokenizer.html(o)){o=o.substring(p.raw.length),f.push(p);continue}if(p=this.tokenizer.def(o)){o=o.substring(p.raw.length);let k=f.at(-1);k?.type==="paragraph"||k?.type==="text"?(k.raw+=(k.raw.endsWith(` +`)?"":` +`)+p.raw,k.text+=` +`+p.raw,this.inlineQueue.at(-1).src=k.text):this.tokens.links[p.tag]||(this.tokens.links[p.tag]={href:p.href,title:p.title},f.push(p));continue}if(p=this.tokenizer.table(o)){o=o.substring(p.raw.length),f.push(p);continue}if(p=this.tokenizer.lheading(o)){o=o.substring(p.raw.length),f.push(p);continue}let y=o;if(this.options.extensions?.startBlock){let k=1/0,T=o.slice(1),B;this.options.extensions.startBlock.forEach(v=>{B=v.call({lexer:this},T),typeof B=="number"&&B>=0&&(k=Math.min(k,B))}),k<1/0&&k>=0&&(y=o.substring(0,k+1))}if(this.state.top&&(p=this.tokenizer.paragraph(y))){let k=f.at(-1);g&&k?.type==="paragraph"?(k.raw+=(k.raw.endsWith(` +`)?"":` +`)+p.raw,k.text+=` +`+p.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=k.text):f.push(p),g=y.length!==o.length,o=o.substring(p.raw.length);continue}if(p=this.tokenizer.text(o)){o=o.substring(p.raw.length);let k=f.at(-1);k?.type==="text"?(k.raw+=(k.raw.endsWith(` +`)?"":` +`)+p.raw,k.text+=` +`+p.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=k.text):f.push(p);continue}if(o){let k="Infinite loop on byte: "+o.charCodeAt(0);if(this.options.silent){console.error(k);break}else throw new Error(k)}}return this.state.top=!0,f}inline(o,f=[]){return this.inlineQueue.push({src:o,tokens:f}),f}inlineTokens(o,f=[]){let g=o,p=null;if(this.tokens.links){let T=Object.keys(this.tokens.links);if(T.length>0)for(;(p=this.tokenizer.rules.inline.reflinkSearch.exec(g))!=null;)T.includes(p[0].slice(p[0].lastIndexOf("[")+1,-1))&&(g=g.slice(0,p.index)+"["+"a".repeat(p[0].length-2)+"]"+g.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(p=this.tokenizer.rules.inline.anyPunctuation.exec(g))!=null;)g=g.slice(0,p.index)+"++"+g.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(p=this.tokenizer.rules.inline.blockSkip.exec(g))!=null;)g=g.slice(0,p.index)+"["+"a".repeat(p[0].length-2)+"]"+g.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);g=this.options.hooks?.emStrongMask?.call({lexer:this},g)??g;let y=!1,k="";for(;o;){y||(k=""),y=!1;let T;if(this.options.extensions?.inline?.some(v=>(T=v.call({lexer:this},o,f))?(o=o.substring(T.raw.length),f.push(T),!0):!1))continue;if(T=this.tokenizer.escape(o)){o=o.substring(T.raw.length),f.push(T);continue}if(T=this.tokenizer.tag(o)){o=o.substring(T.raw.length),f.push(T);continue}if(T=this.tokenizer.link(o)){o=o.substring(T.raw.length),f.push(T);continue}if(T=this.tokenizer.reflink(o,this.tokens.links)){o=o.substring(T.raw.length);let v=f.at(-1);T.type==="text"&&v?.type==="text"?(v.raw+=T.raw,v.text+=T.text):f.push(T);continue}if(T=this.tokenizer.emStrong(o,g,k)){o=o.substring(T.raw.length),f.push(T);continue}if(T=this.tokenizer.codespan(o)){o=o.substring(T.raw.length),f.push(T);continue}if(T=this.tokenizer.br(o)){o=o.substring(T.raw.length),f.push(T);continue}if(T=this.tokenizer.del(o)){o=o.substring(T.raw.length),f.push(T);continue}if(T=this.tokenizer.autolink(o)){o=o.substring(T.raw.length),f.push(T);continue}if(!this.state.inLink&&(T=this.tokenizer.url(o))){o=o.substring(T.raw.length),f.push(T);continue}let B=o;if(this.options.extensions?.startInline){let v=1/0,M=o.slice(1),L;this.options.extensions.startInline.forEach(F=>{L=F.call({lexer:this},M),typeof L=="number"&&L>=0&&(v=Math.min(v,L))}),v<1/0&&v>=0&&(B=o.substring(0,v+1))}if(T=this.tokenizer.inlineText(B)){o=o.substring(T.raw.length),T.raw.slice(-1)!=="_"&&(k=T.raw.slice(-1)),y=!0;let v=f.at(-1);v?.type==="text"?(v.raw+=T.raw,v.text+=T.text):f.push(T);continue}if(o){let v="Infinite loop on byte: "+o.charCodeAt(0);if(this.options.silent){console.error(v);break}else throw new Error(v)}}return f}},Hht=class{static{n(this,"P")}options;parser;constructor(s){this.options=s||fE}space(s){return""}code({text:s,lang:o,escaped:f}){let g=(o||"").match(yf.notSpaceStart)?.[0],p=s.replace(yf.endingNewline,"")+` +`;return g?'
    '+(f?p:zm(p,!0))+`
    +`:"
    "+(f?p:zm(p,!0))+`
    +`}blockquote({tokens:s}){return`
    +${this.parser.parse(s)}
    +`}html({text:s}){return s}def(s){return""}heading({tokens:s,depth:o}){return`${this.parser.parseInline(s)} +`}hr(s){return`
    +`}list(s){let o=s.ordered,f=s.start,g="";for(let k=0;k +`+g+" +`}listitem(s){let o="";if(s.task){let f=this.checkbox({checked:!!s.checked});s.loose?s.tokens[0]?.type==="paragraph"?(s.tokens[0].text=f+" "+s.tokens[0].text,s.tokens[0].tokens&&s.tokens[0].tokens.length>0&&s.tokens[0].tokens[0].type==="text"&&(s.tokens[0].tokens[0].text=f+" "+zm(s.tokens[0].tokens[0].text),s.tokens[0].tokens[0].escaped=!0)):s.tokens.unshift({type:"text",raw:f+" ",text:f+" ",escaped:!0}):o+=f+" "}return o+=this.parser.parse(s.tokens,!!s.loose),`
  • ${o}
  • +`}checkbox({checked:s}){return"'}paragraph({tokens:s}){return`

    ${this.parser.parseInline(s)}

    +`}table(s){let o="",f="";for(let p=0;p${g}`),` + +`+o+` +`+g+`
    +`}tablerow({text:s}){return` +${s} +`}tablecell(s){let o=this.parser.parseInline(s.tokens),f=s.header?"th":"td";return(s.align?`<${f} align="${s.align}">`:`<${f}>`)+o+` +`}strong({tokens:s}){return`${this.parser.parseInline(s)}`}em({tokens:s}){return`${this.parser.parseInline(s)}`}codespan({text:s}){return`${zm(s,!0)}`}br(s){return"
    "}del({tokens:s}){return`${this.parser.parseInline(s)}`}link({href:s,title:o,tokens:f}){let g=this.parser.parseInline(f),p=Ane(s);if(p===null)return g;s=p;let y='
    ",y}image({href:s,title:o,text:f,tokens:g}){g&&(f=this.parser.parseInline(g,this.parser.textRenderer));let p=Ane(s);if(p===null)return zm(f);s=p;let y=`${f}{let k=p[y].flat(1/0);f=f.concat(this.walkTokens(k,o))}):p.tokens&&(f=f.concat(this.walkTokens(p.tokens,o)))}}return f}use(...s){let o=this.defaults.extensions||{renderers:{},childTokens:{}};return s.forEach(f=>{let g={...f};if(g.async=this.defaults.async||g.async||!1,f.extensions&&(f.extensions.forEach(p=>{if(!p.name)throw new Error("extension name required");if("renderer"in p){let y=o.renderers[p.name];y?o.renderers[p.name]=function(...k){let T=p.renderer.apply(this,k);return T===!1&&(T=y.apply(this,k)),T}:o.renderers[p.name]=p.renderer}if("tokenizer"in p){if(!p.level||p.level!=="block"&&p.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let y=o[p.level];y?y.unshift(p.tokenizer):o[p.level]=[p.tokenizer],p.start&&(p.level==="block"?o.startBlock?o.startBlock.push(p.start):o.startBlock=[p.start]:p.level==="inline"&&(o.startInline?o.startInline.push(p.start):o.startInline=[p.start]))}"childTokens"in p&&p.childTokens&&(o.childTokens[p.name]=p.childTokens)}),g.extensions=o),f.renderer){let p=this.defaults.renderer||new Hht(this.defaults);for(let y in f.renderer){if(!(y in p))throw new Error(`renderer '${y}' does not exist`);if(["options","parser"].includes(y))continue;let k=y,T=f.renderer[k],B=p[k];p[k]=(...v)=>{let M=T.apply(p,v);return M===!1&&(M=B.apply(p,v)),M||""}}g.renderer=p}if(f.tokenizer){let p=this.defaults.tokenizer||new qht(this.defaults);for(let y in f.tokenizer){if(!(y in p))throw new Error(`tokenizer '${y}' does not exist`);if(["options","rules","lexer"].includes(y))continue;let k=y,T=f.tokenizer[k],B=p[k];p[k]=(...v)=>{let M=T.apply(p,v);return M===!1&&(M=B.apply(p,v)),M}}g.tokenizer=p}if(f.hooks){let p=this.defaults.hooks||new TK;for(let y in f.hooks){if(!(y in p))throw new Error(`hook '${y}' does not exist`);if(["options","block"].includes(y))continue;let k=y,T=f.hooks[k],B=p[k];TK.passThroughHooks.has(y)?p[k]=v=>{if(this.defaults.async&&TK.passThroughHooksRespectAsync.has(y))return Promise.resolve(T.call(p,v)).then(L=>B.call(p,L));let M=T.call(p,v);return B.call(p,M)}:p[k]=(...v)=>{let M=T.apply(p,v);return M===!1&&(M=B.apply(p,v)),M}}g.hooks=p}if(f.walkTokens){let p=this.defaults.walkTokens,y=f.walkTokens;g.walkTokens=function(k){let T=[];return T.push(y.call(this,k)),p&&(T=T.concat(p.call(this,k))),T}}this.defaults={...this.defaults,...g}}),this}setOptions(s){return this.defaults={...this.defaults,...s},this}lexer(s,o){return o6.lex(s,o??this.defaults)}parser(s,o){return s6.parse(s,o??this.defaults)}parseMarkdown(s){return(o,f)=>{let g={...f},p={...this.defaults,...g},y=this.onError(!!p.silent,!!p.async);if(this.defaults.async===!0&&g.async===!1)return y(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof o>"u"||o===null)return y(new Error("marked(): input parameter is undefined or null"));if(typeof o!="string")return y(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(o)+", string expected"));p.hooks&&(p.hooks.options=p,p.hooks.block=s);let k=p.hooks?p.hooks.provideLexer():s?o6.lex:o6.lexInline,T=p.hooks?p.hooks.provideParser():s?s6.parse:s6.parseInline;if(p.async)return Promise.resolve(p.hooks?p.hooks.preprocess(o):o).then(B=>k(B,p)).then(B=>p.hooks?p.hooks.processAllTokens(B):B).then(B=>p.walkTokens?Promise.all(this.walkTokens(B,p.walkTokens)).then(()=>B):B).then(B=>T(B,p)).then(B=>p.hooks?p.hooks.postprocess(B):B).catch(y);try{p.hooks&&(o=p.hooks.preprocess(o));let B=k(o,p);p.hooks&&(B=p.hooks.processAllTokens(B)),p.walkTokens&&this.walkTokens(B,p.walkTokens);let v=T(B,p);return p.hooks&&(v=p.hooks.postprocess(v)),v}catch(B){return y(B)}}}onError(s,o){return f=>{if(f.message+=` +Please report this to https://github.com/markedjs/marked.`,s){let g="

    An error occurred:

    "+zm(f.message+"",!0)+"
    ";return o?Promise.resolve(g):g}if(o)return Promise.reject(f);throw f}}},aE=new Jgn;n(Os,"d");Os.options=Os.setOptions=function(s){return aE.setOptions(s),Os.defaults=aE.defaults,Tie(Os.defaults),Os};Os.getDefaults=Aut;Os.defaults=fE;Os.use=function(...s){return aE.use(...s),Os.defaults=aE.defaults,Tie(Os.defaults),Os};Os.walkTokens=function(s,o){return aE.walkTokens(s,o)};Os.parseInline=aE.parseInline;Os.Parser=s6;Os.parser=s6.parse;Os.Renderer=Hht;Os.TextRenderer=Fie;Os.Lexer=o6;Os.lexer=o6.lex;Os.Tokenizer=qht;Os.Hooks=TK;Os.parse=Os;pKn=Os.options,wKn=Os.setOptions,mKn=Os.use,yKn=Os.walkTokens,vKn=Os.parseInline,kKn=s6.parse,xKn=o6.lex;n(xrn,"dedent");n(Crn,"preprocessMarkdown");n(Trn,"nonMarkdownToLines");n(Srn,"markdownToLines");n(Ern,"nonMarkdownToHTML");n(Brn,"markdownToHTML");Zgn=(function(s){"use strict";var o=function(){},f=s.requestAnimationFrame||s.webkitRequestAnimationFrame||s.mozRequestAnimationFrame||s.msRequestAnimationFrame||function(v){return setTimeout(v,16)};function g(){var v=this;v.reads=[],v.writes=[],v.raf=f.bind(s),o("initialized",v)}n(g,"FastDom"),g.prototype={constructor:g,runTasks:n(function(v){o("run tasks");for(var M;M=v.shift();)M()},"runTasks"),measure:n(function(v,M){o("measure");var L=M?v.bind(M):v;return this.reads.push(L),p(this),L},"measure"),mutate:n(function(v,M){o("mutate");var L=M?v.bind(M):v;return this.writes.push(L),p(this),L},"mutate"),clear:n(function(v){return o("clear",v),k(this.reads,v)||k(this.writes,v)},"clear"),extend:n(function(v){if(o("extend",v),typeof v!="object")throw new Error("expected object");var M=Object.create(this);return T(M,v),M.fastdom=this,M.initialize&&M.initialize(),M},"extend"),catch:null};function p(v){v.scheduled||(v.scheduled=!0,v.raf(y.bind(null,v)),o("flush scheduled"))}n(p,"scheduleFlush");function y(v){o("flush");var M=v.writes,L=v.reads,F;try{o("flushing reads",L.length),v.runTasks(L),o("flushing writes",M.length),v.runTasks(M)}catch(j){F=j}if(v.scheduled=!1,(L.length||M.length)&&p(v),F)if(o("task errored",F.message),v.catch)v.catch(F);else throw F}n(y,"flush");function k(v,M){var L=v.indexOf(M);return!!~L&&!!v.splice(L,1)}n(k,"remove");function T(v,M){for(var L in M)M.hasOwnProperty(L)&&(v[L]=M[L])}n(T,"mixin");var B=s.fastdom=s.fastdom||new g;return B})(typeof window<"u"?window:globalThis),Mrn={initialize:n(function(){this._tasks=new Map},"initialize"),mutate:n(function(s,o){return Dne(this,"mutate",s,o)},"mutate"),measure:n(function(s,o){return Dne(this,"measure",s,o)},"measure"),clear:n(function(s){var o=this._tasks,f=o.get(s);this.fastdom.clear(f),o.delete(s)},"clear")};n(Dne,"create");({initialize:CKn,mutate:TKn,measure:SKn,clear:EKn}=Mrn),tpn=Mrn,epn=Zgn.extend({raf(s){typeof queueMicrotask=="function"?queueMicrotask(s):setTimeout(s,0)}}).extend(tpn),oE=epn,npn=Object.freeze({left:0,top:0,width:16,height:16}),Kht=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Arn=Object.freeze({...npn,...Kht}),rpn=Object.freeze({...Arn,body:"",hidden:!1}),ipn=Object.freeze({width:null,height:null}),apn=Object.freeze({...ipn,...Kht}),opn=n((s,o,f,g="")=>{let p=s.split(":");if(s.slice(0,1)==="@"){if(p.length<2||p.length>3)return null;g=p.shift().slice(1)}if(p.length>3||!p.length)return null;if(p.length>1){let T=p.pop(),B=p.pop(),v={provider:p.length>0?p[0]:g,prefix:B,name:T};return o&&!Dee(v)?null:v}let y=p[0],k=y.split("-");if(k.length>1){let T={provider:g,prefix:k.shift(),name:k.join("-")};return o&&!Dee(T)?null:T}if(f&&g===""){let T={provider:g,prefix:"",name:y};return o&&!Dee(T,f)?null:T}return null},"stringToIcon"),Dee=n((s,o)=>s?!!((o&&s.prefix===""||s.prefix)&&s.name):!1,"validateIconName");n(Lrn,"mergeIconTransformations");n(jne,"mergeIconData");n(_rn,"getIconsTree");n(Ine,"internalGetIconData");n(Frn,"getIconData");spn=/(-?[0-9.]*[0-9]+[0-9.]*)/g,cpn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;n(Pne,"calculateSize");n(Orn,"splitSVGDefs");n(Drn,"mergeDefsAndContent");n(jrn,"wrapSVGContent");lpn=n(s=>s==="unset"||s==="undefined"||s==="none","isUnsetKeyword");n(Irn,"iconToSVG");hpn=/\sid="(\S+)"/g,upn="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16),dpn=0;n(Prn,"replaceIDs");n($rn,"iconToHTML");fpn={body:'?',height:80,width:80},IXe=new Map,bpn=new Map,Nrn=n(async(s,o)=>{let f=opn(s,!0,o!==void 0);if(!f)throw new Error(`Invalid icon name: ${s}`);let g=f.prefix||o;if(!g)throw new Error(`Icon name must contain a prefix: ${s}`);let p=IXe.get(g);if(!p){let k=bpn.get(g);if(!k)throw new Error(`Icon set not found: ${f.prefix}`);try{p={...await k(),prefix:g},IXe.set(g,p)}catch(T){throw qr.error(T),new Error(`Failed to load icon set: ${f.prefix}`)}}let y=Frn(p,f.name);if(!y)throw new Error(`Icon not found: ${s}`);return y},"getRegisteredIconData"),Rrn=n(async s=>{try{return await Nrn(s),!0}catch{return!1}},"isIconAvailable"),OO=n(async(s,o,f)=>{let g;try{g=await Nrn(s,o?.fallbackPrefix)}catch(k){qr.error(k),g=fpn}let p=Irn(g,o),y=$rn(Prn(p.body),{...p.attributes,...f});return Hm(y,B0())},"getIconSVG");n(zrn,"splitTextToChars");n(qrn,"splitWordToFitWidth");n(Oie,"splitWordToFitWidthRecursion");n(Hrn,"splitLineToFitWidth");n(Uht,"splitLineToFitWidthRecursion");n($ne,"applyStyle");PXe=16384;n(Krn,"addHtmlSpan");n(Die,"createTspan");n(Urn,"computeWidthOfText");n(Wrn,"createFormattedText");n(Nne,"decodeHTMLEntities");n(jie,"updateTextContentAndStyles");n(Grn,"replaceIconSubstring");wp=n(async(s,o="",{style:f="",isTitle:g=!1,classes:p="",useHtmlLabels:y=!0,markdown:k=!0,isNode:T=!0,width:B=200,minWidth:v=0,addSvgBackground:M=!1}={},L)=>{if(qr.debug("XYZ createText",o,f,g,p,y,T,"addSvgBackground: ",M),y){let F=k?Brn(o,L):Ern(o),j=await Grn(rE(F),L),$=o.replace(/\\\\/g,"\\"),z={isNode:T,label:JK(o)?$:j,labelStyle:f.replace("fill:","color:")};return await Krn(s,z,B,p,M,L,v)}else{let F=rE(o.replace(//g,"
    ")),j=k?Srn(F.replace("
    ","
    "),L):Trn(F),$=Wrn(B,s,j,o?M:!1,!T);if(T){/stroke:/.exec(f)&&(f=f.replace("stroke:","lineColor:"));let z=f.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");qo($).attr("style",z)}else{let z=f.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");qo($).select("rect").attr("style",z.replace(/background:/g,"fill:"));let U=f.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");qo($).select("text").attr("style",U)}return g?qo($).selectAll("tspan.text-outer-tspan").classed("title-row",!0):qo($).selectAll("tspan.text-outer-tspan").classed("row",!0),$}},"createText"),bK=n((s,o)=>{if(o)return"translate("+-s.width/2+", "+-s.height/2+")";let f=s.x??0,g=s.y??0;return"translate("+-(f+s.width/2)+", "+-(g+s.height/2)+")"},"computeLabelTransform"),s1={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5},Rne={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};n(SK,"calculateDeltaAndAngle");Ol=n(s=>Array.isArray(s)?{x:s[0],y:s[1]}:s,"pointTransformer"),gpn=n(s=>({x:n(function(o,f,g){let p=0,y=Ol(g[0]).x=0?1:-1)}else if(f===g.length-1&&Object.hasOwn(s1,s.arrowTypeEnd)){let{angle:j,deltaX:$}=SK(g[g.length-1],g[g.length-2]);p=s1[s.arrowTypeEnd]*Math.cos(j)*($>=0?1:-1)}let k=Math.abs(Ol(o).x-Ol(g[g.length-1]).x),T=Math.abs(Ol(o).y-Ol(g[g.length-1]).y),B=Math.abs(Ol(o).x-Ol(g[0]).x),v=Math.abs(Ol(o).y-Ol(g[0]).y),M=s1[s.arrowTypeStart],L=s1[s.arrowTypeEnd],F=1;if(k0&&T0&&v=0?1:-1)}else if(f===g.length-1&&Object.hasOwn(s1,s.arrowTypeEnd)){let{angle:j,deltaY:$}=SK(g[g.length-1],g[g.length-2]);p=s1[s.arrowTypeEnd]*Math.abs(Math.sin(j))*($>=0?1:-1)}let k=Math.abs(Ol(o).y-Ol(g[g.length-1]).y),T=Math.abs(Ol(o).x-Ol(g[g.length-1]).x),B=Math.abs(Ol(o).y-Ol(g[0]).y),v=Math.abs(Ol(o).x-Ol(g[0]).x),M=s1[s.arrowTypeStart],L=s1[s.arrowTypeEnd],F=1;if(k0&&T0&&v{let k=gU(y),T=Math.floor(k/(f+g)),B=(k+g-T*(f+g))/2,v=y[0],M=y[1];v[0]>M[0]&&(v=y[1],M=y[0]);let L=Math.atan((M[1]-v[1])/(M[0]-v[0]));for(let F=0;F{let y=gU(p),k=Math.round(y/(2*o)),T=p[0],B=p[1];T[0]>B[0]&&(T=p[1],B=p[0]);let v=Math.atan((B[1]-T[1])/(B[0]-T[0]));for(let M=0;M2*Math.PI&&(Ft=0,Nt=2*Math.PI);let se=(Nt-Ft)/V.curveStepCount,Ge=[];for(let Ue=Ft;Ue<=Nt;Ue+=se)Ge.push([nt+dt*Math.cos(Ue),at+et*Math.sin(Ue)]);return Ge.push([nt+dt*Math.cos(Nt),at+et*Math.sin(Nt)]),Ge.push([nt,at]),XS([Ge],V)})(s,o,f,g,p,y,B));return B.stroke!==pp&&v.push(M),this._d("arc",v,B)}curve(s,o){let f=this._o(o),g=[],p=zne(s,f);if(f.fill&&f.fill!==pp)if(f.fillStyle==="solid"){let y=zne(s,Object.assign(Object.assign({},f),{disableMultiStroke:!0,roughness:f.roughness?f.roughness+f.fillShapeRoughnessGain:0}));g.push({type:"fillPath",ops:this._mergedShape(y.ops)})}else{let y=[],k=s;if(k.length){let T=typeof k[0][0]=="number"?[k]:k;for(let B of T)B.length<3?y.push(...B):B.length===3?y.push(...Mht(Gne([B[0],B[0],B[1],B[2]]),10,(1+f.roughness)/2)):y.push(...Mht(Gne(B),10,(1+f.roughness)/2))}y.length&&g.push(XS([y],f))}return f.stroke!==pp&&g.push(p),this._d("curve",g,f)}polygon(s,o){let f=this._o(o),g=[],p=$K(s,!0,f);return f.fill&&(f.fillStyle==="solid"?g.push(Bht([s],f)):g.push(XS([s],f))),f.stroke!==pp&&g.push(p),this._d("polygon",g,f)}path(s,o){let f=this._o(o),g=[];if(!s)return this._d("path",g,f);s=(s||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");let p=f.fill&&f.fill!=="transparent"&&f.fill!==pp,y=f.stroke!==pp,k=!!(f.simplification&&f.simplification<1),T=(function(v,M,L){let F=$ie(Pie(Fut(v))),j=[],$=[],z=[0,0],U=[],V=n(()=>{U.length>=4&&$.push(...Mht(U,M)),U=[]},"i"),nt=n(()=>{V(),$.length&&(j.push($),$=[])},"c");for(let{key:dt,data:et}of F)switch(dt){case"M":nt(),z=[et[0],et[1]],$.push(z);break;case"L":V(),$.push([et[0],et[1]]);break;case"C":if(!U.length){let Ft=$.length?$[$.length-1]:z;U.push([Ft[0],Ft[1]])}U.push([et[0],et[1]]),U.push([et[2],et[3]]),U.push([et[4],et[5]]);break;case"Z":V(),$.push([z[0],z[1]])}if(nt(),!L)return j;let at=[];for(let dt of j){let et=Zrn(dt,L);et.length&&at.push(et)}return at})(s,1,k?4-4*(f.simplification||1):(1+f.roughness)/2),B=Hne(s,f);if(p)if(f.fillStyle==="solid")if(T.length===1){let v=Hne(s,Object.assign(Object.assign({},f),{disableMultiStroke:!0,roughness:f.roughness?f.roughness+f.fillShapeRoughnessGain:0}));g.push({type:"fillPath",ops:this._mergedShape(v.ops)})}else g.push(Bht(T,f));else g.push(XS(T,f));return y&&(k?T.forEach((v=>{g.push($K(v,!1,f))})):g.push(B)),this._d("path",g,f)}opsToPath(s,o){let f="";for(let g of s.ops){let p=typeof o=="number"&&o>=0?g.data.map((y=>+y.toFixed(o))):g.data;switch(g.op){case"move":f+=`M${p[0]} ${p[1]} `;break;case"bcurveTo":f+=`C${p[0]} ${p[1]}, ${p[2]} ${p[3]}, ${p[4]} ${p[5]} `;break;case"lineTo":f+=`L${p[0]} ${p[1]} `}}return f.trim()}toPaths(s){let o=s.sets||[],f=s.options||this.defaultOptions,g=[];for(let p of o){let y=null;switch(p.type){case"path":y={d:this.opsToPath(p),stroke:f.stroke,strokeWidth:f.strokeWidth,fill:pp};break;case"fillPath":y={d:this.opsToPath(p),stroke:pp,strokeWidth:0,fill:f.fill||pp};break;case"fillSketch":y=this.fillSketch(p,f)}y&&g.push(y)}return g}fillSketch(s,o){let f=o.fillWeight;return f<0&&(f=o.strokeWidth/2),{d:this.opsToPath(s),stroke:o.fill||pp,strokeWidth:f,fill:pp}}_mergedShape(s){return s.filter(((o,f)=>f===0||o.op!=="move"))}},Tpn=class{static{n(this,"st")}constructor(s,o){this.canvas=s,this.ctx=this.canvas.getContext("2d"),this.gen=new Xht(o)}draw(s){let o=s.sets||[],f=s.options||this.getDefaultOptions(),g=this.ctx,p=s.options.fixedDecimalPlaceDigits;for(let y of o)switch(y.type){case"path":g.save(),g.strokeStyle=f.stroke==="none"?"transparent":f.stroke,g.lineWidth=f.strokeWidth,f.strokeLineDash&&g.setLineDash(f.strokeLineDash),f.strokeLineDashOffset&&(g.lineDashOffset=f.strokeLineDashOffset),this._drawToContext(g,y,p),g.restore();break;case"fillPath":{g.save(),g.fillStyle=f.fill||"";let k=s.shape==="curve"||s.shape==="polygon"||s.shape==="path"?"evenodd":"nonzero";this._drawToContext(g,y,p,k),g.restore();break}case"fillSketch":this.fillSketch(g,y,f)}}fillSketch(s,o,f){let g=f.fillWeight;g<0&&(g=f.strokeWidth/2),s.save(),f.fillLineDash&&s.setLineDash(f.fillLineDash),f.fillLineDashOffset&&(s.lineDashOffset=f.fillLineDashOffset),s.strokeStyle=f.fill||"",s.lineWidth=g,this._drawToContext(s,o,f.fixedDecimalPlaceDigits),s.restore()}_drawToContext(s,o,f,g="nonzero"){s.beginPath();for(let p of o.ops){let y=typeof f=="number"&&f>=0?p.data.map((k=>+k.toFixed(f))):p.data;switch(p.op){case"move":s.moveTo(y[0],y[1]);break;case"bcurveTo":s.bezierCurveTo(y[0],y[1],y[2],y[3],y[4],y[5]);break;case"lineTo":s.lineTo(y[0],y[1])}}o.type==="fillPath"?s.fill(g):s.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(s,o,f,g,p){let y=this.gen.line(s,o,f,g,p);return this.draw(y),y}rectangle(s,o,f,g,p){let y=this.gen.rectangle(s,o,f,g,p);return this.draw(y),y}ellipse(s,o,f,g,p){let y=this.gen.ellipse(s,o,f,g,p);return this.draw(y),y}circle(s,o,f,g){let p=this.gen.circle(s,o,f,g);return this.draw(p),p}linearPath(s,o){let f=this.gen.linearPath(s,o);return this.draw(f),f}polygon(s,o){let f=this.gen.polygon(s,o);return this.draw(f),f}arc(s,o,f,g,p,y,k=!1,T){let B=this.gen.arc(s,o,f,g,p,y,k,T);return this.draw(B),B}curve(s,o){let f=this.gen.curve(s,o);return this.draw(f),f}path(s,o){let f=this.gen.path(s,o);return this.draw(f),f}},sht="http://www.w3.org/2000/svg",Spn=class{static{n(this,"ot")}constructor(s,o){this.svg=s,this.gen=new Xht(o)}draw(s){let o=s.sets||[],f=s.options||this.getDefaultOptions(),g=this.svg.ownerDocument||window.document,p=g.createElementNS(sht,"g"),y=s.options.fixedDecimalPlaceDigits;for(let k of o){let T=null;switch(k.type){case"path":T=g.createElementNS(sht,"path"),T.setAttribute("d",this.opsToPath(k,y)),T.setAttribute("stroke",f.stroke),T.setAttribute("stroke-width",f.strokeWidth+""),T.setAttribute("fill","none"),f.strokeLineDash&&T.setAttribute("stroke-dasharray",f.strokeLineDash.join(" ").trim()),f.strokeLineDashOffset&&T.setAttribute("stroke-dashoffset",`${f.strokeLineDashOffset}`);break;case"fillPath":T=g.createElementNS(sht,"path"),T.setAttribute("d",this.opsToPath(k,y)),T.setAttribute("stroke","none"),T.setAttribute("stroke-width","0"),T.setAttribute("fill",f.fill||""),s.shape!=="curve"&&s.shape!=="polygon"||T.setAttribute("fill-rule","evenodd");break;case"fillSketch":T=this.fillSketch(g,k,f)}T&&p.appendChild(T)}return p}fillSketch(s,o,f){let g=f.fillWeight;g<0&&(g=f.strokeWidth/2);let p=s.createElementNS(sht,"path");return p.setAttribute("d",this.opsToPath(o,f.fixedDecimalPlaceDigits)),p.setAttribute("stroke",f.fill||""),p.setAttribute("stroke-width",g+""),p.setAttribute("fill","none"),f.fillLineDash&&p.setAttribute("stroke-dasharray",f.fillLineDash.join(" ").trim()),f.fillLineDashOffset&&p.setAttribute("stroke-dashoffset",`${f.fillLineDashOffset}`),p}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(s,o){return this.gen.opsToPath(s,o)}line(s,o,f,g,p){let y=this.gen.line(s,o,f,g,p);return this.draw(y)}rectangle(s,o,f,g,p){let y=this.gen.rectangle(s,o,f,g,p);return this.draw(y)}ellipse(s,o,f,g,p){let y=this.gen.ellipse(s,o,f,g,p);return this.draw(y)}circle(s,o,f,g){let p=this.gen.circle(s,o,f,g);return this.draw(p)}linearPath(s,o){let f=this.gen.linearPath(s,o);return this.draw(f)}polygon(s,o){let f=this.gen.polygon(s,o);return this.draw(f)}arc(s,o,f,g,p,y,k=!1,T){let B=this.gen.arc(s,o,f,g,p,y,k,T);return this.draw(B)}curve(s,o){let f=this.gen.curve(s,o);return this.draw(f)}path(s,o){let f=this.gen.path(s,o);return this.draw(f)}},br={canvas:n((s,o)=>new Tpn(s,o),"canvas"),svg:n((s,o)=>new Spn(s,o),"svg"),generator:n(s=>new Xht(s),"generator"),newSeed:n(()=>Xht.newSeed(),"newSeed")},Epn=n(async(s,o,f,g=!1,p=!1)=>{let y=o||"";typeof y=="object"&&(y=y[0]);let k=Da(),T=M0(k);return await wp(s,y,{style:f,isTitle:g,useHtmlLabels:T,markdown:!1,isNode:p,width:Number.POSITIVE_INFINITY},k)},"createLabel"),c6=Epn,Bpn=n((s,o,f,g,p,y=!1,k)=>{o.arrowTypeStart&&NXe(s,"start",o.arrowTypeStart,f,g,p,y,k),o.arrowTypeEnd&&NXe(s,"end",o.arrowTypeEnd,f,g,p,y,k)},"addEdgeMarkers"),Mpn={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_barb_neo:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},arrow_hierarchy:{type:"hierarchy",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}},Apn=["cross","point","circle","lollipop","aggregation","extension","composition","dependency","barb"],NXe=n((s,o,f,g,p,y,k=!1,T)=>{if(!f||f==="none")return;let B=Mpn[f],v=B&&Apn.includes(B.type);if(!B){qr.warn(`Unknown arrow type: ${f}`);return}let M=B.type,L=`${p}_${y}-${M}${o==="start"?"Start":"End"}${k&&v?"-margin":""}`;if(T&&T.trim()!==""){let F=T.replace(/[^\dA-Za-z]/g,"_"),j=`${L}_${F}`;if(!document.getElementById(j)){let $=document.getElementById(L);if($){let z=$.cloneNode(!0);z.id=j,z.querySelectorAll("path, circle, line").forEach(U=>{U.setAttribute("stroke",T),B.fill&&U.setAttribute("fill",T)}),$.parentNode?.appendChild(z)}}s.attr(`marker-${o}`,`url(${g}#${j})`)}else s.attr(`marker-${o}`,`url(${g}#${L})`)},"addEdgeMarker"),Lpn=n(s=>{let{handDrawnSeed:o}=Da();return{fill:s,hachureAngle:120,hachureGap:1.5,fillWeight:1.5,roughness:.7,stroke:s,seed:o}},"solidStateFill"),_pn=n(s=>Array.isArray(s)?s:s?s.split(";").map(o=>o.trim()).filter(Boolean):[],"normalizeStyleList"),i9=n(s=>{let o=Fpn([...s.cssCompiledStyles||[],...s.cssStyles||[],..._pn(s.labelStyle)]);return{stylesMap:o,stylesArray:[...o]}},"compileStyles"),Fpn=n(s=>{let o=new Map;return s.forEach(f=>{let[g,p]=f.split(":");o.set(g.trim(),p?.trim())}),o},"styles2Map"),tin=n(s=>s==="color"||s==="font-size"||s==="font-family"||s==="font-weight"||s==="font-style"||s==="text-decoration"||s==="text-align"||s==="text-transform"||s==="line-height"||s==="letter-spacing"||s==="word-spacing"||s==="text-shadow"||s==="text-overflow"||s==="white-space"||s==="word-wrap"||s==="word-break"||s==="overflow-wrap"||s==="hyphens","isLabelStyle"),vr=n(s=>{let{stylesArray:o}=i9(s),f=[],g=[],p=[],y=[];return o.forEach(k=>{let T=k[0];tin(T)?f.push(k.join(":")+" !important"):(g.push(k.join(":")+" !important"),T.includes("stroke")&&p.push(k.join(":")+" !important"),T==="fill"&&y.push(k.join(":")+" !important"))}),{labelStyles:f.join(";"),nodeStyles:g.join(";"),stylesArray:o,borderStyles:p,backgroundStyles:y}},"styles2String"),dr=n((s,o)=>{let{themeVariables:f,handDrawnSeed:g}=Da(),{nodeBorder:p,mainBkg:y}=f,{stylesMap:k}=i9(s);return Object.assign({roughness:.7,fill:k.get("fill")||y,fillStyle:"hachure",fillWeight:1.5,hachureGap:1.5,stroke:k.get("stroke")||p,seed:g,strokeWidth:k.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0],strokeLineDash:Opn(k.get("stroke-dasharray"))},o)},"userNodeOverrides"),Opn=n(s=>{if(!s)return[0,0];let o=s.trim().split(/\s+/).map(Number);if(o.length===1){let p=isNaN(o[0])?0:o[0];return[p,p]}let f=isNaN(o[0])?0:o[0],g=isNaN(o[1])?0:o[1];return[f,g]},"getStrokeDashArray"),Dpn=n(s=>typeof s=="string"?s:Da()?.flowchart?.curve,"resolveEdgeCurveType"),Out=new Map,_b=new Map,jpn=n(()=>{Out.clear(),_b.clear()},"clear"),ein=n(s=>!!(s.label||s.startLabelLeft||s.startLabelRight||s.endLabelLeft||s.endLabelRight),"hasEdgeLabel"),gK=n(s=>s?typeof s=="string"?s:s.reduce((o,f)=>o+";"+f,""):"","getLabelStyles"),nin=n(async(s,o)=>{let f=Da(),g=M0(f),{labelStyles:p}=vr(o);o.labelStyle=p;let y=s.insert("g").attr("class","edgeLabel"),k=y.insert("g").attr("class","label").attr("data-id",o.id),T=o.labelType==="markdown",B=await wp(s,o.label,{style:gK(o.labelStyle),useHtmlLabels:g,addSvgBackground:!0,isNode:!1,markdown:T,width:void 0},f);k.node().appendChild(B),qr.info("abc82",o,o.labelType);let v,M;if(g){let F=B.children[0],j=qo(B);v=await oE.measure(()=>F.getBoundingClientRect()),M=v,j.attr("width",v.width),j.attr("height",v.height)}else{let F=qo(B).select("text").node();await oE.measure(()=>{v=B.getBBox(),F&&typeof F.getBBox=="function"?M=F.getBBox():M=v})}k.attr("transform",bK(M,g)),Out.set(o.id,y),o.width=v.width,o.height=v.height;let L;if(o.startLabelLeft){let F=s.insert("g").attr("class","edgeTerminals"),j=F.insert("g").attr("class","inner"),$=await c6(j,o.startLabelLeft,gK(o.labelStyle)||"",!1,!1);L=$;let z=$.getBBox();if(g){let U=$.children[0],V=qo($);z=U.getBoundingClientRect(),V.attr("width",z.width),V.attr("height",z.height)}j.attr("transform",bK(z,g)),_b.get(o.id)||_b.set(o.id,{}),_b.get(o.id).startLeft=F,MK(L,o.startLabelLeft,z),BK(o,"startLeft",z)}if(o.startLabelRight){let F=s.insert("g").attr("class","edgeTerminals"),j=F.insert("g").attr("class","inner"),$=await c6(j,o.startLabelRight,gK(o.labelStyle)||"",!1,!1);L=$;let z=$.getBBox();if(g){let U=$.children[0],V=qo($);z=U.getBoundingClientRect(),V.attr("width",z.width),V.attr("height",z.height)}j.attr("transform",bK(z,g)),_b.get(o.id)||_b.set(o.id,{}),_b.get(o.id).startRight=F,MK(L,o.startLabelRight,z),BK(o,"startRight",z)}if(o.endLabelLeft){let F=s.insert("g").attr("class","edgeTerminals"),j=F.insert("g").attr("class","inner"),$=await c6(j,o.endLabelLeft,gK(o.labelStyle)||"",!1,!1);L=$;let z=$.getBBox();if(g){let U=$.children[0],V=qo($);z=U.getBoundingClientRect(),V.attr("width",z.width),V.attr("height",z.height)}j.attr("transform",bK(z,g)),_b.get(o.id)||_b.set(o.id,{}),_b.get(o.id).endLeft=F,MK(L,o.endLabelLeft,z),BK(o,"endLeft",z)}if(o.endLabelRight){let F=s.insert("g").attr("class","edgeTerminals"),j=F.insert("g").attr("class","inner"),$=await c6(j,o.endLabelRight,gK(o.labelStyle)||"",!1,!1);L=$;let z=$.getBBox();if(g){let U=$.children[0],V=qo($);z=U.getBoundingClientRect(),V.attr("width",z.width),V.attr("height",z.height)}j.attr("transform",bK(z,g)),_b.get(o.id)||_b.set(o.id,{}),_b.get(o.id).endRight=F,MK(L,o.endLabelRight,z),BK(o,"endRight",z)}return B},"insertEdgeLabel");n(BK,"recordTerminalLabelSize");n(MK,"setTerminalWidth");Ipn=n((s,o)=>{let f=s.x,g=s.y;if(o?.updatedPath){let p=$ht.calcLabelPosition(o.updatedPath);if(o.originalPath){let y=$ht.calcLabelPosition(o.originalPath);f=s.x+(p.x-y.x),g=s.y+(p.y-y.y)}else f=p.x,g=p.y}return{x:f,y:g}},"resolveEdgeLabelPosition"),Ppn=n((s,o)=>{if(!s?.isLabelEdge||!s?.id?.endsWith("-to-label")||!Array.isArray(o)||o.length!==2)return o;let[f,g]=o,p=Math.abs(g.x-f.x),y=Math.abs(g.y-f.y);return p<.001||y<.001?o:y>=p?[f,{x:f.x,y:g.y},g]:[f,{x:g.x,y:f.y},g]},"orthogonalizeToLabelClippedPoints"),$pn=n((s,o)=>{let f=s.x,g=s.y,p=Math.abs(o.x-f),y=Math.abs(o.y-g),k=s.width/2,T=s.height/2;return p>=k||y>=T},"outsideNode"),Npn=n((s,o,f)=>{qr.debug(`intersection calc abc89: + outsidePoint: ${JSON.stringify(o)} + insidePoint : ${JSON.stringify(f)} + node : x:${s.x} y:${s.y} w:${s.width} h:${s.height}`);let g=s.x,p=s.y,y=Math.abs(g-f.x),k=s.width/2,T=f.xMath.abs(g-o.x)*B){let L=f.y{qr.warn("abc88 cutPathAtIntersect",s,o);let f=[],g=s[0],p=!1;return s.forEach(y=>{if(qr.info("abc88 checking point",y,o),!$pn(o,y)&&!p){let k=Npn(o,g,y);qr.debug("abc88 inside",y,g,k),qr.debug("abc88 intersection",k,o);let T=!1;f.forEach(B=>{T=T||B.x===k.x&&B.y===k.y}),f.some(B=>B.x===k.x&&B.y===k.y)?qr.warn("abc88 no intersect",k,f):f.push(k),p=!0}else qr.warn("abc88 outside",y,g),g=y,p||f.push(y)}),qr.debug("returning points",f),f},"cutPathAtIntersect");n(rin,"extractCornerPoints");zXe=n(function(s,o,f){let g=o.x-s.x,p=o.y-s.y,y=Math.sqrt(g*g+p*p),k=f/y;return{x:o.x-k*g,y:o.y-k*p}},"findAdjacentPoint"),Rpn=n(function(s){let{cornerPointPositions:o}=rin(s),f=[];for(let g=0;g10&&Math.abs(y.y-p.y)>=10){qr.debug("Corner point fixing",Math.abs(y.x-p.x),Math.abs(y.y-p.y));let j=5;k.x===T.x?F={x:v<0?T.x-j+L:T.x+j-L,y:M<0?T.y-L:T.y+L}:F={x:v<0?T.x-L:T.x+L,y:M<0?T.y-j+L:T.y+j-L}}else qr.debug("Corner point skipping fixing",Math.abs(y.x-p.x),Math.abs(y.y-p.y));f.push(F,B)}else f.push(s[g]);return f},"fixCorners"),zpn=n((s,o,f)=>{let g=s-o-f,p=2,y=2,k=p+y,T=Math.floor(g/k),B=Number.isFinite(T)?Math.max(0,T):0,v=Array(B).fill(`${p} ${y}`).join(" ");return`0 ${o} ${v} ${f}`},"generateDashArray"),qpn=n(function(s,o,f,g,p,y,k,T=!1){if(!k)throw new Error(`insertEdge: missing diagramId for edge "${o.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);let{handDrawnSeed:B,layout:v}=Da(),M=o.points,L=!1,F=p;var j=y;let $=[];for(let ke in o.cssCompiledStyles)tin(ke)||$.push(o.cssCompiledStyles[ke]);if(v==="swimlane"){if(j.intersect&&F.intersect&&Array.isArray(M)&&M.length>=2)if(M.length===2)M=[F.intersect(M[0]),j.intersect(M[1])];else{let ke=M.slice(1,-1),nn=ke[0],tt=ke[ke.length-1],sr=.5,Xr=Math.abs(M[M.length-1].x-tt.x)!Number.isNaN(ke.y)),V=Dpn(o.curve);V!=="rounded"&&(U=Rpn(U));let nt=ZS;switch(V){case"linear":nt=ZS;break;case"basis":nt=Dht;break;case"cardinal":nt=qZe;break;case"bumpX":nt=Kre;break;case"bumpY":nt=Ure;break;case"catmullRom":nt=HZe;break;case"monotoneX":nt=eie;break;case"monotoneY":nt=nie;break;case"natural":nt=iie;break;case"step":nt=aie;break;case"stepAfter":nt=sie;break;case"stepBefore":nt=oie;break;case"rounded":nt=ZS;break;default:nt=Dht}let{x:at,y:dt}=gpn(o),et=$Ze().x(at).y(dt).curve(nt),Ft;switch(o.thickness){case"normal":Ft="edge-thickness-normal";break;case"thick":Ft="edge-thickness-thick";break;case"invisible":Ft="edge-thickness-invisible";break;default:Ft="edge-thickness-normal"}switch(o.pattern){case"solid":Ft+=" edge-pattern-solid";break;case"dotted":Ft+=" edge-pattern-dotted";break;case"dashed":Ft+=" edge-pattern-dashed";break;default:Ft+=" edge-pattern-solid"}let Nt,se=V==="rounded"?iin(ain(U,o),5):et(U),Ge=Array.isArray(o.style)?o.style:[o.style],Ue=Ge.find(ke=>ke?.startsWith("stroke:")),me="";o.animate&&(me="edge-animation-fast"),o.animation&&(me="edge-animation-"+o.animation);let fn=!1;if(o.look==="handDrawn"){let ke=br.svg(s);Object.assign([],U);let nn=ke.path(se,{roughness:.3,seed:B});Ft+=" transition",Nt=qo(nn).select("path").attr("id",`${k}-${o.id}`).attr("class"," "+Ft+(o.classes?" "+o.classes:"")+(me?" "+me:"")).attr("style",Ge?Ge.reduce((sr,Xr)=>sr+";"+Xr,""):"");let tt=Nt.attr("d");Nt.attr("d",tt),s.node().appendChild(Nt.node())}else{let ke=$.join(";"),nn=Ge?Ge.reduce((ja,Or)=>ja+Or+";",""):"",tt=(ke?ke+";"+nn+";":nn)+";"+(Ge?Ge.reduce((ja,Or)=>ja+";"+Or,""):"");Nt=s.append("path").attr("d",se).attr("id",`${k}-${o.id}`).attr("class"," "+Ft+(o.classes?" "+o.classes:"")+(me?" "+me:"")).attr("style",tt),Ue=tt.match(/stroke:([^;]+)/)?.[1],fn=o.animate===!0||!!o.animation||ke.includes("animation");let sr=Nt.node(),Xr=typeof sr.getTotalLength=="function"?sr.getTotalLength():0,$i=Rne[o.arrowTypeStart]||0,Bi=Rne[o.arrowTypeEnd]||0;if(o.look==="neo"&&!fn){let ja=`stroke-dasharray: ${o.pattern==="dotted"||o.pattern==="dashed"?zpn(Xr,$i,Bi):`0 ${$i} ${Xr-$i-Bi} ${Bi}`}; stroke-dashoffset: 0;`;Nt.attr("style",ja+Nt.attr("style"))}}Nt.attr("data-edge",!0),Nt.attr("data-et","edge"),Nt.attr("data-id",o.id),Nt.attr("data-points",z),Nt.attr("data-look",Au(o.look)),o.showPoints&&U.forEach(ke=>{s.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",ke.x).attr("cy",ke.y)});let Ce="";(Da().flowchart.arrowMarkerAbsolute||Da().state.arrowMarkerAbsolute)&&(Ce=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,Ce=Ce.replace(/\(/g,"\\(").replace(/\)/g,"\\)")),qr.info("arrowTypeStart",o.arrowTypeStart),qr.info("arrowTypeEnd",o.arrowTypeEnd);let ge=!fn&&o?.look==="neo";Bpn(Nt,o,Ce,k,g,ge,Ue);let be=Math.floor(M.length/2),le=M[be];$ht.isLabelCoordinateInPath(le,Nt.attr("d"))||(L=!0);let Oe={};return L&&(Oe.updatedPath=M),Oe.originalPath=o.points,Oe},"insertEdge");n(iin,"generateRoundedPath");n(Vne,"calculateDeltaAndAngle");n(ain,"applyMarkerOffsetsToPoints");Hpn=1,Kpn=3;n(Hie,"configureLabelImages");n(Kie,"hasTextBesidesImages");qXe=3,Upn=32,Wpn=n(async(s,o,f)=>{let g=Da(),p=s.insert("g").attr("class",f??"node default").attr("id",o.domId||o.id),y=p.insert("g").attr("class","label").attr("style",Au(o.labelStyle)),k=[{text:typeof o.label=="string"?o.label:o.label?.[0]??"",cssClass:"c4-name"},{text:o.stereotype,cssClass:"c4-type"},...(o.description??[]).map(z=>({text:z,cssClass:"c4-descr"}))].filter(z=>z.text),T=o.width?Math.max(o.width-2*(o.padding??0),Upn):Da().flowchart?.wrappingWidth??200,B=g.c4?.wrap??!0?T:Number.POSITIVE_INFINITY,v=await Promise.all(k.map(async z=>{let U=y.append("g").attr("class",z.cssClass),V=await wp(U,Hm(rE(z.text??""),g),{useHtmlLabels:!1,markdown:!1,isNode:!0,width:B,style:o.labelStyle},g);return qo(V).selectAll("tspan.text-outer-tspan").attr("text-anchor","middle"),qo(V).selectAll("tspan.text-inner-tspan").attr("font-weight",null).attr("font-style",null),{el:U,box:U.node().getBBox()}})),M=Math.max(...v.map(({box:z})=>z.width),0),L=0;for(let{el:z,box:U}of v)z.attr("transform",`translate(${M/2-U.x-U.width/2}, ${L-U.y})`),L+=U.height+qXe;let F=v.length>0?L-qXe:0;y.insert("rect",":first-child"),y.attr("transform",`translate(${-M/2}, ${-F/2})`);let j=y.node().getBBox(),$=(o.padding??0)/2;return{shapeSvg:p,bbox:j,halfPadding:$,label:y}},"c4LabelHelper"),HXe=n((s,o)=>{let{x:f,y:g,width:p,height:y}=s;return p>=o?s:"left"in s?{x:f,y:g,width:o,height:y,top:g,left:f,bottom:g+y,right:f+o,toJSON:n(()=>({}),"toJSON")}:{x:f-(o-p)/2,y:g,width:o,height:y}},"withMinWidth"),ni=n(async(s,o,f)=>{if(o.stereotype!==void 0)return Wpn(s,o,f);let g,p=o.useHtmlLabels||d6(Da()?.htmlLabels);f?g=f:g="node default";let y=s.insert("g").attr("class",g).attr("id",o.domId||o.id),k=y.insert("g").attr("class","label").attr("style",Au(o.labelStyle)),T;o.label===void 0?T="":T=typeof o.label=="string"?o.label:o.label[0];let B=!!o.icon||!!o.img,v=o.labelType==="markdown",M=T&&!o.width?o.minWidth??0:0,L=await wp(k,Hm(rE(T),Da()),{useHtmlLabels:p,width:o.width||o.wrappingWidth||Da().flowchart?.wrappingWidth,minWidth:M,classes:v?"markdown-node-label":"",style:o.labelStyle,addSvgBackground:B,markdown:v},Da()),F=(o?.padding??0)/2,j;if(p){let $=L.children[0],z=qo(L);await Hie($),j=await oE.measure(()=>$.getBoundingClientRect()),j=HXe(j,M),z.attr("width",j.width),z.attr("height",j.height)}else j=await oE.measure(()=>L.getBBox()),j=HXe(j,M);return p?k.attr("transform","translate("+-j.width/2+", "+-j.height/2+")"):k.attr("transform","translate(0, "+-j.height/2+")"),o.centerLabel&&k.attr("transform","translate("+-j.width/2+", "+-j.height/2+")"),k.insert("rect",":first-child"),{shapeSvg:y,bbox:j,halfPadding:F,label:k}},"labelHelper"),tE=n(async(s,o,f)=>{let g=f.useHtmlLabels??M0(Da()),p=s.insert("g").attr("class","label").attr("style",f.labelStyle||""),y=await wp(p,Hm(rE(o),Da()),{useHtmlLabels:g,width:f.width||Da()?.flowchart?.wrappingWidth,style:f.labelStyle,addSvgBackground:!!f.icon||!!f.img}),k=f.padding/2,T;if(M0(Da())){let B=y.children[0],v=qo(y);T=await oE.measure(()=>B.getBoundingClientRect()),v.attr("width",T.width),v.attr("height",T.height)}else T=await oE.measure(()=>y.getBBox());return g?p.attr("transform","translate("+-T.width/2+", "+-T.height/2+")"):p.attr("transform","translate(0, "+-T.height/2+")"),f.centerLabel&&p.attr("transform","translate("+-T.width/2+", "+-T.height/2+")"),p.insert("rect",":first-child"),{shapeSvg:s,bbox:T,halfPadding:k,label:p}},"insertLabel"),Cr=n((s,o,f)=>{if(f){s.width=f.width,s.height=f.height;return}let g=o.node().getBBox();s.width=g.width,s.height=g.height},"updateNodeBounds"),Zr=n((s,o)=>(s.look==="handDrawn"?"rough-node":"node")+" "+s.cssClasses+" "+(o||""),"getNodeClasses");n(Xo,"createPathFromPoints");n(r9,"generateFullSineWavePoints");n(e5,"generateCirclePoints");n(Xne,"mergePaths");n(oin,"intersectNode");Gpn=oin;n(sin,"intersectEllipse");cin=sin;n(lin,"intersectCircle");Vpn=lin;n(hin,"intersectLine");n(Yne,"sameSign");Xpn=hin;n(uin,"intersectPolygon");Ypn=uin,Qpn=n((s,o)=>{var f=s.x,g=s.y,p=o.x-f,y=o.y-g,k=s.width/2,T=s.height/2,B,v;return Math.abs(y)*k>Math.abs(p)*T?(y<0&&(T=-T),B=y===0?0:T*p/y,v=T):(p<0&&(k=-k),B=k,v=p===0?0:k*y/p),{x:f+B,y:g+v}},"intersectRect"),b6=Qpn,ar={node:Gpn,circle:Vpn,ellipse:cin,polygon:Ypn,rect:b6};n(din,"anchor");n(Qne,"generateArcPoints");n(fin,"calculateArcSagitta");n(bin,"bowTieRect");n(gin,"bucket");mp=n((s,o,f,g,p)=>["M",s+p,o,"H",s+f-p,"A",p,p,0,0,1,s+f,o+p,"V",o+g-p,"A",p,p,0,0,1,s+f-p,o+g,"H",s+p,"A",p,p,0,0,1,s,o+g-p,"V",o+p,"A",p,p,0,0,1,s+p,o,"Z"].join(" "),"createRoundedRectPathD"),Jpn=new Set(["redux-color","redux-dark-color"]),pin=n(s=>Array.isArray(s)&&s.length>0,"hasPalette"),Zpn=n((s,o)=>s!=null&&Jpn.has(s)&&pin(o),"isColorTheme"),t2n=n(s=>pin(s)?s.length:0,"paletteSlotCount"),J2=n((s,o,f,g)=>{if(o===void 0||!Zpn(f,g))return;let p=o%t2n(g);s.attr("data-color-id",`color-${p}`)},"stampColorSlot"),Iee=20,Pee=8,e2n=80,n2n=8;n(win,"getCollapsedStyle");n(min,"collapsedGroup");n(c5,"insertPolygonShape");r2n=["right","left","up","down"],Uie="point",i2n=n(s=>{let o=new Set;for(let f of s)switch(f){case"x":o.add("right"),o.add("left");break;case"y":o.add("up"),o.add("down");break;default:o.add(f);break}return o},"expandAndDeduplicateDirections"),a2n=n(s=>r2n.filter(o=>s.has(o)).join("|")||Uie,"getDirectionKey"),KXe={"right|left|up|down":n(({height:s,midpoint:o,padding:f,width:g})=>[{x:0,y:0},{x:o,y:0},{x:g/2,y:2*f},{x:g-o,y:0},{x:g,y:0},{x:g,y:-s/3},{x:g+2*f,y:-s/2},{x:g,y:-2*s/3},{x:g,y:-s},{x:g-o,y:-s},{x:g/2,y:-s-2*f},{x:o,y:-s},{x:0,y:-s},{x:0,y:-2*s/3},{x:-2*f,y:-s/2},{x:0,y:-s/3}],"right|left|up|down"),"right|left|up":n(({height:s,midpoint:o,width:f})=>[{x:o,y:0},{x:f-o,y:0},{x:f,y:-s/2},{x:f-o,y:-s},{x:o,y:-s},{x:0,y:-s/2}],"right|left|up"),"right|left|down":n(({height:s,midpoint:o,width:f})=>[{x:0,y:0},{x:o,y:-s},{x:f-o,y:-s},{x:f,y:0}],"right|left|down"),"right|up|down":n(({height:s,midpoint:o,width:f})=>[{x:0,y:0},{x:f,y:-o},{x:f,y:-s+o},{x:0,y:-s}],"right|up|down"),"left|up|down":n(({height:s,midpoint:o,width:f})=>[{x:f,y:0},{x:0,y:-o},{x:0,y:-s+o},{x:f,y:-s}],"left|up|down"),"right|left":n(({height:s,midpoint:o,padding:f,width:g})=>[{x:o,y:0},{x:o,y:-f},{x:g-o,y:-f},{x:g-o,y:0},{x:g,y:-s/2},{x:g-o,y:-s},{x:g-o,y:-s+f},{x:o,y:-s+f},{x:o,y:-s},{x:0,y:-s/2}],"right|left"),"up|down":n(({height:s,midpoint:o,padding:f,width:g})=>[{x:g/2,y:0},{x:0,y:-f},{x:o,y:-f},{x:o,y:-s+f},{x:0,y:-s+f},{x:g/2,y:-s},{x:g,y:-s+f},{x:g-o,y:-s+f},{x:g-o,y:-f},{x:g,y:-f}],"up|down"),"right|up":n(({height:s,midpoint:o,width:f})=>[{x:0,y:0},{x:f,y:-o},{x:0,y:-s}],"right|up"),"right|down":n(({height:s,width:o})=>[{x:0,y:0},{x:o,y:0},{x:0,y:-s}],"right|down"),"left|up":n(({height:s,midpoint:o,width:f})=>[{x:f,y:0},{x:0,y:-o},{x:f,y:-s}],"left|up"),"left|down":n(({height:s,width:o})=>[{x:o,y:0},{x:0,y:0},{x:o,y:-s}],"left|down"),right:n(({height:s,midpoint:o,padding:f,width:g})=>[{x:o,y:-f},{x:o,y:-f},{x:g-o,y:-f},{x:g-o,y:0},{x:g,y:-s/2},{x:g-o,y:-s},{x:g-o,y:-s+f},{x:o,y:-s+f},{x:o,y:-s+f}],"right"),left:n(({height:s,midpoint:o,padding:f,width:g})=>[{x:o,y:0},{x:o,y:-f},{x:g-o,y:-f},{x:g-o,y:-s+f},{x:o,y:-s+f},{x:o,y:-s},{x:0,y:-s/2}],"left"),up:n(({height:s,midpoint:o,padding:f,width:g})=>[{x:o,y:-f},{x:o,y:-s+f},{x:0,y:-s+f},{x:g/2,y:-s},{x:g,y:-s+f},{x:g-o,y:-s+f},{x:g-o,y:-f}],"up"),down:n(({height:s,midpoint:o,padding:f,width:g})=>[{x:g/2,y:0},{x:0,y:-f},{x:o,y:-f},{x:o,y:-s+f},{x:g-o,y:-s+f},{x:g-o,y:-f},{x:g,y:-f}],"down"),[Uie]:()=>[{x:0,y:0}]},o2n=n((s,o,f,g)=>{let p=i2n(s),y=(f.padding??0)/2,k=o.height+4*y,T=k/2,B=g??o.width+2*T+2*y,v=a2n(p);return(KXe[v]??KXe[Uie])({height:k,midpoint:T,padding:y,width:B})},"getArrowPoints");n(yin,"block_arrow");n(vin,"browser");cht=12;n(kin,"card");n(xin,"choice");n(Wie,"circle");n(Cin,"composite");n(Tin,"consoleWindow");n(Sin,"createLine");n(Ein,"crossedCircle");n(r6,"generateCirclePoints");n(Bin,"curlyBraceLeft");n(i6,"generateCirclePoints");n(Min,"curlyBraceRight");n(S0,"generateCirclePoints");n(Ain,"curlyBraces");n(Lin,"curvedTrapezoid");n(_in,"person");s2n=n((s,o,f,g,p,y)=>[`M${s},${o+y}`,`a${p},${y} 0,0,0 ${f},0`,`a${p},${y} 0,0,0 ${-f},0`,`l0,${g}`,`a${p},${y} 0,0,0 ${f},0`,`l0,${-g}`].join(" "),"createCylinderPathD"),c2n=n((s,o,f,g,p,y)=>[`M${s},${o+y}`,`M${s+f},${o+y}`,`a${p},${y} 0,0,0 ${-f},0`,`l0,${g}`,`a${p},${y} 0,0,0 ${f},0`,`l0,${-g}`].join(" "),"createOuterCylinderPathD"),l2n=n((s,o,f,g,p,y)=>[`M${s-f/2},${-g/2}`,`a${p},${y} 0,0,0 ${f},0`].join(" "),"createInnerCylinderPathD"),UXe=8,WXe=8;n(Fin,"cylinder");n(jO,"drawRect");n(Oin,"datastore");n(Din,"dividedRectangle");n(jin,"doublecircle");n(Iin,"usecaseEllipse");n(Pin,"filledCircle");GXe=10,VXe=10;n($in,"flippedTriangle");n(Nin,"folder");n(Rin,"forkJoin");n(zin,"halfRoundedRectangle");h2n=n((s,o,f,g,p)=>[`M${s+p},${o}`,`L${s+f-p},${o}`,`L${s+f},${o-g/2}`,`L${s+f-p},${o-g}`,`L${s+p},${o-g}`,`L${s},${o-g/2}`,"Z"].join(" "),"createHexagonPathD");n(qin,"hexagon");n(Hin,"hourglass");n(Kin,"icon");n(Uin,"iconCircle");n(Win,"iconRounded");n(Gin,"iconSquare");n(Vin,"imageSquare");n(Xin,"inv_trapezoid");n(Yin,"labelRect");n(Qin,"lean_left");n(Jin,"lean_right");n(Zin,"lightningBolt");u2n=n((s,o,f,g,p,y,k)=>[`M${s},${o+y}`,`a${p},${y} 0,0,0 ${f},0`,`a${p},${y} 0,0,0 ${-f},0`,`l0,${g}`,`a${p},${y} 0,0,0 ${f},0`,`l0,${-g}`,`M${s},${o+y+k}`,`a${p},${y} 0,0,0 ${f},0`].join(" "),"createCylinderPathD"),d2n=n((s,o,f,g,p,y,k)=>[`M${s},${o+y}`,`M${s+f},${o+y}`,`a${p},${y} 0,0,0 ${-f},0`,`l0,${g}`,`a${p},${y} 0,0,0 ${f},0`,`l0,${-g}`,`M${s},${o+y+k}`,`a${p},${y} 0,0,0 ${f},0`].join(" "),"createOuterCylinderPathD"),f2n=n((s,o,f,g,p,y)=>[`M${s-f/2},${-g/2}`,`a${p},${y} 0,0,0 ${f},0`].join(" "),"createInnerCylinderPathD"),XXe=10,YXe=10;n(tan,"linedCylinder");n(ean,"linedWaveEdgedRect");b2n=56,$ee=72,QXe=8,JXe=2,g2n=8,p2n={normal:"usecase-actor-shape usecase-actor-normal",hollow:"usecase-actor-hollow",awesome:"usecase-actor-awesome",icon:"usecase-actor-icon"},ZXe=Math.PI/3,tYe=.6,Nee=n((s,o)=>{let f=o*tYe,g=o*Math.sqrt(1-tYe**2),p=Math.cos(ZXe),y=-Math.sin(ZXe),k=f*-y,T=s+f*p,B=g*p,v=g*y;return`M ${k-B} ${T-v} L ${k+B} ${T+v}`},"businessMarkerPathForCircle"),w2n={normal:Nee(-24,12),hollow:Nee(-23,9),awesome:Nee(-21,13),icon:"M 12 -8 L 26 -26"},eYe=n((s,o,f)=>{let g=(o.x??0)-(o.left??0),p=(o.y??0)-(o.top??0);s.attr("transform",`translate(${-o.width/2-g},${f-o.height/2-p})`)},"positionLabel"),Gie=n((s,o,f,g,p=!1)=>{if(o.look==="handDrawn"){let k=br.svg(s).path(f,dr(o,p?{fill:"none"}:{}));return s.insert(()=>k,":first-child").attr("class",g)}let y=s.append("path").attr("class",g).attr("d",f);return p&&y.attr("fill","none"),y},"appendActorPath"),m2n=n((s,o,f,g,p,y,k=!1)=>{if(o.look==="handDrawn"){let B=br.svg(s).circle(f,g,p*2,dr(o,k?{fill:"none"}:{}));return s.insert(()=>B,":first-child").attr("class",y)}let T=s.append("circle").attr("class",y).attr("cx",f).attr("cy",g).attr("r",p);return k&&T.attr("fill","none"),T},"appendActorCircle"),y2n=n((s,o,f)=>{o.business&&s.append("path").attr("class","usecase-business-marker usecase-actor-business-marker").attr("d",w2n[f]).attr("fill","none").attr("style","stroke: inherit !important; stroke-width: inherit !important")},"appendBusinessActorMarker");n(pU,"renderUsecaseActor");v2n=["M 0 -12","C 6.627 -12 12 -17.373 12 -24","C 12 -30.627 6.627 -36 0 -36","C -6.627 -36 -12 -30.627 -12 -24","C -12 -17.373 -6.627 -12 0 -12 Z","M 0 -12 V 8","M -17 -5 H 17","M 0 8 L -15 28","M 0 8 L 15 28"].join(" ");n(nan,"usecaseActor");k2n=["M 0 -34","C 7.18 -34 13 -28.18 13 -21","C 13 -13.82 7.18 -8 0 -8","C -7.18 -8 -13 -13.82 -13 -21","C -13 -28.18 -7.18 -34 0 -34 Z","M -24 25","C -24 7 -14 -3 0 -3","C 14 -3 24 7 24 25","C 24 28 21 30 18 30","H -18","C -21 30 -24 28 -24 25 Z"].join(" ");n(ran,"usecaseActorAwesome");x2n=["M -22 -10","H 22","V 0","H 6","L 22 17","L 13 28","L 0 13","L -13 28","L -22 17","L -6 0","H -22","Z"].join(" ");n(ian,"usecaseActorHollow");bO=52,nYe=42,rYe=-2,C2n=n(async(s,o)=>{let f=-bO/2,g=rYe-bO/2;if(o.look==="handDrawn"){let v=br.svg(s).rectangle(f,g,bO,bO,dr(o,{}));s.insert(()=>v,":first-child").attr("class","usecase-actor-icon-frame")}else s.append("rect").attr("class","usecase-actor-icon-frame").attr("x",f).attr("y",g).attr("width",bO).attr("height",bO).attr("rx",4).attr("ry",4);let p=o.icon??"",y=await Rrn(p.includes(":")?p:`fa:${p}`),k=await OO(p,{height:nYe,width:nYe,fallbackPrefix:"fa"}),T=s.append("g").attr("class",`usecase-actor-icon-symbol${y?"":" usecase-actor-icon-fallback"}`).attr("aria-hidden","true").html(`${k}`),B=T.node()?.getBBox();B&&T.attr("transform",`translate(${-B.width/2-B.x},${rYe-B.height/2-B.y})`)},"drawIconActor");n(aan,"usecaseActorIcon");iYe=n((s,o,f)=>{let g=(o.x??0)-(o.left??0),p=(o.y??0)-(o.top??0);s.attr("transform",`translate(${-o.width/2-g},${f-o.height/2-p})`)},"positionLabel");n(oan,"usecaseBusiness");Ree=8,aYe=4,T2n=1,zee=n((s,o,f,g)=>{let p=(o.x??0)-(o.left??0),y=(o.y??0)-(o.top??0);s.attr("transform",`translate(${f-o.width/2-p},${g-o.height/2-y})`)},"positionLabel"),S2n=n(s=>{let o=Number.parseFloat(s??"");return Number.isFinite(o)&&o>=0?o:T2n},"numericStrokeWidth");n(san,"usecaseJsonTable");n(can,"multiRect");n(lan,"multiWaveEdgedRectangle");n(han,"note");E2n=n((s,o,f)=>[`M${s+f/2},${o}`,`L${s+f},${o-f/2}`,`L${s+f/2},${o-f}`,`L${s},${o-f/2}`,"Z"].join(" "),"createDecisionBoxPathD");n(uan,"question");n(dan,"rect_left_inv_arrow");n(fan,"rectWithTitle");n(ban,"roundedRect");US=8;n(gan,"shadedProcess");n(pan,"slopedRect");n(wan,"squareRect");Jne=50,B2n=n((s,o,f)=>{let g=s.height+f,p=g*Math.cos(Math.PI/(2*(Jne-1))),y=Math.sqrt(Math.max(0,p**2-s.height**2));return{w:Math.max(s.width+g/4+o,1.5*g+(g-p),s.width+o+g-y),h:g}},"stadiumDimensions");n(man,"stadium");n(yan,"state");n(van,"stateEnd");n(kan,"stateStart");gO=8;n(xan,"subroutine");qee=.2;n(Can,"taggedRect");n(Tan,"taggedWaveEdgedRectangle");n(San,"text");M2n=n((s,o,f,g,p,y)=>`M${s},${o} + a${p},${y} 0,0,1 0,${-g} + l${f},0 + a${p},${y} 0,0,1 0,${g} + M${f},${-g} + a${p},${y} 0,0,0 0,${g} + l${-f},0`,"createCylinderPathD"),A2n=n((s,o,f,g,p,y)=>[`M${s},${o}`,`M${s+f},${o}`,`a${p},${y} 0,0,0 0,${-g}`,`l${-f},0`,`a${p},${y} 0,0,0 0,${g}`,`l${f},0`].join(" "),"createOuterCylinderPathD"),L2n=n((s,o,f,g,p,y)=>[`M${s+f/2},${-g/2}`,`a${p},${y} 0,0,0 0,${g}`].join(" "),"createInnerCylinderPathD"),oYe=5,sYe=10;n(Ean,"tiltedCylinder");n(Ban,"trapezoid");n(Man,"trapezoidalPentagon");cYe=10,lYe=10;n(Aan,"triangle");n(Lan,"waveEdgedRectangle");n(_an,"waveRectangle");Ah=10;n(Fan,"windowPane");hYe=new Set(["redux-color","redux-dark-color"]),_2n=new Set(["redux","redux-dark","redux-color","redux-dark-color"]);n(Vie,"erBox");n(kO,"addText");n(xO,"lineToPolygon");n(Oan,"textHelper");n(AK,"addText");n(Dan,"classBox");n(jan,"requirementBox");n(J4,"addText");F2n=n(s=>{switch(s){case"Very High":return"red";case"High":return"orange";case"Medium":return null;case"Low":return"blue";case"Very Low":return"lightblue"}},"colorFromPriority");n(Ian,"kanbanItem");n(Pan,"bang");n($an,"cloud");n(Nan,"defaultMindmapNode");n(Ran,"mindmapCircle");O2n=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:wan},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:ban},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:man},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:xan},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:Fin},{semanticName:"Data Store",name:"Data Store",shortName:"datastore",description:"Data flow diagram data store",aliases:["data-store"],handler:Oin},{semanticName:"Folder",name:"Folder",shortName:"folder",description:"Folder or directory",aliases:["directory"],handler:Nin},{semanticName:"Bucket",name:"Bucket",shortName:"bucket",description:"Object storage bucket",handler:gin},{semanticName:"Console",name:"Console (terminal window)",shortName:"console",description:"Terminal or console window",handler:Tin},{semanticName:"Browser",name:"Browser",shortName:"browser",description:"Browser window",handler:vin},{semanticName:"Person",name:"Person",shortName:"person",description:"Person (circular head above a rounded body)",handler:_in},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:Wie},{semanticName:"Bang",name:"Bang",shortName:"bang",description:"Bang",aliases:["bang"],handler:Pan},{semanticName:"Cloud",name:"Cloud",shortName:"cloud",description:"cloud",aliases:["cloud"],handler:$an},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:uan},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:qin},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:Jin},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:Qin},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:Ban},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:Xin},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:jin},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:San},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:kin},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:gan},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:kan},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:van},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:Rin},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:Hin},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:Bin},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:Min},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:Ain},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:Zin},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:Lan},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:zin},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:Ean},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:tan},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:Lin},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:Din},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:Aan},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:Fan},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:Pin},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:Man},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:$in},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:pan},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:lan},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:can},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:bin},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:Ein},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:Tan},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:Can},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:_an},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:dan},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:ean}],D2n=n(()=>{let s=[...Object.entries({state:yan,choice:xin,note:han,composite:Cin,rectWithTitle:fan,labelRect:Yin,block_arrow:yin,collapsedGroup:min,iconSquare:Gin,iconCircle:Uin,icon:Kin,iconRounded:Win,imageSquare:Vin,anchor:din,kanbanItem:Ian,mindmapCircle:Ran,defaultMindmapNode:Nan,classBox:Dan,erBox:Vie,requirementBox:jan,usecaseActor:nan,usecaseActorHollow:ian,usecaseActorAwesome:ran,usecaseActorIcon:aan,usecaseBusiness:oan,usecaseEllipse:Iin,usecaseJsonTable:san}),...O2n.flatMap(o=>[o.shortName,..."aliases"in o?o.aliases:[],..."internalAliases"in o?o.internalAliases:[]].map(f=>[f,o.handler]))];return Object.fromEntries(s)},"generateShapeMap"),j2n=D2n(),Xie=new Map;n(zan,"insertNode");I2n=n(()=>{Xie.clear()},"clear"),uYe=n(s=>{let o=Xie.get(s.id);qr.trace("Transforming node",s.diff,s,"translate("+(s.x-s.width/2-5)+", "+s.width/2+")");let f=8,g=s.diff||0;return s.clusterNode?o.attr("transform","translate("+(s.x+g-s.width/2)+", "+(s.y-s.height/2-f)+")"):o.attr("transform","translate("+s.x+", "+s.y+")"),g},"positionNode");n(qan,"createLayoutElementGroups");n(Han,"measureGroupLabel");n(Kan,"insertMeasuredNode");n(Uan,"resolveNodeDir");n(Wan,"createGraphWithElements");P2n=n(async(s,o)=>{let f=Da(),{theme:g,themeVariables:p,handDrawnSeed:y}=f,{clusterBkg:k,clusterBorder:T,borderColorArray:B}=p,v=T,{labelStyles:M,nodeStyles:L,borderStyles:F,backgroundStyles:j}=vr(o),$=s.insert("g").attr("class","cluster swimlane "+(o.cssClasses||"")).attr("id",o.id).attr("data-id",o.id).attr("data-et","cluster").attr("data-look",o.look);J2($,o.colorIndex,g,B);let z=d6(f.flowchart.htmlLabels),U=o.direction==="LR",V=$.insert("g").attr("class","cluster-label swimlane-label"),nt=await wp(V,o.label,{style:o.labelStyle,useHtmlLabels:z,isNode:!0,width:o.width}),at=nt.getBBox();if(z){let be=nt.children[0],le=qo(nt);at=be.getBoundingClientRect(),le.attr("width",at.width),le.attr("height",at.height)}let dt=o.padding??0,et=o.width<=at.width+dt?at.width+dt:o.width;o.width<=at.width+dt?o.diff=(et-o.width)/2-dt:o.diff=-dt;let Ft=o.height,Nt=o.y-Ft/2,se=o.y+Ft/2,Ge=o.x-et/2,Ue=o.swimlaneContentTop!==void 0?o.swimlaneContentTop:Nt+Ft/3,me=U?4:0,fn=at.height+2*me,Ce,ge;if(U){let be=Math.max(fn,at.height+2*me),le=Ge+be,Oe=Math.max(0,et-be);if(o.look==="handDrawn"){let tt=br.svg($),sr=dr(o,{roughness:.7,fill:k,stroke:v,seed:y}),Xr=dr(o,{roughness:.7,fill:"none",stroke:v,seed:y}),$i=tt.rectangle(Ge,Nt,be,Ft,sr);Ce=$.insert(()=>$i,":first-child").attr("class","swimlane-title");let Bi=tt.rectangle(le,Nt,Oe,Ft,Xr);ge=$.insert(()=>Bi,":first-child").attr("class","swimlane-body"),Ce.select("path:nth-child(2)").attr("style",F.join(";")),Ce.select("path").attr("style",j.join(";").replace("fill","stroke"))}else Ce=$.insert("rect",":first-child"),ge=$.insert("rect",":first-child"),Ce.attr("class","swimlane-title").attr("style",L).attr("x",Ge).attr("y",Nt).attr("width",be).attr("height",Ft).attr("fill",k).attr("stroke",v),ge.attr("class","swimlane-body").attr("style",L).attr("x",le).attr("y",Nt).attr("width",Oe).attr("height",Ft).attr("fill","none").attr("stroke",v);let ke=Ge+be/2,nn=o.y;V.attr("transform",`translate(${ke}, ${nn}) rotate(-90) translate(${-at.width/2}, ${-at.height/2})`)}else{let be=Math.max(0,Ue-Nt),le=Math.min(fn,be),Oe=Nt+le,ke=Math.max(0,se-Oe),nn=o.x-et/2;if(o.look==="handDrawn"){let Xr=br.svg($),$i=dr(o,{roughness:.7,fill:k,stroke:v,fillWeight:3,seed:y}),Bi=dr(o,{roughness:.7,fill:"none",stroke:v,seed:y}),ja=Xr.rectangle(nn,Nt,et,le,$i);Ce=$.insert(()=>ja,":first-child").attr("class","swimlane-title");let Or=Xr.rectangle(nn,Oe,et,ke,Bi);ge=$.insert(()=>Or,":first-child").attr("class","swimlane-body"),Ce.select("path:nth-child(2)").attr("style",F.join(";")),Ce.select("path").attr("style",j.join(";").replace("fill","stroke"))}else Ce=$.insert("rect",":first-child"),ge=$.insert("rect",":first-child"),Ce.attr("class","swimlane-title").attr("style",L).attr("x",nn).attr("y",Nt).attr("width",et).attr("height",le).attr("fill",k).attr("stroke",v),ge.attr("class","swimlane-body").attr("style",L).attr("x",nn).attr("y",Oe).attr("width",et).attr("height",ke).attr("fill","none").attr("stroke",v);let tt=o.x-at.width/2,sr=Nt+(le-at.height)/2;V.attr("transform",`translate(${tt}, ${sr})`)}if(qr.trace("Swimlane data ",o,JSON.stringify(o)),M){let be=V.select("span");be&&be.attr("style",M)}return o.offsetX=0,o.width=et,o.height=Ft,o.offsetY=at.height-dt/2,o.intersect=function(be){return b6(o,be)},{cluster:$,labelBBox:at}},"swimlane"),Gan=n(async(s,o)=>{qr.info("Creating subgraph rect for ",o.id,o);let f=Da(),{theme:g,themeVariables:p,handDrawnSeed:y}=f,{clusterBkg:k,clusterBorder:T,borderColorArray:B}=p,{labelStyles:v,nodeStyles:M,borderStyles:L,backgroundStyles:F}=vr(o),j=s.insert("g").attr("class","cluster "+o.cssClasses).attr("id",o.domId).attr("data-look",o.look);J2(j,o.colorIndex,g,B);let $=M0(f),z=j.insert("g").attr("class","cluster-label "),U;o.labelType==="markdown"?U=await wp(z,o.label,{style:o.labelStyle,useHtmlLabels:$,isNode:!0,width:o.width}):U=await c6(z,o.label,o.labelStyle||"",!1,!0);let V=U.getBBox();if(M0(f)){let Ge=U.children[0],Ue=qo(U);V=Ge.getBoundingClientRect(),Ue.attr("width",V.width),Ue.attr("height",V.height)}let nt=o.width<=V.width+o.padding?V.width+o.padding:o.width;o.width<=V.width+o.padding?o.diff=(nt-o.width)/2-o.padding:o.diff=-o.padding;let at=o.height,dt=o.x-nt/2,et=o.y-at/2;qr.trace("Data ",o,JSON.stringify(o));let Ft;if(o.look==="handDrawn"){let Ge=br.svg(j),Ue=dr(o,{roughness:.7,fill:k,stroke:T,fillWeight:3,seed:y}),me=Ge.path(mp(dt,et,nt,at,0),Ue);Ft=j.insert(()=>(qr.debug("Rough node insert CXC",me),me),":first-child"),Ft.select("path:nth-child(2)").attr("style",L.join(";")),Ft.select("path").attr("style",F.join(";").replace("fill","stroke"))}else Ft=j.insert("rect",":first-child"),Ft.attr("style",M).attr("rx",o.rx).attr("ry",o.ry).attr("x",dt).attr("y",et).attr("width",nt).attr("height",at);let{subGraphTitleTopMargin:Nt}=fU(f);if(z.attr("transform",`translate(${o.x-V.width/2}, ${o.y-o.height/2+Nt})`),v){let Ge=z.select("span");Ge&&Ge.attr("style",v)}let se=Ft.node().getBBox();return o.offsetX=0,o.width=se.width,o.height=se.height,o.offsetY=V.height-o.padding/2,o.intersect=function(Ge){return b6(o,Ge)},{cluster:j,labelBBox:V}},"rect"),$2n=n((s,o)=>{let f=s.insert("g").attr("class","note-cluster").attr("id",o.domId),g=f.insert("rect",":first-child"),p=0*o.padding,y=p/2;g.attr("rx",o.rx).attr("ry",o.ry).attr("x",o.x-o.width/2-y).attr("y",o.y-o.height/2-y).attr("width",o.width+p).attr("height",o.height+p).attr("fill","none");let k=g.node().getBBox();return o.width=k.width,o.height=k.height,o.intersect=function(T){return b6(o,T)},{cluster:f,labelBBox:{width:0,height:0}}},"noteGroup"),N2n=n(async(s,o)=>{let f=Da(),{theme:g,themeVariables:p,handDrawnSeed:y}=f,{altBackground:k,borderColorArray:T,compositeBackground:B,compositeTitleBackground:v,nodeBorder:M}=p,L=s.insert("g").attr("class",o.cssClasses).attr("id",o.domId).attr("data-id",o.id).attr("data-look",o.look);J2(L,o.colorIndex,g,T);let F=L.insert("g",":first-child"),j=L.insert("g").attr("class","cluster-label"),$=L.append("rect"),z=await c6(j,o.label,o.labelStyle,void 0,!0),U=z.getBBox();if(M0(f)){let me=z.children[0],fn=qo(z);U=me.getBoundingClientRect(),fn.attr("width",U.width),fn.attr("height",U.height)}let V=0*o.padding,nt=V/2,at=(o.width<=U.width+o.padding?U.width+o.padding:o.width)+V;o.width<=U.width+o.padding?o.diff=(at-o.width)/2-o.padding:o.diff=-o.padding;let dt=o.height+V,et=o.height+V-U.height-6,Ft=o.x-at/2,Nt=o.y-dt/2;o.width=at;let se=o.y-o.height/2-nt+U.height+2,Ge;if(o.look==="handDrawn"){let me=o.cssClasses.includes("statediagram-cluster-alt"),fn=br.svg(L),Ce=o.rx||o.ry?fn.path(mp(Ft,Nt,at,dt,10),{roughness:.7,fill:v,fillStyle:"solid",stroke:M,seed:y}):fn.rectangle(Ft,Nt,at,dt,{seed:y});Ge=L.insert(()=>Ce,":first-child");let ge=fn.rectangle(Ft,se,at,et,{fill:me?k:B,fillStyle:me?"hachure":"solid",stroke:M,seed:y});Ge=L.insert(()=>Ce,":first-child"),$=L.insert(()=>ge),Ge.attr("class","outer"),$.attr("class","inner")}else Ge=F.insert("rect",":first-child"),Ge.attr("class","outer").attr("x",Ft).attr("y",Nt).attr("width",at).attr("height",dt).attr("data-look",o.look),$.attr("class","inner").attr("x",Ft).attr("y",se).attr("width",at).attr("height",et);j.attr("transform",`translate(${o.x-U.width/2}, ${Nt+1-(M0(f)?0:3)})`);let Ue=Ge.node().getBBox();return o.height=Ue.height,o.offsetX=0,o.offsetY=U.height-o.padding/2,o.labelBBox=U,o.intersect=function(me){return b6(o,me)},{cluster:L,labelBBox:U}},"roundedWithTitle"),R2n=n(async(s,o)=>{qr.info("Creating subgraph rect for ",o.id,o);let f=Da(),{themeVariables:g,handDrawnSeed:p}=f,{clusterBkg:y,clusterBorder:k}=g,{labelStyles:T,nodeStyles:B,borderStyles:v,backgroundStyles:M}=vr(o),L=s.insert("g").attr("class","cluster "+o.cssClasses).attr("id",o.domId).attr("data-look",o.look),F=M0(f),j=L.insert("g").attr("class","cluster-label "),$=await wp(j,o.label,{style:o.labelStyle,useHtmlLabels:F,isNode:!0,width:o.width}),z=$.getBBox();if(M0(f)){let Nt=$.children[0],se=qo($);z=Nt.getBoundingClientRect(),se.attr("width",z.width),se.attr("height",z.height)}let U=o.width<=z.width+o.padding?z.width+o.padding:o.width;o.width<=z.width+o.padding?o.diff=(U-o.width)/2-o.padding:o.diff=-o.padding;let V=o.height,nt=o.x-U/2,at=o.y-V/2;qr.trace("Data ",o,JSON.stringify(o));let dt;if(o.look==="handDrawn"){let Nt=br.svg(L),se=dr(o,{roughness:.7,fill:y,stroke:k,fillWeight:4,seed:p}),Ge=Nt.path(mp(nt,at,U,V,o.rx),se);dt=L.insert(()=>(qr.debug("Rough node insert CXC",Ge),Ge),":first-child"),dt.select("path:nth-child(2)").attr("style",v.join(";")),dt.select("path").attr("style",M.join(";").replace("fill","stroke"))}else dt=L.insert("rect",":first-child"),dt.attr("style",B).attr("rx",o.rx).attr("ry",o.ry).attr("x",nt).attr("y",at).attr("width",U).attr("height",V);let{subGraphTitleTopMargin:et}=fU(f);if(j.attr("transform",`translate(${o.x-z.width/2}, ${o.y-o.height/2+et})`),T){let Nt=j.select("span");Nt&&Nt.attr("style",T)}let Ft=dt.node().getBBox();return o.offsetX=0,o.width=Ft.width,o.height=Ft.height,o.offsetY=z.height-o.padding/2,o.intersect=function(Nt){return b6(o,Nt)},{cluster:L,labelBBox:z}},"kanbanSection"),z2n=n((s,o)=>{let f=Da(),{theme:g,themeVariables:p,handDrawnSeed:y}=f,{altBackground:k,nodeBorder:T,borderColorArray:B}=p,v=s.insert("g").attr("class",o.cssClasses).attr("id",o.domId).attr("data-look",o.look);J2(v,o.colorIndex,g,B);let M=v.insert("g",":first-child"),L=0*o.padding,F=o.width+L;o.diff=-o.padding;let j=o.height+L,$=o.x-F/2,z=o.y-j/2;o.width=F;let U;if(o.look==="handDrawn"){let nt=br.svg(v).rectangle($,z,F,j,{fill:k??"#efefef",fillStyle:"solid",roughness:.5,strokeLineDash:[5],stroke:T,seed:y});U=v.insert(()=>nt,":first-child").attr("class","divider")}else{U=M.insert("rect",":first-child");let nt="outer";o.look,nt="divider",U.attr("class",nt).attr("x",$).attr("y",z).attr("width",F).attr("height",j).attr("data-look",o.look)}let V=U.node().getBBox();return o.height=V.height,o.offsetX=0,o.offsetY=0,o.intersect=function(nt){return b6(o,nt)},{cluster:v,labelBBox:{}}},"divider"),q2n=n(async(s,o,f)=>{qr.info(`Creating ${f.cssClass} for `,o.id,o);let g=Da(),{theme:p,themeVariables:y,handDrawnSeed:k}=g,{borderColorArray:T}=y,{labelStyles:B,borderStyles:v}=vr(o),M=s.insert("g").attr("class","cluster "+f.cssClass+" "+o.cssClasses).attr("id",o.domId??o.id).attr("data-look",o.look);J2(M,o.colorIndex,p,T);let L=M0(g),F=M.insert("g").attr("class","cluster-label"),j={width:0,height:0},$=o.label?.trim();if($){let et;if(o.labelType==="markdown"?et=await wp(F,o.label,{style:o.labelStyle,useHtmlLabels:L,isNode:!0,width:o.width}):et=await c6(F,o.label,o.labelStyle||"",!1,!0),j=et.getBBox(),L){let Ft=et.children[0],Nt=qo(et);j=Ft.getBoundingClientRect(),Nt.attr("width",j.width),Nt.attr("height",j.height)}}let z=o.width<=j.width+o.padding?j.width+o.padding:o.width;o.width<=j.width+o.padding?o.diff=(z-o.width)/2-o.padding:o.diff=-o.padding;let U=o.height,V=o.x-z/2,nt=o.y-U/2,at;if(o.look==="handDrawn"){let et=br.svg(M),Ft=dr(o,{roughness:f.roughness,fill:f.fill,stroke:f.stroke,strokeWidth:f.strokeWidth,seed:k,...f.fill==="none"?{fillWeight:0}:{fillStyle:"solid"},...f.strokeDash?{strokeLineDash:f.strokeDash}:{}}),Nt=et.path(mp(V,nt,z,U,f.rx),Ft);at=M.insert(()=>Nt,":first-child"),at.select("path:nth-child(2)").attr("style",v.join(";"))}else at=M.insert("rect",":first-child"),at.attr("rx",f.rx).attr("ry",f.rx).attr("x",V).attr("y",nt).attr("width",z).attr("height",U).attr("fill",f.fill).attr("stroke",f.stroke).attr("stroke-width",f.strokeWidth+"px"),f.strokeDash&&at.attr("stroke-dasharray",f.strokeDash.join(", "));if($){let{subGraphTitleTopMargin:et}=fU(g);if(F.attr("transform",`translate(${o.x-j.width/2}, ${o.y-o.height/2+et})`),B){let Ft=F.select("span");Ft&&Ft.attr("style",B)}}let dt=at.node().getBBox();return o.offsetX=0,o.width=dt.width,o.height=dt.height,o.offsetY=j.height-o.padding/2,o.intersect=function(et){return b6(o,et)},{cluster:M,labelBBox:j}},"createContainerGroup"),H2n=n(async(s,o)=>{let{themeVariables:f}=Da(),g=f.flowContainerStroke||f.secondaryBorderColor;return q2n(s,o,{cssClass:"flow-cluster",rx:10,fill:"none",stroke:g,strokeWidth:.75,roughness:.7})},"flowGroup"),K2n=n((s,o)=>{let f=s.boundaryType||"rect",g=f==="package"?20:s.padding,p=f==="package"?o.height+10:0,y=Math.max(s.width,o.width+g),k=f==="package"?Math.max(s.height,p+s.padding*2):s.height,T=s.x-y/2,B=s.y-k/2;return{boundaryType:f,width:y,height:k,x:T,y:B,bodyY:B+p,bodyHeight:k-p,tabHeight:p,tabWidth:f==="package"?Math.min(y,Math.max(80,o.width+20)):0}},"getUsecaseSystemBoundaryGeometry"),U2n=n(async(s,o)=>{qr.info("Creating usecase system boundary for ",o.id,o);let f=Da(),{theme:g,themeVariables:p,handDrawnSeed:y}=f,{clusterBkg:k,clusterBorder:T,borderColorArray:B}=p,{labelStyles:v,nodeStyles:M}=vr(o),{stylesMap:L}=i9(o),F=o.boundaryType||"rect",j=s.insert("g").attr("class",`cluster usecase-system-boundary usecase-system-boundary-${F} ${o.cssClasses}`).attr("id",typeof o.domId=="string"?o.domId:o.id).attr("data-boundary-type",F).attr("data-look",o.look);J2(j,o.colorIndex,g,B);let $=M0(f),z=j.insert("g").attr("class","cluster-label system-boundary-title"),U=await wp(z,o.label,{style:v,useHtmlLabels:$,isNode:!0}),V=U.getBBox();if($){let Ce=U.children[0],ge=qo(U);V=Ce.getBoundingClientRect(),ge.attr("width",V.width),ge.attr("height",V.height)}let nt=K2n(o,V),{width:at,height:dt,x:et,y:Ft,bodyY:Nt,bodyHeight:se,tabHeight:Ge,tabWidth:Ue}=nt;o.diff=o.width<=V.width+o.padding?(at-o.width)/2-o.padding:-o.padding;let me=dr(o,{fill:L.get("fill")||k,stroke:L.get("stroke")||T,strokeWidth:L.get("stroke-width")?.replace("px","")||1,seed:y});if(o.look==="handDrawn"){let Ce=br.svg(j),ge=Ce.rectangle(et,Nt,at,se,me);if(j.insert(()=>ge,":first-child").attr("class","boundary-body label-container"),F==="package"){let be=Ce.rectangle(et,Ft,Ue,Ge,me);j.insert(()=>be,":first-child").attr("class","boundary-tab system-boundary-package-tab label-container")}}else j.insert("rect",":first-child").attr("class","boundary-body label-container").attr("style",M).attr("x",et).attr("y",Nt).attr("width",at).attr("height",se),F==="package"&&j.insert("rect",":first-child").attr("class","boundary-tab system-boundary-package-tab label-container").attr("style",M).attr("x",et).attr("y",Ft).attr("width",Ue).attr("height",Ge);let{subGraphTitleTopMargin:fn}=fU(f);return F==="package"?z.attr("transform",`translate(${et+(Ue-V.width)/2}, ${Ft+(Ge-V.height)/2})`):z.attr("transform",`translate(${o.x-V.width/2}, ${Ft+fn})`),v&&(z.attr("style",v),z.select("span").attr("style",v)),o.offsetX=0,o.width=at,o.height=dt,o.offsetY=V.height-o.padding/2,o.labelBBox=V,o.intersect=function(Ce){return b6(o,Ce)},{cluster:j,labelBBox:V}},"usecaseSystemBoundary"),W2n=Gan,G2n={rect:Gan,squareRect:W2n,roundedWithTitle:N2n,noteGroup:$2n,divider:z2n,kanbanSection:R2n,flowGroup:H2n,usecaseSystemBoundary:U2n,swimlane:P2n},V2n=new Set(["noteGroup","divider"]),Van=n(s=>!V2n.has(s??"rect"),"clusterPaintsTitle"),Xan=new Map,X2n=n(async(s,o)=>{let f=o.shape||"rect",g=await G2n[f](s,o);return Xan.set(o.id,g),g},"insertCluster"),Y2n=n(()=>{Xan=new Map},"clear"),Q2n=n((s,o,f,g)=>{o.forEach(p=>{kwn[p](s,f,g)})},"insertMarkers"),J2n=n((s,o,f)=>{qr.trace("Making markers for ",f),s.append("defs").append("marker").attr("id",f+"_"+o+"-extensionStart").attr("class","marker extension "+o).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 1,7 L18,13 V 1 Z"),s.append("defs").append("marker").attr("id",f+"_"+o+"-extensionEnd").attr("class","marker extension "+o).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 1,1 V 13 L18,7 Z"),s.append("marker").attr("id",f+"_"+o+"-extensionStart-margin").attr("class","marker extension "+o).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,7 18,13 18,1").style("stroke-width",2).style("stroke-dasharray","0"),s.append("defs").append("marker").attr("id",f+"_"+o+"-extensionEnd-margin").attr("class","marker extension "+o).attr("refX",9).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,1 10,13 18,7").style("stroke-width",2).style("stroke-dasharray","0")},"extension"),Z2n=n((s,o,f)=>{s.append("defs").append("marker").attr("id",f+"_"+o+"-compositionStart").attr("class","marker composition "+o).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),s.append("defs").append("marker").attr("id",f+"_"+o+"-compositionEnd").attr("class","marker composition "+o).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),s.append("defs").append("marker").attr("id",f+"_"+o+"-compositionStart-margin").attr("class","marker composition "+o).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("viewBox","0 0 15 15").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),s.append("defs").append("marker").attr("id",f+"_"+o+"-compositionEnd-margin").attr("class","marker composition "+o).attr("refX",3.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),twn=n((s,o,f)=>{s.append("defs").append("marker").attr("id",f+"_"+o+"-aggregationStart").attr("class","marker aggregation "+o).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),s.append("defs").append("marker").attr("id",f+"_"+o+"-aggregationEnd").attr("class","marker aggregation "+o).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),s.append("defs").append("marker").attr("id",f+"_"+o+"-aggregationStart-margin").attr("class","marker aggregation "+o).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),s.append("defs").append("marker").attr("id",f+"_"+o+"-aggregationEnd-margin").attr("class","marker aggregation "+o).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),ewn=n((s,o,f)=>{s.append("defs").append("marker").attr("id",f+"_"+o+"-dependencyStart").attr("class","marker dependency "+o).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),s.append("defs").append("marker").attr("id",f+"_"+o+"-dependencyEnd").attr("class","marker dependency "+o).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z"),s.append("defs").append("marker").attr("id",f+"_"+o+"-dependencyStart-margin").attr("class","marker dependency "+o).attr("refX",4).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),s.append("defs").append("marker").attr("id",f+"_"+o+"-dependencyEnd-margin").attr("class","marker dependency "+o).attr("refX",16).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),nwn=n((s,o,f)=>{s.append("defs").append("marker").attr("id",f+"_"+o+"-lollipopStart").attr("class","marker lollipop "+o).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),s.append("defs").append("marker").attr("id",f+"_"+o+"-lollipopEnd").attr("class","marker lollipop "+o).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),s.append("defs").append("marker").attr("id",f+"_"+o+"-lollipopStart-margin").attr("class","marker lollipop "+o).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2),s.append("defs").append("marker").attr("id",f+"_"+o+"-lollipopEnd-margin").attr("class","marker lollipop "+o).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2)},"lollipop"),rwn=n((s,o,f)=>{s.append("marker").attr("id",f+"_"+o+"-pointEnd").attr("class","marker "+o).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"),s.append("marker").attr("id",f+"_"+o+"-pointStart").attr("class","marker "+o).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"),s.append("marker").attr("id",f+"_"+o+"-pointEnd-margin").attr("class","marker "+o).attr("viewBox","0 0 11.5 14").attr("refX",11.5).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10.5).attr("markerHeight",14).attr("orient","auto").append("path").attr("d","M 0 0 L 11.5 7 L 0 14 z").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),s.append("marker").attr("id",f+"_"+o+"-pointStart-margin").attr("class","marker "+o).attr("viewBox","0 0 11.5 14").attr("refX",1).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11.5).attr("markerHeight",14).attr("orient","auto").append("polygon").attr("points","0,7 11.5,14 11.5,0").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"point"),iwn=n((s,o,f)=>{s.append("marker").attr("id",f+"_"+o+"-circleEnd").attr("class","marker "+o).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"),s.append("marker").attr("id",f+"_"+o+"-circleStart").attr("class","marker "+o).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"),s.append("marker").attr("id",f+"_"+o+"-circleEnd-margin").attr("class","marker "+o).attr("viewBox","0 0 10 10").attr("refY",5).attr("refX",12.25).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),s.append("marker").attr("id",f+"_"+o+"-circleStart-margin").attr("class","marker "+o).attr("viewBox","0 0 10 10").attr("refX",-2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"circle"),awn=n((s,o,f)=>{s.append("marker").attr("id",f+"_"+o+"-crossEnd").attr("class","marker cross "+o).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"),s.append("marker").attr("id",f+"_"+o+"-crossStart").attr("class","marker cross "+o).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"),s.append("marker").attr("id",f+"_"+o+"-crossEnd-margin").attr("class","marker cross "+o).attr("viewBox","0 0 15 15").attr("refX",17.7).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5),s.append("marker").attr("id",f+"_"+o+"-crossStart-margin").attr("class","marker cross "+o).attr("viewBox","0 0 15 15").attr("refX",-3.5).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5).style("stroke-dasharray","1,0")},"cross"),own=n((s,o,f)=>{s.append("defs").append("marker").attr("id",f+"_"+o+"-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"),swn=n((s,o,f)=>{let g=B0(),{themeVariables:p}=g,{transitionColor:y}=p;s.append("defs").append("marker").attr("id",f+"_"+o+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z"),s.append("defs").append("marker").attr("id",f+"_"+o+"-barbEnd-margin").attr("refX",17).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z").attr("fill",`${y}`)},"barbNeo"),cwn=n((s,o,f)=>{s.append("defs").append("marker").attr("id",f+"_"+o+"-onlyOneStart").attr("class","marker onlyOne "+o).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"),s.append("defs").append("marker").attr("id",f+"_"+o+"-onlyOneEnd").attr("class","marker onlyOne "+o).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"),lwn=n((s,o,f)=>{let g=s.append("defs").append("marker").attr("id",f+"_"+o+"-zeroOrOneStart").attr("class","marker zeroOrOne "+o).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");g.append("circle").attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),g.append("path").attr("d","M9,0 L9,18");let p=s.append("defs").append("marker").attr("id",f+"_"+o+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+o).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");p.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),p.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),hwn=n((s,o,f)=>{s.append("defs").append("marker").attr("id",f+"_"+o+"-oneOrMoreStart").attr("class","marker oneOrMore "+o).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"),s.append("defs").append("marker").attr("id",f+"_"+o+"-oneOrMoreEnd").attr("class","marker oneOrMore "+o).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"),uwn=n((s,o,f)=>{let g=s.append("defs").append("marker").attr("id",f+"_"+o+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+o).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");g.append("circle").attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),g.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");let p=s.append("defs").append("marker").attr("id",f+"_"+o+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+o).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");p.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),p.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),dwn=n((s,o,f)=>{let g=B0(),{themeVariables:p}=g,{strokeWidth:y}=p;s.append("defs").append("marker").attr("id",f+"_"+o+"-onlyOneStart").attr("class","marker onlyOne "+o).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M9,0 L9,18 M15,0 L15,18").attr("stroke-width",`${y}`),s.append("defs").append("marker").attr("id",f+"_"+o+"-onlyOneEnd").attr("class","marker onlyOne "+o).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M3,0 L3,18 M9,0 L9,18").attr("stroke-width",`${y}`)},"only_one_neo"),fwn=n((s,o,f)=>{let g=B0(),{themeVariables:p}=g,{strokeWidth:y,mainBkg:k}=p,T=s.append("defs").append("marker").attr("id",f+"_"+o+"-zeroOrOneStart").attr("class","marker zeroOrOne "+o).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse");T.append("circle").attr("fill",k??"white").attr("cx",21).attr("cy",9).attr("stroke-width",`${y}`).attr("r",6),T.append("path").attr("d","M9,0 L9,18").attr("stroke-width",`${y}`);let B=s.append("defs").append("marker").attr("id",f+"_"+o+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+o).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("markerUnits","userSpaceOnUse").attr("orient","auto");B.append("circle").attr("fill",k??"white").attr("cx",9).attr("cy",9).attr("stroke-width",`${y}`).attr("r",6),B.append("path").attr("d","M21,0 L21,18").attr("stroke-width",`${y}`)},"zero_or_one_neo"),bwn=n((s,o,f)=>{let g=B0(),{themeVariables:p}=g,{strokeWidth:y}=p;s.append("defs").append("marker").attr("id",f+"_"+o+"-oneOrMoreStart").attr("class","marker oneOrMore "+o).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width",`${y}`),s.append("defs").append("marker").attr("id",f+"_"+o+"-oneOrMoreEnd").attr("class","marker oneOrMore "+o).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width",`${y}`)},"one_or_more_neo"),gwn=n((s,o,f)=>{let g=B0(),{themeVariables:p}=g,{strokeWidth:y,mainBkg:k}=p,T=s.append("defs").append("marker").attr("id",f+"_"+o+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+o).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto");T.append("circle").attr("fill",k??"white").attr("cx",45.5).attr("cy",18).attr("r",6).attr("stroke-width",`${y}`),T.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width",`${y}`);let B=s.append("defs").append("marker").attr("id",f+"_"+o+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+o).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse");B.append("circle").attr("fill",k??"white").attr("cx",11).attr("cy",18).attr("r",6).attr("stroke-width",`${y}`),B.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width",`${y}`)},"zero_or_more_neo"),pwn=n((s,o,f)=>{s.append("defs").append("marker").attr("id",f+"_"+o+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d",`M0,0 + L20,10 + M20,10 + L0,20`)},"requirement_arrow"),wwn=n((s,o,f)=>{let g=B0(),{themeVariables:p}=g,{strokeWidth:y}=p;s.append("defs").append("marker").attr("id",f+"_"+o+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("stroke-width",`${y}`).attr("viewBox","0 0 25 20").append("path").attr("d",`M0,0 + L20,10 + M20,10 + L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),mwn=n((s,o,f)=>{let g=s.append("defs").append("marker").attr("id",f+"_"+o+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");g.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),g.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),g.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),ywn=n((s,o,f)=>{let g=B0(),{themeVariables:p}=g,{strokeWidth:y}=p,k=s.append("defs").append("marker").attr("id",f+"_"+o+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");k.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),k.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),k.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),k.selectAll("*").attr("stroke-width",`${y}`)},"requirement_contains_neo"),vwn=n((s,o,f)=>{s.append("marker").attr("id",f+"_"+o+"-hierarchyEnd").attr("class","marker hierarchy "+o).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),s.append("marker").attr("id",f+"_"+o+"-hierarchyStart").attr("class","marker hierarchy "+o).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),kwn={extension:J2n,composition:Z2n,aggregation:twn,dependency:ewn,lollipop:nwn,point:rwn,circle:iwn,cross:awn,barb:own,barbNeo:swn,hierarchy:vwn,only_one:cwn,zero_or_one:lwn,one_or_more:hwn,zero_or_more:uwn,only_one_neo:dwn,zero_or_one_neo:fwn,one_or_more_neo:bwn,zero_or_more_neo:gwn,requirement_arrow:pwn,requirement_contains:mwn,requirement_arrow_neo:wwn,requirement_contains_neo:ywn},xwn=Q2n,Cwn=new Map,Twn=new Map,Swn=new Map,Ewn=n(()=>{Twn.clear(),Swn.clear(),Cwn.clear()},"clear");n(Yan,"createCommonLayoutRenderer");n(Qan,"clearLayoutRenderState");n(Yie,"defaultMeasureLayout");n(Jan,"paintLayoutData");n(Zan,"paintLayoutNode");n(ton,"shouldPaintAsCluster");n(eon,"buildNodeLookup");n(non,"shouldSkipPaintEdge");n(ron,"paintLayoutEdge");n(Zne,"getRenderedNode");n(ion,"shouldSkipIntersect");n(aon,"positionRenderedEdgeLabel");Bwn={startLeft:"start_left",startRight:"start_right",endLeft:"end_left",endRight:"end_right"};n(oon,"terminalLabelTranslate");Mwn=vlt(Vln(),1),Qie=n((s,o,{parentById:f})=>{let g=new Set,p=s;if(s===o)return f[s]||"root";for(;p;){if(g.add(p),p===o)return p;p=f[p]}for(p=o;p;){if(g.has(p))return p;p=f[p]}return"root"},"findCommonAncestor"),Awn="root";n(tre,"childOnPath");n(son,"findSubgraphFeedbackEdges");Yht=5,lht=1e-5,Lwn=2,_wn=.6,hht=1e-6;n(Qht,"buildSegmentList");n(con,"segmentIntersection");n(ere,"isHorizontalSeg");n(nre,"crossingSitsInRoundedCorner");n(lon,"findEdgeIntersections");n(qm,"fmt");n(EO,"pointToString");n(hon,"getArcSweepFlag");n(uon,"applyMarkerOffsets");n(don,"emitJump");n(aU,"computeRoundedCorner");n(fon,"rewriteEdgePath");n(bon,"isStraightPath");n(gon,"curveSupportsLineHops");n(pon,"decodeDataPoints");n(won,"applyLineJumpsToSvg");Fwn=6;n(mon,"applyElkLineJumps");Own={},Dwn={},jwn={},Iwn={},RK=n((s,o,f=.5)=>{let g=s.width/2,p=s.height/2,y=s.x-g,k=s.x+g,T=s.y-p,B=s.y+p,v=Math.abs(o.x-y)<=f&&o.y>=T-f&&o.y<=B+f,M=Math.abs(o.x-k)<=f&&o.y>=T-f&&o.y<=B+f,L=Math.abs(o.y-T)<=f&&o.x>=y-f&&o.x<=k+f,F=Math.abs(o.y-B)<=f&&o.x>=y-f&&o.x<=k+f;return v||M||L||F},"onBorder"),Pwn=n((s,o,f)=>{let g=s.x,p=s.y,y=Math.abs(g-f.x),k=s.width/2,T=f.xMath.abs(g-o.x)*B){let L=f.y{let f=s.x,g=s.y,p=Math.abs(o.x-f),y=Math.abs(o.y-g),k=s.width/2,T=s.height/2;return p>=k||y>=T},"outsideNode"),$wn=n((s,o,f=10)=>{let g=Math.abs(o.x-s.x),p=Math.abs(o.y-s.y),y=s.width/2,k=s.height/2;if(Math.abs(g-y)<1||Math.abs(p-k)<1){let T=o.x-s.x,B=o.y-s.y,v=Math.sqrt(T*T+B*B);if(v>0)return{x:s.x+T/v*(v+f),y:s.y+B/v*(v+f)}}return o},"ensureTrulyOutside"),Nwn=n((s,o,f)=>{let g=Math.abs(o.x-s.x)<1,p=Math.abs(o.y-s.y)<1;return{x:g?o.x:o.x{if(!s?.intersect)return null;let g=s.intersect(f);return!g||f.xo.x||f.x>o.x&&g.x{let g=Nwn(s,o,f);return Pwn(s,o,g)},"fallbackIntersection"),qwn=20,dYe=1e-6,Hee=n((s,o,f)=>{let g=s.intersect?.(f);if(!g)return!1;let p=Math.hypot(f.x-o.x,f.y-o.y),y=Math.hypot(g.x-o.x,g.y-o.y);return p<=y+1e-9},"insideOutline"),Hwn=n((s,o,f,g)=>{if(!s?.intersect)return null;let p=g.x-f.x,y=g.y-f.y;if(p===0&&y===0||Math.abs(p)>dYe&&Math.abs(y)>dYe)return null;let k={x:o.x,y:o.y},T=Math.abs(p)>Math.abs(y),B=n(L=>T?{x:L,y:f.y}:{x:f.x,y:L},"along"),v=T?k.x:k.y,M=T?f.x:f.y;if(!Hee(s,k,B(v)))return null;if(Hee(s,k,B(M)))return{...f};for(let L=0;L{let p=$wn(o,f);return Rwn(s,o,p)??zwn(o,p,g)},"computeNodeIntersection"),Zht=n((s,o,f,g=.1)=>{if(!(!f||s.length===0))if(o==="start")s.length>0&&Math.abs(s[0].x-f.x)0&&Math.abs(s[p].x-f.x)typeof s!="string"?0:Math.max(s1[s]??0,Rne[s]??0),"markerPathOffset"),fYe={arrow_open:["none","none"],arrow_cross:["none","arrow_cross"],double_arrow_cross:["arrow_cross","arrow_cross"],arrow_point:["none","arrow_point"],double_arrow_point:["arrow_point","arrow_point"],arrow_circle:["none","arrow_circle"],double_arrow_circle:["arrow_circle","arrow_circle"]},LK=12,kon=`[top=${LK},left=${LK},bottom=${LK},right=${LK}]`,JS=24,xon=24,Con=50,pK=15,wK=10,Jie={"spacing.baseValue":15,"spacing.nodeNode":15,"elk.aspectRatio":"1.6","elk.expandNodes":"true","elk.rectpacking.trybox":"true","elk.rectpacking.packing.compaction.rowHeightReevaluation":"true","elk.rectpacking.packing.compaction.iterations":10,"elk.rectpacking.whiteSpaceElimination.strategy":"EQUAL_BETWEEN_STRUCTURES","elk.rectpacking.widthApproximation.strategy":"SCANLINE"},Kwn=["nodeSize.constraints","nodeSize.minimum","elk.algorithm","elk.aspectRatio","elk.contentAlignment","elk.expandNodes","elk.padding",...Object.keys(Jie)];n(Ton,"clearContainerAlgorithmOptions");bYe=new Set(["elk.layered","elk.box","elk.rectpacking","elk.stress","elk.force","elk.mrtree","elk.radial","elk.sporeOverlap"]);n(Zie,"resolveContainerAlgorithm");n(tae,"dir2ElkDirection");n(Dut,"groupTitleWidth");n(eae,"groupTitleSizeOptions");n(Son,"buildSubgraphLayoutOptions");n(Eon,"findCyclicEntryNodes");n(Bon,"applyCyclicEntryConstraint");n(Mon,"prepareLayoutForElk");n(Aon,"runElkLayoutCore");n(Lon,"buildElkGraphFromLayoutData");n(_on,"reverseSubgraphFeedbackEdges");Uwn=Yan({afterPaint:mon,prepareLayout:Mon,measureLayout:n((s,o)=>Yie(s,o,{unwrapGroupLabels:!0}),"measureLayout"),runLayoutCore:Aon,paintOptions:{skipIntersect:!0}});n(Fon,"syncHostConfig");n(Oon,"orderNodesForElkPaint");n(rre,"getGroupDepth");n(nae,"getElkLayoutContext");Kee={default:{layering:"NETWORK_SIMPLEX",placement:"BRANDES_KOEPF",containerPlacement:"BRANDES_KOEPF",alignment:"BALANCED",cycleBreaking:"DEPTH_FIRST"},legacy:{layering:"NETWORK_SIMPLEX",placement:"BRANDES_KOEPF",containerPlacement:"BRANDES_KOEPF",alignment:"NONE",cycleBreaking:"GREEDY"},modelOrder:{layering:"NETWORK_SIMPLEX",placement:"NETWORK_SIMPLEX",containerPlacement:"BRANDES_KOEPF",alignment:"NONE",cycleBreaking:"GREEDY_MODEL_ORDER"},depthFirst:{layering:"NETWORK_SIMPLEX",placement:"NETWORK_SIMPLEX",containerPlacement:"BRANDES_KOEPF",alignment:"NONE",cycleBreaking:"DEPTH_FIRST"}};n(rae,"resolveElkPreset");n(Don,"createRootElkGraph");n(jon,"addSubGraphs");n(iae,"addVertices");n(Ion,"addVertex");n(Pon,"createElkNode");n($on,"getMeasuredLabelData");n(Non,"addEdgesToElkGraph");Wwn=6;n(Ron,"terminalElkLabels");n(zon,"getEdgeStartEndPoint");n(qon,"configureSubgraphNodes");n(Hon,"configureCrossHierarchyEdges");n(tut,"setIncludeChildrenPolicy");n(Kon,"runElkLayout");n(Uon,"applyElkLayoutResult");n(aae,"collectDescendantIds");n(Won,"internalEdgePoints");n(oae,"evenGroupFrames");n(sae,"applyElkNodePositions");Gwn=16,Vwn=30,_K=.01;n(FK,"axisOf");n(Gon,"straightenTerminalJogsWithRuns");n(ire,"straightenFront");n(Von,"segmentsCrossStrict");n(are,"crossingCount");n(Xon,"paramOnSegment");n(ore,"pointAtParam");n(Yon,"projectLabelOntoStraightenedRun");n(Qon,"straightenEdgeTerminals");n(Jon,"applyElkEdgeLayout");Xwn=4;n(Zon,"separateOppositeEdgeLabels");n(sre,"segmentHitsBox");Uee=n((s,o)=>s.x1({x1:s.x-o.width/2,y1:s.y-o.height/2,x2:s.x+o.width/2,y2:s.y+o.height/2}),"labelBox");n(cae,"terminalLabelObstacles");n(lae,"placedTerminalLabels");Ywn=2;n(tsn,"slideTerminalLabelsOffFrames");n(esn,"putTerminalLabelsOnTheirSide");n(nsn,"followMovedEndpoints");n(cre,"alignDegenerateNodeToAnchor");n(rsn,"createEdgePointsFromSection");n(eut,"calcOffset");n(lre,"sanitizeElkEdgePoints");n(isn,"hasInvalidPoint");n(asn,"dedupeConsecutivePoints");n(osn,"getEndMarkerPathOffset");n(ssn,"getStartMarkerPathOffset");n(csn,"ensureStartMarkerSegmentLength");n(lsn,"ensureEndMarkerSegmentLength");n(hsn,"applyElkEdgeRenderData");n(usn,"buildFallbackEdgeClasses");n(dsn,"computeStroke");n(fsn,"getCurve");n(bsn,"buildEdgeData");n(gsn,"getEffectiveGroupWidth");n(n9,"boundsFor");n(hre,"approxEq");n(ure,"isCenterApprox");n(dre,"getCandidateBorderPoint");n(fre,"dropAutoCenterPoint");n(bre,"clipGroupEndpoint");n(psn,"applyStartIntersectionIfNeeded");n(wsn,"applyEndIntersectionIfNeeded");n(gre,"attachAlongDepartureAxis");n(msn,"cutter2");/*! Bundled license information: + +dompurify/dist/purify.es.mjs: + (*! @license DOMPurify 3.4.12 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.12/LICENSE *) + +lodash-es/lodash.js: + (** + * @license + * Lodash (Custom Build) + * Build: `lodash modularize exports="es" --repo lodash/lodash#4.18.1 -o ./` + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + *) +*/});YH();var Qwn=["elk.stress","elk.force","elk.mrtree","elk.sporeOverlap","elk.box","elk.rectpacking"],ksn=n(async()=>await Promise.resolve().then(()=>(vsn(),ysn)),"loader"),Jwn=[{name:"elk",loader:ksn,algorithm:"elk.layered"},...Qwn.map(s=>({name:s,loader:ksn,algorithm:s}))],xsn=Jwn;globalThis.mermaidLayoutElk=xsn;})(); diff --git a/codeview/render.py b/codeview/render.py index 3b30a24..5e3ffe3 100644 --- a/codeview/render.py +++ b/codeview/render.py @@ -467,13 +467,31 @@ def _sub_mermaid(m): toc = "" if safe else _toc(getattr(md, "toc_tokens", [])) body = f'
    {toc}{html_content}
    ' - # build.py が書き出した同梱の mermaid を読む。通常のスクリプトなので file:// でも動く + # build.py が書き出した同梱の mermaid を読む。通常のスクリプトなので file:// でも動く。 + # ESM でしか配られない layout-elk を IIFE にまとめて同じファイルの末尾につなぎ、 + # mermaidLayoutElk として公開している。GitHub と同じく、書いた順を保って ELK で配置する from codeview import build script = ( f'\n' """